Skip to content

server@0.47.0

Choose a tag to compare

@gram-bot gram-bot released this 07 May 01:58
· 5213 commits to main since this release
b3364aa

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 existing gram start server and wrapped with the recovery middleware so panics don't crash the process.
    • Token-as-secret model: plugin_github_connections gains a nullable marketplace_token column 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 the hooks/ 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-subdir source type per the official Claude Code marketplace schema (the only valid types are npm, 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 add plus an org-wide rollout section with a copy-paste extraKnownMarketplaces snippet 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.
    • Management API: plugins.getPublishStatus now returns a marketplace_url field once a token has been minted; the dashboard reads from that. SDK regenerated.
  • 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