@cat-factory/contracts 0.194.0 → 0.195.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/agent-presentation.d.ts +40 -0
- package/dist/agent-presentation.d.ts.map +1 -1
- package/dist/agent-presentation.js +44 -0
- package/dist/agent-presentation.js.map +1 -1
- package/dist/consensus.d.ts +149 -0
- package/dist/consensus.d.ts.map +1 -1
- package/dist/consensus.js +94 -1
- package/dist/consensus.js.map +1 -1
- package/dist/entities.d.ts +5 -0
- package/dist/entities.d.ts.map +1 -1
- package/dist/execution.d.ts +10 -0
- package/dist/execution.d.ts.map +1 -1
- package/dist/requests.d.ts +10 -0
- package/dist/requests.d.ts.map +1 -1
- package/dist/routes/agent-runs.d.ts +10 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/bug-hunt.d.ts +10 -0
- package/dist/routes/bug-hunt.d.ts.map +1 -1
- package/dist/routes/consensus.d.ts +252 -0
- package/dist/routes/consensus.d.ts.map +1 -1
- package/dist/routes/consensus.js +35 -7
- package/dist/routes/consensus.js.map +1 -1
- package/dist/routes/execution.d.ts +40 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +5 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +25 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/pipelines.d.ts +40 -0
- package/dist/routes/pipelines.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +15 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +66 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +39 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/snapshot.js +8 -0
- package/dist/snapshot.js.map +1 -1
- package/package.json +1 -1
package/dist/requests.d.ts
CHANGED
|
@@ -2133,6 +2133,11 @@ export declare const createPipelineSchema: v.ObjectSchema<{
|
|
|
2133
2133
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
2134
2134
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
2135
2135
|
}, undefined>, undefined>;
|
|
2136
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2137
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
2138
|
+
readonly id: v.StringSchema<undefined>;
|
|
2139
|
+
readonly name: v.StringSchema<undefined>;
|
|
2140
|
+
}, undefined>, undefined>;
|
|
2136
2141
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
2137
2142
|
/**
|
|
2138
2143
|
* Per-step estimate gating, parallel to {@link agentKinds}: an enabled entry makes the
|
|
@@ -2226,6 +2231,11 @@ export declare const updatePipelineSchema: v.ObjectSchema<{
|
|
|
2226
2231
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
2227
2232
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
2228
2233
|
}, undefined>, undefined>;
|
|
2234
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2235
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
2236
|
+
readonly id: v.StringSchema<undefined>;
|
|
2237
|
+
readonly name: v.StringSchema<undefined>;
|
|
2238
|
+
}, undefined>, undefined>;
|
|
2229
2239
|
}, undefined>, undefined>, undefined>, undefined>;
|
|
2230
2240
|
readonly gating: v.OptionalSchema<v.ArraySchema<v.NullableSchema<v.ObjectSchema<{
|
|
2231
2241
|
readonly enabled: v.BooleanSchema<undefined>;
|
package/dist/requests.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"requests.d.ts","sourceRoot":"","sources":["../src/requests.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA6B5B,eAAO,MAAM,qBAAqB;;IAEhC,oFAAoF;;IAEpF;;;;OAIG;;IAEH;;;;OAIG;;aAEH,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE9E,oDAAoD;AACpD,eAAO,MAAM,qBAAqB;;IAEhC,wEAAwE;;aAExE,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE9E,eAAO,MAAM,cAAc;;;;;;aAGzB,CAAA;AACF,MAAM,MAAM,aAAa,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,cAAc,CAAC,CAAA;AAEhE;;;;;;GAMG;AACH,eAAO,MAAM,wBAAwB;;;;;;IAGnC;;;OAGG;;IAEH;;;;OAIG;;IAEH;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAEpF;;;;;GAKG;AACH,eAAO,MAAM,aAAa;;;;;;;;aAMxB,CAAA;AACF,MAAM,MAAM,YAAY,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,aAAa,CAAC,CAAA;AAE9D,wDAAwD;AACxD,eAAO,MAAM,gBAAgB;;aAE3B,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEpE,eAAO,MAAM,aAAa;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;aAmCxB,CAAA;AACF,MAAM,MAAM,YAA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AAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,wBAAwB,CAAC,CAAA;AAEpF,4EAA4E;AAC5E,eAAO,MAAM,gBAAgB;;aAE3B,CAAA;AACF,MAAM,MAAM,eAAe,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,gBAAgB,CAAC,CAAA;AAEpE;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;aAEhC,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA"}
|
|
@@ -660,6 +660,11 @@ export declare const retryAgentRunContract: {
|
|
|
660
660
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
661
661
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
662
662
|
}, undefined>, undefined>;
|
|
663
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
664
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
665
|
+
readonly id: v.StringSchema<undefined>;
|
|
666
|
+
readonly name: v.StringSchema<undefined>;
|
|
667
|
+
}, undefined>, undefined>;
|
|
663
668
|
}, undefined>, undefined>, undefined>;
|
|
664
669
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
665
670
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -1701,6 +1706,11 @@ export declare const stopAgentRunContract: {
|
|
|
1701
1706
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
1702
1707
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
1703
1708
|
}, undefined>, undefined>;
|
|
1709
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1710
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
1711
|
+
readonly id: v.StringSchema<undefined>;
|
|
1712
|
+
readonly name: v.StringSchema<undefined>;
|
|
1713
|
+
}, undefined>, undefined>;
|
|
1704
1714
|
}, undefined>, undefined>, undefined>;
|
|
1705
1715
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
1706
1716
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"agent-runs.d.ts","sourceRoot":"","sources":["../../src/routes/agent-runs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsB5B,eAAO,MAAM,qBAAqB
|
|
1
|
+
{"version":3,"file":"agent-runs.d.ts","sourceRoot":"","sources":["../../src/routes/agent-runs.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAsB5B,eAAO,MAAM,qBAAqB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAM/B,CAAA"}
|
|
@@ -949,6 +949,11 @@ declare const adoptBugHuntResultSchema: v.ObjectSchema<{
|
|
|
949
949
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
950
950
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
951
951
|
}, undefined>, undefined>;
|
|
952
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
953
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
954
|
+
readonly id: v.StringSchema<undefined>;
|
|
955
|
+
readonly name: v.StringSchema<undefined>;
|
|
956
|
+
}, undefined>, undefined>;
|
|
952
957
|
}, undefined>, undefined>, undefined>;
|
|
953
958
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
954
959
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -2381,6 +2386,11 @@ export declare const adoptBugHuntCandidateContract: {
|
|
|
2381
2386
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
2382
2387
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
2383
2388
|
}, undefined>, undefined>;
|
|
2389
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2390
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
2391
|
+
readonly id: v.StringSchema<undefined>;
|
|
2392
|
+
readonly name: v.StringSchema<undefined>;
|
|
2393
|
+
}, undefined>, undefined>;
|
|
2384
2394
|
}, undefined>, undefined>, undefined>;
|
|
2385
2395
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2386
2396
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"bug-hunt.d.ts","sourceRoot":"","sources":["../../src/routes/bug-hunt.ts"],"names":[],"mappings":"AAUA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAe5B,QAAA,MAAM,wBAAwB
|
|
1
|
+
{"version":3,"file":"bug-hunt.d.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import * as v from 'valibot';
|
|
2
3
|
export declare const getConsensusSessionContract: {
|
|
3
4
|
readonly method: "get";
|
|
@@ -39,6 +40,8 @@ export declare const getConsensusSessionContract: {
|
|
|
39
40
|
readonly agentKind: v.StringSchema<undefined>;
|
|
40
41
|
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
41
42
|
readonly status: v.PicklistSchema<["running", "synthesizing", "done", "failed"], undefined>;
|
|
43
|
+
readonly groupId: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
44
|
+
readonly groupName: v.OptionalSchema<v.NullableSchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
42
45
|
readonly participants: v.ArraySchema<v.ObjectSchema<{
|
|
43
46
|
readonly id: v.StringSchema<undefined>;
|
|
44
47
|
readonly role: v.StringSchema<undefined>;
|
|
@@ -68,4 +71,253 @@ export declare const getConsensusSessionContract: {
|
|
|
68
71
|
}, undefined>;
|
|
69
72
|
};
|
|
70
73
|
};
|
|
74
|
+
export declare const listConsensusGroupsContract: {
|
|
75
|
+
readonly method: "get";
|
|
76
|
+
readonly pathResolver: () => string;
|
|
77
|
+
readonly responsesByStatusCode: {
|
|
78
|
+
readonly '4xx': v.ObjectSchema<{
|
|
79
|
+
readonly error: v.ObjectSchema<{
|
|
80
|
+
readonly code: v.StringSchema<undefined>;
|
|
81
|
+
readonly message: v.StringSchema<undefined>;
|
|
82
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
83
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
84
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
85
|
+
readonly message: v.StringSchema<undefined>;
|
|
86
|
+
}, undefined>, undefined>, undefined>;
|
|
87
|
+
}, undefined>;
|
|
88
|
+
}, undefined>;
|
|
89
|
+
readonly '5xx': v.ObjectSchema<{
|
|
90
|
+
readonly error: v.ObjectSchema<{
|
|
91
|
+
readonly code: v.StringSchema<undefined>;
|
|
92
|
+
readonly message: v.StringSchema<undefined>;
|
|
93
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
94
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
95
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
96
|
+
readonly message: v.StringSchema<undefined>;
|
|
97
|
+
}, undefined>, undefined>, undefined>;
|
|
98
|
+
}, undefined>;
|
|
99
|
+
}, undefined>;
|
|
100
|
+
readonly 200: v.ArraySchema<v.ObjectSchema<{
|
|
101
|
+
readonly id: v.StringSchema<undefined>;
|
|
102
|
+
readonly name: v.StringSchema<undefined>;
|
|
103
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
104
|
+
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
105
|
+
readonly participants: v.ArraySchema<v.ObjectSchema<{
|
|
106
|
+
readonly id: v.StringSchema<undefined>;
|
|
107
|
+
readonly role: v.StringSchema<undefined>;
|
|
108
|
+
readonly systemFraming: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
109
|
+
readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
110
|
+
}, undefined>, undefined>;
|
|
111
|
+
readonly synthesizerModelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
112
|
+
readonly rounds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 5, undefined>]>, undefined>;
|
|
113
|
+
readonly gating: v.ObjectSchema<{
|
|
114
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
115
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
116
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
117
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
118
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
119
|
+
}, undefined>;
|
|
120
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
121
|
+
}, undefined>, undefined>;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export declare const createConsensusGroupContract: {
|
|
125
|
+
readonly method: "post";
|
|
126
|
+
readonly pathResolver: () => string;
|
|
127
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
128
|
+
readonly name: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 60, undefined>]>;
|
|
129
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
130
|
+
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
131
|
+
readonly participants: v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
132
|
+
readonly id: v.StringSchema<undefined>;
|
|
133
|
+
readonly role: v.StringSchema<undefined>;
|
|
134
|
+
readonly systemFraming: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
135
|
+
readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
136
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
137
|
+
id: string;
|
|
138
|
+
role: string;
|
|
139
|
+
systemFraming?: string | undefined;
|
|
140
|
+
modelId?: string | undefined;
|
|
141
|
+
}[], 2, undefined>, v.MaxLengthAction<{
|
|
142
|
+
id: string;
|
|
143
|
+
role: string;
|
|
144
|
+
systemFraming?: string | undefined;
|
|
145
|
+
modelId?: string | undefined;
|
|
146
|
+
}[], 8, undefined>]>;
|
|
147
|
+
readonly synthesizerModelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
148
|
+
readonly rounds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 5, undefined>]>, undefined>;
|
|
149
|
+
readonly gating: v.OptionalSchema<v.ObjectSchema<{
|
|
150
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
151
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
152
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
153
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
154
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
155
|
+
}, undefined>, undefined>;
|
|
156
|
+
}, undefined>;
|
|
157
|
+
readonly responsesByStatusCode: {
|
|
158
|
+
readonly '4xx': v.ObjectSchema<{
|
|
159
|
+
readonly error: v.ObjectSchema<{
|
|
160
|
+
readonly code: v.StringSchema<undefined>;
|
|
161
|
+
readonly message: v.StringSchema<undefined>;
|
|
162
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
163
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
164
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
165
|
+
readonly message: v.StringSchema<undefined>;
|
|
166
|
+
}, undefined>, undefined>, undefined>;
|
|
167
|
+
}, undefined>;
|
|
168
|
+
}, undefined>;
|
|
169
|
+
readonly '5xx': v.ObjectSchema<{
|
|
170
|
+
readonly error: v.ObjectSchema<{
|
|
171
|
+
readonly code: v.StringSchema<undefined>;
|
|
172
|
+
readonly message: v.StringSchema<undefined>;
|
|
173
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
174
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
175
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
176
|
+
readonly message: v.StringSchema<undefined>;
|
|
177
|
+
}, undefined>, undefined>, undefined>;
|
|
178
|
+
}, undefined>;
|
|
179
|
+
}, undefined>;
|
|
180
|
+
readonly 201: v.ObjectSchema<{
|
|
181
|
+
readonly id: v.StringSchema<undefined>;
|
|
182
|
+
readonly name: v.StringSchema<undefined>;
|
|
183
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
184
|
+
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
185
|
+
readonly participants: v.ArraySchema<v.ObjectSchema<{
|
|
186
|
+
readonly id: v.StringSchema<undefined>;
|
|
187
|
+
readonly role: v.StringSchema<undefined>;
|
|
188
|
+
readonly systemFraming: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
189
|
+
readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
190
|
+
}, undefined>, undefined>;
|
|
191
|
+
readonly synthesizerModelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
192
|
+
readonly rounds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 5, undefined>]>, undefined>;
|
|
193
|
+
readonly gating: v.ObjectSchema<{
|
|
194
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
195
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
196
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
197
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
198
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
199
|
+
}, undefined>;
|
|
200
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
201
|
+
}, undefined>;
|
|
202
|
+
};
|
|
203
|
+
};
|
|
204
|
+
export declare const updateConsensusGroupContract: {
|
|
205
|
+
readonly method: "patch";
|
|
206
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
207
|
+
groupId: v.StringSchema<undefined>;
|
|
208
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
209
|
+
readonly pathResolver: ({ groupId }: {
|
|
210
|
+
groupId: string;
|
|
211
|
+
}) => string;
|
|
212
|
+
readonly requestBodySchema: v.ObjectSchema<{
|
|
213
|
+
readonly name: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 60, undefined>]>, undefined>;
|
|
214
|
+
readonly description: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 400, undefined>]>, undefined>;
|
|
215
|
+
readonly strategy: v.OptionalSchema<v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>, undefined>;
|
|
216
|
+
readonly participants: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.ObjectSchema<{
|
|
217
|
+
readonly id: v.StringSchema<undefined>;
|
|
218
|
+
readonly role: v.StringSchema<undefined>;
|
|
219
|
+
readonly systemFraming: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
220
|
+
readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
221
|
+
}, undefined>, undefined>, v.MinLengthAction<{
|
|
222
|
+
id: string;
|
|
223
|
+
role: string;
|
|
224
|
+
systemFraming?: string | undefined;
|
|
225
|
+
modelId?: string | undefined;
|
|
226
|
+
}[], 2, undefined>, v.MaxLengthAction<{
|
|
227
|
+
id: string;
|
|
228
|
+
role: string;
|
|
229
|
+
systemFraming?: string | undefined;
|
|
230
|
+
modelId?: string | undefined;
|
|
231
|
+
}[], 8, undefined>]>, undefined>;
|
|
232
|
+
readonly synthesizerModelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
233
|
+
readonly rounds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 5, undefined>]>, undefined>;
|
|
234
|
+
readonly gating: v.OptionalSchema<v.ObjectSchema<{
|
|
235
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
236
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
237
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
238
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
239
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
240
|
+
}, undefined>, undefined>;
|
|
241
|
+
}, undefined>;
|
|
242
|
+
readonly responsesByStatusCode: {
|
|
243
|
+
readonly '4xx': v.ObjectSchema<{
|
|
244
|
+
readonly error: v.ObjectSchema<{
|
|
245
|
+
readonly code: v.StringSchema<undefined>;
|
|
246
|
+
readonly message: v.StringSchema<undefined>;
|
|
247
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
248
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
249
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
250
|
+
readonly message: v.StringSchema<undefined>;
|
|
251
|
+
}, undefined>, undefined>, undefined>;
|
|
252
|
+
}, undefined>;
|
|
253
|
+
}, undefined>;
|
|
254
|
+
readonly '5xx': v.ObjectSchema<{
|
|
255
|
+
readonly error: v.ObjectSchema<{
|
|
256
|
+
readonly code: v.StringSchema<undefined>;
|
|
257
|
+
readonly message: v.StringSchema<undefined>;
|
|
258
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
259
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
260
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
261
|
+
readonly message: v.StringSchema<undefined>;
|
|
262
|
+
}, undefined>, undefined>, undefined>;
|
|
263
|
+
}, undefined>;
|
|
264
|
+
}, undefined>;
|
|
265
|
+
readonly 200: v.ObjectSchema<{
|
|
266
|
+
readonly id: v.StringSchema<undefined>;
|
|
267
|
+
readonly name: v.StringSchema<undefined>;
|
|
268
|
+
readonly description: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
269
|
+
readonly strategy: v.PicklistSchema<["specialist-panel", "debate", "ranked-voting"], undefined>;
|
|
270
|
+
readonly participants: v.ArraySchema<v.ObjectSchema<{
|
|
271
|
+
readonly id: v.StringSchema<undefined>;
|
|
272
|
+
readonly role: v.StringSchema<undefined>;
|
|
273
|
+
readonly systemFraming: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
274
|
+
readonly modelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
275
|
+
}, undefined>, undefined>;
|
|
276
|
+
readonly synthesizerModelId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
277
|
+
readonly rounds: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 5, undefined>]>, undefined>;
|
|
278
|
+
readonly gating: v.ObjectSchema<{
|
|
279
|
+
readonly enabled: v.BooleanSchema<undefined>;
|
|
280
|
+
readonly minComplexity: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
281
|
+
readonly minRisk: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
282
|
+
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
283
|
+
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
284
|
+
}, undefined>;
|
|
285
|
+
readonly createdAt: v.NumberSchema<undefined>;
|
|
286
|
+
}, undefined>;
|
|
287
|
+
};
|
|
288
|
+
};
|
|
289
|
+
export declare const deleteConsensusGroupContract: {
|
|
290
|
+
readonly method: "delete";
|
|
291
|
+
readonly requestPathParamsSchema: v.ObjectSchema<{
|
|
292
|
+
groupId: v.StringSchema<undefined>;
|
|
293
|
+
}, undefined> & import("@toad-contracts/core").StandardObjectKeysV1<unknown, unknown>;
|
|
294
|
+
readonly pathResolver: ({ groupId }: {
|
|
295
|
+
groupId: string;
|
|
296
|
+
}) => string;
|
|
297
|
+
readonly responsesByStatusCode: {
|
|
298
|
+
readonly '4xx': v.ObjectSchema<{
|
|
299
|
+
readonly error: v.ObjectSchema<{
|
|
300
|
+
readonly code: v.StringSchema<undefined>;
|
|
301
|
+
readonly message: v.StringSchema<undefined>;
|
|
302
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
303
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
304
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
305
|
+
readonly message: v.StringSchema<undefined>;
|
|
306
|
+
}, undefined>, undefined>, undefined>;
|
|
307
|
+
}, undefined>;
|
|
308
|
+
}, undefined>;
|
|
309
|
+
readonly '5xx': v.ObjectSchema<{
|
|
310
|
+
readonly error: v.ObjectSchema<{
|
|
311
|
+
readonly code: v.StringSchema<undefined>;
|
|
312
|
+
readonly message: v.StringSchema<undefined>;
|
|
313
|
+
readonly details: v.OptionalSchema<v.UnknownSchema, undefined>;
|
|
314
|
+
readonly issues: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
315
|
+
readonly path: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
316
|
+
readonly message: v.StringSchema<undefined>;
|
|
317
|
+
}, undefined>, undefined>, undefined>;
|
|
318
|
+
}, undefined>;
|
|
319
|
+
}, undefined>;
|
|
320
|
+
readonly 204: typeof ContractNoBody;
|
|
321
|
+
};
|
|
322
|
+
};
|
|
71
323
|
//# sourceMappingURL=consensus.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consensus.d.ts","sourceRoot":"","sources":["../../src/routes/consensus.ts"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"consensus.d.ts","sourceRoot":"","sources":["../../src/routes/consensus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA0B5B,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKtC,CAAA;AAMF,eAAO,MAAM,2BAA2B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAItC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMvC,CAAA;AAEF,eAAO,MAAM,4BAA4B;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKvC,CAAA"}
|
package/dist/routes/consensus.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
|
-
import { defineApiContract } from '@toad-contracts/valibot';
|
|
1
|
+
import { ContractNoBody, defineApiContract } from '@toad-contracts/valibot';
|
|
2
2
|
import * as v from 'valibot';
|
|
3
|
-
import { consensusSessionSchema } from '../consensus.js';
|
|
3
|
+
import { consensusGroupSchema, consensusSessionSchema, createConsensusGroupSchema, updateConsensusGroupSchema, } from '../consensus.js';
|
|
4
4
|
import { errorResponses, singleStringParam } from './_shared.js';
|
|
5
5
|
// ---------------------------------------------------------------------------
|
|
6
|
-
//
|
|
7
|
-
//
|
|
8
|
-
//
|
|
9
|
-
//
|
|
10
|
-
//
|
|
6
|
+
// Consensus route contracts. Mounted under `/workspaces/:workspaceId`, so the
|
|
7
|
+
// paths here are relative to that prefix. Two surfaces: the read-only session
|
|
8
|
+
// transcript (always 200s with `{ session: null }` when consensus is off or no
|
|
9
|
+
// session has run), and CRUD over the workspace's consensus-GROUP library — the
|
|
10
|
+
// reusable, estimate-gated panels a pipeline step escalates to. See
|
|
11
|
+
// ConsensusController / ConsensusGroupController in @cat-factory/server.
|
|
11
12
|
// ---------------------------------------------------------------------------
|
|
12
13
|
const blockIdParams = singleStringParam('blockId');
|
|
14
|
+
const groupIdParams = singleStringParam('groupId');
|
|
13
15
|
/** The `{ session }` envelope the read route returns (session null when none). */
|
|
14
16
|
const consensusSessionResponseSchema = v.object({
|
|
15
17
|
session: v.nullable(consensusSessionSchema),
|
|
@@ -20,4 +22,30 @@ export const getConsensusSessionContract = defineApiContract({
|
|
|
20
22
|
pathResolver: ({ blockId }) => `/blocks/${blockId}/consensus-session`,
|
|
21
23
|
responsesByStatusCode: { 200: consensusSessionResponseSchema, ...errorResponses },
|
|
22
24
|
});
|
|
25
|
+
// ---- The consensus-group library ------------------------------------------
|
|
26
|
+
const consensusGroupListSchema = v.array(consensusGroupSchema);
|
|
27
|
+
export const listConsensusGroupsContract = defineApiContract({
|
|
28
|
+
method: 'get',
|
|
29
|
+
pathResolver: () => '/consensus-groups',
|
|
30
|
+
responsesByStatusCode: { 200: consensusGroupListSchema, ...errorResponses },
|
|
31
|
+
});
|
|
32
|
+
export const createConsensusGroupContract = defineApiContract({
|
|
33
|
+
method: 'post',
|
|
34
|
+
pathResolver: () => '/consensus-groups',
|
|
35
|
+
requestBodySchema: createConsensusGroupSchema,
|
|
36
|
+
responsesByStatusCode: { 201: consensusGroupSchema, ...errorResponses },
|
|
37
|
+
});
|
|
38
|
+
export const updateConsensusGroupContract = defineApiContract({
|
|
39
|
+
method: 'patch',
|
|
40
|
+
requestPathParamsSchema: groupIdParams,
|
|
41
|
+
pathResolver: ({ groupId }) => `/consensus-groups/${groupId}`,
|
|
42
|
+
requestBodySchema: updateConsensusGroupSchema,
|
|
43
|
+
responsesByStatusCode: { 200: consensusGroupSchema, ...errorResponses },
|
|
44
|
+
});
|
|
45
|
+
export const deleteConsensusGroupContract = defineApiContract({
|
|
46
|
+
method: 'delete',
|
|
47
|
+
requestPathParamsSchema: groupIdParams,
|
|
48
|
+
pathResolver: ({ groupId }) => `/consensus-groups/${groupId}`,
|
|
49
|
+
responsesByStatusCode: { 204: ContractNoBody, ...errorResponses },
|
|
50
|
+
});
|
|
23
51
|
//# sourceMappingURL=consensus.js.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"consensus.js","sourceRoot":"","sources":["../../src/routes/consensus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;
|
|
1
|
+
{"version":3,"file":"consensus.js","sourceRoot":"","sources":["../../src/routes/consensus.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EACL,oBAAoB,EACpB,sBAAsB,EACtB,0BAA0B,EAC1B,0BAA0B,GAC3B,MAAM,iBAAiB,CAAA;AACxB,OAAO,EAAE,cAAc,EAAE,iBAAiB,EAAE,MAAM,cAAc,CAAA;AAEhE,8EAA8E;AAC9E,8EAA8E;AAC9E,8EAA8E;AAC9E,+EAA+E;AAC/E,gFAAgF;AAChF,oEAAoE;AACpE,yEAAyE;AACzE,8EAA8E;AAE9E,MAAM,aAAa,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAA;AAClD,MAAM,aAAa,GAAG,iBAAiB,CAAC,SAAS,CAAC,CAAA;AAElD,kFAAkF;AAClF,MAAM,8BAA8B,GAAG,CAAC,CAAC,MAAM,CAAC;IAC9C,OAAO,EAAE,CAAC,CAAC,QAAQ,CAAC,sBAAsB,CAAC;CAC5C,CAAC,CAAA;AAEF,MAAM,CAAC,MAAM,2BA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EAAE,EAAE,EAAE,CAAC,qBAAqB,OAAO,EAAE;IAC7D,qBAAqB,EAAE,EAAE,GAAG,EAAE,cAAc,EAAE,GAAG,cAAc,EAAE;CAClE,CAAC,CAAA"}
|
|
@@ -619,6 +619,11 @@ export declare const startExecutionContract: {
|
|
|
619
619
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
620
620
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
621
621
|
}, undefined>, undefined>;
|
|
622
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
623
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
624
|
+
readonly id: v.StringSchema<undefined>;
|
|
625
|
+
readonly name: v.StringSchema<undefined>;
|
|
626
|
+
}, undefined>, undefined>;
|
|
622
627
|
}, undefined>, undefined>, undefined>;
|
|
623
628
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
624
629
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -2362,6 +2367,11 @@ export declare const resumeSpendContract: {
|
|
|
2362
2367
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
2363
2368
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
2364
2369
|
}, undefined>, undefined>;
|
|
2370
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
2371
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
2372
|
+
readonly id: v.StringSchema<undefined>;
|
|
2373
|
+
readonly name: v.StringSchema<undefined>;
|
|
2374
|
+
}, undefined>, undefined>;
|
|
2365
2375
|
}, undefined>, undefined>, undefined>;
|
|
2366
2376
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
2367
2377
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -3638,6 +3648,11 @@ export declare const resolveDecisionContract: {
|
|
|
3638
3648
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
3639
3649
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
3640
3650
|
}, undefined>, undefined>;
|
|
3651
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3652
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
3653
|
+
readonly id: v.StringSchema<undefined>;
|
|
3654
|
+
readonly name: v.StringSchema<undefined>;
|
|
3655
|
+
}, undefined>, undefined>;
|
|
3641
3656
|
}, undefined>, undefined>, undefined>;
|
|
3642
3657
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
3643
3658
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -4596,6 +4611,11 @@ export declare const approveStepContract: {
|
|
|
4596
4611
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
4597
4612
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
4598
4613
|
}, undefined>, undefined>;
|
|
4614
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4615
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
4616
|
+
readonly id: v.StringSchema<undefined>;
|
|
4617
|
+
readonly name: v.StringSchema<undefined>;
|
|
4618
|
+
}, undefined>, undefined>;
|
|
4599
4619
|
}, undefined>, undefined>, undefined>;
|
|
4600
4620
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
4601
4621
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -5568,6 +5588,11 @@ export declare const requestStepChangesContract: {
|
|
|
5568
5588
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
5569
5589
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
5570
5590
|
}, undefined>, undefined>;
|
|
5591
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
5592
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
5593
|
+
readonly id: v.StringSchema<undefined>;
|
|
5594
|
+
readonly name: v.StringSchema<undefined>;
|
|
5595
|
+
}, undefined>, undefined>;
|
|
5571
5596
|
}, undefined>, undefined>, undefined>;
|
|
5572
5597
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
5573
5598
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -6526,6 +6551,11 @@ export declare const resolveStepExceededContract: {
|
|
|
6526
6551
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
6527
6552
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
6528
6553
|
}, undefined>, undefined>;
|
|
6554
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6555
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
6556
|
+
readonly id: v.StringSchema<undefined>;
|
|
6557
|
+
readonly name: v.StringSchema<undefined>;
|
|
6558
|
+
}, undefined>, undefined>;
|
|
6529
6559
|
}, undefined>, undefined>, undefined>;
|
|
6530
6560
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
6531
6561
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -7482,6 +7512,11 @@ export declare const restartExecutionContract: {
|
|
|
7482
7512
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
7483
7513
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
7484
7514
|
}, undefined>, undefined>;
|
|
7515
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
7516
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
7517
|
+
readonly id: v.StringSchema<undefined>;
|
|
7518
|
+
readonly name: v.StringSchema<undefined>;
|
|
7519
|
+
}, undefined>, undefined>;
|
|
7485
7520
|
}, undefined>, undefined>, undefined>;
|
|
7486
7521
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
7487
7522
|
readonly enabled: v.BooleanSchema<undefined>;
|
|
@@ -8440,6 +8475,11 @@ export declare const rejectStepContract: {
|
|
|
8440
8475
|
readonly minImpact: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.MinValueAction<number, 0, undefined>, v.MaxValueAction<number, 1, undefined>]>, undefined>;
|
|
8441
8476
|
readonly onMissingEstimate: v.OptionalSchema<v.PicklistSchema<["consensus", "standard"], undefined>, "consensus">;
|
|
8442
8477
|
}, undefined>, undefined>;
|
|
8478
|
+
readonly groupIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
8479
|
+
readonly selectedGroup: v.OptionalSchema<v.ObjectSchema<{
|
|
8480
|
+
readonly id: v.StringSchema<undefined>;
|
|
8481
|
+
readonly name: v.StringSchema<undefined>;
|
|
8482
|
+
}, undefined>, undefined>;
|
|
8443
8483
|
}, undefined>, undefined>, undefined>;
|
|
8444
8484
|
readonly gating: v.OptionalSchema<v.NullableSchema<v.ObjectSchema<{
|
|
8445
8485
|
readonly enabled: v.BooleanSchema<undefined>;
|