New Features
- Command discovery for extensions via
ExtensionAPI.getCommands(), withcommands.tsexample for invocation patterns. See docs/extensions.md#pigetcommands and examples/extensions/commands.ts. - Local path support for
pi installandpi remove, with relative path resolution against the settings file. See docs/packages.md#local-paths.
Breaking Changes
- RPC
get_commandsresponse andSlashCommandSourcetype: renamed"template"to"prompt"for consistency with the rest of the codebase
Added
- Added
ExtensionAPI.getCommands()to let extensions list available slash commands (extensions, prompt templates, skills) for invocation viaprompt(#1210 by @w-winter) - Added
commands.tsexample extension and exportedSlashCommandInfotypes for command discovery integrations (#1210 by @w-winter) - Added local path support for
pi installandpi removewith relative paths stored against the target settings file (#1216)