@sentry/junior 0.315.0 → 0.317.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 (139) hide show
  1. package/dist/{admin-5jUYY46p.js → admin-CAugg87B.js} +1 -1
  2. package/dist/{agent-runner-C7GNLRB6.js → agent-runner-AjrEV6Qe.js} +13532 -12811
  3. package/dist/{reporting-window-C4dbzDiR.js → agent-status-BA5x3Xtp.js} +33 -1
  4. package/dist/{agent-update-delivery-BNEYQsAf.js → agent-update-delivery-B_YIZcgf.js} +10 -37
  5. package/dist/api/schema.d.ts +609 -104
  6. package/dist/api/schema.js +6 -6
  7. package/dist/api.js +373 -469
  8. package/dist/{app-D_bAXRDe.d.ts → app-MoNAsVV5.d.ts} +52 -28
  9. package/dist/app.d.ts +1 -1
  10. package/dist/app.js +177 -132
  11. package/dist/catalog-runtime-DfSpJZdY.js +6 -0
  12. package/dist/{change-record-Bqsa5ZXE.d.ts → change-record-BzJgLsv7.d.ts} +60 -1
  13. package/dist/{adapter-context-BlSGE44V.js → channel-access-j-YAVYK4.js} +2 -42
  14. package/dist/{chat-core-engine-CxkwRpn9.js → chat-core-engine-aH85nEHv.js} +4 -3
  15. package/dist/{child-message--2G3Ft26.js → child-message-DHjQLEd1.js} +1 -1
  16. package/dist/cli/chat.js +23 -23
  17. package/dist/cli/check.js +5 -5
  18. package/dist/cli/main.js +2 -2
  19. package/dist/cli/plugins.js +5 -4
  20. package/dist/cli/snapshot-create.js +5 -2
  21. package/dist/cli/upgrade.js +27 -5
  22. package/dist/config-CHQ8X251.js +2422 -0
  23. package/dist/{continue-in-slack-BGKjIdFp.js → continue-in-slack-D-FZ8Fin.js} +2 -3
  24. package/dist/{conversation-feed-Sl8lKKmR.js → conversation-feed--9S0_PXL.js} +9 -4
  25. package/dist/{proxy-path-Dc-0jXGi.js → conversation-privacy-B1uXn5sf.js} +2 -16
  26. package/dist/{conversation-turn-BoLK9i6g.js → conversation-turn-BUE_7xaN.js} +102 -172
  27. package/dist/{create-BOycVH9h.js → create-DoDIYgtZ.js} +12 -10
  28. package/dist/{credential-sync-Mn4OdkEh.js → credential-sync-BJOqGnjV.js} +17 -12
  29. package/dist/{db-DXTOYRzR.js → db-BFmyYZtJ.js} +20276 -27398
  30. package/dist/{deployment-CG3TchWh.js → deployment-DXq9ZLU4.js} +17 -15
  31. package/dist/{engine-context-dyWlfNdD.js → engine-context-CgQ7mlHt.js} +264 -50
  32. package/dist/{html-CfXEwl_h.js → html-B3VKTGbJ.js} +6 -2
  33. package/dist/instrumentation.js +15 -7
  34. package/dist/{job-runner-CySgpi9v.js → job-runner-A1lCkybD.js} +397 -22
  35. package/dist/{lineage-tRTOcrsL.js → lineage-Bktb0UcV.js} +1 -1
  36. package/dist/{list-DXBz8SYL.js → list-Bxvg5wXf.js} +260 -698
  37. package/dist/{logging-czs0nqLC.js → logging--smS7XRK.js} +2 -2
  38. package/dist/{mailbox-turn-79Nv1JXv.js → mailbox-turn-uSXhUFc9.js} +648 -2957
  39. package/dist/{message-BTox2Cmb.js → message-BNenhsmB.js} +12 -22
  40. package/dist/{model-input-IRGa98V7.js → model-input-BReSnwHp.js} +3 -3
  41. package/dist/nitro.d.ts +1 -1
  42. package/dist/nitro.js +20 -6
  43. package/dist/{oauth-callback-server-NXK7AlBp.js → oauth-callback-server-CE4soEIY.js} +2 -2
  44. package/dist/{oauth-relay-6NBPSpFE.js → oauth-relay-C36gX1gH.js} +2 -2
  45. package/dist/{package-discovery-BI6T_RkD.js → package-discovery-DD9vencX.js} +1 -50
  46. package/dist/{parent-result-Dg6P6roR.js → parent-result-Ck1rFYRQ.js} +93 -106
  47. package/dist/{plugins-BXMdNdyA.js → plugins-D_Ru4CWc.js} +1 -1
  48. package/dist/profile-BQ-iBDsZ.js +4657 -0
  49. package/dist/{transcript-BHhJVY0P.js → prompt-Dv7gkpD6.js} +97 -103
  50. package/dist/proxy-path-BHYoKZdq.js +15 -0
  51. package/dist/registry-iXMT5Jmh.js +3279 -0
  52. package/dist/reports-WKHfGTsU.js +195 -0
  53. package/dist/{resolve-BUFkmxkT.js → resolve-tony4ibz.js} +9 -29
  54. package/dist/{result-DfATzX77.js → result-Bta_dlWa.js} +42 -117
  55. package/dist/run-conversation-DL6ru7iW.js +336 -0
  56. package/dist/{runner-CmKP3inb.js → runner-BstDRbD9.js} +7 -7
  57. package/dist/{sandbox-egress-signals-DYo5BsM7.js → sandbox-egress-signals-oSJMJOnn.js} +1 -1
  58. package/dist/{schema-DrBMdPmv.js → schema-DfqrHACA.js} +67 -84
  59. package/dist/sender-actors-CPglLd5R.js +83 -0
  60. package/dist/{service-account-CxTX7nnR.js → service-account-CTV_jaNu.js} +3 -1
  61. package/dist/{skills-BlHUDj7k.js → skills-BCEU41zM.js} +4 -4
  62. package/dist/{slack-conversation-unfurl-Dhe3lB1U.js → slack-conversation-unfurl-DxVmhbGP.js} +7 -6
  63. package/dist/{spawn-CfvlFdfz.js → spawn-frczVPIr.js} +11 -8
  64. package/dist/{system-prompt-table-CDCYVwqN.js → system-prompt-table-CiXy0eNR.js} +91 -70
  65. package/dist/{task-runner-DcdQJd9e.js → task-runner-C9Yc2_ae.js} +35 -49
  66. package/dist/{thread-context-DF5uDcWN.js → thread-context-CqZDKErp.js} +6 -6
  67. package/dist/topics-SRN7IVX-.js +24 -0
  68. package/dist/turn-membership-CENFf3kI.js +856 -0
  69. package/dist/{turn-wake-um5Ubd4m.js → turn-wake-BhloiI2h.js} +4 -5
  70. package/dist/{media-Cr9pGkzr.js → types-C4iC-IMC.js} +819 -777
  71. package/dist/user-customization-CvfuY9Eo.js +93 -0
  72. package/dist/users-ByG5RCEJ.js +181 -0
  73. package/dist/{validation-CJyuOPD2.js → validation-8gjfR91V.js} +1 -1
  74. package/dist/{version-Bhe7RPIe.js → version-BeZhWWBE.js} +1 -1
  75. package/dist/version.js +1 -1
  76. package/dist/{worker-D8PRgUqr.js → worker-BqMQQNRk.js} +5 -4
  77. package/migrations/20261125171254_conversation_visibility/migration.sql +4 -0
  78. package/migrations/20261125171254_conversation_visibility/snapshot.json +67 -0
  79. package/migrations/20261125171257_conversation_visibility_backfill/migration.sql +25 -0
  80. package/migrations/20261125171257_conversation_visibility_backfill/snapshot.json +9 -0
  81. package/migrations/20261125213232_drop_versions_notify/migration.sql +19 -0
  82. package/migrations/20261125213232_drop_versions_notify/snapshot.json +9 -0
  83. package/migrations/20261125225138_conversation_kind_root_thread/migration.sql +23 -0
  84. package/migrations/20261125225138_conversation_kind_root_thread/snapshot.json +55 -0
  85. package/migrations/20261125225142_conversation_kind_root_thread_backfill/migration.sql +7 -0
  86. package/migrations/20261125225142_conversation_kind_root_thread_backfill/snapshot.json +9 -0
  87. package/migrations/20261126000151_conversation_event_message_role_seq_index/migration.sql +1 -0
  88. package/migrations/20261126000151_conversation_event_message_role_seq_index/snapshot.json +69 -0
  89. package/migrations/20261126012917_merge_leaves/migration.sql +2 -0
  90. package/migrations/20261126012917_merge_leaves/snapshot.json +12 -0
  91. package/migrations/20261126025226_drop_agent_invocations/migration.sql +6 -0
  92. package/migrations/20261126025226_drop_agent_invocations/snapshot.json +9 -0
  93. package/migrations/20261126033000_space_conversations_lead_children/migration.sql +155 -0
  94. package/migrations/20261126033000_space_conversations_lead_children/snapshot.json +9 -0
  95. package/migrations/20261126144620_drop_user_message_time_index/migration.sql +1 -0
  96. package/migrations/20261126144620_drop_user_message_time_index/snapshot.json +38 -0
  97. package/migrations/20261126153100_inbox_item_subjects/migration.sql +140 -0
  98. package/migrations/20261126153100_inbox_item_subjects/snapshot.json +9 -0
  99. package/migrations/20261126153103_inbox_item_subjects_not_null/migration.sql +12 -0
  100. package/migrations/20261126153103_inbox_item_subjects_not_null/snapshot.json +9 -0
  101. package/migrations/20261126153105_inbox_item_subject_indexes/migration.sql +1 -0
  102. package/migrations/20261126153105_inbox_item_subject_indexes/snapshot.json +9 -0
  103. package/migrations/20261126153108_automation_run_conversation_index/migration.sql +1 -0
  104. package/migrations/20261126153108_automation_run_conversation_index/snapshot.json +9 -0
  105. package/migrations/20261126153159_inbox_item_subjects_schema/migration.sql +4 -0
  106. package/migrations/20261126153159_inbox_item_subjects_schema/snapshot.json +437 -0
  107. package/migrations/20261126153259_inbox_questions/migration.sql +76 -0
  108. package/migrations/20261126153259_inbox_questions/snapshot.json +9 -0
  109. package/migrations/20261126153301_inbox_questions_valid/migration.sql +3 -0
  110. package/migrations/20261126153301_inbox_questions_valid/snapshot.json +9 -0
  111. package/migrations/20261126153343_inbox_questions_schema/migration.sql +5 -0
  112. package/migrations/20261126153343_inbox_questions_schema/snapshot.json +407 -0
  113. package/migrations/20261126154025_inbox_item_owners/migration.sql +74 -0
  114. package/migrations/20261126154025_inbox_item_owners/snapshot.json +9 -0
  115. package/migrations/20261126154048_inbox_item_open_subject_key_index/migration.sql +1 -0
  116. package/migrations/20261126154048_inbox_item_open_subject_key_index/snapshot.json +9 -0
  117. package/migrations/20261126154051_drop_inbox_item_owner_indexes/migration.sql +7 -0
  118. package/migrations/20261126154051_drop_inbox_item_owner_indexes/snapshot.json +9 -0
  119. package/migrations/20261126154121_inbox_item_owners_schema/migration.sql +8 -0
  120. package/migrations/20261126154121_inbox_item_owners_schema/snapshot.json +311 -0
  121. package/migrations/20261126175601_conversation_event_turn/migration.sql +5 -0
  122. package/migrations/20261126175601_conversation_event_turn/snapshot.json +103 -0
  123. package/migrations/20261126175614_conversation_event_turn_index/migration.sql +1 -0
  124. package/migrations/20261126175614_conversation_event_turn_index/snapshot.json +62 -0
  125. package/migrations/20261126230028_merge_leaves/migration.sql +2 -0
  126. package/migrations/20261126230028_merge_leaves/snapshot.json +12 -0
  127. package/migrations/20261126231932_space_lead_holds_name/migration.sql +46 -0
  128. package/migrations/20261126231932_space_lead_holds_name/snapshot.json +58 -0
  129. package/migrations/20261127001022_merge_leaves/migration.sql +2 -0
  130. package/migrations/20261127001022_merge_leaves/snapshot.json +12 -0
  131. package/package.json +5 -5
  132. package/skills/jr-rpc/SKILL.md +3 -5
  133. package/dist/direct-url-BYgYfuIy.js +0 -22
  134. package/dist/markers-CE0HMXWT.js +0 -67
  135. package/dist/people-Cegp1Iwq.js +0 -81
  136. package/dist/start-conversation-Uh8Sk1EF.js +0 -162
  137. package/dist/turn-session-routing-GtetHsdO.js +0 -1309
  138. package/dist/user-customization-B27StpVQ.js +0 -9
  139. package/dist/web-message-id-C6P83ans.js +0 -10
