nexus-agents 2.132.1 → 2.134.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 (133) hide show
  1. package/dist/{child-mcp-config-R67B2KM6.js → child-mcp-config-TWHH63UK.js} +3 -3
  2. package/dist/{chunk-GYDO2WOR.js → chunk-33MFMXBQ.js} +5 -5
  3. package/dist/{chunk-VZCQRLXT.js → chunk-3EYXPV5F.js} +7 -7
  4. package/dist/{chunk-RLYXX3FQ.js → chunk-6LMZ7HFU.js} +2 -2
  5. package/dist/{chunk-4CLBJ2NA.js → chunk-6UCWR3DS.js} +3 -3
  6. package/dist/{chunk-EEQVXGZ2.js → chunk-76R5ES6Z.js} +43 -40
  7. package/dist/{chunk-EEQVXGZ2.js.map → chunk-76R5ES6Z.js.map} +1 -1
  8. package/dist/{chunk-P6FBH2UG.js → chunk-7GSYICTL.js} +31 -26
  9. package/dist/chunk-7GSYICTL.js.map +1 -0
  10. package/dist/{chunk-MHIJSCPR.js → chunk-7TQZR5VU.js} +123 -8
  11. package/dist/chunk-7TQZR5VU.js.map +1 -0
  12. package/dist/{chunk-2CLFX73Y.js → chunk-B26FGLIJ.js} +2 -2
  13. package/dist/{chunk-27DRQWON.js → chunk-BTYYZ6VU.js} +4 -4
  14. package/dist/{chunk-K5WBFAR4.js → chunk-CLRSNWRQ.js} +4 -4
  15. package/dist/{chunk-TGGR6ST5.js → chunk-COJOUIO2.js} +3 -3
  16. package/dist/{chunk-QJIHSQZX.js → chunk-DBDWMHUL.js} +65 -14
  17. package/dist/chunk-DBDWMHUL.js.map +1 -0
  18. package/dist/{chunk-I2SW34K6.js → chunk-DLUFDKPA.js} +82 -33
  19. package/dist/{chunk-I2SW34K6.js.map → chunk-DLUFDKPA.js.map} +1 -1
  20. package/dist/{chunk-PM63X3QG.js → chunk-E64SZTEP.js} +3 -3
  21. package/dist/{chunk-QMCHVYZB.js → chunk-EHLJLIHS.js} +2 -2
  22. package/dist/{chunk-ZTRBMKXK.js → chunk-F74ZGHAP.js} +2 -2
  23. package/dist/{chunk-NZGNOXXW.js → chunk-FPMQ2JAK.js} +2 -2
  24. package/dist/{chunk-4DLHM6LI.js → chunk-FSFF7EFR.js} +2 -2
  25. package/dist/{chunk-J435FU54.js → chunk-FUJ3XR7T.js} +4 -4
  26. package/dist/{chunk-CI5KGCX5.js → chunk-FVSZLVMR.js} +3 -3
  27. package/dist/{chunk-RUSP5PJR.js → chunk-GZ4NF4ZW.js} +5 -1
  28. package/dist/{chunk-RUSP5PJR.js.map → chunk-GZ4NF4ZW.js.map} +1 -1
  29. package/dist/{chunk-NXTFB3HA.js → chunk-IWQH6TP7.js} +6 -6
  30. package/dist/{chunk-ZQEQVCIU.js → chunk-MY52DFXC.js} +2 -2
  31. package/dist/{chunk-FKTLAPXJ.js → chunk-OCKZ6F5O.js} +3 -3
  32. package/dist/{chunk-E4IYX7LD.js → chunk-ORQAFTAZ.js} +2 -2
  33. package/dist/{chunk-QLRH6KOT.js → chunk-OU2NQVKD.js} +2 -2
  34. package/dist/{chunk-7BONPRR2.js → chunk-PFBV5FCT.js} +2 -2
  35. package/dist/{chunk-S4U3Z6ZS.js → chunk-QZUT22LP.js} +6 -6
  36. package/dist/{chunk-EFDXX5MC.js → chunk-UDB5NHJI.js} +3 -3
  37. package/dist/{chunk-RAWF4JOT.js → chunk-VI7LELES.js} +7 -7
  38. package/dist/{chunk-ECDJM6UB.js → chunk-WFKVUZ3O.js} +2 -2
  39. package/dist/{chunk-XIFOAZ5B.js → chunk-WYJJUF6N.js} +4 -4
  40. package/dist/{chunk-GET2MTLW.js → chunk-Z6DXZ6AS.js} +2 -2
  41. package/dist/{chunk-WHZD2W6Q.js → chunk-ZMDOGN33.js} +2 -2
  42. package/dist/{cli-circuit-breaker-J6UFONNE.js → cli-circuit-breaker-VXBDCAD7.js} +5 -5
  43. package/dist/cli.d.ts +1 -1
  44. package/dist/cli.js +15070 -14206
  45. package/dist/cli.js.map +1 -1
  46. package/dist/{composite-router-HQUSCJO4.js → composite-router-E6FXXMMR.js} +3 -3
  47. package/dist/{consensus-vote-E2WJFEIJ.js → consensus-vote-R6X5IL57.js} +15 -15
  48. package/dist/{context-retriever-5OVRAWNZ.js → context-retriever-I4NEOUEV.js} +9 -9
  49. package/dist/{doctor-deep-HJ3NQ365.js → doctor-deep-CZXN4YD6.js} +4 -4
  50. package/dist/{expert-bridge-MINXBC73.js → expert-bridge-GMB5IHHF.js} +5 -5
  51. package/dist/factory-WR62MEIJ.js +14 -0
  52. package/dist/factory-ZBQGA373.js +21 -0
  53. package/dist/{improvement-review-TDC4QH5P.js → improvement-review-77BKIQGN.js} +5 -5
  54. package/dist/index.d.ts +210 -192
  55. package/dist/index.js +30 -30
  56. package/dist/{init-opencode-L3NT524E.js → init-opencode-4H2VPN23.js} +7 -7
  57. package/dist/issue-triage-NJB6SL4S.js +16 -0
  58. package/dist/{learning-persistence-QFCQ5POD.js → learning-persistence-2KO4CXNL.js} +2 -2
  59. package/dist/{pr-reviewer-helpers-PLKDVWYF.js → pr-reviewer-helpers-F3SHCHNV.js} +5 -5
  60. package/dist/{registry-command-HPKNLYUL.js → registry-command-VFCSMHME.js} +3 -3
  61. package/dist/{repo-security-plan-HSYGGVEJ.js → repo-security-plan-U2ZIFW53.js} +4 -4
  62. package/dist/research-helpers-synthesize-5TLNHT3I.js +14 -0
  63. package/dist/{routing-memory-OGUOL7UF.js → routing-memory-VVLJL3MG.js} +3 -3
  64. package/dist/{session-memory-HQWAXH3C.js → session-memory-GMQYZLJE.js} +4 -4
  65. package/dist/{setup-command-MFKD5IJT.js → setup-command-IMAX6EAO.js} +12 -12
  66. package/dist/setup-config-2ZSJ3HNE.js +10 -0
  67. package/dist/{setup-custom-api-W7EDVKWR.js → setup-custom-api-NJGCRIRO.js} +4 -4
  68. package/dist/{tool-memory-Z2B7CAH7.js → tool-memory-TSYJXGOV.js} +6 -6
  69. package/dist/unified-registry-IMAL3SY6.js +24 -0
  70. package/dist/{weather-report-GX7OIUL2.js → weather-report-OU65NJS3.js} +3 -3
  71. package/package.json +1 -1
  72. package/dist/chunk-MHIJSCPR.js.map +0 -1
  73. package/dist/chunk-P6FBH2UG.js.map +0 -1
  74. package/dist/chunk-QJIHSQZX.js.map +0 -1
  75. package/dist/factory-KC7BYHAP.js +0 -21
  76. package/dist/factory-ZG2FZYVA.js +0 -14
  77. package/dist/issue-triage-CZPFNGB7.js +0 -16
  78. package/dist/research-helpers-synthesize-IQHDU27S.js +0 -14
  79. package/dist/setup-config-HYX3BRSE.js +0 -10
  80. package/dist/unified-registry-UFNSWKZA.js +0 -24
  81. /package/dist/{child-mcp-config-R67B2KM6.js.map → child-mcp-config-TWHH63UK.js.map} +0 -0
  82. /package/dist/{chunk-GYDO2WOR.js.map → chunk-33MFMXBQ.js.map} +0 -0
  83. /package/dist/{chunk-VZCQRLXT.js.map → chunk-3EYXPV5F.js.map} +0 -0
  84. /package/dist/{chunk-RLYXX3FQ.js.map → chunk-6LMZ7HFU.js.map} +0 -0
  85. /package/dist/{chunk-4CLBJ2NA.js.map → chunk-6UCWR3DS.js.map} +0 -0
  86. /package/dist/{chunk-2CLFX73Y.js.map → chunk-B26FGLIJ.js.map} +0 -0
  87. /package/dist/{chunk-27DRQWON.js.map → chunk-BTYYZ6VU.js.map} +0 -0
  88. /package/dist/{chunk-K5WBFAR4.js.map → chunk-CLRSNWRQ.js.map} +0 -0
  89. /package/dist/{chunk-TGGR6ST5.js.map → chunk-COJOUIO2.js.map} +0 -0
  90. /package/dist/{chunk-PM63X3QG.js.map → chunk-E64SZTEP.js.map} +0 -0
  91. /package/dist/{chunk-QMCHVYZB.js.map → chunk-EHLJLIHS.js.map} +0 -0
  92. /package/dist/{chunk-ZTRBMKXK.js.map → chunk-F74ZGHAP.js.map} +0 -0
  93. /package/dist/{chunk-NZGNOXXW.js.map → chunk-FPMQ2JAK.js.map} +0 -0
  94. /package/dist/{chunk-4DLHM6LI.js.map → chunk-FSFF7EFR.js.map} +0 -0
  95. /package/dist/{chunk-J435FU54.js.map → chunk-FUJ3XR7T.js.map} +0 -0
  96. /package/dist/{chunk-CI5KGCX5.js.map → chunk-FVSZLVMR.js.map} +0 -0
  97. /package/dist/{chunk-NXTFB3HA.js.map → chunk-IWQH6TP7.js.map} +0 -0
  98. /package/dist/{chunk-ZQEQVCIU.js.map → chunk-MY52DFXC.js.map} +0 -0
  99. /package/dist/{chunk-FKTLAPXJ.js.map → chunk-OCKZ6F5O.js.map} +0 -0
  100. /package/dist/{chunk-E4IYX7LD.js.map → chunk-ORQAFTAZ.js.map} +0 -0
  101. /package/dist/{chunk-QLRH6KOT.js.map → chunk-OU2NQVKD.js.map} +0 -0
  102. /package/dist/{chunk-7BONPRR2.js.map → chunk-PFBV5FCT.js.map} +0 -0
  103. /package/dist/{chunk-S4U3Z6ZS.js.map → chunk-QZUT22LP.js.map} +0 -0
  104. /package/dist/{chunk-EFDXX5MC.js.map → chunk-UDB5NHJI.js.map} +0 -0
  105. /package/dist/{chunk-RAWF4JOT.js.map → chunk-VI7LELES.js.map} +0 -0
  106. /package/dist/{chunk-ECDJM6UB.js.map → chunk-WFKVUZ3O.js.map} +0 -0
  107. /package/dist/{chunk-XIFOAZ5B.js.map → chunk-WYJJUF6N.js.map} +0 -0
  108. /package/dist/{chunk-GET2MTLW.js.map → chunk-Z6DXZ6AS.js.map} +0 -0
  109. /package/dist/{chunk-WHZD2W6Q.js.map → chunk-ZMDOGN33.js.map} +0 -0
  110. /package/dist/{cli-circuit-breaker-J6UFONNE.js.map → cli-circuit-breaker-VXBDCAD7.js.map} +0 -0
  111. /package/dist/{composite-router-HQUSCJO4.js.map → composite-router-E6FXXMMR.js.map} +0 -0
  112. /package/dist/{consensus-vote-E2WJFEIJ.js.map → consensus-vote-R6X5IL57.js.map} +0 -0
  113. /package/dist/{context-retriever-5OVRAWNZ.js.map → context-retriever-I4NEOUEV.js.map} +0 -0
  114. /package/dist/{doctor-deep-HJ3NQ365.js.map → doctor-deep-CZXN4YD6.js.map} +0 -0
  115. /package/dist/{expert-bridge-MINXBC73.js.map → expert-bridge-GMB5IHHF.js.map} +0 -0
  116. /package/dist/{factory-KC7BYHAP.js.map → factory-WR62MEIJ.js.map} +0 -0
  117. /package/dist/{factory-ZG2FZYVA.js.map → factory-ZBQGA373.js.map} +0 -0
  118. /package/dist/{improvement-review-TDC4QH5P.js.map → improvement-review-77BKIQGN.js.map} +0 -0
  119. /package/dist/{init-opencode-L3NT524E.js.map → init-opencode-4H2VPN23.js.map} +0 -0
  120. /package/dist/{issue-triage-CZPFNGB7.js.map → issue-triage-NJB6SL4S.js.map} +0 -0
  121. /package/dist/{learning-persistence-QFCQ5POD.js.map → learning-persistence-2KO4CXNL.js.map} +0 -0
  122. /package/dist/{pr-reviewer-helpers-PLKDVWYF.js.map → pr-reviewer-helpers-F3SHCHNV.js.map} +0 -0
  123. /package/dist/{registry-command-HPKNLYUL.js.map → registry-command-VFCSMHME.js.map} +0 -0
  124. /package/dist/{repo-security-plan-HSYGGVEJ.js.map → repo-security-plan-U2ZIFW53.js.map} +0 -0
  125. /package/dist/{research-helpers-synthesize-IQHDU27S.js.map → research-helpers-synthesize-5TLNHT3I.js.map} +0 -0
  126. /package/dist/{routing-memory-OGUOL7UF.js.map → routing-memory-VVLJL3MG.js.map} +0 -0
  127. /package/dist/{session-memory-HQWAXH3C.js.map → session-memory-GMQYZLJE.js.map} +0 -0
  128. /package/dist/{setup-command-MFKD5IJT.js.map → setup-command-IMAX6EAO.js.map} +0 -0
  129. /package/dist/{setup-config-HYX3BRSE.js.map → setup-config-2ZSJ3HNE.js.map} +0 -0
  130. /package/dist/{setup-custom-api-W7EDVKWR.js.map → setup-custom-api-NJGCRIRO.js.map} +0 -0
  131. /package/dist/{tool-memory-Z2B7CAH7.js.map → tool-memory-TSYJXGOV.js.map} +0 -0
  132. /package/dist/{unified-registry-UFNSWKZA.js.map → unified-registry-IMAL3SY6.js.map} +0 -0
  133. /package/dist/{weather-report-GX7OIUL2.js.map → weather-report-OU65NJS3.js.map} +0 -0
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  createLogger
3
- } from "./chunk-QJIHSQZX.js";
4
- import "./chunk-RUSP5PJR.js";
3
+ } from "./chunk-DBDWMHUL.js";
4
+ import "./chunk-GZ4NF4ZW.js";
5
5
  import "./chunk-ZPWHCABL.js";
