nexus-agents 8.6.0 → 8.7.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 (131) hide show
  1. package/dist/{ast-rule-runner-3N7DX6XO.js → ast-rule-runner-M4CLGNNW.js} +3 -3
  2. package/dist/{child-mcp-config-RNWGSHLP.js → child-mcp-config-VH6TABE5.js} +2 -2
  3. package/dist/{chunk-LWLQZEG7.js → chunk-34ANG6LA.js} +2 -2
  4. package/dist/{chunk-QETXUEHY.js → chunk-3JWQHPGZ.js} +2 -2
  5. package/dist/{chunk-SNWGBSQ7.js → chunk-5Z47V7HE.js} +8 -8
  6. package/dist/{chunk-6RGAAA4U.js → chunk-77UZFA6D.js} +4 -4
  7. package/dist/{chunk-QMUXBHKO.js → chunk-7G2HFETT.js} +7 -7
  8. package/dist/chunk-7G4BNM7E.js +7 -0
  9. package/dist/{chunk-F4WIX5UH.js → chunk-BHG6YOBE.js} +3 -3
  10. package/dist/{chunk-RLP56UYX.js → chunk-C3Y274GP.js} +2 -2
  11. package/dist/{chunk-JB3BG47N.js → chunk-C64WPHLB.js} +2 -2
  12. package/dist/{chunk-4EKFQECD.js → chunk-C6FKNMUA.js} +5 -5
  13. package/dist/{chunk-4EKFQECD.js.map → chunk-C6FKNMUA.js.map} +1 -1
  14. package/dist/{chunk-OAP5CFEN.js → chunk-DWN7RUDI.js} +2 -2
  15. package/dist/{chunk-UFF3NTS3.js → chunk-EFKGUOJP.js} +2 -2
  16. package/dist/{chunk-PJAMCYKJ.js → chunk-FR7JE23L.js} +2 -2
  17. package/dist/{chunk-I33FKHUF.js → chunk-GB5DYFCU.js} +4 -4
  18. package/dist/{chunk-YMBWWR5K.js → chunk-GUNDWP6A.js} +2 -2
  19. package/dist/{chunk-RO6W6DUN.js → chunk-I4PHLZQC.js} +4 -4
  20. package/dist/{chunk-6UWWVTQH.js → chunk-IDIMGCEX.js} +53 -35
  21. package/dist/chunk-IDIMGCEX.js.map +1 -0
  22. package/dist/{chunk-RHZ7OTUR.js → chunk-IFF4SSOE.js} +3 -3
  23. package/dist/{chunk-ZR2AT5Y4.js → chunk-IOPJR7R6.js} +5 -5
  24. package/dist/{chunk-B6HNAXBM.js → chunk-IXY6ISXK.js} +2 -2
  25. package/dist/{chunk-D2WWKJMI.js → chunk-LQOLKNYU.js} +2 -2
  26. package/dist/{chunk-L2WZSYQ4.js → chunk-MDVKS5FU.js} +2 -2
  27. package/dist/{chunk-RQFYOMCK.js → chunk-MG4LAYXC.js} +2 -2
  28. package/dist/{chunk-KHARSVPD.js → chunk-N4VHPPWC.js} +2 -2
  29. package/dist/{chunk-WZZQI774.js → chunk-NFCIUQE5.js} +2 -2
  30. package/dist/{chunk-OI7VYOYS.js → chunk-OGSSJAVW.js} +29 -11
  31. package/dist/chunk-OGSSJAVW.js.map +1 -0
  32. package/dist/{chunk-UDZBQWWH.js → chunk-ORO7GDOD.js} +7 -7
  33. package/dist/{chunk-DC2OJAIB.js → chunk-PSCRZOGQ.js} +3 -3
  34. package/dist/{chunk-DC2OJAIB.js.map → chunk-PSCRZOGQ.js.map} +1 -1
  35. package/dist/{chunk-K7WPK63Q.js → chunk-RM6WWFAV.js} +8 -8
  36. package/dist/{chunk-I2FSX2XS.js → chunk-RSMO6HZS.js} +6 -6
  37. package/dist/{chunk-ZIZVA5OL.js → chunk-SM7A3QRA.js} +3 -3
  38. package/dist/{chunk-FECYCZZR.js → chunk-URKAE64B.js} +2 -2
  39. package/dist/{chunk-44TOYOLL.js → chunk-VS2AWCQY.js} +2 -2
  40. package/dist/{chunk-U4QKZICX.js → chunk-XIC7XHIV.js} +2 -2
  41. package/dist/{cli-circuit-breaker-BAV6CS55.js → cli-circuit-breaker-6IKFVHKP.js} +3 -3
  42. package/dist/cli.js +43 -43
  43. package/dist/cli.js.map +1 -1
  44. package/dist/{composite-router-ZBUAKNWH.js → composite-router-EYZQABJD.js} +2 -2
  45. package/dist/{consensus-vote-222ZEN5J.js → consensus-vote-E5RA4DWL.js} +17 -17
  46. package/dist/{context-retriever-EUAU2AMR.js → context-retriever-VKTD245W.js} +8 -8
  47. package/dist/{doctor-deep-ZHCMOZFP.js → doctor-deep-LZVCM73P.js} +3 -3
  48. package/dist/{doctor-live-BUHVK3DK.js → doctor-live-X2T7CKBI.js} +9 -9
  49. package/dist/{expert-bridge-UPCLL7ND.js → expert-bridge-EQVYE6WD.js} +4 -4
  50. package/dist/{factory-3OOZ2ZQP.js → factory-K2LHSYKK.js} +9 -9
  51. package/dist/{factory-6HNECKBF.js → factory-TOA2DAKX.js} +5 -5
  52. package/dist/{improvement-review-GGYLCRGQ.js → improvement-review-LE6COYNO.js} +6 -6
  53. package/dist/index.d.ts +25 -5
  54. package/dist/index.js +32 -32
  55. package/dist/index.js.map +1 -1
  56. package/dist/{init-opencode-CKCCZOT3.js → init-opencode-I3DNRHYN.js} +6 -6
  57. package/dist/issue-triage-N6EMSPMR.js +17 -0
  58. package/dist/{pr-reviewer-helpers-RKAK33X2.js → pr-reviewer-helpers-MT3N536G.js} +4 -4
  59. package/dist/{registry-command-3J5SNWG2.js → registry-command-A2R7GMD4.js} +2 -2
  60. package/dist/{repo-security-plan-VUA76IN3.js → repo-security-plan-NW46RZXZ.js} +3 -3
  61. package/dist/{research-helpers-synthesize-6EEGTTZY.js → research-helpers-synthesize-GK6JLPAY.js} +4 -4
  62. package/dist/{routing-memory-LLGBBX7P.js → routing-memory-CGOORLEE.js} +2 -2
  63. package/dist/{session-memory-FJOIX7BQ.js → session-memory-EVTFDL4P.js} +3 -3
  64. package/dist/{setup-config-R26W2YIS.js → setup-config-KLHUBAZC.js} +3 -3
  65. package/dist/{setup-custom-api-MN6BPPK5.js → setup-custom-api-XAJSDQHR.js} +4 -4
  66. package/dist/setup-data-dir-KY2YWWF4.js +29 -0
  67. package/dist/{tool-memory-B6OUGSGS.js → tool-memory-X5XDTZX6.js} +5 -5
  68. package/dist/{unified-registry-4CXEC2UP.js → unified-registry-XICJQUNW.js} +10 -10
  69. package/dist/{weather-report-2MF7IEQ4.js → weather-report-UJTYF5EI.js} +2 -2
  70. package/package.json +1 -1
  71. package/dist/chunk-4OILK4VD.js +0 -7
  72. package/dist/chunk-6UWWVTQH.js.map +0 -1
  73. package/dist/chunk-OI7VYOYS.js.map +0 -1
  74. package/dist/issue-triage-4S5K7TSE.js +0 -17
  75. package/dist/setup-data-dir-T4S46VSI.js +0 -29
  76. /package/dist/{ast-rule-runner-3N7DX6XO.js.map → ast-rule-runner-M4CLGNNW.js.map} +0 -0
  77. /package/dist/{child-mcp-config-RNWGSHLP.js.map → child-mcp-config-VH6TABE5.js.map} +0 -0
  78. /package/dist/{chunk-LWLQZEG7.js.map → chunk-34ANG6LA.js.map} +0 -0
  79. /package/dist/{chunk-QETXUEHY.js.map → chunk-3JWQHPGZ.js.map} +0 -0
  80. /package/dist/{chunk-SNWGBSQ7.js.map → chunk-5Z47V7HE.js.map} +0 -0
  81. /package/dist/{chunk-6RGAAA4U.js.map → chunk-77UZFA6D.js.map} +0 -0
  82. /package/dist/{chunk-QMUXBHKO.js.map → chunk-7G2HFETT.js.map} +0 -0
  83. /package/dist/{chunk-4OILK4VD.js.map → chunk-7G4BNM7E.js.map} +0 -0
  84. /package/dist/{chunk-F4WIX5UH.js.map → chunk-BHG6YOBE.js.map} +0 -0
  85. /package/dist/{chunk-RLP56UYX.js.map → chunk-C3Y274GP.js.map} +0 -0
  86. /package/dist/{chunk-JB3BG47N.js.map → chunk-C64WPHLB.js.map} +0 -0
  87. /package/dist/{chunk-OAP5CFEN.js.map → chunk-DWN7RUDI.js.map} +0 -0
  88. /package/dist/{chunk-UFF3NTS3.js.map → chunk-EFKGUOJP.js.map} +0 -0
  89. /package/dist/{chunk-PJAMCYKJ.js.map → chunk-FR7JE23L.js.map} +0 -0
  90. /package/dist/{chunk-I33FKHUF.js.map → chunk-GB5DYFCU.js.map} +0 -0
  91. /package/dist/{chunk-YMBWWR5K.js.map → chunk-GUNDWP6A.js.map} +0 -0
  92. /package/dist/{chunk-RO6W6DUN.js.map → chunk-I4PHLZQC.js.map} +0 -0
  93. /package/dist/{chunk-RHZ7OTUR.js.map → chunk-IFF4SSOE.js.map} +0 -0
  94. /package/dist/{chunk-ZR2AT5Y4.js.map → chunk-IOPJR7R6.js.map} +0 -0
  95. /package/dist/{chunk-B6HNAXBM.js.map → chunk-IXY6ISXK.js.map} +0 -0
  96. /package/dist/{chunk-D2WWKJMI.js.map → chunk-LQOLKNYU.js.map} +0 -0
  97. /package/dist/{chunk-L2WZSYQ4.js.map → chunk-MDVKS5FU.js.map} +0 -0
  98. /package/dist/{chunk-RQFYOMCK.js.map → chunk-MG4LAYXC.js.map} +0 -0
  99. /package/dist/{chunk-KHARSVPD.js.map → chunk-N4VHPPWC.js.map} +0 -0
  100. /package/dist/{chunk-WZZQI774.js.map → chunk-NFCIUQE5.js.map} +0 -0
  101. /package/dist/{chunk-UDZBQWWH.js.map → chunk-ORO7GDOD.js.map} +0 -0
  102. /package/dist/{chunk-K7WPK63Q.js.map → chunk-RM6WWFAV.js.map} +0 -0
  103. /package/dist/{chunk-I2FSX2XS.js.map → chunk-RSMO6HZS.js.map} +0 -0
  104. /package/dist/{chunk-ZIZVA5OL.js.map → chunk-SM7A3QRA.js.map} +0 -0
  105. /package/dist/{chunk-FECYCZZR.js.map → chunk-URKAE64B.js.map} +0 -0
  106. /package/dist/{chunk-44TOYOLL.js.map → chunk-VS2AWCQY.js.map} +0 -0
  107. /package/dist/{chunk-U4QKZICX.js.map → chunk-XIC7XHIV.js.map} +0 -0
  108. /package/dist/{cli-circuit-breaker-BAV6CS55.js.map → cli-circuit-breaker-6IKFVHKP.js.map} +0 -0
  109. /package/dist/{composite-router-ZBUAKNWH.js.map → composite-router-EYZQABJD.js.map} +0 -0
  110. /package/dist/{consensus-vote-222ZEN5J.js.map → consensus-vote-E5RA4DWL.js.map} +0 -0
  111. /package/dist/{context-retriever-EUAU2AMR.js.map → context-retriever-VKTD245W.js.map} +0 -0
  112. /package/dist/{doctor-deep-ZHCMOZFP.js.map → doctor-deep-LZVCM73P.js.map} +0 -0
  113. /package/dist/{doctor-live-BUHVK3DK.js.map → doctor-live-X2T7CKBI.js.map} +0 -0
  114. /package/dist/{expert-bridge-UPCLL7ND.js.map → expert-bridge-EQVYE6WD.js.map} +0 -0
  115. /package/dist/{factory-3OOZ2ZQP.js.map → factory-K2LHSYKK.js.map} +0 -0
  116. /package/dist/{factory-6HNECKBF.js.map → factory-TOA2DAKX.js.map} +0 -0
  117. /package/dist/{improvement-review-GGYLCRGQ.js.map → improvement-review-LE6COYNO.js.map} +0 -0
  118. /package/dist/{init-opencode-CKCCZOT3.js.map → init-opencode-I3DNRHYN.js.map} +0 -0
  119. /package/dist/{issue-triage-4S5K7TSE.js.map → issue-triage-N6EMSPMR.js.map} +0 -0
  120. /package/dist/{pr-reviewer-helpers-RKAK33X2.js.map → pr-reviewer-helpers-MT3N536G.js.map} +0 -0
  121. /package/dist/{registry-command-3J5SNWG2.js.map → registry-command-A2R7GMD4.js.map} +0 -0
  122. /package/dist/{repo-security-plan-VUA76IN3.js.map → repo-security-plan-NW46RZXZ.js.map} +0 -0
  123. /package/dist/{research-helpers-synthesize-6EEGTTZY.js.map → research-helpers-synthesize-GK6JLPAY.js.map} +0 -0
  124. /package/dist/{routing-memory-LLGBBX7P.js.map → routing-memory-CGOORLEE.js.map} +0 -0
  125. /package/dist/{session-memory-FJOIX7BQ.js.map → session-memory-EVTFDL4P.js.map} +0 -0
  126. /package/dist/{setup-config-R26W2YIS.js.map → setup-config-KLHUBAZC.js.map} +0 -0
  127. /package/dist/{setup-custom-api-MN6BPPK5.js.map → setup-custom-api-XAJSDQHR.js.map} +0 -0
  128. /package/dist/{setup-data-dir-T4S46VSI.js.map → setup-data-dir-KY2YWWF4.js.map} +0 -0
  129. /package/dist/{tool-memory-B6OUGSGS.js.map → tool-memory-X5XDTZX6.js.map} +0 -0
  130. /package/dist/{unified-registry-4CXEC2UP.js.map → unified-registry-XICJQUNW.js.map} +0 -0
  131. /package/dist/{weather-report-2MF7IEQ4.js.map → weather-report-UJTYF5EI.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-DC2OJAIB.js";
3
+ } from "./chunk-PSCRZOGQ.js";
4
4
 
