opencode-open-in-desktopOpen current project directory in OpenCode Desktop app
0
19
6 in 7 days
23.8
Multi-signal model
2 months ago
2026-05-29
Install and configure
opencode.jsonWrites to this project's opencode.json — applies to this repository only.
opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-open-in-desktop@1.0.1"]
}Writes to ~/.config/opencode/opencode.json — applies to every project.
~/.config/opencode/opencode.json
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-open-in-desktop@1.0.1"]
}If you want to modify the plugin locally, install it into the project and reference the local path.
shell
pnpm add -D opencode-open-in-desktopopencode loads npm dependencies through its embedded runtime on startup and caches them locally — no manual global install needed.
A collection of plugins and tools for OpenCode.
Packages
| Package | Description | Install |
|---|---|---|
| opencode-open-in-desktop | Open current project / directory in OpenCode Desktop app | bun i -g opencode-open-in-desktop and opencode plug -g opencode-open-in-desktop |
| @cateds/opencode-pty | Interactive PTY management for background processes | npm i @cateds/opencode-pty and add to opencode.json |
Development
This is a monorepo managed with Bun workspaces.
Setup
bun install
Run locally
# Run a specific package
bun run packages/opencode-open-in-desktop/src/cli.ts
# Link a package globally for testing
cd packages/opencode-open-in-desktop && bun link
Project structure
opencode-plugins/
├── packages/
│ ├── opencode-open-in-desktop/ # CLI + TUI plugin
│ └── opencode-pty/ # PTY management plugin
├── package.json # Workspace config
└── README.md
License
MIT