Mario Zechner
f68a933d2c
Add /show-images command to toggle inline image display
...
- Add terminal.showImages setting to settings-manager.ts
- Add /show-images slash command (only visible if terminal supports images)
- ToolExecutionComponent checks both terminal support and user setting
- Shows text fallback when inline images are disabled
2025-12-13 23:14:46 +01:00
Nico Bailon
09bca9672f
Add skills system with Claude Code compatibility ( #171 )
...
* Add skills system with Claude Code compatibility
* consolidate skills into single module, merge loaders, add <available_skills> XML tags
* add Codex CLI skills compatibility, skip hidden/symlinks
2025-12-12 18:24:52 +01:00
Mario Zechner
bb445d24f1
Auto-retry on transient provider errors (overloaded, rate limit, 5xx)
...
- Add retry logic with exponential backoff (2s, 4s, 8s) in AgentSession
- Disable Anthropic SDK built-in retries (maxRetries: 0) to allow app-level handling
- TUI shows retry status with Escape to cancel
- RPC mode: add set_auto_retry, abort_retry commands and auto_retry_start/end events
- Configurable via settings.json: retry.enabled, retry.maxRetries, retry.baseDelayMs
- Exclude context overflow errors from retry (handled by compaction)
fixes #157
2025-12-10 23:36:46 +01:00
Mario Zechner
04d59f31ea
feat(coding-agent): implement hooks system
...
- Add hooks infrastructure in core/hooks/ (loader, runner, types)
- HookUIContext interface with mode-specific implementations
- Interactive mode: TUI-based selector/input/confirm dialogs
- RPC mode: JSON protocol for hook UI requests/responses
- Print mode: no-op UI context (hooks run but can't prompt)
- AgentSession.branch() now async, returns { selectedText, skipped }
- Settings: hooks[] and hookTimeout configuration
- Export hook types from package for hook authors
Based on PR #147 proposal, adapted for new architecture.
2025-12-09 22:17:12 +01:00
Mario Zechner
14d99b5f86
Move config.ts from utils/ to src/
2025-12-09 01:28:06 +01:00
Mario Zechner
83a6c26969
Reorganize file structure: core/, utils/, modes/interactive/components/, modes/interactive/theme/
2025-12-09 00:51:33 +01:00