@better_openclaw/betterclaw 2.2.0 → 2.2.1

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/learner.ts +1 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@better_openclaw/betterclaw",
3
- "version": "2.2.0",
3
+ "version": "2.2.1",
4
4
  "description": "Intelligent event filtering, context tracking, and proactive triggers for BetterClaw",
5
5
  "license": "AGPL-3.0-only",
6
6
  "repository": {
package/src/learner.ts CHANGED
@@ -172,7 +172,7 @@ export async function runLearner(deps: RunLearnerDeps): Promise<void> {
172
172
  await api.runtime.subagent.waitForRun({ runId, timeoutMs: 60000 });
173
173
 
174
174
  // 10. Read response
175
- const messages = await api.runtime.subagent.getSessionMessages({
175
+ const { messages } = await api.runtime.subagent.getSessionMessages({
176
176
  sessionKey: "betterclaw-learn",
177
177
  limit: 5,
178
178
  });