nexus-agents 2.56.0 → 2.57.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 (101) hide show
  1. package/dist/{adaptive-memory-SUNFPY2W.js → adaptive-memory-TSZEJUJC.js} +3 -3
  2. package/dist/{chunk-4FVISCDB.js → chunk-6QU4DJYW.js} +2 -2
  3. package/dist/{chunk-NYNBDP7M.js → chunk-7Y36JLES.js} +2 -2
  4. package/dist/{chunk-FWSTXEG2.js → chunk-AFSIP6JH.js} +99 -23
  5. package/dist/chunk-AFSIP6JH.js.map +1 -0
  6. package/dist/{chunk-BPMQRYGU.js → chunk-BOZ26RIB.js} +283 -79
  7. package/dist/chunk-BOZ26RIB.js.map +1 -0
  8. package/dist/{chunk-VKZKC4SM.js → chunk-EDGG3RQE.js} +2 -2
  9. package/dist/{chunk-2SPRLBOS.js → chunk-EZXOJZYE.js} +2 -2
  10. package/dist/{chunk-W5AJRK4U.js → chunk-GMOGKX4E.js} +2 -2
  11. package/dist/chunk-H43PABG4.js +402 -0
  12. package/dist/chunk-H43PABG4.js.map +1 -0
  13. package/dist/{chunk-IOU7F5PH.js → chunk-K7EA5OV4.js} +2 -2
  14. package/dist/{chunk-KRIFBGWZ.js → chunk-PTGBJFSD.js} +3 -3
  15. package/dist/{chunk-EKYT4NMD.js → chunk-QGZBCD2A.js} +24 -9
  16. package/dist/chunk-QGZBCD2A.js.map +1 -0
  17. package/dist/{chunk-KGMC6F5D.js → chunk-QNYNQ257.js} +67 -61
  18. package/dist/chunk-QNYNQ257.js.map +1 -0
  19. package/dist/{chunk-UOUJZIKH.js → chunk-R2Y57PM3.js} +38 -15
  20. package/dist/chunk-R2Y57PM3.js.map +1 -0
  21. package/dist/{chunk-RSUCXOQM.js → chunk-SXWZS2V4.js} +26 -53
  22. package/dist/chunk-SXWZS2V4.js.map +1 -0
  23. package/dist/{chunk-PCMWLXT4.js → chunk-TC46TRLR.js} +2 -2
  24. package/dist/{chunk-3IDJSFWT.js → chunk-TFEFN37P.js} +2 -2
  25. package/dist/{chunk-Q5TKQWOI.js → chunk-V5CGWMYL.js} +2 -2
  26. package/dist/{chunk-TCQNNY4J.js → chunk-XEMRMZUN.js} +4 -4
  27. package/dist/{chunk-C3FGEDD7.js → chunk-Y7CD6AZW.js} +22 -406
  28. package/dist/chunk-Y7CD6AZW.js.map +1 -0
  29. package/dist/{chunk-R66AWJJ7.js → chunk-YU4NABXM.js} +2 -2
  30. package/dist/{chunk-EJLWDYK7.js → chunk-ZL3IBCH6.js} +658 -321
  31. package/dist/chunk-ZL3IBCH6.js.map +1 -0
  32. package/dist/{chunk-VLVHPC72.js → chunk-ZUWOFHNC.js} +6 -6
  33. package/dist/{cli-circuit-breaker-7MCMHSDY.js → cli-circuit-breaker-SL73NWX2.js} +4 -4
  34. package/dist/cli.d.ts +3 -1
  35. package/dist/cli.js +425 -341
  36. package/dist/cli.js.map +1 -1
  37. package/dist/{composite-router-LXFOSMSE.js → composite-router-A7URDW4X.js} +2 -2
  38. package/dist/{consensus-vote-G6H532ME.js → consensus-vote-CQ2JP6DC.js} +9 -8
  39. package/dist/{doctor-deep-RKMOZSIS.js → doctor-deep-VN6KMUCG.js} +3 -3
  40. package/dist/{expert-bridge-KHHE42JP.js → expert-bridge-LT7PKUPS.js} +3 -3
  41. package/dist/{factory-KRNR7XHD.js → factory-FA7WDPZW.js} +5 -5
  42. package/dist/{factory-JVN47MFN.js → factory-FZ2KSVYC.js} +4 -4
  43. package/dist/index.d.ts +324 -16
  44. package/dist/index.js +58 -43
  45. package/dist/index.js.map +1 -1
  46. package/dist/{issue-triage-O3C7P66H.js → issue-triage-YYTE6KTC.js} +4 -4
  47. package/dist/{mcp-config-QRERKGR4.js → mcp-config-34XMRM64.js} +3 -3
  48. package/dist/{mobimem-FAOAXV3B.js → mobimem-QDBP37H7.js} +2 -2
  49. package/dist/model-registry.generated.json +17033 -0
  50. package/dist/registry-command-S46JJ2SX.js +580 -0
  51. package/dist/registry-command-S46JJ2SX.js.map +1 -0
  52. package/dist/{repo-security-plan-AZ5HMGFC.js → repo-security-plan-C3LLE3Z7.js} +3 -3
  53. package/dist/{research-helpers-synthesize-E6WQLQKP.js → research-helpers-synthesize-NVQIWLQL.js} +3 -3
  54. package/dist/{routing-memory-MXF45FXT.js → routing-memory-W3YWMLJM.js} +2 -2
  55. package/dist/{session-memory-HL5XDBIL.js → session-memory-DWF5Z2LC.js} +3 -3
  56. package/dist/{setup-command-AV4MODEL.js → setup-command-6EJONTOU.js} +8 -7
  57. package/dist/{setup-config-PWK6WHMG.js → setup-config-JA5IX53Q.js} +3 -3
  58. package/dist/{setup-custom-api-XAWKRDWV.js → setup-custom-api-CSB26HWD.js} +7 -5
  59. package/dist/setup-custom-api-CSB26HWD.js.map +1 -0
  60. package/dist/{weather-report-XZ5CENHE.js → weather-report-YQSLX4MS.js} +2 -2
  61. package/package.json +1 -1
  62. package/dist/chunk-BPMQRYGU.js.map +0 -1
  63. package/dist/chunk-C3FGEDD7.js.map +0 -1
  64. package/dist/chunk-EJLWDYK7.js.map +0 -1
  65. package/dist/chunk-EKYT4NMD.js.map +0 -1
  66. package/dist/chunk-FWSTXEG2.js.map +0 -1
  67. package/dist/chunk-KGMC6F5D.js.map +0 -1
  68. package/dist/chunk-RSUCXOQM.js.map +0 -1
  69. package/dist/chunk-UOUJZIKH.js.map +0 -1
  70. package/dist/setup-custom-api-XAWKRDWV.js.map +0 -1
  71. /package/dist/{adaptive-memory-SUNFPY2W.js.map → adaptive-memory-TSZEJUJC.js.map} +0 -0
  72. /package/dist/{chunk-4FVISCDB.js.map → chunk-6QU4DJYW.js.map} +0 -0
  73. /package/dist/{chunk-NYNBDP7M.js.map → chunk-7Y36JLES.js.map} +0 -0
  74. /package/dist/{chunk-VKZKC4SM.js.map → chunk-EDGG3RQE.js.map} +0 -0
  75. /package/dist/{chunk-2SPRLBOS.js.map → chunk-EZXOJZYE.js.map} +0 -0
  76. /package/dist/{chunk-W5AJRK4U.js.map → chunk-GMOGKX4E.js.map} +0 -0
  77. /package/dist/{chunk-IOU7F5PH.js.map → chunk-K7EA5OV4.js.map} +0 -0
  78. /package/dist/{chunk-KRIFBGWZ.js.map → chunk-PTGBJFSD.js.map} +0 -0
  79. /package/dist/{chunk-PCMWLXT4.js.map → chunk-TC46TRLR.js.map} +0 -0
  80. /package/dist/{chunk-3IDJSFWT.js.map → chunk-TFEFN37P.js.map} +0 -0
  81. /package/dist/{chunk-Q5TKQWOI.js.map → chunk-V5CGWMYL.js.map} +0 -0
  82. /package/dist/{chunk-TCQNNY4J.js.map → chunk-XEMRMZUN.js.map} +0 -0
  83. /package/dist/{chunk-R66AWJJ7.js.map → chunk-YU4NABXM.js.map} +0 -0
  84. /package/dist/{chunk-VLVHPC72.js.map → chunk-ZUWOFHNC.js.map} +0 -0
  85. /package/dist/{cli-circuit-breaker-7MCMHSDY.js.map → cli-circuit-breaker-SL73NWX2.js.map} +0 -0
  86. /package/dist/{composite-router-LXFOSMSE.js.map → composite-router-A7URDW4X.js.map} +0 -0
  87. /package/dist/{consensus-vote-G6H532ME.js.map → consensus-vote-CQ2JP6DC.js.map} +0 -0
  88. /package/dist/{doctor-deep-RKMOZSIS.js.map → doctor-deep-VN6KMUCG.js.map} +0 -0
  89. /package/dist/{expert-bridge-KHHE42JP.js.map → expert-bridge-LT7PKUPS.js.map} +0 -0
  90. /package/dist/{factory-JVN47MFN.js.map → factory-FA7WDPZW.js.map} +0 -0
  91. /package/dist/{factory-KRNR7XHD.js.map → factory-FZ2KSVYC.js.map} +0 -0
  92. /package/dist/{issue-triage-O3C7P66H.js.map → issue-triage-YYTE6KTC.js.map} +0 -0
  93. /package/dist/{mcp-config-QRERKGR4.js.map → mcp-config-34XMRM64.js.map} +0 -0
  94. /package/dist/{mobimem-FAOAXV3B.js.map → mobimem-QDBP37H7.js.map} +0 -0
  95. /package/dist/{repo-security-plan-AZ5HMGFC.js.map → repo-security-plan-C3LLE3Z7.js.map} +0 -0
  96. /package/dist/{research-helpers-synthesize-E6WQLQKP.js.map → research-helpers-synthesize-NVQIWLQL.js.map} +0 -0
  97. /package/dist/{routing-memory-MXF45FXT.js.map → routing-memory-W3YWMLJM.js.map} +0 -0
  98. /package/dist/{session-memory-HL5XDBIL.js.map → session-memory-DWF5Z2LC.js.map} +0 -0
  99. /package/dist/{setup-command-AV4MODEL.js.map → setup-command-6EJONTOU.js.map} +0 -0
  100. /package/dist/{setup-config-PWK6WHMG.js.map → setup-config-JA5IX53Q.js.map} +0 -0
  101. /package/dist/{weather-report-XZ5CENHE.js.map → weather-report-YQSLX4MS.js.map} +0 -0
