ur-agent 1.22.3 → 1.22.4
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 +39 -0
- package/dist/cli.js +1652 -430
- package/extensions/vscode-ur-inline-diffs/package.json +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -30,6 +30,45 @@
|
|
|
30
30
|
repo file classification, symbol/call/test/doc/config extraction, and index
|
|
31
31
|
round-trips.
|
|
32
32
|
|
|
33
|
+
## 1.22.4
|
|
34
|
+
|
|
35
|
+
### Added
|
|
36
|
+
- **AST-aware `ur repo-edit` (P7).** Added
|
|
37
|
+
`src/services/repoEditing/ast/types.ts`,
|
|
38
|
+
`src/services/repoEditing/ast/workspaceEdit.ts`,
|
|
39
|
+
`src/services/repoEditing/ast/diagnostics.ts`,
|
|
40
|
+
`src/services/repoEditing/ast/typescriptEngine.ts`,
|
|
41
|
+
`src/services/repoEditing/ast/lspEditEngine.ts`,
|
|
42
|
+
`src/services/repoEditing/ast/engineRouter.ts`,
|
|
43
|
+
`src/services/repoEditing/ast/treeSitterEngine.ts`, and
|
|
44
|
+
`src/services/repoEditing/ast/repoEditAst.ts`.
|
|
45
|
+
- **`rename`.** Binding-aware rename for TS/JS via `ts.createProgram` + type
|
|
46
|
+
checker; LSP rename via `textDocument/prepareRename` + `textDocument/rename`
|
|
47
|
+
for Python/Rust/Go and TS/JS opt-in; Tree-sitter best-effort identifier fallback.
|
|
48
|
+
- **`move`.** Move a TS function/class to another file with source removal and
|
|
49
|
+
target insertion.
|
|
50
|
+
- **`organize-imports`.** Sort import blocks alphabetically for TS/JS files.
|
|
51
|
+
- **`unused`.** List unused local variables via TypeScript reference analysis.
|
|
52
|
+
- **`callers`.** Map direct callers of a TS function.
|
|
53
|
+
- **Diagnostics before/after edits with rollback.** Each apply path collects a
|
|
54
|
+
`DiagnosticSnapshot`, applies edits, then re-collects. New errors or a failing
|
|
55
|
+
`--check` command roll back all changed files.
|
|
56
|
+
- **LSP editing support.** `LSPServerInstance.ts` advertises `textDocument.rename`
|
|
57
|
+
and `workspace.applyEdit`; `LSPServerManager.ts` handles reverse
|
|
58
|
+
`workspace/applyEdit` requests.
|
|
59
|
+
|
|
60
|
+
### Changed
|
|
61
|
+
- `src/commands/repo-edit/repo-edit.ts` dispatches the new `rename`, `move`,
|
|
62
|
+
`organize-imports`, `unused`, and `callers` subcommands while keeping legacy
|
|
63
|
+
`plan/preview/apply rename` paths working.
|
|
64
|
+
|
|
65
|
+
### Verified
|
|
66
|
+
- Added `test/repoEditAst.test.ts`, `test/typescriptEngine.test.ts`,
|
|
67
|
+
`test/repoEditMove.test.ts`, `test/repoEditImports.test.ts`, and
|
|
68
|
+
`test/repoEditReadOps.test.ts` covering binding-aware rename, cross-file
|
|
69
|
+
import updates, rollback on check failure, move, organize imports, unused
|
|
70
|
+
detection, and caller mapping.
|
|
71
|
+
|
|
33
72
|
## 1.22.2
|
|
34
73
|
|
|
35
74
|
### Added
|