agenr 0.8.25 → 0.8.26
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 +36 -0
- package/dist/chunk-BHV7UGJX.js +1650 -0
- package/dist/cli-main.d.ts +2 -6
- package/dist/cli-main.js +394 -1222
- package/dist/openclaw-plugin/index.d.ts +29 -0
- package/dist/openclaw-plugin/index.js +514 -23
- package/dist/stream-dR5Yoyke.d.ts +8 -0
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,41 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## [0.8.26] - 2026-02-23
|
|
4
|
+
|
|
5
|
+
### Added
|
|
6
|
+
- feat(openclaw-plugin): LLM-summarized multi-session handoff entry at
|
|
7
|
+
before_reset (#199). Builds a merged transcript from the current session
|
|
8
|
+
(via event.messages) and the most recent prior .reset.* file (if under
|
|
9
|
+
24h old), labeled with timestamps and surface (webchat/telegram/etc.)
|
|
10
|
+
from sessions.json. Summarizes via the configured LLM (from agenr config,
|
|
11
|
+
default gpt-4.1-nano) into a structured four-section handoff. Falls back
|
|
12
|
+
to raw text extraction on any failure. Handler is now properly async with
|
|
13
|
+
awaited store call.
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- fix(openclaw-plugin): before_reset handoff store now uses a two-phase flow to
|
|
17
|
+
avoid race windows with detached hook execution. Phase 1 stores fallback
|
|
18
|
+
exchange text immediately at importance 9, then Phase 2 asynchronously upgrades
|
|
19
|
+
to an importance 10 LLM summary when available.
|
|
20
|
+
- fix(openclaw-plugin): when the LLM upgrade succeeds, fallback handoff entries
|
|
21
|
+
are looked up and retired (subject/content/tag match) before storing the
|
|
22
|
+
upgraded summary, preventing stale fallback carryover.
|
|
23
|
+
- fix(openclaw-plugin): prior reset session surface lookup now maps
|
|
24
|
+
`*.jsonl.reset.*` files back to base `*.jsonl` paths via getBaseSessionPath,
|
|
25
|
+
and unknown surface fallback now uses "prior session" to improve prompt context.
|
|
26
|
+
- fix(openclaw-plugin): capTranscriptLength now enforces a hard length cap even
|
|
27
|
+
when the current session alone exceeds 8000 chars.
|
|
28
|
+
- chore(openclaw-plugin): added before_reset debug logs for missing sessionFile,
|
|
29
|
+
missing apiKey, and pre-LLM invocation traceability.
|
|
30
|
+
|
|
31
|
+
### Tests
|
|
32
|
+
- test(openclaw-plugin): added coverage for getBaseSessionPath, reset-path surface
|
|
33
|
+
resolution, capTranscriptLength edge cases (prior-only overflow, current-only
|
|
34
|
+
overflow, under-cap passthrough), missing-apiKey debug behavior, budget tail
|
|
35
|
+
slicing assertions, and buildMergedTranscript ordering.
|
|
36
|
+
- test(openclaw-plugin): updated before_reset integration coverage for two-phase
|
|
37
|
+
fallback-plus-upgrade storage behavior and no-sessionFile debug path.
|
|
38
|
+
|
|
3
39
|
## [0.8.25] - 2026-02-23
|
|
4
40
|
|
|
5
41
|
### Changed
|