@intentic/sandbox-contract 1.322.0 → 1.324.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 (213) hide show
  1. package/README.md +7 -0
  2. package/dist/contracts/agent.contract.d.ts +109 -6
  3. package/dist/contracts/agent.contract.d.ts.map +1 -1
  4. package/dist/contracts/agent.contract.js +13 -3
  5. package/dist/contracts/agent.contract.js.map +1 -1
  6. package/dist/contracts/agents.contract.d.ts +124 -0
  7. package/dist/contracts/agents.contract.d.ts.map +1 -1
  8. package/dist/contracts/approvals.contract.d.ts +31 -0
  9. package/dist/contracts/approvals.contract.d.ts.map +1 -1
  10. package/dist/contracts/approvals.contract.js +2 -2
  11. package/dist/contracts/approvals.contract.js.map +1 -1
  12. package/dist/contracts/capabilities.contract.d.ts +2 -0
  13. package/dist/contracts/capabilities.contract.d.ts.map +1 -1
  14. package/dist/contracts/loops.contract.d.ts +2 -0
  15. package/dist/contracts/loops.contract.d.ts.map +1 -1
  16. package/dist/contracts/needs.contract.d.ts +4 -0
  17. package/dist/contracts/needs.contract.d.ts.map +1 -1
  18. package/dist/contracts/privacy.contract.d.ts +187 -0
  19. package/dist/contracts/privacy.contract.d.ts.map +1 -0
  20. package/dist/contracts/privacy.contract.js +76 -0
  21. package/dist/contracts/privacy.contract.js.map +1 -0
  22. package/dist/contracts/runner.contract.d.ts +167 -122
  23. package/dist/contracts/runner.contract.d.ts.map +1 -1
  24. package/dist/contracts/sessions.contract.d.ts +11 -0
  25. package/dist/contracts/sessions.contract.d.ts.map +1 -1
  26. package/dist/contracts/settings.contract.d.ts +74 -0
  27. package/dist/contracts/settings.contract.d.ts.map +1 -1
  28. package/dist/contracts/system.contract.d.ts +90 -32
  29. package/dist/contracts/system.contract.d.ts.map +1 -1
  30. package/dist/contracts/system.contract.js +11 -1
  31. package/dist/contracts/system.contract.js.map +1 -1
  32. package/dist/contracts/usage.contract.d.ts +1 -0
  33. package/dist/contracts/usage.contract.d.ts.map +1 -1
  34. package/dist/contracts/workflows.contract.d.ts +3 -0
  35. package/dist/contracts/workflows.contract.d.ts.map +1 -1
  36. package/dist/events/agent-events.d.ts +53 -1
  37. package/dist/events/agent-events.d.ts.map +1 -1
  38. package/dist/events/agent-events.js +6 -0
  39. package/dist/events/agent-events.js.map +1 -1
  40. package/dist/events/agent-ui.d.ts +33 -0
  41. package/dist/events/agent-ui.d.ts.map +1 -0
  42. package/dist/events/agent-ui.js +24 -0
  43. package/dist/events/agent-ui.js.map +1 -0
  44. package/dist/events/requests.d.ts +3 -0
  45. package/dist/events/requests.d.ts.map +1 -1
  46. package/dist/events/requests.js +4 -0
  47. package/dist/events/requests.js.map +1 -1
  48. package/dist/events/resume.d.ts +1 -0
  49. package/dist/events/resume.d.ts.map +1 -1
  50. package/dist/events/resume.js +7 -1
  51. package/dist/events/resume.js.map +1 -1
  52. package/dist/events/sandbox-notice.d.ts +2 -0
  53. package/dist/events/sandbox-notice.d.ts.map +1 -1
  54. package/dist/events/sandbox-notice.js +1 -1
  55. package/dist/events/sandbox-notice.js.map +1 -1
  56. package/dist/events/system-events.d.ts +15 -0
  57. package/dist/events/system-events.d.ts.map +1 -1
  58. package/dist/events/system-events.js +1 -0
  59. package/dist/events/system-events.js.map +1 -1
  60. package/dist/events/transcript.d.ts +70 -0
  61. package/dist/events/transcript.d.ts.map +1 -1
  62. package/dist/events/transcript.js +44 -14
  63. package/dist/events/transcript.js.map +1 -1
  64. package/dist/front/generated/browser-wire.d.ts +4 -0
  65. package/dist/front/generated/browser-wire.d.ts.map +1 -1
  66. package/dist/index.d.ts +640 -38
  67. package/dist/index.d.ts.map +1 -1
  68. package/dist/index.js +6 -0
  69. package/dist/index.js.map +1 -1
  70. package/dist/models/agent-runtimes.d.ts +1 -0
  71. package/dist/models/agent-runtimes.d.ts.map +1 -1
  72. package/dist/models/agent-runtimes.js +6 -0
  73. package/dist/models/agent-runtimes.js.map +1 -1
  74. package/dist/policy/request-status.d.ts.map +1 -1
  75. package/dist/policy/request-status.js +16 -7
  76. package/dist/policy/request-status.js.map +1 -1
  77. package/dist/policy/turned-away.d.ts.map +1 -1
  78. package/dist/policy/turned-away.js +1 -0
  79. package/dist/policy/turned-away.js.map +1 -1
  80. package/dist/protocol/raw-routes.d.ts +12 -0
  81. package/dist/protocol/raw-routes.d.ts.map +1 -1
  82. package/dist/protocol/raw-routes.js +3 -0
  83. package/dist/protocol/raw-routes.js.map +1 -1
  84. package/dist/schemas/agent.d.ts +97 -0
  85. package/dist/schemas/agent.d.ts.map +1 -1
  86. package/dist/schemas/agent.js +20 -2
  87. package/dist/schemas/agent.js.map +1 -1
  88. package/dist/schemas/agents.d.ts +18 -0
  89. package/dist/schemas/agents.d.ts.map +1 -1
  90. package/dist/schemas/agents.js +9 -2
  91. package/dist/schemas/agents.js.map +1 -1
  92. package/dist/schemas/approvals.d.ts +102 -0
  93. package/dist/schemas/approvals.d.ts.map +1 -1
  94. package/dist/schemas/approvals.js +45 -4
  95. package/dist/schemas/approvals.js.map +1 -1
  96. package/dist/schemas/automations.d.ts +6 -0
  97. package/dist/schemas/automations.d.ts.map +1 -1
  98. package/dist/schemas/capabilities.d.ts +2 -0
  99. package/dist/schemas/capabilities.d.ts.map +1 -1
  100. package/dist/schemas/capabilities.js +10 -1
  101. package/dist/schemas/capabilities.js.map +1 -1
  102. package/dist/schemas/git/git.d.ts.map +1 -1
  103. package/dist/schemas/git/git.js.map +1 -1
  104. package/dist/schemas/logs.d.ts +1 -0
  105. package/dist/schemas/logs.d.ts.map +1 -1
  106. package/dist/schemas/logs.js +4 -0
  107. package/dist/schemas/logs.js.map +1 -1
  108. package/dist/schemas/loops.d.ts +3 -0
  109. package/dist/schemas/loops.d.ts.map +1 -1
  110. package/dist/schemas/loops.js +1 -1
  111. package/dist/schemas/loops.js.map +1 -1
  112. package/dist/schemas/needs.d.ts +6 -0
  113. package/dist/schemas/needs.d.ts.map +1 -1
  114. package/dist/schemas/needs.js +13 -3
  115. package/dist/schemas/needs.js.map +1 -1
  116. package/dist/schemas/platform-link.d.ts +50 -0
  117. package/dist/schemas/platform-link.d.ts.map +1 -0
  118. package/dist/schemas/platform-link.js +19 -0
  119. package/dist/schemas/platform-link.js.map +1 -0
  120. package/dist/schemas/privacy.d.ts +277 -0
  121. package/dist/schemas/privacy.d.ts.map +1 -0
  122. package/dist/schemas/privacy.js +127 -0
  123. package/dist/schemas/privacy.js.map +1 -0
  124. package/dist/schemas/providers/plan-limits.d.ts +8 -0
  125. package/dist/schemas/providers/plan-limits.d.ts.map +1 -1
  126. package/dist/schemas/providers/plan-limits.js +25 -4
  127. package/dist/schemas/providers/plan-limits.js.map +1 -1
  128. package/dist/schemas/providers/usage.d.ts +4 -0
  129. package/dist/schemas/providers/usage.d.ts.map +1 -1
  130. package/dist/schemas/providers/usage.js +5 -2
  131. package/dist/schemas/providers/usage.js.map +1 -1
  132. package/dist/schemas/push.d.ts +1 -0
  133. package/dist/schemas/push.d.ts.map +1 -1
  134. package/dist/schemas/push.js +4 -0
  135. package/dist/schemas/push.js.map +1 -1
  136. package/dist/schemas/settings.d.ts +80 -0
  137. package/dist/schemas/settings.d.ts.map +1 -1
  138. package/dist/schemas/settings.js +14 -3
  139. package/dist/schemas/settings.js.map +1 -1
  140. package/dist/schemas/system.d.ts +17 -0
  141. package/dist/schemas/system.d.ts.map +1 -1
  142. package/dist/schemas/system.js +2 -1
  143. package/dist/schemas/system.js.map +1 -1
  144. package/dist/schemas/updates.d.ts +30 -0
  145. package/dist/schemas/updates.d.ts.map +1 -1
  146. package/dist/schemas/updates.js +37 -0
  147. package/dist/schemas/updates.js.map +1 -1
  148. package/dist/schemas/workflows.d.ts +5 -0
  149. package/dist/schemas/workflows.d.ts.map +1 -1
  150. package/dist/state/definition.d.ts +10 -0
  151. package/dist/state/definition.d.ts.map +1 -1
  152. package/dist/state/history-state.d.ts.map +1 -1
  153. package/dist/state/history-state.js +1 -0
  154. package/dist/state/history-state.js.map +1 -1
  155. package/dist/state/runtime-state.d.ts +3 -0
  156. package/dist/state/runtime-state.d.ts.map +1 -1
  157. package/dist/state/runtime-state.js +1 -0
  158. package/dist/state/runtime-state.js.map +1 -1
  159. package/dist/state/workspace-state.d.ts +17 -1
  160. package/dist/state/workspace-state.d.ts.map +1 -1
  161. package/dist/state/workspace-state.js +20 -1
  162. package/dist/state/workspace-state.js.map +1 -1
  163. package/dist/text/transcript-fold.d.ts.map +1 -1
  164. package/dist/text/transcript-fold.js +9 -0
  165. package/dist/text/transcript-fold.js.map +1 -1
  166. package/package.json +5 -5
  167. package/src/contracts/agent.contract.ts +16 -3
  168. package/src/contracts/approvals.contract.ts +2 -2
  169. package/src/contracts/privacy.contract.ts +95 -0
  170. package/src/contracts/system.contract.ts +14 -1
  171. package/src/events/agent-events.ts +11 -0
  172. package/src/events/agent-ui.ts +40 -0
  173. package/src/events/requests.ts +6 -0
  174. package/src/events/resume.test.ts +13 -0
  175. package/src/events/resume.ts +11 -2
  176. package/src/events/sandbox-notice.ts +1 -1
  177. package/src/events/system-events.ts +2 -0
  178. package/src/events/transcript.ts +84 -20
  179. package/src/front/generated/browser-wire.json +27 -0
  180. package/src/front/generated/browser-wire.ts +1 -1
  181. package/src/index.ts +6 -0
  182. package/src/models/agent-catalog.test.ts +1 -0
  183. package/src/models/agent-runtimes.ts +17 -0
  184. package/src/models/capability-ledger.test.ts +3 -0
  185. package/src/policy/request-status.ts +19 -9
  186. package/src/policy/turned-away.ts +2 -0
  187. package/src/protocol/raw-routes.ts +9 -0
  188. package/src/schemas/agent.ts +36 -4
  189. package/src/schemas/agents.ts +17 -4
  190. package/src/schemas/approvals.ts +59 -4
  191. package/src/schemas/automations.ts +4 -4
  192. package/src/schemas/capabilities.ts +15 -2
  193. package/src/schemas/ci.ts +1 -1
  194. package/src/schemas/git/git.ts +1 -0
  195. package/src/schemas/logs.ts +6 -0
  196. package/src/schemas/loops.ts +2 -1
  197. package/src/schemas/needs.ts +18 -3
  198. package/src/schemas/platform-link.ts +42 -0
  199. package/src/schemas/privacy.ts +204 -0
  200. package/src/schemas/providers/plan-limits.ts +38 -5
  201. package/src/schemas/providers/usage.ts +13 -2
  202. package/src/schemas/push.ts +7 -0
  203. package/src/schemas/settings-history.ts +3 -3
  204. package/src/schemas/settings.test.ts +5 -5
  205. package/src/schemas/settings.ts +47 -19
  206. package/src/schemas/system.ts +6 -1
  207. package/src/schemas/updates.ts +71 -0
  208. package/src/state/history-state.ts +3 -0
  209. package/src/state/runtime-state.ts +4 -0
  210. package/src/state/workspace-state.test.ts +8 -2
  211. package/src/state/workspace-state.ts +32 -2
  212. package/src/text/transcript-fold.test.ts +15 -0
  213. package/src/text/transcript-fold.ts +10 -0
