nexus-agents 2.119.0 → 2.119.2

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 (114) hide show
  1. package/dist/{child-mcp-config-26I7QB4O.js → child-mcp-config-JUQOQBBY.js} +2 -2
  2. package/dist/{chunk-EDPJZZ5V.js → chunk-22IIWHB7.js} +2 -2
  3. package/dist/{chunk-6M4BCY2N.js → chunk-235LYOTA.js} +21 -8
  4. package/dist/chunk-235LYOTA.js.map +1 -0
  5. package/dist/{chunk-MNJJOJFA.js → chunk-44DIHZLT.js} +2 -2
  6. package/dist/{chunk-LB4X2SNV.js → chunk-4FDPDYEX.js} +2 -2
  7. package/dist/{chunk-4HAJYORZ.js → chunk-57N4FTLL.js} +2 -2
  8. package/dist/{chunk-UZ6Y6MJW.js → chunk-5YMBUH45.js} +2 -2
  9. package/dist/{chunk-ONSYPTQV.js → chunk-62ACDINW.js} +7 -7
  10. package/dist/{chunk-RMWRAEF5.js → chunk-CSUPWCVI.js} +2 -2
  11. package/dist/{chunk-NUNS7KTG.js → chunk-DT2AAM6K.js} +4 -4
  12. package/dist/{chunk-EHDK7INH.js → chunk-EZ47OIGA.js} +7 -7
  13. package/dist/chunk-EZ47OIGA.js.map +1 -0
  14. package/dist/{chunk-44TVE2TS.js → chunk-F4V6FE64.js} +3 -3
  15. package/dist/{chunk-DKZ4FMKX.js → chunk-HGLWVQTP.js} +3 -3
  16. package/dist/{chunk-WGVRUD3L.js → chunk-HWQHXB3L.js} +7 -7
  17. package/dist/{chunk-M3NK3XH5.js → chunk-IW3KSMM6.js} +2 -2
  18. package/dist/{chunk-W5SS3BOE.js → chunk-L4LZ36ZR.js} +2 -2
  19. package/dist/{chunk-Q6SBMEWN.js → chunk-LOYYLIDC.js} +4 -4
  20. package/dist/{chunk-HMRXOIXM.js → chunk-LR5YOBU5.js} +4 -4
  21. package/dist/{chunk-F2RI7VXT.js → chunk-LXFX6C2B.js} +2 -2
  22. package/dist/{chunk-E6BUUZMY.js → chunk-MAVVFAN4.js} +2 -2
  23. package/dist/{chunk-7RN2ELTD.js → chunk-RG23ZE4G.js} +2 -2
  24. package/dist/{chunk-6VQHY23Y.js → chunk-S33JJYFL.js} +2 -2
  25. package/dist/{chunk-ERZ7YJVM.js → chunk-SAVNA4TI.js} +3 -3
  26. package/dist/{chunk-I4BPTXSC.js → chunk-T4D7CT6L.js} +32 -32
  27. package/dist/{chunk-RNTKAC4D.js → chunk-TMTJ3OOM.js} +3 -3
  28. package/dist/{chunk-DR7UYBH5.js → chunk-ULTFAX5B.js} +2 -2
  29. package/dist/{chunk-ESXBBJWD.js → chunk-WIG3TUXY.js} +3 -3
  30. package/dist/{chunk-EH4M42B7.js → chunk-XV6MRLOW.js} +2 -2
  31. package/dist/{chunk-O6BZOX2M.js → chunk-XY6QSHBP.js} +3 -3
  32. package/dist/{chunk-2BS3EALM.js → chunk-Y4YAJM7H.js} +17 -4
  33. package/dist/{chunk-2BS3EALM.js.map → chunk-Y4YAJM7H.js.map} +1 -1
  34. package/dist/{chunk-XURV7HHN.js → chunk-ZGKWMHGC.js} +7 -7
  35. package/dist/{chunk-HHG3IITM.js → chunk-ZWZN5N2Z.js} +5 -5
  36. package/dist/{cli-circuit-breaker-BGT5DGKV.js → cli-circuit-breaker-3FJIRS6L.js} +4 -4
  37. package/dist/cli.js +38 -38
  38. package/dist/{composite-router-XNIHEK6M.js → composite-router-LOHKXQUL.js} +2 -2
  39. package/dist/{consensus-vote-F2SBPPEE.js → consensus-vote-MW4OI6G2.js} +12 -12
  40. package/dist/{context-retriever-UNS7JADG.js → context-retriever-RJINEPAF.js} +8 -8
  41. package/dist/{doctor-deep-GSNXMBL6.js → doctor-deep-CT6A5DPU.js} +3 -3
  42. package/dist/{expert-bridge-5F6T3SNL.js → expert-bridge-MCXXD563.js} +4 -4
  43. package/dist/{factory-2F42UU2V.js → factory-BTNDO4KX.js} +5 -5
  44. package/dist/factory-DUXMSYAY.js +21 -0
  45. package/dist/{improvement-review-7P4UC2VK.js → improvement-review-LM3LEION.js} +4 -4
  46. package/dist/index.js +27 -27
  47. package/dist/{init-opencode-XHE4HP5M.js → init-opencode-6PZ2N4X3.js} +5 -5
  48. package/dist/{issue-triage-3AELSBL6.js → issue-triage-QVIRVHZ4.js} +5 -5
  49. package/dist/{pr-reviewer-helpers-QE5IJ3GP.js → pr-reviewer-helpers-S2WVLRHC.js} +4 -4
  50. package/dist/{registry-command-JVEWWIVT.js → registry-command-O4U4W6IA.js} +2 -2
  51. package/dist/{repo-security-plan-E4E7F6HW.js → repo-security-plan-N35AAZKL.js} +3 -3
  52. package/dist/{research-helpers-synthesize-55LMCS3Y.js → research-helpers-synthesize-VXKZWU3M.js} +4 -4
  53. package/dist/{routing-memory-2EKQLLOP.js → routing-memory-H5YZCGMO.js} +2 -2
  54. package/dist/{session-memory-OGAF4P3L.js → session-memory-OIA3ZJTT.js} +3 -3
  55. package/dist/{setup-command-VVEJ5ICB.js → setup-command-UC552MKE.js} +11 -11
  56. package/dist/{setup-config-2G6PRFLU.js → setup-config-PA744X7J.js} +3 -3
  57. package/dist/{setup-custom-api-3VM6ASDE.js → setup-custom-api-CMA6DDD6.js} +3 -3
  58. package/dist/{tool-memory-VBM3KECD.js → tool-memory-2TUID2VC.js} +5 -5
  59. package/dist/{weather-report-BXBHJR33.js → weather-report-S6X5AKTZ.js} +2 -2
  60. package/package.json +1 -1
  61. package/dist/chunk-6M4BCY2N.js.map +0 -1
  62. package/dist/chunk-EHDK7INH.js.map +0 -1
  63. package/dist/factory-XDOLWM3H.js +0 -21
  64. /package/dist/{child-mcp-config-26I7QB4O.js.map → child-mcp-config-JUQOQBBY.js.map} +0 -0
  65. /package/dist/{chunk-EDPJZZ5V.js.map → chunk-22IIWHB7.js.map} +0 -0
  66. /package/dist/{chunk-MNJJOJFA.js.map → chunk-44DIHZLT.js.map} +0 -0
  67. /package/dist/{chunk-LB4X2SNV.js.map → chunk-4FDPDYEX.js.map} +0 -0
  68. /package/dist/{chunk-4HAJYORZ.js.map → chunk-57N4FTLL.js.map} +0 -0
  69. /package/dist/{chunk-UZ6Y6MJW.js.map → chunk-5YMBUH45.js.map} +0 -0
  70. /package/dist/{chunk-ONSYPTQV.js.map → chunk-62ACDINW.js.map} +0 -0
  71. /package/dist/{chunk-RMWRAEF5.js.map → chunk-CSUPWCVI.js.map} +0 -0
  72. /package/dist/{chunk-NUNS7KTG.js.map → chunk-DT2AAM6K.js.map} +0 -0
  73. /package/dist/{chunk-44TVE2TS.js.map → chunk-F4V6FE64.js.map} +0 -0
  74. /package/dist/{chunk-DKZ4FMKX.js.map → chunk-HGLWVQTP.js.map} +0 -0
  75. /package/dist/{chunk-WGVRUD3L.js.map → chunk-HWQHXB3L.js.map} +0 -0
  76. /package/dist/{chunk-M3NK3XH5.js.map → chunk-IW3KSMM6.js.map} +0 -0
  77. /package/dist/{chunk-W5SS3BOE.js.map → chunk-L4LZ36ZR.js.map} +0 -0
  78. /package/dist/{chunk-Q6SBMEWN.js.map → chunk-LOYYLIDC.js.map} +0 -0
  79. /package/dist/{chunk-HMRXOIXM.js.map → chunk-LR5YOBU5.js.map} +0 -0
  80. /package/dist/{chunk-F2RI7VXT.js.map → chunk-LXFX6C2B.js.map} +0 -0
  81. /package/dist/{chunk-E6BUUZMY.js.map → chunk-MAVVFAN4.js.map} +0 -0
  82. /package/dist/{chunk-7RN2ELTD.js.map → chunk-RG23ZE4G.js.map} +0 -0
  83. /package/dist/{chunk-6VQHY23Y.js.map → chunk-S33JJYFL.js.map} +0 -0
  84. /package/dist/{chunk-ERZ7YJVM.js.map → chunk-SAVNA4TI.js.map} +0 -0
  85. /package/dist/{chunk-I4BPTXSC.js.map → chunk-T4D7CT6L.js.map} +0 -0
  86. /package/dist/{chunk-RNTKAC4D.js.map → chunk-TMTJ3OOM.js.map} +0 -0
  87. /package/dist/{chunk-DR7UYBH5.js.map → chunk-ULTFAX5B.js.map} +0 -0
  88. /package/dist/{chunk-ESXBBJWD.js.map → chunk-WIG3TUXY.js.map} +0 -0
  89. /package/dist/{chunk-EH4M42B7.js.map → chunk-XV6MRLOW.js.map} +0 -0
  90. /package/dist/{chunk-O6BZOX2M.js.map → chunk-XY6QSHBP.js.map} +0 -0
  91. /package/dist/{chunk-XURV7HHN.js.map → chunk-ZGKWMHGC.js.map} +0 -0
  92. /package/dist/{chunk-HHG3IITM.js.map → chunk-ZWZN5N2Z.js.map} +0 -0
  93. /package/dist/{cli-circuit-breaker-BGT5DGKV.js.map → cli-circuit-breaker-3FJIRS6L.js.map} +0 -0
  94. /package/dist/{composite-router-XNIHEK6M.js.map → composite-router-LOHKXQUL.js.map} +0 -0
  95. /package/dist/{consensus-vote-F2SBPPEE.js.map → consensus-vote-MW4OI6G2.js.map} +0 -0
  96. /package/dist/{context-retriever-UNS7JADG.js.map → context-retriever-RJINEPAF.js.map} +0 -0
  97. /package/dist/{doctor-deep-GSNXMBL6.js.map → doctor-deep-CT6A5DPU.js.map} +0 -0
  98. /package/dist/{expert-bridge-5F6T3SNL.js.map → expert-bridge-MCXXD563.js.map} +0 -0
  99. /package/dist/{factory-2F42UU2V.js.map → factory-BTNDO4KX.js.map} +0 -0
  100. /package/dist/{factory-XDOLWM3H.js.map → factory-DUXMSYAY.js.map} +0 -0
  101. /package/dist/{improvement-review-7P4UC2VK.js.map → improvement-review-LM3LEION.js.map} +0 -0
  102. /package/dist/{init-opencode-XHE4HP5M.js.map → init-opencode-6PZ2N4X3.js.map} +0 -0
  103. /package/dist/{issue-triage-3AELSBL6.js.map → issue-triage-QVIRVHZ4.js.map} +0 -0
  104. /package/dist/{pr-reviewer-helpers-QE5IJ3GP.js.map → pr-reviewer-helpers-S2WVLRHC.js.map} +0 -0
  105. /package/dist/{registry-command-JVEWWIVT.js.map → registry-command-O4U4W6IA.js.map} +0 -0
  106. /package/dist/{repo-security-plan-E4E7F6HW.js.map → repo-security-plan-N35AAZKL.js.map} +0 -0
  107. /package/dist/{research-helpers-synthesize-55LMCS3Y.js.map → research-helpers-synthesize-VXKZWU3M.js.map} +0 -0
  108. /package/dist/{routing-memory-2EKQLLOP.js.map → routing-memory-H5YZCGMO.js.map} +0 -0
  109. /package/dist/{session-memory-OGAF4P3L.js.map → session-memory-OIA3ZJTT.js.map} +0 -0
  110. /package/dist/{setup-command-VVEJ5ICB.js.map → setup-command-UC552MKE.js.map} +0 -0
  111. /package/dist/{setup-config-2G6PRFLU.js.map → setup-config-PA744X7J.js.map} +0 -0
  112. /package/dist/{setup-custom-api-3VM6ASDE.js.map → setup-custom-api-CMA6DDD6.js.map} +0 -0
  113. /package/dist/{tool-memory-VBM3KECD.js.map → tool-memory-2TUID2VC.js.map} +0 -0
  114. /package/dist/{weather-report-BXBHJR33.js.map → weather-report-S6X5AKTZ.js.map} +0 -0
