echoes-vault-opencode 1.0.4 → 1.0.6
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/README.md +13 -0
- package/index.ts +3 -3
- package/package.json +13 -2
- package/tui.ts +1 -0
package/README.md
CHANGED
|
@@ -52,6 +52,15 @@ status: active
|
|
|
52
52
|
|
|
53
53
|
## Installation
|
|
54
54
|
|
|
55
|
+
### Via OpenCode UI (recommended)
|
|
56
|
+
|
|
57
|
+
1. Press <kbd>control</kbd> + <kbd>P</kbd> to open the command palette
|
|
58
|
+
2. Select **Install plugin**
|
|
59
|
+
3. Enter the package name: `echoes-vault-opencode`
|
|
60
|
+
4. Restart OpenCode
|
|
61
|
+
|
|
62
|
+
### Manual
|
|
63
|
+
|
|
55
64
|
Add the plugin to your `opencode.json`:
|
|
56
65
|
|
|
57
66
|
```json
|
|
@@ -122,6 +131,10 @@ Skills guide the AI on *when* and *how* to use the tools above. They are loaded
|
|
|
122
131
|
| `echoes_search_vault_pages` | When to search the vault before generating code |
|
|
123
132
|
| `echoes_create_or_update_page` | When to create vs. update a page, deprecation rules |
|
|
124
133
|
|
|
134
|
+
## Support the project
|
|
135
|
+
|
|
136
|
+
EchoesVault is built on top of [OpenCode](https://opencode.ai/go?ref=EZW07YHVTG). If you find this plugin useful, consider subscribing to **OpenCode GO** — it unlocks unlimited usage and directly funds the platform this plugin depends on. There's a 50% discount available via [this link](https://opencode.ai/go?ref=EZW07YHVTG).
|
|
137
|
+
|
|
125
138
|
## License
|
|
126
139
|
|
|
127
140
|
[MIT](LICENSE)
|
package/index.ts
CHANGED
|
@@ -303,7 +303,7 @@ const parseCommandFrontmatter = (cmd: string): { template: string; description?:
|
|
|
303
303
|
return { template: match[2], description: frontmatter.description, agent: frontmatter.agent }
|
|
304
304
|
}
|
|
305
305
|
|
|
306
|
-
|
|
306
|
+
const OpenCodeEchoes: Plugin = async ({ directory }) => {
|
|
307
307
|
const paths = resolveVaultPaths(directory)
|
|
308
308
|
const indexFile = path.join(paths.vault, "index.md")
|
|
309
309
|
|
|
@@ -534,5 +534,5 @@ export const OpenCodeEchoes: Plugin = async ({ directory }) => {
|
|
|
534
534
|
}
|
|
535
535
|
}
|
|
536
536
|
|
|
537
|
-
export default OpenCodeEchoes
|
|
538
|
-
export { OpenCodeEchoes
|
|
537
|
+
export default { server: OpenCodeEchoes }
|
|
538
|
+
export { OpenCodeEchoes }
|
package/package.json
CHANGED
|
@@ -1,11 +1,22 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "echoes-vault-opencode",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.6",
|
|
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",
|
|
7
|
+
"exports": {
|
|
8
|
+
"./server": {
|
|
9
|
+
"import": "./index.ts",
|
|
10
|
+
"types": "./index.ts"
|
|
11
|
+
},
|
|
12
|
+
"./tui": {
|
|
13
|
+
"import": "./tui.ts",
|
|
14
|
+
"types": "./tui.ts"
|
|
15
|
+
}
|
|
16
|
+
},
|
|
7
17
|
"files": [
|
|
8
|
-
"index.ts"
|
|
18
|
+
"index.ts",
|
|
19
|
+
"tui.ts"
|
|
9
20
|
],
|
|
10
21
|
"keywords": [
|
|
11
22
|
"opencode",
|
package/tui.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export default { tui: async () => {} }
|