@intentic/sandbox-contract 1.126.0 → 1.133.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 (96) hide show
  1. package/dist/agent-catalog.d.ts.map +1 -1
  2. package/dist/contracts/activity.contract.d.ts +4 -4
  3. package/dist/contracts/activity.contract.d.ts.map +1 -1
  4. package/dist/contracts/agent.contract.d.ts +283 -252
  5. package/dist/contracts/agent.contract.d.ts.map +1 -1
  6. package/dist/contracts/agent.contract.js +4 -3
  7. package/dist/contracts/agent.contract.js.map +1 -1
  8. package/dist/contracts/agents.contract.d.ts +15 -13
  9. package/dist/contracts/agents.contract.d.ts.map +1 -1
  10. package/dist/contracts/automations.contract.d.ts +3 -3
  11. package/dist/contracts/automations.contract.d.ts.map +1 -1
  12. package/dist/contracts/capabilities.contract.d.ts +21 -16
  13. package/dist/contracts/capabilities.contract.d.ts.map +1 -1
  14. package/dist/contracts/claude.contract.d.ts.map +1 -1
  15. package/dist/contracts/codex.contract.d.ts.map +1 -1
  16. package/dist/contracts/drafts.contract.d.ts +6 -6
  17. package/dist/contracts/drafts.contract.d.ts.map +1 -1
  18. package/dist/contracts/extensions.contract.d.ts +4 -4
  19. package/dist/contracts/extensions.contract.d.ts.map +1 -1
  20. package/dist/contracts/git.contract.d.ts +6 -4
  21. package/dist/contracts/git.contract.d.ts.map +1 -1
  22. package/dist/contracts/grok.contract.d.ts.map +1 -1
  23. package/dist/contracts/history.contract.d.ts +3 -3
  24. package/dist/contracts/history.contract.d.ts.map +1 -1
  25. package/dist/contracts/intentic.contract.d.ts.map +1 -1
  26. package/dist/contracts/inventory.contract.d.ts +20 -20
  27. package/dist/contracts/inventory.contract.d.ts.map +1 -1
  28. package/dist/contracts/logs.contract.d.ts.map +1 -1
  29. package/dist/contracts/panels.contract.d.ts +1 -1
  30. package/dist/contracts/panels.contract.d.ts.map +1 -1
  31. package/dist/contracts/ports.contract.d.ts +1 -1
  32. package/dist/contracts/ports.contract.d.ts.map +1 -1
  33. package/dist/contracts/secrets.contract.d.ts +4 -4
  34. package/dist/contracts/secrets.contract.d.ts.map +1 -1
  35. package/dist/contracts/sessions.contract.d.ts +1 -1
  36. package/dist/contracts/sessions.contract.d.ts.map +1 -1
  37. package/dist/contracts/settings.contract.d.ts.map +1 -1
  38. package/dist/contracts/system.contract.d.ts +26 -26
  39. package/dist/contracts/system.contract.d.ts.map +1 -1
  40. package/dist/contracts/translator.contract.d.ts.map +1 -1
  41. package/dist/contracts/workspace.contract.d.ts +21 -21
  42. package/dist/contracts/workspace.contract.d.ts.map +1 -1
  43. package/dist/effects.d.ts +1 -1
  44. package/dist/effects.d.ts.map +1 -1
  45. package/dist/effects.js +2 -0
  46. package/dist/effects.js.map +1 -1
  47. package/dist/events.d.ts +213 -29
  48. package/dist/events.d.ts.map +1 -1
  49. package/dist/events.js +5 -0
  50. package/dist/events.js.map +1 -1
  51. package/dist/hostnames.d.ts.map +1 -1
  52. package/dist/index.d.ts +417 -377
  53. package/dist/index.d.ts.map +1 -1
  54. package/dist/model-metadata.d.ts.map +1 -1
  55. package/dist/schemas.d.ts +221 -212
  56. package/dist/schemas.d.ts.map +1 -1
  57. package/dist/schemas.js +13 -6
  58. package/dist/schemas.js.map +1 -1
  59. package/dist/sse.d.ts.map +1 -1
  60. package/dist/tunnel-ids.d.ts.map +1 -1
  61. package/package.json +8 -6
  62. package/src/agent-catalog.ts +62 -0
  63. package/src/contracts/activity.contract.ts +9 -0
  64. package/src/contracts/agent.contract.ts +17 -0
  65. package/src/contracts/agents.contract.ts +28 -0
  66. package/src/contracts/automations.contract.ts +23 -0
  67. package/src/contracts/capabilities.contract.ts +31 -0
  68. package/src/contracts/claude.contract.ts +22 -0
  69. package/src/contracts/codex.contract.ts +23 -0
  70. package/src/contracts/drafts.contract.ts +11 -0
  71. package/src/contracts/extensions.contract.ts +28 -0
  72. package/src/contracts/git.contract.ts +64 -0
  73. package/src/contracts/grok.contract.ts +16 -0
  74. package/src/contracts/history.contract.ts +12 -0
  75. package/src/contracts/intentic.contract.ts +17 -0
  76. package/src/contracts/inventory.contract.ts +11 -0
  77. package/src/contracts/logs.contract.ts +9 -0
  78. package/src/contracts/panels.contract.ts +12 -0
  79. package/src/contracts/ports.contract.ts +11 -0
  80. package/src/contracts/secrets.contract.ts +15 -0
  81. package/src/contracts/sessions.contract.ts +14 -0
  82. package/src/contracts/settings.contract.ts +11 -0
  83. package/src/contracts/system.contract.ts +37 -0
  84. package/src/contracts/translator.contract.ts +20 -0
  85. package/src/contracts/workspace.contract.ts +74 -0
  86. package/src/effects.test.ts +132 -0
  87. package/src/effects.ts +138 -0
  88. package/src/events.ts +277 -0
  89. package/src/hostnames.test.ts +44 -0
  90. package/src/hostnames.ts +97 -0
  91. package/src/index.ts +84 -0
  92. package/src/model-metadata.ts +30 -0
  93. package/src/schemas.ts +1407 -0
  94. package/src/sse.ts +43 -0
  95. package/src/terminal-protocol.ts +16 -0
  96. package/src/tunnel-ids.ts +19 -0
