hippo-memory 1.53.2 → 1.55.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.
@@ -23,8 +23,6 @@ export const MAX_FILES = 10;
23
23
  export const MAX_DIGEST_CHARS = 1200;
24
24
  /** Bounds a detached worker's memory; the final message sits at the end, so a tail read loses nothing. */
25
25
  export const READ_CAP_BYTES = 64 * 1024 * 1024;
26
- /** The pinned hook shows the newest 5 memories, so older digests were never injected. */
27
- const RECENT_DIGESTS = 5;
28
26
  const CLAUDE_EDIT_TOOLS = new Set(['Edit', 'Write', 'MultiEdit', 'NotebookEdit']);
29
27
  function transcriptItem(value) {
30
28
  return isObjectLike(value) && 'type' in value ? value : null;
@@ -441,12 +439,10 @@ export function isSessionDigestRow(entry) {
441
439
  export function sessionDigestId(tenantId, key) {
442
440
  return `mem_${createHash('sha256').update(`${SESSION_DIGEST_TAG}\n${tenantId}\n${key}`).digest('hex').slice(0, 12)}`;
443
441
  }
444
- /** What hippo could have injected into the session: recent digests and the ambient handoff, never this session's own. */
442
+ /** What hippo could have injected into the session: any live digest (prompt recall reaches old ones) and the ambient handoff, never this session's own. */
445
443
  function injectedTexts(hippoRoot, opts) {
446
444
  const digests = loadAllEntries(hippoRoot, opts.tenantId)
447
445
  .filter((e) => isSessionDigestRow(e) && !e.superseded_by && e.source_session_id !== opts.key)
448
- .sort((a, b) => (a.created < b.created ? 1 : a.created > b.created ? -1 : 0))
449
- .slice(0, RECENT_DIGESTS)
450
446
  .map((e) => e.content);
451
447
  const handoff = loadLatestHandoff(hippoRoot, opts.tenantId, undefined, {
452
448
  unfinishedOnly: true,
package/dist/version.d.ts CHANGED
@@ -16,7 +16,7 @@
16
16
  * an ESM `import` can resolve cleanly, and a hardcoded constant survives
17
17
  * any packager that drops .json files.
18
18
  */
19
- export declare const PACKAGE_VERSION = "1.53.2";
19
+ export declare const PACKAGE_VERSION = "1.55.0";
20
20
  /** Compares plain x.y.z versions, positive if a > b; tags throw so the rollback guard never misfires silently. */
21
21
  export declare function compareSemver(a: string, b: string): number;
22
22
  //# sourceMappingURL=version.d.ts.map
package/dist/version.js CHANGED
@@ -16,7 +16,7 @@
16
16
  * an ESM `import` can resolve cleanly, and a hardcoded constant survives
17
17
  * any packager that drops .json files.
18
18
  */
19
- export const PACKAGE_VERSION = '1.53.2';
19
+ export const PACKAGE_VERSION = '1.55.0';
20
20
  /** Compares plain x.y.z versions, positive if a > b; tags throw so the rollback guard never misfires silently. */
21
21
  export function compareSemver(a, b) {
22
22
  const parse = (v) => {
@@ -2,7 +2,7 @@
2
2
  "id": "hippo-memory",
3
3
  "name": "Hippo Memory",
4
4
  "description": "Memory for AI agents that learns what is wrong and ranks it down. Injects context at session start and captures errors.",
5
- "version": "1.53.2",
5
+ "version": "1.55.0",
6
6
 
7
7
  "configSchema": {
8
8
  "type": "object",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hippo-memory",
3
- "version": "1.53.2",
3
+ "version": "1.55.0",
4
4
  "type": "module",
5
5
  "description": "Hippo Memory plugin for OpenClaw - biologically-inspired agent memory",
6
6
  "main": "index.ts",
@@ -2,7 +2,7 @@
2
2
  "id": "hippo-memory",
3
3
  "name": "Hippo Memory",
4
4
  "description": "Memory for AI agents that learns what is wrong and ranks it down. Injects context at session start and captures errors.",
5
- "version": "1.53.2",
5
+ "version": "1.55.0",
6
6
  "configSchema": {
7
7
  "type": "object",
8
8
  "additionalProperties": false,
package/package.json CHANGED
@@ -1,12 +1,13 @@
1
1
  {
2
2
  "name": "hippo-memory",
3
- "version": "1.53.2",
3
+ "version": "1.55.0",
4
4
  "description": "Memory for AI agents that learns what is wrong and ranks it down. MCP server, hooks for Claude Code, OpenCode and Codex, AGENTS.md instructions for Codex, Cursor, OpenClaw and Pi. SQLite, zero runtime deps.",
5
5
  "mcpName": "io.github.kitfunso/hippo-memory",
6
6
  "type": "module",
7
7
  "main": "./dist/index.js",
8
8
  "exports": {
9
- ".": "./dist/index.js"
9
+ ".": "./dist/index.js",
10
+ "./server": "./dist/server.js"
10
11
  },
11
12
  "openclaw": {
12
13
  "extensions": [