schub 0.1.2 → 0.1.4
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/README.md +27 -0
- package/dist/index.js +12830 -3057
- package/package.json +5 -2
- package/skills/create-proposal/SKILL.md +5 -1
- package/skills/create-tasks/SKILL.md +5 -4
- package/skills/implement-task/SKILL.md +6 -1
- package/skills/review-proposal/SKILL.md +3 -2
- package/skills/update-roadmap/SKILL.md +23 -0
- package/src/changes.test.ts +166 -0
- package/src/changes.ts +159 -54
- package/src/commands/adr.test.ts +6 -5
- package/src/commands/changes.test.ts +136 -14
- package/src/commands/changes.ts +102 -1
- package/src/commands/cookbook.test.ts +6 -5
- package/src/commands/init.test.ts +69 -2
- package/src/commands/init.ts +48 -5
- package/src/commands/review.test.ts +7 -6
- package/src/commands/review.ts +1 -1
- package/src/commands/roadmap.test.ts +84 -0
- package/src/commands/roadmap.ts +84 -0
- package/src/commands/tasks-create.test.ts +22 -22
- package/src/commands/tasks-implement.test.ts +253 -0
- package/src/commands/tasks-implement.ts +121 -0
- package/src/commands/tasks-list.test.ts +27 -27
- package/src/commands/tasks-update.test.ts +92 -0
- package/src/commands/tasks.ts +98 -1
- package/src/features/roadmap/index.ts +230 -0
- package/src/features/roadmap/roadmap.test.ts +77 -0
- package/src/features/tasks/constants.ts +1 -0
- package/src/features/tasks/create.ts +10 -8
- package/src/features/tasks/filesystem.test.ts +285 -18
- package/src/features/tasks/filesystem.ts +152 -39
- package/src/features/tasks/graph.ts +18 -3
- package/src/features/tasks/index.ts +10 -1
- package/src/features/tasks/worktree.ts +48 -0
- package/src/frontmatter.ts +115 -0
- package/src/index.test.ts +42 -6
- package/src/index.ts +226 -109
- package/src/opencode.test.ts +53 -0
- package/src/opencode.ts +74 -0
- package/src/tasks.ts +2 -0
- package/src/tui/App.test.tsx +418 -0
- package/src/tui/App.tsx +343 -0
- package/src/tui/components/PlanView.test.tsx +101 -0
- package/src/tui/components/PlanView.tsx +89 -0
- package/src/tui/components/PreviewPage.test.tsx +69 -0
- package/src/tui/components/PreviewPage.tsx +87 -0
- package/src/tui/components/ProposalDetailView.test.tsx +169 -0
- package/src/tui/components/ProposalDetailView.tsx +166 -0
- package/src/tui/components/RoadmapView.test.tsx +85 -0
- package/src/tui/components/RoadmapView.tsx +369 -0
- package/src/tui/components/StatusView.test.tsx +1351 -0
- package/src/tui/components/StatusView.tsx +519 -0
- package/src/tui/components/markdown-renderer.test.ts +46 -0
- package/src/tui/components/markdown-renderer.ts +89 -0
- package/src/tui/components/status-view-data.ts +322 -0
- package/src/tui/components/status-view-render.tsx +329 -0
- package/src/tui/index.ts +16 -0
- package/templates/create-proposal/adr-template.md +6 -4
- package/templates/create-proposal/cookbook-template.md +5 -3
- package/templates/create-proposal/proposal-template.md +8 -6
- package/templates/create-roadmap/roadmap.md +5 -0
- package/templates/create-tasks/task-template.md +9 -4
- package/templates/review-proposal/q&a-template.md +8 -3
- package/templates/review-proposal/review-me-template.md +6 -4
- package/templates/setup-project/project-overview-template.md +5 -0
- package/templates/setup-project/project-setup-template.md +5 -0
- package/templates/setup-project/project-wow-template.md +5 -0
- package/src/App.test.tsx +0 -93
- package/src/App.tsx +0 -155
- package/src/components/PlanView.test.tsx +0 -113
- package/src/components/PlanView.tsx +0 -160
- package/src/components/StatusView.test.tsx +0 -380
- package/src/components/StatusView.tsx +0 -367
- package/src/ide.ts +0 -7
- package/templates/templates-parity.test.ts +0 -45
- /package/src/{clipboard.ts → tui/clipboard.ts} +0 -0
- /package/src/{components → tui/components}/statusColor.ts +0 -0
- /package/src/{terminal.test.ts → tui/terminal.test.ts} +0 -0
- /package/src/{terminal.ts → tui/terminal.ts} +0 -0
package/README.md
CHANGED
|
@@ -37,6 +37,33 @@ If no command is provided, the interactive UI dashboard will launch.
|
|
|
37
37
|
|
|
38
38
|
- `schub tasks create` - Generate task files based on a change proposal.
|
|
39
39
|
- `schub tasks list` - List all tasks in the current project context.
|
|
40
|
+
- `schub tasks update` - Move backlog tasks to `ready` or `archived`.
|
|
41
|
+
- `schub tasks implement` - Move a task to `wip` and launch Opencode (default `worktree` mode).
|
|
42
|
+
|
|
43
|
+
##### Task implementation
|
|
44
|
+
|
|
45
|
+
```bash
|
|
46
|
+
schub tasks implement --id T0007
|
|
47
|
+
schub tasks implement --id T0007 --mode none
|
|
48
|
+
```
|
|
49
|
+
|
|
50
|
+
- `--mode` defaults to `worktree`, creating `.schub/worktrees/<id>` on branch `task/<id>`.
|
|
51
|
+
- `--mode none` runs from the current repo without a worktree.
|
|
52
|
+
- `--worktree-root` overrides the default `.schub/worktrees` location.
|
|
53
|
+
|
|
54
|
+
##### Task status updates
|
|
55
|
+
|
|
56
|
+
```bash
|
|
57
|
+
schub tasks update --id T0004 --id T0005 --status ready
|
|
58
|
+
```
|
|
59
|
+
|
|
60
|
+
- `--id` (repeatable) selects backlog task IDs to move.
|
|
61
|
+
- `--status` sets the target status: `ready` or `archived`.
|
|
62
|
+
|
|
63
|
+
##### Status view shortcut
|
|
64
|
+
|
|
65
|
+
In Status view, press `s` on a selected backlog or ready task to open the status modal.
|
|
66
|
+
For backlog tasks choose `Ready` or `Archive`. For ready tasks choose `Backlog` or `Archive`, then press enter to confirm or esc to cancel.
|
|
40
67
|
|
|
41
68
|
#### Reviews & Documentation
|
|
42
69
|
|