From ccfd80859cdfdf82191509f900c2a389d2360e87 Mon Sep 17 00:00:00 2001 From: Phant Date: Wed, 21 Oct 2026 16:59:55 -0500 Subject: [PATCH 1/3] =?UTF-8?q?build(vendor):=20cortico=2052c26963?= =?UTF-8?q?=E2=86=922299c24b,Windows=20=E9=80=89=E8=B7=AF=E5=BE=84?= =?UTF-8?q?=E3=80=81=E6=96=87=E4=BB=B6=E5=8D=A0=E7=94=A8=E9=87=8D=E8=AF=95?= =?UTF-8?q?=E3=80=81=E4=B8=BB=E5=BE=AA=E7=8E=AF=E9=80=80=E5=87=BA=E4=BA=8B?= =?UTF-8?q?=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - Pal-AI-Lab/Cortico#293 Co-Authored-By: Claude Opus 5.5 --- vendor/cortico | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/vendor/cortico b/vendor/cortico index 52c26963..2299c24b 160000 --- a/vendor/cortico +++ b/vendor/cortico @@ -1 +1 @@ -Subproject commit 52c26963397b4c30ab60aec1a3254e7f5c81d366 +Subproject commit 2299c24bf87f667021386755814750a48dd62d7c From 592e898f8ebfad7cf91e84acd192ae36404ebbfb Mon Sep 17 00:00:00 2001 From: Phant Date: Wed, 21 Oct 2026 16:29:12 -0500 Subject: [PATCH 2/3] =?UTF-8?q?fix(core):=20=E4=B8=BB=E5=BE=AA=E7=8E=AF?= =?UTF-8?q?=E5=BC=82=E5=B8=B8=E9=80=80=E5=87=BA=E6=97=B6=20Core=20?= =?UTF-8?q?=E8=BF=9B=E7=A8=8B=E8=B7=9F=E7=9D=80=E9=80=80=E5=87=BA=EF=BC=8C?= =?UTF-8?q?=E7=94=B1=E5=BA=94=E7=94=A8=E9=87=8D=E5=90=AF?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 根因:主循环停了进程还活着,界面停在处理中,排队消息没人取;Windows 上落盘遇到文件占用就会这样 - 按 Cortico 的 loop-exit 日志判断,上报 crash 后走正常关机,应用照崩溃重启(5 分钟内最多 5 次),重启后补投未送达的消息 - Closes #270 Co-Authored-By: Claude Opus 5.5 --- core/companion.ts | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/core/companion.ts b/core/companion.ts index c0888cc5..2b3eafdd 100644 --- a/core/companion.ts +++ b/core/companion.ts @@ -641,4 +641,10 @@ export async function main(): Promise { log.emit('error', '未处理的 promise 拒绝', { event: 'unhandled-rejection', err: reason }); crash('core-rejection', reason); }); + // an exited main loop delivers nothing more; the app restarts a Core process that exits on its own + bot.core.runlog.onWrite((entry) => { + if (entry.event !== 'loop-exit') return; + crash('core-loop', entry.err && Object.assign(new Error(entry.err.message), entry.err)); + void shutdown('主循环异常退出'); + }); } From f4e0ef81ed5101405afe842d2d767795879ba1e6 Mon Sep 17 00:00:00 2001 From: Phant Date: Wed, 21 Oct 2026 16:29:12 -0500 Subject: [PATCH 3/3] =?UTF-8?q?feat(core):=20Coo=20=E9=BB=98=E8=AE=A4?= =?UTF-8?q?=E4=B8=8A=E4=B8=8B=E6=96=87=E9=98=B6=E6=AE=B5=E9=A2=84=E7=AE=97?= =?UTF-8?q?=20128k,=E4=BA=A4=E6=8E=A5=E4=BF=9D=E7=95=99=E6=AF=94=E4=BE=8B?= =?UTF-8?q?=200.25?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit - 只改 Coo 的默认值,不动 Cormini;在「上下文与交接」里保存过的配置保留原值,不迁移 - Closes #288 Co-Authored-By: Claude Opus 5.5 --- core/companion.ts | 1 + 1 file changed, 1 insertion(+) diff --git a/core/companion.ts b/core/companion.ts index 2b3eafdd..abbeffb3 100644 --- a/core/companion.ts +++ b/core/companion.ts @@ -491,6 +491,7 @@ export async function main(): Promise { // Cormini's 6/12 end a computer-use task partway through; 20/40 are the caps the desktop-pet // e2e harnesses give their persona rounds: { soft: 20, hard: 40 }, + context: { ...base.definition.defaults().context, maxTokens: 128_000, keepRatio: 0.25 }, companion: { telemetry: true }, }), // Cormini's own build with Coo's Persona class; the workspace is snapshotted before Coo can write to it