@oddington/cli 0.1.41 → 0.1.43
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 +6 -6
- package/dist/os.js +216 -201
- package/package.json +3 -3
package/README.md
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
#
|
|
1
|
+
# OS CLI
|
|
2
2
|
|
|
3
3
|
The CLI lets people and routines work with their OS from a terminal.
|
|
4
4
|
|
|
@@ -25,12 +25,12 @@ will consume the result.
|
|
|
25
25
|
Sign-in and session operations use `https://auth.oddington.ai`. Connection
|
|
26
26
|
management, repository targets, local app repository context, Dropbox authorization,
|
|
27
27
|
remote File-storage configuration and Routine deployment use `https://api.oddington.ai`. These addresses are fixed; workspace
|
|
28
|
-
configuration and `
|
|
28
|
+
configuration and `OS_ORIGIN` do not override them.
|
|
29
29
|
|
|
30
30
|
Connection use is the canonical `POST /workspaces/<workspace>/connections/use`
|
|
31
31
|
operation on the API host. The verified member or retained Run supplies authority;
|
|
32
32
|
the request names the Connection and exact Run ID. Hosted ad hoc execution needs
|
|
33
|
-
both `
|
|
33
|
+
both `OS_CONNECTION_RUN_TOKEN` and `OS_CONNECTION_RUN_ID`.
|
|
34
34
|
Inbox publication goes directly to the selected workspace's `/api/inbox/check`,
|
|
35
35
|
`/api/inbox/publish`, `/api/inbox/resolve` and `/api/inbox/files` operations.
|
|
36
36
|
Data and shared Files go directly to their OS owners. Local publication validates
|
|
@@ -320,7 +320,7 @@ Never put credentials in command arguments, logs, or issues. `inspect`, `list`,
|
|
|
320
320
|
and other CLI output never reveal saved credentials.
|
|
321
321
|
|
|
322
322
|
`os run` passes a short-lived credential to the child process in
|
|
323
|
-
`
|
|
323
|
+
`OS_CONNECTION_CREDENTIAL`. Only run trusted code, and do not print or
|
|
324
324
|
retain that value.
|
|
325
325
|
|
|
326
326
|
## Deploy routines
|
|
@@ -586,7 +586,7 @@ or attach anything. CSV parsing hints (`csv.encoding`, `csv.delimiter`,
|
|
|
586
586
|
and verified PDF pages. Unsupported files remain preserved and downloadable.
|
|
587
587
|
|
|
588
588
|
Member-authored files may use `workingRoot` in the SDK, `--working-root` on the
|
|
589
|
-
file command, or `
|
|
589
|
+
file command, or `OS_INBOX_WORKING_ROOT`. Named routine Runs receive
|
|
590
590
|
their resolved worktree root from OS. The file command defaults to the current directory:
|
|
591
591
|
|
|
592
592
|
```sh
|
|
@@ -615,7 +615,7 @@ the File; delete that use through its owning capability first. Read access does
|
|
|
615
615
|
not allow deleting another member's or an installed routine's File.
|
|
616
616
|
|
|
617
617
|
The command uses the published SDK and the CLI member session. Configured
|
|
618
|
-
`
|
|
618
|
+
`OS_FILES_ROOT` selects the existing managed local owner, including
|
|
619
619
|
uploaded-cache cleanup. Success means physical cleanup and durable completion;
|
|
620
620
|
repeating a completed command succeeds. Temporary failures remain retryable,
|
|
621
621
|
and a pending File stays inaccessible. R2 cleanup removes only the exact pinned
|