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

11 lines
403 B
TypeScript

import type { PluginInput } from "@opencode-ai/plugin";
import type { CallOmoAgentArgs } from "./types";
import type { ToolContextWithMetadata } from "./tool-context-with-metadata";
export declare function resolveOrCreateSessionId(ctx: PluginInput, args: CallOmoAgentArgs, toolContext: ToolContextWithMetadata): Promise<{
ok: true;
sessionID: string;
} | {
ok: false;
error: string;
}>;