nexus-agents 2.176.2 → 2.177.1

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 (122) hide show
  1. package/dist/{child-mcp-config-HPWYQFLG.js → child-mcp-config-2NY3IO7I.js} +2 -2
  2. package/dist/{chunk-ECBV4JNL.js → chunk-24OVHAMU.js} +2 -2
  3. package/dist/{chunk-7TXEBDRM.js → chunk-AJKGJM5O.js} +2 -2
  4. package/dist/{chunk-WMV2CXBB.js → chunk-B7SSHUWQ.js} +2 -2
  5. package/dist/{chunk-ZOOSSM7D.js → chunk-BH6M6DMT.js} +5 -5
  6. package/dist/{chunk-JGL5HYZL.js → chunk-BJ2Z2XBW.js} +3 -3
  7. package/dist/{chunk-QI5U2YUL.js → chunk-C37G7YLN.js} +2 -2
  8. package/dist/{chunk-YU2JCUM7.js → chunk-CGLVSYSZ.js} +2 -2
  9. package/dist/{chunk-5LTRHNOI.js → chunk-D3NRM4TE.js} +3 -3
  10. package/dist/{chunk-CGD63GSC.js → chunk-DTGMWK7P.js} +5 -5
  11. package/dist/{chunk-G5URP3V7.js → chunk-EA7T6C5F.js} +7 -7
  12. package/dist/{chunk-QQ3CUUBU.js → chunk-GOYPDUD2.js} +4 -4
  13. package/dist/{chunk-JRKF4FYO.js → chunk-HHPW44FI.js} +2 -2
  14. package/dist/{chunk-J4BGV5VE.js → chunk-HK5NM5NS.js} +2 -2
  15. package/dist/{chunk-LGBCHTC6.js → chunk-HPMZX4EA.js} +8 -8
  16. package/dist/{chunk-5YXHHEAG.js → chunk-J7E7HJFP.js} +5 -5
  17. package/dist/{chunk-4OPEUDHY.js → chunk-LUKYSB7V.js} +8 -8
  18. package/dist/{chunk-G42V4A5Q.js → chunk-M6PKLT5H.js} +2 -2
  19. package/dist/{chunk-XZJU6WLL.js → chunk-N5ZOCMEK.js} +4 -4
  20. package/dist/{chunk-CNHPSIHY.js → chunk-QWA5PQMD.js} +6 -6
  21. package/dist/chunk-QWA5PQMD.js.map +1 -0
  22. package/dist/{chunk-XES5DPHV.js → chunk-QWDF7V2E.js} +3 -3
  23. package/dist/{chunk-46XEDJRB.js → chunk-RAIB4I6R.js} +2 -2
  24. package/dist/{chunk-U5CV76ZW.js → chunk-RKEKAX35.js} +2 -2
  25. package/dist/{chunk-XAWRBQB7.js → chunk-SSG6OBML.js} +3 -3
  26. package/dist/{chunk-NQU4LNN7.js → chunk-SXHG5CV3.js} +4 -4
  27. package/dist/{chunk-J55NMZ7R.js → chunk-TQ7PVJPM.js} +2 -2
  28. package/dist/{chunk-5ALUADB6.js → chunk-UGI7KJMY.js} +2 -2
  29. package/dist/{chunk-YB4QE7MD.js → chunk-UGJVQPV4.js} +2 -2
  30. package/dist/{chunk-N3XDPW64.js → chunk-V7JUMHM5.js} +18 -54
  31. package/dist/chunk-V7JUMHM5.js.map +1 -0
  32. package/dist/{chunk-4S6S6S2S.js → chunk-WOXLLMGZ.js} +2 -2
  33. package/dist/{chunk-Z55WHIRU.js → chunk-XQVGHRC3.js} +2 -2
  34. package/dist/{chunk-6HBMN6GZ.js → chunk-Y55CT2MJ.js} +35 -35
  35. package/dist/{chunk-WT4BJODZ.js → chunk-YPL45FXE.js} +5 -5
  36. package/dist/{chunk-2DE5L734.js → chunk-ZACQ3LNP.js} +2 -2
  37. package/dist/{cli-circuit-breaker-PJOQTGFZ.js → cli-circuit-breaker-3YGAGGQS.js} +3 -3
  38. package/dist/cli.d.ts +1 -1
  39. package/dist/cli.js +40 -40
  40. package/dist/{composite-router-IRXFQSB6.js → composite-router-7KMRFNML.js} +2 -2
  41. package/dist/{consensus-vote-O6Q266QE.js → consensus-vote-UZPXZYDV.js} +16 -16
  42. package/dist/{consensus-vote-types-BlbNhK1n.d.ts → consensus-vote-types-D2s0fTVg.d.ts} +4 -4
  43. package/dist/{context-retriever-GO6ET3MF.js → context-retriever-E2ODPG63.js} +8 -8
  44. package/dist/{doctor-deep-6HCHHMRP.js → doctor-deep-JR4233A2.js} +3 -3
  45. package/dist/{expert-bridge-6OLG6THF.js → expert-bridge-57MAWJI5.js} +4 -4
  46. package/dist/{factory-7OM526WB.js → factory-DVQHPLLB.js} +9 -9
  47. package/dist/{factory-MJFGYMNE.js → factory-HU42NWNS.js} +5 -5
  48. package/dist/{improvement-review-PALAAG7V.js → improvement-review-OE4IWSM7.js} +5 -5
  49. package/dist/index.d.ts +11 -3
  50. package/dist/index.js +30 -30
  51. package/dist/{init-opencode-NUMHNVIF.js → init-opencode-XPRV3ACM.js} +6 -6
  52. package/dist/{issue-triage-N7GFXNPY.js → issue-triage-K4SKQZXN.js} +6 -6
  53. package/dist/{pr-reviewer-helpers-6EIUJPXS.js → pr-reviewer-helpers-JK6CQHLB.js} +4 -4
  54. package/dist/{registry-command-SVTX7FKB.js → registry-command-PYGS32IQ.js} +2 -2
  55. package/dist/{repo-security-plan-AT7LOXLG.js → repo-security-plan-ZN7OAQXM.js} +3 -3
  56. package/dist/{research-helpers-synthesize-R722YWRS.js → research-helpers-synthesize-HW2WCZW2.js} +4 -4
  57. package/dist/{routing-memory-4FXQT5H6.js → routing-memory-PVWEIQKB.js} +2 -2
  58. package/dist/{session-memory-ZQJ6AUSQ.js → session-memory-BW7CXWYZ.js} +3 -3
  59. package/dist/{setup-command-IYBRT734.js → setup-command-7HZJ6MIC.js} +14 -14
  60. package/dist/{setup-config-MYLZ2UHR.js → setup-config-DLPAGDHV.js} +3 -3
  61. package/dist/{setup-custom-api-WZPLTGRQ.js → setup-custom-api-2W5OCVOB.js} +4 -4
  62. package/dist/{tool-memory-5REJXBCB.js → tool-memory-CMC5JJSS.js} +5 -5
  63. package/dist/{unified-registry-FM3QB2VN.js → unified-registry-EUB7DSZW.js} +10 -10
  64. package/dist/{weather-report-Y2GYJA6I.js → weather-report-EFIVYPZD.js} +2 -2
  65. package/package.json +1 -1
  66. package/dist/chunk-CNHPSIHY.js.map +0 -1
  67. package/dist/chunk-N3XDPW64.js.map +0 -1
  68. /package/dist/{child-mcp-config-HPWYQFLG.js.map → child-mcp-config-2NY3IO7I.js.map} +0 -0
  69. /package/dist/{chunk-ECBV4JNL.js.map → chunk-24OVHAMU.js.map} +0 -0
  70. /package/dist/{chunk-7TXEBDRM.js.map → chunk-AJKGJM5O.js.map} +0 -0
  71. /package/dist/{chunk-WMV2CXBB.js.map → chunk-B7SSHUWQ.js.map} +0 -0
  72. /package/dist/{chunk-ZOOSSM7D.js.map → chunk-BH6M6DMT.js.map} +0 -0
  73. /package/dist/{chunk-JGL5HYZL.js.map → chunk-BJ2Z2XBW.js.map} +0 -0
  74. /package/dist/{chunk-QI5U2YUL.js.map → chunk-C37G7YLN.js.map} +0 -0
  75. /package/dist/{chunk-YU2JCUM7.js.map → chunk-CGLVSYSZ.js.map} +0 -0
  76. /package/dist/{chunk-5LTRHNOI.js.map → chunk-D3NRM4TE.js.map} +0 -0
  77. /package/dist/{chunk-CGD63GSC.js.map → chunk-DTGMWK7P.js.map} +0 -0
  78. /package/dist/{chunk-G5URP3V7.js.map → chunk-EA7T6C5F.js.map} +0 -0
  79. /package/dist/{chunk-QQ3CUUBU.js.map → chunk-GOYPDUD2.js.map} +0 -0
  80. /package/dist/{chunk-JRKF4FYO.js.map → chunk-HHPW44FI.js.map} +0 -0
  81. /package/dist/{chunk-J4BGV5VE.js.map → chunk-HK5NM5NS.js.map} +0 -0
  82. /package/dist/{chunk-LGBCHTC6.js.map → chunk-HPMZX4EA.js.map} +0 -0
  83. /package/dist/{chunk-5YXHHEAG.js.map → chunk-J7E7HJFP.js.map} +0 -0
  84. /package/dist/{chunk-4OPEUDHY.js.map → chunk-LUKYSB7V.js.map} +0 -0
  85. /package/dist/{chunk-G42V4A5Q.js.map → chunk-M6PKLT5H.js.map} +0 -0
  86. /package/dist/{chunk-XZJU6WLL.js.map → chunk-N5ZOCMEK.js.map} +0 -0
  87. /package/dist/{chunk-XES5DPHV.js.map → chunk-QWDF7V2E.js.map} +0 -0
  88. /package/dist/{chunk-46XEDJRB.js.map → chunk-RAIB4I6R.js.map} +0 -0
  89. /package/dist/{chunk-U5CV76ZW.js.map → chunk-RKEKAX35.js.map} +0 -0
  90. /package/dist/{chunk-XAWRBQB7.js.map → chunk-SSG6OBML.js.map} +0 -0
  91. /package/dist/{chunk-NQU4LNN7.js.map → chunk-SXHG5CV3.js.map} +0 -0
  92. /package/dist/{chunk-J55NMZ7R.js.map → chunk-TQ7PVJPM.js.map} +0 -0
  93. /package/dist/{chunk-5ALUADB6.js.map → chunk-UGI7KJMY.js.map} +0 -0
  94. /package/dist/{chunk-YB4QE7MD.js.map → chunk-UGJVQPV4.js.map} +0 -0
  95. /package/dist/{chunk-4S6S6S2S.js.map → chunk-WOXLLMGZ.js.map} +0 -0
  96. /package/dist/{chunk-Z55WHIRU.js.map → chunk-XQVGHRC3.js.map} +0 -0
  97. /package/dist/{chunk-6HBMN6GZ.js.map → chunk-Y55CT2MJ.js.map} +0 -0
  98. /package/dist/{chunk-WT4BJODZ.js.map → chunk-YPL45FXE.js.map} +0 -0
  99. /package/dist/{chunk-2DE5L734.js.map → chunk-ZACQ3LNP.js.map} +0 -0
  100. /package/dist/{cli-circuit-breaker-PJOQTGFZ.js.map → cli-circuit-breaker-3YGAGGQS.js.map} +0 -0
  101. /package/dist/{composite-router-IRXFQSB6.js.map → composite-router-7KMRFNML.js.map} +0 -0
  102. /package/dist/{consensus-vote-O6Q266QE.js.map → consensus-vote-UZPXZYDV.js.map} +0 -0
  103. /package/dist/{context-retriever-GO6ET3MF.js.map → context-retriever-E2ODPG63.js.map} +0 -0
  104. /package/dist/{doctor-deep-6HCHHMRP.js.map → doctor-deep-JR4233A2.js.map} +0 -0
  105. /package/dist/{expert-bridge-6OLG6THF.js.map → expert-bridge-57MAWJI5.js.map} +0 -0
  106. /package/dist/{factory-7OM526WB.js.map → factory-DVQHPLLB.js.map} +0 -0
  107. /package/dist/{factory-MJFGYMNE.js.map → factory-HU42NWNS.js.map} +0 -0
  108. /package/dist/{improvement-review-PALAAG7V.js.map → improvement-review-OE4IWSM7.js.map} +0 -0
  109. /package/dist/{init-opencode-NUMHNVIF.js.map → init-opencode-XPRV3ACM.js.map} +0 -0
  110. /package/dist/{issue-triage-N7GFXNPY.js.map → issue-triage-K4SKQZXN.js.map} +0 -0
  111. /package/dist/{pr-reviewer-helpers-6EIUJPXS.js.map → pr-reviewer-helpers-JK6CQHLB.js.map} +0 -0
  112. /package/dist/{registry-command-SVTX7FKB.js.map → registry-command-PYGS32IQ.js.map} +0 -0
  113. /package/dist/{repo-security-plan-AT7LOXLG.js.map → repo-security-plan-ZN7OAQXM.js.map} +0 -0
  114. /package/dist/{research-helpers-synthesize-R722YWRS.js.map → research-helpers-synthesize-HW2WCZW2.js.map} +0 -0
  115. /package/dist/{routing-memory-4FXQT5H6.js.map → routing-memory-PVWEIQKB.js.map} +0 -0
  116. /package/dist/{session-memory-ZQJ6AUSQ.js.map → session-memory-BW7CXWYZ.js.map} +0 -0
  117. /package/dist/{setup-command-IYBRT734.js.map → setup-command-7HZJ6MIC.js.map} +0 -0
  118. /package/dist/{setup-config-MYLZ2UHR.js.map → setup-config-DLPAGDHV.js.map} +0 -0
  119. /package/dist/{setup-custom-api-WZPLTGRQ.js.map → setup-custom-api-2W5OCVOB.js.map} +0 -0
  120. /package/dist/{tool-memory-5REJXBCB.js.map → tool-memory-CMC5JJSS.js.map} +0 -0
  121. /package/dist/{unified-registry-FM3QB2VN.js.map → unified-registry-EUB7DSZW.js.map} +0 -0
  122. /package/dist/{weather-report-Y2GYJA6I.js.map → weather-report-EFIVYPZD.js.map} +0 -0
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-YAF73ZMR.js";
4
4
  import {
5
5
  createLogger
6
- } from "./chunk-CNHPSIHY.js";
6
+ } from "./chunk-QWA5PQMD.js";
7
7
  import "./chunk-2HUC6NZN.js";
