@icex-labs/openclaw-memory-engine 3.5.3 → 3.5.4

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/setup.sh +9 -3
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@icex-labs/openclaw-memory-engine",
3
- "version": "3.5.3",
3
+ "version": "3.5.4",
4
4
  "description": "MemGPT-style hierarchical memory plugin for OpenClaw — core memory block + archival storage with semantic search",
5
5
  "type": "module",
6
6
  "main": "index.js",
package/setup.sh CHANGED
@@ -7,14 +7,20 @@
7
7
 
8
8
  set -euo pipefail
9
9
 
10
- WORKSPACE="${1:-${OPENCLAW_WORKSPACE:-$HOME/.openclaw/workspace}}"
10
+ NON_INTERACTIVE=false
11
+ WS_ARG=""
12
+ for arg in "$@"; do
13
+ case "$arg" in
14
+ --non-interactive) NON_INTERACTIVE=true ;;
15
+ *) [ -z "$WS_ARG" ] && WS_ARG="$arg" ;;
16
+ esac
17
+ done
18
+ WORKSPACE="${WS_ARG:-${OPENCLAW_WORKSPACE:-$HOME/.openclaw/workspace}}"
11
19
  OPENCLAW_DIR="${OPENCLAW_DIR:-$HOME/.openclaw}"
12
20
  CONFIG="$OPENCLAW_DIR/openclaw.json"
13
21
  MEMORY_DIR="$WORKSPACE/memory"
14
22
  AGENTS_MD="$WORKSPACE/AGENTS.md"
15
23
  PLUGIN_DIR="$(cd "$(dirname "$0")" && pwd)"
16
- NON_INTERACTIVE=false
17
- [[ "${2:-}" == "--non-interactive" || "${1:-}" == "--non-interactive" ]] && NON_INTERACTIVE=true
18
24
  OS="$(uname -s)"
19
25
 
20
26
  echo "🧠 openclaw-memory-engine setup"