ur-agent 1.54.0 → 1.55.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,46 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.55.0
4
+
5
+ - Narrowed `APIProvider` to the two values `getAPIProvider()` can actually
6
+ return, `'foundry' | 'ollama'`, and let the compiler find every dead branch.
7
+ It surfaced 66 errors across 25 files; all are now resolved and the
8
+ typechecker prevents the class of bug from returning. Comparisons against
9
+ `'firstParty'`, `'bedrock'` and `'vertex'` had been silently false since the
10
+ provider rewrite, which is what disabled `--effort` and `/fast`.
11
+ - Added `DeploymentKey` for the legacy per-deployment lookup tables in
12
+ `configs.ts`, `deprecation.ts` and `modelStrings.ts`. Those tables are data
13
+ rather than runtime state: they legitimately carry rows for deployments this
14
+ build cannot select, and deleting the rows would have deleted real
15
+ configuration.
16
+ - Replaced the dead comparisons with the named predicates
17
+ `isFirstPartyRuntime()`, `isBedrockRuntime()` and `isVertexRuntime()` instead
18
+ of deleting the branches. Behaviour is identical — all three return false —
19
+ but the intent is now greppable rather than hidden in an impossible
20
+ comparison, and re-enabling a deployment is a one-line change.
21
+ - Fixed one such comparison in `toolSearch.ts` that the compiler could not
22
+ reach because the file carries `@ts-nocheck`. Found by grep after the
23
+ typechecker was clean; it was the only one.
24
+ - `/memory-suggest` now seeds its dedup set from stored memory — the
25
+ `/remember` notes store, `UR.md`, `UR.local.md` and the auto-memory
26
+ entrypoint — so a fact already recorded is no longer proposed back. Each
27
+ source is best-effort; an unreadable one narrows dedup rather than failing.
28
+
29
+ ## 1.54.1
30
+
31
+ - Fixed `/speak`, `/computer`, `/memory-suggest`, `/import-session` and
32
+ `/permission-profile` being unreachable from the shell. They were registered
33
+ as slash commands but never wired into the Commander tree in `main.tsx`, so
34
+ `ur speak "hi"` was parsed as the interactive prompt and failed with "too
35
+ many arguments". All five now have shell subcommands with their own flags.
36
+ - Fixed argument parsing in the three new commands. The shell wiring quotes
37
+ every argument, so `split(/\s+/)` yielded `"'100'"` rather than `100` and
38
+ numeric arguments were rejected. They now use the quote-aware
39
+ `parseArguments`, matching every other local command.
40
+ - Quieted `scripts/backfill-releases.mjs`: `gh release view` writes "release
41
+ not found" for each unpublished tag, which is the expected answer during a
42
+ scan and was burying the plan in twenty lines of noise.
43
+
3
44
  ## 1.54.0
4
45
 
5
46
  - Wired the 1.53.0 capability libraries into runnable commands. They were