nexus-agents 2.72.1 → 2.74.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/{adaptive-memory-UPE76IP6.js → adaptive-memory-OJY3IVNM.js} +3 -3
- package/dist/{child-mcp-config-5HRJGLCR.js → child-mcp-config-KMCKKPNY.js} +2 -2
- package/dist/{chunk-TF3GROMO.js → chunk-2SVS5WRV.js} +2 -2
- package/dist/{chunk-QECRZ3YA.js → chunk-3ESCBV47.js} +2 -2
- package/dist/{chunk-QL4HCYRD.js → chunk-3SZBDLFX.js} +3 -3
- package/dist/{chunk-VTVKC4FS.js → chunk-44MVIL3F.js} +4 -4
- package/dist/{chunk-BVETPIOQ.js → chunk-4K6L7RKC.js} +3 -3
- package/dist/chunk-4K6L7RKC.js.map +1 -0
- package/dist/{chunk-C3JGKBL2.js → chunk-65R32U3M.js} +4 -4
- package/dist/{chunk-3FIDMWFC.js → chunk-BK54O5J5.js} +2 -2
- package/dist/chunk-BK54O5J5.js.map +1 -0
- package/dist/{chunk-J4VR2WNI.js → chunk-BYKS53GW.js} +1086 -1709
- package/dist/chunk-BYKS53GW.js.map +1 -0
- package/dist/{chunk-L6N2S3UB.js → chunk-CCODJRS6.js} +2 -2
- package/dist/{chunk-DA5UDQYW.js → chunk-DGELGUZF.js} +2 -2
- package/dist/{chunk-2KB63QGE.js → chunk-EQHYXT56.js} +2 -2
- package/dist/{chunk-VPC3YNFR.js → chunk-G5VE2DZS.js} +2 -2
- package/dist/{chunk-2MD5MWCK.js → chunk-GS3GW7C7.js} +2 -2
- package/dist/{chunk-ES6GFP35.js → chunk-NC2LECY6.js} +26 -9
- package/dist/chunk-NC2LECY6.js.map +1 -0
- package/dist/{chunk-5MHIWRKB.js → chunk-NQR7QAZX.js} +21 -2
- package/dist/chunk-NQR7QAZX.js.map +1 -0
- package/dist/{chunk-5WQ3SRSE.js → chunk-PAFH336F.js} +2 -2
- package/dist/{chunk-O4KUCF5S.js → chunk-Q3RFPJYK.js} +1325 -441
- package/dist/chunk-Q3RFPJYK.js.map +1 -0
- package/dist/{chunk-P5OFZWDW.js → chunk-Q6JDV36D.js} +13 -6
- package/dist/chunk-Q6JDV36D.js.map +1 -0
- package/dist/{chunk-A35XORXU.js → chunk-Q7FTNKPO.js} +2 -2
- package/dist/chunk-QON7LR7J.js +153 -0
- package/dist/chunk-QON7LR7J.js.map +1 -0
- package/dist/{chunk-53K3KEKT.js → chunk-T5VPZZYX.js} +1564 -848
- package/dist/chunk-T5VPZZYX.js.map +1 -0
- package/dist/{chunk-TQFRPFMG.js → chunk-TBRNRW2Q.js} +2 -2
- package/dist/{chunk-345KMHWH.js → chunk-UWJKMBPL.js} +6 -6
- package/dist/{chunk-V7ATY4BG.js → chunk-VJD5LANR.js} +14 -16
- package/dist/chunk-VJD5LANR.js.map +1 -0
- package/dist/{chunk-YOREAPF6.js → chunk-WCCTIRSB.js} +11 -10
- package/dist/chunk-WCCTIRSB.js.map +1 -0
- package/dist/{cli-circuit-breaker-GFF2RLBZ.js → cli-circuit-breaker-STXIH563.js} +4 -4
- package/dist/cli.d.ts +5 -2
- package/dist/cli.js +138 -106
- package/dist/cli.js.map +1 -1
- package/dist/{composite-router-33F3F74I.js → composite-router-7AHZN3VI.js} +2 -2
- package/dist/{consensus-vote-5V4KVHBE.js → consensus-vote-XY55C7WQ.js} +11 -10
- package/dist/consensus-vote-types-CoGbAEjf.d.ts +195 -0
- package/dist/{doctor-deep-AHDTNURD.js → doctor-deep-ONHJTGR4.js} +3 -3
- package/dist/{expert-bridge-DMDHHDEU.js → expert-bridge-3AWQHR65.js} +3 -3
- package/dist/{factory-FVD7PZ6S.js → factory-E5NMAMZC.js} +5 -5
- package/dist/{factory-VQS3HJ7V.js → factory-HWHQ44BB.js} +4 -4
- package/dist/index.d.ts +4089 -3693
- package/dist/index.js +85 -73
- package/dist/index.js.map +1 -1
- package/dist/{init-opencode-EIOIPVWL.js → init-opencode-Z7OQ5RCB.js} +5 -5
- package/dist/{issue-triage-HJUJWGAD.js → issue-triage-UWBHMQHC.js} +4 -4
- package/dist/{mobimem-BOJFXQ7B.js → mobimem-G4UXJTCV.js} +2 -2
- package/dist/{registry-command-NCWUJKAF.js → registry-command-HYWVRAHE.js} +5 -6
- package/dist/registry-command-HYWVRAHE.js.map +1 -0
- package/dist/{repo-security-plan-3J45VAD6.js → repo-security-plan-W35CXK3T.js} +3 -3
- package/dist/{research-helpers-synthesize-UGQHZZJN.js → research-helpers-synthesize-GUQORWL4.js} +3 -3
- package/dist/{routing-memory-NO7QEH7T.js → routing-memory-VOJBOX3X.js} +2 -2
- package/dist/{session-memory-DOXLEWEU.js → session-memory-B6LQMF4N.js} +3 -3
- package/dist/{setup-command-BWUFMZ7U.js → setup-command-CTC5YNA4.js} +9 -8
- package/dist/{setup-config-E3JZYSLR.js → setup-config-53MHJA7S.js} +3 -3
- package/dist/{setup-custom-api-DHJ5DRH2.js → setup-custom-api-VD5W754A.js} +4 -4
- package/dist/{weather-report-FNN4OX3N.js → weather-report-APASTJDQ.js} +2 -2
- package/package.json +1 -1
- package/dist/chunk-3FIDMWFC.js.map +0 -1
- package/dist/chunk-53K3KEKT.js.map +0 -1
- package/dist/chunk-5MHIWRKB.js.map +0 -1
- package/dist/chunk-BVETPIOQ.js.map +0 -1
- package/dist/chunk-ES6GFP35.js.map +0 -1
- package/dist/chunk-J4VR2WNI.js.map +0 -1
- package/dist/chunk-O4KUCF5S.js.map +0 -1
- package/dist/chunk-P5OFZWDW.js.map +0 -1
- package/dist/chunk-V7ATY4BG.js.map +0 -1
- package/dist/chunk-YOREAPF6.js.map +0 -1
- package/dist/model-capabilities-types-B57GZryc.d.ts +0 -18
- package/dist/registry-command-NCWUJKAF.js.map +0 -1
- /package/dist/{adaptive-memory-UPE76IP6.js.map → adaptive-memory-OJY3IVNM.js.map} +0 -0
- /package/dist/{child-mcp-config-5HRJGLCR.js.map → child-mcp-config-KMCKKPNY.js.map} +0 -0
- /package/dist/{chunk-TF3GROMO.js.map → chunk-2SVS5WRV.js.map} +0 -0
- /package/dist/{chunk-QECRZ3YA.js.map → chunk-3ESCBV47.js.map} +0 -0
- /package/dist/{chunk-QL4HCYRD.js.map → chunk-3SZBDLFX.js.map} +0 -0
- /package/dist/{chunk-VTVKC4FS.js.map → chunk-44MVIL3F.js.map} +0 -0
- /package/dist/{chunk-C3JGKBL2.js.map → chunk-65R32U3M.js.map} +0 -0
- /package/dist/{chunk-L6N2S3UB.js.map → chunk-CCODJRS6.js.map} +0 -0
- /package/dist/{chunk-DA5UDQYW.js.map → chunk-DGELGUZF.js.map} +0 -0
- /package/dist/{chunk-2KB63QGE.js.map → chunk-EQHYXT56.js.map} +0 -0
- /package/dist/{chunk-VPC3YNFR.js.map → chunk-G5VE2DZS.js.map} +0 -0
- /package/dist/{chunk-2MD5MWCK.js.map → chunk-GS3GW7C7.js.map} +0 -0
- /package/dist/{chunk-5WQ3SRSE.js.map → chunk-PAFH336F.js.map} +0 -0
- /package/dist/{chunk-A35XORXU.js.map → chunk-Q7FTNKPO.js.map} +0 -0
- /package/dist/{chunk-TQFRPFMG.js.map → chunk-TBRNRW2Q.js.map} +0 -0
- /package/dist/{chunk-345KMHWH.js.map → chunk-UWJKMBPL.js.map} +0 -0
- /package/dist/{cli-circuit-breaker-GFF2RLBZ.js.map → cli-circuit-breaker-STXIH563.js.map} +0 -0
- /package/dist/{composite-router-33F3F74I.js.map → composite-router-7AHZN3VI.js.map} +0 -0
- /package/dist/{consensus-vote-5V4KVHBE.js.map → consensus-vote-XY55C7WQ.js.map} +0 -0
- /package/dist/{doctor-deep-AHDTNURD.js.map → doctor-deep-ONHJTGR4.js.map} +0 -0
- /package/dist/{expert-bridge-DMDHHDEU.js.map → expert-bridge-3AWQHR65.js.map} +0 -0
- /package/dist/{factory-FVD7PZ6S.js.map → factory-E5NMAMZC.js.map} +0 -0
- /package/dist/{factory-VQS3HJ7V.js.map → factory-HWHQ44BB.js.map} +0 -0
- /package/dist/{init-opencode-EIOIPVWL.js.map → init-opencode-Z7OQ5RCB.js.map} +0 -0
- /package/dist/{issue-triage-HJUJWGAD.js.map → issue-triage-UWBHMQHC.js.map} +0 -0
- /package/dist/{mobimem-BOJFXQ7B.js.map → mobimem-G4UXJTCV.js.map} +0 -0
- /package/dist/{repo-security-plan-3J45VAD6.js.map → repo-security-plan-W35CXK3T.js.map} +0 -0
- /package/dist/{research-helpers-synthesize-UGQHZZJN.js.map → research-helpers-synthesize-GUQORWL4.js.map} +0 -0
- /package/dist/{routing-memory-NO7QEH7T.js.map → routing-memory-VOJBOX3X.js.map} +0 -0
- /package/dist/{session-memory-DOXLEWEU.js.map → session-memory-B6LQMF4N.js.map} +0 -0
- /package/dist/{setup-command-BWUFMZ7U.js.map → setup-command-CTC5YNA4.js.map} +0 -0
- /package/dist/{setup-config-E3JZYSLR.js.map → setup-config-53MHJA7S.js.map} +0 -0
- /package/dist/{setup-custom-api-DHJ5DRH2.js.map → setup-custom-api-VD5W754A.js.map} +0 -0
- /package/dist/{weather-report-FNN4OX3N.js.map → weather-report-APASTJDQ.js.map} +0 -0
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
CompositeRoutingError,
|
|
5
5
|
DEFAULT_COMPOSITE_CONFIG,
|
|
6
6
|
createCompositeRouter
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-Q3RFPJYK.js";
|
|
8
8
|
import "./chunk-I7ORMAO7.js";
|
|
9
9
|
import "./chunk-GOT7OAL5.js";
|
|
10
10
|
import "./chunk-UP2VWCW5.js";
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
DEFAULT_COMPOSITE_CONFIG,
|
|
16
16
|
createCompositeRouter
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=composite-router-
|
|
18
|
+
//# sourceMappingURL=composite-router-7AHZN3VI.js.map
|
|
@@ -5,16 +5,17 @@ import {
|
|
|
5
5
|
executeVoting,
|
|
6
6
|
registerConsensusVoteTool,
|
|
7
7
|
resetCorrelationTracker
|
|
8
|
-
} from "./chunk-
|
|
9
|
-
import "./chunk-
|
|
10
|
-
import "./chunk-
|
|
11
|
-
import "./chunk-
|
|
12
|
-
import "./chunk-
|
|
13
|
-
import "./chunk-
|
|
14
|
-
import "./chunk-
|
|
8
|
+
} from "./chunk-T5VPZZYX.js";
|
|
9
|
+
import "./chunk-NQR7QAZX.js";
|
|
10
|
+
import "./chunk-PAFH336F.js";
|
|
11
|
+
import "./chunk-QON7LR7J.js";
|
|
12
|
+
import "./chunk-GS3GW7C7.js";
|
|
13
|
+
import "./chunk-NC2LECY6.js";
|
|
14
|
+
import "./chunk-EQHYXT56.js";
|
|
15
|
+
import "./chunk-3ESCBV47.js";
|
|
15
16
|
import "./chunk-633WH2ML.js";
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
17
|
+
import "./chunk-TBRNRW2Q.js";
|
|
18
|
+
import "./chunk-Q3RFPJYK.js";
|
|
18
19
|
import "./chunk-I7ORMAO7.js";
|
|
19
20
|
import "./chunk-GOT7OAL5.js";
|
|
20
21
|
import "./chunk-UP2VWCW5.js";
|
|
@@ -26,4 +27,4 @@ export {
|
|
|
26
27
|
registerConsensusVoteTool,
|
|
27
28
|
resetCorrelationTracker
|
|
28
29
|
};
|
|
29
|
-
//# sourceMappingURL=consensus-vote-
|
|
30
|
+
//# sourceMappingURL=consensus-vote-XY55C7WQ.js.map
|
|
@@ -0,0 +1,195 @@
|
|
|
1
|
+
import { z } from 'zod';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* nexus-agents/config - Model Capabilities Type Definitions
|
|
5
|
+
*
|
|
6
|
+
* Zod schemas and TypeScript interfaces for the model capabilities matrix.
|
|
7
|
+
* Defines output/input modalities, tool support, and special features
|
|
8
|
+
* for each supported AI model.
|
|
9
|
+
*
|
|
10
|
+
* @module config/model-capabilities-types
|
|
11
|
+
* (Source: Issue #683, Epic #682)
|
|
12
|
+
*/
|
|
13
|
+
|
|
14
|
+
/** Output modalities a model can produce. */
|
|
15
|
+
declare const OUTPUT_MODALITIES: readonly ["text", "image_png", "image_jpeg", "audio_pcm", "audio_wav", "audio_mp3", "video_mp4", "svg", "structured_json", "code"];
|
|
16
|
+
type OutputModality = (typeof OUTPUT_MODALITIES)[number];
|
|
17
|
+
/** Input modalities a model can accept. */
|
|
18
|
+
declare const INPUT_MODALITIES: readonly ["text", "image", "audio", "video", "pdf", "code"];
|
|
19
|
+
type InputModality = (typeof INPUT_MODALITIES)[number];
|
|
20
|
+
/** Tool capabilities a model supports. */
|
|
21
|
+
declare const TOOL_CAPABILITIES: readonly ["mcp", "function_calling", "computer_use", "code_execution_sandbox", "web_search", "file_operations", "structured_output", "apply_patch"];
|
|
22
|
+
type ToolCapability = (typeof TOOL_CAPABILITIES)[number];
|
|
23
|
+
/** Special features beyond standard text generation. */
|
|
24
|
+
declare const SPECIAL_FEATURES: readonly ["extended_thinking", "deep_research", "streaming", "grounding", "citations", "image_editing", "voice_cloning", "live_api", "context_caching"];
|
|
25
|
+
type SpecialFeature = (typeof SPECIAL_FEATURES)[number];
|
|
26
|
+
/** CLI tool names supported by the routing system. */
|
|
27
|
+
declare const CLI_NAMES: readonly ["claude", "gemini", "codex", "opencode"];
|
|
28
|
+
type CliNameLiteral = (typeof CLI_NAMES)[number];
|
|
29
|
+
/**
|
|
30
|
+
* Canonical model id enum used for narrow `ModelId` typing and as the
|
|
31
|
+
* argument to `z.enum(MODEL_IDS)` in `ModelCapabilitySchema`.
|
|
32
|
+
*
|
|
33
|
+
* This is a hand-maintained narrow tuple rather than a derived view
|
|
34
|
+
* from `ModelRegistry` because the literal-union type is load-bearing:
|
|
35
|
+
* — Zod schemas (`ModelCapabilitySchema.id`, `replacedBy`) need a
|
|
36
|
+
* closed enum at compile time.
|
|
37
|
+
* — Many function signatures across `src/` accept `ModelId` and rely
|
|
38
|
+
* on the narrowed type for exhaustiveness.
|
|
39
|
+
*
|
|
40
|
+
* The runtime invariant — `MODEL_IDS` matches the in-tree registry
|
|
41
|
+
* entries — is asserted by `model-ids-invariant.test.ts`. If you add
|
|
42
|
+
* or remove a model in `DEFAULT_MODEL_CAPABILITIES.models`, you must
|
|
43
|
+
* also update this list (and the test will tell you when they drift).
|
|
44
|
+
*
|
|
45
|
+
* Slice E of #2546 will collapse `model-capabilities.ts` itself; at
|
|
46
|
+
* that point `MODEL_IDS` either moves to `model-config-helpers.ts` or
|
|
47
|
+
* its consumers are loosened to `string`. This narrow type stays
|
|
48
|
+
* until then.
|
|
49
|
+
*/
|
|
50
|
+
declare const MODEL_IDS: readonly ["claude-opus", "claude-sonnet", "claude-haiku", "gemini-3-pro", "gemini-pro", "gemini-3-flash", "gemini-flash", "codex-5.3", "codex-5.2", "codex-5.1-mini", "opencode-default", "opencode-custom-opus", "opencode-custom-sonnet", "openrouter-nemotron-super", "openrouter-qwen-coder"];
|
|
51
|
+
type ModelId = (typeof MODEL_IDS)[number];
|
|
52
|
+
/** Quality scores for model capability routing (0-10 scale). */
|
|
53
|
+
declare const QualityScoresSchema: z.ZodObject<{
|
|
54
|
+
reasoning: z.ZodNumber;
|
|
55
|
+
codeGeneration: z.ZodNumber;
|
|
56
|
+
speed: z.ZodNumber;
|
|
57
|
+
cost: z.ZodNumber;
|
|
58
|
+
}, z.core.$strip>;
|
|
59
|
+
type QualityScores = z.infer<typeof QualityScoresSchema>;
|
|
60
|
+
/** Pricing information (USD per 1M tokens). */
|
|
61
|
+
declare const PricingSchema: z.ZodObject<{
|
|
62
|
+
inputPer1M: z.ZodNumber;
|
|
63
|
+
outputPer1M: z.ZodNumber;
|
|
64
|
+
}, z.core.$strip>;
|
|
65
|
+
type Pricing = z.infer<typeof PricingSchema>;
|
|
66
|
+
|
|
67
|
+
/**
|
|
68
|
+
* Types, schemas, and response helpers for the consensus_vote MCP tool.
|
|
69
|
+
* Extracted from consensus-vote.ts for file size compliance (Issue #708).
|
|
70
|
+
*
|
|
71
|
+
* @module mcp/tools/consensus-vote-types
|
|
72
|
+
*/
|
|
73
|
+
|
|
74
|
+
/**
|
|
75
|
+
* Available consensus voting strategies.
|
|
76
|
+
*
|
|
77
|
+
* - `simple_majority`: Standard majority voting (>50%)
|
|
78
|
+
* - `supermajority`: Requires >=67% approval
|
|
79
|
+
* - `unanimous`: Requires 100% approval
|
|
80
|
+
* - `proof_of_learning`: Weighted by agent performance (Issue #103)
|
|
81
|
+
* - `higher_order`: Bayesian-optimal with correlation awareness (Issue #514)
|
|
82
|
+
* - `opinion_wise`: Alias for higher_order (Issue #333)
|
|
83
|
+
*/
|
|
84
|
+
type VotingStrategy = 'simple_majority' | 'supermajority' | 'unanimous' | 'proof_of_learning' | 'higher_order' | 'opinion_wise';
|
|
85
|
+
/**
|
|
86
|
+
* How error-source votes (timed-out or crashed voters) are counted toward
|
|
87
|
+
* the threshold (#2630).
|
|
88
|
+
*
|
|
89
|
+
* - `reduce_denominator` (default for non-strict strategies): errors are
|
|
90
|
+
* filtered out before the engine sees votes — denominator = non-error
|
|
91
|
+
* votes. Best for operational decisions where you trust the responding
|
|
92
|
+
* voters and infrastructure flake should not block the vote.
|
|
93
|
+
* - `count_as_abstain`: error votes reach the engine as abstain. Behaves
|
|
94
|
+
* conservatively — a timed-out voter effectively withholds approval
|
|
95
|
+
* relative to the threshold. Use when you can't tell what the error
|
|
96
|
+
* voter would have decided and want the math to reflect uncertainty.
|
|
97
|
+
* - `fail_closed` (default for unanimous / higher_order): any error voids
|
|
98
|
+
* the vote. Threshold math is not run. Use for security-critical or
|
|
99
|
+
* breaking-change decisions where every voter must be heard.
|
|
100
|
+
*
|
|
101
|
+
* Regardless of policy, a hard floor applies: when errors exceed 50% of
|
|
102
|
+
* total voters, the vote always fails. Catches "all CLIs are down" — a
|
|
103
|
+
* 2-voter consensus is not a real consensus.
|
|
104
|
+
*/
|
|
105
|
+
declare const ErrorPolicySchema: z.ZodEnum<{
|
|
106
|
+
reduce_denominator: "reduce_denominator";
|
|
107
|
+
count_as_abstain: "count_as_abstain";
|
|
108
|
+
fail_closed: "fail_closed";
|
|
109
|
+
}>;
|
|
110
|
+
type ErrorPolicy = z.infer<typeof ErrorPolicySchema>;
|
|
111
|
+
/**
|
|
112
|
+
* Threshold values accepted by the `--threshold` CLI flag and the
|
|
113
|
+
* \`threshold\` MCP input field (#2638 — single source of truth).
|
|
114
|
+
*
|
|
115
|
+
* Maps to consensus algorithms via:
|
|
116
|
+
* `majority → simple_majority`, `supermajority → supermajority`, `unanimous → unanimous`.
|
|
117
|
+
*
|
|
118
|
+
* Used as the canonical Zod schema for CLI parsing
|
|
119
|
+
* (`cli.ts:parseThreshold`), validation (`cli-commands-validators.ts:isValidThreshold`),
|
|
120
|
+
* and the `ConsensusVoteInputSchema.threshold` field.
|
|
121
|
+
*/
|
|
122
|
+
declare const VoteThresholdSchema: z.ZodEnum<{
|
|
123
|
+
supermajority: "supermajority";
|
|
124
|
+
unanimous: "unanimous";
|
|
125
|
+
majority: "majority";
|
|
126
|
+
}>;
|
|
127
|
+
type VoteThreshold = z.infer<typeof VoteThresholdSchema>;
|
|
128
|
+
declare const ConsensusVoteInputSchema: z.ZodObject<{
|
|
129
|
+
proposal: z.ZodString;
|
|
130
|
+
threshold: z.ZodOptional<z.ZodEnum<{
|
|
131
|
+
supermajority: "supermajority";
|
|
132
|
+
unanimous: "unanimous";
|
|
133
|
+
majority: "majority";
|
|
134
|
+
}>>;
|
|
135
|
+
strategy: z.ZodOptional<z.ZodEnum<{
|
|
136
|
+
simple_majority: "simple_majority";
|
|
137
|
+
supermajority: "supermajority";
|
|
138
|
+
unanimous: "unanimous";
|
|
139
|
+
proof_of_learning: "proof_of_learning";
|
|
140
|
+
opinion_wise: "opinion_wise";
|
|
141
|
+
higher_order: "higher_order";
|
|
142
|
+
}>>;
|
|
143
|
+
errorPolicy: z.ZodOptional<z.ZodEnum<{
|
|
144
|
+
reduce_denominator: "reduce_denominator";
|
|
145
|
+
count_as_abstain: "count_as_abstain";
|
|
146
|
+
fail_closed: "fail_closed";
|
|
147
|
+
}>>;
|
|
148
|
+
quickMode: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
149
|
+
simulateVotes: z.ZodDefault<z.ZodOptional<z.ZodBoolean>>;
|
|
150
|
+
}, z.core.$strip>;
|
|
151
|
+
type ConsensusVoteInput = z.infer<typeof ConsensusVoteInputSchema>;
|
|
152
|
+
interface AgentVoteSummary {
|
|
153
|
+
role: string;
|
|
154
|
+
decision: 'approve' | 'reject' | 'abstain';
|
|
155
|
+
confidence: number;
|
|
156
|
+
reasoning: string;
|
|
157
|
+
simulated: boolean;
|
|
158
|
+
/** True when this vote was generated from an error (Issue #815). */
|
|
159
|
+
error: boolean;
|
|
160
|
+
/** Model used for this agent's vote (Issue #817). */
|
|
161
|
+
modelUsed?: string;
|
|
162
|
+
/** Structured rejection categories for reject→refine→re-vote loops (Issue #1213). */
|
|
163
|
+
rejectionCategories?: readonly string[];
|
|
164
|
+
}
|
|
165
|
+
type VoteDecisionStatus = 'approved' | 'rejected' | 'pending' | 'timeout' | 'no_quorum';
|
|
166
|
+
/** Higher-Order Voting metadata (Issue #514). */
|
|
167
|
+
interface HigherOrderMetadata {
|
|
168
|
+
posteriorApproval: number;
|
|
169
|
+
posteriorRejection: number;
|
|
170
|
+
effectiveVoteCount: number;
|
|
171
|
+
method: 'ow' | 'isp' | 'simple';
|
|
172
|
+
usedCorrelationData: boolean;
|
|
173
|
+
improvementOverBaseline: number;
|
|
174
|
+
downweightedAgents: readonly string[];
|
|
175
|
+
reasoning: string;
|
|
176
|
+
}
|
|
177
|
+
interface ConsensusVoteResponse {
|
|
178
|
+
proposal: string;
|
|
179
|
+
threshold?: VoteThreshold;
|
|
180
|
+
strategy: VotingStrategy;
|
|
181
|
+
decision: VoteDecisionStatus;
|
|
182
|
+
approvalPercentage: number;
|
|
183
|
+
voteCounts: {
|
|
184
|
+
approve: number;
|
|
185
|
+
reject: number;
|
|
186
|
+
abstain: number;
|
|
187
|
+
error: number;
|
|
188
|
+
};
|
|
189
|
+
votes: AgentVoteSummary[];
|
|
190
|
+
durationMs: number;
|
|
191
|
+
simulateVotes: boolean;
|
|
192
|
+
higherOrderMetadata?: HigherOrderMetadata;
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
export { type AgentVoteSummary as A, type CliNameLiteral as C, type ErrorPolicy as E, type InputModality as I, type ModelId as M, type OutputModality as O, type Pricing as P, type QualityScores as Q, type SpecialFeature as S, type ToolCapability as T, type VotingStrategy as V, type ConsensusVoteInput as a, ConsensusVoteInputSchema as b, type ConsensusVoteResponse as c, type VoteDecisionStatus as d, type VoteThreshold as e };
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import {
|
|
2
2
|
formatDeepDiagnostics,
|
|
3
3
|
runDeepDiagnostics
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-G5VE2DZS.js";
|
|
5
|
+
import "./chunk-Q3RFPJYK.js";
|
|
6
6
|
import "./chunk-I7ORMAO7.js";
|
|
7
7
|
import "./chunk-GOT7OAL5.js";
|
|
8
8
|
import "./chunk-UP2VWCW5.js";
|
|
@@ -10,4 +10,4 @@ export {
|
|
|
10
10
|
formatDeepDiagnostics,
|
|
11
11
|
runDeepDiagnostics
|
|
12
12
|
};
|
|
13
|
-
//# sourceMappingURL=doctor-deep-
|
|
13
|
+
//# sourceMappingURL=doctor-deep-ONHJTGR4.js.map
|
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import {
|
|
2
2
|
executeExpert
|
|
3
|
-
} from "./chunk-
|
|
4
|
-
import "./chunk-
|
|
3
|
+
} from "./chunk-UWJKMBPL.js";
|
|
4
|
+
import "./chunk-Q3RFPJYK.js";
|
|
5
5
|
import "./chunk-I7ORMAO7.js";
|
|
6
6
|
import "./chunk-GOT7OAL5.js";
|
|
7
7
|
import "./chunk-UP2VWCW5.js";
|
|
8
8
|
export {
|
|
9
9
|
executeExpert
|
|
10
10
|
};
|
|
11
|
-
//# sourceMappingURL=expert-bridge-
|
|
11
|
+
//# sourceMappingURL=expert-bridge-3AWQHR65.js.map
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import {
|
|
2
2
|
createGitHubProvider,
|
|
3
3
|
createScmProvider
|
|
4
|
-
} from "./chunk-
|
|
5
|
-
import "./chunk-
|
|
6
|
-
import "./chunk-
|
|
7
|
-
import "./chunk-
|
|
4
|
+
} from "./chunk-44MVIL3F.js";
|
|
5
|
+
import "./chunk-2SVS5WRV.js";
|
|
6
|
+
import "./chunk-BK54O5J5.js";
|
|
7
|
+
import "./chunk-Q3RFPJYK.js";
|
|
8
8
|
import "./chunk-I7ORMAO7.js";
|
|
9
9
|
import "./chunk-GOT7OAL5.js";
|
|
10
10
|
import "./chunk-UP2VWCW5.js";
|
|
@@ -12,4 +12,4 @@ export {
|
|
|
12
12
|
createGitHubProvider,
|
|
13
13
|
createScmProvider
|
|
14
14
|
};
|
|
15
|
-
//# sourceMappingURL=factory-
|
|
15
|
+
//# sourceMappingURL=factory-E5NMAMZC.js.map
|
|
@@ -3,9 +3,9 @@ import {
|
|
|
3
3
|
createCliAdapter,
|
|
4
4
|
getAvailableClis,
|
|
5
5
|
isCliAvailable
|
|
6
|
-
} from "./chunk-
|
|
7
|
-
import "./chunk-
|
|
8
|
-
import "./chunk-
|
|
6
|
+
} from "./chunk-NC2LECY6.js";
|
|
7
|
+
import "./chunk-TBRNRW2Q.js";
|
|
8
|
+
import "./chunk-Q3RFPJYK.js";
|
|
9
9
|
import "./chunk-I7ORMAO7.js";
|
|
10
10
|
import "./chunk-GOT7OAL5.js";
|
|
11
11
|
import "./chunk-UP2VWCW5.js";
|
|
@@ -15,4 +15,4 @@ export {
|
|
|
15
15
|
getAvailableClis,
|
|
16
16
|
isCliAvailable
|
|
17
17
|
};
|
|
18
|
-
//# sourceMappingURL=factory-
|
|
18
|
+
//# sourceMappingURL=factory-HWHQ44BB.js.map
|