6
6
 
7
7
  // src/cli-adapters/child-mcp-config.ts
@@ -59,4 +59,4 @@ export {
59
59
  generateMcpConfig,
60
60
  getDefaultAllowedTools
61
61
  };
62
- //# sourceMappingURL=child-mcp-config-R67B2KM6.js.map
62
+ //# sourceMappingURL=child-mcp-config-TWHH63UK.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  SessionMemory
3
- } from "./chunk-NZGNOXXW.js";
3
+ } from "./chunk-FPMQ2JAK.js";
4
4
  import {
5
5
  stringifyValue,
6
6
  tokenize,
@@ -11,7 +11,7 @@ import {
11
11
  } from "./chunk-PQHVC4BD.js";
12
12
  import {
13
13
  generateId
14
- } from "./chunk-E4IYX7LD.js";
14
+ } from "./chunk-ORQAFTAZ.js";
15
15
  import {
16
16
  ErrorCode,
17
17
  NexusError,
@@ -24,10 +24,10 @@ import {
24
24
  getTimeProvider,
25
25
  ok,
26
26
  setSharedMobiMemDbPathResolver
27
- } from "./chunk-QJIHSQZX.js";
27
+ } from "./chunk-DBDWMHUL.js";
28
28
  import {
29
29
  nexusDataPath
30
- } from "./chunk-RUSP5PJR.js";
30
+ } from "./chunk-GZ4NF4ZW.js";
31
31
 
