opcode-pg-memory 2.2.6 → 2.2.8
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/dist/cli.js +236 -193
- package/dist/index.js +339 -314
- package/dist/mcp-server.js +296 -293
- package/package.json +69 -70
package/package.json
CHANGED
|
@@ -1,70 +1,69 @@
|
|
|
1
|
-
{
|
|
2
|
-
"name": "opcode-pg-memory",
|
|
3
|
-
"version": "2.2.
|
|
4
|
-
"description": "OpenCode plugin for persistent memory using PostgreSQL + pgvector
|
|
5
|
-
"
|
|
6
|
-
"
|
|
7
|
-
"
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
"
|
|
13
|
-
"
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
"
|
|
18
|
-
"
|
|
19
|
-
"
|
|
20
|
-
"
|
|
21
|
-
"
|
|
22
|
-
"
|
|
23
|
-
"
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
"
|
|
27
|
-
"
|
|
28
|
-
|
|
29
|
-
"
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
"
|
|
34
|
-
|
|
35
|
-
"
|
|
36
|
-
"
|
|
37
|
-
"tool.execute.
|
|
38
|
-
"
|
|
39
|
-
"experimental.
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
"
|
|
45
|
-
"
|
|
46
|
-
".
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
"
|
|
51
|
-
"
|
|
52
|
-
"
|
|
53
|
-
"
|
|
54
|
-
"
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
"@types/
|
|
59
|
-
"@types/
|
|
60
|
-
"
|
|
61
|
-
"
|
|
62
|
-
"
|
|
63
|
-
"jest": "^29.
|
|
64
|
-
"
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
1
|
+
{
|
|
2
|
+
"name": "opcode-pg-memory",
|
|
3
|
+
"version": "2.2.8",
|
|
4
|
+
"description": "OpenCode plugin for persistent memory using PostgreSQL + pgvector �?four-layer memory architecture with topic segmentation",
|
|
5
|
+
"main": "dist/index.js",
|
|
6
|
+
"types": "dist/index.d.ts",
|
|
7
|
+
"bin": {
|
|
8
|
+
"opcode-pg-memory": "dist/cli.js"
|
|
9
|
+
},
|
|
10
|
+
"scripts": {
|
|
11
|
+
"build": "bun build ./src/index.ts --outdir ./dist --target node --format cjs && bun build ./src/cli.ts --outfile ./dist/cli.js --target node --format cjs && bun build ./mcp-server.ts --outfile ./dist/mcp-server.js --target node --format cjs && tsc --emitDeclarationOnly",
|
|
12
|
+
"typecheck": "tsc --noEmit",
|
|
13
|
+
"clean": "rimraf dist"
|
|
14
|
+
},
|
|
15
|
+
"keywords": [
|
|
16
|
+
"opencode",
|
|
17
|
+
"plugin",
|
|
18
|
+
"memory",
|
|
19
|
+
"postgresql",
|
|
20
|
+
"pgvector",
|
|
21
|
+
"hindsight",
|
|
22
|
+
"mcp",
|
|
23
|
+
"agent"
|
|
24
|
+
],
|
|
25
|
+
"author": "Vbs313",
|
|
26
|
+
"license": "GPL-3.0",
|
|
27
|
+
"repository": {
|
|
28
|
+
"type": "git",
|
|
29
|
+
"url": "git+https://github.com/Vbs313/opcode-pg-memory.git"
|
|
30
|
+
},
|
|
31
|
+
"opencode": {
|
|
32
|
+
"type": "plugin",
|
|
33
|
+
"hooks": [
|
|
34
|
+
"chat.message",
|
|
35
|
+
"event",
|
|
36
|
+
"tool.execute.before",
|
|
37
|
+
"tool.execute.after",
|
|
38
|
+
"experimental.session.compacting",
|
|
39
|
+
"experimental.chat.system.transform"
|
|
40
|
+
]
|
|
41
|
+
},
|
|
42
|
+
"files": [
|
|
43
|
+
"dist",
|
|
44
|
+
"scripts/migration-v2.sql",
|
|
45
|
+
".env.example",
|
|
46
|
+
"README.md"
|
|
47
|
+
],
|
|
48
|
+
"dependencies": {
|
|
49
|
+
"pg": "^8.11.3",
|
|
50
|
+
"pgvector": "^0.1.8",
|
|
51
|
+
"@modelcontextprotocol/sdk": "^0.5.0",
|
|
52
|
+
"uuid": "^9.0.1",
|
|
53
|
+
"openai": "^4.20.0",
|
|
54
|
+
"dotenv": "^16.3.1"
|
|
55
|
+
},
|
|
56
|
+
"devDependencies": {
|
|
57
|
+
"@types/node": "^20.10.0",
|
|
58
|
+
"@types/pg": "^8.10.9",
|
|
59
|
+
"@types/uuid": "^9.0.7",
|
|
60
|
+
"typescript": "^5.3.2",
|
|
61
|
+
"rimraf": "^5.0.5",
|
|
62
|
+
"jest": "^29.7.0",
|
|
63
|
+
"ts-jest": "^29.1.1",
|
|
64
|
+
"@types/jest": "^29.5.10"
|
|
65
|
+
},
|
|
66
|
+
"engines": {
|
|
67
|
+
"node": ">=18.0.0"
|
|
68
|
+
}
|
|
69
|
+
}
|