@@ -1,11 +1,11 @@
1
- import { _ as InputFile, a as annotationCard, b as MessageAttachment, c as AutomationCard, d as UserInputField, f as UserInputRequest, g as normalizeUserInputAnswer, h as isEmptyUserInputAnswer, i as MessageCard, l as USER_INPUT_NOTE, m as buttonUserInputField, n as conversationTurnFailureCodeSchema, o as messageCardText, p as answeredChoices, r as conversationTurnFailureReasonSchema, s as resolveMessageCards, t as InboxItemChangeRecord, u as UserInputAnswer, v as MAX_ATTACHMENT_BYTES, y as MAX_INPUT_ATTACHMENTS } from "../change-record-Bqsa5ZXE.js";
1
+ import { _ as normalizeUserInputAnswer, a as annotationCard, b as MAX_INPUT_ATTACHMENTS, c as AutomationCard, d as UserInputAnswer, f as UserInputField, g as isEmptyUserInputAnswer, h as buttonUserInputField, i as MessageCard, l as inboxItemQuestion, m as answeredChoices, n as conversationTurnFailureCodeSchema, o as messageCardText, p as UserInputRequest, r as conversationTurnFailureReasonSchema, s as resolveMessageCards, t as InboxItemChangeRecord, u as USER_INPUT_NOTE, v as InputFile, x as MessageAttachment, y as MAX_ATTACHMENT_BYTES } from "../change-record-BzJgLsv7.js";
2
2
  import * as z from "zod";
3
3
  import { ObjectAnnotation, OwnedObjectAnnotation } from "@sentry/junior-plugin-api";
4
4
  export declare const INPUT_IMAGE_TYPES: readonly ["image/png", "image/jpeg", "image/gif", "image/webp"];
5
5
  /** Video types that browsers play in a `<video>` element. */
6
6
  export declare const INLINE_VIDEO_TYPES: readonly ["video/mp4", "video/webm"];
7
- /** True when an Event type names an agent invocation result. */
8
- export declare function isAgentInvocationResultEventType(eventType: string): boolean;
7
+ /** True when an Event type names a child result that an earlier release wrote. */
8
+ export declare function isLegacyResultEventType(eventType: string): boolean;
9
9
  /**
10
10
  * Event type of an agent update: what a Conversation reports when a Turn
11
11
  * ends, it waits on a person, or it stops. A parent gets it from its child
@@ -14,6 +14,8 @@ export declare function isAgentInvocationResultEventType(eventType: string): boo
14
14
  export declare const AGENT_UPDATE_EVENT_TYPE = "agent.update";
15
15
  /** True when an Event type names an agent update. */
16
16
  export declare function isAgentUpdateEventType(eventType: string): boolean;