@@ -9,11 +9,11 @@ import {
9
9
  gateWithReputation,
10
10
  resolveReputationGatingMode,
11
11
  sanitizeInput
12
- } from "./chunk-W5SS3BOE.js";
12
+ } from "./chunk-L4LZ36ZR.js";
13
13
  import {
14
14
  createLogger,
15
15
  getTimeProvider
16
- } from "./chunk-2BS3EALM.js";
16
+ } from "./chunk-Y4YAJM7H.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-44TVE2TS.js.map
291
+ //# sourceMappingURL=chunk-F4V6FE64.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  OpenAIAdapter
3
- } from "./chunk-ERZ7YJVM.js";
3
+ } from "./chunk-SAVNA4TI.js";
4
4
  import {
5
5
  ConfigError,
6
6
  createLogger,
@@ -9,7 +9,7 @@ import {
9
9
  getTimeProvider,
10
10
  lookupInTreeCapability,
11
11
  ok
12
- } from "./chunk-2BS3EALM.js";
12
+ } from "./chunk-Y4YAJM7H.js";
13
13
  import {
14
14
  getNexusDataDir
15
15
  } from "./chunk-CH7QIDHQ.js";
@@ -307,4 +307,4 @@ export {
307
307
  discoverModels,
308
308
  buildOpenAICompatAdapters
309
309
  };
