nexus-agents 4.31.2 → 4.32.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 (127) hide show
  1. package/dist/{child-mcp-config-J4KM2K5N.js → child-mcp-config-233VKWG6.js} +2 -2
  2. package/dist/{chunk-QDRI6D4R.js → chunk-2EVCEHQE.js} +5 -5
  3. package/dist/{chunk-SBXFOZ4Q.js → chunk-35AUREHS.js} +2 -2
  4. package/dist/{chunk-57KFZLMZ.js → chunk-3DYY7RHX.js} +2 -2
  5. package/dist/{chunk-D4YBKFV6.js → chunk-4GLGSB4P.js} +21 -5
  6. package/dist/chunk-4GLGSB4P.js.map +1 -0
  7. package/dist/{chunk-TBEQ3UIV.js → chunk-5BR2ECCV.js} +2 -2
  8. package/dist/{chunk-LTPCXE7O.js → chunk-5DLBEAKY.js} +8 -8
  9. package/dist/{chunk-VZBJYJU7.js → chunk-77WIUZOE.js} +2 -2
  10. package/dist/{chunk-4JZFO46L.js → chunk-7QGWZC7G.js} +4 -4
  11. package/dist/{chunk-GGMCRF5L.js → chunk-7R2XDLZ2.js} +2 -2
  12. package/dist/{chunk-GNX537SP.js → chunk-7SB3747O.js} +35 -35
  13. package/dist/{chunk-IWXAHIPD.js → chunk-ABS2KDZ5.js} +6 -6
  14. package/dist/{chunk-RQUBCGDC.js → chunk-BA3RKFDZ.js} +2 -2
  15. package/dist/{chunk-7GRNWMUY.js → chunk-BWGLQ5CY.js} +2 -2
  16. package/dist/{chunk-BEZN53N3.js → chunk-DVAGUVKJ.js} +3 -3
  17. package/dist/{chunk-XXKVHXKX.js → chunk-DY2GJ4KA.js} +2 -2
  18. package/dist/{chunk-HYHVC3C6.js → chunk-EGCTFT72.js} +2 -2
  19. package/dist/{chunk-C3JP5XMQ.js → chunk-GMHBUIVF.js} +7 -7
  20. package/dist/{chunk-JUNPVQ2K.js → chunk-GQ5RSB5Z.js} +3 -3
  21. package/dist/{chunk-N6A4B2EV.js → chunk-HKRXBSSK.js} +2 -2
  22. package/dist/{chunk-THHXKNRK.js → chunk-L4HYQBEW.js} +7 -7
  23. package/dist/chunk-MOYB2HXE.js +7 -0
  24. package/dist/{chunk-ESCDKCQQ.js → chunk-NWRH2Z65.js} +8 -8
  25. package/dist/{chunk-IA6RXEBX.js → chunk-O34QAXFC.js} +4 -4
  26. package/dist/{chunk-G4WQ2NYC.js → chunk-O4F7WRIE.js} +2 -2
  27. package/dist/{chunk-3AKKZW5C.js → chunk-QLLROH77.js} +4 -4
  28. package/dist/{chunk-TGQWXFCE.js → chunk-R6UFWR7O.js} +2 -2
  29. package/dist/{chunk-U6K7TSGW.js → chunk-T3VMFXZZ.js} +2 -2
  30. package/dist/{chunk-OZYVKNMO.js → chunk-TFONBHS6.js} +3 -3
  31. package/dist/{chunk-LXB6DFMG.js → chunk-XRTQIUF5.js} +2 -2
  32. package/dist/{chunk-GMJK5K5C.js → chunk-XX2JESFB.js} +2 -2
  33. package/dist/{chunk-LKPGWRGD.js → chunk-YDPTCIX3.js} +4 -4
  34. package/dist/{chunk-KUJRMLNQ.js → chunk-ZASAUMMF.js} +2 -2
  35. package/dist/{chunk-Y3UVTFA6.js → chunk-ZTQJF2XI.js} +5 -5
  36. package/dist/{cli-circuit-breaker-PTJNL27B.js → cli-circuit-breaker-U3AN5DSB.js} +3 -3
  37. package/dist/cli.d.ts +1 -1
  38. package/dist/cli.js +41 -41
  39. package/dist/{composite-router-GE37CAGQ.js → composite-router-OJBMX5AS.js} +2 -2
  40. package/dist/{consensus-vote-XXZM4SDD.js → consensus-vote-M4XQQW3E.js} +17 -17
  41. package/dist/{consensus-vote-types-DjPVrCIO.d.ts → consensus-vote-types-D66OPHNc.d.ts} +2 -0
  42. package/dist/{context-retriever-MGEG2UQ2.js → context-retriever-D5J3NZUG.js} +8 -8
  43. package/dist/{doctor-deep-73VCZQHJ.js → doctor-deep-I6WDBNK2.js} +3 -3
  44. package/dist/{doctor-live-OYPLPBWJ.js → doctor-live-LN5HOXJ2.js} +9 -9
  45. package/dist/{expert-bridge-25CSYKJE.js → expert-bridge-U7TQ4GIZ.js} +4 -4
  46. package/dist/{factory-W53B3DHW.js → factory-5ZOZCAS2.js} +5 -5
  47. package/dist/{factory-B55CSWSP.js → factory-YPMBEKEF.js} +9 -9
  48. package/dist/{improvement-review-HF4WKKYB.js → improvement-review-4DBUWQBJ.js} +6 -6
  49. package/dist/index.d.ts +2 -2
  50. package/dist/index.js +31 -31
  51. package/dist/{init-opencode-V4NW2OBC.js → init-opencode-6YJL37OL.js} +6 -6
  52. package/dist/issue-triage-IU73YSB6.js +17 -0
  53. package/dist/model-registry.generated.json +3521 -2509
  54. package/dist/{pr-reviewer-helpers-KFR4B2BN.js → pr-reviewer-helpers-PMPXMEVG.js} +4 -4
  55. package/dist/{registry-command-DDWRJBMA.js → registry-command-5NC24PIZ.js} +2 -2
  56. package/dist/{repo-security-plan-5E6DJOJR.js → repo-security-plan-C6WR4NF2.js} +3 -3
  57. package/dist/{research-helpers-synthesize-3OWOR4QY.js → research-helpers-synthesize-SB4RUHKY.js} +4 -4
  58. package/dist/{routing-memory-LSAOVXSG.js → routing-memory-BTK667ET.js} +2 -2
  59. package/dist/{session-memory-BUHRFELZ.js → session-memory-PZ6UT2X5.js} +3 -3
  60. package/dist/{setup-config-F6I43UM4.js → setup-config-2I7SXEX4.js} +3 -3
  61. package/dist/{setup-custom-api-UHZLKUJX.js → setup-custom-api-6JO4WN7A.js} +4 -4
  62. package/dist/setup-data-dir-CAUDHZM4.js +29 -0
  63. package/dist/{tool-memory-X3MHHLDQ.js → tool-memory-OD53NBLO.js} +5 -5
  64. package/dist/{unified-registry-KVE5J7TG.js → unified-registry-LDPLCV23.js} +10 -10
  65. package/dist/{weather-report-4EPQFNOA.js → weather-report-GOCOSXLX.js} +2 -2
  66. package/package.json +1 -1
  67. package/dist/chunk-D4YBKFV6.js.map +0 -1
  68. package/dist/chunk-DJAJAHZS.js +0 -7
  69. package/dist/issue-triage-SH6AVIJ6.js +0 -17
  70. package/dist/setup-data-dir-UBDLV6PO.js +0 -29
  71. /package/dist/{child-mcp-config-J4KM2K5N.js.map → child-mcp-config-233VKWG6.js.map} +0 -0
  72. /package/dist/{chunk-QDRI6D4R.js.map → chunk-2EVCEHQE.js.map} +0 -0
  73. /package/dist/{chunk-SBXFOZ4Q.js.map → chunk-35AUREHS.js.map} +0 -0
  74. /package/dist/{chunk-57KFZLMZ.js.map → chunk-3DYY7RHX.js.map} +0 -0
  75. /package/dist/{chunk-TBEQ3UIV.js.map → chunk-5BR2ECCV.js.map} +0 -0
  76. /package/dist/{chunk-LTPCXE7O.js.map → chunk-5DLBEAKY.js.map} +0 -0
  77. /package/dist/{chunk-VZBJYJU7.js.map → chunk-77WIUZOE.js.map} +0 -0
  78. /package/dist/{chunk-4JZFO46L.js.map → chunk-7QGWZC7G.js.map} +0 -0
  79. /package/dist/{chunk-GGMCRF5L.js.map → chunk-7R2XDLZ2.js.map} +0 -0
  80. /package/dist/{chunk-GNX537SP.js.map → chunk-7SB3747O.js.map} +0 -0
  81. /package/dist/{chunk-IWXAHIPD.js.map → chunk-ABS2KDZ5.js.map} +0 -0
  82. /package/dist/{chunk-RQUBCGDC.js.map → chunk-BA3RKFDZ.js.map} +0 -0
  83. /package/dist/{chunk-7GRNWMUY.js.map → chunk-BWGLQ5CY.js.map} +0 -0
  84. /package/dist/{chunk-BEZN53N3.js.map → chunk-DVAGUVKJ.js.map} +0 -0
  85. /package/dist/{chunk-XXKVHXKX.js.map → chunk-DY2GJ4KA.js.map} +0 -0
  86. /package/dist/{chunk-HYHVC3C6.js.map → chunk-EGCTFT72.js.map} +0 -0
  87. /package/dist/{chunk-C3JP5XMQ.js.map → chunk-GMHBUIVF.js.map} +0 -0
  88. /package/dist/{chunk-JUNPVQ2K.js.map → chunk-GQ5RSB5Z.js.map} +0 -0
  89. /package/dist/{chunk-N6A4B2EV.js.map → chunk-HKRXBSSK.js.map} +0 -0
  90. /package/dist/{chunk-THHXKNRK.js.map → chunk-L4HYQBEW.js.map} +0 -0
  91. /package/dist/{chunk-DJAJAHZS.js.map → chunk-MOYB2HXE.js.map} +0 -0
  92. /package/dist/{chunk-ESCDKCQQ.js.map → chunk-NWRH2Z65.js.map} +0 -0
  93. /package/dist/{chunk-IA6RXEBX.js.map → chunk-O34QAXFC.js.map} +0 -0
  94. /package/dist/{chunk-G4WQ2NYC.js.map → chunk-O4F7WRIE.js.map} +0 -0
  95. /package/dist/{chunk-3AKKZW5C.js.map → chunk-QLLROH77.js.map} +0 -0
  96. /package/dist/{chunk-TGQWXFCE.js.map → chunk-R6UFWR7O.js.map} +0 -0
  97. /package/dist/{chunk-U6K7TSGW.js.map → chunk-T3VMFXZZ.js.map} +0 -0
  98. /package/dist/{chunk-OZYVKNMO.js.map → chunk-TFONBHS6.js.map} +0 -0
  99. /package/dist/{chunk-LXB6DFMG.js.map → chunk-XRTQIUF5.js.map} +0 -0
  100. /package/dist/{chunk-GMJK5K5C.js.map → chunk-XX2JESFB.js.map} +0 -0
  101. /package/dist/{chunk-LKPGWRGD.js.map → chunk-YDPTCIX3.js.map} +0 -0
  102. /package/dist/{chunk-KUJRMLNQ.js.map → chunk-ZASAUMMF.js.map} +0 -0
  103. /package/dist/{chunk-Y3UVTFA6.js.map → chunk-ZTQJF2XI.js.map} +0 -0
  104. /package/dist/{cli-circuit-breaker-PTJNL27B.js.map → cli-circuit-breaker-U3AN5DSB.js.map} +0 -0
  105. /package/dist/{composite-router-GE37CAGQ.js.map → composite-router-OJBMX5AS.js.map} +0 -0
  106. /package/dist/{consensus-vote-XXZM4SDD.js.map → consensus-vote-M4XQQW3E.js.map} +0 -0
  107. /package/dist/{context-retriever-MGEG2UQ2.js.map → context-retriever-D5J3NZUG.js.map} +0 -0
  108. /package/dist/{doctor-deep-73VCZQHJ.js.map → doctor-deep-I6WDBNK2.js.map} +0 -0
  109. /package/dist/{doctor-live-OYPLPBWJ.js.map → doctor-live-LN5HOXJ2.js.map} +0 -0
  110. /package/dist/{expert-bridge-25CSYKJE.js.map → expert-bridge-U7TQ4GIZ.js.map} +0 -0
  111. /package/dist/{factory-B55CSWSP.js.map → factory-5ZOZCAS2.js.map} +0 -0
  112. /package/dist/{factory-W53B3DHW.js.map → factory-YPMBEKEF.js.map} +0 -0
  113. /package/dist/{improvement-review-HF4WKKYB.js.map → improvement-review-4DBUWQBJ.js.map} +0 -0
  114. /package/dist/{init-opencode-V4NW2OBC.js.map → init-opencode-6YJL37OL.js.map} +0 -0
  115. /package/dist/{issue-triage-SH6AVIJ6.js.map → issue-triage-IU73YSB6.js.map} +0 -0
  116. /package/dist/{pr-reviewer-helpers-KFR4B2BN.js.map → pr-reviewer-helpers-PMPXMEVG.js.map} +0 -0
  117. /package/dist/{registry-command-DDWRJBMA.js.map → registry-command-5NC24PIZ.js.map} +0 -0
  118. /package/dist/{repo-security-plan-5E6DJOJR.js.map → repo-security-plan-C6WR4NF2.js.map} +0 -0
  119. /package/dist/{research-helpers-synthesize-3OWOR4QY.js.map → research-helpers-synthesize-SB4RUHKY.js.map} +0 -0
  120. /package/dist/{routing-memory-LSAOVXSG.js.map → routing-memory-BTK667ET.js.map} +0 -0
  121. /package/dist/{session-memory-BUHRFELZ.js.map → session-memory-PZ6UT2X5.js.map} +0 -0
  122. /package/dist/{setup-config-F6I43UM4.js.map → setup-config-2I7SXEX4.js.map} +0 -0
  123. /package/dist/{setup-custom-api-UHZLKUJX.js.map → setup-custom-api-6JO4WN7A.js.map} +0 -0
  124. /package/dist/{setup-data-dir-UBDLV6PO.js.map → setup-data-dir-CAUDHZM4.js.map} +0 -0
  125. /package/dist/{tool-memory-X3MHHLDQ.js.map → tool-memory-OD53NBLO.js.map} +0 -0
  126. /package/dist/{unified-registry-KVE5J7TG.js.map → unified-registry-LDPLCV23.js.map} +0 -0
  127. /package/dist/{weather-report-4EPQFNOA.js.map → weather-report-GOCOSXLX.js.map} +0 -0
