fix(#298): align notion-cli bundled plugin description and tags with standards - #377
Conversation
|
You have reached your Codex usage limits for code reviews. You can see your limits in the Codex usage dashboard. |
📝 WalkthroughWalkthroughThe Notion CLI plugin metadata now uses shorter descriptions. The descriptions highlight 39 commands and coverage of pages, databases, blocks, and the Notion API. The metadata tags now target CLI, API, productivity, note-taking, Go, and database terms. ChangesNotion CLI metadata
Estimated code review effort: 1 (Trivial) | ~2 minutes Possibly related PRs
🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
There was a problem hiding this comment.
Actionable comments posted: 1
🤖 Prompt for all review comments with AI agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
Inline comments:
In `@plugins/notion-cli/meta.json`:
- Around line 2-3: Regenerate the plugins/catalog.json artifact for the
notion-cli entry so its checksum matches the current metadata. Use
plugins/notion-cli/meta.json lines 2-3 and plugins/notion-cli/plugin.json line 4
as the source inputs; no direct changes are needed in either source file.
🪄 Autofix
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: defaults
Review profile: CHILL
Plan: Pro Plus
Run ID: 8cfebbfc-9d44-46de-bc05-256a922b8df2
📒 Files selected for processing (2)
plugins/notion-cli/meta.jsonplugins/notion-cli/plugin.json
| "description": "notion-cli — full-featured Notion CLI with 39 commands for pages, databases, blocks, and the full Notion API", | ||
| "tags": ["notion-cli", "api", "productivity", "note-taking", "go", "database", "cli"], |
There was a problem hiding this comment.
🗄️ Data Integrity & Integration | 🟠 Major | ⚡ Quick win
🧩 Analysis chain
🏁 Script executed:
sc-zig --json inspect
printf '\n--- relevant tracked files ---\n'
git ls-files | rg '(^|/)(catalog|plugin|meta|checksum|registry)' | head -200
printf '\n--- manifests and references ---\n'
yek plugins/notion-cli/meta.json plugins/notion-cli/plugin.json README.md 2>/dev/null || trueRepository: javimosch/supercli
Length of output: 7422
🏁 Script executed:
set -u
printf '%s\n' '--- notion manifests ---'
cat -n plugins/notion-cli/meta.json
cat -n plugins/notion-cli/plugin.json
printf '%s\n' '--- catalog workflow ---'
cat -n .github/workflows/catalog.yml
printf '%s\n' '--- package scripts ---'
python3 - <<'PY'
import json
from pathlib import Path
p = Path("package.json")
if p.exists():
data = json.loads(p.read_text())
print(json.dumps(data.get("scripts", {}), indent=2))
else:
print("package.json not found")
PY
printf '%s\n' '--- catalog/checksum references outside plugin payloads ---'
rg -n -i --glob '!plugins/**' --glob '!node_modules/**' 'catalog|checksum|plugins-dump|manifest' . | head -300
printf '%s\n' '--- notion references outside its directory ---'
rg -n 'notion-cli|Notion CLI' --glob '!plugins/notion-cli/**' . | head -200Repository: javimosch/supercli
Length of output: 50374
🏁 Script executed:
printf '%s\n' '--- catalog generator ---'
cat -n scripts/generate-catalog.js
printf '%s\n' '--- notion catalog matches ---'
rg -n -C 8 '"name": "notion-cli"|notion-cli' plugins/catalog.json | head -80
printf '%s\n' '--- repository state ---'
git status --short
git diff --stat -- plugins/notion-cli/meta.json plugins/notion-cli/plugin.json plugins/catalog.jsonRepository: javimosch/supercli
Length of output: 5462
🏁 Script executed:
python3 - <<'PY'
import hashlib
import json
from pathlib import Path
plugin = Path("plugins/notion-cli")
parts = []
for name in ("plugin.json", "meta.json"):
path = plugin / name
if path.exists():
parts.append(path.read_text(encoding="utf-8"))
checksum = hashlib.sha256("\n".join(parts).encode("utf-8")).hexdigest()[:16]
catalog = json.loads(Path("plugins/catalog.json").read_text(encoding="utf-8"))
entry = next((item for item in catalog["plugins"] if item["name"] == "notion-cli"), None)
print("computed_checksum:", checksum)
print("catalog_entry:", entry)
print("matches:", entry is not None and entry.get("checksum") == checksum)
PYRepository: javimosch/supercli
Length of output: 277
Regenerate plugins/catalog.json
The notion-cli catalog checksum (8c346fb660a44194) does not match the checksum for the current plugin.json and meta.json (7cb324564e0a11ec). Regenerate and commit the catalog artifact.
📍 Affects 2 files
plugins/notion-cli/meta.json#L2-L3(this comment)plugins/notion-cli/plugin.json#L4-L4
🤖 Prompt for AI Agents
Verify each finding against current code. Fix only still-valid issues, skip the
rest with a brief reason, keep changes minimal, and validate.
In `@plugins/notion-cli/meta.json` around lines 2 - 3, Regenerate the
plugins/catalog.json artifact for the notion-cli entry so its checksum matches
the current metadata. Use plugins/notion-cli/meta.json lines 2-3 and
plugins/notion-cli/plugin.json line 4 as the source inputs; no direct changes
are needed in either source file.
Source: Path instructions
Automated maintenance run by automaintainer.
Focus: == ASSIGNED OBJECTIVE ==
Fix GitHub issue #298 ONLY: Add 4ier/notion-cli as a bundled plugin in SuperCLI. PR title MUST reference #298.
OPEN PR AWARENESS (secondary — do not replace the ASSIGNED OBJECTIVE):
These open pull requests are already open and awaiting review. Do NOT start UNRELATED work on the files they touch. If your ASSIGNED OBJECTIVE requires editing one of those files, complete the objective anyway. Never abandon the objective to pick a different GitHub issue just to avoid overlap.
touches: plugins/notion-cli/install-guidance.json, plugins/notion-cli/plugin.json, plugins/notion-cli/skills/quickstart/SKILL.md
touches: plugins/notion-cli/install-guidance.json, plugins/notion-cli/plugin.json, plugins/notion-cli/skills/quickstart/SKILL.md
touches: plugins/notion-cli/install-guidance.json, plugins/notion-cli/plugin.json, plugins/notion-cli/skills/quickstart/SKILL.md
touches: plugins/notion-cli/install-guidance.json, plugins/notion-cli/plugin.json, plugins/notion-cli/skills/quickstart/SKILL.md
touches: plugins/notion-cli/install-guidance.json, plugins/notion-cli/plugin.json, plugins/notion-cli/skills/quickstart/SKILL.md
touches: plugins/notion-cli/install-guidance.json, plugins/notion-cli/plugin.json, plugins/notion-cli/skills/quickstart/SKILL.md
run <plugin> <resource> <action>one-shot command #365 (am/am-f17c27-dkdoeotqzvn8-3120cd1a): fix(feat:sc run <plugin> <action>— one-shot discover+install+execute #335): implementrun <plugin> <resource> <action>one-shot commandtouches: tests/run-command.test.js, cli/help-json.js, cli/help.js, cli/run.js, cli/supercli.js
Branch:
am/am-f17c27-dklx5jo9qfio-8788a5d0Diff:
Summary by CodeRabbit