@cat-factory/contracts 0.256.0 → 0.258.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/debug-api.d.ts +50 -0
- package/dist/debug-api.d.ts.map +1 -1
- package/dist/debug-api.js +13 -0
- package/dist/debug-api.js.map +1 -1
- package/dist/execution.d.ts +60 -0
- package/dist/execution.d.ts.map +1 -1
- package/dist/execution.js +18 -0
- package/dist/execution.js.map +1 -1
- package/dist/form-fields.d.ts +80 -0
- package/dist/form-fields.d.ts.map +1 -1
- package/dist/form-fields.js +162 -0
- package/dist/form-fields.js.map +1 -1
- package/dist/gate-config.d.ts +1 -0
- package/dist/gate-config.d.ts.map +1 -1
- package/dist/initiative-preset.d.ts +2 -0
- package/dist/initiative-preset.d.ts.map +1 -1
- package/dist/public-task-types.d.ts +2 -0
- package/dist/public-task-types.d.ts.map +1 -1
- package/dist/routes/agent-runs.d.ts +28 -0
- package/dist/routes/agent-runs.d.ts.map +1 -1
- package/dist/routes/bug-hunt.d.ts +28 -0
- package/dist/routes/bug-hunt.d.ts.map +1 -1
- package/dist/routes/debug-api.d.ts +14 -0
- package/dist/routes/debug-api.d.ts.map +1 -1
- package/dist/routes/execution.d.ts +112 -0
- package/dist/routes/execution.d.ts.map +1 -1
- package/dist/routes/human-review.d.ts +14 -0
- package/dist/routes/human-review.d.ts.map +1 -1
- package/dist/routes/human-test.d.ts +70 -0
- package/dist/routes/human-test.d.ts.map +1 -1
- package/dist/routes/public-api.d.ts +1 -0
- package/dist/routes/public-api.d.ts.map +1 -1
- package/dist/routes/task-types.d.ts +3 -0
- package/dist/routes/task-types.d.ts.map +1 -1
- package/dist/routes/visual-confirm.d.ts +42 -0
- package/dist/routes/visual-confirm.d.ts.map +1 -1
- package/dist/routes/workspaces.d.ts +34 -0
- package/dist/routes/workspaces.d.ts.map +1 -1
- package/dist/snapshot.d.ts +17 -0
- package/dist/snapshot.d.ts.map +1 -1
- package/dist/task-types.d.ts +4 -0
- package/dist/task-types.d.ts.map +1 -1
- package/dist/tool-servers.d.ts +77 -0
- package/dist/tool-servers.d.ts.map +1 -1
- package/dist/tool-servers.js +74 -0
- package/dist/tool-servers.js.map +1 -1
- package/package.json +1 -1
|
@@ -1216,6 +1216,20 @@ export declare const createWorkspaceContract: {
|
|
|
1216
1216
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1217
1217
|
readonly sha: v.StringSchema<undefined>;
|
|
1218
1218
|
}, undefined>, undefined>, undefined>;
|
|
1219
|
+
readonly toolServers: v.OptionalSchema<v.ObjectSchema<{
|
|
1220
|
+
readonly wired: v.ArraySchema<v.ObjectSchema<{
|
|
1221
|
+
readonly id: v.StringSchema<undefined>;
|
|
1222
|
+
readonly label: v.StringSchema<undefined>;
|
|
1223
|
+
readonly transport: v.PicklistSchema<["stdio", "http"], undefined>;
|
|
1224
|
+
readonly tools: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1225
|
+
}, undefined>, undefined>;
|
|
1226
|
+
readonly unavailable: v.ArraySchema<v.ObjectSchema<{
|
|
1227
|
+
readonly id: v.StringSchema<undefined>;
|
|
1228
|
+
readonly label: v.StringSchema<undefined>;
|
|
1229
|
+
readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
|
|
1230
|
+
}, undefined>, undefined>;
|
|
1231
|
+
readonly agentKind: v.StringSchema<undefined>;
|
|
1232
|
+
}, undefined>, undefined>;
|
|
1219
1233
|
readonly promptRevision: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1220
1234
|
readonly promptVariant: v.OptionalSchema<v.ObjectSchema<{
|
|
1221
1235
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -3083,6 +3097,7 @@ export declare const createWorkspaceContract: {
|
|
|
3083
3097
|
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3084
3098
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
3085
3099
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3100
|
+
readonly section: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
3086
3101
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
3087
3102
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
3088
3103
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -3120,6 +3135,7 @@ export declare const createWorkspaceContract: {
|
|
|
3120
3135
|
readonly fields: v.ArraySchema<v.ObjectSchema<{
|
|
3121
3136
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
3122
3137
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3138
|
+
readonly section: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
3123
3139
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
3124
3140
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
3125
3141
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -3305,6 +3321,7 @@ export declare const createWorkspaceContract: {
|
|
|
3305
3321
|
readonly fields: v.ArraySchema<v.ObjectSchema<{
|
|
3306
3322
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
3307
3323
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3324
|
+
readonly section: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
3308
3325
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
3309
3326
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
3310
3327
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -4611,6 +4628,20 @@ export declare const getWorkspaceContract: {
|
|
|
4611
4628
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
4612
4629
|
readonly sha: v.StringSchema<undefined>;
|
|
4613
4630
|
}, undefined>, undefined>, undefined>;
|
|
4631
|
+
readonly toolServers: v.OptionalSchema<v.ObjectSchema<{
|
|
4632
|
+
readonly wired: v.ArraySchema<v.ObjectSchema<{
|
|
4633
|
+
readonly id: v.StringSchema<undefined>;
|
|
4634
|
+
readonly label: v.StringSchema<undefined>;
|
|
4635
|
+
readonly transport: v.PicklistSchema<["stdio", "http"], undefined>;
|
|
4636
|
+
readonly tools: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
4637
|
+
}, undefined>, undefined>;
|
|
4638
|
+
readonly unavailable: v.ArraySchema<v.ObjectSchema<{
|
|
4639
|
+
readonly id: v.StringSchema<undefined>;
|
|
4640
|
+
readonly label: v.StringSchema<undefined>;
|
|
4641
|
+
readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
|
|
4642
|
+
}, undefined>, undefined>;
|
|
4643
|
+
readonly agentKind: v.StringSchema<undefined>;
|
|
4644
|
+
}, undefined>, undefined>;
|
|
4614
4645
|
readonly promptRevision: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
4615
4646
|
readonly promptVariant: v.OptionalSchema<v.ObjectSchema<{
|
|
4616
4647
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -6478,6 +6509,7 @@ export declare const getWorkspaceContract: {
|
|
|
6478
6509
|
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
6479
6510
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
6480
6511
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
6512
|
+
readonly section: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
6481
6513
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
6482
6514
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
6483
6515
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -6515,6 +6547,7 @@ export declare const getWorkspaceContract: {
|
|
|
6515
6547
|
readonly fields: v.ArraySchema<v.ObjectSchema<{
|
|
6516
6548
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
6517
6549
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
6550
|
+
readonly section: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
6518
6551
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
6519
6552
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
6520
6553
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -6700,6 +6733,7 @@ export declare const getWorkspaceContract: {
|
|
|
6700
6733
|
readonly fields: v.ArraySchema<v.ObjectSchema<{
|
|
6701
6734
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
6702
6735
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
6736
|
+
readonly section: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
6703
6737
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
6704
6738
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
6705
6739
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, 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,MAAM,SAAS,CAAA;AAe5B;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;aAGlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAI7E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB
|
|
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,MAAM,SAAS,CAAA;AAe5B;;;;;GAKG;AACH,eAAO,MAAM,uBAAuB;;;;;;;;aAGlC,CAAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA;AAI7E,eAAO,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAIjC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAK/B,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAMlC,CAAA;AAEF,eAAO,MAAM,uBAAuB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAKlC,CAAA"}
|
package/dist/snapshot.d.ts
CHANGED
|
@@ -1154,6 +1154,20 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
1154
1154
|
readonly commit: v.NullableSchema<v.StringSchema<undefined>, undefined>;
|
|
1155
1155
|
readonly sha: v.StringSchema<undefined>;
|
|
1156
1156
|
}, undefined>, undefined>, undefined>;
|
|
1157
|
+
readonly toolServers: v.OptionalSchema<v.ObjectSchema<{
|
|
1158
|
+
readonly wired: v.ArraySchema<v.ObjectSchema<{
|
|
1159
|
+
readonly id: v.StringSchema<undefined>;
|
|
1160
|
+
readonly label: v.StringSchema<undefined>;
|
|
1161
|
+
readonly transport: v.PicklistSchema<["stdio", "http"], undefined>;
|
|
1162
|
+
readonly tools: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
1163
|
+
}, undefined>, undefined>;
|
|
1164
|
+
readonly unavailable: v.ArraySchema<v.ObjectSchema<{
|
|
1165
|
+
readonly id: v.StringSchema<undefined>;
|
|
1166
|
+
readonly label: v.StringSchema<undefined>;
|
|
1167
|
+
readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
|
|
1168
|
+
}, undefined>, undefined>;
|
|
1169
|
+
readonly agentKind: v.StringSchema<undefined>;
|
|
1170
|
+
}, undefined>, undefined>;
|
|
1157
1171
|
readonly promptRevision: v.OptionalSchema<v.NumberSchema<undefined>, undefined>;
|
|
1158
1172
|
readonly promptVariant: v.OptionalSchema<v.ObjectSchema<{
|
|
1159
1173
|
readonly id: v.StringSchema<undefined>;
|
|
@@ -3169,6 +3183,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
3169
3183
|
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
3170
3184
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
3171
3185
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3186
|
+
readonly section: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
3172
3187
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
3173
3188
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
3174
3189
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -3227,6 +3242,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
3227
3242
|
readonly fields: v.ArraySchema<v.ObjectSchema<{
|
|
3228
3243
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
3229
3244
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3245
|
+
readonly section: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
3230
3246
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
3231
3247
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
3232
3248
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -3522,6 +3538,7 @@ export declare const workspaceSnapshotSchema: v.ObjectSchema<{
|
|
|
3522
3538
|
readonly fields: v.ArraySchema<v.ObjectSchema<{
|
|
3523
3539
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
3524
3540
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
3541
|
+
readonly section: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
3525
3542
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
3526
3543
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
3527
3544
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, 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;AAyC5B;;;;;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
|
|
1
|
+
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../src/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAyC5B;;;;;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,i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AAA;AACF,MAAM,MAAM,iBAAiB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,uBAAuB,CAAC,CAAA"}
|
package/dist/task-types.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export type TaskTypeFieldType = v.InferOutput<typeof taskTypeFieldTypeSchema>;
|
|
|
47
47
|
export declare const taskTypeFieldDescriptorSchema: v.ObjectSchema<{
|
|
48
48
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
49
49
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
50
|
+
readonly section: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
50
51
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
51
52
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
52
53
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -98,6 +99,7 @@ export declare const customTaskTypeSchema: v.ObjectSchema<{
|
|
|
98
99
|
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
99
100
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
100
101
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
102
|
+
readonly section: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
101
103
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
102
104
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
103
105
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -215,6 +217,7 @@ export declare const taskTypeSuppressionSchema: v.ObjectSchema<{
|
|
|
215
217
|
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
216
218
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
217
219
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
220
|
+
readonly section: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
218
221
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
219
222
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
220
223
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
|
@@ -328,6 +331,7 @@ export declare const taskTypeSuppressionListSchema: v.ObjectSchema<{
|
|
|
328
331
|
readonly fields: v.OptionalSchema<v.ArraySchema<v.ObjectSchema<{
|
|
329
332
|
readonly key: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 80, undefined>]>;
|
|
330
333
|
readonly label: v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>;
|
|
334
|
+
readonly section: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MinLengthAction<string, 1, undefined>, v.MaxLengthAction<string, 120, undefined>]>, undefined>;
|
|
331
335
|
readonly help: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 300, undefined>]>, undefined>;
|
|
332
336
|
readonly placeholder: v.OptionalSchema<v.SchemaWithPipe<readonly [v.StringSchema<undefined>, v.MaxLengthAction<string, 200, undefined>]>, undefined>;
|
|
333
337
|
readonly required: v.OptionalSchema<v.BooleanSchema<undefined>, undefined>;
|
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;AAC5B,OAAO,EAIL,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;AAC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;AACF,MAAM,MAAM,cAAc,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,oBAAoB,CAAC,CAAA;AAEvE;;;;;;;GAOG;AACH,eAAO,MAAM,yBAAyB;;QA9EpC,yEAAyE;;QAEzE,6CAA6C;;YAjE7C,oCAAoC;;YAEpC,2CAA2C;;YAE3C,uCAAuC;;YAEvC,iEAAiE;;YAEjE;;;;;eAKG;;;QAsDH,kFAAkF;;;;;;;;;;;;;;;;;;;;;;YAflF,qDAAqD;;;QAiBrD;;;;WAIG;;QAEH;;;;;;;;;;;WAWG;;QAEH;;;;;;;;;;;;;;;;;;;;;;;;;WAyBG;;YAIG,2EAA2E;;;;;;YAE3E,sDAAsD;;;QAK5D;;;;WAIG;;;;aAgBH,CAAA;AACF,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAEjF,uFAAuF;AACvF,eAAO,MAAM,6BAA6B;;;YArFxC,yEAAyE;;YAEzE,6CAA6C;;gBAjE7C,oCAAoC;;gBAEpC,2CAA2C;;gBAE3C,uCAAuC;;gBAEvC,iEAAiE;;gBAEjE;;;;;mBAKG;;;YAsDH,kFAAkF;;;;;;;;;;;;;;;;;;;;;;gBAflF,qDAAqD;;;YAiBrD;;;;eAIG;;YAEH;;;;;;;;;;;eAWG;;YAEH;;;;;;;;;;;;;;;;;;;;;;;;;eAyBG;;gBAIG,2EAA2E;;;;;;gBAE3E,sDAAsD;;;YAK5D;;;;eAIG;;;;;aAsBH,CAAA;AACF,MAAM,MAAM,uBAAuB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,6BAA6B,CAAC,CAAA"}
|
package/dist/tool-servers.d.ts
CHANGED
|
@@ -24,6 +24,83 @@ export type ToolServerTransport = v.InferOutput<typeof toolServerTransportSchema
|
|
|
24
24
|
*/
|
|
25
25
|
export declare const toolServerNotProbeableReasonSchema: v.PicklistSchema<["stdio_transport", "container_local_url", "url_not_allowed"], undefined>;
|
|
26
26
|
export type ToolServerNotProbeableReason = v.InferOutput<typeof toolServerNotProbeableReasonSchema>;
|
|
27
|
+
/**
|
|
28
|
+
* Why a declared tool server did NOT reach one dispatch.
|
|
29
|
+
*
|
|
30
|
+
* The vocabulary kernel's `UnavailableToolServer` is typed against, held here because both sides
|
|
31
|
+
* have to agree about it: the container executor decides a member, and the SPA maps each one to
|
|
32
|
+
* translated copy on the run surface. Leaving the union in kernel, which the SPA cannot see, would
|
|
33
|
+
* make the SPA's mapping a hand-written duplicate of a closed list, and a member added on one side
|
|
34
|
+
* only renders as a blank chip on the other.
|
|
35
|
+
*
|
|
36
|
+
* Every member names a DIFFERENT fix, which is why they are not folded together. The reasoning per
|
|
37
|
+
* member lives on kernel's `UnavailableToolServer`, which is where a dispatch chooses one; what
|
|
38
|
+
* matters here is that the list is CLOSED and PERSISTED (it lands on `PipelineStep.toolServers`
|
|
39
|
+
* and outlives the run), so a member retired later has to be RENDERED as retired rather than
|
|
40
|
+
* dropped: a reader hitting a stale value is by construction the surface whose whole job is
|
|
41
|
+
* naming what an operator must go and fix.
|
|
42
|
+
*/
|
|
43
|
+
export declare const toolServerUnavailableReasonSchema: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
|
|
44
|
+
export type ToolServerUnavailableReason = v.InferOutput<typeof toolServerUnavailableReasonSchema>;
|
|
45
|
+
/**
|
|
46
|
+
* What one dispatch did with the tool servers its agent kind declared, recorded on the step.
|
|
47
|
+
*
|
|
48
|
+
* Two lists rather than one list with a status, because they are not two states of one thing: a
|
|
49
|
+
* WIRED server is a capability the prompt promised the agent, while an UNAVAILABLE one is a
|
|
50
|
+
* promise the platform deliberately withheld and stated instead. A reader filtering a mixed list
|
|
51
|
+
* by status would get the same answer; a reader who forgot to filter would report a dropped server
|
|
52
|
+
* as a working one, which is the exact failure the unavailability vocabulary exists to prevent.
|
|
53
|
+
*
|
|
54
|
+
* Composed at DISPATCH, not read back from the container: the harness materialises what this
|
|
55
|
+
* decided, and the poll site rebuilds the job handle from the step alone, so nothing downstream
|
|
56
|
+
* can re-derive it (see `recordDispatchAttribution`).
|
|
57
|
+
*
|
|
58
|
+
* ABSENT and `{ wired: [], unavailable: [] }` are different states and both are load-bearing:
|
|
59
|
+
* absent means no container dispatch recorded here (an inline step, or a run that predates the
|
|
60
|
+
* field), while both-empty means a dispatch ran and its kind declared no tool servers at all.
|
|
61
|
+
*/
|
|
62
|
+
export declare const stepToolServersSchema: v.ObjectSchema<{
|
|
63
|
+
/** The servers whose transport, harness and credentials all resolved, so the agent could call them. */
|
|
64
|
+
readonly wired: v.ArraySchema<v.ObjectSchema<{
|
|
65
|
+
readonly id: v.StringSchema<undefined>;
|
|
66
|
+
readonly label: v.StringSchema<undefined>;
|
|
67
|
+
readonly transport: v.PicklistSchema<["stdio", "http"], undefined>;
|
|
68
|
+
/**
|
|
69
|
+
* The tools the definition narrowed the agent to. Absent ⇒ every tool the server exposes.
|
|
70
|
+
* Recorded because a narrowed list is the likeliest reason a working server produced no
|
|
71
|
+
* useful call, and the declaration can be edited after the run.
|
|
72
|
+
*/
|
|
73
|
+
readonly tools: v.OptionalSchema<v.ArraySchema<v.StringSchema<undefined>, undefined>, undefined>;
|
|
74
|
+
}, undefined>, undefined>;
|
|
75
|
+
/** The servers the kind declared and this dispatch dropped, each with the reason it was dropped. */
|
|
76
|
+
readonly unavailable: v.ArraySchema<v.ObjectSchema<{
|
|
77
|
+
readonly id: v.StringSchema<undefined>;
|
|
78
|
+
readonly label: v.StringSchema<undefined>;
|
|
79
|
+
readonly reason: v.PicklistSchema<["harness_unsupported", "transport_unsupported", "missing_secret", "reserved_secret", "oauth_not_connected", "oauth_token_failed", "over_budget"], undefined>;
|
|
80
|
+
}, undefined>, undefined>;
|
|
81
|
+
/**
|
|
82
|
+
* The agent kind whose declarations these two lists describe: the kind that was DISPATCHED, not
|
|
83
|
+
* necessarily the kind the step is named for.
|
|
84
|
+
*
|
|
85
|
+
* Required, because a step's own `agentKind` is routinely not what ran: a `ci` gate escalates to
|
|
86
|
+
* `ci-fixer`, a tester hands off to `fixer`, a two-phase coder dispatches twice. Each of those
|
|
87
|
+
* re-dispatches resolves its OWN kind's declarations and overwrites this record, so without the
|
|
88
|
+
* kind stamped on it the lists would be read under the step's kind and describe a different
|
|
89
|
+
* agent's capabilities. The engine stamps it from the same `dispatchedKind` that feeds
|
|
90
|
+
* `step.dispatches`, so an executor cannot mislabel it.
|
|
91
|
+
*/
|
|
92
|
+
readonly agentKind: v.StringSchema<undefined>;
|
|
93
|
+
}, undefined>;
|
|
94
|
+
export type StepToolServers = v.InferOutput<typeof stepToolServersSchema>;
|
|
95
|
+
/**
|
|
96
|
+
* What a dispatch RESOLVED, before the engine attributes it to the kind that ran.
|
|
97
|
+
*
|
|
98
|
+
* A type rather than a schema of its own: it never crosses a wire, so there is nothing to
|
|
99
|
+
* validate. It is what an executor puts on its job handle and what
|
|
100
|
+
* `recordDispatchAttribution` stamps the kind onto, and deriving it from {@link StepToolServers}
|
|
101
|
+
* keeps the two structurally impossible to drift.
|
|
102
|
+
*/
|
|
103
|
+
export type DispatchToolServers = Omit<StepToolServers, 'agentKind'>;
|
|
27
104
|
/**
|
|
28
105
|
* One credential a declaration asks for, by NAME.
|
|
29
106
|
*
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-servers.d.ts","sourceRoot":"","sources":["../src/tool-servers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AA8B5B,qFAAqF;AACrF,eAAO,MAAM,yBAAyB,gDAAgC,CAAA;AACtE,MAAM,MAAM,mBAAmB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,yBAAyB,CAAC,CAAA;AAEjF;;;;;;;;;;;;;;;;;;;GAmBG;AACH,eAAO,MAAM,kCAAkC,4FAI7C,CAAA;AACF,MAAM,MAAM,4BAA4B,GAAG,CAAC,CAAC,WAAW,C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AGzC,CAAA;AACF,MAAM,MAAM,wBAAwB,GAAG,CAAC,CAAC,WAAW,CAAC,OAAO,8BAA8B,CAAC,CAAA;AAE3F;;;;;;;GAOG;AACH,eAAO,MAAM,uBAAuB,MAAM,CAAA;AAE1C;;;;;;;;GAQG;AACH,eAAO,MAAM,mBAAmB,IAAI,CAAA;AAEpC,yEAAyE;AACzE,eAAO,MAAM,oBAAoB,QAAS,CAAA"}
|
package/dist/tool-servers.js
CHANGED
|
@@ -53,6 +53,80 @@ export const toolServerNotProbeableReasonSchema = v.picklist([
|
|
|
53
53
|
'container_local_url',
|
|
54
54
|
'url_not_allowed',
|
|
55
55
|
]);
|
|
56
|
+
/**
|
|
57
|
+
* Why a declared tool server did NOT reach one dispatch.
|
|
58
|
+
*
|
|
59
|
+
* The vocabulary kernel's `UnavailableToolServer` is typed against, held here because both sides
|
|
60
|
+
* have to agree about it: the container executor decides a member, and the SPA maps each one to
|
|
61
|
+
* translated copy on the run surface. Leaving the union in kernel, which the SPA cannot see, would
|
|
62
|
+
* make the SPA's mapping a hand-written duplicate of a closed list, and a member added on one side
|
|
63
|
+
* only renders as a blank chip on the other.
|
|
64
|
+
*
|
|
65
|
+
* Every member names a DIFFERENT fix, which is why they are not folded together. The reasoning per
|
|
66
|
+
* member lives on kernel's `UnavailableToolServer`, which is where a dispatch chooses one; what
|
|
67
|
+
* matters here is that the list is CLOSED and PERSISTED (it lands on `PipelineStep.toolServers`
|
|
68
|
+
* and outlives the run), so a member retired later has to be RENDERED as retired rather than
|
|
69
|
+
* dropped: a reader hitting a stale value is by construction the surface whose whole job is
|
|
70
|
+
* naming what an operator must go and fix.
|
|
71
|
+
*/
|
|
72
|
+
export const toolServerUnavailableReasonSchema = v.picklist([
|
|
73
|
+
'harness_unsupported',
|
|
74
|
+
'transport_unsupported',
|
|
75
|
+
'missing_secret',
|
|
76
|
+
'reserved_secret',
|
|
77
|
+
'oauth_not_connected',
|
|
78
|
+
'oauth_token_failed',
|
|
79
|
+
'over_budget',
|
|
80
|
+
]);
|
|
81
|
+
/**
|
|
82
|
+
* What one dispatch did with the tool servers its agent kind declared, recorded on the step.
|
|
83
|
+
*
|
|
84
|
+
* Two lists rather than one list with a status, because they are not two states of one thing: a
|
|
85
|
+
* WIRED server is a capability the prompt promised the agent, while an UNAVAILABLE one is a
|
|
86
|
+
* promise the platform deliberately withheld and stated instead. A reader filtering a mixed list
|
|
87
|
+
* by status would get the same answer; a reader who forgot to filter would report a dropped server
|
|
88
|
+
* as a working one, which is the exact failure the unavailability vocabulary exists to prevent.
|
|
89
|
+
*
|
|
90
|
+
* Composed at DISPATCH, not read back from the container: the harness materialises what this
|
|
91
|
+
* decided, and the poll site rebuilds the job handle from the step alone, so nothing downstream
|
|
92
|
+
* can re-derive it (see `recordDispatchAttribution`).
|
|
93
|
+
*
|
|
94
|
+
* ABSENT and `{ wired: [], unavailable: [] }` are different states and both are load-bearing:
|
|
95
|
+
* absent means no container dispatch recorded here (an inline step, or a run that predates the
|
|
96
|
+
* field), while both-empty means a dispatch ran and its kind declared no tool servers at all.
|
|
97
|
+
*/
|
|
98
|
+
export const stepToolServersSchema = v.object({
|
|
99
|
+
/** The servers whose transport, harness and credentials all resolved, so the agent could call them. */
|
|
100
|
+
wired: v.array(v.object({
|
|
101
|
+
id: v.string(),
|
|
102
|
+
label: v.string(),
|
|
103
|
+
transport: toolServerTransportSchema,
|
|
104
|
+
/**
|
|
105
|
+
* The tools the definition narrowed the agent to. Absent ⇒ every tool the server exposes.
|
|
106
|
+
* Recorded because a narrowed list is the likeliest reason a working server produced no
|
|
107
|
+
* useful call, and the declaration can be edited after the run.
|
|
108
|
+
*/
|
|
109
|
+
tools: v.optional(v.array(v.string())),
|
|
110
|
+
})),
|
|
111
|
+
/** The servers the kind declared and this dispatch dropped, each with the reason it was dropped. */
|
|
112
|
+
unavailable: v.array(v.object({
|
|
113
|
+
id: v.string(),
|
|
114
|
+
label: v.string(),
|
|
115
|
+
reason: toolServerUnavailableReasonSchema,
|
|
116
|
+
})),
|
|
117
|
+
/**
|
|
118
|
+
* The agent kind whose declarations these two lists describe: the kind that was DISPATCHED, not
|
|
119
|
+
* necessarily the kind the step is named for.
|
|
120
|
+
*
|
|
121
|
+
* Required, because a step's own `agentKind` is routinely not what ran: a `ci` gate escalates to
|
|
122
|
+
* `ci-fixer`, a tester hands off to `fixer`, a two-phase coder dispatches twice. Each of those
|
|
123
|
+
* re-dispatches resolves its OWN kind's declarations and overwrites this record, so without the
|
|
124
|
+
* kind stamped on it the lists would be read under the step's kind and describe a different
|
|
125
|
+
* agent's capabilities. The engine stamps it from the same `dispatchedKind` that feeds
|
|
126
|
+
* `step.dispatches`, so an executor cannot mislabel it.
|
|
127
|
+
*/
|
|
128
|
+
agentKind: v.string(),
|
|
129
|
+
});
|
|
56
130
|
/**
|
|
57
131
|
* One credential a declaration asks for, by NAME.
|
|
58
132
|
*
|
package/dist/tool-servers.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tool-servers.js","sourceRoot":"","sources":["../src/tool-servers.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,CAAC,MAAM,SAAS,CAAA;AAE5B,8EAA8E;AAC9E,6FAA6F;AAC7F,yBAAyB;AACzB,EAAE;AACF,oGAAoG;AACpG,+FAA+F;AAC/F,mGAAmG;AACnG,iGAAiG;AACjG,oGAAoG;AACpG,EAAE;AACF,sCAAsC;AACtC,EAAE;AACF,oGAAoG;AACpG,6FAA6F;AAC7F,mDAAmD;AACnD,qGAAqG;AACrG,gBAAgB;AAChB,EAAE;AACF,oGAAoG;AACpG,kGAAkG;AAClG,iGAAiG;AACjG,uDAAuD;AACvD,EAAE;AACF,mGAAmG;AACnG,6FAA6F;AAC7F,8EAA8E;AAC9E,8EAA8E;AAE9E,qFAAqF;AACrF,MAAM,CAAC,MAAM,yBAAyB,GAAG,CAAC,CAAC,QAAQ,CAAC,CAAC,OAAO,EAAE,MAAM,CAAC,CAAC,CAAA;AAGtE;;;;;;;;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