Skip to content

V2: add tool registration to Promise plugins #34489

Description

@opencode-agent

Feature hasn't been suggested before.

  • I have verified this feature I'm about to request hasn't been suggested before.

Describe the enhancement you want to request

Implement the V2 architecture for adding tools from plugins and migrating built-in tools toward plugin-backed implementations.

Context from the V2 beta discussion:

  • Plugins should be able to add tools.
  • Internal tools should move toward the same plugin architecture where practical.
  • The read tool should eventually be a plugin and should own progressive AGENTS.md discovery/injection behavior when reading files.

Expected scope:

  • Define the plugin API for registering tools.
  • Wire plugin-provided tools into the V2 tool registry/materialization path.
  • Identify how built-in tools migrate to the same mechanism.
  • Include the read-tool/AGENTS.md integration in the design, even if implementation is split.
  • Add tests for plugin tool registration and availability.

Metadata

Metadata

Assignees

Labels

Type

No type

Fields

No fields configured for issues without a type.

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions