@sentry/junior 0.284.0 → 0.285.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 (79) hide show
  1. package/dist/{adapter-CW5UW7vL.js → adapter-DN5AB4VU.js} +37 -3
  2. package/dist/{admin-DUWN8zZX.js → admin-DOITMKnn.js} +1 -1
  3. package/dist/{agent-runner-Cqr21pOU.js → agent-runner-BsWhHe4N.js} +579 -1653
  4. package/dist/api/schema.d.ts +2 -2
  5. package/dist/api/schema.js +7 -6
  6. package/dist/api.d.ts +1 -1
  7. package/dist/api.js +141 -43
  8. package/dist/{app-CvGalMxi.d.ts → app-DyMs9330.d.ts} +2 -2
  9. package/dist/app.d.ts +1 -1
  10. package/dist/app.js +226 -186
  11. package/dist/{assistant-reply-CFE-OZMS.js → assistant-reply-9Jip5bsr.js} +1 -1
  12. package/dist/{automation-Zvx_I9Z5.js → automation-Mk8aaHzy.js} +1 -1
  13. package/dist/{background-compaction-queue-CHFzrQbS.js → background-compaction-queue-DXkLsWoH.js} +2 -2
  14. package/dist/{briefs-Cx7mkfSk.js → briefs-Cl8-nK9B.js} +5 -5
  15. package/dist/{catalog-runtime-dKOVbR7l.js → catalog-runtime-Bte6jRB2.js} +1 -1
  16. package/dist/cli/chat.js +19 -16
  17. package/dist/cli/check.js +3 -3
  18. package/dist/cli/init.js +3 -0
  19. package/dist/cli/main.js +3 -3
  20. package/dist/cli/plugins.js +4 -4
  21. package/dist/cli/snapshot-create.js +4 -4
  22. package/dist/cli/upgrade.d.ts +1 -1
  23. package/dist/cli/upgrade.js +12 -17
  24. package/dist/{client-CMyH5rDz.js → client-DDbBucBw.js} +2 -2
  25. package/dist/{config-Dt3CpG17.js → config-DqFnykQT.js} +1 -1
  26. package/dist/{connections-CCHPybZP.js → connections-DA4LT9LL.js} +10 -10
  27. package/dist/{conversation-DdT7SNar.js → conversation-D8kVoCrP.js} +58 -6
  28. package/dist/{conversation-pending-messages-Dct5pheX.js → conversation-pending-messages-BvROq1bq.js} +1 -1
  29. package/dist/{conversation-privacy-BpHHhEVp.js → conversation-privacy-D0j_h70R.js} +1 -1
  30. package/dist/{credential-sync-BBPw8dam.js → credential-sync-hcsYatw-.js} +13 -13
  31. package/dist/{db-D7CCwAo8.d.ts → db-BhHZSuFw.d.ts} +18 -2
  32. package/dist/{executor-CyIwHz9r.js → executor-BLEMIgIZ.js} +11 -3
  33. package/dist/instrumentation.js +2 -2
  34. package/dist/{logging-Qo-7xGp1.js → logging-BfORLKoq.js} +1 -1
  35. package/dist/{message-DFbtOWqv.js → message-DqjuKzUx.js} +13 -23
  36. package/dist/nitro.d.ts +1 -1
  37. package/dist/nitro.js +3 -3
  38. package/dist/{oauth-callback-server-BB1gixWo.js → oauth-callback-server-CFSRzu1n.js} +2 -2
  39. package/dist/{projection-0UcUeuzn.js → projection-DliWYrnT.js} +280 -71
  40. package/dist/{prompt-CCtaGgbI.js → prompt-BvIUzY4y.js} +8 -6
  41. package/dist/{registry-DOnPkI8g.js → registry-rC7MCxu8.js} +1 -1
  42. package/dist/{reporting-window-B-QP9zX1.js → reporting-window-B4TwyuJo.js} +14 -14
  43. package/dist/{resolve-Di3omymY.js → resolve-Biu8Qw3u.js} +3 -3
  44. package/dist/result-DxJMCX47.js +299 -0
  45. package/dist/result-event-type-DD6BAgT7.js +11 -0
  46. package/dist/{runner-CnX_dTKw.js → runner-BQJSFLKg.js} +11 -11
  47. package/dist/{sandbox-egress-signals-CtxLJmmg.js → sandbox-egress-signals-6aMxJSDn.js} +1 -1
  48. package/dist/{schema-B017enNE.d.ts → schema-BUviRAs8.d.ts} +157 -220
  49. package/dist/{schema-Bn3miEd_.js → schema-BasXTvi2.js} +63 -5
  50. package/dist/{service-account-KhZIqXRi.js → service-account-BI5Wgx22.js} +3 -3
  51. package/dist/{service-account-ewDAx4Mx.js → service-account-CAE-_1dR.js} +3 -3
  52. package/dist/session-stop-CA-jOJ84.js +2924 -0
  53. package/dist/{skills-CKyotM4g.js → skills-B22duVJU.js} +2 -2
  54. package/dist/{spawn-D5D2MQdz.js → spawn-BB2_4VYn.js} +2 -2
  55. package/dist/{stop-BSKRTaRS.js → stop-DioIcEAu.js} +4821 -4199
  56. package/dist/{store-G3S0kWSD.js → store-B26LV6UP.js} +78 -311
  57. package/dist/{store-ymkEUWe4.js → store-Dn4W7qgH.js} +30 -5
  58. package/dist/{task-queue-BcOHzXxe.js → task-queue-Bt0IoR2i.js} +3 -3
  59. package/dist/{task-runner-B65cDumh.js → task-runner-D8lddjzp.js} +7 -7
  60. package/dist/{thread-state-D6rNGQu9.js → thread-state-CrFk3K_7.js} +4 -4
  61. package/dist/{turn-failure-response-BlO4nuDJ.js → turn-failure-response-DaJ04qVj.js} +7 -7
  62. package/dist/{turn-lifecycle-BQ8ETk63.js → turn-lifecycle-C2mXS7AZ.js} +1 -1
  63. package/dist/{turn-session-routing-D_GXfcAG.js → turn-session-routing-CGMKrYOj.js} +10 -10
  64. package/dist/{validation-DJG_wrg2.js → validation-TzhfQABF.js} +1 -1
  65. package/dist/{version-i1An1eTS.js → version-DSk8CFvA.js} +1 -1
  66. package/dist/version.js +1 -1
  67. package/dist/{viewer-BlpnzZZa.js → viewer-1Ea81s0b.js} +190 -53
  68. package/dist/{work-BgCW3FDC.js → work-ybG4_q5C.js} +238 -32
  69. package/dist/{worker-BJz1mwYt.js → worker-ccSyZRNz.js} +6 -6
  70. package/migrations/0083_conversation_kind.sql +11 -0
  71. package/migrations/0084_read_position_backfill.sql +25 -0
  72. package/migrations/0085_child_archived_at.sql +1 -0
  73. package/migrations/meta/0083_snapshot.json +4388 -0
  74. package/migrations/meta/0084_snapshot.json +4388 -0
  75. package/migrations/meta/0085_snapshot.json +4394 -0
  76. package/migrations/meta/_journal.json +21 -0
  77. package/package.json +4 -4
  78. package/dist/result-NvndYzCb.js +0 -483
  79. package/dist/session-stop-D_1SysjC.js +0 -1438
@@ -26,6 +26,8 @@ declare const messageAttachmentSchema: z.ZodObject<{
26
26
  bytes: z.ZodNumber;
27
27
  }, z.core.$strict>;
28
28
  type MessageAttachment = z.output<typeof messageAttachmentSchema>;
29
+ /** True when an Event type names an agent invocation result. */
30
+ declare function isAgentInvocationResultEventType(eventType: string): boolean;
29
31
  /**
30
32
  * Build the retry-stable Message id shared by web ingress and browser sends.
31
33
  * Keep the existing hash and prefix so retries still address stored Messages.
@@ -441,6 +443,7 @@ declare const conversationReportStatusSchema: z.ZodEnum<{
441
443
  active: "active";
442
444
  completed: "completed";
443
445
  failed: "failed";
446
+ stopped: "stopped";
444
447
  }>;
445
448
  declare const conversationSurfaceSchema: z.ZodEnum<{
446
449
  api: "api";
@@ -660,6 +663,13 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
660
663
  }, z.core.$strict>>;
661
664
  }, z.core.$strict>>;
662
665
  conversationId: z.ZodString;
666
+ kind: z.ZodEnum<{
667
+ root: "root";
668
+ task: "task";
669
+ thread: "thread";
670
+ }>;
671
+ parentConversationId: z.ZodOptional<z.ZodString>;
672
+ childArchivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
663
673
  isParticipant: z.ZodBoolean;
664
674
  visibility: z.ZodOptional<z.ZodEnum<{
665
675
  private: "private";
@@ -669,6 +679,7 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
669
679
  active: "active";
670
680
  completed: "completed";
671
681
  failed: "failed";
682
+ stopped: "stopped";
672
683
  }>;
673
684
  startedAt: z.ZodString;
674
685
  lastSeenAt: z.ZodString;
@@ -696,6 +707,7 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
696
707
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
697
708
  pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
698
709
  pinPosition: z.ZodOptional<z.ZodNumber>;
710
+ unread: z.ZodOptional<z.ZodBoolean>;
699
711
  channel: z.ZodOptional<z.ZodString>;
700
712
  channelName: z.ZodOptional<z.ZodString>;
701
713
  channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
@@ -1387,6 +1399,11 @@ declare const forkConversationResponseSchema: z.ZodObject<{
1387
1399
  /** One Conversation in the agent tree of a child Conversation. */
1388
1400
  declare const conversationAgentTreeNodeSchema: z.ZodObject<{
1389
1401
  conversationId: z.ZodString;
1402
+ kind: z.ZodEnum<{
1403
+ root: "root";
1404
+ task: "task";
1405
+ thread: "thread";
1406
+ }>;
1390
1407
  label: z.ZodString;
1391
1408
  }, z.core.$strict>;
1392
1409
  type ConversationAgentTreeNode = z.infer<typeof conversationAgentTreeNodeSchema>;
