Repository navigation
Replies: 2 comments
|
Implemented in #13111. The PR supports two optional runtime hooks so plugins can choose the right discovery model:
A plugin may implement either hook or both. mise prefixes returned names with the installed plugin name ( Plugins without either hook behave as before, and AI-assisted — Tool: Codex; model: unavailable; version: unavailable. |
|
Thanks for implementing this! |
Uh oh!
There was an error while loading. Please reload this page.
Problem
A vfox backend plugin can manage multiple tools with the
plugin:toolformat and list versions once a tool name is known. However, it cannot tell mise which tool names the backend provides.Users must already know the exact identifier, such as
my-plugin:some-tool, and tools provided by a vfox backend plugin cannot be discovered through shell completion,mise search, or the interactivemise useselector. This becomes difficult to work with when a plugin provides many tools or its catalog changes over time.Tools and aliases already included in the mise registry are discoverable regardless of their backend. However, built-in package backends do not generally enumerate every package in their upstream registries for completion. The limitation specific to vfox backend plugins is that they cannot opt into tool discovery even when the service behind the plugin has an authoritative tool catalog.
Proposed feature
Allow mise to discover the tools provided by a vfox backend plugin, including at least each tool's name and optionally a short description.
mise could use that information so users can:
plugin:toolidentifiers withmise searchmise useselectorExisting plugins that do not provide a tool list should continue to work as they do today. This does not need to change how individual tool versions are listed or installed. Whether this should be a vfox-specific capability or a general backend discovery interface can be decided as part of the discussion.
All reactions