@kitman-sh/sdk 0.10.70 → 0.10.71

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.
@@ -123,7 +123,65 @@ export declare const ProgramOutcome: Schema.Union<readonly [Schema.Struct<{
123
123
  readonly status: Schema.Literal<"failed">;
124
124
  readonly failureSummary: Schema.String;
125
125
  }>]>;
126
- declare const RunnerReplicaRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"AppendTranscript", Schema.Struct<{
126
+ declare const RunnerReplicaRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"Signals", Schema.Struct<{
127
+ runnerReplicaId: Schema.String;
128
+ }>, import("effect/rpc/RpcSchema").Stream<Schema.Union<readonly [Schema.TaggedStruct<"WorkAvailable", {}>, Schema.TaggedStruct<"LeaseRevoked", {
129
+ readonly workUnitId: Schema.String;
130
+ }>, Schema.TaggedStruct<"Settled", {
131
+ readonly workUnitId: Schema.String;
132
+ }>, Schema.TaggedStruct<"Canceled", {
133
+ readonly workUnitId: Schema.String;
134
+ }>, Schema.TaggedStruct<"RunSettled", {
135
+ readonly runId: Schema.String;
136
+ }>, Schema.TaggedStruct<"Steer", {
137
+ readonly workUnitId: Schema.String;
138
+ readonly messageId: Schema.String;
139
+ readonly text: Schema.String;
140
+ }>, Schema.TaggedStruct<"SessionUpdated", {
141
+ readonly workUnitId: Schema.String;
142
+ }>, Schema.TaggedStruct<"UpdateAvailable", {
143
+ readonly version: Schema.String;
144
+ }>]>, typeof RunnerRpcError>, Schema.Never, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateCheckpointFile", Schema.Struct<{
145
+ lease: Schema.Struct<{
146
+ readonly workUnitId: Schema.String;
147
+ readonly leaseOwnerId: Schema.String;
148
+ readonly runnerReplicaId: Schema.String;
149
+ readonly leaseId: Schema.String;
150
+ readonly attempt: Schema.Int;
151
+ readonly fencingToken: Schema.String;
152
+ readonly capacitySlot: Schema.String;
153
+ }>;
154
+ byteSize: Schema.Int;
155
+ sha256: Schema.String;
156
+ }>, Schema.Struct<{
157
+ readonly file: Schema.Struct<{
158
+ readonly id: Schema.String;
159
+ readonly runId: Schema.String;
160
+ readonly step: Schema.String;
161
+ readonly name: Schema.String;
162
+ readonly caption: Schema.optionalKey<Schema.String>;
163
+ readonly contentType: Schema.String;
164
+ readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
165
+ readonly byteSize: Schema.Int;
166
+ readonly sha256: Schema.String;
167
+ readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
168
+ }>;
169
+ readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
170
+ readonly url: Schema.String;
171
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
172
+ readonly expiresAt: Schema.String;
173
+ readonly kind: Schema.Literal<"single">;
174
+ }>, Schema.Struct<{
175
+ readonly kind: Schema.Literal<"multipart">;
176
+ readonly partSize: Schema.Int;
177
+ readonly parts: Schema.$Array<Schema.Struct<{
178
+ readonly url: Schema.String;
179
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
180
+ readonly expiresAt: Schema.String;
181
+ readonly partNumber: Schema.Int;
182
+ }>>;
183
+ }>]>>;
184
+ }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"AppendTranscript", Schema.Struct<{
127
185
  workUnitId: Schema.String;
128
186
  entries: Schema.$Array<Schema.Struct<{
129
187
  readonly sequence: Schema.Int;
@@ -400,6 +458,14 @@ declare const RunnerReplicaRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"AppendTranscrip
400
458
  readonly durationMs: Schema.Int;
401
459
  readonly outputTail: Schema.String;
402
460
  readonly fileIds: Schema.optionalKey<Schema.$Array<Schema.String>>;
461
+ readonly tests: Schema.optionalKey<Schema.Struct<{
462
+ readonly reports: Schema.Int;
463
+ readonly passed: Schema.Int;
464
+ readonly failed: Schema.Int;
465
+ readonly skipped: Schema.Int;
466
+ readonly skippedTests: Schema.$Array<Schema.String>;
467
+ readonly ranDigests: Schema.$Array<Schema.String>;
468
+ }>>;
403
469
  }>>;
404
470
  }>;