package/dist/index.d.ts CHANGED
@@ -33,6 +33,7 @@ export { portsContract } from "./contracts/ports.contract.js";
33
33
  export { publicContract } from "./contracts/public.contract.js";
34
34
  export { providersContract, type RunnableProviders, RunnableProvidersSchema } from "./contracts/providers.contract.js";
35
35
  export { pushContract } from "./contracts/push.contract.js";
36
+ export { privacyContract } from "./contracts/privacy.contract.js";
36
37
  export { safetyContract } from "./contracts/safety.contract.js";
37
38
  export { needsContract } from "./contracts/needs.contract.js";
38
39
  export { secretsContract } from "./contracts/secrets.contract.js";
@@ -49,6 +50,7 @@ export { vpnContract } from "./contracts/vpn.contract.js";
49
50
  export { workflowsContract } from "./contracts/workflows.contract.js";
50
51
  export { workspaceContract } from "./contracts/workspace.contract.js";
51
52
  export * from "./events/agent-events.js";
53
+ export * from "./events/agent-ui.js";
52
54
  export * from "./events/agent-words.js";
53
55
  export * from "./events/requests.js";
54
56
  export * from "./events/resume.js";
@@ -149,7 +151,9 @@ export * from "./schemas/marketplace.js";
149
151
  export * from "./schemas/metrics.js";
150
152
  export * from "./schemas/panels.js";
151
153
  export * from "./schemas/personas.js";
154
+ export * from "./schemas/privacy.js";
152
155
  export * from "./schemas/providers/plan-limits.js";
156
+ export * from "./schemas/platform-link.js";
153
157
  export * from "./schemas/ports.js";
154
158
  export * from "./schemas/providers/provider-oauth.js";
155
159
  export * from "./schemas/providers/provider-subscriptions.js";
@@ -666,6 +670,9 @@ export declare const sandboxContract: {
666
670
  selection: z.ZodOptional<z.ZodString>;
667
671
  }, z.core.$strip>>;
668
672
  sendAt: z.ZodOptional<z.ZodNumber>;
