@sentry/junior 0.305.0 → 0.306.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (80) hide show
  1. package/dist/{adapter-context-BpvbUki8.js → adapter-context-CnY-i32r.js} +2 -2
  2. package/dist/{admin-CoDt35ny.js → admin-BLLdLnXh.js} +2 -2
  3. package/dist/{agent-runner-C5d6rY5g.js → agent-runner-BaLjEjPR.js} +261 -190
  4. package/dist/api/schema.d.ts +2 -2
  5. package/dist/api/schema.js +7 -8
  6. package/dist/api.d.ts +19 -4
  7. package/dist/api.js +137 -40
  8. package/dist/{app-Cs157Zc5.d.ts → app-DvYbM9UD.d.ts} +2 -2
  9. package/dist/app.d.ts +1 -1
  10. package/dist/app.js +487 -434
  11. package/dist/{background-compaction-queue-BTqMIfTA.js → background-compaction-queue-D2wzxtGU.js} +2 -2
  12. package/dist/{briefs-BRdznF7c.js → briefs-DvyzXfrF.js} +3 -3
  13. package/dist/{catalog-runtime-J52Tej47.js → catalog-runtime-B1R-nHd3.js} +1 -1
  14. package/dist/cli/chat.js +15 -15
  15. package/dist/cli/check.js +3 -3
  16. package/dist/cli/main.js +3 -3
  17. package/dist/cli/plugins.js +4 -4
  18. package/dist/cli/snapshot-create.js +5 -5
  19. package/dist/cli/upgrade.d.ts +1 -1
  20. package/dist/cli/upgrade.js +3 -3
  21. package/dist/{config-CBZp0udd.js → config-DUD-zMvp.js} +111 -13
  22. package/dist/{connections-BYmuJ6Vm.js → connections-CDhsqPcC.js} +6 -6
  23. package/dist/{continue-in-slack-Cvot6S38.js → continue-in-slack-BXQizz9o.js} +5 -5
  24. package/dist/{conversation-BOqdRtUx.js → conversation--f85g4zL.js} +132 -132
  25. package/dist/{conversation-feed-CgpgP7yi.js → conversation-feed-BNs9KiqC.js} +1 -1
  26. package/dist/{conversation-privacy-D2pOzBNl.js → conversation-privacy-YE54gMN8.js} +1 -1
  27. package/dist/{conversation-turn-CI8WDpnK.js → conversation-turn-BzdmrHb0.js} +22 -40
  28. package/dist/{credential-sync-COqnZ1Dx.js → credential-sync-Cdm-e1vJ.js} +14 -13
  29. package/dist/{db-DU84dCVu.js → db-DV2ZUb1Y.js} +90 -11
  30. package/dist/{db-zbN5ZV_o.d.ts → db-pH357Dkt.d.ts} +1 -1
  31. package/dist/{executor-CFyrgOu1.js → executor-CjNhwwnj.js} +47 -4
  32. package/dist/{history-m2-ceTTX.js → history-N7IVbUom.js} +5 -1
  33. package/dist/{install-CQ76CfRw.js → install-DbD7C5td.js} +2 -2
  34. package/dist/instrumentation.js +2 -2
  35. package/dist/{lineage-DLd2UxVP.js → lineage-BFdIPb3o.js} +2 -2
  36. package/dist/{logging-BPNTQVFu.js → logging-oYpJYr-S.js} +1 -1
  37. package/dist/{message-BWJLeQ5e.js → message-BBPcMKJY.js} +8 -8
  38. package/dist/{model-input-DoM9Ht-d.js → model-input-DYYF3a8B.js} +3 -3
  39. package/dist/nitro.d.ts +1 -1
  40. package/dist/nitro.js +4 -4
  41. package/dist/{oauth-callback-server-DeHbnAQl.js → oauth-callback-server-C7Q987su.js} +2 -2
  42. package/dist/{projection-CcFBVFUo.js → projection-CWXDE0f6.js} +7738 -6166
  43. package/dist/{prompt-C5LREK2p.js → prompt-P3eRqO8C.js} +15 -7
  44. package/dist/{queue-B2AAL3ym.js → queue-7FSijgqG.js} +4 -4
  45. package/dist/{registry-BjZZqKqi.js → registry-1pzXmplY.js} +1 -1
  46. package/dist/{resolve-CeJgXuH1.js → resolve-n87oXY-d.js} +3 -3
  47. package/dist/{result-icDrueyB.js → result-BmF9v9bv.js} +9 -9
  48. package/dist/{runner-nVfMkMMB.js → runner-4j7ZsxP5.js} +13 -15
  49. package/dist/{sandbox-egress-signals-H9vQ5qRf.js → sandbox-egress-signals-BRQI8HvT.js} +1 -1
  50. package/dist/{automation-CuA3yEcD.js → schedule-CHPWQn-x.js} +347 -5
  51. package/dist/{schema-CKcu-IK6.d.ts → schema-CVbIjrF3.d.ts} +71 -1
  52. package/dist/{schema-Bx0Mlo32.js → schema-D7iIEh6t.js} +52 -6
  53. package/dist/{service-account-Dw06p3zm.js → service-account-BDQ9xzta.js} +3 -3
  54. package/dist/{service-account-DU5865XA.js → service-account-DzQiOmqa.js} +5 -5
  55. package/dist/{session-stop-uotLtp4g.js → session-stop-BQxgHR4X.js} +854 -160
  56. package/dist/{skills-Bex1EaO5.js → skills-CPf4vNuC.js} +2 -2
  57. package/dist/{slack-conversation-unfurl-EPG3riWF.js → slack-conversation-unfurl-B1KEptUg.js} +10 -9
  58. package/dist/{spawn-CoD3vDuS.js → spawn-CjGddiAU.js} +6 -6
  59. package/dist/{state-nCR4Muhn.js → state-9wfj6aSD.js} +4 -4
  60. package/dist/{stop-BFVd0P0m.js → stop-CsQGuN5n.js} +62 -117
  61. package/dist/{store-Ca6G962n.js → store-Dz3YZ7gQ.js} +5 -5
  62. package/dist/{task-queue-BLPZU6kC.js → task-queue-CFlrJguF.js} +3 -3
  63. package/dist/{task-runner-xsOPIxCZ.js → task-runner-frzlUvFD.js} +8 -9
  64. package/dist/{thread-context-BOvZhsKK.js → thread-context-C4QuZlM8.js} +8 -91
  65. package/dist/turn-session-routing-BXaubz2w.js +244 -0
  66. package/dist/{turn-user-message-BrhuyYrH.js → turn-user-message-DNC0eRZ7.js} +3 -3
  67. package/dist/users-XCCKn3xW.js +181 -0
  68. package/dist/{validation-BnY9K5WB.js → validation-L5fdjmFX.js} +1 -1
  69. package/dist/{version-qROlRQGF.js → version-BFmuwgxP.js} +1 -1
  70. package/dist/version.js +1 -1
  71. package/dist/{viewer-CxUiOraX.js → viewer-DKOeHpv3.js} +3 -3
  72. package/dist/{warmup--Gkz7iB-.js → warmup-mTMIatCV.js} +267 -272
  73. package/dist/{web-message-id-lNodcCOI.js → web-message-id-CUaSiGme.js} +16 -1
  74. package/dist/{worker-DJ8d9fmD.js → worker-Bz4KNxjI.js} +7 -7
  75. package/migrations/0114_plan_items.sql +22 -0
  76. package/migrations/meta/0114_snapshot.json +5203 -0
  77. package/migrations/meta/_journal.json +7 -0
  78. package/package.json +6 -6
  79. package/dist/schedule-cP0AACm1.js +0 -344
  80. package/dist/turn-session-routing-2bW2qfeb.js +0 -1792
