feat: bootstrap secure cross-platform assistant

Establish the Electron foundation and pluggable agent runtime so desktop workflows can evolve safely across supported platforms.

Co-authored-by: factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
This commit is contained in:
lofyer
2026-07-29 22:42:30 +08:00
co-authored by factory-droid[bot] <138933559+factory-droid[bot]@users.noreply.github.com>
commit 1b6178b841
30 changed files with 12017 additions and 0 deletions
+14
View File
@@ -0,0 +1,14 @@
import type {
AgentEvent,
AgentRequest,
AgentRuntimeStatus
} from '../../shared/contracts'
export interface AgentRuntime {
getStatus(): Promise<AgentRuntimeStatus>
run(
request: AgentRequest,
signal: AbortSignal
): AsyncGenerator<AgentEvent, void, void>
dispose(): Promise<void>
}