nexus-agents 8.46.10 → 8.46.12

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.
@@ -8,7 +8,7 @@ import {
8
8
  NODE_ENGINE_RANGE,
9
9
  VERSION,
10
10
  isNodeVersionSupported
11
- } from "./chunk-3EPFTM2Y.js";
11
+ } from "./chunk-K6EG4H2Y.js";
12
12
  import {
13
13
  capitalize
14
14
  } from "./chunk-7LP6VJRP.js";
@@ -1227,7 +1227,7 @@ async function runDoctorFix(result) {
1227
1227
  writeLine2("\u2500".repeat(40));
1228
1228
  let fixCount = 0;
1229
1229
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1230
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-EWHVZ7RD.js");
1230
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-EVVSBUH3.js");
1231
1231
  const outcome = describeDataDirFix2(initDataDirectories2());
1232
1232
  writeLine2(outcome.line);
1233
1233
  if (outcome.counted) fixCount++;
@@ -1329,4 +1329,4 @@ export {
1329
1329
  startStdioServer,
1330
1330
  closeServer
1331
1331
  };
1332
- //# sourceMappingURL=chunk-RSPUIHVT.js.map
1332
+ //# sourceMappingURL=chunk-7JSICUB5.js.map
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  import semver from "semver";
3
- var VERSION = true ? "8.46.10" : "dev";
3
+ var VERSION = true ? "8.46.12" : "dev";
4
4
  var NODE_ENGINE_RANGE = ">=22.5.0";
5
5
  function isNodeVersionSupported(version) {
6
6
  return semver.satisfies(version, NODE_ENGINE_RANGE);
@@ -11,4 +11,4 @@ export {
11
11
  NODE_ENGINE_RANGE,
12
12
  isNodeVersionSupported
13
13
  };
14
- //# sourceMappingURL=chunk-3EPFTM2Y.js.map
14
+ //# sourceMappingURL=chunk-K6EG4H2Y.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-3EPFTM2Y.js";
3
+ } from "./chunk-K6EG4H2Y.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
6
  } from "./chunk-3AWXED62.js";
@@ -2317,4 +2317,4 @@ export {
2317
2317
  VOTING_THRESHOLDS,
2318
2318
  ConsensusMetricsSchema
2319
2319
  };
2320
- //# sourceMappingURL=chunk-MMO5R7O7.js.map
2320
+ //# sourceMappingURL=chunk-QVUWED65.js.map
@@ -23,10 +23,10 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-MMO5R7O7.js";
26
+ } from "./chunk-QVUWED65.js";
27
27
  import {
28
28
  VERSION
29
- } from "./chunk-3EPFTM2Y.js";
29
+ } from "./chunk-K6EG4H2Y.js";
30
30
  import {
31
31
  assessPanelIndependence,
32
32
  countDistinctModels,
@@ -7850,4 +7850,4 @@ export {
7850
7850
  CONSENSUS_VOTE_TOOL_SCHEMA,
7851
7851
  registerConsensusVoteTool
7852
7852
  };
7853
- //# sourceMappingURL=chunk-LANLHL4Q.js.map
7853
+ //# sourceMappingURL=chunk-RENU7KZA.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-MMO5R7O7.js";
10
+ } from "./chunk-QVUWED65.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -2173,4 +2173,4 @@ export {
2173
2173
  runImprovementReview,
2174
2174
  registerImprovementReviewTool
2175
2175
  };
