pi-mono/packages/coding-agent/src/core
Robin 1432fd91d2
fix(coding-agent): improve bash tool error handling (#479)
- Validate working directory exists before spawning to provide clear error message
- Add spawn error handler to prevent uncaught exceptions when shell not found or cwd invalid
- Add tests for both error scenarios

Without these fixes, spawn errors (e.g., ENOENT from missing cwd or shell) would
cause uncaught exceptions that crash the entire agent session instead of being
returned as clean tool errors.

Co-authored-by: robinwander <robinwander@users.noreply.github.com>
2026-01-06 00:48:10 +01:00
..
compaction Merge hooks and custom-tools into unified extensions system (#454) 2026-01-05 01:43:35 +01:00
export-html fix: inject URL params for share links in iframe context 2026-01-06 00:37:45 +01:00
extensions Expand configured extension directories from settings.json (#480) 2026-01-06 00:42:02 +01:00
tools fix(coding-agent): improve bash tool error handling (#479) 2026-01-06 00:48:10 +01:00
agent-session.ts fix: clean up Codex thinking level handling 2026-01-05 21:58:26 +01:00
auth-storage.ts Improve OAuth login UI with consistent dialog component 2026-01-05 19:58:44 +01:00
bash-executor.ts fix(coding-agent): resolved UTF-8 corruption in bash executor output (#433) 2026-01-04 03:15:50 +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
index.ts Merge hooks and custom-tools into unified extensions system (#454) 2026-01-05 01:43:35 +01:00
keybindings.ts feat: configurable keybindings for all editor and app actions 2026-01-03 08:23:56 +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 fix: clean up Codex thinking level handling 2026-01-05 21:58:26 +01:00
model-resolver.ts fix: clean up Codex thinking level handling 2026-01-05 21:58:26 +01:00
prompt-templates.ts Merge hooks and custom-tools into unified extensions system (#454) 2026-01-05 01:43:35 +01:00
sdk.ts docs: clarify SDK extension discovery and settings.json support 2026-01-05 18:00:32 +01:00
session-manager.ts Merge hooks and custom-tools into unified extensions system (#454) 2026-01-05 01:43:35 +01:00
settings-manager.ts Merge hooks and custom-tools into unified extensions system (#454) 2026-01-05 01:43:35 +01:00
skills.ts Skip over exact duplicate skills 2025-12-24 22:45:19 +01:00
system-prompt.ts Merge hooks and custom-tools into unified extensions system (#454) 2026-01-05 01:43:35 +01:00
timings.ts Release v0.27.1 2025-12-22 19:28:26 +01:00