ur-agent 1.82.0 → 1.82.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,39 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.82.2
4
+
5
+ - Saved custom base URLs independently for every provider, including Ollama,
6
+ llama.cpp, vLLM, LM Studio, and Unsloth. Switching through `/provider`,
7
+ `/model`, or CLI configuration now restores each provider's last endpoint,
8
+ with automatic migration from the legacy single-address setting.
9
+ - Fixed Ollama graded reasoning discovery and transport. The model picker now
10
+ reads the focused model's `/api/show` capability before selection, Left/Right
11
+ cycles its real effort ladder, and requests send the chosen native `think`
12
+ value; Kimi K3 supports `low`, `high`, and `max`, while GPT-OSS safely caps at
13
+ `high`.
14
+ - Audited direct OpenAI, Anthropic, Gemini, OpenRouter, llama.cpp, and generic
15
+ OpenAI-compatible provider effort handling. Live model discovery retains
16
+ documented model-specific ladders, Gemini serializes `thinkingLevel`, and
17
+ providers without authoritative graded metadata no longer receive invented
18
+ levels.
19
+
20
+ ## 1.82.1
21
+
22
+ - Added a mandatory execution/trust kernel to every main, custom, and subagent
23
+ prompt; repository files, tool output, recalled memory, and MCP instructions
24
+ are now explicitly provenance-wrapped as untrusted evidence rather than
25
+ authority. A per-process canary, presentation-boundary redaction, and a final
26
+ post-hook input check prevent hidden-instruction and canary exfiltration.
27
+ - Added provenance-aware authorization for suspicious evidence, regression-safe
28
+ prompt optimization, exact prompt/tool/context/model fingerprints, stronger
29
+ deterministic eval fixtures, hidden behavior checks, and least-privilege
30
+ generated agent specifications with explicit tools, permissions, turn limits,
31
+ and evaluation cases.
32
+ - Added Unsloth as an authenticated, provider-only OpenAI-compatible runtime
33
+ with live model discovery, native streaming, and standard function calls.
34
+ UR never manages Unsloth and forces `enable_tools: false` so all execution
35
+ remains inside UR's permission, sandbox, provenance, and verifier boundary.
36
+
3
37
  ## 1.82.0
4
38
 
5
39
  - Restored the complete UR agent prompt, conversation history, tools, and
package/README.md CHANGED
@@ -284,6 +284,7 @@ ur config set provider openai-api
284
284
  ur config set provider anthropic-api
285
285
  ur config set provider gemini-api
286
286
  ur config set provider openrouter
287
+ ur config set provider unsloth
287
288
  ur config set model qwen2.5-coder:7b
288
289
  ur provider select-model ollama qwen2.5-coder:7b --json
289
290
  ur config set base_url http://localhost:11434
@@ -294,6 +295,12 @@ ur config set provider.fallback ollama
294
295
  guidance. UR never switches providers automatically: inspect the failure and
295
296
  select the recovery provider explicitly with `ur config set provider <id>`.
296
297
 
298
+ `base_url` belongs to the provider that is active when it is set. UR remembers
299
+ each provider's address independently, so switching among Ollama, LM Studio,
300
+ llama.cpp, vLLM, Unsloth, or another compatible endpoint restores that
301
+ provider's last URL automatically. Existing single-URL settings are migrated
302
+ to the previously active provider on the first switch.
303
+
297
304
  OpenAI API traffic uses Chat Completions by default. The Responses transport is
298
305
  an explicit, provider-scoped opt-in with privacy-conscious defaults:
299
306
 
@@ -314,7 +321,7 @@ to the default with `ur config set openai_transport chat-completions`.
314
321
 
315
322
  Provider config accepts canonical IDs and common aliases. Examples:
316
323
  `openai-api`, `anthropic-api`, `gemini-api`, `openrouter`, `ollama`,
317
- `lmstudio`, `LM Studio`, `llama.cpp`, `vllm`, and the subscription CLIs
324
+ `lmstudio`, `LM Studio`, `llama.cpp`, `vllm`, `unsloth` (`Unsloth Studio`), and the subscription CLIs
318
325
  `codex-cli` (`chatgpt`), `claude-code-cli` (`claude`), `gemini-cli` (`gemini`),
