fix(coding-agent): attach source info to resources and commands, fixes #1734
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user