@sentry/junior 0.276.0 → 0.278.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 (80) hide show
  1. package/dist/{adapter-DoPR2jS-.js → adapter-BXosqTMx.js} +1 -1
  2. package/dist/{admin-BJTT-kXb.js → admin-Thn7NfOi.js} +1 -1
  3. package/dist/{agent-invocations-CUWrrzkc.js → agent-invocations-D7c4BQGc.js} +6 -2
  4. package/dist/{agent-runner-sMpA5qGM.js → agent-runner-DE-43MPb.js} +396 -877
  5. package/dist/api/schema.d.ts +2 -2
  6. package/dist/api/schema.js +5 -5
  7. package/dist/api.d.ts +13 -2
  8. package/dist/api.js +132 -61
  9. package/dist/{app-DTj-yAQt.d.ts → app-CHNS-AX2.d.ts} +6 -27
  10. package/dist/app.d.ts +3 -3
  11. package/dist/app.js +65 -57
  12. package/dist/{assistant-reply-DbxKnBQF.js → assistant-reply-pauL6qyn.js} +28 -6
  13. package/dist/{automation-B8_mC68r.js → automation-DphoTRYl.js} +1 -1
  14. package/dist/{background-compaction-queue-Bywqo1WJ.js → background-compaction-queue-CAL4A2y7.js} +2 -2
  15. package/dist/{briefs-IL7QnCCR.js → briefs-4fyPJJEu.js} +5 -6
  16. package/dist/{catalog-runtime--sC2CYLQ.js → catalog-runtime-BoOb5oUv.js} +1 -1
  17. package/dist/cli/chat.d.ts +1 -1
  18. package/dist/cli/chat.js +14 -14
  19. package/dist/cli/check.js +3 -3
  20. package/dist/cli/init.js +0 -2
  21. package/dist/cli/main.js +3 -3
  22. package/dist/cli/plugins.d.ts +1 -1
  23. package/dist/cli/plugins.js +4 -4
  24. package/dist/cli/snapshot-create.js +4 -4
  25. package/dist/cli/upgrade.d.ts +2 -2
  26. package/dist/cli/upgrade.js +3 -3
  27. package/dist/{client-7diKvInp.js → client-v_OVYuHZ.js} +3 -3
  28. package/dist/{config-Cb--cuv-.js → config-o2jLRY5J.js} +24 -99
  29. package/dist/{connections-C4-4fxaE.js → connections-RC4NXAx8.js} +10 -10
  30. package/dist/{conversation-DppJ83Hw.js → conversation-CZfyQvdm.js} +54 -109
  31. package/dist/{conversation-privacy-DTwdT3Pi.js → conversation-privacy-C23M8KaD.js} +1 -1
  32. package/dist/{credential-sync-Sl5RQCkS.js → credential-sync-Dd0WyNfF.js} +13 -13
  33. package/dist/{db-Ck6TXQIx.d.ts → db-BjLzDJCt.d.ts} +1 -1
  34. package/dist/{executor-BFKmqxYe.js → executor-CJfsD0VX.js} +13 -5
  35. package/dist/instrumentation.js +2 -2
  36. package/dist/{logging-B04X_eCB.js → logging-dFaXvBRK.js} +4 -2
  37. package/dist/{media-DstkkoNP.js → media-DTAA8Qs_.js} +21 -23
  38. package/dist/{message-DQMFyyE-.js → message-DSwxIZet.js} +22 -28
  39. package/dist/nitro.d.ts +2 -2
  40. package/dist/nitro.js +7 -3
  41. package/dist/{oauth-callback-server-BGq0_vQI.js → oauth-callback-server-CDcuCp27.js} +2 -2
  42. package/dist/{plugins-B_0Cr0MO.d.ts → plugins-DtmjkTza.d.ts} +1 -0
  43. package/dist/{projection-6dXaN0n-.js → projection-BTge9wrH.js} +5426 -5300
  44. package/dist/{prompt-B4fQKGZR.js → prompt-DDtCnlHP.js} +1 -1
  45. package/dist/{registry-CEqKR_ld.js → registry-Cp6CNmtP.js} +24 -8
  46. package/dist/{resolve-8I5DkrfI.js → resolve-B_7h2cXx.js} +3 -3
  47. package/dist/{result-BgAW90IM.js → result-5LBEfnLX.js} +9 -9
  48. package/dist/{runner-CSKDr_19.js → runner-C5-S4oq-.js} +11 -11
  49. package/dist/{sandbox-egress-signals-BxAT276e.js → sandbox-egress-signals-B4GehT1L.js} +1 -1
  50. package/dist/{schema-Cal-EFdi.js → schema-B5fpczDw.js} +82 -4
  51. package/dist/{schema-CaUWl2EV.d.ts → schema-Tr484cCC.d.ts} +935 -688
  52. package/dist/{service-account-CUuVJCKT.js → service-account-BkEv20zf.js} +3 -3
  53. package/dist/{service-account-CtOab1Xz.js → service-account-Cq_dLrZJ.js} +3 -3
  54. package/dist/{session-stop-DK8LuPZW.js → session-stop-BsS4qFS2.js} +26 -16
  55. package/dist/{skills-Bc0D7BGy.js → skills-M0BA0_s6.js} +2 -2
  56. package/dist/{spawn-DF_GUcd8.js → spawn-BO3y7H4d.js} +2 -3
  57. package/dist/{stop-DthSy-z8.js → stop-D5R82Wla.js} +612 -186
  58. package/dist/{store-C5uVTx2G.js → store-BGBzQWNf.js} +9 -16
  59. package/dist/{store-BgH2P3X9.js → store-CGJZTEVz.js} +3 -3
  60. package/dist/{task-queue-C6ROM_XJ.js → task-queue-UD27ei2U.js} +3 -3
  61. package/dist/{task-runner-BwAkjjVE.js → task-runner-noxjOjkM.js} +7 -7
  62. package/dist/{thread-state-BXjgk1pW.js → thread-state-BSu6rM6p.js} +4 -4
  63. package/dist/{turn-failure-response-CVI57qKL.js → turn-failure-response-wahwyPrZ.js} +7 -7
  64. package/dist/{turn-lifecycle-CF6ibonp.js → turn-lifecycle-Bo4Trccw.js} +1 -1
  65. package/dist/{turn-session-routing-DddybdNu.js → turn-session-routing-DnSaaEpn.js} +10 -10
  66. package/dist/{validation-BxF1nQbC.js → validation-B9-8iKyw.js} +1 -1
  67. package/dist/{version-CTzSbCmR.js → version-C7HejFP2.js} +1 -1
  68. package/dist/version.js +1 -1
  69. package/dist/{viewer-CQwBszc7.js → viewer-DLXajQZE.js} +94 -28
  70. package/dist/{work-BHlShEQ6.js → work-DRGSlfia.js} +12 -17
  71. package/dist/{worker-DhY9MnsH.js → worker-BGh5Dwc6.js} +6 -6
  72. package/migrations/0074_conversation_participant_pins.sql +1 -0
  73. package/migrations/0075_conversation_detail_version.sql +1 -0
  74. package/migrations/0076_conversation_auto_archive.sql +5 -0
  75. package/migrations/meta/0074_snapshot.json +4076 -0
  76. package/migrations/meta/0075_snapshot.json +4083 -0
  77. package/migrations/meta/0076_snapshot.json +4147 -0
  78. package/migrations/meta/_journal.json +21 -0
  79. package/package.json +5 -5
  80. package/dist/model-profile-B998sjVd.js +0 -67
@@ -473,11 +473,22 @@ declare const conversationParamsSchema: z.ZodObject<{
473
473
  }, z.core.$strict>;
474
474
  declare const conversationDetailQuerySchema: z.ZodObject<{
475
475
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
476
+ unreadPage: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodBoolean>>;
476
477
  }, z.core.$strict>;
477
- declare const conversationEventsQuerySchema: z.ZodObject<{
478
+ /**
479
+ * Page toward the start with `before`, toward the latest with `after`, or
480
+ * both ways from one event with `around`.
481
+ */
482
+ declare const conversationEventsQuerySchema: z.ZodUnion<readonly [z.ZodObject<{
478
483
  before: z.ZodString;
479
484
  limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
480
- }, z.core.$strict>;
485
+ }, z.core.$strict>, z.ZodObject<{
486
+ after: z.ZodString;
487
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
488
+ }, z.core.$strict>, z.ZodObject<{
489
+ around: z.ZodString;
490
+ limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
491
+ }, z.core.$strict>]>;
481
492
  declare const conversationFeedQuerySchema: z.ZodObject<{
482
493
  actorEmail: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
483
494
  codeRepositoryId: z.ZodOptional<z.ZodString>;
@@ -487,13 +498,6 @@ declare const conversationFeedQuerySchema: z.ZodObject<{
487
498
  archived: "archived";
488
499
  }>>;
489
500
  }, z.core.$strict>;
490
- declare const archiveConversationBodySchema: z.ZodObject<{
491
- archived: z.ZodBoolean;
492
- lastSeenAt: z.ZodString;
493
- }, z.core.$strict>;
494
- declare const archiveConversationResponseSchema: z.ZodObject<{
495
- archivedAt: z.ZodNullable<z.ZodString>;
496
- }, z.core.$strict>;
497
501
  declare const createConversationMessageBodySchema: z.ZodObject<{
498
502
  idempotencyKey: z.ZodString;
499
503
  message: z.ZodString;
@@ -541,140 +545,6 @@ declare const actorIdentitySchema: z.ZodObject<{
541
545
  slackUserId: z.ZodOptional<z.ZodString>;
542
546
  slackUserName: z.ZodOptional<z.ZodString>;
543
547
  }, z.core.$strict>;
544
- /** Mailbox delivery mode for one accepted inbound message. */
545
- declare const conversationPendingMessageDeliverySchema: z.ZodEnum<{
546
- defer: "defer";
547
- interrupt: "interrupt";
548
- }>;
549
- /** One accepted mailbox message that has not reached durable history yet. */
550
- declare const conversationPendingMessageSchema: z.ZodObject<{
551
- actorIdentity: z.ZodOptional<z.ZodObject<{
552
- avatarUrl: z.ZodOptional<z.ZodString>;
553
- email: z.ZodOptional<z.ZodString>;
554
- fullName: z.ZodOptional<z.ZodString>;
555
- slackUserId: z.ZodOptional<z.ZodString>;
556
- slackUserName: z.ZodOptional<z.ZodString>;
557
- }, z.core.$strict>>;
558
- actorIdentityId: z.ZodOptional<z.ZodString>;
559
- createdAt: z.ZodString;
560
- delivery: z.ZodEnum<{
561
- defer: "defer";
562
- interrupt: "interrupt";
563
- }>;
564
- inboundMessageId: z.ZodString;
565
- messageId: z.ZodString;
566
- receivedAt: z.ZodString;
567
- role: z.ZodLiteral<"user">;
568
- source: z.ZodEnum<{
569
- slack: "slack";
570
- web: "web";
571
- }>;
572
- text: z.ZodOptional<z.ZodString>;
573
- mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
574
- avatarUrl: z.ZodOptional<z.ZodString>;
575
- email: z.ZodOptional<z.ZodString>;
576
- fullName: z.ZodOptional<z.ZodString>;
577
- slackUserId: z.ZodOptional<z.ZodString>;
578
- slackUserName: z.ZodOptional<z.ZodString>;
579
- }, z.core.$strict>>>;
580
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
581
- id: z.ZodString;
582
- filename: z.ZodString;
583
- contentType: z.ZodString;
584
- bytes: z.ZodNumber;
585
- }, z.core.$strict>>>;
586
- reviewItemChange: z.ZodOptional<z.ZodObject<{
587
- kind: z.ZodEnum<{
588
- dismissed: "dismissed";
589
- submitted: "submitted";
590
- taken: "taken";
591
- }>;
592
- reviewItemId: z.ZodString;
593
- }, z.core.$strict>>;
594
- redacted: z.ZodOptional<z.ZodLiteral<true>>;
595
- }, z.core.$strict>;
596
- /** Participant-only authorization prompt for a parked web turn. */
597
- declare const conversationPendingAuthorizationSchema: z.ZodObject<{
598
- authorizationUrl: z.ZodString;
599
- completionText: z.ZodString;
600
- label: z.ZodString;
601
- }, z.core.$strict>;
602
- /** Bounded mailbox snapshot for one conversation transcript. */
603
- declare const conversationPendingMessagesReportSchema: z.ZodObject<{
604
- authorization: z.ZodOptional<z.ZodObject<{
605
- authorizationUrl: z.ZodString;
606
- completionText: z.ZodString;
607
- label: z.ZodString;
608
- }, z.core.$strict>>;
609
- conversationId: z.ZodString;
610
- generatedAt: z.ZodString;
611
- messages: z.ZodArray<z.ZodObject<{
612
- actorIdentity: z.ZodOptional<z.ZodObject<{
613
- avatarUrl: z.ZodOptional<z.ZodString>;
614
- email: z.ZodOptional<z.ZodString>;
615
- fullName: z.ZodOptional<z.ZodString>;
616
- slackUserId: z.ZodOptional<z.ZodString>;
617
- slackUserName: z.ZodOptional<z.ZodString>;
618
- }, z.core.$strict>>;
619
- actorIdentityId: z.ZodOptional<z.ZodString>;
620
- createdAt: z.ZodString;
621
- delivery: z.ZodEnum<{
622
- defer: "defer";
623
- interrupt: "interrupt";
624
- }>;
625
- inboundMessageId: z.ZodString;
626
- messageId: z.ZodString;
627
- receivedAt: z.ZodString;
628
- role: z.ZodLiteral<"user">;
629
- source: z.ZodEnum<{
630
- slack: "slack";
631
- web: "web";
632
- }>;
633
- text: z.ZodOptional<z.ZodString>;
634
- mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
635
- avatarUrl: z.ZodOptional<z.ZodString>;
636
- email: z.ZodOptional<z.ZodString>;
637
- fullName: z.ZodOptional<z.ZodString>;
638
- slackUserId: z.ZodOptional<z.ZodString>;
639
- slackUserName: z.ZodOptional<z.ZodString>;
640
- }, z.core.$strict>>>;
641
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
642
- id: z.ZodString;
643
- filename: z.ZodString;
644
- contentType: z.ZodString;
645
- bytes: z.ZodNumber;
646
- }, z.core.$strict>>>;
647
- reviewItemChange: z.ZodOptional<z.ZodObject<{
648
- kind: z.ZodEnum<{
649
- dismissed: "dismissed";
650
- submitted: "submitted";
651
- taken: "taken";
652
- }>;
653
- reviewItemId: z.ZodString;
654
- }, z.core.$strict>>;
655
- redacted: z.ZodOptional<z.ZodLiteral<true>>;
656
- }, z.core.$strict>>;
657
- }, z.core.$strict>;
658
- /** Optional filters for cancelling accepted mailbox rows. */
659
- declare const cancelConversationPendingMessagesBodySchema: z.ZodObject<{
660
- inboundMessageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
661
- receivedBefore: z.ZodOptional<z.ZodString>;
662
- }, z.core.$strict>;
663
- /** Result of cancelling accepted human-facing mailbox rows. */
664
- declare const cancelConversationPendingMessagesResponseSchema: z.ZodObject<{
665
- cancelledCount: z.ZodNumber;
666
- cancelledInboundMessageIds: z.ZodArray<z.ZodString>;
667
- conversationId: z.ZodString;
668
- }, z.core.$strict>;
669
- /** Queued web messages that the viewer wants Junior to read now. */
670
- declare const steerConversationPendingMessagesBodySchema: z.ZodObject<{
671
- inboundMessageIds: z.ZodArray<z.ZodString>;
672
- }, z.core.$strict>;
673
- /** Result of steering queued web messages into the conversation. */
674
- declare const steerConversationPendingMessagesResponseSchema: z.ZodObject<{
675
- conversationId: z.ZodString;
676
- steeredInboundMessageIds: z.ZodArray<z.ZodString>;
677
- }, z.core.$strict>;
678
548
  declare const conversationAuxiliaryCostsSchema: z.ZodObject<{
679
549
  costUsd: z.ZodNumber;
680
550
  operations: z.ZodArray<z.ZodObject<{
@@ -813,6 +683,7 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
813
683
  slackUserName: z.ZodOptional<z.ZodString>;
814
684
  }, z.core.$strict>>>;
815
685
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
686
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
816
687
  channel: z.ZodOptional<z.ZodString>;
817
688
  channelName: z.ZodOptional<z.ZodString>;
818
689
  channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
@@ -977,6 +848,7 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
977
848
  task: "task";
978
849
  }>>;
