nexus-agents 4.2.1 → 4.3.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 (122) hide show
  1. package/dist/{child-mcp-config-BV3OSP24.js → child-mcp-config-JTLIU3JR.js} +2 -2
  2. package/dist/{chunk-KVHA4AEF.js → chunk-2QYJ7IE2.js} +4 -4
  3. package/dist/{chunk-JRU5G6VW.js → chunk-3K3VGOY4.js} +2 -2
  4. package/dist/{chunk-BYDUN7A5.js → chunk-3P6N3XZF.js} +2 -2
  5. package/dist/{chunk-4O7TU6R3.js → chunk-4JKO5B7A.js} +2 -2
  6. package/dist/{chunk-PAGVGHWL.js → chunk-4WU3BGGK.js} +8 -8
  7. package/dist/{chunk-JJEOBIOI.js → chunk-55XLIDEN.js} +2 -2
  8. package/dist/{chunk-ADIMVMAB.js → chunk-5GUP54YH.js} +2 -2
  9. package/dist/{chunk-6SBSQDCX.js → chunk-73U6W5ZU.js} +2 -2
  10. package/dist/{chunk-BMEJLPAE.js → chunk-A7DEF2I6.js} +3 -3
  11. package/dist/{chunk-5HPJB35V.js → chunk-AQAGVYWS.js} +2 -2
  12. package/dist/{chunk-VKLMXCI2.js → chunk-B6JICUQ6.js} +17 -4
  13. package/dist/chunk-B6JICUQ6.js.map +1 -0
  14. package/dist/{chunk-FRTNZUUF.js → chunk-CYCXJNPA.js} +2 -2
  15. package/dist/{chunk-O3AZI3X2.js → chunk-D32WYARF.js} +5 -5
  16. package/dist/{chunk-U53YMCSE.js → chunk-D3BKW23W.js} +8 -8
  17. package/dist/{chunk-HNC2G7AS.js → chunk-DL5RN53R.js} +2 -2
  18. package/dist/{chunk-FD3I5B4X.js → chunk-FHXDRCIW.js} +2 -2
  19. package/dist/{chunk-N7YLNXHT.js → chunk-H64DUJSZ.js} +6 -6
  20. package/dist/{chunk-EXX6WINJ.js → chunk-JV5HRP3S.js} +2 -2
  21. package/dist/{chunk-C3KZXEBR.js → chunk-KIWPXWL7.js} +4 -4
  22. package/dist/{chunk-CNB4PA7Q.js → chunk-LGTY3B3Q.js} +5 -5
  23. package/dist/{chunk-KLN7TJLT.js → chunk-MLR4PF64.js} +2 -2
  24. package/dist/{chunk-AMEVOGE7.js → chunk-MPCBYY4J.js} +8 -8
  25. package/dist/{chunk-CIQJIBGF.js → chunk-MPEQHP4D.js} +3 -3
  26. package/dist/{chunk-AY6EN765.js → chunk-OHRCTQDC.js} +35 -35
  27. package/dist/{chunk-4Z2Z52C7.js → chunk-OYNZ6FCZ.js} +7 -7
  28. package/dist/{chunk-NZHI7FHX.js → chunk-ROAVF3S5.js} +5 -5
  29. package/dist/{chunk-4XWRSCZ2.js → chunk-SF6KSPBW.js} +3 -3
  30. package/dist/{chunk-S645LGB6.js → chunk-TKA6653I.js} +2 -2
  31. package/dist/{chunk-TN7HF2SQ.js → chunk-TMYLHKLJ.js} +12 -12
  32. package/dist/{chunk-5DED5UHM.js → chunk-WX5TASVN.js} +3 -3
  33. package/dist/{chunk-2HCONJES.js → chunk-X57EI3U6.js} +2 -2
  34. package/dist/{chunk-3OM2W7H7.js → chunk-XABDFFQV.js} +2 -2
  35. package/dist/{chunk-UM376MEM.js → chunk-Y3WYSLFZ.js} +2 -2
  36. package/dist/{cli-circuit-breaker-NRGM3VBL.js → cli-circuit-breaker-DG2L4C3C.js} +3 -3
  37. package/dist/cli.js +41 -41
  38. package/dist/{composite-router-TSPOS57H.js → composite-router-X5QU6XNZ.js} +2 -2
  39. package/dist/{consensus-vote-ULN3XOCN.js → consensus-vote-ZRLZYJ4D.js} +16 -16
  40. package/dist/{context-retriever-SGJTQUCI.js → context-retriever-CIFLPUJA.js} +8 -8
  41. package/dist/{doctor-deep-33C5GGB3.js → doctor-deep-FZGNQXDZ.js} +3 -3
  42. package/dist/{doctor-live-XRIVOJLP.js → doctor-live-KGQWMYJY.js} +9 -9
  43. package/dist/{expert-bridge-UH44L5CN.js → expert-bridge-B6ZTEZNH.js} +4 -4
  44. package/dist/{factory-GUDAJED7.js → factory-5BEGXJVB.js} +9 -9
  45. package/dist/{factory-HYFTOF35.js → factory-RLGGFLYD.js} +5 -5
  46. package/dist/{improvement-review-HU7P73SL.js → improvement-review-52J36YLJ.js} +5 -5
  47. package/dist/index.d.ts +133 -56
  48. package/dist/index.js +30 -30
  49. package/dist/{init-opencode-PXLOY7XY.js → init-opencode-JAJXMGOI.js} +6 -6
  50. package/dist/issue-triage-APE6L5YP.js +17 -0
  51. package/dist/{pr-reviewer-helpers-QU4F2A3X.js → pr-reviewer-helpers-KZ4MNSUT.js} +4 -4
  52. package/dist/{registry-command-2LQLUUXG.js → registry-command-AHGSBCNL.js} +2 -2
  53. package/dist/{repo-security-plan-E2MTJPSC.js → repo-security-plan-C4ZSWVY7.js} +3 -3
  54. package/dist/{research-helpers-synthesize-4YBZF2LZ.js → research-helpers-synthesize-C4GK3GU4.js} +4 -4
  55. package/dist/{routing-memory-EIF5XALW.js → routing-memory-WU4C63BA.js} +2 -2
  56. package/dist/{session-memory-5GVHJR26.js → session-memory-LYX5N2IP.js} +3 -3
  57. package/dist/{setup-command-RS4NCQIB.js → setup-command-775JEHPJ.js} +14 -14
  58. package/dist/{setup-config-PMGHQJ6O.js → setup-config-P722TC57.js} +3 -3
  59. package/dist/{setup-custom-api-JXXGF5QD.js → setup-custom-api-P7T5YKIK.js} +4 -4
  60. package/dist/{tool-memory-YFXJCJFI.js → tool-memory-AL5PXKB4.js} +5 -5
  61. package/dist/{unified-registry-OGXE4772.js → unified-registry-UM4GSYMB.js} +10 -10
  62. package/dist/{weather-report-FV6YYGT4.js → weather-report-QLHSZQOT.js} +2 -2
  63. package/package.json +1 -1
  64. package/dist/chunk-VKLMXCI2.js.map +0 -1
  65. package/dist/issue-triage-B3KU37U3.js +0 -17
  66. /package/dist/{child-mcp-config-BV3OSP24.js.map → child-mcp-config-JTLIU3JR.js.map} +0 -0
  67. /package/dist/{chunk-KVHA4AEF.js.map → chunk-2QYJ7IE2.js.map} +0 -0
  68. /package/dist/{chunk-JRU5G6VW.js.map → chunk-3K3VGOY4.js.map} +0 -0
  69. /package/dist/{chunk-BYDUN7A5.js.map → chunk-3P6N3XZF.js.map} +0 -0
  70. /package/dist/{chunk-4O7TU6R3.js.map → chunk-4JKO5B7A.js.map} +0 -0
  71. /package/dist/{chunk-PAGVGHWL.js.map → chunk-4WU3BGGK.js.map} +0 -0
  72. /package/dist/{chunk-JJEOBIOI.js.map → chunk-55XLIDEN.js.map} +0 -0
  73. /package/dist/{chunk-ADIMVMAB.js.map → chunk-5GUP54YH.js.map} +0 -0
  74. /package/dist/{chunk-6SBSQDCX.js.map → chunk-73U6W5ZU.js.map} +0 -0
  75. /package/dist/{chunk-BMEJLPAE.js.map → chunk-A7DEF2I6.js.map} +0 -0
  76. /package/dist/{chunk-5HPJB35V.js.map → chunk-AQAGVYWS.js.map} +0 -0
  77. /package/dist/{chunk-FRTNZUUF.js.map → chunk-CYCXJNPA.js.map} +0 -0
  78. /package/dist/{chunk-O3AZI3X2.js.map → chunk-D32WYARF.js.map} +0 -0
  79. /package/dist/{chunk-U53YMCSE.js.map → chunk-D3BKW23W.js.map} +0 -0
  80. /package/dist/{chunk-HNC2G7AS.js.map → chunk-DL5RN53R.js.map} +0 -0
  81. /package/dist/{chunk-FD3I5B4X.js.map → chunk-FHXDRCIW.js.map} +0 -0
  82. /package/dist/{chunk-N7YLNXHT.js.map → chunk-H64DUJSZ.js.map} +0 -0
  83. /package/dist/{chunk-EXX6WINJ.js.map → chunk-JV5HRP3S.js.map} +0 -0
  84. /package/dist/{chunk-C3KZXEBR.js.map → chunk-KIWPXWL7.js.map} +0 -0
  85. /package/dist/{chunk-CNB4PA7Q.js.map → chunk-LGTY3B3Q.js.map} +0 -0
  86. /package/dist/{chunk-KLN7TJLT.js.map → chunk-MLR4PF64.js.map} +0 -0
  87. /package/dist/{chunk-AMEVOGE7.js.map → chunk-MPCBYY4J.js.map} +0 -0
  88. /package/dist/{chunk-CIQJIBGF.js.map → chunk-MPEQHP4D.js.map} +0 -0
  89. /package/dist/{chunk-AY6EN765.js.map → chunk-OHRCTQDC.js.map} +0 -0
  90. /package/dist/{chunk-4Z2Z52C7.js.map → chunk-OYNZ6FCZ.js.map} +0 -0
  91. /package/dist/{chunk-NZHI7FHX.js.map → chunk-ROAVF3S5.js.map} +0 -0
  92. /package/dist/{chunk-4XWRSCZ2.js.map → chunk-SF6KSPBW.js.map} +0 -0
  93. /package/dist/{chunk-S645LGB6.js.map → chunk-TKA6653I.js.map} +0 -0
  94. /package/dist/{chunk-TN7HF2SQ.js.map → chunk-TMYLHKLJ.js.map} +0 -0
  95. /package/dist/{chunk-5DED5UHM.js.map → chunk-WX5TASVN.js.map} +0 -0
  96. /package/dist/{chunk-2HCONJES.js.map → chunk-X57EI3U6.js.map} +0 -0
  97. /package/dist/{chunk-3OM2W7H7.js.map → chunk-XABDFFQV.js.map} +0 -0
  98. /package/dist/{chunk-UM376MEM.js.map → chunk-Y3WYSLFZ.js.map} +0 -0
  99. /package/dist/{cli-circuit-breaker-NRGM3VBL.js.map → cli-circuit-breaker-DG2L4C3C.js.map} +0 -0
  100. /package/dist/{composite-router-TSPOS57H.js.map → composite-router-X5QU6XNZ.js.map} +0 -0
  101. /package/dist/{consensus-vote-ULN3XOCN.js.map → consensus-vote-ZRLZYJ4D.js.map} +0 -0
  102. /package/dist/{context-retriever-SGJTQUCI.js.map → context-retriever-CIFLPUJA.js.map} +0 -0
  103. /package/dist/{doctor-deep-33C5GGB3.js.map → doctor-deep-FZGNQXDZ.js.map} +0 -0
  104. /package/dist/{doctor-live-XRIVOJLP.js.map → doctor-live-KGQWMYJY.js.map} +0 -0
  105. /package/dist/{expert-bridge-UH44L5CN.js.map → expert-bridge-B6ZTEZNH.js.map} +0 -0
  106. /package/dist/{factory-GUDAJED7.js.map → factory-5BEGXJVB.js.map} +0 -0
  107. /package/dist/{factory-HYFTOF35.js.map → factory-RLGGFLYD.js.map} +0 -0
  108. /package/dist/{improvement-review-HU7P73SL.js.map → improvement-review-52J36YLJ.js.map} +0 -0
  109. /package/dist/{init-opencode-PXLOY7XY.js.map → init-opencode-JAJXMGOI.js.map} +0 -0
  110. /package/dist/{issue-triage-B3KU37U3.js.map → issue-triage-APE6L5YP.js.map} +0 -0
  111. /package/dist/{pr-reviewer-helpers-QU4F2A3X.js.map → pr-reviewer-helpers-KZ4MNSUT.js.map} +0 -0
  112. /package/dist/{registry-command-2LQLUUXG.js.map → registry-command-AHGSBCNL.js.map} +0 -0
  113. /package/dist/{repo-security-plan-E2MTJPSC.js.map → repo-security-plan-C4ZSWVY7.js.map} +0 -0
  114. /package/dist/{research-helpers-synthesize-4YBZF2LZ.js.map → research-helpers-synthesize-C4GK3GU4.js.map} +0 -0
  115. /package/dist/{routing-memory-EIF5XALW.js.map → routing-memory-WU4C63BA.js.map} +0 -0
  116. /package/dist/{session-memory-5GVHJR26.js.map → session-memory-LYX5N2IP.js.map} +0 -0
  117. /package/dist/{setup-command-RS4NCQIB.js.map → setup-command-775JEHPJ.js.map} +0 -0
  118. /package/dist/{setup-config-PMGHQJ6O.js.map → setup-config-P722TC57.js.map} +0 -0
  119. /package/dist/{setup-custom-api-JXXGF5QD.js.map → setup-custom-api-P7T5YKIK.js.map} +0 -0
  120. /package/dist/{tool-memory-YFXJCJFI.js.map → tool-memory-AL5PXKB4.js.map} +0 -0
  121. /package/dist/{unified-registry-OGXE4772.js.map → unified-registry-UM4GSYMB.js.map} +0 -0
  122. /package/dist/{weather-report-FV6YYGT4.js.map → weather-report-QLHSZQOT.js.map} +0 -0
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-JJEOBIOI.js";
4
+ } from "./chunk-55XLIDEN.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-3OM2W7H7.js";
7
+ } from "./chunk-XABDFFQV.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-TN7HF2SQ.js";
11
+ } from "./chunk-TMYLHKLJ.js";
12
12
 
