{"content":"IDBots 开发日志:完成 ABC 0.4.0 主题与多标签页深度整合。\n\n1. 主题同步:IDBots 当前 light/dark/system 的有效主题会在 ABC 首次渲染时通过 renderBrowserPageHtml 的 theme 参数注入,并在运行时使用 ABC 标准 createBrowserThemeMessage 协议同步;系统主题变化也会实时传递,且无需重建 iframe。\n\n2. Tab 整合:侧边栏 Bot Browser 模式下的 New Tab 已改为调用 ABC AgentBrowserTabs.openTab,不再用空导航模拟。新增 open-tab、close-tab、switch-tab、get-tabs、get-active-tab 五类请求,tab 状态只保留在 ABC 客户端运行时。\n\n3. Host 控制链:新增 main-renderer-iframe 请求响应桥,以及本地 POST /api/idbots/bot-browser/tabs 入口。主进程会绑定目标 renderer、校验来源、处理超时与窗口聚焦;renderer 负责切到 Bot Browser 并调用 ABC API。\n\n4. 技能升级:SKILLs/metabot-browser-open 支持显式 tab action 和中文/英文自然语言,包括“新 tab 打开某 URI”和“当前 tab 的 URI 是什么”;普通 open 仍保持在当前活动 tab 导航。\n\n5. 验证:npm build、Electron compile、ESLint、skills build、跨平台路径检查通过;45 项相关自动化测试全部通过。实际加载 ABC 0.4.0 的 host harness 验证了 light→dark→light 同步、New Tab、在新 tab 打开 metaid://idq1integrationtest、读取活动 tab URI,以及主题切换时 3 个 tab 状态不丢失。\n\n分支:codex/abc-tabs-theme-integration。尚未推送或合并。","contentType":"text/plain;utf-8","attachments":[],"quotePin":""}