@cat-factory/contracts 0.229.0 → 0.230.1
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/entities.d.ts +1 -1
- package/dist/errors.js +1 -1
- package/dist/errors.js.map +1 -1
- package/dist/execution.d.ts +2 -2
- package/dist/execution.js +2 -2
- package/dist/form-fields.d.ts +203 -0
- package/dist/form-fields.d.ts.map +1 -0
- package/dist/form-fields.js +315 -0
- package/dist/form-fields.js.map +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/index.js.map +1 -1
- package/dist/initiative-preset.d.ts +34 -93
- package/dist/initiative-preset.d.ts.map +1 -1
- package/dist/initiative-preset.js +30 -182
- package/dist/initiative-preset.js.map +1 -1
- package/dist/initiative.d.ts +14 -9
- package/dist/initiative.d.ts.map +1 -1
- package/dist/initiative.js +15 -15
- package/dist/initiative.js.map +1 -1
- package/dist/input-gate.js +1 -1
- package/dist/input-gate.js.map +1 -1
- package/dist/merge.d.ts +2 -2
- package/dist/merge.js +2 -2
- package/dist/primitives.d.ts +10 -5
- package/dist/primitives.d.ts.map +1 -1
- package/dist/primitives.js +11 -5
- package/dist/primitives.js.map +1 -1
- package/dist/public-decisions.d.ts +2 -2
- package/dist/public-decisions.js +3 -3
- package/dist/public-decisions.js.map +1 -1
- package/dist/requests.d.ts +1 -1
- package/dist/routes/board.d.ts +14 -14
- package/dist/routes/bug-hunt.d.ts +2 -2
- package/dist/routes/execution.d.ts +2 -2
- package/dist/routes/initiative.d.ts +17 -17
- package/dist/routes/input-gate.js +2 -2
- package/dist/routes/input-gate.js.map +1 -1
- package/dist/routes/public-decisions.d.ts +1 -1
- package/dist/routes/public-decisions.js +2 -2
- package/dist/routes/public-decisions.js.map +1 -1
- package/dist/routes/tasks.d.ts +3 -3
- package/dist/routes/workspaces.d.ts +42 -26
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +21 -13
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/task-types.d.ts +42 -28
- package/dist/task-types.d.ts.map +1 -1
- package/dist/task-types.js +30 -25
- package/dist/task-types.js.map +1 -1
- package/dist/workspace-settings.d.ts +1 -1
- package/dist/workspace-settings.js +1 -1
- package/package.json +1 -1
|
@@ -150,7 +150,7 @@ export declare const createWorkspaceContract: {
|
|
|
150
150
|
readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
151
151
|
readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
152
152
|
readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
153
|
-
readonly custom: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
153
|
+
readonly custom: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
154
154
|
}, undefined>, undefined>, undefined>;
|
|
155
155
|
readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
156
156
|
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -2624,7 +2624,7 @@ export declare const createWorkspaceContract: {
|
|
|
2624
2624
|
readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
2625
2625
|
readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
2626
2626
|
readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
2627
|
-
readonly custom: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
2627
|
+
readonly custom: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
2628
2628
|
}, undefined>, undefined>, undefined>;
|
|
2629
2629
|
readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
2630
2630
|
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -2994,15 +2994,22 @@ export declare const createWorkspaceContract: {
|
|
|
2994
2994
|
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
2995
2995
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
2996
2996
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
2997
|
-
readonly type: v.PicklistSchema<["text", "textarea", "number", "select"], undefined>;
|
|
2998
2997
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
2999
2998
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
2999
|
+
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
3000
3000
|
readonly options: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3001
3001
|
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3002
3002
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3003
3003
|
}, undefined>, undefined>, undefined>;
|
|
3004
|
-
readonly
|
|
3005
|
-
readonly
|
|
3004
|
+
readonly default: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
3005
|
+
readonly defaultValues: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, undefined>;
|
|
3006
|
+
readonly showWhen: v.OptionalSchema<v.ObjectSchema<{
|
|
3007
|
+
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
3008
|
+
readonly equals: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
3009
|
+
readonly includes: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3010
|
+
}, undefined>, undefined>;
|
|
3011
|
+
readonly maxLength: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 2000, undefined>]>, undefined>;
|
|
3012
|
+
readonly type: v.OptionalSchema<v.PicklistSchema<["text", "textarea", "number", "select", "checkbox", "checkbox-group", "path"], undefined>, undefined>;
|
|
3006
3013
|
}, undefined>, undefined>, undefined>;
|
|
3007
3014
|
readonly defaultPipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3008
3015
|
readonly defaultFragmentIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
@@ -3109,7 +3116,7 @@ export declare const createWorkspaceContract: {
|
|
|
3109
3116
|
readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
3110
3117
|
readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
3111
3118
|
readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
3112
|
-
readonly custom: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
3119
|
+
readonly custom: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
3113
3120
|
}, undefined>, undefined>;
|
|
3114
3121
|
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3115
3122
|
readonly agentConfig: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>, undefined>;
|
|
@@ -3172,21 +3179,22 @@ export declare const createWorkspaceContract: {
|
|
|
3172
3179
|
readonly fields: v.ArraySchema<v.ObjectSchema<{
|
|
3173
3180
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
3174
3181
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3175
|
-
readonly help: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3176
|
-
readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3182
|
+
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
3183
|
+
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
3177
3184
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
3178
|
-
readonly type: v.OptionalSchema<v.PicklistSchema<["text", "password", "select", "number", "checkbox", "textarea", "checkbox-group", "path"], undefined>, undefined>;
|
|
3179
3185
|
readonly options: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3180
|
-
readonly value: v.StringSchema<undefined>;
|
|
3181
|
-
readonly label: v.StringSchema<undefined>;
|
|
3186
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3187
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3182
3188
|
}, undefined>, undefined>, undefined>;
|
|
3183
|
-
readonly default: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3184
|
-
readonly defaultValues: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3189
|
+
readonly default: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
3190
|
+
readonly defaultValues: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, undefined>;
|
|
3185
3191
|
readonly showWhen: v.OptionalSchema<v.ObjectSchema<{
|
|
3186
3192
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
3187
3193
|
readonly equals: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
3188
3194
|
readonly includes: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3189
3195
|
}, undefined>, undefined>;
|
|
3196
|
+
readonly maxLength: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 2000, undefined>]>, undefined>;
|
|
3197
|
+
readonly type: v.OptionalSchema<v.PicklistSchema<["text", "password", "select", "number", "checkbox", "textarea", "checkbox-group", "path"], undefined>, undefined>;
|
|
3190
3198
|
}, undefined>, undefined>;
|
|
3191
3199
|
readonly planningPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
3192
3200
|
readonly interview: v.PicklistSchema<["full", "skip"], undefined>;
|
|
@@ -3409,7 +3417,7 @@ export declare const getWorkspaceContract: {
|
|
|
3409
3417
|
readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
3410
3418
|
readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
3411
3419
|
readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
3412
|
-
readonly custom: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
3420
|
+
readonly custom: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
3413
3421
|
}, undefined>, undefined>, undefined>;
|
|
3414
3422
|
readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
3415
3423
|
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -5883,7 +5891,7 @@ export declare const getWorkspaceContract: {
|
|
|
5883
5891
|
readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
5884
5892
|
readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
5885
5893
|
readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
5886
|
-
readonly custom: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
5894
|
+
readonly custom: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
5887
5895
|
}, undefined>, undefined>, undefined>;
|
|
5888
5896
|
readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
5889
5897
|
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -6253,15 +6261,22 @@ export declare const getWorkspaceContract: {
|
|
|
6253
6261
|
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
6254
6262
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
6255
6263
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
6256
|
-
readonly type: v.PicklistSchema<["text", "textarea", "number", "select"], undefined>;
|
|
6257
6264
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
6258
6265
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
6266
|
+
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
6259
6267
|
readonly options: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
6260
6268
|
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
6261
6269
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
6262
6270
|
}, undefined>, undefined>, undefined>;
|
|
6263
|
-
readonly
|
|
6264
|
-
readonly
|
|
6271
|
+
readonly default: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
6272
|
+
readonly defaultValues: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, undefined>;
|
|
6273
|
+
readonly showWhen: v.OptionalSchema<v.ObjectSchema<{
|
|
6274
|
+
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
6275
|
+
readonly equals: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
6276
|
+
readonly includes: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6277
|
+
}, undefined>, undefined>;
|
|
6278
|
+
readonly maxLength: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 2000, undefined>]>, undefined>;
|
|
6279
|
+
readonly type: v.OptionalSchema<v.PicklistSchema<["text", "textarea", "number", "select", "checkbox", "checkbox-group", "path"], undefined>, undefined>;
|
|
6265
6280
|
}, undefined>, undefined>, undefined>;
|
|
6266
6281
|
readonly defaultPipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6267
6282
|
readonly defaultFragmentIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
@@ -6368,7 +6383,7 @@ export declare const getWorkspaceContract: {
|
|
|
6368
6383
|
readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
6369
6384
|
readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
6370
6385
|
readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
6371
|
-
readonly custom: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
6386
|
+
readonly custom: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
6372
6387
|
}, undefined>, undefined>;
|
|
6373
6388
|
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6374
6389
|
readonly agentConfig: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>, undefined>;
|
|
@@ -6431,21 +6446,22 @@ export declare const getWorkspaceContract: {
|
|
|
6431
6446
|
readonly fields: v.ArraySchema<v.ObjectSchema<{
|
|
6432
6447
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
6433
6448
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
6434
|
-
readonly help: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6435
|
-
readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6449
|
+
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
6450
|
+
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
6436
6451
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
6437
|
-
readonly type: v.OptionalSchema<v.PicklistSchema<["text", "password", "select", "number", "checkbox", "textarea", "checkbox-group", "path"], undefined>, undefined>;
|
|
6438
6452
|
readonly options: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
6439
|
-
readonly value: v.StringSchema<undefined>;
|
|
6440
|
-
readonly label: v.StringSchema<undefined>;
|
|
6453
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
6454
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
6441
6455
|
}, undefined>, undefined>, undefined>;
|
|
6442
|
-
readonly default: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6443
|
-
readonly defaultValues: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
6456
|
+
readonly default: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
6457
|
+
readonly defaultValues: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, undefined>;
|
|
6444
6458
|
readonly showWhen: v.OptionalSchema<v.ObjectSchema<{
|
|
6445
6459
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
6446
6460
|
readonly equals: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
6447
6461
|
readonly includes: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
6448
6462
|
}, undefined>, undefined>;
|
|
6463
|
+
readonly maxLength: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 2000, undefined>]>, undefined>;
|
|
6464
|
+
readonly type: v.OptionalSchema<v.PicklistSchema<["text", "password", "select", "number", "checkbox", "textarea", "checkbox-group", "path"], undefined>, undefined>;
|
|
6449
6465
|
}, undefined>, undefined>;
|
|
6450
6466
|
readonly planningPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
6451
6467
|
readonly interview: v.PicklistSchema<["full", "skip"], undefined>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workspaces.d.ts","sourceRoot":"","sources":["../../src/routes/workspaces.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,cAAc,EAAqB,MAAM,yBAAyB,CAAA;AAC3E,OAAO,KAAK,CAAC,M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,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
|
package/dist/snapshot.d.ts
CHANGED
|
@@ -88,7 +88,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
88
88
|
readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
89
89
|
readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
90
90
|
readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
91
|
-
readonly custom: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
91
|
+
readonly custom: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
92
92
|
}, undefined>, undefined>, undefined>;
|
|
93
93
|
readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
94
94
|
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -2680,7 +2680,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
2680
2680
|
readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
2681
2681
|
readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
2682
2682
|
readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
2683
|
-
readonly custom: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
2683
|
+
readonly custom: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
2684
2684
|
}, undefined>, undefined>, undefined>;
|
|
2685
2685
|
readonly technical: v.OptionalSchema<v.NullableSchema<v.BooleanSchema<undefined>, undefined>, undefined>;
|
|
2686
2686
|
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
@@ -3077,15 +3077,22 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
3077
3077
|
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3078
3078
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
3079
3079
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3080
|
-
readonly type: v.PicklistSchema<["text", "textarea", "number", "select"], undefined>;
|
|
3081
3080
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
3082
3081
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
3082
|
+
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
3083
3083
|
readonly options: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3084
3084
|
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3085
3085
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3086
3086
|
}, undefined>, undefined>, undefined>;
|
|
3087
|
-
readonly
|
|
3088
|
-
readonly
|
|
3087
|
+
readonly default: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
3088
|
+
readonly defaultValues: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, undefined>;
|
|
3089
|
+
readonly showWhen: v.OptionalSchema<v.ObjectSchema<{
|
|
3090
|
+
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
3091
|
+
readonly equals: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
3092
|
+
readonly includes: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3093
|
+
}, undefined>, undefined>;
|
|
3094
|
+
readonly maxLength: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 2000, undefined>]>, undefined>;
|
|
3095
|
+
readonly type: v.OptionalSchema<v.PicklistSchema<["text", "textarea", "number", "select", "checkbox", "checkbox-group", "path"], undefined>, undefined>;
|
|
3089
3096
|
}, undefined>, undefined>, undefined>;
|
|
3090
3097
|
readonly defaultPipelineId: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3091
3098
|
readonly defaultFragmentIds: v.OptionalSchema<v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>, undefined>;
|
|
@@ -3279,7 +3286,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
3279
3286
|
readonly prNumber: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>]>, undefined>;
|
|
3280
3287
|
readonly prUrl: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MaxLengthAction<string, 500, undefined>]>, undefined>;
|
|
3281
3288
|
readonly reviewFocus: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 4000, undefined>]>, undefined>;
|
|
3282
|
-
readonly custom: v.OptionalSchema<v.RecordSchema<v.StringSchema<undefined>, v.UnionSchema<[v.StringSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
3289
|
+
readonly custom: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>, v.UnionSchema<[v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>, undefined>;
|
|
3283
3290
|
}, undefined>, undefined>;
|
|
3284
3291
|
readonly fragmentIds: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3285
3292
|
readonly agentConfig: v.OptionalSchema<v.RecordSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 400, undefined>]>, undefined>, undefined>;
|
|
@@ -3350,21 +3357,22 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
3350
3357
|
readonly fields: v.ArraySchema<v.ObjectSchema<{
|
|
3351
3358
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
3352
3359
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3353
|
-
readonly help: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3354
|
-
readonly placeholder: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3360
|
+
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
3361
|
+
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
3355
3362
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
3356
|
-
readonly type: v.OptionalSchema<v.PicklistSchema<["text", "password", "select", "number", "checkbox", "textarea", "checkbox-group", "path"], undefined>, undefined>;
|
|
3357
3363
|
readonly options: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3358
|
-
readonly value: v.StringSchema<undefined>;
|
|
3359
|
-
readonly label: v.StringSchema<undefined>;
|
|
3364
|
+
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3365
|
+
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3360
3366
|
}, undefined>, undefined>, undefined>;
|
|
3361
|
-
readonly default: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3362
|
-
readonly defaultValues: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
3367
|
+
readonly default: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
3368
|
+
readonly defaultValues: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, undefined>;
|
|
3363
3369
|
readonly showWhen: v.OptionalSchema<v.ObjectSchema<{
|
|
3364
3370
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
3365
3371
|
readonly equals: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
3366
3372
|
readonly includes: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
3367
3373
|
}, undefined>, undefined>;
|
|
3374
|
+
readonly maxLength: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 2000, undefined>]>, undefined>;
|
|
3375
|
+
readonly type: v.OptionalSchema<v.PicklistSchema<["text", "password", "select", "number", "checkbox", "textarea", "checkbox-group", "path"], undefined>, undefined>;
|
|
3368
3376
|
}, undefined>, undefined>;
|
|
3369
3377
|
readonly planningPipelineId: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
3370
3378
|
readonly interview: v.PicklistSchema<["full", "skip"], undefined>;
|
package/dist/snapshot.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAwC5B;;;;;GAKG;AACH,eAAO,MAAM,qBAAqB;;;aAGhC,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,qBAAqB,CAAC,CAAA;AAE7E,4EAA4E;AAC5E,eAAO,MAAM,uBAAuB;;;IAGlC;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;IAEH;;;;;;;OAOG;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;;;OAOG;;;;;;IAEH;;;;;OAKG;;;;;aAEH,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|
package/dist/task-types.d.ts
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
+
import { type DescriptorFieldOption } from './form-fields.js';
|
|
2
3
|
/** Card-badge + create-form presentation for a custom task type (mirrors `agentPresentationSchema`). */
|
|
3
4
|
export declare const taskTypePresentationSchema: v.ObjectSchema<{
|
|
4
5
|
/** Human label, e.g. `Incident`. */
|
|
@@ -18,38 +19,51 @@ export declare const taskTypePresentationSchema: v.ObjectSchema<{
|
|
|
18
19
|
readonly category: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.TrimAction, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 60, undefined>]>, undefined>;
|
|
19
20
|
}, undefined>;
|
|
20
21
|
export type TaskTypePresentation = v.InferOutput<typeof taskTypePresentationSchema>;
|
|
21
|
-
/** One choice of a `select` {@link
|
|
22
|
+
/** One choice of a `select` / `checkbox-group` field (the shared {@link descriptorFieldOptionSchema}). */
|
|
22
23
|
export declare const taskTypeFieldOptionSchema: v.ObjectSchema<{
|
|
23
24
|
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
24
25
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
25
26
|
}, undefined>;
|
|
26
|
-
export type TaskTypeFieldOption =
|
|
27
|
+
export type TaskTypeFieldOption = DescriptorFieldOption;
|
|
27
28
|
/**
|
|
28
|
-
*
|
|
29
|
-
*
|
|
30
|
-
*
|
|
31
|
-
*
|
|
29
|
+
* Which of the shared descriptor-form input types a task-type field may declare.
|
|
30
|
+
*
|
|
31
|
+
* Everything the initiative-preset form admits EXCEPT `password`, excluded by construction rather
|
|
32
|
+
* than by convention: a collected task field value is folded into agent prompts, projected onto the
|
|
33
|
+
* board snapshot, and captured in agent-context telemetry, so it is the wrong home for a secret. A
|
|
34
|
+
* capability an operation's agents need credentials for declares them by NAME against the
|
|
35
|
+
* per-workspace capability-credential store, where the value never reaches a prompt.
|
|
36
|
+
*/
|
|
37
|
+
export declare const taskTypeFieldTypeSchema: v.PicklistSchema<["text", "textarea", "number", "select", "checkbox", "checkbox-group", "path"], undefined>;
|
|
38
|
+
export type TaskTypeFieldType = v.InferOutput<typeof taskTypeFieldTypeSchema>;
|
|
39
|
+
/**
|
|
40
|
+
* One data-driven field on a custom task type's create-form: the SHARED descriptor-form vocabulary
|
|
41
|
+
* (`form-fields.ts`, which the initiative-preset form fills too), narrowed to the types above. Its
|
|
42
|
+
* value lands in the sparse `taskTypeFields.custom` bag keyed by `key`, so adding a field never
|
|
43
|
+
* needs a schema migration, and the shared `validateDescriptorFields` /
|
|
44
|
+
* `sanitizeDescriptorFields` / `renderDescriptorFieldValue` rules apply verbatim: one renderer, one
|
|
45
|
+
* validator, one prose projection across both surfaces.
|
|
32
46
|
*/
|
|
33
47
|
export declare const taskTypeFieldDescriptorSchema: v.ObjectSchema<{
|
|
34
|
-
/** Stable key the collected value is stored under in `taskTypeFields.custom`. */
|
|
35
48
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
36
|
-
/** Human label shown next to the field. */
|
|
37
49
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
38
|
-
/** The control type: free text, multi-line text, a number, or one of {@link options}. */
|
|
39
|
-
readonly type: v.PicklistSchema<["text", "textarea", "number", "select"], undefined>;
|
|
40
|
-
/** One-line helper text shown under the field. */
|
|
41
50
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
42
|
-
/** Placeholder shown in an empty `text`/`textarea`/`number` input. */
|
|
43
51
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
44
|
-
|
|
52
|
+
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
45
53
|
readonly options: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
46
54
|
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
47
55
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
48
56
|
}, undefined>, undefined>, undefined>;
|
|
49
|
-
|
|
50
|
-
readonly
|
|
51
|
-
|
|
52
|
-
|
|
57
|
+
readonly default: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
58
|
+
readonly defaultValues: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, undefined>;
|
|
59
|
+
readonly showWhen: v.OptionalSchema<v.ObjectSchema<{
|
|
60
|
+
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
61
|
+
readonly equals: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
62
|
+
readonly includes: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
63
|
+
}, undefined>, undefined>;
|
|
64
|
+
readonly maxLength: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 2000, undefined>]>, undefined>;
|
|
65
|
+
/** The control type; absent is treated as `text`. */
|
|
66
|
+
readonly type: v.OptionalSchema<v.PicklistSchema<["text", "textarea", "number", "select", "checkbox", "checkbox-group", "path"], undefined>, undefined>;
|
|
53
67
|
}, undefined>;
|
|
54
68
|
export type TaskTypeFieldDescriptor = v.InferOutput<typeof taskTypeFieldDescriptorSchema>;
|
|
55
69
|
/**
|
|
@@ -80,25 +94,25 @@ export declare const customTaskTypeSchema: v.ObjectSchema<{
|
|
|
80
94
|
}, undefined>;
|
|
81
95
|
/** Data-driven create-form fields (optional; none ⇒ title + description only). */
|
|
82
96
|
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
83
|
-
/** Stable key the collected value is stored under in `taskTypeFields.custom`. */
|
|
84
97
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
85
|
-
/** Human label shown next to the field. */
|
|
86
98
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
87
|
-
/** The control type: free text, multi-line text, a number, or one of {@link options}. */
|
|
88
|
-
readonly type: v.PicklistSchema<["text", "textarea", "number", "select"], undefined>;
|
|
89
|
-
/** One-line helper text shown under the field. */
|
|
90
99
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
91
|
-
/** Placeholder shown in an empty `text`/`textarea`/`number` input. */
|
|
92
100
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
93
|
-
|
|
101
|
+
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
94
102
|
readonly options: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
95
103
|
readonly value: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
96
104
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
97
105
|
}, undefined>, undefined>, undefined>;
|
|
98
|
-
|
|
99
|
-
readonly
|
|
100
|
-
|
|
101
|
-
|
|
106
|
+
readonly default: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>;
|
|
107
|
+
readonly defaultValues: v.OptionalSchema<v.SchemaWithPipe<readonly [v.ArraySchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 2000, undefined>]>, undefined>, v.MaxLengthAction<string[], 50, undefined>]>, undefined>;
|
|
108
|
+
readonly showWhen: v.OptionalSchema<v.ObjectSchema<{
|
|
109
|
+
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>]>;
|
|
110
|
+
readonly equals: v.OptionalSchema<v.UnionSchema<[v.StringSchema<undefined>, v.BooleanSchema<undefined>, v.NumberSchema<undefined>], undefined>, undefined>;
|
|
111
|
+
readonly includes: v.OptionalSchema<v.StringSchema<undefined>, undefined>;
|
|
112
|
+
}, undefined>, undefined>;
|
|
113
|
+
readonly maxLength: v.OptionalSchema<v.SchemaWithPipe<readonly [v.NumberSchema<undefined>, v.IntegerAction<number, undefined>, v.MinValueAction<number, 1, undefined>, v.MaxValueAction<number, 2000, undefined>]>, undefined>;
|
|
114
|
+
/** The control type; absent is treated as `text`. */
|
|
115
|
+
readonly type: v.OptionalSchema<v.PicklistSchema<["text", "textarea", "number", "select", "checkbox", "checkbox-group", "path"], undefined>, undefined>;
|
|
102
116
|
}, undefined>, undefined>, undefined>;
|
|
103
117
|
/**
|
|
104
118
|
* The pipeline a task of this type defaults to when the creator pins none — pairs with a
|
package/dist/task-types.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-types.d.ts","sourceRoot":"","sources":["../src/task-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;
|
|
1
|
+
{"version":3,"file":"task-types.d.ts","sourceRoot":"","sources":["../src/task-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAGL,KAAK,qBAAqB,EAC3B,MAAM,kBAAkB,CAAA;AAkBzB,wGAAwG;AACxG,eAAO,MAAM,0BAA0B;IACrC,oCAAoC;;IAEpC,2CAA2C;;IAE3C,uCAAuC;;IAEvC,iEAAiE;;IAEjE;;;;;OAKG;;aAEH,CAAA;AACF,MAAM,MAAM,oBAAoB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,0BAA0B,CAAC,CAAA;AAEnF,0GAA0G;AAC1G,eAAO,MAAM,yBAAyB;;;aAA8B,CAAA;AACpE,MAAM,MAAM,mBAAmB,GAAG,qBAAqB,CAAA;AAEvD;;;;;;;;GAQG;AACH,eAAO,MAAM,uBAAuB,6GAQlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAE7E;;;;;;;GAOG;AACH,eAAO,MAAM,6BAA6B;;;;;;;;;;;;;;;;;;IAExC,qDAAqD;;aAErD,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,6BAA6B,CAAC,CAAA;AAEzF;;;;GAIG;AACH,eAAO,MAAM,oBAAoB;IAC/B,yEAAyE;;IAEzE,6CAA6C;;QAjE7C,oCAAoC;;QAEpC,2CAA2C;;QAE3C,uCAAuC;;QAEvC,iEAAiE;;QAEjE;;;;;WAKG;;;IAsDH,kFAAkF;;;;;;;;;;;;;;;;;;;QAflF,qDAAqD;;;IAiBrD;;;;OAIG;;IAEH;;;;;;;;;;;OAWG;;IAEH;;;;OAIG;;aAEH,CAAA;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA"}
|
package/dist/task-types.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as v from 'valibot';
|
|
2
|
+
import { descriptorFieldEntries, descriptorFieldOptionSchema, } from './form-fields.js';
|
|
2
3
|
import { namespacedIdSchema } from './primitives.js';
|
|
3
4
|
// ---------------------------------------------------------------------------
|
|
4
5
|
// The wire projection of a CUSTOM (deployment-registered) task type — the frontend analogue
|
|
@@ -32,34 +33,38 @@ export const taskTypePresentationSchema = v.object({
|
|
|
32
33
|
*/
|
|
33
34
|
category: v.optional(v.pipe(v.string(), v.trim(), v.minLength(1), v.maxLength(60))),
|
|
34
35
|
});
|
|
35
|
-
/** One choice of a `select` {@link
|
|
36
|
-
export const taskTypeFieldOptionSchema =
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
36
|
+
/** One choice of a `select` / `checkbox-group` field (the shared {@link descriptorFieldOptionSchema}). */
|
|
37
|
+
export const taskTypeFieldOptionSchema = descriptorFieldOptionSchema;
|
|
38
|
+
/**
|
|
39
|
+
* Which of the shared descriptor-form input types a task-type field may declare.
|
|
40
|
+
*
|
|
41
|
+
* Everything the initiative-preset form admits EXCEPT `password`, excluded by construction rather
|
|
42
|
+
* than by convention: a collected task field value is folded into agent prompts, projected onto the
|
|
43
|
+
* board snapshot, and captured in agent-context telemetry, so it is the wrong home for a secret. A
|
|
44
|
+
* capability an operation's agents need credentials for declares them by NAME against the
|
|
45
|
+
* per-workspace capability-credential store, where the value never reaches a prompt.
|
|
46
|
+
*/
|
|
47
|
+
export const taskTypeFieldTypeSchema = v.picklist([
|
|
48
|
+
'text',
|
|
49
|
+
'textarea',
|
|
50
|
+
'number',
|
|
51
|
+
'select',
|
|
52
|
+
'checkbox',
|
|
53
|
+
'checkbox-group',
|
|
54
|
+
'path',
|
|
55
|
+
]);
|
|
40
56
|
/**
|
|
41
|
-
* One data-driven field on a custom task type's create-form
|
|
42
|
-
*
|
|
43
|
-
*
|
|
44
|
-
*
|
|
57
|
+
* One data-driven field on a custom task type's create-form: the SHARED descriptor-form vocabulary
|
|
58
|
+
* (`form-fields.ts`, which the initiative-preset form fills too), narrowed to the types above. Its
|
|
59
|
+
* value lands in the sparse `taskTypeFields.custom` bag keyed by `key`, so adding a field never
|
|
60
|
+
* needs a schema migration, and the shared `validateDescriptorFields` /
|
|
61
|
+
* `sanitizeDescriptorFields` / `renderDescriptorFieldValue` rules apply verbatim: one renderer, one
|
|
62
|
+
* validator, one prose projection across both surfaces.
|
|
45
63
|
*/
|
|
46
64
|
export const taskTypeFieldDescriptorSchema = v.object({
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
label: v.pipe(v.string(), v.minLength(1), v.maxLength(120)),
|
|
51
|
-
/** The control type: free text, multi-line text, a number, or one of {@link options}. */
|
|
52
|
-
type: v.picklist(['text', 'textarea', 'number', 'select']),
|
|
53
|
-
/** One-line helper text shown under the field. */
|
|
54
|
-
help: v.optional(v.pipe(v.string(), v.maxLength(300))),
|
|
55
|
-
/** Placeholder shown in an empty `text`/`textarea`/`number` input. */
|
|
56
|
-
placeholder: v.optional(v.pipe(v.string(), v.maxLength(200))),
|
|
57
|
-
/** The choices for a `select` descriptor; absent (and ignored) for the other types. */
|
|
58
|
-
options: v.optional(v.array(taskTypeFieldOptionSchema)),
|
|
59
|
-
/** Whether the field must be filled before the task can be created. */
|
|
60
|
-
required: v.optional(v.boolean()),
|
|
61
|
-
/** Max length for a `text`/`textarea` value (characters). */
|
|
62
|
-
maxLength: v.optional(v.pipe(v.number(), v.integer(), v.minValue(1), v.maxValue(10000))),
|
|
65
|
+
...descriptorFieldEntries,
|
|
66
|
+
/** The control type; absent is treated as `text`. */
|
|
67
|
+
type: v.optional(taskTypeFieldTypeSchema),
|
|
63
68
|
});
|
|
64
69
|
/**
|
|
65
70
|
* A registered custom task type's wire projection — the snapshot entry the SPA merges into its
|
package/dist/task-types.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"task-types.js","sourceRoot":"","sources":["../src/task-types.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAC5B,OAAO,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAA;AAEpD,8EAA8E;AAC9E,4FAA4F;AAC5F,8FAA8F;AAC9F,6FAA6F;AAC7F,8FAA8F;AAC9F,mFAAmF;AACnF,2FAA2F;AAC3F,iDAAiD;AACjD,EAAE;AACF,8FAA8F;AAC9F,6FAA6F;AAC7F,wFAAwF;AACxF,0EAA0E;AAC1E,8EAA8E;AAE9E,wGAAwG;AACxG,MAAM,CAAC,MAAM,0BAA0B,GAAG,CAAC,CAAC,MAAM,CAAC;IACjD,oCAAoC;IACpC,KAAK,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,IAAI,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,EAAE,CAAC,CAAC;IACpE,2CAA2C;IAC3C,IAAI,EAAE,CAAC,CAAC,IAAI,CAAC,CAAC,C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AQ;IACR,UAAU;IACV,gBAAgB;IAChB,MAAM;CACP,CAAC,CAAA;AAGF;;;;;;;GAOG;AACH,MAAM,CAAC,MAAM,6BAA6B,GAAG,CAAC,CAAC,MAAM,CAAC;IACpD,GAAG,sBAAsB;IACzB,qDAAqD;IACrD,IAAI,EAAE,CAAC,CAAC,QAAQ,CAAC,uBAAuB,CAAC;CAC1C,CAAC,CAAA;AAGF;;;;GAIG;AACH,MAAM,CAAC,MAAM,oBAAoB,GAAG,CAAC,CAAC,MAAM,CAAC;IAC3C,yEAAyE;IACzE,QAAQ,EAAE,kBAAkB;IAC5B,6CAA6C;IAC7C,YAAY,EAAE,0BAA0B;IACxC,kFAAkF;IAClF,MAAM,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,6BAA6B,CAAC,CAAC;IAC1D;;;;OAIG;IACH,iBAAiB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,MAAM,EAAE,CAAC;IACzC;;;;;;;;;;;OAWG;IACH,kBAAkB,EAAE,CAAC,CAAC,QAAQ,CAAC,CAAC,CAAC,KAAK,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC,EAAE,CAAC,CAAC,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC;IAC7F;;;;OAIG;IACH,SAAS,EAAE,CAAC,CAAC,QAAQ,CAAC,kBAAkB,CAAC;CAC1C,CAAC,CAAA"}
|
|
@@ -105,7 +105,7 @@ export declare const workspaceSettingsSchema: v.ObjectSchema<{
|
|
|
105
105
|
*/
|
|
106
106
|
readonly delegateAgentsToRunnerPool: v.BooleanSchema<undefined>;
|
|
107
107
|
/**
|
|
108
|
-
* Whether/how the PRE-
|
|
108
|
+
* Whether/how the PRE-DISPATCH INPUT GATE applies to this workspace's runs: the deterministic
|
|
109
109
|
* structural check of a task's authored input, run before the first agent step is dispatched
|
|
110
110
|
* so a task nobody could act on parks having spent nothing.
|
|
111
111
|
*
|
|
@@ -164,7 +164,7 @@ export const workspaceSettingsSchema = v.object({
|
|
|
164
164
|
*/
|
|
165
165
|
delegateAgentsToRunnerPool: v.boolean(),
|
|
166
166
|
/**
|
|
167
|
-
* Whether/how the PRE-
|
|
167
|
+
* Whether/how the PRE-DISPATCH INPUT GATE applies to this workspace's runs: the deterministic
|
|
168
168
|
* structural check of a task's authored input, run before the first agent step is dispatched
|
|
169
169
|
* so a task nobody could act on parks having spent nothing.
|
|
170
170
|
*
|