13
13
  // src/scm/factory.ts
14
14
  async function createScmProvider(config) {
@@ -41,4 +41,4 @@ export {
41
41
  createScmProvider,
42
42
  createGitHubProvider
43
43
  };
44
- //# sourceMappingURL=chunk-C3KZXEBR.js.map
44
+ //# sourceMappingURL=chunk-KIWPXWL7.js.map
@@ -4,16 +4,16 @@ import {
4
4
  loadPapersRegistry,
5
5
  loadTechniquesRegistry,
6
6
  savePapersRegistry
7
- } from "./chunk-UM376MEM.js";
7
+ } from "./chunk-Y3WYSLFZ.js";
8
8
  import {
9
9
  resolveInsideRoot
10
10
  } from "./chunk-NUBSJGQZ.js";
11
11
  import {
12
12
  resolveToken
13
- } from "./chunk-3OM2W7H7.js";
13
+ } from "./chunk-XABDFFQV.js";
14
14
  import {
15
15
  getToolMemory
16
- } from "./chunk-KVHA4AEF.js";
16
+ } from "./chunk-2QYJ7IE2.js";
17
17
  import {
18
18
  capitalizeWords,
19
19
  truncateSentence
@@ -38,7 +38,7 @@ import {
38
38
  getTimeProvider,
39
39
  ok,
40
40
  registerPersistentDistillerFactory
41
- } from "./chunk-TN7HF2SQ.js";
41
+ } from "./chunk-TMYLHKLJ.js";
42
42
  import {
43
43
  ensureLearningDir,
44
44
  getRulesFile
@@ -4090,4 +4090,4 @@ export {
4090
4090
  DEFAULT_CONTEXT_BUDGET_TOKENS,
4091
4091
  getContextPromptPrefix
4092
4092
  };
4093
- //# sourceMappingURL=chunk-CNB4PA7Q.js.map
4093
+ //# sourceMappingURL=chunk-LGTY3B3Q.js.map
@@ -13,7 +13,7 @@ import {
13
13
  lookupInTreeCapability,
14
14
  ok,
15
15
  resolveRetryAfterMs
16
- } from "./chunk-TN7HF2SQ.js";
16
+ } from "./chunk-TMYLHKLJ.js";
17
17
 
