echoes-vault-opencode 1.0.11 → 1.0.13

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.ts +15 -2
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "echoes-vault-opencode",
3
- "version": "1.0.11",
3
+ "version": "1.0.13",
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.ts CHANGED
@@ -1,5 +1,18 @@
1
- const tui = async () => {
2
- // minimal noop — no JSX, no slots, no API calls
1
+ import type { TuiPlugin } from "@opencode-ai/plugin/tui"
2
+
3
+ const tui: TuiPlugin = async (api) => {
4
+ api.slots.register({
5
+ sidebar_content: () => (
6
+ <Box flexDirection="column">
7
+ <Box border="all" borderStyle="single" paddingX={1} paddingY={0}>
8
+ <Text bold>EchoesVault</Text>
9
+ </Box>
10
+ <Box paddingX={1}>
11
+ <Text dim>Status here</Text>
12
+ </Box>
13
+ </Box>
14
+ ),
15
+ })
3
16
  }
4
17
 
5
18
  export default { tui }