nexus-agents 2.171.0 → 2.173.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 (125) hide show
  1. package/dist/{child-mcp-config-NW4JZFWC.js → child-mcp-config-KD5FKDG7.js} +2 -2
  2. package/dist/{chunk-CEDSYAAI.js → chunk-26PMOFR2.js} +2 -2
  3. package/dist/{chunk-DLVDFJXU.js → chunk-3DYABC5Y.js} +4 -4
  4. package/dist/{chunk-AJIDYCQG.js → chunk-3QY2YLJV.js} +3 -3
  5. package/dist/{chunk-IK7POCXO.js → chunk-3Y5UUFZL.js} +3 -3
  6. package/dist/{chunk-S66XOAMZ.js → chunk-4KURMOBY.js} +2 -2
  7. package/dist/{chunk-7AJWIOMT.js → chunk-5IDFZ2PC.js} +2 -2
  8. package/dist/{chunk-SUWN54CK.js → chunk-5LXKF34H.js} +2 -2
  9. package/dist/{chunk-QBOTSJ7S.js → chunk-5WFHSWQG.js} +73 -17
  10. package/dist/chunk-5WFHSWQG.js.map +1 -0
  11. package/dist/{chunk-76Q63KJM.js → chunk-6OTA2VER.js} +2 -2
  12. package/dist/{chunk-Y7JDXVJA.js → chunk-6X26RTOA.js} +2 -2
  13. package/dist/{chunk-BTH745HU.js → chunk-7FDHPEZ3.js} +2 -2
  14. package/dist/{chunk-IC3NZHPT.js → chunk-EL2O75ZS.js} +2 -2
  15. package/dist/{chunk-4KVAHGMB.js → chunk-FYYPW6EC.js} +2 -2
  16. package/dist/{chunk-RAK6PTNM.js → chunk-G37IJILX.js} +2 -2
  17. package/dist/{chunk-O4J34GZT.js → chunk-GKR7YE2E.js} +2 -2
  18. package/dist/{chunk-SCHMBRK4.js → chunk-H245LNLT.js} +3 -3
  19. package/dist/{chunk-ZSWXEDI6.js → chunk-HLCPLQFG.js} +2 -2
  20. package/dist/{chunk-Z5GJ4FXW.js → chunk-HRTSIY4W.js} +4 -4
  21. package/dist/{chunk-LFKCJQ7G.js → chunk-LQHBSYNN.js} +4 -4
  22. package/dist/{chunk-SZ3CRNPI.js → chunk-M5VIIUM5.js} +8 -8
  23. package/dist/{chunk-GJRLIANS.js → chunk-MBTEWGZK.js} +7 -7
  24. package/dist/{chunk-DYFF72HX.js → chunk-N6UV7XFO.js} +3 -3
  25. package/dist/{chunk-KP4ZXW3B.js → chunk-NZKMPDZ4.js} +3 -3
  26. package/dist/{chunk-PP5QL4EJ.js → chunk-O2U2UC6Q.js} +5 -5
  27. package/dist/{chunk-E53VLN73.js → chunk-O4I6EHI4.js} +8 -8
  28. package/dist/{chunk-FU2FRL46.js → chunk-O6VB54QJ.js} +2 -2
  29. package/dist/{chunk-B4XT3B2E.js → chunk-P6POKYSM.js} +2 -2
  30. package/dist/{chunk-25CWEJ2M.js → chunk-SUCOTX7I.js} +4 -4
  31. package/dist/{chunk-QBCWORAK.js → chunk-V6ADQNN6.js} +3 -3
  32. package/dist/{chunk-QFS5VOB6.js → chunk-VK65G7MX.js} +2 -2
  33. package/dist/{chunk-YIQ5Z7LV.js → chunk-XAJLOBUL.js} +4362 -2421
  34. package/dist/chunk-XAJLOBUL.js.map +1 -0
  35. package/dist/{chunk-RQGORCFM.js → chunk-XJ46NHDP.js} +5 -5
  36. package/dist/{chunk-5UDKUPZB.js → chunk-XMG5D3LK.js} +7 -7
  37. package/dist/{cli-circuit-breaker-UWJNXHLC.js → cli-circuit-breaker-C2DPF3IA.js} +4 -4
  38. package/dist/cli.js +41 -41
  39. package/dist/{composite-router-ULDZRQGO.js → composite-router-XMSM4GXK.js} +2 -2
  40. package/dist/{consensus-vote-KF6M7NZJ.js → consensus-vote-S7JBAHGL.js} +15 -15
  41. package/dist/{context-retriever-73PNAWES.js → context-retriever-L2YJ6PYH.js} +8 -8
  42. package/dist/{dist-UFU426AX.js → dist-BNKMVSO2.js} +7252 -7446
  43. package/dist/dist-BNKMVSO2.js.map +1 -0
  44. package/dist/{doctor-deep-LURSTTF7.js → doctor-deep-LMETROQX.js} +3 -3
  45. package/dist/{expert-bridge-VWS3NBL3.js → expert-bridge-Z6DC46Q3.js} +4 -4
  46. package/dist/{factory-KPJ2EG63.js → factory-LLFF3ZKV.js} +5 -5
  47. package/dist/{factory-MYJYONBQ.js → factory-UE63NFX6.js} +8 -8
  48. package/dist/{improvement-review-APOK4U3Z.js → improvement-review-4ZE3NAST.js} +5 -5
  49. package/dist/index.d.ts +215 -14
  50. package/dist/index.js +247 -1470
  51. package/dist/index.js.map +1 -1
  52. package/dist/{init-opencode-Y7WPFCY7.js → init-opencode-7ZRU6CII.js} +5 -5
  53. package/dist/{issue-triage-4P3TDIJQ.js → issue-triage-OIKKI7AK.js} +6 -6
  54. package/dist/model-registry.generated.json +7712 -3500
  55. package/dist/{pr-reviewer-helpers-4JX2LEVZ.js → pr-reviewer-helpers-5EAVCRYP.js} +4 -4
  56. package/dist/{registry-command-CTYTYRXF.js → registry-command-Q6K5EPGZ.js} +2 -2
  57. package/dist/{repo-security-plan-4CXBXLAY.js → repo-security-plan-25AXO7FG.js} +3 -3
  58. package/dist/{research-helpers-synthesize-23OXMV47.js → research-helpers-synthesize-F734REUK.js} +4 -4
  59. package/dist/{routing-memory-AWCOIW27.js → routing-memory-5LU5WI5T.js} +2 -2
  60. package/dist/{session-memory-P53QXKGV.js → session-memory-3FUIP2L6.js} +3 -3
  61. package/dist/{setup-command-IRW76CNQ.js → setup-command-J6PASA6P.js} +13 -13
  62. package/dist/{setup-config-B7WLUMUU.js → setup-config-IHLHAX5G.js} +3 -3
  63. package/dist/{setup-custom-api-B6QGKSEY.js → setup-custom-api-JM6Z2442.js} +3 -3
  64. package/dist/{tool-memory-QUFVINHN.js → tool-memory-LPSFODBS.js} +5 -5
  65. package/dist/{unified-registry-4NOWT2MU.js → unified-registry-7MDLPIIK.js} +9 -9
  66. package/dist/{weather-report-MCLS5MFZ.js → weather-report-5HDPEOQ3.js} +2 -2
  67. package/package.json +9 -9
  68. package/dist/chunk-QBOTSJ7S.js.map +0 -1
  69. package/dist/chunk-YIQ5Z7LV.js.map +0 -1
  70. package/dist/dist-UFU426AX.js.map +0 -1
  71. /package/dist/{child-mcp-config-NW4JZFWC.js.map → child-mcp-config-KD5FKDG7.js.map} +0 -0
  72. /package/dist/{chunk-CEDSYAAI.js.map → chunk-26PMOFR2.js.map} +0 -0
  73. /package/dist/{chunk-DLVDFJXU.js.map → chunk-3DYABC5Y.js.map} +0 -0
  74. /package/dist/{chunk-AJIDYCQG.js.map → chunk-3QY2YLJV.js.map} +0 -0
  75. /package/dist/{chunk-IK7POCXO.js.map → chunk-3Y5UUFZL.js.map} +0 -0
  76. /package/dist/{chunk-S66XOAMZ.js.map → chunk-4KURMOBY.js.map} +0 -0
  77. /package/dist/{chunk-7AJWIOMT.js.map → chunk-5IDFZ2PC.js.map} +0 -0
  78. /package/dist/{chunk-SUWN54CK.js.map → chunk-5LXKF34H.js.map} +0 -0
  79. /package/dist/{chunk-76Q63KJM.js.map → chunk-6OTA2VER.js.map} +0 -0
  80. /package/dist/{chunk-Y7JDXVJA.js.map → chunk-6X26RTOA.js.map} +0 -0
  81. /package/dist/{chunk-BTH745HU.js.map → chunk-7FDHPEZ3.js.map} +0 -0
  82. /package/dist/{chunk-IC3NZHPT.js.map → chunk-EL2O75ZS.js.map} +0 -0
  83. /package/dist/{chunk-4KVAHGMB.js.map → chunk-FYYPW6EC.js.map} +0 -0
  84. /package/dist/{chunk-RAK6PTNM.js.map → chunk-G37IJILX.js.map} +0 -0
  85. /package/dist/{chunk-O4J34GZT.js.map → chunk-GKR7YE2E.js.map} +0 -0
  86. /package/dist/{chunk-SCHMBRK4.js.map → chunk-H245LNLT.js.map} +0 -0
  87. /package/dist/{chunk-ZSWXEDI6.js.map → chunk-HLCPLQFG.js.map} +0 -0
  88. /package/dist/{chunk-Z5GJ4FXW.js.map → chunk-HRTSIY4W.js.map} +0 -0
  89. /package/dist/{chunk-LFKCJQ7G.js.map → chunk-LQHBSYNN.js.map} +0 -0
  90. /package/dist/{chunk-SZ3CRNPI.js.map → chunk-M5VIIUM5.js.map} +0 -0
  91. /package/dist/{chunk-GJRLIANS.js.map → chunk-MBTEWGZK.js.map} +0 -0
  92. /package/dist/{chunk-DYFF72HX.js.map → chunk-N6UV7XFO.js.map} +0 -0
  93. /package/dist/{chunk-KP4ZXW3B.js.map → chunk-NZKMPDZ4.js.map} +0 -0
  94. /package/dist/{chunk-PP5QL4EJ.js.map → chunk-O2U2UC6Q.js.map} +0 -0
  95. /package/dist/{chunk-E53VLN73.js.map → chunk-O4I6EHI4.js.map} +0 -0
  96. /package/dist/{chunk-FU2FRL46.js.map → chunk-O6VB54QJ.js.map} +0 -0
  97. /package/dist/{chunk-B4XT3B2E.js.map → chunk-P6POKYSM.js.map} +0 -0
  98. /package/dist/{chunk-25CWEJ2M.js.map → chunk-SUCOTX7I.js.map} +0 -0
  99. /package/dist/{chunk-QBCWORAK.js.map → chunk-V6ADQNN6.js.map} +0 -0
  100. /package/dist/{chunk-QFS5VOB6.js.map → chunk-VK65G7MX.js.map} +0 -0
  101. /package/dist/{chunk-RQGORCFM.js.map → chunk-XJ46NHDP.js.map} +0 -0
  102. /package/dist/{chunk-5UDKUPZB.js.map → chunk-XMG5D3LK.js.map} +0 -0
  103. /package/dist/{cli-circuit-breaker-UWJNXHLC.js.map → cli-circuit-breaker-C2DPF3IA.js.map} +0 -0
  104. /package/dist/{composite-router-ULDZRQGO.js.map → composite-router-XMSM4GXK.js.map} +0 -0
  105. /package/dist/{consensus-vote-KF6M7NZJ.js.map → consensus-vote-S7JBAHGL.js.map} +0 -0
  106. /package/dist/{context-retriever-73PNAWES.js.map → context-retriever-L2YJ6PYH.js.map} +0 -0
  107. /package/dist/{doctor-deep-LURSTTF7.js.map → doctor-deep-LMETROQX.js.map} +0 -0
  108. /package/dist/{expert-bridge-VWS3NBL3.js.map → expert-bridge-Z6DC46Q3.js.map} +0 -0
  109. /package/dist/{factory-KPJ2EG63.js.map → factory-LLFF3ZKV.js.map} +0 -0
  110. /package/dist/{factory-MYJYONBQ.js.map → factory-UE63NFX6.js.map} +0 -0
  111. /package/dist/{improvement-review-APOK4U3Z.js.map → improvement-review-4ZE3NAST.js.map} +0 -0
  112. /package/dist/{init-opencode-Y7WPFCY7.js.map → init-opencode-7ZRU6CII.js.map} +0 -0
  113. /package/dist/{issue-triage-4P3TDIJQ.js.map → issue-triage-OIKKI7AK.js.map} +0 -0
  114. /package/dist/{pr-reviewer-helpers-4JX2LEVZ.js.map → pr-reviewer-helpers-5EAVCRYP.js.map} +0 -0
  115. /package/dist/{registry-command-CTYTYRXF.js.map → registry-command-Q6K5EPGZ.js.map} +0 -0
  116. /package/dist/{repo-security-plan-4CXBXLAY.js.map → repo-security-plan-25AXO7FG.js.map} +0 -0
  117. /package/dist/{research-helpers-synthesize-23OXMV47.js.map → research-helpers-synthesize-F734REUK.js.map} +0 -0
  118. /package/dist/{routing-memory-AWCOIW27.js.map → routing-memory-5LU5WI5T.js.map} +0 -0
  119. /package/dist/{session-memory-P53QXKGV.js.map → session-memory-3FUIP2L6.js.map} +0 -0
  120. /package/dist/{setup-command-IRW76CNQ.js.map → setup-command-J6PASA6P.js.map} +0 -0
  121. /package/dist/{setup-config-B7WLUMUU.js.map → setup-config-IHLHAX5G.js.map} +0 -0
  122. /package/dist/{setup-custom-api-B6QGKSEY.js.map → setup-custom-api-JM6Z2442.js.map} +0 -0
  123. /package/dist/{tool-memory-QUFVINHN.js.map → tool-memory-LPSFODBS.js.map} +0 -0
  124. /package/dist/{unified-registry-4NOWT2MU.js.map → unified-registry-7MDLPIIK.js.map} +0 -0
  125. /package/dist/{weather-report-MCLS5MFZ.js.map → weather-report-5HDPEOQ3.js.map} +0 -0
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  formatDeepDiagnostics,
3
3
  runDeepDiagnostics
