15 lines
641 B
TypeScript
15 lines
641 B
TypeScript
import type { CallOmoAgentArgs } from "./types";
|
|
import type { BackgroundManager } from "../../features/background-agent";
|
|
import type { PluginInput } from "@opencode-ai/plugin";
|
|
import type { FallbackEntry } from "../../shared/model-requirements";
|
|
export declare function executeBackground(args: CallOmoAgentArgs, toolContext: {
|
|
sessionID: string;
|
|
messageID: string;
|
|
agent: string;
|
|
abort: AbortSignal;
|
|
metadata?: (input: {
|
|
title?: string;
|
|
metadata?: Record<string, unknown>;
|
|
}) => void;
|
|
}, manager: BackgroundManager, client: PluginInput["client"], fallbackChain?: FallbackEntry[]): Promise<string>;
|