@kitman-sh/sdk 0.10.78 → 0.10.79

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@kitman-sh/sdk",
3
- "version": "0.10.78",
3
+ "version": "0.10.79",
4
4
  "type": "module",
5
5
  "license": "UNLICENSED",
6
6
  "exports": {
@@ -123,65 +123,7 @@ 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<"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<{
126
+ declare const RunnerReplicaRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"AppendTranscript", Schema.Struct<{
185
127
  workUnitId: Schema.String;
186
128
  entries: Schema.$Array<Schema.Struct<{
187
129
  readonly sequence: Schema.Int;
@@ -551,7 +493,47 @@ declare const RunnerReplicaRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"Signals", Schem
551
493
  readonly byteSize: Schema.Int;
552
494
  readonly sha256: Schema.String;
553
495
  readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
554
- }>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"ForgetCheckpoints", Schema.Struct<{
496
+ }>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateCheckpointFile", Schema.Struct<{
497
+ lease: Schema.Struct<{
498
+ readonly workUnitId: Schema.String;
499
+ readonly leaseOwnerId: Schema.String;
500
+ readonly runnerReplicaId: Schema.String;
501
+ readonly leaseId: Schema.String;
502
+ readonly attempt: Schema.Int;
503
+ readonly fencingToken: Schema.String;
504
+ readonly capacitySlot: Schema.String;
505
+ }>;
506
+ byteSize: Schema.Int;
507
+ sha256: Schema.String;
508
+ }>, Schema.Struct<{
509
+ readonly file: Schema.Struct<{
510
+ readonly id: Schema.String;
511
+ readonly runId: Schema.String;
512
+ readonly step: Schema.String;
513
+ readonly name: Schema.String;
514
+ readonly caption: Schema.optionalKey<Schema.String>;
515
+ readonly contentType: Schema.String;
516
+ readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
517
+ readonly byteSize: Schema.Int;
518
+ readonly sha256: Schema.String;
519
+ readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
520
+ }>;
521
+ readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
522
+ readonly url: Schema.String;
523
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
524
+ readonly expiresAt: Schema.String;
525
+ readonly kind: Schema.Literal<"single">;
526
+ }>, Schema.Struct<{
527
+ readonly kind: Schema.Literal<"multipart">;
528
+ readonly partSize: Schema.Int;
529
+ readonly parts: Schema.$Array<Schema.Struct<{
530
+ readonly url: Schema.String;
531
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
532
+ readonly expiresAt: Schema.String;
533
+ readonly partNumber: Schema.Int;
534
+ }>>;
535
+ }>]>>;
536
+ }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"ForgetCheckpoints", Schema.Struct<{
555
537
  stepAttemptIds: Schema.$Array<Schema.String>;
556
538
  }>, Schema.Void, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"GitCredential", Schema.Struct<{
557
539
  repoBindingId: Schema.String;
@@ -668,7 +650,25 @@ declare const RunnerReplicaRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"Signals", Schem
668
650
  }>>;
669
651
  }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"SettledRuns", Schema.Struct<{
670
652
  runIds: Schema.$Array<Schema.String>;
671
- }>, Schema.$Array<Schema.String>, typeof RunnerRpcError, typeof RunnerAuthentication, never>>;
653
+ }>, Schema.$Array<Schema.String>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"Signals", Schema.Struct<{
654
+ runnerReplicaId: Schema.String;
655
+ }>, import("effect/rpc/RpcSchema").Stream<Schema.Union<readonly [Schema.TaggedStruct<"WorkAvailable", {}>, Schema.TaggedStruct<"LeaseRevoked", {
656
+ readonly workUnitId: Schema.String;
657
+ }>, Schema.TaggedStruct<"Settled", {
658
+ readonly workUnitId: Schema.String;
659
+ }>, Schema.TaggedStruct<"Canceled", {
660
+ readonly workUnitId: Schema.String;
661
+ }>, Schema.TaggedStruct<"RunSettled", {
662
+ readonly runId: Schema.String;
663
+ }>, Schema.TaggedStruct<"Steer", {
664
+ readonly workUnitId: Schema.String;
665
+ readonly messageId: Schema.String;
666
+ readonly text: Schema.String;
667
+ }>, Schema.TaggedStruct<"SessionUpdated", {
668
+ readonly workUnitId: Schema.String;
669
+ }>, Schema.TaggedStruct<"UpdateAvailable", {
670
+ readonly version: Schema.String;
671
+ }>]>, typeof RunnerRpcError>, Schema.Never, typeof RunnerAuthentication, never>>;
672
672
  /** The Runner process's procedures: Work Unit leases, signals, checkpoints and bundles. */
