15 lines
354 B
TypeScript
15 lines
354 B
TypeScript
import type { OpencodeClient } from "./types";
|
|
export declare function createSyncSession(client: OpencodeClient, input: {
|
|
parentSessionID: string;
|
|
agentToUse: string;
|
|
description: string;
|
|
defaultDirectory: string;
|
|
}): Promise<{
|
|
ok: true;
|
|
sessionID: string;
|
|
parentDirectory: string;
|
|
} | {
|
|
ok: false;
|
|
error: string;
|
|
}>;
|