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.
Files changed (33) hide show
  1. package/dist/{chunk-YPNQPT2F.js → chunk-43SVUIPL.js} +1 -1
  2. package/dist/chunk-43SVUIPL.js.map +1 -0
  3. package/dist/{chunk-5NWH7OSN.js → chunk-ET67NYCJ.js} +2 -2
  4. package/dist/{chunk-E62DHXET.js → chunk-IRHLTW3P.js} +3 -3
  5. package/dist/chunk-KASDQSEA.js +7 -0
  6. package/dist/{chunk-EKHAM2V4.js → chunk-LT2LUIQK.js} +9 -9
  7. package/dist/{chunk-OS5S4ZQR.js → chunk-N34KB6DR.js} +2 -2
  8. package/dist/{chunk-BGU4D2V3.js → chunk-OI6XXZOE.js} +3 -3
  9. package/dist/{chunk-P6I2FUZB.js → chunk-V2OHGKB5.js} +2 -2
  10. package/dist/cli.js +13 -12
  11. package/dist/cli.js.map +1 -1
  12. package/dist/{consensus-vote-Y6GUOL7B.js → consensus-vote-OHOQXNTT.js} +4 -4
  13. package/dist/{expert-bridge-5IMXL2IE.js → expert-bridge-DWBQLHPG.js} +2 -2
  14. package/dist/{expert-config-5SVQQ2L6.js → expert-config-TJ7KOKNX.js} +2 -2
  15. package/dist/{improvement-review-FFLHSZSW.js → improvement-review-F2POEVI4.js} +4 -4
  16. package/dist/index.d.ts +11 -0
  17. package/dist/index.js +9 -9
  18. package/dist/{setup-data-dir-DRAUAWKV.js → setup-data-dir-BQVEUXP5.js} +3 -3
  19. package/package.json +1 -1
  20. package/dist/chunk-SKSE73HA.js +0 -7
  21. package/dist/chunk-YPNQPT2F.js.map +0 -1
  22. /package/dist/{chunk-5NWH7OSN.js.map → chunk-ET67NYCJ.js.map} +0 -0
  23. /package/dist/{chunk-E62DHXET.js.map → chunk-IRHLTW3P.js.map} +0 -0
  24. /package/dist/{chunk-SKSE73HA.js.map → chunk-KASDQSEA.js.map} +0 -0
  25. /package/dist/{chunk-EKHAM2V4.js.map → chunk-LT2LUIQK.js.map} +0 -0
  26. /package/dist/{chunk-OS5S4ZQR.js.map → chunk-N34KB6DR.js.map} +0 -0
  27. /package/dist/{chunk-BGU4D2V3.js.map → chunk-OI6XXZOE.js.map} +0 -0
  28. /package/dist/{chunk-P6I2FUZB.js.map → chunk-V2OHGKB5.js.map} +0 -0
  29. /package/dist/{consensus-vote-Y6GUOL7B.js.map → consensus-vote-OHOQXNTT.js.map} +0 -0
  30. /package/dist/{expert-bridge-5IMXL2IE.js.map → expert-bridge-DWBQLHPG.js.map} +0 -0
  31. /package/dist/{expert-config-5SVQQ2L6.js.map → expert-config-TJ7KOKNX.js.map} +0 -0
  32. /package/dist/{improvement-review-FFLHSZSW.js.map → improvement-review-F2POEVI4.js.map} +0 -0
  33. /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-5SVQQ2L6.js");
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-5NWH7OSN.js.map
216
+ //# sourceMappingURL=chunk-ET67NYCJ.js.map
@@ -23,7 +23,7 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-OS5S4ZQR.js";
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-5IMXL2IE.js");
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-E62DHXET.js.map
6881
+ //# sourceMappingURL=chunk-IRHLTW3P.js.map
@@ -0,0 +1,7 @@
1
+ // src/version.ts
2
+ var VERSION = true ? "6.3.17" : "dev";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-KASDQSEA.js.map
@@ -21,10 +21,10 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-BGU4D2V3.js";
24
+ } from "./chunk-OI6XXZOE.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-5NWH7OSN.js";
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-E62DHXET.js";
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-P6I2FUZB.js";
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-OS5S4ZQR.js";
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-YPNQPT2F.js";
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-5IMXL2IE.js");
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-Y6GUOL7B.js");
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-EKHAM2V4.js.map
56124
+ //# sourceMappingURL=chunk-LT2LUIQK.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-SKSE73HA.js";
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-OS5S4ZQR.js.map
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-SKSE73HA.js";
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-DRAUAWKV.js");
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-BGU4D2V3.js.map
1306
+ //# sourceMappingURL=chunk-OI6XXZOE.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-OS5S4ZQR.js";
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-P6I2FUZB.js.map
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-EKHAM2V4.js";
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-BGU4D2V3.js";
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-5NWH7OSN.js";
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-E62DHXET.js";
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-P6I2FUZB.js";
230
+ } from "./chunk-V2OHGKB5.js";
231
231
  import {
232
232
  createDefaultPolicyFirewall,
233
233
  setGlobalPolicyFirewall,
234
234
  stagePolicyFirewallForRollout
235
- } from "./chunk-OS5S4ZQR.js";
235
+ } from "./chunk-N34KB6DR.js";
236
236
  import {
237
237
  VERSION
238
- } from "./chunk-SKSE73HA.js";
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-YPNQPT2F.js";
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 MAX_REASONING_CHARS = 600;
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 clipped = trimmed.length > MAX_REASONING_CHARS ? `${trimmed.slice(0, MAX_REASONING_CHARS)}\u2026` : trimmed;
7359
- const indented = clipped.split("\n").map((line) => ` ${colors.dim}${line}${colors.reset}`).join("\n");
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-FFLHSZSW.js");
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", {