@sentry/junior 0.313.0 → 0.314.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 (108) hide show
  1. package/dist/{adapter-CYAvJzZS.js → adapter-JARQvoLw.js} +1 -2
  2. package/dist/{adapter-context-CVsHoVSf.js → adapter-context-B4BrJZuS.js} +2 -2
  3. package/dist/{admin-Cyhb4TwZ.js → admin-BXGAySz0.js} +1 -1
  4. package/dist/{agent-runner-B5y9MsT-.js → agent-runner-qZU5TR8i.js} +797 -118
  5. package/dist/agent-update-cS7Z9mnG.js +26 -0
  6. package/dist/agent-update-delivery-CZ5M8RDa.js +85 -0
  7. package/dist/api/schema.d.ts +2 -2
  8. package/dist/api/schema.js +6 -6
  9. package/dist/api.d.ts +1 -1
  10. package/dist/api.js +334 -100
  11. package/dist/{app-DA8-hCMj.d.ts → app-D7tKnw9a.d.ts} +4 -21
  12. package/dist/app.d.ts +2 -2
  13. package/dist/app.js +80 -169
  14. package/dist/{background-compaction-queue-iZXadLV3.js → background-compaction-queue-C_uIBUvS.js} +6 -67
  15. package/dist/callback-C8SdXCwr.js +68 -0
  16. package/dist/{catalog-runtime-kkE3hvCX.js → catalog-runtime-BLKtnUL3.js} +1 -1
  17. package/dist/{channel-access-mt7K6dPh.js → channel-access-BOL29BG3.js} +6 -6
  18. package/dist/child-message--2G3Ft26.js +19 -0
  19. package/dist/cli/chat.js +18 -21
  20. package/dist/cli/check.js +4 -4
  21. package/dist/cli/main.js +2 -2
  22. package/dist/cli/plugins.js +5 -5
  23. package/dist/cli/snapshot-create.js +5 -5
  24. package/dist/cli/upgrade.d.ts +1 -1
  25. package/dist/cli/upgrade.js +23 -4
  26. package/dist/{config-CWbwKj0j.js → config-BIfHKNXN.js} +40 -35
  27. package/dist/{continue-in-slack-CxyFzdlF.js → continue-in-slack-fnmD2Ifb.js} +5 -7
  28. package/dist/{conversation-feed-BEXLD3Me.js → conversation-feed-DdFQuQDR.js} +1 -1
  29. package/dist/{logging-DNt-qOIO.js → conversation-privacy-DtZhI91r.js} +188 -2
  30. package/dist/{conversation-turn-B35eu0uz.js → conversation-turn-DScuDYmN.js} +418 -33
  31. package/dist/create-CrNt4Ewu.js +212 -0
  32. package/dist/{credential-sync-DWTOEQrm.js → credential-sync-CtqsGjj1.js} +14 -17
  33. package/dist/{credentialed-Dyv8b-lu.js → credentialed-dWRA3-oJ.js} +910 -426
  34. package/dist/{db-PwSRzWWn.js → db-BTmLKZrp.js} +2235 -38
  35. package/dist/{db-DYGcXYl3.d.ts → db-DcmzbA55.d.ts} +2 -2
  36. package/dist/{history-CYstOMKX.js → history-CneKY7_V.js} +19 -1
  37. package/dist/{html-DidUcRhI.js → html-B8rBt7F4.js} +5 -7
  38. package/dist/{install-2urLLXNt.js → install-OtFboxOM.js} +2 -2
  39. package/dist/instrumentation.js +2 -2
  40. package/dist/{lineage-BXplQAVH.js → lineage-EULJkGO1.js} +1 -2
  41. package/dist/{list-DyIyReSV.js → list-C5400AlJ.js} +235 -77
  42. package/dist/{turn-membership-DTR3SaKD.js → mailbox-turn-DL3Lvsm0.js} +4698 -587
  43. package/dist/markers-DUP8aBOp.js +323 -0
  44. package/dist/{media-B0pZJ0bG.js → media-FYM-Bl3H.js} +33 -8
  45. package/dist/{message-Z5YKC-Af.js → message-DuDelZFr.js} +16 -29
  46. package/dist/{model-input-BhPJYdSV.js → model-input-0osF3pBS.js} +3 -3
  47. package/dist/nitro.d.ts +2 -4
  48. package/dist/nitro.js +340 -13
  49. package/dist/{oauth-callback-server-ByvDdcdY.js → oauth-callback-server-DX2fQ7Nq.js} +2 -2
  50. package/dist/{oauth-relay-D-kK0yoN.js → oauth-relay-PwPMdZJv.js} +1 -1
  51. package/dist/{plugins-Bkk0XRo2.js → plugins-BXMdNdyA.js} +1 -1
  52. package/dist/{registry-POH4bZC4.js → registry-D6kS6xYH.js} +1402 -64
  53. package/dist/{resolve-CWtBNSKP.js → resolve-D8CPJcNK.js} +3 -3
  54. package/dist/result-D090hxr5.js +402 -0
  55. package/dist/{runner-CsZ_VRxp.js → runner-BU7fgrm-.js} +7 -8
  56. package/dist/{sandbox-egress-signals-FbCk1FkN.js → sandbox-egress-signals-BUmVrsoG.js} +1 -1
  57. package/dist/{schema-DojR2uCL.js → schema-7gW9vBpJ.js} +90 -9
  58. package/dist/{schema-DBf18QPS.d.ts → schema-BB6E0wyV.d.ts} +138 -5
  59. package/dist/{service-account-CDYb9hfX.js → service-account-plA-uzIB.js} +6 -5
  60. package/dist/{skills-B0jP4whm.js → skills-CIosT6bS.js} +3 -3
  61. package/dist/{slack-conversation-unfurl-D26t9kBC.js → slack-conversation-unfurl-CBgZqth6.js} +8 -10
  62. package/dist/{spawn-BjljgExZ.js → spawn-DRjdzh3R.js} +9 -17
  63. package/dist/{start-conversation-DbVujrwO.js → start-conversation-a4NXH4X9.js} +12 -15
  64. package/dist/{store-CjXrp-Up.js → store-BuhF1QDm.js} +2 -4
  65. package/dist/{task-queue-Cwlatjz3.js → task-queue-CrRjFzOh.js} +5 -16
  66. package/dist/{task-runner--Ke8KSMf.js → task-runner-C-pXsgHM.js} +104 -50
  67. package/dist/{thread-context-B8exINEe.js → thread-context-CDX4dSZd.js} +8 -9
  68. package/dist/turn-session-routing-CZTRU8IY.js +116 -0
  69. package/dist/turn-wake-Bzq1Efrm.js +154 -0
  70. package/dist/user-customization-B27StpVQ.js +9 -0
  71. package/dist/{validation-Ce0qbMlT.js → validation-bTq88sya.js} +1 -1
  72. package/dist/{vercel-queue-q4z8w5QO.js → vercel-queue-nL0Hq3hr.js} +32 -147
  73. package/dist/{version-DFh4n9nr.js → version-DGUa1dZK.js} +1 -1
  74. package/dist/version.js +1 -1
  75. package/dist/{warmup-D5hzqTcp.js → warmup-CCOuIwAS.js} +639 -137
  76. package/dist/{worker-CDg9Lbpg.js → worker-AkZg7Dg1.js} +5 -6
  77. package/migrations/0160_money_micro_usd_repair.sql +99 -0
  78. package/migrations/0161_agent_config_backfill.sql +34 -0
  79. package/migrations/0162_inbox_item_deliveries.sql +15 -0
  80. package/migrations/0163_pg_trgm.sql +2 -0
  81. package/migrations/0164_search_indexes.sql +4 -0
  82. package/migrations/0165_drop_legacy_archive_columns.sql +4 -0
  83. package/migrations/0166_memory_prefix_index.sql +1 -0
  84. package/migrations/0167_todo_search_indexes.sql +2 -0
  85. package/migrations/0168_todo_inbox_items.sql +4 -0
  86. package/migrations/0169_drop_code_urls.sql +2 -0
  87. package/migrations/meta/0160_snapshot.json +6515 -0
  88. package/migrations/meta/0161_snapshot.json +6278 -0
  89. package/migrations/meta/0162_snapshot.json +6404 -0
  90. package/migrations/meta/0163_snapshot.json +6404 -0
  91. package/migrations/meta/0164_snapshot.json +6466 -0
  92. package/migrations/meta/0165_snapshot.json +6466 -0
  93. package/migrations/meta/0166_snapshot.json +6494 -0
  94. package/migrations/meta/0167_snapshot.json +6525 -0
  95. package/migrations/meta/0168_snapshot.json +6525 -0
  96. package/migrations/meta/0169_snapshot.json +6513 -0
  97. package/migrations/meta/_journal.json +70 -0
  98. package/package.json +9 -18
  99. package/skills/design-automation-skill/SKILL.md +2 -3
  100. package/dist/actor-BsBdxDXQ.js +0 -208
  101. package/dist/conversation-privacy-BrMiDN61.js +0 -189
  102. package/dist/executor-CgWyWfYz.js +0 -1858
  103. package/dist/fan-out-Cod-yEHG.js +0 -10
  104. package/dist/ingest-B0AggUEC.js +0 -7931
  105. package/dist/request-deadline-BUiRYQYj.js +0 -24
  106. package/dist/service-account-o15pZWcJ.js +0 -931
  107. package/dist/state-BTawTCme.js +0 -161
  108. package/dist/statuses-BKwqCPhj.js +0 -69