979
850
  explicitMention: z.ZodOptional<z.ZodBoolean>;
851
+ quiet: z.ZodOptional<z.ZodLiteral<true>>;
980
852
  trustedSummary: z.ZodOptional<z.ZodString>;
981
853
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
982
854
  eventType: z.ZodString;
@@ -1132,19 +1004,6 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
1132
1004
  contentType: z.ZodString;
1133
1005
  bytes: z.ZodNumber;
1134
1006
  }, z.core.$strict>>;
1135
- }, z.core.$strict>, z.ZodObject<{
1136
- type: z.ZodLiteral<"turn_routed">;
1137
- turnId: z.ZodString;
1138
- modelProfile: z.ZodString;
1139
- modelId: z.ZodString;
1140
- costUsd: z.ZodOptional<z.ZodNumber>;
1141
- reasoningLevel: z.ZodString;
1142
- confidence: z.ZodOptional<z.ZodNumber>;
1143
- source: z.ZodEnum<{
1144
- configured: "configured";
1145
- inherited: "inherited";
1146
- router: "router";
1147
- }>;
1148
1007
  }, z.core.$strict>, z.ZodObject<{
1149
1008
  type: z.ZodLiteral<"guardian_action_reviewed">;
1150
1009
  turnId: z.ZodString;
@@ -1169,7 +1028,6 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
1169
1028
  }>;