32
32
  // src/mcp/tools/tool-memory.ts
33
33
  import * as fs3 from "fs";
@@ -5620,4 +5620,4 @@ export {
5620
5620
  reinitializeMemoryBackends,
5621
5621
  ToolMemoryManager
5622
5622
  };
5623
- //# sourceMappingURL=chunk-GYDO2WOR.js.map
5623
+ //# sourceMappingURL=chunk-33MFMXBQ.js.map
@@ -4,24 +4,24 @@ import {
4
4
  PROVIDER_ENV_KEYS,
5
5
  assertCustomApiHostResolvesPublic,
6
6
  validateCustomApiBaseUrl
7
- } from "./chunk-WHZD2W6Q.js";
7
+ } from "./chunk-ZMDOGN33.js";
8
8
  import {
9
9
  AdapterModelError,
10
10
  BaseAdapter,
11
11
  createStream,
12
12
  requireApiKey,
13
13
  validateApiKeyPresence
14
- } from "./chunk-ECDJM6UB.js";
14
+ } from "./chunk-WFKVUZ3O.js";
15
15
  import {
16
16
  CliCircuitBreaker,
17
17
  DEFAULT_CIRCUIT_BREAKER_CONFIG
18
- } from "./chunk-ZTRBMKXK.js";
18
+ } from "./chunk-F74ZGHAP.js";
19
19
  import {
20
20
  getAvailabilityCache
21
- } from "./chunk-7BONPRR2.js";
21
+ } from "./chunk-PFBV5FCT.js";
22
22
  import {
23
23
  generateHyphenId
24
- } from "./chunk-E4IYX7LD.js";
24
+ } from "./chunk-ORQAFTAZ.js";
25
25
  import {
26
26
  CLI_SUBPROCESS_TIMEOUTS,
27
27
  CLI_TIMEOUTS,
@@ -57,7 +57,7 @@ import {
57
57
  loadModelsDevSnapshot,
58
58
  ok,
59
59
  resolveCliAlias
60
- } from "./chunk-QJIHSQZX.js";
60
+ } from "./chunk-DBDWMHUL.js";
61
61
 
