@uru-intelligence/cli 0.6.4 → 0.7.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/CHANGELOG.md CHANGED
@@ -1,25 +1,56 @@
1
1
  # Uru CLI changelog
2
2
 
3
- > Generated from `changes/cli/*.json`. Do not edit release rows by hand.
3
+ > Generated from `apps/cli/changes/*.json`. Do not edit release rows by hand.
4
4
 
5
5
  ## Unreleased
6
6
 
7
7
  ### Breaking
8
8
 
9
+ - `uru notifications set-in-app <channel>` takes `--activity on|off` in place of `--inbox on|off`, because Home's feed is now called Activity. The old `--inbox` flag is removed. — surfaces: cli, docs; reference: Home build plan H08 (Activity rename)
10
+ - `uru tools run` calls every action through the MCP `execute` tool, as it already did for proxy actions. Platform, connector and Gem actions no longer use `POST /api/tool-control-plane/actions/execute`. Their result now prints in the proxy action shape: the action value as `structuredContent` and the call workspace as `_meta`, not the old `success` and `result` envelope. A failed call no longer prints `success: false`; it exits with a nonzero code and names its error code. `uru tools inspect` and `--dry-run` name `mcp_proxy_tools_call` as the path for every action. A refusal with the code not_found, forbidden, blocked_by_rule or invalid_input keeps its exit code (5, 6 or 7). It waits up to 5.5 minutes for one call; when that wait ends first, the call fails with tool_outcome_unknown, because the action can still complete. A bad-input refusal (invalid_input or invalid_tool_arguments) prints Uru's sentence, which names the field. In a chat sandbox, an action that needs approval fails with approval_required, runs nothing and makes no approval card. The command reads URU_PROXY_URL after --mcp-url, and knows the review-slot MCP hosts. `uru distribution note create-gmail-draft` is removed. It runs nothing and names the saved note path: `uru distribution note start`, `update` and `sync`. — surfaces: cli, docs; reference: apps/cli/src/tools-commands.ts
11
+ - Action: Read `.structuredContent` in place of `.result` from `uru tools run` for platform, connector and Gem actions (jq: `.result` becomes `.structuredContent`), and read the exit code in place of `.success`. For an API host the CLI does not know, pass `--mcp-url <url>` or set `URU_PROXY_URL`. After `tool_outcome_unknown`, check the provider and the saved run before you repeat a write. In a chat sandbox, call an action that needs approval as a tool in the chat. In place of `uru distribution note create-gmail-draft`, run `uru distribution note start <follow-up-id>`, then `uru distribution note update <draft-id> --to <email> --subject <text> --body <text> --version <n>`, then `uru distribution note sync <draft-id> --version <n> --idempotency-key <key>`. The saved note uses your first Gmail connection.
9
12
  - `uru tools run` prints a proxy action's value as structuredContent and the call workspace as _meta. The value is the action's structuredContent, or its whole result when it has none. As in Executor v2, the action's own text, media, resource blocks and provider _meta are not printed, so the command no longer prints them as content. — surfaces: cli; reference: apps/cli/src/tools-mcp.ts
10
13
  - Action: Read .structuredContent for a proxy action's data. Do not expect .content blocks (text, media or resources) from a proxy action. A text-only action's result is now inside .structuredContent.
11
14
  - A saved Gem Version no longer goes live by itself. Until now a Share that follows the latest Version moved to each new ready Version. Now such a Share serves the Gem's published Version, and only a publish moves it: the new `gem.version_publish` operation (`gem_control_plane` op `version_publish`) and the new `uru publish` command. With no `version_id` a publish builds and saves Current, then moves every following Share to that Version; with the Gem's `path` and `files` it also writes the files first, so one call writes, builds, saves and publishes. With a `version_id` it publishes that saved Version and builds nothing. `gem.version_save` and `gem.release_create` move no Share. The first following Share of a Gem is still its first publish. Pinned Shares, schedules and event rules do not change, and a Gem whose source is GitHub keeps its own publish policy. — surfaces: cli, docs; reference: Owner decision 2026-11-17 (Gem flow, Phase 2: only Publish)
12
15
  - Action: Where a script or agent called `version_save` to put a change in front of people, call `version_publish` in its place (it takes the same `path`, `files`, `message` and `name`), or call it after the save. Read `live` in the answer: `true` means every following Share serves the Version. A new following Share starts on the published Version, not on Current; publish first if the Share must show newer work.
16
+ - Agents can no longer answer approvals. The operations automation.approval_respond and sharing.access_request_answer and the command uru shares requests answer are removed. uru shares requests list still lists the requests. — surfaces: cli, docs; reference: docs/reference/uru-cli-mcp-operations.md
17
+ - Action: Answer automation approvals and share access requests in the Uru screens. Remove calls to the two operations and to uru shares requests answer from agents and scripts.
18
+ - Collections are Bundles everywhere you type a name. The tools `collections` and `collections_query` are now `bundles` and `bundles_query`, the operation ids `collections.*` are now `bundles.*`, and `uru collections` is now `uru bundles`. Items move with `uru bundles items add|remove|reorder` (the operation ids `bundles.items_add`, `bundles.items_remove` and `bundles.items_reorder`). A Bundle is named by one input, `bundle`: its Library item id or its Library path. `uru shares` and `uru distribution` take `--kind bundle` in place of `--kind collection`. Answer keys (`collectionId`, `collections`) and error codes do not change. — surfaces: cli, docs; reference: Revision 4 build plan B02 (= M16: rename collections to bundles in operations, CLI and skills)
19
+ - Action: Use the new names. An old tool name answers 'collections was renamed. Use bundles.' with the code tool_renamed. `collection_id` or `collection_path` answers that `bundle` replaced them. `uru collections` answers 'Unknown command: collections. Use uru bundles.' with exit code 7. `uru operations run|inspect` and `uru tools run|inspect|schema` answer an old operation id or tool name with the same 'was renamed. Use ...' sentence and exit code 7.
13
20
  - 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
14
21
  - 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.