1170
1029
  }, z.core.$strict>, z.ZodObject<{
1171
1030
  type: z.ZodLiteral<"compaction">;
1172
- modelProfile: z.ZodOptional<z.ZodString>;
1173
1031
  modelId: z.ZodOptional<z.ZodString>;
1174
1032
  summary: z.ZodOptional<z.ZodString>;
1175
1033
  details: z.ZodOptional<z.ZodObject<{
@@ -1182,13 +1040,6 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
1182
1040
  retainedMessageCount: z.ZodNumber;
1183
1041
  summaryChars: z.ZodNumber;
1184
1042
  }, z.core.$strict>>;
1185
- }, z.core.$strict>, z.ZodObject<{
1186
- type: z.ZodLiteral<"handoff">;
1187
- modelProfile: z.ZodString;
1188
- modelId: z.ZodString;
1189
- reasoningLevel: z.ZodOptional<z.ZodString>;
1190
- triggeringToolCallId: z.ZodOptional<z.ZodString>;
1191
- summary: z.ZodOptional<z.ZodString>;
1192
1043
  }, z.core.$strict>, z.ZodObject<{
1193
1044
  type: z.ZodLiteral<"subagent">;
1194
1045
  startedSeq: z.ZodNumber;
@@ -1242,6 +1093,7 @@ declare const conversationReportEventSchema: z.ZodObject<{
1242
1093
  task: "task";
1243
1094
  }>>;
1244
1095
  explicitMention: z.ZodOptional<z.ZodBoolean>;
1096
+ quiet: z.ZodOptional<z.ZodLiteral<true>>;
1245
1097
  trustedSummary: z.ZodOptional<z.ZodString>;
1246
1098
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
1247
1099
  eventType: z.ZodString;
@@ -1397,19 +1249,6 @@ declare const conversationReportEventSchema: z.ZodObject<{
1397
1249
  contentType: z.ZodString;
1398
1250
  bytes: z.ZodNumber;
1399
1251
  }, z.core.$strict>>;
1400
- }, z.core.$strict>, z.ZodObject<{
1401
- type: z.ZodLiteral<"turn_routed">;
1402
- turnId: z.ZodString;
1403
- modelProfile: z.ZodString;
1404
- modelId: z.ZodString;
1405
- costUsd: z.ZodOptional<z.ZodNumber>;
1406
- reasoningLevel: z.ZodString;
1407
- confidence: z.ZodOptional<z.ZodNumber>;
1408
- source: z.ZodEnum<{
1409
- configured: "configured";
1410
- inherited: "inherited";
1411
- router: "router";
1412
- }>;
1413
1252
  }, z.core.$strict>, z.ZodObject<{
1414
1253
  type: z.ZodLiteral<"guardian_action_reviewed">;
1415
1254
  turnId: z.ZodString;
@@ -1434,7 +1273,6 @@ declare const conversationReportEventSchema: z.ZodObject<{
1434
1273
  }>;
1435
1274
  }, z.core.$strict>, z.ZodObject<{
1436
1275
  type: z.ZodLiteral<"compaction">;
1437
- modelProfile: z.ZodOptional<z.ZodString>;
1438
1276
  modelId: z.ZodOptional<z.ZodString>;
1439
1277
  summary: z.ZodOptional<z.ZodString>;
1440
1278
  details: z.ZodOptional<z.ZodObject<{
@@ -1447,13 +1285,6 @@ declare const conversationReportEventSchema: z.ZodObject<{
1447
1285
  retainedMessageCount: z.ZodNumber;
1448
1286
  summaryChars: z.ZodNumber;
1449
1287
  }, z.core.$strict>>;
1450
- }, z.core.$strict>, z.ZodObject<{
1451
- type: z.ZodLiteral<"handoff">;
1452
- modelProfile: z.ZodString;
1453
- modelId: z.ZodString;
1454
- reasoningLevel: z.ZodOptional<z.ZodString>;
1455
- triggeringToolCallId: z.ZodOptional<z.ZodString>;
1456
- summary: z.ZodOptional<z.ZodString>;
1457
1288
  }, z.core.$strict>, z.ZodObject<{
1458
1289
  type: z.ZodLiteral<"subagent">;
1459
1290
  startedSeq: z.ZodNumber;
@@ -1481,8 +1312,6 @@ declare const conversationReportEventSchema: z.ZodObject<{
1481
1312
  }, z.core.$strict>>>;
1482
1313
  model: z.ZodOptional<z.ZodObject<{
1483
1314
  modelId: z.ZodString;
1484
- modelProfile: z.ZodOptional<z.ZodString>;
1485
- reasoningLevel: z.ZodOptional<z.ZodString>;
1486
1315
  }, z.core.$strict>>;
1487
1316
  modelCall: z.ZodOptional<z.ZodObject<{
1488
1317
  provider: z.ZodOptional<z.ZodString>;
@@ -1549,76 +1378,371 @@ declare const conversationAgentTreeNodeSchema: z.ZodObject<{
1549
1378
  label: z.ZodString;
1550
1379
  }, z.core.$strict>;
1551
1380
  type ConversationAgentTreeNode = z.infer<typeof conversationAgentTreeNodeSchema>;
1552
- declare const conversationDetailReportSchema: z.ZodObject<{
1553
- displayTitle: z.ZodString;
1554
- activityPreview: z.ZodOptional<z.ZodObject<{
1381
+ declare const conversationEventPageSchema: z.ZodObject<{
1382
+ events: z.ZodArray<z.ZodObject<{
1383
+ seq: z.ZodNumber;
1555
1384
  createdAt: z.ZodString;
1556
- mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1557
- avatarUrl: z.ZodOptional<z.ZodString>;
1558
- email: z.ZodOptional<z.ZodString>;
1559
- fullName: z.ZodOptional<z.ZodString>;
1560
- slackUserId: z.ZodOptional<z.ZodString>;
1561
- slackUserName: z.ZodOptional<z.ZodString>;
1562
- }, z.core.$strict>>>;
1563
- role: z.ZodEnum<{
1564
- assistant: "assistant";
1565
- user: "user";
1566
- }>;
1567
- text: z.ZodString;
1568
- }, z.core.$strict>>;
1569
- cumulativeDurationMs: z.ZodNumber;
1570
- cumulativeUsage: z.ZodOptional<z.ZodObject<{
1571
- inputTokens: z.ZodOptional<z.ZodNumber>;
1572
- outputTokens: z.ZodOptional<z.ZodNumber>;
1573
- cachedInputTokens: z.ZodOptional<z.ZodNumber>;
1574
- cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
1575
- reasoningTokens: z.ZodOptional<z.ZodNumber>;
1576
- totalTokens: z.ZodOptional<z.ZodNumber>;
1577
- cost: z.ZodOptional<z.ZodObject<{
1578
- input: z.ZodOptional<z.ZodNumber>;
1579
- output: z.ZodOptional<z.ZodNumber>;
1580
- cacheRead: z.ZodOptional<z.ZodNumber>;
1581
- cacheWrite: z.ZodOptional<z.ZodNumber>;
1582
- total: z.ZodOptional<z.ZodNumber>;
1583
- }, z.core.$strict>>;
1584
- }, z.core.$strict>>;
1585
- auxiliaryCosts: z.ZodOptional<z.ZodObject<{
1586
- costUsd: z.ZodNumber;
1587
- operations: z.ZodArray<z.ZodObject<{
1588
- costUsd: z.ZodNumber;
1589
- events: z.ZodNumber;
1590
- name: z.ZodString;
1591
- namespace: z.ZodString;
1592
- }, z.core.$strict>>;
1593
- }, z.core.$strict>>;
1594
- childAgentTotals: z.ZodOptional<z.ZodObject<{
1595
- auxiliaryCostUsd: z.ZodOptional<z.ZodNumber>;
1596
- count: z.ZodNumber;
1597
- cumulativeDurationMs: z.ZodNumber;
1598
- cumulativeUsage: z.ZodOptional<z.ZodObject<{
1599
- inputTokens: z.ZodOptional<z.ZodNumber>;
1600
- outputTokens: z.ZodOptional<z.ZodNumber>;
1601
- cachedInputTokens: z.ZodOptional<z.ZodNumber>;
1602
- cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
1603
- reasoningTokens: z.ZodOptional<z.ZodNumber>;
1604
- totalTokens: z.ZodOptional<z.ZodNumber>;
1605
- cost: z.ZodOptional<z.ZodObject<{
1606
- input: z.ZodOptional<z.ZodNumber>;
1607
- output: z.ZodOptional<z.ZodNumber>;
1608
- cacheRead: z.ZodOptional<z.ZodNumber>;
1609
- cacheWrite: z.ZodOptional<z.ZodNumber>;
1610
- total: z.ZodOptional<z.ZodNumber>;
1385
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
1386
+ type: z.ZodLiteral<"message">;
1387
+ messageId: z.ZodString;
1388
+ role: z.ZodEnum<{
1389
+ assistant: "assistant";
1390
+ system: "system";
1391
+ user: "user";
1392
+ }>;
1393
+ source: z.ZodOptional<z.ZodEnum<{
1394
+ slack: "slack";
1395
+ web: "web";
1396
+ }>>;
1397
+ actorIdentity: z.ZodOptional<z.ZodObject<{
1398
+ avatarUrl: z.ZodOptional<z.ZodString>;
1399
+ email: z.ZodOptional<z.ZodString>;
1400
+ fullName: z.ZodOptional<z.ZodString>;
1401
+ slackUserId: z.ZodOptional<z.ZodString>;
1402
+ slackUserName: z.ZodOptional<z.ZodString>;
1611
1403
  }, z.core.$strict>>;
1612
- }, z.core.$strict>>;
1613
- }, z.core.$strict>>;
1614
- conversationId: z.ZodString;
1615
- isParticipant: z.ZodBoolean;
1616
- visibility: z.ZodOptional<z.ZodEnum<{
1617
- private: "private";
1618
- public: "public";
1619
- }>>;
1620
- status: z.ZodEnum<{
1621
- active: "active";
1404
+ actorIdentityId: z.ZodOptional<z.ZodString>;
1405
+ agentInvocationId: z.ZodOptional<z.ZodString>;
1406
+ eventType: z.ZodOptional<z.ZodString>;
1407
+ eventObjectType: z.ZodOptional<z.ZodEnum<{
1408
+ automation: "automation";
1409
+ calendar_event: "calendar_event";
1410
+ code_change: "code_change";
1411
+ deployment: "deployment";
1412
+ item: "item";
1413
+ task: "task";
1414
+ }>>;
1415
+ explicitMention: z.ZodOptional<z.ZodBoolean>;
1416
+ quiet: z.ZodOptional<z.ZodLiteral<true>>;
1417
+ trustedSummary: z.ZodOptional<z.ZodString>;
1418
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
1419
+ eventType: z.ZodString;
1420
+ label: z.ZodOptional<z.ZodString>;
1421
+ objectType: z.ZodOptional<z.ZodEnum<{
1422
+ automation: "automation";
1423
+ calendar_event: "calendar_event";
1424
+ code_change: "code_change";
1425
+ deployment: "deployment";
1426
+ item: "item";
1427
+ task: "task";
1428
+ }>>;
1429
+ trustedSummary: z.ZodOptional<z.ZodString>;
1430
+ }, z.core.$strict>>>;
1431
+ cards: z.ZodOptional<z.ZodArray<z.ZodObject<{
1432
+ plugin: z.ZodString;
1433
+ key: z.ZodString;
1434
+ kind: z.ZodLiteral<"object">;
1435
+ }, z.core.$strict>>>;
1436
+ reviewItemChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
1437
+ kind: z.ZodEnum<{
1438
+ dismissed: "dismissed";
1439
+ submitted: "submitted";
1440
+ taken: "taken";
1441
+ }>;
1442
+ reviewItemId: z.ZodString;
1443
+ }, z.core.$strict>>>;
1444
+ text: z.ZodOptional<z.ZodString>;
1445
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1446
+ id: z.ZodString;
1447
+ filename: z.ZodString;
1448
+ contentType: z.ZodString;
1449
+ bytes: z.ZodNumber;
1450
+ }, z.core.$strict>>>;
1451
+ redacted: z.ZodOptional<z.ZodLiteral<true>>;
1452
+ }, z.core.$strict>, z.ZodObject<{
1453
+ type: z.ZodLiteral<"message_handled">;
1454
+ messageId: z.ZodString;
1455
+ }, z.core.$strict>, z.ZodObject<{
1456
+ type: z.ZodLiteral<"assistant_message">;
1457
+ parts: z.ZodArray<z.ZodObject<{
1458
+ type: z.ZodLiteral<"reasoning">;
1459
+ text: z.ZodOptional<z.ZodString>;
1460
+ redacted: z.ZodOptional<z.ZodLiteral<true>>;
1461
+ }, z.core.$strict>>;
1462
+ }, z.core.$strict>, z.ZodObject<{
1463
+ type: z.ZodLiteral<"tool_calls">;
1464
+ calls: z.ZodArray<z.ZodObject<{
1465
+ toolCallId: z.ZodString;
1466
+ name: z.ZodString;
1467
+ status: z.ZodEnum<{
1468
+ completed: "completed";
1469
+ error: "error";
1470
+ running: "running";
1471
+ }>;
1472
+ startedAt: z.ZodOptional<z.ZodString>;
1473
+ startedSeq: z.ZodOptional<z.ZodNumber>;
1474
+ input: z.ZodOptional<z.ZodUnknown>;
1475
+ output: z.ZodOptional<z.ZodUnknown>;
1476
+ }, z.core.$strict>>;
1477
+ assistant: z.ZodOptional<z.ZodObject<{
1478
+ parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1479
+ type: z.ZodLiteral<"reasoning">;
1480
+ text: z.ZodOptional<z.ZodString>;
1481
+ redacted: z.ZodOptional<z.ZodLiteral<true>>;
1482
+ }, z.core.$strict>, z.ZodObject<{
1483
+ type: z.ZodLiteral<"tool_call">;
1484
+ toolCallId: z.ZodString;
1485
+ }, z.core.$strict>], "type">>;
1486
+ }, z.core.$strict>>;
1487
+ }, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
1488
+ type: z.ZodLiteral<"turn_lifecycle">;
1489
+ turnId: z.ZodString;
1490
+ state: z.ZodEnum<{
1491
+ blocked: "blocked";
1492
+ no_reply: "no_reply";
1493
+ succeeded: "succeeded";
1494
+ }>;
1495
+ }, z.core.$strict>, z.ZodObject<{
1496
+ type: z.ZodLiteral<"turn_lifecycle">;
1497
+ turnId: z.ZodString;
1498
+ state: z.ZodLiteral<"started">;
1499
+ inputMessageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
1500
+ }, z.core.$strict>, z.ZodObject<{
1501
+ type: z.ZodLiteral<"turn_lifecycle">;
1502
+ turnId: z.ZodString;
1503
+ state: z.ZodLiteral<"failed">;
1504
+ failureCode: z.ZodEnum<{
1505
+ agent_run_failed: "agent_run_failed";
1506
+ delivery_failed: "delivery_failed";
1507
+ model_execution_failed: "model_execution_failed";
1508
+ persistence_failed: "persistence_failed";
1509
+ }>;
1510
+ failureReason: z.ZodOptional<z.ZodEnum<{
1511
+ auth: "auth";
1512
+ capacity: "capacity";
1513
+ content_policy: "content_policy";
1514
+ empty_output: "empty_output";
1515
+ invalid_request: "invalid_request";
1516
+ invalid_response: "invalid_response";
1517
+ network: "network";
1518
+ permission: "permission";
1519
+ quota: "quota";
1520
+ rate_limit: "rate_limit";
1521
+ server: "server";
1522
+ suppressed_output: "suppressed_output";
1523
+ timeout: "timeout";
1524
+ tool_errors: "tool_errors";
1525
+ unknown: "unknown";
1526
+ }>>;
1527
+ eventId: z.ZodOptional<z.ZodString>;
1528
+ sentryEventUrl: z.ZodOptional<z.ZodString>;
1529
+ }, z.core.$strict>], "state">, z.ZodObject<{
1530
+ type: z.ZodLiteral<"turn_context">;
1531
+ turnId: z.ZodString;
1532
+ pluginName: z.ZodString;
1533
+ kind: z.ZodString;
1534
+ version: z.ZodNumber;
1535
+ content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
1536
+ }, z.core.$strict>, z.ZodObject<{
1537
+ type: z.ZodLiteral<"structured_event">;
1538
+ namespace: z.ZodString;
1539
+ name: z.ZodString;
1540
+ version: z.ZodNumber;
1541
+ turnId: z.ZodOptional<z.ZodString>;
1542
+ presentation: z.ZodObject<{
1543
+ details: z.ZodOptional<z.ZodArray<z.ZodObject<{
1544
+ content: z.ZodOptional<z.ZodString>;
1545
+ description: z.ZodOptional<z.ZodString>;
1546
+ metadata: z.ZodOptional<z.ZodArray<z.ZodString>>;
1547
+ title: z.ZodString;
1548
+ }, z.core.$strict>>>;
1549
+ icon: z.ZodOptional<z.ZodEnum<{
1550
+ activity: "activity";
1551
+ brain: "brain";
1552
+ calendar: "calendar";
1553
+ check: "check";
1554
+ database: "database";
1555
+ info: "info";
1556
+ key: "key";
1557
+ link: "link";
1558
+ sparkles: "sparkles";
1559
+ warning: "warning";
1560
+ }>>;
1561
+ preview: z.ZodOptional<z.ZodString>;
1562
+ title: z.ZodString;
1563
+ }, z.core.$strict>;
1564
+ }, z.core.$strict>, z.ZodObject<{
1565
+ type: z.ZodLiteral<"attachments_delivered">;
1566
+ attachments: z.ZodArray<z.ZodObject<{
1567
+ id: z.ZodString;
1568
+ filename: z.ZodString;
1569
+ contentType: z.ZodString;
1570
+ bytes: z.ZodNumber;
1571
+ }, z.core.$strict>>;
1572
+ }, z.core.$strict>, z.ZodObject<{
1573
+ type: z.ZodLiteral<"guardian_action_reviewed">;
1574
+ turnId: z.ZodString;
1575
+ toolCallId: z.ZodString;
1576
+ toolName: z.ZodString;
1577
+ decision: z.ZodEnum<{
1578
+ allow: "allow";
1579
+ ask: "ask";
1580
+ deny: "deny";
1581
+ }>;
1582
+ riskLevel: z.ZodEnum<{
1583
+ critical: "critical";
1584
+ high: "high";
1585
+ low: "low";
1586
+ medium: "medium";
1587
+ }>;
1588
+ userAuthorization: z.ZodEnum<{
1589
+ high: "high";
1590
+ low: "low";
1591
+ medium: "medium";
1592
+ unknown: "unknown";
1593
+ }>;
1594
+ }, z.core.$strict>, z.ZodObject<{
1595
+ type: z.ZodLiteral<"compaction">;
1596
+ modelId: z.ZodOptional<z.ZodString>;
1597
+ summary: z.ZodOptional<z.ZodString>;
1598
+ details: z.ZodOptional<z.ZodObject<{
1599
+ reason: z.ZodLiteral<"capacity">;
1600
+ estimatedInputTokens: z.ZodNumber;
1601
+ replacementInputTokens: z.ZodOptional<z.ZodNumber>;
1602
+ triggerTokens: z.ZodNumber;
1603
+ inputLimitTokens: z.ZodNumber;
1604
+ inputMessageCount: z.ZodNumber;
1605
+ retainedMessageCount: z.ZodNumber;
1606
+ summaryChars: z.ZodNumber;
1607
+ }, z.core.$strict>>;
1608
+ }, z.core.$strict>, z.ZodObject<{
1609
+ type: z.ZodLiteral<"subagent">;
1610
+ startedSeq: z.ZodNumber;
1611
+ startedAt: z.ZodString;
1612
+ childConversationId: z.ZodString;
1613
+ subagentKind: z.ZodString;
1614
+ agentName: z.ZodOptional<z.ZodString>;
1615
+ task: z.ZodOptional<z.ZodString>;
1616
+ title: z.ZodOptional<z.ZodString>;
1617
+ parentToolCallId: z.ZodOptional<z.ZodString>;
1618
+ status: z.ZodEnum<{
1619
+ aborted: "aborted";
1620
+ blocked: "blocked";
1621
+ completed: "completed";
1622
+ error: "error";
1623
+ running: "running";
1624
+ }>;
1625
+ }, z.core.$strict>], "type">;
1626
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1627
+ avatarUrl: z.ZodOptional<z.ZodString>;
1628
+ email: z.ZodOptional<z.ZodString>;
1629
+ fullName: z.ZodOptional<z.ZodString>;
1630
+ slackUserId: z.ZodOptional<z.ZodString>;
1631
+ slackUserName: z.ZodOptional<z.ZodString>;
1632
+ }, z.core.$strict>>>;
1633
+ model: z.ZodOptional<z.ZodObject<{
1634
+ modelId: z.ZodString;
1635
+ }, z.core.$strict>>;
1636
+ modelCall: z.ZodOptional<z.ZodObject<{
1637
+ provider: z.ZodOptional<z.ZodString>;
1638
+ api: z.ZodOptional<z.ZodString>;
1639
+ stopReason: z.ZodOptional<z.ZodString>;
1640
+ usage: z.ZodOptional<z.ZodObject<{
1641
+ inputTokens: z.ZodOptional<z.ZodNumber>;
1642
+ outputTokens: z.ZodOptional<z.ZodNumber>;
1643
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
1644
+ cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
1645
+ reasoningTokens: z.ZodOptional<z.ZodNumber>;
1646
+ totalTokens: z.ZodOptional<z.ZodNumber>;
1647
+ cost: z.ZodOptional<z.ZodObject<{
1648
+ input: z.ZodOptional<z.ZodNumber>;
1649
+ output: z.ZodOptional<z.ZodNumber>;
1650
+ cacheRead: z.ZodOptional<z.ZodNumber>;
1651
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
1652
+ total: z.ZodOptional<z.ZodNumber>;
1653
+ }, z.core.$strict>>;
1654
+ }, z.core.$strict>>;
1655
+ }, z.core.$strict>>;
1656
+ }, z.core.$strict>>;
1657
+ eventHistory: z.ZodDiscriminatedUnion<[z.ZodObject<{
1658
+ status: z.ZodLiteral<"available">;
1659
+ }, z.core.$strict>, z.ZodObject<{
1660
+ status: z.ZodLiteral<"redacted">;
1661
+ reason: z.ZodLiteral<"non_public_conversation">;
1662
+ }, z.core.$strict>, z.ZodObject<{
1663
+ status: z.ZodLiteral<"expired">;
1664
+ expiredAt: z.ZodString;
1665
+ }, z.core.$strict>], "status">;
1666
+ previousCursor: z.ZodOptional<z.ZodString>;
1667
+ nextCursor: z.ZodOptional<z.ZodString>;
1668
+ generatedAt: z.ZodString;
1669
+ }, z.core.$strict>;
1670
+ /**
1671
+ * Carries the detail version token in both directions. A custom header, not
1672
+ * `ETag` / `If-None-Match`: in production the Vercel CDN answered standard
1673
+ * validators itself, after the function had already built the full report.
1674
+ */
1675
+ declare const CONVERSATION_DETAIL_VERSION_HEADER = "x-junior-detail-version";
1676
+ declare const conversationDetailReportSchema: z.ZodObject<{
1677
+ displayTitle: z.ZodString;
1678
+ activityPreview: z.ZodOptional<z.ZodObject<{
1679
+ createdAt: z.ZodString;
1680
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1681
+ avatarUrl: z.ZodOptional<z.ZodString>;
1682
+ email: z.ZodOptional<z.ZodString>;
1683
+ fullName: z.ZodOptional<z.ZodString>;
1684
+ slackUserId: z.ZodOptional<z.ZodString>;
1685
+ slackUserName: z.ZodOptional<z.ZodString>;
1686
+ }, z.core.$strict>>>;
1687
+ role: z.ZodEnum<{
1688
+ assistant: "assistant";
1689
+ user: "user";
1690
+ }>;
1691
+ text: z.ZodString;
1692
+ }, z.core.$strict>>;
1693
+ cumulativeDurationMs: z.ZodNumber;
1694
+ cumulativeUsage: z.ZodOptional<z.ZodObject<{
1695
+ inputTokens: z.ZodOptional<z.ZodNumber>;
1696
+ outputTokens: z.ZodOptional<z.ZodNumber>;
1697
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
1698
+ cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
1699
+ reasoningTokens: z.ZodOptional<z.ZodNumber>;
1700
+ totalTokens: z.ZodOptional<z.ZodNumber>;
1701
+ cost: z.ZodOptional<z.ZodObject<{
1702
+ input: z.ZodOptional<z.ZodNumber>;
1703
+ output: z.ZodOptional<z.ZodNumber>;
1704
+ cacheRead: z.ZodOptional<z.ZodNumber>;
1705
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
1706
+ total: z.ZodOptional<z.ZodNumber>;
1707
+ }, z.core.$strict>>;
1708
+ }, z.core.$strict>>;
1709
+ auxiliaryCosts: z.ZodOptional<z.ZodObject<{
1710
+ costUsd: z.ZodNumber;
1711
+ operations: z.ZodArray<z.ZodObject<{
1712
+ costUsd: z.ZodNumber;
1713
+ events: z.ZodNumber;
1714
+ name: z.ZodString;
1715
+ namespace: z.ZodString;
1716
+ }, z.core.$strict>>;
1717
+ }, z.core.$strict>>;
1718
+ childAgentTotals: z.ZodOptional<z.ZodObject<{
1719
+ auxiliaryCostUsd: z.ZodOptional<z.ZodNumber>;
1720
+ count: z.ZodNumber;
1721
+ cumulativeDurationMs: z.ZodNumber;
1722
+ cumulativeUsage: z.ZodOptional<z.ZodObject<{
1723
+ inputTokens: z.ZodOptional<z.ZodNumber>;
1724
+ outputTokens: z.ZodOptional<z.ZodNumber>;
1725
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
1726
+ cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
1727
+ reasoningTokens: z.ZodOptional<z.ZodNumber>;
1728
+ totalTokens: z.ZodOptional<z.ZodNumber>;
1729
+ cost: z.ZodOptional<z.ZodObject<{
1730
+ input: z.ZodOptional<z.ZodNumber>;
1731
+ output: z.ZodOptional<z.ZodNumber>;
1732
+ cacheRead: z.ZodOptional<z.ZodNumber>;
1733
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
1734
+ total: z.ZodOptional<z.ZodNumber>;
1735
+ }, z.core.$strict>>;
1736
+ }, z.core.$strict>>;
1737
+ }, z.core.$strict>>;
1738
+ conversationId: z.ZodString;
1739
+ isParticipant: z.ZodBoolean;
1740
+ visibility: z.ZodOptional<z.ZodEnum<{
1741
+ private: "private";
1742
+ public: "public";
1743
+ }>>;
1744
+ status: z.ZodEnum<{
1745
+ active: "active";
1622
1746
  completed: "completed";
1623
1747
  failed: "failed";
1624
1748
  }>;
@@ -1646,6 +1770,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
1646
1770
  slackUserName: z.ZodOptional<z.ZodString>;
1647
1771
  }, z.core.$strict>>>;
1648
1772
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1773
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
1649
1774
  channel: z.ZodOptional<z.ZodString>;
1650
1775
  channelName: z.ZodOptional<z.ZodString>;
