ur-agent 1.65.3 → 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,46 @@
|
|
|
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.
|
|
29
|
+
## 1.65.4
|
|
30
|
+
|
|
31
|
+
- A tool call that keeps failing identically is now stopped. A 4B model refused
|
|
32
|
+
once by the task-list gate answered by emitting `Write` with no arguments
|
|
33
|
+
repeatedly, and nothing intervened — the trajectory grader names this pattern
|
|
34
|
+
but only after a run has ended, so it could grade the wreck and never prevent
|
|
35
|
+
it. Three identical failures are refused with instructions to change course;
|
|
36
|
+
six abort the turn, because otherwise a model that ignores the refusal simply
|
|
37
|
+
loops on the refusal instead.
|
|
38
|
+
- The signature is tool name plus input, so a corrected retry is never
|
|
39
|
+
penalised — that is precisely the recovery a refusal asks for. Both the
|
|
40
|
+
task-list gate and input validation feed the counter; the observed loop was
|
|
41
|
+
rejected by validation every time, so recording only gate refusals would have
|
|
42
|
+
left the guard counting zero.
|
|
43
|
+
|
|
3
44
|
## 1.65.3
|
|
4
45
|
|
|
5
46
|
- Removed two tips for things that do not exist: `/mobile to use UR from the
|