405
471
  readonly baseline: Schema.optionalKey<Schema.Struct<{
@@ -413,6 +479,14 @@ declare const RunnerReplicaRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"AppendTranscrip
413
479
  readonly durationMs: Schema.Int;
414
480
  readonly outputTail: Schema.String;
415
481
  readonly fileIds: Schema.optionalKey<Schema.$Array<Schema.String>>;
482
+ readonly tests: Schema.optionalKey<Schema.Struct<{
483
+ readonly reports: Schema.Int;
484
+ readonly passed: Schema.Int;
485
+ readonly failed: Schema.Int;
486
+ readonly skipped: Schema.Int;
487
+ readonly skippedTests: Schema.$Array<Schema.String>;
488
+ readonly ranDigests: Schema.$Array<Schema.String>;
489
+ }>>;
416
490
  }>>;
417
491
  }>>;
418
492
  readonly measurement: Schema.optionalKey<Schema.Struct<{
@@ -477,47 +551,7 @@ declare const RunnerReplicaRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"AppendTranscrip
477
551
  readonly byteSize: Schema.Int;
478
552
  readonly sha256: Schema.String;
479
553
  readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
480
- }>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateCheckpointFile", Schema.Struct<{
481
- lease: Schema.Struct<{
482
- readonly workUnitId: Schema.String;
483
- readonly leaseOwnerId: Schema.String;
484
- readonly runnerReplicaId: Schema.String;
485
- readonly leaseId: Schema.String;
486
- readonly attempt: Schema.Int;
487
- readonly fencingToken: Schema.String;
488
- readonly capacitySlot: Schema.String;
489
- }>;
490
- byteSize: Schema.Int;
491
- sha256: Schema.String;
492
- }>, Schema.Struct<{
493
- readonly file: Schema.Struct<{
494
- readonly id: Schema.String;
495
- readonly runId: Schema.String;
496
- readonly step: Schema.String;
497
- readonly name: Schema.String;
498
- readonly caption: Schema.optionalKey<Schema.String>;
499
- readonly contentType: Schema.String;
500
- readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
501
- readonly byteSize: Schema.Int;
502
- readonly sha256: Schema.String;
503
- readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
504
- }>;
505
- readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
506
- readonly url: Schema.String;
507
- readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
508
- readonly expiresAt: Schema.String;
509
- readonly kind: Schema.Literal<"single">;
510
- }>, Schema.Struct<{
511
- readonly kind: Schema.Literal<"multipart">;
512
- readonly partSize: Schema.Int;
513
- readonly parts: Schema.$Array<Schema.Struct<{
514
- readonly url: Schema.String;
515
- readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
516
- readonly expiresAt: Schema.String;
517
- readonly partNumber: Schema.Int;
518
- }>>;
519
- }>]>>;
520
- }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"ForgetCheckpoints", Schema.Struct<{
554
+ }>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"ForgetCheckpoints", Schema.Struct<{
521
555
  stepAttemptIds: Schema.$Array<Schema.String>;
522
556
  }>, Schema.Void, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"GitCredential", Schema.Struct<{
523
557
  repoBindingId: Schema.String;
@@ -634,25 +668,7 @@ declare const RunnerReplicaRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"AppendTranscrip
634
668
  }>>;
635
669
  }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"SettledRuns", Schema.Struct<{
636
670
  runIds: Schema.$Array<Schema.String>;
637
- }>, Schema.$Array<Schema.String>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"Signals", Schema.Struct<{
638
- runnerReplicaId: Schema.String;
639
- }>, import("effect/rpc/RpcSchema").Stream<Schema.Union<readonly [Schema.TaggedStruct<"WorkAvailable", {}>, Schema.TaggedStruct<"LeaseRevoked", {
640
- readonly workUnitId: Schema.String;
641
- }>, Schema.TaggedStruct<"Settled", {
642
- readonly workUnitId: Schema.String;
643
- }>, Schema.TaggedStruct<"Canceled", {
644
- readonly workUnitId: Schema.String;
645
- }>, Schema.TaggedStruct<"RunSettled", {
646
- readonly runId: Schema.String;
647
- }>, Schema.TaggedStruct<"Steer", {
648
- readonly workUnitId: Schema.String;
649
- readonly messageId: Schema.String;
650
- readonly text: Schema.String;
651
- }>, Schema.TaggedStruct<"SessionUpdated", {
652
- readonly workUnitId: Schema.String;
653
- }>, Schema.TaggedStruct<"UpdateAvailable", {
654
- readonly version: Schema.String;
655
- }>]>, typeof RunnerRpcError>, Schema.Never, typeof RunnerAuthentication, never>>;
671
+ }>, Schema.$Array<Schema.String>, typeof RunnerRpcError, typeof RunnerAuthentication, never>>;
656
672
  /** The Runner process's procedures: Work Unit leases, signals, checkpoints and bundles. */