310
- //# sourceMappingURL=chunk-DKZ4FMKX.js.map
310
+ //# sourceMappingURL=chunk-HGLWVQTP.js.map
@@ -7,10 +7,10 @@ import {
7
7
  import {
8
8
  createAllAdapters,
9
9
  probeCli
10
- } from "./chunk-ONSYPTQV.js";
10
+ } from "./chunk-62ACDINW.js";
11
11
  import {
12
12
  DEFAULTS
13
- } from "./chunk-F2RI7VXT.js";
13
+ } from "./chunk-LXFX6C2B.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-2BS3EALM.js";
29
+ } from "./chunk-Y4YAJM7H.js";
30
30
  import {
31
31
  detectSandbox,
32
32
  getLearningDir,
@@ -40,7 +40,7 @@ import {
40
40
  } from "./chunk-CH7QIDHQ.js";
41
41
 
42
42
  // src/version.ts
43
- var VERSION = true ? "2.119.0" : "dev";
43
+ var VERSION = true ? "2.119.2" : "dev";
44
44
 
45
45
  // src/config/schemas-core.ts
46
46
  import { z } from "zod";
@@ -2099,7 +2099,7 @@ async function runDoctorFix(result) {
2099
2099
  writeLine2("\u2500".repeat(40));
2100
2100
  let fixCount = 0;
2101
2101
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2102
- const { runSetup } = await import("./setup-command-VVEJ5ICB.js");
2102
+ const { runSetup } = await import("./setup-command-UC552MKE.js");
2103
2103
  const setupResult = runSetup({
2104
2104
  skipMcp: true,
2105
2105
  skipRules: true,
@@ -2113,7 +2113,7 @@ async function runDoctorFix(result) {
2113
2113
  }
2114
2114
  }
2115
2115
  if (!result.configFile.found) {
2116
- const { runConfigInitSync } = await import("./setup-config-2G6PRFLU.js");
2116
+ const { runConfigInitSync } = await import("./setup-config-PA744X7J.js");
2117
2117
  const configResult = runConfigInitSync(process.cwd(), false, false);
2118
2118
  if (configResult.success && configResult.created) {
2119
2119
  writeLine2(`\u2713 Generated config: ${configResult.path}`);
@@ -2211,4 +2211,4 @@ export {
2211
2211
  startStdioServer,
2212
2212
  closeServer
2213
2213
  };
2214
- //# sourceMappingURL=chunk-WGVRUD3L.js.map
2214
+ //# sourceMappingURL=chunk-HWQHXB3L.js.map
@@ -3,7 +3,7 @@ import {
3
3
  MODEL_IDS,
4
4
  getTimeProvider,
5
5
  resolveModelIdentitySync
6
- } from "./chunk-2BS3EALM.js";
6
+ } from "./chunk-Y4YAJM7H.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-M3NK3XH5.js.map
153
+ //# sourceMappingURL=chunk-IW3KSMM6.js.map
@@ -2,7 +2,7 @@ import {
2
2
  CACHE_TIMEOUTS,
3
3
  createLogger,
4
4
  getTimeProvider
5
- } from "./chunk-2BS3EALM.js";
5
+ } from "./chunk-Y4YAJM7H.js";
6
6
 
7
7
  // src/security/trust-types.ts
8
8
  import { z } from "zod";
@@ -560,4 +560,4 @@ export {
560
560
  resolveReputationGatingMode,
561
561
  gateWithReputation
562
562
  };
563
- //# sourceMappingURL=chunk-W5SS3BOE.js.map
563
+ //# sourceMappingURL=chunk-L4LZ36ZR.js.map
@@ -5,13 +5,13 @@ import {
5
5
  } from "./chunk-6T3EPABN.js";
6
6
  import {
7
7
  generateId
8
- } from "./chunk-6VQHY23Y.js";
8
+ } from "./chunk-S33JJYFL.js";
9
9
  import {
10
10
  getMemoryRegistry
11
11
  } from "./chunk-PQHVC4BD.js";
12
12
  import {
13
13
  SessionMemory
14
- } from "./chunk-RMWRAEF5.js";
14
+ } from "./chunk-CSUPWCVI.js";
15
15
  import {
16
16
  ErrorCode,
17
17
  NexusError,
@@ -24,7 +24,7 @@ import {
24
24
  getTimeProvider,
25
25
  ok,
26
26
  setSharedMobiMemDbPathResolver
27
- } from "./chunk-2BS3EALM.js";
27
+ } from "./chunk-Y4YAJM7H.js";
28
28
  import {
29
29
  nexusDataPath
30
30
  } from "./chunk-CH7QIDHQ.js";
@@ -5612,4 +5612,4 @@ export {
5612
5612
  reinitializeMemoryBackends,
5613
5613
  ToolMemoryManager
5614
5614
  };
5615
- //# sourceMappingURL=chunk-Q6SBMEWN.js.map
5615
+ //# sourceMappingURL=chunk-LOYYLIDC.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-DR7UYBH5.js";
4
+ } from "./chunk-ULTFAX5B.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-LB4X2SNV.js";
7
+ } from "./chunk-4FDPDYEX.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-2BS3EALM.js";
11
+ } from "./chunk-Y4YAJM7H.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-HMRXOIXM.js.map
44
+ //# sourceMappingURL=chunk-LR5YOBU5.js.map
@@ -15,7 +15,7 @@ import {
15
15
  createLogger,
16
16
  err,
17
17
  ok
18
- } from "./chunk-2BS3EALM.js";
18
+ } from "./chunk-Y4YAJM7H.js";
19
19
 
