@sentry/junior 0.257.0 → 0.259.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 (104) hide show
  1. package/dist/{actor-BTtLaeWy.js → actor-tlxzqaRe.js} +3 -6
  2. package/dist/adapter-Bn0gFVSF.js +270 -0
  3. package/dist/{admin-DgIkm6Vy.js → admin-C8xz2f10.js} +2 -3
  4. package/dist/{agent-hooks-BjtTzvru.js → agent-hooks-B00FaKdP.js} +70 -109
  5. package/dist/{agent-invocations-Bdu3ROfo.js → agent-invocations-Qfz7dWgU.js} +6 -12
  6. package/dist/{agent-runner-D7OboVb3.js → agent-runner-CPSd7rKm.js} +324 -742
  7. package/dist/api/schema.d.ts +442 -447
  8. package/dist/api/schema.js +6 -6
  9. package/dist/api.d.ts +2 -12
  10. package/dist/api.js +165 -158
  11. package/dist/{app-BsU5QNBd.d.ts → app-Bbxrehjf.d.ts} +25 -45
  12. package/dist/app.d.ts +3 -3
  13. package/dist/app.js +206 -321
  14. package/dist/{assistant-reply-CbTPebzL.js → assistant-reply-CqthTerd.js} +3 -5
  15. package/dist/{automation-CHdlHVZP.js → automation-DWBFBenG.js} +6 -11
  16. package/dist/{briefs-oLOldnDM.js → briefs-DNYbQ9cD.js} +8 -11
  17. package/dist/{cadence-D00SCzT1.js → cadence-R7Em4RjE.js} +1 -2
  18. package/dist/{catalog-runtime-CZzhGQ7F.js → catalog-runtime-B8SuFPGb.js} +3 -4
  19. package/dist/cli/chat.d.ts +2 -4
  20. package/dist/cli/chat.js +22 -24
  21. package/dist/cli/check.d.ts +1 -3
  22. package/dist/cli/check.js +4 -5
  23. package/dist/cli/env.d.ts +1 -3
  24. package/dist/cli/env.js +1 -2
  25. package/dist/cli/init.d.ts +1 -3
  26. package/dist/cli/init.js +3 -3
  27. package/dist/cli/main.d.ts +1 -3
  28. package/dist/cli/main.js +8 -5
  29. package/dist/cli/plugins.d.ts +2 -4
  30. package/dist/cli/plugins.js +7 -8
  31. package/dist/cli/run.d.ts +3 -3
  32. package/dist/cli/run.js +3 -3
  33. package/dist/cli/snapshot-create.d.ts +1 -3
  34. package/dist/cli/snapshot-create.js +5 -5
  35. package/dist/cli/upgrade.d.ts +3 -6
  36. package/dist/cli/upgrade.js +11 -17
  37. package/dist/{client-D8HnkOQX.js → client-BZdxgKyL.js} +64 -18
  38. package/dist/{config-CJRnWK9H.js → config-Deqpfpg9.js} +21 -15
  39. package/dist/{connections-ClYrKzpX.js → connections-9gJkfS85.js} +179 -20
  40. package/dist/{conversation-CKNLYBJt.js → conversation-DjN3mlog.js} +8 -15
  41. package/dist/{conversation-privacy-C8b1nphZ.js → conversation-privacy-CFhNKxp-.js} +2 -3
  42. package/dist/{conversation-work-C6y3T5Hx.js → conversation-work-BaT_T6EB.js} +1 -2
  43. package/dist/{credential-sync-BXfohNmJ.js → credential-sync-BABGymK3.js} +23 -190
  44. package/dist/{db-Ca9Nt5ci.d.ts → db-BnRqQ7G5.d.ts} +1 -1
  45. package/dist/{executor-Do0THDRR.js → executor-Bb3eQb8q.js} +30 -52
  46. package/dist/{experimental-CQIvMUO7.js → experimental-BNK1l1jv.js} +2 -4
  47. package/dist/{history-9pO1Zd4Y.js → history-AY8rs-FR.js} +5 -9
  48. package/dist/{history-DvqWZlYX.d.ts → history-BgI33Kie.d.ts} +12 -20
  49. package/dist/{images-BN_BiBXF.js → images-BbSdVHC6.js} +5 -6
  50. package/dist/instrumentation.d.ts +1 -3
  51. package/dist/instrumentation.js +6 -8
  52. package/dist/{job-queue-B6SV9uVa.js → job-queue-vdGU-5ge.js} +6 -12
  53. package/dist/{logging-CWxiIuCF.js → logging-BStXN56b.js} +7 -12
  54. package/dist/{message-TUOdbSBW.js → message-DRf6m4uO.js} +5 -6
  55. package/dist/{model-profile-BwU8mqwD.js → model-profile-Bg8EoCKD.js} +2 -4
  56. package/dist/nitro.d.ts +3 -5
  57. package/dist/nitro.js +12 -17
  58. package/dist/{oauth-authorization-BA4Dt6a7.js → oauth-authorization-djQn5Nhy.js} +2 -4
  59. package/dist/{oauth-callback-server-Dj5UJODo.js → oauth-callback-server-JmOgLcGl.js} +3 -4
  60. package/dist/{oauth-relay-CdCnu80W.js → oauth-relay-CTygMkNx.js} +2 -3
  61. package/dist/{package-discovery-BVvSnQBB.js → package-discovery-DJBompdd.js} +17 -21
  62. package/dist/{pending-auth-s_QFribU.js → pending-auth-rG5U_QS1.js} +92 -83
  63. package/dist/{plugin-module-CVvEUSMH.js → plugin-module-Cf5gVPWP.js} +1 -2
  64. package/dist/{plugins-CjfUP5gJ.d.ts → plugins-B_0Cr0MO.d.ts} +5 -5
  65. package/dist/{plugins-egKWjgue.js → plugins-DOm9Y6qI.js} +2 -3
  66. package/dist/{private-trace-result-BLvBjy_e.js → private-trace-result-CE7_lEdq.js} +1 -2
  67. package/dist/{profile-h-72wM78.js → profile-qBM6B_-V.js} +14 -295
  68. package/dist/{prompt-DyoEj9c2.js → prompt-xgpyMtg7.js} +5 -9
  69. package/dist/{queue-B5SnqRln.d.ts → queue-C37RbDVc.d.ts} +0 -2
  70. package/dist/{registry-sLTr-sV9.js → registry-B_M_x_iS.js} +56 -30
  71. package/dist/{resolve-ncQPZROQ.js → resolve-BzpuLh8c.js} +8 -12
  72. package/dist/{result-C883vngT.js → result-DEZH_AnZ.js} +13 -17
  73. package/dist/{rolldown-runtime-B4FMCO8f.js → rolldown-runtime-nwUcYXjP.js} +1 -2
  74. package/dist/{runner-CzYImdOF.js → runner-BqQlG10t.js} +12 -13
  75. package/dist/{sandbox-egress-signals-CZbMINHI.js → sandbox-egress-signals-DCq3WLs5.js} +2 -3
  76. package/dist/{schema-Dy69D4Ge.js → schema-CF9HqNRY.js} +30 -27
  77. package/dist/{sentry-CgWZM_kV.js → sentry-BBUlHih9.js} +2 -3
  78. package/dist/service-account-BqTBkyD7.js +120 -0
  79. package/dist/service-account-BzhW7kXu.js +661 -0
  80. package/dist/{session-stop-CQjKd4a2.js → session-stop-CV65ZlU3.js} +23 -33
  81. package/dist/{skills-C22SLruK.js → skills-CiWS5_Ub.js} +9 -9
  82. package/dist/{spawn-DY9CLXDL.js → spawn-BSAQ7UQZ.js} +4 -5
  83. package/dist/{store-DXFIQy-G.js → store-B1GES4gC.js} +13 -15
  84. package/dist/{store-DoewL5mG.d.ts → store-CG0VJyye.d.ts} +0 -14
  85. package/dist/{task-queue-B17vV0La.js → task-queue-BAeGEMjJ.js} +5 -7
  86. package/dist/{task-runner-DUjvzYXj.js → task-runner-BlGhcQPi.js} +22 -26
  87. package/dist/{tasks-D_WIJtvO.js → tasks-DieKX3d4.js} +63 -78
  88. package/dist/{thread-state-Ch4yuCqG.js → thread-state-DpSWS4Rr.js} +13 -19
  89. package/dist/{turn-failure-response-C5nBKC4S.js → turn-failure-response-DQljogGJ.js} +16 -22
  90. package/dist/{turn-lifecycle-CO-ylUmV.js → turn-lifecycle-BLgrkV_L.js} +2 -3
  91. package/dist/{turn-session-routing-B3LWooK5.js → turn-session-routing-BlajheOU.js} +2 -3
  92. package/dist/{validation-CXYxaNYx.js → validation-23d7K9tX.js} +3 -4
  93. package/dist/vercel.d.ts +1 -3
  94. package/dist/vercel.js +1 -2
  95. package/dist/{version-BcdZy2zg.js → version-B_XumRx-.js} +3 -5
  96. package/dist/{version-CnXZ614E.d.ts → version-Cc2OFd9G.d.ts} +0 -2
  97. package/dist/version.d.ts +1 -1
  98. package/dist/version.js +1 -2
  99. package/dist/{viewer-DSZXygMU.js → viewer-B2_ABsYi.js} +26 -57
  100. package/dist/{web-input-B9Bv0_lR.js → web-input-BZDyxpzR.js} +101 -158
  101. package/dist/{web-message-id-xPI_EFSC.js → web-message-id-CJSUiksE.js} +3 -6
  102. package/dist/{work-nAfDSUFP.js → work-D3QKiV0O.js} +14 -16
  103. package/dist/{worker-vGXZ6XFT.js → worker-C8mUjYf9.js} +7 -8
  104. package/package.json +10 -9
@@ -1,10 +1,7 @@
1
- import { a as resolveMessageCards, c as MAX_INPUT_IMAGES, i as messageCardText, l as MAX_INPUT_IMAGE_BYTES, n as conversationTurnFailureReasonSchema, o as AutomationCard, r as MessageCard, s as InputImage, t as conversationTurnFailureCodeSchema, u as MessageAttachment } from "../history-DvqWZlYX.js";
1
+ import { a as resolveMessageCards, c as MAX_INPUT_IMAGES, i as messageCardText, l as MAX_INPUT_IMAGE_BYTES, n as conversationTurnFailureReasonSchema, o as AutomationCard, r as MessageCard, s as InputImage, t as conversationTurnFailureCodeSchema, u as MessageAttachment } from "../history-BgI33Kie.js";
2
2
  import { z } from "zod";
3
3
  import { OwnedObjectAnnotation } from "@sentry/junior-plugin-api";
4
- //#region src/chat/attachments/media.d.ts
5
4
  export declare const INPUT_IMAGE_TYPES: readonly ["image/png", "image/jpeg", "image/gif", "image/webp"];