657
673
  export declare class RunnerReplicaRpcs extends RunnerReplicaRpcs_base {
658
674
  }
@@ -1356,7 +1372,51 @@ declare const RunnerCapabilityRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"AdmitChild",
1356
1372
  /** A program's domain calls. */
1357
1373
  export declare class RunnerCapabilityRpcs extends RunnerCapabilityRpcs_base {
1358
1374
  }
1359
- declare const RunnerRunFileRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"CompleteRunFile", Schema.Struct<{
1375
+ declare const RunnerRunFileRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"CreateRunFile", Schema.Struct<{
1376
+ lease: Schema.Struct<{
1377
+ readonly workUnitId: Schema.String;
1378
+ readonly leaseOwnerId: Schema.String;
1379
+ readonly runnerReplicaId: Schema.String;
1380
+ readonly leaseId: Schema.String;
1381
+ readonly attempt: Schema.Int;
1382
+ readonly fencingToken: Schema.String;
1383
+ readonly capacitySlot: Schema.String;
1384
+ }>;
1385
+ step: Schema.String;
1386
+ name: Schema.String;
1387
+ caption: Schema.optional<Schema.String>;
1388
+ contentType: Schema.String;
1389
+ byteSize: Schema.Int;
1390
+ sha256: Schema.String;
1391
+ }>, Schema.Struct<{
1392
+ readonly file: Schema.Struct<{
1393
+ readonly id: Schema.String;
1394
+ readonly runId: Schema.String;
1395
+ readonly step: Schema.String;
1396
+ readonly name: Schema.String;
1397
+ readonly caption: Schema.optionalKey<Schema.String>;
1398
+ readonly contentType: Schema.String;
1399
+ readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
1400
+ readonly byteSize: Schema.Int;
1401
+ readonly sha256: Schema.String;
1402
+ readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
1403
+ }>;
1404
+ readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
1405
+ readonly url: Schema.String;
1406
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1407
+ readonly expiresAt: Schema.String;
1408
+ readonly kind: Schema.Literal<"single">;
1409
+ }>, Schema.Struct<{
1410
+ readonly kind: Schema.Literal<"multipart">;
1411
+ readonly partSize: Schema.Int;
1412
+ readonly parts: Schema.$Array<Schema.Struct<{
1413
+ readonly url: Schema.String;
1414
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1415
+ readonly expiresAt: Schema.String;
1416
+ readonly partNumber: Schema.Int;
1417
+ }>>;
1418
+ }>]>>;
1419
+ }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"CompleteRunFile", Schema.Struct<{
1360
1420
  lease: Schema.Struct<{
1361
1421
  readonly workUnitId: Schema.String;
1362
1422
  readonly leaseOwnerId: Schema.String;
@@ -1382,7 +1442,31 @@ declare const RunnerRunFileRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"CompleteRunFile
1382
1442
  readonly byteSize: Schema.Int;
1383
1443
  readonly sha256: Schema.String;
1384
1444
  readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
1385
- }>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateRunFile", Schema.Struct<{
1445
+ }>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"RunFileParts", Schema.Struct<{
1446
+ lease: Schema.Struct<{
1447
+ readonly workUnitId: Schema.String;
1448
+ readonly leaseOwnerId: Schema.String;
1449
+ readonly runnerReplicaId: Schema.String;
1450
+ readonly leaseId: Schema.String;
1451
+ readonly attempt: Schema.Int;
1452
+ readonly fencingToken: Schema.String;
1453
+ readonly capacitySlot: Schema.String;
1454
+ }>;
1455
+ fileId: Schema.String;
1456
+ partNumbers: Schema.$Array<Schema.Int>;
1457
+ }>, Schema.Struct<{
1458
+ readonly parts: Schema.$Array<Schema.Struct<{
1459
+ readonly url: Schema.String;
1460
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1461
+ readonly expiresAt: Schema.String;
1462
+ readonly partNumber: Schema.Int;
1463
+ }>>;
1464
+ }>, typeof RunnerRpcError, typeof RunnerAuthentication, never>>;
1465
+ /** Run File uploads, under a program's orchestration lease or the Runner's verification lease. */
1466
+ export declare class RunnerRunFileRpcs extends RunnerRunFileRpcs_base {
1467
+ }
1468
+ /** What a program process may call; its bundle speaks the Runner RPC protocol version through these. */
1469
+ export declare const ProgramRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"CreateRunFile", Schema.Struct<{
1386
1470
  lease: Schema.Struct<{
1387
1471
  readonly workUnitId: Schema.String;
1388
1472
  readonly leaseOwnerId: Schema.String;
@@ -1426,31 +1510,7 @@ declare const RunnerRunFileRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"CompleteRunFile
1426
1510
  readonly partNumber: Schema.Int;
1427
1511
  }>>;
1428
1512
  }>]>>;