17
+ /** True when an Event type names a message that another agent sent. */
18
+ export declare function isAgentMessageEventType(eventType: string): boolean;
17
19
  /**
18
20
  * Build the retry-stable Message id shared by web ingress and browser sends.
19
21
  * Keep the existing hash and prefix so retries still address stored Messages.
@@ -218,7 +220,6 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
218
220
  kind: z.ZodEnum<{
219
221
  automation: "automation";
220
222
  lead: "lead";
221
- root: "root";
222
223
  task: "task";
223
224
  thread: "thread";
224
225
  }>;
@@ -368,7 +369,7 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
368
369
  slackUserName: z.ZodOptional<z.ZodString>;
369
370
  }, z.core.$strict>>;
370
371
  actorIdentityId: z.ZodOptional<z.ZodString>;
371
- agentInvocationId: z.ZodOptional<z.ZodString>;
372
+ fromParentAgent: z.ZodOptional<z.ZodLiteral<true>>;
372
373
  eventType: z.ZodOptional<z.ZodString>;
373
374
  eventNamespace: z.ZodOptional<z.ZodString>;
374
375
  eventIdentifier: z.ZodOptional<z.ZodString>;
@@ -468,7 +469,6 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
468
469
  startedSeq: z.ZodOptional<z.ZodNumber>;
469
470
  input: z.ZodOptional<z.ZodUnknown>;
470
471
  output: z.ZodOptional<z.ZodUnknown>;
471
- startedConversationId: z.ZodOptional<z.ZodString>;
472
472
  }, z.core.$strict>>;
473
473
  assistant: z.ZodOptional<z.ZodObject<{
474
474
  parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -654,7 +654,7 @@ export declare const conversationReportEventSchema: z.ZodObject<{
654
654
  slackUserName: z.ZodOptional<z.ZodString>;
655
655
  }, z.core.$strict>>;
656
656
  actorIdentityId: z.ZodOptional<z.ZodString>;
657
- agentInvocationId: z.ZodOptional<z.ZodString>;
657
+ fromParentAgent: z.ZodOptional<z.ZodLiteral<true>>;
658
658
  eventType: z.ZodOptional<z.ZodString>;
659
659
  eventNamespace: z.ZodOptional<z.ZodString>;
660
660
  eventIdentifier: z.ZodOptional<z.ZodString>;
@@ -754,7 +754,6 @@ export declare const conversationReportEventSchema: z.ZodObject<{
754
754
  startedSeq: z.ZodOptional<z.ZodNumber>;
755
755
  input: z.ZodOptional<z.ZodUnknown>;
756
756
  output: z.ZodOptional<z.ZodUnknown>;
757
- startedConversationId: z.ZodOptional<z.ZodString>;
758
757
  }, z.core.$strict>>;
759
758
  assistant: z.ZodOptional<z.ZodObject<{
760
759
  parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -981,7 +980,6 @@ declare const conversationAgentTreeNodeSchema: z.ZodObject<{
981
980
  kind: z.ZodEnum<{
982
981
  automation: "automation";
983
982
  lead: "lead";
984
- root: "root";
985
983
  task: "task";
986
984
  thread: "thread";
987
985
  }>;
@@ -1014,7 +1012,7 @@ export declare const conversationEventPageSchema: z.ZodObject<{
1014
1012
  slackUserName: z.ZodOptional<z.ZodString>;
1015
1013
  }, z.core.$strict>>;
1016
1014
  actorIdentityId: z.ZodOptional<z.ZodString>;
1017
- agentInvocationId: z.ZodOptional<z.ZodString>;
1015
+ fromParentAgent: z.ZodOptional<z.ZodLiteral<true>>;
1018
1016
  eventType: z.ZodOptional<z.ZodString>;
1019
1017
  eventNamespace: z.ZodOptional<z.ZodString>;
1020
1018
  eventIdentifier: z.ZodOptional<z.ZodString>;
@@ -1114,7 +1112,6 @@ export declare const conversationEventPageSchema: z.ZodObject<{
1114
1112
  startedSeq: z.ZodOptional<z.ZodNumber>;
1115
1113
  input: z.ZodOptional<z.ZodUnknown>;
1116
1114
  output: z.ZodOptional<z.ZodUnknown>;
1117
- startedConversationId: z.ZodOptional<z.ZodString>;
1118
1115
  }, z.core.$strict>>;
1119
1116
  assistant: z.ZodOptional<z.ZodObject<{
1120
1117
  parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1398,7 +1395,6 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1398
1395
  kind: z.ZodEnum<{
1399
1396
  automation: "automation";
1400
1397
  lead: "lead";
1401
- root: "root";
1402
1398
  task: "task";
1403
1399
  thread: "thread";
1404
1400
  }>;
@@ -1505,7 +1501,6 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1505
1501
  kind: z.ZodEnum<{
1506
1502
  automation: "automation";
1507
1503
  lead: "lead";
1508
- root: "root";
1509
1504
  task: "task";
1510
1505
  thread: "thread";
1511
1506
  }>;
@@ -1596,6 +1591,12 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1596
1591
  pending: z.ZodNumber;
1597
1592
  }, z.core.$strict>, z.ZodLiteral<"pending">]>>;
1598
1593
  mergeable: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"pending">]>>;
1594
+ titleParts: z.ZodOptional<z.ZodObject<{
1595
+ breaking: z.ZodOptional<z.ZodBoolean>;
1596
+ scope: z.ZodOptional<z.ZodString>;
1597
+ text: z.ZodString;
1598
+ type: z.ZodOptional<z.ZodString>;
1599
+ }, z.core.$strict>>;
1599
1600
  changedFiles: z.ZodOptional<z.ZodNumber>;
1600
1601
  additions: z.ZodOptional<z.ZodNumber>;
1601
1602
  deletions: z.ZodOptional<z.ZodNumber>;
@@ -1777,6 +1778,8 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1777
1778
  autoArchive: z.ZodOptional<z.ZodBoolean>;
1778
1779
  canFork: z.ZodOptional<z.ZodBoolean>;
1779
1780
  canContinueInSlack: z.ZodOptional<z.ZodLiteral<true>>;
1781
+ canInvite: z.ZodOptional<z.ZodLiteral<true>>;
1782
+ leaveEndsAccess: z.ZodOptional<z.ZodLiteral<true>>;
1780
1783
  deliveryPaused: z.ZodOptional<z.ZodBoolean>;
1781
1784
  subscribed: z.ZodOptional<z.ZodBoolean>;
1782
1785
  readPosition: z.ZodOptional<z.ZodObject<{
@@ -1807,7 +1810,7 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1807
1810
  slackUserName: z.ZodOptional<z.ZodString>;
1808
1811
  }, z.core.$strict>>;
1809
1812
  actorIdentityId: z.ZodOptional<z.ZodString>;
1810
- agentInvocationId: z.ZodOptional<z.ZodString>;
1813
+ fromParentAgent: z.ZodOptional<z.ZodLiteral<true>>;
1811
1814
  eventType: z.ZodOptional<z.ZodString>;
1812
1815
  eventNamespace: z.ZodOptional<z.ZodString>;
1813
1816
  eventIdentifier: z.ZodOptional<z.ZodString>;
@@ -1907,7 +1910,6 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1907
1910
  startedSeq: z.ZodOptional<z.ZodNumber>;
1908
1911
  input: z.ZodOptional<z.ZodUnknown>;
1909
1912
  output: z.ZodOptional<z.ZodUnknown>;
1910
- startedConversationId: z.ZodOptional<z.ZodString>;
1911
1913
  }, z.core.$strict>>;
1912
1914
  assistant: z.ZodOptional<z.ZodObject<{
1913
1915
  parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2171,7 +2173,7 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
2171
2173
  slackUserName: z.ZodOptional<z.ZodString>;
2172
2174
  }, z.core.$strict>>;
2173
2175
  actorIdentityId: z.ZodOptional<z.ZodString>;
2174
- agentInvocationId: z.ZodOptional<z.ZodString>;
2176
+ fromParentAgent: z.ZodOptional<z.ZodLiteral<true>>;
2175
2177
  eventType: z.ZodOptional<z.ZodString>;
2176
2178
  eventNamespace: z.ZodOptional<z.ZodString>;
2177
2179
  eventIdentifier: z.ZodOptional<z.ZodString>;
@@ -2271,7 +2273,6 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
2271
2273
  startedSeq: z.ZodOptional<z.ZodNumber>;
2272
2274
  input: z.ZodOptional<z.ZodUnknown>;
2273
2275
  output: z.ZodOptional<z.ZodUnknown>;
2274
- startedConversationId: z.ZodOptional<z.ZodString>;
2275
2276
  }, z.core.$strict>>;
2276
2277
  assistant: z.ZodOptional<z.ZodObject<{
2277
2278
  parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -2621,6 +2622,12 @@ export declare const objectLinksReportSchema: z.ZodObject<{
2621
2622
  pending: z.ZodNumber;
2622
2623
  }, z.core.$strict>, z.ZodLiteral<"pending">]>>;
2623
2624
  mergeable: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"pending">]>>;
2625
+ titleParts: z.ZodOptional<z.ZodObject<{
2626
+ breaking: z.ZodOptional<z.ZodBoolean>;
2627
+ scope: z.ZodOptional<z.ZodString>;
2628
+ text: z.ZodString;
2629
+ type: z.ZodOptional<z.ZodString>;
2630
+ }, z.core.$strict>>;
2624
2631
  changedFiles: z.ZodOptional<z.ZodNumber>;
2625
2632
  additions: z.ZodOptional<z.ZodNumber>;
2626
2633
  deletions: z.ZodOptional<z.ZodNumber>;
@@ -3420,7 +3427,6 @@ export declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
3420
3427
  kind: z.ZodEnum<{
3421
3428
  automation: "automation";
3422
3429
  lead: "lead";
3423
- root: "root";
3424
3430
  task: "task";
3425
3431
  thread: "thread";
3426
3432
  }>;
@@ -3527,7 +3533,6 @@ export declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
3527
3533
  kind: z.ZodEnum<{
3528
3534
  automation: "automation";
3529
3535
  lead: "lead";
3530
- root: "root";
3531
3536
  task: "task";
3532
3537
  thread: "thread";
3533
3538
  }>;
@@ -3618,6 +3623,12 @@ export declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
3618
3623
  pending: z.ZodNumber;
3619
3624
  }, z.core.$strict>, z.ZodLiteral<"pending">]>>;
3620
3625
  mergeable: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"pending">]>>;
3626
+ titleParts: z.ZodOptional<z.ZodObject<{
3627
+ breaking: z.ZodOptional<z.ZodBoolean>;
3628
+ scope: z.ZodOptional<z.ZodString>;
3629
+ text: z.ZodString;
3630
+ type: z.ZodOptional<z.ZodString>;
3631
+ }, z.core.$strict>>;
3621
3632
  changedFiles: z.ZodOptional<z.ZodNumber>;
3622
3633
  additions: z.ZodOptional<z.ZodNumber>;
3623
3634
  deletions: z.ZodOptional<z.ZodNumber>;
@@ -3799,6 +3810,8 @@ export declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
3799
3810
  autoArchive: z.ZodOptional<z.ZodBoolean>;
3800
3811
  canFork: z.ZodOptional<z.ZodBoolean>;
3801
3812
  canContinueInSlack: z.ZodOptional<z.ZodLiteral<true>>;
3813
+ canInvite: z.ZodOptional<z.ZodLiteral<true>>;
3814
+ leaveEndsAccess: z.ZodOptional<z.ZodLiteral<true>>;
3802
3815
  deliveryPaused: z.ZodOptional<z.ZodBoolean>;
3803
3816
  subscribed: z.ZodOptional<z.ZodBoolean>;
3804
3817
  readPosition: z.ZodOptional<z.ZodObject<{
@@ -3829,7 +3842,7 @@ export declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
3829
3842
  slackUserName: z.ZodOptional<z.ZodString>;
3830
3843
  }, z.core.$strict>>;
3831
3844
  actorIdentityId: z.ZodOptional<z.ZodString>;
3832
- agentInvocationId: z.ZodOptional<z.ZodString>;
3845
+ fromParentAgent: z.ZodOptional<z.ZodLiteral<true>>;
3833
3846
  eventType: z.ZodOptional<z.ZodString>;
3834
3847
  eventNamespace: z.ZodOptional<z.ZodString>;
3835
3848
  eventIdentifier: z.ZodOptional<z.ZodString>;
@@ -3929,7 +3942,6 @@ export declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
3929
3942
  startedSeq: z.ZodOptional<z.ZodNumber>;
3930
3943
  input: z.ZodOptional<z.ZodUnknown>;
3931
3944
  output: z.ZodOptional<z.ZodUnknown>;
3932
- startedConversationId: z.ZodOptional<z.ZodString>;
3933
3945
  }, z.core.$strict>>;
3934
3946
  assistant: z.ZodOptional<z.ZodObject<{
3935
3947
  parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -4193,7 +4205,7 @@ export declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
4193
4205
  slackUserName: z.ZodOptional<z.ZodString>;
4194
4206
  }, z.core.$strict>>;
4195
4207
  actorIdentityId: z.ZodOptional<z.ZodString>;
4196
- agentInvocationId: z.ZodOptional<z.ZodString>;
4208
+ fromParentAgent: z.ZodOptional<z.ZodLiteral<true>>;
4197
4209
  eventType: z.ZodOptional<z.ZodString>;
4198
4210
  eventNamespace: z.ZodOptional<z.ZodString>;
4199
4211
  eventIdentifier: z.ZodOptional<z.ZodString>;
@@ -4293,7 +4305,6 @@ export declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
4293
4305
  startedSeq: z.ZodOptional<z.ZodNumber>;
4294
4306
  input: z.ZodOptional<z.ZodUnknown>;
4295
4307
  output: z.ZodOptional<z.ZodUnknown>;
4296
- startedConversationId: z.ZodOptional<z.ZodString>;
4297
4308
  }, z.core.$strict>>;
4298
4309
  assistant: z.ZodOptional<z.ZodObject<{
4299
4310
  parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -5001,15 +5012,24 @@ export declare const conversationSubscriptionResponseSchema: z.ZodObject<{
5001
5012
  archivedAt: z.ZodNullable<z.ZodString>;
5002
5013
  subscribed: z.ZodBoolean;
5003
5014
  }, z.core.$strict>;
5004
- /** Invite one mentioned person, by Slack user id, to a public Conversation. */
5015
+ /**
5016
+ * The root after the viewer left it. `archivedAt` is set when the viewer
5017
+ * was the last subscriber, so leaving archived it for everyone.
5018
+ */
5019
+ export declare const conversationLeaveResponseSchema: z.ZodObject<{
5020
+ archivedAt: z.ZodNullable<z.ZodString>;
5021
+ }, z.core.$strict>;
5022
+ /** Invite one User, by the id that user search returns, to a Conversation. */
5005
5023
  export declare const conversationInviteBodySchema: z.ZodObject<{
5006
- slackUserId: z.ZodString;
5024
+ userId: z.ZodString;
5007
5025
  }, z.core.$strict>;
5008
5026
  /** `added` is false when the person was already a Participant. */
5009
5027
  export declare const conversationInviteResponseSchema: z.ZodObject<{
5010
5028
  added: z.ZodBoolean;
5011
5029
  }, z.core.$strict>;
5030
+ type ConversationInviteBody = z.infer<typeof conversationInviteBodySchema>;
5012
5031
  type ConversationInviteResponse = z.infer<typeof conversationInviteResponseSchema>;
