ur-agent 1.65.13 → 1.66.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,63 @@
1
1
  # Changelog
2
2
 
3
+ ## 1.66.0
4
+
5
+ - Unified proactive compaction around one model-aware threshold and one live
6
+ token estimator. Small context windows now retain positive warning, error,
7
+ and trigger thresholds; configured 50–95% thresholds are honored; prompt
8
+ notifications, `/context`, and the SDK expose a clamped live-estimated
9
+ percentage remaining until the real trigger; reactive/collapse modes do not
10
+ claim a false
11
+ countdown; and successful compaction clears stale warnings.
12
+ - Preserved exact task execution state across full, partial, and
13
+ session-memory compaction. The restored authoritative snapshot keeps Task V2
14
+ IDs, statuses, owners, and dependency edges (or TodoWrite order/status),
15
+ prioritizes actionable work under 64-record and estimated 6,000-token
16
+ bounds, and requires `TaskList` before mutations when records were omitted.
17
+ - Closed a task-gate bypass caused by compacted history. Compact boundaries
18
+ now carry durable metadata that consumes the initial trivial-call allowance,
19
+ including SDK serialization, so a model cannot compact and then mutate as
20
+ though no earlier tool calls occurred.
21
+ - Removed a competing private compaction path from in-process workers. Workers
22
+ now use the normal agent query loop and therefore inherit the same feature
23
+ flags, exact trigger, session-memory-first path, reactive/collapse policy,
24
+ failure circuit breaker, cleanup, and compact-boundary behavior.
25
+ - Brought Kimi/Ollama bare task-call recovery into parity with the live task
26
+ schemas. Dependency fields, numeric task/dependency IDs, and `failed` or
27
+ `skipped` terminal updates are normalized safely; invalid IDs, statuses, and
28
+ unknown fields fail closed.
29
+ - Audited v1.65.0 through v1.65.5 for regression-safe enhancements. Every
30
+ concrete earlier technique is already present or superseded by stricter
31
+ current behavior, so no legacy implementation or removed feature was copied
32
+ back.
33
+
34
+ ## 1.65.14
35
+
36
+ - Restored the proactive task-first behavior that was present in v1.65.0 and
37
+ removed a prompt/gate contradiction introduced later. For any non-trivial
38
+ state change, including a feature-rich single-file build, the model is now
39
+ told at system, task-tool, approved-plan, Ollama/Kimi, file, notebook,
40
+ shell, and worker boundaries to complete the available task setup, inspect
41
+ its result, mark the selected task `in_progress`, inspect that result, and
42
+ only then mutate state.
43
+ - Made the ordering unambiguous for weaker models: task setup cannot be batched
44
+ with the mutation it enables, approved-plan handoffs require task calls as
45
+ the next state-changing calls, terminal task lists must be reopened or
46
+ extended before new work, and task guidance appears before file-tool
47
+ selection guidance.
48
+ - Closed planner availability and control-flow gaps across tool modes. Legacy
49
+ `TodoWrite` now follows the same feature-rich/terminal-list lifecycle and is
50
+ preferred when Task V2 is incomplete; bare/simple, REPL-simple, coordinator,
51
+ custom-agent, and override-prompt paths all receive a usable planner and the
52
+ task-state contract. Coordinator workers must be task-bound before launch;
53
+ an explicitly planner-less custom tool pool now fails closed with honest
54
+ configuration recovery instead of naming a missing tool.
55
+ - Prevented task-gate deadlocks and false mutations in supporting tools.
56
+ Team creation/deletion, shutdown/plan control messages, and emergency task
57
+ stop are narrow control transitions; skill loading and desktop screenshots
58
+ are read-only while downstream skill work, desktop input, and arbitrary
59
+ state-changing tools remain gated.
60
+
3
61
  ## 1.65.13
4
62
 
5
63
  - Recovered otherwise valid `AskUserQuestion` calls whose UI header exceeds