chore(agents): drop the kimi-code CLI

Kimi Code moved its desktop client into an internal repository in July 2026 (MoonshotAI/kimi-code#1849), so the polished surface is no longer open source; the CLI that stays behind overlaps opencode2 and pi. Removing it drops one more redundant harness.
This commit is contained in:
Ryan Yin committed 2026-10-04 12:52:50 +08:00
1 parent 349fe7f5cf
commit bf193e4082
6 files changed
+9 -14

No files matched your search

+8 -8
View File
@@ -10,8 +10,8 @@ Nix dependency; this module only wires it into place.
## Files
- `rules.nix`: links the global rules to every agent's config location.
- `packages.nix`: agent CLIs (`codex`, `opencode2`, `kimi-code`, `pi`) from the `llm-agents` flake
input, plus `pkgs.mcp-grafana` for the Grafana MCP server.
- `packages.nix`: agent CLIs (`codex`, `opencode2`, `pi`) from the `llm-agents` flake input, plus
`pkgs.mcp-grafana` for the Grafana MCP server.
- `env.nix`: telemetry and auto-update opt-outs for the agents.
## Deployed rule targets
@@ -19,12 +19,12 @@ Nix dependency; this module only wires it into place.
`rules.nix` creates one out-of-store symlink per target, all pointing at
`~/nix-config/agents/AGENTS.md`:
| Agent | Target |
| ---------------------- | ------------------------------ |
| Codex | `~/.codex/AGENTS.md` |
| OpenCode | `~/.config/opencode/AGENTS.md` |
| Pi | `~/.pi/agent/AGENTS.md` |
| Cross-tool (Kimi Code) | `~/.agents/AGENTS.md` |
| Agent | Target |
| ---------- | ------------------------------ |
| Codex | `~/.codex/AGENTS.md` |
| OpenCode | `~/.config/opencode/AGENTS.md` |
| Pi | `~/.pi/agent/AGENTS.md` |
| Cross-tool | `~/.agents/AGENTS.md` |
Out-of-store means an edit to `agents/AGENTS.md` takes effect on the next agent session without a
Home Manager switch. The trade-off is that the rules stay writable in the checkout; use a store
-2
View File
@@ -1,7 +1,5 @@
{
home.sessionVariables = {
KIMI_DISABLE_TELEMETRY = "1";
PI_TELEMETRY = "0";
PI_SKIP_VERSION_CHECK = "1";
-1
View File
@@ -11,7 +11,6 @@ in
# Agents
agentPackages.codex
agentPackages.opencode2
agentPackages.kimi-code
agentPackages.pi
# MCP servers, configured project-scoped in opencode.jsonc / .codex/config.toml
+1 -1
View File
@@ -12,7 +12,7 @@ in
home.file = {
".codex/AGENTS.md".source = link; # Codex
".pi/agent/AGENTS.md".source = link; # Pi
".agents/AGENTS.md".source = link; # cross-tool, read by Kimi Code
".agents/AGENTS.md".source = link; # cross-tool
};
xdg.configFile."opencode/AGENTS.md".source = link; # OpenCode
-1
View File
@@ -176,7 +176,6 @@ in
".agents" # skills for all agents
".config/agents"
".codex"
".kimi-code"
".pi"
".config/opencode"
".local/share/opencode"
-1
View File
@@ -84,7 +84,6 @@ in
# Agents
agentPackages.codex
agentPackages.opencode2
agentPackages.kimi-code
agentPackages.pi
];
}