@@ -1685,6 +1702,12 @@ declare const conversationEventPageSchema: z.ZodObject<{
1685
1702
  * validators itself, after the function had already built the full report.
1686
1703
  */
1687
1704
  declare const CONVERSATION_DETAIL_VERSION_HEADER = "x-junior-detail-version";
1705
+ /**
1706
+ * Carries the change token of the Conversation tree that a detail report was
1707
+ * built from. The dashboard compares it with the token of `GET /api/versions`
1708
+ * and asks for the report only when they differ.
1709
+ */
1710
+ declare const CONVERSATION_VERSION_HEADER = "x-junior-conversation-version";
1688
1711
  declare const conversationDetailReportSchema: z.ZodObject<{
1689
1712
  displayTitle: z.ZodString;
1690
1713
  activityPreview: z.ZodOptional<z.ZodObject<{
@@ -1748,6 +1771,13 @@ declare const conversationDetailReportSchema: z.ZodObject<{
1748
1771
  }, z.core.$strict>>;
1749
1772
  }, z.core.$strict>>;
1750
1773
  conversationId: z.ZodString;
1774
+ kind: z.ZodEnum<{
1775
+ root: "root";
1776
+ task: "task";
1777
+ thread: "thread";
1778
+ }>;
1779
+ parentConversationId: z.ZodOptional<z.ZodString>;
1780
+ childArchivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1751
1781
  isParticipant: z.ZodBoolean;
1752
1782
  visibility: z.ZodOptional<z.ZodEnum<{
1753
1783
  private: "private";
@@ -1757,6 +1787,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
1757
1787
  active: "active";
1758
1788
  completed: "completed";
1759
1789
  failed: "failed";
1790
+ stopped: "stopped";
1760
1791
  }>;
1761
1792
  startedAt: z.ZodString;
1762
1793
  lastSeenAt: z.ZodString;
@@ -1784,6 +1815,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
1784
1815
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1785
1816
  pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1786
1817
  pinPosition: z.ZodOptional<z.ZodNumber>;
1818
+ unread: z.ZodOptional<z.ZodBoolean>;
1787
1819
  channel: z.ZodOptional<z.ZodString>;
1788
1820
  channelName: z.ZodOptional<z.ZodString>;
1789
1821
  channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
@@ -1903,10 +1935,16 @@ declare const conversationDetailReportSchema: z.ZodObject<{
1903
1935
  unfinishedWork: z.ZodOptional<z.ZodBoolean>;
1904
1936
  agentTree: z.ZodOptional<z.ZodArray<z.ZodObject<{
1905
1937
  conversationId: z.ZodString;
1938
+ kind: z.ZodEnum<{
1939
+ root: "root";
1940
+ task: "task";
1941
+ thread: "thread";
1942
+ }>;
1906
1943
  label: z.ZodString;
1907
1944
  }, z.core.$strict>>>;
1908
1945
  autoArchive: z.ZodOptional<z.ZodBoolean>;
1909
1946
  canFork: z.ZodOptional<z.ZodBoolean>;
1947
+ canContinueInSlack: z.ZodOptional<z.ZodLiteral<true>>;
1910
1948
  readPosition: z.ZodOptional<z.ZodObject<{
1911
1949
  lastReadSeq: z.ZodNumber;
1912
1950
  }, z.core.$strict>>;
@@ -2614,224 +2652,12 @@ declare const conversationDetailReportSchema: z.ZodObject<{
2614
2652
  credentialUser: z.ZodOptional<z.ZodString>;
2615
2653
  }, z.core.$strict>>;
2616
2654
  }, z.core.$strict>;
2655
+ /** A feed row, with its visible Threads nested under their parents. */
2656
+ type ConversationFeedItem = ConversationSummaryReport & {
2657
+ threads?: ConversationFeedItem[];
2658
+ };
2617
2659
  declare const conversationFeedSchema: z.ZodObject<{
2618
- conversations: z.ZodArray<z.ZodObject<{
2619
- displayTitle: z.ZodString;
2620
- activityPreview: z.ZodOptional<z.ZodObject<{
2621
- createdAt: z.ZodString;
2622
- mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2623
- avatarUrl: z.ZodOptional<z.ZodString>;
2624
- email: z.ZodOptional<z.ZodString>;
2625
- fullName: z.ZodOptional<z.ZodString>;
2626
- slackUserId: z.ZodOptional<z.ZodString>;
2627
- slackUserName: z.ZodOptional<z.ZodString>;
2628
- }, z.core.$strict>>>;
2629
- role: z.ZodEnum<{
2630
- assistant: "assistant";
2631
- user: "user";
2632
- }>;
2633
- text: z.ZodString;
2634
- }, z.core.$strict>>;
2635
- cumulativeDurationMs: z.ZodNumber;
2636
- cumulativeUsage: z.ZodOptional<z.ZodObject<{
2637
- inputTokens: z.ZodOptional<z.ZodNumber>;
2638
- outputTokens: z.ZodOptional<z.ZodNumber>;
2639
- cachedInputTokens: z.ZodOptional<z.ZodNumber>;
2640
- cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
2641
- reasoningTokens: z.ZodOptional<z.ZodNumber>;
2642
- totalTokens: z.ZodOptional<z.ZodNumber>;
2643
- cost: z.ZodOptional<z.ZodObject<{
2644
- input: z.ZodOptional<z.ZodNumber>;
2645
- output: z.ZodOptional<z.ZodNumber>;
2646
- cacheRead: z.ZodOptional<z.ZodNumber>;
2647
- cacheWrite: z.ZodOptional<z.ZodNumber>;
2648
- total: z.ZodOptional<z.ZodNumber>;
2649
- }, z.core.$strict>>;
2650
- }, z.core.$strict>>;
2651
- auxiliaryCosts: z.ZodOptional<z.ZodObject<{
2652
- costUsd: z.ZodNumber;
2653
- operations: z.ZodArray<z.ZodObject<{
2654
- costUsd: z.ZodNumber;
2655
- events: z.ZodNumber;
2656
- name: z.ZodString;
2657
- namespace: z.ZodString;
2658
- }, z.core.$strict>>;
2659
- }, z.core.$strict>>;
2660
- childAgentTotals: z.ZodOptional<z.ZodObject<{
2661
- auxiliaryCostUsd: z.ZodOptional<z.ZodNumber>;
2662
- count: z.ZodNumber;
2663
- cumulativeDurationMs: z.ZodNumber;
2664
- cumulativeUsage: z.ZodOptional<z.ZodObject<{
2665
- inputTokens: z.ZodOptional<z.ZodNumber>;
2666
- outputTokens: z.ZodOptional<z.ZodNumber>;
2667
- cachedInputTokens: z.ZodOptional<z.ZodNumber>;
2668
- cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
2669
- reasoningTokens: z.ZodOptional<z.ZodNumber>;
2670
- totalTokens: z.ZodOptional<z.ZodNumber>;
2671
- cost: z.ZodOptional<z.ZodObject<{
2672
- input: z.ZodOptional<z.ZodNumber>;
2673
- output: z.ZodOptional<z.ZodNumber>;
2674
- cacheRead: z.ZodOptional<z.ZodNumber>;
2675
- cacheWrite: z.ZodOptional<z.ZodNumber>;
2676
- total: z.ZodOptional<z.ZodNumber>;
2677
- }, z.core.$strict>>;
2678
- }, z.core.$strict>>;
2679
- }, z.core.$strict>>;
2680
- conversationId: z.ZodString;
2681
- isParticipant: z.ZodBoolean;
2682
- visibility: z.ZodOptional<z.ZodEnum<{
2683
- private: "private";
2684
- public: "public";
2685
- }>>;
2686
- status: z.ZodEnum<{
2687
- active: "active";
2688
- completed: "completed";
2689
- failed: "failed";
2690
- }>;
2691
- startedAt: z.ZodString;
2692
- lastSeenAt: z.ZodString;
2693
- lastProgressAt: z.ZodString;
2694
- surface: z.ZodEnum<{
2695
- api: "api";
2696
- internal: "internal";
2697
- scheduler: "scheduler";
2698
- slack: "slack";
2699
- }>;
2700
- actorIdentity: z.ZodOptional<z.ZodObject<{
2701
- avatarUrl: z.ZodOptional<z.ZodString>;
2702
- email: z.ZodOptional<z.ZodString>;
2703
- fullName: z.ZodOptional<z.ZodString>;
2704
- slackUserId: z.ZodOptional<z.ZodString>;
2705
- slackUserName: z.ZodOptional<z.ZodString>;
2706
- }, z.core.$strict>>;
2707
- participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
2708
- avatarUrl: z.ZodOptional<z.ZodString>;
2709
- email: z.ZodOptional<z.ZodString>;
2710
- fullName: z.ZodOptional<z.ZodString>;
2711
- slackUserId: z.ZodOptional<z.ZodString>;
2712
- slackUserName: z.ZodOptional<z.ZodString>;
2713
- }, z.core.$strict>>>;
2714
- archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2715
- pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2716
- pinPosition: z.ZodOptional<z.ZodNumber>;
2717
- channel: z.ZodOptional<z.ZodString>;
2718
- channelName: z.ZodOptional<z.ZodString>;
2719
- channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
2720
- locationId: z.ZodOptional<z.ZodString>;
2721
- sentryTraceUrl: z.ZodOptional<z.ZodString>;
2722
- locationUrl: z.ZodOptional<z.ZodString>;
2723
- traceId: z.ZodOptional<z.ZodString>;
2724
- annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
2725
- kind: z.ZodLiteral<"resource_link">;
2726
- objectType: z.ZodOptional<z.ZodEnum<{
2727
- automation: "automation";
2728
- calendar_event: "calendar_event";
2729
- code_change: "code_change";
2730
- deployment: "deployment";
2731
- item: "item";
2732
- task: "task";
2733
- }>>;
2734
- key: z.ZodString;
2735
- label: z.ZodString;
2736
- url: z.ZodString;
2737
- description: z.ZodOptional<z.ZodString>;
2738
- status: z.ZodOptional<z.ZodEnum<{
2739
- closed: "closed";
2740
- draft: "draft";
2741
- merged: "merged";
2742
- open: "open";
2743
- warning: "warning";
2744
- }>>;
2745
- }, z.core.$strict>, z.ZodObject<{
2746
- kind: z.ZodLiteral<"object">;
2747
- key: z.ZodString;
2748
- label: z.ZodString;
2749
- objectType: z.ZodEnum<{
2750
- automation: "automation";
2751
- calendar_event: "calendar_event";
2752
- code_change: "code_change";
2753
- deployment: "deployment";
2754
- item: "item";
2755
- task: "task";
2756
- }>;
2757
- title: z.ZodString;
2758
- url: z.ZodNullable<z.ZodURL>;
2759
- description: z.ZodOptional<z.ZodString>;
2760
- status: z.ZodOptional<z.ZodString>;
2761
- trigger: z.ZodOptional<z.ZodString>;
2762
- warning: z.ZodOptional<z.ZodString>;
2763
- displayType: z.ZodOptional<z.ZodString>;
2764
- sourceUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
2765
- facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
2766
- type: z.ZodLiteral<"code_change">;
2767
- author: z.ZodOptional<z.ZodString>;
2768
- sourceBranch: z.ZodOptional<z.ZodString>;
2769
- targetBranch: z.ZodOptional<z.ZodString>;
2770
- reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
2771
- review: z.ZodOptional<z.ZodEnum<{
2772
- approved: "approved";
2773
- changes_requested: "changes_requested";
2774
- required: "required";
2775
- }>>;
2776
- checks: z.ZodOptional<z.ZodObject<{
2777
- passed: z.ZodNumber;
2778
- failed: z.ZodNumber;
2779
- pending: z.ZodNumber;
2780
- }, z.core.$strict>>;
2781
- mergeable: z.ZodOptional<z.ZodBoolean>;
2782
- changedFiles: z.ZodOptional<z.ZodNumber>;
2783
- additions: z.ZodOptional<z.ZodNumber>;
2784
- deletions: z.ZodOptional<z.ZodNumber>;
2785
- }, z.core.$strict>, z.ZodObject<{
2786
- type: z.ZodLiteral<"task">;
2787
- assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
2788
- priority: z.ZodOptional<z.ZodString>;
2789
- project: z.ZodOptional<z.ZodString>;
2790
- cycle: z.ZodOptional<z.ZodString>;
2791
- dueDate: z.ZodOptional<z.ZodISODate>;
2792
- labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
2793
- }, z.core.$strict>, z.ZodObject<{
2794
- type: z.ZodLiteral<"deployment">;
2795
- project: z.ZodOptional<z.ZodString>;
2796
- environment: z.ZodOptional<z.ZodString>;
2797
- revision: z.ZodOptional<z.ZodString>;
2798
- branch: z.ZodOptional<z.ZodString>;
2799
- }, z.core.$strict>, z.ZodObject<{
2800
- type: z.ZodLiteral<"calendar_event">;
2801
- when: z.ZodOptional<z.ZodString>;
2802
- attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
2803
- }, z.core.$strict>], "type">>;
2804
- }, z.core.$strict>], "kind">, z.ZodObject<{
2805
- plugin: z.ZodString;
2806
- createdAt: z.ZodString;
2807
- updatedAt: z.ZodString;
2808
- }, z.core.$strip>>>>;
2809
- sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
2810
- icon: z.ZodOptional<z.ZodEnum<{
2811
- "circle-dashed": "circle-dashed";
2812
- "circle-dot": "circle-dot";
2813
- "circle-x": "circle-x";
2814
- "git-merge": "git-merge";
2815
- "git-pull-request": "git-pull-request";
2816
- "triangle-alert": "triangle-alert";
2817
- }>>;
2818
- objectType: z.ZodOptional<z.ZodEnum<{
2819
- automation: "automation";
2820
- calendar_event: "calendar_event";
2821
- code_change: "code_change";
2822
- deployment: "deployment";
2823
- item: "item";
2824
- task: "task";
2825
- }>>;
2826
- status: z.ZodOptional<z.ZodString>;
2827
- key: z.ZodString;
2828
- label: z.ZodString;
2829
- }, z.core.$strict>>>;
2830
- assignedWork: z.ZodOptional<z.ZodBoolean>;
2831
- finishedWorkAt: z.ZodOptional<z.ZodString>;
2832
- isPriority: z.ZodOptional<z.ZodBoolean>;
2833
- unfinishedWork: z.ZodOptional<z.ZodBoolean>;
2834
- }, z.core.$strict>>;
2660
+ conversations: z.ZodArray<z.ZodType<ConversationFeedItem, unknown, z.core.$ZodTypeInternals<ConversationFeedItem, unknown>>>;
2835
2661
  source: z.ZodLiteral<"conversation_index">;
