agent-valley 4.11.0 → 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.
- package/dist/assets/plugin.json +1 -1
- package/dist/index.js +4 -1
- package/dist/supervisor.js +4 -1
- package/package.json +1 -1
package/dist/assets/plugin.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$schema": "https://agent-plugins.org/schemas/1.0.0/plugin.schema.json",
|
|
3
3
|
"name": "av",
|
|
4
|
-
"version": "4.11.
|
|
4
|
+
"version": "4.11.1",
|
|
5
5
|
"description": "Delegate repository goals to Agent Valley and inspect mission progress and verification evidence.",
|
|
6
6
|
"author": {
|
|
7
7
|
"name": "Agent Valley"
|
package/dist/index.js
CHANGED
|
@@ -7144,6 +7144,8 @@ function isUnavailableAgentModel(reason) {
|
|
|
7144
7144
|
return /\bmodel not (?:found|available)\b|(?:^|:\s*)(?:the )?model (?:is )?unavailable(?:[.!:]|$)/i.test(normalized);
|
|
7145
7145
|
}
|
|
7146
7146
|
function classifyFailure(reason) {
|
|
7147
|
+
if (TRANSIENT_TRANSPORT.test(reason))
|
|
7148
|
+
return "provider";
|
|
7147
7149
|
if (/unauthori[sz]ed|authentication|login required|log in|expired token|invalid.*(?:token|api.key)|\b401\b|\b403\b/i.test(reason))
|
|
7148
7150
|
return "authentication";
|
|
7149
7151
|
if (/rate.?limit|too many requests|\b429\b/i.test(reason))
|
|
@@ -7313,7 +7315,7 @@ function resolveExternalEffect(mission, taskId, result) {
|
|
|
7313
7315
|
message: `Operator reconciled external effect: ${result}.`
|
|
7314
7316
|
});
|
|
7315
7317
|
}
|
|
7316
|
-
var MissionPause;
|
|
7318
|
+
var MissionPause, TRANSIENT_TRANSPORT;
|
|
7317
7319
|
var init_execution = __esm(() => {
|
|
7318
7320
|
init_contracts();
|
|
7319
7321
|
MissionPause = class MissionPause extends Error {
|
|
@@ -7325,6 +7327,7 @@ var init_execution = __esm(() => {
|
|
|
7325
7327
|
this.nextRunAt = nextRunAt;
|
|
7326
7328
|
}
|
|
7327
7329
|
};
|
|
7330
|
+
TRANSIENT_TRANSPORT = /\bRPC timeout for\b|\bworkspace routing discovery failed\b/i;
|
|
7328
7331
|
});
|
|
7329
7332
|
|
|
7330
7333
|
// ../../packages/core/src/chief/parallel-contract.ts
|
package/dist/supervisor.js
CHANGED
|
@@ -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
|