6
- //#endregion
7
- //#region src/chat/conversations/web-message-id.d.ts
8
5
  /**
9
6
  * Build the retry-stable Message id shared by web ingress and browser sends.
10
7
  * Keep the existing hash and prefix so retries still address stored Messages.
@@ -13,8 +10,6 @@ export declare function webMessageId(args: {
13
10
  conversationId: string;
14
11
  idempotencyKey: string;
15
12
  }): Promise<string>;
16
- //#endregion
17
- //#region src/api/activity.d.ts
18
13
  export declare const dailyConversationActivitySchema: z.ZodObject<{
19
14
  active: z.ZodNumber;
20
15
  conversations: z.ZodNumber;
@@ -24,8 +19,6 @@ export declare const dailyConversationActivitySchema: z.ZodObject<{
24
19
  tokens: z.ZodOptional<z.ZodNumber>;
25
20
  }, z.core.$strict>;
26
21
  type DailyConversationActivity = z.infer<typeof dailyConversationActivitySchema>;
27
- //#endregion
28
- //#region src/api/schema/child-agent-totals.d.ts
29
22
  /**
30
23
  * The part of a Conversation total that its child agents spent, at any depth.
31
24
  * Present only when the Conversation has child agents. The Conversation's own
@@ -52,8 +45,6 @@ export declare const conversationChildAgentTotalsSchema: z.ZodObject<{
52
45
  }, z.core.$strict>>;
53
46
  }, z.core.$strict>;
54
47
  type ConversationChildAgentTotals = z.infer<typeof conversationChildAgentTotalsSchema>;
55
- //#endregion
56
- //#region src/api/schema/code.d.ts
57
48
  export declare const codeChangeSummarySchema: z.ZodObject<{
58
49
  closed: z.ZodNumber;
59
50
  costUsd: z.ZodOptional<z.ZodNumber>;
@@ -278,12 +269,10 @@ type CodeOverviewReport = z.infer<typeof codeOverviewReportSchema>;
278
269
  type CodePersonReport = z.infer<typeof codePersonReportSchema>;
279
270
  type CodeRepositoryReport = z.infer<typeof codeRepositoryReportSchema>;
280
271
  type CodeRepositorySummary = z.infer<typeof codeRepositorySummarySchema>;
281
- //#endregion
282
- //#region src/api/schema/conversation.d.ts
283
272
  declare const conversationReportStatusSchema: z.ZodEnum<{
284
- failed: "failed";
285
- completed: "completed";
286
273
  active: "active";
274
+ completed: "completed";
275
+ failed: "failed";
287
276
  }>;
288
277
  declare const conversationSurfaceSchema: z.ZodEnum<{
289
278
  api: "api";
@@ -345,9 +334,9 @@ export declare const createConversationMessageBodySchema: z.ZodObject<{
345
334
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
346
335
  filename: z.ZodString;
347
336
  contentType: z.ZodEnum<{
348
- "image/png": "image/png";
349
- "image/jpeg": "image/jpeg";
350
337
  "image/gif": "image/gif";
338
+ "image/jpeg": "image/jpeg";
339
+ "image/png": "image/png";
351
340
  "image/webp": "image/webp";
352
341
  }>;
353
342
  data: z.ZodString;
@@ -359,16 +348,16 @@ export declare const createConversationBodySchema: z.ZodObject<{
359
348
  images: z.ZodOptional<z.ZodArray<z.ZodObject<{
360
349
  filename: z.ZodString;
361
350
  contentType: z.ZodEnum<{
362
- "image/png": "image/png";
363
- "image/jpeg": "image/jpeg";
364
351
  "image/gif": "image/gif";
352
+ "image/jpeg": "image/jpeg";
353
+ "image/png": "image/png";
365
354
  "image/webp": "image/webp";
366
355
  }>;
367
356
  data: z.ZodString;
368
357
  }, z.core.$strict>>>;
369
358
  visibility: z.ZodOptional<z.ZodEnum<{
370
- public: "public";
371
359
  private: "private";
360
+ public: "public";
372
361
  }>>;
373
362
  }, z.core.$strict>;
374
363
  export declare const acceptedConversationMessageSchema: z.ZodObject<{
@@ -497,16 +486,16 @@ declare const conversationSourceTaskSchema: z.ZodObject<{
497
486
  triggerMessageId: z.ZodOptional<z.ZodString>;
498
487
  triggerLabel: z.ZodOptional<z.ZodString>;
499
488
  credentialMode: z.ZodOptional<z.ZodEnum<{
500
- system: "system";
501
489
  creator: "creator";
490
+ system: "system";
502
491
  }>>;
503
492
  credentialUser: z.ZodOptional<z.ZodString>;
504
493
  }, z.core.$strict>;
505
494
  export declare const conversationActivityPreviewSchema: z.ZodObject<{
506
495
  createdAt: z.ZodString;
507
496
  role: z.ZodEnum<{
508
- user: "user";
509
497
  assistant: "assistant";
498
+ user: "user";
510
499
  }>;
511
500
  text: z.ZodString;
512
501
  }, z.core.$strict>;
@@ -515,8 +504,8 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
515
504
  activityPreview: z.ZodOptional<z.ZodObject<{
516
505
  createdAt: z.ZodString;
517
506
  role: z.ZodEnum<{
518
- user: "user";
519
507
  assistant: "assistant";
508
+ user: "user";
520
509
  }>;
521
510
  text: z.ZodString;
522
511
  }, z.core.$strict>>;
@@ -568,13 +557,13 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
568
557
  conversationId: z.ZodString;
569
558
  isParticipant: z.ZodBoolean;
570
559
  visibility: z.ZodOptional<z.ZodEnum<{
571
- public: "public";
572
560
  private: "private";
561
+ public: "public";
573
562
  }>>;
574
563
  status: z.ZodEnum<{
575
- failed: "failed";
576
- completed: "completed";
577
564
  active: "active";
565
+ completed: "completed";
566
+ failed: "failed";
578
567
  }>;
579
568
  startedAt: z.ZodString;
580
569
  lastSeenAt: z.ZodString;
@@ -608,35 +597,35 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
608
597
  annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
609
598
  kind: z.ZodLiteral<"resource_link">;
610
599
  objectType: z.ZodOptional<z.ZodEnum<{
600
+ automation: "automation";
601
+ calendar_event: "calendar_event";
611
602
  code_change: "code_change";
612
- task: "task";
613
603
  deployment: "deployment";
614
- calendar_event: "calendar_event";
615
- automation: "automation";
616
604
  item: "item";
605
+ task: "task";
617
606
  }>>;
618
607
  key: z.ZodString;
619
608
  label: z.ZodString;
620
609
  url: z.ZodString;
621
610
  description: z.ZodOptional<z.ZodString>;
622
611
  status: z.ZodOptional<z.ZodEnum<{
623
- warning: "warning";
624
- draft: "draft";
625
612
  closed: "closed";
613
+ draft: "draft";
626
614
  merged: "merged";
627
615
  open: "open";
616
+ warning: "warning";
628
617
  }>>;
629
618
  }, z.core.$strict>, z.ZodObject<{
630
619
  kind: z.ZodLiteral<"object">;
631
620
  key: z.ZodString;
632
621
  label: z.ZodString;
633
622
  objectType: z.ZodEnum<{
623
+ automation: "automation";
624
+ calendar_event: "calendar_event";
634
625
  code_change: "code_change";
635
- task: "task";
636
626
  deployment: "deployment";
637
- calendar_event: "calendar_event";
638
- automation: "automation";
639
627
  item: "item";
628
+ task: "task";
640
629
  }>;
641
630
  title: z.ZodString;
642
631
  url: z.ZodNullable<z.ZodURL>;
@@ -653,9 +642,9 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
653
642
  targetBranch: z.ZodOptional<z.ZodString>;
654
643
  reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
655
644
  review: z.ZodOptional<z.ZodEnum<{
656
- required: "required";
657
645
  approved: "approved";
658
646
  changes_requested: "changes_requested";
647
+ required: "required";
659
648
  }>>;
660
649
  checks: z.ZodOptional<z.ZodObject<{
661
650
  passed: z.ZodNumber;
@@ -692,20 +681,20 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
692
681
  }, z.core.$strip>>>>;
693
682
  sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
694
683
  icon: z.ZodOptional<z.ZodEnum<{
695
- "git-pull-request": "git-pull-request";
696
- "git-merge": "git-merge";
697
- "circle-dot": "circle-dot";
698
684
  "circle-dashed": "circle-dashed";
685
+ "circle-dot": "circle-dot";
699
686
  "circle-x": "circle-x";
687
+ "git-merge": "git-merge";
688
+ "git-pull-request": "git-pull-request";
700
689
  "triangle-alert": "triangle-alert";
701
690
  }>>;
702
691
  objectType: z.ZodOptional<z.ZodEnum<{
692
+ automation: "automation";
693
+ calendar_event: "calendar_event";
703
694
  code_change: "code_change";
704
- task: "task";
705
695
  deployment: "deployment";
706
- calendar_event: "calendar_event";
707
- automation: "automation";
708
696
  item: "item";
697
+ task: "task";
709
698
  }>>;
710
699
  status: z.ZodOptional<z.ZodString>;
711
700
  key: z.ZodString;
@@ -721,9 +710,9 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
721
710
  type: z.ZodLiteral<"message">;
722
711
  messageId: z.ZodString;
723
712
  role: z.ZodEnum<{
713
+ assistant: "assistant";
724
714
  system: "system";
725
715
  user: "user";
726
- assistant: "assistant";
727
716
  }>;
728
717
  source: z.ZodOptional<z.ZodEnum<{
729
718
  slack: "slack";
@@ -743,12 +732,12 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
743
732
  }, z.core.$strict>>>;
744
733
  eventType: z.ZodOptional<z.ZodString>;
745
734
  eventObjectType: z.ZodOptional<z.ZodEnum<{
735
+ automation: "automation";
736
+ calendar_event: "calendar_event";
746
737
  code_change: "code_change";
747
- task: "task";
748
738
  deployment: "deployment";
749
- calendar_event: "calendar_event";
750
- automation: "automation";
751
739
  item: "item";
740
+ task: "task";
752
741
  }>>;
753
742
  explicitMention: z.ZodOptional<z.ZodBoolean>;
754
743
  trustedSummary: z.ZodOptional<z.ZodString>;
@@ -781,9 +770,9 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
781
770
  toolCallId: z.ZodString;
782
771
  name: z.ZodString;
783
772
  status: z.ZodEnum<{
773
+ completed: "completed";
784
774
  error: "error";
785
775
  running: "running";
786
- completed: "completed";
787
776
  }>;
788
777
  startedAt: z.ZodOptional<z.ZodString>;
789
778
  startedSeq: z.ZodOptional<z.ZodNumber>;
@@ -823,21 +812,21 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
823
812
  persistence_failed: "persistence_failed";
824
813
  }>;
825
814
  failureReason: z.ZodOptional<z.ZodEnum<{
826
- unknown: "unknown";
827
- capacity: "capacity";
828
815
  auth: "auth";
829
- permission: "permission";
830
- rate_limit: "rate_limit";
831
- timeout: "timeout";
832
- network: "network";
833
- server: "server";
816
+ capacity: "capacity";
817
+ content_policy: "content_policy";
818
+ empty_output: "empty_output";
834
819
  invalid_request: "invalid_request";
835
820
  invalid_response: "invalid_response";
821
+ network: "network";
822
+ permission: "permission";
836
823
  quota: "quota";
837
- content_policy: "content_policy";
838
- empty_output: "empty_output";
839
- tool_errors: "tool_errors";
824
+ rate_limit: "rate_limit";
825
+ server: "server";
840
826
  suppressed_output: "suppressed_output";
827
+ timeout: "timeout";
828
+ tool_errors: "tool_errors";
829
+ unknown: "unknown";
841
830
  }>>;
842
831
  eventId: z.ZodOptional<z.ZodString>;
843
832
  sentryEventUrl: z.ZodOptional<z.ZodString>;
@@ -862,16 +851,16 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
862
851
  title: z.ZodString;
863
852
  }, z.core.$strict>>>;
864
853
  icon: z.ZodOptional<z.ZodEnum<{
865
- check: "check";
854
+ activity: "activity";
855
+ brain: "brain";
866
856
  calendar: "calendar";
867
- warning: "warning";
857
+ check: "check";
858
+ database: "database";
868
859
  info: "info";
869
860
  key: "key";
870
861
  link: "link";
871
- activity: "activity";
872
- brain: "brain";
873
- database: "database";
874
862
  sparkles: "sparkles";
863
+ warning: "warning";
875
864
  }>>;
876
865
  preview: z.ZodOptional<z.ZodString>;
877
866
  title: z.ZodString;
@@ -908,16 +897,16 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
908
897
  deny: "deny";
909
898
  }>;
910
899
  riskLevel: z.ZodEnum<{
900
+ critical: "critical";
901
+ high: "high";
911
902
  low: "low";
912
903
  medium: "medium";
913
- high: "high";
914
- critical: "critical";
915
904
  }>;
916
905
  userAuthorization: z.ZodEnum<{
917
- unknown: "unknown";
906
+ high: "high";
918
907
  low: "low";
919
908
  medium: "medium";
920
- high: "high";
909
+ unknown: "unknown";
921
910
  }>;
922
911
  }, z.core.$strict>, z.ZodObject<{
923
912
  type: z.ZodLiteral<"compaction">;
@@ -952,11 +941,11 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
952
941
  title: z.ZodOptional<z.ZodString>;
953
942
  parentToolCallId: z.ZodOptional<z.ZodString>;
954
943
  status: z.ZodEnum<{
955
- error: "error";
956
- running: "running";
944
+ aborted: "aborted";
957
945
  blocked: "blocked";
958
946
  completed: "completed";
959
- aborted: "aborted";
947
+ error: "error";
948
+ running: "running";
960
949
  }>;
961
950
  }, z.core.$strict>], "type">;
962
951
  /** One ordered, privacy-safe canonical event projected for API consumers. */
