nexus-agents 8.28.7 → 8.28.8

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 (26) hide show
  1. package/dist/{chunk-CDC3SLKC.js → chunk-6QRX5DXU.js} +2 -2
  2. package/dist/{chunk-544BNTIS.js → chunk-IKGRS6I3.js} +3 -3
  3. package/dist/{chunk-OMYQAFZ4.js → chunk-IXAPDTFG.js} +2 -2
  4. package/dist/{chunk-PF3J3P3X.js → chunk-RQXTL7D7.js} +3 -3
  5. package/dist/{chunk-OALN3JJZ.js → chunk-T4NMCY3E.js} +9 -9
  6. package/dist/{chunk-SQFVKYLC.js → chunk-THQTN3P7.js} +2 -2
  7. package/dist/{chunk-PH4EZT26.js → chunk-UDWIG4UI.js} +14 -11
  8. package/dist/{chunk-PH4EZT26.js.map → chunk-UDWIG4UI.js.map} +1 -1
  9. package/dist/cli.js +8 -8
  10. package/dist/{consensus-vote-UK5OJH6S.js → consensus-vote-ZIRXZ27E.js} +4 -4
  11. package/dist/{improvement-review-OEOX47AK.js → improvement-review-FKINCLP2.js} +4 -4
  12. package/dist/index.js +7 -7
  13. package/dist/{issue-triage-QUP2I67F.js → issue-triage-NZLA75GB.js} +2 -2
  14. package/dist/model-registry.generated.json +5545 -2127
  15. package/dist/{setup-data-dir-E6YYYUCF.js → setup-data-dir-43IEDUU2.js} +3 -3
  16. package/package.json +1 -1
  17. /package/dist/{chunk-CDC3SLKC.js.map → chunk-6QRX5DXU.js.map} +0 -0
  18. /package/dist/{chunk-544BNTIS.js.map → chunk-IKGRS6I3.js.map} +0 -0
  19. /package/dist/{chunk-OMYQAFZ4.js.map → chunk-IXAPDTFG.js.map} +0 -0
  20. /package/dist/{chunk-PF3J3P3X.js.map → chunk-RQXTL7D7.js.map} +0 -0
  21. /package/dist/{chunk-OALN3JJZ.js.map → chunk-T4NMCY3E.js.map} +0 -0
  22. /package/dist/{chunk-SQFVKYLC.js.map → chunk-THQTN3P7.js.map} +0 -0
  23. /package/dist/{consensus-vote-UK5OJH6S.js.map → consensus-vote-ZIRXZ27E.js.map} +0 -0
  24. /package/dist/{improvement-review-OEOX47AK.js.map → improvement-review-FKINCLP2.js.map} +0 -0
  25. /package/dist/{issue-triage-QUP2I67F.js.map → issue-triage-NZLA75GB.js.map} +0 -0
  26. /package/dist/{setup-data-dir-E6YYYUCF.js.map → setup-data-dir-43IEDUU2.js.map} +0 -0
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-OMYQAFZ4.js";
10
+ } from "./chunk-IXAPDTFG.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-CDC3SLKC.js.map
2162
+ //# sourceMappingURL=chunk-6QRX5DXU.js.map
@@ -8,7 +8,7 @@ import {
8
8
  NODE_ENGINE_RANGE,
9
9
  VERSION,
10
10
  isNodeVersionSupported
11
- } from "./chunk-SQFVKYLC.js";
11
+ } from "./chunk-THQTN3P7.js";
12
12
  import {
13
13
  capitalize
14
14
  } from "./chunk-7LP6VJRP.js";
