Sign In

verbative-memory

Package Overview
Dependencies
Maintainers
1
Versions
6
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

verbative-memory - npm Package Compare versions

Comparing version
1.0.1
to
1.1.0
+24
-2
bin/verbative-memory.js

@@ -130,3 +130,9 @@ #!/usr/bin/env node

command: `VERBATIVE_STANDALONE=1 "${core}" ${sub}`,
async: true,
// Context-INJECTING hooks must be SYNCHRONOUS: Claude Code
// DISCARDS an async UserPromptSubmit hook's stdout, so an async
// workspace-notes silently injected nothing — the memory block
// never reached the model (same bug class fixed in the extension
// and already correct in the pip CLI). Capture (Stop) has no
// stdout contract and stays async to keep it off the latency path.
...(event === "UserPromptSubmit" ? {} : { async: true }),
},

@@ -138,3 +144,6 @@ ],

const allow = (perms.allow = perms.allow || []);
for (const rule of ["Edit(.verbative/**)", "Write(.verbative/**)"])
// Edit-ONLY: Claude Code matches file permissions against Edit(path) rules
// exclusively — a Write(path) rule is dead weight and triggers a
// session-start warning (same stale rule the extension already migrated away).
for (const rule of ["Edit(.verbative/**)"])
if (!allow.includes(rule)) allow.push(rule);

@@ -228,2 +237,15 @@ fs.mkdirSync(path.dirname(settingsPath), { recursive: true });

if (args[0] === "register-hooks" && agent === "claude") {
// autoRegisterClaudeHooks is a deliberate no-op on Windows (the
// env-prefixed hook command needs /bin/sh) — printing the ✓ anyway was
// a false success. Say what actually works there instead.
if (process.platform === "win32") {
process.stderr.write(
"claude hook registration isn't supported via npm on Windows yet — " +
"use `pip install verbative-memory` (then `verbative-memory " +
"register-hooks`) or the Verbative VS Code extension. The MCP " +
"memory tools work regardless.\n",
);
rc = rc || 2;
continue;
}
try {

@@ -230,0 +252,0 @@ fs.rmSync(path.join(root, "memory-hooks-optout"), { force: true });

+1
-1
{
"name": "verbative-memory",
"version": "1.0.1",
"version": "1.1.0",
"mcpName": "io.github.verbative/verbative-memory",

@@ -5,0 +5,0 @@ "description": "On-device memory system for AI coding agents — dual-layer engine (distilled facts + lossless event ledger), automatically captured and injected, exposed over MCP. Shared across agents, persistent across sessions; files in your repo.",