1429
- }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"RunFileParts", Schema.Struct<{
1430
- lease: Schema.Struct<{
1431
- readonly workUnitId: Schema.String;
1432
- readonly leaseOwnerId: Schema.String;
1433
- readonly runnerReplicaId: Schema.String;
1434
- readonly leaseId: Schema.String;
1435
- readonly attempt: Schema.Int;
1436
- readonly fencingToken: Schema.String;
1437
- readonly capacitySlot: Schema.String;
1438
- }>;
1439
- fileId: Schema.String;
1440
- partNumbers: Schema.$Array<Schema.Int>;
1441
- }>, Schema.Struct<{
1442
- readonly parts: Schema.$Array<Schema.Struct<{
1443
- readonly url: Schema.String;
1444
- readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1445
- readonly expiresAt: Schema.String;
1446
- readonly partNumber: Schema.Int;
1447
- }>>;
1448
- }>, typeof RunnerRpcError, typeof RunnerAuthentication, never>>;
1449
- /** Run File uploads, under a program's orchestration lease or the Runner's verification lease. */
1450
- export declare class RunnerRunFileRpcs extends RunnerRunFileRpcs_base {
1451
- }
1452
- /** What a program process may call; its bundle speaks the Runner RPC protocol version through these. */
1453
- export declare const ProgramRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"AdmitChild", Schema.Struct<{
1513
+ }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"AdmitChild", Schema.Struct<{
1454
1514
  lease: Schema.Struct<{
1455
1515
  readonly workUnitId: Schema.String;
1456
1516
  readonly leaseOwnerId: Schema.String;
@@ -1615,51 +1675,7 @@ export declare const ProgramRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"AdmitChild", Schema
1615
1675
  }>, Schema.$Array<Schema.Struct<{
1616
1676
  readonly key: Schema.String;
1617
1677
  readonly taskId: Schema.String;
1618
- }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateRunFile", Schema.Struct<{
1619
- lease: Schema.Struct<{
1620
- readonly workUnitId: Schema.String;
1621
- readonly leaseOwnerId: Schema.String;
1622
- readonly runnerReplicaId: Schema.String;
1623
- readonly leaseId: Schema.String;
1624
- readonly attempt: Schema.Int;
1625
- readonly fencingToken: Schema.String;
1626
- readonly capacitySlot: Schema.String;
1627
- }>;
1628
- step: Schema.String;
1629
- name: Schema.String;
1630
- caption: Schema.optional<Schema.String>;
1631
- contentType: Schema.String;
1632
- byteSize: Schema.Int;
1633
- sha256: Schema.String;
1634
- }>, Schema.Struct<{
1635
- readonly file: Schema.Struct<{
1636
- readonly id: Schema.String;
1637
- readonly runId: Schema.String;
1638
- readonly step: Schema.String;
1639
- readonly name: Schema.String;
1640
- readonly caption: Schema.optionalKey<Schema.String>;
1641
- readonly contentType: Schema.String;
1642
- readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
1643
- readonly byteSize: Schema.Int;
1644
- readonly sha256: Schema.String;
1645
- readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
1646
- }>;
1647
- readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
1648
- readonly url: Schema.String;
1649
- readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1650
- readonly expiresAt: Schema.String;
1651
- readonly kind: Schema.Literal<"single">;
1652
- }>, Schema.Struct<{
1653
- readonly kind: Schema.Literal<"multipart">;
1654
- readonly partSize: Schema.Int;
1655
- readonly parts: Schema.$Array<Schema.Struct<{
1656
- readonly url: Schema.String;
1657
- readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1658
- readonly expiresAt: Schema.String;
1659
- readonly partNumber: Schema.Int;
1660
- }>>;
1661
- }>]>>;
1662
- }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"DeferredDone", Schema.Struct<{
1678
+ }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"DeferredDone", Schema.Struct<{
1663
1679
  lease: Schema.Struct<{
1664
1680
  readonly workUnitId: Schema.String;
1665
1681
  readonly leaseOwnerId: Schema.String;
@@ -2233,7 +2249,109 @@ export declare const ProgramRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"AdmitChild", Schema
2233
2249
  }>;
2234
2250
  }>, Schema.Void, typeof RunnerRpcError, typeof RunnerAuthentication, never>>;
