style: run oxfmt
This commit is contained in:
@@ -121,7 +121,10 @@ function mergeRecord<T>(
|
||||
return { ...base, ...override };
|
||||
}
|
||||
|
||||
function mergeAuthProfileStores(base: AuthProfileStore, override: AuthProfileStore): AuthProfileStore {
|
||||
function mergeAuthProfileStores(
|
||||
base: AuthProfileStore,
|
||||
override: AuthProfileStore,
|
||||
): AuthProfileStore {
|
||||
if (
|
||||
Object.keys(override.profiles).length === 0 &&
|
||||
!override.order &&
|
||||
|
||||
@@ -30,7 +30,11 @@ const fsp = fs.promises;
|
||||
const skillsLogger = createSubsystemLogger("skills");
|
||||
const skillCommandDebugOnce = new Set<string>();
|
||||
|
||||
function debugSkillCommandOnce(messageKey: string, message: string, meta?: Record<string, unknown>) {
|
||||
function debugSkillCommandOnce(
|
||||
messageKey: string,
|
||||
message: string,
|
||||
meta?: Record<string, unknown>,
|
||||
) {
|
||||
if (skillCommandDebugOnce.has(messageKey)) return;
|
||||
skillCommandDebugOnce.add(messageKey);
|
||||
skillsLogger.debug(message, meta);
|
||||
|
||||
@@ -127,7 +127,8 @@ export function createCanvasTool(): AnyAgentTool {
|
||||
return jsonResult({ ok: true });
|
||||
}
|
||||
case "snapshot": {
|
||||
const formatRaw = typeof params.outputFormat === "string" ? params.outputFormat.toLowerCase() : "png";
|
||||
const formatRaw =
|
||||
typeof params.outputFormat === "string" ? params.outputFormat.toLowerCase() : "png";
|
||||
const format = formatRaw === "jpg" || formatRaw === "jpeg" ? "jpeg" : "png";
|
||||
const maxWidth =
|
||||
typeof params.maxWidth === "number" && Number.isFinite(params.maxWidth)
|
||||
|
||||
Reference in New Issue
Block a user