@sentry/junior 0.277.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 (73) hide show
  1. package/dist/{adapter-BtfBHVM5.js → adapter-BXosqTMx.js} +1 -1
  2. package/dist/{admin-DzAKbZsm.js → admin-Thn7NfOi.js} +1 -1
  3. package/dist/{agent-invocations-Crs3XHhg.js → agent-invocations-D7c4BQGc.js} +1 -1
  4. package/dist/{agent-runner-BsYAbniN.js → agent-runner-DE-43MPb.js} +268 -835
  5. package/dist/api/schema.d.ts +2 -2
  6. package/dist/api/schema.js +5 -5
  7. package/dist/api.d.ts +1 -1
  8. package/dist/api.js +38 -76
  9. package/dist/{app-BjEQwNVP.d.ts → app-CHNS-AX2.d.ts} +5 -26
  10. package/dist/app.d.ts +2 -2
  11. package/dist/app.js +30 -31
  12. package/dist/{assistant-reply-NebRGG4G.js → assistant-reply-pauL6qyn.js} +28 -6
  13. package/dist/{automation-Cql9h2vO.js → automation-DphoTRYl.js} +1 -1
  14. package/dist/{background-compaction-queue-hh18yCeU.js → background-compaction-queue-CAL4A2y7.js} +2 -2
  15. package/dist/{briefs-BBo0Eimi.js → briefs-4fyPJJEu.js} +5 -6
  16. package/dist/{catalog-runtime-DE-F4Awo.js → catalog-runtime-BoOb5oUv.js} +1 -1
  17. package/dist/cli/chat.js +14 -14
  18. package/dist/cli/check.js +3 -3
  19. package/dist/cli/init.js +0 -2
  20. package/dist/cli/main.js +3 -3
  21. package/dist/cli/plugins.js +4 -4
  22. package/dist/cli/snapshot-create.js +4 -4
  23. package/dist/cli/upgrade.d.ts +1 -1
  24. package/dist/cli/upgrade.js +3 -3
  25. package/dist/{client-DZ8HTnYH.js → client-v_OVYuHZ.js} +3 -3
  26. package/dist/{config-D5uUtrCP.js → config-o2jLRY5J.js} +24 -99
  27. package/dist/{connections-Do24CGP5.js → connections-RC4NXAx8.js} +10 -10
  28. package/dist/{conversation-SsASlWL7.js → conversation-CZfyQvdm.js} +51 -104
  29. package/dist/{conversation-privacy-VuylvlKr.js → conversation-privacy-C23M8KaD.js} +1 -1
  30. package/dist/{credential-sync-BGQK3pOa.js → credential-sync-Dd0WyNfF.js} +13 -13
  31. package/dist/{db-DEiwO5Sh.d.ts → db-BjLzDJCt.d.ts} +1 -1
  32. package/dist/{executor-hPfFTH0C.js → executor-CJfsD0VX.js} +3 -3
  33. package/dist/instrumentation.js +2 -2
  34. package/dist/{logging-cI3T1dNc.js → logging-dFaXvBRK.js} +1 -1
  35. package/dist/{media-DstkkoNP.js → media-DTAA8Qs_.js} +21 -23
  36. package/dist/{message-DBwsAl7O.js → message-DSwxIZet.js} +22 -28
  37. package/dist/nitro.d.ts +1 -1
  38. package/dist/nitro.js +3 -3
  39. package/dist/{oauth-callback-server-DXrnbplb.js → oauth-callback-server-CDcuCp27.js} +2 -2
  40. package/dist/{projection-7EFIqzuj.js → projection-BTge9wrH.js} +106 -108
  41. package/dist/{prompt-oRfGsxd3.js → prompt-DDtCnlHP.js} +1 -1
  42. package/dist/{registry-Bzefs7kT.js → registry-Cp6CNmtP.js} +1 -1
  43. package/dist/{resolve-CuiEY_2u.js → resolve-B_7h2cXx.js} +3 -3
  44. package/dist/{result-DrcUtFaD.js → result-5LBEfnLX.js} +9 -9
  45. package/dist/{runner-CDE4CZ52.js → runner-C5-S4oq-.js} +11 -11
  46. package/dist/{sandbox-egress-signals-0tcmGd13.js → sandbox-egress-signals-B4GehT1L.js} +1 -1
  47. package/dist/{schema-Dzi3lkdP.js → schema-B5fpczDw.js} +67 -4
  48. package/dist/{schema-B6N2nc6v.d.ts → schema-Tr484cCC.d.ts} +909 -687
  49. package/dist/{service-account-DIyz_9Uh.js → service-account-BkEv20zf.js} +3 -3
  50. package/dist/{service-account-BOz9pqOE.js → service-account-Cq_dLrZJ.js} +3 -3
  51. package/dist/{session-stop-0juF_BP0.js → session-stop-BsS4qFS2.js} +22 -15
  52. package/dist/{skills-CU5Is147.js → skills-M0BA0_s6.js} +2 -2
  53. package/dist/{spawn-6C9jHH4b.js → spawn-BO3y7H4d.js} +2 -3
  54. package/dist/{stop-6FVG1c-r.js → stop-D5R82Wla.js} +255 -64
  55. package/dist/{store-DtHZviJ1.js → store-BGBzQWNf.js} +9 -16
  56. package/dist/{store-DKs1WwdB.js → store-CGJZTEVz.js} +3 -3
  57. package/dist/{task-queue-CcvFQE_p.js → task-queue-UD27ei2U.js} +3 -3
  58. package/dist/{task-runner-DBkNejLl.js → task-runner-noxjOjkM.js} +7 -7
  59. package/dist/{thread-state-4hjEIkIq.js → thread-state-BSu6rM6p.js} +4 -4
  60. package/dist/{turn-failure-response-BZNLydC3.js → turn-failure-response-wahwyPrZ.js} +7 -7
  61. package/dist/{turn-lifecycle-BhqYjaa4.js → turn-lifecycle-Bo4Trccw.js} +1 -1
  62. package/dist/{turn-session-routing-jnLOfBHJ.js → turn-session-routing-DnSaaEpn.js} +10 -10
  63. package/dist/{validation-BUFmsnKs.js → validation-B9-8iKyw.js} +1 -1
  64. package/dist/{version-DJTk0ZCE.js → version-C7HejFP2.js} +1 -1
  65. package/dist/version.js +1 -1
  66. package/dist/{viewer-WY0RYE4E.js → viewer-DLXajQZE.js} +52 -21
  67. package/dist/{work-C5AKvXJV.js → work-DRGSlfia.js} +12 -17
  68. package/dist/{worker-BcYVDVUy.js → worker-BGh5Dwc6.js} +6 -6
  69. package/migrations/meta/0075_snapshot.json +98 -314
  70. package/migrations/meta/0076_snapshot.json +98 -314
  71. package/migrations/meta/_journal.json +1 -1
  72. package/package.json +4 -4
  73. 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>;
@@ -534,140 +545,6 @@ declare const actorIdentitySchema: z.ZodObject<{
534
545
  slackUserId: z.ZodOptional<z.ZodString>;
535
546
  slackUserName: z.ZodOptional<z.ZodString>;
536
547
  }, z.core.$strict>;
