Agents: format process poll backoff files
This commit is contained in:
committed by
Peter Steinberger
parent
23f5cc80a4
commit
8947d2dea5
@@ -1,5 +1,6 @@
|
||||
import { afterEach, expect, test, vi } from "vitest";
|
||||
import type { ProcessSession } from "./bash-process-registry.js";
|
||||
import { resetDiagnosticSessionStateForTest } from "../logging/diagnostic-session-state.js";
|
||||
import {
|
||||
addSession,
|
||||
appendOutput,
|
||||
@@ -7,7 +8,6 @@ import {
|
||||
resetProcessRegistryForTests,
|
||||
} from "./bash-process-registry.js";
|
||||
import { createProcessTool } from "./bash-tools.process.js";
|
||||
import { resetDiagnosticSessionStateForTest } from "../logging/diagnostic-session-state.js";
|
||||
|
||||
afterEach(() => {
|
||||
resetProcessRegistryForTests();
|
||||
|
||||
@@ -4,7 +4,6 @@ import { formatDurationCompact } from "../infra/format-time/format-duration.ts";
|
||||
import { getDiagnosticSessionState } from "../logging/diagnostic-session-state.js";
|
||||
import { killProcessTree } from "../process/kill-tree.js";
|
||||
import { getProcessSupervisor } from "../process/supervisor/index.js";
|
||||
import { recordCommandPoll, resetCommandPollCount } from "./command-poll-backoff.js";
|
||||
import {
|
||||
type ProcessSession,
|
||||
deleteSession,
|
||||
@@ -17,6 +16,7 @@ import {
|
||||
setJobTtlMs,
|
||||
} from "./bash-process-registry.js";
|
||||
import { deriveSessionName, pad, sliceLogLines, truncateMiddle } from "./bash-tools.shared.js";
|
||||
import { recordCommandPoll, resetCommandPollCount } from "./command-poll-backoff.js";
|
||||
import { encodeKeySequence, encodePaste } from "./pty-keys.js";
|
||||
|
||||
export type ProcessToolDefaults = {
|
||||
|
||||
Reference in New Issue
Block a user