From 02c9cf0ff4085f70eddf8016a1388d3b5e9cbedd Mon Sep 17 00:00:00 2001 From: Peter Steinberger Date: Wed, 7 Jan 2026 00:13:53 +0100 Subject: [PATCH] chore: remove duplicate daemon runtime imports --- src/commands/configure.ts | 5 ----- src/commands/doctor.ts | 5 ----- src/commands/onboard-non-interactive.ts | 4 ---- src/wizard/onboarding.ts | 5 ----- 4 files changed, 19 deletions(-) diff --git a/src/commands/configure.ts b/src/commands/configure.ts index 2bc84c12e..027f35dd0 100644 --- a/src/commands/configure.ts +++ b/src/commands/configure.ts @@ -64,11 +64,6 @@ import { import { setupProviders } from "./onboard-providers.js"; import { promptRemoteGatewayConfig } from "./onboard-remote.js"; import { setupSkills } from "./onboard-skills.js"; -import { - DEFAULT_GATEWAY_DAEMON_RUNTIME, - GATEWAY_DAEMON_RUNTIME_OPTIONS, - type GatewayDaemonRuntime, -} from "./daemon-runtime.js"; import { applyOpenAICodexModelDefault, OPENAI_CODEX_DEFAULT_MODEL, diff --git a/src/commands/doctor.ts b/src/commands/doctor.ts index beb414790..44f2ac5e2 100644 --- a/src/commands/doctor.ts +++ b/src/commands/doctor.ts @@ -50,11 +50,6 @@ import { guardCancel, printWizardHeader, } from "./onboard-helpers.js"; -import { - DEFAULT_GATEWAY_DAEMON_RUNTIME, - GATEWAY_DAEMON_RUNTIME_OPTIONS, - type GatewayDaemonRuntime, -} from "./daemon-runtime.js"; import { ensureSystemdUserLingerInteractive } from "./systemd-linger.js"; function resolveMode(cfg: ClawdbotConfig): "local" | "remote" { diff --git a/src/commands/onboard-non-interactive.ts b/src/commands/onboard-non-interactive.ts index 24ad6d285..ae96a26cd 100644 --- a/src/commands/onboard-non-interactive.ts +++ b/src/commands/onboard-non-interactive.ts @@ -34,10 +34,6 @@ import type { OnboardMode, OnboardOptions, } from "./onboard-types.js"; -import { - DEFAULT_GATEWAY_DAEMON_RUNTIME, - isGatewayDaemonRuntime, -} from "./daemon-runtime.js"; import { ensureSystemdUserLingerNonInteractive } from "./systemd-linger.js"; export async function runNonInteractiveOnboarding( diff --git a/src/wizard/onboarding.ts b/src/wizard/onboarding.ts index 290bc7d3a..beb405b68 100644 --- a/src/wizard/onboarding.ts +++ b/src/wizard/onboarding.ts @@ -57,11 +57,6 @@ import type { OnboardOptions, ResetScope, } from "../commands/onboard-types.js"; -import { - DEFAULT_GATEWAY_DAEMON_RUNTIME, - GATEWAY_DAEMON_RUNTIME_OPTIONS, - type GatewayDaemonRuntime, -} from "../commands/daemon-runtime.js"; import { applyOpenAICodexModelDefault, OPENAI_CODEX_DEFAULT_MODEL,