20
20
  // src/config/defaults.ts
21
21
  var CUSTOM_API_DEFAULT_MODEL = "gpt-4o";
@@ -396,4 +396,4 @@ export {
396
396
  validateCustomApiBaseUrl,
397
397
  assertCustomApiHostResolvesPublic
398
398
  };
399
- //# sourceMappingURL=chunk-F2RI7VXT.js.map
399
+ //# sourceMappingURL=chunk-LXFX6C2B.js.map
@@ -10,7 +10,7 @@ import {
10
10
  getTokenEstimator,
11
11
  isRateLimitLikeError,
12
12
  ok
13
- } from "./chunk-2BS3EALM.js";
13
+ } from "./chunk-Y4YAJM7H.js";
14
14
 
15
15
  // src/adapters/base-adapter.ts
16
16
  var AdapterModelError = class extends ModelError {
@@ -707,4 +707,4 @@ export {
707
707
  DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
708
708
  collectStream
709
709
  };
710
- //# sourceMappingURL=chunk-E6BUUZMY.js.map
710
+ //# sourceMappingURL=chunk-MAVVFAN4.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-2BS3EALM.js";
7
+ } from "./chunk-Y4YAJM7H.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-7RN2ELTD.js.map
724
+ //# sourceMappingURL=chunk-RG23ZE4G.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getRandomProvider,
3
3
  getTimeProvider
