@openclaw/codex 2026.10.5 → 2026.10.6
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/dist/.setup/{account-usage-runtime-Dqpnnkst.mjs → account-usage-runtime-E3SrjJVn.mjs} +3 -3
- package/dist/.setup/{app-server-policy-XTIa6h5k.mjs → app-server-policy-V8zuN8q_.mjs} +1 -1
- package/dist/.setup/{apply-QyZT5-na.mjs → apply-C3s-1Zxe.mjs} +14 -14
- package/dist/.setup/{attempt-client-cleanup-TScCVTsk.mjs → attempt-client-cleanup-BVww-ct8.mjs} +4 -4
- package/dist/.setup/{attempt-workspace-context-Cr3mI4vp.mjs → attempt-workspace-context-BkA0W8Jy.mjs} +1 -1
- package/dist/.setup/{auth-cache-key-DvDLHVJe.mjs → auth-cache-key-CXK7tmkb.mjs} +4 -3
- package/dist/.setup/{auth-profile-health-oHizqgye.mjs → auth-profile-health-B05o5BAm.mjs} +12 -5
- package/dist/.setup/{binding-connection-X1ZeEDz8.mjs → binding-connection-C0t9TBX_.mjs} +1 -1
- package/dist/.setup/{binding-connection.runtime-CZSz0g4u.mjs → binding-connection.runtime-Wdm5G_bw.mjs} +1 -1
- package/dist/.setup/{bounded-turn-isolation-Brj5qzz6.mjs → bounded-turn-isolation-CIQJykuM.mjs} +3 -3
- package/dist/.setup/{bounded-turn-BpjZixcd.mjs → bounded-turn-vdpL2efh.mjs} +13 -12
- package/dist/.setup/{build-state-DfrctLQv.mjs → build-state-DPMC9C_U.mjs} +1 -1
- package/dist/.setup/{client-BpSxNz4F.mjs → client-Div-zqnz.mjs} +19 -15
- package/dist/.setup/{client-catalog-response-DloWE31e.mjs → client-catalog-response-Dtob_lVt.mjs} +1 -1
- package/dist/.setup/{command-dispatch-CIdf7ZvD.mjs → command-dispatch-ByO36LmS.mjs} +1 -1
- package/dist/.setup/{command-handlers-C2XNDeHL.mjs → command-handlers-CJqo6LZS.mjs} +16 -16
- package/dist/.setup/{command-rpc-DpmvEmhc.mjs → command-rpc-Co0UzT-T.mjs} +8 -8
- package/dist/.setup/{compact-DpCHUqU5.mjs → compact-CzNBg4cQ.mjs} +10 -10
- package/dist/.setup/{computer-use-BgGC32hr.mjs → computer-use-BcDrQlxi.mjs} +7 -7
- package/dist/.setup/{config-G4IGX6bK.mjs → config-LQemoqTL.mjs} +3 -3
- package/dist/.setup/{config-options-nvYwVDyy.mjs → config-options-CZmH25Xq.mjs} +1 -1
- package/dist/.setup/{config-runtime-B8agjie6.mjs → config-runtime-DGB1-VbB.mjs} +1 -1
- package/dist/.setup/{config-security-D0hAOQRI.mjs → config-security-DpkGNy5T.mjs} +1 -1
- package/dist/.setup/{conversation-binding-BCoWi2Kn.mjs → conversation-binding-Dcv7_rs-.mjs} +38 -29
- package/dist/.setup/{conversation-control--OHH2dHA.mjs → conversation-control-BtPxevoK.mjs} +1 -1
- package/dist/.setup/{doctor-start-options-DedLaoqI.mjs → doctor-start-options-C28ek2hD.mjs} +3 -3
- package/dist/.setup/{dynamic-tool-build-CoMf7IKx.mjs → dynamic-tool-build-DjbDZzOJ.mjs} +3 -3
- package/dist/.setup/{dynamic-tools-CKynHtxM.mjs → dynamic-tools-75qoSOch.mjs} +10 -10
- package/dist/.setup/{effective-mcp-catalog-DXGsGC1j.mjs → effective-mcp-catalog-Dz0J8iAj.mjs} +4 -4
- package/dist/.setup/{ephemeral-turn-C6aFeGFS.mjs → ephemeral-turn-K_d99r9P.mjs} +2 -2
- package/dist/.setup/{inference-proxy-BDWV0djM.mjs → inference-proxy-DSnaS-uS.mjs} +5 -4
- package/dist/.setup/{isolated-completion-DVDn5GU5.mjs → isolated-completion-dNt4kRLw.mjs} +6 -6
- package/dist/.setup/{mcp-app-session-preparation-Cnmuh9RT.mjs → mcp-app-session-preparation-C7LyxbAm.mjs} +8 -8
- package/dist/.setup/{model-catalog-DRbHoUhG.mjs → model-catalog-BRJ7RMXY.mjs} +7 -7
- package/dist/.setup/{models-GBLXb27n.mjs → models-CusrgpiY.mjs} +3 -3
- package/dist/.setup/{native-auth-DWrRSl4Z.mjs → native-auth-CveRfTpz.mjs} +1 -1
- package/dist/.setup/{native-hook-relay-BQ9UkpeG.mjs → native-hook-relay-BvwSj5bt.mjs} +5 -5
- package/dist/.setup/{native-mcp-app-DIheNk35.mjs → native-mcp-app-DDEtVQED.mjs} +4 -4
- package/dist/.setup/{native-skill-isolation-CxZRtiWZ.mjs → native-skill-isolation-Cx2AkUco.mjs} +3 -3
- package/dist/.setup/{native-subagent-monitor-gqu3TQOv.mjs → native-subagent-monitor-CBYFkNsB.mjs} +66 -19
- package/dist/.setup/{plan-DZWYASAx.mjs → plan-BKFbfVsV.mjs} +4 -4
- package/dist/.setup/{plugin-activation-CsW09DWl.mjs → plugin-activation-BgfNFH2L.mjs} +2 -2
- package/dist/.setup/{plugin-approval-roundtrip-HbFUm9Pp.mjs → plugin-approval-roundtrip-CXXXhuKi.mjs} +1 -1
- package/dist/.setup/{plugin-inventory-kLR7G02h.mjs → plugin-inventory-OhiCoyPH.mjs} +1 -1
- package/dist/.setup/{project-doc-thread-config-B2ZD23A_.mjs → project-doc-thread-config-D_sWbxFR.mjs} +5 -5
- package/dist/.setup/{provider-BiUzaRth.mjs → provider-BVV8SWlx.mjs} +4 -4
- package/dist/.setup/{provider-capabilities-DOBUBt86.mjs → provider-capabilities-B-pTlDsf.mjs} +1 -1
- package/dist/.setup/{request-DhbisYCc.mjs → request-m-H-7FMu.mjs} +2 -2
- package/dist/.setup/{run-attempt-WbitbMr6.mjs → run-attempt-Ch1emiZE.mjs} +104 -54
- package/dist/.setup/{runtime-artifact-nFHy1R0x.mjs → runtime-artifact-CCPLKFGR.mjs} +1 -1
- package/dist/.setup/{runtime-artifact-connection-XSifLLBH.mjs → runtime-artifact-connection-dFoSOKy7.mjs} +3 -3
- package/dist/.setup/{session-catalog-events-IoszcO7-.mjs → session-catalog-events-BBV3DMG7.mjs} +4 -4
- package/dist/.setup/{session-catalog-index-_4Z5quG3.mjs → session-catalog-index-B00GIRi3.mjs} +4 -4
- package/dist/.setup/{session-catalog-native-projection-imNPfB3q.mjs → session-catalog-native-projection-BJupfCyt.mjs} +1 -1
- package/dist/.setup/{session-catalog-projection-BFp1d3bJ.mjs → session-catalog-projection-CYgFTaYm.mjs} +1 -1
- package/dist/.setup/{session-catalog-source-CgWkqG43.mjs → session-catalog-source-Xt6-hNns.mjs} +1 -1
- package/dist/.setup/{session-permission-policy-BYI6mp5u.mjs → session-permission-policy-C7kYxPGd.mjs} +1 -1
- package/dist/.setup/{session-retirement-AhaR7MAp.mjs → session-retirement-DIqF1vQ4.mjs} +5 -5
- package/dist/.setup/{settled-turn-finalizer-Blsc4VLX.mjs → settled-turn-finalizer-dVv34G_E.mjs} +4 -4
- package/dist/.setup/{shared-client-wb1JBldZ.mjs → shared-client-CNGDTv68.mjs} +29 -17
- package/dist/.setup/{side-question-DNEeROvz.mjs → side-question-D1Wa21s9.mjs} +17 -17
- package/dist/.setup/{source-BjBw-zoV.mjs → source-DyVuYlTN.mjs} +3 -3
- package/dist/.setup/{thread-lifecycle-run-DdwKMIae.mjs → thread-lifecycle-run-DjSfTw6v.mjs} +60 -36
- package/dist/.setup/{thread-ownership-CTUs8Eyu.mjs → thread-ownership-BBsOFzCM.mjs} +3 -3
- package/dist/.setup/{thread-policy-BMRvlOi-.mjs → thread-policy-BEiS7ITh.mjs} +3 -3
- package/dist/.setup/{thread-requests-BqPhA4Gs.mjs → thread-requests-DjyDmCo4.mjs} +2 -2
- package/dist/.setup/{thread-resume-CD48Vab8.mjs → thread-resume-BqOca2Iy.mjs} +4 -4
- package/dist/.setup/{transport-websocket-DOY0dJXN.mjs → transport-websocket-CEBjEtFP.mjs} +1 -1
- package/dist/.setup/{turn-router-DdlzuFdm.mjs → turn-router-DM0fRrYI.mjs} +1 -1
- package/dist/.setup/{upstream-session-fork-BF0c69x6.mjs → upstream-session-fork-CxgShpwe.mjs} +14 -14
- package/dist/.setup/{usage-BsMyAOaB.mjs → usage-DV8T9Yau.mjs} +3 -3
- package/dist/.setup/{usage-limit-error-hLIGKewV.mjs → usage-limit-error-ryR1PGou.mjs} +1 -1
- package/dist/.setup/{web-search-provider.runtime-BJK0lNpc.mjs → web-search-provider.runtime-DkciK2gS.mjs} +2 -2
- package/dist/.setup/{workspace-write-sandbox-probe-Cyn6cBsp.mjs → workspace-write-sandbox-probe-DvfWTvuR.mjs} +1 -1
- package/dist/api.js +3 -3
- package/dist/catalog-page.worker.js +1 -1
- package/dist/harness.js +18 -18
- package/dist/index.js +33 -33
- package/dist/media-understanding-provider.js +2 -2
- package/dist/migration-provider-api.js +1 -1
- package/dist/provider-discovery.js +1 -1
- package/package.json +4 -4
package/dist/.setup/{native-subagent-monitor-gqu3TQOv.mjs → native-subagent-monitor-CBYFkNsB.mjs}
RENAMED
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { c as codexNativeSubagentRunId, d as readNativeSubagentThreadIds, f as readThreadParentThreadId, l as normalizeIdentifier, m as assertHistoryOwnerMatchesRegistration, p as readThreadSpawnSource, t as matchesNativeAssignmentLifecycle, u as readCodexNativeSubagentRunId } from "./native-subagent-pending-assignments-DmVhedNs.mjs";
|
|
2
2
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
3
|
-
import { n as defineCodexBuildState } from "./build-state-
|
|
3
|
+
import { n as defineCodexBuildState } from "./build-state-DPMC9C_U.mjs";
|
|
4
4
|
import { a as readHookOutputEntries, o as readItem, s as readNullableString } from "./event-projector-values-CLvG1Hil.mjs";
|
|
5
5
|
import { n as attachCodexMirrorIdentity } from "./upstream-prompt-provenance-Ccd9MFRJ.mjs";
|
|
6
6
|
import { t as readCodexMirroredSessionHistoryMessages } from "./session-history-BO6i_pfk.mjs";
|
|
7
|
-
import { P as claimCodexAppServerLiveThread, R as hasCodexAppServerLiveThread,
|
|
8
|
-
import { M as readCodexAppServerWarningMessage } from "./client-
|
|
9
|
-
import { C as unknownItemStatus, _ as itemName, b as matchesCodexSnapshotTurn, f as isMutatingNativeToolItem, g as itemKind, h as isSideEffectingNativeToolItem, l as auditNativeToolName, m as isProjectedNativeToolItem, p as isNonSuccessItemStatus, u as auditNativeToolTerminalStatus, v as itemStatus, y as itemTitle } from "./turn-router-
|
|
10
|
-
import { s as interruptCodexTurnAndWaitBestEffort } from "./attempt-client-cleanup-
|
|
7
|
+
import { J as retainCodexAppServerLiveThread, P as claimCodexAppServerLiveThread, R as hasCodexAppServerLiveThread, U as isCodexAppServerLiveThreadProtected } from "./shared-client-CNGDTv68.mjs";
|
|
8
|
+
import { M as readCodexAppServerWarningMessage } from "./client-Div-zqnz.mjs";
|
|
9
|
+
import { C as unknownItemStatus, _ as itemName, b as matchesCodexSnapshotTurn, f as isMutatingNativeToolItem, g as itemKind, h as isSideEffectingNativeToolItem, l as auditNativeToolName, m as isProjectedNativeToolItem, p as isNonSuccessItemStatus, u as auditNativeToolTerminalStatus, v as itemStatus, y as itemTitle } from "./turn-router-DM0fRrYI.mjs";
|
|
10
|
+
import { s as interruptCodexTurnAndWaitBestEffort } from "./attempt-client-cleanup-BVww-ct8.mjs";
|
|
11
11
|
import { t as projectCodexWebSearchItem } from "./web-search-item-CvokaZOo.mjs";
|
|
12
|
-
import { n as codexApprovalTimeoutText } from "./plugin-approval-roundtrip-
|
|
12
|
+
import { n as codexApprovalTimeoutText } from "./plugin-approval-roundtrip-CXXXhuKi.mjs";
|
|
13
13
|
import { t as resolveCodexLocalRuntimeAttribution } from "./local-runtime-attribution-CZz2DJ4q.mjs";
|
|
14
14
|
import { t as __exportAll } from "./session-binding-sidecars-DijNZb31.mjs";
|
|
15
15
|
import { asFiniteNumber, asNonArrayRecord, normalizeOptionalString, readStringField } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
@@ -626,6 +626,7 @@ var CodexNativeSubagentAssignmentInventory = class {
|
|
|
626
626
|
if (!store || !current || !owner.completionCustody?.isCurrent()) return;
|
|
627
627
|
const custody = owner.completionCustody.retain();
|
|
628
628
|
try {
|
|
629
|
+
await this.drain(state);
|
|
629
630
|
store.assertCurrent();
|
|
630
631
|
for (const assignment of store.read()) {
|
|
631
632
|
if (!matchesNativeAssignmentLifecycle(assignment.owner, current)) continue;
|
|
@@ -634,6 +635,7 @@ var CodexNativeSubagentAssignmentInventory = class {
|
|
|
634
635
|
store.assertCurrent();
|
|
635
636
|
if (!recovery || recovery.parentThreadId !== assignment.nativeParentThreadId) continue;
|
|
636
637
|
await this.dependencies.restore(state, assignment, recovery, custody);
|
|
638
|
+
await this.drain(state);
|
|
637
639
|
}
|
|
638
640
|
} catch (error) {
|
|
639
641
|
embeddedAgentLog.warn("Native pending assignments remain for reconciliation", { error: formatErrorMessage$1(error) });
|
|
@@ -1794,6 +1796,7 @@ function drainNativeChildModelAdmissions(state, owner, turnId, observeActivity,
|
|
|
1794
1796
|
}
|
|
1795
1797
|
//#endregion
|
|
1796
1798
|
//#region extensions/codex/src/app-server/native-subagent-monitor-runtime.ts
|
|
1799
|
+
const TERMINAL_CHILD_RELEASE_RETRY_MS = 3e4;
|
|
1797
1800
|
const defaultNativeSubagentMonitorRuntime = {
|
|
1798
1801
|
deliverAgentHarnessCompletion,
|
|
1799
1802
|
captureAgentHarnessCompletionCustody,
|
|
@@ -1806,10 +1809,37 @@ function createCodexNativeSubagentMonitorRuntime(Monitor) {
|
|
|
1806
1809
|
if (!monitor) {
|
|
1807
1810
|
const childThreadOwnership = /* @__PURE__ */ new Map();
|
|
1808
1811
|
const childThreadTransitions = new KeyedAsyncQueue();
|
|
1809
|
-
const
|
|
1810
|
-
|
|
1811
|
-
|
|
1812
|
-
|
|
1812
|
+
const clearReleaseRetry = (entry) => {
|
|
1813
|
+
clearTimeout(entry.releaseRetryTimer);
|
|
1814
|
+
entry.releaseRetryTimer = void 0;
|
|
1815
|
+
};
|
|
1816
|
+
const releaseOwnership = async (threadId, entry) => {
|
|
1817
|
+
if (!entry || childThreadOwnership.get(threadId) !== entry) return;
|
|
1818
|
+
await entry.ownership.release(threadId);
|
|
1819
|
+
clearReleaseRetry(entry);
|
|
1820
|
+
if (childThreadOwnership.get(threadId) === entry) childThreadOwnership.delete(threadId);
|
|
1821
|
+
};
|
|
1822
|
+
const scheduleReleaseRetry = (threadId, entry) => {
|
|
1823
|
+
if (childThreadOwnership.get(threadId) !== entry || entry.releaseRetryTimer !== void 0) return;
|
|
1824
|
+
const timer = setTimeout(() => {
|
|
1825
|
+
childThreadTransitions.enqueue(threadId, async () => {
|
|
1826
|
+
if (entry.releaseRetryTimer !== timer || childThreadOwnership.get(threadId) !== entry) return;
|
|
1827
|
+
entry.releaseRetryTimer = void 0;
|
|
1828
|
+
if (isCodexAppServerLiveThreadProtected(client, threadId)) {
|
|
1829
|
+
scheduleReleaseRetry(threadId, entry);
|
|
1830
|
+
return;
|
|
1831
|
+
}
|
|
1832
|
+
await releaseOwnership(threadId, entry);
|
|
1833
|
+
}).catch((error) => {
|
|
1834
|
+
embeddedAgentLog.warn("Failed to retry Codex native subagent thread release", {
|
|
1835
|
+
childThreadId: threadId,
|
|
1836
|
+
error: formatErrorMessage$1(error)
|
|
1837
|
+
});
|
|
1838
|
+
scheduleReleaseRetry(threadId, entry);
|
|
1839
|
+
});
|
|
1840
|
+
}, TERMINAL_CHILD_RELEASE_RETRY_MS);
|
|
1841
|
+
entry.releaseRetryTimer = timer;
|
|
1842
|
+
timer.unref?.();
|
|
1813
1843
|
};
|
|
1814
1844
|
monitor = new Monitor(client, runtime ?? defaultNativeSubagentMonitorRuntime, {
|
|
1815
1845
|
retainClient,
|
|
@@ -1822,11 +1852,20 @@ function createCodexNativeSubagentMonitorRuntime(Monitor) {
|
|
|
1822
1852
|
retainParentThread,
|
|
1823
1853
|
hasObservationBacking: (parentThreadId, childThreadId) => hasCodexAppServerLiveThread(client, parentThreadId) || hasCodexAppServerLiveThread(client, childThreadId),
|
|
1824
1854
|
claimChildThread: (threadId) => childThreadTransitions.enqueue(threadId, async () => {
|
|
1855
|
+
const existing = childThreadOwnership.get(threadId);
|
|
1856
|
+
if (existing?.releaseRetryTimer !== void 0) {
|
|
1857
|
+
clearReleaseRetry(existing);
|
|
1858
|
+
return existing.ownership;
|
|
1859
|
+
}
|
|
1825
1860
|
let ownership;
|
|
1826
1861
|
let invalidated = false;
|
|
1827
1862
|
ownership = await claimCodexAppServerLiveThread(client, threadId, () => {
|
|
1828
1863
|
invalidated = true;
|
|
1829
|
-
|
|
1864
|
+
const entry = childThreadOwnership.get(threadId);
|
|
1865
|
+
if (entry && entry.ownership === ownership) {
|
|
1866
|
+
clearReleaseRetry(entry);
|
|
1867
|
+
childThreadOwnership.delete(threadId);
|
|
1868
|
+
}
|
|
1830
1869
|
ownership = void 0;
|
|
1831
1870
|
childThreadTransitions.enqueue(threadId, async () => {
|
|
1832
1871
|
if (!hasCodexAppServerLiveThread(client, threadId)) monitor?.releasePendingModelInputs(threadId);
|
|
@@ -1837,23 +1876,27 @@ function createCodexNativeSubagentMonitorRuntime(Monitor) {
|
|
|
1837
1876
|
});
|
|
1838
1877
|
});
|
|
1839
1878
|
});
|
|
1840
|
-
if (ownership && !invalidated) childThreadOwnership.set(threadId, ownership);
|
|
1879
|
+
if (ownership && !invalidated) childThreadOwnership.set(threadId, { ownership });
|
|
1841
1880
|
return invalidated ? void 0 : ownership;
|
|
1842
1881
|
}),
|
|
1843
1882
|
retainChildThread: (threadId) => childThreadTransitions.enqueue(threadId, async () => {
|
|
1844
|
-
const
|
|
1845
|
-
if (!
|
|
1883
|
+
const entry = childThreadOwnership.get(threadId);
|
|
1884
|
+
if (!entry) return false;
|
|
1846
1885
|
let retained = false;
|
|
1847
1886
|
try {
|
|
1848
|
-
retained = await retainCodexAppServerLiveThread(client, threadId, ownership.release);
|
|
1887
|
+
retained = await retainCodexAppServerLiveThread(client, threadId, entry.ownership.release);
|
|
1888
|
+
if (retained) clearReleaseRetry(entry);
|
|
1849
1889
|
return retained;
|
|
1850
1890
|
} finally {
|
|
1851
|
-
if (!retained) await releaseOwnership(threadId,
|
|
1891
|
+
if (!retained) await releaseOwnership(threadId, entry).catch((error) => {
|
|
1892
|
+
scheduleReleaseRetry(threadId, entry);
|
|
1893
|
+
throw error;
|
|
1894
|
+
});
|
|
1852
1895
|
}
|
|
1853
1896
|
}),
|
|
1854
1897
|
releaseChildThread: (threadId) => childThreadTransitions.enqueue(threadId, () => releaseOwnership(threadId, childThreadOwnership.get(threadId))),
|
|
1855
1898
|
captureChildThreadForget: (threadId) => childThreadTransitions.enqueue(threadId, async () => {
|
|
1856
|
-
return childThreadOwnership.get(threadId)?.forget;
|
|
1899
|
+
return childThreadOwnership.get(threadId)?.ownership.forget;
|
|
1857
1900
|
})
|
|
1858
1901
|
});
|
|
1859
1902
|
monitors.set(client, monitor);
|
|
@@ -2046,7 +2089,6 @@ async function registerNativeSubagentParent(input, dependencies) {
|
|
|
2046
2089
|
state.owners.set(ownerKey, owner);
|
|
2047
2090
|
state.preparing = void 0;
|
|
2048
2091
|
dependencies.deliverDetached(state);
|
|
2049
|
-
dependencies.submissions.restore(state, owner);
|
|
2050
2092
|
} catch (error) {
|
|
2051
2093
|
releaseRootModelBinding();
|
|
2052
2094
|
state.owners.delete(ownerKey);
|
|
@@ -2058,7 +2100,12 @@ async function registerNativeSubagentParent(input, dependencies) {
|
|
|
2058
2100
|
state.pendingRegistrations -= 1;
|
|
2059
2101
|
dependencies.prune(registeredState);
|
|
2060
2102
|
}
|
|
2061
|
-
const ready =
|
|
2103
|
+
const ready = (async () => {
|
|
2104
|
+
dependencies.submissions.restore(state, owner);
|
|
2105
|
+
await dependencies.submissions.drain(registeredState);
|
|
2106
|
+
await dependencies.assignments.restore(state, owner);
|
|
2107
|
+
await dependencies.assignments.drain(registeredState);
|
|
2108
|
+
})();
|
|
2062
2109
|
let registered = true;
|
|
2063
2110
|
let settlement;
|
|
2064
2111
|
return {
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as isOnlyMigrationKind } from "./scope-DOC1Xjc8.mjs";
|
|
2
|
-
import { u as CODEX_PLUGINS_MARKETPLACE_NAME } from "./plugin-inventory-
|
|
3
|
-
import "./config-
|
|
4
|
-
import { i as hasCodexSource, n as defaultCodexHome, o as readJsonObject, r as discoverCodexSource, s as sanitizeName, t as codexPluginMigrationSubscriptionWarning } from "./source-
|
|
2
|
+
import { u as CODEX_PLUGINS_MARKETPLACE_NAME } from "./plugin-inventory-OhiCoyPH.mjs";
|
|
3
|
+
import "./config-LQemoqTL.mjs";
|
|
4
|
+
import { i as hasCodexSource, n as defaultCodexHome, o as readJsonObject, r as discoverCodexSource, s as sanitizeName, t as codexPluginMigrationSubscriptionWarning } from "./source-DyVuYlTN.mjs";
|
|
5
5
|
import { asBoolean, asOptionalRecord, isRecord, normalizeOptionalString } from "openclaw/plugin-sdk/string-coerce-runtime";
|
|
6
6
|
import { createHash } from "node:crypto";
|
|
7
7
|
import { runCommandBuffered } from "openclaw/plugin-sdk/process-runtime";
|
|
@@ -97,7 +97,7 @@ async function readCodexCliCredentialsAsync(options) {
|
|
|
97
97
|
options.signal?.throwIfAborted();
|
|
98
98
|
if (!options.allowKeychainPrompt) return;
|
|
99
99
|
const home = await fs.realpath(options.codexHome).catch(() => path.resolve(options.codexHome));
|
|
100
|
-
const { CodexAppServerClient } = await import("./client-
|
|
100
|
+
const { CodexAppServerClient } = await import("./client-Div-zqnz.mjs").then((n) => n.n);
|
|
101
101
|
const { resolveManagedCodexPackageEntrypoint, resolveManagedCodexNativeCommand } = await import("./managed-binary-DwC9wxch.mjs").then((n) => n.n);
|
|
102
102
|
const launcher = resolveManagedCodexPackageEntrypoint(path.dirname(fileURLToPath(import.meta.url)));
|
|
103
103
|
const command = launcher ? resolveManagedCodexNativeCommand(launcher) : void 0;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { r as CodexAppServerRpcError } from "./rpc-error-C98SHchT.mjs";
|
|
2
|
-
import { i as listCodexPluginMetadata, n as findCodexMarketplacePluginSummary, o as pluginReadParams, r as isOpenAiCuratedMarketplaceName, t as createCodexAppInventoryRequest, u as CODEX_PLUGINS_MARKETPLACE_NAME } from "./plugin-inventory-
|
|
3
|
-
import "./config-
|
|
2
|
+
import { i as listCodexPluginMetadata, n as findCodexMarketplacePluginSummary, o as pluginReadParams, r as isOpenAiCuratedMarketplaceName, t as createCodexAppInventoryRequest, u as CODEX_PLUGINS_MARKETPLACE_NAME } from "./plugin-inventory-OhiCoyPH.mjs";
|
|
3
|
+
import "./config-LQemoqTL.mjs";
|
|
4
4
|
import { coerceErrorMessage } from "openclaw/plugin-sdk/error-runtime";
|
|
5
5
|
//#region extensions/codex/src/app-server/plugin-activation.ts
|
|
6
6
|
/** Activates legacy curated plugins without granting install authority to other marketplaces. */
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { ht as resolveCodexGatewayTimeoutWithGraceMs } from "./shared-client-CNGDTv68.mjs";
|
|
2
2
|
import { truncateUtf16Safe } from "openclaw/plugin-sdk/text-utility-runtime";
|
|
3
3
|
import { isApprovalNotFoundError, toErrorObject } from "openclaw/plugin-sdk/error-runtime";
|
|
4
4
|
import { racePromiseWithAbortSignal } from "openclaw/plugin-sdk/time-runtime";
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { c as findCodexAppById } from "./plugin-app-cache-key-Bg9DbDI6.mjs";
|
|
2
|
-
import "./config-
|
|
2
|
+
import "./config-LQemoqTL.mjs";
|
|
3
3
|
import { embeddedAgentLog } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
4
4
|
//#region extensions/codex/src/app-server/config-contracts.ts
|
|
5
5
|
const CODEX_PLUGINS_MARKETPLACE_NAME = "openai-curated";
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { i as isJsonObject } from "./protocol-CANUwXJ3.mjs";
|
|
2
|
-
import { l as fingerprintCodexPolicy } from "./config-security-
|
|
2
|
+
import { l as fingerprintCodexPolicy } from "./config-security-DpkGNy5T.mjs";
|
|
3
3
|
import { f as resolveCodexPluginsPolicy } from "./config-parsing-CVK2Q463.mjs";
|
|
4
|
-
import { u as CODEX_SESSION_OVERRIDABLE_LAYER_TYPES } from "./config-options-
|
|
4
|
+
import { u as CODEX_SESSION_OVERRIDABLE_LAYER_TYPES } from "./config-options-CZmH25Xq.mjs";
|
|
5
5
|
import { a as defaultCodexAppInventoryCache, i as CodexAppInventoryCache, o as serializeCodexAppInventoryError, s as codexAppIdentityKey } from "./plugin-app-cache-key-Bg9DbDI6.mjs";
|
|
6
|
-
import { l as toCodexPluginOwnedAccountApp, s as readCodexPluginInventory, t as createCodexAppInventoryRequest } from "./plugin-inventory-
|
|
7
|
-
import "./config-
|
|
8
|
-
import { t as ensureCodexPluginActivation } from "./plugin-activation-
|
|
6
|
+
import { l as toCodexPluginOwnedAccountApp, s as readCodexPluginInventory, t as createCodexAppInventoryRequest } from "./plugin-inventory-OhiCoyPH.mjs";
|
|
7
|
+
import "./config-LQemoqTL.mjs";
|
|
8
|
+
import { t as ensureCodexPluginActivation } from "./plugin-activation-BgfNFH2L.mjs";
|
|
9
9
|
import { embeddedAgentLog } from "openclaw/plugin-sdk/agent-harness-runtime";
|
|
10
10
|
//#region extensions/codex/src/app-server/plugin-app-approval-overrides.ts
|
|
11
11
|
/** Projects ask approvals into the native session layer without changing saved settings. */
|
|
@@ -11,7 +11,7 @@ function buildCodexMigrationProvider(params = {}) {
|
|
|
11
11
|
].join(" "),
|
|
12
12
|
supportedItemKinds: ["memory", "auth"],
|
|
13
13
|
async detect(ctx) {
|
|
14
|
-
const { discoverCodexSource, hasCodexSource } = await import("./source-
|
|
14
|
+
const { discoverCodexSource, hasCodexSource } = await import("./source-DyVuYlTN.mjs").then((n) => n.a);
|
|
15
15
|
const memoryOnly = isOnlyMigrationKind(ctx, "memory");
|
|
16
16
|
const authOnly = isOnlyMigrationKind(ctx, "auth");
|
|
17
17
|
const source = await discoverCodexSource({
|
|
@@ -29,16 +29,16 @@ function buildCodexMigrationProvider(params = {}) {
|
|
|
29
29
|
};
|
|
30
30
|
},
|
|
31
31
|
async plan(ctx) {
|
|
32
|
-
const { buildCodexMigrationPlan } = await import("./plan-
|
|
32
|
+
const { buildCodexMigrationPlan } = await import("./plan-BKFbfVsV.mjs");
|
|
33
33
|
return buildCodexMigrationPlan(ctx);
|
|
34
34
|
},
|
|
35
35
|
deferredApply: { retrySafe: true },
|
|
36
36
|
prepareApply(ctx) {
|
|
37
37
|
if (isOnlyMigrationKind(ctx, "memory") || isOnlyMigrationKind(ctx, "auth")) return;
|
|
38
|
-
return import("./apply-
|
|
38
|
+
return import("./apply-C3s-1Zxe.mjs").then(({ prepareTargetCodexAppServer }) => prepareTargetCodexAppServer(ctx));
|
|
39
39
|
},
|
|
40
40
|
async apply(ctx, plan) {
|
|
41
|
-
const { applyCodexMigrationPlan } = await import("./apply-
|
|
41
|
+
const { applyCodexMigrationPlan } = await import("./apply-C3s-1Zxe.mjs");
|
|
42
42
|
return await applyCodexMigrationPlan({
|
|
43
43
|
ctx,
|
|
44
44
|
plan,
|
package/dist/.setup/{provider-capabilities-DOBUBt86.mjs → provider-capabilities-B-pTlDsf.mjs}
RENAMED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { h as releaseLeasedSharedCodexAppServerClient } from "./shared-client-
|
|
1
|
+
import { h as releaseLeasedSharedCodexAppServerClient } from "./shared-client-CNGDTv68.mjs";
|
|
2
2
|
//#region extensions/codex/src/app-server/provider-capabilities.ts
|
|
3
3
|
function resolveOverriddenProviderWebSearchSupport(modelProviderOverride) {
|
|
4
4
|
const provider = modelProviderOverride?.trim().toLowerCase();
|
|
@@ -3,8 +3,8 @@ import { t as CODEX_CONTROL_METHODS } from "./capabilities-DbOzOglY.mjs";
|
|
|
3
3
|
import { i as withTimeout$1, r as withAbortableTimeout } from "./timeout-D0mEWSGG.mjs";
|
|
4
4
|
import { t as __exportAll } from "./session-binding-sidecars-DijNZb31.mjs";
|
|
5
5
|
import { embeddedAgentLog } from "openclaw/plugin-sdk/agent-harness-registration";
|
|
6
|
-
import { areDiagnosticsEnabledForProcess } from "openclaw/plugin-sdk/diagnostic-runtime";
|
|
7
6
|
import { raceWithTimeout } from "openclaw/plugin-sdk/time-runtime";
|
|
7
|
+
import { areDiagnosticsEnabledForProcess } from "openclaw/plugin-sdk/diagnostic-runtime";
|
|
8
8
|
//#region extensions/codex/src/app-server/request-diagnostics.ts
|
|
9
9
|
const DIAGNOSTIC_METHODS = /* @__PURE__ */ new Set([
|
|
10
10
|
...Object.values(CODEX_CONTROL_METHODS),
|
|
@@ -293,7 +293,7 @@ async function withCodexAppServerJsonClient(params, run) {
|
|
|
293
293
|
timeoutMessage,
|
|
294
294
|
promise: (async () => {
|
|
295
295
|
const { resolveCodexAppServerDirectSandboxBypassBlock } = await import("./sandbox-guard-Cf9XMRrg.mjs").then((n) => n.r);
|
|
296
|
-
const { createIsolatedCodexAppServerClient, getLeasedSharedCodexAppServerClient, isCodexAppServerStartSelectionChangedError, releaseLeasedSharedCodexAppServerClient, retireSharedCodexAppServerClientIfCurrent } = await import("./shared-client-
|
|
296
|
+
const { createIsolatedCodexAppServerClient, getLeasedSharedCodexAppServerClient, isCodexAppServerStartSelectionChangedError, releaseLeasedSharedCodexAppServerClient, retireSharedCodexAppServerClientIfCurrent } = await import("./shared-client-CNGDTv68.mjs").then((n) => n.v);
|
|
297
297
|
for (let attempt = 0; attempt < 2; attempt += 1) {
|
|
298
298
|
errorPhase = void 0;
|
|
299
299
|
setPhase("prepare");
|