nexus-agents 2.128.2 → 2.128.4

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 (119) hide show
  1. package/dist/{child-mcp-config-VBBVY3UC.js → child-mcp-config-TQIZEHVP.js} +2 -2
  2. package/dist/{chunk-NONHL3SG.js → chunk-47M2C4SO.js} +5 -5
  3. package/dist/{chunk-PI4RZNLE.js → chunk-4FFWDTUE.js} +2 -2
  4. package/dist/{chunk-6FSMURPE.js → chunk-4IBBMLNR.js} +4 -4
  5. package/dist/{chunk-YEJTDLJ3.js → chunk-5QJTUA7Y.js} +3 -3
  6. package/dist/{chunk-BJO43VLI.js → chunk-6RXWD3HT.js} +2 -2
  7. package/dist/{chunk-HFIYXKDQ.js → chunk-BKZ5YD66.js} +11 -648
  8. package/dist/{chunk-HFIYXKDQ.js.map → chunk-BKZ5YD66.js.map} +1 -1
  9. package/dist/{chunk-KRBE2EVT.js → chunk-C2VEMJAJ.js} +5 -5
  10. package/dist/{chunk-ASASLEPQ.js → chunk-EORN73QB.js} +7 -7
  11. package/dist/{chunk-LIHENWIY.js → chunk-FJREQSFG.js} +2 -2
  12. package/dist/{chunk-5UM6PJUH.js → chunk-GO7JE2MA.js} +2 -2
  13. package/dist/{chunk-4FGJAUDW.js → chunk-GZFECWWZ.js} +2 -2
  14. package/dist/{chunk-PMTPSSYV.js → chunk-GZTPQMD5.js} +3 -3
  15. package/dist/{chunk-U74PCTO2.js → chunk-IASJVOVO.js} +2 -2
  16. package/dist/{chunk-XVWN7BIV.js → chunk-IFJQPEOV.js} +47 -35
  17. package/dist/{chunk-XVWN7BIV.js.map → chunk-IFJQPEOV.js.map} +1 -1
  18. package/dist/{chunk-LYE2ZVJT.js → chunk-IKWTX7PW.js} +7 -7
  19. package/dist/{chunk-UI6BFGML.js → chunk-JAKYPFLI.js} +3 -3
  20. package/dist/{chunk-PPNLALMH.js → chunk-JQHZS7GU.js} +4 -4
  21. package/dist/{chunk-IG5XPEOV.js → chunk-KYLVH42N.js} +2 -2
  22. package/dist/{chunk-DGLRE36W.js → chunk-NKAPCKHN.js} +4 -4
  23. package/dist/{chunk-MQD7Y3MY.js → chunk-QJ52FRQX.js} +2 -2
  24. package/dist/{chunk-2WCL6CZZ.js → chunk-RAAMLWMY.js} +7 -7
  25. package/dist/{chunk-3FVFOMKF.js → chunk-RFXBV3A2.js} +4 -4
  26. package/dist/{chunk-BCTDE4WH.js → chunk-SH6JG7GE.js} +7 -7
  27. package/dist/{chunk-WTLYBA3N.js → chunk-TP3VZUQL.js} +3 -3
  28. package/dist/{chunk-6Q57ZBDS.js → chunk-U3FNIYWH.js} +2 -2
  29. package/dist/{chunk-CAOOOJ2C.js → chunk-U7HHO4UI.js} +2 -2
  30. package/dist/{chunk-VLZLWVDU.js → chunk-V2E74WBI.js} +2 -2
  31. package/dist/{chunk-QT3VRHNP.js → chunk-VBAGMX5I.js} +673 -50
  32. package/dist/chunk-VBAGMX5I.js.map +1 -0
  33. package/dist/{chunk-TTWJLKRC.js → chunk-VLL4L5TK.js} +2 -2
  34. package/dist/{chunk-2YEF55V2.js → chunk-XMQ3EC2B.js} +2 -2
  35. package/dist/{chunk-6LRAILEI.js → chunk-YVJFUOHY.js} +3 -3
  36. package/dist/{chunk-5K77OIRA.js → chunk-ZJPKYTH5.js} +3 -3
  37. package/dist/{cli-circuit-breaker-DMW6E7GD.js → cli-circuit-breaker-3CWRA7DZ.js} +4 -4
  38. package/dist/cli.js +39 -39
  39. package/dist/cli.js.map +1 -1
  40. package/dist/{composite-router-QICBICW4.js → composite-router-MN6W5CEQ.js} +2 -2
  41. package/dist/{consensus-vote-QMDIDPJY.js → consensus-vote-NXBPAPFW.js} +13 -13
  42. package/dist/{context-retriever-3NDDAF26.js → context-retriever-OLWFVOJG.js} +8 -8
  43. package/dist/{doctor-deep-VDYK2ZXQ.js → doctor-deep-W3QB24SM.js} +3 -3
  44. package/dist/{expert-bridge-K63WNPCR.js → expert-bridge-LAB2W5ET.js} +4 -4
  45. package/dist/{factory-IVFZPMNV.js → factory-7ZKKQDCI.js} +5 -5
  46. package/dist/factory-JNLNQ67U.js +21 -0
  47. package/dist/{improvement-review-PFWAUIB6.js → improvement-review-ATYDIHSF.js} +4 -4
  48. package/dist/index.d.ts +6 -0
  49. package/dist/index.js +28 -28
  50. package/dist/{init-opencode-DUW6BYSN.js → init-opencode-4O2R5S72.js} +5 -5
  51. package/dist/{issue-triage-GH6S3LFF.js → issue-triage-G2AKATE4.js} +5 -5
  52. package/dist/{pr-reviewer-helpers-FZEO4PKE.js → pr-reviewer-helpers-Y6LEGX2P.js} +4 -4
  53. package/dist/{registry-command-DSZ4VUZL.js → registry-command-X6A27TNG.js} +2 -2
  54. package/dist/{repo-security-plan-6R5LLVWU.js → repo-security-plan-356NFHOZ.js} +3 -3
  55. package/dist/{research-helpers-synthesize-FYTMFLSG.js → research-helpers-synthesize-7XWIAM5D.js} +4 -4
  56. package/dist/{routing-memory-D2GN2JY4.js → routing-memory-YTLUUXXX.js} +2 -2
  57. package/dist/{session-memory-DHLQXKMF.js → session-memory-IHQCJWBK.js} +3 -3
  58. package/dist/{setup-command-N6OSFYCT.js → setup-command-HDI4JUYO.js} +11 -11
  59. package/dist/{setup-config-CSDNRV2F.js → setup-config-UA4M5OQ4.js} +3 -3
  60. package/dist/{setup-custom-api-TATYVC2H.js → setup-custom-api-UXFN75SS.js} +3 -3
  61. package/dist/{tool-memory-IQON2ASW.js → tool-memory-SJ57ZJ5F.js} +5 -5
  62. package/dist/{unified-registry-2PIGHEUG.js → unified-registry-WMJQUA43.js} +9 -9
  63. package/dist/{weather-report-ZX542NQZ.js → weather-report-WSATZR44.js} +2 -2
  64. package/package.json +1 -1
  65. package/dist/chunk-QT3VRHNP.js.map +0 -1
  66. package/dist/factory-36MT53K7.js +0 -21
  67. /package/dist/{child-mcp-config-VBBVY3UC.js.map → child-mcp-config-TQIZEHVP.js.map} +0 -0
  68. /package/dist/{chunk-NONHL3SG.js.map → chunk-47M2C4SO.js.map} +0 -0
  69. /package/dist/{chunk-PI4RZNLE.js.map → chunk-4FFWDTUE.js.map} +0 -0
  70. /package/dist/{chunk-6FSMURPE.js.map → chunk-4IBBMLNR.js.map} +0 -0
  71. /package/dist/{chunk-YEJTDLJ3.js.map → chunk-5QJTUA7Y.js.map} +0 -0
  72. /package/dist/{chunk-BJO43VLI.js.map → chunk-6RXWD3HT.js.map} +0 -0
  73. /package/dist/{chunk-KRBE2EVT.js.map → chunk-C2VEMJAJ.js.map} +0 -0
  74. /package/dist/{chunk-ASASLEPQ.js.map → chunk-EORN73QB.js.map} +0 -0
  75. /package/dist/{chunk-LIHENWIY.js.map → chunk-FJREQSFG.js.map} +0 -0
  76. /package/dist/{chunk-5UM6PJUH.js.map → chunk-GO7JE2MA.js.map} +0 -0
  77. /package/dist/{chunk-4FGJAUDW.js.map → chunk-GZFECWWZ.js.map} +0 -0
  78. /package/dist/{chunk-PMTPSSYV.js.map → chunk-GZTPQMD5.js.map} +0 -0
  79. /package/dist/{chunk-U74PCTO2.js.map → chunk-IASJVOVO.js.map} +0 -0
  80. /package/dist/{chunk-LYE2ZVJT.js.map → chunk-IKWTX7PW.js.map} +0 -0
  81. /package/dist/{chunk-UI6BFGML.js.map → chunk-JAKYPFLI.js.map} +0 -0
  82. /package/dist/{chunk-PPNLALMH.js.map → chunk-JQHZS7GU.js.map} +0 -0
  83. /package/dist/{chunk-IG5XPEOV.js.map → chunk-KYLVH42N.js.map} +0 -0
  84. /package/dist/{chunk-DGLRE36W.js.map → chunk-NKAPCKHN.js.map} +0 -0
  85. /package/dist/{chunk-MQD7Y3MY.js.map → chunk-QJ52FRQX.js.map} +0 -0
  86. /package/dist/{chunk-2WCL6CZZ.js.map → chunk-RAAMLWMY.js.map} +0 -0
  87. /package/dist/{chunk-3FVFOMKF.js.map → chunk-RFXBV3A2.js.map} +0 -0
  88. /package/dist/{chunk-BCTDE4WH.js.map → chunk-SH6JG7GE.js.map} +0 -0
  89. /package/dist/{chunk-WTLYBA3N.js.map → chunk-TP3VZUQL.js.map} +0 -0
  90. /package/dist/{chunk-6Q57ZBDS.js.map → chunk-U3FNIYWH.js.map} +0 -0
  91. /package/dist/{chunk-CAOOOJ2C.js.map → chunk-U7HHO4UI.js.map} +0 -0
  92. /package/dist/{chunk-VLZLWVDU.js.map → chunk-V2E74WBI.js.map} +0 -0
  93. /package/dist/{chunk-TTWJLKRC.js.map → chunk-VLL4L5TK.js.map} +0 -0
  94. /package/dist/{chunk-2YEF55V2.js.map → chunk-XMQ3EC2B.js.map} +0 -0
  95. /package/dist/{chunk-6LRAILEI.js.map → chunk-YVJFUOHY.js.map} +0 -0
  96. /package/dist/{chunk-5K77OIRA.js.map → chunk-ZJPKYTH5.js.map} +0 -0
  97. /package/dist/{cli-circuit-breaker-DMW6E7GD.js.map → cli-circuit-breaker-3CWRA7DZ.js.map} +0 -0
  98. /package/dist/{composite-router-QICBICW4.js.map → composite-router-MN6W5CEQ.js.map} +0 -0
  99. /package/dist/{consensus-vote-QMDIDPJY.js.map → consensus-vote-NXBPAPFW.js.map} +0 -0
  100. /package/dist/{context-retriever-3NDDAF26.js.map → context-retriever-OLWFVOJG.js.map} +0 -0
  101. /package/dist/{doctor-deep-VDYK2ZXQ.js.map → doctor-deep-W3QB24SM.js.map} +0 -0
  102. /package/dist/{expert-bridge-K63WNPCR.js.map → expert-bridge-LAB2W5ET.js.map} +0 -0
  103. /package/dist/{factory-36MT53K7.js.map → factory-7ZKKQDCI.js.map} +0 -0
  104. /package/dist/{factory-IVFZPMNV.js.map → factory-JNLNQ67U.js.map} +0 -0
  105. /package/dist/{improvement-review-PFWAUIB6.js.map → improvement-review-ATYDIHSF.js.map} +0 -0
  106. /package/dist/{init-opencode-DUW6BYSN.js.map → init-opencode-4O2R5S72.js.map} +0 -0
  107. /package/dist/{issue-triage-GH6S3LFF.js.map → issue-triage-G2AKATE4.js.map} +0 -0
  108. /package/dist/{pr-reviewer-helpers-FZEO4PKE.js.map → pr-reviewer-helpers-Y6LEGX2P.js.map} +0 -0
  109. /package/dist/{registry-command-DSZ4VUZL.js.map → registry-command-X6A27TNG.js.map} +0 -0
  110. /package/dist/{repo-security-plan-6R5LLVWU.js.map → repo-security-plan-356NFHOZ.js.map} +0 -0
  111. /package/dist/{research-helpers-synthesize-FYTMFLSG.js.map → research-helpers-synthesize-7XWIAM5D.js.map} +0 -0
  112. /package/dist/{routing-memory-D2GN2JY4.js.map → routing-memory-YTLUUXXX.js.map} +0 -0
  113. /package/dist/{session-memory-DHLQXKMF.js.map → session-memory-IHQCJWBK.js.map} +0 -0
  114. /package/dist/{setup-command-N6OSFYCT.js.map → setup-command-HDI4JUYO.js.map} +0 -0
  115. /package/dist/{setup-config-CSDNRV2F.js.map → setup-config-UA4M5OQ4.js.map} +0 -0
  116. /package/dist/{setup-custom-api-TATYVC2H.js.map → setup-custom-api-UXFN75SS.js.map} +0 -0
  117. /package/dist/{tool-memory-IQON2ASW.js.map → tool-memory-SJ57ZJ5F.js.map} +0 -0
  118. /package/dist/{unified-registry-2PIGHEUG.js.map → unified-registry-WMJQUA43.js.map} +0 -0
  119. /package/dist/{weather-report-ZX542NQZ.js.map → weather-report-WSATZR44.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runConfigInitSync
3
- } from "./chunk-VLZLWVDU.js";
3
+ } from "./chunk-V2E74WBI.js";
4
4
  import {
5
5
  VERSION,
6
6
  checkApiKeys,
@@ -8,13 +8,13 @@ import {
8
8
  checkSqlite,
9
9
  defaultConfig,
10
10
  initDataDirectories
11
- } from "./chunk-LYE2ZVJT.js";
11
+ } from "./chunk-IKWTX7PW.js";
12
12
  import {
13
13
  BUILT_IN_EXPERTS
14
14
  } from "./chunk-ZM4O442V.js";