18
18
  // src/config/model-parameter-support.ts
19
19
  function parseClaudeMajorMinor(bareId) {
@@ -834,4 +834,4 @@ export {
834
834
  DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
835
835
  collectStream
836
836
  };
837
- //# sourceMappingURL=chunk-KLN7TJLT.js.map
837
+ //# sourceMappingURL=chunk-MLR4PF64.js.map
@@ -5,34 +5,34 @@ import {
5
5
  planOptionalParams,
6
6
  requireApiKey,
7
7
  validateApiKeyPresence
8
- } from "./chunk-KLN7TJLT.js";
8
+ } from "./chunk-MLR4PF64.js";
9
9
  import {
10
10
  CUSTOM_API_DEFAULT_MODEL
11
- } from "./chunk-HNC2G7AS.js";
11
+ } from "./chunk-DL5RN53R.js";
12
12
  import {
13
13
  CUSTOM_API_BASE_URL_ENV,
14
14
  PROVIDER_ENV_KEYS,
15
15
  assertCustomApiHostResolvesPublic,
16
16
  validateCustomApiBaseUrl
17
- } from "./chunk-2HCONJES.js";
17
+ } from "./chunk-X57EI3U6.js";
18
18
  import {
19
19
  nexusMkdtempSync
20
20
  } from "./chunk-SNJNRDKZ.js";
