schub 0.1.23 → 0.1.24
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 +39 -0
- package/dist/api/server.js +400 -118
- package/dist/dashboard/assets/{EquationComponent-B_Rqmz8I.js → EquationComponent-CWQHffQf.js} +1 -1
- package/dist/dashboard/assets/index-CPnJQq3d.js +391 -0
- package/dist/dashboard/index.html +1 -1
- package/dist/index.js +1074 -472
- package/dist/services/runtime.js +118 -59
- package/drizzle/0004_eager_wonder_man.sql +62 -0
- package/drizzle/meta/0004_snapshot.json +1424 -0
- package/drizzle/meta/_journal.json +7 -0
- package/package.json +1 -1
- package/dist/dashboard/assets/index-i1qsMsQQ.js +0 -391
package/README.md
CHANGED
|
@@ -106,7 +106,12 @@ schub proposals pull --proposal-id P0003
|
|
|
106
106
|
- `schub tickets implement` - Move a ticket to `wip` and launch Opencode.
|
|
107
107
|
- `schub tickets save` - Validate and save one ticket (`--id`) or all local tickets (`--all`) to DB/storage.
|
|
108
108
|
- `schub tickets pull` - Pull tickets from the database into the local `.schub/tickets` folder (requires local `.schub/config.json`).
|
|
109
|
+
- `schub tickets refine` - Refine a ticket using an LLM prompt (`--id`).
|
|
109
110
|
- `schub tickets files` - List local and DB files for a ticket (`--id`).
|
|
111
|
+
- `schub tickets swap --id <ticket> [--attempt <attempt>]` - Swap the repo to a ticket attempt's worktree state.
|
|
112
|
+
- `schub tickets swap --back` - Restore the original repo state after a swap.
|
|
113
|
+
- `schub tickets swap --status` - Show current swap state.
|
|
114
|
+
- `schub tickets merge --id <ticket> [--attempt <attempt>]` - Squash-merge a ticket attempt into the current branch.
|
|
110
115
|
|
|
111
116
|
##### Ticket implementation
|
|
112
117
|
|
|
@@ -135,11 +140,45 @@ schub tickets update --id T0004 --id T0005 --status reviewed
|
|
|
135
140
|
- `--id` (repeatable) selects backlog ticket IDs to move.
|
|
136
141
|
- `--status` sets the target status and must match a project ticket status in DB.
|
|
137
142
|
|
|
143
|
+
##### Swap, merge, and worktree cleanup
|
|
144
|
+
|
|
145
|
+
```bash
|
|
146
|
+
# Preview an agent's work
|
|
147
|
+
schub tickets swap --id TK0084 --attempt A0022
|
|
148
|
+
|
|
149
|
+
# Return to your original branch
|
|
150
|
+
schub tickets swap --back
|
|
151
|
+
|
|
152
|
+
# Squash-merge an attempt into the current branch
|
|
153
|
+
schub tickets merge --id TK0084 --attempt A0022
|
|
154
|
+
|
|
155
|
+
# Remove the attempt's worktree after merging
|
|
156
|
+
schub worktree delete --ticket-id TK0084 --attempt A0022
|
|
157
|
+
```
|
|
158
|
+
|
|
138
159
|
##### Overview view shortcut
|
|
139
160
|
|
|
140
161
|
In Overview view, press `s` on a selected backlog or reviewed ticket to open the status modal.
|
|
141
162
|
For backlog tickets choose `Reviewed` or `Archive`. For reviewed tickets choose `Backlog` or `Archive`, then press enter to confirm or esc to cancel.
|
|
142
163
|
|
|
164
|
+
#### Worktree
|
|
165
|
+
|
|
166
|
+
- `schub worktree delete --ticket-id <ticket> [--attempt <attempt>]` - Remove a ticket attempt's worktree from disk and git tracking.
|
|
167
|
+
|
|
168
|
+
#### Setup
|
|
169
|
+
|
|
170
|
+
- `schub setup --agent <agent>` - Install all skill templates for a coding agent. Supported agents: `opencode`, `claude`, `codex`.
|
|
171
|
+
|
|
172
|
+
```bash
|
|
173
|
+
schub setup --agent opencode --agent claude --agent codex
|
|
174
|
+
```
|
|
175
|
+
|
|
176
|
+
Install paths per agent:
|
|
177
|
+
|
|
178
|
+
- `opencode` → `~/.opencode/skills/<name>/SKILL.md`
|
|
179
|
+
- `claude` → `~/.claude/skills/<name>.md`
|
|
180
|
+
- `codex` → `~/.codex/skills/<name>.md`
|
|
181
|
+
|
|
143
182
|
#### Templates & Reviews
|
|
144
183
|
|
|
145
184
|
- `schub templates create --name adr` - Create a new Architectural Decision Record file.
|