@uru-intelligence/cli 0.6.1 → 0.6.3

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
@@ -6,6 +6,10 @@
6
6
 
7
7
  ### Breaking
8
8
 
9
+ - `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
+ - 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
+ - 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
12
+ - 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
13
  - 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
14
  - 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
15
  - 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
@@ -23,7 +27,7 @@
23
27
  - 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
24
28
  - 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.
25
29
  - 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
26
- - Action: Pass --workspace <workspace-id>, set URU_WORKSPACE_ID, run uru switch <workspace-id>, or 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.
30
+ - 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.
27
31
  - 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
28
32
  - 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.
29
33
  - 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
@@ -43,6 +47,8 @@
43
47
  - @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
44
48
  - @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
45
49
  - 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.
50
+ - @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
51
+ - 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.
46
52
  - 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
47
53
  - 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.
48
54
  - 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
@@ -101,10 +107,15 @@
101
107
  - 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.
102
108
  - `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
103
109
  - Action: No action is required. `--follow-duration-ms` now accepts up to 30 minutes (was 5).
110
+ - `uru tools run` and `uru tools schema` read Executor v2's execution outcome. A program the host refuses at start fails with `executor_capacity_exceeded` (retryable), and a failed action keeps its own error code. — surfaces: cli; reference: apps/cli/src/tools-mcp.ts
111
+ - Action: No change for successful calls. Retry a call that fails with `executor_capacity_exceeded` after a short wait.
112
+ - `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
113
+ - 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.
104
114
  - 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
105
115
  - 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.
106
116
  - 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
107
117
  - 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.
118
+ - uru shares place: --take-out replaces --default; uru shares received shows IN YOUR LIBRARY. — surfaces: cli; reference: apps/cli/src/shares-resource-commands.ts
108
119
  - 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
109
120
  - 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.
110
121
 
@@ -121,7 +132,10 @@
121
132
  - 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.
122
133
  - @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
123
134
  - 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.
135
+ - `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
136
+ - Action: Install the next CLI release and restart running `uru mcp serve` connections.
124
137
  - `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
138
+ - `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
125
139
  - `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
126
140
  - `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
127
141
  - 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
@@ -134,6 +148,7 @@
134
148
  - 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.
135
149
  - 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
136
150
  - 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.
151
+ - CLI tool calls use current Executor search and print the raw value of a proxy action's result. — surfaces: cli; reference: apps/cli/src/tools-mcp.ts
137
152
  - 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
138
153
  - Action: Install CLI 0.5.7. An active device sign-in needs no new approval.
139
154
  - 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
@@ -143,6 +158,8 @@
143
158
  - Action: No action is required. After you switch workspace, the next command keeps the same login. A new login writes only the workspace the login response selected.
144
159
  - Pin URU_API_BASE and URU_PROXY_URL in generated MCP client config from the CLI API host, and send the MCP 2026-07-28 request envelope from CLI staging smoke. — surfaces: cli; reference: apps/cli/src/mcp-commands.ts
145
160
  - Action: After `uru mcp config` against development or staging, set URU_API_KEY and use the emitted URU_PROXY_URL so clients do not fall through to production MCP. Prefer published CLI >= 0.4.14.
161
+ - Prepare CLI 0.6.3 for Executor v2 results so successful programs return a successful exit status. — surfaces: cli, release; reference: apps/cli/package.json
162
+ - Action: Upgrade to 0.6.3 after npm publication. CLI 0.6.2 rejects successful Executor v2 results.
146
163
  - Recover from a revoked CLI session without reusing the dead JWT. When the API returns `session_revoked`, the CLI now rotates the stored OAuth login once or clears it instead of sending the revoked token until local expiry. — surfaces: cli; reference: apps/cli/src/cli.ts
147
164
  - Action: No action is required. Failures of this class now carry the `session_revoked` error code so they can be distinguished from a generic `auth_required` response.
148
165
  - Refreshing a saved connector login also refreshes its platform session. Sign-in, sign-out and workspace changes preserve a newer saved login when commands overlap. — surfaces: cli; reference: PR #7640
@@ -159,17 +176,22 @@
159
176
  - 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.
160
177
  - 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
161
178
  - 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.
179
+ - 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
162
180
  - 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
163
181
  - 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
164
182
  - 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.
165
183
  - 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
166
184
  - 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.
185
+ - uru pull and Gem source-read commands read the complete stored response when a source tree or file exceeds the inline response limit. Downloads keep their file bytes and source lock. — surfaces: cli; reference: apps/cli/src/client.ts
186
+ - 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
187
+ - 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.
167
188
  - 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
168
189
  - Action: Check the command exit code before retrying a tool call. Private provider error details stay hidden.
169
190
  - 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
170
191
  - Action: Use gemDeclaration for source, then bind each connector role to the selected account. Keep Executor paths out of Gem source.
171
192
  - 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
172
193
  - Action: No action is required; prerelease and malformed registry versions now follow the same validation and ordering rules as release publication.
194
+ - When the server's tool schema has drifted from the field list in an older CLI, an invalid-arguments failure keeps its real error and failing-field details, and `uru operations inspect` prints the base contract with a note. `uru tools run` on a proxy action whose result is over 400,000 bytes now names that limit and how to get the value (fewer fields or a smaller page). — surfaces: cli; reference: apps/cli/src/tool-failure-guidance.ts
173
195
 
174
196
  ### Internal