673
673
  export declare class RunnerReplicaRpcs extends RunnerReplicaRpcs_base {
674
674
  }
@@ -1380,51 +1380,7 @@ declare const RunnerCapabilityRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"AdmitChild",
1380
1380
  /** A program's domain calls. */
1381
1381
  export declare class RunnerCapabilityRpcs extends RunnerCapabilityRpcs_base {
1382
1382
  }
1383
- declare const RunnerRunFileRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"CreateRunFile", Schema.Struct<{
1384
- lease: Schema.Struct<{
1385
- readonly workUnitId: Schema.String;
1386
- readonly leaseOwnerId: Schema.String;
1387
- readonly runnerReplicaId: Schema.String;
1388
- readonly leaseId: Schema.String;
1389
- readonly attempt: Schema.Int;
1390
- readonly fencingToken: Schema.String;
1391
- readonly capacitySlot: Schema.String;
1392
- }>;
1393
- step: Schema.String;
1394
- name: Schema.String;
1395
- caption: Schema.optional<Schema.String>;
1396
- contentType: Schema.String;
1397
- byteSize: Schema.Int;
1398
- sha256: Schema.String;
1399
- }>, Schema.Struct<{
1400
- readonly file: Schema.Struct<{
1401
- readonly id: Schema.String;
1402
- readonly runId: Schema.String;
1403
- readonly step: Schema.String;
1404
- readonly name: Schema.String;
1405
- readonly caption: Schema.optionalKey<Schema.String>;
1406
- readonly contentType: Schema.String;
1407
- readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
1408
- readonly byteSize: Schema.Int;
1409
- readonly sha256: Schema.String;
1410
- readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
1411
- }>;
1412
- readonly upload: Schema.optional<Schema.Union<readonly [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 kind: Schema.Literal<"single">;
1417
- }>, Schema.Struct<{
1418
- readonly kind: Schema.Literal<"multipart">;
1419
- readonly partSize: Schema.Int;
1420
- readonly parts: Schema.$Array<Schema.Struct<{
1421
- readonly url: Schema.String;
1422
- readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1423
- readonly expiresAt: Schema.String;
1424
- readonly partNumber: Schema.Int;
1425
- }>>;
1426
- }>]>>;
1427
- }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"CompleteRunFile", Schema.Struct<{
1383
+ declare const RunnerRunFileRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"CompleteRunFile", Schema.Struct<{
1428
1384
  lease: Schema.Struct<{
1429
1385
  readonly workUnitId: Schema.String;
1430
1386
  readonly leaseOwnerId: Schema.String;
@@ -1450,31 +1406,7 @@ declare const RunnerRunFileRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"CreateRunFile",
1450
1406
  readonly byteSize: Schema.Int;
1451
1407
  readonly sha256: Schema.String;
1452
1408
  readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
1453
- }>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"RunFileParts", Schema.Struct<{
1454
- lease: Schema.Struct<{
1455
- readonly workUnitId: Schema.String;
1456
- readonly leaseOwnerId: Schema.String;
1457
- readonly runnerReplicaId: Schema.String;
1458
- readonly leaseId: Schema.String;
1459
- readonly attempt: Schema.Int;
1460
- readonly fencingToken: Schema.String;
1461
- readonly capacitySlot: Schema.String;
1462
- }>;
1463
- fileId: Schema.String;
1464
- partNumbers: Schema.$Array<Schema.Int>;
1465
- }>, Schema.Struct<{
1466
- readonly parts: Schema.$Array<Schema.Struct<{
1467
- readonly url: Schema.String;
1468
- readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1469
- readonly expiresAt: Schema.String;
1470
- readonly partNumber: Schema.Int;
1471
- }>>;
1472
- }>, typeof RunnerRpcError, typeof RunnerAuthentication, never>>;
1473
- /** Run File uploads, under a program's orchestration lease or the Runner's verification lease. */
1474
- export declare class RunnerRunFileRpcs extends RunnerRunFileRpcs_base {
1475
- }
1476
- /** What a program process may call; its bundle speaks the Runner RPC protocol version through these. */
1477
- export declare const ProgramRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"CreateRunFile", Schema.Struct<{
1409
+ }>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateRunFile", Schema.Struct<{
1478
1410
  lease: Schema.Struct<{
1479
1411
  readonly workUnitId: Schema.String;
1480
1412
  readonly leaseOwnerId: Schema.String;
@@ -1518,7 +1450,31 @@ export declare const ProgramRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"CreateRunFile", Sch
1518
1450
  readonly partNumber: Schema.Int;
1519
1451
  }>>;
1520
1452
  }>]>>;
