@intentic/sandbox-contract 1.421.0 → 1.422.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (74) hide show
  1. package/dist/contracts/ci.contract.d.ts +30 -0
  2. package/dist/contracts/ci.contract.d.ts.map +1 -1
  3. package/dist/contracts/ci.contract.js +10 -1
  4. package/dist/contracts/ci.contract.js.map +1 -1
  5. package/dist/contracts/device.contract.d.ts +46 -0
  6. package/dist/contracts/device.contract.d.ts.map +1 -1
  7. package/dist/contracts/device.contract.js +2 -0
  8. package/dist/contracts/device.contract.js.map +1 -1
  9. package/dist/contracts/offload.contract.d.ts +51 -0
  10. package/dist/contracts/offload.contract.d.ts.map +1 -1
  11. package/dist/contracts/offload.contract.js +3 -3
  12. package/dist/contracts/offload.contract.js.map +1 -1
  13. package/dist/contracts/runner.contract.d.ts +294 -246
  14. package/dist/contracts/runner.contract.d.ts.map +1 -1
  15. package/dist/events/requests.js +1 -1
  16. package/dist/events/requests.js.map +1 -1
  17. package/dist/models/account-moves.js +4 -4
  18. package/dist/models/account-moves.js.map +1 -1
  19. package/dist/models/plan-pools.d.ts +3 -1
  20. package/dist/models/plan-pools.d.ts.map +1 -1
  21. package/dist/models/plan-pools.js +26 -3
  22. package/dist/models/plan-pools.js.map +1 -1
  23. package/dist/protocol/doors/runner-protocol.d.ts +42 -0
  24. package/dist/protocol/doors/runner-protocol.d.ts.map +1 -1
  25. package/dist/protocol/doors/runner-protocol.js +23 -0
  26. package/dist/protocol/doors/runner-protocol.js.map +1 -1
  27. package/dist/protocol/raw/raw-json-routes.d.ts +4 -0
  28. package/dist/protocol/raw/raw-json-routes.d.ts.map +1 -1
  29. package/dist/protocol/raw/raw-routes.d.ts +8 -0
  30. package/dist/protocol/raw/raw-routes.d.ts.map +1 -1
  31. package/dist/protocol/raw/raw-routes.js +2 -0
  32. package/dist/protocol/raw/raw-routes.js.map +1 -1
  33. package/dist/schemas/ci.d.ts +69 -0
  34. package/dist/schemas/ci.d.ts.map +1 -1
  35. package/dist/schemas/ci.js +30 -0
  36. package/dist/schemas/ci.js.map +1 -1
  37. package/dist/schemas/device-files.d.ts +71 -0
  38. package/dist/schemas/device-files.d.ts.map +1 -0
  39. package/dist/schemas/device-files.js +53 -0
  40. package/dist/schemas/device-files.js.map +1 -0
  41. package/dist/schemas/devices.d.ts.map +1 -1
  42. package/dist/schemas/devices.js.map +1 -1
  43. package/dist/schemas/hosts.d.ts +3 -0
  44. package/dist/schemas/hosts.d.ts.map +1 -1
  45. package/dist/schemas/hosts.js +3 -0
  46. package/dist/schemas/hosts.js.map +1 -1
  47. package/dist/schemas/offload.d.ts +40 -0
  48. package/dist/schemas/offload.d.ts.map +1 -1
  49. package/dist/schemas/offload.js +21 -0
  50. package/dist/schemas/offload.js.map +1 -1
  51. package/dist/schemas/providers/plan-limits.d.ts +1 -0
  52. package/dist/schemas/providers/plan-limits.d.ts.map +1 -1
  53. package/dist/schemas/providers/plan-limits.js +5 -1
  54. package/dist/schemas/providers/plan-limits.js.map +1 -1
  55. package/dist/schemas/settings.js +1 -1
  56. package/dist/schemas/settings.js.map +1 -1
  57. package/package.json +5 -5
  58. package/src/contracts/ci.contract.ts +13 -0
  59. package/src/contracts/device.contract.ts +5 -0
  60. package/src/contracts/offload.contract.ts +3 -2
  61. package/src/events/requests.ts +1 -1
  62. package/src/models/account-moves.ts +6 -6
  63. package/src/models/plan-pools.test.ts +57 -20
  64. package/src/models/plan-pools.ts +48 -8
  65. package/src/protocol/doors/runner-protocol.ts +42 -2
  66. package/src/protocol/raw/raw-routes.ts +5 -0
  67. package/src/schemas/automations.ts +3 -3
  68. package/src/schemas/ci.ts +42 -0
  69. package/src/schemas/device-files.ts +90 -0
  70. package/src/schemas/devices.ts +5 -4
  71. package/src/schemas/hosts.ts +15 -3
  72. package/src/schemas/offload.ts +39 -2
  73. package/src/schemas/providers/plan-limits.ts +7 -1
  74. package/src/schemas/settings.ts +1 -1