4
- } from "./chunk-FU2FRL46.js";
5
- import "./chunk-QBCWORAK.js";
4
+ } from "./chunk-O6VB54QJ.js";
5
+ import "./chunk-V6ADQNN6.js";
6
6
  import "./chunk-AXTD4TFK.js";
7
7
  import "./chunk-DHVMSIT5.js";
8
8
  import "./chunk-ZPWHCABL.js";
@@ -10,4 +10,4 @@ export {
10
10
  formatDeepDiagnostics,
11
11
  runDeepDiagnostics
12
12
  };
13
- //# sourceMappingURL=doctor-deep-LURSTTF7.js.map
13
+ //# sourceMappingURL=doctor-deep-LMETROQX.js.map
@@ -3,9 +3,9 @@ import {
3
3
  shutdownExpertBridge,
4
4
  tokenSplitFromUsage,
5
5
  totalTokensFromUsage
6
- } from "./chunk-GJRLIANS.js";
7
- import "./chunk-SUWN54CK.js";
8
- import "./chunk-QBCWORAK.js";
6
+ } from "./chunk-MBTEWGZK.js";
7
+ import "./chunk-5LXKF34H.js";
8
+ import "./chunk-V6ADQNN6.js";
9
9
  import "./chunk-AXTD4TFK.js";
10
10
  import "./chunk-DHVMSIT5.js";
11
11
  import "./chunk-ZPWHCABL.js";
@@ -15,4 +15,4 @@ export {
15
15
  tokenSplitFromUsage,
16
16
  totalTokensFromUsage
17
17
  };
18
- //# sourceMappingURL=expert-bridge-VWS3NBL3.js.map
18
+ //# sourceMappingURL=expert-bridge-Z6DC46Q3.js.map
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createGitHubProvider,
3
3
  createScmProvider
4
- } from "./chunk-25CWEJ2M.js";
5
- import "./chunk-RAK6PTNM.js";
6
- import "./chunk-Y7JDXVJA.js";
7
- import "./chunk-QBCWORAK.js";
4
+ } from "./chunk-SUCOTX7I.js";
5
+ import "./chunk-G37IJILX.js";
6
+ import "./chunk-6X26RTOA.js";
7
+ import "./chunk-V6ADQNN6.js";
8
8
  import "./chunk-AXTD4TFK.js";
9
9
  import "./chunk-DHVMSIT5.js";
10
10
  import "./chunk-ZPWHCABL.js";
@@ -12,4 +12,4 @@ export {
12
12
  createGitHubProvider,
13
13
  createScmProvider
14
14
  };
15
- //# sourceMappingURL=factory-KPJ2EG63.js.map
15
+ //# sourceMappingURL=factory-LLFF3ZKV.js.map
@@ -3,14 +3,14 @@ import {
3
3
  createCliAdapter,
4
4
  getAvailableClis,
5
5
  isCliAvailable
6
- } from "./chunk-5UDKUPZB.js";
7
- import "./chunk-4KVAHGMB.js";
8
- import "./chunk-QFS5VOB6.js";
9
- import "./chunk-76Q63KJM.js";
10
- import "./chunk-SUWN54CK.js";
6
+ } from "./chunk-XMG5D3LK.js";
7
+ import "./chunk-FYYPW6EC.js";
8
+ import "./chunk-VK65G7MX.js";
9
+ import "./chunk-6OTA2VER.js";
10
+ import "./chunk-5LXKF34H.js";
11
11
  import "./chunk-QZUG667L.js";
12
- import "./chunk-IC3NZHPT.js";
13
- import "./chunk-QBCWORAK.js";
12
+ import "./chunk-EL2O75ZS.js";
13
+ import "./chunk-V6ADQNN6.js";
14
14
  import "./chunk-AXTD4TFK.js";
15
15
  import "./chunk-DHVMSIT5.js";
16
16
  import "./chunk-ZPWHCABL.js";
@@ -20,4 +20,4 @@ export {
20
20
  getAvailableClis,
21
21
  isCliAvailable
22
22
  };
23
- //# sourceMappingURL=factory-MYJYONBQ.js.map
23
+ //# sourceMappingURL=factory-UE63NFX6.js.map
@@ -11,10 +11,10 @@ import {
11
11
  loadSelfEvalSignals,
12
12
  registerImprovementReviewTool,
13
13
  runImprovementReview
14
- } from "./chunk-SCHMBRK4.js";
15
- import "./chunk-KP4ZXW3B.js";
16
- import "./chunk-BTH745HU.js";
17
- import "./chunk-QBCWORAK.js";
14
+ } from "./chunk-H245LNLT.js";
15
+ import "./chunk-NZKMPDZ4.js";
16
+ import "./chunk-7FDHPEZ3.js";
17
+ import "./chunk-V6ADQNN6.js";
18
18
  import "./chunk-AXTD4TFK.js";
19
19
  import "./chunk-DHVMSIT5.js";
20
20
  import "./chunk-ZPWHCABL.js";
@@ -32,4 +32,4 @@ export {
32
32
  registerImprovementReviewTool,
33
33
  runImprovementReview
34
34
  };
35
- //# sourceMappingURL=improvement-review-APOK4U3Z.js.map
35
+ //# sourceMappingURL=improvement-review-4ZE3NAST.js.map
package/dist/index.d.ts CHANGED
@@ -12300,6 +12300,211 @@ declare function safeValidateExpertConfig(config: unknown): {
12300
12300
  error: z.ZodError;
12301
12301
  };
12302
12302
 