1651
1776
  channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
@@ -1767,161 +1892,39 @@ declare const conversationDetailReportSchema: z.ZodObject<{
1767
1892
  conversationId: z.ZodString;
1768
1893
  label: z.ZodString;
1769
1894
  }, z.core.$strict>>>;
1895
+ autoArchive: z.ZodOptional<z.ZodBoolean>;
1770
1896
  canFork: z.ZodOptional<z.ZodBoolean>;
1771
1897
  readPosition: z.ZodOptional<z.ZodObject<{
1772
1898
  lastReadSeq: z.ZodNumber;
1773
1899
  }, z.core.$strict>>;
1774
- forkedFromConversationId: z.ZodOptional<z.ZodString>;
1775
- forkedFromTitle: z.ZodOptional<z.ZodString>;
1776
- forks: z.ZodOptional<z.ZodArray<z.ZodString>>;
1777
- brief: z.ZodOptional<z.ZodObject<{
1778
- content: z.ZodObject<{
1779
- schemaVersion: z.ZodLiteral<1>;
1780
- record: z.ZodObject<{
1781
- startedAt: z.ZodString;
1782
- lastActivityAt: z.ZodString;
1783
- durationMs: z.ZodNumber;
1784
- participants: z.ZodArray<z.ZodObject<{
1785
- name: z.ZodString;
1786
- messages: z.ZodNumber;
1787
- }, z.core.$strict>>;
1788
- userMessages: z.ZodNumber;
1789
- assistantMessages: z.ZodNumber;
1790
- toolResults: z.ZodNumber;
1791
- events: z.ZodNumber;
1792
- turns: z.ZodOptional<z.ZodNumber>;
1793
- location: z.ZodOptional<z.ZodObject<{
1794
- provider: z.ZodString;
1795
- channelName: z.ZodOptional<z.ZodString>;
1796
- }, z.core.$strict>>;
1797
- codeChanges: z.ZodArray<z.ZodObject<{
1798
- repository: z.ZodString;
1799
- number: z.ZodNumber;
1800
- title: z.ZodOptional<z.ZodString>;
1801
- url: z.ZodString;
1802
- state: z.ZodEnum<{
1803
- closed: "closed";
1804
- merged: "merged";
1805
- open: "open";
1806
- }>;
1807
- openedAt: z.ZodOptional<z.ZodString>;
1808
- mergedAt: z.ZodOptional<z.ZodString>;
1809
- closedAt: z.ZodOptional<z.ZodString>;
1810
- }, z.core.$strict>>;
1811
- }, z.core.$strict>;
1812
- summary: z.ZodString;
1813
- intent: z.ZodString;
1814
- outcome: z.ZodObject<{
1815
- status: z.ZodEnum<{
1816
- abandoned: "abandoned";
1817
- answered: "answered";
1818
- blocked: "blocked";
1819
- done: "done";
1820
- in_progress: "in_progress";
1821
- partial: "partial";
1822
- }>;
1823
- text: z.ZodString;
1824
- }, z.core.$strict>;
1825
- decisions: z.ZodArray<z.ZodObject<{
1826
- text: z.ZodString;
1827
- by: z.ZodOptional<z.ZodString>;
1828
- kind: z.ZodEnum<{
1829
- assumed: "assumed";
1830
- confirmed: "confirmed";
1831
- stated: "stated";
1832
- }>;
1833
- }, z.core.$strict>>;
1834
- openDecisions: z.ZodArray<z.ZodObject<{
1835
- text: z.ZodString;
1836
- owner: z.ZodOptional<z.ZodString>;
1837
- }, z.core.$strict>>;
1838
- facts: z.ZodArray<z.ZodString>;
1839
- links: z.ZodArray<z.ZodObject<{
1840
- kind: z.ZodEnum<{
1841
- code_change: "code_change";
1842
- resource: "resource";
1843
- url: "url";
1900
+ unreadCursor: z.ZodOptional<z.ZodString>;
1901
+ unreadPage: z.ZodOptional<z.ZodObject<{
1902
+ events: z.ZodArray<z.ZodObject<{
1903
+ seq: z.ZodNumber;
1904
+ createdAt: z.ZodString;
1905
+ data: z.ZodDiscriminatedUnion<[z.ZodObject<{
1906
+ type: z.ZodLiteral<"message">;
1907
+ messageId: z.ZodString;
1908
+ role: z.ZodEnum<{
1909
+ assistant: "assistant";
1910
+ system: "system";
1911
+ user: "user";
1844
1912
  }>;
1845
- label: z.ZodString;
1846
- url: z.ZodString;
1847
- status: z.ZodOptional<z.ZodString>;
1848
- }, z.core.$strict>>;
1849
- keywords: z.ZodArray<z.ZodString>;
1850
- }, z.core.$strict>;
1851
- mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1852
- avatarUrl: z.ZodOptional<z.ZodString>;
1853
- email: z.ZodOptional<z.ZodString>;
1854
- fullName: z.ZodOptional<z.ZodString>;
1855
- slackUserId: z.ZodOptional<z.ZodString>;
1856
- slackUserName: z.ZodOptional<z.ZodString>;
1857
- }, z.core.$strict>>>;
1858
- updatedAt: z.ZodString;
1859
- version: z.ZodNumber;
1860
- }, z.core.$strict>>;
1861
- modelUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
1862
- modelId: z.ZodString;
1863
- usage: z.ZodObject<{
1864
- inputTokens: z.ZodOptional<z.ZodNumber>;
1865
- outputTokens: z.ZodOptional<z.ZodNumber>;
1866
- cachedInputTokens: z.ZodOptional<z.ZodNumber>;
1867
- cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
1868
- reasoningTokens: z.ZodOptional<z.ZodNumber>;
1869
- totalTokens: z.ZodOptional<z.ZodNumber>;
1870
- cost: z.ZodOptional<z.ZodObject<{
1871
- input: z.ZodOptional<z.ZodNumber>;
1872
- output: z.ZodOptional<z.ZodNumber>;
1873
- cacheRead: z.ZodOptional<z.ZodNumber>;
1874
- cacheWrite: z.ZodOptional<z.ZodNumber>;
1875
- total: z.ZodOptional<z.ZodNumber>;
1876
- }, z.core.$strict>>;
1877
- }, z.core.$strict>;
1878
- }, z.core.$strict>>>;
1879
- authors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1880
- avatarUrl: z.ZodOptional<z.ZodString>;
1881
- email: z.ZodOptional<z.ZodString>;
1882
- fullName: z.ZodOptional<z.ZodString>;
1883
- slackUserId: z.ZodOptional<z.ZodString>;
1884
- slackUserName: z.ZodOptional<z.ZodString>;
1885
- }, z.core.$strict>>>;
1886
- events: z.ZodArray<z.ZodObject<{
1887
- seq: z.ZodNumber;
1888
- createdAt: z.ZodString;
1889
- data: z.ZodDiscriminatedUnion<[z.ZodObject<{
1890
- type: z.ZodLiteral<"message">;
1891
- messageId: z.ZodString;
1892
- role: z.ZodEnum<{
1893
- assistant: "assistant";
1894
- system: "system";
1895
- user: "user";
1896
- }>;
1897
- source: z.ZodOptional<z.ZodEnum<{
1898
- slack: "slack";
1899
- web: "web";
1900
- }>>;
1901
- actorIdentity: z.ZodOptional<z.ZodObject<{
1902
- avatarUrl: z.ZodOptional<z.ZodString>;
1903
- email: z.ZodOptional<z.ZodString>;
1904
- fullName: z.ZodOptional<z.ZodString>;
1905
- slackUserId: z.ZodOptional<z.ZodString>;
1906
- slackUserName: z.ZodOptional<z.ZodString>;
1907
- }, z.core.$strict>>;
1908
- actorIdentityId: z.ZodOptional<z.ZodString>;
1909
- agentInvocationId: z.ZodOptional<z.ZodString>;
1910
- eventType: z.ZodOptional<z.ZodString>;
1911
- eventObjectType: z.ZodOptional<z.ZodEnum<{
1912
- automation: "automation";
1913
- calendar_event: "calendar_event";
1914
- code_change: "code_change";
1915
- deployment: "deployment";
1916
- item: "item";
1917
- task: "task";
1918
- }>>;
1919
- explicitMention: z.ZodOptional<z.ZodBoolean>;
1920
- trustedSummary: z.ZodOptional<z.ZodString>;
1921
- events: z.ZodOptional<z.ZodArray<z.ZodObject<{
1922
- eventType: z.ZodString;
1923
- label: z.ZodOptional<z.ZodString>;
1924
- objectType: z.ZodOptional<z.ZodEnum<{
1913
+ source: z.ZodOptional<z.ZodEnum<{
1914
+ slack: "slack";
1915
+ web: "web";
1916
+ }>>;
1917
+ actorIdentity: z.ZodOptional<z.ZodObject<{
1918
+ avatarUrl: z.ZodOptional<z.ZodString>;
1919
+ email: z.ZodOptional<z.ZodString>;
1920
+ fullName: z.ZodOptional<z.ZodString>;
1921
+ slackUserId: z.ZodOptional<z.ZodString>;
1922
+ slackUserName: z.ZodOptional<z.ZodString>;
1923
+ }, z.core.$strict>>;
1924
+ actorIdentityId: z.ZodOptional<z.ZodString>;
1925
+ agentInvocationId: z.ZodOptional<z.ZodString>;
1926
+ eventType: z.ZodOptional<z.ZodString>;
1927
+ eventObjectType: z.ZodOptional<z.ZodEnum<{
1925
1928
  automation: "automation";
1926
1929
  calendar_event: "calendar_event";
1927
1930
  code_change: "code_change";
@@ -1929,224 +1932,338 @@ declare const conversationDetailReportSchema: z.ZodObject<{
1929
1932
  item: "item";
1930
1933
  task: "task";
1931
1934
  }>>;
1935
+ explicitMention: z.ZodOptional<z.ZodBoolean>;
1936
+ quiet: z.ZodOptional<z.ZodLiteral<true>>;
1932
1937
  trustedSummary: z.ZodOptional<z.ZodString>;
1933
- }, z.core.$strict>>>;
1934
- cards: z.ZodOptional<z.ZodArray<z.ZodObject<{
1935
- plugin: z.ZodString;
1936
- key: z.ZodString;
1937
- kind: z.ZodLiteral<"object">;
1938
- }, z.core.$strict>>>;
1939
- reviewItemChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
1940
- kind: z.ZodEnum<{
1941
- dismissed: "dismissed";
1942
- submitted: "submitted";
1943
- taken: "taken";
1944
- }>;
1945
- reviewItemId: z.ZodString;
1946
- }, z.core.$strict>>>;
1947
- text: z.ZodOptional<z.ZodString>;
1948
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1949
- id: z.ZodString;
1950
- filename: z.ZodString;
1951
- contentType: z.ZodString;
1952
- bytes: z.ZodNumber;
1953
- }, z.core.$strict>>>;
1954
- redacted: z.ZodOptional<z.ZodLiteral<true>>;
1955
- }, z.core.$strict>, z.ZodObject<{
1956
- type: z.ZodLiteral<"message_handled">;
1957
- messageId: z.ZodString;
1958
- }, z.core.$strict>, z.ZodObject<{
1959
- type: z.ZodLiteral<"assistant_message">;
1960
- parts: z.ZodArray<z.ZodObject<{
1961
- type: z.ZodLiteral<"reasoning">;
1938
+ events: z.ZodOptional<z.ZodArray<z.ZodObject<{
1939
+ eventType: z.ZodString;
1940
+ label: z.ZodOptional<z.ZodString>;
1941
+ objectType: z.ZodOptional<z.ZodEnum<{
1942
+ automation: "automation";
1943
+ calendar_event: "calendar_event";
1944
+ code_change: "code_change";
1945
+ deployment: "deployment";
1946
+ item: "item";
1947
+ task: "task";
1948
+ }>>;
1949
+ trustedSummary: z.ZodOptional<z.ZodString>;
1950
+ }, z.core.$strict>>>;
1951
+ cards: z.ZodOptional<z.ZodArray<z.ZodObject<{
1952
+ plugin: z.ZodString;
1953
+ key: z.ZodString;
1954
+ kind: z.ZodLiteral<"object">;
1955
+ }, z.core.$strict>>>;
1956
+ reviewItemChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
1957
+ kind: z.ZodEnum<{
1958
+ dismissed: "dismissed";
1959
+ submitted: "submitted";
1960
+ taken: "taken";
1961
+ }>;
1962
+ reviewItemId: z.ZodString;
1963
+ }, z.core.$strict>>>;
1962
1964
  text: z.ZodOptional<z.ZodString>;
1965
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1966
+ id: z.ZodString;
1967
+ filename: z.ZodString;
1968
+ contentType: z.ZodString;
1969
+ bytes: z.ZodNumber;
1970
+ }, z.core.$strict>>>;
1963
1971
  redacted: z.ZodOptional<z.ZodLiteral<true>>;
1964
- }, z.core.$strict>>;
1965
- }, z.core.$strict>, z.ZodObject<{
1966
- type: z.ZodLiteral<"tool_calls">;
1967
- calls: z.ZodArray<z.ZodObject<{
1968
- toolCallId: z.ZodString;
1972
+ }, z.core.$strict>, z.ZodObject<{
1973
+ type: z.ZodLiteral<"message_handled">;
1974
+ messageId: z.ZodString;
1975
+ }, z.core.$strict>, z.ZodObject<{
1976
+ type: z.ZodLiteral<"assistant_message">;
1977
+ parts: z.ZodArray<z.ZodObject<{
1978
+ type: z.ZodLiteral<"reasoning">;
1979
+ text: z.ZodOptional<z.ZodString>;
1980
+ redacted: z.ZodOptional<z.ZodLiteral<true>>;
1981
+ }, z.core.$strict>>;
1982
+ }, z.core.$strict>, z.ZodObject<{
1983
+ type: z.ZodLiteral<"tool_calls">;
1984
+ calls: z.ZodArray<z.ZodObject<{
1985
+ toolCallId: z.ZodString;
1986
+ name: z.ZodString;
1987
+ status: z.ZodEnum<{
1988
+ completed: "completed";
1989
+ error: "error";
1990
+ running: "running";
1991
+ }>;
1992
+ startedAt: z.ZodOptional<z.ZodString>;
1993
+ startedSeq: z.ZodOptional<z.ZodNumber>;
1994
+ input: z.ZodOptional<z.ZodUnknown>;
1995
+ output: z.ZodOptional<z.ZodUnknown>;
1996
+ }, z.core.$strict>>;
1997
+ assistant: z.ZodOptional<z.ZodObject<{
1998
+ parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1999
+ type: z.ZodLiteral<"reasoning">;
2000
+ text: z.ZodOptional<z.ZodString>;
2001
+ redacted: z.ZodOptional<z.ZodLiteral<true>>;
2002
+ }, z.core.$strict>, z.ZodObject<{
2003
+ type: z.ZodLiteral<"tool_call">;
2004
+ toolCallId: z.ZodString;
2005
+ }, z.core.$strict>], "type">>;
2006
+ }, z.core.$strict>>;
2007
+ }, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
2008
+ type: z.ZodLiteral<"turn_lifecycle">;
2009
+ turnId: z.ZodString;
2010
+ state: z.ZodEnum<{
2011
+ blocked: "blocked";
2012
+ no_reply: "no_reply";
2013
+ succeeded: "succeeded";
2014
+ }>;
2015
+ }, z.core.$strict>, z.ZodObject<{
2016
+ type: z.ZodLiteral<"turn_lifecycle">;
2017
+ turnId: z.ZodString;
2018
+ state: z.ZodLiteral<"started">;
2019
+ inputMessageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2020
+ }, z.core.$strict>, z.ZodObject<{
2021
+ type: z.ZodLiteral<"turn_lifecycle">;
2022
+ turnId: z.ZodString;
2023
+ state: z.ZodLiteral<"failed">;
2024
+ failureCode: z.ZodEnum<{
2025
+ agent_run_failed: "agent_run_failed";
2026
+ delivery_failed: "delivery_failed";
2027
+ model_execution_failed: "model_execution_failed";
2028
+ persistence_failed: "persistence_failed";
2029
+ }>;
2030
+ failureReason: z.ZodOptional<z.ZodEnum<{
2031
+ auth: "auth";
2032
+ capacity: "capacity";
2033
+ content_policy: "content_policy";
2034
+ empty_output: "empty_output";
2035
+ invalid_request: "invalid_request";
2036
+ invalid_response: "invalid_response";
2037
+ network: "network";
2038
+ permission: "permission";
2039
+ quota: "quota";
2040
+ rate_limit: "rate_limit";
2041
+ server: "server";
2042
+ suppressed_output: "suppressed_output";
2043
+ timeout: "timeout";
2044
+ tool_errors: "tool_errors";
2045
+ unknown: "unknown";
2046
+ }>>;
2047
+ eventId: z.ZodOptional<z.ZodString>;
2048
+ sentryEventUrl: z.ZodOptional<z.ZodString>;
2049
+ }, z.core.$strict>], "state">, z.ZodObject<{
2050
+ type: z.ZodLiteral<"turn_context">;
2051
+ turnId: z.ZodString;
2052
+ pluginName: z.ZodString;
2053
+ kind: z.ZodString;
2054
+ version: z.ZodNumber;
2055
+ content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2056
+ }, z.core.$strict>, z.ZodObject<{
2057
+ type: z.ZodLiteral<"structured_event">;
2058
+ namespace: z.ZodString;
1969
2059
  name: z.ZodString;
2060
+ version: z.ZodNumber;
2061
+ turnId: z.ZodOptional<z.ZodString>;
2062
+ presentation: z.ZodObject<{
2063
+ details: z.ZodOptional<z.ZodArray<z.ZodObject<{
2064
+ content: z.ZodOptional<z.ZodString>;
2065
+ description: z.ZodOptional<z.ZodString>;
2066
+ metadata: z.ZodOptional<z.ZodArray<z.ZodString>>;
2067
+ title: z.ZodString;
2068
+ }, z.core.$strict>>>;
2069
+ icon: z.ZodOptional<z.ZodEnum<{
2070
+ activity: "activity";
2071
+ brain: "brain";
2072
+ calendar: "calendar";
2073
+ check: "check";
2074
+ database: "database";
2075
+ info: "info";
2076
+ key: "key";
2077
+ link: "link";
2078
+ sparkles: "sparkles";
2079
+ warning: "warning";
2080
+ }>>;
2081
+ preview: z.ZodOptional<z.ZodString>;
2082
+ title: z.ZodString;
2083
+ }, z.core.$strict>;
2084
+ }, z.core.$strict>, z.ZodObject<{
2085
+ type: z.ZodLiteral<"attachments_delivered">;
2086
+ attachments: z.ZodArray<z.ZodObject<{
2087
+ id: z.ZodString;
2088
+ filename: z.ZodString;
2089
+ contentType: z.ZodString;
2090
+ bytes: z.ZodNumber;
2091
+ }, z.core.$strict>>;
2092
+ }, z.core.$strict>, z.ZodObject<{
2093
+ type: z.ZodLiteral<"guardian_action_reviewed">;
2094
+ turnId: z.ZodString;
2095
+ toolCallId: z.ZodString;
2096
+ toolName: z.ZodString;
2097
+ decision: z.ZodEnum<{
2098
+ allow: "allow";
2099
+ ask: "ask";
2100
+ deny: "deny";
2101
+ }>;
2102
+ riskLevel: z.ZodEnum<{
2103
+ critical: "critical";
2104
+ high: "high";
2105
+ low: "low";
2106
+ medium: "medium";
2107
+ }>;
2108
+ userAuthorization: z.ZodEnum<{
2109
+ high: "high";
2110
+ low: "low";
2111
+ medium: "medium";
2112
+ unknown: "unknown";
2113
+ }>;
2114
+ }, z.core.$strict>, z.ZodObject<{
2115
+ type: z.ZodLiteral<"compaction">;
2116
+ modelId: z.ZodOptional<z.ZodString>;
2117
+ summary: z.ZodOptional<z.ZodString>;
2118
+ details: z.ZodOptional<z.ZodObject<{
2119
+ reason: z.ZodLiteral<"capacity">;
2120
+ estimatedInputTokens: z.ZodNumber;
2121
+ replacementInputTokens: z.ZodOptional<z.ZodNumber>;
2122
+ triggerTokens: z.ZodNumber;
2123
+ inputLimitTokens: z.ZodNumber;
2124
+ inputMessageCount: z.ZodNumber;
2125
+ retainedMessageCount: z.ZodNumber;
2126
+ summaryChars: z.ZodNumber;
2127
+ }, z.core.$strict>>;
2128
+ }, z.core.$strict>, z.ZodObject<{
2129
+ type: z.ZodLiteral<"subagent">;
2130
+ startedSeq: z.ZodNumber;
2131
+ startedAt: z.ZodString;
2132
+ childConversationId: z.ZodString;
2133
+ subagentKind: z.ZodString;
2134
+ agentName: z.ZodOptional<z.ZodString>;
2135
+ task: z.ZodOptional<z.ZodString>;
2136
+ title: z.ZodOptional<z.ZodString>;
2137
+ parentToolCallId: z.ZodOptional<z.ZodString>;
1970
2138
  status: z.ZodEnum<{
2139
+ aborted: "aborted";
2140
+ blocked: "blocked";
1971
2141
  completed: "completed";
1972
2142
  error: "error";
1973
2143
  running: "running";
1974
2144
  }>;
1975
- startedAt: z.ZodOptional<z.ZodString>;
1976
- startedSeq: z.ZodOptional<z.ZodNumber>;
1977
- input: z.ZodOptional<z.ZodUnknown>;
1978
- output: z.ZodOptional<z.ZodUnknown>;
2145
+ }, z.core.$strict>], "type">;
2146
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2147
+ avatarUrl: z.ZodOptional<z.ZodString>;
2148
+ email: z.ZodOptional<z.ZodString>;
2149
+ fullName: z.ZodOptional<z.ZodString>;
2150
+ slackUserId: z.ZodOptional<z.ZodString>;
2151
+ slackUserName: z.ZodOptional<z.ZodString>;
2152
+ }, z.core.$strict>>>;
2153
+ model: z.ZodOptional<z.ZodObject<{
2154
+ modelId: z.ZodString;
1979
2155
  }, z.core.$strict>>;