8
8
  import "./chunk-OQLFRJCW.js";
9
9
  import "./chunk-ZPWHCABL.js";
@@ -62,4 +62,4 @@ export {
62
62
  generateMcpConfig,
63
63
  getDefaultAllowedTools
64
64
  };
65
- //# sourceMappingURL=child-mcp-config-HPWYQFLG.js.map
65
+ //# sourceMappingURL=child-mcp-config-2NY3IO7I.js.map
@@ -3,7 +3,7 @@ import {
3
3
  createLogger,
4
4
  err,
5
5
  ok
6
- } from "./chunk-CNHPSIHY.js";
6
+ } from "./chunk-QWA5PQMD.js";
7
7
 
8
8
  // src/adapters/sdk/types.ts
9
9
  var PROVIDER_ENV_KEYS = {
@@ -169,4 +169,4 @@ export {
169
169
  validateCustomApiBaseUrl,
170
170
  assertCustomApiHostResolvesPublic
171
171
  };
172
- //# sourceMappingURL=chunk-ECBV4JNL.js.map
172
+ //# sourceMappingURL=chunk-24OVHAMU.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-CNHPSIHY.js";
5
+ } from "./chunk-QWA5PQMD.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-7TXEBDRM.js.map
109
+ //# sourceMappingURL=chunk-AJKGJM5O.js.map
@@ -11,7 +11,7 @@ import {
11
11
  createGetRetryConfig,
12
12
  createGetTimeout,
13
13
  createGetToolRateLimit
14
- } from "./chunk-CNHPSIHY.js";
14
+ } from "./chunk-QWA5PQMD.js";
15
15
 