12303
+ /**
12304
+ * nexus-agents/agents/experts - Expert Agent
12305
+ *
12306
+ * The concrete {@link Expert} agent class, extracted from `expert-factory.ts`
12307
+ * so that both the factory and the opt-in recovery wrapper
12308
+ * ({@link ./expert-recovery.ts | RecoverableExpert}) can extend/reference it
12309
+ * without a factory↔recovery import cycle (#4286).
12310
+ */
12311
+
12312
+ /**
12313
+ * Expert agent extending SimpleAgent with configuration-based setup.
12314
+ */
12315
+ declare class Expert extends SimpleAgent {
12316
+ readonly expertConfig: ExpertConfig;
12317
+ constructor(options: BaseAgentOptions, config: ExpertConfig);
12318
+ /**
12319
+ * Get the expert's name.
12320
+ */
12321
+ get name(): string;
12322
+ /**
12323
+ * Get the expert's metadata.
12324
+ */
12325
+ get metadata(): Record<string, unknown> | undefined;
12326
+ }
12327
+
12328
+ /**
12329
+ * nexus-agents/agents/resilience - Failure Types
12330
+ *
12331
+ * Type definitions for agent failure archetypes based on arxiv:2512.07497.
12332
+ * Defines four primary failure patterns: premature action, over-helpfulness,
12333
+ * context pollution, and fragile execution.
12334
+ */
12335
+
12336
+ /**
12337
+ * The four primary agent failure archetypes from arxiv:2512.07497.
12338
+ */
12339
+ type FailureArchetype = 'premature_action' | 'over_helpfulness' | 'context_pollution' | 'fragile_execution';
12340
+ /**
12341
+ * Severity levels for detected failures.
12342
+ */
12343
+ type FailureSeverity = 'low' | 'medium' | 'high' | 'critical';
12344
+ /**
12345
+ * A detected failure instance with archetype and context.
12346
+ */
12347
+ interface DetectedFailure {
12348
+ readonly archetype: FailureArchetype;
12349
+ readonly severity: FailureSeverity;
12350
+ readonly description: string;
12351
+ readonly indicators: readonly string[];
12352
+ readonly confidence: number;
12353
+ readonly timestamp: number;
12354
+ readonly context?: Record<string, unknown>;
12355
+ }
12356
+ /**
12357
+ * Detection result from analyzing agent behavior.
12358
+ */
12359
+ interface DetectionResult {
12360
+ readonly hasFailure: boolean;
12361
+ readonly failures: readonly DetectedFailure[];
12362
+ readonly analysisMetadata: {
12363
+ readonly durationMs: number;
12364
+ readonly checksPerformed: number;
12365
+ readonly contentAnalyzed: number;
12366
+ };
12367
+ }
12368
+ /**
12369
+ * Configuration for failure detection.
12370
+ */
12371
+ interface DetectorConfig {
12372
+ readonly enabledArchetypes: readonly FailureArchetype[];
12373
+ readonly confidenceThreshold: number;
12374
+ readonly maxHistoryItems: number;
12375
+ readonly enableHeuristics: boolean;
12376
+ }
12377
+
12378
+ /**
12379
+ * nexus-agents/agents/resilience - Failure Detector
12380
+ *
12381
+ * Detects agent failure archetypes from arxiv:2512.07497 by analyzing
12382
+ * agent behavior, outputs, and execution patterns.
12383
+ */
12384
+
12385
+ /** Input for failure detection analysis. */
12386
+ interface DetectionInput {
12387
+ readonly messages: readonly Message[];
12388
+ readonly toolCalls?: readonly ToolCallRecord[];
12389
+ readonly output?: unknown;
12390
+ readonly taskDescription?: string;
12391
+ }
12392
+ /** Record of a tool call for analysis. */
12393
+ interface ToolCallRecord {
12394
+ readonly name: string;
12395
+ readonly input: unknown;
12396
+ readonly output?: unknown;
12397
+ readonly success: boolean;
12398
+ readonly errorMessage?: string;
12399
+ }
12400
+ /**
12401
+ * Failure detector that analyzes agent behavior for failure archetypes.
12402
+ */
12403
+ declare class FailureDetector {
12404
+ private readonly config;
12405
+ private readonly logger;
12406
+ constructor(config?: Partial<DetectorConfig>, logger?: ILogger);
12407
+ /**
12408
+ * Analyzes agent behavior for failure archetypes.
12409
+ */
12410
+ detect(input: DetectionInput): DetectionResult;
12411
+ /** Detects a specific archetype in the input. */
12412
+ private detectArchetype;
12413
+ /** Detects premature action failure pattern. */
12414
+ private detectPrematureAction;
12415
+ /** Detects over-helpfulness failure pattern. */
12416
+ private detectOverHelpfulness;
12417
+ /** Detects context pollution failure pattern. */
12418
+ private detectContextPollution;
12419
+ /** Detects fragile execution failure pattern. */
12420
+ private detectFragileExecution;
12421
+ /** Extracts text content from messages. */
12422
+ private extractTextContent;
12423
+ /** Counts approximate topic shifts in messages. */
12424
+ private countTopicShifts;
12425
+ /** Finds tool calls that are repeated (possible retry loops). */
12426
+ private findRepeatedCalls;
12427
+ /** Creates a detected failure object. */
12428
+ private createFailure;
12429
+ /** Gets human-readable description for archetype. */
12430
+ private getArchetypeDescription;
12431
+ }
12432
+
12433
+ /**
12434
+ * nexus-agents/agents/experts - Expert Execution Recovery (#4286)
12435
+ *
12436
+ * Wires the resilience {@link FailureDetector} + {@link RecoveryManager} into an
12437
+ * opt-in expert-execution recovery policy. {@link RecoverableExpert} overrides
12438
+ * `execute()` to wrap the base run in the canonical `withRetry` primitive
12439
+ * (adapters/retry.ts) with a transient-vs-permanent classification predicate:
12440
+ *
12441
+ * 1. caller cancellation (`options.signal` aborted) → PERMANENT
12442
+ * 2. transport-retryable (429/408/5xx/network/NexusError) → TRANSIENT
12443
+ * 3. behavioral archetype (arxiv:2512.07497) → per-strategy action
12444
+ * 4. otherwise → PERMANENT (fail closed)
12445
+ *
12446
+ * The retry loop, backoff, and jitter are NOT reimplemented here — they are the
12447
+ * shared `withRetry`/`isRetryableError` primitives (adapters/retry.ts:9-19
12448
+ * forbids a third retry loop). Delay/attempt knobs default to
12449
+ * `DEFAULT_RETRY_CONFIG` (derived from config/defaults.ts RETRY_DEFAULTS).
12450
+ */
12451
+
12452
+ /**
12453
+ * Opt-in recovery policy attached to an expert at creation time. All fields are
12454
+ * optional and fall through to {@link DEFAULT_RETRY_CONFIG} (retry knobs) and
12455
+ * {@link DEFAULT_DETECTOR_CONFIG} (detector).
12456
+ */
12457
+ interface ExpertRecoveryPolicy {
12458
+ /** Maximum retries (attempts = maxRetries + 1). Default: DEFAULT_RETRY_CONFIG. */
12459
+ maxRetries?: number;
12460
+ /** Base backoff delay (ms). Default: DEFAULT_RETRY_CONFIG. */
12461
+ baseDelayMs?: number;
12462
+ /** Maximum backoff delay (ms). Default: DEFAULT_RETRY_CONFIG. */
12463
+ maxDelayMs?: number;
12464
+ /** Jitter factor (0-1). Default: DEFAULT_RETRY_CONFIG. */
12465
+ jitterFactor?: number;
12466
+ /** Override the failure detector configuration. */
12467
+ detectorConfig?: Partial<DetectorConfig>;
12468
+ }
12469
+ /**
12470
+ * The outcome of classifying a single failed execution attempt.
12471
+ * - `transient`: retry (transport error, or a recoverable behavioral archetype)
12472
+ * - `permanent`: fail closed (cancelled, non-retryable, or a terminal archetype)
12473
+ */
12474
+ type FailureClassification = {
12475
+ kind: 'transient' | 'permanent';
12476
+ source: 'transport' | 'archetype' | 'default';
12477
+ archetype?: FailureArchetype;
12478
+ confidence?: number;
12479
+ };
12480
+ /**
12481
+ * Classifies a single failed execution attempt as transient or permanent.
12482
+ *
12483
+ * See the module header for the ordered decision procedure. `signal` is checked
12484
+ * first (mandatory guard): RETRYABLE_ERROR_PATTERNS matches /aborted/i, so
12485
+ * without this a cancelled task would otherwise be retried.
12486
+ */
12487
+ declare function classifyExpertFailure(error: unknown, detector: FailureDetector, taskDescription?: string, signal?: AbortSignal): FailureClassification;
12488
+ /**
12489
+ * An {@link Expert} whose `execute()` applies a transient-vs-permanent recovery
12490
+ * policy. Wrapping at `execute()` (not `executeTask()`) reuses the base
12491
+ * state-machine auto-reset (#1060) and per-attempt heartbeat/timeout.
12492
+ */
12493
+ declare class RecoverableExpert extends Expert {
12494
+ private readonly detector;
12495
+ private readonly recoveryManager;
12496
+ private readonly recoveryConfig;
12497
+ private readonly recoveryLogger;
12498
+ constructor(options: BaseAgentOptions, config: ExpertConfig, policy: ExpertRecoveryPolicy);
12499
+ execute(task: Task$1, options?: {
12500
+ signal?: AbortSignal;
12501
+ }): Promise<Result<TaskResult, AgentError$1>>;
12502
+ /** Appends archetype recovery guidance to a mutable copy of the task. */
12503
+ private injectRecoveryGuidance;
12504
+ /** Recovers the DetectedFailure for an archetype (re-detect, else synthesize). */
12505
+ private buildDetectedFailure;
12506
+ }
12507
+
12303
12508
  /**
12304
12509
  * nexus-agents/agents - Expert Factory
12305
12510
  *
@@ -12333,21 +12538,16 @@ interface CreateExpertOptions {
12333
12538
  * Since Issue #479, context pruning is enabled by default.
12334
12539
  */
12335
12540
  contextPruning?: ContextPrunerAgentConfig;
