ur-agent 1.44.1 → 1.44.3

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,62 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.44.3
4
+
5
+ - Make thinking visually distinct from answers: thinking blocks are labeled
6
+ "model reasoning to itself — not the answer" (dim italic, left-bordered when
7
+ expanded); answer text carries an accent-colored ⏺ marker.
8
+ - Pin the live task panel: it stays visible above the prompt while the agent
9
+ works (previously hidden during turns), with real-time status icons
10
+ (✔ done, ■ in progress, □ pending, ✘ failed, ⚠ skipped). `showExpandedTodos`
11
+ now defaults on; ctrl+T still toggles.
12
+ - Add tasks on request: saying "add to your tasks …" now creates the task
13
+ immediately, even mid-turn, and it appears live in the pinned panel.
14
+ - Add `/undo`: restores the most recently edited file to its content from
15
+ before the last turn's edits (deletes a file the last edit created). Full
16
+ checkpoint restore remains `/rewind`.
17
+ - Reject shell commands with unterminated quotes before execution, with a
18
+ diagnostic that names the defect, suggests the quoted-heredoc fix, and
19
+ tells the model not to retry the identical command.
20
+ - Add Concise, JSON-strict, Debug-verbose, and Release-notes output styles.
21
+ - Ollama: drop text-form tool calls that duplicate native ones (no more
22
+ double-executed Writes); tolerate and strip up to two hallucinated extra
23
+ keys on bare-JSON Write/Edit calls instead of leaking them as prose.
24
+ - Fix the test suite: repaired two committed test files that failed or
25
+ poisoned other suites via global module mocks — the suite is now fully
26
+ green (1134 pass, 0 fail).
27
+ - TypeScript now covers test/ (fixed all 171 surfaced errors) and 544
28
+ compiled files no longer end in megabyte-scale inline sourcemap comments —
29
+ VS Code diagnostics and long-line problems are gone.
30
+ - Repo hygiene: untracked committed local state (.ur state files, FUSE
31
+ artifact, stray yarn.lock) and added ignore rules; added UR.md project
32
+ memory so the agent learns the repo across sessions.
33
+ - `Task` status schema now includes `failed` and `skipped`, matching what
34
+ crew/workflow runs produce and the task panel renders.
35
+
36
+ ## 1.44.2
37
+
38
+ - Fix Ollama streamed tool-call accumulation: Ollama streams each completed
39
+ tool call in its own chunk, but the merge logic overwrote call N-1 with
40
+ call N, collapsing multi-call turns (e.g. several `Write` calls scaffolding
41
+ a test suite) into just the last call. Calls now append; string argument
42
+ fragments concatenate; empty argument resends no longer clobber good
43
+ arguments; cumulative resends stay idempotent.
44
+ - Repair almost-JSON tool-call arguments instead of silently emptying them.
45
+ Local models routinely emit raw newlines inside JSON string values,
46
+ markdown fences, and trailing commas; strict parsing collapsed the whole
47
+ input to `{}`, which surfaced as `InputValidationError: required parameter
48
+ \`file_path\` is missing` and trapped the model in a retry loop. A lenient
49
+ parser (`parseToolInputJsonLenient`) now repairs these across the Kimi
50
+ marker parser, the bare-JSON text parser, the Ollama input parser, and
51
+ streamed tool-input normalization. Repairs are tracked via the
52
+ `tengu_tool_input_json_repaired` event; only genuinely hopeless input still
53
+ falls back to `{}`.
54
+ - Warn (once per model, in debug logs) when an Ollama model does not
55
+ advertise the `tools` capability, since tool definitions are then silently
56
+ dropped. In that mode the system prompt now includes a concise instruction
57
+ telling the model to emit single-line bare-JSON tool arguments — the exact
58
+ format the text parser recovers — instead of leaving it to guess.
59
+
3
60
  ## 1.44.1
4
61
 
5
62
  - Fix task board rendering: finished, failed, and skipped tasks now render as