Skip to content

Commit ca5ba60

Browse files
committed
Fix prettier formatting in cancelled-worker salvage
1 parent 55869dc commit ca5ba60

3 files changed

Lines changed: 17 additions & 3 deletions

File tree

src/subagent/index.test.ts

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -455,7 +455,11 @@ describe("sub-agent stop helpers", () => {
455455

456456
test("salvagePathsFromThrash prefers edited paths then collapses chunked reads", () => {
457457
const state = nextThrashState(EMPTY_THRASH_STATE, [
458-
{ type: "tool_call", name: "read_file", arguments: { path: "src/a.ts", offset: 0, limit: 10 } },
458+
{
459+
type: "tool_call",
460+
name: "read_file",
461+
arguments: { path: "src/a.ts", offset: 0, limit: 10 },
462+
},
459463
{
460464
type: "tool_call",
461465
name: "edit_file",

src/subagent/index.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,12 @@ export {
2121
type FleetObservation,
2222
type FleetWatch,
2323
} from "./fleet-report.js";
24-
export { EMPTY_THRASH_STATE, nextThrashState, salvagePathsFromThrash, type ThrashState } from "./thrash.js";
24+
export {
25+
EMPTY_THRASH_STATE,
26+
nextThrashState,
27+
salvagePathsFromThrash,
28+
type ThrashState,
29+
} from "./thrash.js";
2530
export {
2631
appendActivitySummary,
2732
buildDispatchBrief,

src/subagent/nudge-director.ts

Lines changed: 6 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,12 @@ import type {
1515
} from "@intx/types/runtime";
1616
import { createCompactionGovernor, type CompactionGovernor } from "../agent/compaction.js";
1717
import { onTurnBoundary } from "../agent/reactor-events.js";
18-
import { EMPTY_THRASH_STATE, nextThrashState, salvagePathsFromThrash, type ThrashState } from "./thrash.js";
18+
import {
19+
EMPTY_THRASH_STATE,
20+
nextThrashState,
21+
salvagePathsFromThrash,
22+
type ThrashState,
23+
} from "./thrash.js";
1924
import { NOOP_INTERVENTION_SINK, type InterventionSink } from "./intervention-log.js";
2025
import {
2126
evaluateSubAgentStop,

0 commit comments

Comments
 (0)