agenr 0.9.21 → 0.9.22
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 +11 -0
- package/dist/openclaw-plugin/index.js +13 -8
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,16 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 0.9.22 (2026-02-28)
|
|
4
|
+
|
|
5
|
+
### Bug Fixes
|
|
6
|
+
- OpenClaw plugin: added missing pronouns (You, She, They) to
|
|
7
|
+
FALSE_POSITIVE_NOUNS so short messages like "You there?" correctly
|
|
8
|
+
classify as trivial instead of triggering recall. (#329)
|
|
9
|
+
|
|
10
|
+
### Improvements
|
|
11
|
+
- OpenClaw plugin: standardized all log output with `[AGENR:tag]`
|
|
12
|
+
prefix for easy filtering from OpenClaw internal logs. (#329)
|
|
13
|
+
|
|
3
14
|
## 0.9.21 (2026-02-28)
|
|
4
15
|
|
|
5
16
|
### Improvements
|
|
@@ -404,6 +404,7 @@ var FALSE_POSITIVE_NOUNS = /* @__PURE__ */ new Set([
|
|
|
404
404
|
"Who",
|
|
405
405
|
"Which",
|
|
406
406
|
"Can",
|
|
407
|
+
"Check",
|
|
407
408
|
"Could",
|
|
408
409
|
"Would",
|
|
409
410
|
"Should",
|
|
@@ -436,6 +437,7 @@ var FALSE_POSITIVE_NOUNS = /* @__PURE__ */ new Set([
|
|
|
436
437
|
"Thanks",
|
|
437
438
|
"So",
|
|
438
439
|
"Now",
|
|
440
|
+
"Really",
|
|
439
441
|
"Well",
|
|
440
442
|
"Still",
|
|
441
443
|
"Yet",
|
|
@@ -456,6 +458,9 @@ var FALSE_POSITIVE_NOUNS = /* @__PURE__ */ new Set([
|
|
|
456
458
|
"Her",
|
|
457
459
|
"Its",
|
|
458
460
|
"Their",
|
|
461
|
+
"She",
|
|
462
|
+
"They",
|
|
463
|
+
"You",
|
|
459
464
|
"Some",
|
|
460
465
|
"Any",
|
|
461
466
|
"All",
|
|
@@ -1233,7 +1238,7 @@ function resolveWarn(pluginConfig) {
|
|
|
1233
1238
|
}
|
|
1234
1239
|
}
|
|
1235
1240
|
return (message) => {
|
|
1236
|
-
console.warn(message);
|
|
1241
|
+
console.warn(`[AGENR] ${message}`);
|
|
1237
1242
|
};
|
|
1238
1243
|
}
|
|
1239
1244
|
function sourceStringFromEntry(entry) {
|
|
@@ -1616,7 +1621,7 @@ function isDebugEnabled(config) {
|
|
|
1616
1621
|
}
|
|
1617
1622
|
function debugLog(enabled, tag, message) {
|
|
1618
1623
|
if (enabled) {
|
|
1619
|
-
console.error(`[
|
|
1624
|
+
console.error(`[AGENR:${tag}] ${message}`);
|
|
1620
1625
|
}
|
|
1621
1626
|
}
|
|
1622
1627
|
var sessionSignalState = /* @__PURE__ */ new Map();
|
|
@@ -2271,7 +2276,7 @@ async function summarizeSessionForHandoff(currentRawMessages, sessionsDir, curre
|
|
|
2271
2276
|
debugLog(debugEnabled, "handoff", `logged LLM request/response to ${normalizedLogDir}`);
|
|
2272
2277
|
} catch (err) {
|
|
2273
2278
|
console.error(
|
|
2274
|
-
`[
|
|
2279
|
+
`[AGENR:handoff] failed to write LLM request/response logs: ${err instanceof Error ? err.message : String(err)}`
|
|
2275
2280
|
);
|
|
2276
2281
|
}
|
|
2277
2282
|
}
|
|
@@ -2279,7 +2284,7 @@ async function summarizeSessionForHandoff(currentRawMessages, sessionsDir, curre
|
|
|
2279
2284
|
return summaryText;
|
|
2280
2285
|
} catch (err) {
|
|
2281
2286
|
console.error(
|
|
2282
|
-
`[
|
|
2287
|
+
`[AGENR:before_reset] summarize handoff failed: ${err instanceof Error ? err.message : String(err)}`
|
|
2283
2288
|
);
|
|
2284
2289
|
return null;
|
|
2285
2290
|
}
|
|
@@ -2425,7 +2430,7 @@ async function runHandoffForSession(opts) {
|
|
|
2425
2430
|
debugLog(Boolean(opts.debugEnabled), opts.source, "fallback handoff stored");
|
|
2426
2431
|
} catch (err) {
|
|
2427
2432
|
console.error(
|
|
2428
|
-
`[
|
|
2433
|
+
`[AGENR:${opts.source}] fallback store failed: ${err instanceof Error ? err.message : String(err)}`
|
|
2429
2434
|
);
|
|
2430
2435
|
fallbackEntrySubject = null;
|
|
2431
2436
|
}
|
|
@@ -2479,7 +2484,7 @@ async function runHandoffForSession(opts) {
|
|
|
2479
2484
|
debugLog(Boolean(opts.debugEnabled), opts.source, "LLM handoff stored");
|
|
2480
2485
|
} catch (err) {
|
|
2481
2486
|
console.error(
|
|
2482
|
-
`[
|
|
2487
|
+
`[AGENR:${opts.source}] LLM handoff store failed: ${err instanceof Error ? err.message : String(err)}`
|
|
2483
2488
|
);
|
|
2484
2489
|
}
|
|
2485
2490
|
}
|
|
@@ -2602,7 +2607,7 @@ var plugin = {
|
|
|
2602
2607
|
debugLog(debug, "session-start", "runHandoffForSession completed");
|
|
2603
2608
|
} catch (err) {
|
|
2604
2609
|
console.error(
|
|
2605
|
-
`[
|
|
2610
|
+
`[AGENR:session_start] handoff failed: ${err instanceof Error ? err.message : String(err)}`
|
|
2606
2611
|
);
|
|
2607
2612
|
}
|
|
2608
2613
|
}
|
|
@@ -2654,7 +2659,7 @@ var plugin = {
|
|
|
2654
2659
|
debugLog(debug, "session-start", `retired handoff ${entryId}`);
|
|
2655
2660
|
}).catch((err) => {
|
|
2656
2661
|
console.error(
|
|
2657
|
-
`[
|
|
2662
|
+
`[AGENR:session-start] retire handoff ${entryId} failed: ${err instanceof Error ? err.message : String(err)}`
|
|
2658
2663
|
);
|
|
2659
2664
|
})
|
|
2660
2665
|
);
|