@sentry/junior 0.317.0 → 0.318.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 (74) hide show
  1. package/dist/{admin-CAugg87B.js → admin-UOHix_5P.js} +1 -1
  2. package/dist/{agent-runner-AjrEV6Qe.js → agent-runner-DeYymwh2.js} +183 -113
  3. package/dist/{agent-update-delivery-B_YIZcgf.js → agent-update-delivery-DH8bx7jU.js} +5 -5
  4. package/dist/api/schema.d.ts +42 -28
  5. package/dist/api/schema.js +3 -3
  6. package/dist/api.js +38 -41
  7. package/dist/{app-MoNAsVV5.d.ts → app-DKAOuaoC.d.ts} +4 -9
  8. package/dist/app.d.ts +1 -1
  9. package/dist/app.js +62 -91
  10. package/dist/{thread-context-CqZDKErp.js → auth-pause-state-f9hJM_zO.js} +6 -59
  11. package/dist/{catalog-runtime-DfSpJZdY.js → catalog-runtime-BfdAnztW.js} +1 -1
  12. package/dist/{channel-access-j-YAVYK4.js → channel-access-A0de5lRv.js} +1 -1
  13. package/dist/{chat-core-engine-aH85nEHv.js → chat-core-engine-D3Wd7f5n.js} +6 -6
  14. package/dist/{child-message-DHjQLEd1.js → child-message-peFWLcCZ.js} +1 -5
  15. package/dist/cli/chat.js +32 -24
  16. package/dist/cli/check.js +4 -4
  17. package/dist/cli/main.js +2 -2
  18. package/dist/cli/plugins.js +4 -4
  19. package/dist/cli/snapshot-create.js +4 -5
  20. package/dist/cli/upgrade.js +3 -3
  21. package/dist/context-BKF_5zzI.js +1833 -0
  22. package/dist/{continue-in-slack-D-FZ8Fin.js → continue-in-slack-YxwMQVeR.js} +3 -2
  23. package/dist/{conversation-feed--9S0_PXL.js → conversation-feed-Cj7IuBtM.js} +1 -1
  24. package/dist/{conversation-privacy-B1uXn5sf.js → conversation-privacy-Cr_dNW1p.js} +1 -1
  25. package/dist/{conversation-turn-BUE_7xaN.js → conversation-turn-Bru4w_FD.js} +111 -18
  26. package/dist/{create-DoDIYgtZ.js → create-Btl1y1rq.js} +13 -15
  27. package/dist/{credential-sync-BJOqGnjV.js → credential-sync-DTarZ63K.js} +17 -17
  28. package/dist/{db-BFmyYZtJ.js → db-of6e3sGt.js} +1943 -1189
  29. package/dist/{deployment-DXq9ZLU4.js → deployment-C0qXa0FD.js} +1 -1
  30. package/dist/{engine-context-CgQ7mlHt.js → engine-context-C_QL_bMQ.js} +52 -21
  31. package/dist/{html-B3VKTGbJ.js → html-9_pS9SjY.js} +6 -6
  32. package/dist/instrumentation.js +2 -2
  33. package/dist/{job-runner-A1lCkybD.js → job-runner-B2XEvpif.js} +11 -12
  34. package/dist/{lineage-Bktb0UcV.js → lineage-nh4z9iQN.js} +1 -1
  35. package/dist/{list-Bxvg5wXf.js → list-HRP3TIRl.js} +45 -37
  36. package/dist/{logging--smS7XRK.js → logging-BnOG0qz2.js} +3 -49
  37. package/dist/{mailbox-turn-uSXhUFc9.js → mailbox-turn-Byrry9o1.js} +220 -223
  38. package/dist/{parent-result-Ck1rFYRQ.js → markers-CTTtJqYn.js} +84 -52
  39. package/dist/{message-BNenhsmB.js → message-BRUuLgrY.js} +9 -10
  40. package/dist/{model-input-BReSnwHp.js → model-input-CFC62mf-.js} +2 -2
  41. package/dist/nitro.d.ts +1 -1
  42. package/dist/nitro.js +4 -4
  43. package/dist/{oauth-callback-server-CE4soEIY.js → oauth-callback-server-CjnnUr4o.js} +2 -2
  44. package/dist/{oauth-relay-C36gX1gH.js → oauth-relay-BvHFH0fV.js} +1 -1
  45. package/dist/{profile-BQ-iBDsZ.js → profile-iHw1uu32.js} +7 -7
  46. package/dist/{prompt-Dv7gkpD6.js → prompt-DEkStuxG.js} +10 -10
  47. package/dist/{registry-iXMT5Jmh.js → registry-Cl7Labpe.js} +7 -7
  48. package/dist/{reports-WKHfGTsU.js → reports-C1d9azyV.js} +2 -2
  49. package/dist/{resolve-tony4ibz.js → resolve-DC6zBuDV.js} +5 -5
  50. package/dist/{result-Bta_dlWa.js → result-DxewDuXb.js} +12 -12
  51. package/dist/{run-conversation-DL6ru7iW.js → run-conversation-Cz2ubZK-.js} +6 -5
  52. package/dist/{runner-BstDRbD9.js → runner-99YxVN_r.js} +10 -18
  53. package/dist/{sandbox-egress-signals-oSJMJOnn.js → sandbox-egress-signals-CgoX5CTI.js} +1 -1
  54. package/dist/{schema-DfqrHACA.js → schema-BTojNBr5.js} +2 -2
  55. package/dist/{sender-actors-CPglLd5R.js → sender-actors-77zTQbSG.js} +7 -6
  56. package/dist/{service-account-CTV_jaNu.js → service-account-YDCPSByj.js} +3 -3
  57. package/dist/{skills-BCEU41zM.js → skills-CleC0Hze.js} +5 -4
  58. package/dist/{slack-conversation-unfurl-DxVmhbGP.js → slack-conversation-unfurl-BNQLC12R.js} +7 -7
  59. package/dist/{spawn-frczVPIr.js → spawn-DuZfodPa.js} +7 -10
  60. package/dist/{system-prompt-table-CiXy0eNR.js → system-prompt-table-Ci6Ck4gk.js} +2 -2
  61. package/dist/{task-runner-C9Yc2_ae.js → task-runner-BJ9Up3bG.js} +18 -15
  62. package/dist/{topics-SRN7IVX-.js → topics-BoCkoPJJ.js} +2 -5
  63. package/dist/{turn-membership-CENFf3kI.js → turn-membership-VT7XZh-L.js} +4 -4
  64. package/dist/{turn-wake-BhloiI2h.js → turn-wake-C7HeLHAM.js} +4 -4
  65. package/dist/{types-C4iC-IMC.js → types-DCzTAA63.js} +55 -49
  66. package/dist/{users-ByG5RCEJ.js → users-Cb9c1k9q.js} +1 -1
  67. package/dist/{validation-8gjfR91V.js → validation-BiUmWPhy.js} +1 -1
  68. package/dist/{version-BeZhWWBE.js → version-VEXiEcZu.js} +1 -1
  69. package/dist/version.js +1 -1
  70. package/dist/{worker-BqMQQNRk.js → worker-ChWYQdhm.js} +5 -5
  71. package/migrations/20261127002500_turn_discarded_usage/migration.sql +2 -0
  72. package/migrations/20261127002500_turn_discarded_usage/snapshot.json +73 -0
  73. package/package.json +5 -5
  74. package/dist/config-CHQ8X251.js +0 -2422
@@ -1,8 +1,8 @@
1
- import { a as getDb, cl as CORE_EVENT_NAMESPACE, dl as eventGuidance, eo as getEventCatalog, i as getConversationStore, po as isAgentResourceType, vr as canReadConversation, wo as isQuietEvent, xo as deliverWatch } from "./db-BFmyYZtJ.js";
2
- import { i as renderAgentResult, r as enqueueStarterUpdate } from "./result-Bta_dlWa.js";
3
- import { m as readChildConversationSender } from "./parent-result-Ck1rFYRQ.js";
4
- import { A as createEventInboundMessage, Nt as renderTaskInput, O as EVENT_WAIT_MS, U as enqueueAutomatedInput, Xn as EVENT_SYSTEM_ACTOR, k as addQuietEventNote, w as getPersonStopTurnId } from "./mailbox-turn-uSXhUFc9.js";
5
- import { En as AGENT_UPDATE_EVENT_TYPE } from "./types-C4iC-IMC.js";
1
+ import { Hl as EVENT_SYSTEM_ACTOR, Kl as CORE_EVENT_NAMESPACE, Oo as deliverWatch, Yl as eventGuidance, a as getDb, bo as isAgentResourceType, br as canReadConversation, i as getConversationStore, jo as isQuietEvent, so as getEventCatalog } from "./db-of6e3sGt.js";
2
+ import { i as renderAgentResult, r as enqueueStarterUpdate } from "./result-DxewDuXb.js";
3
+ import { p as readChildConversationSender } from "./markers-CTTtJqYn.js";
4
+ import { A as createEventInboundMessage, H as enqueueAutomatedInput, It as renderTaskInput, O as EVENT_WAIT_MS, k as addQuietEventNote, w as getPersonStopTurnId } from "./mailbox-turn-Byrry9o1.js";
5
+ import { zn as AGENT_UPDATE_EVENT_TYPE } from "./types-DCzTAA63.js";
6
6
  // src/chat/conversations/agent-update-delivery.ts
7
7
  const SUMMARIES = {
8
8
  blocked: "The conversation is blocked.",
@@ -582,18 +582,20 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
582
582
  ask: "ask";
583
583
  deny: "deny";
584
584
  }>;
