style: format linted files

This commit is contained in:
Peter Steinberger
2026-01-03 03:10:17 +01:00
parent b8fd22bfd8
commit 632ca01fbf
3 changed files with 6 additions and 6 deletions

View File

@@ -34,7 +34,10 @@ describe("bash tool pty mode", () => {
onData = cb;
},
onExit: (
cb: (event: { exitCode: number | null; signal?: number | null }) => void,
cb: (event: {
exitCode: number | null;
signal?: number | null;
}) => void,
) => {
onExit = cb;
},

View File

@@ -159,8 +159,7 @@ export function createBashTool(
const { shell, args: shellArgs } = getShellConfig();
const env = params.env ? { ...process.env, ...params.env } : process.env;
const requestedStdinMode =
params.stdinMode === "pty" ? "pty" : "pipe";
const requestedStdinMode = params.stdinMode === "pty" ? "pty" : "pipe";
let stdinMode: ProcessStdinMode = requestedStdinMode;
let warning: string | null = null;
let child: ChildProcessWithoutNullStreams | undefined;

View File

@@ -606,9 +606,7 @@ export async function getReplyFromConfig(
agentCfg?.blockStreamingDefault === "off" ? "off" : "on";
// TODO(steipete): Default to message_end for now; figure out why text_end breaks and whether we can revert.
const resolvedBlockStreamingBreak =
agentCfg?.blockStreamingBreak === "text_end"
? "text_end"
: "message_end";
agentCfg?.blockStreamingBreak === "text_end" ? "text_end" : "message_end";
const blockStreamingEnabled = resolvedBlockStreaming === "on";
const streamedPayloadKeys = new Set<string>();
const pendingBlockTasks = new Set<Promise<void>>();