@sentry/junior 0.309.0 → 0.311.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 (117) hide show
  1. package/dist/adapter-B1wujchl.js +259 -0
  2. package/dist/{adapter-context-1YUbMpD3.js → adapter-context-G2M0y6rP.js} +2 -2
  3. package/dist/{admin-u30A8TcD.js → admin-DCiBhUT1.js} +1 -2
  4. package/dist/{agent-runner-sJLhgPQV.js → agent-runner-BVHPUIc8.js} +695 -1817
  5. package/dist/api/schema.d.ts +2 -2
  6. package/dist/api/schema.js +8 -7
  7. package/dist/api.d.ts +21 -3
  8. package/dist/api.js +1479 -372
  9. package/dist/{app-B_7Wn0en.d.ts → app-Cw5Vy6H6.d.ts} +14 -3
  10. package/dist/app.d.ts +2 -2
  11. package/dist/app.js +233 -506
  12. package/dist/{background-compaction-queue-CUJXVKG3.js → background-compaction-queue-CJDnWVOJ.js} +4 -4
  13. package/dist/{briefs-BHi70IR5.js → briefs-BDjnug6Y.js} +3 -3
  14. package/dist/{catalog-runtime-Chc_IP2o.js → catalog-runtime-DMY3VV-D.js} +1 -1
  15. package/dist/cli/chat.js +16 -16
  16. package/dist/cli/check.js +23 -29
  17. package/dist/cli/init.js +1 -6
  18. package/dist/cli/main.js +3 -3
  19. package/dist/cli/plugins.js +8 -7
  20. package/dist/cli/snapshot-create.js +5 -5
  21. package/dist/cli/upgrade.d.ts +1 -1
  22. package/dist/cli/upgrade.js +3 -3
  23. package/dist/{config-BIyIdTtA.js → config-BrXDQefC.js} +239 -5
  24. package/dist/{continue-in-slack-BQJBfiQh.js → continue-in-slack-DNXSC9So.js} +6 -5
  25. package/dist/{conversation-CzrLhdHG.js → conversation-ca__NDQW.js} +48 -9
  26. package/dist/{conversation-feed-B9e3_gxz.js → conversation-feed-DkinDu5o.js} +15 -6
  27. package/dist/{conversation-privacy-CkTW29hd.js → conversation-privacy-DxttrKb9.js} +1 -1
  28. package/dist/{conversation-turn-CZaYQUum.js → conversation-turn-DWw7Xhdr.js} +42 -39
  29. package/dist/{credential-sync-58m_CyIJ.js → credential-sync-Bk8wGb8Y.js} +15 -16
  30. package/dist/{db-B4Hjxr-u.d.ts → db-7ETESH44.d.ts} +3 -1
  31. package/dist/{db-CFUpEZi9.js → db-DTxzH7u5.js} +1618 -1041
  32. package/dist/{executor-DXL0O0MV.js → executor-DqTiYj9S.js} +454 -96
  33. package/dist/{history-N7IVbUom.js → history-CYstOMKX.js} +6 -0
  34. package/dist/{html-CaBu2VbT.js → html-B9Sl4Axb.js} +6 -6
  35. package/dist/{install-DhTBUUov.js → install-Sg4ePfLl.js} +2 -2
  36. package/dist/instrumentation.js +3 -3
  37. package/dist/{lineage-CxtOI2_p.js → lineage-BHAMpNKr.js} +2 -2
  38. package/dist/{logging-BNUovdcX.js → logging-FjclQsXu.js} +47 -9
  39. package/dist/{message-DcUsS2vg.js → message-CJ7_RL50.js} +5 -8
  40. package/dist/{model-input-o3rEqgwM.js → model-input-CMLh4Cwq.js} +3 -3
  41. package/dist/nitro.d.ts +1 -1
  42. package/dist/nitro.js +3 -3
  43. package/dist/{oauth-callback-server-1Fizd1EM.js → oauth-callback-server-RVcbiDjL.js} +2 -2
  44. package/dist/{oauth-relay-DOwngqdM.js → oauth-relay-Bu9kkaQu.js} +1 -1
  45. package/dist/{projection-Ce4pmhKP.js → projection-Cns7XwWa.js} +9206 -5318
  46. package/dist/{prompt-DEqjDVMs.js → prompt-CDqcsDYC.js} +4 -4
  47. package/dist/{registry-CNE4ZBnG.js → registry-BPwuOP2O.js} +5 -8
  48. package/dist/{resolve-qbPg-aC-.js → resolve-BK29bBry.js} +3 -3
  49. package/dist/rule-DAxQY-1h.js +20 -0
  50. package/dist/{runner-eGIxpAMf.js → runner-BcAE-cJm.js} +10 -10
  51. package/dist/{sandbox-egress-signals-DMFB1kCp.js → sandbox-egress-signals-C-q0go5b.js} +1 -1
  52. package/dist/{schedule-Cire6NU7.js → schedule-BLJ476XQ.js} +209 -43
  53. package/dist/{schema-CfIey9Ao.js → schema-BLgSZXcL.js} +255 -49
  54. package/dist/{schema-DriSvB40.d.ts → schema-DYcJeV7d.d.ts} +701 -62
  55. package/dist/{service-account-Cw_LWZ4-.js → service-account-gN0zqf0S.js} +68 -68
  56. package/dist/{service-account-B1VXCTqg.js → service-account-iJoCtkHR.js} +3 -3
  57. package/dist/{skills-Zg8-vrje.js → skills-BoZ80epJ.js} +77 -31
  58. package/dist/{slack-conversation-unfurl-DA51qH0c.js → slack-conversation-unfurl-CogYrITA.js} +8 -10
  59. package/dist/{spawn-DBi4-zD8.js → spawn-Dk92r7mX.js} +5 -6
  60. package/dist/{state-C-Ftk23K.js → state-DH3Cmgp3.js} +4 -4
  61. package/dist/{stop-D9xideLM.js → stop-CYsfc0Ed.js} +1064 -314
  62. package/dist/{store-BjIXA0Al.js → store-DmmMIrQi.js} +5 -5
  63. package/dist/{task-queue-D0_qbnpo.js → task-queue-C_zldF5J.js} +3 -3
  64. package/dist/{task-runner-DQMq4XY0.js → task-runner-C7oCJQIx.js} +21 -14
  65. package/dist/{thread-context-D0i1e-5O.js → thread-context-BW2BsQbH.js} +13 -11
  66. package/dist/{turn-session-routing-C0l68I_O.js → turn-session-routing-Xh_2nSQe.js} +52 -54
  67. package/dist/{validation-CRbvRPvu.js → validation-DrJd0nnq.js} +1 -1
  68. package/dist/{version-BYdVs12p.js → version-CNKZ8owc.js} +1 -1
  69. package/dist/version.js +1 -1
  70. package/dist/{warmup-DN9OHN1-.js → warmup-BWdHew2H.js} +14289 -7197
  71. package/dist/{web-message-id-BT8Mg8LL.js → web-message-id-Ch5dPq-a.js} +32 -144
  72. package/dist/{worker-C9ZfJXmV.js → worker-t9qpu_Zx.js} +7 -8
  73. package/migrations/0124_artifact_visibility.sql +9 -0
  74. package/migrations/0125_artifact_public_sha_index.sql +1 -0
  75. package/migrations/0126_artifact_drop_public.sql +8 -0
  76. package/migrations/0127_artifact_path.sql +4 -0
  77. package/migrations/0128_artifact_path_index.sql +1 -0
  78. package/migrations/0129_review_item_answered_index.sql +1 -0
  79. package/migrations/0130_review_item_status_index.sql +1 -0
  80. package/migrations/0131_brief_outcome_status.sql +1 -0
  81. package/migrations/0132_brief_outcome_status_backfill.sql +7 -0
  82. package/migrations/0133_brief_created_at_index.sql +1 -0
  83. package/migrations/0134_slack_person_search_index.sql +1 -0
  84. package/migrations/0135_code_change_size.sql +3 -0
  85. package/migrations/0136_merge_conflict_notice_dismiss.sql +16 -0
  86. package/migrations/0137_inbox_snoozes.sql +27 -0
  87. package/migrations/0138_code_change_search_index.sql +2 -0
  88. package/migrations/0139_review_item_owner.sql +22 -0
  89. package/migrations/0140_review_item_owner_index.sql +1 -0
  90. package/migrations/0141_memory_core_adoption.sql +89 -0
  91. package/migrations/0142_memory_core_indexes.sql +17 -0
  92. package/migrations/meta/0124_snapshot.json +5516 -0
  93. package/migrations/meta/0125_snapshot.json +5516 -0
  94. package/migrations/meta/0126_snapshot.json +5488 -0
  95. package/migrations/meta/0127_snapshot.json +5519 -0
  96. package/migrations/meta/0128_snapshot.json +5519 -0
  97. package/migrations/meta/0129_snapshot.json +5547 -0
  98. package/migrations/meta/0130_snapshot.json +5563 -0
  99. package/migrations/meta/0131_snapshot.json +5569 -0
  100. package/migrations/meta/0132_snapshot.json +5569 -0
  101. package/migrations/meta/0133_snapshot.json +5590 -0
  102. package/migrations/meta/0134_snapshot.json +5606 -0
  103. package/migrations/meta/0135_snapshot.json +5624 -0
  104. package/migrations/meta/0136_snapshot.json +5624 -0
  105. package/migrations/meta/0137_snapshot.json +5864 -0
  106. package/migrations/meta/0138_snapshot.json +5894 -0
  107. package/migrations/meta/0139_snapshot.json +5898 -0
  108. package/migrations/meta/0140_snapshot.json +5919 -0
  109. package/migrations/meta/0141_snapshot.json +6429 -0
  110. package/migrations/meta/0142_snapshot.json +6457 -0
  111. package/migrations/meta/_journal.json +134 -1
  112. package/package.json +6 -7
  113. package/dist/result-ZGnDzcsb.js +0 -548
  114. package/dist/session-stop-P2XdTiwr.js +0 -4252
  115. package/dist/turn-user-message-nBVvOXjs.js +0 -364
  116. package/dist/users-DdjMjbmM.js +0 -181
  117. package/dist/viewer-DudYrQGj.js +0 -212
@@ -41,32 +41,7 @@ declare function webMessageId(args: {
41
41
  conversationId: string;
42
42
  idempotencyKey: string;
43
43
  }): Promise<string>;
