diff --git a/src/auto-reply/reply.ts b/src/auto-reply/reply.ts index 60f978310..a931d852d 100644 --- a/src/auto-reply/reply.ts +++ b/src/auto-reply/reply.ts @@ -24,14 +24,14 @@ import { type MsgContext, type TemplateContext, } from "./templating.js"; -import { isAudio, transcribeInboundAudio } from "./transcription.js"; -import type { GetReplyOptions, ReplyPayload } from "./types.js"; import { normalizeThinkLevel, normalizeVerboseLevel, type ThinkLevel, type VerboseLevel, } from "./thinking.js"; +import { isAudio, transcribeInboundAudio } from "./transcription.js"; +import type { GetReplyOptions, ReplyPayload } from "./types.js"; export type { GetReplyOptions, ReplyPayload } from "./types.js"; diff --git a/src/commands/agent.ts b/src/commands/agent.ts index 43f306250..ba185687b 100644 --- a/src/commands/agent.ts +++ b/src/commands/agent.ts @@ -1,5 +1,5 @@ import crypto from "node:crypto"; - +import { chunkText } from "../auto-reply/chunk.js"; import { runCommandReply } from "../auto-reply/command-reply.js"; import { applyTemplate, @@ -12,8 +12,7 @@ import { type ThinkLevel, type VerboseLevel, } from "../auto-reply/thinking.js"; -import { chunkText } from "../auto-reply/chunk.js"; -import { createDefaultDeps, type CliDeps } from "../cli/deps.js"; +import { type CliDeps, createDefaultDeps } from "../cli/deps.js"; import { loadConfig, type WarelayConfig } from "../config/config.js"; import { DEFAULT_IDLE_MINUTES, @@ -24,8 +23,8 @@ import { saveSessionStore, } from "../config/sessions.js"; import { ensureTwilioEnv } from "../env.js"; -import { pickProvider } from "../provider-web.js"; import { runCommandWithTimeout } from "../process/exec.js"; +import { pickProvider } from "../provider-web.js"; import { defaultRuntime, type RuntimeEnv } from "../runtime.js"; import type { Provider } from "../utils.js"; import { sendViaIpc } from "../web/ipc.js"; diff --git a/src/media/store.ts b/src/media/store.ts index f237973f7..0c8f14356 100644 --- a/src/media/store.ts +++ b/src/media/store.ts @@ -4,9 +4,8 @@ import fs from "node:fs/promises"; import { request } from "node:https"; import path from "node:path"; import { pipeline } from "node:stream/promises"; - -import { detectMime, extensionForMime } from "./mime.js"; import { CONFIG_DIR } from "../utils.js"; +import { detectMime, extensionForMime } from "./mime.js"; const MEDIA_DIR = path.join(CONFIG_DIR, "media"); const MAX_BYTES = 5 * 1024 * 1024; // 5MB