opencode-open-in-app
v0.1.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.
Installation
Install the public package directly when it is available:
npm install opencode-open-in-appOpenCode can also install npm plugins automatically. Add the package to the
global or project opencode.json configuration:
{
"$schema": "https://opencode.ai/config.json",
"plugin": ["opencode-open-in-app"]
}Restart OpenCode after changing the configuration. The sidebar control opens the current project in a detected VS Code, Cursor, or platform file explorer; the selected favourite is persisted by OpenCode.
Development
Requires Node.js 22.13 or newer and pnpm.
pnpm install
pnpm typecheck
pnpm buildRelease process
Releases use a staged bootstrap followed by semantic-release on main:
- Repository preparation temporarily sets
package.jsonto0.1.0. This is only the candidate for the first manual public publish; its presence does not authorize publication. - After all planned repository tasks are complete,
openspec-verifierowns the final candidate validation. It runs typecheck, the complete test suite, build, package inspection, and the production dependency audit against the exact checkout that may be published. - The primary orchestrator presents that current evidence and obtains
separate execution-time authorization for repository integration, manual
npm publication, the
v0.1.0tag, and its GitHub Release. A downstream action is never implied by authorization for an earlier action. - After the public baseline and matching tag exist, a non-releasing change
restores
0.0.0-development. This sentinel remains committed tomain; semantic-release writes computed versions only into published artifacts, while npm versions and git tags remain the release sources of truth. - The complete release workflow initially remains dispatch-only. Once it is
on canonical
main, the maintainer configures the package-scoped npm Trusted Publisher forAngel-M-R/opencode-open-in-appandrelease.yml. The workflow uses OIDC withoutNPM_TOKENor another long-lived npm credential. - Only after separate authorization may the dormant workflow run once as a
no-release OIDC preflight. It must validate the checkout, prove npm
authentication, report no relevant release, and create no package, tag, or
GitHub Release. A reviewed, release-worthy documentation fix activates the
push-to-maintrigger only after that preflight succeeds.
Do not dispatch the dormant workflow before 0.1.0, its baseline tag, the
canonical workflow, and the npm Trusted Publisher are all confirmed. Pushing,
opening or merging a pull request, publishing, tagging, creating a GitHub
Release, dispatching or activating a workflow, and inspecting or changing npm
or GitHub settings or secrets each require fresh authorization obtained by the
primary orchestrator. Planned tasks and verifier success are evidence, not
authorization.
Conventional Commit effects
semantic-release derives versions and generated release notes from commits since the previous release:
fix:produces a patch release.feat:produces a minor release.- A Conventional Commit breaking-change marker produces a major release.
- Commits without a release signal do not publish a version.
Automated releases publish to npm and create a matching vX.Y.Z tag and
GitHub Release. They do not commit a changelog or release version back to
main, and tags are outputs rather than workflow triggers.
Verification and provenance
The final verifier and every release workflow run these gates before publication:
pnpm typecheck
pnpm test
pnpm build
pnpm run pack:dry-run
pnpm run audit:prodFor a public release, confirm the npm version, the matching immutable git tag,
and the generated GitHub Release. For an automated release, follow the
provenance link on the npm package version and verify that its source repository,
workflow (release.yml), and commit match the successful GitHub Actions run.
Missing or mismatched provenance blocks release acceptance.
Forward-only recovery
Never rewrite a published npm version or use npm unpublish as routine
recovery. Deprecate a defective version when appropriate, prepare and verify a
fix, and publish a later version through the normal authorization gates. If npm
publication succeeds but a tag or GitHub Release is missing, stop automatic
retries, inspect the existing state, and restore only the missing output after
explicit authorization; do not republish the same version.