4
- } from "./chunk-2BS3EALM.js";
4
+ } from "./chunk-Y4YAJM7H.js";
5
5
 
6
6
  // src/utils/id-utils.ts
7
7
  import { randomUUID } from "crypto";
@@ -24,4 +24,4 @@ export {
24
24
  generateHyphenId,
25
25
  generateUUID
26
26
  };
27
- //# sourceMappingURL=chunk-6VQHY23Y.js.map
27
+ //# sourceMappingURL=chunk-S33JJYFL.js.map
@@ -3,14 +3,14 @@ import {
3
3
  createStream,
4
4
  requireApiKey,
5
5
  validateApiKeyPresence
6
- } from "./chunk-E6BUUZMY.js";
6
+ } from "./chunk-MAVVFAN4.js";
7
7
  import {
8
8
  ModelCapability,
9
9
  err,
10
10
  getCliModelName,
11
11
  getTokenEstimator,
12
12
  ok
13
- } from "./chunk-2BS3EALM.js";
13
+ } from "./chunk-Y4YAJM7H.js";
14
14
 
15
15
  // src/adapters/openai-types.ts
16
16
  var OPENAI_MODELS = {
@@ -553,4 +553,4 @@ export {
553
553
  OpenAIAdapter,
554
554
  createOpenAIAdapter
555
555
  };
556
- //# sourceMappingURL=chunk-ERZ7YJVM.js.map
556
+ //# sourceMappingURL=chunk-SAVNA4TI.js.map
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-3ACDP4E6.js";
6
6
  import {
7
7
  executeExpert
8
- } from "./chunk-XURV7HHN.js";
8
+ } from "./chunk-ZGKWMHGC.js";
9
9
  import {
10
10
  EventTopics,
11
11
  JobStatusSchema,
@@ -26,23 +26,23 @@ import {
26
26
  writeJobComplete,
27
27
  writeJobFailed,
28
28
  writeJobPending
29
- } from "./chunk-EHDK7INH.js";
29
+ } from "./chunk-EZ47OIGA.js";
30
30
  import {
31
31
  normalizeTopicToCanonical,
32
32
  synthesizeResearch
33
- } from "./chunk-RNTKAC4D.js";
33
+ } from "./chunk-TMTJ3OOM.js";
34
34
  import {
35
35
  IssueTriage,
36
36
  createAuditTrail,
37
37
  createGraphAuditBridge
38
- } from "./chunk-NUNS7KTG.js";
38
+ } from "./chunk-DT2AAM6K.js";
39
39
  import {
40
40
  resolveEnvMode,
41
41
  sanitizeInput
42
- } from "./chunk-W5SS3BOE.js";
42
+ } from "./chunk-L4LZ36ZR.js";
43
43
  import {
44
44
  withPrerequisite
45
- } from "./chunk-ESXBBJWD.js";
45
+ } from "./chunk-WIG3TUXY.js";
46
46
  import {
47
47
  NOOP_NOTIFIER,
48
48
  RateLimiter,
@@ -62,10 +62,10 @@ import {
62
62
  withAccessPolicy,
63
63
  withProgressHeartbeat,
64
64
  wrapToolWithTimeout
65
- } from "./chunk-EDPJZZ5V.js";
65
+ } from "./chunk-22IIWHB7.js";
66
66
  import {
67
67
  generateSecurityPlan
68
- } from "./chunk-7RN2ELTD.js";
68
+ } from "./chunk-RG23ZE4G.js";
69
69
  import {
70
70
  analyzeGitHubRepo
71
71
  } from "./chunk-HFOQKCD2.js";