15
15
  import {
16
16
  probeAllClis
17
- } from "./chunk-ASASLEPQ.js";
17
+ } from "./chunk-EORN73QB.js";
18
18
  import {
19
19
  CLI_SUBPROCESS_TIMEOUTS,
20
20
  colors,
@@ -25,7 +25,7 @@ import {
25
25
  getErrorMessage,
26
26
  getTimeProvider,
27
27
  symbols
28
- } from "./chunk-QT3VRHNP.js";
28
+ } from "./chunk-VBAGMX5I.js";
29
29
  import {
30
30
  ensureGitignored,
31
31
  findRepoRoot
@@ -2000,4 +2000,4 @@ export {
2000
2000
  setupCommand,
2001
2001
  setupCommandAsync
2002
2002
  };
2003
- //# sourceMappingURL=chunk-KRBE2EVT.js.map
2003
+ //# sourceMappingURL=chunk-C2VEMJAJ.js.map
@@ -4,24 +4,24 @@ import {
4
4
  PROVIDER_ENV_KEYS,
5
5
  assertCustomApiHostResolvesPublic,
6
6
  validateCustomApiBaseUrl
7
- } from "./chunk-4FGJAUDW.js";
7
+ } from "./chunk-GZFECWWZ.js";
8
8
  import {
9
9
  AdapterModelError,
10
10
  BaseAdapter,
11
11
  createStream,
12
12
  requireApiKey,
13
13
  validateApiKeyPresence
14
- } from "./chunk-BJO43VLI.js";
14
+ } from "./chunk-6RXWD3HT.js";
15
15
  import {
16
16
  CliCircuitBreaker,
17
17
  DEFAULT_CIRCUIT_BREAKER_CONFIG
18
- } from "./chunk-U74PCTO2.js";
18
+ } from "./chunk-IASJVOVO.js";
19
19
  import {
20
20
  getAvailabilityCache
21
- } from "./chunk-LIHENWIY.js";
21
+ } from "./chunk-FJREQSFG.js";
22
22
  import {
23
23
  generateHyphenId
24
- } from "./chunk-IG5XPEOV.js";
24
+ } from "./chunk-KYLVH42N.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-QT3VRHNP.js";
60
+ } from "./chunk-VBAGMX5I.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-ASASLEPQ.js.map
4841
+ //# sourceMappingURL=chunk-EORN73QB.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-QT3VRHNP.js";
6
+ } from "./chunk-VBAGMX5I.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-LIHENWIY.js.map
153
+ //# sourceMappingURL=chunk-FJREQSFG.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-QT3VRHNP.js";
7
+ } from "./chunk-VBAGMX5I.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-5UM6PJUH.js.map
724
+ //# sourceMappingURL=chunk-GO7JE2MA.js.map
@@ -15,7 +15,7 @@ import {
15
15
  createLogger,
16
16
  err,
17
17
  ok
18
- } from "./chunk-QT3VRHNP.js";
18
+ } from "./chunk-VBAGMX5I.js";
19
19
 