22
+ - Each CLI command now has one name. uru automations run is the one way to start a run (automations.run), and uru automations list lists the automations you can open (automations.list, with --audience visible|mine|workspace and --cursor for the next page). uru automations runs list and uru automations evaluations list replace the ls forms (rubrics move to uru rubrics list, see the rubrics family entry). New commands add, change and delete a trigger: uru automations triggers create|update|delete (automations.triggers_create, automations.triggers_update, automations.triggers_delete). uru library sources replaces uru library source, and uru library sources rm removes a source. uru tools approve is gone: a person answers an approval only in the Uru chat that asks for it. LIST_WORKSPACE_MEMBERS is gone: use workspace_members_list. — surfaces: cli, docs; reference: Revision 4 build plan M13 (CLI cleanup)
23
+ - Action: An old command name runs nothing and exits 7 with the new name, for example uru automations trigger and uru automations start (use uru automations run), uru automations ls (use uru automations list), uru automations runs ls (use uru automations runs list), uru automations rubrics ls (use uru rubrics list), uru library delete (use uru library rm), uru library move (use uru library mv), uru library cat (use uru library read), uru tools list (use uru tools ls), uru secrets set (use uru secrets put), uru mcp add (use uru mcp install), uru secret and uru file (use uru secrets and uru files). The old operation ids automation.run_start, automation.trigger_create, automation.trigger_update and automation.trigger_delete answer with automations.run and automations.triggers_create, _update and _delete. LIST_WORKSPACE_MEMBERS answers tool_renamed with workspace_members_list. Answer an approval in Uru chat.
24
+ - Every Gem, Dataset and automation operation id now starts with a plural family word: gem.<verb> is gems.<verb>, dataset.<verb> is datasets.<verb> and automation.<verb> is automations.<verb> (for example gems.inspect, datasets.query, automations.get). Rubrics are a family of their own: rubrics.list, rubrics.get, rubrics.create, rubrics.update, rubrics.archive, rubrics.delete, rubrics.assign and rubrics.unassign, with the CLI command uru rubrics list|get|create|update|archive|delete|assign|unassign. automations.delete and rubrics.delete take dry_run in place of preview_only: dry_run true shows what would change and changes nothing. — surfaces: cli, docs; reference: Revision 4 build plan M15 (plural ids, rubrics family, dry_run)
25
+ - Action: An old operation id runs nothing and answers with the new id, for example gem.inspect (use gems.inspect), dataset.query (use datasets.query) and automation.rubric_delete (use rubrics.delete); the CLI exits 7 and a stored action answers 409 tool_renamed. uru automations rubrics <verb> runs nothing and exits 7 with uru rubrics <verb>. A call that sends preview_only is refused with words that name dry_run; an older uru CLI that sends it must be updated. Saved deny and ask rules on an old id or on uru automations rubrics get the same rule with the new words.
26
+ - Gem source writes (`uru gems fs write|edit|mkdir|rm|mv|cp`, `uru gems write`, `uru gems versions restore`) send the exact state they start from with `--base <currentSourceRevisionId>`, or `--force` to overwrite the newest state on purpose. `uru gems versions save`, `uru deploy` and `uru publish` without `--version` save one exact state from `--source <id>` or the linked folder's source lock. `uru push --force` names the state it overwrites. A stale or base-less write is refused and changes nothing. — surfaces: cli; reference: URU-1958
27
+ - Action: Pass --base (or --force) to one-shot Gem writes and --source to Version saves outside a linked folder, or use `uru pull` and `uru push`.
15
28
  - 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
16
29
  - 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.
30
+ - Gems have one check before Publish (scan v1, 11 rules). `uru gems scan <version> [gem]` runs it without Publish; `uru publish` runs the same check and stops when a critical finding's rule is on. Each rule starts off, so today no finding stops Publish. `gems.security_scan` now takes `version_id` and answers a `scan` object; its `deployment_id`, `source_revision_id`, `build_id`, `deep` and `blocking` inputs are removed. — surfaces: cli, docs; reference: URU-2147
31
+ - Action: Call `gems.security_scan` with `version_id` (a UUID, N or vN). Read the result from `scan.findings`; each finding has `rule_id`, `severity`, `reason`, `next_step` and `blocks`.
32
+ - Lists page with a cursor, not an offset. `library_query` op=ls and op=search, `contacts_query` op=list, `dataset_query`, `dataset_sql` and `tools.search` take `cursor` and answer the next page's cursor (`nextCursor`, `next_cursor`, or `next.cursor` for `tools.search`); `offset` is gone from them. A Library, contacts or Dataset cursor works only for the workspace, person and filters that made it; a `tools.search` cursor works only with the same query and namespace. Any other list refuses it. `uru library ls`, `uru library search`, `uru datasets ls`, `uru automations ls` and `uru contacts list` take `--cursor` in place of `--offset`, and `uru datasets query` has no `--offset`. A byte position for reading one file (`library_query` op=read `offset`) does not change. — surfaces: cli, docs; reference: Revision 4 build plan M06 (cursor paging; delete offset)
33
+ - Action: Send the cursor a page returns instead of an offset. `--offset` on a command that now takes `--cursor` answers 'Unknown flag: --offset. Use --cursor.' with exit code 7.
34
+ - New agents family. agents.list lists the Agents you can open, with an optional search text q and cursor pages. agents.get reads one Agent: its name, role, description, instructions, model, status, locks and version. agents.create makes an Agent with a name and what it does (description), and optionally instructions, a role, a model, a folder and an idempotency_key for a safe retry. agents.update changes only the fields you send, and expected_version refuses a change made since your read. Each Agent is named by one input, agent: an item id or a Library path. On the CLI: uru agents list|get|create|update --data '{...}'. library.write and library.patch no longer write an Agent as JSON, and the old Agent tools persona_query, search_personas, get_persona, persona_manage, create_persona and update_persona are gone. — surfaces: cli, docs; reference: Revision 4 build plan M12 (agents family)
35
+ - Action: Make and change Agents with agents.create and agents.update in place of an Agent JSON written with library.write or library.patch. A call to an old Agent tool answers tool_renamed with the call that replaces it: persona_query, search_personas and get_persona name agents_query; create_persona names agents op=create; update_persona and persona_manage name agents op=update; delete_persona names library_fs op=rm. A saved automation step that names create_persona, update_persona or persona_manage is not changed to agents, because agents can do more: give the step the agents tool by choice. Only a person who can edit an Agent changes it. A locked part changes for no one, the owner included, until the owner unlocks it: identity covers name, role, description and instructions, behavior covers model, access covers status. agents.update sets only the tools lock, only the owner sets it, and in an agent run locks answer needs_person. A Gem cannot use the agents family.
36
+ - New operations close small gaps with the Uru screens. library.import imports one skill from its files (uru library import <file.zip|folder>, with --dry-run for the report). skills.from_file turns a Markdown or plain text file into a skill (uru skills from-file <file> --name <name>). skills.inventory lists every skill of the workspace for a workspace owner or admin (uru skills inventory). rules.level_get and rules.level_set read and change your own asking level (uru rules level-get, uru rules level-set --data '{"level":"on_write"}'); only you change it: an agent in a chat gets needs_person, a key cannot change it, and an ask that is already open stays open until you answer it in the Uru chat. web.access_list and web.access_take_back list the websites the sandbox of a chat may reach and take one back (uru web access-list, uru web access-take-back). skills.settings and a skill read now use the words of the skill page, in what they take and what they answer: people_who_can_open, linked_agents, whole_workspace and in_my_chats. web.access_list names the person who allowed each website. — surfaces: cli, docs; reference: Revision 4 build plan M14 (small gaps)
37
+ - Action: uru skills import runs nothing and exits 7 with uru library import. The skills.settings inputs openers and workspace are refused, on every surface, with an answer that names people_who_can_open and whole_workspace; the uru skills settings flags do not change.
38
+ - One payload flag, one preview flag and three new exit codes. `--data` replaces `--params-json`, `--args-json` and `-d` on every command. `--dry-run` replaces `--preview` on `uru automations delete` and `uru automations rubrics delete`. An error with the code not_found exits 5, forbidden or blocked_by_rule exits 6, and invalid_input exits 7. An unknown flag, a missing value, a wrong argument or bad `--data` JSON also exits 7, not 1. — surfaces: cli, docs; reference: docs/reference/uru-cli-mcp-operations.md
39
+ - Action: Write `--data '{...}'` (or `--data @file`) where you wrote `--params-json`, `--args-json` or `-d`, and `--dry-run` where you wrote `--preview`. A script that reads the exit code must accept 5, 6 and 7.
40
+ - Prepare CLI 0.7.0. `uru tools run` calls every action through the MCP `execute` tool and prints `structuredContent` and `_meta`, and `uru distribution note create-gmail-draft` is removed. CLI 0.6.4 and earlier call `POST /api/tool-control-plane/actions/execute`, which a later release removes. — surfaces: cli, release; reference: apps/cli/package.json
41
+ - Action: Upgrade to 0.7.0 after npm publication, then follow the 0.7.0 Breaking entry for `uru tools run` output.
17
42
  - 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
