ur-agent 1.37.2 → 1.37.4

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/docs/providers.md CHANGED
@@ -420,3 +420,32 @@ Local/server providers use their normal endpoints:
420
420
  - LM Studio: `http://localhost:1234/v1`
421
421
  - llama.cpp server mode: `http://localhost:8080/v1`
422
422
  - vLLM server mode: `http://localhost:8000/v1`
423
+
424
+ ## Optional Live Provider Smoke
425
+
426
+ `bun run provider:smoke` runs optional live checks only for providers with the
427
+ required environment variables present. With no variables set it exits
428
+ successfully and reports every provider as skipped, so CI does not need secrets.
429
+
430
+ Configured providers run one short text request, a finite-timeout streaming
431
+ request, and, when `PROVIDER_SMOKE_TOOL_CALLS=1`, a forced tool-call request.
432
+
433
+ Required variables:
434
+
435
+ | Provider | Required env vars | Optional env vars |
436
+ | --- | --- | --- |
437
+ | OpenAI-compatible | `OPENAI_COMPATIBLE_BASE_URL`, `OPENAI_COMPATIBLE_MODEL` | `OPENAI_COMPATIBLE_API_KEY` |
438
+ | OpenRouter | `OPENROUTER_API_KEY`, `OPENROUTER_MODEL` | |
439
+ | Anthropic | `ANTHROPIC_API_KEY`, `ANTHROPIC_MODEL` | `ANTHROPIC_BASE_URL` |
440
+ | Gemini | `GEMINI_API_KEY`, `GEMINI_MODEL` | `GEMINI_BASE_URL` |
441
+ | Ollama | `OLLAMA_MODEL` | `OLLAMA_BASE_URL` or `OLLAMA_HOST` |
442
+ | LM Studio | `LMSTUDIO_BASE_URL`, `LMSTUDIO_MODEL` | `LMSTUDIO_API_KEY` |
443
+ | vLLM | `VLLM_BASE_URL`, `VLLM_MODEL` | `VLLM_API_KEY` |
444
+
445
+ Common knobs:
446
+
447
+ ```sh
448
+ PROVIDER_SMOKE_TIMEOUT_MS=30000
449
+ PROVIDER_SMOKE_MAX_RETRIES=0
450
+ PROVIDER_SMOKE_TOOL_CALLS=1
451
+ ```
@@ -44,7 +44,7 @@
44
44
  <main id="content" class="content">
45
45
  <header class="topbar">
46
46
  <div>
47
- <p class="eyebrow">Version 1.37.0</p>
47
+ <p class="eyebrow">Version 1.37.4</p>
48
48
  <h1>UR-AGENT Documentation</h1>
49
49
  <p class="lead">A practical, tutorial-style reference for installing, configuring, automating, extending, and operating UR-AGENT.</p>
50
50
  </div>
@@ -58,12 +58,12 @@
58
58
  <div class="section-heading">
59
59
  <p class="eyebrow">What UR Is</p>
60
60
  <h2>Autonomous engineering workflow engine</h2>
61
- <p>UR is not only chat, autocomplete, or code edits. It turns work into a plan, executes patches, tests and verifies them, documents the result, benchmarks behavior, and keeps the run reproducible from the terminal.</p>
61
+ <p>UR is not only chat, autocomplete, or code edits. It turns work into a plan, executes patches, tests and verifies them, documents the result, benchmarks behavior, and keeps the run reproducible.</p>
62
62
  </div>
63
63
  <div class="stat-grid">
64
64
  <article>
65
65
  <strong>Local-first runtime</strong>
66
- <span>Use local Ollama/OpenAI-compatible runtimes for private and offline work, or explicitly select configured API provider paths. Subscription access stays visible but unavailable when no independent backend exists.</span>
66
+ <span>Use local Ollama/OpenAI-compatible runtimes for private and offline work, or explicitly select configured API provider paths. Subscription access stays visible but unavailable when not authenticated.</span>
67
67
  </article>
68
68
  <article>
69
69
  <strong>Interactive and headless</strong>
@@ -128,7 +128,7 @@ ur -p --output-format json "Review the current diff"</code></pre>
128
128
  </div>
129
129
  <div class="callout">
130
130
  <strong>Runtime requirement</strong>
131
- <p>UR expects Bun. For local-first work, run a local Ollama app/server at <code>http://localhost:11434/api</code>. Set <code>OLLAMA_MODEL</code> or <code>UR_MODEL</code> to force a model, or use <code>ur provider</code> and <code>ur config set</code> to select official subscription, API, or OpenAI-compatible providers.</p>
131
+ <p>UR expects Bun. For local-first work, run a local Ollama app/server at <code>http://localhost:11434/api</code>. Set <code>OLLAMA_MODEL</code> or <code>UR_MODEL</code> to force a model route.</p>
132
132
  </div>
133
133
  </section>
134
134
 
@@ -136,7 +136,7 @@ ur -p --output-format json "Review the current diff"</code></pre>
136
136
  <div class="section-heading">
137
137
  <p class="eyebrow">Legal Access Paths</p>
138
138
  <h2>Providers and authentication</h2>
139
- <p>UR-AGENT integrates official access paths only. It never scrapes browser sessions, extracts OAuth tokens, reads hidden provider auth files, bypasses provider restrictions, or proxies consumer web sessions as APIs.</p>
139
+ <p>UR-AGENT integrates official access paths only. It never scrapes browser sessions, extracts OAuth tokens, reads hidden provider auth files, bypasses provider restrictions, or proxies credentials.</p>
140
140
  </div>
141
141
  <div class="reference-grid">
142
142
  <article>
@@ -146,7 +146,7 @@ ur auth claude
146
146
  ur auth gemini