5032
+ type ConversationLeaveResponse = z.infer<typeof conversationLeaveResponseSchema>;
5013
5033
  type ConversationSubscriptionBody = z.infer<typeof conversationSubscriptionBodySchema>;
5014
5034
  type ConversationSubscriptionResponse = z.infer<typeof conversationSubscriptionResponseSchema>;
5015
5035
  /**
@@ -5027,7 +5047,7 @@ export declare const conversationOutlineSchema: z.ZodObject<{
5027
5047
  seq: z.ZodNumber;
5028
5048
  createdAt: z.ZodString;
5029
5049
  actorIdentityId: z.ZodOptional<z.ZodString>;
5030
- agentInvocationId: z.ZodOptional<z.ZodString>;
5050
+ fromParentAgent: z.ZodOptional<z.ZodLiteral<true>>;
5031
5051
  text: z.ZodString;
5032
5052
  reply: z.ZodOptional<z.ZodString>;
5033
5053
  mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
@@ -5056,9 +5076,10 @@ type RenameConversationResponse = z.infer<typeof renameConversationResponseSchem
5056
5076
  * One direct child agent of a Conversation, from its stored agent config.
5057
5077
  *
5058
5078
  * Viewers who cannot see private content get the status, time, and usage, but
5059
- * not the name, task, title, or error. Usage covers the child Conversation and
5060
- * all its own child agents, like the detail of that child Conversation.
5061
- * Archived children stay in the report.
5079
+ * not the name or title. A visible child always has a title, null when its
5080
+ * spawn gave none. Usage covers the child Conversation and all its own child
5081
+ * agents, like the detail of that child Conversation. Archived children stay
5082
+ * in the report.
5062
5083
  */
5063
5084
  export declare const conversationChildAgentSchema: z.ZodObject<{
5064
5085
  auxiliaryCosts: z.ZodOptional<z.ZodObject<{
@@ -5108,25 +5129,33 @@ export declare const conversationChildAgentSchema: z.ZodObject<{
5108
5129
  total: z.ZodOptional<z.ZodNumber>;
5109
5130
  }, z.core.$strict>>;
5110
5131
  }, z.core.$strict>>;
5111
- error: z.ZodOptional<z.ZodString>;
5112
5132
  kind: z.ZodEnum<{
5113
5133
  task: "task";
5114
5134
  thread: "thread";
5115
5135
  }>;
5136
+ lastResult: z.ZodOptional<z.ZodEnum<{
5137
+ blocked: "blocked";
5138
+ done: "done";
5139
+ failed: "failed";
5140
+ }>>;
5116
5141
  name: z.ZodOptional<z.ZodString>;
5117
5142
  redacted: z.ZodOptional<z.ZodLiteral<true>>;
5118
5143
  status: z.ZodEnum<{
5119
- blocked: "blocked";
5120
- completed: "completed";
5121
5144
  failed: "failed";
5145
+ idle: "idle";
5122
5146
  paused: "paused";
5123
5147
  pending: "pending";
5124
5148
  running: "running";
5125
5149
  stopped: "stopped";
5126
5150
  }>;
5127
- task: z.ZodOptional<z.ZodString>;
5128
- title: z.ZodOptional<z.ZodString>;
5151
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5152
+ treeState: z.ZodEnum<{
5153
+ done: "done";
5154
+ needs_you: "needs_you";
5155
+ working: "working";
5156
+ }>;
5129
5157
  updatedAt: z.ZodString;
5158
+ watching: z.ZodBoolean;
5130
5159
  }, z.core.$strict>;
5131
5160
  /** Direct child agents of one Conversation, newest activity first. */
5132
5161
  export declare const conversationChildAgentsReportSchema: z.ZodObject<{
@@ -5178,25 +5207,33 @@ export declare const conversationChildAgentsReportSchema: z.ZodObject<{
5178
5207
  total: z.ZodOptional<z.ZodNumber>;
5179
5208
  }, z.core.$strict>>;
5180
5209
  }, z.core.$strict>>;
5181
- error: z.ZodOptional<z.ZodString>;
5182
5210
  kind: z.ZodEnum<{
5183
5211
  task: "task";
5184
5212
  thread: "thread";
5185
5213
  }>;
5214
+ lastResult: z.ZodOptional<z.ZodEnum<{
5215
+ blocked: "blocked";
5216
+ done: "done";
5217
+ failed: "failed";
5218
+ }>>;
5186
5219
  name: z.ZodOptional<z.ZodString>;
5187
5220
  redacted: z.ZodOptional<z.ZodLiteral<true>>;
5188
5221
  status: z.ZodEnum<{
5189
- blocked: "blocked";
5190
- completed: "completed";
5191
5222
  failed: "failed";
5223
+ idle: "idle";
5192
5224
  paused: "paused";
5193
5225
  pending: "pending";
5194
5226
  running: "running";
5195
5227
  stopped: "stopped";
5196
5228
  }>;
5197
- task: z.ZodOptional<z.ZodString>;
5198
- title: z.ZodOptional<z.ZodString>;
5229
+ title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
5230
+ treeState: z.ZodEnum<{
5231
+ done: "done";
5232
+ needs_you: "needs_you";
5233
+ working: "working";
5234
+ }>;
5199
5235
  updatedAt: z.ZodString;
5236
+ watching: z.ZodBoolean;
5200
5237
  }, z.core.$strict>>;
5201
5238
  conversationId: z.ZodString;
5202
5239
  }, z.core.$strict>;
@@ -5617,7 +5654,6 @@ export declare const actorProfileReportSchema: z.ZodObject<{
5617
5654
  kind: z.ZodEnum<{
5618
5655
  automation: "automation";
5619
5656
  lead: "lead";
5620
- root: "root";
5621
5657
  task: "task";
5622
5658
  thread: "thread";
5623
5659
  }>;
@@ -5834,6 +5870,12 @@ export declare const personCardReportSchema: z.ZodObject<{
5834
5870
  pending: z.ZodNumber;
5835
5871
  }, z.core.$strict>, z.ZodLiteral<"pending">]>>;
5836
5872
  mergeable: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"pending">]>>;
5873
+ titleParts: z.ZodOptional<z.ZodObject<{
5874
+ breaking: z.ZodOptional<z.ZodBoolean>;
5875
+ scope: z.ZodOptional<z.ZodString>;
5876
+ text: z.ZodString;
5877
+ type: z.ZodOptional<z.ZodString>;
5878
+ }, z.core.$strict>>;
5837
5879
  changedFiles: z.ZodOptional<z.ZodNumber>;
5838
5880
  additions: z.ZodOptional<z.ZodNumber>;
5839
5881
  deletions: z.ZodOptional<z.ZodNumber>;
