agenr 0.8.10 → 0.8.11

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,10 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.8.11]
4
+
5
+ ### Changed
6
+ - feat(plugin): resolveSessionQuery now blends the before_reset stash with the live prompt for session-start recall; when a stash exists and the live prompt is high-signal (>=40 chars / >=5 words), the query is stash + live prompt; when the live prompt is low-signal (common short opener like "did the plugin fire?"), the stash wins outright; no-stash behavior is unchanged (issue #181)
7
+
3
8
  ## [0.8.10]
4
9
 
5
10
  ### Added
package/README.md CHANGED
@@ -53,6 +53,8 @@ tools registered directly in the agent toolset.
53
53
  openclaw plugins install agenr
54
54
  ```
55
55
 
56
+ > **Security notice:** OpenClaw's code scanner will flag a critical warning during install: _"Shell command execution detected (child_process)."_ This is expected. agenr shells out to its own CLI binary to run recall and store operations -- it does not make any external network calls, does not read your OpenClaw credentials, and does not send data anywhere. The plugin source is open and auditable at [github.com/agenr-ai/agenr](https://github.com/agenr-ai/agenr).
57
+
56
58
  That's it. Memory injection happens via the plugin's `before_agent_start` hook.
57
59
  No AGENTS.md edits needed. The bundled `SKILL.md` loads automatically and
58
60
  instructs the agent when to call `agenr_store` proactively.
@@ -239,7 +239,14 @@ function resolveSessionQuery(prompt, sessionKey) {
239
239
  }
240
240
  const normalized = (prompt ?? "").trim();
241
241
  if (!isThinPrompt(normalized)) {
242
- return stripResetPrefix(normalized);
242
+ const stripped = stripResetPrefix(normalized);
243
+ if (!stashedText) {
244
+ return stripped;
245
+ }
246
+ if (shouldStashTopic(stripped)) {
247
+ return `${stashedText} ${stripped}`;
248
+ }
249
+ return stashedText;
243
250
  }
244
251
  return stashedText;
245
252
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agenr",
3
- "version": "0.8.10",
3
+ "version": "0.8.11",
4
4
  "openclaw": {
5
5
  "extensions": [
6
6
  "dist/openclaw-plugin/index.js"