@kitman-sh/sdk 0.10.71 → 0.10.73

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.71",
3
+ "version": "0.10.73",
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
  }
@@ -1372,51 +1372,7 @@ declare const RunnerCapabilityRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"AdmitChild",
1372
1372
  /** A program's domain calls. */
1373
1373
  export declare class RunnerCapabilityRpcs extends RunnerCapabilityRpcs_base {
1374
1374
  }
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<{
1375
+ declare const RunnerRunFileRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"CompleteRunFile", Schema.Struct<{
1420
1376
  lease: Schema.Struct<{
1421
1377
  readonly workUnitId: Schema.String;
1422
1378
  readonly leaseOwnerId: Schema.String;
@@ -1442,31 +1398,7 @@ declare const RunnerRunFileRpcs_base: RpcGroup.RpcGroup<Rpc.Rpc<"CreateRunFile",
1442
1398
  readonly byteSize: Schema.Int;
1443
1399
  readonly sha256: Schema.String;
1444
1400
  readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
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<{
1401
+ }>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateRunFile", Schema.Struct<{
1470
1402
  lease: Schema.Struct<{
1471
1403
  readonly workUnitId: Schema.String;
1472
1404
  readonly leaseOwnerId: Schema.String;
@@ -1510,7 +1442,31 @@ export declare const ProgramRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"CreateRunFile", Sch
1510
1442
  readonly partNumber: Schema.Int;
1511
1443
  }>>;
1512
1444
  }>]>>;
1513
- }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"AdmitChild", Schema.Struct<{
1445
+ }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, 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<"AdmitChild", Schema.Struct<{
1514
1470
  lease: Schema.Struct<{
1515
1471
  readonly workUnitId: Schema.String;
1516
1472
  readonly leaseOwnerId: Schema.String;
@@ -1675,7 +1631,51 @@ export declare const ProgramRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"CreateRunFile", Sch
1675
1631
  }>, Schema.$Array<Schema.Struct<{
1676
1632
  readonly key: Schema.String;
1677
1633
  readonly taskId: Schema.String;
1678
- }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"DeferredDone", Schema.Struct<{
1634
+ }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateRunFile", Schema.Struct<{
1635
+ lease: Schema.Struct<{
1636
+ readonly workUnitId: Schema.String;
1637
+ readonly leaseOwnerId: Schema.String;
1638
+ readonly runnerReplicaId: Schema.String;
1639
+ readonly leaseId: Schema.String;
1640
+ readonly attempt: Schema.Int;
1641
+ readonly fencingToken: Schema.String;
1642
+ readonly capacitySlot: Schema.String;
1643
+ }>;
1644
+ step: Schema.String;
1645
+ name: Schema.String;
1646
+ caption: Schema.optional<Schema.String>;
1647
+ contentType: Schema.String;
1648
+ byteSize: Schema.Int;
1649
+ sha256: Schema.String;
1650
+ }>, Schema.Struct<{
1651
+ readonly file: Schema.Struct<{
1652
+ readonly id: Schema.String;
1653
+ readonly runId: Schema.String;
1654
+ readonly step: Schema.String;
1655
+ readonly name: Schema.String;
1656
+ readonly caption: Schema.optionalKey<Schema.String>;
1657
+ readonly contentType: Schema.String;
1658
+ readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
1659
+ readonly byteSize: Schema.Int;
1660
+ readonly sha256: Schema.String;
1661
+ readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
1662
+ }>;
1663
+ readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
1664
+ readonly url: Schema.String;
1665
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1666
+ readonly expiresAt: Schema.String;
1667
+ readonly kind: Schema.Literal<"single">;
1668
+ }>, Schema.Struct<{
1669
+ readonly kind: Schema.Literal<"multipart">;
1670
+ readonly partSize: Schema.Int;
1671
+ readonly parts: Schema.$Array<Schema.Struct<{
1672
+ readonly url: Schema.String;
1673
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
1674
+ readonly expiresAt: Schema.String;
1675
+ readonly partNumber: Schema.Int;
1676
+ }>>;
1677
+ }>]>>;
1678
+ }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"DeferredDone", Schema.Struct<{
1679
1679
  lease: Schema.Struct<{
1680
1680
  readonly workUnitId: Schema.String;
1681
1681
  readonly leaseOwnerId: Schema.String;
@@ -2249,109 +2249,7 @@ export declare const ProgramRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"CreateRunFile", Sch
2249
2249
  }>;
2250
2250
  }>, Schema.Void, typeof RunnerRpcError, typeof RunnerAuthentication, never>>;
