ur-agent 1.19.0 → 1.21.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 CHANGED
@@ -1,5 +1,69 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.21.0
4
+
5
+ ### Added
6
+ - **Agent skill runner (`agentSkillRunner.ts`).** Reusable helper that wraps
7
+ `startBackgroundTask({ worktree: true, pr: true })`, polls the background
8
+ manifest to completion, and returns a PR-style summary with branch, commits,
9
+ PR URL, and diff summary.
10
+ - **New slash skills for agent worktrees.** Added `/debug-v2`, `/refactor`,
11
+ `/paper-implementation`, `/benchmark`, `/security-review`, `/dockerize`, and
12
+ `/latex-paper` bundled slash skills. Each expands into a prompt that instructs
13
+ the model to work in an isolated git worktree and produce a clean branch,
14
+ commits, and PR.
15
+ - **Matching agent templates.** Added `debug-v2`, `refactor`, `paper-implementation`,
16
+ `benchmark`, `security-review`, `dockerize`, and `latex-paper` templates to
17
+ `AGENT_TEMPLATES`; install them with `ur agent-templates install`.
18
+ - **`ur worktree` command.** Added `ur worktree list|status|clean` to inspect
19
+ and clean up UR agent worktrees created by background runs.
20
+
21
+ ### Changed
22
+ - **Background runner exports.** Exported `commitIfNeeded` and `createPullRequest`
23
+ from `backgroundRunner.ts` so the agent skill runner can inspect and finalize
24
+ PR state.
25
+ - **Version bump.** Updated from 1.20.0 to 1.21.0 across `package.json`,
26
+ `bunfig.toml`, the VS Code extension manifest, and the bundled CLI.
27
+
28
+ ### Verified
29
+ - Added tests for the agent skill runner, each new bundled skill, and the new
30
+ `ur worktree` command.
31
+
32
+ ## 1.20.0
33
+
34
+ ### Added
35
+ - **ACP server (`ur acp`).** Added an HTTP+JSON-RPC Agent Communication
36
+ Protocol server for IDE extensions. Supports `initialize`, `tools/list`,
37
+ `tools/call`, `tasks/send`, `tasks/get`, `tasks/cancel`, and `shutdown`.
38
+ Runs on `127.0.0.1:8123` by default with optional bearer-token auth.
39
+ - **`ur exec` pool execution.** Added a non-interactive pool command that runs
40
+ one or more prompts with optional concurrency, worktrees, output capture,
41
+ and dry-run mode.
42
+ - **GitHub tool.** Added `GitHubTool` for PR/issue/repo operations via the
43
+ `gh` CLI.
44
+ - **API tool.** Added `ApiTool` for REST HTTP calls with JSON/text output.
45
+ - **Browser tool.** Added `BrowserTool` for headless browser automation
46
+ (fetch/goto/click/type/evaluate/screenshot). Disabled by default; enable
47
+ with `UR_BROWSER_TOOL=1`.
48
+ - **Docker tool.** Added `DockerTool` wrapping the `docker` CLI for container
49
+ and compose operations.
50
+ - **Test-runner tool.** Added `TestRunnerTool` that auto-detects the project
51
+ test command from `package.json` scripts, `Makefile`, `Cargo.toml`,
52
+ `pyproject.toml`, or `go.mod`.
53
+ - **Database tool.** Added `DatabaseTool` for SQL queries against SQLite,
54
+ Postgres, MySQL, and DuckDB.
55
+
56
+ ### Changed
57
+ - **Tool surface.** File-system and terminal tools (`FileRead`, `FileEdit`,
58
+ `FileWrite`, `Glob`, `Grep`, `Bash`, `PowerShell`) are now automatically
59
+ exposed through the existing MCP server and the new ACP server.
60
+ - **Version bump.** Updated from 1.19.0 to 1.20.0 across `package.json`,
61
+ `bunfig.toml`, the VS Code extension manifest, and the bundled CLI.
62
+
63
+ ### Verified
64
+ - Added focused tests for the ACP server/client, `ur exec`, GitHub tool,
65
+ API tool, browser tool, Docker tool, test-runner tool, and database tool.
66
+
3
67
  ## 1.19.0
