co-mono/packages/coding-agent/src/core
Mario Zechner fbb74bb29e fix(ai): filter empty error assistant messages in transformMessages
When 429/500 errors occur during tool execution, empty assistant messages
with stopReason='error' get persisted. These break the tool_use -> tool_result
chain for Claude/Gemini APIs.

Added centralized filtering in transformMessages to skip assistant messages
with empty content and no tool calls. Provider-level filters remain for
defense-in-depth.
2026-01-16 22:35:50 +01:00
..
compaction Improve navigateTree API 2026-01-16 21:37:25 +01:00
export-html Finalize OpenAI Codex compatibility (#737) 2026-01-16 00:58:36 +01:00
extensions Fix navigateTree API: add missing type updates, handler passthrough, and docs 2026-01-16 21:47:01 +01:00
tools fix(ai): filter empty error assistant messages in transformMessages 2026-01-16 22:35:50 +01:00
agent-session.ts fix(ai): filter empty error assistant messages in transformMessages 2026-01-16 22:35:50 +01:00
auth-storage.ts Revert "Remove Anthropic OAuth support" 2026-01-09 06:00:20 +01:00
bash-executor.ts fix(coding-agent): UTF-8 corruption in remote bash execution 2026-01-10 13:55:02 +01:00
event-bus.ts Fix event bus async error handling, clear pending messages on session switch, improve SDK docs 2026-01-04 22:04:50 +01:00
exec.ts Merge hooks and custom-tools into unified extensions system (#454) 2026-01-05 01:43:35 +01:00
footer-data-provider.ts fix(coding-agent): footer git branch not updating after external branch switches 2026-01-11 23:27:22 +01:00
index.ts Rename /branch command to /fork 2026-01-11 23:12:31 +01:00
keybindings.ts refactor: use configurable keybindings for all UI hints (#724) 2026-01-14 15:42:03 +01:00
messages.ts Merge hooks and custom-tools into unified extensions system (#454) 2026-01-05 01:43:35 +01:00
model-registry.ts refactor: add ModelRegistry.getApiKeyForProvider() for cleaner abstraction 2026-01-13 18:12:09 +01:00
model-resolver.ts feat(ai): add support for MiniMax China (minimax-cn) provider (#725) 2026-01-14 15:41:47 +01:00
prompt-templates.ts feat: add bash-style array slicing for $@ in prompt templates 2026-01-16 12:05:53 +01:00
sdk.ts fix(ai): filter empty error assistant messages in transformMessages 2026-01-16 22:35:50 +01:00
session-manager.ts fix(session): improve session ID resolution with global search and fork support (#785) 2026-01-16 20:18:10 +01:00
settings-manager.ts fix(ai): filter empty error assistant messages in transformMessages 2026-01-16 22:35:50 +01:00
skills.ts Centralize frontmatter parsing + parse frontmatter with yaml library (#728) 2026-01-16 00:31:53 +01:00
system-prompt.ts Finalize OpenAI Codex compatibility (#737) 2026-01-16 00:58:36 +01:00
timings.ts Release v0.27.1 2025-12-22 19:28:26 +01:00