@bitkyc08/opencodex 2.66.0 → 2.67.0-preview.20260926
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/bin/ocx.mjs +24 -11
- package/gui/dist/assets/{App-DyHlFeNB.js → App-B3VRRYSj.js} +15 -15
- package/gui/dist/assets/{App-gkoJIEOV.css → App-BJsT8Icc.css} +1 -1
- package/gui/dist/assets/{Tray-CI8cVKWu.js → Tray-TYAA0EQY.js} +1 -1
- package/gui/dist/assets/index-9Ju7nHsu.js +86 -0
- package/gui/dist/assets/index-DtNmX7hW.css +1 -0
- package/gui/dist/assets/{tray-data-_WyYzbMt.js → tray-data-xKfS2gSG.js} +1 -1
- package/gui/dist/index.html +2 -2
- package/package.json +1 -1
- package/src/chat/inbound.ts +82 -3
- package/src/chat/outbound.ts +5 -3
- package/src/claude/desktop-first-party.ts +12 -3
- package/src/claude/first-party-settings.ts +97 -0
- package/src/claude/intercept/client-class.ts +18 -0
- package/src/claude/intercept/listener.ts +5 -0
- package/src/claude/intercept/runtime.ts +6 -0
- package/src/cli/capabilities.ts +12 -0
- package/src/cli/claude-desktop.ts +11 -6
- package/src/cli/claude.ts +25 -1
- package/src/cli/ensure-desired-integrations.ts +14 -1
- package/src/cli/integrations.ts +9 -1
- package/src/cli/uninstall-client-state.ts +6 -0
- package/src/cli/uninstall-integrations.ts +115 -0
- package/src/codex/history-job.ts +2 -1
- package/src/codex/main-account-hard-lock.ts +36 -19
- package/src/codex/quota.ts +11 -1
- package/src/combos/resolve.ts +11 -3
- package/src/config/load-degrade.ts +4 -0
- package/src/generated/compatibility-version.json +67 -43
- package/src/generated/worker-bundles.gen.ts +4 -0
- package/src/images/loop.ts +10 -3
- package/src/integrations/aside-profile-context.ts +17 -0
- package/src/lab/fabric/executor.ts +25 -3
- package/src/lab/fabric/producer-isolate.ts +199 -32
- package/src/lab/fabric/scratch.ts +9 -2
- package/src/lib/shadow-call.ts +11 -4
- package/src/lib/worker-embed.ts +33 -0
- package/src/oauth/generic-account-failover.ts +5 -3
- package/src/oauth/index.ts +19 -29
- package/src/oauth/store.ts +106 -34
- package/src/remote-control/workspace-rpc.ts +114 -19
- package/src/router.ts +7 -1
- package/src/server/chat-completions.ts +2 -1
- package/src/server/index/claude-intercept-lifecycle.ts +13 -0
- package/src/server/management/agent-settings-routes.ts +123 -5
- package/src/server/management/context.ts +4 -0
- package/src/server/management/native-integration-routes.ts +19 -8
- package/src/server/responses/core-normalize.ts +13 -1
- package/src/server/responses/request-prepare.ts +5 -3
- package/src/server/responses/sidecar-execution.ts +9 -2
- package/src/server/search.ts +28 -7
- package/src/storage/policy-job.ts +2 -1
- package/src/storage/restore-job.ts +2 -1
- package/src/types/config.ts +11 -5
- package/src/update/transactional-install.mjs +5 -1
- package/src/web-search/alpha-search.ts +71 -0
- package/src/web-search/devin-executor.ts +192 -0
- package/src/web-search/loop.ts +10 -3
- package/gui/dist/assets/index-BiwnVAUm.js +0 -86
- package/gui/dist/assets/index-ComVsdSk.css +0 -1
package/bin/ocx.mjs
CHANGED
|
@@ -591,17 +591,30 @@ function runPackageManagerSelfUpdate(manager) {
|
|
|
591
591
|
let stopAttempted = false;
|
|
592
592
|
|
|
593
593
|
function recoverStoppedRuntimeAfterFailure(reason) {
|
|
594
|
-
const
|
|
595
|
-
|
|
596
|
-
|
|
597
|
-
|
|
598
|
-
|
|
599
|
-
|
|
600
|
-
|
|
601
|
-
|
|
602
|
-
|
|
603
|
-
|
|
604
|
-
|
|
594
|
+
const planRecovery = () => {
|
|
595
|
+
const recoveryOwnership = readOwnership();
|
|
596
|
+
const liveness = currentPackageRuntimeLiveness();
|
|
597
|
+
return {
|
|
598
|
+
liveness,
|
|
599
|
+
plan: planStoppedRuntimeRecovery({
|
|
600
|
+
stopAttempted,
|
|
601
|
+
...recoveryOwnership,
|
|
602
|
+
sameOwner: ownershipIdentity(recoveryOwnership) === stoppedOwnershipIdentity,
|
|
603
|
+
liveness,
|
|
604
|
+
serviceInstalled: serviceWasInstalled,
|
|
605
|
+
launcherUsable: postUpdateLauncherUsable,
|
|
606
|
+
hadRuntimeState: hasRuntimeState,
|
|
607
|
+
}),
|
|
608
|
+
};
|
|
609
|
+
};
|
|
610
|
+
let { liveness: recoveryLiveness, plan: recovery } = planRecovery();
|
|
611
|
+
if (recovery.action === "service") {
|
|
612
|
+
// The service manager starts the proxy outside this process tree, so it cannot join this
|
|
613
|
+
// lease, and holding the lease through the repair's health wait keeps that proxy from
|
|
614
|
+
// starting (#5760). Release it as the successful path does, then decide again.
|
|
615
|
+
releaseUpdateLease();
|
|
616
|
+
({ liveness: recoveryLiveness, plan: recovery } = planRecovery());
|
|
617
|
+
}
|
|
605
618
|
if (recovery.reason === "ownership-unknown") {
|
|
606
619
|
console.error(`opencodex: ${reason}; runtime ownership is unknown, so automatic recovery was refused. Run 'ocx status --json' and repair the service-state record before retrying.`);
|
|
607
620
|
} else if (recovery.reason === "ownership-transferred") {
|