21
21
  import {
22
22
  getAvailabilityCache
23
- } from "./chunk-S645LGB6.js";
23
+ } from "./chunk-TKA6653I.js";
24
24
  import {
25
25
  extractSystemPrompt
26
26
  } from "./chunk-QZUG667L.js";
27
27
  import {
28
28
  generateHyphenId
29
- } from "./chunk-FRTNZUUF.js";
29
+ } from "./chunk-CYCXJNPA.js";
30
30
  import {
31
31
  CliCircuitBreaker,
32
32
  DEFAULT_CIRCUIT_BREAKER_CONFIG,
33
33
  getCliCircuitBreakerSnapshot,
34
34
  getDefaultCliCircuitBreakerRegistry
35
- } from "./chunk-4O7TU6R3.js";
35
+ } from "./chunk-4JKO5B7A.js";
36
36
  import {
37
37
  CLI_SUBPROCESS_TIMEOUTS,
38
38
  CLI_TIMEOUTS,
@@ -72,7 +72,7 @@ import {
72
72
  resolveCliAlias,
73
73
  resolveRetryAfterMs,
74
74
  retryAfterMsFromContext
75
- } from "./chunk-TN7HF2SQ.js";
75
+ } from "./chunk-TMYLHKLJ.js";
76
76
 
77
77
  // src/cli-adapters/cli-to-model-adapter.ts
78
78
  var CliToModelAdapter = class {
@@ -4870,4 +4870,4 @@ export {
4870
4870
  SdkAdapter,
4871
4871
  createAutoAdapter
4872
4872
  };
4873
- //# sourceMappingURL=chunk-AMEVOGE7.js.map
4873
+ //# sourceMappingURL=chunk-MPCBYY4J.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-5DED5UHM.js";
10
+ } from "./chunk-WX5TASVN.js";
11
11
  import {
12
12
  JsonlStore,
13
13
  SECURITY_KEYWORDS,
@@ -19,7 +19,7 @@ import {
19
19
  getPipelineEventBus,
20
20
  getTimeProvider,
21
21
  isDeclaredNeverDeprecate
22
- } from "./chunk-TN7HF2SQ.js";
22
+ } from "./chunk-TMYLHKLJ.js";
23
23
  import {
24
24
  getNexusDataDir,
25
25
  nexusDataPath
@@ -2132,4 +2132,4 @@ export {
2132
2132
  runImprovementReview,
2133
2133
  registerImprovementReviewTool
2134
2134
  };
2135
- //# sourceMappingURL=chunk-CIQJIBGF.js.map
2135
+ //# sourceMappingURL=chunk-MPEQHP4D.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-FD3I5B4X.js";
3
+ } from "./chunk-FHXDRCIW.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-HFOQKCD2.js";
@@ -22,10 +22,10 @@ import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  DEFAULT_TOOL_RATE_LIMITS,
24
24
  clampTaskTtl
