@odla-ai/cli 0.14.0 → 0.15.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 +22 -15
- package/dist/bin.cjs +725 -320
- package/dist/bin.cjs.map +1 -1
- package/dist/bin.js +1 -1
- package/dist/{chunk-3AC74CD2.js → chunk-E3CCYDIT.js} +729 -324
- package/dist/chunk-E3CCYDIT.js.map +1 -0
- package/dist/index.cjs +725 -320
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +56 -10
- package/dist/index.d.ts +56 -10
- package/dist/index.js +1 -1
- package/package.json +1 -1
- package/skills/odla/references/co-owners.md +7 -0
- package/skills/odla-migrate/references/phase-2-db.md +2 -2
- package/dist/chunk-3AC74CD2.js.map +0 -1
package/README.md
CHANGED
|
@@ -29,8 +29,8 @@ For a project you keep working in, install it as a dev dependency so the
|
|
|
29
29
|
shorter `npx odla-ai` form works and the version is pinned by your lockfile:
|
|
30
30
|
|
|
31
31
|
```bash
|
|
32
|
-
npm view @odla-ai/cli@0.
|
|
33
|
-
npm i -D --save-exact @odla-ai/cli@0.
|
|
32
|
+
npm view @odla-ai/cli@0.15.0 version
|
|
33
|
+
npm i -D --save-exact @odla-ai/cli@0.15.0
|
|
34
34
|
```
|
|
35
35
|
|
|
36
36
|
## Prerequisites
|
|
@@ -63,7 +63,7 @@ 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
|
|
66
|
+
npx odla-ai code connect --platform https://odla.ai --app-id my-app --env dev --email owner@example.com
|
|
67
67
|
npx odla-ai code connect --env prod --once # bounded enrollment + heartbeat proof
|
|
68
68
|
# install SDKs, write the Worker, and create wrangler.jsonc before secret push
|
|
69
69
|
npx odla-ai provision --dry-run
|
|
@@ -90,20 +90,27 @@ npx odla-ai skill install
|
|
|
90
90
|
npx odla-ai version
|
|
91
91
|
```
|
|
92
92
|
|
|
93
|
-
`code connect` is the first-party Code
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
93
|
+
`code connect` is the first-party personal Code terminal runtime. Run the exact
|
|
94
|
+
command copied from **Studio → Code → Terminal** while your shell is in the
|
|
95
|
+
local Git checkout. `--platform`, `--app-id`, and `--env` make the requested
|
|
96
|
+
scope unambiguous; without an explicit app, the CLI can infer it from
|
|
97
|
+
`odla.config.mjs` or the Git remote. The terminal proves its isolation engine,
|
|
98
|
+
prepares the pinned Pi and build images, and sends an outbound
|
|
99
|
+
`app:code:host:connect` request to odla. The app owner approves that real
|
|
100
|
+
request in Studio. The browser never mints or displays a host bearer.
|
|
101
|
+
|
|
102
|
+
After approval, the foreground process secret-filters tracked and non-ignored
|
|
103
|
+
source into a bounded staged snapshot. Harness operates on that frozen copy;
|
|
104
|
+
the original checkout is never mounted into Pi. Pi receives no network,
|
|
105
|
+
provider credential, or container-engine socket and accesses source only
|
|
106
|
+
through the typed CaMeL broker. The session records the trusted Git base,
|
|
107
|
+
developer-patch digest, snapshot digest, and the combined checkpoint patch.
|
|
108
|
+
Later local edits do not silently alter an active session. Use `--engine
|
|
109
|
+
docker` only after reviewing that daemon boundary. `--once` proves enrollment
|
|
110
|
+
and one heartbeat without accepting queued work.
|
|
104
111
|
|
|
105
112
|
The approval and host credential records live in odla-ai/db and store hashes,
|
|
106
|
-
not plaintext. The
|
|
113
|
+
not plaintext. The collected host bearer exists only in the running CLI
|
|
107
114
|
process: no Code credential file is created under `.odla/`. A subsequent
|
|
108
115
|
approved `code connect` rotates the database-backed credential and invalidates
|
|
109
116
|
the previous bearer.
|