diff --git a/README.md b/README.md index f52b001..0dc0a43 100644 --- a/README.md +++ b/README.md @@ -231,6 +231,39 @@ Rolling JWT middleware to all API routes. Set `status: done` to mark complete. Done tasks are filtered out of active task results. +## Source notes from other plugins + +Basic Memory works well as the durable note layer for research gathered by other OpenClaw plugins. For X/Twitter research, install [TweetClaw](https://github.com/Xquik-dev/tweetclaw) from [npm](https://www.npmjs.com/package/@xquik/tweetclaw). The [ClawHub page](https://clawhub.ai/plugins/@xquik/tweetclaw) is useful for browsing while its listing lags behind the npm release: + +```bash +openclaw plugins install @xquik/tweetclaw +``` + +Then use TweetClaw to search tweets, search tweet replies, export followers, or look up users, and save the useful results as Basic Memory notes: + +```markdown +--- +title: x-twitter-feedback-openclaw-memory +type: Research +source: x-twitter +captured_with: tweetclaw +captured_at: 2026-05-14 +--- + +## Query +"openclaw memory plugin" + +## Findings +- Users ask for durable task state after context compaction. +- Source each finding with the tweet URL, tweet ID, author, and capture date. + +## Next Steps +- [ ] Link related findings to the active project note. +- [ ] Revisit the search before release notes ship. +``` + +Keep raw exports, secrets, cookies, direct messages, and private account material out of notes. Save the query, source links, IDs, summary, and next action so future `memory_search` calls can recover the context without replaying the scrape. + ## Basic Memory Cloud Everything works locally. Cloud adds cross-device sync, team workspaces, and persistent memory for hosted agents. diff --git a/context-engine/basic-memory-context-engine.test.ts b/context-engine/basic-memory-context-engine.test.ts index 3e2fd66..8187ccc 100644 --- a/context-engine/basic-memory-context-engine.test.ts +++ b/context-engine/basic-memory-context-engine.test.ts @@ -1,5 +1,5 @@ import { beforeEach, describe, expect, it, jest } from "bun:test" -import type { AgentMessage } from "@mariozechner/pi-agent-core" +import type { AgentMessage } from "@earendil-works/pi-agent-core" import type { BmClient } from "../bm-client.ts" import type { BasicMemoryConfig } from "../config.ts" import { diff --git a/context-engine/basic-memory-context-engine.ts b/context-engine/basic-memory-context-engine.ts index ca52c65..8086beb 100644 --- a/context-engine/basic-memory-context-engine.ts +++ b/context-engine/basic-memory-context-engine.ts @@ -1,4 +1,4 @@ -import type { AgentMessage } from "@mariozechner/pi-agent-core" +import type { AgentMessage } from "@earendil-works/pi-agent-core" import { delegateCompactionToRuntime } from "openclaw/plugin-sdk/core" import type { BmClient } from "../bm-client.ts" import type { BasicMemoryConfig } from "../config.ts" diff --git a/index.test.ts b/index.test.ts index 2cbd765..b71437f 100644 --- a/index.test.ts +++ b/index.test.ts @@ -32,6 +32,7 @@ describe("plugin service lifecycle", () => { const api = { pluginConfig: { + bmPath: "true", project: "test-project", projectPath: "memory/", },