16
16
  // src/config/defaults.ts
17
17
  var CUSTOM_API_DEFAULT_MODEL = "gpt-5.5";
@@ -230,4 +230,4 @@ export {
230
230
  CUSTOM_API_DEFAULT_MODEL,
231
231
  DEFAULTS
232
232
  };
233
- //# sourceMappingURL=chunk-WMV2CXBB.js.map
233
+ //# sourceMappingURL=chunk-B7SSHUWQ.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  runConfigInitSync
3
- } from "./chunk-Z55WHIRU.js";
3
+ } from "./chunk-XQVGHRC3.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-LGBCHTC6.js";
11
+ } from "./chunk-HPMZX4EA.js";
12
12
  import {
13
13
  BUILT_IN_EXPERTS
14
14
  } from "./chunk-YPNQPT2F.js";
15
15
  import {
16
16
  probeAllClis
17
- } from "./chunk-N3XDPW64.js";
17
+ } from "./chunk-V7JUMHM5.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-CNHPSIHY.js";
28
+ } from "./chunk-QWA5PQMD.js";
29
29
  import {
30
30
  ensureGitignored,
31
31
  findRepoRoot
@@ -2001,4 +2001,4 @@ export {
2001
2001
  setupCommand,
2002
2002
  setupCommandAsync
2003
2003
  };
2004
- //# sourceMappingURL=chunk-ZOOSSM7D.js.map
2004
+ //# sourceMappingURL=chunk-BH6M6DMT.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-46XEDJRB.js";
3
+ } from "./chunk-RAIB4I6R.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-CNHPSIHY.js";
6
+ } from "./chunk-QWA5PQMD.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-JGL5HYZL.js.map
879
+ //# sourceMappingURL=chunk-BJ2Z2XBW.js.map
@@ -11,7 +11,7 @@ import {
11
11
  isRateLimitLikeError,
12
12
  lookupInTreeCapability,
13
13
  ok
14
- } from "./chunk-CNHPSIHY.js";
14
+ } from "./chunk-QWA5PQMD.js";
15
15
 
