kimi-code/packages/server-v2
haozhe.yang 7544de5d72 refactor(agent-core-v2): introduce wire model/op state engine
- add wire/ L2 domain: defineModel/defineOp primitives, OP_REGISTRY with DuplicateOpError guard, IWireService + WireService (dispatch/replay/signal/flush) and per-scope tokens
- extract per-domain *Ops + Models (goal, plan, profile, task, turn, usage, full/micro compaction, permission mode/rules, skill, swarm, tool state, user tool, context memory/size, cron, todo); services shrink to pure apply + wire dispatch
- drop legacy agent/record service superseded by the wire engine; dissolve llmProtocol/kosong into llmProtocol
- propagate wire emissions through protocol events and the server-v2 WS broadcaster
- add *-wire, store, and op-uniqueness lint tests; update existing tests and di-scope docs
2026-07-06 14:43:33 +08:00
..
src refactor(agent-core-v2): introduce wire model/op state engine 2026-07-06 14:43:33 +08:00
test fix(server-v2): treat loopback origins as same-origin for WS upgrade 2026-07-06 14:17:03 +08:00
package.json refactor(agent-core-v2,server-v2): merge terminal backend into HostTerminalService 2026-07-03 13:37:46 +08:00
tsconfig.dev.json feat(server-v2): add minimal server wired to agent-core-v2 DI 2026-06-28 17:26:39 +08:00
tsconfig.json feat(server-v2): add minimal server wired to agent-core-v2 DI 2026-06-28 17:26:39 +08:00
tsdown.config.ts feat(server-v2): add minimal server wired to agent-core-v2 DI 2026-06-28 17:26:39 +08:00
vitest.config.ts feat(server-v2): add minimal server wired to agent-core-v2 DI 2026-06-28 17:26:39 +08:00