2251
2251
  /** Every group, served on the one Runner RPC endpoint; a request names its procedure by tag alone. */
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<{
2252
+ export declare const RunnerRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"AdmitChild", Schema.Struct<{
2355
2253
  lease: Schema.Struct<{
2356
2254
  readonly workUnitId: Schema.String;
2357
2255
  readonly leaseOwnerId: Schema.String;
@@ -2864,7 +2762,47 @@ export declare const RunnerRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"Signals", Schema.Str
2864
2762
  readonly byteSize: Schema.Int;
2865
2763
  readonly sha256: Schema.String;
2866
2764
  readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
2867
- }>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreatePlanTasks", Schema.Struct<{
2765
+ }>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateCheckpointFile", Schema.Struct<{
2766
+ lease: Schema.Struct<{
2767
+ readonly workUnitId: Schema.String;
2768
+ readonly leaseOwnerId: Schema.String;
2769
+ readonly runnerReplicaId: Schema.String;
2770
+ readonly leaseId: Schema.String;
2771
+ readonly attempt: Schema.Int;
2772
+ readonly fencingToken: Schema.String;
2773
+ readonly capacitySlot: Schema.String;
2774
+ }>;
2775
+ byteSize: Schema.Int;
2776
+ sha256: Schema.String;
2777
+ }>, Schema.Struct<{
2778
+ readonly file: Schema.Struct<{
2779
+ readonly id: Schema.String;
2780
+ readonly runId: Schema.String;
2781
+ readonly step: Schema.String;
2782
+ readonly name: Schema.String;
2783
+ readonly caption: Schema.optionalKey<Schema.String>;
2784
+ readonly contentType: Schema.String;
2785
+ readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
2786
+ readonly byteSize: Schema.Int;
2787
+ readonly sha256: Schema.String;
2788
+ readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
2789
+ }>;
2790
+ readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
2791
+ readonly url: Schema.String;
2792
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2793
+ readonly expiresAt: Schema.String;
2794
+ readonly kind: Schema.Literal<"single">;
2795
+ }>, Schema.Struct<{
2796
+ readonly kind: Schema.Literal<"multipart">;
2797
+ readonly partSize: Schema.Int;
2798
+ readonly parts: Schema.$Array<Schema.Struct<{
2799
+ readonly url: Schema.String;
2800
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2801
+ readonly expiresAt: Schema.String;
2802
+ readonly partNumber: Schema.Int;
2803
+ }>>;
2804
+ }>]>>;
2805
+ }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreatePlanTasks", Schema.Struct<{
2868
2806
  lease: Schema.Struct<{
2869
2807
  readonly workUnitId: Schema.String;
2870
2808
  readonly leaseOwnerId: Schema.String;
@@ -2886,7 +2824,51 @@ export declare const RunnerRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"Signals", Schema.Str
2886
2824
  }>, Schema.$Array<Schema.Struct<{
2887
2825
  readonly key: Schema.String;
2888
2826
  readonly taskId: Schema.String;
2889
- }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"DeferredDone", Schema.Struct<{
2827
+ }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"CreateRunFile", Schema.Struct<{
2828
+ lease: Schema.Struct<{
2829
+ readonly workUnitId: Schema.String;
2830
+ readonly leaseOwnerId: Schema.String;
2831
+ readonly runnerReplicaId: Schema.String;
2832
+ readonly leaseId: Schema.String;
2833
+ readonly attempt: Schema.Int;
2834
+ readonly fencingToken: Schema.String;
2835
+ readonly capacitySlot: Schema.String;
2836
+ }>;
2837
+ step: Schema.String;
2838
+ name: Schema.String;
2839
+ caption: Schema.optional<Schema.String>;
2840
+ contentType: Schema.String;
2841
+ byteSize: Schema.Int;
2842
+ sha256: Schema.String;
2843
+ }>, Schema.Struct<{
2844
+ readonly file: Schema.Struct<{
2845
+ readonly id: Schema.String;
2846
+ readonly runId: Schema.String;
2847
+ readonly step: Schema.String;
2848
+ readonly name: Schema.String;
2849
+ readonly caption: Schema.optionalKey<Schema.String>;
2850
+ readonly contentType: Schema.String;
2851
+ readonly kind: Schema.Literals<readonly ["image", "video", "html", "text", "other"]>;
2852
+ readonly byteSize: Schema.Int;
2853
+ readonly sha256: Schema.String;
2854
+ readonly status: Schema.Literals<readonly ["uploading", "available", "rejected", "refused", "removing", "removed", "expired"]>;
2855
+ }>;
2856
+ readonly upload: Schema.optional<Schema.Union<readonly [Schema.Struct<{
2857
+ readonly url: Schema.String;
2858
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2859
+ readonly expiresAt: Schema.String;
2860
+ readonly kind: Schema.Literal<"single">;
2861
+ }>, Schema.Struct<{
2862
+ readonly kind: Schema.Literal<"multipart">;
2863
+ readonly partSize: Schema.Int;
2864
+ readonly parts: Schema.$Array<Schema.Struct<{
2865
+ readonly url: Schema.String;
2866
+ readonly headers: Schema.optionalKey<Schema.$Record<Schema.String, Schema.String>>;
2867
+ readonly expiresAt: Schema.String;
2868
+ readonly partNumber: Schema.Int;
2869
+ }>>;
2870
+ }>]>>;
2871
+ }>, Schema.Union<readonly [typeof RunnerRpcError, typeof RunFileRefused]>, typeof RunnerAuthentication, never> | Rpc.Rpc<"DeferredDone", Schema.Struct<{
2890
2872
  lease: Schema.Struct<{
2891
2873
  readonly workUnitId: Schema.String;
2892
2874
  readonly leaseOwnerId: Schema.String;
@@ -3479,7 +3461,25 @@ export declare const RunnerRpcs: RpcGroup.RpcGroup<Rpc.Rpc<"Signals", Schema.Str
3479
3461
  }>>;
3480
3462
  }>>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"SettledRuns", Schema.Struct<{
3481
3463
  runIds: Schema.$Array<Schema.String>;
3482
- }>, Schema.$Array<Schema.String>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"StartAgentStep", Schema.Struct<{
3464
+ }>, Schema.$Array<Schema.String>, typeof RunnerRpcError, typeof RunnerAuthentication, never> | Rpc.Rpc<"Signals", Schema.Struct<{
3465
+ runnerReplicaId: Schema.String;
3466
+ }>, import("effect/rpc/RpcSchema").Stream<Schema.Union<readonly [Schema.TaggedStruct<"WorkAvailable", {}>, Schema.TaggedStruct<"LeaseRevoked", {
3467
+ readonly workUnitId: Schema.String;
3468
+ }>, Schema.TaggedStruct<"Settled", {
3469
+ readonly workUnitId: Schema.String;
3470
+ }>, Schema.TaggedStruct<"Canceled", {
3471
+ readonly workUnitId: Schema.String;
3472
+ }>, Schema.TaggedStruct<"RunSettled", {
3473
+ readonly runId: Schema.String;
3474
+ }>, Schema.TaggedStruct<"Steer", {
3475
+ readonly workUnitId: Schema.String;
3476
+ readonly messageId: Schema.String;
3477
+ readonly text: Schema.String;
3478
+ }>, Schema.TaggedStruct<"SessionUpdated", {
3479
+ readonly workUnitId: Schema.String;
3480
+ }>, Schema.TaggedStruct<"UpdateAvailable", {
3481
+ readonly version: Schema.String;
3482
+ }>]>, typeof RunnerRpcError>, Schema.Never, typeof RunnerAuthentication, never> | Rpc.Rpc<"StartAgentStep", Schema.Struct<{
3483
3483
  lease: Schema.Struct<{
3484
3484
  readonly workUnitId: Schema.String;
3485
3485
  readonly leaseOwnerId: Schema.String;