@@ -9,6 +9,10 @@ export declare const runnerContract: {
9
9
  memoryLimitMb: z.ZodOptional<z.ZodNumber>;
10
10
  cpuPressure: z.ZodOptional<z.ZodNumber>;
11
11
  memoryStall: z.ZodOptional<z.ZodNumber>;
12
+ gpus: z.ZodOptional<z.ZodArray<z.ZodObject<{
13
+ name: z.ZodString;
14
+ memoryMb: z.ZodNumber;
15
+ }, z.core.$strip>>>;
12
16
  }, z.core.$strip>, Record<never, never>, Record<never, never>>;
13
17
  syncWorkspace: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
14
18
  op: z.ZodEnum<{
@@ -68,37 +72,6 @@ export declare const runnerContract: {
68
72
  bytesBase64: z.ZodString;
69
73
  }, z.core.$strip>>>;
70
74
  }, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
71
- requestId: string;
72
- text: string;
73
- document?: {
74
- path: string;
75
- title: string;
76
- markdown: string;
77
- truncated?: boolean | undefined;
78
- plan?: boolean | undefined;
79
- } | undefined;
80
- kind: "plan";
81
- } | {
82
- requestId: string;
83
- questions: {
84
- question: string;
85
- header: string;
86
- multiSelect: boolean;
87
- options: {
88
- label: string;
89
- description: string;
90
- preview?: string | undefined;
91
- }[];
92
- }[];
93
- document?: {
94
- path: string;
95
- title: string;
96
- markdown: string;
97
- truncated?: boolean | undefined;
98
- plan?: boolean | undefined;
99
- } | undefined;
100
- kind: "question";
101
- } | {
102
75
  kind: "session";
103
76
  sessionId: string;
104
77
  account?: string | undefined;
@@ -334,6 +307,37 @@ export declare const runnerContract: {
334
307
  sent?: string | undefined;
335
308
  kind: "agent_notice";
336
309
  text: string;
310
+ } | {
311
+ requestId: string;
312
+ text: string;
313
+ document?: {
314
+ path: string;
315
+ title: string;
316
+ markdown: string;
317
+ truncated?: boolean | undefined;
318
+ plan?: boolean | undefined;
319
+ } | undefined;
320
+ kind: "plan";
321
+ } | {
322
+ requestId: string;
323
+ questions: {
324
+ question: string;
325
+ header: string;
326
+ multiSelect: boolean;
327
+ options: {
328
+ label: string;
329
+ description: string;
330
+ preview?: string | undefined;
331
+ }[];
332
+ }[];
333
+ document?: {
334
+ path: string;
335
+ title: string;
336
+ markdown: string;
337
+ truncated?: boolean | undefined;
338
+ plan?: boolean | undefined;
339
+ } | undefined;
340
+ kind: "question";
337
341
  } | {
338
342
  requestId: string;
339
343
  session: string;
@@ -750,50 +754,6 @@ export declare const runnerContract: {
750
754
  unattended?: boolean | undefined;
751
755
  } | {
752
756
  kind: "done";
753
- } | {
754
- toolName: string;
755
- title?: string | undefined;
756
- displayName?: string | undefined;
757
- description?: string | undefined;
758
- reason?: string | undefined;
759
- path?: string | undefined;
760
- alwaysLabel?: string | undefined;
761
- alwaysAsks?: true | undefined;
762
- program?: {
763
- text: string;
764
- language: "bash" | "javascript";
765
- truncated: boolean;
766
- spans: {
767
- start: number;
768
- end: number;
769
- }[];
770
- } | undefined;
771
- child?: {
772
- provider: string;
773
- model: string;
774
- harness?: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor" | undefined;
775
- account?: string | undefined;
776
- effort?: string | undefined;
777
- thinking?: boolean | undefined;
778
- fast?: boolean | undefined;
779
- move: "answer" | "send" | "spawn";
780
- child?: string | undefined;
781
- task?: string | undefined;
782
- message?: string | undefined;
783
- on?: string | undefined;
784
- proposed?: {
785
- provider: string;
786
- model: string;
787
- harness?: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor" | undefined;
788
- account?: string | undefined;
789
- effort?: string | undefined;
790
- thinking?: boolean | undefined;
791
- fast?: boolean | undefined;
792
- } | undefined;
793
- } | undefined;
794
- explain?: string | undefined;
795
- requestId: string;
796
- kind: "permission";
797
757
  } | {
798
758
  window: number;
799
759
  omitted: string[];
@@ -843,54 +803,6 @@ export declare const runnerContract: {
843
803
  cachedAt?: number | undefined;
844
804
  cacheTtlMs?: number | undefined;
845
805
  kind: "context_usage";
846
- } | {
847
- outcome: "connected" | "unfinished";
848
- id?: string | undefined;
849
- kind: "capability_outcome";
850
- requestId: string;
851
- } | {
852
- outcome: "failed" | "paid";
853
- amountUsd: string;
854
- transaction?: string | undefined;
855
- network?: string | undefined;
856
- kind: "payment_receipt";
857
- requestId: string;
858
- } | {
859
- outcome: "refused" | "released";
860
- approvedBy?: string | undefined;
861
- kind: "credential_receipt";
862
- requestId: string;
863
- }, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
864
- requestId: string;
865
- text: string;
866
- document?: {
867
- path: string;
868
- title: string;
869
- markdown: string;
870
- truncated?: boolean | undefined;
871
- plan?: boolean | undefined;
872
- } | undefined;
873
- kind: "plan";
874
- } | {
875
- requestId: string;
876
- questions: {
877
- question: string;
878
- header: string;
879
- multiSelect: boolean;
880
- options: {
881
- label: string;
882
- description: string;
883
- preview?: string | undefined;
884
- }[];
885
- }[];
886
- document?: {
887
- path: string;
888
- title: string;
889
- markdown: string;
890
- truncated?: boolean | undefined;
891
- plan?: boolean | undefined;
892
- } | undefined;
893
- kind: "question";
894
806
  } | {
895
807
  toolName: string;
896
808
  title?: string | undefined;
@@ -936,6 +848,23 @@ export declare const runnerContract: {
936
848
  requestId: string;
937
849
  kind: "permission";
938
850
  } | {
851
+ outcome: "connected" | "unfinished";
852
+ id?: string | undefined;
853
+ kind: "capability_outcome";
854
+ requestId: string;
855
+ } | {
856
+ outcome: "failed" | "paid";
857
+ amountUsd: string;
858
+ transaction?: string | undefined;
859
+ network?: string | undefined;
860
+ kind: "payment_receipt";
861
+ requestId: string;
862
+ } | {
863
+ outcome: "refused" | "released";
864
+ approvedBy?: string | undefined;
865
+ kind: "credential_receipt";
866
+ requestId: string;
867
+ }, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
939
868
  kind: "session";
940
869
  sessionId: string;
941
870
  account?: string | undefined;
@@ -1171,6 +1100,37 @@ export declare const runnerContract: {
1171
1100
  sent?: string | undefined;
1172
1101
  kind: "agent_notice";
1173
1102
  text: string;
1103
+ } | {
1104
+ requestId: string;
1105
+ text: string;
1106
+ document?: {
1107
+ path: string;
1108
+ title: string;
1109
+ markdown: string;
1110
+ truncated?: boolean | undefined;
1111
+ plan?: boolean | undefined;
1112
+ } | undefined;
1113
+ kind: "plan";
1114
+ } | {
1115
+ requestId: string;
1116
+ questions: {
1117
+ question: string;
1118
+ header: string;
1119
+ multiSelect: boolean;
1120
+ options: {
1121
+ label: string;
1122
+ description: string;
1123
+ preview?: string | undefined;
1124
+ }[];
1125
+ }[];
1126
+ document?: {
1127
+ path: string;
1128
+ title: string;
1129
+ markdown: string;
1130
+ truncated?: boolean | undefined;
1131
+ plan?: boolean | undefined;
1132
+ } | undefined;
1133
+ kind: "question";
1174
1134
  } | {
1175
1135
  requestId: string;
1176
1136
  session: string;
@@ -1638,6 +1598,50 @@ export declare const runnerContract: {
1638
1598
  cachedAt?: number | undefined;
1639
1599
  cacheTtlMs?: number | undefined;
1640
1600
  kind: "context_usage";
1601
+ } | {
1602
+ toolName: string;
1603
+ title?: string | undefined;
1604
+ displayName?: string | undefined;
1605
+ description?: string | undefined;
1606
+ reason?: string | undefined;
1607
+ path?: string | undefined;
1608
+ alwaysLabel?: string | undefined;
1609
+ alwaysAsks?: true | undefined;
1610
+ program?: {
1611
+ text: string;
1612
+ language: "bash" | "javascript";
1613
+ truncated: boolean;
1614
+ spans: {
1615
+ start: number;
1616
+ end: number;
1617
+ }[];
1618
+ } | undefined;
1619
+ child?: {
1620
+ provider: string;
1621
+ model: string;
1622
+ harness?: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor" | undefined;
1623
+ account?: string | undefined;
1624
+ effort?: string | undefined;
1625
+ thinking?: boolean | undefined;
1626
+ fast?: boolean | undefined;
1627
+ move: "answer" | "send" | "spawn";
1628
+ child?: string | undefined;
1629
+ task?: string | undefined;
1630
+ message?: string | undefined;
1631
+ on?: string | undefined;
1632
+ proposed?: {
1633
+ provider: string;
1634
+ model: string;
1635
+ harness?: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor" | undefined;
1636
+ account?: string | undefined;
1637
+ effort?: string | undefined;
1638
+ thinking?: boolean | undefined;
1639
+ fast?: boolean | undefined;
1640
+ } | undefined;
1641
+ } | undefined;
1642
+ explain?: string | undefined;
1643
+ requestId: string;
1644
+ kind: "permission";
1641
1645
  } | {
1642
1646
  outcome: "connected" | "unfinished";
1643
1647
  id?: string | undefined;
@@ -2756,37 +2760,6 @@ export declare const runnerContract: {
2756
2760
  conversationId: z.ZodString;
2757
2761
  after: z.ZodNumber;
2758
2762
  }, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
2759
- requestId: string;
2760
- text: string;
2761
- document?: {
2762
- path: string;
2763
- title: string;
2764
- markdown: string;
2765
- truncated?: boolean | undefined;
2766
- plan?: boolean | undefined;
2767
- } | undefined;
2768
- kind: "plan";
2769
- } | {
2770
- requestId: string;
2771
- questions: {
2772
- question: string;
2773
- header: string;
2774
- multiSelect: boolean;
2775
- options: {
2776
- label: string;
2777
- description: string;
2778
- preview?: string | undefined;
2779
- }[];
2780
- }[];
2781
- document?: {
2782
- path: string;
2783
- title: string;
2784
- markdown: string;
2785
- truncated?: boolean | undefined;
2786
- plan?: boolean | undefined;
2787
- } | undefined;
2788
- kind: "question";
2789
- } | {
2790
2763
  kind: "session";
2791
2764
  sessionId: string;
2792
2765
  account?: string | undefined;
@@ -3022,6 +2995,37 @@ export declare const runnerContract: {
3022
2995
  sent?: string | undefined;
3023
2996
  kind: "agent_notice";
3024
2997
  text: string;
2998
+ } | {
2999
+ requestId: string;
3000
+ text: string;
3001
+ document?: {
3002
+ path: string;
3003
+ title: string;
3004
+ markdown: string;
3005
+ truncated?: boolean | undefined;
3006
+ plan?: boolean | undefined;
3007
+ } | undefined;
3008
+ kind: "plan";
3009
+ } | {
3010
+ requestId: string;
3011
+ questions: {
3012
+ question: string;
3013
+ header: string;
3014
+ multiSelect: boolean;
3015
+ options: {
3016
+ label: string;
3017
+ description: string;
3018
+ preview?: string | undefined;
3019
+ }[];
3020
+ }[];
3021
+ document?: {
3022
+ path: string;
3023
+ title: string;
3024
+ markdown: string;
3025
+ truncated?: boolean | undefined;
3026
+ plan?: boolean | undefined;
3027
+ } | undefined;
3028
+ kind: "question";
3025
3029
  } | {
3026
3030
  requestId: string;
3027
3031
  session: string;
@@ -3438,50 +3442,6 @@ export declare const runnerContract: {
3438
3442
  unattended?: boolean | undefined;
3439
3443
  } | {
3440
3444
  kind: "done";
3441
- } | {
3442
- toolName: string;
3443
- title?: string | undefined;
3444
- displayName?: string | undefined;
3445
- description?: string | undefined;
3446
- reason?: string | undefined;
3447
- path?: string | undefined;
3448
- alwaysLabel?: string | undefined;
3449
- alwaysAsks?: true | undefined;
3450
- program?: {
3451
- text: string;
3452
- language: "bash" | "javascript";
3453
- truncated: boolean;
3454
- spans: {
3455
- start: number;
3456
- end: number;
3457
- }[];
3458
- } | undefined;
3459
- child?: {
3460
- provider: string;
3461
- model: string;
3462
- harness?: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor" | undefined;
3463
- account?: string | undefined;
3464
- effort?: string | undefined;
3465
- thinking?: boolean | undefined;
3466
- fast?: boolean | undefined;
3467
- move: "answer" | "send" | "spawn";
3468
- child?: string | undefined;
3469
- task?: string | undefined;
3470
- message?: string | undefined;
3471
- on?: string | undefined;
3472
- proposed?: {
3473
- provider: string;
3474
- model: string;
3475
- harness?: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor" | undefined;
3476
- account?: string | undefined;
3477
- effort?: string | undefined;
3478
- thinking?: boolean | undefined;
3479
- fast?: boolean | undefined;
3480
- } | undefined;
3481
- } | undefined;
3482
- explain?: string | undefined;
3483
- requestId: string;
3484
- kind: "permission";
3485
3445
  } | {
3486
3446
  window: number;
3487
3447
  omitted: string[];
@@ -3531,54 +3491,6 @@ export declare const runnerContract: {
3531
3491
  cachedAt?: number | undefined;
3532
3492
  cacheTtlMs?: number | undefined;
3533
3493
  kind: "context_usage";
3534
- } | {
3535
- outcome: "connected" | "unfinished";
3536
- id?: string | undefined;
3537
- kind: "capability_outcome";
3538
- requestId: string;
3539
- } | {
3540
- outcome: "failed" | "paid";
3541
- amountUsd: string;
3542
- transaction?: string | undefined;
3543
- network?: string | undefined;
3544
- kind: "payment_receipt";
3545
- requestId: string;
3546
- } | {
3547
- outcome: "refused" | "released";
3548
- approvedBy?: string | undefined;
3549
- kind: "credential_receipt";
3550
- requestId: string;
3551
- }, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
3552
- requestId: string;
3553
- text: string;
3554
- document?: {
3555
- path: string;
3556
- title: string;
3557
- markdown: string;
3558
- truncated?: boolean | undefined;
3559
- plan?: boolean | undefined;
3560
- } | undefined;
3561
- kind: "plan";
3562
- } | {
3563
- requestId: string;
3564
- questions: {
3565
- question: string;
3566
- header: string;
3567
- multiSelect: boolean;
3568
- options: {
3569
- label: string;
3570
- description: string;
3571
- preview?: string | undefined;
3572
- }[];
3573
- }[];
3574
- document?: {
3575
- path: string;
3576
- title: string;
3577
- markdown: string;
3578
- truncated?: boolean | undefined;
3579
- plan?: boolean | undefined;
3580
- } | undefined;
3581
- kind: "question";
3582
3494
  } | {
3583
3495
  toolName: string;
3584
3496
  title?: string | undefined;
@@ -3624,6 +3536,23 @@ export declare const runnerContract: {
3624
3536
  requestId: string;
3625
3537
  kind: "permission";
3626
3538
  } | {
3539
+ outcome: "connected" | "unfinished";
3540
+ id?: string | undefined;
3541
+ kind: "capability_outcome";
3542
+ requestId: string;
3543
+ } | {
3544
+ outcome: "failed" | "paid";
3545
+ amountUsd: string;
3546
+ transaction?: string | undefined;
3547
+ network?: string | undefined;
3548
+ kind: "payment_receipt";
3549
+ requestId: string;
3550
+ } | {
3551
+ outcome: "refused" | "released";
3552
+ approvedBy?: string | undefined;
3553
+ kind: "credential_receipt";
3554
+ requestId: string;
3555
+ }, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
3627
3556
  kind: "session";
3628
3557
  sessionId: string;
3629
3558
  account?: string | undefined;
@@ -3859,6 +3788,37 @@ export declare const runnerContract: {
3859
3788
  sent?: string | undefined;
3860
3789
  kind: "agent_notice";
3861
3790
  text: string;
3791
+ } | {
3792
+ requestId: string;
3793
+ text: string;
3794
+ document?: {
3795
+ path: string;
3796
+ title: string;
3797
+ markdown: string;
3798
+ truncated?: boolean | undefined;
3799
+ plan?: boolean | undefined;
3800
+ } | undefined;
3801
+ kind: "plan";
3802
+ } | {
3803
+ requestId: string;
3804
+ questions: {
3805
+ question: string;
3806
+ header: string;
3807
+ multiSelect: boolean;
3808
+ options: {
3809
+ label: string;
3810
+ description: string;
3811
+ preview?: string | undefined;
3812
+ }[];
3813
+ }[];
3814
+ document?: {
3815
+ path: string;
3816
+ title: string;
3817
+ markdown: string;
3818
+ truncated?: boolean | undefined;
3819
+ plan?: boolean | undefined;
3820
+ } | undefined;
3821
+ kind: "question";
3862
3822
  } | {
3863
3823
  requestId: string;
3864
3824
  session: string;
@@ -4326,6 +4286,50 @@ export declare const runnerContract: {
4326
4286
  cachedAt?: number | undefined;
4327
4287
  cacheTtlMs?: number | undefined;
4328
4288
  kind: "context_usage";
4289
+ } | {
4290
+ toolName: string;
4291
+ title?: string | undefined;
4292
+ displayName?: string | undefined;
4293
+ description?: string | undefined;
4294
+ reason?: string | undefined;
4295
+ path?: string | undefined;
4296
+ alwaysLabel?: string | undefined;
4297
+ alwaysAsks?: true | undefined;
4298
+ program?: {
4299
+ text: string;
4300
+ language: "bash" | "javascript";
4301
+ truncated: boolean;
4302
+ spans: {
4303
+ start: number;
4304
+ end: number;
4305
+ }[];
4306
+ } | undefined;
4307
+ child?: {
4308
+ provider: string;
4309
+ model: string;
4310
+ harness?: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor" | undefined;
4311
+ account?: string | undefined;
4312
+ effort?: string | undefined;
4313
+ thinking?: boolean | undefined;
4314
+ fast?: boolean | undefined;
4315
+ move: "answer" | "send" | "spawn";
4316
+ child?: string | undefined;
4317
+ task?: string | undefined;
4318
+ message?: string | undefined;
4319
+ on?: string | undefined;
4320
+ proposed?: {
4321
+ provider: string;
4322
+ model: string;
4323
+ harness?: "claude-code" | "codex" | "muse" | "native" | "opencode" | "pi" | "vendor" | undefined;
4324
+ account?: string | undefined;
4325
+ effort?: string | undefined;
4326
+ thinking?: boolean | undefined;
4327
+ fast?: boolean | undefined;
4328
+ } | undefined;
4329
+ } | undefined;
4330
+ explain?: string | undefined;
4331
+ requestId: string;
4332
+ kind: "permission";
4329
4333
  } | {
4330
4334
  outcome: "connected" | "unfinished";
4331
4335
  id?: string | undefined;
@@ -5574,6 +5578,8 @@ export declare const runnerContract: {
5574
5578
  command: z.ZodString;
5575
5579
  env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
5576
5580
  exports: z.ZodDefault<z.ZodArray<z.ZodString>>;
5581
+ outputs: z.ZodDefault<z.ZodArray<z.ZodString>>;
5582
+ have: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
5577
5583
  label: z.ZodString;
5578
5584
  timeoutMs: z.ZodOptional<z.ZodNumber>;
5579
5585
  }, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
@@ -5583,6 +5589,16 @@ export declare const runnerContract: {
5583
5589
  kind: "output";
5584
5590
  stream: "stderr" | "stdout";
5585
5591
  text: string;
5592
+ } | {
5593
+ kind: "file";
5594
+ path: string;
5595
+ data?: string | undefined;
5596
+ end?: {
5597
+ size: number;
5598
+ mode: number;
5599
+ sha256: string;
5600
+ } | undefined;
5601
+ same?: boolean | undefined;
5586
5602
  } | {
5587
5603
  kind: "exit";
5588
5604
  code: number;
@@ -5591,6 +5607,10 @@ export declare const runnerContract: {
5591
5607
  ran?: boolean | undefined;
5592
5608
  patchBase64?: string | undefined;
5593
5609
  files?: Record<string, string> | undefined;
5610
+ peakMemoryMb?: number | undefined;
5611
+ durationMs?: number | undefined;
5612
+ missing?: string[] | undefined;
5613
+ tooBig?: string[] | undefined;
5594
5614
  }, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
5595
5615
  kind: "status";
5596
5616
  text: string;
@@ -5598,6 +5618,16 @@ export declare const runnerContract: {
5598
5618
  kind: "output";
5599
5619
  stream: "stderr" | "stdout";
5600
5620
  text: string;
5621
+ } | {
5622
+ kind: "file";
5623
+ path: string;
5624
+ data?: string | undefined;
5625
+ end?: {
5626
+ size: number;
5627
+ mode: number;
5628
+ sha256: string;
5629
+ } | undefined;
5630
+ same?: boolean | undefined;
5601
5631
  } | {
5602
5632
  kind: "exit";
5603
5633
  code: number;
@@ -5606,6 +5636,10 @@ export declare const runnerContract: {
5606
5636
  ran: boolean;
5607
5637
  patchBase64?: string | undefined;
5608
5638
  files: Record<string, string>;
5639
+ peakMemoryMb?: number | undefined;
5640
+ durationMs?: number | undefined;
5641
+ missing?: string[] | undefined;
5642
+ tooBig?: string[] | undefined;
5609
5643
  }, unknown, void>> & {
5610
5644
  [x: symbol]: z.ZodUnion<readonly [z.ZodObject<{
5611
5645
  kind: z.ZodLiteral<"status">;
@@ -5617,6 +5651,16 @@ export declare const runnerContract: {
5617
5651
  stdout: "stdout";
5618
5652
  }>;
5619
5653
  text: z.ZodString;
5654
+ }, z.core.$strip>, z.ZodObject<{
5655
+ kind: z.ZodLiteral<"file">;
5656
+ path: z.ZodString;
5657
+ data: z.ZodOptional<z.ZodString>;
5658
+ end: z.ZodOptional<z.ZodObject<{
5659
+ size: z.ZodNumber;
5660
+ mode: z.ZodNumber;
5661
+ sha256: z.ZodString;
5662
+ }, z.core.$strip>>;
5663
+ same: z.ZodOptional<z.ZodBoolean>;
5620
5664
  }, z.core.$strip>, z.ZodObject<{
5621
5665
  kind: z.ZodLiteral<"exit">;
5622
5666
  code: z.ZodNumber;
@@ -5625,6 +5669,10 @@ export declare const runnerContract: {
5625
5669
  ran: z.ZodDefault<z.ZodBoolean>;
5626
5670
  patchBase64: z.ZodOptional<z.ZodString>;
5627
5671
  files: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
5672
+ peakMemoryMb: z.ZodOptional<z.ZodNumber>;
5673
+ durationMs: z.ZodOptional<z.ZodNumber>;
5674
+ missing: z.ZodOptional<z.ZodArray<z.ZodString>>;
5675
+ tooBig: z.ZodOptional<z.ZodArray<z.ZodString>>;
5628
5676
  }, z.core.$strip>]>;
5629
5677
  }, Record<never, never>, Record<never, never>>;
5630
5678
  cancelCommand: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{