@odla-ai/cli 0.27.14 → 0.27.17
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 +15 -1
- package/dist/bin.cjs +2832 -1515
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +106 -12
- package/dist/bin.js.map +1 -1
- package/dist/{chunk-3SQ2XUBB.js → chunk-3WVVHH3Y.js} +9148 -9172
- package/dist/chunk-3WVVHH3Y.js.map +1 -0
- package/dist/chunk-UKLSRQ5J.js +129 -0
- package/dist/chunk-UKLSRQ5J.js.map +1 -0
- package/dist/cli-DCSVQAZ6.js +12 -0
- package/dist/cli-DCSVQAZ6.js.map +1 -0
- package/dist/index.cjs +99 -18
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -6
- package/dist/index.d.ts +18 -6
- package/dist/index.js +7 -3
- package/dist/runtime/pi-agent.js +15 -314577
- package/package.json +6 -6
- package/dist/chunk-3SQ2XUBB.js.map +0 -1
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
|
|
@@ -387,6 +388,16 @@ npx odla-ai skill install
|
|
|
387
388
|
npx odla-ai version
|
|
388
389
|
```
|
|
389
390
|
|
|
391
|
+
Before a non-dry provisioning run, the executable verifies two independent
|
|
392
|
+
things: its CLI version matches the current release, and every external
|
|
393
|
+
`@odla-ai/*` runtime module resolves to the exact version pinned in that CLI's
|
|
394
|
+
manifest. The command graph is imported only after both checks pass. A stale
|
|
395
|
+
workspace-linked module is reported with its resolved package path and the
|
|
396
|
+
agent is told to update/rebase the worktree, run `npm ci`, and rebuild. Released
|
|
397
|
+
CLI dependencies are exact pins, so the printed `npm exec --package=...`
|
|
398
|
+
recovery command installs the same dependency graph exercised by the release
|
|
399
|
+
tarball test rather than reusing an arbitrary compatible older module.
|
|
400
|
+
|
|
390
401
|
`agent jobs` is the remote-operator view of commit-trigger delivery. It reads
|
|
391
402
|
content-free lifecycle metadata—job id, trigger, entity reference, state,
|
|
392
403
|
attempts, timing, and bounded error/status codes—using an audience-bound
|
|
@@ -743,7 +754,10 @@ otherwise. It never follows an arbitrary shell working directory. Studio display
|
|
|
743
754
|
exact scope, only an admin can approve it, and it expires after ~15 minutes;
|
|
744
755
|
policy, credential, and usage capabilities are separate and cannot act as the
|
|
745
756
|
approver on ordinary app/db/o11y routes. `admin ai models` reads the server
|
|
746
|
-
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
|
|
747
761
|
together with expected revisions; a concurrent edit returns 409 and reloads
|
|
748
762
|
instead of being overwritten. `admin ai usage` requests its own read-only
|
|
749
763
|
capability and lists metadata-only events and status aggregates; narrow it with
|