claude-mem 13.40.0 → 14.0.0
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/.claude-plugin/marketplace.json +1 -1
- package/.claude-plugin/plugin.json +1 -1
- package/.codex-plugin/plugin.json +1 -1
- package/.qoder-plugin/plugin.json +1 -1
- package/README.md +3 -2
- package/dist/bug-report/index.js +74 -74
- package/dist/npx-cli/index.js +146 -146
- package/dist/opencode-plugin/index.js +3 -3
- package/dist/pi-extension/index.js +6 -6
- package/dsh/package.json +1 -1
- package/omp/hooks/claude-mem.ts +5 -1
- package/openclaw/openclaw.plugin.json +1 -1
- package/package.json +1 -1
- package/plugin/.claude-plugin/plugin.json +1 -1
- package/plugin/.codex-plugin/plugin.json +1 -1
- package/plugin/.qoder-plugin/plugin.json +1 -1
- package/plugin/package.json +1 -1
- package/plugin/scripts/context-generator.cjs +21 -21
- package/plugin/scripts/context-generator.cjs.map +3 -3
- package/plugin/scripts/mcp-server.cjs +122 -115
- package/plugin/scripts/mcp-server.cjs.map +3 -3
- package/plugin/scripts/server-service.cjs +3 -3
- package/plugin/scripts/server-service.cjs.map +1 -1
- package/plugin/scripts/transcript-watcher.cjs +28 -27
- package/plugin/scripts/transcript-watcher.cjs.map +3 -3
- package/plugin/scripts/worker-service.cjs +744 -721
- package/plugin/scripts/worker-service.cjs.map +3 -3
- package/plugin/skills/build/SKILL.md +16 -0
- package/plugin/skills/build-and-release/SKILL.md +16 -0
- package/plugin/skills/childhood/SKILL.md +46 -0
- package/plugin/skills/release/SKILL.md +15 -0
- package/plugin/sqlite/SessionStore.js.map +1 -1
- package/plugin/sqlite/observations/files.js +6 -6
- package/plugin/sqlite/observations/files.js.map +1 -1
- package/plugin/ui/viewer-bundle.js +4 -4
- package/plugin/ui/viewer.html +12 -0
- package/plugin/ui/work-view/app.js +278 -0
- package/plugin/ui/work-view/assets/agents/SOURCE-MANIFEST.json +42 -0
- package/plugin/ui/work-view/assets/agents/chatgpt.svg +2 -0
- package/plugin/ui/work-view/assets/agents/claude.svg +3 -0
- package/plugin/ui/work-view/assets/agents/gemini.svg +1 -0
- package/plugin/ui/work-view/assets/agents/hermes.svg +7 -0
- package/plugin/ui/work-view/assets/cmem-mark.svg +197 -0
- package/plugin/ui/work-view/assets/connect.png +0 -0
- package/plugin/ui/work-view/assets/fonts/HankenGrotesk-OFL.txt +94 -0
- package/plugin/ui/work-view/assets/fonts/HankenGrotesk.ttf +0 -0
- package/plugin/ui/work-view/assets/fonts/SpaceGrotesk-OFL.txt +93 -0
- package/plugin/ui/work-view/assets/fonts/SpaceGrotesk.ttf +0 -0
- package/plugin/ui/work-view/assets/icons/LICENSE +43 -0
- package/plugin/ui/work-view/assets/icons/arrow-left.svg +14 -0
- package/plugin/ui/work-view/assets/icons/chevron-down.svg +13 -0
- package/plugin/ui/work-view/assets/icons/filter.svg +13 -0
- package/plugin/ui/work-view/assets/icons/search.svg +14 -0
- package/plugin/ui/work-view/assets/icons/x.svg +14 -0
- package/plugin/ui/work-view/index.html +83 -0
- package/plugin/ui/work-view/live-status.js +77 -0
- package/plugin/ui/work-view/presentation.js +92 -0
- package/plugin/ui/work-view/request-views.js +133 -0
- package/plugin/ui/work-view/styles.css +767 -0
- package/plugin/ui/work-view/team-styles.css +114 -0
- package/plugin/ui/work-view/team-view.js +225 -0
- package/plugin/ui/work-view/view-model.js +228 -0
package/omp/hooks/claude-mem.ts
CHANGED
|
@@ -203,7 +203,9 @@ function post(path: string, body: unknown): Promise<void> {
|
|
|
203
203
|
* init is counted by the breaker, and a later prompt simply tries again.
|
|
204
204
|
*/
|
|
205
205
|
function sendPrompt(target: OmpSession, cwd: string | undefined, prompt: string): void {
|
|
206
|
-
const body: Record<string, unknown> = {
|
|
206
|
+
const body: Record<string, unknown> = {
|
|
207
|
+
contentSessionId: target.id, prompt, platformSource: "omp", telemetryPromptEpochMs: Date.now(),
|
|
208
|
+
};
|
|
207
209
|
if (cwd) body.cwd = cwd;
|
|
208
210
|
target.lastInit = (target.lastInit ?? Promise.resolve(true)).then(() => recordPrompt(target, body));
|
|
209
211
|
}
|
|
@@ -315,6 +317,7 @@ export default function claudeMemBridge(pi: HookAPI): void {
|
|
|
315
317
|
// creates the session row from the observation itself when no prompt came
|
|
316
318
|
// first).
|
|
317
319
|
pi.on("tool_result", async (event, ctx) => {
|
|
320
|
+
const telemetryToolEpochMs = Date.now();
|
|
318
321
|
const toolName = String(event?.toolName ?? "");
|
|
319
322
|
if (!toolName || toolName.startsWith("memory_")) return; // avoid claude-mem recursion
|
|
320
323
|
|
|
@@ -329,6 +332,7 @@ export default function claudeMemBridge(pi: HookAPI): void {
|
|
|
329
332
|
tool_input: event?.input,
|
|
330
333
|
tool_response: response.length > MAX_LEN ? response.slice(0, MAX_LEN) : response,
|
|
331
334
|
platformSource: "omp",
|
|
335
|
+
telemetryToolEpochMs,
|
|
332
336
|
};
|
|
333
337
|
if (ctx?.cwd) body.cwd = ctx.cwd;
|
|
334
338
|
|
|
@@ -3,7 +3,7 @@
|
|
|
3
3
|
"name": "Claude-Mem (Persistent Memory)",
|
|
4
4
|
"description": "OpenClaw plugin for Claude-Mem. Records observations from embedded runner sessions and streams them to messaging channels.",
|
|
5
5
|
"kind": "memory",
|
|
6
|
-
"version": "
|
|
6
|
+
"version": "14.0.0",
|
|
7
7
|
"license": "Apache-2.0",
|
|
8
8
|
"author": "thedotmack",
|
|
9
9
|
"homepage": "https://claude-mem.ai",
|
package/package.json
CHANGED