fix(coding-agent): attach source info to resources and commands, fixes #1734
This commit is contained in:
@@ -5,6 +5,7 @@ import { basename, dirname, isAbsolute, join, relative, resolve, sep } from "pat
|
||||
import { CONFIG_DIR_NAME, getAgentDir } from "../config.js";
|
||||
import { parseFrontmatter } from "../utils/frontmatter.js";
|
||||
import type { ResourceDiagnostic } from "./diagnostics.js";
|
||||
import type { SourceInfo } from "./source-info.js";
|
||||
|
||||
/** Max name length per spec */
|
||||
const MAX_NAME_LENGTH = 64;
|
||||
@@ -76,6 +77,7 @@ export interface Skill {
|
||||
filePath: string;
|
||||
baseDir: string;
|
||||
source: string;
|
||||
sourceInfo?: SourceInfo;
|
||||
disableModelInvocation: boolean;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user