nexus-agents 8.44.3 → 8.45.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.
@@ -8,7 +8,7 @@ import {
8
8
  NODE_ENGINE_RANGE,
9
9
  VERSION,
10
10
  isNodeVersionSupported
11
- } from "./chunk-WIJZ57H3.js";
11
+ } from "./chunk-UCPM532W.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-FWBXXCHF.js");
1230
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-GR23BXBF.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-HD6E32PW.js.map
1332
+ //# sourceMappingURL=chunk-4KEMUKVZ.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-HFZMMDZJ.js";
10
+ } from "./chunk-HNTWLAPQ.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-BPS4XQR2.js.map
2176
+ //# sourceMappingURL=chunk-5SAXCJAB.js.map
@@ -23,10 +23,10 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-HFZMMDZJ.js";
26
+ } from "./chunk-HNTWLAPQ.js";
27
27
  import {
28
28
  VERSION
29
- } from "./chunk-WIJZ57H3.js";
29
+ } from "./chunk-UCPM532W.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-KM4MVL7X.js.map
7853
+ //# sourceMappingURL=chunk-6MMF7U4L.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-WIJZ57H3.js";
3
+ } from "./chunk-UCPM532W.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
6
  } from "./chunk-QN5ME2N2.js";
@@ -2317,4 +2317,4 @@ export {
2317
2317
  VOTING_THRESHOLDS,
2318
2318
  ConsensusMetricsSchema
2319
2319
  };
2320
- //# sourceMappingURL=chunk-HFZMMDZJ.js.map
2320
+ //# sourceMappingURL=chunk-HNTWLAPQ.js.map
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-HD6E32PW.js";
24
+ } from "./chunk-4KEMUKVZ.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-O5TIFR2H.js";
@@ -55,7 +55,7 @@ import {
55
55
  toJobSummary,
56
56
  updateStage,
57
57
  writeJobCancelled
58
- } from "./chunk-KM4MVL7X.js";
58
+ } from "./chunk-6MMF7U4L.js";
59
59
  import {
60
60
  allOf,
61
61
  anyOf
@@ -75,7 +75,7 @@ import {
75
75
  } from "./chunk-TIUE5KC4.js";
76
76
  import {
77
77
  withPrerequisite
78
- } from "./chunk-BPS4XQR2.js";
78
+ } from "./chunk-5SAXCJAB.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-HFZMMDZJ.js";
103
+ } from "./chunk-HNTWLAPQ.js";
104
104
  import {
105
105
  createAuditTrail,
106
106
  createGraphAuditBridge,
@@ -40260,8 +40260,8 @@ var ResearchDiscoverInputSchema = z74.object({
40260
40260
  });
40261
40261
  async function getExistingArxivIds() {
40262
40262
  const result = await loadPapersRegistry();
40263
- if (!result.ok) return /* @__PURE__ */ new Set();
40264
- return new Set(Object.keys(result.value.papers));
40263
+ if (!result.ok) return { ids: /* @__PURE__ */ new Set(), consulted: false };
40264
+ return { ids: new Set(Object.keys(result.value.papers)), consulted: true };
40265
40265
  }
40266
40266
  function extractArxivId(url) {
40267
40267
  return url.match(/(\d{4}\.\d{4,5})/)?.[1] ?? "";
@@ -40401,13 +40401,13 @@ async function executeDiscovery(rawInput, logger55) {
40401
40401
  ...rawInput,
40402
40402
  topic: normalizeTopicToCanonical(rawInput.topic)
40403
40403
  };
40404
- const existingIds = await getExistingArxivIds();
40404
+ const registry = await getExistingArxivIds();
40405
40405
  const {
40406
40406
  sources: sourcesToQuery,
40407
40407
  failedSources,
40408
40408
  items: allItems
40409
40409
  } = await queryAllSources(input, logger55);
40410
- markExistingItems(allItems, existingIds);
40410
+ markExistingItems(allItems, registry.ids);
40411
40411
  const totalFound = allItems.length;
40412
40412
  const inRegistry = allItems.filter((i) => i.alreadyInRegistry).length;
40413
40413
  const threshold = input.relevanceThreshold;
@@ -40431,6 +40431,7 @@ async function executeDiscovery(rawInput, logger55) {
40431
40431
  items: relevantItems,
40432
40432
  totalFound,
40433
40433
  alreadyInRegistry: inRegistry,
40434
+ registryConsulted: registry.consulted,
40434
40435
  newItems: relevantItems.length,
40435
40436
  filteredByRelevance: filteredOut
40436
40437
  };
@@ -40575,6 +40576,7 @@ var RESEARCH_DISCOVER_OUTPUT_SCHEMA = {
40575
40576
  items: z74.array(z74.unknown()).optional(),
40576
40577
  totalFound: z74.number().optional(),
40577
40578
  alreadyInRegistry: z74.number().optional(),
40579
+ registryConsulted: z74.boolean().optional(),
40578
40580
  newItems: z74.number().optional(),
40579
40581
  filteredByRelevance: z74.number().optional()
40580
40582
  };
@@ -46020,7 +46022,7 @@ function buildVotingInput(plan, config) {
46020
46022
  }
46021
46023
  async function executeSingleVote(plan, config, log) {
46022
46024
  try {
46023
- const { executeVoting } = await import("./consensus-vote-BIGG6IYH.js");
46025
+ const { executeVoting } = await import("./consensus-vote-PPZKMRZ4.js");
46024
46026
  const input = buildVotingInput(plan, config);
46025
46027
  const result = await executeVoting(input, log);
46026
46028
  return parseVotingResult(result);
@@ -47815,7 +47817,7 @@ ${contextBlock}`;
47815
47817
  const strategy = config.votingStrategy ?? "higher_order";
47816
47818
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47817
47819
  try {
47818
- const { executeVoting } = await import("./consensus-vote-BIGG6IYH.js");
47820
+ const { executeVoting } = await import("./consensus-vote-PPZKMRZ4.js");
47819
47821
  const votingResult = await executeVoting(
47820
47822
  {
47821
47823
  proposal: buildVoteProposal(plan, research),
@@ -56541,4 +56543,4 @@ export {
56541
56543
  startPipelineEventBridge,
56542
56544
  shutdownPipelineEventBridge
56543
56545
  };
56544
- //# sourceMappingURL=chunk-7CPTOL6L.js.map
56546
+ //# sourceMappingURL=chunk-ISEN3JQL.js.map