opencode-mem 2.6.0 → 2.6.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.
@@ -110,7 +110,7 @@ export class ConnectionManager {
110
110
  db.run(`
111
111
  CREATE VIRTUAL TABLE IF NOT EXISTS vec_tags USING vec0(
112
112
  memory_id TEXT PRIMARY KEY,
113
- embedding BLOB float32
113
+ embedding float32[${CONFIG.embeddingDimensions}]
114
114
  )
115
115
  `);
116
116
  }
@@ -150,13 +150,13 @@ export class ShardManager {
150
150
  db.run(`
151
151
  CREATE VIRTUAL TABLE IF NOT EXISTS vec_memories USING vec0(
152
152
  memory_id TEXT PRIMARY KEY,
153
- embedding BLOB float32
153
+ embedding float32[${CONFIG.embeddingDimensions}]
154
154
  )
155
155
  `);
156
156
  db.run(`
157
157
  CREATE VIRTUAL TABLE IF NOT EXISTS vec_tags USING vec0(
158
158
  memory_id TEXT PRIMARY KEY,
159
- embedding BLOB float32
159
+ embedding float32[${CONFIG.embeddingDimensions}]
160
160
  )
161
161
  `);
162
162
  db.run(`CREATE INDEX IF NOT EXISTS idx_container_tag ON memories(container_tag)`);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "opencode-mem",
3
- "version": "2.6.0",
3
+ "version": "2.6.1",
4
4
  "description": "OpenCode plugin that gives coding agents persistent memory using local vector database",
5
5
  "type": "module",
6
6
  "main": "dist/plugin.js",