@@ -6262,7 +6304,6 @@ export declare const locationDetailReportSchema: z.ZodObject<{
6262
6304
  kind: z.ZodEnum<{
6263
6305
  automation: "automation";
6264
6306
  lead: "lead";
6265
- root: "root";
6266
6307
  task: "task";
6267
6308
  thread: "thread";
6268
6309
  }>;
@@ -6696,15 +6737,6 @@ export declare const revokePersonalTokenResponseSchema: z.ZodObject<{
6696
6737
  revoked: z.ZodLiteral<true>;
6697
6738
  }, z.core.$strict>;
6698
6739
  type PersonalTokenMetadata = z.infer<typeof personalTokenMetadataSchema>;
6699
- /**
6700
- * The Lead of a Space. Members send it messages with the Conversation
6701
- * message route.
6702
- */
6703
- export declare const leadSchema: z.ZodObject<{
6704
- conversationId: z.ZodString;
6705
- lastSeq: z.ZodNumber;
6706
- watchedConversationIds: z.ZodArray<z.ZodString>;
6707
- }, z.core.$strict>;
6708
6740
  /** The longest Space name, so a form can stop at it. */
6709
6741
  export declare const SPACE_NAME_MAX_CHARS = 80;
6710
6742
  /** The longest Space description, so a form can stop at it. */
@@ -6768,6 +6800,13 @@ export declare const spaceSchema: z.ZodObject<{
6768
6800
  archivedAt: z.ZodNullable<z.ZodISODateTime>;
6769
6801
  memberCount: z.ZodNumber;
6770
6802
  viewerIsMember: z.ZodBoolean;
6803
+ leadConversationId: z.ZodString;
6804
+ treeState: z.ZodOptional<z.ZodEnum<{
6805
+ done: "done";
6806
+ needs_you: "needs_you";
6807
+ working: "working";
6808
+ }>>;
6809
+ latestTurnFailed: z.ZodOptional<z.ZodBoolean>;
6771
6810
  }, z.core.$strict>;
6772
6811
  export declare const spaceListSchema: z.ZodObject<{
6773
6812
  spaces: z.ZodArray<z.ZodObject<{
@@ -6783,34 +6822,54 @@ export declare const spaceListSchema: z.ZodObject<{
6783
6822
  archivedAt: z.ZodNullable<z.ZodISODateTime>;
6784
6823
  memberCount: z.ZodNumber;
6785
6824
  viewerIsMember: z.ZodBoolean;
6825
+ leadConversationId: z.ZodString;
6826
+ treeState: z.ZodOptional<z.ZodEnum<{
6827
+ done: "done";
6828
+ needs_you: "needs_you";
6829
+ working: "working";
6830
+ }>>;
6831
+ latestTurnFailed: z.ZodOptional<z.ZodBoolean>;
6786
6832
  }, z.core.$strict>>;
6787
6833
  }, z.core.$strict>;
6788
6834
  type SpaceVisibilityReport = z.infer<typeof spaceVisibilitySchema>;
6789
6835
  type SpaceRefReport = z.infer<typeof spaceRefSchema>;
6790
6836
  type SpaceReport = z.infer<typeof spaceSchema>;
6791
6837
  type SpaceListReport = z.infer<typeof spaceListSchema>;
6792
- /** One member of a Space. */
6793
- export declare const spaceMemberSchema: z.ZodObject<{
6794
- userId: z.ZodString;
6838
+ /** Users a search returns when the request sets no limit. */
6839
+ export declare const USER_SEARCH_DEFAULT_LIMIT = 10;
6840
+ /** The most Users one search returns. */
6841
+ export declare const USER_SEARCH_MAX_LIMIT = 25;
6842
+ /** A search for Users to add to one Conversation that the viewer can read. */
6843
+ export declare const userSearchQuerySchema: z.ZodObject<{
6844
+ conversationId: z.ZodString;
6845
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
6846
+ q: z.ZodString;
6847
+ }, z.core.$strict>;
6848
+ /**
6849
+ * One User that the people picker shows. `isMember` is true when they are
6850
+ * already a Participant of the Conversation. Invite names them by `userId`.
6851
+ */
6852
+ export declare const userSearchResultSchema: z.ZodObject<{
6853
+ avatarUrl: z.ZodOptional<z.ZodString>;
6795
6854
  email: z.ZodString;
6796
- displayName: z.ZodNullable<z.ZodString>;
6797
- avatarUrl: z.ZodNullable<z.ZodString>;
6798
- joinedAt: z.ZodISODateTime;
6855
+ fullName: z.ZodOptional<z.ZodString>;
6856
+ isMember: z.ZodOptional<z.ZodLiteral<true>>;
6857
+ slackUserName: z.ZodOptional<z.ZodString>;
6858
+ userId: z.ZodString;
6799
6859
  }, z.core.$strict>;
6800
- export declare const spaceMemberListSchema: z.ZodObject<{
6801
- members: z.ZodArray<z.ZodObject<{
6802
- userId: z.ZodString;
6860
+ export declare const userSearchReportSchema: z.ZodObject<{
6861
+ users: z.ZodArray<z.ZodObject<{
6862
+ avatarUrl: z.ZodOptional<z.ZodString>;
6803
6863
  email: z.ZodString;
6804
- displayName: z.ZodNullable<z.ZodString>;
6805
- avatarUrl: z.ZodNullable<z.ZodString>;
6806
- joinedAt: z.ZodISODateTime;
6864
+ fullName: z.ZodOptional<z.ZodString>;
6865
+ isMember: z.ZodOptional<z.ZodLiteral<true>>;
6866
+ slackUserName: z.ZodOptional<z.ZodString>;
6867
+ userId: z.ZodString;
6807
6868
  }, z.core.$strict>>;
6808
6869
  }, z.core.$strict>;
6809
- /** Add one person to a Space by the primary email of their User. */
6810
- export declare const addSpaceMemberBodySchema: z.ZodObject<{
6811
- email: z.ZodString;
6812
- }, z.core.$strict>;
6813
- type SpaceMemberListReport = z.infer<typeof spaceMemberListSchema>;
6870
+ type UserSearchQuery = z.output<typeof userSearchQuerySchema>;
6871
+ type UserSearchResult = z.infer<typeof userSearchResultSchema>;
6872
+ type UserSearchReport = z.infer<typeof userSearchReportSchema>;
6814
6873
  /** One configuration value of a Space. */
6815
6874
  export declare const spaceConfigEntrySchema: z.ZodObject<{
6816
6875
  key: z.ZodString;
@@ -8968,8 +9027,7 @@ export declare const inboxItemSchema: z.ZodObject<{
8968
9027
  title: z.ZodString;
8969
9028
  }, z.core.$strict>>;
8970
9029
  }, z.core.$strict>>;
8971
- replyNotice: z.ZodOptional<z.ZodLiteral<true>>;
8972
- request: z.ZodOptional<z.ZodObject<{
9030
+ request: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
8973
9031
  question: z.ZodString;
8974
9032
  fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
8975
9033
  id: z.ZodString;
@@ -8997,21 +9055,257 @@ export declare const inboxItemSchema: z.ZodObject<{
8997
9055
  description: z.ZodOptional<z.ZodString>;
8998
9056
  kind: z.ZodLiteral<"text">;
8999
9057
  }, z.core.$strip>], "kind">>;
9000
- evidence: z.ZodOptional<z.ZodArray<z.ZodObject<{
9058
+ related: z.ZodOptional<z.ZodArray<z.ZodObject<{
9001
9059
  conversationId: z.ZodOptional<z.ZodString>;
9002
9060
  label: z.ZodString;
9003
9061
  note: z.ZodOptional<z.ZodString>;
9004
9062
  url: z.ZodOptional<z.ZodString>;
9005
9063
  }, z.core.$strict>>>;
9006
- }, z.core.$strip>>;
9064
+ }, z.core.$strip>, z.ZodObject<{
9065
+ related: z.ZodArray<z.ZodObject<{
9066
+ conversationId: z.ZodOptional<z.ZodString>;
9067
+ label: z.ZodString;
9068
+ note: z.ZodOptional<z.ZodString>;
9069
+ url: z.ZodOptional<z.ZodString>;
9070
+ }, z.core.$strict>>;
9071
+ }, z.core.$strict>]>>;
9007
9072
  rootConversationId: z.ZodOptional<z.ZodString>;
9008
9073
  status: z.ZodEnum<{
9009
9074
  dismissed: "dismissed";
9010
9075
  done: "done";
9011
9076
  open: "open";
9012
9077
  }>;
9013
- subject: z.ZodOptional<z.ZodObject<{
9078
+ subject: z.ZodObject<{
9014
9079
  id: z.ZodString;
9080
+ kind: z.ZodString;
9081
+ label: z.ZodOptional<z.ZodString>;
9082
+ object: z.ZodOptional<z.ZodObject<{
9083
+ kind: z.ZodLiteral<"object">;
9084
+ key: z.ZodString;
9085
+ label: z.ZodString;
9086
+ objectType: z.ZodEnum<{
9087
+ alert: "alert";
9088
+ automation: "automation";
9089
+ calendar_event: "calendar_event";
9090
+ chart: "chart";
9091
+ code_change: "code_change";
9092
+ conversation: "conversation";
9093
+ dashboard: "dashboard";
9094
+ deployment: "deployment";
9095
+ document: "document";
9096
+ event: "event";
9097
+ item: "item";
9098
+ message: "message";
9099
+ monitor: "monitor";
9100
+ person: "person";
9101
+ release: "release";
9102
+ task: "task";
9103
+ trace: "trace";
9104
+ web_page: "web_page";
9105
+ }>;
9106
+ title: z.ZodString;
9107
+ url: z.ZodNullable<z.ZodURL>;
9108
+ description: z.ZodOptional<z.ZodString>;
9109
+ status: z.ZodOptional<z.ZodString>;
9110
+ trigger: z.ZodOptional<z.ZodString>;
9111
+ warning: z.ZodOptional<z.ZodString>;
9112
+ displayType: z.ZodOptional<z.ZodString>;
9113
+ sourceUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
9114
+ facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
9115
+ type: z.ZodLiteral<"code_change">;
9116
+ summary: z.ZodOptional<z.ZodString>;
9117
+ author: z.ZodOptional<z.ZodString>;
9118
+ sourceBranch: z.ZodOptional<z.ZodString>;
9119
+ targetBranch: z.ZodOptional<z.ZodString>;
9120
+ reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
9121
+ review: z.ZodOptional<z.ZodEnum<{
9122
+ approved: "approved";
9123
+ changes_requested: "changes_requested";
9124
+ required: "required";
9125
+ }>>;
9126
+ checks: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
9127
+ passed: z.ZodNumber;
9128
+ failed: z.ZodNumber;
9129
+ pending: z.ZodNumber;
9130
+ }, z.core.$strict>, z.ZodLiteral<"pending">]>>;
9131
+ mergeable: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"pending">]>>;
9132
+ titleParts: z.ZodOptional<z.ZodObject<{
9133
+ breaking: z.ZodOptional<z.ZodBoolean>;
9134
+ scope: z.ZodOptional<z.ZodString>;
9135
+ text: z.ZodString;
9136
+ type: z.ZodOptional<z.ZodString>;
9137
+ }, z.core.$strict>>;
9138
+ changedFiles: z.ZodOptional<z.ZodNumber>;
9139
+ additions: z.ZodOptional<z.ZodNumber>;
9140
+ deletions: z.ZodOptional<z.ZodNumber>;
9141
+ previewImageUrls: z.ZodOptional<z.ZodArray<z.ZodURL>>;
9142
+ }, z.core.$strict>, z.ZodObject<{
9143
+ type: z.ZodLiteral<"task">;
9144
+ summary: z.ZodOptional<z.ZodString>;
9145
+ assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
9146
+ priority: z.ZodOptional<z.ZodString>;
9147
+ project: z.ZodOptional<z.ZodString>;
9148
+ cycle: z.ZodOptional<z.ZodString>;
9149
+ dueDate: z.ZodOptional<z.ZodISODate>;
9150
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
9151
+ trend: z.ZodOptional<z.ZodObject<{
9152
+ label: z.ZodString;
9153
+ points: z.ZodArray<z.ZodNumber>;
9154
+ }, z.core.$strict>>;
9155
+ }, z.core.$strict>, z.ZodObject<{
9156
+ type: z.ZodLiteral<"deployment">;
9157
+ summary: z.ZodOptional<z.ZodString>;
9158
+ project: z.ZodOptional<z.ZodString>;
9159
+ environment: z.ZodOptional<z.ZodString>;
9160
+ revision: z.ZodOptional<z.ZodString>;
9161
+ branch: z.ZodOptional<z.ZodString>;
9162
+ }, z.core.$strict>, z.ZodObject<{
9163
+ type: z.ZodLiteral<"calendar_event">;
9164
+ summary: z.ZodOptional<z.ZodString>;
9165
+ when: z.ZodOptional<z.ZodString>;
9166
+ attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
9167
+ }, z.core.$strict>, z.ZodObject<{
9168
+ type: z.ZodLiteral<"conversation">;
9169
+ summary: z.ZodOptional<z.ZodString>;
9170
+ participants: z.ZodOptional<z.ZodArray<z.ZodString>>;
9171
+ lastActivityAt: z.ZodOptional<z.ZodISODateTime>;
9172
+ }, z.core.$strict>, z.ZodObject<{
9173
+ type: z.ZodLiteral<"document">;
9174
+ summary: z.ZodOptional<z.ZodString>;
9175
+ owner: z.ZodOptional<z.ZodString>;
9176
+ modifiedAt: z.ZodOptional<z.ZodISODateTime>;
9177
+ thumbnailUrl: z.ZodOptional<z.ZodString>;
9178
+ }, z.core.$strict>, z.ZodObject<{
9179
+ type: z.ZodLiteral<"message">;
9180
+ summary: z.ZodOptional<z.ZodString>;
9181
+ channel: z.ZodOptional<z.ZodString>;
9182
+ author: z.ZodOptional<z.ZodString>;
9183
+ sentAt: z.ZodOptional<z.ZodISODateTime>;
9184
+ }, z.core.$strict>, z.ZodObject<{
9185
+ type: z.ZodLiteral<"web_page">;
9186
+ summary: z.ZodOptional<z.ZodString>;
9187
+ siteName: z.ZodOptional<z.ZodString>;
9188
+ author: z.ZodOptional<z.ZodString>;
9189
+ media: z.ZodOptional<z.ZodEnum<{
9190
+ image: "image";
9191
+ video: "video";
9192
+ }>>;
9193
+ thumbnailUrl: z.ZodOptional<z.ZodString>;
9194
+ }, z.core.$strict>, z.ZodObject<{
9195
+ type: z.ZodLiteral<"chart">;
9196
+ summary: z.ZodOptional<z.ZodString>;
9197
+ display: z.ZodEnum<{
9198
+ area: "area";
9199
+ bar: "bar";
9200
+ line: "line";
9201
+ }>;
9202
+ yAxis: z.ZodString;
9203
+ range: z.ZodString;
9204
+ series: z.ZodArray<z.ZodObject<{
9205
+ label: z.ZodString;
9206
+ points: z.ZodArray<z.ZodNumber>;
9207
+ }, z.core.$strict>>;
9208
+ }, z.core.$strict>, z.ZodObject<{
9209
+ type: z.ZodLiteral<"event">;
9210
+ summary: z.ZodOptional<z.ZodString>;
9211
+ level: z.ZodOptional<z.ZodString>;
9212
+ project: z.ZodOptional<z.ZodString>;
9213
+ release: z.ZodOptional<z.ZodString>;
9214
+ environment: z.ZodOptional<z.ZodString>;
9215
+ occurredAt: z.ZodOptional<z.ZodISODateTime>;
9216
+ }, z.core.$strict>, z.ZodObject<{
9217
+ type: z.ZodLiteral<"release">;
9218
+ summary: z.ZodOptional<z.ZodString>;
9219
+ version: z.ZodString;
9220
+ projects: z.ZodArray<z.ZodString>;
9221
+ newIssues: z.ZodOptional<z.ZodNumber>;
9222
+ crashFreeSessions: z.ZodOptional<z.ZodNumber>;
9223
+ deployCount: z.ZodOptional<z.ZodNumber>;
9224
+ lastDeploy: z.ZodOptional<z.ZodObject<{
9225
+ environment: z.ZodString;
9226
+ finishedAt: z.ZodOptional<z.ZodISODateTime>;
9227
+ }, z.core.$strict>>;
9228
+ releasedAt: z.ZodOptional<z.ZodISODateTime>;
9229
+ }, z.core.$strict>, z.ZodObject<{
9230
+ type: z.ZodLiteral<"monitor">;
9231
+ summary: z.ZodOptional<z.ZodString>;
9232
+ kind: z.ZodEnum<{
9233
+ cron: "cron";
9234
+ metric: "metric";
9235
+ uptime: "uptime";
9236
+ }>;
9237
+ state: z.ZodEnum<{
9238
+ failing: "failing";
9239
+ ok: "ok";
9240
+ paused: "paused";
9241
+ pending: "pending";
9242
+ }>;
9243
+ project: z.ZodOptional<z.ZodString>;
9244
+ environment: z.ZodOptional<z.ZodString>;
9245
+ detail: z.ZodOptional<z.ZodString>;
9246
+ lastCheckedAt: z.ZodOptional<z.ZodISODateTime>;
9247
+ trend: z.ZodOptional<z.ZodObject<{
9248
+ label: z.ZodString;
9249
+ points: z.ZodArray<z.ZodNumber>;
9250
+ }, z.core.$strict>>;
9251
+ }, z.core.$strict>, z.ZodObject<{
9252
+ type: z.ZodLiteral<"alert">;
9253
+ summary: z.ZodOptional<z.ZodString>;
9254
+ enabled: z.ZodBoolean;
9255
+ projects: z.ZodArray<z.ZodString>;
9256
+ trigger: z.ZodOptional<z.ZodString>;
9257
+ notifies: z.ZodArray<z.ZodString>;
9258
+ lastTriggeredAt: z.ZodOptional<z.ZodISODateTime>;
9259
+ }, z.core.$strict>, z.ZodObject<{
9260
+ type: z.ZodLiteral<"trace">;
9261
+ summary: z.ZodOptional<z.ZodString>;
9262
+ rootOp: z.ZodOptional<z.ZodString>;
9263
+ rootName: z.ZodOptional<z.ZodString>;
9264
+ durationMs: z.ZodNumber;
9265
+ spanCount: z.ZodNumber;
9266
+ errorCount: z.ZodNumber;
9267
+ performanceIssueCount: z.ZodNumber;
9268
+ projects: z.ZodArray<z.ZodString>;
9269
+ spans: z.ZodArray<z.ZodObject<{
9270
+ op: z.ZodOptional<z.ZodString>;
9271
+ name: z.ZodString;
9272
+ startMs: z.ZodNumber;
9273
+ durationMs: z.ZodNumber;
9274
+ issue: z.ZodOptional<z.ZodBoolean>;
9275
+ }, z.core.$strict>>;
9276
+ }, z.core.$strict>, z.ZodObject<{
9277
+ type: z.ZodLiteral<"dashboard">;
9278
+ summary: z.ZodOptional<z.ZodString>;
9279
+ widgetCount: z.ZodNumber;
9280
+ projects: z.ZodArray<z.ZodString>;
9281
+ environments: z.ZodArray<z.ZodString>;
9282
+ range: z.ZodString;
9283
+ widgets: z.ZodArray<z.ZodObject<{
9284
+ title: z.ZodString;
9285
+ display: z.ZodString;
9286
+ }, z.core.$strict>>;
9287
+ charts: z.ZodArray<z.ZodObject<{
9288
+ title: z.ZodString;
9289
+ display: z.ZodEnum<{
9290
+ area: "area";
9291
+ bar: "bar";
9292
+ line: "line";
9293
+ }>;
9294
+ series: z.ZodArray<z.ZodObject<{
9295
+ label: z.ZodString;
9296
+ points: z.ZodArray<z.ZodNumber>;
9297
+ }, z.core.$strict>>;
9298
+ }, z.core.$strict>>;
9299
+ }, z.core.$strict>, z.ZodObject<{
9300
+ type: z.ZodLiteral<"person">;
9301
+ summary: z.ZodOptional<z.ZodString>;
9302
+ email: z.ZodOptional<z.ZodString>;
9303
+ slackHandle: z.ZodOptional<z.ZodString>;
9304
+ githubHandle: z.ZodOptional<z.ZodString>;
9305
+ avatarUrl: z.ZodOptional<z.ZodString>;
9306
+ }, z.core.$strict>], "type">>;
9307
+ plugin: z.ZodString;
9308
+ }, z.core.$strict>>;
9015
9309
  objectType: z.ZodOptional<z.ZodEnum<{
9016
9310
  alert: "alert";
9017
9311
  automation: "automation";
@@ -9038,15 +9332,8 @@ export declare const inboxItemSchema: z.ZodObject<{
9038
9332
  phrases: z.ZodRecord<z.ZodString, z.ZodString>;
9039
9333
  resourceType: z.ZodString;
9040
9334
  }, z.core.$strict>>;
9041
- title: z.ZodOptional<z.ZodString>;
9042
- titleParts: z.ZodOptional<z.ZodObject<{
9043
- breaking: z.ZodOptional<z.ZodBoolean>;
9044
- scope: z.ZodOptional<z.ZodString>;
9045
- text: z.ZodString;
9046
- type: z.ZodOptional<z.ZodString>;
9047
- }, z.core.$strict>>;
9048
9335
  url: z.ZodOptional<z.ZodString>;
9049
- }, z.core.$strict>>;
9336
+ }, z.core.$strict>;
9050
9337
  title: z.ZodString;
