ur-agent 1.84.5 → 1.84.7

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,53 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.84.7
4
+
5
+ - Replaced NVIDIA's three-model one-shot allowlist with a generated catalog
6
+ built from the current official LLM, retrieval, visual, multimodal,
7
+ healthcare, route-optimization, and climate OpenAPI references. The current
8
+ artifact contains 35 positive agent contracts and 92 exact task contracts;
9
+ task discovery no longer loses dedicated APIs merely because NVIDIA's chat
10
+ `/v1/models` inventory omits them. Broken, staging-only, status-only,
11
+ download-only, and undocumented operations stay hidden.
12
+ - Added real execution for every generated task contract. `NvidiaNimTask` can
13
+ describe required fields, validate documented request shapes, apply standard
14
+ prompt/image/query/passages conveniences, send advanced exact JSON, bind
15
+ local files through JSON pointers, upload and clean up NVIDIA Assets, poll
16
+ asynchronous requests, and save binary or large JSON output. Requests route
17
+ to the model's documented `integrate`, `ai`, `health`, `optimize`, or
18
+ `climate` endpoint with the configured NVIDIA key.
19
+ - Updated `/model`, provider doctor, tests, public docs, the static docs site,
20
+ and technical references to distinguish live agent inventory from official
21
+ task contracts and to show what each specialized model is for before use.
22
+
23
+ ## 1.84.6
24
+
25
+ - Made NVIDIA hosted model selection contract-driven. The authenticated live
26
+ catalog is now intersected with a reviewed positive list of multi-turn,
27
+ tool-capable agent contracts, so download-only cards, utility endpoints,
28
+ single-use functions, and unknown models cannot become the ongoing agent.
29
+ Custom enterprise/self-hosted NIM gateways continue to use their own saved
30
+ endpoint and live catalog.
31
+ - Added complete NVIDIA one-shot workflows without replacing the conversation
32
+ model. `/model` labels eligible FLUX.1 Schnell, Stable Video Diffusion, and
33
+ PaliGemma entries with their purpose; UR reuses the configured NVIDIA key,
34
+ dispatches to each exact documented `ai.api.nvidia.com` endpoint, polls
35
+ asynchronous jobs, and saves JPEG/MP4 artifacts under
36
+ `.ur/artifacts/nvidia/`. A one-shot entry appears only when the connected
37
+ account returns it and UR has a complete adapter.
38
+ - Kept NVIDIA media tasks portable across every enclosing agent provider.
39
+ Generated binary data is decoded locally and the tool result contains only
40
+ the artifact path or analysis text, avoiding provider-invalid image content
41
+ inside `tool_result`. Definitive account/function 404s are reported without
42
+ exposing NVIDIA's internal identifiers and remove the rejected model from
43
+ the current catalog until refresh.
44
+ - Made structured clarification menus the mandatory path for every real
45
+ question with concrete choices. Plain text remains available for genuinely
46
+ open-ended questions, while legitimate menus larger than eight options are
47
+ preserved instead of failing schema validation. Public, configuration,
48
+ troubleshooting, validation, and technical documentation now describe the
49
+ same executable behavior.
50
+
3
51
  ## 1.84.5
4
52
 
5
53
  - Fixed a provider-wide multi-turn tool-history failure. Some
package/README.md CHANGED
@@ -405,13 +405,30 @@ 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. The latter come from a checked-in catalog
420
+ generated from NVIDIA's current public OpenAPI indexes, not from the chat-only
421
+ `/v1/models` feed. This release implements 92 exact task contracts spanning
422
+ text/image/video/3D generation, visual analysis, embeddings, reranking,
423
+ parsing, safety, translation, biology, molecular modeling, medical imaging,
424
+ route optimization, and climate simulation. Broken, staging-only,
425
+ status-only, download-only, and undocumented operations stay absent.
426
+ Focusing a task model shows what it is for; Enter remembers it for the next
427
+ matching NVIDIA task. UR validates its documented schema, routes to the exact
428
+ `integrate`, `ai`, `health`, `optimize`, or `climate` host, uploads large or
429
+ UUID-based files with NVIDIA Assets, polls asynchronous work, and writes
430
+ binary/large JSON results under `.ur/artifacts/nvidia/`.
431
+
415
432
  In the model catalog, use **Up/Down** to browse. For graded models, the effort row updates to
416
433
  the focused model's capability-backed selectors; use **Left/Right** to cycle
417
434
  only values UR can map to provider-native levels before pressing Enter. For
@@ -478,8 +495,12 @@ identity line in the system prompt reflects it too:
478
495
  `x-api-key` + `anthropic-version` on `/v1/messages`, OpenAI `Bearer` on
479
496
  `/v1/chat/completions` by default or `/v1/responses` when explicitly
480
497
  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.
498
+ OpenAI-compatible chat endpoint, and NVIDIA NIM agent models on their exact
499
+ documented hosted chat endpoint or a user-selected compatible NIM gateway.
500
+ NVIDIA one-shot models use their documented model endpoint across NVIDIA's
501
+ AI, retrieval, health, optimization, and climate APIs with the same stored
502
+ `NVIDIA_API_KEY`; asynchronous jobs are polled through NVIDIA's request ID
503
+ until completion or user cancellation.
483
504
  - **Local/server** providers call the configured endpoint (`/v1/chat/completions`
484
505
  for LM Studio/llama.cpp/vLLM/Unsloth; the native API for Ollama). Unsloth is
485
506
  provider-only: UR never starts, installs, updates, trains, or loads models in