@intentic/sandbox-contract 1.328.0 → 1.330.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 (126) hide show
  1. package/dist/chores/probes.d.ts.map +1 -1
  2. package/dist/chores/probes.js +1 -2
  3. package/dist/chores/probes.js.map +1 -1
  4. package/dist/contracts/agents.contract.d.ts +69 -0
  5. package/dist/contracts/agents.contract.d.ts.map +1 -1
  6. package/dist/contracts/capabilities.contract.d.ts +8 -0
  7. package/dist/contracts/capabilities.contract.d.ts.map +1 -1
  8. package/dist/contracts/device.contract.d.ts +42 -0
  9. package/dist/contracts/device.contract.d.ts.map +1 -1
  10. package/dist/contracts/device.contract.js +3 -0
  11. package/dist/contracts/device.contract.js.map +1 -1
  12. package/dist/contracts/runs.contract.d.ts +35 -0
  13. package/dist/contracts/runs.contract.d.ts.map +1 -0
  14. package/dist/contracts/runs.contract.js +22 -0
  15. package/dist/contracts/runs.contract.js.map +1 -0
  16. package/dist/contracts/settings.contract.d.ts +8 -0
  17. package/dist/contracts/settings.contract.d.ts.map +1 -1
  18. package/dist/contracts/system.contract.d.ts +42 -30
  19. package/dist/contracts/system.contract.d.ts.map +1 -1
  20. package/dist/contracts/system.contract.js +10 -1
  21. package/dist/contracts/system.contract.js.map +1 -1
  22. package/dist/contracts/workspace.contract.d.ts +37 -0
  23. package/dist/contracts/workspace.contract.d.ts.map +1 -1
  24. package/dist/contracts/workspace.contract.js +11 -1
  25. package/dist/contracts/workspace.contract.js.map +1 -1
  26. package/dist/events/system-events.d.ts +8 -0
  27. package/dist/events/system-events.d.ts.map +1 -1
  28. package/dist/index.d.ts +204 -31
  29. package/dist/index.d.ts.map +1 -1
  30. package/dist/index.js +8 -1
  31. package/dist/index.js.map +1 -1
  32. package/dist/protocol/doors/listener-protocol.d.ts +0 -1
  33. package/dist/protocol/doors/listener-protocol.d.ts.map +1 -1
  34. package/dist/protocol/doors/listener-protocol.js +3 -2
  35. package/dist/protocol/doors/listener-protocol.js.map +1 -1
  36. package/dist/protocol/raw/raw-routes.d.ts +29 -0
  37. package/dist/protocol/raw/raw-routes.d.ts.map +1 -1
  38. package/dist/protocol/raw/raw-routes.js +8 -0
  39. package/dist/protocol/raw/raw-routes.js.map +1 -1
  40. package/dist/schemas/agents-list.d.ts +4 -0
  41. package/dist/schemas/agents-list.d.ts.map +1 -1
  42. package/dist/schemas/agents.d.ts +13 -0
  43. package/dist/schemas/agents.d.ts.map +1 -1
  44. package/dist/schemas/agents.js +4 -3
  45. package/dist/schemas/agents.js.map +1 -1
  46. package/dist/schemas/capabilities.d.ts +12 -0
  47. package/dist/schemas/capabilities.d.ts.map +1 -1
  48. package/dist/schemas/capabilities.js +1 -0
  49. package/dist/schemas/capabilities.js.map +1 -1
  50. package/dist/schemas/device-artifacts.d.ts +67 -0
  51. package/dist/schemas/device-artifacts.d.ts.map +1 -0
  52. package/dist/schemas/device-artifacts.js +61 -0
  53. package/dist/schemas/device-artifacts.js.map +1 -0
  54. package/dist/schemas/hosts.d.ts +2 -0
  55. package/dist/schemas/hosts.d.ts.map +1 -1
  56. package/dist/schemas/hosts.js +2 -1
  57. package/dist/schemas/hosts.js.map +1 -1
  58. package/dist/schemas/run-targets.d.ts +82 -0
  59. package/dist/schemas/run-targets.d.ts.map +1 -0
  60. package/dist/schemas/run-targets.js +49 -0
  61. package/dist/schemas/run-targets.js.map +1 -0
  62. package/dist/schemas/settings.d.ts +8 -0
  63. package/dist/schemas/settings.d.ts.map +1 -1
  64. package/dist/schemas/settings.js +2 -1
  65. package/dist/schemas/settings.js.map +1 -1
  66. package/dist/schemas/speech.d.ts +75 -0
  67. package/dist/schemas/speech.d.ts.map +1 -0
  68. package/dist/schemas/speech.js +66 -0
  69. package/dist/schemas/speech.js.map +1 -0
  70. package/dist/schemas/terminal.d.ts +4 -0
  71. package/dist/schemas/terminal.d.ts.map +1 -1
  72. package/dist/schemas/terminal.js +4 -0
  73. package/dist/schemas/terminal.js.map +1 -1
  74. package/dist/schemas/turn-break.d.ts +7 -1
  75. package/dist/schemas/turn-break.d.ts.map +1 -1
  76. package/dist/schemas/turn-break.js +4 -2
  77. package/dist/schemas/turn-break.js.map +1 -1
  78. package/dist/schemas/workspace/workspace-graph.d.ts +133 -0
  79. package/dist/schemas/workspace/workspace-graph.d.ts.map +1 -0
  80. package/dist/schemas/workspace/workspace-graph.js +83 -0
  81. package/dist/schemas/workspace/workspace-graph.js.map +1 -0
  82. package/dist/schemas/workspace/workspace-repos.d.ts +0 -39
  83. package/dist/schemas/workspace/workspace-repos.d.ts.map +1 -1
  84. package/dist/schemas/workspace/workspace-repos.js +0 -15
  85. package/dist/schemas/workspace/workspace-repos.js.map +1 -1
  86. package/dist/state/definition.d.ts +12 -0
  87. package/dist/state/definition.d.ts.map +1 -1
  88. package/dist/state/workspace-state.d.ts +2 -1
  89. package/dist/state/workspace-state.d.ts.map +1 -1
  90. package/dist/state/workspace-state.js +5 -1
  91. package/dist/state/workspace-state.js.map +1 -1
  92. package/dist/text/transcript-page.d.ts +5 -0
  93. package/dist/text/transcript-page.d.ts.map +1 -0
  94. package/dist/text/transcript-page.js +17 -0
  95. package/dist/text/transcript-page.js.map +1 -0
  96. package/package.json +5 -5
  97. package/src/chores/probes.ts +1 -2
  98. package/src/contracts/device.contract.ts +10 -0
  99. package/src/contracts/runs.contract.ts +26 -0
  100. package/src/contracts/system.contract.ts +13 -0
  101. package/src/contracts/workspace.contract.ts +12 -1
  102. package/src/index.ts +8 -1
  103. package/src/models/agent-runtimes.ts +2 -2
  104. package/src/protocol/doors/listener-protocol.ts +5 -4
  105. package/src/protocol/raw/raw-routes.ts +15 -0
  106. package/src/schemas/agents.ts +6 -3
  107. package/src/schemas/capabilities.ts +4 -0
  108. package/src/schemas/device-artifacts.ts +99 -0
  109. package/src/schemas/hosts.ts +4 -1
  110. package/src/schemas/run-targets.ts +93 -0
  111. package/src/schemas/settings.ts +6 -1
  112. package/src/schemas/speech.ts +96 -0
  113. package/src/schemas/terminal.ts +4 -0
  114. package/src/schemas/turn-break.ts +18 -9
  115. package/src/schemas/workspace/workspace-graph.ts +116 -0
  116. package/src/schemas/workspace/workspace-repos.ts +0 -22
  117. package/src/state/workspace-state.test.ts +42 -1
  118. package/src/state/workspace-state.ts +12 -1
  119. package/src/text/transcript-page.test.ts +39 -0
  120. package/src/text/transcript-page.ts +37 -0
  121. package/dist/text/whisper.d.ts +0 -3
  122. package/dist/text/whisper.d.ts.map +0 -1
  123. package/dist/text/whisper.js +0 -11
  124. package/dist/text/whisper.js.map +0 -1
  125. package/src/text/whisper.test.ts +0 -18
  126. package/src/text/whisper.ts +0 -17