5
5
  // src/cli/setup-config.ts
6
6
  import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "node:fs";
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
77
77
  export {
78
78
  runConfigInitSync
79
79
  };
80
- //# sourceMappingURL=chunk-OAP5CFEN.js.map
80
+ //# sourceMappingURL=chunk-DWN7RUDI.js.map
@@ -4,7 +4,7 @@ import {
4
4
  getErrorMessage,
5
5
  getTimeProvider,
6
6
  ok
7
- } from "./chunk-DC2OJAIB.js";
7
+ } from "./chunk-PSCRZOGQ.js";
8
8
 
9
9
  // src/context/session-memory.ts
10
10
  import * as fs from "node:fs";
@@ -366,4 +366,4 @@ export {
366
366
  SessionMemory,
367
367
  createSessionMemory
368
368
  };
369
- //# sourceMappingURL=chunk-UFF3NTS3.js.map
369
+ //# sourceMappingURL=chunk-EFKGUOJP.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-DC2OJAIB.js";
7
+ } from "./chunk-PSCRZOGQ.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-PJAMCYKJ.js.map
724
+ //# sourceMappingURL=chunk-FR7JE23L.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  VERSION
3
- } from "./chunk-4OILK4VD.js";
3
+ } from "./chunk-7G4BNM7E.js";
4
4
  import {
5
5
  emitClawGuardViolation
6
- } from "./chunk-B6HNAXBM.js";
6
+ } from "./chunk-IXY6ISXK.js";
7
7
  import {
8
8
  CACHE_TIMEOUTS,
9
9
  MCP_TIMEOUTS,
@@ -19,7 +19,7 @@ import {
19
19
  getTimeProvider,
20
20
  ok,
21
21
  resolveToolClassGuardMs
22
- } from "./chunk-DC2OJAIB.js";
22
+ } from "./chunk-PSCRZOGQ.js";
23
23
  import {
24
24
  getNexusDataDir
25
25
  } from "./chunk-MM223CVS.js";