585
- riskLevel: z.ZodEnum<{
585
+ rule: z.ZodOptional<z.ZodString>;
586
+ reason: z.ZodOptional<z.ZodString>;
587
+ riskLevel: z.ZodOptional<z.ZodEnum<{
586
588
  critical: "critical";
587
589
  high: "high";
588
590
  low: "low";
589
591
  medium: "medium";
590
- }>;
591
- userAuthorization: z.ZodEnum<{
592
+ }>>;
593
+ userAuthorization: z.ZodOptional<z.ZodEnum<{
592
594
  high: "high";
593
595
  low: "low";
594
596
  medium: "medium";
595
597
  unknown: "unknown";
596
- }>;
598
+ }>>;
597
599
  }, z.core.$strict>, z.ZodObject<{
598
600
  type: z.ZodLiteral<"compaction">;
599
601
  modelId: z.ZodOptional<z.ZodString>;
@@ -867,18 +869,20 @@ export declare const conversationReportEventSchema: z.ZodObject<{
867
869
  ask: "ask";
868
870
  deny: "deny";
869
871
  }>;
870
- riskLevel: z.ZodEnum<{
872
+ rule: z.ZodOptional<z.ZodString>;
873
+ reason: z.ZodOptional<z.ZodString>;
874
+ riskLevel: z.ZodOptional<z.ZodEnum<{
871
875
  critical: "critical";
872
876
  high: "high";
873
877
  low: "low";
874
878
  medium: "medium";
875
- }>;
876
- userAuthorization: z.ZodEnum<{
879
+ }>>;
880
+ userAuthorization: z.ZodOptional<z.ZodEnum<{
877
881
  high: "high";
878
882
  low: "low";
879
883
  medium: "medium";
880
884
  unknown: "unknown";
881
- }>;
885
+ }>>;
882
886
  }, z.core.$strict>, z.ZodObject<{
883
887
  type: z.ZodLiteral<"compaction">;
884
888
  modelId: z.ZodOptional<z.ZodString>;
@@ -1225,18 +1229,20 @@ export declare const conversationEventPageSchema: z.ZodObject<{
1225
1229
  ask: "ask";
1226
1230
  deny: "deny";
1227
1231
  }>;
1228
- riskLevel: z.ZodEnum<{
1232
+ rule: z.ZodOptional<z.ZodString>;
1233
+ reason: z.ZodOptional<z.ZodString>;
1234
+ riskLevel: z.ZodOptional<z.ZodEnum<{
1229
1235
  critical: "critical";
1230
1236
  high: "high";
1231
1237
  low: "low";
1232
1238
  medium: "medium";
1233
- }>;
1234
- userAuthorization: z.ZodEnum<{
1239
+ }>>;
1240
+ userAuthorization: z.ZodOptional<z.ZodEnum<{
1235
1241
  high: "high";
1236
1242
  low: "low";
1237
1243
  medium: "medium";
1238
1244
  unknown: "unknown";
1239
- }>;
1245
+ }>>;
1240
1246
  }, z.core.$strict>, z.ZodObject<{
1241
1247
  type: z.ZodLiteral<"compaction">;
1242
1248
  modelId: z.ZodOptional<z.ZodString>;
@@ -2023,18 +2029,20 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
2023
2029
  ask: "ask";
2024
2030
  deny: "deny";
2025
2031
  }>;
2026
- riskLevel: z.ZodEnum<{
2032
+ rule: z.ZodOptional<z.ZodString>;
2033
+ reason: z.ZodOptional<z.ZodString>;
2034
+ riskLevel: z.ZodOptional<z.ZodEnum<{
2027
2035
  critical: "critical";
2028
2036
  high: "high";
2029
2037
  low: "low";
2030
2038
  medium: "medium";
2031
- }>;
2032
- userAuthorization: z.ZodEnum<{
2039
+ }>>;
2040
+ userAuthorization: z.ZodOptional<z.ZodEnum<{
2033
2041
  high: "high";
2034
2042
  low: "low";
2035
2043
  medium: "medium";
2036
2044
  unknown: "unknown";
2037
- }>;
2045
+ }>>;
2038
2046
  }, z.core.$strict>, z.ZodObject<{
2039
2047
  type: z.ZodLiteral<"compaction">;
2040
2048
  modelId: z.ZodOptional<z.ZodString>;
@@ -2386,18 +2394,20 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
2386
2394
  ask: "ask";
2387
2395
  deny: "deny";
2388
2396
  }>;
2389
- riskLevel: z.ZodEnum<{
2397
+ rule: z.ZodOptional<z.ZodString>;
2398
+ reason: z.ZodOptional<z.ZodString>;
2399
+ riskLevel: z.ZodOptional<z.ZodEnum<{
2390
2400
  critical: "critical";
2391
2401
  high: "high";
2392
2402
  low: "low";
2393
2403
  medium: "medium";
2394
- }>;
2395
- userAuthorization: z.ZodEnum<{
2404
+ }>>;
2405
+ userAuthorization: z.ZodOptional<z.ZodEnum<{
2396
2406
  high: "high";
2397
2407
  low: "low";
2398
2408
  medium: "medium";
2399
2409
  unknown: "unknown";
2400
- }>;
2410
+ }>>;
2401
2411
  }, z.core.$strict>, z.ZodObject<{
2402
2412
  type: z.ZodLiteral<"compaction">;
2403
2413
  modelId: z.ZodOptional<z.ZodString>;
@@ -4055,18 +4065,20 @@ export declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
4055
4065
  ask: "ask";
4056
4066
  deny: "deny";
4057
4067
  }>;
4058
- riskLevel: z.ZodEnum<{
4068
+ rule: z.ZodOptional<z.ZodString>;
4069
+ reason: z.ZodOptional<z.ZodString>;
4070
+ riskLevel: z.ZodOptional<z.ZodEnum<{
4059
4071
  critical: "critical";
4060
4072
  high: "high";
4061
4073
  low: "low";
4062
4074
  medium: "medium";
4063
- }>;
4064
- userAuthorization: z.ZodEnum<{
4075
+ }>>;
4076
+ userAuthorization: z.ZodOptional<z.ZodEnum<{
4065
4077
  high: "high";
4066
4078
  low: "low";
4067
4079
  medium: "medium";
4068
4080
  unknown: "unknown";
4069
- }>;
4081
+ }>>;
4070
4082
  }, z.core.$strict>, z.ZodObject<{
4071
4083
  type: z.ZodLiteral<"compaction">;
4072
4084
  modelId: z.ZodOptional<z.ZodString>;
@@ -4418,18 +4430,20 @@ export declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
4418
4430
  ask: "ask";
4419
4431
  deny: "deny";
4420
4432
  }>;