18
43
  - Action: Send the field names uru <family> <operation> --get-schema or uru operations inspect <id> prints, for example target_id and idempotency_key, not targetId and idempotencyKey.
19
44
  - Search and run exact connected actions with stable account IDs. Serve MCP over stdio through the installed Uru CLI. — surfaces: cli, docs, release, sdk; reference: docs/adr/0010-shared-action-discovery-execution.md
20
45
  - Action: Install CLI 0.5.9 and regenerate client settings with uru mcp config. Existing eager clients can narrow their tools with saved action references.
21
46
  - The Gem browser check is removed: the `gem.browser_verify` operation (`gem_control_plane` op `browser_verify`) and the `uru gems verify` command. Uru no longer opens a Gem in its own browser for you. `gem.security_scan`, `gem.checks` and `gem.deployment_status` stay, and results of earlier browser checks still show in `checks`. — surfaces: cli, docs; reference: Owner decision 2026-11-16
22
47
  - Action: Before you publish, open the Gem's preview or share URL in your own browser and look at it, as the Gem guide's browser checks page says. Remove `browser_verify` and `uru gems verify` calls from publish scripts: the operation now answers as an unknown operation. Uru never stopped a Release because of a failed browser check, so no Release is blocked by an old result.
48
+ - The Home Focus agent tools are now the Home Timeline tools. The tools home_focus_query and home_focus_manage are home_timeline_query and home_timeline_manage, their op values focus_* are timeline_* (timeline_rules_list, timeline_day, timeline_calendar_events, timeline_rule_create, timeline_rule_update, timeline_rule_delete), the operation ids home.focus_* are home.timeline_*, and the commands uru home focus-* are uru home timeline-*. A new op timeline_rules_reorder (uru home timeline-rules-reorder, operation id home.timeline_rules_reorder) sets the order of your own Timeline rules. — surfaces: cli, docs; reference: docs/plans/home/PLAN.md (H04)
49
+ - Action: Update the CLI and use the new names. An old CLI install loses the old Focus operations: the server no longer serves them and there is no alias. In this CLI an old operation id answers 'home.focus_day was renamed. Use home.timeline_day.' with exit code 7. Saved approval rules on the old names get copies on the new names.
50
+ - The result of `uru notifications get` (the `notification_settings` tool, action `get`) names the per-channel field `activityRequired` in place of `inboxRequired`. The value is the same. The old field name is removed. — surfaces: cli, docs; reference: Home build plan H08 (Activity rename)
51
+ - Action: Read `activityRequired` in scripts or saved prompts that read `inboxRequired` from the notification settings result.
52
+ - The sharing.* operations now live in four families named for what they act on. Share operations are shares.* (for example shares.create, shares.list, shares.people_add, shares.link_rotate, shares.email_resend, shares.counts); the history of a Library item is versions.list, versions.get, versions.diff and versions.restore; comments are comments.add and comments.resolve; labels are labels.list, labels.create, labels.add and labels.remove; and sharing.transfer_ownership is library.transfer_ownership. uru sharing is gone: use uru shares for shares, and the new uru versions, uru comments and uru labels commands (each takes an operation and --data '{...}'). The tools sharing_query and library_collab, their op values and their answers do not change. — surfaces: cli, docs; reference: Revision 4 build plan M09 (shares, versions, comments and labels families)
53
+ - Action: Use the new names. An old operation id answers 'sharing.share_create was renamed. Use shares.create.' with exit code 7. uru sharing answers 'Unknown command: sharing. Use uru shares, uru versions, uru comments or uru labels.' with exit code 7. The share access request answer stays removed; answer requests in the Uru screens.
23
54
  - uru automations dlq and the automation.dlq_list, dlq_reprocess and dlq_delete operations are gone, and uru automations runs debug no longer takes --turns-limit. The old automation engine's dead-letter queue and its run archive were deleted. — surfaces: cli, docs; reference: apps/cli/src/local-commands.ts
24
55
  - 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.
25
56
  - 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
@@ -36,6 +67,10 @@
36
67
  - 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.
37
68
  - uru shares consents, uru shares pack-gems, and the --consent and --pack-consent flags of uru shares create are gone. A Gem editor uses every connection, Dataset and secret the Gem holds, as the person who put it in, and a Gem in a shared folder or Collection runs with what the Gem holds. — surfaces: cli; reference: apps/cli/src/shares-resource-commands.ts
38
69
  - Action: Remove uru shares consents and uru shares pack-gems calls, and drop --consent and --pack-consent from uru shares create. To stop a Gem from using your account, take it out on the Gem's Connections tab.
70
+ - uru shares copy is gone. Prompts and Contexts are no longer Library kinds: a Prompt is now a skill and a Context is now a Markdown file. — surfaces: cli, docs; reference: docs/plans/skills/PLAN.md
71
+ - Action: Copy an item with the Library copy (uru library cp) when its owner allows copies. Use the skill or file path in place of a Prompt or Context name.
72
+ - uru skills list and uru skills read take --source built_in, library or gem; --source uru is refused. With no --source they cover built-in and Library skills. — surfaces: cli, docs; reference: apps/cli/src/skills-commands.ts
73
+ - Action: Replace --source uru with --source built_in.
39
74
  - 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
40
75
  - Action: Gem deploy tokens are gone and nothing replaces them. In CI, set URU_TOKEN to a workspace API key from Settings > API Keys, or sign in with uru login.
41
76
 
@@ -58,6 +93,10 @@
58
93
  - 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.
59
94
  - @uru-intelligence/app 2.4.0 adds the Gem's shared storage scope ({ shared: true }) next to each viewer's personal scope, accepts keys of 1 to 1000 UTF-8 bytes, and names the first shared write refusal storage_shared_consent_required. One Gem keeps at most 20 MB for all viewers together. — surfaces: docs, sdk; reference: packages/app/README.md
