Plugin Host V2 运行时

Plugin Host V2 运行时 由 Archify 生成的架构图。 Protocol · aida-plugins schema · aida-plugins · 唯一协议源 Protocol aida-plugins schema 唯一协议源 不可变 Bundle · runtimeRevision · aida-plugins · archive SHA-256 不可变 Bundle runtimeRevision archive SHA-256 Main View shell · 固定视图承载 · Desktop Main · 沙箱 UI Main View shell 固定视图承载 沙箱 UI Desktop PluginHost · Main 进程 · Desktop Main · 挂载 · 调用 · 回执 Desktop PluginHost Main 进程 挂载 · 调用 · 回执 CallJournal · 派发屏障 · 回执 · Desktop Main · PluginCallJournal CallJournal 派发屏障 · 回执 PluginCallJournal Capability proxy · file · artifact · data · conn · Desktop Main · Main 代理 Capability proxy file · artifact · data · conn Main 代理 credentials vault · 永不下发 Worker · Desktop Main · Host-only credentials vault 永不下发 Worker Host-only Managed runtime · Python / Node / native MCP · Worker process · Worker 进程 Managed runtime Python / Node / native MCP Worker 进程 build / pack discover / mount UI call settle facts authorize 按引用读取 MCP stdio tools/call aida/host reverse aida-plugins Desktop Main Worker process

Ownership

  • • 协议 / SDK / CLI:aida-plugins
  • • Host / 回执 / 能力代理:Desktop Main
  • • Agent 仅 Run-scoped 投影与审计(非 Host)

Trust model

  • • 可信 Worker 为普通 OS 用户进程
  • • Renderer 沙箱 + 能力代理约束秘密
  • • 准入依赖官方/企业审核,非恶意 OS 沙箱

非目标

  • • Agent 不跑插件进程、不启 MCP server
  • • 凭证与目标地址不经 Worker 参数下发
  • • ADR-0021:不复活 Plugin Registry