nexus-agents 2.158.0 → 2.159.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 (121) hide show
  1. package/dist/{child-mcp-config-ODAUXUWE.js → child-mcp-config-72S4OMRK.js} +2 -2
  2. package/dist/{chunk-OOGGQ2NA.js → chunk-24PRWXLQ.js} +3 -3
  3. package/dist/{chunk-YH5U3XCP.js → chunk-3YGTLWNA.js} +2 -2
  4. package/dist/{chunk-I32MYAT5.js → chunk-6IXIKOLR.js} +2 -2
  5. package/dist/{chunk-4IXC6V6O.js → chunk-7WKSZZAX.js} +2 -2
  6. package/dist/{chunk-XLJCXM7L.js → chunk-AS6TNXKV.js} +2 -2
  7. package/dist/{chunk-RI3BFANI.js → chunk-BK2IRU3L.js} +2 -2
  8. package/dist/{chunk-YMMX6ELC.js → chunk-CY3QSLDQ.js} +3 -3
  9. package/dist/{chunk-J6OUXCR3.js → chunk-DOTCPOLE.js} +7 -7
  10. package/dist/{chunk-Q4JNYY2Y.js → chunk-FENIEDNW.js} +45 -12
  11. package/dist/chunk-FENIEDNW.js.map +1 -0
  12. package/dist/{chunk-K6HJLOPA.js → chunk-GY4XQU2V.js} +3 -3
  13. package/dist/{chunk-J2JP35S3.js → chunk-I3ROKMFF.js} +4 -4
  14. package/dist/{chunk-LSWGHIJK.js → chunk-I4SDEK6H.js} +7 -7
  15. package/dist/{chunk-CTL5HUZZ.js → chunk-IYSD4VFM.js} +4 -4
  16. package/dist/{chunk-YQRP5NST.js → chunk-JEUWM2VZ.js} +2 -2
  17. package/dist/{chunk-55ZDYUBT.js → chunk-MWTAZEHK.js} +2 -2
  18. package/dist/{chunk-S3H4VWN5.js → chunk-NTVJNSJC.js} +2 -2
  19. package/dist/{chunk-KS622JST.js → chunk-P3FNNFAW.js} +3 -3
  20. package/dist/{chunk-DSUFV2ZN.js → chunk-P7SRGOLU.js} +2 -2
  21. package/dist/{chunk-42ZSRIEX.js → chunk-RZDIYKVH.js} +2 -2
  22. package/dist/{chunk-6B5VQ2SY.js → chunk-SHKRC6Z7.js} +5 -5
  23. package/dist/{chunk-FWW5GCEH.js → chunk-SLQJ746K.js} +2 -2
  24. package/dist/{chunk-UQOJ2KGW.js → chunk-TB7GQCIH.js} +2 -2
  25. package/dist/{chunk-VKVJSPHJ.js → chunk-TMBVOQPL.js} +4 -4
  26. package/dist/{chunk-GG7MGRQ6.js → chunk-TOJFRIVM.js} +4 -4
  27. package/dist/{chunk-U5KSLUZ6.js → chunk-VCFKTNCM.js} +2 -2
  28. package/dist/{chunk-Q7TALELN.js → chunk-VCX3QMZE.js} +8 -8
  29. package/dist/{chunk-2O63LDYB.js → chunk-VOTYZUEG.js} +3 -3
  30. package/dist/{chunk-7J3AAPH5.js → chunk-VQ3ZVDSQ.js} +2 -2
  31. package/dist/{chunk-IQVHJD4O.js → chunk-WTCREQRS.js} +9 -8
  32. package/dist/{chunk-IQVHJD4O.js.map → chunk-WTCREQRS.js.map} +1 -1
  33. package/dist/{chunk-S7PFS6PX.js → chunk-XPPDWKZI.js} +7 -7
  34. package/dist/{chunk-R76LLKT2.js → chunk-Y7637JDT.js} +5 -5
  35. package/dist/{chunk-CSHFTQA7.js → chunk-YNKEHMKX.js} +3 -3
  36. package/dist/{chunk-6MCSD37T.js → chunk-ZHGCHS2D.js} +2 -2
  37. package/dist/{chunk-SPOES3DZ.js → chunk-ZQMTD74M.js} +34 -34
  38. package/dist/{cli-circuit-breaker-MLVJXLK6.js → cli-circuit-breaker-BWZXZBNW.js} +4 -4
  39. package/dist/cli.js +41 -41
  40. package/dist/{composite-router-FTECAR4U.js → composite-router-NPSNBLX7.js} +2 -2
  41. package/dist/{consensus-vote-MMZTCPL7.js → consensus-vote-ZX6NLTI4.js} +15 -15
  42. package/dist/{context-retriever-MPZ7T4VA.js → context-retriever-3QKHEA5U.js} +8 -8
  43. package/dist/{doctor-deep-KUB4HPCS.js → doctor-deep-Y2PQCE6G.js} +3 -3
  44. package/dist/{expert-bridge-EK362QGQ.js → expert-bridge-NXG4Z7U7.js} +4 -4
  45. package/dist/{factory-GOO7MH5G.js → factory-JJ4N6YPR.js} +8 -8
  46. package/dist/{factory-XBUQP3UB.js → factory-YK2QA3TU.js} +5 -5
  47. package/dist/{improvement-review-XXRDVOJT.js → improvement-review-6LSV4QFA.js} +5 -5
  48. package/dist/index.d.ts +6 -2
  49. package/dist/index.js +30 -30
  50. package/dist/{init-opencode-RNSCHZIW.js → init-opencode-AO2PEKXB.js} +6 -6
  51. package/dist/{issue-triage-7TWTN6LI.js → issue-triage-ZRRXCDAM.js} +6 -6
  52. package/dist/{pr-reviewer-helpers-VT4DR5BC.js → pr-reviewer-helpers-NEJJKQ7D.js} +4 -4
  53. package/dist/{registry-command-QVBYBBWR.js → registry-command-DKNGS752.js} +2 -2
  54. package/dist/{repo-security-plan-VSQWMONM.js → repo-security-plan-DEYYRMTB.js} +3 -3
  55. package/dist/{research-helpers-synthesize-VCUOMHPD.js → research-helpers-synthesize-54UEJ24R.js} +4 -4
  56. package/dist/{routing-memory-PP4UJVH4.js → routing-memory-QFEXYF6G.js} +2 -2
  57. package/dist/{session-memory-TVV2IOGB.js → session-memory-DYU7XMQO.js} +3 -3
  58. package/dist/{setup-command-4GOUS52A.js → setup-command-PSYJ4M7Q.js} +11 -11
  59. package/dist/{setup-config-HZHL4QMD.js → setup-config-CBV4OUOE.js} +3 -3
  60. package/dist/{setup-custom-api-H6FJ5VWL.js → setup-custom-api-IJWYWAHX.js} +3 -3
  61. package/dist/{tool-memory-YLCJZVMV.js → tool-memory-2DI34M5Z.js} +5 -5
  62. package/dist/{unified-registry-ZUPTC7OR.js → unified-registry-VQPPIL6M.js} +9 -9
  63. package/dist/{weather-report-XPDW6LGI.js → weather-report-RETBQ4VD.js} +2 -2
  64. package/package.json +1 -1
  65. package/dist/chunk-Q4JNYY2Y.js.map +0 -1
  66. /package/dist/{child-mcp-config-ODAUXUWE.js.map → child-mcp-config-72S4OMRK.js.map} +0 -0
  67. /package/dist/{chunk-OOGGQ2NA.js.map → chunk-24PRWXLQ.js.map} +0 -0
  68. /package/dist/{chunk-YH5U3XCP.js.map → chunk-3YGTLWNA.js.map} +0 -0
  69. /package/dist/{chunk-I32MYAT5.js.map → chunk-6IXIKOLR.js.map} +0 -0
  70. /package/dist/{chunk-4IXC6V6O.js.map → chunk-7WKSZZAX.js.map} +0 -0
  71. /package/dist/{chunk-XLJCXM7L.js.map → chunk-AS6TNXKV.js.map} +0 -0
  72. /package/dist/{chunk-RI3BFANI.js.map → chunk-BK2IRU3L.js.map} +0 -0
  73. /package/dist/{chunk-YMMX6ELC.js.map → chunk-CY3QSLDQ.js.map} +0 -0
  74. /package/dist/{chunk-J6OUXCR3.js.map → chunk-DOTCPOLE.js.map} +0 -0
  75. /package/dist/{chunk-K6HJLOPA.js.map → chunk-GY4XQU2V.js.map} +0 -0
  76. /package/dist/{chunk-J2JP35S3.js.map → chunk-I3ROKMFF.js.map} +0 -0
  77. /package/dist/{chunk-LSWGHIJK.js.map → chunk-I4SDEK6H.js.map} +0 -0
  78. /package/dist/{chunk-CTL5HUZZ.js.map → chunk-IYSD4VFM.js.map} +0 -0
  79. /package/dist/{chunk-YQRP5NST.js.map → chunk-JEUWM2VZ.js.map} +0 -0
  80. /package/dist/{chunk-55ZDYUBT.js.map → chunk-MWTAZEHK.js.map} +0 -0
  81. /package/dist/{chunk-S3H4VWN5.js.map → chunk-NTVJNSJC.js.map} +0 -0
  82. /package/dist/{chunk-KS622JST.js.map → chunk-P3FNNFAW.js.map} +0 -0
  83. /package/dist/{chunk-DSUFV2ZN.js.map → chunk-P7SRGOLU.js.map} +0 -0
  84. /package/dist/{chunk-42ZSRIEX.js.map → chunk-RZDIYKVH.js.map} +0 -0
  85. /package/dist/{chunk-6B5VQ2SY.js.map → chunk-SHKRC6Z7.js.map} +0 -0
  86. /package/dist/{chunk-FWW5GCEH.js.map → chunk-SLQJ746K.js.map} +0 -0
  87. /package/dist/{chunk-UQOJ2KGW.js.map → chunk-TB7GQCIH.js.map} +0 -0
  88. /package/dist/{chunk-VKVJSPHJ.js.map → chunk-TMBVOQPL.js.map} +0 -0
  89. /package/dist/{chunk-GG7MGRQ6.js.map → chunk-TOJFRIVM.js.map} +0 -0
  90. /package/dist/{chunk-U5KSLUZ6.js.map → chunk-VCFKTNCM.js.map} +0 -0
  91. /package/dist/{chunk-Q7TALELN.js.map → chunk-VCX3QMZE.js.map} +0 -0
  92. /package/dist/{chunk-2O63LDYB.js.map → chunk-VOTYZUEG.js.map} +0 -0
  93. /package/dist/{chunk-7J3AAPH5.js.map → chunk-VQ3ZVDSQ.js.map} +0 -0
  94. /package/dist/{chunk-S7PFS6PX.js.map → chunk-XPPDWKZI.js.map} +0 -0
  95. /package/dist/{chunk-R76LLKT2.js.map → chunk-Y7637JDT.js.map} +0 -0
  96. /package/dist/{chunk-CSHFTQA7.js.map → chunk-YNKEHMKX.js.map} +0 -0
  97. /package/dist/{chunk-6MCSD37T.js.map → chunk-ZHGCHS2D.js.map} +0 -0
  98. /package/dist/{chunk-SPOES3DZ.js.map → chunk-ZQMTD74M.js.map} +0 -0
  99. /package/dist/{cli-circuit-breaker-MLVJXLK6.js.map → cli-circuit-breaker-BWZXZBNW.js.map} +0 -0
  100. /package/dist/{composite-router-FTECAR4U.js.map → composite-router-NPSNBLX7.js.map} +0 -0
  101. /package/dist/{consensus-vote-MMZTCPL7.js.map → consensus-vote-ZX6NLTI4.js.map} +0 -0
  102. /package/dist/{context-retriever-MPZ7T4VA.js.map → context-retriever-3QKHEA5U.js.map} +0 -0
  103. /package/dist/{doctor-deep-KUB4HPCS.js.map → doctor-deep-Y2PQCE6G.js.map} +0 -0
  104. /package/dist/{expert-bridge-EK362QGQ.js.map → expert-bridge-NXG4Z7U7.js.map} +0 -0
  105. /package/dist/{factory-GOO7MH5G.js.map → factory-JJ4N6YPR.js.map} +0 -0
  106. /package/dist/{factory-XBUQP3UB.js.map → factory-YK2QA3TU.js.map} +0 -0
  107. /package/dist/{improvement-review-XXRDVOJT.js.map → improvement-review-6LSV4QFA.js.map} +0 -0
  108. /package/dist/{init-opencode-RNSCHZIW.js.map → init-opencode-AO2PEKXB.js.map} +0 -0
  109. /package/dist/{issue-triage-7TWTN6LI.js.map → issue-triage-ZRRXCDAM.js.map} +0 -0
  110. /package/dist/{pr-reviewer-helpers-VT4DR5BC.js.map → pr-reviewer-helpers-NEJJKQ7D.js.map} +0 -0
  111. /package/dist/{registry-command-QVBYBBWR.js.map → registry-command-DKNGS752.js.map} +0 -0
  112. /package/dist/{repo-security-plan-VSQWMONM.js.map → repo-security-plan-DEYYRMTB.js.map} +0 -0
  113. /package/dist/{research-helpers-synthesize-VCUOMHPD.js.map → research-helpers-synthesize-54UEJ24R.js.map} +0 -0
  114. /package/dist/{routing-memory-PP4UJVH4.js.map → routing-memory-QFEXYF6G.js.map} +0 -0
  115. /package/dist/{session-memory-TVV2IOGB.js.map → session-memory-DYU7XMQO.js.map} +0 -0
  116. /package/dist/{setup-command-4GOUS52A.js.map → setup-command-PSYJ4M7Q.js.map} +0 -0
  117. /package/dist/{setup-config-HZHL4QMD.js.map → setup-config-CBV4OUOE.js.map} +0 -0
  118. /package/dist/{setup-custom-api-H6FJ5VWL.js.map → setup-custom-api-IJWYWAHX.js.map} +0 -0
  119. /package/dist/{tool-memory-YLCJZVMV.js.map → tool-memory-2DI34M5Z.js.map} +0 -0
  120. /package/dist/{unified-registry-ZUPTC7OR.js.map → unified-registry-VQPPIL6M.js.map} +0 -0
  121. /package/dist/{weather-report-XPDW6LGI.js.map → weather-report-RETBQ4VD.js.map} +0 -0