175
197
 
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 switch <workspace-id>
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
 
@@ -141,6 +149,20 @@ bun src/index.ts complete fish
141
149
  bun src/index.ts complete powershell
142
150
  ```
143
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
+
144
166
  Generated MCP configs connect straight to the Uru MCP server over streamable
145
167
  HTTP: `"type": "http"` and the MCP URL of the CLI's environment
146
168
  (`https://mcp.uruintelligence.com/mcp` for production). Pass `--mcp-url <url>`
@@ -156,8 +178,7 @@ references that environment variable (`${URU_API_KEY}` for Claude Code,
156
178
 
157
179
  Every entry sends the `X-Uru-Workspace-Id` header, because every MCP call names
158
180
  its workspace. `mcp config` and `mcp install` fail when no workspace resolves
159
- from `--workspace`, `URU_WORKSPACE_ID`, the linked project, or the last
160
- `uru switch`.
181
+ from `--workspace`, `URU_WORKSPACE_ID`, or the linked project.
161
182
 
162
183
  The workspace must be a UUID, because the MCP server refuses any other value
163
184
  in the workspace header.
@@ -183,20 +204,29 @@ rules. `uru tools schema` loads the exact selected action schema.
183
204
  handle. It uses the logged-in user and workspace, and reads bounded pages.
184
205
  `uru tools run` sends its stable action reference and arguments. Platform
185
206
  operation calls do not take an `op` argument; the server sets that value.
186
- `uru tools run` prints the action's complete result. When the execute route
187
- answers a large result with a retained handle, the command reads the complete
188
- redacted JSON through the same route as `uru tools output`, then prints it.
207
+ `uru tools run` prints the action's value. When the host retains a whole
208
+ program result, the command reads the complete redacted JSON through the same
209
+ route as `uru tools output`, then prints the action value from it.
189
210
 
190
211
  For a proxy action, the CLI uses the fixed MCP `execute` tool. Schema reads use
191
- `tools.describe.tool({ path })`. Calls use the exact `tools.<path>(parameters)`
212
+ `tools.search.describe({ paths: [path] })` and read the first returned item:
213
+ the path, the whole description and the TypeScript signature, with no raw JSON
214
+ Schemas.
215
+ Calls use the exact `tools.<path>(parameters)`
192
216
  Executor path from the authorized catalog: the canonical address, or the call
193
217
  name when the catalog has no canonical address (for example `docs`). The CLI
194
218
  sends the action reference and workspace with each call. `uru tools run` prints
195
- the action's own `tools/call` result (`content`, `structuredContent`, `_meta`),
196
- not the Executor `execute` wrapper. When Executor keeps a large result behind a
197
- retained handle, the command reads the complete result through the same route
198
- as `uru tools output`. Platform and connector actions still use the exact
199
- action execute route.
219
+ the action value as `structuredContent` and the call workspace as `_meta`. The
220
+ value is the action's `structuredContent`, or its whole result when it has
221
+ none. As in Executor v2, the action's text, media and provider `_meta` are not
222
+ added to the program output, so the command does not print them. It never
223
+ prints the Executor `execute` wrapper. When Executor keeps a large program
224
+ result behind a retained handle, the command reads the complete stored result
225
+ through the same route as `uru tools output` and prints it. Platform and connector actions still use the exact action
226
+ execute route. That route keeps a large result's own value behind a retained
227
+ handle. The command reads the value and puts it in the envelope's `result`, so
228
+ a large result prints with `success` and the other execution fields, as a small
229
+ one does.
200
230
 
201
231
  `tools run --parallel` accepts a JSON array of input objects. Calls run in order.
202
232
  If one fails, the command prints completed results and the failed input index.
@@ -240,7 +270,7 @@ explicit token/API-key paths:
240
270
  - `uru login --token ...` stores the token in OS credential storage when available: macOS Keychain, Linux `secret-tool`/libsecret, or Windows Credential Manager via PowerShell
241
271
  - `uru login --token ... --insecure-storage` is the explicit plaintext fallback
242
272
  - 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.
243
- - browser/device credentials renew within five minutes of session expiry. A workspace switch is request scope and does not rotate the login.
273
+ - browser/device credentials renew within five minutes of session expiry. Naming a workspace is request scope and does not rotate the login.
244
274
  - interactive commands with missing or expired stored auth start browser login and then retry the command without printing login success text to stdout
245
275
  - `--no-input` disables implicit login and exits `4` when authentication is missing
246
276
  - `uru logout` invalidates the current CLI session, revokes the renewable OAuth credential, and clears local auth state
@@ -252,7 +282,7 @@ explicit token/API-key paths:
252
282
  - linked project state: `.uru/project.json` with `{workspaceId, gemId, libraryPath}`
253
283
  - no credentials are written to `.uru/project.json`
254
284
  - `uru auth status` reports logged-in / workspace / storage / expiry and never prints a JWT. `uru whoami` stays a server identity call.
255
- - `uru switch` sets the local default workspace. `uru link` binds this directory to one Gem. `--workspace` / `URU_WORKSPACE_ID` select one of your current workspace memberships for one invocation.
285
+ - `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.
256
286
  - The screen says Agent; Library paths and schemas say persona (`library/Agents/Name.persona.md`).
257
287
  - Gem secrets use `uru secrets put|ls|rm`; values are write-only
258
288
  - `uru env pull` writes a metadata-only template, never downloads remote secret