@@ -5,7 +5,7 @@ import {
5
5
  getErrorMessage,
6
6
  ok,
7
7
  parseBoolEnv
8
- } from "./chunk-D4YBKFV6.js";
8
+ } from "./chunk-4GLGSB4P.js";
9
9
 
10
10
  // src/cli/research-helpers-io.ts
11
11
  import * as fs2 from "fs/promises";
@@ -156,4 +156,4 @@ export {
156
156
  loadPapersRegistry,
157
157
  savePapersRegistry
158
158
  };
159
- //# sourceMappingURL=chunk-TBEQ3UIV.js.map
159
+ //# sourceMappingURL=chunk-5BR2ECCV.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  priceBasisOf
4
- } from "./chunk-GMJK5K5C.js";
4
+ } from "./chunk-XX2JESFB.js";
5
5
  import {
6
6
  allOf
7
7
  } from "./chunk-OQB3XC5O.js";
@@ -23,22 +23,22 @@ import {
23
23
  toolSuccessStructured,
24
24
  withProgressHeartbeat,
25
25
  wrapToolWithTimeout
26
- } from "./chunk-IA6RXEBX.js";
26
+ } from "./chunk-O34QAXFC.js";
27
27
  import {
28
28
  assessPanelIndependence,
29
29
  countDistinctModels,
30
30
  createEvent,
31
31
  getGlobalRegistry
32
- } from "./chunk-4JZFO46L.js";
32
+ } from "./chunk-7QGWZC7G.js";
33
33
  import {
34
34
  getToolMemory
35
- } from "./chunk-LKPGWRGD.js";
35
+ } from "./chunk-YDPTCIX3.js";
36
36
  import {
37
37
  authRemediation,
38
38
  delay,
39
39
  getAvailableClis,
40
40
  withTimeout
41
- } from "./chunk-ESCDKCQQ.js";
41
+ } from "./chunk-NWRH2Z65.js";
42
42
  import {
43
43
  AgentError,
44
44
  CLI_NAMES,
@@ -66,7 +66,7 @@ import {
66
66
  registerPersistentOutcomeStoreFactory,
67
67
  resolveClassGuardMs,
68
68
  resolveVoteTimeout
69
- } from "./chunk-D4YBKFV6.js";
69
+ } from "./chunk-4GLGSB4P.js";
70
70
  import {
71
71
  ensureLearningDir,
72
72
  getOutcomesFile
@@ -6216,7 +6216,7 @@ async function processVotesWithCascade(engineVotes, opts) {
6216
6216
  var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
6217
6217
  async function runContrarianCheck(proposal, log) {
6218
6218
  try {
6219
- const { executeExpert } = await import("./expert-bridge-25CSYKJE.js");
6219
+ const { executeExpert } = await import("./expert-bridge-U7TQ4GIZ.js");
6220
6220
  const prompt = [
6221
6221
  "You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
6222
6222
  "Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
@@ -6803,4 +6803,4 @@ export {
6803
6803
  CONSENSUS_VOTE_TOOL_SCHEMA,
6804
6804
  registerConsensusVoteTool
6805
6805
  };
6806
- //# sourceMappingURL=chunk-LTPCXE7O.js.map
6806
+ //# sourceMappingURL=chunk-5DLBEAKY.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getTimeProvider,
9
9
  isRateLimitText,
10
10
  ok
11
- } from "./chunk-D4YBKFV6.js";
11
+ } from "./chunk-4GLGSB4P.js";
12
12
 
13
13
  // src/cli-adapters/circuit-breaker-types.ts
14
14
  var CircuitErrorCode = {
@@ -541,4 +541,4 @@ export {
541
541
  CliCircuitBreakerIntegration,
542
542
  createCliCircuitBreakerIntegration
543
543
  };
544
- //# sourceMappingURL=chunk-VZBJYJU7.js.map
544
+ //# sourceMappingURL=chunk-77WIUZOE.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-ESCDKCQQ.js";
3
+ } from "./chunk-NWRH2Z65.js";
4
4
  import {
5
5
  getDefaultCliCircuitBreakerRegistry,
6
6
  mapModelErrorToCategory
7
- } from "./chunk-VZBJYJU7.js";
7
+ } from "./chunk-77WIUZOE.js";
8
8
  import {
9
9
  CLI_NAMES,
10
10
  CircularBuffer,
@@ -23,7 +23,7 @@ import {
23
23
  recordRateLimitEvent,
24
24
  resolveModelIdentitySync,
25
25
  toRateLimitError
26
- } from "./chunk-D4YBKFV6.js";
26
+ } from "./chunk-4GLGSB4P.js";
27
27
 
28
28
  // src/config/model-equivalence.ts
29
29
  function canonicalModelKey(modelId) {
@@ -895,4 +895,4 @@ export {
895
895
  getGlobalRegistry,
896
896
  resetGlobalRegistry
897
897
  };
898
- //# sourceMappingURL=chunk-4JZFO46L.js.map
898
+ //# sourceMappingURL=chunk-7QGWZC7G.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  err,
5
5
  ok
6
- } from "./chunk-D4YBKFV6.js";
6
+ } from "./chunk-4GLGSB4P.js";
7
7
 
8
8
  // src/adapters/sdk/types.ts
9
9
  var PROVIDER_ENV_KEYS = {
@@ -260,4 +260,4 @@ export {
260
260
  validateCustomApiBaseUrl,
261
261
  assertCustomApiHostResolvesPublic
262
262
  };
263
- //# sourceMappingURL=chunk-GGMCRF5L.js.map
263
+ //# sourceMappingURL=chunk-7R2XDLZ2.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-SBXFOZ4Q.js";
3
+ } from "./chunk-35AUREHS.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-HFOQKCD2.js";
@@ -21,10 +21,10 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-THHXKNRK.js";
24
+ } from "./chunk-L4HYQBEW.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-C3JP5XMQ.js";
27
+ } from "./chunk-GMHBUIVF.js";
28
28
  import {
29
29
  JobStatusSchema,
30
30
  VOTER_ROLES,
@@ -47,24 +47,24 @@ import {
47
47
  simulationDeniedResult,
48
48
  toJobSummary,
49
49
  writeJobCancelled
50
- } from "./chunk-LTPCXE7O.js";
50
+ } from "./chunk-5DLBEAKY.js";
51
51
  import {
52
52
  allOf
53
53
  } from "./chunk-OQB3XC5O.js";
