@odla-ai/cli 0.13.0 → 0.14.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 +20 -0
- package/dist/bin.cjs +3450 -692
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-I7XDJZB6.js → chunk-3AC74CD2.js} +3479 -717
- package/dist/chunk-3AC74CD2.js.map +1 -0
- package/dist/index.cjs +3458 -692
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +97 -20
- package/dist/index.d.ts +97 -20
- package/dist/index.js +9 -1
- package/package.json +4 -3
- package/skills/odla/SKILL.md +4 -0
- package/skills/odla/references/co-owners.md +54 -0
- package/dist/chunk-I7XDJZB6.js.map +0 -1
package/README.md
CHANGED
|
@@ -63,6 +63,8 @@ npx odla-ai calendar connect --env dev
|
|
|
63
63
|
npx odla-ai calendar resync --env dev
|
|
64
64
|
npx odla-ai calendar disconnect --env dev --yes
|
|
65
65
|
npx odla-ai capabilities --json
|
|
66
|
+
npx odla-ai code connect --env dev --email owner@example.com
|
|
67
|
+
npx odla-ai code connect --env prod --once # bounded enrollment + heartbeat proof
|
|
66
68
|
# install SDKs, write the Worker, and create wrangler.jsonc before secret push
|
|
67
69
|
npx odla-ai provision --dry-run
|
|
68
70
|
npx odla-ai provision --email owner@example.com --write-dev-vars --push-secrets
|
|
@@ -88,6 +90,24 @@ npx odla-ai skill install
|
|
|
88
90
|
npx odla-ai version
|
|
89
91
|
```
|
|
90
92
|
|
|
93
|
+
`code connect` is the first-party Code host runtime. Run it from a GitHub
|
|
94
|
+
checkout already connected to an app in Studio; it resolves the origin to that
|
|
95
|
+
project without requiring local config. If `odla.config.mjs` exists, its app is
|
|
96
|
+
used explicitly. The CLI chooses the safe installed container
|
|
97
|
+
engine (Apple container or Podman by default), requests one exact
|
|
98
|
+
`platform:code:host:connect` approval, atomically enrolls/offers/binds the host,
|
|
99
|
+
then runs the credentialless Pi container adapter in the foreground. The Pi and
|
|
100
|
+
clean-build images are digest-pinned, and build execution goes through a fixed
|
|
101
|
+
CaMeL-registered recipe. Use `--engine docker` only after reviewing that daemon
|
|
102
|
+
boundary. `--once` performs enrollment and one heartbeat without accepting a
|
|
103
|
+
queued session.
|
|
104
|
+
|
|
105
|
+
The approval and host credential records live in odla-ai/db and store hashes,
|
|
106
|
+
not plaintext. The shown-once host bearer is kept only in the running CLI
|
|
107
|
+
process: no Code credential file is created under `.odla/`. A subsequent
|
|
108
|
+
approved `code connect` rotates the database-backed credential and invalidates
|
|
109
|
+
the previous bearer.
|
|
110
|
+
|
|
91
111
|
`init` writes:
|
|
92
112
|
|
|
93
113
|
- `odla.config.mjs`
|