package/dist/index.d.ts CHANGED
@@ -5498,14 +5498,20 @@ declare function collectStream<T>(stream: AsyncIterable<T>, options?: {
5498
5498
  */
5499
5499
  /**
5500
5500
  * Supported Claude model identifiers.
5501
+ *
5502
+ * Derived from `config/model-capabilities.ts` (single source of truth — issue
5503
+ * #2186). Do not hardcode model-version strings here; update the registry.
5501
5504
  */
5502
5505
  declare const CLAUDE_MODELS: {
5503
- readonly OPUS_4: "claude-opus-4-20250514";
5504
- readonly SONNET_4: "claude-sonnet-4-20250514";
5505
- readonly HAIKU_4: "claude-haiku-4-5-20251001";
5506
+ readonly OPUS_4: string;
5507
+ readonly SONNET_4: string;
5508
+ readonly HAIKU_4: string;
5506
5509
  };
5507
5510
  /**
5508
- * Model aliases for convenience.
5511
+ * Legacy version-suffix aliases mapped to the current registry cliModelName.
5512
+ *
5513
+ * Values come from `CLAUDE_MODELS` so they stay in sync with the canonical
5514
+ * registry. Add legacy entries here, never the version strings themselves.
5509
5515
  */
5510
5516
  declare const CLAUDE_MODEL_ALIASES: Record<string, string>;
5511
5517
  /**
@@ -5642,24 +5648,49 @@ declare function createClaudeAdapter(config: ClaudeAdapterConfig): ClaudeAdapter
5642
5648
  /**
5643
5649
  * nexus-agents/adapters - OpenAI Type Helpers
5644
5650
  *
5645
- * Type definitions and constants for OpenAI adapter.
5651
+ * Type definitions and constants for the OpenAI direct-API SDK adapter.
5652
+ *
5653
+ * **Architectural boundary (#2200 Child 3):** these constants do NOT live
5654
+ * in `config/model-capabilities.ts`. The canonical registry's `cliName`
5655
+ * dimension targets CLI tools (`claude` / `gemini` / `codex` / `opencode`)
5656
+ * — there is no `openai` CLI binary. Adding `'openai'` to the CLI_NAMES
5657
+ * enum would force a fifth case in 4+ exhaustive switches across the
5658
+ * codebase, violating the semantic of "CLI tool name."
5659
+ *
5660
+ * The OpenAI direct adapter is conceptually different from CLI adapters:
5661
+ * it talks to the OpenAI HTTPS API directly, not via a subprocess CLI.
5662
+ * Its model identifiers are OpenAI's own (`gpt-4o-2024-11-20`,
5663
+ * `gpt-3.5-turbo-0125`, etc.) — these are upstream API constants, not
5664
+ * versions WE chose. They drift only when OpenAI ships new dated releases.
5665
+ *
5666
+ * This file is the single source of truth for OpenAI direct-API model
5667
+ * identifiers. The model-string drift fitness-guard (#2199) treats it as
5668
+ * a documented architectural exception in the allowlist.
5646
5669
  */
5647
5670
 
5648
5671
  /**
5649
- * Supported OpenAI model identifiers.
5672
+ * Supported OpenAI direct-API model identifiers (OpenAI's own dated names).
5673
+ *
5674
+ * GPT_5_2_CODEX derives from the canonical registry (codex-5.2's cliModelName)
5675
+ * because it overlaps with the Codex CLI; the rest are pure-API constants.
5650
5676
  */
5651
5677
  declare const OPENAI_MODELS: {
5652
5678
  readonly GPT_5_2: "gpt-5.2";
5653
5679
  readonly GPT_5_2_INSTANT: "gpt-5.2-chat-latest";
5654
5680
  readonly GPT_5_2_PRO: "gpt-5.2-pro";
5655
- readonly GPT_5_2_CODEX: "gpt-5.2-codex";
5681
+ readonly GPT_5_2_CODEX: string;
5656
5682
  readonly GPT_4O: "gpt-4o-2024-11-20";
5657
5683
  readonly GPT_4O_MINI: "gpt-4o-mini-2024-07-18";
5658
5684
  readonly GPT_4_TURBO: "gpt-4-turbo-2024-04-09";
5659
5685
  readonly GPT_35_TURBO: "gpt-3.5-turbo-0125";
5660
5686
  };
5661
5687
  /**
5662
- * Model aliases for convenience.
5688
+ * User-friendly OpenAI aliases dated model identifiers.
5689
+ *
5690
+ * Identity-only mappings (e.g., `'gpt-5.2-pro' → 'gpt-5.2-pro'`) were
5691
+ * removed in #2200 Child 3 — `resolveModelId` already passes unknown ids
5692
+ * through unchanged via `?? modelId`. Only entries that translate a
5693
+ * shorthand into a dated version remain.
5663
5694
  */
5664
5695
  declare const OPENAI_MODEL_ALIASES: Record<string, string>;
5665
5696
  /**
@@ -5860,16 +5891,27 @@ declare function createOllamaAdapter(config: OllamaAdapterConfig): OllamaAdapter
5860
5891
 
5861
5892
  /**
5862
5893
  * Supported Gemini model identifiers.
5894
+ *
5895
+ * Current models (2.5+ and 3.x) derive from `config/model-capabilities.ts`
5896
+ * (single source of truth — #2200 Child 2). Legacy 1.5 / 2.0 strings remain
5897
+ * as constants for backward compat with external consumers; they are not in
5898
+ * the canonical registry because Google deprecated those generations
5899
+ * upstream in 2025.
5863
5900
  */
5864
5901
  declare const GEMINI_MODELS: {
5865
- readonly PRO_2_5: "gemini-2.5-pro";
5866
- readonly FLASH_2_5: "gemini-2.5-flash";
5902
+ readonly PRO_2_5: string;
5903
+ readonly FLASH_2_5: string;
5867
5904
  readonly FLASH_2_0: "gemini-2.0-flash";
5868
5905
  readonly PRO_1_5: "gemini-1.5-pro";
5869
5906
  readonly FLASH_1_5: "gemini-1.5-flash";
5870
5907
  };
5871
5908
  /**
5872
- * Model aliases for convenience.
5909
+ * Legacy aliases for Gemini models not in the canonical registry.
5910
+ *
5911
+ * 2.5 / 3.x aliases are NOT in this map — they resolve via the canonical
5912
+ * registry (cliModelName / cliAlias / aliases[]). See `resolveModelId`.
5913
+ * Only generations Google has deprecated upstream live here, kept for
5914
+ * backward compat with users who hardcoded these strings.
5873
5915
  */
5874
5916
  declare const GEMINI_MODEL_ALIASES: Record<string, string>;
5875
5917
  /**
@@ -20963,6 +21005,35 @@ declare const VoteSchema: z.ZodObject<{
20963
21005
  MISALIGNED: "MISALIGNED";
20964
21006
  INSUFFICIENT_EVIDENCE: "INSUFFICIENT_EVIDENCE";
20965
21007
  }>>>;
21008
+ findings: z.ZodOptional<z.ZodArray<z.ZodObject<{
21009
+ summary: z.ZodString;
21010
+ location: z.ZodString;
21011
+ severity: z.ZodDefault<z.ZodEnum<{
21012
+ low: "low";
21013
+ medium: "medium";
21014
+ high: "high";
21015
+ critical: "critical";
21016
+ }>>;
21017
+ gate: z.ZodObject<{
21018
+ reread_cited_line: z.ZodDefault<z.ZodEnum<{
21019
+ failed: "failed";
21020
+ skipped: "skipped";
21021
+ passed: "passed";
21022
+ }>>;
21023
+ traced_call_path: z.ZodDefault<z.ZodEnum<{
21024
+ failed: "failed";
21025
+ skipped: "skipped";
21026
+ passed: "passed";
21027
+ }>>;
21028
+ named_assertion: z.ZodDefault<z.ZodString>;
21029
+ ruled_out_language_non_issue: z.ZodDefault<z.ZodEnum<{
21030
+ failed: "failed";
21031
+ skipped: "skipped";
21032
+ passed: "passed";
21033
+ }>>;
21034
+ }, z.core.$strip>;
21035
+ claim: z.ZodString;
21036
+ }, z.core.$strip>>>;
20966
21037
  timestamp: z.ZodOptional<z.ZodISODateTime>;
20967
21038
  }, z.core.$strip>;
20968
21039
  type Vote = z.infer<typeof VoteSchema>;
@@ -21073,6 +21144,35 @@ declare const ConsensusResultSchema: z.ZodObject<{
21073
21144
  MISALIGNED: "MISALIGNED";
21074
21145
  INSUFFICIENT_EVIDENCE: "INSUFFICIENT_EVIDENCE";
21075
21146
  }>>>;
21147
+ findings: z.ZodOptional<z.ZodArray<z.ZodObject<{
21148
+ summary: z.ZodString;
21149
+ location: z.ZodString;
21150
+ severity: z.ZodDefault<z.ZodEnum<{
21151
+ low: "low";
21152
+ medium: "medium";
21153
+ high: "high";
21154
+ critical: "critical";
21155
+ }>>;
21156
+ gate: z.ZodObject<{
21157
+ reread_cited_line: z.ZodDefault<z.ZodEnum<{
21158
+ failed: "failed";
21159
+ skipped: "skipped";
21160
+ passed: "passed";
21161
+ }>>;
21162
+ traced_call_path: z.ZodDefault<z.ZodEnum<{
21163
+ failed: "failed";
21164
+ skipped: "skipped";
21165
+ passed: "passed";
21166
+ }>>;
21167
+ named_assertion: z.ZodDefault<z.ZodString>;
21168
+ ruled_out_language_non_issue: z.ZodDefault<z.ZodEnum<{
21169
+ failed: "failed";
21170
+ skipped: "skipped";
21171
+ passed: "passed";
21172
+ }>>;
21173
+ }, z.core.$strip>;
21174
+ claim: z.ZodString;
21175
+ }, z.core.$strip>>>;
21076
21176
  timestamp: z.ZodOptional<z.ZodISODateTime>;
21077
21177
  }, z.core.$strip>>;
21078
21178
  voteCounts: z.ZodObject<{
@@ -21544,8 +21644,14 @@ interface IWeightedVoting {
21544
21644
 
21545
21645
  /**
21546
21646
  * Voter agent role definitions.
21647
+ *
21648
+ * `scope_steward` (#2185) was added 2026-04-25 to address a build-vs-buy
21649
+ * blind spot in the original 6-role panel: the panel approved a proposal
21650
+ * to build a USB-flasher CLI without flagging that Rufus already solves
21651
+ * the problem. The scope-steward role explicitly checks for existing tools
21652
+ * + biases toward "don't build."
21547
21653
  */
21548
- type VoterRole = 'architect' | 'security' | 'devex' | 'ai_ml' | 'pm' | 'catfish';
21654
+ type VoterRole = 'architect' | 'security' | 'devex' | 'ai_ml' | 'pm' | 'catfish' | 'scope_steward';
21549
21655
  /**
21550
21656
  * Individual agent vote with metadata.
21551
21657
  */
@@ -23262,6 +23368,171 @@ type QueryTraceDeps = BaseMcpToolDeps;
23262
23368
  /** @category MCP */
23263
23369
  declare function registerQueryTraceTool(server: McpServer, deps: QueryTraceDeps): void;
23264
23370
 
23371
+ /**
23372
+ * PR Review Findings — typed verification gate per #2225 + #2233 Child 3
23373
+ *
23374
+ * The Bench's load-bearing differentiator vs. existing autonomous-coding
23375
+ * frameworks (per the build-vs-buy audit on #2232) is that adversarial
23376
+ * voters MUST apply the 2026-04-25 verification gate before filing a
23377
+ * finding. Without enforcement, voters revert to the 100% false-positive
23378
+ * rate that triggered #2225 in the first place.
23379
+ *
23380
+ * This module provides the typed structures + parser. Voters are
23381
+ * instructed to emit a YAML-fenced `findings` block alongside their free-
23382
+ * form reasoning; we extract structured Findings out of that block and
23383
+ * mark each as verified or unverified based on the gate output.
23384
+ *
23385
+ * Aggregation rule (enforced in pr-review-tool.ts):
23386
+ * request_changes requires at least one VERIFIED finding from a
23387
+ * non-error voter. Unverified findings surface in the response but
23388
+ * don't trigger blocking.
23389
+ *
23390
+ * @module mcp/tools/pr-review-findings
23391
+ */
23392
+ /** The 4-point verification gate (#2225). Each check is either `passed`
23393
+ * (the voter applied it and cleared) or a non-empty string explaining what
23394
+ * was named (only meaningful for `named_assertion`). Anything else fails. */
23395
+ interface VerificationGate {
23396
+ /** Re-read cited line + 5 lines before/after. */
23397
+ readonly reread_cited_line: 'passed' | 'failed' | 'skipped';
23398
+ /** Traced from a real entry point. */
23399
+ readonly traced_call_path: 'passed' | 'failed' | 'skipped';
23400
+ /** Concrete failing assertion named (e.g. "leaked listener", "throws on
23401
+ * null input"). String, not boolean — empty/short = failed. */
23402
+ readonly named_assertion: string;
23403
+ /** Ruled out language non-issues (JS single-threaded, Map iteration
23404
+ * semantics, etc). */
23405
+ readonly ruled_out_language_non_issue: 'passed' | 'failed' | 'skipped';
23406
+ }
23407
+ type FindingSeverity = 'critical' | 'high' | 'medium' | 'low';
23408
+ interface Finding {
23409
+ /** One-line summary of the issue. */
23410
+ readonly summary: string;
23411
+ /** path/file.ext:line citation. */
23412
+ readonly location: string;
23413
+ /** Severity classification. */
23414
+ readonly severity: FindingSeverity;
23415
+ /** Verification gate output. */
23416
+ readonly gate: VerificationGate;
23417
+ /** Detailed claim — what's wrong, why it matters. */
23418
+ readonly claim: string;
23419
+ /** Derived: did all 4 gate checks pass with substance? Computed by
23420
+ * `isFindingVerified`. */
23421
+ readonly verified: boolean;
23422
+ }
23423
+
23424
+ /**
23425
+ * nexus-agents/mcp - PR Review Tool (#2233 Child 1)
23426
+ *
23427
+ * Wires the existing consensus voter infrastructure to GitHub PR review.
23428
+ * Reuses `collectRealVotes` from voter-agents.ts; constructs a PR-review-
23429
+ * specific proposal that includes the diff, then maps each voter's
23430
+ * approve/reject/abstain decision into PR review semantics
23431
+ * (approve/request_changes/abstain).
23432
+ *
23433
+ * NOT a full PR-review platform — this is the smallest valuable demonstration
23434
+ * of the multi-voter pattern applied to code review, per the experiment
23435
+ * design in #2233. Children 3-6 (verification gate wiring, sample dataset,
23436
+ * analysis writeup, live PR enablement) are follow-up work.
23437
+ *
23438
+ * @module mcp/tools/pr-review-tool
23439
+ */
23440
+
23441
+ /** Voter panel for PR review. PM and AI/ML excluded — they're proposal-level
23442
+ * roles, not code-level. The 5 here are the ones with concrete claims about
23443
+ * code (#2233). */
23444
+ declare const PR_REVIEW_ROLES: readonly VoterRole[];
23445
+ /** Hard cap on diff size sent to voters. Diffs above this are truncated with
23446
+ * an explicit notice — the tool stays useful for typical PRs without blowing
23447
+ * the context budget. */
23448
+ declare const MAX_DIFF_LENGTH = 50000;
23449
+ declare const PrReviewInputSchema: z.ZodObject<{
23450
+ prTitle: z.ZodString;
23451
+ prDescription: z.ZodOptional<z.ZodString>;
23452
+ prDiff: z.ZodString;
23453
+ repoContext: z.ZodOptional<z.ZodString>;
23454
+ baseRef: z.ZodOptional<z.ZodString>;
23455
+ headRef: z.ZodOptional<z.ZodString>;
23456
+ simulate: z.ZodDefault<z.ZodBoolean>;
23457
+ }, z.core.$strip>;
23458
+ type PrReviewInput = z.infer<typeof PrReviewInputSchema>;
23459
+ type PrReviewDecision = 'approve' | 'request_changes' | 'abstain';
23460
+ interface PrReviewVote {
23461
+ readonly role: VoterRole;
23462
+ readonly decision: PrReviewDecision;
23463
+ readonly confidence: number;
23464
+ /** Free-form reasoning from the voter — full text including the
23465
+ * findings YAML block (which is also parsed into `findings` below). */
23466
+ readonly reasoning: string;
23467
+ /** Structured findings parsed from the voter's reasoning per #2225 +
23468
+ * #2233 Child 3. Each Finding has a verification gate output and a
23469
+ * derived `verified` boolean. Only verified findings can trigger
23470
+ * request_changes — see aggregatePrDecisions. */
23471
+ readonly findings: readonly Finding[];
23472
+ readonly source: 'llm' | 'simulation' | 'error';
23473
+ readonly cli?: string | undefined;
23474
+ readonly processingTimeMs: number;
23475
+ readonly errorMessage?: string;
23476
+ }
23477
+ /** Aggregate decision shape (#2250 Child 7). When `summary` is
23478
+ * `request_changes`, `verified` distinguishes high-confidence
23479
+ * blockers (≥1 verified finding) from majority-dissent soft blocks
23480
+ * (≥3/5 voters request_changes without producing verified findings).
23481
+ * Reviewers should apply the verification gate themselves on
23482
+ * unverified soft blocks. */
23483
+ interface PrReviewAggregate {
23484
+ readonly decision: PrReviewDecision;
23485
+ readonly verified: boolean;
23486
+ }
23487
+ interface PrReviewResponse {
23488
+ readonly summary: PrReviewDecision;
23489
+ /** True when the request_changes / approve outcome was driven by
23490
+ * verified findings or unanimous approval; false when the outcome
23491
+ * is a soft signal (majority dissent without verified findings). */
23492
+ readonly verified: boolean;
23493
+ readonly approveCount: number;
23494
+ readonly requestChangesCount: number;
23495
+ readonly abstainCount: number;
23496
+ readonly errorCount: number;
23497
+ readonly reviews: readonly PrReviewVote[];
23498
+ readonly totalDurationMs: number;
23499
+ }
23500
+ type PrReviewDeps = BaseMcpToolDeps;
23501
+ /** Maps a voter's approve/reject/abstain to PR review semantics. */
23502
+ declare function mapVoteDecisionToPrDecision(voteDecision: 'approve' | 'reject' | 'abstain'): PrReviewDecision;
23503
+ /** Aggregates per-voter decisions into a single summary outcome with a
23504
+ * verified/unverified tag (#2250 Child 7).
23505
+ *
23506
+ * Tiers, in order:
23507
+ *
23508
+ * 1. **Verified blocker** (`request_changes`, verified=true) — at least
23509
+ * one non-error voter declared `request_changes` AND has at least one
23510
+ * VERIFIED finding (all 4 gate checks passed with substantive
23511
+ * named_assertion). This is the #2225 verification gate.
23512
+ * 2. **Soft blocker** (`request_changes`, verified=false) — ≥3 of 5
23513
+ * non-error voters voted `request_changes`, but none produced a
23514
+ * verified finding. The retest in #2241 showed voters reliably
23515
+ * flag diff-readable bugs at this rate even without producing the
23516
+ * YAML structure (#2245 covers why). Tagged unverified so reviewers
23517
+ * apply the verification gate themselves.
23518
+ * 3. **Approve** (verified=true) — all non-error voters approve.
23519
+ * 4. **Abstain** (verified=true) — anything else; conservative default.
23520
+ *
23521
+ * Why no "AND has any finding" guard on the soft path: the empirical
23522
+ * data in `pr-review-experiment-results-v2.md` showed voters voting
23523
+ * request_changes but emitting 0 findings (verified or otherwise).
23524
+ * Adding the finding requirement would zero this path out and reproduce
23525
+ * the baseline behavior.
23526
+ */
23527
+ declare function aggregatePrDecisions(reviews: readonly PrReviewVote[]): PrReviewAggregate;
23528
+ /** Builds the proposal text passed to voters. The voters are designed for
23529
+ * yes/no proposals — by framing the diff as "should this PR be merged?" we
23530
+ * get usable output without needing new system prompts (Child 3 will add
23531
+ * those). */
23532
+ declare function buildPrReviewProposal(input: PrReviewInput): string;
23533
+ /** @category MCP */
23534
+ declare function registerPrReviewTool(server: McpServer, deps: PrReviewDeps): void;
23535
+
23265
23536
  /**
23266
23537
  * Pipeline Event Types — V2 Observability (Issue #912, Phase 4-1)
23267
23538
  *
@@ -23869,9 +24140,13 @@ declare class ClaudeCliAdapter extends SubprocessCliAdapter {
23869
24140
  constructor(options?: BaseAdapterOptions);
23870
24141
  /**
23871
24142
  * Gets Claude model information.
23872
- * buildModelInfo matches both cliModelName and cliAlias, so a single
23873
- * call handles 'opus', 'sonnet', 'haiku', and full model names.
23874
- * Falls back to legacy lookup for unrecognized models.
24143
+ * `buildModelInfo` matches `cliModelName`, `cliAlias`, and `aliases[]`
24144
+ * a single call handles 'opus', 'sonnet', 'haiku', current model names,
24145
+ * and the legacy `claude-opus-4` / `claude-haiku-3` / etc. entries that
24146
+ * live in the registry's aliases since #2200 Child 1.
24147
+ *
24148
+ * Truly unrecognized models fall through to conservative defaults
24149
+ * (current Opus pricing).
23875
24150
  */
23876
24151
  getModelInfo(): ModelInfo;
23877
24152
  /** Appends optional string-type task options to CLI args. */
@@ -26082,6 +26357,17 @@ declare function getSafetyTaxonomySummary(): SafetyTaxonomySummary;
26082
26357
  * 4. Injection pattern detection
26083
26358
  * 5. Trust tier assignment
26084
26359
  *
26360
+ * ⚠ **Use HostileInputFirewall.process() in agent code paths.** Calling
26361
+ * sanitizeInput() directly only runs Layer 1 — it does not evaluate the
26362
+ * Rule of Two (enforced in policy-gate.ts via evaluatePolicy) and does
26363
+ * not emit audit-trail events. An agent that processes untrusted input
26364
+ * while holding both write access and secrets violates the Rule of Two;
26365
+ * the policy gate is what catches this, and it only runs inside the
26366
+ * firewall pipeline. Direct use of this function is appropriate for
26367
+ * unit tests and pure content analysis, not for agent decision paths.
26368
+ *
26369
+ * @see packages/nexus-agents/src/security/firewall/firewall-pipeline.ts
26370
+ * @see packages/nexus-agents/src/security/policy-gate.ts
26085
26371
  * @param content - Raw untrusted content from GitHub
26086
26372
  * @param userRole - GitHub user's relationship to the repository
26087
26373
  * @param username - GitHub username (for allowlist check)
@@ -26142,6 +26428,15 @@ interface ClassifyResult {
26142
26428
  * 1. Allowlist membership (always Tier 1)
26143
26429
  * 2. GitHub author_association → role → default tier
26144
26430
  * 3. Content injection analysis (can only downgrade, never upgrade)
26431
+ *
26432
+ * ⚠ **Use HostileInputFirewall.process() in agent code paths.** Calling
26433
+ * classifyTrust() directly skips the Rule-of-Two check in policy-gate
26434
+ * and does not emit audit-trail events. The firewall is the canonical
26435
+ * entry point for agent decisions; direct use is for unit tests and
26436
+ * non-decision analysis only.
26437
+ *
26438
+ * @see packages/nexus-agents/src/security/firewall/firewall-pipeline.ts
26439
+ * @see packages/nexus-agents/src/security/policy-gate.ts
26145
26440
  */
26146
26441
  declare function classifyTrust(input: ClassifyInput): ClassifyResult;
26147
26442
  /**
@@ -26805,6 +27100,13 @@ interface ReputationEvent extends AuditEventBase {
26805
27100
  readonly effectiveTier: TrustTier;
26806
27101
  readonly signalCount: number;
26807
27102
  }
27103
+ /** Summary of a single element stripped during sanitization. */
27104
+ interface StrippedElementSummary {
27105
+ /** Truncated tag text (≤30 chars + '...' from the sanitizer). */
27106
+ readonly tag: string;
27107
+ /** Reason the element was removed (e.g. 'Trail of Bits injection vector'). */
27108
+ readonly reason: string;
27109
+ }
26808
27110
  /** Input sanitization result. */
26809
27111
  interface SanitizationEvent extends AuditEventBase {
26810
27112
  readonly type: 'sanitization';
@@ -26812,6 +27114,12 @@ interface SanitizationEvent extends AuditEventBase {
26812
27114
  readonly wasModified: boolean;
26813
27115
  readonly strippedCount: number;
26814
27116
  readonly injectionFlagCount: number;
27117
+ /**
27118
+ * Per-element tag/reason details, truncated to at most
27119
+ * MAX_STRIPPED_ELEMENTS_PER_EVENT entries. Required by CLAUDE.md's
27120
+ * Untrusted Input Policy: "Log stripped elements for audit trail."
27121
+ */
27122
+ readonly strippedElements: readonly StrippedElementSummary[];
26815
27123
  }
26816
27124
  /** Graph execution lifecycle event (Issue #839). */
26817
27125
  interface GraphExecutionAuditEvent extends AuditEventBase {
@@ -34068,4 +34376,4 @@ declare function createScmProvider(config: CreateScmProviderConfig): Promise<Res
34068
34376
  */
34069
34377
  declare function createGitHubProvider(repo: string): IScmProvider;
34070
34378
 
34071
- export { ALLOWED_COMMANDS, ARTIFACT_TYPES, AUDIT_PIPELINE_TEMPLATE, AbTestTracker, type ActionContext, type ActionRecord, type ActionValidationResult, type ActivationOptions, type ActivationStrategy, ActivationStrategySchema, type ActivityItem, type AdapterConfig, AdapterConfigSchema, type AdapterCreator, AdapterFactory, type AdapterLatencyConfig, type AdapterLatencyResult, AdapterModelError, RateLimiter$1 as AdapterRateLimiter, type RateLimiterConfig$1 as AdapterRateLimiterConfig, type RegisterOptions$1 as AdapterRegisterOptions, type AdapterScenarioResult, type AdaptiveOrchestratorOptions, type AdaptiveOrchestratorResult, type AdaptiveThresholdResult, type AgentAction, AgentActionSchema, type AgentActionType, AgentCapability, type AgentCluster, type AgentContext, AgentError, type AgentEvent, AgentEventSchema, type AgentExecutionResult, type AgentExecutorConfig, type AgentFinding, AgentFindingSchema, type AgentId, type AgentMessage, AgentMessageSchema, type AgentMessageType, type AgentPairKey, type AgentPerformance, AgentPerformanceSchema, type AgentResponse, type AgentRole, AgentRoleSchema, type AgentRoleType, AgentRunnerError, type AgentState$2 as AgentState, AgentStateMachine, type AgentStatus, StepExecutor as AgentStepExecutor, type AgentVoteResult, type AgentVoteSummary, type AggregatedResult, type AggregationMetadata, type AggregationStrategy, type AggregatorInput, type AggregatorOptions, AnalysisError$1 as AnalysisError, type ApiDocumentation, type ApiEndpoint, type ApiType, type AppConfig, AppConfigSchema, type ApproachOutcome, type ApproachRecord, type ArchitectureAnalysisResult, type ArchitectureDecision, ArchitectureExpert, type ArchitectureExpertOptions, type ArchitecturePattern, type ArchitectureStyle, type Artifact, type ArtifactFilter, type ArtifactRef, ArtifactRefSchema, ArtifactStore, type ArtifactStoreOptions, type ArtifactType, type AuditActor, AuditActorSchema, type AuditCategory, AuditCategorySchema, AuditError, type AuditEvent$1 as AuditEvent, type AuditEventInput, AuditEventInputSchema, AuditEventSchema, type AuditHandlerConfig, type AuditLogConfig, AuditLogConfigSchema, AuditLogger, type AuditOutcome, AuditOutcomeSchema, type AuditQueryCriteria, AuditQueryCriteriaSchema, type AuditResource, AuditResourceSchema, type AuditSeverity, AuditSeveritySchema, AuditTrail, type AuthorizationMethod, AuthorizationMethodSchema, AvailabilityCache, type AvailabilityCacheConfig, BIAS_CATEGORY, BUILT_IN_EXPERTS, BUILT_IN_RULES, BUILT_IN_TEMPLATES, BaseAdapter, type BaseAdapterConfig, type BaseAdapterOptions, BaseAgent, type BaseAgentOptions, BaseAgentOptionsSchema, BaseCliAdapter, type BaseMcpToolDeps, type BenchmarkAdapter, type BenchmarkComparison, type BenchmarkConfig, type BenchmarkEnvironment, type BenchmarkOperation, type BenchmarkOrchestratorOptions, type BenchmarkReport, type BenchmarkRunContext, type BenchmarkRunOptions, type BenchmarkRunResult, type BenchmarkRunSummary, type BenchmarkSuiteResult, type BenchmarkSummary, type BenchmarkThresholds, type BestSolution, BestSolutionSchema, type BottleneckInfo, type BuiltInExpertType, BuiltInExpertTypeSchema, CHECKPOINT_SCHEMA_VERSION, CLAUDE_MODELS, CLAUDE_MODEL_ALIASES, DEFAULT_CACHE_CONFIG as CLI_DEFAULT_CACHE_CONFIG, DEFAULT_CAPABILITIES$1 as CLI_DEFAULT_CAPABILITIES, DEFAULT_COMPOSITE_CONFIG as CLI_DEFAULT_COMPOSITE_CONFIG, CLI_TIMEOUT_PROFILES, CLI_VERSION_REQUIREMENTS, COMPLEXITY_ORDER, CORE_PLUGINS, type CancelledResultFactory, type CapabilityProfile, type CapacityStatus, type Checkpoint, type PipelineStage as CheckpointPipelineStage, type CheckpointSummary, type FailureCategory$1 as CircuitBreakerFailureCategory, type CircuitProtectedResult, type CircuitState, type ClaimValidation, type ClassifyInput, type ClassifyResult, ClaudeAdapter, type ClaudeAdapterConfig, ClaudeCliAdapter, type ClaudeCliResponse, ClaudeResponseParser, type CliAdapterConfig, CliAgentExecutor, type CliAgentExecutorConfig, type CacheStats as CliCacheStats, type CapabilityProfile$1 as CliCapabilityProfile, type CliCircuitBreakerConfig, CliCircuitBreakerIntegration, type CliCircuitHealthStatus, CliDetectionCache, type CliDetectionCacheConfig, CliDetectionCacheConfigSchema, type CliError, type CliErrorCode, type ExecutionOptions$1 as CliExecutionOptions, type CliHealthResult, type ModelInfo as CliModelInfo, type CliName, type CliResponse, type CliRetryLoopConfig, type CliRetryResult, type CliTask, type TaskComplexity$1 as CliTaskComplexity, type TokenUsage$2 as CliTokenUsage, type CliTransport, type CodeAnalysisResult, type CodeChange, CodeChangeSchema, CodeExpert, type CodeExpertOptions, CodexCliAdapter, type CodexCliResponse, CodexMcpAdapter, CodexResponseParser, type CollaborationConfig, CollaborationConfigSchema, type CollaborationMessage, type CollaborationPattern, CollaborationPatternSchema, type CollaborationResult, CollaborationSession, type CollaborationSessionOptions, type CollectRealVotesOptions, CompactDashboardRenderer, type ComparisonReport, type ComparisonResult, type CompetitorResult, type CompetitorSystem, type CompileOptions, type CompileResult$2 as CompileResult, type CompiledGraph, type CompiledPipeline, type CompletionRequest, type CompletionResponse, type ComplexityLevel, ComplexityLevelSchema, type ComplianceStatus, CompositeRouter, type CompositeRouterConfig, CompositeRouterConfigSchema, type CompositeRouterStats, type CompositeRoutingDecision, CompositeRoutingError, type CompositionStep, type CompositionValidation, type ComputedReward, type ConfidenceInterval, ConfigError, type ExpertConfig$1 as ConfigExpertConfig, ExpertConfigSchema$1 as ConfigExpertConfigSchema, type ExpertDefinition$1 as ConfigExpertDefinition, ExpertDefinitionSchema as ConfigExpertDefinitionSchema, type Conflict, type ConflictResolver, type ConflictWarning, type ConsensusAlgorithm, ConsensusAlgorithmSchema, ConsensusEngine, type ConsensusEngineConfig, ConsensusEngineConfigSchema, ConsensusError, type ConsensusMetrics, ConsensusMetricsSchema, ConsensusProtocol, type ConsensusResult, ConsensusResultSchema, type ConsensusStats, type ConsensusVoteDeps, type ConsensusVoteInput, ConsensusVoteInputSchema, type ConsensusVoteResponse, type ConsolidatedFinding, type ConsolidationBenchmarkResult, type ConsolidationOperation, type ContentBlock, ContentPriority, type ContextBudget, ContextBudgetSchema, type ContextFilter, ContextFilterSchema, type ContextItem, ContextManager, type ContextManagerConfig, ContextManagerConfigSchema, type ContextPruneStrategy, ContextPruneStrategySchema, ContextPruner, type ContextPrunerConfig, ContextPrunerConfigSchema, type ContextStats, type ContributionScore, type CorePluginRegistrationResult, type CorrelationCoefficient, CorrelationCoefficientSchema, type CorrelationMatrix, CorrelationTracker, type CorrelationTrackerStats, CorrelationTrackerStatsSchema, type CorroborationEvent, type CorroborationResult, type CorroborationRule, type CostEstimate, CostEstimateSchema, type CoverageAnalysis, type CoverageMetrics, CoverageMetricsSchema, type CreateExecutionContextOptions, type CreateExpertDeps, type CreateExpertInput, CreateExpertInputSchema, type CreateExpertOptions, type CreateExpertResponse, type CreateForestInput, type CreateNodeInput, type CreatePROptions, type CreateScmProviderConfig, type CreateSkillOptions, type CreateStreamOptions, type CreateTreeInput, type CriterionFailure, type CriterionResult, CriterionResultSchema, CriterionType, CriterionTypeSchema, type CriterionTypeType, type CrossTreeInfo, CrossTreeInfoSchema, type CrossTreeStrategy, CrossTreeStrategySchema, type CuratedContextItem, type CurationResult, DECEPTION_CATEGORY, DEFAULT_ACTIVATION_OPTIONS, DEFAULT_ADAPTER_LATENCY_CONFIG, DEFAULT_BENCHMARK_CONFIG, DEFAULT_BUDGET, DEFAULT_COLLECT_STREAM_MAX_CHUNKS, DEFAULT_COMPOSER_CONFIG, DEFAULT_CONSENSUS_CONFIG, DEFAULT_DASHBOARD_CONFIG, DEFAULT_DASHBOARD_RENDER_OPTIONS, DEFAULT_DISTILLER_CONFIG, DEFAULT_EVALUATION_CONFIG, DEFAULT_EXECUTION_TIME_MS, DEFAULT_FEEDBACK_COLLECTOR_CONFIG, DEFAULT_FEEDBACK_INTEGRATION_CONFIG, DEFAULT_FOREST_CONFIG, DEFAULT_HARNESS_EXECUTION_CONFIG, DEFAULT_HIGHER_ORDER_CONFIG, DEFAULT_MAX_RETRIES, DEFAULT_MEMORY_BENCHMARK_CONFIG, DEFAULT_OUTCOME_STORAGE_CONFIG, DEFAULT_PATCH_OPTIONS, DEFAULT_PATH_SCORING_OPTIONS, DEFAULT_PERMISSIONS, DEFAULT_POLICIES, DEFAULT_PREFERENCE_ROUTER_CONFIG, DEFAULT_RBAC, DEFAULT_REPORT_CONFIG, DEFAULT_RESOURCE_LIMITS, DEFAULT_RETRY_CONFIG, DEFAULT_ROLE_MAPPINGS, DEFAULT_SCENARIOS, DEFAULT_SKILL_LIBRARY_CONFIG, DEFAULT_SKILL_LOADER_CONFIG, DEFAULT_STATISTICAL_OPTIONS, DEFAULT_SWARM_OBSERVER_CONFIG, DEFAULT_SWE_BENCH_CONFIG, DEFAULT_TEST_RUNNER_CONFIG, DEFAULT_TIMEOUTS, DEFAULT_TIMEOUT_PROFILE, DEFAULT_TRINITY_CONFIG, DEFAULT_VOTING_PROTOCOL_CONFIG, DEFAULT_WAVE_CONFIG, DEFAULT_WEIGHTED_VOTING_CONFIG, DEV_PIPELINE_TEMPLATE, type DagEdge, DagEdgeSchema, Dashboard, type DashboardConfig, DashboardConfigSchema, type DashboardFilter, type DashboardFormat, type DashboardHealthIndicators, type DashboardOutcome, type DashboardRenderOptions, type DashboardSnapshot, type DashboardSummary, type DashboardUpdateOptions, DatasetLoadError, type DatasetLoadOptions, type DatasetLoadResult, type DecomposeError, type DelegateDeps, type DelegateInput, type DelegateInputLike, DelegateInputSchema, type DelegateOutput, DelegateOutputSchema, type DependencyError, type DependencyErrorCode, DependencyErrorCodeSchema, DependencyErrorSchema, DependencyGraph, type DependencyStructure, type DevPipelineOptions, type DevPipelineResult, type DevPipelineStages, DirectedInteractionGraph, type DiskSpaceValidation, type DistilledRule, type DistillerConfig, type DistillerStats, type DistributionStats, type DockerExecutionState, type DockerValidation, DocumentationExpert, type DocumentationExpertOptions, type DocumentationResult, type DocumentationSection, type DryRunResult, type DynamicExpert, DynamicExpertManager, type DynamicExpertSpec, END, EXPERT_CAPABILITIES, EXPERT_DEFAULT_CAPABILITIES, EXPERT_DEFAULT_TEMPERATURES, EXPERT_TYPE_TO_ROLE, type EnvValidationResult, type EnvironmentValidationResult, ErrorCode, type ErrorHandler, type ErrorPayload, type EvaluationCacheLevel, type EvaluationCriterion, EvaluationCriterionSchema, type EvaluationErrorCode, EvaluationHarness, type EvaluationHarnessConfig, EvaluationHarnessError, type EvaluationMetrics, type EvaluationMode, type EvaluationPhase, type EvaluationProgress, type EvaluationProgressCallback, type EvaluationReport, type EvaluationRunResult, type EvaluationValidationResult, EventBus, type EventBusBridgeOptions, type EventBusBridgeResult, type EventBusOptions, type EventFilter, type EventHandler, type EventPayload, type EventType, type ExecuteExpertDeps, type ExecuteExpertInput, ExecuteExpertInputSchema, type ExecuteExpertResponse, type ExecuteSpecDeps, type ExecuteSpecInput, ExecuteSpecInputSchema, type ExecutionContext$1 as ExecutionContext, type ExecutionMode, type ExecutionPhase$1 as ExecutionPhase, type ExecutionPlan$2 as ExecutionPlan, type ExecutionStage, type ExecutorWithModel, ExpectedOutcome, ExpectedOutcomeSchema, type ExpectedOutcomeType, type ExperienceRecord, type ExperienceStep, type ExperimentDefinition, type ExperimentExport, type ExperimentOutcome, type ExperimentResult, type ExperimentStatus, type ExperimentSummary, type ExperimentVariant, Expert, type ExpertAssignment, ExpertAssignmentSchema, type ExpertBridgeResult, ExpertCollaborationPattern, type ExpertCollaborationPatternType, type ExpertConfig, ExpertConfigSchema, type ExpertDefinition, type ExpertDomain, ExpertDomainSchema, ExpertFactory, ExpertFactoryAdapter, type ExpertInfo, type ExpertMatch, ExpertMatchSchema, type ExpertOptions, ExpertOptionsSchema, type ExpertOutput, ExpertOutputSchema, type ExpertParticipation, ExpertParticipationSchema, type RegisterOptions as ExpertRegisterOptions, ExpertRegistry$1 as ExpertRegistry, type ExpertResult, type ExpertResultSummary, type ExplorationEvent, ExplorationEventSchema, type ExplorationEventType, ExplorationEventTypeSchema, type ExploredFile, type ExpressionType, type ExtractSymbolsDeps, ExtractSymbolsInputSchema, FALLBACK_SCANNER_DATA, FactoryError, type FailureAnalysis$1 as FailureAnalysis, type AnalysisError as FailureAnalysisError, type FailureCategory, type FailurePattern$1 as FailurePattern, FailurePatternSchema, type FailureStatistics, type FailureType, type FallbackBehavior, type FallbackEntry, type FeedbackCollectorConfig, FeedbackCollectorConfigSchema, FeedbackIntegration, type FeedbackIntegrationConfig, type FeedbackLoopStats, type FeedbackMessage, type RoutingDecision as FeedbackRoutingDecision, RoutingDecisionSchema as FeedbackRoutingDecisionSchema, FileAuditStorage, type FileReference, FileReferenceSchema, type FileRelevance, type FindingVote, FindingVoteSchema, type Artifact$1 as FirewallArtifact, type PolicyContext$1 as FirewallPolicyContext, type PolicyDecision$2 as FirewallPolicyDecision, type PolicyRule$1 as FirewallPolicyRule, type FirewallResult, type Forest, type ForestConfig, ForestConfigSchema, type ForestId, type ForestPruningStrategy, ForestPruningStrategySchema, type ForestResult, ForestResultSchema, type ForestState, ForestStateSchema, type ForestStatistics, ForestStatisticsSchema, type FrameworkDetectionResult, type FullCapableProvider, GEMINI_MODELS, GEMINI_MODEL_ALIASES, GENERAL_PIPELINE_TEMPLATE, GeminiAdapter, type GeminiAdapterConfig, GeminiCliAdapter, type GeminiCliResponse, GeminiResponseParser, type GeneratedMcpConfig, type GeneratedTest, GeneratedTestSchema, type GitHubInput, GitHubProvider, GitHubReviewer, GitHubUserInfo, type GitHubUserMetadata, type GitHubUserRole, GitHubUserRoleSchema, GraphBuilder, type GraphCompileError, type GraphEdge, type GraphEdgeDisplay, type GraphEvent, type GraphExecuteOptions, type GraphExecutionAuditEvent, type GraphExecutionResult, type GraphNode, type GraphPipelineOptions, type GraphPipelineResult, type GraphState, type GraphStats, type GraphSummary, type GraphWorkflowInfo, HARM_EMOTIONAL_CATEGORY, HARM_FINANCIAL_CATEGORY, HARM_PHYSICAL_CATEGORY, type HarnessErrorCode, type HarnessExecutionConfig, type HarnessExecutionProgress, type HarnessExecutionResult, type HarnessExecutionState, HarnessExecutor, HarnessExecutorError, type HarnessProgressCallback, type HarnessValidationResult, HarnessVerifyAdapter, type HealthStatus, type HigherOrderVotingConfig, HigherOrderVotingConfigSchema, type HigherOrderVotingResult, HigherOrderVotingResultSchema, HigherOrderVotingStrategy, type HookError, HostileInputFirewall, type IAbTestTracker, type IAgent, type IAgentExecutor, type IArtifactStore, type IAuditLogger, type IAuditStorage, type IBenchmarkWriter, type ICTMConfig, ICTMConfigSchema, type ICTMInferenceResult, ICTMInferenceResultSchema, type ICheckpointStore, type ICircuitBreaker, type ICliAdapter, type ICliCircuitBreakerIntegration, type ICliDetectionCache, type ICliResponseParser, type ICollaborationProtocol, type ICompositeRouter, type IConsensusEngine, type ICorrelationTracker, type IDashboard, type IDashboardRenderer, type IEvaluationHarness, type IEventBus, type IFeedbackIntegration, type IHarnessExecutor, type IHigherOrderVoting, type ISwarmObserver as IInteractionObserver, type ILogger, type IMcpNotifier, type IMemoryBackend, type IModelAdapter, INSTRUCTION_SAFETY_CATEGORY, type IOrchestrationObserver, type IOrchestrator, type IOrchestratorFactory, type IOutcomeFeedback, type IOutcomeStorage, type IPatchApplicator, type IPipelineStage, type IPluginRegistry, type IPolicyEngine, type IPolicyFirewall, type IPreferenceDataStore, type IReportGenerator, type IRoutingMemory$1 as IRoutingMemory, type ISQLiteDatabase, type ISQLiteStatement, type ISandboxExecutor, type IScmProvider, type IScmReviewer, type IScmUserInfo, type ISkillDependencyGraph, type ISkillLoader, type ITaskTracker, type ITemplateRegistry, type ITestRunner, type ITokenCounter, type IVerifyAdapter, type IVotingProtocol, type IVotingStrategy, type IWeightedVoting, type IWorkflowEngine, type IWorkflowRouter, type ImprovementSuggestion, InMemoryAuditStorage, InMemoryCheckpointStore, InMemoryPreferenceStore, type IncompleteResult, type IncompleteSeverity, type IndependentSubset, IndependentSubsetSchema, type InjectionFlag, InjectionFlagSchema, type InputBinding, type InputDefinition, type InputDefinitionInput, type InputDefinitionOutput, InputDefinitionSchema, type InputType, InputTypeSchema, type InstanceEvaluationResult, type InteractionEdge, type InteractionGraph, type SwarmObserverConfig as InteractionObserverConfig, SwarmObserverConfigSchema as InteractionObserverConfigSchema, type InteractionOutcome, SwarmObserver as InteractionSwarmObserver, type InvalidVar, type IssueFilters, type IssueReference, IssueReferenceSchema, type IssueTriageDeps, type IssueTriageInput, IssueTriageInputSchema, type IssueTriageResponse, type IterationContext, type IterativeConsensusConfig, type IterativeConsensusResult, JsonDashboardRenderer, KNOWN_SECTIONS, type KnownSection, type LanguageMatrixEntry, type LatencyMetrics, LatencySampler, type LatencyScenario, type LeaderboardEntry, type LeaderboardSnapshot, type LearningProgress, type LibraryStatistics, type ListExpertsDeps, type ListExpertsInput, ListExpertsInputSchema, type ListExpertsResponse, type ListWorkflowsDeps, type ListWorkflowsInput, ListWorkflowsInputSchema, type ListWorkflowsResponse, type LoadedSkillSet, LoadedSkillSetSchema, LockedWriter, type LogContext, type LogEntry, type LogLevel, type LogPolicyAuditOpts, type LogRateLimitAuditOpts, type LogToolInvocationOpts, type LoggingConfig, LoggingConfigSchema, MANIPULATION_CATEGORY, MAX_DYNAMIC_EXPERTS, MAX_EXECUTION_TIME_MS, MEM0_TARGETS, MIN_EXPERTS_FOR_PATTERN, MODEL_CAPABILITIES, type McpConfigOptions, type IExpertFactory$1 as McpExpertFactory, type McpLogContext, type McpLogLevel, RateLimiter as McpRateLimiter, type RateLimiterConfig as McpRateLimiterConfig, type MemoryBenchmarkConfig, type MemoryEntry, MemoryError, MemoryImportance, type MemoryInfo, type MemoryMetadata, type MemoryPayload, type MemoryQueryInput, MemoryQueryInputSchema, MemoryStatsInputSchema, type MemoryWriteInput, MemoryWriteInputSchema, type MergePROptions, type Message, type MessagePayload, type MessageRole, ModelCapability, type ModelConfig, ModelConfigSchema, ModelError, type ModelMetrics, type ModelPerformanceSummary, type ModelPreference, ModelPreferenceSchema, type ModelPricing, type ModelSelection, ModelSelectionSchema, type ModelTiers, ModelTiersSchema, NOOP_NOTIFIER, NOOP_PROGRESS, NexusAgentExecutor, type NexusAgentExecutorConfig, NexusError, type NexusErrorOptions, NoAdapterError, type NodeHandler$1 as NodeHandler, type NodeHandlerFactory, type NodeHook, type NodeHookContext, type NodeId, type NodeResult, type NodeState, NodeStateSchema, OLLAMA_MODELS, OPENAI_MODELS, OPENAI_MODEL_ALIASES, OWVoting, type OWVotingOptions, type AgentState$1 as ObserverAgentState, type CostMetrics as ObserverCostMetrics, type RoutingDecision$2 as ObserverRoutingDecision, type SessionMetrics as ObserverSessionMetrics, type TokenUsage$1 as ObserverTokenUsage, type TrackedAgent as ObserverTrackedAgent, OllamaAdapter, type OllamaAdapterConfig, OpenAIAdapter, type OpenAIAdapterConfig, OpenCodeCliAdapter, type OperationBenchmark, type OperationComparison, type OrchestrateDeps, type OrchestrateInput, type OrchestrateInputLike, OrchestrateInputSchema, type OrchestrateOutput, OrchestrateOutputSchema, OrchestrationError, type OrchestrationObserverEvent, type OrchestrationObserverListener, type OrchestrationStats, OrchestrationUnavailableError, Orchestrator, type OrchestratorDefinition, OrchestratorError, type OrchestratorErrorCode, type OrchestratorExecuteOptions, OrchestratorFactory, type OrchestratorFactoryConfig, type OrchestratorOptions, OrchestratorOptionsSchema, type OrchestratorResult, type OrchestratorStep, type OrchestratorType, type OutcomeClass, type OutcomeFailureCategory, OutcomeFailureCategorySchema, OutcomeFeedbackCollector, type OutcomeProcessedCallback, type OutcomeRecord, type OutcomeStorageConfig, OutcomeStorageConfigSchema, OutcomeStorageError, OutcomeStore, type OutcomeStoreConfig, type TaskOutcome$2 as OutcomeTaskRecord, TaskOutcomeSchema$2 as OutcomeTaskSchema, PIPELINE_EVENT_TYPES, PIPELINE_STATE_KEYS, PIPELINE_TEMPLATES, PLUGIN_TRUST_LEVELS, PRIVACY_CATEGORY, PROMPT_DEFINITIONS, type PairwiseVotingHistory, PairwiseVotingHistorySchema, type ParallelOptions, ParallelProtocol, ParseError, type ParsedExpression, type ParsedSpec, ParsedSpecSchema, type ParsedTemplate, type PatchApplicationOptions, type PatchApplicationResult, PatchApplicator, PatchApplicatorError, type PatchErrorCode, type PatchFormat, type PatchValidationResult, type PathAccessRule, type PathScore, type PathScoreBreakdown, PathScoreBreakdownSchema, PathScoreSchema, type PathScoringOptions, type PatternMetrics, type PatternOutcome, type PatternType, type PerformanceMatrixEntry, type PerformanceSummary, type PersistentDistillerConfig, PersistentOutcomeStore, type PersistentOutcomeStoreConfig, PersistentStrategyDistiller, type PipelineBridgeResult, type PipelineCheckpointState, type PipelineContext, type PipelineEdge, type PipelineError, type PipelineEvent, type PipelineEventType, type PipelineExecuteOptions, type PipelineGraphResult, type PipelineMetrics, type PipelineMode, type PipelinePlugin, type PolicyMode as PipelinePolicyMode, type PolicyViolation as PipelinePolicyViolation, type PipelineResult, type PipelineRole, PipelineRunner, type PipelineStage$1 as PipelineStage, type PipelineStageData, type PipelineTask, type PipelineTemplate, type PipelineType, type PlanCompileOptions, type PlanContract, PlanContractSchema, type PluginManifest, PluginManifestSchema, PluginRegistry, type PluginRegistryOptions, type PluginTrustLevel, type ValidationError as PluginValidationError, type PolicyConfig, PolicyConfigSchema, type PolicyContext, type PolicyDecision, type PolicyDecisionAuditOpts, PolicyEngine, PolicyError, type PolicyEvalResult, type PolicyEvaluation, type PolicyEvaluatorOptions, PolicyFirewall, type PolicyFirewallConfig, type PolicyGateEvent, type PolicyGateSpec, PolicyGateSpecSchema, type PolicyMode$1 as PolicyMode, type PolicyRule, type PolicyViolation$1 as PolicyViolation, type PreconditionConfig, type PreconditionOutcome, type PreconditionResult, PredictionWriteError, PredictionWriter, type PredictionWriterOptions, type PreferenceDataPoint, type PreferenceFilter, type PreferenceModelStats, type PreferencePrediction, type PreferenceRecord, PreferenceRouter, type PreferenceRouterConfig, PreferenceRouterConfigSchema, type PreferenceRoutingDecision, type PreferenceSignal, type PreferredCapability, type ProbeFn, type ProbeResult, type ProgressCallback, type PromptDefinition, type PromptMessage, type PromptRegistrationResult, ProofOfLearningStrategy, type Proposal, type ProposalId, ProposalSchema, type ProposalState, type ProposalStatus, ProposalStatusSchema, ProtocolFactory, type ProtocolOptions, type ProvenanceEntry, type ProviderConfig, ProviderConfigSchema, type PruneOptions, type PruneResult, PruningStrategy, type PythonValidation, type QaReviewResult, type QualityAttribute, type QualityMetrics, type QualityRequirement, type QualityScorer, type QualitySignals, QualitySignalsSchema, QueryFeatureExtractor, type QueryFeatures, type QueryOptions, type QueryTraceInput, QueryTraceInputSchema, REJECTION_CATEGORIES, REPO_COMPLEXITY, RESEARCH_PIPELINE_TEMPLATE, RISK_AWARENESS_CATEGORY, ROBUSTNESS_CATEGORY, ROLE_DEFAULT_TRUST, type RateLimitAuditOpts, RateLimitError, type RateLimitExceeded, type RateLimiterState, type RawHarnessOutput, type RawHarnessProgress, type RawInstanceResult, type RawTestResult, type ReasoningDepth, ReasoningDepthSchema, type ReasoningNode, type ReasoningNodeMetadata, ReasoningNodeMetadataSchema, ReasoningNodeSchema, type ReasoningStepType, ReasoningStepTypeSchema, type ReasoningTree, ReasoningTreeSchema, type RecordExecutionOptions, type RecordInteractionOptions, type RecordOutcomeParams, type RegistrationError, RegistryError, type RegistryImportInput, RegistryImportInputSchema, type RegistryRelationship, type RegistryScanner, type RegistryStats, type RegretAnalysis, type RejectionCategory, RejectionCategorySchema, type RepoAnalysis, type RepoAnalyzeDeps, type RepoAnalyzeInput, RepoAnalyzeInputSchema, type RepoSecurityPlan, type RepoSecurityPlanDeps, type RepoSecurityPlanInput, RepoSecurityPlanInputSchema, type ReportComparison, type ReportConfig, type ReportDetailLevel, type ReportFormat, ReportGenerationError, ReportGenerator, type ReportInstanceDetails, type ReportMetadata, type ReportMetrics, type ReportOptions, type ReportRepositoryBreakdown, type ReportSummary, type RepositoryMetrics, type ReputationAssessment, ReputationCache, type ReputationEvent, type ResearchAddDeps, type ResearchAddInput, ResearchAddInputSchema, type ResearchAddResponse, type ResearchAddSourceDeps, type ResearchAddSourceInput, ResearchAddSourceInputSchema, type ResearchAddSourceResponse, type ResearchAnalyzeDeps, type ResearchAnalyzeInput, ResearchAnalyzeInputSchema, type ResearchAnalyzeResponse, type ResearchCatalogReviewDeps, ResearchCatalogReviewInputSchema, type ResearchDiscoverDeps, type ResearchDiscoverInput, ResearchDiscoverInputSchema, type ResearchDiscoverResponse, type ResearchQueryDeps, type ResearchQueryInput, ResearchQueryInputSchema, type ResearchQueryResponse, type ResearchSynthesizeDeps, type ResearchSynthesizeInput, ResearchSynthesizeInputSchema, type ResearchTriggerConfig, type ResolutionStatus, type ResolveResult, type ResourceLimits, type ResourceMetrics, type ResourceStatistics, type ResourceUsage, type Result, ResultAggregator, type ResultConflict, type ResultSubmissionMessage, type ResultSummary, type RetryAttemptInfo, type RetryConfig, RetryExhaustedError, type ReviewCapableProvider, ReviewProtocol, type ReviewRequestMessage, type ReviewResponseMessage, ReviewResponseMessageSchema, RiskLevel, RiskLevelSchema, type RiskLevelType, type RoleSkillMapping, type RoundSummary, type RouterType, type DashboardConfig$1 as RoutingDashboardConfig, type RoutingDecisionRecord, RoutingMemoryError, type RoutingMemoryExport, type RoutingMemoryStats$1 as RoutingMemoryStats, type RoutingMetrics, RoutingMetricsCollector, type RoutingMetricsConfig, type RoutingRecord, type RuleStatus, type RulesSnapshot, RulesSnapshotSchema, type RunGraphWorkflowDeps, type RunGraphWorkflowInput, RunGraphWorkflowInputSchema, type RunGraphWorkflowResponse, type RunOptions, type RunProgress, type RunStatus, type RunWorkflowDeps, type RunWorkflowInput, RunWorkflowInputSchema, type RunnerConfig, type RunnerErrorCode, SAFETY_CATEGORIES, SAFETY_CATEGORY_MAP, PROVIDER_ENV_KEYS as SDK_PROVIDER_ENV_KEYS, DEFAULT_CAPABILITIES as SKILL_DEFAULT_CAPABILITIES, SKILL_PERMISSIONS, SQLiteOutcomeStorage, STAGE_TYPES, START, type SWEBenchCheckpoint, type SWEBenchConfig, type CostEstimate$1 as SWEBenchCostEstimate, type SWEBenchDatasetInfo, type SWEBenchEvalResult, type FailureAnalysis as SWEBenchFailureAnalysis, type FailurePattern as SWEBenchFailurePattern, type SWEBenchInstance, type SWEBenchPrediction, type SWEBenchRunResult, SWEBenchRunner, SWEBenchRunnerError, type SWEBenchSummary, type SWEBenchVariant, SWE_BENCH_DATASETS, SWE_BENCH_SYSTEM_PROMPT, type SafetyCategory, SafetyCategoryId, SafetyCategoryIdSchema, type SafetyCategoryIdType, SafetyCategorySchema, type SafetyTaxonomySummary, type SafetyTestCase, SafetyTestCaseSchema, type SandboxConfig, type SandboxExecutionOptions, type SandboxMode, type SandboxPolicy, type SandboxResult, type SanitizationEvent, type SanitizedInput, SanitizedInputSchema, type SanitizerConfig, SanitizerConfigSchema, type ScannerData, type ScannerEntry, type ScannerRecommendation, type ScannerRegistryManifest, type ScenarioError, type ScenarioResult, ScenarioResultSchema, type ScmComment, type ScmCommentDetail, ScmError, type ScmFileChange, type ScmIssue, type ScmIssueDetail, type PRStatus as ScmPRStatus, type ScmPlatform, type ScmPullRequest, type ScmPullRequestDetail, type ScmReviewDecision, type ScmToken, type ScmUserMetadata, type ScoreBreakdown, ScoreBreakdownSchema, SdkAdapter, type SdkAdapterConfig, type SdkProviderId, type SearchCodebaseDeps, SearchCodebaseInputSchema, type SecurityAnalysisResult, type AuditEvent as SecurityAuditEvent, type AuditQuery as SecurityAuditQuery, type SecurityCapability, type SecurityConfig, SecurityConfigSchema, SecurityError, type SecurityErrorCode, SecurityErrorCodeSchema, type SecurityEventAuditOpts, SecurityExpert, type SecurityExpertOptions, type SecurityFocusArea, type PolicyDecision$1 as SecurityPolicyDecision, SelectionError, type ExpertRegistry as SelectionExpertRegistry, type SelectionOptions, SelectionOptionsSchema, type SelectionResult$1 as SelectionResult, SelectionResultSchema, SequentialProtocol, type SerializedError, type ServerConfig, type ServerError, type ServerInstance, type SessionEvent, type SessionState, type SessionStatus, SessionStatusSchema, type SharedConclusion, SharedConclusionSchema, type SharedInsight, SharedInsightSchema, type SharedMemoryEntry, SharedMemoryStore, type SharedMemoryTag, SimpleAgent, SimpleMajorityStrategy, type Skill, AgentRoleSchema$2 as SkillAgentRoleSchema, type SkillAttestation, SkillAttestationSchema, type SkillCapabilities, SkillCapabilitiesSchema, type SkillCategory, type SkillComplexity, SkillComposer, type SkillComposerConfig, type SkillComposition, type SkillCompositionRequest, type SkillDependency, SkillDependencyGraph, SkillDependencySchema, type SkillDependencyType, SkillDependencyTypeSchema, type SkillExample, type SkillExecution, type SkillExecutionStatus, SkillLibrary, type SkillLibraryConfig, SkillLoader, type SkillLoaderConfig, SkillLoaderConfigSchema, type SkillLoaderError, type SkillLoaderErrorCode, SkillLoaderErrorSchema, type SkillMetrics, type SkillParameter, type SkillPermission, SkillPermissionSchema, type SkillProvenance, SkillProvenanceSchema, type SkillQuery, type SkillRBAC, SkillRBACSchema, type SkillSearchResult, type SkillSecurityError, SkillSecurityErrorSchema, type SkillStore, type SkillWithMetrics, type SortOptions, type SourceCitation, SourceCitationSchema, type SpanId, type SpecExecutionError, type SpecExecutionOptions, type SpecExecutionResult, type SpecParseError, type StageCompletedOptions, type StageContext, type StageFailedOptions, type StageOutput, type StageRegistry, type StageResult, StageResultSchema, type StageSpec, StageSpecSchema, type StageStartedOptions, type StageType, type StateChangeCallback, type StateChangePayload, type StateFieldSchema, type StateMachineOptions, type StateReducer, type StateSchema, type StateTransition, type StateTransitionEvent, type StatisticalOptions, type StatisticalSummary, type StatusUpdateMessage, type StepExecutionOptions, type StepExecutor$1 as StepExecutor, type StepExecutorDeps, type StepResult, type StepResultSummary, type StopReason, type StoredModelStats, type StoredReward, type StoredRoutingDecision, type StoredTaskOutcome, type StrategyAction, StrategyDistiller, StreamCancelledError, type StreamChunk, StreamController, StreamError, type StreamState, AgentRoleSchema$1 as StrictAgentRoleSchema, InputDefinitionSchema$1 as StrictInputDefinitionSchema, WorkflowDefinitionSchema$1 as StrictWorkflowDefinitionSchema, WorkflowStepSchema$1 as StrictWorkflowStepSchema, type StrippedElement, StrippedElementSchema, type SubTask, SubTaskSchema, SubprocessCliAdapter, type SubtaskNode, SubtaskNodeSchema, type SubtaskPriority, SubtaskPrioritySchema, type SubtaskStatus, SubtaskStatusSchema, type SubtaskType, SubtaskTypeSchema, SupermajorityStrategy, type SuspiciousSignal, SuspiciousSignalSchema, type AgentState as SwarmAgentState, type SwarmHealthMetrics$1 as SwarmHealthMetrics, type SwebenchValidation, type SycophancyIndicator, type SycophancyReport, type SynthesizedResult, SynthesizedResultSchema, type SystemComponent, TASK_STATUSES, TASK_TYPE_EXPERTS, TEMPLATE_CATEGORIES, TEMPLATE_KEYWORDS, TRINITY_ROLE_MAX_TOKENS, TRINITY_ROLE_PROMPTS, TRINITY_ROLE_TEMPERATURES, TRUST_TIER_NUMERIC, type Task$1 as Task, type TaskAnalysis, type TaskAnalysisResult, TaskAnalysisResultSchema, TaskAnalysisSchema, type TaskAssignmentMessage, type TaskClassification, type TaskCommitment, TaskComplexity, type TaskContext, type TaskContract, TaskContractSchema, type TaskDag, TaskDagSchema, TaskDomain$1 as TaskDomain, type TaskId, type TaskOutcome$1 as TaskOutcome, type TaskOutcomeRecord, TaskOutcomeSchema$1 as TaskOutcomeSchema, type TaskPayload, type TaskProfileSummary, TaskQueue, type TaskRequirements, type TaskResult, TaskSchema, type TaskSignals, type TaskStatus, type TaskToolResponse, type TaskTypePerformance, type TemplateCategory, TemplateCategorySchema, type TemplateMetadata, TemplateMetadataSchema, TemplateRegistry, type TerminationReason, TerminationReasonSchema, type TestCaseResult, type TestFramework, type TestQuality, TestRunner, type TestRunnerConfig, TestRunnerError, type TestRunnerErrorCode, type TestStatus, type TestSuiteResult, type TestingAnalysisResult, TestingExpert, type TestingExpertOptions, type TextContent, TextDashboardRenderer, type ThinkerOutput, type ThresholdUpdateDetail, type ThroughputMetrics, type TimeConstraint, type TimePeriod, TimeoutError, type TimeoutProfile, type TimingStatistics, type TokenBenchmarkResult, TokenCountError, type TokenCountResult, TokenCounter, type TokenCounterConfig, TokenCounterProvider, type TokenMetrics, type TokenResolverConfig, type TokenStrategy, type TokenUsage, type TokenUsageBreakdown, type TokensByPhase, type ToolCompletedEvent, type ToolDefinition, type ToolInvocationAuditOpts, type ToolInvokedEvent, type ToolPayload, type ToolRegistrationOptions, type ToolRegistrationResult, type ToolResult, type ToolSet, ToolSetSchema, type TraceEvent, type TraceEventType, type TraceId, TraceLogger, type TraceLoggerOptions, type TrackedTask, type TransitionErrorCallback, type TreeId, type TreeState, TreeStateSchema, type TreeStatistics, TreeStatisticsSchema, type Trend, type TrendDetectedDetail, type TrinityConfig, TrinityConfigSchema, TrinityCoordinator, type TrinityExecuteOptions, type TrinityPhase, type TrinityPhaseResult, TrinityPhaseSchema, type TrinityResult, type TrinityRole, type TrinityRoleConfig, TrinityRoleSchema, TrinityStopReasonSchema, type TrustClassificationEvent, type TrustTier, TrustTierSchema, UnanimousStrategy, type UnknownVar, type Unsubscribe, type V2Config, type V2Mode, VERSION, VOTING_THRESHOLDS, ValidationDashboard, ValidationError$1 as ValidationError, type ValidationIssue, type VariantStats, type VerificationResult, type VerifierOutput, VerifierVerdictSchema, type VerifyResult, type VersionRequirements, type VersionStatus, type Violation, ViolationSchema, type Vote, type VoteCounts, type VoteDecision$1 as VoteDecision, VoteDecisionSchema$1 as VoteDecisionSchema, type VoteDecisionStatus, type VoteMessage, VoteMessageSchema, type VoteResult, VoteSchema, type VotingObservation, VotingObservationSchema, type VotingOutcome, VotingProtocol, type VotingProtocolConfig, VotingProtocolConfigSchema, type VotingProtocolResult, type VotingRound, type VotingRoundPhase, VotingRoundPhaseSchema, type VotingRoundStatus, VotingRoundStatusSchema, type VotingSession, VotingStrategyFactory, type Vulnerability, VulnerabilitySchema, VulnerabilitySeveritySchema, type WaveExecutionResult, type WaveResult, WaveScheduler, type WaveSchedulerConfig, type WaveTask, type WaveTaskExecutor, type WaveTaskResult, WeatherReportInputSchema, type WeightedAgentRecord, type WeightedConsensusResult, type WeightedVoteCounts, WeightedVoting, type WeightedVotingConfig, type WeightedVotingOptions, type WinLossAnalysis, type WithRetryOptions, type WorkChunk, type WorkerOutput, type WorkflowAdapterConfig, type WorkflowConfig, WorkflowConfigSchema, type WorkflowDefinition, type WorkflowDefinitionInput, type WorkflowDefinitionOutput, WorkflowDefinitionSchema, type WorkflowEngineFactoryConfig, WorkflowError, type WorkflowExecutionContext, type ExecutionPlan$1 as WorkflowExecutionPlan, type IExpertFactory$2 as WorkflowExpertFactory, type WorkflowInfo, WorkflowInputsSchema, WorkflowOrchestratorAdapter, type WorkflowPattern, type WorkflowRouterOptions, type RoutingDecision$1 as WorkflowRoutingDecision, type WorkflowStep$1 as WorkflowStep, type WorkflowStepInput, type WorkflowStepOutput, WorkflowStepSchema, type WorkflowTemplate, type WorkflowToolResult, actorFromContext, aggregateResults, analysisToTaskContract, analyzeTask as analyzeDelegateTask, analyzeFailures, analyzeGitHubRepo, analyzeRepo, analyzeTask$1 as analyzeTask, append, applyPatch, areStepsCompleted, assessReputation, bufferStream, buildDependencyGraph, buildDockerArgs, buildEnrichedPrompt, buildFinalResult, buildHarnessArgs, buildHarnessCommand, buildPendingResult, buildPlanFromAnalysis, buildDependencyGraph$1 as buildSkillDependencyGraph, buildTimeoutResult, calculateDelay, calculateDistributionStats, calculateEstimatedRemaining, calculateMetrics, calculateMetricsTotals, calculateMinSampleSize, calculateRegret, calculateRepositoryMetrics, calculateRoutingDistribution, calculateTokenCost, calculateTokenMetrics, calculateVoteWeight, calculateWinLoss, canApplyPatch, canExecuteSkill, canInfluenceDecisions, canPipelineProceed, canProceed, cancelExecution, categorizeOutcomeError, categorizeOutcomeErrorMessage, checkForResearchTriggers, checkPermissionBoundary, checkPipelinePolicy, checkpointToResult, chunkByDirectory, classifyTask, classifyTrust, cleanupCheckpoint, clearRegistryCache, clearTemplateCache, calculateBackoffDelay as cliCalculateBackoffDelay, categorizeError as cliCategorizeError, closeServer, collectRealVotes, collectStream, compareBenchmarks, compareProportions, compilePipelineGraph, compilePlan, compileSpecToGraph, computeAdaptiveThresholds, computeOutcomeReward, concatStreams, connectTransport, containsExpressions, countActiveSessions, createAbTestTracker, createAgentPairKey, createAgentStages, createStepExecutor as createAgentStepExecutor, createAllAdapters, createArchitectureExpert, createAttestation, createAuditLogger, createAuditTrail, createBenchmarkMemory, createBenchmarkSummary, createCheckpoint, createCheckpointStore, createClaudeAdapter, createCliAdapter, createCliCircuitBreakerIntegration, createCliDetectionCache, createCliExecutor, createCodeExpert, createCollaborationSession, createCompositeRouter, createConsensusEngine, createContextItem, createCorePluginRegistry, createCorrelationTracker, createDashboard, createDashboardRenderer, createDecayOp, createDefaultDeps, createDefaultPolicyEngine, createDefaultPolicyFirewall, createDefaultRateLimiter, createDefaultRegistry, createDelegatePipeline, createDependencyError, createDevStageRegistry, createDocumentationExpert, createDryRunHandler, createEmptyContext, createEvaluationHarness, createEventBusBridge, createExecutionContext, createExecutionPlan, createExecutor, createExplorationPrompt, createFeedbackIntegration, createFeedbackSubscriber, createFullGitHubProvider, createGeminiAdapter, createGitHubAdapter, createGitHubProvider, createGraphAuditBridge, createHarnessExecutor, createHigherOrderVotingStrategy, createIncompleteResult, createInitialCostMetrics, createInitialProgress, createInitialSessionMetrics, createInitialTokenUsage, createInitializedWorkflowEngine, createInstancePrompt, createInteractionGraph, createSwarmObserver as createInteractionSwarmObserver, createIsolatedRegistry, createLogger, createMcpLogger, createMcpNotifier, createMockExecutor, createNexusExecutorFromEnv, createOWVoting, createOllamaAdapter, createOpenAIAdapter, createOrchestrator, createOrchestratorFactory, createOutcomeFeedbackCollector, createOutcomeStorage, createPatchApplicator, createPolicyContext, createPrediction, createPreferenceRouter, createProductionWorkflowEngine, createProgressAdapter, createPromotionOp, createProtocolFactory, createRateLimiter, createRealWorkflowEngine, createReportGenerator, createResultAggregator, createRetryPrompt, createRoutingDecision, createRoutingMetricsCollector, createRunner, createSandboxExecutor, createScmProvider, createSecurityError, createSecurityExpert, createServer, createSkillComposer, createSkillDependencyGraph, createSkillLibrary, createSkillLoader, createStateComparisonVerifier, createStateGuard, createStateMachine, createStrategyDistiller, createStrategyFactory, createStream, createSummaryPrompt, createTaskOutcome, createTaskQueue, createTemplateRegistry, createTestRunner, createTestingExpert, createTimer, createTokenCounter, createToolLogger, createTrackedAgent, createTrinityCoordinator, createValidatedExecutor, createValidatedHarness, createValidationDashboard, createValidator, createVariantRunner, createVotingProtocol, createWaveScheduler, createWeightedVoting, createWorkflowEngineDeps, createWorkflowEngineDepsAsync, createWorkflowRouter, curateContext, customReducer, decomposeSpec, defaultConfig, delegateInputToTaskContract, denyMutationsWithoutModeRule, detectFailurePatterns, detectLatencyPatterns, detectSuccessPatterns, detectTestFramework, detectTrend, determineFinalStatus, emitCorroborationEvent, emitExecutionComplete, emitGraphExecutionEvent, emitNodeResults, emitNodeStarted, emitPipelineStageEvent, emitPolicyEvent, emitReputationEvent, emitSanitizationEvent, emitStageCompleted, emitStageFailed, emitStageStarted, emitStateUpdated, emitStepCompleted, emitThresholdUpdate, emitTrendDetected, emitTrustEvent, err, estimateTokens as estimateBenchmarkTokens, estimateDifficulty, estimateTaskComplexity, estimateTokens$1 as estimateTokens, evaluatePolicy as evaluatePipelinePolicy, evaluatePolicy$2 as evaluatePolicy, evaluatePredictions, evaluatePolicy$1 as evaluateSecurityPolicy, executeCliRetryLoop, executeDelegatePipeline, executeExpert, executeGraph, executeHarness, executeInDocker, executeOrchestratePipeline, executeParallel, executeSpec, exportReport, extractApproach, extractBooleanField, extractExpressions, extractFilesFromResponse, extractHypothesis, extractModelName, extractNonErrorMessage, extractNumberField, extractPastSuccessRates, extractPatch, extractRepoFromInstanceId, extractRepoName, extractSessionId, extractStateValue, extractStringArrayField, extractStringField, filterAvailableModels, filterByRepo, filterBySeverity, filterByVersion, filterStream, findActiveSession, findMissingDependencies, flushPipelineMemory, formatAdapterLatencyReport, formatBenchmarkReport, formatBenchmarkResults, formatComparisonResults, formatCompileError, formatContextForPrompt, formatValidationResult, fromArray, generateATL, generateBenchmarkReport, generateMcpConfig, generateProposalId, generateReport, generateSecurityPlan, generateWeatherReport, getAllTestCases, getAvailabilityCache, getAvailableClis, getAvailableRoles, getBenchmarkEnvironment, getBuiltInTemplates, getBuiltInTemplatesPath, getBuiltInTemplatesWithMetadata, getCapabilitiesForRole, getCategoriesByMinRiskLevel, getCliForModelId, getCompletedInstanceIds, getCompletedSteps, getCorroborationRules, getCpuCores, getDatasetInfo, getDefaultAllowedTools, getDockerVersion, getEventBusStats, getExecutionDuration, getExecutionOrder, getExpertRegistry, getFallbackChain, getGraphRegistry, getGraphWorkflowList, getInstance, getKnownNexusVarNames, getMemoryInfo, getOutcomeStore, getPipelineArtifactStore, getPipelinePluginRegistry, getPolicy, getPolicyMode, getPythonVersion, getRecommendedRole, getReferencedSteps, getRegistryManifest, getRequiredTrustTier, getResultsFilePath, getSafetyCategory, getSafetyTaxonomySummary, getSkillSetForTask, getSkillsForTask, getStepResult, getSwarmObserver, getSwebenchVersion, getTemplate, getTestCasesByTags, getTimeoutForTask, getTimeoutForTaskAuto, getTokenEnvVars, getTopologicalOrder, getVariable, hasToken, ictmToExpertConfig, identifySessionsToRemove, inferICTM, initializeAgentSkills, initializeBuiltInTemplates, initializeEventBusBridge, isCancelled, isCliAvailable$1 as isCliAvailable, isRetryableError as isCliRetryableError, isErr, isIncompleteResult, isMutatingAction, isOk, isReadOnlyAction, isRetryableError$1 as isRetryableError, isCliAvailable as isSWEBenchCliAvailable, isStepCompleted, isZodError, listInstances, listTemplateIds, loadCheckpointState, loadDataset, loadTemplateFile, loadTemplatesFromDirectory, loadWorkflowFile, logPolicyAudit, logRateLimitAudit, logToolError, logToolInvocationAudit, logToolStart, logToolSuccess, logger, map, mapAuthorAssociation, mapErr, mapResolutionStatus, mapStateToPhase, mapTestStatus, meanConfidenceInterval, mergeStreams, normalizeRepoId, ok, orchestrateInputToTaskContract, overwrite, parseATL, parseAgentPairKey, parseExpression, parseJsonResults, parseProgressLine, parseSpec, parseStdoutResults, parseTemplateContent, parseTestResults, parseWorkflowJson, parseWorkflowYaml, proportionConfidenceInterval, quickRun, quickSelect, readJsonResults, readPredictions, recordOutcome, reduceStream, registerConsensusVoteTool, registerCorePlugins, registerCreateExpertTool, registerDelegateToModelTool, registerExecuteExpertTool, registerExecuteSpecTool, registerExpertsResource, registerExtractSymbolsTool, registerIssueTriageTool, registerListExpertsTool, registerListWorkflowsTool, registerMemoryQueryTool, registerMemoryStatsTool, registerMemoryWriteTool, registerModelsResource, registerOrchestrateTool, registerPrompts, registerQueryTraceTool, registerRegistryImportTool, registerRepoAnalyzeTool, registerRepoSecurityPlanTool, registerResearchAddSourceTool, registerResearchAddTool, registerResearchAnalyzeTool, registerResearchCatalogReviewTool, registerResearchDiscoverTool, registerResearchQueryTool, registerResearchResource, registerResearchSynthesizeTool, registerResources, registerRunGraphWorkflowTool, registerRunWorkflowTool, registerSearchCodebaseTool, registerTools, registerWeatherReportTool, requiresCitation, requiresCorroboration, resetAvailabilityCache, resetPipelineArtifactStore, resetPipelinePluginRegistry, resetRegistry, resolveExpression, resolveFallback, resolveInput, resolveScannerData, resolveStringExpressions, resolveToken, resolveV2Config, resolveWithFallbacks, resultToOutcome, runAdapterLatencyBenchmark, runAdaptiveOrchestrator, runAgentOnInstance, runBenchmark, runBenchmarkInstances, runBenchmarkParallel, runConsolidationBenchmark, runDevPipeline, runGraphPipeline, runIterativeConsensus, runMemoryBenchmarks, runOperationBenchmark, runPreconditions, runSingleInstance, runTests, runTokenBenchmark, runVerification, safePathsRule, safeValidateExpertConfig, sanitize, sanitizeInput, saveStageCheckpoint, scoreByHybrid, scoreByImportance, scoreByRecency, selectExperts, selectModel, setSwarmObserver, setVariable, sigmoidConfidence, skip, sleep, snapshotContext, sortByPriority, startStdioServer, storeStepResult, take, takeUntil, tapStream, taskContractToToolResponse, toSuiteResult, toolError, toolSuccess, toolSuccessStructured, transformHarnessOutput, transformHarnessProgress, transformInstanceResult, transformStream, transformTestResult, translateEvaluationResult, unwrap, unwrapOr, updateContext, validateAgentAction, validateCommand, validateCorroboration, validateDependencyGraph, validateDiskSpace, validateDocker, validateEnvironment, validateEvaluationCriterion, validateExpertConfig, validateExpressions, validateICTM, validateNexusEnv, validatePatch, validatePatchFormat, validatePrediction, validatePredictionsFile, validatePython, validateRequiredInputs, validateSafetyCategory, validateScenario, validateCapabilities as validateSkillCapabilities, validateSkillExecution, validateSkillProvenance, validateRBAC as validateSkillRBAC, validateSwebench, validateTestCase, validateToolInput, validateWorkflow, validateWorkflowDependencies, withLogging, withRetry, withRetryWrapper, withTimeout, writePredictions };
34379
+ export { ALLOWED_COMMANDS, ARTIFACT_TYPES, AUDIT_PIPELINE_TEMPLATE, AbTestTracker, type ActionContext, type ActionRecord, type ActionValidationResult, type ActivationOptions, type ActivationStrategy, ActivationStrategySchema, type ActivityItem, type AdapterConfig, AdapterConfigSchema, type AdapterCreator, AdapterFactory, type AdapterLatencyConfig, type AdapterLatencyResult, AdapterModelError, RateLimiter$1 as AdapterRateLimiter, type RateLimiterConfig$1 as AdapterRateLimiterConfig, type RegisterOptions$1 as AdapterRegisterOptions, type AdapterScenarioResult, type AdaptiveOrchestratorOptions, type AdaptiveOrchestratorResult, type AdaptiveThresholdResult, type AgentAction, AgentActionSchema, type AgentActionType, AgentCapability, type AgentCluster, type AgentContext, AgentError, type AgentEvent, AgentEventSchema, type AgentExecutionResult, type AgentExecutorConfig, type AgentFinding, AgentFindingSchema, type AgentId, type AgentMessage, AgentMessageSchema, type AgentMessageType, type AgentPairKey, type AgentPerformance, AgentPerformanceSchema, type AgentResponse, type AgentRole, AgentRoleSchema, type AgentRoleType, AgentRunnerError, type AgentState$2 as AgentState, AgentStateMachine, type AgentStatus, StepExecutor as AgentStepExecutor, type AgentVoteResult, type AgentVoteSummary, type AggregatedResult, type AggregationMetadata, type AggregationStrategy, type AggregatorInput, type AggregatorOptions, AnalysisError$1 as AnalysisError, type ApiDocumentation, type ApiEndpoint, type ApiType, type AppConfig, AppConfigSchema, type ApproachOutcome, type ApproachRecord, type ArchitectureAnalysisResult, type ArchitectureDecision, ArchitectureExpert, type ArchitectureExpertOptions, type ArchitecturePattern, type ArchitectureStyle, type Artifact, type ArtifactFilter, type ArtifactRef, ArtifactRefSchema, ArtifactStore, type ArtifactStoreOptions, type ArtifactType, type AuditActor, AuditActorSchema, type AuditCategory, AuditCategorySchema, AuditError, type AuditEvent$1 as AuditEvent, type AuditEventInput, AuditEventInputSchema, AuditEventSchema, type AuditHandlerConfig, type AuditLogConfig, AuditLogConfigSchema, AuditLogger, type AuditOutcome, AuditOutcomeSchema, type AuditQueryCriteria, AuditQueryCriteriaSchema, type AuditResource, AuditResourceSchema, type AuditSeverity, AuditSeveritySchema, AuditTrail, type AuthorizationMethod, AuthorizationMethodSchema, AvailabilityCache, type AvailabilityCacheConfig, BIAS_CATEGORY, BUILT_IN_EXPERTS, BUILT_IN_RULES, BUILT_IN_TEMPLATES, BaseAdapter, type BaseAdapterConfig, type BaseAdapterOptions, BaseAgent, type BaseAgentOptions, BaseAgentOptionsSchema, BaseCliAdapter, type BaseMcpToolDeps, type BenchmarkAdapter, type BenchmarkComparison, type BenchmarkConfig, type BenchmarkEnvironment, type BenchmarkOperation, type BenchmarkOrchestratorOptions, type BenchmarkReport, type BenchmarkRunContext, type BenchmarkRunOptions, type BenchmarkRunResult, type BenchmarkRunSummary, type BenchmarkSuiteResult, type BenchmarkSummary, type BenchmarkThresholds, type BestSolution, BestSolutionSchema, type BottleneckInfo, type BuiltInExpertType, BuiltInExpertTypeSchema, CHECKPOINT_SCHEMA_VERSION, CLAUDE_MODELS, CLAUDE_MODEL_ALIASES, DEFAULT_CACHE_CONFIG as CLI_DEFAULT_CACHE_CONFIG, DEFAULT_CAPABILITIES$1 as CLI_DEFAULT_CAPABILITIES, DEFAULT_COMPOSITE_CONFIG as CLI_DEFAULT_COMPOSITE_CONFIG, CLI_TIMEOUT_PROFILES, CLI_VERSION_REQUIREMENTS, COMPLEXITY_ORDER, CORE_PLUGINS, type CancelledResultFactory, type CapabilityProfile, type CapacityStatus, type Checkpoint, type PipelineStage as CheckpointPipelineStage, type CheckpointSummary, type FailureCategory$1 as CircuitBreakerFailureCategory, type CircuitProtectedResult, type CircuitState, type ClaimValidation, type ClassifyInput, type ClassifyResult, ClaudeAdapter, type ClaudeAdapterConfig, ClaudeCliAdapter, type ClaudeCliResponse, ClaudeResponseParser, type CliAdapterConfig, CliAgentExecutor, type CliAgentExecutorConfig, type CacheStats as CliCacheStats, type CapabilityProfile$1 as CliCapabilityProfile, type CliCircuitBreakerConfig, CliCircuitBreakerIntegration, type CliCircuitHealthStatus, CliDetectionCache, type CliDetectionCacheConfig, CliDetectionCacheConfigSchema, type CliError, type CliErrorCode, type ExecutionOptions$1 as CliExecutionOptions, type CliHealthResult, type ModelInfo as CliModelInfo, type CliName, type CliResponse, type CliRetryLoopConfig, type CliRetryResult, type CliTask, type TaskComplexity$1 as CliTaskComplexity, type TokenUsage$2 as CliTokenUsage, type CliTransport, type CodeAnalysisResult, type CodeChange, CodeChangeSchema, CodeExpert, type CodeExpertOptions, CodexCliAdapter, type CodexCliResponse, CodexMcpAdapter, CodexResponseParser, type CollaborationConfig, CollaborationConfigSchema, type CollaborationMessage, type CollaborationPattern, CollaborationPatternSchema, type CollaborationResult, CollaborationSession, type CollaborationSessionOptions, type CollectRealVotesOptions, CompactDashboardRenderer, type ComparisonReport, type ComparisonResult, type CompetitorResult, type CompetitorSystem, type CompileOptions, type CompileResult$2 as CompileResult, type CompiledGraph, type CompiledPipeline, type CompletionRequest, type CompletionResponse, type ComplexityLevel, ComplexityLevelSchema, type ComplianceStatus, CompositeRouter, type CompositeRouterConfig, CompositeRouterConfigSchema, type CompositeRouterStats, type CompositeRoutingDecision, CompositeRoutingError, type CompositionStep, type CompositionValidation, type ComputedReward, type ConfidenceInterval, ConfigError, type ExpertConfig$1 as ConfigExpertConfig, ExpertConfigSchema$1 as ConfigExpertConfigSchema, type ExpertDefinition$1 as ConfigExpertDefinition, ExpertDefinitionSchema as ConfigExpertDefinitionSchema, type Conflict, type ConflictResolver, type ConflictWarning, type ConsensusAlgorithm, ConsensusAlgorithmSchema, ConsensusEngine, type ConsensusEngineConfig, ConsensusEngineConfigSchema, ConsensusError, type ConsensusMetrics, ConsensusMetricsSchema, ConsensusProtocol, type ConsensusResult, ConsensusResultSchema, type ConsensusStats, type ConsensusVoteDeps, type ConsensusVoteInput, ConsensusVoteInputSchema, type ConsensusVoteResponse, type ConsolidatedFinding, type ConsolidationBenchmarkResult, type ConsolidationOperation, type ContentBlock, ContentPriority, type ContextBudget, ContextBudgetSchema, type ContextFilter, ContextFilterSchema, type ContextItem, ContextManager, type ContextManagerConfig, ContextManagerConfigSchema, type ContextPruneStrategy, ContextPruneStrategySchema, ContextPruner, type ContextPrunerConfig, ContextPrunerConfigSchema, type ContextStats, type ContributionScore, type CorePluginRegistrationResult, type CorrelationCoefficient, CorrelationCoefficientSchema, type CorrelationMatrix, CorrelationTracker, type CorrelationTrackerStats, CorrelationTrackerStatsSchema, type CorroborationEvent, type CorroborationResult, type CorroborationRule, type CostEstimate, CostEstimateSchema, type CoverageAnalysis, type CoverageMetrics, CoverageMetricsSchema, type CreateExecutionContextOptions, type CreateExpertDeps, type CreateExpertInput, CreateExpertInputSchema, type CreateExpertOptions, type CreateExpertResponse, type CreateForestInput, type CreateNodeInput, type CreatePROptions, type CreateScmProviderConfig, type CreateSkillOptions, type CreateStreamOptions, type CreateTreeInput, type CriterionFailure, type CriterionResult, CriterionResultSchema, CriterionType, CriterionTypeSchema, type CriterionTypeType, type CrossTreeInfo, CrossTreeInfoSchema, type CrossTreeStrategy, CrossTreeStrategySchema, type CuratedContextItem, type CurationResult, DECEPTION_CATEGORY, DEFAULT_ACTIVATION_OPTIONS, DEFAULT_ADAPTER_LATENCY_CONFIG, DEFAULT_BENCHMARK_CONFIG, DEFAULT_BUDGET, DEFAULT_COLLECT_STREAM_MAX_CHUNKS, DEFAULT_COMPOSER_CONFIG, DEFAULT_CONSENSUS_CONFIG, DEFAULT_DASHBOARD_CONFIG, DEFAULT_DASHBOARD_RENDER_OPTIONS, DEFAULT_DISTILLER_CONFIG, DEFAULT_EVALUATION_CONFIG, DEFAULT_EXECUTION_TIME_MS, DEFAULT_FEEDBACK_COLLECTOR_CONFIG, DEFAULT_FEEDBACK_INTEGRATION_CONFIG, DEFAULT_FOREST_CONFIG, DEFAULT_HARNESS_EXECUTION_CONFIG, DEFAULT_HIGHER_ORDER_CONFIG, DEFAULT_MAX_RETRIES, DEFAULT_MEMORY_BENCHMARK_CONFIG, DEFAULT_OUTCOME_STORAGE_CONFIG, DEFAULT_PATCH_OPTIONS, DEFAULT_PATH_SCORING_OPTIONS, DEFAULT_PERMISSIONS, DEFAULT_POLICIES, DEFAULT_PREFERENCE_ROUTER_CONFIG, DEFAULT_RBAC, DEFAULT_REPORT_CONFIG, DEFAULT_RESOURCE_LIMITS, DEFAULT_RETRY_CONFIG, DEFAULT_ROLE_MAPPINGS, DEFAULT_SCENARIOS, DEFAULT_SKILL_LIBRARY_CONFIG, DEFAULT_SKILL_LOADER_CONFIG, DEFAULT_STATISTICAL_OPTIONS, DEFAULT_SWARM_OBSERVER_CONFIG, DEFAULT_SWE_BENCH_CONFIG, DEFAULT_TEST_RUNNER_CONFIG, DEFAULT_TIMEOUTS, DEFAULT_TIMEOUT_PROFILE, DEFAULT_TRINITY_CONFIG, DEFAULT_VOTING_PROTOCOL_CONFIG, DEFAULT_WAVE_CONFIG, DEFAULT_WEIGHTED_VOTING_CONFIG, DEV_PIPELINE_TEMPLATE, type DagEdge, DagEdgeSchema, Dashboard, type DashboardConfig, DashboardConfigSchema, type DashboardFilter, type DashboardFormat, type DashboardHealthIndicators, type DashboardOutcome, type DashboardRenderOptions, type DashboardSnapshot, type DashboardSummary, type DashboardUpdateOptions, DatasetLoadError, type DatasetLoadOptions, type DatasetLoadResult, type DecomposeError, type DelegateDeps, type DelegateInput, type DelegateInputLike, DelegateInputSchema, type DelegateOutput, DelegateOutputSchema, type DependencyError, type DependencyErrorCode, DependencyErrorCodeSchema, DependencyErrorSchema, DependencyGraph, type DependencyStructure, type DevPipelineOptions, type DevPipelineResult, type DevPipelineStages, DirectedInteractionGraph, type DiskSpaceValidation, type DistilledRule, type DistillerConfig, type DistillerStats, type DistributionStats, type DockerExecutionState, type DockerValidation, DocumentationExpert, type DocumentationExpertOptions, type DocumentationResult, type DocumentationSection, type DryRunResult, type DynamicExpert, DynamicExpertManager, type DynamicExpertSpec, END, EXPERT_CAPABILITIES, EXPERT_DEFAULT_CAPABILITIES, EXPERT_DEFAULT_TEMPERATURES, EXPERT_TYPE_TO_ROLE, type EnvValidationResult, type EnvironmentValidationResult, ErrorCode, type ErrorHandler, type ErrorPayload, type EvaluationCacheLevel, type EvaluationCriterion, EvaluationCriterionSchema, type EvaluationErrorCode, EvaluationHarness, type EvaluationHarnessConfig, EvaluationHarnessError, type EvaluationMetrics, type EvaluationMode, type EvaluationPhase, type EvaluationProgress, type EvaluationProgressCallback, type EvaluationReport, type EvaluationRunResult, type EvaluationValidationResult, EventBus, type EventBusBridgeOptions, type EventBusBridgeResult, type EventBusOptions, type EventFilter, type EventHandler, type EventPayload, type EventType, type ExecuteExpertDeps, type ExecuteExpertInput, ExecuteExpertInputSchema, type ExecuteExpertResponse, type ExecuteSpecDeps, type ExecuteSpecInput, ExecuteSpecInputSchema, type ExecutionContext$1 as ExecutionContext, type ExecutionMode, type ExecutionPhase$1 as ExecutionPhase, type ExecutionPlan$2 as ExecutionPlan, type ExecutionStage, type ExecutorWithModel, ExpectedOutcome, ExpectedOutcomeSchema, type ExpectedOutcomeType, type ExperienceRecord, type ExperienceStep, type ExperimentDefinition, type ExperimentExport, type ExperimentOutcome, type ExperimentResult, type ExperimentStatus, type ExperimentSummary, type ExperimentVariant, Expert, type ExpertAssignment, ExpertAssignmentSchema, type ExpertBridgeResult, ExpertCollaborationPattern, type ExpertCollaborationPatternType, type ExpertConfig, ExpertConfigSchema, type ExpertDefinition, type ExpertDomain, ExpertDomainSchema, ExpertFactory, ExpertFactoryAdapter, type ExpertInfo, type ExpertMatch, ExpertMatchSchema, type ExpertOptions, ExpertOptionsSchema, type ExpertOutput, ExpertOutputSchema, type ExpertParticipation, ExpertParticipationSchema, type RegisterOptions as ExpertRegisterOptions, ExpertRegistry$1 as ExpertRegistry, type ExpertResult, type ExpertResultSummary, type ExplorationEvent, ExplorationEventSchema, type ExplorationEventType, ExplorationEventTypeSchema, type ExploredFile, type ExpressionType, type ExtractSymbolsDeps, ExtractSymbolsInputSchema, FALLBACK_SCANNER_DATA, FactoryError, type FailureAnalysis$1 as FailureAnalysis, type AnalysisError as FailureAnalysisError, type FailureCategory, type FailurePattern$1 as FailurePattern, FailurePatternSchema, type FailureStatistics, type FailureType, type FallbackBehavior, type FallbackEntry, type FeedbackCollectorConfig, FeedbackCollectorConfigSchema, FeedbackIntegration, type FeedbackIntegrationConfig, type FeedbackLoopStats, type FeedbackMessage, type RoutingDecision as FeedbackRoutingDecision, RoutingDecisionSchema as FeedbackRoutingDecisionSchema, FileAuditStorage, type FileReference, FileReferenceSchema, type FileRelevance, type FindingVote, FindingVoteSchema, type Artifact$1 as FirewallArtifact, type PolicyContext$1 as FirewallPolicyContext, type PolicyDecision$2 as FirewallPolicyDecision, type PolicyRule$1 as FirewallPolicyRule, type FirewallResult, type Forest, type ForestConfig, ForestConfigSchema, type ForestId, type ForestPruningStrategy, ForestPruningStrategySchema, type ForestResult, ForestResultSchema, type ForestState, ForestStateSchema, type ForestStatistics, ForestStatisticsSchema, type FrameworkDetectionResult, type FullCapableProvider, GEMINI_MODELS, GEMINI_MODEL_ALIASES, GENERAL_PIPELINE_TEMPLATE, GeminiAdapter, type GeminiAdapterConfig, GeminiCliAdapter, type GeminiCliResponse, GeminiResponseParser, type GeneratedMcpConfig, type GeneratedTest, GeneratedTestSchema, type GitHubInput, GitHubProvider, GitHubReviewer, GitHubUserInfo, type GitHubUserMetadata, type GitHubUserRole, GitHubUserRoleSchema, GraphBuilder, type GraphCompileError, type GraphEdge, type GraphEdgeDisplay, type GraphEvent, type GraphExecuteOptions, type GraphExecutionAuditEvent, type GraphExecutionResult, type GraphNode, type GraphPipelineOptions, type GraphPipelineResult, type GraphState, type GraphStats, type GraphSummary, type GraphWorkflowInfo, HARM_EMOTIONAL_CATEGORY, HARM_FINANCIAL_CATEGORY, HARM_PHYSICAL_CATEGORY, type HarnessErrorCode, type HarnessExecutionConfig, type HarnessExecutionProgress, type HarnessExecutionResult, type HarnessExecutionState, HarnessExecutor, HarnessExecutorError, type HarnessProgressCallback, type HarnessValidationResult, HarnessVerifyAdapter, type HealthStatus, type HigherOrderVotingConfig, HigherOrderVotingConfigSchema, type HigherOrderVotingResult, HigherOrderVotingResultSchema, HigherOrderVotingStrategy, type HookError, HostileInputFirewall, type IAbTestTracker, type IAgent, type IAgentExecutor, type IArtifactStore, type IAuditLogger, type IAuditStorage, type IBenchmarkWriter, type ICTMConfig, ICTMConfigSchema, type ICTMInferenceResult, ICTMInferenceResultSchema, type ICheckpointStore, type ICircuitBreaker, type ICliAdapter, type ICliCircuitBreakerIntegration, type ICliDetectionCache, type ICliResponseParser, type ICollaborationProtocol, type ICompositeRouter, type IConsensusEngine, type ICorrelationTracker, type IDashboard, type IDashboardRenderer, type IEvaluationHarness, type IEventBus, type IFeedbackIntegration, type IHarnessExecutor, type IHigherOrderVoting, type ISwarmObserver as IInteractionObserver, type ILogger, type IMcpNotifier, type IMemoryBackend, type IModelAdapter, INSTRUCTION_SAFETY_CATEGORY, type IOrchestrationObserver, type IOrchestrator, type IOrchestratorFactory, type IOutcomeFeedback, type IOutcomeStorage, type IPatchApplicator, type IPipelineStage, type IPluginRegistry, type IPolicyEngine, type IPolicyFirewall, type IPreferenceDataStore, type IReportGenerator, type IRoutingMemory$1 as IRoutingMemory, type ISQLiteDatabase, type ISQLiteStatement, type ISandboxExecutor, type IScmProvider, type IScmReviewer, type IScmUserInfo, type ISkillDependencyGraph, type ISkillLoader, type ITaskTracker, type ITemplateRegistry, type ITestRunner, type ITokenCounter, type IVerifyAdapter, type IVotingProtocol, type IVotingStrategy, type IWeightedVoting, type IWorkflowEngine, type IWorkflowRouter, type ImprovementSuggestion, InMemoryAuditStorage, InMemoryCheckpointStore, InMemoryPreferenceStore, type IncompleteResult, type IncompleteSeverity, type IndependentSubset, IndependentSubsetSchema, type InjectionFlag, InjectionFlagSchema, type InputBinding, type InputDefinition, type InputDefinitionInput, type InputDefinitionOutput, InputDefinitionSchema, type InputType, InputTypeSchema, type InstanceEvaluationResult, type InteractionEdge, type InteractionGraph, type SwarmObserverConfig as InteractionObserverConfig, SwarmObserverConfigSchema as InteractionObserverConfigSchema, type InteractionOutcome, SwarmObserver as InteractionSwarmObserver, type InvalidVar, type IssueFilters, type IssueReference, IssueReferenceSchema, type IssueTriageDeps, type IssueTriageInput, IssueTriageInputSchema, type IssueTriageResponse, type IterationContext, type IterativeConsensusConfig, type IterativeConsensusResult, JsonDashboardRenderer, KNOWN_SECTIONS, type KnownSection, type LanguageMatrixEntry, type LatencyMetrics, LatencySampler, type LatencyScenario, type LeaderboardEntry, type LeaderboardSnapshot, type LearningProgress, type LibraryStatistics, type ListExpertsDeps, type ListExpertsInput, ListExpertsInputSchema, type ListExpertsResponse, type ListWorkflowsDeps, type ListWorkflowsInput, ListWorkflowsInputSchema, type ListWorkflowsResponse, type LoadedSkillSet, LoadedSkillSetSchema, LockedWriter, type LogContext, type LogEntry, type LogLevel, type LogPolicyAuditOpts, type LogRateLimitAuditOpts, type LogToolInvocationOpts, type LoggingConfig, LoggingConfigSchema, MANIPULATION_CATEGORY, MAX_DIFF_LENGTH, MAX_DYNAMIC_EXPERTS, MAX_EXECUTION_TIME_MS, MEM0_TARGETS, MIN_EXPERTS_FOR_PATTERN, MODEL_CAPABILITIES, type McpConfigOptions, type IExpertFactory$1 as McpExpertFactory, type McpLogContext, type McpLogLevel, RateLimiter as McpRateLimiter, type RateLimiterConfig as McpRateLimiterConfig, type MemoryBenchmarkConfig, type MemoryEntry, MemoryError, MemoryImportance, type MemoryInfo, type MemoryMetadata, type MemoryPayload, type MemoryQueryInput, MemoryQueryInputSchema, MemoryStatsInputSchema, type MemoryWriteInput, MemoryWriteInputSchema, type MergePROptions, type Message, type MessagePayload, type MessageRole, ModelCapability, type ModelConfig, ModelConfigSchema, ModelError, type ModelMetrics, type ModelPerformanceSummary, type ModelPreference, ModelPreferenceSchema, type ModelPricing, type ModelSelection, ModelSelectionSchema, type ModelTiers, ModelTiersSchema, NOOP_NOTIFIER, NOOP_PROGRESS, NexusAgentExecutor, type NexusAgentExecutorConfig, NexusError, type NexusErrorOptions, NoAdapterError, type NodeHandler$1 as NodeHandler, type NodeHandlerFactory, type NodeHook, type NodeHookContext, type NodeId, type NodeResult, type NodeState, NodeStateSchema, OLLAMA_MODELS, OPENAI_MODELS, OPENAI_MODEL_ALIASES, OWVoting, type OWVotingOptions, type AgentState$1 as ObserverAgentState, type CostMetrics as ObserverCostMetrics, type RoutingDecision$2 as ObserverRoutingDecision, type SessionMetrics as ObserverSessionMetrics, type TokenUsage$1 as ObserverTokenUsage, type TrackedAgent as ObserverTrackedAgent, OllamaAdapter, type OllamaAdapterConfig, OpenAIAdapter, type OpenAIAdapterConfig, OpenCodeCliAdapter, type OperationBenchmark, type OperationComparison, type OrchestrateDeps, type OrchestrateInput, type OrchestrateInputLike, OrchestrateInputSchema, type OrchestrateOutput, OrchestrateOutputSchema, OrchestrationError, type OrchestrationObserverEvent, type OrchestrationObserverListener, type OrchestrationStats, OrchestrationUnavailableError, Orchestrator, type OrchestratorDefinition, OrchestratorError, type OrchestratorErrorCode, type OrchestratorExecuteOptions, OrchestratorFactory, type OrchestratorFactoryConfig, type OrchestratorOptions, OrchestratorOptionsSchema, type OrchestratorResult, type OrchestratorStep, type OrchestratorType, type OutcomeClass, type OutcomeFailureCategory, OutcomeFailureCategorySchema, OutcomeFeedbackCollector, type OutcomeProcessedCallback, type OutcomeRecord, type OutcomeStorageConfig, OutcomeStorageConfigSchema, OutcomeStorageError, OutcomeStore, type OutcomeStoreConfig, type TaskOutcome$2 as OutcomeTaskRecord, TaskOutcomeSchema$2 as OutcomeTaskSchema, PIPELINE_EVENT_TYPES, PIPELINE_STATE_KEYS, PIPELINE_TEMPLATES, PLUGIN_TRUST_LEVELS, PRIVACY_CATEGORY, PROMPT_DEFINITIONS, PR_REVIEW_ROLES, type PairwiseVotingHistory, PairwiseVotingHistorySchema, type ParallelOptions, ParallelProtocol, ParseError, type ParsedExpression, type ParsedSpec, ParsedSpecSchema, type ParsedTemplate, type PatchApplicationOptions, type PatchApplicationResult, PatchApplicator, PatchApplicatorError, type PatchErrorCode, type PatchFormat, type PatchValidationResult, type PathAccessRule, type PathScore, type PathScoreBreakdown, PathScoreBreakdownSchema, PathScoreSchema, type PathScoringOptions, type PatternMetrics, type PatternOutcome, type PatternType, type PerformanceMatrixEntry, type PerformanceSummary, type PersistentDistillerConfig, PersistentOutcomeStore, type PersistentOutcomeStoreConfig, PersistentStrategyDistiller, type PipelineBridgeResult, type PipelineCheckpointState, type PipelineContext, type PipelineEdge, type PipelineError, type PipelineEvent, type PipelineEventType, type PipelineExecuteOptions, type PipelineGraphResult, type PipelineMetrics, type PipelineMode, type PipelinePlugin, type PolicyMode as PipelinePolicyMode, type PolicyViolation as PipelinePolicyViolation, type PipelineResult, type PipelineRole, PipelineRunner, type PipelineStage$1 as PipelineStage, type PipelineStageData, type PipelineTask, type PipelineTemplate, type PipelineType, type PlanCompileOptions, type PlanContract, PlanContractSchema, type PluginManifest, PluginManifestSchema, PluginRegistry, type PluginRegistryOptions, type PluginTrustLevel, type ValidationError as PluginValidationError, type PolicyConfig, PolicyConfigSchema, type PolicyContext, type PolicyDecision, type PolicyDecisionAuditOpts, PolicyEngine, PolicyError, type PolicyEvalResult, type PolicyEvaluation, type PolicyEvaluatorOptions, PolicyFirewall, type PolicyFirewallConfig, type PolicyGateEvent, type PolicyGateSpec, PolicyGateSpecSchema, type PolicyMode$1 as PolicyMode, type PolicyRule, type PolicyViolation$1 as PolicyViolation, type PrReviewDecision, type PrReviewDeps, type PrReviewInput, PrReviewInputSchema, type PrReviewResponse, type PrReviewVote, type PreconditionConfig, type PreconditionOutcome, type PreconditionResult, PredictionWriteError, PredictionWriter, type PredictionWriterOptions, type PreferenceDataPoint, type PreferenceFilter, type PreferenceModelStats, type PreferencePrediction, type PreferenceRecord, PreferenceRouter, type PreferenceRouterConfig, PreferenceRouterConfigSchema, type PreferenceRoutingDecision, type PreferenceSignal, type PreferredCapability, type ProbeFn, type ProbeResult, type ProgressCallback, type PromptDefinition, type PromptMessage, type PromptRegistrationResult, ProofOfLearningStrategy, type Proposal, type ProposalId, ProposalSchema, type ProposalState, type ProposalStatus, ProposalStatusSchema, ProtocolFactory, type ProtocolOptions, type ProvenanceEntry, type ProviderConfig, ProviderConfigSchema, type PruneOptions, type PruneResult, PruningStrategy, type PythonValidation, type QaReviewResult, type QualityAttribute, type QualityMetrics, type QualityRequirement, type QualityScorer, type QualitySignals, QualitySignalsSchema, QueryFeatureExtractor, type QueryFeatures, type QueryOptions, type QueryTraceInput, QueryTraceInputSchema, REJECTION_CATEGORIES, REPO_COMPLEXITY, RESEARCH_PIPELINE_TEMPLATE, RISK_AWARENESS_CATEGORY, ROBUSTNESS_CATEGORY, ROLE_DEFAULT_TRUST, type RateLimitAuditOpts, RateLimitError, type RateLimitExceeded, type RateLimiterState, type RawHarnessOutput, type RawHarnessProgress, type RawInstanceResult, type RawTestResult, type ReasoningDepth, ReasoningDepthSchema, type ReasoningNode, type ReasoningNodeMetadata, ReasoningNodeMetadataSchema, ReasoningNodeSchema, type ReasoningStepType, ReasoningStepTypeSchema, type ReasoningTree, ReasoningTreeSchema, type RecordExecutionOptions, type RecordInteractionOptions, type RecordOutcomeParams, type RegistrationError, RegistryError, type RegistryImportInput, RegistryImportInputSchema, type RegistryRelationship, type RegistryScanner, type RegistryStats, type RegretAnalysis, type RejectionCategory, RejectionCategorySchema, type RepoAnalysis, type RepoAnalyzeDeps, type RepoAnalyzeInput, RepoAnalyzeInputSchema, type RepoSecurityPlan, type RepoSecurityPlanDeps, type RepoSecurityPlanInput, RepoSecurityPlanInputSchema, type ReportComparison, type ReportConfig, type ReportDetailLevel, type ReportFormat, ReportGenerationError, ReportGenerator, type ReportInstanceDetails, type ReportMetadata, type ReportMetrics, type ReportOptions, type ReportRepositoryBreakdown, type ReportSummary, type RepositoryMetrics, type ReputationAssessment, ReputationCache, type ReputationEvent, type ResearchAddDeps, type ResearchAddInput, ResearchAddInputSchema, type ResearchAddResponse, type ResearchAddSourceDeps, type ResearchAddSourceInput, ResearchAddSourceInputSchema, type ResearchAddSourceResponse, type ResearchAnalyzeDeps, type ResearchAnalyzeInput, ResearchAnalyzeInputSchema, type ResearchAnalyzeResponse, type ResearchCatalogReviewDeps, ResearchCatalogReviewInputSchema, type ResearchDiscoverDeps, type ResearchDiscoverInput, ResearchDiscoverInputSchema, type ResearchDiscoverResponse, type ResearchQueryDeps, type ResearchQueryInput, ResearchQueryInputSchema, type ResearchQueryResponse, type ResearchSynthesizeDeps, type ResearchSynthesizeInput, ResearchSynthesizeInputSchema, type ResearchTriggerConfig, type ResolutionStatus, type ResolveResult, type ResourceLimits, type ResourceMetrics, type ResourceStatistics, type ResourceUsage, type Result, ResultAggregator, type ResultConflict, type ResultSubmissionMessage, type ResultSummary, type RetryAttemptInfo, type RetryConfig, RetryExhaustedError, type ReviewCapableProvider, ReviewProtocol, type ReviewRequestMessage, type ReviewResponseMessage, ReviewResponseMessageSchema, RiskLevel, RiskLevelSchema, type RiskLevelType, type RoleSkillMapping, type RoundSummary, type RouterType, type DashboardConfig$1 as RoutingDashboardConfig, type RoutingDecisionRecord, RoutingMemoryError, type RoutingMemoryExport, type RoutingMemoryStats$1 as RoutingMemoryStats, type RoutingMetrics, RoutingMetricsCollector, type RoutingMetricsConfig, type RoutingRecord, type RuleStatus, type RulesSnapshot, RulesSnapshotSchema, type RunGraphWorkflowDeps, type RunGraphWorkflowInput, RunGraphWorkflowInputSchema, type RunGraphWorkflowResponse, type RunOptions, type RunProgress, type RunStatus, type RunWorkflowDeps, type RunWorkflowInput, RunWorkflowInputSchema, type RunnerConfig, type RunnerErrorCode, SAFETY_CATEGORIES, SAFETY_CATEGORY_MAP, PROVIDER_ENV_KEYS as SDK_PROVIDER_ENV_KEYS, DEFAULT_CAPABILITIES as SKILL_DEFAULT_CAPABILITIES, SKILL_PERMISSIONS, SQLiteOutcomeStorage, STAGE_TYPES, START, type SWEBenchCheckpoint, type SWEBenchConfig, type CostEstimate$1 as SWEBenchCostEstimate, type SWEBenchDatasetInfo, type SWEBenchEvalResult, type FailureAnalysis as SWEBenchFailureAnalysis, type FailurePattern as SWEBenchFailurePattern, type SWEBenchInstance, type SWEBenchPrediction, type SWEBenchRunResult, SWEBenchRunner, SWEBenchRunnerError, type SWEBenchSummary, type SWEBenchVariant, SWE_BENCH_DATASETS, SWE_BENCH_SYSTEM_PROMPT, type SafetyCategory, SafetyCategoryId, SafetyCategoryIdSchema, type SafetyCategoryIdType, SafetyCategorySchema, type SafetyTaxonomySummary, type SafetyTestCase, SafetyTestCaseSchema, type SandboxConfig, type SandboxExecutionOptions, type SandboxMode, type SandboxPolicy, type SandboxResult, type SanitizationEvent, type SanitizedInput, SanitizedInputSchema, type SanitizerConfig, SanitizerConfigSchema, type ScannerData, type ScannerEntry, type ScannerRecommendation, type ScannerRegistryManifest, type ScenarioError, type ScenarioResult, ScenarioResultSchema, type ScmComment, type ScmCommentDetail, ScmError, type ScmFileChange, type ScmIssue, type ScmIssueDetail, type PRStatus as ScmPRStatus, type ScmPlatform, type ScmPullRequest, type ScmPullRequestDetail, type ScmReviewDecision, type ScmToken, type ScmUserMetadata, type ScoreBreakdown, ScoreBreakdownSchema, SdkAdapter, type SdkAdapterConfig, type SdkProviderId, type SearchCodebaseDeps, SearchCodebaseInputSchema, type SecurityAnalysisResult, type AuditEvent as SecurityAuditEvent, type AuditQuery as SecurityAuditQuery, type SecurityCapability, type SecurityConfig, SecurityConfigSchema, SecurityError, type SecurityErrorCode, SecurityErrorCodeSchema, type SecurityEventAuditOpts, SecurityExpert, type SecurityExpertOptions, type SecurityFocusArea, type PolicyDecision$1 as SecurityPolicyDecision, SelectionError, type ExpertRegistry as SelectionExpertRegistry, type SelectionOptions, SelectionOptionsSchema, type SelectionResult$1 as SelectionResult, SelectionResultSchema, SequentialProtocol, type SerializedError, type ServerConfig, type ServerError, type ServerInstance, type SessionEvent, type SessionState, type SessionStatus, SessionStatusSchema, type SharedConclusion, SharedConclusionSchema, type SharedInsight, SharedInsightSchema, type SharedMemoryEntry, SharedMemoryStore, type SharedMemoryTag, SimpleAgent, SimpleMajorityStrategy, type Skill, AgentRoleSchema$2 as SkillAgentRoleSchema, type SkillAttestation, SkillAttestationSchema, type SkillCapabilities, SkillCapabilitiesSchema, type SkillCategory, type SkillComplexity, SkillComposer, type SkillComposerConfig, type SkillComposition, type SkillCompositionRequest, type SkillDependency, SkillDependencyGraph, SkillDependencySchema, type SkillDependencyType, SkillDependencyTypeSchema, type SkillExample, type SkillExecution, type SkillExecutionStatus, SkillLibrary, type SkillLibraryConfig, SkillLoader, type SkillLoaderConfig, SkillLoaderConfigSchema, type SkillLoaderError, type SkillLoaderErrorCode, SkillLoaderErrorSchema, type SkillMetrics, type SkillParameter, type SkillPermission, SkillPermissionSchema, type SkillProvenance, SkillProvenanceSchema, type SkillQuery, type SkillRBAC, SkillRBACSchema, type SkillSearchResult, type SkillSecurityError, SkillSecurityErrorSchema, type SkillStore, type SkillWithMetrics, type SortOptions, type SourceCitation, SourceCitationSchema, type SpanId, type SpecExecutionError, type SpecExecutionOptions, type SpecExecutionResult, type SpecParseError, type StageCompletedOptions, type StageContext, type StageFailedOptions, type StageOutput, type StageRegistry, type StageResult, StageResultSchema, type StageSpec, StageSpecSchema, type StageStartedOptions, type StageType, type StateChangeCallback, type StateChangePayload, type StateFieldSchema, type StateMachineOptions, type StateReducer, type StateSchema, type StateTransition, type StateTransitionEvent, type StatisticalOptions, type StatisticalSummary, type StatusUpdateMessage, type StepExecutionOptions, type StepExecutor$1 as StepExecutor, type StepExecutorDeps, type StepResult, type StepResultSummary, type StopReason, type StoredModelStats, type StoredReward, type StoredRoutingDecision, type StoredTaskOutcome, type StrategyAction, StrategyDistiller, StreamCancelledError, type StreamChunk, StreamController, StreamError, type StreamState, AgentRoleSchema$1 as StrictAgentRoleSchema, InputDefinitionSchema$1 as StrictInputDefinitionSchema, WorkflowDefinitionSchema$1 as StrictWorkflowDefinitionSchema, WorkflowStepSchema$1 as StrictWorkflowStepSchema, type StrippedElement, StrippedElementSchema, type SubTask, SubTaskSchema, SubprocessCliAdapter, type SubtaskNode, SubtaskNodeSchema, type SubtaskPriority, SubtaskPrioritySchema, type SubtaskStatus, SubtaskStatusSchema, type SubtaskType, SubtaskTypeSchema, SupermajorityStrategy, type SuspiciousSignal, SuspiciousSignalSchema, type AgentState as SwarmAgentState, type SwarmHealthMetrics$1 as SwarmHealthMetrics, type SwebenchValidation, type SycophancyIndicator, type SycophancyReport, type SynthesizedResult, SynthesizedResultSchema, type SystemComponent, TASK_STATUSES, TASK_TYPE_EXPERTS, TEMPLATE_CATEGORIES, TEMPLATE_KEYWORDS, TRINITY_ROLE_MAX_TOKENS, TRINITY_ROLE_PROMPTS, TRINITY_ROLE_TEMPERATURES, TRUST_TIER_NUMERIC, type Task$1 as Task, type TaskAnalysis, type TaskAnalysisResult, TaskAnalysisResultSchema, TaskAnalysisSchema, type TaskAssignmentMessage, type TaskClassification, type TaskCommitment, TaskComplexity, type TaskContext, type TaskContract, TaskContractSchema, type TaskDag, TaskDagSchema, TaskDomain$1 as TaskDomain, type TaskId, type TaskOutcome$1 as TaskOutcome, type TaskOutcomeRecord, TaskOutcomeSchema$1 as TaskOutcomeSchema, type TaskPayload, type TaskProfileSummary, TaskQueue, type TaskRequirements, type TaskResult, TaskSchema, type TaskSignals, type TaskStatus, type TaskToolResponse, type TaskTypePerformance, type TemplateCategory, TemplateCategorySchema, type TemplateMetadata, TemplateMetadataSchema, TemplateRegistry, type TerminationReason, TerminationReasonSchema, type TestCaseResult, type TestFramework, type TestQuality, TestRunner, type TestRunnerConfig, TestRunnerError, type TestRunnerErrorCode, type TestStatus, type TestSuiteResult, type TestingAnalysisResult, TestingExpert, type TestingExpertOptions, type TextContent, TextDashboardRenderer, type ThinkerOutput, type ThresholdUpdateDetail, type ThroughputMetrics, type TimeConstraint, type TimePeriod, TimeoutError, type TimeoutProfile, type TimingStatistics, type TokenBenchmarkResult, TokenCountError, type TokenCountResult, TokenCounter, type TokenCounterConfig, TokenCounterProvider, type TokenMetrics, type TokenResolverConfig, type TokenStrategy, type TokenUsage, type TokenUsageBreakdown, type TokensByPhase, type ToolCompletedEvent, type ToolDefinition, type ToolInvocationAuditOpts, type ToolInvokedEvent, type ToolPayload, type ToolRegistrationOptions, type ToolRegistrationResult, type ToolResult, type ToolSet, ToolSetSchema, type TraceEvent, type TraceEventType, type TraceId, TraceLogger, type TraceLoggerOptions, type TrackedTask, type TransitionErrorCallback, type TreeId, type TreeState, TreeStateSchema, type TreeStatistics, TreeStatisticsSchema, type Trend, type TrendDetectedDetail, type TrinityConfig, TrinityConfigSchema, TrinityCoordinator, type TrinityExecuteOptions, type TrinityPhase, type TrinityPhaseResult, TrinityPhaseSchema, type TrinityResult, type TrinityRole, type TrinityRoleConfig, TrinityRoleSchema, TrinityStopReasonSchema, type TrustClassificationEvent, type TrustTier, TrustTierSchema, UnanimousStrategy, type UnknownVar, type Unsubscribe, type V2Config, type V2Mode, VERSION, VOTING_THRESHOLDS, ValidationDashboard, ValidationError$1 as ValidationError, type ValidationIssue, type VariantStats, type VerificationResult, type VerifierOutput, VerifierVerdictSchema, type VerifyResult, type VersionRequirements, type VersionStatus, type Violation, ViolationSchema, type Vote, type VoteCounts, type VoteDecision$1 as VoteDecision, VoteDecisionSchema$1 as VoteDecisionSchema, type VoteDecisionStatus, type VoteMessage, VoteMessageSchema, type VoteResult, VoteSchema, type VotingObservation, VotingObservationSchema, type VotingOutcome, VotingProtocol, type VotingProtocolConfig, VotingProtocolConfigSchema, type VotingProtocolResult, type VotingRound, type VotingRoundPhase, VotingRoundPhaseSchema, type VotingRoundStatus, VotingRoundStatusSchema, type VotingSession, VotingStrategyFactory, type Vulnerability, VulnerabilitySchema, VulnerabilitySeveritySchema, type WaveExecutionResult, type WaveResult, WaveScheduler, type WaveSchedulerConfig, type WaveTask, type WaveTaskExecutor, type WaveTaskResult, WeatherReportInputSchema, type WeightedAgentRecord, type WeightedConsensusResult, type WeightedVoteCounts, WeightedVoting, type WeightedVotingConfig, type WeightedVotingOptions, type WinLossAnalysis, type WithRetryOptions, type WorkChunk, type WorkerOutput, type WorkflowAdapterConfig, type WorkflowConfig, WorkflowConfigSchema, type WorkflowDefinition, type WorkflowDefinitionInput, type WorkflowDefinitionOutput, WorkflowDefinitionSchema, type WorkflowEngineFactoryConfig, WorkflowError, type WorkflowExecutionContext, type ExecutionPlan$1 as WorkflowExecutionPlan, type IExpertFactory$2 as WorkflowExpertFactory, type WorkflowInfo, WorkflowInputsSchema, WorkflowOrchestratorAdapter, type WorkflowPattern, type WorkflowRouterOptions, type RoutingDecision$1 as WorkflowRoutingDecision, type WorkflowStep$1 as WorkflowStep, type WorkflowStepInput, type WorkflowStepOutput, WorkflowStepSchema, type WorkflowTemplate, type WorkflowToolResult, actorFromContext, aggregatePrDecisions, aggregateResults, analysisToTaskContract, analyzeTask as analyzeDelegateTask, analyzeFailures, analyzeGitHubRepo, analyzeRepo, analyzeTask$1 as analyzeTask, append, applyPatch, areStepsCompleted, assessReputation, bufferStream, buildDependencyGraph, buildDockerArgs, buildEnrichedPrompt, buildFinalResult, buildHarnessArgs, buildHarnessCommand, buildPendingResult, buildPlanFromAnalysis, buildPrReviewProposal, buildDependencyGraph$1 as buildSkillDependencyGraph, buildTimeoutResult, calculateDelay, calculateDistributionStats, calculateEstimatedRemaining, calculateMetrics, calculateMetricsTotals, calculateMinSampleSize, calculateRegret, calculateRepositoryMetrics, calculateRoutingDistribution, calculateTokenCost, calculateTokenMetrics, calculateVoteWeight, calculateWinLoss, canApplyPatch, canExecuteSkill, canInfluenceDecisions, canPipelineProceed, canProceed, cancelExecution, categorizeOutcomeError, categorizeOutcomeErrorMessage, checkForResearchTriggers, checkPermissionBoundary, checkPipelinePolicy, checkpointToResult, chunkByDirectory, classifyTask, classifyTrust, cleanupCheckpoint, clearRegistryCache, clearTemplateCache, calculateBackoffDelay as cliCalculateBackoffDelay, categorizeError as cliCategorizeError, closeServer, collectRealVotes, collectStream, compareBenchmarks, compareProportions, compilePipelineGraph, compilePlan, compileSpecToGraph, computeAdaptiveThresholds, computeOutcomeReward, concatStreams, connectTransport, containsExpressions, countActiveSessions, createAbTestTracker, createAgentPairKey, createAgentStages, createStepExecutor as createAgentStepExecutor, createAllAdapters, createArchitectureExpert, createAttestation, createAuditLogger, createAuditTrail, createBenchmarkMemory, createBenchmarkSummary, createCheckpoint, createCheckpointStore, createClaudeAdapter, createCliAdapter, createCliCircuitBreakerIntegration, createCliDetectionCache, createCliExecutor, createCodeExpert, createCollaborationSession, createCompositeRouter, createConsensusEngine, createContextItem, createCorePluginRegistry, createCorrelationTracker, createDashboard, createDashboardRenderer, createDecayOp, createDefaultDeps, createDefaultPolicyEngine, createDefaultPolicyFirewall, createDefaultRateLimiter, createDefaultRegistry, createDelegatePipeline, createDependencyError, createDevStageRegistry, createDocumentationExpert, createDryRunHandler, createEmptyContext, createEvaluationHarness, createEventBusBridge, createExecutionContext, createExecutionPlan, createExecutor, createExplorationPrompt, createFeedbackIntegration, createFeedbackSubscriber, createFullGitHubProvider, createGeminiAdapter, createGitHubAdapter, createGitHubProvider, createGraphAuditBridge, createHarnessExecutor, createHigherOrderVotingStrategy, createIncompleteResult, createInitialCostMetrics, createInitialProgress, createInitialSessionMetrics, createInitialTokenUsage, createInitializedWorkflowEngine, createInstancePrompt, createInteractionGraph, createSwarmObserver as createInteractionSwarmObserver, createIsolatedRegistry, createLogger, createMcpLogger, createMcpNotifier, createMockExecutor, createNexusExecutorFromEnv, createOWVoting, createOllamaAdapter, createOpenAIAdapter, createOrchestrator, createOrchestratorFactory, createOutcomeFeedbackCollector, createOutcomeStorage, createPatchApplicator, createPolicyContext, createPrediction, createPreferenceRouter, createProductionWorkflowEngine, createProgressAdapter, createPromotionOp, createProtocolFactory, createRateLimiter, createRealWorkflowEngine, createReportGenerator, createResultAggregator, createRetryPrompt, createRoutingDecision, createRoutingMetricsCollector, createRunner, createSandboxExecutor, createScmProvider, createSecurityError, createSecurityExpert, createServer, createSkillComposer, createSkillDependencyGraph, createSkillLibrary, createSkillLoader, createStateComparisonVerifier, createStateGuard, createStateMachine, createStrategyDistiller, createStrategyFactory, createStream, createSummaryPrompt, createTaskOutcome, createTaskQueue, createTemplateRegistry, createTestRunner, createTestingExpert, createTimer, createTokenCounter, createToolLogger, createTrackedAgent, createTrinityCoordinator, createValidatedExecutor, createValidatedHarness, createValidationDashboard, createValidator, createVariantRunner, createVotingProtocol, createWaveScheduler, createWeightedVoting, createWorkflowEngineDeps, createWorkflowEngineDepsAsync, createWorkflowRouter, curateContext, customReducer, decomposeSpec, defaultConfig, delegateInputToTaskContract, denyMutationsWithoutModeRule, detectFailurePatterns, detectLatencyPatterns, detectSuccessPatterns, detectTestFramework, detectTrend, determineFinalStatus, emitCorroborationEvent, emitExecutionComplete, emitGraphExecutionEvent, emitNodeResults, emitNodeStarted, emitPipelineStageEvent, emitPolicyEvent, emitReputationEvent, emitSanitizationEvent, emitStageCompleted, emitStageFailed, emitStageStarted, emitStateUpdated, emitStepCompleted, emitThresholdUpdate, emitTrendDetected, emitTrustEvent, err, estimateTokens as estimateBenchmarkTokens, estimateDifficulty, estimateTaskComplexity, estimateTokens$1 as estimateTokens, evaluatePolicy as evaluatePipelinePolicy, evaluatePolicy$2 as evaluatePolicy, evaluatePredictions, evaluatePolicy$1 as evaluateSecurityPolicy, executeCliRetryLoop, executeDelegatePipeline, executeExpert, executeGraph, executeHarness, executeInDocker, executeOrchestratePipeline, executeParallel, executeSpec, exportReport, extractApproach, extractBooleanField, extractExpressions, extractFilesFromResponse, extractHypothesis, extractModelName, extractNonErrorMessage, extractNumberField, extractPastSuccessRates, extractPatch, extractRepoFromInstanceId, extractRepoName, extractSessionId, extractStateValue, extractStringArrayField, extractStringField, filterAvailableModels, filterByRepo, filterBySeverity, filterByVersion, filterStream, findActiveSession, findMissingDependencies, flushPipelineMemory, formatAdapterLatencyReport, formatBenchmarkReport, formatBenchmarkResults, formatComparisonResults, formatCompileError, formatContextForPrompt, formatValidationResult, fromArray, generateATL, generateBenchmarkReport, generateMcpConfig, generateProposalId, generateReport, generateSecurityPlan, generateWeatherReport, getAllTestCases, getAvailabilityCache, getAvailableClis, getAvailableRoles, getBenchmarkEnvironment, getBuiltInTemplates, getBuiltInTemplatesPath, getBuiltInTemplatesWithMetadata, getCapabilitiesForRole, getCategoriesByMinRiskLevel, getCliForModelId, getCompletedInstanceIds, getCompletedSteps, getCorroborationRules, getCpuCores, getDatasetInfo, getDefaultAllowedTools, getDockerVersion, getEventBusStats, getExecutionDuration, getExecutionOrder, getExpertRegistry, getFallbackChain, getGraphRegistry, getGraphWorkflowList, getInstance, getKnownNexusVarNames, getMemoryInfo, getOutcomeStore, getPipelineArtifactStore, getPipelinePluginRegistry, getPolicy, getPolicyMode, getPythonVersion, getRecommendedRole, getReferencedSteps, getRegistryManifest, getRequiredTrustTier, getResultsFilePath, getSafetyCategory, getSafetyTaxonomySummary, getSkillSetForTask, getSkillsForTask, getStepResult, getSwarmObserver, getSwebenchVersion, getTemplate, getTestCasesByTags, getTimeoutForTask, getTimeoutForTaskAuto, getTokenEnvVars, getTopologicalOrder, getVariable, hasToken, ictmToExpertConfig, identifySessionsToRemove, inferICTM, initializeAgentSkills, initializeBuiltInTemplates, initializeEventBusBridge, isCancelled, isCliAvailable$1 as isCliAvailable, isRetryableError as isCliRetryableError, isErr, isIncompleteResult, isMutatingAction, isOk, isReadOnlyAction, isRetryableError$1 as isRetryableError, isCliAvailable as isSWEBenchCliAvailable, isStepCompleted, isZodError, listInstances, listTemplateIds, loadCheckpointState, loadDataset, loadTemplateFile, loadTemplatesFromDirectory, loadWorkflowFile, logPolicyAudit, logRateLimitAudit, logToolError, logToolInvocationAudit, logToolStart, logToolSuccess, logger, map, mapAuthorAssociation, mapErr, mapResolutionStatus, mapStateToPhase, mapTestStatus, mapVoteDecisionToPrDecision, meanConfidenceInterval, mergeStreams, normalizeRepoId, ok, orchestrateInputToTaskContract, overwrite, parseATL, parseAgentPairKey, parseExpression, parseJsonResults, parseProgressLine, parseSpec, parseStdoutResults, parseTemplateContent, parseTestResults, parseWorkflowJson, parseWorkflowYaml, proportionConfidenceInterval, quickRun, quickSelect, readJsonResults, readPredictions, recordOutcome, reduceStream, registerConsensusVoteTool, registerCorePlugins, registerCreateExpertTool, registerDelegateToModelTool, registerExecuteExpertTool, registerExecuteSpecTool, registerExpertsResource, registerExtractSymbolsTool, registerIssueTriageTool, registerListExpertsTool, registerListWorkflowsTool, registerMemoryQueryTool, registerMemoryStatsTool, registerMemoryWriteTool, registerModelsResource, registerOrchestrateTool, registerPrReviewTool, registerPrompts, registerQueryTraceTool, registerRegistryImportTool, registerRepoAnalyzeTool, registerRepoSecurityPlanTool, registerResearchAddSourceTool, registerResearchAddTool, registerResearchAnalyzeTool, registerResearchCatalogReviewTool, registerResearchDiscoverTool, registerResearchQueryTool, registerResearchResource, registerResearchSynthesizeTool, registerResources, registerRunGraphWorkflowTool, registerRunWorkflowTool, registerSearchCodebaseTool, registerTools, registerWeatherReportTool, requiresCitation, requiresCorroboration, resetAvailabilityCache, resetPipelineArtifactStore, resetPipelinePluginRegistry, resetRegistry, resolveExpression, resolveFallback, resolveInput, resolveScannerData, resolveStringExpressions, resolveToken, resolveV2Config, resolveWithFallbacks, resultToOutcome, runAdapterLatencyBenchmark, runAdaptiveOrchestrator, runAgentOnInstance, runBenchmark, runBenchmarkInstances, runBenchmarkParallel, runConsolidationBenchmark, runDevPipeline, runGraphPipeline, runIterativeConsensus, runMemoryBenchmarks, runOperationBenchmark, runPreconditions, runSingleInstance, runTests, runTokenBenchmark, runVerification, safePathsRule, safeValidateExpertConfig, sanitize, sanitizeInput, saveStageCheckpoint, scoreByHybrid, scoreByImportance, scoreByRecency, selectExperts, selectModel, setSwarmObserver, setVariable, sigmoidConfidence, skip, sleep, snapshotContext, sortByPriority, startStdioServer, storeStepResult, take, takeUntil, tapStream, taskContractToToolResponse, toSuiteResult, toolError, toolSuccess, toolSuccessStructured, transformHarnessOutput, transformHarnessProgress, transformInstanceResult, transformStream, transformTestResult, translateEvaluationResult, unwrap, unwrapOr, updateContext, validateAgentAction, validateCommand, validateCorroboration, validateDependencyGraph, validateDiskSpace, validateDocker, validateEnvironment, validateEvaluationCriterion, validateExpertConfig, validateExpressions, validateICTM, validateNexusEnv, validatePatch, validatePatchFormat, validatePrediction, validatePredictionsFile, validatePython, validateRequiredInputs, validateSafetyCategory, validateScenario, validateCapabilities as validateSkillCapabilities, validateSkillExecution, validateSkillProvenance, validateRBAC as validateSkillRBAC, validateSwebench, validateTestCase, validateToolInput, validateWorkflow, validateWorkflowDependencies, withLogging, withRetry, withRetryWrapper, withTimeout, writePredictions };