vvcode
vvcode is a Bun-based CLI package for launching OpenCode with preset-driven runtime overlays.
Install
bun add -g @osovv/vvcode
Or for local development:
bun install
bun run cli -- --help
Runtime config
Project config path:
.vvcode/config.jsonc
Default global config path:
~/.config/vvcode/config.jsonc
Usage
vvcode opencode --preset <name>
Options:
--preset, -p (required)
--global-config, -c (optional)
--project-root, -r (optional)
You can also omit opencode because it is the default subcommand:
vvcode --preset <name>
Runtime artifacts
.vvcode/local/runtime/overlays/
.vvcode/local/runtime/traces/
.vvcode/local/runtime/failures/
.vvcode/memory/project/
.vvcode/memory/agent/
.vvcode/local/memory/session/
.vvcode/local/memory/subagent/
Packaging notes
- Package name:
@osovv/vvcode
- CLI bin:
bin/vvcode
- Published runtime entry:
dist/vvcode.js
- Build command:
bun run build
- Local dev command:
bun run cli -- --help
prepack builds dist automatically before publish/pack
- Scoped publish target:
npm publish --access=public