ur-agent 1.84.5 → 1.84.6

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,33 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.84.6
4
+
5
+ - Made NVIDIA hosted model selection contract-driven. The authenticated live
6
+ catalog is now intersected with a reviewed positive list of multi-turn,
7
+ tool-capable agent contracts, so download-only cards, utility endpoints,
8
+ single-use functions, and unknown models cannot become the ongoing agent.
9
+ Custom enterprise/self-hosted NIM gateways continue to use their own saved
10
+ endpoint and live catalog.
11
+ - Added complete NVIDIA one-shot workflows without replacing the conversation
12
+ model. `/model` labels eligible FLUX.1 Schnell, Stable Video Diffusion, and
13
+ PaliGemma entries with their purpose; UR reuses the configured NVIDIA key,
14
+ dispatches to each exact documented `ai.api.nvidia.com` endpoint, polls
15
+ asynchronous jobs, and saves JPEG/MP4 artifacts under
16
+ `.ur/artifacts/nvidia/`. A one-shot entry appears only when the connected
17
+ account returns it and UR has a complete adapter.
18
+ - Kept NVIDIA media tasks portable across every enclosing agent provider.
19
+ Generated binary data is decoded locally and the tool result contains only
20
+ the artifact path or analysis text, avoiding provider-invalid image content
21
+ inside `tool_result`. Definitive account/function 404s are reported without
22
+ exposing NVIDIA's internal identifiers and remove the rejected model from
23
+ the current catalog until refresh.
24
+ - Made structured clarification menus the mandatory path for every real
25
+ question with concrete choices. Plain text remains available for genuinely
26
+ open-ended questions, while legitimate menus larger than eight options are
27
+ preserved instead of failing schema validation. Public, configuration,
28
+ troubleshooting, validation, and technical documentation now describe the
29
+ same executable behavior.
30
+
3
31
  ## 1.84.5
4
32
 
5
33
  - Fixed a provider-wide multi-turn tool-history failure. Some
package/README.md CHANGED
@@ -405,13 +405,27 @@ In the interactive app, `/model` is a two-step, provider-first picker:
405
405
  `static` (predefined), or `unavailable` after a failed discovery with no
406
406
  fallback. Local/server providers (Ollama, LM Studio,
407
407
  llama.cpp, vLLM, Unsloth) and OpenAI-compatible endpoints are discovered live. Hosted NVIDIA NIM
408
- uses its documented `/v1/models` response directly and removes non-agent utility
409
- endpoints before presenting a model; the separate NVCF deployment inventory does not narrow it. API
408
+ intersects its authenticated `/v1/models` response with UR's audited positive
409
+ agent contracts, so presence in NVIDIA's mixed inventory never makes an
410
+ embedding, parser, VLM, generator, or download-only card an ongoing chat model.
411
+ The separate NVCF deployment inventory does not narrow the hosted list. API
410
412
  providers use live discovery from their `/models` endpoint once a key is
411
413
  connected (with a curated fallback list before that). Subscription CLIs show
412
414
  their curated model list because the official CLIs expose no models API. The
413
415
  generic `subscription` entry is an internal placeholder hidden from listings.
414
416
 
417
+ NVIDIA is split into two visibly labelled modes. `AGENT` models own the
418
+ ongoing tool-calling conversation. `ONE-SHOT` models run one specialized
419
+ job and never replace that agent. UR exposes a task model only when the live
420
+ account catalog returns it and UR has a complete adapter: FLUX.1 Schnell
421
+ (text-to-image JPEG), Stable Video Diffusion (JPEG/PNG-to-MP4), and PaliGemma
422
+ (single-image understanding).
423
+ Focusing a task model shows its purpose and constraints; Enter remembers it
424
+ for the next matching NVIDIA task. Generated media is written under
425
+ `.ur/artifacts/nvidia/` by default and the model receives only the file path
426
+ in the tool result, preserving compatibility with providers that reject
427
+ binary image content inside `tool_result`.
428
+
415
429
  In the model catalog, use **Up/Down** to browse. For graded models, the effort row updates to
416
430
  the focused model's capability-backed selectors; use **Left/Right** to cycle
417
431
  only values UR can map to provider-native levels before pressing Enter. For
@@ -478,8 +492,11 @@ identity line in the system prompt reflects it too:
478
492
  `x-api-key` + `anthropic-version` on `/v1/messages`, OpenAI `Bearer` on
479
493
  `/v1/chat/completions` by default or `/v1/responses` when explicitly
480
494
  selected, Gemini `x-goog-api-key` on `:generateContent`, OpenRouter on its
481
- OpenAI-compatible chat endpoint, and NVIDIA NIM on its official hosted or
482
- user-selected OpenAI-compatible endpoint.
495
+ OpenAI-compatible chat endpoint, and NVIDIA NIM agent models on their exact
496
+ documented hosted chat endpoint or a user-selected compatible NIM gateway.
497
+ NVIDIA one-shot models use their documented `ai.api.nvidia.com` endpoint
498
+ with the same securely stored `NVIDIA_API_KEY`; asynchronous jobs are polled
499
+ through NVIDIA's request ID until completion or user cancellation.
483
500
  - **Local/server** providers call the configured endpoint (`/v1/chat/completions`
484
501
  for LM Studio/llama.cpp/vLLM/Unsloth; the native API for Ollama). Unsloth is
485
502
  provider-only: UR never starts, installs, updates, trains, or loads models in