2836
2662
  generatedAt: z.ZodString;
2837
2663
  }, z.core.$strict>;
@@ -3036,6 +2862,13 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
3036
2862
  }, z.core.$strict>>;
3037
2863
  }, z.core.$strict>>;
3038
2864
  conversationId: z.ZodString;
2865
+ kind: z.ZodEnum<{
2866
+ root: "root";
2867
+ task: "task";
2868
+ thread: "thread";
2869
+ }>;
2870
+ parentConversationId: z.ZodOptional<z.ZodString>;
2871
+ childArchivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3039
2872
  isParticipant: z.ZodBoolean;
3040
2873
  visibility: z.ZodOptional<z.ZodEnum<{
3041
2874
  private: "private";
@@ -3045,6 +2878,7 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
3045
2878
  active: "active";
3046
2879
  completed: "completed";
3047
2880
  failed: "failed";
2881
+ stopped: "stopped";
3048
2882
  }>;
3049
2883
  startedAt: z.ZodString;
3050
2884
  lastSeenAt: z.ZodString;
@@ -3072,6 +2906,7 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
3072
2906
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3073
2907
  pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3074
2908
  pinPosition: z.ZodOptional<z.ZodNumber>;
2909
+ unread: z.ZodOptional<z.ZodBoolean>;
3075
2910
  channel: z.ZodOptional<z.ZodString>;
3076
2911
  channelName: z.ZodOptional<z.ZodString>;
3077
2912
  channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
@@ -3191,10 +3026,16 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
3191
3026
  unfinishedWork: z.ZodOptional<z.ZodBoolean>;
3192
3027
  agentTree: z.ZodOptional<z.ZodArray<z.ZodObject<{
3193
3028
  conversationId: z.ZodString;
3029
+ kind: z.ZodEnum<{
3030
+ root: "root";
3031
+ task: "task";
3032
+ thread: "thread";
3033
+ }>;
3194
3034
  label: z.ZodString;
3195
3035
  }, z.core.$strict>>>;
3196
3036
  autoArchive: z.ZodOptional<z.ZodBoolean>;
3197
3037
  canFork: z.ZodOptional<z.ZodBoolean>;
3038
+ canContinueInSlack: z.ZodOptional<z.ZodLiteral<true>>;
3198
3039
  readPosition: z.ZodOptional<z.ZodObject<{
3199
3040
  lastReadSeq: z.ZodNumber;
3200
3041
  }, z.core.$strict>>;
@@ -4046,7 +3887,14 @@ type CancelConversationPendingMessagesBody = z.infer<typeof cancelConversationPe
4046
3887
  type CancelConversationPendingMessagesResponse = z.infer<typeof cancelConversationPendingMessagesResponseSchema>;
4047
3888
  type SteerConversationPendingMessagesBody = z.infer<typeof steerConversationPendingMessagesBodySchema>;
4048
3889
  type SteerConversationPendingMessagesResponse = z.infer<typeof steerConversationPendingMessagesResponseSchema>;
3890
+ /**
3891
+ * Archive or restore one conversation. `applyToChildren` applies to a child
3892
+ * only: archive refuses while a descendant is unarchived unless it is true,
3893
+ * and restore also restores the descendants archived with the child when it
3894
+ * is true. A root archive is per viewer and writes no child rows.
3895
+ */
4049
3896
  declare const archiveConversationBodySchema: z.ZodObject<{
3897
+ applyToChildren: z.ZodOptional<z.ZodBoolean>;
4050
3898
  archived: z.ZodBoolean;
4051
3899
  lastSeenAt: z.ZodString;
4052
3900
  }, z.core.$strict>;
@@ -4241,17 +4089,40 @@ declare const stopConversationTurnResponseSchema: z.ZodObject<{
4241
4089
  }, z.core.$strict>>;
4242
4090
  }, z.core.$strict>;
4243
4091
  type StopConversationTurnResponse = z.infer<typeof stopConversationTurnResponseSchema>;
4092
+ /** Public Slack channel Location that a dashboard Conversation moves to. */
4093
+ declare const continueConversationInSlackBodySchema: z.ZodObject<{
4094
+ locationId: z.ZodString;
4095
+ }, z.core.$strict>;
4096
+ /** The Slack thread where the Conversation now continues. */
4097
+ declare const continueConversationInSlackResponseSchema: z.ZodObject<{
4098
+ conversationId: z.ZodString;
4099
+ channelName: z.ZodOptional<z.ZodString>;
4100
+ locationUrl: z.ZodOptional<z.ZodString>;
4101
+ }, z.core.$strict>;
4102
+ type ContinueConversationInSlackBody = z.infer<typeof continueConversationInSlackBodySchema>;
4103
+ type ContinueConversationInSlackResponse = z.infer<typeof continueConversationInSlackResponseSchema>;
4244
4104
  /**
4245
4105
  * How far the signed-in viewer has read a Conversation transcript.
4246
4106
  *
4247
4107
  * `lastReadSeq` is the event sequence of the last transcript row the viewer
4248
- * saw. The server keeps the highest value it receives, so it only moves
4249
- * forward. It is never before the viewer's own latest Message.
4108
+ * saw. Reports only move it forward: the server keeps the highest value it
4109
+ * receives. Only Mark as unread moves it back. It is never before the
4110
+ * viewer's own latest Message.
4250
4111
  */