16
16
  // src/config/model-parameter-support.ts
17
17
  function parseClaudeMajorMinor(bareId) {
@@ -828,4 +828,4 @@ export {
828
828
  DEFAULT_COLLECT_STREAM_MAX_CHUNKS,
829
829
  collectStream
830
830
  };
831
- //# sourceMappingURL=chunk-QI5U2YUL.js.map
831
+ //# sourceMappingURL=chunk-C37G7YLN.js.map
@@ -2,7 +2,7 @@ import {
2
2
  CACHE_TIMEOUTS,
3
3
  createLogger,
4
4
  getTimeProvider
5
- } from "./chunk-CNHPSIHY.js";
5
+ } from "./chunk-QWA5PQMD.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-YU2JCUM7.js.map
563
+ //# sourceMappingURL=chunk-CGLVSYSZ.js.map
@@ -9,11 +9,11 @@ import {
9
9
  gateWithReputation,
10
10
  resolveReputationGatingMode,
11
11
  sanitizeInput
12
- } from "./chunk-YU2JCUM7.js";
12
+ } from "./chunk-CGLVSYSZ.js";
13
13
  import {
14
14
  createLogger,
15
15
  getTimeProvider
16
- } from "./chunk-CNHPSIHY.js";
16
+ } from "./chunk-QWA5PQMD.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-5LTRHNOI.js.map
291
+ //# sourceMappingURL=chunk-D3NRM4TE.js.map
@@ -1,19 +1,19 @@
1
1
  import {
2
2
  resolveToken
3
- } from "./chunk-JRKF4FYO.js";
3
+ } from "./chunk-HHPW44FI.js";
4
4
  import {
5
5
  REGISTRY_PATH,
6
6
  getProjectRoot,
7
7
  loadPapersRegistry,
8
8
  loadTechniquesRegistry,
9
9
  savePapersRegistry
10
- } from "./chunk-46XEDJRB.js";
10
+ } from "./chunk-RAIB4I6R.js";
11
11
  import {
12
12
  resolveInsideRoot
13
13
  } from "./chunk-NUBSJGQZ.js";
