ur-agent 1.85.0 → 1.85.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/CHANGELOG.md CHANGED
@@ -1,5 +1,49 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.85.2
4
+
5
+ - Made NVIDIA Special selections directly executable from the next prompt. UR
6
+ now sends focused image, video, audio, vision, retrieval, and other one-shot
7
+ jobs through the selected model's exact NVIDIA inference contract without
8
+ invoking or depending on the ongoing Anthropic, OpenAI, Ollama, or other
9
+ conversation provider. Structured prompt, file, passage, output-path, and
10
+ exact-JSON inputs are accepted, and missing required media produces targeted
11
+ guidance instead of an unrelated provider error.
12
+ - Restored reliable model switching across providers. Provider and model now
13
+ change atomically, selecting an ordinary model exits NVIDIA Special mode,
14
+ provider-scoped models take precedence over stale legacy global settings,
15
+ and a saved model from one backend can no longer be paired accidentally with
16
+ another backend.
17
+ - Added NVIDIA Special to first-run and new-folder provider selection while
18
+ keeping a normal agent model available for the conversation, and made the
19
+ active focused-task model visible in the status line. Updated public,
20
+ troubleshooting, provider, validation, and technical documentation, with
21
+ end-to-end regression coverage proving focused tasks bypass the conversation
22
+ provider and stale provider/model pairs recover correctly.
23
+ - Refreshed the locked `fast-uri` dependency to its compatible 3.1.6 release so
24
+ the production dependency audit remains clean without changing runtime policy.
25
+
26
+ ## 1.85.1
27
+
28
+ - Added complete Anthropic workspace routing for identity-linked Claude API
29
+ keys. A validated workspace ID can be configured with
30
+ `anthropic.workspace_id`, `ANTHROPIC_WORKSPACE_ID`, or
31
+ `ur connect anthropic-api --workspace-id`; UR applies the matching header to
32
+ model discovery, diagnostics, streaming and non-streaming Messages requests,
33
+ and token counting while leaving workspace-scoped keys unchanged.
34
+ - Preserved Anthropic's real missing-workspace response and replaced the
35
+ misleading provider/model compatibility failure with an actionable setup
36
+ instruction. Live model caches are partitioned by workspace so one workspace
37
+ cannot reuse another workspace's catalog.
38
+ - Made OpenAI permanent account failures fail immediately instead of looking
39
+ like slow inference. Streaming HTTP error bodies are decoded safely, exact
40
+ provider error codes such as `billing_not_active` and `insufficient_quota`
41
+ are treated as non-retryable, and genuine transient rate limits continue to
42
+ use retry and backoff behavior.
43
+ - Isolated provider-discovery tests from live keychain credentials and updated
44
+ public, configuration, troubleshooting, validation, provider, and technical
45
+ documentation for both behaviors.
46
+
3
47
  ## 1.85.0
4
48
 
5
49
  - Split NVIDIA Build into two truthful provider surfaces backed by one saved
package/README.md CHANGED
@@ -299,6 +299,7 @@ ur config set provider.fallback ollama
299
299
  ur config set openrouter.routing auto
300
300
  ur config set openrouter.preferred_min_throughput 40
301
301
  ur config set openrouter.preferred_max_latency 3