2235
2251
  /** Every group, served on the one Runner RPC endpoint; a request names its procedure by tag alone. */
2236
- export declare const RunnerRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"AdmitChild", Schema.Struct<{
2252
+ export declare const RunnerRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"Signals", Schema.Struct<{
2253
+ runnerReplicaId: Schema.String;
2254
+ }>, import("effect/rpc/RpcSchema").Stream<Schema.Union<readonly [Schema.TaggedStruct<"WorkAvailable", {}>, Schema.TaggedStruct<"LeaseRevoked", {
2255
+ readonly workUnitId: Schema.String;
2256
+ }>, Schema.TaggedStruct<"Settled", {
2257
+ readonly workUnitId: Schema.String;
2258
+ }>, Schema.TaggedStruct<"Canceled", {
2259
+ readonly workUnitId: Schema.String;
2260
+ }>, Schema.TaggedStruct<"RunSettled", {
2261
+ readonly runId: Schema.String;
2262
+ }>, Schema.TaggedStruct<"Steer", {
2263
+ readonly workUnitId: Schema.String;
2264
+ readonly messageId: Schema.String;
2265
+ readonly text: Schema.String;
2266
+ }>, Schema.TaggedStruct<"SessionUpdated", {
2267
+ readonly workUnitId: Schema.String;
2268
+ }>, Schema.TaggedStruct<"UpdateAvailable", {
2269
+ readonly version: Schema.String;
2270
+ }>]>, typeof RunnerRpcError>, Schema.Never, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateCheckpointFile", Schema.Struct<{
2271
+ lease: Schema.Struct<{
2272
+ readonly workUnitId: Schema.String;
2273
+ readonly leaseOwnerId: Schema.String;
2274
+ readonly runnerReplicaId: Schema.String;
2275
+ readonly leaseId: Schema.String;
2276
+ readonly attempt: Schema.Int;
2277
+ readonly fencingToken: Schema.String;
2278
+ readonly capacitySlot: Schema.String;
2279
+ }>;
2280
+ byteSize: Schema.Int;
2281
+ sha256: Schema.String;
2282
+ }>, Schema.Struct<{
2283
+ readonly file: Schema.Struct<{
2284
+ readonly id: Schema.String;
2285
+ readonly runId: Schema.String;
2286
+ readonly step: Schema.String;
2287
+ readonly name: Schema.String;
2288
+ readonly caption: Schema.optionalKey<Schema.String>;
2289
+ readonly contentType: Schema.String;
2290
+ readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
2291
+ readonly byteSize: Schema.Int;
2292
+ readonly sha256: Schema.String;
2293
+ readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
2294
+ }>;
2295
+ readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
2296
+ readonly url: Schema.String;
2297
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2298
+ readonly expiresAt: Schema.String;
2299
+ readonly kind: Schema.Literal<"single">;
2300
+ }>, Schema.Struct<{
2301
+ readonly kind: Schema.Literal<"multipart">;
2302
+ readonly partSize: Schema.Int;
2303
+ readonly parts: Schema.$Array<Schema.Struct<{
2304
+ readonly url: Schema.String;
2305
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2306
+ readonly expiresAt: Schema.String;
2307
+ readonly partNumber: Schema.Int;
2308
+ }>>;
2309
+ }>]>>;
2310
+ }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateRunFile", Schema.Struct<{
2311
+ lease: Schema.Struct<{
2312
+ readonly workUnitId: Schema.String;
2313
+ readonly leaseOwnerId: Schema.String;
2314
+ readonly runnerReplicaId: Schema.String;
2315
+ readonly leaseId: Schema.String;
2316
+ readonly attempt: Schema.Int;
2317
+ readonly fencingToken: Schema.String;
2318
+ readonly capacitySlot: Schema.String;
2319
+ }>;
2320
+ step: Schema.String;
2321
+ name: Schema.String;
2322
+ caption: Schema.optional<Schema.String>;
2323
+ contentType: Schema.String;
2324
+ byteSize: Schema.Int;
2325
+ sha256: Schema.String;
2326
+ }>, Schema.Struct<{
2327
+ readonly file: Schema.Struct<{
2328
+ readonly id: Schema.String;
2329
+ readonly runId: Schema.String;
2330
+ readonly step: Schema.String;
2331
+ readonly name: Schema.String;
2332
+ readonly caption: Schema.optionalKey<Schema.String>;
2333
+ readonly contentType: Schema.String;
2334
+ readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
2335
+ readonly byteSize: Schema.Int;
2336
+ readonly sha256: Schema.String;
2337
+ readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
2338
+ }>;
2339
+ readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
2340
+ readonly url: Schema.String;
2341
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2342
+ readonly expiresAt: Schema.String;
2343
+ readonly kind: Schema.Literal<"single">;
2344
+ }>, Schema.Struct<{
2345
+ readonly kind: Schema.Literal<"multipart">;
2346
+ readonly partSize: Schema.Int;
2347
+ readonly parts: Schema.$Array<Schema.Struct<{
2348
+ readonly url: Schema.String;
2349
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2350
+ readonly expiresAt: Schema.String;
2351
+ readonly partNumber: Schema.Int;
2352
+ }>>;
2353
+ }>]>>;
2354
+ }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"AdmitChild", Schema.Struct<{
2237
2355
  lease: Schema.Struct<{
2238
2356
  readonly workUnitId: Schema.String;
2239
2357
  readonly leaseOwnerId: Schema.String;
@@ -2627,6 +2745,14 @@ export declare const RunnerRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"AdmitChild", Schema.
2627
2745
  readonly durationMs: Schema.Int;
2628
2746
  readonly outputTail: Schema.String;
2629
2747
  readonly fileIds: Schema.optionalKey<Schema.$Array<Schema.String>>;
2748
+ readonly tests: Schema.optionalKey<Schema.Struct<{
2749
+ readonly reports: Schema.Int;
2750
+ readonly passed: Schema.Int;
2751
+ readonly failed: Schema.Int;
2752
+ readonly skipped: Schema.Int;
2753
+ readonly skippedTests: Schema.$Array<Schema.String>;
2754
+ readonly ranDigests: Schema.$Array<Schema.String>;
2755
+ }>>;
2630
2756
  }>>;
2631
2757
  }>;