62
62
  // src/cli-adapters/cli-to-model-adapter.ts
63
63
  var CliToModelAdapter = class {
@@ -4838,4 +4838,4 @@ export {
4838
4838
  SdkAdapter,
4839
4839
  createAutoAdapter
4840
4840
  };
4841
- //# sourceMappingURL=chunk-VZCQRLXT.js.map
4841
+ //# sourceMappingURL=chunk-3EYXPV5F.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-QJIHSQZX.js";
5
+ } from "./chunk-DBDWMHUL.js";
6
6
 
7
7
  // src/cli/doctor-deep.ts
8
8
  var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
@@ -106,4 +106,4 @@ export {
106
106
  runDeepDiagnostics,
107
107
  formatDeepDiagnostics
108
108
  };
109
- //# sourceMappingURL=chunk-RLYXX3FQ.js.map
109
+ //# sourceMappingURL=chunk-6LMZ7HFU.js.map
@@ -13,10 +13,10 @@ import {
13
13
  getTimeProvider,
14
14
  ok,
15
15
  resolveToolClassGuardMs
16
- } from "./chunk-QJIHSQZX.js";
16
+ } from "./chunk-DBDWMHUL.js";
17
17
  import {
18
18
  getNexusDataDir
19
- } from "./chunk-RUSP5PJR.js";
19
+ } from "./chunk-GZ4NF4ZW.js";
20
20
 
