Skip to content

CodexDictationUnlock v1.1.7

Choose a tag to compare

@A1mAssist A1mAssist released this 16 Oct 15:46
· 15 commits to main since this release

Fix the intermittent "ChatGPT failed to start." dialog (ERR_FAILED / ERR_ABORTED loading app://-/index.html).

Root cause: the client's window-manager awaits loadURL("app://-/index.html") while bootstrap is still running. The bundle patch issued Page.reload before that navigation settled, aborting it with ERR_ABORTED (-3). Bootstrap then logged Desktop bootstrap failed to start the main app phase=bootstrap-import-main and showed the failure dialog.

Evidence: the helper log lines up with Codex's own desktop logs and Windows Application events in the same second for all six reports since 2026-10-10. One failing instance (pid 5104) logged only up to stdio_transport_spawned, then stopped, with no crash dump.

Fix: WaitForPageLoadedAsync polls document.readyState and waits for the client's first page load to finish before the patch reload. It is budgeted (20s for the startup patch, 2s for the avatar-overlay patch) and logs and continues rather than blocking injection.

Also validated against ChatGPT Desktop (Codex) client 26.1013.3656.0 and updated the README compatibility line.

Regression test tests/page-ready.mjs covers both branches: an already-loaded document passes immediately, a still-loading one waits out the budget.