package/dist/index.d.ts CHANGED
@@ -31,6 +31,7 @@ export * from "./protocol/vitals.js";
31
31
  export { loopsContract } from "./contracts/loops.contract.js";
32
32
  export { panelsContract } from "./contracts/panels.contract.js";
33
33
  export { portsContract } from "./contracts/ports.contract.js";
34
+ export { runsContract } from "./contracts/runs.contract.js";
34
35
  export { pagesContract, PageAppCallResultSchema, PageAppCallSchema, PageErrorsResultSchema, PageErrorsSchema } from "./contracts/pages.contract.js";
35
36
  export { publicContract } from "./contracts/public.contract.js";
36
37
  export { providersContract, type RunnableProviders, RunnableProvidersSchema } from "./contracts/providers.contract.js";
@@ -70,6 +71,7 @@ export * from "./events/child-run.js";
70
71
  export * from "./policy/turned-away.js";
71
72
  export * from "./text/mentions.js";
72
73
  export * from "./text/pages.js";
74
+ export * from "./text/transcript-page.js";
73
75
  export * from "./protocol/sse.js";
74
76
  export * from "./protocol/routes.js";
75
77
  export { type ControlReach, defaultFloor, type RouteAccess, type RouteMeta, routeAccess } from "./protocol/route-meta.js";
