echoes-vault-opencode 1.0.19 → 1.0.21

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 +7 -6
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "echoes-vault-opencode",
3
- "version": "1.0.19",
3
+ "version": "1.0.21",
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,5 +1,6 @@
1
1
  /** @jsxImportSource @opentui/solid */
2
2
  import type { TuiPlugin, TuiPluginModule } from "@opencode-ai/plugin/tui"
3
+ import { TextAttributes } from "@opentui/core"
3
4
 
4
5
  type VaultState = {
5
6
  initialized: boolean
@@ -43,20 +44,20 @@ const tui: TuiPlugin = async (api) => {
43
44
  <box flexDirection="column" paddingBottom={1}>
44
45
  <box flexDirection="column" paddingBottom={1}>
45
46
  <text bold>EchoesVault</text>
46
- <text color={active ? "#4caf50" : "gray"}>
47
+ <text fg={active ? "#4caf50" : undefined} attributes={active ? undefined : TextAttributes.DIM}>
47
48
  • {active ? `Active (${title})` : "Disconnected"}
48
49
  </text>
49
- <text color="gray">
50
+ <text attributes={TextAttributes.DIM}>
50
51
  • {count} pages indexed
51
52
  </text>
52
53
  </box>
53
54
  <box flexDirection="column">
54
55
  <text bold>Commands</text>
55
56
 
56
- <text color="gray"> /echoes-init (Init vault)</text>
57
- <text color="gray"> /echoes-start (Start session)</text>
58
- <text color="gray"> /echoes-end (End session)</text>
59
- <text color="gray"> /echoes-status (Show status)</text>
57
+ <text attributes={TextAttributes.DIM}> /echoes-init (Init vault)</text>
58
+ <text attributes={TextAttributes.DIM}> /echoes-start (Start session)</text>
59
+ <text attributes={TextAttributes.DIM}> /echoes-end (End session)</text>
60
+ <text attributes={TextAttributes.DIM}> /echoes-status (Show status)</text>
60
61
  </box>
61
62
 
62
63
  </box>