Import packages/plugin/public.d.ts

This commit is contained in:
QQ 2026-11-14 14:49:46 +08:00
parent c6b3b9fbab
commit 13ce8cb17c
1 changed files with 28 additions and 0 deletions

28
packages/plugin/public.d.ts vendored Normal file
View File

@ -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>