echoes-vault-opencode 1.0.30 → 1.0.32

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.
Files changed (2) hide show
  1. package/package.json +1 -1
  2. package/tui.tsx +14 -9
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "echoes-vault-opencode",
3
- "version": "1.0.30",
3
+ "version": "1.0.32",
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
@@ -1,21 +1,26 @@
1
1
  /** @jsxImportSource @opentui/solid */
2
- import type { TuiPlugin, TuiPluginModule } from "@opencode-ai/plugin/tui"
2
+ import type { TuiPlugin } from "@opencode-ai/plugin/tui"
3
3
 
4
4
  const tui: TuiPlugin = async (api) => {
5
+ const theme = api.theme.current
6
+
5
7
  api.slots.register({
6
8
  slots: {
7
9
  sidebar_content() {
8
10
  return (
11
+ <box flexDirection="column">
12
+ <text fg={theme.text}>
13
+ <b>EchoesVault Controls</b>
14
+ </text>
9
15
 
10
-
11
- <box flexDirection="column" paddingTop={1}>
12
- <text bold>Commands</text>
13
- <text color="gray"> /echoes-init (Init vault)</text>
14
- <text color="gray"> /echoes-start (Start session)</text>
15
- <text color="gray"> /echoes-end (End session)</text>
16
- <text color="gray"> /echoes-status (Show status)</text>
16
+ <text fg={theme.secondary}>• Start Session</text>
17
+ <text fg={theme.accent}>• End Session</text>
18
+ <text fg={theme.error}>• Init</text>
19
+ <text fg={theme.warning}>• Status</text>
20
+ <text fg={theme.success}>• Success</text>
21
+ <text fg={theme.info}>• Info</text>
22
+ <text fg={theme.textMuted}>• Muted</text>
17
23
  </box>
18
-
19
24
  )
20
25
  },
21
26
  },