codegraph icon indicating copy to clipboard operation
codegraph copied to clipboard

Feat/kimi code support

Open neuralmanacle opened this issue 6 months ago • 0 comments

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 complete AgentTarget contract for Moonshot AI's Kimi Code.
    • MCP Configuration: Manages config entries inside mcp.json (~/.kimi-code/mcp.json globally, or .kimi-code/mcp.json project-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.
  • Registry & Union Types: Registered kimiTarget in ALL_TARGETS inside registry.ts and updated target ID union definitions in types.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.ts to automatically run target contract checks (installation, uninstallation, detection, and idempotency).

Closes #422

neuralmanacle avatar May 26 '26 09:05 neuralmanacle