@@ -130,6 +132,7 @@ export * from "./policy/fence-paths.js";
130
132
  export * from "./policy/persona-home.js";
131
133
  export * from "./schemas/agents.js";
132
134
  export * from "./schemas/speaker.js";
135
+ export * from "./schemas/speech.js";
133
136
  export * from "./schemas/approvals.js";
134
137
  export * from "./schemas/automations.js";
135
138
  export * from "./schemas/agents-list.js";
@@ -141,6 +144,8 @@ export * from "./schemas/codebase-health.js";
141
144
  export * from "./schemas/context-trim.js";
142
145
  export * from "./schemas/devices.js";
143
146
  export * from "./schemas/project-delivery.js";
147
+ export * from "./schemas/device-artifacts.js";
148
+ export * from "./schemas/run-targets.js";
144
149
  export * from "./schemas/engines.js";
145
150
  export * from "./schemas/environment.js";
146
151
  export * from "./schemas/exit.js";
@@ -194,6 +199,7 @@ export * from "./schemas/offload.js";
194
199
  export * from "./schemas/webext.js";
195
200
  export * from "./schemas/phone.js";
196
201
  export * from "./schemas/workflows.js";
202
+ export * from "./schemas/workspace/workspace-graph.js";
197
203
  export * from "./schemas/workspace/workspace-repos.js";
198
204
  export * from "./schemas/workspace/workspace-search.js";
199
205
  export * from "./schemas/workspace/workspace-setup.js";
@@ -206,7 +212,6 @@ export * from "./text/title.js";
206
212
  export * from "./state/versions.js";
207
213
  export * from "./text/model-answer.js";
208
214
  export * from "./text/shell-regions.js";
209
- export * from "./text/whisper.js";
210
215
  export * from "./text/workflow-faults.js";
211
216
  export * from "./text/emoji.js";
212
217
  export * from "./time/zone.js";
@@ -5522,6 +5527,10 @@ export declare const sandboxContract: {
5522
5527
  retry: "retry";
5523
5528
  wait: "wait";
5524
5529
  }>>;
