@work-shape/catalyst-cli 0.8.0-rc.16 → 0.8.0-rc.18

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@work-shape/catalyst-cli",
3
- "version": "0.8.0-rc.16",
3
+ "version": "0.8.0-rc.18",
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-api-client": "0.8.0-rc.16",
44
- "@work-shape/catalyst-api-contract": "0.8.0-rc.16",
45
- "@work-shape/catalyst-asset-schemas": "0.8.0-rc.16"
43
+ "@work-shape/catalyst-api-contract": "0.8.0-rc.18",
44
+ "@work-shape/catalyst-api-client": "0.8.0-rc.18",
45
+ "@work-shape/catalyst-asset-schemas": "0.8.0-rc.18"
46
46
  },
47
47
  "scripts": {
48
48
  "build": "tsup",
@@ -15,6 +15,10 @@ description: Work with a Workshape Catalyst instance through the catalyst comman
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
 
18
+ ## When a call fails
19
+
20
+ Run `catalyst doctor` (with the same `--instance` if one was selected). Its four lines check the address, sign-in, versions and effective key rights and are safe to paste into a chat. Never inspect the credentials file to diagnose a call. If versions differ, give the person the exact npm update command it prints. An HTML response usually means the instance address points to a web page or sign-in path: use the HTTPS origin of the instance, without `/api`. Keep install and setup commands on separate lines so they also work in Windows PowerShell 5.1.
21
+
18
22
  ## When the CLI is not logged in
19
23
 
20
24
  A command that answers "Not logged in" or refuses the key needs the person. Stop and ask them to run `catalyst setup <tool> --instance <url>` in their own terminal and confirm the code in their browser. Never ask for a key, never print, paste or pass one, never read the credentials file, and never set `CATALYST_API_KEY` yourself. You cannot issue a key or confirm a code.