20
20
  // src/adapters/sdk/types.ts
21
21
  var PROVIDER_ENV_KEYS = {
@@ -396,4 +396,4 @@ export {
396
396
  CUSTOM_API_DEFAULT_MODEL,
397
397
  DEFAULTS
398
398
  };
399
- //# sourceMappingURL=chunk-4FGJAUDW.js.map
399
+ //# sourceMappingURL=chunk-GZFECWWZ.js.map
@@ -9,11 +9,11 @@ import {
9
9
  gateWithReputation,
10
10
  resolveReputationGatingMode,
11
11
  sanitizeInput
12
- } from "./chunk-PI4RZNLE.js";
12
+ } from "./chunk-4FFWDTUE.js";
13
13
  import {
14
14
  createLogger,
15
15
  getTimeProvider
16
- } from "./chunk-QT3VRHNP.js";
16
+ } from "./chunk-VBAGMX5I.js";
17
17
 
18
18
  // src/dogfooding/pr-reviewer-helpers.ts
19
19
  import { randomUUID } from "crypto";
@@ -288,4 +288,4 @@ export {
288
288
  formatReviewComment,
289
289
  createFailedReview
290
290
  };
291
- //# sourceMappingURL=chunk-PMTPSSYV.js.map
291
+ //# sourceMappingURL=chunk-GZTPQMD5.js.map
@@ -5,7 +5,7 @@ import {
5
5
  getErrorMessage,
6
6
  getTimeProvider,
7
7
  ok
8
- } from "./chunk-QT3VRHNP.js";
8
+ } from "./chunk-VBAGMX5I.js";
9
9
 