1980
- assistant: z.ZodOptional<z.ZodObject<{
1981
- parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1982
- type: z.ZodLiteral<"reasoning">;
1983
- text: z.ZodOptional<z.ZodString>;
1984
- redacted: z.ZodOptional<z.ZodLiteral<true>>;
1985
- }, z.core.$strict>, z.ZodObject<{
1986
- type: z.ZodLiteral<"tool_call">;
1987
- toolCallId: z.ZodString;
1988
- }, z.core.$strict>], "type">>;
2156
+ modelCall: z.ZodOptional<z.ZodObject<{
2157
+ provider: z.ZodOptional<z.ZodString>;
2158
+ api: z.ZodOptional<z.ZodString>;
2159
+ stopReason: z.ZodOptional<z.ZodString>;
2160
+ usage: z.ZodOptional<z.ZodObject<{
2161
+ inputTokens: z.ZodOptional<z.ZodNumber>;
2162
+ outputTokens: z.ZodOptional<z.ZodNumber>;
2163
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
2164
+ cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
2165
+ reasoningTokens: z.ZodOptional<z.ZodNumber>;
2166
+ totalTokens: z.ZodOptional<z.ZodNumber>;
2167
+ cost: z.ZodOptional<z.ZodObject<{
2168
+ input: z.ZodOptional<z.ZodNumber>;
2169
+ output: z.ZodOptional<z.ZodNumber>;
2170
+ cacheRead: z.ZodOptional<z.ZodNumber>;
2171
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
2172
+ total: z.ZodOptional<z.ZodNumber>;
2173
+ }, z.core.$strict>>;
2174
+ }, z.core.$strict>>;
1989
2175
  }, z.core.$strict>>;