44
- declare const userInputFieldSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
45
- id: z.ZodString;
46
- label: z.ZodString;
47
- description: z.ZodOptional<z.ZodString>;
48
- kind: z.ZodLiteral<"choice">;
49
- options: z.ZodArray<z.ZodObject<{
50
- label: z.ZodString;
51
- description: z.ZodOptional<z.ZodString>;
52
- recommended: z.ZodOptional<z.ZodBoolean>;
53
- }, z.core.$strip>>;
54
- }, z.core.$strip>, z.ZodObject<{
55
- id: z.ZodString;
56
- label: z.ZodString;
57
- description: z.ZodOptional<z.ZodString>;
58
- kind: z.ZodLiteral<"multi_choice">;
59
- options: z.ZodArray<z.ZodObject<{
60
- label: z.ZodString;
61
- description: z.ZodOptional<z.ZodString>;
62
- recommended: z.ZodOptional<z.ZodBoolean>;
63
- }, z.core.$strip>>;
64
- }, z.core.$strip>, z.ZodObject<{
65
- id: z.ZodString;
66
- label: z.ZodString;
67
- description: z.ZodOptional<z.ZodString>;
68
- kind: z.ZodLiteral<"text">;
69
- }, z.core.$strip>], "kind">;
44
+ /** A request that an agent writes. Each choice field has two options or more. */
70
45
  declare const userInputRequestSchema: z.ZodObject<{
71
46
  question: z.ZodString;
72
47
  fields: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -106,7 +81,7 @@ declare const USER_INPUT_NOTE: {
106
81
  readonly description: "Optional. This note is sent together with your answers above.";
107
82
  };
108
83
  /** One field of a user input request. */
109
- type UserInputField = z.output<typeof userInputFieldSchema>;
84
+ type UserInputField = UserInputRequest["fields"][number];
110
85
  /** A question with one or more fields for a person to answer. */
111
86
  type UserInputRequest = z.output<typeof userInputRequestSchema>;
112
87
  /**
@@ -131,6 +106,11 @@ declare function buttonUserInputField(request: UserInputRequest): Extract<UserIn
131
106
  * option labels, one value for a `choice` field, and trimmed text.
132
107
  */
133
108
  declare function normalizeUserInputAnswer(request: UserInputRequest, answer: UserInputAnswer): UserInputAnswer;
109
+ /**
110
+ * Return the option labels that an answer picked, in field order. Text
111
+ * fields and the note pick no option.
112
+ */
113
+ declare function answeredChoices(request: UserInputRequest, answer: UserInputAnswer): string[];
134
114
  /** Return true when an answer has no value and no free text. */
135
115
  declare function isEmptyUserInputAnswer(answer: UserInputAnswer): boolean;
136
116
  /** Saved automation facts shown with a Message, not a live status view. */
@@ -197,11 +177,14 @@ declare const conversationTurnFailureReasonSchema: z.ZodEnum<{
197
177
  tool_errors: "tool_errors";
198
178
  unknown: "unknown";
199
179
  }>;
180
+ /**
181
+ * The status of one Conversation's own work. See `TERMINOLOGY.md` and
182
+ * `conversationStatusSql`, the only place that derives it.
183
+ */
200
184
  declare const conversationReportStatusSchema: z.ZodEnum<{
201
- active: "active";
202
- completed: "completed";
203
- failed: "failed";
204
- stopped: "stopped";
185
+ done: "done";
186
+ needs_input: "needs_input";
187
+ working: "working";
205
188
  }>;
206
189
  declare const conversationSurfaceSchema: z.ZodEnum<{
207
190
  api: "api";
@@ -412,11 +395,17 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
412
395
  public: "public";
413
396
  }>>;
414
397
  status: z.ZodEnum<{
415
- active: "active";
416
- completed: "completed";
417
- failed: "failed";
418
- stopped: "stopped";
398
+ done: "done";
399
+ needs_input: "needs_input";
400
+ working: "working";
419
401
  }>;
402
+ treeState: z.ZodOptional<z.ZodEnum<{
403
+ done: "done";
404
+ needs_you: "needs_you";
405
+ working: "working";
406
+ }>>;
407
+ watching: z.ZodOptional<z.ZodBoolean>;
408
+ turnActive: z.ZodBoolean;
420
409
  startedAt: z.ZodString;
421
410
  lastSeenAt: z.ZodString;
422
411
  lastProgressAt: z.ZodString;
@@ -747,6 +736,11 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
747
736
  title: z.ZodOptional<z.ZodString>;
748
737
  url: z.ZodOptional<z.ZodString>;
749
738
  imageUrl: z.ZodOptional<z.ZodString>;
739
+ size: z.ZodOptional<z.ZodObject<{
740
+ changedFiles: z.ZodOptional<z.ZodNumber>;
741
+ additions: z.ZodOptional<z.ZodNumber>;
742
+ deletions: z.ZodOptional<z.ZodNumber>;
743
+ }, z.core.$strict>>;
750
744
  }, z.core.$strict>>>;
751
745
  assignedWork: z.ZodOptional<z.ZodBoolean>;
752
746
  finishedWorkAt: z.ZodOptional<z.ZodString>;
@@ -1749,8 +1743,7 @@ declare const conversationEventPageSchema: z.ZodObject<{
1749
1743
  }, z.core.$strict>;
1750
1744
  /**
1751
1745
  * Carries the detail version token in both directions. A custom header, not
1752
- * `ETag` / `If-None-Match`: in production the Vercel CDN answered standard
1753
- * validators itself, after the function had already built the full report.
1746
+ * `ETag`, for the reason on `CONTENT_VERSION_HEADER`.
1754
1747
  */
1755
1748
  declare const CONVERSATION_DETAIL_VERSION_HEADER = "x-junior-detail-version";
1756
1749
  /**
@@ -1835,11 +1828,17 @@ declare const conversationDetailReportSchema: z.ZodObject<{
1835
1828
  public: "public";
1836
1829
  }>>;
1837
1830
  status: z.ZodEnum<{
1838
- active: "active";
1839
- completed: "completed";
1840
- failed: "failed";
1841
- stopped: "stopped";
1831
+ done: "done";
1832
+ needs_input: "needs_input";
1833
+ working: "working";
1842
1834
  }>;
1835
+ treeState: z.ZodOptional<z.ZodEnum<{
1836
+ done: "done";
1837
+ needs_you: "needs_you";
1838
+ working: "working";
1839
+ }>>;
1840
+ watching: z.ZodOptional<z.ZodBoolean>;
1841
+ turnActive: z.ZodBoolean;
1843
1842
  startedAt: z.ZodString;
1844
1843
  lastSeenAt: z.ZodString;
1845
1844
  lastProgressAt: z.ZodString;
@@ -2170,6 +2169,11 @@ declare const conversationDetailReportSchema: z.ZodObject<{
2170
2169
  title: z.ZodOptional<z.ZodString>;
2171
2170
  url: z.ZodOptional<z.ZodString>;
2172
2171
  imageUrl: z.ZodOptional<z.ZodString>;
2172
+ size: z.ZodOptional<z.ZodObject<{
2173
+ changedFiles: z.ZodOptional<z.ZodNumber>;
2174
+ additions: z.ZodOptional<z.ZodNumber>;
2175
+ deletions: z.ZodOptional<z.ZodNumber>;
2176
+ }, z.core.$strict>>;
2173
2177
  }, z.core.$strict>>>;
2174
2178
  assignedWork: z.ZodOptional<z.ZodBoolean>;
2175
2179
  finishedWorkAt: z.ZodOptional<z.ZodString>;
@@ -3361,6 +3365,11 @@ declare const codeChangeSummaryReportSchema: z.ZodObject<{
3361
3365
  openedAt: z.ZodString;
3362
3366
  provider: z.ZodString;
3363
3367
  repository: z.ZodString;
3368
+ size: z.ZodOptional<z.ZodObject<{
3369
+ changedFiles: z.ZodOptional<z.ZodNumber>;
3370
+ additions: z.ZodOptional<z.ZodNumber>;
3371
+ deletions: z.ZodOptional<z.ZodNumber>;
3372
+ }, z.core.$strict>>;
3364
3373
  state: z.ZodEnum<{
3365
3374
  closed: "closed";
3366
3375
  merged: "merged";
@@ -3398,6 +3407,11 @@ declare const codeOverviewReportSchema: z.ZodObject<{
3398
3407
  openedAt: z.ZodString;
3399
3408
  provider: z.ZodString;
3400
3409
  repository: z.ZodString;
3410
+ size: z.ZodOptional<z.ZodObject<{
3411
+ changedFiles: z.ZodOptional<z.ZodNumber>;
3412
+ additions: z.ZodOptional<z.ZodNumber>;
3413
+ deletions: z.ZodOptional<z.ZodNumber>;
3414
+ }, z.core.$strict>>;
3401
3415
  state: z.ZodEnum<{
3402
3416
  closed: "closed";
3403
3417
  merged: "merged";
@@ -3433,6 +3447,37 @@ declare const codeOverviewReportSchema: z.ZodObject<{
3433
3447
  windowEnd: z.ZodString;
3434
3448
  windowStart: z.ZodString;
3435
3449
  }, z.core.$strict>;
3450
+ /** A search of tracked code changes, for the composer `#` menu. */
3451
+ declare const codeChangeSearchQuerySchema: z.ZodObject<{
3452
+ q: z.ZodString;
3453
+ }, z.core.$strict>;
3454
+ /** A tracked code change that a Message can link to. */
3455
+ declare const mentionableCodeChangeSchema: z.ZodObject<{
3456
+ draft: z.ZodBoolean;
3457
+ number: z.ZodNumber;
3458
+ repository: z.ZodString;
3459
+ state: z.ZodEnum<{
3460
+ closed: "closed";
3461
+ merged: "merged";
3462
+ open: "open";
3463
+ }>;
3464
+ title: z.ZodNullable<z.ZodString>;
3465
+ url: z.ZodString;
3466
+ }, z.core.$strict>;
3467
+ declare const codeChangeSearchReportSchema: z.ZodObject<{
3468
+ changes: z.ZodArray<z.ZodObject<{
3469
+ draft: z.ZodBoolean;
3470
+ number: z.ZodNumber;
3471
+ repository: z.ZodString;
3472
+ state: z.ZodEnum<{
3473
+ closed: "closed";
3474
+ merged: "merged";
3475
+ open: "open";
3476
+ }>;
3477
+ title: z.ZodNullable<z.ZodString>;
3478
+ url: z.ZodString;
3479
+ }, z.core.$strict>>;
3480
+ }, z.core.$strict>;
3436
3481
  declare const codeRepositoryParamsSchema: z.ZodObject<{
3437
3482
  repositoryId: z.ZodString;
3438
3483
  }, z.core.$strict>;
