From f6f5cda6ca47ca6178cf809e7638a29197e93ee8 Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 18 Feb 2026 01:50:11 +0000 Subject: [PATCH] style: format subagent command files --- src/auto-reply/reply/commands-subagents-spawn.test.ts | 2 +- src/auto-reply/reply/commands-subagents.ts | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/src/auto-reply/reply/commands-subagents-spawn.test.ts b/src/auto-reply/reply/commands-subagents-spawn.test.ts index 9f4b6158a9..179f575797 100644 --- a/src/auto-reply/reply/commands-subagents-spawn.test.ts +++ b/src/auto-reply/reply/commands-subagents-spawn.test.ts @@ -1,7 +1,7 @@ import { beforeEach, describe, expect, it, vi } from "vitest"; +import { resetSubagentRegistryForTests } from "../../agents/subagent-registry.js"; import type { SpawnSubagentResult } from "../../agents/subagent-spawn.js"; import type { OpenClawConfig } from "../../config/config.js"; -import { resetSubagentRegistryForTests } from "../../agents/subagent-registry.js"; const hoisted = vi.hoisted(() => { const spawnSubagentDirectMock = vi.fn(); diff --git a/src/auto-reply/reply/commands-subagents.ts b/src/auto-reply/reply/commands-subagents.ts index ce7f40e84e..e237e0c1c9 100644 --- a/src/auto-reply/reply/commands-subagents.ts +++ b/src/auto-reply/reply/commands-subagents.ts @@ -1,8 +1,7 @@ import crypto from "node:crypto"; -import type { SubagentRunRecord } from "../../agents/subagent-registry.js"; -import type { CommandHandler } from "./commands-types.js"; import { AGENT_LANE_SUBAGENT } from "../../agents/lanes.js"; import { abortEmbeddedPiRun } from "../../agents/pi-embedded.js"; +import type { SubagentRunRecord } from "../../agents/subagent-registry.js"; import { clearSubagentRunSteerRestart, listSubagentRunsForRequester, @@ -36,6 +35,7 @@ import { } from "../../shared/subagents-format.js"; import { INTERNAL_MESSAGE_CHANNEL } from "../../utils/message-channel.js"; import { stopSubagentsForRequester } from "./abort.js"; +import type { CommandHandler } from "./commands-types.js"; import { clearSessionQueues } from "./queue.js"; import { formatRunLabel, formatRunStatus, sortSubagentRuns } from "./subagents-utils.js";