nexus-agents 2.162.0 → 2.162.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.
Files changed (121) hide show
  1. package/dist/{child-mcp-config-GXWEIDJH.js → child-mcp-config-VXXBVJY3.js} +2 -2
  2. package/dist/{chunk-ZQP2VUQN.js → chunk-23ZSFBBM.js} +8 -8
  3. package/dist/{chunk-TXRPJ6DJ.js → chunk-6FWMNTPO.js} +4 -4
  4. package/dist/{chunk-EPRHNYCO.js → chunk-6ILEOLNW.js} +2 -2
  5. package/dist/{chunk-G5KOZAHM.js → chunk-754RDQAS.js} +2 -2
  6. package/dist/{chunk-MYIJLJQ7.js → chunk-7QWGLBCE.js} +5 -5
  7. package/dist/{chunk-V5MPFOT7.js → chunk-DBHK6EDT.js} +2 -2
  8. package/dist/{chunk-VBL7BVUP.js → chunk-DXEYJAGO.js} +2 -2
  9. package/dist/{chunk-FETTN45O.js → chunk-EQJR6WMY.js} +2 -2
  10. package/dist/{chunk-OFZYDOF3.js → chunk-EVYIQ6N5.js} +5 -5
  11. package/dist/{chunk-FTPCUJUK.js → chunk-EZHYOWWO.js} +2 -2
  12. package/dist/{chunk-RQ4JK2YE.js → chunk-FFH35IKD.js} +3 -3
  13. package/dist/{chunk-P23SETQP.js → chunk-GJSJRJ6Y.js} +2 -2
  14. package/dist/{chunk-YXSRBCA2.js → chunk-GMSYKYFA.js} +2 -2
  15. package/dist/{chunk-3KCSKD7P.js → chunk-HJZ3RES7.js} +2 -2
  16. package/dist/{chunk-VT562DIB.js → chunk-JB37LBSG.js} +7 -7
  17. package/dist/{chunk-PYTWA2LR.js → chunk-JIXCOX7D.js} +3 -3
  18. package/dist/{chunk-Y6ZICYXS.js → chunk-JYR6SBUB.js} +4 -4
  19. package/dist/{chunk-BSGAU3WE.js → chunk-MJLN336B.js} +3 -3
  20. package/dist/{chunk-DQQTKATY.js → chunk-MJOHZFJP.js} +18 -8
  21. package/dist/chunk-MJOHZFJP.js.map +1 -0
  22. package/dist/{chunk-DY5QOBYH.js → chunk-N67NSSQT.js} +2 -2
  23. package/dist/{chunk-RKLKUNRA.js → chunk-RDYGX6MQ.js} +2 -2
  24. package/dist/{chunk-IOWQ2KZK.js → chunk-RN5ISNYK.js} +3 -3
  25. package/dist/{chunk-ZZJIUJT4.js → chunk-THUX4X43.js} +3 -3
  26. package/dist/{chunk-BHMKXBCY.js → chunk-TJJW4BGX.js} +4 -4
  27. package/dist/{chunk-CI5F3CJL.js → chunk-U4KMGGGF.js} +2 -2
  28. package/dist/{chunk-GMT6X3ED.js → chunk-V7CIVDNO.js} +3 -3
  29. package/dist/{chunk-2U42PBUF.js → chunk-VWV34IMA.js} +2 -2
  30. package/dist/{chunk-L6PB3464.js → chunk-W3ZTVYZN.js} +2 -2
  31. package/dist/{chunk-A4XTT4AG.js → chunk-WGDZFYP3.js} +7 -4
  32. package/dist/{chunk-A4XTT4AG.js.map → chunk-WGDZFYP3.js.map} +1 -1
  33. package/dist/{chunk-YAJBZKCC.js → chunk-WP6L2PTV.js} +7 -7
  34. package/dist/{chunk-YRGEW5HH.js → chunk-XWAV3UC2.js} +5 -5
  35. package/dist/{chunk-7F6AMBM4.js → chunk-YUAQRJRF.js} +4 -4
  36. package/dist/{chunk-Z6ORP7BL.js → chunk-ZGSAYLPE.js} +2 -2
  37. package/dist/{chunk-EKGN6UIH.js → chunk-ZIPTXCET.js} +34 -34
  38. package/dist/{cli-circuit-breaker-MKP4EGJ3.js → cli-circuit-breaker-B4RH2ELX.js} +4 -4
  39. package/dist/cli.js +41 -41
  40. package/dist/{composite-router-E5HK2SPX.js → composite-router-4PYFIB2G.js} +2 -2
  41. package/dist/{consensus-vote-53LNVJQX.js → consensus-vote-MM5YG3A5.js} +15 -15
  42. package/dist/{context-retriever-ZQXEWMHS.js → context-retriever-YGPEAEPO.js} +8 -8
  43. package/dist/{doctor-deep-RW5FKXIQ.js → doctor-deep-N576AXQE.js} +3 -3
  44. package/dist/{expert-bridge-435SKR4I.js → expert-bridge-YEE7F6TA.js} +4 -4
  45. package/dist/{factory-PV4YEJXD.js → factory-NQEQY7NV.js} +5 -5
  46. package/dist/{factory-BSELGB2U.js → factory-TWK2UKNH.js} +8 -8
  47. package/dist/{improvement-review-MO277SWX.js → improvement-review-5CZJIOEH.js} +5 -5
  48. package/dist/index.d.ts +48 -25
  49. package/dist/index.js +30 -30
  50. package/dist/{init-opencode-TH5B5PWD.js → init-opencode-R3PEVUUI.js} +6 -6
  51. package/dist/{issue-triage-ZAL27WBT.js → issue-triage-Y35K4BUV.js} +6 -6
  52. package/dist/{pr-reviewer-helpers-Z6MIXEHD.js → pr-reviewer-helpers-TOMMTISB.js} +4 -4
  53. package/dist/{registry-command-YXXJ3EYA.js → registry-command-EBGQHFT3.js} +2 -2
  54. package/dist/{repo-security-plan-LOYQKXWA.js → repo-security-plan-CWJ3Z4CC.js} +3 -3
  55. package/dist/{research-helpers-synthesize-BIEZJYKV.js → research-helpers-synthesize-UNLGVEND.js} +4 -4
  56. package/dist/{routing-memory-FD77RBPF.js → routing-memory-MTGIZZUO.js} +2 -2
  57. package/dist/{session-memory-ZWRYRPK2.js → session-memory-QGUF5TNU.js} +3 -3
  58. package/dist/{setup-command-HTBWLS2P.js → setup-command-6QSWQMBJ.js} +11 -11
  59. package/dist/{setup-config-HTZVHPW2.js → setup-config-4TGGV7AQ.js} +3 -3
  60. package/dist/{setup-custom-api-SHWRKXZG.js → setup-custom-api-QON4YKJ3.js} +3 -3
  61. package/dist/{tool-memory-2765TOOT.js → tool-memory-SNH4B5Q7.js} +5 -5
  62. package/dist/{unified-registry-PBJ4ZVPL.js → unified-registry-XEA2GEOZ.js} +9 -9
  63. package/dist/{weather-report-SIF2QPOU.js → weather-report-QQ42WBNZ.js} +2 -2
  64. package/package.json +1 -1
  65. package/dist/chunk-DQQTKATY.js.map +0 -1
  66. /package/dist/{child-mcp-config-GXWEIDJH.js.map → child-mcp-config-VXXBVJY3.js.map} +0 -0
  67. /package/dist/{chunk-ZQP2VUQN.js.map → chunk-23ZSFBBM.js.map} +0 -0
  68. /package/dist/{chunk-TXRPJ6DJ.js.map → chunk-6FWMNTPO.js.map} +0 -0
  69. /package/dist/{chunk-EPRHNYCO.js.map → chunk-6ILEOLNW.js.map} +0 -0
  70. /package/dist/{chunk-G5KOZAHM.js.map → chunk-754RDQAS.js.map} +0 -0
  71. /package/dist/{chunk-MYIJLJQ7.js.map → chunk-7QWGLBCE.js.map} +0 -0
  72. /package/dist/{chunk-V5MPFOT7.js.map → chunk-DBHK6EDT.js.map} +0 -0
  73. /package/dist/{chunk-VBL7BVUP.js.map → chunk-DXEYJAGO.js.map} +0 -0
  74. /package/dist/{chunk-FETTN45O.js.map → chunk-EQJR6WMY.js.map} +0 -0
  75. /package/dist/{chunk-OFZYDOF3.js.map → chunk-EVYIQ6N5.js.map} +0 -0
  76. /package/dist/{chunk-FTPCUJUK.js.map → chunk-EZHYOWWO.js.map} +0 -0
  77. /package/dist/{chunk-RQ4JK2YE.js.map → chunk-FFH35IKD.js.map} +0 -0
  78. /package/dist/{chunk-P23SETQP.js.map → chunk-GJSJRJ6Y.js.map} +0 -0
  79. /package/dist/{chunk-YXSRBCA2.js.map → chunk-GMSYKYFA.js.map} +0 -0
  80. /package/dist/{chunk-3KCSKD7P.js.map → chunk-HJZ3RES7.js.map} +0 -0
  81. /package/dist/{chunk-VT562DIB.js.map → chunk-JB37LBSG.js.map} +0 -0
  82. /package/dist/{chunk-PYTWA2LR.js.map → chunk-JIXCOX7D.js.map} +0 -0
  83. /package/dist/{chunk-Y6ZICYXS.js.map → chunk-JYR6SBUB.js.map} +0 -0
  84. /package/dist/{chunk-BSGAU3WE.js.map → chunk-MJLN336B.js.map} +0 -0
  85. /package/dist/{chunk-DY5QOBYH.js.map → chunk-N67NSSQT.js.map} +0 -0
  86. /package/dist/{chunk-RKLKUNRA.js.map → chunk-RDYGX6MQ.js.map} +0 -0
  87. /package/dist/{chunk-IOWQ2KZK.js.map → chunk-RN5ISNYK.js.map} +0 -0
  88. /package/dist/{chunk-ZZJIUJT4.js.map → chunk-THUX4X43.js.map} +0 -0
  89. /package/dist/{chunk-BHMKXBCY.js.map → chunk-TJJW4BGX.js.map} +0 -0
  90. /package/dist/{chunk-CI5F3CJL.js.map → chunk-U4KMGGGF.js.map} +0 -0
  91. /package/dist/{chunk-GMT6X3ED.js.map → chunk-V7CIVDNO.js.map} +0 -0
  92. /package/dist/{chunk-2U42PBUF.js.map → chunk-VWV34IMA.js.map} +0 -0
  93. /package/dist/{chunk-L6PB3464.js.map → chunk-W3ZTVYZN.js.map} +0 -0
  94. /package/dist/{chunk-YAJBZKCC.js.map → chunk-WP6L2PTV.js.map} +0 -0
  95. /package/dist/{chunk-YRGEW5HH.js.map → chunk-XWAV3UC2.js.map} +0 -0
  96. /package/dist/{chunk-7F6AMBM4.js.map → chunk-YUAQRJRF.js.map} +0 -0
  97. /package/dist/{chunk-Z6ORP7BL.js.map → chunk-ZGSAYLPE.js.map} +0 -0
  98. /package/dist/{chunk-EKGN6UIH.js.map → chunk-ZIPTXCET.js.map} +0 -0
  99. /package/dist/{cli-circuit-breaker-MKP4EGJ3.js.map → cli-circuit-breaker-B4RH2ELX.js.map} +0 -0
  100. /package/dist/{composite-router-E5HK2SPX.js.map → composite-router-4PYFIB2G.js.map} +0 -0
  101. /package/dist/{consensus-vote-53LNVJQX.js.map → consensus-vote-MM5YG3A5.js.map} +0 -0
  102. /package/dist/{context-retriever-ZQXEWMHS.js.map → context-retriever-YGPEAEPO.js.map} +0 -0
  103. /package/dist/{doctor-deep-RW5FKXIQ.js.map → doctor-deep-N576AXQE.js.map} +0 -0
  104. /package/dist/{expert-bridge-435SKR4I.js.map → expert-bridge-YEE7F6TA.js.map} +0 -0
  105. /package/dist/{factory-BSELGB2U.js.map → factory-NQEQY7NV.js.map} +0 -0
  106. /package/dist/{factory-PV4YEJXD.js.map → factory-TWK2UKNH.js.map} +0 -0
  107. /package/dist/{improvement-review-MO277SWX.js.map → improvement-review-5CZJIOEH.js.map} +0 -0
  108. /package/dist/{init-opencode-TH5B5PWD.js.map → init-opencode-R3PEVUUI.js.map} +0 -0
  109. /package/dist/{issue-triage-ZAL27WBT.js.map → issue-triage-Y35K4BUV.js.map} +0 -0
  110. /package/dist/{pr-reviewer-helpers-Z6MIXEHD.js.map → pr-reviewer-helpers-TOMMTISB.js.map} +0 -0
  111. /package/dist/{registry-command-YXXJ3EYA.js.map → registry-command-EBGQHFT3.js.map} +0 -0
  112. /package/dist/{repo-security-plan-LOYQKXWA.js.map → repo-security-plan-CWJ3Z4CC.js.map} +0 -0
  113. /package/dist/{research-helpers-synthesize-BIEZJYKV.js.map → research-helpers-synthesize-UNLGVEND.js.map} +0 -0
  114. /package/dist/{routing-memory-FD77RBPF.js.map → routing-memory-MTGIZZUO.js.map} +0 -0
  115. /package/dist/{session-memory-ZWRYRPK2.js.map → session-memory-QGUF5TNU.js.map} +0 -0
  116. /package/dist/{setup-command-HTBWLS2P.js.map → setup-command-6QSWQMBJ.js.map} +0 -0
  117. /package/dist/{setup-config-HTZVHPW2.js.map → setup-config-4TGGV7AQ.js.map} +0 -0
  118. /package/dist/{setup-custom-api-SHWRKXZG.js.map → setup-custom-api-QON4YKJ3.js.map} +0 -0
  119. /package/dist/{tool-memory-2765TOOT.js.map → tool-memory-SNH4B5Q7.js.map} +0 -0
  120. /package/dist/{unified-registry-PBJ4ZVPL.js.map → unified-registry-XEA2GEOZ.js.map} +0 -0
  121. /package/dist/{weather-report-SIF2QPOU.js.map → weather-report-QQ42WBNZ.js.map} +0 -0