60
95
  - Action: After protected publication verifies version 2.4.0, pin that exact package in Gems that use the shared scope. Gems that pin 2.3.0 keep building and keep their personal storage.
96
+ - `home_pins_query` gains `sections_list`, `person_lists_list`, `person_list_items`, `person_pins_given_list` and `pin_targets`, and `pins_list` takes `section_id`. `home_pins_manage` gains `section_create`, `section_rename`, `section_delete`, `person_pin_add` and `person_pin_remove`. `pins_add` takes `section_id` and `position` and says when the item was already pinned and where (`alreadyPresent`, `presentIn`). `pins_reorder` takes `section_id` and `section_revision`. An agent in a thread cannot delete a section that holds a pin of another workspace. — surfaces: cli, docs; reference: Home build plan H42 (agent tools: sections and person pins)
97
+ - `home.pins_add` takes an optional `section_id` that names the Home pin section of the new pin. With no `section_id`, the pin goes to the person's first own section, and Uru makes that section if the person has none. — surfaces: cli, docs; reference: Home build plan H13
98
+ - `home.widget_set_row_span` (`home_layout_manage` op `widget_set_row_span`) makes the Activity widget on Home one or two rows tall. Two rows tall at the left or right edge, the next widgets fill the thirds beside it in a second row, and a wider next widget narrows to those thirds; full width, it is just taller. Other widgets take one row and refuse a row span of 2. The Home layout entries of `home.layout_get` and `home.layout_set` carry the optional `rowSpan`. — surfaces: cli, docs; reference: Home round 6, decision D40 (Activity two rows tall)
99
+ - `uru gems build-steps [library/name.gem] [--limit N]` reads a Gem's build step log: each save, build wait, publish wait, failed step and rework with its start, end, result and cause tag, and the total minutes per kind. It calls `gems.build_steps`, so the MCP read gives the same result. — surfaces: cli; reference: URU-1877
61
100
  - A Gem's Version list marks its published Version. `gem.versions_list` (`gem_query` op `versions_list`) and `GET /api/platform/gems/{gemRef}/versions` answer `isPublished: true` on the Version that the Shares that follow the Gem serve. In the web app, the Gem page shows **Publish changes** beside the Version picker when saved work is newer than that Version, and the Share screens name the choice **Published Version**. — surfaces: cli, docs; reference: Owner decision 2026-11-17 (Gem flow, Phase 2: only Publish)
62
101
  - Action: No change is required. A reader that ignores unknown fields is not affected.
63
102
  - 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
@@ -83,16 +122,29 @@
83
122
  - 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.
84
123
  - 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
85
124
  - Action: Use uru tools inspect <name> or uru operations inspect <operation-id> to print a contract. Pass --params-json @path.json or --params-json @- to load parameters from a file or stdin.
125
+ - Agents and the CLI can read and change the Home layout and the Home workspace set. `home_layout_query` (`home.layout_get`) reads the layout. `home_layout_manage` (`home.layout_set`, `home.widget_add`, `home.widget_remove`, `home.widget_move`, `home.widget_resize`, `home.widget_rename`, `home.widget_set_view`, `home.focus_fold`, `home.focus_unfold`) changes it; removing a pin widget deletes its section and its pins, so that change asks for approval. `home_workspaces_query` (`home.workspaces_get`) and `home_workspaces_manage` (`home.workspaces_set`) read and set the workspaces Home shows. Only a person or the person's own agent may use these tools: a workspace key or a Gem token gets `personal_caller_required`. — surfaces: cli, docs; reference: Home build plan H41 (agent tools: layout and workspace set)
126
+ - Agents and the CLI can use Home notices. `home_notices_query` (`home.notices_list`, `home.notices_managed_list`) lists the live notices and the notices an admin manages. `home_notices_manage` (`home.notice_mark_read`, `home.notice_dismiss`, `home.notice_post`, `home.notice_update`, `home.notice_end`, `home.notice_delete`) opens and dismisses a notice and lets a workspace admin post and manage workspace notices. Only a person signed in to Uru opens or dismisses a required notice, or posts or changes an Organization notice: an agent or the CLI gets `personal_caller_required` or `credential_not_interactive`. — surfaces: cli, docs; reference: Home build plan H44 (owner decision D4, limits 2 and 3)
127
+ - Agents can read Home Activity with `home_activity_query` (list by tab, open one row, unread count) and tidy it with `home_activity_manage` (mark read, move to Done, restore). No operation answers an approval or a request, and Done is refused on a row that still needs an answer. — surfaces: cli, docs; reference: Home build plan H43 (agent tools: Activity)
86
128
  - Control background Gem jobs, Dataset sync, connected Library sync, and searchable runtime logs from the command line and agent tools. — surfaces: cli, docs, sdk; reference: docs/plans/2026-09-08-uru-full-app-platform-gaps.md
87
129
  - Action: Use app library 2.1.0 and CLI 0.5.0 with the matching platform release. Existing jobs keep their saved release and source ownership.
88
130
  - In Uru chat, a Gem saves itself. When a chat turn ends and it changed a Gem without a save, Uru builds the Gem and saves a Version with the message "Saved by Uru at the end of a chat turn." A Gem that does not build is not saved, and its changes stay as unsaved edits. The save publishes nothing: links keep their Version until a publish. Distribution's "new Version" follow-up now offers a Gem's published Version, not a Version that nobody published. — surfaces: docs; reference: Owner decision 2026-11-17 (Gem flow, Phase 2: each change saves itself)
89
131
  - Action: No change is required. The CLI and MCP clients are not affected: they save with `gem.version_save` and publish with `gem.version_publish`.
90
132
  - Make uru update compare this CLI to the latest npm version and add --check --json. — surfaces: cli; reference: apps/cli/src/update-check.ts
91
133
  - Action: No action is required. uru update never installs itself. Run uru update --check --json for machine output, or npm install -g @uru-intelligence/cli@latest to install.