package/dist/index.d.ts CHANGED
@@ -42,8 +42,8 @@ export declare const sandboxContract: {
42
42
  provider: import("zod").ZodOptional<import("zod").ZodString>;
43
43
  account: import("zod").ZodOptional<import("zod").ZodString>;
44
44
  direction: import("zod").ZodEnum<{
45
- out: "out";
46
45
  in: "in";
46
+ out: "out";
47
47
  system: "system";
48
48
  }>;
49
49
  type: import("zod").ZodString;
@@ -55,8 +55,8 @@ export declare const sandboxContract: {
55
55
  sessionId: import("zod").ZodOptional<import("zod").ZodString>;
56
56
  automationIds: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
57
57
  outcome: import("zod").ZodOptional<import("zod").ZodEnum<{
58
- ok: "ok";
59
58
  error: "error";
59
+ ok: "ok";
60
60
  }>>;
61
61
  error: import("zod").ZodOptional<import("zod").ZodString>;
62
62
  extra: import("zod").ZodOptional<import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnknown>>;
@@ -67,10 +67,10 @@ export declare const sandboxContract: {
67
67
  capabilityId: import("zod").ZodString;
68
68
  provider: import("zod").ZodString;
69
69
  gateway: import("zod").ZodEnum<{
70
- idle: "idle";
71
- ready: "ready";
72
70
  connecting: "connecting";
73
71
  disconnected: "disconnected";
72
+ idle: "idle";
73
+ ready: "ready";
74
74
  }>;
75
75
  lastError: import("zod").ZodOptional<import("zod").ZodString>;
76
76
  }, import("zod/v4/core").$strip>>;
@@ -89,8 +89,8 @@ export declare const sandboxContract: {
89
89
  attachments: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
90
90
  agent: import("zod").ZodOptional<import("zod").ZodString>;
91
91
  harness: import("zod").ZodOptional<import("zod").ZodEnum<{
92
- native: "native";
93
92
  "claude-code": "claude-code";
93
+ native: "native";
94
94
  }>>;
95
95
  account: import("zod").ZodOptional<import("zod").ZodString>;
96
96
  sessionId: import("zod").ZodOptional<import("zod").ZodString>;
@@ -98,8 +98,8 @@ export declare const sandboxContract: {
98
98
  isolated: import("zod").ZodOptional<import("zod").ZodBoolean>;
99
99
  history: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
100
100
  role: import("zod").ZodEnum<{
101
- user: "user";
102
101
  assistant: "assistant";
102
+ user: "user";
103
103
  }>;
104
104
  text: import("zod").ZodString;
105
105
  }, import("zod/v4/core").$strip>>>;
@@ -113,274 +113,305 @@ export declare const sandboxContract: {
113
113
  endLine: import("zod").ZodOptional<import("zod").ZodNumber>;
114
114
  selection: import("zod").ZodOptional<import("zod").ZodString>;
115
115
  }, import("zod/v4/core").$strip>>;
116
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
117
+ run: import("zod").ZodString;
118
+ }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
119
+ attach: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
120
+ conversationId: import("zod").ZodString;
121
+ run: import("zod").ZodOptional<import("zod").ZodString>;
122
+ after: import("zod").ZodOptional<import("zod").ZodNumber>;
116
123
  }, import("zod/v4/core").$strip>, import("@orpc/contract").Schema<AsyncIteratorObject<{
117
- kind: "session";
118
- sessionId: string;
119
- } | {
120
- kind: "worktree";
121
- branch: string;
122
- base: string;
123
- } | {
124
- kind: "landed";
125
- landed: boolean;
126
- conflicts?: {
127
- repo: string;
128
- paths: string[];
129
- }[] | undefined;
124
+ kind: "attached";
125
+ run: string;
126
+ prompt: string;
127
+ startedAt: number;
128
+ seq: number;
130
129
  } | {
131
- kind: "init";
132
- model: string;
133
- } | {
134
- kind: "checkpoint";
135
- id: string;
136
- } | {
137
- kind: "delta";
138
- text: string;
139
- parentToolUseId?: string | undefined;
140
- } | {
141
- kind: "thinking";
142
- text: string;
143
- parentToolUseId?: string | undefined;
144
- } | {
145
- kind: "tool_call";
146
- id: string;
147
- name: string;
148
- category: "other" | "search" | "fetch" | "read" | "edit" | "delete" | "move" | "execute" | "think";
149
- status: "pending" | "completed" | "failed" | "in_progress";
150
- target?: string | undefined;
151
- locations?: {
152
- path: string;
153
- line?: number | undefined;
154
- }[] | undefined;
155
- content?: ({
156
- type: "text";
130
+ kind: "frame";
131
+ seq: number;
132
+ event: {
133
+ kind: "session";
134
+ sessionId: string;
135
+ } | {
136
+ kind: "worktree";
137
+ branch: string;
138
+ base: string;
139
+ } | {
140
+ kind: "landed";
141
+ landed: boolean;
142
+ conflicts?: {
143
+ repo: string;
144
+ paths: string[];
145
+ }[] | undefined;
146
+ } | {
147
+ kind: "init";
148
+ model: string;
149
+ } | {
150
+ kind: "checkpoint";
151
+ id: string;
152
+ } | {
153
+ kind: "delta";
157
154
  text: string;
155
+ parentToolUseId?: string | undefined;
158
156
  } | {
159
- type: "diff";
160
- path: string;
161
- newText: string;
162
- oldText?: string | undefined;
163
- truncated?: boolean | undefined;
164
- })[] | undefined;
165
- parentToolUseId?: string | undefined;
166
- } | {
167
- kind: "tool_call_update";
168
- id: string;
169
- status?: "pending" | "completed" | "failed" | "in_progress" | undefined;
170
- content?: ({
171
- type: "text";
157
+ kind: "thinking";
172
158
  text: string;
159
+ parentToolUseId?: string | undefined;
173
160
  } | {
174
- type: "diff";
175
- path: string;
176
- newText: string;
177
- oldText?: string | undefined;
178
- truncated?: boolean | undefined;
179
- })[] | undefined;
180
- locations?: {
181
- path: string;
182
- line?: number | undefined;
183
- }[] | undefined;
184
- } | {
185
- kind: "terminal";
186
- session: string;
187
- } | {
188
- kind: "todos";
189
- items: {
190
- content: string;
191
- status: "pending" | "completed" | "in_progress";
192
- activeForm?: string | undefined;
193
- }[];
194
- } | {
195
- kind: "commands";
196
- items: {
161
+ kind: "tool_call";
162
+ id: string;
197
163
  name: string;
198
- description: string;
199
- hint?: string | undefined;
200
- }[];
201
- } | {
202
- kind: "usage";
203
- account?: string | undefined;
204
- costUsd?: number | undefined;
205
- inputTokens?: number | undefined;
206
- outputTokens?: number | undefined;
207
- cacheReadTokens?: number | undefined;
208
- cacheCreationTokens?: number | undefined;
209
- durationMs?: number | undefined;
210
- numTurns?: number | undefined;
211
- } | {
212
- status: "allowed" | "allowed_warning" | "rejected";
213
- kind: "rate_limit_info";
214
- resetsAt?: number | undefined;
215
- rateLimitType?: string | undefined;
216
- utilization?: number | undefined;
217
- account?: string | undefined;
218
- } | {
219
- tokens: number;
220
- contextWindow: number;
221
- kind: "context_usage";
222
- } | {
223
- kind: "compact";
224
- trigger: string;
225
- preTokens?: number | undefined;
226
- postTokens?: number | undefined;
227
- } | {
228
- kind: "plan";
229
- decisionId: string;
230
- text: string;
231
- } | {
232
- kind: "question";
233
- requestId: string;
234
- questions: {
235
- question: string;
236
- header: string;
237
- multiSelect: boolean;
238
- options: {
239
- label: string;
164
+ category: "delete" | "edit" | "execute" | "fetch" | "move" | "other" | "read" | "search" | "think";
165
+ status: "completed" | "failed" | "in_progress" | "pending";
166
+ target?: string | undefined;
167
+ locations?: {
168
+ path: string;
169
+ line?: number | undefined;
170
+ }[] | undefined;
171
+ content?: ({
172
+ type: "text";
173
+ text: string;
174
+ } | {
175
+ type: "diff";
176
+ path: string;
177
+ oldText?: string | undefined;
178
+ newText: string;
179
+ truncated?: boolean | undefined;
180
+ })[] | undefined;
181
+ parentToolUseId?: string | undefined;
182
+ } | {
183
+ kind: "tool_call_update";
184
+ id: string;
185
+ status?: "completed" | "failed" | "in_progress" | "pending" | undefined;
186
+ content?: ({
187
+ type: "text";
188
+ text: string;
189
+ } | {
190
+ type: "diff";
191
+ path: string;
192
+ oldText?: string | undefined;
193
+ newText: string;
194
+ truncated?: boolean | undefined;
195
+ })[] | undefined;
196
+ locations?: {
197
+ path: string;
198
+ line?: number | undefined;
199
+ }[] | undefined;
200
+ } | {
201
+ kind: "terminal";
202
+ session: string;
203
+ } | {
204
+ kind: "todos";
205
+ items: {
206
+ content: string;
207
+ status: "completed" | "in_progress" | "pending";
208
+ activeForm?: string | undefined;
209
+ }[];
210
+ } | {
211
+ kind: "commands";
212
+ items: {
213
+ name: string;
240
214
  description: string;
241
- preview?: string | undefined;
215
+ hint?: string | undefined;
242
216
  }[];
243
- }[];
244
- } | {
245
- kind: "error";
246
- message: string;
247
- code?: "session-not-found" | "rate_limit" | "codex-reauth" | "grok-model-invalid" | "codex-model-invalid" | "subscription-required" | "agent-busy" | undefined;
217
+ } | {
218
+ kind: "usage";
219
+ account?: string | undefined;
220
+ costUsd?: number | undefined;
221
+ inputTokens?: number | undefined;
222
+ outputTokens?: number | undefined;
223
+ cacheReadTokens?: number | undefined;
224
+ cacheCreationTokens?: number | undefined;
225
+ durationMs?: number | undefined;
226
+ numTurns?: number | undefined;
227
+ } | {
228
+ status: "allowed" | "allowed_warning" | "rejected";
229
+ resetsAt?: number | undefined;
230
+ rateLimitType?: string | undefined;
231
+ utilization?: number | undefined;
232
+ kind: "rate_limit_info";
233
+ account?: string | undefined;
234
+ } | {
235
+ tokens: number;
236
+ contextWindow: number;
237
+ kind: "context_usage";
238
+ } | {
239
+ kind: "compact";
240
+ trigger: string;
241
+ preTokens?: number | undefined;
242
+ postTokens?: number | undefined;
243
+ } | {
244
+ kind: "plan";
245
+ decisionId: string;
246
+ text: string;
247
+ } | {
248
+ kind: "question";
249
+ requestId: string;
250
+ questions: {
251
+ question: string;
252
+ header: string;
253
+ multiSelect: boolean;
254
+ options: {
255
+ label: string;
256
+ description: string;
257
+ preview?: string | undefined;
258
+ }[];
259
+ }[];
260
+ } | {
261
+ kind: "error";
262
+ message: string;
263
+ code?: "agent-busy" | "codex-model-invalid" | "codex-reauth" | "grok-model-invalid" | "rate_limit" | "session-not-found" | "subscription-required" | undefined;
264
+ } | {
265
+ kind: "done";
266
+ };
248
267
  } | {
249
- kind: "done";
268
+ kind: "end";
250
269
  }, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
251
- kind: "session";
252
- sessionId: string;
253
- } | {
254
- kind: "worktree";
255
- branch: string;
256
- base: string;
257
- } | {
258
- kind: "landed";
259
- landed: boolean;
260
- conflicts?: {
261
- repo: string;
262
- paths: string[];
263
- }[] | undefined;
264
- } | {
265
- kind: "init";
266
- model: string;
270
+ kind: "attached";
271
+ run: string;
272
+ prompt: string;
273
+ startedAt: number;
274
+ seq: number;
267
275
  } | {
268
- kind: "checkpoint";
269
- id: string;
270
- } | {
271
- kind: "delta";
272
- text: string;
273
- parentToolUseId?: string | undefined;
274
- } | {
275
- kind: "thinking";
276
- text: string;
277
- parentToolUseId?: string | undefined;
278
- } | {
279
- kind: "tool_call";
280
- id: string;
281
- name: string;
282
- category: "other" | "search" | "fetch" | "read" | "edit" | "delete" | "move" | "execute" | "think";
283
- status: "pending" | "completed" | "failed" | "in_progress";
284
- target?: string | undefined;
285
- locations?: {
286
- path: string;
287
- line?: number | undefined;
288
- }[] | undefined;
289
- content?: ({
290
- type: "text";
276
+ kind: "frame";
277
+ seq: number;
278
+ event: {
279
+ kind: "session";
280
+ sessionId: string;
281
+ } | {
282
+ kind: "worktree";
283
+ branch: string;
284
+ base: string;
285
+ } | {
286
+ kind: "landed";
287
+ landed: boolean;
288
+ conflicts?: {
289
+ repo: string;
290
+ paths: string[];
291
+ }[] | undefined;
292
+ } | {
293
+ kind: "init";
294
+ model: string;
295
+ } | {
296
+ kind: "checkpoint";
297
+ id: string;
298
+ } | {
299
+ kind: "delta";
291
300
  text: string;
301
+ parentToolUseId?: string | undefined;
292
302
  } | {
293
- type: "diff";
294
- path: string;
295
- newText: string;
296
- oldText?: string | undefined;
297
- truncated?: boolean | undefined;
298
- })[] | undefined;
299
- parentToolUseId?: string | undefined;
300
- } | {
301
- kind: "tool_call_update";
302
- id: string;
303
- status?: "pending" | "completed" | "failed" | "in_progress" | undefined;
304
- content?: ({
305
- type: "text";
303
+ kind: "thinking";
306
304
  text: string;
305
+ parentToolUseId?: string | undefined;
307
306
  } | {
308
- type: "diff";
309
- path: string;
310
- newText: string;
311
- oldText?: string | undefined;
312
- truncated?: boolean | undefined;
313
- })[] | undefined;
314
- locations?: {
315
- path: string;
316
- line?: number | undefined;
317
- }[] | undefined;
318
- } | {
319
- kind: "terminal";
320
- session: string;
321
- } | {
322
- kind: "todos";
323
- items: {
324
- content: string;
325
- status: "pending" | "completed" | "in_progress";
326
- activeForm?: string | undefined;
327
- }[];
328
- } | {
329
- kind: "commands";
330
- items: {
307
+ kind: "tool_call";
308
+ id: string;
331
309
  name: string;
332
- description: string;
333
- hint?: string | undefined;
334
- }[];
335
- } | {
336
- kind: "usage";
337
- account?: string | undefined;
338
- costUsd?: number | undefined;
339
- inputTokens?: number | undefined;
340
- outputTokens?: number | undefined;
341
- cacheReadTokens?: number | undefined;
342
- cacheCreationTokens?: number | undefined;
343
- durationMs?: number | undefined;
344
- numTurns?: number | undefined;
345
- } | {
346
- status: "allowed" | "allowed_warning" | "rejected";
347
- kind: "rate_limit_info";
348
- resetsAt?: number | undefined;
349
- rateLimitType?: string | undefined;
350
- utilization?: number | undefined;
351
- account?: string | undefined;
352
- } | {
353
- tokens: number;
354
- contextWindow: number;
355
- kind: "context_usage";
356
- } | {
357
- kind: "compact";
358
- trigger: string;
359
- preTokens?: number | undefined;
360
- postTokens?: number | undefined;
361
- } | {
362
- kind: "plan";
363
- decisionId: string;
364
- text: string;
365
- } | {
366
- kind: "question";
367
- requestId: string;
368
- questions: {
369
- question: string;
370
- header: string;
371
- multiSelect: boolean;
372
- options: {
373
- label: string;
310
+ category: "delete" | "edit" | "execute" | "fetch" | "move" | "other" | "read" | "search" | "think";
311
+ status: "completed" | "failed" | "in_progress" | "pending";
312
+ target?: string | undefined;
313
+ locations?: {
314
+ path: string;
315
+ line?: number | undefined;
316
+ }[] | undefined;
317
+ content?: ({
318
+ type: "text";
319
+ text: string;
320
+ } | {
321
+ type: "diff";
322
+ path: string;
323
+ oldText?: string | undefined;
324
+ newText: string;
325
+ truncated?: boolean | undefined;
326
+ })[] | undefined;
327
+ parentToolUseId?: string | undefined;
328
+ } | {
329
+ kind: "tool_call_update";
330
+ id: string;
331
+ status?: "completed" | "failed" | "in_progress" | "pending" | undefined;
332
+ content?: ({
333
+ type: "text";
334
+ text: string;
335
+ } | {
336
+ type: "diff";
337
+ path: string;
338
+ oldText?: string | undefined;
339
+ newText: string;
340
+ truncated?: boolean | undefined;
341
+ })[] | undefined;
342
+ locations?: {
343
+ path: string;
344
+ line?: number | undefined;
345
+ }[] | undefined;
346
+ } | {
347
+ kind: "terminal";
348
+ session: string;
349
+ } | {
350
+ kind: "todos";
351
+ items: {
352
+ content: string;
353
+ status: "completed" | "in_progress" | "pending";
354
+ activeForm?: string | undefined;
355
+ }[];
356
+ } | {
357
+ kind: "commands";
358
+ items: {
359
+ name: string;
374
360
  description: string;
375
- preview?: string | undefined;
361
+ hint?: string | undefined;
376
362
  }[];
377
- }[];
378
- } | {
379
- kind: "error";
380
- message: string;
381
- code?: "session-not-found" | "rate_limit" | "codex-reauth" | "grok-model-invalid" | "codex-model-invalid" | "subscription-required" | "agent-busy" | undefined;
363
+ } | {
364
+ kind: "usage";
365
+ account?: string | undefined;
366
+ costUsd?: number | undefined;
367
+ inputTokens?: number | undefined;
368
+ outputTokens?: number | undefined;
369
+ cacheReadTokens?: number | undefined;
370
+ cacheCreationTokens?: number | undefined;
371
+ durationMs?: number | undefined;
372
+ numTurns?: number | undefined;
373
+ } | {
374
+ status: "allowed" | "allowed_warning" | "rejected";
375
+ resetsAt?: number | undefined;
376
+ rateLimitType?: string | undefined;
377
+ utilization?: number | undefined;
378
+ kind: "rate_limit_info";
379
+ account?: string | undefined;
380
+ } | {
381
+ tokens: number;
382
+ contextWindow: number;
383
+ kind: "context_usage";
384
+ } | {
385
+ kind: "compact";
386
+ trigger: string;
387
+ preTokens?: number | undefined;
388
+ postTokens?: number | undefined;
389
+ } | {
390
+ kind: "plan";
391
+ decisionId: string;
392
+ text: string;
393
+ } | {
394
+ kind: "question";
395
+ requestId: string;
396
+ questions: {
397
+ question: string;
398
+ header: string;
399
+ multiSelect: boolean;
400
+ options: {
401
+ label: string;
402
+ description: string;
403
+ preview?: string | undefined;
404
+ }[];
405
+ }[];
406
+ } | {
407
+ kind: "error";
408
+ message: string;
409
+ code?: "agent-busy" | "codex-model-invalid" | "codex-reauth" | "grok-model-invalid" | "rate_limit" | "session-not-found" | "subscription-required" | undefined;
410
+ } | {
411
+ kind: "done";
412
+ };
382
413
  } | {
383
- kind: "done";
414
+ kind: "end";
384
415
  }, unknown, void>>, Record<never, never>, Record<never, never>>;
385
416
  decision: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
386
417
  decisionId: import("zod").ZodString;
@@ -415,17 +446,17 @@ export declare const sandboxContract: {
415
446
  sessionId: import("zod").ZodOptional<import("zod").ZodString>;
416
447
  title: import("zod").ZodOptional<import("zod").ZodString>;
417
448
  status: import("zod").ZodEnum<{
449
+ awaiting: "awaiting";
450
+ conflict: "conflict";
418
451
  error: "error";
419
452
  idle: "idle";
420
- running: "running";
421
- awaiting: "awaiting";
422
453
  landed: "landed";
423
- conflict: "conflict";
454
+ running: "running";
424
455
  }>;
425
456
  provider: import("zod").ZodString;
426
457
  harness: import("zod").ZodEnum<{
427
- native: "native";
428
458
  "claude-code": "claude-code";
459
+ native: "native";
429
460
  }>;
430
461
  model: import("zod").ZodOptional<import("zod").ZodString>;
431
462
  account: import("zod").ZodOptional<import("zod").ZodString>;
@@ -464,17 +495,17 @@ export declare const sandboxContract: {
464
495
  sessionId: import("zod").ZodOptional<import("zod").ZodString>;
465
496
  title: import("zod").ZodOptional<import("zod").ZodString>;
466
497
  status: import("zod").ZodEnum<{
498
+ awaiting: "awaiting";
499
+ conflict: "conflict";
467
500
  error: "error";
468
501
  idle: "idle";
469
- running: "running";
470
- awaiting: "awaiting";
471
502
  landed: "landed";
472
- conflict: "conflict";
503
+ running: "running";
473
504
  }>;
474
505
  provider: import("zod").ZodString;
475
506
  harness: import("zod").ZodEnum<{
476
- native: "native";
477
507
  "claude-code": "claude-code";
508
+ native: "native";
478
509
  }>;
479
510
  model: import("zod").ZodOptional<import("zod").ZodString>;
480
511
  account: import("zod").ZodOptional<import("zod").ZodString>;
@@ -513,17 +544,17 @@ export declare const sandboxContract: {
513
544
  sessionId: import("zod").ZodOptional<import("zod").ZodString>;
514
545
  title: import("zod").ZodOptional<import("zod").ZodString>;
515
546
  status: import("zod").ZodEnum<{
547
+ awaiting: "awaiting";
548
+ conflict: "conflict";
516
549
  error: "error";
517
550
  idle: "idle";
518
- running: "running";
519
- awaiting: "awaiting";
520
551
  landed: "landed";
521
- conflict: "conflict";
552
+ running: "running";
522
553
  }>;
523
554
  provider: import("zod").ZodString;
524
555
  harness: import("zod").ZodEnum<{
525
- native: "native";
526
556
  "claude-code": "claude-code";
557
+ native: "native";
527
558
  }>;
528
559
  model: import("zod").ZodOptional<import("zod").ZodString>;
529
560
  account: import("zod").ZodOptional<import("zod").ZodString>;
@@ -564,12 +595,14 @@ export declare const sandboxContract: {
564
595
  path: import("zod").ZodString;
565
596
  status: import("zod").ZodEnum<{
566
597
  added: "added";
567
- modified: "modified";
568
598
  deleted: "deleted";
599
+ modified: "modified";
569
600
  renamed: "renamed";
570
601
  "type-changed": "type-changed";
571
602
  }>;
572
603
  from: import("zod").ZodOptional<import("zod").ZodString>;
604
+ additions: import("zod").ZodOptional<import("zod").ZodNumber>;
605
+ deletions: import("zod").ZodOptional<import("zod").ZodNumber>;
573
606
  }, import("zod/v4/core").$strip>>;
574
607
  }, import("zod/v4/core").$strip>>;
575
608
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
@@ -620,8 +653,8 @@ export declare const sandboxContract: {
620
653
  prompt: import("zod").ZodString;
621
654
  agent: import("zod").ZodOptional<import("zod").ZodString>;
622
655
  harness: import("zod").ZodOptional<import("zod").ZodEnum<{
623
- native: "native";
624
656
  "claude-code": "claude-code";
657
+ native: "native";
625
658
  }>>;
626
659
  model: import("zod").ZodOptional<import("zod").ZodString>;
627
660
  requireApproval: import("zod").ZodOptional<import("zod").ZodBoolean>;
@@ -629,9 +662,9 @@ export declare const sandboxContract: {
629
662
  runs: import("zod").ZodArray<import("zod").ZodObject<{
630
663
  at: import("zod").ZodNumber;
631
664
  outcome: import("zod").ZodEnum<{
665
+ completed: "completed";
632
666
  error: "error";
633
667
  skipped: "skipped";
634
- completed: "completed";
635
668
  }>;
636
669
  detail: import("zod").ZodOptional<import("zod").ZodString>;
637
670
  }, import("zod/v4/core").$strip>>;
@@ -658,8 +691,8 @@ export declare const sandboxContract: {
658
691
  prompt: import("zod").ZodString;
659
692
  agent: import("zod").ZodOptional<import("zod").ZodString>;
660
693
  harness: import("zod").ZodOptional<import("zod").ZodEnum<{
661
- native: "native";
662
694
  "claude-code": "claude-code";
695
+ native: "native";
663
696
  }>>;
664
697
  model: import("zod").ZodOptional<import("zod").ZodString>;
665
698
  requireApproval: import("zod").ZodOptional<import("zod").ZodBoolean>;
@@ -697,24 +730,25 @@ export declare const sandboxContract: {
697
730
  id: import("zod").ZodString;
698
731
  kind: import("zod").ZodEnum<{
699
732
  agent: "agent";
700
- service: "service";
733
+ browser: "browser";
734
+ cli: "cli";
701
735
  devops: "devops";
702
- monorepo: "monorepo";
703
- mcp: "mcp";
736
+ docker: "docker";
737
+ extension: "extension";
704
738
  integration: "integration";
705
- cli: "cli";
739
+ mcp: "mcp";
740
+ monorepo: "monorepo";
706
741
  plugin: "plugin";
707
- extension: "extension";
742
+ service: "service";
708
743
  ssh: "ssh";
709
744
  vpn: "vpn";
710
- browser: "browser";
711
745
  }>;
712
746
  status: import("zod").ZodObject<{
713
747
  state: import("zod").ZodEnum<{
714
- error: "error";
715
- pending: "pending";
716
748
  active: "active";
749
+ error: "error";
717
750
  inactive: "inactive";
751
+ pending: "pending";
718
752
  }>;
719
753
  detail: import("zod").ZodOptional<import("zod").ZodString>;
720
754
  }, import("zod/v4/core").$strip>;
@@ -741,12 +775,12 @@ export declare const sandboxContract: {
741
775
  kind: import("zod").ZodLiteral<"service">;
742
776
  config: import("zod").ZodObject<{
743
777
  service: import("zod").ZodEnum<{
744
- signoz: "signoz";
778
+ infisical: "infisical";
779
+ invoiceninja: "invoiceninja";
780
+ openproject: "openproject";
745
781
  outline: "outline";
746
782
  paperless: "paperless";
747
- openproject: "openproject";
748
- invoiceninja: "invoiceninja";
749
- infisical: "infisical";
783
+ signoz: "signoz";
750
784
  }>;
751
785
  domain: import("zod").ZodString;
752
786
  on: import("zod").ZodString;
@@ -804,10 +838,14 @@ export declare const sandboxContract: {
804
838
  config: import("zod").ZodObject<{
805
839
  config: import("zod").ZodString;
806
840
  enabled: import("zod").ZodDefault<import("zod").ZodEnum<{
807
- on: "on";
808
841
  off: "off";
842
+ on: "on";
809
843
  }>>;
810
844
  }, import("zod/v4/core").$strip>;
845
+ }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
846
+ id: import("zod").ZodString;
847
+ kind: import("zod").ZodLiteral<"docker">;
848
+ config: import("zod").ZodObject<{}, import("zod/v4/core").$strip>;
811
849
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
812
850
  id: import("zod").ZodString;
813
851
  kind: import("zod").ZodLiteral<"browser">;
@@ -849,10 +887,10 @@ export declare const sandboxContract: {
849
887
  id: import("zod").ZodString;
850
888
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
851
889
  state: import("zod").ZodEnum<{
852
- error: "error";
853
- pending: "pending";
854
890
  active: "active";
891
+ error: "error";
855
892
  inactive: "inactive";
893
+ pending: "pending";
856
894
  }>;
857
895
  detail: import("zod").ZodOptional<import("zod").ZodString>;
858
896
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
@@ -866,8 +904,8 @@ export declare const sandboxContract: {
866
904
  description: import("zod").ZodOptional<import("zod").ZodString>;
867
905
  version: import("zod").ZodOptional<import("zod").ZodString>;
868
906
  kind: import("zod").ZodOptional<import("zod").ZodEnum<{
869
- plugin: "plugin";
870
907
  extension: "extension";
908
+ plugin: "plugin";
871
909
  }>>;
872
910
  install: import("zod").ZodOptional<import("zod").ZodObject<{
873
911
  url: import("zod").ZodString;
@@ -981,11 +1019,11 @@ export declare const sandboxContract: {
981
1019
  media: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
982
1020
  scheduledAt: import("zod").ZodOptional<import("zod").ZodNumber>;
983
1021
  status: import("zod").ZodDefault<import("zod").ZodEnum<{
984
- proposed: "proposed";
985
1022
  approved: "approved";
986
- posting: "posting";
987
- posted: "posted";
988
1023
  failed: "failed";
1024
+ posted: "posted";
1025
+ posting: "posting";
1026
+ proposed: "proposed";
989
1027
  }>>;
990
1028
  createdAt: import("zod").ZodOptional<import("zod").ZodNumber>;
991
1029
  postedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -1002,11 +1040,11 @@ export declare const sandboxContract: {
1002
1040
  media: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodString>>;
1003
1041
  scheduledAt: import("zod").ZodOptional<import("zod").ZodNumber>;
1004
1042
  status: import("zod").ZodDefault<import("zod").ZodEnum<{
1005
- proposed: "proposed";
1006
1043
  approved: "approved";
1007
- posting: "posting";
1008
- posted: "posted";
1009
1044
  failed: "failed";
1045
+ posted: "posted";
1046
+ posting: "posting";
1047
+ proposed: "proposed";
1010
1048
  }>>;
1011
1049
  createdAt: import("zod").ZodOptional<import("zod").ZodNumber>;
1012
1050
  postedAt: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -1041,16 +1079,16 @@ export declare const sandboxContract: {
1041
1079
  id: import("zod").ZodString;
1042
1080
  label: import("zod").ZodString;
1043
1081
  surface: import("zod").ZodEnum<{
1044
- rail: "rail";
1045
1082
  directory: "directory";
1083
+ rail: "rail";
1046
1084
  }>;
1047
1085
  }, import("zod/v4/core").$strip>>>;
1048
1086
  viewers: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1049
1087
  id: import("zod").ZodString;
1050
1088
  extensions: import("zod").ZodArray<import("zod").ZodString>;
1051
1089
  fetch: import("zod").ZodEnum<{
1052
- text: "text";
1053
1090
  blob: "blob";
1091
+ text: "text";
1054
1092
  }>;
1055
1093
  }, import("zod/v4/core").$strip>>>;
1056
1094
  commands: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
@@ -1062,10 +1100,10 @@ export declare const sandboxContract: {
1062
1100
  settings: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodObject<{
1063
1101
  key: import("zod").ZodString;
1064
1102
  type: import("zod").ZodEnum<{
1065
- string: "string";
1066
- number: "number";
1067
1103
  boolean: "boolean";
1068
1104
  enum: "enum";
1105
+ number: "number";
1106
+ string: "string";
1069
1107
  }>;
1070
1108
  title: import("zod").ZodString;
1071
1109
  description: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1188,8 +1226,8 @@ export declare const sandboxContract: {
1188
1226
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1189
1227
  messages: import("zod").ZodArray<import("zod").ZodObject<{
1190
1228
  role: import("zod").ZodEnum<{
1191
- user: "user";
1192
1229
  assistant: "assistant";
1230
+ user: "user";
1193
1231
  }>;
1194
1232
  text: import("zod").ZodString;
1195
1233
  }, import("zod/v4/core").$strip>>;
@@ -1274,12 +1312,14 @@ export declare const sandboxContract: {
1274
1312
  path: import("zod").ZodString;
1275
1313
  status: import("zod").ZodEnum<{
1276
1314
  added: "added";
1277
- modified: "modified";
1278
1315
  deleted: "deleted";
1316
+ modified: "modified";
1279
1317
  renamed: "renamed";
1280
1318
  "type-changed": "type-changed";
1281
1319
  }>;
1282
1320
  from: import("zod").ZodOptional<import("zod").ZodString>;
1321
+ additions: import("zod").ZodOptional<import("zod").ZodNumber>;
1322
+ deletions: import("zod").ZodOptional<import("zod").ZodNumber>;
1283
1323
  }, import("zod/v4/core").$strip>>;
1284
1324
  }, import("zod/v4/core").$strip>>;
1285
1325
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
@@ -1313,8 +1353,8 @@ export declare const sandboxContract: {
1313
1353
  path: import("zod").ZodString;
1314
1354
  status: import("zod").ZodEnum<{
1315
1355
  added: "added";
1316
- modified: "modified";
1317
1356
  deleted: "deleted";
1357
+ modified: "modified";
1318
1358
  renamed: "renamed";
1319
1359
  "type-changed": "type-changed";
1320
1360
  }>;
@@ -1393,9 +1433,9 @@ export declare const sandboxContract: {
1393
1433
  repo: import("zod").ZodString;
1394
1434
  sha: import("zod").ZodString;
1395
1435
  mode: import("zod").ZodEnum<{
1396
- soft: "soft";
1397
- mixed: "mixed";
1398
1436
  hard: "hard";
1437
+ mixed: "mixed";
1438
+ soft: "soft";
1399
1439
  }>;
1400
1440
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1401
1441
  ok: import("zod").ZodBoolean;
@@ -1491,11 +1531,11 @@ export declare const sandboxContract: {
1491
1531
  id: import("zod").ZodString;
1492
1532
  at: import("zod").ZodNumber;
1493
1533
  trigger: import("zod").ZodEnum<{
1494
- user: "user";
1495
1534
  interval: "interval";
1496
- turn: "turn";
1497
1535
  "pre-restore": "pre-restore";
1498
1536
  restore: "restore";
1537
+ turn: "turn";
1538
+ user: "user";
1499
1539
  }>;
1500
1540
  label: import("zod").ZodOptional<import("zod").ZodString>;
1501
1541
  }, import("zod/v4/core").$strip>>;
@@ -1508,8 +1548,8 @@ export declare const sandboxContract: {
1508
1548
  path: import("zod").ZodString;
1509
1549
  status: import("zod").ZodEnum<{
1510
1550
  added: "added";
1511
- modified: "modified";
1512
1551
  deleted: "deleted";
1552
+ modified: "modified";
1513
1553
  "type-changed": "type-changed";
1514
1554
  }>;
1515
1555
  }, import("zod/v4/core").$strip>>;
@@ -1537,8 +1577,8 @@ export declare const sandboxContract: {
1537
1577
  name: import("zod").ZodString;
1538
1578
  path: import("zod").ZodString;
1539
1579
  type: import("zod").ZodEnum<{
1540
- file: "file";
1541
1580
  dir: "dir";
1581
+ file: "file";
1542
1582
  }>;
1543
1583
  size: import("zod").ZodOptional<import("zod").ZodNumber>;
1544
1584
  truncated: import("zod").ZodOptional<import("zod").ZodBoolean>;
@@ -1554,8 +1594,8 @@ export declare const sandboxContract: {
1554
1594
  name: import("zod").ZodString;
1555
1595
  path: import("zod").ZodString;
1556
1596
  type: import("zod").ZodEnum<{
1557
- file: "file";
1558
1597
  dir: "dir";
1598
+ file: "file";
1559
1599
  }>;
1560
1600
  size: import("zod").ZodOptional<import("zod").ZodNumber>;
1561
1601
  truncated: import("zod").ZodOptional<import("zod").ZodBoolean>;
@@ -1573,14 +1613,14 @@ export declare const sandboxContract: {
1573
1613
  search: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodObject<{
1574
1614
  query: import("zod").ZodString;
1575
1615
  mode: import("zod").ZodOptional<import("zod").ZodEnum<{
1616
+ ask: "ask";
1617
+ ast: "ast";
1576
1618
  def: "def";
1577
1619
  files: "files";
1578
- refs: "refs";
1579
- q: "q";
1580
1620
  find: "find";
1621
+ q: "q";
1622
+ refs: "refs";
1581
1623
  sym: "sym";
1582
- ast: "ast";
1583
- ask: "ask";
1584
1624
  }>>;
1585
1625
  includeIgnored: import("zod").ZodOptional<import("zod").ZodCodec<import("zod").ZodString, import("zod").ZodBoolean>>;
1586
1626
  limit: import("zod").ZodOptional<import("zod").ZodCoercedNumber<unknown>>;
@@ -1599,18 +1639,18 @@ export declare const sandboxContract: {
1599
1639
  end: import("zod").ZodOptional<import("zod").ZodNumber>;
1600
1640
  tags: import("zod").ZodArray<import("zod").ZodObject<{
1601
1641
  kind: import("zod").ZodEnum<{
1602
- text: "text";
1603
- def: "def";
1604
- type: "type";
1605
- path: "path";
1606
- sem: "sem";
1607
1642
  bm25: "bm25";
1608
- rerank: "rerank";
1609
- import: "import";
1610
1643
  call: "call";
1611
- write: "write";
1644
+ def: "def";
1612
1645
  fuzzy: "fuzzy";
1613
1646
  heuristic: "heuristic";
1647
+ import: "import";
1648
+ path: "path";
1649
+ rerank: "rerank";
1650
+ sem: "sem";
1651
+ text: "text";
1652
+ type: "type";
1653
+ write: "write";
1614
1654
  }>;
1615
1655
  score: import("zod").ZodOptional<import("zod").ZodNumber>;
1616
1656
  }, import("zod/v4/core").$strip>>;
@@ -1619,8 +1659,8 @@ export declare const sandboxContract: {
1619
1659
  }, import("zod/v4/core").$strip>>;
1620
1660
  freshness: import("zod").ZodObject<{
1621
1661
  state: import("zod").ZodEnum<{
1622
- fresh: "fresh";
1623
1662
  building: "building";
1663
+ fresh: "fresh";
1624
1664
  stale: "stale";
1625
1665
  }>;
1626
1666
  ageMs: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -1636,11 +1676,11 @@ export declare const sandboxContract: {
1636
1676
  classifications: import("zod").ZodArray<import("zod").ZodObject<{
1637
1677
  path: import("zod").ZodString;
1638
1678
  bucket: import("zod").ZodEnum<{
1639
- repositories: "repositories";
1679
+ archives: "archives";
1640
1680
  documents: "documents";
1641
1681
  media: "media";
1642
- archives: "archives";
1643
1682
  other: "other";
1683
+ repositories: "repositories";
1644
1684
  }>;
1645
1685
  reason: import("zod").ZodString;
1646
1686
  }, import("zod/v4/core").$strip>>;
@@ -1682,13 +1722,13 @@ export declare const sandboxContract: {
1682
1722
  repos: import("zod").ZodArray<import("zod").ZodObject<{
1683
1723
  repo: import("zod").ZodString;
1684
1724
  status: import("zod").ZodEnum<{
1685
- error: "error";
1686
- dirty: "dirty";
1687
- updated: "updated";
1688
1725
  current: "current";
1726
+ dirty: "dirty";
1689
1727
  diverged: "diverged";
1728
+ error: "error";
1690
1729
  "no-remote": "no-remote";
1691
1730
  skipped: "skipped";
1731
+ updated: "updated";
1692
1732
  }>;
1693
1733
  behind: import("zod").ZodOptional<import("zod").ZodNumber>;
1694
1734
  ahead: import("zod").ZodOptional<import("zod").ZodNumber>;
@@ -1735,9 +1775,9 @@ export declare const sandboxContract: {
1735
1775
  from: import("zod").ZodString;
1736
1776
  to: import("zod").ZodString;
1737
1777
  type: import("zod").ZodEnum<{
1738
- prod: "prod";
1739
1778
  dev: "dev";
1740
1779
  peer: "peer";
1780
+ prod: "prod";
1741
1781
  }>;
1742
1782
  }, import("zod/v4/core").$strip>>;
1743
1783
  }, import("zod/v4/core").$strip>, Record<never, never>, Record<never, never>>;
@@ -1766,10 +1806,10 @@ export declare const sandboxContract: {
1766
1806
  entries: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
1767
1807
  kind: import("zod").ZodLiteral<"backend">;
1768
1808
  provider: import("zod").ZodEnum<{
1769
- host: "host";
1770
1809
  cloudflare: "cloudflare";
1771
1810
  github: "github";
1772
1811
  gitlab: "gitlab";
1812
+ host: "host";
1773
1813
  stripe: "stripe";
1774
1814
  }>;
1775
1815
  name: import("zod").ZodString;
@@ -1777,12 +1817,12 @@ export declare const sandboxContract: {
1777
1817
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1778
1818
  kind: import("zod").ZodLiteral<"service">;
1779
1819
  service: import("zod").ZodEnum<{
1780
- signoz: "signoz";
1820
+ infisical: "infisical";
1821
+ invoiceninja: "invoiceninja";
1822
+ openproject: "openproject";
1781
1823
  outline: "outline";
1782
1824
  paperless: "paperless";
1783
- openproject: "openproject";
1784
- invoiceninja: "invoiceninja";
1785
- infisical: "infisical";
1825
+ signoz: "signoz";
1786
1826
  }>;
1787
1827
  name: import("zod").ZodString;
1788
1828
  values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
@@ -1799,10 +1839,10 @@ export declare const sandboxContract: {
1799
1839
  add: import("@orpc/contract").ContractProcedureBuilderWithInputOutput<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
1800
1840
  kind: import("zod").ZodLiteral<"backend">;
1801
1841
  provider: import("zod").ZodEnum<{
1802
- host: "host";
1803
1842
  cloudflare: "cloudflare";
1804
1843
  github: "github";
1805
1844
  gitlab: "gitlab";
1845
+ host: "host";
1806
1846
  stripe: "stripe";
1807
1847
  }>;
1808
1848
  values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
@@ -1810,12 +1850,12 @@ export declare const sandboxContract: {
1810
1850
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1811
1851
  kind: import("zod").ZodLiteral<"service">;
1812
1852
  service: import("zod").ZodEnum<{
1813
- signoz: "signoz";
1853
+ infisical: "infisical";
1854
+ invoiceninja: "invoiceninja";
1855
+ openproject: "openproject";
1814
1856
  outline: "outline";
1815
1857
  paperless: "paperless";
1816
- openproject: "openproject";
1817
- invoiceninja: "invoiceninja";
1818
- infisical: "infisical";
1858
+ signoz: "signoz";
1819
1859
  }>;
1820
1860
  values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
1821
1861
  on: import("zod").ZodString;
@@ -1831,10 +1871,10 @@ export declare const sandboxContract: {
1831
1871
  entries: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
1832
1872
  kind: import("zod").ZodLiteral<"backend">;
1833
1873
  provider: import("zod").ZodEnum<{
1834
- host: "host";
1835
1874
  cloudflare: "cloudflare";
1836
1875
  github: "github";
1837
1876
  gitlab: "gitlab";
1877
+ host: "host";
1838
1878
  stripe: "stripe";
1839
1879
  }>;
1840
1880
  name: import("zod").ZodString;
@@ -1842,12 +1882,12 @@ export declare const sandboxContract: {
1842
1882
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1843
1883
  kind: import("zod").ZodLiteral<"service">;
1844
1884
  service: import("zod").ZodEnum<{
1845
- signoz: "signoz";
1885
+ infisical: "infisical";
1886
+ invoiceninja: "invoiceninja";
1887
+ openproject: "openproject";
1846
1888
  outline: "outline";
1847
1889
  paperless: "paperless";
1848
- openproject: "openproject";
1849
- invoiceninja: "invoiceninja";
1850
- infisical: "infisical";
1890
+ signoz: "signoz";
1851
1891
  }>;
1852
1892
  name: import("zod").ZodString;
1853
1893
  values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
@@ -1867,10 +1907,10 @@ export declare const sandboxContract: {
1867
1907
  entries: import("zod").ZodArray<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
1868
1908
  kind: import("zod").ZodLiteral<"backend">;
1869
1909
  provider: import("zod").ZodEnum<{
1870
- host: "host";
1871
1910
  cloudflare: "cloudflare";
1872
1911
  github: "github";
1873
1912
  gitlab: "gitlab";
1913
+ host: "host";
1874
1914
  stripe: "stripe";
1875
1915
  }>;
1876
1916
  name: import("zod").ZodString;
@@ -1878,12 +1918,12 @@ export declare const sandboxContract: {
1878
1918
  }, import("zod/v4/core").$strip>, import("zod").ZodObject<{
1879
1919
  kind: import("zod").ZodLiteral<"service">;
1880
1920
  service: import("zod").ZodEnum<{
1881
- signoz: "signoz";
1921
+ infisical: "infisical";
1922
+ invoiceninja: "invoiceninja";
1923
+ openproject: "openproject";
1882
1924
  outline: "outline";
1883
1925
  paperless: "paperless";
1884
- openproject: "openproject";
1885
- invoiceninja: "invoiceninja";
1886
- infisical: "infisical";
1926
+ signoz: "signoz";
1887
1927
  }>;
1888
1928
  name: import("zod").ZodString;
1889
1929
  values: import("zod").ZodRecord<import("zod").ZodString, import("zod").ZodUnion<readonly [import("zod").ZodString, import("zod").ZodNumber]>>;
@@ -1927,8 +1967,8 @@ export declare const sandboxContract: {
1927
1967
  previewUrl: import("zod").ZodOptional<import("zod").ZodString>;
1928
1968
  role: import("zod").ZodOptional<import("zod").ZodEnum<{
1929
1969
  app: "app";
1930
- intent: "intent";
1931
1970
  "desired-state": "desired-state";
1971
+ intent: "intent";
1932
1972
  }>>;
1933
1973
  deployConfig: import("zod").ZodBoolean;
1934
1974
  desiredState: import("zod").ZodBoolean;
@@ -1957,8 +1997,8 @@ export declare const sandboxContract: {
1957
1997
  "::1": "::1";
1958
1998
  }>;
1959
1999
  kind: import("zod").ZodEnum<{
1960
- workspace: "workspace";
1961
2000
  system: "system";
2001
+ workspace: "workspace";
1962
2002
  }>;
1963
2003
  pid: import("zod").ZodOptional<import("zod").ZodNumber>;
1964
2004
  command: import("zod").ZodOptional<import("zod").ZodString>;
@@ -1997,16 +2037,16 @@ export declare const sandboxContract: {
1997
2037
  entries: import("zod").ZodArray<import("zod").ZodObject<{
1998
2038
  key: import("zod").ZodString;
1999
2039
  kind: import("zod").ZodEnum<{
2000
- provider: "provider";
2040
+ capability: "capability";
2001
2041
  env: "env";
2002
2042
  generated: "generated";
2003
- capability: "capability";
2043
+ provider: "provider";
2004
2044
  }>;
2005
2045
  label: import("zod").ZodOptional<import("zod").ZodString>;
2006
2046
  status: import("zod").ZodEnum<{
2007
- set: "set";
2008
- missing: "missing";
2009
2047
  connected: "connected";
2048
+ missing: "missing";
2049
+ set: "set";
2010
2050
  }>;
2011
2051
  requiredBy: import("zod").ZodArray<import("zod").ZodObject<{
2012
2052
  resourceId: import("zod").ZodString;
@@ -2052,9 +2092,9 @@ export declare const sandboxContract: {
2052
2092
  users: {
2053
2093
  clientId: string;
2054
2094
  email: string;
2055
- idle: boolean;
2056
2095
  name?: string | undefined;
2057
2096
  picture?: string | undefined;
2097
+ idle: boolean;
2058
2098
  view?: string | undefined;
2059
2099
  sessionId?: string | undefined;
2060
2100
  path?: string | undefined;
@@ -2063,17 +2103,11 @@ export declare const sandboxContract: {
2063
2103
  kind: "agents";
2064
2104
  agents: {
2065
2105
  id: string;
2066
- status: "error" | "idle" | "running" | "awaiting" | "landed" | "conflict";
2067
- provider: string;
2068
- harness: "native" | "claude-code";
2069
- updatedAt: number;
2070
- attention: {
2071
- plan: boolean;
2072
- question: boolean;
2073
- conflict: boolean;
2074
- };
2075
2106
  sessionId?: string | undefined;
2076
2107
  title?: string | undefined;
2108
+ status: "awaiting" | "conflict" | "error" | "idle" | "landed" | "running";
2109
+ provider: string;
2110
+ harness: "claude-code" | "native";
2077
2111
  model?: string | undefined;
2078
2112
  account?: string | undefined;
2079
2113
  branch?: string | undefined;
@@ -2089,6 +2123,12 @@ export declare const sandboxContract: {
2089
2123
  todo?: string | undefined;
2090
2124
  } | undefined;
2091
2125
  startedAt?: number | undefined;
2126
+ updatedAt: number;
2127
+ attention: {
2128
+ plan: boolean;
2129
+ question: boolean;
2130
+ conflict: boolean;
2131
+ };
2092
2132
  turns?: number | undefined;
2093
2133
  toolUses?: number | undefined;
2094
2134
  diff?: {
@@ -2098,24 +2138,24 @@ export declare const sandboxContract: {
2098
2138
  } | undefined;
2099
2139
  }[];
2100
2140
  }, unknown, void>, import("@orpc/contract").AsyncIteratorClass<{
2101
- kind: "heartbeat";
2102
- } | {
2103
2141
  kind: "hello";
2104
2142
  workspaceId: string;
2105
2143
  } | {
2106
- kind: "reposChanged";
2107
- repos: string[];
2144
+ kind: "heartbeat";
2108
2145
  } | {
2109
2146
  kind: "workspaceChanged";
2110
2147
  paths: string[];
2148
+ } | {
2149
+ kind: "reposChanged";
2150
+ repos: string[];
2111
2151
  } | {
2112
2152
  kind: "presence";
2113
2153
  users: {
2114
2154
  clientId: string;
2115
2155
  email: string;
2116
- idle: boolean;
2117
2156
  name?: string | undefined;
2118
2157
  picture?: string | undefined;
2158
+ idle: boolean;
2119
2159
  view?: string | undefined;
2120
2160
  sessionId?: string | undefined;
2121
2161
  path?: string | undefined;
@@ -2124,17 +2164,11 @@ export declare const sandboxContract: {
2124
2164
  kind: "agents";
2125
2165
  agents: {
2126
2166
  id: string;
2127
- status: "error" | "idle" | "running" | "awaiting" | "landed" | "conflict";
2128
- provider: string;
2129
- harness: "native" | "claude-code";
2130
- updatedAt: number;
2131
- attention: {
2132
- plan: boolean;
2133
- question: boolean;
2134
- conflict: boolean;
2135
- };
2136
2167
  sessionId?: string | undefined;
2137
2168
  title?: string | undefined;
2169
+ status: "awaiting" | "conflict" | "error" | "idle" | "landed" | "running";
2170
+ provider: string;
2171
+ harness: "claude-code" | "native";
2138
2172
  model?: string | undefined;
2139
2173
  account?: string | undefined;
2140
2174
  branch?: string | undefined;
@@ -2150,6 +2184,12 @@ export declare const sandboxContract: {
2150
2184
  todo?: string | undefined;
2151
2185
  } | undefined;
2152
2186
  startedAt?: number | undefined;
2187
+ updatedAt: number;
2188
+ attention: {
2189
+ plan: boolean;
2190
+ question: boolean;
2191
+ conflict: boolean;
2192
+ };
2153
2193
  turns?: number | undefined;
2154
2194
  toolUses?: number | undefined;
2155
2195
  diff?: {
@@ -2192,10 +2232,10 @@ export declare const sandboxContract: {
2192
2232
  label: import("zod").ZodOptional<import("zod").ZodString>;
2193
2233
  kind: import("zod").ZodEnum<{
2194
2234
  agent: "agent";
2195
- shell: "shell";
2196
- panel: "panel";
2197
2235
  job: "job";
2236
+ panel: "panel";
2198
2237
  process: "process";
2238
+ shell: "shell";
2199
2239
  }>;
2200
2240
  running: import("zod").ZodBoolean;
2201
2241
  extensionId: import("zod").ZodOptional<import("zod").ZodString>;