@@ -5,24 +5,24 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-V5MPFOT7.js";
8
+ } from "./chunk-DBHK6EDT.js";
9
9
  import {
10
10
  CUSTOM_API_BASE_URL_ENV,
11
11
  CUSTOM_API_DEFAULT_MODEL,
12
12
  PROVIDER_ENV_KEYS,
13
13
  assertCustomApiHostResolvesPublic,
14
14
  validateCustomApiBaseUrl
15
- } from "./chunk-RKLKUNRA.js";
15
+ } from "./chunk-RDYGX6MQ.js";
16
16
  import {
17
17
  CliCircuitBreaker,
18
18
  DEFAULT_CIRCUIT_BREAKER_CONFIG
19
- } from "./chunk-3KCSKD7P.js";
19
+ } from "./chunk-HJZ3RES7.js";
20
20
  import {
21
21
  getAvailabilityCache
22
- } from "./chunk-FTPCUJUK.js";
22
+ } from "./chunk-EZHYOWWO.js";
23
23
  import {
24
24
  generateHyphenId
25
- } from "./chunk-VBL7BVUP.js";
25
+ } from "./chunk-DXEYJAGO.js";
26
26
  import {
27
27
  CLI_SUBPROCESS_TIMEOUTS,
28
28
  CLI_TIMEOUTS,
@@ -58,7 +58,7 @@ import {
58
58
  loadModelsDevSnapshot,
59
59
  ok,
60
60
  resolveCliAlias
61
- } from "./chunk-A4XTT4AG.js";
61
+ } from "./chunk-WGDZFYP3.js";
62
62
 
