echoes-vault-opencode 1.0.29 → 1.0.31
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/package.json +1 -1
- package/tui.tsx +28 -18
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "echoes-vault-opencode",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.31",
|
|
4
4
|
"description": "EchoesVault — persistent memory plugin for OpenCode. Obsidian-style knowledge base with daily logs, encyclopedia pages, and session resumption.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "index.ts",
|
package/tui.tsx
CHANGED
|
@@ -6,26 +6,36 @@ const tui: TuiPlugin = async (api) => {
|
|
|
6
6
|
slots: {
|
|
7
7
|
sidebar_content() {
|
|
8
8
|
return (
|
|
9
|
-
<box flexDirection="column" padding={1}>
|
|
10
|
-
|
|
9
|
+
// <box flexDirection="column" padding={1}>
|
|
10
|
+
// <text color="primary">EchoesVault Controls</text>
|
|
11
|
+
//
|
|
12
|
+
// {/* Здесь ИИ может добавить твои кнопки, например через <button> или перехват событий клавиатуры, в зависимости от API кнопок OpenTUI */}
|
|
13
|
+
// <text color="secondary">• Start Session</text>
|
|
14
|
+
// <text color="accent">• End Session</text>
|
|
15
|
+
// <text color="error">• Init</text>
|
|
16
|
+
// <text color="warning">• Status</text>
|
|
17
|
+
// <text color="success">• Success</text>
|
|
18
|
+
// <text color="info">• Info</text>
|
|
19
|
+
// <text color="textMuted">• Muted</text>
|
|
20
|
+
// </box>
|
|
11
21
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
<text color="warning">• Status</text>
|
|
17
|
-
<text color="success">• Success</text>
|
|
18
|
-
<text color="info">• Info</text>
|
|
19
|
-
<text color="textMuted">• Muted</text>
|
|
20
|
-
</box>
|
|
22
|
+
<box flexDirection="column">
|
|
23
|
+
<text fg={theme.text}>
|
|
24
|
+
<b>EchoesVault</b>
|
|
25
|
+
</text>
|
|
21
26
|
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
27
|
+
<text fg={theme.textMuted}>
|
|
28
|
+
Muted
|
|
29
|
+
</text>
|
|
30
|
+
|
|
31
|
+
<text fg={theme.success}>
|
|
32
|
+
Success
|
|
33
|
+
</text>
|
|
34
|
+
|
|
35
|
+
<text fg={theme.error}>
|
|
36
|
+
Error
|
|
37
|
+
</text>
|
|
38
|
+
</box>
|
|
29
39
|
|
|
30
40
|
)
|
|
31
41
|
},
|