@brainfile/cli 0.8.1 → 0.9.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +30 -0
- package/README.md +14 -0
- package/dist/commands/tui.d.ts.map +1 -1
- package/dist/commands/tui.js +6 -701
- package/dist/commands/tui.js.map +1 -1
- package/dist/tui/BrainfileTUI.d.ts +4 -0
- package/dist/tui/BrainfileTUI.d.ts.map +1 -0
- package/dist/tui/BrainfileTUI.js +198 -0
- package/dist/tui/BrainfileTUI.js.map +1 -0
- package/dist/tui/actions.d.ts +49 -0
- package/dist/tui/actions.d.ts.map +1 -0
- package/dist/tui/actions.js +569 -0
- package/dist/tui/actions.js.map +1 -0
- package/dist/tui/components/ColumnTabs.d.ts +9 -0
- package/dist/tui/components/ColumnTabs.d.ts.map +1 -0
- package/dist/tui/components/ColumnTabs.js +30 -0
- package/dist/tui/components/ColumnTabs.js.map +1 -0
- package/dist/tui/components/Header.d.ts +12 -0
- package/dist/tui/components/Header.d.ts.map +1 -0
- package/dist/tui/components/Header.js +24 -0
- package/dist/tui/components/Header.js.map +1 -0
- package/dist/tui/components/HelpOverlay.d.ts +7 -0
- package/dist/tui/components/HelpOverlay.d.ts.map +1 -0
- package/dist/tui/components/HelpOverlay.js +56 -0
- package/dist/tui/components/HelpOverlay.js.map +1 -0
- package/dist/tui/components/Overlays.d.ts +41 -0
- package/dist/tui/components/Overlays.d.ts.map +1 -0
- package/dist/tui/components/Overlays.js +127 -0
- package/dist/tui/components/Overlays.js.map +1 -0
- package/dist/tui/components/ProgressBar.d.ts +8 -0
- package/dist/tui/components/ProgressBar.d.ts.map +1 -0
- package/dist/tui/components/ProgressBar.js +35 -0
- package/dist/tui/components/ProgressBar.js.map +1 -0
- package/dist/tui/components/SearchBar.d.ts +7 -0
- package/dist/tui/components/SearchBar.d.ts.map +1 -0
- package/dist/tui/components/SearchBar.js +22 -0
- package/dist/tui/components/SearchBar.js.map +1 -0
- package/dist/tui/components/StatusBar.d.ts +12 -0
- package/dist/tui/components/StatusBar.d.ts.map +1 -0
- package/dist/tui/components/StatusBar.js +37 -0
- package/dist/tui/components/StatusBar.js.map +1 -0
- package/dist/tui/components/TaskCard.d.ts +19 -0
- package/dist/tui/components/TaskCard.d.ts.map +1 -0
- package/dist/tui/components/TaskCard.js +105 -0
- package/dist/tui/components/TaskCard.js.map +1 -0
- package/dist/tui/components/TaskList.d.ts +11 -0
- package/dist/tui/components/TaskList.d.ts.map +1 -0
- package/dist/tui/components/TaskList.js +56 -0
- package/dist/tui/components/TaskList.js.map +1 -0
- package/dist/tui/components/index.d.ts +19 -0
- package/dist/tui/components/index.d.ts.map +1 -0
- package/dist/tui/components/index.js +26 -0
- package/dist/tui/components/index.js.map +1 -0
- package/dist/tui/hooks/index.d.ts +3 -0
- package/dist/tui/hooks/index.d.ts.map +1 -0
- package/dist/tui/hooks/index.js +8 -0
- package/dist/tui/hooks/index.js.map +1 -0
- package/dist/tui/hooks/useBrainfileLoader.d.ts +5 -0
- package/dist/tui/hooks/useBrainfileLoader.d.ts.map +1 -0
- package/dist/tui/hooks/useBrainfileLoader.js +171 -0
- package/dist/tui/hooks/useBrainfileLoader.js.map +1 -0
- package/dist/tui/hooks/useKeyboardNavigation.d.ts +16 -0
- package/dist/tui/hooks/useKeyboardNavigation.d.ts.map +1 -0
- package/dist/tui/hooks/useKeyboardNavigation.js +434 -0
- package/dist/tui/hooks/useKeyboardNavigation.js.map +1 -0
- package/dist/tui/index.d.ts +9 -0
- package/dist/tui/index.d.ts.map +1 -0
- package/dist/tui/index.js +36 -0
- package/dist/tui/index.js.map +1 -0
- package/dist/tui/theme.d.ts +113 -0
- package/dist/tui/theme.d.ts.map +1 -0
- package/dist/tui/theme.js +132 -0
- package/dist/tui/theme.js.map +1 -0
- package/dist/tui/types.d.ts +30 -0
- package/dist/tui/types.d.ts.map +1 -0
- package/dist/tui/types.js +6 -0
- package/dist/tui/types.js.map +1 -0
- package/dist/tui/utils.d.ts +3 -0
- package/dist/tui/utils.d.ts.map +1 -0
- package/dist/tui/utils.js +31 -0
- package/dist/tui/utils.js.map +1 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -7,6 +7,36 @@ and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0
|
|
|
7
7
|
|
|
8
8
|
## [Unreleased]
|
|
9
9
|
|
|
10
|
+
## [0.9.1] - 2025-11-26
|
|
11
|
+
|
|
12
|
+
### Fixed
|
|
13
|
+
- **TUI empty string rendering bug** - Fixed critical Ink rendering error when `searchQuery` was empty
|
|
14
|
+
- Changed `searchQuery && ...` to `searchQuery.length > 0 && ...` to return `false` instead of `""`
|
|
15
|
+
- Empty strings in React/Ink cause "Text string must be rendered inside Text component" errors
|
|
16
|
+
- **truncate() utility** - Returns single space `' '` instead of empty string for Ink compatibility
|
|
17
|
+
- **Progress bar rendering** - Protected `.repeat()` calls from producing empty strings when `filled` or `empty` is 0
|
|
18
|
+
- **Separator lines** - Added `Math.max(1, ...)` safeguard for separator line widths
|
|
19
|
+
|
|
20
|
+
### Added
|
|
21
|
+
- **TUI task management** - Full interactive task management in the terminal
|
|
22
|
+
- `e` - Edit task in $EDITOR
|
|
23
|
+
- `m` - Move task to different column (overlay picker)
|
|
24
|
+
- `d` - Delete task with confirmation
|
|
25
|
+
- `t` - Toggle subtask completion (overlay picker)
|
|
26
|
+
- `n` - Quick add new task (inline input)
|
|
27
|
+
- `N` - New task in $EDITOR
|
|
28
|
+
- `p` - Cycle priority (none→low→medium→high→critical)
|
|
29
|
+
- `a` - Archive task
|
|
30
|
+
- `y` - Copy task ID to clipboard
|
|
31
|
+
- **Minimum terminal size check** - Shows helpful message if terminal is smaller than 60x16
|
|
32
|
+
- **Due date display** - Shows due dates with color coding (red if overdue, yellow if ≤2 days)
|
|
33
|
+
- **Expanded subtask view** - Shows all subtasks when task is expanded (removed 5-subtask limit)
|
|
34
|
+
- **Search improvements** - Now searches description field, proper trimming, "no results" message
|
|
35
|
+
|
|
36
|
+
### Changed
|
|
37
|
+
- **TUI styling** - Lipgloss-inspired rounded borders and true black theme
|
|
38
|
+
- Upgraded to @brainfile/core@^0.8.0
|
|
39
|
+
|
|
10
40
|
## [0.8.0] - 2025-11-25
|
|
11
41
|
|
|
12
42
|
### Added
|
package/README.md
CHANGED
|
@@ -53,12 +53,26 @@ brainfile ./path/to/file.md # Open specific file
|
|
|
53
53
|
|-----|--------|
|
|
54
54
|
| `TAB` / `Shift+TAB` | Navigate columns |
|
|
55
55
|
| `j`/`k` or `↑`/`↓` | Navigate tasks |
|
|
56
|
+
| `g`/`G` | Jump to top/bottom |
|
|
56
57
|
| `Enter` | Expand/collapse task |
|
|
57
58
|
| `/` | Search tasks |
|
|
58
59
|
| `?` | Show help |
|
|
59
60
|
| `r` | Refresh |
|
|
60
61
|
| `q` | Quit |
|
|
61
62
|
|
|
63
|
+
**Task Management:**
|
|
64
|
+
| Key | Action |
|
|
65
|
+
|-----|--------|
|
|
66
|
+
| `e` | Edit task in $EDITOR |
|
|
67
|
+
| `m` | Move task to column |
|
|
68
|
+
| `d` | Delete task |
|
|
69
|
+
| `n` | Quick add new task |
|
|
70
|
+
| `N` | New task in $EDITOR |
|
|
71
|
+
| `p` | Cycle priority |
|
|
72
|
+
| `t` | Toggle subtask |
|
|
73
|
+
| `a` | Archive task |
|
|
74
|
+
| `y` | Copy task ID |
|
|
75
|
+
|
|
62
76
|
---
|
|
63
77
|
|
|
64
78
|
### list
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tui.d.ts","sourceRoot":"","sources":["../../src/commands/tui.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"tui.d.ts","sourceRoot":"","sources":["../../src/commands/tui.tsx"],"names":[],"mappings":"AAMA,UAAU,UAAU;IAClB,IAAI,EAAE,MAAM,CAAC;CACd;AAED,wBAAgB,UAAU,CAAC,OAAO,EAAE,UAAU,QAoB7C"}
|