63
63
  // src/cli-adapters/cli-to-model-adapter.ts
64
64
  var CliToModelAdapter = class {
@@ -4867,4 +4867,4 @@ export {
4867
4867
  SdkAdapter,
4868
4868
  createAutoAdapter
4869
4869
  };
4870
- //# sourceMappingURL=chunk-YAJBZKCC.js.map
4870
+ //# sourceMappingURL=chunk-WP6L2PTV.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-P23SETQP.js";
4
+ } from "./chunk-GJSJRJ6Y.js";
5
5
  import {
6
6
  ROLE_DEFAULT_TRUST,
7
7
  ReputationCache,
@@ -11,17 +11,17 @@ import {
11
11
  gateWithReputation,
12
12
  resolveReputationGatingMode,
13
13
  sanitizeInput
14
- } from "./chunk-YXSRBCA2.js";
14
+ } from "./chunk-GMSYKYFA.js";
15
15
  import {
16
16
  emitPolicyEvent
17
- } from "./chunk-DY5QOBYH.js";
17
+ } from "./chunk-N67NSSQT.js";
18
18
  import {
19
19
  CLI_SUBPROCESS_TIMEOUTS,
20
20
  createLogger,
21
21
  err,
22
22
  getTimeProvider,
23
23
  ok
24
- } from "./chunk-A4XTT4AG.js";
24
+ } from "./chunk-WGDZFYP3.js";
25
25
 
