ur-agent 1.22.3 → 1.22.5

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
@@ -30,6 +30,60 @@
30
30
  repo file classification, symbol/call/test/doc/config extraction, and index
31
31
  round-trips.
32
32
 
33
+ ## 1.22.5
34
+
35
+ ### Added
36
+ - **Real sandbox core architecture (`ur sandbox`).** New first-class command to inspect sandbox status, run dependency checks, initialize `.ur/safety-policy.json`, and evaluate shell-command approval levels.
37
+ - **Worktree-per-task (`ur task`).** New command surface to start, run, list, and hand off agent tasks in isolated git branches/worktrees: `task start <name> [--worktree]`, `task run <id>`, `task pr <id> [--create]`, `task list`, `task status <id>`.
38
+ - **PR-quality output formatter (`src/services/agents/prSummary.ts`).** Every task/PR result includes summary, changed files, tests to run, risks, rollback command, and remaining TODOs.
39
+ - **Failure memory (`src/services/agents/failureMemory.ts`).** Failed shell commands are recorded in project memory via `BashTool.tsx`, and similar previous failures are surfaced as hints in subsequent errors.
40
+
41
+ ### Changed
42
+ - Registered `sandbox` and `task` commands in `src/commands.ts` and `src/main.tsx`.
43
+ - Failure path in `src/tools/BashTool/BashTool.tsx` now records failures and prepends historical hints.
44
+
45
+ ### Verified
46
+ - `bun run typecheck`, `bun run lint`, `bun run test` (500 pass), `bun run bundle`, and `bun run smoke` all pass.
47
+
48
+ ## 1.22.4
49
+
50
+ ### Added
51
+ - **AST-aware `ur repo-edit` (P7).** Added
52
+ `src/services/repoEditing/ast/types.ts`,
53
+ `src/services/repoEditing/ast/workspaceEdit.ts`,
54
+ `src/services/repoEditing/ast/diagnostics.ts`,
55
+ `src/services/repoEditing/ast/typescriptEngine.ts`,
56
+ `src/services/repoEditing/ast/lspEditEngine.ts`,
57
+ `src/services/repoEditing/ast/engineRouter.ts`,
58
+ `src/services/repoEditing/ast/treeSitterEngine.ts`, and
59
+ `src/services/repoEditing/ast/repoEditAst.ts`.
60
+ - **`rename`.** Binding-aware rename for TS/JS via `ts.createProgram` + type
61
+ checker; LSP rename via `textDocument/prepareRename` + `textDocument/rename`
62
+ for Python/Rust/Go and TS/JS opt-in; Tree-sitter best-effort identifier fallback.
63
+ - **`move`.** Move a TS function/class to another file with source removal and
64
+ target insertion.
65
+ - **`organize-imports`.** Sort import blocks alphabetically for TS/JS files.
66
+ - **`unused`.** List unused local variables via TypeScript reference analysis.
67
+ - **`callers`.** Map direct callers of a TS function.
68
+ - **Diagnostics before/after edits with rollback.** Each apply path collects a
69
+ `DiagnosticSnapshot`, applies edits, then re-collects. New errors or a failing
70
+ `--check` command roll back all changed files.
71
+ - **LSP editing support.** `LSPServerInstance.ts` advertises `textDocument.rename`
72
+ and `workspace.applyEdit`; `LSPServerManager.ts` handles reverse
73
+ `workspace/applyEdit` requests.
74
+
75
+ ### Changed
76
+ - `src/commands/repo-edit/repo-edit.ts` dispatches the new `rename`, `move`,
77
+ `organize-imports`, `unused`, and `callers` subcommands while keeping legacy
78
+ `plan/preview/apply rename` paths working.
79
+
80
+ ### Verified
81
+ - Added `test/repoEditAst.test.ts`, `test/typescriptEngine.test.ts`,
82
+ `test/repoEditMove.test.ts`, `test/repoEditImports.test.ts`, and
83
+ `test/repoEditReadOps.test.ts` covering binding-aware rename, cross-file
84
+ import updates, rollback on check failure, move, organize imports, unused
85
+ detection, and caller mapping.
86
+
33
87
  ## 1.22.2
34
88
 
35
89
  ### Added