@arbol-ai/cli 2.18.0 → 3.1.0

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 (3) hide show
  1. package/README.md +19 -6
  2. package/dist/index.js +84060 -48848
  3. package/package.json +4 -4
package/README.md CHANGED
@@ -28,8 +28,8 @@ arbol auth login --profile clinic # another login, for another a
28
28
  arbol auth api-key --profile ci < /secure/path/arbol-key
29
29
  arbol auth profiles # * marks the default
30
30
  arbol auth use ci
31
- arbol visoft clinics list --profile clinic
32
- ARBOL_PROFILE=ci arbol sura appointments list
31
+ arbol visoft connections list --profile clinic
32
+ ARBOL_PROFILE=ci arbol sura appointments lookup
33
33
  ```
34
34
 
35
35
  An API key given to one command, through `--api-key-stdin` or `ARBOL_API_KEY`, wins over every
@@ -48,8 +48,8 @@ is revoked in Arbol Account).
48
48
 
49
49
  ```sh
50
50
  arbol auth login
51
- arbol sura appointments list --help
52
- arbol agenda appointments list --from 2026-10-12T00:00:00Z
51
+ arbol sura appointments lookup --help
52
+ arbol agenda appointments list --limit 25
53
53
  arbol auth switch [<name|org_…>]
54
54
  arbol auth status
55
55
  arbol auth logout
@@ -112,8 +112,8 @@ it), checks it against the API and seals it; `--api-key-stdin` and `ARBOL_API_KE
112
112
  single command without saving it. A refused key never falls back to a login.
113
113
 
114
114
  ```sh
115
- ARBOL_API_KEY="$(cat /secure/path/arbol-key)" arbol visoft clinics list
116
- arbol sura appointments list --api-key-stdin < /secure/path/arbol-key
115
+ ARBOL_API_KEY="$(cat /secure/path/arbol-key)" arbol visoft connections list
116
+ arbol sura appointments lookup --api-key-stdin < /secure/path/arbol-key
117
117
  ```
118
118
 
119
119
  Commands are `arbol <service> <resource> <verb> [id]`, the operation's public name. `arbol <service>`
@@ -184,6 +184,19 @@ The published `package.json` records the OpenAPI the commands were generated fro
184
184
  package with the organization's `NPM_TOKEN`. Package access stays public while the source repository
185
185
  is private. Provenance is disabled because npm does not support it for private source repositories.
186
186
 
187
+ ## Migrating to CLI 3
188
+
189
+ CLI 3 uses SDK 5 and the current public owner contracts. SURA appointment reads use
190
+ `arbol sura appointments lookup`; Agenda booking discovery has separate
191
+ `booking-locations`, `booking-offerings`, `booking-requirements`, `booking-slots`
192
+ and `nearest-booking-slots` resources. Account uses `account organization get`
193
+ and `account organization update`. Named resource identifiers and JSON request
194
+ fields follow each command’s help.
195
+
196
+ This is a deliberate major release for incompatible command and request changes.
197
+ Automatic generation does not detect compatibility or choose a major version;
198
+ review the owner contract changes before publishing.
199
+
187
200
  ## License
188
201
 
189
202
  [Apache License 2.0](LICENSE)