673
+ sendAfter: z.ZodOptional<z.ZodString>;
674
+ conversationAutoLand: z.ZodOptional<z.ZodBoolean>;
675
+ continues: z.ZodOptional<z.ZodLiteral<true>>;
669
676
  }, z.core.$strip>, z.ZodObject<{
670
677
  delivered: z.ZodEnum<{
671
678
  queued: "queued";
@@ -734,6 +741,10 @@ export declare const sandboxContract: {
734
741
  code: string;
735
742
  params?: Record<string, string | number | boolean> | undefined;
736
743
  } | undefined;
744
+ agentNotice?: {
745
+ level: "error" | "info" | "warning";
746
+ source?: string | undefined;
747
+ } | undefined;
737
748
  plan?: {
738
749
  requestId: string;
739
750
  text: string;
@@ -767,6 +778,7 @@ export declare const sandboxContract: {
767
778
  } | undefined;
768
779
  status: "answered" | "cancelled" | "pending";
769
780
  answers?: Record<string, string[]> | undefined;
781
+ attachments?: Record<string, string[]> | undefined;
770
782
  } | undefined;
771
783
  permission?: {
772
784
  toolName: string;
@@ -776,6 +788,7 @@ export declare const sandboxContract: {
776
788
  reason?: string | undefined;
777
789
  path?: string | undefined;
778
790
  alwaysLabel?: string | undefined;
791
+ alwaysAsks?: true | undefined;
779
792
  program?: {
780
793
  text: string;
781
794
  language: "bash" | "javascript";
@@ -810,7 +823,7 @@ export declare const sandboxContract: {
810
823
  } | undefined;
811
824
  explain?: string | undefined;
812
825
  requestId: string;
813
- status: "allowed" | "always" | "cancelled" | "denied" | "pending";
826
+ status: "allowed" | "always" | "cancelled" | "denied" | "everything" | "pending";
814
827
  } | undefined;
815
828
  browserHelp?: {
816
829
  requestId: string;
@@ -1007,6 +1020,10 @@ export declare const sandboxContract: {
1007
1020
  code: string;
1008
1021
  params?: Record<string, string | number | boolean> | undefined;
1009
1022
  } | undefined;
1023
+ agentNotice?: {
1024
+ level: "error" | "info" | "warning";
1025
+ source?: string | undefined;
1026
+ } | undefined;
1010
1027
  plan?: {
1011
1028
  requestId: string;
1012
1029
  text: string;
@@ -1040,6 +1057,7 @@ export declare const sandboxContract: {
1040
1057
  } | undefined;
1041
1058
  status: "answered" | "cancelled" | "pending";
1042
1059
  answers?: Record<string, string[]> | undefined;
1060
+ attachments?: Record<string, string[]> | undefined;
1043
1061
  } | undefined;
1044
1062
  permission?: {
1045
1063
  toolName: string;
@@ -1049,6 +1067,7 @@ export declare const sandboxContract: {
1049
1067
  reason?: string | undefined;
1050
1068
  path?: string | undefined;
1051
1069
  alwaysLabel?: string | undefined;
1070
+ alwaysAsks?: true | undefined;
1052
1071
  program?: {
1053
1072
  text: string;
1054
1073
  language: "bash" | "javascript";
@@ -1083,7 +1102,7 @@ export declare const sandboxContract: {
1083
1102
  } | undefined;
1084
1103
  explain?: string | undefined;
1085
1104
  requestId: string;
1086
- status: "allowed" | "always" | "cancelled" | "denied" | "pending";
1105
+ status: "allowed" | "always" | "cancelled" | "denied" | "everything" | "pending";
1087
1106
  } | undefined;
1088
1107
  browserHelp?: {
1089
1108
  requestId: string;
@@ -1278,6 +1297,10 @@ export declare const sandboxContract: {
1278
1297
  code: string;
1279
1298
  params?: Record<string, string | number | boolean> | undefined;
1280
1299
  } | undefined;
1300
+ agentNotice?: {
1301
+ level: "error" | "info" | "warning";
1302
+ source?: string | undefined;
1303
+ } | undefined;
1281
1304
  plan?: {
1282
1305
  requestId: string;
1283
1306
  text: string;
@@ -1311,6 +1334,7 @@ export declare const sandboxContract: {
1311
1334
  } | undefined;
1312
1335
  status: "answered" | "cancelled" | "pending";
1313
1336
  answers?: Record<string, string[]> | undefined;
1337
+ attachments?: Record<string, string[]> | undefined;
1314
1338
  } | undefined;
1315
1339
  permission?: {
1316
1340
  toolName: string;
@@ -1320,6 +1344,7 @@ export declare const sandboxContract: {
1320
1344
  reason?: string | undefined;
1321
1345
  path?: string | undefined;
1322
1346
  alwaysLabel?: string | undefined;
1347
+ alwaysAsks?: true | undefined;
1323
1348
  program?: {
1324
1349
  text: string;
1325
1350
  language: "bash" | "javascript";
@@ -1354,7 +1379,7 @@ export declare const sandboxContract: {
1354
1379
  } | undefined;
1355
1380
  explain?: string | undefined;
1356
1381
  requestId: string;
1357
- status: "allowed" | "always" | "cancelled" | "denied" | "pending";
1382
+ status: "allowed" | "always" | "cancelled" | "denied" | "everything" | "pending";
1358
1383
  } | undefined;
1359
1384
  browserHelp?: {
1360
1385
  requestId: string;
@@ -1579,6 +1604,10 @@ export declare const sandboxContract: {
1579
1604
  code: string;
1580
1605
  params?: Record<string, string | number | boolean> | undefined;
1581
1606
  } | undefined;
1607
+ agentNotice?: {
1608
+ level: "error" | "info" | "warning";
1609
+ source?: string | undefined;
1610
+ } | undefined;
1582
1611
  plan?: {
1583
1612
  requestId: string;
1584
1613
  text: string;
@@ -1612,6 +1641,7 @@ export declare const sandboxContract: {
1612
1641
  } | undefined;
1613
1642
  status: "answered" | "cancelled" | "pending";
1614
1643
  answers?: Record<string, string[]> | undefined;
1644
+ attachments?: Record<string, string[]> | undefined;
1615
1645
  } | undefined;
1616
1646
  permission?: {
1617
1647
  toolName: string;
@@ -1621,6 +1651,7 @@ export declare const sandboxContract: {
1621
1651
  reason?: string | undefined;
1622
1652
  path?: string | undefined;
1623
1653
  alwaysLabel?: string | undefined;
1654
+ alwaysAsks?: true | undefined;
1624
1655
  program?: {
1625
1656
  text: string;
1626
1657
  language: "bash" | "javascript";
@@ -1655,7 +1686,7 @@ export declare const sandboxContract: {
1655
1686
  } | undefined;
1656
1687
  explain?: string | undefined;
1657
1688
  requestId: string;
1658
- status: "allowed" | "always" | "cancelled" | "denied" | "pending";
1689
+ status: "allowed" | "always" | "cancelled" | "denied" | "everything" | "pending";
1659
1690
  } | undefined;
1660
1691
  browserHelp?: {
1661
1692
  requestId: string;
@@ -1852,6 +1883,10 @@ export declare const sandboxContract: {
1852
1883
  code: string;
1853
1884
  params?: Record<string, string | number | boolean> | undefined;
1854
1885
  } | undefined;
1886
+ agentNotice?: {
1887
+ level: "error" | "info" | "warning";
1888
+ source?: string | undefined;
1889
+ } | undefined;
1855
1890
  plan?: {
1856
1891
  requestId: string;
1857
1892
  text: string;
@@ -1885,6 +1920,7 @@ export declare const sandboxContract: {
1885
1920
  } | undefined;
1886
1921
  status: "answered" | "cancelled" | "pending";
1887
1922
  answers?: Record<string, string[]> | undefined;
1923
+ attachments?: Record<string, string[]> | undefined;
1888
1924
  } | undefined;
1889
1925
  permission?: {
1890
1926
  toolName: string;
@@ -1894,6 +1930,7 @@ export declare const sandboxContract: {
1894
1930
  reason?: string | undefined;
1895
1931
  path?: string | undefined;
1896
1932
  alwaysLabel?: string | undefined;
1933
+ alwaysAsks?: true | undefined;
1897
1934
  program?: {
1898
1935
  text: string;
1899
1936
  language: "bash" | "javascript";
@@ -1928,7 +1965,7 @@ export declare const sandboxContract: {
1928
1965
  } | undefined;
1929
1966
  explain?: string | undefined;
1930
1967
  requestId: string;
1931
- status: "allowed" | "always" | "cancelled" | "denied" | "pending";
1968
+ status: "allowed" | "always" | "cancelled" | "denied" | "everything" | "pending";
1932
1969
  } | undefined;
1933
1970
  browserHelp?: {
1934
1971
  requestId: string;
@@ -2123,6 +2160,10 @@ export declare const sandboxContract: {
2123
2160
  code: string;
2124
2161
  params?: Record<string, string | number | boolean> | undefined;
2125
2162
  } | undefined;
2163
+ agentNotice?: {
2164
+ level: "error" | "info" | "warning";
2165
+ source?: string | undefined;
2166
+ } | undefined;
2126
2167
  plan?: {
2127
2168
  requestId: string;
2128
2169
  text: string;
@@ -2156,6 +2197,7 @@ export declare const sandboxContract: {
2156
2197
  } | undefined;
2157
2198
  status: "answered" | "cancelled" | "pending";
2158
2199
  answers?: Record<string, string[]> | undefined;
2200
+ attachments?: Record<string, string[]> | undefined;
2159
2201
  } | undefined;
2160
2202
  permission?: {
2161
2203
  toolName: string;
@@ -2165,6 +2207,7 @@ export declare const sandboxContract: {
2165
2207
  reason?: string | undefined;
2166
2208
  path?: string | undefined;
2167
2209
  alwaysLabel?: string | undefined;
2210
+ alwaysAsks?: true | undefined;
2168
2211
  program?: {
2169
2212
  text: string;
2170
2213
  language: "bash" | "javascript";
@@ -2199,7 +2242,7 @@ export declare const sandboxContract: {
2199
2242
  } | undefined;
2200
2243
  explain?: string | undefined;
2201
2244
  requestId: string;
2202
- status: "allowed" | "always" | "cancelled" | "denied" | "pending";
2245
+ status: "allowed" | "always" | "cancelled" | "denied" | "everything" | "pending";
2203
2246
  } | undefined;
2204
2247
  browserHelp?: {
2205
2248
  requestId: string;
@@ -2455,6 +2498,14 @@ export declare const sandboxContract: {
2455
2498
  code: z.ZodString;
2456
2499
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2457
2500
  }, z.core.$strip>>;
2501
+ agentNotice: z.ZodOptional<z.ZodObject<{
2502
+ level: z.ZodEnum<{
2503
+ error: "error";
2504
+ info: "info";
2505
+ warning: "warning";
2506
+ }>;
2507
+ source: z.ZodOptional<z.ZodString>;
2508
+ }, z.core.$strip>>;
2458
2509
  plan: z.ZodOptional<z.ZodObject<{
2459
2510
  requestId: z.ZodString;
2460
2511
  text: z.ZodString;
@@ -2497,6 +2548,7 @@ export declare const sandboxContract: {
2497
2548
  pending: "pending";
2498
2549
  }>;
2499
2550
  answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
2551
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
2500
2552
  }, z.core.$strip>>;
2501
2553
  permission: z.ZodOptional<z.ZodObject<{
2502
2554
  toolName: z.ZodString;
@@ -2506,6 +2558,7 @@ export declare const sandboxContract: {
2506
2558
  reason: z.ZodOptional<z.ZodString>;
2507
2559
  path: z.ZodOptional<z.ZodString>;
2508
2560
  alwaysLabel: z.ZodOptional<z.ZodString>;
2561
+ alwaysAsks: z.ZodOptional<z.ZodLiteral<true>>;
2509
2562
  program: z.ZodOptional<z.ZodObject<{
2510
2563
  text: z.ZodString;
2511
2564
  language: z.ZodEnum<{
@@ -2558,6 +2611,7 @@ export declare const sandboxContract: {
2558
2611
  always: "always";
2559
2612
  cancelled: "cancelled";
2560
2613
  denied: "denied";
2614
+ everything: "everything";
2561
2615
  pending: "pending";
2562
2616
  }>;
2563
2617
  }, z.core.$strip>>;
@@ -2865,6 +2919,14 @@ export declare const sandboxContract: {
2865
2919
  code: z.ZodString;
2866
2920
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
2867
2921
  }, z.core.$strip>>;
2922
+ agentNotice: z.ZodOptional<z.ZodObject<{
2923
+ level: z.ZodEnum<{
2924
+ error: "error";
2925
+ info: "info";
2926
+ warning: "warning";
2927
+ }>;
2928
+ source: z.ZodOptional<z.ZodString>;
2929
+ }, z.core.$strip>>;
2868
2930
  plan: z.ZodOptional<z.ZodObject<{
2869
2931
  requestId: z.ZodString;
2870
2932
  text: z.ZodString;
@@ -2907,6 +2969,7 @@ export declare const sandboxContract: {
2907
2969
  pending: "pending";
2908
2970
  }>;
2909
2971
  answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
2972
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
2910
2973
  }, z.core.$strip>>;
2911
2974
  permission: z.ZodOptional<z.ZodObject<{
2912
2975
  toolName: z.ZodString;
@@ -2916,6 +2979,7 @@ export declare const sandboxContract: {
2916
2979
  reason: z.ZodOptional<z.ZodString>;
2917
2980
  path: z.ZodOptional<z.ZodString>;
2918
2981
  alwaysLabel: z.ZodOptional<z.ZodString>;
2982
+ alwaysAsks: z.ZodOptional<z.ZodLiteral<true>>;
2919
2983
  program: z.ZodOptional<z.ZodObject<{
2920
2984
  text: z.ZodString;
2921
2985
  language: z.ZodEnum<{
@@ -2968,6 +3032,7 @@ export declare const sandboxContract: {
2968
3032
  always: "always";
2969
3033
  cancelled: "cancelled";
2970
3034
  denied: "denied";
3035
+ everything: "everything";
2971
3036
  pending: "pending";
2972
3037
  }>;
2973
3038
  }, z.core.$strip>>;
@@ -3273,6 +3338,14 @@ export declare const sandboxContract: {
3273
3338
  code: z.ZodString;
3274
3339
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
3275
3340
  }, z.core.$strip>>;
3341
+ agentNotice: z.ZodOptional<z.ZodObject<{
3342
+ level: z.ZodEnum<{
3343
+ error: "error";
3344
+ info: "info";
3345
+ warning: "warning";
3346
+ }>;
3347
+ source: z.ZodOptional<z.ZodString>;
3348
+ }, z.core.$strip>>;
3276
3349
  plan: z.ZodOptional<z.ZodObject<{
3277
3350
  requestId: z.ZodString;
3278
3351
  text: z.ZodString;
@@ -3315,6 +3388,7 @@ export declare const sandboxContract: {
3315
3388
  pending: "pending";
3316
3389
  }>;
3317
3390
  answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
3391
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
3318
3392
  }, z.core.$strip>>;
3319
3393
  permission: z.ZodOptional<z.ZodObject<{
3320
3394
  toolName: z.ZodString;
@@ -3324,6 +3398,7 @@ export declare const sandboxContract: {
3324
3398
  reason: z.ZodOptional<z.ZodString>;
3325
3399
  path: z.ZodOptional<z.ZodString>;
3326
3400
  alwaysLabel: z.ZodOptional<z.ZodString>;
3401
+ alwaysAsks: z.ZodOptional<z.ZodLiteral<true>>;
3327
3402
  program: z.ZodOptional<z.ZodObject<{
3328
3403
  text: z.ZodString;
3329
3404
  language: z.ZodEnum<{
@@ -3376,6 +3451,7 @@ export declare const sandboxContract: {
3376
3451
  always: "always";
3377
3452
  cancelled: "cancelled";
3378
3453
  denied: "denied";
3454
+ everything: "everything";
3379
3455
  pending: "pending";
3380
3456
  }>;
3381
3457
  }, z.core.$strip>>;
@@ -3636,6 +3712,7 @@ export declare const sandboxContract: {
3636
3712
  kind: z.ZodLiteral<"question">;
3637
3713
  requestId: z.ZodString;
3638
3714
  answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
3715
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
3639
3716
  cancelled: z.ZodOptional<z.ZodBoolean>;
3640
3717
  }, z.core.$strip>, z.ZodObject<{
3641
3718
  kind: z.ZodLiteral<"permission">;
@@ -3643,6 +3720,7 @@ export declare const sandboxContract: {
3643
3720
  decision: z.ZodEnum<{
3644
3721
  always: "always";
3645
3722
  deny: "deny";
3723
+ everything: "everything";
3646
3724
  once: "once";
3647
3725
  }>;
3648
3726
  feedback: z.ZodOptional<z.ZodString>;
@@ -3742,6 +3820,7 @@ export declare const sandboxContract: {
3742
3820
  stopped: "stopped";
3743
3821
  }>>;
3744
3822
  until: z.ZodOptional<z.ZodNumber>;
3823
+ after: z.ZodOptional<z.ZodString>;
3745
3824
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
3746
3825
  queueRemove: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3747
3826
  conversationId: z.ZodString;
@@ -3767,6 +3846,7 @@ export declare const sandboxContract: {
3767
3846
  stopped: "stopped";
3768
3847
  }>>;
3769
3848
  until: z.ZodOptional<z.ZodNumber>;
3849
+ after: z.ZodOptional<z.ZodString>;
3770
3850
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
3771
3851
  queueResume: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3772
3852
  conversationId: z.ZodString;
@@ -3802,7 +3882,34 @@ export declare const sandboxContract: {
3802
3882
  stopped: "stopped";
3803
3883
  }>>;
3804
3884
  until: z.ZodOptional<z.ZodNumber>;
3885
+ after: z.ZodOptional<z.ZodString>;
3886
+ }, z.core.$strip>>;
3887
+ }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
3888
+ queueSchedule: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3889
+ conversationId: z.ZodString;
3890
+ sendAt: z.ZodOptional<z.ZodNumber>;
3891
+ sendAfter: z.ZodOptional<z.ZodString>;
3892
+ }, z.core.$strip>, z.ZodObject<{
3893
+ items: z.ZodArray<z.ZodObject<{
3894
+ id: z.ZodString;
3895
+ text: z.ZodString;
3896
+ attachments: z.ZodOptional<z.ZodArray<z.ZodString>>;
3897
+ voice: z.ZodEnum<{
3898
+ agent: "agent";
3899
+ person: "person";
3900
+ sandbox: "sandbox";
3901
+ }>;
3902
+ queuedAt: z.ZodNumber;
3903
+ revision: z.ZodNumber;
3805
3904
  }, z.core.$strip>>;
3905
+ revision: z.ZodNumber;
3906
+ paused: z.ZodOptional<z.ZodEnum<{
3907
+ refused: "refused";
3908
+ scheduled: "scheduled";
3909
+ stopped: "stopped";
3910
+ }>>;
3911
+ until: z.ZodOptional<z.ZodNumber>;
3912
+ after: z.ZodOptional<z.ZodString>;
3806
3913
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
3807
3914
  resume: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
3808
3915
  conversationId: z.ZodString;
@@ -4063,6 +4170,7 @@ export declare const sandboxContract: {
4063
4170
  stopped: "stopped";
4064
4171
  }>>;
4065
4172
  until: z.ZodOptional<z.ZodNumber>;
4173
+ after: z.ZodOptional<z.ZodString>;
4066
4174
  }, z.core.$strip>>;
4067
4175
  updatedAt: z.ZodNumber;
4068
4176
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -4143,6 +4251,7 @@ export declare const sandboxContract: {
4143
4251
  running: "running";
4144
4252
  stalled: "stalled";
4145
4253
  stopped: "stopped";
4254
+ unpriced: "unpriced";
4146
4255
  }>;
4147
4256
  iteration: z.ZodNumber;
4148
4257
  maxIterations: z.ZodNumber;
@@ -4195,6 +4304,10 @@ export declare const sandboxContract: {
4195
4304
  person: "person";
4196
4305
  turn: "turn";
4197
4306
  }>>;
4307
+ inputWait: z.ZodOptional<z.ZodObject<{
4308
+ since: z.ZodNumber;
4309
+ program: z.ZodString;
4310
+ }, z.core.$strip>>;
4198
4311
  }, z.core.$strip>>>;
4199
4312
  archivedAt: z.ZodOptional<z.ZodNumber>;
4200
4313
  }, z.core.$strip>>;
@@ -4397,6 +4510,7 @@ export declare const sandboxContract: {
4397
4510
  stopped: "stopped";
4398
4511
  }>>;
4399
4512
  until: z.ZodOptional<z.ZodNumber>;
4513
+ after: z.ZodOptional<z.ZodString>;
4400
4514
  }, z.core.$strip>>;
4401
4515
  updatedAt: z.ZodNumber;
4402
4516
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -4477,6 +4591,7 @@ export declare const sandboxContract: {
4477
4591
  running: "running";
4478
4592
  stalled: "stalled";
4479
4593
  stopped: "stopped";
4594
+ unpriced: "unpriced";
4480
4595
  }>;
4481
4596
  iteration: z.ZodNumber;
4482
4597
  maxIterations: z.ZodNumber;
@@ -4529,6 +4644,10 @@ export declare const sandboxContract: {
4529
4644
  person: "person";
4530
4645
  turn: "turn";
4531
4646
  }>>;
4647
+ inputWait: z.ZodOptional<z.ZodObject<{
4648
+ since: z.ZodNumber;
4649
+ program: z.ZodString;
4650
+ }, z.core.$strip>>;
4532
4651
  }, z.core.$strip>>>;
4533
4652
  archivedAt: z.ZodOptional<z.ZodNumber>;
4534
4653
  }, z.core.$strip>>;
@@ -4749,6 +4868,7 @@ export declare const sandboxContract: {
4749
4868
  stopped: "stopped";
4750
4869
  }>>;
4751
4870
  until: z.ZodOptional<z.ZodNumber>;
4871
+ after: z.ZodOptional<z.ZodString>;
4752
4872
  }, z.core.$strip>>;
4753
4873
  updatedAt: z.ZodNumber;
4754
4874
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -4829,6 +4949,7 @@ export declare const sandboxContract: {
4829
4949
  running: "running";
4830
4950
  stalled: "stalled";
4831
4951
  stopped: "stopped";
4952
+ unpriced: "unpriced";
4832
4953
  }>;
4833
4954
  iteration: z.ZodNumber;
4834
4955
  maxIterations: z.ZodNumber;
@@ -4881,6 +5002,10 @@ export declare const sandboxContract: {
4881
5002
  person: "person";
4882
5003
  turn: "turn";
4883
5004
  }>>;
5005
+ inputWait: z.ZodOptional<z.ZodObject<{
5006
+ since: z.ZodNumber;
5007
+ program: z.ZodString;
5008
+ }, z.core.$strip>>;
4884
5009
  }, z.core.$strip>>>;
4885
5010
  archivedAt: z.ZodOptional<z.ZodNumber>;
4886
5011
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
@@ -4970,6 +5095,14 @@ export declare const sandboxContract: {
4970
5095
  code: z.ZodString;
4971
5096
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
4972
5097
  }, z.core.$strip>>;
5098
+ agentNotice: z.ZodOptional<z.ZodObject<{
5099
+ level: z.ZodEnum<{
5100
+ error: "error";
5101
+ info: "info";
5102
+ warning: "warning";
5103
+ }>;
5104
+ source: z.ZodOptional<z.ZodString>;
5105
+ }, z.core.$strip>>;
4973
5106
  plan: z.ZodOptional<z.ZodObject<{
4974
5107
  requestId: z.ZodString;
4975
5108
  text: z.ZodString;
@@ -5012,6 +5145,7 @@ export declare const sandboxContract: {
5012
5145
  pending: "pending";
5013
5146
  }>;
5014
5147
  answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
5148
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
5015
5149
  }, z.core.$strip>>;
5016
5150
  permission: z.ZodOptional<z.ZodObject<{
5017
5151
  toolName: z.ZodString;
@@ -5021,6 +5155,7 @@ export declare const sandboxContract: {
5021
5155
  reason: z.ZodOptional<z.ZodString>;
5022
5156
  path: z.ZodOptional<z.ZodString>;
5023
5157
  alwaysLabel: z.ZodOptional<z.ZodString>;
5158
+ alwaysAsks: z.ZodOptional<z.ZodLiteral<true>>;
5024
5159
  program: z.ZodOptional<z.ZodObject<{
5025
5160
  text: z.ZodString;
5026
5161
  language: z.ZodEnum<{
@@ -5073,6 +5208,7 @@ export declare const sandboxContract: {
5073
5208
  always: "always";
5074
5209
  cancelled: "cancelled";
5075
5210
  denied: "denied";
5211
+ everything: "everything";
5076
5212
  pending: "pending";
5077
5213
  }>;
5078
5214
  }, z.core.$strip>>;
@@ -5450,6 +5586,14 @@ export declare const sandboxContract: {
5450
5586
  code: z.ZodString;
5451
5587
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
5452
5588
  }, z.core.$strip>>;
5589
+ agentNotice: z.ZodOptional<z.ZodObject<{
5590
+ level: z.ZodEnum<{
5591
+ error: "error";
5592
+ info: "info";
5593
+ warning: "warning";
5594
+ }>;
5595
+ source: z.ZodOptional<z.ZodString>;
5596
+ }, z.core.$strip>>;
5453
5597
  plan: z.ZodOptional<z.ZodObject<{
5454
5598
  requestId: z.ZodString;
5455
5599
  text: z.ZodString;
@@ -5492,6 +5636,7 @@ export declare const sandboxContract: {
5492
5636
  pending: "pending";
5493
5637
  }>;
5494
5638
  answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
5639
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
5495
5640
  }, z.core.$strip>>;
5496
5641
  permission: z.ZodOptional<z.ZodObject<{
5497
5642
  toolName: z.ZodString;
@@ -5501,6 +5646,7 @@ export declare const sandboxContract: {
5501
5646
  reason: z.ZodOptional<z.ZodString>;
5502
5647
  path: z.ZodOptional<z.ZodString>;
5503
5648
  alwaysLabel: z.ZodOptional<z.ZodString>;
5649
+ alwaysAsks: z.ZodOptional<z.ZodLiteral<true>>;
5504
5650
  program: z.ZodOptional<z.ZodObject<{
5505
5651
  text: z.ZodString;
5506
5652
  language: z.ZodEnum<{
@@ -5553,6 +5699,7 @@ export declare const sandboxContract: {
5553
5699
  always: "always";
5554
5700
  cancelled: "cancelled";
5555
5701
  denied: "denied";
5702
+ everything: "everything";
5556
5703
  pending: "pending";
5557
5704
  }>;
5558
5705
  }, z.core.$strip>>;
@@ -5962,6 +6109,7 @@ export declare const sandboxContract: {
5962
6109
  stopped: "stopped";
5963
6110
  }>>;
5964
6111
  until: z.ZodOptional<z.ZodNumber>;
6112
+ after: z.ZodOptional<z.ZodString>;
5965
6113
  }, z.core.$strip>>;
5966
6114
  updatedAt: z.ZodNumber;
5967
6115
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -6042,6 +6190,7 @@ export declare const sandboxContract: {
6042
6190
  running: "running";
6043
6191
  stalled: "stalled";
6044
6192
  stopped: "stopped";
6193
+ unpriced: "unpriced";
6045
6194
  }>;
6046
6195
  iteration: z.ZodNumber;
6047
6196
  maxIterations: z.ZodNumber;
@@ -6094,6 +6243,10 @@ export declare const sandboxContract: {
6094
6243
  person: "person";
6095
6244
  turn: "turn";
6096
6245
  }>>;
6246
+ inputWait: z.ZodOptional<z.ZodObject<{
6247
+ since: z.ZodNumber;
6248
+ program: z.ZodString;
6249
+ }, z.core.$strip>>;
6097
6250
  }, z.core.$strip>>>;
6098
6251
  archivedAt: z.ZodOptional<z.ZodNumber>;
6099
6252
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
@@ -6278,6 +6431,7 @@ export declare const sandboxContract: {
6278
6431
  stopped: "stopped";
6279
6432
  }>>;
6280
6433
  until: z.ZodOptional<z.ZodNumber>;
6434
+ after: z.ZodOptional<z.ZodString>;
6281
6435
  }, z.core.$strip>>;
6282
6436
  updatedAt: z.ZodNumber;
6283
6437
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -6358,6 +6512,7 @@ export declare const sandboxContract: {
6358
6512
  running: "running";
6359
6513
  stalled: "stalled";
6360
6514
  stopped: "stopped";
6515
+ unpriced: "unpriced";
6361
6516
  }>;
6362
6517
  iteration: z.ZodNumber;
6363
6518
  maxIterations: z.ZodNumber;
@@ -6410,6 +6565,10 @@ export declare const sandboxContract: {
6410
6565
  person: "person";
6411
6566
  turn: "turn";
6412
6567
  }>>;
6568
+ inputWait: z.ZodOptional<z.ZodObject<{
6569
+ since: z.ZodNumber;
6570
+ program: z.ZodString;
6571
+ }, z.core.$strip>>;
6413
6572
  }, z.core.$strip>>>;
6414
6573
  archivedAt: z.ZodOptional<z.ZodNumber>;
6415
6574
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
@@ -6604,6 +6763,7 @@ export declare const sandboxContract: {
6604
6763
  stopped: "stopped";
6605
6764
  }>>;
6606
6765
  until: z.ZodOptional<z.ZodNumber>;
6766
+ after: z.ZodOptional<z.ZodString>;
6607
6767
  }, z.core.$strip>>;
6608
6768
  updatedAt: z.ZodNumber;
6609
6769
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -6684,6 +6844,7 @@ export declare const sandboxContract: {
6684
6844
  running: "running";
6685
6845
  stalled: "stalled";
6686
6846
  stopped: "stopped";
6847
+ unpriced: "unpriced";
6687
6848
  }>;
6688
6849
  iteration: z.ZodNumber;
6689
6850
  maxIterations: z.ZodNumber;
@@ -6736,6 +6897,10 @@ export declare const sandboxContract: {
6736
6897
  person: "person";
6737
6898
  turn: "turn";
6738
6899
  }>>;
6900
+ inputWait: z.ZodOptional<z.ZodObject<{
6901
+ since: z.ZodNumber;
6902
+ program: z.ZodString;
6903
+ }, z.core.$strip>>;
6739
6904
  }, z.core.$strip>>>;
6740
6905
  archivedAt: z.ZodOptional<z.ZodNumber>;
6741
6906
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
@@ -6920,6 +7085,7 @@ export declare const sandboxContract: {
6920
7085
  stopped: "stopped";
6921
7086
  }>>;
6922
7087
  until: z.ZodOptional<z.ZodNumber>;
7088
+ after: z.ZodOptional<z.ZodString>;
6923
7089
  }, z.core.$strip>>;
6924
7090
  updatedAt: z.ZodNumber;
6925
7091
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -7000,6 +7166,7 @@ export declare const sandboxContract: {
7000
7166
  running: "running";
7001
7167
  stalled: "stalled";
7002
7168
  stopped: "stopped";
7169
+ unpriced: "unpriced";
7003
7170
  }>;
7004
7171
  iteration: z.ZodNumber;
7005
7172
  maxIterations: z.ZodNumber;
@@ -7052,6 +7219,10 @@ export declare const sandboxContract: {
7052
7219
  person: "person";
7053
7220
  turn: "turn";
7054
7221
  }>>;
7222
+ inputWait: z.ZodOptional<z.ZodObject<{
7223
+ since: z.ZodNumber;
7224
+ program: z.ZodString;
7225
+ }, z.core.$strip>>;
7055
7226
  }, z.core.$strip>>>;
7056
7227
  archivedAt: z.ZodOptional<z.ZodNumber>;
7057
7228
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
@@ -7235,6 +7406,7 @@ export declare const sandboxContract: {
7235
7406
  stopped: "stopped";
7236
7407
  }>>;
7237
7408
  until: z.ZodOptional<z.ZodNumber>;
7409
+ after: z.ZodOptional<z.ZodString>;
7238
7410
  }, z.core.$strip>>;
7239
7411
  updatedAt: z.ZodNumber;
7240
7412
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -7315,6 +7487,7 @@ export declare const sandboxContract: {
7315
7487
  running: "running";
7316
7488
  stalled: "stalled";
7317
7489
  stopped: "stopped";
7490
+ unpriced: "unpriced";
7318
7491
  }>;
7319
7492
  iteration: z.ZodNumber;
7320
7493
  maxIterations: z.ZodNumber;
@@ -7367,6 +7540,10 @@ export declare const sandboxContract: {
7367
7540
  person: "person";
7368
7541
  turn: "turn";
7369
7542
  }>>;
7543
+ inputWait: z.ZodOptional<z.ZodObject<{
7544
+ since: z.ZodNumber;
7545
+ program: z.ZodString;
7546
+ }, z.core.$strip>>;
7370
7547
  }, z.core.$strip>>>;
7371
7548
  archivedAt: z.ZodOptional<z.ZodNumber>;
7372
7549
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
@@ -7551,6 +7728,7 @@ export declare const sandboxContract: {
7551
7728
  stopped: "stopped";
7552
7729
  }>>;
7553
7730
  until: z.ZodOptional<z.ZodNumber>;
7731
+ after: z.ZodOptional<z.ZodString>;
7554
7732
  }, z.core.$strip>>;
7555
7733
  updatedAt: z.ZodNumber;
7556
7734
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -7631,6 +7809,7 @@ export declare const sandboxContract: {
7631
7809
  running: "running";
7632
7810
  stalled: "stalled";
7633
7811
  stopped: "stopped";
7812
+ unpriced: "unpriced";
7634
7813
  }>;
7635
7814
  iteration: z.ZodNumber;
7636
7815
  maxIterations: z.ZodNumber;
@@ -7683,6 +7862,10 @@ export declare const sandboxContract: {
7683
7862
  person: "person";
7684
7863
  turn: "turn";
7685
7864
  }>>;
7865
+ inputWait: z.ZodOptional<z.ZodObject<{
7866
+ since: z.ZodNumber;
7867
+ program: z.ZodString;
7868
+ }, z.core.$strip>>;
7686
7869
  }, z.core.$strip>>>;
7687
7870
  archivedAt: z.ZodOptional<z.ZodNumber>;
7688
7871
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
@@ -7867,6 +8050,7 @@ export declare const sandboxContract: {
7867
8050
  stopped: "stopped";
7868
8051
  }>>;
7869
8052
  until: z.ZodOptional<z.ZodNumber>;
8053
+ after: z.ZodOptional<z.ZodString>;
7870
8054
  }, z.core.$strip>>;
7871
8055
  updatedAt: z.ZodNumber;
7872
8056
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -7947,6 +8131,7 @@ export declare const sandboxContract: {
7947
8131
  running: "running";
7948
8132
  stalled: "stalled";
7949
8133
  stopped: "stopped";
8134
+ unpriced: "unpriced";
7950
8135
  }>;
7951
8136
  iteration: z.ZodNumber;
7952
8137
  maxIterations: z.ZodNumber;
@@ -7999,6 +8184,10 @@ export declare const sandboxContract: {
7999
8184
  person: "person";
8000
8185
  turn: "turn";
8001
8186
  }>>;
8187
+ inputWait: z.ZodOptional<z.ZodObject<{
8188
+ since: z.ZodNumber;
8189
+ program: z.ZodString;
8190
+ }, z.core.$strip>>;
8002
8191
  }, z.core.$strip>>>;
8003
8192
  archivedAt: z.ZodOptional<z.ZodNumber>;
8004
8193
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
@@ -8183,6 +8372,7 @@ export declare const sandboxContract: {
8183
8372
  stopped: "stopped";
8184
8373
  }>>;
8185
8374
  until: z.ZodOptional<z.ZodNumber>;
8375
+ after: z.ZodOptional<z.ZodString>;
8186
8376
  }, z.core.$strip>>;
8187
8377
  updatedAt: z.ZodNumber;
8188
8378
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -8263,6 +8453,7 @@ export declare const sandboxContract: {
8263
8453
  running: "running";
8264
8454
  stalled: "stalled";
8265
8455
  stopped: "stopped";
8456
+ unpriced: "unpriced";
8266
8457
  }>;
8267
8458
  iteration: z.ZodNumber;
8268
8459
  maxIterations: z.ZodNumber;
@@ -8315,6 +8506,10 @@ export declare const sandboxContract: {
8315
8506
  person: "person";
8316
8507
  turn: "turn";
8317
8508
  }>>;
8509
+ inputWait: z.ZodOptional<z.ZodObject<{
8510
+ since: z.ZodNumber;
8511
+ program: z.ZodString;
8512
+ }, z.core.$strip>>;
8318
8513
  }, z.core.$strip>>>;
8319
8514
  archivedAt: z.ZodOptional<z.ZodNumber>;
8320
8515
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
@@ -8497,6 +8692,7 @@ export declare const sandboxContract: {
8497
8692
  stopped: "stopped";
8498
8693
  }>>;
8499
8694
  until: z.ZodOptional<z.ZodNumber>;
8695
+ after: z.ZodOptional<z.ZodString>;
8500
8696
  }, z.core.$strip>>;
8501
8697
  updatedAt: z.ZodNumber;
8502
8698
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -8577,6 +8773,7 @@ export declare const sandboxContract: {
8577
8773
  running: "running";
8578
8774
  stalled: "stalled";
8579
8775
  stopped: "stopped";
8776
+ unpriced: "unpriced";
8580
8777
  }>;
8581
8778
  iteration: z.ZodNumber;
8582
8779
  maxIterations: z.ZodNumber;
@@ -8629,6 +8826,10 @@ export declare const sandboxContract: {
8629
8826
  person: "person";
8630
8827
  turn: "turn";
8631
8828
  }>>;
8829
+ inputWait: z.ZodOptional<z.ZodObject<{
8830
+ since: z.ZodNumber;
8831
+ program: z.ZodString;
8832
+ }, z.core.$strip>>;
8632
8833
  }, z.core.$strip>>>;
8633
8834
  archivedAt: z.ZodOptional<z.ZodNumber>;
8634
8835
  }, z.core.$strip>>;
@@ -9019,6 +9220,7 @@ export declare const sandboxContract: {
9019
9220
  stopped: "stopped";
9020
9221
  }>>;
9021
9222
  until: z.ZodOptional<z.ZodNumber>;
9223
+ after: z.ZodOptional<z.ZodString>;
9022
9224
  }, z.core.$strip>>;
9023
9225
  updatedAt: z.ZodNumber;
9024
9226
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -9099,6 +9301,7 @@ export declare const sandboxContract: {
9099
9301
  running: "running";
9100
9302
  stalled: "stalled";
9101
9303
  stopped: "stopped";
9304
+ unpriced: "unpriced";
9102
9305
  }>;
9103
9306
  iteration: z.ZodNumber;
9104
9307
  maxIterations: z.ZodNumber;
@@ -9151,6 +9354,10 @@ export declare const sandboxContract: {
9151
9354
  person: "person";
9152
9355
  turn: "turn";
9153
9356
  }>>;
9357
+ inputWait: z.ZodOptional<z.ZodObject<{
9358
+ since: z.ZodNumber;
9359
+ program: z.ZodString;
9360
+ }, z.core.$strip>>;
9154
9361
  }, z.core.$strip>>>;
9155
9362
  archivedAt: z.ZodOptional<z.ZodNumber>;
9156
9363
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
@@ -9335,6 +9542,7 @@ export declare const sandboxContract: {
9335
9542
  stopped: "stopped";
9336
9543
  }>>;
9337
9544
  until: z.ZodOptional<z.ZodNumber>;
9545
+ after: z.ZodOptional<z.ZodString>;
9338
9546
  }, z.core.$strip>>;
9339
9547
  updatedAt: z.ZodNumber;
9340
9548
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -9415,6 +9623,7 @@ export declare const sandboxContract: {
9415
9623
  running: "running";
9416
9624
  stalled: "stalled";
9417
9625
  stopped: "stopped";
9626
+ unpriced: "unpriced";
9418
9627
  }>;
9419
9628
  iteration: z.ZodNumber;
9420
9629
  maxIterations: z.ZodNumber;
@@ -9467,6 +9676,10 @@ export declare const sandboxContract: {
9467
9676
  person: "person";
9468
9677
  turn: "turn";
9469
9678
  }>>;
9679
+ inputWait: z.ZodOptional<z.ZodObject<{
9680
+ since: z.ZodNumber;
9681
+ program: z.ZodString;
9682
+ }, z.core.$strip>>;
9470
9683
  }, z.core.$strip>>>;
9471
9684
  archivedAt: z.ZodOptional<z.ZodNumber>;
9472
9685
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
@@ -9652,6 +9865,7 @@ export declare const sandboxContract: {
9652
9865
  stopped: "stopped";
9653
9866
  }>>;
9654
9867
  until: z.ZodOptional<z.ZodNumber>;
9868
+ after: z.ZodOptional<z.ZodString>;
9655
9869
  }, z.core.$strip>>;
9656
9870
  updatedAt: z.ZodNumber;
9657
9871
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -9732,6 +9946,7 @@ export declare const sandboxContract: {
9732
9946
  running: "running";
9733
9947
  stalled: "stalled";
9734
9948
  stopped: "stopped";
9949
+ unpriced: "unpriced";
9735
9950
  }>;
9736
9951
  iteration: z.ZodNumber;
9737
9952
  maxIterations: z.ZodNumber;
@@ -9784,6 +9999,10 @@ export declare const sandboxContract: {
9784
9999
  person: "person";
9785
10000
  turn: "turn";
9786
10001
  }>>;
10002
+ inputWait: z.ZodOptional<z.ZodObject<{
10003
+ since: z.ZodNumber;
10004
+ program: z.ZodString;
10005
+ }, z.core.$strip>>;
9787
10006
  }, z.core.$strip>>>;
9788
10007
  archivedAt: z.ZodOptional<z.ZodNumber>;
9789
10008
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
@@ -9973,6 +10192,7 @@ export declare const sandboxContract: {
9973
10192
  stopped: "stopped";
9974
10193
  }>>;
9975
10194
  until: z.ZodOptional<z.ZodNumber>;
10195
+ after: z.ZodOptional<z.ZodString>;
9976
10196
  }, z.core.$strip>>;
9977
10197
  updatedAt: z.ZodNumber;
9978
10198
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -10053,6 +10273,7 @@ export declare const sandboxContract: {
10053
10273
  running: "running";
10054
10274
  stalled: "stalled";
10055
10275
  stopped: "stopped";
10276
+ unpriced: "unpriced";
10056
10277
  }>;
10057
10278
  iteration: z.ZodNumber;
10058
10279
  maxIterations: z.ZodNumber;
@@ -10105,6 +10326,10 @@ export declare const sandboxContract: {
10105
10326
  person: "person";
10106
10327
  turn: "turn";
10107
10328
  }>>;
10329
+ inputWait: z.ZodOptional<z.ZodObject<{
10330
+ since: z.ZodNumber;
10331
+ program: z.ZodString;
10332
+ }, z.core.$strip>>;
10108
10333
  }, z.core.$strip>>>;
