ur-agent 1.44.9 → 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 CHANGED
@@ -1,5 +1,109 @@
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
+
95
+ ## 1.44.10
96
+
97
+ - Render `AskUserQuestion` permission requests inside a `PermissionDialog` so
98
+ multiple-choice options appear as a bordered dialog box rather than a plain
99
+ list.
100
+ - Add `/undo` local command to restore the last-edited file from its pre-edit
101
+ checkpoint.
102
+ - Add shell quote-safety gate to `BashTool.validateInput`: reject commands with
103
+ unbalanced quotes before execution and return a model-actionable diagnostic.
104
+ - Add four built-in output styles: `Concise`, `JSON-strict`, `Debug-verbose`,
105
+ `Release-notes`.
106
+
3
107
  ## 1.44.9
4
108
 
5
109
  - Fix recurring "String to replace not found in file" Edit errors by adding
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 qwen3-coder:480b-cloud
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 qwen3-coder:480b-cloud
256
- ur provider select-model ollama qwen3-coder:480b-cloud --json
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. **JetBrains is not implemented in this repository** — no plugin
473
- ships from here; only detection code for a future one exists. Start an ACP
474
- surface with:
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 with clean commits and PR output:
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