@odla-ai/cli 0.25.18 → 0.25.20
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 +16 -8
- package/dist/bin.cjs +428 -405
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-B6DISJPC.js → chunk-ONETPJFW.js} +305 -282
- package/dist/chunk-ONETPJFW.js.map +1 -0
- package/dist/index.cjs +428 -405
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +1 -1
- package/package.json +2 -2
- package/dist/chunk-B6DISJPC.js.map +0 -1
package/README.md
CHANGED
|
@@ -266,13 +266,13 @@ npx odla-ai security sources --env dev
|
|
|
266
266
|
npx odla-ai security run --source <source-id> --ref main --env dev --plan-digest <digest-from-security-plan> --ack-redacted-source
|
|
267
267
|
npx odla-ai security status <job-id>
|
|
268
268
|
npx odla-ai security report <job-id>
|
|
269
|
-
npx odla-ai admin ai show --email owner@example.com
|
|
270
|
-
npx odla-ai admin ai models
|
|
271
|
-
npx odla-ai admin ai set security --discovery-provider anthropic --discovery-model claude-opus-4-8 --validation-provider openai --validation-model gpt-5.5 --enabled
|
|
272
|
-
npx odla-ai admin ai credentials
|
|
273
|
-
npx odla-ai admin ai credential set anthropic --from-env ANTHROPIC_API_KEY
|
|
274
|
-
npx odla-ai admin ai usage --app-id my-app --env prod --limit 50
|
|
275
|
-
npx odla-ai admin ai audit --limit 25
|
|
269
|
+
npx odla-ai admin ai show --context production --email owner@example.com
|
|
270
|
+
npx odla-ai admin ai models --context production
|
|
271
|
+
npx odla-ai admin ai set security --context production --discovery-provider anthropic --discovery-model claude-opus-4-8 --validation-provider openai --validation-model gpt-5.5 --enabled
|
|
272
|
+
npx odla-ai admin ai credentials --context production
|
|
273
|
+
npx odla-ai admin ai credential set anthropic --context production --from-env ANTHROPIC_API_KEY
|
|
274
|
+
npx odla-ai admin ai usage --context production --app-id my-app --env prod --limit 50
|
|
275
|
+
npx odla-ai admin ai audit --context production --limit 25
|
|
276
276
|
npx odla-ai skill install
|
|
277
277
|
npx odla-ai version
|
|
278
278
|
```
|
|
@@ -598,7 +598,9 @@ truncated work stays visible.
|
|
|
598
598
|
|
|
599
599
|
`admin ai show|models|set|credentials|credential set|usage|audit` manages platform-funded System
|
|
600
600
|
AI (`o11y.triage`, `security.discovery`, `security.validation`). It uses a
|
|
601
|
-
separate, mode-`0600`
|
|
601
|
+
separate, mode-`0600` scoped-grant cache: beneath the selected named context,
|
|
602
|
+
the project root when a config is loaded, or the global operator directory
|
|
603
|
+
otherwise. It never follows an arbitrary shell working directory. Studio displays the
|
|
602
604
|
exact scope, only an admin can approve it, and it expires after ~15 minutes;
|
|
603
605
|
policy, credential, and usage capabilities are separate and cannot act as the
|
|
604
606
|
approver on ordinary app/db/o11y routes. `admin ai models` reads the server
|
|
@@ -744,6 +746,12 @@ export default {
|
|
|
744
746
|
`db.schema` and `db.rules` may be inline objects, JSON files, or JS modules
|
|
745
747
|
exporting `default`, `schema` / `SCHEMA`, or `rules` / `RULES`.
|
|
746
748
|
|
|
749
|
+
`services` accepts only ids from `@odla-ai/apps`'
|
|
750
|
+
`APP_SERVICE_CATALOG`. The CLI validates the same-environment dependencies
|
|
751
|
+
from that catalog before authentication or mutation; currently `calendar`,
|
|
752
|
+
`chat`, and `kg` require `db`. Application npm integrations remain under
|
|
753
|
+
`integrations`, not `services`.
|
|
754
|
+
|
|
747
755
|
If schema is present and rules are omitted, `defaultRules: "deny"` generates
|
|
748
756
|
deny-all rules for every schema entity. That is the safe default for Workers
|
|
749
757
|
that mediate reads and writes with an app key.
|