ur-agent 1.27.4 → 1.27.5

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.
@@ -10,7 +10,7 @@ UR-AGENT supports official provider access paths only:
10
10
  and Antigravity CLI where officially supported.
11
11
  - Explicit API providers: OpenAI, Anthropic, Gemini, OpenRouter, and
12
12
  OpenAI-compatible endpoints.
13
- - Local providers: Ollama, LM Studio, llama.cpp, and vLLM OpenAI-compatible
13
+ - Local/server providers: Ollama, LM Studio, llama.cpp, and vLLM OpenAI-compatible
14
14
  server mode.
15
15
 
16
16
  UR-AGENT never scrapes browser sessions, extracts OAuth refresh tokens, reads
@@ -54,6 +54,12 @@ Provider values accept canonical IDs and common aliases. Examples:
54
54
  `agy`, `ollama`, `lmstudio`, `LM Studio`, `llama.cpp`, and `vllm`.
55
55
  Values with spaces should be quoted in shell commands.
56
56
 
57
+ In the interactive app, `/model` is provider-first: choose a provider, then
58
+ choose a model from that provider only. The picker labels providers as
59
+ subscription login, API key, local runtime, or OpenAI-compatible endpoint and
60
+ shows model source as `live`, `cache`, or `static`. Changing providers clears an
61
+ incompatible saved model instead of silently carrying it across providers.
62
+
57
63
  API keys are not written to UR settings. Set them in the environment when you
58
64
  explicitly choose API mode:
59
65
 
package/docs/USAGE.md CHANGED
@@ -122,6 +122,11 @@ Claude Code, Gemini CLI, or Antigravity where supported. UR-AGENT never scrapes
122
122
  browser sessions, extracts OAuth tokens, or bypasses provider restrictions.
123
123
  OpenAI-compatible local or cloud endpoints use `base_url` plus `model`.
124
124
 
125
+ Use `/model` in an interactive session to select provider first and model
126
+ second. OpenAI API and Codex CLI, Claude API and Claude Code, and Gemini API and
127
+ Gemini CLI are separate providers; a subscription login does not grant API-key
128
+ access, and an API key does not grant subscription CLI access.
129
+
125
130
  ## Project Instructions
126
131
 
127
132
  Add a `UR.md` file to the repository root for team-shared instructions. UR loads it as project context.
package/docs/providers.md CHANGED
@@ -23,7 +23,7 @@ environment variables only when the user explicitly selects API mode.
23
23
 
24
24
  | Provider | Access type | Legal path |
25
25
  | --- | --- | --- |
26
- | ChatGPT/Codex | subscription | official Codex CLI login |
26
+ | Codex CLI | subscription | official Codex CLI login |
27
27
  | Claude Code | subscription | official Claude Code login |
28
28
  | Gemini CLI | subscription | official Gemini Code Assist login |
29
29
  | Antigravity | subscription | official Antigravity login, where supported |
@@ -61,7 +61,7 @@ ur config set provider.fallback ollama
61
61
 
62
62
  ## Provider-scoped model selection
63
63
 
64
- UR-AGENT shows only models available for the selected provider. This prevents selecting incompatible model/provider combinations.
64
+ UR-AGENT shows providers first, then only models available for the selected provider. This prevents incompatible model/provider pairs and keeps subscription CLI, API-key, and local/server runtime model lists separate.
65
65
 
66
66
  ## Runtime provider routing
67
67
 
@@ -69,7 +69,7 @@ When you select a provider and model, all agent requests are routed through that
69
69
 
70
70
  - **Subscription providers** spawn the official CLI command
71
71
  - **API providers** make direct HTTP API calls with your API key
72
- - **Local providers** connect to the configured local endpoint
72
+ - **Local/server providers** connect to the configured local or OpenAI-compatible endpoint
73
73
 
74
74
  The selected provider determines:
75
75
  - Which backend receives your requests
@@ -86,7 +86,7 @@ When you run `/model` in the interactive agent, you get a **two-step provider-fi
86
86
  **Step 1: Provider Selection**
87
87
 
88
88
  You see all configured providers with:
89
- - Provider name (e.g., "ChatGPT/Codex", "OpenAI API", "Ollama")
89
+ - Provider name (e.g., "Codex CLI", "OpenAI API", "Ollama")
90
90
  - Access type: `subscription`, `api`, `local`, or `server`
91
91
  - Connection status: `connected`, `missing`, `unavailable`, or `unknown`
92
92
  - Credential type: `cli-login`, `api-key`, `local-runtime`, or `openai-compatible-endpoint`
@@ -113,23 +113,22 @@ After selecting a model, the confirmation shows:
113
113
  ```
114
114
  /model
115
115
  → Step 1: Select provider
116
- ChatGPT/Codex · subscription · connected
116
+ Codex CLI · subscription · subscription login connected
117
117
  OpenAI API · api · OPENAI_API_KEY found
118
118
  Ollama · local · localhost reachable
119
119
 
120
- → Select: ChatGPT/Codex
120
+ → Select: Codex CLI
121
121
 
122
122
  → Step 2: Select model
123
- gpt-4o · Most capable GPT-4 model
124
- gpt-4o-mini · Fast and efficient variant
125
- o1 · Reasoning model
123
+ codex/gpt-5.5 · Subscription model through official Codex CLI login · static
124
+ codex/gpt-5.4-mini · Fast subscription model through official Codex CLI login · static
126
125
 
127
- → Select: gpt-4o
126
+ → Select: codex/gpt-5.5
128
127
 
129
128
  → Confirmation:
130
- Provider: ChatGPT/Codex (subscription)
131
- Model: gpt-4o
132
- Source: static
129
+ Selected provider: Codex CLI (subscription)
130
+ Selected model: codex/gpt-5.5
131
+ Model source: static
133
132
  ```
