@jwitmann/vcc-brain-opencode-v2 2.7.0 → 2.7.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.
package/README.md CHANGED
@@ -1,17 +1,42 @@
1
1
  # VCC Brain for OpenCode
2
2
 
3
- VCC Brain gives current OpenCode (V2) durable project and user context maintained by agents as readable Markdown. Legacy OpenCode V1 is frozen and unpublished: it receives no releases and no V1 package ships under the new scope.
3
+ VCC Brain gives current OpenCode (V2) durable project and user context maintained by agents as readable Markdown. OpenCode V1 is not supported: no V1 package ships under this scope.
4
4
 
5
- ### Install
5
+ ## Install
6
+
7
+ Requires Node.js 20 or newer and VCC Brain Helper installed.
6
8
 
7
9
  ```sh
8
10
  vcc-brain-helper install opencode
9
11
  ```
10
12
 
11
- The server plugin injects one immutable rendered VCC Brain preamble into every model call for each session and registers `/vcc-brain:user-init`, `/vcc-brain:project-init`, and `/vcc-brain:index`.
13
+ Restart OpenCode after installation. Until OpenCode reloads the plugin, commands and preamble injection will not work.
14
+
15
+ ## Verify
16
+
17
+ In a new conversation, ask the agent whether VCC Brain guidance is available; it should outline the Brain, partitions, and memory-aware workflow. The home footer shows `VCC Brain Ready (vX.Y.Z)` when the server plugin is active.
18
+
19
+ ## Commands
20
+
21
+ - `/vcc-brain:user-init` — Configure the User Partition.
22
+ - `/vcc-brain:project-init` — Configure the Project Brain.
23
+ - `/vcc-brain:index` — Build or refresh the Project Index.
24
+
25
+ The agent can also search past sessions by keyword (`vcc-brain-search-sessions`) and restore a session's full turns (`vcc-brain-recall-session`), scoped to the current project plus mutual peers. Ask the agent to run `vcc-brain-helper recall-cross index` once on the machine so OpenCode history is indexed.
26
+
27
+ ## Update
28
+
29
+ OpenCode owns plugin updates:
30
+
31
+ ```sh
32
+ opencode plugin check
33
+ opencode plugin update
34
+ ```
35
+
36
+ Restart OpenCode after updating.
12
37
 
13
- The TUI displays connecting and ready state, package version or local-build identity, User/Private/Shared partition status, repair guidance, completed-turn refresh, and preamble recovery and error notifications.
38
+ See the [OpenCode guide](https://github.com/jwitmann/vcc-brain/blob/main/docs/harnesses/opencode-v2.md) for verification, updates, and troubleshooting.
14
39
 
15
- ### Local Development
40
+ ## Local Development
16
41
 
17
42
  From the repository root, run `bun run install:opencode`. It builds and links Helper, builds the development plugin, and registers its local directory globally while disabling the published plugin ID. Existing config is preserved. Restart OpenCode to load the build; there is no separate preview command.
package/dist/index.js CHANGED
@@ -7406,7 +7406,7 @@ import { Plugin } from "@opencode/plugin";
7406
7406
  // package.json
7407
7407
  var package_default = {
7408
7408
  name: "@jwitmann/vcc-brain-opencode-v2",
7409
- version: "2.7.0",
7409
+ version: "2.7.2",
7410
7410
  description: "VCC Brain adapter for OpenCode V2.",
7411
7411
  license: "BSD-3-Clause",
7412
7412
  author: "jwitmann",
@@ -221549,4 +221549,4 @@ export {
221549
221549
  src_default as default
221550
221550
  };
221551
221551
 
221552
- //# debugId=09CC582EE4E6CEB364756E2164756E21
221552
+ //# debugId=39DD876FFD58110964756E2164756E21