agent-valley 4.10.1 → 4.11.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.
@@ -7136,6 +7136,8 @@ function isUnavailableAgentModel(reason) {
7136
7136
  return /\bmodel not (?:found|available)\b|(?:^|:\s*)(?:the )?model (?:is )?unavailable(?:[.!:]|$)/i.test(normalized);
7137
7137
  }
7138
7138
  function classifyFailure(reason) {
7139
+ if (TRANSIENT_TRANSPORT.test(reason))
7140
+ return "provider";
7139
7141
  if (/unauthori[sz]ed|authentication|login required|log in|expired token|invalid.*(?:token|api.key)|\b401\b|\b403\b/i.test(reason))
7140
7142
  return "authentication";
7141
7143
  if (/rate.?limit|too many requests|\b429\b/i.test(reason))
@@ -7305,7 +7307,7 @@ function resolveExternalEffect(mission, taskId, result) {
7305
7307
  message: `Operator reconciled external effect: ${result}.`
7306
7308
  });
7307
7309
  }
7308
- var MissionPause;
7310
+ var MissionPause, TRANSIENT_TRANSPORT;
7309
7311
  var init_execution = __esm(() => {
7310
7312
  init_contracts();
7311
7313
  MissionPause = class MissionPause extends Error {
@@ -7317,6 +7319,7 @@ var init_execution = __esm(() => {
7317
7319
  this.nextRunAt = nextRunAt;
7318
7320
  }
7319
7321
  };
7322
+ TRANSIENT_TRANSPORT = /\bRPC timeout for\b|\bworkspace routing discovery failed\b/i;
7320
7323
  });
7321
7324
 
7322
7325
  // ../../packages/core/src/chief/parallel-contract.ts
@@ -7420,7 +7423,8 @@ var init_mission_state_schema = __esm(() => {
7420
7423
  fingerprint: text.optional(),
7421
7424
  effectState: _enum(["not-started", "running", "unknown", "completed"]).optional(),
7422
7425
  parallel: taskWorktreeRecordSchema.optional(),
7423
- changeSet: taskChangeSetSchema.optional()
7426
+ changeSet: taskChangeSetSchema.optional(),
7427
+ integrationCheck: strictObject({ at: string2().datetime(), ok: boolean2(), output: string2().max(8000) }).optional()
7424
7428
  });
7425
7429
  verificationSchema = strictObject({
7426
7430
  ok: boolean2(),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "agent-valley",
3
- "version": "4.10.1",
3
+ "version": "4.11.1",
4
4
  "type": "module",
5
5
  "engines": {
6
6
  "node": ">=26.10.0",