@sentry/junior 0.233.0 → 0.234.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 (53) hide show
  1. package/dist/{agent-hooks-DATy_Hnt.js → agent-hooks-BcH6E48y.js} +6 -6
  2. package/dist/{agent-runner-BKOtZjez.js → agent-runner-DUkGlK89.js} +221 -766
  3. package/dist/api/schema.d.ts +463 -2
  4. package/dist/api/schema.js +3 -3
  5. package/dist/api.js +229 -18
  6. package/dist/app.js +30 -20
  7. package/dist/{briefs-ClOTHmQ-.js → briefs-lyAQbDxJ.js} +2 -2
  8. package/dist/{catalog-runtime-xFtmw3oA.js → catalog-runtime-BSgsPVnr.js} +1 -1
  9. package/dist/{checkpoint-zkEB448J.js → checkpoint-BNfXlq_1.js} +6 -6
  10. package/dist/cli/chat.js +13 -13
  11. package/dist/cli/check.js +3 -3
  12. package/dist/cli/main.js +1 -1
  13. package/dist/cli/plugins.js +3 -3
  14. package/dist/cli/snapshot-create.js +3 -3
  15. package/dist/cli/upgrade.js +3 -3
  16. package/dist/{client-CJUZHY9Y.js → client-BX5lJRqW.js} +2 -2
  17. package/dist/{config-XtycpE-i.js → config-DuCzUoCo.js} +2 -2
  18. package/dist/{conversation-privacy-B30pEcsR.js → conversation-privacy-CSxvdSoV.js} +1 -1
  19. package/dist/{credential-sync-vufd6gwK.js → credential-sync-BO4DfH9a.js} +13 -13
  20. package/dist/{executor-BGDb_cM-.js → executor--jWf-Nnm.js} +1 -1
  21. package/dist/{images-zuEwjVKU.js → images-BaL19wFC.js} +2 -2
  22. package/dist/instrumentation.js +2 -2
  23. package/dist/{job-queue-C5JaRRcE.js → job-queue-cwHVOwVZ.js} +1 -1
  24. package/dist/{logging-BS563NYn.js → logging-Cox1Mgcv.js} +1 -1
  25. package/dist/nitro.js +3 -3
  26. package/dist/{oauth-authorization-DF2dSmNh.js → oauth-authorization-CC8a1JKP.js} +1 -1
  27. package/dist/{oauth-callback-server-CW9COQ9L.js → oauth-callback-server-Z7QSt416.js} +2 -2
  28. package/dist/{pending-auth-8Kmti8S3.js → pending-auth-DQhC3eSR.js} +1 -1
  29. package/dist/{profile-C4_njQYA.js → profile-BdApelHS.js} +4 -4
  30. package/dist/{registry-BhiLWAY6.js → registry-DiY6B8CN.js} +1 -1
  31. package/dist/{resolve-ZDwJ6a3N.js → resolve-VpJoiDpc.js} +2 -2
  32. package/dist/{runner-D1xeORYM.js → runner-BIMegnPE.js} +8 -8
  33. package/dist/{sandbox-egress-signals-Dx1PzQpy.js → sandbox-egress-signals-Cbtxe492.js} +1 -1
  34. package/dist/{schema-DuGfOm4u.js → schema-CxwnlTDN.js} +3 -116
  35. package/dist/{skills-CN-ye6on.js → skills-WttpPJUy.js} +2 -2
  36. package/dist/{spawn-B8KYOBcU.js → spawn-DhfMKt4y.js} +2 -2
  37. package/dist/{task-queue-DPaZtxld.js → task-queue-CZqUNJD0.js} +3 -3
  38. package/dist/{task-runner-D23tSETM.js → task-runner-BZaqoUCT.js} +15 -12
  39. package/dist/{thread-state-BbxSiDa9.js → thread-state-8tXZhu0y.js} +5 -5
  40. package/dist/{turn-failure-response-c8irQDMB.js → turn-failure-response-DFJ9L9NQ.js} +7 -7
  41. package/dist/{turn-lifecycle-DSVG3u_p.js → turn-lifecycle-WbpTUQ_r.js} +1 -1
  42. package/dist/{turn-session-routing-B2hNxu_N.js → turn-session-routing--EhI76rH.js} +1 -1
  43. package/dist/types-Du-HbEun.js +621 -0
  44. package/dist/{validation-BrLB5qbC.js → validation-0F9IgG3b.js} +1 -1
  45. package/dist/{version-B2rspCmP.js → version-A7-RRBOE.js} +1 -1
  46. package/dist/version.js +1 -1
  47. package/dist/{web-authorization-CVSTvY_D.js → web-authorization-BJggXofy.js} +6 -6
  48. package/dist/{web-input-zUQoZMZw.js → web-input-B-siN5Dr.js} +210 -162
  49. package/dist/web-message-id-CVVCTWUb.js +464 -0
  50. package/dist/{work-BXbJVOZI.js → work-CNc0ejGG.js} +7 -7
  51. package/dist/{worker-ClkQ9S9C.js → worker-BHbqpUAu.js} +5 -5
  52. package/package.json +4 -4
  53. package/dist/web-message-id-xPI_EFSC.js +0 -239
