echoes-vault-opencode 1.0.1 → 1.0.2

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 (3) hide show
  1. package/README.md +5 -5
  2. package/index.ts +8 -8
  3. package/package.json +1 -1
package/README.md CHANGED
@@ -15,7 +15,7 @@ AI agents forget everything when a session ends. EchoesVault gives OpenCode a pe
15
15
  ## Features
16
16
 
17
17
  - **Google OKF Compliant** — EchoesVault uses Google's [Open Knowledge Format (OKF)](https://github.com/GoogleCloudPlatform/knowledge-catalog/tree/main/okf) under the hood. Your knowledge base is 100% interoperable with standard AI parsers and renders natively on GitHub and GitLab.
18
- - **Zero context loss** — start every session exactly where you left off. `/echoes-resume` reads the last 3 daily logs and the full knowledge index and feeds them to the AI automatically.
18
+ - **Zero context loss** — start every session exactly where you left off. `/echoes-start` reads the last 3 daily logs and the full knowledge index and feeds them to the AI automatically.
19
19
  - **Zero setup** — on first load the plugin creates the entire vault structure, slash commands, and agent skills by itself. Nothing to configure.
20
20
  - **Obsidian-compatible vault** — `EchoesVault/` is a valid Obsidian vault. Open it in Obsidian at any time for visual navigation, graph view, and search.
21
21
  - **ADR-style documentation** — the AI is instructed to write with maximum technical density: API contracts, configuration records, and Architectural Decision Records — not chat transcripts.
@@ -75,7 +75,7 @@ The AI reads `EchoesVault/index.md`, acknowledges the rules, and lists any exist
75
75
 
76
76
  **2. Start of every subsequent session — restore context:**
77
77
  ```
78
- /echoes-resume
78
+ /echoes-start
79
79
  ```
80
80
  Reads the last 3 daily logs and the full index, then summarizes where you left off and what the immediate next steps are. Also lints the index for duplicates or contradictions.
81
81
 
@@ -86,7 +86,7 @@ Reads the last 3 daily logs and the full index, then summarizes where you left o
86
86
 
87
87
  **4. End of session — save everything:**
88
88
  ```
89
- /echoes-save
89
+ /echoes-end
90
90
  ```
91
91
  The AI distills the session into a dense technical summary, writes new encyclopedia pages for any concepts decided today, and updates the index. All via a single tool call.
92
92
 
@@ -97,8 +97,8 @@ The AI distills the session into a dense technical summary, writes new encyclope
97
97
  | Command | Description |
98
98
  |---|---|
99
99
  | `/echoes-init` | Initialize the vault and brief the AI on the knowledge base rules |
100
- | `/echoes-resume` | Restore context from the last 3 daily logs and the index |
101
- | `/echoes-save` | Distill and commit session memory to the vault |
100
+ | `/echoes-start` | Start session — restore context from the last 3 daily logs and the index |
101
+ | `/echoes-end` | End session — distill and commit session memory to the vault |
102
102
 
103
103
  ### AI tools reference
104
104
 
package/index.ts CHANGED
@@ -95,8 +95,8 @@ The memory system has been initialized. Use your file reading tool to read the c
95
95
  If the index is empty or missing, acknowledge the initialization of a fresh vault. Otherwise, acknowledge your understanding of these rules with a brief message and list the key concepts already present in the index.
96
96
  `
97
97
 
98
- const ECHOES_RESUME_COMMAND = `---
99
- description: Restore context from EchoesVault/daily/ and EchoesVault/index.md
98
+ const ECHOES_START_COMMAND = `---
99
+ description: Start a new session — restore context from EchoesVault/daily/ and EchoesVault/index.md
100
100
  agent: build
101
101
  ---
102
102
 
@@ -126,8 +126,8 @@ Here is the concatenated work log from our LAST 3 SESSIONS (\`EchoesVault/daily/
126
126
  2. **Linting:** Briefly review the \`<index>\`. Do you spot any duplicate concepts, obvious contradictions, or orphan topics that should be merged? If so, propose a quick refactoring plan. If the index is clean, simply say: "Index is healthy. Ready to code."
127
127
  `
128
128
 
129
- const ECHOES_SAVE_COMMAND = `---
130
- description: Save session memory to EchoesVault via tool commit_memory_to_echoes_vault
129
+ const ECHOES_END_COMMAND = `---
130
+ description: End the session — save memory to EchoesVault via tool commit_memory_to_echoes_vault
131
131
  agent: build
132
132
  ---
133
133
 
@@ -220,8 +220,8 @@ Use this tool when a new global concept has been defined or an existing componen
220
220
  const ensureCommands = async (directory: string): Promise<void> => {
221
221
  const commands: Record<string, string> = {
222
222
  "echoes-init.md": ECHOES_INIT_COMMAND,
223
- "echoes-resume.md": ECHOES_RESUME_COMMAND,
224
- "echoes-save.md": ECHOES_SAVE_COMMAND,
223
+ "echoes-start.md": ECHOES_START_COMMAND,
224
+ "echoes-end.md": ECHOES_END_COMMAND,
225
225
  }
226
226
  const cmdDir = path.join(directory, ".opencode", "commands")
227
227
  await fs.mkdir(cmdDir, { recursive: true })
@@ -282,8 +282,8 @@ export const OpenCodeEchoes: Plugin = async ({ directory }) => {
282
282
  config: async (input) => {
283
283
  const cmds: Record<string, string> = {
284
284
  "echoes-init": ECHOES_INIT_COMMAND,
285
- "echoes-resume": ECHOES_RESUME_COMMAND,
286
- "echoes-save": ECHOES_SAVE_COMMAND,
285
+ "echoes-start": ECHOES_START_COMMAND,
286
+ "echoes-end": ECHOES_END_COMMAND,
287
287
  }
288
288
  input.command = input.command || {}
289
289
  for (const [name, cmd] of Object.entries(cmds)) {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "echoes-vault-opencode",
3
- "version": "1.0.1",
3
+ "version": "1.0.2",
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",