@@ -2246,4 +2246,4 @@ export {
2246
2246
  VOTING_THRESHOLDS,
2247
2247
  ConsensusMetricsSchema
2248
2248
  };
2249
- //# sourceMappingURL=chunk-I33FKHUF.js.map
2249
+ //# sourceMappingURL=chunk-GB5DYFCU.js.map
@@ -11,7 +11,7 @@ import {
11
11
  createGetRetryConfig,
12
12
  createGetTimeout,
13
13
  createGetToolRateLimit
14
- } from "./chunk-DC2OJAIB.js";
14
+ } from "./chunk-PSCRZOGQ.js";
15
15
 
16
16
  // src/config/defaults.ts
17
17
  var CUSTOM_API_DEFAULT_MODEL = "gpt-5.5";
@@ -230,4 +230,4 @@ export {
230
230
  CUSTOM_API_DEFAULT_MODEL,
231
231
  DEFAULTS
232
232
  };
233
- //# sourceMappingURL=chunk-YMBWWR5K.js.map
233
+ //# sourceMappingURL=chunk-GUNDWP6A.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-K7WPK63Q.js";
3
+ } from "./chunk-RM6WWFAV.js";
4
4
  import {
5
5
  getDefaultCliCircuitBreakerRegistry,
6
6
  mapModelErrorToCategory
7
- } from "./chunk-LWLQZEG7.js";
7
+ } from "./chunk-34ANG6LA.js";
8
8
  import {
9
9
  CLI_NAMES,
10
10
  CircularBuffer,
@@ -24,7 +24,7 @@ import {
24
24
  recordRateLimitEvent,
25
25
  resolveModelIdentitySync,
26
26
  toRateLimitError
27
- } from "./chunk-DC2OJAIB.js";
27
+ } from "./chunk-PSCRZOGQ.js";
28
28
 
