@work-shape/catalyst-cli 0.8.0-rc.4 → 0.8.0-rc.5
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 +17087 -10754
- package/dist/index.js +5119 -3000
- package/package.json +4 -4
- package/skills/catalyst/SKILL.md +11 -5
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.5",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"repository": {
|
|
6
6
|
"type": "git",
|
|
@@ -39,9 +39,9 @@
|
|
|
39
39
|
"@types/node": "^24.13.1",
|
|
40
40
|
"tsup": "^8.5.1",
|
|
41
41
|
"typescript": "^6.0.3",
|
|
42
|
-
"@work-shape/catalyst-api-client": "0.8.0-rc.
|
|
43
|
-
"@work-shape/catalyst-
|
|
44
|
-
"@work-shape/catalyst-
|
|
42
|
+
"@work-shape/catalyst-api-client": "0.8.0-rc.5",
|
|
43
|
+
"@work-shape/catalyst-asset-schemas": "0.8.0-rc.5",
|
|
44
|
+
"@work-shape/catalyst-api-contract": "0.8.0-rc.5"
|
|
45
45
|
},
|
|
46
46
|
"scripts": {
|
|
47
47
|
"build": "tsup",
|
package/skills/catalyst/SKILL.md
CHANGED
|
@@ -9,9 +9,9 @@ description: Work with a Workshape Catalyst instance through the catalyst comman
|
|
|
9
9
|
|
|
10
10
|
## Start here
|
|
11
11
|
|
|
12
|
-
1. `catalyst context --json`: the instance, its release, your rights, your
|
|
13
|
-
2. `catalyst kinds --json`: each kind with its command word, lifecycle and rights.
|
|
14
|
-
3. `catalyst
|
|
12
|
+
1. `catalyst context --json`: the instance, its release, your rights, your workspaces and the kinds of assets it has.
|
|
13
|
+
2. `catalyst kinds --json`: each kind with its command word, lifecycle and rights; `catalyst --help`: the commands and options of the CLI that is installed.
|
|
14
|
+
3. `catalyst docs`: the index of this release's product docs; `catalyst docs <page>`: one page.
|
|
15
15
|
|
|
16
16
|
Trust these answers over this skill. In a working copy, a command without `--instance` works on the instance its `catalyst.yaml` names as default, and is refused where it names none. Outside a working copy, it works on the one instance saved. When more than one is saved, or the working copy names no default, pass `--instance <name-or-url>` on every command.
|
|
17
17
|
|
|
@@ -32,6 +32,10 @@ catalyst references --json
|
|
|
32
32
|
|
|
33
33
|
The kind is the first word: `agent`, `skill`, `guardrail`, `app`, `workflow`, `data-store` or any other kind `catalyst kinds` lists. Add `--workspace <id>` for the assets one workspace owns, and `--json` for the instance's answer as it came.
|
|
34
34
|
|
|
35
|
+
## Use a skill of the instance here
|
|
36
|
+
|
|
37
|
+
Only when the person asks to use a skill locally, run `catalyst skill pull <name> .claude/skills/<name>` for Claude Code or `catalyst skill pull <name> .agents/skills/<name>` for Codex. Pulling again refreshes the folder and refuses local edits. Its scripts may assume Catalyst's sandbox, so read them before running them.
|
|
38
|
+
|
|
35
39
|
## Change one asset
|
|
36
40
|
|
|
37
41
|
1. Read it with `show` and note its revision.
|
|
@@ -41,9 +45,11 @@ The kind is the first word: `agent`, `skill`, `guardrail`, `app`, `workflow`, `d
|
|
|
41
45
|
|
|
42
46
|
A write names the revision it was made against. When the instance says the asset moved on, read it again and redo the change on the new revision; do not overwrite another person's work. Publish (`catalyst app publish offers --revision 5`) only when the person asks for it.
|
|
43
47
|
|
|
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
|
+
|
|
44
50
|
## A working copy of agents, skills and guardrails
|
|
45
51
|
|
|
46
|
-
A folder with a `catalyst.yaml` is a working copy. Work in this order:
|
|
52
|
+
In a new folder, first run `catalyst init --instance <url>`. A folder with a `catalyst.yaml` is a working copy. Work in this order:
|
|
47
53
|
|
|
48
54
|
1. `catalyst config pull` before you edit, and again before every push.
|
|
49
55
|
2. Edit the files.
|
|
@@ -99,7 +105,7 @@ A change that exits 3 prints its Operation Run id. Follow it with `catalyst oper
|
|
|
99
105
|
|
|
100
106
|
## What the key may do
|
|
101
107
|
|
|
102
|
-
The key acts as the person and never does more than they may at the moment of each call. Its scopes narrow it further, such as `agent.write` everywhere or `agent.write
|
|
108
|
+
The key acts as the person and never does more than they may at the moment of each call. Its scopes narrow it further, such as `agent.write` everywhere, `agent.write:<workspace id>` in one workspace or `agent.write:<workspace id>/<name>` on one of its agents. A right an administrator takes away is gone on the next call. The person sees and revokes the key on the instance at `/settings/you/api-keys`.
|
|
103
109
|
|
|
104
110
|
## Rules
|
|
105
111
|
|