@work-shape/catalyst-cli 0.7.0 → 0.8.0-rc.1
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/dist/index.d.ts +1472 -408
- package/dist/index.js +2940 -1293
- package/package.json +7 -7
- package/skills/catalyst/SKILL.md +24 -0
package/package.json
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@work-shape/catalyst-cli",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.8.0-rc.1",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
7
|
-
"url": "
|
|
7
|
+
"url": "https://github.com/work-shape/catalyst",
|
|
8
8
|
"directory": "packages/config-cli"
|
|
9
9
|
},
|
|
10
10
|
"type": "module",
|
|
@@ -31,17 +31,17 @@
|
|
|
31
31
|
"registry": "https://registry.npmjs.org/"
|
|
32
32
|
},
|
|
33
33
|
"dependencies": {
|
|
34
|
-
"js-yaml": "^4.2
|
|
35
|
-
"zod": "
|
|
34
|
+
"js-yaml": "^4.3.2",
|
|
35
|
+
"zod": "4.4.3"
|
|
36
36
|
},
|
|
37
37
|
"devDependencies": {
|
|
38
38
|
"@types/js-yaml": "^4.0.9",
|
|
39
39
|
"@types/node": "^24.13.1",
|
|
40
40
|
"tsup": "^8.5.1",
|
|
41
41
|
"typescript": "^6.0.3",
|
|
42
|
-
"@
|
|
43
|
-
"@
|
|
44
|
-
"@
|
|
42
|
+
"@work-shape/catalyst-api-client": "0.8.0-rc.1",
|
|
43
|
+
"@work-shape/catalyst-api-contract": "0.8.0-rc.1",
|
|
44
|
+
"@work-shape/catalyst-asset-schemas": "0.8.0-rc.1"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "tsup",
|
package/skills/catalyst/SKILL.md
CHANGED
|
@@ -60,10 +60,34 @@ catalyst guardrail test iban-check --asset skill:tax-guide
|
|
|
60
60
|
catalyst guardrail dry-run iban-check
|
|
61
61
|
catalyst guardrail publish iban-check --revision 2
|
|
62
62
|
catalyst guardrail unpublish iban-check
|
|
63
|
+
catalyst guardrail hits iban-check
|
|
63
64
|
```
|
|
64
65
|
|
|
65
66
|
A publish shows its dry run first. A first publish that would stop actions asks for `--confirm <number>`: show the person the dry run and let them decide; never fill in the number yourself.
|
|
66
67
|
|
|
68
|
+
## Workflow tests and resource checks
|
|
69
|
+
|
|
70
|
+
```sh
|
|
71
|
+
catalyst workflow test month-end --from test-input.json # {"input":{"month":"2026-10"}}
|
|
72
|
+
catalyst workflow runs month-end
|
|
73
|
+
catalyst workflow run <run-id>
|
|
74
|
+
catalyst workflow steps <run-id>
|
|
75
|
+
catalyst knowledge-base check accounts
|
|
76
|
+
catalyst data-store describe reporting
|
|
77
|
+
catalyst data-store used-by reporting
|
|
78
|
+
catalyst app actions offers
|
|
79
|
+
catalyst keys list
|
|
80
|
+
catalyst instance workspaces
|
|
81
|
+
```
|
|
82
|
+
|
|
83
|
+
These commands print readable YAML; add `--json` for JSON. Paginated lists read every page. `workflow test` starts a test of the saved draft, simulating changing steps; it returns the current state, so read `run` and `steps` for progress. `--from <file|->` reads the request body `{"input": {...}}`; omitted, it sends `{}`. Run a test only when asked to test, and `catalyst workflow cancel <run-id>` only when asked to cancel that run.
|
|
84
|
+
|
|
85
|
+
`app actions` without a name lists published Apps' actions; with a name it reads the draft if you may write it, otherwise the published revision. `keys list` reads only your own key metadata, never secrets. `instance workspaces` lists Shared Workspaces for agent availability through `instance.workspaces.list`, requiring `config_assets:write` and `agent.write`; it does not list your memberships. Keep `hasMore`, hidden counts and `truncated` in mind when reading hits, dependencies and actions.
|
|
86
|
+
|
|
87
|
+
## Follow a held call
|
|
88
|
+
|
|
89
|
+
A change that exits 3 prints its Operation Run id. Follow it with `catalyst operation show <run-id>` and list your requests with `catalyst requests`. Add `--json` for the full record or list. A held run still exits 3; a failed, denied or expired run exits 1. Withdraw your own request with `catalyst requests --withdraw <id>` only when the person asks; the key needs an asset write or delete scope. Do not send the held change again.
|
|
90
|
+
|
|
67
91
|
## Exit codes
|
|
68
92
|
|
|
69
93
|
- 0: done.
|