@uru-intelligence/cli 0.5.9 → 0.6.2
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/CHANGELOG.md +33 -1
- package/README.md +63 -25
- package/dist/library.mjs +4454 -1681
- package/dist/uru.mjs +15228 -9542
- package/package.json +2 -2
package/CHANGELOG.md
CHANGED
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
|
|
7
7
|
### Breaking
|
|
8
8
|
|
|
9
|
+
- Each CLI call names one workspace through --workspace, URU_WORKSPACE_ID, or .uru/project.json, in that order. Login stores identity only. uru switch and workspace.switch are removed. OAuth approval covers all current and future workspace memberships; every call still checks access to its named workspace. — surfaces: cli, docs; reference: apps/cli/src/cli-runtime.ts
|
|
10
|
+
- Action: Use uru workspace list to find workspace IDs. Pass --workspace <workspace-id>, set URU_WORKSPACE_ID, or link the directory with uru link --workspace <workspace-id>. Remove uru switch and set_current_workspace calls. Workspace API keys remain bound to their workspace.
|
|
9
11
|
- gem.validate and gem.build return a hosted job id immediately. Pass --wait to poll gem.build_job until the compile settles. — surfaces: cli, docs; reference: skills/uru-gems/SKILL.md
|
|
10
12
|
- Action: Update agents and scripts that expected a compiler result from uru gems validate or uru gems build. Print or store hosted_job_id, then poll gem.build_job, or pass --wait.
|
|
11
13
|
- Registry-family commands (uru home, sharing, web, files, workspace, business-sql, datasets, distribution, library source) send --params-json fields exactly as the tool's input schema spells them. The camelCase-to-snake_case rewrite and its error are gone. — surfaces: cli, docs; reference: apps/cli/src/local-commands.ts
|
|
@@ -16,12 +18,14 @@
|
|
|
16
18
|
- Action: Remove uru automations dlq calls and the dlq_* operation ids from scripts. Drop --turns-limit from uru automations runs debug. Read a run's activity from node_executions in uru automations runs get or debug; steps, agent_activity and archived no longer appear.
|
|
17
19
|
- uru business-sql and its two business_sql operations are gone. Those tools now run only as company tools in the workspaces that own them. — surfaces: cli, docs; reference: URU-1566
|
|
18
20
|
- Action: Remove uru business-sql calls and the business_sql operation ids from scripts. Find the tool with uru tools ls --owner company, then run it with uru tools run <address>.
|
|
21
|
+
- uru gems share list, create, get, analytics, update, add-people, remove-person, consents, revoke and rotate are gone. A Gem is shared like every other Library item, with uru shares. — surfaces: cli; reference: skills/uru-library/SKILL.md
|
|
22
|
+
- Action: Run uru shares list|create|get|opens|update|add|remove|consents|revoke|rotate with the Gem's Library path in place of uru gems share …. Name each person with their own --email or --user in place of --people a,b, and give --expires a date (2026-10-31) or an ISO date and time in place of --expires-at. Every share write still holds its retry key, and remove, revoke and rotate need --yes.
|
|
19
23
|
- uru gems share replaces uru gems links. A share decides who may open a Gem: each person you name gets their own URL, and a share with no people has one anyone URL. promote, rollback, open, gems deploy, gems analytics and gems delegations name a share instead of a link. — surfaces: cli, docs; reference: skills/uru-gems/references/publishing.md
|
|
20
24
|
- Action: Replace uru gems links create with uru gems share create, links set-version, set-access and set-notifications with uru gems share update, and links rotate and revoke with uru gems share rotate and revoke. Pass --share-id to promote and rollback, and --share to open, gems deploy, gems analytics and gems delegations. The gem_control_plane link_* ops and the link_id parameter are removed; the error names the share op to use.
|
|
21
25
|
- uru logs --follow now streams live lines over the server-sent stream only. The one-second poll fallback and the --poll-interval-ms flag on logs are gone. — surfaces: cli; reference: docs/research/gem-debugging-2026-09.md
|
|
22
26
|
- Action: Drop --poll-interval-ms from uru logs and uru gems logs; the flag is rejected. --follow reads the recent page once, then follows the same stream the web Activity tab uses. When a Gem has no runtime log stream, the command now says so instead of polling.
|
|
23
27
|
- uru mcp config and uru mcp install now fail when no workspace resolves. Every generated MCP config writes URU_WORKSPACE_ID, because every MCP call names its workspace. — surfaces: cli; reference: apps/cli/src/mcp-commands.ts
|
|
24
|
-
- Action: Pass --workspace <workspace-id>, set URU_WORKSPACE_ID, run uru
|
|
28
|
+
- Action: Pass --workspace <workspace-id>, set URU_WORKSPACE_ID, run uru link --workspace <workspace-id> before uru mcp config or uru mcp install. Rerun uru mcp install for an existing client config that has no URU_WORKSPACE_ID.
|
|
25
29
|
- uru mcp config and uru mcp install write a direct streamable HTTP entry for the Uru MCP server (type http, the MCP URL of the CLI's environment, and the X-Uru-Workspace-Id header). The npx uru-mcp stdio bridge, its version pin and --package are gone. The default entry has no API key, so the client signs in with OAuth. The workspace must be a UUID, because the MCP server refuses any other value. uru mcp list and uru doctor flag an old npx uru-mcp entry and print the install command that replaces it, with --server-name when the entry has another name. — surfaces: cli, docs; reference: apps/cli/src/mcp-commands.ts
|
|
26
30
|
- Action: Run the uru mcp install command that uru mcp list or uru doctor prints to replace an old npx uru-mcp entry. Pass the workspace ID in UUID form. Replace --api-key <key> with --api-key-env URU_API_KEY for a headless client; the entry then references that environment variable in an Authorization header. Drop --package. Pass --mcp-url <url> for a server the CLI does not know.
|
|
27
31
|
- uru tokens create, ls and revoke (and the token alias) are gone, with the token.create, token.list and token.revoke operations. Gem deploy tokens were removed from Uru. — surfaces: cli, docs; reference: apps/cli/src/command-spec.ts
|
|
@@ -41,6 +45,8 @@
|
|
|
41
45
|
- @uru-intelligence/app 2.2.4: four recoverable background job examples ship with the package, at @uru-intelligence/app/examples/customer-workflows/scheduled-collector, review-only-draft, file-processor and approved-external-write. — surfaces: docs, sdk; reference: PR #6956
|
|
42
46
|
- @uru-intelligence/app 2.2.4: uploads.request and uploads.upload take an idempotencyKey, and the SDK keeps its automatic key after an uncertain response. uploads.status reads the saved result for a key without starting another upload, and the UruUploadStatus type is exported. A private upload stays bound to the viewer's stable identity. — surfaces: sdk; reference: PR #7042
|
|
43
47
|
- Action: After an uncertain upload response, call uploads.status with the same key, or send the request again with the same idempotencyKey, instead of starting a new upload.
|
|
48
|
+
- @uru-intelligence/app 2.3.0 adds typed get, put, delete, and paged list operations for named JSON values in existing Gem storage. Browser and server contexts use the same API with the server-selected workspace, Gem, environment, and viewer partition. — surfaces: docs, sdk; reference: packages/app/README.md
|
|
49
|
+
- Action: After protected publication verifies version 2.3.0, rebuild Gems that need the new storage API with that exact package. Declare storage in uru.json. Storage writes do not retry automatically; read the value before repeating an uncertain write.
|
|
44
50
|
- A tool call that parks for approval now names itself, and uru tools approve <question-id> --accept|--decline answers it from the shell. — surfaces: cli; reference: URU-1362
|
|
45
51
|
- Action: A parked call prints its named status (approval_required or refused_by_policy), its question id, and its write class. Answer it with uru tools approve <question-id> --accept or --decline. The id is the durable approval row's own id, so the same answer settles the card in chat. Running the command twice is safe: it prints the answer that won.
|
|
46
52
|
- Add `uru link --verify` for local link diagnostics and `uru gems links create --verify` to run browser verification after link creation. — surfaces: cli, docs; reference: apps/cli/src/workspace-commands.ts
|
|
@@ -59,6 +65,7 @@
|
|
|
59
65
|
- Action: Use uru gems bindings list|upsert|resolve to attach connections, and uru gems api describe|query|action|job to run declared Gem capabilities. Do not put connection ids in Gem source.
|
|
60
66
|
- Add MCP list/target commands, auth status, text-mode list tables, and regenerate the full CLI/MCP operations reference. — surfaces: cli, docs; reference: docs/reference/uru-cli-mcp-operations.md
|
|
61
67
|
- Action: Use uru mcp list, uru auth status, and uru docs search. List commands print tables in text mode; --json stays JSON. Prefer ${URU_API_KEY} in generated MCP config.
|
|
68
|
+
- Add sharing.share_owner_link, which makes a Gem owner's own link when it is missing; a share write that names the item's owner or the caller's own address now answers 422. — surfaces: cli, docs, sdk; reference: docs/plans/reach/PLAN.md
|
|
62
69
|
- Add TTY visual chrome for help, tables, doctor, and login without changing JSON or pipe output. — surfaces: cli; reference: apps/cli/src/visual.ts
|
|
63
70
|
- Action: No action is required. Color and box drawing appear only on a color TTY. Use --no-color, CI, or a pipe to keep the previous plain text.
|
|
64
71
|
- Add uru tools inspect and uru operations inspect, and accept --params-json @file or @- for large tool parameters. — surfaces: cli; reference: apps/cli/src/command-spec.ts
|
|
@@ -71,6 +78,8 @@
|
|
|
71
78
|
- Action: Run uru operations run gem.job_status --params-json with the Gem path and exact deployment_id and execution_id from gem.job_start or saved run detail. Repeat the read with the same IDs while pending.
|
|
72
79
|
- Register automation.node_thread_get and add first-class automations runs nodes, rubrics, evaluations, and dlq subcommands. — surfaces: cli, docs; reference: docs/reference/uru-cli-mcp-operations.md
|
|
73
80
|
- Action: Use uru automations runs nodes <run-id> <node-id> to read one run node's real chat thread, and uru automations rubrics|evaluations|dlq instead of operations run for those catalog ids.
|
|
81
|
+
- uru collections makes packs of Library items from any folders: list, get, create, update, add, remove, reorder and delete. Share a collection with uru shares create <collection>; everyone it is shared with can open the items added later. — surfaces: cli; reference: docs/plans/reach/PLAN.md
|
|
82
|
+
- uru contacts reads and manages your private contacts and companies, the same list in every workspace: list, get, search, activity, shares, create, import (a CSV file of email,name rows), update, archive, restore, delete, emails, split, merge, duplicates and export to a Dataset, and uru contacts companies for companies, their domains and suggestions. No command sends email. — surfaces: cli; reference: skills/uru-library/references/contacts.md
|
|
74
83
|
- uru gems debug-token mints a read-only debug session for one Gem deployment, good for at most 15 minutes. — surfaces: cli; reference: docs/research/gem-debugging-2026-09.md
|
|
75
84
|
- Action: Run uru gems debug-token [gem] [--deployment <id>] [--ttl-seconds <n>] to inspect a running Gem. The session authorizes that deployment's log route and nothing else, and the backend refuses it once it expires. The CLI never holds an internal provider credential.
|
|
76
85
|
- uru gems share create --role editor makes an editor share: each person you name signs in and edits the Gem from their Library. --consent and the new uru gems share consents --grant/--revoke lend the editors your connections, Datasets and secrets, as kind:id. uru sharing shares_list with no path lists the Gems other people shared with you. — surfaces: cli, docs; reference: skills/uru-gems/references/publishing.md
|
|
@@ -79,6 +88,10 @@
|
|
|
79
88
|
- Action: Nothing changes by default: each person you name is still emailed. Add --no-notify to name people without an email; they still get the Uru inbox card.
|
|
80
89
|
- uru gems share update --confirm-link-off confirms a general access change that takes a live link from people who have it: --no-anyone on a working link, or --organization or --workspaces on a link that opens for anyone. Without it the server refuses the change and says how many people opened the link. — surfaces: cli, docs; reference: skills/uru-gems/references/publishing.md
|
|
81
90
|
- Action: Tell the person what the refusal says first. Run the same command again with --confirm-link-off only when they agree. A CLI older than this release cannot send the confirmation; until you upgrade, use gem_control_plane share_update with audience_confirm_link_off: true.
|
|
91
|
+
- uru shares copy <item> makes your own copy of a prompt or context shared with you, at the root of your Personal workspace, named "{name} (copy)" (then "(copy 2)" and on). It is refused when the owner turned copies off. Each run makes another copy. — surfaces: cli; reference: docs/plans/reach/PLAN.md
|
|
92
|
+
- uru shares create, add and update take --confirm-used-items <item-id> (repeat it, or pass none). An Editor share of an automation also shares, as Editor, each Library item the automation uses that you may share, and asks first: the command prints the items Editors get too, the ones they do not and why, and the same command with the --confirm-used-items that agrees to that list. Nothing changes until you run it. — surfaces: cli; reference: docs/plans/reach/PLAN.md
|
|
93
|
+
- uru shares shares any Library item: a file, folder, Dataset, prompt, context, automation, Agent, Collection or Gem. list, get, opens, create, add, update, remove, revoke, rotate, consents and resend manage what you share. received lists everything shared with you from every workspace (--sort modified, shared or name), received get shows every way you can open one item, place puts a shortcut in one of your workspaces, leave takes it off your list, and sent, sent revoke, counts and allowance cover what you shared. — surfaces: cli; reference: docs/plans/reach/PLAN.md
|
|
94
|
+
- Action: uru gems share … is now uru shares … for every kind. uru distribution now reads results; collection commands moved to uru collections.
|
|
82
95
|
- uru tools reads the whole tool catalog — platform, personal, adopted, company and external MCP — and runs a connector tool through the MCP proxy. — surfaces: cli, docs; reference: URU-1363
|
|
83
96
|
- Action: Name a tool by its <provider>.<owner>.<connection>.<tool> address; the flat <namespace>__<tool> wire name still resolves. Use uru tools search "<task>", uru tools ls, uru tools <partial address> --help, uru tools schema|inspect <address>, uru tools run <address> -d '{...}' with --get-schema, --dry-run or --parallel, and uru tools connections. Every refusal carries a name: no_match, catalog_unavailable, namespace_unavailable, not_connected, not_adopted, approval_required, refused_by_policy.
|
|
84
97
|
- uru tools search names accounts that need repair, shows a masked account hint, and reports when repair status cannot be checked. — surfaces: cli, docs; reference: apps/cli/src/tools-catalog.ts
|
|
@@ -92,8 +105,11 @@
|
|
|
92
105
|
- Action: Branch on row_conflict, dataset_conflict or idempotency_conflict instead of reading the error message. Remove any branch on the four retired codes; Uru no longer sends them.
|
|
93
106
|
- `uru logs --follow` streams Gem runtime logs over SSE for up to 30 minutes and falls back to polling when the stream route is missing. — surfaces: cli; reference: apps/cli/src/gem-lifecycle-commands.ts
|
|
94
107
|
- Action: No action is required. `--follow-duration-ms` now accepts up to 30 minutes (was 5).
|
|
108
|
+
- uru distribution now reads the results of what you shared by name: overview, items, item, opens and follow-ups, with snooze, done and restore for follow-ups. Its collection and link commands are gone. — surfaces: cli; reference: docs/plans/reach/PLAN.md
|
|
109
|
+
- Action: Use uru collections for collections and uru shares create <collection> to share one. uru distribution list, get, create, update, delete, members-*, private-*, publish, unpublish, publication-get, link-* and analytics no longer exist.
|
|
95
110
|
- uru logs --request-id prints one ordered waterfall per request instead of a flat page. — surfaces: cli; reference: docs/research/gem-debugging-2026-09.md
|
|
96
111
|
- Action: Each step shows its offset from that request's own start and its own duration, and the header shows the request's total and worst level. Pass --json or --output stream-json to keep the raw page for a machine reader.
|
|
112
|
+
- uru shares place: --take-out replaces --default; uru shares received shows IN YOUR LIBRARY. — surfaces: cli; reference: apps/cli/src/shares-resource-commands.ts
|
|
97
113
|
- uru whoami and uru switch list each workspace beside its Organization, grouped by Organization with your own Personal workspace first. — surfaces: cli; reference: apps/cli/src/output.ts
|
|
98
114
|
- Action: uru whoami now prints the grouped workspace list under the identity rows, after a blank line, in plain and rich output. uru switch lists workspaces grouped by Organization: each plain row gains an Organization column before the current mark, and the rich table gains an ORGANIZATION column. Scripts that read either command's text should read --json, which keeps the server's answer and order.
|
|
99
115
|
|
|
@@ -104,6 +120,15 @@
|
|
|
104
120
|
- Action: Rebuild a Gem with @uru-intelligence/app 2.2.4 after it is published. Until then, the provider gateway sends these calls again inside its 20 second window for Gems built with an older SDK.
|
|
105
121
|
- @uru-intelligence/app 2.2.4: actions.run waits out an action that answers pending. It reads the execution's status until the action ends, inside the caller's signal and timeoutMs, and returns its result or throws its final failure. The background-job coordinator also keeps a job record that another deployment of the same Gem saved, so a new release can observe, wait on, cancel and resume the job. — surfaces: sdk; reference: PR #7198
|
|
106
122
|
- Action: Rebuild a Gem with @uru-intelligence/app 2.2.4 after it is published. Pass the job handler's signal to actions.run so a canceled job stops waiting.
|
|
123
|
+
- @uru-intelligence/app 2.2.5: a call that may be sent again is also sent again after Cloudflare's own 520 to 527 or 530, which Cloudflare gives when Uru's origin was down, refused or dropped the connection, or did not answer in time. It uses the lost-answer waits, as after a 502 or 504. — surfaces: sdk; reference: PR #8484
|
|
124
|
+
- Action: Rebuild a Gem with @uru-intelligence/app 2.2.5 after it is published. A Gem job built with an older SDK still gets its next attempt from the platform after such an answer.
|
|
125
|
+
- @uru-intelligence/app 2.2.5: a query is sent again, with a new key, after a temporary answer (HTTP 408, or a 503 that is not final), such as the API's 503 when its database pool is full for a moment. It uses the lost-answer waits. A 429 keeps its rate-limit waits, and an action or a job start keeps a temporary answer as its result. — surfaces: sdk; reference: PR #8476
|
|
126
|
+
- Action: Rebuild a Gem with @uru-intelligence/app 2.2.5 after it is published. A Gem job built with an older SDK still gets its next attempt from the platform after a temporary answer.
|
|
127
|
+
- @uru-intelligence/app 2.2.5: jobs.progress, jobs.checkpoint and a Dataset row write with a key are sent again, at most twice, after a 500 that carries no Uru error code. Uru answers its own 500 with an error code, so such a 500 came from a proxy in front of Uru, as while an API replica starts. A 500 with Uru's error code is still final. A job update, a file call or an upload that is not accepted now keeps the answer's JSON body on the error. So a job update that gets a final 503, or a 502 or 504 with Uru's own error code, now ends the job, the same as any other call. These calls carry x-uru-sdk-resends-bare-500: 1 (unless dampers.maxTransportRetries is 0), so the provider gateway does not send a bare 500 again too. — surfaces: sdk; reference: PR #8587, PR #8619
|
|
128
|
+
- Action: Rebuild a Gem with @uru-intelligence/app 2.2.5 after it is published. A retry-safe Gem job built with an older SDK also gets its next attempt after a 500 with no Uru error code, and Uru's own 500 still ends it, once its deployment runs the current Gem runtime image: the runtime reads the 500 itself. Until a Gem is rebuilt, the provider gateway sends a bare 500 again for its job updates and keyed writes, inside its 20 second window and at most 3 more times, so such a Gem also survives a proxy 500.
|
|
129
|
+
- `uru tools run` and `uru tools schema` call a proxy action such as `docs` through Executor by its exact call name when the catalog gives it no canonical address. A failed proxy action exits nonzero with `tool_execution_failed` and keeps provider text hidden. _(internal)_ — surfaces: cli; reference: apps/cli/src/tools-commands.ts
|
|
130
|
+
- `uru tools run` prints a proxy action's own result again, such as the `docs` result with its `content` and `structuredContent`, in place of the Executor `execute` wrapper (`structuredContent.result.ok`, `data`, `executionId`). When Executor keeps a large result behind a retained handle, the CLI reads the complete result through the `uru tools output` route and prints it. — surfaces: cli; reference: apps/cli/src/tools-mcp.ts
|
|
131
|
+
- `uru tools run` prints the complete action result again when the server keeps a large result behind a retained handle. The CLI reads the handle through the `uru tools output` route, so `--json` output keeps the action's own envelope, for example the Gem result envelope of `gem.inspect`. — surfaces: cli; reference: apps/cli/src/client.ts
|
|
107
132
|
- A connector call the host parked or refused now reaches the shell with its status and its resumable question id, instead of a sentence the CLI had to read for the word approval. — surfaces: cli; reference: https://linear.app/uru-intelligence/issue/URU-1362
|
|
108
133
|
- Action: Answer a parked call with uru tools approve <question-id> --accept or --decline. The id is printed with the refusal.
|
|
109
134
|
- Approved connected tools now run from uru tools run when their provider name differs from their catalog name. — surfaces: cli; reference: apps/cli/src/tools-mcp.ts
|
|
@@ -114,8 +139,10 @@
|
|
|
114
139
|
- Action: Pass the automation id too: uru automations runs cancel <run-id> <automation-id> --yes, or --run-id/--automation-id. The run id alone was never enough; op=cancel requires both.
|
|
115
140
|
- Clear automation runs-list usage when automation_id is missing, skip confirm on delete --preview, accept snake_case registry aliases, emit structured token create JSON, and register sharing.labels_list / sharing.label_create ops. — surfaces: cli, docs; reference: apps/cli/src/local-commands.ts
|
|
116
141
|
- Action: uru automations runs ls now requires <automation-id> and prints usage instead of an opaque schema error. Preview deletes no longer need --yes. Prefer published CLI >= 0.4.15 for labels aliases, snake_case registry params, and token create JSON id.
|
|
142
|
+
- CLI tool calls use current Executor search and preserve raw action results, media, and metadata. — surfaces: cli; reference: apps/cli/src/tools-mcp.ts
|
|
117
143
|
- Connector tools now run after device sign-in by using the saved MCP grant, and HTTP 401 reports an authentication error. — surfaces: cli; reference: PR #7523
|
|
118
144
|
- Action: Install CLI 0.5.7. An active device sign-in needs no new approval.
|
|
145
|
+
- Expose a fixed public Executor with `execute` and `skills`; search and describe authorized actions inside `execute`, then call the exact returned path while preserving account identities and compact action contracts. — surfaces: cli, sdk; reference: docs/research/tool-list-refresh-2026-10-08.md
|
|
119
146
|
- JSON output for destructive CLI operations refused without `--yes` now includes `confirmationRequired: true` and a copy-paste `suggestedCommand` with `--yes` appended. — surfaces: cli; reference: apps/cli/src/cli-runtime.ts
|
|
120
147
|
- Action: No action is required. Agents and scripts can read `suggestedCommand` from JSON errors instead of guessing the confirmation flag.
|
|
121
148
|
- Keep the CLI login when you switch workspace. A leftover workspace from a previous switch no longer poisons the next login. `uru switch` marks the current workspace in the list. — surfaces: cli; reference: apps/cli/src/oauth-credential.ts
|
|
@@ -138,13 +165,18 @@
|
|
|
138
165
|
- Action: Nothing to do. If an older server answers with an envelope this CLI does not read, the error now says the operation may have completed and to check with uru library ls before retrying.
|
|
139
166
|
- Tip library_fs read refusals toward library_query, and ship labels/list aliases that need a live catalog with list_labels/create_label. — surfaces: cli, docs; reference: PR #5379 CF001; PR #5381 staging labels catalog
|
|
140
167
|
- Action: Prefer published CLI >= 0.4.15. Use uru sharing labels_list / label_create (or operations sharing.labels_list / sharing.label_create). library_fs read ops should point callers at library_query instead of an opaque safety refusal.
|
|
168
|
+
- uru init links the directory to the Library path the Gem got. A path whose name is an id now gets the Gem's real name, and the link follows it. — surfaces: cli; reference: apps/cli/src/gem-lifecycle-commands.ts
|
|
141
169
|
- uru logs --follow uses the saved delivery position after the recent page and after reconnect. Delayed lines keep their original times, appear once, and cannot be skipped by mixed time forms. — surfaces: cli; reference: apps/cli/src/gem-lifecycle-commands.ts
|
|
142
170
|
- uru operations inspect <id> and uru <family> <verb> --get-schema print the operation's real input schema, narrowed to its op, with the op's examples, instead of Input schema: {}. — surfaces: cli; reference: URU-1425
|
|
143
171
|
- Action: Nothing to change. A not-logged-in inspect prints a pointer to uru login and exits 0; operations ls stays local and schema-free.
|
|
144
172
|
- uru operations run and inspect accept the tool name that uru operations ls prints beside each operation id, invalid_tool_arguments names the failing fields of the operation that ran, and a retryable failure says it is temporary and how to retry a write safely. — surfaces: cli; reference: apps/cli/src/tool-failure-guidance.ts
|
|
145
173
|
- Action: Nothing to change. uru operations run home_pins_query --params-json '{"op":"pins_list"}' now runs home.pins_list; a tool name without a known op lists its operation ids. --json errors now carry retryable and the server details.
|
|
174
|
+
- uru push of a Gem source larger than one request no longer fails with an HTML 413 error. The push sends its files in parts of at most 196,608 bytes and then saves them all as one Edit. — surfaces: cli; reference: apps/cli/src/gem-source-commands.ts
|
|
175
|
+
- Action: No action is required after the server update reaches your environment. A push in parts belongs to one source revision: if someone edits the Gem during the upload, the save stops, even with --force. Run uru pull, then push again.
|
|
146
176
|
- uru tools run returns a failure exit code when a platform tool or connected tool fails, including a remote tool error result. — surfaces: cli, release; reference: apps/cli/src/tools-commands.ts
|
|
147
177
|
- Action: Check the command exit code before retrying a tool call. Private provider error details stay hidden.
|
|
178
|
+
- Use explicit Gem declaration fields from tool discovery. Distinguish native platform roles from account-bound connector roles. — surfaces: cli, docs; reference: skills/uru-gems/references/uru-json.md#tool-discovery-to-gem-calls
|
|
179
|
+
- Action: Use gemDeclaration for source, then bind each connector role to the selected account. Keep Executor paths out of Gem source.
|
|
148
180
|
- Use the shared SemVer contract when deciding whether to show a CLI update notice. — surfaces: cli, release; reference: docs/plans/cli-sdk-native-release-modernization/PLAN.md
|
|
149
181
|
- Action: No action is required; prerelease and malformed registry versions now follow the same validation and ordering rules as release publication.
|
|
150
182
|
|
package/README.md
CHANGED
|
@@ -10,7 +10,8 @@ staging smoke gates are all green; run it from the repo with Bun while iterating
|
|
|
10
10
|
cd apps/cli
|
|
11
11
|
bun src/index.ts login
|
|
12
12
|
bun src/index.ts whoami --json
|
|
13
|
-
bun src/index.ts
|
|
13
|
+
bun src/index.ts workspace list
|
|
14
|
+
bun src/index.ts --workspace <workspace-id> whoami
|
|
14
15
|
```
|
|
15
16
|
|
|
16
17
|
The CLI is registry-backed. Dedicated Gem/Library/Dataset/Automation commands
|
|
@@ -25,6 +26,13 @@ readiness, access, and the final published state.
|
|
|
25
26
|
## Current commands
|
|
26
27
|
|
|
27
28
|
```bash
|
|
29
|
+
# Discover visible skill packages and read an exact version.
|
|
30
|
+
bun src/index.ts skills list --source uru --json
|
|
31
|
+
bun src/index.ts skills read uru-gems --version <version-from-list>
|
|
32
|
+
bun src/index.ts skills read uru-gems --version <version-from-list> --path references/example.md --json
|
|
33
|
+
bun src/index.ts skills list --source gem --gem-id <gem-id> --version <ready-version-id>
|
|
34
|
+
bun src/index.ts skills read <name> --source gem --gem-id <gem-id> --version <ready-version-id>
|
|
35
|
+
|
|
28
36
|
# Link the current directory to a server-side Gem. Writes only .uru/project.json.
|
|
29
37
|
bun src/index.ts link --workspace <workspace-id> --path 'library/Golden Gems/My Gem.gem'
|
|
30
38
|
|
|
@@ -48,11 +56,11 @@ bun src/index.ts gems versions diff 'library/Golden Gems/My Gem.gem' 13 14
|
|
|
48
56
|
bun src/index.ts gems versions restore 'library/Golden Gems/My Gem.gem' 12
|
|
49
57
|
bun src/index.ts gems releases create 'library/Golden Gems/My Gem.gem' 14
|
|
50
58
|
bun src/index.ts gems releases list 'library/Golden Gems/My Gem.gem'
|
|
51
|
-
bun src/index.ts
|
|
52
|
-
bun src/index.ts
|
|
53
|
-
bun src/index.ts
|
|
54
|
-
bun src/index.ts
|
|
55
|
-
bun src/index.ts
|
|
59
|
+
bun src/index.ts shares create 'library/Golden Gems/My Gem.gem' --name Client --version 14
|
|
60
|
+
bun src/index.ts shares update <share-id> --version <version-id>
|
|
61
|
+
bun src/index.ts shares create 'library/Golden Gems/My Gem.gem' --name Co-editors --role editor --email ana@example.com --consent connection:<connection-id>
|
|
62
|
+
bun src/index.ts shares consents <share-id> --grant dataset:<dataset-id> --revoke secret:<secret-id>
|
|
63
|
+
bun src/index.ts shares received
|
|
56
64
|
bun src/index.ts gems runs list 'library/Golden Gems/My Gem.gem'
|
|
57
65
|
bun src/index.ts gems runs show 'library/Golden Gems/My Gem.gem' <run-id>
|
|
58
66
|
bun src/index.ts gems logs 'library/Golden Gems/My Gem.gem' --release <release-id>
|
|
@@ -86,9 +94,10 @@ bun src/index.ts datasets jobs revenue-rows --limit 20
|
|
|
86
94
|
bun src/index.ts datasets rows --params-json '{"op":"upsert","dataset_id":"revenue-rows","rows":[{"row_id":null,"fields":{"name":"Acme"}}]}'
|
|
87
95
|
bun src/index.ts datasets create --params-json '{"title":"Revenue Rows","properties":[{"clientKey":"name","name":"Name","type":"title","required":true,"nullable":false,"position":0,"config":{}}]}'
|
|
88
96
|
bun src/index.ts datasets sql --params-json '{"sql":"SELECT 1"}'
|
|
89
|
-
bun src/index.ts
|
|
90
|
-
bun src/index.ts
|
|
91
|
-
bun src/index.ts distribution
|
|
97
|
+
bun src/index.ts collections create --name "Client pack" --item 'library/Board.pdf'
|
|
98
|
+
bun src/index.ts shares create 'library/Client pack' --email ana@example.com
|
|
99
|
+
bun src/index.ts distribution items --not-opened
|
|
100
|
+
bun src/index.ts contacts list --opened last-7-days
|
|
92
101
|
|
|
93
102
|
# Automation helpers over the platform tool surface.
|
|
94
103
|
bun src/index.ts automations ls --limit 100
|
|
@@ -140,6 +149,20 @@ bun src/index.ts complete fish
|
|
|
140
149
|
bun src/index.ts complete powershell
|
|
141
150
|
```
|
|
142
151
|
|
|
152
|
+
`skills` uses the same authorized, versioned reader as the public MCP `skills`
|
|
153
|
+
tool. Uru skills use the package version returned by `skills list`. Gem skills
|
|
154
|
+
require an exact ready Version ID. Each read checks current access on the
|
|
155
|
+
server. `--path` names a file inside the selected skill package; it never reads
|
|
156
|
+
a local file. Text reads print the file content. `--json` includes its metadata
|
|
157
|
+
and content. `skills list` supports `--offset` and `--limit` for paging.
|
|
158
|
+
|
|
159
|
+
`docs` searches the local operation reference. It does not read skill files.
|
|
160
|
+
`uru --json docs gem` returns `{ "query": "gem", "text": "..." }`.
|
|
161
|
+
|
|
162
|
+
Authenticated API, MCP, and OAuth data requests reject HTTP redirects. Configure
|
|
163
|
+
their final endpoint URL. Browser sign-in keeps the OAuth authorization redirect
|
|
164
|
+
flow.
|
|
165
|
+
|
|
143
166
|
Generated MCP configs connect straight to the Uru MCP server over streamable
|
|
144
167
|
HTTP: `"type": "http"` and the MCP URL of the CLI's environment
|
|
145
168
|
(`https://mcp.uruintelligence.com/mcp` for production). Pass `--mcp-url <url>`
|
|
@@ -155,8 +178,7 @@ references that environment variable (`${URU_API_KEY}` for Claude Code,
|
|
|
155
178
|
|
|
156
179
|
Every entry sends the `X-Uru-Workspace-Id` header, because every MCP call names
|
|
157
180
|
its workspace. `mcp config` and `mcp install` fail when no workspace resolves
|
|
158
|
-
from `--workspace`, `URU_WORKSPACE_ID`, the linked project
|
|
159
|
-
`uru switch`.
|
|
181
|
+
from `--workspace`, `URU_WORKSPACE_ID`, or the linked project.
|
|
160
182
|
|
|
161
183
|
The workspace must be a UUID, because the MCP server refuses any other value
|
|
162
184
|
in the workspace header.
|
|
@@ -176,11 +198,27 @@ not select it.
|
|
|
176
198
|
|
|
177
199
|
`uru tools search` uses the same server index as chat and MCP. It returns five
|
|
178
200
|
matches by default, with a maximum of 50. Use the returned `--cursor` for the
|
|
179
|
-
next page.
|
|
201
|
+
next page. Search lists actions and account details without loading their input
|
|
202
|
+
rules. `uru tools schema` loads the exact selected action schema.
|
|
180
203
|
`uru tools output` reads the complete redacted JSON behind a retained result
|
|
181
204
|
handle. It uses the logged-in user and workspace, and reads bounded pages.
|
|
182
205
|
`uru tools run` sends its stable action reference and arguments. Platform
|
|
183
206
|
operation calls do not take an `op` argument; the server sets that value.
|
|
207
|
+
`uru tools run` prints the action's complete result. When the execute route
|
|
208
|
+
answers a large result with a retained handle, the command reads the complete
|
|
209
|
+
redacted JSON through the same route as `uru tools output`, then prints it.
|
|
210
|
+
|
|
211
|
+
For a proxy action, the CLI uses the fixed MCP `execute` tool. Schema reads use
|
|
212
|
+
`tools.search.describe({ paths: [path] })` and read the first returned item.
|
|
213
|
+
Calls use the exact `tools.<path>(parameters)`
|
|
214
|
+
Executor path from the authorized catalog: the canonical address, or the call
|
|
215
|
+
name when the catalog has no canonical address (for example `docs`). The CLI
|
|
216
|
+
sends the action reference and workspace with each call. `uru tools run` prints
|
|
217
|
+
the action's own `tools/call` result (`content`, `structuredContent`, `_meta`),
|
|
218
|
+
not the Executor `execute` wrapper. When Executor keeps a large result behind a
|
|
219
|
+
retained handle, the command reads the complete result through the same route
|
|
220
|
+
as `uru tools output`. Platform and connector actions still use the exact
|
|
221
|
+
action execute route.
|
|
184
222
|
|
|
185
223
|
`tools run --parallel` accepts a JSON array of input objects. Calls run in order.
|
|
186
224
|
If one fails, the command prints completed results and the failed input index.
|
|
@@ -189,17 +227,17 @@ Check those results before you retry a call that can change data.
|
|
|
189
227
|
Gem Version commands save and inspect frozen checkpoints that group coherent
|
|
190
228
|
Edits. The Version name and message are optional. Hosted Gems materialize one
|
|
191
229
|
Version with `releases create`; embedded Gems do not need Releases. Neither
|
|
192
|
-
action changes a public URL. Only `
|
|
193
|
-
Version a
|
|
194
|
-
routing is compiled server-side.
|
|
195
|
-
|
|
196
|
-
`
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
230
|
+
action changes a public URL. Only `shares update --version`, `promote` and
|
|
231
|
+
`rollback` change the Version a share serves. Provider-internal flags are not
|
|
232
|
+
accepted: runtime routing is compiled server-side.
|
|
233
|
+
|
|
234
|
+
`uru shares` shares every kind of Library item, Gems included. `shares create
|
|
235
|
+
--role editor` makes an editor share of a Gem: each person you name signs in
|
|
236
|
+
and edits it. It lends the editors only the connections, Datasets and secrets
|
|
237
|
+
named by `--consent`, or later by `shares consents --grant` and `--revoke`,
|
|
238
|
+
each as `kind:id` (kind is connection, dataset or secret). Only the owner of
|
|
239
|
+
each one can lend it. `shares received` lists everything other people shared
|
|
240
|
+
with you, from every workspace you are in.
|
|
203
241
|
|
|
204
242
|
The scaffold defaults to the production API (`https://api.uruintelligence.com`).
|
|
205
243
|
Use `--api-url`, `URU_API_BASE`, or `URU_API_URL` to select the API host for another environment. Use the `api-` host, not the website host:
|
|
@@ -224,7 +262,7 @@ explicit token/API-key paths:
|
|
|
224
262
|
- `uru login --token ...` stores the token in OS credential storage when available: macOS Keychain, Linux `secret-tool`/libsecret, or Windows Credential Manager via PowerShell
|
|
225
263
|
- `uru login --token ... --insecure-storage` is the explicit plaintext fallback
|
|
226
264
|
- Linux token storage requires `secret-tool` (often installed as `libsecret-tools`); Windows token storage requires PowerShell access to Credential Manager. If the OS store is unavailable, login fails closed with an actionable `--insecure-storage` fallback message.
|
|
227
|
-
- browser/device credentials renew within five minutes of session expiry.
|
|
265
|
+
- browser/device credentials renew within five minutes of session expiry. Naming a workspace is request scope and does not rotate the login.
|
|
228
266
|
- interactive commands with missing or expired stored auth start browser login and then retry the command without printing login success text to stdout
|
|
229
267
|
- `--no-input` disables implicit login and exits `4` when authentication is missing
|
|
230
268
|
- `uru logout` invalidates the current CLI session, revokes the renewable OAuth credential, and clears local auth state
|
|
@@ -236,7 +274,7 @@ explicit token/API-key paths:
|
|
|
236
274
|
- linked project state: `.uru/project.json` with `{workspaceId, gemId, libraryPath}`
|
|
237
275
|
- no credentials are written to `.uru/project.json`
|
|
238
276
|
- `uru auth status` reports logged-in / workspace / storage / expiry and never prints a JWT. `uru whoami` stays a server identity call.
|
|
239
|
-
- `uru
|
|
277
|
+
- `uru link` binds this directory to one Gem. Each call takes its workspace from `--workspace`, then `URU_WORKSPACE_ID`, then `.uru/project.json`. Login stores identity only. Workspace API keys stay bound to their workspace.
|
|
240
278
|
- The screen says Agent; Library paths and schemas say persona (`library/Agents/Name.persona.md`).
|
|
241
279
|
- Gem secrets use `uru secrets put|ls|rm`; values are write-only
|
|
242
280
|
- `uru env pull` writes a metadata-only template, never downloads remote secret
|