@tangle-network/sandbox-cli 0.5.3 → 0.6.0
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/SKILL.md +29 -0
- package/dist/index.mjs +22 -19
- package/package.json +6 -6
package/SKILL.md
CHANGED
|
@@ -259,6 +259,9 @@ tangle team invitations [team] # List pending/historical invitations
|
|
|
259
259
|
Authenticate with the `sk-tan-*` API key (`TANGLE_API_KEY`), same as the other
|
|
260
260
|
platform commands, not a hub capability token.
|
|
261
261
|
|
|
262
|
+
Authoring a workflow (graph topology, guards, joins, KV state, decisions):
|
|
263
|
+
https://sandbox.tangle.tools/docs/workflows
|
|
264
|
+
|
|
262
265
|
```bash
|
|
263
266
|
tangle workflows validate workflow.yml
|
|
264
267
|
tangle workflows schema # print JSON Schema
|
|
@@ -270,6 +273,16 @@ tangle workflows enable <id>
|
|
|
270
273
|
tangle workflows disable <id>
|
|
271
274
|
tangle workflows delete <id>
|
|
272
275
|
|
|
276
|
+
# Templates
|
|
277
|
+
tangle workflows templates # starter gallery
|
|
278
|
+
tangle workflows init <template-id> # instantiate, print YAML
|
|
279
|
+
tangle workflows init <template-id> --param repo=o/r --file workflow.yml
|
|
280
|
+
|
|
281
|
+
# Revisions
|
|
282
|
+
tangle workflows revisions <id> # definition history
|
|
283
|
+
tangle workflows revision <id> <rev> # one revision's YAML
|
|
284
|
+
tangle workflows rollback <id> <rev> # restore a rev as the new head
|
|
285
|
+
|
|
273
286
|
# Runs
|
|
274
287
|
tangle workflows run <id> # trigger a run
|
|
275
288
|
tangle workflows run <id> --input pull_request.number=123 # with trigger inputs
|
|
@@ -277,6 +290,22 @@ tangle workflows run <id> --wait # wait + print resul
|
|
|
277
290
|
tangle workflows runs <id> # run history
|
|
278
291
|
tangle workflows run-detail <id> <runId> # single-run detail
|
|
279
292
|
tangle workflows events <id> <runId> # tail live progress
|
|
293
|
+
tangle workflows cancel <id> <runId> # cancel a queued/running run
|
|
294
|
+
|
|
295
|
+
# Cross-run KV state
|
|
296
|
+
tangle workflows kv list <id>
|
|
297
|
+
tangle workflows kv get <id> <key>
|
|
298
|
+
tangle workflows kv set <id> <key> '{"cursor":123}'
|
|
299
|
+
tangle workflows kv set <id> <key> '{"cursor":123}' --cas 4 # compare-and-swap
|
|
300
|
+
tangle workflows kv delete <id> <key>
|
|
301
|
+
|
|
302
|
+
# Run artifacts
|
|
303
|
+
tangle workflows artifacts <id> <runId>
|
|
304
|
+
tangle workflows artifact-download <id> <runId> <artifactId> --out report.json
|
|
305
|
+
|
|
306
|
+
# Human decisions
|
|
307
|
+
tangle workflows decisions <id> # pending approvals
|
|
308
|
+
tangle workflows decision-resolve <id> <runId> --choice deploy
|
|
280
309
|
```
|
|
281
310
|
|
|
282
311
|
## Other Commands
|