fix(coding-agent): unify source provenance, closes #1734

This commit is contained in:
Mario Zechner
2026-03-23 02:02:42 +01:00
parent 883862a354
commit 4e5af01d73
26 changed files with 340 additions and 157 deletions

View File

@@ -9,6 +9,7 @@ import { DefaultResourceLoader } from "../src/core/resource-loader.js";
import { SessionManager } from "../src/core/session-manager.js";
import { SettingsManager } from "../src/core/settings-manager.js";
import type { Skill } from "../src/core/skills.js";
import { createSyntheticSourceInfo } from "../src/core/source-info.js";
describe("DefaultResourceLoader", () => {
let tempDir: string;
@@ -411,7 +412,7 @@ Content`,
description: "Injected skill",
filePath: "/fake/path",
baseDir: "/fake",
source: "custom",
sourceInfo: createSyntheticSourceInfo("/fake/path", { source: "custom" }),
disableModelInvocation: false,
};
const loader = new DefaultResourceLoader({