@@ -5,24 +5,24 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-55ZDYUBT.js";
8
+ } from "./chunk-MWTAZEHK.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-I32MYAT5.js";
15
+ } from "./chunk-6IXIKOLR.js";
16
16
  import {
17
17
  CliCircuitBreaker,
18
18
  DEFAULT_CIRCUIT_BREAKER_CONFIG
19
- } from "./chunk-YQRP5NST.js";
19
+ } from "./chunk-JEUWM2VZ.js";
20
20
  import {
21
21
  getAvailabilityCache
22
- } from "./chunk-RI3BFANI.js";
22
+ } from "./chunk-BK2IRU3L.js";
23
23
  import {
24
24
  generateHyphenId
25
- } from "./chunk-U5KSLUZ6.js";
25
+ } from "./chunk-VCFKTNCM.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-Q4JNYY2Y.js";
61
+ } from "./chunk-FENIEDNW.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-S7PFS6PX.js.map
4870
+ //# sourceMappingURL=chunk-XPPDWKZI.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  resolveToken
3
- } from "./chunk-XLJCXM7L.js";
3
+ } from "./chunk-AS6TNXKV.js";
4
4
  import {
5
5
  REGISTRY_PATH,
6
6
  getProjectRoot,
7
7
  loadPapersRegistry,
8
8
  loadTechniquesRegistry,
9
9
  savePapersRegistry
10
- } from "./chunk-YH5U3XCP.js";
10
+ } from "./chunk-3YGTLWNA.js";
11
11
  import {
12
12
  resolveInsideRoot
13
13
  } from "./chunk-NUBSJGQZ.js";