4
68
 
5
69
  ### Added
package/README.md CHANGED
@@ -132,6 +132,7 @@ as first-class subcommands in the shipped CLI.
132
132
  | `ur safety` | Inspect or initialize project shell safety policy and evaluate command risk before execution. |
133
133
  | `ur context-pack` | Write project architecture context, task memory, and compressed context under `.ur/`. |
134
134
  | `ur bg` | Run and manage detached local background agents with optional worktrees and PR creation. |
135
+ | `ur worktree` | List, inspect, and clean up UR agent worktrees. |
135
136
  | `ur automation` | Store and run project-local scheduled automation specs under `.ur/automations/`. |
136
137
  | `ur workflow` | Define, validate, graph, run, and resume declarative agent workflows. |
137
138
  | `ur crew` | Run a lead and worker subagent crew over a shared task board. |
@@ -149,11 +150,19 @@ as first-class subcommands in the shipped CLI.
149
150
  | `ur mcp` | Configure and manage Model Context Protocol servers. |
150
151
  | `ur plugin` | Install, update, enable, disable, and validate UR plugins. |
151
152
  | `ur role-mode` | Install built-in Architect, Code, Debug, and Ask role modes. |
153
+ | `ur acp` | Start/stop/status the Agent Communication Protocol server for IDE extensions. |
154
+ | `ur exec` | Run one or more prompts in non-interactive mode with optional concurrency. |
152
155
  | `ur ide diff` | Capture editor-readable inline diff bundles. |
153
156
  | `ur a2a card` | Print UR Agent Card metadata for agent interoperability. |
154
157
  | `ur a2a serve` | Start an opt-in local A2A task server with bearer or delegation auth. |
155
158
  | `ur sdk` | Show programmatic headless usage and scaffold SDK examples. |
156
159
 
160
+ New slash skills run agentic work in isolated git worktrees with clean commits and PR output:
161
+ `/debug-v2`, `/refactor`, `/paper-implementation`, `/benchmark`, `/security-review`, `/dockerize`, `/latex-paper`.
162
+ Install matching agent templates with `ur agent-templates install`.
163
+
164
+ New built-in tools (exposed through MCP and the ACP server): GitHub, API, Browser, Docker, TestRunner, Database. File-system and terminal tools are already built in (FileRead, FileEdit, FileWrite, Glob, Grep, Bash, PowerShell).
165
+
157
166
  Examples:
158
167
 
159
168
  ```sh
@@ -176,6 +185,8 @@ ur repo-edit apply rename oldName --to newName --check "bun test"
176
185
  ur code-index search "where is the rate limiter configured"
177
186
  ur artifacts capture-tests --command "bun test"
178
187
  ur agent-task pr --create --dry-run
188
+ ur acp serve --port 8123
189
+ ur exec "add tests for the parser" --concurrency 4 --json
179
190
  ```
180
191
 
181
192
  ## Project Context
@@ -285,6 +296,7 @@ CLI. Rebuild it after source, version, or macro changes.
285
296
  - [Configuration](docs/CONFIGURATION.md)
286
297
  - [Agent Feature Expansion](docs/AGENT_FEATURES.md)
287
298
  - [Agent Trend Coverage](docs/AGENT_TRENDS.md)
299
+ - [1.20.0 Upgrade Notes](docs/AGENT_UPGRADE_1.20.0.md)
288
300
  - [1.19.0 Upgrade Notes](docs/AGENT_UPGRADE_1.19.0.md)
289
301
  - [1.18.0 Upgrade Notes](docs/AGENT_UPGRADE_1.18.0.md)
290
302
  - [1.17.0 Upgrade Notes](docs/AGENT_UPGRADE_1.17.0.md)