nexus-agents 6.3.13 → 6.3.14
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-PGJNRXQH.js → chunk-BGU4D2V3.js} +3 -3
- package/dist/{chunk-O2R7UKMS.js → chunk-E62DHXET.js} +2 -2
- package/dist/{chunk-FAPRT3LH.js → chunk-EKHAM2V4.js} +6 -6
- package/dist/{chunk-VVZMQOUX.js → chunk-OS5S4ZQR.js} +2 -2
- package/dist/{chunk-B2W7VFTM.js → chunk-P6I2FUZB.js} +2 -2
- package/dist/chunk-SKSE73HA.js +7 -0
- package/dist/cli.js +12 -29
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-3ZINEB6I.js → consensus-vote-Y6GUOL7B.js} +4 -4
- package/dist/{improvement-review-EJJONDPY.js → improvement-review-FFLHSZSW.js} +4 -4
- package/dist/index.js +7 -7
- package/dist/models-dev-snapshot.json +77 -53
- package/dist/{setup-data-dir-J2GNLCPX.js → setup-data-dir-DRAUAWKV.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-VL675LUE.js +0 -7
- /package/dist/{chunk-PGJNRXQH.js.map → chunk-BGU4D2V3.js.map} +0 -0
- /package/dist/{chunk-O2R7UKMS.js.map → chunk-E62DHXET.js.map} +0 -0
- /package/dist/{chunk-FAPRT3LH.js.map → chunk-EKHAM2V4.js.map} +0 -0
- /package/dist/{chunk-VVZMQOUX.js.map → chunk-OS5S4ZQR.js.map} +0 -0
- /package/dist/{chunk-B2W7VFTM.js.map → chunk-P6I2FUZB.js.map} +0 -0
- /package/dist/{chunk-VL675LUE.js.map → chunk-SKSE73HA.js.map} +0 -0
- /package/dist/{consensus-vote-3ZINEB6I.js.map → consensus-vote-Y6GUOL7B.js.map} +0 -0
- /package/dist/{improvement-review-EJJONDPY.js.map → improvement-review-FFLHSZSW.js.map} +0 -0
- /package/dist/{setup-data-dir-J2GNLCPX.js.map → setup-data-dir-DRAUAWKV.js.map} +0 -0
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-OQB3XC5O.js";
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-SKSE73HA.js";
|
|
10
10
|
import {
|
|
11
11
|
capitalize
|
|
12
12
|
} from "./chunk-6T3EPABN.js";
|
|
@@ -1201,7 +1201,7 @@ async function runDoctorFix(result) {
|
|
|
1201
1201
|
writeLine2("\u2500".repeat(40));
|
|
1202
1202
|
let fixCount = 0;
|
|
1203
1203
|
if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
|
|
1204
|
-
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-
|
|
1204
|
+
const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-DRAUAWKV.js");
|
|
1205
1205
|
const outcome = describeDataDirFix2(initDataDirectories2());
|
|
1206
1206
|
writeLine2(outcome.line);
|
|
1207
1207
|
if (outcome.counted) fixCount++;
|
|
@@ -1303,4 +1303,4 @@ export {
|
|
|
1303
1303
|
startStdioServer,
|
|
1304
1304
|
closeServer
|
|
1305
1305
|
};
|
|
1306
|
-
//# sourceMappingURL=chunk-
|
|
1306
|
+
//# sourceMappingURL=chunk-BGU4D2V3.js.map
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-OS5S4ZQR.js";
|
|
27
27
|
import {
|
|
28
28
|
assessPanelIndependence,
|
|
29
29
|
countDistinctModels,
|
|
@@ -6878,4 +6878,4 @@ export {
|
|
|
6878
6878
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
6879
6879
|
registerConsensusVoteTool
|
|
6880
6880
|
};
|
|
6881
|
-
//# sourceMappingURL=chunk-
|
|
6881
|
+
//# sourceMappingURL=chunk-E62DHXET.js.map
|
|
@@ -21,7 +21,7 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-BGU4D2V3.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
27
|
} from "./chunk-5NWH7OSN.js";
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
simulationDeniedResult,
|
|
48
48
|
toJobSummary,
|
|
49
49
|
writeJobCancelled
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-E62DHXET.js";
|
|
51
51
|
import {
|
|
52
52
|
allOf
|
|
53
53
|
} from "./chunk-OQB3XC5O.js";
|
|
@@ -64,7 +64,7 @@ import {
|
|
|
64
64
|
} from "./chunk-NVFYMGCC.js";
|
|
65
65
|
import {
|
|
66
66
|
withPrerequisite
|
|
67
|
-
} from "./chunk-
|
|
67
|
+
} from "./chunk-P6I2FUZB.js";
|
|
68
68
|
import {
|
|
69
69
|
NOOP_NOTIFIER,
|
|
70
70
|
RateLimiter,
|
|
@@ -88,7 +88,7 @@ import {
|
|
|
88
88
|
withAuditTrail,
|
|
89
89
|
withProgressHeartbeat,
|
|
90
90
|
wrapToolWithTimeout
|
|
91
|
-
} from "./chunk-
|
|
91
|
+
} from "./chunk-OS5S4ZQR.js";
|
|
92
92
|
import {
|
|
93
93
|
createAuditTrail,
|
|
94
94
|
createGraphAuditBridge,
|
|
@@ -47490,7 +47490,7 @@ ${contextBlock}`;
|
|
|
47490
47490
|
const strategy = config.votingStrategy ?? "higher_order";
|
|
47491
47491
|
await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
|
|
47492
47492
|
try {
|
|
47493
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
47493
|
+
const { executeVoting } = await import("./consensus-vote-Y6GUOL7B.js");
|
|
47494
47494
|
const votingResult = await executeVoting(
|
|
47495
47495
|
{
|
|
47496
47496
|
proposal: buildVoteProposal(plan, research),
|
|
@@ -56121,4 +56121,4 @@ export {
|
|
|
56121
56121
|
shutdownFeedbackSubscriber,
|
|
56122
56122
|
createEventBusBridge
|
|
56123
56123
|
};
|
|
56124
|
-
//# sourceMappingURL=chunk-
|
|
56124
|
+
//# sourceMappingURL=chunk-EKHAM2V4.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-SKSE73HA.js";
|
|
4
4
|
import {
|
|
5
5
|
emitClawGuardViolation
|
|
6
6
|
} from "./chunk-DR7DYEFQ.js";
|
|
@@ -2135,4 +2135,4 @@ export {
|
|
|
2135
2135
|
VOTING_THRESHOLDS,
|
|
2136
2136
|
ConsensusMetricsSchema
|
|
2137
2137
|
};
|
|
2138
|
-
//# sourceMappingURL=chunk-
|
|
2138
|
+
//# sourceMappingURL=chunk-OS5S4ZQR.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-OS5S4ZQR.js";
|
|
11
11
|
import {
|
|
12
12
|
JsonlStore,
|
|
13
13
|
SECURITY_KEYWORDS,
|
|
@@ -2159,4 +2159,4 @@ export {
|
|
|
2159
2159
|
runImprovementReview,
|
|
2160
2160
|
registerImprovementReviewTool
|
|
2161
2161
|
};
|
|
2162
|
-
//# sourceMappingURL=chunk-
|
|
2162
|
+
//# sourceMappingURL=chunk-P6I2FUZB.js.map
|
package/dist/cli.js
CHANGED
|
@@ -153,7 +153,7 @@ import {
|
|
|
153
153
|
validateNexusEnv,
|
|
154
154
|
validateWorkflow,
|
|
155
155
|
wrapInMarkdownFence
|
|
156
|
-
} from "./chunk-
|
|
156
|
+
} from "./chunk-EKHAM2V4.js";
|
|
157
157
|
import "./chunk-L3ZVRVHA.js";
|
|
158
158
|
import "./chunk-HFOQKCD2.js";
|
|
159
159
|
import "./chunk-RSMG2DPB.js";
|
|
@@ -172,7 +172,7 @@ import {
|
|
|
172
172
|
doctorCommand,
|
|
173
173
|
initDataDirectories,
|
|
174
174
|
runDoctor
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-BGU4D2V3.js";
|
|
176
176
|
import {
|
|
177
177
|
buildOpenAICompatAdapters,
|
|
178
178
|
readOpenAICompatEnv
|
|
@@ -191,7 +191,7 @@ import {
|
|
|
191
191
|
recordAuthenticVote,
|
|
192
192
|
registerConsensusVoteTool,
|
|
193
193
|
toRecordDecision
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-E62DHXET.js";
|
|
195
195
|
import {
|
|
196
196
|
loadUsageEvents,
|
|
197
197
|
rollupByModel
|
|
@@ -227,15 +227,15 @@ import {
|
|
|
227
227
|
registerImprovementReviewTool,
|
|
228
228
|
runImprovementReview,
|
|
229
229
|
scanForSecrets
|
|
230
|
-
} from "./chunk-
|
|
230
|
+
} from "./chunk-P6I2FUZB.js";
|
|
231
231
|
import {
|
|
232
232
|
createDefaultPolicyFirewall,
|
|
233
233
|
setGlobalPolicyFirewall,
|
|
234
234
|
stagePolicyFirewallForRollout
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-OS5S4ZQR.js";
|
|
236
236
|
import {
|
|
237
237
|
VERSION
|
|
238
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-SKSE73HA.js";
|
|
239
239
|
import "./chunk-DR7DYEFQ.js";
|
|
240
240
|
import {
|
|
241
241
|
createUnifiedRegistry,
|
|
@@ -12077,14 +12077,6 @@ async function verifyCommand(options) {
|
|
|
12077
12077
|
import { writeFileSync as writeFileSync5 } from "fs";
|
|
12078
12078
|
|
|
12079
12079
|
// src/cli/learning-metrics-logic.ts
|
|
12080
|
-
var FEATURE_NAMES = [
|
|
12081
|
-
"taskComplexity",
|
|
12082
|
-
"contextLength",
|
|
12083
|
-
"isCodeTask",
|
|
12084
|
-
"isReasoningTask",
|
|
12085
|
-
"budgetUtilization",
|
|
12086
|
-
"timePressure"
|
|
12087
|
-
];
|
|
12088
12080
|
function gatherLearningMetrics(bandit, metricsCollector, feedbackIntegration, options) {
|
|
12089
12081
|
const timestamp = getTimeProvider().nowIso();
|
|
12090
12082
|
const periodHours = options.period;
|
|
@@ -12156,20 +12148,11 @@ function aggregateFeatureImportance(banditStats) {
|
|
|
12156
12148
|
featureMap.set(fi.feature, { sum: existing.sum + fi.importance, count: existing.count + 1 });
|
|
12157
12149
|
}
|
|
12158
12150
|
}
|
|
12159
|
-
const topFeatures = Array.from(featureMap.entries()).map(
|
|
12160
|
-
|
|
12161
|
-
|
|
12162
|
-
|
|
12163
|
-
|
|
12164
|
-
})
|
|
12165
|
-
).sort((a, b) => Math.abs(b.importance) - Math.abs(a.importance)).slice(0, 5);
|
|
12166
|
-
if (topFeatures.length === 0) {
|
|
12167
|
-
return FEATURE_NAMES.slice(0, 5).map((feature) => ({
|
|
12168
|
-
feature,
|
|
12169
|
-
importance: 0,
|
|
12170
|
-
direction: "positive"
|
|
12171
|
-
}));
|
|
12172
|
-
}
|
|
12151
|
+
const topFeatures = Array.from(featureMap.entries()).map(([feature, { sum, count }]) => ({
|
|
12152
|
+
feature,
|
|
12153
|
+
importance: sum / count,
|
|
12154
|
+
direction: sum >= 0 ? "positive" : "negative"
|
|
12155
|
+
})).sort((a, b) => Math.abs(b.importance) - Math.abs(a.importance)).slice(0, 5);
|
|
12173
12156
|
return topFeatures;
|
|
12174
12157
|
}
|
|
12175
12158
|
function computeBanditProgress(banditStats, explorationStats) {
|
|
@@ -19603,7 +19586,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
19603
19586
|
let running = false;
|
|
19604
19587
|
const runOnce = async () => {
|
|
19605
19588
|
try {
|
|
19606
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
19589
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-FFLHSZSW.js");
|
|
19607
19590
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
19608
19591
|
const result = await runImprovementReview2(input, { logger: logger22 });
|
|
19609
19592
|
logger22.info("Scheduled improvement_review complete", {
|