nexus-agents 2.98.0 → 2.100.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 (35) hide show
  1. package/dist/{chunk-DE3J2HYT.js → chunk-B364VMMP.js} +471 -193
  2. package/dist/chunk-B364VMMP.js.map +1 -0
  3. package/dist/{chunk-6ZXNMJEX.js → chunk-BFN7RO3R.js} +4 -4
  4. package/dist/{chunk-6ZXNMJEX.js.map → chunk-BFN7RO3R.js.map} +1 -1
  5. package/dist/{chunk-PK4TTHXW.js → chunk-FU2AMASK.js} +3 -3
  6. package/dist/{chunk-6IHEDRKI.js → chunk-H4LBBFCO.js} +2 -2
  7. package/dist/{chunk-G4A7SSML.js → chunk-JFFI54DW.js} +11 -1
  8. package/dist/{chunk-G4A7SSML.js.map → chunk-JFFI54DW.js.map} +1 -1
  9. package/dist/{chunk-EM7NUGMG.js → chunk-P453545L.js} +21 -2
  10. package/dist/chunk-P453545L.js.map +1 -0
  11. package/dist/{chunk-RCKLAJ2H.js → chunk-TYELRYRO.js} +10 -5
  12. package/dist/chunk-TYELRYRO.js.map +1 -0
  13. package/dist/{chunk-MKFLI5DK.js → chunk-YREYQSYA.js} +2 -2
  14. package/dist/chunk-YREYQSYA.js.map +1 -0
  15. package/dist/cli.js +17 -10
  16. package/dist/cli.js.map +1 -1
  17. package/dist/{consensus-vote-Z3BWJLRE.js → consensus-vote-PGOS5AA6.js} +4 -4
  18. package/dist/{expert-bridge-EOVHUCJ4.js → expert-bridge-L25WFHQF.js} +2 -2
  19. package/dist/{factory-NJRJAZKK.js → factory-PVN7DDNZ.js} +2 -2
  20. package/dist/{improvement-review-Q4LBTVQP.js → improvement-review-IWV2BMR7.js} +3 -3
  21. package/dist/index.d.ts +27 -0
  22. package/dist/index.js +8 -8
  23. package/dist/{setup-command-JVJ2PNL6.js → setup-command-RRBGCIBW.js} +4 -4
  24. package/package.json +1 -1
  25. package/dist/chunk-DE3J2HYT.js.map +0 -1
  26. package/dist/chunk-EM7NUGMG.js.map +0 -1
  27. package/dist/chunk-MKFLI5DK.js.map +0 -1
  28. package/dist/chunk-RCKLAJ2H.js.map +0 -1
  29. /package/dist/{chunk-PK4TTHXW.js.map → chunk-FU2AMASK.js.map} +0 -0
  30. /package/dist/{chunk-6IHEDRKI.js.map → chunk-H4LBBFCO.js.map} +0 -0
  31. /package/dist/{consensus-vote-Z3BWJLRE.js.map → consensus-vote-PGOS5AA6.js.map} +0 -0
  32. /package/dist/{expert-bridge-EOVHUCJ4.js.map → expert-bridge-L25WFHQF.js.map} +0 -0
  33. /package/dist/{factory-NJRJAZKK.js.map → factory-PVN7DDNZ.js.map} +0 -0
  34. /package/dist/{improvement-review-Q4LBTVQP.js.map → improvement-review-IWV2BMR7.js.map} +0 -0
  35. /package/dist/{setup-command-JVJ2PNL6.js.map → setup-command-RRBGCIBW.js.map} +0 -0
@@ -21,7 +21,7 @@ import {
21
21
  toolSuccess,
22
22
  withProgressHeartbeat,
23
23
  wrapToolWithTimeout
24
- } from "./chunk-G4A7SSML.js";
24
+ } from "./chunk-JFFI54DW.js";
25
25
  import {
26
26
  getToolMemory
27
27
  } from "./chunk-ZOBDTJNG.js";
@@ -32,6 +32,7 @@ import {
32
32
  CUSTOM_API_DEFAULT_MODEL
33
33
  } from "./chunk-XO25FS24.js";
34
34
  import {
35
+ authRemediation,
35
36
  createCliAdapter,
36
37
  createCliDetectionCache,
37
38
  delay,
@@ -39,7 +40,7 @@ import {
39
40
  isCliAvailable,
40
41
  sanitizeOutput,
41
42
  withTimeout
42
- } from "./chunk-EM7NUGMG.js";
43
+ } from "./chunk-P453545L.js";
43
44
  import {
44
45
  AgentError,
45
46
  CLI_NAMES,
@@ -2732,7 +2733,11 @@ async function executeAgentVote(role, proposal, adapter, logger11, options) {
2732
2733
  logger11.warn("Falling back to simulation (allowSimulation=true)", { role });
2733
2734
  return createSimulationVoteResult(role, proposal, processingTimeMs, result.error);
2734
2735
  }
2735
- return createErrorVoteResult(role, result.error, processingTimeMs);
2736
+ const remediation = authRemediation(result.error, adapter.providerId);
2737
+ const errorText = remediation === null ? result.error : `${result.error}
2738
+
2739
+ ${remediation}`;
2740
+ return createErrorVoteResult(role, errorText, processingTimeMs);
2736
2741
  }
2737
2742
  var NoAdapterError = class extends Error {
2738
2743
  constructor(message) {
@@ -6996,7 +7001,7 @@ async function processVotesWithCascade(engineVotes, opts) {
6996
7001
  var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
6997
7002
  async function runContrarianCheck(proposal, log) {
6998
7003
  try {
6999
- const { executeExpert } = await import("./expert-bridge-EOVHUCJ4.js");
7004
+ const { executeExpert } = await import("./expert-bridge-L25WFHQF.js");
7000
7005
  const prompt = [
7001
7006
  "You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
7002
7007
  "Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
@@ -7487,4 +7492,4 @@ export {
7487
7492
  CONSENSUS_VOTE_OUTPUT_SCHEMA,
7488
7493
  registerConsensusVoteTool
7489
7494
  };
7490
- //# sourceMappingURL=chunk-RCKLAJ2H.js.map
7495
+ //# sourceMappingURL=chunk-TYELRYRO.js.map