4251
4112
  declare const conversationReadPositionSchema: z.ZodObject<{
4252
4113
  lastReadSeq: z.ZodNumber;
4253
4114
  }, z.core.$strict>;
4254
4115
  type ConversationReadPosition = z.infer<typeof conversationReadPositionSchema>;
4116
+ /**
4117
+ * The reply to a read report: the stored read position and whether Junior's
4118
+ * latest visible reply is still after it. The dashboard clears the unread
4119
+ * flag from this, so it does not refetch the feed after each report.
4120
+ */
4121
+ declare const conversationReadReportSchema: z.ZodObject<{
4122
+ lastReadSeq: z.ZodNumber;
4123
+ unreadReply: z.ZodBoolean;
4124
+ }, z.core.$strict>;
4125
+ type ConversationReadReport = z.infer<typeof conversationReadReportSchema>;
4255
4126
  /**
4256
4127
  * The unread rows to summarize: every event after `afterSeq`, through
4257
4128
  * `throughSeq`. The dashboard sends the range from when the Conversation
@@ -4291,12 +4162,38 @@ declare const reorderPinnedConversationsResponseSchema: z.ZodObject<{
4291
4162
  }, z.core.$strict>;
4292
4163
  type ReorderPinnedConversationsBody = z.infer<typeof reorderPinnedConversationsBodySchema>;
4293
4164
  type ReorderPinnedConversationsResponse = z.infer<typeof reorderPinnedConversationsResponseSchema>;
4165
+ /** Mark one Conversation read or unread for the signed-in viewer. */
4166
+ declare const markConversationUnreadBodySchema: z.ZodObject<{
4167
+ unread: z.ZodBoolean;
4168
+ }, z.core.$strict>;
4169
+ type MarkConversationUnreadBody = z.infer<typeof markConversationUnreadBodySchema>;
4170
+ /**
4171
+ * Whether Junior's latest visible reply is after the viewer's read position
4172
+ * once the change is stored.
4173
+ */
4174
+ declare const conversationUnreadSchema: z.ZodObject<{
4175
+ unreadReply: z.ZodBoolean;
4176
+ }, z.core.$strict>;
4177
+ type ConversationUnread = z.infer<typeof conversationUnreadSchema>;
4178
+ /** Longest Conversation title that a rename can save. */
4179
+ declare const CONVERSATION_TITLE_MAX_LENGTH = 200;
4180
+ /** A participant's new title for one Conversation. Every viewer sees it. */
4181
+ declare const renameConversationBodySchema: z.ZodObject<{
4182
+ title: z.ZodString;
4183
+ }, z.core.$strict>;
4184
+ /** The stored title after the rename. */
4185
+ declare const renameConversationResponseSchema: z.ZodObject<{
4186
+ title: z.ZodString;
4187
+ }, z.core.$strict>;
4188
+ type RenameConversationBody = z.infer<typeof renameConversationBodySchema>;
4189
+ type RenameConversationResponse = z.infer<typeof renameConversationResponseSchema>;
4294
4190
  /**
4295
4191
  * One direct child agent of a Conversation, from agent invocation records.
4296
4192
  *
4297
4193
  * Viewers who cannot see private content get the status, time, and usage, but
4298
4194
  * not the name, task, title, or error. Usage covers the child Conversation and
4299
4195
  * all its own child agents, like the detail of that child Conversation.
4196
+ * Archived children stay in the report.
4300
4197
  */
4301
4198
  declare const conversationChildAgentSchema: z.ZodObject<{
4302
4199
  auxiliaryCosts: z.ZodOptional<z.ZodObject<{
@@ -4346,6 +4243,10 @@ declare const conversationChildAgentSchema: z.ZodObject<{
4346
4243
  }, z.core.$strict>>;
4347
4244
  }, z.core.$strict>>;
4348
4245
  error: z.ZodOptional<z.ZodString>;
4246
+ kind: z.ZodEnum<{
4247
+ task: "task";
4248
+ thread: "thread";
4249
+ }>;
4349
4250
  name: z.ZodOptional<z.ZodString>;
4350
4251
  redacted: z.ZodOptional<z.ZodLiteral<true>>;
4351
4252
  status: z.ZodEnum<{
@@ -4358,6 +4259,7 @@ declare const conversationChildAgentSchema: z.ZodObject<{
4358
4259
  stopped: "stopped";
4359
4260
  }>;
4360
4261
  task: z.ZodOptional<z.ZodString>;
4262
+ childArchivedAt: z.ZodNullable<z.ZodString>;
4361
4263
  title: z.ZodOptional<z.ZodString>;
4362
4264
  updatedAt: z.ZodString;
4363
4265
  }, z.core.$strict>;
@@ -4411,6 +4313,10 @@ declare const conversationChildAgentsReportSchema: z.ZodObject<{
4411
4313
  }, z.core.$strict>>;
4412
4314
  }, z.core.$strict>>;
4413
4315
  error: z.ZodOptional<z.ZodString>;
4316
+ kind: z.ZodEnum<{
4317
+ task: "task";
4318
+ thread: "thread";
4319
+ }>;
4414
4320
  name: z.ZodOptional<z.ZodString>;
4415
4321
  redacted: z.ZodOptional<z.ZodLiteral<true>>;
4416
4322
  status: z.ZodEnum<{
@@ -4423,6 +4329,7 @@ declare const conversationChildAgentsReportSchema: z.ZodObject<{
4423
4329
  stopped: "stopped";
4424
4330
  }>;
4425
4331
  task: z.ZodOptional<z.ZodString>;
4332
+ childArchivedAt: z.ZodNullable<z.ZodString>;
4426
4333
  title: z.ZodOptional<z.ZodString>;
4427
4334
  updatedAt: z.ZodString;
4428
4335
  }, z.core.$strict>>;
@@ -4745,6 +4652,13 @@ declare const actorProfileReportSchema: z.ZodObject<{
4745
4652
  }, z.core.$strict>>;
4746
4653
  }, z.core.$strict>>;
4747
4654
  conversationId: z.ZodString;
4655
+ kind: z.ZodEnum<{
4656
+ root: "root";
4657
+ task: "task";
4658
+ thread: "thread";
4659
+ }>;
4660
+ parentConversationId: z.ZodOptional<z.ZodString>;
4661
+ childArchivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4748
4662
  isParticipant: z.ZodBoolean;
