diff --git a/src/features/background-agent/manager.ts b/src/features/background-agent/manager.ts index e20f84146..95526dcba 100644 --- a/src/features/background-agent/manager.ts +++ b/src/features/background-agent/manager.ts @@ -16,7 +16,6 @@ import { DEFAULT_STALE_TIMEOUT_MS, MIN_IDLE_TIME_MS, MIN_RUNTIME_BEFORE_STALE_MS, - MIN_STABILITY_TIME_MS, POLLING_INTERVAL_MS, TASK_CLEANUP_DELAY_MS, TASK_TTL_MS, diff --git a/src/tools/background-task/create-background-cancel.ts b/src/tools/background-task/create-background-cancel.ts index fb584e9b3..49fc4e5bb 100644 --- a/src/tools/background-task/create-background-cancel.ts +++ b/src/tools/background-task/create-background-cancel.ts @@ -4,7 +4,7 @@ import type { BackgroundCancelArgs } from "./types" import type { BackgroundCancelClient } from "./clients" import { BACKGROUND_CANCEL_DESCRIPTION } from "./constants" -export function createBackgroundCancel(manager: BackgroundManager, client: BackgroundCancelClient): ToolDefinition { +export function createBackgroundCancel(manager: BackgroundManager, _client: BackgroundCancelClient): ToolDefinition { return tool({ description: BACKGROUND_CANCEL_DESCRIPTION, args: { diff --git a/src/tools/background-task/modules/background-cancel.ts b/src/tools/background-task/modules/background-cancel.ts index 2bc7e172c..f26bba5f9 100644 --- a/src/tools/background-task/modules/background-cancel.ts +++ b/src/tools/background-task/modules/background-cancel.ts @@ -4,7 +4,7 @@ import type { BackgroundManager } from "../../../features/background-agent" import type { BackgroundCancelArgs } from "../types" import { BACKGROUND_CANCEL_DESCRIPTION } from "../constants" -export function createBackgroundCancel(manager: BackgroundManager, client: BackgroundCancelClient): ToolDefinition { +export function createBackgroundCancel(manager: BackgroundManager, _client: BackgroundCancelClient): ToolDefinition { return tool({ description: BACKGROUND_CANCEL_DESCRIPTION, args: { diff --git a/src/tools/background-task/modules/background-task.ts b/src/tools/background-task/modules/background-task.ts index 4fa468766..142dd8500 100644 --- a/src/tools/background-task/modules/background-task.ts +++ b/src/tools/background-task/modules/background-task.ts @@ -2,7 +2,7 @@ import { tool, type ToolDefinition } from "@opencode-ai/plugin" import type { BackgroundManager } from "../../../features/background-agent" import type { BackgroundTaskArgs } from "../types" import { BACKGROUND_TASK_DESCRIPTION } from "../constants" -import { findNearestMessageWithFields, findFirstMessageWithAgent, MESSAGE_STORAGE } from "../../../features/hook-message-injector" +import { findNearestMessageWithFields, findFirstMessageWithAgent } from "../../../features/hook-message-injector" import { getSessionAgent } from "../../../features/claude-code-session-state" import { log } from "../../../shared/logger" import { storeToolMetadata } from "../../../features/tool-metadata-store" diff --git a/src/tools/call-omo-agent/background-executor.ts b/src/tools/call-omo-agent/background-executor.ts index c9eb9ef40..b59473d2a 100644 --- a/src/tools/call-omo-agent/background-executor.ts +++ b/src/tools/call-omo-agent/background-executor.ts @@ -2,7 +2,6 @@ import type { CallOmoAgentArgs } from "./types" import type { BackgroundManager } from "../../features/background-agent" import type { PluginInput } from "@opencode-ai/plugin" import { log } from "../../shared" -import { consumeNewMessages } from "../../shared/session-cursor" import { resolveMessageContext } from "../../features/hook-message-injector" import { getSessionAgent } from "../../features/claude-code-session-state" import { getMessageDir } from "./message-dir"