14
14
  import {
15
15
  getToolMemory
16
- } from "./chunk-NQU4LNN7.js";
16
+ } from "./chunk-SXHG5CV3.js";
17
17
  import {
18
18
  capitalizeWords,
19
19
  truncateSentence
@@ -38,7 +38,7 @@ import {
38
38
  getTimeProvider,
39
39
  ok,
40
40
  registerPersistentDistillerFactory
41
- } from "./chunk-CNHPSIHY.js";
41
+ } from "./chunk-QWA5PQMD.js";
42
42
  import {
43
43
  ensureLearningDir,
44
44
  getRulesFile
@@ -4090,4 +4090,4 @@ export {
4090
4090
  DEFAULT_CONTEXT_BUDGET_TOKENS,
4091
4091
  getContextPromptPrefix
4092
4092
  };
4093
- //# sourceMappingURL=chunk-CGD63GSC.js.map
4093
+ //# sourceMappingURL=chunk-DTGMWK7P.js.map
@@ -1,11 +1,11 @@
1
1
  import {
2
2
  resolveCliSlot
3
- } from "./chunk-J55NMZ7R.js";
3
+ } from "./chunk-TQ7PVJPM.js";
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider,
7
7
  isRateLimitText
8
- } from "./chunk-CNHPSIHY.js";
8
+ } from "./chunk-QWA5PQMD.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-HPWYQFLG.js");
24
+ const { generateMcpConfig } = await import("./child-mcp-config-2NY3IO7I.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-7OM526WB.js");
97
- const { createCompositeRouter } = await import("./composite-router-IRXFQSB6.js");
96
+ const { createAllAdapters } = await import("./factory-DVQHPLLB.js");
97
+ const { createCompositeRouter } = await import("./composite-router-7KMRFNML.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-PJOQTGFZ.js");
105
+ const { createCliCircuitBreakerIntegration } = await import("./cli-circuit-breaker-3YGAGGQS.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-G5URP3V7.js.map
216
+ //# sourceMappingURL=chunk-EA7T6C5F.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  createAutoAdapter
3
- } from "./chunk-N3XDPW64.js";
3
+ } from "./chunk-V7JUMHM5.js";
4
4
  import {
5
5
  mapModelErrorToCategory
6
- } from "./chunk-5ALUADB6.js";
6
+ } from "./chunk-UGI7KJMY.js";
7
7
  import {
8
8
  CLI_NAMES,
9
9
  CircularBuffer,
@@ -21,7 +21,7 @@ import {
21
21
  ok,
22
22
  recordRateLimitEvent,
23
23
  toRateLimitError
24
- } from "./chunk-CNHPSIHY.js";
24
+ } from "./chunk-QWA5PQMD.js";
25
25
 