10109
10334
  archivedAt: z.ZodOptional<z.ZodNumber>;
10110
10335
  }, z.core.$strip>>;
@@ -10295,6 +10520,7 @@ export declare const sandboxContract: {
10295
10520
  stopped: "stopped";
10296
10521
  }>>;
10297
10522
  until: z.ZodOptional<z.ZodNumber>;
10523
+ after: z.ZodOptional<z.ZodString>;
10298
10524
  }, z.core.$strip>>;
10299
10525
  updatedAt: z.ZodNumber;
10300
10526
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -10375,6 +10601,7 @@ export declare const sandboxContract: {
10375
10601
  running: "running";
10376
10602
  stalled: "stalled";
10377
10603
  stopped: "stopped";
10604
+ unpriced: "unpriced";
10378
10605
  }>;
10379
10606
  iteration: z.ZodNumber;
10380
10607
  maxIterations: z.ZodNumber;
@@ -10427,6 +10654,10 @@ export declare const sandboxContract: {
10427
10654
  person: "person";
10428
10655
  turn: "turn";
10429
10656
  }>>;
10657
+ inputWait: z.ZodOptional<z.ZodObject<{
10658
+ since: z.ZodNumber;
10659
+ program: z.ZodString;
10660
+ }, z.core.$strip>>;
10430
10661
  }, z.core.$strip>>>;
