Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions plugins/notion-cli/meta.json
Original file line number Diff line number Diff line change
@@ -1,5 +1,5 @@
{
"description": "Notion CLI — like gh for GitHub, but for Notion. 39 commands covering pages, databases, blocks, comments, users, files, and search. Full Notion API in a single Go binary. Auto-detects JSON output when piped — perfect for agents. Schema-aware database queries with human-friendly filters. Markdown I/O for reading/writing page content.",
"tags": ["notion", "cli", "knowledge-base", "docs", "productivity", "database", "api", "agentic", "go"],
"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"],
Comment on lines +2 to +3

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

🗄️ 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 || true

Repository: 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 -200

Repository: 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.json

Repository: 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)
PY

Repository: 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

"has_learn": true
}
2 changes: 1 addition & 1 deletion plugins/notion-cli/plugin.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "notion-cli",
"version": "0.1.0",
"description": "Notion CLI — like gh for GitHub, but for Notion. 39 commands covering pages, databases, blocks, comments, users, files, and search. Full Notion API in a single Go binary. JSON output when piped, schema-aware queries, Markdown I/O. Built for developers and AI agents.",
"description": "notion-cli — full-featured Notion CLI with 39 commands for pages, databases, blocks, and the full Notion API",
"source": "https://github.com/4ier/notion-cli",
"checks": [
{ "type": "binary", "name": "notion" }
Expand Down
Loading