GV

GeezerVison

The World Wide Web, restored to 800 pixels of glory.

Home|About|Gaming cabinet|Archives|How it works|Starter sites

On this site

  • Sign in
  • ActionsCI/CD and automation
  • CodespacesCloud development environments
  • All Features
  • Documentation
  • Training
  • Certifications
  • Build with Copilot
  • Customize Copilot
  • Integrations
  • Trending repos
  • GitHub Sponsors
  • Developer articles
  • Enterprises

This view

  • Original page
  • New address

GeezerVison is showing github.com — feat(opencode) plugin commands by dev4s · Pull Request #7563 · anomalyco/opencode

Conversation

@dev4s

@dev4s dev4s commented Jan 10, 2026 •
edited
Loading

Uh oh!

There was an error while loading. Please reload this page.

Copy link
Copy Markdown

feat: Plugin Commands - Allow plugin tools to be exposed as slash commands

Summary

This PR adds a new experimental feature that allows plugin tools to optionally appear as slash commands in the autocomplete, with support for direct execution (without AI processing).

Problem

Currently, plugin tools can only be invoked by the AI. Users cannot directly invoke plugin functionality from the command input without going through the AI, which:

  • Adds latency and token costs for simple operations
  • Requires AI involvement for tasks that don't need it
  • Limits plugin utility for status checks, statistics, and other quick queries

Backwards Compatibility

  • Fully backwards compatible - Existing plugins work unchanged
  • command defaults to false, so existing tools remain AI-only
  • Feature is behind experimental.pluginCommands flag
  • Plugin tools are still registered in ToolRegistry regardless of command setting

Related Issues

This PR also includes a fix for plugin tool registration timing (ToolRegistry.state() now initializes after Plugin.init() in bootstrap.ts).

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

einarpersson, arsham, PhilippPolterauer, mathe00, gingermusketeer, prathoss, ctiml, and tryweb reacted with thumbs up emoji
All reactions
  • 👍 8 reactions
@dev4s
New *experimental* feature - plugin commands
ff5ccf8
@github-actions github-actions Bot added the needs:title label Jan 10, 2026
@github-actions

github-actions Bot commented Jan 10, 2026

Copy link
Copy Markdown
Contributor

Hey! Your PR title [FEATURE] plugin commands doesn't follow conventional commit format.

Please update it to start with one of:

  • feat: or feat(scope): new feature
  • fix: or fix(scope): bug fix
  • docs: or docs(scope): documentation changes
  • chore: or chore(scope): maintenance tasks
  • refactor: or refactor(scope): code refactoring
  • test: or test(scope): adding or updating tests

Where scope is the package name (e.g., app, desktop, opencode).

See CONTRIBUTING.md for details.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions

github-actions Bot commented Jan 10, 2026

Copy link
Copy Markdown
Contributor

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

I found a potentially related PR:

Related PR:

  • feat(plugin commands): allows for code execution on plugin registered slash commands #4411 - feat(plugin commands): allows for code execution on plugin registered slash commands

This PR appears to be addressing a very similar feature - allowing plugin registered slash commands to execute code. This is closely related to the current PR #7563, which adds plugin commands with direct execution capabilities. These PRs may be addressing the same or overlapping functionality, so they should be compared to ensure no duplicate efforts.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@dev4s dev4s changed the title [FEATURE] plugin commands feat(opencode) plugin commands Jan 10, 2026
@dev4s
Merge branch 'anomalyco:dev' into dev
d420d9d
@PhilippPolterauer

PhilippPolterauer commented Jan 11, 2026

Copy link
Copy Markdown

i would really love seeing one of these plugin command PRs merged!

dev4s and mathe00 reacted with thumbs up emoji
All reactions
  • 👍 2 reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

dev4s added 6 commits January 13, 2026 23:14
@dev4s
Merge branch 'anomalyco:dev' into dev
352add3
@dev4s
Merge branch 'anomalyco:dev' into dev
917c9ca
@dev4s
Merge branch 'anomalyco:dev' into dev
bf4c5b9
@dev4s
Merge branch 'anomalyco:dev' into dev
8bf4370
@dev4s
Merge branch 'anomalyco:dev' into dev
fbef0b3
@dev4s
Merge branch 'anomalyco:dev' into dev
4af0ef5
@github-actions github-actions Bot mentioned this pull request Jan 23, 2026
feat(core): add plugin-registered slash commands to the command list #10261
Closed
@thdxr
thdxr force-pushed the dev branch from cbab81f to 2d3c7a0 Compare January 30, 2026 04:50
@opencode-agent
opencode-agent Bot force-pushed the dev branch from 00637c0 to 71e0ba2 Compare January 30, 2026 14:32
@thdxr
thdxr force-pushed the dev branch 3 times, most recently from f1ae801 to 08fa7f7 Compare January 30, 2026 14:37
@github-actions

github-actions Bot commented Mar 20, 2026

Copy link
Copy Markdown
Contributor

Closing this pull request because it has had no updates for more than 60 days. If you plan to continue working on it, feel free to reopen or open a new PR.

All reactions

Sorry, something went wrong.

Uh oh!

There was an error while loading. Please reload this page.

@github-actions github-actions Bot closed this Mar 20, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Reviewers

No reviews

Uh oh!

There was an error while loading. Please reload this page.

Assignees

No one assigned

Labels

needs:title

Projects

None yet

Milestone

No milestone

Development

Successfully merging this pull request may close these issues.

Uh oh!

There was an error while loading. Please reload this page.

2 participants

@dev4s @PhilippPolterauer
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
You are visitor 01402775 — GeezerVison does not store the pages you look up.
Best viewed with Netscape Navigator 4.7 or Internet Explorer 6 at 800×600. No cookies required.