Files
oh-my-opencode/dist/tools/call-omo-agent/session-creator.d.ts
T
2026-03-14 04:56:50 +00:00

16 lines
464 B
TypeScript

import type { CallOmoAgentArgs } from "./types";
import type { PluginInput } from "@opencode-ai/plugin";
export declare function createOrGetSession(args: CallOmoAgentArgs, toolContext: {
sessionID: string;
messageID: string;
agent: string;
abort: AbortSignal;
metadata?: (input: {
title?: string;
metadata?: Record<string, unknown>;
}) => void;
}, ctx: PluginInput): Promise<{
sessionID: string;
isNew: boolean;
}>;