4749
4663
  visibility: z.ZodOptional<z.ZodEnum<{
4750
4664
  private: "private";
@@ -4754,6 +4668,7 @@ declare const actorProfileReportSchema: z.ZodObject<{
4754
4668
  active: "active";
4755
4669
  completed: "completed";
4756
4670
  failed: "failed";
4671
+ stopped: "stopped";
4757
4672
  }>;
4758
4673
  startedAt: z.ZodString;
4759
4674
  lastSeenAt: z.ZodString;
@@ -4781,6 +4696,7 @@ declare const actorProfileReportSchema: z.ZodObject<{
4781
4696
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4782
4697
  pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4783
4698
  pinPosition: z.ZodOptional<z.ZodNumber>;
4699
+ unread: z.ZodOptional<z.ZodBoolean>;
4784
4700
  channel: z.ZodOptional<z.ZodString>;
4785
4701
  channelName: z.ZodOptional<z.ZodString>;
4786
4702
  channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
@@ -5170,6 +5086,13 @@ declare const locationDetailReportSchema: z.ZodObject<{
5170
5086
  }, z.core.$strict>>;
5171
5087
  }, z.core.$strict>>;
5172
5088
  conversationId: z.ZodString;
5089
+ kind: z.ZodEnum<{
5090
+ root: "root";
5091
+ task: "task";
5092
+ thread: "thread";
5093
+ }>;
5094
+ parentConversationId: z.ZodOptional<z.ZodString>;
5095
+ childArchivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5173
5096
  isParticipant: z.ZodBoolean;
5174
5097
  visibility: z.ZodOptional<z.ZodEnum<{
5175
5098
  private: "private";
@@ -5179,6 +5102,7 @@ declare const locationDetailReportSchema: z.ZodObject<{
5179
5102
  active: "active";
5180
5103
  completed: "completed";
5181
5104
  failed: "failed";
5105
+ stopped: "stopped";
5182
5106
  }>;
5183
5107
  startedAt: z.ZodString;
5184
5108
  lastSeenAt: z.ZodString;
@@ -5206,6 +5130,7 @@ declare const locationDetailReportSchema: z.ZodObject<{
5206
5130
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5207
5131
  pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5208
5132
  pinPosition: z.ZodOptional<z.ZodNumber>;
5133
+ unread: z.ZodOptional<z.ZodBoolean>;
5209
5134
  channel: z.ZodOptional<z.ZodString>;
5210
5135
  channelName: z.ZodOptional<z.ZodString>;
5211
5136
  channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
@@ -7434,4 +7359,16 @@ declare const reviewItemActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7434
7359
  }, z.core.$strict>;
7435
7360
  }, z.core.$strict>], "action">;
7436
7361
  type ReviewItemActionBody = z.output<typeof reviewItemActionSchema>;