26
26
  // src/security/trust-classifier.ts
27
27
  function mapAuthorAssociation(association) {
@@ -1211,4 +1211,4 @@ export {
1211
1211
  IssueTriage,
1212
1212
  createIssueTriage
1213
1213
  };
1214
- //# sourceMappingURL=chunk-YRGEW5HH.js.map
1214
+ //# sourceMappingURL=chunk-XWAV3UC2.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-YAJBZKCC.js";
3
+ } from "./chunk-WP6L2PTV.js";
4
4
  import {
5
5
  mapModelErrorToCategory
6
- } from "./chunk-3KCSKD7P.js";
6
+ } from "./chunk-HJZ3RES7.js";
7
7
  import {
8
8
  CLI_NAMES,
9
9
  CircularBuffer,
@@ -24,7 +24,7 @@ import {
24
24
  ok,
25
25
  recordRateLimitEvent,
26
26
  toRateLimitError
27
- } from "./chunk-A4XTT4AG.js";
27
+ } from "./chunk-WGDZFYP3.js";
28
28
 
29
29
  // src/agents/collaboration/event-bus-helpers.ts
30
30
  import { randomUUID } from "crypto";
@@ -1041,4 +1041,4 @@ export {
1041
1041
  getGlobalRegistry,
1042
1042
  resetGlobalRegistry
1043
1043
  };
1044
- //# sourceMappingURL=chunk-7F6AMBM4.js.map
1044
+ //# sourceMappingURL=chunk-YUAQRJRF.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-A4XTT4AG.js";
5
+ } from "./chunk-WGDZFYP3.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-Z6ORP7BL.js.map
90
+ //# sourceMappingURL=chunk-ZGSAYLPE.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-2U42PBUF.js";
3
+ } from "./chunk-VWV34IMA.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-HFOQKCD2.js";
@@ -18,10 +18,10 @@ import {
18
18
  DEFAULT_TASK_TTL_MS,
19
19
  DEFAULT_TOOL_RATE_LIMITS,
20
20
  clampTaskTtl
21
- } from "./chunk-DQQTKATY.js";
21
+ } from "./chunk-MJOHZFJP.js";
22
22
  import {
23
23
  executeExpert
24
- } from "./chunk-VT562DIB.js";
24
+ } from "./chunk-JB37LBSG.js";
25
25
  import {
26
26
  JobStatusSchema,
27
27
  abortJob,
@@ -42,21 +42,21 @@ import {
42
42
  simulationDeniedResult,
43
43
  toJobSummary,
44
44
  writeJobCancelled
45
- } from "./chunk-ZQP2VUQN.js";
45
+ } from "./chunk-23ZSFBBM.js";
46
46
  import {
47
47
  normalizeTopicToCanonical,
48
48
  synthesizeResearch
49
- } from "./chunk-ZZJIUJT4.js";
49
+ } from "./chunk-THUX4X43.js";
50
50
  import {
51
51
  IssueTriage
52
- } from "./chunk-YRGEW5HH.js";
52
+ } from "./chunk-XWAV3UC2.js";
53
53
  import {
54
54
  resolveEnvMode,
55
55
  sanitizeInput
56
- } from "./chunk-YXSRBCA2.js";
56
+ } from "./chunk-GMSYKYFA.js";
57
57
  import {
58
58
  withPrerequisite
59
- } from "./chunk-BSGAU3WE.js";
59
+ } from "./chunk-MJLN336B.js";
60
60
  import {
61
61
  NOOP_NOTIFIER,
62
62
  RateLimiter,
@@ -79,12 +79,12 @@ import {
79
79
  withAuditTrail,
80
80
  withProgressHeartbeat,
81
81
  wrapToolWithTimeout
82
- } from "./chunk-RQ4JK2YE.js";
82
+ } from "./chunk-FFH35IKD.js";
83
83
  import {
84
84
  createAuditTrail,
85
85
  createGraphAuditBridge,
86
86
  emitPipelinePolicyEvent
87
- } from "./chunk-DY5QOBYH.js";
87
+ } from "./chunk-N67NSSQT.js";
88
88
  import {
89
89
  addResearchPaper,
90
90
  addSourceToRegistry,
@@ -112,15 +112,15 @@ import {
112
112
  parseRegistry,
113
113
  sourceExistsInRegistry,
114
114
  summarizeContextForPrompt
115
- } from "./chunk-OFZYDOF3.js";
115
+ } from "./chunk-EVYIQ6N5.js";
116
116
  import {
117
117
  getTokenEnvVars,
118
118
  resolveToken
119
- } from "./chunk-Z6ORP7BL.js";
119
+ } from "./chunk-ZGSAYLPE.js";
120
120
  import {
121
121
  loadPapersRegistry,
122
122
  loadTechniquesRegistry
123
- } from "./chunk-G5KOZAHM.js";
123
+ } from "./chunk-754RDQAS.js";
124
124
  import {
125
125
  resolveInsideRoot
126
126
  } from "./chunk-NUBSJGQZ.js";