10431
10662
  archivedAt: z.ZodOptional<z.ZodNumber>;
10432
10663
  }, z.core.$strip>>;
@@ -10540,9 +10771,11 @@ export declare const sandboxContract: {
10540
10771
  conversationId: z.ZodOptional<z.ZodString>;
10541
10772
  hooks: z.ZodArray<z.ZodObject<{
10542
10773
  source: z.ZodEnum<{
10774
+ plugin: "plugin";
10543
10775
  project: "project";
10544
10776
  user: "user";
10545
10777
  }>;
10778
+ plugin: z.ZodOptional<z.ZodString>;
10546
10779
  declaredIn: z.ZodOptional<z.ZodString>;
10547
10780
  event: z.ZodString;
10548
10781
  matcher: z.ZodOptional<z.ZodString>;
@@ -10553,6 +10786,35 @@ export declare const sandboxContract: {
10553
10786
  path: z.ZodString;
10554
10787
  sha256: z.ZodString;
10555
10788
  }, z.core.$strip>>;
10789
+ plugins: z.ZodOptional<z.ZodArray<z.ZodObject<{
10790
+ name: z.ZodString;
10791
+ from: z.ZodEnum<{
10792
+ extension: "extension";
10793
+ persona: "persona";
10794
+ plugin: "plugin";
10795
+ settings: "settings";
10796
+ skills: "skills";
10797
+ }>;
10798
+ source: z.ZodOptional<z.ZodEnum<{
10799
+ project: "project";
10800
+ user: "user";
10801
+ }>>;
10802
+ dir: z.ZodOptional<z.ZodString>;
10803
+ module: z.ZodOptional<z.ZodObject<{
10804
+ path: z.ZodString;
10805
+ hooks: z.ZodArray<z.ZodString>;
10806
+ calls: z.ZodArray<z.ZodString>;
10807
+ unreadable: z.ZodOptional<z.ZodString>;
10808
+ }, z.core.$strip>>;
10809
+ }, z.core.$strip>>>;
10810
+ marketplaces: z.ZodOptional<z.ZodArray<z.ZodObject<{
10811
+ source: z.ZodEnum<{
10812
+ project: "project";
10813
+ user: "user";
10814
+ }>;
10815
+ name: z.ZodString;
10816
+ location: z.ZodString;
10817
+ }, z.core.$strip>>>;
10556
10818
  dismissed: z.ZodOptional<z.ZodBoolean>;
10557
10819
  }, z.core.$strip>>;
10558
10820
  ledgerUnreadable: z.ZodOptional<z.ZodBoolean>;
@@ -11045,6 +11307,7 @@ export declare const sandboxContract: {
11045
11307
  ref: z.ZodOptional<z.ZodString>;
11046
11308
  path: z.ZodOptional<z.ZodString>;
11047
11309
  token: z.ZodOptional<z.ZodString>;
11310
+ commit: z.ZodOptional<z.ZodString>;
11048
11311
  }, z.core.$strip>;
11049
11312
  }, z.core.$strip>, z.ZodObject<{
11050
11313
  id: z.ZodString;
@@ -11384,6 +11647,7 @@ export declare const sandboxContract: {
11384
11647
  ref: z.ZodOptional<z.ZodString>;
11385
11648
  path: z.ZodOptional<z.ZodString>;
11386
11649
  token: z.ZodOptional<z.ZodString>;
11650
+ commit: z.ZodOptional<z.ZodString>;
11387
11651
  }, z.core.$strip>;
11388
11652
  }, z.core.$strip>, z.ZodObject<{
11389
11653
  id: z.ZodString;
@@ -13518,6 +13782,191 @@ export declare const sandboxContract: {
13518
13782
  ok: z.ZodLiteral<true>;
13519
13783
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
13520
13784
  };
13785
+ privacy: {
13786
+ status: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
13787
+ policy: z.ZodObject<{
13788
+ mode: z.ZodDefault<z.ZodEnum<{
13789
+ off: "off";
13790
+ on: "on";
13791
+ watch: "watch";
13792
+ }>>;
13793
+ trusted: z.ZodDefault<z.ZodArray<z.ZodString>>;
13794
+ classes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
13795
+ address: "address";
13796
+ "bank-account": "bank-account";
13797
+ email: "email";
13798
+ "identity-document": "identity-document";
13799
+ "national-id": "national-id";
13800
+ "payment-card": "payment-card";
13801
+ "person-name": "person-name";
13802
+ phone: "phone";
13803
+ "tax-id": "tax-id";
13804
+ }>>>;
13805
+ images: z.ZodDefault<z.ZodEnum<{
13806
+ allow: "allow";
13807
+ mask: "mask";
13808
+ }>>;
13809
+ names: z.ZodDefault<z.ZodEnum<{
13810
+ dictionary: "dictionary";
13811
+ model: "model";
13812
+ }>>;
13813
+ allow: z.ZodDefault<z.ZodArray<z.ZodString>>;
13814
+ conversations: z.ZodDefault<z.ZodArray<z.ZodObject<{
13815
+ conversationId: z.ZodString;
13816
+ provider: z.ZodString;
13817
+ }, z.core.$strip>>>;
13818
+ }, z.core.$strip>;
13819
+ known: z.ZodNumber;
13820
+ tokens: z.ZodNumber;
13821
+ readers: z.ZodObject<{
13822
+ ocr: z.ZodBoolean;
13823
+ model: z.ZodBoolean;
13824
+ }, z.core.$strip>;
13825
+ providers: z.ZodArray<z.ZodObject<{
13826
+ id: z.ZodString;
13827
+ label: z.ZodString;
13828
+ shieldable: z.ZodBoolean;
13829
+ local: z.ZodBoolean;
13830
+ }, z.core.$strip>>;
13831
+ }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
13832
+ setPolicy: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
13833
+ mode: z.ZodDefault<z.ZodEnum<{
13834
+ off: "off";
13835
+ on: "on";
13836
+ watch: "watch";
13837
+ }>>;
13838
+ trusted: z.ZodDefault<z.ZodArray<z.ZodString>>;
13839
+ classes: z.ZodDefault<z.ZodArray<z.ZodEnum<{
13840
+ address: "address";
13841
+ "bank-account": "bank-account";
13842
+ email: "email";
13843
+ "identity-document": "identity-document";
13844
+ "national-id": "national-id";
13845
+ "payment-card": "payment-card";
13846
+ "person-name": "person-name";
13847
+ phone: "phone";
13848
+ "tax-id": "tax-id";
13849
+ }>>>;
13850
+ images: z.ZodDefault<z.ZodEnum<{
13851
+ allow: "allow";
13852
+ mask: "mask";
13853
+ }>>;
13854
+ names: z.ZodDefault<z.ZodEnum<{
13855
+ dictionary: "dictionary";
13856
+ model: "model";
13857
+ }>>;
13858
+ allow: z.ZodDefault<z.ZodArray<z.ZodString>>;
13859
+ conversations: z.ZodDefault<z.ZodArray<z.ZodObject<{
13860
+ conversationId: z.ZodString;
13861
+ provider: z.ZodString;
13862
+ }, z.core.$strip>>>;
13863
+ }, z.core.$strip>, z.ZodObject<{
13864
+ ok: z.ZodLiteral<true>;
13865
+ }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
13866
+ log: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
13867
+ at: z.ZodString;
13868
+ conversationId: z.ZodOptional<z.ZodString>;
13869
+ provider: z.ZodString;
13870
+ trusted: z.ZodBoolean;
13871
+ action: z.ZodEnum<{
13872
+ masked: "masked";
13873
+ passed: "passed";
13874
+ refused: "refused";
13875
+ watched: "watched";
13876
+ }>;
13877
+ counts: z.ZodRecord<z.ZodEnum<{
13878
+ address: "address";
13879
+ "bank-account": "bank-account";
13880
+ email: "email";
13881
+ "identity-document": "identity-document";
13882
+ "national-id": "national-id";
13883
+ "payment-card": "payment-card";
13884
+ "person-name": "person-name";
13885
+ phone: "phone";
13886
+ "tax-id": "tax-id";
13887
+ }> & z.core.$partial, z.ZodNumber>;
13888
+ images: z.ZodNumber;
13889
+ documents: z.ZodNumber;
13890
+ protocol: z.ZodString;
13891
+ detail: z.ZodOptional<z.ZodString>;
13892
+ }, z.core.$strip>>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
13893
+ dictionary: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
13894
+ query: z.ZodOptional<z.ZodString>;
13895
+ }, z.core.$strip>, z.ZodObject<{
13896
+ lists: z.ZodArray<z.ZodObject<{
13897
+ id: z.ZodString;
13898
+ kind: z.ZodEnum<{
13899
+ ambiguous: "ambiguous";
13900
+ "first-name": "first-name";
13901
+ never: "never";
13902
+ surname: "surname";
13903
+ title: "title";
13904
+ }>;
13905
+ languages: z.ZodArray<z.ZodEnum<{
13906
+ en: "en";
13907
+ pl: "pl";
13908
+ }>>;
13909
+ count: z.ZodNumber;
13910
+ matching: z.ZodEnum<{
13911
+ "as-written": "as-written";
13912
+ inflected: "inflected";
13913
+ }>;
13914
+ source: z.ZodString;
13915
+ url: z.ZodOptional<z.ZodString>;
13916
+ license: z.ZodOptional<z.ZodString>;
13917
+ }, z.core.$strip>>;
13918
+ totals: z.ZodObject<{
13919
+ firstNames: z.ZodNumber;
13920
+ surnames: z.ZodNumber;
13921
+ }, z.core.$strip>;
13922
+ matches: z.ZodArray<z.ZodObject<{
13923
+ word: z.ZodString;
13924
+ lists: z.ZodArray<z.ZodString>;
13925
+ }, z.core.$strip>>;
13926
+ lookup: z.ZodOptional<z.ZodObject<{
13927
+ text: z.ZodString;
13928
+ found: z.ZodBoolean;
13929
+ words: z.ZodArray<z.ZodObject<{
13930
+ word: z.ZodString;
13931
+ firstName: z.ZodBoolean;
13932
+ surname: z.ZodBoolean;
13933
+ surnameForm: z.ZodBoolean;
13934
+ ambiguous: z.ZodBoolean;
13935
+ never: z.ZodBoolean;
13936
+ }, z.core.$strip>>;
13937
+ }, z.core.$strip>>;
13938
+ }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
13939
+ sources: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
13940
+ source: z.ZodString;
13941
+ count: z.ZodNumber;
13942
+ at: z.ZodString;
13943
+ }, z.core.$strip>>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
13944
+ learn: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
13945
+ source: z.ZodString;
13946
+ values: z.ZodArray<z.ZodObject<{
13947
+ value: z.ZodString;
13948
+ class: z.ZodEnum<{
13949
+ address: "address";
13950
+ "bank-account": "bank-account";
13951
+ email: "email";
13952
+ "identity-document": "identity-document";
13953
+ "national-id": "national-id";
13954
+ "payment-card": "payment-card";
13955
+ "person-name": "person-name";
13956
+ phone: "phone";
13957
+ "tax-id": "tax-id";
13958
+ }>;
13959
+ }, z.core.$strip>>;
13960
+ }, z.core.$strip>, z.ZodObject<{
13961
+ added: z.ZodNumber;
13962
+ known: z.ZodNumber;
13963
+ }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
13964
+ forget: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
13965
+ source: z.ZodString;
13966
+ }, z.core.$strip>, z.ZodObject<{
13967
+ forgotten: z.ZodNumber;
13968
+ }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
13969
+ };
13521
13970
  safety: {
13522
13971
  policy: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodObject<{
13523
13972
  text: z.ZodString;
@@ -13653,6 +14102,14 @@ export declare const sandboxContract: {
13653
14102
  code: z.ZodString;
13654
14103
  params: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodString, z.ZodNumber, z.ZodBoolean]>>>;
13655
14104
  }, z.core.$strip>>;
14105
+ agentNotice: z.ZodOptional<z.ZodObject<{
14106
+ level: z.ZodEnum<{
14107
+ error: "error";
14108
+ info: "info";
14109
+ warning: "warning";
14110
+ }>;
14111
+ source: z.ZodOptional<z.ZodString>;
14112
+ }, z.core.$strip>>;
13656
14113
  plan: z.ZodOptional<z.ZodObject<{
13657
14114
  requestId: z.ZodString;
13658
14115
  text: z.ZodString;
@@ -13695,6 +14152,7 @@ export declare const sandboxContract: {
13695
14152
  pending: "pending";
13696
14153
  }>;
13697
14154
  answers: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
14155
+ attachments: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
13698
14156
  }, z.core.$strip>>;
13699
14157
  permission: z.ZodOptional<z.ZodObject<{
13700
14158
  toolName: z.ZodString;
@@ -13704,6 +14162,7 @@ export declare const sandboxContract: {
13704
14162
  reason: z.ZodOptional<z.ZodString>;
13705
14163
  path: z.ZodOptional<z.ZodString>;
13706
14164
  alwaysLabel: z.ZodOptional<z.ZodString>;
14165
+ alwaysAsks: z.ZodOptional<z.ZodLiteral<true>>;
13707
14166
  program: z.ZodOptional<z.ZodObject<{
13708
14167
  text: z.ZodString;
13709
14168
  language: z.ZodEnum<{
@@ -13756,6 +14215,7 @@ export declare const sandboxContract: {
13756
14215
  always: "always";
13757
14216
  cancelled: "cancelled";
13758
14217
  denied: "denied";
14218
+ everything: "everything";
13759
14219
  pending: "pending";
13760
14220
  }>;
13761
14221
  }, z.core.$strip>>;
@@ -13994,6 +14454,8 @@ export declare const sandboxContract: {
13994
14454
  systemPrompt: z.ZodDefault<z.ZodString>;
13995
14455
  leanGuidance: z.ZodDefault<z.ZodBoolean>;
13996
14456
  leanGuidanceHoldout: z.ZodDefault<z.ZodNumber>;
14457
+ toolResultClearing: z.ZodDefault<z.ZodBoolean>;
14458
+ toolResultClearingHoldout: z.ZodDefault<z.ZodNumber>;
13997
14459
  iqSearch: z.ZodDefault<z.ZodBoolean>;
13998
14460
  iqSearchHoldout: z.ZodDefault<z.ZodNumber>;
13999
14461
  workspaceMap: z.ZodDefault<z.ZodBoolean>;
@@ -14168,6 +14630,8 @@ export declare const sandboxContract: {
14168
14630
  systemPrompt: z.ZodDefault<z.ZodString>;
14169
14631
  leanGuidance: z.ZodDefault<z.ZodBoolean>;
14170
14632
  leanGuidanceHoldout: z.ZodDefault<z.ZodNumber>;
14633
+ toolResultClearing: z.ZodDefault<z.ZodBoolean>;
14634
+ toolResultClearingHoldout: z.ZodDefault<z.ZodNumber>;
14171
14635
  iqSearch: z.ZodDefault<z.ZodBoolean>;
14172
14636
  iqSearchHoldout: z.ZodDefault<z.ZodNumber>;
14173
14637
  workspaceMap: z.ZodDefault<z.ZodBoolean>;
@@ -14360,9 +14824,11 @@ export declare const sandboxContract: {
14360
14824
  metrics: z.ZodTuple<[z.ZodObject<{
14361
14825
  metric: z.ZodEnum<{
14362
14826
  callsBeforeTarget: "callsBeforeTarget";
14827
+ contextPerCall: "contextPerCall";
14363
14828
  failedCalls: "failedCalls";
14364
14829
  openingListings: "openingListings";
14365
14830
  openingSearches: "openingSearches";
14831
+ roundTrips: "roundTrips";
14366
14832
  searchCalls: "searchCalls";
14367
14833
  }>;
14368
14834
  on: z.ZodObject<{
@@ -14380,9 +14846,11 @@ export declare const sandboxContract: {
14380
14846
  }, z.core.$strip>], z.ZodObject<{
14381
14847
  metric: z.ZodEnum<{
14382
14848
  callsBeforeTarget: "callsBeforeTarget";
14849
+ contextPerCall: "contextPerCall";
14383
14850
  failedCalls: "failedCalls";
14384
14851
  openingListings: "openingListings";
14385
14852
  openingSearches: "openingSearches";
14853
+ roundTrips: "roundTrips";
14386
14854
  searchCalls: "searchCalls";
14387
14855
  }>;
14388
14856
  on: z.ZodObject<{
@@ -14410,9 +14878,11 @@ export declare const sandboxContract: {
14410
14878
  metrics: z.ZodTuple<[z.ZodObject<{
14411
14879
  metric: z.ZodEnum<{
14412
14880
  callsBeforeTarget: "callsBeforeTarget";
14881
+ contextPerCall: "contextPerCall";
14413
14882
  failedCalls: "failedCalls";
14414
14883
  openingListings: "openingListings";
14415
14884
  openingSearches: "openingSearches";
14885
+ roundTrips: "roundTrips";
14416
14886
  searchCalls: "searchCalls";
14417
14887
  }>;
14418
14888
  on: z.ZodObject<{
@@ -14430,9 +14900,11 @@ export declare const sandboxContract: {
14430
14900
  }, z.core.$strip>], z.ZodObject<{
14431
14901
  metric: z.ZodEnum<{
14432
14902
  callsBeforeTarget: "callsBeforeTarget";
14903
+ contextPerCall: "contextPerCall";
14433
14904
  failedCalls: "failedCalls";
14434
14905
  openingListings: "openingListings";
14435
14906
  openingSearches: "openingSearches";
14907
+ roundTrips: "roundTrips";
14436
14908
  searchCalls: "searchCalls";
14437
14909
  }>;
14438
14910
  on: z.ZodObject<{
@@ -14460,9 +14932,11 @@ export declare const sandboxContract: {
14460
14932
  metrics: z.ZodTuple<[z.ZodObject<{
14461
14933
  metric: z.ZodEnum<{
14462
14934
  callsBeforeTarget: "callsBeforeTarget";
14935
+ contextPerCall: "contextPerCall";
14463
14936
  failedCalls: "failedCalls";
14464
14937
  openingListings: "openingListings";
14465
14938
  openingSearches: "openingSearches";
14939
+ roundTrips: "roundTrips";
14466
14940
  searchCalls: "searchCalls";
14467
14941
  }>;
14468
14942
  on: z.ZodObject<{
@@ -14480,9 +14954,11 @@ export declare const sandboxContract: {
14480
14954
  }, z.core.$strip>], z.ZodObject<{
14481
14955
  metric: z.ZodEnum<{
14482
14956
  callsBeforeTarget: "callsBeforeTarget";
14957
+ contextPerCall: "contextPerCall";
14483
14958
  failedCalls: "failedCalls";
14484
14959
  openingListings: "openingListings";
14485
14960
  openingSearches: "openingSearches";
14961
+ roundTrips: "roundTrips";
14486
14962
  searchCalls: "searchCalls";
14487
14963
  }>;
14488
14964
  on: z.ZodObject<{
@@ -14510,9 +14986,65 @@ export declare const sandboxContract: {
14510
14986
  metrics: z.ZodTuple<[z.ZodObject<{
14511
14987
  metric: z.ZodEnum<{
14512
14988
  callsBeforeTarget: "callsBeforeTarget";
14989
+ contextPerCall: "contextPerCall";
14990
+ failedCalls: "failedCalls";
14991
+ openingListings: "openingListings";
14992
+ openingSearches: "openingSearches";
14993
+ roundTrips: "roundTrips";
14994
+ searchCalls: "searchCalls";
14995
+ }>;
14996
+ on: z.ZodObject<{
14997
+ turns: z.ZodNumber;
14998
+ mean: z.ZodNumber;
14999
+ }, z.core.$strip>;
15000
+ off: z.ZodObject<{
15001
+ turns: z.ZodNumber;
15002
+ mean: z.ZodNumber;
15003
+ }, z.core.$strip>;
15004
+ controlTurnsNeeded: z.ZodOptional<z.ZodNumber>;
15005
+ marginPct: z.ZodOptional<z.ZodNumber>;
15006
+ deltaPct: z.ZodOptional<z.ZodNumber>;
15007
+ saved: z.ZodOptional<z.ZodNumber>;
15008
+ }, z.core.$strip>], z.ZodObject<{
15009
+ metric: z.ZodEnum<{
15010
+ callsBeforeTarget: "callsBeforeTarget";
15011
+ contextPerCall: "contextPerCall";
15012
+ failedCalls: "failedCalls";
15013
+ openingListings: "openingListings";
15014
+ openingSearches: "openingSearches";
15015
+ roundTrips: "roundTrips";
15016
+ searchCalls: "searchCalls";
15017
+ }>;
15018
+ on: z.ZodObject<{
15019
+ turns: z.ZodNumber;
15020
+ mean: z.ZodNumber;
15021
+ }, z.core.$strip>;
15022
+ off: z.ZodObject<{
15023
+ turns: z.ZodNumber;
15024
+ mean: z.ZodNumber;
15025
+ }, z.core.$strip>;
15026
+ controlTurnsNeeded: z.ZodOptional<z.ZodNumber>;
15027
+ marginPct: z.ZodOptional<z.ZodNumber>;
15028
+ deltaPct: z.ZodOptional<z.ZodNumber>;
15029
+ saved: z.ZodOptional<z.ZodNumber>;
15030
+ }, z.core.$strip>>;
15031
+ minTurns: z.ZodNumber;
15032
+ sampleUnit: z.ZodOptional<z.ZodEnum<{
15033
+ conversations: "conversations";
15034
+ "opening turns": "opening turns";
15035
+ turns: "turns";
15036
+ }>>;
15037
+ cohort: z.ZodOptional<z.ZodString>;
15038
+ }, z.core.$strip>>;
15039
+ clearing: z.ZodOptional<z.ZodObject<{
15040
+ metrics: z.ZodTuple<[z.ZodObject<{
15041
+ metric: z.ZodEnum<{
15042
+ callsBeforeTarget: "callsBeforeTarget";
15043
+ contextPerCall: "contextPerCall";
14513
15044
  failedCalls: "failedCalls";
14514
15045
  openingListings: "openingListings";
14515
15046
  openingSearches: "openingSearches";
15047
+ roundTrips: "roundTrips";
14516
15048
  searchCalls: "searchCalls";
14517
15049
  }>;
14518
15050
  on: z.ZodObject<{
@@ -14530,9 +15062,11 @@ export declare const sandboxContract: {
14530
15062
  }, z.core.$strip>], z.ZodObject<{
14531
15063
  metric: z.ZodEnum<{
14532
15064
  callsBeforeTarget: "callsBeforeTarget";
15065
+ contextPerCall: "contextPerCall";
14533
15066
  failedCalls: "failedCalls";
14534
15067
  openingListings: "openingListings";
14535
15068
  openingSearches: "openingSearches";
15069
+ roundTrips: "roundTrips";
14536
15070
  searchCalls: "searchCalls";
14537
15071
  }>;
14538
15072
  on: z.ZodObject<{
@@ -16224,6 +16758,7 @@ export declare const sandboxContract: {
16224
16758
  running: "running";
16225
16759
  stalled: "stalled";
16226
16760
  stopped: "stopped";
16761
+ unpriced: "unpriced";
16227
16762
  }>;
16228
16763
  startedAt: z.ZodNumber;
16229
16764
  endedAt: z.ZodOptional<z.ZodNumber>;
@@ -16354,6 +16889,7 @@ export declare const sandboxContract: {
16354
16889
  running: "running";
16355
16890
  stalled: "stalled";
16356
16891
  stopped: "stopped";
16892
+ unpriced: "unpriced";
16357
16893
  }>;
16358
16894
  startedAt: z.ZodNumber;
16359
16895
  endedAt: z.ZodOptional<z.ZodNumber>;
@@ -17220,6 +17756,8 @@ export declare const sandboxContract: {
17220
17756
  web: "web";
17221
17757
  }>>;
17222
17758
  installs: z.ZodDefault<z.ZodBoolean>;
17759
+ secrets: z.ZodDefault<z.ZodArray<z.ZodString>>;
17760
+ everything: z.ZodDefault<z.ZodBoolean>;
17223
17761
  by: z.ZodOptional<z.ZodString>;
17224
17762
  updatedAt: z.ZodOptional<z.ZodNumber>;
17225
17763
  releases: z.ZodArray<z.ZodObject<{
@@ -17233,9 +17771,11 @@ export declare const sandboxContract: {
17233
17771
  conversationId: z.ZodString;
17234
17772
  kind: z.ZodEnum<{
17235
17773
  capability: "capability";
17774
+ everything: "everything";
17236
17775
  folder: "folder";
17237
17776
  install: "install";
17238
17777
  release: "release";
17778
+ secret: "secret";
17239
17779
  shelf: "shelf";
17240
17780
  }>;
17241
17781
  what: z.ZodString;
@@ -17479,12 +18019,50 @@ export declare const sandboxContract: {
17479
18019
  reason: z.ZodOptional<z.ZodString>;
17480
18020
  }, z.core.$strip>>;
17481
18021
  skippedVersion: z.ZodOptional<z.ZodString>;
18022
+ autoUpdate: z.ZodOptional<z.ZodObject<{
18023
+ enabled: z.ZodBoolean;
18024
+ phase: z.ZodString;
18025
+ version: z.ZodOptional<z.ZodString>;
18026
+ holds: z.ZodArray<z.ZodObject<{
18027
+ kind: z.ZodString;
18028
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
18029
+ until: z.ZodOptional<z.ZodNumber>;
18030
+ }, z.core.$strip>>;
18031
+ startsAt: z.ZodOptional<z.ZodNumber>;
18032
+ pausedUntil: z.ZodOptional<z.ZodNumber>;
18033
+ failure: z.ZodOptional<z.ZodString>;
18034
+ lastApplied: z.ZodOptional<z.ZodObject<{
18035
+ at: z.ZodNumber;
18036
+ to: z.ZodOptional<z.ZodString>;
18037
+ }, z.core.$strip>>;
18038
+ }, z.core.$strip>>;
17482
18039
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
17483
18040
  skipUpdate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
17484
18041
  version: z.ZodNullable<z.ZodString>;
17485
18042
  }, z.core.$strip>, z.ZodObject<{
17486
18043
  ok: z.ZodLiteral<true>;
17487
18044
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
18045
+ autoUpdate: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
18046
+ enabled: z.ZodOptional<z.ZodBoolean>;
18047
+ pausedUntil: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
18048
+ applyNow: z.ZodOptional<z.ZodLiteral<true>>;
18049
+ }, z.core.$strip>, z.ZodObject<{
18050
+ enabled: z.ZodBoolean;
18051
+ phase: z.ZodString;
18052
+ version: z.ZodOptional<z.ZodString>;
18053
+ holds: z.ZodArray<z.ZodObject<{
18054
+ kind: z.ZodString;
18055
+ names: z.ZodOptional<z.ZodArray<z.ZodString>>;
18056
+ until: z.ZodOptional<z.ZodNumber>;
18057
+ }, z.core.$strip>>;
18058
+ startsAt: z.ZodOptional<z.ZodNumber>;
18059
+ pausedUntil: z.ZodOptional<z.ZodNumber>;
18060
+ failure: z.ZodOptional<z.ZodString>;
18061
+ lastApplied: z.ZodOptional<z.ZodObject<{
18062
+ at: z.ZodNumber;
18063
+ to: z.ZodOptional<z.ZodString>;
18064
+ }, z.core.$strip>>;
18065
+ }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
17488
18066
  manifestProblems: import("@orpc/contract").ContractProcedureBuilderWithOutput<import("@orpc/contract").Schema<unknown, unknown>, z.ZodArray<z.ZodObject<{
17489
18067
  path: z.ZodString;
17490
18068
  problems: z.ZodArray<z.ZodObject<{
@@ -17519,6 +18097,19 @@ export declare const sandboxContract: {
17519
18097
  events: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
17520
18098
  clientId: z.ZodOptional<z.ZodString>;
17521
18099
  }, z.core.$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
18100
+ kind: "heartbeat";
18101
+ rev: number;
18102
+ } | {
18103
+ ready: boolean;
18104
+ startedAt: number;
18105
+ steps: {
18106
+ key: string;
18107
+ label: string;
18108
+ state: "done" | "failed" | "pending" | "running";
18109
+ ms?: number | undefined;
18110
+ }[];
18111
+ kind: "boot";
18112
+ } | {
17522
18113
  kind: "hello";
17523
18114
  workspaceId: string;
17524
18115
  routes?: string[] | undefined;
@@ -17537,27 +18128,14 @@ export declare const sandboxContract: {
17537
18128
  projectDir?: string | undefined;
17538
18129
  surface?: "folder" | "sandbox" | undefined;
17539
18130
  } | {
17540
- kind: "heartbeat";
17541
- rev: number;
17542
- } | {
17543
- ready: boolean;
17544
- startedAt: number;
17545
- steps: {
17546
- key: string;
17547
- label: string;
17548
- state: "done" | "failed" | "pending" | "running";
17549
- ms?: number | undefined;
17550
- }[];
17551
- kind: "boot";
18131
+ kind: "reposChanged";
18132
+ repos: string[];
17552
18133
  } | {
17553
18134
  kind: "workspaceChanged";
17554
18135
  paths: string[];
17555
18136
  } | {
17556
18137
  kind: "derivedChanged";
17557
18138
  paths: string[];
17558
- } | {
17559
- kind: "reposChanged";
17560
- repos: string[];
17561
18139
  } | {
17562
18140
  kind: "refsChanged";
17563
18141
  repos: string[];
@@ -17573,6 +18151,7 @@ export declare const sandboxContract: {
17573
18151
  picture?: string | undefined;
17574
18152
  role: "collaborator" | "guest" | "maintainer" | "owner" | "viewer" | "writer";
17575
18153
  idle: boolean;
18154
+ away?: boolean | undefined;
17576
18155
  view?: string | undefined;
17577
18156
  sessionId?: string | undefined;
17578
18157
  path?: string | undefined;
@@ -17705,6 +18284,7 @@ export declare const sandboxContract: {
17705
18284
  revision: number;
17706
18285
  paused?: "refused" | "scheduled" | "stopped" | undefined;
17707
18286
  until?: number | undefined;
18287
+ after?: string | undefined;
17708
18288
  } | undefined;
17709
18289
  updatedAt: number;
17710
18290
  seenAt?: number | undefined;
@@ -17768,7 +18348,7 @@ export declare const sandboxContract: {
17768
18348
  } | undefined;
17769
18349
  } | undefined;
17770
18350
  loop?: {
17771
- state: "done" | "error" | "exhausted" | "overspent" | "running" | "stalled" | "stopped";
18351
+ state: "done" | "error" | "exhausted" | "overspent" | "running" | "stalled" | "stopped" | "unpriced";
17772
18352
  iteration: number;
17773
18353
  maxIterations: number;
17774
18354
  goal: string;
@@ -17804,6 +18384,10 @@ export declare const sandboxContract: {
17804
18384
  handed?: boolean | undefined;
17805
18385
  ports?: number[] | undefined;
17806
18386
  stoppedBy?: "agent" | "person" | "turn" | undefined;
18387
+ inputWait?: {
18388
+ since: number;
18389
+ program: string;
18390
+ } | undefined;
17807
18391
  }[] | undefined;
17808
18392
  archivedAt?: number | undefined;
17809
18393
  }[];
@@ -17849,6 +18433,19 @@ export declare const sandboxContract: {
17849
18433
  barren?: string[] | undefined;
17850
18434
  kind: "treeChanged";
17851
18435
  }, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
18436
+ kind: "heartbeat";
18437
+ rev: number;
18438
+ } | {
18439
+ ready: boolean;
18440
+ startedAt: number;
18441
+ steps: {
18442
+ key: string;
18443
+ label: string;
18444
+ state: "done" | "failed" | "pending" | "running";
18445
+ ms?: number | undefined;
18446
+ }[];
18447
+ kind: "boot";
18448
+ } | {
17852
18449
  kind: "hello";
17853
18450
  workspaceId: string;
17854
18451
  routes?: string[] | undefined;
@@ -17867,27 +18464,14 @@ export declare const sandboxContract: {
17867
18464
  projectDir?: string | undefined;
17868
18465
  surface?: "folder" | "sandbox" | undefined;
17869
18466
  } | {
17870
- kind: "heartbeat";
17871
- rev: number;
17872
- } | {
17873
- ready: boolean;
17874
- startedAt: number;
17875
- steps: {
17876
- key: string;
17877
- label: string;
17878
- state: "done" | "failed" | "pending" | "running";
17879
- ms?: number | undefined;
17880
- }[];
17881
- kind: "boot";
18467
+ kind: "reposChanged";
18468
+ repos: string[];
17882
18469
  } | {
17883
18470
  kind: "workspaceChanged";
17884
18471
  paths: string[];
17885
18472
  } | {
17886
18473
  kind: "derivedChanged";
17887
18474
  paths: string[];
17888
- } | {
17889
- kind: "reposChanged";
17890
- repos: string[];
17891
18475
  } | {
17892
18476
  kind: "refsChanged";
17893
18477
  repos: string[];
@@ -17903,6 +18487,7 @@ export declare const sandboxContract: {
17903
18487
  picture?: string | undefined;
17904
18488
  role: "collaborator" | "guest" | "maintainer" | "owner" | "viewer" | "writer";
17905
18489
  idle: boolean;
18490
+ away?: boolean | undefined;
17906
18491
  view?: string | undefined;
17907
18492
  sessionId?: string | undefined;
17908
18493
  path?: string | undefined;
@@ -18035,6 +18620,7 @@ export declare const sandboxContract: {
18035
18620
  revision: number;
18036
18621
  paused?: "refused" | "scheduled" | "stopped" | undefined;
18037
18622
  until?: number | undefined;
18623
+ after?: string | undefined;
18038
18624
  } | undefined;
18039
18625
  updatedAt: number;
18040
18626
  seenAt?: number | undefined;
@@ -18098,7 +18684,7 @@ export declare const sandboxContract: {
18098
18684
  } | undefined;
18099
18685
  } | undefined;
18100
18686
  loop?: {
18101
- state: "done" | "error" | "exhausted" | "overspent" | "running" | "stalled" | "stopped";
18687
+ state: "done" | "error" | "exhausted" | "overspent" | "running" | "stalled" | "stopped" | "unpriced";
18102
18688
  iteration: number;
18103
18689
  maxIterations: number;
18104
18690
  goal: string;
@@ -18134,6 +18720,10 @@ export declare const sandboxContract: {
18134
18720
  handed?: boolean | undefined;
18135
18721
  ports?: number[] | undefined;
18136
18722
  stoppedBy?: "agent" | "person" | "turn" | undefined;
18723
+ inputWait?: {
18724
+ since: number;
18725
+ program: string;
18726
+ } | undefined;
18137
18727
  }[] | undefined;
18138
18728
  archivedAt?: number | undefined;
18139
18729
  }[];
@@ -18263,6 +18853,7 @@ export declare const sandboxContract: {
18263
18853
  writer: "writer";
18264
18854
  }>;
18265
18855
  idle: z.ZodBoolean;
18856
+ away: z.ZodOptional<z.ZodBoolean>;
18266
18857
  view: z.ZodOptional<z.ZodString>;
18267
18858
  sessionId: z.ZodOptional<z.ZodString>;
18268
18859
  path: z.ZodOptional<z.ZodString>;
@@ -18447,6 +19038,7 @@ export declare const sandboxContract: {
18447
19038
  stopped: "stopped";
18448
19039
  }>>;
18449
19040
  until: z.ZodOptional<z.ZodNumber>;
19041
+ after: z.ZodOptional<z.ZodString>;
18450
19042
  }, z.core.$strip>>;
18451
19043
  updatedAt: z.ZodNumber;
18452
19044
  seenAt: z.ZodOptional<z.ZodNumber>;
@@ -18527,6 +19119,7 @@ export declare const sandboxContract: {
18527
19119
  running: "running";
18528
19120
  stalled: "stalled";
18529
19121
  stopped: "stopped";
19122
+ unpriced: "unpriced";
18530
19123
  }>;
18531
19124
  iteration: z.ZodNumber;
18532
19125
  maxIterations: z.ZodNumber;
@@ -18579,6 +19172,10 @@ export declare const sandboxContract: {
18579
19172
  person: "person";
18580
19173
  turn: "turn";
18581
19174
  }>>;
19175
+ inputWait: z.ZodOptional<z.ZodObject<{
19176
+ since: z.ZodNumber;
19177
+ program: z.ZodString;
19178
+ }, z.core.$strip>>;
18582
19179
  }, z.core.$strip>>>;
18583
19180
  archivedAt: z.ZodOptional<z.ZodNumber>;
18584
19181
  }, z.core.$strip>>;
@@ -18623,6 +19220,7 @@ export declare const sandboxContract: {
18623
19220
  presence: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<z.ZodObject<{
18624
19221
  clientId: z.ZodString;
18625
19222
  idle: z.ZodBoolean;
19223
+ away: z.ZodOptional<z.ZodBoolean>;
18626
19224
  view: z.ZodOptional<z.ZodString>;
18627
19225
  sessionId: z.ZodOptional<z.ZodString>;
18628
19226
  path: z.ZodOptional<z.ZodString>;
@@ -19573,6 +20171,7 @@ export declare const sandboxContract: {
19573
20171
  cacheReadTokens: z.ZodNumber;
19574
20172
  cacheCreationTokens: z.ZodNumber;
19575
20173
  costUsd: z.ZodNumber;
20174
+ costKnown: z.ZodOptional<z.ZodBoolean>;
19576
20175
  durationMs: z.ZodNumber;
19577
20176
  }, z.core.$strip>>;
19578
20177
  }, z.core.$strip>, Record<never, never>, import("./protocol/route-meta.js").RouteMeta & Record<never, never>>;
@@ -20083,6 +20682,7 @@ export declare const sandboxContract: {
20083
20682
  running: "running";
20084
20683
  stalled: "stalled";
20085
20684
  stopped: "stopped";
20685
+ unpriced: "unpriced";
20086
20686
  }>>;
20087
20687
  detail: z.ZodOptional<z.ZodString>;
20088
20688
  document: z.ZodOptional<z.ZodObject<{
@@ -20343,6 +20943,7 @@ export declare const sandboxContract: {
20343
20943
  running: "running";
20344
20944
  stalled: "stalled";
20345
20945
  stopped: "stopped";
20946
+ unpriced: "unpriced";
20346
20947
  }>>;
20347
20948
  detail: z.ZodOptional<z.ZodString>;
20348
20949
  document: z.ZodOptional<z.ZodObject<{
@@ -20461,6 +21062,7 @@ export declare const sandboxContract: {
20461
21062
  running: "running";
20462
21063
  stalled: "stalled";
20463
21064
  stopped: "stopped";
21065
+ unpriced: "unpriced";
20464
21066
  }>>;
20465
21067
  detail: z.ZodOptional<z.ZodString>;
20466
21068
  document: z.ZodOptional<z.ZodObject<{