21
21
  // src/mcp/middleware/validation.ts
22
22
  function validateToolInput(schema, args) {
@@ -1990,4 +1990,4 @@ export {
1990
1990
  VOTING_THRESHOLDS,
1991
1991
  ConsensusMetricsSchema
1992
1992
  };
1993
- //# sourceMappingURL=chunk-4CLBJ2NA.js.map
1993
+ //# sourceMappingURL=chunk-6UCWR3DS.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-GET2MTLW.js";
3
+ } from "./chunk-Z6DXZ6AS.js";
4
4
  import {
5
5
  CodebaseIndex,
6
6
  extractSymbolIndex,
@@ -13,7 +13,7 @@ import {
13
13
  } from "./chunk-WAYGXUSM.js";
14
14
  import {
15
15
  executeExpert
16
- } from "./chunk-RAWF4JOT.js";
16
+ } from "./chunk-VI7LELES.js";
17
17
  import {
18
18
  JobStatusSchema,
19
19
  collectRealVotes,
@@ -32,24 +32,24 @@ import {
32
32
  toJobSummary,
33
33
  warnIfSimulatedOutsideTests,
34
34
  writeJobCancelled
35
- } from "./chunk-I2SW34K6.js";
35
+ } from "./chunk-DLUFDKPA.js";
36
36
  import {
37
37
  normalizeTopicToCanonical,
38
38
  synthesizeResearch
39
- } from "./chunk-EFDXX5MC.js";
39
+ } from "./chunk-UDB5NHJI.js";
40
40
  import {
41
41
  IssueTriage,
42
42
  createAuditTrail,
43
43
  createGraphAuditBridge,
44
44
  emitPipelinePolicyEvent
45
- } from "./chunk-J435FU54.js";
45
+ } from "./chunk-FUJ3XR7T.js";
46
46
  import {
47
47
  resolveEnvMode,
48
48
  sanitizeInput
49
- } from "./chunk-QMCHVYZB.js";
49
+ } from "./chunk-EHLJLIHS.js";
50
50
  import {
51
51
  withPrerequisite
52
- } from "./chunk-MHIJSCPR.js";
52
+ } from "./chunk-7TQZR5VU.js";
53
53
  import {
54
54
  NOOP_NOTIFIER,
55
55
  RateLimiter,
@@ -71,7 +71,7 @@ import {
71
71
  withAccessPolicy,
72
72
  withProgressHeartbeat,
73
73
  wrapToolWithTimeout
74
- } from "./chunk-4CLBJ2NA.js";
74
+ } from "./chunk-6UCWR3DS.js";
75
75
  import {
76
76
  analyzeGitHubRepo
77
77
  } from "./chunk-HFOQKCD2.js";
