@controllerai/cli 0.2.3 → 0.2.4
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/README.md +8 -16
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -157,24 +157,16 @@ different contents that claim an existing version.
|
|
|
157
157
|
|
|
158
158
|
## Configuration
|
|
159
159
|
|
|
160
|
-
|
|
160
|
+
`cai connect` stores everything the CLI needs. Two settings are worth knowing:
|
|
161
161
|
|
|
162
|
-
- `
|
|
163
|
-
|
|
164
|
-
- `
|
|
165
|
-
|
|
166
|
-
- `CAI_CONFIG`
|
|
162
|
+
- `CAI_TOKEN` — pass a credential through the environment instead of the config
|
|
163
|
+
file. Useful in CI, scripts, and sandboxes.
|
|
164
|
+
- `CAI_CONFIG` — use an alternate config file path, for example to keep a second
|
|
165
|
+
account separate.
|
|
167
166
|
|
|
168
|
-
`
|
|
169
|
-
|
|
170
|
-
|
|
171
|
-
|
|
172
|
-
The CLI derives product links when the API host has the `https://api.<host>`
|
|
173
|
-
shape. For local or custom deployments, set `CAI_APP_URL` or add an `appUrl`
|
|
174
|
-
field to the config file; when no safe app base is known, link fields are omitted.
|
|
175
|
-
|
|
176
|
-
For local manifest integration tests only, `CAI_SKILLS_MANIFEST_URL` can point
|
|
177
|
-
to HTTPS or a loopback HTTP URL. Hosted file URLs must share its origin.
|
|
167
|
+
`cai use <workflowId>` pins your working workflow. Inside a project directory
|
|
168
|
+
the pin is saved to `.cai.json` there, so parallel sessions in different
|
|
169
|
+
directories never interfere.
|
|
178
170
|
|
|
179
171
|
Run `cai doctor` to verify Node.js, authentication, API access, installed skills,
|
|
180
172
|
and credential-file permissions.
|