@@ -3479,6 +3524,11 @@ declare const codeRepositoryReportSchema: z.ZodObject<{
3479
3524
  openedAt: z.ZodString;
3480
3525
  provider: z.ZodString;
3481
3526
  repository: z.ZodString;
3527
+ size: z.ZodOptional<z.ZodObject<{
3528
+ changedFiles: z.ZodOptional<z.ZodNumber>;
3529
+ additions: z.ZodOptional<z.ZodNumber>;
3530
+ deletions: z.ZodOptional<z.ZodNumber>;
3531
+ }, z.core.$strict>>;
3482
3532
  state: z.ZodEnum<{
3483
3533
  closed: "closed";
3484
3534
  merged: "merged";
@@ -3542,6 +3592,11 @@ declare const codePersonReportSchema: z.ZodObject<{
3542
3592
  openedAt: z.ZodString;
3543
3593
  provider: z.ZodString;
3544
3594
  repository: z.ZodString;
3595
+ size: z.ZodOptional<z.ZodObject<{
3596
+ changedFiles: z.ZodOptional<z.ZodNumber>;
3597
+ additions: z.ZodOptional<z.ZodNumber>;
3598
+ deletions: z.ZodOptional<z.ZodNumber>;
3599
+ }, z.core.$strict>>;
3545
3600
  state: z.ZodEnum<{
3546
3601
  closed: "closed";
3547
3602
  merged: "merged";
@@ -3567,11 +3622,19 @@ declare const codePersonReportSchema: z.ZodObject<{
3567
3622
  windowStart: z.ZodString;
3568
3623
  }, z.core.$strict>;
3569
3624
  type CodeActivityDay = z.infer<typeof codeActivityDaySchema>;
3625
+ type CodeChangeSearchReport = z.infer<typeof codeChangeSearchReportSchema>;
3570
3626
  type CodeChangeSummaryReport = z.infer<typeof codeChangeSummaryReportSchema>;
3571
3627
  type CodeOverviewReport = z.infer<typeof codeOverviewReportSchema>;
3572
3628
  type CodePersonReport = z.infer<typeof codePersonReportSchema>;
3573
3629
  type CodeRepositoryReport = z.infer<typeof codeRepositoryReportSchema>;
3574
3630
  type CodeRepositorySummary = z.infer<typeof codeRepositorySummarySchema>;
3631
+ type MentionableCodeChange = z.infer<typeof mentionableCodeChangeSchema>;
3632
+ /**
3633
+ * Cut preview text to the schema limit. The cut ends with "…" at a word
3634
+ * break, and never leaves half a surrogate pair or an unclosed Slack token
3635
+ * such as `<@U1` or `<https://…`, so mentions and links still parse.
3636
+ */
3637
+ declare function activityPreviewText(text: string): string;
3575
3638
  /**
3576
3639
  * Ask to upload one file for a Message. `conversationId` names an existing
3577
3640
  * Conversation; without it, the file is for the Conversation that the first
@@ -3788,11 +3851,17 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
3788
3851
  public: "public";
3789
3852
  }>>;
3790
3853
  status: z.ZodEnum<{
3791
- active: "active";
3792
- completed: "completed";
3793
- failed: "failed";
3794
- stopped: "stopped";
3854
+ done: "done";
3855
+ needs_input: "needs_input";
3856
+ working: "working";
3795
3857
  }>;
3858
+ treeState: z.ZodOptional<z.ZodEnum<{
3859
+ done: "done";
3860
+ needs_you: "needs_you";
3861
+ working: "working";
3862
+ }>>;
3863
+ watching: z.ZodOptional<z.ZodBoolean>;
3864
+ turnActive: z.ZodBoolean;
3796
3865
  startedAt: z.ZodString;
3797
3866
  lastSeenAt: z.ZodString;
3798
3867
  lastProgressAt: z.ZodString;
@@ -4123,6 +4192,11 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
4123
4192
  title: z.ZodOptional<z.ZodString>;
4124
4193
  url: z.ZodOptional<z.ZodString>;
4125
4194
  imageUrl: z.ZodOptional<z.ZodString>;
4195
+ size: z.ZodOptional<z.ZodObject<{
4196
+ changedFiles: z.ZodOptional<z.ZodNumber>;
4197
+ additions: z.ZodOptional<z.ZodNumber>;
4198
+ deletions: z.ZodOptional<z.ZodNumber>;
4199
+ }, z.core.$strict>>;
4126
4200
  }, z.core.$strict>>>;
4127
4201
  assignedWork: z.ZodOptional<z.ZodBoolean>;
4128
4202
  finishedWorkAt: z.ZodOptional<z.ZodString>;
@@ -5113,12 +5187,22 @@ declare const conversationFeedMediaSchema: z.ZodObject<{
5113
5187
  id: z.ZodString;
5114
5188
  }, z.core.$strict>;
5115
5189
  type ConversationFeedMedia = z.infer<typeof conversationFeedMediaSchema>;
5190
+ /**
5191
+ * The viewer's newest answer to a Review item that the Conversation added:
5192
+ * when it closed and the options they picked. A text answer has no choices.
5193
+ */
5194
+ declare const conversationFeedViewerAnswerSchema: z.ZodObject<{
5195
+ choices: z.ZodArray<z.ZodString>;
5196
+ closedAt: z.ZodString;
5197
+ }, z.core.$strict>;
5198
+ type ConversationFeedViewerAnswer = z.infer<typeof conversationFeedViewerAnswerSchema>;
5116
5199
  /** A feed row, with its visible Threads nested under their parents. */
5117
5200
  type ConversationFeedItem = ConversationSummaryReport & {
5118
5201
  brief?: ConversationFeedBrief | undefined;
5119
5202
  links?: string[] | undefined;
5120
5203
  media?: ConversationFeedMedia[] | undefined;
5121
5204
  threads?: ConversationFeedItem[] | undefined;
5205
+ viewerAnswer?: ConversationFeedViewerAnswer | undefined;
5122
5206
  };
5123
5207
  declare const conversationFeedSchema: z.ZodObject<{
5124
5208
  conversations: z.ZodArray<z.ZodType<ConversationFeedItem, unknown, z.core.$ZodTypeInternals<ConversationFeedItem, unknown>>>;
@@ -5403,6 +5487,15 @@ declare const conversationSubscriptionResponseSchema: z.ZodObject<{
5403
5487
  archivedAt: z.ZodNullable<z.ZodString>;
5404
5488
  subscribed: z.ZodBoolean;
5405
5489
  }, z.core.$strict>;
5490
+ /** Invite one mentioned person, by Slack user id, to a public Conversation. */
5491
+ declare const conversationInviteBodySchema: z.ZodObject<{
5492
+ slackUserId: z.ZodString;
5493
+ }, z.core.$strict>;
5494
+ /** `added` is false when the person was already a Participant. */
5495
+ declare const conversationInviteResponseSchema: z.ZodObject<{
5496
+ added: z.ZodBoolean;
5497
+ }, z.core.$strict>;
5498
+ type ConversationInviteResponse = z.infer<typeof conversationInviteResponseSchema>;
5406
5499
  type ConversationSubscriptionBody = z.infer<typeof conversationSubscriptionBodySchema>;
5407
5500
  type ConversationSubscriptionResponse = z.infer<typeof conversationSubscriptionResponseSchema>;
5408
5501
  /**
@@ -5642,6 +5735,11 @@ declare const conversationWatchesReportSchema: z.ZodObject<{
5642
5735
  url: z.ZodOptional<z.ZodString>;
5643
5736
  }, z.core.$strict>>;
5644
5737
  }, z.core.$strict>;
5738
+ /** Route params that name one Watch of one Conversation. */
5739
+ declare const watchParamsSchema: z.ZodObject<{
5740
+ conversationId: z.ZodString;
5741
+ watchId: z.ZodString;
5742
+ }, z.core.$strict>;
5645
5743
  type ConversationWatch = z.infer<typeof conversationWatchSchema>;
5646
5744
  type ConversationWatchesReport = z.infer<typeof conversationWatchesReportSchema>;
5647
5745
  /**
@@ -5717,6 +5815,36 @@ type PlanItemStatusBody = z.infer<typeof planItemStatusBodySchema>;
5717
5815
  declare const personParamsSchema: z.ZodObject<{
5718
5816
  email: z.ZodString;
5719
5817
  }, z.core.$strict>;
5818
+ /**
5819
+ * A people search. With `conversationId`, it finds only people in the Slack
5820
+ * workspace of that Conversation, so a mention reaches them there.
5821
+ */
5822
+ declare const peopleSearchQuerySchema: z.ZodObject<{
5823
+ conversationId: z.ZodOptional<z.ZodString>;
5824
+ q: z.ZodString;
5825
+ }, z.core.$strict>;
5826
+ /**
5827
+ * A person that a Message can mention: they have a Slack user id. `hasUser`
5828
+ * is true when they are a User, so they have a feed to Invite them to.
5829
+ */
5830
+ declare const mentionablePersonSchema: z.ZodObject<{
5831
+ avatarUrl: z.ZodOptional<z.ZodString>;
5832
+ email: z.ZodOptional<z.ZodString>;
5833
+ fullName: z.ZodOptional<z.ZodString>;
5834
+ slackUserName: z.ZodOptional<z.ZodString>;
5835
+ hasUser: z.ZodOptional<z.ZodLiteral<true>>;
5836
+ slackUserId: z.ZodString;
5837
+ }, z.core.$strict>;
5838
+ declare const peopleSearchReportSchema: z.ZodObject<{
5839
+ people: z.ZodArray<z.ZodObject<{
5840
+ avatarUrl: z.ZodOptional<z.ZodString>;
5841
+ email: z.ZodOptional<z.ZodString>;
5842
+ fullName: z.ZodOptional<z.ZodString>;
5843
+ slackUserName: z.ZodOptional<z.ZodString>;
5844
+ hasUser: z.ZodOptional<z.ZodLiteral<true>>;
5845
+ slackUserId: z.ZodString;
5846
+ }, z.core.$strict>>;
5847
+ }, z.core.$strict>;
5720
5848
  declare const actorActivityDayReportSchema: z.ZodObject<{
5721
5849
  active: z.ZodNumber;
5722
5850
  conversations: z.ZodNumber;
@@ -5985,11 +6113,17 @@ declare const actorProfileReportSchema: z.ZodObject<{
5985
6113
  public: "public";
5986
6114
  }>>;
5987
6115
  status: z.ZodEnum<{
5988
- active: "active";
5989
- completed: "completed";
5990
- failed: "failed";
5991
- stopped: "stopped";
6116
+ done: "done";
6117
+ needs_input: "needs_input";
6118
+ working: "working";
5992
6119
  }>;
6120
+ treeState: z.ZodOptional<z.ZodEnum<{
6121
+ done: "done";
6122
+ needs_you: "needs_you";
6123
+ working: "working";
6124
+ }>>;
6125
+ watching: z.ZodOptional<z.ZodBoolean>;
6126
+ turnActive: z.ZodBoolean;
5993
6127
  startedAt: z.ZodString;
5994
6128
  lastSeenAt: z.ZodString;
5995
6129
  lastProgressAt: z.ZodString;
@@ -6320,6 +6454,11 @@ declare const actorProfileReportSchema: z.ZodObject<{
6320
6454
  title: z.ZodOptional<z.ZodString>;
6321
6455
  url: z.ZodOptional<z.ZodString>;
6322
6456
  imageUrl: z.ZodOptional<z.ZodString>;
6457
+ size: z.ZodOptional<z.ZodObject<{
6458
+ changedFiles: z.ZodOptional<z.ZodNumber>;
6459
+ additions: z.ZodOptional<z.ZodNumber>;
6460
+ deletions: z.ZodOptional<z.ZodNumber>;
6461
+ }, z.core.$strict>>;
6323
6462
  }, z.core.$strict>>>;
6324
6463
  assignedWork: z.ZodOptional<z.ZodBoolean>;
6325
6464
  finishedWorkAt: z.ZodOptional<z.ZodString>;
@@ -6372,6 +6511,271 @@ type ActorDirectoryReport = z.infer<typeof actorDirectoryReportSchema>;
6372
6511
  type ActorProfileReport = z.infer<typeof actorProfileReportSchema>;
6373
6512
  type PersonalSpendReport = z.infer<typeof personalSpendReportSchema>;
6374
6513
  type PersonParams = z.infer<typeof personParamsSchema>;
6514
+ type MentionablePerson = z.infer<typeof mentionablePersonSchema>;
6515
+ type PeopleSearchReport = z.infer<typeof peopleSearchReportSchema>;
6516
+ /** The most recent merged code changes and Conversations a person card lists. */
6517
+ declare const PERSON_CARD_RECENT_LIMIT = 3;
6518
+ /**
6519
+ * The person card that opens on a reference to a person: their object card,
6520
+ * when Junior knows them, the code changes they merged most recently, and
6521
+ * their recent Junior activity. The activity names only Conversations that
6522
+ * the viewer may read.
6523
+ */
6524
+ declare const personCardReportSchema: z.ZodObject<{
6525
+ activity: z.ZodObject<{
6526
+ lastActiveAt: z.ZodOptional<z.ZodString>;
6527
+ recentConversations: z.ZodArray<z.ZodObject<{
6528
+ conversationId: z.ZodString;
6529
+ lastTurnAt: z.ZodString;
6530
+ title: z.ZodString;
6531
+ }, z.core.$strict>>;
6532
+ }, z.core.$strict>;
6533
+ card: z.ZodOptional<z.ZodObject<{
6534
+ kind: z.ZodLiteral<"object">;
6535
+ key: z.ZodString;
6536
+ label: z.ZodString;
6537
+ objectType: z.ZodEnum<{
6538
+ alert: "alert";
6539
+ automation: "automation";
6540
+ calendar_event: "calendar_event";
6541
+ chart: "chart";
6542
+ code_change: "code_change";
6543
+ conversation: "conversation";
6544
+ dashboard: "dashboard";
6545
+ deployment: "deployment";
6546
+ document: "document";
6547
+ event: "event";
6548
+ item: "item";
6549
+ message: "message";
6550
+ monitor: "monitor";
6551
+ person: "person";
6552
+ release: "release";
6553
+ task: "task";
6554
+ trace: "trace";
6555
+ web_page: "web_page";
6556
+ }>;
6557
+ title: z.ZodString;
6558
+ url: z.ZodNullable<z.ZodURL>;
6559
+ description: z.ZodOptional<z.ZodString>;
6560
+ status: z.ZodOptional<z.ZodString>;
6561
+ trigger: z.ZodOptional<z.ZodString>;
6562
+ warning: z.ZodOptional<z.ZodString>;
6563
+ displayType: z.ZodOptional<z.ZodString>;
6564
+ sourceUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
6565
+ facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
6566
+ type: z.ZodLiteral<"code_change">;
6567
+ summary: z.ZodOptional<z.ZodString>;
6568
+ author: z.ZodOptional<z.ZodString>;
6569
+ sourceBranch: z.ZodOptional<z.ZodString>;
6570
+ targetBranch: z.ZodOptional<z.ZodString>;
6571
+ reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
6572
+ review: z.ZodOptional<z.ZodEnum<{
6573
+ approved: "approved";
6574
+ changes_requested: "changes_requested";
6575
+ required: "required";
6576
+ }>>;
6577
+ checks: z.ZodOptional<z.ZodObject<{
6578
+ passed: z.ZodNumber;
6579
+ failed: z.ZodNumber;
6580
+ pending: z.ZodNumber;
6581
+ }, z.core.$strict>>;
6582
+ mergeable: z.ZodOptional<z.ZodBoolean>;
6583
+ changedFiles: z.ZodOptional<z.ZodNumber>;
6584
+ additions: z.ZodOptional<z.ZodNumber>;
6585
+ deletions: z.ZodOptional<z.ZodNumber>;
6586
+ previewImageUrls: z.ZodOptional<z.ZodArray<z.ZodURL>>;
6587
+ }, z.core.$strict>, z.ZodObject<{
6588
+ type: z.ZodLiteral<"task">;
6589
+ summary: z.ZodOptional<z.ZodString>;
6590
+ assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
6591
+ priority: z.ZodOptional<z.ZodString>;
6592
+ project: z.ZodOptional<z.ZodString>;
6593
+ cycle: z.ZodOptional<z.ZodString>;
6594
+ dueDate: z.ZodOptional<z.ZodISODate>;
6595
+ labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
6596
+ trend: z.ZodOptional<z.ZodObject<{
6597
+ label: z.ZodString;
6598
+ points: z.ZodArray<z.ZodNumber>;
6599
+ }, z.core.$strict>>;
6600
+ }, z.core.$strict>, z.ZodObject<{
6601
+ type: z.ZodLiteral<"deployment">;
6602
+ summary: z.ZodOptional<z.ZodString>;
6603
+ project: z.ZodOptional<z.ZodString>;
6604
+ environment: z.ZodOptional<z.ZodString>;
6605
+ revision: z.ZodOptional<z.ZodString>;
6606
+ branch: z.ZodOptional<z.ZodString>;
6607
+ }, z.core.$strict>, z.ZodObject<{
6608
+ type: z.ZodLiteral<"calendar_event">;
6609
+ summary: z.ZodOptional<z.ZodString>;
6610
+ when: z.ZodOptional<z.ZodString>;
6611
+ attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
6612
+ }, z.core.$strict>, z.ZodObject<{
6613
+ type: z.ZodLiteral<"conversation">;
6614
+ summary: z.ZodOptional<z.ZodString>;
6615
+ participants: z.ZodOptional<z.ZodArray<z.ZodString>>;
6616
+ lastActivityAt: z.ZodOptional<z.ZodISODateTime>;
6617
+ }, z.core.$strict>, z.ZodObject<{
6618
+ type: z.ZodLiteral<"document">;
6619
+ summary: z.ZodOptional<z.ZodString>;
6620
+ owner: z.ZodOptional<z.ZodString>;
6621
+ modifiedAt: z.ZodOptional<z.ZodISODateTime>;
6622
+ thumbnailUrl: z.ZodOptional<z.ZodString>;
6623
+ }, z.core.$strict>, z.ZodObject<{
6624
+ type: z.ZodLiteral<"message">;
6625
+ summary: z.ZodOptional<z.ZodString>;
6626
+ channel: z.ZodOptional<z.ZodString>;
6627
+ author: z.ZodOptional<z.ZodString>;
6628
+ sentAt: z.ZodOptional<z.ZodISODateTime>;
6629
+ }, z.core.$strict>, z.ZodObject<{
6630
+ type: z.ZodLiteral<"web_page">;
6631
+ summary: z.ZodOptional<z.ZodString>;
6632
+ siteName: z.ZodOptional<z.ZodString>;
6633
+ author: z.ZodOptional<z.ZodString>;
6634
+ media: z.ZodOptional<z.ZodEnum<{
6635
+ image: "image";
6636
+ video: "video";
6637
+ }>>;
6638
+ thumbnailUrl: z.ZodOptional<z.ZodString>;
6639
+ }, z.core.$strict>, z.ZodObject<{
6640
+ type: z.ZodLiteral<"chart">;
6641
+ summary: z.ZodOptional<z.ZodString>;
6642
+ display: z.ZodEnum<{
6643
+ area: "area";
6644
+ bar: "bar";
6645
+ line: "line";
6646
+ }>;
6647
+ yAxis: z.ZodString;
6648
+ range: z.ZodString;
6649
+ series: z.ZodArray<z.ZodObject<{
6650
+ label: z.ZodString;
6651
+ points: z.ZodArray<z.ZodNumber>;
6652
+ }, z.core.$strict>>;
6653
+ }, z.core.$strict>, z.ZodObject<{
6654
+ type: z.ZodLiteral<"event">;
6655
+ summary: z.ZodOptional<z.ZodString>;
6656
+ level: z.ZodOptional<z.ZodString>;
6657
+ project: z.ZodOptional<z.ZodString>;
6658
+ release: z.ZodOptional<z.ZodString>;
6659
+ environment: z.ZodOptional<z.ZodString>;
6660
+ occurredAt: z.ZodOptional<z.ZodISODateTime>;
6661
+ }, z.core.$strict>, z.ZodObject<{
6662
+ type: z.ZodLiteral<"release">;
6663
+ summary: z.ZodOptional<z.ZodString>;
6664
+ version: z.ZodString;
6665
+ projects: z.ZodArray<z.ZodString>;
6666
+ newIssues: z.ZodOptional<z.ZodNumber>;
6667
+ crashFreeSessions: z.ZodOptional<z.ZodNumber>;
6668
+ deployCount: z.ZodOptional<z.ZodNumber>;
6669
+ lastDeploy: z.ZodOptional<z.ZodObject<{
6670
+ environment: z.ZodString;
6671
+ finishedAt: z.ZodOptional<z.ZodISODateTime>;
6672
+ }, z.core.$strict>>;
6673
+ releasedAt: z.ZodOptional<z.ZodISODateTime>;
6674
+ }, z.core.$strict>, z.ZodObject<{
6675
+ type: z.ZodLiteral<"monitor">;
6676
+ summary: z.ZodOptional<z.ZodString>;
6677
+ kind: z.ZodEnum<{
6678
+ cron: "cron";
6679
+ metric: "metric";
6680
+ uptime: "uptime";
6681
+ }>;
6682
+ state: z.ZodEnum<{
6683
+ failing: "failing";
6684
+ ok: "ok";
6685
+ paused: "paused";
6686
+ pending: "pending";
6687
+ }>;
6688
+ project: z.ZodOptional<z.ZodString>;
6689
+ environment: z.ZodOptional<z.ZodString>;
6690
+ detail: z.ZodOptional<z.ZodString>;
6691
+ lastCheckedAt: z.ZodOptional<z.ZodISODateTime>;
6692
+ trend: z.ZodOptional<z.ZodObject<{
6693
+ label: z.ZodString;
6694
+ points: z.ZodArray<z.ZodNumber>;
6695
+ }, z.core.$strict>>;
6696
+ }, z.core.$strict>, z.ZodObject<{
6697
+ type: z.ZodLiteral<"alert">;
6698
+ summary: z.ZodOptional<z.ZodString>;
6699
+ enabled: z.ZodBoolean;
6700
+ projects: z.ZodArray<z.ZodString>;
6701
+ trigger: z.ZodOptional<z.ZodString>;
6702
+ notifies: z.ZodArray<z.ZodString>;
6703
+ lastTriggeredAt: z.ZodOptional<z.ZodISODateTime>;
6704
+ }, z.core.$strict>, z.ZodObject<{
6705
+ type: z.ZodLiteral<"trace">;
6706
+ summary: z.ZodOptional<z.ZodString>;
6707
+ rootOp: z.ZodOptional<z.ZodString>;
6708
+ rootName: z.ZodOptional<z.ZodString>;
6709
+ durationMs: z.ZodNumber;
6710
+ spanCount: z.ZodNumber;
6711
+ errorCount: z.ZodNumber;
6712
+ performanceIssueCount: z.ZodNumber;
6713
+ projects: z.ZodArray<z.ZodString>;
6714
+ spans: z.ZodArray<z.ZodObject<{
6715
+ op: z.ZodOptional<z.ZodString>;
6716
+ name: z.ZodString;
6717
+ startMs: z.ZodNumber;
6718
+ durationMs: z.ZodNumber;
6719
+ issue: z.ZodOptional<z.ZodBoolean>;
6720
+ }, z.core.$strict>>;
6721
+ }, z.core.$strict>, z.ZodObject<{
6722
+ type: z.ZodLiteral<"dashboard">;
6723
+ summary: z.ZodOptional<z.ZodString>;
6724
+ widgetCount: z.ZodNumber;
6725
+ projects: z.ZodArray<z.ZodString>;
6726
+ environments: z.ZodArray<z.ZodString>;
6727
+ range: z.ZodString;
6728
+ widgets: z.ZodArray<z.ZodObject<{
6729
+ title: z.ZodString;
6730
+ display: z.ZodString;
6731
+ }, z.core.$strict>>;
6732
+ charts: z.ZodArray<z.ZodObject<{
6733
+ title: z.ZodString;
6734
+ display: z.ZodEnum<{
6735
+ area: "area";
6736
+ bar: "bar";
6737
+ line: "line";
6738
+ }>;
6739
+ series: z.ZodArray<z.ZodObject<{
6740
+ label: z.ZodString;
6741
+ points: z.ZodArray<z.ZodNumber>;
6742
+ }, z.core.$strict>>;
6743
+ }, z.core.$strict>>;
6744
+ }, z.core.$strict>, z.ZodObject<{
6745
+ type: z.ZodLiteral<"person">;
6746
+ summary: z.ZodOptional<z.ZodString>;
6747
+ email: z.ZodOptional<z.ZodString>;
6748
+ slackHandle: z.ZodOptional<z.ZodString>;
6749
+ githubHandle: z.ZodOptional<z.ZodString>;
6750
+ avatarUrl: z.ZodOptional<z.ZodString>;
6751
+ }, z.core.$strict>], "type">>;
6752
+ plugin: z.ZodString;
6753
+ }, z.core.$strict>>;
6754
+ mergedChanges: z.ZodArray<z.ZodObject<{
6755
+ closedAt: z.ZodOptional<z.ZodString>;
6756
+ draft: z.ZodBoolean;
6757
+ id: z.ZodString;
6758
+ lastActivityAt: z.ZodOptional<z.ZodString>;
6759
+ mergedAt: z.ZodOptional<z.ZodString>;
6760
+ number: z.ZodNumber;
6761
+ openedAt: z.ZodString;
6762
+ provider: z.ZodString;
6763
+ repository: z.ZodString;
6764
+ size: z.ZodOptional<z.ZodObject<{
6765
+ changedFiles: z.ZodOptional<z.ZodNumber>;
6766
+ additions: z.ZodOptional<z.ZodNumber>;
6767
+ deletions: z.ZodOptional<z.ZodNumber>;
6768
+ }, z.core.$strict>>;
6769
+ state: z.ZodEnum<{
6770
+ closed: "closed";
6771
+ merged: "merged";
6772
+ open: "open";
6773
+ }>;
6774
+ title: z.ZodOptional<z.ZodString>;
6775
+ url: z.ZodOptional<z.ZodString>;
6776
+ }, z.core.$strict>>;
6777
+ }, z.core.$strict>;
6778
+ type PersonCardReport = z.output<typeof personCardReportSchema>;
6375
6779
  declare const locationParamsSchema: z.ZodObject<{
6376
6780
  locationId: z.ZodString;
6377
6781
  }, z.core.$strict>;
@@ -6611,11 +7015,17 @@ declare const locationDetailReportSchema: z.ZodObject<{
6611
7015
  public: "public";
6612
7016
  }>>;
6613
7017
  status: z.ZodEnum<{
6614
- active: "active";
6615
- completed: "completed";
6616
- failed: "failed";
6617
- stopped: "stopped";
7018
+ done: "done";
7019
+ needs_input: "needs_input";
7020
+ working: "working";
6618
7021
  }>;
7022
+ treeState: z.ZodOptional<z.ZodEnum<{
7023
+ done: "done";
7024
+ needs_you: "needs_you";
7025
+ working: "working";
7026
+ }>>;
7027
+ watching: z.ZodOptional<z.ZodBoolean>;
7028
+ turnActive: z.ZodBoolean;
6619
7029
  startedAt: z.ZodString;
6620
7030
  lastSeenAt: z.ZodString;
6621
7031
  lastProgressAt: z.ZodString;
@@ -6946,6 +7356,11 @@ declare const locationDetailReportSchema: z.ZodObject<{
6946
7356
  title: z.ZodOptional<z.ZodString>;
6947
7357
  url: z.ZodOptional<z.ZodString>;
6948
7358
  imageUrl: z.ZodOptional<z.ZodString>;
7359
+ size: z.ZodOptional<z.ZodObject<{
7360
+ changedFiles: z.ZodOptional<z.ZodNumber>;
7361
+ additions: z.ZodOptional<z.ZodNumber>;
7362
+ deletions: z.ZodOptional<z.ZodNumber>;
7363
+ }, z.core.$strict>>;
6949
7364
  }, z.core.$strict>>>;
6950
7365
  assignedWork: z.ZodOptional<z.ZodBoolean>;
6951
7366
  finishedWorkAt: z.ZodOptional<z.ZodString>;
@@ -6968,6 +7383,20 @@ declare const apiErrorSchema: z.ZodObject<{
6968
7383
  error: z.ZodString;
6969
7384
  }, z.core.$strict>;
6970
7385
  type ApiError = z.infer<typeof apiErrorSchema>;
7386
+ /**
7387
+ * Carries a content token in both directions. A custom header, not `ETag` /
7388
+ * `If-None-Match`: the Vercel CDN removes `If-None-Match` before it calls the
7389
+ * function, with every `Cache-Control` value, and no setting stops this. The
7390
+ * CDN then answers a match with a 304 only after the function built the full
7391
+ * response, so the read is not saved and the 304 does not show in app
7392
+ * telemetry. A probe deployment confirmed this for `private, no-cache`,
7393
+ * `no-cache`, `private, no-store`, `private, max-age=0, must-revalidate`, and
7394
+ * no header. See
7395
+ * https://vercel.com/docs/manage-cdn-usage#optimizing-fast-origin-transfer.
7396
+ * A read that sends the token of the copy it holds gets an empty 304 while
7397
+ * the content is unchanged.
7398
+ */
7399
+ declare const CONTENT_VERSION_HEADER = "x-junior-content-version";
6971
7400
  declare const connectionSchema: z.ZodObject<{
6972
7401
  provider: z.ZodString;
6973
7402
  displayName: z.ZodString;
@@ -7112,6 +7541,95 @@ declare const cacheWarmingSavingsRefillResponseSchema: z.ZodObject<{
7112
7541
  }, z.core.$strict>;
7113
7542
  }, z.core.$strict>;
7114
7543
  type CacheWarmingSavingsRefill = z.output<typeof cacheWarmingSavingsRefillSchema>;
7544
+ declare const cacheHealthQuerySchema: z.ZodObject<{
7545
+ window: z.ZodDefault<z.ZodEnum<{
7546
+ "24h": "24h";
7547
+ "7d": "7d";
7548
+ }>>;
7549
+ }, z.core.$strict>;
7550
+ declare const cacheHealthReportSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
7551
+ status: z.ZodLiteral<"ok">;
7552
+ window: z.ZodEnum<{
7553
+ "24h": "24h";
7554
+ "7d": "7d";
7555
+ }>;
7556
+ modelId: z.ZodString;
7557
+ fetchedAt: z.ZodString;
7558
+ stale: z.ZodBoolean;
7559
+ buckets: z.ZodArray<z.ZodObject<{
7560
+ calls: z.ZodNumber;
7561
+ inputTokens: z.ZodNumber;
7562
+ cacheWriteTokens: z.ZodNumber;
7563
+ start: z.ZodString;
7564
+ fullRewrites: z.ZodNumber;
7565
+ }, z.core.$strict>>;
7566
+ lastWeek: z.ZodObject<{
7567
+ calls: z.ZodNumber;
7568
+ inputTokens: z.ZodNumber;
7569
+ cacheWriteTokens: z.ZodNumber;
7570
+ }, z.core.$strict>;
7571
+ warmups: z.ZodObject<{
7572
+ sentByTurnEnding: z.ZodRecord<z.ZodString, z.ZodNumber>;
7573
+ skipReasons: z.ZodRecord<z.ZodString, z.ZodNumber>;
7574
+ costUsd: z.ZodNumber;
7575
+ }, z.core.$strict>;
7576
+ idlePeriods: z.ZodObject<{
7577
+ saved: z.ZodNumber;
7578
+ notWarmed: z.ZodNumber;
7579
+ stoppedEarly: z.ZodNumber;
7580
+ cacheLost: z.ZodNumber;
7581
+ savedUsd: z.ZodNumber;
7582
+ }, z.core.$strict>;
7583
+ breakers: z.ZodArray<z.ZodObject<{
7584
+ provider: z.ZodString;
7585
+ open: z.ZodBoolean;
7586
+ }, z.core.$strict>>;
7587
+ breakerEvents: z.ZodObject<{
7588
+ opened: z.ZodNumber;
7589
+ closed: z.ZodNumber;
7590
+ }, z.core.$strict>;
7591
+ }, z.core.$strict>, z.ZodObject<{
7592
+ status: z.ZodLiteral<"unconfigured">;
7593
+ missing: z.ZodArray<z.ZodEnum<{
7594
+ SENTRY_DSN: "SENTRY_DSN";
7595
+ SENTRY_ORG_SLUG: "SENTRY_ORG_SLUG";
7596
+ SENTRY_READ_TOKEN: "SENTRY_READ_TOKEN";
7597
+ }>>;
7598
+ }, z.core.$strict>, z.ZodObject<{
7599
+ status: z.ZodLiteral<"denied">;
7600
+ }, z.core.$strict>, z.ZodObject<{
7601
+ status: z.ZodLiteral<"rate_limited">;
7602
+ }, z.core.$strict>, z.ZodObject<{
7603
+ status: z.ZodLiteral<"busy">;
7604
+ }, z.core.$strict>], "status">;
7605
+ type CacheHealthReport = z.output<typeof cacheHealthReportSchema>;
7606
+ /**
7607
+ * The routing rule of the "Enabled providers" admin setting.
7608
+ *
7609
+ * This module imports nothing, so the dashboard client bundle can use it.
7610
+ */
7611
+ /**
7612
+ * Return the AI Gateway `only` list for one model, or undefined to send none.
7613
+ *
7614
+ * `enabled` is null when every provider is enabled. `served` lists the
7615
+ * providers that serve the model. A model that no enabled provider serves
7616
+ * stays unfiltered, so unchecking its providers can never break it. A filter
7617
+ * that keeps every provider of the model changes nothing, so it is not sent.
7618
+ */
7619
+ declare function gatewayOnlyProviders(enabled: readonly string[] | null, served: readonly string[]): string[] | undefined;
7620
+ /** The "Enabled providers" setting, with what the gateway lists for each model. */
7621
+ declare const gatewayProvidersSchema: z.ZodObject<{
7622
+ enabled: z.ZodNullable<z.ZodArray<z.ZodString>>;
7623
+ providers: z.ZodArray<z.ZodString>;
7624
+ models: z.ZodArray<z.ZodObject<{
7625
+ id: z.ZodString;
7626
+ providers: z.ZodArray<z.ZodString>;
7627
+ }, z.core.$strict>>;
7628
+ }, z.core.$strict>;
7629
+ declare const updateGatewayProvidersBodySchema: z.ZodObject<{
7630
+ enabled: z.ZodNullable<z.ZodArray<z.ZodString>>;
7631
+ }, z.core.$strict>;
7632
+ type GatewayProviders = z.infer<typeof gatewayProvidersSchema>;
7115
7633
  declare const serviceAccountSchema: z.ZodObject<{
7116
7634
  provider: z.ZodString;
7117
7635
  displayName: z.ZodString;
@@ -9268,7 +9786,6 @@ declare const reviewItemChangeRecordSchema: z.ZodObject<{
9268
9786
  type ReviewItemChangeRecord = z.output<typeof reviewItemChangeRecordSchema>;
9269
9787
  /** One Review item as the viewer sees it. */
9270
9788
  declare const reviewItemSchema: z.ZodObject<{
9271
- addedByConversationId: z.ZodString;
9272
9789
  addedByLabel: z.ZodOptional<z.ZodString>;
9273
9790
  addedByTurnId: z.ZodOptional<z.ZodString>;
9274
9791
  answer: z.ZodOptional<z.ZodObject<{
@@ -9278,6 +9795,7 @@ declare const reviewItemSchema: z.ZodObject<{
9278
9795
  }, z.core.$strict>>;
9279
9796
  assignedToEveryone: z.ZodBoolean;
9280
9797
  assignees: z.ZodArray<z.ZodObject<{
9798
+ avatarUrl: z.ZodOptional<z.ZodString>;
9281
9799
  displayName: z.ZodOptional<z.ZodString>;
9282
9800
  email: z.ZodString;
9283
9801
  userId: z.ZodString;
@@ -9289,6 +9807,7 @@ declare const reviewItemSchema: z.ZodObject<{
9289
9807
  closeReason: z.ZodOptional<z.ZodString>;
9290
9808
  closedAt: z.ZodOptional<z.ZodString>;
9291
9809
  closedBy: z.ZodOptional<z.ZodObject<{
9810
+ avatarUrl: z.ZodOptional<z.ZodString>;
9292
9811
  displayName: z.ZodOptional<z.ZodString>;
9293
9812
  email: z.ZodString;
9294
9813
  userId: z.ZodString;
@@ -9300,6 +9819,20 @@ declare const reviewItemSchema: z.ZodObject<{
9300
9819
  action: "action";
9301
9820
  notice: "notice";
9302
9821
  }>;
9822
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
9823
+ avatarUrl: z.ZodOptional<z.ZodString>;
9824
+ email: z.ZodOptional<z.ZodString>;
9825
+ fullName: z.ZodOptional<z.ZodString>;
9826
+ slackUserId: z.ZodOptional<z.ZodString>;
9827
+ slackUserName: z.ZodOptional<z.ZodString>;
9828
+ }, z.core.$strict>>>;
9829
+ owner: z.ZodObject<{
9830
+ id: z.ZodString;
9831
+ kind: z.ZodEnum<{
9832
+ automation: "automation";
9833
+ conversation: "conversation";
9834
+ }>;
9835
+ }, z.core.$strict>;
9303
9836
  related: z.ZodOptional<z.ZodObject<{
9304
9837
  conversationIds: z.ZodArray<z.ZodString>;
9305
9838
  items: z.ZodArray<z.ZodObject<{
@@ -9342,7 +9875,7 @@ declare const reviewItemSchema: z.ZodObject<{
9342
9875
  url: z.ZodOptional<z.ZodString>;
9343
9876
  }, z.core.$strict>>>;
9344
9877
  }, z.core.$strip>>;
9345
- rootConversationId: z.ZodString;
9878
+ rootConversationId: z.ZodOptional<z.ZodString>;
9346
9879
  status: z.ZodEnum<{
9347
9880
  dismissed: "dismissed";
9348
9881
  done: "done";
@@ -9370,6 +9903,12 @@ declare const reviewItemSchema: z.ZodObject<{
9370
9903
  trace: "trace";
9371
9904
  web_page: "web_page";
9372
9905
  }>>;
9906
+ resource: z.ZodOptional<z.ZodObject<{
9907
+ events: z.ZodArray<z.ZodString>;
9908
+ namespace: z.ZodString;
9909
+ phrases: z.ZodRecord<z.ZodString, z.ZodString>;
9910
+ resourceType: z.ZodString;
9911
+ }, z.core.$strict>>;
9373
9912
  title: z.ZodOptional<z.ZodString>;
9374
9913
  url: z.ZodOptional<z.ZodString>;
9375
9914
  }, z.core.$strict>>;
@@ -9382,13 +9921,12 @@ declare const reviewItemSchema: z.ZodObject<{
9382
9921
  }, z.core.$strict>;
9383
9922
  type ReviewItemPayload = z.output<typeof reviewItemSchema>;
9384
9923
  /**
9385
- * One page of the review desk list. Open items come first, oldest first.
9924
+ * One page of the Inbox list. Open items come first, oldest first.
9386
9925
  * The first page of a search, or of a list that includes archived items,
9387
9926
  * also has the newest archived matches.
9388
9927
  */
9389
9928
  declare const reviewItemListSchema: z.ZodObject<{
9390
9929
  items: z.ZodArray<z.ZodObject<{
9391
- addedByConversationId: z.ZodString;
9392
9930
  addedByLabel: z.ZodOptional<z.ZodString>;
9393
9931
  addedByTurnId: z.ZodOptional<z.ZodString>;
9394
9932
  answer: z.ZodOptional<z.ZodObject<{
@@ -9398,6 +9936,7 @@ declare const reviewItemListSchema: z.ZodObject<{
9398
9936
  }, z.core.$strict>>;
9399
9937
  assignedToEveryone: z.ZodBoolean;
9400
9938
  assignees: z.ZodArray<z.ZodObject<{
9939
+ avatarUrl: z.ZodOptional<z.ZodString>;
9401
9940
  displayName: z.ZodOptional<z.ZodString>;
9402
9941
  email: z.ZodString;
9403
9942
  userId: z.ZodString;
@@ -9409,6 +9948,7 @@ declare const reviewItemListSchema: z.ZodObject<{
9409
9948
  closeReason: z.ZodOptional<z.ZodString>;
9410
9949
  closedAt: z.ZodOptional<z.ZodString>;
9411
9950
  closedBy: z.ZodOptional<z.ZodObject<{
9951
+ avatarUrl: z.ZodOptional<z.ZodString>;
9412
9952
  displayName: z.ZodOptional<z.ZodString>;
9413
9953
  email: z.ZodString;
9414
9954
  userId: z.ZodString;
@@ -9420,6 +9960,20 @@ declare const reviewItemListSchema: z.ZodObject<{
9420
9960
  action: "action";
9421
9961
  notice: "notice";
9422
9962
  }>;
9963
+ mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
9964
+ avatarUrl: z.ZodOptional<z.ZodString>;
9965
+ email: z.ZodOptional<z.ZodString>;
9966
+ fullName: z.ZodOptional<z.ZodString>;
9967
+ slackUserId: z.ZodOptional<z.ZodString>;
9968
+ slackUserName: z.ZodOptional<z.ZodString>;
9969
+ }, z.core.$strict>>>;
9970
+ owner: z.ZodObject<{
9971
+ id: z.ZodString;
9972
+ kind: z.ZodEnum<{
9973
+ automation: "automation";
9974
+ conversation: "conversation";
9975
+ }>;
9976
+ }, z.core.$strict>;
9423
9977
  related: z.ZodOptional<z.ZodObject<{
9424
9978
  conversationIds: z.ZodArray<z.ZodString>;
9425
9979
  items: z.ZodArray<z.ZodObject<{
@@ -9462,7 +10016,7 @@ declare const reviewItemListSchema: z.ZodObject<{
9462
10016
  url: z.ZodOptional<z.ZodString>;
9463
10017
  }, z.core.$strict>>>;
9464
10018
  }, z.core.$strip>>;
9465
- rootConversationId: z.ZodString;
10019
+ rootConversationId: z.ZodOptional<z.ZodString>;
9466
10020
  status: z.ZodEnum<{
9467
10021
  dismissed: "dismissed";
9468
10022
  done: "done";
@@ -9490,6 +10044,12 @@ declare const reviewItemListSchema: z.ZodObject<{
9490
10044
  trace: "trace";
9491
10045
  web_page: "web_page";
9492
10046
  }>>;
10047
+ resource: z.ZodOptional<z.ZodObject<{
10048
+ events: z.ZodArray<z.ZodString>;
10049
+ namespace: z.ZodString;
10050
+ phrases: z.ZodRecord<z.ZodString, z.ZodString>;
10051
+ resourceType: z.ZodString;
10052
+ }, z.core.$strict>>;
9493
10053
  title: z.ZodOptional<z.ZodString>;
9494
10054
  url: z.ZodOptional<z.ZodString>;
9495
10055
  }, z.core.$strict>>;
@@ -9504,8 +10064,9 @@ declare const reviewItemListSchema: z.ZodObject<{
9504
10064
  nextCursor: z.ZodOptional<z.ZodString>;
9505
10065
  }, z.core.$strict>;
9506
10066
  /**
9507
- * The counts behind the Inbox badge, which shows the sum of `needsViewer`
9508
- * and `automations`, and behind the Inbox entries.
10067
+ * The counts behind the Inbox badge, which shows `needsViewer`, and behind
10068
+ * the Inbox entries. An Automation alert is a Review item, so
10069
+ * `needsViewer` counts it.
9509
10070
  */
9510
10071
  declare const reviewItemCountSchema: z.ZodObject<{
9511
10072
  automations: z.ZodOptional<z.ZodNumber>;
@@ -9542,16 +10103,94 @@ declare const reviewItemActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
9542
10103
  }, z.core.$strict>;
9543
10104
  }, z.core.$strict>], "action">;
9544
10105
  type ReviewItemActionBody = z.output<typeof reviewItemActionSchema>;
10106
+ /**
10107
+ * The Inbox row of a snooze: one Conversation, one item in it, or one item
10108
+ * on its own.
10109
+ */
10110
+ declare const inboxSnoozeSubjectSchema: z.ZodUnion<readonly [z.ZodObject<{
10111
+ conversationId: z.ZodString;
10112
+ reviewItemId: z.ZodOptional<z.ZodString>;
10113
+ }, z.core.$strict>, z.ZodObject<{
10114
+ reviewItemId: z.ZodString;
10115
+ }, z.core.$strict>]>;
10116
+ /**
10117
+ * An Event that ends a snooze: `wake` shows the item again, and `resolve`
10118
+ * dismisses it. The Event is on the page at `resourceUrl`, such as another
10119
+ * pull request, or on each item's subject when it is unset.
10120
+ */
10121
+ declare const inboxSnoozeTriggerSchema: z.ZodObject<{
10122
+ eventType: z.ZodString;
10123
+ outcome: z.ZodEnum<{
10124
+ resolve: "resolve";
10125
+ wake: "wake";
10126
+ }>;
10127
+ resourceUrl: z.ZodOptional<z.ZodString>;
10128
+ }, z.core.$strict>;
10129
+ /**
10130
+ * An Event resource that a snooze can wait on, such as a pull request, and
10131
+ * the Event types of its resource type.
10132
+ */
10133
+ declare const inboxSnoozeResourceSchema: z.ZodObject<{
10134
+ events: z.ZodArray<z.ZodString>;
10135
+ namespace: z.ZodString;
10136
+ phrases: z.ZodRecord<z.ZodString, z.ZodString>;
10137
+ resourceType: z.ZodString;
10138
+ }, z.core.$strict>;
10139
+ /**
10140
+ * Most triggers in one snooze. It bounds the trigger rows that one request
10141
+ * writes for each item, and fits every Event of one page: a GitHub pull
10142
+ * request has 13.
10143
+ */
10144
+ declare const INBOX_SNOOZE_MAX_TRIGGERS = 30;
10145
+ /**
10146
+ * `POST /api/inbox/snoozes` body: hide the row's open items from the viewer
10147
+ * until `wakeAt` or one of `triggers` fires, whichever is first. A later
10148
+ * item in the row shows by itself.
10149
+ */
10150
+ declare const inboxSnoozeCreateSchema: z.ZodUnion<readonly [z.ZodObject<{
10151
+ conversationId: z.ZodString;
10152
+ reviewItemId: z.ZodOptional<z.ZodString>;
10153
+ triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
10154
+ eventType: z.ZodString;
10155
+ outcome: z.ZodEnum<{
10156
+ resolve: "resolve";
10157
+ wake: "wake";
10158
+ }>;
10159
+ resourceUrl: z.ZodOptional<z.ZodString>;
10160
+ }, z.core.$strict>>>;
10161
+ wakeAt: z.ZodOptional<z.ZodString>;
10162
+ }, z.core.$strict>, z.ZodObject<{
10163
+ reviewItemId: z.ZodString;
10164
+ triggers: z.ZodOptional<z.ZodArray<z.ZodObject<{
10165
+ eventType: z.ZodString;
10166
+ outcome: z.ZodEnum<{
10167
+ resolve: "resolve";
10168
+ wake: "wake";
10169
+ }>;
10170
+ resourceUrl: z.ZodOptional<z.ZodString>;
10171
+ }, z.core.$strict>>>;
10172
+ wakeAt: z.ZodOptional<z.ZodString>;
10173
+ }, z.core.$strict>]>;
10174
+ /** The items that a snooze hid from the viewer, one snooze each. */
10175
+ declare const inboxSnoozeSchema: z.ZodObject<{
10176
+ reviewItemIds: z.ZodArray<z.ZodString>;
10177
+ }, z.core.$strict>;
10178
+ type InboxSnoozeCreateBody = z.input<typeof inboxSnoozeCreateSchema>;
10179
+ type InboxSnoozeSubjectBody = z.input<typeof inboxSnoozeSubjectSchema>;
10180
+ type InboxSnoozeTrigger = z.output<typeof inboxSnoozeTriggerSchema>;
10181
+ type InboxSnoozeResource = z.output<typeof inboxSnoozeResourceSchema>;
10182
+ /** The most Conversations that one versions read gives tokens for. */
10183
+ declare const VERSIONS_CONVERSATION_LIMIT = 50;
9545
10184
  /**
9546
10185
  * Opaque change tokens for the dashboard reads that refresh by themselves.
9547
10186
  * A token changes when the read it covers can change. Compare a token only
9548
10187
  * with an earlier token of the same field.
9549
10188
  */
9550
10189
  declare const versionsSchema: z.ZodObject<{
9551
- conversation: z.ZodOptional<z.ZodString>;
10190
+ conversationDetails: z.ZodRecord<z.ZodString, z.ZodString>;
9552
10191
  conversations: z.ZodString;
9553
10192
  reviewItems: z.ZodString;
9554
10193
  spend: z.ZodString;
9555
10194
  }, z.core.$strict>;
9556
10195
  type Versions = z.output<typeof versionsSchema>;
9557
- export { ListedAutomationVersion as $, AGENT_REPLY_EVENT_TYPE as $a, CONVERSATION_VERSION_HEADER as $i, CONVERSATION_TITLE_MAX_LENGTH as $n, CancelConversationPendingMessagesResponse as $r, cacheWarmingSavingsReportSchema as $t, runtimeInfoReportSchema as A, conversationReportEventDataSchema as Aa, codePersonReportSchema as Ai, ActorTotalsReport as An, ContinueConversationInSlackResponse as Ar, workspaceBodySchema as At, AutomationExecutionList as B, annotationCard as Ba, MAX_OBJECT_LINKS as Bi, ConversationPlanReport as Bn, conversationStatsReportSchema as Br, personalTokenListSchema as Bt, healthReportSchema as C, conversationAuxiliaryCostsSchema as Ca, CodeRepositoryReport as Ci, locationDirectoryReportSchema as Cn, ConversationCatchUp as Cr, eventAutomationSummarySchema as Ct, pluginPackageContentReportSchema as D, conversationEventPageSchema as Da, codeChangeSummaryReportSchema as Di, ActorDirectoryWindows as Dn, ConversationReadPosition as Dr, WorkspaceReport as Dt, pluginPackageContentItemReportSchema as E, conversationEventHistorySchema as Ea, codeActivityDaySchema as Ei, ActorDirectoryReport as En, conversationCatchUpSchema as Er, WorkspaceListReport as Et, StatsReport as F, forkConversationBodySchema as Fa, ConversationChildAgentTotals as Fi, actorDirectoryReportSchema as Fn, ConversationMetricDay as Fr, USER_CUSTOMIZATION_MAX_CHARS as Ft, AutomationListQuery as G, USER_INPUT_NOTE as Ga, objectLinksReportSchema as Gi, ConversationWatch as Gn, archiveConversationResponseSchema as Gr, serviceAccountListSchema as Gt, AutomationList as H, resolveMessageCards as Ha, attachObjectLinkBodySchema as Hi, conversationPlanItemSchema as Hn, ArchiveConversationResponse as Hr, personalTokenParamsSchema as Ht, statSchema as I, forkConversationResponseSchema as Ia, conversationChildAgentTotalsSchema as Ii, actorProfileReportSchema as In, ConversationStatsItem as Ir, userCustomizationSchema as It, AutomationRunWindows as J, UserInputRequest as Ja, personObjectCard as Ji, conversationWatchesReportSchema as Jn, ConversationFeed as Jr, startServiceAccountSignInResponseSchema as Jt, AutomationRun as K, UserInputAnswer as Ka, conversationObjectCard as Ki, ConversationWatchesReport as Kn, archiveDoneConversationsResponseSchema as Kr, serviceAccountParamsSchema as Kt, statsReportSchema as L, conversationTurnFailureCodeSchema as La, DailyConversationActivity as Li, personParamsSchema as Ln, ConversationStatsReport as Lr, PersonalTokenMetadata as Lt, skillReportSchema as M, conversationSummaryReportSchema as Ma, codeRepositoryQuerySchema as Mi, PeopleActivityDayReport as Mn, continueConversationInSlackResponseSchema as Mr, workspaceParamsSchema as Mt, skillReportsSchema as N, createConversationBodySchema as Na, codeRepositoryReportSchema as Ni, PersonParams as Nn, StopConversationTurnResponse as Nr, workspaceRepoSchema as Nt, pluginSchema as O, conversationEventsQuerySchema as Oa, codeChangeSummarySchema as Oi, ActorProfileReport as On, conversationReadPositionSchema as Or, baselineSnapshotSchema as Ot, StatReport as P, createConversationMessageBodySchema as Pa, codeRepositorySummarySchema as Pi, PersonalSpendReport as Pn, stopConversationTurnResponseSchema as Pr, workspaceSchema as Pt, AutomationVersionList as Q, webMessageId as Qa, CONVERSATION_DETAIL_VERSION_HEADER as Qi, conversationChildAgentsReportSchema as Qn, CancelConversationPendingMessagesBody as Qr, cacheWarmingSavingsRefillResponseSchema as Qt, AutomationEdit as R, conversationTurnFailureReasonSchema as Ra, dailyConversationActivitySchema as Ri, personalSpendReportSchema as Rn, GuardianMetricDay as Rr, createPersonalTokenBodySchema as Rt, SkillReports as S, conversationActivityPreviewSchema as Sa, CodePersonReport as Si, locationDetailReportSchema as Sn, reorderPinnedConversationsResponseSchema as Sr, automationVersionSchema as St, pluginOperationalReportSchema as T, conversationDetailReportSchema as Ta, IDLE_CHANGE_DAYS as Ti, ActorActivityDayReport as Tn, conversationCatchUpBodySchema as Tr, BaselineSnapshotReport as Tt, AutomationListItem as U, AutomationTask as Ua, attachObjectLinkResponseSchema as Ui, conversationPlanReportSchema as Un, ConversationAutoArchive as Ur, revokePersonalTokenResponseSchema as Ut, AutomationExecutionStatusDay as V, messageCardText as Va, ObjectLinksReport as Vi, PlanItemStatusBody as Vn, ArchiveConversationBody as Vr, personalTokenMetadataSchema as Vt, AutomationListPage as W, AutomationCard as Wa, objectLinksQuerySchema as Wi, planItemStatusBodySchema as Wn, archiveConversationBodySchema as Wr, disconnectServiceAccountResponseSchema as Wt, AutomationSummary as X, isEmptyUserInputAnswer as Xa, AcceptedConversationMessage as Xi, ConversationChildAgentsReport as Xn, conversationFeedQuerySchema as Xr, CacheWarmingSavingsReport as Xt, AutomationScheduleIntent as Y, buttonUserInputField as Ya, webPageObjectCard as Yi, ConversationChildAgent as Yn, ConversationFeedItem as Yr, CacheWarmingSavingsRefill as Yt, AutomationUpdate as Z, normalizeUserInputAnswer as Za, ActorIdentity as Zi, conversationChildAgentSchema as Zn, conversationFeedSchema as Zr, cacheWarmingBreakerListSchema as Zt, PluginPackageContentReport as _, ConversationTurnFailureReason as _a, attachmentUploadSchema as _i, LocationDetailReport as _n, ReorderPinnedConversationsBody as _r, automationSummarySchema as _t, ReviewItemPayload as a, ConversationEventHistory as aa, cancelConversationPendingMessagesBodySchema as ai, NotificationSchedule as an, INLINE_VIDEO_TYPES as ao, ConversationOutline as ar, automationExecutionStatusDaySchema as at, SkillDetailReport as b, CreateConversationMessageBody as ba, CodeChangeSummaryReport as bi, LocationSummaryReport as bn, pinConversationResponseSchema as br, automationVersionListSchema as bt, reviewItemListSchema as c, ConversationParams as ca, conversationPendingAuthorizationSchema as ci, connectionListSchema as cn, ConversationSubscriptionResponse as cr, automationListPageSchema as ct, ReviewItemChangeRecord as d, ConversationReportMessageEvent as da, conversationPendingMessagesReportSchema as di, disconnectConnectionResponseSchema as dn, ConversationDeliveryBody as dr, automationParamsSchema as dt, ConversationActivityPreview as ea, ConversationPendingMessage as ei, closeCacheWarmingBreakerResponseSchema as en, isAgentInvocationResultEventType as eo, RenameConversationBody as er, automationEditErrorSchema as et, HealthReport as f, ConversationReportStatus as fa, conversationUnchangedDetailWithMailboxSchema as fi, startConnectionResponseSchema as fn, ConversationDeliveryResponse as fr, automationRunListSchema as ft, PluginPackageContentItemReport as g, ConversationTurnFailureCode as ga, CreateAttachmentUploadBody as gi, LocationActorSummaryReport as gn, PinConversationResponse as gr, automationSchedulePreviewSchema as gt, PluginOperationalReportFeed as h, ConversationSurface as ha, AttachmentUpload as hi, LocationActivityDayReport as hn, PinConversationBody as hr, automationScheduleIntentSchema as ht, ReviewItemActionBody as i, ConversationDetailReport as ia, SteerConversationPendingMessagesResponse as ii, DEFAULT_NOTIFICATION_SCHEDULE as in, MessageAttachment as io, CONVERSATION_OUTLINE_TEXT_LENGTH as ir, automationExecutionSchema as it, skillDetailReportSchema as j, conversationReportEventSchema as ja, codeRepositoryParamsSchema as ji, ActorWindowMetrics as jn, continueConversationInSlackBodySchema as jr, workspaceListSchema as jt, pluginsSchema as k, conversationParamsSchema as ka, codeOverviewReportSchema as ki, ActorSummaryReport as kn, ContinueConversationInSlackBody as kr, deleteWorkspaceResponseSchema as kt, reviewItemSchema as l, ConversationReportEvent as la, conversationPendingMessageDeliverySchema as li, connectionParamsSchema as ln, conversationSubscriptionBodySchema as lr, automationListQuerySchema as lt, PluginOperationalReport as m, ConversationSummaryReport as ma, steerConversationPendingMessagesResponseSchema as mi, apiErrorSchema as mn, conversationDeliveryResponseSchema as mr, automationRunWindowsSchema as mt, Versions as n, ConversationAuxiliaryCosts as na, ConversationPendingMessagesReport as ni, notificationSettingsSchema as nn, MAX_ATTACHMENT_BYTES as no, renameConversationBodySchema as nr, automationEventCatalogSchema as nt, reviewItemActionSchema as o, ConversationEventPage as oa, cancelConversationPendingMessagesResponseSchema as oi, isWithinNotificationSchedule as on, INPUT_IMAGE_TYPES as oo, conversationOutlineSchema as or, automationExecutionStatusSchema as ot, Plugin as p, ConversationSourceTask as pa, steerConversationPendingMessagesBodySchema as pi, ApiError as pn, conversationDeliveryBodySchema as pr, automationRunSchema as pt, AutomationRunList as q, UserInputField as qa, messageObjectCard as qi, conversationWatchSchema as qn, conversationAutoArchiveSchema as qr, serviceAccountSchema as qt, versionsSchema as r, ConversationCost as ra, SteerConversationPendingMessagesBody as ri, testNotificationResponseSchema as rn, MAX_INPUT_ATTACHMENTS as ro, renameConversationResponseSchema as rr, automationExecutionListSchema as rt, reviewItemCountSchema as s, ConversationModelUsage as sa, conversationDetailWithMailboxReportSchema as si, notificationScheduleSchema as sn, ConversationSubscriptionBody as sr, automationListItemSchema as st, OwnedObjectAnnotation as t, ConversationAgentTreeNode as ta, ConversationPendingMessageDelivery as ti, NotificationSettings as tn, InputFile as to, RenameConversationResponse as tr, automationEditSchema as tt, reviewItemWaitingConversationsSchema as u, ConversationReportEventData as ua, conversationPendingMessageSchema as ui, connectionSchema as un, conversationSubscriptionResponseSchema as ur, automationListSchema as ut, Plugins as v, ConversationUsage as va, createAttachmentUploadBodySchema as vi, LocationDirectoryReport as vn, ReorderPinnedConversationsResponse as vr, automationUpdateSchema as vt, pluginOperationalReportFeedSchema as w, conversationDetailQuerySchema as wa, CodeRepositorySummary as wi, locationParamsSchema as wn, ConversationCatchUpBody as wr, scheduledAutomationSummarySchema as wt, SkillReport as x, acceptedConversationMessageSchema as xa, CodeOverviewReport as xi, locationActivityDayReportSchema as xn, reorderPinnedConversationsBodySchema as xr, automationVersionParamsSchema as xt, RuntimeInfoReport as y, CreateConversationBody as ya, CodeActivityDay as yi, LocationParams as yn, pinConversationBodySchema as yr, automationVersionActivateSchema as yt, AutomationExecution as z, MessageCard as za, AttachObjectLinkResponse as zi, ConversationPlanItem as zn, GuardianStats as zr, createdPersonalTokenSchema as zt };
10196
+ export { AutomationListItem as $, ConversationTurnFailureCode as $a, CodeChangeSummaryReport as $i, PeopleSearchReport as $n, ConversationCatchUp as $r, revokePersonalTokenResponseSchema as $t, SkillDetailReport as A, messageObjectCard as Aa, CancelConversationPendingMessagesResponse as Ai, ApiError as An, UserInputField as Ao, renameConversationResponseSchema as Ar, automationVersionListSchema as At, runtimeInfoReportSchema as B, ConversationCost as Ba, conversationPendingMessageDeliverySchema as Bi, locationDetailReportSchema as Bn, MAX_ATTACHMENT_BYTES as Bo, conversationSubscriptionResponseSchema as Br, workspaceBodySchema as Bt, Plugin as C, MAX_OBJECT_LINKS as Ca, conversationAutoArchiveSchema as Ci, isWithinNotificationSchedule as Cn, annotationCard as Co, ConversationChildAgentsReport as Cr, automationRunSchema as Ct, PluginPackageContentReport as D, objectLinksQuerySchema as Da, conversationFeedQuerySchema as Di, connectionSchema as Dn, AutomationCard as Do, RenameConversationBody as Dr, automationSummarySchema as Dt, PluginPackageContentItemReport as E, attachObjectLinkResponseSchema as Ea, ConversationFeedViewerAnswer as Ei, connectionParamsSchema as En, AutomationTask as Eo, CONVERSATION_TITLE_MAX_LENGTH as Er, automationSchedulePreviewSchema as Et, pluginOperationalReportSchema as F, CONVERSATION_DETAIL_VERSION_HEADER as Fa, SteerConversationPendingMessagesResponse as Fi, LocationDetailReport as Fn, normalizeUserInputAnswer as Fo, ConversationSubscriptionBody as Fr, BaselineSnapshotReport as Ft, StatsReport as G, ConversationParams as Ga, steerConversationPendingMessagesResponseSchema as Gi, ActorDirectoryWindows as Gn, PinConversationBody as Gr, USER_CUSTOMIZATION_MAX_CHARS as Gt, skillReportSchema as H, ConversationEventHistory as Ha, conversationPendingMessagesReportSchema as Hi, locationParamsSchema as Hn, MessageAttachment as Ho, ConversationDeliveryResponse as Hr, workspaceParamsSchema as Ht, pluginPackageContentItemReportSchema as I, CONVERSATION_VERSION_HEADER as Ia, cancelConversationPendingMessagesBodySchema as Ii, LocationDirectoryReport as In, webMessageId as Io, ConversationSubscriptionResponse as Ir, WorkspaceListReport as It, AutomationEdit as J, ConversationReportMessageEvent as Ja, attachmentUploadSchema as Ji, ActorTotalsReport as Jn, ReorderPinnedConversationsResponse as Jr, createPersonalTokenBodySchema as Jt, statSchema as K, ConversationReportEvent as Ka, AttachmentUpload as Ki, ActorProfileReport as Kn, PinConversationResponse as Kr, userCustomizationSchema as Kt, pluginPackageContentReportSchema as L, ConversationActivityPreview as La, cancelConversationPendingMessagesResponseSchema as Li, LocationParams as Ln, AGENT_REPLY_EVENT_TYPE as Lo, conversationInviteBodySchema as Lr, WorkspaceReport as Lt, SkillReports as M, webPageObjectCard as Ma, ConversationPendingMessageDelivery as Mi, apiErrorSchema as Mn, answeredChoices as Mo, ConversationOutline as Mr, automationVersionSchema as Mt, healthReportSchema as N, AcceptedConversationMessage as Na, ConversationPendingMessagesReport as Ni, LocationActivityDayReport as Nn, buttonUserInputField as No, conversationOutlineSchema as Nr, eventAutomationSummarySchema as Nt, Plugins as O, objectLinksReportSchema as Oa, conversationFeedSchema as Oi, disconnectConnectionResponseSchema as On, USER_INPUT_NOTE as Oo, RenameConversationResponse as Or, automationUpdateSchema as Ot, pluginOperationalReportFeedSchema as P, ActorIdentity as Pa, SteerConversationPendingMessagesBody as Pi, LocationActorSummaryReport as Pn, isEmptyUserInputAnswer as Po, ConversationInviteResponse as Pr, scheduledAutomationSummarySchema as Pt, AutomationList as Q, ConversationSurface as Qa, CodeChangeSearchReport as Qi, PeopleActivityDayReport as Qn, reorderPinnedConversationsResponseSchema as Qr, personalTokenParamsSchema as Qt, pluginSchema as R, ConversationAgentTreeNode as Ra, conversationDetailWithMailboxReportSchema as Ri, LocationSummaryReport as Rn, isAgentInvocationResultEventType as Ro, conversationInviteResponseSchema as Rr, baselineSnapshotSchema as Rt, HealthReport as S, AttachObjectLinkResponse as Sa, archiveDoneConversationsResponseSchema as Si, NotificationSchedule as Sn, MessageCard as So, ConversationChildAgent as Sr, automationRunListSchema as St, PluginOperationalReportFeed as T, attachObjectLinkBodySchema as Ta, ConversationFeedItem as Ti, connectionListSchema as Tn, resolveMessageCards as To, conversationChildAgentsReportSchema as Tr, automationScheduleIntentSchema as Tt, skillReportsSchema as U, ConversationEventPage as Ua, conversationUnchangedDetailWithMailboxSchema as Ui, ActorActivityDayReport as Un, INLINE_VIDEO_TYPES as Uo, conversationDeliveryBodySchema as Ur, workspaceRepoSchema as Ut, skillDetailReportSchema as V, ConversationDetailReport as Va, conversationPendingMessageSchema as Vi, locationDirectoryReportSchema as Vn, MAX_INPUT_ATTACHMENTS as Vo, ConversationDeliveryBody as Vr, workspaceListSchema as Vt, StatReport as W, ConversationModelUsage as Wa, steerConversationPendingMessagesBodySchema as Wi, ActorDirectoryReport as Wn, INPUT_IMAGE_TYPES as Wo, conversationDeliveryResponseSchema as Wr, workspaceSchema as Wt, AutomationExecutionList as X, ConversationSourceTask as Xa, activityPreviewText as Xi, MentionablePerson as Xn, pinConversationResponseSchema as Xr, personalTokenListSchema as Xt, AutomationExecution as Y, ConversationReportStatus as Ya, createAttachmentUploadBodySchema as Yi, ActorWindowMetrics as Yn, pinConversationBodySchema as Yr, createdPersonalTokenSchema as Yt, AutomationExecutionStatusDay as Z, ConversationSummaryReport as Za, CodeActivityDay as Zi, PERSON_CARD_RECENT_LIMIT as Zn, reorderPinnedConversationsBodySchema as Zr, personalTokenMetadataSchema as Zt, reviewItemCountSchema as _, mentionableCodeChangeSchema as _a, ArchiveConversationBody as _i, closeCacheWarmingBreakerResponseSchema as _n, createConversationMessageBodySchema as _o, ConversationWatch as _r, automationListItemSchema as _t, INBOX_SNOOZE_MAX_TRIGGERS as a, MentionableCodeChange as aa, ContinueConversationInSlackBody as ai, GatewayProviders as an, conversationActivityPreviewSchema as ao, mentionablePersonSchema as ar, AutomationScheduleIntent as at, reviewItemWaitingConversationsSchema as b, DailyConversationActivity as ba, archiveConversationBodySchema as bi, testNotificationResponseSchema as bn, conversationTurnFailureCodeSchema as bo, conversationWatchesReportSchema as br, automationListSchema as bt, InboxSnoozeSubjectBody as c, codeChangeSearchReportSchema as ca, continueConversationInSlackResponseSchema as ci, gatewayOnlyProviders as cn, conversationDetailReportSchema as co, personCardReportSchema as cr, AutomationVersionList as ct, inboxSnoozeResourceSchema as d, codeOverviewReportSchema as da, ConversationMetricDay as di, CacheWarmingSavingsReport as dn, conversationEventsQuerySchema as do, ConversationPlanItem as dr, automationEditSchema as dt, CodeOverviewReport as ea, ConversationCatchUpBody as ei, disconnectServiceAccountResponseSchema as en, ConversationTurnFailureReason as eo, PersonCardReport as er, AutomationListPage as et, inboxSnoozeSchema as f, codePersonReportSchema as fa, ConversationStatsItem as fi, cacheHealthQuerySchema as fn, conversationParamsSchema as fo, ConversationPlanReport as fr, automationEventCatalogSchema as ft, reviewItemActionSchema as g, codeRepositorySummarySchema as ga, conversationStatsReportSchema as gi, cacheWarmingSavingsReportSchema as gn, createConversationBodySchema as go, planItemStatusBodySchema as gr, automationExecutionStatusSchema as gt, ReviewItemPayload as h, codeRepositoryReportSchema as ha, GuardianStats as hi, cacheWarmingSavingsRefillResponseSchema as hn, conversationSummaryReportSchema as ho, conversationPlanReportSchema as hr, automationExecutionStatusDaySchema as ht, versionsSchema as i, IDLE_CHANGE_DAYS as ia, conversationReadPositionSchema as ii, startServiceAccountSignInResponseSchema as in, acceptedConversationMessageSchema as io, actorProfileReportSchema as ir, AutomationRunWindows as it, SkillReport as j, personObjectCard as ja, ConversationPendingMessage as ji, CONTENT_VERSION_HEADER as jn, UserInputRequest as jo, CONVERSATION_OUTLINE_TEXT_LENGTH as jr, automationVersionParamsSchema as jt, RuntimeInfoReport as k, conversationObjectCard as ka, CancelConversationPendingMessagesBody as ki, startConnectionResponseSchema as kn, UserInputAnswer as ko, renameConversationBodySchema as kr, automationVersionActivateSchema as kt, InboxSnoozeTrigger as l, codeChangeSummaryReportSchema as la, StopConversationTurnResponse as li, CacheHealthReport as ln, conversationEventHistorySchema as lo, personParamsSchema as lr, ListedAutomationVersion as lt, ReviewItemActionBody as m, codeRepositoryQuerySchema as ma, GuardianMetricDay as mi, cacheWarmingBreakerListSchema as mn, conversationReportEventSchema as mo, conversationPlanItemSchema as mr, automationExecutionSchema as mt, VERSIONS_CONVERSATION_LIMIT as n, CodeRepositoryReport as na, conversationCatchUpSchema as ni, serviceAccountParamsSchema as nn, CreateConversationBody as no, PersonalSpendReport as nr, AutomationRun as nt, InboxSnoozeCreateBody as o, codeActivityDaySchema as oa, ContinueConversationInSlackResponse as oi, gatewayProvidersSchema as on, conversationAuxiliaryCostsSchema as oo, peopleSearchQuerySchema as or, AutomationSummary as ot, inboxSnoozeSubjectSchema as p, codeRepositoryParamsSchema as pa, ConversationStatsReport as pi, cacheHealthReportSchema as pn, conversationReportEventDataSchema as po, PlanItemStatusBody as pr, automationExecutionListSchema as pt, statsReportSchema as q, ConversationReportEventData as qa, CreateAttachmentUploadBody as qi, ActorSummaryReport as qn, ReorderPinnedConversationsBody as qr, PersonalTokenMetadata as qt, Versions as r, CodeRepositorySummary as ra, ConversationReadPosition as ri, serviceAccountSchema as rn, CreateConversationMessageBody as ro, actorDirectoryReportSchema as rr, AutomationRunList as rt, InboxSnoozeResource as s, codeChangeSearchQuerySchema as sa, continueConversationInSlackBodySchema as si, updateGatewayProvidersBodySchema as sn, conversationDetailQuerySchema as so, peopleSearchReportSchema as sr, AutomationUpdate as st, OwnedObjectAnnotation as t, CodePersonReport as ta, conversationCatchUpBodySchema as ti, serviceAccountListSchema as tn, ConversationUsage as to, PersonParams as tr, AutomationListQuery as tt, inboxSnoozeCreateSchema as u, codeChangeSummarySchema as ua, stopConversationTurnResponseSchema as ui, CacheWarmingSavingsRefill as un, conversationEventPageSchema as uo, personalSpendReportSchema as ur, automationEditErrorSchema as ut, reviewItemListSchema as v, ConversationChildAgentTotals as va, ArchiveConversationResponse as vi, NotificationSettings as vn, forkConversationBodySchema as vo, ConversationWatchesReport as vr, automationListPageSchema as vt, PluginOperationalReport as w, ObjectLinksReport as wa, ConversationFeed as wi, notificationScheduleSchema as wn, messageCardText as wo, conversationChildAgentSchema as wr, automationRunWindowsSchema as wt, ReviewItemChangeRecord as x, dailyConversationActivitySchema as xa, archiveConversationResponseSchema as xi, DEFAULT_NOTIFICATION_SCHEDULE as xn, conversationTurnFailureReasonSchema as xo, watchParamsSchema as xr, automationParamsSchema as xt, reviewItemSchema as y, conversationChildAgentTotalsSchema as ya, ConversationAutoArchive as yi, notificationSettingsSchema as yn, forkConversationResponseSchema as yo, conversationWatchSchema as yr, automationListQuerySchema as yt, pluginsSchema as z, ConversationAuxiliaryCosts as za, conversationPendingAuthorizationSchema as zi, locationActivityDayReportSchema as zn, InputFile as zo, conversationSubscriptionBodySchema as zr, deleteWorkspaceResponseSchema as zt };