2176
- //# sourceMappingURL=chunk-SXFDZS2N.js.map
2176
+ //# sourceMappingURL=chunk-YZ3RVX52.js.map
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-RSPUIHVT.js";
24
+ } from "./chunk-7JSICUB5.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-QLF22ILR.js";
@@ -55,7 +55,7 @@ import {
55
55
  toJobSummary,
56
56
  updateStage,
57
57
  writeJobCancelled
58
- } from "./chunk-LANLHL4Q.js";
58
+ } from "./chunk-RENU7KZA.js";
59
59
  import {
60
60
  allOf,
61
61
  anyOf
@@ -75,7 +75,7 @@ import {
75
75
  } from "./chunk-43ONDTAK.js";
76
76
  import {
77
77
  withPrerequisite
78
- } from "./chunk-SXFDZS2N.js";
78
+ } from "./chunk-YZ3RVX52.js";
79
79
  import {
80
80
  NOOP_NOTIFIER,
81
81
  RateLimiter,
@@ -100,7 +100,7 @@ import {
100
100
  withAuditTrail,
101
101
  withProgressHeartbeat,
102
102
  wrapToolWithTimeout
103
- } from "./chunk-MMO5R7O7.js";
103
+ } from "./chunk-QVUWED65.js";
104
104
  import {
105
105
  createAuditTrail,
106
106
  createGraphAuditBridge,
@@ -31979,6 +31979,16 @@ function createDefaultPolicyEngine() {
31979
31979
 
31980
31980
  // src/pipeline/task-contract-builders.ts
31981
31981
  import { randomUUID as randomUUID9 } from "node:crypto";
31982
+ var sharedAnalyzer;
31983
+ function analyzeForContract(task) {
31984
+ sharedAnalyzer ??= createSharedTaskAnalyzer();
31985
+ const result = sharedAnalyzer.analyze(task);
31986
+ return {
31987
+ complexity: result.complexity,
31988
+ taskType: result.taskType,
31989
+ ambiguityScore: result.ambiguityScore
31990
+ };
31991
+ }
31982
31992
  function buildBaseTaskContract(input) {
31983
31993
  const now = Date.now();
31984
31994
  return {
@@ -32032,7 +32042,9 @@ function delegateInputToTaskContract(input, opts = {}) {
32032
32042
  return buildBaseTaskContract({
32033
32043
  idPrefix: "delegate",
32034
32044
  task: input.task,
32035
- analysis: { complexity: "moderate", taskType: "routing", ambiguityScore: 0.1 },
32045
+ // Derived, not asserted (#5924). This was a literal — every task through
32046
+ // this entry point recorded `moderate/routing/0.1` whatever it actually was.
32047
+ analysis: analyzeForContract(input.task),
32036
32048
  metadata
32037
32049
  });
32038
32050
  }
@@ -32122,7 +32134,9 @@ function orchestrateInputToTaskContract(input, opts = {}) {
32122
32134
  return buildBaseTaskContract({
32123
32135
  idPrefix: "orchestrate",
32124
32136
  task: input.task,
32125
- analysis: { complexity: "high", taskType: "orchestration", ambiguityScore: 0.3 },
32137
+ // Derived, not asserted (#5924). This was a literal — every task through
32138
+ // this entry point recorded `high/orchestration/0.3` whatever it actually was.
32139
+ analysis: analyzeForContract(input.task),
32126
32140
  metadata
32127
32141
  });
32128
32142
  }
@@ -46078,7 +46092,7 @@ function buildVotingInput(plan, config) {
46078
46092
  }
46079
46093
  async function executeSingleVote(plan, config, log) {
46080
46094
  try {
46081
- const { executeVoting } = await import("./consensus-vote-HEEK6FWT.js");
46095
+ const { executeVoting } = await import("./consensus-vote-QEDB75LI.js");
46082
46096
  const input = buildVotingInput(plan, config);
46083
46097
  const result = await executeVoting(input, log);
46084
46098
  return parseVotingResult(result);
@@ -47873,7 +47887,7 @@ ${contextBlock}`;
47873
47887
  const strategy = config.votingStrategy ?? "higher_order";
47874
47888
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47875
47889
  try {
47876
- const { executeVoting } = await import("./consensus-vote-HEEK6FWT.js");
47890
+ const { executeVoting } = await import("./consensus-vote-QEDB75LI.js");
47877
47891
  const votingResult = await executeVoting(
47878
47892
  {
47879
47893
  proposal: buildVoteProposal(plan, research),
@@ -56607,4 +56621,4 @@ export {
56607
56621
  startPipelineEventBridge,
56608
56622
  shutdownPipelineEventBridge
56609
56623
  };
56610
- //# sourceMappingURL=chunk-ENFHSL5U.js.map
56624
+ //# sourceMappingURL=chunk-Z7XY4BJR.js.map