1521
- }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"AdmitChild", Schema.Struct<{
1453
+ }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"RunFileParts", Schema.Struct<{
1454
+ lease: Schema.Struct<{
1455
+ readonly workUnitId: Schema.String;
1456
+ readonly leaseOwnerId: Schema.String;
1457
+ readonly runnerReplicaId: Schema.String;
1458
+ readonly leaseId: Schema.String;
1459
+ readonly attempt: Schema.Int;
1460
+ readonly fencingToken: Schema.String;
1461
+ readonly capacitySlot: Schema.String;
1462
+ }>;
1463
+ fileId: Schema.String;
1464
+ partNumbers: Schema.$Array<Schema.Int>;
1465
+ }>, Schema.Struct<{
1466
+ readonly parts: Schema.$Array<Schema.Struct<{
1467
+ readonly url: Schema.String;
1468
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1469
+ readonly expiresAt: Schema.String;
1470
+ readonly partNumber: Schema.Int;
1471
+ }>>;
1472
+ }>, typeof RunnerRpcError, typeof RunnerAuthentication, never>>;
1473
+ /** Run File uploads, under a program's orchestration lease or the Runner's verification lease. */
1474
+ export declare class RunnerRunFileRpcs extends RunnerRunFileRpcs_base {
1475
+ }
1476
+ /** What a program process may call; its bundle speaks the Runner RPC protocol version through these. */
1477
+ export declare const ProgramRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"AdmitChild", Schema.Struct<{
1522
1478
  lease: Schema.Struct<{
1523
1479
  readonly workUnitId: Schema.String;
1524
1480
  readonly leaseOwnerId: Schema.String;
@@ -1685,7 +1641,51 @@ export declare const ProgramRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"CreateRunFile", Sch
1685
1641
  }>, Schema.$Array<Schema.Struct<{
1686
1642
  readonly key: Schema.String;
1687
1643
  readonly taskId: Schema.String;
1688
- }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"DeferredDone", Schema.Struct<{
1644
+ }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateRunFile", Schema.Struct<{
1645
+ lease: Schema.Struct<{
1646
+ readonly workUnitId: Schema.String;
1647
+ readonly leaseOwnerId: Schema.String;
1648
+ readonly runnerReplicaId: Schema.String;
1649
+ readonly leaseId: Schema.String;
1650
+ readonly attempt: Schema.Int;
1651
+ readonly fencingToken: Schema.String;
1652
+ readonly capacitySlot: Schema.String;
1653
+ }>;
1654
+ step: Schema.String;
1655
+ name: Schema.String;
1656
+ caption: Schema.optional<Schema.String>;
1657
+ contentType: Schema.String;
1658
+ byteSize: Schema.Int;
1659
+ sha256: Schema.String;
1660
+ }>, Schema.Struct<{
1661
+ readonly file: Schema.Struct<{
1662
+ readonly id: Schema.String;
1663
+ readonly runId: Schema.String;
1664
+ readonly step: Schema.String;
1665
+ readonly name: Schema.String;
1666
+ readonly caption: Schema.optionalKey<Schema.String>;
1667
+ readonly contentType: Schema.String;
1668
+ readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
1669
+ readonly byteSize: Schema.Int;
1670
+ readonly sha256: Schema.String;
1671
+ readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
1672
+ }>;
1673
+ readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
1674
+ readonly url: Schema.String;
1675
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1676
+ readonly expiresAt: Schema.String;
1677
+ readonly kind: Schema.Literal<"single">;
1678
+ }>, Schema.Struct<{
1679
+ readonly kind: Schema.Literal<"multipart">;
1680
+ readonly partSize: Schema.Int;
1681
+ readonly parts: Schema.$Array<Schema.Struct<{
1682
+ readonly url: Schema.String;
1683
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1684
+ readonly expiresAt: Schema.String;
1685
+ readonly partNumber: Schema.Int;
1686
+ }>>;
1687
+ }>]>>;
1688
+ }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"DeferredDone", Schema.Struct<{
1689
1689
  lease: Schema.Struct<{
1690
1690
  readonly workUnitId: Schema.String;
1691
1691
  readonly leaseOwnerId: Schema.String;
@@ -2265,109 +2265,7 @@ export declare const ProgramRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"CreateRunFile", Sch
2265
2265
  }>;
2266
2266
  }>, Schema.Void, typeof RunnerRpcError, typeof RunnerAuthentication, never>>;
