[PR #1806] [CLOSED] feat(setup): support Kimi Code client integrations #4828

Closed
opened 2026-10-31 00:55:29 +00:00 by bsakaguchi · 0 comments
Owner

📋 Pull Request Information

Original PR: https://github.com/morluto/rea/pull/1806
Author: @devloper961-maker
Created: 10/11/2026
Status: ❌ Closed

Base: main ← Head: feat/setup-kimi-code-client


📝 Commits (1)

  • 3725960 feat(setup): support Kimi Code client integrations

📊 Changes

7 files changed (+194 additions, -2 deletions)

View changed files

📝 .agents/skills/reverse-engineer-anything/references/connection-and-recovery.md (+1 -1)
📝 docs/installation.md (+10 -0)
📝 src/application/SetupClientConfiguration.ts (+14 -1)
📝 src/application/SupportedClients.ts (+15 -0)
📝 tests/boundary/filesystem/clientLifecycle.test.ts (+1 -0)
➕ tests/boundary/filesystem/kimiClientConfiguration.test.ts (+152 -0)
📝 tests/fixtures/clientEnvironment.ts (+1 -0)

📄 Description

Summary

Adds Kimi Code (\kimi_code) to setup client integrations, following the #1301 / #1409 pattern:

  • Registers the pinned stdio entry at \mcpServers.rea\ in user-level ~/.kimi-code/mcp.json, honoring a non-empty \KIMI_CODE_HOME\ override (used unexpanded)
  • Seeds \REA_MCP_INPUT_SCHEMA_PROFILE=compact\ in the written entry so every advertised schema stays under Moonshot's per-schema cap; explicit user values keep precedence and refreshes retain it
  • Detection via the ~/.kimi-code\ marker; shared ~/.agents/skills\ skill destination (no client-specific skill family needed)
  • Docs table row plus a Kimi Code note in \docs/installation.md; client ID added to the skill's connection-and-recovery reference

Test Plan


  • pm run verify:test-discovery\ — 827 files, new test discovered
  • New \ ests/boundary/filesystem/kimiClientConfiguration.test.ts\ — 7/8 pass; the 1 failure (package-runner alignment status) fails identically for Qwen on clean main in this Windows environment (pre-existing, environment-specific)
  • \ sc --noEmit\ clean; oxlint shows only the pre-existing max-lines warning; module boundaries check passes
  • \documentationFactIssues\ returns no issues against the built catalog (includes \kimi_code)
  • CI (Linux) to confirm the alignment/status assertions and full suite

Notes

  • No change to canonical tool contracts; the compact profile is presentation-only
  • User scope only, no project-level writes

Closes #1791


🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.

## 📋 Pull Request Information **Original PR:** https://github.com/morluto/rea/pull/1806 **Author:** [@devloper961-maker](https://github.com/devloper961-maker) **Created:** 10/11/2026 **Status:** ❌ Closed **Base:** `main` ← **Head:** `feat/setup-kimi-code-client` --- ### 📝 Commits (1) - [`3725960`](https://github.com/morluto/rea/commit/37259604fc9ad0b00db98a050b1d866239f41b88) feat(setup): support Kimi Code client integrations ### 📊 Changes **7 files changed** (+194 additions, -2 deletions) <details> <summary>View changed files</summary> 📝 `.agents/skills/reverse-engineer-anything/references/connection-and-recovery.md` (+1 -1) 📝 `docs/installation.md` (+10 -0) 📝 `src/application/SetupClientConfiguration.ts` (+14 -1) 📝 `src/application/SupportedClients.ts` (+15 -0) 📝 `tests/boundary/filesystem/clientLifecycle.test.ts` (+1 -0) ➕ `tests/boundary/filesystem/kimiClientConfiguration.test.ts` (+152 -0) 📝 `tests/fixtures/clientEnvironment.ts` (+1 -0) </details> ### 📄 Description ## Summary Adds Kimi Code (\kimi_code\) to setup client integrations, following the #1301 / #1409 pattern: - Registers the pinned stdio entry at \mcpServers.rea\ in user-level \~/.kimi-code/mcp.json\, honoring a non-empty \KIMI_CODE_HOME\ override (used unexpanded) - Seeds \REA_MCP_INPUT_SCHEMA_PROFILE=compact\ in the written entry so every advertised schema stays under Moonshot's per-schema cap; explicit user values keep precedence and refreshes retain it - Detection via the \~/.kimi-code\ marker; shared \~/.agents/skills\ skill destination (no client-specific skill family needed) - Docs table row plus a Kimi Code note in \docs/installation.md\; client ID added to the skill's connection-and-recovery reference ## Test Plan - [x] \ pm run verify:test-discovery\ — 827 files, new test discovered - [x] New \ ests/boundary/filesystem/kimiClientConfiguration.test.ts\ — 7/8 pass; the 1 failure (package-runner alignment status) fails identically for Qwen on clean main in this Windows environment (pre-existing, environment-specific) - [x] \ sc --noEmit\ clean; oxlint shows only the pre-existing max-lines warning; module boundaries check passes - [x] \documentationFactIssues\ returns no issues against the built catalog (includes \kimi_code\) - [ ] CI (Linux) to confirm the alignment/status assertions and full suite ## Notes - No change to canonical tool contracts; the compact profile is presentation-only - User scope only, no project-level writes Closes #1791 --- <sub>🔄 This issue represents a GitHub Pull Request. It cannot be merged through Gitea due to API limitations.</sub>
bsakaguchi 2026-10-31 00:55:29 +00:00
Sign in to join this conversation.
No milestone
No project
No assignees
1 participant
Notifications
Due date
The due date is invalid or out of range. Please use the format "yyyy-mm-dd".

No due date set.

Dependencies

No dependencies set.

Reference
morluto/rea#4828
No description provided.