description: "运行时 API 检查、进程内 runner 与历史 Cordis 卡片。"
English | 中文
extensions 组为 agent 提供只读运行时 API 发现、供程序和浏览器消费者使用的进程内 runner,以及历史生成插件卡片。Creator 模式通过 Plugin Manager 安装持久化插件。按需选择检查、Host 执行、Client 执行或浏览器控件子包。
| 包 | 职责 | ctx 键 |
|---|---|---|
tool-cordis |
两个只读运行时 API 发现工具 | 注册到 ctx.tools |
cordis-host-runner |
host 半:定义注册表、沙箱化的 host 半生命周期,以及用于应答浏览器查询的 inspect 注册表 | 提供 ctx.dynamicCordisRunner 与 ctx.cordisInspect |
cordis-client-runner |
浏览器半:将浏览器半源码求值为运行中的插件,并应答运行请求 | client 面;提供浏览器侧 ctx.dynamicCordisRunner |
ui-cordis |
浏览器面板与历史生命周期工具卡片 | client 侧;注册 slot |
ctx.cordisInspect 与 ctx.dynamicCordisRunner 服务 API。