9051
9338
  todoId: z.ZodOptional<z.ZodNumber>;
9052
9339
  updatedAt: z.ZodString;
@@ -9127,8 +9414,7 @@ export declare const inboxItemListSchema: z.ZodObject<{
9127
9414
  title: z.ZodString;
9128
9415
  }, z.core.$strict>>;
9129
9416
  }, z.core.$strict>>;
9130
- replyNotice: z.ZodOptional<z.ZodLiteral<true>>;
9131
- request: z.ZodOptional<z.ZodObject<{
9417
+ request: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
9132
9418
  question: z.ZodString;
9133
9419
  fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
9134
9420
  id: z.ZodString;
@@ -9156,21 +9442,257 @@ export declare const inboxItemListSchema: z.ZodObject<{
9156
9442
  description: z.ZodOptional<z.ZodString>;
9157
9443
  kind: z.ZodLiteral<"text">;
9158
9444
  }, z.core.$strip>], "kind">>;
9159
- evidence: z.ZodOptional<z.ZodArray<z.ZodObject<{
9445
+ related: z.ZodOptional<z.ZodArray<z.ZodObject<{
9160
9446
  conversationId: z.ZodOptional<z.ZodString>;
9161
9447
  label: z.ZodString;
9162
9448
  note: z.ZodOptional<z.ZodString>;
9163
9449
  url: z.ZodOptional<z.ZodString>;
9164
9450
  }, z.core.$strict>>>;
9165
- }, z.core.$strip>>;
9451
+ }, z.core.$strip>, z.ZodObject<{
9452
+ related: z.ZodArray<z.ZodObject<{
9453
+ conversationId: z.ZodOptional<z.ZodString>;
9454
+ label: z.ZodString;
9455
+ note: z.ZodOptional<z.ZodString>;
9456
+ url: z.ZodOptional<z.ZodString>;
9457
+ }, z.core.$strict>>;
9458
+ }, z.core.$strict>]>>;
9166
9459
  rootConversationId: z.ZodOptional<z.ZodString>;
9167
9460
  status: z.ZodEnum<{
9168
9461
  dismissed: "dismissed";
9169
9462
  done: "done";
9170
9463
  open: "open";
9171
9464
  }>;
