chore: remove duplicate daemon runtime imports
This commit is contained in:
@@ -64,11 +64,6 @@ import {
|
|||||||
import { setupProviders } from "./onboard-providers.js";
|
import { setupProviders } from "./onboard-providers.js";
|
||||||
import { promptRemoteGatewayConfig } from "./onboard-remote.js";
|
import { promptRemoteGatewayConfig } from "./onboard-remote.js";
|
||||||
import { setupSkills } from "./onboard-skills.js";
|
import { setupSkills } from "./onboard-skills.js";
|
||||||
import {
|
|
||||||
DEFAULT_GATEWAY_DAEMON_RUNTIME,
|
|
||||||
GATEWAY_DAEMON_RUNTIME_OPTIONS,
|
|
||||||
type GatewayDaemonRuntime,
|
|
||||||
} from "./daemon-runtime.js";
|
|
||||||
import {
|
import {
|
||||||
applyOpenAICodexModelDefault,
|
applyOpenAICodexModelDefault,
|
||||||
OPENAI_CODEX_DEFAULT_MODEL,
|
OPENAI_CODEX_DEFAULT_MODEL,
|
||||||
|
|||||||
@@ -50,11 +50,6 @@ import {
|
|||||||
guardCancel,
|
guardCancel,
|
||||||
printWizardHeader,
|
printWizardHeader,
|
||||||
} from "./onboard-helpers.js";
|
} 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";
|
import { ensureSystemdUserLingerInteractive } from "./systemd-linger.js";
|
||||||
|
|
||||||
function resolveMode(cfg: ClawdbotConfig): "local" | "remote" {
|
function resolveMode(cfg: ClawdbotConfig): "local" | "remote" {
|
||||||
|
|||||||
@@ -34,10 +34,6 @@ import type {
|
|||||||
OnboardMode,
|
OnboardMode,
|
||||||
OnboardOptions,
|
OnboardOptions,
|
||||||
} from "./onboard-types.js";
|
} from "./onboard-types.js";
|
||||||
import {
|
|
||||||
DEFAULT_GATEWAY_DAEMON_RUNTIME,
|
|
||||||
isGatewayDaemonRuntime,
|
|
||||||
} from "./daemon-runtime.js";
|
|
||||||
import { ensureSystemdUserLingerNonInteractive } from "./systemd-linger.js";
|
import { ensureSystemdUserLingerNonInteractive } from "./systemd-linger.js";
|
||||||
|
|
||||||
export async function runNonInteractiveOnboarding(
|
export async function runNonInteractiveOnboarding(
|
||||||
|
|||||||
@@ -57,11 +57,6 @@ import type {
|
|||||||
OnboardOptions,
|
OnboardOptions,
|
||||||
ResetScope,
|
ResetScope,
|
||||||
} from "../commands/onboard-types.js";
|
} from "../commands/onboard-types.js";
|
||||||
import {
|
|
||||||
DEFAULT_GATEWAY_DAEMON_RUNTIME,
|
|
||||||
GATEWAY_DAEMON_RUNTIME_OPTIONS,
|
|
||||||
type GatewayDaemonRuntime,
|
|
||||||
} from "../commands/daemon-runtime.js";
|
|
||||||
import {
|
import {
|
||||||
applyOpenAICodexModelDefault,
|
applyOpenAICodexModelDefault,
|
||||||
OPENAI_CODEX_DEFAULT_MODEL,
|
OPENAI_CODEX_DEFAULT_MODEL,
|
||||||
|
|||||||
Reference in New Issue
Block a user