nexus-agents 2.120.1 → 2.120.2
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/{chunk-O56EMO45.js → chunk-BFVNQQZ3.js} +2 -2
- package/dist/{chunk-2PQNHP5Y.js → chunk-FUZ2LMMD.js} +19 -1
- package/dist/{chunk-2PQNHP5Y.js.map → chunk-FUZ2LMMD.js.map} +1 -1
- package/dist/{chunk-NHCAY372.js → chunk-GR46LD2P.js} +3 -3
- package/dist/{chunk-KQYEBRLU.js → chunk-HCBALIWN.js} +2 -2
- package/dist/{chunk-AEPFWQLE.js → chunk-S7JNS4NN.js} +2 -2
- package/dist/{chunk-LV26EF7E.js → chunk-VPTSHWYO.js} +81 -32
- package/dist/{chunk-LV26EF7E.js.map → chunk-VPTSHWYO.js.map} +1 -1
- package/dist/cli.js +7 -7
- package/dist/{consensus-vote-YM4BVTDO.js → consensus-vote-ALLKZH6O.js} +3 -3
- package/dist/{improvement-review-4G2MLOIK.js → improvement-review-ZOKIYJSL.js} +3 -3
- package/dist/index.d.ts +47 -7
- package/dist/index.js +6 -6
- package/dist/{setup-command-2JKY6AOS.js → setup-command-ZBSX6HOB.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-O56EMO45.js.map → chunk-BFVNQQZ3.js.map} +0 -0
- /package/dist/{chunk-NHCAY372.js.map → chunk-GR46LD2P.js.map} +0 -0
- /package/dist/{chunk-KQYEBRLU.js.map → chunk-HCBALIWN.js.map} +0 -0
- /package/dist/{chunk-AEPFWQLE.js.map → chunk-S7JNS4NN.js.map} +0 -0
- /package/dist/{consensus-vote-YM4BVTDO.js.map → consensus-vote-ALLKZH6O.js.map} +0 -0
- /package/dist/{improvement-review-4G2MLOIK.js.map → improvement-review-ZOKIYJSL.js.map} +0 -0
- /package/dist/{setup-command-2JKY6AOS.js.map → setup-command-ZBSX6HOB.js.map} +0 -0
|
@@ -8,7 +8,7 @@ import {
|
|
|
8
8
|
checkSqlite,
|
|
9
9
|
defaultConfig,
|
|
10
10
|
initDataDirectories
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-GR46LD2P.js";
|
|
12
12
|
import {
|
|
13
13
|
probeAllClis
|
|
14
14
|
} from "./chunk-NT7LFPXT.js";
|
|
@@ -2000,4 +2000,4 @@ export {
|
|
|
2000
2000
|
setupCommand,
|
|
2001
2001
|
setupCommandAsync
|
|
2002
2002
|
};
|
|
2003
|
-
//# sourceMappingURL=chunk-
|
|
2003
|
+
//# sourceMappingURL=chunk-BFVNQQZ3.js.map
|
|
@@ -528,6 +528,22 @@ var ERROR_ENVELOPE_META_KEY = "nexus-agents/error";
|
|
|
528
528
|
function defaultRetryable(category) {
|
|
529
529
|
return category === "transient";
|
|
530
530
|
}
|
|
531
|
+
var FAILURE_CATEGORY_COARSENING = {
|
|
532
|
+
timeout: "transient",
|
|
533
|
+
rate_limit: "transient",
|
|
534
|
+
connection: "transient",
|
|
535
|
+
authentication: "permission",
|
|
536
|
+
validation: "validation",
|
|
537
|
+
parse: "validation",
|
|
538
|
+
crash: "internal",
|
|
539
|
+
adapter_unavailable: "internal",
|
|
540
|
+
execution: "internal",
|
|
541
|
+
generic: "internal",
|
|
542
|
+
unknown: "internal"
|
|
543
|
+
};
|
|
544
|
+
function coarsenFailureCategory(category) {
|
|
545
|
+
return FAILURE_CATEGORY_COARSENING[category];
|
|
546
|
+
}
|
|
531
547
|
|
|
532
548
|
// src/mcp/tools/tool-result.ts
|
|
533
549
|
function toolSuccess(text) {
|
|
@@ -2558,6 +2574,8 @@ export {
|
|
|
2558
2574
|
logToolInvocationAudit,
|
|
2559
2575
|
logPolicyAudit,
|
|
2560
2576
|
logRateLimitAudit,
|
|
2577
|
+
defaultRetryable,
|
|
2578
|
+
coarsenFailureCategory,
|
|
2561
2579
|
toolSuccess,
|
|
2562
2580
|
toolSuccessStructured,
|
|
2563
2581
|
toolStructuredError,
|
|
@@ -2588,4 +2606,4 @@ export {
|
|
|
2588
2606
|
VOTING_THRESHOLDS,
|
|
2589
2607
|
ConsensusMetricsSchema
|
|
2590
2608
|
};
|
|
2591
|
-
//# sourceMappingURL=chunk-
|
|
2609
|
+
//# sourceMappingURL=chunk-FUZ2LMMD.js.map
|