style: format linted files
This commit is contained in:
@@ -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;
|
||||
},
|
||||
|
||||
@@ -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;
|
||||
|
||||
@@ -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>>();
|
||||
|
||||
Reference in New Issue
Block a user