diff --git a/README.md b/README.md index 661b744..a7d2bd8 100644 --- a/README.md +++ b/README.md @@ -93,7 +93,7 @@ on a readline for the next. | `mcp-litellm-passthrough` | MCP | replace | Add one `x-mcp--
` passthrough header to the `mcp.litellm` server so an upstream MCP server authenticates as you (run once per header; install `mcp-litellm` first) | | `mcp-playwright` | MCP | replace | Add the Playwright MCP server (local stdio via npx; pins `@playwright/mcp` 0.0.78) | | `mcp-vscode` | MCP | replace | Add the VS Code MCP server via the `JuehangQin.vscode-mcp-server` extension (loopback HTTP, default port 3000) | -| `plugin-litellm-pricing` | Plugin | append | Add `opencode-litellm-pricing` — discovers a LiteLLM proxy's models at runtime and adds them to the picker with real per-model pricing instead of `$0` (pair with `provider-litellm` to set the proxy URL and key; pins `opencode-litellm-pricing` 0.2.0) | +| `plugin-litellm-pricing` | Plugin | append | Add `opencode-plugin-litellm-pricing` — discovers a LiteLLM proxy's models at runtime and adds them to the picker with real per-model pricing instead of `$0` (pair with `provider-litellm` to set the proxy URL and key; pins `opencode-plugin-litellm-pricing` 0.3.0) | | `provider-litellm` | Provider | replace | Point the `litellm` provider at your proxy URL for `plugin-litellm-pricing` (prompts for base URL and API key; no models list) | | `plugin-superpowers` | Plugin | append | Add the Superpowers OpenCode plugin from `obra/superpowers` (brainstorming, plans, TDD, review workflows; pins tag `v6.2.0`) | | `permissions-git-safe` | Permissions | merge | Read-only git commands (status, diff, log, branch --list, fetch, etc.) | diff --git a/presets/plugin-litellm-pricing.conf b/presets/plugin-litellm-pricing.conf index c9475da..7150985 100644 --- a/presets/plugin-litellm-pricing.conf +++ b/presets/plugin-litellm-pricing.conf @@ -1,11 +1,11 @@ // @name: plugin-litellm-pricing -// @description: Adds the opencode-litellm-pricing plugin: discovers a LiteLLM +// @description: Adds the opencode-plugin-litellm-pricing plugin: discovers a LiteLLM // proxy's models at runtime and adds them to the picker with real per-model // pricing instead of $0. // @author: Jan -// @version: 0.3.0 +// @version: 0.4.0 // @path: plugin // @mode: append -// @pins: opencode-litellm-pricing 0.2.0 +// @pins: opencode-plugin-litellm-pricing 0.3.0 -["opencode-litellm-pricing@0.2.0"] +["opencode-plugin-litellm-pricing@0.3.0"] diff --git a/test/builtin-presets.test.ts b/test/builtin-presets.test.ts index 4c551d6..41517b8 100644 --- a/test/builtin-presets.test.ts +++ b/test/builtin-presets.test.ts @@ -49,7 +49,7 @@ test('ships a litellm plugin preset that appends the runtime-discovery plugin', assert.equal(meta.name, 'plugin-litellm-pricing'); assert.equal(meta.path, 'plugin'); assert.equal(meta.mode, 'append'); - assert.deepEqual(body, ['opencode-litellm-pricing@0.2.0']); + assert.deepEqual(body, ['opencode-plugin-litellm-pricing@0.3.0']); }); test('ships a litellm provider preset that points at a proxy URL, no models', async () => { @@ -141,7 +141,7 @@ test('records the pinned third-party version of every preset that installs one', const expected: Record> = { 'jdtls-lombok': [{ name: 'lombok', version: '1.18.46' }], 'mcp-playwright': [{ name: '@playwright/mcp', version: '0.0.78' }], - 'plugin-litellm-pricing': [{ name: 'opencode-litellm-pricing', version: '0.2.0' }], + 'plugin-litellm-pricing': [{ name: 'opencode-plugin-litellm-pricing', version: '0.3.0' }], 'plugin-superpowers': [{ name: 'superpowers', version: '6.2.0' }], };