codegraph
codegraph copied to clipboard
Feat/kimi code support
Description
This Pull Request adds first-class support for the Kimi Code AI agent to the CodeGraph installer, addressing the request in #422.
Key Changes:
- Added Kimi Target (
kimi.ts): Implemented the completeAgentTargetcontract for Moonshot AI's Kimi Code.- MCP Configuration: Manages config entries inside
mcp.json(~/.kimi-code/mcp.jsonglobally, or.kimi-code/mcp.jsonproject-locally) using the standard{mcpServers: {codegraph: {...}}}schema. - Repository Guidelines: Configures system steering rules at
~/.kimi-code/KIMI.md(global) or./KIMI.md(local) to match Kimi's native instructions convention.
- MCP Configuration: Manages config entries inside
- Registry & Union Types: Registered
kimiTargetinALL_TARGETSinsideregistry.tsand updated target ID union definitions intypes.ts. - Installer Hints: Added Kimi-specific hints to the global and local installer target menus inside
index.ts. - Automated Tests: Registered Kimi Code in
__tests__/installer-targets.test.tsto automatically run target contract checks (installation, uninstallation, detection, and idempotency).
Closes #422