fix(codex-link): isolate model transfers and widen local connection capacity
Server CI and Windows package / verify (push) Successful in 2m3s
Server CI and Windows package / windows-package (push) Successful in 6m58s

This commit is contained in:
yilsem committed 2026-10-13 00:35:08 +03:00
1 parent 2718b460ed
commit 369f6c2ca8
16 files changed
+790 -40

No files matched your search

+5 -3
View File
@@ -218,10 +218,12 @@ export function createCodexLink(deps: CodexLinkDeps): CodexLink {
}
}
// Off: take back everything we put there. Each step is independent — a
// failure in one must not leave the others in place.
// Remove the owned URL before stopping its server. A failed config write
// must leave the working bridge alive so Codex is not stranded offline.
const tearDown = async (config: ReturnType<typeof readCodexConfig>): Promise<BridgeProbe> => {
removeOurLine(config.text)
if (!removeOurLine(config.text)) {
return probe()
}
try {
await deps.clearAutostart()