create-ai-memory 0.19.0 → 0.19.1
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 +12 -0
- package/bin/ai-mem-lint +10 -0
- package/bin/ai-note +10 -0
- package/package.json +1 -1
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 -- "$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" "$@"
|
package/bin/ai-mem-lint
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 -- "$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-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 -- "$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.
|
|
3
|
+
"version": "0.19.1",
|
|
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",
|