@opengeni/worker-bundle 0.22.7-canary.0 → 0.23.3-canary.0

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 (74) hide show
  1. package/dist/activities/agent-turn/agent-build.d.ts +1 -4
  2. package/dist/activities/agent-turn/claim.d.ts +2 -4
  3. package/dist/activities/agent-turn/codex.d.ts +6 -5
  4. package/dist/activities/agent-turn/compaction-prep.d.ts +2 -0
  5. package/dist/activities/agent-turn/errors.d.ts +13 -0
  6. package/dist/activities/agent-turn/finalization.d.ts +1 -3
  7. package/dist/activities/agent-turn/quiescence.d.ts +39 -0
  8. package/dist/activities/agent-turn/sandbox-route.d.ts +14 -24
  9. package/dist/activities/agent-turn/sandbox-runtime.d.ts +1 -4
  10. package/dist/activities/agent-turn/sandbox-shared-preparation.d.ts +30 -0
  11. package/dist/activities/agent-turn/stream-attempt.d.ts +7 -0
  12. package/dist/activities/agent-turn/tool-policy.d.ts +3 -32
  13. package/dist/activities/agent-turn/turn-context.d.ts +1 -8
  14. package/dist/activities/agent-turn/turn-sandbox-access.d.ts +12 -0
  15. package/dist/activities/agent-turn/video-reference-sandbox.d.ts +7 -0
  16. package/dist/activities/codex-rotation.d.ts +2 -0
  17. package/dist/activities/session-state.d.ts +2 -1
  18. package/dist/{activities-control-VZIIV7RX.js → activities-control-52W5IDWM.js} +125 -13
  19. package/dist/activities-control-52W5IDWM.js.map +1 -0
  20. package/dist/{activities-turn-5RGQDBFV.js → activities-turn-A2G2KLSY.js} +534 -482
  21. package/dist/activities-turn-A2G2KLSY.js.map +1 -0
  22. package/dist/{chunk-NAVSAZ56.js → chunk-GFNXVZVQ.js} +160 -1
  23. package/dist/chunk-GFNXVZVQ.js.map +1 -0
  24. package/dist/{chunk-O4HDX5SC.js → chunk-IPVMCAW5.js} +144 -15
  25. package/dist/chunk-IPVMCAW5.js.map +1 -0
  26. package/dist/index.js +42 -2
  27. package/dist/index.js.map +1 -1
  28. package/dist/observability-metrics.d.ts +28 -0
  29. package/dist/personal-github-git-credentials.d.ts +1 -0
  30. package/dist/unhandled-rejection-boundary.d.ts +29 -0
  31. package/package.json +18 -18
  32. package/src/activities/agent-turn/agent-build.ts +15 -31
  33. package/src/activities/agent-turn/claim.ts +29 -68
  34. package/src/activities/agent-turn/codex.ts +19 -10
  35. package/src/activities/agent-turn/compaction-prep.ts +50 -1
  36. package/src/activities/agent-turn/errors.ts +78 -0
  37. package/src/activities/agent-turn/failure-settlement.ts +30 -19
  38. package/src/activities/agent-turn/finalization.ts +24 -21
  39. package/src/activities/agent-turn/history.ts +5 -1
  40. package/src/activities/agent-turn/quiescence.ts +86 -0
  41. package/src/activities/agent-turn/run-credentials.ts +12 -1
  42. package/src/activities/agent-turn/run.ts +14 -11
  43. package/src/activities/agent-turn/sandbox-establish.ts +46 -11
  44. package/src/activities/agent-turn/sandbox-route.ts +21 -25
  45. package/src/activities/agent-turn/sandbox-runtime.ts +1 -116
  46. package/src/activities/agent-turn/sandbox-shared-preparation.ts +206 -0
  47. package/src/activities/agent-turn/stream-attempt.ts +98 -14
  48. package/src/activities/agent-turn/tool-environment.ts +10 -13
  49. package/src/activities/agent-turn/tool-policy.ts +3 -55
  50. package/src/activities/agent-turn/turn-context.ts +8 -14
  51. package/src/activities/agent-turn/{image-reference-sandbox.ts → turn-sandbox-access.ts} +15 -13
  52. package/src/activities/agent-turn/video-reference-sandbox.ts +23 -0
  53. package/src/activities/codex-capacity.ts +13 -5
  54. package/src/activities/codex-rotation.ts +17 -0
  55. package/src/activities/goals.ts +10 -4
  56. package/src/activities/retained-screenshots.ts +104 -21
  57. package/src/activities/sandbox-lease.ts +7 -4
  58. package/src/activities/scheduled-tasks.ts +128 -4
  59. package/src/activities/session-state.ts +8 -1
  60. package/src/github-rest-mcp.ts +6 -3
  61. package/src/http.ts +3 -0
  62. package/src/index.ts +19 -0
  63. package/src/observability-metrics.ts +200 -0
  64. package/src/personal-github-git-credentials.ts +45 -4
  65. package/src/sandbox-resume.ts +1 -1
  66. package/src/sandbox-routing.ts +7 -4
  67. package/src/unhandled-rejection-boundary.ts +73 -0
  68. package/dist/activities/agent-turn/image-reference-sandbox.d.ts +0 -14
  69. package/dist/activities/recording.d.ts +0 -90
  70. package/dist/activities-control-VZIIV7RX.js.map +0 -1
  71. package/dist/activities-turn-5RGQDBFV.js.map +0 -1
  72. package/dist/chunk-NAVSAZ56.js.map +0 -1
  73. package/dist/chunk-O4HDX5SC.js.map +0 -1
  74. package/src/activities/recording.ts +0 -279
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  observabilityEventLogger
3
- } from "./chunk-NAVSAZ56.js";
3
+ } from "./chunk-GFNXVZVQ.js";
4
4
 
