Skip to content

feat(plugin-litellm-pricing): track the plugin's rename to 0.3.0 - #63

Merged
trick77 merged 1 commit into
masterfrom
feat/litellm-pricing-plugin-rename
Jul 30, 2026
Merged

feat(plugin-litellm-pricing): track the plugin's rename to 0.3.0#63
trick77 merged 1 commit into
masterfrom
feat/litellm-pricing-plugin-rename

Conversation

@trick77

@trick77 trick77 commented Jul 30, 2026

Copy link
Copy Markdown
Owner

opencode-litellm-pricing has been renamed to opencode-plugin-litellm-pricing. npm has no rename operation, so the old name is a separate package — now deprecated and frozen at 0.2.0.

That matters here because 0.2.0 does not load at all:

failed to load plugin path=opencode-litellm-pricing@0.2.0 error="Plugin export is not a function"

plugin-litellm-pricing.conf pinned exactly that version, so anyone installing this preset got a plugin opencode refuses to load. Repinned to opencode-plugin-litellm-pricing@0.3.0, which fixes it.

Changes

  • presets/plugin-litellm-pricing.conf@description, @pins, body spec; preset @version 0.3.0 → 0.4.0
  • test/builtin-presets.test.ts — both assertions (body spec and @pins)
  • README.md — preset table row

Not changed

provider-litellm.conf writes provider.litellm, and the plugin matches the id litellm directly — that was never tied to the package name. Existing installs of either preset keep working: the plugin still accepts the old opencode-litellm-pricing provider id too.

109/109 tests pass.

opencode-litellm-pricing has been renamed to opencode-plugin-litellm-pricing.
npm has no rename, so the old package is a separate one, deprecated and frozen
at 0.2.0 — which does not load at all ("Plugin export is not a function"). This
preset pinned exactly that version, so anyone installing it got a plugin
opencode refuses to load.

Repins to opencode-plugin-litellm-pricing 0.3.0, which fixes the load bug.

provider-litellm needs no change: it writes provider.litellm, and the plugin
matches the id `litellm` directly — that was never tied to the package name.
@trick77
trick77 merged commit 20fc10d into master Jul 30, 2026
3 checks passed
@trick77
trick77 deleted the feat/litellm-pricing-plugin-rename branch July 30, 2026 19:12
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant