ds-harness-remote-fast/packages/plugin/public.d.ts

29 lines
835 B
TypeScript

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<Config>): void
export declare function runCli(args?: readonly string[]): Promise<number>