ur-agent 1.65.4 → 1.65.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
@@ -1,5 +1,31 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.65.5
4
+
5
+ - Syntax highlighting works again — in assistant messages, code previews and
6
+ question dialogs. `cli-highlight` was imported by four rendering surfaces and
7
+ declared in `package.json` by none of them, so the import threw on every run
8
+ and every code block rendered as unstyled plain text. Three things had to
9
+ line up for this to stay invisible for as long as it did: the loader caught
10
+ the resolution failure and returned `null` with no message, the import is
11
+ dynamic so the bundler resolved it lazily rather than failing the build, and
12
+ an ambient `declare module 'cli-highlight' { const value: any }` shim
13
+ satisfied the typechecker on a package that was not installed. The dependency
14
+ is declared, the shim is gone (the package ships real types), and a failed
15
+ load now says so instead of silently degrading.
16
+ - Added `test/declaredDependencies.test.ts`: every external module imported by
17
+ `src` must be declared, aliased in `tsconfig` paths, or carry an ambient shim.
18
+ A full scan found no other genuine gap — `@urhq-ai/sdk` is a path alias, and
19
+ `plist`, `cacache` and `turndown` are deliberate optional degradations.
20
+ - The task-list gate no longer blocks simple one-file requests. Its allowance
21
+ for short work counted *messages* rather than tool calls, so any conversation
22
+ at all pushed the count past the threshold and the gate refused the very
23
+ first `Write` — exactly the case the allowance exists to let through.
24
+ - The status bar showed the persisted `provider.model` rather than the live
25
+ session model, so `/model` changed what ran without changing what was
26
+ displayed. The correct value was already in scope and used only as a
27
+ fallback. The render key had the same omission, so even the right source
28
+ could leave a stale value on screen after a switch.
3
29
  ## 1.65.4
4
30
 
5
31
  - A tool call that keeps failing identically is now stopped. A 4B model refused