@keystrokehq/cli 0.1.95 → 0.1.96
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.
|
@@ -90,13 +90,16 @@ Use `exec_command` with the keystroke CLI — credentials are injected automatic
|
|
|
90
90
|
keystroke workflows list # list deployed workflows
|
|
91
91
|
keystroke workflows run <workflow-slug> --input '{}' # invoke a workflow
|
|
92
92
|
keystroke workflows runs list <workflow-slug> # recent runs for a workflow
|
|
93
|
-
keystroke workflows runs get <workflow-slug> <run-id> --
|
|
93
|
+
keystroke workflows runs get <workflow-slug> <run-id> --summary # lean status/input/output/error
|
|
94
|
+
keystroke workflows runs get <workflow-slug> <run-id> --field output # one field without jq
|
|
95
|
+
keystroke workflows runs get <workflow-slug> <run-id> --include steps,trace # full detail when needed
|
|
94
96
|
|
|
95
|
-
# Agents
|
|
97
|
+
# Agents (durable unit is a session, not a run)
|
|
96
98
|
keystroke agents list # list deployed agents
|
|
97
99
|
keystroke agents prompt <agent-slug> --message "Hi" # send a message (add --session-id to continue a session)
|
|
98
100
|
keystroke agents sessions list <agent-slug> # recent sessions for an agent
|
|
99
|
-
keystroke agents sessions get <agent-slug> <session-id> --
|
|
101
|
+
keystroke agents sessions get <agent-slug> <session-id> --summary # lean status/title/error
|
|
102
|
+
keystroke agents sessions get <agent-slug> <session-id> --include messages,trace # full detail when needed
|
|
100
103
|
|
|
101
104
|
# Triggers (attachment id is <trigger-slug>:<target-slug>; narrow with --workflow/--agent)
|
|
102
105
|
keystroke triggers list # list deployed triggers
|
|
@@ -288,13 +288,17 @@ Both materialize into the agent's `/workspace/agent/...` environment before each
|
|
|
288
288
|
|
|
289
289
|
## Audit & debug
|
|
290
290
|
|
|
291
|
-
Inspect deployed runs
|
|
291
|
+
Inspect deployed runs progressively — start lean, then request richer detail only when needed:
|
|
292
292
|
|
|
293
293
|
```bash
|
|
294
294
|
keystroke workflows runs list <workflow-slug>
|
|
295
|
+
keystroke workflows runs get <workflow-slug> <run-id> --summary
|
|
296
|
+
keystroke workflows runs get <workflow-slug> <run-id> --field output
|
|
295
297
|
keystroke workflows runs get <workflow-slug> <run-id> --include steps,trace
|
|
296
298
|
|
|
297
299
|
keystroke agents sessions list <agent-slug>
|
|
300
|
+
keystroke agents sessions get <agent-slug> <session-id> --summary
|
|
301
|
+
keystroke agents sessions get <agent-slug> <session-id> --field status
|
|
298
302
|
keystroke agents sessions get <agent-slug> <session-id> --include messages,trace
|
|
299
303
|
|
|
300
304
|
keystroke triggers list
|
|
@@ -306,7 +310,9 @@ keystroke triggers disable <trigger-slug> # pause without redeploy; --workflow
|
|
|
306
310
|
keystroke history list --kind workflow --status failed
|
|
307
311
|
```
|
|
308
312
|
|
|
309
|
-
|
|
313
|
+
Workflows have durable **runs**; agents have durable **sessions** (use `agents sessions get`, not `agents runs get`).
|
|
314
|
+
|
|
315
|
+
Invoke/inspect commands print JSON to stdout (exit 0 on success, 1 on failure) — pipe to `jq` when you need arbitrary paths. Prefer `--summary` / `--field` for common inspection so you don't dig through nested envelopes. Lifecycle commands (`init`/`dev`/`deploy`) print human status.
|
|
310
316
|
|
|
311
317
|
## Before you claim you're done
|
|
312
318
|
|