ur-agent 1.34.0 → 1.35.1
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 +33 -0
- package/QUALITY.md +10 -5
- package/README.md +72 -22
- package/RELEASE.md +11 -1
- package/dist/cli.js +145 -130
- package/docs/AGENT_FEATURES.md +2 -2
- package/docs/AGENT_TRENDS.md +1 -1
- package/docs/CONFIGURATION.md +11 -9
- package/docs/TROUBLESHOOTING.md +204 -0
- package/docs/USAGE.md +38 -16
- package/docs/VALIDATION.md +1 -1
- package/docs/providers.md +29 -21
- package/documentation/app.js +55 -13
- package/documentation/index.html +5 -5
- package/examples/provider_selection.md +45 -0
- package/extensions/vscode-ur-inline-diffs/extension.js +125 -15
- package/extensions/vscode-ur-inline-diffs/package.json +19 -7
- package/package.json +1 -1
- package/docs/AGENT_UPGRADE_1.15.0.md +0 -129
- package/docs/AGENT_UPGRADE_1.16.0.md +0 -102
- package/docs/AGENT_UPGRADE_1.17.0.md +0 -32
- package/docs/AGENT_UPGRADE_1.18.0.md +0 -45
- package/docs/AGENT_UPGRADE_1.19.0.md +0 -41
- package/docs/AGENT_UPGRADE_1.20.0.md +0 -42
- package/docs/AGENT_UPGRADE_1.21.0.md +0 -58
- package/docs/AGENT_UPGRADE_1.22.0.md +0 -48
- package/docs/CODE_FEATURE_INVENTORY.md +0 -1042
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,38 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.35.1
|
|
4
|
+
|
|
5
|
+
- Polished the bundled VS Code inline-diffs view with native toolbar icons,
|
|
6
|
+
useful empty-state rows, clearer diff labels, and a cleaner review webview.
|
|
7
|
+
- Fixed `ur ide status` routing so the IDE extension status action reports
|
|
8
|
+
provider/model/plugin status instead of printing inline-diff usage.
|
|
9
|
+
- Kept model/provider selections project-local by default and made transient
|
|
10
|
+
Ollama gateway timeouts retry cleanly.
|
|
11
|
+
|
|
12
|
+
## 1.35.0
|
|
13
|
+
|
|
14
|
+
- New `ur connect` CLI command (same implementation as the `/connect` slash
|
|
15
|
+
command): `ur connect status`, `ur connect <provider>`,
|
|
16
|
+
`ur connect <provider> --key <KEY>`, and `ur connect logout <provider>`.
|
|
17
|
+
Provider doctor fix-it hints that referenced `ur connect` now work as shown.
|
|
18
|
+
- `ur spec run`/`ur spec verify` now accept the documented `--kernel` flag
|
|
19
|
+
from the CLI (previously only the slash command parsed it).
|
|
20
|
+
- Hidden non-functional legacy commands from `--help`: `ur setup-token`,
|
|
21
|
+
`ur auth login`, `ur auth logout`, and the native-build `ur install`
|
|
22
|
+
(no native package is published; use `ur update`).
|
|
23
|
+
- Removed dead external-bridge gating code left over from pre-1.34 behavior
|
|
24
|
+
(`UR_ENABLE_EXTERNAL_APP_PROVIDERS` and the persisted opt-in list); the env
|
|
25
|
+
var was already ignored at runtime.
|
|
26
|
+
- Documentation overhaul: provider/model docs now match the 1.34 first-class
|
|
27
|
+
subscription-CLI behavior everywhere; new `docs/TROUBLESHOOTING.md`;
|
|
28
|
+
README command table covers the full public CLI; static docs site updated
|
|
29
|
+
(stale `install`/`setup-token` entries replaced with `connect`, `ide`,
|
|
30
|
+
`skill`, `task`, `sandbox`, `memory`, `local-first`, `update`).
|
|
31
|
+
- Removed stale duplicate docs (`docs/AGENT_UPGRADE_1.15.0.md` …
|
|
32
|
+
`1.22.0.md`, `docs/CODE_FEATURE_INVENTORY.md`); release history lives in
|
|
33
|
+
this changelog.
|
|
34
|
+
- Fixed `.gitignore` ignoring itself, so ignore rules ship with the repo.
|
|
35
|
+
|
|
3
36
|
## 1.34.0
|
|
4
37
|
|
|
5
38
|
- Restore the 1.30.3 subscription approach: Codex CLI, Claude Code, Gemini CLI
|
package/QUALITY.md
CHANGED
|
@@ -40,7 +40,7 @@ do not tag or publish until that workflow is green.
|
|
|
40
40
|
Public feature releases should update the full documentation set:
|
|
41
41
|
|
|
42
42
|
- root README
|
|
43
|
-
-
|
|
43
|
+
- `CHANGELOG.md`
|
|
44
44
|
- `docs/`
|
|
45
45
|
- static site files under `documentation/`
|
|
46
46
|
- examples
|
|
@@ -49,10 +49,15 @@ Public feature releases should update the full documentation set:
|
|
|
49
49
|
## Runtime Assumptions
|
|
50
50
|
|
|
51
51
|
- UR runs through Bun.
|
|
52
|
-
-
|
|
53
|
-
|
|
54
|
-
-
|
|
55
|
-
|
|
52
|
+
- The default provider is the local Ollama app at `http://localhost:11434/api`;
|
|
53
|
+
it may expose local models or Ollama Cloud-backed models.
|
|
54
|
+
- Selecting an API provider (OpenAI, Anthropic, Gemini, OpenRouter) makes UR
|
|
55
|
+
call that provider's API directly, using a key stored via `ur connect`
|
|
56
|
+
(OS keychain) or read from an environment variable. Keys are never written
|
|
57
|
+
to settings files.
|
|
58
|
+
- Selecting a subscription CLI provider (Codex CLI, Claude Code, Gemini CLI,
|
|
59
|
+
Antigravity) dispatches turns through the vendor's official CLI. There is no
|
|
60
|
+
silent cross-provider fallback.
|
|
56
61
|
- The GitHub install path runs `dist/cli.js`, so the bundle must match the
|
|
57
62
|
package version.
|
|
58
63
|
|
package/README.md
CHANGED
|
@@ -69,8 +69,10 @@ handing work off to other tools or agents when needed.
|
|
|
69
69
|
### Requirements
|
|
70
70
|
|
|
71
71
|
- Bun. This repository is configured with `bun@1.3.14`.
|
|
72
|
-
- A Node.js-compatible shell environment.
|
|
73
|
-
-
|
|
72
|
+
- A Node.js-compatible shell environment (Node 18+ for the npm launcher).
|
|
73
|
+
- For the default local setup: a running Ollama app or server
|
|
74
|
+
(`http://localhost:11434/api`). Any other supported provider (API key,
|
|
75
|
+
OpenAI-compatible server, or subscription CLI) works without Ollama.
|
|
74
76
|
- Optional tools for specific workflows: GitHub CLI, tmux, and supported IDE
|
|
75
77
|
integrations.
|
|
76
78
|
|
|
@@ -182,23 +184,33 @@ ur config set provider.fallback ollama
|
|
|
182
184
|
|
|
183
185
|
Provider config accepts canonical IDs and common aliases. Examples:
|
|
184
186
|
`openai-api`, `anthropic-api`, `gemini-api`, `openrouter`, `ollama`,
|
|
185
|
-
`lmstudio`, `LM Studio`, `llama.cpp`,
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
187
|
+
`lmstudio`, `LM Studio`, `llama.cpp`, `vllm`, and the subscription CLIs
|
|
188
|
+
`codex-cli` (`chatgpt`), `claude-code-cli` (`claude`), `gemini-cli` (`gemini`),
|
|
189
|
+
and `antigravity-cli` (`agy`). Use quotes for shell values with spaces.
|
|
190
|
+
|
|
191
|
+
Connect accounts once with `ur connect` (or `/connect` in a session):
|
|
192
|
+
|
|
193
|
+
```sh
|
|
194
|
+
ur connect status # connection state for every provider
|
|
195
|
+
ur connect codex-cli # subscription: launches the official login
|
|
196
|
+
echo "$OPENAI_API_KEY" | ur connect openai-api # API: store a key in the OS keychain
|
|
197
|
+
ur connect logout openai-api # clear a stored key
|
|
198
|
+
```
|
|
189
199
|
|
|
190
200
|
| Provider | Access type | Runtime kind | Legal path |
|
|
191
201
|
| --- | --- | --- | --- |
|
|
192
|
-
|
|
|
193
|
-
|
|
|
194
|
-
|
|
|
195
|
-
|
|
|
196
|
-
| OpenRouter | API/router | UR-native | `OPENROUTER_API_KEY` |
|
|
202
|
+
| OpenAI API | API key | UR-native | `OPENAI_API_KEY` or `ur connect openai-api` |
|
|
203
|
+
| Claude API | API key | UR-native | `ANTHROPIC_API_KEY` or `ur connect anthropic-api` |
|
|
204
|
+
| Gemini API | API key | UR-native | `GEMINI_API_KEY` or `ur connect gemini-api` |
|
|
205
|
+
| OpenRouter | API/router | UR-native | `OPENROUTER_API_KEY` or `ur connect openrouter` |
|
|
197
206
|
| Ollama | local | UR-native | localhost Ollama runtime |
|
|
198
207
|
| LM Studio | local/server | UR-native | local OpenAI-compatible server |
|
|
199
208
|
| llama.cpp | local/server | UR-native | local OpenAI-compatible server |
|
|
200
209
|
| vLLM | local/server | UR-native | OpenAI-compatible server |
|
|
201
|
-
|
|
|
210
|
+
| Codex CLI | subscription | external app bridge | official Codex CLI login (`ur auth chatgpt`) |
|
|
211
|
+
| Claude Code | subscription | external app bridge | official Claude Code login (`ur auth claude`) |
|
|
212
|
+
| Gemini CLI | subscription | external app bridge | official Gemini Code Assist login (`ur auth gemini`) |
|
|
213
|
+
| Antigravity | subscription | external app bridge | official Antigravity CLI login (`ur auth antigravity`) |
|
|
202
214
|
|
|
203
215
|
#### Provider-first model selection
|
|
204
216
|
|
|
@@ -212,9 +224,10 @@ In the interactive app, `/model` is a two-step, provider-first picker:
|
|
|
212
224
|
by source: `live` (discovered from the endpoint), `cache` (last discovery),
|
|
213
225
|
or `static` (predefined). Local/server providers (Ollama, LM Studio,
|
|
214
226
|
llama.cpp, vLLM) and OpenAI-compatible endpoints are discovered live; API
|
|
215
|
-
providers use
|
|
216
|
-
|
|
217
|
-
|
|
227
|
+
providers use live discovery from their `/models` endpoint once a key is
|
|
228
|
+
connected (with a curated fallback list before that). Subscription CLIs show
|
|
229
|
+
their curated model list because the official CLIs expose no models API. The
|
|
230
|
+
generic `subscription` entry is an internal placeholder hidden from listings.
|
|
218
231
|
|
|
219
232
|
Model lists never cross providers: OpenAI API, Claude API, Gemini API,
|
|
220
233
|
OpenRouter, Ollama, and OpenAI-compatible local/server endpoints are separate
|
|
@@ -269,10 +282,12 @@ as first-class subcommands in the shipped CLI.
|
|
|
269
282
|
| `ur ci-loop` | Run a build or test command, hand failures to a fix agent, and retry with a bounded budget. |
|
|
270
283
|
| `ur test-first` | Detect the project stack, run compile/test/lint commands, store failure traces, and install edit-time verify gates. |
|
|
271
284
|
| `ur safety` | Inspect or initialize project shell safety policy and evaluate command risk before execution. |
|
|
285
|
+
| `ur sandbox` | Inspect and manage the sandbox/permission architecture: status, dependency check, policy init, and command approval levels. |
|
|
272
286
|
| `ur context-pack` | Write project architecture context, task memory, and compressed context under `.ur/`. Supports memory kinds `decision`, `constraint`, `command`, `diff`, `note`, `architecture`, `preference`, `attempt`, `accepted`, and `rejected`. |
|
|
273
287
|
| `/hooks` | Inspect lifecycle hooks (`BeforeEdit`, `AfterEdit`, `BeforeCommand`, `AfterCommand`, `BeforeCommit`, `OnFailure`) configured via settings files. |
|
|
274
288
|
| `ur bg` | Run and manage detached local background agents with optional worktrees and PR creation. |
|
|
275
289
|
| `ur worktree` | List, inspect, and clean up UR agent worktrees. |
|
|
290
|
+
| `ur task` | Start, run, and hand off worktree-per-task sessions with optional PR creation. |
|
|
276
291
|
| `ur automation` | Store and run project-local scheduled automation specs under `.ur/automations/`. |
|
|
277
292
|
| `ur workflow` | Define, validate, graph, run, and resume declarative agent workflows. |
|
|
278
293
|
| `ur crew` | Run a lead and worker subagent crew over a shared task board; `--decompose` auto-splits tasks with risk/tests/rollback metadata. |
|
|
@@ -281,6 +296,7 @@ as first-class subcommands in the shipped CLI.
|
|
|
281
296
|
| `ur repo-edit` | Build a repo edit index, plan AST-aware renames, preview patches, and apply with rollback. |
|
|
282
297
|
| `ur code-index` | Build, query, or watch a local semantic code index using Ollama embeddings; `ur code-index repo` adds files/symbols/calls/tests/docs/configs. |
|
|
283
298
|
| `ur semantic-memory` | Build and search a project-local memory index. |
|
|
299
|
+
| `ur memory retention` | Configure and apply local memory retention policies (TTL, max entries, decay). |
|
|
284
300
|
| `ur knowledge` | Manage a curated project knowledge base with provenance. |
|
|
285
301
|
| `ur artifacts` | Capture diffs, test runs, notes, and review feedback under `.ur/artifacts/`. |
|
|
286
302
|
| `ur claim-ledger` | Map generated claims to file, web, MCP, tool, or user sources. |
|
|
@@ -291,7 +307,10 @@ as first-class subcommands in the shipped CLI.
|
|
|
291
307
|
| `ur eval bench` | Import local SWE-bench, Terminal-Bench, or Aider Polyglot exports. |
|
|
292
308
|
| `ur model-doctor` | Inspect Ollama models and report likely agent capabilities. |
|
|
293
309
|
| `ur model-route` | Recommend a local model for a task by capability fit. |
|
|
310
|
+
| `ur route` | Classify a task and recommend the best subagent and collaboration pattern. |
|
|
311
|
+
| `ur local-first` | Show readiness for no-cloud, private, lab, offline, and edge/server environments. |
|
|
294
312
|
| `ur provider` | List, check, and diagnose legal model provider adapters. |
|
|
313
|
+
| `ur connect` | Connect a provider account: subscription login or store an API key in the OS keychain. |
|
|
295
314
|
| `ur auth chatgpt` | Launch the official Codex CLI login for ChatGPT subscription access. |
|
|
296
315
|
| `ur auth claude` | Launch the official Claude Code login flow. |
|
|
297
316
|
| `ur auth gemini` | Use the official Gemini CLI login flow where supported. |
|
|
@@ -306,6 +325,15 @@ as first-class subcommands in the shipped CLI.
|
|
|
306
325
|
| `ur a2a card` | Print UR-AGENT Card metadata for agent interoperability. |
|
|
307
326
|
| `ur a2a serve` | Start an opt-in local A2A task server with bearer or delegation auth. |
|
|
308
327
|
| `ur sdk` | Show programmatic headless usage and scaffold SDK examples. |
|
|
328
|
+
| `ur trigger` | Parse a GitHub/Slack webhook payload and optionally launch a headless UR run. |
|
|
329
|
+
| `ur agent-templates` | List or install reusable project agent templates. |
|
|
330
|
+
| `ur agent-task` | Summarize task state, git diff status, and PR handoff commands. |
|
|
331
|
+
| `ur agent-inspect` | Reconstruct a per-subagent timeline from a session transcript. |
|
|
332
|
+
| `ur agent-features` | Show or initialize agent feature expansion scaffolds. |
|
|
333
|
+
| `ur agent-trends` | Show UR coverage for current agent technology trends. |
|
|
334
|
+
| `ur agents` | List configured agents. |
|
|
335
|
+
| `ur doctor` | Check the health of the UR installation and auto-updater. |
|
|
336
|
+
| `ur update` | Check npm for UR-AGENT updates (`ur upgrade` is an alias). |
|
|
309
337
|
|
|
310
338
|
### Status Bar
|
|
311
339
|
|
|
@@ -404,8 +432,8 @@ project-backed features: Agent surfaces (`ur`, `ur agents`, `ur crew`, `ur bg`),
|
|
|
404
432
|
Rules (`AGENTS.md`, `UR.md`, `.cursor/rules/*.mdc`, `.cursorrules`, safety and
|
|
405
433
|
guardrail config), MCP (`ur mcp`, `.mcp.json`, plugin MCP servers), Skills
|
|
406
434
|
(`/skills`, bundled, project, user, and plugin skills), CLI (`ur --help`, `ur -p`,
|
|
407
|
-
`ur exec`, `ur acp`), and Models (
|
|
408
|
-
and discovery).
|
|
435
|
+
`ur exec`, `ur acp`), and Models (`/model`, `ur config set model`,
|
|
436
|
+
`ur model-doctor`, Ollama routing and discovery).
|
|
409
437
|
|
|
410
438
|
Examples:
|
|
411
439
|
|
|
@@ -525,6 +553,20 @@ the permission boundary matters.
|
|
|
525
553
|
See [Configuration](docs/CONFIGURATION.md), [Validation](docs/VALIDATION.md),
|
|
526
554
|
and [Quality Notes](QUALITY.md) for operational guidance.
|
|
527
555
|
|
|
556
|
+
## Troubleshooting
|
|
557
|
+
|
|
558
|
+
Common problems — `ur` not found after install, a provider that is selected
|
|
559
|
+
but not connected, a model that belongs to another provider, unreachable local
|
|
560
|
+
servers, plugin or editor connection issues — are covered with symptom, cause,
|
|
561
|
+
fix, and a verification command in the
|
|
562
|
+
[Troubleshooting Guide](docs/TROUBLESHOOTING.md). Start with:
|
|
563
|
+
|
|
564
|
+
```sh
|
|
565
|
+
ur --version
|
|
566
|
+
ur provider status
|
|
567
|
+
ur provider doctor
|
|
568
|
+
```
|
|
569
|
+
|
|
528
570
|
## Development
|
|
529
571
|
|
|
530
572
|
Install dependencies:
|
|
@@ -562,24 +604,32 @@ The GitHub workflow runs production bundle, smoke, release, package, and global
|
|
|
562
604
|
install checks only after the Bun test step succeeds. Do not publish or tag a
|
|
563
605
|
release until that GitHub run is green.
|
|
564
606
|
|
|
607
|
+
## Package
|
|
608
|
+
|
|
609
|
+
- npm package: [`ur-agent`](https://www.npmjs.com/package/ur-agent), binary `ur`.
|
|
610
|
+
- The published package ships the bundled CLI (`dist/cli.js`), launcher
|
|
611
|
+
(`bin/ur.js`), documentation (`docs/`, `documentation/`, `examples/`), and
|
|
612
|
+
first-party plugins (`plugins/`, `.ur-plugin` marketplace manifest is part of
|
|
613
|
+
the repository).
|
|
614
|
+
- Releases follow the [Release Runbook](RELEASE.md); every release is recorded
|
|
615
|
+
in [CHANGELOG.md](CHANGELOG.md).
|
|
616
|
+
|
|
565
617
|
## Documentation
|
|
566
618
|
|
|
567
619
|
- [Usage Guide](docs/USAGE.md)
|
|
568
620
|
- [Configuration](docs/CONFIGURATION.md)
|
|
569
621
|
- [Provider Guide](docs/providers.md)
|
|
622
|
+
- [Troubleshooting](docs/TROUBLESHOOTING.md)
|
|
570
623
|
- [Agent Feature Expansion](docs/AGENT_FEATURES.md)
|
|
571
624
|
- [Agent Trend Coverage](docs/AGENT_TRENDS.md)
|
|
572
|
-
- [
|
|
573
|
-
- [1.20.0 Upgrade Notes](docs/AGENT_UPGRADE_1.20.0.md)
|
|
574
|
-
- [1.19.0 Upgrade Notes](docs/AGENT_UPGRADE_1.19.0.md)
|
|
575
|
-
- [1.18.0 Upgrade Notes](docs/AGENT_UPGRADE_1.18.0.md)
|
|
576
|
-
- [1.17.0 Upgrade Notes](docs/AGENT_UPGRADE_1.17.0.md)
|
|
625
|
+
- [Changelog](CHANGELOG.md)
|
|
577
626
|
- [Development Guide](docs/DEVELOPMENT.md)
|
|
578
627
|
- [IDE Guide](docs/IDE.md)
|
|
579
628
|
- [ACP Guide](docs/ACP.md)
|
|
580
629
|
- [Plugin Guide](docs/plugins.md)
|
|
581
630
|
- [Validation Runbook](docs/VALIDATION.md)
|
|
582
631
|
- [Release Runbook](RELEASE.md)
|
|
632
|
+
- [Quality Notes](QUALITY.md)
|
|
583
633
|
- [Contributing](CONTRIBUTING.md)
|
|
584
634
|
- [Security](SECURITY.md)
|
|
585
635
|
- [Static Documentation Site](documentation/index.html)
|
package/RELEASE.md
CHANGED
|
@@ -36,9 +36,19 @@ set and version:
|
|
|
36
36
|
|
|
37
37
|
```bash
|
|
38
38
|
rg -n "Version [0-9]|expected: [0-9]|UR-AGENT v[0-9]" README.md docs documentation
|
|
39
|
-
bun test test/docsCoverage.test.ts
|
|
39
|
+
bun test test/docsCoverage.test.ts test/docsCommands.test.ts
|
|
40
40
|
```
|
|
41
41
|
|
|
42
|
+
Version bump checklist (all three must move together):
|
|
43
|
+
|
|
44
|
+
1. `package.json` `version`
|
|
45
|
+
2. `bunfig.toml` `MACRO.VERSION`
|
|
46
|
+
3. `documentation/index.html` version eyebrow
|
|
47
|
+
4. `extensions/vscode-ur-inline-diffs/package.json` `version` (the VSIX test
|
|
48
|
+
requires it to match the root package version)
|
|
49
|
+
5. Add a `CHANGELOG.md` entry, then run `bun run build` so `dist/cli.js`
|
|
50
|
+
embeds the new version (`bun run release:check` verifies all of this).
|
|
51
|
+
|
|
42
52
|
If `npm whoami` fails, run:
|
|
43
53
|
|
|
44
54
|
```bash
|