ur-agent 1.19.0 → 1.20.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 +35 -0
- package/README.md +7 -0
- package/dist/cli.js +3849 -2297
- package/docs/AGENT_FEATURES.md +16 -0
- package/docs/AGENT_TRENDS.md +4 -0
- package/docs/AGENT_UPGRADE_1.20.0.md +42 -0
- package/docs/USAGE.md +4 -0
- package/documentation/app.js +14 -0
- package/documentation/index.html +14 -1
- package/extensions/vscode-ur-inline-diffs/package.json +1 -1
- package/package.json +1 -1
package/docs/AGENT_FEATURES.md
CHANGED
|
@@ -31,6 +31,9 @@ ur safety check --command "rm -rf build"
|
|
|
31
31
|
ur context-pack scan
|
|
32
32
|
ur context-pack remember --decision "Use package scripts before ad hoc commands"
|
|
33
33
|
ur context-pack compress
|
|
34
|
+
ur acp serve --port 8123
|
|
35
|
+
ur acp status --json
|
|
36
|
+
ur exec "add tests for the parser" --concurrency 4 --json
|
|
34
37
|
ur repo-edit index
|
|
35
38
|
ur repo-edit preview rename oldName --to newName
|
|
36
39
|
ur repo-edit apply rename oldName --to newName --check "bun test"
|
|
@@ -48,6 +51,19 @@ ur --discover-ollama
|
|
|
48
51
|
ur --ollama-host http://192.168.1.50:11434
|
|
49
52
|
```
|
|
50
53
|
|
|
54
|
+
## v1.20.0 Additions
|
|
55
|
+
|
|
56
|
+
| Addition | Surface | What it adds |
|
|
57
|
+
| --- | --- | --- |
|
|
58
|
+
| ACP server for IDE extensions | `ur acp serve\|stop\|status` | HTTP+JSON-RPC Agent Communication Protocol server that exposes tool listing, tool calls, task submission, and status for VS Code/Cursor/Zed-like editors. |
|
|
59
|
+
| Non-interactive pool execution | `ur exec [prompts...]` | Run one or more prompts headlessly with optional concurrency, worktrees, output capture, and dry-run. |
|
|
60
|
+
| GitHub tool | `GitHub` | PR/issue/repo operations via the `gh` CLI. |
|
|
61
|
+
| API tool | `Api` | REST HTTP calls with JSON/text output. |
|
|
62
|
+
| Browser tool | `Browser` | Headless browser automation (fetch/goto/click/type/evaluate/screenshot); interactive actions require `UR_BROWSER_TOOL=1`. |
|
|
63
|
+
| Docker tool | `Docker` | Container and compose operations via the `docker` CLI. |
|
|
64
|
+
| Test-runner tool | `TestRunner` | Auto-detect and run project tests. |
|
|
65
|
+
| Database tool | `Database` | SQL queries against SQLite, Postgres, MySQL, and DuckDB. |
|
|
66
|
+
|
|
51
67
|
## v1.19.0 Additions
|
|
52
68
|
|
|
53
69
|
| Addition | Surface | What it adds |
|
package/docs/AGENT_TRENDS.md
CHANGED
|
@@ -46,6 +46,8 @@ ur safety check --command "rm -rf build"
|
|
|
46
46
|
ur context-pack scan
|
|
47
47
|
ur context-pack remember --decision "Use manifest commands first"
|
|
48
48
|
ur context-pack compress
|
|
49
|
+
ur acp serve --port 8123
|
|
50
|
+
ur exec "add tests for the parser" --concurrency 4 --json
|
|
49
51
|
ur ci-loop --command "bun test" --dry-run
|
|
50
52
|
ur artifacts capture-diff
|
|
51
53
|
ur artifacts capture-tests --command "bun test"
|
|
@@ -88,6 +90,8 @@ Inside an interactive session:
|
|
|
88
90
|
| Self-healing CI | Covered | `ur ci-loop` runs a command, summarizes failures, invokes a fix agent, and re-runs with bounded retries; commits/pushes are self-review gated | Wire to `ur trigger` so a failed CI webhook auto-launches the loop |
|
|
89
91
|
| Verifiable artifacts | Covered | `ur artifacts` records plans/diffs/test-runs with approve/reject/feedback under `.ur/artifacts/`; comments steer active background agents through stream-json inbox injection | Attach browser-QA screenshots and link artifacts to claim-ledger entries |
|
|
90
92
|
| Native IDE review | Covered | `ur ide diff` writes `.ur/ide/diffs/` bundles and `extensions/vscode-ur-inline-diffs/` provides a VS Code tree/webview/comment surface | Add JetBrains packaging if demand appears |
|
|
93
|
+
| ACP / IDE agent server | Covered | `ur acp serve|stop|status` exposes an HTTP+JSON-RPC agent server so VS Code/Cursor/Zed extensions can list tools, call tools, and submit tasks | Ship reference editor extensions |
|
|
94
|
+
| External tool integration | Covered | Built-in `GitHub`, `Api`, `Browser`, `Docker`, `TestRunner`, and `Database` tools complement existing file-system, terminal, web, and MCP tools | Add richer output parsing and error recovery |
|
|
91
95
|
|
|
92
96
|
## v1.13.9 Direct CLI Surfaces
|
|
93
97
|
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
# UR Agent 1.20.0 Upgrade Notes
|
|
2
|
+
|
|
3
|
+
UR 1.20.0 adds IDE integration and a richer tool surface for agent workflows.
|
|
4
|
+
|
|
5
|
+
## What Changed
|
|
6
|
+
|
|
7
|
+
- **ACP server** — `ur acp serve|stop|status` exposes an HTTP+JSON-RPC Agent
|
|
8
|
+
Communication Protocol server for VS Code/Cursor/Zed-like editors. It lists
|
|
9
|
+
tools, calls tools, sends tasks, and reports status. Existing A2A and MCP
|
|
10
|
+
support remains unchanged.
|
|
11
|
+
- **`ur exec`** — run one or more prompts in non-interactive mode with optional
|
|
12
|
+
concurrency, worktrees, and output capture.
|
|
13
|
+
- **New built-in tools** exposed through the agent loop, MCP server, and ACP
|
|
14
|
+
server:
|
|
15
|
+
- `GitHub` — PR/issue/repo operations via the `gh` CLI.
|
|
16
|
+
- `Api` — REST HTTP calls with JSON/text output and path extraction.
|
|
17
|
+
- `Browser` — headless browser automation (fetch/goto/click/type/evaluate/
|
|
18
|
+
screenshot); interactive actions require `UR_BROWSER_TOOL=1`.
|
|
19
|
+
- `Docker` — container and compose operations via the `docker` CLI.
|
|
20
|
+
- `TestRunner` — auto-detect and run project tests.
|
|
21
|
+
- `Database` — SQL queries against SQLite, Postgres, MySQL, and DuckDB.
|
|
22
|
+
- File-system and terminal tools (`FileRead`, `FileEdit`, `FileWrite`, `Glob`,
|
|
23
|
+
`Grep`, `Bash`, `PowerShell`) remain built in and are now also reachable via
|
|
24
|
+
ACP/MCP.
|
|
25
|
+
|
|
26
|
+
## New Commands
|
|
27
|
+
|
|
28
|
+
```sh
|
|
29
|
+
ur acp serve --host 127.0.0.1 --port 8123
|
|
30
|
+
ur acp status --json
|
|
31
|
+
ur exec "refactor the parser" --concurrency 2 --json
|
|
32
|
+
ur exec --file prompts.jsonl --output-dir ./outputs
|
|
33
|
+
```
|
|
34
|
+
|
|
35
|
+
## Validate
|
|
36
|
+
|
|
37
|
+
```sh
|
|
38
|
+
ur acp status
|
|
39
|
+
ur exec --dry-run "add tests"
|
|
40
|
+
bun run typecheck
|
|
41
|
+
bun test
|
|
42
|
+
```
|
package/docs/USAGE.md
CHANGED
|
@@ -123,6 +123,8 @@ UR includes slash commands and CLI subcommands for common workflows:
|
|
|
123
123
|
- `ur ci-loop ...` to run tests, repair failures, and rerun with a bounded loop
|
|
124
124
|
- `ur artifacts ...` to capture reviewable diffs, test runs, notes, and feedback
|
|
125
125
|
- `ur ide diff ...` to capture editor-readable inline diff bundles
|
|
126
|
+
- `ur acp ...` to start/stop/status the Agent Communication Protocol server for IDE extensions
|
|
127
|
+
- `ur exec ...` to run prompts in non-interactive mode with optional concurrency
|
|
126
128
|
- `ur eval bench ...` to import local SWE-bench, Terminal-Bench, or Aider Polyglot exports
|
|
127
129
|
- `ur doctor` to inspect CLI health
|
|
128
130
|
- `ur update` or `ur upgrade` to check for updates
|
|
@@ -147,6 +149,8 @@ ur safety check --command "rm -rf build"
|
|
|
147
149
|
ur context-pack scan
|
|
148
150
|
ur context-pack remember --constraint "Run command evidence before claiming success"
|
|
149
151
|
ur context-pack compress
|
|
152
|
+
ur acp serve --port 8123
|
|
153
|
+
ur exec "add tests for the parser" --concurrency 4 --json
|
|
150
154
|
ur ci-loop --command "bun test" --dry-run
|
|
151
155
|
ur artifacts capture-diff
|
|
152
156
|
ur bg run "fix the flaky parser test" --worktree --dry-run
|
package/documentation/app.js
CHANGED
|
@@ -76,6 +76,13 @@ const commands = [
|
|
|
76
76
|
summary: 'Run one prompt headlessly and exit. This is the base mode for scripts, CI, evals, triggers, SDK calls, and A2A tasks.',
|
|
77
77
|
examples: ['ur -p "Summarize this repository"', 'ur -p --output-format json "Review the current diff"', 'ur -p --json-schema \'{"type":"object"}\' "Return structured output"'],
|
|
78
78
|
},
|
|
79
|
+
{
|
|
80
|
+
name: 'acp',
|
|
81
|
+
category: 'Interop',
|
|
82
|
+
aliases: [],
|
|
83
|
+
summary: 'Agent Communication Protocol server for IDE extensions: serve, stop, and status.',
|
|
84
|
+
examples: ['ur acp serve --port 8123', 'ur acp status --json', 'ur acp stop'],
|
|
85
|
+
},
|
|
79
86
|
{
|
|
80
87
|
name: 'a2a',
|
|
81
88
|
category: 'Interop',
|
|
@@ -335,6 +342,13 @@ const commands = [
|
|
|
335
342
|
summary: 'Set up a long-lived authentication token when that subscription surface is enabled.',
|
|
336
343
|
examples: ['ur setup-token'],
|
|
337
344
|
},
|
|
345
|
+
{
|
|
346
|
+
name: 'exec',
|
|
347
|
+
category: 'Automation',
|
|
348
|
+
aliases: [],
|
|
349
|
+
summary: 'Run one or more prompts in non-interactive mode with optional concurrency, worktrees, and output capture.',
|
|
350
|
+
examples: ['ur exec "add tests for the parser" --json', 'ur exec --file prompts.jsonl --concurrency 4 --output-dir ./outputs', 'ur exec "refactor auth" --worktree --dry-run'],
|
|
351
|
+
},
|
|
338
352
|
{
|
|
339
353
|
name: 'trigger',
|
|
340
354
|
category: 'Automation',
|
package/documentation/index.html
CHANGED
|
@@ -43,7 +43,7 @@
|
|
|
43
43
|
<main id="content" class="content">
|
|
44
44
|
<header class="topbar">
|
|
45
45
|
<div>
|
|
46
|
-
<p class="eyebrow">Version 1.
|
|
46
|
+
<p class="eyebrow">Version 1.20.0</p>
|
|
47
47
|
<h1>UR Agent Documentation</h1>
|
|
48
48
|
<p class="lead">A practical, tutorial-style reference for installing, configuring, automating, extending, and operating UR Agent.</p>
|
|
49
49
|
</div>
|
|
@@ -250,6 +250,19 @@ ur context-pack remember --decision "Use manifest commands first"
|
|
|
250
250
|
ur context-pack compress</code></pre>
|
|
251
251
|
</article>
|
|
252
252
|
|
|
253
|
+
<article>
|
|
254
|
+
<h3>Start the ACP server and run a prompt pool</h3>
|
|
255
|
+
<ol>
|
|
256
|
+
<li>Start the Agent Communication Protocol server for IDE extensions.</li>
|
|
257
|
+
<li>Run one or more prompts in non-interactive mode with concurrency.</li>
|
|
258
|
+
<li>Capture per-prompt outputs to a directory.</li>
|
|
259
|
+
</ol>
|
|
260
|
+
<pre><code>ur acp serve --port 8123
|
|
261
|
+
ur acp status --json
|
|
262
|
+
ur exec "add tests for the parser" --concurrency 4 --json
|
|
263
|
+
ur exec --file prompts.jsonl --output-dir ./outputs --dry-run</code></pre>
|
|
264
|
+
</article>
|
|
265
|
+
|
|
253
266
|
<article>
|
|
254
267
|
<h3>Use a multi-agent pattern</h3>
|
|
255
268
|
<ol>
|