@playcraft/common 0.1.59-beta → 0.1.60-beta

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 (45) hide show
  1. package/dist/cloud-workspace/runtime/batch-runs.d.ts +42 -7
  2. package/dist/cloud-workspace/runtime/batch-runs.d.ts.map +1 -1
  3. package/dist/cloud-workspace/runtime/batch-runs.js +2 -1
  4. package/dist/cloud-workspace/runtime/batch-runs.js.map +1 -1
  5. package/dist/cloud-workspace/runtime/execution-admission.d.ts +18 -2
  6. package/dist/cloud-workspace/runtime/execution-admission.d.ts.map +1 -1
  7. package/dist/cloud-workspace/runtime/execution-admission.js +6 -0
  8. package/dist/cloud-workspace/runtime/execution-admission.js.map +1 -1
  9. package/dist/cloud-workspace/runtime/index.d.ts +1 -0
  10. package/dist/cloud-workspace/runtime/index.d.ts.map +1 -1
  11. package/dist/cloud-workspace/runtime/index.js +1 -0
  12. package/dist/cloud-workspace/runtime/index.js.map +1 -1
  13. package/dist/cloud-workspace/runtime/operations.d.ts +47 -0
  14. package/dist/cloud-workspace/runtime/operations.d.ts.map +1 -1
  15. package/dist/cloud-workspace/runtime/operations.js +3 -1
  16. package/dist/cloud-workspace/runtime/operations.js.map +1 -1
  17. package/dist/cloud-workspace/runtime/platform-endpoints.d.ts +1 -0
  18. package/dist/cloud-workspace/runtime/platform-endpoints.d.ts.map +1 -1
  19. package/dist/cloud-workspace/runtime/platform-endpoints.js +1 -0
  20. package/dist/cloud-workspace/runtime/platform-endpoints.js.map +1 -1
  21. package/dist/cloud-workspace/runtime/remix-references.d.ts +138 -0
  22. package/dist/cloud-workspace/runtime/remix-references.d.ts.map +1 -1
  23. package/dist/cloud-workspace/runtime/remix-references.js +14 -0
  24. package/dist/cloud-workspace/runtime/remix-references.js.map +1 -1
  25. package/dist/cloud-workspace/runtime/scheduled-task-proposals.d.ts +581 -0
  26. package/dist/cloud-workspace/runtime/scheduled-task-proposals.d.ts.map +1 -0
  27. package/dist/cloud-workspace/runtime/scheduled-task-proposals.js +70 -0
  28. package/dist/cloud-workspace/runtime/scheduled-task-proposals.js.map +1 -0
  29. package/dist/cloud-workspace/runtime/scheduled-tasks.d.ts +5 -1
  30. package/dist/cloud-workspace/runtime/scheduled-tasks.d.ts.map +1 -1
  31. package/dist/cloud-workspace/runtime/scheduled-tasks.js +12 -0
  32. package/dist/cloud-workspace/runtime/scheduled-tasks.js.map +1 -1
  33. package/dist/cloud-workspace/runtime/workspace-notifications.d.ts +9 -0
  34. package/dist/cloud-workspace/runtime/workspace-notifications.d.ts.map +1 -1
  35. package/dist/cloud-workspace/runtime/workspace-notifications.js +54 -0
  36. package/dist/cloud-workspace/runtime/workspace-notifications.js.map +1 -1
  37. package/dist/platform-loop-control.d.ts +20 -0
  38. package/dist/platform-loop-control.d.ts.map +1 -0
  39. package/dist/platform-loop-control.js +96 -0
  40. package/dist/platform-loop-control.js.map +1 -0
  41. package/dist/platform-tasks.d.ts +151 -0
  42. package/dist/platform-tasks.d.ts.map +1 -0
  43. package/dist/platform-tasks.js +2 -0
  44. package/dist/platform-tasks.js.map +1 -0
  45. package/package.json +9 -1