@@ -31,8 +31,14 @@ declare const messageAttachmentSchema: z.ZodObject<{
31
31
  type MessageAttachment = z.output<typeof messageAttachmentSchema>;
32
32
  /** True when an Event type names an agent invocation result. */
33
33
  declare function isAgentInvocationResultEventType(eventType: string): boolean;
34
- /** Event type of the `reply` that ends a child agent's Turn. */
35
- declare const AGENT_REPLY_EVENT_TYPE = "agent.reply";
34
+ /**
35
+ * Event type of an agent update: what a Conversation reports when a Turn
36
+ * ends, it waits on a person, or it stops. A parent gets it from its child
37
+ * agents, and a Watch on the Conversation gets the same Event.
38
+ */
39
+ declare const AGENT_UPDATE_EVENT_TYPE = "agent.update";
40
+ /** True when an Event type names an agent update. */
41
+ declare function isAgentUpdateEventType(eventType: string): boolean;
36
42
  /**
37
43
  * Build the retry-stable Message id shared by web ingress and browser sends.
38
44
  * Keep the existing hash and prefix so retries still address stored Messages.
@@ -561,6 +567,8 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
561
567
  trace: "trace";
562
568
  web_page: "web_page";
563
569
  }>>;
570
+ eventStatus: z.ZodOptional<z.ZodString>;
571
+ eventWatchId: z.ZodOptional<z.ZodString>;
564
572
  explicitMention: z.ZodOptional<z.ZodBoolean>;
565
573
  quiet: z.ZodOptional<z.ZodLiteral<true>>;
566
574
  trustedSummary: z.ZodOptional<z.ZodString>;
@@ -844,6 +852,8 @@ declare const conversationReportEventSchema: z.ZodObject<{
844
852
  trace: "trace";
845
853
  web_page: "web_page";
846
854
  }>>;
855
+ eventStatus: z.ZodOptional<z.ZodString>;
856
+ eventWatchId: z.ZodOptional<z.ZodString>;
847
857
  explicitMention: z.ZodOptional<z.ZodBoolean>;
848
858
  quiet: z.ZodOptional<z.ZodLiteral<true>>;
849
859
  trustedSummary: z.ZodOptional<z.ZodString>;
@@ -1201,6 +1211,8 @@ declare const conversationEventPageSchema: z.ZodObject<{
1201
1211
  trace: "trace";
1202
1212
  web_page: "web_page";
1203
1213
  }>>;
1214
+ eventStatus: z.ZodOptional<z.ZodString>;
1215
+ eventWatchId: z.ZodOptional<z.ZodString>;
1204
1216
  explicitMention: z.ZodOptional<z.ZodBoolean>;
1205
1217
  quiet: z.ZodOptional<z.ZodLiteral<true>>;
1206
1218
  trustedSummary: z.ZodOptional<z.ZodString>;
@@ -1992,6 +2004,8 @@ declare const conversationDetailReportSchema: z.ZodObject<{
1992
2004
  trace: "trace";
1993
2005
  web_page: "web_page";
1994
2006
  }>>;
2007
+ eventStatus: z.ZodOptional<z.ZodString>;
2008
+ eventWatchId: z.ZodOptional<z.ZodString>;
1995
2009
  explicitMention: z.ZodOptional<z.ZodBoolean>;
1996
2010
  quiet: z.ZodOptional<z.ZodLiteral<true>>;
1997
2011
  trustedSummary: z.ZodOptional<z.ZodString>;
@@ -2353,6 +2367,8 @@ declare const conversationDetailReportSchema: z.ZodObject<{
2353
2367
  trace: "trace";
2354
2368
  web_page: "web_page";
2355
2369
  }>>;
2370
+ eventStatus: z.ZodOptional<z.ZodString>;
2371
+ eventWatchId: z.ZodOptional<z.ZodString>;
2356
2372
  explicitMention: z.ZodOptional<z.ZodBoolean>;
2357
2373
  quiet: z.ZodOptional<z.ZodLiteral<true>>;
2358
2374
  trustedSummary: z.ZodOptional<z.ZodString>;
@@ -3962,6 +3978,8 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
3962
3978
  trace: "trace";
3963
3979
  web_page: "web_page";
3964
3980
  }>>;
3981
+ eventStatus: z.ZodOptional<z.ZodString>;
3982
+ eventWatchId: z.ZodOptional<z.ZodString>;
3965
3983
  explicitMention: z.ZodOptional<z.ZodBoolean>;
3966
3984
  quiet: z.ZodOptional<z.ZodLiteral<true>>;
3967
3985
  trustedSummary: z.ZodOptional<z.ZodString>;
@@ -4323,6 +4341,8 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
4323
4341
  trace: "trace";
4324
4342
  web_page: "web_page";
4325
4343
  }>>;
4344
+ eventStatus: z.ZodOptional<z.ZodString>;
4345
+ eventWatchId: z.ZodOptional<z.ZodString>;
4326
4346
  explicitMention: z.ZodOptional<z.ZodBoolean>;
4327
4347
  quiet: z.ZodOptional<z.ZodLiteral<true>>;
4328
4348
  trustedSummary: z.ZodOptional<z.ZodString>;
@@ -5136,7 +5156,7 @@ declare const renameConversationResponseSchema: z.ZodObject<{
5136
5156
  type RenameConversationBody = z.infer<typeof renameConversationBodySchema>;
5137
5157
  type RenameConversationResponse = z.infer<typeof renameConversationResponseSchema>;
5138
5158
  /**
5139
- * One direct child agent of a Conversation, from agent invocation records.
5159
+ * One direct child agent of a Conversation, from its stored agent config.
5140
5160
  *
5141
5161
  * Viewers who cannot see private content get the status, time, and usage, but
5142
5162
  * not the name, task, title, or error. Usage covers the child Conversation and
@@ -6715,6 +6735,7 @@ declare const serviceAccountSchema: z.ZodObject<{
6715
6735
  displayName: z.ZodString;
6716
6736
  userOAuth: z.ZodBoolean;
6717
6737
  tools: z.ZodArray<z.ZodString>;
6738
+ operations: z.ZodArray<z.ZodString>;
6718
6739
  connected: z.ZodBoolean;
6719
6740
  connectedAt: z.ZodOptional<z.ZodString>;
6720
6741
  connectedBy: z.ZodOptional<z.ZodString>;
@@ -6725,6 +6746,7 @@ declare const serviceAccountListSchema: z.ZodObject<{
6725
6746
  displayName: z.ZodString;
6726
6747
  userOAuth: z.ZodBoolean;
6727
6748
  tools: z.ZodArray<z.ZodString>;
6749
+ operations: z.ZodArray<z.ZodString>;
6728
6750
  connected: z.ZodBoolean;
6729
6751
  connectedAt: z.ZodOptional<z.ZodString>;
6730
6752
  connectedBy: z.ZodOptional<z.ZodString>;
@@ -6780,6 +6802,7 @@ type PersonalTokenMetadata = z.infer<typeof personalTokenMetadataSchema>;
6780
6802
  /** The viewer's Lead. Messages to it use the Conversation message route. */
6781
6803
  declare const leadSchema: z.ZodObject<{
6782
6804
  conversationId: z.ZodString;
6805
+ lastSeq: z.ZodNumber;
6783
6806
  watchedConversationIds: z.ZodArray<z.ZodString>;
6784
6807
  }, z.core.$strict>;
6785
6808
  /** Longest customization text one user can save. */
@@ -9009,6 +9032,7 @@ declare const inboxItemSchema: z.ZodObject<{
9009
9032
  url: z.ZodOptional<z.ZodString>;
9010
9033
  }, z.core.$strict>>;
9011
9034
  title: z.ZodString;
9035
+ todoId: z.ZodOptional<z.ZodNumber>;
9012
9036
  updatedAt: z.ZodString;
9013
9037
  visibility: z.ZodEnum<{
9014
9038
  private: "private";
@@ -9165,6 +9189,7 @@ declare const inboxItemListSchema: z.ZodObject<{
9165
9189
  url: z.ZodOptional<z.ZodString>;
9166
9190
  }, z.core.$strict>>;
9167
9191
  title: z.ZodString;
9192
+ todoId: z.ZodOptional<z.ZodNumber>;
9168
9193
  updatedAt: z.ZodString;
9169
9194
  visibility: z.ZodEnum<{
9170
9195
  private: "private";
@@ -9193,6 +9218,7 @@ declare const inboxItemCountSchema: z.ZodObject<{
9193
9218
  decisions: z.ZodNumber;
9194
9219
  needsViewer: z.ZodNumber;
9195
9220
  snoozed: z.ZodNumber;
9221
+ todos: z.ZodNumber;
9196
9222
  }, z.core.$strict>;
9197
9223
  /**
9198
9224
  * Conversations linked to an open action item assigned to the viewer. `title`
@@ -9214,6 +9240,8 @@ declare const inboxItemActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
9214
9240
  action: z.ZodLiteral<"take">;
9215
9241
  }, z.core.$strict>, z.ZodObject<{
9216
9242
  action: z.ZodLiteral<"dismiss">;
9243
+ }, z.core.$strict>, z.ZodObject<{
9244
+ action: z.ZodLiteral<"done">;
9217
9245
  }, z.core.$strict>, z.ZodObject<{
9218
9246
  action: z.ZodLiteral<"submit">;
9219
9247
  answer: z.ZodObject<{
@@ -9234,7 +9262,7 @@ declare const inboxSnoozeSubjectSchema: z.ZodUnion<readonly [z.ZodObject<{
9234
9262
  }, z.core.$strict>]>;
9235
9263
  /**
9236
9264
  * An Event that ends a snooze: `wake` shows the item again, and `resolve`
9237
- * dismisses it. The Event is on the page at `resourceUrl`, such as another
9265
+ * dismisses it, or marks a To-do item's To-do done. The Event is on the page at `resourceUrl`, such as another
9238
9266
  * pull request, or on each item's subject when it is unset.
9239
9267
  */
9240
9268
  declare const inboxSnoozeTriggerSchema: z.ZodObject<{
@@ -9322,6 +9350,111 @@ type InboxSnoozeSubjectBody = z.input<typeof inboxSnoozeSubjectSchema>;
9322
9350
  type InboxSnoozeTrigger = z.output<typeof inboxSnoozeTriggerSchema>;
9323
9351
  type InboxSnoozeResource = z.output<typeof inboxSnoozeResourceSchema>;
9324
9352
  type InboxSnoozeWake = z.output<typeof inboxSnoozeWakeSchema>;
9353
+ /** The sources that `/api/search` can search. */
9354
+ declare const SEARCH_SOURCES: readonly ["inboxItems", "automations", "memories", "todos"];
9355
+ /** One source of `/api/search`. */
9356
+ type SearchSource = (typeof SEARCH_SOURCES)[number];
9357
+ /**
9358
+ * A search while a person types. `sources` names the groups to search,
9359
+ * comma separated, such as `inboxItems,automations`.
9360
+ */
9361
+ declare const searchQuerySchema: z.ZodObject<{
9362
+ q: z.ZodString;
9363
+ sources: z.ZodPipe<z.ZodPipe<z.ZodString, z.ZodTransform<string[], string>>, z.ZodArray<z.ZodEnum<{
9364
+ automations: "automations";
9365
+ inboxItems: "inboxItems";
9366
+ memories: "memories";
9367
+ todos: "todos";
9368
+ }>>>;
9369
+ }, z.core.$strict>;
9370
+ /** An Inbox item that matches a search. */
9371
+ declare const searchInboxItemSchema: z.ZodObject<{
9372
+ id: z.ZodString;
9373
+ status: z.ZodEnum<{
9374
+ dismissed: "dismissed";
9375
+ done: "done";
9376
+ open: "open";
9377
+ }>;
9378
+ title: z.ZodString;
9379
+ }, z.core.$strict>;
9380
+ /** An Automation that matches a search. */
9381
+ declare const searchAutomationSchema: z.ZodObject<{
9382
+ id: z.ZodString;
9383
+ kind: z.ZodEnum<{
9384
+ event: "event";
9385
+ scheduled: "scheduled";
9386
+ }>;
9387
+ status: z.ZodEnum<{
9388
+ active: "active";
9389
+ blocked: "blocked";
9390
+ completed: "completed";
9391
+ paused: "paused";
9392
+ }>;
9393
+ title: z.ZodString;
9394
+ }, z.core.$strict>;
9395
+ /** A memory that matches a search, its text cut to one menu row. */
9396
+ declare const searchMemorySchema: z.ZodObject<{
9397
+ id: z.ZodString;
9398
+ title: z.ZodString;
9399
+ }, z.core.$strict>;
9400
+ /** A To-do that matches a search, in a Conversation that shows its title. */
9401
+ declare const searchTodoSchema: z.ZodObject<{
9402
+ conversationId: z.ZodString;
9403
+ id: z.ZodNumber;
9404
+ status: z.ZodEnum<{
9405
+ done: "done";
9406
+ dropped: "dropped";
9407
+ in_progress: "in_progress";
9408
+ open: "open";
9409
+ }>;
9410
+ title: z.ZodString;
9411
+ }, z.core.$strict>;
9412
+ /** One group of matches for each source that the search named. */
9413
+ declare const searchReportSchema: z.ZodObject<{
9414
+ automations: z.ZodOptional<z.ZodArray<z.ZodObject<{
9415
+ id: z.ZodString;
9416
+ kind: z.ZodEnum<{
9417
+ event: "event";
9418
+ scheduled: "scheduled";
9419
+ }>;
9420
+ status: z.ZodEnum<{
9421
+ active: "active";
9422
+ blocked: "blocked";
9423
+ completed: "completed";
9424
+ paused: "paused";
9425
+ }>;
9426
+ title: z.ZodString;
9427
+ }, z.core.$strict>>>;
9428
+ inboxItems: z.ZodOptional<z.ZodArray<z.ZodObject<{
9429
+ id: z.ZodString;
9430
+ status: z.ZodEnum<{
9431
+ dismissed: "dismissed";
9432
+ done: "done";
9433
+ open: "open";
9434
+ }>;
9435
+ title: z.ZodString;
9436
+ }, z.core.$strict>>>;
9437
+ memories: z.ZodOptional<z.ZodArray<z.ZodObject<{
9438
+ id: z.ZodString;
9439
+ title: z.ZodString;
9440
+ }, z.core.$strict>>>;
9441
+ todos: z.ZodOptional<z.ZodArray<z.ZodObject<{
9442
+ conversationId: z.ZodString;
9443
+ id: z.ZodNumber;
9444
+ status: z.ZodEnum<{
9445
+ done: "done";
9446
+ dropped: "dropped";
9447
+ in_progress: "in_progress";
9448
+ open: "open";
9449
+ }>;
9450
+ title: z.ZodString;
9451
+ }, z.core.$strict>>>;
9452
+ }, z.core.$strict>;
9453
+ type SearchAutomation = z.infer<typeof searchAutomationSchema>;
9454
+ type SearchInboxItem = z.infer<typeof searchInboxItemSchema>;
9455
+ type SearchMemory = z.infer<typeof searchMemorySchema>;
9456
+ type SearchTodo = z.infer<typeof searchTodoSchema>;
9457
+ type SearchReport = z.infer<typeof searchReportSchema>;
9325
9458
  /** The most Conversations that one versions read gives tokens for. */
9326
9459
  declare const VERSIONS_CONVERSATION_LIMIT = 50;
9327
9460
  /**
@@ -9336,4 +9469,4 @@ declare const versionsSchema: z.ZodObject<{
9336
9469
  spend: z.ZodString;
9337
9470
  }, z.core.$strict>;
9338
9471
  type Versions = z.output<typeof versionsSchema>;
9339
- export { AutomationExecutionStatusDay as $, ConversationReportMessageEvent as $a, activityPreviewText as $i, MentionablePerson as $n, pinConversationResponseSchema as $r, personalTokenListSchema as $t, Plugins as A, attachObjectLinkBodySchema as Aa, conversationFeedQuerySchema as Ai, connectionSchema as An, AutomationCard as Ao, RenameConversationBody as Ar, automationUpdateSchema as At, pluginSchema as B, CONVERSATION_DETAIL_VERSION_HEADER as Ba, cancelConversationPendingMessagesResponseSchema as Bi, LocationParams as Bn, AGENT_REPLY_EVENT_TYPE as Bo, conversationInviteBodySchema as Br, baselineSnapshotSchema as Bt, InboxItemChangeRecord as C, ConversationChildAgentTotals as Ca, archiveConversationBodySchema as Ci, testNotificationResponseSchema as Cn, conversationTurnFailureCodeSchema as Co, conversationWatchesReportSchema as Cr, automationParamsSchema as Ct, PluginOperationalReportFeed as D, AttachObjectLinkResponse as Da, ConversationFeed as Di, notificationScheduleSchema as Dn, messageCardText as Do, conversationChildAgentSchema as Dr, automationScheduleIntentSchema as Dt, PluginOperationalReport as E, dailyConversationActivitySchema as Ea, conversationAutoArchiveSchema as Ei, isWithinNotificationSchedule as En, annotationCard as Eo, ConversationChildAgentsReport as Er, automationRunWindowsSchema as Et, healthReportSchema as F, messageObjectCard as Fa, ConversationPendingMessageDelivery as Fi, apiErrorSchema as Fn, answeredChoices as Fo, ConversationOutline as Fr, eventAutomationSummarySchema as Ft, skillReportsSchema as G, ConversationCost as Ga, conversationPendingMessagesReportSchema as Gi, locationParamsSchema as Gn, MessageAttachment as Go, ConversationDeliveryResponse as Gr, workspaceRepoSchema as Gt, runtimeInfoReportSchema as H, ConversationActivityPreview as Ha, conversationPendingAuthorizationSchema as Hi, locationActivityDayReportSchema as Hn, InputFile as Ho, conversationSubscriptionBodySchema as Hr, workspaceBodySchema as Ht, pluginOperationalReportFeedSchema as I, personObjectCard as Ia, ConversationPendingMessagesReport as Ii, LocationActivityDayReport as In, buttonUserInputField as Io, conversationOutlineSchema as Ir, scheduledAutomationSummarySchema as It, statSchema as J, ConversationEventPage as Ja, steerConversationPendingMessagesResponseSchema as Ji, ActorDirectoryWindows as Jn, PinConversationBody as Jr, userCustomizationSchema as Jt, StatReport as K, ConversationDetailReport as Ka, conversationUnchangedDetailWithMailboxSchema as Ki, ActorActivityDayReport as Kn, INLINE_VIDEO_TYPES as Ko, conversationDeliveryBodySchema as Kr, workspaceSchema as Kt, pluginOperationalReportSchema as L, webPageObjectCard as La, SteerConversationPendingMessagesBody as Li, LocationActorSummaryReport as Ln, isEmptyUserInputAnswer as Lo, ConversationInviteResponse as Lr, BaselineSnapshotReport as Lt, SkillDetailReport as M, objectLinksQuerySchema as Ma, CancelConversationPendingMessagesBody as Mi, startConnectionResponseSchema as Mn, UserInputAnswer as Mo, renameConversationBodySchema as Mr, automationVersionListSchema as Mt, SkillReport as N, objectLinksReportSchema as Na, CancelConversationPendingMessagesResponse as Ni, ApiError as Nn, UserInputField as No, renameConversationResponseSchema as Nr, automationVersionParamsSchema as Nt, PluginPackageContentItemReport as O, MAX_OBJECT_LINKS as Oa, ConversationFeedItem as Oi, connectionListSchema as On, resolveMessageCards as Oo, conversationChildAgentsReportSchema as Or, automationSchedulePreviewSchema as Ot, SkillReports as P, conversationObjectCard as Pa, ConversationPendingMessage as Pi, CONTENT_VERSION_HEADER as Pn, UserInputRequest as Po, CONVERSATION_OUTLINE_TEXT_LENGTH as Pr, automationVersionSchema as Pt, AutomationExecutionList as Q, ConversationReportEventData as Qa, createAttachmentUploadBodySchema as Qi, ActorWindowMetrics as Qn, pinConversationBodySchema as Qr, createdPersonalTokenSchema as Qt, pluginPackageContentItemReportSchema as R, AcceptedConversationMessage as Ra, SteerConversationPendingMessagesResponse as Ri, LocationDetailReport as Rn, normalizeUserInputAnswer as Ro, ConversationSubscriptionBody as Rr, WorkspaceListReport as Rt, inboxItemWaitingConversationsSchema as S, mentionableCodeChangeSchema as Sa, ConversationAutoArchive as Si, notificationSettingsSchema as Sn, createConversationMessageBodySchema as So, conversationWatchSchema as Sr, automationListSchema as St, Plugin as T, DailyConversationActivity as Ta, archiveDoneConversationsResponseSchema as Ti, NotificationSchedule as Tn, MessageCard as To, ConversationChildAgent as Tr, automationRunSchema as Tt, skillDetailReportSchema as U, ConversationAgentTreeNode as Ua, conversationPendingMessageDeliverySchema as Ui, locationDetailReportSchema as Un, MAX_ATTACHMENT_BYTES as Uo, conversationSubscriptionResponseSchema as Ur, workspaceListSchema as Ut, pluginsSchema as V, CONVERSATION_VERSION_HEADER as Va, conversationDetailWithMailboxReportSchema as Vi, LocationSummaryReport as Vn, isAgentInvocationResultEventType as Vo, conversationInviteResponseSchema as Vr, deleteWorkspaceResponseSchema as Vt, skillReportSchema as W, ConversationAuxiliaryCosts as Wa, conversationPendingMessageSchema as Wi, locationDirectoryReportSchema as Wn, MAX_INPUT_ATTACHMENTS as Wo, ConversationDeliveryBody as Wr, workspaceParamsSchema as Wt, AutomationEdit as X, ConversationParams as Xa, CreateAttachmentUploadBody as Xi, ActorSummaryReport as Xn, ReorderPinnedConversationsBody as Xr, PersonalTokenMetadata as Xt, statsReportSchema as Y, ConversationModelUsage as Ya, AttachmentUpload as Yi, ActorProfileReport as Yn, PinConversationResponse as Yr, leadSchema as Yt, AutomationExecution as Z, ConversationReportEvent as Za, attachmentUploadSchema as Zi, ActorTotalsReport as Zn, ReorderPinnedConversationsResponse as Zr, createPersonalTokenBodySchema as Zt, InboxItemPayload as _, codePersonReportSchema as _a, GuardianMetricDay as _i, cacheWarmingBreakerListSchema as _n, conversationParamsSchema as _o, conversationTodoSchema as _r, automationExecutionStatusDaySchema as _t, INBOX_SNOOZE_MAX_TRIGGERS as a, CodeOverviewReport as aa, conversationCatchUpSchema as ai, serviceAccountParamsSchema as an, ConversationTurnFailureReason as ao, PersonalSpendReport as ar, AutomationRunList as at, inboxItemListSchema as b, codeRepositoryReportSchema as ba, ArchiveConversationBody as bi, closeCacheWarmingBreakerResponseSchema as bn, conversationSummaryReportSchema as bo, ConversationWatch as br, automationListPageSchema as bt, InboxSnoozeSubjectBody as c, CodeRepositorySummary as ca, ContinueConversationInSlackBody as ci, GatewayProviders as cn, CreateConversationMessageBody as co, mentionablePersonSchema as cr, AutomationSummary as ct, inboxSnoozeCreateSchema as d, codeActivityDaySchema as da, continueConversationInSlackResponseSchema as di, gatewayOnlyProviders as dn, conversationAuxiliaryCostsSchema as do, personCardReportSchema as dr, ListedAutomationVersion as dt, forkConversationBodySchema as ea, reorderPinnedConversationsBodySchema as ei, personalTokenMetadataSchema as en, ConversationReportStatus as eo, PERSON_CARD_RECENT_LIMIT as er, AutomationList as et, inboxSnoozeResourceSchema as f, codeChangeSearchQuerySchema as fa, StopConversationTurnResponse as fi, CacheHealthReport as fn, conversationDetailQuerySchema as fo, personParamsSchema as fr, automationEditErrorSchema as ft, InboxItemActionBody as g, codeOverviewReportSchema as ga, ConversationStatsReport as gi, cacheHealthReportSchema as gn, conversationEventsQuerySchema as go, TodoStatusBody as gr, automationExecutionSchema as gt, inboxSnoozeWakesClearSchema as h, codeChangeSummarySchema as ha, ConversationStatsItem as hi, cacheHealthQuerySchema as hn, conversationEventPageSchema as ho, ConversationTodosReport as hr, automationExecutionListSchema as ht, versionsSchema as i, CodeChangeSummaryReport as ia, conversationCatchUpBodySchema as ii, serviceAccountListSchema as in, ConversationTurnFailureCode as io, PersonParams as ir, AutomationRun as it, RuntimeInfoReport as j, attachObjectLinkResponseSchema as ja, conversationFeedSchema as ji, disconnectConnectionResponseSchema as jn, USER_INPUT_NOTE as jo, RenameConversationResponse as jr, automationVersionActivateSchema as jt, PluginPackageContentReport as k, ObjectLinksReport as ka, ConversationFeedViewerAnswer as ki, connectionParamsSchema as kn, AutomationTask as ko, CONVERSATION_TITLE_MAX_LENGTH as kr, automationSummarySchema as kt, InboxSnoozeTrigger as l, IDLE_CHANGE_DAYS as la, ContinueConversationInSlackResponse as li, gatewayProvidersSchema as ln, acceptedConversationMessageSchema as lo, peopleSearchQuerySchema as lr, AutomationUpdate as lt, inboxSnoozeSubjectSchema as m, codeChangeSummaryReportSchema as ma, ConversationMetricDay as mi, CacheWarmingSavingsReport as mn, conversationEventHistorySchema as mo, ConversationTodo as mr, automationEventCatalogSchema as mt, VERSIONS_CONVERSATION_LIMIT as n, CodeActivityDay as na, ConversationCatchUp as ni, revokePersonalTokenResponseSchema as nn, ConversationSummaryReport as no, PeopleSearchReport as nr, AutomationListPage as nt, InboxSnoozeCreateBody as o, CodePersonReport as oa, ConversationReadPosition as oi, serviceAccountSchema as on, ConversationUsage as oo, actorDirectoryReportSchema as or, AutomationRunWindows as ot, inboxSnoozeSchema as p, codeChangeSearchReportSchema as pa, stopConversationTurnResponseSchema as pi, CacheWarmingSavingsRefill as pn, conversationDetailReportSchema as po, personalSpendReportSchema as pr, automationEditSchema as pt, StatsReport as q, ConversationEventHistory as qa, steerConversationPendingMessagesBodySchema as qi, ActorDirectoryReport as qn, INPUT_IMAGE_TYPES as qo, conversationDeliveryResponseSchema as qr, USER_CUSTOMIZATION_MAX_CHARS as qt, Versions as r, CodeChangeSearchReport as ra, ConversationCatchUpBody as ri, disconnectServiceAccountResponseSchema as rn, ConversationSurface as ro, PersonCardReport as rr, AutomationListQuery as rt, InboxSnoozeResource as s, CodeRepositoryReport as sa, conversationReadPositionSchema as si, startServiceAccountSignInResponseSchema as sn, CreateConversationBody as so, actorProfileReportSchema as sr, AutomationScheduleIntent as st, OwnedObjectAnnotation as t, forkConversationResponseSchema as ta, reorderPinnedConversationsResponseSchema as ti, personalTokenParamsSchema as tn, ConversationSourceTask as to, PeopleActivityDayReport as tr, AutomationListItem as tt, InboxSnoozeWake as u, MentionableCodeChange as ua, continueConversationInSlackBodySchema as ui, updateGatewayProvidersBodySchema as un, conversationActivityPreviewSchema as uo, peopleSearchReportSchema as ur, AutomationVersionList as ut, inboxItemActionSchema as v, codeRepositoryParamsSchema as va, GuardianStats as vi, cacheWarmingSavingsRefillResponseSchema as vn, conversationReportEventDataSchema as vo, conversationTodosReportSchema as vr, automationExecutionStatusSchema as vt, HealthReport as w, conversationChildAgentTotalsSchema as wa, archiveConversationResponseSchema as wi, DEFAULT_NOTIFICATION_SCHEDULE as wn, conversationTurnFailureReasonSchema as wo, watchParamsSchema as wr, automationRunListSchema as wt, inboxItemSchema as x, codeRepositorySummarySchema as xa, ArchiveConversationResponse as xi, NotificationSettings as xn, createConversationBodySchema as xo, ConversationWatchesReport as xr, automationListQuerySchema as xt, inboxItemCountSchema as y, codeRepositoryQuerySchema as ya, conversationStatsReportSchema as yi, cacheWarmingSavingsReportSchema as yn, conversationReportEventSchema as yo, todoStatusBodySchema as yr, automationListItemSchema as yt, pluginPackageContentReportSchema as z, ActorIdentity as za, cancelConversationPendingMessagesBodySchema as zi, LocationDirectoryReport as zn, webMessageId as zo, ConversationSubscriptionResponse as zr, WorkspaceReport as zt };
9472
+ export { skillReportsSchema as $, ConversationCost as $a, conversationPendingMessagesReportSchema as $i, locationParamsSchema as $n, MAX_INPUT_ATTACHMENTS as $o, ConversationDeliveryResponse as $r, workspaceRepoSchema as $t, inboxItemWaitingConversationsSchema as A, mentionableCodeChangeSchema as Aa, ConversationAutoArchive as Ai, notificationSettingsSchema as An, createConversationMessageBodySchema as Ao, conversationWatchSchema as Ar, automationListSchema as At, SkillDetailReport as B, objectLinksQuerySchema as Ba, CancelConversationPendingMessagesBody as Bi, startConnectionResponseSchema as Bn, UserInputAnswer as Bo, renameConversationBodySchema as Br, automationVersionListSchema as Bt, inboxSnoozeWakesClearSchema as C, codeChangeSummarySchema as Ca, ConversationStatsItem as Ci, cacheHealthQuerySchema as Cn, conversationEventPageSchema as Co, ConversationTodosReport as Cr, automationExecutionListSchema as Ct, inboxItemCountSchema as D, codeRepositoryQuerySchema as Da, conversationStatsReportSchema as Di, cacheWarmingSavingsReportSchema as Dn, conversationReportEventSchema as Do, todoStatusBodySchema as Dr, automationListItemSchema as Dt, inboxItemActionSchema as E, codeRepositoryParamsSchema as Ea, GuardianStats as Ei, cacheWarmingSavingsRefillResponseSchema as En, conversationReportEventDataSchema as Eo, conversationTodosReportSchema as Er, automationExecutionStatusSchema as Et, PluginOperationalReportFeed as F, AttachObjectLinkResponse as Fa, ConversationFeed as Fi, notificationScheduleSchema as Fn, messageCardText as Fo, conversationChildAgentSchema as Fr, automationScheduleIntentSchema as Ft, pluginOperationalReportSchema as G, webPageObjectCard as Ga, SteerConversationPendingMessagesBody as Gi, LocationActorSummaryReport as Gn, isEmptyUserInputAnswer as Go, ConversationInviteResponse as Gr, BaselineSnapshotReport as Gt, SkillReports as H, conversationObjectCard as Ha, ConversationPendingMessage as Hi, CONTENT_VERSION_HEADER as Hn, UserInputRequest as Ho, CONVERSATION_OUTLINE_TEXT_LENGTH as Hr, automationVersionSchema as Ht, PluginPackageContentItemReport as I, MAX_OBJECT_LINKS as Ia, ConversationFeedItem as Ii, connectionListSchema as In, resolveMessageCards as Io, conversationChildAgentsReportSchema as Ir, automationSchedulePreviewSchema as It, pluginSchema as J, CONVERSATION_DETAIL_VERSION_HEADER as Ja, cancelConversationPendingMessagesResponseSchema as Ji, LocationParams as Jn, AGENT_UPDATE_EVENT_TYPE as Jo, conversationInviteBodySchema as Jr, baselineSnapshotSchema as Jt, pluginPackageContentItemReportSchema as K, AcceptedConversationMessage as Ka, SteerConversationPendingMessagesResponse as Ki, LocationDetailReport as Kn, normalizeUserInputAnswer as Ko, ConversationSubscriptionBody as Kr, WorkspaceListReport as Kt, PluginPackageContentReport as L, ObjectLinksReport as La, ConversationFeedViewerAnswer as Li, connectionParamsSchema as Ln, AutomationTask as Lo, CONVERSATION_TITLE_MAX_LENGTH as Lr, automationSummarySchema as Lt, HealthReport as M, conversationChildAgentTotalsSchema as Ma, archiveConversationResponseSchema as Mi, DEFAULT_NOTIFICATION_SCHEDULE as Mn, conversationTurnFailureReasonSchema as Mo, watchParamsSchema as Mr, automationRunListSchema as Mt, Plugin as N, DailyConversationActivity as Na, archiveDoneConversationsResponseSchema as Ni, NotificationSchedule as Nn, MessageCard as No, ConversationChildAgent as Nr, automationRunSchema as Nt, inboxItemListSchema as O, codeRepositoryReportSchema as Oa, ArchiveConversationBody as Oi, closeCacheWarmingBreakerResponseSchema as On, conversationSummaryReportSchema as Oo, ConversationWatch as Or, automationListPageSchema as Ot, PluginOperationalReport as P, dailyConversationActivitySchema as Pa, conversationAutoArchiveSchema as Pi, isWithinNotificationSchedule as Pn, annotationCard as Po, ConversationChildAgentsReport as Pr, automationRunWindowsSchema as Pt, skillReportSchema as Q, ConversationAuxiliaryCosts as Qa, conversationPendingMessageSchema as Qi, locationDirectoryReportSchema as Qn, MAX_ATTACHMENT_BYTES as Qo, ConversationDeliveryBody as Qr, workspaceParamsSchema as Qt, Plugins as R, attachObjectLinkBodySchema as Ra, conversationFeedQuerySchema as Ri, connectionSchema as Rn, AutomationCard as Ro, RenameConversationBody as Rr, automationUpdateSchema as Rt, inboxSnoozeSubjectSchema as S, codeChangeSummaryReportSchema as Sa, ConversationMetricDay as Si, CacheWarmingSavingsReport as Sn, conversationEventHistorySchema as So, ConversationTodo as Sr, automationEventCatalogSchema as St, InboxItemPayload as T, codePersonReportSchema as Ta, GuardianMetricDay as Ti, cacheWarmingBreakerListSchema as Tn, conversationParamsSchema as To, conversationTodoSchema as Tr, automationExecutionStatusDaySchema as Tt, healthReportSchema as U, messageObjectCard as Ua, ConversationPendingMessageDelivery as Ui, apiErrorSchema as Un, answeredChoices as Uo, ConversationOutline as Ur, eventAutomationSummarySchema as Ut, SkillReport as V, objectLinksReportSchema as Va, CancelConversationPendingMessagesResponse as Vi, ApiError as Vn, UserInputField as Vo, renameConversationResponseSchema as Vr, automationVersionParamsSchema as Vt, pluginOperationalReportFeedSchema as W, personObjectCard as Wa, ConversationPendingMessagesReport as Wi, LocationActivityDayReport as Wn, buttonUserInputField as Wo, conversationOutlineSchema as Wr, scheduledAutomationSummarySchema as Wt, runtimeInfoReportSchema as X, ConversationActivityPreview as Xa, conversationPendingAuthorizationSchema as Xi, locationActivityDayReportSchema as Xn, isAgentUpdateEventType as Xo, conversationSubscriptionBodySchema as Xr, workspaceBodySchema as Xt, pluginsSchema as Y, CONVERSATION_VERSION_HEADER as Ya, conversationDetailWithMailboxReportSchema as Yi, LocationSummaryReport as Yn, isAgentInvocationResultEventType as Yo, conversationInviteResponseSchema as Yr, deleteWorkspaceResponseSchema as Yt, skillDetailReportSchema as Z, ConversationAgentTreeNode as Za, conversationPendingMessageDeliverySchema as Zi, locationDetailReportSchema as Zn, InputFile as Zo, conversationSubscriptionResponseSchema as Zr, workspaceListSchema as Zt, InboxSnoozeTrigger as _, IDLE_CHANGE_DAYS as _a, ContinueConversationInSlackResponse as _i, gatewayProvidersSchema as _n, acceptedConversationMessageSchema as _o, peopleSearchQuerySchema as _r, AutomationUpdate as _t, SearchAutomation as a, attachmentUploadSchema as aa, ReorderPinnedConversationsResponse as ai, createPersonalTokenBodySchema as an, ConversationReportEvent as ao, ActorTotalsReport as ar, AutomationExecution as at, inboxSnoozeResourceSchema as b, codeChangeSearchQuerySchema as ba, StopConversationTurnResponse as bi, CacheHealthReport as bn, conversationDetailQuerySchema as bo, personParamsSchema as br, automationEditErrorSchema as bt, SearchReport as c, forkConversationBodySchema as ca, reorderPinnedConversationsBodySchema as ci, personalTokenMetadataSchema as cn, ConversationReportStatus as co, PERSON_CARD_RECENT_LIMIT as cr, AutomationList as ct, searchQuerySchema as d, CodeChangeSearchReport as da, ConversationCatchUpBody as di, disconnectServiceAccountResponseSchema as dn, ConversationSurface as do, PersonCardReport as dr, AutomationListQuery as dt, conversationUnchangedDetailWithMailboxSchema as ea, conversationDeliveryBodySchema as ei, workspaceSchema as en, ConversationDetailReport as eo, ActorActivityDayReport as er, MessageAttachment as es, StatReport as et, searchReportSchema as f, CodeChangeSummaryReport as fa, conversationCatchUpBodySchema as fi, serviceAccountListSchema as fn, ConversationTurnFailureCode as fo, PersonParams as fr, AutomationRun as ft, InboxSnoozeSubjectBody as g, CodeRepositorySummary as ga, ContinueConversationInSlackBody as gi, GatewayProviders as gn, CreateConversationMessageBody as go, mentionablePersonSchema as gr, AutomationSummary as gt, InboxSnoozeResource as h, CodeRepositoryReport as ha, conversationReadPositionSchema as hi, startServiceAccountSignInResponseSchema as hn, CreateConversationBody as ho, actorProfileReportSchema as hr, AutomationScheduleIntent as ht, versionsSchema as i, CreateAttachmentUploadBody as ia, ReorderPinnedConversationsBody as ii, PersonalTokenMetadata as in, ConversationParams as io, ActorSummaryReport as ir, AutomationEdit as it, InboxItemChangeRecord as j, ConversationChildAgentTotals as ja, archiveConversationBodySchema as ji, testNotificationResponseSchema as jn, conversationTurnFailureCodeSchema as jo, conversationWatchesReportSchema as jr, automationParamsSchema as jt, inboxItemSchema as k, codeRepositorySummarySchema as ka, ArchiveConversationResponse as ki, NotificationSettings as kn, createConversationBodySchema as ko, ConversationWatchesReport as kr, automationListQuerySchema as kt, SearchSource as l, forkConversationResponseSchema as la, reorderPinnedConversationsResponseSchema as li, personalTokenParamsSchema as ln, ConversationSourceTask as lo, PeopleActivityDayReport as lr, AutomationListItem as lt, InboxSnoozeCreateBody as m, CodePersonReport as ma, ConversationReadPosition as mi, serviceAccountSchema as mn, ConversationUsage as mo, actorDirectoryReportSchema as mr, AutomationRunWindows as mt, VERSIONS_CONVERSATION_LIMIT as n, steerConversationPendingMessagesResponseSchema as na, PinConversationBody as ni, userCustomizationSchema as nn, ConversationEventPage as no, ActorDirectoryWindows as nr, INPUT_IMAGE_TYPES as ns, statSchema as nt, SearchInboxItem as o, createAttachmentUploadBodySchema as oa, pinConversationBodySchema as oi, createdPersonalTokenSchema as on, ConversationReportEventData as oo, ActorWindowMetrics as or, AutomationExecutionList as ot, INBOX_SNOOZE_MAX_TRIGGERS as p, CodeOverviewReport as pa, conversationCatchUpSchema as pi, serviceAccountParamsSchema as pn, ConversationTurnFailureReason as po, PersonalSpendReport as pr, AutomationRunList as pt, pluginPackageContentReportSchema as q, ActorIdentity as qa, cancelConversationPendingMessagesBodySchema as qi, LocationDirectoryReport as qn, webMessageId as qo, ConversationSubscriptionResponse as qr, WorkspaceReport as qt, Versions as r, AttachmentUpload as ra, PinConversationResponse as ri, leadSchema as rn, ConversationModelUsage as ro, ActorProfileReport as rr, statsReportSchema as rt, SearchMemory as s, activityPreviewText as sa, pinConversationResponseSchema as si, personalTokenListSchema as sn, ConversationReportMessageEvent as so, MentionablePerson as sr, AutomationExecutionStatusDay as st, OwnedObjectAnnotation as t, steerConversationPendingMessagesBodySchema as ta, conversationDeliveryResponseSchema as ti, USER_CUSTOMIZATION_MAX_CHARS as tn, ConversationEventHistory as to, ActorDirectoryReport as tr, INLINE_VIDEO_TYPES as ts, StatsReport as tt, SearchTodo as u, CodeActivityDay as ua, ConversationCatchUp as ui, revokePersonalTokenResponseSchema as un, ConversationSummaryReport as uo, PeopleSearchReport as ur, AutomationListPage as ut, InboxSnoozeWake as v, MentionableCodeChange as va, continueConversationInSlackBodySchema as vi, updateGatewayProvidersBodySchema as vn, conversationActivityPreviewSchema as vo, peopleSearchReportSchema as vr, AutomationVersionList as vt, InboxItemActionBody as w, codeOverviewReportSchema as wa, ConversationStatsReport as wi, cacheHealthReportSchema as wn, conversationEventsQuerySchema as wo, TodoStatusBody as wr, automationExecutionSchema as wt, inboxSnoozeSchema as x, codeChangeSearchReportSchema as xa, stopConversationTurnResponseSchema as xi, CacheWarmingSavingsRefill as xn, conversationDetailReportSchema as xo, personalSpendReportSchema as xr, automationEditSchema as xt, inboxSnoozeCreateSchema as y, codeActivityDaySchema as ya, continueConversationInSlackResponseSchema as yi, gatewayOnlyProviders as yn, conversationAuxiliaryCostsSchema as yo, personCardReportSchema as yr, ListedAutomationVersion as yt, RuntimeInfoReport as z, attachObjectLinkResponseSchema as za, conversationFeedSchema as zi, disconnectConnectionResponseSchema as zn, USER_INPUT_NOTE as zo, RenameConversationResponse as zr, automationVersionActivateSchema as zt };
@@ -1,6 +1,6 @@
1
- import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-o15pZWcJ.js";
2
- import { n as pluginCatalogRuntime } from "./catalog-runtime-kkE3hvCX.js";
3
- import { n as disconnectStateAdapter } from "./adapter-CYAvJzZS.js";
1
+ import { a as finishServiceAccountSignIn, i as disconnectServiceAccount, l as serviceAccountPlugins, o as getServiceAccountStatus, u as startServiceAccountSignIn } from "./registry-D6kS6xYH.js";
2
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-BLKtnUL3.js";
3
+ import { n as disconnectStateAdapter } from "./adapter-JARQvoLw.js";
4
4
  import { CLI_USAGE } from "./cli/run.js";
5
5
  import { createServer } from "node:http";
6
6
  // src/cli/service-account.ts
@@ -86,8 +86,9 @@ async function runConnect(plugin) {
86
86
  } finally {
87
87
  loopback.close();
88
88
  }
89
- const tools = (plugin.manifest.accounts?.serviceAccount?.tools ?? []).join(", ");
90
- console.log(plugin.manifest.accounts?.userOAuth === false ? `Connected the ${provider} service account. Everyone now uses it for: ${tools}.` : `Connected the ${provider} service account. Actors who have not connected ${provider} now use it for: ${tools}.`);
89
+ const serviceAccount = plugin.manifest.accounts?.serviceAccount;
90
+ const allowed = (serviceAccount?.tools ?? serviceAccount?.operations ?? []).join(", ");
91
+ console.log(plugin.manifest.accounts?.userOAuth === false ? `Connected the ${provider} service account. Everyone now uses it for: ${allowed}.` : `Connected the ${provider} service account. Actors who have not connected ${provider} now use it for: ${allowed}.`);
91
92
  return 0;
92
93
  }
93
94
  async function runStatus(plugin) {
@@ -1,8 +1,8 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-BKpuH2hG.js";
2
2
  import { s as skillRoots } from "./package-discovery-DD9vencX.js";
3
- import { h as logWarn } from "./logging-DNt-qOIO.js";
4
- import { n as pluginCatalogRuntime } from "./catalog-runtime-kkE3hvCX.js";
5
- import { t as mapBounded } from "./fan-out-Cod-yEHG.js";
3
+ import { w as logWarn } from "./conversation-privacy-DtZhI91r.js";
4
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-BLKtnUL3.js";
5
+ import { gt as mapBounded } from "./config-BIfHKNXN.js";
6
6
  import * as z from "zod";
7
7
  import path from "node:path";
8
8
  import fs from "node:fs/promises";
@@ -1,14 +1,12 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-BKpuH2hG.js";
2
- import { It as readActorIdentity, V as getConversationIdByProviderConversation, a as getConversationStore, o as getDb, s as getSqlExecutor, vn as readConversationAccessFromSql } from "./db-PwSRzWWn.js";
3
- import { _ as slackUserIdSchema, b as slackMessageTsSchema, f as parseSlackTeamId, g as slackTeamIdSchema, h as slackChannelIdSchema, m as slackBotIdSchema, n as createSlackActor, p as parseSlackUserId, s as parseActorUserId, u as parseSlackChannelId } from "./actor-BsBdxDXQ.js";
4
- import { Bo as getWorkspaceTeamId, Ni as parseDashboardConversationLink, Qr as unfurlSlackLinks, Yr as postSlackEphemeralMessage, ai as escapeSlackMrkdwnText, oi as formatSlackLink, or as lookupSlackBot, sr as lookupSlackUserProfile } from "./credentialed-Dyv8b-lu.js";
5
- import { P as createCache, n as botConfig } from "./config-CWbwKj0j.js";
6
- import { E as withSpan } from "./logging-DNt-qOIO.js";
7
- import { t as runWithSlackInstallation } from "./adapter-context-CVsHoVSf.js";
8
- import { a as isMovableToSlack, i as continueConversationInSlack, n as alreadyContinuesInSlackMessage, t as BUSY } from "./continue-in-slack-CxyFzdlF.js";
9
- import { t as checkSlackChannelReadAccess } from "./channel-access-mt7K6dPh.js";
10
- import { ln as deferConversationMove } from "./turn-membership-DTR3SaKD.js";
11
- import { t as mapBounded } from "./fan-out-Cod-yEHG.js";
2
+ import { C as createSlackActor, D as parseActorUserId, Mn as readConversationAccessFromSql, Si as slackMessageTsSchema, X as getConversationIdByProviderConversation, Xt as readActorIdentity, _i as slackChannelIdSchema, a as getDb, fi as parseSlackChannelId, gi as slackBotIdSchema, hi as parseSlackUserId, i as getConversationStore, mi as parseSlackTeamId, o as getSqlExecutor, vi as slackTeamIdSchema, yi as slackUserIdSchema } from "./db-BTmLKZrp.js";
3
+ import { as as getWorkspaceTeamId, bi as formatSlackLink, br as lookupSlackBot, fi as unfurlSlackLinks, li as postSlackEphemeralMessage, qi as parseDashboardConversationLink, xr as lookupSlackUserProfile, yi as escapeSlackMrkdwnText } from "./credentialed-dWRA3-oJ.js";
4
+ import { P as createCache, gt as mapBounded, n as botConfig } from "./config-BIfHKNXN.js";
5
+ import { F as withSpan } from "./conversation-privacy-DtZhI91r.js";
6
+ import { t as runWithSlackInstallation } from "./adapter-context-B4BrJZuS.js";
7
+ import { a as isMovableToSlack, i as continueConversationInSlack, n as alreadyContinuesInSlackMessage, t as BUSY } from "./continue-in-slack-fnmD2Ifb.js";
8
+ import { t as checkSlackChannelReadAccess } from "./channel-access-BOL29BG3.js";
9
+ import { oi as deferConversationMove } from "./mailbox-turn-DL3Lvsm0.js";
12
10
  import * as z from "zod";
13
11
  // src/chat/ingress/workspace-membership.ts
14
12
  const MEMBER_TTL_MS = 3e5;
@@ -1,8 +1,9 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-BKpuH2hG.js";
2
- import { A as actorFromRun, j as toolInvocationDestination } from "./agent-runner-B5y9MsT-.js";
3
- import { n as botConfig } from "./config-CWbwKj0j.js";
4
- import { t as readConversationLineage } from "./lineage-BXplQAVH.js";
5
- import { G as AgentDepthLimitError, W as spawnChildAgent, bt as getAgentInvocationId, g as createAndEnqueueAgentInvocation, rt as getAgentInvocation } from "./ingest-B0AggUEC.js";
2
+ import { R as actorFromRun } from "./agent-runner-qZU5TR8i.js";
3
+ import { n as botConfig } from "./config-BIfHKNXN.js";
4
+ import { t as readConversationLineage } from "./lineage-EULJkGO1.js";
5
+ import { n as spawnChildAgent } from "./create-CrNt4Ewu.js";
6
+ import { ht as AgentDepthLimitError } from "./warmup-CCOuIwAS.js";
6
7
  // src/chat/agent-invocations/spawn.ts
7
8
  var spawn_exports = /* @__PURE__ */ __exportAll({ bindSpawnAgent: () => bindSpawnAgent });
8
9
  /**
@@ -14,37 +15,28 @@ async function assertCanStartChildAgent(conversationId, maxAgentDepth) {
14
15
  const root = lineage[0];
15
16
  if (!root || root.parentConversationId || lineage.length - 1 > maxAgentDepth) throw new AgentDepthLimitError(maxAgentDepth);
16
17
  }
17
- /** Bind a Run's Actor and credentials to new Agent invocations. */
18
+ /** Bind a Run's Actor and credentials to new child agents. */
18
19
  function bindSpawnAgent(run, options) {
19
20
  const actor = actorFromRun(run);
20
21
  if (!actor) return;
21
22
  return async (input, call) => {
22
23
  call.signal?.throwIfAborted();
23
24
  await assertCanStartChildAgent(run.conversationId, options.maxAgentDepth ?? botConfig.maxAgentDepth);
24
- const idempotencyKey = `${run.turnId}:${call.toolCallId}`;
25
25
  const queue = typeof options.queue === "function" ? options.queue() : options.queue;
26
- const createInput = {
26
+ return await spawnChildAgent({
27
27
  actor,
28
28
  ...input.name ? { agentName: input.name } : void 0,
29
29
  ...input.agentType ? { agentType: input.agentType } : void 0,
30
30
  ...input.fork ? { fork: true } : void 0,
31
31
  ...run.credentialContext ? { credentialContext: run.credentialContext } : void 0,
32
- destination: toolInvocationDestination(run),
33
- idempotencyKey,
32
+ idempotencyKey: `${run.turnId}:${call.toolCallId}`,
34
33
  input: input.task,
35
34
  ...input.kind ? { kind: input.kind } : void 0,
36
35
  parentConversationId: run.conversationId,
37
36
  parentToolCallId: call.toolCallId,
37
+ parentTurnId: run.turnId,
38
38
  ...input.reasoningLevel ? { reasoningLevel: input.reasoningLevel } : void 0,
39
39
  ...input.title ? { title: input.title } : void 0
40
- };
41
- if (await getAgentInvocation(getAgentInvocationId(run.conversationId, idempotencyKey))) return { childConversationId: (await createAndEnqueueAgentInvocation(createInput, {
42
- ...options,
43
- queue
44
- })).childConversationId };
45
- return await spawnChildAgent({
46
- ...createInput,
47
- parentTurnId: run.turnId
48
40
  }, {
49
41
  ...options,
50
42
  queue
@@ -1,14 +1,11 @@
1
- import { Eo as SlackActionError, Fo as readPrivateSlackFile, Lo as streamPrivateSlackFile, io as conversationWatch, wi as getDashboardConversationLink } from "./credentialed-Dyv8b-lu.js";
2
- import { ht as bufferBody } from "./config-CWbwKj0j.js";
3
- import { t as mapBounded } from "./fan-out-Cod-yEHG.js";
4
- import { o as getActiveTraceContext } from "./logging-DNt-qOIO.js";
5
- import "./actor-BsBdxDXQ.js";
6
- import { A as isTopLevelKind, Bn as sameDestination, Pn as conversationDetailTouch, Qt as resolveActorIdentityId, a as getConversationStore, dn as ToolInputError, nt as conversationKindSql, o as getDb, s as getSqlExecutor } from "./db-PwSRzWWn.js";
7
- import { B as juniorAttachments, C as juniorConversationParticipants, H as juniorConversations, K as juniorUsers, U as juniorIdentities, n as isPostgresErrorCode, z as juniorAttachmentUploads } from "./executor-CgWyWfYz.js";
8
- import { K as buildDeterministicTurnId, _ as appendAndEnqueueInboundMessage, g as appendAndEnqueueExclusiveInboundMessage } from "./turn-membership-DTR3SaKD.js";
9
- import { i as isVisionImageMediaType, r as detectImageMediaType } from "./media-B0pZJ0bG.js";
10
- import { t as getVercelConversationWorkQueue } from "./vercel-queue-q4z8w5QO.js";
11
- import { a as recordUploadedAttachment, i as readLiveAttachment, n as fileFields, u as AttachmentSourceUnavailableError } from "./store-CjXrp-Up.js";
1
+ import { Co as conversationWatch, Go as SlackActionError, Ri as getDashboardConversationLink, es as readPrivateSlackFile, ns as streamPrivateSlackFile } from "./credentialed-dWRA3-oJ.js";
2
+ import { _t as bufferBody, gt as mapBounded } from "./config-BIfHKNXN.js";
3
+ import { h as getActiveTraceContext } from "./conversation-privacy-DtZhI91r.js";
4
+ import { Br as juniorConversations, Lr as juniorAttachmentUploads, Rr as juniorAttachments, Tn as ToolInputError, Vr as juniorIdentities, Wr as juniorUsers, Yn as conversationDetailTouch, a as getDb, c as isPostgresErrorCode, di as sameDestination, fn as resolveActorIdentityId, ft as conversationKindSql, i as getConversationStore, o as getSqlExecutor, wr as juniorConversationParticipants, z as isTopLevelKind } from "./db-BTmLKZrp.js";
5
+ import { On as buildDeterministicTurnId, Tt as appendAndEnqueueInboundMessage, wt as appendAndEnqueueExclusiveInboundMessage } from "./mailbox-turn-DL3Lvsm0.js";
6
+ import { i as isVisionImageMediaType, r as detectImageMediaType } from "./media-FYM-Bl3H.js";
7
+ import { t as getVercelConversationWorkQueue } from "./vercel-queue-nL0Hq3hr.js";
8
+ import { a as recordUploadedAttachment, i as readLiveAttachment, n as fileFields, u as AttachmentSourceUnavailableError } from "./store-BuhF1QDm.js";
12
9
  import { t as webMessageId } from "./web-message-id-C6P83ans.js";
13
10
  import * as z from "zod";
14
11
  import { createHash, randomUUID } from "node:crypto";
@@ -723,7 +720,7 @@ const startConversationToolDefinition = zodToolDefinition({
723
720
  }).strict(),
724
721
  outputSchema: juniorToolOutputSchema.extend({
725
722
  conversation_id: z.string().min(1).describe("ID of the new conversation. Pass it to messageAgent to steer it."),
726
- dashboard_url: z.string().url().optional().describe("Dashboard link of the new conversation."),
723
+ url: z.string().url().optional().describe("Link to the new conversation."),
727
724
  subscribable: subscribableResourceSchema.describe("Watch it with watchEvents only when the person asks to hear back.")
728
725
  })
729
726
  });
@@ -732,7 +729,7 @@ function createStartConversationTool(context) {
732
729
  return zodTool({
733
730
  ...startConversationToolDefinition,
734
731
  execute: async (input, options) => {
735
- if (!options.toolCallId || !context.turnId) throw new ToolInputError("startConversation requires an active Turn and tool call ID");
732
+ if (!options.toolCallId || !context.turnId) throw new ToolInputError("startConversation requires an active Turn and tool call ID. No change to the call can fix this.");
736
733
  const { conversationId } = await startLeadConversation({
737
734
  leadConversationId: context.conversationId,
738
735
  messageKey: `${context.turnId}:${options.toolCallId}`,
@@ -740,10 +737,10 @@ function createStartConversationTool(context) {
740
737
  task: input.task,
741
738
  title: input.title
742
739
  });
743
- const dashboardUrl = getDashboardConversationLink(conversationId);
740
+ const url = getDashboardConversationLink(conversationId);
744
741
  return {
745
742
  conversation_id: conversationId,
746
- ...dashboardUrl ? { dashboard_url: dashboardUrl } : void 0,
743
+ ...url ? { url } : void 0,
747
744
  subscribable: conversationWatch({
748
745
  conversationId,
749
746
  title: input.title
@@ -1,7 +1,5 @@
1
- import { B as juniorAttachments, H as juniorConversations, V as juniorMessageAttachments } from "./executor-CgWyWfYz.js";
2
- import { In as touchConversationDetail, Pn as conversationDetailTouch } from "./db-PwSRzWWn.js";
3
- import { t as mapBounded } from "./fan-out-Cod-yEHG.js";
4
- import { ht as bufferBody } from "./config-CWbwKj0j.js";
1
+ import { Br as juniorConversations, Rr as juniorAttachments, Yn as conversationDetailTouch, Zn as touchConversationDetail, zr as juniorMessageAttachments } from "./db-BTmLKZrp.js";
2
+ import { _t as bufferBody, gt as mapBounded } from "./config-BIfHKNXN.js";
5
3
  import { createHash, randomUUID } from "node:crypto";
6
4
  import { and, asc, eq, inArray, isNotNull, isNull, lte, notExists, or } from "drizzle-orm";
7
5
  // src/chat/attachments/source.ts
@@ -1,6 +1,6 @@
1
- import { h as logWarn } from "./logging-DNt-qOIO.js";
2
- import { u as queueCallback } from "./background-compaction-queue-iZXadLV3.js";
3
- import { c as QUEUE_SIGNATURE_MAX_AGE_MS, d as getQueueProvider, l as signQueueMessage, u as verifyQueueMessage } from "./vercel-queue-q4z8w5QO.js";
1
+ import { w as logWarn } from "./conversation-privacy-DtZhI91r.js";
2
+ import { t as queueCallback } from "./callback-C8SdXCwr.js";
3
+ import { c as QUEUE_SIGNATURE_MAX_AGE_MS, d as getQueueProvider, l as signQueueMessage, u as verifyQueueMessage } from "./vercel-queue-nL0Hq3hr.js";
4
4
  import * as z from "zod";
5
5
  import { createHash } from "node:crypto";
6
6
  // src/chat/plugins/task-queue.ts
@@ -12,7 +12,6 @@ import { createHash } from "node:crypto";
12
12
  */
13
13
  /** Deploy topic name. Keep stable for Vercel queue wiring. */
14
14
  const PLUGIN_TASK_QUEUE_TOPIC = "junior_plugin_tasks";
15
- const PLUGIN_TASK_DEV_CONSUMER_GROUP = "junior_plugin_tasks_dev";
16
15
  const PLUGIN_TASK_MAX_DELIVERIES = 5;
17
16
  const PLUGIN_TASK_SIGN_CONTEXT = "junior.plugin_task_queue.v1";
18
17
  const PLUGIN_TASK_SIGN_VERSION = "v1";
@@ -57,14 +56,12 @@ function logPluginTaskQueueMessageRejected(reason, metadata) {
57
56
  }
58
57
  function pluginTaskCallback() {
59
58
  return queueCallback({
60
- consumerGroup: PLUGIN_TASK_DEV_CONSUMER_GROUP,
61
59
  maxDeliveries: PLUGIN_TASK_MAX_DELIVERIES,
62
60
  onRejected: logPluginTaskQueueMessageRejected,
63
61
  run: async (message) => {
64
- const { processPluginTask } = await import("./task-runner--Ke8KSMf.js").then((n) => n.r);
62
+ const { processPluginTask } = await import("./task-runner-C-pXsgHM.js").then((n) => n.r);
65
63
  await processPluginTask(message);
66
64
  },
67
- topic: PLUGIN_TASK_QUEUE_TOPIC,
68
65
  verify: verifyPluginTaskQueueMessage
69
66
  });
70
67
  }
@@ -79,12 +76,4 @@ async function sendVercelPluginTask(message) {
79
76
  function createVercelPluginTaskCallback() {
80
77
  return pluginTaskCallback().create();
81
78
  }
82
- /** Return the queue consumer for plugin tasks, for a pulling queue worker. */
83
- function pluginTaskQueueConsumer() {
84
- return pluginTaskCallback().consumer;
85
- }
86
- /** Register the local-dev consumer for plugin tasks. */
87
- function registerVercelPluginTaskDevConsumer() {
88
- return pluginTaskCallback().registerDev();
89
- }
90
- export { pluginTaskQueueConsumer as a, pluginTaskParamsSchema as i, createVercelPluginTaskCallback as n, registerVercelPluginTaskDevConsumer as o, pluginTaskId as r, sendVercelPluginTask as s, PLUGIN_TASK_QUEUE_TOPIC as t };
79
+ export { sendVercelPluginTask as a, pluginTaskParamsSchema as i, createVercelPluginTaskCallback as n, pluginTaskId as r, PLUGIN_TASK_QUEUE_TOPIC as t };