@@ -102,29 +102,29 @@ import {
102
102
  parseRegistry,
103
103
  sourceExistsInRegistry,
104
104
  summarizeContextForPrompt
105
- } from "./chunk-S4U3Z6ZS.js";
105
+ } from "./chunk-QZUT22LP.js";
106
106
  import {
107
107
  getTokenEnvVars,
108
108
  resolveToken
109
- } from "./chunk-ZQEQVCIU.js";
109
+ } from "./chunk-MY52DFXC.js";
110
110
  import {
111
111
  loadPapersRegistry,
112
112
  loadTechniquesRegistry
113
- } from "./chunk-2CLFX73Y.js";
113
+ } from "./chunk-B26FGLIJ.js";
114
114
  import {
115
115
  DEFAULT_RELEVANCE_CONFIG,
116
116
  MemoryImportance,
117
117
  calculateTextJaccardSimilarity,
118
118
  getToolMemory
119
- } from "./chunk-GYDO2WOR.js";
119
+ } from "./chunk-33MFMXBQ.js";
120
120
  import {
121
121
  createSessionMemory
122
- } from "./chunk-NZGNOXXW.js";
122
+ } from "./chunk-FPMQ2JAK.js";
123
123
  import {
124
124
  DEFAULT_TASK_TTL_MS,
125
125
  DEFAULT_TOOL_RATE_LIMITS,
126
126
  clampTaskTtl
127
- } from "./chunk-P6FBH2UG.js";
127
+ } from "./chunk-7GSYICTL.js";
128
128
  import {
129
129
  resolveInsideRoot
130
130
  } from "./chunk-NUBSJGQZ.js";
@@ -146,7 +146,7 @@ import {
146
146
  createEvent,
147
147
  getGlobalEventBus,
148
148
  getGlobalRegistry
149
- } from "./chunk-XIFOAZ5B.js";
149
+ } from "./chunk-WYJJUF6N.js";
150
150
  import {
151
151
  CliDetectionCache,
152
152
  asRecord,
@@ -154,19 +154,19 @@ import {
154
154
  getAvailableClis,
155
155
  sleep,
156
156
  withTimeout
157
- } from "./chunk-VZCQRLXT.js";
157
+ } from "./chunk-3EYXPV5F.js";
158
158
  import {
159
159
  DEFAULTS
160
- } from "./chunk-WHZD2W6Q.js";
160
+ } from "./chunk-ZMDOGN33.js";
161
161
  import {
162
162
  getAvailabilityCache,
163
163
  getCliForModelId,
164
164
  resolveFallback
165
- } from "./chunk-7BONPRR2.js";
165
+ } from "./chunk-PFBV5FCT.js";
166
166
  import {
167
167
  generateHyphenId,
168
168
  generateUUID
169
- } from "./chunk-E4IYX7LD.js";
169
+ } from "./chunk-ORQAFTAZ.js";
170
170
  import {
171
171
  AGENT_ROUTER_TIMEOUTS,
172
172
  API_TIMEOUTS,
@@ -258,14 +258,14 @@ import {
258
258
  selectStrategyByManifest,
259
259
  toExpertTaskAnalysisResult,
260
260
  withStep
261
- } from "./chunk-QJIHSQZX.js";
261
+ } from "./chunk-DBDWMHUL.js";
262
262
  import {
263
263
  ensureLearningDir,
264
264
  getMetaOutcomesFile,
265
265
  isPersistenceEnabled,
266
266
  nexusDataPath,
267
267
  nexusDataPathEnsure
268
- } from "./chunk-RUSP5PJR.js";
268
+ } from "./chunk-GZ4NF4ZW.js";
269
269
 
