Repository navigation
Conversation
Add kimi_code to the supported setup clients with the JSON mcpServers dialect at ~/.kimi-code/mcp.json, following a nonempty KIMI_CODE_HOME and falling back when it is empty. Skills stay in the shared ~/.agents/skills destination, and a project .kimi-code/mcp.json can override the user entry, so setup writes user scope only. Seed REA_MCP_INPUT_SCHEMA_PROFILE=compact through the existing registration environment merge: an explicitly configured profile in the entry still wins, and discovered provider settings still override their own keys. Moonshot's API rejects a whole request while one tool input schema exceeds its per-schema cap (morluto#1484); the full profile in 6.4.0 put five schemas over it, the compact profile put none.
Mirror the Qwen Code client tests: boundary coverage for path resolution (default home and KIMI_CODE_HOME), register -> aligned read -> idempotent reconfigure -> unregister, compact profile seeding with an explicit profile preserved, and an acceptance CLI plan/setup/doctor/uninstall pass asserting the seeded compact environment and shared skill. Extend the detected-client order with kimi_code.
Add the Kimi Code row to the supported agents table and a section covering the user-level mcp.json target, the KIMI_CODE_HOME override, project-level overrides, the seeded compact schema profile justified by the Moonshot per-schema cap (morluto#1484), and the session restart required after MCP changes. Scope the 17-client dry-run checkpoint sentence to the 6.4.0 release.
Codex Review SummaryThis comment shows the latest Codex review activity on this pull request.
ℹ️ About Codex in GitHubYour team has set up Codex to review pull requests in this repo. Reviews are triggered when you
Codex reacts with 👀 while any review is running, comments if it has suggestions, and reacts with 👍 once all reviews finish with no findings. |
dandgabr
left a comment
There was a problem hiding this comment.
Consolidated review
- P3 — Verify the documented project-level override path. In
docs/installation.md:245-247, the guide says a project-root.mcp.jsoncan override Kimi Code’s user entry and asks users to inspect it when registration is unavailable. Kimi Code’s current MCP documentation documents the project-level file as.kimi-code/mcp.jsonand same-name precedence, but does not list.mcp.json. Please confirm that.mcp.jsonis actually loaded by Kimi Code; otherwise remove it from this troubleshooting guidance so users check the supported project file.
|
Thanks for the careful read. I verified this against the Kimi Code CLI itself before changing anything: project-root Evidence: the built-in
The bundled So a project-root |
|
On the two client-integration requirements for Kimi Code (config path; schema budget): both are implemented in this PR; anchors below. Config path (additive, idempotent). Registration targets the user-level Schema budget (the ~14 KB per-schema cap). The registration defaults to the compact schema presentation: An agent-tailored tool allowlist was considered (see "Alternatives considered" in #1791) and dropped: the compact presentation fits the budget without dropping capabilities that work under compact advertising. |
|
@greptileai review |
|
Conflict resolution: keep kimi_code alongside upstream qoder/zcode/dsh client entries and detection order; extend the main-only release note to cover kimi_code; move the Kimi Code setup prose to docs/client-configuration.md to follow upstream's reorganized client-docs layout (installation.md keeps the supported-agents table row and the extended main-only footnote). Validated: check:fast, docs:check, focused kimi/client-lifecycle/env tests.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 018a9da6e4
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Root cause: registrationAligned validated launcher ownership and per-client transport/timeout policies but never consulted registration env, while the setup-side desired configuration seeds the compact schema profile default. A hand-written Kimi entry without a profile therefore reported aligned in doctor while starting REA in full profile, hitting Moonshot's per-schema size cap (morluto#1484). Fix: status alignment now applies the same policy at the owning boundary — a kimi_code registration without REA_MCP_INPUT_SCHEMA_PROFILE is stale, and any explicit value keeps the user's choice — following the existing codex/grok_build startup-timeout policy pattern in the same function. The registration schema types env (previously passthrough-only). Validation: new boundary test covers profile-less -> stale and explicit full -> aligned; existing seeded-compact aligned case retained. lint 0 errors; focused kimi/lifecycle suites 64/64.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 5f0a11687a
ℹ️ About Codex in GitHub
Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".
…policy Root cause: the seeded-defaults merge and the staleness check compared environment keys by exact spelling. On Windows a hand-written entry may spell the variable rea_mcp_input_schema_profile; the case-sensitive spread added uppercase compact alongside the explicit full (two names for one Windows variable), and the exact lookup in registrationAligned reported the entry stale. That violates the preserve-caller-selected-inputs rule. Fix: environment-key identity is normalized once in ClientRegistrationIdentity (new exported environmentKey, folding both sides on win32; environmentValue now reuses it), consumed by the defaults/existing/overrides merge — the winning layer keeps its own spelling — and by the Kimi staleness check in registrationAligned. Validation: new boundary tests cover a case-variant explicit profile on Windows for both merge (single key retained) and status (aligned), built on the win32 cmd-wrapped runner command; 80/80 focused tests pass across the kimi/lifecycle/environment suites; check:fast green. Remaining cleanup: none; merge and status share one identity rule.
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 667758c201
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
Root cause: the seeded-defaults merge validated the retained environment map by exact spelling, so a Windows case-variant known setting (e.g. rea_mcp_input_schema_profile: "bogus") was treated as an unknown key and kept unvalidated, while the runtime snapshots Windows keys case-insensitively and then rejects the invalid profile at startup. Fix: validate a copy folded the way the runtime snapshots keys — clientRegistrationEnvironment now passes snapshotEnvironment(environment, platform) to parseEnvironment while retaining the source spelling — and registrationAligned treats a missing or invalid Kimi profile as stale via the same platform-aware key identity and mcpInputSchemaProfileSchema. Validation: boundary tests pin the merge refusing "bogus"/"" case-variant values before retention, and the status matrix (case-variant invalid -> stale through the alignment policy; exact-case invalid -> invalid with the named-setting remediation from the existing files validation). 84/84 focused tests across the kimi/lifecycle/environment suites; check:fast green. Remaining cleanup: none; exact-case invalid values were already reported by readClientConfigurationFiles and remain covered there.
|
Review findings addressed at their producing boundaries and consumers. Latest changes were reviewed from source; tests and provider runs were skipped at the maintainer's request. Findings requiring separate decisions or verification remain open. The current contributor head already contains this correction in ClientRegistrationStatus.registrationAligned: a Kimi registration without REA_MCP_INPUT_SCHEMA_PROFILE is stale. The status reader uses the platform-aware environmentKey owner, so Windows key identity and explicitly configured profile choices are preserved. No further source change was necessary. Source-inspected at Fixed by the prior contributor change and completed structurally in 3c2fb7e. The producing merge previously treated differently spelled Windows environment names as independent keys, so its compact default could override an explicit lowercase full selection. Merge, alignment lookup, package-runner identity and runtime snapshots now share one platform-aware key-identity owner. Each input layer selects the same first lexicographic Windows spelling as Node, then explicit existing/override layers replace defaults while retaining the selected source spelling and value. POSIX keys remain case-sensitive. Kept the original lowercase-full regressions and added unexecuted source-layer collision/explicit-override coverage. Inspected setup desired registration, Doctor/read validation and runtime snapshot consumers; targeted formatting and git diff whitespace inspection completed. Tests/checks/builds/provider workloads were deliberately not run at the user's request. No related cleanup remains. Fixed in 3c2fb7e. Registration merge preserved caller spelling, but parseEnvironment validated that case-sensitive source map instead of the Windows runtime view, allowing lowercase known settings to bypass validation. It now validates a snapshotEnvironment canonical copy using the shared platform key identity, then returns the original selected spellings/values without runtime defaults or ambient environment. Doctor's explicitly selected platform is forwarded to the configuration read/validation owner, so lowercase bogus/empty values produce invalid status before alignment rather than an apparently ready server. Added unexecuted regressions for both invalid values in direct merge and Doctor inspection, retaining valid lowercase-full and caller-value coverage. Source inspected read/merge/desired-registration/alignment/runtime consumers, formatted touched sources, and inspected the git diff. No tests, checks, builds, provider execution or CI reruns were run at the user's request. No related cleanup remains. |
…imi-code-client Resolves the profile-validation overlap in favor of morluto's 3c2fb7e implementation: environment-key identity in src/config/environmentKey.ts, layer merge selecting Node's first-lexicographic spelling, value validation against the snapshotEnvironment runtime view at the files boundary with options.platform threaded through, and the expanded identity test suite. Our superseded registrationAligned value check is dropped — invalid values are now rejected earlier with the named-setting remediation.
|
Note from the branch side: |
# Conflicts: # docs/installation.md # src/application/ClientRegistrationStatus.ts # tests/boundary/filesystem/kimiClientConfiguration.test.ts
There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: f479edcd42
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| // Kimi Code discovers personal skills in the shared `~/.agents/skills` | ||
| // directory, and a project `.kimi-code/mcp.json` overrides this user file, | ||
| // so setup manages only the user-level registration. | ||
| name: "kimi_code", |
There was a problem hiding this comment.
Reuse the existing Kimi client identity
SUPPORTED_CLIENT_DEFINITIONS already defines Kimi Code as kimi with the same $KIMI_CODE_HOME/mcp.json and marker, using the Kimi-specific dialect. After this second detectable ID is added, an existing owned Kimi registration is returned twice by Doctor/update maintenance: kimi is current while kimi_code is stale for the missing compact value, so maintenance rewrites the shared entry through the generic alias, drops its timeout fields (and any enabledTools choice), and leaves kimi stale. --all-detected likewise plans two clients for one file, while --client kimi never receives the new compact default; extend the existing identity or implement a non-detectable CLI alias instead.
AGENTS.md reference: AGENTS.md:L23-L23
Useful? React with 👍 / 👎.
| configPath: (context: ClientPathContext) => | ||
| join(kimiCodeDirectory(context), "mcp.json"), | ||
| markerPath: kimiCodeDirectory, | ||
| format: "json", |
There was a problem hiding this comment.
Parse Kimi configuration with its strict dialect
When mcp.json contains a comment, trailing comma, or BOM, this generic json dialect accepts it through JSONC parsing, whereas Kimi's format owner in ClientConfigurationDocument.ts:111-117 uses strict JSON.parse with only an empty-file fallback; the retained Kimi boundary test also requires these forms to be rejected without writes. Setup through kimi_code can therefore modify such a file and report the alias aligned even though Kimi Code cannot load it; select the kimi dialect (or reuse the existing definition) so setup fails closed.
AGENTS.md reference: AGENTS.md:L23-L23
Useful? React with 👍 / 👎.
| markerPath: directory, | ||
| configPath: join("/home/a", ".kimi-code", "mcp.json"), | ||
| markerPath: join("/home/a", ".kimi-code"), | ||
| format: "kimi", |
There was a problem hiding this comment.
Switching these tests to format: "kimi" makes their expectations fail. The first lifecycle test still supplies a comment, which the strict Kimi reader rejects. Its saved-entry expectations also omit startupTimeoutMs and toolTimeoutMs.
Update the tests for the shared Kimi contract. kimiClientEnvironmentIdentity.test.ts and clientLifecycle.test.ts still expect a separate kimi_code client. kimiClientCurrentRegistration.test.ts expects entries without the newly seeded env, and the acceptance test also starts with commented JSON. These mismatches break the required test suite.
Prompt To Fix With AI
This is a comment left during a code review.
Path: tests/boundary/filesystem/kimiClientConfiguration.test.ts
Line: 39
Comment:
**Kimi tests now fail**
Switching these tests to `format: "kimi"` makes their expectations fail. The first lifecycle test still supplies a comment, which the strict Kimi reader rejects. Its saved-entry expectations also omit `startupTimeoutMs` and `toolTimeoutMs`.
Update the tests for the shared Kimi contract. `kimiClientEnvironmentIdentity.test.ts` and `clientLifecycle.test.ts` still expect a separate `kimi_code` client. `kimiClientCurrentRegistration.test.ts` expects entries without the newly seeded `env`, and the acceptance test also starts with commented JSON. These mismatches break the required test suite.
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 3bc7544665
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| "omp", | ||
| "pi", | ||
| "hermes", | ||
| "kimi_code", |
There was a problem hiding this comment.
Keep the CLI alias out of detection expectations
When the boundary suite runs, supportedClients() is built only from SUPPORTED_CLIENT_DEFINITIONS, and SupportedClients.ts:699-704 now makes kimi_code a command-line alias rather than a detectable client. detectClients() therefore emits only kimi, so this added element makes the exact list assertion fail; kimiClientEnvironmentIdentity.test.ts:123-146 has the same stale assumption and throws while looking up the nonexistent alias. Update both tests to use the canonical identity.
AGENTS.md reference: AGENTS.md:L23-L23
Useful? React with 👍 / 👎.
| }, | ||
| }), | ||
| `{ | ||
| // Keep this note. |
There was a problem hiding this comment.
Feed the canonical Kimi parser strict JSON fixtures
When this lifecycle test (or the new acceptance test at tests/acceptance/setup/kimiClientSetup.test.ts:29) runs, the fixture reaches the canonical kimi dialect, whose parseDocument uses strict JSON.parse at ClientConfigurationDocument.ts:115-117. The comment therefore makes setup return a malformed/readback failure (and makes the acceptance dry run block) before either test can observe the expected registration; use valid JSON and stop asserting comment preservation for Kimi.
AGENTS.md reference: AGENTS.md:L23-L23
Useful? React with 👍 / 👎.
| const expectedRegistration = (launcher: readonly string[]) => ({ | ||
| command: launcher[0], | ||
| args: launcher.slice(1), | ||
| startupTimeoutMs: MCP_STARTUP_POLICY.kimiStartupTimeoutMs, | ||
| toolTimeoutMs: MCP_STARTUP_POLICY.kimiToolTimeoutMs, |
There was a problem hiding this comment.
Unify the expected canonical Kimi registration
When the boundary tests configure Kimi, this helper is used by exact toEqual assertions but omits the compact env now seeded for every canonical kimi registration; conversely, kimiClientConfiguration.test.ts:93-96 includes that environment but omits the startupTimeoutMs and toolTimeoutMs that clientConfigurationDesired always adds at SetupClientConfiguration.ts:736-740. Thus multiple retained lifecycle tests fail even with valid JSON; update or consolidate the expected registration to include all five canonical fields.
AGENTS.md reference: AGENTS.md:L23-L23
Useful? React with 👍 / 👎.
| input.discovery.clients.map((client) => [client.name, client]), | ||
| ); | ||
| const unknownClient = input.clientIds.find((id) => !byId.has(id)); | ||
| const canonicalClientIds = input.clientIds.map(canonicalClientId); |
There was a problem hiding this comment.
Supplying both --client kimi --client kimi_code selects kimi twice because canonicalClientIds keeps duplicates. Setup lists the same action twice and calls configureClient twice. The second call returns unchanged and replaces the first configured result in clients, losing its backupPath.
Deduplicate the canonical IDs before selecting clients.
| const canonicalClientIds = input.clientIds.map(canonicalClientId); | |
| const canonicalClientIds = [...new Set(input.clientIds.map(canonicalClientId))]; |
Prompt To Fix With AI
This is a comment left during a code review.
Path: src/application/SetupPlan.ts
Line: 138
Comment:
**Setup loses its write result**
Supplying both `--client kimi --client kimi_code` selects `kimi` twice because `canonicalClientIds` keeps duplicates. Setup lists the same action twice and calls `configureClient` twice. The second call returns `unchanged` and replaces the first `configured` result in `clients`, losing its `backupPath`.
Deduplicate the canonical IDs before selecting clients.
```suggestion
const canonicalClientIds = [...new Set(input.clientIds.map(canonicalClientId))];
```
---
For each issue above, determine whether it is valid and should be fixed. If so, fix it directly.There was a problem hiding this comment.
💡 Codex Review
Here are some automated review suggestions for this pull request.
Reviewed commit: 61a483f518
ℹ️ About Codex in GitHub
Your team has set up Codex to review pull requests in this repo. Reviews are triggered when you
- Open a pull request for review
- Mark a draft as ready
- Comment "@codex review".
If Codex has suggestions, it will comment; otherwise it will react with 👍.
Codex can also answer questions or update the PR. Try commenting "@codex address that feedback".
| See the [Harness MCP guide](https://github.com/deepseek-ai/deepseek-harness/blob/639ed015397290b3745d163aafe02ffee4aa3f84/packages/mcp/mcp-client/README.md) | ||
| for its native configuration contract. | ||
|
|
||
| ## Kimi Code |
There was a problem hiding this comment.
Merge the Kimi guidance into its existing section
The page already has a ## Kimi Code section at line 132, so adding a second identical heading makes VitePress expose duplicate outline entries and leaves the normal #kimi-code anchor on the older section, which omits the newly documented compact default and project-override troubleshooting. Fold these paragraphs into the existing section (while retaining its timeout and skill details) instead of maintaining two sources of truth.
AGENTS.md reference: AGENTS.md:L23-L23
Useful? React with 👍 / 👎.
|
Heads up: most of this is on main now. The Kimi Code client landed in efc491a (#2744). The compact input schemas for Kimi landed in 09e7f07. Two parts are not on main yet:
This branch now conflicts with main. A smaller pull request with just those two parts may be easier to merge. I only read the code here. I did not build or run it. 🤖 Generated with Claude Code (Opus 5.5) 🦊 |
|
Compared this PR with main Kimi Code setup/doctor/skill support is already delivered through #2744, and main now defaults omitted Kimi schema profiles to compact while preserving explicit profile/timeout choices. Issue #1791 has been closed for that delivered feature. This branch still contains distinct kimi_code alias and Windows environment-key identity work. Please narrow/rebase the PR around those remaining changes, comparing the environment handling with main's shared snapshot/registration owners (including 1bbf4bd), rather than reintroducing a second normalization path. Keep the original caller spellings/values separate from the canonical validation view, and update the title/body to describe the remaining scope. PR head reviewed: |
|
Following the narrowing @morluto requested above, I re-based the two remaining pieces onto current 1. The
Verified against current main ( 2. The Windows environment-key layer — mostly absorbed. Main now has the platform-key identity merge in One environmental note from local verification (not related to this branch): on newest main (6c4d880+), stripped-environment |
|
Source-derived supersession review against main 4ed33efb0cc993895cf4b4c74049f939f08888c2: Kimi Code setup, compact MCP schema profile, registration lifecycle, and documentation are now owned by src/application/SupportedClients.ts, src/application/SetupClientConfiguration.ts, tests/boundary/filesystem/kimiClientConfiguration.test.ts, and docs/installation.md. The Kimi registration workflow from this PR is present in main. No runtime verification was performed for this closure review. |
Summary
Kimi Code (kimi-cli, Moonshot's coding agent) is the one major local MCP client with no
rea setupintegration, so its users hand-writemcpServers.reainto~/.kimi-code/mcp.json(the exact path #1484's reproduction uses). That leaves setup detection,doctor, anduninstallblind to the registration,rea updatenever re-pins it, and a naive entry reproduces the Moonshot per-schema 400s of #1484 on current releases. This PR registers Kimi Code as a supported client and seeds the compact schema presentation into its entry so the first prompt after setup works. Fixes #1791.Problem and expected behavior
npx rea-agents setupand gets a Kimi Code checkbox the way OMP (Support OMP (oh-my-pi) in rea setup client integrations #1257 → feat(setup): register OMP during setup #1301) and Qwen Code ([Feature] Support Qwen Code in rea setup client integrations #1409) did, then loads both the MCP server and thereverse-engineer-anythingworkflow with no manual file edits.rea setup --client kimi_codewrites a pinnedmcpServers.reaentry to user-level~/.kimi-code/mcp.jsonwith"env": { "REA_MCP_INPUT_SCHEMA_PROFILE": "compact" };doctor --client kimi_codereports the registration;uninstall --client kimi_coderemoves it. No [Bug] Moonshot clients reject every request while REA is connected: advertised tool schemas exceed the per-schema size cap (kimi-cli unusable) #1484-style 400 cascade on the first prompt.Change and scope
SupportedClients.ts—kimi_codedefinition (configPathmcp.jsonunder the Kimi home,markerPaththe same directory,format: "json"). The existing JSON dialect writes exactly themcpServers.<name>→{command, args, env}shape Kimi Code loads; no new dialect.KIMI_CODE_HOMEwith codex-style semantics (non-empty override used as-is, empty falls back to~/.kimi-code, no tilde expansion) — matched to Kimi's own resolution and pinned by tests.ClientRegistrationEnvironment.ts— the existing environment-retention merge gains a lowest-precedencedefaultslayer ({...defaults, ...existing, ...overrides}), so seeded values never clobber explicitly configured ones (preserves the "explicitly configured server settings" invariant).SetupClientConfiguration.ts—clientRegistrationDefaults(client)returns the compact profile seed forkimi_code(empty map otherwise) at the singleclientConfigurationDesiredconvergence point, so register/inspect/aligned/update all seed it and stay idempotent.SetupSkill.ts— unchanged: Kimi Code discovers the shared~/.agents/skills, the existing fallback destination; no client skill family needed (simpler than [Feature] Support Qwen Code in rea setup client integrations #1409's Qwen case).docs/installation.md(table row, Kimi Code section, restart note).verify:kimi-clientscript, project-level config writes, tool-contract changes, Windows Kimi verification.Contract and boundary impact
SetupClientConfiguration/ClientRegistrationEnvironment).REA_MCP_INPUT_SCHEMA_PROFILEis presentation-only advertising; canonical schemas and server-side validation are untouched (catalog still 170 tools).setup_clientsclient metadata derives fromSUPPORTED_CLIENT_DEFINITIONS(CI-generated; nothing committed);npm pack --dry-runandverify:packagepass;docs/installation.mdupdated.Evidence and regression coverage
tests/boundary/filesystem/kimiClientConfiguration.test.ts(9 tests: path resolution on linux/darwin,KIMI_CODE_HOMEsemantics incl. empty/~//relative cases, register → preserve-unrelated → aligned-read → idempotent-reconfigure → uninstall round trip, compact seed + explicitfullprecedence + provider-key stacking);tests/acceptance/setup/kimiClientSetup.test.ts(CLI dry-run plan →--yesapply →.rea.backup→ compact env →doctor --skill→ idempotent re-run → uninstall, underKIMI_CODE_HOME);clientLifecycle.test.tsdetection-order list;clientEnvironment.tsfixture.kimi_codeclient exists inSUPPORTED_CLIENT_DEFINITIONS(setup multi-select and--clienthave no Kimi Code option); [Bug] Moonshot clients reject every request while REA is connected: advertised tool schemas exceed the per-schema size cap (kimi-cli unusable) #1484 documents the schema-cap failure mode. Schema-size table in [Feature] Support Kimi Code in rea setup client integrations #1791 (2026-10-11,[email protected]): full profile 5inputSchemas over ~14 KB (largest 61,876 B); compact profile 0 over (largest 12,090 B).doctor --client kimi_codecovers it like other clients; docs section shows the written entry shape.verify:kimi-clientlane here); Moonshot cap behavior measured previously, not re-triggered from this host; Windows unverified; fulltest:acceptance/test:integrationanddocs:buildnot run; dev toolchain is Node 24.14.0 vs.nvmrc24.18.0 (nvm unavailable on the host).For evidence-bearing changes:
Validation performed
npm ci— passnpm run test:focused -- tests/boundary/filesystem/kimiClientConfiguration.test.ts tests/acceptance/setup/kimiClientSetup.test.ts(plus clientLifecycle, qwen, clientConfigurationEnvironment, productCatalog) — 6 files / 90 tests passnpm run check:fast— pass (typecheck + lint incl. module boundaries)npm run verify:test-discovery— pass (821 test files, each discovered once)npm run verify:package— pass (setup planned→idempotent, backupReadback, skill, mcpTools=170)npm pack --dry-run— pass (1162 files, no artifacts written)npm run docs:check— passnpm run test:fast— 4298 passed / 7 skippednpm run test:boundary— 27 failed / 3039 passed; the failing set is identical on themainbaseline of this host (missingibtool,hdiutilbehavior, Ghidra MCP fixture, JS inspector fixture); one additional 30 s timeout flake passes standalone 8/8. Unrelated to this change; no assertion weakened.Compatibility, safety, and release
kimi_coderegistrations seed the compact profile; explicitly configuredREA_MCP_INPUT_SCHEMA_PROFILEvalues keep precedence over the seed. Existing manual entries are only touched if the user runs setup forkimi_code(standard reviewed transaction).Review checklist
type(scope): outcome.Fixes #1791).