virlow-mcp 3.15.0 → 3.16.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.
Files changed (2) hide show
  1. package/dist/cli.js +4 -6
  2. package/package.json +4 -4
package/dist/cli.js CHANGED
@@ -793,9 +793,7 @@ async function createEmbedder(opts = {}) {
793
793
  import { parse as parseYaml } from "yaml";
794
794
  var KEY_ORDER = ["source", "tags", "confidence", "created"];
795
795
  var FENCE = "---";
796
- function toCodeEnvelope(body) {
797
- return JSON.stringify({ language: "markdown", code: body, lastExecution: null });
798
- }
796
+ var MEMORY_NOTE_TYPE = "memory";
799
797
  function unwrapEnvelope(content) {
800
798
  try {
801
799
  const parsed = JSON.parse(content);
@@ -1199,7 +1197,7 @@ var MemoryStore = class {
1199
1197
  /** Create or update a memory note, encrypting through the note field
1200
1198
  * helpers. `noteId === null` creates. */
1201
1199
  async writeNote(key, noteId, label, text, meta, folderId) {
1202
- const body = toCodeEnvelope(serializeMemoryBody(text, meta));
1200
+ const body = serializeMemoryBody(text, meta);
1203
1201
  const salt = bytesToBase64(crypto.getRandomValues(new Uint8Array(32)));
1204
1202
  const { encryptedTitle, encryptedContent, iv } = await encryptNoteFields(key, label, body);
1205
1203
  const write = {
@@ -1209,7 +1207,7 @@ var MemoryStore = class {
1209
1207
  encryptedContent,
1210
1208
  iv,
1211
1209
  salt,
1212
- type: "code",
1210
+ type: MEMORY_NOTE_TYPE,
1213
1211
  // Mirrored so the app can filter memories by tag. The frontmatter stays
1214
1212
  // the source of truth; this column follows it on every write we make.
1215
1213
  tags: meta.tags ?? []
@@ -1986,7 +1984,7 @@ function startUnlockServer(api, vault, opts = {}) {
1986
1984
  }
1987
1985
 
1988
1986
  // src/version.ts
1989
- var VERSION = true ? "3.15.0" : "dev";
1987
+ var VERSION = true ? "3.16.0" : "dev";
1990
1988
 
1991
1989
  // src/server.ts
1992
1990
  function defaultEmbeddingCacheDir() {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "virlow-mcp",
3
- "version": "3.15.0",
3
+ "version": "3.16.0",
4
4
  "description": "Local MCP server for Virlow Secure Notes: end-to-end-encrypted AI memories and notes for Cursor, Claude, Codex, and any MCP client.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -34,9 +34,9 @@
34
34
  "esbuild": "^0.25.0",
35
35
  "typescript": "^5.8.0",
36
36
  "vitest": "^3.0.0",
37
- "@batalabs/virlow-crypto": "3.15.0",
38
- "@batalabs/virlow-mcp-core": "3.15.0",
39
- "@batalabs/virlow-memory": "3.15.0"
37
+ "@batalabs/virlow-crypto": "3.16.0",
38
+ "@batalabs/virlow-memory": "3.16.0",
39
+ "@batalabs/virlow-mcp-core": "3.16.0"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "node build.mjs",