stackmem 1.0.0 → 1.0.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 +6 -23
- package/package.json +5 -2
package/README.md
CHANGED
|
@@ -1,39 +1,22 @@
|
|
|
1
|
-
#
|
|
1
|
+
# stackmem
|
|
2
2
|
|
|
3
3
|
AI agents forget everything between sessions. Every new chat re-derives decisions, re-breaks constraints that were already settled, and re-debugs errors that were already fixed last week.
|
|
4
4
|
|
|
5
|
-
|
|
5
|
+
stackmem is a CLI and an MCP server that stores that context in Supabase and hands it back at the start of the next session. A git post-commit hook captures most of it automatically.
|
|
6
6
|
|
|
7
7
|
## Install
|
|
8
8
|
|
|
9
9
|
```
|
|
10
|
-
|
|
11
|
-
cd coding-memory
|
|
12
|
-
npm install
|
|
10
|
+
npm install -g stackmem
|
|
13
11
|
```
|
|
14
12
|
|
|
15
|
-
|
|
13
|
+
Then in any git repo:
|
|
16
14
|
|
|
17
15
|
```
|
|
18
|
-
|
|
19
|
-
SUPABASE_SERVICE_ROLE_KEY=your-service-role-key
|
|
16
|
+
cm init <project> .
|
|
20
17
|
```
|
|
21
18
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
```
|
|
25
|
-
npm run build
|
|
26
|
-
sudo npm link
|
|
27
|
-
sudo npm install -g tsx
|
|
28
|
-
```
|
|
29
|
-
|
|
30
|
-
`cm` is now on your PATH. Install the hook in a project:
|
|
31
|
-
|
|
32
|
-
```
|
|
33
|
-
$ cd your-project-directory
|
|
34
|
-
$ cm init myapp .
|
|
35
|
-
coding-memory hook installed for project myapp at .
|
|
36
|
-
```
|
|
19
|
+
That's it. No config, no accounts, no env file.
|
|
37
20
|
|
|
38
21
|
## Usage
|
|
39
22
|
|
package/package.json
CHANGED
|
@@ -1,13 +1,16 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "stackmem",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"main": "index.js",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"bin": {
|
|
8
8
|
"cm": "src/cli.ts"
|
|
9
9
|
},
|
|
10
|
-
"files": [
|
|
10
|
+
"files": [
|
|
11
|
+
"dist",
|
|
12
|
+
"src"
|
|
13
|
+
],
|
|
11
14
|
"scripts": {
|
|
12
15
|
"dev": "tsx src/index.ts",
|
|
13
16
|
"cli": "tsx src/cli.ts",
|