Commit b94c432
feat(cli): ctx init — interactive setup wizard
TUI setup wizard: Config (URL + API Key), health check, version check
(GitHub releases), Claude Code hooks (SubagentStart/Stop), statusline.
Idempotent: re-run shows status per item, only changes what's missing.
Stdlib-only (no new dependencies), cross-platform (Linux/macOS/Windows),
NO_COLOR support. 15 unit tests.
Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>1 parent 43ccd0e commit b94c432
4 files changed
Lines changed: 760 additions & 0 deletions
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
22 | 22 | | |
23 | 23 | | |
24 | 24 | | |
| 25 | + | |
25 | 26 | | |
26 | 27 | | |
27 | 28 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
41 | 41 | | |
42 | 42 | | |
43 | 43 | | |
| 44 | + | |
44 | 45 | | |
45 | 46 | | |
46 | 47 | | |
| |||
0 commit comments