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.
- package/README.md +21 -16
- 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
|
-
##
|
|
140
|
+
## Command surface
|
|
141
141
|
|
|
142
|
-
|
|
143
|
-
|
|
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
|
-
|
|
|
150
|
-
| 1 | Work & approvals |
|
|
151
|
-
| 2 | Agents & workspace |
|
|
152
|
-
| 3 | Automation & integrations |
|
|
153
|
-
| 4 | Memory & artifacts |
|
|
154
|
-
| 5 | Observability & spend |
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
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
|
|