@odla-ai/cli 0.27.15 → 0.28.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.
- package/README.md +5 -1
- package/dist/bin.cjs +396 -190
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-MR5QXX3B.js → chunk-HCNESRIA.js} +357 -169
- package/dist/chunk-HCNESRIA.js.map +1 -0
- package/dist/{cli-2RZFZRRT.js → cli-DDOFM47D.js} +2 -2
- package/dist/index.cjs +363 -174
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +14 -1
- package/dist/index.d.ts +14 -1
- package/dist/index.js +3 -1
- package/dist/runtime/pi-agent.js +15 -314577
- package/package.json +2 -2
- package/dist/chunk-MR5QXX3B.js.map +0 -1
- /package/dist/{cli-2RZFZRRT.js.map → cli-DDOFM47D.js.map} +0 -0
package/README.md
CHANGED
|
@@ -344,6 +344,7 @@ npx odla-ai whoami
|
|
|
344
344
|
npx odla-ai setup
|
|
345
345
|
npx odla-ai init --app-id my-app --name "My App"
|
|
346
346
|
npx odla-ai doctor
|
|
347
|
+
npx odla-ai ai models --env dev # exact models this app may select; no admin grant
|
|
347
348
|
npx odla-ai config diff --json
|
|
348
349
|
npx odla-ai config plan --json > .odla/config-plan.json
|
|
349
350
|
npx odla-ai config apply --plan .odla/config-plan.json --json
|
|
@@ -753,7 +754,10 @@ otherwise. It never follows an arbitrary shell working directory. Studio display
|
|
|
753
754
|
exact scope, only an admin can approve it, and it expires after ~15 minutes;
|
|
754
755
|
policy, credential, and usage capabilities are separate and cannot act as the
|
|
755
756
|
approver on ordinary app/db/o11y routes. `admin ai models` reads the server
|
|
756
|
-
catalog.
|
|
757
|
+
catalog. For app code and provisioning, `ai models [--env dev] [--json]` reads
|
|
758
|
+
the app-safe public configuration and lists only the hosted models that exact
|
|
759
|
+
app may select (or the configured provider's local catalog in BYOK mode), with
|
|
760
|
+
the default and generic capabilities. `admin ai set security` updates discovery and independent validation
|
|
757
761
|
together with expected revisions; a concurrent edit returns 409 and reloads
|
|
758
762
|
instead of being overwritten. `admin ai usage` requests its own read-only
|
|
759
763
|
capability and lists metadata-only events and status aggregates; narrow it with
|