diff --git a/packages/plugin/public.d.ts b/packages/plugin/public.d.ts new file mode 100644 index 0000000..83dff40 --- /dev/null +++ b/packages/plugin/public.d.ts @@ -0,0 +1,28 @@ +import type { Context, Volatile } from '@deepseek-ai/cordis' + +export interface Config { + enabled?: boolean + role?: 'host' | 'client' | 'both' + serverUrl?: string + deviceName?: string + terminal?: { enabled?: boolean } + loopback?: { ports?: number[] } + forceRelay?: boolean + logLevel?: 'debug' | 'info' | 'warn' | 'error' + /** Fast mode: trim what a remote client receives. Defaults to true. */ + liteMode?: boolean + reconnect?: boolean | { + initialDelayMs?: number + maxDelayMs?: number + jitter?: number + } + codex?: { + enabled?: boolean + binary?: string + } +} + +export declare const name: 'ds-harness-remote-fast' +export declare const Config: unknown +export declare function apply(ctx: Context, config?: Config | Volatile): void +export declare function runCli(args?: readonly string[]): Promise