25
- } from "./chunk-U53YMCSE.js";
25
+ } from "./chunk-D3BKW23W.js";
26
26
  import {
27
27
  executeExpert
28
- } from "./chunk-4Z2Z52C7.js";
28
+ } from "./chunk-OYNZ6FCZ.js";
29
29
  import {
30
30
  JobStatusSchema,
31
31
  abortJob,
@@ -46,24 +46,24 @@ import {
46
46
  simulationDeniedResult,
47
47
  toJobSummary,
48
48
  writeJobCancelled
49
- } from "./chunk-PAGVGHWL.js";
49
+ } from "./chunk-4WU3BGGK.js";
50
50
  import {
51
51
  allOf
52
52
  } from "./chunk-OQB3XC5O.js";
53
53
  import {
54
54
  normalizeTopicToCanonical,
55
55
  synthesizeResearch
56
- } from "./chunk-BMEJLPAE.js";
56
+ } from "./chunk-A7DEF2I6.js";
57
57
  import {
58
58
  IssueTriage
59
- } from "./chunk-N7YLNXHT.js";
59
+ } from "./chunk-H64DUJSZ.js";
60
60
  import {
61
61
  resolveEnvMode,
62
62
  sanitizeInput
63
- } from "./chunk-5HPJB35V.js";
63
+ } from "./chunk-AQAGVYWS.js";
64
64
  import {
65
65
  withPrerequisite
66
- } from "./chunk-CIQJIBGF.js";
66
+ } from "./chunk-MPEQHP4D.js";
67
67
  import {
68
68
  NOOP_NOTIFIER,
69
69
  RateLimiter,
@@ -87,18 +87,18 @@ import {
87
87
  withAuditTrail,
88
88
  withProgressHeartbeat,
89
89
  wrapToolWithTimeout
90
- } from "./chunk-5DED5UHM.js";
90
+ } from "./chunk-WX5TASVN.js";
91
91
  import {
92
92
  createAuditTrail,
93
93
  createGraphAuditBridge,
94
94
  emitPipelinePolicyEvent
95
- } from "./chunk-ADIMVMAB.js";
95
+ } from "./chunk-5GUP54YH.js";
96
96
  import {
97
97
  EventTopics,
98
98
  createEvent,
99
99
  getGlobalEventBus,
100
100
  getGlobalRegistry
101
- } from "./chunk-VKLMXCI2.js";
101
+ } from "./chunk-B6JICUQ6.js";
102
102
  import {
103
103
  IDENTIFIER_RE,
104
104
  LANG_VALUES,
@@ -131,31 +131,31 @@ import {
131
131
  parseRegistry,
132
132
  sourceExistsInRegistry,
133
133
  summarizeContextForPrompt
134
- } from "./chunk-CNB4PA7Q.js";
134
+ } from "./chunk-LGTY3B3Q.js";
135
135
  import {
136
136
  loadPapersRegistry,
137
137
  loadTechniquesRegistry
138
- } from "./chunk-UM376MEM.js";
138
+ } from "./chunk-Y3WYSLFZ.js";
139
139
  import {
140
140
  resolveInsideRoot
141
141
  } from "./chunk-NUBSJGQZ.js";
142
142
  import {
143
143
  getTokenEnvVars,
144
144
  resolveToken
145
- } from "./chunk-3OM2W7H7.js";
145
+ } from "./chunk-XABDFFQV.js";
146
146
  import {
147
147
  DEFAULT_RELEVANCE_CONFIG,
148
148
  MemoryImportance,
149
149
  calculateTextJaccardSimilarity,
150
150
  getToolMemory
151
- } from "./chunk-KVHA4AEF.js";
151
+ } from "./chunk-2QYJ7IE2.js";
152
152
  import {
153
153
  STOPWORDS,
154
154
  truncateWithInfo
155
155
  } from "./chunk-6T3EPABN.js";