2267
2267
  /** Every group, served on the one Runner RPC endpoint; a request names its procedure by tag alone. */
2268
- export declare const RunnerRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"Signals", Schema.Struct<{
2269
- runnerReplicaId: Schema.String;
2270
- }>, import("effect/rpc/RpcSchema").Stream<Schema.Union<readonly [Schema.TaggedStruct<"WorkAvailable", {}>, Schema.TaggedStruct<"LeaseRevoked", {
2271
- readonly workUnitId: Schema.String;
2272
- }>, Schema.TaggedStruct<"Settled", {
2273
- readonly workUnitId: Schema.String;
2274
- }>, Schema.TaggedStruct<"Canceled", {
2275
- readonly workUnitId: Schema.String;
2276
- }>, Schema.TaggedStruct<"RunSettled", {
2277
- readonly runId: Schema.String;
2278
- }>, Schema.TaggedStruct<"Steer", {
2279
- readonly workUnitId: Schema.String;
2280
- readonly messageId: Schema.String;
2281
- readonly text: Schema.String;
2282
- }>, Schema.TaggedStruct<"SessionUpdated", {
2283
- readonly workUnitId: Schema.String;
2284
- }>, Schema.TaggedStruct<"UpdateAvailable", {
2285
- readonly version: Schema.String;
2286
- }>]>, typeof RunnerRpcError>, Schema.Never, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateCheckpointFile", Schema.Struct<{
2287
- lease: Schema.Struct<{
2288
- readonly workUnitId: Schema.String;
2289
- readonly leaseOwnerId: Schema.String;
2290
- readonly runnerReplicaId: Schema.String;
2291
- readonly leaseId: Schema.String;
2292
- readonly attempt: Schema.Int;
2293
- readonly fencingToken: Schema.String;
2294
- readonly capacitySlot: Schema.String;
2295
- }>;
2296
- byteSize: Schema.Int;
2297
- sha256: Schema.String;
2298
- }>, Schema.Struct<{
2299
- readonly file: Schema.Struct<{
2300
- readonly id: Schema.String;
2301
- readonly runId: Schema.String;
2302
- readonly step: Schema.String;
2303
- readonly name: Schema.String;
2304
- readonly caption: Schema.optionalKey<Schema.String>;
2305
- readonly contentType: Schema.String;
2306
- readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
2307
- readonly byteSize: Schema.Int;
2308
- readonly sha256: Schema.String;
2309
- readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
2310
- }>;
2311
- readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
2312
- readonly url: Schema.String;
2313
- readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2314
- readonly expiresAt: Schema.String;
2315
- readonly kind: Schema.Literal<"single">;
2316
- }>, Schema.Struct<{
2317
- readonly kind: Schema.Literal<"multipart">;
2318
- readonly partSize: Schema.Int;
2319
- readonly parts: Schema.$Array<Schema.Struct<{
2320
- readonly url: Schema.String;
2321
- readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2322
- readonly expiresAt: Schema.String;
2323
- readonly partNumber: Schema.Int;
2324
- }>>;
2325
- }>]>>;
2326
- }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateRunFile", Schema.Struct<{
2327
- lease: Schema.Struct<{
2328
- readonly workUnitId: Schema.String;
2329
- readonly leaseOwnerId: Schema.String;
2330
- readonly runnerReplicaId: Schema.String;
2331
- readonly leaseId: Schema.String;
2332
- readonly attempt: Schema.Int;
2333
- readonly fencingToken: Schema.String;
2334
- readonly capacitySlot: Schema.String;
2335
- }>;
2336
- step: Schema.String;
2337
- name: Schema.String;
2338
- caption: Schema.optional<Schema.String>;
2339
- contentType: Schema.String;
2340
- byteSize: Schema.Int;
2341
- sha256: Schema.String;
2342
- }>, Schema.Struct<{
2343
- readonly file: Schema.Struct<{
2344
- readonly id: Schema.String;
2345
- readonly runId: Schema.String;
2346
- readonly step: Schema.String;
2347
- readonly name: Schema.String;
2348
- readonly caption: Schema.optionalKey<Schema.String>;
2349
- readonly contentType: Schema.String;
2350
- readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
2351
- readonly byteSize: Schema.Int;
2352
- readonly sha256: Schema.String;
2353
- readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
2354
- }>;
2355
- readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
2356
- readonly url: Schema.String;
2357
- readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2358
- readonly expiresAt: Schema.String;
2359
- readonly kind: Schema.Literal<"single">;
2360
- }>, Schema.Struct<{
2361
- readonly kind: Schema.Literal<"multipart">;
2362
- readonly partSize: Schema.Int;
2363
- readonly parts: Schema.$Array<Schema.Struct<{
2364
- readonly url: Schema.String;
2365
- readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2366
- readonly expiresAt: Schema.String;
2367
- readonly partNumber: Schema.Int;
2368
- }>>;
2369
- }>]>>;
2370
- }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"AdmitChild", Schema.Struct<{
2268
+ export declare const RunnerRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"AdmitChild", Schema.Struct<{
2371
2269
  lease: Schema.Struct<{
2372
2270
  readonly workUnitId: Schema.String;
2373
2271
  readonly leaseOwnerId: Schema.String;
@@ -2882,7 +2780,47 @@ export declare const RunnerRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"Signals", Schema.Str
2882
2780
  readonly byteSize: Schema.Int;
2883
2781
  readonly sha256: Schema.String;
2884
2782
  readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
2885
- }>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreatePlanTasks", Schema.Struct<{
2783
+ }>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateCheckpointFile", Schema.Struct<{
2784
+ lease: Schema.Struct<{
2785
+ readonly workUnitId: Schema.String;
2786
+ readonly leaseOwnerId: Schema.String;
2787
+ readonly runnerReplicaId: Schema.String;
2788
+ readonly leaseId: Schema.String;
2789
+ readonly attempt: Schema.Int;
2790
+ readonly fencingToken: Schema.String;
2791
+ readonly capacitySlot: Schema.String;
2792
+ }>;
2793
+ byteSize: Schema.Int;
2794
+ sha256: Schema.String;
2795
+ }>, Schema.Struct<{
2796
+ readonly file: Schema.Struct<{
2797
+ readonly id: Schema.String;
2798
+ readonly runId: Schema.String;
2799
+ readonly step: Schema.String;
2800
+ readonly name: Schema.String;
2801
+ readonly caption: Schema.optionalKey<Schema.String>;
2802
+ readonly contentType: Schema.String;
2803
+ readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
2804
+ readonly byteSize: Schema.Int;
2805
+ readonly sha256: Schema.String;
2806
+ readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
2807
+ }>;
2808
+ readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
2809
+ readonly url: Schema.String;
2810
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2811
+ readonly expiresAt: Schema.String;
2812
+ readonly kind: Schema.Literal<"single">;
2813
+ }>, Schema.Struct<{
2814
+ readonly kind: Schema.Literal<"multipart">;
2815
+ readonly partSize: Schema.Int;
2816
+ readonly parts: Schema.$Array<Schema.Struct<{
2817
+ readonly url: Schema.String;
2818
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2819
+ readonly expiresAt: Schema.String;
2820
+ readonly partNumber: Schema.Int;
2821
+ }>>;
2822
+ }>]>>;
2823
+ }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreatePlanTasks", Schema.Struct<{
2886
2824
  lease: Schema.Struct<{
2887
2825
  readonly workUnitId: Schema.String;
2888
2826
  readonly leaseOwnerId: Schema.String;
@@ -2904,7 +2842,51 @@ export declare const RunnerRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"Signals", Schema.Str
2904
2842
  }>, Schema.$Array<Schema.Struct<{
2905
2843
  readonly key: Schema.String;
2906
2844
  readonly taskId: Schema.String;
2907
- }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"DeferredDone", Schema.Struct<{
2845
+ }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateRunFile", Schema.Struct<{
2846
+ lease: Schema.Struct<{
2847
+ readonly workUnitId: Schema.String;
2848
+ readonly leaseOwnerId: Schema.String;
2849
+ readonly runnerReplicaId: Schema.String;
2850
+ readonly leaseId: Schema.String;
2851
+ readonly attempt: Schema.Int;
2852
+ readonly fencingToken: Schema.String;
2853
+ readonly capacitySlot: Schema.String;
2854
+ }>;
2855
+ step: Schema.String;
2856
+ name: Schema.String;
2857
+ caption: Schema.optional<Schema.String>;
2858
+ contentType: Schema.String;
2859
+ byteSize: Schema.Int;
2860
+ sha256: Schema.String;
2861
+ }>, Schema.Struct<{
2862
+ readonly file: Schema.Struct<{
2863
+ readonly id: Schema.String;
2864
+ readonly runId: Schema.String;
2865
+ readonly step: Schema.String;
2866
+ readonly name: Schema.String;
2867
+ readonly caption: Schema.optionalKey<Schema.String>;
2868
+ readonly contentType: Schema.String;
2869
+ readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
2870
+ readonly byteSize: Schema.Int;
2871
+ readonly sha256: Schema.String;
2872
+ readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
2873
+ }>;
2874
+ readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
2875
+ readonly url: Schema.String;
2876
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2877
+ readonly expiresAt: Schema.String;
2878
+ readonly kind: Schema.Literal<"single">;
2879
+ }>, Schema.Struct<{
2880
+ readonly kind: Schema.Literal<"multipart">;
2881
+ readonly partSize: Schema.Int;
2882
+ readonly parts: Schema.$Array<Schema.Struct<{
2883
+ readonly url: Schema.String;
2884
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2885
+ readonly expiresAt: Schema.String;
2886
+ readonly partNumber: Schema.Int;
2887
+ }>>;
2888
+ }>]>>;
2889
+ }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"DeferredDone", Schema.Struct<{
2908
2890
  lease: Schema.Struct<{
2909
2891
  readonly workUnitId: Schema.String;
2910
2892
  readonly leaseOwnerId: Schema.String;
@@ -3503,7 +3485,25 @@ export declare const RunnerRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"Signals", Schema.Str
3503
3485
  }>>;
3504
3486
  }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"SettledRuns", Schema.Struct<{
3505
3487
  runIds: Schema.$Array<Schema.String>;
3506
- }>, Schema.$Array<Schema.String>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"StartAgentStep", Schema.Struct<{
3488
+ }>, Schema.$Array<Schema.String>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"Signals", Schema.Struct<{
3489
+ runnerReplicaId: Schema.String;
3490
+ }>, import("effect/rpc/RpcSchema").Stream<Schema.Union<readonly [Schema.TaggedStruct<"WorkAvailable", {}>, Schema.TaggedStruct<"LeaseRevoked", {
3491
+ readonly workUnitId: Schema.String;
3492
+ }>, Schema.TaggedStruct<"Settled", {
3493
+ readonly workUnitId: Schema.String;
3494
+ }>, Schema.TaggedStruct<"Canceled", {
3495
+ readonly workUnitId: Schema.String;
3496
+ }>, Schema.TaggedStruct<"RunSettled", {
3497
+ readonly runId: Schema.String;
3498
+ }>, Schema.TaggedStruct<"Steer", {
3499
+ readonly workUnitId: Schema.String;
3500
+ readonly messageId: Schema.String;
3501
+ readonly text: Schema.String;
3502
+ }>, Schema.TaggedStruct<"SessionUpdated", {
3503
+ readonly workUnitId: Schema.String;
3504
+ }>, Schema.TaggedStruct<"UpdateAvailable", {
3505
+ readonly version: Schema.String;
3506
+ }>]>, typeof RunnerRpcError>, Schema.Never, typeof RunnerAuthentication, never> | Rpc.Rpc<"StartAgentStep", Schema.Struct<{
3507
3507
  lease: Schema.Struct<{
3508
3508
  readonly workUnitId: Schema.String;
3509
3509
  readonly leaseOwnerId: Schema.String;