feat(commands): add custom commands support for extensions (#4703)

This commit is contained in:
Daniel Lee
2025-07-28 18:40:47 -07:00
committed by GitHub
parent c42d3b58e1
commit bf7fd08f7e
11 changed files with 705 additions and 83 deletions

View File

@@ -157,6 +157,9 @@ export interface SlashCommand {
kind: CommandKind;
// Optional metadata for extension commands
extensionName?: string;
// The action to run. Optional for parent commands that only group sub-commands.
action?: (
context: CommandContext,