kimi-code/packages/agent-core/test
qer 3da4daeade
fix(kosong): retry when a response stream is terminated mid-flight (#201)
A mid-stream SSE drop surfaces as a raw undici `TypeError: terminated`, which was classified as a non-retryable generic error and failed the turn on the first attempt. Route raw transport-layer errors through the connection-error heuristic so a dropped stream becomes a retryable APIConnectionError and is retried transparently. User aborts (ESC) are unaffected — the retry loop checks the abort signal before retrying.

Related to #149.
2026-05-29 15:18:55 +08:00
..
agent fix(agent-core): preserve blocked prompt hook context (#200) 2026-05-29 15:12:36 +08:00
config refactor: unify path normalization with pathe (#84) 2026-05-27 11:53:24 +08:00
fixtures refactor(kaos): move Environment into kaos, slim package API (#147) 2026-05-28 16:50:10 +08:00
harness refactor(agent-core): split RuntimeConfig into Kaos and ToolServices (#185) 2026-05-29 12:28:47 +08:00
hooks refactor(agent-core): move HookEngine to sessions (#165) 2026-05-28 21:35:42 +08:00
logging fix(agent-core): route session logs exclusively to session sink (#102) 2026-05-27 13:00:17 +08:00
loop fix(kosong): retry when a response stream is terminated mid-flight (#201) 2026-05-29 15:18:55 +08:00
mcp refactor(agent-core): split RuntimeConfig into Kaos and ToolServices (#185) 2026-05-29 12:28:47 +08:00
plugin fix: count discovered plugin skills (#166) 2026-05-28 22:05:53 +08:00
profile refactor(kaos): move Environment into kaos, slim package API (#147) 2026-05-28 16:50:10 +08:00
rpc feat: add plugin manager and official plugins (#119) 2026-05-27 22:47:33 +08:00
session fix: project persisted context messages (#195) 2026-05-29 14:43:17 +08:00
skill feat: add plugin manager and official plugins (#119) 2026-05-27 22:47:33 +08:00
tools test(agent-core): use deterministic jitter id in cron pending-jitter test (#187) 2026-05-29 12:42:58 +08:00
utils feat(agent-core): add session-scoped cron tools with persistence (#157) 2026-05-28 21:05:46 +08:00
prompt-placeholders.test.ts refactor: unify path normalization with pathe (#84) 2026-05-27 11:53:24 +08:00