feat(FN-2104): merge fusion/fn-2104

This commit is contained in:
gsxdsm
2026-04-19 02:36:37 -07:00
parent bee87329da
commit cace54db0b
7 changed files with 260 additions and 93 deletions

View File

@@ -12,6 +12,7 @@
import { existsSync, readFileSync } from "node:fs";
import { join } from "node:path";
import type { ResourceDiagnostic, Skill } from "@mariozechner/pi-coding-agent";
import { piLog } from "./logger.js";
// ── Types ───────────────────────────────────────────────────────────────────
@@ -387,7 +388,7 @@ export function createSkillsOverrideFromSelection(
if (newDiagnostics.length > 0) {
const _purpose = sessionPurpose ? `[${sessionPurpose}]` : "skills";
for (const diag of newDiagnostics) {
console.error(`[pi] [skills] ${diag.type}: ${diag.message}`);
piLog.warn(`[skills] ${diag.type}: ${diag.message}`);
}
}