@@ -129,14 +129,14 @@ import {
129
129
  MemoryImportance,
130
130
  calculateTextJaccardSimilarity,
131
131
  getToolMemory
132
- } from "./chunk-BHMKXBCY.js";
132
+ } from "./chunk-TJJW4BGX.js";
133
133
  import {
134
134
  STOPWORDS,
135
135
  truncateWithInfo
136
136
  } from "./chunk-6T3EPABN.js";
137
137
  import {
138
138
  createSessionMemory
139
- } from "./chunk-CI5F3CJL.js";
139
+ } from "./chunk-U4KMGGGF.js";
140
140
  import {
141
141
  BUILT_IN_EXPERTS,
142
142
  BuiltInExpertTypeSchema,
@@ -151,7 +151,7 @@ import {
151
151
  createEvent,
152
152
  getGlobalEventBus,
153
153
  getGlobalRegistry
154
- } from "./chunk-7F6AMBM4.js";
154
+ } from "./chunk-YUAQRJRF.js";
155
155
  import {
156
156
  CliDetectionCache,
157
157
  asRecord,
@@ -159,19 +159,19 @@ import {
159
159
  getAvailableClis,
160
160
  sleep,
161
161
  withTimeout
162
- } from "./chunk-YAJBZKCC.js";
162
+ } from "./chunk-WP6L2PTV.js";
163
163
  import {
164
164
  DEFAULTS
165
- } from "./chunk-RKLKUNRA.js";
165
+ } from "./chunk-RDYGX6MQ.js";
166
166
  import {
167
167
  getAvailabilityCache,
168
168
  getCliForModelId,
169
169
  resolveFallback
170
- } from "./chunk-FTPCUJUK.js";
170
+ } from "./chunk-EZHYOWWO.js";
171
171
  import {
172
172
  generateHyphenId,
173
173
  generateUUID
174
- } from "./chunk-VBL7BVUP.js";
174
+ } from "./chunk-DXEYJAGO.js";
175
175
  import {
176
176
  AGENT_ROUTER_TIMEOUTS,
177
177
  API_TIMEOUTS,
@@ -263,7 +263,7 @@ import {
263
263
  selectStrategyByManifest,
264
264
  toExpertTaskAnalysisResult,
265
265
  withStep
266
- } from "./chunk-A4XTT4AG.js";
266
+ } from "./chunk-WGDZFYP3.js";
267
267
  import {
268
268
  ensureLearningDir,
269
269
  getMetaOutcomesFile,
@@ -26298,7 +26298,7 @@ function execIdFields(executionId) {
26298
26298
  async function populateUnifiedContextOnState(state, options) {
26299
26299
  const taskCandidate = state["task"];
26300
26300
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
26301
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-ZQXEWMHS.js");
26301
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-YGPEAEPO.js");
26302
26302
  const category = inferTaskCategory2(taskCandidate);
26303
26303
  const executionId = options?.executionId;
26304
26304
  const execFields = execIdFields(executionId);
@@ -41580,7 +41580,7 @@ async function tryIssueTriage(task) {
41580
41580
  try {
41581
41581
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
41582
41582
  if (issueMatch === null) return null;
41583
- const { createIssueTriage } = await import("./issue-triage-ZAL27WBT.js");
41583
+ const { createIssueTriage } = await import("./issue-triage-Y35K4BUV.js");
41584
41584
  const triage = createIssueTriage();
41585
41585
  const owner = issueMatch[1] ?? "";
41586
41586
  const num = issueMatch[2] ?? "";
@@ -41608,7 +41608,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
41608
41608
  ]);
41609
41609
  async function classifyWithLLM(task) {
41610
41610
  try {
41611
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-435SKR4I.js");
41611
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-YEE7F6TA.js");
41612
41612
  const prompt = [
41613
41613
  "Classify this task into exactly one pipeline template.",
41614
41614
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -43249,7 +43249,7 @@ var memoryInitPromise = null;
43249
43249
  async function initPipelineMemory() {
43250
43250
  if (cachedMemory !== null) return cachedMemory;
43251
43251
  try {
43252
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-ZWRYRPK2.js");
43252
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-QGUF5TNU.js");
43253
43253
  const { getLearningDir } = await import("./learning-persistence-M3OTCCNI.js");
43254
43254
  const mem = createSessionMemory2(getLearningDir());
43255
43255
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -43311,7 +43311,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
43311
43311
  callRecord(routingMemoryCache);
43312
43312
  return;
43313
43313
  }
43314
- routingMemoryInitPromise ??= import("./routing-memory-FD77RBPF.js").then(({ createRoutingMemory }) => {
43314
+ routingMemoryInitPromise ??= import("./routing-memory-MTGIZZUO.js").then(({ createRoutingMemory }) => {
43315
43315
  routingMemoryCache ??= createRoutingMemory();
43316
43316
  return routingMemoryCache;
43317
43317
  }).catch((error) => {
@@ -43345,7 +43345,7 @@ ${text}` : "";
43345
43345
  }
43346
43346
  async function getWeatherContext() {
43347
43347
  try {
43348
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-SIF2QPOU.js");
43348
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-QQ42WBNZ.js");
43349
43349
  const report = generateWeatherReport2({ includeAdaptive: true });
43350
43350
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
43351
43351
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -43363,7 +43363,7 @@ ${lines}
43363
43363
  }
43364
43364
  async function getMemoryContext(task) {
43365
43365
  try {
43366
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-ZWRYRPK2.js");
43366
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-QGUF5TNU.js");
43367
43367
  const { getLearningDir } = await import("./learning-persistence-M3OTCCNI.js");
43368
43368
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
43369
43369
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -43478,7 +43478,7 @@ ${contextBlock}`;
43478
43478
  const strategy = config.votingStrategy ?? "higher_order";
43479
43479
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
43480
43480
  try {
43481
- const { executeVoting } = await import("./consensus-vote-53LNVJQX.js");
43481
+ const { executeVoting } = await import("./consensus-vote-MM5YG3A5.js");
43482
43482
  const votingResult = await executeVoting(
43483
43483
  {
43484
43484
  proposal: buildVoteProposal(plan, research),
@@ -43919,7 +43919,7 @@ async function searchCodebaseForTask(task) {
43919
43919
  }
43920
43920
  async function queryResearchRegistry(task) {
43921
43921
  try {
43922
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-BIEZJYKV.js");
43922
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-UNLGVEND.js");
43923
43923
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
43924
43924
  if (topic === void 0) return null;
43925
43925
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -43990,7 +43990,7 @@ function createScanStageWrapper() {
43990
43990
  try {
43991
43991
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
43992
43992
  if (slug !== void 0) {
43993
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-LOYQKXWA.js");
43993
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-CWJ3Z4CC.js");
43994
43994
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
43995
43995
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
43996
43996
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -46950,7 +46950,7 @@ var GitHubTaskTracker = class {
46950
46950
  cachedProvider = null;
46951
46951
  async getProvider() {
46952
46952
  if (this.cachedProvider !== null) return this.cachedProvider;
46953
- const { createScmProvider } = await import("./factory-PV4YEJXD.js");
46953
+ const { createScmProvider } = await import("./factory-NQEQY7NV.js");
46954
46954
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
46955
46955
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
46956
46956
  this.cachedProvider = result.value;
@@ -47757,7 +47757,7 @@ async function probeSource(source, includeModelIds) {
47757
47757
  }
47758
47758
  }
47759
47759
  async function defaultSources(includeOpenRouter) {
47760
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-BSELGB2U.js");
47760
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-TWK2UKNH.js");
47761
47761
  const adapters = createAllAdapters2();
47762
47762
  return buildDefaultModelSources(adapters, { includeOpenRouter });
47763
47763
  }
@@ -51826,4 +51826,4 @@ export {
51826
51826
  shutdownFeedbackSubscriber,
51827
51827
  createEventBusBridge
51828
51828
  };
51829
- //# sourceMappingURL=chunk-EKGN6UIH.js.map
51829
+ //# sourceMappingURL=chunk-ZIPTXCET.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CliCircuitBreakerIntegration,
3
3
  createCliCircuitBreakerIntegration
4
- } from "./chunk-GMT6X3ED.js";
5
- import "./chunk-3KCSKD7P.js";
6
- import "./chunk-A4XTT4AG.js";
4
+ } from "./chunk-V7CIVDNO.js";
5
+ import "./chunk-HJZ3RES7.js";
6
+ import "./chunk-WGDZFYP3.js";
7
7
  import "./chunk-NL7SZQPW.js";
8
8
  import "./chunk-DHVMSIT5.js";
9
9
  import "./chunk-ZPWHCABL.js";
@@ -11,4 +11,4 @@ export {
11
11
  CliCircuitBreakerIntegration,
12
12
  createCliCircuitBreakerIntegration
13
13
  };
14
- //# sourceMappingURL=cli-circuit-breaker-MKP4EGJ3.js.map
14
+ //# sourceMappingURL=cli-circuit-breaker-B4RH2ELX.js.map
package/dist/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  buildOpenAICompatAdapters,
4
4
  readOpenAICompatEnv
5
- } from "./chunk-Y6ZICYXS.js";
5
+ } from "./chunk-JYR6SBUB.js";
6
6
  import {
7
7
  calculateConsensus,
8
8
  countByCategory,
@@ -17,13 +17,13 @@ import {
17
17
  generateSummary,
18
18
  parseFindings,
19
19
  sumFindings
20
- } from "./chunk-IOWQ2KZK.js";
21
- import "./chunk-FETTN45O.js";
20
+ } from "./chunk-RN5ISNYK.js";
21
+ import "./chunk-EQJR6WMY.js";
22
22
  import {
23
23
  setupCommandAsync,
24
24
  verifyCommand
25
- } from "./chunk-MYIJLJQ7.js";
26
- import "./chunk-L6PB3464.js";
25
+ } from "./chunk-7QWGLBCE.js";
26
+ import "./chunk-W3ZTVYZN.js";
27
27
  import {
28
28
  AuthHandler,
29
29
  DEFAULT_EXPERTS,
@@ -142,9 +142,9 @@ import {
142
142
  validateCommand,
143
143
  validateWorkflow,
144
144
  wrapInMarkdownFence
145
- } from "./chunk-EKGN6UIH.js";
146
- import "./chunk-PYTWA2LR.js";
147
- import "./chunk-2U42PBUF.js";
145
+ } from "./chunk-ZIPTXCET.js";
146
+ import "./chunk-JIXCOX7D.js";
147
+ import "./chunk-VWV34IMA.js";
148
148
  import "./chunk-HFOQKCD2.js";
149
149
  import "./chunk-3ACDP4E6.js";
150
150
  import {
@@ -170,11 +170,11 @@ import {
170
170
  loadConfig,
171
171
  runDoctor,
172
172
  validateNexusEnv
173
- } from "./chunk-DQQTKATY.js";
174
- import "./chunk-GMT6X3ED.js";
173
+ } from "./chunk-MJOHZFJP.js";
174
+ import "./chunk-V7CIVDNO.js";
175
175
  import {
176
176
  shutdownExpertBridge
177
- } from "./chunk-VT562DIB.js";
177
+ } from "./chunk-JB37LBSG.js";
178
178
  import {
179
179
  ConsensusVoteInputSchema,
180
180
  DEFAULT_VOTE_TIMEOUT_MS,
@@ -184,25 +184,25 @@ import {
184
184
  executeVoting,
185
185
  mapOutcomeToDecision,
186
186
  registerConsensusVoteTool
187
- } from "./chunk-ZQP2VUQN.js";
187
+ } from "./chunk-23ZSFBBM.js";
188
188
  import {
189
189
  loadUsageEvents,
190
190
  rollupByModel
191
- } from "./chunk-EPRHNYCO.js";
191
+ } from "./chunk-6ILEOLNW.js";
192
192
  import {
193
193
  synthesizeResearch
194
- } from "./chunk-ZZJIUJT4.js";
194
+ } from "./chunk-THUX4X43.js";
195
195
  import {
196
196
  classifyTrust,
197
197
  createFullGitHubProvider,
198
198
  evaluatePolicy,
199
199
  parsePRUrl
200
- } from "./chunk-YRGEW5HH.js";
201
- import "./chunk-P23SETQP.js";
200
+ } from "./chunk-XWAV3UC2.js";
201
+ import "./chunk-GJSJRJ6Y.js";
202
202
  import {
203
203
  ReputationCache,
204
204
  sanitizeInput
205
- } from "./chunk-YXSRBCA2.js";
205
+ } from "./chunk-GMSYKYFA.js";
206
206
  import {
207
207
  ImprovementReviewInputSchema,
208
208
  calculateFitnessScore,
@@ -216,11 +216,11 @@ import {
216
216
  registerImprovementReviewTool,
217
217
  runImprovementReview,
218
218
  scanForSecrets
219
- } from "./chunk-BSGAU3WE.js";
219
+ } from "./chunk-MJLN336B.js";
220
220
  import {
221
221
  createDefaultPolicyFirewall
222
- } from "./chunk-RQ4JK2YE.js";
223
- import "./chunk-DY5QOBYH.js";
222
+ } from "./chunk-FFH35IKD.js";
223
+ import "./chunk-N67NSSQT.js";
224
224
  import {
225
225
  PaperStatusSchema,
226
226
  createResearchIssue,
@@ -243,32 +243,32 @@ import {
243
243
  loadSourcesRegistry,
244
244
  rankDiscoveredItems,
245
245
  saveSourcesRegistry
246
- } from "./chunk-OFZYDOF3.js";
246
+ } from "./chunk-EVYIQ6N5.js";
247
247
  import {
248
248
  resolveToken
249
- } from "./chunk-Z6ORP7BL.js";
249
+ } from "./chunk-ZGSAYLPE.js";
250
250
  import {
251
251
  loadPapersRegistry,
252
252
  loadTechniquesRegistry,
253
253
  savePapersRegistry
254
- } from "./chunk-G5KOZAHM.js";
254
+ } from "./chunk-754RDQAS.js";
255
255
  import "./chunk-NUBSJGQZ.js";
256
256
  import {
257
257
  MemoryError,
258
258
  shutdownToolMemory
259
- } from "./chunk-BHMKXBCY.js";
259
+ } from "./chunk-TJJW4BGX.js";
260
260
  import {
261
261
  capitalize,
262
262
  capitalizeKebab,
263
263
  truncateSentence
264
264
  } from "./chunk-6T3EPABN.js";
265
- import "./chunk-CI5F3CJL.js";
265
+ import "./chunk-U4KMGGGF.js";
266
266
  import "./chunk-ZM4O442V.js";
267
267
  import "./chunk-PINS44XA.js";
268
268
  import "./chunk-KSQSWEFH.js";
269
269
  import {
270
270
  createUnifiedRegistry
271
- } from "./chunk-7F6AMBM4.js";
271
+ } from "./chunk-YUAQRJRF.js";
272
272
  import {
273
273
  NEXUS_SUBPROCESS_DEPTH_ENV,
274
274
  createAllAdapters,
@@ -276,14 +276,14 @@ import {
276
276
  isRecord,
277
277
  probeAllClis,
278
278
  readSubprocessDepth
279
- } from "./chunk-YAJBZKCC.js";
280
- import "./chunk-V5MPFOT7.js";
279
+ } from "./chunk-WP6L2PTV.js";
280
+ import "./chunk-DBHK6EDT.js";
281
281
  import {
282
282
  DEFAULTS
283
- } from "./chunk-RKLKUNRA.js";
284
- import "./chunk-3KCSKD7P.js";
285
- import "./chunk-FTPCUJUK.js";
286
- import "./chunk-VBL7BVUP.js";
283
+ } from "./chunk-RDYGX6MQ.js";
284
+ import "./chunk-HJZ3RES7.js";
285
+ import "./chunk-EZHYOWWO.js";
286
+ import "./chunk-DXEYJAGO.js";
287
287
  import {
288
288
  API_TIMEOUTS,
289
289
  AgentCapability,
@@ -357,7 +357,7 @@ import {
357
357
  validateTimeout,
358
358
  writeEmptyLine,
359
359
  writeLine
360
- } from "./chunk-A4XTT4AG.js";
360
+ } from "./chunk-WGDZFYP3.js";
361
361
  import "./chunk-NL7SZQPW.js";
362
362
  import {
363
363
  applyPortableMode,
@@ -4035,7 +4035,7 @@ ${file.patch}
4035
4035
  violations: policyResult.violations
4036
4036
  });
4037
4037
  }
4038
- const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-Z6MIXEHD.js");
4038
+ const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-TOMMTISB.js");
4039
4039
  const body = formatReviewComment2(result);
4040
4040
  const postResult = await provider.createReview(pr.prNumber, body, result.decision);
4041
4041
  if (!postResult.ok) {
@@ -17859,7 +17859,7 @@ function startImprovementReviewScheduler(options) {
17859
17859
  let running = false;
17860
17860
  const runOnce = async () => {
17861
17861
  try {
17862
- const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-MO277SWX.js");
17862
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-5CZJIOEH.js");
17863
17863
  const input = ImprovementReviewInputSchema2.parse({ fileIssues });
17864
17864
  const result = await runImprovementReview2(input, { logger: logger19 });
17865
17865
  logger19.info("Scheduled improvement_review complete", {
@@ -19898,7 +19898,7 @@ function adaptConfigToLibrary(config) {
19898
19898
  }
19899
19899
  function createBeliefPromoter() {
19900
19900
  return async (event) => {
19901
- const { getToolMemory } = await import("./tool-memory-2765TOOT.js");
19901
+ const { getToolMemory } = await import("./tool-memory-SNH4B5Q7.js");
19902
19902
  const tm = getToolMemory();
19903
19903
  await tm.recordBelief(
19904
19904
  `skill:${event.name}`,
@@ -21010,7 +21010,7 @@ async function handleResearchCommand(args) {
21010
21010
  }
21011
21011
  }
21012
21012
  async function handleRegistryCommand(args) {
21013
- const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-YXXJ3EYA.js");
21013
+ const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-EBGQHFT3.js");
21014
21014
  const subcommand = args.subcommand;
21015
21015
  if (!isValidRegistrySubcommand(subcommand)) {
21016
21016
  process.stdout.write(`${formatRegistryUsage()}
@@ -21058,7 +21058,7 @@ async function handleVerifyCommand(args) {
21058
21058
  async function handleDoctorCommand(args) {
21059
21059
  const exitCode = await doctorCommand({ fix: args.options.fix });
21060
21060
  if (args.options.deep) {
21061
- const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-RW5FKXIQ.js");
21061
+ const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-N576AXQE.js");
21062
21062
  const diag = runDeepDiagnostics2();
21063
21063
  process.stdout.write(formatDeepDiagnostics2(diag) + "\n");
21064
21064
  }
@@ -21108,7 +21108,7 @@ async function runInitPortableFlow(args) {
21108
21108
  return cliExit(result.success ? EXIT_CODES.SUCCESS : EXIT_CODES.SERVER_START_FAILED);
21109
21109
  }
21110
21110
  async function runInitOpencodeFlow(args) {
21111
- const { runInitOpencode } = await import("./init-opencode-TH5B5PWD.js");
21111
+ const { runInitOpencode } = await import("./init-opencode-R3PEVUUI.js");
21112
21112
  const opencodePath = args.options.opencode;
21113
21113
  if (opencodePath === void 0 || opencodePath === "") {
21114
21114
  process.stderr.write("Error: --opencode requires a path argument.\n");
@@ -21134,7 +21134,7 @@ async function runInitOpencodeFlow(args) {
21134
21134
  return cliExit(EXIT_CODES.SUCCESS);
21135
21135
  }
21136
21136
  async function renderOpencodeValidate(opencodePath) {
21137
- const { runOpencodeValidate } = await import("./init-opencode-TH5B5PWD.js");
21137
+ const { runOpencodeValidate } = await import("./init-opencode-R3PEVUUI.js");
21138
21138
  const result = await runOpencodeValidate(opencodePath);
21139
21139
  if (!result.ok) {
21140
21140
  process.stderr.write(`init --opencode --validate: ${result.reason ?? "failed"}
@@ -21173,7 +21173,7 @@ async function handleSetupCommandAsync(args) {
21173
21173
  return cliExitFromStatus(exitCode);
21174
21174
  }
21175
21175
  async function runCustomApiSetup(args) {
21176
- const { configureCustomApi } = await import("./setup-custom-api-SHWRKXZG.js");
21176
+ const { configureCustomApi } = await import("./setup-custom-api-QON4YKJ3.js");
21177
21177
  const baseUrl = args.options.customApi;
21178
21178
  if (baseUrl === void 0) return EXIT_CODES.SERVER_START_FAILED;
21179
21179
  const input = {
@@ -4,7 +4,7 @@ import {
4
4
  CompositeRoutingError,
5
5
  DEFAULT_COMPOSITE_CONFIG,
6
6
  createCompositeRouter
7
- } from "./chunk-A4XTT4AG.js";
7
+ } from "./chunk-WGDZFYP3.js";
8
8
  import "./chunk-NL7SZQPW.js";
9
9
  import "./chunk-DHVMSIT5.js";
10
10
  import "./chunk-ZPWHCABL.js";
@@ -15,4 +15,4 @@ export {
15
15
  DEFAULT_COMPOSITE_CONFIG,
16
16
  createCompositeRouter
17
17
  };
18
- //# sourceMappingURL=composite-router-E5HK2SPX.js.map
18
+ //# sourceMappingURL=composite-router-4PYFIB2G.js.map