1990
- }, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
1991
- type: z.ZodLiteral<"turn_lifecycle">;
1992
- turnId: z.ZodString;
1993
- state: z.ZodEnum<{
1994
- blocked: "blocked";
1995
- no_reply: "no_reply";
1996
- succeeded: "succeeded";
1997
- }>;
1998
- }, z.core.$strict>, z.ZodObject<{
1999
- type: z.ZodLiteral<"turn_lifecycle">;
2000
- turnId: z.ZodString;
2001
- state: z.ZodLiteral<"started">;
2002
- inputMessageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2176
+ }, z.core.$strict>>;
2177
+ eventHistory: z.ZodDiscriminatedUnion<[z.ZodObject<{
2178
+ status: z.ZodLiteral<"available">;
2003
2179
  }, z.core.$strict>, z.ZodObject<{
2004
- type: z.ZodLiteral<"turn_lifecycle">;
2005
- turnId: z.ZodString;
2006
- state: z.ZodLiteral<"failed">;
2007
- failureCode: z.ZodEnum<{
2008
- agent_run_failed: "agent_run_failed";
2009
- delivery_failed: "delivery_failed";
2010
- model_execution_failed: "model_execution_failed";
2011
- persistence_failed: "persistence_failed";
2012
- }>;
2013
- failureReason: z.ZodOptional<z.ZodEnum<{
2014
- auth: "auth";
2015
- capacity: "capacity";
2016
- content_policy: "content_policy";
2017
- empty_output: "empty_output";
2018
- invalid_request: "invalid_request";
2019
- invalid_response: "invalid_response";
2020
- network: "network";
2021
- permission: "permission";
2022
- quota: "quota";
2023
- rate_limit: "rate_limit";
2024
- server: "server";
2025
- suppressed_output: "suppressed_output";
2026
- timeout: "timeout";
2027
- tool_errors: "tool_errors";
2028
- unknown: "unknown";
2029
- }>>;
2030
- eventId: z.ZodOptional<z.ZodString>;
2031
- sentryEventUrl: z.ZodOptional<z.ZodString>;
2032
- }, z.core.$strict>], "state">, z.ZodObject<{
2033
- type: z.ZodLiteral<"turn_context">;
2034
- turnId: z.ZodString;
2035
- pluginName: z.ZodString;
2036
- kind: z.ZodString;
2037
- version: z.ZodNumber;
2038
- content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2180
+ status: z.ZodLiteral<"redacted">;
2181
+ reason: z.ZodLiteral<"non_public_conversation">;
2039
2182
  }, z.core.$strict>, z.ZodObject<{
2040
- type: z.ZodLiteral<"structured_event">;
2041
- namespace: z.ZodString;
2042
- name: z.ZodString;
2043
- version: z.ZodNumber;
2044
- turnId: z.ZodOptional<z.ZodString>;
2045
- presentation: z.ZodObject<{
2046
- details: z.ZodOptional<z.ZodArray<z.ZodObject<{
2047
- content: z.ZodOptional<z.ZodString>;
2048
- description: z.ZodOptional<z.ZodString>;
2049
- metadata: z.ZodOptional<z.ZodArray<z.ZodString>>;
2050
- title: z.ZodString;
2051
- }, z.core.$strict>>>;
2052
- icon: z.ZodOptional<z.ZodEnum<{
2053
- activity: "activity";
2054
- brain: "brain";
2055
- calendar: "calendar";
2056
- check: "check";
2057
- database: "database";
2058
- info: "info";
2059
- key: "key";
2060
- link: "link";
2061
- sparkles: "sparkles";
2062
- warning: "warning";
2063
- }>>;
2064
- preview: z.ZodOptional<z.ZodString>;
2065
- title: z.ZodString;
2183
+ status: z.ZodLiteral<"expired">;
2184
+ expiredAt: z.ZodString;
2185
+ }, z.core.$strict>], "status">;
2186
+ previousCursor: z.ZodOptional<z.ZodString>;
2187
+ nextCursor: z.ZodOptional<z.ZodString>;
2188
+ generatedAt: z.ZodString;
2189
+ }, z.core.$strict>>;
2190
+ forkedFromConversationId: z.ZodOptional<z.ZodString>;
2191
+ forkedFromTitle: z.ZodOptional<z.ZodString>;
2192
+ forks: z.ZodOptional<z.ZodArray<z.ZodString>>;
2193
+ brief: z.ZodOptional<z.ZodObject<{
2194
+ content: z.ZodObject<{
2195
+ schemaVersion: z.ZodLiteral<1>;
2196
+ record: z.ZodObject<{
2197
+ startedAt: z.ZodString;
2198
+ lastActivityAt: z.ZodString;
2199
+ durationMs: z.ZodNumber;
2200
+ participants: z.ZodArray<z.ZodObject<{
2201
+ name: z.ZodString;
2202
+ messages: z.ZodNumber;
2203
+ }, z.core.$strict>>;
2204
+ userMessages: z.ZodNumber;
2205
+ assistantMessages: z.ZodNumber;
2206
+ toolResults: z.ZodNumber;
2207
+ events: z.ZodNumber;
2208
+ turns: z.ZodOptional<z.ZodNumber>;
2209
+ location: z.ZodOptional<z.ZodObject<{
2210
+ provider: z.ZodString;
2211
+ channelName: z.ZodOptional<z.ZodString>;
2212
+ }, z.core.$strict>>;
2213
+ codeChanges: z.ZodArray<z.ZodObject<{
2214
+ repository: z.ZodString;
2215
+ number: z.ZodNumber;
2216
+ title: z.ZodOptional<z.ZodString>;
2217
+ url: z.ZodString;
2218
+ state: z.ZodEnum<{
2219
+ closed: "closed";
2220
+ merged: "merged";
2221
+ open: "open";
2222
+ }>;
2223
+ openedAt: z.ZodOptional<z.ZodString>;
2224
+ mergedAt: z.ZodOptional<z.ZodString>;
2225
+ closedAt: z.ZodOptional<z.ZodString>;
2226
+ }, z.core.$strict>>;
2066
2227
  }, z.core.$strict>;
2067
- }, z.core.$strict>, z.ZodObject<{
2068
- type: z.ZodLiteral<"attachments_delivered">;
2069
- attachments: z.ZodArray<z.ZodObject<{
2070
- id: z.ZodString;
2071
- filename: z.ZodString;
2072
- contentType: z.ZodString;
2073
- bytes: z.ZodNumber;
2228
+ summary: z.ZodString;
2229
+ intent: z.ZodString;
2230
+ outcome: z.ZodObject<{
2231
+ status: z.ZodEnum<{
2232
+ abandoned: "abandoned";
2233
+ answered: "answered";
2234
+ blocked: "blocked";
2235
+ done: "done";
2236
+ in_progress: "in_progress";
2237
+ partial: "partial";
2238
+ }>;
2239
+ text: z.ZodString;
2240
+ }, z.core.$strict>;
2241
+ decisions: z.ZodArray<z.ZodObject<{
2242
+ text: z.ZodString;
2243
+ by: z.ZodOptional<z.ZodString>;
2244
+ kind: z.ZodEnum<{
2245
+ assumed: "assumed";
2246
+ confirmed: "confirmed";
2247
+ stated: "stated";
2248
+ }>;
2074
2249
  }, z.core.$strict>>;
2075
- }, z.core.$strict>, z.ZodObject<{
2076
- type: z.ZodLiteral<"turn_routed">;
2077
- turnId: z.ZodString;
2078
- modelProfile: z.ZodString;
2079
- modelId: z.ZodString;
2080
- costUsd: z.ZodOptional<z.ZodNumber>;
2081
- reasoningLevel: z.ZodString;
2082
- confidence: z.ZodOptional<z.ZodNumber>;
2083
- source: z.ZodEnum<{
2084
- configured: "configured";
2085
- inherited: "inherited";
2086
- router: "router";
2087
- }>;
2088
- }, z.core.$strict>, z.ZodObject<{
2089
- type: z.ZodLiteral<"guardian_action_reviewed">;
2090
- turnId: z.ZodString;
2091
- toolCallId: z.ZodString;
2092
- toolName: z.ZodString;
2093
- decision: z.ZodEnum<{
2094
- allow: "allow";
2095
- ask: "ask";
2096
- deny: "deny";
2097
- }>;
2098
- riskLevel: z.ZodEnum<{
2099
- critical: "critical";
2100
- high: "high";
2101
- low: "low";
2102
- medium: "medium";
2103
- }>;
2104
- userAuthorization: z.ZodEnum<{
2105
- high: "high";
2106
- low: "low";
2107
- medium: "medium";
2108
- unknown: "unknown";
2109
- }>;
2110
- }, z.core.$strict>, z.ZodObject<{
2111
- type: z.ZodLiteral<"compaction">;
2112
- modelProfile: z.ZodOptional<z.ZodString>;
2113
- modelId: z.ZodOptional<z.ZodString>;
2114
- summary: z.ZodOptional<z.ZodString>;
2115
- details: z.ZodOptional<z.ZodObject<{
2116
- reason: z.ZodLiteral<"capacity">;
2117
- estimatedInputTokens: z.ZodNumber;
2118
- replacementInputTokens: z.ZodOptional<z.ZodNumber>;
2119
- triggerTokens: z.ZodNumber;
2120
- inputLimitTokens: z.ZodNumber;
2121
- inputMessageCount: z.ZodNumber;
2122
- retainedMessageCount: z.ZodNumber;
2123
- summaryChars: z.ZodNumber;
2250
+ openDecisions: z.ZodArray<z.ZodObject<{
2251
+ text: z.ZodString;
2252
+ owner: z.ZodOptional<z.ZodString>;
2124
2253
  }, z.core.$strict>>;
2125
- }, z.core.$strict>, z.ZodObject<{
2126
- type: z.ZodLiteral<"handoff">;
2127
- modelProfile: z.ZodString;
2128
- modelId: z.ZodString;
2129
- reasoningLevel: z.ZodOptional<z.ZodString>;
2130
- triggeringToolCallId: z.ZodOptional<z.ZodString>;
2131
- summary: z.ZodOptional<z.ZodString>;
2132
- }, z.core.$strict>, z.ZodObject<{
2133
- type: z.ZodLiteral<"subagent">;
2134
- startedSeq: z.ZodNumber;
2135
- startedAt: z.ZodString;
2136
- childConversationId: z.ZodString;
2137
- subagentKind: z.ZodString;
2138
- agentName: z.ZodOptional<z.ZodString>;
2139
- task: z.ZodOptional<z.ZodString>;
2140
- title: z.ZodOptional<z.ZodString>;
2141
- parentToolCallId: z.ZodOptional<z.ZodString>;
2142
- status: z.ZodEnum<{
2143
- aborted: "aborted";
2144
- blocked: "blocked";
2145
- completed: "completed";
2146
- error: "error";
2147
- running: "running";
2148
- }>;
2149
- }, z.core.$strict>], "type">;
2254
+ facts: z.ZodArray<z.ZodString>;
2255
+ links: z.ZodArray<z.ZodObject<{
2256
+ kind: z.ZodEnum<{
2257
+ code_change: "code_change";
2258
+ resource: "resource";
2259
+ url: "url";
2260
+ }>;
2261
+ label: z.ZodString;
2262
+ url: z.ZodString;
2263
+ status: z.ZodOptional<z.ZodString>;
2264
+ }, z.core.$strict>>;
2265
+ keywords: z.ZodArray<z.ZodString>;
2266
+ }, z.core.$strict>;
2150
2267
  mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2151
2268
  avatarUrl: z.ZodOptional<z.ZodString>;
2152
2269
  email: z.ZodOptional<z.ZodString>;
@@ -2154,62 +2271,34 @@ declare const conversationDetailReportSchema: z.ZodObject<{
2154
2271
  slackUserId: z.ZodOptional<z.ZodString>;
2155
2272
  slackUserName: z.ZodOptional<z.ZodString>;
2156
2273
  }, z.core.$strict>>>;
2157
- model: z.ZodOptional<z.ZodObject<{
2158
- modelId: z.ZodString;
2159
- modelProfile: z.ZodOptional<z.ZodString>;
2160
- reasoningLevel: z.ZodOptional<z.ZodString>;
2161
- }, z.core.$strict>>;
2162
- modelCall: z.ZodOptional<z.ZodObject<{
2163
- provider: z.ZodOptional<z.ZodString>;
2164
- api: z.ZodOptional<z.ZodString>;
2165
- stopReason: z.ZodOptional<z.ZodString>;
2166
- usage: z.ZodOptional<z.ZodObject<{
2167
- inputTokens: z.ZodOptional<z.ZodNumber>;
2168
- outputTokens: z.ZodOptional<z.ZodNumber>;
2169
- cachedInputTokens: z.ZodOptional<z.ZodNumber>;
2170
- cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
2171
- reasoningTokens: z.ZodOptional<z.ZodNumber>;
2172
- totalTokens: z.ZodOptional<z.ZodNumber>;
2173
- cost: z.ZodOptional<z.ZodObject<{
2174
- input: z.ZodOptional<z.ZodNumber>;
2175
- output: z.ZodOptional<z.ZodNumber>;
2176
- cacheRead: z.ZodOptional<z.ZodNumber>;
2177
- cacheWrite: z.ZodOptional<z.ZodNumber>;
2178
- total: z.ZodOptional<z.ZodNumber>;
2179
- }, z.core.$strict>>;
2180
- }, z.core.$strict>>;
2181
- }, z.core.$strict>>;
2182
- }, z.core.$strict>>;
2183
- eventHistory: z.ZodDiscriminatedUnion<[z.ZodObject<{
2184
- status: z.ZodLiteral<"available">;
2185
- }, z.core.$strict>, z.ZodObject<{
2186
- status: z.ZodLiteral<"redacted">;
2187
- reason: z.ZodLiteral<"non_public_conversation">;
2188
- }, z.core.$strict>, z.ZodObject<{
2189
- status: z.ZodLiteral<"expired">;
2190
- expiredAt: z.ZodString;
2191
- }, z.core.$strict>], "status">;
2192
- previousCursor: z.ZodOptional<z.ZodString>;
2193
- generatedAt: z.ZodString;
2194
- sentryConversationUrl: z.ZodOptional<z.ZodString>;
2195
- sourceTask: z.ZodOptional<z.ZodObject<{
2196
- id: z.ZodOptional<z.ZodString>;
2197
- kind: z.ZodEnum<{
2198
- event: "event";
2199
- scheduled: "scheduled";
2200
- }>;
2201
- label: z.ZodOptional<z.ZodString>;
2202
- title: z.ZodOptional<z.ZodString>;
2203
- triggerMessageId: z.ZodOptional<z.ZodString>;
2204
- triggerLabel: z.ZodOptional<z.ZodString>;
2205
- credentialMode: z.ZodOptional<z.ZodEnum<{
2206
- creator: "creator";
2207
- system: "system";
2208
- }>>;
2209
- credentialUser: z.ZodOptional<z.ZodString>;
2274
+ updatedAt: z.ZodString;
2275
+ version: z.ZodNumber;
2210
2276
  }, z.core.$strict>>;
