feat(coding-agent): add commands.ts example and export SlashCommandInfo types

- Add example extension demonstrating pi.getCommands() API
- Export SlashCommandInfo, SlashCommandLocation, SlashCommandSource from main index.ts

Follow-up to #1210
This commit is contained in:
Mario Zechner 2026-02-03 12:20:37 +01:00
parent 5a6151ba1e
commit 8292d7ce5d
2 changed files with 75 additions and 0 deletions

View file

@ -97,6 +97,9 @@ export type {
SessionStartEvent,
SessionSwitchEvent,
SessionTreeEvent,
SlashCommandInfo,
SlashCommandLocation,
SlashCommandSource,
ToolCallEvent,
ToolDefinition,
ToolInfo,