mirror of
https://github.com/MoonshotAI/kimi-code.git
synced 2026-12-04 12:56:15 +00:00
* fix(agent-core-v2): leave swarm mode to the user AgentSwarm now runs only while swarm mode is on, and only the user can turn swarm mode on, so the model can no longer start a swarm by itself. - Reject AgentSwarm at resolve time while swarm mode is off and check again right before it runs; no subagents start and swarm mode stays off. - Stop AgentSwarm from entering swarm mode, reject the tool trigger, and ignore tool-triggered entries that older versions recorded on replay. - Skip the one-AgentSwarm-per-response veto while swarm mode is off so the other tools in that response still run. - Say in the AgentSwarm description and the swarm exit reminder that only the user can turn swarm mode on. - Update the tools and slash-command reference docs. * fix(transcript): ignore model-started swarm entries when folding history Swarm mode entries with the tool trigger come only from older versions, where the model started a swarm by itself. The engine already ignores them on replay, so a session that stopped mid-swarm resumes with swarm mode off. Folding history still marked swarm mode on from that entry, and no later status update turned it off, so the web UI kept showing swarm mode as on. Keep the swarm.enter marker in history, but leave meta.modes untouched for tool-triggered entries. |
||
|---|---|---|
| .. | ||
| src | ||
| test | ||
| CHANGELOG.md | ||
| package.json | ||
| tsconfig.json | ||
| tsdown.config.ts | ||
| vitest.config.ts | ||