12336
- }
12337
- /**
12338
- * Expert agent extending SimpleAgent with configuration-based setup.
12339
- */
12340
- declare class Expert extends SimpleAgent {
12341
- readonly expertConfig: ExpertConfig;
12342
- constructor(options: BaseAgentOptions, config: ExpertConfig);
12343
- /**
12344
- * Get the expert's name.
12345
- */
12346
- get name(): string;
12347
12541
  /**
12348
- * Get the expert's metadata.
12542
+ * Opt-in transient-vs-permanent execution recovery policy (#4286).
12543
+ *
12544
+ * When present, `createExpert` returns a {@link RecoverableExpert} whose
12545
+ * `execute()` retries transient failures (transport 429/5xx/network errors,
12546
+ * and archetype failures classified as recoverable) with exponential backoff,
12547
+ * and fails closed on permanent failures. When ABSENT, a plain {@link Expert}
12548
+ * is constructed and behavior is bit-for-bit identical to the pre-#4286 path.
12349
12549
  */
12350
- get metadata(): Record<string, unknown> | undefined;
12550
+ recoveryPolicy?: ExpertRecoveryPolicy;
12351
12551
  }
12352
12552
  /**
12353
12553
  * Create an expert agent from a configuration object.
@@ -20767,6 +20967,7 @@ interface IExpertFactory {
20767
20967
  modelOverrides?: {
20768
20968
  modelId?: string;
20769
20969
  };
20970
+ recoveryPolicy?: ExpertRecoveryPolicy;
20770
20971
  }): {
20771
20972
  ok: true;
20772
20973
  value: Expert;
@@ -34158,4 +34359,4 @@ declare function createScmProvider(config: CreateScmProviderConfig): Promise<Res
34158
34359
  */
34159
34360
  declare function createGitHubProvider(repo: string): IScmProvider;
34160
34361
 
