opencode-open-in-app
v1.0.0
Published
OpenCode TUI plugin for opening the current project in a desktop app
Maintainers
Readme
opencode-open-in-app
An OpenCode TUI plugin for opening the current project in a desktop app.
Behavior
Open the current session's project in a detected VS Code, Cursor, or platform
file explorer. Click the sidebar label or press Alt+O to use the favourite.
Click the arrow or use /open-in-app-choose to choose another application.
The favourite is saved with OpenCode's native plugin storage.
Install
Requires OpenCode 2.0.18 or newer. Install the plugin with the OpenCode CLI:
opencode plugin add opencode-open-in-appOr add it to the plugins array in ~/.config/opencode/cli.json:
{
"plugins": ["opencode-open-in-app"]
}Restart OpenCode after changing the configuration.
Migrating from OpenCode v1
Version 1.0.0 uses the native @opencode/plugin/tui API and no longer supports
OpenCode v1. On OpenCode v1, pin [email protected].
When moving to v2, remove the old entry from opencode.json or tui.json.
OpenCode v2 CLI plugins use cli.json and the plural plugins key. See the
official plugin documentation.
Preferences from the v1 key-value store are not imported; set them again once
in v2.
Development
Development needs Node.js 26.4 or newer and pnpm 10.8. Bun is required for the native OpenTUI tests. CI uses Bun 1.4.2.
pnpm typecheck
pnpm test
pnpm run pack:dry-run
pnpm audit --prod --audit-level moderateUnit tests cover discovery and domain behavior. Native tests render the v2 slots and exercise the plugin lifecycle with OpenTUI.