@@ -967,9 +956,9 @@ export declare const conversationReportEventSchema: z.ZodObject<{
967
956
  type: z.ZodLiteral<"message">;
968
957
  messageId: z.ZodString;
969
958
  role: z.ZodEnum<{
959
+ assistant: "assistant";
970
960
  system: "system";
971
961
  user: "user";
972
- assistant: "assistant";
973
962
  }>;
974
963
  source: z.ZodOptional<z.ZodEnum<{
975
964
  slack: "slack";
@@ -989,12 +978,12 @@ export declare const conversationReportEventSchema: z.ZodObject<{
989
978
  }, z.core.$strict>>>;
990
979
  eventType: z.ZodOptional<z.ZodString>;
991
980
  eventObjectType: z.ZodOptional<z.ZodEnum<{
981
+ automation: "automation";
982
+ calendar_event: "calendar_event";
992
983
  code_change: "code_change";
993
- task: "task";
994
984
  deployment: "deployment";
995
- calendar_event: "calendar_event";
996
- automation: "automation";
997
985
  item: "item";
986
+ task: "task";
998
987
  }>>;
999
988
  explicitMention: z.ZodOptional<z.ZodBoolean>;
1000
989
  trustedSummary: z.ZodOptional<z.ZodString>;
@@ -1027,9 +1016,9 @@ export declare const conversationReportEventSchema: z.ZodObject<{
1027
1016
  toolCallId: z.ZodString;
1028
1017
  name: z.ZodString;
1029
1018
  status: z.ZodEnum<{
1019
+ completed: "completed";
1030
1020
  error: "error";
1031
1021
  running: "running";
1032
- completed: "completed";
1033
1022
  }>;
1034
1023
  startedAt: z.ZodOptional<z.ZodString>;
1035
1024
  startedSeq: z.ZodOptional<z.ZodNumber>;
@@ -1069,21 +1058,21 @@ export declare const conversationReportEventSchema: z.ZodObject<{
1069
1058
  persistence_failed: "persistence_failed";
1070
1059
  }>;
1071
1060
  failureReason: z.ZodOptional<z.ZodEnum<{
1072
- unknown: "unknown";
1073
- capacity: "capacity";
1074
1061
  auth: "auth";
1075
- permission: "permission";
1076
- rate_limit: "rate_limit";
1077
- timeout: "timeout";
1078
- network: "network";
1079
- server: "server";
1062
+ capacity: "capacity";
1063
+ content_policy: "content_policy";
1064
+ empty_output: "empty_output";
1080
1065
  invalid_request: "invalid_request";
1081
1066
  invalid_response: "invalid_response";
1067
+ network: "network";
1068
+ permission: "permission";
1082
1069
  quota: "quota";
1083
- content_policy: "content_policy";
1084
- empty_output: "empty_output";
1085
- tool_errors: "tool_errors";
1070
+ rate_limit: "rate_limit";
1071
+ server: "server";
1086
1072
  suppressed_output: "suppressed_output";
1073
+ timeout: "timeout";
1074
+ tool_errors: "tool_errors";
1075
+ unknown: "unknown";
1087
1076
  }>>;
1088
1077
  eventId: z.ZodOptional<z.ZodString>;
1089
1078
  sentryEventUrl: z.ZodOptional<z.ZodString>;
@@ -1108,16 +1097,16 @@ export declare const conversationReportEventSchema: z.ZodObject<{
1108
1097
  title: z.ZodString;
1109
1098
  }, z.core.$strict>>>;
1110
1099
  icon: z.ZodOptional<z.ZodEnum<{
1111
- check: "check";
1100
+ activity: "activity";
1101
+ brain: "brain";
1112
1102
  calendar: "calendar";
1113
- warning: "warning";
1103
+ check: "check";
1104
+ database: "database";
1114
1105
  info: "info";
1115
1106
  key: "key";
1116
1107
  link: "link";
1117
- activity: "activity";
1118
- brain: "brain";
1119
- database: "database";
1120
1108
  sparkles: "sparkles";
1109
+ warning: "warning";
1121
1110
  }>>;
1122
1111
  preview: z.ZodOptional<z.ZodString>;
1123
1112
  title: z.ZodString;
@@ -1154,16 +1143,16 @@ export declare const conversationReportEventSchema: z.ZodObject<{
1154
1143
  deny: "deny";
1155
1144
  }>;
1156
1145
  riskLevel: z.ZodEnum<{
1146
+ critical: "critical";
1147
+ high: "high";
1157
1148
  low: "low";
1158
1149
  medium: "medium";
1159
- high: "high";
1160
- critical: "critical";
1161
1150
  }>;
1162
1151
  userAuthorization: z.ZodEnum<{
1163
- unknown: "unknown";
1152
+ high: "high";
1164
1153
  low: "low";
1165
1154
  medium: "medium";
1166
- high: "high";
1155
+ unknown: "unknown";
1167
1156
  }>;
1168
1157
  }, z.core.$strict>, z.ZodObject<{
1169
1158
  type: z.ZodLiteral<"compaction">;
@@ -1198,11 +1187,11 @@ export declare const conversationReportEventSchema: z.ZodObject<{
1198
1187
  title: z.ZodOptional<z.ZodString>;
1199
1188
  parentToolCallId: z.ZodOptional<z.ZodString>;
1200
1189
  status: z.ZodEnum<{
1201
- error: "error";
1202
- running: "running";
1190
+ aborted: "aborted";
1203
1191
  blocked: "blocked";
1204
1192
  completed: "completed";
1205
- aborted: "aborted";
1193
+ error: "error";
1194
+ running: "running";
1206
1195
  }>;
1207
1196
  }, z.core.$strict>], "type">;
1208
1197
  model: z.ZodOptional<z.ZodObject<{
@@ -1277,8 +1266,8 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1277
1266
  activityPreview: z.ZodOptional<z.ZodObject<{
1278
1267
  createdAt: z.ZodString;
1279
1268
  role: z.ZodEnum<{
1280
- user: "user";
1281
1269
  assistant: "assistant";
1270
+ user: "user";
1282
1271
  }>;
1283
1272
  text: z.ZodString;
1284
1273
  }, z.core.$strict>>;
@@ -1330,13 +1319,13 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1330
1319
  conversationId: z.ZodString;
1331
1320
  isParticipant: z.ZodBoolean;
1332
1321
  visibility: z.ZodOptional<z.ZodEnum<{
1333
- public: "public";
1334
1322
  private: "private";
1323
+ public: "public";
1335
1324
  }>>;
1336
1325
  status: z.ZodEnum<{
1337
- failed: "failed";
1338
- completed: "completed";
1339
1326
  active: "active";
1327
+ completed: "completed";
1328
+ failed: "failed";
1340
1329
  }>;
1341
1330
  startedAt: z.ZodString;
1342
1331
  lastSeenAt: z.ZodString;
@@ -1370,35 +1359,35 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1370
1359
  annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
1371
1360
  kind: z.ZodLiteral<"resource_link">;
1372
1361
  objectType: z.ZodOptional<z.ZodEnum<{
1362
+ automation: "automation";
1363
+ calendar_event: "calendar_event";
1373
1364
  code_change: "code_change";
1374
- task: "task";
1375
1365
  deployment: "deployment";
1376
- calendar_event: "calendar_event";
1377
- automation: "automation";
1378
1366
  item: "item";
1367
+ task: "task";
1379
1368
  }>>;
1380
1369
  key: z.ZodString;
1381
1370
  label: z.ZodString;
1382
1371
  url: z.ZodString;
1383
1372
  description: z.ZodOptional<z.ZodString>;
1384
1373
  status: z.ZodOptional<z.ZodEnum<{
1385
- warning: "warning";
1386
- draft: "draft";
1387
1374
  closed: "closed";
1375
+ draft: "draft";
1388
1376
  merged: "merged";
1389
1377
  open: "open";
1378
+ warning: "warning";
1390
1379
  }>>;
1391
1380
  }, z.core.$strict>, z.ZodObject<{
1392
1381
  kind: z.ZodLiteral<"object">;
1393
1382
  key: z.ZodString;
1394
1383
  label: z.ZodString;
1395
1384
  objectType: z.ZodEnum<{
1385
+ automation: "automation";
1386
+ calendar_event: "calendar_event";
1396
1387
  code_change: "code_change";
1397
- task: "task";
1398
1388
  deployment: "deployment";
1399
- calendar_event: "calendar_event";
1400
- automation: "automation";
1401
1389
  item: "item";
1390
+ task: "task";
1402
1391
  }>;
1403
1392
  title: z.ZodString;
1404
1393
  url: z.ZodNullable<z.ZodURL>;
@@ -1415,9 +1404,9 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1415
1404
  targetBranch: z.ZodOptional<z.ZodString>;
1416
1405
  reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1417
1406
  review: z.ZodOptional<z.ZodEnum<{
1418
- required: "required";
1419
1407
  approved: "approved";
1420
1408
  changes_requested: "changes_requested";
1409
+ required: "required";
1421
1410
  }>>;
1422
1411
  checks: z.ZodOptional<z.ZodObject<{
1423
1412
  passed: z.ZodNumber;
@@ -1454,20 +1443,20 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1454
1443
  }, z.core.$strip>>>>;
1455
1444
  sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1456
1445
  icon: z.ZodOptional<z.ZodEnum<{
1457
- "git-pull-request": "git-pull-request";
1458
- "git-merge": "git-merge";
1459
- "circle-dot": "circle-dot";
1460
1446
  "circle-dashed": "circle-dashed";
1447
+ "circle-dot": "circle-dot";
1461
1448
  "circle-x": "circle-x";
1449
+ "git-merge": "git-merge";
1450
+ "git-pull-request": "git-pull-request";
1462
1451
  "triangle-alert": "triangle-alert";
1463
1452
  }>>;
1464
1453
  objectType: z.ZodOptional<z.ZodEnum<{
1454
+ automation: "automation";
1455
+ calendar_event: "calendar_event";
1465
1456
  code_change: "code_change";
1466
- task: "task";
1467
1457
  deployment: "deployment";
1468
- calendar_event: "calendar_event";
1469
- automation: "automation";
1470
1458
  item: "item";
1459
+ task: "task";
1471
1460
  }>>;
1472
1461
  status: z.ZodOptional<z.ZodString>;
1473
1462
  key: z.ZodString;
@@ -1524,12 +1513,12 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1524
1513
  intent: z.ZodString;
1525
1514
  outcome: z.ZodObject<{
1526
1515
  status: z.ZodEnum<{
1527
- blocked: "blocked";
1528
- in_progress: "in_progress";
1516
+ abandoned: "abandoned";
1529
1517
  answered: "answered";
1518
+ blocked: "blocked";
1530
1519
  done: "done";
1520
+ in_progress: "in_progress";
1531
1521
  partial: "partial";
1532
- abandoned: "abandoned";
1533
1522
  }>;
1534
1523
  text: z.ZodString;
1535
1524
  }, z.core.$strict>;
@@ -1537,9 +1526,9 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1537
1526
  text: z.ZodString;
1538
1527
  by: z.ZodOptional<z.ZodString>;
1539
1528
  kind: z.ZodEnum<{
1540
- stated: "stated";
1541
- confirmed: "confirmed";
1542
1529
  assumed: "assumed";
1530
+ confirmed: "confirmed";
1531
+ stated: "stated";
1543
1532
  }>;
1544
1533
  }, z.core.$strict>>;
1545
1534
  openDecisions: z.ZodArray<z.ZodObject<{
@@ -1549,9 +1538,9 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1549
1538
  facts: z.ZodArray<z.ZodString>;
1550
1539
  links: z.ZodArray<z.ZodObject<{
1551
1540
  kind: z.ZodEnum<{
1552
- url: "url";
1553
1541
  code_change: "code_change";
1554
1542
  resource: "resource";
1543
+ url: "url";
1555
1544
  }>;
1556
1545
  label: z.ZodString;
1557
1546
  url: z.ZodString;
@@ -1587,9 +1576,9 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1587
1576
  type: z.ZodLiteral<"message">;
1588
1577
  messageId: z.ZodString;
1589
1578
  role: z.ZodEnum<{
1579
+ assistant: "assistant";
1590
1580
  system: "system";
1591
1581
  user: "user";
1592
- assistant: "assistant";
1593
1582
  }>;
1594
1583
  source: z.ZodOptional<z.ZodEnum<{
1595
1584
  slack: "slack";
@@ -1609,12 +1598,12 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1609
1598
  }, z.core.$strict>>>;
1610
1599
  eventType: z.ZodOptional<z.ZodString>;
1611
1600
  eventObjectType: z.ZodOptional<z.ZodEnum<{
1601
+ automation: "automation";
1602
+ calendar_event: "calendar_event";
1612
1603
  code_change: "code_change";
1613
- task: "task";
1614
1604
  deployment: "deployment";
1615
- calendar_event: "calendar_event";
1616
- automation: "automation";
1617
1605
  item: "item";
1606
+ task: "task";
1618
1607
  }>>;
1619
1608
  explicitMention: z.ZodOptional<z.ZodBoolean>;
1620
1609
  trustedSummary: z.ZodOptional<z.ZodString>;
@@ -1647,9 +1636,9 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1647
1636
  toolCallId: z.ZodString;
1648
1637
  name: z.ZodString;
1649
1638
  status: z.ZodEnum<{
1639
+ completed: "completed";
1650
1640
  error: "error";
1651
1641
  running: "running";
1652
- completed: "completed";
1653
1642
  }>;
1654
1643
  startedAt: z.ZodOptional<z.ZodString>;
1655
1644
  startedSeq: z.ZodOptional<z.ZodNumber>;
@@ -1689,21 +1678,21 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1689
1678
  persistence_failed: "persistence_failed";
1690
1679
  }>;
1691
1680
  failureReason: z.ZodOptional<z.ZodEnum<{
1692
- unknown: "unknown";
1693
- capacity: "capacity";
1694
1681
  auth: "auth";
1695
- permission: "permission";
1696
- rate_limit: "rate_limit";
1697
- timeout: "timeout";
1698
- network: "network";
1699
- server: "server";
1682
+ capacity: "capacity";
1683
+ content_policy: "content_policy";
1684
+ empty_output: "empty_output";
1700
1685
  invalid_request: "invalid_request";
1701
1686
  invalid_response: "invalid_response";
1687
+ network: "network";
1688
+ permission: "permission";
1702
1689
  quota: "quota";
1703
- content_policy: "content_policy";
1704
- empty_output: "empty_output";
1705
- tool_errors: "tool_errors";
1690
+ rate_limit: "rate_limit";
1691
+ server: "server";
1706
1692
  suppressed_output: "suppressed_output";
1693
+ timeout: "timeout";
1694
+ tool_errors: "tool_errors";
1695
+ unknown: "unknown";
1707
1696
  }>>;
1708
1697
  eventId: z.ZodOptional<z.ZodString>;
1709
1698
  sentryEventUrl: z.ZodOptional<z.ZodString>;
@@ -1728,16 +1717,16 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1728
1717
  title: z.ZodString;
1729
1718
  }, z.core.$strict>>>;
1730
1719
  icon: z.ZodOptional<z.ZodEnum<{
1731
- check: "check";
1720
+ activity: "activity";
1721
+ brain: "brain";
1732
1722
  calendar: "calendar";
1733
- warning: "warning";
1723
+ check: "check";
1724
+ database: "database";
1734
1725
  info: "info";
1735
1726
  key: "key";
1736
1727
  link: "link";
1737
- activity: "activity";
1738
- brain: "brain";
1739
- database: "database";
1740
1728
  sparkles: "sparkles";
1729
+ warning: "warning";
1741
1730
  }>>;
1742
1731
  preview: z.ZodOptional<z.ZodString>;
1743
1732
  title: z.ZodString;
@@ -1774,16 +1763,16 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1774
1763
  deny: "deny";
1775
1764
  }>;
1776
1765
  riskLevel: z.ZodEnum<{
1766
+ critical: "critical";
1767
+ high: "high";
1777
1768
  low: "low";
1778
1769
  medium: "medium";
1779
- high: "high";
1780
- critical: "critical";
1781
1770
  }>;
1782
1771
  userAuthorization: z.ZodEnum<{
1783
- unknown: "unknown";
1772
+ high: "high";
1784
1773
  low: "low";
1785
1774
  medium: "medium";
1786
- high: "high";
1775
+ unknown: "unknown";
1787
1776
  }>;
1788
1777
  }, z.core.$strict>, z.ZodObject<{
1789
1778
  type: z.ZodLiteral<"compaction">;
@@ -1818,11 +1807,11 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1818
1807
  title: z.ZodOptional<z.ZodString>;
1819
1808
  parentToolCallId: z.ZodOptional<z.ZodString>;
1820
1809
  status: z.ZodEnum<{
1821
- error: "error";
1822
- running: "running";
1810
+ aborted: "aborted";
1823
1811
  blocked: "blocked";
1824
1812
  completed: "completed";
1825
- aborted: "aborted";
1813
+ error: "error";
1814
+ running: "running";
1826
1815
  }>;
1827
1816
  }, z.core.$strict>], "type">;
1828
1817
  model: z.ZodOptional<z.ZodObject<{
@@ -1874,8 +1863,8 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1874
1863
  triggerMessageId: z.ZodOptional<z.ZodString>;
1875
1864
  triggerLabel: z.ZodOptional<z.ZodString>;
1876
1865
  credentialMode: z.ZodOptional<z.ZodEnum<{
1877
- system: "system";
1878
1866
  creator: "creator";
1867
+ system: "system";
1879
1868
  }>>;
1880
1869
  credentialUser: z.ZodOptional<z.ZodString>;
1881
1870
  }, z.core.$strict>>;