319
326
  and `antigravity-cli` (`agy`). Use quotes for shell values with spaces.
320
327
 
@@ -337,6 +344,7 @@ ur connect logout openai-api # clear a stored key
337
344
  | LM Studio | local/server | UR-native | local OpenAI-compatible server |
338
345
  | llama.cpp | local/server | UR-native | local OpenAI-compatible server |
339
346
  | vLLM | local/server | UR-native | OpenAI-compatible server |
347
+ | Unsloth | local/server | UR-native | authenticated user-run Unsloth Studio endpoint (`UNSLOTH_API_KEY`) |
340
348
  | Codex CLI | subscription | external app bridge | official Codex CLI login (`ur auth chatgpt`) |
341
349
  | Claude Code | subscription | external app bridge | official Claude Code login (`ur auth claude`) |
342
350
  | Gemini CLI | subscription | external app bridge | official Gemini Code Assist login (`ur auth gemini`) |
@@ -353,7 +361,7 @@ In the interactive app, `/model` is a two-step, provider-first picker:
353
361
  2. **Choose a model.** Only the selected provider's models are shown, labelled
354
362
  by source: `live` (discovered from the endpoint), `cache` (last discovery),
355
363
  or `static` (predefined). Local/server providers (Ollama, LM Studio,
356
- llama.cpp, vLLM) and OpenAI-compatible endpoints are discovered live; API
364
+ llama.cpp, vLLM, Unsloth) and OpenAI-compatible endpoints are discovered live; API
357
365
  providers use live discovery from their `/models` endpoint once a key is
358
366
  connected (with a curated fallback list before that). Subscription CLIs show
359
367
  their curated model list because the official CLIs expose no models API. The
@@ -365,7 +373,9 @@ In the interactive app, `/model` is a two-step, provider-first picker:
365
373
  resolved visibly to that model's actual `max`, `xhigh`, or `high` ceiling,
366
374
  and the resolved value is the value sent to the provider. llama.cpp models
367
375
  are checked lazily through their model-scoped `/props` capability while the
368
- cursor moves. OpenRouter additionally
376
+ cursor moves. Ollama models are checked through `/api/show`; Kimi K3 exposes
377
+ `low`, `high`, and `max`, and the chosen level is sent through Ollama's
378
+ native `think` field. OpenRouter additionally
369
379
  shows compact model names, FREE/PAID tier, context size, tool/reasoning
370
380
  support, and the full untruncated ID immediately below the focused entry.
371
381
  Its catalog is fetched fresh every time it opens and never falls back to a
@@ -394,7 +404,10 @@ identity line in the system prompt reflects it too:
394
404
  selected, Gemini `x-goog-api-key` on `:generateContent`, and OpenRouter on its
395
405
  OpenAI-compatible chat endpoint.
396
406
  - **Local/server** providers call the configured endpoint (`/v1/chat/completions`
397
- for LM Studio/llama.cpp/vLLM; the native API for Ollama).
407
+ for LM Studio/llama.cpp/vLLM/Unsloth; the native API for Ollama). Unsloth is
408
+ provider-only: UR never starts, installs, updates, trains, or loads models in
409
+ Unsloth. UR sends `enable_tools: false` so only UR's permissioned native tools
410
+ can execute.
398
411
  - **Subscription CLIs** (Codex, Claude Code, Gemini, Antigravity) are external
399
412
  app bridges: selecting one dispatches the turn through the vendor's official
400
413
  CLI using your subscription. Log in with `ur auth <provider>`. UR-native
package/RELEASE.md CHANGED
@@ -72,7 +72,8 @@ Version bump checklist (all versioned release surfaces must move together):
72
72
  5. `extensions/jetbrains-ur/build.gradle.kts` `version`
73
73
  6. The `MACRO.VERSION` fallbacks in `src/commands/agent-ci/agent-ci.ts`,
74
74
  `src/services/agents/agenticCi.ts`, and
75
- `src/services/agents/featureScaffolds.ts`
75
+ `src/services/agents/featureScaffolds.ts`, and
76
+ `src/services/agents/trends.ts`
76
77
  7. Add a `CHANGELOG.md` entry, then run `bun run build` so `dist/cli.js`
77
78
  embeds the new version (`bun run release:check` verifies all of this).
78
79