@dzhi/ocpg 0.1.0 → 0.4.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 +2 -2
- package/package.json +2 -1
package/README.md
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
# ocpg
|
|
2
2
|
|
|
3
3
|
|
|
4
|
-
Postgres-backed persistent memory plugin for [OpenCode](https://opencode.ai).
|
|
4
|
+
Postgres-backed persistent memory plugin for [OpenCode](https://opencode.ai).
|
|
5
5
|
|
|
6
6
|
Uses the existing `memories` table (`content`, `tags`, `session_id`, `project`, `created_at`, `search_vector`). Injects recent project memories into the system prompt and exposes `memory_recall` / `memory_remember` tools.
|
|
7
7
|
|
|
@@ -46,7 +46,7 @@ Precedence: plugin options > env vars > defaults.
|
|
|
46
46
|
| `user` | `OCPG_USER` | `pguser` |
|
|
47
47
|
| `database` | `OCPG_DB` | `agent-memory` |
|
|
48
48
|
|
|
49
|
-
**Password is never set via params** — it resolves from `OCPG_PASSWORD
|
|
49
|
+
**Password is never set via params** — it resolves from `OCPG_PASSWORD`.
|
|
50
50
|
|
|
51
51
|
## Tools
|
|
52
52
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@dzhi/ocpg",
|
|
3
|
-
"version": "0.1
|
|
3
|
+
"version": "0.4.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"description": "Postgres-backed persistent memory plugin for OpenCode",
|
|
6
6
|
"main": "ocpg.ts",
|
|
@@ -12,6 +12,7 @@
|
|
|
12
12
|
"ocpg.ts"
|
|
13
13
|
],
|
|
14
14
|
"dependencies": {
|
|
15
|
+
"@opencode-ai/plugin": "^1.18.29",
|
|
15
16
|
"zod": "^4.1.8"
|
|
16
17
|
},
|
|
17
18
|
"keywords": [
|