Skip to content

About

My Personal OpenCode v2 Plugins

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Repository files navigation

OpenCode Plugins

Personal OpenCode V2 (@opencode/cli) Plugins.

Packages

Interrupts the active run and force-submits the current prompt with Ctrl+Enter.

Install it with OpenCode's plugin command:

opencode2 plugin add "@mynameistito/opencode-force-input@latest" -g

See the force-input README for manual configuration and Windows Terminal key bindings.

Shows provider usage limits in the sidebar and prompt footer.

Supported providers:

Install it with:

opencode2 plugin add "@mynameistito/opencode-usage-limits@latest" -g

See the usage-limits README for provider credentials, configuration, and troubleshooting.

Project Documentation

The documentation site source lives in apps/web/docs/. Start with the project overview for the repository layout and packages, or read the architecture guide for plugin runtime flows and deployment boundaries. The same guides are available on the documentation site.

Local Development

Build the packages you want to test, then add their package directories to your TUI config (~/.config/opencode/cli.json on this machine). Preserve the rest of your config and use absolute paths for your checkout:

{
  "$schema": "https://opencode.ai/v2/cli.json",
  "plugins": [
    "/path/to/opencode-plugins/packages/opencode-force-input",
    "/path/to/opencode-plugins/packages/opencode-usage-limits",
  ],
}

Restart OpenCode after editing the config. In a session, confirm the idle ⏎ send hint appears, start a prompt and confirm it changes to the steer hint, then press Ctrl+Enter to verify the active run is interrupted and the prompt is submitted.

Development

bun install --frozen-lockfile
bun run typecheck
bun run check
bun run test
bun run build

Use the root Changesets helper for user-facing changes:

bun run changeset-add docs patch "Describe the documentation change"
bun run changeset-add force-input patch "Describe the change"
bun run changeset-add usage-limits minor "Describe the change"

Packages are independently publishable. Build output is generated during packaging and is not committed.

About

My Personal OpenCode v2 Plugins

Topics

Resources

Stars

4 stars

Watchers

0 watching

Forks

Releases

Packages

Contributors

Languages