Repository navigation
dashboard@0.46.0
·
5213 commits
to main
since this release
Minor Changes
-
f65466b: Add a marketplace proxy and end-to-end install UX so users can install Gram-published plugins in Claude Code, Claude Cowork, and Cursor without making the upstream GitHub repo public.
- Server routes:
GET /marketplace/m/{token}/marketplace.json(URL-based Claude Code marketplace) and/marketplace/p/{token}.git/...(git Smart HTTP proxy for plugin source clones). Both stream directly from GitHub via the same GitHub App installation token used for publishing — no local mirror state, stateless. Proxy is mounted on the existinggram startserver and wrapped with the recovery middleware so panics don't crash the process. - Token-as-secret model:
plugin_github_connectionsgains a nullablemarketplace_tokencolumn with a partial unique index. Tokens are auto-minted on first publish and preserved across subsequent publishes; rotation is a separate (deferred) admin path. Handler-level format precheck rejects malformed tokens before the DB lookup. - Hook layout fix: the publish flow now writes generated observability hooks at
hooks/hooks.json(with the script alongside) instead of at the plugin root. Without thehooks/subdir, Claude Code and Cursor register the plugin successfully but never wire the hook events up — silently dropping every PreToolUse / PostToolUse signal. - Plugin source rewrite: rewritten manifests use the
git-subdirsource type per the official Claude Code marketplace schema (the only valid types arenpm,url,github,git-subdir; plain"git"produces a confusing "source type your version does not support" install error). - Dashboard: the Plugins page surfaces the marketplace as a labeled panel with an "Install instructions" button that opens a HooksSetupDialog-styled modal. Three working provider tabs:
- Claude Code — per-user
/plugin marketplace addplus an org-wide rollout section with a copy-pasteextraKnownMarketplacessnippet for Claude.ai's Managed Settings. - Claude Cowork — three-step admin walkthrough for adding the GitHub repo on Claude.ai's Plugins page.
- Cursor — three-step team-admin walkthrough for cursor.com/dashboard, mirroring what's already documented in the published repo's README.
- Claude Code — per-user
- Management API:
plugins.getPublishStatusnow returns amarketplace_urlfield once a token has been minted; the dashboard reads from that. SDK regenerated.
- Server routes:
-
0978641: Default-attach Slack reaction tools during assistant onboarding and inject reaction etiquette guidance into the assistant's
# Behaviorsection. Slack manifest builder now maps the reaction tool handlers to thereactions:write,reactions:read, andemoji:readbot scopes.