14
14
  import {
15
15
  getToolMemory
16
- } from "./chunk-GG7MGRQ6.js";
16
+ } from "./chunk-TOJFRIVM.js";
17
17
  import {
18
18
  capitalizeWords
19
19
  } from "./chunk-6T3EPABN.js";
@@ -27,7 +27,7 @@ import {
27
27
  getOutcomeStore,
28
28
  getTimeProvider,
29
29
  registerPersistentDistillerFactory
30
- } from "./chunk-Q4JNYY2Y.js";
30
+ } from "./chunk-FENIEDNW.js";
31
31
  import {
32
32
  ensureLearningDir,
33
33
  getRulesFile
@@ -2686,4 +2686,4 @@ export {
2686
2686
  summarizeContextForPrompt,
2687
2687
  getContextPromptPrefix
2688
2688
  };
2689
- //# sourceMappingURL=chunk-R76LLKT2.js.map
2689
+ //# sourceMappingURL=chunk-Y7637JDT.js.map
@@ -4,14 +4,14 @@ import {
4
4
  planOptionalParams,
5
5
  requireApiKey,
6
6
  validateApiKeyPresence
7
- } from "./chunk-55ZDYUBT.js";
7
+ } from "./chunk-MWTAZEHK.js";
8
8
  import {
9
9
  ModelCapability,
10
10
  err,
11
11
  getCliModelName,
12
12
  getTokenEstimator,
13
13
  ok
14
- } from "./chunk-Q4JNYY2Y.js";
14
+ } from "./chunk-FENIEDNW.js";
15
15
 