270
270
  // src/agents/state-machine-types.ts
271
271
  var VALID_TRANSITIONS = /* @__PURE__ */ new Map([
@@ -26297,7 +26297,7 @@ function execIdFields(executionId) {
26297
26297
  async function populateUnifiedContextOnState(state, options) {
26298
26298
  const taskCandidate = state["task"];
26299
26299
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
26300
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-5OVRAWNZ.js");
26300
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-I4NEOUEV.js");
26301
26301
  const category = inferTaskCategory2(taskCandidate);
26302
26302
  const executionId = options?.executionId;
26303
26303
  const execFields = execIdFields(executionId);
@@ -40526,8 +40526,11 @@ var FileAuditStorage = class _FileAuditStorage {
40526
40526
  import * as crypto from "crypto";
40527
40527
 
40528
40528
  // src/audit/tier-transition-hash.ts
40529
- function isTierTransitionEvent(event) {
40530
- return event.category === "governance" && event.action.startsWith("tier.");
40529
+ function hasTierTransitionPayload(event) {
40530
+ if (event.category !== "governance") return false;
40531
+ const raw = event.metadata?.[TIER_TRANSITION_METADATA_KEY];
40532
+ if (raw === void 0) return false;
40533
+ return TierTransitionPayloadSchema.safeParse(raw).success;
40531
40534
  }
40532
40535
  function canonicalTierTransition(raw) {
40533
40536
  const parsed = TierTransitionPayloadSchema.safeParse(raw);
@@ -40559,7 +40562,7 @@ function computeEventHash(event) {
40559
40562
  actor: event.actor,
40560
40563
  previousHash: event.previousHash
40561
40564
  };
40562
- if (isTierTransitionEvent(event)) {
40565
+ if (hasTierTransitionPayload(event)) {
40563
40566
  projection["hashVersion"] = AUDIT_HASH_VERSION_TIER_TRANSITION;
40564
40567
  const raw = event.metadata?.[TIER_TRANSITION_METADATA_KEY];
40565
40568
  projection["tierTransition"] = canonicalTierTransition(raw);
@@ -40725,7 +40728,7 @@ var AuditLogger = class {
40725
40728
  violationType: input.violationType,
40726
40729
  previousHash: this.enableHashChain ? this.lastHash ?? void 0 : void 0
40727
40730
  };
40728
- if (isTierTransitionEvent(event)) event.hashVersion = AUDIT_HASH_VERSION_TIER_TRANSITION;
40731
+ if (hasTierTransitionPayload(event)) event.hashVersion = AUDIT_HASH_VERSION_TIER_TRANSITION;
40729
40732
  if (this.enableHashChain) {
40730
40733
  event.hash = computeEventHash(event);
40731
40734
  this.lastHash = event.hash;
@@ -41387,7 +41390,7 @@ async function tryIssueTriage(task) {
41387
41390
  try {
41388
41391
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
41389
41392
  if (issueMatch === null) return null;
41390
- const { createIssueTriage } = await import("./issue-triage-CZPFNGB7.js");
41393
+ const { createIssueTriage } = await import("./issue-triage-NJB6SL4S.js");
41391
41394
  const triage = createIssueTriage();
41392
41395
  const owner = issueMatch[1] ?? "";
41393
41396
  const num = issueMatch[2] ?? "";
@@ -41415,7 +41418,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
41415
41418
  ]);
41416
41419
  async function classifyWithLLM(task) {
41417
41420
  try {
41418
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-MINXBC73.js");
41421
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-GMB5IHHF.js");
41419
41422
  const prompt = [
41420
41423
  "Classify this task into exactly one pipeline template.",
41421
41424
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -43181,8 +43184,8 @@ var memoryInitPromise = null;
43181
43184
  async function initPipelineMemory() {
43182
43185
  if (cachedMemory !== null) return cachedMemory;
43183
43186
  try {
43184
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-HQWAXH3C.js");
43185
- const { getLearningDir } = await import("./learning-persistence-QFCQ5POD.js");
43187
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-GMQYZLJE.js");
43188
+ const { getLearningDir } = await import("./learning-persistence-2KO4CXNL.js");
43186
43189
  const mem = createSessionMemory2(getLearningDir());
43187
43190
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
43188
43191
  cachedMemory = {
@@ -43243,7 +43246,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
43243
43246
  callRecord(routingMemoryCache);
43244
43247
  return;
43245
43248
  }
43246
- routingMemoryInitPromise ??= import("./routing-memory-OGUOL7UF.js").then(({ createRoutingMemory }) => {
43249
+ routingMemoryInitPromise ??= import("./routing-memory-VVLJL3MG.js").then(({ createRoutingMemory }) => {
43247
43250
  routingMemoryCache ??= createRoutingMemory();
43248
43251
  return routingMemoryCache;
43249
43252
  }).catch((error) => {
@@ -43277,7 +43280,7 @@ ${text}` : "";
43277
43280
  }
43278
43281
  async function getWeatherContext() {
43279
43282
  try {
43280
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-GX7OIUL2.js");
43283
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-OU65NJS3.js");
43281
43284
  const report = generateWeatherReport2({ includeAdaptive: true });
43282
43285
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
43283
43286
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -43295,8 +43298,8 @@ ${lines}
43295
43298
  }
43296
43299
  async function getMemoryContext(task) {
43297
43300
  try {
43298
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-HQWAXH3C.js");
43299
- const { getLearningDir } = await import("./learning-persistence-QFCQ5POD.js");
43301
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-GMQYZLJE.js");
43302
+ const { getLearningDir } = await import("./learning-persistence-2KO4CXNL.js");
43300
43303
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
43301
43304
  const learnings = memory.searchLearnings(task.slice(0, 200));
43302
43305
  if (learnings.length === 0) return "";
@@ -43407,7 +43410,7 @@ ${contextBlock}`;
43407
43410
  const strategy = config.votingStrategy ?? "higher_order";
43408
43411
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
43409
43412
  try {
43410
- const { executeVoting } = await import("./consensus-vote-E2WJFEIJ.js");
43413
+ const { executeVoting } = await import("./consensus-vote-R6X5IL57.js");
43411
43414
  const votingResult = await executeVoting(
43412
43415
  {
43413
43416
  proposal: buildVoteProposal(plan, research),
@@ -43844,7 +43847,7 @@ async function searchCodebaseForTask(task) {
43844
43847
  }
43845
43848
  async function queryResearchRegistry(task) {
43846
43849
  try {
43847
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-IQHDU27S.js");
43850
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-5TLNHT3I.js");
43848
43851
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
43849
43852
  if (topic === void 0) return null;
43850
43853
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -43915,7 +43918,7 @@ function createScanStageWrapper() {
43915
43918
  try {
43916
43919
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
43917
43920
  if (slug !== void 0) {
43918
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-HSYGGVEJ.js");
43921
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-U2ZIFW53.js");
43919
43922
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
43920
43923
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
43921
43924
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -46021,7 +46024,7 @@ var GitHubTaskTracker = class {
46021
46024
  cachedProvider = null;
46022
46025
  async getProvider() {
46023
46026
  if (this.cachedProvider !== null) return this.cachedProvider;
46024
- const { createScmProvider } = await import("./factory-ZG2FZYVA.js");
46027
+ const { createScmProvider } = await import("./factory-WR62MEIJ.js");
46025
46028
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
46026
46029
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
46027
46030
  this.cachedProvider = result.value;
@@ -46786,7 +46789,7 @@ async function probeSource(source, includeModelIds) {
46786
46789
  }
46787
46790
  }
46788
46791
  async function defaultSources(includeOpenRouter) {
46789
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-KC7BYHAP.js");
46792
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-ZBQGA373.js");
46790
46793
  const adapters = createAllAdapters2();
46791
46794
  return buildDefaultModelSources(adapters, { includeOpenRouter });
46792
46795
  }
@@ -50849,4 +50852,4 @@ export {
50849
50852
  shutdownFeedbackSubscriber,
50850
50853
  createEventBusBridge
50851
50854
  };
50852
- //# sourceMappingURL=chunk-EEQVXGZ2.js.map
50855
+ //# sourceMappingURL=chunk-76R5ES6Z.js.map