Commit 1fbc43e
Add CI workflow, ESLint, Prettier, and pre-commit hooks
* feat: add minimal TUI mode with code review fixes
- Add src/ui/tui.ts: ~150 LOC TUI using raw ANSI codes
- Add src/tui.ts: entry point with dotenv loading
- Export TUI from src/ui/index.ts
- Add npm scripts: tui (bun) and tui:node (tsx)
Code review fixes:
- Remove unused HIDE_CURSOR constant
- Fix memory leak: remove close listener after resolve
- Fix spinner interval not cleared on close
- Use unknown instead of any for error type
- Pop failed user message from conversation on error
Run with: npm run tui
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* fix: cross-platform path handling and provider validation in TUI
- Use path.basename() instead of split('/').pop() for Windows compatibility
- Add provider validation to fail fast for non-Anthropic configs
- Add API key validation with clear error messages
Fixes issues from code review on PR #6.
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
* feat: add CI workflow, ESLint, Prettier, and pre-commit hooks
- Enhanced GitHub Actions CI with lint, typecheck, test, and build jobs
- Added ESLint configuration with TypeScript support
- Added Prettier configuration for consistent code formatting
- Added Husky pre-commit hooks with lint-staged
- Formatted all source files with Prettier
- Added npm scripts: lint, lint:fix, format, format:check, check
New scripts:
- npm run lint - Run ESLint
- npm run lint:fix - Auto-fix ESLint issues
- npm run format - Format with Prettier
- npm run format:check - Check formatting
- npm run check - Run all checks (typecheck + lint + format)
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
---------
Co-authored-by: Claude Opus 4.5 <noreply@anthropic.com>1 parent 25ea445 commit 1fbc43e
File tree
63 files changed
+2945
-598
lines changed- .github/workflows
- .husky
- src
- agents
- auth
- compat
- hooks
- lsp
- mcp
- memory
- plugin
- providers
- rpc
- skills
- tools
- ui
- test
Some content is hidden
Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.
63 files changed
+2945
-598
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
2 | 2 | | |
3 | 3 | | |
4 | 4 | | |
5 | | - | |
| 5 | + | |
6 | 6 | | |
7 | | - | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
8 | 12 | | |
9 | 13 | | |
10 | | - | |
11 | | - | |
| 14 | + | |
| 15 | + | |
12 | 16 | | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
| 44 | + | |
| 45 | + | |
| 46 | + | |
| 47 | + | |
| 48 | + | |
13 | 49 | | |
| 50 | + | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | + | |
| 55 | + | |
14 | 56 | | |
| 57 | + | |
15 | 58 | | |
16 | | - | |
| 59 | + | |
17 | 60 | | |
18 | 61 | | |
19 | 62 | | |
20 | 63 | | |
21 | | - | |
| 64 | + | |
22 | 65 | | |
23 | 66 | | |
24 | 67 | | |
| |||
27 | 70 | | |
28 | 71 | | |
29 | 72 | | |
30 | | - | |
31 | | - | |
32 | | - | |
33 | 73 | | |
34 | 74 | | |
35 | 75 | | |
36 | | - | |
37 | | - | |
38 | | - | |
39 | | - | |
40 | | - | |
| 76 | + | |
| 77 | + | |
41 | 78 | | |
42 | | - | |
| 79 | + | |
43 | 80 | | |
44 | 81 | | |
45 | 82 | | |
46 | | - | |
| 83 | + | |
47 | 84 | | |
48 | 85 | | |
49 | 86 | | |
| |||
52 | 89 | | |
53 | 90 | | |
54 | 91 | | |
55 | | - | |
56 | | - | |
| 92 | + | |
| 93 | + | |
| 94 | + | |
| 95 | + | |
| 96 | + | |
| 97 | + | |
| 98 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
| 5 | + | |
| 6 | + | |
| 7 | + | |
| 8 | + | |
| 9 | + | |
| 10 | + | |
| 11 | + | |
| 12 | + | |
| 13 | + | |
| 14 | + | |
| 15 | + | |
| 16 | + | |
| 17 | + | |
| 18 | + | |
| 19 | + | |
| 20 | + | |
| 21 | + | |
| 22 | + | |
| 23 | + | |
| 24 | + | |
| 25 | + | |
| 26 | + | |
| 27 | + | |
| 28 | + | |
| 29 | + | |
| 30 | + | |
| 31 | + | |
| 32 | + | |
| 33 | + | |
| 34 | + | |
| 35 | + | |
| 36 | + | |
| 37 | + | |
| 38 | + | |
| 39 | + | |
| 40 | + | |
| 41 | + | |
| 42 | + | |
| 43 | + | |
0 commit comments