@@ -1228,7 +1228,7 @@ async function runDoctorFix(result) {
1228
1228
  writeLine2("\u2500".repeat(40));
1229
1229
  let fixCount = 0;
1230
1230
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1231
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-E6YYYUCF.js");
1231
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-43IEDUU2.js");
1232
1232
  const outcome = describeDataDirFix2(initDataDirectories2());
1233
1233
  writeLine2(outcome.line);
1234
1234
  if (outcome.counted) fixCount++;
@@ -1330,4 +1330,4 @@ export {
1330
1330
  startStdioServer,
1331
1331
  closeServer
1332
1332
  };
1333
- //# sourceMappingURL=chunk-544BNTIS.js.map
1333
+ //# sourceMappingURL=chunk-IKGRS6I3.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-SQFVKYLC.js";
3
+ } from "./chunk-THQTN3P7.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
6
  } from "./chunk-JANMYVKT.js";
@@ -2255,4 +2255,4 @@ export {
2255
2255
  VOTING_THRESHOLDS,
2256
2256
  ConsensusMetricsSchema
2257
2257
  };
2258
- //# sourceMappingURL=chunk-OMYQAFZ4.js.map
2258
+ //# sourceMappingURL=chunk-IXAPDTFG.js.map
@@ -23,10 +23,10 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-OMYQAFZ4.js";
26
+ } from "./chunk-IXAPDTFG.js";
27
27
  import {
28
28
  VERSION
29
- } from "./chunk-SQFVKYLC.js";
29
+ } from "./chunk-THQTN3P7.js";
30
30
  import {
31
31
  assessPanelIndependence,
32
32
  countDistinctModels,
@@ -7683,4 +7683,4 @@ export {
7683
7683
  CONSENSUS_VOTE_TOOL_SCHEMA,
7684
7684
  registerConsensusVoteTool
7685
7685
  };
7686
- //# sourceMappingURL=chunk-PF3J3P3X.js.map
7686
+ //# sourceMappingURL=chunk-RQXTL7D7.js.map
@@ -21,7 +21,7 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-544BNTIS.js";
24
+ } from "./chunk-IKGRS6I3.js";
25
25
  import {
26
26
  executeExpert
27
27
  } from "./chunk-LE5GD6MT.js";
@@ -55,7 +55,7 @@ import {
55
55
  toJobSummary,
56
56
  updateStage,
57
57
  writeJobCancelled
58
- } from "./chunk-PF3J3P3X.js";
58
+ } from "./chunk-RQXTL7D7.js";
59
59
  import {
60
60
  allOf,
61
61
  anyOf
@@ -68,14 +68,14 @@ import {
68
68
  IssueTriage,
69
69
  createDurableAuditSink,
70
70
  createDurableAuditTrail
71
- } from "./chunk-PH4EZT26.js";
71
+ } from "./chunk-UDWIG4UI.js";
72
72
  import {
73
73
  resolveEnvMode,
74
74
  sanitizeInput
75
75
  } from "./chunk-J5DOKTMY.js";
