mirror of
https://github.com/Ark0N/Codeman.git
synced 2026-10-02 13:39:41 +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>
1.5 KiB
1.5 KiB
Claudeman TODO List
Completed
- Memory leaks intensive check - Fixed timer tracking in session.ts, proper cleanup in server.ts
- Security hardening - Added input validation, command injection prevention, path traversal protection
- Performance optimization - Pre-compiled regex patterns, event debouncing, buffer management
- Reliability improvements - Proper cleanup on session exit, listener cleanup
- TUI parity with web interface:
- Shell mode support (h key in cases view)
- Multi-start (m key, 1-20 sessions at once)
- Respawn toggle (Ctrl+R)
- Session rename API support
- Selected item display in start screen
- Help overlay with all shortcuts
- Web server auto-detection and startup
- Prompts to start web server if not running
--with-webflag for automatic startup (no prompt)--no-webflag to skip check entirely
- 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)