nexus-agents 2.160.2 → 2.161.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (124) hide show
  1. package/dist/{child-mcp-config-JHX6JCF5.js → child-mcp-config-CR5HFAFF.js} +2 -2
  2. package/dist/{chunk-BKPBAXWH.js → chunk-2XOUYCGO.js} +4 -4
  3. package/dist/{chunk-2CGJSTYK.js → chunk-3B2WRRTU.js} +2 -2
  4. package/dist/{chunk-2QDZ2L2C.js → chunk-3CPGHAZN.js} +2 -2
  5. package/dist/{chunk-LB5AD6JX.js → chunk-5VYWG6N4.js} +8 -8
  6. package/dist/{chunk-6EUEK2T5.js → chunk-6QOMNQAM.js} +2 -2
  7. package/dist/{chunk-INQLVBAM.js → chunk-7ABXSM2X.js} +2 -2
  8. package/dist/{chunk-3CPGLNSD.js → chunk-AYTV4P26.js} +34 -34
  9. package/dist/{chunk-TID366GJ.js → chunk-B3FRHPJW.js} +3 -3
  10. package/dist/{chunk-WFGGF6RQ.js → chunk-B4DIA6YS.js} +2 -2
  11. package/dist/{chunk-H2HAB3EW.js → chunk-B6CLLXZB.js} +3 -3
  12. package/dist/{chunk-24ALAT2O.js → chunk-CWVPSHEP.js} +2 -2
  13. package/dist/{chunk-RHY46PYV.js → chunk-DMFDSHOQ.js} +2 -2
  14. package/dist/{chunk-URIRSUQQ.js → chunk-DTBU4J67.js} +2 -2
  15. package/dist/{chunk-7NOWAN4D.js → chunk-E5XTAHAS.js} +85 -7
  16. package/dist/chunk-E5XTAHAS.js.map +1 -0
  17. package/dist/{chunk-PXIGNQWU.js → chunk-E7SVEDLI.js} +3 -3
  18. package/dist/{chunk-32ZVVATK.js → chunk-FE4TTIW7.js} +3 -3
  19. package/dist/{chunk-6DJ7WISU.js → chunk-FKXR4ELM.js} +2 -2
  20. package/dist/{chunk-4KRO6NTX.js → chunk-HUXMIDNV.js} +2 -2
  21. package/dist/chunk-HUXMIDNV.js.map +1 -0
  22. package/dist/{chunk-PRERQSR2.js → chunk-I3RJEXY2.js} +2 -2
  23. package/dist/{chunk-J2SLPVMA.js → chunk-KFWCF32D.js} +4 -4
  24. package/dist/{chunk-4JKJEEMP.js → chunk-LEMQDF4W.js} +7 -7
  25. package/dist/{chunk-W75MNLLK.js → chunk-MMPZLMSH.js} +2 -2
  26. package/dist/{chunk-JRQSJ2L7.js → chunk-MONR3CEL.js} +4 -4
  27. package/dist/{chunk-AMU753KU.js → chunk-OB4N36EY.js} +7 -7
  28. package/dist/{chunk-3QHURPW4.js → chunk-PLEB6SON.js} +5 -5
  29. package/dist/{chunk-WZJK5ZK3.js → chunk-POHORI2I.js} +2 -2
  30. package/dist/{chunk-3Y44T42S.js → chunk-QWZOEVR6.js} +4 -4
  31. package/dist/{chunk-CDJJ3CL2.js → chunk-RV6S6OZJ.js} +5 -5
  32. package/dist/{chunk-DDAYKDEB.js → chunk-SDJQ2H7V.js} +2 -2
  33. package/dist/{chunk-AL3PRVJG.js → chunk-THE4NODE.js} +3 -3
  34. package/dist/{chunk-4TLU7JJA.js → chunk-TVPLAB4X.js} +7 -7
  35. package/dist/{chunk-LPFOSO5W.js → chunk-VV45XQVW.js} +5 -5
  36. package/dist/{chunk-NSPJHKKJ.js → chunk-VWOMHATO.js} +3 -3
  37. package/dist/{chunk-3XMAIPFB.js → chunk-WVKEKRZZ.js} +2 -2
  38. package/dist/{cli-circuit-breaker-3MA2YHO4.js → cli-circuit-breaker-ISW6F7DI.js} +4 -4
  39. package/dist/cli.d.ts +1 -1
  40. package/dist/cli.js +41 -41
  41. package/dist/{composite-router-XNE5Q3YF.js → composite-router-PB4ZVWUH.js} +2 -2
  42. package/dist/{consensus-vote-4CU3EY7H.js → consensus-vote-FVKOLIPS.js} +15 -15
  43. package/dist/{consensus-vote-types-DB3SmULO.d.ts → consensus-vote-types-BlbNhK1n.d.ts} +1 -1
  44. package/dist/{context-retriever-VOPNSCRI.js → context-retriever-TGIQ6FNS.js} +8 -8
  45. package/dist/{doctor-deep-LPZ7X4MY.js → doctor-deep-VEFTQZMR.js} +3 -3
  46. package/dist/{expert-bridge-WDVNKIO3.js → expert-bridge-SFBHTNIB.js} +4 -4
  47. package/dist/{factory-Q4FUNYFK.js → factory-DEO5DAXZ.js} +8 -8
  48. package/dist/{factory-3KFIWW2N.js → factory-NF7WS67L.js} +5 -5
  49. package/dist/{improvement-review-SUVEFV7C.js → improvement-review-AFDZO6PL.js} +5 -5
  50. package/dist/index.d.ts +2 -2
  51. package/dist/index.js +30 -30
  52. package/dist/{init-opencode-IU3SEIHV.js → init-opencode-ELTBZAIN.js} +6 -6
  53. package/dist/{issue-triage-PF2WKXHL.js → issue-triage-3WL7PW26.js} +6 -6
  54. package/dist/{pr-reviewer-helpers-UR7WCAGK.js → pr-reviewer-helpers-7ES4HWFC.js} +4 -4
  55. package/dist/{registry-command-IHDL7SMW.js → registry-command-3AXI4JXN.js} +2 -2
  56. package/dist/{repo-security-plan-YNCJQ2YC.js → repo-security-plan-CTK2K2K7.js} +3 -3
  57. package/dist/{research-helpers-synthesize-FUY4WVHY.js → research-helpers-synthesize-ICHGZ3TE.js} +4 -4
  58. package/dist/{routing-memory-CRRV6C4D.js → routing-memory-CSIJCK3H.js} +2 -2
  59. package/dist/{session-memory-JLWKMKZI.js → session-memory-EYZALDQ2.js} +3 -3
  60. package/dist/{setup-command-Q23UB7WS.js → setup-command-YFY4HEOU.js} +11 -11
  61. package/dist/{setup-config-DXN6CAOG.js → setup-config-3IJFI55J.js} +3 -3
  62. package/dist/{setup-custom-api-NKK2CNLH.js → setup-custom-api-MS2SBFTP.js} +3 -3
  63. package/dist/{tool-memory-JUZW6R3I.js → tool-memory-WD3LOBUM.js} +5 -5
  64. package/dist/{unified-registry-3ROGZFAX.js → unified-registry-D7EF252L.js} +9 -9
  65. package/dist/{weather-report-5MYASHFK.js → weather-report-V2GTV5MW.js} +2 -2
  66. package/package.json +1 -1
  67. package/dist/chunk-4KRO6NTX.js.map +0 -1
  68. package/dist/chunk-7NOWAN4D.js.map +0 -1
  69. /package/dist/{child-mcp-config-JHX6JCF5.js.map → child-mcp-config-CR5HFAFF.js.map} +0 -0
  70. /package/dist/{chunk-BKPBAXWH.js.map → chunk-2XOUYCGO.js.map} +0 -0
  71. /package/dist/{chunk-2CGJSTYK.js.map → chunk-3B2WRRTU.js.map} +0 -0
  72. /package/dist/{chunk-2QDZ2L2C.js.map → chunk-3CPGHAZN.js.map} +0 -0
  73. /package/dist/{chunk-LB5AD6JX.js.map → chunk-5VYWG6N4.js.map} +0 -0
  74. /package/dist/{chunk-6EUEK2T5.js.map → chunk-6QOMNQAM.js.map} +0 -0
  75. /package/dist/{chunk-INQLVBAM.js.map → chunk-7ABXSM2X.js.map} +0 -0
  76. /package/dist/{chunk-3CPGLNSD.js.map → chunk-AYTV4P26.js.map} +0 -0
  77. /package/dist/{chunk-TID366GJ.js.map → chunk-B3FRHPJW.js.map} +0 -0
  78. /package/dist/{chunk-WFGGF6RQ.js.map → chunk-B4DIA6YS.js.map} +0 -0
  79. /package/dist/{chunk-H2HAB3EW.js.map → chunk-B6CLLXZB.js.map} +0 -0
  80. /package/dist/{chunk-24ALAT2O.js.map → chunk-CWVPSHEP.js.map} +0 -0
  81. /package/dist/{chunk-RHY46PYV.js.map → chunk-DMFDSHOQ.js.map} +0 -0
  82. /package/dist/{chunk-URIRSUQQ.js.map → chunk-DTBU4J67.js.map} +0 -0
  83. /package/dist/{chunk-PXIGNQWU.js.map → chunk-E7SVEDLI.js.map} +0 -0
  84. /package/dist/{chunk-32ZVVATK.js.map → chunk-FE4TTIW7.js.map} +0 -0
  85. /package/dist/{chunk-6DJ7WISU.js.map → chunk-FKXR4ELM.js.map} +0 -0
  86. /package/dist/{chunk-PRERQSR2.js.map → chunk-I3RJEXY2.js.map} +0 -0
  87. /package/dist/{chunk-J2SLPVMA.js.map → chunk-KFWCF32D.js.map} +0 -0
  88. /package/dist/{chunk-4JKJEEMP.js.map → chunk-LEMQDF4W.js.map} +0 -0
  89. /package/dist/{chunk-W75MNLLK.js.map → chunk-MMPZLMSH.js.map} +0 -0
  90. /package/dist/{chunk-JRQSJ2L7.js.map → chunk-MONR3CEL.js.map} +0 -0
  91. /package/dist/{chunk-AMU753KU.js.map → chunk-OB4N36EY.js.map} +0 -0
  92. /package/dist/{chunk-3QHURPW4.js.map → chunk-PLEB6SON.js.map} +0 -0
  93. /package/dist/{chunk-WZJK5ZK3.js.map → chunk-POHORI2I.js.map} +0 -0
  94. /package/dist/{chunk-3Y44T42S.js.map → chunk-QWZOEVR6.js.map} +0 -0
  95. /package/dist/{chunk-CDJJ3CL2.js.map → chunk-RV6S6OZJ.js.map} +0 -0
  96. /package/dist/{chunk-DDAYKDEB.js.map → chunk-SDJQ2H7V.js.map} +0 -0
  97. /package/dist/{chunk-AL3PRVJG.js.map → chunk-THE4NODE.js.map} +0 -0
  98. /package/dist/{chunk-4TLU7JJA.js.map → chunk-TVPLAB4X.js.map} +0 -0
  99. /package/dist/{chunk-LPFOSO5W.js.map → chunk-VV45XQVW.js.map} +0 -0
  100. /package/dist/{chunk-NSPJHKKJ.js.map → chunk-VWOMHATO.js.map} +0 -0
  101. /package/dist/{chunk-3XMAIPFB.js.map → chunk-WVKEKRZZ.js.map} +0 -0
  102. /package/dist/{cli-circuit-breaker-3MA2YHO4.js.map → cli-circuit-breaker-ISW6F7DI.js.map} +0 -0
  103. /package/dist/{composite-router-XNE5Q3YF.js.map → composite-router-PB4ZVWUH.js.map} +0 -0
  104. /package/dist/{consensus-vote-4CU3EY7H.js.map → consensus-vote-FVKOLIPS.js.map} +0 -0
  105. /package/dist/{context-retriever-VOPNSCRI.js.map → context-retriever-TGIQ6FNS.js.map} +0 -0
  106. /package/dist/{doctor-deep-LPZ7X4MY.js.map → doctor-deep-VEFTQZMR.js.map} +0 -0
  107. /package/dist/{expert-bridge-WDVNKIO3.js.map → expert-bridge-SFBHTNIB.js.map} +0 -0
  108. /package/dist/{factory-3KFIWW2N.js.map → factory-DEO5DAXZ.js.map} +0 -0
  109. /package/dist/{factory-Q4FUNYFK.js.map → factory-NF7WS67L.js.map} +0 -0
  110. /package/dist/{improvement-review-SUVEFV7C.js.map → improvement-review-AFDZO6PL.js.map} +0 -0
  111. /package/dist/{init-opencode-IU3SEIHV.js.map → init-opencode-ELTBZAIN.js.map} +0 -0
  112. /package/dist/{issue-triage-PF2WKXHL.js.map → issue-triage-3WL7PW26.js.map} +0 -0
  113. /package/dist/{pr-reviewer-helpers-UR7WCAGK.js.map → pr-reviewer-helpers-7ES4HWFC.js.map} +0 -0
  114. /package/dist/{registry-command-IHDL7SMW.js.map → registry-command-3AXI4JXN.js.map} +0 -0
  115. /package/dist/{repo-security-plan-YNCJQ2YC.js.map → repo-security-plan-CTK2K2K7.js.map} +0 -0
  116. /package/dist/{research-helpers-synthesize-FUY4WVHY.js.map → research-helpers-synthesize-ICHGZ3TE.js.map} +0 -0
  117. /package/dist/{routing-memory-CRRV6C4D.js.map → routing-memory-CSIJCK3H.js.map} +0 -0
  118. /package/dist/{session-memory-JLWKMKZI.js.map → session-memory-EYZALDQ2.js.map} +0 -0
  119. /package/dist/{setup-command-Q23UB7WS.js.map → setup-command-YFY4HEOU.js.map} +0 -0
  120. /package/dist/{setup-config-DXN6CAOG.js.map → setup-config-3IJFI55J.js.map} +0 -0
  121. /package/dist/{setup-custom-api-NKK2CNLH.js.map → setup-custom-api-MS2SBFTP.js.map} +0 -0
  122. /package/dist/{tool-memory-JUZW6R3I.js.map → tool-memory-WD3LOBUM.js.map} +0 -0
  123. /package/dist/{unified-registry-3ROGZFAX.js.map → unified-registry-D7EF252L.js.map} +0 -0
  124. /package/dist/{weather-report-5MYASHFK.js.map → weather-report-V2GTV5MW.js.map} +0 -0
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createLogger
3
- } from "./chunk-7NOWAN4D.js";
3
+ } from "./chunk-E5XTAHAS.js";
4
4
  import "./chunk-NL7SZQPW.js";
