Import packages/plugin/public.d.ts
This commit is contained in:
parent
c6b3b9fbab
commit
13ce8cb17c
|
|
@ -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<Config>): void
|
||||
export declare function runCli(args?: readonly string[]): Promise<number>
|
||||
Loading…
Reference in New Issue