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

@@ -1,3 +1,5 @@
import type { SourceInfo } from "./source-info.js";
export type SlashCommandSource = "extension" | "prompt" | "skill";
export type SlashCommandLocation = "user" | "project" | "path";
@@ -6,6 +8,7 @@ export interface SlashCommandInfo {
name: string;
description?: string;
source: SlashCommandSource;
sourceInfo?: SourceInfo;
location?: SlashCommandLocation;
path?: string;
}