opencode-fractal-memory 0.5.0 → 0.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.
- package/dist/tui/index.js +15 -18
- package/package.json +2 -3
package/dist/tui/index.js
CHANGED
|
@@ -1,22 +1,19 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "@opentui/solid/jsx-runtime";
|
|
2
|
-
|
|
3
|
-
import { fileURLToPath } from "node:url";
|
|
4
|
-
import * as path from "node:path";
|
|
5
|
-
import * as fs from "node:fs";
|
|
6
|
-
const VERSION = JSON.parse(fs.readFileSync(path.resolve(path.dirname(fileURLToPath(import.meta.url)), "../../package.json"), "utf-8")).version;
|
|
2
|
+
import { VERSION } from "../version";
|
|
7
3
|
const tui = async (api) => {
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
4
|
+
try {
|
|
5
|
+
api.slots.register({
|
|
6
|
+
order: 150,
|
|
7
|
+
slots: {
|
|
8
|
+
sidebar_content(ctx) {
|
|
9
|
+
const theme = ctx.theme.current;
|
|
10
|
+
return (_jsxs("box", { border: true, borderColor: theme.border, backgroundColor: theme.backgroundPanel, paddingTop: 1, paddingBottom: 1, paddingLeft: 2, paddingRight: 2, flexDirection: "column", gap: 1, children: [_jsx("text", { fg: theme.primary, children: _jsx("b", { children: "Fractal Memory" }) }), _jsxs("text", { fg: theme.textMuted, children: ["v", VERSION] })] }));
|
|
11
|
+
},
|
|
14
12
|
},
|
|
15
|
-
}
|
|
16
|
-
}
|
|
13
|
+
});
|
|
14
|
+
}
|
|
15
|
+
catch (err) {
|
|
16
|
+
console.error("[fractal-memory] TUI plugin registration failed:", err);
|
|
17
|
+
}
|
|
17
18
|
};
|
|
18
|
-
|
|
19
|
-
id: "fractal-memory",
|
|
20
|
-
tui,
|
|
21
|
-
};
|
|
22
|
-
export default plugin;
|
|
19
|
+
export default { id: "fractal-memory", tui };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "opencode-fractal-memory",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.6.1",
|
|
4
4
|
"description": "Fractal memory system for OpenCode with semantic search and automatic compression.",
|
|
5
5
|
"main": "dist/plugin.js",
|
|
6
6
|
"exports": {
|
|
@@ -47,14 +47,13 @@
|
|
|
47
47
|
"hnsw": "^1.1.1",
|
|
48
48
|
"js-yaml": "^4.2.0",
|
|
49
49
|
"onnxruntime-web": "^1.26.0",
|
|
50
|
-
"zod": "
|
|
50
|
+
"zod": "4.3.6"
|
|
51
51
|
},
|
|
52
52
|
"peerDependencies": {
|
|
53
53
|
"@opencode-ai/plugin": "^1.15.13"
|
|
54
54
|
},
|
|
55
55
|
"devDependencies": {
|
|
56
56
|
"@opencode-ai/plugin": "^1.15.13",
|
|
57
|
-
"@opentui/solid": "^0.3.2",
|
|
58
57
|
"@tsconfig/bun": "^1.0.10",
|
|
59
58
|
"@types/bun": "^1.3.14",
|
|
60
59
|
"@types/js-yaml": "^4.0.9",
|