@uru-intelligence/cli 0.3.53 → 0.3.55
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 +35 -5
- package/dist/uru.mjs +881 -114
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -13,7 +13,12 @@ bun src/index.ts whoami --json
|
|
|
13
13
|
bun src/index.ts switch <workspace-id>
|
|
14
14
|
```
|
|
15
15
|
|
|
16
|
-
The CLI is registry-backed. Dedicated Gem/Library/Dataset
|
|
16
|
+
The CLI is registry-backed. Dedicated Gem/Library/Dataset/Automation commands
|
|
17
|
+
are thin adapters over the same platform tools used by MCP and the web UI;
|
|
18
|
+
broader workspace, prompt/persona/context, sharing, web/file, business SQL,
|
|
19
|
+
secret/env/token operations remain exposed through the generated operation
|
|
20
|
+
registry while dedicated UX commands continue to mature. The CLI does **not**
|
|
21
|
+
reimplement Gem lifecycle sequencing client-side.
|
|
17
22
|
|
|
18
23
|
## Current commands
|
|
19
24
|
|
|
@@ -49,11 +54,29 @@ bun src/index.ts gems write 'library/Golden Gems/My Gem.gem' main.html --file ./
|
|
|
49
54
|
bun src/index.ts library ls library
|
|
50
55
|
bun src/index.ts library search revenue
|
|
51
56
|
bun src/index.ts library mkdir 'library/Golden Gems'
|
|
52
|
-
bun src/index.ts
|
|
57
|
+
bun src/index.ts library read 'library/Contexts/Client Brief.md'
|
|
58
|
+
bun src/index.ts library write 'library/Contexts/Client Brief.md' --file ./brief.md --create
|
|
59
|
+
bun src/index.ts library write 'library/Prompts/Sales Email.md' --content "Draft the follow-up." --create
|
|
60
|
+
bun src/index.ts library patch 'library/Prompts/Sales Email.md' --stdin
|
|
61
|
+
bun src/index.ts library cp 'library/Notes/Brief.md' 'library/Archive/Brief.md'
|
|
62
|
+
bun src/index.ts library mv 'library/Notes/Draft.md' 'library/Notes/Final.md'
|
|
63
|
+
bun src/index.ts library rm 'library/Notes/Old.md'
|
|
64
|
+
bun src/index.ts library restore 'library/Notes/Old.md'
|
|
65
|
+
bun src/index.ts datasets query revenue_rows --limit 50 --response-format concise --json
|
|
53
66
|
bun src/index.ts datasets get --params-json '{"dataset_id":"revenue_rows"}'
|
|
54
67
|
bun src/index.ts datasets rows-upsert --params-json '{"dataset_id":"revenue_rows","rows":[{"name":"Acme"}]}'
|
|
55
68
|
bun src/index.ts datasets manage-create --params-json '{"title":"Revenue Rows","data_schema":{"properties":[]}}'
|
|
56
69
|
|
|
70
|
+
# Automation helpers over the platform tool surface.
|
|
71
|
+
bun src/index.ts automations ls --status active --view summary
|
|
72
|
+
bun src/index.ts automations get <automation-id>
|
|
73
|
+
bun src/index.ts automations create "Daily revenue digest" --status draft
|
|
74
|
+
bun src/index.ts automations enable <automation-id>
|
|
75
|
+
bun src/index.ts automations trigger <automation-id> --input-message "Run now"
|
|
76
|
+
bun src/index.ts automations runs ls <automation-id> --scope workspace --limit 20
|
|
77
|
+
bun src/index.ts automations runs tail <run-id> --level warn
|
|
78
|
+
bun src/index.ts automations runs cancel <run-id> --yes
|
|
79
|
+
|
|
57
80
|
# Raw platform-tool escape hatch for diagnostics and parity.
|
|
58
81
|
bun src/index.ts tools ls
|
|
59
82
|
bun src/index.ts tools schema gem_control_plane --json
|
|
@@ -81,8 +104,9 @@ Gem version commands create immutable, build-backed versions through
|
|
|
81
104
|
`gem_control_plane` `op=version_upload`, then deploy those version ids through
|
|
82
105
|
`op=version_deploy`. Provider-internal flags such as `--runtime-provider` are
|
|
83
106
|
not accepted: runtime routing is compiled server-side from the Gem contract.
|
|
84
|
-
|
|
85
|
-
|
|
107
|
+
Non-100 rollout percentages are accepted only with `--skip-promote` to stage
|
|
108
|
+
rollout intent; live promote/rollback remains fail-closed until weighted link
|
|
109
|
+
routing is enabled.
|
|
86
110
|
|
|
87
111
|
The scaffold defaults to the production API (`https://api.uruintelligence.com`).
|
|
88
112
|
Use `--api-url`, `URU_API_BASE`, or `URU_API_URL` to point it at staging or a local backend:
|
|
@@ -110,6 +134,8 @@ Headless environments can use device login or explicit token/API-key paths:
|
|
|
110
134
|
- linked project state: `.uru/project.json` with `{workspaceId, gemId, libraryPath}`
|
|
111
135
|
- no credentials are written to `.uru/project.json`
|
|
112
136
|
- Gem-scoped deploy tokens for CI use `uru tokens create|ls|revoke`
|
|
137
|
+
- `uru tokens create` requires `--name` plus exactly one lifetime flag:
|
|
138
|
+
`--expiry <duration>` or `--expires-at <iso timestamp>`
|
|
113
139
|
- created tokens default to the server-enforced `gem:deploy` scope
|
|
114
140
|
- custom `--scope`/`--scopes` values must include `gem:deploy` before the token
|
|
115
141
|
can operate Gem deploy/query/control routes
|
|
@@ -158,4 +184,8 @@ bun --filter=@uru-intelligence/cli run smoke:binaries # dry-run matrix
|
|
|
158
184
|
```
|
|
159
185
|
|
|
160
186
|
The updater command is intentionally conservative: `uru update` prints the exact
|
|
161
|
-
`npm install -g @uru-intelligence/cli@latest` command instead of self-mutating
|
|
187
|
+
`npm install -g @uru-intelligence/cli@latest` command instead of self-mutating
|
|
188
|
+
the installation. Interactive text-mode commands also perform a bounded
|
|
189
|
+
once-per-24h npm version check and write a single stderr notice when a newer CLI
|
|
190
|
+
is available. The notifier is disabled for JSON/streaming output, CI,
|
|
191
|
+
`NO_UPDATE_NOTIFIER`, and `URU_NO_UPDATE_NOTIFIER`.
|