10
10
  // src/cli-adapters/circuit-breaker-types.ts
11
11
  var CircuitErrorCode = {
@@ -372,4 +372,4 @@ export {
372
372
  mapCliErrorToCategory,
373
373
  mapModelErrorToCategory
374
374
  };
375
- //# sourceMappingURL=chunk-U74PCTO2.js.map
375
+ //# sourceMappingURL=chunk-IASJVOVO.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-5UM6PJUH.js";
3
+ } from "./chunk-GO7JE2MA.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-2WCL6CZZ.js";
16
+ } from "./chunk-RAAMLWMY.js";
17
17
  import {
18
18
  JobStatusSchema,
19
19
  collectRealVotes,
@@ -30,24 +30,24 @@ import {
30
30
  runConsensusForGoal,
31
31
  warnIfSimulatedOutsideTests,
32
32
  writeJobCancelled
33
- } from "./chunk-BCTDE4WH.js";
33
+ } from "./chunk-SH6JG7GE.js";
34
34
  import {
35
35
  normalizeTopicToCanonical,
36
36
  synthesizeResearch
37
- } from "./chunk-5K77OIRA.js";
37
+ } from "./chunk-ZJPKYTH5.js";
38
38
  import {
39
39
  IssueTriage,
40
40
  createAuditTrail,
41
41
  createGraphAuditBridge,
42
42
  emitPipelinePolicyEvent
43
- } from "./chunk-3FVFOMKF.js";
43
+ } from "./chunk-RFXBV3A2.js";
44
44
  import {
45
45
  resolveEnvMode,
46
46
  sanitizeInput
47
- } from "./chunk-PI4RZNLE.js";
47
+ } from "./chunk-4FFWDTUE.js";
48
48
  import {
49
49
  withPrerequisite
50
- } from "./chunk-UI6BFGML.js";
50
+ } from "./chunk-JAKYPFLI.js";
51
51
  import {
52
52
  NOOP_NOTIFIER,
53
53
  RateLimiter,
@@ -69,7 +69,7 @@ import {
69
69
  withAccessPolicy,
70
70
  withProgressHeartbeat,
71
71
  wrapToolWithTimeout
72
- } from "./chunk-HFIYXKDQ.js";
72
+ } from "./chunk-BKZ5YD66.js";
73
73
  import {
74
74
  analyzeGitHubRepo
75
75
  } from "./chunk-HFOQKCD2.js";
