nexus-agents 2.126.0 → 2.127.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/{chunk-ZEMNEMLH.js → chunk-FTX5Y6YE.js} +3 -3
- package/dist/{chunk-4V7BT56F.js → chunk-M5QEWTVL.js} +40 -1
- package/dist/{chunk-4V7BT56F.js.map → chunk-M5QEWTVL.js.map} +1 -1
- package/dist/{chunk-2TGC7UCV.js → chunk-O2WE7CES.js} +3 -3
- package/dist/{chunk-OFSRMEXP.js → chunk-S2W75BS2.js} +2 -2
- package/dist/cli.d.ts +6 -1
- package/dist/cli.js +275 -9
- package/dist/cli.js.map +1 -1
- package/dist/{improvement-review-OMTLRK3K.js → improvement-review-H4FDQV43.js} +2 -2
- package/dist/index.js +3 -3
- package/dist/{setup-command-AY3YPVDD.js → setup-command-MURIO6BX.js} +3 -3
- package/package.json +1 -1
- /package/dist/{chunk-ZEMNEMLH.js.map → chunk-FTX5Y6YE.js.map} +0 -0
- /package/dist/{chunk-2TGC7UCV.js.map → chunk-O2WE7CES.js.map} +0 -0
- /package/dist/{chunk-OFSRMEXP.js.map → chunk-S2W75BS2.js.map} +0 -0
- /package/dist/{improvement-review-OMTLRK3K.js.map → improvement-review-H4FDQV43.js.map} +0 -0
- /package/dist/{setup-command-AY3YPVDD.js.map → setup-command-MURIO6BX.js.map} +0 -0
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
} from "./chunk-PI4RZNLE.js";
|
|
48
48
|
import {
|
|
49
49
|
withPrerequisite
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-M5QEWTVL.js";
|
|
51
51
|
import {
|
|
52
52
|
NOOP_NOTIFIER,
|
|
53
53
|
RateLimiter,
|
|
@@ -122,7 +122,7 @@ import {
|
|
|
122
122
|
DEFAULT_TASK_TTL_MS,
|
|
123
123
|
DEFAULT_TOOL_RATE_LIMITS,
|
|
124
124
|
clampTaskTtl
|
|
125
|
-
} from "./chunk-
|
|
125
|
+
} from "./chunk-O2WE7CES.js";
|
|
126
126
|
import {
|
|
127
127
|
resolveInsideRoot
|
|
128
128
|
} from "./chunk-NUBSJGQZ.js";
|
|
@@ -50477,4 +50477,4 @@ export {
|
|
|
50477
50477
|
shutdownFeedbackSubscriber,
|
|
50478
50478
|
createEventBusBridge
|
|
50479
50479
|
};
|
|
50480
|
-
//# sourceMappingURL=chunk-
|
|
50480
|
+
//# sourceMappingURL=chunk-FTX5Y6YE.js.map
|
|
@@ -1008,6 +1008,42 @@ function getRemediationSoakSink() {
|
|
|
1008
1008
|
soakSingleton ??= createRemediationSoakSink();
|
|
1009
1009
|
return soakSingleton;
|
|
1010
1010
|
}
|
|
1011
|
+
function tallySoakRecord(t, r) {
|
|
1012
|
+
t.byCategory[r.category] = (t.byCategory[r.category] ?? 0) + 1;
|
|
1013
|
+
t.byPriority[r.priority] = (t.byPriority[r.priority] ?? 0) + 1;
|
|
1014
|
+
if (r.voteOutcome !== void 0) {
|
|
1015
|
+
t.voted++;
|
|
1016
|
+
if (r.voteOutcome.approved) t.approved++;
|
|
1017
|
+
}
|
|
1018
|
+
if (r.dryRunResult !== void 0) t.dryRunsCaptured++;
|
|
1019
|
+
}
|
|
1020
|
+
function summarizeRemediationSoak(records) {
|
|
1021
|
+
const t = {
|
|
1022
|
+
byCategory: {},
|
|
1023
|
+
byPriority: {},
|
|
1024
|
+
voted: 0,
|
|
1025
|
+
approved: 0,
|
|
1026
|
+
dryRunsCaptured: 0
|
|
1027
|
+
};
|
|
1028
|
+
for (const r of records) tallySoakRecord(t, r);
|
|
1029
|
+
const first = records[0]?.timestamp;
|
|
1030
|
+
const last = records[records.length - 1]?.timestamp;
|
|
1031
|
+
return {
|
|
1032
|
+
total: records.length,
|
|
1033
|
+
voted: t.voted,
|
|
1034
|
+
approved: t.approved,
|
|
1035
|
+
rejected: t.voted - t.approved,
|
|
1036
|
+
approvalRate: t.voted === 0 ? 0 : t.approved / t.voted,
|
|
1037
|
+
dryRunsCaptured: t.dryRunsCaptured,
|
|
1038
|
+
byCategory: t.byCategory,
|
|
1039
|
+
byPriority: t.byPriority,
|
|
1040
|
+
...first !== void 0 ? { firstTimestamp: first } : {},
|
|
1041
|
+
...last !== void 0 ? { lastTimestamp: last } : {}
|
|
1042
|
+
};
|
|
1043
|
+
}
|
|
1044
|
+
function readRemediationSoakSummary(sink = getRemediationSoakSink()) {
|
|
1045
|
+
return summarizeRemediationSoak(sink.getRecords());
|
|
1046
|
+
}
|
|
1011
1047
|
function parseVoteDetail(detail) {
|
|
1012
1048
|
const approved = /\bapproved\b/.test(detail);
|
|
1013
1049
|
const rejected = /\brejected\b/.test(detail);
|
|
@@ -1578,8 +1614,11 @@ export {
|
|
|
1578
1614
|
withPrerequisite,
|
|
1579
1615
|
createFitnessScoreCalculator,
|
|
1580
1616
|
calculateFitnessScore,
|
|
1617
|
+
JsonlStore,
|
|
1581
1618
|
scanForSecrets,
|
|
1582
1619
|
describeSecretFindings,
|
|
1620
|
+
getRemediationSoakSink,
|
|
1621
|
+
readRemediationSoakSummary,
|
|
1583
1622
|
createRemediationSoakCollector,
|
|
1584
1623
|
consensusFor,
|
|
1585
1624
|
classifySignalPriority,
|
|
@@ -1595,4 +1634,4 @@ export {
|
|
|
1595
1634
|
runImprovementReview,
|
|
1596
1635
|
registerImprovementReviewTool
|
|
1597
1636
|
};
|
|
1598
|
-
//# sourceMappingURL=chunk-
|
|
1637
|
+
//# sourceMappingURL=chunk-M5QEWTVL.js.map
|