ur-agent 1.27.5 → 1.28.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,5 +1,35 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.28.0
4
+
5
+ - Subscription CLI providers (Codex, Claude Code, Gemini, Antigravity) now
6
+ perform real dispatch: the official CLI is spawned in non-interactive mode with
7
+ the scoped model and prompt, and its stdout becomes the response. Non-zero exit
8
+ or empty output fails clearly instead of returning placeholder text.
9
+ - API providers now use each provider's native wire format: Anthropic
10
+ `x-api-key` + `anthropic-version` on `/v1/messages`, OpenAI `Authorization:
11
+ Bearer` on `/v1/chat/completions`, Gemini `x-goog-api-key` on
12
+ `:generateContent`, routed by a new provider-family classifier.
13
+ - Real runtime provider identity: `getRuntimeProviderId`/`getProviderFamily`
14
+ expose the true selected provider; `getAPIProvider` is derived from it rather
15
+ than string-matching raw settings.
16
+ - Fix saved local/server (live-discovery) model pairs being rejected on a cold
17
+ process; the endpoint is treated as the source of truth before discovery runs.
18
+ Static (API/subscription) pairs remain strictly validated.
19
+ - Add behavior-proving tests that exercise the real clients (CLI runner, mocked
20
+ HTTP) and assert wire format, response content, identity, and cold-cache
21
+ restart — not just provider-id routing. Centralize the Ollama default and
22
+ remove dead code.
23
+
24
+ ## 1.27.6
25
+
26
+ - Route runtime requests through the selected provider/model pair instead of
27
+ allowing stale Ollama/default-provider paths to handle non-Ollama requests.
28
+ - Add runtime dispatch validation, backend labels, and focused mocked dispatch
29
+ tests for subscription CLI, API, Ollama, and OpenAI-compatible providers.
30
+ - Fix malformed message rendering from crashing startup when an undefined entry
31
+ appears in the UI message list.
32
+
3
33
  ## 1.27.5
4
34
 
5
35
  - Make `/model` provider-first and provider-scoped, with clear subscription,
package/README.md CHANGED
@@ -143,9 +143,11 @@ ur --ollama-host http://192.168.1.50:11434
143
143
  ur --discover-ollama
144
144
  ```
145
145
 
146
- Model selection precedence is `OLLAMA_MODEL`, then `UR_MODEL`, then the model
147
- router over the configured Ollama host. If model discovery fails, the built-in
148
- fallback is `qwen3-coder:480b-cloud`.
146
+ For Ollama sessions, model selection precedence is `OLLAMA_MODEL`, then
147
+ `UR_MODEL`, then the model router over the configured Ollama host. Once a
148
+ provider/model pair is selected with `/model` or `ur config set`, runtime
149
+ requests use that provider backend; they do not fall back to Ollama unless
150
+ `ollama` is the selected provider.
149
151
 
150
152
  ### Legal Provider Auth
151
153
 
@@ -195,7 +197,10 @@ Use quotes for shell values with spaces.
195
197
  In the interactive app, `/model` shows providers first and then shows only the
196
198
  selected provider's models. OpenAI API and Codex CLI, Claude API and Claude
197
199
  Code, and Gemini API and Gemini CLI are separate access paths; subscription
198
- logins and API keys are not interchangeable.
200
+ logins and API keys are not interchangeable. The final confirmation includes
201
+ the runtime backend that will receive the next agent request. Use
202
+ `ur provider status` to show the active provider, model, access type, and
203
+ runtime backend.
199
204
 
200
205
  Security policy: UR-AGENT never scrapes browser sessions, extracts OAuth
201
206
  tokens, bypasses subscription/quota/region/organization restrictions, proxies a