@@ -100,29 +100,29 @@ import {
100
100
  parseRegistry,
101
101
  sourceExistsInRegistry,
102
102
  summarizeContextForPrompt
103
- } from "./chunk-NONHL3SG.js";
103
+ } from "./chunk-47M2C4SO.js";
104
104
  import {
105
105
  getTokenEnvVars,
106
106
  resolveToken
107
- } from "./chunk-2YEF55V2.js";
107
+ } from "./chunk-XMQ3EC2B.js";
108
108
  import {
109
109
  loadPapersRegistry,
110
110
  loadTechniquesRegistry
111
- } from "./chunk-6Q57ZBDS.js";
111
+ } from "./chunk-U3FNIYWH.js";
112
112
  import {
113
113
  DEFAULT_RELEVANCE_CONFIG,
114
114
  MemoryImportance,
115
115
  calculateTextJaccardSimilarity,
116
116
  getToolMemory
117
- } from "./chunk-PPNLALMH.js";
117
+ } from "./chunk-JQHZS7GU.js";
118
118
  import {
119
119
  createSessionMemory
120
- } from "./chunk-MQD7Y3MY.js";
120
+ } from "./chunk-QJ52FRQX.js";
121
121
  import {
122
122
  DEFAULT_TASK_TTL_MS,
123
123
  DEFAULT_TOOL_RATE_LIMITS,
124
124
  clampTaskTtl
125
- } from "./chunk-LYE2ZVJT.js";
125
+ } from "./chunk-IKWTX7PW.js";
126
126
  import {
127
127
  resolveInsideRoot
128
128
  } from "./chunk-NUBSJGQZ.js";