5
5
  import "./chunk-DHVMSIT5.js";
6
6
  import "./chunk-ZPWHCABL.js";
@@ -60,4 +60,4 @@ export {
60
60
  generateMcpConfig,
61
61
  getDefaultAllowedTools
62
62
  };
63
- //# sourceMappingURL=child-mcp-config-JHX6JCF5.js.map
63
+ //# sourceMappingURL=child-mcp-config-CR5HFAFF.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  OpenAIAdapter
3
- } from "./chunk-AL3PRVJG.js";
3
+ } from "./chunk-THE4NODE.js";
4
4
  import {
5
5
  computeCostDetail,
6
6
  recordUsageEvent
7
- } from "./chunk-WFGGF6RQ.js";
7
+ } from "./chunk-B4DIA6YS.js";
8
8
  import {
9
9
  ConfigError,
10
10
  createLogger,
@@ -12,7 +12,7 @@ import {
12
12
  getErrorMessage,
13
13
  getTimeProvider,
14
14
  ok
15
- } from "./chunk-7NOWAN4D.js";
15
+ } from "./chunk-E5XTAHAS.js";
16
16
 
17
17
  // src/config/opencode-bridge.ts
18
18
  import { readFileSync } from "fs";
@@ -194,4 +194,4 @@ export {
194
194
  discoverModels,
195
195
  buildOpenAICompatAdapters
196
196
  };
