nexus-agents 6.3.14 → 6.3.17
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-YPNQPT2F.js → chunk-43SVUIPL.js} +1 -1
- package/dist/chunk-43SVUIPL.js.map +1 -0
- package/dist/{chunk-5NWH7OSN.js → chunk-ET67NYCJ.js} +2 -2
- package/dist/{chunk-E62DHXET.js → chunk-IRHLTW3P.js} +3 -3
- package/dist/chunk-KASDQSEA.js +7 -0
- package/dist/{chunk-EKHAM2V4.js → chunk-LT2LUIQK.js} +9 -9
- package/dist/{chunk-OS5S4ZQR.js → chunk-N34KB6DR.js} +2 -2
- package/dist/{chunk-BGU4D2V3.js → chunk-OI6XXZOE.js} +3 -3
- package/dist/{chunk-P6I2FUZB.js → chunk-V2OHGKB5.js} +2 -2
- package/dist/cli.js +13 -12
- package/dist/cli.js.map +1 -1
- package/dist/{consensus-vote-Y6GUOL7B.js → consensus-vote-OHOQXNTT.js} +4 -4
- package/dist/{expert-bridge-5IMXL2IE.js → expert-bridge-DWBQLHPG.js} +2 -2
- package/dist/{expert-config-5SVQQ2L6.js → expert-config-TJ7KOKNX.js} +2 -2
- package/dist/{improvement-review-FFLHSZSW.js → improvement-review-F2POEVI4.js} +4 -4
- package/dist/index.d.ts +11 -0
- package/dist/index.js +9 -9
- package/dist/{setup-data-dir-DRAUAWKV.js → setup-data-dir-BQVEUXP5.js} +3 -3
- package/package.json +1 -1
- package/dist/chunk-SKSE73HA.js +0 -7
- package/dist/chunk-YPNQPT2F.js.map +0 -1
- /package/dist/{chunk-5NWH7OSN.js.map → chunk-ET67NYCJ.js.map} +0 -0
- /package/dist/{chunk-E62DHXET.js.map → chunk-IRHLTW3P.js.map} +0 -0
- /package/dist/{chunk-SKSE73HA.js.map → chunk-KASDQSEA.js.map} +0 -0
- /package/dist/{chunk-EKHAM2V4.js.map → chunk-LT2LUIQK.js.map} +0 -0
- /package/dist/{chunk-OS5S4ZQR.js.map → chunk-N34KB6DR.js.map} +0 -0
- /package/dist/{chunk-BGU4D2V3.js.map → chunk-OI6XXZOE.js.map} +0 -0
- /package/dist/{chunk-P6I2FUZB.js.map → chunk-V2OHGKB5.js.map} +0 -0
- /package/dist/{consensus-vote-Y6GUOL7B.js.map → consensus-vote-OHOQXNTT.js.map} +0 -0
- /package/dist/{expert-bridge-5IMXL2IE.js.map → expert-bridge-DWBQLHPG.js.map} +0 -0
- /package/dist/{expert-config-5SVQQ2L6.js.map → expert-config-TJ7KOKNX.js.map} +0 -0
- /package/dist/{improvement-review-FFLHSZSW.js.map → improvement-review-F2POEVI4.js.map} +0 -0
- /package/dist/{setup-data-dir-DRAUAWKV.js.map → setup-data-dir-BQVEUXP5.js.map} +0 -0
|
@@ -167,7 +167,7 @@ async function dispatchWithRateLimitRetry(router, task, expertType, start) {
|
|
|
167
167
|
async function executeExpert(expertType, prompt) {
|
|
168
168
|
const start = getTimeProvider().now();
|
|
169
169
|
try {
|
|
170
|
-
const { BUILT_IN_EXPERTS } = await import("./expert-config-
|
|
170
|
+
const { BUILT_IN_EXPERTS } = await import("./expert-config-TJ7KOKNX.js");
|
|
171
171
|
const config = BUILT_IN_EXPERTS[expertType];
|
|
172
172
|
const fullPrompt = `${config.systemPrompt}
|
|
173
173
|
|
|
@@ -213,4 +213,4 @@ export {
|
|
|
213
213
|
tokenSplitFromUsage,
|
|
214
214
|
executeExpert
|
|
215
215
|
};
|
|
216
|
-
//# sourceMappingURL=chunk-
|
|
216
|
+
//# sourceMappingURL=chunk-ET67NYCJ.js.map
|
|
@@ -23,7 +23,7 @@ import {
|
|
|
23
23
|
toolSuccessStructured,
|
|
24
24
|
withProgressHeartbeat,
|
|
25
25
|
wrapToolWithTimeout
|
|
26
|
-
} from "./chunk-
|
|
26
|
+
} from "./chunk-N34KB6DR.js";
|
|
27
27
|
import {
|
|
28
28
|
assessPanelIndependence,
|
|
29
29
|
countDistinctModels,
|
|
@@ -6300,7 +6300,7 @@ function logPartialProposal(bounded, log) {
|
|
|
6300
6300
|
}
|
|
6301
6301
|
async function runContrarianCheck(proposal, log) {
|
|
6302
6302
|
try {
|
|
6303
|
-
const { executeExpert } = await import("./expert-bridge-
|
|
6303
|
+
const { executeExpert } = await import("./expert-bridge-DWBQLHPG.js");
|
|
6304
6304
|
const bounded = boundArtifactForReview(proposal, CONTRARIAN_PROPOSAL_BUDGET, "proposal");
|
|
6305
6305
|
logPartialProposal(bounded, log);
|
|
6306
6306
|
const result = await executeExpert("architecture", buildContrarianPrompt(bounded));
|
|
@@ -6878,4 +6878,4 @@ export {
|
|
|
6878
6878
|
CONSENSUS_VOTE_TOOL_SCHEMA,
|
|
6879
6879
|
registerConsensusVoteTool
|
|
6880
6880
|
};
|
|
6881
|
-
//# sourceMappingURL=chunk-
|
|
6881
|
+
//# sourceMappingURL=chunk-IRHLTW3P.js.map
|
|
@@ -21,10 +21,10 @@ import {
|
|
|
21
21
|
import {
|
|
22
22
|
DEFAULT_TASK_TTL_MS,
|
|
23
23
|
clampTaskTtl
|
|
24
|
-
} from "./chunk-
|
|
24
|
+
} from "./chunk-OI6XXZOE.js";
|
|
25
25
|
import {
|
|
26
26
|
executeExpert
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-ET67NYCJ.js";
|
|
28
28
|
import {
|
|
29
29
|
JobStatusSchema,
|
|
30
30
|
VOTER_ROLES,
|
|
@@ -47,7 +47,7 @@ import {
|
|
|
47
47
|
simulationDeniedResult,
|
|
48
48
|
toJobSummary,
|
|
49
49
|
writeJobCancelled
|
|
50
|
-
} from "./chunk-
|
|
50
|
+
} from "./chunk-IRHLTW3P.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-V2OHGKB5.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-N34KB6DR.js";
|
|
92
92
|
import {
|
|
93
93
|
createAuditTrail,
|
|
94
94
|
createGraphAuditBridge,
|
|
@@ -160,7 +160,7 @@ import {
|
|
|
160
160
|
BuiltInExpertTypeSchema,
|
|
161
161
|
ExpertConfigSchema,
|
|
162
162
|
getSecurityKnowledgePrompt
|
|
163
|
-
} from "./chunk-
|
|
163
|
+
} from "./chunk-43SVUIPL.js";
|
|
164
164
|
import {
|
|
165
165
|
getMemoryRegistry
|
|
166
166
|
} from "./chunk-KSQSWEFH.js";
|
|
@@ -45566,7 +45566,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
|
|
|
45566
45566
|
]);
|
|
45567
45567
|
async function classifyWithLLM(task) {
|
|
45568
45568
|
try {
|
|
45569
|
-
const { executeExpert: executeExpert2 } = await import("./expert-bridge-
|
|
45569
|
+
const { executeExpert: executeExpert2 } = await import("./expert-bridge-DWBQLHPG.js");
|
|
45570
45570
|
const prompt = [
|
|
45571
45571
|
"Classify this task into exactly one pipeline template.",
|
|
45572
45572
|
"Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
|
|
@@ -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-OHOQXNTT.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-LT2LUIQK.js.map
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import {
|
|
2
2
|
VERSION
|
|
3
|
-
} from "./chunk-
|
|
3
|
+
} from "./chunk-KASDQSEA.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-N34KB6DR.js.map
|
|
@@ -6,7 +6,7 @@ import {
|
|
|
6
6
|
} from "./chunk-OQB3XC5O.js";
|
|
7
7
|
import {
|
|
8
8
|
VERSION
|
|
9
|
-
} from "./chunk-
|
|
9
|
+
} from "./chunk-KASDQSEA.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-BQVEUXP5.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-OI6XXZOE.js.map
|
|
@@ -7,7 +7,7 @@ import {
|
|
|
7
7
|
toolStructuredError,
|
|
8
8
|
toolSuccessStructured,
|
|
9
9
|
wrapToolWithTimeout
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-N34KB6DR.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-V2OHGKB5.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-LT2LUIQK.js";
|
|
157
157
|
import "./chunk-L3ZVRVHA.js";
|
|
158
158
|
import "./chunk-HFOQKCD2.js";
|
|
159
159
|
import "./chunk-RSMG2DPB.js";
|
|
@@ -172,14 +172,14 @@ import {
|
|
|
172
172
|
doctorCommand,
|
|
173
173
|
initDataDirectories,
|
|
174
174
|
runDoctor
|
|
175
|
-
} from "./chunk-
|
|
175
|
+
} from "./chunk-OI6XXZOE.js";
|
|
176
176
|
import {
|
|
177
177
|
buildOpenAICompatAdapters,
|
|
178
178
|
readOpenAICompatEnv
|
|
179
179
|
} from "./chunk-CF5CXFYJ.js";
|
|
180
180
|
import {
|
|
181
181
|
shutdownExpertBridge
|
|
182
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-ET67NYCJ.js";
|
|
183
183
|
import {
|
|
184
184
|
ConsensusVoteInputSchema,
|
|
185
185
|
DEFAULT_VOTE_TIMEOUT_MS,
|
|
@@ -191,7 +191,7 @@ import {
|
|
|
191
191
|
recordAuthenticVote,
|
|
192
192
|
registerConsensusVoteTool,
|
|
193
193
|
toRecordDecision
|
|
194
|
-
} from "./chunk-
|
|
194
|
+
} from "./chunk-IRHLTW3P.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-V2OHGKB5.js";
|
|
231
231
|
import {
|
|
232
232
|
createDefaultPolicyFirewall,
|
|
233
233
|
setGlobalPolicyFirewall,
|
|
234
234
|
stagePolicyFirewallForRollout
|
|
235
|
-
} from "./chunk-
|
|
235
|
+
} from "./chunk-N34KB6DR.js";
|
|
236
236
|
import {
|
|
237
237
|
VERSION
|
|
238
|
-
} from "./chunk-
|
|
238
|
+
} from "./chunk-KASDQSEA.js";
|
|
239
239
|
import "./chunk-DR7DYEFQ.js";
|
|
240
240
|
import {
|
|
241
241
|
createUnifiedRegistry,
|
|
@@ -286,7 +286,7 @@ import {
|
|
|
286
286
|
import "./chunk-6ZYJ46HN.js";
|
|
287
287
|
import {
|
|
288
288
|
BUILT_IN_EXPERTS
|
|
289
|
-
} from "./chunk-
|
|
289
|
+
} from "./chunk-43SVUIPL.js";
|
|
290
290
|
import "./chunk-JEAKVUWM.js";
|
|
291
291
|
import "./chunk-KSQSWEFH.js";
|
|
292
292
|
import {
|
|
@@ -7351,12 +7351,13 @@ function printVoteDetails(votes, verbose) {
|
|
|
7351
7351
|
for (const v of votes) writeLine(formatVoteRow(v, { verbose }));
|
|
7352
7352
|
writeLine("");
|
|
7353
7353
|
}
|
|
7354
|
-
var
|
|
7354
|
+
var REASONING_RUNAWAY_GUARD_CHARS = 2e4;
|
|
7355
7355
|
function formatReasoning(reasoning) {
|
|
7356
7356
|
const trimmed = reasoning.trim();
|
|
7357
7357
|
if (trimmed === "") return "";
|
|
7358
|
-
const
|
|
7359
|
-
|
|
7358
|
+
const shown = trimmed.length > REASONING_RUNAWAY_GUARD_CHARS ? `${trimmed.slice(0, REASONING_RUNAWAY_GUARD_CHARS)}
|
|
7359
|
+
[reasoning truncated at ${String(REASONING_RUNAWAY_GUARD_CHARS)} characters]` : trimmed;
|
|
7360
|
+
const indented = shown.split("\n").map((line) => ` ${colors.dim}${line}${colors.reset}`).join("\n");
|
|
7360
7361
|
return `
|
|
7361
7362
|
${indented}`;
|
|
7362
7363
|
}
|
|
@@ -19586,7 +19587,7 @@ function startImprovementReviewScheduler(options) {
|
|
|
19586
19587
|
let running = false;
|
|
19587
19588
|
const runOnce = async () => {
|
|
19588
19589
|
try {
|
|
19589
|
-
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-
|
|
19590
|
+
const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-F2POEVI4.js");
|
|
19590
19591
|
const input = ImprovementReviewInputSchema2.parse({ fileIssues });
|
|
19591
19592
|
const result = await runImprovementReview2(input, { logger: logger22 });
|
|
19592
19593
|
logger22.info("Scheduled improvement_review complete", {
|