@@ -96,26 +96,26 @@ import {
96
96
  parseRegistry,
97
97
  sourceExistsInRegistry,
98
98
  summarizeContextForPrompt
99
- } from "./chunk-HHG3IITM.js";
99
+ } from "./chunk-ZWZN5N2Z.js";
100
100
  import {
101
101
  getTokenEnvVars,
102
102
  resolveToken
103
- } from "./chunk-LB4X2SNV.js";
103
+ } from "./chunk-4FDPDYEX.js";
104
104
  import {
105
105
  loadPapersRegistry,
106
106
  loadTechniquesRegistry
107
- } from "./chunk-4HAJYORZ.js";
107
+ } from "./chunk-57N4FTLL.js";
108
108
  import {
109
109
  DEFAULT_RELEVANCE_CONFIG,
110
110
  MemoryImportance,
111
111
  calculateTextJaccardSimilarity,
112
112
  getToolMemory
113
- } from "./chunk-Q6SBMEWN.js";
113
+ } from "./chunk-LOYYLIDC.js";
114
114
  import {
115
115
  DEFAULT_TASK_TTL_MS,
116
116
  DEFAULT_TOOL_RATE_LIMITS,
117
117
  clampTaskTtl
118
- } from "./chunk-WGVRUD3L.js";
118
+ } from "./chunk-HWQHXB3L.js";
119
119
  import {
120
120
  resolveInsideRoot
121
121
  } from "./chunk-NUBSJGQZ.js";