26
26
  // src/agents/collaboration/event-bus-helpers.ts
27
27
  import { randomUUID } from "crypto";
@@ -833,4 +833,4 @@ export {
833
833
  getGlobalRegistry,
834
834
  resetGlobalRegistry
835
835
  };
836
- //# sourceMappingURL=chunk-QQ3CUUBU.js.map
836
+ //# sourceMappingURL=chunk-GOYPDUD2.js.map
@@ -2,7 +2,7 @@ import {
2
2
  createLogger,
3
3
  err,
4
4
  ok
5
- } from "./chunk-CNHPSIHY.js";
5
+ } from "./chunk-QWA5PQMD.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-JRKF4FYO.js.map
90
+ //# sourceMappingURL=chunk-HHPW44FI.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-CNHPSIHY.js";
7
+ } from "./chunk-QWA5PQMD.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-J4BGV5VE.js.map
724
+ //# sourceMappingURL=chunk-HK5NM5NS.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  readOpenAICompatEnv
3
- } from "./chunk-WT4BJODZ.js";
3
+ } from "./chunk-YPL45FXE.js";
4
4
  import {
5
5
  resolveInsideRoot
6
6
  } from "./chunk-NUBSJGQZ.js";
@@ -10,10 +10,10 @@ import {
10
10
  import {
11
11
  createAllAdapters,
12
12
  probeCli
13
- } from "./chunk-N3XDPW64.js";
13
+ } from "./chunk-V7JUMHM5.js";
14
14
  import {
15
15
  DEFAULTS
16
- } from "./chunk-WMV2CXBB.js";
16
+ } from "./chunk-B7SSHUWQ.js";
17
17
  import {
18
18
  CliNameSchema,
19
19
  DEFAULT_CAPABILITIES,
@@ -30,7 +30,7 @@ import {
30
30
  ok,
31
31
  symbols,
32
32
  writeLine
33
- } from "./chunk-CNHPSIHY.js";
33
+ } from "./chunk-QWA5PQMD.js";
34
34
  import {
35
35
  getLearningDir,
36
36
  getOutcomesFile,
@@ -46,7 +46,7 @@ import {
46
46
  } from "./chunk-OQLFRJCW.js";
47
47
 
48
48
  // src/version.ts
49
- var VERSION = true ? "2.176.2" : "dev";
49
+ var VERSION = true ? "2.177.1" : "dev";
50
50
 
51
51
  // src/config/schemas-core.ts
52
52
  import { z } from "zod";
@@ -2188,7 +2188,7 @@ async function runDoctorFix(result) {
2188
2188
  writeLine2("\u2500".repeat(40));
2189
2189
  let fixCount = 0;
2190
2190
  if (!result.dataDirectory.rootExists || result.dataDirectory.subdirectories.some((d) => !d.exists || !d.writable)) {
2191
- const { runSetup } = await import("./setup-command-IYBRT734.js");
2191
+ const { runSetup } = await import("./setup-command-7HZJ6MIC.js");
2192
2192
  const setupResult = runSetup({
2193
2193
  skipMcp: true,
2194
2194
  skipRules: true,
@@ -2202,7 +2202,7 @@ async function runDoctorFix(result) {
2202
2202
  }
2203
2203
  }
2204
2204
  if (!result.configFile.found) {
2205
- const { runConfigInitSync } = await import("./setup-config-MYLZ2UHR.js");
2205
+ const { runConfigInitSync } = await import("./setup-config-DLPAGDHV.js");
2206
2206
  const configResult = runConfigInitSync(process.cwd(), false, false);
2207
2207
  if (configResult.success && configResult.created) {
2208
2208
  writeLine2(`\u2713 Generated config: ${configResult.path}`);
@@ -2301,4 +2301,4 @@ export {
2301
2301
  startStdioServer,
2302
2302
  closeServer
2303
2303
  };
2304
- //# sourceMappingURL=chunk-LGBCHTC6.js.map
2304
+ //# sourceMappingURL=chunk-HPMZX4EA.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-2DE5L734.js";
4
+ } from "./chunk-ZACQ3LNP.js";
5
5
  import {
6
6
  ROLE_DEFAULT_TRUST,
7
7
  ReputationCache,
@@ -11,17 +11,17 @@ import {
11
11
  gateWithReputation,
12
12
  resolveReputationGatingMode,
13
13
  sanitizeInput
14
- } from "./chunk-YU2JCUM7.js";
14
+ } from "./chunk-CGLVSYSZ.js";
15
15
  import {
16
16
  emitPolicyEvent
17
- } from "./chunk-G42V4A5Q.js";
17
+ } from "./chunk-M6PKLT5H.js";
18
18
  import {
19
19
  CLI_SUBPROCESS_TIMEOUTS,
20
20
  createLogger,
21
21
  err,
22
22
  getTimeProvider,
23
23
  ok
24
- } from "./chunk-CNHPSIHY.js";
24
+ } from "./chunk-QWA5PQMD.js";
25
25
 
26
26
  // src/security/trust-classifier.ts
27
27
  function mapAuthorAssociation(association) {
@@ -1211,4 +1211,4 @@ export {
1211
1211
  IssueTriage,
1212
1212
  createIssueTriage
1213
1213
  };
1214
- //# sourceMappingURL=chunk-5YXHHEAG.js.map
1214
+ //# sourceMappingURL=chunk-J7E7HJFP.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  computeCostDetail
3
- } from "./chunk-4S6S6S2S.js";
3
+ } from "./chunk-WOXLLMGZ.js";
4
4
  import {
5
5
  DEFAULT_CONSENSUS_CONFIG,
6
6
  DEFAULT_INCREMENTAL_QUORUM_CONFIG,
@@ -18,20 +18,20 @@ import {
18
18
  toolSuccess,
19
19
  withProgressHeartbeat,
20
20
  wrapToolWithTimeout
21
- } from "./chunk-XAWRBQB7.js";
21
+ } from "./chunk-SSG6OBML.js";
22
22
  import {
23
23
  createEvent,
24
24
  getGlobalRegistry
25
- } from "./chunk-QQ3CUUBU.js";
25
+ } from "./chunk-GOYPDUD2.js";
26
26
  import {
27
27
  getToolMemory
28
- } from "./chunk-NQU4LNN7.js";
28
+ } from "./chunk-SXHG5CV3.js";
29
29
  import {
30
30
  authRemediation,
31
31
  delay,
32
32
  getAvailableClis,
33
33
  withTimeout
34
- } from "./chunk-N3XDPW64.js";
34
+ } from "./chunk-V7JUMHM5.js";
35
35
  import {
36
36
  AgentError,
37
37
  CLI_NAMES,
@@ -60,7 +60,7 @@ import {
60
60
  resolveClassGuardMs,
61
61
  resolveModelIdentitySync,
62
62
  resolveVoteTimeout
63
- } from "./chunk-CNHPSIHY.js";
63
+ } from "./chunk-QWA5PQMD.js";
64
64
  import {
65
65
  ensureLearningDir,
66
66
  getOutcomesFile
@@ -5926,7 +5926,7 @@ async function processVotesWithCascade(engineVotes, opts) {
5926
5926
  var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
5927
5927
  async function runContrarianCheck(proposal, log) {
5928
5928
  try {
5929
- const { executeExpert } = await import("./expert-bridge-6OLG6THF.js");
5929
+ const { executeExpert } = await import("./expert-bridge-57MAWJI5.js");
5930
5930
  const prompt = [
5931
5931
  "You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
5932
5932
  "Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
@@ -6453,4 +6453,4 @@ export {
6453
6453
  CONSENSUS_VOTE_OUTPUT_SCHEMA,
6454
6454
  registerConsensusVoteTool
6455
6455
  };
6456
- //# sourceMappingURL=chunk-4OPEUDHY.js.map
6456
+ //# sourceMappingURL=chunk-LUKYSB7V.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getTimeProvider
3
- } from "./chunk-CNHPSIHY.js";
3
+ } from "./chunk-QWA5PQMD.js";
4
4
 
5
5
  // src/security/audit-trail.ts
6
6
  var MAX_EVENTS = 1e4;
@@ -205,4 +205,4 @@ export {
205
205
  createGraphAuditBridge,
206
206
  createAuditTrail
207
207
  };
208
- //# sourceMappingURL=chunk-G42V4A5Q.js.map
208
+ //# sourceMappingURL=chunk-M6PKLT5H.js.map
@@ -1,14 +1,14 @@
1
1
  import {
2
2
  GitHubProvider,
3
3
  ScmError
4
- } from "./chunk-2DE5L734.js";
4
+ } from "./chunk-ZACQ3LNP.js";
5
5
  import {
6
6
  resolveToken
7
- } from "./chunk-JRKF4FYO.js";
7
+ } from "./chunk-HHPW44FI.js";
8
8
  import {
9
9
  err,
10
10
  ok
11
- } from "./chunk-CNHPSIHY.js";
11
+ } from "./chunk-QWA5PQMD.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-XZJU6WLL.js.map
44
+ //# sourceMappingURL=chunk-N5ZOCMEK.js.map
@@ -2085,9 +2085,8 @@ var ModelCapabilitySchema = z.object({
2085
2085
  /** Whether this model is deprecated and should receive a scoring penalty */
2086
2086
  deprecated: z.boolean().optional(),
2087
2087
  /** ISO date when the model was deprecated (informational) */
2088
- deprecatedAt: z.string().optional(),
2088
+ deprecatedAt: z.string().optional()
2089
2089
  /** Model ID to migrate to (informational guidance) */
2090
- replacedBy: z.enum(MODEL_IDS).optional()
2091
2090
  });