5530
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
5531
+ resend: "resend";
5532
+ wait: "wait";
5533
+ }>>;
5525
5534
  landRequested: z.ZodOptional<z.ZodObject<{
5526
5535
  email: z.ZodString;
5527
5536
  name: z.ZodOptional<z.ZodString>;
@@ -5923,6 +5932,10 @@ export declare const sandboxContract: {
5923
5932
  retry: "retry";
5924
5933
  wait: "wait";
5925
5934
  }>>;
5935
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
5936
+ resend: "resend";
5937
+ wait: "wait";
5938
+ }>>;
5926
5939
  landRequested: z.ZodOptional<z.ZodObject<{
5927
5940
  email: z.ZodString;
5928
5941
  name: z.ZodOptional<z.ZodString>;
@@ -6342,6 +6355,10 @@ export declare const sandboxContract: {
6342
6355
  retry: "retry";
6343
6356
  wait: "wait";
6344
6357
  }>>;
6358
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
6359
+ resend: "resend";
6360
+ wait: "wait";
6361
+ }>>;
6345
6362
  landRequested: z.ZodOptional<z.ZodObject<{
6346
6363
  email: z.ZodString;
6347
6364
  name: z.ZodOptional<z.ZodString>;
@@ -8011,6 +8028,10 @@ export declare const sandboxContract: {
8011
8028
  retry: "retry";
8012
8029
  wait: "wait";
8013
8030
  }>>;
8031
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
8032
+ resend: "resend";
8033
+ wait: "wait";
8034
+ }>>;
8014
8035
  landRequested: z.ZodOptional<z.ZodObject<{
8015
8036
  email: z.ZodString;
8016
8037
  name: z.ZodOptional<z.ZodString>;
@@ -8393,6 +8414,10 @@ export declare const sandboxContract: {
8393
8414
  retry: "retry";
8394
8415
  wait: "wait";
8395
8416
  }>>;
8417
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
8418
+ resend: "resend";
8419
+ wait: "wait";
8420
+ }>>;
8396
8421
  landRequested: z.ZodOptional<z.ZodObject<{
8397
8422
  email: z.ZodString;
8398
8423
  name: z.ZodOptional<z.ZodString>;
@@ -8721,6 +8746,7 @@ export declare const sandboxContract: {
8721
8746
  id: z.ZodString;
8722
8747
  ending: z.ZodEnum<{
8723
8748
  limit: "limit";
8749
+ memory: "memory";
8724
8750
  outage: "outage";
8725
8751
  stopped: "stopped";
8726
8752
  }>;
@@ -8785,6 +8811,10 @@ export declare const sandboxContract: {
8785
8811
  retry: "retry";
8786
8812
  wait: "wait";
8787
8813
  }>>;
8814
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
8815
+ resend: "resend";
8816
+ wait: "wait";
8817
+ }>>;
8788
8818
  landRequested: z.ZodOptional<z.ZodObject<{
8789
8819
  email: z.ZodString;
8790
8820
  name: z.ZodOptional<z.ZodString>;
@@ -9167,6 +9197,10 @@ export declare const sandboxContract: {
9167
9197
  retry: "retry";
9168
9198
  wait: "wait";
9169
9199
  }>>;
9200
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
9201
+ resend: "resend";
9202
+ wait: "wait";
9203
+ }>>;
9170
9204
  landRequested: z.ZodOptional<z.ZodObject<{
9171
9205
  email: z.ZodString;
9172
9206
  name: z.ZodOptional<z.ZodString>;
@@ -9548,6 +9582,10 @@ export declare const sandboxContract: {
9548
9582
  retry: "retry";
9549
9583
  wait: "wait";
9550
9584
  }>>;
9585
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
9586
+ resend: "resend";
9587
+ wait: "wait";
9588
+ }>>;
9551
9589
  landRequested: z.ZodOptional<z.ZodObject<{
9552
9590
  email: z.ZodString;
9553
9591
  name: z.ZodOptional<z.ZodString>;
@@ -9930,6 +9968,10 @@ export declare const sandboxContract: {
9930
9968
  retry: "retry";
9931
9969
  wait: "wait";
9932
9970
  }>>;
9971
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
9972
+ resend: "resend";
9973
+ wait: "wait";
9974
+ }>>;
9933
9975
  landRequested: z.ZodOptional<z.ZodObject<{
9934
9976
  email: z.ZodString;
9935
9977
  name: z.ZodOptional<z.ZodString>;
@@ -10312,6 +10354,10 @@ export declare const sandboxContract: {
10312
10354
  retry: "retry";
10313
10355
  wait: "wait";
10314
10356
  }>>;
10357
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
10358
+ resend: "resend";
10359
+ wait: "wait";
10360
+ }>>;
10315
10361
  landRequested: z.ZodOptional<z.ZodObject<{
10316
10362
  email: z.ZodString;
10317
10363
  name: z.ZodOptional<z.ZodString>;
@@ -10694,6 +10740,10 @@ export declare const sandboxContract: {
10694
10740
  retry: "retry";
10695
10741
  wait: "wait";
10696
10742
  }>>;
10743
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
10744
+ resend: "resend";
10745
+ wait: "wait";
10746
+ }>>;
10697
10747
  landRequested: z.ZodOptional<z.ZodObject<{
10698
10748
  email: z.ZodString;
10699
10749
  name: z.ZodOptional<z.ZodString>;
@@ -11074,6 +11124,10 @@ export declare const sandboxContract: {
11074
11124
  retry: "retry";
11075
11125
  wait: "wait";
11076
11126
  }>>;
11127
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
11128
+ resend: "resend";
11129
+ wait: "wait";
11130
+ }>>;
11077
11131
  landRequested: z.ZodOptional<z.ZodObject<{
11078
11132
  email: z.ZodString;
11079
11133
  name: z.ZodOptional<z.ZodString>;
@@ -11663,6 +11717,10 @@ export declare const sandboxContract: {
11663
11717
  retry: "retry";
11664
11718
  wait: "wait";
11665
11719
  }>>;
11720
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
11721
+ resend: "resend";
11722
+ wait: "wait";
11723
+ }>>;
11666
11724
  landRequested: z.ZodOptional<z.ZodObject<{
11667
11725
  email: z.ZodString;
11668
11726
  name: z.ZodOptional<z.ZodString>;
@@ -12045,6 +12103,10 @@ export declare const sandboxContract: {
12045
12103
  retry: "retry";
12046
12104
  wait: "wait";
12047
12105
  }>>;
12106
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
12107
+ resend: "resend";
12108
+ wait: "wait";
12109
+ }>>;
12048
12110
  landRequested: z.ZodOptional<z.ZodObject<{
12049
12111
  email: z.ZodString;
12050
12112
  name: z.ZodOptional<z.ZodString>;
@@ -12428,6 +12490,10 @@ export declare const sandboxContract: {
12428
12490
  retry: "retry";
12429
12491
  wait: "wait";
12430
12492
  }>>;
12493
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
12494
+ resend: "resend";
12495
+ wait: "wait";
12496
+ }>>;
12431
12497
  landRequested: z.ZodOptional<z.ZodObject<{
12432
12498
  email: z.ZodString;
12433
12499
  name: z.ZodOptional<z.ZodString>;
@@ -12815,6 +12881,10 @@ export declare const sandboxContract: {
12815
12881
  retry: "retry";
12816
12882
  wait: "wait";
12817
12883
  }>>;
12884
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
12885
+ resend: "resend";
12886
+ wait: "wait";
12887
+ }>>;
12818
12888
  landRequested: z.ZodOptional<z.ZodObject<{
12819
12889
  email: z.ZodString;
12820
12890
  name: z.ZodOptional<z.ZodString>;
@@ -13203,6 +13273,10 @@ export declare const sandboxContract: {
13203
13273
  retry: "retry";
13204
13274
  wait: "wait";
13205
13275
  }>>;
13276
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
13277
+ resend: "resend";
13278
+ wait: "wait";
13279
+ }>>;
13206
13280
  landRequested: z.ZodOptional<z.ZodObject<{
13207
13281
  email: z.ZodString;
13208
13282
  name: z.ZodOptional<z.ZodString>;
@@ -14503,6 +14577,10 @@ export declare const sandboxContract: {
14503
14577
  off: "off";
14504
14578
  on: "on";
14505
14579
  }>>;
14580
+ programs: z.ZodDefault<z.ZodEnum<{
14581
+ off: "off";
14582
+ on: "on";
14583
+ }>>;
14506
14584
  roots: z.ZodOptional<z.ZodString>;
14507
14585
  platform: z.ZodString;
14508
14586
  }, z.core.$strip>;
@@ -14878,6 +14956,10 @@ export declare const sandboxContract: {
14878
14956
  off: "off";
14879
14957
  on: "on";
14880
14958
  }>>;
14959
+ programs: z.ZodDefault<z.ZodEnum<{
14960
+ off: "off";
14961
+ on: "on";
14962
+ }>>;
14881
14963
  roots: z.ZodOptional<z.ZodString>;
14882
14964
  platform: z.ZodString;
14883
14965
  }, z.core.$strip>;