197
- //# sourceMappingURL=chunk-BKPBAXWH.js.map
197
+ //# sourceMappingURL=chunk-2XOUYCGO.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getErrorMessage
3
- } from "./chunk-7NOWAN4D.js";
3
+ } from "./chunk-E5XTAHAS.js";
4
4
 
5
5
  // src/cli/setup-config.ts
6
6
  import { copyFileSync, existsSync, mkdirSync, writeFileSync } from "fs";
@@ -77,4 +77,4 @@ function ensureBackup(outputPath) {
77
77
  export {
78
78
  runConfigInitSync
79
79
  };
80
- //# sourceMappingURL=chunk-2CGJSTYK.js.map
80
+ //# sourceMappingURL=chunk-3B2WRRTU.js.map
@@ -2,7 +2,7 @@ import {
2
2
  TASK_CATEGORIES,
3
3
  getAdaptiveBonus,
4
4
  getOutcomeStore
5
- } from "./chunk-7NOWAN4D.js";
5
+ } from "./chunk-E5XTAHAS.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-2QDZ2L2C.js.map
109
+ //# sourceMappingURL=chunk-3CPGHAZN.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  computeCostDetail
3
- } from "./chunk-WFGGF6RQ.js";
3
+ } from "./chunk-B4DIA6YS.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-NSPJHKKJ.js";
21
+ } from "./chunk-VWOMHATO.js";
22
22
  import {
23
23
  getToolMemory
24
- } from "./chunk-JRQSJ2L7.js";
24
+ } from "./chunk-MONR3CEL.js";
25
25
  import {
26
26
  createEvent,
27
27
  getGlobalRegistry
28
- } from "./chunk-J2SLPVMA.js";
28
+ } from "./chunk-KFWCF32D.js";
29
29
  import {
30
30
  authRemediation,
31
31
  delay,
32
32
  getAvailableClis,
33
33
  withTimeout
34
- } from "./chunk-4JKJEEMP.js";
34
+ } from "./chunk-LEMQDF4W.js";
35
35
  import {
36
36
  AgentError,
37
37
  CLI_NAMES,
@@ -59,7 +59,7 @@ import {
59
59
  registerPersistentOutcomeStoreFactory,
60
60
  resolveClassGuardMs,
61
61
  resolveVoteTimeout
62
- } from "./chunk-7NOWAN4D.js";
62
+ } from "./chunk-E5XTAHAS.js";
63
63
  import {
64
64
  ensureLearningDir,
65
65
  getOutcomesFile
@@ -5866,7 +5866,7 @@ async function processVotesWithCascade(engineVotes, opts) {
5866
5866
  var CONTRARIAN_ESCALATION_THRESHOLD = 0.8;
5867
5867
  async function runContrarianCheck(proposal, log) {
5868
5868
  try {
5869
- const { executeExpert } = await import("./expert-bridge-WDVNKIO3.js");
5869
+ const { executeExpert } = await import("./expert-bridge-SFBHTNIB.js");
5870
5870
  const prompt = [
5871
5871
  "You are a contrarian analyst. Your job is to find reasons this proposal should be REJECTED.",
5872
5872
  "Look for: YAGNI (not needed), MISALIGNED (wrong tech/architecture), SECURITY_RISK, SCOPE_CREEP.",
@@ -6382,4 +6382,4 @@ export {
6382
6382
  CONSENSUS_VOTE_OUTPUT_SCHEMA,
6383
6383
  registerConsensusVoteTool
6384
6384
  };
6385
- //# sourceMappingURL=chunk-LB5AD6JX.js.map
6385
+ //# sourceMappingURL=chunk-5VYWG6N4.js.map
@@ -8,7 +8,7 @@ import {
8
8
  getErrorMessage,
9
9
  ok,
10
10
  parseBoolEnv
11
- } from "./chunk-7NOWAN4D.js";
11
+ } from "./chunk-E5XTAHAS.js";
12
12
 
13
13
  // src/cli/research-helpers-io.ts
14
14
  import * as fs2 from "fs/promises";
@@ -146,4 +146,4 @@ export {
146
146
  loadPapersRegistry,
147
147
  savePapersRegistry
148
148
  };
149
- //# sourceMappingURL=chunk-6EUEK2T5.js.map
149
+ //# sourceMappingURL=chunk-6QOMNQAM.js.map
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  getRandomProvider,
3
3
  getTimeProvider
4
- } from "./chunk-7NOWAN4D.js";
4
+ } from "./chunk-E5XTAHAS.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-INQLVBAM.js.map
27
+ //# sourceMappingURL=chunk-7ABXSM2X.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  generateSecurityPlan
3
- } from "./chunk-RHY46PYV.js";
3
+ } from "./chunk-DMFDSHOQ.js";
4
4
  import {
5
5
  analyzeGitHubRepo
6
6
  } from "./chunk-HFOQKCD2.js";
