mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-03 22:19:42 +02:00
TUI now checks if web server is running on startup and offers to start it in the background. Added new CLI options: --with-web (auto-start), --no-web (skip check), -p (port). TUI feature parity with web interface: - Shell mode: press 'h' in cases view to start bash instead of Claude - Multi-start: press 'm' to start 1-20 sessions at once - Respawn toggle: Ctrl+R to enable/disable respawn on Claude sessions - Session rename: API support via useSessionManager hook Security fixes from previous analysis: - Command injection prevention in screen-manager.ts - Path traversal protection in server.ts - Input validation for shell-interpolated values Also fixes memory leak in session.ts (timer tracking) and flaky test timeout in session-cleanup.test.ts. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
35 lines
1.5 KiB
Markdown
35 lines
1.5 KiB
Markdown
# Claudeman TODO List
|
|
|
|
## Completed
|
|
|
|
- [x] Memory leaks intensive check - Fixed timer tracking in session.ts, proper cleanup in server.ts
|
|
- [x] Security hardening - Added input validation, command injection prevention, path traversal protection
|
|
- [x] Performance optimization - Pre-compiled regex patterns, event debouncing, buffer management
|
|
- [x] Reliability improvements - Proper cleanup on session exit, listener cleanup
|
|
- [x] TUI parity with web interface:
|
|
- [x] Shell mode support (h key in cases view)
|
|
- [x] Multi-start (m key, 1-20 sessions at once)
|
|
- [x] Respawn toggle (Ctrl+R)
|
|
- [x] Session rename API support
|
|
- [x] Selected item display in start screen
|
|
- [x] Help overlay with all shortcuts
|
|
- [x] Web server auto-detection and startup
|
|
- Prompts to start web server if not running
|
|
- `--with-web` flag for automatic startup (no prompt)
|
|
- `--no-web` flag to skip check entirely
|
|
- [x] Documentation updates - Updated CLAUDE.md with TUI shortcuts
|
|
|
|
## Ongoing (Long-term stability)
|
|
|
|
- [ ] Monitor for edge cases during extended runtime
|
|
- [ ] Consider implementing graceful degradation for API failures
|
|
- [ ] Add metrics/logging for long-running session health
|
|
|
|
## Future Enhancements
|
|
|
|
- [ ] TUI: Add inline session rename UI (currently API only)
|
|
- [ ] TUI: Add task panel for background tasks
|
|
- [ ] TUI: Add scheduled runs display
|
|
- [ ] TUI: Add auto-compact/auto-clear configuration UI
|
|
- [ ] Consider WebSocket for TUI instead of polling (reduce latency)
|