@@ -17978,6 +18060,10 @@ export declare const sandboxContract: {
17978
18060
  retry: "retry";
17979
18061
  wait: "wait";
17980
18062
  }>>;
18063
+ memoryPolicy: z.ZodDefault<z.ZodEnum<{
18064
+ resend: "resend";
18065
+ wait: "wait";
18066
+ }>>;
17981
18067
  limitMoveCarryUnder: z.ZodDefault<z.ZodNumber>;
17982
18068
  keepWarm: z.ZodPrefault<z.ZodObject<{
17983
18069
  auto: z.ZodDefault<z.ZodBoolean>;
@@ -18153,6 +18239,10 @@ export declare const sandboxContract: {
18153
18239
  retry: "retry";
18154
18240
  wait: "wait";
18155
18241
  }>>;
18242
+ memoryPolicy: z.ZodDefault<z.ZodEnum<{
18243
+ resend: "resend";
18244
+ wait: "wait";
18245
+ }>>;
18156
18246
  limitMoveCarryUnder: z.ZodDefault<z.ZodNumber>;
18157
18247
  keepWarm: z.ZodPrefault<z.ZodObject<{
18158
18248
  auto: z.ZodDefault<z.ZodBoolean>;
@@ -19814,6 +19904,7 @@ export declare const sandboxContract: {
19814
19904
  name: z.ZodString;
19815
19905
  dir: z.ZodString;
19816
19906
  group: z.ZodString;
19907
+ component: z.ZodOptional<z.ZodString>;
19817
19908
  }, z.core.$strip>>;
19818
19909
  edges: z.ZodArray<z.ZodObject<{
19819
19910
  from: z.ZodString;
@@ -19823,6 +19914,42 @@ export declare const sandboxContract: {
19823
19914
  peer: "peer";
19824
19915
  prod: "prod";
19825
19916
  }>;
19917
+ usage: z.ZodOptional<z.ZodEnum<{
19918
+ code: "code";
19919
+ none: "none";
19920
+ reference: "reference";
19921
+ tooling: "tooling";
19922
+ types: "types";
19923
+ }>>;
19924
+ }, z.core.$strip>>;
19925
+ components: z.ZodOptional<z.ZodArray<z.ZodObject<{
19926
+ id: z.ZodString;
19927
+ name: z.ZodString;
19928
+ accent: z.ZodOptional<z.ZodString>;
19929
+ }, z.core.$strip>>>;
19930
+ }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
19931
+ packageModules: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
19932
+ repo: z.ZodString;
19933
+ package: z.ZodString;
19934
+ }, z.core.$strip>, z.ZodObject<{
19935
+ package: z.ZodString;
19936
+ root: z.ZodString;
19937
+ layers: z.ZodOptional<z.ZodArray<z.ZodObject<{
19938
+ name: z.ZodString;
19939
+ about: z.ZodOptional<z.ZodString>;
19940
+ }, z.core.$strip>>>;
19941
+ invalid: z.ZodOptional<z.ZodString>;
19942
+ units: z.ZodArray<z.ZodObject<{
19943
+ id: z.ZodString;
19944
+ modules: z.ZodNumber;
19945
+ layer: z.ZodOptional<z.ZodNumber>;
19946
+ surface: z.ZodOptional<z.ZodLiteral<true>>;
19947
+ }, z.core.$strip>>;
19948
+ edges: z.ZodArray<z.ZodObject<{
19949
+ from: z.ZodString;
19950
+ to: z.ZodString;
19951
+ imports: z.ZodNumber;
19952
+ sites: z.ZodArray<z.ZodString>;
19826
19953
  }, z.core.$strip>>;
19827
19954
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
19828
19955
  modules: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
@@ -20569,6 +20696,40 @@ export declare const sandboxContract: {
20569
20696
  ok: z.ZodLiteral<true>;
20570
20697
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
20571
20698
  };
20699
+ runs: {
20700
+ targets: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
20701
+ repos: z.ZodArray<z.ZodObject<{
20702
+ repo: z.ZodString;
20703
+ path: z.ZodString;
20704
+ targets: z.ZodArray<z.ZodObject<{
20705
+ name: z.ZodString;
20706
+ description: z.ZodOptional<z.ZodString>;
20707
+ device: z.ZodOptional<z.ZodString>;
20708
+ build: z.ZodOptional<z.ZodString>;
20709
+ artifact: z.ZodUnion<readonly [z.ZodString, z.ZodRecord<z.ZodString, z.ZodString>]>;
20710
+ program: z.ZodOptional<z.ZodString>;
20711
+ args: z.ZodDefault<z.ZodArray<z.ZodString>>;
20712
+ env: z.ZodDefault<z.ZodRecord<z.ZodString, z.ZodString>>;
20713
+ isolated: z.ZodDefault<z.ZodBoolean>;
20714
+ reach: z.ZodDefault<z.ZodArray<z.ZodInt>>;
20715
+ }, z.core.$strict>>;
20716
+ error: z.ZodOptional<z.ZodString>;
20717
+ }, z.core.$strip>>;
20718
+ devices: z.ZodArray<z.ZodObject<{
20719
+ id: z.ZodString;
20720
+ online: z.ZodBoolean;
20721
+ programs: z.ZodBoolean;
20722
+ allowed: z.ZodBoolean;
20723
+ }, z.core.$strip>>;
20724
+ }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
20725
+ start: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
20726
+ repo: z.ZodString;
20727
+ target: z.ZodString;
20728
+ device: z.ZodString;
20729
+ }, z.core.$strip>, z.ZodObject<{
20730
+ session: z.ZodString;
20731
+ }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
20732
+ };
20572
20733
  public: {
20573
20734
  list: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
20574
20735
  url: z.ZodOptional<z.ZodString>;
@@ -22627,6 +22788,19 @@ export declare const sandboxContract: {
22627
22788
  events: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
22628
22789
  clientId: z.ZodOptional<z.ZodString>;
22629
22790
  }, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
22791
+ kind: "heartbeat";
22792
+ rev: number;
22793
+ } | {
22794
+ ready: boolean;
22795
+ startedAt: number;
22796
+ steps: {
22797
+ key: string;
22798
+ label: string;
22799
+ state: "done" | "failed" | "pending" | "running";
22800
+ ms?: number | undefined;
22801
+ }[];
22802
+ kind: "boot";
22803
+ } | {
22630
22804
  kind: "hello";
22631
22805
  workspaceId: string;
22632
22806
  routes?: string[] | undefined;
@@ -22645,27 +22819,14 @@ export declare const sandboxContract: {
22645
22819
  projectDir?: string | undefined;
22646
22820
  surface?: "folder" | "sandbox" | undefined;
22647
22821
  } | {
22648
- kind: "heartbeat";
22649
- rev: number;
22650
- } | {
22651
- ready: boolean;
22652
- startedAt: number;
22653
- steps: {
22654
- key: string;
22655
- label: string;
22656
- state: "done" | "failed" | "pending" | "running";
22657
- ms?: number | undefined;
22658
- }[];
22659
- kind: "boot";
22822
+ kind: "reposChanged";
22823
+ repos: string[];
22660
22824
  } | {
22661
22825
  kind: "workspaceChanged";
22662
22826
  paths: string[];
22663
22827
  } | {
22664
22828
  kind: "derivedChanged";
22665
22829
  paths: string[];
22666
- } | {
22667
- kind: "reposChanged";
22668
- repos: string[];
22669
22830
  } | {
22670
22831
  kind: "refsChanged";
22671
22832
  repos: string[];
@@ -22716,6 +22877,7 @@ export declare const sandboxContract: {
22716
22877
  limitPolicy?: "move" | "resend" | "wait" | undefined;
22717
22878
  outagePolicy?: "retry" | "wait" | undefined;
22718
22879
  stopPolicy?: "retry" | "wait" | undefined;
22880
+ memoryPolicy?: "resend" | "wait" | undefined;
22719
22881
  landRequested?: {
22720
22882
  email: string;
22721
22883
  name?: string | undefined;
@@ -23008,6 +23170,19 @@ export declare const sandboxContract: {
23008
23170
  barren?: string[] | undefined;
23009
23171
  kind: "treeChanged";
23010
23172
  }, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
23173
+ kind: "heartbeat";
23174
+ rev: number;
23175
+ } | {
23176
+ ready: boolean;
23177
+ startedAt: number;
23178
+ steps: {
23179
+ key: string;
23180
+ label: string;
23181
+ state: "done" | "failed" | "pending" | "running";
23182
+ ms?: number | undefined;
23183
+ }[];
23184
+ kind: "boot";
23185
+ } | {
23011
23186
  kind: "hello";
23012
23187
  workspaceId: string;
23013
23188
  routes?: string[] | undefined;
@@ -23026,27 +23201,14 @@ export declare const sandboxContract: {
23026
23201
  projectDir?: string | undefined;
23027
23202
  surface?: "folder" | "sandbox" | undefined;
23028
23203
  } | {
23029
- kind: "heartbeat";
23030
- rev: number;
23031
- } | {
23032
- ready: boolean;
23033
- startedAt: number;
23034
- steps: {
23035
- key: string;
23036
- label: string;
23037
- state: "done" | "failed" | "pending" | "running";
23038
- ms?: number | undefined;
23039
- }[];
23040
- kind: "boot";
23204
+ kind: "reposChanged";
23205
+ repos: string[];
23041
23206
  } | {
23042
23207
  kind: "workspaceChanged";
23043
23208
  paths: string[];
23044
23209
  } | {
23045
23210
  kind: "derivedChanged";
23046
23211
  paths: string[];
23047
- } | {
23048
- kind: "reposChanged";
23049
- repos: string[];
23050
23212
  } | {
23051
23213
  kind: "refsChanged";
23052
23214
  repos: string[];
@@ -23097,6 +23259,7 @@ export declare const sandboxContract: {
23097
23259
  limitPolicy?: "move" | "resend" | "wait" | undefined;
23098
23260
  outagePolicy?: "retry" | "wait" | undefined;
23099
23261
  stopPolicy?: "retry" | "wait" | undefined;
23262
+ memoryPolicy?: "resend" | "wait" | undefined;
23100
23263
  landRequested?: {
23101
23264
  email: string;
23102
23265
  name?: string | undefined;
@@ -23535,6 +23698,10 @@ export declare const sandboxContract: {
23535
23698
  retry: "retry";
23536
23699
  wait: "wait";
23537
23700
  }>>;
23701
+ memoryPolicy: z.ZodOptional<z.ZodEnum<{
23702
+ resend: "resend";
23703
+ wait: "wait";
23704
+ }>>;
23538
23705
  landRequested: z.ZodOptional<z.ZodObject<{
23539
23706
  email: z.ZodString;
23540
23707
  name: z.ZodOptional<z.ZodString>;
@@ -24228,6 +24395,12 @@ export declare const sandboxContract: {
24228
24395
  }, z.core.$strip>, z.ZodObject<{
24229
24396
  ok: z.ZodLiteral<true>;
24230
24397
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
24398
+ closeBrowserPage: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
24399
+ name: z.ZodString;
24400
+ pageId: z.ZodString;
24401
+ }, z.core.$strip>, z.ZodObject<{
24402
+ ok: z.ZodLiteral<true>;
24403
+ }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
24231
24404
  desktop: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
24232
24405
  running: z.ZodBoolean;
24233
24406
  display: z.ZodOptional<z.ZodString>;