thinkwork-cli 0.12.8 → 0.12.9

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 +21 -16
  2. package/package.json +1 -1
package/README.md CHANGED
@@ -137,26 +137,31 @@ The CLI has two modes for every API-backed command:
137
137
  Any flag accepted by a command is also inferrable from env vars:
138
138
  `THINKWORK_STAGE`, `THINKWORK_TENANT`, `THINKWORK_API_KEY` (for CI).
139
139
 
140
- ## Roadmap
140
+ ## Command surface
141
141
 
142
- The commands below are **scaffolded** in Phase 0 (help text + argument parsing
143
- ships now, so `thinkwork --help` shows the full surface area) and fill in
144
- phase-by-phase. Running a scaffolded command prints a "not yet implemented"
145
- message and exits with code 2.
142
+ All 25 originally-scaffolded commands across Phases 1–5 are now live.
143
+ `thinkwork <cmd> --help` is authoritative for flags + examples.
146
144
 
147
145
  | Phase | Domain | Commands |
148
146
  |-------|--------|----------|
149
- | **0 (now)** | Foundation | `login` (Cognito + AWS), `logout`, `me`, `--json`, GraphQL client, codegen, shared helpers |
150
- | 1 | Work & approvals | `thread`, `message`, `label`, `inbox` — **Phase 1 complete** |
151
- | 2 | Agents & workspace | `member`, `team`, `kb`, `template`, `tenant`, `agent` — **Phase 2 complete** |
152
- | 3 | Automation & integrations | `routine`, `scheduled-job`, `turn`, `wakeup`, `webhook`, `skill` — **Phase 3 complete** (`connector` retired) |
153
- | 4 | Memory & artifacts | `memory`, `recipe`, `artifact` — **Phase 4 complete** |
154
- | 5 | Observability & spend | `cost`, `budget`, `performance`, `trace`, `dashboard` — **Phase 5 complete** |
155
-
156
- Each phase ships as one PR. Mid-phase stubs keep `thinkwork --help` complete
157
- so the full surface is always discoverable; individual commands flip from
158
- stub to real implementation as their phase lands. Run any
159
- `thinkwork <cmd> --help` today to see the planned flags + examples.
147
+ | 0 | Foundation | `login` (chains AWS profile + Cognito API session), `logout`, `me`, `--json`, GraphQL client, codegen, shared helpers |
148
+ | 1 | Work & approvals | `thread`, `message`, `label`, `inbox` |
149
+ | 2 | Agents & workspace | `member`, `team`, `kb`, `template`, `tenant`, `agent` |
150
+ | 3 | Automation & integrations | `routine`, `scheduled-job`, `turn`, `wakeup`, `webhook`, `skill` (`connector` retired) |
151
+ | 4 | Memory & artifacts | `memory`, `recipe`, `artifact` |
152
+ | 5 | Observability & spend | `cost`, `budget`, `performance`, `trace`, `dashboard` |
153
+
154
+ `skill create` and `skill update` were retired in favor of
155
+ `thinkwork skill push <folder>` that's the real custom-skill authoring
156
+ surface. Invoking them prints "retired use `skill push`" and exits 2.
157
+
158
+ Auth model: the CLI's auto-fallback to the deploy-stage's
159
+ `api_auth_secret` admits most admin-tier paths via the server's
160
+ `requireAdminOrServiceCaller` gate. Paths that stamp a specific user
161
+ identity onto the row (`createThread`, `sendMessage`, `core/*` member
162
+ mutations) stay Cognito-required so service callers can't ghost-write
163
+ as a user — sign in via `thinkwork login --stage <s>` (or the chained
164
+ prompt from `thinkwork login`) for those.
160
165
 
161
166
  ## Interactive Init
162
167
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "thinkwork-cli",
3
- "version": "0.12.8",
3
+ "version": "0.12.9",
4
4
  "description": "Thinkwork CLI — deploy, manage, and interact with your Thinkwork stack",
5
5
  "license": "Apache-2.0",
6
6
  "type": "module",