2211
- }, z.core.$strict>;
2212
- declare const conversationEventPageSchema: z.ZodObject<{
2277
+ modelUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
2278
+ modelId: z.ZodString;
2279
+ usage: z.ZodObject<{
2280
+ inputTokens: z.ZodOptional<z.ZodNumber>;
2281
+ outputTokens: z.ZodOptional<z.ZodNumber>;
2282
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
2283
+ cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
2284
+ reasoningTokens: z.ZodOptional<z.ZodNumber>;
2285
+ totalTokens: z.ZodOptional<z.ZodNumber>;
2286
+ cost: z.ZodOptional<z.ZodObject<{
2287
+ input: z.ZodOptional<z.ZodNumber>;
2288
+ output: z.ZodOptional<z.ZodNumber>;
2289
+ cacheRead: z.ZodOptional<z.ZodNumber>;
2290
+ cacheWrite: z.ZodOptional<z.ZodNumber>;
2291
+ total: z.ZodOptional<z.ZodNumber>;
2292
+ }, z.core.$strict>>;
2293
+ }, z.core.$strict>;
2294
+ }, z.core.$strict>>>;
2295
+ authors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
2296
+ avatarUrl: z.ZodOptional<z.ZodString>;
2297
+ email: z.ZodOptional<z.ZodString>;
2298
+ fullName: z.ZodOptional<z.ZodString>;
2299
+ slackUserId: z.ZodOptional<z.ZodString>;
2300
+ slackUserName: z.ZodOptional<z.ZodString>;
2301
+ }, z.core.$strict>>>;
2213
2302
  events: z.ZodArray<z.ZodObject<{
2214
2303
  seq: z.ZodNumber;
2215
2304
  createdAt: z.ZodString;
@@ -2244,6 +2333,7 @@ declare const conversationEventPageSchema: z.ZodObject<{
2244
2333
  task: "task";
2245
2334
  }>>;
2246
2335
  explicitMention: z.ZodOptional<z.ZodBoolean>;
2336
+ quiet: z.ZodOptional<z.ZodLiteral<true>>;
2247
2337
  trustedSummary: z.ZodOptional<z.ZodString>;
2248
2338
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
2249
2339
  eventType: z.ZodString;
@@ -2399,19 +2489,6 @@ declare const conversationEventPageSchema: z.ZodObject<{
2399
2489
  contentType: z.ZodString;
2400
2490
  bytes: z.ZodNumber;
2401
2491
  }, z.core.$strict>>;
2402
- }, z.core.$strict>, z.ZodObject<{
2403
- type: z.ZodLiteral<"turn_routed">;
2404
- turnId: z.ZodString;
2405
- modelProfile: z.ZodString;
2406
- modelId: z.ZodString;
2407
- costUsd: z.ZodOptional<z.ZodNumber>;
2408
- reasoningLevel: z.ZodString;
2409
- confidence: z.ZodOptional<z.ZodNumber>;
2410
- source: z.ZodEnum<{
2411
- configured: "configured";
2412
- inherited: "inherited";
2413
- router: "router";
2414
- }>;
2415
2492
  }, z.core.$strict>, z.ZodObject<{
2416
2493
  type: z.ZodLiteral<"guardian_action_reviewed">;
2417
2494
  turnId: z.ZodString;
@@ -2436,7 +2513,6 @@ declare const conversationEventPageSchema: z.ZodObject<{
2436
2513
  }>;
2437
2514
  }, z.core.$strict>, z.ZodObject<{
2438
2515
  type: z.ZodLiteral<"compaction">;
2439
- modelProfile: z.ZodOptional<z.ZodString>;
2440
2516
  modelId: z.ZodOptional<z.ZodString>;
2441
2517
  summary: z.ZodOptional<z.ZodString>;
2442
2518
  details: z.ZodOptional<z.ZodObject<{
@@ -2449,13 +2525,6 @@ declare const conversationEventPageSchema: z.ZodObject<{
2449
2525
  retainedMessageCount: z.ZodNumber;
2450
2526
  summaryChars: z.ZodNumber;
2451
2527
  }, z.core.$strict>>;
2452
- }, z.core.$strict>, z.ZodObject<{
2453
- type: z.ZodLiteral<"handoff">;
2454
- modelProfile: z.ZodString;
2455
- modelId: z.ZodString;
2456
- reasoningLevel: z.ZodOptional<z.ZodString>;
2457
- triggeringToolCallId: z.ZodOptional<z.ZodString>;
2458
- summary: z.ZodOptional<z.ZodString>;
2459
2528
  }, z.core.$strict>, z.ZodObject<{
2460
2529
  type: z.ZodLiteral<"subagent">;
2461
2530
  startedSeq: z.ZodNumber;
@@ -2483,8 +2552,6 @@ declare const conversationEventPageSchema: z.ZodObject<{
2483
2552
  }, z.core.$strict>>>;
2484
2553
  model: z.ZodOptional<z.ZodObject<{
2485
2554
  modelId: z.ZodString;
2486
- modelProfile: z.ZodOptional<z.ZodString>;
2487
- reasoningLevel: z.ZodOptional<z.ZodString>;
2488
2555
  }, z.core.$strict>>;
2489
2556
  modelCall: z.ZodOptional<z.ZodObject<{
2490
2557
  provider: z.ZodOptional<z.ZodString>;
@@ -2518,6 +2585,23 @@ declare const conversationEventPageSchema: z.ZodObject<{
2518
2585
  }, z.core.$strict>], "status">;
2519
2586
  previousCursor: z.ZodOptional<z.ZodString>;
2520
2587
  generatedAt: z.ZodString;
2588
+ sentryConversationUrl: z.ZodOptional<z.ZodString>;
2589
+ sourceTask: z.ZodOptional<z.ZodObject<{
2590
+ id: z.ZodOptional<z.ZodString>;
2591
+ kind: z.ZodEnum<{
2592
+ event: "event";
2593
+ scheduled: "scheduled";
2594
+ }>;
2595
+ label: z.ZodOptional<z.ZodString>;
2596
+ title: z.ZodOptional<z.ZodString>;
2597
+ triggerMessageId: z.ZodOptional<z.ZodString>;
2598
+ triggerLabel: z.ZodOptional<z.ZodString>;
2599
+ credentialMode: z.ZodOptional<z.ZodEnum<{
2600
+ creator: "creator";
2601
+ system: "system";
2602
+ }>>;
2603
+ credentialUser: z.ZodOptional<z.ZodString>;
2604
+ }, z.core.$strict>>;
2521
2605
  }, z.core.$strict>;
2522
2606
  declare const conversationFeedSchema: z.ZodObject<{
2523
2607
  conversations: z.ZodArray<z.ZodObject<{
@@ -2617,6 +2701,7 @@ declare const conversationFeedSchema: z.ZodObject<{
2617
2701
  slackUserName: z.ZodOptional<z.ZodString>;
2618
2702
  }, z.core.$strict>>>;
2619
2703
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2704
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
2620
2705
  channel: z.ZodOptional<z.ZodString>;
2621
2706
  channelName: z.ZodOptional<z.ZodString>;
2622
2707
  channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
@@ -2758,11 +2843,143 @@ type ConversationDetailReport = z.infer<typeof conversationDetailReportSchema>;
2758
2843
  type ConversationEventPage = z.infer<typeof conversationEventPageSchema>;
2759
2844
  type ConversationFeed = z.infer<typeof conversationFeedSchema>;
2760
2845
  type ConversationParams = z.infer<typeof conversationParamsSchema>;
2761
- type ArchiveConversationBody = z.infer<typeof archiveConversationBodySchema>;
2762
- type ArchiveConversationResponse = z.infer<typeof archiveConversationResponseSchema>;
2763
2846
  type CreateConversationBody = z.infer<typeof createConversationBodySchema>;
2764
2847
  type CreateConversationMessageBody = z.infer<typeof createConversationMessageBodySchema>;
2765
2848
  type AcceptedConversationMessage = z.infer<typeof acceptedConversationMessageSchema>;
2849
+ /** Mailbox delivery mode for one accepted inbound message. */
2850
+ declare const conversationPendingMessageDeliverySchema: z.ZodEnum<{
2851
+ defer: "defer";
2852
+ interrupt: "interrupt";
2853
+ }>;
2854
+ /** One accepted mailbox message that has not reached durable history yet. */
2855
+ declare const conversationPendingMessageSchema: z.ZodObject<{
2856
+ actorIdentity: z.ZodOptional<z.ZodObject<{
2857
+ avatarUrl: z.ZodOptional<z.ZodString>;
2858
+ email: z.ZodOptional<z.ZodString>;
2859
+ fullName: z.ZodOptional<z.ZodString>;
2860
+ slackUserId: z.ZodOptional<z.ZodString>;
2861
+ slackUserName: z.ZodOptional<z.ZodString>;
2862
+ }, z.core.$strict>>;
2863
+ actorIdentityId: z.ZodOptional<z.ZodString>;
2864
+ createdAt: z.ZodString;
2865
+ delivery: z.ZodEnum<{
2866
+ defer: "defer";
2867
+ interrupt: "interrupt";
2868
+ }>;
2869
+ inboundMessageId: z.ZodString;
2870
+ messageId: z.ZodString;
2871
+ receivedAt: z.ZodString;
2872
+ role: z.ZodLiteral<"user">;
2873
+ source: z.ZodEnum<{
2874
+ slack: "slack";
2875
+ web: "web";
2876
+ }>;
2877
+ text: z.ZodOptional<z.ZodString>;
2878
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2879
+ avatarUrl: z.ZodOptional<z.ZodString>;
2880
+ email: z.ZodOptional<z.ZodString>;
2881
+ fullName: z.ZodOptional<z.ZodString>;
2882
+ slackUserId: z.ZodOptional<z.ZodString>;
2883
+ slackUserName: z.ZodOptional<z.ZodString>;
2884
+ }, z.core.$strict>>>;
2885
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2886
+ id: z.ZodString;
2887
+ filename: z.ZodString;
2888
+ contentType: z.ZodString;
2889
+ bytes: z.ZodNumber;
2890
+ }, z.core.$strict>>>;
2891
+ reviewItemChange: z.ZodOptional<z.ZodObject<{
2892
+ kind: z.ZodEnum<{
2893
+ dismissed: "dismissed";
2894
+ submitted: "submitted";
2895
+ taken: "taken";
2896
+ }>;
2897
+ reviewItemId: z.ZodString;
2898
+ }, z.core.$strict>>;
2899
+ redacted: z.ZodOptional<z.ZodLiteral<true>>;
2900
+ }, z.core.$strict>;
2901
+ /** Participant-only authorization prompt for a parked web turn. */
2902
+ declare const conversationPendingAuthorizationSchema: z.ZodObject<{
2903
+ authorizationUrl: z.ZodString;
2904
+ completionText: z.ZodString;
2905
+ label: z.ZodString;
2906
+ }, z.core.$strict>;
2907
+ /** Bounded mailbox snapshot for one conversation transcript. */
2908
+ declare const conversationPendingMessagesReportSchema: z.ZodObject<{
2909
+ authorization: z.ZodOptional<z.ZodObject<{
2910
+ authorizationUrl: z.ZodString;
2911
+ completionText: z.ZodString;
2912
+ label: z.ZodString;
2913
+ }, z.core.$strict>>;
2914
+ conversationId: z.ZodString;
2915
+ generatedAt: z.ZodString;
2916
+ messages: z.ZodArray<z.ZodObject<{
2917
+ actorIdentity: z.ZodOptional<z.ZodObject<{
2918
+ avatarUrl: z.ZodOptional<z.ZodString>;
2919
+ email: z.ZodOptional<z.ZodString>;
2920
+ fullName: z.ZodOptional<z.ZodString>;
2921
+ slackUserId: z.ZodOptional<z.ZodString>;
2922
+ slackUserName: z.ZodOptional<z.ZodString>;
2923
+ }, z.core.$strict>>;
2924
+ actorIdentityId: z.ZodOptional<z.ZodString>;
2925
+ createdAt: z.ZodString;
2926
+ delivery: z.ZodEnum<{
2927
+ defer: "defer";
2928
+ interrupt: "interrupt";
2929
+ }>;
2930
+ inboundMessageId: z.ZodString;
2931
+ messageId: z.ZodString;
2932
+ receivedAt: z.ZodString;
2933
+ role: z.ZodLiteral<"user">;
2934
+ source: z.ZodEnum<{
2935
+ slack: "slack";
2936
+ web: "web";
2937
+ }>;
2938
+ text: z.ZodOptional<z.ZodString>;
2939
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2940
+ avatarUrl: z.ZodOptional<z.ZodString>;
2941
+ email: z.ZodOptional<z.ZodString>;
2942
+ fullName: z.ZodOptional<z.ZodString>;
2943
+ slackUserId: z.ZodOptional<z.ZodString>;
2944
+ slackUserName: z.ZodOptional<z.ZodString>;
2945
+ }, z.core.$strict>>>;
2946
+ attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
2947
+ id: z.ZodString;
2948
+ filename: z.ZodString;
2949
+ contentType: z.ZodString;
2950
+ bytes: z.ZodNumber;
2951
+ }, z.core.$strict>>>;
2952
+ reviewItemChange: z.ZodOptional<z.ZodObject<{
2953
+ kind: z.ZodEnum<{
2954
+ dismissed: "dismissed";
2955
+ submitted: "submitted";
2956
+ taken: "taken";
2957
+ }>;
2958
+ reviewItemId: z.ZodString;
2959
+ }, z.core.$strict>>;
2960
+ redacted: z.ZodOptional<z.ZodLiteral<true>>;
2961
+ }, z.core.$strict>>;
2962
+ }, z.core.$strict>;
2963
+ /** Optional filters for cancelling accepted mailbox rows. */
2964
+ declare const cancelConversationPendingMessagesBodySchema: z.ZodObject<{
2965
+ inboundMessageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2966
+ receivedBefore: z.ZodOptional<z.ZodString>;
2967
+ }, z.core.$strict>;
2968
+ /** Result of cancelling accepted human-facing mailbox rows. */
2969
+ declare const cancelConversationPendingMessagesResponseSchema: z.ZodObject<{
2970
+ cancelledCount: z.ZodNumber;
2971
+ cancelledInboundMessageIds: z.ZodArray<z.ZodString>;
2972
+ conversationId: z.ZodString;
2973
+ }, z.core.$strict>;
2974
+ /** Queued web messages that the viewer wants Junior to read now. */
2975
+ declare const steerConversationPendingMessagesBodySchema: z.ZodObject<{
2976
+ inboundMessageIds: z.ZodArray<z.ZodString>;
2977
+ }, z.core.$strict>;
2978
+ /** Result of steering queued web messages into the conversation. */
2979
+ declare const steerConversationPendingMessagesResponseSchema: z.ZodObject<{
2980
+ conversationId: z.ZodString;
2981
+ steeredInboundMessageIds: z.ZodArray<z.ZodString>;
2982
+ }, z.core.$strict>;
2766
2983
  type ConversationPendingMessageDelivery = z.infer<typeof conversationPendingMessageDeliverySchema>;
2767
2984
  type ConversationPendingMessage = z.infer<typeof conversationPendingMessageSchema>;
2768
2985
  type ConversationPendingMessagesReport = z.infer<typeof conversationPendingMessagesReportSchema>;
@@ -2770,6 +2987,24 @@ type CancelConversationPendingMessagesBody = z.infer<typeof cancelConversationPe
2770
2987
  type CancelConversationPendingMessagesResponse = z.infer<typeof cancelConversationPendingMessagesResponseSchema>;
2771
2988
  type SteerConversationPendingMessagesBody = z.infer<typeof steerConversationPendingMessagesBodySchema>;
2772
2989
  type SteerConversationPendingMessagesResponse = z.infer<typeof steerConversationPendingMessagesResponseSchema>;