9172
- subject: z.ZodOptional<z.ZodObject<{
9465
+ subject: z.ZodObject<{
9173
9466
  id: z.ZodString;
9467
+ kind: z.ZodString;
9468
+ label: z.ZodOptional<z.ZodString>;
9469
+ object: z.ZodOptional<z.ZodObject<{
9470
+ kind: z.ZodLiteral<"object">;
9471
+ key: z.ZodString;
9472
+ label: z.ZodString;
9473
+ objectType: z.ZodEnum<{
9474
+ alert: "alert";
9475
+ automation: "automation";
9476
+ calendar_event: "calendar_event";
9477
+ chart: "chart";
9478
+ code_change: "code_change";
9479
+ conversation: "conversation";
9480
+ dashboard: "dashboard";
9481
+ deployment: "deployment";
9482
+ document: "document";
9483
+ event: "event";
9484
+ item: "item";
9485
+ message: "message";
9486
+ monitor: "monitor";
9487
+ person: "person";
9488
+ release: "release";
9489
+ task: "task";
9490
+ trace: "trace";
9491
+ web_page: "web_page";
9492
+ }>;
9493
+ title: z.ZodString;
9494
+ url: z.ZodNullable<z.ZodURL>;
9495
+ description: z.ZodOptional<z.ZodString>;
9496
+ status: z.ZodOptional<z.ZodString>;
9497
+ trigger: z.ZodOptional<z.ZodString>;
9498
+ warning: z.ZodOptional<z.ZodString>;
9499
+ displayType: z.ZodOptional<z.ZodString>;
9500
+ sourceUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
9501
+ facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
9502
+ type: z.ZodLiteral<"code_change">;
9503
+ summary: z.ZodOptional<z.ZodString>;
9504
+ author: z.ZodOptional<z.ZodString>;
9505
+ sourceBranch: z.ZodOptional<z.ZodString>;
9506
+ targetBranch: z.ZodOptional<z.ZodString>;
9507
+ reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
9508
+ review: z.ZodOptional<z.ZodEnum<{
9509
+ approved: "approved";
9510
+ changes_requested: "changes_requested";
9511
+ required: "required";
9512
+ }>>;
9513
+ checks: z.ZodOptional<z.ZodUnion<readonly [z.ZodObject<{
9514
+ passed: z.ZodNumber;
9515
+ failed: z.ZodNumber;
9516
+ pending: z.ZodNumber;
9517
+ }, z.core.$strict>, z.ZodLiteral<"pending">]>>;
9518
+ mergeable: z.ZodOptional<z.ZodUnion<readonly [z.ZodBoolean, z.ZodLiteral<"pending">]>>;
9519
+ titleParts: z.ZodOptional<z.ZodObject<{
9520
+ breaking: z.ZodOptional<z.ZodBoolean>;
9521
+ scope: z.ZodOptional<z.ZodString>;
9522
+ text: z.ZodString;
9523
+ type: z.ZodOptional<z.ZodString>;
9524
+ }, z.core.$strict>>;
9525
+ changedFiles: z.ZodOptional<z.ZodNumber>;
9526
+ additions: z.ZodOptional<z.ZodNumber>;
9527
+ deletions: z.ZodOptional<z.ZodNumber>;
9528
+ previewImageUrls: z.ZodOptional<z.ZodArray<z.ZodURL>>;
9529
+ }, z.core.$strict>, z.ZodObject<{
9530
+ type: z.ZodLiteral<"task">;
9531
+ summary: z.ZodOptional<z.ZodString>;
9532
+ assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
9533
+ priority: z.ZodOptional<z.ZodString>;
9534
+ project: z.ZodOptional<z.ZodString>;
9535
+ cycle: z.ZodOptional<z.ZodString>;
9536
+ dueDate: z.ZodOptional<z.ZodISODate>;
9537
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
9538
+ trend: z.ZodOptional<z.ZodObject<{
9539
+ label: z.ZodString;
9540
+ points: z.ZodArray<z.ZodNumber>;
9541
+ }, z.core.$strict>>;
9542
+ }, z.core.$strict>, z.ZodObject<{
9543
+ type: z.ZodLiteral<"deployment">;
9544
+ summary: z.ZodOptional<z.ZodString>;
9545
+ project: z.ZodOptional<z.ZodString>;
9546
+ environment: z.ZodOptional<z.ZodString>;
9547
+ revision: z.ZodOptional<z.ZodString>;
9548
+ branch: z.ZodOptional<z.ZodString>;
9549
+ }, z.core.$strict>, z.ZodObject<{
9550
+ type: z.ZodLiteral<"calendar_event">;
9551
+ summary: z.ZodOptional<z.ZodString>;
9552
+ when: z.ZodOptional<z.ZodString>;
9553
+ attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
9554
+ }, z.core.$strict>, z.ZodObject<{
9555
+ type: z.ZodLiteral<"conversation">;
9556
+ summary: z.ZodOptional<z.ZodString>;
9557
+ participants: z.ZodOptional<z.ZodArray<z.ZodString>>;
9558
+ lastActivityAt: z.ZodOptional<z.ZodISODateTime>;
9559
+ }, z.core.$strict>, z.ZodObject<{
9560
+ type: z.ZodLiteral<"document">;
9561
+ summary: z.ZodOptional<z.ZodString>;
9562
+ owner: z.ZodOptional<z.ZodString>;
9563
+ modifiedAt: z.ZodOptional<z.ZodISODateTime>;
9564
+ thumbnailUrl: z.ZodOptional<z.ZodString>;
9565
+ }, z.core.$strict>, z.ZodObject<{
9566
+ type: z.ZodLiteral<"message">;
9567
+ summary: z.ZodOptional<z.ZodString>;
9568
+ channel: z.ZodOptional<z.ZodString>;
9569
+ author: z.ZodOptional<z.ZodString>;
9570
+ sentAt: z.ZodOptional<z.ZodISODateTime>;
9571
+ }, z.core.$strict>, z.ZodObject<{
9572
+ type: z.ZodLiteral<"web_page">;
9573
+ summary: z.ZodOptional<z.ZodString>;
9574
+ siteName: z.ZodOptional<z.ZodString>;
9575
+ author: z.ZodOptional<z.ZodString>;
9576
+ media: z.ZodOptional<z.ZodEnum<{
9577
+ image: "image";
9578
+ video: "video";
9579
+ }>>;
9580
+ thumbnailUrl: z.ZodOptional<z.ZodString>;
9581
+ }, z.core.$strict>, z.ZodObject<{
9582
+ type: z.ZodLiteral<"chart">;
9583
+ summary: z.ZodOptional<z.ZodString>;
9584
+ display: z.ZodEnum<{
9585
+ area: "area";
9586
+ bar: "bar";
9587
+ line: "line";
9588
+ }>;
9589
+ yAxis: z.ZodString;
9590
+ range: z.ZodString;
9591
+ series: z.ZodArray<z.ZodObject<{
9592
+ label: z.ZodString;
9593
+ points: z.ZodArray<z.ZodNumber>;
9594
+ }, z.core.$strict>>;
9595
+ }, z.core.$strict>, z.ZodObject<{
9596
+ type: z.ZodLiteral<"event">;
9597
+ summary: z.ZodOptional<z.ZodString>;
9598
+ level: z.ZodOptional<z.ZodString>;
9599
+ project: z.ZodOptional<z.ZodString>;
9600
+ release: z.ZodOptional<z.ZodString>;
9601
+ environment: z.ZodOptional<z.ZodString>;
9602
+ occurredAt: z.ZodOptional<z.ZodISODateTime>;
9603
+ }, z.core.$strict>, z.ZodObject<{
9604
+ type: z.ZodLiteral<"release">;
9605
+ summary: z.ZodOptional<z.ZodString>;
9606
+ version: z.ZodString;
9607
+ projects: z.ZodArray<z.ZodString>;
9608
+ newIssues: z.ZodOptional<z.ZodNumber>;
9609
+ crashFreeSessions: z.ZodOptional<z.ZodNumber>;
9610
+ deployCount: z.ZodOptional<z.ZodNumber>;
9611
+ lastDeploy: z.ZodOptional<z.ZodObject<{
9612
+ environment: z.ZodString;
9613
+ finishedAt: z.ZodOptional<z.ZodISODateTime>;
9614
+ }, z.core.$strict>>;
9615
+ releasedAt: z.ZodOptional<z.ZodISODateTime>;
9616
+ }, z.core.$strict>, z.ZodObject<{
9617
+ type: z.ZodLiteral<"monitor">;
9618
+ summary: z.ZodOptional<z.ZodString>;
9619
+ kind: z.ZodEnum<{
9620
+ cron: "cron";
9621
+ metric: "metric";
9622
+ uptime: "uptime";
9623
+ }>;
9624
+ state: z.ZodEnum<{
9625
+ failing: "failing";
9626
+ ok: "ok";
9627
+ paused: "paused";
9628
+ pending: "pending";
9629
+ }>;
9630
+ project: z.ZodOptional<z.ZodString>;
9631
+ environment: z.ZodOptional<z.ZodString>;
9632
+ detail: z.ZodOptional<z.ZodString>;
9633
+ lastCheckedAt: z.ZodOptional<z.ZodISODateTime>;
9634
+ trend: z.ZodOptional<z.ZodObject<{
9635
+ label: z.ZodString;
9636
+ points: z.ZodArray<z.ZodNumber>;
9637
+ }, z.core.$strict>>;
9638
+ }, z.core.$strict>, z.ZodObject<{
9639
+ type: z.ZodLiteral<"alert">;
9640
+ summary: z.ZodOptional<z.ZodString>;
9641
+ enabled: z.ZodBoolean;
9642
+ projects: z.ZodArray<z.ZodString>;
9643
+ trigger: z.ZodOptional<z.ZodString>;
9644
+ notifies: z.ZodArray<z.ZodString>;
9645
+ lastTriggeredAt: z.ZodOptional<z.ZodISODateTime>;
9646
+ }, z.core.$strict>, z.ZodObject<{
9647
+ type: z.ZodLiteral<"trace">;
9648
+ summary: z.ZodOptional<z.ZodString>;
9649
+ rootOp: z.ZodOptional<z.ZodString>;
9650
+ rootName: z.ZodOptional<z.ZodString>;
9651
+ durationMs: z.ZodNumber;
9652
+ spanCount: z.ZodNumber;
9653
+ errorCount: z.ZodNumber;
9654
+ performanceIssueCount: z.ZodNumber;
9655
+ projects: z.ZodArray<z.ZodString>;
9656
+ spans: z.ZodArray<z.ZodObject<{
9657
+ op: z.ZodOptional<z.ZodString>;
9658
+ name: z.ZodString;
9659
+ startMs: z.ZodNumber;
9660
+ durationMs: z.ZodNumber;
9661
+ issue: z.ZodOptional<z.ZodBoolean>;
9662
+ }, z.core.$strict>>;
9663
+ }, z.core.$strict>, z.ZodObject<{
9664
+ type: z.ZodLiteral<"dashboard">;
9665
+ summary: z.ZodOptional<z.ZodString>;
9666
+ widgetCount: z.ZodNumber;
9667
+ projects: z.ZodArray<z.ZodString>;
9668
+ environments: z.ZodArray<z.ZodString>;
9669
+ range: z.ZodString;
9670
+ widgets: z.ZodArray<z.ZodObject<{
9671
+ title: z.ZodString;
9672
+ display: z.ZodString;
9673
+ }, z.core.$strict>>;
9674
+ charts: z.ZodArray<z.ZodObject<{
9675
+ title: z.ZodString;
9676
+ display: z.ZodEnum<{
9677
+ area: "area";
9678
+ bar: "bar";
9679
+ line: "line";
9680
+ }>;
9681
+ series: z.ZodArray<z.ZodObject<{
9682
+ label: z.ZodString;
9683
+ points: z.ZodArray<z.ZodNumber>;
9684
+ }, z.core.$strict>>;
9685
+ }, z.core.$strict>>;
9686
+ }, z.core.$strict>, z.ZodObject<{
9687
+ type: z.ZodLiteral<"person">;
9688
+ summary: z.ZodOptional<z.ZodString>;
9689
+ email: z.ZodOptional<z.ZodString>;
9690
+ slackHandle: z.ZodOptional<z.ZodString>;
9691
+ githubHandle: z.ZodOptional<z.ZodString>;
9692
+ avatarUrl: z.ZodOptional<z.ZodString>;
9693
+ }, z.core.$strict>], "type">>;
9694
+ plugin: z.ZodString;
9695
+ }, z.core.$strict>>;
9174
9696
  objectType: z.ZodOptional<z.ZodEnum<{
9175
9697
  alert: "alert";
9176
9698
  automation: "automation";
@@ -9197,15 +9719,8 @@ export declare const inboxItemListSchema: z.ZodObject<{
9197
9719
  phrases: z.ZodRecord<z.ZodString, z.ZodString>;
9198
9720
  resourceType: z.ZodString;
9199
9721
  }, z.core.$strict>>;
9200
- title: z.ZodOptional<z.ZodString>;
9201
- titleParts: z.ZodOptional<z.ZodObject<{
9202
- breaking: z.ZodOptional<z.ZodBoolean>;
9203
- scope: z.ZodOptional<z.ZodString>;
9204
- text: z.ZodString;
9205
- type: z.ZodOptional<z.ZodString>;
9206
- }, z.core.$strict>>;
9207
9722
  url: z.ZodOptional<z.ZodString>;
9208
- }, z.core.$strict>>;
9723
+ }, z.core.$strict>;
9209
9724
  title: z.ZodString;
