@jwitmann/vcc-brain-opencode-v2 2.6.0 → 2.7.1
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 +30 -5
- package/dist/index.js +1020 -893
- package/dist/index.js.map +20 -20
- package/dist/server.js +1020 -893
- package/dist/server.js.map +20 -20
- package/dist/tui.js +2 -2
- package/dist/tui.js.map +1 -1
- package/package.json +1 -1
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.
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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
|
-
|
|
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.
|