@@ -74,57 +74,39 @@ This installs all Pi components declared in `package.json`:
7474curl -fsSL https://raw.githubusercontent.com/SiliconState/Pi-Memory/main/scripts/install.sh | bash
7575```
7676
77- ### npm package (after publish)
78-
79- ``` bash
80- pi install npm:@siliconstate/pi-memory
81- ```
82-
8377Then verify:
8478
8579``` bash
8680~ /.pi/memory/pi-memory --version
8781```
8882
89- ### npm global (after npm publish)
90-
91- ``` bash
92- npm i -g @siliconstate/pi-memory
93- pi-memory-setup
94- pi-memory-doctor
95- ```
96-
97- ### bun global (after npm publish)
98-
99- ``` bash
100- bun add -g @siliconstate/pi-memory
101- pi-memory-setup
102- pi-memory-doctor
103- ```
104-
105- > If native compile is skipped during install, run ` pi-memory-setup ` manually.
83+ > If native compile is skipped during install, rerun the curl installer or follow manual compile troubleshooting in ` docs/INSTALL.md ` .
84+ >
85+ > npm/bun publish is planned but not currently live. For now, use the git install (or curl wrapper) above.
10686
10787---
10888
10989## Quick Start
11090
11191``` bash
92+ BIN=" ${PI_MEMORY_BIN:- $HOME / .pi/ memory/ pi-memory} "
93+
11294# initialize MEMORY.md markers
113- pi-memory init
95+ " $BIN " init
11496
11597# log memory records
116- pi-memory log decision " Use SQLite for memory" --choice " Single local DB" --rationale " Simple + durable"
117- pi-memory log finding " Extension hooks run at session_shutdown" --category architecture --confidence verified
118- pi-memory log lesson " Forgot to sync MEMORY.md" --fix " Run sync before compaction"
119- pi-memory log entity " SessionManager" --type concept --description " Pi session tree manager"
98+ " $BIN " log decision " Use SQLite for memory" --choice " Single local DB" --rationale " Simple + durable"
99+ " $BIN " log finding " Extension hooks run at session_shutdown" --category architecture --confidence verified
100+ " $BIN " log lesson " Forgot to sync MEMORY.md" --fix " Run sync before compaction"
101+ " $BIN " log entity " SessionManager" --type concept --description " Pi session tree manager"
120102
121103# inspect
122- pi-memory query --limit 20
123- pi-memory search " compaction"
124- pi-memory state < project>
104+ " $BIN " query --limit 20
105+ " $BIN " search " compaction"
106+ " $BIN " state < project>
125107
126108# sync docs
127- pi-memory sync MEMORY.md --limit 15
109+ " $BIN " sync MEMORY.md --limit 15
128110```
129111
130112---
0 commit comments