9210
9725
  todoId: z.ZodOptional<z.ZodNumber>;
9211
9726
  updatedAt: z.ZodString;
@@ -9475,16 +9990,6 @@ type SearchTodo = z.infer<typeof searchTodoSchema>;
9475
9990
  type SearchReport = z.infer<typeof searchReportSchema>;
9476
9991
  /** The most Conversations that one versions read gives tokens for. */
9477
9992
  export declare const VERSIONS_CONVERSATION_LIMIT = 50;
9478
- /**
9479
- * `GET /api/versions` sets this header when `GET /api/versions/stream` can
9480
- * push the same tokens, so a dashboard opens the stream only when it works.
9481
- */
9482
- export declare const VERSIONS_STREAM_HEADER = "x-junior-versions-stream";
9483
- /**
9484
- * The SSE event that the versions stream sends while no token moves. A
9485
- * `Versions` object comes as a plain `message` event.
9486
- */
9487
- export declare const VERSIONS_STREAM_KEEPALIVE_EVENT = "keepalive";
9488
9993
  /**
9489
9994
  * Opaque change tokens for the dashboard reads that refresh by themselves.
9490
9995
  * A token changes when the read it covers can change. Compare a token only
@@ -9497,4 +10002,4 @@ export declare const versionsSchema: z.ZodObject<{
9497
10002
  spend: z.ZodString;
9498
10003
  }, z.core.$strict>;
9499
10004
  type Versions = z.output<typeof versionsSchema>;
9500
- 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 AttachObjectLinkResponse, type AttachmentUpload, type AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListItem, type AutomationListPage, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationTask, type AutomationUpdate, type AutomationVersionList, type BaselineSnapshotReport, type CacheHealthReport, type CacheWarmingSavingsRefill, type CacheWarmingSavingsReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSearchReport, type CodeChangeStack, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ContinueConversationInSlackBody, type ContinueConversationInSlackResponse, type ConversationActivityPreview, type ConversationAgentTreeNode, type ConversationAutoArchive, type ConversationAuxiliaryCosts, type ConversationCatchUp, type ConversationCatchUpBody, type ConversationChildAgent, type ConversationChildAgentTotals, type ConversationChildAgentsReport, type ConversationCost, type ConversationDeliveryBody, type ConversationDeliveryResponse, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationFeedItem, type ConversationFeedViewerAnswer, type ConversationInviteResponse, type ConversationMetricDay, type ConversationModelUsage, type ConversationOutline, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReadPosition, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportMessageEvent, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSubscriptionBody, type ConversationSubscriptionResponse, type ConversationSummaryReport, type ConversationSurface, type ConversationTodo, type ConversationTodosReport, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type ConversationWatch, type ConversationWatchesReport, type CreateAttachmentUploadBody, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GatewayProviders, type GuardianMetricDay, type GuardianStats, type HealthReport, type InboxItemActionBody, type InboxItemChangeRecord, type InboxItemPayload, type InboxSnoozeCreateBody, type InboxSnoozeResource, type InboxSnoozeSubjectBody, type InboxSnoozeTrigger, type InboxSnoozeWake, type InputFile, type ListedAutomationVersion, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_ATTACHMENT_BYTES, MAX_INPUT_ATTACHMENTS, type MentionableCodeChange, type MentionablePerson, type MessageAttachment, type MessageCard, type NotificationSchedule, type NotificationSettings, type ObjectLinksReport, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PeopleSearchReport, type PersonCardReport, type PersonParams, type PersonSpendDay, type PersonalSpendReport, type PersonalTokenMetadata, type PinConversationBody, type PinConversationResponse, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RenameConversationBody, type RenameConversationResponse, type ReorderPinnedConversationsBody, type ReorderPinnedConversationsResponse, type RuntimeInfoReport, type SearchAutomation, type SearchInboxItem, type SearchMemory, type SearchReport, type SearchSource, type SearchTodo, type SetConversationSpaceBody, type SetConversationSpaceResponse, type SkillDetailReport, type SkillReport, type SkillReports, type SpaceConfigurationReport, type SpaceListReport, type SpaceMemberListReport, type SpaceRefReport, type SpaceReport, type SpaceVisibilityReport, type StatReport, type StatsReport, type SteerConversationPendingMessagesBody, type SteerConversationPendingMessagesResponse, type StopConversationTurnResponse, type TodoStatusBody, USER_INPUT_NOTE, type UserInputAnswer, type UserInputField, type UserInputRequest, type Versions, type WorkspaceListReport, type WorkspaceReport, annotationCard, answeredChoices, buttonUserInputField, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, isEmptyUserInputAnswer, messageCardText, normalizeUserInputAnswer, resolveMessageCards };
10005
+ 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 AttachObjectLinkResponse, type AttachmentUpload, type AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListItem, type AutomationListPage, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationTask, type AutomationUpdate, type AutomationVersionList, type BaselineSnapshotReport, type CacheHealthReport, type CacheWarmingSavingsRefill, type CacheWarmingSavingsReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSearchReport, type CodeChangeStack, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ContinueConversationInSlackBody, type ContinueConversationInSlackResponse, type ConversationActivityPreview, type ConversationAgentTreeNode, type ConversationAutoArchive, type ConversationAuxiliaryCosts, type ConversationCatchUp, type ConversationCatchUpBody, type ConversationChildAgent, type ConversationChildAgentTotals, type ConversationChildAgentsReport, type ConversationCost, type ConversationDeliveryBody, type ConversationDeliveryResponse, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationFeedItem, type ConversationFeedViewerAnswer, type ConversationInviteBody, type ConversationInviteResponse, type ConversationLeaveResponse, type ConversationMetricDay, type ConversationModelUsage, type ConversationOutline, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReadPosition, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportMessageEvent, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSubscriptionBody, type ConversationSubscriptionResponse, type ConversationSummaryReport, type ConversationSurface, type ConversationTodo, type ConversationTodosReport, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type ConversationWatch, type ConversationWatchesReport, type CreateAttachmentUploadBody, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GatewayProviders, type GuardianMetricDay, type GuardianStats, type HealthReport, type InboxItemActionBody, type InboxItemChangeRecord, type InboxItemPayload, type InboxSnoozeCreateBody, type InboxSnoozeResource, type InboxSnoozeSubjectBody, type InboxSnoozeTrigger, type InboxSnoozeWake, type InputFile, type ListedAutomationVersion, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_ATTACHMENT_BYTES, MAX_INPUT_ATTACHMENTS, type MentionableCodeChange, type MentionablePerson, type MessageAttachment, type MessageCard, type NotificationSchedule, type NotificationSettings, type ObjectLinksReport, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PeopleSearchReport, type PersonCardReport, type PersonParams, type PersonSpendDay, type PersonalSpendReport, type PersonalTokenMetadata, type PinConversationBody, type PinConversationResponse, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RenameConversationBody, type RenameConversationResponse, type ReorderPinnedConversationsBody, type ReorderPinnedConversationsResponse, type RuntimeInfoReport, type SearchAutomation, type SearchInboxItem, type SearchMemory, type SearchReport, type SearchSource, type SearchTodo, type SetConversationSpaceBody, type SetConversationSpaceResponse, type SkillDetailReport, type SkillReport, type SkillReports, type SpaceConfigurationReport, type SpaceListReport, type SpaceRefReport, type SpaceReport, type SpaceVisibilityReport, type StatReport, type StatsReport, type SteerConversationPendingMessagesBody, type SteerConversationPendingMessagesResponse, type StopConversationTurnResponse, type TodoStatusBody, USER_INPUT_NOTE, type UserInputAnswer, type UserInputField, type UserInputRequest, type UserSearchQuery, type UserSearchReport, type UserSearchResult, type Versions, type WorkspaceListReport, type WorkspaceReport, annotationCard, answeredChoices, buttonUserInputField, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, inboxItemQuestion, isEmptyUserInputAnswer, messageCardText, normalizeUserInputAnswer, resolveMessageCards };