29
29
  // src/config/model-equivalence.ts
30
30
  function canonicalModelKey(modelId) {
@@ -904,4 +904,4 @@ export {
904
904
  getGlobalRegistry,
905
905
  resetGlobalRegistry
906
906
  };
907
- //# sourceMappingURL=chunk-RO6W6DUN.js.map
907
+ //# sourceMappingURL=chunk-I4PHLZQC.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-PJAMCYKJ.js";
3
+ } from "./chunk-FR7JE23L.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-DGWT7DXX.js";
@@ -21,10 +21,10 @@ import {
21
21
  import {
22
22
  DEFAULT_TASK_TTL_MS,
23
23
  clampTaskTtl
24
- } from "./chunk-QMUXBHKO.js";
24
+ } from "./chunk-7G2HFETT.js";
25
25
  import {
26
26
  executeExpert
27
- } from "./chunk-UDZBQWWH.js";
27
+ } from "./chunk-ORO7GDOD.js";
28
28
  import {
29
29
  JobStatusSchema,
30
30
  VOTER_ROLES,
@@ -47,24 +47,24 @@ import {
47
47
  simulationDeniedResult,
48
48
  toJobSummary,
49
49
  writeJobCancelled
50
- } from "./chunk-SNWGBSQ7.js";
50
+ } from "./chunk-5Z47V7HE.js";
51
51
  import {
52
52
  allOf
53
53
  } from "./chunk-OQB3XC5O.js";
