nexus-agents 2.125.39 → 2.125.41

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 (118) hide show
  1. package/dist/{child-mcp-config-UE7XDCSM.js → child-mcp-config-VBBVY3UC.js} +2 -2
  2. package/dist/{chunk-SX5MN5NZ.js → chunk-2WCL6CZZ.js} +7 -7
  3. package/dist/{chunk-SQEK24L2.js → chunk-2YEF55V2.js} +2 -2
  4. package/dist/{chunk-MWLZ2QRR.js → chunk-323AIMTE.js} +7 -7
  5. package/dist/{chunk-OGWZ2U6S.js → chunk-3FVFOMKF.js} +4 -4
  6. package/dist/{chunk-SVRZCP4Z.js → chunk-4FGJAUDW.js} +2 -2
  7. package/dist/{chunk-GPP7NUW7.js → chunk-5K77OIRA.js} +3 -3
  8. package/dist/{chunk-6WOE454N.js → chunk-5UM6PJUH.js} +2 -2
  9. package/dist/{chunk-OA23LZHC.js → chunk-6FSMURPE.js} +4 -4
  10. package/dist/{chunk-QI6TR5Z2.js → chunk-6KQI4SJT.js} +43 -35
  11. package/dist/{chunk-QI6TR5Z2.js.map → chunk-6KQI4SJT.js.map} +1 -1
  12. package/dist/{chunk-UYEQT227.js → chunk-6LRAILEI.js} +3 -3
  13. package/dist/{chunk-WFBMP2KU.js → chunk-6Q57ZBDS.js} +2 -2
  14. package/dist/{chunk-EVACKK4H.js → chunk-ASASLEPQ.js} +7 -7
  15. package/dist/{chunk-PE2CEWSV.js → chunk-BCTDE4WH.js} +7 -7
  16. package/dist/{chunk-3PMSAUMK.js → chunk-BJO43VLI.js} +2 -2
  17. package/dist/{chunk-IY4MERGY.js → chunk-CAOOOJ2C.js} +2 -2
  18. package/dist/{chunk-JQSKFJR2.js → chunk-DGLRE36W.js} +4 -4
  19. package/dist/{chunk-7FMTUONH.js → chunk-GWUMFIQP.js} +3 -3
  20. package/dist/{chunk-7FMTUONH.js.map → chunk-GWUMFIQP.js.map} +1 -1
  21. package/dist/{chunk-44XZ2HNA.js → chunk-HFIYXKDQ.js} +2 -2
  22. package/dist/{chunk-ZIHWMNPJ.js → chunk-IG5XPEOV.js} +2 -2
  23. package/dist/{chunk-DNDNPYQH.js → chunk-LIHENWIY.js} +2 -2
  24. package/dist/{chunk-K7RTUYVI.js → chunk-MQD7Y3MY.js} +2 -2
  25. package/dist/{chunk-IWSM3DWQ.js → chunk-NONHL3SG.js} +5 -5
  26. package/dist/{chunk-UDWGHWRD.js → chunk-PI4RZNLE.js} +2 -2
  27. package/dist/{chunk-Z2AUPAZG.js → chunk-PMTPSSYV.js} +3 -3
  28. package/dist/{chunk-WIESOZJC.js → chunk-PPNLALMH.js} +4 -4
  29. package/dist/{chunk-ZTYGG4ES.js → chunk-QT3VRHNP.js} +3 -3
  30. package/dist/chunk-QT3VRHNP.js.map +1 -0
  31. package/dist/{chunk-WHIVC24R.js → chunk-TTWJLKRC.js} +2 -2
  32. package/dist/{chunk-J646HAYB.js → chunk-U74PCTO2.js} +2 -2
  33. package/dist/{chunk-IY53KVRS.js → chunk-UDIJ4XFZ.js} +5 -5
  34. package/dist/{chunk-64Y2HGC2.js → chunk-VLZLWVDU.js} +2 -2
  35. package/dist/{chunk-3K24ZTJV.js → chunk-WTLYBA3N.js} +3 -3
  36. package/dist/{chunk-INOPFUAK.js → chunk-YEJTDLJ3.js} +3 -3
  37. package/dist/{cli-circuit-breaker-FJ4H7HFK.js → cli-circuit-breaker-DMW6E7GD.js} +4 -4
  38. package/dist/cli.js +39 -39
  39. package/dist/cli.js.map +1 -1
  40. package/dist/{composite-router-HWVGDMQ7.js → composite-router-QICBICW4.js} +2 -2
  41. package/dist/{consensus-vote-ERXJD63Q.js → consensus-vote-QMDIDPJY.js} +13 -13
  42. package/dist/{context-retriever-VMBODLUB.js → context-retriever-3NDDAF26.js} +8 -8
  43. package/dist/{doctor-deep-O74SW7GH.js → doctor-deep-VDYK2ZXQ.js} +3 -3
  44. package/dist/{expert-bridge-LXWIDBYX.js → expert-bridge-K63WNPCR.js} +4 -4
  45. package/dist/factory-36MT53K7.js +21 -0
  46. package/dist/{factory-VDSQB5LL.js → factory-IVFZPMNV.js} +5 -5
  47. package/dist/{improvement-review-XFIZBQ7I.js → improvement-review-EQPHDV74.js} +4 -4
  48. package/dist/index.js +28 -28
  49. package/dist/{init-opencode-27GOTVDF.js → init-opencode-DUW6BYSN.js} +5 -5
  50. package/dist/{issue-triage-4HTSVLIP.js → issue-triage-GH6S3LFF.js} +5 -5
  51. package/dist/{pr-reviewer-helpers-BJVRCXFH.js → pr-reviewer-helpers-FZEO4PKE.js} +4 -4
  52. package/dist/{registry-command-KKGGQ5CK.js → registry-command-DSZ4VUZL.js} +2 -2
  53. package/dist/{repo-security-plan-JNH6ZAX2.js → repo-security-plan-6R5LLVWU.js} +3 -3
  54. package/dist/{research-helpers-synthesize-OAIZNEHS.js → research-helpers-synthesize-FYTMFLSG.js} +4 -4
  55. package/dist/{routing-memory-DPOKLIAF.js → routing-memory-D2GN2JY4.js} +2 -2
  56. package/dist/{session-memory-KG6XT23Z.js → session-memory-DHLQXKMF.js} +3 -3
  57. package/dist/{setup-command-GT2DVOXY.js → setup-command-U7RCPXX2.js} +11 -11
  58. package/dist/{setup-config-ZZEKKVW6.js → setup-config-CSDNRV2F.js} +3 -3
  59. package/dist/{setup-custom-api-PUAFTVW7.js → setup-custom-api-TATYVC2H.js} +3 -3
  60. package/dist/{tool-memory-LRUED473.js → tool-memory-IQON2ASW.js} +5 -5
  61. package/dist/{unified-registry-QEIYJU7U.js → unified-registry-2PIGHEUG.js} +9 -9
  62. package/dist/{weather-report-JA5ONXGR.js → weather-report-ZX542NQZ.js} +2 -2
  63. package/package.json +1 -1
  64. package/dist/chunk-ZTYGG4ES.js.map +0 -1
  65. package/dist/factory-4HQDN776.js +0 -21
  66. /package/dist/{child-mcp-config-UE7XDCSM.js.map → child-mcp-config-VBBVY3UC.js.map} +0 -0
  67. /package/dist/{chunk-SX5MN5NZ.js.map → chunk-2WCL6CZZ.js.map} +0 -0
  68. /package/dist/{chunk-SQEK24L2.js.map → chunk-2YEF55V2.js.map} +0 -0
  69. /package/dist/{chunk-MWLZ2QRR.js.map → chunk-323AIMTE.js.map} +0 -0
  70. /package/dist/{chunk-OGWZ2U6S.js.map → chunk-3FVFOMKF.js.map} +0 -0
  71. /package/dist/{chunk-SVRZCP4Z.js.map → chunk-4FGJAUDW.js.map} +0 -0
  72. /package/dist/{chunk-GPP7NUW7.js.map → chunk-5K77OIRA.js.map} +0 -0
  73. /package/dist/{chunk-6WOE454N.js.map → chunk-5UM6PJUH.js.map} +0 -0
  74. /package/dist/{chunk-OA23LZHC.js.map → chunk-6FSMURPE.js.map} +0 -0
  75. /package/dist/{chunk-UYEQT227.js.map → chunk-6LRAILEI.js.map} +0 -0
  76. /package/dist/{chunk-WFBMP2KU.js.map → chunk-6Q57ZBDS.js.map} +0 -0
  77. /package/dist/{chunk-EVACKK4H.js.map → chunk-ASASLEPQ.js.map} +0 -0
  78. /package/dist/{chunk-PE2CEWSV.js.map → chunk-BCTDE4WH.js.map} +0 -0
  79. /package/dist/{chunk-3PMSAUMK.js.map → chunk-BJO43VLI.js.map} +0 -0
  80. /package/dist/{chunk-IY4MERGY.js.map → chunk-CAOOOJ2C.js.map} +0 -0
  81. /package/dist/{chunk-JQSKFJR2.js.map → chunk-DGLRE36W.js.map} +0 -0
  82. /package/dist/{chunk-44XZ2HNA.js.map → chunk-HFIYXKDQ.js.map} +0 -0
  83. /package/dist/{chunk-ZIHWMNPJ.js.map → chunk-IG5XPEOV.js.map} +0 -0
  84. /package/dist/{chunk-DNDNPYQH.js.map → chunk-LIHENWIY.js.map} +0 -0
  85. /package/dist/{chunk-K7RTUYVI.js.map → chunk-MQD7Y3MY.js.map} +0 -0
  86. /package/dist/{chunk-IWSM3DWQ.js.map → chunk-NONHL3SG.js.map} +0 -0
  87. /package/dist/{chunk-UDWGHWRD.js.map → chunk-PI4RZNLE.js.map} +0 -0
  88. /package/dist/{chunk-Z2AUPAZG.js.map → chunk-PMTPSSYV.js.map} +0 -0
  89. /package/dist/{chunk-WIESOZJC.js.map → chunk-PPNLALMH.js.map} +0 -0
  90. /package/dist/{chunk-WHIVC24R.js.map → chunk-TTWJLKRC.js.map} +0 -0
  91. /package/dist/{chunk-J646HAYB.js.map → chunk-U74PCTO2.js.map} +0 -0
  92. /package/dist/{chunk-IY53KVRS.js.map → chunk-UDIJ4XFZ.js.map} +0 -0
  93. /package/dist/{chunk-64Y2HGC2.js.map → chunk-VLZLWVDU.js.map} +0 -0
  94. /package/dist/{chunk-3K24ZTJV.js.map → chunk-WTLYBA3N.js.map} +0 -0
  95. /package/dist/{chunk-INOPFUAK.js.map → chunk-YEJTDLJ3.js.map} +0 -0
  96. /package/dist/{cli-circuit-breaker-FJ4H7HFK.js.map → cli-circuit-breaker-DMW6E7GD.js.map} +0 -0
  97. /package/dist/{composite-router-HWVGDMQ7.js.map → composite-router-QICBICW4.js.map} +0 -0
  98. /package/dist/{consensus-vote-ERXJD63Q.js.map → consensus-vote-QMDIDPJY.js.map} +0 -0
  99. /package/dist/{context-retriever-VMBODLUB.js.map → context-retriever-3NDDAF26.js.map} +0 -0
  100. /package/dist/{doctor-deep-O74SW7GH.js.map → doctor-deep-VDYK2ZXQ.js.map} +0 -0
  101. /package/dist/{expert-bridge-LXWIDBYX.js.map → expert-bridge-K63WNPCR.js.map} +0 -0
  102. /package/dist/{factory-4HQDN776.js.map → factory-36MT53K7.js.map} +0 -0
  103. /package/dist/{factory-VDSQB5LL.js.map → factory-IVFZPMNV.js.map} +0 -0
  104. /package/dist/{improvement-review-XFIZBQ7I.js.map → improvement-review-EQPHDV74.js.map} +0 -0
  105. /package/dist/{init-opencode-27GOTVDF.js.map → init-opencode-DUW6BYSN.js.map} +0 -0
  106. /package/dist/{issue-triage-4HTSVLIP.js.map → issue-triage-GH6S3LFF.js.map} +0 -0
  107. /package/dist/{pr-reviewer-helpers-BJVRCXFH.js.map → pr-reviewer-helpers-FZEO4PKE.js.map} +0 -0
  108. /package/dist/{registry-command-KKGGQ5CK.js.map → registry-command-DSZ4VUZL.js.map} +0 -0
  109. /package/dist/{repo-security-plan-JNH6ZAX2.js.map → repo-security-plan-6R5LLVWU.js.map} +0 -0
  110. /package/dist/{research-helpers-synthesize-OAIZNEHS.js.map → research-helpers-synthesize-FYTMFLSG.js.map} +0 -0
  111. /package/dist/{routing-memory-DPOKLIAF.js.map → routing-memory-D2GN2JY4.js.map} +0 -0
  112. /package/dist/{session-memory-KG6XT23Z.js.map → session-memory-DHLQXKMF.js.map} +0 -0
  113. /package/dist/{setup-command-GT2DVOXY.js.map → setup-command-U7RCPXX2.js.map} +0 -0
  114. /package/dist/{setup-config-ZZEKKVW6.js.map → setup-config-CSDNRV2F.js.map} +0 -0
  115. /package/dist/{setup-custom-api-PUAFTVW7.js.map → setup-custom-api-TATYVC2H.js.map} +0 -0
  116. /package/dist/{tool-memory-LRUED473.js.map → tool-memory-IQON2ASW.js.map} +0 -0
  117. /package/dist/{unified-registry-QEIYJU7U.js.map → unified-registry-2PIGHEUG.js.map} +0 -0
  118. /package/dist/{weather-report-JA5ONXGR.js.map → weather-report-ZX542NQZ.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLogger
3
- } from "./chunk-ZTYGG4ES.js";
3
+ } from "./chunk-QT3VRHNP.js";
4
4
  import "./chunk-ZGLIHPGJ.js";