16
16
  // src/adapters/openai-types.ts
17
17
  var OPENAI_MODELS = {
@@ -609,4 +609,4 @@ export {
609
609
  OpenAIAdapter,
610
610
  createOpenAIAdapter
611
611
  };
612
- //# sourceMappingURL=chunk-CSHFTQA7.js.map
612
+ //# sourceMappingURL=chunk-YNKEHMKX.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-Q4JNYY2Y.js";
7
+ } from "./chunk-FENIEDNW.js";
8
8
 
9
9
  // src/mcp/tools/scanner-registry-fetcher.ts
10
10
  import { z } from "zod";
@@ -721,4 +721,4 @@ export {
721
721
  generateSecurityPlan,
722
722
  buildPlanFromAnalysis
723
723
  };
724
- //# sourceMappingURL=chunk-6MCSD37T.js.map
724
+ //# sourceMappingURL=chunk-ZHGCHS2D.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-6MCSD37T.js";
3
+ } from "./chunk-ZHGCHS2D.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-J6OUXCR3.js";
21
+ } from "./chunk-DOTCPOLE.js";
22
22
  import {
23
23
  executeExpert
24
- } from "./chunk-LSWGHIJK.js";
24
+ } from "./chunk-I4SDEK6H.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-Q7TALELN.js";
45
+ } from "./chunk-VCX3QMZE.js";
46
46
  import {
47
47
  normalizeTopicToCanonical,
48
48
  synthesizeResearch
49
- } from "./chunk-OOGGQ2NA.js";
49
+ } from "./chunk-24PRWXLQ.js";
50
50
  import {
51
51
  IssueTriage
52
- } from "./chunk-6B5VQ2SY.js";
52
+ } from "./chunk-SHKRC6Z7.js";
53
53
  import {
54
54
  resolveEnvMode,
55
55
  sanitizeInput
56
- } from "./chunk-S3H4VWN5.js";
56
+ } from "./chunk-NTVJNSJC.js";
57
57
  import {
58
58
  withPrerequisite
59
- } from "./chunk-K6HJLOPA.js";
59
+ } from "./chunk-GY4XQU2V.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-2O63LDYB.js";
82
+ } from "./chunk-VOTYZUEG.js";
83
83
  import {
84
84
  createAuditTrail,
85
85
  createGraphAuditBridge,
86
86
  emitPipelinePolicyEvent
87
- } from "./chunk-42ZSRIEX.js";
87
+ } from "./chunk-RZDIYKVH.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-R76LLKT2.js";
115
+ } from "./chunk-Y7637JDT.js";
116
116
  import {
117
117
  getTokenEnvVars,
118
118
  resolveToken
119
- } from "./chunk-XLJCXM7L.js";
119
+ } from "./chunk-AS6TNXKV.js";
120
120
  import {
121
121
  loadPapersRegistry,
122
122
  loadTechniquesRegistry
123
- } from "./chunk-YH5U3XCP.js";
123
+ } from "./chunk-3YGTLWNA.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-GG7MGRQ6.js";
132
+ } from "./chunk-TOJFRIVM.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-DSUFV2ZN.js";
139
+ } from "./chunk-P7SRGOLU.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-VKVJSPHJ.js";
154
+ } from "./chunk-TMBVOQPL.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-S7PFS6PX.js";
162
+ } from "./chunk-XPPDWKZI.js";
163
163
  import {
164
164
  DEFAULTS
165
- } from "./chunk-I32MYAT5.js";
165
+ } from "./chunk-6IXIKOLR.js";
166
166
  import {
167
167
  getAvailabilityCache,
168
168
  getCliForModelId,
169
169
  resolveFallback
170
- } from "./chunk-RI3BFANI.js";
170
+ } from "./chunk-BK2IRU3L.js";
171
171
  import {
172
172
  generateHyphenId,
173
173
  generateUUID
174
- } from "./chunk-U5KSLUZ6.js";
174
+ } from "./chunk-VCFKTNCM.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-Q4JNYY2Y.js";
266
+ } from "./chunk-FENIEDNW.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-MPZ7T4VA.js");
26301
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-3QKHEA5U.js");
26302
26302
  const category = inferTaskCategory2(taskCandidate);
