tabstax-cli 0.1.6 → 0.1.7

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.
Files changed (2) hide show
  1. package/README.md +260 -57
  2. package/package.json +2 -2
package/README.md CHANGED
@@ -1,107 +1,310 @@
1
- # Hey CLI - TabStax Command Line Interface
1
+ # hey TabStax CLI
2
2
 
3
- A conversational CLI for managing your Next Actions directly from the terminal. Works with the [TabStax](https://tabstax.app) browser extension.
3
+ **Log what you're doing. See what the team is doing. Stay in flow.**
4
4
 
5
- ## Installation
5
+ `hey` is the terminal interface for [TabStax](https://tabstax.app) — a lightweight command for individuals and teams to track next actions, breadcrumb decisions, and coordinate work without leaving the tools where the work actually happens: your shell, your editor, Claude Code, or a CI pipeline.
6
6
 
7
7
  ```bash
8
8
  npm install -g tabstax-cli
9
9
  ```
10
10
 
11
- ## Quick Start
11
+ Requires Node.js 18+ and a [TabStax account](https://tabstax.app).
12
12
 
13
- ```bash
14
- # Login to your TabStax account
15
- hey login
13
+ ---
16
14
 
17
- # Set your default project
18
- hey use "My Project"
15
+ ## The idea
19
16
 
20
- # Add a next action
21
- hey "Build the login page"
17
+ Most task tools pull you out of flow. You stop, switch to a browser, navigate, type something, switch back. Two minutes gone, context broken.
22
18
 
23
- # Add a breadcrumb (completed action)
24
- hey -x "Fixed the auth bug"
19
+ `hey` is one command. You're already in the terminal. Log the next thing, see the team board, mark something done — and you're back. Every action is synced to the [TabStax web app](https://dash.tabstax.app) and the browser extension, with your `@handle` attached, so the team always sees who's doing what without a standup.
25
20
 
26
- # List your actions
27
- hey ls
21
+ **Works wherever you work:**
22
+
23
+ | Where | How |
24
+ |-------|-----|
25
+ | **Terminal** | `hey "message"` — one command, no context switch |
26
+ | **Claude Code** | Ask Claude to read `hey ls --all` and act on it |
27
+ | **Web app** | `dash.tabstax.app` — attention board with handle pills and filters |
28
+ | **Browser extension** | Start Here page per project, actions synced live |
29
+ | **CI / scripts** | Pipe failures, deploys, or events directly into a shared stax |
28
30
 
29
- # Mark action #1 as done
31
+ ---
32
+
33
+ ## Quick start
34
+
35
+ ```bash
36
+ hey login
37
+ hey use "my-project"
38
+ hey "Fix the token refresh race condition"
39
+ hey ls
30
40
  hey done 1
31
41
  ```
32
42
 
43
+ ---
44
+
33
45
  ## Commands
34
46
 
35
- ### Actions
47
+ ### Add and complete actions
48
+
36
49
  | Command | Description |
37
50
  |---------|-------------|
38
- | `hey "message"` | Add a next action |
39
- | `hey -x "message"` | Add a breadcrumb (past tense, already done) |
40
- | `hey done [n]` | Mark action #n as complete (default: #1) |
51
+ | `hey "message"` | Add a next action to your current project |
52
+ | `hey -x "message"` | Log a breadcrumb something you already did |
53
+ | `hey done [n]` | Mark action #n as done (default: first action) |
41
54
  | `hey rm <n>` | Remove action #n |
42
- | `hey edit <n> "text"` | Edit action #n content |
43
- | `hey mv <from> <to>` | Move action to different position |
55
+ | `hey edit <n> "text"` | Edit action #n |
56
+ | `hey mv <from> <to>` | Reorder: move action to a different position |
57
+
58
+ ### See what's on
44
59
 
45
- ### Listing
46
60
  | Command | Description |
47
61
  |---------|-------------|
48
- | `hey ls` | List actions for current project |
49
- | `hey ls stax` | List all your stax with priorities |
50
- | `hey ls --all` | Expanded view with actions per stax |
51
- | `hey ls --done` | Show breadcrumbs only |
62
+ | `hey ls` | List actions for the current project |
63
+ | `hey ls stax` | All your projects with priorities |
64
+ | `hey ls --all` | Expanded: top 3 actions per project |
65
+ | `hey ls --done` | Breadcrumbs what's been completed |
66
+ | `hey ls -c 20` | Show up to 20 items |
67
+
68
+ ### Projects and context
52
69
 
53
- ### Projects & Priority
54
70
  | Command | Description |
55
71
  |---------|-------------|
56
- | `hey use <project>` | Set default project (fuzzy matched) |
57
- | `hey pri <project> <level>` | Set priority: `must`, `should`, `good`, `meh` |
58
- | `hey which` | Show current context |
72
+ | `hey use <project>` | Switch default project (fuzzy matched) |
73
+ | `hey which` | Show current project and logged-in user |
74
+ | `hey pri <project> <level>` | Set priority: `must` `should` `good` `meh` |
75
+
76
+ ### Auth
59
77
 
60
- ### Authentication
61
78
  | Command | Description |
62
79
  |---------|-------------|
63
- | `hey login` | Log in to TabStax |
80
+ | `hey login` | Log in (interactive, password masked) |
64
81
  | `hey logout` | Log out |
65
- | `hey whoami` | Show current user |
66
- | `hey status` | Show CLI status |
82
+ | `hey whoami` | Show current user and handle |
83
+ | `hey status` | Session and config summary |
67
84
 
68
- ## Features
85
+ ---
69
86
 
70
- - **7-action limit** per project to maintain focus (bypass with `--force`)
71
- - **Fuzzy project matching** - `hey use tab` matches "TabStax"
72
- - **Priority icons** - ★ must, ◆ should, ○ good, · meh
73
- - **Breadcrumbs** - Track what you've done, not just what's next
74
- - **Syncs with extension** - Changes appear in TabStax browser extension instantly
87
+ ## For individuals
75
88
 
76
- ## Examples
89
+ ### Daily dev flow
77
90
 
78
91
  ```bash
79
- # Quick workflow
80
- hey use "insurance"
81
- hey "Call agent about claim"
82
- hey "Upload documents"
83
- hey -x "Submitted form 1099"
84
- hey done 1
92
+ # Morning: pick up exactly where you left off
93
+ hey use "backend-api"
85
94
  hey ls
86
95
 
87
- # See all projects
96
+ # Log as you go — one line, stay in the terminal
97
+ hey "Investigate N+1 query in /dashboard endpoint"
98
+ hey "Write test for edge case in token refresh"
99
+ hey -x "Fixed auth middleware — sessions now persist across restarts"
100
+
101
+ # End of day
102
+ hey ls --done
103
+ ```
104
+
105
+ ### Keeping a decision log
106
+
107
+ The `-x` flag is for breadcrumbs: things you *already did*, decisions made, or context you want to preserve. They appear in the **Start Here** page on the extension so future-you (or a teammate) can see why the project is in its current state.
108
+
109
+ ```bash
110
+ hey -x "Decided against Redis for session cache — latency was fine without it"
111
+ hey -x "Upgraded to Postgres 16 — no breaking changes, pooler config updated"
112
+ hey -x "Deprioritised dark mode until v2 — product call on 2026-03-03"
113
+ ```
114
+
115
+ ---
116
+
117
+ ## For teams — collaborative stax
118
+
119
+ Set any stax to **Collaborative** mode in the TabStax extension (Share → Collaborative Project). Every team member with access can add actions using `hey`, and every action is tagged with their `@handle`.
120
+
121
+ ### How it works
122
+
123
+ 1. Owner creates the stax in the extension and sets it to Collaborative
124
+ 2. Each person runs `hey use <stax-name>` once
125
+ 3. Everyone adds actions from wherever they work — terminal, Claude Code, CI scripts
126
+ 4. The web app and Start Here page show each person's actions with a colour-coded handle pill
127
+ 5. A filter bar lets anyone narrow by contributor in one click
128
+
129
+ ```bash
130
+ # Join a team stax
131
+ hey use "sprint-47"
132
+
133
+ # Add your actions — they'll show up under your @handle
134
+ hey "Implement OAuth handshake"
135
+ hey "Write migration for invites table"
136
+
137
+ # Log what you shipped
138
+ hey -x "Deployed API gateway — load balanced across 3 nodes"
139
+
140
+ # See the full team board
141
+ hey ls
142
+
143
+ # Check all projects
88
144
  hey ls stax
145
+ ```
146
+
147
+ Every action is visible in real time on `dash.tabstax.app` — no standup needed to answer "what's everyone working on?"
148
+
149
+ ### @handle attribution
150
+
151
+ Every action added via `hey` is tagged with your `@handle` (set when you create your TabStax account). In the web app and the extension Start Here page:
152
+
153
+ - Each action shows a **pastel @handle pill** to the right of the text
154
+ - Colour is consistent per person across all views and projects
155
+ - A **filter bar** lets you show one or more contributors' actions at a time
156
+ - Done actions can be shown or hidden independently
89
157
 
90
- # Set project as high priority
91
- hey pri "insurance" must
158
+ Check your handle:
92
159
 
93
- # Force add when at limit
94
- hey "One more thing" --force
160
+ ```bash
161
+ hey whoami
95
162
  ```
96
163
 
97
- ## Requirements
164
+ ---
165
+
166
+ ## Team workflows
167
+
168
+ ### Sprint coordination
169
+
170
+ ```bash
171
+ # Sprint kickoff: team lead creates the stax, everyone joins once
172
+ hey use "sprint-47"
173
+
174
+ # During the sprint: add as you pick up work
175
+ hey "Implement dark mode toggle"
176
+ hey "Write unit tests for payment service"
177
+
178
+ # Mark done as you go — updates the board for everyone
179
+ hey done 1
180
+
181
+ # Sprint review: full breadcrumb trail of what shipped
182
+ hey ls --done
183
+ ```
184
+
185
+ ### Incident response
186
+
187
+ When something breaks, `hey` gives every responder a shared log so nothing gets lost between shifts or calls.
188
+
189
+ ```bash
190
+ # Everyone joins the incident stax
191
+ hey use "incident-2026-03-03"
192
+
193
+ # Log what you're trying in real time
194
+ hey "Check database connection pool — seeing timeouts"
195
+ hey "Rolling restart of API pods"
196
+ hey -x "Confirmed: root cause was stale connection pool config"
197
+ hey done 1
198
+
199
+ # Hand off cleanly — full timeline is in the web app
200
+ hey ls --done -c 50
201
+ ```
202
+
203
+ ### AI agent governance
204
+
205
+ When multiple AI agents are running in parallel (Claude Code subagents, CI bots, automated pipelines), `hey` gives you a shared log of what each agent did. Point each agent at a shared stax and every action and decision is recorded with attribution.
206
+
207
+ ```bash
208
+ # Each agent logs to the shared stax before and after major steps
209
+ hey -x "Agent:researcher — analysed 47 files, found 3 auth patterns"
210
+ hey -x "Agent:coder — implemented OAuth flow, 312 lines changed"
211
+ hey "Agent:tester — run contract tests before merge"
212
+ ```
213
+
214
+ The web app shows the full timeline, colour-coded by agent, so a human reviewer can see exactly what happened and what still needs sign-off.
215
+
216
+ ### Open source / research coordination
217
+
218
+ ```bash
219
+ hey use "oss-backlog"
220
+
221
+ hey "Review PR #412 — new auth provider"
222
+ hey "Triage issues labelled good-first-issue"
223
+ hey -x "Merged PR #389 — storage quota fix"
224
+ ```
225
+
226
+ ---
227
+
228
+ ## Claude Code integrations
229
+
230
+ `hey` + Claude Code turns your stax into a programmable task queue. Because `hey ls` outputs plain text, Claude can read, reason about, and act on it directly.
231
+
232
+ ### Morning standup digest
233
+
234
+ ```
235
+ Read my current stax using `hey ls --all` and write a short standup update
236
+ I can paste into Slack. Group by project, highlight the top action per project,
237
+ and flag anything that's been sitting for more than 3 days.
238
+ ```
239
+
240
+ ### Sprint health check
241
+
242
+ ```
243
+ Run `hey ls stax` to see all my projects. For any project at 6+ actions out of 7
244
+ (near the limit), suggest which actions could be combined, deferred, or done first.
245
+ Output a prioritised plan.
246
+ ```
247
+
248
+ ### Incident post-mortem
249
+
250
+ ```
251
+ The shared stax "incident-2026-03-03" has a full breadcrumb trail.
252
+ Run `hey ls --done -c 50` to get all completed actions.
253
+ Draft a post-mortem with timeline, root cause, and action items.
254
+ ```
255
+
256
+ ### Auto-log CI failures
257
+
258
+ ```bash
259
+ # In your CI script — on test failure:
260
+ hey "CI failed: $(git log -1 --pretty='%s') — $(git rev-parse --short HEAD)"
261
+ ```
262
+
263
+ ```
264
+ Watch `hey ls` for actions containing "CI failed". For each one, look up
265
+ the commit, fetch the test output, and suggest a fix.
266
+ ```
267
+
268
+ ### End-of-week retrospective
269
+
270
+ ```
271
+ Run `hey ls --done -c 100` across my top 3 stax. Summarise what shipped
272
+ this week, what's still in flight, and suggest 3 focus areas for next week
273
+ based on what's been sitting longest.
274
+ ```
275
+
276
+ ---
277
+
278
+ ## Features
279
+
280
+ - **7-action limit per project** keeps lists focused and forces prioritisation (`--force` to bypass)
281
+ - **Fuzzy project matching** — `hey use tab` matches "TabStax Backend"
282
+ - **Priority icons** — ★ must · ◆ should · ○ good · · meh
283
+ - **Breadcrumbs** (`-x`) — log decisions and completed work, not just what's next
284
+ - **@handle attribution** — every action tagged to you; colour-coded pills in web + extension
285
+ - **Shared stax** — any team member can add to a collaborative stax; syncs in real time
286
+ - **Auto session refresh** — stays logged in across restarts; prompts cleanly on expiry
287
+ - **Works in CI/scripts** — no interactive mode required for adding actions
288
+
289
+ ---
290
+
291
+ ## Session management
292
+
293
+ Sessions use a long-lived refresh token and auto-refresh 5 minutes before expiry. You won't be interrupted mid-session. If your refresh token expires (7+ days of no use), you'll get a clear prompt to re-login.
294
+
295
+ ```bash
296
+ hey login # interactive, password masked
297
+ hey whoami # check session state
298
+ hey status # full config + auth info
299
+ ```
98
300
 
99
- - Node.js 18+
100
- - TabStax account (free or paid)
301
+ ---
101
302
 
102
303
  ## Links
103
304
 
104
- - [TabStax Extension](https://tabstax.app)
305
+ - [TabStax](https://tabstax.app)
306
+ - [Attention board](https://dash.tabstax.app)
307
+ - [Chrome Web Store](https://chromewebstore.google.com/detail/tabstax-pick-up-where-you/mjplcglfdelgdcoalbgechkeophncjmf)
105
308
  - [GitHub](https://github.com/Hulupeep/tabstax)
106
309
  - [Issues](https://github.com/Hulupeep/tabstax/issues)
107
310
 
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "tabstax-cli",
3
- "version": "0.1.6",
4
- "description": "Hey CLI - Manage your Next Actions from the terminal. The CLI companion for TabStax browser extension.",
3
+ "version": "0.1.7",
4
+ "description": "Log what you're doing. See what the team is doing. Stay in flow. The terminal interface for TabStax.",
5
5
  "type": "module",
6
6
  "main": "dist/index.js",
7
7
  "bin": {