kimi-code/packages/protocol
Kaiyi 96005489e9 fix(flow): serialize flow calls per response and type flowRun in the SDK contract
Review round 5:

- Consecutive AI-gated passes (or FlowStart followed by a pass) in one
  response each saw the stage their predecessor had just advanced to,
  so a single response could sail through several gates without any
  dispatched work in between. The service hook now vetoes any flow call
  preceded by another flow call in the same response — verdicts go one
  response at a time (this also subsumes the gate-review duplicate
  check, which moves up from FlowGateReview).
- The shared @moonshot-ai/protocol AgentStatusUpdatedEvent (re-exported
  through the SDK) now carries the flowRun field kap-server already
  emits, so TypeScript clients consume it without a cast.
2026-08-19 00:51:16 +08:00
..
src fix(flow): serialize flow calls per response and type flowRun in the SDK contract 2026-08-19 00:51:16 +08:00
CHANGELOG.md ci: release packages (#1989) 2026-07-22 17:24:39 +08:00
package.json ci: release packages (#1989) 2026-07-22 17:24:39 +08:00
tsconfig.json feat(protocol): extract shared protocol package from agent-core (#612) 2026-06-10 14:03:38 +08:00
tsdown.config.ts feat(protocol): extract shared protocol package from agent-core (#612) 2026-06-10 14:03:38 +08:00
vitest.config.ts chore: use raw query imports for prompt sources (#682) 2026-06-12 11:47:44 +08:00