ur-agent 1.54.1 → 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,31 @@
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
+
3
29
  ## 1.54.1
4
30
 
5
31
  - Fixed `/speak`, `/computer`, `/memory-suggest`, `/import-session` and