5
5
  // src/activity-services.ts
6
6
  import { dbSearchPath, getSettings, resolveNatsControlPlaneAuth } from "@opengeni/config";
@@ -27,12 +27,14 @@ import {
27
27
  sealPersonalGitHubGitBrokerClaims
28
28
  } from "@opengeni/github";
29
29
  import { randomBytes, randomUUID } from "crypto";
30
+ import { execFileSync } from "child_process";
31
+ import { isIP } from "net";
30
32
  import { isDeepStrictEqual } from "util";
31
33
  var PERSONAL_GITHUB_SERVER_ID = "github:personal";
32
34
  function buildPersonalGitHubGitCredentials(db, settings) {
33
35
  if (!settings.githubPersonalOauthEnabled) return null;
34
36
  const secret = settings.integrationsStateSecret?.trim();
35
- const publicOrigin = personalGitBrokerOrigin(settings.publicBaseUrl);
37
+ const publicOrigin = personalGitBrokerOrigin(settings);
36
38
  if (!secret || !publicOrigin) {
37
39
  throw new Error("personal GitHub Git broker configuration is unavailable");
38
40
  }
@@ -182,12 +184,34 @@ function personalGitHubCanRead(permissions) {
182
184
  function personalGitHubCanWrite(permissions) {
183
185
  return permissions.push || permissions.maintain || permissions.admin;
184
186
  }
185
- function personalGitBrokerOrigin(value) {
187
+ var cachedDockerBridgeGateway;
188
+ function dockerBridgeGateway() {
189
+ if (cachedDockerBridgeGateway !== void 0) return cachedDockerBridgeGateway;
190
+ try {
191
+ const value = execFileSync(
192
+ "docker",
193
+ ["network", "inspect", "bridge", "--format", "{{(index .IPAM.Config 0).Gateway}}"],
194
+ { encoding: "utf8", timeout: 2e3, maxBuffer: 16 * 1024 }
195
+ ).trim();
196
+ cachedDockerBridgeGateway = isIP(value) ? value : null;
197
+ } catch {
198
+ cachedDockerBridgeGateway = null;
199
+ }
200
+ return cachedDockerBridgeGateway;
201
+ }
202
+ function personalGitBrokerOrigin(settings) {
203
+ const value = settings.opengeniMcpUrl ?? (settings.sandboxBackend === "docker" ? `http://host.docker.internal:${settings.apiPort}` : settings.sandboxBackend === "local" || settings.sandboxBackend === "none" ? `http://127.0.0.1:${settings.apiPort}` : settings.publicBaseUrl);
186
204
  if (!value) return null;
187
205
  const url = new URL(value);
188
- if (url.protocol !== "https:" || url.username || url.password || url.pathname !== "/" || url.search || url.hash) {
206
+ if (settings.sandboxBackend === "docker" && (url.hostname === "127.0.0.1" || url.hostname === "localhost")) {
207
+ url.hostname = dockerBridgeGateway() ?? "host.docker.internal";
208
+ }
209
+ const dockerPrivateOrigin = settings.sandboxBackend === "docker" && (url.hostname === "host.docker.internal" || url.hostname === cachedDockerBridgeGateway || /^[a-z][a-z0-9-]{0,62}$/iu.test(url.hostname));
210
+ const privateExecutionOrigin = url.protocol === "http:" && (url.hostname === "127.0.0.1" || url.hostname === "localhost" || dockerPrivateOrigin) || ["local", "test"].includes(settings.environment);
211
+ if (url.protocol !== "https:" && !privateExecutionOrigin || url.username || url.password || url.search || url.hash) {
189
212
  return null;
190
213
  }
214
+ url.pathname = "/";
191
215
  return url.origin;
192
216
  }
193
217
  function exactPersonalGitHubDelegation(delegations, credentialBindingId) {
@@ -414,6 +438,9 @@ import {
414
438
  } from "@opengeni/db";
415
439
 
416
440
  // src/activities/codex-rotation.ts
441
+ function codexAccountNeedsLiveCapacityRefresh(account, now) {
442
+ return (account.primaryUsedPercent ?? 0) >= CODEX_USAGE_EXHAUSTED_PCT || (account.secondaryUsedPercent ?? 0) >= CODEX_USAGE_EXHAUSTED_PCT || account.exhaustedKind === "quota" && account.exhaustedUntil !== null && account.exhaustedUntil > now;
443
+ }
417
444
  function effectiveRotationStrategy(_stored) {
418
445
  return "sharded";
419
446
  }
@@ -810,10 +837,13 @@ function codexCapacityDecision(context, settings) {
810
837
  };
811
838
  }
812
839
  const authoritativeReset = authoritativeCodexCapacityResetAt(context.accounts, now);
840
+ const hasReconcilableQuotaCooldown = context.accounts.some(
841
+ (account) => account.status === "active" && account.allocatorEnabled && account.exhaustedKind === "quota" && account.exhaustedUntil !== null && account.exhaustedUntil > now
842
+ );
813
843
  return {
814
844
  kind: "unavailable",
815
845
  earliestResetAt: authoritativeReset,
816
- resetKind: authoritativeReset ? "authoritative" : "bounded_refresh",
846
+ resetKind: authoritativeReset && !hasReconcilableQuotaCooldown ? "authoritative" : "bounded_refresh",
817
847
  diagnostic: {
818
848
  connectedCount: context.accounts.length,
819
849
  allocatorEnabledCount: context.accounts.filter((account) => account.allocatorEnabled).length,
@@ -823,8 +853,9 @@ function codexCapacityDecision(context, settings) {
823
853
  }
824
854
  async function refreshCapacityMetadata(services, workspaceId) {
825
855
  const accounts = await listCodexAccountStatuses(services.db, workspaceId).catch(() => []);
856
+ const now = /* @__PURE__ */ new Date();
826
857
  const stale = accounts.filter(
827
- (account) => account.allocatorEnabled && account.status === "active" && ((account.primaryUsedPercent ?? 0) >= CODEX_USAGE_EXHAUSTED_PCT || (account.secondaryUsedPercent ?? 0) >= CODEX_USAGE_EXHAUSTED_PCT || account.usageCheckedAt === null)
858
+ (account) => account.allocatorEnabled && account.status === "active" && (codexAccountNeedsLiveCapacityRefresh(account, now) || account.usageCheckedAt === null)
828
859
  );
829
860
  await refreshCodexUsageAndRepairCapacityWaiters(
830
861
  stale.map(
@@ -1084,15 +1115,21 @@ function goalContinuationPrompt(_goal, _autoContinuation, _cap, options = {}) {
1084
1115
  ""
1085
1116
  ];
1086
1117
  return [
1087
- "Continue working toward the active session goal.",
1118
+ "Reconcile the active session goal against authoritative current state, then carry the work through to the full requested end state and verify it.",
1119
+ "",
1120
+ "Goal recovery:",
1121
+ "- Treat this continuation as re-entry into the full objective, not as a request to perform one step and stop.",
1122
+ "- Do not rely on previous assistant claims of progress or completion; use them only to locate authoritative evidence.",
1123
+ "- If authoritative evidence already proves the full objective, call opengeni__goal_complete instead of manufacturing more work.",
1124
+ "- Before repeating a state-setting action, verify whether its desired state already holds. If it does, do not repeat it; continue reconciling the overall goal.",
1088
1125
  "",
1089
1126
  "Continuation behavior:",
1090
- "- This goal persists across turns. Ending this turn does not require shrinking the objective to what fits now.",
1091
- "- Keep the full objective intact. If it cannot be finished now, make concrete progress toward the real requested end state, leave the goal active, and do not redefine success around a smaller or easier task.",
1127
+ "- This goal persists across turns. A runtime boundary can end one turn without shrinking the objective; the next continuation resumes the same full objective.",
1128
+ "- Keep working until the requested end state is true and verified. Do not end the turn merely because one useful action completed, and do not redefine success around a smaller or easier task.",
1092
1129
  "- Temporary rough edges are acceptable while the work is moving in the right direction. Completion still requires the requested end state to be true and verified.",
1093
1130
  "",
1094
1131
  "Work from evidence:",
1095
- "Use the current workspace and external state as authoritative. Previous conversation context can help locate relevant work, but inspect the current state before relying on it. Improve, replace, or remove existing work as needed to satisfy the actual objective.",
1132
+ "Use the current workspace and external state as authoritative. Conversation context can help locate relevant work, but it is not proof of the current state. Inspect the current state before relying on it. Improve, replace, or remove existing work as needed to satisfy the actual objective.",
1096
1133
  "",
1097
1134
  "Progress visibility:",
1098
1135
  "If a planning tool is available and the next work is meaningfully multi-step, use it to show a concise plan tied to the real objective. Keep the plan current as steps complete or the next best action changes. Skip planning overhead for trivial one-step progress, and do not treat a plan update as a substitute for doing the work.",
@@ -3917,6 +3954,22 @@ function assertSessionAttemptQuiescenceRecoveryDurable(input) {
3917
3954
  }
3918
3955
  var QUIESCENCE_PROOF_SIGNAL_INITIAL_RETRY_MS = 250;
3919
3956
  var QUIESCENCE_PROOF_SIGNAL_MAX_RETRY_MS = 5e3;
3957
+ var TURN_QUIESCENCE_WATCHDOG_MS = 5 * 6e4;
3958
+ function armTurnQuiescenceWatchdog(input) {
3959
+ if (!input.enabled) return () => void 0;
3960
+ let armed = true;
3961
+ const timer = setTimeout(() => {
3962
+ if (!armed) return;
3963
+ input.onTimeout?.();
3964
+ input.terminateWorker();
3965
+ }, input.timeoutMs ?? TURN_QUIESCENCE_WATCHDOG_MS);
3966
+ timer.unref?.();
3967
+ return () => {
3968
+ if (!armed) return;
3969
+ armed = false;
3970
+ clearTimeout(timer);
3971
+ };
3972
+ }
3920
3973
  async function persistOrSignalSessionAttemptQuiescence(input) {
3921
3974
  let receipt;
3922
3975
  try {
@@ -4015,6 +4068,36 @@ async function waitForTurnStreamCleanup(batcherFlush, providerCompleted, signal)
4015
4068
  await waitForTurnFinalizerStep(batcherFlush, signal);
4016
4069
  await waitForTurnFinalizerStep(providerCompleted, signal);
4017
4070
  }
4071
+ var IncompleteAgentStreamError = class extends Error {
4072
+ name = "IncompleteAgentStreamError";
4073
+ constructor(message = "Agent stream ended without a successful terminal output") {
4074
+ super(message);
4075
+ }
4076
+ };
4077
+ async function assertSuccessfulAgentStreamCompletion(input) {
4078
+ await waitForTurnStreamCleanup(
4079
+ input.batcherFlush,
4080
+ input.stream.completed,
4081
+ input.temporalCancellationSignal
4082
+ );
4083
+ if (input.runtimeCancellationSignal.aborted) {
4084
+ throw input.runtimeCancellationSignal.reason ?? new IncompleteAgentStreamError("Agent stream was cancelled without a terminal reason");
4085
+ }
4086
+ if (input.stream.error !== null && input.stream.error !== void 0) {
4087
+ throw input.stream.error;
4088
+ }
4089
+ }
4090
+ function assertAgentStreamNotCancelled(cancelled) {
4091
+ if (cancelled) {
4092
+ throw new IncompleteAgentStreamError("Agent stream was cancelled without a terminal result");
4093
+ }
4094
+ }
4095
+ function requireAgentStreamFinalOutput(finalOutput) {
4096
+ if (finalOutput === void 0) {
4097
+ throw new IncompleteAgentStreamError();
4098
+ }
4099
+ return finalOutput;
4100
+ }
4018
4101
  async function clearAttemptCredentialsWithSettledFence(input) {
4019
4102
  try {
4020
4103
  await input.runWorkspaceFencedClear();
@@ -4071,7 +4154,8 @@ import {
4071
4154
  ActiveSessionHistoryLimitExceededError,
4072
4155
  ApprovalRunStateLimitExceededError,
4073
4156
  isRetryableDatabaseTransportFailure,
4074
- isSessionEventPersistenceError
4157
+ isSessionEventPersistenceError,
4158
+ SandboxLeaseTransitionError as SandboxLeaseTransitionError3
4075
4159
  } from "@opengeni/db";
4076
4160
  import {
4077
4161
  ActiveBackendUnresolvableError,
@@ -4079,6 +4163,7 @@ import {
4079
4163
  EmptyCompactionSummaryError,
4080
4164
  isMcpRequestTimeoutError,
4081
4165
  isMcpTransportConnectivityError,
4166
+ isModalTaskExecStartDnsResolutionError,
4082
4167
  RoutingWorkspaceRootChangedError,
4083
4168
  SelfhostedWorkspaceRootChangedError,
4084
4169
  UNKNOWN_MODEL_FINISH_REASON_CODE
@@ -4131,7 +4216,7 @@ function providerRecoveryResult(input) {
4131
4216
  };
4132
4217
  }
4133
4218
  const providerDelay = input.retryAfterMs !== null && input.retryAfterMs !== void 0 && Number.isFinite(input.retryAfterMs) && input.retryAfterMs > 0 ? Math.ceil(input.retryAfterMs) : null;
4134
- const continueDelayMs = input.failureCode === "provider_rate_limited" ? providerDelay ?? PROVIDER_BACKPRESSURE_DELAY_MS : input.failureCode === "provider_unavailable" || input.failureCode === "upstream_connectivity_unavailable" || input.failureCode === "mcp_transport_timeout" || input.failureCode === "mcp_transport_unavailable" || input.failureCode === POST_COMPACTION_CONTINUATION_EMPTY_CODE ? Math.max(
4219
+ const continueDelayMs = input.failureCode === "provider_rate_limited" ? providerDelay ?? PROVIDER_BACKPRESSURE_DELAY_MS : input.failureCode === "provider_unavailable" || input.failureCode === "upstream_connectivity_unavailable" || input.failureCode === "sandbox_command_start_unavailable" || input.failureCode === "mcp_transport_timeout" || input.failureCode === "mcp_transport_unavailable" || input.failureCode === POST_COMPACTION_CONTINUATION_EMPTY_CODE ? Math.max(
4135
4220
  providerDelay ?? 0,
4136
4221
  PROVIDER_CONNECTIVITY_BACKOFF_MS[Math.min(
4137
4222
  Math.max(Math.trunc(input.attemptNumber) - 1, 0),
@@ -4158,6 +4243,9 @@ function providerRecoveryCountFromMetadata(metadata) {
4158
4243
  const value = metadata.providerRecoveryCount;
4159
4244
  return typeof value === "number" && Number.isSafeInteger(value) && value >= 0 ? value : 0;
4160
4245
  }
4246
+ function providerRecoveryCountAfterModelRequestPhase(currentCount, phase) {
4247
+ return phase === "completed" ? 0 : currentCount;
4248
+ }
4161
4249
  function headerValue(headers, name) {
4162
4250
  if (!headers || typeof headers !== "object") return null;
4163
4251
  const getter = headers.get;
@@ -4259,6 +4347,35 @@ function postClaimDatabaseRecoveryFailure(input) {
4259
4347
  function isWorkerShutdownCancellation(error) {
4260
4348
  return error instanceof CancelledFailure2 && error.message === "WORKER_SHUTDOWN";
4261
4349
  }
4350
+ function sandboxLifecycleTransitionDiagnostic(error) {
4351
+ const pending = [error];
4352
+ const seen = /* @__PURE__ */ new WeakSet();
4353
+ let inspected = 0;
4354
+ while (pending.length > 0 && inspected < 64) {
4355
+ const current = pending.shift();
4356
+ inspected += 1;
4357
+ if (!current || typeof current !== "object" || seen.has(current)) continue;
4358
+ seen.add(current);
4359
+ try {
4360
+ const record = current;
4361
+ const reason = record.reason;
4362
+ if ((current instanceof SandboxLeaseTransitionError3 || record.name === "SandboxLeaseTransitionError") && typeof record.sandboxGroupId === "string" && record.sandboxGroupId.length > 0 && typeof record.leaseEpoch === "number" && Number.isSafeInteger(record.leaseEpoch) && record.leaseEpoch >= 0 && (reason === "capture_in_progress" || reason === "rotation_in_progress" || reason === "provider_recovery_in_progress")) {
4363
+ return {
4364
+ sandboxGroupId: record.sandboxGroupId,
4365
+ leaseEpoch: record.leaseEpoch,
4366
+ reason
4367
+ };
4368
+ }
4369
+ for (const key of ["cause", "error"]) {
4370
+ const nested = record[key];
4371
+ if (nested && typeof nested === "object") pending.push(nested);
4372
+ }
4373
+ if (Array.isArray(record.errors)) pending.push(...record.errors.slice(0, 32));
4374
+ } catch {
4375
+ }
4376
+ }
4377
+ return null;
4378
+ }
4262
4379
  function sandboxRouteTransitionCode(error) {
4263
4380
  const pending = [error];
4264
4381
  const seen = /* @__PURE__ */ new WeakSet();
@@ -4494,6 +4611,13 @@ function agentRunFailurePayload(error, options = {}) {
4494
4611
  retryable: true
4495
4612
  };
4496
4613
  }
4614
+ if (isModalTaskExecStartDnsResolutionError(error)) {
4615
+ return {
4616
+ error: "The managed sandbox command transport was temporarily unreachable before the command started. The same turn will retry after a short delay.",
4617
+ code: "sandbox_command_start_unavailable",
4618
+ retryable: true
4619
+ };
4620
+ }
4497
4621
  if (isCodexTransportError(error) && code === "invalid_sse_terminal") {
4498
4622
  return {
4499
4623
  error: "The Codex response stream ended without a terminal response",
@@ -4707,8 +4831,8 @@ var CODEX_USAGE_LIMIT_MAX_RESUME_MS = 60 * 6e4;
4707
4831
 
4708
4832
  export {
4709
4833
  createSharedActivityServices,
4834
+ codexAccountNeedsLiveCapacityRefresh,
4710
4835
  classifyCodexPin,
4711
- CODEX_USAGE_EXHAUSTED_PCT,
4712
4836
  isCodexCredentialEligible,
4713
4837
  shardCredentialForSession,
4714
4838
  earliestCodexReset,
@@ -4768,11 +4892,14 @@ export {
4768
4892
  shouldStartPeriodicWorkspaceSnapshot,
4769
4893
  assertPhysicalToolQuiescenceForCancellation,
4770
4894
  assertSessionAttemptQuiescenceRecoveryDurable,
4895
+ armTurnQuiescenceWatchdog,
4771
4896
  persistOrSignalSessionAttemptQuiescence,
4772
4897
  drainAttemptOwnedSandboxWriters,
4773
4898
  releaseTurnSandboxAfterWriterDrain,
4774
4899
  waitForTurnFinalizerStep,
4775
- waitForTurnStreamCleanup,
4900
+ assertSuccessfulAgentStreamCompletion,
4901
+ assertAgentStreamNotCancelled,
4902
+ requireAgentStreamFinalOutput,
4776
4903
  clearAttemptCredentialsWithSettledFence,
4777
4904
  turnFinalizerCancellationSignal,
4778
4905
  runMandatoryHistoryPersistenceStep,
@@ -4782,12 +4909,14 @@ export {
4782
4909
  providerRecoveryResult,
4783
4910
  providerRecoveryExhaustedFailure,
4784
4911
  providerRecoveryCountFromMetadata,
4912
+ providerRecoveryCountAfterModelRequestPhase,
4785
4913
  providerRetryAfterMs,
4786
4914
  unavailableMcpOperationalContext,
4787
4915
  escapedMcpTimeoutRecoveryFailure,
4788
4916
  preClaimAdmissionFailure,
4789
4917
  postClaimDatabaseRecoveryFailure,
4790
4918
  isWorkerShutdownCancellation,
4919
+ sandboxLifecycleTransitionDiagnostic,
4791
4920
  sandboxRouteTransitionCode,
4792
4921
  compactionFailureReason,
4793
4922
  safeErrorDiagnostic,
@@ -4803,4 +4932,4 @@ export {
4803
4932
  codexUsageLimitFailurePayload,
4804
4933
  CODEX_USAGE_LIMIT_MAX_RESUME_MS
4805
4934
  };
4806
- //# sourceMappingURL=chunk-O4HDX5SC.js.map
4935
+ //# sourceMappingURL=chunk-IPVMCAW5.js.map