hippo-memory 1.3.0 → 1.3.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.
Files changed (59) hide show
  1. package/README.md +8 -0
  2. package/dist/connectors/github/backfill.d.ts.map +1 -1
  3. package/dist/connectors/github/backfill.js +31 -16
  4. package/dist/connectors/github/backfill.js.map +1 -1
  5. package/dist/connectors/github/cli-impl.d.ts.map +1 -1
  6. package/dist/connectors/github/cli-impl.js +40 -0
  7. package/dist/connectors/github/cli-impl.js.map +1 -1
  8. package/dist/connectors/github/deletion.d.ts +18 -13
  9. package/dist/connectors/github/deletion.d.ts.map +1 -1
  10. package/dist/connectors/github/deletion.js +58 -53
  11. package/dist/connectors/github/deletion.js.map +1 -1
  12. package/dist/connectors/github/dlq.d.ts +7 -0
  13. package/dist/connectors/github/dlq.d.ts.map +1 -1
  14. package/dist/connectors/github/dlq.js +1 -0
  15. package/dist/connectors/github/dlq.js.map +1 -1
  16. package/dist/connectors/github/ingest.d.ts.map +1 -1
  17. package/dist/connectors/github/ingest.js +32 -1
  18. package/dist/connectors/github/ingest.js.map +1 -1
  19. package/dist/connectors/github/signature.d.ts +33 -10
  20. package/dist/connectors/github/signature.d.ts.map +1 -1
  21. package/dist/connectors/github/signature.js +34 -11
  22. package/dist/connectors/github/signature.js.map +1 -1
  23. package/dist/db.d.ts.map +1 -1
  24. package/dist/db.js +22 -0
  25. package/dist/db.js.map +1 -1
  26. package/dist/mcp/server.d.ts.map +1 -1
  27. package/dist/mcp/server.js +5 -4
  28. package/dist/mcp/server.js.map +1 -1
  29. package/dist/server.d.ts.map +1 -1
  30. package/dist/server.js +3 -1
  31. package/dist/server.js.map +1 -1
  32. package/dist/src/connectors/github/backfill.js +31 -16
  33. package/dist/src/connectors/github/backfill.js.map +1 -1
  34. package/dist/src/connectors/github/cli-impl.js +40 -0
  35. package/dist/src/connectors/github/cli-impl.js.map +1 -1
  36. package/dist/src/connectors/github/deletion.js +58 -53
  37. package/dist/src/connectors/github/deletion.js.map +1 -1
  38. package/dist/src/connectors/github/dlq.js +1 -0
  39. package/dist/src/connectors/github/dlq.js.map +1 -1
  40. package/dist/src/connectors/github/ingest.js +32 -1
  41. package/dist/src/connectors/github/ingest.js.map +1 -1
  42. package/dist/src/connectors/github/signature.js +34 -11
  43. package/dist/src/connectors/github/signature.js.map +1 -1
  44. package/dist/src/db.js +22 -0
  45. package/dist/src/db.js.map +1 -1
  46. package/dist/src/mcp/server.js +5 -4
  47. package/dist/src/mcp/server.js.map +1 -1
  48. package/dist/src/server.js +3 -1
  49. package/dist/src/server.js.map +1 -1
  50. package/dist/src/version.js +35 -0
  51. package/dist/src/version.js.map +1 -0
  52. package/dist/version.d.ts +25 -0
  53. package/dist/version.d.ts.map +1 -0
  54. package/dist/version.js +35 -0
  55. package/dist/version.js.map +1 -0
  56. package/extensions/openclaw-plugin/openclaw.plugin.json +1 -1
  57. package/extensions/openclaw-plugin/package.json +1 -1
  58. package/openclaw.plugin.json +1 -1
  59. package/package.json +1 -1
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Single source of truth for the hippo-memory binary's package version.
3
+ *
4
+ * Bumped manually on every release alongside the four package manifests
5
+ * (package.json, openclaw.plugin.json, extensions/openclaw-plugin/package.json,
6
+ * extensions/openclaw-plugin/openclaw.plugin.json) and the lockfile.
7
+ *
8
+ * Used by:
9
+ * - src/db.ts rollback-safety guard (refuses to open a DB stamped with
10
+ * min_compatible_binary newer than this).
11
+ * - src/server.ts HTTP /health.
12
+ * - src/mcp/server.ts MCP serverInfo.
13
+ *
14
+ * Why not read package.json at runtime: the npm-published bundle ships
15
+ * compiled `dist/` files that may not have package.json on a relative path
16
+ * an ESM `import` can resolve cleanly, and a hardcoded constant survives
17
+ * any packager that drops .json files.
18
+ */
19
+ export const PACKAGE_VERSION = '1.3.1';
20
+ // (already 1.3.1 — kept this comment as a reminder: bump on every release.)
21
+ /**
22
+ * Compare two semver strings. Returns positive if a > b, 0 if equal, negative
23
+ * if a < b. Pre-release tags are not handled — releases use plain x.y.z.
24
+ */
25
+ export function compareSemver(a, b) {
26
+ const parse = (v) => v.split('.').map((n) => Number(n) || 0);
27
+ const [a1, a2, a3] = parse(a);
28
+ const [b1, b2, b3] = parse(b);
29
+ if (a1 !== b1)
30
+ return (a1 ?? 0) - (b1 ?? 0);
31
+ if (a2 !== b2)
32
+ return (a2 ?? 0) - (b2 ?? 0);
33
+ return (a3 ?? 0) - (b3 ?? 0);
34
+ }
35
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,OAAO,CAAC;AACvC,4EAA4E;AAE5E;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,CAAS,EAAE,CAAS;IAChD,MAAM,KAAK,GAAG,CAAC,CAAS,EAAY,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/E,MAAM,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAC9B,MAAM,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAC9B,IAAI,EAAE,KAAK,EAAE;QAAE,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IAC5C,IAAI,EAAE,KAAK,EAAE;QAAE,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IAC5C,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AAC/B,CAAC"}
@@ -0,0 +1,25 @@
1
+ /**
2
+ * Single source of truth for the hippo-memory binary's package version.
3
+ *
4
+ * Bumped manually on every release alongside the four package manifests
5
+ * (package.json, openclaw.plugin.json, extensions/openclaw-plugin/package.json,
6
+ * extensions/openclaw-plugin/openclaw.plugin.json) and the lockfile.
7
+ *
8
+ * Used by:
9
+ * - src/db.ts rollback-safety guard (refuses to open a DB stamped with
10
+ * min_compatible_binary newer than this).
11
+ * - src/server.ts HTTP /health.
12
+ * - src/mcp/server.ts MCP serverInfo.
13
+ *
14
+ * Why not read package.json at runtime: the npm-published bundle ships
15
+ * compiled `dist/` files that may not have package.json on a relative path
16
+ * an ESM `import` can resolve cleanly, and a hardcoded constant survives
17
+ * any packager that drops .json files.
18
+ */
19
+ export declare const PACKAGE_VERSION = "1.3.1";
20
+ /**
21
+ * Compare two semver strings. Returns positive if a > b, 0 if equal, negative
22
+ * if a < b. Pre-release tags are not handled — releases use plain x.y.z.
23
+ */
24
+ export declare function compareSemver(a: string, b: string): number;
25
+ //# sourceMappingURL=version.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.d.ts","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,eAAO,MAAM,eAAe,UAAU,CAAC;AAGvC;;;GAGG;AACH,wBAAgB,aAAa,CAAC,CAAC,EAAE,MAAM,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAO1D"}
@@ -0,0 +1,35 @@
1
+ /**
2
+ * Single source of truth for the hippo-memory binary's package version.
3
+ *
4
+ * Bumped manually on every release alongside the four package manifests
5
+ * (package.json, openclaw.plugin.json, extensions/openclaw-plugin/package.json,
6
+ * extensions/openclaw-plugin/openclaw.plugin.json) and the lockfile.
7
+ *
8
+ * Used by:
9
+ * - src/db.ts rollback-safety guard (refuses to open a DB stamped with
10
+ * min_compatible_binary newer than this).
11
+ * - src/server.ts HTTP /health.
12
+ * - src/mcp/server.ts MCP serverInfo.
13
+ *
14
+ * Why not read package.json at runtime: the npm-published bundle ships
15
+ * compiled `dist/` files that may not have package.json on a relative path
16
+ * an ESM `import` can resolve cleanly, and a hardcoded constant survives
17
+ * any packager that drops .json files.
18
+ */
19
+ export const PACKAGE_VERSION = '1.3.1';
20
+ // (already 1.3.1 — kept this comment as a reminder: bump on every release.)
21
+ /**
22
+ * Compare two semver strings. Returns positive if a > b, 0 if equal, negative
23
+ * if a < b. Pre-release tags are not handled — releases use plain x.y.z.
24
+ */
25
+ export function compareSemver(a, b) {
26
+ const parse = (v) => v.split('.').map((n) => Number(n) || 0);
27
+ const [a1, a2, a3] = parse(a);
28
+ const [b1, b2, b3] = parse(b);
29
+ if (a1 !== b1)
30
+ return (a1 ?? 0) - (b1 ?? 0);
31
+ if (a2 !== b2)
32
+ return (a2 ?? 0) - (b2 ?? 0);
33
+ return (a3 ?? 0) - (b3 ?? 0);
34
+ }
35
+ //# sourceMappingURL=version.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"version.js","sourceRoot":"","sources":["../src/version.ts"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,MAAM,CAAC,MAAM,eAAe,GAAG,OAAO,CAAC;AACvC,4EAA4E;AAE5E;;;GAGG;AACH,MAAM,UAAU,aAAa,CAAC,CAAS,EAAE,CAAS;IAChD,MAAM,KAAK,GAAG,CAAC,CAAS,EAAY,EAAE,CAAC,CAAC,CAAC,KAAK,CAAC,GAAG,CAAC,CAAC,GAAG,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,MAAM,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC;IAC/E,MAAM,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAC9B,MAAM,CAAC,EAAE,EAAE,EAAE,EAAE,EAAE,CAAC,GAAG,KAAK,CAAC,CAAC,CAAC,CAAC;IAC9B,IAAI,EAAE,KAAK,EAAE;QAAE,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IAC5C,IAAI,EAAE,KAAK,EAAE;QAAE,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;IAC5C,OAAO,CAAC,EAAE,IAAI,CAAC,CAAC,GAAG,CAAC,EAAE,IAAI,CAAC,CAAC,CAAC;AAC/B,CAAC"}
@@ -2,7 +2,7 @@
2
2
  "id": "hippo-memory",
3
3
  "name": "Hippo Memory",
4
4
  "description": "Biologically-inspired memory for AI agents. Decay by default, retrieval strengthening, sleep consolidation.",
5
- "version": "1.3.0",
5
+ "version": "1.3.1",
6
6
 
7
7
  "configSchema": {
8
8
  "type": "object",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hippo-memory",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Hippo Memory plugin for OpenClaw - biologically-inspired agent memory",
5
5
  "main": "index.ts",
6
6
  "openclaw": {
@@ -2,7 +2,7 @@
2
2
  "id": "hippo-memory",
3
3
  "name": "Hippo Memory",
4
4
  "description": "Biologically-inspired memory for AI agents. Decay by default, retrieval strengthening, sleep consolidation.",
5
- "version": "1.3.0",
5
+ "version": "1.3.1",
6
6
  "configSchema": {
7
7
  "type": "object",
8
8
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hippo-memory",
3
- "version": "1.3.0",
3
+ "version": "1.3.1",
4
4
  "description": "Biologically-inspired memory system for AI agents. Decay by default, strength through use.",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",