@@ -1,2 +1,2 @@
1
- import { $ as automationEditSchema, $i as ConversationReportEvent, $n as conversationSubscriptionBodySchema, $r as conversationPendingMessageDeliverySchema, $t as testNotificationResponseSchema, A as runtimeInfoReportSchema, Aa as annotationCard, Ai as MAX_OBJECT_LINKS, An as PersonalSpendReport, Ar as conversationStatsReportSchema, At as workspaceSchema, B as AutomationExecutionList, Ba as isEmptyUserInputAnswer, Bi as AcceptedConversationMessage, Bn as ConversationChildAgentsReport, Br as conversationFeedQuerySchema, Bt as disconnectServiceAccountResponseSchema, C as healthReportSchema, Ca as createConversationBodySchema, Ci as codeRepositoryReportSchema, Cn as ActorDirectoryWindows, Cr as StopConversationTurnResponse, Ct as WorkspaceReport, D as pluginPackageContentReportSchema, Da as conversationTurnFailureCodeSchema, Di as DailyConversationActivity, Dn as ActorWindowMetrics, Dr as ConversationStatsReport, Dt as workspaceListSchema, E as pluginPackageContentItemReportSchema, Ea as forkConversationResponseSchema, Ei as conversationChildAgentTotalsSchema, En as ActorTotalsReport, Er as ConversationStatsItem, Et as workspaceBodySchema, F as StatsReport, Fa as USER_INPUT_NOTE, Fi as objectLinksReportSchema, Fn as ConversationWatch, Fr as archiveConversationResponseSchema, Ft as createdPersonalTokenSchema, G as AutomationRunList, Ga as InputFile, Gi as ConversationAgentTreeNode, Gn as RenameConversationResponse, Gr as ConversationPendingMessageDelivery, Gt as CacheWarmingSavingsRefill, H as AutomationList, Ha as webMessageId, Hi as CONVERSATION_DETAIL_VERSION_HEADER, Hn as conversationChildAgentsReportSchema, Hr as CancelConversationPendingMessagesBody, Ht as serviceAccountParamsSchema, I as statSchema, Ia as UserInputAnswer, Ii as conversationObjectCard, In as ConversationWatchesReport, Ir as archiveDoneConversationsResponseSchema, It as personalTokenListSchema, J as AutomationSummary, Ja as MessageAttachment, Ji as ConversationDetailReport, Jn as CONVERSATION_OUTLINE_TEXT_LENGTH, Jr as SteerConversationPendingMessagesResponse, Jt as cacheWarmingSavingsRefillResponseSchema, K as AutomationRunWindows, Ka as MAX_ATTACHMENT_BYTES, Ki as ConversationAuxiliaryCosts, Kn as renameConversationBodySchema, Kr as ConversationPendingMessagesReport, Kt as CacheWarmingSavingsReport, L as statsReportSchema, La as UserInputField, Li as messageObjectCard, Ln as conversationWatchSchema, Lr as conversationAutoArchiveSchema, Lt as personalTokenMetadataSchema, M as skillReportSchema, Ma as resolveMessageCards, Mi as attachObjectLinkBodySchema, Mn as actorProfileReportSchema, Mr as ArchiveConversationResponse, Mt as userCustomizationSchema, N as skillReportsSchema, Na as AutomationTask, Ni as attachObjectLinkResponseSchema, Nn as personParamsSchema, Nr as ConversationAutoArchive, Nt as PersonalTokenMetadata, O as pluginSchema, Oa as conversationTurnFailureReasonSchema, Oi as dailyConversationActivitySchema, On as PeopleActivityDayReport, Or as GuardianMetricDay, Ot as workspaceParamsSchema, P as StatReport, Pa as AutomationCard, Pi as objectLinksQuerySchema, Pn as personalSpendReportSchema, Pr as archiveConversationBodySchema, Pt as createPersonalTokenBodySchema, Q as automationEditErrorSchema, Qi as ConversationParams, Qn as ConversationSubscriptionResponse, Qr as conversationPendingAuthorizationSchema, Qt as notificationSettingsSchema, R as AutomationEdit, Ra as UserInputRequest, Ri as personObjectCard, Rn as conversationWatchesReportSchema, Rr as ConversationFeed, Rt as personalTokenParamsSchema, S as SkillReports, Sa as conversationSummaryReportSchema, Si as codeRepositoryQuerySchema, Sn as ActorDirectoryReport, Sr as continueConversationInSlackResponseSchema, St as WorkspaceListReport, T as pluginOperationalReportSchema, Ta as forkConversationBodySchema, Ti as ConversationChildAgentTotals, Tn as ActorSummaryReport, Tr as ConversationMetricDay, Tt as deleteWorkspaceResponseSchema, U as AutomationListQuery, Ua as AGENT_REPLY_EVENT_TYPE, Ui as CONVERSATION_VERSION_HEADER, Un as CONVERSATION_TITLE_MAX_LENGTH, Ur as CancelConversationPendingMessagesResponse, Ut as serviceAccountSchema, V as AutomationExecutionStatusDay, Va as normalizeUserInputAnswer, Vi as ActorIdentity, Vn as conversationChildAgentSchema, Vr as conversationFeedSchema, Vt as serviceAccountListSchema, W as AutomationRun, Wa as isAgentInvocationResultEventType, Wi as ConversationActivityPreview, Wn as RenameConversationBody, Wr as ConversationPendingMessage, Wt as startServiceAccountSignInResponseSchema, X as AutomationVersionList, Xa as INPUT_IMAGE_TYPES, Xi as ConversationEventPage, Xn as conversationOutlineSchema, Xr as cancelConversationPendingMessagesResponseSchema, Xt as closeCacheWarmingBreakerResponseSchema, Y as AutomationUpdate, Ya as INLINE_VIDEO_TYPES, Yi as ConversationEventHistory, Yn as ConversationOutline, Yr as cancelConversationPendingMessagesBodySchema, Yt as cacheWarmingSavingsReportSchema, Z as ListedAutomationVersion, Zi as ConversationModelUsage, Zn as ConversationSubscriptionBody, Zr as conversationDetailWithMailboxReportSchema, Zt as NotificationSettings, _ as PluginPackageContentReport, _a as conversationEventPageSchema, _i as codeChangeSummaryReportSchema, _n as locationActivityDayReportSchema, _r as ConversationReadPosition, _t as automationVersionParamsSchema, a as ReviewItemPayload, aa as ConversationSurface, ai as AttachmentUpload, an as connectionParamsSchema, ar as PinConversationBody, at as automationListQuerySchema, b as SkillDetailReport, ba as conversationReportEventDataSchema, bi as codePersonReportSchema, bn as locationParamsSchema, br as ContinueConversationInSlackResponse, bt as scheduledAutomationSummarySchema, c as reviewItemListSchema, ca as ConversationUsage, ci as createAttachmentUploadBodySchema, cn as startConnectionResponseSchema, cr as ReorderPinnedConversationsResponse, ct as automationRunListSchema, d as ReviewItemChangeRecord, da as acceptedConversationMessageSchema, di as CodeOverviewReport, dn as LocationActivityDayReport, dr as reorderPinnedConversationsBodySchema, dt as automationScheduleIntentSchema, ea as ConversationReportEventData, ei as conversationPendingMessageSchema, en as DEFAULT_NOTIFICATION_SCHEDULE, er as conversationSubscriptionResponseSchema, et as automationEventCatalogSchema, f as HealthReport, fa as conversationActivityPreviewSchema, fi as CodePersonReport, fn as LocationActorSummaryReport, fr as reorderPinnedConversationsResponseSchema, ft as automationSchedulePreviewSchema, g as PluginPackageContentItemReport, ga as conversationEventHistorySchema, gi as codeActivityDaySchema, gn as LocationSummaryReport, gr as conversationCatchUpSchema, gt as automationVersionListSchema, h as PluginOperationalReportFeed, ha as conversationDetailReportSchema, hi as IDLE_CHANGE_DAYS, hn as LocationParams, hr as conversationCatchUpBodySchema, ht as automationVersionActivateSchema, i as ReviewItemActionBody, ia as ConversationSummaryReport, ii as steerConversationPendingMessagesResponseSchema, in as connectionListSchema, ir as conversationDeliveryResponseSchema, it as automationExecutionStatusSchema, j as skillDetailReportSchema, ja as messageCardText, ji as ObjectLinksReport, jn as actorDirectoryReportSchema, jr as ArchiveConversationBody, jt as USER_CUSTOMIZATION_MAX_CHARS, k as pluginsSchema, ka as MessageCard, ki as AttachObjectLinkResponse, kn as PersonParams, kr as GuardianStats, kt as workspaceRepoSchema, l as reviewItemSchema, la as CreateConversationBody, li as CodeActivityDay, ln as ApiError, lr as pinConversationBodySchema, lt as automationRunSchema, m as PluginOperationalReport, ma as conversationDetailQuerySchema, mi as CodeRepositorySummary, mn as LocationDirectoryReport, mr as ConversationCatchUpBody, mt as automationUpdateSchema, n as Versions, na as ConversationReportStatus, ni as conversationUnchangedDetailWithMailboxSchema, nn as isWithinNotificationSchedule, nr as ConversationDeliveryResponse, nt as automationExecutionSchema, o as reviewItemActionSchema, oa as ConversationTurnFailureCode, oi as CreateAttachmentUploadBody, on as connectionSchema, or as PinConversationResponse, ot as automationListSchema, p as Plugin, pa as conversationAuxiliaryCostsSchema, pi as CodeRepositoryReport, pn as LocationDetailReport, pr as ConversationCatchUp, pt as automationSummarySchema, q as AutomationScheduleIntent, qa as MAX_INPUT_ATTACHMENTS, qi as ConversationCost, qn as renameConversationResponseSchema, qr as SteerConversationPendingMessagesBody, qt as cacheWarmingBreakerListSchema, r as versionsSchema, ra as ConversationSourceTask, ri as steerConversationPendingMessagesBodySchema, rn as notificationScheduleSchema, rr as conversationDeliveryBodySchema, rt as automationExecutionStatusDaySchema, s as reviewItemCountSchema, sa as ConversationTurnFailureReason, si as attachmentUploadSchema, sn as disconnectConnectionResponseSchema, sr as ReorderPinnedConversationsBody, st as automationParamsSchema, t as OwnedObjectAnnotation, ta as ConversationReportMessageEvent, ti as conversationPendingMessagesReportSchema, tn as NotificationSchedule, tr as ConversationDeliveryBody, tt as automationExecutionListSchema, u as reviewItemWaitingConversationsSchema, ua as CreateConversationMessageBody, ui as CodeChangeSummaryReport, un as apiErrorSchema, ur as pinConversationResponseSchema, ut as automationRunWindowsSchema, v as Plugins, va as conversationEventsQuerySchema, vi as codeChangeSummarySchema, vn as locationDetailReportSchema, vr as conversationReadPositionSchema, vt as automationVersionSchema, w as pluginOperationalReportFeedSchema, wa as createConversationMessageBodySchema, wi as codeRepositorySummarySchema, wn as ActorProfileReport, wr as stopConversationTurnResponseSchema, wt as baselineSnapshotSchema, x as SkillReport, xa as conversationReportEventSchema, xi as codeRepositoryParamsSchema, xn as ActorActivityDayReport, xr as continueConversationInSlackBodySchema, xt as BaselineSnapshotReport, y as RuntimeInfoReport, ya as conversationParamsSchema, yi as codeOverviewReportSchema, yn as locationDirectoryReportSchema, yr as ContinueConversationInSlackBody, yt as eventAutomationSummarySchema, z as AutomationExecution, za as buttonUserInputField, zi as webPageObjectCard, zn as ConversationChildAgent, zr as ConversationFeedItem, zt as revokePersonalTokenResponseSchema } from "../schema-CKcu-IK6.js";
2
- export { AGENT_REPLY_EVENT_TYPE, type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AttachObjectLinkResponse, type AttachmentUpload, type AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationTask, type AutomationUpdate, type AutomationVersionList, type BaselineSnapshotReport, CONVERSATION_DETAIL_VERSION_HEADER, CONVERSATION_OUTLINE_TEXT_LENGTH, CONVERSATION_TITLE_MAX_LENGTH, CONVERSATION_VERSION_HEADER, type CacheWarmingSavingsRefill, type CacheWarmingSavingsReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ContinueConversationInSlackBody, type ContinueConversationInSlackResponse, type ConversationActivityPreview, type ConversationAgentTreeNode, type ConversationAutoArchive, type ConversationAuxiliaryCosts, type ConversationCatchUp, type ConversationCatchUpBody, type ConversationChildAgent, type ConversationChildAgentTotals, type ConversationChildAgentsReport, type ConversationCost, type ConversationDeliveryBody, type ConversationDeliveryResponse, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationFeedItem, type ConversationMetricDay, type ConversationModelUsage, type ConversationOutline, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReadPosition, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportMessageEvent, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSubscriptionBody, type ConversationSubscriptionResponse, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type ConversationWatch, type ConversationWatchesReport, type CreateAttachmentUploadBody, type CreateConversationBody, type CreateConversationMessageBody, DEFAULT_NOTIFICATION_SCHEDULE, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, IDLE_CHANGE_DAYS, INLINE_VIDEO_TYPES, INPUT_IMAGE_TYPES, type InputFile, type ListedAutomationVersion, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_ATTACHMENT_BYTES, MAX_INPUT_ATTACHMENTS, MAX_OBJECT_LINKS, type MessageAttachment, type MessageCard, type NotificationSchedule, type NotificationSettings, type ObjectLinksReport, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type PinConversationBody, type PinConversationResponse, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RenameConversationBody, type RenameConversationResponse, type ReorderPinnedConversationsBody, type ReorderPinnedConversationsResponse, type ReviewItemActionBody, type ReviewItemChangeRecord, type ReviewItemPayload, type RuntimeInfoReport, type SkillDetailReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type SteerConversationPendingMessagesBody, type SteerConversationPendingMessagesResponse, type StopConversationTurnResponse, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, type UserInputAnswer, type UserInputField, type UserInputRequest, type Versions, type WorkspaceListReport, type WorkspaceReport, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, annotationCard, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, attachObjectLinkBodySchema, attachObjectLinkResponseSchema, attachmentUploadSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cacheWarmingBreakerListSchema, cacheWarmingSavingsRefillResponseSchema, cacheWarmingSavingsReportSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, closeCacheWarmingBreakerResponseSchema, codeActivityDaySchema, 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, conversationObjectCard, conversationOutlineSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSubscriptionBodySchema, conversationSubscriptionResponseSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationUnchangedDetailWithMailboxSchema, conversationWatchSchema, conversationWatchesReportSchema, createAttachmentUploadBodySchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isAgentInvocationResultEventType, isEmptyUserInputAnswer, isWithinNotificationSchedule, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, messageObjectCard, normalizeUserInputAnswer, notificationScheduleSchema, notificationSettingsSchema, objectLinksQuerySchema, objectLinksReportSchema, personObjectCard, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pinConversationBodySchema, pinConversationResponseSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, renameConversationBodySchema, renameConversationResponseSchema, reorderPinnedConversationsBodySchema, reorderPinnedConversationsResponseSchema, resolveMessageCards, reviewItemActionSchema, reviewItemCountSchema, reviewItemListSchema, reviewItemSchema, reviewItemWaitingConversationsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, serviceAccountListSchema, serviceAccountParamsSchema, serviceAccountSchema, skillDetailReportSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, testNotificationResponseSchema, userCustomizationSchema, versionsSchema, webMessageId, webPageObjectCard, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
1
+ import { $ as automationEditSchema, $a as MAX_INPUT_ATTACHMENTS, $i as ConversationCost, $n as renameConversationResponseSchema, $r as SteerConversationPendingMessagesBody, $t as testNotificationResponseSchema, A as runtimeInfoReportSchema, Aa as createConversationMessageBodySchema, Ai as codeRepositorySummarySchema, An as PersonalSpendReport, Ar as stopConversationTurnResponseSchema, At as workspaceSchema, B as AutomationExecutionList, Ba as AutomationCard, Bi as objectLinksQuerySchema, Bn as planItemStatusBodySchema, Br as archiveConversationBodySchema, Bt as disconnectServiceAccountResponseSchema, C as healthReportSchema, Ca as conversationEventPageSchema, Ci as codeChangeSummaryReportSchema, Cn as ActorDirectoryWindows, Cr as ConversationReadPosition, Ct as WorkspaceReport, D as pluginPackageContentReportSchema, Da as conversationReportEventSchema, Di as codeRepositoryParamsSchema, Dn as ActorWindowMetrics, Dr as continueConversationInSlackBodySchema, Dt as workspaceListSchema, E as pluginPackageContentItemReportSchema, Ea as conversationReportEventDataSchema, Ei as codePersonReportSchema, En as ActorTotalsReport, Er as ContinueConversationInSlackResponse, Et as workspaceBodySchema, F as StatsReport, Fa as MessageCard, Fi as AttachObjectLinkResponse, Fn as ConversationPlanItem, Fr as GuardianStats, Ft as createdPersonalTokenSchema, G as AutomationRunList, Ga as buttonUserInputField, Gi as webPageObjectCard, Gn as ConversationChildAgent, Gr as ConversationFeedItem, Gt as CacheWarmingSavingsRefill, H as AutomationList, Ha as UserInputAnswer, Hi as conversationObjectCard, Hn as ConversationWatchesReport, Hr as archiveDoneConversationsResponseSchema, Ht as serviceAccountParamsSchema, I as statSchema, Ia as annotationCard, Ii as MAX_OBJECT_LINKS, In as ConversationPlanReport, Ir as conversationStatsReportSchema, It as personalTokenListSchema, J as AutomationSummary, Ja as webMessageId, Ji as CONVERSATION_DETAIL_VERSION_HEADER, Jn as conversationChildAgentsReportSchema, Jr as CancelConversationPendingMessagesBody, Jt as cacheWarmingSavingsRefillResponseSchema, K as AutomationRunWindows, Ka as isEmptyUserInputAnswer, Ki as AcceptedConversationMessage, Kn as ConversationChildAgentsReport, Kr as conversationFeedQuerySchema, Kt as CacheWarmingSavingsReport, L as statsReportSchema, La as messageCardText, Li as ObjectLinksReport, Ln as PlanItemStatusBody, Lr as ArchiveConversationBody, Lt as personalTokenMetadataSchema, M as skillReportSchema, Ma as forkConversationResponseSchema, Mi as conversationChildAgentTotalsSchema, Mn as actorProfileReportSchema, Mr as ConversationStatsItem, Mt as userCustomizationSchema, N as skillReportsSchema, Na as conversationTurnFailureCodeSchema, Ni as DailyConversationActivity, Nn as personParamsSchema, Nr as ConversationStatsReport, Nt as PersonalTokenMetadata, O as pluginSchema, Oa as conversationSummaryReportSchema, Oi as codeRepositoryQuerySchema, On as PeopleActivityDayReport, Or as continueConversationInSlackResponseSchema, Ot as workspaceParamsSchema, P as StatReport, Pa as conversationTurnFailureReasonSchema, Pi as dailyConversationActivitySchema, Pn as personalSpendReportSchema, Pr as GuardianMetricDay, Pt as createPersonalTokenBodySchema, Q as automationEditErrorSchema, Qa as MAX_ATTACHMENT_BYTES, Qi as ConversationAuxiliaryCosts, Qn as renameConversationBodySchema, Qr as ConversationPendingMessagesReport, Qt as notificationSettingsSchema, R as AutomationEdit, Ra as resolveMessageCards, Ri as attachObjectLinkBodySchema, Rn as conversationPlanItemSchema, Rr as ArchiveConversationResponse, Rt as personalTokenParamsSchema, S as SkillReports, Sa as conversationEventHistorySchema, Si as codeActivityDaySchema, Sn as ActorDirectoryReport, Sr as conversationCatchUpSchema, St as WorkspaceListReport, T as pluginOperationalReportSchema, Ta as conversationParamsSchema, Ti as codeOverviewReportSchema, Tn as ActorSummaryReport, Tr as ContinueConversationInSlackBody, Tt as deleteWorkspaceResponseSchema, U as AutomationListQuery, Ua as UserInputField, Ui as messageObjectCard, Un as conversationWatchSchema, Ur as conversationAutoArchiveSchema, Ut as serviceAccountSchema, V as AutomationExecutionStatusDay, Va as USER_INPUT_NOTE, Vi as objectLinksReportSchema, Vn as ConversationWatch, Vr as archiveConversationResponseSchema, Vt as serviceAccountListSchema, W as AutomationRun, Wa as UserInputRequest, Wi as personObjectCard, Wn as conversationWatchesReportSchema, Wr as ConversationFeed, Wt as startServiceAccountSignInResponseSchema, X as AutomationVersionList, Xa as isAgentInvocationResultEventType, Xi as ConversationActivityPreview, Xn as RenameConversationBody, Xr as ConversationPendingMessage, Xt as closeCacheWarmingBreakerResponseSchema, Y as AutomationUpdate, Ya as AGENT_REPLY_EVENT_TYPE, Yi as CONVERSATION_VERSION_HEADER, Yn as CONVERSATION_TITLE_MAX_LENGTH, Yr as CancelConversationPendingMessagesResponse, Yt as cacheWarmingSavingsReportSchema, Z as ListedAutomationVersion, Za as InputFile, Zi as ConversationAgentTreeNode, Zn as RenameConversationResponse, Zr as ConversationPendingMessageDelivery, Zt as NotificationSettings, _ as PluginPackageContentReport, _a as acceptedConversationMessageSchema, _i as CodeOverviewReport, _n as locationActivityDayReportSchema, _r as reorderPinnedConversationsBodySchema, _t as automationVersionParamsSchema, a as ReviewItemPayload, aa as ConversationReportEvent, ai as conversationPendingMessageDeliverySchema, an as connectionParamsSchema, ar as conversationSubscriptionBodySchema, at as automationListQuerySchema, b as SkillDetailReport, ba as conversationDetailQuerySchema, bi as CodeRepositorySummary, bn as locationParamsSchema, br as ConversationCatchUpBody, bt as scheduledAutomationSummarySchema, c as reviewItemListSchema, ca as ConversationReportStatus, ci as conversationUnchangedDetailWithMailboxSchema, cn as startConnectionResponseSchema, cr as ConversationDeliveryResponse, ct as automationRunListSchema, d as ReviewItemChangeRecord, da as ConversationSurface, di as AttachmentUpload, dn as LocationActivityDayReport, dr as PinConversationBody, dt as automationScheduleIntentSchema, ea as ConversationDetailReport, ei as SteerConversationPendingMessagesResponse, en as DEFAULT_NOTIFICATION_SCHEDULE, eo as MessageAttachment, er as CONVERSATION_OUTLINE_TEXT_LENGTH, et as automationEventCatalogSchema, f as HealthReport, fa as ConversationTurnFailureCode, fi as CreateAttachmentUploadBody, fn as LocationActorSummaryReport, fr as PinConversationResponse, ft as automationSchedulePreviewSchema, g as PluginPackageContentItemReport, ga as CreateConversationMessageBody, gi as CodeChangeSummaryReport, gn as LocationSummaryReport, gr as pinConversationResponseSchema, gt as automationVersionListSchema, h as PluginOperationalReportFeed, ha as CreateConversationBody, hi as CodeActivityDay, hn as LocationParams, hr as pinConversationBodySchema, ht as automationVersionActivateSchema, i as ReviewItemActionBody, ia as ConversationParams, ii as conversationPendingAuthorizationSchema, in as connectionListSchema, ir as ConversationSubscriptionResponse, it as automationExecutionStatusSchema, j as skillDetailReportSchema, ja as forkConversationBodySchema, ji as ConversationChildAgentTotals, jn as actorDirectoryReportSchema, jr as ConversationMetricDay, jt as USER_CUSTOMIZATION_MAX_CHARS, k as pluginsSchema, ka as createConversationBodySchema, ki as codeRepositoryReportSchema, kn as PersonParams, kr as StopConversationTurnResponse, kt as workspaceRepoSchema, l as reviewItemSchema, la as ConversationSourceTask, li as steerConversationPendingMessagesBodySchema, ln as ApiError, lr as conversationDeliveryBodySchema, lt as automationRunSchema, m as PluginOperationalReport, ma as ConversationUsage, mi as createAttachmentUploadBodySchema, mn as LocationDirectoryReport, mr as ReorderPinnedConversationsResponse, mt as automationUpdateSchema, n as Versions, na as ConversationEventPage, ni as cancelConversationPendingMessagesResponseSchema, nn as isWithinNotificationSchedule, no as INPUT_IMAGE_TYPES, nr as conversationOutlineSchema, nt as automationExecutionSchema, o as reviewItemActionSchema, oa as ConversationReportEventData, oi as conversationPendingMessageSchema, on as connectionSchema, or as conversationSubscriptionResponseSchema, ot as automationListSchema, p as Plugin, pa as ConversationTurnFailureReason, pi as attachmentUploadSchema, pn as LocationDetailReport, pr as ReorderPinnedConversationsBody, pt as automationSummarySchema, q as AutomationScheduleIntent, qa as normalizeUserInputAnswer, qi as ActorIdentity, qn as conversationChildAgentSchema, qr as conversationFeedSchema, qt as cacheWarmingBreakerListSchema, r as versionsSchema, ra as ConversationModelUsage, ri as conversationDetailWithMailboxReportSchema, rn as notificationScheduleSchema, rr as ConversationSubscriptionBody, rt as automationExecutionStatusDaySchema, s as reviewItemCountSchema, sa as ConversationReportMessageEvent, si as conversationPendingMessagesReportSchema, sn as disconnectConnectionResponseSchema, sr as ConversationDeliveryBody, st as automationParamsSchema, t as OwnedObjectAnnotation, ta as ConversationEventHistory, ti as cancelConversationPendingMessagesBodySchema, tn as NotificationSchedule, to as INLINE_VIDEO_TYPES, tr as ConversationOutline, tt as automationExecutionListSchema, u as reviewItemWaitingConversationsSchema, ua as ConversationSummaryReport, ui as steerConversationPendingMessagesResponseSchema, un as apiErrorSchema, ur as conversationDeliveryResponseSchema, ut as automationRunWindowsSchema, v as Plugins, va as conversationActivityPreviewSchema, vi as CodePersonReport, vn as locationDetailReportSchema, vr as reorderPinnedConversationsResponseSchema, vt as automationVersionSchema, w as pluginOperationalReportFeedSchema, wa as conversationEventsQuerySchema, wi as codeChangeSummarySchema, wn as ActorProfileReport, wr as conversationReadPositionSchema, wt as baselineSnapshotSchema, x as SkillReport, xa as conversationDetailReportSchema, xi as IDLE_CHANGE_DAYS, xn as ActorActivityDayReport, xr as conversationCatchUpBodySchema, xt as BaselineSnapshotReport, y as RuntimeInfoReport, ya as conversationAuxiliaryCostsSchema, yi as CodeRepositoryReport, yn as locationDirectoryReportSchema, yr as ConversationCatchUp, yt as eventAutomationSummarySchema, z as AutomationExecution, za as AutomationTask, zi as attachObjectLinkResponseSchema, zn as conversationPlanReportSchema, zr as ConversationAutoArchive, zt as revokePersonalTokenResponseSchema } from "../schema-CVbIjrF3.js";
2
+ export { AGENT_REPLY_EVENT_TYPE, type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AttachObjectLinkResponse, type AttachmentUpload, type AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationTask, type AutomationUpdate, type AutomationVersionList, type BaselineSnapshotReport, CONVERSATION_DETAIL_VERSION_HEADER, CONVERSATION_OUTLINE_TEXT_LENGTH, CONVERSATION_TITLE_MAX_LENGTH, CONVERSATION_VERSION_HEADER, type CacheWarmingSavingsRefill, type CacheWarmingSavingsReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ContinueConversationInSlackBody, type ContinueConversationInSlackResponse, type ConversationActivityPreview, type ConversationAgentTreeNode, type ConversationAutoArchive, type ConversationAuxiliaryCosts, type ConversationCatchUp, type ConversationCatchUpBody, type ConversationChildAgent, type ConversationChildAgentTotals, type ConversationChildAgentsReport, type ConversationCost, type ConversationDeliveryBody, type ConversationDeliveryResponse, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationFeedItem, type ConversationMetricDay, type ConversationModelUsage, type ConversationOutline, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationPlanItem, type ConversationPlanReport, type ConversationReadPosition, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportMessageEvent, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSubscriptionBody, type ConversationSubscriptionResponse, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type ConversationWatch, type ConversationWatchesReport, type CreateAttachmentUploadBody, type CreateConversationBody, type CreateConversationMessageBody, DEFAULT_NOTIFICATION_SCHEDULE, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, IDLE_CHANGE_DAYS, INLINE_VIDEO_TYPES, INPUT_IMAGE_TYPES, type InputFile, type ListedAutomationVersion, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_ATTACHMENT_BYTES, MAX_INPUT_ATTACHMENTS, MAX_OBJECT_LINKS, type MessageAttachment, type MessageCard, type NotificationSchedule, type NotificationSettings, type ObjectLinksReport, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type PinConversationBody, type PinConversationResponse, type PlanItemStatusBody, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RenameConversationBody, type RenameConversationResponse, type ReorderPinnedConversationsBody, type ReorderPinnedConversationsResponse, type ReviewItemActionBody, type ReviewItemChangeRecord, type ReviewItemPayload, type RuntimeInfoReport, type SkillDetailReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type SteerConversationPendingMessagesBody, type SteerConversationPendingMessagesResponse, type StopConversationTurnResponse, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, type UserInputAnswer, type UserInputField, type UserInputRequest, type Versions, type WorkspaceListReport, type WorkspaceReport, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, annotationCard, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, attachObjectLinkBodySchema, attachObjectLinkResponseSchema, attachmentUploadSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cacheWarmingBreakerListSchema, cacheWarmingSavingsRefillResponseSchema, cacheWarmingSavingsReportSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, closeCacheWarmingBreakerResponseSchema, codeActivityDaySchema, 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, conversationObjectCard, conversationOutlineSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationPlanItemSchema, conversationPlanReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSubscriptionBodySchema, conversationSubscriptionResponseSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationUnchangedDetailWithMailboxSchema, conversationWatchSchema, conversationWatchesReportSchema, createAttachmentUploadBodySchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isAgentInvocationResultEventType, isEmptyUserInputAnswer, isWithinNotificationSchedule, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, messageObjectCard, normalizeUserInputAnswer, notificationScheduleSchema, notificationSettingsSchema, objectLinksQuerySchema, objectLinksReportSchema, personObjectCard, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pinConversationBodySchema, pinConversationResponseSchema, planItemStatusBodySchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, renameConversationBodySchema, renameConversationResponseSchema, reorderPinnedConversationsBodySchema, reorderPinnedConversationsResponseSchema, resolveMessageCards, reviewItemActionSchema, reviewItemCountSchema, reviewItemListSchema, reviewItemSchema, reviewItemWaitingConversationsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, serviceAccountListSchema, serviceAccountParamsSchema, serviceAccountSchema, skillDetailReportSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, testNotificationResponseSchema, userCustomizationSchema, versionsSchema, webMessageId, webPageObjectCard, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
@@ -1,8 +1,7 @@
1
- import { a as conversationTurnFailureReasonSchema, i as conversationTurnFailureCodeSchema } from "../history-m2-ceTTX.js";
2
- import { n as isWithinNotificationSchedule, r as notificationScheduleSchema, t as DEFAULT_NOTIFICATION_SCHEDULE } from "../schedule-cP0AACm1.js";
3
- import { B as messageCardText, C as createConversationMessageBodySchema, D as conversationChildAgentTotalsSchema, F as renameConversationResponseSchema, G as MAX_INPUT_ATTACHMENTS, I as conversationReadPositionSchema, M as CONVERSATION_TITLE_MAX_LENGTH, P as renameConversationBodySchema, R as annotationCard, S as createConversationBodySchema, T as forkConversationResponseSchema, U as resolveMessageCards, W as MAX_ATTACHMENT_BYTES, a as conversationActivityPreviewSchema, c as conversationAuxiliaryCostsSchema, d as conversationEventHistorySchema, f as conversationEventPageSchema, g as conversationReportEventSchema, h as conversationReportEventDataSchema, l as conversationDetailQuerySchema, m as conversationParamsSchema, n as CONVERSATION_VERSION_HEADER, p as conversationEventsQuerySchema, r as acceptedConversationMessageSchema, t as CONVERSATION_DETAIL_VERSION_HEADER, u as conversationDetailReportSchema, w as forkConversationBodySchema, y as conversationSummaryReportSchema } from "../conversation-BOqdRtUx.js";
4
- import { C as eventAutomationSummarySchema, S as automationVersionSchema, _ as automationSummarySchema, a as automationExecutionSchema, b as automationVersionListSchema, d as automationParamsSchema, f as automationRunListSchema, g as automationSchedulePreviewSchema, h as automationScheduleIntentSchema, i as automationExecutionListSchema, l as automationListQuerySchema, m as automationRunWindowsSchema, n as automationEditSchema, o as automationExecutionStatusDaySchema, p as automationRunSchema, r as automationEventCatalogSchema, s as automationExecutionStatusSchema, t as automationEditErrorSchema, u as automationListSchema, v as automationUpdateSchema, w as scheduledAutomationSummarySchema, x as automationVersionParamsSchema, y as automationVersionActivateSchema } from "../automation-CuA3yEcD.js";
5
- import { S as AGENT_REPLY_EVENT_TYPE, T as apiErrorSchema, _ as userCustomizationSchema, f as INLINE_VIDEO_TYPES, g as USER_CUSTOMIZATION_MAX_CHARS, l as isEmptyUserInputAnswer, o as USER_INPUT_NOTE, p as INPUT_IMAGE_TYPES, s as buttonUserInputField, t as webMessageId, u as normalizeUserInputAnswer, w as isAgentInvocationResultEventType } from "../web-message-id-lNodcCOI.js";
6
- import { C as skillReportSchema, D as personObjectCard, E as messageObjectCard, O as webPageObjectCard, S as skillDetailReportSchema, T as conversationObjectCard, _ as pluginPackageContentItemReportSchema, a as cancelConversationPendingMessagesResponseSchema, b as pluginsSchema, c as conversationPendingMessageDeliverySchema, d as conversationUnchangedDetailWithMailboxSchema, f as steerConversationPendingMessagesBodySchema, g as pluginOperationalReportSchema, h as pluginOperationalReportFeedSchema, i as cancelConversationPendingMessagesBodySchema, l as conversationPendingMessageSchema, m as healthReportSchema, n as conversationFeedQuerySchema, o as conversationDetailWithMailboxReportSchema, p as steerConversationPendingMessagesResponseSchema, r as conversationFeedSchema, s as conversationPendingAuthorizationSchema, u as conversationPendingMessagesReportSchema, v as pluginPackageContentReportSchema, w as skillReportsSchema, x as runtimeInfoReportSchema, y as pluginSchema } from "../conversation-feed-CgpgP7yi.js";
7
- import { $ as testNotificationResponseSchema, A as startServiceAccountSignInResponseSchema, At as conversationOutlineSchema, B as personParamsSchema, Bt as pinConversationResponseSchema, C as cacheWarmingSavingsRefillResponseSchema, Ct as attachObjectLinkBodySchema, D as serviceAccountListSchema, Dt as stopConversationTurnResponseSchema, E as disconnectServiceAccountResponseSchema, Et as objectLinksReportSchema, F as personalTokenParamsSchema, Ft as conversationSubscriptionBodySchema, G as locationParamsSchema, H as locationActivityDayReportSchema, Ht as reorderPinnedConversationsResponseSchema, I as revokePersonalTokenResponseSchema, It as conversationSubscriptionResponseSchema, Kt as attachmentUploadSchema, L as actorDirectoryReportSchema, Lt as conversationDeliveryBodySchema, M as createdPersonalTokenSchema, Mt as archiveConversationResponseSchema, N as personalTokenListSchema, Nt as archiveDoneConversationsResponseSchema, O as serviceAccountParamsSchema, Ot as conversationStatsReportSchema, P as personalTokenMetadataSchema, Pt as conversationAutoArchiveSchema, R as actorProfileReportSchema, Rt as conversationDeliveryResponseSchema, St as MAX_OBJECT_LINKS, T as closeCacheWarmingBreakerResponseSchema, Tt as objectLinksQuerySchema, U as locationDetailReportSchema, Ut as conversationCatchUpBodySchema, V as personalSpendReportSchema, Vt as reorderPinnedConversationsBodySchema, W as locationDirectoryReportSchema, Wt as conversationCatchUpSchema, X as notificationSettingsSchema, Y as dailyConversationActivitySchema, _t as conversationWatchesReportSchema, a as baselineSnapshotSchema, at as IDLE_CHANGE_DAYS, b as cacheWarmingBreakerListSchema, bt as continueConversationInSlackBodySchema, c as workspaceListSchema, ct as codeChangeSummarySchema, d as workspaceSchema, dt as codeRepositoryParamsSchema, et as connectionListSchema, f as reviewItemActionSchema, ft as codeRepositoryQuerySchema, g as reviewItemListSchema, gt as conversationWatchSchema, i as statsReportSchema, it as startConnectionResponseSchema, j as createPersonalTokenBodySchema, jt as archiveConversationBodySchema, k as serviceAccountSchema, kt as CONVERSATION_OUTLINE_TEXT_LENGTH, l as workspaceParamsSchema, lt as codeOverviewReportSchema, m as reviewItemCountSchema, mt as codeRepositorySummarySchema, n as versionsSchema, nt as connectionSchema, o as deleteWorkspaceResponseSchema, ot as codeActivityDaySchema, pt as codeRepositoryReportSchema, qt as createAttachmentUploadBodySchema, r as statSchema, rt as disconnectConnectionResponseSchema, s as workspaceBodySchema, st as codeChangeSummaryReportSchema, tt as connectionParamsSchema, u as workspaceRepoSchema, ut as codePersonReportSchema, v as reviewItemSchema, vt as conversationChildAgentSchema, w as cacheWarmingSavingsReportSchema, wt as attachObjectLinkResponseSchema, xt as continueConversationInSlackResponseSchema, y as reviewItemWaitingConversationsSchema, yt as conversationChildAgentsReportSchema, zt as pinConversationBodySchema } from "../schema-Bx0Mlo32.js";
8
- export { AGENT_REPLY_EVENT_TYPE, CONVERSATION_DETAIL_VERSION_HEADER, CONVERSATION_OUTLINE_TEXT_LENGTH, CONVERSATION_TITLE_MAX_LENGTH, CONVERSATION_VERSION_HEADER, DEFAULT_NOTIFICATION_SCHEDULE, IDLE_CHANGE_DAYS, INLINE_VIDEO_TYPES, INPUT_IMAGE_TYPES, MAX_ATTACHMENT_BYTES, MAX_INPUT_ATTACHMENTS, MAX_OBJECT_LINKS, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, annotationCard, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, attachObjectLinkBodySchema, attachObjectLinkResponseSchema, attachmentUploadSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cacheWarmingBreakerListSchema, cacheWarmingSavingsRefillResponseSchema, cacheWarmingSavingsReportSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, closeCacheWarmingBreakerResponseSchema, codeActivityDaySchema, 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, conversationObjectCard, conversationOutlineSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSubscriptionBodySchema, conversationSubscriptionResponseSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationUnchangedDetailWithMailboxSchema, conversationWatchSchema, conversationWatchesReportSchema, createAttachmentUploadBodySchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isAgentInvocationResultEventType, isEmptyUserInputAnswer, isWithinNotificationSchedule, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, messageObjectCard, normalizeUserInputAnswer, notificationScheduleSchema, notificationSettingsSchema, objectLinksQuerySchema, objectLinksReportSchema, personObjectCard, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pinConversationBodySchema, pinConversationResponseSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, renameConversationBodySchema, renameConversationResponseSchema, reorderPinnedConversationsBodySchema, reorderPinnedConversationsResponseSchema, resolveMessageCards, reviewItemActionSchema, reviewItemCountSchema, reviewItemListSchema, reviewItemSchema, reviewItemWaitingConversationsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, serviceAccountListSchema, serviceAccountParamsSchema, serviceAccountSchema, skillDetailReportSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, testNotificationResponseSchema, userCustomizationSchema, versionsSchema, webMessageId, webPageObjectCard, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
1
+ import { a as conversationTurnFailureReasonSchema, i as conversationTurnFailureCodeSchema } from "../history-N7IVbUom.js";
2
+ import { C as automationVersionListSchema, D as scheduledAutomationSummarySchema, E as eventAutomationSummarySchema, S as automationVersionActivateSchema, T as automationVersionSchema, _ as automationRunWindowsSchema, a as automationEditSchema, b as automationSummarySchema, c as automationExecutionSchema, f as automationListQuerySchema, g as automationRunSchema, h as automationRunListSchema, i as automationEditErrorSchema, l as automationExecutionStatusDaySchema, m as automationParamsSchema, n as isWithinNotificationSchedule, o as automationEventCatalogSchema, p as automationListSchema, r as notificationScheduleSchema, s as automationExecutionListSchema, t as DEFAULT_NOTIFICATION_SCHEDULE, u as automationExecutionStatusSchema, v as automationScheduleIntentSchema, w as automationVersionParamsSchema, x as automationUpdateSchema, y as automationSchedulePreviewSchema } from "../schedule-CHPWQn-x.js";
3
+ import { C as createConversationMessageBodySchema, D as conversationChildAgentTotalsSchema, G as annotationCard, H as renameConversationResponseSchema, Q as MAX_INPUT_ATTACHMENTS, S as createConversationBodySchema, T as forkConversationResponseSchema, U as conversationReadPositionSchema, V as renameConversationBodySchema, X as resolveMessageCards, Z as MAX_ATTACHMENT_BYTES, a as conversationActivityPreviewSchema, c as conversationAuxiliaryCostsSchema, d as conversationEventHistorySchema, f as conversationEventPageSchema, g as conversationReportEventSchema, h as conversationReportEventDataSchema, l as conversationDetailQuerySchema, m as conversationParamsSchema, n as CONVERSATION_VERSION_HEADER, p as conversationEventsQuerySchema, q as messageCardText, r as acceptedConversationMessageSchema, t as CONVERSATION_DETAIL_VERSION_HEADER, u as conversationDetailReportSchema, w as forkConversationBodySchema, y as conversationSummaryReportSchema, z as CONVERSATION_TITLE_MAX_LENGTH } from "../conversation--f85g4zL.js";
4
+ import { D as isAgentInvocationResultEventType, O as apiErrorSchema, T as AGENT_REPLY_EVENT_TYPE, _ as userCustomizationSchema, f as INLINE_VIDEO_TYPES, g as USER_CUSTOMIZATION_MAX_CHARS, l as isEmptyUserInputAnswer, o as USER_INPUT_NOTE, p as INPUT_IMAGE_TYPES, s as buttonUserInputField, t as webMessageId, u as normalizeUserInputAnswer } from "../web-message-id-CUaSiGme.js";
5
+ import { C as skillReportSchema, D as personObjectCard, E as messageObjectCard, O as webPageObjectCard, S as skillDetailReportSchema, T as conversationObjectCard, _ as pluginPackageContentItemReportSchema, a as cancelConversationPendingMessagesResponseSchema, b as pluginsSchema, c as conversationPendingMessageDeliverySchema, d as conversationUnchangedDetailWithMailboxSchema, f as steerConversationPendingMessagesBodySchema, g as pluginOperationalReportSchema, h as pluginOperationalReportFeedSchema, i as cancelConversationPendingMessagesBodySchema, l as conversationPendingMessageSchema, m as healthReportSchema, n as conversationFeedQuerySchema, o as conversationDetailWithMailboxReportSchema, p as steerConversationPendingMessagesResponseSchema, r as conversationFeedSchema, s as conversationPendingAuthorizationSchema, u as conversationPendingMessagesReportSchema, v as pluginPackageContentReportSchema, w as skillReportsSchema, x as runtimeInfoReportSchema, y as pluginSchema } from "../conversation-feed-BNs9KiqC.js";
6
+ import { $ as testNotificationResponseSchema, A as startServiceAccountSignInResponseSchema, At as objectLinksReportSchema, B as personParamsSchema, Bt as conversationSubscriptionResponseSchema, C as cacheWarmingSavingsRefillResponseSchema, Ct as conversationChildAgentsReportSchema, D as serviceAccountListSchema, Dt as attachObjectLinkBodySchema, E as disconnectServiceAccountResponseSchema, Et as MAX_OBJECT_LINKS, F as personalTokenParamsSchema, Ft as archiveConversationBodySchema, G as locationParamsSchema, Gt as reorderPinnedConversationsBodySchema, H as locationActivityDayReportSchema, Ht as conversationDeliveryResponseSchema, I as revokePersonalTokenResponseSchema, It as archiveConversationResponseSchema, Jt as conversationCatchUpSchema, Kt as reorderPinnedConversationsResponseSchema, L as actorDirectoryReportSchema, Lt as archiveDoneConversationsResponseSchema, M as createdPersonalTokenSchema, Mt as conversationStatsReportSchema, N as personalTokenListSchema, Nt as CONVERSATION_OUTLINE_TEXT_LENGTH, O as serviceAccountParamsSchema, Ot as attachObjectLinkResponseSchema, P as personalTokenMetadataSchema, Pt as conversationOutlineSchema, R as actorProfileReportSchema, Rt as conversationAutoArchiveSchema, St as conversationChildAgentSchema, T as closeCacheWarmingBreakerResponseSchema, Tt as continueConversationInSlackResponseSchema, U as locationDetailReportSchema, Ut as pinConversationBodySchema, V as personalSpendReportSchema, Vt as conversationDeliveryBodySchema, W as locationDirectoryReportSchema, Wt as pinConversationResponseSchema, X as notificationSettingsSchema, Xt as attachmentUploadSchema, Y as dailyConversationActivitySchema, Zt as createAttachmentUploadBodySchema, _t as conversationPlanReportSchema, a as baselineSnapshotSchema, at as IDLE_CHANGE_DAYS, b as cacheWarmingBreakerListSchema, bt as conversationWatchSchema, c as workspaceListSchema, ct as codeChangeSummarySchema, d as workspaceSchema, dt as codeRepositoryParamsSchema, et as connectionListSchema, f as reviewItemActionSchema, ft as codeRepositoryQuerySchema, g as reviewItemListSchema, gt as conversationPlanItemSchema, i as statsReportSchema, it as startConnectionResponseSchema, j as createPersonalTokenBodySchema, jt as stopConversationTurnResponseSchema, k as serviceAccountSchema, kt as objectLinksQuerySchema, l as workspaceParamsSchema, lt as codeOverviewReportSchema, m as reviewItemCountSchema, mt as codeRepositorySummarySchema, n as versionsSchema, nt as connectionSchema, o as deleteWorkspaceResponseSchema, ot as codeActivityDaySchema, pt as codeRepositoryReportSchema, qt as conversationCatchUpBodySchema, r as statSchema, rt as disconnectConnectionResponseSchema, s as workspaceBodySchema, st as codeChangeSummaryReportSchema, tt as connectionParamsSchema, u as workspaceRepoSchema, ut as codePersonReportSchema, v as reviewItemSchema, w as cacheWarmingSavingsReportSchema, wt as continueConversationInSlackBodySchema, xt as conversationWatchesReportSchema, y as reviewItemWaitingConversationsSchema, yt as planItemStatusBodySchema, zt as conversationSubscriptionBodySchema } from "../schema-D7iIEh6t.js";
7
+ export { AGENT_REPLY_EVENT_TYPE, CONVERSATION_DETAIL_VERSION_HEADER, CONVERSATION_OUTLINE_TEXT_LENGTH, CONVERSATION_TITLE_MAX_LENGTH, CONVERSATION_VERSION_HEADER, DEFAULT_NOTIFICATION_SCHEDULE, IDLE_CHANGE_DAYS, INLINE_VIDEO_TYPES, INPUT_IMAGE_TYPES, MAX_ATTACHMENT_BYTES, MAX_INPUT_ATTACHMENTS, MAX_OBJECT_LINKS, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, annotationCard, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, attachObjectLinkBodySchema, attachObjectLinkResponseSchema, attachmentUploadSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cacheWarmingBreakerListSchema, cacheWarmingSavingsRefillResponseSchema, cacheWarmingSavingsReportSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, closeCacheWarmingBreakerResponseSchema, codeActivityDaySchema, 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, conversationObjectCard, conversationOutlineSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationPlanItemSchema, conversationPlanReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSubscriptionBodySchema, conversationSubscriptionResponseSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationUnchangedDetailWithMailboxSchema, conversationWatchSchema, conversationWatchesReportSchema, createAttachmentUploadBodySchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isAgentInvocationResultEventType, isEmptyUserInputAnswer, isWithinNotificationSchedule, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, messageObjectCard, normalizeUserInputAnswer, notificationScheduleSchema, notificationSettingsSchema, objectLinksQuerySchema, objectLinksReportSchema, personObjectCard, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pinConversationBodySchema, pinConversationResponseSchema, planItemStatusBodySchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, renameConversationBodySchema, renameConversationResponseSchema, reorderPinnedConversationsBodySchema, reorderPinnedConversationsResponseSchema, resolveMessageCards, reviewItemActionSchema, reviewItemCountSchema, reviewItemListSchema, reviewItemSchema, reviewItemWaitingConversationsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, serviceAccountListSchema, serviceAccountParamsSchema, serviceAccountSchema, skillDetailReportSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, testNotificationResponseSchema, userCustomizationSchema, versionsSchema, webMessageId, webPageObjectCard, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
package/dist/api.d.ts CHANGED
@@ -1,8 +1,9 @@
1
1
  import { n as ConversationWorkQueue } from "./queue-CbEHUO0l.js";
2
- import "./db-zbN5ZV_o.js";
2
+ import "./db-pH357Dkt.js";
3
3
  import { Hono } from "hono";
4
4
  import * as z from "zod";
5
5
  import { User } from "@sentry/junior-plugin-api";
6
+ import "chat";
6
7
  import "hono/utils/http-status";
7
8
  /** Serialize a REST response only after it satisfies its declared schema. */
8
9
  export declare function jsonResponse<TSchema extends z.ZodType>(schema: TSchema, value: z.input<TSchema>, init?: ResponseInit): Response;
@@ -17,10 +18,24 @@ type JuniorApiEnv = {
17
18
  /** Resolve an active personal bearer token to its verified owner email. */
18
19
  export declare function authenticatePersonalToken(token: string, now?: Date): Promise<string | undefined>;
19
20
  /**
20
- * Return whether a verified sign-in email is on an allowed domain. Sign-in
21
- * needs a configured list, so an empty list allows no email.
21
+ * Parse a value that must be an email, such as a sign-in or a verified email
22
+ * from a plugin. Return the normalized email and its domain, or undefined
23
+ * when the value is not a valid email.
22
24
  */
23
- export declare function isAllowedSignInEmail(email: string, allowedDomains: readonly string[]): boolean;
25
+ export declare function parseEmail(value: unknown): {
26
+ email: string;
27
+ domain: string;
28
+ } | undefined;
29
+ /**
30
+ * Return whether a domain, such as the domain of a parsed email or Google's
31
+ * `hd` claim, is on the allowed domains. It only compares domains.
32
+ * `ifNoDomains` says what an empty list means: Slack authors allow every
33
+ * domain, and sign-ins allow none.
34
+ */
35
+ export declare function isAllowedDomain(domain: string | undefined, options: {
36
+ allowedDomains: readonly string[];
37
+ ifNoDomains: "allow" | "deny";
38
+ }): boolean;
24
39
  /** A user's dashboard settings: auto-archive and the UI choice. */
25
40
  type UserSettings = {
26
41
  autoArchiveDefault: boolean;
package/dist/api.js CHANGED
@@ -1,32 +1,30 @@
1
- import { V as escapeXml, et as getAttachmentStorage, n as botConfig } from "./config-CBZp0udd.js";
2
- import { A as conversationKindFromRow, C as withConversationMutationLock, X as getStateAdapter, a as getConversationStore, mt as nextDetailVersion, o as getDb, q as createCache, s as getSqlExecutor, y as loadConversationSlackTenantIds } from "./db-DU84dCVu.js";
3
- import { Di as countOwnedAutomationsNeedingAttention, Dt as webActorFromUser, Gn as setConversationSubscription, Jn as throwApiError, Kn as emptyResponse, Lt as listOwnedWatches, Nt as writeAttachmentUpload, Rt as listChildAgents, _ as closeBreaker, ai as deleteViewerTask, bi as AutomationEditError, ci as ViewerTaskNotFoundError, di as readViewerAutomationRuns, dt as archiveConversation, fi as readViewerAutomationSummary, g as breakerStates, h as savingsTotals, ii as changeViewerAutomationLifecycle, jt as createAttachmentUpload, kt as AttachmentUploadError, mi as readViewerAutomations, mt as reportConversationRead, oi as readViewerAutomationEdit, pi as readViewerAutomationVersions, qn as jsonResponse, si as updateViewerAutomation, ti as activateViewerAutomationVersion, u as SAVINGS_NAMESPACE, ui as readViewerAutomationExecutions, v as connectedState, w as readStats, xt as acceptsWebMessages } from "./warmup--Gkz7iB-.js";
4
- import { C as createConversationMessageBodySchema, F as renameConversationResponseSchema, I as conversationReadPositionSchema, P as renameConversationBodySchema, S as createConversationBodySchema, T as forkConversationResponseSchema, W as MAX_ATTACHMENT_BYTES, f as conversationEventPageSchema, l as conversationDetailQuerySchema, m as conversationParamsSchema, n as CONVERSATION_VERSION_HEADER, o as conversationAttachmentParamsSchema, p as conversationEventsQuerySchema, r as acceptedConversationMessageSchema, s as conversationAttachmentQuerySchema, t as CONVERSATION_DETAIL_VERSION_HEADER, u as conversationDetailReportSchema, w as forkConversationBodySchema } from "./conversation-BOqdRtUx.js";
5
- import { $ as testNotificationResponseSchema, A as startServiceAccountSignInResponseSchema, At as conversationOutlineSchema, B as personParamsSchema, Bt as pinConversationResponseSchema, C as cacheWarmingSavingsRefillResponseSchema, Ct as attachObjectLinkBodySchema, D as serviceAccountListSchema, Dt as stopConversationTurnResponseSchema, E as disconnectServiceAccountResponseSchema, Et as objectLinksReportSchema, F as personalTokenParamsSchema, Ft as conversationSubscriptionBodySchema, G as locationParamsSchema, Gt as attachmentUploadParamsSchema, Ht as reorderPinnedConversationsResponseSchema, I as revokePersonalTokenResponseSchema, It as conversationSubscriptionResponseSchema, J as activitySixHours$1, K as activityDays$1, Kt as attachmentUploadSchema, L as actorDirectoryReportSchema, Lt as conversationDeliveryBodySchema, M as createdPersonalTokenSchema, Mt as archiveConversationResponseSchema, N as personalTokenListSchema, Nt as archiveDoneConversationsResponseSchema, O as serviceAccountParamsSchema, Ot as conversationStatsReportSchema, Pt as conversationAutoArchiveSchema, Q as pushSubscriptionDeleteBodySchema, R as actorProfileReportSchema, Rt as conversationDeliveryResponseSchema, S as cacheWarmingSavingsQuerySchema, T as closeCacheWarmingBreakerResponseSchema, Tt as objectLinksQuerySchema, U as locationDetailReportSchema, Ut as conversationCatchUpBodySchema, V as personalSpendReportSchema, Vt as reorderPinnedConversationsBodySchema, W as locationDirectoryReportSchema, Wt as conversationCatchUpSchema, X as notificationSettingsSchema, Z as pushSubscriptionBodySchema, _ as reviewItemParamsSchema, _t as conversationWatchesReportSchema, b as cacheWarmingBreakerListSchema, bt as continueConversationInSlackBodySchema, c as workspaceListSchema, d as workspaceSchema, dt as codeRepositoryParamsSchema, et as connectionListSchema, f as reviewItemActionSchema, ft as codeRepositoryQuerySchema, g as reviewItemListSchema, h as reviewItemListQuerySchema, ht as personCodeQuerySchema, i as statsReportSchema, it as startConnectionResponseSchema, j as createPersonalTokenBodySchema, jt as archiveConversationBodySchema, l as workspaceParamsSchema, lt as codeOverviewReportSchema, m as reviewItemCountSchema, n as versionsSchema, o as deleteWorkspaceResponseSchema, p as reviewItemCountQuerySchema, pt as codeRepositoryReportSchema, q as activityHours$1, qt as createAttachmentUploadBodySchema, rt as disconnectConnectionResponseSchema, s as workspaceBodySchema, t as versionsQuerySchema, tt as connectionParamsSchema, ut as codePersonReportSchema, v as reviewItemSchema, w as cacheWarmingSavingsReportSchema, wt as attachObjectLinkResponseSchema, x as cacheWarmingBreakerParamsSchema, xt as continueConversationInSlackResponseSchema, y as reviewItemWaitingConversationsSchema, yt as conversationChildAgentsReportSchema, z as avatarParamsSchema, zt as pinConversationBodySchema } from "./schema-Bx0Mlo32.js";
6
- import { S as skillDetailReportSchema, a as cancelConversationPendingMessagesResponseSchema, b as pluginsSchema, d as conversationUnchangedDetailWithMailboxSchema, f as steerConversationPendingMessagesBodySchema, h as pluginOperationalReportFeedSchema, i as cancelConversationPendingMessagesBodySchema, m as healthReportSchema, n as conversationFeedQuerySchema, o as conversationDetailWithMailboxReportSchema, p as steerConversationPendingMessagesResponseSchema, r as conversationFeedSchema, u as conversationPendingMessagesReportSchema, w as skillReportsSchema, x as runtimeInfoReportSchema } from "./conversation-feed-CgpgP7yi.js";
7
- import { Q as getEventCatalog, X as isExperimentalFeatureEnabled, _ as readUserCustomization, v as saveUserCustomization, y as addConversationNote } from "./session-stop-uotLtp4g.js";
8
- import { $a as workspaceRepoCheckoutPath, Cr as isPausedBySlack, Fr as listWaitingConversations, Gr as isOnlyAssignee, Hi as createWorkspace, Ir as reviewItemsNeedingUserVersionQuery, Ji as updateWorkspace, Jo as readLiveAttachment, Ki as listWorkspaces, Kr as itemNeedsUser, Lr as searchReviewItems, Or as countOpenReviewItemsForUser, Pi as getDashboardSettingsLink, Qr as reviewItemReaderForUserInConversation, Sr as savePushSubscription, Ui as deleteWorkspace, Uo as readSlackAttachmentSource, V as createPluginEgress, Vr as canActOnReviewItem, Wi as getWorkspace, Yi as WorkspaceValidationError, Yn as createUserTokenStore, Za as SANDBOX_RUNTIME, Zr as reviewItemReaderForUser, _o as createPluginLogger, _r as resolveNotificationTimezone, bo as createConversationAccessReader, br as readNotificationSchedule, bs as createPluginAnnotations, cr as getPlugins, ea as create, gr as sendPushNotificationToUser, hr as readWebPushConfig, jo as readConversationEventPage, ko as readConversationBriefThrough, kr as countReviewItemsNeedingUserBySubject, ks as createPluginCache, qi as listWorkspacesByRepository, ta as hash, vr as deletePushSubscription, xo as readConversationAccessFromSql, xr as saveNotificationSchedule, xs as listConversationAnnotations, yr as listPushSubscriptions } from "./projection-CcFBVFUo.js";
9
- import { $ as readObjectLinkTypes, A as isAllowedSignInEmail, D as resolveMentions, Dt as IMAGE_WIDTHS, E as requireConversationPendingMessages, Et as createViewerMcp, F as actOnReviewItem, G as readSavingsRefill, H as DEFAULT_USER_SETTINGS, L as readReviewItemForUser, Ot as decodeImageId, P as ReviewItemActionError, Q as readLinkObjectType, Tt as readFirstHumanMessageTexts, U as readUserSettings, V as setConversationAutoArchive, W as updateUserSettings, X as readHealthReport, Z as OBJECT_LINK_TTL_MS, _ as readConversationEvents, a as decodePageCursor, b as createConversationForViewer, c as reorderPinnedConversations, d as childAgentTotalsReport, et as resolveObjectLinkNow, f as readConversationTreeMetricsFromSql, g as keepQuickQuestionForViewer, h as forkConversationForViewer, i as readConversationFeed, l as readConversationDetail, m as readConversationDetailEtag, n as steerConversationPendingMessagesForViewer, nt as guardedFetch, o as encodePageCursor, p as conversationVersionQuery, q as startSavingsRefill, r as conversationFeedVersionQuery, s as pinConversation, st as getProductionSlackAdapter, t as stopConversationTurnForViewer, tt as resolveObjectLinks, u as readConversationAuxiliaryCostsFromSql, w as cancelConversationPendingMessagesForViewer, wt as conversationSummaryFromStoredConversation, x as requireWebMessageConversation, y as appendConversationMessageForViewer, z as archiveViewerDoneConversations } from "./stop-BFVd0P0m.js";
10
- import { n as briefEntriesFromReportEvents, u as completeText } from "./prompt-C5LREK2p.js";
11
- import { a as resumeConversationDelivery, i as pauseConversationDelivery, r as canPauseConversationDelivery } from "./conversation-turn-CI8WDpnK.js";
12
- import { r as notificationScheduleSchema } from "./schedule-cP0AACm1.js";
13
- import { C as juniorConversationMetrics, E as juniorApiTokens, F as juniorUsers, I as juniorDestinations, N as juniorConversations, O as juniorCodeChanges, P as juniorIdentities, T as juniorConversationEvents, k as juniorCodeRepositories, x as juniorConversationBriefs } from "./executor-CFyrgOu1.js";
14
- import { t as runWithSlackInstallation } from "./adapter-context-BpvbUki8.js";
15
- import { i as continueConversationInSlack, r as canContinueInSlack, t as BUSY } from "./continue-in-slack-Cvot6S38.js";
1
+ import { V as escapeXml, n as botConfig, ut as getAttachmentStorage } from "./config-DUD-zMvp.js";
2
+ import { $ as getStateAdapter, A as conversationKindFromRow, C as withConversationMutationLock, X as createCache, _t as nextDetailVersion, a as getConversationStore, o as getDb, s as getSqlExecutor, y as loadConversationSlackTenantIds } from "./db-DV2ZUb1Y.js";
3
+ import { Dt as AttachmentUploadError, Ei as countOwnedAutomationsNeedingAttention, Ft as listOwnedWatches, Gn as jsonResponse, It as listChildAgents, Kn as throwApiError, Tt as webActorFromUser, Un as setConversationSubscription, Wn as emptyResponse, _ as closeBreaker, ai as readViewerAutomationEdit, di as readViewerAutomationSummary, ei as activateViewerAutomationVersion, fi as readViewerAutomationVersions, ft as reportConversationRead, g as breakerStates, h as savingsTotals, ii as deleteViewerTask, jt as writeAttachmentUpload, kt as createAttachmentUpload, li as readViewerAutomationExecutions, lt as archiveConversation, oi as updateViewerAutomation, pi as readViewerAutomations, ri as changeViewerAutomationLifecycle, si as ViewerTaskNotFoundError, u as SAVINGS_NAMESPACE, ui as readViewerAutomationRuns, v as connectedState, w as readStats, yi as AutomationEditError, yt as acceptsWebMessages } from "./warmup-mTMIatCV.js";
4
+ import { C as createConversationMessageBodySchema, H as renameConversationResponseSchema, S as createConversationBodySchema, T as forkConversationResponseSchema, U as conversationReadPositionSchema, V as renameConversationBodySchema, Z as MAX_ATTACHMENT_BYTES, f as conversationEventPageSchema, l as conversationDetailQuerySchema, m as conversationParamsSchema, n as CONVERSATION_VERSION_HEADER, o as conversationAttachmentParamsSchema, p as conversationEventsQuerySchema, r as acceptedConversationMessageSchema, s as conversationAttachmentQuerySchema, t as CONVERSATION_DETAIL_VERSION_HEADER, u as conversationDetailReportSchema, w as forkConversationBodySchema } from "./conversation--f85g4zL.js";
5
+ import { $ as testNotificationResponseSchema, A as startServiceAccountSignInResponseSchema, At as objectLinksReportSchema, B as personParamsSchema, Bt as conversationSubscriptionResponseSchema, C as cacheWarmingSavingsRefillResponseSchema, Ct as conversationChildAgentsReportSchema, D as serviceAccountListSchema, Dt as attachObjectLinkBodySchema, E as disconnectServiceAccountResponseSchema, F as personalTokenParamsSchema, Ft as archiveConversationBodySchema, G as locationParamsSchema, Gt as reorderPinnedConversationsBodySchema, Ht as conversationDeliveryResponseSchema, I as revokePersonalTokenResponseSchema, It as archiveConversationResponseSchema, J as activitySixHours$1, Jt as conversationCatchUpSchema, K as activityDays$1, Kt as reorderPinnedConversationsResponseSchema, L as actorDirectoryReportSchema, Lt as archiveDoneConversationsResponseSchema, M as createdPersonalTokenSchema, Mt as conversationStatsReportSchema, N as personalTokenListSchema, O as serviceAccountParamsSchema, Ot as attachObjectLinkResponseSchema, Pt as conversationOutlineSchema, Q as pushSubscriptionDeleteBodySchema, R as actorProfileReportSchema, Rt as conversationAutoArchiveSchema, S as cacheWarmingSavingsQuerySchema, T as closeCacheWarmingBreakerResponseSchema, Tt as continueConversationInSlackResponseSchema, U as locationDetailReportSchema, Ut as pinConversationBodySchema, V as personalSpendReportSchema, Vt as conversationDeliveryBodySchema, W as locationDirectoryReportSchema, Wt as pinConversationResponseSchema, X as notificationSettingsSchema, Xt as attachmentUploadSchema, Yt as attachmentUploadParamsSchema, Z as pushSubscriptionBodySchema, Zt as createAttachmentUploadBodySchema, _ as reviewItemParamsSchema, _t as conversationPlanReportSchema, b as cacheWarmingBreakerListSchema, c as workspaceListSchema, d as workspaceSchema, dt as codeRepositoryParamsSchema, et as connectionListSchema, f as reviewItemActionSchema, ft as codeRepositoryQuerySchema, g as reviewItemListSchema, gt as conversationPlanItemSchema, h as reviewItemListQuerySchema, ht as personCodeQuerySchema, i as statsReportSchema, it as startConnectionResponseSchema, j as createPersonalTokenBodySchema, jt as stopConversationTurnResponseSchema, kt as objectLinksQuerySchema, l as workspaceParamsSchema, lt as codeOverviewReportSchema, m as reviewItemCountSchema, n as versionsSchema, o as deleteWorkspaceResponseSchema, p as reviewItemCountQuerySchema, pt as codeRepositoryReportSchema, q as activityHours$1, qt as conversationCatchUpBodySchema, rt as disconnectConnectionResponseSchema, s as workspaceBodySchema, t as versionsQuerySchema, tt as connectionParamsSchema, ut as codePersonReportSchema, v as reviewItemSchema, vt as planItemParamsSchema, w as cacheWarmingSavingsReportSchema, wt as continueConversationInSlackBodySchema, x as cacheWarmingBreakerParamsSchema, xt as conversationWatchesReportSchema, y as reviewItemWaitingConversationsSchema, yt as planItemStatusBodySchema, z as avatarParamsSchema, zt as conversationSubscriptionBodySchema } from "./schema-D7iIEh6t.js";
6
+ import { S as skillDetailReportSchema, a as cancelConversationPendingMessagesResponseSchema, b as pluginsSchema, d as conversationUnchangedDetailWithMailboxSchema, f as steerConversationPendingMessagesBodySchema, h as pluginOperationalReportFeedSchema, i as cancelConversationPendingMessagesBodySchema, m as healthReportSchema, n as conversationFeedQuerySchema, o as conversationDetailWithMailboxReportSchema, p as steerConversationPendingMessagesResponseSchema, r as conversationFeedSchema, u as conversationPendingMessagesReportSchema, w as skillReportsSchema, x as runtimeInfoReportSchema } from "./conversation-feed-BNs9KiqC.js";
7
+ import { G as isAllowedDomain, H as addConversationNote, S as setPlanItemStatusByUser, _ as readUserCustomization, ft as isExperimentalFeatureEnabled, mt as getEventCatalog, q as parseEmail, v as saveUserCustomization, x as listPlanItems } from "./session-stop-BQxgHR4X.js";
8
+ import { $n as getPlugins, Ai as WorkspaceValidationError, Bc as readAutomationTitlesByConversationId, Bn as createUserTokenStore, Ci as createWorkspace, Dc as AutomationConflictError, Di as listWorkspaces, Dr as reviewItemsNeedingUserVersionQuery, Er as listWaitingConversations, Fa as readConversationAccessFromSql, Fi as create, Ga as readConversationEventPage, Gc as conversationRangeColumns, Hr as reviewItemReaderForUser, Ii as hash, Ir as isOnlyAssignee, Kc as conversationUsageCostExpr, Lr as itemNeedsUser, Mr as canActOnReviewItem, Oi as listWorkspacesByRepository, Or as searchReviewItems, Pa as createConversationAccessReader, Qo as postSlackMessage, Ss as formatSlackLink, Ti as getWorkspace, Ua as readConversationBriefThrough, Ur as reviewItemReaderForUserInConversation, Wc as conversationAggregateColumns, Ws as getDashboardSettingsLink, Xc as createPluginCache, bo as listConversationAnnotations, br as countReviewItemsNeedingUserBySubject, co as readLiveAttachment, cr as resolveNotificationTimezone, dr as readNotificationSchedule, fr as saveNotificationSchedule, ha as workspaceRepoCheckoutPath, ja as createPluginLogger, ki as updateWorkspace, lc as automationEventCatalog, lr as deletePushSubscription, mr as isPausedBySlack, or as readWebPushConfig, pa as SANDBOX_RUNTIME, pr as savePushSubscription, ro as readSlackAttachmentSource, sr as sendPushNotificationToUser, ur as listPushSubscriptions, wi as deleteWorkspace, xs as escapeSlackMrkdwnText, yo as createPluginAnnotations, yr as countOpenReviewItemsForUser, z as createPluginEgress, zs as getDashboardConversationLink } from "./projection-CWXDE0f6.js";
9
+ import { A as actOnReviewItem, B as readSavingsRefill, Ct as decodeImageId, D as resolveMentions, E as requireConversationPendingMessages, G as readHealthReport, H as startSavingsRefill, I as setConversationAutoArchive, J as readObjectLinkTypes, K as OBJECT_LINK_TTL_MS, L as DEFAULT_USER_SETTINGS, M as readReviewItemForUser, P as archiveViewerDoneConversations, R as readUserSettings, St as IMAGE_WIDTHS, X as resolveObjectLinks, Y as resolveObjectLinkNow, Z as guardedFetch, _ as readConversationEvents, a as decodePageCursor, b as createConversationForViewer, bt as readFirstHumanMessageTexts, c as reorderPinnedConversations, d as childAgentTotalsReport, f as readConversationTreeMetricsFromSql, g as keepQuickQuestionForViewer, h as forkConversationForViewer, i as readConversationFeed, k as ReviewItemActionError, l as readConversationDetail, m as readConversationDetailEtag, n as steerConversationPendingMessagesForViewer, nt as getProductionSlackAdapter, o as encodePageCursor, p as conversationVersionQuery, q as readLinkObjectType, r as conversationFeedVersionQuery, s as pinConversation, t as stopConversationTurnForViewer, u as readConversationAuxiliaryCostsFromSql, w as cancelConversationPendingMessagesForViewer, x as requireWebMessageConversation, xt as createViewerMcp, y as appendConversationMessageForViewer, yt as conversationSummaryFromStoredConversation, z as updateUserSettings } from "./stop-CsQGuN5n.js";
10
+ import { d as completeText, n as briefEntriesFromReportEvents } from "./prompt-P3eRqO8C.js";
11
+ import { a as resumeConversationDelivery, i as pauseConversationDelivery, r as canPauseConversationDelivery } from "./conversation-turn-BzdmrHb0.js";
12
+ import { _ as runBestEffort, h as logWarn, m as logInfo, p as logException } from "./logging-oYpJYr-S.js";
13
+ import { t as runWithSlackInstallation } from "./adapter-context-CnY-i32r.js";
14
+ import { A as juniorCodeChanges, C as juniorConversationBriefs, D as juniorConversationEvents, F as juniorConversations, I as juniorIdentities, L as juniorUsers, O as juniorApiTokens, R as juniorDestinations, T as juniorConversationMetrics, j as juniorCodeRepositories } from "./executor-CjNhwwnj.js";
15
+ import { i as continueConversationInSlack, r as canContinueInSlack, t as BUSY } from "./continue-in-slack-BXQizz9o.js";
16
16
  import { f as parseSlackTeamId, u as parseSlackChannelId } from "./actor-D2iXzvlN.js";
17
- import { A as fillUtcSixHours, D as HOUR_MS$1, E as DAY_MS$2, F as trailingUtcSixHourWindow, I as utcDayKey, L as utcHourKey, M as sumUtcHoursIntoSixHours, N as trailingUtcDayWindow, O as fillUtcDays, P as trailingUtcHourWindow, T as apiErrorSchema, _ as userCustomizationSchema, f as INLINE_VIDEO_TYPES, j as startOfUtcHour, k as fillUtcHours, m as detectImageMediaType, p as INPUT_IMAGE_TYPES } from "./web-message-id-lNodcCOI.js";
18
- import { D as AttachmentDownloadError, O as readAttachmentContent, _ as createSlackReviewItemShow, k as previewOriginBelongsTo } from "./agent-runner-C5d6rY5g.js";
19
- import { F as readAutomationTitlesByConversationId, L as conversationAggregateColumns, R as conversationRangeColumns, _t as automationEventCatalog, pt as AutomationConflictError, z as conversationUsageCostExpr } from "./turn-session-routing-2bW2qfeb.js";
20
- import { a as startConnection, n as isConnectableProvider, r as listConnections, s as htmlCallbackResponse, t as disconnectConnection } from "./connections-BYmuJ6Vm.js";
21
- import { h as logWarn, m as logInfo, p as logException } from "./logging-BPNTQVFu.js";
22
- import { f as credentialContextForActor } from "./registry-BjZZqKqi.js";
23
- import { c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarFetch, t as findUserByEmail } from "./viewer-CxUiOraX.js";
24
- import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-DU5865XA.js";
25
- import { n as pluginCatalogRuntime } from "./catalog-runtime-J52Tej47.js";
26
- import { F as compileScheduleIntent, P as ScheduleIntentError, U as automationTaskText, _ as automationSummarySchema, b as automationVersionListSchema, c as automationLifecycleSchema, d as automationParamsSchema, f as automationRunListSchema, g as automationSchedulePreviewSchema, h as automationScheduleIntentSchema, i as automationExecutionListSchema, l as automationListQuerySchema, n as automationEditSchema, r as automationEventCatalogSchema, t as automationEditErrorSchema, u as automationListSchema, v as automationUpdateSchema, x as automationVersionParamsSchema, y as automationVersionActivateSchema } from "./automation-CuA3yEcD.js";
27
- import { o as getSandboxResources } from "./install-CQ76CfRw.js";
28
- import { t as getCachedSnapshot } from "./resolve-CeJgXuH1.js";
29
- import { o as getVercelConversationWorkQueue } from "./background-compaction-queue-BTqMIfTA.js";
17
+ import { A as HOUR_MS$1, B as utcHourKey, F as sumUtcHoursIntoSixHours, I as trailingUtcDayWindow, L as trailingUtcHourWindow, M as fillUtcHours, N as fillUtcSixHours, O as apiErrorSchema, P as startOfUtcHour, R as trailingUtcSixHourWindow, _ as userCustomizationSchema, f as INLINE_VIDEO_TYPES, j as fillUtcDays, k as DAY_MS$2, m as detectImageMediaType, p as INPUT_IMAGE_TYPES, x as isOpenPlanItemStatus, z as utcDayKey } from "./web-message-id-CUaSiGme.js";
18
+ import { D as AttachmentDownloadError, O as readAttachmentContent, _ as createSlackReviewItemShow, k as previewOriginBelongsTo } from "./agent-runner-BaLjEjPR.js";
19
+ import { a as startConnection, n as isConnectableProvider, r as listConnections, s as htmlCallbackResponse, t as disconnectConnection } from "./connections-CDhsqPcC.js";
20
+ import { f as credentialContextForActor } from "./registry-1pzXmplY.js";
21
+ import { c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarFetch, t as findUserByEmail } from "./viewer-DKOeHpv3.js";
22
+ import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-DzQiOmqa.js";
23
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-B1R-nHd3.js";
24
+ import { C as automationVersionListSchema, L as ScheduleIntentError, R as compileScheduleIntent, S as automationVersionActivateSchema, X as automationTaskText, a as automationEditSchema, b as automationSummarySchema, d as automationLifecycleSchema, f as automationListQuerySchema, h as automationRunListSchema, i as automationEditErrorSchema, m as automationParamsSchema, o as automationEventCatalogSchema, p as automationListSchema, r as notificationScheduleSchema, s as automationExecutionListSchema, v as automationScheduleIntentSchema, w as automationVersionParamsSchema, x as automationUpdateSchema, y as automationSchedulePreviewSchema } from "./schedule-CHPWQn-x.js";
25
+ import { o as getSandboxResources } from "./install-DbD7C5td.js";
26
+ import { t as getCachedSnapshot } from "./resolve-n87oXY-d.js";
27
+ import { o as getVercelConversationWorkQueue } from "./background-compaction-queue-D2wzxtGU.js";
30
28
  import { Hono } from "hono";
31
29
  import * as z from "zod";
32
30
  import path from "node:path";
@@ -246,18 +244,49 @@ async function catchUpOnConversation(viewer, conversationId, range) {
246
244
  ...conversation.title ? { title: conversation.title } : void 0
247
245
  });
248
246
  }
247
+ // src/chat/slack/detach-notice.ts
248
+ function detachNoticeText(conversationId, actorName) {
249
+ const url = getDashboardConversationLink(conversationId);
250
+ const dashboard = url ? formatSlackLink(url, "the dashboard") : "the dashboard";
251
+ return `${escapeSlackMrkdwnText(actorName)} detached this conversation from Slack. Updates continue in ${dashboard}. Mention me here to attach it again.`;
252
+ }
253
+ /**
254
+ * Tell a Slack thread once that its Conversation was detached, so people
255
+ * there know replies stopped. Call it only when the detach changed state.
256
+ * Run it inside the Slack installation of `location.teamId`.
257
+ */
258
+ async function postSlackDetachNotice(args) {
259
+ const { location } = args;
260
+ if (!location.threadTs) return;
261
+ await postSlackMessage({
262
+ channelId: location.channelId,
263
+ text: detachNoticeText(args.conversationId, args.actorName),
264
+ threadTs: location.threadTs
265
+ });
266
+ }
249
267
  // src/api/conversations/delivery.ts
250
268
  /**
251
269
  * Detach a root from its Location, or attach it again. Only a participant
252
270
  * can change it, the same as rename. A mention in the Location attaches it
253
- * again too.
271
+ * again too. Each detach tells the Slack thread once.
254
272
  */
255
273
  async function setConversationDeliveryForViewer(viewer, conversationId, body) {
256
274
  const conversation = (await readConversationAccessFromSql(getDb(), [conversationId], viewer)).get(conversationId)?.isParticipant ? await getConversationStore().get({ conversationId }) : void 0;
257
275
  if (!conversation) throwApiError(404, "Conversation not found.");
258
276
  if (!canPauseConversationDelivery(conversation)) throwApiError(409, "Only a conversation with a Slack thread can detach.");
259
- if (body.paused) await pauseConversationDelivery(conversationId);
260
- else await resumeConversationDelivery(conversationId);
277
+ if (body.paused) {
278
+ const detached = await pauseConversationDelivery(conversationId);
279
+ const location = conversation.location;
280
+ if (detached && location?.provider === "slack") await runBestEffort(() => runWithSlackInstallation({
281
+ adapter: getProductionSlackAdapter(),
282
+ installation: { teamId: location.teamId },
283
+ task: () => postSlackDetachNotice({
284
+ actorName: viewer.displayName ?? viewer.email,
285
+ conversationId,
286
+ location
287
+ })
288
+ }), "conversation.detach_notice.failed", { "app.conversation.id": conversationId });
289
+ } else await resumeConversationDelivery(conversationId);
261
290
  return { paused: body.paused };
262
291
  }
263
292
  // src/chat/conversations/sql/title.ts
@@ -1136,6 +1165,65 @@ async function requireConversationWatches(conversationId, options = {}) {
1136
1165
  watches
1137
1166
  });
1138
1167
  }
1168
+ // src/api/conversations/plan.ts
1169
+ /** Closed items that the report shows after the open ones. */
1170
+ const RECENT_CLOSED_ITEMS = 5;
1171
+ function reportItem(item, canViewPrivateContent) {
1172
+ const { assignee } = item;
1173
+ return {
1174
+ id: item.id,
1175
+ status: item.status,
1176
+ updatedAt: new Date(item.updatedAtMs).toISOString(),
1177
+ ...canViewPrivateContent ? {
1178
+ title: item.title,
1179
+ ...item.notes ? { notes: item.notes } : void 0,
1180
+ assignee: assignee.kind === "user" ? {
1181
+ kind: "user",
1182
+ name: assignee.name ?? assignee.email
1183
+ } : assignee,
1184
+ ...item.changedBy ? { changedBy: item.changedBy.name ?? item.changedBy.email } : void 0
1185
+ } : {
1186
+ assignee: assignee.kind === "agent" ? {
1187
+ kind: "agent",
1188
+ conversationId: assignee.conversationId
1189
+ } : { kind: assignee.kind },
1190
+ redacted: true
1191
+ }
1192
+ };
1193
+ }
1194
+ /**
1195
+ * Load the plan of one Conversation: every open item, then the latest closed
1196
+ * ones. Throws a standard API not-found error. Viewers who cannot see
1197
+ * private content get no titles, notes, or names.
1198
+ */
1199
+ async function requireConversationPlan(conversationId, options = {}) {
1200
+ if (!await getConversationStore().get({ conversationId })) throwApiError(404, "Conversation not found.");
1201
+ const [accessByConversation, items] = await Promise.all([readConversationAccessFromSql(getDb(), [conversationId], options.viewer), listPlanItems(getSqlExecutor(), conversationId)]);
1202
+ const canViewPrivateContent = accessByConversation.get(conversationId)?.canViewPrivateContent ?? false;
1203
+ const closed = items.filter((item) => !isOpenPlanItemStatus(item.status)).sort((left, right) => right.updatedAtMs - left.updatedAtMs).slice(0, RECENT_CLOSED_ITEMS);
1204
+ return conversationPlanReportSchema.parse({
1205
+ conversationId,
1206
+ items: [...items.filter((item) => isOpenPlanItemStatus(item.status)), ...closed].map((item) => reportItem(item, canViewPrivateContent))
1207
+ });
1208
+ }
1209
+ /**
1210
+ * Set the status of one Plan item for a person. The plan is shared, so only
1211
+ * a Participant can change it, the same as the title. The agent sees the
1212
+ * change in a `<plan-delta>` on its next Turn.
1213
+ */
1214
+ async function setConversationPlanItemStatus(viewer, conversationId, itemId, body) {
1215
+ const conversationAccess = (await readConversationAccessFromSql(getDb(), [conversationId], viewer)).get(conversationId);
1216
+ if (!conversationAccess?.isParticipant) throwApiError(404, "Conversation not found.");
1217
+ const item = await setPlanItemStatusByUser(getSqlExecutor(), {
1218
+ conversationId,
1219
+ id: itemId,
1220
+ nowMs: Date.now(),
1221
+ status: body.status,
1222
+ userId: viewer.id
1223
+ });
1224
+ if (!item) throwApiError(404, "Plan item not found.");
1225
+ return reportItem(item, conversationAccess.canViewPrivateContent);
1226
+ }
1139
1227
  // src/api/conversations/routes.ts
1140
1228
  /** Create the HTTP routes owned by the conversations API. */
1141
1229
  function createConversationRoutes(options) {
@@ -1243,6 +1331,15 @@ function createConversationRoutes(options) {
1243
1331
  const viewer = context.get("viewer");
1244
1332
  return jsonResponse(conversationWatchesReportSchema, await requireConversationWatches(conversationId, { viewer }));
1245
1333
  });
1334
+ app.get("/:conversationId/plan", validateRequest("param", conversationParamsSchema, "Invalid route parameters."), async (context) => {
1335
+ const { conversationId } = context.req.valid("param");
1336
+ const viewer = context.get("viewer");
1337
+ return jsonResponse(conversationPlanReportSchema, await requireConversationPlan(conversationId, { viewer }));
1338
+ });
1339
+ app.patch("/:conversationId/plan/:itemId", requireViewer, validateRequest("param", planItemParamsSchema, "Invalid route parameters."), validateRequest("json", planItemStatusBodySchema, "Invalid request body."), async (context) => {
1340
+ const { conversationId, itemId } = context.req.valid("param");
1341
+ return jsonResponse(conversationPlanItemSchema, await setConversationPlanItemStatus(context.get("viewer"), conversationId, itemId, context.req.valid("json")));
1342
+ });
1246
1343
  app.get("/:conversationId/pending-messages", validateRequest("param", conversationParamsSchema, "Invalid route parameters."), async (context) => {
1247
1344
  const { conversationId } = context.req.valid("param");
1248
1345
  const viewer = context.get("viewer");
@@ -1692,7 +1789,7 @@ function createCodeRoutes() {
1692
1789
  /**
1693
1790
  * Create authenticated routes that list, connect, and disconnect the viewer's
1694
1791
  * plugin accounts. Connections belong to the viewer's User id, which is the
1695
- * web Actor id and the credential subject for the viewer's web Conversations.
1792
+ * web Actor id and the credential subject for the viewer's Conversations.
1696
1793
  */
1697
1794
  function createConnectionRoutes() {
1698
1795
  const app = new Hono();
@@ -2800,7 +2897,7 @@ async function readPeoplePluginReports(args) {
2800
2897
  reports: [],
2801
2898
  source: "plugins"
2802
2899
  });
2803
- const { getPluginProfileReports } = await import("./projection-CcFBVFUo.js").then((n) => n.Qn);
2900
+ const { getPluginProfileReports } = await import("./projection-CWXDE0f6.js").then((n) => n.Un);
2804
2901
  return pluginOperationalReportFeedSchema.parse({
2805
2902
  generatedAt: new Date(nowMs).toISOString(),
2806
2903
  reports: await getPluginProfileReports({
@@ -2851,7 +2948,7 @@ function surfaceExpression(table) {
2851
2948
  return sql`CASE
2852
2949
  WHEN ${table.source} IN ('api', 'scheduler', 'slack')
2853
2950
  THEN ${table.source}
2854
- -- Dashboard web conversations share the product api surface label.
2951
+ -- Dashboard Conversations share the product api surface label.
2855
2952
  WHEN ${table.source} = 'web' THEN 'api'
2856
2953
  WHEN ${table.conversationId} LIKE 'slack:%' THEN 'slack'
2857
2954
  WHEN ${table.conversationId} LIKE 'scheduler:%' THEN 'scheduler'
@@ -3928,7 +4025,7 @@ function readDescriptionText(home) {
3928
4025
  }
3929
4026
  /** Read discovered skills for runtime diagnostics and the Automation editor. */
3930
4027
  async function readSkillReports() {
3931
- const { discoverSkills } = await import("./skills-Bex1EaO5.js").then((n) => n.o);
4028
+ const { discoverSkills } = await import("./skills-CPf4vNuC.js").then((n) => n.o);
3932
4029
  const skills = await discoverSkills();
3933
4030
  return skillReportsSchema.parse(skills.map((skill) => ({
3934
4031
  name: skill.name,
@@ -3942,7 +4039,7 @@ async function readSkillReports() {
3942
4039
  * what the skill tells Junior. Returns null when no skill has that name.
3943
4040
  */
3944
4041
  async function readSkillDetailReport(name) {
3945
- const { discoverSkills, findSkillByName, parseSkillFile } = await import("./skills-Bex1EaO5.js").then((n) => n.o);
4042
+ const { discoverSkills, findSkillByName, parseSkillFile } = await import("./skills-CPf4vNuC.js").then((n) => n.o);
3946
4043
  const skill = findSkillByName(name, await discoverSkills());
3947
4044
  if (!skill) return null;
3948
4045
  const parsed = parseSkillFile(await fs.readFile(path.join(skill.skillPath, "SKILL.md"), "utf8"), skill.name);
@@ -3957,7 +4054,7 @@ async function readSkillDetailReport(name) {
3957
4054
  }
3958
4055
  /** Read safe configured plugin metadata for authenticated runtime diagnostics. */
3959
4056
  async function readPlugins() {
3960
- const { pluginCatalogRuntime } = await import("./catalog-runtime-J52Tej47.js").then((n) => n.t);
4057
+ const { pluginCatalogRuntime } = await import("./catalog-runtime-B1R-nHd3.js").then((n) => n.t);
3961
4058
  return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
3962
4059
  configKeys: plugin.manifest.configKeys ?? [],
3963
4060
  description: plugin.manifest.description,
@@ -3969,7 +4066,7 @@ async function readPlugins() {
3969
4066
  async function readRuntimeInfoReport() {
3970
4067
  const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
3971
4068
  import("./package-discovery-x4AvVhMj.js").then((n) => n.r),
3972
- import("./catalog-runtime-J52Tej47.js").then((n) => n.t),
4069
+ import("./catalog-runtime-B1R-nHd3.js").then((n) => n.t),
3973
4070
  readPlugins(),
3974
4071
  readSkillReports()
3975
4072
  ]);
@@ -3986,7 +4083,7 @@ async function readRuntimeInfoReport() {
3986
4083
  /** Read sanitized operational summaries contributed by plugins. */
3987
4084
  async function readPluginOperationalReportFeed() {
3988
4085
  const nowMs = Date.now();
3989
- const { getPluginOperationalReports } = await import("./projection-CcFBVFUo.js").then((n) => n.Qn);
4086
+ const { getPluginOperationalReports } = await import("./projection-CWXDE0f6.js").then((n) => n.Un);
3990
4087
  return pluginOperationalReportFeedSchema.parse({
3991
4088
  source: "plugins",
3992
4089
  generatedAt: new Date(nowMs).toISOString(),
@@ -4043,4 +4140,4 @@ function createJuniorApi(options = {}) {
4043
4140
  });
4044
4141
  return app;
4045
4142
  }
4046
- export { DEFAULT_USER_SETTINGS, authenticatePersonalToken, createJuniorApi, isAllowedSignInEmail, jsonResponse, readUserSettings, readViewerAvatarUrl, resolveViewerUser, updateUserSettings, updateViewerDisplayName };
4143
+ export { DEFAULT_USER_SETTINGS, authenticatePersonalToken, createJuniorApi, isAllowedDomain, jsonResponse, parseEmail, readUserSettings, readViewerAvatarUrl, resolveViewerUser, updateUserSettings, updateViewerDisplayName };
@@ -1,7 +1,7 @@
1
1
  import { n as JuniorPluginSet } from "./plugins-B_0Cr0MO.js";
2
2
  import { n as ConversationWorkQueue, t as ConversationQueueMessage } from "./queue-CbEHUO0l.js";
3
- import "./schema-CKcu-IK6.js";
4
- import { t as ConversationStore } from "./db-zbN5ZV_o.js";
3
+ import "./schema-CVbIjrF3.js";
4
+ import { t as ConversationStore } from "./db-pH357Dkt.js";
5
5
  import "./sentry-DrKC2NeM.js";
6
6
  import { Hono } from "hono";
7
7
  import * as z from "zod";
package/dist/app.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { i as JuniorDashboardOptions, n as JuniorAppOptions, r as createApp, t as JuniorApp } from "./app-Cs157Zc5.js";
1
+ import { i as JuniorDashboardOptions, n as JuniorAppOptions, r as createApp, t as JuniorApp } from "./app-DvYbM9UD.js";
2
2
  import { i as defineJuniorPlugins, n as JuniorPluginSet, r as JuniorPluginSetOptions, t as JuniorPluginInput } from "./plugins-B_0Cr0MO.js";
3
3
  import { t as JUNIOR_VERSION } from "./version-Cc2OFd9G.js";
4
4
  export { JUNIOR_VERSION, JuniorApp, JuniorAppOptions, type JuniorDashboardOptions, type JuniorPluginInput, type JuniorPluginSet, type JuniorPluginSetOptions, createApp, defineJuniorPlugins };