@byte5ai/palaia 1.3.0 → 1.4.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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/src/runner.ts +4 -1
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@byte5ai/palaia",
3
- "version": "1.3.0",
3
+ "version": "1.4.2",
4
4
  "description": "Palaia memory backend for OpenClaw",
5
5
  "main": "index.ts",
6
6
  "openclaw": {
package/src/runner.ts CHANGED
@@ -121,7 +121,10 @@ function execCommand(
121
121
  timeout,
122
122
  maxBuffer: 1024 * 1024, // 1MB
123
123
  cwd: opts.cwd,
124
- env: { ...process.env },
124
+ env: {
125
+ ...process.env,
126
+ ...(opts.cwd ? { PALAIA_HOME: opts.cwd } : {}),
127
+ },
125
128
  },
126
129
  (error, stdout, stderr) => {
127
130
  if (error && (error as any).killed) {