26303
26303
  const executionId = options?.executionId;
26304
26304
  const execFields = execIdFields(executionId);
@@ -41572,7 +41572,7 @@ async function tryIssueTriage(task) {
41572
41572
  try {
41573
41573
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
41574
41574
  if (issueMatch === null) return null;
41575
- const { createIssueTriage } = await import("./issue-triage-7TWTN6LI.js");
41575
+ const { createIssueTriage } = await import("./issue-triage-ZRRXCDAM.js");
41576
41576
  const triage = createIssueTriage();
41577
41577
  const owner = issueMatch[1] ?? "";
41578
41578
  const num = issueMatch[2] ?? "";
@@ -41600,7 +41600,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
41600
41600
  ]);
41601
41601
  async function classifyWithLLM(task) {
41602
41602
  try {
41603
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-EK362QGQ.js");
41603
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-NXG4Z7U7.js");
41604
41604
  const prompt = [
41605
41605
  "Classify this task into exactly one pipeline template.",
41606
41606
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -43241,7 +43241,7 @@ var memoryInitPromise = null;
43241
43241
  async function initPipelineMemory() {
43242
43242
  if (cachedMemory !== null) return cachedMemory;
43243
43243
  try {
43244
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-TVV2IOGB.js");
43244
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-DYU7XMQO.js");
43245
43245
  const { getLearningDir } = await import("./learning-persistence-M3OTCCNI.js");
43246
43246
  const mem = createSessionMemory2(getLearningDir());
43247
43247
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -43303,7 +43303,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
43303
43303
  callRecord(routingMemoryCache);
43304
43304
  return;
43305
43305
  }
43306
- routingMemoryInitPromise ??= import("./routing-memory-PP4UJVH4.js").then(({ createRoutingMemory }) => {
43306
+ routingMemoryInitPromise ??= import("./routing-memory-QFEXYF6G.js").then(({ createRoutingMemory }) => {
43307
43307
  routingMemoryCache ??= createRoutingMemory();
43308
43308
  return routingMemoryCache;
43309
43309
  }).catch((error) => {
@@ -43337,7 +43337,7 @@ ${text}` : "";
43337
43337
  }
43338
43338
  async function getWeatherContext() {
43339
43339
  try {
43340
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-XPDW6LGI.js");
43340
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-RETBQ4VD.js");
43341
43341
  const report = generateWeatherReport2({ includeAdaptive: true });
43342
43342
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
43343
43343
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -43355,7 +43355,7 @@ ${lines}
43355
43355
  }
43356
43356
  async function getMemoryContext(task) {
43357
43357
  try {
43358
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-TVV2IOGB.js");
43358
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-DYU7XMQO.js");
43359
43359
  const { getLearningDir } = await import("./learning-persistence-M3OTCCNI.js");
43360
43360
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
43361
43361
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -43467,7 +43467,7 @@ ${contextBlock}`;
43467
43467
  const strategy = config.votingStrategy ?? "higher_order";
43468
43468
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
43469
43469
  try {
43470
- const { executeVoting } = await import("./consensus-vote-MMZTCPL7.js");
43470
+ const { executeVoting } = await import("./consensus-vote-ZX6NLTI4.js");
43471
43471
  const votingResult = await executeVoting(
43472
43472
  {
43473
43473
  proposal: buildVoteProposal(plan, research),
@@ -43904,7 +43904,7 @@ async function searchCodebaseForTask(task) {
43904
43904
  }
43905
43905
  async function queryResearchRegistry(task) {
43906
43906
  try {
43907
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-VCUOMHPD.js");
43907
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-54UEJ24R.js");
43908
43908
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
43909
43909
  if (topic === void 0) return null;
43910
43910
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -43975,7 +43975,7 @@ function createScanStageWrapper() {
43975
43975
  try {
43976
43976
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
43977
43977
  if (slug !== void 0) {
43978
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-VSQWMONM.js");
43978
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-DEYYRMTB.js");
43979
43979
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
43980
43980
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
43981
43981
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -46935,7 +46935,7 @@ var GitHubTaskTracker = class {
46935
46935
  cachedProvider = null;
46936
46936
  async getProvider() {
46937
46937
  if (this.cachedProvider !== null) return this.cachedProvider;
46938
- const { createScmProvider } = await import("./factory-XBUQP3UB.js");
46938
+ const { createScmProvider } = await import("./factory-YK2QA3TU.js");
46939
46939
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
46940
46940
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
46941
46941
  this.cachedProvider = result.value;
@@ -47742,7 +47742,7 @@ async function probeSource(source, includeModelIds) {
47742
47742
  }
47743
47743
  }
47744
47744
  async function defaultSources(includeOpenRouter) {
47745
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-GOO7MH5G.js");
47745
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-JJ4N6YPR.js");
47746
47746
  const adapters = createAllAdapters2();
47747
47747
  return buildDefaultModelSources(adapters, { includeOpenRouter });
47748
47748
  }
@@ -51809,4 +51809,4 @@ export {
51809
51809
  shutdownFeedbackSubscriber,
51810
51810
  createEventBusBridge
51811
51811
  };
51812
- //# sourceMappingURL=chunk-SPOES3DZ.js.map
51812
+ //# sourceMappingURL=chunk-ZQMTD74M.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  CliCircuitBreakerIntegration,
3
3
  createCliCircuitBreakerIntegration
4
- } from "./chunk-YMMX6ELC.js";
5
- import "./chunk-YQRP5NST.js";
6
- import "./chunk-Q4JNYY2Y.js";
4
+ } from "./chunk-CY3QSLDQ.js";
5
+ import "./chunk-JEUWM2VZ.js";
6
+ import "./chunk-FENIEDNW.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-MLVJXLK6.js.map
14
+ //# sourceMappingURL=cli-circuit-breaker-BWZXZBNW.js.map
package/dist/cli.js CHANGED
@@ -2,7 +2,7 @@
2
2
  import {
3
3
  buildOpenAICompatAdapters,
4
4
  readOpenAICompatEnv
5
- } from "./chunk-CTL5HUZZ.js";
5
+ } from "./chunk-IYSD4VFM.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-KS622JST.js";
21
- import "./chunk-FWW5GCEH.js";
20
+ } from "./chunk-P3FNNFAW.js";
21
+ import "./chunk-SLQJ746K.js";
22
22
  import {
23
23
  setupCommandAsync,
24
24
  verifyCommand
25
- } from "./chunk-IQVHJD4O.js";
26
- import "./chunk-4IXC6V6O.js";
25
+ } from "./chunk-WTCREQRS.js";
26
+ import "./chunk-7WKSZZAX.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-SPOES3DZ.js";
146
- import "./chunk-CSHFTQA7.js";
147
- import "./chunk-6MCSD37T.js";
145
+ } from "./chunk-ZQMTD74M.js";
146
+ import "./chunk-YNKEHMKX.js";
147
+ import "./chunk-ZHGCHS2D.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-J6OUXCR3.js";
174
- import "./chunk-YMMX6ELC.js";
173
+ } from "./chunk-DOTCPOLE.js";
174
+ import "./chunk-CY3QSLDQ.js";
175
175
  import {
176
176
  shutdownExpertBridge
177
- } from "./chunk-LSWGHIJK.js";
177
+ } from "./chunk-I4SDEK6H.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-Q7TALELN.js";
187
+ } from "./chunk-VCX3QMZE.js";
188
188
  import {
189
189
  loadUsageEvents,
190
190
  rollupByModel
191
- } from "./chunk-UQOJ2KGW.js";
191
+ } from "./chunk-TB7GQCIH.js";
192
192
  import {
193
193
  synthesizeResearch
194
- } from "./chunk-OOGGQ2NA.js";
194
+ } from "./chunk-24PRWXLQ.js";
195
195
  import {
196
196
  classifyTrust,
197
197
  createFullGitHubProvider,
198
198
  evaluatePolicy,
199
199
  parsePRUrl
200
- } from "./chunk-6B5VQ2SY.js";
201
- import "./chunk-7J3AAPH5.js";
200
+ } from "./chunk-SHKRC6Z7.js";
201
+ import "./chunk-VQ3ZVDSQ.js";
202
202
  import {
203
203
  ReputationCache,
204
204
  sanitizeInput
205
- } from "./chunk-S3H4VWN5.js";
205
+ } from "./chunk-NTVJNSJC.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-K6HJLOPA.js";
219
+ } from "./chunk-GY4XQU2V.js";
220
220
  import {
221
221
  createDefaultPolicyFirewall
222
- } from "./chunk-2O63LDYB.js";
223
- import "./chunk-42ZSRIEX.js";
222
+ } from "./chunk-VOTYZUEG.js";
223
+ import "./chunk-RZDIYKVH.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-R76LLKT2.js";
246
+ } from "./chunk-Y7637JDT.js";
247
247
  import {
248
248
  resolveToken
249
- } from "./chunk-XLJCXM7L.js";
249
+ } from "./chunk-AS6TNXKV.js";
250
250
  import {
251
251
  loadPapersRegistry,
252
252
  loadTechniquesRegistry,
253
253
  savePapersRegistry
254
- } from "./chunk-YH5U3XCP.js";
254
+ } from "./chunk-3YGTLWNA.js";
255
255
  import "./chunk-NUBSJGQZ.js";