@@ -130,19 +130,19 @@ import {
130
130
  getAvailableClis,
131
131
  sleep,
132
132
  withTimeout
133
- } from "./chunk-ONSYPTQV.js";
133
+ } from "./chunk-62ACDINW.js";
134
134
  import {
135
135
  DEFAULTS
136
- } from "./chunk-F2RI7VXT.js";
136
+ } from "./chunk-LXFX6C2B.js";
137
137
  import {
138
138
  getAvailabilityCache,
139
139
  getCliForModelId,
140
140
  resolveFallback
141
- } from "./chunk-M3NK3XH5.js";
141
+ } from "./chunk-IW3KSMM6.js";
142
142
  import {
143
143
  generateHyphenId,
144
144
  generateUUID
145
- } from "./chunk-6VQHY23Y.js";
145
+ } from "./chunk-S33JJYFL.js";
146
146
  import {
147
147
  BUILT_IN_EXPERTS,
148
148
  BuiltInExpertTypeSchema,
@@ -154,7 +154,7 @@ import {
154
154
  } from "./chunk-PQHVC4BD.js";
155
155
  import {
156
156
  createSessionMemory
157
- } from "./chunk-RMWRAEF5.js";
157
+ } from "./chunk-CSUPWCVI.js";
158
158
  import {
159
159
  AGENT_ROUTER_TIMEOUTS,
160
160
  ARCHITECTURE_KEYWORDS,
@@ -228,7 +228,7 @@ import {
228
228
  routingArmDisplaySlot,
229
229
  toExpertTaskAnalysisResult,
230
230
  withStep
231
- } from "./chunk-2BS3EALM.js";
231
+ } from "./chunk-Y4YAJM7H.js";
232
232
  import {
233
233
  nexusDataPath,
234
234
  nexusDataPathEnsure
@@ -26281,7 +26281,7 @@ async function populateUnifiedContextOnState(state) {
26281
26281
  try {
26282
26282
  const taskCandidate = state["task"];
26283
26283
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
26284
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-UNS7JADG.js");
26284
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-RJINEPAF.js");
26285
26285
  const ctx = await getContextForTask2({
26286
26286
  task: taskCandidate,
26287
26287
  category: inferTaskCategory2(taskCandidate),
@@ -40840,7 +40840,7 @@ async function tryIssueTriage(task) {
40840
40840
  try {
40841
40841
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
40842
40842
  if (issueMatch === null) return null;
40843
- const { createIssueTriage } = await import("./issue-triage-3AELSBL6.js");
40843
+ const { createIssueTriage } = await import("./issue-triage-QVIRVHZ4.js");
40844
40844
  const triage = createIssueTriage();
40845
40845
  const owner = issueMatch[1] ?? "";
40846
40846
  const num = issueMatch[2] ?? "";
@@ -40868,7 +40868,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
40868
40868
  ]);
40869
40869
  async function classifyWithLLM(task) {
40870
40870
  try {
40871
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-5F6T3SNL.js");
40871
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-MCXXD563.js");
40872
40872
  const prompt = [
40873
40873
  "Classify this task into exactly one pipeline template.",
40874
40874
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -41839,7 +41839,7 @@ var memoryInitPromise = null;
41839
41839
  async function initPipelineMemory() {
41840
41840
  if (cachedMemory !== null) return cachedMemory;
41841
41841
  try {
41842
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-OGAF4P3L.js");
41842
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-OIA3ZJTT.js");
41843
41843
  const { getLearningDir } = await import("./learning-persistence-UKPO7RYK.js");
41844
41844
  const mem = createSessionMemory2(getLearningDir());
41845
41845
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -41896,7 +41896,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0)
41896
41896
  callRecord(routingMemoryCache);
41897
41897
  return;
41898
41898
  }
41899
- routingMemoryInitPromise ??= import("./routing-memory-2EKQLLOP.js").then(({ createRoutingMemory }) => {
41899
+ routingMemoryInitPromise ??= import("./routing-memory-H5YZCGMO.js").then(({ createRoutingMemory }) => {
41900
41900
  routingMemoryCache ??= createRoutingMemory();
41901
41901
  return routingMemoryCache;
41902
41902
  }).catch((error) => {
@@ -41930,7 +41930,7 @@ ${text}` : "";
41930
41930
  }
41931
41931
  async function getWeatherContext() {
41932
41932
  try {
41933
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-BXBHJR33.js");
41933
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-S6X5AKTZ.js");
41934
41934
  const report = generateWeatherReport2({ includeAdaptive: true });
41935
41935
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
41936
41936
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -41948,7 +41948,7 @@ ${lines}
41948
41948
  }
41949
41949
  async function getMemoryContext(task) {
41950
41950
  try {
41951
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-OGAF4P3L.js");
41951
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-OIA3ZJTT.js");
41952
41952
  const { getLearningDir } = await import("./learning-persistence-UKPO7RYK.js");
41953
41953
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
41954
41954
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -42059,7 +42059,7 @@ ${contextBlock}`;
42059
42059
  const strategy = config.votingStrategy ?? "higher_order";
42060
42060
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
42061
42061
  try {
42062
- const { executeVoting } = await import("./consensus-vote-F2SBPPEE.js");
42062
+ const { executeVoting } = await import("./consensus-vote-MW4OI6G2.js");
42063
42063
  const votingResult = await executeVoting(
42064
42064
  {
42065
42065
  proposal: buildVoteProposal(plan, research),
@@ -43144,7 +43144,7 @@ async function searchCodebaseForTask(task) {
43144
43144
  }
43145
43145
  async function queryResearchRegistry(task) {
43146
43146
  try {
43147
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-55LMCS3Y.js");
43147
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-VXKZWU3M.js");
43148
43148
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
43149
43149
  if (topic === void 0) return null;
43150
43150
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -43215,7 +43215,7 @@ function createScanStageWrapper() {
43215
43215
  try {
43216
43216
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
43217
43217
  if (slug !== void 0) {
43218
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-E4E7F6HW.js");
43218
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-N35AAZKL.js");
43219
43219
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
43220
43220
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
43221
43221
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -44741,7 +44741,7 @@ async function probeSource(source, includeModelIds) {
44741
44741
  }
44742
44742
  }
44743
44743
  async function defaultSources(includeOpenRouter) {
44744
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-XDOLWM3H.js");
44744
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-DUXMSYAY.js");
44745
44745
  const adapters = createAllAdapters2();
44746
44746
  return buildDefaultModelSources(adapters, { includeOpenRouter });
44747
44747
  }
@@ -48382,7 +48382,7 @@ var GitHubTaskTracker = class {
48382
48382
  cachedProvider = null;
48383
48383
  async getProvider() {
48384
48384
  if (this.cachedProvider !== null) return this.cachedProvider;
48385
- const { createScmProvider } = await import("./factory-2F42UU2V.js");
48385
+ const { createScmProvider } = await import("./factory-BTNDO4KX.js");
48386
48386
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
48387
48387
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
48388
48388
  this.cachedProvider = result.value;
@@ -49074,4 +49074,4 @@ export {
49074
49074
  detectBackend,
49075
49075
  createTaskTracker
49076
49076
  };
49077
- //# sourceMappingURL=chunk-I4BPTXSC.js.map
49077
+ //# sourceMappingURL=chunk-T4D7CT6L.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-4HAJYORZ.js";
3
+ } from "./chunk-57N4FTLL.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-2BS3EALM.js";
6
+ } from "./chunk-Y4YAJM7H.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-RNTKAC4D.js.map
879
+ //# sourceMappingURL=chunk-TMTJ3OOM.js.map
@@ -3,7 +3,7 @@ import {
3
3
  err,
4
4
  getErrorMessage,
5
5
  ok
6
- } from "./chunk-2BS3EALM.js";
6
+ } from "./chunk-Y4YAJM7H.js";
7
7
 
8
8
  // src/scm/types.ts
9
9
  var ScmError = class extends Error {
@@ -258,4 +258,4 @@ export {
258
258
  ScmError,
259
259
  GitHubProvider
260
260
  };
261
- //# sourceMappingURL=chunk-DR7UYBH5.js.map
261
+ //# sourceMappingURL=chunk-ULTFAX5B.js.map
@@ -7,7 +7,7 @@ import {
7
7
  toolStructuredError,
8
8
  toolSuccessStructured,
9
9
  wrapToolWithTimeout
10
- } from "./chunk-EDPJZZ5V.js";
10
+ } from "./chunk-22IIWHB7.js";
11
11
  import {
12
12
  createLogger,
13
13
  formatZodError,
@@ -15,7 +15,7 @@ import {
15
15
  getOutcomeStore,
16
16
  getPipelineEventBus,
17
17
  getTimeProvider
18
- } from "./chunk-2BS3EALM.js";
18
+ } from "./chunk-Y4YAJM7H.js";
19
19
  import {
20
20
  getNexusDataDir
21
21
  } from "./chunk-CH7QIDHQ.js";
@@ -1138,4 +1138,4 @@ export {
1138
1138
  runImprovementReview,
1139
1139
  registerImprovementReviewTool
1140
1140
  };
1141
- //# sourceMappingURL=chunk-ESXBBJWD.js.map
1141
+ //# sourceMappingURL=chunk-WIG3TUXY.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-2BS3EALM.js";
5
+ } from "./chunk-Y4YAJM7H.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-EH4M42B7.js.map
109
+ //# sourceMappingURL=chunk-XV6MRLOW.js.map
@@ -2,14 +2,14 @@ import {
2
2
  CircuitBreakerRegistry,
3
3
  CircuitError,
4
4
  mapCliErrorToCategory
5
- } from "./chunk-UZ6Y6MJW.js";
5
+ } from "./chunk-5YMBUH45.js";
6
6
  import {
7
7
  createLogger,
8
8
  err,
9
9
  getFallbackChainForCategory,
10
10
  getTimeProvider,
11
11
  ok
12
- } from "./chunk-2BS3EALM.js";
12
+ } from "./chunk-Y4YAJM7H.js";
13
13
 
14
14
  // src/cli-adapters/cli-circuit-breaker.ts
15
15
  var CATEGORY_TO_FALLBACK = {
@@ -152,4 +152,4 @@ export {
152
152
  CliCircuitBreakerIntegration,
153
153
  createCliCircuitBreakerIntegration
154
154
  };
155
- //# sourceMappingURL=chunk-O6BZOX2M.js.map
155
+ //# sourceMappingURL=chunk-XY6QSHBP.js.map
@@ -11896,7 +11896,7 @@ var CompositeRouter = class _CompositeRouter {
11896
11896
  */
11897
11897
  async consultUnifiedContext(task) {
11898
11898
  try {
11899
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-UNS7JADG.js");
11899
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-RJINEPAF.js");
11900
11900
  const ctx = await getContextForTask({
11901
11901
  task: task.content,
11902
11902
  category: inferTaskCategory(task.content),
@@ -12046,12 +12046,25 @@ var CompositeRouter = class _CompositeRouter {
12046
12046
  if (this.availableModelsCache === void 0) return this.cliNames;
12047
12047
  try {
12048
12048
  const all = await this.availableModelsCache.getAll();
12049
- if (all.length === 0) return this.cliNames;
12049
+ if (all.length === 0) {
12050
+ this.logger.info(
12051
+ "AvailableModelsCache returned no models; falling back to all CLIs (cold start or all sources unavailable)",
12052
+ { candidateCount: this.cliNames.length }
12053
+ );
12054
+ return this.cliNames;
12055
+ }
12050
12056
  const sourcesWithModels = new Set(all.map((m) => m.source));
12051
12057
  const filtered = this.cliNames.filter(
12052
12058
  (name) => sourcesWithModels.has(routingArmDisplaySlot(name))
12053
12059
  );
12054
- return filtered.length > 0 ? filtered : this.cliNames;
12060
+ if (filtered.length === 0) {
12061
+ this.logger.info(
12062
+ "AvailableModelsCache filtered out all CLIs; falling back to all (possible stale/misconfigured cache)",
12063
+ { cacheSources: [...sourcesWithModels], candidateCount: this.cliNames.length }
12064
+ );
12065
+ return this.cliNames;
12066
+ }
12067
+ return filtered;
12055
12068
  } catch (e) {
12056
12069
  this.logger.warn("AvailableModelsCache query failed; falling back to all CLIs", {
12057
12070
  error: e instanceof Error ? e.message : String(e)
@@ -13253,4 +13266,4 @@ export {
13253
13266
  AgentCapability,
13254
13267
  OrchestratorError
13255
13268
  };
13256
- //# sourceMappingURL=chunk-2BS3EALM.js.map
13269
+ //# sourceMappingURL=chunk-Y4YAJM7H.js.map