134
133
 
135
134
  ### CLI workflow
@@ -142,11 +141,11 @@ ur config set provider openai-api
142
141
  /model
143
142
 
144
143
  # 3. Select a model from the filtered list
145
- ur config set model gpt-4o
144
+ ur config set model gpt-5.5
146
145
 
147
146
  # 4. Switch to a different provider - model list updates automatically
148
147
  ur config set provider anthropic-api
149
- # Now /model shows only Claude models, not GPT models
148
+ # Now /model shows only Claude API models, not Codex CLI or OpenAI API models
150
149
  ```
151
150
 
152
151
  ### Model discovery behavior
@@ -155,13 +154,13 @@ ur config set provider anthropic-api
155
154
  | --- | --- | --- |
156
155
  | Subscription CLI (codex-cli, claude-code-cli, gemini-cli, antigravity-cli) | Static list of provider-specific models | static |
157
156
  | API providers (openai-api, anthropic-api, gemini-api, openrouter) | Static list of provider-specific models | static |
158
- | Local providers (ollama, lmstudio, llama.cpp, vllm) | Dynamic discovery from local server | live |
157
+ | Local/server providers (ollama, lmstudio, llama.cpp, vllm) | Dynamic discovery from the selected provider endpoint | live |
159
158
  | OpenAI-compatible | Dynamic discovery from configured endpoint | live |
160
159
 
161
160
  ### API vs Subscription distinction
162
161
 
163
162
  **Subscription providers** require official CLI login:
164
- - `codex-cli` — ChatGPT/Codex subscription via `codex login`
163
+ - `codex-cli` — Codex CLI subscription via `codex login`
165
164
  - `claude-code-cli` — Claude Code subscription via `claude auth login`
166
165
  - `gemini-cli` — Gemini Code Assist enterprise login
167
166
  - `antigravity-cli` — Antigravity subscription login
@@ -172,7 +171,7 @@ ur config set provider anthropic-api
172
171
  - `gemini-api` — requires `GEMINI_API_KEY`
173
172
  - `openrouter` — requires `OPENROUTER_API_KEY`
174
173
 
175
- **Local providers** require local runtime:
174
+ **Local/server providers** require local runtime or endpoint:
176
175
  - `ollama` — localhost Ollama server
177
176
  - `lmstudio` — LM Studio OpenAI-compatible server
178
177
  - `llama.cpp` — llama.cpp server mode
@@ -192,18 +191,18 @@ When you set a model that is incompatible with the current provider, UR-AGENT sh
192
191
  ```
193
192
  Invalid model for current provider:
194
193
  Selected provider: openai-api
195
- Selected model: claude-sonnet-4-20250514
196
- Error: Model "claude-sonnet-4-20250514" is not available for provider "openai-api".
197
- Valid models for openai-api: gpt-4o, gpt-4o-mini, o1, o3-mini, gpt-4-turbo
198
- Suggested: ur config set model gpt-4o
194
+ Selected model: claude-sonnet-5
195
+ Valid models for openai-api: gpt-5.5, gpt-5.4, gpt-5.4-mini, gpt-4o, gpt-4o-mini, o1, o3-mini
196
+ Suggested action: Run /model and choose a model from openai-api, or run: ur config set model gpt-5.5
197
+ Error: Model "claude-sonnet-5" is not available for provider "openai-api".
199
198
  ```
200
199
 
201
200
  When you change providers, UR-AGENT warns if the current model is incompatible:
202
201
 
203
202
  ```
204
- Warning: Current model "gpt-4o" is not available for provider "anthropic-api".
205
- Valid models for anthropic-api: claude-sonnet-4-20250514, claude-opus-4-20250514, claude-3-5-sonnet-20241022, claude-3-haiku-20240307
206
- After changing provider, run: ur config set model claude-sonnet-4-20250514
203
+ Warning: Current model "gpt-5.5" is not available for provider "anthropic-api" and will be cleared.
204
+ Valid models for anthropic-api: claude-sonnet-5, claude-opus-4-8, claude-opus-4-7
205
+ After changing provider, run /model or: ur config set model claude-sonnet-5
207
206
  ```
208
207
 
209
208
  ### Troubleshooting
@@ -239,7 +238,7 @@ ur provider status
239
238
  - Ollama is only used when `ollama` is the selected provider
240
239
 
241
240
  **Dynamic discovery fails:**
242
- - Local providers: check server is running at configured URL
241
+ - Local/server providers: check server is running at configured URL
243
242
  - OpenAI-compatible: verify base_url and API key (if required)
244
243
  - Fallback only to same provider's cached models (never other providers)
245
244
 
@@ -293,7 +292,7 @@ fallback option.
293
292
  where installed. It launches only an installed official CLI command where
294
293
  supported; UR-AGENT does not invent flags.
295
294
 
296
- ## API and local providers
295
+ ## API and local/server providers
297
296
 
298
297
  API providers require explicit user selection and environment keys:
299
298
 
@@ -312,7 +311,7 @@ ur config set base_url http://localhost:1234/v1
312
311
  ur config set model local-model-name
313
312
  ```
314
313
 
315
- Local providers use their normal servers:
314
+ Local/server providers use their normal endpoints:
316
315
 
317
316
  - Ollama: `http://localhost:11434`
318
317
  - LM Studio: `http://localhost:1234/v1`
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ur-agent",
3
- "version": "1.27.4",
3
+ "version": "1.27.5",
4
4
  "description": "UR-AGENT — autonomous engineering workflow engine (plan, execute, test, verify, document, benchmark, reproduce)",
5
5
  "type": "module",
6
6
  "packageManager": "bun@1.3.14",