134
+ - New apps family (tool apps_query): apps.list reads the apps you can pick for an Agent need, a rule or an offered account, the same groups as the app picker in Uru (your apps and adopted accounts, company tools, Uru tools, Gem tools, apps to connect), with search, filters, categories and cursor pages. apps.get reads one app by its key with its read and change actions. New commands uru apps list [--mode need|rule|account] [--search <words>] [--filter <group>] [--category <name>] [--app <app>] [--cursor <cursor>] and uru apps get <key>. The list is always your own, in the current workspace; a workspace key or a Gem cannot read it. — surfaces: cli, docs; reference: plugins plan M17 (apps family)
135
+ - New command uru shares link open <link or key> (operation shares.link_open, sharing_query op=link_open) reads a share link the way its page would for you: its state, the item's kind and name, your role, the first name of the person who shared it, and a short view of the content when the link needs no code or passcode (--json prints all of it). A link that needs an email code or a passcode answers its gate and no content; open that one in a browser. The CLI drops anything after # in the link, and the command sends no code and counts no open. — surfaces: cli, docs; reference: plugins plan S18 (open a share link by key)
136
+ - New connections family for your own app accounts and custom connectors. connections.list and connections.get read your accounts (source mine) or the accounts offered to the workspace (source offered), and which actions each account allows. connections.connect answers a sign-in link that you open in your browser; it never takes a password. connections.connector_add adds a custom connector by its https address and a name. connections.update renames an account, connections.actions_set sets which actions it allows (all, none or some), connections.disconnect disconnects it, and connections.offer and connections.offer_withdraw offer it to the workspace or take the offer back. On the CLI: uru connections <operation> --data '{...}'. The Integrations screens use the same code. — surfaces: cli, docs; reference: Revision 4 build plan M10 (connections family part 1)
137
+ - Action: No change needed. An agent run (a thread token) gets needs_person on connections.actions_set, connections.offer and connections.offer_withdraw: a signed-in person does those. A workspace key or a Gem cannot use the connections family.
138
+ - New links family. links.list reads the links of any Library item: the items it links to (direction out), with the links an Agent keeps and the [[Name]] links a text makes, or the items that link to it (direction in). links.add links a skill, file, Gem or Dataset to an Agent; with private it stays with you, and with load_at_start the item loads when a chat with the Agent starts. links.update makes a link Private or not, changes load at start, or moves it to a new position. links.remove removes a link; the item stays in the Library. Each item is an item id or a Library path. On the CLI: uru links list <item> [--in], uru links add <agent> <item> [--private] [--load-at-start], uru links update <agent> <item> [--private on|off] [--load-at-start on|off] [--position <n>], uru links remove <agent> <item>. The Agent Links tab uses the same rules. — surfaces: cli, docs; reference: Revision 4 build plan M11 (links family)
139
+ - Action: No change needed. Only a person who can edit an Agent changes the links that go along with it; a person who can use it adds Private links of their own. A Gem cannot use the links family.
92
140
  - Read a Gem job's pending state or saved result with gem.job_status, even after its short-lived status cache expires. — surfaces: cli; reference: packages/platform-operations/src/operation_groups_gems.ts
93
141
  - 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.
94
142
  - 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
95
143
  - 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.
144
+ - The connections family can now change who uses an offered account or a Gem tool. connections.adopt asks to use an account another person offered to the workspace, connections.adoption_withdraw takes that ask back, and connections.adoption_revoke ends one use of an offered account. A workspace admin answers with connections.offer_answer, connections.workspace_actions_set and connections.adoption_answer; a member who is not an admin gets 403. connections.gem_tool_ask asks a Gem owner for one task of the Gem as a tool, and only the Gem owner answers with connections.gem_tool_answer. connections.list with source offered now shows the offered, allowed and denied actions of each offer, whether you can ask to use it, and your own ask. On the CLI a space works for each underscore of an operation: uru connections adoption answer --data '{...}' runs connections.adoption_answer, in every family that takes uru <family> <operation> --data. The Integrations and Approvals screens use the same code. — surfaces: cli, docs; reference: plugins plan M18 (connections family part 2)
145
+ - Action: No change needed. An agent run (a thread token) gets needs_person on every new operation: a signed-in person does them.
146
+ - The Uru MCP server lists a third tool, `execute_read`. It runs the same program as `execute`, but only tools that read: a call of a tool that can change data fails with the code forbidden before it runs. Each of `execute`, `execute_read` and `skills` now has a title, hints that say whether it can change data (`execute` is marked destructive, `execute_read` and `skills` read only), and an output schema. A failed call of these tools returns structured content `{ error: { code, message, recovery, retryable, field? } }` beside its text. — surfaces: docs; reference: docs/integrations/mcp-discovery-display-contract.md
147
+ - Action: Nothing to change. An outside app can run `execute_read` for lookups with no prompt and keep `execute` for changes.
96
148
  - 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
97
149
  - 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
98
150
  - 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
@@ -107,7 +159,9 @@
107
159
  - 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
108
160
  - 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
109
161
  - Action: uru gems share … is now uru shares … for every kind. uru distribution now reads results; collection commands moved to uru collections.
110
- - uru skills settings <name> prints where a Library skill loads by itself, and with --people-who-can-open, --linked-agents, --add-team, --remove-team, --whole-workspace, --block or --in-my-chats (on or off, or a team name or id) changes it through the skills.settings operation, with the checks of the skill page. A change answers to the workspace's Tool Approval policy, like an agent's call. — surfaces: cli, docs; reference: apps/cli/src/skill-settings-command.ts
162
+ - uru skills export <name> [file.zip] [--version <n>] writes one version of a skill to a zip and never replaces a file. uru skills import <file.zip|folder> [--folder <library folder>] [--title <title>] makes a new Library skill from a zip or a folder, with the save's file limits; a file that is not text, or a zip path outside the skill, is refused by name. — surfaces: cli, docs; reference: apps/cli/src/skill-package-commands.ts
163
+ - uru skills pull <name> [folder] writes a Library skill's files to a new folder with .uru/skill.json, the version it came from. uru skills push [folder] saves the folder as a new version and sends only the files you changed, added or deleted; when someone saved the skill after your pull it refuses and saves nothing, and push --diff shows what changed. uru skills history <name> lists versions and settings changes, and uru skills restore <name> <version> makes a new version with an older version's files. Agents and MCP clients get the same through the skills.history, skills.version_get and skills.version_restore operations. — surfaces: cli, docs; reference: apps/cli/src/skill-package-commands.ts
164
+ - uru skills settings <name> prints where a Library skill loads by itself, and with --people-who-can-open, --linked-agents, --add-team, --remove-team, --whole-workspace, --block or --in-my-chats (on or off, or a team name or id) changes it through the skills.settings operation, with the checks of the skill page. A change is made at once; inside an Uru chat, the chat's approval setting applies. — surfaces: cli, docs; reference: apps/cli/src/skill-settings-command.ts
111
165
  - 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
112
166
  - 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.
113
167
  - 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
@@ -125,6 +179,11 @@
125
179
  - Action: No change for successful calls. Retry a call that fails with `executor_capacity_exceeded` after a short wait.
126
180
  - `uru tools schema` for an Uru proxy action prints Executor v2's describe item: the path, the whole description and the TypeScript signature. The raw JSON Schema and the action identity are no longer printed for these actions, because Executor v2's `tools.search.describe` takes only `paths`. — surfaces: cli; reference: apps/cli/src/tools-mcp.ts
127
181
  - Action: Read the input and output types from `signature`. For a Gem binding, run `uru tools search "<task words>" --json` and read `gemDeclaration` from the `definitionGroups[].choices[]` entry with the same path.