@@ -18,10 +18,10 @@ import {
18
18
  DEFAULT_TASK_TTL_MS,
19
19
  DEFAULT_TOOL_RATE_LIMITS,
20
20
  clampTaskTtl
21
- } from "./chunk-AMU753KU.js";
21
+ } from "./chunk-OB4N36EY.js";
22
22
  import {
23
23
  executeExpert
24
- } from "./chunk-4TLU7JJA.js";
24
+ } from "./chunk-TVPLAB4X.js";
25
25
  import {
26
26
  JobStatusSchema,
27
27
  abortJob,
@@ -42,21 +42,21 @@ import {
42
42
  simulationDeniedResult,
43
43
  toJobSummary,
44
44
  writeJobCancelled
45
- } from "./chunk-LB5AD6JX.js";
45
+ } from "./chunk-5VYWG6N4.js";
46
46
  import {
47
47
  normalizeTopicToCanonical,
48
48
  synthesizeResearch
49
- } from "./chunk-TID366GJ.js";
49
+ } from "./chunk-B3FRHPJW.js";
50
50
  import {
51
51
  IssueTriage
52
- } from "./chunk-3QHURPW4.js";
52
+ } from "./chunk-PLEB6SON.js";
53
53
  import {
54
54
  resolveEnvMode,
55
55
  sanitizeInput
56
- } from "./chunk-24ALAT2O.js";
56
+ } from "./chunk-CWVPSHEP.js";
57
57
  import {
58
58
  withPrerequisite
59
- } from "./chunk-PXIGNQWU.js";
59
+ } from "./chunk-E7SVEDLI.js";
60
60
  import {
61
61
  NOOP_NOTIFIER,
62
62
  RateLimiter,
@@ -79,12 +79,12 @@ import {
79
79
  withAuditTrail,
80
80
  withProgressHeartbeat,
81
81
  wrapToolWithTimeout
82
- } from "./chunk-NSPJHKKJ.js";
82
+ } from "./chunk-VWOMHATO.js";
83
83
  import {
84
84
  createAuditTrail,
85
85
  createGraphAuditBridge,
86
86
  emitPipelinePolicyEvent
87
- } from "./chunk-PRERQSR2.js";
87
+ } from "./chunk-I3RJEXY2.js";
88
88
  import {
89
89
  addResearchPaper,
90
90
  addSourceToRegistry,
@@ -112,15 +112,15 @@ import {
112
112
  parseRegistry,
113
113
  sourceExistsInRegistry,
114
114
  summarizeContextForPrompt
115
- } from "./chunk-LPFOSO5W.js";
115
+ } from "./chunk-VV45XQVW.js";
116
116
  import {
117
117
  getTokenEnvVars,
118
118
  resolveToken
119
- } from "./chunk-W75MNLLK.js";
119
+ } from "./chunk-MMPZLMSH.js";
120
120
  import {
121
121
  loadPapersRegistry,
122
122
  loadTechniquesRegistry
123
- } from "./chunk-6EUEK2T5.js";
123
+ } from "./chunk-6QOMNQAM.js";
124
124
  import {
125
125
  resolveInsideRoot
126
126
  } from "./chunk-NUBSJGQZ.js";