256
256
  import {
257
257
  MemoryError,
258
258
  shutdownToolMemory
259
- } from "./chunk-GG7MGRQ6.js";
259
+ } from "./chunk-TOJFRIVM.js";
260
260
  import {
261
261
  capitalize,
262
262
  capitalizeKebab,
263
263
  truncateSentence
264
264
  } from "./chunk-6T3EPABN.js";
265
- import "./chunk-DSUFV2ZN.js";
265
+ import "./chunk-P7SRGOLU.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-VKVJSPHJ.js";
271
+ } from "./chunk-TMBVOQPL.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-S7PFS6PX.js";
280
- import "./chunk-55ZDYUBT.js";
279
+ } from "./chunk-XPPDWKZI.js";
280
+ import "./chunk-MWTAZEHK.js";
281
281
  import {
282
282
  DEFAULTS
283
- } from "./chunk-I32MYAT5.js";
284
- import "./chunk-YQRP5NST.js";
285
- import "./chunk-RI3BFANI.js";
286
- import "./chunk-U5KSLUZ6.js";
283
+ } from "./chunk-6IXIKOLR.js";
284
+ import "./chunk-JEUWM2VZ.js";
285
+ import "./chunk-BK2IRU3L.js";
286
+ import "./chunk-VCFKTNCM.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-Q4JNYY2Y.js";
360
+ } from "./chunk-FENIEDNW.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-VT4DR5BC.js");
4038
+ const { formatReviewComment: formatReviewComment2 } = await import("./pr-reviewer-helpers-NEJJKQ7D.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-XXRDVOJT.js");
17862
+ const { runImprovementReview: runImprovementReview2, ImprovementReviewInputSchema: ImprovementReviewInputSchema2 } = await import("./improvement-review-6LSV4QFA.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-YLCJZVMV.js");
19901
+ const { getToolMemory } = await import("./tool-memory-2DI34M5Z.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-QVBYBBWR.js");
21013
+ const { registryCommand, isValidRegistrySubcommand, formatRegistryUsage } = await import("./registry-command-DKNGS752.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-KUB4HPCS.js");
21061
+ const { runDeepDiagnostics: runDeepDiagnostics2, formatDeepDiagnostics: formatDeepDiagnostics2 } = await import("./doctor-deep-Y2PQCE6G.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-RNSCHZIW.js");
21111
+ const { runInitOpencode } = await import("./init-opencode-AO2PEKXB.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-RNSCHZIW.js");
21137
+ const { runOpencodeValidate } = await import("./init-opencode-AO2PEKXB.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-H6FJ5VWL.js");
21176
+ const { configureCustomApi } = await import("./setup-custom-api-IJWYWAHX.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-Q4JNYY2Y.js";
7
+ } from "./chunk-FENIEDNW.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-FTECAR4U.js.map
18
+ //# sourceMappingURL=composite-router-NPSNBLX7.js.map