Repository navigation
server@0.47.0
Minor Changes
-
f3f2070: Add listChallenges and resolveChallenge endpoints to the access service for the challenge resolution UI
-
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:
-
f3955c2: Add Slack reaction platform tools (
platform_slack_add_reaction,platform_slack_remove_reaction,platform_slack_get_reactions,platform_slack_list_reactions,platform_slack_list_emoji) so assistants can react to messages and discover available emoji.
Patch Changes
- 504c815: Allow setting custom policy messages to be shown to end users