@@ -129,14 +129,14 @@ import {
129
129
  MemoryImportance,
130
130
  calculateTextJaccardSimilarity,
131
131
  getToolMemory
132
- } from "./chunk-JRQSJ2L7.js";
132
+ } from "./chunk-MONR3CEL.js";
133
133
  import {
134
134
  STOPWORDS,
135
135
  truncateWithInfo
136
136
  } from "./chunk-6T3EPABN.js";
137
137
  import {
138
138
  createSessionMemory
139
- } from "./chunk-DDAYKDEB.js";
139
+ } from "./chunk-SDJQ2H7V.js";
140
140
  import {
141
141
  BUILT_IN_EXPERTS,
142
142
  BuiltInExpertTypeSchema,
@@ -151,7 +151,7 @@ import {
151
151
  createEvent,
152
152
  getGlobalEventBus,
153
153
  getGlobalRegistry
154
- } from "./chunk-J2SLPVMA.js";
154
+ } from "./chunk-KFWCF32D.js";
155
155
  import {
156
156
  CliDetectionCache,
157
157
  asRecord,
@@ -159,19 +159,19 @@ import {
159
159
  getAvailableClis,
160
160
  sleep,
161
161
  withTimeout
162
- } from "./chunk-4JKJEEMP.js";
162
+ } from "./chunk-LEMQDF4W.js";
163
163
  import {
164
164
  DEFAULTS
165
- } from "./chunk-6DJ7WISU.js";
165
+ } from "./chunk-FKXR4ELM.js";
166
166
  import {
167
167
  getAvailabilityCache,
168
168
  getCliForModelId,
169
169
  resolveFallback
170
- } from "./chunk-3XMAIPFB.js";
170
+ } from "./chunk-WVKEKRZZ.js";
171
171
  import {
172
172
  generateHyphenId,
173
173
  generateUUID
174
- } from "./chunk-INQLVBAM.js";
174
+ } from "./chunk-7ABXSM2X.js";
175
175
  import {
176
176
  AGENT_ROUTER_TIMEOUTS,
177
177
  API_TIMEOUTS,
@@ -263,7 +263,7 @@ import {
263
263
  selectStrategyByManifest,
264
264
  toExpertTaskAnalysisResult,
265
265
  withStep
266
- } from "./chunk-7NOWAN4D.js";
266
+ } from "./chunk-E5XTAHAS.js";
267
267
  import {
268
268
  ensureLearningDir,
269
269
  getMetaOutcomesFile,
@@ -26298,7 +26298,7 @@ function execIdFields(executionId) {
26298
26298
  async function populateUnifiedContextOnState(state, options) {
26299
26299
  const taskCandidate = state["task"];
26300
26300
  if (typeof taskCandidate !== "string" || taskCandidate === "") return;
26301
- const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-VOPNSCRI.js");
26301
+ const { getContextForTask: getContextForTask2, inferTaskCategory: inferTaskCategory2 } = await import("./context-retriever-TGIQ6FNS.js");
26302
26302
  const category = inferTaskCategory2(taskCandidate);
26303
26303
  const executionId = options?.executionId;
26304
26304
  const execFields = execIdFields(executionId);
@@ -41580,7 +41580,7 @@ async function tryIssueTriage(task) {
41580
41580
  try {
41581
41581
  const issueMatch = task.match(/github\.com\/([^/]+\/[^/]+)\/issues\/(\d+)/);
41582
41582
  if (issueMatch === null) return null;
41583
- const { createIssueTriage } = await import("./issue-triage-PF2WKXHL.js");
41583
+ const { createIssueTriage } = await import("./issue-triage-3WL7PW26.js");
41584
41584
  const triage = createIssueTriage();
41585
41585
  const owner = issueMatch[1] ?? "";
41586
41586
  const num = issueMatch[2] ?? "";
@@ -41608,7 +41608,7 @@ var VALID_TEMPLATES = /* @__PURE__ */ new Set([
41608
41608
  ]);
41609
41609
  async function classifyWithLLM(task) {
41610
41610
  try {
41611
- const { executeExpert: executeExpert2 } = await import("./expert-bridge-WDVNKIO3.js");
41611
+ const { executeExpert: executeExpert2 } = await import("./expert-bridge-SFBHTNIB.js");
41612
41612
  const prompt = [
41613
41613
  "Classify this task into exactly one pipeline template.",
41614
41614
  "Templates: dev (implementation/bug fix/refactor), research (investigate/evaluate/compare),",
@@ -43249,7 +43249,7 @@ var memoryInitPromise = null;
43249
43249
  async function initPipelineMemory() {
43250
43250
  if (cachedMemory !== null) return cachedMemory;
43251
43251
  try {
43252
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-JLWKMKZI.js");
43252
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-EYZALDQ2.js");
43253
43253
  const { getLearningDir } = await import("./learning-persistence-M3OTCCNI.js");
43254
43254
  const mem = createSessionMemory2(getLearningDir());
43255
43255
  mem.startSession(`pipeline-${String(getTimeProvider().now())}`);
@@ -43311,7 +43311,7 @@ function recordRoutingExperience(category, success, durationMs, tokensUsed = 0,
43311
43311
  callRecord(routingMemoryCache);
43312
43312
  return;
43313
43313
  }
43314
- routingMemoryInitPromise ??= import("./routing-memory-CRRV6C4D.js").then(({ createRoutingMemory }) => {
43314
+ routingMemoryInitPromise ??= import("./routing-memory-CSIJCK3H.js").then(({ createRoutingMemory }) => {
43315
43315
  routingMemoryCache ??= createRoutingMemory();
43316
43316
  return routingMemoryCache;
43317
43317
  }).catch((error) => {
@@ -43345,7 +43345,7 @@ ${text}` : "";
43345
43345
  }
43346
43346
  async function getWeatherContext() {
43347
43347
  try {
43348
- const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-5MYASHFK.js");
43348
+ const { generateWeatherReport: generateWeatherReport2 } = await import("./weather-report-V2GTV5MW.js");
43349
43349
  const report = generateWeatherReport2({ includeAdaptive: true });
43350
43350
  const mappings = "recommendedMappings" in report ? report.recommendedMappings : [];
43351
43351
  if (!Array.isArray(mappings) || mappings.length === 0) return "";
@@ -43363,7 +43363,7 @@ ${lines}
43363
43363
  }
43364
43364
  async function getMemoryContext(task) {
43365
43365
  try {
43366
- const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-JLWKMKZI.js");
43366
+ const { createSessionMemory: createSessionMemory2 } = await import("./session-memory-EYZALDQ2.js");
43367
43367
  const { getLearningDir } = await import("./learning-persistence-M3OTCCNI.js");
43368
43368
  const memory = createSessionMemory2(getLearningDir(), { maxLearningsInContext: 10 });
43369
43369
  const learnings = memory.searchLearnings(task.slice(0, 200));
@@ -43478,7 +43478,7 @@ ${contextBlock}`;
43478
43478
  const strategy = config.votingStrategy ?? "higher_order";
43479
43479
  await postProgress(config, "Vote", `Running consensus with ${strategy} strategy...`);
43480
43480
  try {
43481
- const { executeVoting } = await import("./consensus-vote-4CU3EY7H.js");
43481
+ const { executeVoting } = await import("./consensus-vote-FVKOLIPS.js");
43482
43482
  const votingResult = await executeVoting(
43483
43483
  {
43484
43484
  proposal: buildVoteProposal(plan, research),
@@ -43919,7 +43919,7 @@ async function searchCodebaseForTask(task) {
43919
43919
  }
43920
43920
  async function queryResearchRegistry(task) {
43921
43921
  try {
43922
- const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-FUY4WVHY.js");
43922
+ const { synthesizeResearch: synthesizeResearch2 } = await import("./research-helpers-synthesize-ICHGZ3TE.js");
43923
43923
  const topic = task.split(/[.!?\n]/).filter((s) => s.trim().length > 10)[0]?.trim();
43924
43924
  if (topic === void 0) return null;
43925
43925
  const result = await synthesizeResearch2(topic.slice(0, 50));
@@ -43990,7 +43990,7 @@ function createScanStageWrapper() {
43990
43990
  try {
43991
43991
  const slug = ctx.task.match(/([a-zA-Z0-9._-]+\/[a-zA-Z0-9._-]+)/)?.[1];
43992
43992
  if (slug !== void 0) {
43993
- const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-YNCJQ2YC.js");
43993
+ const { generateSecurityPlan: generateSecurityPlan2 } = await import("./repo-security-plan-CTK2K2K7.js");
43994
43994
  const plan = await generateSecurityPlan2({ repo: slug, maxScanners: 10 });
43995
43995
  const recs = plan.recommendations.slice(0, 5).map((r) => `${r.priority}: ${r.displayName} (${r.category})`).join("; ");
43996
43996
  return output(PIPELINE_STATE_KEYS.FINDINGS, recs, getTimeProvider().now() - start, true);
@@ -46950,7 +46950,7 @@ var GitHubTaskTracker = class {
46950
46950
  cachedProvider = null;
46951
46951
  async getProvider() {
46952
46952
  if (this.cachedProvider !== null) return this.cachedProvider;
46953
- const { createScmProvider } = await import("./factory-3KFIWW2N.js");
46953
+ const { createScmProvider } = await import("./factory-NF7WS67L.js");
46954
46954
  const result = await createScmProvider({ repo: this.config.repo ?? "" });
46955
46955
  if (!result.ok) throw new Error(`SCM provider error: ${result.error.message}`);
46956
46956
  this.cachedProvider = result.value;
@@ -47757,7 +47757,7 @@ async function probeSource(source, includeModelIds) {
47757
47757
  }
47758
47758
  }
47759
47759
  async function defaultSources(includeOpenRouter) {
47760
- const { createAllAdapters: createAllAdapters2 } = await import("./factory-Q4FUNYFK.js");
47760
+ const { createAllAdapters: createAllAdapters2 } = await import("./factory-DEO5DAXZ.js");
47761
47761
  const adapters = createAllAdapters2();
47762
47762
  return buildDefaultModelSources(adapters, { includeOpenRouter });
47763
47763
  }
@@ -51826,4 +51826,4 @@ export {
51826
51826
  shutdownFeedbackSubscriber,
51827
51827
  createEventBusBridge
51828
51828
  };
51829
- //# sourceMappingURL=chunk-3CPGLNSD.js.map
51829
+ //# sourceMappingURL=chunk-AYTV4P26.js.map
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  loadPapersRegistry
3
- } from "./chunk-6EUEK2T5.js";
3
+ } from "./chunk-6QOMNQAM.js";
4
4
  import {
5
5
  getErrorMessage
6
- } from "./chunk-7NOWAN4D.js";
6
+ } from "./chunk-E5XTAHAS.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-TID366GJ.js.map
879
+ //# sourceMappingURL=chunk-B3FRHPJW.js.map
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getDefaultRegistry
3
- } from "./chunk-7NOWAN4D.js";
3
+ } from "./chunk-E5XTAHAS.js";
4
4
  import {
5
5
  getNexusDataDir
6
6
  } from "./chunk-DHVMSIT5.js";
@@ -124,4 +124,4 @@ export {
124
124
  loadUsageEvents,
125
125
  rollupByModel
126
126
  };
127
- //# sourceMappingURL=chunk-WFGGF6RQ.js.map
127
+ //# sourceMappingURL=chunk-B4DIA6YS.js.map
@@ -9,11 +9,11 @@ import {
9
9
  gateWithReputation,
10
10
  resolveReputationGatingMode,
11
11
  sanitizeInput
12
- } from "./chunk-24ALAT2O.js";
12
+ } from "./chunk-CWVPSHEP.js";
13
13
  import {
14
14
  createLogger,
15
15
  getTimeProvider
16
- } from "./chunk-7NOWAN4D.js";
16
+ } from "./chunk-E5XTAHAS.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-H2HAB3EW.js.map
291
+ //# sourceMappingURL=chunk-B6CLLXZB.js.map
@@ -2,7 +2,7 @@ import {
2
2
  CACHE_TIMEOUTS,
3
3
  createLogger,
4
4
  getTimeProvider
5
- } from "./chunk-7NOWAN4D.js";
5
+ } from "./chunk-E5XTAHAS.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-24ALAT2O.js.map
563
+ //# sourceMappingURL=chunk-CWVPSHEP.js.map
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  createLogger,
6
6
  getTimeProvider
7
- } from "./chunk-7NOWAN4D.js";
7
+ } from "./chunk-E5XTAHAS.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-RHY46PYV.js.map
724
+ //# sourceMappingURL=chunk-DMFDSHOQ.js.map
@@ -4,7 +4,7 @@ import {
4
4
  err,
5
5
  getErrorMessage,
6
6
  ok
7
- } from "./chunk-7NOWAN4D.js";
7
+ } from "./chunk-E5XTAHAS.js";
8
8
 
9
9
  // src/scm/types.ts
10
10
  var ScmError = class extends Error {
@@ -263,4 +263,4 @@ export {
263
263
  ScmError,
264
264
  GitHubProvider
265
265
  };
266
- //# sourceMappingURL=chunk-URIRSUQQ.js.map
266
+ //# sourceMappingURL=chunk-DTBU4J67.js.map
@@ -1098,9 +1098,28 @@ function extractObjectMessage(error, fallback) {
1098
1098
  // src/config/in-tree-data.ts
1099
1099
  var DEFAULT_MODEL_CAPABILITIES = {
1100
1100
  version: 3,
1101
- updatedAt: "2026-03-14",
1101
+ updatedAt: "2026-07-03",
1102
1102
  models: [
1103
1103
  // ----- Anthropic Claude -----
1104
+ {
1105
+ id: "claude-fable-5",
1106
+ displayName: "Claude Fable 5",
1107
+ provider: "anthropic",
1108
+ contextWindow: 1e6,
1109
+ outputModalities: ["text", "structured_json", "code"],
1110
+ inputModalities: ["text", "image", "pdf", "code"],
1111
+ toolCapabilities: ["mcp", "function_calling", "computer_use", "structured_output"],
1112
+ specialFeatures: ["extended_thinking", "streaming", "citations", "context_caching"],
1113
+ notes: "Frontier Claude (models.dev 2026-06-29); above Opus 4.6; 1M context",
1114
+ pricing: { inputPer1M: 10, outputPer1M: 50 },
1115
+ qualityScores: { reasoning: 10, codeGeneration: 10, speed: 5, cost: 4 },
1116
+ maxOutputTokens: 128e3,
1117
+ cliName: "claude",
1118
+ cliAlias: "fable",
1119
+ cliModelName: "claude-fable-5",
1120
+ // #4176 belt-and-braces: fable→5.0 regex fallback already rejects temperature.
1121
+ unsupportedParameters: ["temperature"]
1122
+ },
1104
1123
  {
1105
1124
  id: "claude-opus",
1106
1125
  displayName: "Claude Opus 4.6",
@@ -1214,6 +1233,28 @@ var DEFAULT_MODEL_CAPABILITIES = {
1214
1233
  cliName: "gemini",
1215
1234
  cliModelName: "gemini-2.5-pro"
1216
1235
  },
1236
+ {
1237
+ id: "gemini-3.5-flash",
1238
+ displayName: "Gemini 3.5 Flash",
1239
+ provider: "google",
1240
+ contextWindow: 1048576,
1241
+ outputModalities: ["text", "structured_json", "code"],
1242
+ inputModalities: ["text", "image", "audio", "video", "pdf", "code"],
1243
+ toolCapabilities: [
1244
+ "function_calling",
1245
+ "code_execution_sandbox",
1246
+ "web_search",
1247
+ "structured_output"
1248
+ ],
1249
+ specialFeatures: ["streaming", "grounding"],
1250
+ notes: "Latest fast Gemini (models.dev 2026-06-29); flash tier, NOT the gemini default",
1251
+ pricing: { inputPer1M: 1.5, outputPer1M: 9 },
1252
+ // Flash tier: reasoning stays BELOW gemini-3-pro (10) so pro keeps winning.
1253
+ qualityScores: { reasoning: 8, codeGeneration: 9, speed: 10, cost: 8 },
1254
+ maxOutputTokens: 65536,
1255
+ cliName: "gemini",
1256
+ cliModelName: "gemini-3.5-flash"
1257
+ },
1217
1258
  {
1218
1259
  id: "gemini-3-flash",
1219
1260
  displayName: "Gemini 3 Flash (Preview)",
@@ -1257,6 +1298,32 @@ var DEFAULT_MODEL_CAPABILITIES = {
1257
1298
  cliModelName: "gemini-2.5-flash"
1258
1299
  },
1259
1300
  // ----- OpenAI Codex -----
1301
+ {
1302
+ id: "gpt-5.5",
1303
+ displayName: "GPT-5.5",
1304
+ provider: "openai",
1305
+ contextWindow: 105e4,
1306
+ outputModalities: ["text", "structured_json", "code"],
1307
+ inputModalities: ["text", "image", "pdf", "code"],
1308
+ toolCapabilities: [
1309
+ "function_calling",
1310
+ "code_execution_sandbox",
1311
+ "web_search",
1312
+ "file_operations",
1313
+ "structured_output",
1314
+ "apply_patch",
1315
+ "computer_use"
1316
+ ],
1317
+ specialFeatures: ["streaming"],
1318
+ notes: "Frontier GPT (models.dev 2026-06-29); succeeds GPT-5.4 in Codex CLI; 1M context",
1319
+ pricing: { inputPer1M: 5, outputPer1M: 30 },
1320
+ qualityScores: { reasoning: 10, codeGeneration: 10, speed: 7, cost: 4 },
1321
+ maxOutputTokens: 128e3,
1322
+ cliName: "codex",
1323
+ cliModelName: "gpt-5.5",
1324
+ unsupportedParameters: ["temperature"],
1325
+ maxTokensParam: "max_completion_tokens"
1326
+ },
1260
1327
  {
1261
1328
  id: "codex-5.3",
1262
1329
  displayName: "GPT-5.4",
@@ -1426,9 +1493,10 @@ var DEFAULT_MODEL_CAPABILITIES = {
1426
1493
  ]
1427
1494
  };
1428
1495
  var DEFAULT_MODEL_PER_CLI = {
1429
- claude: "claude-opus",
1496
+ // #4176: fable/gpt-5.5 are strongest per CLI; gemini-3.5-flash is flash-tier, not default.
1497
+ claude: "claude-fable-5",
1430
1498
  gemini: "gemini-3-pro",
1431
- codex: "codex-5.3",
1499
+ codex: "gpt-5.5",
1432
1500
  opencode: "opencode-default"
1433
1501
  };
1434
1502
 
@@ -1917,13 +1985,16 @@ var CLI_NAMES = ["claude", "gemini", "codex", "opencode"];
1917
1985
  var CliNameSchema = z.enum(CLI_NAMES);
1918
1986
  var DEFAULT_CLI = "claude";
1919
1987
  var MODEL_IDS = [
1988
+ "claude-fable-5",
1920
1989
  "claude-opus",
1921
1990
  "claude-sonnet",
1922
1991
  "claude-haiku",
1923
1992
  "gemini-3-pro",
1924
1993
  "gemini-pro",
1994
+ "gemini-3.5-flash",
1925
1995
  "gemini-3-flash",
1926
1996
  "gemini-flash",
1997
+ "gpt-5.5",
1927
1998
  "codex-5.3",
1928
1999
  "codex-5.2",
1929
2000
  "codex-5.1-mini",
@@ -2291,11 +2362,18 @@ function defaultGeneratedPath() {
2291
2362
  const here = dirname2(fileURLToPath2(import.meta.url));
2292
2363
  return join2(here, "model-registry.generated.json");
2293
2364
  }
2365
+ function extractPricing(rec) {
2366
+ const inputPer1M = rec.pricing?.inputPer1M;
2367
+ const outputPer1M = rec.pricing?.outputPer1M;
2368
+ if (typeof inputPer1M !== "number" || typeof outputPer1M !== "number") return void 0;
2369
+ if (inputPer1M === 0 && outputPer1M === 0) return void 0;
2370
+ return { inputPer1M, outputPer1M };
2371
+ }
2294
2372
  function toModelEntry(rec) {
2295
2373
  if (typeof rec.id !== "string" || rec.id === "") return void 0;
2296
2374
  const id = rec.id;
2297
2375
  const base = deriveEntry(id, resolveModelIdentitySync(id));
2298
- const pricing = rec.pricing !== void 0 && typeof rec.pricing.inputPer1M === "number" && typeof rec.pricing.outputPer1M === "number" ? { inputPer1M: rec.pricing.inputPer1M, outputPer1M: rec.pricing.outputPer1M } : void 0;
2376
+ const pricing = extractPricing(rec);
2299
2377
  return {
2300
2378
  ...base,
2301
2379
  source: "generated",
@@ -2534,7 +2612,7 @@ function setDefaultRegistry(registry) {
2534
2612
  }
2535
2613
  async function reloadDefaultRegistry() {
2536
2614
  globalRegistry = buildDefaultRegistry();
2537
- const { resetGlobalRegistry } = await import("./unified-registry-3ROGZFAX.js");
2615
+ const { resetGlobalRegistry } = await import("./unified-registry-D7EF252L.js");
2538
2616
  resetGlobalRegistry();
2539
2617
  return globalRegistry;
2540
2618
  }
@@ -13916,7 +13994,7 @@ var CompositeRouter = class _CompositeRouter {
13916
13994
  */
13917
13995
  async consultUnifiedContext(task) {
13918
13996
  try {
13919
- const { getContextForTask, inferTaskCategory } = await import("./context-retriever-VOPNSCRI.js");
13997
+ const { getContextForTask, inferTaskCategory } = await import("./context-retriever-TGIQ6FNS.js");
13920
13998
  const ctx = await getContextForTask({
13921
13999
  task: task.content,
13922
14000
  category: inferTaskCategory(task.content),
@@ -15421,4 +15499,4 @@ export {
15421
15499
  AgentCapability,
15422
15500
  OrchestratorError
15423
15501
  };
15424
- //# sourceMappingURL=chunk-7NOWAN4D.js.map
15502
+ //# sourceMappingURL=chunk-E5XTAHAS.js.map