2990
+ declare const archiveConversationBodySchema: z.ZodObject<{
2991
+ archived: z.ZodBoolean;
2992
+ lastSeenAt: z.ZodString;
2993
+ }, z.core.$strict>;
2994
+ declare const archiveConversationResponseSchema: z.ZodObject<{
2995
+ archivedAt: z.ZodNullable<z.ZodString>;
2996
+ }, z.core.$strict>;
2997
+ /** Viewer's auto-archive choice for one conversation. */
2998
+ declare const conversationAutoArchiveSchema: z.ZodObject<{
2999
+ autoArchive: z.ZodBoolean;
3000
+ }, z.core.$strict>;
3001
+ /** Result of archiving all of the viewer's done conversations once. */
3002
+ declare const archiveDoneConversationsResponseSchema: z.ZodObject<{
3003
+ archived: z.ZodNumber;
3004
+ }, z.core.$strict>;
3005
+ type ArchiveConversationBody = z.infer<typeof archiveConversationBodySchema>;
3006
+ type ArchiveConversationResponse = z.infer<typeof archiveConversationResponseSchema>;
3007
+ type ConversationAutoArchive = z.infer<typeof conversationAutoArchiveSchema>;
2773
3008
  declare const conversationStatsItemSchema: z.ZodObject<{
2774
3009
  active: z.ZodNumber;
2775
3010
  conversations: z.ZodNumber;
@@ -2958,6 +3193,16 @@ declare const conversationReadPositionSchema: z.ZodObject<{
2958
3193
  lastReadSeq: z.ZodNumber;
2959
3194
  }, z.core.$strict>;
2960
3195
  type ConversationReadPosition = z.infer<typeof conversationReadPositionSchema>;
3196
+ /** Pin or unpin one Conversation for the signed-in viewer. */
3197
+ declare const pinConversationBodySchema: z.ZodObject<{
3198
+ pinned: z.ZodBoolean;
3199
+ }, z.core.$strict>;
3200
+ /** The viewer's pin time after the change, or null when unpinned. */
3201
+ declare const pinConversationResponseSchema: z.ZodObject<{
3202
+ pinnedAt: z.ZodNullable<z.ZodString>;
3203
+ }, z.core.$strict>;
3204
+ type PinConversationBody = z.infer<typeof pinConversationBodySchema>;
3205
+ type PinConversationResponse = z.infer<typeof pinConversationResponseSchema>;
2961
3206
  /**
2962
3207
  * One direct child agent of a Conversation, from agent invocation records.
2963
3208
  *
@@ -3446,6 +3691,7 @@ declare const actorProfileReportSchema: z.ZodObject<{
3446
3691
  slackUserName: z.ZodOptional<z.ZodString>;
3447
3692
  }, z.core.$strict>>>;
3448
3693
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3694
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3449
3695
  channel: z.ZodOptional<z.ZodString>;
3450
3696
  channelName: z.ZodOptional<z.ZodString>;
3451
3697
  channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
@@ -3869,6 +4115,7 @@ declare const locationDetailReportSchema: z.ZodObject<{
3869
4115
  slackUserName: z.ZodOptional<z.ZodString>;
3870
4116
  }, z.core.$strict>>>;
3871
4117
  archivedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
4118
+ pinnedAt: z.ZodOptional<z.ZodNullable<z.ZodString>>;
3872
4119
  channel: z.ZodOptional<z.ZodString>;
3873
4120
  channelName: z.ZodOptional<z.ZodString>;
3874
4121
  channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
@@ -6058,4 +6305,4 @@ declare const reviewItemActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6058
6305
  }, z.core.$strict>;
6059
6306
  }, z.core.$strict>], "action">;
6060
6307
  type ReviewItemActionBody = z.output<typeof reviewItemActionSchema>;
6061
- export { automationExecutionSchema as $, ConversationPendingMessage as $n, codeChangeSummaryReportSchema as $r, LocationParams as $t, StatReport as A, stopConversationTurnResponseSchema as An, conversationParamsSchema as Ar, PersonalTokenMetadata as At, AutomationListQuery as B, ArchiveConversationResponse as Bn, forkConversationBodySchema as Br, serviceAccountSchema as Bt, pluginPackageContentItemReportSchema as C, MAX_INPUT_IMAGES as Ci, ConversationChildAgent as Cn, conversationDetailQuerySchema as Cr, workspaceBodySchema as Ct, runtimeInfoReportSchema as D, ConversationReadPosition as Dn, conversationEventsQuerySchema as Dr, workspaceSchema as Dt, pluginsSchema as E, INPUT_IMAGE_TYPES as Ei, conversationChildAgentsReportSchema as En, conversationEventPageSchema as Er, workspaceRepoSchema as Et, AutomationExecution as F, GuardianStats as Fn, conversationReportEventDataSchema as Fr, personalTokenParamsSchema as Ft, AutomationSummary as G, ConversationAuxiliaryCosts as Gn, conversationTurnFailureReasonSchema as Gr, disconnectConnectionResponseSchema as Gt, AutomationRunList as H, CancelConversationPendingMessagesResponse as Hn, steerConversationPendingMessagesBodySchema as Hr, connectionListSchema as Ht, AutomationExecutionDay as I, conversationStatsReportSchema as In, conversationReportEventSchema as Ir, revokePersonalTokenResponseSchema as It, ListedAutomationVersion as J, ConversationEventHistory as Jn, CodeOverviewReport as Jr, apiErrorSchema as Jt, AutomationUpdate as K, ConversationCost as Kn, CodeActivityDay as Kr, startConnectionResponseSchema as Kt, AutomationExecutionList as L, AcceptedConversationMessage as Ln, conversationSummaryReportSchema as Lr, disconnectServiceAccountResponseSchema as Lt, statSchema as M, ConversationStatsItem as Mn, conversationPendingMessageDeliverySchema as Mr, createdPersonalTokenSchema as Mt, statsReportSchema as N, ConversationStatsReport as Nn, conversationPendingMessageSchema as Nr, personalTokenListSchema as Nt, skillReportSchema as O, conversationReadPositionSchema as On, conversationFeedQuerySchema as Or, USER_CUSTOMIZATION_MAX_CHARS as Ot, AutomationEdit as P, GuardianMetricDay as Pn, conversationPendingMessagesReportSchema as Pr, personalTokenMetadataSchema as Pt, automationExecutionListSchema as Q, ConversationParams as Qn, codeActivityDaySchema as Qr, LocationDirectoryReport as Qt, AutomationExecutionStatusDay as R, ActorIdentity as Rn, createConversationBodySchema as Rr, serviceAccountListSchema as Rt, pluginOperationalReportSchema as S, InputImage as Si, conversationWatchesReportSchema as Sn, conversationAuxiliaryCostsSchema as Sr, deleteWorkspaceResponseSchema as St, pluginSchema as T, MessageAttachment as Ti, conversationChildAgentSchema as Tn, conversationEventHistorySchema as Tr, workspaceParamsSchema as Tt, AutomationRunWindows as U, ConversationActivityPreview as Un, steerConversationPendingMessagesResponseSchema as Ur, connectionParamsSchema as Ut, AutomationRun as V, CancelConversationPendingMessagesBody as Vn, forkConversationResponseSchema as Vr, startServiceAccountSignInResponseSchema as Vt, AutomationScheduleIntent as W, ConversationAgentTreeNode as Wn, conversationTurnFailureCodeSchema as Wr, connectionSchema as Wt, automationEditSchema as X, ConversationFeed as Xn, CodeRepositoryReport as Xr, LocationActorSummaryReport as Xt, automationEditErrorSchema as Y, ConversationEventPage as Yn, CodePersonReport as Yr, LocationActivityDayReport as Yt, automationEventCatalogSchema as Z, ConversationModelUsage as Zn, CodeRepositorySummary as Zr, LocationDetailReport as Zt, RuntimeInfoReport as _, UserInputRequest as _i, personParamsSchema as _n, archiveConversationBodySchema as _r, scheduledAutomationSummarySchema as _t, reviewItemCountSchema as a, codeRepositorySummarySchema as ai, ActorActivityDayReport as an, ConversationReportStatus as ar, automationRunListSchema as at, healthReportSchema as b, normalizeUserInputAnswer as bi, ConversationWatchesReport as bn, cancelConversationPendingMessagesResponseSchema as br, WorkspaceReport as bt, reviewItemWaitingConversationsSchema as c, DailyConversationActivity as ci, ActorProfileReport as cn, ConversationSurface as cr, automationScheduleIntentSchema as ct, Plugin as d, messageCardText as di, ActorWindowMetrics as dn, ConversationUsage as dr, automationUpdateSchema as dt, codeChangeSummarySchema as ei, LocationSummaryReport as en, ConversationPendingMessageDelivery as er, automationExecutionStatusDaySchema as et, PluginOperationalReport as f, resolveMessageCards as fi, PeopleActivityDayReport as fn, CreateConversationBody as fr, automationVersionActivateSchema as ft, Plugins as g, UserInputField as gi, actorProfileReportSchema as gn, acceptedConversationMessageSchema as gr, eventAutomationSummarySchema as gt, PluginPackageContentReport as h, UserInputAnswer as hi, actorDirectoryReportSchema as hn, SteerConversationPendingMessagesResponse as hr, automationVersionSchema as ht, reviewItemActionSchema as i, codeRepositoryReportSchema as ii, locationParamsSchema as in, ConversationReportMessageEvent as ir, automationParamsSchema as it, StatsReport as j, ConversationMetricDay as jn, conversationPendingAuthorizationSchema as jr, createPersonalTokenBodySchema as jt, skillReportsSchema as k, StopConversationTurnResponse as kn, conversationFeedSchema as kr, userCustomizationSchema as kt, ReviewItemChangeRecord as l, dailyConversationActivitySchema as li, ActorSummaryReport as ln, ConversationTurnFailureCode as lr, automationSchedulePreviewSchema as lt, PluginPackageContentItemReport as m, USER_INPUT_NOTE as mi, PersonalSpendReport as mn, SteerConversationPendingMessagesBody as mr, automationVersionParamsSchema as mt, ReviewItemActionBody as n, codePersonReportSchema as ni, locationDetailReportSchema as nn, ConversationReportEvent as nr, automationListQuerySchema as nt, reviewItemListSchema as o, ConversationChildAgentTotals as oi, ActorDirectoryReport as on, ConversationSourceTask as or, automationRunSchema as ot, PluginOperationalReportFeed as p, AutomationCard as pi, PersonParams as pn, CreateConversationMessageBody as pr, automationVersionListSchema as pt, AutomationVersionList as q, ConversationDetailReport as qn, CodeChangeSummaryReport as qr, ApiError as qt, ReviewItemPayload as r, codeRepositoryParamsSchema as ri, locationDirectoryReportSchema as rn, ConversationReportEventData as rr, automationListSchema as rt, reviewItemSchema as s, conversationChildAgentTotalsSchema as si, ActorDirectoryWindows as sn, ConversationSummaryReport as sr, automationRunWindowsSchema as st, OwnedObjectAnnotation$1 as t, codeOverviewReportSchema as ti, locationActivityDayReportSchema as tn, ConversationPendingMessagesReport as tr, automationExecutionStatusSchema as tt, HealthReport as u, MessageCard as ui, ActorTotalsReport as un, ConversationTurnFailureReason as ur, automationSummarySchema as ut, SkillReport as v, buttonUserInputField as vi, personalSpendReportSchema as vn, archiveConversationResponseSchema as vr, BaselineSnapshotReport as vt, pluginPackageContentReportSchema as w, MAX_INPUT_IMAGE_BYTES as wi, ConversationChildAgentsReport as wn, conversationDetailReportSchema as wr, workspaceListSchema as wt, pluginOperationalReportFeedSchema as x, webMessageId as xi, conversationWatchSchema as xn, conversationActivityPreviewSchema as xr, baselineSnapshotSchema as xt, SkillReports as y, isEmptyUserInputAnswer as yi, ConversationWatch as yn, cancelConversationPendingMessagesBodySchema as yr, WorkspaceListReport as yt, AutomationList as z, ArchiveConversationBody as zn, createConversationMessageBodySchema as zr, serviceAccountParamsSchema as zt };
6308
+ export { automationExecutionSchema as $, SteerConversationPendingMessagesBody as $n, conversationTurnFailureReasonSchema as $r, LocationParams as $t, StatReport as A, InputImage as Ai, pinConversationResponseSchema as An, ConversationTurnFailureReason as Ar, PersonalTokenMetadata as At, AutomationListQuery as B, conversationStatsReportSchema as Bn, conversationEventPageSchema as Br, serviceAccountSchema as Bt, pluginPackageContentItemReportSchema as C, UserInputAnswer as Ci, ConversationChildAgent as Cn, ConversationReportEventData as Cr, workspaceBodySchema as Ct, runtimeInfoReportSchema as D, isEmptyUserInputAnswer as Di, PinConversationBody as Dn, ConversationSummaryReport as Dr, workspaceSchema as Dt, pluginsSchema as E, buttonUserInputField as Ei, conversationChildAgentsReportSchema as En, ConversationSourceTask as Er, workspaceRepoSchema as Et, AutomationExecution as F, ConversationMetricDay as Fn, conversationActivityPreviewSchema as Fr, personalTokenParamsSchema as Ft, AutomationSummary as G, archiveConversationResponseSchema as Gn, conversationReportEventDataSchema as Gr, disconnectConnectionResponseSchema as Gt, AutomationRunList as H, ArchiveConversationResponse as Hn, conversationFeedQuerySchema as Hr, connectionListSchema as Ht, AutomationExecutionDay as I, ConversationStatsItem as In, conversationAuxiliaryCostsSchema as Ir, revokePersonalTokenResponseSchema as It, ListedAutomationVersion as J, CancelConversationPendingMessagesBody as Jn, createConversationBodySchema as Jr, apiErrorSchema as Jt, AutomationUpdate as K, archiveDoneConversationsResponseSchema as Kn, conversationReportEventSchema as Kr, startConnectionResponseSchema as Kt, AutomationExecutionList as L, ConversationStatsReport as Ln, conversationDetailQuerySchema as Lr, disconnectServiceAccountResponseSchema as Lt, statSchema as M, MAX_INPUT_IMAGE_BYTES as Mi, conversationReadPositionSchema as Mn, CreateConversationBody as Mr, createdPersonalTokenSchema as Mt, statsReportSchema as N, MessageAttachment as Ni, StopConversationTurnResponse as Nn, CreateConversationMessageBody as Nr, personalTokenListSchema as Nt, skillReportSchema as O, normalizeUserInputAnswer as Oi, PinConversationResponse as On, ConversationSurface as Or, USER_CUSTOMIZATION_MAX_CHARS as Ot, AutomationEdit as P, INPUT_IMAGE_TYPES as Pi, stopConversationTurnResponseSchema as Pn, acceptedConversationMessageSchema as Pr, personalTokenMetadataSchema as Pt, automationExecutionListSchema as Q, ConversationPendingMessagesReport as Qn, conversationTurnFailureCodeSchema as Qr, LocationDirectoryReport as Qt, AutomationExecutionStatusDay as R, GuardianMetricDay as Rn, conversationDetailReportSchema as Rr, serviceAccountListSchema as Rt, pluginOperationalReportSchema as S, USER_INPUT_NOTE as Si, conversationWatchesReportSchema as Sn, ConversationReportEvent as Sr, deleteWorkspaceResponseSchema as St, pluginSchema as T, UserInputRequest as Ti, conversationChildAgentSchema as Tn, ConversationReportStatus as Tr, workspaceParamsSchema as Tt, AutomationRunWindows as U, ConversationAutoArchive as Un, conversationFeedSchema as Ur, connectionParamsSchema as Ut, AutomationRun as V, ArchiveConversationBody as Vn, conversationEventsQuerySchema as Vr, startServiceAccountSignInResponseSchema as Vt, AutomationScheduleIntent as W, archiveConversationBodySchema as Wn, conversationParamsSchema as Wr, connectionSchema as Wt, automationEditSchema as X, ConversationPendingMessage as Xn, forkConversationBodySchema as Xr, LocationActorSummaryReport as Xt, automationEditErrorSchema as Y, CancelConversationPendingMessagesResponse as Yn, createConversationMessageBodySchema as Yr, LocationActivityDayReport as Yt, automationEventCatalogSchema as Z, ConversationPendingMessageDelivery as Zn, forkConversationResponseSchema as Zr, LocationDetailReport as Zt, RuntimeInfoReport as _, dailyConversationActivitySchema as _i, personParamsSchema as _n, ConversationEventHistory as _r, scheduledAutomationSummarySchema as _t, reviewItemCountSchema as a, CodeRepositorySummary as ai, ActorActivityDayReport as an, conversationPendingMessageSchema as ar, automationRunListSchema as at, healthReportSchema as b, resolveMessageCards as bi, ConversationWatchesReport as bn, ConversationModelUsage as br, WorkspaceReport as bt, reviewItemWaitingConversationsSchema as c, codeChangeSummarySchema as ci, ActorProfileReport as cn, steerConversationPendingMessagesResponseSchema as cr, automationScheduleIntentSchema as ct, Plugin as d, codeRepositoryParamsSchema as di, ActorWindowMetrics as dn, CONVERSATION_DETAIL_VERSION_HEADER as dr, automationUpdateSchema as dt, CodeActivityDay as ei, LocationSummaryReport as en, SteerConversationPendingMessagesResponse as er, automationExecutionStatusDaySchema as et, PluginOperationalReport as f, codeRepositoryReportSchema as fi, PeopleActivityDayReport as fn, ConversationActivityPreview as fr, automationVersionActivateSchema as ft, Plugins as g, DailyConversationActivity as gi, actorProfileReportSchema as gn, ConversationDetailReport as gr, eventAutomationSummarySchema as gt, PluginPackageContentReport as h, conversationChildAgentTotalsSchema as hi, actorDirectoryReportSchema as hn, ConversationCost as hr, automationVersionSchema as ht, reviewItemActionSchema as i, CodeRepositoryReport as ii, locationParamsSchema as in, conversationPendingMessageDeliverySchema as ir, automationParamsSchema as it, StatsReport as j, MAX_INPUT_IMAGES as ji, ConversationReadPosition as jn, ConversationUsage as jr, createPersonalTokenBodySchema as jt, skillReportsSchema as k, webMessageId as ki, pinConversationBodySchema as kn, ConversationTurnFailureCode as kr, userCustomizationSchema as kt, ReviewItemChangeRecord as l, codeOverviewReportSchema as li, ActorSummaryReport as ln, AcceptedConversationMessage as lr, automationSchedulePreviewSchema as lt, PluginPackageContentItemReport as m, ConversationChildAgentTotals as mi, PersonalSpendReport as mn, ConversationAuxiliaryCosts as mr, automationVersionParamsSchema as mt, ReviewItemActionBody as n, CodeOverviewReport as ni, locationDetailReportSchema as nn, cancelConversationPendingMessagesResponseSchema as nr, automationListQuerySchema as nt, reviewItemListSchema as o, codeActivityDaySchema as oi, ActorDirectoryReport as on, conversationPendingMessagesReportSchema as or, automationRunSchema as ot, PluginOperationalReportFeed as p, codeRepositorySummarySchema as pi, PersonParams as pn, ConversationAgentTreeNode as pr, automationVersionListSchema as pt, AutomationVersionList as q, conversationAutoArchiveSchema as qn, conversationSummaryReportSchema as qr, ApiError as qt, ReviewItemPayload as r, CodePersonReport as ri, locationDirectoryReportSchema as rn, conversationPendingAuthorizationSchema as rr, automationListSchema as rt, reviewItemSchema as s, codeChangeSummaryReportSchema as si, ActorDirectoryWindows as sn, steerConversationPendingMessagesBodySchema as sr, automationRunWindowsSchema as st, OwnedObjectAnnotation$1 as t, CodeChangeSummaryReport as ti, locationActivityDayReportSchema as tn, cancelConversationPendingMessagesBodySchema as tr, automationExecutionStatusSchema as tt, HealthReport as u, codePersonReportSchema as ui, ActorTotalsReport as un, ActorIdentity as ur, automationSummarySchema as ut, SkillReport as v, MessageCard as vi, personalSpendReportSchema as vn, ConversationEventPage as vr, BaselineSnapshotReport as vt, pluginPackageContentReportSchema as w, UserInputField as wi, ConversationChildAgentsReport as wn, ConversationReportMessageEvent as wr, workspaceListSchema as wt, pluginOperationalReportFeedSchema as x, AutomationCard as xi, conversationWatchSchema as xn, ConversationParams as xr, baselineSnapshotSchema as xt, SkillReports as y, messageCardText as yi, ConversationWatch as yn, ConversationFeed as yr, WorkspaceListReport as yt, AutomationList as z, GuardianStats as zn, conversationEventHistorySchema as zr, serviceAccountParamsSchema as zt };