@@ -1888,9 +1877,9 @@ export declare const conversationEventPageSchema: z.ZodObject<{
1888
1877
  type: z.ZodLiteral<"message">;
1889
1878
  messageId: z.ZodString;
1890
1879
  role: z.ZodEnum<{
1880
+ assistant: "assistant";
1891
1881
  system: "system";
1892
1882
  user: "user";
1893
- assistant: "assistant";
1894
1883
  }>;
1895
1884
  source: z.ZodOptional<z.ZodEnum<{
1896
1885
  slack: "slack";
@@ -1910,12 +1899,12 @@ export declare const conversationEventPageSchema: z.ZodObject<{
1910
1899
  }, z.core.$strict>>>;
1911
1900
  eventType: z.ZodOptional<z.ZodString>;
1912
1901
  eventObjectType: z.ZodOptional<z.ZodEnum<{
1902
+ automation: "automation";
1903
+ calendar_event: "calendar_event";
1913
1904
  code_change: "code_change";
1914
- task: "task";
1915
1905
  deployment: "deployment";
1916
- calendar_event: "calendar_event";
1917
- automation: "automation";
1918
1906
  item: "item";
1907
+ task: "task";
1919
1908
  }>>;
1920
1909
  explicitMention: z.ZodOptional<z.ZodBoolean>;
1921
1910
  trustedSummary: z.ZodOptional<z.ZodString>;
@@ -1948,9 +1937,9 @@ export declare const conversationEventPageSchema: z.ZodObject<{
1948
1937
  toolCallId: z.ZodString;
1949
1938
  name: z.ZodString;
1950
1939
  status: z.ZodEnum<{
1940
+ completed: "completed";
1951
1941
  error: "error";
1952
1942
  running: "running";
1953
- completed: "completed";
1954
1943
  }>;
1955
1944
  startedAt: z.ZodOptional<z.ZodString>;
1956
1945
  startedSeq: z.ZodOptional<z.ZodNumber>;
@@ -1990,21 +1979,21 @@ export declare const conversationEventPageSchema: z.ZodObject<{
1990
1979
  persistence_failed: "persistence_failed";
1991
1980
  }>;
1992
1981
  failureReason: z.ZodOptional<z.ZodEnum<{
1993
- unknown: "unknown";
1994
- capacity: "capacity";
1995
1982
  auth: "auth";
1996
- permission: "permission";
1997
- rate_limit: "rate_limit";
1998
- timeout: "timeout";
1999
- network: "network";
2000
- server: "server";
1983
+ capacity: "capacity";
1984
+ content_policy: "content_policy";
1985
+ empty_output: "empty_output";
2001
1986
  invalid_request: "invalid_request";
2002
1987
  invalid_response: "invalid_response";
1988
+ network: "network";
1989
+ permission: "permission";
2003
1990
  quota: "quota";
2004
- content_policy: "content_policy";
2005
- empty_output: "empty_output";
2006
- tool_errors: "tool_errors";
1991
+ rate_limit: "rate_limit";
1992
+ server: "server";
2007
1993
  suppressed_output: "suppressed_output";
1994
+ timeout: "timeout";
1995
+ tool_errors: "tool_errors";
1996
+ unknown: "unknown";
2008
1997
  }>>;
2009
1998
  eventId: z.ZodOptional<z.ZodString>;
2010
1999
  sentryEventUrl: z.ZodOptional<z.ZodString>;
@@ -2029,16 +2018,16 @@ export declare const conversationEventPageSchema: z.ZodObject<{
2029
2018
  title: z.ZodString;
2030
2019
  }, z.core.$strict>>>;
2031
2020
  icon: z.ZodOptional<z.ZodEnum<{
2032
- check: "check";
2021
+ activity: "activity";
2022
+ brain: "brain";
2033
2023
  calendar: "calendar";
2034
- warning: "warning";
2024
+ check: "check";
2025
+ database: "database";
2035
2026
  info: "info";
2036
2027
  key: "key";
2037
2028
  link: "link";
2038
- activity: "activity";
2039
- brain: "brain";
2040
- database: "database";
2041
2029
  sparkles: "sparkles";
2030
+ warning: "warning";
2042
2031
  }>>;
2043
2032
  preview: z.ZodOptional<z.ZodString>;
2044
2033
  title: z.ZodString;
@@ -2075,16 +2064,16 @@ export declare const conversationEventPageSchema: z.ZodObject<{
2075
2064
  deny: "deny";
2076
2065
  }>;
2077
2066
  riskLevel: z.ZodEnum<{
2067
+ critical: "critical";
2068
+ high: "high";
2078
2069
  low: "low";
2079
2070
  medium: "medium";
2080
- high: "high";
2081
- critical: "critical";
2082
2071
  }>;
2083
2072
  userAuthorization: z.ZodEnum<{
2084
- unknown: "unknown";
2073
+ high: "high";
2085
2074
  low: "low";
2086
2075
  medium: "medium";
2087
- high: "high";
2076
+ unknown: "unknown";
2088
2077
  }>;
2089
2078
  }, z.core.$strict>, z.ZodObject<{
2090
2079
  type: z.ZodLiteral<"compaction">;
@@ -2119,11 +2108,11 @@ export declare const conversationEventPageSchema: z.ZodObject<{
2119
2108
  title: z.ZodOptional<z.ZodString>;
2120
2109
  parentToolCallId: z.ZodOptional<z.ZodString>;
2121
2110
  status: z.ZodEnum<{
2122
- error: "error";
2123
- running: "running";
2111
+ aborted: "aborted";
2124
2112
  blocked: "blocked";
2125
2113
  completed: "completed";
2126
- aborted: "aborted";
2114
+ error: "error";
2115
+ running: "running";
2127
2116
  }>;
2128
2117
  }, z.core.$strict>], "type">;
2129
2118
  model: z.ZodOptional<z.ZodObject<{
@@ -2170,8 +2159,8 @@ export declare const conversationFeedSchema: z.ZodObject<{
2170
2159
  activityPreview: z.ZodOptional<z.ZodObject<{
2171
2160
  createdAt: z.ZodString;
2172
2161
  role: z.ZodEnum<{
2173
- user: "user";
2174
2162
  assistant: "assistant";
2163
+ user: "user";
2175
2164
  }>;
2176
2165
  text: z.ZodString;
2177
2166
  }, z.core.$strict>>;
@@ -2223,13 +2212,13 @@ export declare const conversationFeedSchema: z.ZodObject<{
2223
2212
  conversationId: z.ZodString;
2224
2213
  isParticipant: z.ZodBoolean;
2225
2214
  visibility: z.ZodOptional<z.ZodEnum<{
2226
- public: "public";
2227
2215
  private: "private";
2216
+ public: "public";
2228
2217
  }>>;
2229
2218
  status: z.ZodEnum<{
2230
- failed: "failed";
2231
- completed: "completed";
2232
2219
  active: "active";
2220
+ completed: "completed";
2221
+ failed: "failed";
2233
2222
  }>;
2234
2223
  startedAt: z.ZodString;
2235
2224
  lastSeenAt: z.ZodString;
@@ -2263,35 +2252,35 @@ export declare const conversationFeedSchema: z.ZodObject<{
2263
2252
  annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
2264
2253
  kind: z.ZodLiteral<"resource_link">;
2265
2254
  objectType: z.ZodOptional<z.ZodEnum<{
2255
+ automation: "automation";
2256
+ calendar_event: "calendar_event";
2266
2257
  code_change: "code_change";
2267
- task: "task";
2268
2258
  deployment: "deployment";
2269
- calendar_event: "calendar_event";
2270
- automation: "automation";
2271
2259
  item: "item";
2260
+ task: "task";
2272
2261
  }>>;
2273
2262
  key: z.ZodString;
2274
2263
  label: z.ZodString;
2275
2264
  url: z.ZodString;
2276
2265
  description: z.ZodOptional<z.ZodString>;
2277
2266
  status: z.ZodOptional<z.ZodEnum<{
2278
- warning: "warning";
2279
- draft: "draft";
2280
2267
  closed: "closed";
2268
+ draft: "draft";
2281
2269
  merged: "merged";
2282
2270
  open: "open";
2271
+ warning: "warning";
2283
2272
  }>>;
2284
2273
  }, z.core.$strict>, z.ZodObject<{
2285
2274
  kind: z.ZodLiteral<"object">;
2286
2275
  key: z.ZodString;
2287
2276
  label: z.ZodString;
2288
2277
  objectType: z.ZodEnum<{
2278
+ automation: "automation";
2279
+ calendar_event: "calendar_event";
2289
2280
  code_change: "code_change";
2290
- task: "task";
2291
2281
  deployment: "deployment";
2292
- calendar_event: "calendar_event";
2293
- automation: "automation";
2294
2282
  item: "item";
2283
+ task: "task";
2295
2284
  }>;
2296
2285
  title: z.ZodString;
2297
2286
  url: z.ZodNullable<z.ZodURL>;
@@ -2308,9 +2297,9 @@ export declare const conversationFeedSchema: z.ZodObject<{
2308
2297
  targetBranch: z.ZodOptional<z.ZodString>;
2309
2298
  reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
2310
2299
  review: z.ZodOptional<z.ZodEnum<{
2311
- required: "required";
2312
2300
  approved: "approved";
2313
2301
  changes_requested: "changes_requested";
2302
+ required: "required";
2314
2303
  }>>;
2315
2304
  checks: z.ZodOptional<z.ZodObject<{
2316
2305
  passed: z.ZodNumber;
@@ -2347,20 +2336,20 @@ export declare const conversationFeedSchema: z.ZodObject<{
2347
2336
  }, z.core.$strip>>>>;
2348
2337
  sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2349
2338
  icon: z.ZodOptional<z.ZodEnum<{
2350
- "git-pull-request": "git-pull-request";
2351
- "git-merge": "git-merge";
2352
- "circle-dot": "circle-dot";
2353
2339
  "circle-dashed": "circle-dashed";
2340
+ "circle-dot": "circle-dot";
2354
2341
  "circle-x": "circle-x";
2342
+ "git-merge": "git-merge";
2343
+ "git-pull-request": "git-pull-request";
2355
2344
  "triangle-alert": "triangle-alert";
2356
2345
  }>>;
2357
2346
  objectType: z.ZodOptional<z.ZodEnum<{
2347
+ automation: "automation";
2348
+ calendar_event: "calendar_event";
2358
2349
  code_change: "code_change";
2359
- task: "task";
2360
2350
  deployment: "deployment";
2361
- calendar_event: "calendar_event";
2362
- automation: "automation";
2363
2351
  item: "item";
2352
+ task: "task";
2364
2353
  }>>;
2365
2354
  status: z.ZodOptional<z.ZodString>;
2366
2355
  key: z.ZodString;
@@ -2560,8 +2549,6 @@ type ConversationPendingMessage = z.infer<typeof conversationPendingMessageSchem
2560
2549
  type ConversationPendingMessagesReport = z.infer<typeof conversationPendingMessagesReportSchema>;
2561
2550
  type CancelConversationPendingMessagesBody = z.infer<typeof cancelConversationPendingMessagesBodySchema>;
2562
2551
  type CancelConversationPendingMessagesResponse = z.infer<typeof cancelConversationPendingMessagesResponseSchema>;
2563
- //#endregion
2564
- //#region src/api/schema/conversation-stop.d.ts
2565
2552
  /**
2566
2553
  * Result of stopping the active Turn.
2567
2554
  *
@@ -2582,8 +2569,6 @@ export declare const stopConversationTurnResponseSchema: z.ZodObject<{
2582
2569
  }, z.core.$strict>>;
2583
2570
  }, z.core.$strict>;
2584
2571
  type StopConversationTurnResponse = z.infer<typeof stopConversationTurnResponseSchema>;
2585
- //#endregion
2586
- //#region src/api/schema/child-agent.d.ts
2587
2572
  /**
2588
2573
  * One direct child agent of a Conversation, from agent invocation records.
2589
2574
  *
@@ -2642,12 +2627,12 @@ export declare const conversationChildAgentSchema: z.ZodObject<{
2642
2627
  name: z.ZodOptional<z.ZodString>;
2643
2628
  redacted: z.ZodOptional<z.ZodLiteral<true>>;
2644
2629
  status: z.ZodEnum<{
2645
- paused: "paused";
2630
+ blocked: "blocked";
2631
+ completed: "completed";
2646
2632
  failed: "failed";
2633
+ paused: "paused";
2647
2634
  pending: "pending";
2648
2635
  running: "running";
2649
- blocked: "blocked";
2650
- completed: "completed";
2651
2636
  stopped: "stopped";
2652
2637
  }>;
2653
2638
  task: z.ZodOptional<z.ZodString>;
@@ -2707,12 +2692,12 @@ export declare const conversationChildAgentsReportSchema: z.ZodObject<{
2707
2692
  name: z.ZodOptional<z.ZodString>;
2708
2693
  redacted: z.ZodOptional<z.ZodLiteral<true>>;
2709
2694
  status: z.ZodEnum<{
2710
- paused: "paused";
2695
+ blocked: "blocked";
2696
+ completed: "completed";
2711
2697
  failed: "failed";
2698
+ paused: "paused";
2712
2699
  pending: "pending";
2713
2700
  running: "running";
2714
- blocked: "blocked";
2715
- completed: "completed";
2716
2701
  stopped: "stopped";
2717
2702
  }>;
2718
2703
  task: z.ZodOptional<z.ZodString>;
@@ -2723,8 +2708,6 @@ export declare const conversationChildAgentsReportSchema: z.ZodObject<{
2723
2708
  }, z.core.$strict>;
2724
2709
  type ConversationChildAgent = z.infer<typeof conversationChildAgentSchema>;
2725
2710
  type ConversationChildAgentsReport = z.infer<typeof conversationChildAgentsReportSchema>;
2726
- //#endregion
2727
- //#region src/api/schema/person.d.ts
2728
2711
  export declare const personParamsSchema: z.ZodObject<{
2729
2712
  email: z.ZodString;
2730
2713
  }, z.core.$strict>;
@@ -2919,11 +2902,11 @@ export declare const actorProfileReportSchema: z.ZodObject<{
2919
2902
  }, z.core.$strict>>>;
2920
2903
  generatedAt: z.ZodString;
2921
2904
  locations: z.ZodArray<z.ZodObject<{
2922
- failed: z.ZodNumber;
2923
- durationMs: z.ZodNumber;
2924
- label: z.ZodString;
2925
2905
  active: z.ZodNumber;
2926
2906
  conversations: z.ZodNumber;
2907
+ durationMs: z.ZodNumber;
2908
+ failed: z.ZodNumber;
2909
+ label: z.ZodString;
2927
2910
  tokens: z.ZodOptional<z.ZodNumber>;
2928
2911
  }, z.core.$strict>>;
2929
2912
  recentConversations: z.ZodArray<z.ZodObject<{
@@ -2931,8 +2914,8 @@ export declare const actorProfileReportSchema: z.ZodObject<{
2931
2914
  activityPreview: z.ZodOptional<z.ZodObject<{
2932
2915
  createdAt: z.ZodString;
2933
2916
  role: z.ZodEnum<{
2934
- user: "user";
2935
2917
  assistant: "assistant";
2918
+ user: "user";
2936
2919
  }>;
2937
2920
  text: z.ZodString;
2938
2921
  }, z.core.$strict>>;
@@ -2984,13 +2967,13 @@ export declare const actorProfileReportSchema: z.ZodObject<{
2984
2967
  conversationId: z.ZodString;
2985
2968
  isParticipant: z.ZodBoolean;
2986
2969
  visibility: z.ZodOptional<z.ZodEnum<{
2987
- public: "public";
2988
2970
  private: "private";
2971
+ public: "public";
2989
2972
  }>>;
2990
2973
  status: z.ZodEnum<{
2991
- failed: "failed";
2992
- completed: "completed";
2993
2974
  active: "active";
2975
+ completed: "completed";
2976
+ failed: "failed";
2994
2977
  }>;
2995
2978
  startedAt: z.ZodString;
2996
2979
  lastSeenAt: z.ZodString;
@@ -3024,35 +3007,35 @@ export declare const actorProfileReportSchema: z.ZodObject<{
3024
3007
  annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
3025
3008
  kind: z.ZodLiteral<"resource_link">;
3026
3009
  objectType: z.ZodOptional<z.ZodEnum<{
3010
+ automation: "automation";
3011
+ calendar_event: "calendar_event";
3027
3012
  code_change: "code_change";
3028
- task: "task";
3029
3013
  deployment: "deployment";
3030
- calendar_event: "calendar_event";
3031
- automation: "automation";
3032
3014
  item: "item";
3015
+ task: "task";
3033
3016
  }>>;
3034
3017
  key: z.ZodString;
3035
3018
  label: z.ZodString;
3036
3019
  url: z.ZodString;
3037
3020
  description: z.ZodOptional<z.ZodString>;
3038
3021
  status: z.ZodOptional<z.ZodEnum<{
3039
- warning: "warning";
3040
- draft: "draft";
3041
3022
  closed: "closed";
3023
+ draft: "draft";
3042
3024
  merged: "merged";
3043
3025
  open: "open";
3026
+ warning: "warning";
3044
3027
  }>>;
3045
3028
  }, z.core.$strict>, z.ZodObject<{
3046
3029
  kind: z.ZodLiteral<"object">;
3047
3030
  key: z.ZodString;
3048
3031
  label: z.ZodString;
3049
3032
  objectType: z.ZodEnum<{
3033
+ automation: "automation";
3034
+ calendar_event: "calendar_event";
3050
3035
  code_change: "code_change";
3051
- task: "task";
3052
3036
  deployment: "deployment";
3053
- calendar_event: "calendar_event";
3054
- automation: "automation";
3055
3037
  item: "item";
3038
+ task: "task";
3056
3039
  }>;
3057
3040
  title: z.ZodString;
3058
3041
  url: z.ZodNullable<z.ZodURL>;
@@ -3069,9 +3052,9 @@ export declare const actorProfileReportSchema: z.ZodObject<{
3069
3052
  targetBranch: z.ZodOptional<z.ZodString>;
3070
3053
  reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
3071
3054
  review: z.ZodOptional<z.ZodEnum<{
3072
- required: "required";
3073
3055
  approved: "approved";
3074
3056
  changes_requested: "changes_requested";
3057
+ required: "required";
3075
3058
  }>>;
3076
3059
  checks: z.ZodOptional<z.ZodObject<{
3077
3060
  passed: z.ZodNumber;
@@ -3108,20 +3091,20 @@ export declare const actorProfileReportSchema: z.ZodObject<{
3108
3091
  }, z.core.$strip>>>>;
3109
3092
  sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
3110
3093
  icon: z.ZodOptional<z.ZodEnum<{
3111
- "git-pull-request": "git-pull-request";
3112
- "git-merge": "git-merge";
3113
- "circle-dot": "circle-dot";
3114
3094
  "circle-dashed": "circle-dashed";
3095
+ "circle-dot": "circle-dot";
3115
3096
  "circle-x": "circle-x";
3097
+ "git-merge": "git-merge";
3098
+ "git-pull-request": "git-pull-request";
3116
3099
  "triangle-alert": "triangle-alert";
3117
3100
  }>>;
3118
3101
  objectType: z.ZodOptional<z.ZodEnum<{
3102
+ automation: "automation";
3103
+ calendar_event: "calendar_event";
3119
3104
  code_change: "code_change";
3120
- task: "task";
3121
3105
  deployment: "deployment";
3122
- calendar_event: "calendar_event";
3123
- automation: "automation";
3124
3106
  item: "item";
3107
+ task: "task";
3125
3108
  }>>;
3126
3109
  status: z.ZodOptional<z.ZodString>;
3127
3110
  key: z.ZodString;
@@ -3140,11 +3123,11 @@ export declare const actorProfileReportSchema: z.ZodObject<{
3140
3123
  }, z.core.$strict>;
3141
3124
  source: z.ZodLiteral<"conversation_index">;
3142
3125
  surfaces: z.ZodArray<z.ZodObject<{
3143
- failed: z.ZodNumber;
3144
- durationMs: z.ZodNumber;
3145
- label: z.ZodString;
3146
3126
  active: z.ZodNumber;
3147
3127
  conversations: z.ZodNumber;
3128
+ durationMs: z.ZodNumber;
3129
+ failed: z.ZodNumber;
3130
+ label: z.ZodString;
3148
3131
  tokens: z.ZodOptional<z.ZodNumber>;
3149
3132
  }, z.core.$strict>>;
3150
3133
  totals: z.ZodObject<{
@@ -3176,8 +3159,6 @@ type ActorDirectoryReport = z.infer<typeof actorDirectoryReportSchema>;
3176
3159
  type ActorProfileReport = z.infer<typeof actorProfileReportSchema>;
3177
3160
  type PersonalSpendReport = z.infer<typeof personalSpendReportSchema>;
3178
3161
  type PersonParams = z.infer<typeof personParamsSchema>;
3179
- //#endregion
3180
- //#region src/api/schema/location.d.ts
3181
3162
  export declare const locationParamsSchema: z.ZodObject<{
3182
3163
  locationId: z.ZodString;
3183
3164
  }, z.core.$strict>;
@@ -3344,8 +3325,8 @@ export declare const locationDetailReportSchema: z.ZodObject<{
3344
3325
  activityPreview: z.ZodOptional<z.ZodObject<{
3345
3326
  createdAt: z.ZodString;
3346
3327
  role: z.ZodEnum<{
3347
- user: "user";
3348
3328
  assistant: "assistant";
3329
+ user: "user";
3349
3330
  }>;
3350
3331
  text: z.ZodString;
3351
3332
  }, z.core.$strict>>;
@@ -3397,13 +3378,13 @@ export declare const locationDetailReportSchema: z.ZodObject<{
3397
3378
  conversationId: z.ZodString;
3398
3379
  isParticipant: z.ZodBoolean;
3399
3380
  visibility: z.ZodOptional<z.ZodEnum<{
3400
- public: "public";
3401
3381
  private: "private";
3382
+ public: "public";
3402
3383
  }>>;
3403
3384
  status: z.ZodEnum<{
3404
- failed: "failed";
3405
- completed: "completed";
3406
3385
  active: "active";
3386
+ completed: "completed";
3387
+ failed: "failed";
3407
3388
  }>;
3408
3389
  startedAt: z.ZodString;
3409
3390
  lastSeenAt: z.ZodString;
@@ -3437,35 +3418,35 @@ export declare const locationDetailReportSchema: z.ZodObject<{
3437
3418
  annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
3438
3419
  kind: z.ZodLiteral<"resource_link">;
3439
3420
  objectType: z.ZodOptional<z.ZodEnum<{
3421
+ automation: "automation";
3422
+ calendar_event: "calendar_event";
3440
3423
  code_change: "code_change";
3441
- task: "task";
3442
3424
  deployment: "deployment";
3443
- calendar_event: "calendar_event";
3444
- automation: "automation";
3445
3425
  item: "item";
3426
+ task: "task";
3446
3427
  }>>;
3447
3428
  key: z.ZodString;
3448
3429
  label: z.ZodString;
3449
3430
  url: z.ZodString;
3450
3431
  description: z.ZodOptional<z.ZodString>;
3451
3432
  status: z.ZodOptional<z.ZodEnum<{
3452
- warning: "warning";
3453
- draft: "draft";
3454
3433
  closed: "closed";
3434
+ draft: "draft";
3455
3435
  merged: "merged";
3456
3436
  open: "open";
3437
+ warning: "warning";
3457
3438
  }>>;
3458
3439
  }, z.core.$strict>, z.ZodObject<{
3459
3440
  kind: z.ZodLiteral<"object">;
3460
3441
  key: z.ZodString;
3461
3442
  label: z.ZodString;
3462
3443
  objectType: z.ZodEnum<{
3444
+ automation: "automation";
3445
+ calendar_event: "calendar_event";
3463
3446
  code_change: "code_change";
3464
- task: "task";
3465
3447
  deployment: "deployment";
3466
- calendar_event: "calendar_event";
3467
- automation: "automation";
3468
3448
  item: "item";
3449
+ task: "task";
3469
3450
  }>;
3470
3451
  title: z.ZodString;
3471
3452
  url: z.ZodNullable<z.ZodURL>;
@@ -3482,9 +3463,9 @@ export declare const locationDetailReportSchema: z.ZodObject<{
3482
3463
  targetBranch: z.ZodOptional<z.ZodString>;
3483
3464
  reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
3484
3465
  review: z.ZodOptional<z.ZodEnum<{
3485
- required: "required";
3486
3466
  approved: "approved";
3487
3467
  changes_requested: "changes_requested";
3468
+ required: "required";
3488
3469
  }>>;
3489
3470
  checks: z.ZodOptional<z.ZodObject<{
3490
3471
  passed: z.ZodNumber;
@@ -3521,20 +3502,20 @@ export declare const locationDetailReportSchema: z.ZodObject<{
3521
3502
  }, z.core.$strip>>>>;
3522
3503
  sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
3523
3504
  icon: z.ZodOptional<z.ZodEnum<{
3524
- "git-pull-request": "git-pull-request";
3525
- "git-merge": "git-merge";
3526
- "circle-dot": "circle-dot";
3527
3505
  "circle-dashed": "circle-dashed";
3506
+ "circle-dot": "circle-dot";
3528
3507
  "circle-x": "circle-x";
3508
+ "git-merge": "git-merge";
3509
+ "git-pull-request": "git-pull-request";
3529
3510
  "triangle-alert": "triangle-alert";
3530
3511
  }>>;
3531
3512
  objectType: z.ZodOptional<z.ZodEnum<{
3513
+ automation: "automation";
3514
+ calendar_event: "calendar_event";
3532
3515
  code_change: "code_change";
3533
- task: "task";
3534
3516
  deployment: "deployment";
3535
- calendar_event: "calendar_event";
3536
- automation: "automation";
3537
3517
  item: "item";
3518
+ task: "task";
3538
3519
  }>>;
3539
3520
  status: z.ZodOptional<z.ZodString>;
3540
3521
  key: z.ZodString;
@@ -3555,15 +3536,11 @@ type LocationActivityDayReport = z.infer<typeof locationActivityDayReportSchema>
3555
3536
  type LocationDirectoryReport = z.infer<typeof locationDirectoryReportSchema>;
3556
3537
  type LocationDetailReport = z.infer<typeof locationDetailReportSchema>;
3557
3538
  type LocationParams = z.infer<typeof locationParamsSchema>;
3558
- //#endregion
3559
- //#region src/api/schema/common.d.ts
3560
3539
  /** Stable error body returned by Junior-owned REST endpoints. */
3561
3540
  export declare const apiErrorSchema: z.ZodObject<{
3562
3541
  error: z.ZodString;
3563
3542
  }, z.core.$strict>;
3564
3543
  type ApiError = z.infer<typeof apiErrorSchema>;
3565
- //#endregion
3566
- //#region src/api/schema/connection.d.ts
3567
3544
  export declare const connectionSchema: z.ZodObject<{
3568
3545
  provider: z.ZodString;
3569
3546
  displayName: z.ZodString;
@@ -3595,8 +3572,35 @@ export declare const startConnectionResponseSchema: z.ZodObject<{
3595
3572
  export declare const disconnectConnectionResponseSchema: z.ZodObject<{
3596
3573
  disconnected: z.ZodLiteral<true>;
3597
3574
  }, z.core.$strict>;
3598
- //#endregion
3599
- //#region src/api/schema/personal-token.d.ts
3575
+ export declare const serviceAccountSchema: z.ZodObject<{
3576
+ provider: z.ZodString;
3577
+ displayName: z.ZodString;
3578
+ userOAuth: z.ZodBoolean;
3579
+ tools: z.ZodArray<z.ZodString>;
3580
+ connected: z.ZodBoolean;
3581
+ connectedAt: z.ZodOptional<z.ZodString>;
3582
+ connectedBy: z.ZodOptional<z.ZodString>;
3583
+ }, z.core.$strict>;
3584
+ export declare const serviceAccountListSchema: z.ZodObject<{
3585
+ serviceAccounts: z.ZodArray<z.ZodObject<{
3586
+ provider: z.ZodString;
3587
+ displayName: z.ZodString;
3588
+ userOAuth: z.ZodBoolean;
3589
+ tools: z.ZodArray<z.ZodString>;
3590
+ connected: z.ZodBoolean;
3591
+ connectedAt: z.ZodOptional<z.ZodString>;
3592
+ connectedBy: z.ZodOptional<z.ZodString>;
3593
+ }, z.core.$strict>>;
3594
+ }, z.core.$strict>;
3595
+ export declare const serviceAccountParamsSchema: z.ZodObject<{
3596
+ provider: z.ZodString;
3597
+ }, z.core.$strict>;
3598
+ export declare const startServiceAccountSignInResponseSchema: z.ZodObject<{
3599
+ authorizationUrl: z.ZodString;
3600
+ }, z.core.$strict>;
3601
+ export declare const disconnectServiceAccountResponseSchema: z.ZodObject<{
3602
+ disconnected: z.ZodLiteral<true>;
3603
+ }, z.core.$strict>;
3600
3604
  export declare const personalTokenMetadataSchema: z.ZodObject<{
3601
3605
  id: z.ZodString;
3602
3606
  name: z.ZodString;
@@ -3634,8 +3638,6 @@ export declare const revokePersonalTokenResponseSchema: z.ZodObject<{
3634
3638
  revoked: z.ZodLiteral<true>;
3635
3639
  }, z.core.$strict>;
3636
3640
  type PersonalTokenMetadata = z.infer<typeof personalTokenMetadataSchema>;
3637
- //#endregion
3638
- //#region src/api/schema/workspace.d.ts
3639
3641
  export declare const workspaceRepoSchema: z.ZodObject<{
3640
3642
  provider: z.ZodString;
3641
3643
  repo: z.ZodString;
@@ -3704,8 +3706,6 @@ export declare const deleteWorkspaceResponseSchema: z.ZodObject<{
3704
3706
  }, z.core.$strict>;
3705
3707
  type BaselineSnapshotReport = z.infer<typeof baselineSnapshotSchema>;
3706
3708
  type WorkspaceReport = z.infer<typeof workspaceSchema>;
3707
- //#endregion
3708
- //#region src/api/schema/automation.d.ts
3709
3709
  /** Automation run counts for the dashboard range control (24h/7d/30d/90d). */
3710
3710
  export declare const automationRunWindowsSchema: z.ZodObject<{
3711
3711
  1: z.ZodNumber;
@@ -3715,8 +3715,8 @@ export declare const automationRunWindowsSchema: z.ZodObject<{
3715
3715
  }, z.core.$strict>;
3716
3716
  export declare const scheduledAutomationSummarySchema: z.ZodObject<{
3717
3717
  credentialMode: z.ZodEnum<{
3718
- system: "system";
3719
3718
  creator: "creator";
3719
+ system: "system";
3720
3720
  }>;
3721
3721
  createdAt: z.ZodString;
3722
3722
  createdBy: z.ZodString;
@@ -3727,8 +3727,8 @@ export declare const scheduledAutomationSummarySchema: z.ZodObject<{
3727
3727
  label: z.ZodString;
3728
3728
  teamId: z.ZodString;
3729
3729
  visibility: z.ZodEnum<{
3730
- public: "public";
3731
3730
  private: "private";
3731
+ public: "public";
3732
3732
  }>;
3733
3733
  }, z.core.$strict>;
3734
3734
  id: z.ZodString;
@@ -3736,9 +3736,9 @@ export declare const scheduledAutomationSummarySchema: z.ZodObject<{
3736
3736
  lastConversationId: z.ZodOptional<z.ZodString>;
3737
3737
  lastRunAt: z.ZodOptional<z.ZodString>;
3738
3738
  lastRunStatus: z.ZodOptional<z.ZodEnum<{
3739
- failed: "failed";
3740
3739
  blocked: "blocked";
3741
3740
  completed: "completed";
3741
+ failed: "failed";
3742
3742
  }>>;
3743
3743
  ownedByViewer: z.ZodBoolean;
3744
3744
  runs: z.ZodObject<{
@@ -3764,16 +3764,16 @@ export declare const scheduledAutomationSummarySchema: z.ZodObject<{
3764
3764
  timezone: z.ZodString;
3765
3765
  statusReason: z.ZodOptional<z.ZodString>;
3766
3766
  status: z.ZodEnum<{
3767
- paused: "paused";
3767
+ active: "active";
3768
3768
  blocked: "blocked";
3769
3769
  completed: "completed";
3770
- active: "active";
3770
+ paused: "paused";
3771
3771
  }>;
3772
3772
  }, z.core.$strict>;
3773
3773
  export declare const eventAutomationSummarySchema: z.ZodObject<{
3774
3774
  credentialMode: z.ZodEnum<{
3775
- system: "system";
3776
3775
  creator: "creator";
3776
+ system: "system";
3777
3777
  }>;
3778
3778
  createdAt: z.ZodString;
3779
3779
  createdBy: z.ZodString;
@@ -3784,8 +3784,8 @@ export declare const eventAutomationSummarySchema: z.ZodObject<{
3784
3784
  label: z.ZodString;
3785
3785
  teamId: z.ZodString;
3786
3786
  visibility: z.ZodEnum<{
3787
- public: "public";
3788
3787
  private: "private";
3788
+ public: "public";
3789
3789
  }>;
3790
3790
  }, z.core.$strict>;
3791
3791
  id: z.ZodString;
@@ -3793,9 +3793,9 @@ export declare const eventAutomationSummarySchema: z.ZodObject<{
3793
3793
  lastConversationId: z.ZodOptional<z.ZodString>;
3794
3794
  lastRunAt: z.ZodOptional<z.ZodString>;
3795
3795
  lastRunStatus: z.ZodOptional<z.ZodEnum<{
3796
- failed: "failed";
3797
3796
  blocked: "blocked";
3798
3797
  completed: "completed";
3798
+ failed: "failed";
3799
3799
  }>>;
3800
3800
  ownedByViewer: z.ZodBoolean;
3801
3801
  runs: z.ZodObject<{
@@ -3823,15 +3823,15 @@ export declare const eventAutomationSummarySchema: z.ZodObject<{
3823
3823
  triggerAvailable: z.ZodBoolean;
3824
3824
  statusReason: z.ZodOptional<z.ZodString>;
3825
3825
  status: z.ZodEnum<{
3826
- paused: "paused";
3827
- blocked: "blocked";
3828
3826
  active: "active";
3827
+ blocked: "blocked";
3828
+ paused: "paused";
3829
3829
  }>;
3830
3830
  }, z.core.$strict>;
3831
3831
  export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
3832
3832
  credentialMode: z.ZodEnum<{
3833
- system: "system";
3834
3833
  creator: "creator";
3834
+ system: "system";
3835
3835
  }>;
3836
3836
  createdAt: z.ZodString;
3837
3837
  createdBy: z.ZodString;
@@ -3842,8 +3842,8 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
3842
3842
  label: z.ZodString;
3843
3843
  teamId: z.ZodString;
3844
3844
  visibility: z.ZodEnum<{
3845
- public: "public";
3846
3845
  private: "private";
3846
+ public: "public";
3847
3847
  }>;
3848
3848
  }, z.core.$strict>;
3849
3849
  id: z.ZodString;
@@ -3851,9 +3851,9 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
3851
3851
  lastConversationId: z.ZodOptional<z.ZodString>;
3852
3852
  lastRunAt: z.ZodOptional<z.ZodString>;
3853
3853
  lastRunStatus: z.ZodOptional<z.ZodEnum<{
3854
- failed: "failed";
3855
3854
  blocked: "blocked";
3856
3855
  completed: "completed";
3856
+ failed: "failed";
3857
3857
  }>>;
3858
3858
  ownedByViewer: z.ZodBoolean;
3859
3859
  runs: z.ZodObject<{
@@ -3879,15 +3879,15 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
3879
3879
  timezone: z.ZodString;
3880
3880
  statusReason: z.ZodOptional<z.ZodString>;
3881
3881
  status: z.ZodEnum<{
3882
- paused: "paused";
3882
+ active: "active";
3883
3883
  blocked: "blocked";
3884
3884
  completed: "completed";
3885
- active: "active";
3885
+ paused: "paused";
3886
3886
  }>;
3887
3887
  }, z.core.$strict>, z.ZodObject<{
3888
3888
  credentialMode: z.ZodEnum<{
3889
- system: "system";
3890
3889
  creator: "creator";
3890
+ system: "system";
3891
3891
  }>;
3892
3892
  createdAt: z.ZodString;
3893
3893
  createdBy: z.ZodString;
@@ -3898,8 +3898,8 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
3898
3898
  label: z.ZodString;
3899
3899
  teamId: z.ZodString;
3900
3900
  visibility: z.ZodEnum<{
3901
- public: "public";
3902
3901
  private: "private";
3902
+ public: "public";
3903
3903
  }>;
3904
3904
  }, z.core.$strict>;
3905
3905
  id: z.ZodString;
@@ -3907,9 +3907,9 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
3907
3907
  lastConversationId: z.ZodOptional<z.ZodString>;
3908
3908
  lastRunAt: z.ZodOptional<z.ZodString>;
3909
3909
  lastRunStatus: z.ZodOptional<z.ZodEnum<{
3910
- failed: "failed";
3911
3910
  blocked: "blocked";
3912
3911
  completed: "completed";
3912
+ failed: "failed";
3913
3913
  }>>;
3914
3914
  ownedByViewer: z.ZodBoolean;
3915
3915
  runs: z.ZodObject<{
@@ -3937,9 +3937,9 @@ export declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObje
3937
3937
  triggerAvailable: z.ZodBoolean;
3938
3938
  statusReason: z.ZodOptional<z.ZodString>;
3939
3939
  status: z.ZodEnum<{
3940
- paused: "paused";
3941
- blocked: "blocked";
3942
3940
  active: "active";
3941
+ blocked: "blocked";
3942
+ paused: "paused";
3943
3943
  }>;
3944
3944
  }, z.core.$strict>], "kind">;
3945
3945
  /** One UTC day/hour of completed automation executions stacked by automation type. */
@@ -3952,30 +3952,30 @@ declare const automationExecutionDaySchema: z.ZodObject<{
3952
3952
  export declare const automationListQuerySchema: z.ZodObject<{
3953
3953
  q: z.ZodOptional<z.ZodString>;
3954
3954
  scope: z.ZodDefault<z.ZodEnum<{
3955
- public: "public";
3956
3955
  all: "all";
3957
- mine: "mine";
3958
3956
  attention: "attention";
3957
+ mine: "mine";
3958
+ public: "public";
3959
3959
  }>>;
3960
3960
  type: z.ZodDefault<z.ZodEnum<{
3961
+ all: "all";
3961
3962
  event: "event";
3962
3963
  scheduled: "scheduled";
3963
- all: "all";
3964
3964
  }>>;
3965
3965
  state: z.ZodDefault<z.ZodEnum<{
3966
- paused: "paused";
3966
+ active: "active";
3967
+ all: "all";
3967
3968
  blocked: "blocked";
3968
3969
  completed: "completed";
3969
- active: "active";
3970
+ paused: "paused";
3970
3971
  unavailable: "unavailable";
3971
- all: "all";
3972
3972
  }>>;
3973
3973
  creator: z.ZodOptional<z.ZodString>;
3974
3974
  destination: z.ZodOptional<z.ZodString>;
3975
3975
  sort: z.ZodDefault<z.ZodEnum<{
3976
- title: "title";
3977
3976
  newest: "newest";
3978
3977
  oldest: "oldest";
3978
+ title: "title";
3979
3979
  }>>;
3980
3980
  page: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
3981
3981
  pageSize: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
@@ -4001,8 +4001,8 @@ export declare const automationListSchema: z.ZodObject<{
4001
4001
  }, z.core.$strict>>>;
4002
4002
  automations: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4003
4003
  credentialMode: z.ZodEnum<{
4004
- system: "system";
4005
4004
  creator: "creator";
4005
+ system: "system";
4006
4006
  }>;
4007
4007
  createdAt: z.ZodString;
4008
4008
  createdBy: z.ZodString;
@@ -4013,8 +4013,8 @@ export declare const automationListSchema: z.ZodObject<{
4013
4013
  label: z.ZodString;
4014
4014
  teamId: z.ZodString;
4015
4015
  visibility: z.ZodEnum<{
4016
- public: "public";
4017
4016
  private: "private";
4017
+ public: "public";
4018
4018
  }>;
4019
4019
  }, z.core.$strict>;
4020
4020
  id: z.ZodString;
@@ -4022,9 +4022,9 @@ export declare const automationListSchema: z.ZodObject<{
4022
4022
  lastConversationId: z.ZodOptional<z.ZodString>;
4023
4023
  lastRunAt: z.ZodOptional<z.ZodString>;
4024
4024
  lastRunStatus: z.ZodOptional<z.ZodEnum<{
4025
- failed: "failed";
4026
4025
  blocked: "blocked";
4027
4026
  completed: "completed";
4027
+ failed: "failed";
4028
4028
  }>>;
4029
4029
  ownedByViewer: z.ZodBoolean;
4030
4030
  runs: z.ZodObject<{
@@ -4050,15 +4050,15 @@ export declare const automationListSchema: z.ZodObject<{
4050
4050
  timezone: z.ZodString;
4051
4051
  statusReason: z.ZodOptional<z.ZodString>;
4052
4052
  status: z.ZodEnum<{
4053
- paused: "paused";
4053
+ active: "active";
4054
4054
  blocked: "blocked";
4055
4055
  completed: "completed";
4056
- active: "active";
4056
+ paused: "paused";
4057
4057
  }>;
4058
4058
  }, z.core.$strict>, z.ZodObject<{
4059
4059
  credentialMode: z.ZodEnum<{
4060
- system: "system";
4061
4060
  creator: "creator";
4061
+ system: "system";
4062
4062
  }>;
4063
4063
  createdAt: z.ZodString;
4064
4064
  createdBy: z.ZodString;
@@ -4069,8 +4069,8 @@ export declare const automationListSchema: z.ZodObject<{
4069
4069
  label: z.ZodString;
4070
4070
  teamId: z.ZodString;
4071
4071
  visibility: z.ZodEnum<{
4072
- public: "public";
4073
4072
  private: "private";
4073
+ public: "public";
4074
4074
  }>;
4075
4075
  }, z.core.$strict>;
4076
4076
  id: z.ZodString;
@@ -4078,9 +4078,9 @@ export declare const automationListSchema: z.ZodObject<{
4078
4078
  lastConversationId: z.ZodOptional<z.ZodString>;
4079
4079
  lastRunAt: z.ZodOptional<z.ZodString>;
4080
4080
  lastRunStatus: z.ZodOptional<z.ZodEnum<{
4081
- failed: "failed";
4082
4081
  blocked: "blocked";
4083
4082
  completed: "completed";
4083
+ failed: "failed";
4084
4084
  }>>;
4085
4085
  ownedByViewer: z.ZodBoolean;
4086
4086
  runs: z.ZodObject<{
@@ -4108,9 +4108,9 @@ export declare const automationListSchema: z.ZodObject<{
4108
4108
  triggerAvailable: z.ZodBoolean;
4109
4109
  statusReason: z.ZodOptional<z.ZodString>;
4110
4110
  status: z.ZodEnum<{
4111
- paused: "paused";
4112
- blocked: "blocked";
4113
4111
  active: "active";
4112
+ blocked: "blocked";
4113
+ paused: "paused";
4114
4114
  }>;
4115
4115
  }, z.core.$strict>], "kind">>;
4116
4116
  total: z.ZodNumber;
@@ -4135,9 +4135,9 @@ export declare const automationParamsSchema: z.ZodObject<{
4135
4135
  id: z.ZodString;
4136
4136
  }, z.core.$strict>;
4137
4137
  export declare const automationExecutionStatusSchema: z.ZodEnum<{
4138
- failed: "failed";
4139
4138
  blocked: "blocked";
4140
4139
  completed: "completed";
4140
+ failed: "failed";
4141
4141
  }>;
4142
4142
  export declare const automationExecutionSchema: z.ZodObject<{
4143
4143
  conversationId: z.ZodOptional<z.ZodString>;
@@ -4146,9 +4146,9 @@ export declare const automationExecutionSchema: z.ZodObject<{
4146
4146
  executedAt: z.ZodString;
4147
4147
  executionId: z.ZodString;
4148
4148
  status: z.ZodEnum<{
4149
- failed: "failed";
4150
4149
  blocked: "blocked";
4151
4150
  completed: "completed";
4151
+ failed: "failed";
4152
4152
  }>;
4153
4153
  title: z.ZodOptional<z.ZodString>;
4154
4154
  totalTokens: z.ZodOptional<z.ZodNumber>;
@@ -4186,17 +4186,17 @@ export declare const automationExecutionListSchema: z.ZodObject<{
4186
4186
  executedAt: z.ZodString;
4187
4187
  executionId: z.ZodString;
4188
4188
  status: z.ZodEnum<{
4189
- failed: "failed";
4190
4189
  blocked: "blocked";
4191
4190
  completed: "completed";
4191
+ failed: "failed";
4192
4192
  }>;
4193
4193
  title: z.ZodOptional<z.ZodString>;
4194
4194
  totalTokens: z.ZodOptional<z.ZodNumber>;
4195
4195
  }, z.core.$strict>>;
4196
4196
  automation: z.ZodDiscriminatedUnion<[z.ZodObject<{
4197
4197
  credentialMode: z.ZodEnum<{
4198
- system: "system";
4199
4198
  creator: "creator";
4199
+ system: "system";
4200
4200
  }>;
4201
4201
  createdAt: z.ZodString;
4202
4202
  createdBy: z.ZodString;
@@ -4207,8 +4207,8 @@ export declare const automationExecutionListSchema: z.ZodObject<{
4207
4207
  label: z.ZodString;
4208
4208
  teamId: z.ZodString;
4209
4209
  visibility: z.ZodEnum<{
4210
- public: "public";
4211
4210
  private: "private";
4211
+ public: "public";
4212
4212
  }>;
4213
4213
  }, z.core.$strict>;
4214
4214
  id: z.ZodString;
@@ -4216,9 +4216,9 @@ export declare const automationExecutionListSchema: z.ZodObject<{
4216
4216
  lastConversationId: z.ZodOptional<z.ZodString>;
4217
4217
  lastRunAt: z.ZodOptional<z.ZodString>;
4218
4218
  lastRunStatus: z.ZodOptional<z.ZodEnum<{
4219
- failed: "failed";
4220
4219
  blocked: "blocked";
4221
4220
  completed: "completed";
4221
+ failed: "failed";
4222
4222
  }>>;
4223
4223
  ownedByViewer: z.ZodBoolean;
4224
4224
  runs: z.ZodObject<{
@@ -4244,15 +4244,15 @@ export declare const automationExecutionListSchema: z.ZodObject<{
4244
4244
  timezone: z.ZodString;
4245
4245
  statusReason: z.ZodOptional<z.ZodString>;
4246
4246
  status: z.ZodEnum<{
4247
- paused: "paused";
4247
+ active: "active";
4248
4248
  blocked: "blocked";
4249
4249
  completed: "completed";
4250
- active: "active";
4250
+ paused: "paused";
4251
4251
  }>;
4252
4252
  }, z.core.$strict>, z.ZodObject<{
4253
4253
  credentialMode: z.ZodEnum<{
4254
- system: "system";
4255
4254
  creator: "creator";
4255
+ system: "system";
4256
4256
  }>;
4257
4257
  createdAt: z.ZodString;
4258
4258
  createdBy: z.ZodString;
@@ -4263,8 +4263,8 @@ export declare const automationExecutionListSchema: z.ZodObject<{
4263
4263
  label: z.ZodString;
4264
4264
  teamId: z.ZodString;
4265
4265
  visibility: z.ZodEnum<{
4266
- public: "public";
4267
4266
  private: "private";
4267
+ public: "public";
4268
4268
  }>;
4269
4269
  }, z.core.$strict>;
4270
4270
  id: z.ZodString;
@@ -4272,9 +4272,9 @@ export declare const automationExecutionListSchema: z.ZodObject<{
4272
4272
  lastConversationId: z.ZodOptional<z.ZodString>;
4273
4273
  lastRunAt: z.ZodOptional<z.ZodString>;
4274
4274
  lastRunStatus: z.ZodOptional<z.ZodEnum<{
4275
- failed: "failed";
4276
4275
  blocked: "blocked";
4277
4276
  completed: "completed";
4277
+ failed: "failed";
4278
4278
  }>>;
4279
4279
  ownedByViewer: z.ZodBoolean;
4280
4280
  runs: z.ZodObject<{
@@ -4302,9 +4302,9 @@ export declare const automationExecutionListSchema: z.ZodObject<{
4302
4302
  triggerAvailable: z.ZodBoolean;
4303
4303
  statusReason: z.ZodOptional<z.ZodString>;
4304
4304
  status: z.ZodEnum<{
4305
- paused: "paused";
4306
- blocked: "blocked";
4307
4305
  active: "active";
4306
+ blocked: "blocked";
4307
+ paused: "paused";
4308
4308
  }>;
4309
4309
  }, z.core.$strict>], "kind">;
4310
4310
  truncated: z.ZodBoolean;
@@ -4316,9 +4316,9 @@ export declare const automationRunSchema: z.ZodObject<{
4316
4316
  executedAt: z.ZodString;
4317
4317
  executionId: z.ZodString;
4318
4318
  status: z.ZodEnum<{
4319
- failed: "failed";
4320
4319
  blocked: "blocked";
4321
4320
  completed: "completed";
4321
+ failed: "failed";
4322
4322
  }>;
4323
4323
  title: z.ZodOptional<z.ZodString>;
4324
4324
  totalTokens: z.ZodOptional<z.ZodNumber>;
@@ -4337,9 +4337,9 @@ export declare const automationRunListSchema: z.ZodObject<{
4337
4337
  executedAt: z.ZodString;
4338
4338
  executionId: z.ZodString;
4339
4339
  status: z.ZodEnum<{
4340
- failed: "failed";
4341
4340
  blocked: "blocked";
4342
4341
  completed: "completed";
4342
+ failed: "failed";
4343
4343
  }>;
4344
4344
  title: z.ZodOptional<z.ZodString>;
4345
4345
  totalTokens: z.ZodOptional<z.ZodNumber>;
@@ -4354,17 +4354,24 @@ export declare const automationRunListSchema: z.ZodObject<{
4354
4354
  }, z.core.$strict>;
4355
4355
  /** One saved Automation definition. Newer versions have larger numbers. */
4356
4356
  export declare const automationVersionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4357
+ version: z.ZodNumber;
4358
+ createdAt: z.ZodString;
4359
+ editedBy: z.ZodNullable<z.ZodObject<{
4360
+ slackUserId: z.ZodString;
4361
+ fullName: z.ZodOptional<z.ZodString>;
4362
+ userName: z.ZodOptional<z.ZodString>;
4363
+ }, z.core.$strict>>;
4357
4364
  kind: z.ZodLiteral<"scheduled">;
4358
4365
  definition: z.ZodObject<{
4366
+ credentialMode: z.ZodEnum<{
4367
+ creator: "creator";
4368
+ system: "system";
4369
+ }>;
4359
4370
  destination: z.ZodObject<{
4371
+ platform: z.ZodLiteral<"slack">;
4360
4372
  teamId: z.ZodString;
4361
4373
  channelId: z.ZodString;
4362
- platform: z.ZodLiteral<"slack">;
4363
4374
  }, z.core.$strict>;
4364
- credentialMode: z.ZodEnum<{
4365
- system: "system";
4366
- creator: "creator";
4367
- }>;
4368
4375
  schedule: z.ZodObject<{
4369
4376
  description: z.ZodString;
4370
4377
  kind: z.ZodEnum<{
@@ -4375,8 +4382,8 @@ export declare const automationVersionSchema: z.ZodDiscriminatedUnion<[z.ZodObje
4375
4382
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
4376
4383
  frequency: z.ZodEnum<{
4377
4384
  daily: "daily";
4378
- weekly: "weekly";
4379
4385
  monthly: "monthly";
4386
+ weekly: "weekly";
4380
4387
  yearly: "yearly";
4381
4388
  }>;
4382
4389
  interval: z.ZodNumber;
@@ -4393,14 +4400,15 @@ export declare const automationVersionSchema: z.ZodDiscriminatedUnion<[z.ZodObje
4393
4400
  outcomes: z.ZodArray<z.ZodObject<{
4394
4401
  action: z.ZodLiteral<"send_message">;
4395
4402
  destination: z.ZodObject<{
4403
+ platform: z.ZodLiteral<"slack">;
4396
4404
  teamId: z.ZodString;
4397
4405
  channelId: z.ZodString;
4398
- platform: z.ZodLiteral<"slack">;
4399
4406
  }, z.core.$strict>;
4400
4407
  }, z.core.$strict>>;
4401
4408
  title: z.ZodNullable<z.ZodString>;
4402
4409
  instruction: z.ZodString;
4403
4410
  }, z.core.$strict>;
4411
+ }, z.core.$strict>, z.ZodObject<{
4404
4412
  version: z.ZodNumber;
4405
4413
  createdAt: z.ZodString;
4406
4414
  editedBy: z.ZodNullable<z.ZodObject<{
@@ -4408,14 +4416,25 @@ export declare const automationVersionSchema: z.ZodDiscriminatedUnion<[z.ZodObje
4408
4416
  fullName: z.ZodOptional<z.ZodString>;
4409
4417
  userName: z.ZodOptional<z.ZodString>;
4410
4418
  }, z.core.$strict>>;
4411
- }, z.core.$strict>, z.ZodObject<{
4412
4419
  kind: z.ZodLiteral<"event">;
4413
4420
  definition: z.ZodObject<{
4421
+ credentialMode: z.ZodEnum<{
4422
+ creator: "creator";
4423
+ system: "system";
4424
+ }>;
4414
4425
  destination: z.ZodObject<{
4426
+ platform: z.ZodLiteral<"slack">;
4415
4427
  teamId: z.ZodString;
4416
4428
  channelId: z.ZodString;
4417
- platform: z.ZodLiteral<"slack">;
4418
4429
  }, z.core.$strict>;
4430
+ outcomes: z.ZodArray<z.ZodObject<{
4431
+ action: z.ZodLiteral<"send_message">;
4432
+ destination: z.ZodObject<{
4433
+ platform: z.ZodLiteral<"slack">;
4434
+ teamId: z.ZodString;
4435
+ channelId: z.ZodString;
4436
+ }, z.core.$strict>;
4437
+ }, z.core.$strict>>;
4419
4438
  trigger: z.ZodObject<{
4420
4439
  events: z.ZodArray<z.ZodString>;
4421
4440
  label: z.ZodString;
@@ -4424,43 +4443,31 @@ export declare const automationVersionSchema: z.ZodDiscriminatedUnion<[z.ZodObje
4424
4443
  identifier: z.ZodString;
4425
4444
  resourceType: z.ZodString;
4426
4445
  }, z.core.$strict>;
4427
- credentialMode: z.ZodEnum<{
4428
- system: "system";
4429
- creator: "creator";
4430
- }>;
4431
- outcomes: z.ZodArray<z.ZodObject<{
4432
- action: z.ZodLiteral<"send_message">;
4433
- destination: z.ZodObject<{
4434
- teamId: z.ZodString;
4435
- channelId: z.ZodString;
4436
- platform: z.ZodLiteral<"slack">;
4437
- }, z.core.$strict>;
4438
- }, z.core.$strict>>;
4439
4446
  title: z.ZodNullable<z.ZodString>;
4440
4447
  instruction: z.ZodString;
4441
4448
  }, z.core.$strict>;
4442
- version: z.ZodNumber;
4443
- createdAt: z.ZodString;
4444
- editedBy: z.ZodNullable<z.ZodObject<{
4445
- slackUserId: z.ZodString;
4446
- fullName: z.ZodOptional<z.ZodString>;
4447
- userName: z.ZodOptional<z.ZodString>;
4448
- }, z.core.$strict>>;
4449
4449
  }, z.core.$strict>], "kind">;
4450
4450
  /** Newest versions first. */
4451
4451
  export declare const automationVersionListSchema: z.ZodObject<{
4452
4452
  versions: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
4453
+ version: z.ZodNumber;
4454
+ createdAt: z.ZodString;
4455
+ editedBy: z.ZodNullable<z.ZodObject<{
4456
+ slackUserId: z.ZodString;
4457
+ fullName: z.ZodOptional<z.ZodString>;
4458
+ userName: z.ZodOptional<z.ZodString>;
4459
+ }, z.core.$strict>>;
4453
4460
  kind: z.ZodLiteral<"scheduled">;
4454
4461
  definition: z.ZodObject<{
4462
+ credentialMode: z.ZodEnum<{
4463
+ creator: "creator";
4464
+ system: "system";
4465
+ }>;
4455
4466
  destination: z.ZodObject<{
4467
+ platform: z.ZodLiteral<"slack">;
4456
4468
  teamId: z.ZodString;
4457
4469
  channelId: z.ZodString;
4458
- platform: z.ZodLiteral<"slack">;
4459
4470
  }, z.core.$strict>;
4460
- credentialMode: z.ZodEnum<{
4461
- system: "system";
4462
- creator: "creator";
4463
- }>;
4464
4471
  schedule: z.ZodObject<{
4465
4472
  description: z.ZodString;
4466
4473
  kind: z.ZodEnum<{
@@ -4471,8 +4478,8 @@ export declare const automationVersionListSchema: z.ZodObject<{
4471
4478
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
4472
4479
  frequency: z.ZodEnum<{
4473
4480
  daily: "daily";
4474
- weekly: "weekly";
4475
4481
  monthly: "monthly";
4482
+ weekly: "weekly";
4476
4483
  yearly: "yearly";
4477
4484
  }>;
4478
4485
  interval: z.ZodNumber;
@@ -4489,14 +4496,15 @@ export declare const automationVersionListSchema: z.ZodObject<{
4489
4496
  outcomes: z.ZodArray<z.ZodObject<{
4490
4497
  action: z.ZodLiteral<"send_message">;
4491
4498
  destination: z.ZodObject<{
4499
+ platform: z.ZodLiteral<"slack">;
4492
4500
  teamId: z.ZodString;
4493
4501
  channelId: z.ZodString;
4494
- platform: z.ZodLiteral<"slack">;
4495
4502
  }, z.core.$strict>;
4496
4503
  }, z.core.$strict>>;
4497
4504
  title: z.ZodNullable<z.ZodString>;
4498
4505
  instruction: z.ZodString;
4499
4506
  }, z.core.$strict>;
4507
+ }, z.core.$strict>, z.ZodObject<{
4500
4508
  version: z.ZodNumber;
4501
4509
  createdAt: z.ZodString;
4502
4510
  editedBy: z.ZodNullable<z.ZodObject<{
@@ -4504,14 +4512,25 @@ export declare const automationVersionListSchema: z.ZodObject<{
4504
4512
  fullName: z.ZodOptional<z.ZodString>;
4505
4513
  userName: z.ZodOptional<z.ZodString>;
4506
4514
  }, z.core.$strict>>;
4507
- }, z.core.$strict>, z.ZodObject<{
4508
4515
  kind: z.ZodLiteral<"event">;
4509
4516
  definition: z.ZodObject<{
4517
+ credentialMode: z.ZodEnum<{
4518
+ creator: "creator";
4519
+ system: "system";
4520
+ }>;
4510
4521
  destination: z.ZodObject<{
4522
+ platform: z.ZodLiteral<"slack">;
4511
4523
  teamId: z.ZodString;
4512
4524
  channelId: z.ZodString;
4513
- platform: z.ZodLiteral<"slack">;
4514
4525
  }, z.core.$strict>;
4526
+ outcomes: z.ZodArray<z.ZodObject<{
4527
+ action: z.ZodLiteral<"send_message">;
4528
+ destination: z.ZodObject<{
4529
+ platform: z.ZodLiteral<"slack">;
4530
+ teamId: z.ZodString;
4531
+ channelId: z.ZodString;
4532
+ }, z.core.$strict>;
4533
+ }, z.core.$strict>>;
4515
4534
  trigger: z.ZodObject<{
4516
4535
  events: z.ZodArray<z.ZodString>;
4517
4536
  label: z.ZodString;
@@ -4520,28 +4539,9 @@ export declare const automationVersionListSchema: z.ZodObject<{
4520
4539
  identifier: z.ZodString;
4521
4540
  resourceType: z.ZodString;
4522
4541
  }, z.core.$strict>;
4523
- credentialMode: z.ZodEnum<{
4524
- system: "system";
4525
- creator: "creator";
4526
- }>;
4527
- outcomes: z.ZodArray<z.ZodObject<{
4528
- action: z.ZodLiteral<"send_message">;
4529
- destination: z.ZodObject<{
4530
- teamId: z.ZodString;
4531
- channelId: z.ZodString;
4532
- platform: z.ZodLiteral<"slack">;
4533
- }, z.core.$strict>;
4534
- }, z.core.$strict>>;
4535
4542
  title: z.ZodNullable<z.ZodString>;
4536
4543
  instruction: z.ZodString;
4537
4544
  }, z.core.$strict>;
4538
- version: z.ZodNumber;
4539
- createdAt: z.ZodString;
4540
- editedBy: z.ZodNullable<z.ZodObject<{
4541
- slackUserId: z.ZodString;
4542
- fullName: z.ZodOptional<z.ZodString>;
4543
- userName: z.ZodOptional<z.ZodString>;
4544
- }, z.core.$strict>>;
4545
4545
  }, z.core.$strict>], "kind">>;
4546
4546
  activeVersion: z.ZodNullable<z.ZodNumber>;
4547
4547
  truncated: z.ZodBoolean;
@@ -4568,34 +4568,16 @@ export declare const automationVersionActivateSchema: z.ZodObject<{
4568
4568
  }, z.core.$strict>;
4569
4569
  /** Edit values for owners and public readers. Read schemas also retain legacy values. */
4570
4570
  export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
4571
- destination: z.ZodObject<{
4572
- teamId: z.ZodString;
4573
- channelId: z.ZodString;
4574
- platform: z.ZodLiteral<"slack">;
4575
- }, z.core.$strict>;
4576
4571
  createdBy: z.ZodObject<{
4577
4572
  slackUserId: z.ZodString;
4578
4573
  fullName: z.ZodOptional<z.ZodString>;
4579
4574
  userName: z.ZodOptional<z.ZodString>;
4580
4575
  }, z.core.$strict>;
4581
- id: z.ZodString;
4582
- revision: z.ZodString;
4583
- title: z.ZodNullable<z.ZodString>;
4584
- instruction: z.ZodString;
4585
- credentialMode: z.ZodEnum<{
4586
- system: "system";
4587
- creator: "creator";
4588
- }>;
4589
- outcomes: z.ZodArray<z.ZodObject<{
4590
- action: z.ZodLiteral<"send_message">;
4591
- destination: z.ZodObject<{
4592
- platform: z.ZodLiteral<"slack">;
4593
- teamId: z.ZodString;
4594
- channelId: z.ZodString;
4595
- threadTs: z.ZodOptional<z.ZodString>;
4596
- }, z.core.$strict>;
4597
- }, z.core.$strict>>;
4598
- ownedByViewer: z.ZodBoolean;
4576
+ destination: z.ZodObject<{
4577
+ platform: z.ZodLiteral<"slack">;
4578
+ teamId: z.ZodString;
4579
+ channelId: z.ZodString;
4580
+ }, z.core.$strict>;
4599
4581
  schedule: z.ZodObject<{
4600
4582
  description: z.ZodString;
4601
4583
  kind: z.ZodEnum<{
@@ -4606,8 +4588,8 @@ export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
4606
4588
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
4607
4589
  frequency: z.ZodEnum<{
4608
4590
  daily: "daily";
4609
- weekly: "weekly";
4610
4591
  monthly: "monthly";
4592
+ weekly: "weekly";
4611
4593
  yearly: "yearly";
4612
4594
  }>;
4613
4595
  interval: z.ZodNumber;
@@ -4621,32 +4603,50 @@ export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
4621
4603
  }, z.core.$strict>>;
4622
4604
  timezone: z.ZodString;
4623
4605
  }, z.core.$strict>;
4606
+ id: z.ZodString;
4607
+ revision: z.ZodString;
4608
+ title: z.ZodNullable<z.ZodString>;
4609
+ instruction: z.ZodString;
4610
+ credentialMode: z.ZodEnum<{
4611
+ creator: "creator";
4612
+ system: "system";
4613
+ }>;
4614
+ outcomes: z.ZodArray<z.ZodObject<{
4615
+ action: z.ZodLiteral<"send_message">;
4616
+ destination: z.ZodObject<{
4617
+ platform: z.ZodLiteral<"slack">;
4618
+ teamId: z.ZodString;
4619
+ channelId: z.ZodString;
4620
+ threadTs: z.ZodOptional<z.ZodString>;
4621
+ }, z.core.$strict>;
4622
+ }, z.core.$strict>>;
4623
+ ownedByViewer: z.ZodBoolean;
4624
4624
  kind: z.ZodLiteral<"scheduled">;
4625
4625
  nextRunAtMs: z.ZodOptional<z.ZodNumber>;
4626
4626
  status: z.ZodEnum<{
4627
- paused: "paused";
4627
+ active: "active";
4628
4628
  blocked: "blocked";
4629
4629
  completed: "completed";
4630
- active: "active";
4630
+ paused: "paused";
4631
4631
  }>;
4632
4632
  }, z.core.$strict>, z.ZodObject<{
4633
- destination: z.ZodObject<{
4634
- teamId: z.ZodString;
4635
- channelId: z.ZodString;
4636
- platform: z.ZodLiteral<"slack">;
4637
- }, z.core.$strict>;
4638
4633
  createdBy: z.ZodObject<{
4639
4634
  slackUserId: z.ZodString;
4640
4635
  fullName: z.ZodOptional<z.ZodString>;
4641
4636
  userName: z.ZodOptional<z.ZodString>;
4642
4637
  }, z.core.$strict>;
4638
+ destination: z.ZodObject<{
4639
+ platform: z.ZodLiteral<"slack">;
4640
+ teamId: z.ZodString;
4641
+ channelId: z.ZodString;
4642
+ }, z.core.$strict>;
4643
4643
  id: z.ZodString;
4644
4644
  revision: z.ZodString;
4645
4645
  title: z.ZodNullable<z.ZodString>;
4646
4646
  instruction: z.ZodString;
4647
4647
  credentialMode: z.ZodEnum<{
4648
- system: "system";
4649
4648
  creator: "creator";
4649
+ system: "system";
4650
4650
  }>;
4651
4651
  outcomes: z.ZodArray<z.ZodObject<{
4652
4652
  action: z.ZodLiteral<"send_message">;
@@ -4669,9 +4669,9 @@ export declare const automationEditSchema: z.ZodDiscriminatedUnion<[z.ZodObject<
4669
4669
  }, z.core.$strict>;
4670
4670
  triggerAvailable: z.ZodBoolean;
4671
4671
  status: z.ZodEnum<{
4672
- paused: "paused";
4673
- blocked: "blocked";
4674
4672
  active: "active";
4673
+ blocked: "blocked";
4674
+ paused: "paused";
4675
4675
  }>;
4676
4676
  }, z.core.$strict>], "kind">;
4677
4677
  /** Partial edits require the revision returned by the edit read. */
@@ -4679,9 +4679,24 @@ export declare const automationUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
4679
4679
  title: z.ZodOptional<z.ZodString>;
4680
4680
  instruction: z.ZodOptional<z.ZodString>;
4681
4681
  credentialMode: z.ZodOptional<z.ZodEnum<{
4682
- system: "system";
4683
4682
  creator: "creator";
4683
+ system: "system";
4684
4684
  }>>;
4685
+ outcomes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4686
+ action: z.ZodLiteral<"send_message">;
4687
+ destination: z.ZodEnum<{
4688
+ current_conversation: "current_conversation";
4689
+ task_creator: "task_creator";
4690
+ }>;
4691
+ }, z.core.$strict>, z.ZodObject<{
4692
+ action: z.ZodLiteral<"send_message">;
4693
+ destination: z.ZodObject<{
4694
+ platform: z.ZodLiteral<"slack">;
4695
+ teamId: z.ZodString;
4696
+ channelId: z.ZodString;
4697
+ threadTs: z.ZodOptional<z.ZodString>;
4698
+ }, z.core.$strict>;
4699
+ }, z.core.$strict>]>>>;
4685
4700
  schedule: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
4686
4701
  kind: z.ZodLiteral<"one_off">;
4687
4702
  timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
@@ -4689,10 +4704,10 @@ export declare const automationUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
4689
4704
  type: z.ZodLiteral<"after">;
4690
4705
  value: z.ZodNumber;
4691
4706
  unit: z.ZodEnum<{
4707
+ day: "day";
4692
4708
  hour: "hour";
4693
4709
  minute: "minute";
4694
4710
  second: "second";
4695
- day: "day";
4696
4711
  week: "week";
4697
4712
  }>;
4698
4713
  }, z.core.$strict>, z.ZodObject<{
@@ -4704,49 +4719,34 @@ export declare const automationUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
4704
4719
  kind: z.ZodLiteral<"recurring">;
4705
4720
  frequency: z.ZodEnum<{
4706
4721
  daily: "daily";
4707
- weekly: "weekly";
4708
4722
  monthly: "monthly";
4723
+ weekly: "weekly";
4709
4724
  yearly: "yearly";
4710
4725
  }>;
4711
4726
  interval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4712
4727
  time: z.ZodString;
4713
4728
  weekdays: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
4714
- sunday: "sunday";
4729
+ friday: "friday";
4715
4730
  monday: "monday";
4731
+ saturday: "saturday";
4732
+ sunday: "sunday";
4733
+ thursday: "thursday";
4716
4734
  tuesday: "tuesday";
4717
4735
  wednesday: "wednesday";
4718
- thursday: "thursday";
4719
- friday: "friday";
4720
- saturday: "saturday";
4721
4736
  }>>>>;
4722
4737
  dayOfMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4723
4738
  month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4724
4739
  startDate: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4725
4740
  timezone: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4726
4741
  }, z.core.$strict>]>>;
4727
- outcomes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4728
- action: z.ZodLiteral<"send_message">;
4729
- destination: z.ZodEnum<{
4730
- current_conversation: "current_conversation";
4731
- task_creator: "task_creator";
4732
- }>;
4733
- }, z.core.$strict>, z.ZodObject<{
4734
- action: z.ZodLiteral<"send_message">;
4735
- destination: z.ZodObject<{
4736
- platform: z.ZodLiteral<"slack">;
4737
- teamId: z.ZodString;
4738
- channelId: z.ZodString;
4739
- threadTs: z.ZodOptional<z.ZodString>;
4740
- }, z.core.$strict>;
4741
- }, z.core.$strict>]>>>;
4742
4742
  kind: z.ZodLiteral<"scheduled">;
4743
4743
  revision: z.ZodString;
4744
4744
  }, z.core.$strict>, z.ZodObject<{
4745
4745
  title: z.ZodOptional<z.ZodString>;
4746
4746
  instruction: z.ZodOptional<z.ZodString>;
4747
4747
  credentialMode: z.ZodOptional<z.ZodEnum<{
4748
- system: "system";
4749
4748
  creator: "creator";
4749
+ system: "system";
4750
4750
  }>>;
4751
4751
  outcomes: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodObject<{
4752
4752
  action: z.ZodLiteral<"send_message">;
@@ -4777,8 +4777,8 @@ export declare const automationUpdateSchema: z.ZodDiscriminatedUnion<[z.ZodObjec
4777
4777
  export declare const automationEditErrorSchema: z.ZodObject<{
4778
4778
  error: z.ZodString;
4779
4779
  code: z.ZodEnum<{
4780
- invalid_edit: "invalid_edit";
4781
4780
  conflict: "conflict";
4781
+ invalid_edit: "invalid_edit";
4782
4782
  not_found: "not_found";
4783
4783
  }>;
4784
4784
  fields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodArray<z.ZodString>>>;
@@ -4796,9 +4796,9 @@ export declare const automationEventCatalogSchema: z.ZodArray<z.ZodObject<{
4796
4796
  suggestedEvents: z.ZodOptional<z.ZodArray<z.ZodString>>;
4797
4797
  matchFields: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
4798
4798
  kind: z.ZodEnum<{
4799
- string: "string";
4800
- number: "number";
4801
4799
  boolean: "boolean";
4800
+ number: "number";
4801
+ string: "string";
4802
4802
  }>;
4803
4803
  description: z.ZodString;
4804
4804
  enum: z.ZodOptional<z.ZodArray<z.ZodString>>;
@@ -4813,10 +4813,10 @@ export declare const automationScheduleIntentSchema: z.ZodUnion<readonly [z.ZodO
4813
4813
  type: z.ZodLiteral<"after">;
4814
4814
  value: z.ZodNumber;
4815
4815
  unit: z.ZodEnum<{
4816
+ day: "day";
4816
4817
  hour: "hour";
4817
4818
  minute: "minute";
4818
4819
  second: "second";
4819
- day: "day";
4820
4820
  week: "week";
4821
4821
  }>;
4822
4822
  }, z.core.$strict>, z.ZodObject<{
@@ -4828,20 +4828,20 @@ export declare const automationScheduleIntentSchema: z.ZodUnion<readonly [z.ZodO
4828
4828
  kind: z.ZodLiteral<"recurring">;
4829
4829
  frequency: z.ZodEnum<{
4830
4830
  daily: "daily";
4831
- weekly: "weekly";
4832
4831
  monthly: "monthly";
4832
+ weekly: "weekly";
4833
4833
  yearly: "yearly";
4834
4834
  }>;
4835
4835
  interval: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4836
4836
  time: z.ZodString;
4837
4837
  weekdays: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
4838
- sunday: "sunday";
4838
+ friday: "friday";
4839
4839
  monday: "monday";
4840
+ saturday: "saturday";
4841
+ sunday: "sunday";
4842
+ thursday: "thursday";
4840
4843
  tuesday: "tuesday";
4841
4844
  wednesday: "wednesday";
4842
- thursday: "thursday";
4843
- friday: "friday";
4844
- saturday: "saturday";
4845
4845
  }>>>>;
4846
4846
  dayOfMonth: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
4847
4847
  month: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
@@ -4859,8 +4859,8 @@ export declare const automationSchedulePreviewSchema: z.ZodObject<{
4859
4859
  dayOfMonth: z.ZodOptional<z.ZodNumber>;
4860
4860
  frequency: z.ZodEnum<{
4861
4861
  daily: "daily";
4862
- weekly: "weekly";
4863
4862
  monthly: "monthly";
4863
+ weekly: "weekly";
4864
4864
  yearly: "yearly";
4865
4865
  }>;
4866
4866
  interval: z.ZodNumber;
@@ -4877,8 +4877,6 @@ export declare const automationSchedulePreviewSchema: z.ZodObject<{
4877
4877
  nextRunAtMs: z.ZodNumber;
4878
4878
  }, z.core.$strict>;
4879
4879
  type AutomationScheduleIntent = z.output<typeof automationScheduleIntentSchema>;
4880
- //#endregion
4881
- //#region src/api/schema/stats.d.ts
4882
4880
  export declare const statSchema: z.ZodObject<{
4883
4881
  count: z.ZodNumber;
4884
4882
  date: z.ZodString;
@@ -4900,8 +4898,6 @@ export declare const statsReportSchema: z.ZodObject<{
4900
4898
  }, z.core.$strict>;
4901
4899
  type StatReport = z.infer<typeof statSchema>;
4902
4900
  type StatsReport = z.infer<typeof statsReportSchema>;
4903
- //#endregion
4904
- //#region src/reporting-schema.d.ts
4905
4901
  export declare const healthReportSchema: z.ZodObject<{
4906
4902
  status: z.ZodLiteral<"ok">;
4907
4903
  service: z.ZodString;
@@ -4972,10 +4968,10 @@ export declare const pluginOperationalReportSchema: z.ZodObject<{
4972
4968
  metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
4973
4969
  label: z.ZodString;
4974
4970
  tone: z.ZodOptional<z.ZodEnum<{
4975
- warning: "warning";
4976
4971
  danger: "danger";
4977
4972
  good: "good";
4978
4973
  neutral: "neutral";
4974
+ warning: "warning";
4979
4975
  }>>;
4980
4976
  value: z.ZodString;
4981
4977
  }, z.core.$strict>>>;
@@ -4988,10 +4984,10 @@ export declare const pluginOperationalReportSchema: z.ZodObject<{
4988
4984
  records: z.ZodOptional<z.ZodArray<z.ZodObject<{
4989
4985
  id: z.ZodString;
4990
4986
  tone: z.ZodOptional<z.ZodEnum<{
4991
- warning: "warning";
4992
4987
  danger: "danger";
4993
4988
  good: "good";
4994
4989
  neutral: "neutral";
4990
+ warning: "warning";
4995
4991
  }>>;
4996
4992
  values: z.ZodRecord<z.ZodString, z.ZodString>;
4997
4993
  }, z.core.$strict>>>;
@@ -5013,10 +5009,10 @@ export declare const pluginOperationalReportSchema: z.ZodObject<{
5013
5009
  key: z.ZodString;
5014
5010
  label: z.ZodString;
5015
5011
  tone: z.ZodOptional<z.ZodEnum<{
5016
- warning: "warning";
5017
5012
  danger: "danger";
5018
5013
  good: "good";
5019
5014
  neutral: "neutral";
5015
+ warning: "warning";
5020
5016
  }>>;
5021
5017
  }, z.core.$strict>>;
5022
5018
  timeRangeDays: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>]>>>;
@@ -5031,10 +5027,10 @@ export declare const pluginOperationalReportFeedSchema: z.ZodObject<{
5031
5027
  metrics: z.ZodOptional<z.ZodArray<z.ZodObject<{
5032
5028
  label: z.ZodString;
5033
5029
  tone: z.ZodOptional<z.ZodEnum<{
5034
- warning: "warning";
5035
5030
  danger: "danger";
5036
5031
  good: "good";
5037
5032
  neutral: "neutral";
5033
+ warning: "warning";
5038
5034
  }>>;
5039
5035
  value: z.ZodString;
5040
5036
  }, z.core.$strict>>>;
@@ -5047,10 +5043,10 @@ export declare const pluginOperationalReportFeedSchema: z.ZodObject<{
5047
5043
  records: z.ZodOptional<z.ZodArray<z.ZodObject<{
5048
5044
  id: z.ZodString;
5049
5045
  tone: z.ZodOptional<z.ZodEnum<{
5050
- warning: "warning";
5051
5046
  danger: "danger";
5052
5047
  good: "good";
5053
5048
  neutral: "neutral";
5049
+ warning: "warning";
5054
5050
  }>>;
5055
5051
  values: z.ZodRecord<z.ZodString, z.ZodString>;
5056
5052
  }, z.core.$strict>>>;
@@ -5072,10 +5068,10 @@ export declare const pluginOperationalReportFeedSchema: z.ZodObject<{
5072
5068
  key: z.ZodString;
5073
5069
  label: z.ZodString;
5074
5070
  tone: z.ZodOptional<z.ZodEnum<{
5075
- warning: "warning";
5076
5071
  danger: "danger";
5077
5072
  good: "good";
5078
5073
  neutral: "neutral";
5074
+ warning: "warning";
5079
5075
  }>>;
5080
5076
  }, z.core.$strict>>;
5081
5077
  timeRangeDays: z.ZodOptional<z.ZodArray<z.ZodUnion<readonly [z.ZodLiteral<1>, z.ZodLiteral<7>, z.ZodLiteral<30>, z.ZodLiteral<90>]>>>;
@@ -5095,5 +5091,4 @@ type PluginPackageContentItemReport = z.infer<typeof pluginPackageContentItemRep
5095
5091
  type PluginPackageContentReport = z.infer<typeof pluginPackageContentReportSchema>;
5096
5092
  type PluginOperationalReport = z.infer<typeof pluginOperationalReportSchema>;
5097
5093
  type PluginOperationalReportFeed = z.infer<typeof pluginOperationalReportFeedSchema>;
5098
- //#endregion
5099
5094
  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 AutomationVersion, type AutomationVersionList, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAgentTreeNode, type ConversationAuxiliaryCosts, type ConversationChildAgent, type ConversationChildAgentTotals, type ConversationChildAgentsReport, 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 StopConversationTurnResponse, type WorkspaceReport, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, messageCardText, resolveMessageCards };