Commit 5acd574
authored
feat: TUI, MCP server, session manager & profiles rename (#23)
* feat: TUI, MCP server, session manager & profiles rename
- Interactive TUI with bubbletea: Projects/Profiles/Settings tabs,
left-right split panels, project detail with git status
- MCP server over stdio with 6 tools (list_projects, add_project,
remove_project, list_profiles, switch_profile, get_project_info)
- Session manager: launch Claude in separate terminal windows,
multi-instance per project, PID tracking, configurable terminal
- JSON output mode via --json flag
- Rename "Configs" to "Profiles" throughout codebase with backward
compatible JSON deserialization (old "configs" field auto-migrates)
- New Settings tab for Terminal, Default Behavior, Skip Permissions
- CI workflows updated to Go 1.24
Closes #21, closes #19, closes #16
* docs: update README for TUI, MCP, profiles & settings
Rewrite README to document new features: interactive TUI with three
tabs, MCP server tools, session manager, terminal configuration,
profiles rename, and settings tab. Update config format from
"configs" to "profiles" with backward compat note. Update Go
requirement to 1.24 and project structure.
* fix: prevent command injection in session launch and fix TUI race condition
- Sanitize session IDs to alphanumeric/underscore/hyphen/dot only
- Escape AppleScript strings to prevent injection via project names
- Validate shell env var names against POSIX pattern before export
- Fix TUI profile switch closure to not mutate shared config pointer1 parent 387a54b commit 5acd574
File tree
25 files changed
+3049
-369
lines changed- .github/workflows
- cmd/codes
- internal
- commands
- config
- mcp
- output
- session
- tui
25 files changed
+3049
-369
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
17 | 17 | | |
18 | 18 | | |
19 | 19 | | |
20 | | - | |
| 20 | + | |
21 | 21 | | |
22 | 22 | | |
23 | 23 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
45 | 45 | | |
46 | 46 | | |
47 | 47 | | |
48 | | - | |
| 48 | + | |
49 | 49 | | |
50 | 50 | | |
51 | 51 | | |
| |||
0 commit comments