@openclaw/codex 2026.6.11 → 2026.7.1-1

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.
Files changed (42) hide show
  1. package/dist/{app-server-policy-BPTiVNsW.js → app-server-policy-C968Kgin.js} +5 -5
  2. package/dist/{attempt-notifications-BYnndyFl.js → attempt-notifications-BGsEIIDI.js} +29 -40
  3. package/dist/{command-handlers-DEPTJYk0.js → command-handlers-Dv-pzAmg.js} +278 -237
  4. package/dist/command-rpc-eLM_mtC7.js +784 -0
  5. package/dist/compact-4mVBriKT.js +603 -0
  6. package/dist/{computer-use-ClrJwoFp.js → computer-use-Bmaz333N.js} +3 -3
  7. package/dist/{config-CszD0vP3.js → config-CYEDnLJ2.js} +44 -18
  8. package/dist/conversation-binding-data-BHRpYbX3.js +121 -0
  9. package/dist/doctor-contract-api.js +590 -22
  10. package/dist/harness.js +29 -10
  11. package/dist/index.js +1134 -35
  12. package/dist/{media-understanding-provider-ZUQHN7gT.js → media-understanding-provider-BHOu9-Gg.js} +13 -8
  13. package/dist/media-understanding-provider.js +1 -1
  14. package/dist/{models-CAmfBWRl.js → models-DDmO1zwd.js} +2 -2
  15. package/dist/notification-correlation-Bo7KB3ks.js +35 -0
  16. package/dist/{plugin-app-cache-key-C9ILt7bl.js → plugin-app-cache-key-BrhVdeEf.js} +13 -5
  17. package/dist/{protocol-dh-ETiNd.js → protocol-2POPqAY4.js} +2 -1
  18. package/dist/{protocol-validators-B19q5BIX.js → protocol-validators-dZQ-UTOa.js} +205 -56
  19. package/dist/provider-capabilities-DzI8fgEu.js +6172 -0
  20. package/dist/provider-catalog.js +4 -2
  21. package/dist/{provider-B-OHpbD3.js → provider-zjPfx5Fs.js} +94 -23
  22. package/dist/provider.js +2 -2
  23. package/dist/{request-Dcd452Nk.js → request-BcJyl8KL.js} +2 -2
  24. package/dist/{run-attempt-CXxtFC9d.js → run-attempt-DNSNk_G8.js} +1250 -2992
  25. package/dist/{sandbox-guard-3tnjhjFb.js → sandbox-guard-DA2TQfZW.js} +5 -3
  26. package/dist/session-binding-C1ZXdP-x.js +627 -0
  27. package/dist/session-binding-meta-B7aEMU7g.js +6 -0
  28. package/dist/shared-client-4ICy3U6d.js +1853 -0
  29. package/dist/{side-question-C-DhgJOd.js → side-question-CMOpEhvY.js} +134 -142
  30. package/dist/{thread-lifecycle-DtT3-ehU.js → thread-lifecycle-qWE88Dn2.js} +803 -481
  31. package/dist/{web-search-provider.runtime-CkwxrXQj.js → web-search-provider.runtime-BSlriav6.js} +3 -3
  32. package/npm-shrinkwrap.json +34 -34
  33. package/openclaw.plugin.json +23 -3
  34. package/package.json +9 -6
  35. package/dist/client-CLrtWgrD.js +0 -729
  36. package/dist/client-factory-Bm6HsGob.js +0 -18
  37. package/dist/compact-aQJ0ZKhe.js +0 -278
  38. package/dist/conversation-binding-t0XMLz-j.js +0 -1557
  39. package/dist/provider-capabilities-D7hnTO76.js +0 -3201
  40. package/dist/rate-limit-cache-C7qmZ0Jh.js +0 -26
  41. package/dist/session-binding-HOuPt-E0.js +0 -338
  42. package/dist/shared-client-Dtx5i7Ez.js +0 -1013
package/dist/harness.js CHANGED
@@ -1,5 +1,5 @@
1
1
  //#region extensions/codex/harness.ts
