Skip to content

docs: add opencode-model-aliases to the V2 ecosystem - #54470

Closed
vmvarela wants to merge 2 commits into
anomalyco:devfrom
vmvarela:model-aliases-v2
Closed

vmvarela wants to merge 2 commits into
anomalyco:devfrom
vmvarela:model-aliases-v2

Conversation

@vmvarela

Copy link
Copy Markdown

Issue for this PR

Ports #53386 to the current V2 dev branch, as requested when the original PR was closed.

Type of change

  • Bug fix
  • New feature
  • Refactor / code improvement
  • Documentation

What does this PR do?

Adds opencode-model-aliases to the ecosystem's Plugins table:

Stable model aliases that adapt to catalog changes using glob patterns, filters, and selection rules.

The plugin uses the native V2 Plugin.define and ctx.model.transform APIs. The description covers its current behavior without advertising selection strategies that are still planned.

How did you verify your code works?

Verified the repository link and V2 API usage. Checked the Markdown table structure and whitespace locally, then confirmed the final remote diff adds exactly one row to the Plugins section.

No runtime code changed.

Screenshots / recordings

Not applicable; this adds a text entry to an existing documentation table.

Checklist

  • I have tested my changes locally
  • I have not included unrelated changes in this PR

@github-actions

Copy link
Copy Markdown
Contributor

The following comment was made by an LLM, it may be inaccurate:

@opencode-agent opencode-agent Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Looks good. The linked repository exists, is an MIT-licensed OpenCode v2 plugin published on npm, and the row's description matches what its README documents: glob match/exclude patterns, filters and the latest selection rule. The new row's padding matches the table around it. Public API: unchanged (documentation only). No concerns.

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