style: biome format

This commit is contained in:
Peter Steinberger
2026-01-10 19:47:17 +00:00
parent afede929b3
commit cf192f8551
8 changed files with 46 additions and 31 deletions

View File

@@ -197,9 +197,13 @@ export function createBashTool(
const runtime = defaults?.sandbox ? "sandboxed" : "direct";
const gates: string[] = [];
if (!elevatedDefaults?.enabled) {
gates.push("enabled (tools.elevated.enabled / agents.list[].tools.elevated.enabled)");
gates.push(
"enabled (tools.elevated.enabled / agents.list[].tools.elevated.enabled)",
);
} else {
gates.push("allowFrom (tools.elevated.allowFrom.<provider> / agents.list[].tools.elevated.allowFrom.<provider>)");
gates.push(
"allowFrom (tools.elevated.allowFrom.<provider> / agents.list[].tools.elevated.allowFrom.<provider>)",
);
}
throw new Error(
[

View File

@@ -6,14 +6,13 @@ import type {
AgentToolResult,
} from "@mariozechner/pi-agent-core";
import type { AssistantMessage } from "@mariozechner/pi-ai";
import type { ClawdbotConfig } from "../config/config.js";
import {
normalizeThinkLevel,
type ThinkLevel,
} from "../auto-reply/thinking.js";
import { sanitizeContentBlocksImages } from "./tool-images.js";
import type { ClawdbotConfig } from "../config/config.js";
import { formatSandboxToolPolicyBlockedMessage } from "./sandbox.js";
import { sanitizeContentBlocksImages } from "./tool-images.js";
import type { WorkspaceBootstrapFile } from "./workspace.js";
export type EmbeddedContextFile = { path: string; content: string };

View File

@@ -64,4 +64,3 @@ describe("sandbox explain helpers", () => {
expect(msg).toContain("Use main session key (direct): agent:main:main");
});
});