@@ -3195,8 +3195,13 @@ export declare const automationRunWindowsSchema: z.ZodObject<{
3195
3195
  90: z.ZodNumber;
3196
3196
  }, z.core.$strict>;
3197
3197
  export declare const scheduledAutomationSummarySchema: z.ZodObject<{
3198
+ credentialMode: z.ZodEnum<{
3199
+ system: "system";
3200
+ creator: "creator";
3201
+ }>;
3198
3202
  createdAt: z.ZodString;
3199
3203
  createdBy: z.ZodString;
3204
+ createdByAvatarUrl: z.ZodOptional<z.ZodString>;
3200
3205
  createdByEmail: z.ZodOptional<z.ZodString>;
3201
3206
  destination: z.ZodObject<{
3202
3207
  channelId: z.ZodString;
@@ -3211,6 +3216,11 @@ export declare const scheduledAutomationSummarySchema: z.ZodObject<{
3211
3216
  instruction: z.ZodString;
3212
3217
  lastConversationId: z.ZodOptional<z.ZodString>;
3213
3218
  lastRunAt: z.ZodOptional<z.ZodString>;
3219
+ lastRunStatus: z.ZodOptional<z.ZodEnum<{
3220
+ failed: "failed";
3221
+ blocked: "blocked";
3222
+ completed: "completed";
3223
+ }>>;
3214
3224
  ownedByViewer: z.ZodBoolean;
3215
3225
  runs: z.ZodObject<{
3216
3226
  1: z.ZodNumber;
@@ -3232,15 +3242,23 @@ export declare const scheduledAutomationSummarySchema: z.ZodObject<{
3232
3242
  kind: z.ZodLiteral<"scheduled">;
3233
3243
  nextRunAt: z.ZodOptional<z.ZodString>;
3234
3244
  schedule: z.ZodString;
3245
+ timezone: z.ZodString;
3246
+ statusReason: z.ZodOptional<z.ZodString>;
3235
3247
  status: z.ZodEnum<{
3248
+ paused: "paused";
3236
3249
  blocked: "blocked";
3237
3250
  completed: "completed";
3238
3251
  active: "active";
3239
3252
  }>;
3240
3253
  }, z.core.$strict>;
3241
3254
  export declare const eventAutomationSummarySchema: z.ZodObject<{
3255
+ credentialMode: z.ZodEnum<{
3256
+ system: "system";
3257
+ creator: "creator";
3258
+ }>;
3242
3259
  createdAt: z.ZodString;
3243
3260
  createdBy: z.ZodString;
3261
+ createdByAvatarUrl: z.ZodOptional<z.ZodString>;
3244
3262
  createdByEmail: z.ZodOptional<z.ZodString>;
3245
3263
  destination: z.ZodObject<{
3246
3264
  channelId: z.ZodString;
@@ -3255,6 +3273,11 @@ export declare const eventAutomationSummarySchema: z.ZodObject<{
3255
3273
  instruction: z.ZodString;
3256
3274
  lastConversationId: z.ZodOptional<z.ZodString>;
3257
3275
  lastRunAt: z.ZodOptional<z.ZodString>;
3276
+ lastRunStatus: z.ZodOptional<z.ZodEnum<{
3277
+ failed: "failed";
3278
+ blocked: "blocked";
3279
+ completed: "completed";
3280
+ }>>;
3258
3281
  ownedByViewer: z.ZodBoolean;
3259
3282
  runs: z.ZodObject<{
3260
3283
  1: z.ZodNumber;
@@ -3274,14 +3297,24 @@ export declare const eventAutomationSummarySchema: z.ZodObject<{
3274
3297
  title: z.ZodString;
3275
3298
  totalRuns: z.ZodNumber;
3276
3299
  events: z.ZodArray<z.ZodString>;
3300
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
3277
3301
  kind: z.ZodLiteral<"event">;
3278
3302
  resource: z.ZodString;
3279
3303
  source: z.ZodString;
3280
3304
  triggerAvailable: z.ZodBoolean;
3305
+ status: z.ZodEnum<{
3306
+ paused: "paused";
3307
+ active: "active";
3308
+ }>;
3281
3309
  }, z.core.$strict>;
3282
3310
  export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3311
+ credentialMode: z.ZodEnum<{
3312
+ system: "system";
3313
+ creator: "creator";
3314
+ }>;
3283
3315
  createdAt: z.ZodString;
3284
3316
  createdBy: z.ZodString;
3317
+ createdByAvatarUrl: z.ZodOptional<z.ZodString>;
3285
3318
  createdByEmail: z.ZodOptional<z.ZodString>;
3286
3319
  destination: z.ZodObject<{
3287
3320
  channelId: z.ZodString;
@@ -3296,6 +3329,11 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
3296
3329
  instruction: z.ZodString;
3297
3330
  lastConversationId: z.ZodOptional<z.ZodString>;
3298
3331
  lastRunAt: z.ZodOptional<z.ZodString>;
3332
+ lastRunStatus: z.ZodOptional<z.ZodEnum<{
3333
+ failed: "failed";
3334
+ blocked: "blocked";
3335
+ completed: "completed";
3336
+ }>>;
3299
3337
  ownedByViewer: z.ZodBoolean;
3300
3338
  runs: z.ZodObject<{
3301
3339
  1: z.ZodNumber;
@@ -3317,14 +3355,22 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
3317
3355
  kind: z.ZodLiteral<"scheduled">;
3318
3356
  nextRunAt: z.ZodOptional<z.ZodString>;
3319
3357
  schedule: z.ZodString;
3358
+ timezone: z.ZodString;
3359
+ statusReason: z.ZodOptional<z.ZodString>;
3320
3360
  status: z.ZodEnum<{
3361
+ paused: "paused";
3321
3362
  blocked: "blocked";
3322
3363
  completed: "completed";
3323
3364
  active: "active";
3324
3365
  }>;
3325
3366
  }, z.core.$strict>, z.ZodObject<{
3367
+ credentialMode: z.ZodEnum<{
3368
+ system: "system";
3369
+ creator: "creator";
3370
+ }>;
3326
3371
  createdAt: z.ZodString;
3327
3372
  createdBy: z.ZodString;
3373
+ createdByAvatarUrl: z.ZodOptional<z.ZodString>;
3328
3374
  createdByEmail: z.ZodOptional<z.ZodString>;
3329
3375
  destination: z.ZodObject<{
3330
3376
  channelId: z.ZodString;
@@ -3339,6 +3385,11 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
3339
3385
  instruction: z.ZodString;
3340
3386
  lastConversationId: z.ZodOptional<z.ZodString>;
3341
3387
  lastRunAt: z.ZodOptional<z.ZodString>;
3388
+ lastRunStatus: z.ZodOptional<z.ZodEnum<{
3389
+ failed: "failed";
3390
+ blocked: "blocked";
3391
+ completed: "completed";
3392
+ }>>;
3342
3393
  ownedByViewer: z.ZodBoolean;
3343
3394
  runs: z.ZodObject<{
3344
3395
  1: z.ZodNumber;
@@ -3358,10 +3409,15 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
3358
3409
  title: z.ZodString;
3359
3410
  totalRuns: z.ZodNumber;
3360
3411
  events: z.ZodArray<z.ZodString>;
3412
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
3361
3413
  kind: z.ZodLiteral<"event">;
3362
3414
  resource: z.ZodString;
3363
3415
  source: z.ZodString;
3364
3416
  triggerAvailable: z.ZodBoolean;
3417
+ status: z.ZodEnum<{
3418
+ paused: "paused";
3419
+ active: "active";
3420
+ }>;
3365
3421
  }, z.core.$strict>], "kind">;
3366
3422
  /** One UTC day/hour of completed automation executions stacked by automation type. */
3367
3423
  declare const automationExecutionDaySchema: z.ZodObject<{
@@ -3372,6 +3428,34 @@ declare const automationExecutionDaySchema: z.ZodObject<{
3372
3428
  }, z.core.$strict>;
3373
3429
  export declare const automationListQuerySchema: z.ZodObject<{
3374
3430
  q: z.ZodOptional<z.ZodString>;
3431
+ scope: z.ZodDefault<z.ZodEnum<{
3432
+ public: "public";
3433
+ all: "all";
3434
+ mine: "mine";
3435
+ attention: "attention";
3436
+ }>>;
3437
+ type: z.ZodDefault<z.ZodEnum<{
3438
+ event: "event";
3439
+ scheduled: "scheduled";
3440
+ all: "all";
3441
+ }>>;
3442
+ state: z.ZodDefault<z.ZodEnum<{
3443
+ paused: "paused";
3444
+ blocked: "blocked";
3445
+ completed: "completed";
3446
+ active: "active";
3447
+ unavailable: "unavailable";
3448
+ all: "all";
3449
+ }>>;
3450
+ creator: z.ZodOptional<z.ZodString>;
3451
+ destination: z.ZodOptional<z.ZodString>;
3452
+ sort: z.ZodDefault<z.ZodEnum<{
3453
+ title: "title";
3454
+ newest: "newest";
3455
+ oldest: "oldest";
3456
+ }>>;
3457
+ page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
3458
+ pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
3375
3459
  }, z.core.$strict>;
3376
3460
  export declare const automationListSchema: z.ZodObject<{
3377
3461
  executionDays: z.ZodArray<z.ZodObject<{
@@ -3393,8 +3477,13 @@ export declare const automationListSchema: z.ZodObject<{
3393
3477
  scheduled: z.ZodNumber;
3394
3478
  }, z.core.$strict>>>;
3395
3479
  automations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
3480
+ credentialMode: z.ZodEnum<{
3481
+ system: "system";
3482
+ creator: "creator";
3483
+ }>;
3396
3484
  createdAt: z.ZodString;
3397
3485
  createdBy: z.ZodString;
3486
+ createdByAvatarUrl: z.ZodOptional<z.ZodString>;
3398
3487
  createdByEmail: z.ZodOptional<z.ZodString>;
3399
3488
  destination: z.ZodObject<{
3400
3489
  channelId: z.ZodString;
@@ -3409,6 +3498,11 @@ export declare const automationListSchema: z.ZodObject<{
3409
3498
  instruction: z.ZodString;
3410
3499
  lastConversationId: z.ZodOptional<z.ZodString>;
3411
3500
  lastRunAt: z.ZodOptional<z.ZodString>;
3501
+ lastRunStatus: z.ZodOptional<z.ZodEnum<{
3502
+ failed: "failed";
3503
+ blocked: "blocked";
3504
+ completed: "completed";
3505
+ }>>;
3412
3506
  ownedByViewer: z.ZodBoolean;
3413
3507
  runs: z.ZodObject<{
3414
3508
  1: z.ZodNumber;
@@ -3430,14 +3524,22 @@ export declare const automationListSchema: z.ZodObject<{
3430
3524
  kind: z.ZodLiteral<"scheduled">;
3431
3525
  nextRunAt: z.ZodOptional<z.ZodString>;
3432
3526
  schedule: z.ZodString;
3527
+ timezone: z.ZodString;
3528
+ statusReason: z.ZodOptional<z.ZodString>;
3433
3529
  status: z.ZodEnum<{
3530
+ paused: "paused";
3434
3531
  blocked: "blocked";
3435
3532
  completed: "completed";
3436
3533
  active: "active";
3437
3534
  }>;
3438
3535
  }, z.core.$strict>, z.ZodObject<{
3536
+ credentialMode: z.ZodEnum<{
3537
+ system: "system";
3538
+ creator: "creator";
3539
+ }>;
3439
3540
  createdAt: z.ZodString;
3440
3541
  createdBy: z.ZodString;
3542
+ createdByAvatarUrl: z.ZodOptional<z.ZodString>;
3441
3543
  createdByEmail: z.ZodOptional<z.ZodString>;
3442
3544
  destination: z.ZodObject<{
3443
3545
  channelId: z.ZodString;
@@ -3452,6 +3554,11 @@ export declare const automationListSchema: z.ZodObject<{
3452
3554
  instruction: z.ZodString;
3453
3555
  lastConversationId: z.ZodOptional<z.ZodString>;
3454
3556
  lastRunAt: z.ZodOptional<z.ZodString>;
3557
+ lastRunStatus: z.ZodOptional<z.ZodEnum<{
3558
+ failed: "failed";
3559
+ blocked: "blocked";
3560
+ completed: "completed";
3561
+ }>>;
3455
3562
  ownedByViewer: z.ZodBoolean;
3456
3563
  runs: z.ZodObject<{
3457
3564
  1: z.ZodNumber;
@@ -3471,12 +3578,33 @@ export declare const automationListSchema: z.ZodObject<{
3471
3578
  title: z.ZodString;
3472
3579
  totalRuns: z.ZodNumber;
3473
3580
  events: z.ZodArray<z.ZodString>;
3581
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
3474
3582
  kind: z.ZodLiteral<"event">;
3475
3583
  resource: z.ZodString;
3476
3584
  source: z.ZodString;
3477
3585
  triggerAvailable: z.ZodBoolean;
3586
+ status: z.ZodEnum<{
3587
+ paused: "paused";
3588
+ active: "active";
3589
+ }>;
3478
3590
  }, z.core.$strict>], "kind">>;
3479
- truncated: z.ZodBoolean;
3591
+ total: z.ZodNumber;
3592
+ page: z.ZodNumber;
3593
+ pageSize: z.ZodNumber;
3594
+ counts: z.ZodObject<{
3595
+ all: z.ZodNumber;
3596
+ mine: z.ZodNumber;
3597
+ public: z.ZodNumber;
3598
+ private: z.ZodNumber;
3599
+ }, z.core.$strict>;
3600
+ creators: z.ZodArray<z.ZodObject<{
3601
+ value: z.ZodString;
3602
+ label: z.ZodString;
3603
+ }, z.core.$strict>>;
3604
+ destinations: z.ZodArray<z.ZodObject<{
3605
+ value: z.ZodString;
3606
+ label: z.ZodString;
3607
+ }, z.core.$strict>>;
3480
3608
  }, z.core.$strict>;
3481
3609
  export declare const automationParamsSchema: z.ZodObject<{
3482
3610
  id: z.ZodString;
@@ -3545,8 +3673,13 @@ export declare const automationExecutionListSchema: z.ZodObject<{
3545
3673
  totalTokens: z.ZodOptional<z.ZodNumber>;
3546
3674
  }, z.core.$strict>>;
3547
3675
  automation: z.ZodDiscriminatedUnion<[z.ZodObject<{
3676
+ credentialMode: z.ZodEnum<{
3677
+ system: "system";
3678
+ creator: "creator";
3679
+ }>;
3548
3680
  createdAt: z.ZodString;
3549
3681
  createdBy: z.ZodString;
3682
+ createdByAvatarUrl: z.ZodOptional<z.ZodString>;
3550
3683
  createdByEmail: z.ZodOptional<z.ZodString>;
3551
3684
  destination: z.ZodObject<{
3552
3685
  channelId: z.ZodString;
@@ -3561,6 +3694,11 @@ export declare const automationExecutionListSchema: z.ZodObject<{
3561
3694
  instruction: z.ZodString;
3562
3695
  lastConversationId: z.ZodOptional<z.ZodString>;
3563
3696
  lastRunAt: z.ZodOptional<z.ZodString>;
3697
+ lastRunStatus: z.ZodOptional<z.ZodEnum<{
3698
+ failed: "failed";
3699
+ blocked: "blocked";
3700
+ completed: "completed";
3701
+ }>>;
3564
3702
  ownedByViewer: z.ZodBoolean;
3565
3703
  runs: z.ZodObject<{
3566
3704
  1: z.ZodNumber;
@@ -3582,14 +3720,22 @@ export declare const automationExecutionListSchema: z.ZodObject<{
3582
3720
  kind: z.ZodLiteral<"scheduled">;
3583
3721
  nextRunAt: z.ZodOptional<z.ZodString>;
3584
3722
  schedule: z.ZodString;
3723
+ timezone: z.ZodString;
3724
+ statusReason: z.ZodOptional<z.ZodString>;
3585
3725
  status: z.ZodEnum<{
3726
+ paused: "paused";
3586
3727
  blocked: "blocked";
3587
3728
  completed: "completed";
3588
3729
  active: "active";
3589
3730
  }>;
3590
3731
  }, z.core.$strict>, z.ZodObject<{
3732
+ credentialMode: z.ZodEnum<{
3733
+ system: "system";
3734
+ creator: "creator";
3735
+ }>;
3591
3736
  createdAt: z.ZodString;
3592
3737
  createdBy: z.ZodString;
3738
+ createdByAvatarUrl: z.ZodOptional<z.ZodString>;
3593
3739
  createdByEmail: z.ZodOptional<z.ZodString>;
3594
3740
  destination: z.ZodObject<{
3595
3741
  channelId: z.ZodString;
@@ -3604,6 +3750,11 @@ export declare const automationExecutionListSchema: z.ZodObject<{
3604
3750
  instruction: z.ZodString;
3605
3751
  lastConversationId: z.ZodOptional<z.ZodString>;
3606
3752
  lastRunAt: z.ZodOptional<z.ZodString>;
3753
+ lastRunStatus: z.ZodOptional<z.ZodEnum<{
3754
+ failed: "failed";
3755
+ blocked: "blocked";
3756
+ completed: "completed";
3757
+ }>>;
3607
3758
  ownedByViewer: z.ZodBoolean;
3608
3759
  runs: z.ZodObject<{
3609
3760
  1: z.ZodNumber;
@@ -3623,10 +3774,15 @@ export declare const automationExecutionListSchema: z.ZodObject<{
3623
3774
  title: z.ZodString;
3624
3775
  totalRuns: z.ZodNumber;
3625
3776
  events: z.ZodArray<z.ZodString>;
3777
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
3626
3778
  kind: z.ZodLiteral<"event">;
3627
3779
  resource: z.ZodString;
3628
3780
  source: z.ZodString;
3629
3781
  triggerAvailable: z.ZodBoolean;
3782
+ status: z.ZodEnum<{
3783
+ paused: "paused";
3784
+ active: "active";
3785
+ }>;
3630
3786
  }, z.core.$strict>], "kind">;
3631
3787
  truncated: z.ZodBoolean;
3632
3788
  }, z.core.$strict>;
@@ -3682,6 +3838,311 @@ type AutomationRunList = z.output<typeof automationRunListSchema>;
3682
3838
  type AutomationRunWindows = z.output<typeof automationRunWindowsSchema>;
3683
3839
  type AutomationSummary = z.output<typeof automationSummarySchema>;
3684
3840
  type AutomationList = z.output<typeof automationListSchema>;
3841
+ type AutomationListQuery = z.output<typeof automationListQuerySchema>;
3842
+ /** Creator-only edit values. Read schemas also retain legacy values. */
3843
+ export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3844
+ destination: z.ZodObject<{
3845
+ teamId: z.ZodString;
3846
+ channelId: z.ZodString;
3847
+ platform: z.ZodLiteral<"slack">;
3848
+ }, z.core.$strict>;
3849
+ createdBy: z.ZodObject<{
3850
+ slackUserId: z.ZodString;
3851
+ fullName: z.ZodOptional<z.ZodString>;
3852
+ userName: z.ZodOptional<z.ZodString>;
3853
+ }, z.core.$strict>;
3854
+ id: z.ZodString;
3855
+ revision: z.ZodString;
3856
+ title: z.ZodNullable<z.ZodString>;
3857
+ instruction: z.ZodString;
3858
+ credentialMode: z.ZodEnum<{
3859
+ system: "system";
3860
+ creator: "creator";
3861
+ }>;
3862
+ outcomes: z.ZodArray<z.ZodObject<{
3863
+ action: z.ZodLiteral<"send_message">;
3864
+ destination: z.ZodObject<{
3865
+ platform: z.ZodLiteral<"slack">;
3866
+ teamId: z.ZodString;
3867
+ channelId: z.ZodString;
3868
+ threadTs: z.ZodOptional<z.ZodString>;
3869
+ }, z.core.$strict>;
3870
+ }, z.core.$strict>>;
3871
+ schedule: z.ZodObject<{
3872
+ description: z.ZodString;
3873
+ kind: z.ZodEnum<{
3874
+ one_off: "one_off";
3875
+ recurring: "recurring";
3876
+ }>;
3877
+ recurrence: z.ZodOptional<z.ZodObject<{
3878
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
3879
+ frequency: z.ZodEnum<{
3880
+ daily: "daily";
3881
+ weekly: "weekly";
3882
+ monthly: "monthly";
3883
+ yearly: "yearly";
3884
+ }>;
3885
+ interval: z.ZodNumber;
3886
+ month: z.ZodOptional<z.ZodNumber>;
3887
+ startDate: z.ZodString;
3888
+ time: z.ZodObject<{
3889
+ hour: z.ZodNumber;
3890
+ minute: z.ZodNumber;
3891
+ }, z.core.$strict>;
3892
+ weekdays: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
3893
+ }, z.core.$strict>>;
3894
+ timezone: z.ZodString;
3895
+ }, z.core.$strict>;
3896
+ kind: z.ZodLiteral<"scheduled">;
3897
+ nextRunAtMs: z.ZodOptional<z.ZodNumber>;
3898
+ status: z.ZodEnum<{
3899
+ paused: "paused";
3900
+ blocked: "blocked";
3901
+ completed: "completed";
3902
+ active: "active";
3903
+ }>;
3904
+ }, z.core.$strict>, z.ZodObject<{
3905
+ destination: z.ZodObject<{
3906
+ teamId: z.ZodString;
3907
+ channelId: z.ZodString;
3908
+ platform: z.ZodLiteral<"slack">;
3909
+ }, z.core.$strict>;
3910
+ createdBy: z.ZodObject<{
3911
+ slackUserId: z.ZodString;
3912
+ fullName: z.ZodOptional<z.ZodString>;
3913
+ userName: z.ZodOptional<z.ZodString>;
3914
+ }, z.core.$strict>;
3915
+ id: z.ZodString;
3916
+ revision: z.ZodString;
3917
+ title: z.ZodNullable<z.ZodString>;
3918
+ instruction: z.ZodString;
3919
+ credentialMode: z.ZodEnum<{
3920
+ system: "system";
3921
+ creator: "creator";
3922
+ }>;
3923
+ outcomes: z.ZodArray<z.ZodObject<{
3924
+ action: z.ZodLiteral<"send_message">;
3925
+ destination: z.ZodObject<{
3926
+ platform: z.ZodLiteral<"slack">;
3927
+ teamId: z.ZodString;
3928
+ channelId: z.ZodString;
3929
+ threadTs: z.ZodOptional<z.ZodString>;
3930
+ }, z.core.$strict>;
3931
+ }, z.core.$strict>>;
3932
+ kind: z.ZodLiteral<"event">;
3933
+ trigger: z.ZodObject<{
3934
+ events: z.ZodArray<z.ZodString>;
3935
+ label: z.ZodString;
3936
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
3937
+ namespace: z.ZodString;
3938
+ identifier: z.ZodString;
3939
+ resourceType: z.ZodString;
3940
+ }, z.core.$strict>;
3941
+ triggerAvailable: z.ZodBoolean;
3942
+ status: z.ZodEnum<{
3943
+ paused: "paused";
3944
+ active: "active";
3945
+ }>;
3946
+ }, z.core.$strict>], "kind">;
3947
+ /** Partial edits require the revision returned by the edit read. */
3948
+ export declare const automationUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3949
+ title: z.ZodOptional<z.ZodString>;
3950
+ credentialMode: z.ZodOptional<z.ZodEnum<{
3951
+ system: "system";
3952
+ creator: "creator";
3953
+ }>>;
3954
+ outcomes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
3955
+ action: z.ZodLiteral<"send_message">;
3956
+ destination: z.ZodEnum<{
3957
+ current_conversation: "current_conversation";
3958
+ task_creator: "task_creator";
3959
+ }>;
3960
+ }, z.core.$strict>, z.ZodObject<{
3961
+ action: z.ZodLiteral<"send_message">;
3962
+ destination: z.ZodObject<{
3963
+ platform: z.ZodLiteral<"slack">;
3964
+ teamId: z.ZodString;
3965
+ channelId: z.ZodString;
3966
+ threadTs: z.ZodOptional<z.ZodString>;
3967
+ }, z.core.$strict>;
3968
+ }, z.core.$strict>]>>>;
3969
+ schedule: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
3970
+ kind: z.ZodLiteral<"one_off">;
3971
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3972
+ timing: z.ZodDiscriminatedUnion<[z.ZodObject<{
3973
+ type: z.ZodLiteral<"after">;
3974
+ value: z.ZodNumber;
3975
+ unit: z.ZodEnum<{
3976
+ hour: "hour";
3977
+ minute: "minute";
3978
+ second: "second";
3979
+ day: "day";
3980
+ week: "week";
3981
+ }>;
3982
+ }, z.core.$strict>, z.ZodObject<{
3983
+ type: z.ZodLiteral<"at">;
3984
+ date: z.ZodString;
3985
+ time: z.ZodString;
3986
+ }, z.core.$strict>], "type">;
3987
+ }, z.core.$strict>, z.ZodObject<{
3988
+ kind: z.ZodLiteral<"recurring">;
3989
+ frequency: z.ZodEnum<{
3990
+ daily: "daily";
3991
+ weekly: "weekly";
3992
+ monthly: "monthly";
3993
+ yearly: "yearly";
3994
+ }>;
3995
+ interval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
3996
+ time: z.ZodString;
3997
+ weekdays: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
3998
+ sunday: "sunday";
3999
+ monday: "monday";
4000
+ tuesday: "tuesday";
4001
+ wednesday: "wednesday";
4002
+ thursday: "thursday";
4003
+ friday: "friday";
4004
+ saturday: "saturday";
4005
+ }>>>>;
4006
+ dayOfMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4007
+ month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4008
+ startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4009
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4010
+ }, z.core.$strict>]>>;
4011
+ instruction: z.ZodOptional<z.ZodString>;
4012
+ kind: z.ZodLiteral<"scheduled">;
4013
+ revision: z.ZodString;
4014
+ }, z.core.$strict>, z.ZodObject<{
4015
+ title: z.ZodOptional<z.ZodString>;
4016
+ instruction: z.ZodOptional<z.ZodString>;
4017
+ credentialMode: z.ZodOptional<z.ZodEnum<{
4018
+ system: "system";
4019
+ creator: "creator";
4020
+ }>>;
4021
+ outcomes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4022
+ action: z.ZodLiteral<"send_message">;
4023
+ destination: z.ZodEnum<{
4024
+ current_conversation: "current_conversation";
4025
+ task_creator: "task_creator";
4026
+ }>;
4027
+ }, z.core.$strict>, z.ZodObject<{
4028
+ action: z.ZodLiteral<"send_message">;
4029
+ destination: z.ZodObject<{
4030
+ platform: z.ZodLiteral<"slack">;
4031
+ teamId: z.ZodString;
4032
+ channelId: z.ZodString;
4033
+ threadTs: z.ZodOptional<z.ZodString>;
4034
+ }, z.core.$strict>;
4035
+ }, z.core.$strict>]>>>;
4036
+ trigger: z.ZodOptional<z.ZodObject<{
4037
+ events: z.ZodArray<z.ZodString>;
4038
+ match: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnion<readonly [z.ZodBoolean, z.ZodNumber, z.ZodString, z.ZodArray<z.ZodUnion<readonly [z.ZodNumber, z.ZodString]>>]>>>;
4039
+ namespace: z.ZodString;
4040
+ resourceType: z.ZodString;
4041
+ identifier: z.ZodString;
4042
+ label: z.ZodString;
4043
+ }, z.core.$strict>>;
4044
+ kind: z.ZodLiteral<"event">;
4045
+ revision: z.ZodString;
4046
+ }, z.core.$strict>], "kind">;
4047
+ export declare const automationEditErrorSchema: z.ZodObject<{
4048
+ error: z.ZodString;
4049
+ code: z.ZodEnum<{
4050
+ invalid_edit: "invalid_edit";
4051
+ conflict: "conflict";
4052
+ not_found: "not_found";
4053
+ }>;
4054
+ fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
4055
+ }, z.core.$strict>;
4056
+ type AutomationEdit = z.output<typeof automationEditSchema>;
4057
+ type AutomationUpdate = z.output<typeof automationUpdateSchema>;
4058
+ /** Catalog metadata only; callbacks and provider connections stay on the server. */
4059
+ export declare const automationEventCatalogSchema: z.ZodArray<z.ZodObject<{
4060
+ type: z.ZodString;
4061
+ supportedEvents: z.ZodArray<z.ZodString>;
4062
+ suggestedEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
4063
+ matchFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4064
+ kind: z.ZodEnum<{
4065
+ string: "string";
4066
+ number: "number";
4067
+ boolean: "boolean";
4068
+ }>;
4069
+ description: z.ZodString;
4070
+ enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
4071
+ }, z.core.$strict>>>;
4072
+ guidance: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodString>>;
4073
+ namespace: z.ZodString;
4074
+ }, z.core.$strict>>;
4075
+ export declare const automationScheduleIntentSchema: z.ZodUnion<readonly [z.ZodObject<{
4076
+ kind: z.ZodLiteral<"one_off">;
4077
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4078
+ timing: z.ZodDiscriminatedUnion<[z.ZodObject<{
4079
+ type: z.ZodLiteral<"after">;
4080
+ value: z.ZodNumber;
4081
+ unit: z.ZodEnum<{
4082
+ hour: "hour";
4083
+ minute: "minute";
4084
+ second: "second";
4085
+ day: "day";
4086
+ week: "week";
4087
+ }>;
4088
+ }, z.core.$strict>, z.ZodObject<{
4089
+ type: z.ZodLiteral<"at">;
4090
+ date: z.ZodString;
4091
+ time: z.ZodString;
4092
+ }, z.core.$strict>], "type">;
4093
+ }, z.core.$strict>, z.ZodObject<{
4094
+ kind: z.ZodLiteral<"recurring">;
4095
+ frequency: z.ZodEnum<{
4096
+ daily: "daily";
4097
+ weekly: "weekly";
4098
+ monthly: "monthly";
4099
+ yearly: "yearly";
4100
+ }>;
4101
+ interval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4102
+ time: z.ZodString;
4103
+ weekdays: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
4104
+ sunday: "sunday";
4105
+ monday: "monday";
4106
+ tuesday: "tuesday";
4107
+ wednesday: "wednesday";
4108
+ thursday: "thursday";
4109
+ friday: "friday";
4110
+ saturday: "saturday";
4111
+ }>>>>;
4112
+ dayOfMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4113
+ month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4114
+ startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4115
+ timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4116
+ }, z.core.$strict>]>;
4117
+ export declare const automationSchedulePreviewSchema: z.ZodObject<{
4118
+ schedule: z.ZodObject<{
4119
+ description: z.ZodString;
4120
+ kind: z.ZodEnum<{
4121
+ one_off: "one_off";
4122
+ recurring: "recurring";
4123
+ }>;
4124
+ recurrence: z.ZodOptional<z.ZodObject<{
4125
+ dayOfMonth: z.ZodOptional<z.ZodNumber>;
4126
+ frequency: z.ZodEnum<{
4127
+ daily: "daily";
4128
+ weekly: "weekly";
4129
+ monthly: "monthly";
4130
+ yearly: "yearly";
4131
+ }>;
4132
+ interval: z.ZodNumber;
4133
+ month: z.ZodOptional<z.ZodNumber>;
4134
+ startDate: z.ZodString;
4135
+ time: z.ZodObject<{
4136
+ hour: z.ZodNumber;
4137
+ minute: z.ZodNumber;
4138
+ }, z.core.$strict>;
4139
+ weekdays: z.ZodOptional<z.ZodArray<z.ZodNumber>>;
4140
+ }, z.core.$strict>>;
4141
+ timezone: z.ZodString;
4142
+ }, z.core.$strict>;
4143
+ nextRunAtMs: z.ZodNumber;
4144
+ }, z.core.$strict>;
4145
+ type AutomationScheduleIntent = z.output<typeof automationScheduleIntentSchema>;
3685
4146
  //#endregion
3686
4147
  //#region src/api/schema/stats.d.ts
3687
4148
  export declare const statSchema: z.ZodObject<{
@@ -3901,4 +4362,4 @@ type PluginPackageContentReport = z.infer<typeof pluginPackageContentReportSchem
3901
4362
  type PluginOperationalReport = z.infer<typeof pluginOperationalReportSchema>;
3902
4363
  type PluginOperationalReportFeed = z.infer<typeof pluginOperationalReportFeedSchema>;
3903
4364
  //#endregion
3904
- export { type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AutomationCard, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationSummary, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAuxiliaryCosts, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, type InputImage, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, type MessageCard, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type WorkspaceReport, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, messageCardText, resolveMessageCards };
4365
+ export { type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationUpdate, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAuxiliaryCosts, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, type InputImage, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, type MessageCard, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type WorkspaceReport, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, messageCardText, resolveMessageCards };