You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit bc630f2
Browse filesBrowse the repository at this point in the historyBrowse files
constCODEX_SHIM_REENTRY_DIAGNOSTIC="opencodex: saved Codex launcher resolved back to the autostart shim; run ocx restore and reinstall Codex before enabling codexAutoStart.";
36
40
constMAX_DIAGNOSTIC_VALUE_BYTES=8*1024;
37
41
letlastShimDiscoveryError: string|null=null;
38
42
/** Last human-readable reason discovery returned null (exposed for doctor/tests). */
printf '%s\n' 'opencodex: saved Codex launcher resolved back to the autostart shim; run ocx restore and reinstall Codex before enabling codexAutoStart.' >&2
? "the saved launcher resolved back to the generated shim"
1120
+
: `the saved launcher did not finish --version within ${CODEX_SHIM_INSTALL_PROBE_TIMEOUT_MS}ms`;
1121
+
return{
1122
+
installed: false,
1123
+
message: `Refusing Codex autostart shim because ${reason}. The original launcher was restored; reinstall Codex as a concrete executable before enabling codexAutoStart.`,
0 commit comments