psinetron-opencode-visualizerOpenCode session visualizer — real-time pixel-art office scene with animated agents
153
近 30 天 +2
376
近 7 天 76
54.5
生态多维模型
1 个月前
2026-07-14
快速安装与配置
opencode.json写入当前项目的 opencode.json,只对这个仓库生效。
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["psinetron-opencode-visualizer@1.0.17"]
}写入 ~/.config/opencode/opencode.json,对所有项目生效。
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["psinetron-opencode-visualizer@1.0.17"]
}若你要在本地改造这个插件,先装到项目里再从本地路径引用。
shell
pnpm add -D psinetron-opencode-visualizeropencode 启动时会通过内嵌运行时自动加载 npm 依赖并缓存至本地目录,无需手动在全局环境执行安装。
Turning raw OpenCode terminal logs into cozy 2D pixel office chaos. Watch your agents work, idle, and celebrate success in a bustling virtual office.
🔥 Witness the Chaos

✨ Features
- Real-time Visualization: Watch your OpenCode agents move around their office as they execute tools, search files, and write code.
- Cozy Pixel Art Aesthetic: A calming, gamified view of complex AI orchestration.
- Multi-Agent Support: Visualizes multiple agents (Explore, Scout, etc.) simultaneously in the same shared office space.
- Customization (Skins): Each agent has a custom skin saved in
.opencode/viz-skin.json. - Unique Agent Animations: Each of the 5 characters has its own set of unique idle, walk, work, and reaction animations.
- Zero Friction Launch: No dependencies to install — runs on the Bun runtime bundled with OpenCode. Launches a cross-platform, isolated Chrome "app" window using native OS calls. No heavy Electron needed.
🚀 Installation
No prerequisites — OpenCode ships with the Bun runtime, which handles plugin installation and execution automatically. You do not need to install Bun separately.
Via CLI (recommended)
opencode plugin psinetron-opencode-visualizer
This installs the plugin from npm and registers it in your project's opencode.json. Add --global (or -g) to install it across all projects, or --force (or -f) to replace an existing version.
Via OpenCode UI
- Press
Control+P(Ctrl+Pon Windows/Linux) to open the command palette - Select Install plugin
- Enter the package name:
psinetron-opencode-visualizer
OpenCode will install the plugin and automatically add it to your project's opencode.json.
Manual configuration
Add the plugin name to your opencode.json:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["psinetron-opencode-visualizer"]
}
OpenCode downloads and caches the package from npm automatically on next startup.
From local files (development)
If you've cloned this repo and want to run from source, point the plugin entry directly at index.ts:
{
"plugin": ["./path/to/OpenCodeVisualizer/index.ts"]
}
Alternatively, copy index.ts and the visualizer/ folder into .opencode/plugins/ — OpenCode auto-loads any .ts/.js file placed in that directory.
After installation
Start (or restart) OpenCode. The plugin spins up a local server on http://localhost:5173 and opens a Chrome app window automatically. If the browser doesn't open, visit the URL manually.
Each running OpenCode instance appears as a pixel-art character in the office. When you close an instance, its character walks out. If the instance hosting the server is closed, a surviving instance picks up the server role automatically — no interruption.
🔄 Updating
To update to the latest version, first try reinstalling with the --force flag:
opencode plugin psinetron-opencode-visualizer --force
If the old version still persists after that, OpenCode's package cache is stale. Clear it manually and restart:
rm -rf ~/.cache/opencode/packages/psinetron-opencode-visualizer
rm -rf ~/.cache/opencode/packages/psinetron-opencode-visualizer@latest
On Windows (PowerShell):
Remove-Item -Recurse -Force ~\.cache\opencode\packages\psinetron-opencode-visualizer
Remove-Item -Recurse -Force ~\.cache\opencode\packages\psinetron-opencode-visualizer@latest
Then restart OpenCode — it will re-download the latest version from npm on startup.
🎨 Customization (Skins)
The plugin automatically assigns a random pixel art skin to each agent and saves it to .opencode/viz-skin.json in your project folder. You can manually edit this file to change skins.
Available skins: person1, person2, person3, person4, person5.
Support the project
If plugin helps streamline your workflow, consider supporting the project. There are several ways you can help:
1. Give it a Star The easiest way to support EchoesVault is to click the Star 🌟 button at the top of this repository. It helps more developers discover the tool and encourages further development.
2. Direct Sponsorship Click the Sponsor button at the top of this repository (next to the Star button) to open the sponsorship dialog and choose how you'd like to support the development directly.
3. OpenCode GO Subscription EchoesVault is built on top of OpenCode. By subscribing to OpenCode GO, you unlock unlimited agent usage. Using this referral link gives you a $5 discount on your subscription and helps fund my work at the same time.
📜 License
MIT License. See LICENSE for more information. Built, not bought, by psinetron.