302
+ ur config set anthropic.workspace_id wrkspc_...
302
303
  ```
303
304
 
304
305
  `provider.fallback` records a recovery provider for `ur provider doctor`
@@ -332,6 +333,11 @@ store records identifiers and status only. Compacted context is persisted only
332
333
  when `UR_OPENAI_RESPONSES_STATE_KEY` contains a 32-byte encryption key. Return
333
334
  to the default with `ur config set openai_transport chat-completions`.
334
335
 
336
+ Both OpenAI transports retry genuine temporary rate limits. Permanent
337
+ machine-coded account or billing responses such as `billing_not_active` and
338
+ `insufficient_quota` are reported immediately, so an inactive project does not
339
+ look like minute-long model latency.
340
+
335
341
  OpenRouter `auto` routing leaves tool turns to Auto Exacto and optimizes
336
342
  non-tool turns for end-to-end throughput. The routing, fallback,
337
343
  strict-parameter, rolling performance preference, service-tier, and supported
@@ -351,6 +357,21 @@ ur config set openrouter.speed fast # standard | fast
351
357
  Direct Anthropic requests automatically preserve UR's prompt-cache
352
358
  breakpoints and enable per-tool fine-grained input streaming, reducing repeat
353
359
  prefill work and exposing large tool arguments as Claude generates them.
360
+ Anthropic identity-linked keys that can act across workspaces also require a
361
+ workspace on discovery, inference, streaming, and token-count calls. Configure
362
+ the Console workspace ID once (it is not a secret):
363
+
364
+ ```sh
365
+ ur config set anthropic.workspace_id wrkspc_...
366
+ # or for one environment:
367
+ export ANTHROPIC_WORKSPACE_ID=wrkspc_...
368
+ ```
369
+
370
+ UR sends `anthropic-workspace-id` only when configured. Workspace-scoped keys
371
+ continue to work without it. Use `auto` to clear the saved selection. If the
372
+ key and workspace are being connected together, `ur connect anthropic-api
373
+ --workspace-id wrkspc_...` accepts the same value.
374
+
354
375
  Anthropic's premium research-preview fast tier is opt-in and is sent only for
355
376
  Claude Opus 5 or Opus 4.8:
356
377
 
@@ -380,7 +401,7 @@ ur connect logout openai-api # clear a stored key
380
401
  | Provider | Access type | Runtime kind | Legal path |
381
402
  | --- | --- | --- | --- |
382
403
  | OpenAI API | API key | UR-native | `OPENAI_API_KEY` or `ur connect openai-api` |
383
- | Claude API | API key | UR-native | `ANTHROPIC_API_KEY` or `ur connect anthropic-api` |
404
+ | Claude API | API key | UR-native | `ANTHROPIC_API_KEY` or `ur connect anthropic-api`; identity-linked keys also use `ANTHROPIC_WORKSPACE_ID` or `anthropic.workspace_id` |
384
405
  | Gemini API | API key | UR-native | `GEMINI_API_KEY` or `ur connect gemini-api` |
385
406
  | OpenRouter | API/router | UR-native | `OPENROUTER_API_KEY` or `ur connect openrouter` |
386
407
  | NVIDIA Agentic | hosted/server API | UR-native | `NVIDIA_API_KEY` or `ur connect nvidia-nim`; configurable `base_url` |
@@ -431,6 +452,13 @@ In the interactive app, `/model` is a two-step, provider-first picker:
431
452
  UR supports direct HTTP, model-specific NVCF invocation, NVIDIA Assets,
432
453
  asynchronous polling, and the five documented Maxine/Riva gRPC services;
433
454
  artifacts are written under `.ur/artifacts/nvidia/` unless a path is supplied.
455
+ Selecting a Special row activates a real task mode: the next non-command
456
+ prompt goes directly to that card's inference endpoint and never passes
457
+ through the ongoing Anthropic, OpenAI, Ollama, or other chat provider. Plain
458
+ text becomes `prompt`. Models requiring media accept newline fields such as
459
+ `video_path: /path/source.mp4` or `image_path: /path/image.png`; exact JSON is
460
+ also accepted. First-workspace setup shows NVIDIA Special too, then returns
461
+ to the provider list so an ordinary agent model can be chosen for other work.
434
462
 
435
463
  In the model catalog, use **Up/Down** to browse. For graded models, the effort row updates to
436
464
  the focused model's capability-backed selectors; use **Left/Right** to cycle
@@ -502,7 +530,9 @@ identity line in the system prompt reflects it too:
502
530
  documented hosted chat endpoint or a user-selected compatible NIM gateway.
503
531
  NVIDIA Special uses each card's documented HTTP, direct NVCF, or gRPC
504
532
  endpoint with the same stored `NVIDIA_API_KEY`; asynchronous jobs are polled
505
- through NVIDIA's request ID until completion or user cancellation.
533
+ through NVIDIA's request ID until completion or user cancellation. While a
534
+ Special task is selected, the next plain prompt is dispatched directly and
535
+ does not require the ongoing agent provider to be connected.
506
536
  - **Local/server** providers call the configured endpoint (`/v1/chat/completions`
507
537
  for LM Studio/llama.cpp/vLLM/Unsloth; the native API for Ollama). Unsloth is
508
538
  provider-only: UR never starts, installs, updates, trains, or loads models in