Skip to content

feat(cli): deliver aidd plugins to kimi through its local plugin server - #1388

Merged
blafourcade merged 4 commits into
nextfrom
feat/kimi-plugins-every-host
Nov 26, 2026
Merged

blafourcade merged 4 commits into
nextfrom
feat/kimi-plugins-every-host

Conversation

@blafourcade

@blafourcade blafourcade commented Nov 26, 2026 •

Copy link
Copy Markdown
Contributor

Summary

Kimi Code CLI receives aidd plugins as user-scope plugins, through its documented local server API (https://www.kimi.com/code/docs/en/kimi-code-cli/reference/server-api.html). The CLI starts kimi web --no-open, reads the token from its startup banner, then calls POST /api/v1/plugins {source}, list and :remove, and stops the server.

  • A second, user-scope native build contract synthesizes .kimi-plugin/plugin.json with ./ paths, agents mapped to Kimi tool names, and the MCP servers inline. The flat project build stays.
  • It is wired into setup --global, plugin update --scope user, plugin remove --scope user and clean --scope user. A plugin removed is not installed again by the next sync, because the ledger drops it.
  • Hooks are not delivered yet. Kimi reads hooks from the user config.toml or a local plugin, never a project, and no Kimi hook payload has been captured. The reason text now says so.
  • Probed on Kimi 0.42.0 in a throwaway HOME, logged out: install, list, remove, and an idempotent re-install.
  • Limits:
    • plugin install --scope user cannot target Kimi, because its supported scope is project.
    • A named user-scope update refreshes every plugin aidd owns in Kimi.

Supersedes #1344, whose Kimi work this takes over.

🤖 Generated with Claude Code

blafourcade and others added 4 commits November 26, 2026 08:22
…rrect why no hook ships

Co-Authored-By: Claude Opus 5.5 <[email protected]>
…ry-host

# Conflicts:
#	.github/workflows/ci.yml
…read a plugin's mcp once

- plugin remove at user scope also removes the plugin from the host's server and its ledger,
  so the next sync no longer installs it again
- plugin update at user scope refreshes the plugins the host's server holds
- one reader for a plugin's .mcp.json, which names the plugin when it cannot be parsed
- the support surface counts servers a manifest carries inline as delivered
- one notice for a host binary that is not on the PATH

Co-Authored-By: Claude Opus 5.5 <[email protected]>
@blafourcade
blafourcade marked this pull request as ready for review November 26, 2026 08:14
@blafourcade
blafourcade requested a review from a team as a code owner November 26, 2026 08:14
@blafourcade
blafourcade merged commit be0325c into next Nov 26, 2026
4 checks passed
@blafourcade
blafourcade deleted the feat/kimi-plugins-every-host branch November 26, 2026 08:14
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant