mirror of
https://github.com/openclaw/openclaw.git
synced 2026-03-30 11:21:07 +00:00
fix: replay skill source fixture drift
This commit is contained in:
@@ -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";
|
||||
@@ -97,7 +96,7 @@ function createFixtureSkill(params: {
|
||||
description: params.description,
|
||||
filePath: params.filePath,
|
||||
baseDir: params.baseDir,
|
||||
sourceInfo: createSyntheticSourceInfo(params.filePath, { source: params.source }),
|
||||
source: params.source,
|
||||
disableModelInvocation: false,
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user