5
5
  import "./chunk-PR4QN5HX.js";
6
6
 
@@ -59,4 +59,4 @@ export {
59
59
  generateMcpConfig,
60
60
  getDefaultAllowedTools
61
61
  };
62
- //# sourceMappingURL=child-mcp-config-UE7XDCSM.js.map
62
+ //# sourceMappingURL=child-mcp-config-VBBVY3UC.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-DNDNPYQH.js";
3
+ } from "./chunk-LIHENWIY.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-ZTYGG4ES.js";
8
+ } from "./chunk-QT3VRHNP.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-UE7XDCSM.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-VBBVY3UC.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-4HQDN776.js");
97
- const { createCompositeRouter } = await import("./composite-router-HWVGDMQ7.js");
96
+ const { createAllAdapters } = await import("./factory-36MT53K7.js");
97
+ const { createCompositeRouter } = await import("./composite-router-QICBICW4.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-FJ4H7HFK.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-DMW6E7GD.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-SX5MN5NZ.js.map
216
+ //# sourceMappingURL=chunk-2WCL6CZZ.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-ZTYGG4ES.js";
5
+ } from "./chunk-QT3VRHNP.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-SQEK24L2.js.map
90
+ //# sourceMappingURL=chunk-2YEF55V2.js.map
@@ -7,10 +7,10 @@ import {
7
7
  import {
8
8
  createAllAdapters,
9
9
  probeCli
10
- } from "./chunk-EVACKK4H.js";
10
+ } from "./chunk-ASASLEPQ.js";
11
11
  import {
12
12
  DEFAULTS
13
- } from "./chunk-SVRZCP4Z.js";
13
+ } from "./chunk-4FGJAUDW.js";
14
14
  import {
15
15
  CliNameSchema,
16
16
  DEFAULT_CAPABILITIES,
@@ -26,7 +26,7 @@ import {
26
26
  ok,
27
27
  symbols,
28
28
  writeLine
29
- } from "./chunk-ZTYGG4ES.js";
29
+ } from "./chunk-QT3VRHNP.js";
30
30
  import {
31
31
  detectSandbox,
32
32
  getLearningDir,
@@ -40,7 +40,7 @@ import {
40
40
  } from "./chunk-ZGLIHPGJ.js";
41
41
 
42
42
  // src/version.ts
43
- var VERSION = true ? "2.125.39" : "dev";
43
+ var VERSION = true ? "2.125.41" : "dev";
44
44
 
45
45
  // src/config/schemas-core.ts
46
46
  import { z } from "zod";
@@ -2121,7 +2121,7 @@ async function runDoctorFix(result) {
2121
2121
  writeLine2("\u2500".repeat(40));
2122
2122
  let fixCount = 0;
2123
2123
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2124
- const { runSetup } = await import("./setup-command-GT2DVOXY.js");
2124
+ const { runSetup } = await import("./setup-command-U7RCPXX2.js");
2125
2125
  const setupResult = runSetup({
2126
2126
  skipMcp: true,
2127
2127
  skipRules: true,
@@ -2135,7 +2135,7 @@ async function runDoctorFix(result) {
2135
2135
  }
2136
2136
  }
2137
2137
  if (!result.configFile.found) {
2138
- const { runConfigInitSync } = await import("./setup-config-ZZEKKVW6.js");
2138
+ const { runConfigInitSync } = await import("./setup-config-CSDNRV2F.js");
2139
2139
  const configResult = runConfigInitSync(process.cwd(), false, false);
2140
2140
  if (configResult.success && configResult.created) {
2141
2141
  writeLine2(`\u2713 Generated config: ${configResult.path}`);
@@ -2233,4 +2233,4 @@ export {
2233
2233
  startStdioServer,
2234
2234
  closeServer
2235
2235
  };
2236
- //# sourceMappingURL=chunk-MWLZ2QRR.js.map
2236
+ //# sourceMappingURL=chunk-323AIMTE.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-IY4MERGY.js";
4
+ } from "./chunk-CAOOOJ2C.js";
5
5
  import {
6
6
  ROLE_DEFAULT_TRUST,
7
7
  ReputationCache,
@@ -11,14 +11,14 @@ import {
11
11
  gateWithReputation,
12
12
  resolveReputationGatingMode,
13
13
  sanitizeInput
14
- } from "./chunk-UDWGHWRD.js";
14
+ } from "./chunk-PI4RZNLE.js";
15
15
  import {
16
16
  CLI_SUBPROCESS_TIMEOUTS,
17
17
  createLogger,
18
18
  err,
19
19
  getTimeProvider,
20
20
  ok
21
- } from "./chunk-ZTYGG4ES.js";
21
+ } from "./chunk-QT3VRHNP.js";
22
22
 
23
23
  // src/security/trust-classifier.ts
24
24
  function mapAuthorAssociation(association) {
@@ -1399,4 +1399,4 @@ export {
1399
1399
  IssueTriage,
1400
1400
  createIssueTriage
1401
1401
  };
1402
- //# sourceMappingURL=chunk-OGWZ2U6S.js.map
1402
+ //# sourceMappingURL=chunk-3FVFOMKF.js.map
@@ -15,7 +15,7 @@ import {
15
15
  createLogger,
16
16
  err,
17
17
  ok
18
- } from "./chunk-ZTYGG4ES.js";
18
+ } from "./chunk-QT3VRHNP.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-SVRZCP4Z.js.map
399
+ //# sourceMappingURL=chunk-4FGJAUDW.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-WFBMP2KU.js";
3
+ } from "./chunk-6Q57ZBDS.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-ZTYGG4ES.js";
6
+ } from "./chunk-QT3VRHNP.js";
7
7
 
8
8
  // src/cli/research-helpers-synthesize.ts
9
9
  import { z } from "zod";
@@ -876,4 +876,4 @@ export {
876
876
  AttributedInsightSchema,
877
877
  synthesizeResearch
878
878
  };
879
- //# sourceMappingURL=chunk-GPP7NUW7.js.map
879
+ //# sourceMappingURL=chunk-5K77OIRA.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-ZTYGG4ES.js";
7
+ } from "./chunk-QT3VRHNP.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-6WOE454N.js.map
724
+ //# sourceMappingURL=chunk-5UM6PJUH.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-IY4MERGY.js";
4
+ } from "./chunk-CAOOOJ2C.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-SQEK24L2.js";
7
+ } from "./chunk-2YEF55V2.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-ZTYGG4ES.js";
11
+ } from "./chunk-QT3VRHNP.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-OA23LZHC.js.map
44
+ //# sourceMappingURL=chunk-6FSMURPE.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-6WOE454N.js";
3
+ } from "./chunk-5UM6PJUH.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-SX5MN5NZ.js";
16
+ } from "./chunk-2WCL6CZZ.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-PE2CEWSV.js";
33
+ } from "./chunk-BCTDE4WH.js";
34
34
  import {
35
35
  normalizeTopicToCanonical,
36
36
  synthesizeResearch
37
- } from "./chunk-GPP7NUW7.js";
37
+ } from "./chunk-5K77OIRA.js";
38
38
  import {
39
39
  IssueTriage,
40
40
  createAuditTrail,
41
41
  createGraphAuditBridge,
42
42
  emitPipelinePolicyEvent
43
- } from "./chunk-OGWZ2U6S.js";
43
+ } from "./chunk-3FVFOMKF.js";
44
44
  import {
45
45
  resolveEnvMode,
46
46
  sanitizeInput
47
- } from "./chunk-UDWGHWRD.js";
47
+ } from "./chunk-PI4RZNLE.js";
48
48
  import {
49
49
  withPrerequisite
50
- } from "./chunk-7FMTUONH.js";
50
+ } from "./chunk-GWUMFIQP.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-44XZ2HNA.js";
72
+ } from "./chunk-HFIYXKDQ.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-IWSM3DWQ.js";
103
+ } from "./chunk-NONHL3SG.js";
104
104
  import {
105
105
  getTokenEnvVars,
106
106
  resolveToken
107
- } from "./chunk-SQEK24L2.js";
107
+ } from "./chunk-2YEF55V2.js";
108
108
  import {
109
109
  loadPapersRegistry,
110
110
  loadTechniquesRegistry
111
- } from "./chunk-WFBMP2KU.js";
111
+ } from "./chunk-6Q57ZBDS.js";
112
112
  import {
113
113
  DEFAULT_RELEVANCE_CONFIG,
114
114
  MemoryImportance,
115
115
  calculateTextJaccardSimilarity,
116
116
  getToolMemory
117
- } from "./chunk-WIESOZJC.js";
117
+ } from "./chunk-PPNLALMH.js";
118
118
  import {
119
119
  createSessionMemory
120
- } from "./chunk-K7RTUYVI.js";
120
+ } from "./chunk-MQD7Y3MY.js";
121
121
  import {
122
122
  DEFAULT_TASK_TTL_MS,
123
123
  DEFAULT_TOOL_RATE_LIMITS,
124
124
  clampTaskTtl
125
- } from "./chunk-MWLZ2QRR.js";
125
+ } from "./chunk-323AIMTE.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-JQSKFJR2.js";
147
+ } from "./chunk-DGLRE36W.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-EVACKK4H.js";
155
+ } from "./chunk-ASASLEPQ.js";
156
156
  import {
157
157
  DEFAULTS
158
- } from "./chunk-SVRZCP4Z.js";
158
+ } from "./chunk-4FGJAUDW.js";
159
159
  import {
160
160
  getAvailabilityCache,
161
161
  getCliForModelId,
162
162
  resolveFallback
163
- } from "./chunk-DNDNPYQH.js";
163
+ } from "./chunk-LIHENWIY.js";
164
164
  import {
165
165
  generateHyphenId,
166
166
  generateUUID
167
- } from "./chunk-ZIHWMNPJ.js";
167
+ } from "./chunk-IG5XPEOV.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-ZTYGG4ES.js";
252
+ } from "./chunk-QT3VRHNP.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-VMBODLUB.js");
26280
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-3NDDAF26.js");
26281
26281
  const category = inferTaskCategory2(taskCandidate);
