@sentry/junior 0.277.0 → 0.278.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (73) hide show
  1. package/dist/{adapter-BtfBHVM5.js → adapter-BXosqTMx.js} +1 -1
  2. package/dist/{admin-DzAKbZsm.js → admin-Thn7NfOi.js} +1 -1
  3. package/dist/{agent-invocations-Crs3XHhg.js → agent-invocations-D7c4BQGc.js} +1 -1
  4. package/dist/{agent-runner-BsYAbniN.js → agent-runner-DE-43MPb.js} +268 -835
  5. package/dist/api/schema.d.ts +2 -2
  6. package/dist/api/schema.js +5 -5
  7. package/dist/api.d.ts +1 -1
  8. package/dist/api.js +38 -76
  9. package/dist/{app-BjEQwNVP.d.ts → app-CHNS-AX2.d.ts} +5 -26
  10. package/dist/app.d.ts +2 -2
  11. package/dist/app.js +30 -31
  12. package/dist/{assistant-reply-NebRGG4G.js → assistant-reply-pauL6qyn.js} +28 -6
  13. package/dist/{automation-Cql9h2vO.js → automation-DphoTRYl.js} +1 -1
  14. package/dist/{background-compaction-queue-hh18yCeU.js → background-compaction-queue-CAL4A2y7.js} +2 -2
  15. package/dist/{briefs-BBo0Eimi.js → briefs-4fyPJJEu.js} +5 -6
  16. package/dist/{catalog-runtime-DE-F4Awo.js → catalog-runtime-BoOb5oUv.js} +1 -1
  17. package/dist/cli/chat.js +14 -14
  18. package/dist/cli/check.js +3 -3
  19. package/dist/cli/init.js +0 -2
  20. package/dist/cli/main.js +3 -3
  21. package/dist/cli/plugins.js +4 -4
  22. package/dist/cli/snapshot-create.js +4 -4
  23. package/dist/cli/upgrade.d.ts +1 -1
  24. package/dist/cli/upgrade.js +3 -3
  25. package/dist/{client-DZ8HTnYH.js → client-v_OVYuHZ.js} +3 -3
  26. package/dist/{config-D5uUtrCP.js → config-o2jLRY5J.js} +24 -99
  27. package/dist/{connections-Do24CGP5.js → connections-RC4NXAx8.js} +10 -10
  28. package/dist/{conversation-SsASlWL7.js → conversation-CZfyQvdm.js} +51 -104
  29. package/dist/{conversation-privacy-VuylvlKr.js → conversation-privacy-C23M8KaD.js} +1 -1
  30. package/dist/{credential-sync-BGQK3pOa.js → credential-sync-Dd0WyNfF.js} +13 -13
  31. package/dist/{db-DEiwO5Sh.d.ts → db-BjLzDJCt.d.ts} +1 -1
  32. package/dist/{executor-hPfFTH0C.js → executor-CJfsD0VX.js} +3 -3
  33. package/dist/instrumentation.js +2 -2
  34. package/dist/{logging-cI3T1dNc.js → logging-dFaXvBRK.js} +1 -1
  35. package/dist/{media-DstkkoNP.js → media-DTAA8Qs_.js} +21 -23
  36. package/dist/{message-DBwsAl7O.js → message-DSwxIZet.js} +22 -28
  37. package/dist/nitro.d.ts +1 -1
  38. package/dist/nitro.js +3 -3
  39. package/dist/{oauth-callback-server-DXrnbplb.js → oauth-callback-server-CDcuCp27.js} +2 -2
  40. package/dist/{projection-7EFIqzuj.js → projection-BTge9wrH.js} +106 -108
  41. package/dist/{prompt-oRfGsxd3.js → prompt-DDtCnlHP.js} +1 -1
  42. package/dist/{registry-Bzefs7kT.js → registry-Cp6CNmtP.js} +1 -1
  43. package/dist/{resolve-CuiEY_2u.js → resolve-B_7h2cXx.js} +3 -3
  44. package/dist/{result-DrcUtFaD.js → result-5LBEfnLX.js} +9 -9
  45. package/dist/{runner-CDE4CZ52.js → runner-C5-S4oq-.js} +11 -11
  46. package/dist/{sandbox-egress-signals-0tcmGd13.js → sandbox-egress-signals-B4GehT1L.js} +1 -1
  47. package/dist/{schema-Dzi3lkdP.js → schema-B5fpczDw.js} +67 -4
  48. package/dist/{schema-B6N2nc6v.d.ts → schema-Tr484cCC.d.ts} +909 -687
  49. package/dist/{service-account-DIyz_9Uh.js → service-account-BkEv20zf.js} +3 -3
  50. package/dist/{service-account-BOz9pqOE.js → service-account-Cq_dLrZJ.js} +3 -3
  51. package/dist/{session-stop-0juF_BP0.js → session-stop-BsS4qFS2.js} +22 -15
  52. package/dist/{skills-CU5Is147.js → skills-M0BA0_s6.js} +2 -2
  53. package/dist/{spawn-6C9jHH4b.js → spawn-BO3y7H4d.js} +2 -3
  54. package/dist/{stop-6FVG1c-r.js → stop-D5R82Wla.js} +255 -64
  55. package/dist/{store-DtHZviJ1.js → store-BGBzQWNf.js} +9 -16
  56. package/dist/{store-DKs1WwdB.js → store-CGJZTEVz.js} +3 -3
  57. package/dist/{task-queue-CcvFQE_p.js → task-queue-UD27ei2U.js} +3 -3
  58. package/dist/{task-runner-DBkNejLl.js → task-runner-noxjOjkM.js} +7 -7
  59. package/dist/{thread-state-4hjEIkIq.js → thread-state-BSu6rM6p.js} +4 -4
  60. package/dist/{turn-failure-response-BZNLydC3.js → turn-failure-response-wahwyPrZ.js} +7 -7
  61. package/dist/{turn-lifecycle-BhqYjaa4.js → turn-lifecycle-Bo4Trccw.js} +1 -1
  62. package/dist/{turn-session-routing-jnLOfBHJ.js → turn-session-routing-DnSaaEpn.js} +10 -10
  63. package/dist/{validation-BUFmsnKs.js → validation-B9-8iKyw.js} +1 -1
  64. package/dist/{version-DJTk0ZCE.js → version-C7HejFP2.js} +1 -1
  65. package/dist/version.js +1 -1
  66. package/dist/{viewer-WY0RYE4E.js → viewer-DLXajQZE.js} +52 -21
  67. package/dist/{work-C5AKvXJV.js → work-DRGSlfia.js} +12 -17
  68. package/dist/{worker-BcYVDVUy.js → worker-BGh5Dwc6.js} +6 -6
  69. package/migrations/meta/0075_snapshot.json +98 -314
  70. package/migrations/meta/0076_snapshot.json +98 -314
  71. package/migrations/meta/_journal.json +1 -1
  72. package/package.json +4 -4
  73. package/dist/model-profile-B998sjVd.js +0 -67