156
156
  import {
157
157
  createSessionMemory
158
- } from "./chunk-JRU5G6VW.js";
158
+ } from "./chunk-3K3VGOY4.js";
159
159
  import {
160
160
  BUILT_IN_EXPERTS,
161
161
  BuiltInExpertTypeSchema,
@@ -173,25 +173,25 @@ import {
173
173
  getAvailableClis,
174
174
  sleep,
175
175
  withTimeout
176
- } from "./chunk-AMEVOGE7.js";
176
+ } from "./chunk-MPCBYY4J.js";
177
177
  import {
178
178
  BaseAdapter,
179
179
  createStream,
180
180
  requireApiKey,
181
181
  validateApiKeyPresence
182
- } from "./chunk-KLN7TJLT.js";
182
+ } from "./chunk-MLR4PF64.js";
183
183
  import {
184
184
  DEFAULTS
185
- } from "./chunk-HNC2G7AS.js";
185
+ } from "./chunk-DL5RN53R.js";
186
186
  import {
187
187
  getAvailabilityCache,
188
188
  getCliForModelId,
189
189
  resolveFallback
190
- } from "./chunk-S645LGB6.js";
190
+ } from "./chunk-TKA6653I.js";
191
191
  import {
192
192
  generateHyphenId,
193
193
  generateUUID
194
- } from "./chunk-FRTNZUUF.js";
194
+ } from "./chunk-CYCXJNPA.js";
195
195
  import {
196
196
  AGENT_ROUTER_TIMEOUTS,
197
197
  API_TIMEOUTS,
@@ -291,7 +291,7 @@ import {
291
291
  selectStrategyByManifest,
292
292
  toExpertTaskAnalysisResult,
293
293
  withStep
294
- } from "./chunk-TN7HF2SQ.js";
294
+ } from "./chunk-TMYLHKLJ.js";
295
295
  import {
296
296
  ensureLearningDir,
297
297
  getMetaOutcomesFile,
@@ -28244,7 +28244,7 @@ function execIdFields(executionId) {
28244
28244
  async function populateUnifiedContextOnState(state, options) {
28245
28245
  const taskCandidate = state["task"];
28246
28246
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
28247
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-SGJTQUCI.js");
28247
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-CIFLPUJA.js");
28248
28248
  const category = inferTaskCategory2(taskCandidate);
28249
28249
  const executionId = options?.executionId;
28250
28250
  const execFields = execIdFields(executionId);
@@ -43929,7 +43929,7 @@ async function tryIssueTriage(task) {
43929
43929
  try {
43930
43930
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
43931
43931
  if (issueMatch === null) return null;
43932
- const { createIssueTriage } = await import("./issue-triage-B3KU37U3.js");
43932
+ const { createIssueTriage } = await import("./issue-triage-APE6L5YP.js");
43933
43933
  const triage = createIssueTriage();
43934
43934
  const owner = issueMatch[1] ?? "";
43935
43935
  const num = issueMatch[2] ?? "";
@@ -43957,7 +43957,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
43957
43957
  ]);
43958
43958
  async function classifyWithLLM(task) {
43959
43959
  try {
43960
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-UH44L5CN.js");
43960
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-B6ZTEZNH.js");
43961
43961
  const prompt = [
43962
43962
  "Classify this task into exactly one pipeline template.",
43963
43963
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -45698,7 +45698,7 @@ var memoryInitPromise = null;
45698
45698
  async function initPipelineMemory() {
45699
45699
  if (cachedMemory !== null) return cachedMemory;
45700
45700
  try {
45701
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-5GVHJR26.js");
45701
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-LYX5N2IP.js");
45702
45702
  const { getLearningDir } = await import("./learning-persistence-EGY4VKKO.js");
45703
45703
  const mem = createSessionMemory2(getLearningDir());
45704
45704
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -45760,7 +45760,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
45760
45760
  callRecord(routingMemoryCache);
45761
45761
  return;
45762
45762
  }
45763
- routingMemoryInitPromise ??= import("./routing-memory-EIF5XALW.js").then(({ createRoutingMemory }) => {
45763
+ routingMemoryInitPromise ??= import("./routing-memory-WU4C63BA.js").then(({ createRoutingMemory }) => {
45764
45764
  routingMemoryCache ??= createRoutingMemory();
45765
45765
  return routingMemoryCache;
45766
45766
  }).catch((error) => {
@@ -45794,7 +45794,7 @@ ${text}` : "";
45794
45794
  }
45795
45795
  async function getWeatherContext() {
45796
45796
  try {
45797
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-FV6YYGT4.js");
45797
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-QLHSZQOT.js");
45798
45798
  const report = generateWeatherReport2({ includeAdaptive: true });
45799
45799
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
45800
45800
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -45812,7 +45812,7 @@ ${lines}
45812
45812
  }
45813
45813
  async function getMemoryContext(task) {
45814
45814
  try {
45815
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-5GVHJR26.js");
45815
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-LYX5N2IP.js");
45816
45816
  const { getLearningDir } = await import("./learning-persistence-EGY4VKKO.js");
45817
45817
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
45818
45818
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -45931,7 +45931,7 @@ ${contextBlock}`;
45931
45931
  const strategy = config.votingStrategy ?? "higher_order";
45932
45932
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
45933
45933
  try {
45934
- const { executeVoting } = await import("./consensus-vote-ULN3XOCN.js");
45934
+ const { executeVoting } = await import("./consensus-vote-ZRLZYJ4D.js");
45935
45935
  const votingResult = await executeVoting(
45936
45936
  {
45937
45937
  proposal: buildVoteProposal(plan, research),
@@ -46370,7 +46370,7 @@ async function searchCodebaseForTask(task) {
46370
46370
  }
46371
46371
  async function queryResearchRegistry(task) {
46372
46372
  try {
46373
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-4YBZF2LZ.js");
46373
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-C4GK3GU4.js");
46374
46374
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
46375
46375
  if (topic === void 0) return null;
46376
46376
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -46441,7 +46441,7 @@ function createScanStageWrapper() {
46441
46441
  try {
46442
46442
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
46443
46443
  if (slug !== void 0) {
46444
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-E2MTJPSC.js");
46444
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-C4ZSWVY7.js");
46445
46445
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
46446
46446
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
46447
46447
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -49564,7 +49564,7 @@ var GitHubTaskTracker = class {
49564
49564
  cachedProvider = null;
49565
49565
  async getProvider() {
49566
49566
  if (this.cachedProvider !== null) return this.cachedProvider;
49567
- const { createScmProvider } = await import("./factory-HYFTOF35.js");
49567
+ const { createScmProvider } = await import("./factory-RLGGFLYD.js");
49568
49568
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
49569
49569
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
49570
49570
  this.cachedProvider = result.value;
@@ -50455,7 +50455,7 @@ async function probeSource(source, includeModelIds) {
50455
50455
  }
50456
50456
  }
50457
50457
  async function defaultSources(includeOpenRouter) {
50458
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-GUDAJED7.js");
50458
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-5BEGXJVB.js");
50459
50459
  const adapters = createAllAdapters2();
50460
50460
  return buildDefaultModelSources(adapters, { includeOpenRouter });
50461
50461
  }
@@ -54497,4 +54497,4 @@ export {
54497
54497
  shutdownFeedbackSubscriber,
54498
54498
  createEventBusBridge
54499
54499
  };
54500
- //# sourceMappingURL=chunk-AY6EN765.js.map
54500
+ //# sourceMappingURL=chunk-OHRCTQDC.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-S645LGB6.js";
3
+ } from "./chunk-TKA6653I.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-TN7HF2SQ.js";
8
+ } from "./chunk-TMYLHKLJ.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-BV3OSP24.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-JTLIU3JR.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-GUDAJED7.js");
97
- const { createCompositeRouter } = await import("./composite-router-TSPOS57H.js");
96
+ const { createAllAdapters } = await import("./factory-5BEGXJVB.js");
97
+ const { createCompositeRouter } = await import("./composite-router-X5QU6XNZ.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-NRGM3VBL.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-DG2L4C3C.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-4Z2Z52C7.js.map
216
+ //# sourceMappingURL=chunk-OYNZ6FCZ.js.map
@@ -1,17 +1,17 @@
1
1
  import {
2
2
  computeCostDetail,
3
3
  recordUsageEvent
4
- } from "./chunk-BYDUN7A5.js";
4
+ } from "./chunk-3P6N3XZF.js";
5
5
  import {
6
6
  BaseAdapter,
7
7
  createStream,
8
8
  planOptionalParams,
9
9
  requireApiKey,
10
10
  validateApiKeyPresence
11
- } from "./chunk-KLN7TJLT.js";
11
+ } from "./chunk-MLR4PF64.js";
12
12
  import {
13
13
  assertCustomApiHostResolvesPublic
14
- } from "./chunk-2HCONJES.js";
14
+ } from "./chunk-X57EI3U6.js";
15
15
  import {
16
16
  ConfigError,
17
17
  ModelCapability,
@@ -22,7 +22,7 @@ import {
22
22
  getTimeProvider,
23
23
  getTokenEstimator,
24
24
  ok
25
- } from "./chunk-TN7HF2SQ.js";
25
+ } from "./chunk-TMYLHKLJ.js";
26
26
 
27
27
  // src/adapters/openai-types.ts
28
28
  var OPENAI_MODELS = {
@@ -831,4 +831,4 @@ export {
831
831
  discoverModels,
832
832
  buildOpenAICompatAdapters
833
833
  };
834
- //# sourceMappingURL=chunk-NZHI7FHX.js.map
834
+ //# sourceMappingURL=chunk-ROAVF3S5.js.map
@@ -12,11 +12,11 @@ import {
12
12
  gateWithReputation,
13
13
  resolveReputationGatingMode,
14
14
  sanitizeInput
15
- } from "./chunk-5HPJB35V.js";
15
+ } from "./chunk-AQAGVYWS.js";
16
16
  import {
17
17
  createLogger,
18
18
  getTimeProvider
19
- } from "./chunk-TN7HF2SQ.js";
19
+ } from "./chunk-TMYLHKLJ.js";
20
20
 
21
21
  // src/dogfooding/pr-reviewer-helpers.ts
22
22
  import { randomUUID } from "crypto";
@@ -291,4 +291,4 @@ export {
291
291
  formatReviewComment,
292
292
  createFailedReview
293
293
  };
294
- //# sourceMappingURL=chunk-4XWRSCZ2.js.map
294
+ //# sourceMappingURL=chunk-SF6KSPBW.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-TN7HF2SQ.js";
6
+ } from "./chunk-TMYLHKLJ.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-S645LGB6.js.map
153
+ //# sourceMappingURL=chunk-TKA6653I.js.map
@@ -2623,7 +2623,7 @@ function setDefaultRegistry(registry) {
2623
2623
  }
2624
2624
  async function reloadDefaultRegistry() {
2625
2625
  globalRegistry = buildDefaultRegistry();
2626
- const { resetGlobalRegistry } = await import("./unified-registry-OGXE4772.js");
2626
+ const { resetGlobalRegistry } = await import("./unified-registry-UM4GSYMB.js");
2627
2627
  resetGlobalRegistry();
2628
2628
  return globalRegistry;
2629
2629
  }
@@ -15022,7 +15022,7 @@ var CompositeRouter = class _CompositeRouter {
15022
15022
  */
15023
15023
  async consultUnifiedContext(task) {
15024
15024
  try {
15025
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-SGJTQUCI.js");
15025
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-CIFLPUJA.js");
15026
15026
  const ctx = await getContextForTask({
15027
15027
  task: task.content,
15028
15028
  category: inferTaskCategory(task.content),
@@ -16420,6 +16420,15 @@ export {
16420
16420
  loadUserManifestOverlay,
16421
16421
  loadModelsDevSnapshot,
16422
16422
  loadGeneratedRegistryEntries,
16423
+ getFallbackChainForCategory,
16424
+ isRateLimitText,
16425
+ isRateLimitLikeError,
16426
+ parseRetryAfterMs,
16427
+ RETRY_AFTER_CONTEXT_KEY,
16428
+ retryAfterMsFromContext,
16429
+ resolveRetryAfterMs,
16430
+ toRateLimitError,
16431
+ recordRateLimitEvent,
16423
16432
  TASK_CATEGORIES,
16424
16433
  TaskCategorySchema,
16425
16434
  TASK_SPECIALIZATION_MATRIX,
@@ -16473,15 +16482,6 @@ export {
16473
16482
  clamp,
16474
16483
  clamp01,
16475
16484
  clampPercent,
16476
- isRateLimitText,
16477
- isRateLimitLikeError,
16478
- parseRetryAfterMs,
16479
- RETRY_AFTER_CONTEXT_KEY,
16480
- retryAfterMsFromContext,
16481
- resolveRetryAfterMs,
16482
- toRateLimitError,
16483
- recordRateLimitEvent,
16484
- getFallbackChainForCategory,
16485
16485
  isDynamicModelsEnabled,
16486
16486
  buildDefaultModelSources,
16487
16487
  getTokenEstimator,
@@ -16612,4 +16612,4 @@ export {
16612
16612
  AgentCapability,
16613
16613
  OrchestratorError
16614
16614
  };
16615
- //# sourceMappingURL=chunk-TN7HF2SQ.js.map
16615
+ //# sourceMappingURL=chunk-TMYLHKLJ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  emitClawGuardViolation
3
- } from "./chunk-ADIMVMAB.js";
3
+ } from "./chunk-5GUP54YH.js";
4
4
  import {
5
5
  CACHE_TIMEOUTS,
6
6
  MCP_TIMEOUTS,
@@ -16,7 +16,7 @@ import {
16
16
  getTimeProvider,
17
17
  ok,
18
18
  resolveToolClassGuardMs
19
- } from "./chunk-TN7HF2SQ.js";
19
+ } from "./chunk-TMYLHKLJ.js";
20
20
  import {
21
21
  getNexusDataDir
22
22
  } from "./chunk-OQLFRJCW.js";
@@ -2042,4 +2042,4 @@ export {
2042
2042
  VOTING_THRESHOLDS,
2043
2043
  ConsensusMetricsSchema
2044
2044
  };
2045
- //# sourceMappingURL=chunk-5DED5UHM.js.map
2045
+ //# sourceMappingURL=chunk-WX5TASVN.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  err,
5
5
  ok
6
- } from "./chunk-TN7HF2SQ.js";
6
+ } from "./chunk-TMYLHKLJ.js";
7
7
 
8
8
  // src/adapters/sdk/types.ts
9
9
  var PROVIDER_ENV_KEYS = {
@@ -169,4 +169,4 @@ export {
169
169
  validateCustomApiBaseUrl,
170
170
  assertCustomApiHostResolvesPublic
171
171
  };
172
- //# sourceMappingURL=chunk-2HCONJES.js.map
172
+ //# sourceMappingURL=chunk-X57EI3U6.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-TN7HF2SQ.js";
5
+ } from "./chunk-TMYLHKLJ.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-3OM2W7H7.js.map
90
+ //# sourceMappingURL=chunk-XABDFFQV.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getErrorMessage,
9
9
  ok,
10
10
  parseBoolEnv
11
- } from "./chunk-TN7HF2SQ.js";
11
+ } from "./chunk-TMYLHKLJ.js";
12
12
 
13
13
  // src/cli/research-helpers-io.ts
14
14
  import * as fs2 from "fs/promises";
@@ -146,4 +146,4 @@ export {
146
146
  loadPapersRegistry,
147
147
  savePapersRegistry
148
148
  };
149
- //# sourceMappingURL=chunk-UM376MEM.js.map
149
+ //# sourceMappingURL=chunk-Y3WYSLFZ.js.map
@@ -3,8 +3,8 @@ import {
3
3
  createCliCircuitBreakerIntegration,
4
4
  getCliCircuitBreakerSnapshot,
5
5
  getDefaultCliCircuitBreakerRegistry
6
- } from "./chunk-4O7TU6R3.js";
7
- import "./chunk-TN7HF2SQ.js";
6
+ } from "./chunk-4JKO5B7A.js";
7
+ import "./chunk-TMYLHKLJ.js";
8
8
  import "./chunk-2HUC6NZN.js";
9
9
  import "./chunk-OQLFRJCW.js";
10
10
  import "./chunk-ZPWHCABL.js";
@@ -14,4 +14,4 @@ export {
14
14
  getCliCircuitBreakerSnapshot,
15
15
  getDefaultCliCircuitBreakerRegistry
16
16
  };
17
- //# sourceMappingURL=cli-circuit-breaker-NRGM3VBL.js.map
17
+ //# sourceMappingURL=cli-circuit-breaker-DG2L4C3C.js.map