create-ai-memory 0.19.0 → 0.19.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/bin/ai-lesson ADDED
@@ -0,0 +1,12 @@
1
+ #!/usr/bin/env bash
2
+ # Run the canonical zsh implementation from non-interactive agent shells.
3
+ # OMP and similar harnesses do not inherit interactive zsh functions. Without
4
+ # this file an agent told to run ai-lesson wrote the lesson by hand: no entry
5
+ # time (so ai-mem-recall could not count it), no vault backup.
6
+ set -e
7
+
8
+ SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$(readlink -f -- "$0")")" && pwd -P)"
9
+ MODULE="$SCRIPT_DIR/../shell/ai-mem.zsh"
10
+
11
+ exec zsh -f -c 'source "$1"; shift; ai-lesson "$@"' \
12
+ ai-lesson "$MODULE" "$@"
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env bash
2
+ # Run the canonical zsh implementation from non-interactive agent shells.
3
+ # OMP and similar harnesses do not inherit interactive zsh functions.
4
+ set -e
5
+
6
+ SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$(readlink -f -- "$0")")" && pwd -P)"
7
+ MODULE="$SCRIPT_DIR/../shell/ai-mem.zsh"
8
+
9
+ exec zsh -f -c 'source "$1"; shift; ai-mem-lint "$@"' \
10
+ ai-mem-lint "$MODULE" "$@"
package/bin/ai-mem-search CHANGED
@@ -3,7 +3,7 @@
3
3
  # OMP and similar harnesses do not inherit interactive zsh functions.
4
4
  set -e
5
5
 
6
- SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$0")" && pwd -P)"
6
+ SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$(readlink -f -- "$0")")" && pwd -P)"
7
7
  MODULE="$SCRIPT_DIR/../shell/ai-mem.zsh"
8
8
 
9
9
  exec zsh -f -c 'source "$1"; shift; ai-mem-search "$@"' \
package/bin/ai-note ADDED
@@ -0,0 +1,10 @@
1
+ #!/usr/bin/env bash
2
+ # Run the canonical zsh implementation from non-interactive agent shells.
3
+ # OMP and similar harnesses do not inherit interactive zsh functions.
4
+ set -e
5
+
6
+ SCRIPT_DIR="$(CDPATH= cd -- "$(dirname -- "$(readlink -f -- "$0")")" && pwd -P)"
7
+ MODULE="$SCRIPT_DIR/../shell/ai-mem.zsh"
8
+
9
+ exec zsh -f -c 'source "$1"; shift; ai-note "$@"' \
10
+ ai-note "$MODULE" "$@"
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "create-ai-memory",
3
- "version": "0.19.0",
3
+ "version": "0.19.2",
4
4
  "description": "Persistent, harness-agnostic session memory for AI coding CLIs (Claude Code, Codex, Gemini, Cursor, opencode, omp). One Markdown vault, any harness.",
5
5
  "bin": {
6
6
  "create-ai-memory": "bin/create-ai-memory.js",
package/shell/ai-mem.zsh CHANGED
@@ -948,7 +948,6 @@ typeset -gA AI_MEM_OMP_MODELS
948
948
  [[ -n "${AI_MEM_OMP_PROVIDERS[agy]:-}" ]] || AI_MEM_OMP_PROVIDERS[agy]=google
949
949
  [[ -n "${AI_MEM_OMP_PROVIDERS[opencode]:-}" ]] || AI_MEM_OMP_PROVIDERS[opencode]=opencode
950
950
  [[ -n "${AI_MEM_OMP_PROVIDERS[cursor]:-}" ]] || AI_MEM_OMP_PROVIDERS[cursor]=cursor
951
- [[ -n "${AI_MEM_OMP_MODELS[claude]:-}" ]] || AI_MEM_OMP_MODELS[claude]=claude-sonnet-4-5
952
951
 
953
952
  # Ask which optional skills to enable. Each is independent; answer y/n per skill.
954
953
  # Echoes a pipe-joined list of chosen keys; empty means a plain session.