147
147
  ur auth antigravity
148
148
  ur provider doctor agy</code></pre>
149
- <p>Codex CLI, Claude Code, Gemini CLI, and Antigravity are first-class providers that dispatch each turn through the vendor's official CLI using your subscription login. They are optional, never required, and never used as a silent fallback. The generic subscription entry is an internal placeholder hidden from listings and exposes no fake models.</p>
149
+ <p>Codex CLI, Claude Code, Gemini CLI, and Antigravity are first-class providers that dispatch each turn through the vendor's official CLI using your subscription login. They are optional and can be disabled.</p>
150
150
  </article>
151
151
  <article>
152
152
  <h3>API and local providers</h3>
@@ -155,12 +155,12 @@ ur config set provider openai-api
155
155
  ur config set base_url http://localhost:11434/v1
156
156
  ur config set model qwen3-coder:480b-cloud
157
157
  ur config set provider.fallback ollama</code></pre>
158
- <p>API providers require explicit selection and read keys from a key stored via <code>ur connect</code> (OS keychain) or from environment variables. Local providers include Ollama, LM Studio, llama.cpp server mode, and vLLM OpenAI-compatible server mode. Subscription CLI providers (Codex CLI, Claude Code, Gemini CLI, Antigravity) dispatch through the official vendor CLIs.</p>
158
+ <p>API providers require explicit selection and read keys from a key stored via <code>ur connect</code> (OS keychain) or from environment variables. Local providers include Ollama, LM Studio, llama.cpp, and vLLM.</p>
159
159
  </article>
160
160
  <article>
161
161
  <h3>Status bar and updates</h3>
162
- <pre><code>Ollama | llama3 | ask | main | update 1.37.0 available</code></pre>
163
- <p>The interactive status bar shows only important runtime state: provider, model, mode, branch, active tasks, checks status when known, and update availability. It is hidden in CI, dumb terminals, and non-interactive mode.</p>
162
+ <pre><code>Ollama | llama3 | ask | main | update 1.37.3 available</code></pre>
163
+ <p>The interactive status bar shows only important runtime state: provider, model, mode, branch, active tasks, checks status when known, and update availability. It is hidden in CI, dumb terminals, and print mode.</p>
164
164
  </article>
165
165
  </div>
166
166
  </section>
@@ -169,7 +169,7 @@ ur config set provider.fallback ollama</code></pre>
169
169
  <div class="section-heading">
170
170
  <p class="eyebrow">Runtime</p>
171
171
  <h2>Architecture</h2>
172
- <p>The CLI is the control plane. Project context and <code>.ur</code> assets feed agent orchestration, which uses approved provider adapters, local-first model runtimes, and approved tools to produce code, docs, PRs, reports, and automation outputs.</p>
172
+ <p>The CLI is the control plane. Project context and <code>.ur</code> assets feed agent orchestration, which uses approved provider adapters, local-first model runtimes, and approved tools to produce auditable results.</p>
173
173
  </div>
174
174
  <figure class="diagram">
175
175
  <img src="assets/ur-architecture.svg" alt="UR-AGENT runtime architecture diagram">
@@ -2,7 +2,7 @@
2
2
  "name": "ur-inline-diffs",
3
3
  "displayName": "UR Inline Diffs",
4
4
  "description": "Review, apply, and reject UR inline diff bundles from .ur/ide/diffs inside VS Code.",
5
- "version": "1.37.2",
5
+ "version": "1.37.4",
6
6
  "publisher": "ur-agent",
7
7
  "engines": {
8
8
  "vscode": "^1.92.0"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ur-agent",
3
- "version": "1.37.2",
3
+ "version": "1.37.4",
4
4
  "description": "UR-AGENT \u2014 autonomous engineering workflow engine (plan, execute, test, verify, document, benchmark, reproduce)",
5
5
  "type": "module",
6
6
  "packageManager": "bun@1.3.14",
@@ -49,11 +49,23 @@
49
49
  "bundle": "node scripts/bundle.mjs",
50
50
  "build": "node scripts/bundle.mjs",
51
51
  "release:check": "node scripts/release-check.mjs",
52
- "typecheck": "bun run tsc --noEmit",
52
+ "release:create-source-zip": "bun scripts/source-zip-create.mjs",
53
+ "release:check-source-zip": "node scripts/source-zip-check.mjs",
54
+ "typecheck": "bun run tsc --noEmit && bun run typecheck:strict-core",
55
+ "typecheck:strict-core": "node scripts/strict-core-check.mjs",
53
56
  "lint": "node scripts/lint.mjs",
54
57
  "test": "bun test",
55
58
  "smoke": "node ./bin/ur.js --version",
56
59
  "secrets:scan": "bash scripts/secret-scan.sh",
60
+ "benchmark:report": "node scripts/benchmark-report.mjs",
61
+ "benchmark:smoke": "node scripts/benchmark-smoke.mjs",
62
+ "benchmark:local": "node scripts/benchmark-local.mjs",
63
+ "benchmark:compare": "node scripts/benchmark-compare.mjs",
64
+ "benchmark:swe-bench-lite": "node scripts/benchmark-external.mjs swe-bench-lite",
65
+ "benchmark:terminal-bench": "node scripts/benchmark-external.mjs terminal-bench",
66
+ "benchmark:aider-polyglot": "node scripts/benchmark-external.mjs aider-polyglot",
67
+ "safety:matrix": "bun scripts/generate-safety-matrix.mjs",
68
+ "provider:smoke": "bun scripts/provider-smoke.mjs",
57
69
  "package:check": "node scripts/package-check.mjs",
58
70
  "prepack": "bun run release:check"
59
71
  },