182
+ - A failed or expired Gem compile (`uru gems build --wait`, `uru gems validate --wait`) prints why it failed and one next step, in the same words as the screen. `gems.build_job` adds `failure_reason` (`kind`, `known`, `stage`, `reason`, `next_step`), and `failure_kind` is always a listed kind or `unknown`. — surfaces: cli, docs; reference: URU-1966
183
+ - Every Dataset, automation, contacts, Distribution, collection, web, file download, workspace, notification settings, support read, friction report, Gem secret, tool catalog, Home Focus and Home notice operation now names the shape of its answer (an output schema). Most keep the shape their tool already had. Three tools describe more than before: `notification_settings` (your Activity, email and Slack settings, or the saved Activity rows), `platform_support_read` (the support rows and how much of the window they cover) and `collections_query` (a page of collections). On `contacts_query` the next page cursor can be null on the last page. Now every operation has one. — surfaces: docs; reference: Revision 4 build plan M08 (output schemas: the rest)
184
+ - Action: Nothing to change. An app that reads `structuredContent` can trust these shapes.
185
+ - Every Library, skill and sharing operation now names the shape of its answer (an output schema). `skill_settings` describes the skill's settings after the change, or a built-in skill's Block, in place of a general answer shape. `sharing_query` describes all its reads (who has access, one share, opens, people, received and sent cards, counts, versions and permissions) and not only `item_shares`. `library_query`, `library_fs`, the connected source tools and `library_upload` keep the shape they had; `library_query` and `library_fs` also name the skill History lines, the restore's version and the save advisories. Every key stays optional. — surfaces: docs; reference: Revision 4 build plan M07 (output schemas: library, skills, shares)
186
+ - Action: Nothing to change. An app that reads `structuredContent` can trust these shapes.
128
187
  - Saving a Gem Version is one call. `gem.version_save` (`gem_control_plane` op `version_save`) now builds first, saves, and waits: it answers `ready: true` with a built Version, or fails with `build_not_ready` and the build's diagnostics. With the Gem's `path` and `files`, the same call writes the files as one Edit before it saves. A Share that follows the latest Version moves to it and Uru makes the Release it needs, so `validate`, `build`, `build_job` polling and `release_create` are not part of the normal path. — surfaces: cli, docs; reference: Owner decision 2026-11-17 (Gem flow, Phase 1)
129
188
  - Action: No change is required. A caller that polls `version_get` after `version_save` still works: `poll` is null when the Version is ready. A source that does not build now fails the save and records no failed Version; fix Current and save again. A save with `files` names the Gem by `path`, not `gem_id`.
130
189
  - 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
@@ -148,8 +207,10 @@
148
207
  - 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.
149
208
  - @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
150
209
  - 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.
210
+ - `uru help gems` and the `uru gems` usage line list the same verbs from one list: the removed `verify` is gone and `checks` is shown. — surfaces: cli; reference: https://github.com/Ignition-Forward/uru-workspace-platform/pull/11489
151
211
  - `uru mcp serve` and `uru tools` keep working when another process on the same computer renews the same person's saved login. Before, the first renewal by another process made every later call fail with "The saved CLI sign-in changed" until the connection restarted. A login as a different person still stops the call. — surfaces: cli; reference: apps/cli/src/auth-commands.ts
152
212
  - Action: Install the next CLI release and restart running `uru mcp serve` connections.
213
+ - `uru pull` takes every file from the one saved state that the file list names, and checks each file against that list before it writes any local file. If the Gem changes during the pull, no file is written and the command says to run `uru pull` again. `uru gems fs ls` and `uru gems fs read` take `--source <id>` to read one exact saved state. — surfaces: cli; reference: URU-1962
153
214
  - `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
154
215
  - `uru tools run` prints a large action result in the same envelope as a small one. The server keeps only the action's own value behind a retained handle, so the CLI puts that value back in `result` and keeps `success` and the other execution fields. Before, a large result such as the `gem.inspect` Gem result envelope printed without `success`. — surfaces: cli; reference: apps/cli/src/client.ts
155
216
  - `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
@@ -194,6 +255,8 @@
194
255
  - Action: Install CLI 0.5.2 with the matching Uru server release. Run uru login once. Cursor uses the documented public client ID.
195
256
  - The CLI tells the server which Gem result envelope it reads, and a server that cannot answer in it refuses before it acts instead of after the write. — surfaces: cli; reference: https://linear.app/uru-intelligence/issue/URU-1000
196
257
  - 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.
258
+ - The public MCP server follows the MCP 2026-07-28 rules for extensions: server/discover now lists the Events extension under capabilities.extensions as io.modelcontextprotocol/events, not as a top-level events capability, and events/list, events/subscribe and events/unsubscribe use the extension's error codes: -32023 not found, -32024 forbidden, -32025 limit reached, -32026 unsupported, -32027 callback endpoint failed. — surfaces: docs, sdk; reference: Revision 4 build plan M04 (MCP 2026-07-28 check)
259
+ - Action: A client that read capabilities.events or the old codes -32011 to -32015 reads capabilities.extensions["io.modelcontextprotocol/events"] and the codes -32023 to -32027.
197
260
  - 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
198
261
  - 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.
199
262
  - 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
package/README.md CHANGED
@@ -16,7 +16,7 @@ bun src/index.ts --workspace <workspace-id> whoami
16
16
 
17
17
  The CLI is registry-backed. Dedicated Gem/Library/Dataset/Automation commands
18
18
  are thin adapters over the same platform tools used by MCP and the web UI;
19
- broader workspace, prompt/persona/context, sharing, web/file, and
19
+ broader workspace, persona, sharing, web/file, and
20
20
  secret/env operations remain exposed through the generated operation
21
21
  registry while dedicated UX commands continue to mature. The `deploy` aliases
22
22
  call the same saved Version and Release operations as the web UI. A requested
@@ -27,11 +27,24 @@ readiness, access, and the final published state.
27
27
 
