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.
- package/README.md +8 -0
- package/dist/connectors/github/backfill.d.ts.map +1 -1
- package/dist/connectors/github/backfill.js +31 -16
- package/dist/connectors/github/backfill.js.map +1 -1
- package/dist/connectors/github/cli-impl.d.ts.map +1 -1
- package/dist/connectors/github/cli-impl.js +40 -0
- package/dist/connectors/github/cli-impl.js.map +1 -1
- package/dist/connectors/github/deletion.d.ts +18 -13
- package/dist/connectors/github/deletion.d.ts.map +1 -1
- package/dist/connectors/github/deletion.js +58 -53
- package/dist/connectors/github/deletion.js.map +1 -1
- package/dist/connectors/github/dlq.d.ts +7 -0
- package/dist/connectors/github/dlq.d.ts.map +1 -1
- package/dist/connectors/github/dlq.js +1 -0
- package/dist/connectors/github/dlq.js.map +1 -1
- package/dist/connectors/github/ingest.d.ts.map +1 -1
- package/dist/connectors/github/ingest.js +32 -1
- package/dist/connectors/github/ingest.js.map +1 -1
- package/dist/connectors/github/signature.d.ts +33 -10
- package/dist/connectors/github/signature.d.ts.map +1 -1
- package/dist/connectors/github/signature.js +34 -11
- package/dist/connectors/github/signature.js.map +1 -1
- package/dist/db.d.ts.map +1 -1
- package/dist/db.js +22 -0
- package/dist/db.js.map +1 -1
- package/dist/mcp/server.d.ts.map +1 -1
- package/dist/mcp/server.js +5 -4
- package/dist/mcp/server.js.map +1 -1
- package/dist/server.d.ts.map +1 -1
- package/dist/server.js +3 -1
- package/dist/server.js.map +1 -1
- package/dist/src/connectors/github/backfill.js +31 -16
- package/dist/src/connectors/github/backfill.js.map +1 -1
- package/dist/src/connectors/github/cli-impl.js +40 -0
- package/dist/src/connectors/github/cli-impl.js.map +1 -1
- package/dist/src/connectors/github/deletion.js +58 -53
- package/dist/src/connectors/github/deletion.js.map +1 -1
- package/dist/src/connectors/github/dlq.js +1 -0
- package/dist/src/connectors/github/dlq.js.map +1 -1
- package/dist/src/connectors/github/ingest.js +32 -1
- package/dist/src/connectors/github/ingest.js.map +1 -1
- package/dist/src/connectors/github/signature.js +34 -11
- package/dist/src/connectors/github/signature.js.map +1 -1
- package/dist/src/db.js +22 -0
- package/dist/src/db.js.map +1 -1
- package/dist/src/mcp/server.js +5 -4
- package/dist/src/mcp/server.js.map +1 -1
- package/dist/src/server.js +3 -1
- package/dist/src/server.js.map +1 -1
- package/dist/src/version.js +35 -0
- package/dist/src/version.js.map +1 -0
- package/dist/version.d.ts +25 -0
- package/dist/version.d.ts.map +1 -0
- package/dist/version.js +35 -0
- package/dist/version.js.map +1 -0
- package/extensions/openclaw-plugin/openclaw.plugin.json +1 -1
- package/extensions/openclaw-plugin/package.json +1 -1
- package/openclaw.plugin.json +1 -1
- 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"}
|
package/dist/version.js
ADDED
|
@@ -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"}
|
package/openclaw.plugin.json
CHANGED
|
@@ -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.
|
|
5
|
+
"version": "1.3.1",
|
|
6
6
|
"configSchema": {
|
|
7
7
|
"type": "object",
|
|
8
8
|
"additionalProperties": false,
|