hippo-memory 0.11.1 → 0.11.2

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 CHANGED
@@ -43,6 +43,10 @@ hippo recall "data pipeline issues" --budget 2000
43
43
 
44
44
  That's it. You have a memory system.
45
45
 
46
+ ### What's new in v0.11.2
47
+
48
+ - **Cross-platform path fix.** OpenClaw plugin now correctly resolves `.hippo` paths on Unix when given Windows-style backslash paths. Uses `path/posix` instead of platform-dependent `path.basename`.
49
+
46
50
  ### What's new in v0.11.1
47
51
 
48
52
  - **OpenClaw error capture filtering.** The `autoLearn` hook now applies three filters before storing tool errors: a noise pattern filter for known transient errors, per-session rate limiting (max 5), and per-session deduplication. Prevents memory pollution from infrastructure noise.
@@ -9,7 +9,8 @@
9
9
 
10
10
  import { execSync } from 'child_process';
11
11
  import { existsSync } from 'fs';
12
- import { basename, dirname, join } from 'path';
12
+ import { join } from 'path';
13
+ import { basename as posixBasename, dirname as posixDirname } from 'path/posix';
13
14
 
14
15
  interface HippoConfig {
15
16
  budget?: number;
@@ -113,7 +114,10 @@ function getAgentWorkspace(api: any, agentId?: string): string | undefined {
113
114
  function resolveHippoCwd(workspace?: string, configRoot?: string): string {
114
115
  const hippoRoot = findHippoRoot(workspace, configRoot);
115
116
  if (!hippoRoot) return workspace || process.cwd();
116
- return basename(hippoRoot).toLowerCase() === '.hippo' ? dirname(hippoRoot) : hippoRoot;
117
+ const normalized = hippoRoot.replace(/\\/g, '/');
118
+ return posixBasename(normalized).toLowerCase() === '.hippo'
119
+ ? posixDirname(normalized)
120
+ : hippoRoot;
117
121
  }
118
122
 
119
123
  function resolveHippoCwdFromContext(api: any, ctx: HippoRuntimeContext, configRoot?: string): string {
@@ -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": "0.11.1",
5
+ "version": "0.11.2",
6
6
 
7
7
  "configSchema": {
8
8
  "type": "object",
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "hippo-memory",
3
- "version": "0.11.1",
3
+ "version": "0.11.2",
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": "0.11.1",
5
+ "version": "0.11.2",
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": "0.11.1",
3
+ "version": "0.11.2",
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",