537
- /** Mailbox delivery mode for one accepted inbound message. */
538
- declare const conversationPendingMessageDeliverySchema: z.ZodEnum<{
539
- defer: "defer";
540
- interrupt: "interrupt";
541
- }>;
542
- /** One accepted mailbox message that has not reached durable history yet. */
543
- declare const conversationPendingMessageSchema: z.ZodObject<{
544
- actorIdentity: z.ZodOptional<z.ZodObject<{
545
- avatarUrl: z.ZodOptional<z.ZodString>;
546
- email: z.ZodOptional<z.ZodString>;
547
- fullName: z.ZodOptional<z.ZodString>;
548
- slackUserId: z.ZodOptional<z.ZodString>;
549
- slackUserName: z.ZodOptional<z.ZodString>;
550
- }, z.core.$strict>>;
551
- actorIdentityId: z.ZodOptional<z.ZodString>;
552
- createdAt: z.ZodString;
553
- delivery: z.ZodEnum<{
554
- defer: "defer";
555
- interrupt: "interrupt";
556
- }>;
557
- inboundMessageId: z.ZodString;
558
- messageId: z.ZodString;
559
- receivedAt: z.ZodString;
560
- role: z.ZodLiteral<"user">;
561
- source: z.ZodEnum<{
562
- slack: "slack";
563
- web: "web";
564
- }>;
565
- text: z.ZodOptional<z.ZodString>;
566
- mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
567
- avatarUrl: z.ZodOptional<z.ZodString>;
568
- email: z.ZodOptional<z.ZodString>;
569
- fullName: z.ZodOptional<z.ZodString>;
570
- slackUserId: z.ZodOptional<z.ZodString>;
571
- slackUserName: z.ZodOptional<z.ZodString>;
572
- }, z.core.$strict>>>;
573
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
574
- id: z.ZodString;
575
- filename: z.ZodString;
576
- contentType: z.ZodString;
577
- bytes: z.ZodNumber;
578
- }, z.core.$strict>>>;
579
- reviewItemChange: z.ZodOptional<z.ZodObject<{
580
- kind: z.ZodEnum<{
581
- dismissed: "dismissed";
582
- submitted: "submitted";
583
- taken: "taken";
584
- }>;
585
- reviewItemId: z.ZodString;
586
- }, z.core.$strict>>;
587
- redacted: z.ZodOptional<z.ZodLiteral<true>>;
588
- }, z.core.$strict>;
589
- /** Participant-only authorization prompt for a parked web turn. */
590
- declare const conversationPendingAuthorizationSchema: z.ZodObject<{
591
- authorizationUrl: z.ZodString;
592
- completionText: z.ZodString;
593
- label: z.ZodString;
594
- }, z.core.$strict>;
595
- /** Bounded mailbox snapshot for one conversation transcript. */
596
- declare const conversationPendingMessagesReportSchema: z.ZodObject<{
597
- authorization: z.ZodOptional<z.ZodObject<{
598
- authorizationUrl: z.ZodString;
599
- completionText: z.ZodString;
600
- label: z.ZodString;
601
- }, z.core.$strict>>;
602
- conversationId: z.ZodString;
603
- generatedAt: z.ZodString;
604
- messages: z.ZodArray<z.ZodObject<{
605
- actorIdentity: z.ZodOptional<z.ZodObject<{
606
- avatarUrl: z.ZodOptional<z.ZodString>;
607
- email: z.ZodOptional<z.ZodString>;
608
- fullName: z.ZodOptional<z.ZodString>;
609
- slackUserId: z.ZodOptional<z.ZodString>;
610
- slackUserName: z.ZodOptional<z.ZodString>;
611
- }, z.core.$strict>>;
612
- actorIdentityId: z.ZodOptional<z.ZodString>;
613
- createdAt: z.ZodString;
614
- delivery: z.ZodEnum<{
615
- defer: "defer";
616
- interrupt: "interrupt";
617
- }>;
618
- inboundMessageId: z.ZodString;
619
- messageId: z.ZodString;
620
- receivedAt: z.ZodString;
621
- role: z.ZodLiteral<"user">;
622
- source: z.ZodEnum<{
623
- slack: "slack";
624
- web: "web";
625
- }>;
626
- text: z.ZodOptional<z.ZodString>;
627
- mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
628
- avatarUrl: z.ZodOptional<z.ZodString>;
629
- email: z.ZodOptional<z.ZodString>;
630
- fullName: z.ZodOptional<z.ZodString>;
631
- slackUserId: z.ZodOptional<z.ZodString>;
632
- slackUserName: z.ZodOptional<z.ZodString>;
633
- }, z.core.$strict>>>;
634
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
635
- id: z.ZodString;
636
- filename: z.ZodString;
637
- contentType: z.ZodString;
638
- bytes: z.ZodNumber;
639
- }, z.core.$strict>>>;
640
- reviewItemChange: z.ZodOptional<z.ZodObject<{
641
- kind: z.ZodEnum<{
642
- dismissed: "dismissed";
643
- submitted: "submitted";
644
- taken: "taken";
645
- }>;
646
- reviewItemId: z.ZodString;
647
- }, z.core.$strict>>;
648
- redacted: z.ZodOptional<z.ZodLiteral<true>>;
649
- }, z.core.$strict>>;
650
- }, z.core.$strict>;
651
- /** Optional filters for cancelling accepted mailbox rows. */
652
- declare const cancelConversationPendingMessagesBodySchema: z.ZodObject<{
653
- inboundMessageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
654
- receivedBefore: z.ZodOptional<z.ZodString>;
655
- }, z.core.$strict>;
656
- /** Result of cancelling accepted human-facing mailbox rows. */
657
- declare const cancelConversationPendingMessagesResponseSchema: z.ZodObject<{
658
- cancelledCount: z.ZodNumber;
659
- cancelledInboundMessageIds: z.ZodArray<z.ZodString>;
660
- conversationId: z.ZodString;
661
- }, z.core.$strict>;
662
- /** Queued web messages that the viewer wants Junior to read now. */
663
- declare const steerConversationPendingMessagesBodySchema: z.ZodObject<{
664
- inboundMessageIds: z.ZodArray<z.ZodString>;
665
- }, z.core.$strict>;
666
- /** Result of steering queued web messages into the conversation. */
667
- declare const steerConversationPendingMessagesResponseSchema: z.ZodObject<{
668
- conversationId: z.ZodString;
669
- steeredInboundMessageIds: z.ZodArray<z.ZodString>;
670
- }, z.core.$strict>;
671
548
  declare const conversationAuxiliaryCostsSchema: z.ZodObject<{
672
549
  costUsd: z.ZodNumber;
673
550
  operations: z.ZodArray<z.ZodObject<{
@@ -971,6 +848,7 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
971
848
  task: "task";
972
849
  }>>;
973
850
  explicitMention: z.ZodOptional<z.ZodBoolean>;
851
+ quiet: z.ZodOptional<z.ZodLiteral<true>>;
974
852
  trustedSummary: z.ZodOptional<z.ZodString>;
975
853
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
976
854
  eventType: z.ZodString;
@@ -1126,19 +1004,6 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
1126
1004
  contentType: z.ZodString;
1127
1005
  bytes: z.ZodNumber;
1128
1006
  }, z.core.$strict>>;
1129
- }, z.core.$strict>, z.ZodObject<{
1130
- type: z.ZodLiteral<"turn_routed">;
1131
- turnId: z.ZodString;
1132
- modelProfile: z.ZodString;
1133
- modelId: z.ZodString;
1134
- costUsd: z.ZodOptional<z.ZodNumber>;
1135
- reasoningLevel: z.ZodString;
1136
- confidence: z.ZodOptional<z.ZodNumber>;
1137
- source: z.ZodEnum<{
1138
- configured: "configured";
1139
- inherited: "inherited";
1140
- router: "router";
1141
- }>;
1142
1007
  }, z.core.$strict>, z.ZodObject<{
1143
1008
  type: z.ZodLiteral<"guardian_action_reviewed">;
1144
1009
  turnId: z.ZodString;
@@ -1163,7 +1028,6 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
1163
1028
  }>;