@@ -1,2 +1,2 @@
1
- import { $ as automationExecutionSchema, $n as ConversationAgentTreeNode, $r as CodeActivityDay, $t as LocationParams, A as StatReport, Ai as MAX_INPUT_IMAGES, An as pinConversationResponseSchema, Ar as conversationDetailQuerySchema, At as PersonalTokenMetadata, B as AutomationListQuery, Bn as conversationStatsReportSchema, Br as conversationPendingMessageSchema, Bt as serviceAccountSchema, C as pluginPackageContentItemReportSchema, Ci as UserInputField, Cn as ConversationChildAgent, Cr as SteerConversationPendingMessagesBody, Ct as workspaceBodySchema, D as runtimeInfoReportSchema, Di as normalizeUserInputAnswer, Dn as PinConversationBody, Dr as cancelConversationPendingMessagesResponseSchema, Dt as workspaceSchema, E as pluginsSchema, Ei as isEmptyUserInputAnswer, En as conversationChildAgentsReportSchema, Er as cancelConversationPendingMessagesBodySchema, Et as workspaceRepoSchema, F as AutomationExecution, Fn as ConversationMetricDay, Fr as conversationFeedQuerySchema, Ft as personalTokenParamsSchema, G as AutomationSummary, Gn as archiveConversationResponseSchema, Gr as createConversationBodySchema, Gt as disconnectConnectionResponseSchema, H as AutomationRunList, Hn as ArchiveConversationResponse, Hr as conversationReportEventDataSchema, Ht as connectionListSchema, I as AutomationExecutionDay, In as ConversationStatsItem, Ir as conversationFeedSchema, It as revokePersonalTokenResponseSchema, J as ListedAutomationVersion, Jn as AcceptedConversationMessage, Jr as forkConversationResponseSchema, Jt as apiErrorSchema, K as AutomationUpdate, Kn as archiveDoneConversationsResponseSchema, Kr as createConversationMessageBodySchema, Kt as startConnectionResponseSchema, L as AutomationExecutionList, Ln as ConversationStatsReport, Lr as conversationParamsSchema, Lt as disconnectServiceAccountResponseSchema, M as statSchema, Mi as MessageAttachment, Mn as conversationReadPositionSchema, Mr as conversationEventHistorySchema, Mt as createdPersonalTokenSchema, N as statsReportSchema, Ni as INPUT_IMAGE_TYPES, Nn as StopConversationTurnResponse, Nr as conversationEventPageSchema, Nt as personalTokenListSchema, O as skillReportSchema, Oi as webMessageId, On as PinConversationResponse, Or as conversationActivityPreviewSchema, Ot as USER_CUSTOMIZATION_MAX_CHARS, P as AutomationEdit, Pn as stopConversationTurnResponseSchema, Pr as conversationEventsQuerySchema, Pt as personalTokenMetadataSchema, Q as automationExecutionListSchema, Qn as ConversationActivityPreview, Qr as conversationTurnFailureReasonSchema, Qt as LocationDirectoryReport, R as AutomationExecutionStatusDay, Rn as GuardianMetricDay, Rr as conversationPendingAuthorizationSchema, Rt as serviceAccountListSchema, S as pluginOperationalReportSchema, Si as UserInputAnswer, Sn as conversationWatchesReportSchema, Sr as CreateConversationMessageBody, St as deleteWorkspaceResponseSchema, T as pluginSchema, Ti as buttonUserInputField, Tn as conversationChildAgentSchema, Tr as acceptedConversationMessageSchema, Tt as workspaceParamsSchema, U as AutomationRunWindows, Un as ConversationAutoArchive, Ur as conversationReportEventSchema, Ut as connectionParamsSchema, V as AutomationRun, Vn as ArchiveConversationBody, Vr as conversationPendingMessagesReportSchema, Vt as startServiceAccountSignInResponseSchema, W as AutomationScheduleIntent, Wn as archiveConversationBodySchema, Wr as conversationSummaryReportSchema, Wt as connectionSchema, X as automationEditSchema, Xn as CancelConversationPendingMessagesBody, Xr as steerConversationPendingMessagesResponseSchema, Xt as LocationActorSummaryReport, Y as automationEditErrorSchema, Yn as ActorIdentity, Yr as steerConversationPendingMessagesBodySchema, Yt as LocationActivityDayReport, Z as automationEventCatalogSchema, Zn as CancelConversationPendingMessagesResponse, Zr as conversationTurnFailureCodeSchema, Zt as LocationDetailReport, _ as RuntimeInfoReport, _i as MessageCard, _n as personParamsSchema, _r as ConversationSurface, _t as scheduledAutomationSummarySchema, a as reviewItemCountSchema, ai as codeActivityDaySchema, an as ActorActivityDayReport, ar as ConversationFeed, at as automationRunListSchema, b as healthReportSchema, bi as AutomationCard, bn as ConversationWatchesReport, br as ConversationUsage, bt as WorkspaceReport, c as reviewItemWaitingConversationsSchema, ci as codeOverviewReportSchema, cn as ActorProfileReport, cr as ConversationPendingMessage, ct as automationScheduleIntentSchema, d as Plugin, di as codeRepositoryReportSchema, dn as ActorWindowMetrics, dr as ConversationReportEvent, dt as automationUpdateSchema, ei as CodeChangeSummaryReport, en as LocationSummaryReport, er as ConversationAuxiliaryCosts, et as automationExecutionStatusDaySchema, f as PluginOperationalReport, fi as codeRepositorySummarySchema, fn as PeopleActivityDayReport, fr as ConversationReportEventData, ft as automationVersionActivateSchema, g as Plugins, gi as dailyConversationActivitySchema, gn as actorProfileReportSchema, gr as ConversationSummaryReport, gt as eventAutomationSummarySchema, h as PluginPackageContentReport, hi as DailyConversationActivity, hn as actorDirectoryReportSchema, hr as ConversationSourceTask, ht as automationVersionSchema, i as reviewItemActionSchema, ii as CodeRepositorySummary, in as locationParamsSchema, ir as ConversationEventPage, it as automationParamsSchema, j as StatsReport, ji as MAX_INPUT_IMAGE_BYTES, jn as ConversationReadPosition, jr as conversationDetailReportSchema, jt as createPersonalTokenBodySchema, k as skillReportsSchema, ki as InputImage, kn as pinConversationBodySchema, kr as conversationAuxiliaryCostsSchema, kt as userCustomizationSchema, l as ReviewItemChangeRecord, li as codePersonReportSchema, ln as ActorSummaryReport, lr as ConversationPendingMessageDelivery, lt as automationSchedulePreviewSchema, m as PluginPackageContentItemReport, mi as conversationChildAgentTotalsSchema, mn as PersonalSpendReport, mr as ConversationReportStatus, mt as automationVersionParamsSchema, n as ReviewItemActionBody, ni as CodePersonReport, nn as locationDetailReportSchema, nr as ConversationDetailReport, nt as automationListQuerySchema, o as reviewItemListSchema, oi as codeChangeSummaryReportSchema, on as ActorDirectoryReport, or as ConversationModelUsage, ot as automationRunSchema, p as PluginOperationalReportFeed, pi as ConversationChildAgentTotals, pn as PersonParams, pr as ConversationReportMessageEvent, pt as automationVersionListSchema, q as AutomationVersionList, qn as conversationAutoArchiveSchema, qr as forkConversationBodySchema, qt as ApiError, r as ReviewItemPayload, ri as CodeRepositoryReport, rn as locationDirectoryReportSchema, rr as ConversationEventHistory, rt as automationListSchema, s as reviewItemSchema, si as codeChangeSummarySchema, sn as ActorDirectoryWindows, sr as ConversationParams, st as automationRunWindowsSchema, t as OwnedObjectAnnotation, ti as CodeOverviewReport, tn as locationActivityDayReportSchema, tr as ConversationCost, tt as automationExecutionStatusSchema, u as HealthReport, ui as codeRepositoryParamsSchema, un as ActorTotalsReport, ur as ConversationPendingMessagesReport, ut as automationSummarySchema, v as SkillReport, vi as messageCardText, vn as personalSpendReportSchema, vr as ConversationTurnFailureCode, vt as BaselineSnapshotReport, w as pluginPackageContentReportSchema, wi as UserInputRequest, wn as ConversationChildAgentsReport, wr as SteerConversationPendingMessagesResponse, wt as workspaceListSchema, x as pluginOperationalReportFeedSchema, xi as USER_INPUT_NOTE, xn as conversationWatchSchema, xr as CreateConversationBody, xt as baselineSnapshotSchema, y as SkillReports, yi as resolveMessageCards, yn as ConversationWatch, yr as ConversationTurnFailureReason, yt as WorkspaceListReport, z as AutomationList, zn as GuardianStats, zr as conversationPendingMessageDeliverySchema, zt as serviceAccountParamsSchema } from "../schema-B6N2nc6v.js";
2
- export { 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 AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationUpdate, type AutomationVersionList, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAgentTreeNode, type ConversationAutoArchive, type ConversationAuxiliaryCosts, type ConversationChildAgent, type ConversationChildAgentTotals, type ConversationChildAgentsReport, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, 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 ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type ConversationWatch, type ConversationWatchesReport, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, INPUT_IMAGE_TYPES, type InputImage, type ListedAutomationVersion, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, type MessageCard, 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 ReviewItemActionBody, type ReviewItemChangeRecord, type ReviewItemPayload, type RuntimeInfoReport, 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 WorkspaceListReport, type WorkspaceReport, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, conversationActivityPreviewSchema, conversationAutoArchiveSchema, conversationAuxiliaryCostsSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationWatchSchema, conversationWatchesReportSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isEmptyUserInputAnswer, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, normalizeUserInputAnswer, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pinConversationBodySchema, pinConversationResponseSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, resolveMessageCards, reviewItemActionSchema, reviewItemCountSchema, reviewItemListSchema, reviewItemSchema, reviewItemWaitingConversationsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, serviceAccountListSchema, serviceAccountParamsSchema, serviceAccountSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, userCustomizationSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
1
+ import { $ as automationExecutionSchema, $n as SteerConversationPendingMessagesBody, $r as conversationTurnFailureReasonSchema, $t as LocationParams, A as StatReport, Ai as InputImage, An as pinConversationResponseSchema, Ar as ConversationTurnFailureReason, At as PersonalTokenMetadata, B as AutomationListQuery, Bn as conversationStatsReportSchema, Br as conversationEventPageSchema, Bt as serviceAccountSchema, C as pluginPackageContentItemReportSchema, Ci as UserInputAnswer, Cn as ConversationChildAgent, Cr as ConversationReportEventData, Ct as workspaceBodySchema, D as runtimeInfoReportSchema, Di as isEmptyUserInputAnswer, Dn as PinConversationBody, Dr as ConversationSummaryReport, Dt as workspaceSchema, E as pluginsSchema, Ei as buttonUserInputField, En as conversationChildAgentsReportSchema, Er as ConversationSourceTask, Et as workspaceRepoSchema, F as AutomationExecution, Fn as ConversationMetricDay, Fr as conversationActivityPreviewSchema, Ft as personalTokenParamsSchema, G as AutomationSummary, Gn as archiveConversationResponseSchema, Gr as conversationReportEventDataSchema, Gt as disconnectConnectionResponseSchema, H as AutomationRunList, Hn as ArchiveConversationResponse, Hr as conversationFeedQuerySchema, Ht as connectionListSchema, I as AutomationExecutionDay, In as ConversationStatsItem, Ir as conversationAuxiliaryCostsSchema, It as revokePersonalTokenResponseSchema, J as ListedAutomationVersion, Jn as CancelConversationPendingMessagesBody, Jr as createConversationBodySchema, Jt as apiErrorSchema, K as AutomationUpdate, Kn as archiveDoneConversationsResponseSchema, Kr as conversationReportEventSchema, Kt as startConnectionResponseSchema, L as AutomationExecutionList, Ln as ConversationStatsReport, Lr as conversationDetailQuerySchema, Lt as disconnectServiceAccountResponseSchema, M as statSchema, Mi as MAX_INPUT_IMAGE_BYTES, Mn as conversationReadPositionSchema, Mr as CreateConversationBody, Mt as createdPersonalTokenSchema, N as statsReportSchema, Ni as MessageAttachment, Nn as StopConversationTurnResponse, Nr as CreateConversationMessageBody, Nt as personalTokenListSchema, O as skillReportSchema, Oi as normalizeUserInputAnswer, On as PinConversationResponse, Or as ConversationSurface, Ot as USER_CUSTOMIZATION_MAX_CHARS, P as AutomationEdit, Pi as INPUT_IMAGE_TYPES, Pn as stopConversationTurnResponseSchema, Pr as acceptedConversationMessageSchema, Pt as personalTokenMetadataSchema, Q as automationExecutionListSchema, Qn as ConversationPendingMessagesReport, Qr as conversationTurnFailureCodeSchema, Qt as LocationDirectoryReport, R as AutomationExecutionStatusDay, Rn as GuardianMetricDay, Rr as conversationDetailReportSchema, Rt as serviceAccountListSchema, S as pluginOperationalReportSchema, Si as USER_INPUT_NOTE, Sn as conversationWatchesReportSchema, Sr as ConversationReportEvent, St as deleteWorkspaceResponseSchema, T as pluginSchema, Ti as UserInputRequest, Tn as conversationChildAgentSchema, Tr as ConversationReportStatus, Tt as workspaceParamsSchema, U as AutomationRunWindows, Un as ConversationAutoArchive, Ur as conversationFeedSchema, Ut as connectionParamsSchema, V as AutomationRun, Vn as ArchiveConversationBody, Vr as conversationEventsQuerySchema, Vt as startServiceAccountSignInResponseSchema, W as AutomationScheduleIntent, Wn as archiveConversationBodySchema, Wr as conversationParamsSchema, Wt as connectionSchema, X as automationEditSchema, Xn as ConversationPendingMessage, Xr as forkConversationBodySchema, Xt as LocationActorSummaryReport, Y as automationEditErrorSchema, Yn as CancelConversationPendingMessagesResponse, Yr as createConversationMessageBodySchema, Yt as LocationActivityDayReport, Z as automationEventCatalogSchema, Zn as ConversationPendingMessageDelivery, Zr as forkConversationResponseSchema, Zt as LocationDetailReport, _ as RuntimeInfoReport, _i as dailyConversationActivitySchema, _n as personParamsSchema, _r as ConversationEventHistory, _t as scheduledAutomationSummarySchema, a as reviewItemCountSchema, ai as CodeRepositorySummary, an as ActorActivityDayReport, ar as conversationPendingMessageSchema, at as automationRunListSchema, b as healthReportSchema, bi as resolveMessageCards, bn as ConversationWatchesReport, br as ConversationModelUsage, bt as WorkspaceReport, c as reviewItemWaitingConversationsSchema, ci as codeChangeSummarySchema, cn as ActorProfileReport, cr as steerConversationPendingMessagesResponseSchema, ct as automationScheduleIntentSchema, d as Plugin, di as codeRepositoryParamsSchema, dn as ActorWindowMetrics, dr as CONVERSATION_DETAIL_VERSION_HEADER, dt as automationUpdateSchema, ei as CodeActivityDay, en as LocationSummaryReport, er as SteerConversationPendingMessagesResponse, et as automationExecutionStatusDaySchema, f as PluginOperationalReport, fi as codeRepositoryReportSchema, fn as PeopleActivityDayReport, fr as ConversationActivityPreview, ft as automationVersionActivateSchema, g as Plugins, gi as DailyConversationActivity, gn as actorProfileReportSchema, gr as ConversationDetailReport, gt as eventAutomationSummarySchema, h as PluginPackageContentReport, hi as conversationChildAgentTotalsSchema, hn as actorDirectoryReportSchema, hr as ConversationCost, ht as automationVersionSchema, i as reviewItemActionSchema, ii as CodeRepositoryReport, in as locationParamsSchema, ir as conversationPendingMessageDeliverySchema, it as automationParamsSchema, j as StatsReport, ji as MAX_INPUT_IMAGES, jn as ConversationReadPosition, jr as ConversationUsage, jt as createPersonalTokenBodySchema, k as skillReportsSchema, ki as webMessageId, kn as pinConversationBodySchema, kr as ConversationTurnFailureCode, kt as userCustomizationSchema, l as ReviewItemChangeRecord, li as codeOverviewReportSchema, ln as ActorSummaryReport, lr as AcceptedConversationMessage, lt as automationSchedulePreviewSchema, m as PluginPackageContentItemReport, mi as ConversationChildAgentTotals, mn as PersonalSpendReport, mr as ConversationAuxiliaryCosts, mt as automationVersionParamsSchema, n as ReviewItemActionBody, ni as CodeOverviewReport, nn as locationDetailReportSchema, nr as cancelConversationPendingMessagesResponseSchema, nt as automationListQuerySchema, o as reviewItemListSchema, oi as codeActivityDaySchema, on as ActorDirectoryReport, or as conversationPendingMessagesReportSchema, ot as automationRunSchema, p as PluginOperationalReportFeed, pi as codeRepositorySummarySchema, pn as PersonParams, pr as ConversationAgentTreeNode, pt as automationVersionListSchema, q as AutomationVersionList, qn as conversationAutoArchiveSchema, qr as conversationSummaryReportSchema, qt as ApiError, r as ReviewItemPayload, ri as CodePersonReport, rn as locationDirectoryReportSchema, rr as conversationPendingAuthorizationSchema, rt as automationListSchema, s as reviewItemSchema, si as codeChangeSummaryReportSchema, sn as ActorDirectoryWindows, sr as steerConversationPendingMessagesBodySchema, st as automationRunWindowsSchema, t as OwnedObjectAnnotation, ti as CodeChangeSummaryReport, tn as locationActivityDayReportSchema, tr as cancelConversationPendingMessagesBodySchema, tt as automationExecutionStatusSchema, u as HealthReport, ui as codePersonReportSchema, un as ActorTotalsReport, ur as ActorIdentity, ut as automationSummarySchema, v as SkillReport, vi as MessageCard, vn as personalSpendReportSchema, vr as ConversationEventPage, vt as BaselineSnapshotReport, w as pluginPackageContentReportSchema, wi as UserInputField, wn as ConversationChildAgentsReport, wr as ConversationReportMessageEvent, wt as workspaceListSchema, x as pluginOperationalReportFeedSchema, xi as AutomationCard, xn as conversationWatchSchema, xr as ConversationParams, xt as baselineSnapshotSchema, y as SkillReports, yi as messageCardText, yn as ConversationWatch, yr as ConversationFeed, yt as WorkspaceListReport, z as AutomationList, zn as GuardianStats, zr as conversationEventHistorySchema, zt as serviceAccountParamsSchema } from "../schema-Tr484cCC.js";
2
+ export { 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 AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationUpdate, type AutomationVersionList, type BaselineSnapshotReport, CONVERSATION_DETAIL_VERSION_HEADER, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAgentTreeNode, type ConversationAutoArchive, type ConversationAuxiliaryCosts, type ConversationChildAgent, type ConversationChildAgentTotals, type ConversationChildAgentsReport, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, 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 ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type ConversationWatch, type ConversationWatchesReport, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, INPUT_IMAGE_TYPES, type InputImage, type ListedAutomationVersion, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, type MessageCard, 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 ReviewItemActionBody, type ReviewItemChangeRecord, type ReviewItemPayload, type RuntimeInfoReport, 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 WorkspaceListReport, type WorkspaceReport, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, conversationActivityPreviewSchema, conversationAutoArchiveSchema, conversationAuxiliaryCostsSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationWatchSchema, conversationWatchesReportSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isEmptyUserInputAnswer, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, normalizeUserInputAnswer, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pinConversationBodySchema, pinConversationResponseSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, resolveMessageCards, reviewItemActionSchema, reviewItemCountSchema, reviewItemListSchema, reviewItemSchema, reviewItemWaitingConversationsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, serviceAccountListSchema, serviceAccountParamsSchema, serviceAccountSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, userCustomizationSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
@@ -1,7 +1,7 @@
1
- import { c as conversationTurnFailureReasonSchema, s as conversationTurnFailureCodeSchema, t as INPUT_IMAGE_TYPES } from "../media-DstkkoNP.js";
2
- import { A as forkConversationResponseSchema, D as createConversationBodySchema, H as MAX_INPUT_IMAGES, M as steerConversationPendingMessagesResponseSchema, N as conversationChildAgentTotalsSchema, O as createConversationMessageBodySchema, P as conversationReadPositionSchema, R as messageCardText, U as MAX_INPUT_IMAGE_BYTES, V as resolveMessageCards, _ as conversationPendingMessageDeliverySchema, a as conversationActivityPreviewSchema, b as conversationReportEventDataSchema, c as conversationDetailQuerySchema, d as conversationEventPageSchema, f as conversationEventsQuerySchema, g as conversationPendingAuthorizationSchema, h as conversationParamsSchema, i as cancelConversationPendingMessagesResponseSchema, j as steerConversationPendingMessagesBodySchema, k as forkConversationBodySchema, l as conversationDetailReportSchema, m as conversationFeedSchema, p as conversationFeedQuerySchema, r as cancelConversationPendingMessagesBodySchema, s as conversationAuxiliaryCostsSchema, t as acceptedConversationMessageSchema, u as conversationEventHistorySchema, v as conversationPendingMessageSchema, w as conversationSummaryReportSchema, x as conversationReportEventSchema, y as conversationPendingMessagesReportSchema } from "../conversation-SsASlWL7.js";
1
+ import { c as conversationTurnFailureReasonSchema, s as conversationTurnFailureCodeSchema, t as INPUT_IMAGE_TYPES } from "../media-DTAA8Qs_.js";
2
+ import { C as createConversationMessageBodySchema, D as conversationReadPositionSchema, E as conversationChildAgentTotalsSchema, F as MAX_INPUT_IMAGES, I as MAX_INPUT_IMAGE_BYTES, P as resolveMessageCards, S as createConversationBodySchema, T as forkConversationResponseSchema, c as conversationDetailReportSchema, d as conversationEventsQuerySchema, f as conversationFeedQuerySchema, g as conversationReportEventSchema, h as conversationReportEventDataSchema, i as conversationActivityPreviewSchema, j as messageCardText, l as conversationEventHistorySchema, m as conversationParamsSchema, n as acceptedConversationMessageSchema, o as conversationAuxiliaryCostsSchema, p as conversationFeedSchema, s as conversationDetailQuerySchema, t as CONVERSATION_DETAIL_VERSION_HEADER, u as conversationEventPageSchema, w as forkConversationBodySchema, y as conversationSummaryReportSchema } from "../conversation-CZfyQvdm.js";
3
3
  import { S as userCustomizationSchema, _ as isEmptyUserInputAnswer, b as webMessageId, h as buttonUserInputField, m as USER_INPUT_NOTE, v as normalizeUserInputAnswer, x as USER_CUSTOMIZATION_MAX_CHARS } from "../reporting-window-DgHgwQB3.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-Cql9h2vO.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-DphoTRYl.js";
5
5
  import { a as pluginPackageContentItemReportSchema, c as pluginsSchema, d as skillReportsSchema, i as pluginOperationalReportSchema, l as runtimeInfoReportSchema, n as healthReportSchema, o as pluginPackageContentReportSchema, r as pluginOperationalReportFeedSchema, s as pluginSchema, t as apiErrorSchema, u as skillReportSchema } from "../common-Eu6sx09c.js";
6
- import { $ as codeRepositorySummarySchema, B as dailyConversationActivitySchema, C as createdPersonalTokenSchema, D as revokePersonalTokenResponseSchema, E as personalTokenParamsSchema, F as locationDirectoryReportSchema, G as startConnectionResponseSchema, H as connectionParamsSchema, I as locationParamsSchema, J as codeChangeSummarySchema, K as codeActivityDaySchema, M as personalSpendReportSchema, N as locationActivityDayReportSchema, O as actorDirectoryReportSchema, P as locationDetailReportSchema, Q as codeRepositoryReportSchema, S as createPersonalTokenBodySchema, T as personalTokenMetadataSchema, U as connectionSchema, V as connectionListSchema, W as disconnectConnectionResponseSchema, X as codePersonReportSchema, Y as codeOverviewReportSchema, Z as codeRepositoryParamsSchema, _ as disconnectServiceAccountResponseSchema, a as workspaceBodySchema, at as conversationStatsReportSchema, b as serviceAccountSchema, c as workspaceRepoSchema, ct as archiveDoneConversationsResponseSchema, d as reviewItemCountSchema, dt as pinConversationResponseSchema, et as conversationWatchSchema, g as reviewItemWaitingConversationsSchema, h as reviewItemSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, lt as conversationAutoArchiveSchema, n as statsReportSchema, nt as conversationChildAgentSchema, o as workspaceListSchema, ot as archiveConversationBodySchema, p as reviewItemListSchema, q as codeChangeSummaryReportSchema, r as baselineSnapshotSchema, rt as conversationChildAgentsReportSchema, s as workspaceParamsSchema, st as archiveConversationResponseSchema, t as statSchema, tt as conversationWatchesReportSchema, u as reviewItemActionSchema, ut as pinConversationBodySchema, v as serviceAccountListSchema, w as personalTokenListSchema, x as startServiceAccountSignInResponseSchema, y as serviceAccountParamsSchema } from "../schema-Dzi3lkdP.js";
7
- export { INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, conversationActivityPreviewSchema, conversationAutoArchiveSchema, conversationAuxiliaryCostsSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationWatchSchema, conversationWatchesReportSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isEmptyUserInputAnswer, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, normalizeUserInputAnswer, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pinConversationBodySchema, pinConversationResponseSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, resolveMessageCards, reviewItemActionSchema, reviewItemCountSchema, reviewItemListSchema, reviewItemSchema, reviewItemWaitingConversationsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, serviceAccountListSchema, serviceAccountParamsSchema, serviceAccountSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, userCustomizationSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
6
+ import { $ as codeRepositorySummarySchema, B as dailyConversationActivitySchema, C as createdPersonalTokenSchema, D as revokePersonalTokenResponseSchema, E as personalTokenParamsSchema, F as locationDirectoryReportSchema, G as startConnectionResponseSchema, H as connectionParamsSchema, I as locationParamsSchema, J as codeChangeSummarySchema, K as codeActivityDaySchema, M as personalSpendReportSchema, N as locationActivityDayReportSchema, O as actorDirectoryReportSchema, P as locationDetailReportSchema, Q as codeRepositoryReportSchema, S as createPersonalTokenBodySchema, T as personalTokenMetadataSchema, U as connectionSchema, V as connectionListSchema, W as disconnectConnectionResponseSchema, X as codePersonReportSchema, Y as codeOverviewReportSchema, Z as codeRepositoryParamsSchema, _ as disconnectServiceAccountResponseSchema, _t as conversationAutoArchiveSchema, a as workspaceBodySchema, at as conversationStatsReportSchema, b as serviceAccountSchema, c as workspaceRepoSchema, ct as conversationPendingAuthorizationSchema, d as reviewItemCountSchema, dt as conversationPendingMessagesReportSchema, et as conversationWatchSchema, ft as steerConversationPendingMessagesBodySchema, g as reviewItemWaitingConversationsSchema, gt as archiveDoneConversationsResponseSchema, h as reviewItemSchema, ht as archiveConversationResponseSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, lt as conversationPendingMessageDeliverySchema, mt as archiveConversationBodySchema, n as statsReportSchema, nt as conversationChildAgentSchema, o as workspaceListSchema, ot as cancelConversationPendingMessagesBodySchema, p as reviewItemListSchema, pt as steerConversationPendingMessagesResponseSchema, q as codeChangeSummaryReportSchema, r as baselineSnapshotSchema, rt as conversationChildAgentsReportSchema, s as workspaceParamsSchema, st as cancelConversationPendingMessagesResponseSchema, t as statSchema, tt as conversationWatchesReportSchema, u as reviewItemActionSchema, ut as conversationPendingMessageSchema, v as serviceAccountListSchema, vt as pinConversationBodySchema, w as personalTokenListSchema, x as startServiceAccountSignInResponseSchema, y as serviceAccountParamsSchema, yt as pinConversationResponseSchema } from "../schema-B5fpczDw.js";
7
+ export { CONVERSATION_DETAIL_VERSION_HEADER, INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, conversationActivityPreviewSchema, conversationAutoArchiveSchema, conversationAuxiliaryCostsSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationWatchSchema, conversationWatchesReportSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isEmptyUserInputAnswer, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, normalizeUserInputAnswer, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pinConversationBodySchema, pinConversationResponseSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, resolveMessageCards, reviewItemActionSchema, reviewItemCountSchema, reviewItemListSchema, reviewItemSchema, reviewItemWaitingConversationsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, serviceAccountListSchema, serviceAccountParamsSchema, serviceAccountSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, userCustomizationSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
package/dist/api.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import { n as ConversationWorkQueue } from "./queue-C37RbDVc.js";
2
- import "./db-DEiwO5Sh.js";
2
+ import "./db-BjLzDJCt.js";
3
3
  import { Hono } from "hono";
4
4
  import { z } from "zod";
5
5
  import { User } from "@sentry/junior-plugin-api";
package/dist/api.js CHANGED
@@ -1,28 +1,28 @@
1
- import { Bn as getPlugins, Dn as createUserTokenStore, Ha as readConversationViewerMarks, Jn as countReviewItemsNeedingUser, Ka as readConversationEventPage, Ma as createPluginLogger, Na as readConversationAccessFromSql, Qr as getWorkspace, Tn as isExperimentalFeatureEnabled, Xr as createWorkspace, Zr as deleteWorkspace, ar as canActOnReviewItem, ci as create, co as createPluginCache, cr as isOnlyAssignee, ei as listWorkspaces, er as listWaitingConversations, ga as workspaceRepoCheckoutPath, kn as webActorUserIds, li as hash, ni as updateWorkspace, pa as SANDBOX_RUNTIME, pr as reviewItemReaderForUser, ri as WorkspaceValidationError, so as lookupSlackUser, ti as listWorkspacesByRepository, tr as searchReviewItems } from "./projection-7EFIqzuj.js";
2
- import { m as escapeXml } from "./client-DZ8HTnYH.js";
3
- import { m as logInfo, p as logException } from "./logging-cI3T1dNc.js";
4
- import { t as JUNIOR_VERSION } from "./version-DJTk0ZCE.js";
5
- import { C as getSqlExecutor, D as loadConversationSlackTenantIds, Q as resolveRootConversationId, S as getDb, c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarImage, t as findUserByEmail, x as getConversationStore } from "./viewer-WY0RYE4E.js";
6
- import { c as juniorIdentities, d as juniorDestinations, l as juniorUsers, s as juniorConversations } from "./agent-invocations-Crs3XHhg.js";
7
- import { C as juniorCodeChanges, b as juniorConversationEvents, h as juniorConversationParticipants, w as juniorCodeRepositories, x as juniorApiTokens, y as juniorConversationMetrics } from "./executor-hPfFTH0C.js";
8
- import { t as INPUT_IMAGE_TYPES } from "./media-DstkkoNP.js";
9
- import { n as pluginCatalogRuntime } from "./catalog-runtime-DE-F4Awo.js";
10
- import { $ as readViewerAutomations, Ct as listChildAgents, Et as conversationSubtreeColumns, G as readViewerAutomationEdit, H as activateViewerAutomationVersion, K as updateViewerAutomation, Mt as saveUserCustomization, Q as readViewerAutomationVersions, S as createSlackReviewItemShow, Tt as conversationSubtree, U as changeViewerAutomationLifecycle, W as deleteViewerTask, X as readViewerAutomationRuns, Y as readViewerAutomationExecutions, Z as readViewerAutomationSummary, et as AutomationEditError, ft as webActorFromUser, gt as readLiveAttachment, h as readStats, jt as readUserCustomization, lt as createAndEnqueueConversation, mt as decodeInputImages, nt as listOwnedWatches, ot as acceptsWebMessages, q as ViewerTaskNotFoundError, st as appendAndEnqueueWebMessage } from "./agent-runner-BsYAbniN.js";
11
- import { r as getStateAdapter } from "./adapter-BtfBHVM5.js";
12
- import { A as forkConversationResponseSchema, D as createConversationBodySchema, M as steerConversationPendingMessagesResponseSchema, O as createConversationMessageBodySchema, P as conversationReadPositionSchema, W as readMessageAttachments, c as conversationDetailQuerySchema, d as conversationEventPageSchema, f as conversationEventsQuerySchema, h as conversationParamsSchema, i as cancelConversationPendingMessagesResponseSchema, j as steerConversationPendingMessagesBodySchema, k as forkConversationBodySchema, l as conversationDetailReportSchema, m as conversationFeedSchema, o as conversationAttachmentParamsSchema, p as conversationFeedQuerySchema, r as cancelConversationPendingMessagesBodySchema, t as acceptedConversationMessageSchema, y as conversationPendingMessagesReportSchema } from "./conversation-SsASlWL7.js";
13
- import { d as getEventCatalog } from "./session-stop-0juF_BP0.js";
1
+ import { $r as updateWorkspace, Ba as readConversationViewerMarks, En as webActorUserIds, Gn as countReviewItemsNeedingUser, Jr as deleteWorkspace, Ln as getPlugins, Qn as searchReviewItems, Qr as listWorkspacesByRepository, Sn as isExperimentalFeatureEnabled, Yr as getWorkspace, Zn as listWaitingConversations, Zr as listWorkspaces, ai as create, ar as isOnlyAssignee, co as createPluginCache, ei as WorkspaceValidationError, ja as readConversationAccessFromSql, ka as createPluginLogger, nr as canActOnReviewItem, oi as hash, pa as workspaceRepoCheckoutPath, qr as createWorkspace, so as lookupSlackUser, ua as SANDBOX_RUNTIME, ur as reviewItemReaderForUser, wn as createUserTokenStore } from "./projection-BTge9wrH.js";
2
+ import { m as escapeXml } from "./client-v_OVYuHZ.js";
3
+ import { m as logInfo, p as logException } from "./logging-dFaXvBRK.js";
4
+ import { t as JUNIOR_VERSION } from "./version-C7HejFP2.js";
5
+ import { A as loadConversationSlackTenantIds, C as getSqlExecutor, S as getDb, c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarImage, t as findUserByEmail, tt as resolveRootConversationId, x as getConversationStore } from "./viewer-DLXajQZE.js";
6
+ import { c as juniorIdentities, d as juniorDestinations, l as juniorUsers, s as juniorConversations } from "./agent-invocations-D7c4BQGc.js";
7
+ import { C as juniorCodeChanges, b as juniorConversationEvents, h as juniorConversationParticipants, w as juniorCodeRepositories, x as juniorApiTokens, y as juniorConversationMetrics } from "./executor-CJfsD0VX.js";
8
+ import { t as INPUT_IMAGE_TYPES } from "./media-DTAA8Qs_.js";
9
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-BoOb5oUv.js";
10
+ import { $ as readViewerAutomations, Ct as listChildAgents, Et as conversationSubtreeColumns, G as readViewerAutomationEdit, H as activateViewerAutomationVersion, K as updateViewerAutomation, Mt as saveUserCustomization, Q as readViewerAutomationVersions, S as createSlackReviewItemShow, Tt as conversationSubtree, U as changeViewerAutomationLifecycle, W as deleteViewerTask, X as readViewerAutomationRuns, Y as readViewerAutomationExecutions, Z as readViewerAutomationSummary, et as AutomationEditError, ft as webActorFromUser, gt as readLiveAttachment, h as readStats, jt as readUserCustomization, lt as createAndEnqueueConversation, mt as decodeInputImages, nt as listOwnedWatches, ot as acceptsWebMessages, q as ViewerTaskNotFoundError, st as appendAndEnqueueWebMessage } from "./agent-runner-DE-43MPb.js";
11
+ import { r as getStateAdapter } from "./adapter-BXosqTMx.js";
12
+ import { C as createConversationMessageBodySchema, D as conversationReadPositionSchema, R as readMessageAttachments, S as createConversationBodySchema, T as forkConversationResponseSchema, a as conversationAttachmentParamsSchema, c as conversationDetailReportSchema, d as conversationEventsQuerySchema, f as conversationFeedQuerySchema, m as conversationParamsSchema, n as acceptedConversationMessageSchema, p as conversationFeedSchema, s as conversationDetailQuerySchema, t as CONVERSATION_DETAIL_VERSION_HEADER, u as conversationEventPageSchema, w as forkConversationBodySchema } from "./conversation-CZfyQvdm.js";
13
+ import { d as getEventCatalog } from "./session-stop-BsS4qFS2.js";
14
14
  import { S as userCustomizationSchema, a as fillUtcSixHours, b as webMessageId, c as trailingUtcDayWindow, d as utcDayKey, f as utcHourKey, i as fillUtcHours, l as trailingUtcHourWindow, n as HOUR_MS$1, o as startOfUtcHour, r as fillUtcDays, s as sumUtcHoursIntoSixHours, t as DAY_MS$1, u as trailingUtcSixHourWindow } from "./reporting-window-DgHgwQB3.js";
15
- import { s as getSandboxResources, t as getCachedSnapshot } from "./resolve-CuiEY_2u.js";
16
- import { l as getVercelConversationWorkQueue } from "./background-compaction-queue-hh18yCeU.js";
17
- import { E as steerWebPendingMessages, a as cancelHumanFacingPendingMessages, g as getConversationWorkState, h as getConversation } from "./store-DKs1WwdB.js";
18
- import { F as conversationRangeColumns, N as conversationActiveDaysColumn, P as conversationAggregateColumns, ct as AutomationConflictError, ft as automationEventCatalog, j as readAutomationTitlesByConversationId } from "./turn-session-routing-jnLOfBHJ.js";
19
- import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-DIyz_9Uh.js";
20
- import { N as ScheduleIntentError, P as compileScheduleIntent, _ 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-Cql9h2vO.js";
15
+ import { s as getSandboxResources, t as getCachedSnapshot } from "./resolve-B_7h2cXx.js";
16
+ import { l as getVercelConversationWorkQueue } from "./background-compaction-queue-CAL4A2y7.js";
17
+ import { E as steerWebPendingMessages, a as cancelHumanFacingPendingMessages, g as getConversationWorkState, h as getConversation } from "./store-CGJZTEVz.js";
18
+ import { F as conversationRangeColumns, N as conversationActiveDaysColumn, P as conversationAggregateColumns, ct as AutomationConflictError, ft as automationEventCatalog, j as readAutomationTitlesByConversationId } from "./turn-session-routing-DnSaaEpn.js";
19
+ import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-BkEv20zf.js";
20
+ import { N as ScheduleIntentError, P as compileScheduleIntent, _ 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-DphoTRYl.js";
21
21
  import { c as pluginsSchema, d as skillReportsSchema, l as runtimeInfoReportSchema, n as healthReportSchema, r as pluginOperationalReportFeedSchema, t as apiErrorSchema } from "./common-Eu6sx09c.js";
22
- import { G as actOnReviewItem, K as closeReviewItemsAnsweredByReply, N as clearSlackPendingReactions, O as isAllowedSignInEmail, Q as readUserAutoArchiveSettings, U as parseContent, W as ReviewItemActionError, X as archiveViewerDoneConversations, Y as DEFAULT_AUTO_ARCHIVE_SETTINGS, Z as readConversationAutoArchive, _ as resolveMentions, a as readConversationAgentTree, at as getAttachmentStorage, b as encodeConversationCursor, c as readConversationForks, d as readConversationAuxiliaryCostsFromSql, et as setConversationAutoArchive, f as childAgentTotalsReport, g as attachConversationMentions, h as conversationSummaryFromStoredConversation, i as readConversationReadPosition, it as throwApiError, l as readConversationFeed, lt as readHealthReport, m as conversationEventHistory, n as readConversationDetail, nt as emptyResponse, o as forkConversationForViewer, p as readConversationTreeMetricsFromSql, q as readReviewItemForUser, r as markConversationRead, rt as jsonResponse, s as keepQuickQuestionForViewer, t as stopConversationTurnForViewer, tt as updateUserAutoArchiveSettings, u as readConversationRecordFromSql, v as readFirstHumanMessageTexts, w as getProductionSlackAdapter, x as archiveConversation, y as decodeConversationCursor } from "./stop-6FVG1c-r.js";
23
- import { f as legacyWebMailboxMetadataSchema } from "./result-DrcUtFaD.js";
24
- import { a as startConnection, l as getWebAuthorization, n as isConnectableProvider, r as listConnections, t as disconnectConnection, u as htmlCallbackResponse } from "./connections-Do24CGP5.js";
25
- import { A as avatarParamsSchema, C as createdPersonalTokenSchema, D as revokePersonalTokenResponseSchema, E as personalTokenParamsSchema, F as locationDirectoryReportSchema, G as startConnectionResponseSchema, H as connectionParamsSchema, I as locationParamsSchema, L as activityDays$1, M as personalSpendReportSchema, O as actorDirectoryReportSchema, P as locationDetailReportSchema, Q as codeRepositoryReportSchema, R as activityHours$1, S as createPersonalTokenBodySchema, V as connectionListSchema, W as disconnectConnectionResponseSchema, X as codePersonReportSchema, Y as codeOverviewReportSchema, Z as codeRepositoryParamsSchema, _ as disconnectServiceAccountResponseSchema, a as workspaceBodySchema, at as conversationStatsReportSchema, ct as archiveDoneConversationsResponseSchema, d as reviewItemCountSchema, dt as pinConversationResponseSchema, f as reviewItemListQuerySchema, g as reviewItemWaitingConversationsSchema, h as reviewItemSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, lt as conversationAutoArchiveSchema, m as reviewItemParamsSchema, n as statsReportSchema, o as workspaceListSchema, ot as archiveConversationBodySchema, p as reviewItemListSchema, rt as conversationChildAgentsReportSchema, s as workspaceParamsSchema, st as archiveConversationResponseSchema, tt as conversationWatchesReportSchema, u as reviewItemActionSchema, ut as pinConversationBodySchema, v as serviceAccountListSchema, w as personalTokenListSchema, x as startServiceAccountSignInResponseSchema, y as serviceAccountParamsSchema, z as activitySixHours$1 } from "./schema-Dzi3lkdP.js";
22
+ import { $ as setConversationAutoArchive, C as getProductionSlackAdapter, D as isAllowedSignInEmail, G as closeReviewItemsAnsweredByReply, H as parseContent, J as DEFAULT_AUTO_ARCHIVE_SETTINGS, K as readReviewItemForUser, M as clearSlackPendingReactions, U as ReviewItemActionError, W as actOnReviewItem, X as readConversationAutoArchive, Y as archiveViewerDoneConversations, Z as readUserAutoArchiveSettings, _ as readFirstHumanMessageTexts, a as readConversationAgentTree, b as archiveConversation, c as readConversationForks, ct as readHealthReport, et as updateUserAutoArchiveSettings, f as readConversationAuxiliaryCostsFromSql, g as resolveMentions, h as conversationSummaryFromStoredConversation, i as readConversationReadPosition, it as getAttachmentStorage, l as readConversationEvents, m as readConversationTreeMetricsFromSql, n as readConversationDetail, nt as jsonResponse, o as forkConversationForViewer, p as childAgentTotalsReport, r as markConversationRead, rt as throwApiError, s as keepQuickQuestionForViewer, t as stopConversationTurnForViewer, tt as emptyResponse, u as readConversationFeed } from "./stop-D5R82Wla.js";
23
+ import { f as legacyWebMailboxMetadataSchema } from "./result-5LBEfnLX.js";
24
+ import { a as startConnection, l as getWebAuthorization, n as isConnectableProvider, r as listConnections, t as disconnectConnection, u as htmlCallbackResponse } from "./connections-RC4NXAx8.js";
25
+ import { A as avatarParamsSchema, C as createdPersonalTokenSchema, D as revokePersonalTokenResponseSchema, E as personalTokenParamsSchema, F as locationDirectoryReportSchema, G as startConnectionResponseSchema, H as connectionParamsSchema, I as locationParamsSchema, L as activityDays$1, M as personalSpendReportSchema, O as actorDirectoryReportSchema, P as locationDetailReportSchema, Q as codeRepositoryReportSchema, R as activityHours$1, S as createPersonalTokenBodySchema, V as connectionListSchema, W as disconnectConnectionResponseSchema, X as codePersonReportSchema, Y as codeOverviewReportSchema, Z as codeRepositoryParamsSchema, _ as disconnectServiceAccountResponseSchema, _t as conversationAutoArchiveSchema, a as workspaceBodySchema, at as conversationStatsReportSchema, d as reviewItemCountSchema, dt as conversationPendingMessagesReportSchema, f as reviewItemListQuerySchema, ft as steerConversationPendingMessagesBodySchema, g as reviewItemWaitingConversationsSchema, gt as archiveDoneConversationsResponseSchema, h as reviewItemSchema, ht as archiveConversationResponseSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, m as reviewItemParamsSchema, mt as archiveConversationBodySchema, n as statsReportSchema, o as workspaceListSchema, ot as cancelConversationPendingMessagesBodySchema, p as reviewItemListSchema, pt as steerConversationPendingMessagesResponseSchema, rt as conversationChildAgentsReportSchema, s as workspaceParamsSchema, st as cancelConversationPendingMessagesResponseSchema, tt as conversationWatchesReportSchema, u as reviewItemActionSchema, v as serviceAccountListSchema, vt as pinConversationBodySchema, w as personalTokenListSchema, x as startServiceAccountSignInResponseSchema, y as serviceAccountParamsSchema, yt as pinConversationResponseSchema, z as activitySixHours$1 } from "./schema-B5fpczDw.js";
26
26
  import { Hono } from "hono";
27
27
  import path from "node:path";
28
28
  import { createHash, randomBytes, randomUUID } from "node:crypto";
@@ -301,43 +301,7 @@ async function readConversationDetailEtag(conversationId, options) {
301
301
  subtree,
302
302
  viewerMarks: viewerMarks ?? null
303
303
  });
304
- return `W/"${createHash("sha256").update(basis).digest("hex")}"`;
305
- }
306
- /** Report whether an `If-None-Match` header names the current ETag. */
307
- function etagMatches(header, etag) {
308
- const opaque = etag.replace(/^W\//, "");
309
- return Boolean(header?.split(",").some((value) => value.trim().replace(/^W\//, "") === opaque));
310
- }
311
- // src/api/conversations/event-list.ts
312
- /** Read one bounded page of reporting events before a signed cursor. */
313
- async function readConversationEvents(conversationId, beforeValue, options = {}) {
314
- const record = await readConversationRecordFromSql(conversationId);
315
- if (!record) return void 0;
316
- const before = decodeConversationCursor({
317
- conversationId,
318
- cursor: beforeValue
319
- });
320
- if (!before) throwApiError(400, "Invalid conversation cursor.");
321
- const canExposePayload = (await readConversationAccessFromSql(getDb(), [conversationId], options.viewer)).get(conversationId)?.canViewPrivateContent ?? false;
322
- const transcriptPurgedAtMs = record.conversation.transcriptPurgedAtMs;
323
- const page = transcriptPurgedAtMs === void 0 ? await readConversationEventPage(getSqlExecutor(), {
324
- beforeSeq: before.seq,
325
- canExposePayload,
326
- conversationId,
327
- limit: options.limit ?? 500
328
- }) : { events: [] };
329
- return conversationEventPageSchema.parse({
330
- events: (await attachConversationMentions(getSqlExecutor(), conversationId, { events: page.events })).events,
331
- eventHistory: conversationEventHistory({
332
- canExposePayload,
333
- ...transcriptPurgedAtMs === void 0 ? void 0 : { transcriptPurgedAtMs }
334
- }),
335
- ...page.previousSeq === void 0 ? void 0 : { previousCursor: encodeConversationCursor({
336
- conversationId,
337
- seq: page.previousSeq
338
- }) },
339
- generatedAt: (/* @__PURE__ */ new Date()).toISOString()
340
- });
304
+ return createHash("sha256").update(basis).digest("hex");
341
305
  }
342
306
  // src/api/conversations/cancel-pending-messages.ts
343
307
  /** Cancel accepted human-facing mailbox rows for one conversation participant. */
@@ -1009,9 +973,9 @@ function createConversationRoutes(options) {
1009
973
  app.patch("/:conversationId/auto-archive", requireViewer, validateRequest("param", conversationParamsSchema, "Invalid route parameters."), validateRequest("json", conversationAutoArchiveSchema, "Invalid request body."), async (context) => jsonResponse(conversationAutoArchiveSchema, await setConversationAutoArchive(context.get("viewer"), context.req.valid("param").conversationId, context.req.valid("json").autoArchive)));
1010
974
  app.get("/:conversationId/events", validateRequest("param", conversationParamsSchema, "Invalid route parameters."), validateRequest("query", conversationEventsQuerySchema, "Invalid query parameters."), async (context) => {
1011
975
  const { conversationId } = context.req.valid("param");
1012
- const { before, limit } = context.req.valid("query");
976
+ const { limit, ...boundary } = context.req.valid("query");
1013
977
  const viewer = context.get("viewer");
1014
- const report = await readConversationEvents(conversationId, before, {
978
+ const report = await readConversationEvents(conversationId, boundary, {
1015
979
  limit,
1016
980
  ...viewer ? { viewer } : void 0
1017
981
  });
@@ -1068,22 +1032,20 @@ function createConversationRoutes(options) {
1068
1032
  limit: query.limit,
1069
1033
  ...viewer ? { viewer } : void 0
1070
1034
  });
1071
- if (etag && etagMatches(context.req.header("if-none-match"), etag)) return new Response(null, {
1035
+ const headers = etag ? {
1036
+ "cache-control": "private, no-store",
1037
+ [CONVERSATION_DETAIL_VERSION_HEADER]: etag
1038
+ } : void 0;
1039
+ if (headers && context.req.header("x-junior-detail-version") === etag) return new Response(null, {
1072
1040
  status: 304,
1073
- headers: {
1074
- "cache-control": "private, no-store",
1075
- etag
1076
- }
1041
+ headers
1077
1042
  });
1078
1043
  const report = await readConversationDetail(conversationId, {
1079
1044
  ...query,
1080
1045
  ...viewer ? { viewer } : void 0
1081
1046
  });
1082
1047
  if (!report) throwApiError(404, "Conversation not found.");
1083
- return jsonResponse(conversationDetailReportSchema, report, etag ? { headers: {
1084
- "cache-control": "private, no-store",
1085
- etag
1086
- } } : void 0);
1048
+ return jsonResponse(conversationDetailReportSchema, report, headers ? { headers } : void 0);
1087
1049
  });
1088
1050
  return app;
1089
1051
  }
@@ -2357,7 +2319,7 @@ async function readPeoplePluginReports(args) {
2357
2319
  reports: [],
2358
2320
  source: "plugins"
2359
2321
  });
2360
- const { getPluginProfileReports } = await import("./projection-7EFIqzuj.js").then((n) => n.Mn);
2322
+ const { getPluginProfileReports } = await import("./projection-BTge9wrH.js").then((n) => n.kn);
2361
2323
  return pluginOperationalReportFeedSchema.parse({
2362
2324
  generatedAt: new Date(nowMs).toISOString(),
2363
2325
  reports: await getPluginProfileReports({
@@ -3385,7 +3347,7 @@ function readDescriptionText(home) {
3385
3347
  }
3386
3348
  /** Read discovered skill names for authenticated runtime diagnostics. */
3387
3349
  async function readSkillReports() {
3388
- const { discoverSkills } = await import("./skills-CU5Is147.js").then((n) => n.o);
3350
+ const { discoverSkills } = await import("./skills-M0BA0_s6.js").then((n) => n.o);
3389
3351
  const skills = await discoverSkills();
3390
3352
  return skillReportsSchema.parse(skills.map((skill) => ({
3391
3353
  name: skill.name,
@@ -3394,7 +3356,7 @@ async function readSkillReports() {
3394
3356
  }
3395
3357
  /** Read safe configured plugin metadata for authenticated runtime diagnostics. */
3396
3358
  async function readPlugins() {
3397
- const { pluginCatalogRuntime } = await import("./catalog-runtime-DE-F4Awo.js").then((n) => n.t);
3359
+ const { pluginCatalogRuntime } = await import("./catalog-runtime-BoOb5oUv.js").then((n) => n.t);
3398
3360
  return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
3399
3361
  configKeys: plugin.manifest.configKeys ?? [],
3400
3362
  description: plugin.manifest.description,
@@ -3406,7 +3368,7 @@ async function readPlugins() {
3406
3368
  async function readRuntimeInfoReport() {
3407
3369
  const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
3408
3370
  import("./package-discovery-DJBompdd.js").then((n) => n.r),
3409
- import("./catalog-runtime-DE-F4Awo.js").then((n) => n.t),
3371
+ import("./catalog-runtime-BoOb5oUv.js").then((n) => n.t),
3410
3372
  readPlugins(),
3411
3373
  readSkillReports()
3412
3374
  ]);
@@ -3423,7 +3385,7 @@ async function readRuntimeInfoReport() {
3423
3385
  /** Read sanitized operational summaries contributed by plugins. */
3424
3386
  async function readPluginOperationalReportFeed() {
3425
3387
  const nowMs = Date.now();
3426
- const { getPluginOperationalReports } = await import("./projection-7EFIqzuj.js").then((n) => n.Mn);
3388
+ const { getPluginOperationalReports } = await import("./projection-BTge9wrH.js").then((n) => n.kn);
3427
3389
  return pluginOperationalReportFeedSchema.parse({
3428
3390
  source: "plugins",
3429
3391
  generatedAt: new Date(nowMs).toISOString(),
@@ -1,6 +1,6 @@
1
1
  import { n as ConversationWorkQueue, t as ConversationQueueMessage } from "./queue-C37RbDVc.js";
2
- import { t as ConversationStore } from "./db-DEiwO5Sh.js";
3
- import "./schema-B6N2nc6v.js";
2
+ import { t as ConversationStore } from "./db-BjLzDJCt.js";
3
+ import "./schema-Tr484cCC.js";
4
4
  import { n as JuniorPluginSet } from "./plugins-DtmjkTza.js";
5
5
  import { Hono } from "hono";
6
6
  import "@earendil-works/pi-ai/compat";
@@ -17,22 +17,9 @@ import { Client } from "@modelcontextprotocol/sdk/client";
17
17
  import "@sinclair/typebox";
18
18
  import { Message, StateAdapter } from "chat";
19
19
  import "@chat-adapter/slack";
20
- declare const TURN_REASONING_LEVELS: readonly ["none", "low", "medium", "high", "xhigh"];
21
- type TurnReasoningLevel = (typeof TURN_REASONING_LEVELS)[number];
22
- /** Runtime configuration for one named model profile. */
23
- interface ModelProfileConfig {
24
- /**
25
- * Tells models which tasks fit this profile.
26
- * Name concrete tasks. Add use and avoid cases when helpful.
27
- * Do not use model product names as the selection rule.
28
- */
29
- description?: string;
30
- modelId: string;
31
- reasoningLevel?: TurnReasoningLevel;
32
- }
33
- /** App-level profile input: a model id string or a full profile config. */
34
- type ModelProfileInput = string | ModelProfileConfig;
35
20
  interface BotModelConfig {
21
+ /** Model that runs every agent Turn. */
22
+ modelId?: string;
36
23
  /** Decision model used by the passive reply router. */
37
24
  decisionModelId?: string;
38
25
  /** Model used for embeddings. */
@@ -263,14 +250,6 @@ interface JuniorAppOptions extends BotModelConfig {
263
250
  * you are deliberately dogfooding a pre-stable surface.
264
251
  */
265
252
  experimental?: ExperimentalFeaturesConfig;
266
- /** Profile used for new conversations. Configure with `profiles`. */
267
- defaultProfile?: string;
268
- /**
269
- * Named profiles available to the router and `handoff` tool. Configure with
270
- * `defaultProfile`. Each value may be a model id string or an object with
271
- * `modelId` and optional `description` and `reasoningLevel` settings.
272
- */
273
- profiles?: Readonly<Record<string, ModelProfileInput>>;
274
253
  /** Turn and conversation limits. Unset limits keep their defaults. */
275
254
  limits?: RuntimeLimits;
276
255
  /** Slack-specific overrides applied after env parsing. */
@@ -345,4 +324,4 @@ type JuniorApp = Hono & {
345
324
  };
346
325
  /** Create a Hono app with all Junior routes. */
347
326
  declare function createApp(options?: JuniorAppOptions): Promise<JuniorApp>;
348
- export { ModelProfileInput as a, JuniorDashboardOptions as i, JuniorAppOptions as n, createApp as r, JuniorApp as t };
327
+ export { JuniorDashboardOptions as i, JuniorAppOptions as n, createApp as r, JuniorApp as t };
package/dist/app.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { a as ModelProfileInput, i as JuniorDashboardOptions, n as JuniorAppOptions, r as createApp, t as JuniorApp } from "./app-BjEQwNVP.js";
1
+ import { i as JuniorDashboardOptions, n as JuniorAppOptions, r as createApp, t as JuniorApp } from "./app-CHNS-AX2.js";
2
2
  import { i as defineJuniorPlugins, n as JuniorPluginSet, r as JuniorPluginSetOptions, t as JuniorPluginInput } from "./plugins-DtmjkTza.js";
3
3
  import { t as JUNIOR_VERSION } from "./version-Cc2OFd9G.js";
4
- export { JUNIOR_VERSION, JuniorApp, JuniorAppOptions, type JuniorDashboardOptions, type JuniorPluginInput, type JuniorPluginSet, type JuniorPluginSetOptions, type ModelProfileInput, createApp, defineJuniorPlugins };
4
+ export { JUNIOR_VERSION, JuniorApp, JuniorAppOptions, type JuniorDashboardOptions, type JuniorPluginInput, type JuniorPluginSet, type JuniorPluginSetOptions, createApp, defineJuniorPlugins };
package/dist/app.js CHANGED
@@ -1,39 +1,39 @@
1
- import { Ai as openSlackModal, Ar as findMatchingWatches, Bn as getPlugins, C as projectConversationMessages, Dn as createUserTokenStore, E as settleConversationTitleWork, En as setExperimentalFeatures, Er as collectEventMatchKeys, Et as isInvalidConversationRecordError, Fn as getPluginRoutes, Fr as bindScheduledAutomationCredentialSubject, Gn as setBriefsConfig, Gr as getDashboardTaskLink, Hi as getSlackClient, Hn as validatePlugins, Hr as getDashboardConversationLink, Ii as slackEntitySchema, Ir as bindSlackDirectCredentialSubject, Ji as getWorkspaceTeamId, Jr as createPluginState, Ka as readConversationEventPage, Kr as setDashboardConversationLinkOptions, Li as slackExternalRefIdSchema, Lr as verifyEventAutomationCredentialSubject, Ma as createPluginLogger, Na as readConversationAccessFromSql, Nr as takeDueTimerWatches, Pn as getPluginApiRoutes, Pr as bindEventAutomationCredentialSubject, Rr as verifyScheduledAutomationCredentialSubject, Tn as isExperimentalFeatureEnabled, Vn as setPlugins, Wi as isDmChannel, Wr as getDashboardReviewItemLink, Yi as runWithWorkspaceTeamId, Yn as dismissOpenReviewItems, _n as getThreadStopDecision, _o as setConfigDefaults, aa as consumeSandboxEgressAuthRequiredSignal, ar as canActOnReviewItem, b as appendConversationMessages, ca as parseSandboxEgressCredentialToken, co as createPluginCache, ct as CONVERSATION_WORK_STALE_ENQUEUE_MS, eo as resolveRootVisibility, fa as normalizeSandboxEgressTracePropagationDomains, go as getConfigDefaults, ia as clearSandboxEgressSignals, ji as postSlackEphemeralMessage, mi as proxyVercelSandboxEgressRequest, mn as SubscribedReplyReason, oa as consumeSandboxEgressPermissionDeniedSignal, pi as isVercelSandboxEgressRequest, pr as reviewItemReaderForUser, ro as listConversationAnnotations, tr as searchReviewItems, va as createPluginEmbedder, vi as resolveBaseUrl, wi as slackMention, wn as getExperimentalFeatures, wt as hasRunnableConversationWork, zr as verifySlackDirectCredentialSubject } from "./projection-7EFIqzuj.js";
2
- import { d as restoreRuntimeConfig, f as setBotModelConfig, g as snapshotRuntimeConfig, h as setSlackReactionConfig, i as getChatConfig, m as setRuntimeLimits, n as botConfig, o as getSlackBotToken, p as setProfiles, u as resetRuntimeConfig } from "./config-D5uUtrCP.js";
3
- import { E as withSpan, I as JUNIOR_WORKSPACE_SNAPSHOT_JOB_CALLBACK_ROUTE, N as JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE, O as JUNIOR_AUTO_ARCHIVE_ROUTE, T as withLogContext, U as normalizeIdentityEmail, V as GOOGLE_IDENTITY_PROVIDER, b as setSpanAttributes, h as logWarn, k as JUNIOR_CONTEXT_COMPACTION_CALLBACK_ROUTE, m as logInfo, p as logException, r as createRequestContext, w as withContext } from "./logging-cI3T1dNc.js";
1
+ import { Ar as takeDueTimerWatches, C as settleConversationTitleWork, Cn as setExperimentalFeatures, Cr as collectEventMatchKeys, Ct as isInvalidConversationRecordError, Di as openSlackModal, Dr as findMatchingWatches, Fr as verifyScheduledAutomationCredentialSubject, Gi as getWorkspaceTeamId, Gr as createPluginState, Hn as setBriefsConfig, Hr as getDashboardTaskLink, Ir as verifySlackDirectCredentialSubject, Ki as runWithWorkspaceTeamId, Kn as dismissOpenReviewItems, Ln as getPlugins, Mn as getPluginRoutes, Mr as bindScheduledAutomationCredentialSubject, Ni as slackEntitySchema, Nr as bindSlackDirectCredentialSubject, Oi as postSlackEphemeralMessage, Pi as slackExternalRefIdSchema, Pr as verifyEventAutomationCredentialSubject, Qn as searchReviewItems, Rn as setPlugins, Sn as isExperimentalFeatureEnabled, Ur as setDashboardConversationLinkOptions, Vi as isDmChannel, Vr as getDashboardReviewItemLink, Wa as readConversationEventPage, _ as appendConversationMessages, _o as setConfigDefaults, aa as parseSandboxEgressCredentialToken, at as CONVERSATION_WORK_STALE_ENQUEUE_MS, b as projectConversationMessages, co as createPluginCache, di as proxyVercelSandboxEgressRequest, dn as SubscribedReplyReason, eo as resolveRootVisibility, go as getConfigDefaults, ha as createPluginEmbedder, hi as resolveBaseUrl, ja as readConversationAccessFromSql, jn as getPluginApiRoutes, jr as bindEventAutomationCredentialSubject, ka as createPluginLogger, la as normalizeSandboxEgressTracePropagationDomains, mn as getThreadStopDecision, na as consumeSandboxEgressAuthRequiredSignal, nr as canActOnReviewItem, ra as consumeSandboxEgressPermissionDeniedSignal, ro as listConversationAnnotations, ta as clearSandboxEgressSignals, ui as isVercelSandboxEgressRequest, ur as reviewItemReaderForUser, wn as createUserTokenStore, xi as slackMention, xn as getExperimentalFeatures, xt as hasRunnableConversationWork, zi as getSlackClient, zn as validatePlugins, zr as getDashboardConversationLink } from "./projection-BTge9wrH.js";
2
+ import { d as restoreRuntimeConfig, f as setBotModelConfig, h as snapshotRuntimeConfig, i as getChatConfig, m as setSlackReactionConfig, n as botConfig, o as getSlackBotToken, p as setRuntimeLimits, u as resetRuntimeConfig } from "./config-o2jLRY5J.js";
3
+ import { E as withSpan, I as JUNIOR_WORKSPACE_SNAPSHOT_JOB_CALLBACK_ROUTE, N as JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE, O as JUNIOR_AUTO_ARCHIVE_ROUTE, T as withLogContext, U as normalizeIdentityEmail, V as GOOGLE_IDENTITY_PROVIDER, b as setSpanAttributes, h as logWarn, k as JUNIOR_CONTEXT_COMPACTION_CALLBACK_ROUTE, m as logInfo, p as logException, r as createRequestContext, w as withContext } from "./logging-dFaXvBRK.js";
4
4
  import { n as captureMessage } from "./sentry-MDkYAVPV.js";
5
- import { t as JUNIOR_VERSION } from "./version-DJTk0ZCE.js";
5
+ import { t as JUNIOR_VERSION } from "./version-C7HejFP2.js";
6
6
  import { _ as slackMessageTsSchema, f as parseSlackTeamId, g as slackMessageTsFromMs, h as parseSlackMessageTs, m as slackChannelIdSchema, n as createSlackActor, p as parseSlackUserId, s as parseActorUserId, u as parseSlackChannelId } from "./actor-B4DYygOB.js";
7
- import { C as getSqlExecutor, E as withConversationEventLock, K as touchConversationDetail, N as resolveActorIdentityId, S as getDb, _ as closeDb, g as createCache, i as readActorIdentity, k as withConversationMutationLock, l as resolveViewerUser, p as parseAvatarUrl, x as getConversationStore, y as getConversationEventStore, z as recordGoogleSignIn } from "./viewer-WY0RYE4E.js";
8
- import { a as juniorAgentInvocations, d as juniorDestinations, i as juniorAgentBindings, s as juniorConversations } from "./agent-invocations-Crs3XHhg.js";
9
- import { _ as juniorConversationBriefs, b as juniorConversationEvents, c as juniorReviewItems, d as juniorAutomations, l as juniorAutomationRuns } from "./executor-hPfFTH0C.js";
10
- import { n as pluginCatalogRuntime } from "./catalog-runtime-DE-F4Awo.js";
11
- import { $ as readViewerAutomations, A as runWithSlackInstallation, B as logScheduledAutomationRunSkipped, C as readSlackReviewItemCardConversationId, D as parseSlackReviewItemClick, Dt as processWorkspaceSnapshotJob, E as buildSlackReviewItemModal, L as joinPublicChannel, M as parseSlackThreadId, O as parseSlackReviewItemFormTarget, Ot as ingestEvent, S as createSlackReviewItemShow, V as scheduledAutomationRunAttributes, Y as readViewerAutomationExecutions, Z as readViewerAutomationSummary, _ as readPublicArtifact, _t as requestAttachmentDeletion, at as reviewItemChangeRecord, bt as stopConversationSession, ct as conversationTurnIdForMessage, dt as recordWebConversationActivity, ft as webActorFromUser, g as publicArtifactHeaders, ht as collectAttachmentGarbage, it as renderReviewItemMessage, j as verifySlackSignature, k as parseSlackUserInputSubmission, n as executeAgentRun, q as ViewerTaskNotFoundError, r as processBackgroundCompaction, rt as deliverReviewItemChange, st as appendAndEnqueueWebMessage, t as createAgentRunner, tt as effectiveTaskOutcomes, v as unpublishedArtifactHeaders, w as syncReviewItemSlackCards, xt as recordSubagentEnded, y as lookupSlackUserProfile } from "./agent-runner-BsYAbniN.js";
7
+ import { C as getSqlExecutor, H as recordGoogleSignIn, I as resolveActorIdentityId, M as withConversationMutationLock, S as getDb, Y as touchConversationDetail, _ as closeDb, g as createCache, i as readActorIdentity, k as withConversationEventLock, l as resolveViewerUser, p as parseAvatarUrl, x as getConversationStore, y as getConversationEventStore } from "./viewer-DLXajQZE.js";
8
+ import { a as juniorAgentInvocations, d as juniorDestinations, i as juniorAgentBindings, s as juniorConversations } from "./agent-invocations-D7c4BQGc.js";
9
+ import { _ as juniorConversationBriefs, b as juniorConversationEvents, c as juniorReviewItems, d as juniorAutomations, l as juniorAutomationRuns } from "./executor-CJfsD0VX.js";
10
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-BoOb5oUv.js";
11
+ import { $ as readViewerAutomations, A as runWithSlackInstallation, B as logScheduledAutomationRunSkipped, C as readSlackReviewItemCardConversationId, D as parseSlackReviewItemClick, Dt as processWorkspaceSnapshotJob, E as buildSlackReviewItemModal, L as joinPublicChannel, M as parseSlackThreadId, O as parseSlackReviewItemFormTarget, Ot as ingestEvent, S as createSlackReviewItemShow, V as scheduledAutomationRunAttributes, Y as readViewerAutomationExecutions, Z as readViewerAutomationSummary, _ as readPublicArtifact, _t as requestAttachmentDeletion, at as reviewItemChangeRecord, bt as stopConversationSession, ct as conversationTurnIdForMessage, dt as recordWebConversationActivity, ft as webActorFromUser, g as publicArtifactHeaders, ht as collectAttachmentGarbage, it as renderReviewItemMessage, j as verifySlackSignature, k as parseSlackUserInputSubmission, n as executeAgentRun, q as ViewerTaskNotFoundError, r as processBackgroundCompaction, rt as deliverReviewItemChange, st as appendAndEnqueueWebMessage, t as createAgentRunner, tt as effectiveTaskOutcomes, v as unpublishedArtifactHeaders, w as syncReviewItemSlackCards, xt as recordSubagentEnded, y as lookupSlackUserProfile } from "./agent-runner-DE-43MPb.js";
12
12
  import { a as withLock, i as fenceLock, n as MUTATION_LOCK_TTL_MS } from "./locks-D-0h111u.js";
13
- import { r as getStateAdapter, t as disconnectStateAdapter } from "./adapter-BtfBHVM5.js";
13
+ import { r as getStateAdapter, t as disconnectStateAdapter } from "./adapter-BXosqTMx.js";
14
14
  import { n as getNextRunAtMs } from "./cadence-R7Em4RjE.js";
15
- import { C as conversationReportStatusSchema, I as annotationCard, J as conversationBriefSchema, T as conversationSurfaceSchema, p as conversationFeedQuerySchema } from "./conversation-SsASlWL7.js";
16
- import { S as listPendingAgentInvocationResults, x as listPendingAgentInvocationMailboxAppends } from "./store-DtHZviJ1.js";
17
- import { A as renderSlackObjectCard, T as renderTaskInput, d as getEventCatalog, f as SLACK_EVENT_NAMESPACE, g as slackChannelMessageRunsAutomation, h as slackChannelMessageReplyThreadTs, m as slackChannelMessageEvent } from "./session-stop-0juF_BP0.js";
15
+ import { H as conversationBriefSchema, b as conversationSurfaceSchema, f as conversationFeedQuerySchema, k as annotationCard, v as conversationReportStatusSchema } from "./conversation-CZfyQvdm.js";
16
+ import { S as listPendingAgentInvocationResults, x as listPendingAgentInvocationMailboxAppends } from "./store-BGBzQWNf.js";
17
+ import { A as renderSlackObjectCard, T as renderTaskInput, d as getEventCatalog, f as SLACK_EVENT_NAMESPACE, g as slackChannelMessageRunsAutomation, h as slackChannelMessageReplyThreadTs, m as slackChannelMessageEvent } from "./session-stop-BsS4qFS2.js";
18
18
  import { h as buttonUserInputField } from "./reporting-window-DgHgwQB3.js";
19
- import { c as setSandboxResourceConfig, o as getSandboxResourceConfig } from "./resolve-CuiEY_2u.js";
20
- import { a as WORKSPACE_SNAPSHOT_JOB_QUEUE_TOPIC, b as isConversationQueueMessageRejectedError, c as verifyWorkspaceSnapshotJobMessage, d as verifyConversationQueueMessage, h as getQueueProvider, i as verifyBackgroundCompactionMessage, l as getVercelConversationWorkQueue, r as vercelBackgroundCompactionQueue, t as BACKGROUND_COMPACTION_QUEUE_TOPIC, u as resolveConversationWorkQueueTopic, y as conversationQueueMessageSchema } from "./background-compaction-queue-hh18yCeU.js";
21
- import { S as removeActiveConversation, _ as hasRunnableConversationWork$1, c as clearExpiredConversationLease, g as getConversationWorkState, h as getConversation, m as ensureConversationWake, r as appendAndEnqueueInboundMessage, v as listActiveConversationIds } from "./store-DKs1WwdB.js";
22
- import { B as readScheduledAutomation, G as blockEventAutomation, H as saveScheduledAutomationInLock, K as collectEventAutomationMatchKeys, M as recordAutomationExecution, R as listScheduledAutomationsForTeam, S as existingConversationId, U as scheduledRunId, W as withScheduledAutomationLock, Y as findMatchingEventAutomations, a as confirmDispatchMailboxAppend, b as notifyAutomationBlocked, f as getPluginDispatchProjection, ht as eventGuidance, it as automationVersionOf, m as listPendingDispatchMailboxAppends, nt as eventAutomationRunLimitReason, o as createOrGetDispatch, p as isTerminalDispatchStatus, r as buildDispatchId, s as getDispatchConversationId, tt as admitEventAutomationRun, u as getDispatchRecord, v as markDispatchFailed } from "./turn-session-routing-jnLOfBHJ.js";
23
- import { M as scheduledRunSchema, l as automationListQuerySchema, s as automationExecutionStatusSchema } from "./automation-Cql9h2vO.js";
24
- import { n as validatePluginRegistrations, t as validatePluginEgressCredentialHooks } from "./validation-BUFmsnKs.js";
19
+ import { c as setSandboxResourceConfig, o as getSandboxResourceConfig } from "./resolve-B_7h2cXx.js";
20
+ import { a as WORKSPACE_SNAPSHOT_JOB_QUEUE_TOPIC, b as isConversationQueueMessageRejectedError, c as verifyWorkspaceSnapshotJobMessage, d as verifyConversationQueueMessage, h as getQueueProvider, i as verifyBackgroundCompactionMessage, l as getVercelConversationWorkQueue, r as vercelBackgroundCompactionQueue, t as BACKGROUND_COMPACTION_QUEUE_TOPIC, u as resolveConversationWorkQueueTopic, y as conversationQueueMessageSchema } from "./background-compaction-queue-CAL4A2y7.js";
21
+ import { S as removeActiveConversation, _ as hasRunnableConversationWork$1, c as clearExpiredConversationLease, g as getConversationWorkState, h as getConversation, m as ensureConversationWake, r as appendAndEnqueueInboundMessage, v as listActiveConversationIds } from "./store-CGJZTEVz.js";
22
+ import { B as readScheduledAutomation, G as blockEventAutomation, H as saveScheduledAutomationInLock, K as collectEventAutomationMatchKeys, M as recordAutomationExecution, R as listScheduledAutomationsForTeam, S as existingConversationId, U as scheduledRunId, W as withScheduledAutomationLock, Y as findMatchingEventAutomations, a as confirmDispatchMailboxAppend, b as notifyAutomationBlocked, f as getPluginDispatchProjection, ht as eventGuidance, it as automationVersionOf, m as listPendingDispatchMailboxAppends, nt as eventAutomationRunLimitReason, o as createOrGetDispatch, p as isTerminalDispatchStatus, r as buildDispatchId, s as getDispatchConversationId, tt as admitEventAutomationRun, u as getDispatchRecord, v as markDispatchFailed } from "./turn-session-routing-DnSaaEpn.js";
23
+ import { M as scheduledRunSchema, l as automationListQuerySchema, s as automationExecutionStatusSchema } from "./automation-DphoTRYl.js";
24
+ import { n as validatePluginRegistrations, t as validatePluginEgressCredentialHooks } from "./validation-B9-8iKyw.js";
25
25
  import { a as pluginRuntimeRegistrationsFromPluginSet, n as pluginCatalogConfigFromEnv, r as pluginCatalogConfigFromPluginSet, t as defineJuniorPlugins } from "./plugins-DOm9Y6qI.js";
26
- import { $ as runAutoArchiveSweep, A as resolveAllowedDomains, B as bindMessageAuthorIdentityId, C as createProductionSlackWebhookServices, D as isAllowedDomain, E as assertNoLegacyAllowedDomains, F as stopSlackThread, G as actOnReviewItem, H as stripLeadingBotMention, I as normalizeIncomingSlackThreadId, J as reviewItemChange, K as closeReviewItemsAnsweredByReply, L as withNormalizedThreadId, M as buildSlackInboundMessage, N as clearSlackPendingReactions, O as isAllowedSignInEmail, P as isSlackMessageStopped, R as stopConversationTurn, S as createProductionConversationWorkOptions, T as createSlackWebApiStatusSender, U as parseContent, V as startProcessingReaction, W as ReviewItemActionError, at as getAttachmentStorage, b as encodeConversationCursor, ct as GET$4, j as recordSkippedConversationMessage, k as readEnvList, l as readConversationFeed, n as readConversationDetail, q as readReviewItemForUser, st as enqueueAgentDispatch, t as stopConversationTurnForViewer, u as readConversationRecordFromSql, w as getProductionSlackAdapter, x as archiveConversation, y as decodeConversationCursor, z as THREAD_OPTOUT_ACK } from "./stop-6FVG1c-r.js";
27
- import { n as enqueueAgentInvocationResult, o as getAuthPausedConversationTurnId } from "./result-DrcUtFaD.js";
28
- import { i as enqueueAgentInvocation, r as endAgentInvocationsOfStoppedWork } from "./work-C5AKvXJV.js";
29
- import { o as coerceThreadConversationState } from "./thread-state-4hjEIkIq.js";
30
- import { o as unlinkProvider } from "./connections-Do24CGP5.js";
31
- import { a as GET$5, i as publishAppHomeView, r as GET$6, t as receiveLocalOAuthCredential } from "./credential-sync-BGQK3pOa.js";
32
- import { a as pluginTaskQueueConsumer, c as queueCallback, n as createVercelPluginTaskCallback, o as registerVercelPluginTaskDevConsumer } from "./task-queue-CcvFQE_p.js";
33
- import { t as processConversationWork } from "./worker-BcYVDVUy.js";
34
- import { t as bindMessageAgent } from "./message-DBwsAl7O.js";
35
- import { t as bindSpawnAgent } from "./spawn-6C9jHH4b.js";
36
- import { t as processPluginTask } from "./task-runner-DBkNejLl.js";
26
+ import { A as recordSkippedConversationMessage, B as startProcessingReaction, C as getProductionSlackAdapter, D as isAllowedSignInEmail, E as isAllowedDomain, F as normalizeIncomingSlackThreadId, G as closeReviewItemsAnsweredByReply, H as parseContent, I as withNormalizedThreadId, K as readReviewItemForUser, L as stopConversationTurn, M as clearSlackPendingReactions, N as isSlackMessageStopped, O as readEnvList, P as stopSlackThread, Q as runAutoArchiveSweep, R as THREAD_OPTOUT_ACK, S as createProductionSlackWebhookServices, T as assertNoLegacyAllowedDomains, U as ReviewItemActionError, V as stripLeadingBotMention, W as actOnReviewItem, b as archiveConversation, d as readConversationRecordFromSql, it as getAttachmentStorage, j as buildSlackInboundMessage, k as resolveAllowedDomains, n as readConversationDetail, ot as enqueueAgentDispatch, q as reviewItemChange, st as GET$4, t as stopConversationTurnForViewer, u as readConversationFeed, v as decodeConversationCursor, w as createSlackWebApiStatusSender, x as createProductionConversationWorkOptions, y as encodeConversationCursor, z as bindMessageAuthorIdentityId } from "./stop-D5R82Wla.js";
27
+ import { n as enqueueAgentInvocationResult, o as getAuthPausedConversationTurnId } from "./result-5LBEfnLX.js";
28
+ import { i as enqueueAgentInvocation, r as endAgentInvocationsOfStoppedWork } from "./work-DRGSlfia.js";
29
+ import { o as coerceThreadConversationState } from "./thread-state-BSu6rM6p.js";
30
+ import { o as unlinkProvider } from "./connections-RC4NXAx8.js";
31
+ import { a as GET$5, i as publishAppHomeView, r as GET$6, t as receiveLocalOAuthCredential } from "./credential-sync-Dd0WyNfF.js";
32
+ import { a as pluginTaskQueueConsumer, c as queueCallback, n as createVercelPluginTaskCallback, o as registerVercelPluginTaskDevConsumer } from "./task-queue-UD27ei2U.js";
33
+ import { t as processConversationWork } from "./worker-BGh5Dwc6.js";
34
+ import { t as bindMessageAgent } from "./message-DSwxIZet.js";
35
+ import { t as bindSpawnAgent } from "./spawn-BO3y7H4d.js";
36
+ import { t as processPluginTask } from "./task-runner-noxjOjkM.js";
37
37
  import { createRequire } from "node:module";
38
38
  import { Hono } from "hono";
39
39
  import { createHash, randomBytes, randomUUID, timingSafeEqual } from "node:crypto";
@@ -7291,7 +7291,6 @@ async function createApp(options) {
7291
7291
  setConfigDefaults(options?.configDefaults);
7292
7292
  warnUnregisteredConfigDefaults(options?.configDefaults);
7293
7293
  resetRuntimeConfig(virtualConfig?.functionMaxDurationSeconds);
7294
- if (options?.profiles || options?.defaultProfile) setProfiles(options.profiles, options.defaultProfile);
7295
7294
  setBotModelConfig(options ?? {});
7296
7295
  setRuntimeLimits(options?.limits);
7297
7296
  setSlackReactionConfig(options?.slack ?? {});
@@ -1,12 +1,28 @@
1
- import { qt as extractAssistantText } from "./projection-7EFIqzuj.js";
1
+ import { Wt as extractAssistantText } from "./projection-BTge9wrH.js";
2
2
  // src/chat/no-reply.ts
3
3
  const NO_REPLY_MARKER = "[[NO_REPLY]]";
4
4
  /**
5
- * True when one assistant message ends with the silence marker.
6
- * Mid-sentence mentions do not match. Detection is per message only.
5
+ * Trailing marker for a Quiet message: an Event Turn reply that Junior stores
6
+ * but does not deliver to the Location.
7
+ */
8
+ const QUIET_MARKER = "[[QUIET]]";
9
+ /**
10
+ * True when one assistant message ends with the silence marker, or is only
11
+ * the quiet marker. Mid-sentence mentions do not match. Detection is per
12
+ * message only.
7
13
  */
8
14
  function isNoReplyMarker(text) {
9
- return text.trimEnd().endsWith(NO_REPLY_MARKER);
15
+ const trimmed = text.trim();
16
+ return trimmed.endsWith("[[NO_REPLY]]") || trimmed === "[[QUIET]]";
17
+ }
18
+ /**
19
+ * Return the text before a trailing quiet marker, or undefined when the text
20
+ * does not end with one. Mid-sentence mentions do not match.
21
+ */
22
+ function stripQuietMarker(text) {
23
+ const trimmed = text.trimEnd();
24
+ if (!trimmed.endsWith("[[QUIET]]")) return void 0;
25
+ return trimmed.slice(0, -9).trimEnd();
10
26
  }
11
27
  // src/chat/services/assistant-reply.ts
12
28
  const THINKING_XML_BLOCK_PATTERN = /[ \t]*<thinking\b[^>]*>[\s\S]*?<\/thinking>[ \t]*(?:\r?\n)?/gi;
@@ -30,14 +46,20 @@ function decideReply(message) {
30
46
  const text = sanitizeAssistantText(extractAssistantText(message));
31
47
  if (!text) return { kind: "empty" };
32
48
  if (isNoReplyMarker(text)) return { kind: "suppress" };
33
- return {
49
+ const quietText = stripQuietMarker(text);
50
+ if (quietText === void 0) return {
34
51
  kind: "deliver",
35
52
  text
36
53
  };
54
+ return {
55
+ kind: "deliver",
56
+ text: quietText,
57
+ quiet: true
58
+ };
37
59
  }
38
60
  /** Return destination-visible reply text when the message is deliverable. */
39
61
  function getAssistantReplyText(message) {
40
62
  const decision = decideReply(message);
41
63
  return decision.kind === "deliver" ? decision.text : void 0;
42
64
  }
43
- export { isNoReplyMarker as a, NO_REPLY_MARKER as i, getAssistantReplyText as n, sanitizeAssistantText as r, decideReply as t };
65
+ export { QUIET_MARKER as a, NO_REPLY_MARKER as i, getAssistantReplyText as n, isNoReplyMarker as o, sanitizeAssistantText as r, decideReply as t };
@@ -1,5 +1,5 @@
1
1
  import { a as resolveLocalScheduleAtMs, i as isValidTimeZone, r as getZonedDateTimeParts, t as getFirstRunAtMs } from "./cadence-R7Em4RjE.js";
2
- import { n as actorIdentitySchema } from "./conversation-SsASlWL7.js";
2
+ import { r as actorIdentitySchema } from "./conversation-CZfyQvdm.js";
3
3
  import { z } from "zod";
4
4
  import { actorUserIdSchema, destinationVisibilitySchema, eventMatchFieldsSchema, eventMatchSchema, eventReachSchema, eventTypeSchema, pluginEventTypeSchema, slackDestinationSchema, taskOutcomeSchema } from "@sentry/junior-plugin-api";
5
5
  // src/chat/scheduled-automations/schedule-intent.ts
@@ -1,5 +1,5 @@
1
- import { i as getChatConfig } from "./config-D5uUtrCP.js";
2
- import { E as withSpan, m as logInfo, p as logException } from "./logging-cI3T1dNc.js";
1
+ import { i as getChatConfig } from "./config-o2jLRY5J.js";
2
+ import { E as withSpan, m as logInfo, p as logException } from "./logging-dFaXvBRK.js";
3
3
  import { AsyncLocalStorage } from "node:async_hooks";
4
4
  import { createHash, createHmac, timingSafeEqual } from "node:crypto";
5
5
  import { z } from "zod";