54
54
  import {
55
55
  normalizeTopicToCanonical,
56
56
  synthesizeResearch
57
- } from "./chunk-F4WIX5UH.js";
57
+ } from "./chunk-BHG6YOBE.js";
58
58
  import {
59
59
  IssueTriage
60
- } from "./chunk-I2FSX2XS.js";
60
+ } from "./chunk-RSMO6HZS.js";
61
61
  import {
62
62
  resolveEnvMode,
63
63
  sanitizeInput
64
- } from "./chunk-44TOYOLL.js";
64
+ } from "./chunk-VS2AWCQY.js";
65
65
  import {
66
66
  withPrerequisite
67
- } from "./chunk-ZIZVA5OL.js";
67
+ } from "./chunk-SM7A3QRA.js";
68
68
  import {
69
69
  NOOP_NOTIFIER,
70
70
  RateLimiter,
@@ -89,18 +89,18 @@ import {
89
89
  withAuditTrail,
90
90
  withProgressHeartbeat,
91
91
  wrapToolWithTimeout
92
- } from "./chunk-I33FKHUF.js";
92
+ } from "./chunk-GB5DYFCU.js";
93
93
  import {
94
94
  createAuditTrail,
95
95
  createGraphAuditBridge,
96
96
  emitPipelinePolicyEvent
97
- } from "./chunk-B6HNAXBM.js";
97
+ } from "./chunk-IXY6ISXK.js";
98
98
  import {
99
99
  EventTopics,
100
100
  createEvent,
101
101
  getGlobalEventBus,
102
102
  getGlobalRegistry
103
- } from "./chunk-RO6W6DUN.js";
103
+ } from "./chunk-I4PHLZQC.js";
104
104
  import {
105
105
  IDENTIFIER_RE,
106
106
  LANG_VALUES,
@@ -133,29 +133,29 @@ import {
133
133
  parseRegistry,
134
134
  sourceExistsInRegistry,
135
135
  summarizeContextForPrompt
136
- } from "./chunk-4EKFQECD.js";
136
+ } from "./chunk-C6FKNMUA.js";
137
137
  import {
138
138
  loadPapersRegistry,
139
139
  loadTechniquesRegistry,
140
140
  resolveInsideRoot
141
- } from "./chunk-JB3BG47N.js";
141
+ } from "./chunk-C64WPHLB.js";
142
142
  import {
143
143
  getTokenEnvVars,
144
144
  resolveToken
145
- } from "./chunk-QETXUEHY.js";
145
+ } from "./chunk-3JWQHPGZ.js";
146
146
  import {
147
147
  DEFAULT_RELEVANCE_CONFIG,
148
148
  MemoryImportance,
149
149
  calculateTextJaccardSimilarity,
150
150
  getToolMemory
151
- } from "./chunk-OI7VYOYS.js";
151
+ } from "./chunk-OGSSJAVW.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-UFF3NTS3.js";
158
+ } from "./chunk-EFKGUOJP.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-K7WPK63Q.js";
176
+ } from "./chunk-RM6WWFAV.js";
177
177
  import {
178
178
  BaseAdapter,
179
179
  createStream,
180
180
  requireApiKey,
181
181
  validateApiKeyPresence
182
- } from "./chunk-RQFYOMCK.js";
182
+ } from "./chunk-MG4LAYXC.js";
183
183
  import {
184
184
  DEFAULTS
185
- } from "./chunk-YMBWWR5K.js";
185
+ } from "./chunk-GUNDWP6A.js";
186
186
  import {
187
187
  getAvailabilityCache,
188
188
  getCliForModelId,
189
189
  resolveFallback
190
- } from "./chunk-KHARSVPD.js";
190
+ } from "./chunk-N4VHPPWC.js";
191
191
  import {
192
192
  generateHyphenId,
193
193
  generateUUID
194
- } from "./chunk-U4QKZICX.js";
194
+ } from "./chunk-XIC7XHIV.js";
195
195
  import {
196
196
  AGENT_ROUTER_TIMEOUTS,
197
197
  API_TIMEOUTS,
@@ -297,7 +297,7 @@ import {
297
297
  selectStrategyByManifest,
298
298
  toExpertTaskAnalysisResult,
299
299
  withStep
300
- } from "./chunk-DC2OJAIB.js";
300
+ } from "./chunk-PSCRZOGQ.js";
301
301
  import {
302
302
  ensureLearningDir,
303
303
  getMetaOutcomesFile,
@@ -29697,7 +29697,7 @@ function execIdFields(executionId) {
29697
29697
  async function populateUnifiedContextOnState(state, options) {
29698
29698
  const taskCandidate = state["task"];
29699
29699
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
29700
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-EUAU2AMR.js");
29700
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-VKTD245W.js");
29701
29701
  const category = inferTaskCategory2(taskCandidate);
29702
29702
  const executionId = options?.executionId;
29703
29703
  const execFields = execIdFields(executionId);
@@ -42410,6 +42410,13 @@ async function resolveReflection(query, logger58) {
42410
42410
  }
42411
42411
  async function executeMemoryQuery(input, logger58) {
42412
42412
  const toolMemory = getToolMemory();
42413
+ try {
42414
+ await toolMemory.awaitBackendInitialization();
42415
+ } catch (error) {
42416
+ logger58.debug("Backend initialization failed before query", {
42417
+ error: error instanceof Error ? error.message : String(error)
42418
+ });
42419
+ }
42413
42420
  const { effectiveQuery, expandedQuery, reflection } = await resolveReflection(
42414
42421
  input.query,
42415
42422
  logger58
@@ -42512,6 +42519,13 @@ function collectSessionStats(toolMemory) {
42512
42519
  }
42513
42520
  async function collectMemoryStats(input, logger58) {
42514
42521
  const toolMemory = getToolMemory();
42522
+ try {
42523
+ await toolMemory.awaitBackendInitialization();
42524
+ } catch (error) {
42525
+ logger58.debug("Backend initialization failed before stats collection", {
42526
+ error: error instanceof Error ? error.message : String(error)
42527
+ });
42528
+ }
42515
42529
  const sessionStats = collectSessionStats(toolMemory);
42516
42530
  const beliefStats = {
42517
42531
  beliefsCount: toolMemory.getBeliefCount(),
@@ -42738,6 +42752,10 @@ async function executeMemoryWrite(input, logger58) {
42738
42752
  return response;
42739
42753
  }
42740
42754
  async function dispatchWrite(input) {
42755
+ try {
42756
+ await getToolMemory().awaitBackendInitialization();
42757
+ } catch {
42758
+ }
42741
42759
  switch (input.backend) {
42742
42760
  case "session":
42743
42761
  return writeToSession(input.key, input.content, input.confidence);
@@ -45577,7 +45595,7 @@ async function tryIssueTriage(task) {
45577
45595
  try {
45578
45596
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
45579
45597
  if (issueMatch === null) return null;
45580
- const { createIssueTriage } = await import("./issue-triage-4S5K7TSE.js");
45598
+ const { createIssueTriage } = await import("./issue-triage-N6EMSPMR.js");
45581
45599
  const triage = createIssueTriage();
45582
45600
  const owner = issueMatch[1] ?? "";
45583
45601
  const num = issueMatch[2] ?? "";
@@ -45605,7 +45623,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
45605
45623
  ]);
45606
45624
  async function classifyWithLLM(task) {
45607
45625
  try {
45608
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-UPCLL7ND.js");
45626
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-EQVYE6WD.js");
45609
45627
  const prompt = [
45610
45628
  "Classify this task into exactly one pipeline template.",
45611
45629
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -47296,7 +47314,7 @@ var memoryInitPromise = null;
47296
47314
  async function initPipelineMemory() {
47297
47315
  if (cachedMemory !== null) return cachedMemory;
47298
47316
  try {
47299
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-FJOIX7BQ.js");
47317
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-EVTFDL4P.js");
47300
47318
  const { getLearningDir } = await import("./learning-persistence-7N5SZHNX.js");
47301
47319
  const mem = createSessionMemory2(getLearningDir());
47302
47320
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -47358,7 +47376,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
47358
47376
  callRecord(routingMemoryCache);
47359
47377
  return;
47360
47378
  }
47361
- routingMemoryInitPromise ??= import("./routing-memory-LLGBBX7P.js").then(({ createRoutingMemory }) => {
47379
+ routingMemoryInitPromise ??= import("./routing-memory-CGOORLEE.js").then(({ createRoutingMemory }) => {
47362
47380
  routingMemoryCache ??= createRoutingMemory();
47363
47381
  return routingMemoryCache;
47364
47382
  }).catch((error) => {
@@ -47392,7 +47410,7 @@ ${text}` : "";
47392
47410
  }
47393
47411
  async function getWeatherContext() {
47394
47412
  try {
47395
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-2MF7IEQ4.js");
47413
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-UJTYF5EI.js");
47396
47414
  const report = generateWeatherReport2({ includeAdaptive: true });
47397
47415
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
47398
47416
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -47410,7 +47428,7 @@ ${lines}
47410
47428
  }
47411
47429
  async function getMemoryContext(task) {
47412
47430
  try {
47413
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-FJOIX7BQ.js");
47431
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-EVTFDL4P.js");
47414
47432
  const { getLearningDir } = await import("./learning-persistence-7N5SZHNX.js");
47415
47433
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
47416
47434
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -47529,7 +47547,7 @@ ${contextBlock}`;
47529
47547
  const strategy = config.votingStrategy ?? "higher_order";
47530
47548
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
47531
47549
  try {
47532
- const { executeVoting } = await import("./consensus-vote-222ZEN5J.js");
47550
+ const { executeVoting } = await import("./consensus-vote-E5RA4DWL.js");
47533
47551
  const votingResult = await executeVoting(
47534
47552
  {
47535
47553
  proposal: buildVoteProposal(plan, research),
@@ -47958,7 +47976,7 @@ async function searchCodebaseForTask(task) {
47958
47976
  }
47959
47977
  async function queryResearchRegistry(task) {
47960
47978
  try {
47961
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-6EEGTTZY.js");
47979
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-GK6JLPAY.js");
47962
47980
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
47963
47981
  if (topic === void 0) return null;
47964
47982
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -48029,7 +48047,7 @@ function createScanStageWrapper() {
48029
48047
  try {
48030
48048
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
48031
48049
  if (slug !== void 0) {
48032
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-VUA76IN3.js");
48050
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-NW46RZXZ.js");
48033
48051
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
48034
48052
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
48035
48053
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -51200,7 +51218,7 @@ var GitHubTaskTracker = class {
51200
51218
  cachedProvider = null;
51201
51219
  async getProvider() {
51202
51220
  if (this.cachedProvider !== null) return this.cachedProvider;
51203
- const { createScmProvider } = await import("./factory-6HNECKBF.js");
51221
+ const { createScmProvider } = await import("./factory-TOA2DAKX.js");
51204
51222
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
51205
51223
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
51206
51224
  this.cachedProvider = result.value;
@@ -52115,7 +52133,7 @@ async function probeSource(source, includeModelIds) {
52115
52133
  }
52116
52134
  }
52117
52135
  async function defaultSources(includeOpenRouter) {
52118
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-3OOZ2ZQP.js");
52136
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-K2LHSYKK.js");
52119
52137
  const adapters = createAllAdapters2();
52120
52138
  return buildDefaultModelSources(adapters, { includeOpenRouter });
52121
52139
  }
@@ -56186,4 +56204,4 @@ export {
56186
56204
  shutdownFeedbackSubscriber,
56187
56205
  createEventBusBridge
56188
56206
  };
56189
- //# sourceMappingURL=chunk-6UWWVTQH.js.map
56207
+ //# sourceMappingURL=chunk-IDIMGCEX.js.map