@@ -144,7 +144,7 @@ import {
144
144
  createEvent,
145
145
  getGlobalEventBus,
146
146
  getGlobalRegistry
147
- } from "./chunk-DGLRE36W.js";
147
+ } from "./chunk-NKAPCKHN.js";
148
148
  import {
149
149
  CliDetectionCache,
150
150
  asRecord,
@@ -152,19 +152,19 @@ import {
152
152
  getAvailableClis,
153
153
  sleep,
154
154
  withTimeout
155
- } from "./chunk-ASASLEPQ.js";
155
+ } from "./chunk-EORN73QB.js";
156
156
  import {
157
157
  DEFAULTS
158
- } from "./chunk-4FGJAUDW.js";
158
+ } from "./chunk-GZFECWWZ.js";
159
159
  import {
160
160
  getAvailabilityCache,
161
161
  getCliForModelId,
162
162
  resolveFallback
163
- } from "./chunk-LIHENWIY.js";
163
+ } from "./chunk-FJREQSFG.js";
164
164
  import {
165
165
  generateHyphenId,
166
166
  generateUUID
167
- } from "./chunk-IG5XPEOV.js";
167
+ } from "./chunk-KYLVH42N.js";
168
168
  import {
169
169
  AGENT_ROUTER_TIMEOUTS,
170
170
  API_TIMEOUTS,
@@ -249,7 +249,7 @@ import {
249
249
  routingArmDisplaySlot,
250
250
  toExpertTaskAnalysisResult,
251
251
  withStep
252
- } from "./chunk-QT3VRHNP.js";
252
+ } from "./chunk-VBAGMX5I.js";
253
253
  import {
254
254
  ensureLearningDir,
255
255
  getMetaOutcomesFile,
@@ -26277,7 +26277,7 @@ function execIdFields(executionId) {
26277
26277
  async function populateUnifiedContextOnState(state, options) {
26278
26278
  const taskCandidate = state["task"];
26279
26279
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
26280
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-3NDDAF26.js");
26280
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-OLWFVOJG.js");
26281
26281
  const category = inferTaskCategory2(taskCandidate);
26282
26282
  const executionId = options?.executionId;
26283
26283
  const execFields = execIdFields(executionId);
@@ -35777,6 +35777,12 @@ function lookupExpert(registry, expertId) {
35777
35777
  }
35778
35778
  return { ok: true, expert };
35779
35779
  }
35780
+ function extractExpertConfidence(output2) {
35781
+ if (typeof output2 !== "object" || output2 === null) return void 0;
35782
+ const c = output2.confidence;
35783
+ if (typeof c !== "number" || !Number.isFinite(c) || c < 0 || c > 1) return void 0;
35784
+ return c;
35785
+ }
35780
35786
  function buildSuccessResponse(params) {
35781
35787
  const outputStr = typeof params.output === "string" ? params.output : JSON.stringify(params.output, null, 2);
35782
35788
  const response = {
@@ -35790,6 +35796,10 @@ function buildSuccessResponse(params) {
35790
35796
  if (params.modelUsed !== void 0) {
35791
35797
  response.modelUsed = params.modelUsed;
35792
35798
  }
35799
+ const confidence = extractExpertConfidence(params.output);
35800
+ if (confidence !== void 0) {
35801
+ response.confidence = confidence;
35802
+ }
35793
35803
  return response;
35794
35804
  }
35795
35805
  function observeExpertContextIfOk(result, expert, task, durationMs, logger57) {
@@ -36117,7 +36127,7 @@ function registerExecuteExpertTool(server, deps) {
36117
36127
  const logger57 = deps.logger ?? createLogger({ tool: "execute_expert" });
36118
36128
  const notifier = deps.notifier ?? createMcpNotifier(server);
36119
36129
  const depsWithNotifier = { ...deps, notifier };
36120
- const description = "Run a task through an expert YOU PREVIOUSLY CREATED via `create_expert`. Requires the expertId returned by create_expert; not for ad-hoc execution. Returns the expert analysis including output, status, model used, and token usage.";
36130
+ const description = "Run a task through an expert YOU PREVIOUSLY CREATED via `create_expert`. Requires the expertId returned by create_expert; not for ad-hoc execution. Returns the expert analysis including output, status, model used, token usage, and the expert's confidence (0-1) when it reports one.";
36121
36131
  server.experimental.tasks.registerToolTask(
36122
36132
  "execute_expert",
36123
36133
  {
@@ -41130,7 +41140,7 @@ async function tryIssueTriage(task) {
41130
41140
  try {
41131
41141
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
41132
41142
  if (issueMatch === null) return null;
41133
- const { createIssueTriage } = await import("./issue-triage-GH6S3LFF.js");
41143
+ const { createIssueTriage } = await import("./issue-triage-G2AKATE4.js");
41134
41144
  const triage = createIssueTriage();
41135
41145
  const owner = issueMatch[1] ?? "";
41136
41146
  const num = issueMatch[2] ?? "";
@@ -41158,7 +41168,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
41158
41168
  ]);
41159
41169
  async function classifyWithLLM(task) {
41160
41170
  try {
41161
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-K63WNPCR.js");
41171
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-LAB2W5ET.js");
41162
41172
  const prompt = [
41163
41173
  "Classify this task into exactly one pipeline template.",
41164
41174
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -42920,7 +42930,7 @@ var memoryInitPromise = null;
42920
42930
  async function initPipelineMemory() {
42921
42931
  if (cachedMemory !== null) return cachedMemory;
42922
42932
  try {
42923
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-DHLQXKMF.js");
42933
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-IHQCJWBK.js");
42924
42934
  const { getLearningDir } = await import("./learning-persistence-C737Q6EP.js");
42925
42935
  const mem = createSessionMemory2(getLearningDir());
42926
42936
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -42977,7 +42987,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0)
42977
42987
  callRecord(routingMemoryCache);
42978
42988
  return;
42979
42989
  }
42980
- routingMemoryInitPromise ??= import("./routing-memory-D2GN2JY4.js").then(({ createRoutingMemory }) => {
42990
+ routingMemoryInitPromise ??= import("./routing-memory-YTLUUXXX.js").then(({ createRoutingMemory }) => {
42981
42991
  routingMemoryCache ??= createRoutingMemory();
42982
42992
  return routingMemoryCache;
42983
42993
  }).catch((error) => {
@@ -43011,7 +43021,7 @@ ${text}` : "";
43011
43021
  }
43012
43022
  async function getWeatherContext() {
43013
43023
  try {
43014
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-ZX542NQZ.js");
43024
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-WSATZR44.js");
43015
43025
  const report = generateWeatherReport2({ includeAdaptive: true });
43016
43026
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
43017
43027
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -43029,7 +43039,7 @@ ${lines}
43029
43039
  }
43030
43040
  async function getMemoryContext(task) {
43031
43041
  try {
43032
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-DHLQXKMF.js");
43042
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-IHQCJWBK.js");
43033
43043
  const { getLearningDir } = await import("./learning-persistence-C737Q6EP.js");
43034
43044
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
43035
43045
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -43140,7 +43150,7 @@ ${contextBlock}`;
43140
43150
  const strategy = config.votingStrategy ?? "higher_order";
43141
43151
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
43142
43152
  try {
43143
- const { executeVoting } = await import("./consensus-vote-QMDIDPJY.js");
43153
+ const { executeVoting } = await import("./consensus-vote-NXBPAPFW.js");
43144
43154
  const votingResult = await executeVoting(
43145
43155
  {
43146
43156
  proposal: buildVoteProposal(plan, research),
@@ -43571,7 +43581,7 @@ async function searchCodebaseForTask(task) {
43571
43581
  }
43572
43582
  async function queryResearchRegistry(task) {
43573
43583
  try {
43574
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-FYTMFLSG.js");
43584
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-7XWIAM5D.js");
43575
43585
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
43576
43586
  if (topic === void 0) return null;
43577
43587
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -43642,7 +43652,7 @@ function createScanStageWrapper() {
43642
43652
  try {
43643
43653
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
43644
43654
  if (slug !== void 0) {
43645
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-6R5LLVWU.js");
43655
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-356NFHOZ.js");
43646
43656
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
43647
43657
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
43648
43658
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -45688,7 +45698,7 @@ var GitHubTaskTracker = class {
45688
45698
  cachedProvider = null;
45689
45699
  async getProvider() {
45690
45700
  if (this.cachedProvider !== null) return this.cachedProvider;
45691
- const { createScmProvider } = await import("./factory-IVFZPMNV.js");
45701
+ const { createScmProvider } = await import("./factory-7ZKKQDCI.js");
45692
45702
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
45693
45703
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
45694
45704
  this.cachedProvider = result.value;
@@ -46460,7 +46470,7 @@ async function probeSource(source, includeModelIds) {
46460
46470
  }
46461
46471
  }
46462
46472
  async function defaultSources(includeOpenRouter) {
46463
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-36MT53K7.js");
46473
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-JNLNQ67U.js");
46464
46474
  const adapters = createAllAdapters2();
46465
46475
  return buildDefaultModelSources(adapters, { includeOpenRouter });
46466
46476
  }
@@ -46887,7 +46897,9 @@ function wrapWithObservability(toolName, cb, eventBus) {
46887
46897
  }
46888
46898
 
46889
46899
  // src/mcp/tools/index.ts
46890
- var REGISTERED_TOOL_NAMES = TOOL_MANIFEST;
46900
+ var REGISTERED_TOOL_NAMES = TOOL_MANIFEST.map(
46901
+ (t) => t.name
46902
+ );
46891
46903
  function registerTools(server, options) {
46892
46904
  const logger57 = options?.logger ?? createMcpLogger({ component: "tools" });
46893
46905
  const rateLimiter = options?.rateLimiter ?? createDefaultRateLimiter("mcp-tools", logger57);
@@ -50477,4 +50489,4 @@ export {
50477
50489
  shutdownFeedbackSubscriber,
50478
50490
  createEventBusBridge
50479
50491
  };
50480
- //# sourceMappingURL=chunk-XVWN7BIV.js.map
50492
+ //# sourceMappingURL=chunk-IFJQPEOV.js.map