fix(coding-agent): disambiguate duplicate slash commands, fixes #1061

This commit is contained in:
Mario Zechner
2026-03-23 02:33:52 +01:00
parent bb8c9e1389
commit a8a58ff26b
15 changed files with 205 additions and 66 deletions

View File

@@ -2093,7 +2093,7 @@ export class AgentSession {
private _bindExtensionCore(runner: ExtensionRunner): void {
const getCommands = (): SlashCommandInfo[] => {
const extensionCommands: SlashCommandInfo[] = runner.getRegisteredCommands().map((command) => ({
name: command.name,
name: command.invocationName,
description: command.description,
source: "extension",
sourceInfo: command.sourceInfo,