4421
- riskLevel: z.ZodEnum<{
4433
+ rule: z.ZodOptional<z.ZodString>;
4434
+ reason: z.ZodOptional<z.ZodString>;
4435
+ riskLevel: z.ZodOptional<z.ZodEnum<{
4422
4436
  critical: "critical";
4423
4437
  high: "high";
4424
4438
  low: "low";
4425
4439
  medium: "medium";
4426
- }>;
4427
- userAuthorization: z.ZodEnum<{
4440
+ }>>;
4441
+ userAuthorization: z.ZodOptional<z.ZodEnum<{
4428
4442
  high: "high";
4429
4443
  low: "low";
4430
4444
  medium: "medium";
4431
4445
  unknown: "unknown";
4432
- }>;
4446
+ }>>;
4433
4447
  }, z.core.$strict>, z.ZodObject<{
4434
4448
  type: z.ZodLiteral<"compaction">;
4435
4449
  modelId: z.ZodOptional<z.ZodString>;
@@ -1,6 +1,6 @@
1
- import { $ as activityPreviewText, A as automationVersionSchema, An as isLegacyResultEventType, At as spaceListQuerySchema, B as conversationDetailQuerySchema, Bt as annotationCard, C as automationScheduleIntentSchema, D as automationVersionActivateSchema, Dt as SPACE_NAME_MAX_CHARS, E as automationUpdateSchema, En as AGENT_UPDATE_EVENT_TYPE, Et as SPACE_DESCRIPTION_MAX_CHARS, Ft as spaceVisibilitySchema, G as conversationParamsSchema, Gt as resolveMessageCards, H as conversationEventHistorySchema, Ht as messageCardText, I as conversationActivityPreviewSchema, In as DEFAULT_NOTIFICATION_SCHEDULE, It as updateSpaceBodySchema, K as conversationReportEventDataSchema, Kn as gatewayOnlyProviders, Kt as MAX_ATTACHMENT_BYTES, Ln as isWithinNotificationSchedule, M as scheduledAutomationSummarySchema, Mt as spaceParamsSchema, N as CONVERSATION_DETAIL_VERSION_HEADER, Nt as spaceRefSchema, O as automationVersionListSchema, On as isAgentMessageEventType, Ot as archiveSpaceBodySchema, P as CONVERSATION_VERSION_HEADER, Pt as spaceSchema, Rn as notificationScheduleSchema, Rt as conversationReadPositionSchema, S as automationRunWindowsSchema, T as automationSummarySchema, U as conversationEventPageSchema, Un as CONTENT_VERSION_HEADER, V as conversationDetailReportSchema, W as conversationEventsQuerySchema, Wn as apiErrorSchema, X as conversationSummaryReportSchema, _ as automationListQuerySchema, _n as buttonUserInputField, b as automationRunListSchema, bn as normalizeUserInputAnswer, c as automationEditSchema, ct as conversationTurnFailureReasonSchema, d as automationExecutionSchema, et as conversationChildAgentTotalsSchema, f as automationExecutionStatusDaySchema, fn as inboxItemQuestion, g as automationListPageSchema, gn as answeredChoices, h as automationListItemSchema, hn as USER_INPUT_NOTE, j as eventAutomationSummarySchema, jt as spaceListSchema, k as automationVersionParamsSchema, kn as isAgentUpdateEventType, kt as createSpaceBodySchema, l as automationEventCatalogSchema, p as automationExecutionStatusSchema, q as conversationReportEventSchema, qt as MAX_INPUT_ATTACHMENTS, s as automationEditErrorSchema, st as conversationTurnFailureCodeSchema, u as automationExecutionListSchema, v as automationListSchema, w as automationSchedulePreviewSchema, x as automationRunSchema, y as automationParamsSchema, yn as isEmptyUserInputAnswer, z as conversationAuxiliaryCostsSchema } from "../types-C4iC-IMC.js";
1
+ import { $ as activityPreviewText, A as automationVersionSchema, An as isWithinNotificationSchedule, At as spaceListQuerySchema, B as conversationDetailQuerySchema, Bt as annotationCard, C as automationScheduleIntentSchema, D as automationVersionActivateSchema, Dt as SPACE_NAME_MAX_CHARS, E as automationUpdateSchema, Et as SPACE_DESCRIPTION_MAX_CHARS, Ft as spaceVisibilitySchema, G as conversationParamsSchema, Gt as resolveMessageCards, H as conversationEventHistorySchema, Hn as isAgentUpdateEventType, Ht as messageCardText, I as conversationActivityPreviewSchema, In as CONTENT_VERSION_HEADER, It as updateSpaceBodySchema, K as conversationReportEventDataSchema, Kt as MAX_ATTACHMENT_BYTES, Ln as apiErrorSchema, M as scheduledAutomationSummarySchema, Mt as spaceParamsSchema, N as CONVERSATION_DETAIL_VERSION_HEADER, Nt as spaceRefSchema, O as automationVersionListSchema, Ot as archiveSpaceBodySchema, P as CONVERSATION_VERSION_HEADER, Pt as spaceSchema, Rt as conversationReadPositionSchema, S as automationRunWindowsSchema, T as automationSummarySchema, U as conversationEventPageSchema, Un as isLegacyResultEventType, V as conversationDetailReportSchema, Vn as isAgentMessageEventType, W as conversationEventsQuerySchema, Wn as gatewayOnlyProviders, X as conversationSummaryReportSchema, _ as automationListQuerySchema, _n as buttonUserInputField, b as automationRunListSchema, bn as normalizeUserInputAnswer, c as automationEditSchema, ct as conversationTurnFailureReasonSchema, d as automationExecutionSchema, et as conversationChildAgentTotalsSchema, f as automationExecutionStatusDaySchema, fn as inboxItemQuestion, g as automationListPageSchema, gn as answeredChoices, h as automationListItemSchema, hn as USER_INPUT_NOTE, j as eventAutomationSummarySchema, jn as notificationScheduleSchema, jt as spaceListSchema, k as automationVersionParamsSchema, kn as DEFAULT_NOTIFICATION_SCHEDULE, kt as createSpaceBodySchema, l as automationEventCatalogSchema, p as automationExecutionStatusSchema, q as conversationReportEventSchema, qt as MAX_INPUT_ATTACHMENTS, s as automationEditErrorSchema, st as conversationTurnFailureCodeSchema, u as automationExecutionListSchema, v as automationListSchema, w as automationSchedulePreviewSchema, x as automationRunSchema, y as automationParamsSchema, yn as isEmptyUserInputAnswer, z as conversationAuxiliaryCostsSchema, zn as AGENT_UPDATE_EVENT_TYPE } from "../types-DCzTAA63.js";
2
2
  import { n as webMessageId } from "../agent-status-BA5x3Xtp.js";
3
3
  import { a as INPUT_IMAGE_TYPES, i as INLINE_VIDEO_TYPES, n as userCustomizationSchema, t as USER_CUSTOMIZATION_MAX_CHARS } from "../user-customization-CvfuY9Eo.js";
4
- import { A as conversationUnchangedDetailWithMailboxSchema, B as runtimeInfoReportSchema, C as cancelConversationPendingMessagesBodySchema, D as conversationPendingMessageDeliverySchema, E as conversationPendingAuthorizationSchema, F as pluginOperationalReportSchema, G as messageObjectCard, H as skillReportSchema, I as pluginPackageContentItemReportSchema, K as personObjectCard, L as pluginPackageContentReportSchema, M as steerConversationPendingMessagesResponseSchema, N as healthReportSchema, O as conversationPendingMessageSchema, P as pluginOperationalReportFeedSchema, R as pluginSchema, S as conversationAutoArchiveSchema, T as conversationDetailWithMailboxReportSchema, U as skillReportsSchema, V as skillDetailReportSchema, W as conversationObjectCard, _ as reorderPinnedConversationsBodySchema, a as conversationInviteResponseSchema, b as archiveConversationResponseSchema, c as conversationSubscriptionResponseSchema, d as CONVERSATION_TITLE_MAX_LENGTH, g as pinConversationResponseSchema, h as pinConversationBodySchema, i as conversationInviteBodySchema, j as steerConversationPendingMessagesBodySchema, k as conversationPendingMessagesReportSchema, l as setConversationSpaceBodySchema, m as renameConversationResponseSchema, n as conversationFeedSchema, o as conversationLeaveResponseSchema, p as renameConversationBodySchema, q as webPageObjectCard, r as stopConversationTurnResponseSchema, s as conversationSubscriptionBodySchema, t as conversationFeedQuerySchema, u as setConversationSpaceResponseSchema, v as reorderPinnedConversationsResponseSchema, w as cancelConversationPendingMessagesResponseSchema, x as archiveDoneConversationsResponseSchema, y as archiveConversationBodySchema, z as pluginsSchema } from "../conversation-feed--9S0_PXL.js";
5
- import { $ as userSearchQuerySchema, $t as conversationChildAgentsReportSchema, A as cacheHealthQuerySchema, At as startConnectionResponseSchema, B as serviceAccountParamsSchema, Bt as codeRepositoryQuerySchema, D as inboxSnoozeWakesClearSchema, Dt as connectionParamsSchema, E as inboxSnoozeSubjectSchema, Et as connectionListSchema, F as cacheWarmingSavingsRefillResponseSchema, Ft as codeChangeSummaryReportSchema, G as createPersonalTokenBodySchema, Gt as conversationTodoSchema, H as startServiceAccountSignInResponseSchema, Ht as codeRepositorySummarySchema, I as cacheWarmingSavingsReportSchema, It as codeChangeSummarySchema, J as personalTokenMetadataSchema, Jt as todoStatusBodySchema, K as createdPersonalTokenSchema, Kt as conversationTodosReportSchema, L as closeCacheWarmingBreakerResponseSchema, Lt as codeOverviewReportSchema, M as cacheWarmingBreakerListSchema, Mt as codeActivityDaySchema, Nt as codeChangeSearchQuerySchema, O as gatewayProvidersSchema, Ot as connectionSchema, Pt as codeChangeSearchReportSchema, Q as USER_SEARCH_MAX_LIMIT, Qt as conversationChildAgentSchema, R as disconnectServiceAccountResponseSchema, Rt as codePersonReportSchema, S as inboxSnoozeCreateSchema, St as notificationSettingsSchema, T as inboxSnoozeSchema, Tt as testNotificationResponseSchema, U as searchQuerySchema, Ut as mentionableCodeChangeSchema, V as serviceAccountSchema, Vt as codeRepositoryReportSchema, W as searchReportSchema, X as revokePersonalTokenResponseSchema, Xt as conversationWatchesReportSchema, Y as personalTokenParamsSchema, Yt as conversationWatchSchema, Z as USER_SEARCH_DEFAULT_LIMIT, Zt as watchParamsSchema, _ as inboxItemListSchema, _n as acceptedConversationMessageSchema, _t as locationParamsSchema, a as statsReportSchema, an as objectLinksQuerySchema, b as inboxItemWaitingConversationsSchema, bn as forkConversationBodySchema, c as workspaceBodySchema, cn as CONVERSATION_OUTLINE_TEXT_LENGTH, ct as peopleSearchReportSchema, d as workspaceRepoSchema, dn as conversationDeliveryResponseSchema, dt as personalSpendReportSchema, en as continueConversationInSlackBodySchema, et as userSearchReportSchema, f as workspaceSchema, fn as conversationCatchUpBodySchema, ft as spaceConfigEntrySchema, gn as createAttachmentUploadBodySchema, gt as locationDirectoryReportSchema, h as inboxItemCountSchema, hn as attachmentUploadSchema, ht as locationDetailReportSchema, i as statSchema, in as attachObjectLinkResponseSchema, it as actorProfileReportSchema, j as cacheHealthReportSchema, jt as IDLE_CHANGE_DAYS, k as updateGatewayProvidersBodySchema, kt as disconnectConnectionResponseSchema, l as workspaceListSchema, ln as conversationOutlineSchema, lt as personCardReportSchema, mt as locationActivityDayReportSchema, nn as MAX_OBJECT_LINKS, nt as PERSON_CARD_RECENT_LIMIT, o as baselineSnapshotSchema, on as objectLinksReportSchema, ot as mentionablePersonSchema, p as inboxItemActionSchema, pn as conversationCatchUpSchema, pt as spaceConfigurationSchema, q as personalTokenListSchema, r as versionsSchema, rn as attachObjectLinkBodySchema, rt as actorDirectoryReportSchema, s as deleteWorkspaceResponseSchema, sn as conversationStatsReportSchema, st as peopleSearchQuerySchema, t as VERSIONS_CONVERSATION_LIMIT, tn as continueConversationInSlackResponseSchema, tt as userSearchResultSchema, u as workspaceParamsSchema, un as conversationDeliveryBodySchema, ut as personParamsSchema, vn as createConversationBodySchema, w as inboxSnoozeResourceSchema, x as INBOX_SNOOZE_MAX_TRIGGERS, xn as forkConversationResponseSchema, xt as dailyConversationActivitySchema, y as inboxItemSchema, yn as createConversationMessageBodySchema, z as serviceAccountListSchema, zt as codeRepositoryParamsSchema } from "../schema-DfqrHACA.js";
4
+ import { A as conversationUnchangedDetailWithMailboxSchema, B as runtimeInfoReportSchema, C as cancelConversationPendingMessagesBodySchema, D as conversationPendingMessageDeliverySchema, E as conversationPendingAuthorizationSchema, F as pluginOperationalReportSchema, G as messageObjectCard, H as skillReportSchema, I as pluginPackageContentItemReportSchema, K as personObjectCard, L as pluginPackageContentReportSchema, M as steerConversationPendingMessagesResponseSchema, N as healthReportSchema, O as conversationPendingMessageSchema, P as pluginOperationalReportFeedSchema, R as pluginSchema, S as conversationAutoArchiveSchema, T as conversationDetailWithMailboxReportSchema, U as skillReportsSchema, V as skillDetailReportSchema, W as conversationObjectCard, _ as reorderPinnedConversationsBodySchema, a as conversationInviteResponseSchema, b as archiveConversationResponseSchema, c as conversationSubscriptionResponseSchema, d as CONVERSATION_TITLE_MAX_LENGTH, g as pinConversationResponseSchema, h as pinConversationBodySchema, i as conversationInviteBodySchema, j as steerConversationPendingMessagesBodySchema, k as conversationPendingMessagesReportSchema, l as setConversationSpaceBodySchema, m as renameConversationResponseSchema, n as conversationFeedSchema, o as conversationLeaveResponseSchema, p as renameConversationBodySchema, q as webPageObjectCard, r as stopConversationTurnResponseSchema, s as conversationSubscriptionBodySchema, t as conversationFeedQuerySchema, u as setConversationSpaceResponseSchema, v as reorderPinnedConversationsResponseSchema, w as cancelConversationPendingMessagesResponseSchema, x as archiveDoneConversationsResponseSchema, y as archiveConversationBodySchema, z as pluginsSchema } from "../conversation-feed-Cj7IuBtM.js";
5
+ import { $ as userSearchQuerySchema, $t as conversationChildAgentsReportSchema, A as cacheHealthQuerySchema, At as startConnectionResponseSchema, B as serviceAccountParamsSchema, Bt as codeRepositoryQuerySchema, D as inboxSnoozeWakesClearSchema, Dt as connectionParamsSchema, E as inboxSnoozeSubjectSchema, Et as connectionListSchema, F as cacheWarmingSavingsRefillResponseSchema, Ft as codeChangeSummaryReportSchema, G as createPersonalTokenBodySchema, Gt as conversationTodoSchema, H as startServiceAccountSignInResponseSchema, Ht as codeRepositorySummarySchema, I as cacheWarmingSavingsReportSchema, It as codeChangeSummarySchema, J as personalTokenMetadataSchema, Jt as todoStatusBodySchema, K as createdPersonalTokenSchema, Kt as conversationTodosReportSchema, L as closeCacheWarmingBreakerResponseSchema, Lt as codeOverviewReportSchema, M as cacheWarmingBreakerListSchema, Mt as codeActivityDaySchema, Nt as codeChangeSearchQuerySchema, O as gatewayProvidersSchema, Ot as connectionSchema, Pt as codeChangeSearchReportSchema, Q as USER_SEARCH_MAX_LIMIT, Qt as conversationChildAgentSchema, R as disconnectServiceAccountResponseSchema, Rt as codePersonReportSchema, S as inboxSnoozeCreateSchema, St as notificationSettingsSchema, T as inboxSnoozeSchema, Tt as testNotificationResponseSchema, U as searchQuerySchema, Ut as mentionableCodeChangeSchema, V as serviceAccountSchema, Vt as codeRepositoryReportSchema, W as searchReportSchema, X as revokePersonalTokenResponseSchema, Xt as conversationWatchesReportSchema, Y as personalTokenParamsSchema, Yt as conversationWatchSchema, Z as USER_SEARCH_DEFAULT_LIMIT, Zt as watchParamsSchema, _ as inboxItemListSchema, _n as acceptedConversationMessageSchema, _t as locationParamsSchema, a as statsReportSchema, an as objectLinksQuerySchema, b as inboxItemWaitingConversationsSchema, bn as forkConversationBodySchema, c as workspaceBodySchema, cn as CONVERSATION_OUTLINE_TEXT_LENGTH, ct as peopleSearchReportSchema, d as workspaceRepoSchema, dn as conversationDeliveryResponseSchema, dt as personalSpendReportSchema, en as continueConversationInSlackBodySchema, et as userSearchReportSchema, f as workspaceSchema, fn as conversationCatchUpBodySchema, ft as spaceConfigEntrySchema, gn as createAttachmentUploadBodySchema, gt as locationDirectoryReportSchema, h as inboxItemCountSchema, hn as attachmentUploadSchema, ht as locationDetailReportSchema, i as statSchema, in as attachObjectLinkResponseSchema, it as actorProfileReportSchema, j as cacheHealthReportSchema, jt as IDLE_CHANGE_DAYS, k as updateGatewayProvidersBodySchema, kt as disconnectConnectionResponseSchema, l as workspaceListSchema, ln as conversationOutlineSchema, lt as personCardReportSchema, mt as locationActivityDayReportSchema, nn as MAX_OBJECT_LINKS, nt as PERSON_CARD_RECENT_LIMIT, o as baselineSnapshotSchema, on as objectLinksReportSchema, ot as mentionablePersonSchema, p as inboxItemActionSchema, pn as conversationCatchUpSchema, pt as spaceConfigurationSchema, q as personalTokenListSchema, r as versionsSchema, rn as attachObjectLinkBodySchema, rt as actorDirectoryReportSchema, s as deleteWorkspaceResponseSchema, sn as conversationStatsReportSchema, st as peopleSearchQuerySchema, t as VERSIONS_CONVERSATION_LIMIT, tn as continueConversationInSlackResponseSchema, tt as userSearchResultSchema, u as workspaceParamsSchema, un as conversationDeliveryBodySchema, ut as personParamsSchema, vn as createConversationBodySchema, w as inboxSnoozeResourceSchema, x as INBOX_SNOOZE_MAX_TRIGGERS, xn as forkConversationResponseSchema, xt as dailyConversationActivitySchema, y as inboxItemSchema, yn as createConversationMessageBodySchema, z as serviceAccountListSchema, zt as codeRepositoryParamsSchema } from "../schema-BTojNBr5.js";
6
6
  export { AGENT_UPDATE_EVENT_TYPE, CONTENT_VERSION_HEADER, CONVERSATION_DETAIL_VERSION_HEADER, CONVERSATION_OUTLINE_TEXT_LENGTH, CONVERSATION_TITLE_MAX_LENGTH, CONVERSATION_VERSION_HEADER, DEFAULT_NOTIFICATION_SCHEDULE, IDLE_CHANGE_DAYS, INBOX_SNOOZE_MAX_TRIGGERS, INLINE_VIDEO_TYPES, INPUT_IMAGE_TYPES, MAX_ATTACHMENT_BYTES, MAX_INPUT_ATTACHMENTS, MAX_OBJECT_LINKS, PERSON_CARD_RECENT_LIMIT, SPACE_DESCRIPTION_MAX_CHARS, SPACE_NAME_MAX_CHARS, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, USER_SEARCH_DEFAULT_LIMIT, USER_SEARCH_MAX_LIMIT, VERSIONS_CONVERSATION_LIMIT, acceptedConversationMessageSchema, activityPreviewText, actorDirectoryReportSchema, actorProfileReportSchema, annotationCard, answeredChoices, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, archiveSpaceBodySchema, attachObjectLinkBodySchema, attachObjectLinkResponseSchema, attachmentUploadSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListItemSchema, automationListPageSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cacheHealthQuerySchema, cacheHealthReportSchema, cacheWarmingBreakerListSchema, cacheWarmingSavingsRefillResponseSchema, cacheWarmingSavingsReportSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, closeCacheWarmingBreakerResponseSchema, codeActivityDaySchema, codeChangeSearchQuerySchema, codeChangeSearchReportSchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryQuerySchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, continueConversationInSlackBodySchema, continueConversationInSlackResponseSchema, conversationActivityPreviewSchema, conversationAutoArchiveSchema, conversationAuxiliaryCostsSchema, conversationCatchUpBodySchema, conversationCatchUpSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDeliveryBodySchema, conversationDeliveryResponseSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationDetailWithMailboxReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationInviteBodySchema, conversationInviteResponseSchema, conversationLeaveResponseSchema, conversationObjectCard, conversationOutlineSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSubscriptionBodySchema, conversationSubscriptionResponseSchema, conversationSummaryReportSchema, conversationTodoSchema, conversationTodosReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationUnchangedDetailWithMailboxSchema, conversationWatchSchema, conversationWatchesReportSchema, createAttachmentUploadBodySchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createSpaceBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, gatewayOnlyProviders, gatewayProvidersSchema, healthReportSchema, inboxItemActionSchema, inboxItemCountSchema, inboxItemListSchema, inboxItemQuestion, inboxItemSchema, inboxItemWaitingConversationsSchema, inboxSnoozeCreateSchema, inboxSnoozeResourceSchema, inboxSnoozeSchema, inboxSnoozeSubjectSchema, inboxSnoozeWakesClearSchema, isAgentMessageEventType, isAgentUpdateEventType, isEmptyUserInputAnswer, isLegacyResultEventType, isWithinNotificationSchedule, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, mentionableCodeChangeSchema, mentionablePersonSchema, messageCardText, messageObjectCard, normalizeUserInputAnswer, notificationScheduleSchema, notificationSettingsSchema, objectLinksQuerySchema, objectLinksReportSchema, peopleSearchQuerySchema, peopleSearchReportSchema, personCardReportSchema, personObjectCard, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pinConversationBodySchema, pinConversationResponseSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, renameConversationBodySchema, renameConversationResponseSchema, reorderPinnedConversationsBodySchema, reorderPinnedConversationsResponseSchema, resolveMessageCards, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, searchQuerySchema, searchReportSchema, serviceAccountListSchema, serviceAccountParamsSchema, serviceAccountSchema, setConversationSpaceBodySchema, setConversationSpaceResponseSchema, skillDetailReportSchema, skillReportSchema, skillReportsSchema, spaceConfigEntrySchema, spaceConfigurationSchema, spaceListQuerySchema, spaceListSchema, spaceParamsSchema, spaceRefSchema, spaceSchema, spaceVisibilitySchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, testNotificationResponseSchema, todoStatusBodySchema, updateGatewayProvidersBodySchema, updateSpaceBodySchema, userCustomizationSchema, userSearchQuerySchema, userSearchReportSchema, userSearchResultSchema, versionsSchema, watchParamsSchema, webMessageId, webPageObjectCard, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
package/dist/api.js CHANGED
@@ -1,33 +1,33 @@
1
- import { d as readLiveAttachment, o as readSlackAttachmentSource, y as getAttachmentStorage } from "./turn-membership-CENFf3kI.js";
2
- import { $o as pauseConversationDelivery, Ad as todoFuzzyTitle, As as listPushSubscriptions, B as conversationIsActiveSql, Ba as microUsdToUsd, Bc as questionLinks, Bd as inboxItemFuzzyTitle, Bl as memoryDb, Bo as credentialContextForActor, Ca as AutomationConflictError, Cd as topLevelConversation, Cl as getDashboardConversationLink, Dc as getInboxItem, Dl as getDashboardSettingsLink, Ei as formatSlackLink, El as getDashboardPersonLink, Et as apiRoutePrefix, Fd as juniorAutomationRuns, Gc as identityAvatarUrl, Gd as juniorAgentBindings, Gl as prefixMatch, Go as codeChangeSubjectProvider, H as conversationStatusSql, Ha as usdToMicroUsdUnbiased, Hc as subjectKindPlugin, Hd as juniorInboxItemConversations, Hl as parseTypedQuery, Ia as readAutomationTitlesByConversationId, Ic as inboxItemRequest, Id as automationFuzzyTitle, Ii as createPluginEmbedder, Il as REVALIDATED_READ_PATHS, In as createInboxItemShow, Jc as readUserAvatarUrls, Ji as createPluginCache, Jl as scoredSearchMatches, Jo as codeChangeUrl, K as conversationKindFromRow, Kl as prefixRank, Ko as readSubjectLinks, Ku as getStateAdapter, L as conversationAggregateColumns, Lc as inboxItemTitle, Ld as automationSearchDocument, Ll as contentVersion, Ln as pushConversationInboxItemsNow, Lt as listTodos, Mc as searchInboxItems, Md as juniorQuestions, Ms as saveNotificationSchedule, Nd as questionFuzzyTitle, Ns as savePushSubscription, Pd as questionSearchDocument, Ps as isPausedBySlack, Pu as completeText, Q as canAnswerInboxItem, Qc as clearInboxWakeReasons, Qd as juniorConversationEvents, Qs as findUserByEmail, R as conversationRangeColumns, Rc as itemQuestion, Rd as juniorAutomations, Rl as contentVersionHeaders, Rt as setTodoStatusByUser, Sd as notLeadConversation, Sr as readConversationAccessFromSql, St as getRegistrations, Ti as escapeSlackMrkdwnText, U as conversationTurnFailedSql, Uc as subjectTodo, Ud as juniorInboxItems, Ul as fuzzyMatch, Vc as subjectKindLabel, Vd as inboxItemSearchDocument, Vl as searchTypedMemories, Wl as fuzzyRank, Wr as runWithSlackInstallation, X as canActOnInboxItem, Xo as linkedCodeProviders, Yo as codeRepositoryUrl, Zd as juniorConversationMetrics, Zo as canPauseConversationDelivery, _o as cancelWatch, a as getDb, ac as updateViewerDisplayName, af as juniorCodeRepositories, al as snoozeInboxItems, bc as listWaitingConversations, br as createConversationAccessReader, cd as parseSlackChannelId, cs as isPublicConversation, ct as inboxItemReaderForUserInConversation, dt as isInboxItemForEveryone, ef as juniorApiTokens, el as inboxItemInRow, eo as getEventCatalog, es as resumeConversationDelivery, et as canUserReadInboxItem, ff as juniorIdentities, fn as steerWebPendingMessages, ft as isOnlyAssignee, gf as juniorDestinations, gs as resolveNotificationTimezone, hf as juniorUsers, hs as sendPushNotificationToUser, i as getConversationStore, if as juniorCodeChanges, il as settleInboxSnoozes, jc as ownerConversationId, jd as todoSearchDocument, jr as getVercelConversationWorkQueue, js as readNotificationSchedule, kd as juniorTodos, kr as rootVisibleToViewer, ks as deletePushSubscription, lf as juniorConversations, ll as automationEventCatalog, lt as inboxItemVisibleTo, mf as slackPersonSearchDocument, ms as readWebPushConfig, mt as itemNeedsUser, nc as readViewerAvatarUrl, nf as codeChangeSearchDocument, ns as createPluginAnnotations, o as getSqlExecutor, ol as snoozeTimerTrigger, pf as slackPersonPredicate, pl as eventWatchUnavailable, qc as readAvatarFetch, qd as juniorConversationParticipants, ql as rankSearchMatches, qo as subjectKey, rc as resolveViewerUser, rf as codeRepositorySearchDocument, rl as readViewerInboxSnoozes, rs as listConversationAnnotations, rt as inboxItemForUser, sl as unsnoozeInboxRow, st as inboxItemReaderForUser, tl as inboxItemSnoozedBy, ud as parseSlackTeamId, vc as countInboxItemsNeedingUserBySubject, vi as postSlackMessage, w as loadConversationSlackTenantIds, wr as readableSlackTeamId, xd as listedConversation, xt as getPlugins, yc as inboxItemsNeedingUserVersionQuery, yd as rootSpaceIdSql, z as conversationUsageCostExpr, za as microUsdSql, zc as INBOX_SUBJECT_KINDS, zl as revalidateContent } from "./db-BFmyYZtJ.js";
3
- import { E as withSpan, _ as runBestEffort, h as logWarn, m as logInfo, p as logException, y as setSentryUser } from "./logging--smS7XRK.js";
4
- import { $t as AutomationEditError, Bt as deleteViewerTask, Et as throwApiError, G as reportConversationRead, Gt as collectionRowTitle, H as stopArchivedWork, Jt as readViewerAutomationRuns, Q as listOwnedWatches, Rt as activateViewerAutomationVersion, Tt as jsonResponse, Ut as updateViewerAutomation, V as setConversationArchive, Vt as readViewerAutomationEdit, Wt as ViewerTaskNotFoundError, Xt as readViewerAutomationVersions, Yt as readViewerAutomationSummary, Zt as readViewerAutomations, _t as createAttachmentUpload, at as readSpace, ct as acceptsWebMessages, dn as addStats, fn as readStats, h as previewOriginBelongsTo, hn as connectedState, ht as AttachmentUploadError, in as SAVINGS_NAMESPACE, it as listSpaces, m as readAttachmentContent, mn as closeBreaker, mt as webActorFromUser, nt as getSpaceLead, ot as updateSpace, p as AttachmentDownloadError, pn as breakerStates, qt as readViewerAutomationExecutions, rn as viewerAutomationCollection, rt as createSpace, st as writeLegacySpaceArchive, un as savingsTotals, wt as emptyResponse, xt as inviteToConversation, yt as writeAttachmentUpload, zt as changeViewerAutomationLifecycle } from "./agent-runner-AjrEV6Qe.js";
5
- import { At as spaceListQuerySchema, B as conversationDetailQuerySchema, C as automationScheduleIntentSchema, D as automationVersionActivateSchema, E as automationUpdateSchema, Fn as automationTaskText, G as conversationParamsSchema, It as updateSpaceBodySchema, Kt as MAX_ATTACHMENT_BYTES, L as conversationAttachmentParamsSchema, Mt as spaceParamsSchema, N as CONVERSATION_DETAIL_VERSION_HEADER, O as automationVersionListSchema, Ot as archiveSpaceBodySchema, P as CONVERSATION_VERSION_HEADER, Pt as spaceSchema, R as conversationAttachmentQuerySchema, Rn as notificationScheduleSchema, Rt as conversationReadPositionSchema, T as automationSummarySchema, U as conversationEventPageSchema, V as conversationDetailReportSchema, W as conversationEventsQuerySchema, Wn as apiErrorSchema, _ as automationListQuerySchema, an as compileScheduleIntent, b as automationRunListSchema, c as automationEditSchema, fn as inboxItemQuestion, g as automationListPageSchema, in as ScheduleIntentError, jt as spaceListSchema, k as automationVersionParamsSchema, kt as createSpaceBodySchema, l as automationEventCatalogSchema, m as automationLifecycleSchema, o as isOpenTodoStatus, s as automationEditErrorSchema, u as automationExecutionListSchema, w as automationSchedulePreviewSchema, y as automationParamsSchema } from "./types-C4iC-IMC.js";
6
- import { $ as userSearchQuerySchema, $t as conversationChildAgentsReportSchema, A as cacheHealthQuerySchema, At as startConnectionResponseSchema, B as serviceAccountParamsSchema, Bt as codeRepositoryQuerySchema, C as inboxSnoozeResourceQuerySchema, Ct as pushSubscriptionBodySchema, D as inboxSnoozeWakesClearSchema, Dt as connectionParamsSchema, E as inboxSnoozeSubjectSchema, Et as connectionListSchema, F as cacheWarmingSavingsRefillResponseSchema, G as createPersonalTokenBodySchema, Gt as conversationTodoSchema, H as startServiceAccountSignInResponseSchema, I as cacheWarmingSavingsReportSchema, Jt as todoStatusBodySchema, K as createdPersonalTokenSchema, Kt as conversationTodosReportSchema, L as closeCacheWarmingBreakerResponseSchema, Lt as codeOverviewReportSchema, M as cacheWarmingBreakerListSchema, N as cacheWarmingBreakerParamsSchema, Nt as codeChangeSearchQuerySchema, O as gatewayProvidersSchema, P as cacheWarmingSavingsQuerySchema, Pt as codeChangeSearchReportSchema, R as disconnectServiceAccountResponseSchema, Rt as codePersonReportSchema, S as inboxSnoozeCreateSchema, St as notificationSettingsSchema, T as inboxSnoozeSchema, Tt as testNotificationResponseSchema, U as searchQuerySchema, Vt as codeRepositoryReportSchema, W as searchReportSchema, Wt as personCodeQuerySchema, X as revokePersonalTokenResponseSchema, Xt as conversationWatchesReportSchema, Y as personalTokenParamsSchema, Zt as watchParamsSchema, _ as inboxItemListSchema, _n as acceptedConversationMessageSchema, _t as locationParamsSchema, a as statsReportSchema, an as objectLinksQuerySchema, at as avatarParamsSchema, b as inboxItemWaitingConversationsSchema, bn as forkConversationBodySchema, bt as activitySixHours$1, c as workspaceBodySchema, ct as peopleSearchReportSchema, dn as conversationDeliveryResponseSchema, dt as personalSpendReportSchema, en as continueConversationInSlackBodySchema, et as userSearchReportSchema, f as workspaceSchema, fn as conversationCatchUpBodySchema, g as inboxItemListQuerySchema, gn as createAttachmentUploadBodySchema, gt as locationDirectoryReportSchema, h as inboxItemCountSchema, hn as attachmentUploadSchema, ht as locationDetailReportSchema, in as attachObjectLinkResponseSchema, it as actorProfileReportSchema, j as cacheHealthReportSchema, k as updateGatewayProvidersBodySchema, kt as disconnectConnectionResponseSchema, l as workspaceListSchema, ln as conversationOutlineSchema, lt as personCardReportSchema, m as inboxItemCountQuerySchema, mn as attachmentUploadParamsSchema, n as versionsQuerySchema, on as objectLinksReportSchema, p as inboxItemActionSchema, pn as conversationCatchUpSchema, pt as spaceConfigurationSchema, q as personalTokenListSchema, qt as todoParamsSchema, r as versionsSchema, rn as attachObjectLinkBodySchema, rt as actorDirectoryReportSchema, s as deleteWorkspaceResponseSchema, sn as conversationStatsReportSchema, st as peopleSearchQuerySchema, tn as continueConversationInSlackResponseSchema, u as workspaceParamsSchema, un as conversationDeliveryBodySchema, ut as personParamsSchema, v as inboxItemParamsSchema, vn as createConversationBodySchema, vt as activityDays$1, w as inboxSnoozeResourceSchema, wt as pushSubscriptionDeleteBodySchema, xn as forkConversationResponseSchema, y as inboxItemSchema, yn as createConversationMessageBodySchema, yt as activityHours$2, z as serviceAccountListSchema, zt as codeRepositoryParamsSchema } from "./schema-DfqrHACA.js";
7
- import { A as conversationUnchangedDetailWithMailboxSchema, B as runtimeInfoReportSchema, M as steerConversationPendingMessagesResponseSchema, N as healthReportSchema, P as pluginOperationalReportFeedSchema, T as conversationDetailWithMailboxReportSchema, U as skillReportsSchema, V as skillDetailReportSchema, _ as reorderPinnedConversationsBodySchema, a as conversationInviteResponseSchema, i as conversationInviteBodySchema, j as steerConversationPendingMessagesBodySchema, k as conversationPendingMessagesReportSchema, n as conversationFeedSchema, t as conversationFeedQuerySchema, v as reorderPinnedConversationsResponseSchema, z as pluginsSchema } from "./conversation-feed--9S0_PXL.js";
8
- import { Bt as deleteWorkspace, Ft as saveUserCustomization, Gt as listWorkspacesByRepository, It as addConversationNote, Kt as updateWorkspace, L as isAllowedDomain, Pt as readUserCustomization, Vt as getWorkspace, Wt as listWorkspaces, Yt as workspaceRepoCheckoutPath, qt as WorkspaceValidationError, rr as createPluginEgress, tn as isExperimentalFeatureEnabled, z as parseEmail, zt as createWorkspace } from "./mailbox-turn-uSXhUFc9.js";
9
- import { A as setConversationSubscriptionOperation, C as cancelQueuedMessagesOperation, Ct as resolveObjectLinkNow, D as renameConversationOperation, E as pinConversationOperation, Et as guardedFetch, Gt as resolvePersonLink, J as resolveMentions, Jt as readFirstHumanMessageTexts, M as reorderPinnedConversations, N as apiOperationHandler, O as setConversationAutoArchiveOperation, Q as readInboxItemForUser, S as archiveDoneConversationsOperation, St as readObjectLinkTypes, T as leaveConversationOperation, Tt as viewerCanViewPluginLink, X as actOnInboxItem, Xt as IMAGE_WIDTHS, Y as InboxItemActionError, Yt as createViewerMcp, Zt as decodeImageId, _ as createConversationForViewer, a as resolveInboxItemSubjects, at as updateUserSettings, bt as OBJECT_LINK_TTL_MS, c as readConversationAuxiliaryCostsFromSql, d as conversationVersionsQuery, f as readConversationDetailEtag, g as appendConversationMessageForViewer, gt as startSavingsRefill, h as readConversationEvents, i as encodePageCursor, it as readUserSettings, j as stopConversationOperation, jt as getProductionSlackAdapter, k as setConversationSpaceOperation, l as childAgentTotalsReport, m as keepQuickQuestionForViewer, mt as readSavingsRefill, n as readConversationFeed, o as readConversationDetail, p as forkConversationForViewer, pt as scheduleInboxSnoozeTimer, q as requireConversationPendingMessages, qt as conversationSummaryFromStoredConversation, r as decodePageCursor, rt as DEFAULT_USER_SETTINGS, s as readConversationTreeStates, t as conversationFeedVersionQuery, u as readConversationTreeMetricsFromSql, v as requireWebMessageConversation, wt as resolveObjectLinks, x as archiveConversationOperation, xt as readLinkObjectType, yt as readHealthReport } from "./list-Bxvg5wXf.js";
10
- import { a as transcriptEntriesFromReportEvents, d as reportParentAgentInput, o as readConversationEventPage } from "./task-runner-C9Yc2_ae.js";
11
- import { D as saveEnabledProviders, E as readServedProviders, O as cacheKeyPrefix, P as withLock, T as readEnabledProviders, k as createCache, n as getChatConfig, t as botConfig } from "./config-CHQ8X251.js";
12
- import { a as listChildAgents } from "./parent-result-Ck1rFYRQ.js";
13
- import { i as continueConversationInSlack, r as canContinueInSlack, t as BUSY } from "./continue-in-slack-D-FZ8Fin.js";
1
+ import { d as readLiveAttachment, o as readSlackAttachmentSource, y as getAttachmentStorage } from "./turn-membership-VT7XZh-L.js";
2
+ import { $c as snoozeTimerTrigger, $d as juniorConversationParticipants, Aa as AutomationConflictError, Ac as inboxItemTitle, B as conversationRangeColumns, Bc as readAvatarFetch, Bd as questionSearchDocument, Bt as setTodoStatusByUser, Cl as rankSearchMatches, Cs as listPushSubscriptions, Ct as getPlugins, Dd as listedConversation, Ds as isPausedBySlack, Du as completeText, Er as readableSlackTeamId, Es as savePushSubscription, Fc as subjectKindPlugin, Fd as juniorTodos, Fu as readServedProviders, G as conversationTurnFailedSql, Gc as clearInboxWakeReasons, Gs as findUserByEmail, H as conversationIsActiveSql, Hd as automationFuzzyTitle, Hi as createPluginEmbedder, Ic as subjectTodo, Id as todoFuzzyTitle, Iu as saveEnabledProviders, J as conversationKindFromRow, Jc as inboxItemSnoozedBy, Jd as juniorInboxItemConversations, Jo as subjectKey, Ka as microUsdSql, Kd as inboxItemFuzzyTitle, Ko as codeChangeSubjectProvider, Ld as todoSearchDocument, Lu as cacheKeyPrefix, Mc as INBOX_SUBJECT_KINDS, Mi as formatSlackLink, Nc as questionLinks, Nr as getVercelConversationWorkQueue, Od as notLeadConversation, Ot as apiRoutePrefix, Pc as subjectKindLabel, Pu as readEnabledProviders, Q as canActOnInboxItem, Qc as snoozeInboxItems, Qo as canPauseConversationDelivery, Qs as updateViewerDisplayName, Rc as identityAvatarUrl, Rd as juniorQuestions, Rn as createInboxItemShow, Ru as createCache, Sf as juniorDestinations, Sl as prefixRank, Sr as createConversationAccessReader, Ss as deletePushSubscription, Tc as searchInboxItems, Td as rootSpaceIdSql, Ts as saveNotificationSchedule, Ua as readAutomationTitlesByConversationId, Ud as automationSearchDocument, V as conversationUsageCostExpr, Vc as readUserAvatarUrls, Vd as juniorAutomationRuns, W as conversationStatusSql, Wd as juniorAutomations, Xc as readViewerInboxSnoozes, Xo as codeRepositoryUrl, Xr as runWithSlackInstallation, Xs as resolveViewerUser, Ya as usdToMicroUsdUnbiased, Yd as juniorInboxItems, Yo as codeChangeUrl, Ys as readViewerAvatarUrl, Zc as settleInboxSnoozes, Zd as juniorAgentBindings, Zl as eventWatchUnavailable, Zo as linkedCodeProviders, _l as searchTypedMemories, a as getDb, al as getDashboardSettingsLink, at as inboxItemForUser, bc as getInboxItem, bf as slackPersonSearchDocument, bl as fuzzyRank, cf as codeChangeSearchDocument, dc as countInboxItemsNeedingUserBySubject, df as juniorCodeRepositories, dt as inboxItemVisibleTo, ea as createPluginCache, el as unsnoozeInboxRow, es as pauseConversationDelivery, et as canAnswerInboxItem, fc as inboxItemsNeedingUserVersionQuery, fl as REVALIDATED_READ_PATHS, fs as isPublicConversation, gl as memoryDb, gs as resolveNotificationTimezone, gt as itemNeedsUser, hf as juniorConversations, hl as revalidateContent, hs as sendPushNotificationToUser, i as getConversationStore, if as juniorConversationEvents, il as getDashboardPersonLink, is as listConversationAnnotations, jc as itemQuestion, ji as escapeSlackMrkdwnText, jr as rootVisibleToViewer, kc as inboxItemRequest, kd as topLevelConversation, lf as codeRepositorySearchDocument, lt as inboxItemReaderForUser, ml as contentVersionHeaders, mn as steerWebPendingMessages, ms as readWebPushConfig, mt as isOnlyAssignee, nt as canUserReadInboxItem, o as getSqlExecutor, of as juniorApiTokens, pc as listWaitingConversations, pl as contentVersion, pt as isInboxItemForEveryone, qa as microUsdToUsd, qc as inboxItemInRow, qd as inboxItemSearchDocument, ql as automationEventCatalog, qo as readSubjectLinks, rf as juniorConversationMetrics, rs as createPluginAnnotations, so as getEventCatalog, tl as getDashboardConversationLink, ts as resumeConversationDelivery, uf as juniorCodeChanges, ut as inboxItemReaderForUserInConversation, vf as juniorIdentities, vl as parseTypedQuery, w as loadConversationSlackTenantIds, wc as ownerConversationId, wi as postSlackMessage, wl as scoredSearchMatches, wo as cancelWatch, wr as readConversationAccessFromSql, ws as readNotificationSchedule, wt as getRegistrations, xf as juniorUsers, xl as prefixMatch, yf as slackPersonPredicate, yl as fuzzyMatch, z as conversationAggregateColumns, zd as questionFuzzyTitle, zn as pushConversationInboxItemsNow, zt as listTodos } from "./db-of6e3sGt.js";
3
+ import { T as withSpan, f as logException, g as runBestEffort, m as logWarn, p as logInfo, v as setSentryUser } from "./logging-BnOG0qz2.js";
4
+ import { $t as AutomationEditError, Bt as deleteViewerTask, Et as throwApiError, G as reportConversationRead, Gt as collectionRowTitle, H as stopArchivedWork, Jt as readViewerAutomationRuns, Q as listOwnedWatches, Rt as activateViewerAutomationVersion, Tt as jsonResponse, Ut as updateViewerAutomation, V as setConversationArchive, Vt as readViewerAutomationEdit, Wt as ViewerTaskNotFoundError, Xt as readViewerAutomationVersions, Yt as readViewerAutomationSummary, Zt as readViewerAutomations, _t as createAttachmentUpload, at as readSpace, dn as addStats, fn as readStats, h as previewOriginBelongsTo, hn as connectedState, ht as AttachmentUploadError, in as SAVINGS_NAMESPACE, it as listSpaces, m as readAttachmentContent, mn as closeBreaker, nt as getSpaceLead, ot as updateSpace, p as AttachmentDownloadError, pn as breakerStates, pt as webActorFromUser, qt as readViewerAutomationExecutions, rn as viewerAutomationCollection, rt as createSpace, st as acceptsWebMessages, un as savingsTotals, wt as emptyResponse, xt as inviteToConversation, yt as writeAttachmentUpload, zt as changeViewerAutomationLifecycle } from "./agent-runner-DeYymwh2.js";
5
+ import { At as spaceListQuerySchema, B as conversationDetailQuerySchema, C as automationScheduleIntentSchema, D as automationVersionActivateSchema, E as automationUpdateSchema, G as conversationParamsSchema, It as updateSpaceBodySchema, Kt as MAX_ATTACHMENT_BYTES, L as conversationAttachmentParamsSchema, Ln as apiErrorSchema, Mt as spaceParamsSchema, N as CONVERSATION_DETAIL_VERSION_HEADER, O as automationVersionListSchema, On as automationTaskText, Ot as archiveSpaceBodySchema, P as CONVERSATION_VERSION_HEADER, Pt as spaceSchema, R as conversationAttachmentQuerySchema, Rt as conversationReadPositionSchema, T as automationSummarySchema, U as conversationEventPageSchema, V as conversationDetailReportSchema, W as conversationEventsQuerySchema, _ as automationListQuerySchema, an as compileScheduleIntent, b as automationRunListSchema, c as automationEditSchema, fn as inboxItemQuestion, g as automationListPageSchema, in as ScheduleIntentError, jn as notificationScheduleSchema, jt as spaceListSchema, k as automationVersionParamsSchema, kt as createSpaceBodySchema, l as automationEventCatalogSchema, m as automationLifecycleSchema, o as isOpenTodoStatus, s as automationEditErrorSchema, u as automationExecutionListSchema, w as automationSchedulePreviewSchema, y as automationParamsSchema } from "./types-DCzTAA63.js";
6
+ import { $ as userSearchQuerySchema, $t as conversationChildAgentsReportSchema, A as cacheHealthQuerySchema, At as startConnectionResponseSchema, B as serviceAccountParamsSchema, Bt as codeRepositoryQuerySchema, C as inboxSnoozeResourceQuerySchema, Ct as pushSubscriptionBodySchema, D as inboxSnoozeWakesClearSchema, Dt as connectionParamsSchema, E as inboxSnoozeSubjectSchema, Et as connectionListSchema, F as cacheWarmingSavingsRefillResponseSchema, G as createPersonalTokenBodySchema, Gt as conversationTodoSchema, H as startServiceAccountSignInResponseSchema, I as cacheWarmingSavingsReportSchema, Jt as todoStatusBodySchema, K as createdPersonalTokenSchema, Kt as conversationTodosReportSchema, L as closeCacheWarmingBreakerResponseSchema, Lt as codeOverviewReportSchema, M as cacheWarmingBreakerListSchema, N as cacheWarmingBreakerParamsSchema, Nt as codeChangeSearchQuerySchema, O as gatewayProvidersSchema, P as cacheWarmingSavingsQuerySchema, Pt as codeChangeSearchReportSchema, R as disconnectServiceAccountResponseSchema, Rt as codePersonReportSchema, S as inboxSnoozeCreateSchema, St as notificationSettingsSchema, T as inboxSnoozeSchema, Tt as testNotificationResponseSchema, U as searchQuerySchema, Vt as codeRepositoryReportSchema, W as searchReportSchema, Wt as personCodeQuerySchema, X as revokePersonalTokenResponseSchema, Xt as conversationWatchesReportSchema, Y as personalTokenParamsSchema, Zt as watchParamsSchema, _ as inboxItemListSchema, _n as acceptedConversationMessageSchema, _t as locationParamsSchema, a as statsReportSchema, an as objectLinksQuerySchema, at as avatarParamsSchema, b as inboxItemWaitingConversationsSchema, bn as forkConversationBodySchema, bt as activitySixHours$1, c as workspaceBodySchema, ct as peopleSearchReportSchema, dn as conversationDeliveryResponseSchema, dt as personalSpendReportSchema, en as continueConversationInSlackBodySchema, et as userSearchReportSchema, f as workspaceSchema, fn as conversationCatchUpBodySchema, g as inboxItemListQuerySchema, gn as createAttachmentUploadBodySchema, gt as locationDirectoryReportSchema, h as inboxItemCountSchema, hn as attachmentUploadSchema, ht as locationDetailReportSchema, in as attachObjectLinkResponseSchema, it as actorProfileReportSchema, j as cacheHealthReportSchema, k as updateGatewayProvidersBodySchema, kt as disconnectConnectionResponseSchema, l as workspaceListSchema, ln as conversationOutlineSchema, lt as personCardReportSchema, m as inboxItemCountQuerySchema, mn as attachmentUploadParamsSchema, n as versionsQuerySchema, on as objectLinksReportSchema, p as inboxItemActionSchema, pn as conversationCatchUpSchema, pt as spaceConfigurationSchema, q as personalTokenListSchema, qt as todoParamsSchema, r as versionsSchema, rn as attachObjectLinkBodySchema, rt as actorDirectoryReportSchema, s as deleteWorkspaceResponseSchema, sn as conversationStatsReportSchema, st as peopleSearchQuerySchema, tn as continueConversationInSlackResponseSchema, u as workspaceParamsSchema, un as conversationDeliveryBodySchema, ut as personParamsSchema, v as inboxItemParamsSchema, vn as createConversationBodySchema, vt as activityDays$1, w as inboxSnoozeResourceSchema, wt as pushSubscriptionDeleteBodySchema, xn as forkConversationResponseSchema, y as inboxItemSchema, yn as createConversationMessageBodySchema, yt as activityHours$2, z as serviceAccountListSchema, zt as codeRepositoryParamsSchema } from "./schema-BTojNBr5.js";
7
+ import { A as conversationUnchangedDetailWithMailboxSchema, B as runtimeInfoReportSchema, M as steerConversationPendingMessagesResponseSchema, N as healthReportSchema, P as pluginOperationalReportFeedSchema, T as conversationDetailWithMailboxReportSchema, U as skillReportsSchema, V as skillDetailReportSchema, _ as reorderPinnedConversationsBodySchema, a as conversationInviteResponseSchema, i as conversationInviteBodySchema, j as steerConversationPendingMessagesBodySchema, k as conversationPendingMessagesReportSchema, n as conversationFeedSchema, t as conversationFeedQuerySchema, v as reorderPinnedConversationsResponseSchema, z as pluginsSchema } from "./conversation-feed-Cj7IuBtM.js";
8
+ import { Ht as createWorkspace, Jt as listWorkspacesByRepository, L as isAllowedDomain, Lt as readUserCustomization, Qt as workspaceRepoCheckoutPath, Rt as saveUserCustomization, Ut as deleteWorkspace, Wt as getWorkspace, Xt as WorkspaceValidationError, Yt as updateWorkspace, qt as listWorkspaces, rn as isExperimentalFeatureEnabled, tr as createPluginEgress, z as parseEmail, zt as addConversationNote } from "./mailbox-turn-Byrry9o1.js";
9
+ import { A as setConversationSubscriptionOperation, C as cancelQueuedMessagesOperation, Ct as resolveObjectLinkNow, D as renameConversationOperation, E as pinConversationOperation, Et as guardedFetch, Gt as resolvePersonLink, J as resolveMentions, Jt as readFirstHumanMessageTexts, M as reorderPinnedConversations, N as apiOperationHandler, O as setConversationAutoArchiveOperation, Q as readInboxItemForUser, S as archiveDoneConversationsOperation, St as readObjectLinkTypes, T as leaveConversationOperation, Tt as viewerCanViewPluginLink, X as actOnInboxItem, Xt as IMAGE_WIDTHS, Y as InboxItemActionError, Yt as createViewerMcp, Zt as decodeImageId, _ as createConversationForViewer, a as resolveInboxItemSubjects, at as updateUserSettings, bt as OBJECT_LINK_TTL_MS, c as readConversationAuxiliaryCostsFromSql, d as conversationVersionsQuery, f as readConversationDetailEtag, g as appendConversationMessageForViewer, gt as startSavingsRefill, h as readConversationEvents, i as encodePageCursor, it as readUserSettings, j as stopConversationOperation, jt as getProductionSlackAdapter, k as setConversationSpaceOperation, l as childAgentTotalsReport, m as keepQuickQuestionForViewer, mt as readSavingsRefill, n as readConversationFeed, o as readConversationDetail, p as forkConversationForViewer, pt as scheduleInboxSnoozeTimer, q as requireConversationPendingMessages, qt as conversationSummaryFromStoredConversation, r as decodePageCursor, rt as DEFAULT_USER_SETTINGS, s as readConversationTreeStates, t as conversationFeedVersionQuery, u as readConversationTreeMetricsFromSql, v as requireWebMessageConversation, wt as resolveObjectLinks, x as archiveConversationOperation, xt as readLinkObjectType, yt as readHealthReport } from "./list-HRP3TIRl.js";
10
+ import { a as transcriptEntriesFromReportEvents, d as reportParentAgentInput, o as readConversationEventPage } from "./task-runner-BJ9Up3bG.js";
11
+ import { E as parseSlackChannelId, L as botConfig, O as parseSlackTeamId, R as getChatConfig, T as withLock, n as credentialContextForActor, y as getStateAdapter } from "./context-BKF_5zzI.js";
12
+ import { i as listChildAgents } from "./markers-CTTtJqYn.js";
13
+ import { i as continueConversationInSlack, r as canContinueInSlack, t as BUSY } from "./continue-in-slack-YxwMQVeR.js";
14
14
  import { a as INPUT_IMAGE_TYPES, i as INLINE_VIDEO_TYPES, n as userCustomizationSchema, o as detectImageMediaType } from "./user-customization-CvfuY9Eo.js";
15
15
  import { u as sentry_exports } from "./sentry-CPbZjomA.js";
16
- import { N as webActorUserIds, a as disconnectServiceAccount, d as startServiceAccountSignIn, o as finishServiceAccountSignIn, s as getServiceAccountStatus, u as serviceAccountPlugins } from "./registry-iXMT5Jmh.js";
16
+ import { N as webActorUserIds, a as disconnectServiceAccount, d as startServiceAccountSignIn, o as finishServiceAccountSignIn, s as getServiceAccountStatus, u as serviceAccountPlugins } from "./registry-Cl7Labpe.js";
17
17
  import { a as fillUtcDays, c as startOfUtcHour, d as trailingUtcHourWindow, f as trailingUtcSixHourWindow, i as HOUR_MS$3, l as sumUtcHoursIntoSixHours, o as fillUtcHours, p as utcHourKey, r as DAY_MS$3, s as fillUtcSixHours, u as trailingUtcDayWindow } from "./agent-status-BA5x3Xtp.js";
18
- import { A as createUserTokenStore, n as hash, t as create, u as SANDBOX_RUNTIME } from "./profile-BQ-iBDsZ.js";
19
- import { a as isConnectableProvider, c as startConnection, i as disconnectConnection, o as listConnections, t as escapeHtml, u as htmlCallbackResponse } from "./html-B3VKTGbJ.js";
20
- import { L as mapBounded, h as createPluginLogger } from "./prompt-Dv7gkpD6.js";
21
- import { F as listSpaceConfiguration } from "./job-runner-A1lCkybD.js";
22
- import { n as pluginCatalogRuntime } from "./catalog-runtime-DfSpJZdY.js";
23
- import { o as getSandboxResources, t as getCachedSnapshot } from "./resolve-tony4ibz.js";
18
+ import { A as createUserTokenStore, n as hash, t as create, u as SANDBOX_RUNTIME } from "./profile-iHw1uu32.js";
19
+ import { a as isConnectableProvider, c as startConnection, i as disconnectConnection, o as listConnections, t as escapeHtml, u as htmlCallbackResponse } from "./html-9_pS9SjY.js";
20
+ import { G as mapBounded, h as createPluginLogger } from "./prompt-DEkStuxG.js";
21
+ import { F as listSpaceConfiguration } from "./job-runner-B2XEvpif.js";
22
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-BfdAnztW.js";
23
+ import { o as getSandboxResources, t as getCachedSnapshot } from "./resolve-DC6zBuDV.js";
24
24
  import { Hono } from "hono";
25
25
  import * as z from "zod";
26
26
  import path from "node:path";
27
- import { createHash, randomBytes, randomUUID } from "node:crypto";
28
- import { normalizeEventIdentifier, objectPresentation, pluginUserPageContentSchema, pluginUserPageCursorSchema, pluginUserPageFilterSchema, pluginUserPageLinksSchema, pluginUserPageQuerySchema } from "@sentry/junior-plugin-api";
29
27
  import { and, asc, count as count$1, desc, eq, exists, gt, gte, inArray, isNotNull, isNull, like, lt, lte, ne, or, sql } from "drizzle-orm";
30
28
  import { alias, union } from "drizzle-orm/pg-core";
29
+ import { normalizeEventIdentifier, objectPresentation, pluginUserPageContentSchema, pluginUserPageCursorSchema, pluginUserPageFilterSchema, pluginUserPageLinksSchema, pluginUserPageQuerySchema } from "@sentry/junior-plugin-api";
30
+ import { createHash, randomBytes, randomUUID } from "node:crypto";
31
31
  import fs from "node:fs/promises";
32
32
  import { readFileSync } from "node:fs";
33
33
  import { HTTPException } from "hono/http-exception";
@@ -3012,19 +3012,16 @@ function createSpaceArchiveRoutes(options) {
3012
3012
  const { archived } = context.req.valid("json");
3013
3013
  const space = await requireMemberSpace(viewerUserId, spaceId);
3014
3014
  const lead = await getSpaceLead(spaceId);
3015
- if (archived !== (space.archivedAt !== null)) {
3016
- const result = await setConversationArchive(archived ? {
3017
- applyToChildren: true,
3018
- archived: true,
3019
- conversationId: lead.conversationId
3020
- } : {
3021
- applyToChildren: true,
3022
- archived: false,
3023
- conversationId: lead.conversationId,
3024
- userId: viewerUserId
3025
- });
3026
- await writeLegacySpaceArchive(spaceId, result.status === "archived" ? new Date(result.archivedAt) : null);
3027
- }
3015
+ if (archived !== (space.archivedAt !== null)) await setConversationArchive(archived ? {
3016
+ applyToChildren: true,
3017
+ archived: true,
3018
+ conversationId: lead.conversationId
3019
+ } : {
3020
+ applyToChildren: true,
3021
+ archived: false,
3022
+ conversationId: lead.conversationId,
3023
+ userId: viewerUserId
3024
+ });
3028
3025
  if (archived) await stopArchivedWork(lead.conversationId, options.queue);
3029
3026
  return await spaceResponse(viewerUserId, spaceId);
3030
3027
  });
@@ -3534,7 +3531,7 @@ async function readPeoplePluginReports(args) {
3534
3531
  reports: [],
3535
3532
  source: "plugins"
3536
3533
  });
