Agents/TUI: align with current pi APIs

This commit is contained in:
Gustavo Madeira Santana
2026-03-27 19:03:35 -04:00
parent c7fbd51890
commit 1fc4d7259f
12 changed files with 96 additions and 48 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,11 +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",
scope: "project",
baseDir,
}),
source: "openclaw-bundled",
disableModelInvocation: false,
},
frontmatter: {},