Nico Bailon
1de5118261
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
1a7a6a86f0
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
feaefa303c
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
a63092e830
Move config.ts from utils/ to src/
2025-12-09 01:28:06 +01:00
Mario Zechner
58828adf76
Reorganize file structure: core/, utils/, modes/interactive/components/, modes/interactive/theme/
2025-12-09 00:51:33 +01:00