54
54
  import {
55
55
  normalizeTopicToCanonical,
56
56
  synthesizeResearch
57
- } from "./chunk-OZYVKNMO.js";
57
+ } from "./chunk-TFONBHS6.js";
58
58
  import {
59
59
  IssueTriage
60
- } from "./chunk-IWXAHIPD.js";
60
+ } from "./chunk-ABS2KDZ5.js";
61
61
  import {
62
62
  resolveEnvMode,
63
63
  sanitizeInput
64
- } from "./chunk-U6K7TSGW.js";
64
+ } from "./chunk-T3VMFXZZ.js";
65
65
  import {
66
66
  withPrerequisite
67
- } from "./chunk-JUNPVQ2K.js";
67
+ } from "./chunk-GQ5RSB5Z.js";
68
68
  import {
69
69
  NOOP_NOTIFIER,
70
70
  RateLimiter,
@@ -88,18 +88,18 @@ import {
88
88
  withAuditTrail,
89
89
  withProgressHeartbeat,
90
90
  wrapToolWithTimeout
91
- } from "./chunk-IA6RXEBX.js";
91
+ } from "./chunk-O34QAXFC.js";
92
92
  import {
93
93
  createAuditTrail,
94
94
  createGraphAuditBridge,
95
95
  emitPipelinePolicyEvent
96
- } from "./chunk-N6A4B2EV.js";
96
+ } from "./chunk-HKRXBSSK.js";
97
97
  import {
98
98
  EventTopics,
99
99
  createEvent,
100
100
  getGlobalEventBus,
101
101
  getGlobalRegistry
102
- } from "./chunk-4JZFO46L.js";
102
+ } from "./chunk-7QGWZC7G.js";
103
103
  import {
104
104
  IDENTIFIER_RE,
105
105
  LANG_VALUES,
@@ -132,29 +132,29 @@ import {
132
132
  parseRegistry,
133
133
  sourceExistsInRegistry,
134
134
  summarizeContextForPrompt
135
- } from "./chunk-QDRI6D4R.js";
135
+ } from "./chunk-2EVCEHQE.js";
136
136
  import {
137
137
  loadPapersRegistry,
138
138
  loadTechniquesRegistry,
139
139
  resolveInsideRoot
140
- } from "./chunk-TBEQ3UIV.js";
140
+ } from "./chunk-5BR2ECCV.js";
141
141
  import {
142
142
  getTokenEnvVars,
143
143
  resolveToken
144
- } from "./chunk-RQUBCGDC.js";
144
+ } from "./chunk-BA3RKFDZ.js";
145
145
  import {
146
146
  DEFAULT_RELEVANCE_CONFIG,
147
147
  MemoryImportance,
148
148
  calculateTextJaccardSimilarity,
149
149
  getToolMemory
150
- } from "./chunk-LKPGWRGD.js";
150
+ } from "./chunk-YDPTCIX3.js";
151
151
  import {
152
152
  STOPWORDS,
153
153
  truncateWithInfo
154
154
  } from "./chunk-6T3EPABN.js";
