nexus-agents 3.13.5 → 3.14.0

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 (25) hide show
  1. package/dist/{chunk-SBNZGQ6A.js → chunk-AV4X4YH3.js} +2 -2
  2. package/dist/{chunk-WXHO4ARH.js → chunk-AYLYRBS6.js} +12 -8
  3. package/dist/{chunk-WXHO4ARH.js.map → chunk-AYLYRBS6.js.map} +1 -1
  4. package/dist/{chunk-GUDO6DBM.js → chunk-JTH44T6O.js} +235 -76
  5. package/dist/chunk-JTH44T6O.js.map +1 -0
  6. package/dist/{chunk-JOWMSVIM.js → chunk-MHLXBATW.js} +37 -173
  7. package/dist/chunk-MHLXBATW.js.map +1 -0
  8. package/dist/{chunk-L5VEMKSA.js → chunk-NF2LMA5A.js} +3 -3
  9. package/dist/{chunk-ORXPIYVN.js → chunk-WZGXBPIY.js} +2 -2
  10. package/dist/cli.js +77 -31
  11. package/dist/cli.js.map +1 -1
  12. package/dist/{consensus-vote-5NXL324U.js → consensus-vote-NFXP65ET.js} +3 -3
  13. package/dist/{improvement-review-2IV2L7QI.js → improvement-review-AZHHCQ2Q.js} +3 -3
  14. package/dist/index.d.ts +8 -1
  15. package/dist/index.js +6 -6
  16. package/dist/{setup-command-X5RUUZH3.js → setup-command-NAXE7M4Q.js} +3 -3
  17. package/package.json +1 -1
  18. package/dist/chunk-GUDO6DBM.js.map +0 -1
  19. package/dist/chunk-JOWMSVIM.js.map +0 -1
  20. /package/dist/{chunk-SBNZGQ6A.js.map → chunk-AV4X4YH3.js.map} +0 -0
  21. /package/dist/{chunk-L5VEMKSA.js.map → chunk-NF2LMA5A.js.map} +0 -0
  22. /package/dist/{chunk-ORXPIYVN.js.map → chunk-WZGXBPIY.js.map} +0 -0
  23. /package/dist/{consensus-vote-5NXL324U.js.map → consensus-vote-NFXP65ET.js.map} +0 -0
  24. /package/dist/{improvement-review-2IV2L7QI.js.map → improvement-review-AZHHCQ2Q.js.map} +0 -0
  25. /package/dist/{setup-command-X5RUUZH3.js.map → setup-command-NAXE7M4Q.js.map} +0 -0
@@ -22,7 +22,7 @@ import {
22
22
  toolSuccess,
23
23
  withProgressHeartbeat,
24
24
  wrapToolWithTimeout
25
- } from "./chunk-GUDO6DBM.js";
25
+ } from "./chunk-JTH44T6O.js";
26
26
  import {
27
27
  createEvent,
28
28
  getGlobalRegistry
@@ -6761,4 +6761,4 @@ export {
6761
6761
  CONSENSUS_VOTE_TOOL_SCHEMA,
6762
6762
  registerConsensusVoteTool
6763
6763
  };
6764
- //# sourceMappingURL=chunk-SBNZGQ6A.js.map
6764
+ //# sourceMappingURL=chunk-AV4X4YH3.js.map
@@ -22,7 +22,7 @@ import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  DEFAULT_TOOL_RATE_LIMITS,
24
24
  clampTaskTtl
25
- } from "./chunk-L5VEMKSA.js";
25
+ } from "./chunk-NF2LMA5A.js";
26
26
  import {
27
27
  executeExpert
28
28
  } from "./chunk-OLTSYYXD.js";
@@ -46,7 +46,7 @@ import {
46
46
  simulationDeniedResult,
47
47
  toJobSummary,
48
48
  writeJobCancelled
49
- } from "./chunk-SBNZGQ6A.js";
49
+ } from "./chunk-AV4X4YH3.js";
50
50
  import {
51
51
  allOf
52
52
  } from "./chunk-OQB3XC5O.js";
@@ -63,7 +63,7 @@ import {
63
63
  } from "./chunk-5NYHH6XR.js";
64
64
  import {
65
65
  withPrerequisite
66
- } from "./chunk-JOWMSVIM.js";
66
+ } from "./chunk-MHLXBATW.js";
67
67
  import {
68
68
  NOOP_NOTIFIER,
69
69
  RateLimiter,
@@ -86,7 +86,7 @@ import {
86
86
  withAuditTrail,
87
87
  withProgressHeartbeat,
88
88
  wrapToolWithTimeout
89
- } from "./chunk-GUDO6DBM.js";
89
+ } from "./chunk-JTH44T6O.js";
90
90
  import {
91
91
  createAuditTrail,
92
92
  createGraphAuditBridge,
@@ -26067,7 +26067,9 @@ function renderHealthIndicators(health) {
26067
26067
  lines.push(`${check(health.healthyExploration)} Healthy Exploration`);
26068
26068
  lines.push(`${check(health.noUnderperformers)} No Underperformers`);
26069
26069
  lines.push("");
26070
- lines.push(`Overall Health: ${(health.healthScore * 100).toFixed(0)}%`);
26070
+ lines.push(
26071
+ health.healthScore === null ? "Overall Health: unmeasured (not enough recorded outcomes to score)" : `Overall Health: ${(health.healthScore * 100).toFixed(0)}%`
26072
+ );
26071
26073
  if (health.warnings.length > 0) {
26072
26074
  lines.push("");
26073
26075
  lines.push("Warnings:");
@@ -26198,8 +26200,10 @@ function calculateAvgReward(outcomes) {
26198
26200
  return outcomes.reduce((sum, o) => sum + o.reward, 0) / outcomes.length;
26199
26201
  }
26200
26202
  function computeHealthScore(hasMinimumData, isLearning, healthyExploration, noUnderperformers) {
26203
+ if (!hasMinimumData) return null;
26201
26204
  const scores = [
26202
- hasMinimumData ? 1 : 0.5,
26205
+ 1,
26206
+ // hasMinimumData, established above
26203
26207
  isLearning ? 1 : 0.5,
26204
26208
  healthyExploration ? 1 : 0.7,
26205
26209
  noUnderperformers ? 1 : 0.8
@@ -46057,7 +46061,7 @@ ${contextBlock}`;
46057
46061
  const strategy = config.votingStrategy ?? "higher_order";
46058
46062
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
46059
46063
  try {
46060
- const { executeVoting } = await import("./consensus-vote-5NXL324U.js");
46064
+ const { executeVoting } = await import("./consensus-vote-NFXP65ET.js");
46061
46065
  const votingResult = await executeVoting(
46062
46066
  {
46063
46067
  proposal: buildVoteProposal(plan, research),
@@ -54548,4 +54552,4 @@ export {
54548
54552
  shutdownFeedbackSubscriber,
54549
54553
  createEventBusBridge
54550
54554
  };
54551
- //# sourceMappingURL=chunk-WXHO4ARH.js.map
54555
+ //# sourceMappingURL=chunk-AYLYRBS6.js.map