34161
- export { ALLOWED_COMMANDS, ARTIFACT_TYPES, AST_RULE_LANGUAGES, AST_RULE_SEVERITIES, 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 as AdapterRateLimiter, type RateLimiterConfig as AdapterRateLimiterConfig, type RegisterOptions$1 as AdapterRegisterOptions, type AdapterScenarioResult, type AdaptiveOrchestratorOptions, type AdaptiveOrchestratorResult, type AdaptiveThresholdResult, type AgentAction, AgentActionSchema, type AgentActionType, AgentCapability, type AgentCluster, AgentError$1 as AgentError, type AgentEvent, AgentEventSchema, type AgentExecutorConfig, type AgentFinding, AgentFindingSchema, type AgentId, type AgentMessage, AgentMessageSchema, type AgentMessageType, type AgentPairKey, AgentPerformance, type AgentResponse, type AgentRole, AgentRoleSchema, type AgentRoleType, type AgentRunResult, type AgentState$2 as AgentState, AgentStateMachine, type AgentStatus, StepExecutor as AgentStepExecutor, type AgentStopReason, type AgentTurn, AgentVoteResult, AgenticAdapter, type AgenticAdapterOptions, type ToolCall as AgenticToolCall, type ToolResult as AgenticToolResult, type AggregatedResult, type AggregationMetadata, type AggregationStrategy, type AggregatorInput, type AggregatorOptions, type ApiDocumentation, type ApiEndpoint, type ApiType, type AppConfig, AppConfigSchema, type ArchitectureAnalysisResult, type ArchitectureDecision, ArchitectureExpert, type ArchitectureExpertOptions, type ArchitecturePattern, type ArchitectureStyle, type Artifact, type ArtifactFilter, type ArtifactRef, ArtifactRefSchema, ArtifactStore, type ArtifactStoreOptions, type ArtifactType, type AstQaCollectResult, type AstQaRuleFile, type AstRuleFinding, type AstRuleLanguage, type AstRuleSeverity, 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, type AvailableModel, AvailableModelsCache, type AvailableModelsCacheOptions, type AvailableModelsSource, 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 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 CancelJobDeps, type CancelJobInput, CancelJobInputSchema, type CancelJobResponse, type CapabilityProfile, type CapacityStatus, type Checkpoint, type PipelineStage as CheckpointPipelineStage, type CheckpointSummary, type FailureCategory as CircuitBreakerFailureCategory, type CircuitProtectedResult, type CircuitState, type ClaimValidation, type ClassifyInput, type ClassifyResult, ClaudeAdapter, type ClaudeAdapterConfig, ClaudeCliAdapter, type ClaudeCliResponse, ClaudeResponseParser, type CliAdapterConfig, 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 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 ComparisonResult, 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, ConsensusAlgorithm, ConsensusEngine, ConsensusEngineConfig, ConsensusError, type ConsensusGateNodeOptions, ConsensusMetrics, type ConsensusProposalInput, ConsensusProtocol, ConsensusResult, type ConsensusStats, type ConsensusVerdict, type ConsensusVoteDeps, type ConsensusVoter, 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_AST_QA_LIMIT, DEFAULT_BENCHMARK_CONFIG, DEFAULT_BUDGET, DEFAULT_COLLECT_STREAM_MAX_CHUNKS, DEFAULT_COMPOSER_CONFIG, DEFAULT_DASHBOARD_CONFIG, DEFAULT_DASHBOARD_RENDER_OPTIONS, DEFAULT_DISTILLER_CONFIG, DEFAULT_ENTRY, DEFAULT_EXECUTION_TIME_MS, DEFAULT_FEEDBACK_COLLECTOR_CONFIG, DEFAULT_FEEDBACK_INTEGRATION_CONFIG, DEFAULT_FOREST_CONFIG, DEFAULT_HIGHER_ORDER_CONFIG, DEFAULT_MAX_RETRIES, DEFAULT_MEMORY_BENCHMARK_CONFIG, DEFAULT_OUTCOME_STORAGE_CONFIG, DEFAULT_PATH_SCORING_OPTIONS, DEFAULT_PERMISSIONS, DEFAULT_POLICIES, DEFAULT_PREFERENCE_ROUTER_CONFIG, DEFAULT_RBAC, 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_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, 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 DistilledRule, type DistillerConfig, type DistillerStats, type DistributionStats, DocumentationExpert, type DocumentationExpertOptions, type DocumentationResult, type DocumentationSection, type DryRunResult, END, EXPERT_CAPABILITIES, EXPERT_DEFAULT_CAPABILITIES, EXPERT_DEFAULT_TEMPERATURES, EXPERT_TYPE_TO_ROLE, type EntrySource, type EnvValidationResult, ErrorCode, type ErrorPayload, type EvaluationCriterion, EvaluationCriterionSchema, 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, 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 ExpressionType, type ExtractSymbolsDeps, ExtractSymbolsInputSchema, FALLBACK_SCANNER_DATA, FactoryError, type FailureAnalysis, type AnalysisError as FailureAnalysisError, type FailurePattern, FailurePatternSchema, 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 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 FullCapableProvider, GEMINI_MODELS, GEMINI_MODEL_ALIASES, GENERAL_PIPELINE_TEMPLATE, GeminiAdapter, type GeminiAdapterConfig, GeminiCliAdapter, type GeminiCliResponse, GeminiResponseParser, type GeneratedTest, GeneratedTestSchema, type GetJobResultDeps, type GetJobResultInput, GetJobResultInputSchema, type GetJobResultResponse, 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 HealthStatus, type HigherOrderVotingConfig, HigherOrderVotingConfigSchema, type HigherOrderVotingResult, HigherOrderVotingResultSchema, HigherOrderVotingStrategy, type HookError, HostileInputFirewall, type IAbTestTracker, type IAgent, type IAgenticAdapter, type IArtifactStore, type IAuditLogger, type IAuditStorage, 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 IEventBus, type IFeedbackIntegration, 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 IPipelineStage, type IPluginRegistry, type IPolicyEngine, type IPolicyFirewall, type IPreferenceDataStore, 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 ITokenCounter, type IVotingProtocol, type IVotingStrategy, type IWeightedVoting, type IWorkflowEngine, type IWorkflowRouter, type ImprovementReviewDeps, type ImprovementReviewInput, ImprovementReviewInputSchema, type ImprovementReviewResponse, type ImprovementSuggestion, InMemoryAuditStorage, InMemoryCheckpointStore, InMemoryPreferenceStore, type IndependentSubset, IndependentSubsetSchema, type InjectionFlag, InjectionFlagSchema, type InputBinding, type InputDefinition, type InputDefinitionInput, type InputDefinitionOutput, InputDefinitionSchema, type InputType, InputTypeSchema, 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 IterativeConsensusConfig, type IterativeConsensusResult, JsonDashboardRenderer, KNOWN_SECTIONS, type KnownSection, type LanguageMatrixEntry, type LatencyMetrics, LatencySampler, type LatencyScenario, type LearningProgress, type LibraryStatistics, type ListExpertsDeps, type ListExpertsInput, ListExpertsInputSchema, type ListExpertsResponse, type ListJobsDeps, type ListJobsInput, ListJobsInputSchema, type ListJobsResponse, type ListWorkflowsDeps, type ListWorkflowsInput, ListWorkflowsInputSchema, type ListWorkflowsResponse, type LoadedSkillSet, LoadedSkillSetSchema, type LogContext, type LogEntry, type LogLevel, type LogPolicyAuditOpts, type LogRateLimitAuditOpts, type LogToolInvocationOpts, type LoggingConfig, LoggingConfigSchema, MANIPULATION_CATEGORY, MAX_AST_QA_LIMIT, MAX_DIFF_LENGTH, MAX_EXECUTION_TIME_MS, MAX_FILES_SCANNED, MEM0_TARGETS, MIN_EXPERTS_FOR_PATTERN, MODEL_CAPABILITIES, type IExpertFactory as McpExpertFactory, type McpLogContext, type McpLogLevel, RateLimiter$1 as McpRateLimiter, type RateLimiterConfig$1 as McpRateLimiterConfig, type MemoryBenchmarkConfig, type MemoryEntry, MemoryError, MemoryImportance, type MemoryMetadata, type MemoryPayload, type MemoryQueryInput, MemoryQueryInputSchema, type MemoryQueryResponse, MemoryStatsInputSchema, type MemoryStatsResponse, type MemoryWriteInput, MemoryWriteInputSchema, type MemoryWriteResponse, type MergePROptions, type Message, type MessagePayload, type MessageRole, ModelCapability, type ModelConfig, ModelConfigSchema, type ModelEntry, ModelError, type ModelMetrics, type ModelNotFoundFallbackOptions, type ModelPerformanceSummary, type ModelPreference, ModelPreferenceSchema, ModelRegistry, type ModelRegistryOptions, type ModelSelection, ModelSelectionSchema, type ModelTiers, ModelTiersSchema, NOOP_NOTIFIER, NOOP_PROGRESS, 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$1 as OutcomeTaskRecord, TaskOutcomeSchema$1 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 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 PipelineDeps, 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, 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 PromptCachingMode, type PromptDefinition, type PromptMessage, type PromptRegistrationResult, ProofOfLearningStrategy, Proposal, ProposalId, ProposalState, ProposalStatus, ProtocolFactory, type ProtocolOptions, type ProvenanceEntry, type ProviderConfig, ProviderConfigSchema, type PruneOptions, type PruneResult, PruningStrategy, type QaReviewResult, type QualityAttribute, type QualityMetrics, type QualityRequirement, type QualityScorer, type QualitySignals, QualitySignalsSchema, QueryFeatureExtractor, type QueryFeatures, type QueryOptions, type QueryTraceInput, QueryTraceInputSchema, RISK_AWARENESS_CATEGORY, ROBUSTNESS_CATEGORY, ROLE_DEFAULT_TRUST, type RateLimitAuditOpts, RateLimitError, type RateLimitExceeded, type RateLimiterState, 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 RegistrySnapshot, type RegistryStats, type RegretAnalysis, type RepoAnalysis, type RepoAnalyzeDeps, type RepoAnalyzeInput, RepoAnalyzeInputSchema, type RepoSecurityPlan, type RepoSecurityPlanDeps, type RepoSecurityPlanInput, RepoSecurityPlanInputSchema, type ReportOptions, 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 ResilientLike, type ResolveResult, type ResolvedPipelineDeps, type ResourceLimits, type ResourceMetrics, type ResourceUsage, type Result, ResultAggregator, type ResultConflict, type ResultSubmissionMessage, type ResultSummary, type RetirementInfo, 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 RunAgentArgs, type RunAstQaRulesOptions, type RunGraphWithConsensusOptions, type RunGraphWorkflowDeps, type RunGraphWorkflowInput, RunGraphWorkflowInputSchema, type RunGraphWorkflowResponse, type RunWorkflowDeps, type RunWorkflowInput, RunWorkflowInputSchema, 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 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 SearchUsagesDeps, SearchUsagesInputSchema, 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, 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 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 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 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, TaskAnalysisSchema, type TaskAssignmentMessage, type TaskClassification, type TaskCommitment, type TaskContext, type TaskContract, TaskContractSchema, type TaskDag, TaskDagSchema, type TaskId, type TaskOutcome, type TaskOutcomeRecord, TaskOutcomeSchema, type TaskPayload, type TaskProfileSummary, TaskQueue, type TaskRequirements, type TaskResult, type TaskRoutingEntry, TaskSchema, type TaskSignals, type TaskStatus, type TaskTypePerformance, type TemplateCategory, TemplateCategorySchema, type TemplateMetadata, TemplateMetadataSchema, TemplateRegistry, type TerminationReason, TerminationReasonSchema, type TestQuality, type TestingAnalysisResult, TestingExpert, type TestingExpertOptions, type TextContent, TextDashboardRenderer, type ThinkerOutput, type ThroughputMetrics, type TimeConstraint, type TimePeriod, TimeoutError, type TimeoutProfile, type TokenBenchmarkResult, TokenCountError, type TokenCountResult, TokenCounter, type TokenCounterConfig, TokenCounterProvider, type TokenMetrics, type TokenResolverConfig, type TokenStrategy, type TokenUsage, type ToolCompletedEvent, type ToolDefinition, type ToolDefinitionFormat, type ToolInvocationAuditOpts, type ToolInvokedEvent, type ToolPayload, type ToolRegistrationOptions, type ToolRegistrationResult, type ToolResult$1 as ToolResult, type ToolSet, ToolSetSchema, type TraceId, type TrackedTask, type TransitionErrorCallback, type TreeId, type TreeState, TreeStateSchema, type TreeStatistics, TreeStatisticsSchema, type Trend, 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, UnifiedAdapterRegistry, type UnifiedRegistryConfig, type UnknownVar, type Unsubscribe, type V2Config, type V2Mode, VERSION, ValidationDashboard, ValidationError$1 as ValidationError, type ValidationIssue, type VariantStats, type VerificationResult, type VerifierOutput, VerifierVerdictSchema, type VersionRequirements, type VersionStatus, type Violation, ViolationSchema, Vote, VoteCounts, type VoteDecision, VoteDecisionSchema, type VoteMessage, VoteMessageSchema, type VoteResult, 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, 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$1 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, analyzeTask as analyzeDelegateTask, analyzeFailures, analyzeGitHubRepo, analyzeRepo, append, areStepsCompleted, assessReputation, bufferStream, buildDependencyGraph, buildFinalResult, buildPendingResult, buildPlanFromAnalysis, buildPrReviewProposal, buildDependencyGraph$1 as buildSkillDependencyGraph, buildTimeoutResult, calculateDelay, calculateDistributionStats, calculateMetricsTotals, calculateMinSampleSize, calculateRegret, calculateRoutingDistribution, calculateTokenCost, calculateTokenMetrics, calculateVoteWeight, calculateWinLoss, canExecuteSkill, canInfluenceDecisions, canProceed, cancelExecution, categorizeOutcomeError, categorizeOutcomeErrorMessage, checkForResearchTriggers, checkPermissionBoundary, checkPipelinePolicy, checkpointToResult, chunkByDirectory, classifyTask, classifyTrust, cleanupCheckpoint, clearRegistryCache, clearTemplateCache, calculateBackoffDelay as cliCalculateBackoffDelay, categorizeError as cliCategorizeError, closeServer, collectAstQaFindings, collectRealVotes, collectStream, compareBenchmarks, compareProportions, compilePipelineGraph, compilePlan, compileSpecToGraph, computeAdaptiveThresholds, computeOutcomeReward, concatStreams, connectTransport, containsExpressions, countActiveSessions, createAbTestTracker, createAgentPairKey, createAgentStages, createStepExecutor as createAgentStepExecutor, createAgenticAdapter, createAllAdapters, createArchitectureExpert, createAttestation, createAuditLogger, createAuditTrail, createBenchmarkSummary, createCheckpoint, createCheckpointStore, createClaudeAdapter, createCliAdapter, createCliCircuitBreakerIntegration, createCliDetectionCache, createCodeExpert, createCollaborationSession, createCompositeRouter, createConsensusEngine, createConsensusGateNode, createContextItem, createCorePluginRegistry, createCorrelationTracker, createDashboard, createDashboardRenderer, createDecayOp, createDefaultDeps, createDefaultPolicyEngine, createDefaultPolicyFirewall, createDefaultRateLimiter, createDefaultRegistry, createDelegatePipeline, createDependencyError, createDevStageRegistry, createDocumentationExpert, createDryRunHandler, createEventBusBridge, createExecutionContext, createExecutionPlan, createFeedbackIntegration, createFeedbackSubscriber, createFullGitHubProvider, createGeminiAdapter, createGitHubAdapter, createGitHubProvider, createGraphAuditBridge, createHigherOrderVotingStrategy, createInitialCostMetrics, createInitialSessionMetrics, createInitialTokenUsage, createInitializedWorkflowEngine, createInteractionGraph, createSwarmObserver as createInteractionSwarmObserver, createIsolatedRegistry, createLogger, createMcpLogger, createMcpNotifier, createOWVoting, createOllamaAdapter, createOpenAIAdapter, createOrchestrator, createOrchestratorFactory, createOutcomeFeedbackCollector, createOutcomeStorage, createPolicyContext, createPreferenceRouter, createProductionWorkflowEngine, createPromotionOp, createProtocolFactory, createRateLimiter, createRealWorkflowEngine, createResultAggregator, createRoutingDecision, createRoutingMetricsCollector, createSandboxExecutor, createScmProvider, createSecurityError, createSecurityExpert, createServer, createSkillComposer, createSkillDependencyGraph, createSkillLibrary, createSkillLoader, createStateComparisonVerifier, createStateGuard, createStateMachine, createStrategyDistiller, createStrategyFactory, createStream, createTaskOutcome, createTaskQueue, createTemplateRegistry, createTestingExpert, createTimer, createTokenCounter, createToolLogger, createTrackedAgent, createTrinityCoordinator, createUnifiedRegistry, createValidationDashboard, createValidator, createVotingProtocol, createWaveScheduler, createWeightedVoting, createWorkflowEngineDeps, createWorkflowEngineDepsAsync, createWorkflowRouter, curateContext, customReducer, decomposeSpec, defaultConfig, delegateInputToTaskContract, denyMutationsWithoutModeRule, deriveEntry, detectFailurePatterns, detectLatencyPatterns, detectSuccessPatterns, detectTrend, determineFinalStatus, emitCorroborationEvent, emitExecutionComplete, emitGraphExecutionEvent, emitNodeResults, emitNodeStarted, emitPipelineStageEvent, emitPolicyEvent, emitReputationEvent, emitSanitizationEvent, emitStageCompleted, emitStageFailed, emitStageStarted, emitStateUpdated, emitStepCompleted, emitTrustEvent, ensurePolyglotLangs, err, estimateTokens as estimateBenchmarkTokens, estimateTaskComplexity, estimateTokens$1 as estimateTokens, evaluatePipelinePolicy, evaluatePolicy$1 as evaluatePolicy, evaluatePolicy as evaluateSecurityPolicy, executeCliRetryLoop, executeDelegatePipeline, executeExpert, executeGraph, executeOrchestratePipeline, executeParallel, executeSpec, extractBooleanField, extractExpressions, extractNonErrorMessage, extractNumberField, extractSessionId, extractStateValue, extractStringArrayField, extractStringField, filterAvailableModels, filterStream, findActiveSession, findMissingDependencies, flushPipelineMemory, formatAdapterLatencyReport, formatBenchmarkReport, formatBenchmarkResults, formatComparisonResults, formatCompileError, fromArray, generateATL, generateBenchmarkReport, generateProposalId, generateSecurityPlan, generateWeatherReport, getAllTestCases, getAvailabilityCache, getAvailableClis, getAvailableRoles, getBenchmarkEnvironment, getBuiltInAstRulesPath, getBuiltInTemplates, getBuiltInTemplatesPath, getBuiltInTemplatesWithMetadata, getCapabilitiesForRole, getCategoriesByMinRiskLevel, getCliForModelId, getCompletedSteps, getCorroborationRules, getDefaultAvailableModelsCache, getDefaultRegistry, getEventBusStats, getExecutionDuration, getExecutionOrder, getExpertRegistry, getFallbackChain, getGlobalRegistry, getGraphRegistry, getGraphWorkflowList, getKnownNexusVarNames, getOutcomeStore, getPipelineArtifactStore, getPipelinePluginRegistry, getPolicy, getPolicyMode, getRecommendedRole, getReferencedSteps, getRegistryManifest, getRequiredTrustTier, getSafetyCategory, getSafetyTaxonomySummary, getSkillSetForTask, getSkillsForTask, getStepResult, getSwarmObserver, getTemplate, getTestCasesByTags, getTimeoutForTask, getTimeoutForTaskAuto, getTokenEnvVars, getTopologicalOrder, getVariable, hasToken, ictmToExpertConfig, identifySessionsToRemove, inferICTM, initializeAgentSkills, initializeBuiltInTemplates, initializeEventBusBridge, isCancelled, isCliAvailable, isRetryableError as isCliRetryableError, isErr, isMutatingAction, isOk, isReadOnlyAction, isRetryableError$1 as isRetryableError, isStepCompleted, isZodError, listTemplateIds, loadCheckpointState, loadRules, loadTemplateFile, loadTemplatesFromDirectory, loadWorkflowFile, logPolicyAudit, logRateLimitAudit, logToolError, logToolInvocationAudit, logToolStart, logToolSuccess, logger, map, mapAuthorAssociation, mapErr, mapVoteDecisionToPrDecision, meanConfidenceInterval, mergeStreams, normalizeRepoId, ok, orchestrateInputToTaskContract, overwrite, parseATL, parseAgentPairKey, parseExpression, parseSpec, parseTemplateContent, parseWorkflowJson, parseWorkflowYaml, proportionConfidenceInterval, quickSelect, reduceStream, registerCancelJobTool, registerConsensusVoteTool, registerCorePlugins, registerCreateExpertTool, registerDelegateToModelTool, registerExecuteExpertTool, registerExecuteSpecTool, registerExpertsResource, registerExtractSymbolsTool, registerGetJobResultTool, registerImprovementReviewTool, registerIssueTriageTool, registerListExpertsTool, registerListJobsTool, registerListWorkflowsTool, registerMemoryQueryTool, registerMemoryStatsTool, registerMemoryWriteTool, registerModelsResource, registerOrchestrateTool, registerPrReviewTool, registerPrompts, registerQueryTraceTool, registerRegistryImportTool, registerRepoAnalyzeTool, registerRepoSecurityPlanTool, registerResearchAddSourceTool, registerResearchAddTool, registerResearchAnalyzeTool, registerResearchCatalogReviewTool, registerResearchDiscoverTool, registerResearchQueryTool, registerResearchResource, registerResearchSynthesizeTool, registerResources, registerRunGraphWorkflowTool, registerRunWorkflowTool, registerSearchCodebaseTool, registerSearchUsagesTool, registerTools, registerWeatherReportTool, requiresCitation, requiresCorroboration, resetAvailabilityCache, resetGlobalRegistry, resetPipelineArtifactStore, resetPipelinePluginRegistry, resetRegistry, resolveExpression, resolveFallback, resolveInput, resolvePipelineDeps, resolveScannerData, resolveStringExpressions, resolveToken, resolveV2Config, resolveWithFallbacks, resultToOutcome, runAdapterLatencyBenchmark, runAdaptiveOrchestrator, runAstQaRules, runBenchmark, runConsensusGate, runConsolidationBenchmark, runDevPipeline, runGraphPipeline, runGraphWithConsensus, runIterativeConsensus, runMemoryBenchmarks, runOperationBenchmark, runPreconditions, runTokenBenchmark, runVerification, safePathsRule, safeValidateExpertConfig, sanitize, sanitizeInput, saveStageCheckpoint, scoreByHybrid, scoreByImportance, scoreByRecency, selectExperts, selectModel, setDefaultAvailableModelsCache, setDefaultRegistry, setSwarmObserver, setVariable, sigmoidConfidence, skip, sleep, snapshotContext, startStdioServer, storeStepResult, take, takeUntil, tapStream, toSuiteResult, toolError, toolSuccess, toolSuccessStructured, transformStream, unwrap, unwrapOr, validateAgentAction, validateCommand, validateCorroboration, validateDependencyGraph, validateEvaluationCriterion, validateExpertConfig, validateExpressions, validateICTM, validateNexusEnv, validateRequiredInputs, validateSafetyCategory, validateScenario, validateCapabilities as validateSkillCapabilities, validateSkillExecution, validateSkillProvenance, validateRBAC as validateSkillRBAC, validateTestCase, validateToolInput, validateWorkflow, validateWorkflowDependencies, withLogging, withModelNotFoundFallback, withRetry, withRetryWrapper, withTimeout, wrapResilientWithFallback };
34362
+ export { ALLOWED_COMMANDS, ARTIFACT_TYPES, AST_RULE_LANGUAGES, AST_RULE_SEVERITIES, 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 as AdapterRateLimiter, type RateLimiterConfig as AdapterRateLimiterConfig, type RegisterOptions$1 as AdapterRegisterOptions, type AdapterScenarioResult, type AdaptiveOrchestratorOptions, type AdaptiveOrchestratorResult, type AdaptiveThresholdResult, type AgentAction, AgentActionSchema, type AgentActionType, AgentCapability, type AgentCluster, AgentError$1 as AgentError, type AgentEvent, AgentEventSchema, type AgentExecutorConfig, type AgentFinding, AgentFindingSchema, type AgentId, type AgentMessage, AgentMessageSchema, type AgentMessageType, type AgentPairKey, AgentPerformance, type AgentResponse, type AgentRole, AgentRoleSchema, type AgentRoleType, type AgentRunResult, type AgentState$2 as AgentState, AgentStateMachine, type AgentStatus, StepExecutor as AgentStepExecutor, type AgentStopReason, type AgentTurn, AgentVoteResult, AgenticAdapter, type AgenticAdapterOptions, type ToolCall as AgenticToolCall, type ToolResult as AgenticToolResult, type AggregatedResult, type AggregationMetadata, type AggregationStrategy, type AggregatorInput, type AggregatorOptions, type ApiDocumentation, type ApiEndpoint, type ApiType, type AppConfig, AppConfigSchema, type ArchitectureAnalysisResult, type ArchitectureDecision, ArchitectureExpert, type ArchitectureExpertOptions, type ArchitecturePattern, type ArchitectureStyle, type Artifact, type ArtifactFilter, type ArtifactRef, ArtifactRefSchema, ArtifactStore, type ArtifactStoreOptions, type ArtifactType, type AstQaCollectResult, type AstQaRuleFile, type AstRuleFinding, type AstRuleLanguage, type AstRuleSeverity, 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, type AvailableModel, AvailableModelsCache, type AvailableModelsCacheOptions, type AvailableModelsSource, 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 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 CancelJobDeps, type CancelJobInput, CancelJobInputSchema, type CancelJobResponse, type CapabilityProfile, type CapacityStatus, type Checkpoint, type PipelineStage as CheckpointPipelineStage, type CheckpointSummary, type FailureCategory as CircuitBreakerFailureCategory, type CircuitProtectedResult, type CircuitState, type ClaimValidation, type ClassifyInput, type ClassifyResult, ClaudeAdapter, type ClaudeAdapterConfig, ClaudeCliAdapter, type ClaudeCliResponse, ClaudeResponseParser, type CliAdapterConfig, 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 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 ComparisonResult, 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, ConsensusAlgorithm, ConsensusEngine, ConsensusEngineConfig, ConsensusError, type ConsensusGateNodeOptions, ConsensusMetrics, type ConsensusProposalInput, ConsensusProtocol, ConsensusResult, type ConsensusStats, type ConsensusVerdict, type ConsensusVoteDeps, type ConsensusVoter, 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_AST_QA_LIMIT, DEFAULT_BENCHMARK_CONFIG, DEFAULT_BUDGET, DEFAULT_COLLECT_STREAM_MAX_CHUNKS, DEFAULT_COMPOSER_CONFIG, DEFAULT_DASHBOARD_CONFIG, DEFAULT_DASHBOARD_RENDER_OPTIONS, DEFAULT_DISTILLER_CONFIG, DEFAULT_ENTRY, DEFAULT_EXECUTION_TIME_MS, DEFAULT_FEEDBACK_COLLECTOR_CONFIG, DEFAULT_FEEDBACK_INTEGRATION_CONFIG, DEFAULT_FOREST_CONFIG, DEFAULT_HIGHER_ORDER_CONFIG, DEFAULT_MAX_RETRIES, DEFAULT_MEMORY_BENCHMARK_CONFIG, DEFAULT_OUTCOME_STORAGE_CONFIG, DEFAULT_PATH_SCORING_OPTIONS, DEFAULT_PERMISSIONS, DEFAULT_POLICIES, DEFAULT_PREFERENCE_ROUTER_CONFIG, DEFAULT_RBAC, 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_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, 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 DistilledRule, type DistillerConfig, type DistillerStats, type DistributionStats, DocumentationExpert, type DocumentationExpertOptions, type DocumentationResult, type DocumentationSection, type DryRunResult, END, EXPERT_CAPABILITIES, EXPERT_DEFAULT_CAPABILITIES, EXPERT_DEFAULT_TEMPERATURES, EXPERT_TYPE_TO_ROLE, type EntrySource, type EnvValidationResult, ErrorCode, type ErrorPayload, type EvaluationCriterion, EvaluationCriterionSchema, 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, 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 ExpertRecoveryPolicy, type RegisterOptions as ExpertRegisterOptions, ExpertRegistry$1 as ExpertRegistry, type ExpertResult, type ExpertResultSummary, type ExplorationEvent, ExplorationEventSchema, type ExplorationEventType, ExplorationEventTypeSchema, type ExpressionType, type ExtractSymbolsDeps, ExtractSymbolsInputSchema, FALLBACK_SCANNER_DATA, FactoryError, type FailureAnalysis, type AnalysisError as FailureAnalysisError, type FailureClassification, type FailurePattern, FailurePatternSchema, 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 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 FullCapableProvider, GEMINI_MODELS, GEMINI_MODEL_ALIASES, GENERAL_PIPELINE_TEMPLATE, GeminiAdapter, type GeminiAdapterConfig, GeminiCliAdapter, type GeminiCliResponse, GeminiResponseParser, type GeneratedTest, GeneratedTestSchema, type GetJobResultDeps, type GetJobResultInput, GetJobResultInputSchema, type GetJobResultResponse, 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 HealthStatus, type HigherOrderVotingConfig, HigherOrderVotingConfigSchema, type HigherOrderVotingResult, HigherOrderVotingResultSchema, HigherOrderVotingStrategy, type HookError, HostileInputFirewall, type IAbTestTracker, type IAgent, type IAgenticAdapter, type IArtifactStore, type IAuditLogger, type IAuditStorage, 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 IEventBus, type IFeedbackIntegration, 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 IPipelineStage, type IPluginRegistry, type IPolicyEngine, type IPolicyFirewall, type IPreferenceDataStore, 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 ITokenCounter, type IVotingProtocol, type IVotingStrategy, type IWeightedVoting, type IWorkflowEngine, type IWorkflowRouter, type ImprovementReviewDeps, type ImprovementReviewInput, ImprovementReviewInputSchema, type ImprovementReviewResponse, type ImprovementSuggestion, InMemoryAuditStorage, InMemoryCheckpointStore, InMemoryPreferenceStore, type IndependentSubset, IndependentSubsetSchema, type InjectionFlag, InjectionFlagSchema, type InputBinding, type InputDefinition, type InputDefinitionInput, type InputDefinitionOutput, InputDefinitionSchema, type InputType, InputTypeSchema, 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 IterativeConsensusConfig, type IterativeConsensusResult, JsonDashboardRenderer, KNOWN_SECTIONS, type KnownSection, type LanguageMatrixEntry, type LatencyMetrics, LatencySampler, type LatencyScenario, type LearningProgress, type LibraryStatistics, type ListExpertsDeps, type ListExpertsInput, ListExpertsInputSchema, type ListExpertsResponse, type ListJobsDeps, type ListJobsInput, ListJobsInputSchema, type ListJobsResponse, type ListWorkflowsDeps, type ListWorkflowsInput, ListWorkflowsInputSchema, type ListWorkflowsResponse, type LoadedSkillSet, LoadedSkillSetSchema, type LogContext, type LogEntry, type LogLevel, type LogPolicyAuditOpts, type LogRateLimitAuditOpts, type LogToolInvocationOpts, type LoggingConfig, LoggingConfigSchema, MANIPULATION_CATEGORY, MAX_AST_QA_LIMIT, MAX_DIFF_LENGTH, MAX_EXECUTION_TIME_MS, MAX_FILES_SCANNED, MEM0_TARGETS, MIN_EXPERTS_FOR_PATTERN, MODEL_CAPABILITIES, type IExpertFactory as McpExpertFactory, type McpLogContext, type McpLogLevel, RateLimiter$1 as McpRateLimiter, type RateLimiterConfig$1 as McpRateLimiterConfig, type MemoryBenchmarkConfig, type MemoryEntry, MemoryError, MemoryImportance, type MemoryMetadata, type MemoryPayload, type MemoryQueryInput, MemoryQueryInputSchema, type MemoryQueryResponse, MemoryStatsInputSchema, type MemoryStatsResponse, type MemoryWriteInput, MemoryWriteInputSchema, type MemoryWriteResponse, type MergePROptions, type Message, type MessagePayload, type MessageRole, ModelCapability, type ModelConfig, ModelConfigSchema, type ModelEntry, ModelError, type ModelMetrics, type ModelNotFoundFallbackOptions, type ModelPerformanceSummary, type ModelPreference, ModelPreferenceSchema, ModelRegistry, type ModelRegistryOptions, type ModelSelection, ModelSelectionSchema, type ModelTiers, ModelTiersSchema, NOOP_NOTIFIER, NOOP_PROGRESS, 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$1 as OutcomeTaskRecord, TaskOutcomeSchema$1 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 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 PipelineDeps, 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, 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 PromptCachingMode, type PromptDefinition, type PromptMessage, type PromptRegistrationResult, ProofOfLearningStrategy, Proposal, ProposalId, ProposalState, ProposalStatus, ProtocolFactory, type ProtocolOptions, type ProvenanceEntry, type ProviderConfig, ProviderConfigSchema, type PruneOptions, type PruneResult, PruningStrategy, type QaReviewResult, type QualityAttribute, type QualityMetrics, type QualityRequirement, type QualityScorer, type QualitySignals, QualitySignalsSchema, QueryFeatureExtractor, type QueryFeatures, type QueryOptions, type QueryTraceInput, QueryTraceInputSchema, RISK_AWARENESS_CATEGORY, ROBUSTNESS_CATEGORY, ROLE_DEFAULT_TRUST, type RateLimitAuditOpts, RateLimitError, type RateLimitExceeded, type RateLimiterState, type ReasoningDepth, ReasoningDepthSchema, type ReasoningNode, type ReasoningNodeMetadata, ReasoningNodeMetadataSchema, ReasoningNodeSchema, type ReasoningStepType, ReasoningStepTypeSchema, type ReasoningTree, ReasoningTreeSchema, type RecordExecutionOptions, type RecordInteractionOptions, type RecordOutcomeParams, RecoverableExpert, type RegistrationError, RegistryError, type RegistryImportInput, RegistryImportInputSchema, type RegistryRelationship, type RegistryScanner, type RegistrySnapshot, type RegistryStats, type RegretAnalysis, type RepoAnalysis, type RepoAnalyzeDeps, type RepoAnalyzeInput, RepoAnalyzeInputSchema, type RepoSecurityPlan, type RepoSecurityPlanDeps, type RepoSecurityPlanInput, RepoSecurityPlanInputSchema, type ReportOptions, 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 ResilientLike, type ResolveResult, type ResolvedPipelineDeps, type ResourceLimits, type ResourceMetrics, type ResourceUsage, type Result, ResultAggregator, type ResultConflict, type ResultSubmissionMessage, type ResultSummary, type RetirementInfo, 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 RunAgentArgs, type RunAstQaRulesOptions, type RunGraphWithConsensusOptions, type RunGraphWorkflowDeps, type RunGraphWorkflowInput, RunGraphWorkflowInputSchema, type RunGraphWorkflowResponse, type RunWorkflowDeps, type RunWorkflowInput, RunWorkflowInputSchema, 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 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 SearchUsagesDeps, SearchUsagesInputSchema, 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, 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 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 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 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, TaskAnalysisSchema, type TaskAssignmentMessage, type TaskClassification, type TaskCommitment, type TaskContext, type TaskContract, TaskContractSchema, type TaskDag, TaskDagSchema, type TaskId, type TaskOutcome, type TaskOutcomeRecord, TaskOutcomeSchema, type TaskPayload, type TaskProfileSummary, TaskQueue, type TaskRequirements, type TaskResult, type TaskRoutingEntry, TaskSchema, type TaskSignals, type TaskStatus, type TaskTypePerformance, type TemplateCategory, TemplateCategorySchema, type TemplateMetadata, TemplateMetadataSchema, TemplateRegistry, type TerminationReason, TerminationReasonSchema, type TestQuality, type TestingAnalysisResult, TestingExpert, type TestingExpertOptions, type TextContent, TextDashboardRenderer, type ThinkerOutput, type ThroughputMetrics, type TimeConstraint, type TimePeriod, TimeoutError, type TimeoutProfile, type TokenBenchmarkResult, TokenCountError, type TokenCountResult, TokenCounter, type TokenCounterConfig, TokenCounterProvider, type TokenMetrics, type TokenResolverConfig, type TokenStrategy, type TokenUsage, type ToolCompletedEvent, type ToolDefinition, type ToolDefinitionFormat, type ToolInvocationAuditOpts, type ToolInvokedEvent, type ToolPayload, type ToolRegistrationOptions, type ToolRegistrationResult, type ToolResult$1 as ToolResult, type ToolSet, ToolSetSchema, type TraceId, type TrackedTask, type TransitionErrorCallback, type TreeId, type TreeState, TreeStateSchema, type TreeStatistics, TreeStatisticsSchema, type Trend, 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, UnifiedAdapterRegistry, type UnifiedRegistryConfig, type UnknownVar, type Unsubscribe, type V2Config, type V2Mode, VERSION, ValidationDashboard, ValidationError$1 as ValidationError, type ValidationIssue, type VariantStats, type VerificationResult, type VerifierOutput, VerifierVerdictSchema, type VersionRequirements, type VersionStatus, type Violation, ViolationSchema, Vote, VoteCounts, type VoteDecision, VoteDecisionSchema, type VoteMessage, VoteMessageSchema, type VoteResult, 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, 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$1 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, analyzeTask as analyzeDelegateTask, analyzeFailures, analyzeGitHubRepo, analyzeRepo, append, areStepsCompleted, assessReputation, bufferStream, buildDependencyGraph, buildFinalResult, buildPendingResult, buildPlanFromAnalysis, buildPrReviewProposal, buildDependencyGraph$1 as buildSkillDependencyGraph, buildTimeoutResult, calculateDelay, calculateDistributionStats, calculateMetricsTotals, calculateMinSampleSize, calculateRegret, calculateRoutingDistribution, calculateTokenCost, calculateTokenMetrics, calculateVoteWeight, calculateWinLoss, canExecuteSkill, canInfluenceDecisions, canProceed, cancelExecution, categorizeOutcomeError, categorizeOutcomeErrorMessage, checkForResearchTriggers, checkPermissionBoundary, checkPipelinePolicy, checkpointToResult, chunkByDirectory, classifyExpertFailure, classifyTask, classifyTrust, cleanupCheckpoint, clearRegistryCache, clearTemplateCache, calculateBackoffDelay as cliCalculateBackoffDelay, categorizeError as cliCategorizeError, closeServer, collectAstQaFindings, collectRealVotes, collectStream, compareBenchmarks, compareProportions, compilePipelineGraph, compilePlan, compileSpecToGraph, computeAdaptiveThresholds, computeOutcomeReward, concatStreams, connectTransport, containsExpressions, countActiveSessions, createAbTestTracker, createAgentPairKey, createAgentStages, createStepExecutor as createAgentStepExecutor, createAgenticAdapter, createAllAdapters, createArchitectureExpert, createAttestation, createAuditLogger, createAuditTrail, createBenchmarkSummary, createCheckpoint, createCheckpointStore, createClaudeAdapter, createCliAdapter, createCliCircuitBreakerIntegration, createCliDetectionCache, createCodeExpert, createCollaborationSession, createCompositeRouter, createConsensusEngine, createConsensusGateNode, createContextItem, createCorePluginRegistry, createCorrelationTracker, createDashboard, createDashboardRenderer, createDecayOp, createDefaultDeps, createDefaultPolicyEngine, createDefaultPolicyFirewall, createDefaultRateLimiter, createDefaultRegistry, createDelegatePipeline, createDependencyError, createDevStageRegistry, createDocumentationExpert, createDryRunHandler, createEventBusBridge, createExecutionContext, createExecutionPlan, createFeedbackIntegration, createFeedbackSubscriber, createFullGitHubProvider, createGeminiAdapter, createGitHubAdapter, createGitHubProvider, createGraphAuditBridge, createHigherOrderVotingStrategy, createInitialCostMetrics, createInitialSessionMetrics, createInitialTokenUsage, createInitializedWorkflowEngine, createInteractionGraph, createSwarmObserver as createInteractionSwarmObserver, createIsolatedRegistry, createLogger, createMcpLogger, createMcpNotifier, createOWVoting, createOllamaAdapter, createOpenAIAdapter, createOrchestrator, createOrchestratorFactory, createOutcomeFeedbackCollector, createOutcomeStorage, createPolicyContext, createPreferenceRouter, createProductionWorkflowEngine, createPromotionOp, createProtocolFactory, createRateLimiter, createRealWorkflowEngine, createResultAggregator, createRoutingDecision, createRoutingMetricsCollector, createSandboxExecutor, createScmProvider, createSecurityError, createSecurityExpert, createServer, createSkillComposer, createSkillDependencyGraph, createSkillLibrary, createSkillLoader, createStateComparisonVerifier, createStateGuard, createStateMachine, createStrategyDistiller, createStrategyFactory, createStream, createTaskOutcome, createTaskQueue, createTemplateRegistry, createTestingExpert, createTimer, createTokenCounter, createToolLogger, createTrackedAgent, createTrinityCoordinator, createUnifiedRegistry, createValidationDashboard, createValidator, createVotingProtocol, createWaveScheduler, createWeightedVoting, createWorkflowEngineDeps, createWorkflowEngineDepsAsync, createWorkflowRouter, curateContext, customReducer, decomposeSpec, defaultConfig, delegateInputToTaskContract, denyMutationsWithoutModeRule, deriveEntry, detectFailurePatterns, detectLatencyPatterns, detectSuccessPatterns, detectTrend, determineFinalStatus, emitCorroborationEvent, emitExecutionComplete, emitGraphExecutionEvent, emitNodeResults, emitNodeStarted, emitPipelineStageEvent, emitPolicyEvent, emitReputationEvent, emitSanitizationEvent, emitStageCompleted, emitStageFailed, emitStageStarted, emitStateUpdated, emitStepCompleted, emitTrustEvent, ensurePolyglotLangs, err, estimateTokens as estimateBenchmarkTokens, estimateTaskComplexity, estimateTokens$1 as estimateTokens, evaluatePipelinePolicy, evaluatePolicy$1 as evaluatePolicy, evaluatePolicy as evaluateSecurityPolicy, executeCliRetryLoop, executeDelegatePipeline, executeExpert, executeGraph, executeOrchestratePipeline, executeParallel, executeSpec, extractBooleanField, extractExpressions, extractNonErrorMessage, extractNumberField, extractSessionId, extractStateValue, extractStringArrayField, extractStringField, filterAvailableModels, filterStream, findActiveSession, findMissingDependencies, flushPipelineMemory, formatAdapterLatencyReport, formatBenchmarkReport, formatBenchmarkResults, formatComparisonResults, formatCompileError, fromArray, generateATL, generateBenchmarkReport, generateProposalId, generateSecurityPlan, generateWeatherReport, getAllTestCases, getAvailabilityCache, getAvailableClis, getAvailableRoles, getBenchmarkEnvironment, getBuiltInAstRulesPath, getBuiltInTemplates, getBuiltInTemplatesPath, getBuiltInTemplatesWithMetadata, getCapabilitiesForRole, getCategoriesByMinRiskLevel, getCliForModelId, getCompletedSteps, getCorroborationRules, getDefaultAvailableModelsCache, getDefaultRegistry, getEventBusStats, getExecutionDuration, getExecutionOrder, getExpertRegistry, getFallbackChain, getGlobalRegistry, getGraphRegistry, getGraphWorkflowList, getKnownNexusVarNames, getOutcomeStore, getPipelineArtifactStore, getPipelinePluginRegistry, getPolicy, getPolicyMode, getRecommendedRole, getReferencedSteps, getRegistryManifest, getRequiredTrustTier, getSafetyCategory, getSafetyTaxonomySummary, getSkillSetForTask, getSkillsForTask, getStepResult, getSwarmObserver, getTemplate, getTestCasesByTags, getTimeoutForTask, getTimeoutForTaskAuto, getTokenEnvVars, getTopologicalOrder, getVariable, hasToken, ictmToExpertConfig, identifySessionsToRemove, inferICTM, initializeAgentSkills, initializeBuiltInTemplates, initializeEventBusBridge, isCancelled, isCliAvailable, isRetryableError as isCliRetryableError, isErr, isMutatingAction, isOk, isReadOnlyAction, isRetryableError$1 as isRetryableError, isStepCompleted, isZodError, listTemplateIds, loadCheckpointState, loadRules, loadTemplateFile, loadTemplatesFromDirectory, loadWorkflowFile, logPolicyAudit, logRateLimitAudit, logToolError, logToolInvocationAudit, logToolStart, logToolSuccess, logger, map, mapAuthorAssociation, mapErr, mapVoteDecisionToPrDecision, meanConfidenceInterval, mergeStreams, normalizeRepoId, ok, orchestrateInputToTaskContract, overwrite, parseATL, parseAgentPairKey, parseExpression, parseSpec, parseTemplateContent, parseWorkflowJson, parseWorkflowYaml, proportionConfidenceInterval, quickSelect, reduceStream, registerCancelJobTool, registerConsensusVoteTool, registerCorePlugins, registerCreateExpertTool, registerDelegateToModelTool, registerExecuteExpertTool, registerExecuteSpecTool, registerExpertsResource, registerExtractSymbolsTool, registerGetJobResultTool, registerImprovementReviewTool, registerIssueTriageTool, registerListExpertsTool, registerListJobsTool, registerListWorkflowsTool, registerMemoryQueryTool, registerMemoryStatsTool, registerMemoryWriteTool, registerModelsResource, registerOrchestrateTool, registerPrReviewTool, registerPrompts, registerQueryTraceTool, registerRegistryImportTool, registerRepoAnalyzeTool, registerRepoSecurityPlanTool, registerResearchAddSourceTool, registerResearchAddTool, registerResearchAnalyzeTool, registerResearchCatalogReviewTool, registerResearchDiscoverTool, registerResearchQueryTool, registerResearchResource, registerResearchSynthesizeTool, registerResources, registerRunGraphWorkflowTool, registerRunWorkflowTool, registerSearchCodebaseTool, registerSearchUsagesTool, registerTools, registerWeatherReportTool, requiresCitation, requiresCorroboration, resetAvailabilityCache, resetGlobalRegistry, resetPipelineArtifactStore, resetPipelinePluginRegistry, resetRegistry, resolveExpression, resolveFallback, resolveInput, resolvePipelineDeps, resolveScannerData, resolveStringExpressions, resolveToken, resolveV2Config, resolveWithFallbacks, resultToOutcome, runAdapterLatencyBenchmark, runAdaptiveOrchestrator, runAstQaRules, runBenchmark, runConsensusGate, runConsolidationBenchmark, runDevPipeline, runGraphPipeline, runGraphWithConsensus, runIterativeConsensus, runMemoryBenchmarks, runOperationBenchmark, runPreconditions, runTokenBenchmark, runVerification, safePathsRule, safeValidateExpertConfig, sanitize, sanitizeInput, saveStageCheckpoint, scoreByHybrid, scoreByImportance, scoreByRecency, selectExperts, selectModel, setDefaultAvailableModelsCache, setDefaultRegistry, setSwarmObserver, setVariable, sigmoidConfidence, skip, sleep, snapshotContext, startStdioServer, storeStepResult, take, takeUntil, tapStream, toSuiteResult, toolError, toolSuccess, toolSuccessStructured, transformStream, unwrap, unwrapOr, validateAgentAction, validateCommand, validateCorroboration, validateDependencyGraph, validateEvaluationCriterion, validateExpertConfig, validateExpressions, validateICTM, validateNexusEnv, validateRequiredInputs, validateSafetyCategory, validateScenario, validateCapabilities as validateSkillCapabilities, validateSkillExecution, validateSkillProvenance, validateRBAC as validateSkillRBAC, validateTestCase, validateToolInput, validateWorkflow, validateWorkflowDependencies, withLogging, withModelNotFoundFallback, withRetry, withRetryWrapper, withTimeout, wrapResilientWithFallback };