3537
- const { getPluginProfileReports } = await import("./reports-WKHfGTsU.js");
3534
+ const { getPluginProfileReports } = await import("./reports-C1d9azyV.js");
3538
3535
  return pluginOperationalReportFeedSchema.parse({
3539
3536
  generatedAt: new Date(nowMs).toISOString(),
3540
3537
  reports: await getPluginProfileReports({
@@ -5985,7 +5982,7 @@ function readDescriptionText(home) {
5985
5982
  }
5986
5983
  /** Read discovered skills for runtime diagnostics and the Automation editor. */
5987
5984
  async function readSkillReports() {
5988
- const { discoverSkills } = await import("./skills-BCEU41zM.js").then((n) => n.s);
5985
+ const { discoverSkills } = await import("./skills-CleC0Hze.js").then((n) => n.s);
5989
5986
  const skills = await discoverSkills();
5990
5987
  return skillReportsSchema.parse(skills.map((skill) => ({
5991
5988
  name: skill.name,
@@ -5999,7 +5996,7 @@ async function readSkillReports() {
5999
5996
  * what the skill tells Junior. Returns null when no skill has that name.
6000
5997
  */
6001
5998
  async function readSkillDetailReport(name) {
6002
- const { discoverSkills, findSkillByName, parseSkillFile } = await import("./skills-BCEU41zM.js").then((n) => n.s);
5999
+ const { discoverSkills, findSkillByName, parseSkillFile } = await import("./skills-CleC0Hze.js").then((n) => n.s);
6003
6000
  const skill = findSkillByName(name, await discoverSkills());
6004
6001
  if (!skill) return null;
6005
6002
  const parsed = parseSkillFile(await fs.readFile(path.join(skill.skillPath, "SKILL.md"), "utf8"), skill.name);
@@ -6014,7 +6011,7 @@ async function readSkillDetailReport(name) {
6014
6011
  }
6015
6012
  /** Read safe configured plugin metadata for authenticated runtime diagnostics. */
6016
6013
  async function readPlugins() {
6017
- const { pluginCatalogRuntime } = await import("./catalog-runtime-DfSpJZdY.js").then((n) => n.t);
6014
+ const { pluginCatalogRuntime } = await import("./catalog-runtime-BfdAnztW.js").then((n) => n.t);
6018
6015
  return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
6019
6016
  configKeys: plugin.manifest.configKeys ?? [],
6020
6017
  description: plugin.manifest.description,
@@ -6026,7 +6023,7 @@ async function readPlugins() {
6026
6023
  async function readRuntimeInfoReport() {
6027
6024
  const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
6028
6025
  import("./package-discovery-DD9vencX.js").then((n) => n.r),
6029
- import("./catalog-runtime-DfSpJZdY.js").then((n) => n.t),
6026
+ import("./catalog-runtime-BfdAnztW.js").then((n) => n.t),
6030
6027
  readPlugins(),
6031
6028
  readSkillReports()
6032
6029
  ]);
@@ -6043,7 +6040,7 @@ async function readRuntimeInfoReport() {
6043
6040
  /** Read sanitized operational summaries contributed by plugins. */
6044
6041
  async function readPluginOperationalReportFeed() {
6045
6042
  const nowMs = Date.now();
6046
- const { getPluginOperationalReports } = await import("./reports-WKHfGTsU.js");
6043
+ const { getPluginOperationalReports } = await import("./reports-C1d9azyV.js");
6047
6044
  return pluginOperationalReportFeedSchema.parse({
6048
6045
  source: "plugins",
6049
6046
  generatedAt: new Date(nowMs).toISOString(),
@@ -7,10 +7,10 @@ import { Hono } from "hono";
7
7
  import * as z from "zod";
8
8
  import "@earendil-works/pi-ai/compat";
9
9
  import "@earendil-works/pi-ai/api/anthropic-messages";
10
+ import "drizzle-orm";
11
+ import { Destination, Source, locationSchema } from "@sentry/junior-plugin-api";
10
12
  import "ai";
11
13
  import "@earendil-works/pi-ai";
12
- import { Destination, Source, locationSchema } from "@sentry/junior-plugin-api";
13
- import "drizzle-orm";
14
14
  import "@earendil-works/pi-agent-core";
15
15
  import "@modelcontextprotocol/sdk/client/auth.js";
16
16
  import "@modelcontextprotocol/sdk/client";
@@ -46,8 +46,8 @@ interface RuntimeLimits {
46
46
  contextWindowTokens?: number;
47
47
  /**
48
48
  * Levels of child agents that can start their own child agents. The
49
- * default, 1, lets a child of the root start child agents, and those
50
- * cannot start more. 0 lets only the root Conversation start them.
49
+ * default, 2, lets a child of the root and its children start child
50
+ * agents. 0 lets only the root Conversation start them.
51
51
  */
52
52
  maxAgentDepth?: number;
53
53
  /** Automated turns in a row before Junior stops answering automation. */
@@ -205,11 +205,6 @@ interface Conversation {
205
205
  * a Lead stores it.
206
206
  */
207
207
  spaceId?: string;
208
- /**
209
- * Set on a child whose Location is its own, not a copy of its parent's,
210
- * such as a Slack Conversation that moved into a Space.
211
- */
212
- ownLocation?: true;
213
208
  /**
214
209
  * When the Conversation was archived for everyone. Only archive, auto-archive,
215
210
  * pin, and a person's message write it; `upsertConversation` does not.
package/dist/app.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { i as MemoryOptions, n as createApp, r as JuniorDashboardOptions, t as JuniorAppOptions } from "./app-MoNAsVV5.js";
1
+ import { i as MemoryOptions, n as createApp, r as JuniorDashboardOptions, t as JuniorAppOptions } from "./app-DKAOuaoC.js";
2
2
  import { i as defineJuniorPlugins, n as JuniorPluginSet, r as JuniorPluginSetOptions, t as JuniorPluginInput } from "./plugins-fBrz8PCV.js";
3
3
  import { t as JUNIOR_VERSION } from "./version-Cc2OFd9G.js";
4
4
  export { JUNIOR_VERSION, JuniorAppOptions, type JuniorDashboardOptions, type JuniorPluginInput, type JuniorPluginSet, type JuniorPluginSetOptions, type MemoryOptions, createApp, defineJuniorPlugins };