修复会话切换气泡丢失并重新打包

This commit is contained in:
shiyue
2026-09-14 22:03:23 +08:00
parent b1cd820819
commit a1e66c08f1
6 changed files with 558 additions and 26 deletions

View File

@@ -160,7 +160,9 @@ function createCodexAppWorkerClient(options = {}) {
async function start() {
await configureIfNeeded();
const result = await sendWorker('start', {}, 30000);
// worker 内部还要完成 initialize 和两个 best-effort 能力探测;外层
// 30 秒预算会在冷启动时提前结束,留下一个仍在初始化的 app-server。
const result = await sendWorker('start', {}, 120000);
appServerRunning = true;
return result;
}