[Feature]: [Feature]: 请求做zcode和kimicode适配 非常需要!
Issue Origin
Observed or reproduced in a real environment
Problem Statement
[Feature]: [Feature]: 请求做zcode和kimicode适配 非常需要!
Proposed Solution
[Feature]: [Feature]: 请求做zcode和kimicode适配 非常需要!
Alternatives Considered
No response
Feature Area
Core (Client/Engine)
Use Case
[Feature]: [Feature]: 请求做zcode和kimicode适配 非常需要!
Example API (Optional)
Additional Context
No response
Contribution
- [ ] I am willing to contribute to implementing this feature
FYI on the ZCode half of this request: I opened #3544 — examples/zcode-memory-plugin, which mirrors the TRAE/Codex plugins and reuses memory-plugin-shared (recall/capture/commit/peer-identity/MCP proxy). It's draft because ZCode's extension surface isn't publicly documented, so the hook protocol is inherited from Cursor/TRAE and DESIGN.md flags each load-bearing assumption + exactly which file changes if ZCode's real surface differs.
KimiCode would follow the exact same pattern (thin adapter on top of the shared runtime) — happy to add it next if there's interest, but I didn't want to balloon this PR. The shared runtime means a KimiCode plugin would be ~the same size as the ZCode one (mostly the adapter + turns parser + config).
need same
ZCode 部分已有进展:我开了 #3678,实现了完整的 ZCode 记忆插件(自动召回、对话捕获、URI 守卫、MCP 工具),复用了 OpenViking 共享运行时。
Kim iCode 部分目前还没有进展,如果有人有兴趣可以参照 ZCode 的实现来做。
如果 #3678 合入,这个 issue 的 ZCode 部分就完成了。
📣 进展同步 / Status update
中文: 本 issue 的 ZCode 适配部分已随 #3678 合入 main(2026-08-04)。插件提供自动召回、对话捕获(Stop hook stdin + rollout 文件双通道,不依赖 transcript_path)、URI 守卫、MCP 工具,复用 OpenViking 共享运行时,无重复实现。安装方式见 examples/zcode-memory-plugin/ 与 docs/zh/agent-integrations/15-zcode.md。
KimiCode 适配目前仍无进展;如有人愿意承接,可参照 ZCode 实现(examples/zcode-memory-plugin/DESIGN.md)。
English: The ZCode adapter portion of this request landed in main via #3678 (merged 2026-08-04). The plugin provides auto-recall, conversation capture (dual-channel: Stop hook stdin + rollout file, no dependence on transcript_path), URI guard, and MCP tools — all reusing the shared OpenViking runtime, no duplicated logic. See examples/zcode-memory-plugin/ and docs/en/agent-integrations/15-zcode.md.
KimiCode adapter is still open; happy to support anyone who wants to pick it up, using the ZCode implementation (DESIGN.md) as a reference.
cc @dogking95 @now-ing @sthnow
Kimicode half of this issue is implemented in https://github.com/volcengine/OpenViking/pull/4787.
It follows the ZCode adapter from #3678 (examples/zcode-memory-plugin) but maps Kimi Code CLI’s own surface (TOML [[hooks]], mcp.json, plain-text UserPromptSubmit inject, SessionEnd / PreCompact / Interrupt, wire.jsonl transcript). Install: bash examples/memory-plugin-shared/install.sh --harness kimicode.
Both are supported on main now: ZCode via #3678 and Kimi Code via #4787 (install.sh --harness zcode,kimicode). Closing.