7437
- export { automationExecutionSchema as $, GuardianMetricDay as $n, conversationAuxiliaryCostsSchema as $r, startConnectionResponseSchema as $t, StatReport as A, codeRepositorySummarySchema as Ai, ConversationChildAgent as An, ConversationAgentTreeNode as Ar, PersonalTokenMetadata as At, AutomationListQuery as B, UserInputAnswer as Bi, reorderPinnedConversationsBodySchema as Bn, ConversationReportEventData as Br, serviceAccountSchema as Bt, pluginPackageContentItemReportSchema as C, codeActivityDaySchema as Ci, actorProfileReportSchema as Cn, conversationUnchangedDetailWithMailboxSchema as Cr, workspaceBodySchema as Ct, runtimeInfoReportSchema as D, codePersonReportSchema as Di, ConversationWatchesReport as Dn, ActorIdentity as Dr, workspaceSchema as Dt, pluginsSchema as E, codeOverviewReportSchema as Ei, ConversationWatch as En, AcceptedConversationMessage as Er, workspaceRepoSchema as Et, AutomationExecution as F, MessageCard as Fi, PinConversationResponse as Fn, ConversationEventPage as Fr, personalTokenParamsSchema as Ft, AutomationSummary as G, normalizeUserInputAnswer as Gi, conversationCatchUpSchema as Gn, ConversationSurface as Gr, DEFAULT_NOTIFICATION_SCHEDULE as Gt, AutomationRunList as H, UserInputRequest as Hi, ConversationCatchUp as Hn, ConversationReportStatus as Hr, NotificationSettings as Ht, AutomationExecutionDay as I, messageCardText as Ii, ReorderPinnedConversationsBody as In, ConversationFeed as Ir, revokePersonalTokenResponseSchema as It, ListedAutomationVersion as J, MAX_INPUT_IMAGES as Ji, StopConversationTurnResponse as Jn, ConversationUsage as Jr, notificationScheduleSchema as Jt, AutomationUpdate as K, webMessageId as Ki, ConversationReadPosition as Kn, ConversationTurnFailureCode as Kr, NotificationSchedule as Kt, AutomationExecutionList as L, resolveMessageCards as Li, ReorderPinnedConversationsResponse as Ln, ConversationModelUsage as Lr, disconnectServiceAccountResponseSchema as Lt, statSchema as M, conversationChildAgentTotalsSchema as Mi, conversationChildAgentSchema as Mn, ConversationCost as Mr, createdPersonalTokenSchema as Mt, statsReportSchema as N, DailyConversationActivity as Ni, conversationChildAgentsReportSchema as Nn, ConversationDetailReport as Nr, personalTokenListSchema as Nt, skillReportSchema as O, codeRepositoryParamsSchema as Oi, conversationWatchSchema as On, CONVERSATION_DETAIL_VERSION_HEADER as Or, USER_CUSTOMIZATION_MAX_CHARS as Ot, AutomationEdit as P, dailyConversationActivitySchema as Pi, PinConversationBody as Pn, ConversationEventHistory as Pr, personalTokenMetadataSchema as Pt, automationExecutionListSchema as Q, INPUT_IMAGE_TYPES as Qi, ConversationStatsReport as Qn, conversationActivityPreviewSchema as Qr, disconnectConnectionResponseSchema as Qt, AutomationExecutionStatusDay as R, AutomationCard as Ri, pinConversationBodySchema as Rn, ConversationParams as Rr, serviceAccountListSchema as Rt, pluginOperationalReportSchema as S, CodeRepositorySummary as Si, actorDirectoryReportSchema as Sn, conversationPendingMessagesReportSchema as Sr, deleteWorkspaceResponseSchema as St, pluginSchema as T, codeChangeSummarySchema as Ti, personalSpendReportSchema as Tn, steerConversationPendingMessagesResponseSchema as Tr, workspaceParamsSchema as Tt, AutomationRunWindows as U, buttonUserInputField as Ui, ConversationCatchUpBody as Un, ConversationSourceTask as Ur, notificationSettingsSchema as Ut, AutomationRun as V, UserInputField as Vi, reorderPinnedConversationsResponseSchema as Vn, ConversationReportMessageEvent as Vr, startServiceAccountSignInResponseSchema as Vt, AutomationScheduleIntent as W, isEmptyUserInputAnswer as Wi, conversationCatchUpBodySchema as Wn, ConversationSummaryReport as Wr, testNotificationResponseSchema as Wt, automationEditSchema as X, MessageAttachment as Xi, ConversationMetricDay as Xn, CreateConversationMessageBody as Xr, connectionParamsSchema as Xt, automationEditErrorSchema as Y, MAX_INPUT_IMAGE_BYTES as Yi, stopConversationTurnResponseSchema as Yn, CreateConversationBody as Yr, connectionListSchema as Yt, automationEventCatalogSchema as Z, INLINE_VIDEO_TYPES as Zi, ConversationStatsItem as Zn, acceptedConversationMessageSchema as Zr, connectionSchema as Zt, RuntimeInfoReport as _, CodeActivityDay as _i, ActorTotalsReport as _n, cancelConversationPendingMessagesResponseSchema as _r, scheduledAutomationSummarySchema as _t, reviewItemCountSchema as a, conversationFeedQuerySchema as ai, LocationDirectoryReport as an, archiveConversationBodySchema as ar, automationRunListSchema as at, healthReportSchema as b, CodePersonReport as bi, PersonParams as bn, conversationPendingMessageDeliverySchema as br, WorkspaceReport as bt, reviewItemWaitingConversationsSchema as c, conversationReportEventDataSchema as ci, locationActivityDayReportSchema as cn, conversationAutoArchiveSchema as cr, automationScheduleIntentSchema as ct, Plugin as d, createConversationBodySchema as di, locationParamsSchema as dn, ConversationPendingMessage as dr, automationUpdateSchema as dt, conversationDetailQuerySchema as ei, ApiError as en, GuardianStats as er, automationExecutionStatusDaySchema as et, PluginOperationalReport as f, createConversationMessageBodySchema as fi, ActorActivityDayReport as fn, ConversationPendingMessageDelivery as fr, automationVersionActivateSchema as ft, Plugins as g, conversationTurnFailureReasonSchema as gi, ActorSummaryReport as gn, cancelConversationPendingMessagesBodySchema as gr, eventAutomationSummarySchema as gt, PluginPackageContentReport as h, conversationTurnFailureCodeSchema as hi, ActorProfileReport as hn, SteerConversationPendingMessagesResponse as hr, automationVersionSchema as ht, reviewItemActionSchema as i, conversationEventsQuerySchema as ii, LocationDetailReport as in, ConversationAutoArchive as ir, automationParamsSchema as it, StatsReport as j, ConversationChildAgentTotals as ji, ConversationChildAgentsReport as jn, ConversationAuxiliaryCosts as jr, createPersonalTokenBodySchema as jt, skillReportsSchema as k, codeRepositoryReportSchema as ki, conversationWatchesReportSchema as kn, ConversationActivityPreview as kr, userCustomizationSchema as kt, ReviewItemChangeRecord as l, conversationReportEventSchema as li, locationDetailReportSchema as ln, CancelConversationPendingMessagesBody as lr, automationSchedulePreviewSchema as lt, PluginPackageContentItemReport as m, forkConversationResponseSchema as mi, ActorDirectoryWindows as mn, SteerConversationPendingMessagesBody as mr, automationVersionParamsSchema as mt, ReviewItemActionBody as n, conversationEventHistorySchema as ni, LocationActivityDayReport as nn, ArchiveConversationBody as nr, automationListQuerySchema as nt, reviewItemListSchema as o, conversationFeedSchema as oi, LocationParams as on, archiveConversationResponseSchema as or, automationRunSchema as ot, PluginOperationalReportFeed as p, forkConversationBodySchema as pi, ActorDirectoryReport as pn, ConversationPendingMessagesReport as pr, automationVersionListSchema as pt, AutomationVersionList as q, InputImage as qi, conversationReadPositionSchema as qn, ConversationTurnFailureReason as qr, isWithinNotificationSchedule as qt, ReviewItemPayload as r, conversationEventPageSchema as ri, LocationActorSummaryReport as rn, ArchiveConversationResponse as rr, automationListSchema as rt, reviewItemSchema as s, conversationParamsSchema as si, LocationSummaryReport as sn, archiveDoneConversationsResponseSchema as sr, automationRunWindowsSchema as st, OwnedObjectAnnotation$1 as t, conversationDetailReportSchema as ti, apiErrorSchema as tn, conversationStatsReportSchema as tr, automationExecutionStatusSchema as tt, HealthReport as u, conversationSummaryReportSchema as ui, locationDirectoryReportSchema as un, CancelConversationPendingMessagesResponse as ur, automationSummarySchema as ut, SkillReport as v, CodeChangeSummaryReport as vi, ActorWindowMetrics as vn, conversationDetailWithMailboxReportSchema as vr, BaselineSnapshotReport as vt, pluginPackageContentReportSchema as w, codeChangeSummaryReportSchema as wi, personParamsSchema as wn, steerConversationPendingMessagesBodySchema as wr, workspaceListSchema as wt, pluginOperationalReportFeedSchema as x, CodeRepositoryReport as xi, PersonalSpendReport as xn, conversationPendingMessageSchema as xr, baselineSnapshotSchema as xt, SkillReports as y, CodeOverviewReport as yi, PeopleActivityDayReport as yn, conversationPendingAuthorizationSchema as yr, WorkspaceListReport as yt, AutomationList as z, USER_INPUT_NOTE as zi, pinConversationResponseSchema as zn, ConversationReportEvent as zr, serviceAccountParamsSchema as zt };
7362
+ /**
7363
+ * Opaque change tokens for the dashboard reads that refresh by themselves.
7364
+ * A token changes when the read it covers can change. Compare a token only
7365
+ * with an earlier token of the same field.
7366
+ */
7367
+ declare const versionsSchema: z.ZodObject<{
7368
+ conversation: z.ZodOptional<z.ZodString>;
7369
+ conversations: z.ZodString;
7370
+ reviewItems: z.ZodString;
7371
+ spend: z.ZodString;
7372
+ }, z.core.$strict>;
7373
+ type Versions = z.output<typeof versionsSchema>;
7374
+ export { automationEventCatalogSchema as $, dailyConversationActivitySchema as $i, ConversationCatchUp as $n, ConversationEventPage as $r, connectionSchema as $t, skillReportSchema as A, createConversationBodySchema as Ai, conversationWatchSchema as An, ConversationPendingMessagesReport as Ar, USER_CUSTOMIZATION_MAX_CHARS as At, AutomationExecutionStatusDay as B, CodeRepositoryReport as Bi, renameConversationResponseSchema as Bn, conversationUnchangedDetailWithMailboxSchema as Br, serviceAccountListSchema as Bt, pluginOperationalReportFeedSchema as C, conversationEventsQuerySchema as Ci, PersonalSpendReport as Cn, archiveConversationResponseSchema as Cr, baselineSnapshotSchema as Ct, pluginSchema as D, conversationReportEventDataSchema as Di, personalSpendReportSchema as Dn, CancelConversationPendingMessagesResponse as Dr, workspaceParamsSchema as Dt, pluginPackageContentReportSchema as E, conversationParamsSchema as Ei, personParamsSchema as En, CancelConversationPendingMessagesBody as Er, workspaceListSchema as Et, statsReportSchema as F, conversationTurnFailureReasonSchema as Fi, conversationChildAgentsReportSchema as Fn, conversationDetailWithMailboxReportSchema as Fr, personalTokenListSchema as Ft, AutomationRunWindows as G, codeOverviewReportSchema as Gi, PinConversationBody as Gn, CONVERSATION_DETAIL_VERSION_HEADER as Gr, notificationSettingsSchema as Gt, AutomationListQuery as H, codeActivityDaySchema as Hi, MarkConversationUnreadBody as Hn, steerConversationPendingMessagesResponseSchema as Hr, serviceAccountSchema as Ht, AutomationEdit as I, CodeActivityDay as Ii, CONVERSATION_TITLE_MAX_LENGTH as In, conversationPendingAuthorizationSchema as Ir, personalTokenMetadataSchema as It, AutomationUpdate as J, codeRepositoryReportSchema as Ji, ReorderPinnedConversationsResponse as Jn, ConversationAgentTreeNode as Jr, NotificationSchedule as Jt, AutomationScheduleIntent as K, codePersonReportSchema as Ki, PinConversationResponse as Kn, CONVERSATION_VERSION_HEADER as Kr, testNotificationResponseSchema as Kt, AutomationExecution as L, CodeChangeSummaryReport as Li, RenameConversationBody as Ln, conversationPendingMessageDeliverySchema as Lr, personalTokenParamsSchema as Lt, StatReport as M, forkConversationBodySchema as Mi, ConversationChildAgent as Mn, SteerConversationPendingMessagesResponse as Mr, PersonalTokenMetadata as Mt, StatsReport as N, forkConversationResponseSchema as Ni, ConversationChildAgentsReport as Nn, cancelConversationPendingMessagesBodySchema as Nr, createPersonalTokenBodySchema as Nt, pluginsSchema as O, conversationReportEventSchema as Oi, ConversationWatch as On, ConversationPendingMessage as Or, workspaceRepoSchema as Ot, statSchema as P, conversationTurnFailureCodeSchema as Pi, conversationChildAgentSchema as Pn, cancelConversationPendingMessagesResponseSchema as Pr, createdPersonalTokenSchema as Pt, automationEditSchema as Q, DailyConversationActivity as Qi, reorderPinnedConversationsResponseSchema as Qn, ConversationEventHistory as Qr, connectionParamsSchema as Qt, AutomationExecutionDay as R, CodeOverviewReport as Ri, RenameConversationResponse as Rn, conversationPendingMessageSchema as Rr, revokePersonalTokenResponseSchema as Rt, healthReportSchema as S, conversationEventPageSchema as Si, PersonParams as Sn, archiveConversationBodySchema as Sr, WorkspaceReport as St, pluginPackageContentItemReportSchema as T, conversationFeedSchema as Ti, actorProfileReportSchema as Tn, conversationAutoArchiveSchema as Tr, workspaceBodySchema as Tt, AutomationRun as U, codeChangeSummaryReportSchema as Ui, conversationUnreadSchema as Un, AcceptedConversationMessage as Ur, startServiceAccountSignInResponseSchema as Ut, AutomationList as V, CodeRepositorySummary as Vi, ConversationUnread as Vn, steerConversationPendingMessagesBodySchema as Vr, serviceAccountParamsSchema as Vt, AutomationRunList as W, codeChangeSummarySchema as Wi, markConversationUnreadBodySchema as Wn, ActorIdentity as Wr, NotificationSettings as Wt, ListedAutomationVersion as X, ConversationChildAgentTotals as Xi, pinConversationResponseSchema as Xn, ConversationCost as Xr, notificationScheduleSchema as Xt, AutomationVersionList as Y, codeRepositorySummarySchema as Yi, pinConversationBodySchema as Yn, ConversationAuxiliaryCosts as Yr, isWithinNotificationSchedule as Yt, automationEditErrorSchema as Z, conversationChildAgentTotalsSchema as Zi, reorderPinnedConversationsBodySchema as Zn, ConversationDetailReport as Zr, connectionListSchema as Zt, PluginPackageContentReport as _, INLINE_VIDEO_TYPES as _a, conversationActivityPreviewSchema as _i, ActorProfileReport as _n, GuardianStats as _r, automationVersionSchema as _t, ReviewItemPayload as a, UserInputAnswer as aa, ConversationReportEventData as ai, LocationActorSummaryReport as an, conversationReadPositionSchema as ar, automationListSchema as at, SkillReport as b, conversationDetailReportSchema as bi, ActorWindowMetrics as bn, ArchiveConversationResponse as br, BaselineSnapshotReport as bt, reviewItemListSchema as c, buttonUserInputField as ca, ConversationSourceTask as ci, LocationParams as cn, ContinueConversationInSlackResponse as cr, automationRunSchema as ct, ReviewItemChangeRecord as d, webMessageId as da, ConversationTurnFailureCode as di, locationDetailReportSchema as dn, StopConversationTurnResponse as dr, automationSchedulePreviewSchema as dt, MessageCard as ea, ConversationFeed as ei, disconnectConnectionResponseSchema as en, ConversationCatchUpBody as er, automationExecutionListSchema as et, HealthReport as f, isAgentInvocationResultEventType as fa, ConversationTurnFailureReason as fi, locationDirectoryReportSchema as fn, stopConversationTurnResponseSchema as fr, automationSummarySchema as ft, PluginPackageContentItemReport as g, MessageAttachment as ga, acceptedConversationMessageSchema as gi, ActorDirectoryWindows as gn, GuardianMetricDay as gr, automationVersionParamsSchema as gt, PluginOperationalReportFeed as h, MAX_INPUT_IMAGE_BYTES as ha, CreateConversationMessageBody as hi, ActorDirectoryReport as hn, ConversationStatsReport as hr, automationVersionListSchema as ht, ReviewItemActionBody as i, USER_INPUT_NOTE as ia, ConversationReportEvent as ii, LocationActivityDayReport as in, ConversationReadReport as ir, automationListQuerySchema as it, skillReportsSchema as j, createConversationMessageBodySchema as ji, conversationWatchesReportSchema as jn, SteerConversationPendingMessagesBody as jr, userCustomizationSchema as jt, runtimeInfoReportSchema as k, conversationSummaryReportSchema as ki, ConversationWatchesReport as kn, ConversationPendingMessageDelivery as kr, workspaceSchema as kt, reviewItemSchema as l, isEmptyUserInputAnswer as la, ConversationSummaryReport as li, LocationSummaryReport as ln, continueConversationInSlackBodySchema as lr, automationRunWindowsSchema as lt, PluginOperationalReport as m, MAX_INPUT_IMAGES as ma, CreateConversationBody as mi, ActorActivityDayReport as mn, ConversationStatsItem as mr, automationVersionActivateSchema as mt, Versions as n, resolveMessageCards as na, ConversationModelUsage as ni, ApiError as nn, conversationCatchUpSchema as nr, automationExecutionStatusDaySchema as nt, reviewItemActionSchema as o, UserInputField as oa, ConversationReportMessageEvent as oi, LocationDetailReport as on, conversationReadReportSchema as or, automationParamsSchema as ot, Plugin as p, InputImage as pa, ConversationUsage as pi, locationParamsSchema as pn, ConversationMetricDay as pr, automationUpdateSchema as pt, AutomationSummary as q, codeRepositoryParamsSchema as qi, ReorderPinnedConversationsBody as qn, ConversationActivityPreview as qr, DEFAULT_NOTIFICATION_SCHEDULE as qt, versionsSchema as r, AutomationCard as ra, ConversationParams as ri, apiErrorSchema as rn, ConversationReadPosition as rr, automationExecutionStatusSchema as rt, reviewItemCountSchema as s, UserInputRequest as sa, ConversationReportStatus as si, LocationDirectoryReport as sn, ContinueConversationInSlackBody as sr, automationRunListSchema as st, OwnedObjectAnnotation$1 as t, messageCardText as ta, ConversationFeedItem as ti, startConnectionResponseSchema as tn, conversationCatchUpBodySchema as tr, automationExecutionSchema as tt, reviewItemWaitingConversationsSchema as u, normalizeUserInputAnswer as ua, ConversationSurface as ui, locationActivityDayReportSchema as un, continueConversationInSlackResponseSchema as ur, automationScheduleIntentSchema as ut, Plugins as v, INPUT_IMAGE_TYPES as va, conversationAuxiliaryCostsSchema as vi, ActorSummaryReport as vn, conversationStatsReportSchema as vr, eventAutomationSummarySchema as vt, pluginOperationalReportSchema as w, conversationFeedQuerySchema as wi, actorDirectoryReportSchema as wn, archiveDoneConversationsResponseSchema as wr, deleteWorkspaceResponseSchema as wt, SkillReports as x, conversationEventHistorySchema as xi, PeopleActivityDayReport as xn, ConversationAutoArchive as xr, WorkspaceListReport as xt, RuntimeInfoReport as y, conversationDetailQuerySchema as yi, ActorTotalsReport as yn, ArchiveConversationBody as yr, scheduledAutomationSummarySchema as yt, AutomationExecutionList as z, CodePersonReport as zi, renameConversationBodySchema as zn, conversationPendingMessagesReportSchema as zr, disconnectServiceAccountResponseSchema as zt };