mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-12-05 22:04:38 +00:00
* fix(agent-core-v2): rework tower mode enter failures and config-flag assembly - IAgentTowerService.enter() returns a typed TowerEnterResult: the 4 former silent failure points now carry their reason (not-main-agent / experiment-off / feature-not-assembled / owned-by-live-session with the owner session id + title); kap-server and node-sdk map each reason to a distinct SESSION_TOWER_MODE_INVALID message via towerEnterFailureMessage() instead of one misleading catch-all. - Fix config-sourced [experimental] tower flag never assembling the tower feature: ConfigService seeds its state synchronously at construction with a best-effort readFileSync of the config document it owns, so the flag is already visible when TowerFeature's constructor runs during App-scope creation. No event machinery: a runtime config flip updates flag reads but does not re-run feature constructors — a restart is required, pinned by test. docs/flag.md + docs/features.md document the contract. - Consolidated changeset for @moonshot-ai/kimi-code. * fix(tower): release handler when teardown --------- Co-authored-by: konghuanjun <konghuanjun@moonshot.ai> |
||
|---|---|---|
| .. | ||
| v2 | ||
| auth.ts | ||
| catalog.ts | ||
| config-rpc.ts | ||
| events.ts | ||
| index.ts | ||
| kimi-code-model-provider.ts | ||
| kimi-harness.ts | ||
| oauth-error.ts | ||
| rpc.ts | ||
| sdk-rpc-client-v2.ts | ||
| sdk-rpc-client.ts | ||
| session.ts | ||
| types.ts | ||