nexus-agents 2.176.2 → 2.178.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.
- package/dist/{child-mcp-config-HPWYQFLG.js → child-mcp-config-PACKMI72.js} +2 -2
- package/dist/{chunk-YU2JCUM7.js → chunk-27RVYUCU.js} +2 -2
- package/dist/{chunk-CNHPSIHY.js → chunk-2UH5MVYS.js} +14 -6
- package/dist/chunk-2UH5MVYS.js.map +1 -0
- package/dist/{chunk-JRKF4FYO.js → chunk-47UPLZWW.js} +2 -2
- package/dist/{chunk-J55NMZ7R.js → chunk-4AF6VYQ7.js} +2 -2
- package/dist/{chunk-4S6S6S2S.js → chunk-4IOIURV4.js} +2 -2
- package/dist/{chunk-5LTRHNOI.js → chunk-4JIVEF5J.js} +3 -3
- package/dist/{chunk-2DE5L734.js → chunk-4NESLVOU.js} +2 -2
- package/dist/{chunk-ZOOSSM7D.js → chunk-AIBM5TJS.js} +5 -5
- package/dist/{chunk-J4BGV5VE.js → chunk-BP662TCH.js} +2 -2
- package/dist/{chunk-XES5DPHV.js → chunk-BPGEBBMI.js} +3 -3
- package/dist/{chunk-QI5U2YUL.js → chunk-CCOPA2YX.js} +5 -5
- package/dist/chunk-CCOPA2YX.js.map +1 -0
- package/dist/{chunk-JGL5HYZL.js → chunk-E4PCF6Q5.js} +3 -3
- package/dist/{chunk-XZJU6WLL.js → chunk-E5YASO4I.js} +4 -4
- package/dist/{chunk-46XEDJRB.js → chunk-E7BIMTCD.js} +2 -2
- package/dist/{chunk-Z55WHIRU.js → chunk-ELH4PIFM.js} +2 -2
- package/dist/{chunk-NQU4LNN7.js → chunk-H2PV2ZOM.js} +4 -4
- package/dist/{chunk-6HBMN6GZ.js → chunk-HEYVV4XQ.js} +57 -55
- package/dist/chunk-HEYVV4XQ.js.map +1 -0
- package/dist/{chunk-5YXHHEAG.js → chunk-JZDD7Z2Z.js} +5 -5
- package/dist/{chunk-G42V4A5Q.js → chunk-KFEHSYLI.js} +2 -2
- package/dist/{chunk-WMV2CXBB.js → chunk-KVQD7Z3R.js} +2 -2
- package/dist/{chunk-G5URP3V7.js → chunk-LJ36QD7F.js} +7 -7
- package/dist/{chunk-WT4BJODZ.js → chunk-LYDBCTT4.js} +16 -10
- package/dist/chunk-LYDBCTT4.js.map +1 -0
- package/dist/{chunk-ECBV4JNL.js → chunk-RTGLOWR6.js} +2 -2
- package/dist/{chunk-7TXEBDRM.js → chunk-SKVPP327.js} +2 -2
- package/dist/{chunk-QQ3CUUBU.js → chunk-SMP4NQ6T.js} +4 -4
- package/dist/{chunk-XAWRBQB7.js → chunk-SOZYAAFS.js} +3 -3
- package/dist/{chunk-4OPEUDHY.js → chunk-U5ODY6VK.js} +25 -12
- package/dist/chunk-U5ODY6VK.js.map +1 -0
- package/dist/{chunk-U5CV76ZW.js → chunk-UTWNUG3M.js} +2 -2
- package/dist/{chunk-LGBCHTC6.js → chunk-VDYFOQXY.js} +8 -8
- package/dist/{chunk-YB4QE7MD.js → chunk-VWKOCFOQ.js} +2 -2
- package/dist/{chunk-CGD63GSC.js → chunk-XXTMXJWZ.js} +5 -5
- package/dist/{chunk-5ALUADB6.js → chunk-ZH5B2BIL.js} +2 -2
- package/dist/{chunk-N3XDPW64.js → chunk-ZQGTPRIM.js} +48 -65
- package/dist/chunk-ZQGTPRIM.js.map +1 -0
- package/dist/{cli-circuit-breaker-PJOQTGFZ.js → cli-circuit-breaker-OWSE7HFZ.js} +3 -3
- package/dist/cli.d.ts +1 -1
- package/dist/cli.js +40 -40
- package/dist/{composite-router-IRXFQSB6.js → composite-router-ZTARSEYG.js} +2 -2
- package/dist/{consensus-vote-O6Q266QE.js → consensus-vote-BEU24RCT.js} +16 -16
- package/dist/{consensus-vote-types-BlbNhK1n.d.ts → consensus-vote-types-DusDu6pM.d.ts} +31 -4
- package/dist/{context-retriever-GO6ET3MF.js → context-retriever-ZX3CBXIC.js} +8 -8
- package/dist/{doctor-deep-6HCHHMRP.js → doctor-deep-U52LMY2R.js} +3 -3
- package/dist/{expert-bridge-6OLG6THF.js → expert-bridge-GY5GGOJW.js} +4 -4
- package/dist/{factory-MJFGYMNE.js → factory-PBHDVNU2.js} +5 -5
- package/dist/{factory-7OM526WB.js → factory-XR2UQOEH.js} +9 -9
- package/dist/{improvement-review-PALAAG7V.js → improvement-review-FPZ23HIJ.js} +5 -5
- package/dist/index.d.ts +61 -23
- package/dist/index.js +30 -30
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-NUMHNVIF.js → init-opencode-LLNCIUUF.js} +6 -6
- package/dist/{issue-triage-N7GFXNPY.js → issue-triage-PSHCE7RU.js} +6 -6
- package/dist/{pr-reviewer-helpers-6EIUJPXS.js → pr-reviewer-helpers-3WVNJRCK.js} +4 -4
- package/dist/{registry-command-SVTX7FKB.js → registry-command-JNSSDYGB.js} +2 -2
- package/dist/{repo-security-plan-AT7LOXLG.js → repo-security-plan-7QYZJCGT.js} +3 -3
- package/dist/{research-helpers-synthesize-R722YWRS.js → research-helpers-synthesize-TSIH4U7M.js} +4 -4
- package/dist/{routing-memory-4FXQT5H6.js → routing-memory-PHOZF4L2.js} +2 -2
- package/dist/{session-memory-ZQJ6AUSQ.js → session-memory-T5NHGNC5.js} +3 -3
- package/dist/{setup-command-IYBRT734.js → setup-command-MJP66PED.js} +14 -14
- package/dist/{setup-config-MYLZ2UHR.js → setup-config-2GJZNH7Z.js} +3 -3
- package/dist/{setup-custom-api-WZPLTGRQ.js → setup-custom-api-F6FEC2HD.js} +4 -4
- package/dist/{tool-memory-5REJXBCB.js → tool-memory-UIWAECRB.js} +5 -5
- package/dist/{unified-registry-FM3QB2VN.js → unified-registry-J7NOHQ44.js} +10 -10
- package/dist/{weather-report-Y2GYJA6I.js → weather-report-DQANKBJK.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-4OPEUDHY.js.map +0 -1
- package/dist/chunk-6HBMN6GZ.js.map +0 -1
- package/dist/chunk-CNHPSIHY.js.map +0 -1
- package/dist/chunk-N3XDPW64.js.map +0 -1
- package/dist/chunk-QI5U2YUL.js.map +0 -1
- package/dist/chunk-WT4BJODZ.js.map +0 -1
- /package/dist/{child-mcp-config-HPWYQFLG.js.map → child-mcp-config-PACKMI72.js.map} +0 -0
- /package/dist/{chunk-YU2JCUM7.js.map → chunk-27RVYUCU.js.map} +0 -0
- /package/dist/{chunk-JRKF4FYO.js.map → chunk-47UPLZWW.js.map} +0 -0
- /package/dist/{chunk-J55NMZ7R.js.map → chunk-4AF6VYQ7.js.map} +0 -0
- /package/dist/{chunk-4S6S6S2S.js.map → chunk-4IOIURV4.js.map} +0 -0
- /package/dist/{chunk-5LTRHNOI.js.map → chunk-4JIVEF5J.js.map} +0 -0
- /package/dist/{chunk-2DE5L734.js.map → chunk-4NESLVOU.js.map} +0 -0
- /package/dist/{chunk-ZOOSSM7D.js.map → chunk-AIBM5TJS.js.map} +0 -0
- /package/dist/{chunk-J4BGV5VE.js.map → chunk-BP662TCH.js.map} +0 -0
- /package/dist/{chunk-XES5DPHV.js.map → chunk-BPGEBBMI.js.map} +0 -0
- /package/dist/{chunk-JGL5HYZL.js.map → chunk-E4PCF6Q5.js.map} +0 -0
- /package/dist/{chunk-XZJU6WLL.js.map → chunk-E5YASO4I.js.map} +0 -0
- /package/dist/{chunk-46XEDJRB.js.map → chunk-E7BIMTCD.js.map} +0 -0
- /package/dist/{chunk-Z55WHIRU.js.map → chunk-ELH4PIFM.js.map} +0 -0
- /package/dist/{chunk-NQU4LNN7.js.map → chunk-H2PV2ZOM.js.map} +0 -0
- /package/dist/{chunk-5YXHHEAG.js.map → chunk-JZDD7Z2Z.js.map} +0 -0
- /package/dist/{chunk-G42V4A5Q.js.map → chunk-KFEHSYLI.js.map} +0 -0
- /package/dist/{chunk-WMV2CXBB.js.map → chunk-KVQD7Z3R.js.map} +0 -0
- /package/dist/{chunk-G5URP3V7.js.map → chunk-LJ36QD7F.js.map} +0 -0
- /package/dist/{chunk-ECBV4JNL.js.map → chunk-RTGLOWR6.js.map} +0 -0
- /package/dist/{chunk-7TXEBDRM.js.map → chunk-SKVPP327.js.map} +0 -0
- /package/dist/{chunk-QQ3CUUBU.js.map → chunk-SMP4NQ6T.js.map} +0 -0
- /package/dist/{chunk-XAWRBQB7.js.map → chunk-SOZYAAFS.js.map} +0 -0
- /package/dist/{chunk-U5CV76ZW.js.map → chunk-UTWNUG3M.js.map} +0 -0
- /package/dist/{chunk-LGBCHTC6.js.map → chunk-VDYFOQXY.js.map} +0 -0
- /package/dist/{chunk-YB4QE7MD.js.map → chunk-VWKOCFOQ.js.map} +0 -0
- /package/dist/{chunk-CGD63GSC.js.map → chunk-XXTMXJWZ.js.map} +0 -0
- /package/dist/{chunk-5ALUADB6.js.map → chunk-ZH5B2BIL.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-PJOQTGFZ.js.map → cli-circuit-breaker-OWSE7HFZ.js.map} +0 -0
- /package/dist/{composite-router-IRXFQSB6.js.map → composite-router-ZTARSEYG.js.map} +0 -0
- /package/dist/{consensus-vote-O6Q266QE.js.map → consensus-vote-BEU24RCT.js.map} +0 -0
- /package/dist/{context-retriever-GO6ET3MF.js.map → context-retriever-ZX3CBXIC.js.map} +0 -0
- /package/dist/{doctor-deep-6HCHHMRP.js.map → doctor-deep-U52LMY2R.js.map} +0 -0
- /package/dist/{expert-bridge-6OLG6THF.js.map → expert-bridge-GY5GGOJW.js.map} +0 -0
- /package/dist/{factory-7OM526WB.js.map → factory-PBHDVNU2.js.map} +0 -0
- /package/dist/{factory-MJFGYMNE.js.map → factory-XR2UQOEH.js.map} +0 -0
- /package/dist/{improvement-review-PALAAG7V.js.map → improvement-review-FPZ23HIJ.js.map} +0 -0
- /package/dist/{init-opencode-NUMHNVIF.js.map → init-opencode-LLNCIUUF.js.map} +0 -0
- /package/dist/{issue-triage-N7GFXNPY.js.map → issue-triage-PSHCE7RU.js.map} +0 -0
- /package/dist/{pr-reviewer-helpers-6EIUJPXS.js.map → pr-reviewer-helpers-3WVNJRCK.js.map} +0 -0
- /package/dist/{registry-command-SVTX7FKB.js.map → registry-command-JNSSDYGB.js.map} +0 -0
- /package/dist/{repo-security-plan-AT7LOXLG.js.map → repo-security-plan-7QYZJCGT.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-R722YWRS.js.map → research-helpers-synthesize-TSIH4U7M.js.map} +0 -0
- /package/dist/{routing-memory-4FXQT5H6.js.map → routing-memory-PHOZF4L2.js.map} +0 -0
- /package/dist/{session-memory-ZQJ6AUSQ.js.map → session-memory-T5NHGNC5.js.map} +0 -0
- /package/dist/{setup-command-IYBRT734.js.map → setup-command-MJP66PED.js.map} +0 -0
- /package/dist/{setup-config-MYLZ2UHR.js.map → setup-config-2GJZNH7Z.js.map} +0 -0
- /package/dist/{setup-custom-api-WZPLTGRQ.js.map → setup-custom-api-F6FEC2HD.js.map} +0 -0
- /package/dist/{tool-memory-5REJXBCB.js.map → tool-memory-UIWAECRB.js.map} +0 -0
- /package/dist/{unified-registry-FM3QB2VN.js.map → unified-registry-J7NOHQ44.js.map} +0 -0
- /package/dist/{weather-report-Y2GYJA6I.js.map → weather-report-DQANKBJK.js.map} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ZodError, z, ZodType, ZodSafeParseResult } from 'zod';
|
|
2
|
-
import { C as CliNameLiteral, I as InputModality, O as OutputModality, T as ToolCapability, S as SpecialFeature, P as Pricing, Q as QualityScores, M as ModelId, V as Vote, a as VoteDecision$1, b as VoterRole, D as DecisionCostSummary, c as ConsensusAlgorithm, d as VoteCounts, W as WeightedVoteCounts, A as AgentPerformance, e as ProposalState, f as ProposalId, g as ConsensusEngineConfig, h as ConsensusResult, i as ProposalStatus, j as Proposal, k as ConsensusMetrics, l as VoterExpansionCallback, m as AgentVoteResult, n as VotingStrategy, E as ErrorPolicy } from './consensus-vote-types-
|
|
3
|
-
export { o as AgentPerformanceSchema, p as AgentVoteSummary, q as ConsensusAlgorithmSchema, r as ConsensusEngineConfigSchema, s as ConsensusMetricsSchema, t as ConsensusResultSchema, u as ConsensusVoteInput, v as ConsensusVoteInputSchema, w as ConsensusVoteResponse, x as DEFAULT_CONSENSUS_CONFIG, y as ProposalSchema, z as ProposalStatusSchema, R as REJECTION_CATEGORIES, B as RejectionCategory, F as RejectionCategorySchema, G as VOTING_THRESHOLDS, H as VoteDecisionStatus, J as VoteSchema } from './consensus-vote-types-
|
|
2
|
+
import { C as CliNameLiteral, I as InputModality, O as OutputModality, T as ToolCapability, S as SpecialFeature, P as Pricing, Q as QualityScores, M as ModelId, V as Vote, a as VoteDecision$1, b as VoterRole, D as DecisionCostSummary, c as ConsensusAlgorithm, d as VoteCounts, W as WeightedVoteCounts, A as AgentPerformance, e as ProposalState, f as ProposalId, g as ConsensusEngineConfig, h as ConsensusResult, i as ProposalStatus, j as Proposal, k as ConsensusMetrics, l as VoterExpansionCallback, m as AgentVoteResult, n as VotingStrategy, E as ErrorPolicy } from './consensus-vote-types-DusDu6pM.js';
|
|
3
|
+
export { o as AgentPerformanceSchema, p as AgentVoteSummary, q as ConsensusAlgorithmSchema, r as ConsensusEngineConfigSchema, s as ConsensusMetricsSchema, t as ConsensusResultSchema, u as ConsensusVoteInput, v as ConsensusVoteInputSchema, w as ConsensusVoteResponse, x as DEFAULT_CONSENSUS_CONFIG, y as ProposalSchema, z as ProposalStatusSchema, R as REJECTION_CATEGORIES, B as RejectionCategory, F as RejectionCategorySchema, G as VOTING_THRESHOLDS, H as VoteDecisionStatus, J as VoteSchema } from './consensus-vote-types-DusDu6pM.js';
|
|
4
4
|
import { McpServer } from '@modelcontextprotocol/sdk/server/mcp.js';
|
|
5
5
|
import { Transport } from '@modelcontextprotocol/sdk/shared/transport.js';
|
|
6
6
|
|
|
@@ -961,13 +961,21 @@ type CliTransport = 'mcp' | 'subprocess';
|
|
|
961
961
|
/**
|
|
962
962
|
* Token usage information from CLI response.
|
|
963
963
|
*/
|
|
964
|
-
interface TokenUsage$
|
|
964
|
+
interface TokenUsage$1 {
|
|
965
965
|
/** Input tokens consumed */
|
|
966
966
|
readonly inputTokens: number;
|
|
967
967
|
/** Output tokens generated */
|
|
968
968
|
readonly outputTokens: number;
|
|
969
|
-
/** Cached input tokens (if applicable) */
|
|
969
|
+
/** Cached input tokens READ from an existing cache (if applicable). */
|
|
970
970
|
readonly cachedInputTokens?: number;
|
|
971
|
+
/**
|
|
972
|
+
* Input tokens spent WRITING the cache, when the vendor reports them
|
|
973
|
+
* separately (#4435). Kept distinct from {@link cachedInputTokens} because
|
|
974
|
+
* they bill at opposite ends: cache writes are ~1.25x the uncached input
|
|
975
|
+
* rate, cache reads ~0.1x. Collapsing them would make correct pricing
|
|
976
|
+
* impossible.
|
|
977
|
+
*/
|
|
978
|
+
readonly cacheCreationInputTokens?: number;
|
|
971
979
|
/** Total tokens (input + output) */
|
|
972
980
|
readonly totalTokens?: number;
|
|
973
981
|
}
|
|
@@ -979,7 +987,7 @@ interface CliResponse {
|
|
|
979
987
|
/** The response text */
|
|
980
988
|
readonly text: string;
|
|
981
989
|
/** Token usage statistics */
|
|
982
|
-
readonly usage?: TokenUsage$
|
|
990
|
+
readonly usage?: TokenUsage$1;
|
|
983
991
|
/** Session ID for resumption */
|
|
984
992
|
readonly sessionId?: string;
|
|
985
993
|
/** Cost in USD (if available) */
|
|
@@ -1291,7 +1299,7 @@ interface ICliResponseParser<T = unknown> {
|
|
|
1291
1299
|
* @param raw - Raw CLI output
|
|
1292
1300
|
* @returns Token usage or null
|
|
1293
1301
|
*/
|
|
1294
|
-
extractUsage(raw: string): TokenUsage$
|
|
1302
|
+
extractUsage(raw: string): TokenUsage$1 | null;
|
|
1295
1303
|
/**
|
|
1296
1304
|
* Extracts session ID (for resumption).
|
|
1297
1305
|
*
|
|
@@ -1700,9 +1708,17 @@ interface RoutingDecision$2 {
|
|
|
1700
1708
|
readonly ucbScore?: number | undefined;
|
|
1701
1709
|
}
|
|
1702
1710
|
/**
|
|
1703
|
-
*
|
|
1711
|
+
* Running token totals for an observability SESSION, aggregated across calls.
|
|
1712
|
+
*
|
|
1713
|
+
* Named to distinguish it from the per-call `SessionTokenTotals` in
|
|
1714
|
+
* `core/types/model.ts` (#4440). The two shared a name and a shape while
|
|
1715
|
+
* modelling different things — session aggregate vs. one call's usage — and
|
|
1716
|
+
* `exports/observability.ts` already had to alias this one as
|
|
1717
|
+
* `ObserverTokenUsage` to avoid the clash. That collision is not harmless: it
|
|
1718
|
+
* led me to file #4439 claiming three duplicate per-call types when there were
|
|
1719
|
+
* two, and the third was this.
|
|
1704
1720
|
*/
|
|
1705
|
-
interface
|
|
1721
|
+
interface SessionTokenTotals {
|
|
1706
1722
|
inputTokens: number;
|
|
1707
1723
|
outputTokens: number;
|
|
1708
1724
|
totalTokens: number;
|
|
@@ -1725,7 +1741,7 @@ interface SessionMetrics {
|
|
|
1725
1741
|
taskCount: number;
|
|
1726
1742
|
successCount: number;
|
|
1727
1743
|
failureCount: number;
|
|
1728
|
-
tokenUsage:
|
|
1744
|
+
tokenUsage: SessionTokenTotals;
|
|
1729
1745
|
costMetrics: CostMetrics;
|
|
1730
1746
|
routingDecisions: number;
|
|
1731
1747
|
eventsProcessed: number;
|
|
@@ -1832,7 +1848,7 @@ interface IOrchestrationObserver {
|
|
|
1832
1848
|
/** Record a routing decision manually (for non-event-bus integrations) */
|
|
1833
1849
|
recordRoutingDecision(decision: RoutingDecision$2): void;
|
|
1834
1850
|
/** Record token usage for a session */
|
|
1835
|
-
recordTokenUsage(sessionId: string, model: CliName, tokens:
|
|
1851
|
+
recordTokenUsage(sessionId: string, model: CliName, tokens: SessionTokenTotals): void;
|
|
1836
1852
|
/** Check if observer is active */
|
|
1837
1853
|
isActive(): boolean;
|
|
1838
1854
|
}
|
|
@@ -3878,6 +3894,18 @@ interface TokenUsage {
|
|
|
3878
3894
|
inputTokens: number;
|
|
3879
3895
|
outputTokens: number;
|
|
3880
3896
|
totalTokens: number;
|
|
3897
|
+
/**
|
|
3898
|
+
* Input tokens READ from an existing prompt cache, when the vendor reports
|
|
3899
|
+
* them separately. Billed at roughly a tenth of the uncached input rate, so
|
|
3900
|
+
* kept out of `inputTokens` rather than summed into it (#4435).
|
|
3901
|
+
*/
|
|
3902
|
+
cachedInputTokens?: number;
|
|
3903
|
+
/**
|
|
3904
|
+
* Input tokens spent WRITING the cache. Billed at roughly 1.25x the uncached
|
|
3905
|
+
* rate — the opposite end from a cache read, which is why the two stay
|
|
3906
|
+
* separate (#4438).
|
|
3907
|
+
*/
|
|
3908
|
+
cacheCreationInputTokens?: number;
|
|
3881
3909
|
}
|
|
3882
3910
|
/**
|
|
3883
3911
|
* Reason the model stopped generating.
|
|
@@ -3889,8 +3917,16 @@ type StopReason = 'end_turn' | 'max_tokens' | 'stop_sequence' | 'tool_use';
|
|
|
3889
3917
|
interface CompletionResponse {
|
|
3890
3918
|
/** Response content blocks */
|
|
3891
3919
|
content: ContentBlock[];
|
|
3892
|
-
/**
|
|
3893
|
-
|
|
3920
|
+
/**
|
|
3921
|
+
* Token usage statistics, when the vendor reported them.
|
|
3922
|
+
*
|
|
3923
|
+
* OPTIONAL on purpose (#4439). Producers used to synthesise `0/0/0` from an
|
|
3924
|
+
* absent vendor report, which is indistinguishable downstream from a real
|
|
3925
|
+
* zero-token call — that fabrication silently defeated the measured-voter
|
|
3926
|
+
* gate (#4436) on every live path. Absence must stay absent; consumers that
|
|
3927
|
+
* need a number should treat `undefined` as "unknown", never as zero.
|
|
3928
|
+
*/
|
|
3929
|
+
usage?: TokenUsage;
|
|
3894
3930
|
/** Reason generation stopped */
|
|
3895
3931
|
stopReason: StopReason;
|
|
3896
3932
|
/** Model that generated the response */
|
|
@@ -3937,7 +3973,7 @@ type StreamChunk = {
|
|
|
3937
3973
|
delta: {
|
|
3938
3974
|
stop_reason: StopReason;
|
|
3939
3975
|
};
|
|
3940
|
-
usage
|
|
3976
|
+
usage?: TokenUsage;
|
|
3941
3977
|
} | {
|
|
3942
3978
|
type: 'message_stop';
|
|
3943
3979
|
};
|
|
@@ -19893,6 +19929,8 @@ declare const DecisionCostRecordSchema: z.ZodObject<{
|
|
|
19893
19929
|
inputTokens: z.ZodNumber;
|
|
19894
19930
|
outputTokens: z.ZodNumber;
|
|
19895
19931
|
totalTokens: z.ZodNumber;
|
|
19932
|
+
cachedInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
19933
|
+
cacheCreationInputTokens: z.ZodOptional<z.ZodNumber>;
|
|
19896
19934
|
costUsd: z.ZodNumber;
|
|
19897
19935
|
unmeasured: z.ZodBoolean;
|
|
19898
19936
|
}, z.core.$strip>>>;
|
|
@@ -26951,7 +26989,7 @@ declare class CapacityTracker {
|
|
|
26951
26989
|
/**
|
|
26952
26990
|
* Records token usage from a completed request.
|
|
26953
26991
|
*/
|
|
26954
|
-
recordUsage(usage: TokenUsage$
|
|
26992
|
+
recordUsage(usage: TokenUsage$1 | undefined): void;
|
|
26955
26993
|
/**
|
|
26956
26994
|
* Gets current capacity status based on tracked usage.
|
|
26957
26995
|
*/
|
|
@@ -27107,7 +27145,7 @@ declare abstract class BaseCliAdapter implements ICliAdapter {
|
|
|
27107
27145
|
/**
|
|
27108
27146
|
* Normalizes CLI response to common format.
|
|
27109
27147
|
*/
|
|
27110
|
-
protected normalizeResponse(text: string, usage?: TokenUsage$
|
|
27148
|
+
protected normalizeResponse(text: string, usage?: TokenUsage$1, extra?: Partial<CliResponse>): CliResponse;
|
|
27111
27149
|
/**
|
|
27112
27150
|
* Delays for the specified milliseconds.
|
|
27113
27151
|
*/
|
|
@@ -27736,7 +27774,7 @@ declare class ClaudeResponseParser implements ICliResponseParser<ClaudeCliRespon
|
|
|
27736
27774
|
/**
|
|
27737
27775
|
* Extracts token usage from response.
|
|
27738
27776
|
*/
|
|
27739
|
-
extractUsage(raw: string): TokenUsage$
|
|
27777
|
+
extractUsage(raw: string): TokenUsage$1 | null;
|
|
27740
27778
|
/**
|
|
27741
27779
|
* Extracts session ID for resumption.
|
|
27742
27780
|
*/
|
|
@@ -27802,7 +27840,7 @@ declare class GeminiResponseParser implements ICliResponseParser<GeminiCliRespon
|
|
|
27802
27840
|
* Extracts token usage from response.
|
|
27803
27841
|
* Gemini has per-model stats, we aggregate them.
|
|
27804
27842
|
*/
|
|
27805
|
-
extractUsage(raw: string): TokenUsage$
|
|
27843
|
+
extractUsage(raw: string): TokenUsage$1 | null;
|
|
27806
27844
|
/**
|
|
27807
27845
|
* Aggregates tokens across all models.
|
|
27808
27846
|
*/
|
|
@@ -27834,7 +27872,7 @@ interface CodexCliResponse {
|
|
|
27834
27872
|
readonly threadId?: string;
|
|
27835
27873
|
readonly messages: readonly string[];
|
|
27836
27874
|
readonly reasoning: readonly string[];
|
|
27837
|
-
readonly usage?: TokenUsage$
|
|
27875
|
+
readonly usage?: TokenUsage$1;
|
|
27838
27876
|
}
|
|
27839
27877
|
/**
|
|
27840
27878
|
* Parser for Codex CLI NDJSON output.
|
|
@@ -27859,7 +27897,7 @@ declare class CodexResponseParser implements ICliResponseParser<CodexCliResponse
|
|
|
27859
27897
|
/**
|
|
27860
27898
|
* Extracts token usage from NDJSON stream.
|
|
27861
27899
|
*/
|
|
27862
|
-
extractUsage(raw: string): TokenUsage$
|
|
27900
|
+
extractUsage(raw: string): TokenUsage$1 | null;
|
|
27863
27901
|
/**
|
|
27864
27902
|
* Extracts session ID (thread_id) for resumption.
|
|
27865
27903
|
*/
|
|
@@ -32382,9 +32420,9 @@ declare function createInitialSessionMetrics(sessionId: string): SessionMetrics;
|
|
|
32382
32420
|
/**
|
|
32383
32421
|
* Creates initial token usage with zero values.
|
|
32384
32422
|
*
|
|
32385
|
-
* @returns A new
|
|
32423
|
+
* @returns A new SessionTokenTotals object with zero values
|
|
32386
32424
|
*/
|
|
32387
|
-
declare function createInitialTokenUsage():
|
|
32425
|
+
declare function createInitialTokenUsage(): SessionTokenTotals;
|
|
32388
32426
|
/**
|
|
32389
32427
|
* Creates initial cost metrics with zero values.
|
|
32390
32428
|
*
|
|
@@ -32448,7 +32486,7 @@ declare function identifySessionsToRemove(sessions: Array<[string, SessionMetric
|
|
|
32448
32486
|
* @param ratePerThousand - Cost rate per 1000 tokens
|
|
32449
32487
|
* @returns The calculated cost in USD
|
|
32450
32488
|
*/
|
|
32451
|
-
declare function calculateTokenCost(tokens:
|
|
32489
|
+
declare function calculateTokenCost(tokens: SessionTokenTotals, ratePerThousand: number): number;
|
|
32452
32490
|
|
|
32453
32491
|
/** A tracked task/issue. */
|
|
32454
32492
|
interface TrackedTask {
|
|
@@ -34361,4 +34399,4 @@ declare function createScmProvider(config: CreateScmProviderConfig): Promise<Res
|
|
|
34361
34399
|
*/
|
|
34362
34400
|
declare function createGitHubProvider(repo: string): IScmProvider;
|
|
34363
34401
|
|
|
34364
|
-
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 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 ResolveResult, type ResolvedPipelineDeps, type ResourceLimits, type ResourceMetrics, type ResourceUsage, type Result, ResultAggregator, type ResultConflict, type ResultSubmissionMessage, type ResultSummary, type RetryAttemptInfo, type RetryConfig, RetryExhaustedError, type ReviewCapableProvider, ReviewProtocol, type ReviewRequestMessage, type ReviewResponseMessage, ReviewResponseMessageSchema, RiskLevel, RiskLevelSchema, type RiskLevelType, type RoleSkillMapping, type RoundSummary, type RouterType, type DashboardConfig$1 as RoutingDashboardConfig, type RoutingDecisionRecord, RoutingMemoryError, type RoutingMemoryExport, type RoutingMemoryStats$1 as RoutingMemoryStats, type RoutingMetrics, RoutingMetricsCollector, type RoutingMetricsConfig, type RoutingRecord, type RuleStatus, type RulesSnapshot, RulesSnapshotSchema, type 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, withRetry, withRetryWrapper, withTimeout };
|
|
34402
|
+
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$1 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 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 SessionTokenTotals 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 ResolveResult, type ResolvedPipelineDeps, type ResourceLimits, type ResourceMetrics, type ResourceUsage, type Result, ResultAggregator, type ResultConflict, type ResultSubmissionMessage, type ResultSummary, type RetryAttemptInfo, type RetryConfig, RetryExhaustedError, type ReviewCapableProvider, ReviewProtocol, type ReviewRequestMessage, type ReviewResponseMessage, ReviewResponseMessageSchema, RiskLevel, RiskLevelSchema, type RiskLevelType, type RoleSkillMapping, type RoundSummary, type RouterType, type DashboardConfig$1 as RoutingDashboardConfig, type RoutingDecisionRecord, RoutingMemoryError, type RoutingMemoryExport, type RoutingMemoryStats$1 as RoutingMemoryStats, type RoutingMetrics, RoutingMetricsCollector, type RoutingMetricsConfig, type RoutingRecord, type RuleStatus, type RulesSnapshot, RulesSnapshotSchema, type 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, withRetry, withRetryWrapper, withTimeout };
|
package/dist/index.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createGitHubProvider,
|
|
3
3
|
createScmProvider
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-E5YASO4I.js";
|
|
5
5
|
import {
|
|
6
6
|
ALLOWED_COMMANDS,
|
|
7
7
|
ARTIFACT_TYPES,
|
|
@@ -541,7 +541,7 @@ import {
|
|
|
541
541
|
withLogging,
|
|
542
542
|
withRetry,
|
|
543
543
|
withRetryWrapper
|
|
544
|
-
} from "./chunk-
|
|
544
|
+
} from "./chunk-HEYVV4XQ.js";
|
|
545
545
|
import {
|
|
546
546
|
FALLBACK_SCANNER_DATA,
|
|
547
547
|
buildPlanFromAnalysis,
|
|
@@ -549,7 +549,7 @@ import {
|
|
|
549
549
|
generateSecurityPlan,
|
|
550
550
|
getRegistryManifest,
|
|
551
551
|
resolveScannerData
|
|
552
|
-
} from "./chunk-
|
|
552
|
+
} from "./chunk-BP662TCH.js";
|
|
553
553
|
import {
|
|
554
554
|
analyzeGitHubRepo,
|
|
555
555
|
analyzeRepo,
|
|
@@ -575,16 +575,16 @@ import {
|
|
|
575
575
|
getKnownNexusVarNames,
|
|
576
576
|
startStdioServer,
|
|
577
577
|
validateNexusEnv
|
|
578
|
-
} from "./chunk-
|
|
578
|
+
} from "./chunk-VDYFOQXY.js";
|
|
579
579
|
import {
|
|
580
580
|
OPENAI_MODELS,
|
|
581
581
|
OPENAI_MODEL_ALIASES,
|
|
582
582
|
OpenAIAdapter,
|
|
583
583
|
createOpenAIAdapter
|
|
584
|
-
} from "./chunk-
|
|
584
|
+
} from "./chunk-LYDBCTT4.js";
|
|
585
585
|
import {
|
|
586
586
|
executeExpert
|
|
587
|
-
} from "./chunk-
|
|
587
|
+
} from "./chunk-LJ36QD7F.js";
|
|
588
588
|
import {
|
|
589
589
|
AgentFindingSchema,
|
|
590
590
|
ConsensusEngine,
|
|
@@ -633,9 +633,9 @@ import {
|
|
|
633
633
|
generateProposalId,
|
|
634
634
|
parseAgentPairKey,
|
|
635
635
|
registerConsensusVoteTool
|
|
636
|
-
} from "./chunk-
|
|
637
|
-
import "./chunk-
|
|
638
|
-
import "./chunk-
|
|
636
|
+
} from "./chunk-U5ODY6VK.js";
|
|
637
|
+
import "./chunk-4IOIURV4.js";
|
|
638
|
+
import "./chunk-E4PCF6Q5.js";
|
|
639
639
|
import {
|
|
640
640
|
AgentActionSchema,
|
|
641
641
|
GitHubReviewer,
|
|
@@ -657,11 +657,11 @@ import {
|
|
|
657
657
|
requiresCorroboration,
|
|
658
658
|
validateAgentAction,
|
|
659
659
|
validateCorroboration
|
|
660
|
-
} from "./chunk-
|
|
660
|
+
} from "./chunk-JZDD7Z2Z.js";
|
|
661
661
|
import {
|
|
662
662
|
GitHubProvider,
|
|
663
663
|
ScmError
|
|
664
|
-
} from "./chunk-
|
|
664
|
+
} from "./chunk-4NESLVOU.js";
|
|
665
665
|
import {
|
|
666
666
|
GitHubUserRoleSchema,
|
|
667
667
|
InjectionFlagSchema,
|
|
@@ -676,11 +676,11 @@ import {
|
|
|
676
676
|
assessReputation,
|
|
677
677
|
reconcileTrustTier,
|
|
678
678
|
sanitizeInput
|
|
679
|
-
} from "./chunk-
|
|
679
|
+
} from "./chunk-27RVYUCU.js";
|
|
680
680
|
import {
|
|
681
681
|
ImprovementReviewInputSchema,
|
|
682
682
|
registerImprovementReviewTool
|
|
683
|
-
} from "./chunk-
|
|
683
|
+
} from "./chunk-BPGEBBMI.js";
|
|
684
684
|
import {
|
|
685
685
|
AgentPerformanceSchema,
|
|
686
686
|
ConsensusAlgorithmSchema,
|
|
@@ -716,7 +716,7 @@ import {
|
|
|
716
716
|
toolSuccess,
|
|
717
717
|
toolSuccessStructured,
|
|
718
718
|
validateToolInput
|
|
719
|
-
} from "./chunk-
|
|
719
|
+
} from "./chunk-SOZYAAFS.js";
|
|
720
720
|
import {
|
|
721
721
|
AuditTrail,
|
|
722
722
|
MAX_STRIPPED_ELEMENTS_PER_EVENT,
|
|
@@ -728,13 +728,13 @@ import {
|
|
|
728
728
|
emitReputationEvent,
|
|
729
729
|
emitSanitizationEvent,
|
|
730
730
|
emitTrustEvent
|
|
731
|
-
} from "./chunk-
|
|
731
|
+
} from "./chunk-KFEHSYLI.js";
|
|
732
732
|
import {
|
|
733
733
|
UnifiedAdapterRegistry,
|
|
734
734
|
createUnifiedRegistry,
|
|
735
735
|
getGlobalRegistry,
|
|
736
736
|
resetGlobalRegistry
|
|
737
|
-
} from "./chunk-
|
|
737
|
+
} from "./chunk-SMP4NQ6T.js";
|
|
738
738
|
import {
|
|
739
739
|
PersistentStrategyDistiller,
|
|
740
740
|
RulesSnapshotSchema,
|
|
@@ -742,19 +742,19 @@ import {
|
|
|
742
742
|
TokenCounter,
|
|
743
743
|
TokenCounterProvider,
|
|
744
744
|
createTokenCounter
|
|
745
|
-
} from "./chunk-
|
|
745
|
+
} from "./chunk-XXTMXJWZ.js";
|
|
746
746
|
import {
|
|
747
747
|
getTokenEnvVars,
|
|
748
748
|
hasToken,
|
|
749
749
|
resolveToken
|
|
750
|
-
} from "./chunk-
|
|
751
|
-
import "./chunk-
|
|
750
|
+
} from "./chunk-47UPLZWW.js";
|
|
751
|
+
import "./chunk-E7BIMTCD.js";
|
|
752
752
|
import "./chunk-NUBSJGQZ.js";
|
|
753
753
|
import {
|
|
754
754
|
MemoryError
|
|
755
|
-
} from "./chunk-
|
|
755
|
+
} from "./chunk-H2PV2ZOM.js";
|
|
756
756
|
import "./chunk-6T3EPABN.js";
|
|
757
|
-
import "./chunk-
|
|
757
|
+
import "./chunk-UTWNUG3M.js";
|
|
758
758
|
import {
|
|
759
759
|
BUILT_IN_EXPERTS,
|
|
760
760
|
BuiltInExpertTypeSchema,
|
|
@@ -799,7 +799,7 @@ import {
|
|
|
799
799
|
isCliAvailable,
|
|
800
800
|
isRetryableError,
|
|
801
801
|
sleep
|
|
802
|
-
} from "./chunk-
|
|
802
|
+
} from "./chunk-ZQGTPRIM.js";
|
|
803
803
|
import {
|
|
804
804
|
AdapterModelError,
|
|
805
805
|
BaseAdapter,
|
|
@@ -821,11 +821,11 @@ import {
|
|
|
821
821
|
tapStream,
|
|
822
822
|
transformStream,
|
|
823
823
|
withTimeout
|
|
824
|
-
} from "./chunk-
|
|
825
|
-
import "./chunk-
|
|
824
|
+
} from "./chunk-CCOPA2YX.js";
|
|
825
|
+
import "./chunk-KVQD7Z3R.js";
|
|
826
826
|
import {
|
|
827
827
|
PROVIDER_ENV_KEYS
|
|
828
|
-
} from "./chunk-
|
|
828
|
+
} from "./chunk-RTGLOWR6.js";
|
|
829
829
|
import "./chunk-YAF73ZMR.js";
|
|
830
830
|
import {
|
|
831
831
|
AvailabilityCache,
|
|
@@ -835,13 +835,13 @@ import {
|
|
|
835
835
|
getFallbackChain,
|
|
836
836
|
resetAvailabilityCache,
|
|
837
837
|
resolveFallback
|
|
838
|
-
} from "./chunk-
|
|
838
|
+
} from "./chunk-4AF6VYQ7.js";
|
|
839
839
|
import "./chunk-QZUG667L.js";
|
|
840
|
-
import "./chunk-
|
|
840
|
+
import "./chunk-VWKOCFOQ.js";
|
|
841
841
|
import {
|
|
842
842
|
CliCircuitBreakerIntegration,
|
|
843
843
|
createCliCircuitBreakerIntegration
|
|
844
|
-
} from "./chunk-
|
|
844
|
+
} from "./chunk-ZH5B2BIL.js";
|
|
845
845
|
import {
|
|
846
846
|
AgentCapability,
|
|
847
847
|
AgentError,
|
|
@@ -915,7 +915,7 @@ import {
|
|
|
915
915
|
toError,
|
|
916
916
|
unwrap,
|
|
917
917
|
unwrapOr
|
|
918
|
-
} from "./chunk-
|
|
918
|
+
} from "./chunk-2UH5MVYS.js";
|
|
919
919
|
import "./chunk-2HUC6NZN.js";
|
|
920
920
|
import "./chunk-OQLFRJCW.js";
|
|
921
921
|
import "./chunk-ZPWHCABL.js";
|
|
@@ -4713,7 +4713,7 @@ function buildVotingInput(plan, config) {
|
|
|
4713
4713
|
}
|
|
4714
4714
|
async function executeSingleVote(plan, config, log) {
|
|
4715
4715
|
try {
|
|
4716
|
-
const { executeVoting } = await import("./consensus-vote-
|
|
4716
|
+
const { executeVoting } = await import("./consensus-vote-BEU24RCT.js");
|
|
4717
4717
|
const input = buildVotingInput(plan, config);
|
|
4718
4718
|
const result = await executeVoting(input, log);
|
|
4719
4719
|
return parseVotingResult(result);
|