@playwo/opencode-cursor-oauth 0.0.0-dev.0cb3e1517254

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
@@ -0,0 +1,20 @@
1
+ interface CursorUnaryRpcOptions {
2
+ accessToken: string;
3
+ rpcPath: string;
4
+ requestBody: Uint8Array;
5
+ url?: string;
6
+ timeoutMs?: number;
7
+ transport?: "auto" | "fetch" | "http2";
8
+ }
9
+ export declare function callCursorUnaryRpc(options: CursorUnaryRpcOptions): Promise<{
10
+ body: Uint8Array;
11
+ exitCode: number;
12
+ timedOut: boolean;
13
+ }>;
14
+ export declare function getProxyPort(): number | undefined;
15
+ export declare function startProxy(getAccessToken: () => Promise<string>, models?: ReadonlyArray<{
16
+ id: string;
17
+ name: string;
18
+ }>): Promise<number>;
19
+ export declare function stopProxy(): void;
20
+ export {};