2632
2758
  readonly baseline: Schema.optionalKey<Schema.Struct<{
@@ -2640,6 +2766,14 @@ export declare const RunnerRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"AdmitChild", Schema.
2640
2766
  readonly durationMs: Schema.Int;
2641
2767
  readonly outputTail: Schema.String;
2642
2768
  readonly fileIds: Schema.optionalKey<Schema.$Array<Schema.String>>;
2769
+ readonly tests: Schema.optionalKey<Schema.Struct<{
2770
+ readonly reports: Schema.Int;
2771
+ readonly passed: Schema.Int;
2772
+ readonly failed: Schema.Int;
2773
+ readonly skipped: Schema.Int;
2774
+ readonly skippedTests: Schema.$Array<Schema.String>;
2775
+ readonly ranDigests: Schema.$Array<Schema.String>;
2776
+ }>>;
2643
2777
  }>>;
2644
2778
  }>>;
2645
2779
  readonly measurement: Schema.optionalKey<Schema.Struct<{
@@ -2730,47 +2864,7 @@ export declare const RunnerRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"AdmitChild", Schema.
2730
2864
  readonly byteSize: Schema.Int;
2731
2865
  readonly sha256: Schema.String;
2732
2866
  readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
2733
- }>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateCheckpointFile", Schema.Struct<{
2734
- lease: Schema.Struct<{
2735
- readonly workUnitId: Schema.String;
2736
- readonly leaseOwnerId: Schema.String;
2737
- readonly runnerReplicaId: Schema.String;
2738
- readonly leaseId: Schema.String;
2739
- readonly attempt: Schema.Int;
2740
- readonly fencingToken: Schema.String;
2741
- readonly capacitySlot: Schema.String;
2742
- }>;
2743
- byteSize: Schema.Int;
2744
- sha256: Schema.String;
2745
- }>, Schema.Struct<{
2746
- readonly file: Schema.Struct<{
2747
- readonly id: Schema.String;
2748
- readonly runId: Schema.String;
2749
- readonly step: Schema.String;
2750
- readonly name: Schema.String;
2751
- readonly caption: Schema.optionalKey<Schema.String>;
2752
- readonly contentType: Schema.String;
2753
- readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
2754
- readonly byteSize: Schema.Int;
2755
- readonly sha256: Schema.String;
2756
- readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
2757
- }>;
2758
- readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
2759
- readonly url: Schema.String;
2760
- readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2761
- readonly expiresAt: Schema.String;
2762
- readonly kind: Schema.Literal<"single">;
2763
- }>, Schema.Struct<{
2764
- readonly kind: Schema.Literal<"multipart">;
2765
- readonly partSize: Schema.Int;
2766
- readonly parts: Schema.$Array<Schema.Struct<{
2767
- readonly url: Schema.String;
2768
- readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2769
- readonly expiresAt: Schema.String;
2770
- readonly partNumber: Schema.Int;
2771
- }>>;
2772
- }>]>>;
2773
- }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreatePlanTasks", Schema.Struct<{
2867
+ }>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreatePlanTasks", Schema.Struct<{
2774
2868
  lease: Schema.Struct<{
2775
2869
  readonly workUnitId: Schema.String;
2776
2870
  readonly leaseOwnerId: Schema.String;
@@ -2792,51 +2886,7 @@ export declare const RunnerRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"AdmitChild", Schema.
2792
2886
  }>, Schema.$Array<Schema.Struct<{
2793
2887
  readonly key: Schema.String;
2794
2888
  readonly taskId: Schema.String;
2795
- }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateRunFile", Schema.Struct<{
2796
- lease: Schema.Struct<{
2797
- readonly workUnitId: Schema.String;
2798
- readonly leaseOwnerId: Schema.String;
2799
- readonly runnerReplicaId: Schema.String;
2800
- readonly leaseId: Schema.String;
2801
- readonly attempt: Schema.Int;
2802
- readonly fencingToken: Schema.String;
2803
- readonly capacitySlot: Schema.String;
2804
- }>;
2805
- step: Schema.String;
2806
- name: Schema.String;
2807
- caption: Schema.optional<Schema.String>;
2808
- contentType: Schema.String;
2809
- byteSize: Schema.Int;
2810
- sha256: Schema.String;
2811
- }>, Schema.Struct<{
2812
- readonly file: Schema.Struct<{
2813
- readonly id: Schema.String;
2814
- readonly runId: Schema.String;
2815
- readonly step: Schema.String;
2816
- readonly name: Schema.String;
2817
- readonly caption: Schema.optionalKey<Schema.String>;
2818
- readonly contentType: Schema.String;
2819
- readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
2820
- readonly byteSize: Schema.Int;
2821
- readonly sha256: Schema.String;
2822
- readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
2823
- }>;
2824
- readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
2825
- readonly url: Schema.String;
2826
- readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2827
- readonly expiresAt: Schema.String;
2828
- readonly kind: Schema.Literal<"single">;
2829
- }>, Schema.Struct<{
2830
- readonly kind: Schema.Literal<"multipart">;
2831
- readonly partSize: Schema.Int;
2832
- readonly parts: Schema.$Array<Schema.Struct<{
2833
- readonly url: Schema.String;
2834
- readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2835
- readonly expiresAt: Schema.String;
2836
- readonly partNumber: Schema.Int;
2837
- }>>;
2838
- }>]>>;
2839
- }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"DeferredDone", Schema.Struct<{
2889
+ }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"DeferredDone", Schema.Struct<{
2840
2890
  lease: Schema.Struct<{
2841
2891
  readonly workUnitId: Schema.String;
2842
2892
  readonly leaseOwnerId: Schema.String;
@@ -3429,25 +3479,7 @@ export declare const RunnerRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"AdmitChild", Schema.
3429
3479
  }>>;
3430
3480
  }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"SettledRuns", Schema.Struct<{
3431
3481
  runIds: Schema.$Array<Schema.String>;
3432
- }>, Schema.$Array<Schema.String>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"Signals", Schema.Struct<{
3433
- runnerReplicaId: Schema.String;
3434
- }>, import("effect/rpc/RpcSchema").Stream<Schema.Union<readonly [Schema.TaggedStruct<"WorkAvailable", {}>, Schema.TaggedStruct<"LeaseRevoked", {
3435
- readonly workUnitId: Schema.String;
3436
- }>, Schema.TaggedStruct<"Settled", {
3437
- readonly workUnitId: Schema.String;
3438
- }>, Schema.TaggedStruct<"Canceled", {
3439
- readonly workUnitId: Schema.String;
3440
- }>, Schema.TaggedStruct<"RunSettled", {
3441
- readonly runId: Schema.String;
3442
- }>, Schema.TaggedStruct<"Steer", {
3443
- readonly workUnitId: Schema.String;
3444
- readonly messageId: Schema.String;
3445
- readonly text: Schema.String;
3446
- }>, Schema.TaggedStruct<"SessionUpdated", {
3447
- readonly workUnitId: Schema.String;
3448
- }>, Schema.TaggedStruct<"UpdateAvailable", {
3449
- readonly version: Schema.String;
3450
- }>]>, typeof RunnerRpcError>, Schema.Never, typeof RunnerAuthentication, never> | Rpc.Rpc<"StartAgentStep", Schema.Struct<{
3482
+ }>, Schema.$Array<Schema.String>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"StartAgentStep", Schema.Struct<{
3451
3483
  lease: Schema.Struct<{
3452
3484
  readonly workUnitId: Schema.String;
3453
3485
  readonly leaseOwnerId: Schema.String;
@@ -15,6 +15,10 @@ export declare const EvidenceCheck: Schema.Struct<{
15
15
  readonly outputTail: Schema.optionalKey<Schema.String>;
16
16
  /** An agent suggested it because the repository has none approved; a person should check it. */
17
17
  readonly suggested: Schema.optionalKey<Schema.Boolean>;
18
+ /** Tests its JUnit reports show ran on the baseline and were skipped on this tree. */
19
+ readonly skippedSinceBaseline: Schema.optionalKey<Schema.$Array<Schema.String>>;
20
+ /** Tests new on this tree that its JUnit reports show skipped, so they never ran. */
21
+ readonly newNotRun: Schema.optionalKey<Schema.$Array<Schema.String>>;
18
22
  }>;
19
23
  export type EvidenceCheck = typeof EvidenceCheck.Type;
20
24
  /** Evidence for a revision; `tree` is its git tree id, and the evidence holds for any revision with that tree. */
@@ -37,6 +41,10 @@ export declare const VerifyResult: Schema.Struct<{
37
41
  readonly outputTail: Schema.optionalKey<Schema.String>;
38
42
  /** An agent suggested it because the repository has none approved; a person should check it. */
39
43
  readonly suggested: Schema.optionalKey<Schema.Boolean>;
44
+ /** Tests its JUnit reports show ran on the baseline and were skipped on this tree. */
45
+ readonly skippedSinceBaseline: Schema.optionalKey<Schema.$Array<Schema.String>>;
46
+ /** Tests new on this tree that its JUnit reports show skipped, so they never ran. */
47
+ readonly newNotRun: Schema.optionalKey<Schema.$Array<Schema.String>>;
40
48
  }>>;
41
49
  }>;
42
50
  export type VerifyResult = typeof VerifyResult.Type;
@@ -77,5 +85,13 @@ export type EvidenceVerdict = {
77
85
  readonly reasons: readonly string[];
78
86
  };
79
87
  export declare const failsOn: (side: 'base' | 'head', name: string, tree: string | undefined) => string;
80
- /** Whether the Run's evidence closes its Outcome, per `OutcomeTable`; claims in Outputs never count. */
88
+ /**
89
+ * Each check's tests that verify never ran on the tree, which a passing check does not vouch for: new tests it skipped,
90
+ * and tests the baseline ran that it skipped.
91
+ */
92
+ export declare const testsNotRunReasons: (result: VerifyResult) => string[];
93
+ /**
94
+ * Whether the Run's evidence closes its Outcome, per `OutcomeTable`; claims in Outputs never count, and neither do tests
95
+ * the head's checks skipped where the baseline ran them or did not have them.
96
+ */
81
97
  export declare const evidenceGate: (input: EvidenceGateInput) => EvidenceVerdict;
@@ -216,6 +216,8 @@ export declare const verifyDeferred: (step: string) => DurableDeferred.DurableDe
216
216
  readonly evidenceId: Schema.String;
217
217
  readonly outputTail: Schema.optionalKey<Schema.String>;
218
218
  readonly suggested: Schema.optionalKey<Schema.Boolean>;
219
+ readonly skippedSinceBaseline: Schema.optionalKey<Schema.$Array<Schema.String>>;
220
+ readonly newNotRun: Schema.optionalKey<Schema.$Array<Schema.String>>;
219
221
  }>>;
220
222
  }>, typeof StepFailed>;
221
223
  /** Claims the Step name for this Run and checks its capability before running it. */
@@ -338,6 +340,8 @@ export declare const verify: (name: string, request: {
338
340
  readonly evidenceId: string;
339
341
  readonly outputTail?: string;
340
342
  readonly suggested?: boolean;
343
+ readonly skippedSinceBaseline?: readonly string[];
344
+ readonly newNotRun?: readonly string[];
341
345
  }[];
342
346
  }, CapabilityDenied | DuplicateStep | StepFailed, LoopHost | LoopRun | import("effect/workflow/WorkflowEngine").WorkflowEngine | import("effect/workflow/WorkflowEngine").WorkflowInstance>;
343
347
  /** Asks a human to approve a verification, for example one an agent's Output suggested. */