@work-shape/catalyst-cli 0.8.0-rc.12 → 0.8.0-rc.14
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 +298 -18
- package/dist/index.js +578 -279
- package/package.json +4 -4
- package/skills/catalyst/SKILL.md +6 -0
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@work-shape/catalyst-cli",
|
|
3
|
-
"version": "0.8.0-rc.
|
|
3
|
+
"version": "0.8.0-rc.14",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -40,9 +40,9 @@
|
|
|
40
40
|
"@types/node": "^24.13.1",
|
|
41
41
|
"tsup": "^8.5.1",
|
|
42
42
|
"typescript": "^6.0.3",
|
|
43
|
-
"@work-shape/catalyst-
|
|
44
|
-
"@work-shape/catalyst-
|
|
45
|
-
"@work-shape/catalyst-api-
|
|
43
|
+
"@work-shape/catalyst-api-contract": "0.8.0-rc.14",
|
|
44
|
+
"@work-shape/catalyst-asset-schemas": "0.8.0-rc.14",
|
|
45
|
+
"@work-shape/catalyst-api-client": "0.8.0-rc.14"
|
|
46
46
|
},
|
|
47
47
|
"scripts": {
|
|
48
48
|
"build": "tsup",
|
package/skills/catalyst/SKILL.md
CHANGED
|
@@ -47,6 +47,12 @@ A write names the revision it was made against. When the instance says the asset
|
|
|
47
47
|
|
|
48
48
|
An App publish first asks who may use it: only its builder, its owning workspace, or the whole instance where allowed. The person chooses the audience. Pass their stated choice with `--audience` (`self`, `workspace` or `instance`); never choose it for them or widen a live App's audience on your own. An unattended publish needs that explicit flag. `--yes` submits it for a person to confirm in their Inbox; it does not make it live by itself.
|
|
49
49
|
|
|
50
|
+
## App and Workflow folders
|
|
51
|
+
|
|
52
|
+
Use `catalyst app pull <app> [dir]` or `catalyst workflow pull <workflow> [dir]` to pull a draft into an empty or new folder; `--published` or `--revision <n>` selects another revision. An App starts with `app.yaml`; a Workflow starts with `workflow.yaml` and its scripts in `steps/`. Both keep `.catalyst-app.json` as their local baseline: leave it in place and never edit or send it.
|
|
53
|
+
|
|
54
|
+
After editing, use `catalyst workflow status <workflow> <dir>` or `catalyst app status <app> <dir>` to inspect the changes. Save them as a draft with `catalyst workflow push [dir]` or `catalyst app push [dir]`. An unchanged Workflow push writes no revision. A stale folder is refused: pull into another folder, carry your changes over and push there. A warning about a possible secret names only its file and line; remove the credential from the source and use a Connection for it. Publish only when asked, through `catalyst workflow publish <workflow> --revision <n>` or the App publish above. Workflows are not part of `catalyst config pull` or `catalyst config push`.
|
|
55
|
+
|
|
50
56
|
## A working copy of agents, skills and guardrails
|
|
51
57
|
|
|
52
58
|
In a new folder, first run `catalyst init --instance <url>`. A folder with a `catalyst.yaml` is a working copy. Work in this order:
|