2
- const DEFAULT_CODEX_HARNESS_PROVIDER_IDS = new Set(["codex", "openai"]);
2
+ const DEFAULT_CODEX_HARNESS_PROVIDER_IDS = /* @__PURE__ */ new Set(["codex", "openai"]);
3
3
  const CODEX_APP_SERVER_CONTEXT_ENGINE_HOST_CAPABILITIES = [
4
4
  "bootstrap",
5
5
  "assemble-before-prompt",
@@ -32,38 +32,57 @@ function createCodexAppServerAgentHarness(options) {
32
32
  };
33
33
  },
34
34
  runAttempt: async (params) => {
35
- const { runCodexAppServerAttempt } = await import("./run-attempt-CXxtFC9d.js");
35
+ const { runCodexAppServerAttempt } = await import("./run-attempt-DNSNk_G8.js");
36
36
  return runCodexAppServerAttempt(params, {
37
+ bindingStore: options.bindingStore,
37
38
  pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig,
38
39
  nativeHookRelay: { enabled: true }
39
40
  });
40
41
  },
41
42
  runSideQuestion: async (params) => {
42
- const { runCodexAppServerSideQuestion } = await import("./side-question-C-DhgJOd.js");
43
+ const { runCodexAppServerSideQuestion } = await import("./side-question-CMOpEhvY.js");
43
44
  return runCodexAppServerSideQuestion(params, {
45
+ bindingStore: options.bindingStore,
44
46
  pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig,
45
47
  nativeHookRelay: { enabled: true }
46
48
  });
47
49
  },
48
50
  compact: async (params) => {
49
- const { maybeCompactCodexAppServerSession } = await import("./compact-aQJ0ZKhe.js");
50
- return maybeCompactCodexAppServerSession(params, { pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig });
51
+ const { maybeCompactCodexAppServerSession } = await import("./compact-4mVBriKT.js");
52
+ return maybeCompactCodexAppServerSession(params, {
53
+ bindingStore: options.bindingStore,
54
+ pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig
55
+ });
51
56
  },
52
57
  compactAfterContextEngine: async (params) => {
53
- const { maybeCompactCodexAppServerSession } = await import("./compact-aQJ0ZKhe.js");
58
+ const { maybeCompactCodexAppServerSession } = await import("./compact-4mVBriKT.js");
54
59
  return maybeCompactCodexAppServerSession(params, {
60
+ bindingStore: options.bindingStore,
55
61
  pluginConfig: options?.resolvePluginConfig?.() ?? options?.pluginConfig,
56
62
  allowNonManualNativeRequest: true
57
63
  });
58
64
  },
59
65
  reset: async (params) => {
60
- if (params.sessionFile) {
61
- const { clearCodexAppServerBinding } = await import("./session-binding-HOuPt-E0.js").then((n) => n.s);
62
- await clearCodexAppServerBinding(params.sessionFile);
66
+ if (params.sessionId) {
67
+ const { reclaimCurrentCodexSessionGeneration, sessionBindingIdentity } = await import("./session-binding-C1ZXdP-x.js").then((n) => n.c);
68
+ const identity = sessionBindingIdentity({
69
+ agentId: params.agentId,
70
+ sessionId: params.sessionId,
71
+ sessionKey: params.sessionKey
72
+ });
73
+ let retired = await options.bindingStore.retireSessionGeneration(identity);
74
+ if (retired === "conflict") {
75
+ if (await reclaimCurrentCodexSessionGeneration({
76
+ bindingStore: options.bindingStore,
77
+ identity,
78
+ config: options.resolveConfig?.()
79
+ })) retired = await options.bindingStore.retireSessionGeneration(identity);
80
+ }
81
+ if (retired === "conflict") throw new Error(`Codex binding generation changed before session ${params.sessionId} could reset`);
63
82
  }
64
83
  },
65
84
  dispose: async () => {
66
- const { clearSharedCodexAppServerClientAndWait } = await import("./shared-client-Dtx5i7Ez.js").then((n) => n.c);
85
+ const { clearSharedCodexAppServerClientAndWait } = await import("./shared-client-4ICy3U6d.js").then((n) => n.c);
67
86
  await clearSharedCodexAppServerClientAndWait();
68
87
  }
69
88
  };