multica/packages
Jiayuan Zhang 357bf326e0 fix(data): propagate errors so is_error is set correctly in run-log
Previously the data tool caught all errors and returned them as normal
tool results with error info in the JSON content. This meant pi-agent-core
never saw an exception and always set isError=false in the run-log, even
for rate limit errors (errCode 9001) and other API failures.

Now errors propagate to pi-agent-core which sets isError=true and formats
the error message for the LLM automatically.

Co-Authored-By: Claude Opus 4.6 <noreply@anthropic.com>
2026-02-16 03:39:11 +08:00
..
core fix(data): propagate errors so is_error is set correctly in run-log 2026-02-16 03:39:11 +08:00
hooks feat(utils): unify encrypted Device ID across all platforms 2026-02-13 17:34:23 +08:00
sdk fix(agent): report accurate compaction metrics and add run-log observability 2026-02-15 15:42:04 +08:00
store feat(core): add message source tracking and persistence 2026-02-12 18:45:15 +08:00
types feat(types): add AuthUser type for auth integration 2026-02-13 12:24:43 +08:00
ui chore(agent): remove old sessions_spawn/sessions_list tools and update references 2026-02-16 01:09:21 +08:00
utils feat(utils): add SMC_DATA_DIR env var to override root data directory 2026-02-15 00:39:13 +08:00