1164
1029
  }, z.core.$strict>, z.ZodObject<{
1165
1030
  type: z.ZodLiteral<"compaction">;
1166
- modelProfile: z.ZodOptional<z.ZodString>;
1167
1031
  modelId: z.ZodOptional<z.ZodString>;
1168
1032
  summary: z.ZodOptional<z.ZodString>;
1169
1033
  details: z.ZodOptional<z.ZodObject<{
@@ -1176,13 +1040,6 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
1176
1040
  retainedMessageCount: z.ZodNumber;
1177
1041
  summaryChars: z.ZodNumber;
1178
1042
  }, z.core.$strict>>;
1179
- }, z.core.$strict>, z.ZodObject<{
1180
- type: z.ZodLiteral<"handoff">;
1181
- modelProfile: z.ZodString;
1182
- modelId: z.ZodString;
1183
- reasoningLevel: z.ZodOptional<z.ZodString>;
1184
- triggeringToolCallId: z.ZodOptional<z.ZodString>;
1185
- summary: z.ZodOptional<z.ZodString>;
1186
1043
  }, z.core.$strict>, z.ZodObject<{
1187
1044
  type: z.ZodLiteral<"subagent">;
1188
1045
  startedSeq: z.ZodNumber;
@@ -1236,6 +1093,7 @@ declare const conversationReportEventSchema: z.ZodObject<{
1236
1093
  task: "task";
1237
1094
  }>>;
1238
1095
  explicitMention: z.ZodOptional<z.ZodBoolean>;
1096
+ quiet: z.ZodOptional<z.ZodLiteral<true>>;
1239
1097
  trustedSummary: z.ZodOptional<z.ZodString>;
1240
1098
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
1241
1099
  eventType: z.ZodString;
@@ -1391,19 +1249,6 @@ declare const conversationReportEventSchema: z.ZodObject<{
1391
1249
  contentType: z.ZodString;
1392
1250
  bytes: z.ZodNumber;
1393
1251
  }, z.core.$strict>>;
1394
- }, z.core.$strict>, z.ZodObject<{
1395
- type: z.ZodLiteral<"turn_routed">;
1396
- turnId: z.ZodString;
1397
- modelProfile: z.ZodString;
1398
- modelId: z.ZodString;
1399
- costUsd: z.ZodOptional<z.ZodNumber>;
1400
- reasoningLevel: z.ZodString;
1401
- confidence: z.ZodOptional<z.ZodNumber>;
1402
- source: z.ZodEnum<{
1403
- configured: "configured";
1404
- inherited: "inherited";
1405
- router: "router";
1406
- }>;
1407
1252
  }, z.core.$strict>, z.ZodObject<{
1408
1253
  type: z.ZodLiteral<"guardian_action_reviewed">;
1409
1254
  turnId: z.ZodString;
@@ -1428,7 +1273,6 @@ declare const conversationReportEventSchema: z.ZodObject<{
1428
1273
  }>;
1429
1274
  }, z.core.$strict>, z.ZodObject<{
1430
1275
  type: z.ZodLiteral<"compaction">;
1431
- modelProfile: z.ZodOptional<z.ZodString>;
1432
1276
  modelId: z.ZodOptional<z.ZodString>;
1433
1277
  summary: z.ZodOptional<z.ZodString>;
1434
1278
  details: z.ZodOptional<z.ZodObject<{
@@ -1441,13 +1285,6 @@ declare const conversationReportEventSchema: z.ZodObject<{
1441
1285
  retainedMessageCount: z.ZodNumber;
1442
1286
  summaryChars: z.ZodNumber;
1443
1287
  }, z.core.$strict>>;
1444
- }, z.core.$strict>, z.ZodObject<{
1445
- type: z.ZodLiteral<"handoff">;
1446
- modelProfile: z.ZodString;
1447
- modelId: z.ZodString;
1448
- reasoningLevel: z.ZodOptional<z.ZodString>;
1449
- triggeringToolCallId: z.ZodOptional<z.ZodString>;
1450
- summary: z.ZodOptional<z.ZodString>;
1451
1288
  }, z.core.$strict>, z.ZodObject<{
1452
1289
  type: z.ZodLiteral<"subagent">;
1453
1290
  startedSeq: z.ZodNumber;
@@ -1475,8 +1312,6 @@ declare const conversationReportEventSchema: z.ZodObject<{
1475
1312
  }, z.core.$strict>>>;
1476
1313
  model: z.ZodOptional<z.ZodObject<{
1477
1314
  modelId: z.ZodString;
1478
- modelProfile: z.ZodOptional<z.ZodString>;
1479
- reasoningLevel: z.ZodOptional<z.ZodString>;
1480
1315
  }, z.core.$strict>>;
1481
1316
  modelCall: z.ZodOptional<z.ZodObject<{
1482
1317
  provider: z.ZodOptional<z.ZodString>;
@@ -1543,83 +1378,378 @@ declare const conversationAgentTreeNodeSchema: z.ZodObject<{
1543
1378
  label: z.ZodString;
1544
1379
  }, z.core.$strict>;
1545
1380
  type ConversationAgentTreeNode = z.infer<typeof conversationAgentTreeNodeSchema>;
1546
- declare const conversationDetailReportSchema: z.ZodObject<{
1547
- displayTitle: z.ZodString;
1548
- activityPreview: z.ZodOptional<z.ZodObject<{
1381
+ declare const conversationEventPageSchema: z.ZodObject<{
1382
+ events: z.ZodArray<z.ZodObject<{
1383
+ seq: z.ZodNumber;
1549
1384
  createdAt: z.ZodString;
1550
- mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1551
- avatarUrl: z.ZodOptional<z.ZodString>;
1552
- email: z.ZodOptional<z.ZodString>;
1553
- fullName: z.ZodOptional<z.ZodString>;
1554
- slackUserId: z.ZodOptional<z.ZodString>;
1555
- slackUserName: z.ZodOptional<z.ZodString>;
1556
- }, z.core.$strict>>>;
1557
- role: z.ZodEnum<{
1558
- assistant: "assistant";
1559
- user: "user";
1560
- }>;
1561
- text: z.ZodString;
1562
- }, z.core.$strict>>;
1563
- cumulativeDurationMs: z.ZodNumber;
1564
- cumulativeUsage: z.ZodOptional<z.ZodObject<{
1565
- inputTokens: z.ZodOptional<z.ZodNumber>;
1566
- outputTokens: z.ZodOptional<z.ZodNumber>;
1567
- cachedInputTokens: z.ZodOptional<z.ZodNumber>;
1568
- cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
1569
- reasoningTokens: z.ZodOptional<z.ZodNumber>;
1570
- totalTokens: z.ZodOptional<z.ZodNumber>;
1571
- cost: z.ZodOptional<z.ZodObject<{
1572
- input: z.ZodOptional<z.ZodNumber>;
1573
- output: z.ZodOptional<z.ZodNumber>;
1574
- cacheRead: z.ZodOptional<z.ZodNumber>;
1575
- cacheWrite: z.ZodOptional<z.ZodNumber>;
1576
- total: z.ZodOptional<z.ZodNumber>;
1577
- }, z.core.$strict>>;
1578
- }, z.core.$strict>>;
1579
- auxiliaryCosts: z.ZodOptional<z.ZodObject<{
1580
- costUsd: z.ZodNumber;
1581
- operations: z.ZodArray<z.ZodObject<{
1582
- costUsd: z.ZodNumber;
1583
- events: z.ZodNumber;
1584
- name: z.ZodString;
1585
- namespace: z.ZodString;
1586
- }, z.core.$strict>>;
1587
- }, z.core.$strict>>;
1588
- childAgentTotals: z.ZodOptional<z.ZodObject<{
1589
- auxiliaryCostUsd: z.ZodOptional<z.ZodNumber>;
1590
- count: z.ZodNumber;
1591
- cumulativeDurationMs: z.ZodNumber;
1592
- cumulativeUsage: z.ZodOptional<z.ZodObject<{
1593
- inputTokens: z.ZodOptional<z.ZodNumber>;
1594
- outputTokens: z.ZodOptional<z.ZodNumber>;
1595
- cachedInputTokens: z.ZodOptional<z.ZodNumber>;
1596
- cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
1597
- reasoningTokens: z.ZodOptional<z.ZodNumber>;
1598
- totalTokens: z.ZodOptional<z.ZodNumber>;
1599
- cost: z.ZodOptional<z.ZodObject<{
1600
- input: z.ZodOptional<z.ZodNumber>;
1601
- output: z.ZodOptional<z.ZodNumber>;
1602
- cacheRead: z.ZodOptional<z.ZodNumber>;
1603
- cacheWrite: z.ZodOptional<z.ZodNumber>;
1604
- 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>;
1605
1403
  }, z.core.$strict>>;
1606
- }, z.core.$strict>>;
1607
- }, z.core.$strict>>;
1608
- conversationId: z.ZodString;
1609
- isParticipant: z.ZodBoolean;
1610
- visibility: z.ZodOptional<z.ZodEnum<{
1611
- private: "private";
1612
- public: "public";
1613
- }>>;
1614
- status: z.ZodEnum<{
1615
- active: "active";
1616
- completed: "completed";
1617
- failed: "failed";
1618
- }>;
1619
- startedAt: z.ZodString;
1620
- lastSeenAt: z.ZodString;
1621
- lastProgressAt: z.ZodString;
1622
- surface: z.ZodEnum<{
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";
1746
+ completed: "completed";
1747
+ failed: "failed";
1748
+ }>;
1749
+ startedAt: z.ZodString;
1750
+ lastSeenAt: z.ZodString;
1751
+ lastProgressAt: z.ZodString;
1752
+ surface: z.ZodEnum<{
1623
1753
  api: "api";
1624
1754
  internal: "internal";
1625
1755
  scheduler: "scheduler";
@@ -1767,157 +1897,34 @@ declare const conversationDetailReportSchema: z.ZodObject<{
1767
1897
  readPosition: z.ZodOptional<z.ZodObject<{
1768
1898
  lastReadSeq: z.ZodNumber;
1769
1899
  }, z.core.$strict>>;
1770
- forkedFromConversationId: z.ZodOptional<z.ZodString>;
1771
- forkedFromTitle: z.ZodOptional<z.ZodString>;
1772
- forks: z.ZodOptional<z.ZodArray<z.ZodString>>;
1773
- brief: z.ZodOptional<z.ZodObject<{
1774
- content: z.ZodObject<{
1775
- schemaVersion: z.ZodLiteral<1>;
1776
- record: z.ZodObject<{
1777
- startedAt: z.ZodString;
1778
- lastActivityAt: z.ZodString;
1779
- durationMs: z.ZodNumber;
1780
- participants: z.ZodArray<z.ZodObject<{
1781
- name: z.ZodString;
1782
- messages: z.ZodNumber;
1783
- }, z.core.$strict>>;
1784
- userMessages: z.ZodNumber;
1785
- assistantMessages: z.ZodNumber;
1786
- toolResults: z.ZodNumber;
1787
- events: z.ZodNumber;
1788
- turns: z.ZodOptional<z.ZodNumber>;
1789
- location: z.ZodOptional<z.ZodObject<{
1790
- provider: z.ZodString;
1791
- channelName: z.ZodOptional<z.ZodString>;
1792
- }, z.core.$strict>>;
1793
- codeChanges: z.ZodArray<z.ZodObject<{
1794
- repository: z.ZodString;
1795
- number: z.ZodNumber;
1796
- title: z.ZodOptional<z.ZodString>;
1797
- url: z.ZodString;
1798
- state: z.ZodEnum<{
1799
- closed: "closed";
1800
- merged: "merged";
1801
- open: "open";
1802
- }>;
1803
- openedAt: z.ZodOptional<z.ZodString>;
1804
- mergedAt: z.ZodOptional<z.ZodString>;
1805
- closedAt: z.ZodOptional<z.ZodString>;
1806
- }, z.core.$strict>>;
1807
- }, z.core.$strict>;
1808
- summary: z.ZodString;
1809
- intent: z.ZodString;
1810
- outcome: z.ZodObject<{
1811
- status: z.ZodEnum<{
1812
- abandoned: "abandoned";
1813
- answered: "answered";
1814
- blocked: "blocked";
1815
- done: "done";
1816
- in_progress: "in_progress";
1817
- partial: "partial";
1818
- }>;
1819
- text: z.ZodString;
1820
- }, z.core.$strict>;
1821
- decisions: z.ZodArray<z.ZodObject<{
1822
- text: z.ZodString;
1823
- by: z.ZodOptional<z.ZodString>;
1824
- kind: z.ZodEnum<{
1825
- assumed: "assumed";
1826
- confirmed: "confirmed";
1827
- stated: "stated";
1828
- }>;
1829
- }, z.core.$strict>>;
1830
- openDecisions: z.ZodArray<z.ZodObject<{
1831
- text: z.ZodString;
1832
- owner: z.ZodOptional<z.ZodString>;
1833
- }, z.core.$strict>>;
1834
- facts: z.ZodArray<z.ZodString>;
1835
- links: z.ZodArray<z.ZodObject<{
1836
- kind: z.ZodEnum<{
1837
- code_change: "code_change";
1838
- resource: "resource";
1839
- 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";
1840
1912
  }>;
1841
- label: z.ZodString;
1842
- url: z.ZodString;
1843
- status: z.ZodOptional<z.ZodString>;
1844
- }, z.core.$strict>>;
1845
- keywords: z.ZodArray<z.ZodString>;
1846
- }, z.core.$strict>;
1847
- mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
1848
- avatarUrl: z.ZodOptional<z.ZodString>;
1849
- email: z.ZodOptional<z.ZodString>;
1850
- fullName: z.ZodOptional<z.ZodString>;
1851
- slackUserId: z.ZodOptional<z.ZodString>;
1852
- slackUserName: z.ZodOptional<z.ZodString>;
1853
- }, z.core.$strict>>>;
1854
- updatedAt: z.ZodString;
1855
- version: z.ZodNumber;
1856
- }, z.core.$strict>>;
1857
- modelUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
1858
- modelId: z.ZodString;
1859
- usage: z.ZodObject<{
1860
- inputTokens: z.ZodOptional<z.ZodNumber>;
1861
- outputTokens: z.ZodOptional<z.ZodNumber>;
1862
- cachedInputTokens: z.ZodOptional<z.ZodNumber>;
1863
- cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
1864
- reasoningTokens: z.ZodOptional<z.ZodNumber>;
1865
- totalTokens: z.ZodOptional<z.ZodNumber>;
1866
- cost: z.ZodOptional<z.ZodObject<{
1867
- input: z.ZodOptional<z.ZodNumber>;
1868
- output: z.ZodOptional<z.ZodNumber>;
1869
- cacheRead: z.ZodOptional<z.ZodNumber>;
1870
- cacheWrite: z.ZodOptional<z.ZodNumber>;
1871
- total: z.ZodOptional<z.ZodNumber>;
1872
- }, z.core.$strict>>;
1873
- }, z.core.$strict>;
1874
- }, z.core.$strict>>>;
1875
- authors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
1876
- avatarUrl: z.ZodOptional<z.ZodString>;
1877
- email: z.ZodOptional<z.ZodString>;
1878
- fullName: z.ZodOptional<z.ZodString>;
1879
- slackUserId: z.ZodOptional<z.ZodString>;
1880
- slackUserName: z.ZodOptional<z.ZodString>;
1881
- }, z.core.$strict>>>;
1882
- events: z.ZodArray<z.ZodObject<{
1883
- seq: z.ZodNumber;
1884
- createdAt: z.ZodString;
1885
- data: z.ZodDiscriminatedUnion<[z.ZodObject<{
1886
- type: z.ZodLiteral<"message">;
1887
- messageId: z.ZodString;
1888
- role: z.ZodEnum<{
1889
- assistant: "assistant";
1890
- system: "system";
1891
- user: "user";
1892
- }>;
1893
- source: z.ZodOptional<z.ZodEnum<{
1894
- slack: "slack";
1895
- web: "web";
1896
- }>>;
1897
- actorIdentity: z.ZodOptional<z.ZodObject<{
1898
- avatarUrl: z.ZodOptional<z.ZodString>;
1899
- email: z.ZodOptional<z.ZodString>;
1900
- fullName: z.ZodOptional<z.ZodString>;
1901
- slackUserId: z.ZodOptional<z.ZodString>;
1902
- slackUserName: z.ZodOptional<z.ZodString>;
1903
- }, z.core.$strict>>;
1904
- actorIdentityId: z.ZodOptional<z.ZodString>;
1905
- agentInvocationId: z.ZodOptional<z.ZodString>;
1906
- eventType: z.ZodOptional<z.ZodString>;
1907
- eventObjectType: z.ZodOptional<z.ZodEnum<{
1908
- automation: "automation";
1909
- calendar_event: "calendar_event";
1910
- code_change: "code_change";
1911
- deployment: "deployment";
1912
- item: "item";
1913
- task: "task";
1914
- }>>;
1915
- explicitMention: z.ZodOptional<z.ZodBoolean>;
1916
- trustedSummary: z.ZodOptional<z.ZodString>;
1917
- events: z.ZodOptional<z.ZodArray<z.ZodObject<{
1918
- eventType: z.ZodString;
1919
- label: z.ZodOptional<z.ZodString>;
1920
- 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<{
1921
1928
  automation: "automation";
1922
1929
  calendar_event: "calendar_event";
1923
1930
  code_change: "code_change";
@@ -1925,224 +1932,338 @@ declare const conversationDetailReportSchema: z.ZodObject<{
1925
1932
  item: "item";
1926
1933
  task: "task";
1927
1934
  }>>;
1935
+ explicitMention: z.ZodOptional<z.ZodBoolean>;
1936
+ quiet: z.ZodOptional<z.ZodLiteral<true>>;
1928
1937
  trustedSummary: z.ZodOptional<z.ZodString>;
1929
- }, z.core.$strict>>>;
1930
- cards: z.ZodOptional<z.ZodArray<z.ZodObject<{
1931
- plugin: z.ZodString;
1932
- key: z.ZodString;
1933
- kind: z.ZodLiteral<"object">;
1934
- }, z.core.$strict>>>;
1935
- reviewItemChanges: z.ZodOptional<z.ZodArray<z.ZodObject<{
1936
- kind: z.ZodEnum<{
1937
- dismissed: "dismissed";
1938
- submitted: "submitted";
1939
- taken: "taken";
1940
- }>;
1941
- reviewItemId: z.ZodString;
1942
- }, z.core.$strict>>>;
1943
- text: z.ZodOptional<z.ZodString>;
1944
- attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1945
- id: z.ZodString;
1946
- filename: z.ZodString;
1947
- contentType: z.ZodString;
1948
- bytes: z.ZodNumber;
1949
- }, z.core.$strict>>>;
1950
- redacted: z.ZodOptional<z.ZodLiteral<true>>;
1951
- }, z.core.$strict>, z.ZodObject<{
1952
- type: z.ZodLiteral<"message_handled">;
1953
- messageId: z.ZodString;
1954
- }, z.core.$strict>, z.ZodObject<{
1955
- type: z.ZodLiteral<"assistant_message">;
1956
- parts: z.ZodArray<z.ZodObject<{
1957
- 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>>>;
1958
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>>>;
1959
1971
  redacted: z.ZodOptional<z.ZodLiteral<true>>;
1960
- }, z.core.$strict>>;
1961
- }, z.core.$strict>, z.ZodObject<{
1962
- type: z.ZodLiteral<"tool_calls">;
1963
- calls: z.ZodArray<z.ZodObject<{
1964
- 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;
1965
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>;
1966
2138
  status: z.ZodEnum<{
2139
+ aborted: "aborted";
2140
+ blocked: "blocked";
1967
2141
  completed: "completed";
1968
2142
  error: "error";
1969
2143
  running: "running";
1970
2144
  }>;
1971
- startedAt: z.ZodOptional<z.ZodString>;
1972
- startedSeq: z.ZodOptional<z.ZodNumber>;
1973
- input: z.ZodOptional<z.ZodUnknown>;
1974
- 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;
1975
2155
  }, z.core.$strict>>;
1976
- assistant: z.ZodOptional<z.ZodObject<{
1977
- parts: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1978
- type: z.ZodLiteral<"reasoning">;
1979
- text: z.ZodOptional<z.ZodString>;
1980
- redacted: z.ZodOptional<z.ZodLiteral<true>>;
1981
- }, z.core.$strict>, z.ZodObject<{
1982
- type: z.ZodLiteral<"tool_call">;
1983
- toolCallId: z.ZodString;
1984
- }, 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>>;
1985
2175
  }, z.core.$strict>>;
1986
- }, z.core.$strict>, z.ZodDiscriminatedUnion<[z.ZodObject<{
1987
- type: z.ZodLiteral<"turn_lifecycle">;
1988
- turnId: z.ZodString;
1989
- state: z.ZodEnum<{
1990
- blocked: "blocked";
1991
- no_reply: "no_reply";
1992
- succeeded: "succeeded";
1993
- }>;
1994
- }, z.core.$strict>, z.ZodObject<{
1995
- type: z.ZodLiteral<"turn_lifecycle">;
1996
- turnId: z.ZodString;
1997
- state: z.ZodLiteral<"started">;
1998
- inputMessageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
2176
+ }, z.core.$strict>>;
2177
+ eventHistory: z.ZodDiscriminatedUnion<[z.ZodObject<{
2178
+ status: z.ZodLiteral<"available">;
1999
2179
  }, z.core.$strict>, z.ZodObject<{
2000
- type: z.ZodLiteral<"turn_lifecycle">;
2001
- turnId: z.ZodString;
2002
- state: z.ZodLiteral<"failed">;
2003
- failureCode: z.ZodEnum<{
2004
- agent_run_failed: "agent_run_failed";
2005
- delivery_failed: "delivery_failed";
2006
- model_execution_failed: "model_execution_failed";
2007
- persistence_failed: "persistence_failed";
2008
- }>;
2009
- failureReason: z.ZodOptional<z.ZodEnum<{
2010
- auth: "auth";
2011
- capacity: "capacity";
2012
- content_policy: "content_policy";
2013
- empty_output: "empty_output";
2014
- invalid_request: "invalid_request";
2015
- invalid_response: "invalid_response";
2016
- network: "network";
2017
- permission: "permission";
2018
- quota: "quota";
2019
- rate_limit: "rate_limit";
2020
- server: "server";
2021
- suppressed_output: "suppressed_output";
2022
- timeout: "timeout";
2023
- tool_errors: "tool_errors";
2024
- unknown: "unknown";
2025
- }>>;
2026
- eventId: z.ZodOptional<z.ZodString>;
2027
- sentryEventUrl: z.ZodOptional<z.ZodString>;
2028
- }, z.core.$strict>], "state">, z.ZodObject<{
2029
- type: z.ZodLiteral<"turn_context">;
2030
- turnId: z.ZodString;
2031
- pluginName: z.ZodString;
2032
- kind: z.ZodString;
2033
- version: z.ZodNumber;
2034
- content: z.ZodRecord<z.ZodString, z.ZodUnknown>;
2180
+ status: z.ZodLiteral<"redacted">;
2181
+ reason: z.ZodLiteral<"non_public_conversation">;
2035
2182
  }, z.core.$strict>, z.ZodObject<{
2036
- type: z.ZodLiteral<"structured_event">;
2037
- namespace: z.ZodString;
2038
- name: z.ZodString;
2039
- version: z.ZodNumber;
2040
- turnId: z.ZodOptional<z.ZodString>;
2041
- presentation: z.ZodObject<{
2042
- details: z.ZodOptional<z.ZodArray<z.ZodObject<{
2043
- content: z.ZodOptional<z.ZodString>;
2044
- description: z.ZodOptional<z.ZodString>;
2045
- metadata: z.ZodOptional<z.ZodArray<z.ZodString>>;
2046
- title: z.ZodString;
2047
- }, z.core.$strict>>>;
2048
- icon: z.ZodOptional<z.ZodEnum<{
2049
- activity: "activity";
2050
- brain: "brain";
2051
- calendar: "calendar";
2052
- check: "check";
2053
- database: "database";
2054
- info: "info";
2055
- key: "key";
2056
- link: "link";
2057
- sparkles: "sparkles";
2058
- warning: "warning";
2059
- }>>;
2060
- preview: z.ZodOptional<z.ZodString>;
2061
- 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>>;
2062
2227
  }, z.core.$strict>;
2063
- }, z.core.$strict>, z.ZodObject<{
2064
- type: z.ZodLiteral<"attachments_delivered">;
2065
- attachments: z.ZodArray<z.ZodObject<{
2066
- id: z.ZodString;
2067
- filename: z.ZodString;
2068
- contentType: z.ZodString;
2069
- bytes: z.ZodNumber;
2070
- }, z.core.$strict>>;
2071
- }, z.core.$strict>, z.ZodObject<{
2072
- type: z.ZodLiteral<"turn_routed">;
2073
- turnId: z.ZodString;
2074
- modelProfile: z.ZodString;
2075
- modelId: z.ZodString;
2076
- costUsd: z.ZodOptional<z.ZodNumber>;
2077
- reasoningLevel: z.ZodString;
2078
- confidence: z.ZodOptional<z.ZodNumber>;
2079
- source: z.ZodEnum<{
2080
- configured: "configured";
2081
- inherited: "inherited";
2082
- router: "router";
2083
- }>;
2084
- }, z.core.$strict>, z.ZodObject<{
2085
- type: z.ZodLiteral<"guardian_action_reviewed">;
2086
- turnId: z.ZodString;
2087
- toolCallId: z.ZodString;
2088
- toolName: z.ZodString;
2089
- decision: z.ZodEnum<{
2090
- allow: "allow";
2091
- ask: "ask";
2092
- deny: "deny";
2093
- }>;
2094
- riskLevel: z.ZodEnum<{
2095
- critical: "critical";
2096
- high: "high";
2097
- low: "low";
2098
- medium: "medium";
2099
- }>;
2100
- userAuthorization: z.ZodEnum<{
2101
- high: "high";
2102
- low: "low";
2103
- medium: "medium";
2104
- unknown: "unknown";
2105
- }>;
2106
- }, z.core.$strict>, z.ZodObject<{
2107
- type: z.ZodLiteral<"compaction">;
2108
- modelProfile: z.ZodOptional<z.ZodString>;
2109
- modelId: z.ZodOptional<z.ZodString>;
2110
- summary: z.ZodOptional<z.ZodString>;
2111
- details: z.ZodOptional<z.ZodObject<{
2112
- reason: z.ZodLiteral<"capacity">;
2113
- estimatedInputTokens: z.ZodNumber;
2114
- replacementInputTokens: z.ZodOptional<z.ZodNumber>;
2115
- triggerTokens: z.ZodNumber;
2116
- inputLimitTokens: z.ZodNumber;
2117
- inputMessageCount: z.ZodNumber;
2118
- retainedMessageCount: z.ZodNumber;
2119
- summaryChars: 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
+ }>;
2120
2249
  }, z.core.$strict>>;
2121
- }, z.core.$strict>, z.ZodObject<{
2122
- type: z.ZodLiteral<"handoff">;
2123
- modelProfile: z.ZodString;
2124
- modelId: z.ZodString;
2125
- reasoningLevel: z.ZodOptional<z.ZodString>;
2126
- triggeringToolCallId: z.ZodOptional<z.ZodString>;
2127
- summary: z.ZodOptional<z.ZodString>;
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>;
2138
- status: z.ZodEnum<{
2139
- aborted: "aborted";
2140
- blocked: "blocked";
2141
- completed: "completed";
2142
- error: "error";
2143
- running: "running";
2144
- }>;
2145
- }, z.core.$strict>], "type">;
2250
+ openDecisions: z.ZodArray<z.ZodObject<{
2251
+ text: z.ZodString;
2252
+ owner: z.ZodOptional<z.ZodString>;
2253
+ }, z.core.$strict>>;
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>;
2146
2267
  mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
2147
2268
  avatarUrl: z.ZodOptional<z.ZodString>;
2148
2269
  email: z.ZodOptional<z.ZodString>;
@@ -2150,62 +2271,34 @@ declare const conversationDetailReportSchema: z.ZodObject<{
2150
2271
  slackUserId: z.ZodOptional<z.ZodString>;
2151
2272
  slackUserName: z.ZodOptional<z.ZodString>;
2152
2273
  }, z.core.$strict>>>;
2153
- model: z.ZodOptional<z.ZodObject<{
2154
- modelId: z.ZodString;
2155
- modelProfile: z.ZodOptional<z.ZodString>;
2156
- reasoningLevel: z.ZodOptional<z.ZodString>;
2157
- }, z.core.$strict>>;
2158
- modelCall: z.ZodOptional<z.ZodObject<{
2159
- provider: z.ZodOptional<z.ZodString>;
2160
- api: z.ZodOptional<z.ZodString>;
2161
- stopReason: z.ZodOptional<z.ZodString>;
2162
- usage: z.ZodOptional<z.ZodObject<{
2163
- inputTokens: z.ZodOptional<z.ZodNumber>;
2164
- outputTokens: z.ZodOptional<z.ZodNumber>;
2165
- cachedInputTokens: z.ZodOptional<z.ZodNumber>;
2166
- cacheCreationTokens: z.ZodOptional<z.ZodNumber>;
2167
- reasoningTokens: z.ZodOptional<z.ZodNumber>;
2168
- totalTokens: z.ZodOptional<z.ZodNumber>;
2169
- cost: z.ZodOptional<z.ZodObject<{
2170
- input: z.ZodOptional<z.ZodNumber>;
2171
- output: z.ZodOptional<z.ZodNumber>;
2172
- cacheRead: z.ZodOptional<z.ZodNumber>;
2173
- cacheWrite: z.ZodOptional<z.ZodNumber>;
2174
- total: z.ZodOptional<z.ZodNumber>;
2175
- }, z.core.$strict>>;
2176
- }, z.core.$strict>>;
2177
- }, z.core.$strict>>;
2178
- }, z.core.$strict>>;
2179
- eventHistory: z.ZodDiscriminatedUnion<[z.ZodObject<{
2180
- status: z.ZodLiteral<"available">;
2181
- }, z.core.$strict>, z.ZodObject<{
2182
- status: z.ZodLiteral<"redacted">;
2183
- reason: z.ZodLiteral<"non_public_conversation">;
2184
- }, z.core.$strict>, z.ZodObject<{
2185
- status: z.ZodLiteral<"expired">;
2186
- expiredAt: z.ZodString;
2187
- }, z.core.$strict>], "status">;
2188
- previousCursor: z.ZodOptional<z.ZodString>;
2189
- generatedAt: z.ZodString;
2190
- sentryConversationUrl: z.ZodOptional<z.ZodString>;
2191
- sourceTask: z.ZodOptional<z.ZodObject<{
2192
- id: z.ZodOptional<z.ZodString>;
2193
- kind: z.ZodEnum<{
2194
- event: "event";
2195
- scheduled: "scheduled";
2196
- }>;
2197
- label: z.ZodOptional<z.ZodString>;
2198
- title: z.ZodOptional<z.ZodString>;
2199
- triggerMessageId: z.ZodOptional<z.ZodString>;
2200
- triggerLabel: z.ZodOptional<z.ZodString>;
2201
- credentialMode: z.ZodOptional<z.ZodEnum<{
2202
- creator: "creator";
2203
- system: "system";
2204
- }>>;
2205
- credentialUser: z.ZodOptional<z.ZodString>;
2274
+ updatedAt: z.ZodString;
2275
+ version: z.ZodNumber;
2206
2276
  }, z.core.$strict>>;
2207
- }, z.core.$strict>;
2208
- 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>>>;
2209
2302
  events: z.ZodArray<z.ZodObject<{
2210
2303
  seq: z.ZodNumber;
2211
2304
  createdAt: z.ZodString;
@@ -2240,6 +2333,7 @@ declare const conversationEventPageSchema: z.ZodObject<{
2240
2333
  task: "task";
2241
2334
  }>>;
2242
2335
  explicitMention: z.ZodOptional<z.ZodBoolean>;
2336
+ quiet: z.ZodOptional<z.ZodLiteral<true>>;
2243
2337
  trustedSummary: z.ZodOptional<z.ZodString>;
2244
2338
  events: z.ZodOptional<z.ZodArray<z.ZodObject<{
2245
2339
  eventType: z.ZodString;
@@ -2395,19 +2489,6 @@ declare const conversationEventPageSchema: z.ZodObject<{
2395
2489
  contentType: z.ZodString;
2396
2490
  bytes: z.ZodNumber;
2397
2491
  }, z.core.$strict>>;
2398
- }, z.core.$strict>, z.ZodObject<{
2399
- type: z.ZodLiteral<"turn_routed">;
2400
- turnId: z.ZodString;
2401
- modelProfile: z.ZodString;
2402
- modelId: z.ZodString;
2403
- costUsd: z.ZodOptional<z.ZodNumber>;
2404
- reasoningLevel: z.ZodString;
2405
- confidence: z.ZodOptional<z.ZodNumber>;
2406
- source: z.ZodEnum<{
2407
- configured: "configured";
2408
- inherited: "inherited";
2409
- router: "router";
2410
- }>;
2411
2492
  }, z.core.$strict>, z.ZodObject<{
2412
2493
  type: z.ZodLiteral<"guardian_action_reviewed">;
2413
2494
  turnId: z.ZodString;
@@ -2432,7 +2513,6 @@ declare const conversationEventPageSchema: z.ZodObject<{
2432
2513
  }>;
2433
2514
  }, z.core.$strict>, z.ZodObject<{
2434
2515
  type: z.ZodLiteral<"compaction">;
2435
- modelProfile: z.ZodOptional<z.ZodString>;
2436
2516
  modelId: z.ZodOptional<z.ZodString>;
2437
2517
  summary: z.ZodOptional<z.ZodString>;
2438
2518
  details: z.ZodOptional<z.ZodObject<{
@@ -2445,13 +2525,6 @@ declare const conversationEventPageSchema: z.ZodObject<{
2445
2525
  retainedMessageCount: z.ZodNumber;
2446
2526
  summaryChars: z.ZodNumber;
2447
2527
  }, z.core.$strict>>;
2448
- }, z.core.$strict>, z.ZodObject<{
2449
- type: z.ZodLiteral<"handoff">;
2450
- modelProfile: z.ZodString;
2451
- modelId: z.ZodString;
2452
- reasoningLevel: z.ZodOptional<z.ZodString>;
2453
- triggeringToolCallId: z.ZodOptional<z.ZodString>;
2454
- summary: z.ZodOptional<z.ZodString>;
2455
2528
  }, z.core.$strict>, z.ZodObject<{
2456
2529
  type: z.ZodLiteral<"subagent">;
2457
2530
  startedSeq: z.ZodNumber;
@@ -2479,8 +2552,6 @@ declare const conversationEventPageSchema: z.ZodObject<{
2479
2552
  }, z.core.$strict>>>;
2480
2553
  model: z.ZodOptional<z.ZodObject<{
2481
2554
  modelId: z.ZodString;
2482
- modelProfile: z.ZodOptional<z.ZodString>;
2483
- reasoningLevel: z.ZodOptional<z.ZodString>;
2484
2555
  }, z.core.$strict>>;
2485
2556
  modelCall: z.ZodOptional<z.ZodObject<{
2486
2557
  provider: z.ZodOptional<z.ZodString>;
@@ -2514,6 +2585,23 @@ declare const conversationEventPageSchema: z.ZodObject<{
2514
2585
  }, z.core.$strict>], "status">;
2515
2586
  previousCursor: z.ZodOptional<z.ZodString>;
2516
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>>;
2517
2605
  }, z.core.$strict>;
2518
2606
  declare const conversationFeedSchema: z.ZodObject<{
2519
2607
  conversations: z.ZodArray<z.ZodObject<{
@@ -2758,6 +2846,140 @@ type ConversationParams = z.infer<typeof conversationParamsSchema>;
2758
2846
  type CreateConversationBody = z.infer<typeof createConversationBodySchema>;
2759
2847
  type CreateConversationMessageBody = z.infer<typeof createConversationMessageBodySchema>;
2760
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>;
2761
2983
  type ConversationPendingMessageDelivery = z.infer<typeof conversationPendingMessageDeliverySchema>;
2762
2984
  type ConversationPendingMessage = z.infer<typeof conversationPendingMessageSchema>;
2763
2985
  type ConversationPendingMessagesReport = z.infer<typeof conversationPendingMessagesReportSchema>;
@@ -6083,4 +6305,4 @@ declare const reviewItemActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
6083
6305
  }, z.core.$strict>;
6084
6306
  }, z.core.$strict>], "action">;
6085
6307
  type ReviewItemActionBody = z.output<typeof reviewItemActionSchema>;
6086
- export { automationExecutionSchema as $, ConversationAgentTreeNode as $n, CodeActivityDay as $r, LocationParams as $t, StatReport as A, MAX_INPUT_IMAGES as Ai, pinConversationResponseSchema as An, conversationDetailQuerySchema as Ar, PersonalTokenMetadata as At, AutomationListQuery as B, conversationStatsReportSchema as Bn, conversationPendingMessageSchema as Br, serviceAccountSchema as Bt, pluginPackageContentItemReportSchema as C, UserInputField as Ci, ConversationChildAgent as Cn, SteerConversationPendingMessagesBody as Cr, workspaceBodySchema as Ct, runtimeInfoReportSchema as D, normalizeUserInputAnswer as Di, PinConversationBody as Dn, cancelConversationPendingMessagesResponseSchema as Dr, workspaceSchema as Dt, pluginsSchema as E, isEmptyUserInputAnswer as Ei, conversationChildAgentsReportSchema as En, cancelConversationPendingMessagesBodySchema as Er, workspaceRepoSchema as Et, AutomationExecution as F, ConversationMetricDay as Fn, conversationFeedQuerySchema as Fr, personalTokenParamsSchema as Ft, AutomationSummary as G, archiveConversationResponseSchema as Gn, createConversationBodySchema as Gr, disconnectConnectionResponseSchema as Gt, AutomationRunList as H, ArchiveConversationResponse as Hn, conversationReportEventDataSchema as Hr, connectionListSchema as Ht, AutomationExecutionDay as I, ConversationStatsItem as In, conversationFeedSchema as Ir, revokePersonalTokenResponseSchema as It, ListedAutomationVersion as J, AcceptedConversationMessage as Jn, forkConversationResponseSchema as Jr, apiErrorSchema as Jt, AutomationUpdate as K, archiveDoneConversationsResponseSchema as Kn, createConversationMessageBodySchema as Kr, startConnectionResponseSchema as Kt, AutomationExecutionList as L, ConversationStatsReport as Ln, conversationParamsSchema as Lr, disconnectServiceAccountResponseSchema as Lt, statSchema as M, MessageAttachment as Mi, conversationReadPositionSchema as Mn, conversationEventHistorySchema as Mr, createdPersonalTokenSchema as Mt, statsReportSchema as N, INPUT_IMAGE_TYPES as Ni, StopConversationTurnResponse as Nn, conversationEventPageSchema as Nr, personalTokenListSchema as Nt, skillReportSchema as O, webMessageId as Oi, PinConversationResponse as On, conversationActivityPreviewSchema as Or, USER_CUSTOMIZATION_MAX_CHARS as Ot, AutomationEdit as P, stopConversationTurnResponseSchema as Pn, conversationEventsQuerySchema as Pr, personalTokenMetadataSchema as Pt, automationExecutionListSchema as Q, ConversationActivityPreview as Qn, conversationTurnFailureReasonSchema as Qr, LocationDirectoryReport as Qt, AutomationExecutionStatusDay as R, GuardianMetricDay as Rn, conversationPendingAuthorizationSchema as Rr, serviceAccountListSchema as Rt, pluginOperationalReportSchema as S, UserInputAnswer as Si, conversationWatchesReportSchema as Sn, CreateConversationMessageBody as Sr, deleteWorkspaceResponseSchema as St, pluginSchema as T, buttonUserInputField as Ti, conversationChildAgentSchema as Tn, acceptedConversationMessageSchema as Tr, workspaceParamsSchema as Tt, AutomationRunWindows as U, ConversationAutoArchive as Un, conversationReportEventSchema as Ur, connectionParamsSchema as Ut, AutomationRun as V, ArchiveConversationBody as Vn, conversationPendingMessagesReportSchema as Vr, startServiceAccountSignInResponseSchema as Vt, AutomationScheduleIntent as W, archiveConversationBodySchema as Wn, conversationSummaryReportSchema as Wr, connectionSchema as Wt, automationEditSchema as X, CancelConversationPendingMessagesBody as Xn, steerConversationPendingMessagesResponseSchema as Xr, LocationActorSummaryReport as Xt, automationEditErrorSchema as Y, ActorIdentity as Yn, steerConversationPendingMessagesBodySchema as Yr, LocationActivityDayReport as Yt, automationEventCatalogSchema as Z, CancelConversationPendingMessagesResponse as Zn, conversationTurnFailureCodeSchema as Zr, LocationDetailReport as Zt, RuntimeInfoReport as _, MessageCard as _i, personParamsSchema as _n, ConversationSurface as _r, scheduledAutomationSummarySchema as _t, reviewItemCountSchema as a, codeActivityDaySchema as ai, ActorActivityDayReport as an, ConversationFeed as ar, automationRunListSchema as at, healthReportSchema as b, AutomationCard as bi, ConversationWatchesReport as bn, ConversationUsage as br, WorkspaceReport as bt, reviewItemWaitingConversationsSchema as c, codeOverviewReportSchema as ci, ActorProfileReport as cn, ConversationPendingMessage as cr, automationScheduleIntentSchema as ct, Plugin as d, codeRepositoryReportSchema as di, ActorWindowMetrics as dn, ConversationReportEvent as dr, automationUpdateSchema as dt, CodeChangeSummaryReport as ei, LocationSummaryReport as en, ConversationAuxiliaryCosts as er, automationExecutionStatusDaySchema as et, PluginOperationalReport as f, codeRepositorySummarySchema as fi, PeopleActivityDayReport as fn, ConversationReportEventData as fr, automationVersionActivateSchema as ft, Plugins as g, dailyConversationActivitySchema as gi, actorProfileReportSchema as gn, ConversationSummaryReport as gr, eventAutomationSummarySchema as gt, PluginPackageContentReport as h, DailyConversationActivity as hi, actorDirectoryReportSchema as hn, ConversationSourceTask as hr, automationVersionSchema as ht, reviewItemActionSchema as i, CodeRepositorySummary as ii, locationParamsSchema as in, ConversationEventPage as ir, automationParamsSchema as it, StatsReport as j, MAX_INPUT_IMAGE_BYTES as ji, ConversationReadPosition as jn, conversationDetailReportSchema as jr, createPersonalTokenBodySchema as jt, skillReportsSchema as k, InputImage as ki, pinConversationBodySchema as kn, conversationAuxiliaryCostsSchema as kr, userCustomizationSchema as kt, ReviewItemChangeRecord as l, codePersonReportSchema as li, ActorSummaryReport as ln, ConversationPendingMessageDelivery as lr, automationSchedulePreviewSchema as lt, PluginPackageContentItemReport as m, conversationChildAgentTotalsSchema as mi, PersonalSpendReport as mn, ConversationReportStatus as mr, automationVersionParamsSchema as mt, ReviewItemActionBody as n, CodePersonReport as ni, locationDetailReportSchema as nn, ConversationDetailReport as nr, automationListQuerySchema as nt, reviewItemListSchema as o, codeChangeSummaryReportSchema as oi, ActorDirectoryReport as on, ConversationModelUsage as or, automationRunSchema as ot, PluginOperationalReportFeed as p, ConversationChildAgentTotals as pi, PersonParams as pn, ConversationReportMessageEvent as pr, automationVersionListSchema as pt, AutomationVersionList as q, conversationAutoArchiveSchema as qn, forkConversationBodySchema as qr, ApiError as qt, ReviewItemPayload as r, CodeRepositoryReport as ri, locationDirectoryReportSchema as rn, ConversationEventHistory as rr, automationListSchema as rt, reviewItemSchema as s, codeChangeSummarySchema as si, ActorDirectoryWindows as sn, ConversationParams as sr, automationRunWindowsSchema as st, OwnedObjectAnnotation$1 as t, CodeOverviewReport as ti, locationActivityDayReportSchema as tn, ConversationCost as tr, automationExecutionStatusSchema as tt, HealthReport as u, codeRepositoryParamsSchema as ui, ActorTotalsReport as un, ConversationPendingMessagesReport as ur, automationSummarySchema as ut, SkillReport as v, messageCardText as vi, personalSpendReportSchema as vn, ConversationTurnFailureCode as vr, BaselineSnapshotReport as vt, pluginPackageContentReportSchema as w, UserInputRequest as wi, ConversationChildAgentsReport as wn, SteerConversationPendingMessagesResponse as wr, workspaceListSchema as wt, pluginOperationalReportFeedSchema as x, USER_INPUT_NOTE as xi, conversationWatchSchema as xn, CreateConversationBody as xr, baselineSnapshotSchema as xt, SkillReports as y, resolveMessageCards as yi, ConversationWatch as yn, ConversationTurnFailureReason as yr, WorkspaceListReport as yt, AutomationList as z, GuardianStats as zn, conversationPendingMessageDeliverySchema 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 };