fix(coding-agent): attach source info to resources and commands, fixes #1734

This commit is contained in:
Mario Zechner
2026-03-23 00:52:55 +01:00
parent 0cf18f3cf2
commit d501b9ca26
21 changed files with 425 additions and 321 deletions

View File

@@ -545,12 +545,12 @@ export async function runRpcMode(session: AgentSession): Promise<never> {
const commands: RpcSlashCommand[] = [];
// Extension commands
for (const { command, extensionPath } of session.extensionRunner?.getRegisteredCommandsWithPaths() ?? []) {
for (const command of session.extensionRunner?.getRegisteredCommands() ?? []) {
commands.push({
name: command.name,
description: command.description,
source: "extension",
path: extensionPath,
path: command.extensionPath,
});
}