pi-memory-stone 0.1.0 → 0.1.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/README.md +14 -8
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -8,31 +8,37 @@ A global pi extension that preserves and retrieves useful memory across pi sessi
|
|
|
8
8
|
|
|
9
9
|
## Quick Start
|
|
10
10
|
|
|
11
|
-
Install globally
|
|
11
|
+
Install globally from npm:
|
|
12
12
|
|
|
13
13
|
```bash
|
|
14
|
-
pi install
|
|
14
|
+
pi install npm:pi-memory-stone
|
|
15
15
|
```
|
|
16
16
|
|
|
17
|
-
|
|
17
|
+
Package page: https://www.npmjs.com/package/pi-memory-stone
|
|
18
|
+
|
|
19
|
+
Then restart pi or run `/reload`, and verify it is active:
|
|
18
20
|
|
|
19
21
|
```bash
|
|
20
|
-
|
|
22
|
+
/memory-status
|
|
21
23
|
```
|
|
22
24
|
|
|
23
|
-
|
|
25
|
+
Alternative installs:
|
|
24
26
|
|
|
25
27
|
```bash
|
|
26
|
-
|
|
28
|
+
# Install directly from GitHub
|
|
29
|
+
pi install git:github.com/nikolasp/pi-memory-stone
|
|
30
|
+
|
|
31
|
+
# Manual global extension checkout
|
|
32
|
+
git clone https://github.com/nikolasp/pi-memory-stone ~/.pi/agent/extensions/pi-memory-stone
|
|
27
33
|
```
|
|
28
34
|
|
|
29
|
-
> Scope note: `pi install -l ...` / `pi install --local ...` writes to the current project's `.pi/settings.json` and only loads there. For all projects, run `pi install
|
|
35
|
+
> Scope note: `pi install -l ...` / `pi install --local ...` writes to the current project's `.pi/settings.json` and only loads there. For all projects, run `pi install npm:pi-memory-stone` without `--local` (user settings) or use `~/.pi/agent/extensions/`.
|
|
30
36
|
|
|
31
37
|
## Architecture
|
|
32
38
|
|
|
33
39
|
```
|
|
34
40
|
~/.pi/agent/memory/memory.db # SQLite + FTS5 (WAL mode)
|
|
35
|
-
|
|
41
|
+
pi-memory-stone package source
|
|
36
42
|
├── src/
|
|
37
43
|
│ ├── index.ts # Entry point: hooks, lifecycle
|
|
38
44
|
│ ├── db/ # SQLite connection, migrations, CRUD
|