@agenr/openclaw-plugin 0.11.1 → 0.11.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,17 @@
1
1
  # Changelog
2
2
 
3
+ ## [0.11.3] - 2026-03-18
4
+
5
+ ### Fixed
6
+
7
+ - Added `sessionStartSectionCaps` to `openclaw.plugin.json` config schema so OpenClaw validates it correctly.
8
+
9
+ ## [0.11.2] - 2026-03-18
10
+
11
+ ### Added
12
+
13
+ - Added `sessionStartSectionCaps` plugin config option to control per-section caps for session-start memory injection. Set a section to `0` to disable it (e.g. `{ "preferences": 0, "recent": 0 }` to suppress noisy non-core sections while keeping core context). Sections: `core` (default 6), `active` (default 4), `preferences` (default 4), `recent` (default 2).
14
+
3
15
  ## [0.11.1] - 2026-03-18
4
16
 
5
17
  ### Fixed
package/dist/index.js CHANGED
@@ -26853,7 +26853,8 @@ function buildSessionStartMarkdown(previousSession, sessionProjectResolution, co
26853
26853
  browseMemoryForContext,
26854
26854
  {
26855
26855
  maxNonCoreEntries: SESSION_START_NON_CORE_MAX_ENTRIES,
26856
- recentSessionText: recentSessionBody
26856
+ recentSessionText: recentSessionBody,
26857
+ sectionCaps: options.config?.sessionStartSectionCaps
26857
26858
  }
26858
26859
  );
26859
26860
  const memorySection = renderSessionStartMemorySection(
@@ -153,6 +153,33 @@
153
153
  "type": "string"
154
154
  },
155
155
  "description": "Project names whose core entries are always injected at session start. Empty list or omit to skip core injection."
156
+ },
157
+ "sessionStartSectionCaps": {
158
+ "type": "object",
159
+ "description": "Per-section caps for session-start memory injection. Set a section to 0 to disable it. Defaults: core=6, active=4, preferences=4, recent=2.",
160
+ "additionalProperties": false,
161
+ "properties": {
162
+ "core": {
163
+ "type": "number",
164
+ "description": "Max core entries injected at session start (default: 6).",
165
+ "minimum": 0
166
+ },
167
+ "active": {
168
+ "type": "number",
169
+ "description": "Max active todo entries injected at session start (default: 4).",
170
+ "minimum": 0
171
+ },
172
+ "preferences": {
173
+ "type": "number",
174
+ "description": "Max preference/decision entries injected at session start (default: 4).",
175
+ "minimum": 0
176
+ },
177
+ "recent": {
178
+ "type": "number",
179
+ "description": "Max recent state/continuity entries injected at session start (default: 2).",
180
+ "minimum": 0
181
+ }
182
+ }
156
183
  }
157
184
  }
158
185
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@agenr/openclaw-plugin",
3
- "version": "0.11.1",
3
+ "version": "0.11.3",
4
4
  "description": "agenr memory plugin for OpenClaw — lightweight plugin-only package without the CLI",
5
5
  "license": "AGPL-3.0",
6
6
  "author": "agenr-ai",