2092
2091
  var ModelCapabilitiesMatrixSchema = z.object({
2093
2092
  /** Schema version for forward compatibility */
@@ -2624,7 +2623,7 @@ function setDefaultRegistry(registry) {
2624
2623
  }
2625
2624
  async function reloadDefaultRegistry() {
2626
2625
  globalRegistry = buildDefaultRegistry();
2627
- const { resetGlobalRegistry } = await import("./unified-registry-FM3QB2VN.js");
2626
+ const { resetGlobalRegistry } = await import("./unified-registry-EUB7DSZW.js");
2628
2627
  resetGlobalRegistry();
2629
2628
  return globalRegistry;
2630
2629
  }
@@ -11838,7 +11837,8 @@ var DecisionCostSummarySchema = z15.object({
11838
11837
  )
11839
11838
  });
11840
11839
  function isMeasured(v) {
11841
- return v.costUsd !== void 0;
11840
+ const reportedTokens = v.inputTokens !== void 0 || v.outputTokens !== void 0;
11841
+ return v.costUsd !== void 0 && reportedTokens;
11842
11842
  }
11843
11843
  function roundUsd2(usd) {
11844
11844
  return Math.round(usd * 1e6) / 1e6;
@@ -14414,7 +14414,7 @@ var CompositeRouter = class _CompositeRouter {
14414
14414
  */
14415
14415
  async consultUnifiedContext(task) {
14416
14416
  try {
14417
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-GO6ET3MF.js");
14417
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-E2ODPG63.js");
14418
14418
  const ctx = await getContextForTask({
14419
14419
  task: task.content,
14420
14420
  category: inferTaskCategory(task.content),
@@ -16004,4 +16004,4 @@ export {
16004
16004
  AgentCapability,
16005
16005
  OrchestratorError
16006
16006
  };
16007
- //# sourceMappingURL=chunk-CNHPSIHY.js.map
16007
+ //# sourceMappingURL=chunk-QWA5PQMD.js.map