@llmnesia/mcp 0.1.14 → 0.1.15

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.
@@ -3,7 +3,7 @@ import { createRequire as __llmnesiaCreateRequire } from "node:module";
3
3
  const require = __llmnesiaCreateRequire(import.meta.url);
4
4
  import {
5
5
  VERSION
6
- } from "./chunk-QGVH3T5W.js";
6
+ } from "./chunk-YYNCL7SQ.js";
7
7
 
8
8
  // src/config.ts
9
9
  import { readFileSync } from "fs";
@@ -38,7 +38,7 @@ var __toESM = (mod, isNodeMode, target) => (target = mod != null ? __create(__ge
38
38
  ));
39
39
 
40
40
  // src/version.ts
41
- var VERSION = true ? "0.1.14" : "0.0.0-dev";
41
+ var VERSION = true ? "0.1.15" : "0.0.0-dev";
42
42
 
43
43
  export {
44
44
  __require,
@@ -13,13 +13,13 @@ import {
13
13
  resolveCorpusDir,
14
14
  runtimeBinDir,
15
15
  uninstallRuntime
16
- } from "./chunk-JS2GFGNW.js";
16
+ } from "./chunk-C7ZUT5N7.js";
17
17
  import {
18
18
  VERSION,
19
19
  __commonJS,
20
20
  __require,
21
21
  __toESM
22
- } from "./chunk-QGVH3T5W.js";
22
+ } from "./chunk-YYNCL7SQ.js";
23
23
 
24
24
  // ../node_modules/isexe/windows.js
25
25
  var require_windows = __commonJS({
package/dist/cli.js CHANGED
@@ -3,7 +3,7 @@ import { createRequire as __llmnesiaCreateRequire } from "node:module";
3
3
  const require = __llmnesiaCreateRequire(import.meta.url);
4
4
  import {
5
5
  VERSION
6
- } from "./chunk-QGVH3T5W.js";
6
+ } from "./chunk-YYNCL7SQ.js";
7
7
 
8
8
  // src/nodeDownload.ts
9
9
  var NODE_DOWNLOAD_URLS = {
@@ -141,7 +141,7 @@ async function bootstrap() {
141
141
  await guideUnsupportedNodeVersion(process.versions.node);
142
142
  return 1;
143
143
  }
144
- const { main } = await import("./cli-I2P4TSZW.js");
144
+ const { main } = await import("./cli-BQZPGQQX.js");
145
145
  return main();
146
146
  }
147
147
  bootstrap().then((code) => {
Binary file
package/dist/mcp.js CHANGED
@@ -9,13 +9,13 @@ import {
9
9
  pendingInboxFiles,
10
10
  resolveCorpusDir,
11
11
  scheduleSelfUpdate
12
- } from "./chunk-JS2GFGNW.js";
12
+ } from "./chunk-C7ZUT5N7.js";
13
13
  import {
14
14
  VERSION,
15
15
  __commonJS,
16
16
  __export,
17
17
  __toESM
18
- } from "./chunk-QGVH3T5W.js";
18
+ } from "./chunk-YYNCL7SQ.js";
19
19
 
20
20
  // ../node_modules/ajv/dist/compile/codegen/code.js
21
21
  var require_code = __commonJS({
@@ -21343,7 +21343,9 @@ var CompanionService = class _CompanionService {
21343
21343
  hoursSinceIngest,
21344
21344
  newestConversationAt: this.index.listRecent(1)[0]?.updatedAt ?? null
21345
21345
  };
21346
- if (hoursSinceIngest === null) {
21346
+ if (hoursSinceIngest === null && status.conversationCount === 0) {
21347
+ status.staleWarning = "This corpus is empty and has never received browser data, so searches here will return nothing until it is set up. The LLMnesia browser extension is what fills it: install the extension from https://llmnesia.com, then run `npx -y @llmnesia/mcp@latest install` in a terminal to connect it.";
21348
+ } else if (hoursSinceIngest === null) {
21347
21349
  status.staleWarning = "No browser data has ever reached this corpus. Anything here arrived another way; the extension's native sync may not be installed or permitted.";
21348
21350
  } else if (hoursSinceIngest >= STALE_AFTER_HOURS) {
21349
21351
  status.staleWarning = `No browser data has reached this corpus in ${hoursSinceIngest}h. Either the user has not chatted since then, or the extension to corpus sync is broken, so results may be missing recent conversations.`;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@llmnesia/mcp",
3
- "version": "0.1.14",
3
+ "version": "0.1.15",
4
4
  "private": false,
5
5
  "type": "module",
6
6
  "comment:mcpName": "The MCP Registry's ownership marker: it must equal server.json's `name`, and the namespace must match how you authenticate with mcp-publisher. `com.llmnesia/...` requires DNS auth (a TXT record on llmnesia.com) — see docs/MCP_INSTALLER_BOARD.md.",
@@ -39,8 +39,9 @@
39
39
  "access": "public"
40
40
  },
41
41
  "scripts": {
42
- "build": "tsup && npm run build:mcpb",
42
+ "build": "node scripts/sync-server-json.mjs && tsup && npm run build:mcpb",
43
43
  "build:mcpb": "node scripts/build-mcpb.mjs",
44
+ "version": "node scripts/sync-server-json.mjs",
44
45
  "prepack": "npm run build",
45
46
  "dev": "tsx src/cli.ts",
46
47
  "mcp": "tsx src/mcp.ts",
package/server.json CHANGED
@@ -3,13 +3,13 @@
3
3
  "name": "com.llmnesia/mcp",
4
4
  "title": "LLMnesia",
5
5
  "description": "Search your AI chat history from Claude, Cursor, Codex, and other MCP clients.",
6
- "version": "0.1.14",
6
+ "version": "0.1.15",
7
7
  "packages": [
8
8
  {
9
9
  "registryType": "npm",
10
10
  "registryBaseUrl": "https://registry.npmjs.org",
11
11
  "identifier": "@llmnesia/mcp",
12
- "version": "0.1.14",
12
+ "version": "0.1.15",
13
13
  "transport": {
14
14
  "type": "stdio"
15
15
  }