@codemem/server 0.44.1 → 0.45.0-rc.1

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.
@@ -0,0 +1,15 @@
1
+ /**
2
+ * Memory tool-support routes — HTTP twins of MCP tools that the viewer
3
+ * previously lacked (remember, timeline, expand, schema, search_index,
4
+ * explain, distill_candidates). Used by thin clients (pi extension, CLI)
5
+ * that prefer HTTP over opening the store in-process.
6
+ *
7
+ * Behavioral contracts mirror packages/mcp-server/src/tools/* against the
8
+ * same @codemem/core MemoryStore APIs. No dependency on @codemem/mcp.
9
+ */
10
+ import type { MemoryStore } from "@codemem/core";
11
+ import { Hono } from "hono";
12
+ type StoreFactory = () => MemoryStore;
13
+ export declare function memoryToolRoutes(getStore: StoreFactory): Hono<import("hono/types").BlankEnv, import("hono/types").BlankSchema, "/">;
14
+ export {};
15
+ //# sourceMappingURL=memory-tools.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"memory-tools.d.ts","sourceRoot":"","sources":["../../src/routes/memory-tools.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAKH,OAAO,KAAK,EAKX,WAAW,EACX,MAAM,eAAe,CAAC;AAkBvB,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAG5B,KAAK,YAAY,GAAG,MAAM,WAAW,CAAC;AA4ZtC,wBAAgB,gBAAgB,CAAC,QAAQ,EAAE,YAAY,8EA2QtD"}
@@ -1,6 +1,6 @@
1
1
  /**
2
2
  * Raw events routes — GET & POST /api/raw-events, GET /api/raw-events/status,
3
- * POST /api/claude-hooks, POST /api/codex-hooks.
3
+ * POST /api/claude-hooks, POST /api/codex-hooks, POST /api/pi-hooks.
4
4
  */
5
5
  import type { MemoryStore, RawEventSweeper } from "@codemem/core";
6
6
  import { Hono } from "hono";
@@ -1 +1 @@
1
- {"version":3,"file":"raw-events.d.ts","sourceRoot":"","sources":["../../src/routes/raw-events.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EAAyB,WAAW,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAUzF,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAI5B,KAAK,YAAY,GAAG,MAAM,WAAW,CAAC;AAkLtC,wBAAgB,eAAe,CAAC,QAAQ,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI,8EA4IvF"}
1
+ {"version":3,"file":"raw-events.d.ts","sourceRoot":"","sources":["../../src/routes/raw-events.ts"],"names":[],"mappings":"AAAA;;;GAGG;AAIH,OAAO,KAAK,EAAyB,WAAW,EAAE,eAAe,EAAE,MAAM,eAAe,CAAC;AAWzF,OAAO,EAAE,IAAI,EAAE,MAAM,MAAM,CAAC;AAI5B,KAAK,YAAY,GAAG,MAAM,WAAW,CAAC;AAkLtC,wBAAgB,eAAe,CAAC,QAAQ,EAAE,YAAY,EAAE,OAAO,CAAC,EAAE,eAAe,GAAG,IAAI,8EAoKvF"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@codemem/server",
3
- "version": "0.44.1",
3
+ "version": "0.45.0-rc.1",
4
4
  "type": "module",
5
5
  "types": "./dist/index.d.ts",
6
6
  "exports": {
@@ -15,7 +15,7 @@
15
15
  "static/"
16
16
  ],
17
17
  "dependencies": {
18
- "@codemem/core": "^0.44.1",
18
+ "@codemem/core": "^0.45.0-rc.1",
19
19
  "@hono/node-server": "^2.1.1",
20
20
  "drizzle-orm": "^0.45.2",
21
21
  "hono": "^4.13.5",
@@ -44,7 +44,7 @@
44
44
  },
45
45
  "scripts": {
46
46
  "clean": "rm -rf dist tsconfig.tsbuildinfo",
47
- "build": "pnpm exec vite build --ssr src/index.ts --outDir dist && pnpm exec tsc --build --force",
47
+ "build": "pnpm exec vite build --ssr src/index.ts --outDir dist && rm -f tsconfig.tsbuildinfo && pnpm exec tsc --build && test -f dist/index.d.ts",
48
48
  "typecheck": "pnpm exec tsc --noEmit"
49
49
  }
50
50
  }