feat(ui): add source indicators to slash commands (#18839)

This commit is contained in:
Emily Hedlund
2026-02-20 10:54:59 -05:00
committed by GitHub
parent c3b52b8206
commit d08b1efc72
5 changed files with 293 additions and 116 deletions

View File

@@ -191,6 +191,12 @@ export interface SlashCommand {
kind: CommandKind;
/**
* Optional namespace for the command (e.g., 'user', 'workspace', 'extensionName').
* If provided, the command will be registered as 'namespace:name'.
*/
namespace?: string;
/**
* Controls whether the command auto-executes when selected with Enter.
*