@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.
Files changed (2) hide show
  1. package/README.md +8 -16
  2. 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
- Environment overrides:
160
+ `cai connect` stores everything the CLI needs. Two settings are worth knowing:
161
161
 
162
- - `CAI_API_URL`
163
- - `CAI_APP_URL`
164
- - `CAI_TOKEN`
165
- - `CAI_WORKFLOW`
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
- `CAI_API_URL`, `CAI_APP_URL`, and `--api-url` are transient process overrides. Authentication,
169
- workflow creation, and `cai use` do not copy them into the saved config. Pass the
170
- override again when needed; `cai doctor --api-url <url>` verifies that backend.
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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@controllerai/cli",
3
- "version": "0.2.3",
3
+ "version": "0.2.4",
4
4
  "description": "Build and operate Controller AI workflows and agents from any AI coding agent",
5
5
  "type": "module",
6
6
  "bin": {