@@ -0,0 +1,581 @@
1
+ import { z } from 'zod';
2
+ import { scheduledTaskConfigurationSchema, type ScheduledTaskConfiguration, type ScheduledTaskStatus } from './scheduled-tasks.js';
3
+ export declare const scheduledTaskProposalScopeSchema: z.ZodObject<{
4
+ workspaceId: z.ZodString;
5
+ directoryName: z.ZodString;
6
+ sessionId: z.ZodString;
7
+ }, z.core.$strict>;
8
+ export declare const scheduledTaskProposalSourceSchema: z.ZodObject<{
9
+ workspaceId: z.ZodString;
10
+ directoryName: z.ZodString;
11
+ sessionId: z.ZodString;
12
+ operationId: z.ZodString;
13
+ nativeTurnId: z.ZodString;
14
+ toolCallId: z.ZodString;
15
+ }, z.core.$strict>;
16
+ export declare const scheduledTaskProposalDefaultsSchema: z.ZodObject<{
17
+ modelConfigId: z.ZodString;
18
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
19
+ low: "low";
20
+ medium: "medium";
21
+ high: "high";
22
+ max: "max";
23
+ }>>;
24
+ permissionMode: z.ZodEnum<{
25
+ auto: "auto";
26
+ confirm: "confirm";
27
+ "read-only": "read-only";
28
+ }>;
29
+ }, z.core.$strict>;
30
+ export declare const scheduledTaskProposalChangesSchema: z.ZodObject<{
31
+ name: z.ZodOptional<z.ZodString>;
32
+ prompt: z.ZodOptional<z.ZodString>;
33
+ schedule: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
34
+ kind: z.ZodLiteral<"once">;
35
+ at: z.ZodString;
36
+ }, z.core.$strict>, z.ZodObject<{
37
+ kind: z.ZodLiteral<"daily">;
38
+ time: z.ZodString;
39
+ }, z.core.$strict>, z.ZodObject<{
40
+ kind: z.ZodLiteral<"weekly">;
41
+ time: z.ZodString;
42
+ daysOfWeek: z.ZodArray<z.ZodNumber>;
43
+ }, z.core.$strict>, z.ZodObject<{
44
+ kind: z.ZodLiteral<"monthly">;
45
+ dayOfMonth: z.ZodNumber;
46
+ time: z.ZodString;
47
+ }, z.core.$strict>, z.ZodObject<{
48
+ kind: z.ZodLiteral<"interval">;
49
+ everyMinutes: z.ZodNumber;
50
+ startAt: z.ZodString;
51
+ }, z.core.$strict>], "kind">>;
52
+ timeZone: z.ZodOptional<z.ZodString>;
53
+ modelConfigId: z.ZodOptional<z.ZodString>;
54
+ reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
55
+ low: "low";
56
+ medium: "medium";
57
+ high: "high";
58
+ max: "max";
59
+ }>>>;
60
+ permissionMode: z.ZodOptional<z.ZodEnum<{
61
+ auto: "auto";
62
+ confirm: "confirm";
63
+ "read-only": "read-only";
64
+ }>>;
65
+ notificationPolicy: z.ZodOptional<z.ZodEnum<{
66
+ important_updates: "important_updates";
67
+ every_run: "every_run";
68
+ action_required: "action_required";
69
+ off: "off";
70
+ }>>;
71
+ }, z.core.$strict>;
72
+ export declare const scheduledTaskProposalDraftSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
73
+ action: z.ZodLiteral<"create">;
74
+ configuration: z.ZodObject<{
75
+ name: z.ZodString;
76
+ prompt: z.ZodString;
77
+ schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
78
+ kind: z.ZodLiteral<"once">;
79
+ at: z.ZodString;
80
+ }, z.core.$strict>, z.ZodObject<{
81
+ kind: z.ZodLiteral<"daily">;
82
+ time: z.ZodString;
83
+ }, z.core.$strict>, z.ZodObject<{
84
+ kind: z.ZodLiteral<"weekly">;
85
+ time: z.ZodString;
86
+ daysOfWeek: z.ZodArray<z.ZodNumber>;
87
+ }, z.core.$strict>, z.ZodObject<{
88
+ kind: z.ZodLiteral<"monthly">;
89
+ dayOfMonth: z.ZodNumber;
90
+ time: z.ZodString;
91
+ }, z.core.$strict>, z.ZodObject<{
92
+ kind: z.ZodLiteral<"interval">;
93
+ everyMinutes: z.ZodNumber;
94
+ startAt: z.ZodString;
95
+ }, z.core.$strict>], "kind">;
96
+ timeZone: z.ZodString;
97
+ modelConfigId: z.ZodString;
98
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
99
+ low: "low";
100
+ medium: "medium";
101
+ high: "high";
102
+ max: "max";
103
+ }>>;
104
+ permissionMode: z.ZodDefault<z.ZodEnum<{
105
+ auto: "auto";
106
+ confirm: "confirm";
107
+ "read-only": "read-only";
108
+ }>>;
109
+ notificationPolicy: z.ZodDefault<z.ZodEnum<{
110
+ important_updates: "important_updates";
111
+ every_run: "every_run";
112
+ action_required: "action_required";
113
+ off: "off";
114
+ }>>;
115
+ }, z.core.$strict>;
116
+ mode: z.ZodDefault<z.ZodEnum<{
117
+ new_session: "new_session";
118
+ continue_session: "continue_session";
119
+ }>>;
120
+ }, z.core.$strict>, z.ZodObject<{
121
+ action: z.ZodLiteral<"update">;
122
+ taskId: z.ZodString;
123
+ baseVersion: z.ZodNumber;
124
+ changes: z.ZodObject<{
125
+ name: z.ZodOptional<z.ZodString>;
126
+ prompt: z.ZodOptional<z.ZodString>;
127
+ schedule: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
128
+ kind: z.ZodLiteral<"once">;
129
+ at: z.ZodString;
130
+ }, z.core.$strict>, z.ZodObject<{
131
+ kind: z.ZodLiteral<"daily">;
132
+ time: z.ZodString;
133
+ }, z.core.$strict>, z.ZodObject<{
134
+ kind: z.ZodLiteral<"weekly">;
135
+ time: z.ZodString;
136
+ daysOfWeek: z.ZodArray<z.ZodNumber>;
137
+ }, z.core.$strict>, z.ZodObject<{
138
+ kind: z.ZodLiteral<"monthly">;
139
+ dayOfMonth: z.ZodNumber;
140
+ time: z.ZodString;
141
+ }, z.core.$strict>, z.ZodObject<{
142
+ kind: z.ZodLiteral<"interval">;
143
+ everyMinutes: z.ZodNumber;
144
+ startAt: z.ZodString;
145
+ }, z.core.$strict>], "kind">>;
146
+ timeZone: z.ZodOptional<z.ZodString>;
147
+ modelConfigId: z.ZodOptional<z.ZodString>;
148
+ reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
149
+ low: "low";
150
+ medium: "medium";
151
+ high: "high";
152
+ max: "max";
153
+ }>>>;
154
+ permissionMode: z.ZodOptional<z.ZodEnum<{
155
+ auto: "auto";
156
+ confirm: "confirm";
157
+ "read-only": "read-only";
158
+ }>>;
159
+ notificationPolicy: z.ZodOptional<z.ZodEnum<{
160
+ important_updates: "important_updates";
161
+ every_run: "every_run";
162
+ action_required: "action_required";
163
+ off: "off";
164
+ }>>;
165
+ }, z.core.$strict>;
166
+ }, z.core.$strict>], "action">;
167
+ export declare const scheduledTaskProposalDraftJsonSchema: z.core.ZodStandardJSONSchemaPayload<z.ZodDiscriminatedUnion<[z.ZodObject<{
168
+ action: z.ZodLiteral<"create">;
169
+ configuration: z.ZodObject<{
170
+ name: z.ZodString;
171
+ prompt: z.ZodString;
172
+ schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
173
+ kind: z.ZodLiteral<"once">;
174
+ at: z.ZodString;
175
+ }, z.core.$strict>, z.ZodObject<{
176
+ kind: z.ZodLiteral<"daily">;
177
+ time: z.ZodString;
178
+ }, z.core.$strict>, z.ZodObject<{
179
+ kind: z.ZodLiteral<"weekly">;
180
+ time: z.ZodString;
181
+ daysOfWeek: z.ZodArray<z.ZodNumber>;
182
+ }, z.core.$strict>, z.ZodObject<{
183
+ kind: z.ZodLiteral<"monthly">;
184
+ dayOfMonth: z.ZodNumber;
185
+ time: z.ZodString;
186
+ }, z.core.$strict>, z.ZodObject<{
187
+ kind: z.ZodLiteral<"interval">;
188
+ everyMinutes: z.ZodNumber;
189
+ startAt: z.ZodString;
190
+ }, z.core.$strict>], "kind">;
191
+ timeZone: z.ZodString;
192
+ modelConfigId: z.ZodString;
193
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
194
+ low: "low";
195
+ medium: "medium";
196
+ high: "high";
197
+ max: "max";
198
+ }>>;
199
+ permissionMode: z.ZodDefault<z.ZodEnum<{
200
+ auto: "auto";
201
+ confirm: "confirm";
202
+ "read-only": "read-only";
203
+ }>>;
204
+ notificationPolicy: z.ZodDefault<z.ZodEnum<{
205
+ important_updates: "important_updates";
206
+ every_run: "every_run";
207
+ action_required: "action_required";
208
+ off: "off";
209
+ }>>;
210
+ }, z.core.$strict>;
211
+ mode: z.ZodDefault<z.ZodEnum<{
212
+ new_session: "new_session";
213
+ continue_session: "continue_session";
214
+ }>>;
215
+ }, z.core.$strict>, z.ZodObject<{
216
+ action: z.ZodLiteral<"update">;
217
+ taskId: z.ZodString;
218
+ baseVersion: z.ZodNumber;
219
+ changes: z.ZodObject<{
220
+ name: z.ZodOptional<z.ZodString>;
221
+ prompt: z.ZodOptional<z.ZodString>;
222
+ schedule: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
223
+ kind: z.ZodLiteral<"once">;
224
+ at: z.ZodString;
225
+ }, z.core.$strict>, z.ZodObject<{
226
+ kind: z.ZodLiteral<"daily">;
227
+ time: z.ZodString;
228
+ }, z.core.$strict>, z.ZodObject<{
229
+ kind: z.ZodLiteral<"weekly">;
230
+ time: z.ZodString;
231
+ daysOfWeek: z.ZodArray<z.ZodNumber>;
232
+ }, z.core.$strict>, z.ZodObject<{
233
+ kind: z.ZodLiteral<"monthly">;
234
+ dayOfMonth: z.ZodNumber;
235
+ time: z.ZodString;
236
+ }, z.core.$strict>, z.ZodObject<{
237
+ kind: z.ZodLiteral<"interval">;
238
+ everyMinutes: z.ZodNumber;
239
+ startAt: z.ZodString;
240
+ }, z.core.$strict>], "kind">>;
241
+ timeZone: z.ZodOptional<z.ZodString>;
242
+ modelConfigId: z.ZodOptional<z.ZodString>;
243
+ reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
244
+ low: "low";
245
+ medium: "medium";
246
+ high: "high";
247
+ max: "max";
248
+ }>>>;
249
+ permissionMode: z.ZodOptional<z.ZodEnum<{
250
+ auto: "auto";
251
+ confirm: "confirm";
252
+ "read-only": "read-only";
253
+ }>>;
254
+ notificationPolicy: z.ZodOptional<z.ZodEnum<{
255
+ important_updates: "important_updates";
256
+ every_run: "every_run";
257
+ action_required: "action_required";
258
+ off: "off";
259
+ }>>;
260
+ }, z.core.$strict>;
261
+ }, z.core.$strict>], "action">>;
262
+ export declare const scheduledTaskProposalInternalContextSchema: z.ZodObject<{
263
+ ownerId: z.ZodString;
264
+ environment: z.ZodString;
265
+ source: z.ZodObject<{
266
+ workspaceId: z.ZodString;
267
+ directoryName: z.ZodString;
268
+ sessionId: z.ZodString;
269
+ operationId: z.ZodString;
270
+ nativeTurnId: z.ZodString;
271
+ toolCallId: z.ZodString;
272
+ }, z.core.$strict>;
273
+ defaults: z.ZodObject<{
274
+ modelConfigId: z.ZodString;
275
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
276
+ low: "low";
277
+ medium: "medium";
278
+ high: "high";
279
+ max: "max";
280
+ }>>;
281
+ permissionMode: z.ZodEnum<{
282
+ auto: "auto";
283
+ confirm: "confirm";
284
+ "read-only": "read-only";
285
+ }>;
286
+ }, z.core.$strict>;
287
+ }, z.core.$strict>;
288
+ export declare const scheduledTaskProposalPrepareSchema: z.ZodObject<{
289
+ ownerId: z.ZodString;
290
+ environment: z.ZodString;
291
+ source: z.ZodObject<{
292
+ workspaceId: z.ZodString;
293
+ directoryName: z.ZodString;
294
+ sessionId: z.ZodString;
295
+ operationId: z.ZodString;
296
+ nativeTurnId: z.ZodString;
297
+ toolCallId: z.ZodString;
298
+ }, z.core.$strict>;
299
+ defaults: z.ZodObject<{
300
+ modelConfigId: z.ZodString;
301
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
302
+ low: "low";
303
+ medium: "medium";
304
+ high: "high";
305
+ max: "max";
306
+ }>>;
307
+ permissionMode: z.ZodEnum<{
308
+ auto: "auto";
309
+ confirm: "confirm";
310
+ "read-only": "read-only";
311
+ }>;
312
+ }, z.core.$strict>;
313
+ draft: z.ZodDiscriminatedUnion<[z.ZodObject<{
314
+ action: z.ZodLiteral<"create">;
315
+ configuration: z.ZodObject<{
316
+ name: z.ZodString;
317
+ prompt: z.ZodString;
318
+ schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
319
+ kind: z.ZodLiteral<"once">;
320
+ at: z.ZodString;
321
+ }, z.core.$strict>, z.ZodObject<{
322
+ kind: z.ZodLiteral<"daily">;
323
+ time: z.ZodString;
324
+ }, z.core.$strict>, z.ZodObject<{
325
+ kind: z.ZodLiteral<"weekly">;
326
+ time: z.ZodString;
327
+ daysOfWeek: z.ZodArray<z.ZodNumber>;
328
+ }, z.core.$strict>, z.ZodObject<{
329
+ kind: z.ZodLiteral<"monthly">;
330
+ dayOfMonth: z.ZodNumber;
331
+ time: z.ZodString;
332
+ }, z.core.$strict>, z.ZodObject<{
333
+ kind: z.ZodLiteral<"interval">;
334
+ everyMinutes: z.ZodNumber;
335
+ startAt: z.ZodString;
336
+ }, z.core.$strict>], "kind">;
337
+ timeZone: z.ZodString;
338
+ modelConfigId: z.ZodString;
339
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
340
+ low: "low";
341
+ medium: "medium";
342
+ high: "high";
343
+ max: "max";
344
+ }>>;
345
+ permissionMode: z.ZodDefault<z.ZodEnum<{
346
+ auto: "auto";
347
+ confirm: "confirm";
348
+ "read-only": "read-only";
349
+ }>>;
350
+ notificationPolicy: z.ZodDefault<z.ZodEnum<{
351
+ important_updates: "important_updates";
352
+ every_run: "every_run";
353
+ action_required: "action_required";
354
+ off: "off";
355
+ }>>;
356
+ }, z.core.$strict>;
357
+ mode: z.ZodDefault<z.ZodEnum<{
358
+ new_session: "new_session";
359
+ continue_session: "continue_session";
360
+ }>>;
361
+ }, z.core.$strict>, z.ZodObject<{
362
+ action: z.ZodLiteral<"update">;
363
+ taskId: z.ZodString;
364
+ baseVersion: z.ZodNumber;
365
+ changes: z.ZodObject<{
366
+ name: z.ZodOptional<z.ZodString>;
367
+ prompt: z.ZodOptional<z.ZodString>;
368
+ schedule: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
369
+ kind: z.ZodLiteral<"once">;
370
+ at: z.ZodString;
371
+ }, z.core.$strict>, z.ZodObject<{
372
+ kind: z.ZodLiteral<"daily">;
373
+ time: z.ZodString;
374
+ }, z.core.$strict>, z.ZodObject<{
375
+ kind: z.ZodLiteral<"weekly">;
376
+ time: z.ZodString;
377
+ daysOfWeek: z.ZodArray<z.ZodNumber>;
378
+ }, z.core.$strict>, z.ZodObject<{
379
+ kind: z.ZodLiteral<"monthly">;
380
+ dayOfMonth: z.ZodNumber;
381
+ time: z.ZodString;
382
+ }, z.core.$strict>, z.ZodObject<{
383
+ kind: z.ZodLiteral<"interval">;
384
+ everyMinutes: z.ZodNumber;
385
+ startAt: z.ZodString;
386
+ }, z.core.$strict>], "kind">>;
387
+ timeZone: z.ZodOptional<z.ZodString>;
388
+ modelConfigId: z.ZodOptional<z.ZodString>;
389
+ reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
390
+ low: "low";
391
+ medium: "medium";
392
+ high: "high";
393
+ max: "max";
394
+ }>>>;
395
+ permissionMode: z.ZodOptional<z.ZodEnum<{
396
+ auto: "auto";
397
+ confirm: "confirm";
398
+ "read-only": "read-only";
399
+ }>>;
400
+ notificationPolicy: z.ZodOptional<z.ZodEnum<{
401
+ important_updates: "important_updates";
402
+ every_run: "every_run";
403
+ action_required: "action_required";
404
+ off: "off";
405
+ }>>;
406
+ }, z.core.$strict>;
407
+ }, z.core.$strict>], "action">;
408
+ supersedesProposalId: z.ZodOptional<z.ZodString>;
409
+ }, z.core.$strict>;
410
+ export declare const scheduledTaskProposalDecisionSchema: z.ZodObject<{
411
+ digest: z.ZodString;
412
+ clientRequestId: z.ZodString;
413
+ }, z.core.$strict>;
414
+ export declare const scheduledTaskProposalReplaceSchema: z.ZodObject<{
415
+ digest: z.ZodString;
416
+ clientRequestId: z.ZodString;
417
+ draft: z.ZodDiscriminatedUnion<[z.ZodObject<{
418
+ action: z.ZodLiteral<"create">;
419
+ configuration: z.ZodObject<{
420
+ name: z.ZodString;
421
+ prompt: z.ZodString;
422
+ schedule: z.ZodDiscriminatedUnion<[z.ZodObject<{
423
+ kind: z.ZodLiteral<"once">;
424
+ at: z.ZodString;
425
+ }, z.core.$strict>, z.ZodObject<{
426
+ kind: z.ZodLiteral<"daily">;
427
+ time: z.ZodString;
428
+ }, z.core.$strict>, z.ZodObject<{
429
+ kind: z.ZodLiteral<"weekly">;
430
+ time: z.ZodString;
431
+ daysOfWeek: z.ZodArray<z.ZodNumber>;
432
+ }, z.core.$strict>, z.ZodObject<{
433
+ kind: z.ZodLiteral<"monthly">;
434
+ dayOfMonth: z.ZodNumber;
435
+ time: z.ZodString;
436
+ }, z.core.$strict>, z.ZodObject<{
437
+ kind: z.ZodLiteral<"interval">;
438
+ everyMinutes: z.ZodNumber;
439
+ startAt: z.ZodString;
440
+ }, z.core.$strict>], "kind">;
441
+ timeZone: z.ZodString;
442
+ modelConfigId: z.ZodString;
443
+ reasoningEffort: z.ZodOptional<z.ZodEnum<{
444
+ low: "low";
445
+ medium: "medium";
446
+ high: "high";
447
+ max: "max";
448
+ }>>;
449
+ permissionMode: z.ZodDefault<z.ZodEnum<{
450
+ auto: "auto";
451
+ confirm: "confirm";
452
+ "read-only": "read-only";
453
+ }>>;
454
+ notificationPolicy: z.ZodDefault<z.ZodEnum<{
455
+ important_updates: "important_updates";
456
+ every_run: "every_run";
457
+ action_required: "action_required";
458
+ off: "off";
459
+ }>>;
460
+ }, z.core.$strict>;
461
+ mode: z.ZodDefault<z.ZodEnum<{
462
+ new_session: "new_session";
463
+ continue_session: "continue_session";
464
+ }>>;
465
+ }, z.core.$strict>, z.ZodObject<{
466
+ action: z.ZodLiteral<"update">;
467
+ taskId: z.ZodString;
468
+ baseVersion: z.ZodNumber;
469
+ changes: z.ZodObject<{
470
+ name: z.ZodOptional<z.ZodString>;
471
+ prompt: z.ZodOptional<z.ZodString>;
472
+ schedule: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
473
+ kind: z.ZodLiteral<"once">;
474
+ at: z.ZodString;
475
+ }, z.core.$strict>, z.ZodObject<{
476
+ kind: z.ZodLiteral<"daily">;
477
+ time: z.ZodString;
478
+ }, z.core.$strict>, z.ZodObject<{
479
+ kind: z.ZodLiteral<"weekly">;
480
+ time: z.ZodString;
481
+ daysOfWeek: z.ZodArray<z.ZodNumber>;
482
+ }, z.core.$strict>, z.ZodObject<{
483
+ kind: z.ZodLiteral<"monthly">;
484
+ dayOfMonth: z.ZodNumber;
485
+ time: z.ZodString;
486
+ }, z.core.$strict>, z.ZodObject<{
487
+ kind: z.ZodLiteral<"interval">;
488
+ everyMinutes: z.ZodNumber;
489
+ startAt: z.ZodString;
490
+ }, z.core.$strict>], "kind">>;
491
+ timeZone: z.ZodOptional<z.ZodString>;
492
+ modelConfigId: z.ZodOptional<z.ZodString>;
493
+ reasoningEffort: z.ZodOptional<z.ZodNullable<z.ZodEnum<{
494
+ low: "low";
495
+ medium: "medium";
496
+ high: "high";
497
+ max: "max";
498
+ }>>>;
499
+ permissionMode: z.ZodOptional<z.ZodEnum<{
500
+ auto: "auto";
501
+ confirm: "confirm";
502
+ "read-only": "read-only";
503
+ }>>;
504
+ notificationPolicy: z.ZodOptional<z.ZodEnum<{
505
+ important_updates: "important_updates";
506
+ every_run: "every_run";
507
+ action_required: "action_required";
508
+ off: "off";
509
+ }>>;
510
+ }, z.core.$strict>;
511
+ }, z.core.$strict>], "action">;
512
+ }, z.core.$strict>;
513
+ export type ScheduledTaskProposalScope = z.infer<typeof scheduledTaskProposalScopeSchema>;
514
+ export type ScheduledTaskProposalSource = z.infer<typeof scheduledTaskProposalSourceSchema>;
515
+ export type ScheduledTaskProposalDefaults = z.infer<typeof scheduledTaskProposalDefaultsSchema>;
516
+ export type ScheduledTaskProposalDraft = z.infer<typeof scheduledTaskProposalDraftSchema>;
517
+ export type ScheduledTaskProposalPrepare = z.infer<typeof scheduledTaskProposalPrepareSchema>;
518
+ export type ScheduledTaskProposalDecision = z.infer<typeof scheduledTaskProposalDecisionSchema>;
519
+ export type ScheduledTaskProposalReplace = z.infer<typeof scheduledTaskProposalReplaceSchema>;
520
+ export type ScheduledTaskProposalStatus = 'pending' | 'applied' | 'rejected' | 'superseded' | 'expired';
521
+ export type ScheduledTaskProposalPreview = {
522
+ serverTime: string;
523
+ timeZone: string;
524
+ nextRuns: string[];
525
+ capabilities: {
526
+ minIntervalMinutes: number;
527
+ };
528
+ };
529
+ export type ScheduledTaskProposal = {
530
+ id: string;
531
+ userId: string;
532
+ environment: string;
533
+ source: ScheduledTaskProposalSource;
534
+ action: 'create' | 'update';
535
+ taskId: string | null;
536
+ baseVersion: number | null;
537
+ configuration: ScheduledTaskConfiguration;
538
+ previousConfiguration: ScheduledTaskConfiguration | null;
539
+ digest: string;
540
+ status: ScheduledTaskProposalStatus;
541
+ expiresAt: string;
542
+ createdAt: string;
543
+ appliedAt: string | null;
544
+ appliedTaskId: string | null;
545
+ result: {
546
+ taskId: string;
547
+ taskVersion: number;
548
+ } | null;
549
+ preview: ScheduledTaskProposalPreview;
550
+ };
551
+ export type ScheduledTaskProposalRelatedTask = ScheduledTaskConfiguration & {
552
+ id: string;
553
+ version: number;
554
+ status: ScheduledTaskStatus;
555
+ nextRunAt: string | null;
556
+ linkedBy: Array<'origin' | 'binding' | 'run'>;
557
+ };
558
+ export type ScheduledTaskProposalContext = {
559
+ enabled: boolean;
560
+ serverTime: string;
561
+ timeZone: string;
562
+ defaults: ScheduledTaskProposalDefaults;
563
+ capabilities: {
564
+ minIntervalMinutes: number;
565
+ confirmEnabled: boolean;
566
+ };
567
+ tasks: ScheduledTaskProposalRelatedTask[];
568
+ proposals: ScheduledTaskProposal[];
569
+ };
570
+ export declare const scheduledTaskProposalPreviewSchema: z.ZodObject<{
571
+ serverTime: z.ZodString;
572
+ timeZone: z.ZodString;
573
+ nextRuns: z.ZodArray<z.ZodString>;
574
+ capabilities: z.ZodObject<{
575
+ minIntervalMinutes: z.ZodNumber;
576
+ }, z.core.$strict>;
577
+ }, z.core.$strict>;
578
+ export declare const scheduledTaskProposalSchema: z.ZodType<ScheduledTaskProposal>;
579
+ export declare const scheduledTaskProposalContextSchema: z.ZodType<ScheduledTaskProposalContext>;
580
+ export { scheduledTaskConfigurationSchema as scheduledTaskProposalConfigurationSchema };
581
+ //# sourceMappingURL=scheduled-task-proposals.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduled-task-proposals.d.ts","sourceRoot":"","sources":["../../../src/cloud-workspace/runtime/scheduled-task-proposals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AAIxB,OAAO,EAAE,gCAAgC,EACV,KAAK,0BAA0B,EAAE,KAAK,mBAAmB,EAAE,MAAM,sBAAsB,CAAC;AAGvH,eAAO,MAAM,gCAAgC;;;;kBAElC,CAAC;AACZ,eAAO,MAAM,iCAAiC;;;;;;;kBAEnC,CAAC;AACZ,eAAO,MAAM,mCAAmC;;;;;;;;;;;;;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AC;AACF,MAAM,MAAM,gCAAgC,GAAG,0BAA0B,GAAG;IAC1E,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,CAAC;IAAC,MAAM,EAAE,mBAAmB,CAAC;IAAC,SAAS,EAAE,MAAM,GAAG,IAAI,CAAC;IACnF,QAAQ,EAAE,KAAK,CAAC,QAAQ,GAAG,SAAS,GAAG,KAAK,CAAC,CAAC;CAC/C,CAAC;AACF,MAAM,MAAM,4BAA4B,GAAG;IACzC,OAAO,EAAE,OAAO,CAAC;IAAC,UAAU,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,MAAM,CAAC;IAAC,QAAQ,EAAE,6BAA6B,CAAC;IAChG,YAAY,EAAE;QAAE,kBAAkB,EAAE,MAAM,CAAC;QAAC,cAAc,EAAE,OAAO,CAAA;KAAE,CAAC;IAAC,KAAK,EAAE,gCAAgC,EAAE,CAAC;IAAC,SAAS,EAAE,qBAAqB,EAAE,CAAC;CACtJ,CAAC;AAEF,eAAO,MAAM,kCAAkC;;;;;;;kBAGpC,CAAC;AACZ,eAAO,MAAM,2BAA2B,EAAE,CAAC,CAAC,OAAO,CAAC,qBAAqB,CAQ9D,CAAC;AACZ,eAAO,MAAM,kCAAkC,EAAE,CAAC,CAAC,OAAO,CAAC,4BAA4B,CAOrF,CAAC;AAEH,OAAO,EAAE,gCAAgC,IAAI,wCAAwC,EAAE,CAAC"}
@@ -0,0 +1,70 @@
1
+ import { z } from 'zod';
2
+ import { reasoningEffortSchema } from './operations.js';
3
+ import { workspacePermissionModeSchema } from './permissions.js';
4
+ import { workspaceDirectoryNameSchema } from './workspace-directories.js';
5
+ import { scheduledTaskConfigurationSchema, scheduledTaskNotificationPolicySchema, scheduledTaskScheduleSchema, scheduledTaskTimeZoneSchema } from './scheduled-tasks.js';
6
+ const identifier = z.string().trim().min(1).max(128);
7
+ export const scheduledTaskProposalScopeSchema = z.object({
8
+ workspaceId: z.string().uuid(), directoryName: workspaceDirectoryNameSchema, sessionId: identifier,
9
+ }).strict();
10
+ export const scheduledTaskProposalSourceSchema = scheduledTaskProposalScopeSchema.extend({
11
+ operationId: identifier, nativeTurnId: identifier, toolCallId: identifier,
12
+ }).strict();
13
+ export const scheduledTaskProposalDefaultsSchema = z.object({
14
+ modelConfigId: identifier, reasoningEffort: reasoningEffortSchema.optional(), permissionMode: workspacePermissionModeSchema,
15
+ }).strict();
16
+ const editable = {
17
+ name: z.string().trim().min(1).max(160), prompt: z.string().trim().min(1).max(32_000),
18
+ schedule: scheduledTaskScheduleSchema, timeZone: scheduledTaskTimeZoneSchema, modelConfigId: identifier,
19
+ reasoningEffort: reasoningEffortSchema.optional(), permissionMode: workspacePermissionModeSchema.default('confirm'),
20
+ notificationPolicy: scheduledTaskNotificationPolicySchema.default('important_updates'),
21
+ };
22
+ export const scheduledTaskProposalChangesSchema = z.object({
23
+ name: editable.name.optional(), prompt: editable.prompt.optional(), schedule: editable.schedule.optional(),
24
+ timeZone: editable.timeZone.optional(), modelConfigId: editable.modelConfigId.optional(),
25
+ reasoningEffort: reasoningEffortSchema.nullable().optional(), permissionMode: workspacePermissionModeSchema.optional(),
26
+ notificationPolicy: scheduledTaskNotificationPolicySchema.optional(),
27
+ }).strict().refine(value => Object.keys(value).length > 0, 'scheduled_task_proposal_empty_changes');
28
+ export const scheduledTaskProposalDraftSchema = z.discriminatedUnion('action', [
29
+ z.object({ action: z.literal('create'), configuration: z.object(editable).strict(),
30
+ mode: z.enum(['new_session', 'continue_session']).default('new_session') }).strict(),
31
+ z.object({ action: z.literal('update'), taskId: z.string().uuid(), baseVersion: z.number().int().positive(),
32
+ changes: scheduledTaskProposalChangesSchema }).strict(),
33
+ ]);
34
+ export const scheduledTaskProposalDraftJsonSchema = z.toJSONSchema(scheduledTaskProposalDraftSchema, { io: 'input' });
35
+ export const scheduledTaskProposalInternalContextSchema = z.object({
36
+ ownerId: z.string().min(1).max(256), environment: z.string().min(1).max(64),
37
+ source: scheduledTaskProposalSourceSchema, defaults: scheduledTaskProposalDefaultsSchema,
38
+ }).strict();
39
+ export const scheduledTaskProposalPrepareSchema = scheduledTaskProposalInternalContextSchema.extend({
40
+ draft: scheduledTaskProposalDraftSchema, supersedesProposalId: z.string().uuid().optional(),
41
+ }).strict();
42
+ export const scheduledTaskProposalDecisionSchema = z.object({
43
+ digest: z.string().regex(/^[0-9a-f]{64}$/), clientRequestId: identifier,
44
+ }).strict();
45
+ export const scheduledTaskProposalReplaceSchema = scheduledTaskProposalDecisionSchema.extend({
46
+ draft: scheduledTaskProposalDraftSchema,
47
+ }).strict();
48
+ export const scheduledTaskProposalPreviewSchema = z.object({
49
+ serverTime: z.string().datetime(), timeZone: scheduledTaskTimeZoneSchema,
50
+ nextRuns: z.array(z.string().datetime()), capabilities: z.object({ minIntervalMinutes: z.number().positive() }).strict(),
51
+ }).strict();
52
+ export const scheduledTaskProposalSchema = z.object({
53
+ id: z.string().uuid(), userId: z.string(), environment: z.string(), source: scheduledTaskProposalSourceSchema,
54
+ action: z.enum(['create', 'update']), taskId: z.string().uuid().nullable(), baseVersion: z.number().int().positive().nullable(),
55
+ configuration: scheduledTaskConfigurationSchema, previousConfiguration: scheduledTaskConfigurationSchema.nullable(),
56
+ digest: z.string().regex(/^[0-9a-f]{64}$/), status: z.enum(['pending', 'applied', 'rejected', 'superseded', 'expired']),
57
+ expiresAt: z.string().datetime(), createdAt: z.string().datetime(), appliedAt: z.string().datetime().nullable(),
58
+ appliedTaskId: z.string().uuid().nullable(), result: z.object({ taskId: z.string().uuid(), taskVersion: z.number().int().positive() }).strict().nullable(),
59
+ preview: scheduledTaskProposalPreviewSchema,
60
+ }).strict();
61
+ export const scheduledTaskProposalContextSchema = z.object({
62
+ enabled: z.boolean(), serverTime: z.string().datetime(), timeZone: scheduledTaskTimeZoneSchema,
63
+ defaults: scheduledTaskProposalDefaultsSchema, capabilities: z.object({ minIntervalMinutes: z.number().positive(), confirmEnabled: z.boolean() }).strict(),
64
+ tasks: z.array(scheduledTaskConfigurationSchema.safeExtend({ id: z.string().uuid(), version: z.number().int().positive(),
65
+ status: z.enum(['active', 'paused', 'completed']), nextRunAt: z.string().datetime().nullable(),
66
+ linkedBy: z.array(z.enum(['origin', 'binding', 'run'])),
67
+ })), proposals: z.array(scheduledTaskProposalSchema),
68
+ });
69
+ export { scheduledTaskConfigurationSchema as scheduledTaskProposalConfigurationSchema };
70
+ //# sourceMappingURL=scheduled-task-proposals.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"scheduled-task-proposals.js","sourceRoot":"","sources":["../../../src/cloud-workspace/runtime/scheduled-task-proposals.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAE,MAAM,KAAK,CAAC;AACxB,OAAO,EAAE,qBAAqB,EAAE,MAAM,iBAAiB,CAAC;AACxD,OAAO,EAAE,6BAA6B,EAAE,MAAM,kBAAkB,CAAC;AACjE,OAAO,EAAE,4BAA4B,EAAE,MAAM,4BAA4B,CAAC;AAC1E,OAAO,EAAE,gCAAgC,EAAE,qCAAqC,EAAE,2BAA2B,EAC3G,2BAA2B,EAA6D,MAAM,sBAAsB,CAAC;AAEvH,MAAM,UAAU,GAAG,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,CAAC,GAAG,CAAC,CAAC,CAAC,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;AACrD,MAAM,CAAC,MAAM,gCAAgC,GAAG,CAAC,CAAC,MAAM,CAAC;IACvD,WAAW,EAAE,CAAC,CAAC,MAAM,EAAE,CAAC,IAAI,EAAE,EAAE,aAAa,EAAE,4BAA4B,EAAE,SAAS,EAAE,UAAU;CACnG,CAAC,CAAC,MAAM,EAAE,CAAC;AACZ,MAAM,CAAC,MAAM,iCAAiC,GAAG,gCAAgC,CAAC,MAAM,CAAC;IACvF,WAAW,EAAE,UAAU,EAAE,YAAY,EAAE,UAAU,EAAE,UAAU,EAAE,UAAU;CAC1E,CAAC,CAAC,MAAM,EAAE,CAAC;AACZ,MAAM,CAAC,MAAM,mCA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