155
155
  import {
156
156
  createSessionMemory
157
- } from "./chunk-XXKVHXKX.js";
157
+ } from "./chunk-DY2GJ4KA.js";
158
158
  import {
159
159
  BUILT_IN_EXPERTS,
160
160
  BuiltInExpertTypeSchema,
@@ -172,25 +172,25 @@ import {
172
172
  getAvailableClis,
173
173
  sleep,
174
174
  withTimeout
175
- } from "./chunk-ESCDKCQQ.js";
175
+ } from "./chunk-NWRH2Z65.js";
176
176
  import {
177
177
  BaseAdapter,
178
178
  createStream,
179
179
  requireApiKey,
180
180
  validateApiKeyPresence
181
- } from "./chunk-KUJRMLNQ.js";
181
+ } from "./chunk-ZASAUMMF.js";
182
182
  import {
183
183
  DEFAULTS
184
- } from "./chunk-LXB6DFMG.js";
184
+ } from "./chunk-XRTQIUF5.js";
185
185
  import {
186
186
  getAvailabilityCache,
187
187
  getCliForModelId,
188
188
  resolveFallback
189
- } from "./chunk-HYHVC3C6.js";
189
+ } from "./chunk-EGCTFT72.js";
190
190
  import {
191
191
  generateHyphenId,
192
192
  generateUUID
193
- } from "./chunk-G4WQ2NYC.js";
193
+ } from "./chunk-O4F7WRIE.js";
194
194
  import {
195
195
  AGENT_ROUTER_TIMEOUTS,
196
196
  API_TIMEOUTS,
@@ -295,7 +295,7 @@ import {
295
295
  selectStrategyByManifest,
296
296
  toExpertTaskAnalysisResult,
297
297
  withStep
298
- } from "./chunk-D4YBKFV6.js";
298
+ } from "./chunk-4GLGSB4P.js";
299
299
  import {
300
300
  ensureLearningDir,
301
301
  getMetaOutcomesFile,
@@ -29702,7 +29702,7 @@ function execIdFields(executionId) {
29702
29702
  async function populateUnifiedContextOnState(state, options) {
29703
29703
  const taskCandidate = state["task"];
29704
29704
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
29705
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-MGEG2UQ2.js");
29705
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-D5J3NZUG.js");
29706
29706
  const category = inferTaskCategory2(taskCandidate);
29707
29707
  const executionId = options?.executionId;
29708
29708
  const execFields = execIdFields(executionId);
@@ -45499,7 +45499,7 @@ async function tryIssueTriage(task) {
45499
45499
  try {
45500
45500
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45501
45501
  if (issueMatch === null) return null;
45502
- const { createIssueTriage } = await import("./issue-triage-SH6AVIJ6.js");
45502
+ const { createIssueTriage } = await import("./issue-triage-IU73YSB6.js");
45503
45503
  const triage = createIssueTriage();
45504
45504
  const owner = issueMatch[1] ?? "";
45505
45505
  const num = issueMatch[2] ?? "";
@@ -45527,7 +45527,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45527
45527
  ]);
45528
45528
  async function classifyWithLLM(task) {
45529
45529
  try {
45530
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-25CSYKJE.js");
45530
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-U7TQ4GIZ.js");
45531
45531
  const prompt = [
45532
45532
  "Classify this task into exactly one pipeline template.",
45533
45533
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -47308,7 +47308,7 @@ var memoryInitPromise = null;
47308
47308
  async function initPipelineMemory() {
47309
47309
  if (cachedMemory !== null) return cachedMemory;
47310
47310
  try {
47311
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-BUHRFELZ.js");
47311
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-PZ6UT2X5.js");
47312
47312
  const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
47313
47313
  const mem = createSessionMemory2(getLearningDir());
47314
47314
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47370,7 +47370,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47370
47370
  callRecord(routingMemoryCache);
47371
47371
  return;
47372
47372
  }
47373
- routingMemoryInitPromise ??= import("./routing-memory-LSAOVXSG.js").then(({ createRoutingMemory }) => {
47373
+ routingMemoryInitPromise ??= import("./routing-memory-BTK667ET.js").then(({ createRoutingMemory }) => {
47374
47374
  routingMemoryCache ??= createRoutingMemory();
47375
47375
  return routingMemoryCache;
47376
47376
  }).catch((error) => {
@@ -47404,7 +47404,7 @@ ${text}` : "";
47404
47404
  }
47405
47405
  async function getWeatherContext() {
47406
47406
  try {
47407
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-4EPQFNOA.js");
47407
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-GOCOSXLX.js");
47408
47408
  const report = generateWeatherReport2({ includeAdaptive: true });
47409
47409
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47410
47410
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47422,7 +47422,7 @@ ${lines}
47422
47422
  }
47423
47423
  async function getMemoryContext(task) {
47424
47424
  try {
47425
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-BUHRFELZ.js");
47425
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-PZ6UT2X5.js");
47426
47426
  const { getLearningDir } = await import("./learning-persistence-7O5QYDM7.js");
47427
47427
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47428
47428
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47541,7 +47541,7 @@ ${contextBlock}`;
47541
47541
  const strategy = config.votingStrategy ?? "higher_order";
47542
47542
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47543
47543
  try {
47544
- const { executeVoting } = await import("./consensus-vote-XXZM4SDD.js");
47544
+ const { executeVoting } = await import("./consensus-vote-M4XQQW3E.js");
47545
47545
  const votingResult = await executeVoting(
47546
47546
  {
47547
47547
  proposal: buildVoteProposal(plan, research),
@@ -47980,7 +47980,7 @@ async function searchCodebaseForTask(task) {
47980
47980
  }
47981
47981
  async function queryResearchRegistry(task) {
47982
47982
  try {
47983
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-3OWOR4QY.js");
47983
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-SB4RUHKY.js");
47984
47984
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
47985
47985
  if (topic === void 0) return null;
47986
47986
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -48051,7 +48051,7 @@ function createScanStageWrapper() {
48051
48051
  try {
48052
48052
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
48053
48053
  if (slug !== void 0) {
48054
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-5E6DJOJR.js");
48054
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-C6WR4NF2.js");
48055
48055
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
48056
48056
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
48057
48057
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51182,7 +51182,7 @@ var GitHubTaskTracker = class {
51182
51182
  cachedProvider = null;
51183
51183
  async getProvider() {
51184
51184
  if (this.cachedProvider !== null) return this.cachedProvider;
51185
- const { createScmProvider } = await import("./factory-W53B3DHW.js");
51185
+ const { createScmProvider } = await import("./factory-5ZOZCAS2.js");
51186
51186
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51187
51187
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51188
51188
  this.cachedProvider = result.value;
@@ -52097,7 +52097,7 @@ async function probeSource(source, includeModelIds) {
52097
52097
  }
52098
52098
  }
52099
52099
  async function defaultSources(includeOpenRouter) {
52100
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-B55CSWSP.js");
52100
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-YPMBEKEF.js");
52101
52101
  const adapters = createAllAdapters2();
52102
52102
  return buildDefaultModelSources(adapters, { includeOpenRouter });
52103
52103
  }
@@ -56169,4 +56169,4 @@ export {
56169
56169
  shutdownFeedbackSubscriber,
56170
56170
  createEventBusBridge
56171
56171
  };
56172
- //# sourceMappingURL=chunk-GNX537SP.js.map
56172
+ //# sourceMappingURL=chunk-7SB3747O.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-57KFZLMZ.js";
4
+ } from "./chunk-3DYY7RHX.js";
5
5
  import {
6
6
  ROLE_DEFAULT_TRUST,
7
7
  ReputationCache,
@@ -11,20 +11,20 @@ import {
11
11
  gateWithReputation,
12
12
  resolveReputationGatingMode,
13
13
  sanitizeInput
14
- } from "./chunk-U6K7TSGW.js";
14
+ } from "./chunk-T3VMFXZZ.js";
15
15
  import {
16
16
  emitPolicyEvent
17
- } from "./chunk-N6A4B2EV.js";
17
+ } from "./chunk-HKRXBSSK.js";
18
18
  import {
19
19
  hasToken
20
- } from "./chunk-RQUBCGDC.js";
20
+ } from "./chunk-BA3RKFDZ.js";
21
21
  import {
22
22
  CLI_SUBPROCESS_TIMEOUTS,
23
23
  createLogger,
24
24
  err,
25
25
  getTimeProvider,
26
26
  ok
27
- } from "./chunk-D4YBKFV6.js";
27
+ } from "./chunk-4GLGSB4P.js";
28
28
 
29
29
  // src/security/trust-classifier.ts
30
30
  function mapAuthorAssociation(association) {
@@ -1247,4 +1247,4 @@ export {
1247
1247
  IssueTriage,
1248
1248
  createIssueTriage
1249
1249
  };
1250
- //# sourceMappingURL=chunk-IWXAHIPD.js.map
1250
+ //# sourceMappingURL=chunk-ABS2KDZ5.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-D4YBKFV6.js";
5
+ } from "./chunk-4GLGSB4P.js";
6
6
 
7
7
  // src/scm/token-resolver.ts
8
8
  import { execFile } from "child_process";
@@ -87,4 +87,4 @@ export {
87
87
  hasToken,
88
88
  getTokenEnvVars
89
89
  };
90
- //# sourceMappingURL=chunk-RQUBCGDC.js.map
90
+ //# sourceMappingURL=chunk-BA3RKFDZ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-D4YBKFV6.js";
3
+ } from "./chunk-4GLGSB4P.js";
4
4
 
5
5
  // src/cli/setup-config.ts
6
6
  import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "fs";
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
77
77
  export {
78
78
  runConfigInitSync
79
79
  };
80
- //# sourceMappingURL=chunk-7GRNWMUY.js.map
80
+ //# sourceMappingURL=chunk-BWGLQ5CY.js.map
@@ -12,11 +12,11 @@ import {
12
12
  gateWithReputation,
13
13
  resolveReputationGatingMode,
14
14
  sanitizeInput
15
- } from "./chunk-U6K7TSGW.js";
15
+ } from "./chunk-T3VMFXZZ.js";
16
16
  import {
17
17
  createLogger,
18
18
  getTimeProvider
19
- } from "./chunk-D4YBKFV6.js";
19
+ } from "./chunk-4GLGSB4P.js";
20
20
 
21
21
  // src/dogfooding/pr-reviewer-helpers.ts
22
22
  import { randomUUID } from "crypto";
@@ -297,4 +297,4 @@ export {
297
297
  formatReviewComment,
298
298
  createFailedReview
299
299
  };
300
- //# sourceMappingURL=chunk-BEZN53N3.js.map
300
+ //# sourceMappingURL=chunk-DVAGUVKJ.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-D4YBKFV6.js";
7
+ } from "./chunk-4GLGSB4P.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "fs";
@@ -352,4 +352,4 @@ export {
352
352
  SessionMemory,
353
353
  createSessionMemory
354
354
  };
355
- //# sourceMappingURL=chunk-XXKVHXKX.js.map
355
+ //# sourceMappingURL=chunk-DY2GJ4KA.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-D4YBKFV6.js";
6
+ } from "./chunk-4GLGSB4P.js";
7
7
 
8
8
  // src/config/model-availability.ts
9
9
  var DEFAULT_TTL_MS = 6e4;
@@ -150,4 +150,4 @@ export {
150
150
  resetAvailabilityCache,
151
151
  filterAvailableModels
152
152
  };
153
- //# sourceMappingURL=chunk-HYHVC3C6.js.map
153
+ //# sourceMappingURL=chunk-EGCTFT72.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-HYHVC3C6.js";
3
+ } from "./chunk-EGCTFT72.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-D4YBKFV6.js";
8
+ } from "./chunk-4GLGSB4P.js";
9
9
 
10
10
  // src/pipeline/expert-bridge.ts
11
11
  function resolveCliFromModelString(model) {
@@ -21,7 +21,7 @@ async function getMcpConfigPath() {
21
21
  if (cachedMcpConfigPath !== null) return cachedMcpConfigPath;
22
22
  mcpConfigInitPromise ??= (async () => {
23
23
  try {
24
- const { generateMcpConfig } = await import("./child-mcp-config-J4KM2K5N.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-233VKWG6.js");
25
25
  const config = await generateMcpConfig();
26
26
  cachedMcpConfigPath = config.configPath;
27
27
  cachedMcpConfigCleanup = config.cleanup;
@@ -93,8 +93,8 @@ var routerInitPromise = null;
93
93
  async function getRouter() {
94
94
  if (cachedRouter !== null) return cachedRouter;
95
95
  routerInitPromise ??= (async () => {
96
- const { createAllAdapters } = await import("./factory-B55CSWSP.js");
97
- const { createCompositeRouter } = await import("./composite-router-GE37CAGQ.js");
96
+ const { createAllAdapters } = await import("./factory-YPMBEKEF.js");
97
+ const { createCompositeRouter } = await import("./composite-router-OJBMX5AS.js");
98
98
  const adapters = createAllAdapters();
99
99
  if (adapters.size === 0) {
100
100
  routerInitPromise = null;
@@ -102,7 +102,7 @@ async function getRouter() {
102
102
  }
103
103
  cachedRouter = adaptCompositeRouter(createCompositeRouter(adapters));
104
104
  try {
105
- const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-PTJNL27B.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-U3AN5DSB.js");
106
106
  cachedCircuitBreaker = createCliCircuitBreakerIntegration([...adapters.values()]);
107
107
  } catch (error) {
108
108
  const msg = error instanceof Error ? error.message : String(error);
@@ -213,4 +213,4 @@ export {
213
213
  tokenSplitFromUsage,
214
214
  executeExpert
215
215
  };
216
- //# sourceMappingURL=chunk-C3JP5XMQ.js.map
216
+ //# sourceMappingURL=chunk-GMHBUIVF.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-IA6RXEBX.js";
10
+ } from "./chunk-O34QAXFC.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -20,7 +20,7 @@ import {
20
20
  getTimeProvider,
21
21
  isDeclaredNeverDeprecate,
22
22
  isRegisteredToolName
23
- } from "./chunk-D4YBKFV6.js";
23
+ } from "./chunk-4GLGSB4P.js";
24
24
  import {
25
25
  getNexusDataDir,
26
26
  nexusDataPath
@@ -2159,4 +2159,4 @@ export {
2159
2159
  runImprovementReview,
2160
2160
  registerImprovementReviewTool
2161
2161
  };
2162
- //# sourceMappingURL=chunk-JUNPVQ2K.js.map
2162
+ //# sourceMappingURL=chunk-GQ5RSB5Z.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getTimeProvider
3
- } from "./chunk-D4YBKFV6.js";
3
+ } from "./chunk-4GLGSB4P.js";
4
4
 
5
5
  // src/security/audit-trail.ts
6
6
  var MAX_EVENTS = 1e4;
@@ -205,4 +205,4 @@ export {
205
205
  createGraphAuditBridge,
206
206
  createAuditTrail
207
207
  };
208
- //# sourceMappingURL=chunk-N6A4B2EV.js.map
208
+ //# sourceMappingURL=chunk-HKRXBSSK.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  readOpenAICompatEnv
3
- } from "./chunk-Y3UVTFA6.js";
3
+ } from "./chunk-ZTQJF2XI.js";
4
4
  import {
5
5
  allOf
6
6
  } from "./chunk-OQB3XC5O.js";
7
7
  import {
8
8
  VERSION
9
- } from "./chunk-DJAJAHZS.js";
9
+ } from "./chunk-MOYB2HXE.js";
10
10
  import {
11
11
  capitalize
12
12
  } from "./chunk-6T3EPABN.js";
13
13
  import {
14
14
  createAllAdapters,
15
15
  probeCli
16
- } from "./chunk-ESCDKCQQ.js";
16
+ } from "./chunk-NWRH2Z65.js";
17
17
  import {
18
18
  getNexusTmpDir
19
19
  } from "./chunk-4OW67KT2.js";
@@ -28,7 +28,7 @@ import {
28
28
  ok,
29
29
  symbols,
30
30
  writeLine
31
- } from "./chunk-D4YBKFV6.js";
31
+ } from "./chunk-4GLGSB4P.js";
32
32
  import {
33
33
  getLearningDir,
34
34
  getOutcomesFile,
@@ -1201,13 +1201,13 @@ async function runDoctorFix(result) {
1201
1201
  writeLine2("\u2500".repeat(40));
1202
1202
  let fixCount = 0;
1203
1203
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
1204
- const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-UBDLV6PO.js");
1204
+ const { initDataDirectories: initDataDirectories2, describeDataDirFix: describeDataDirFix2 } = await import("./setup-data-dir-CAUDHZM4.js");
1205
1205
  const outcome = describeDataDirFix2(initDataDirectories2());
1206
1206
  writeLine2(outcome.line);
1207
1207
  if (outcome.counted) fixCount++;
1208
1208
  }
1209
1209
  if (!result.configFile.found) {
1210
- const { runConfigInitSync } = await import("./setup-config-F6I43UM4.js");
1210
+ const { runConfigInitSync } = await import("./setup-config-2I7SXEX4.js");
1211
1211
  const configResult = runConfigInitSync(process.cwd(), false, false);
1212
1212
  if (configResult.success && configResult.created) {
1213
1213
  writeLine2(`\u2713 Generated config: ${configResult.path}`);
@@ -1303,4 +1303,4 @@ export {
1303
1303
  startStdioServer,
1304
1304
  closeServer
1305
1305
  };
1306
- //# sourceMappingURL=chunk-THHXKNRK.js.map
1306
+ //# sourceMappingURL=chunk-L4HYQBEW.js.map
@@ -0,0 +1,7 @@
1
+ // src/version.ts
2
+ var VERSION = true ? "4.32.0" : "dev";
3
+
4
+ export {
5
+ VERSION
6
+ };
7
+ //# sourceMappingURL=chunk-MOYB2HXE.js.map