nexus-agents 8.20.0 → 8.20.1

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.
@@ -0,0 +1,7 @@
1
+ // src/version.ts
2
+ var VERSION = true ? "8.20.1" : "dev";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-3ZPDWKYB.js.map
@@ -6,7 +6,7 @@ import {
6
6
  } from "./chunk-OQB3XC5O.js";
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-AWFW6FD4.js";
9
+ } from "./chunk-3ZPDWKYB.js";
10
10
  import {
11
11
  capitalize
12
12
  } from "./chunk-7LP6VJRP.js";
@@ -1220,7 +1220,7 @@ async function runDoctorFix(result) {
1220
1220
  writeLine2("\u2500".repeat(40));
1221
1221
  let fixCount = 0;
1222
1222
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1223
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-JHZPDCPY.js");
1223
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-524NSTT3.js");
1224
1224
  const outcome = describeDataDirFix2(initDataDirectories2());
1225
1225
  writeLine2(outcome.line);
1226
1226
  if (outcome.counted) fixCount++;
@@ -1322,4 +1322,4 @@ export {
1322
1322
  startStdioServer,
1323
1323
  closeServer
1324
1324
  };
1325
- //# sourceMappingURL=chunk-XSRCJ7FA.js.map
1325
+ //# sourceMappingURL=chunk-4EJYBLQ3.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-AWFW6FD4.js";
3
+ } from "./chunk-3ZPDWKYB.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
6
  } from "./chunk-TCTKOFNL.js";
@@ -2246,4 +2246,4 @@ export {
2246
2246
  VOTING_THRESHOLDS,
2247
2247
  ConsensusMetricsSchema
2248
2248
  };
2249
- //# sourceMappingURL=chunk-FZXMMOBQ.js.map
2249
+ //# sourceMappingURL=chunk-DXE2DPT5.js.map
@@ -23,10 +23,10 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-FZXMMOBQ.js";
26
+ } from "./chunk-DXE2DPT5.js";
27
27
  import {
28
28
  VERSION
29
- } from "./chunk-AWFW6FD4.js";
29
+ } from "./chunk-3ZPDWKYB.js";
30
30
  import {
31
31
  assessPanelIndependence,
32
32
  countDistinctModels,
@@ -7205,4 +7205,4 @@ export {
7205
7205
  CONSENSUS_VOTE_TOOL_SCHEMA,
7206
7206
  registerConsensusVoteTool
7207
7207
  };
7208
- //# sourceMappingURL=chunk-ASUB4LSV.js.map
7208
+ //# sourceMappingURL=chunk-RHKJBVSU.js.map
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-XSRCJ7FA.js";
24
+ } from "./chunk-4EJYBLQ3.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-C7CSLODO.js";
@@ -48,7 +48,7 @@ import {
48
48
  simulationDeniedResult,
49
49
  toJobSummary,
50
50
  writeJobCancelled
51
- } from "./chunk-ASUB4LSV.js";
51
+ } from "./chunk-RHKJBVSU.js";
52
52
  import {
53
53
  allOf
54
54
  } from "./chunk-OQB3XC5O.js";
@@ -67,7 +67,7 @@ import {
67
67
  } from "./chunk-ZUK5BG3Q.js";
68
68
  import {
69
69
  withPrerequisite
70
- } from "./chunk-W5M6VFDH.js";
70
+ } from "./chunk-WYVDJAL5.js";
71
71
  import {
72
72
  NOOP_NOTIFIER,
73
73
  RateLimiter,
@@ -92,7 +92,7 @@ import {
92
92
  withAuditTrail,
93
93
  withProgressHeartbeat,
94
94
  wrapToolWithTimeout
95
- } from "./chunk-FZXMMOBQ.js";
95
+ } from "./chunk-DXE2DPT5.js";
96
96
  import {
97
97
  createAuditTrail,
98
98
  createGraphAuditBridge,
@@ -22446,6 +22446,14 @@ function mapInputDefinition(input) {
22446
22446
  if (input.default !== void 0) inputDef.default = input.default;
22447
22447
  return inputDef;
22448
22448
  }
22449
+ function mapPartialContextBudget(source) {
22450
+ const budget = {};
22451
+ if (source.system !== void 0) budget.system = source.system;
22452
+ if (source.task !== void 0) budget.task = source.task;
22453
+ if (source.active !== void 0) budget.active = source.active;
22454
+ if (source.reserved !== void 0) budget.reserved = source.reserved;
22455
+ return budget;
22456
+ }
22449
22457
  function mapWorkflowStep(step) {
22450
22458
  const stepDef = {
22451
22459
  id: step.id,
@@ -22458,6 +22466,8 @@ function mapWorkflowStep(step) {
22458
22466
  if (step.retries !== void 0) stepDef.retries = step.retries;
22459
22467
  if (step.timeout !== void 0) stepDef.timeout = step.timeout;
22460
22468
  if (step.condition !== void 0) stepDef.condition = step.condition;
22469
+ if (step.contextBudget !== void 0)
22470
+ stepDef.contextBudget = mapPartialContextBudget(step.contextBudget);
22461
22471
  return stepDef;
22462
22472
  }
22463
22473
  function toWorkflowDefinition(data) {
@@ -22469,6 +22479,7 @@ function toWorkflowDefinition(data) {
22469
22479
  };
22470
22480
  if (data.description !== void 0) workflow.description = data.description;
22471
22481
  if (data.timeout !== void 0) workflow.timeout = data.timeout;
22482
+ if (data.defaultBudget !== void 0) workflow.defaultBudget = data.defaultBudget;
22472
22483
  return workflow;
22473
22484
  }
22474
22485
  async function loadWorkflowFile(filePath, allowedRoot = process.cwd()) {
@@ -45919,7 +45930,7 @@ function buildVotingInput(plan, config) {
45919
45930
  }
45920
45931
  async function executeSingleVote(plan, config, log) {
45921
45932
  try {
45922
- const { executeVoting } = await import("./consensus-vote-X4XXWGDD.js");
45933
+ const { executeVoting } = await import("./consensus-vote-O2MXPQRL.js");
45923
45934
  const input = buildVotingInput(plan, config);
45924
45935
  const result = await executeVoting(input, log);
45925
45936
  return parseVotingResult(result);
@@ -47691,7 +47702,7 @@ ${contextBlock}`;
47691
47702
  const strategy = config.votingStrategy ?? "higher_order";
47692
47703
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47693
47704
  try {
47694
- const { executeVoting } = await import("./consensus-vote-X4XXWGDD.js");
47705
+ const { executeVoting } = await import("./consensus-vote-O2MXPQRL.js");
47695
47706
  const votingResult = await executeVoting(
47696
47707
  {
47697
47708
  proposal: buildVoteProposal(plan, research),
@@ -56376,4 +56387,4 @@ export {
56376
56387
  shutdownFeedbackSubscriber,
56377
56388
  createEventBusBridge
56378
56389
  };
56379
- //# sourceMappingURL=chunk-PIWFHJSU.js.map
56390
+ //# sourceMappingURL=chunk-UIML3UMD.js.map