ur-agent 1.44.10 → 1.45.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 +92 -0
- package/README.md +14 -7
- package/dist/cli.js +27253 -20984
- package/docs/AGENT_FEATURES.md +7 -3
- package/docs/CONFIGURATION.md +7 -2
- package/docs/IDE.md +14 -12
- package/docs/USAGE.md +6 -2
- package/docs/providers.md +11 -1
- package/documentation/index.html +1 -1
- package/extensions/jetbrains-ur/README.md +22 -0
- package/extensions/jetbrains-ur/build.gradle.kts +34 -0
- package/extensions/jetbrains-ur/settings.gradle.kts +1 -0
- package/extensions/jetbrains-ur/src/main/kotlin/dev/urnexus/SendSelectionAction.kt +28 -0
- package/extensions/jetbrains-ur/src/main/kotlin/dev/urnexus/UrAcpClient.kt +97 -0
- package/extensions/jetbrains-ur/src/main/kotlin/dev/urnexus/UrToolWindowFactory.kt +27 -0
- package/extensions/jetbrains-ur/src/main/resources/META-INF/plugin.xml +17 -0
- package/extensions/vscode-ur-inline-diffs/out/extension.js +66 -21
- package/extensions/vscode-ur-inline-diffs/package.json +1 -1
- package/package.json +2 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,97 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 1.45.2
|
|
4
|
+
|
|
5
|
+
Correctness and containment release completing the runtime audit.
|
|
6
|
+
|
|
7
|
+
- Made sandbox, security-scope, WebFetch, API, browser, database, test-runner,
|
|
8
|
+
GitHub mutation, lifecycle-hook, and file-edit boundaries fail closed. URL
|
|
9
|
+
validation now covers DNS resolution and every redirect; browser navigation
|
|
10
|
+
uses a persistent Playwright session with guarded subrequests.
|
|
11
|
+
- Completed provider request mapping and error handling across OpenAI,
|
|
12
|
+
Anthropic, Gemini, OpenRouter, Ollama, and OpenAI-compatible runtimes. Generic
|
|
13
|
+
compatible endpoints use their own credential key, offline mode blocks cloud
|
|
14
|
+
dispatch, retry zero is honored, and local Ollama is the default route.
|
|
15
|
+
- Made AST/LSP workspace edits transactional and containment-safe, including
|
|
16
|
+
symlink rejection, stale-edit preconditions, atomic writes, new-file rollback,
|
|
17
|
+
and TypeScript-language-service import organization.
|
|
18
|
+
- Hardened SSE/WebSocket replay, transcript write serialization, direct-connect
|
|
19
|
+
cancellation, arena isolation/judging, thread sharing, and same-timestamp file
|
|
20
|
+
replacement detection. Session/diff/lab/security-fix paths reject traversal
|
|
21
|
+
and symlink escapes.
|
|
22
|
+
- Fixed VS Code multi-root selection, stale turn callbacks, and diff manifest
|
|
23
|
+
validation. Replaced the JetBrains plugin's nonexistent `/v1/prompt` call
|
|
24
|
+
with project-scoped JSON-RPC sessions over `/acp`; the plugin builds against
|
|
25
|
+
IntelliJ IDEA 2024.2.
|
|
26
|
+
- Enabled transcript deep search instead of the compiled-off path. Worktree
|
|
27
|
+
skills now keep changes local, ask before the final full verification suite,
|
|
28
|
+
and never commit, push, or open a PR unless explicitly requested. The
|
|
29
|
+
`autoApprove` permission mode is unchanged.
|
|
30
|
+
- Removed an internal SDK barrel's throw-only runtime exports; the supported
|
|
31
|
+
programmatic contract remains `ur -p` stream-json. Provider fallback is now
|
|
32
|
+
documented and reported accurately as explicit recovery guidance, never an
|
|
33
|
+
automatic cross-provider switch.
|
|
34
|
+
|
|
35
|
+
## 1.45.1
|
|
36
|
+
|
|
37
|
+
Completes the three partially-delivered 1.45.0 items to 100%.
|
|
38
|
+
|
|
39
|
+
- Semantic code search is now zero-config: the CodeSearch tool auto-enables
|
|
40
|
+
the moment a built index exists (`ur code-index build`) — no `UR_CODE_INDEX`
|
|
41
|
+
env var needed. The env var remains an override in both directions
|
|
42
|
+
(`UR_CODE_INDEX=off` disables even with an index present).
|
|
43
|
+
- JetBrains plugin now actually builds: migrated to the IntelliJ Platform
|
|
44
|
+
Gradle Plugin 2.x (the 1.x plugin is incompatible with Gradle 9) and
|
|
45
|
+
compiled against IntelliJ IDEA Community 2024.2, producing a distributable
|
|
46
|
+
zip via `gradle buildPlugin`.
|
|
47
|
+
- Deprecated top-level `disableAutoMode` now emits a one-time warning at
|
|
48
|
+
load pointing to `permissions.disableAutoMode` (both keys still honored;
|
|
49
|
+
removal reserved for the next major).
|
|
50
|
+
|
|
51
|
+
## 1.45.0
|
|
52
|
+
|
|
53
|
+
Top-tier feature release — closes the gaps against 2026's leading agents.
|
|
54
|
+
|
|
55
|
+
- `ur cloud` — detached best-of-N tasks (the local-first codex-cloud
|
|
56
|
+
analogue): `run "<task>" --attempts N` races up to 8 isolated worktree
|
|
57
|
+
agents in the background via the arena judge; `list`/`show <id>` browse
|
|
58
|
+
results any time; `apply <id>` applies the winning diff. Outcomes feed the
|
|
59
|
+
automatic learning store.
|
|
60
|
+
- `ur wiki` — living repo wiki (Devin-Wiki analogue): `generate` writes
|
|
61
|
+
`.ur/wiki/` (overview, architecture by import in-degree, dependency map)
|
|
62
|
+
from project DNA + the code index; `install-hook` refreshes it after every
|
|
63
|
+
merge; `map` maintains `.ur/repo-map.md`.
|
|
64
|
+
- Repo map in context (Aider/Cursor pattern): when `.ur/repo-map.md` exists
|
|
65
|
+
and is fresh (<7 days), a byte-capped orientation map is injected into the
|
|
66
|
+
system prompt. Zero tokens until you generate one.
|
|
67
|
+
- `ur recipe` — structured-output playbooks (Devin-style): stored prompt +
|
|
68
|
+
JSON Schema; `run` spawns a child session whose final answer must validate
|
|
69
|
+
(one automatic repair round with the validation errors).
|
|
70
|
+
- `ur thread share` — share a session transcript as a local web page,
|
|
71
|
+
served at `/threads/<id>` on the artifacts server. Local-first: nothing
|
|
72
|
+
leaves the machine unless you expose the port.
|
|
73
|
+
- Web dashboard at `/dashboard` on the artifacts server: cloud tasks,
|
|
74
|
+
background agents, live task board, and learning stats on one page
|
|
75
|
+
(`/api/dashboard` for JSON).
|
|
76
|
+
- `ur audit export` — hash-chained audit trail (tool actions + run traces)
|
|
77
|
+
as JSONL/CSV; `ur audit verify <file>` proves an export wasn't edited or
|
|
78
|
+
reordered.
|
|
79
|
+
- `/pdf <file> [pages]` — deps-aware PDF ingestion (pdftotext/pdfinfo) with
|
|
80
|
+
page ranges, mirroring /image.
|
|
81
|
+
- Crew dynamic fan-out: `ur crew run <name> --dynamic [--max-workers N]`
|
|
82
|
+
scales the worker pool to the task board (tasks appended mid-run are
|
|
83
|
+
picked up), governed by a hard concurrency cap.
|
|
84
|
+
- Auto-skillify: `/learn stats` now surfaces skill candidates — categories
|
|
85
|
+
with ≥5 recorded successes and no matching skill get a concrete
|
|
86
|
+
/create-skill suggestion.
|
|
87
|
+
- Voice mode and the computer-use MCP server (`ur --computer-use-mcp`) now
|
|
88
|
+
ship in release builds (previously compile-time-disabled). Voice's native
|
|
89
|
+
audio backend stays optional and degrades gracefully when not installed.
|
|
90
|
+
- JetBrains plugin scaffold under `extensions/jetbrains-ur/` (experimental,
|
|
91
|
+
thin ACP client mirroring the VS Code extension).
|
|
92
|
+
- Settings: top-level `disableAutoMode` is marked deprecated in favor of
|
|
93
|
+
`permissions.disableAutoMode` (both still honored).
|
|
94
|
+
|
|
3
95
|
## 1.44.10
|
|
4
96
|
|
|
5
97
|
- Render `AskUserQuestion` permission requests inside a `PermissionDialog` so
|
package/README.md
CHANGED
|
@@ -214,7 +214,7 @@ Development build detected. To update, pull latest source or install from npm.
|
|
|
214
214
|
Choose a model or Ollama host:
|
|
215
215
|
|
|
216
216
|
```sh
|
|
217
|
-
ur --model
|
|
217
|
+
ur --model qwen2.5-coder:7b
|
|
218
218
|
ur --ollama-host http://192.168.1.50:11434
|
|
219
219
|
ur --discover-ollama
|
|
220
220
|
```
|
|
@@ -252,12 +252,16 @@ ur config set provider openai-api
|
|
|
252
252
|
ur config set provider anthropic-api
|
|
253
253
|
ur config set provider gemini-api
|
|
254
254
|
ur config set provider openrouter
|
|
255
|
-
ur config set model
|
|
256
|
-
ur provider select-model ollama
|
|
255
|
+
ur config set model qwen2.5-coder:7b
|
|
256
|
+
ur provider select-model ollama qwen2.5-coder:7b --json
|
|
257
257
|
ur config set base_url http://localhost:11434
|
|
258
258
|
ur config set provider.fallback ollama
|
|
259
259
|
```
|
|
260
260
|
|
|
261
|
+
`provider.fallback` records a recovery provider for `ur provider doctor`
|
|
262
|
+
guidance. UR never switches providers automatically: inspect the failure and
|
|
263
|
+
select the recovery provider explicitly with `ur config set provider <id>`.
|
|
264
|
+
|
|
261
265
|
Provider config accepts canonical IDs and common aliases. Examples:
|
|
262
266
|
`openai-api`, `anthropic-api`, `gemini-api`, `openrouter`, `ollama`,
|
|
263
267
|
`lmstudio`, `LM Studio`, `llama.cpp`, `vllm`, and the subscription CLIs
|
|
@@ -469,9 +473,10 @@ ur ide config vscode # VS Code / Cursor / Windsurf setup
|
|
|
469
473
|
|
|
470
474
|
VS Code, Cursor, and Windsurf connect through the UR Inline Diffs extension;
|
|
471
475
|
Zed and ACP-capable Neovim clients connect through the stdio Agent Client
|
|
472
|
-
Protocol.
|
|
473
|
-
|
|
474
|
-
|
|
476
|
+
Protocol. The experimental bundled JetBrains plugin under
|
|
477
|
+
`extensions/jetbrains-ur` uses project-scoped JSON-RPC sessions over the
|
|
478
|
+
loopback HTTP ACP endpoint and is installable from its Gradle `buildPlugin`
|
|
479
|
+
zip. Start an ACP surface with:
|
|
475
480
|
|
|
476
481
|
```sh
|
|
477
482
|
ur acp stdio # stdio ACP agent for editors (Zed, Neovim)
|
|
@@ -482,7 +487,9 @@ ur acp status
|
|
|
482
487
|
See the [IDE Guide](docs/IDE.md) and [ACP Guide](docs/ACP.md) for per-editor
|
|
483
488
|
setup, supported features, and limitations.
|
|
484
489
|
|
|
485
|
-
New slash skills run agentic work in isolated git worktrees
|
|
490
|
+
New slash skills run agentic work in isolated git worktrees and leave changes
|
|
491
|
+
local for review. They ask before the final full verification suite and do not
|
|
492
|
+
commit, push, or create PRs unless explicitly requested:
|
|
486
493
|
`/debug-v2`, `/refactor`, `/paper-implementation`, `/benchmark`, `/security-review`, `/dockerize`, `/latex-paper`.
|
|
487
494
|
Install matching agent templates with `ur agent-templates install`.
|
|
488
495
|
|