26282
26282
  const executionId = options?.executionId;
26283
26283
  const execFields = execIdFields(executionId);
@@ -39604,8 +39604,11 @@ import { z as z82 } from "zod";
39604
39604
  var logger31 = createLogger({ component: "task-state-source" });
39605
39605
  var TOOL_NAME_BY_PREFIX = {
39606
39606
  orch: "orchestrate",
39607
- rwf: "run_workflow",
39608
- cv: "consensus_vote",
39607
+ // run_workflow mints `job-rw-<uuid>`; consensus_vote mints `job-vote-<uuid>`.
39608
+ // Both share the `job` first segment, so they are keyed (and matched) on the
39609
+ // two-segment prefix to stay distinct.
39610
+ "job-rw": "run_workflow",
39611
+ "job-vote": "consensus_vote",
39609
39612
  // #3726: run_dev_pipeline async jobs mint `dp-<uuid>` ids (or reuse the
39610
39613
  // caller's sessionId — which has no fixed prefix, so the dual-read reader
39611
39614
  // resolves those from the sidecar via toolName recorded at writeJobPending).
@@ -39624,6 +39627,11 @@ var TOOL_NAME_BY_PREFIX = {
39624
39627
  rn: "run"
39625
39628
  };
39626
39629
  function toolNameFromJobId(jobId) {
39630
+ const [first, second] = jobId.split("-");
39631
+ if (first !== void 0 && second !== void 0) {
39632
+ const byTwo = TOOL_NAME_BY_PREFIX[`${first}-${second}`];
39633
+ if (byTwo !== void 0) return byTwo;
39634
+ }
39627
39635
  const dash = jobId.indexOf("-");
39628
39636
  const prefix = dash === -1 ? jobId : jobId.slice(0, dash);
39629
39637
  return TOOL_NAME_BY_PREFIX[prefix] ?? "unknown";
@@ -41122,7 +41130,7 @@ async function tryIssueTriage(task) {
41122
41130
  try {
41123
41131
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
41124
41132
  if (issueMatch === null) return null;
41125
- const { createIssueTriage } = await import("./issue-triage-4HTSVLIP.js");
41133
+ const { createIssueTriage } = await import("./issue-triage-GH6S3LFF.js");
41126
41134
  const triage = createIssueTriage();
41127
41135
  const owner = issueMatch[1] ?? "";
41128
41136
  const num = issueMatch[2] ?? "";
@@ -41150,7 +41158,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
41150
41158
  ]);
41151
41159
  async function classifyWithLLM(task) {
41152
41160
  try {
41153
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-LXWIDBYX.js");
41161
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-K63WNPCR.js");
41154
41162
  const prompt = [
41155
41163
  "Classify this task into exactly one pipeline template.",
41156
41164
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -42912,7 +42920,7 @@ var memoryInitPromise = null;
42912
42920
  async function initPipelineMemory() {
42913
42921
  if (cachedMemory !== null) return cachedMemory;
42914
42922
  try {
42915
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-KG6XT23Z.js");
42923
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-DHLQXKMF.js");
42916
42924
  const { getLearningDir } = await import("./learning-persistence-C737Q6EP.js");
42917
42925
  const mem = createSessionMemory2(getLearningDir());
42918
42926
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -42969,7 +42977,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0)
42969
42977
  callRecord(routingMemoryCache);
42970
42978
  return;
42971
42979
  }
42972
- routingMemoryInitPromise ??= import("./routing-memory-DPOKLIAF.js").then(({ createRoutingMemory }) => {
42980
+ routingMemoryInitPromise ??= import("./routing-memory-D2GN2JY4.js").then(({ createRoutingMemory }) => {
42973
42981
  routingMemoryCache ??= createRoutingMemory();
42974
42982
  return routingMemoryCache;
42975
42983
  }).catch((error) => {
@@ -43003,7 +43011,7 @@ ${text}` : "";
43003
43011
  }
43004
43012
  async function getWeatherContext() {
43005
43013
  try {
43006
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-JA5ONXGR.js");
43014
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-ZX542NQZ.js");
43007
43015
  const report = generateWeatherReport2({ includeAdaptive: true });
43008
43016
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
43009
43017
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -43021,7 +43029,7 @@ ${lines}
43021
43029
  }
43022
43030
  async function getMemoryContext(task) {
43023
43031
  try {
43024
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-KG6XT23Z.js");
43032
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-DHLQXKMF.js");
43025
43033
  const { getLearningDir } = await import("./learning-persistence-C737Q6EP.js");
43026
43034
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
43027
43035
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -43132,7 +43140,7 @@ ${contextBlock}`;
43132
43140
  const strategy = config.votingStrategy ?? "higher_order";
43133
43141
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
43134
43142
  try {
43135
- const { executeVoting } = await import("./consensus-vote-ERXJD63Q.js");
43143
+ const { executeVoting } = await import("./consensus-vote-QMDIDPJY.js");
43136
43144
  const votingResult = await executeVoting(
43137
43145
  {
43138
43146
  proposal: buildVoteProposal(plan, research),
@@ -43563,7 +43571,7 @@ async function searchCodebaseForTask(task) {
43563
43571
  }
43564
43572
  async function queryResearchRegistry(task) {
43565
43573
  try {
43566
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-OAIZNEHS.js");
43574
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-FYTMFLSG.js");
43567
43575
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
43568
43576
  if (topic === void 0) return null;
43569
43577
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -43634,7 +43642,7 @@ function createScanStageWrapper() {
43634
43642
  try {
43635
43643
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
43636
43644
  if (slug !== void 0) {
43637
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-JNH6ZAX2.js");
43645
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-6R5LLVWU.js");
43638
43646
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
43639
43647
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
43640
43648
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -45680,7 +45688,7 @@ var GitHubTaskTracker = class {
45680
45688
  cachedProvider = null;
45681
45689
  async getProvider() {
45682
45690
  if (this.cachedProvider !== null) return this.cachedProvider;
45683
- const { createScmProvider } = await import("./factory-VDSQB5LL.js");
45691
+ const { createScmProvider } = await import("./factory-IVFZPMNV.js");
45684
45692
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
45685
45693
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
45686
45694
  this.cachedProvider = result.value;
@@ -46452,7 +46460,7 @@ async function probeSource(source, includeModelIds) {
46452
46460
  }
46453
46461
  }
46454
46462
  async function defaultSources(includeOpenRouter) {
46455
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-4HQDN776.js");
46463
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-36MT53K7.js");
46456
46464
  const adapters = createAllAdapters2();
46457
46465
  return buildDefaultModelSources(adapters, { includeOpenRouter });
46458
46466
  }
@@ -50469,4 +50477,4 @@ export {
50469
50477
  shutdownFeedbackSubscriber,
50470
50478
  createEventBusBridge
50471
50479
  };
50472
- //# sourceMappingURL=chunk-QI6TR5Z2.js.map
50480
+ //# sourceMappingURL=chunk-6KQI4SJT.js.map