28
28
  ```bash
29
29
  # Discover visible skill packages and read an exact version.
30
- bun src/index.ts skills list --source uru --json
30
+ bun src/index.ts skills list --source built_in --json
31
+ bun src/index.ts skills list --source library --json
31
32
  bun src/index.ts skills read uru-gems --version <version-from-list>
32
33
  bun src/index.ts skills read uru-gems --version <version-from-list> --path references/example.md --json
33
34
  bun src/index.ts skills list --source gem --gem-id <gem-id> --version <ready-version-id>
34
35
  bun src/index.ts skills read <name> --source gem --gem-id <gem-id> --version <ready-version-id>
36
+ bun src/index.ts skills settings weekly-client-update --in-my-chats off
37
+
38
+ # Work on a Library skill in a folder, then save it as a new version.
39
+ bun src/index.ts skills pull weekly-client-update ./weekly-client-update
40
+ bun src/index.ts skills push ./weekly-client-update --diff
41
+ bun src/index.ts skills push ./weekly-client-update
42
+ bun src/index.ts skills history weekly-client-update
43
+ bun src/index.ts skills restore weekly-client-update 2
44
+ bun src/index.ts skills export weekly-client-update weekly-client-update.zip
45
+ bun src/index.ts library import weekly-client-update.zip --folder Clients --dry-run
46
+ bun src/index.ts library import weekly-client-update.zip --folder Clients
47
+ bun src/index.ts skills from-file 'Clients/House style.md' --name house-style
35
48
 
36
49
  # Link the current directory to a server-side Gem. Writes only .uru/project.json.
37
50
  bun src/index.ts link --workspace <workspace-id> --path 'library/Golden Gems/My Gem.gem'
@@ -71,35 +84,35 @@ bun src/index.ts gems write 'library/Golden Gems/My Gem.gem' main.html --file ./
71
84
  bun src/index.ts library ls library
72
85
  bun src/index.ts library search revenue
73
86
  bun src/index.ts library mkdir 'library/Golden Gems'
74
- bun src/index.ts library read 'library/Contexts/Client Brief.md'
75
- bun src/index.ts library write 'library/Contexts/Client Brief.md' --file ./brief.md --create
76
- bun src/index.ts library write 'library/Prompts/Sales Email.md' --content "Draft the follow-up." --create --folder-id <folder-id>
77
- bun src/index.ts library patch-preview 'library/Prompts/Sales Email.md' --content "*** Begin Patch\n..."
78
- bun src/index.ts library favorite 'library/Contexts/Client Brief.md'
87
+ bun src/index.ts library read 'library/Clients/Acme/Brief.md'
88
+ bun src/index.ts library write 'library/Clients/Acme/Brief.md' --file ./brief.md --create
89
+ bun src/index.ts library write 'library/Notes/Sales Email.md' --content "Draft the follow-up." --create --folder-id <folder-id>
90
+ bun src/index.ts library patch-preview 'library/Notes/Sales Email.md' --content "*** Begin Patch\n..."
91
+ bun src/index.ts library favorite 'library/Clients/Acme/Brief.md'
79
92
  bun src/index.ts library upload 'library/Assets/logo.png' --file ./logo.png
80
93
  bun src/index.ts library upload complete --upload-id <id> --bucket <bucket> --object-path <path> --filename logo.png --size-bytes 1024
81
- bun src/index.ts library patch 'library/Prompts/Sales Email.md' --stdin
94
+ bun src/index.ts library patch 'library/Notes/Sales Email.md' --stdin
82
95
  bun src/index.ts library cp 'library/Notes/Brief.md' 'library/Archive/Brief.md'
83
96
  bun src/index.ts library mv 'library/Notes/Draft.md' 'library/Notes/Final.md'
84
97
  bun src/index.ts library rm 'library/Notes/Old.md'
85
98
  bun src/index.ts library restore 'library/Notes/Old.md'
86
99
  bun src/index.ts datasets ls --limit 50 --json
87
100
  bun src/index.ts datasets query revenue_rows --limit 50 --response-format concise --json
88
- # Registry-family commands send --params-json fields exactly as the tool's input
101
+ # Registry-family commands send --data fields exactly as the tool's input
89
102
  # schema spells them. Read that schema with --get-schema or `uru operations inspect <id>`.
90
103
  bun src/index.ts datasets get revenue-rows
91
104
  bun src/index.ts datasets history revenue-rows --limit 20
92
105
  bun src/index.ts datasets jobs revenue-rows --limit 20
93
- bun src/index.ts datasets rows --params-json '{"op":"upsert","dataset_id":"revenue-rows","rows":[{"row_id":null,"fields":{"name":"Acme"}}]}'
94
- 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":{}}]}'
95
- bun src/index.ts datasets sql --params-json '{"sql":"SELECT 1"}'
96
- bun src/index.ts collections create --name "Client pack" --item 'library/Board.pdf'
106
+ bun src/index.ts datasets rows --data '{"op":"upsert","dataset_id":"revenue-rows","rows":[{"row_id":null,"fields":{"name":"Acme"}}]}'
107
+ bun src/index.ts datasets create --data '{"title":"Revenue Rows","properties":[{"clientKey":"name","name":"Name","type":"title","required":true,"nullable":false,"position":0,"config":{}}]}'
108
+ bun src/index.ts datasets sql --data '{"sql":"SELECT 1"}'
109
+ bun src/index.ts bundles create --name "Client pack" --item 'library/Board.pdf'
97
110
  bun src/index.ts shares create 'library/Client pack' --email ana@example.com
98
111
  bun src/index.ts distribution items --not-opened
99
112
  bun src/index.ts contacts list --opened last-7-days
100
113
 
101
114
  # Automation helpers over the platform tool surface.
102
- bun src/index.ts automations ls --limit 100
115
+ bun src/index.ts automations list --limit 100
103
116
  bun src/index.ts automations get <automation-id>
104
117
  bun src/index.ts automations create "Daily revenue digest" --status draft
105
118
  bun src/index.ts automations update <automation-id> --description "Nightly digest"
@@ -107,10 +120,11 @@ bun src/index.ts automations enable <automation-id>
107
120
  bun src/index.ts automations validate <automation-id> --mode structural --graph-json '{}'
108
121
  bun src/index.ts automations graph-patch <automation-id> --patch-json '{"ops":[]}'
109
122
  bun src/index.ts automations triggers list <automation-id>
123
+ bun src/index.ts automations triggers create <automation-id> --data '{"type":"schedule","config":{"cron":"0 9 * * 1"},"base_version":3}'
110
124
  bun src/index.ts automations connections list
111
125
  bun src/index.ts automations delete <automation-id> --yes
112
- bun src/index.ts automations trigger <automation-id> --mode real --input-message "Run now"
113
- bun src/index.ts automations runs ls <automation-id> --limit 20
126
+ bun src/index.ts automations run <automation-id> --mode real --input-message "Run now"
127
+ bun src/index.ts automations runs list <automation-id> --limit 20
114
128
  bun src/index.ts automations runs tail <run-id> --level warn
115
129
  bun src/index.ts automations runs cancel <run-id> <automation-id> --yes
116
130
 
@@ -119,12 +133,12 @@ bun src/index.ts tools ls
119
133
  bun src/index.ts tools search "gem inspect" --limit 50 --json
120
134
  bun src/index.ts tools schema <address-from-search> --json
121
135
  bun src/index.ts tools output <result-ref> --json
122
- bun src/index.ts tools run <address-from-search> --params-json '{"path":"library/Golden Gems/My Gem.gem"}'
136
+ bun src/index.ts tools run <address-from-search> --data '{"path":"library/Golden Gems/My Gem.gem"}'
123
137
 
124
138
  # Show and execute the generated operation registry.
125
139
  bun src/index.ts operations ls
126
140
  bun src/index.ts operations ls --family automations
127
- bun src/index.ts operations run gem.inspect --params-json '{"path":"library/Golden Gems/My Gem.gem"}'
141
+ bun src/index.ts operations run gems.inspect --data '{"path":"library/Golden Gems/My Gem.gem"}'
128
142
  bun src/index.ts library search "client brief"
129
143
  bun src/index.ts docs library_fs
130
144
  bun src/index.ts docs search library_fs
@@ -149,11 +163,32 @@ bun src/index.ts complete powershell
149
163
  ```
150
164
 
151
165
  `skills` uses the same authorized, versioned reader as the public MCP `skills`
