opencode-mem 2.16.0 → 2.17.0
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.
|
@@ -7,9 +7,9 @@ const MAX_CACHE_SIZE = 100;
|
|
|
7
7
|
let _transformers = null;
|
|
8
8
|
function getTransformersPackageSpecifier() {
|
|
9
9
|
// Keep this non-literal so OpenCode/Bun plugin-loader bundling does not eagerly
|
|
10
|
-
// traverse @
|
|
10
|
+
// traverse @huggingface/transformers internals during plugin startup. The package
|
|
11
11
|
// is only needed for the local embedding backend, and should stay lazy.
|
|
12
|
-
return ["@
|
|
12
|
+
return ["@huggingface", "transformers"].join("/");
|
|
13
13
|
}
|
|
14
14
|
async function ensureTransformersLoaded() {
|
|
15
15
|
if (_transformers !== null)
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-mem",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.17.0",
|
|
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",
|
|
@@ -53,7 +53,7 @@
|
|
|
53
53
|
"iso-639-3": "^3.0.1",
|
|
54
54
|
"usearch": "^2.21.4",
|
|
55
55
|
"zod": "^4.3.6",
|
|
56
|
-
"@
|
|
56
|
+
"@huggingface/transformers": "^4.2.0"
|
|
57
57
|
},
|
|
58
58
|
"devDependencies": {
|
|
59
59
|
"@types/bun": "^1.3.8",
|