fix: align Skill consumers with sourceInfo → source rename

This commit is contained in:
Marcus Castro
2026-03-27 01:49:37 -03:00
parent 2942df6b9f
commit 38adeb888c
8 changed files with 9 additions and 36 deletions

View File

@@ -1,7 +1,6 @@
import fs from "node:fs";
import os from "node:os";
import path from "node:path";
import { createSyntheticSourceInfo } from "@mariozechner/pi-coding-agent";
import { afterAll, beforeAll, describe, expect, it } from "vitest";
import { buildWorkspaceSkillStatus } from "../agents/skills-status.js";
import type { SkillEntry } from "../agents/skills.js";
@@ -39,10 +38,7 @@ describe("skills-cli (e2e)", () => {
description: "Capture UI screenshots",
filePath: path.join(baseDir, "SKILL.md"),
baseDir,
sourceInfo: createSyntheticSourceInfo(path.join(baseDir, "SKILL.md"), {
source: "openclaw-bundled",
baseDir,
}),
source: "openclaw-bundled",
disableModelInvocation: false,
} as SkillEntry["skill"],
frontmatter: {},