76
76
  import {
77
77
  withPrerequisite
78
- } from "./chunk-CDC3SLKC.js";
78
+ } from "./chunk-6QRX5DXU.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-OMYQAFZ4.js";
103
+ } from "./chunk-IXAPDTFG.js";
104
104
  import {
105
105
  createAuditTrail,
106
106
  createGraphAuditBridge,
@@ -45293,7 +45293,7 @@ async function tryIssueTriage(task) {
45293
45293
  try {
45294
45294
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45295
45295
  if (issueMatch === null) return null;
45296
- const { createIssueTriage } = await import("./issue-triage-QUP2I67F.js");
45296
+ const { createIssueTriage } = await import("./issue-triage-NZLA75GB.js");
45297
45297
  const triage = createIssueTriage();
45298
45298
  const owner = issueMatch[1] ?? "";
45299
45299
  const num = issueMatch[2] ?? "";
@@ -45695,7 +45695,7 @@ function buildVotingInput(plan, config) {
45695
45695
  }
45696
45696
  async function executeSingleVote(plan, config, log) {
45697
45697
  try {
45698
- const { executeVoting } = await import("./consensus-vote-UK5OJH6S.js");
45698
+ const { executeVoting } = await import("./consensus-vote-ZIRXZ27E.js");
45699
45699
  const input = buildVotingInput(plan, config);
45700
45700
  const result = await executeVoting(input, log);
45701
45701
  return parseVotingResult(result);
@@ -47487,7 +47487,7 @@ ${contextBlock}`;
47487
47487
  const strategy = config.votingStrategy ?? "higher_order";
47488
47488
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47489
47489
  try {
47490
- const { executeVoting } = await import("./consensus-vote-UK5OJH6S.js");
47490
+ const { executeVoting } = await import("./consensus-vote-ZIRXZ27E.js");
47491
47491
  const votingResult = await executeVoting(
47492
47492
  {
47493
47493
  proposal: buildVoteProposal(plan, research),
@@ -56207,4 +56207,4 @@ export {
56207
56207
  shutdownFeedbackSubscriber,
56208
56208
  createEventBusBridge
56209
56209
  };
56210
- //# sourceMappingURL=chunk-OALN3JJZ.js.map
56210
+ //# sourceMappingURL=chunk-T4NMCY3E.js.map
@@ -1,6 +1,6 @@
1
1
  // src/version.ts
2
2
  import semver from "semver";
3
- var VERSION = true ? "8.28.7" : "dev";
3
+ var VERSION = true ? "8.28.8" : "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-SQFVKYLC.js.map
14
+ //# sourceMappingURL=chunk-THQTN3P7.js.map
@@ -1761,6 +1761,16 @@ function appendRefusalIfHostile(actions, gateDecision, issue) {
1761
1761
  }
1762
1762
  ];
1763
1763
  }
1764
+ function logSuppressedDemotion(issueNumber, author, trustResult, gateDecision) {
1765
+ if (!gateDecision.demotionSuppressed) return;
1766
+ logger5.warn("Reputation demotion suppressed by gating mode (would block under enforce)", {
1767
+ issueNumber,
1768
+ author,
1769
+ mode: gateDecision.mode,
1770
+ classifierTier: trustResult.trustTier,
1771
+ reconciledTier: gateDecision.reconciledTier
1772
+ });
1773
+ }
1764
1774
  var IssueTriage = class {
1765
1775
  config;
1766
1776
  reputationCache;
@@ -1790,16 +1800,9 @@ var IssueTriage = class {
1790
1800
  if (gateDecision === void 0) {
1791
1801
  return err(new Error("Untrusted-input firewall returned no reputation gate decision"));
1792
1802
  }
1793
- if (gateDecision.demotionSuppressed) {
1794
- logger5.warn("Reputation demotion suppressed by gating mode (would block under enforce)", {
1795
- issueNumber,
1796
- author: issueResult.author,
1797
- mode: gateDecision.mode,
1798
- classifierTier: trustResult.trustTier,
1799
- reconciledTier: gateDecision.reconciledTier
1800
- });
1801
- }
1802
- const actions = this.generateActions(safeTitle, safeBody, issueResult, trustResult);
1803
+ logSuppressedDemotion(issueNumber, issueResult.author, trustResult, gateDecision);
1804
+ const enforced = { ...trustResult, trustTier: gateDecision.enforcedTier };
1805
+ const actions = this.generateActions(safeTitle, safeBody, issueResult, enforced);
1803
1806
  const withEscalation = applySafetyActions(actions, gateDecision, reputation, issueResult);
1804
1807
  const validatedActions = this.validateActions(withEscalation, gateDecision, existingLabels);
1805
1808
  const result = this.buildResult({
@@ -2114,4 +2117,4 @@ export {
2114
2117
  IssueTriage,
2115
2118
  createIssueTriage
2116
2119
  };
2117
- //# sourceMappingURL=chunk-PH4EZT26.js.map
2120
+ //# sourceMappingURL=chunk-UDWIG4UI.js.map