Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions README.md
Original file line number Diff line number Diff line change
Expand Up @@ -55,10 +55,10 @@ something outside your opencode config say so in their description.
| `mcp-intellij` | MCP | replace | Requires the official "MCP Server" plugin installed and enabled in the IDE first — this preset does not install it. Adds the JetBrains IDE MCP server (loopback HTTP, default port 64342) |
| `mcp-litellm` | MCP | replace | Add a LiteLLM proxy's MCP gateway as a remote MCP server (prompts for gateway URL and LiteLLM key; auth via `x-litellm-api-key`, no login flow) |
| `mcp-litellm-passthrough` | MCP | replace | Install `mcp-litellm` first — re-running it replaces `mcp.litellm` and drops these headers. Adds one `x-mcp-<alias>-<header>` passthrough header to the `mcp.litellm` server so an upstream MCP server authenticates as you (run once per header) |
| `mcp-playwright` | MCP | replace | Add the Playwright MCP server (local stdio via npx; pins `@playwright/mcp` 0.0.80) |
| `mcp-playwright` | MCP | replace | Add the Playwright MCP server (local stdio via npx; pins `@playwright/mcp` 0.0.82) |
| `mcp-vscode` | MCP | replace | Requires the `JuehangQin.vscode-mcp-server` extension installed, enabled and toggled active in VS Code first — this preset does not install it. Adds the VS Code MCP server via that extension (loopback HTTP, default port 3000) |
| `litellm-pricing` | Provider | bundle | LiteLLM proxy models in the picker with the proxy's own per-model pricing instead of `$0`: points the `litellm` provider at your proxy (prompts for base URL and API key; no models list) and adds `opencode-plugin-litellm-pricing` (pins 0.9.0), which fills in the models at runtime |
| `plugin-superpowers` | Plugin | append | Add the Superpowers OpenCode plugin from `obra/superpowers` (brainstorming, plans, TDD, review workflows; pins tag `v6.3.0`) |
| `plugin-superpowers` | Plugin | append | Add the Superpowers OpenCode plugin from `obra/superpowers` (brainstorming, plans, TDD, review workflows; pins tag `v6.4.2`) |
| `privacy-share-disabled` | Privacy | replace | In the bundle. Sets `share` to "disabled" so opencode never publishes a session, automatically or on command |
| `agent-runaway-guard` | Agent | merge | Adds step limits to built-in agents to prevent runaway tool loops |
| `default-agent-plan` | Agent | replace | Sets the default agent to "plan" so opencode always starts in plan mode instead of build mode |
Expand Down
6 changes: 3 additions & 3 deletions presets/mcp-playwright.conf
Original file line number Diff line number Diff line change
Expand Up @@ -3,11 +3,11 @@
// opencode can drive a real browser: navigate, click, fill forms, screenshot.
// Runs via npx and accepts Playwright MCP's defaults.
// @author: Jan <jan@trick77.com>
// @version: 0.2.2
// @version: 0.2.3
// @path: mcp.playwright
// @pins: @playwright/mcp 0.0.80
// @pins: @playwright/mcp 0.0.82
{
"type": "local",
"command": ["npx", "-y", "@playwright/mcp@0.0.80"],
"command": ["npx", "-y", "@playwright/mcp@0.0.82"],
"enabled": true
}
6 changes: 3 additions & 3 deletions presets/plugin-superpowers.conf
Original file line number Diff line number Diff line change
Expand Up @@ -2,9 +2,9 @@
// @description: Adds the Superpowers plugin from obra/superpowers —
// brainstorming, plans, TDD and review skills.
// @author: Jan <jan@trick77.com>
// @version: 0.2.1
// @version: 0.2.2
// @path: plugin
// @mode: append
// @pins: superpowers 6.3.0
// @pins: superpowers 6.4.2

["superpowers@git+https://github.com/obra/superpowers.git#v6.3.0"]
["superpowers@git+https://github.com/obra/superpowers.git#v6.4.2"]
4 changes: 2 additions & 2 deletions test/builtin-presets.test.ts
Original file line number Diff line number Diff line change
Expand Up @@ -198,10 +198,10 @@ test('ships a litellm passthrough-header preset that writes a single header valu
test('records the pinned third-party version of every preset that installs one', async () => {
const expected: Record<string, Array<{ name: string; version: string }>> = {
'jdtls-lombok': [{ name: 'lombok', version: '1.18.48' }],
'mcp-playwright': [{ name: '@playwright/mcp', version: '0.0.80' }],
'mcp-playwright': [{ name: '@playwright/mcp', version: '0.0.82' }],
'plugin-litellm-pricing': [{ name: 'opencode-plugin-litellm-pricing', version: '0.9.0' }],
'plugin-opencode-planify-german': [{ name: 'opencode-planify-german', version: '0.3.2' }],
'plugin-superpowers': [{ name: 'superpowers', version: '6.3.0' }],
'plugin-superpowers': [{ name: 'superpowers', version: '6.4.2' }],
};

for (const [name, pins] of Object.entries(expected)) {
Expand Down
Loading