multica/packages
Jiang Bohan bfab8d97b2 fix(agent): auto-recover from persistent 400 format errors by reloading session
When the LLM API returns a 400 "tool_call_id is not found" error, the corrupted
in-memory message state persists, blocking all subsequent messages until restart.
This adds a recovery handler that reloads sanitized messages from disk and retries,
similar to the existing context overflow recovery pattern.

Also adds `default` export condition to core package.json to fix tsx watch
resolution for subpath exports (gateway startup failure).

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-24 13:19:39 +08:00
..
core fix(agent): auto-recover from persistent 400 format errors by reloading session 2026-02-24 13:19:39 +08:00
hooks fix(chat): stabilize multi-session sync and tool flow 2026-02-17 15:59:25 +08:00
sdk refactor(core-sdk): enforce conversation-only client protocol 2026-02-17 09:41:37 +08:00
store refactor(protocol): add conversationId compatibility across hub/client 2026-02-17 09:39:24 +08:00
types refactor(protocol): add conversationId compatibility across hub/client 2026-02-17 09:39:24 +08:00
ui refactor(agent): remove legacy memory subsystem 2026-02-17 15:33:39 +08:00
utils feat(utils): add SMC_DATA_DIR env var to override root data directory 2026-02-15 00:39:13 +08:00