152
- tool. Uru skills use the package version returned by `skills list`. Gem skills
153
- require an exact ready Version ID. Each read checks current access on the
166
+ tool. It reads built-in skills, the Library skills you can open and Gem
167
+ skills; with no `--source`, `list` and `read` cover built-in and Library
168
+ skills. Built-in and Library skills use the version returned by
169
+ `skills list`. Gem skills require an exact ready Version ID. Each read checks current access on the
154
170
  server. `--path` names a file inside the selected skill package; it never reads
155
171
  a local file. Text reads print the file content. `--json` includes its metadata
156
172
  and content. `skills list` supports `--offset` and `--limit` for paging.
173
+ `skills settings <name>` changes where a Library skill loads by itself. A
174
+ change is made at once; inside an Uru chat, the chat's approval setting
175
+ applies.
176
+
177
+ `skills pull <name> [folder]` writes the current version of a Library skill to
178
+ a new or empty folder (default `./<name>`) and records the version in
179
+ `.uru/skill.json`. `skills push [folder]` saves the folder as a new version: it
180
+ sends only the files you changed, added or deleted. When someone saved the
181
+ skill after your pull, push refuses and saves nothing; `--diff` shows what
182
+ changed in Uru and in your folder. There is no force flag. `skills history`
183
+ lists versions and settings changes, and `skills restore <name> <version>`
184
+ makes a new version with the files of that version. `skills export` writes one
185
+ version to a zip and never replaces a file; `library import` makes a new skill
186
+ from a zip or a folder (`--dry-run` prints the report and changes nothing).
187
+ `skills from-file <file> --name <name>` turns a Markdown or plain text file into
188
+ a skill, and `skills inventory` lists every skill of the workspace for a
189
+ workspace owner or admin. Skills hold text files only: a file that is not text,
190
+ or a zip path outside the skill, is refused by name, and nothing is written
191
+ outside the target folder.
157
192
 
158
193
  `docs` searches the local operation reference. It does not read skill files.
159
194
  `uru --json docs gem` returns `{ "query": "gem", "text": "..." }`.
@@ -169,7 +204,7 @@ for another server. Generated configs do not use a local `npx` or stdio bridge.
169
204
 
170
205
  By default the entry has no API key, so the client signs in with OAuth. The
171
206
  Cursor entry also names Cursor's public OAuth client, as in the
172
- [MCP guide](../../content/docs/guides/mcp.mdx). For a headless client, pass
207
+ [MCP guide](../web/content/docs/guides/mcp.mdx). For a headless client, pass
173
208
  `--api-key-env URU_API_KEY`. The entry then gets an `Authorization` header that
174
209
  references that environment variable (`${URU_API_KEY}` for Claude Code,
175
210
  `${env:URU_API_KEY}` for Cursor). The CLI never writes a key value. It refuses
@@ -207,7 +242,8 @@ operation calls do not take an `op` argument; the server sets that value.
207
242
  program result, the command reads the complete redacted JSON through the same
208
243
  route as `uru tools output`, then prints the action value from it.
209
244
 
210
- For a proxy action, the CLI uses the fixed MCP `execute` tool. Schema reads use
245
+ `uru tools run` calls every action, platform, connector, Gem and proxy, through
246
+ the fixed MCP `execute` tool. Schema reads for a proxy action use
211
247
  `tools.search.describe({ paths: [path] })` and read the first returned item:
212
248
  the path, the whole description and the TypeScript signature, with no raw JSON
213
249
  Schemas.
@@ -221,11 +257,18 @@ none. As in Executor v2, the action's text, media and provider `_meta` are not
221
257
  added to the program output, so the command does not print them. It never
222
258
  prints the Executor `execute` wrapper. When Executor keeps a large program
223
259
  result behind a retained handle, the command reads the complete stored result
224
- through the same route as `uru tools output` and prints it. Platform and connector actions still use the exact action
225
- execute route. That route keeps a large result's own value behind a retained
226
- handle. The command reads the value and puts it in the envelope's `result`, so
227
- a large result prints with `success` and the other execution fields, as a small
228
- one does.
260
+ through the same route as `uru tools output` and prints it.
261
+
262
+ `uru tools run` uses `--mcp-url`, then `URU_PROXY_URL`, then the MCP URL of the
263
+ API host (production, development, staging, a review slot or localhost). It
264
+ waits up to 5.5 minutes for one call, because an Executor program can run for
265
+ 5 minutes. When the wait ends first, the call fails with
266
+ `tool_outcome_unknown`: the action can still complete, so check the saved run
267
+ before you repeat it. A refusal for bad input (`invalid_input` or
268
+ `invalid_tool_arguments`) prints Uru's sentence, which names the field. In a
269
+ chat sandbox, an action that needs approval does not run and makes no approval
270
+ card: the error is `approval_required`. Call the action as a tool in the chat
271
+ instead.
229
272
 
230
273
  `tools run --parallel` accepts a JSON array of input objects. Calls run in order.
231
274
  If one fails, the command prints completed results and the failed input index.
@@ -281,7 +324,7 @@ explicit token/API-key paths:
281
324
  - no credentials are written to `.uru/project.json`
282
325
  - `uru auth status` reports logged-in / workspace / storage / expiry and never prints a JWT. `uru whoami` stays a server identity call.
283
326
  - `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.
284
- - The screen says Agent; Library paths and schemas say persona (`library/Agents/Name.persona.md`).
327
+ - `uru agents list|get|create|update --data {...}` reads and changes Agents; `uru library write` and `uru library patch` no longer change an Agent.
285
328
  - Gem secrets use `uru secrets put|ls|rm`; values are write-only
286
329
  - `uru env pull` writes a metadata-only template, never downloads remote secret
287
330
  values, and clamps the output file to `0600` even when overwriting an existing
@@ -303,6 +346,19 @@ uru --no-input whoami --json
303
346
 
304
347
  `--no-input` exits instead of opening a browser. `auth status` and `doctor` warn if the token lives in `--insecure-storage` and do not print the token. `env pull` writes names only; it does not download secret values.
305
348
 
349
+ Exit codes:
350
+
351
+ | Code | Meaning |
352
+ |---|---|
353
+ | 0 | Done |
354
+ | 1 | Failed (also needs_connection, needs_person, rate_limited, internal) |
355
+ | 2 | Cancelled |
356
+ | 3 | conflict: another change came first, or a retry key was used with another input |
357
+ | 4 | auth_required: sign in again |
358
+ | 5 | not_found: no such item, or you cannot see it |
359
+ | 6 | forbidden or blocked_by_rule: you may not do this, or a tool rule refused the call (also gem_shared_with_you: a Gem shared with you that this call cannot reach; do the step in `details.next_step`) |
360
+ | 7 | invalid_input: a field is wrong or missing, or a flag, an argument or `--data` JSON is wrong |
361
+
306
362
  ## Install shape
307
363
 
308
364
  The package name is `@uru-intelligence/cli`; the installed binary is still `uru`: