@sentry/junior 0.274.0 → 0.276.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 (71) hide show
  1. package/dist/{adapter-4qThDhgF.js → adapter-DoPR2jS-.js} +1 -1
  2. package/dist/{admin-c7ASvs6x.js → admin-BJTT-kXb.js} +1 -1
  3. package/dist/{agent-invocations-C1RNOCs8.js → agent-invocations-CUWrrzkc.js} +1 -0
  4. package/dist/{agent-runner-CLHM48dh.js → agent-runner-sMpA5qGM.js} +1118 -394
  5. package/dist/api/schema.d.ts +2 -2
  6. package/dist/api/schema.js +3 -3
  7. package/dist/api.d.ts +1 -1
  8. package/dist/api.js +75 -66
  9. package/dist/{app-BlmPpPoR.d.ts → app-DTj-yAQt.d.ts} +26 -2
  10. package/dist/app.d.ts +1 -1
  11. package/dist/app.js +237 -87
  12. package/dist/{assistant-reply-2IwdFWuQ.js → assistant-reply-DbxKnBQF.js} +1 -1
  13. package/dist/{automation-BGrd03QO.js → automation-B8_mC68r.js} +42 -13
  14. package/dist/{job-queue-Bh9sFO9t.js → background-compaction-queue-Bywqo1WJ.js} +42 -3
  15. package/dist/{briefs-C1-NOh8m.js → briefs-IL7QnCCR.js} +4 -4
  16. package/dist/{catalog-runtime-BnIJimKZ.js → catalog-runtime--sC2CYLQ.js} +1 -1
  17. package/dist/cli/chat.js +14 -14
  18. package/dist/cli/check.js +3 -3
  19. package/dist/cli/main.js +3 -3
  20. package/dist/cli/plugins.js +4 -4
  21. package/dist/cli/snapshot-create.js +4 -4
  22. package/dist/cli/upgrade.d.ts +1 -1
  23. package/dist/cli/upgrade.js +3 -3
  24. package/dist/{client-C0ZIxoDr.js → client-7diKvInp.js} +2 -2
  25. package/dist/{config-DS-QLVSL.js → config-Cb--cuv-.js} +2 -2
  26. package/dist/{connections-Djb6ANAh.js → connections-C4-4fxaE.js} +14 -14
  27. package/dist/{conversation-BjTo9ZFL.js → conversation-DppJ83Hw.js} +32 -7
  28. package/dist/{conversation-privacy-3IMUZSHC.js → conversation-privacy-DTwdT3Pi.js} +1 -1
  29. package/dist/{credential-sync-ig88EB_v.js → credential-sync-Sl5RQCkS.js} +13 -13
  30. package/dist/{db-BMZhoYKj.d.ts → db-Ck6TXQIx.d.ts} +1 -1
  31. package/dist/{executor-C2moGIHS.js → executor-BFKmqxYe.js} +3 -3
  32. package/dist/instrumentation.d.ts +14 -0
  33. package/dist/instrumentation.js +29 -6
  34. package/dist/{logging-DYRS7E8s.js → logging-B04X_eCB.js} +3 -2
  35. package/dist/{message-CicNrhCv.js → message-DQMFyyE-.js} +9 -9
  36. package/dist/nitro.d.ts +1 -1
  37. package/dist/nitro.js +13 -3
  38. package/dist/{oauth-callback-server-BXyrepfY.js → oauth-callback-server-BGq0_vQI.js} +2 -2
  39. package/dist/{projection-CMRrv9Pt.js → projection-6dXaN0n-.js} +109 -17
  40. package/dist/{prompt-JEWUUpLW.js → prompt-B4fQKGZR.js} +1 -1
  41. package/dist/{registry-D92WLl5I.js → registry-CEqKR_ld.js} +1 -1
  42. package/dist/{resolve-C-Dh14ps.js → resolve-8I5DkrfI.js} +3 -3
  43. package/dist/{result-DZ8TCQkd.js → result-BgAW90IM.js} +9 -9
  44. package/dist/{runner-BBmhrQTM.js → runner-CSKDr_19.js} +12 -12
  45. package/dist/{sandbox-egress-signals-Cehpq6hC.js → sandbox-egress-signals-BxAT276e.js} +1 -1
  46. package/dist/{schema-DfdHlBnb.d.ts → schema-CaUWl2EV.d.ts} +74 -6
  47. package/dist/{schema-CX9XGKCm.js → schema-Cal-EFdi.js} +9 -7
  48. package/dist/{service-account-Bapo6l0R.js → service-account-CUuVJCKT.js} +3 -3
  49. package/dist/{service-account-Ce1465Fn.js → service-account-CtOab1Xz.js} +3 -3
  50. package/dist/{session-stop-CI5qJU7a.js → session-stop-DK8LuPZW.js} +155 -54
  51. package/dist/{skills-D-d79XQ6.js → skills-Bc0D7BGy.js} +2 -2
  52. package/dist/{spawn-C_FETz5x.js → spawn-DF_GUcd8.js} +2 -2
  53. package/dist/{stop-CmwFHwiN.js → stop-DthSy-z8.js} +159 -121
  54. package/dist/{store-BvI3yBGS.js → store-BgH2P3X9.js} +3 -3
  55. package/dist/{store-BIQYXvoV.js → store-C5uVTx2G.js} +11 -9
  56. package/dist/{task-queue-BdB0pab8.js → task-queue-C6ROM_XJ.js} +3 -3
  57. package/dist/{task-runner-DQr2QfvJ.js → task-runner-BwAkjjVE.js} +6 -6
  58. package/dist/{thread-state-ngCvtWNa.js → thread-state-BXjgk1pW.js} +4 -4
  59. package/dist/{turn-failure-response-BDT3sT2v.js → turn-failure-response-CVI57qKL.js} +7 -7
  60. package/dist/{turn-lifecycle-B7O6rZEX.js → turn-lifecycle-CF6ibonp.js} +6 -1
  61. package/dist/{turn-session-routing-DIeqG2pO.js → turn-session-routing-DddybdNu.js} +17 -16
  62. package/dist/{validation-D3Xik64v.js → validation-BxF1nQbC.js} +1 -1
  63. package/dist/{version-BoWLhNzj.js → version-CTzSbCmR.js} +1 -1
  64. package/dist/version.js +1 -1
  65. package/dist/{viewer-D25XOUHc.js → viewer-CQwBszc7.js} +10 -7
  66. package/dist/{work-D12-wcf4.js → work-BHlShEQ6.js} +30 -12
  67. package/dist/{worker-DGxfDtES.js → worker-DhY9MnsH.js} +6 -6
  68. package/migrations/0073_conversation_quick_question.sql +1 -0
  69. package/migrations/meta/0073_snapshot.json +4070 -0
  70. package/migrations/meta/_journal.json +7 -0
  71. package/package.json +6 -5
@@ -1,2 +1,2 @@
1
- import { $ as automationExecutionStatusDaySchema, $n as ConversationPendingMessageDelivery, $r as codeChangeSummarySchema, $t as LocationSummaryReport, A as StatsReport, An as ConversationMetricDay, Ar as conversationPendingAuthorizationSchema, At as createPersonalTokenBodySchema, B as AutomationRun, Bn as CancelConversationPendingMessagesBody, Br as forkConversationResponseSchema, Bt as startServiceAccountSignInResponseSchema, C as pluginPackageContentReportSchema, Ci as MAX_INPUT_IMAGE_BYTES, Cn as ConversationChildAgentsReport, Cr as conversationDetailReportSchema, Ct as workspaceListSchema, D as skillReportSchema, Dn as conversationReadPositionSchema, Dr as conversationFeedQuerySchema, Dt as USER_CUSTOMIZATION_MAX_CHARS, E as runtimeInfoReportSchema, En as ConversationReadPosition, Er as conversationEventsQuerySchema, Et as workspaceSchema, F as AutomationExecutionDay, Fn as conversationStatsReportSchema, Fr as conversationReportEventSchema, Ft as revokePersonalTokenResponseSchema, G as AutomationUpdate, Gn as ConversationCost, Gr as CodeActivityDay, Gt as startConnectionResponseSchema, H as AutomationRunWindows, Hn as ConversationActivityPreview, Hr as steerConversationPendingMessagesResponseSchema, Ht as connectionParamsSchema, I as AutomationExecutionList, In as AcceptedConversationMessage, Ir as conversationSummaryReportSchema, It as disconnectServiceAccountResponseSchema, J as automationEditErrorSchema, Jn as ConversationEventPage, Jr as CodePersonReport, Jt as LocationActivityDayReport, K as AutomationVersionList, Kn as ConversationDetailReport, Kr as CodeChangeSummaryReport, Kt as ApiError, L as AutomationExecutionStatusDay, Ln as ActorIdentity, Lr as createConversationBodySchema, Lt as serviceAccountListSchema, M as statsReportSchema, Mn as ConversationStatsReport, Mr as conversationPendingMessageSchema, Mt as personalTokenListSchema, N as AutomationEdit, Nn as GuardianMetricDay, Nr as conversationPendingMessagesReportSchema, Nt as personalTokenMetadataSchema, O as skillReportsSchema, On as StopConversationTurnResponse, Or as conversationFeedSchema, Ot as userCustomizationSchema, P as AutomationExecution, Pn as GuardianStats, Pr as conversationReportEventDataSchema, Pt as personalTokenParamsSchema, Q as automationExecutionSchema, Qn as ConversationPendingMessage, Qr as codeChangeSummaryReportSchema, Qt as LocationParams, R as AutomationList, Rn as ArchiveConversationBody, Rr as createConversationMessageBodySchema, Rt as serviceAccountParamsSchema, S as pluginPackageContentItemReportSchema, Si as MAX_INPUT_IMAGES, Sn as ConversationChildAgent, Sr as conversationDetailQuerySchema, St as workspaceBodySchema, T as pluginsSchema, Ti as INPUT_IMAGE_TYPES, Tn as conversationChildAgentsReportSchema, Tr as conversationEventPageSchema, Tt as workspaceRepoSchema, U as AutomationScheduleIntent, Un as ConversationAgentTreeNode, Ur as conversationTurnFailureCodeSchema, Ut as connectionSchema, V as AutomationRunList, Vn as CancelConversationPendingMessagesResponse, Vr as steerConversationPendingMessagesBodySchema, Vt as connectionListSchema, W as AutomationSummary, Wn as ConversationAuxiliaryCosts, Wr as conversationTurnFailureReasonSchema, Wt as disconnectConnectionResponseSchema, X as automationEventCatalogSchema, Xn as ConversationModelUsage, Xr as CodeRepositorySummary, Xt as LocationDetailReport, Y as automationEditSchema, Yn as ConversationFeed, Yr as CodeRepositoryReport, Yt as LocationActorSummaryReport, Z as automationExecutionListSchema, Zn as ConversationParams, Zr as codeActivityDaySchema, Zt as LocationDirectoryReport, _ as SkillReport, _i as buttonUserInputField, _n as personalSpendReportSchema, _r as archiveConversationResponseSchema, _t as BaselineSnapshotReport, a as reviewItemCountSchema, ai as ConversationChildAgentTotals, an as ActorDirectoryReport, ar as ConversationSourceTask, at as automationRunSchema, b as pluginOperationalReportFeedSchema, bi as webMessageId, bn as conversationWatchSchema, br as conversationActivityPreviewSchema, bt as baselineSnapshotSchema, c as reviewItemWaitingConversationsSchema, ci as dailyConversationActivitySchema, cn as ActorSummaryReport, cr as ConversationTurnFailureCode, ct as automationSchedulePreviewSchema, d as PluginOperationalReport, di as resolveMessageCards, dn as PeopleActivityDayReport, dr as CreateConversationBody, dt as automationVersionActivateSchema, ei as codeOverviewReportSchema, en as locationActivityDayReportSchema, er as ConversationPendingMessagesReport, et as automationExecutionStatusSchema, f as PluginOperationalReportFeed, fi as AutomationCard, fn as PersonParams, fr as CreateConversationMessageBody, ft as automationVersionListSchema, g as RuntimeInfoReport, gi as UserInputRequest, gn as personParamsSchema, gr as archiveConversationBodySchema, gt as scheduledAutomationSummarySchema, h as Plugins, hi as UserInputField, hn as actorProfileReportSchema, hr as acceptedConversationMessageSchema, ht as eventAutomationSummarySchema, i as reviewItemActionSchema, ii as codeRepositorySummarySchema, in as ActorActivityDayReport, ir as ConversationReportStatus, it as automationRunListSchema, j as statSchema, jn as ConversationStatsItem, jr as conversationPendingMessageDeliverySchema, jt as createdPersonalTokenSchema, k as StatReport, kn as stopConversationTurnResponseSchema, kr as conversationParamsSchema, kt as PersonalTokenMetadata, l as HealthReport, li as MessageCard, ln as ActorTotalsReport, lr as ConversationTurnFailureReason, lt as automationSummarySchema, m as PluginPackageContentReport, mi as UserInputAnswer, mn as actorDirectoryReportSchema, mr as SteerConversationPendingMessagesResponse, mt as automationVersionSchema, n as ReviewItemActionBody, ni as codeRepositoryParamsSchema, nn as locationDirectoryReportSchema, nr as ConversationReportEventData, nt as automationListSchema, o as reviewItemListSchema, oi as conversationChildAgentTotalsSchema, on as ActorDirectoryWindows, or as ConversationSummaryReport, ot as automationRunWindowsSchema, p as PluginPackageContentItemReport, pi as USER_INPUT_NOTE, pn as PersonalSpendReport, pr as SteerConversationPendingMessagesBody, pt as automationVersionParamsSchema, q as ListedAutomationVersion, qn as ConversationEventHistory, qr as CodeOverviewReport, qt as apiErrorSchema, r as ReviewItemPayload, ri as codeRepositoryReportSchema, rn as locationParamsSchema, rr as ConversationReportMessageEvent, rt as automationParamsSchema, s as reviewItemSchema, si as DailyConversationActivity, sn as ActorProfileReport, sr as ConversationSurface, st as automationScheduleIntentSchema, t as OwnedObjectAnnotation, ti as codePersonReportSchema, tn as locationDetailReportSchema, tr as ConversationReportEvent, tt as automationListQuerySchema, u as Plugin, ui as messageCardText, un as ActorWindowMetrics, ur as ConversationUsage, ut as automationUpdateSchema, v as SkillReports, vi as isEmptyUserInputAnswer, vn as ConversationWatch, vr as cancelConversationPendingMessagesBodySchema, vt as WorkspaceListReport, w as pluginSchema, wi as MessageAttachment, wn as conversationChildAgentSchema, wr as conversationEventHistorySchema, wt as workspaceParamsSchema, x as pluginOperationalReportSchema, xi as InputImage, xn as conversationWatchesReportSchema, xr as conversationAuxiliaryCostsSchema, xt as deleteWorkspaceResponseSchema, y as healthReportSchema, yi as normalizeUserInputAnswer, yn as ConversationWatchesReport, yr as cancelConversationPendingMessagesResponseSchema, yt as WorkspaceReport, z as AutomationListQuery, zn as ArchiveConversationResponse, zr as forkConversationBodySchema, zt as serviceAccountSchema } from "../schema-DfdHlBnb.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 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 Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type ReviewItemActionBody, 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, 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, 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, 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 ConversationPendingMessage, $r as codeChangeSummaryReportSchema, $t as LocationParams, A as StatReport, An as stopConversationTurnResponseSchema, Ar as conversationParamsSchema, At as PersonalTokenMetadata, B as AutomationListQuery, Bn as ArchiveConversationResponse, Br as forkConversationBodySchema, Bt as serviceAccountSchema, C as pluginPackageContentItemReportSchema, Ci as MAX_INPUT_IMAGES, Cn as ConversationChildAgent, Cr as conversationDetailQuerySchema, Ct as workspaceBodySchema, D as runtimeInfoReportSchema, Dn as ConversationReadPosition, Dr as conversationEventsQuerySchema, Dt as workspaceSchema, E as pluginsSchema, Ei as INPUT_IMAGE_TYPES, En as conversationChildAgentsReportSchema, Er as conversationEventPageSchema, Et as workspaceRepoSchema, F as AutomationExecution, Fn as GuardianStats, Fr as conversationReportEventDataSchema, Ft as personalTokenParamsSchema, G as AutomationSummary, Gn as ConversationAuxiliaryCosts, Gr as conversationTurnFailureReasonSchema, Gt as disconnectConnectionResponseSchema, H as AutomationRunList, Hn as CancelConversationPendingMessagesResponse, Hr as steerConversationPendingMessagesBodySchema, Ht as connectionListSchema, I as AutomationExecutionDay, In as conversationStatsReportSchema, Ir as conversationReportEventSchema, It as revokePersonalTokenResponseSchema, J as ListedAutomationVersion, Jn as ConversationEventHistory, Jr as CodeOverviewReport, Jt as apiErrorSchema, K as AutomationUpdate, Kn as ConversationCost, Kr as CodeActivityDay, Kt as startConnectionResponseSchema, L as AutomationExecutionList, Ln as AcceptedConversationMessage, Lr as conversationSummaryReportSchema, Lt as disconnectServiceAccountResponseSchema, M as statSchema, Mn as ConversationStatsItem, Mr as conversationPendingMessageDeliverySchema, Mt as createdPersonalTokenSchema, N as statsReportSchema, Nn as ConversationStatsReport, Nr as conversationPendingMessageSchema, Nt as personalTokenListSchema, O as skillReportSchema, On as conversationReadPositionSchema, Or as conversationFeedQuerySchema, Ot as USER_CUSTOMIZATION_MAX_CHARS, P as AutomationEdit, Pn as GuardianMetricDay, Pr as conversationPendingMessagesReportSchema, Pt as personalTokenMetadataSchema, Q as automationExecutionListSchema, Qn as ConversationParams, Qr as codeActivityDaySchema, Qt as LocationDirectoryReport, R as AutomationExecutionStatusDay, Rn as ActorIdentity, Rr as createConversationBodySchema, Rt as serviceAccountListSchema, S as pluginOperationalReportSchema, Si as InputImage, Sn as conversationWatchesReportSchema, Sr as conversationAuxiliaryCostsSchema, St as deleteWorkspaceResponseSchema, T as pluginSchema, Ti as MessageAttachment, Tn as conversationChildAgentSchema, Tr as conversationEventHistorySchema, Tt as workspaceParamsSchema, U as AutomationRunWindows, Un as ConversationActivityPreview, Ur as steerConversationPendingMessagesResponseSchema, Ut as connectionParamsSchema, V as AutomationRun, Vn as CancelConversationPendingMessagesBody, Vr as forkConversationResponseSchema, Vt as startServiceAccountSignInResponseSchema, W as AutomationScheduleIntent, Wn as ConversationAgentTreeNode, Wr as conversationTurnFailureCodeSchema, Wt as connectionSchema, X as automationEditSchema, Xn as ConversationFeed, Xr as CodeRepositoryReport, Xt as LocationActorSummaryReport, Y as automationEditErrorSchema, Yn as ConversationEventPage, Yr as CodePersonReport, Yt as LocationActivityDayReport, Z as automationEventCatalogSchema, Zn as ConversationModelUsage, Zr as CodeRepositorySummary, Zt as LocationDetailReport, _ as RuntimeInfoReport, _i as UserInputRequest, _n as personParamsSchema, _r as archiveConversationBodySchema, _t as scheduledAutomationSummarySchema, a as reviewItemCountSchema, ai as codeRepositorySummarySchema, an as ActorActivityDayReport, ar as ConversationReportStatus, at as automationRunListSchema, b as healthReportSchema, bi as normalizeUserInputAnswer, bn as ConversationWatchesReport, br as cancelConversationPendingMessagesResponseSchema, bt as WorkspaceReport, c as reviewItemWaitingConversationsSchema, ci as DailyConversationActivity, cn as ActorProfileReport, cr as ConversationSurface, ct as automationScheduleIntentSchema, d as Plugin, di as messageCardText, dn as ActorWindowMetrics, dr as ConversationUsage, dt as automationUpdateSchema, ei as codeChangeSummarySchema, en as LocationSummaryReport, er as ConversationPendingMessageDelivery, et as automationExecutionStatusDaySchema, f as PluginOperationalReport, fi as resolveMessageCards, fn as PeopleActivityDayReport, fr as CreateConversationBody, ft as automationVersionActivateSchema, g as Plugins, gi as UserInputField, gn as actorProfileReportSchema, gr as acceptedConversationMessageSchema, gt as eventAutomationSummarySchema, h as PluginPackageContentReport, hi as UserInputAnswer, hn as actorDirectoryReportSchema, hr as SteerConversationPendingMessagesResponse, ht as automationVersionSchema, i as reviewItemActionSchema, ii as codeRepositoryReportSchema, in as locationParamsSchema, ir as ConversationReportMessageEvent, it as automationParamsSchema, j as StatsReport, jn as ConversationMetricDay, jr as conversationPendingAuthorizationSchema, jt as createPersonalTokenBodySchema, k as skillReportsSchema, kn as StopConversationTurnResponse, kr as conversationFeedSchema, kt as userCustomizationSchema, l as ReviewItemChangeRecord, li as dailyConversationActivitySchema, ln as ActorSummaryReport, lr as ConversationTurnFailureCode, lt as automationSchedulePreviewSchema, m as PluginPackageContentItemReport, mi as USER_INPUT_NOTE, mn as PersonalSpendReport, mr as SteerConversationPendingMessagesBody, mt as automationVersionParamsSchema, n as ReviewItemActionBody, ni as codePersonReportSchema, nn as locationDetailReportSchema, nr as ConversationReportEvent, nt as automationListQuerySchema, o as reviewItemListSchema, oi as ConversationChildAgentTotals, on as ActorDirectoryReport, or as ConversationSourceTask, ot as automationRunSchema, p as PluginOperationalReportFeed, pi as AutomationCard, pn as PersonParams, pr as CreateConversationMessageBody, pt as automationVersionListSchema, q as AutomationVersionList, qn as ConversationDetailReport, qr as CodeChangeSummaryReport, qt as ApiError, r as ReviewItemPayload, ri as codeRepositoryParamsSchema, rn as locationDirectoryReportSchema, rr as ConversationReportEventData, rt as automationListSchema, s as reviewItemSchema, si as conversationChildAgentTotalsSchema, sn as ActorDirectoryWindows, sr as ConversationSummaryReport, st as automationRunWindowsSchema, t as OwnedObjectAnnotation, ti as codeOverviewReportSchema, tn as locationActivityDayReportSchema, tr as ConversationPendingMessagesReport, tt as automationExecutionStatusSchema, u as HealthReport, ui as MessageCard, un as ActorTotalsReport, ur as ConversationTurnFailureReason, ut as automationSummarySchema, v as SkillReport, vi as buttonUserInputField, vn as personalSpendReportSchema, vr as archiveConversationResponseSchema, vt as BaselineSnapshotReport, w as pluginPackageContentReportSchema, wi as MAX_INPUT_IMAGE_BYTES, wn as ConversationChildAgentsReport, wr as conversationDetailReportSchema, wt as workspaceListSchema, x as pluginOperationalReportFeedSchema, xi as webMessageId, xn as conversationWatchSchema, xr as conversationActivityPreviewSchema, xt as baselineSnapshotSchema, y as SkillReports, yi as isEmptyUserInputAnswer, yn as ConversationWatch, yr as cancelConversationPendingMessagesBodySchema, yt as WorkspaceListReport, z as AutomationList, zn as ArchiveConversationBody, zr as createConversationMessageBodySchema, zt as serviceAccountParamsSchema } from "../schema-CaUWl2EV.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 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 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, 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, 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, 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
1
  import { c as conversationTurnFailureReasonSchema, s as conversationTurnFailureCodeSchema, t as INPUT_IMAGE_TYPES } from "../media-DstkkoNP.js";
2
- import { A as createConversationMessageBodySchema, C as conversationReportEventSchema, E as conversationSummaryReportSchema, F as conversationChildAgentTotalsSchema, H as resolveMessageCards, I as conversationReadPositionSchema, M as forkConversationResponseSchema, N as steerConversationPendingMessagesBodySchema, P as steerConversationPendingMessagesResponseSchema, S as conversationReportEventDataSchema, U as MAX_INPUT_IMAGES, W as MAX_INPUT_IMAGE_BYTES, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, j as forkConversationBodySchema, k as createConversationBodySchema, l as conversationAuxiliaryCostsSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, s as conversationActivityPreviewSchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, v as conversationPendingAuthorizationSchema, x as conversationPendingMessagesReportSchema, y as conversationPendingMessageDeliverySchema, z as messageCardText } from "../conversation-BjTo9ZFL.js";
2
+ import { A as createConversationMessageBodySchema, B as messageCardText, C as conversationReportEventSchema, E as conversationSummaryReportSchema, F as conversationChildAgentTotalsSchema, G as MAX_INPUT_IMAGE_BYTES, I as conversationReadPositionSchema, M as forkConversationResponseSchema, N as steerConversationPendingMessagesBodySchema, P as steerConversationPendingMessagesResponseSchema, S as conversationReportEventDataSchema, U as resolveMessageCards, W as MAX_INPUT_IMAGES, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, j as forkConversationBodySchema, k as createConversationBodySchema, l as conversationAuxiliaryCostsSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, s as conversationActivityPreviewSchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, v as conversationPendingAuthorizationSchema, x as conversationPendingMessagesReportSchema, y as conversationPendingMessageDeliverySchema } from "../conversation-DppJ83Hw.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-BGrd03QO.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-B8_mC68r.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, d as reviewItemCountSchema, et as conversationWatchSchema, g as reviewItemWaitingConversationsSchema, h as reviewItemSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, n as statsReportSchema, nt as conversationChildAgentSchema, o as workspaceListSchema, p as reviewItemListSchema, q as codeChangeSummaryReportSchema, r as baselineSnapshotSchema, rt as conversationChildAgentsReportSchema, s as workspaceParamsSchema, t as statSchema, tt as conversationWatchesReportSchema, u as reviewItemActionSchema, v as serviceAccountListSchema, w as personalTokenListSchema, x as startServiceAccountSignInResponseSchema, y as serviceAccountParamsSchema } from "../schema-CX9XGKCm.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, d as reviewItemCountSchema, et as conversationWatchSchema, g as reviewItemWaitingConversationsSchema, h as reviewItemSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, n as statsReportSchema, nt as conversationChildAgentSchema, o as workspaceListSchema, p as reviewItemListSchema, q as codeChangeSummaryReportSchema, r as baselineSnapshotSchema, rt as conversationChildAgentsReportSchema, s as workspaceParamsSchema, t as statSchema, tt as conversationWatchesReportSchema, u as reviewItemActionSchema, v as serviceAccountListSchema, w as personalTokenListSchema, x as startServiceAccountSignInResponseSchema, y as serviceAccountParamsSchema } from "../schema-Cal-EFdi.js";
7
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, 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, 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, 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-BMZhoYKj.js";
2
+ import "./db-Ck6TXQIx.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,27 +1,27 @@
1
- import { Ca as createPluginLogger, Cr as hash, Fa as readConversationEventPage, Jn as searchReviewItems, Nn as getPlugins, Qn as canActOnReviewItem, Sn as createUserTokenStore, Sr as create, Vn as countReviewItemsNeedingUser, Xa as lookupSlackUser, Za as createPluginCache, _i as workspaceRepoCheckoutPath, _r as WorkspaceValidationError, ar as reviewItemReaderForUser, bn as isExperimentalFeatureEnabled, dr as deleteWorkspace, fr as getWorkspace, gr as updateWorkspace, hi as SANDBOX_RUNTIME, hr as listWorkspacesByRepository, mr as listWorkspaces, qn as listWaitingConversations, tr as isOnlyAssignee, ur as createWorkspace, wa as readConversationAccessFromSql } from "./projection-CMRrv9Pt.js";
2
- import { m as escapeXml } from "./client-C0ZIxoDr.js";
3
- import { m as logInfo, p as logException } from "./logging-DYRS7E8s.js";
4
- import { C as getSqlExecutor, D as loadConversationSlackTenantIds, S as getDb, c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarImage, t as findUserByEmail, x as getConversationStore } from "./viewer-D25XOUHc.js";
5
- import { c as juniorIdentities, d as juniorDestinations, l as juniorUsers, s as juniorConversations } from "./agent-invocations-C1RNOCs8.js";
6
- import { C as juniorCodeChanges, b as juniorConversationEvents, w as juniorCodeRepositories, x as juniorApiTokens, y as juniorConversationMetrics } from "./executor-C2moGIHS.js";
1
+ import { Aa as createPluginLogger, Ar as hash, Bn as getPlugins, Cr as updateWorkspace, Dn as createUserTokenStore, Ha as readConversationEventPage, Jn as countReviewItemsNeedingUser, Si as SANDBOX_RUNTIME, Sr as listWorkspacesByRepository, Tn as isExperimentalFeatureEnabled, _r as createWorkspace, ar as canActOnReviewItem, cr as isOnlyAssignee, er as listWaitingConversations, fr as reviewItemReaderForUser, io as createPluginCache, ja as readConversationAccessFromSql, kn as webActorUserIds, kr as create, ro as lookupSlackUser, tr as searchReviewItems, vr as deleteWorkspace, wi as workspaceRepoCheckoutPath, wr as WorkspaceValidationError, xr as listWorkspaces, yr as getWorkspace } from "./projection-6dXaN0n-.js";
2
+ import { m as escapeXml } from "./client-7diKvInp.js";
3
+ import { m as logInfo, p as logException } from "./logging-B04X_eCB.js";
4
+ import { C as getSqlExecutor, D as loadConversationSlackTenantIds, S as getDb, c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarImage, t as findUserByEmail, x as getConversationStore } from "./viewer-CQwBszc7.js";
5
+ import { c as juniorIdentities, d as juniorDestinations, l as juniorUsers, s as juniorConversations } from "./agent-invocations-CUWrrzkc.js";
6
+ import { C as juniorCodeChanges, b as juniorConversationEvents, w as juniorCodeRepositories, x as juniorApiTokens, y as juniorConversationMetrics } from "./executor-BFKmqxYe.js";
7
7
  import { t as INPUT_IMAGE_TYPES } from "./media-DstkkoNP.js";
8
- import { n as pluginCatalogRuntime } from "./catalog-runtime-BnIJimKZ.js";
9
- import { $ as readViewerAutomations, At as readUserCustomization, G as readViewerAutomationEdit, H as activateViewerAutomationVersion, K as updateViewerAutomation, Q as readViewerAutomationVersions, S as createSlackReviewItemShow, St as listChildAgents, U as changeViewerAutomationLifecycle, W as deleteViewerTask, X as readViewerAutomationRuns, Y as readViewerAutomationExecutions, Z as readViewerAutomationSummary, at as acceptsWebMessages, ct as createAndEnqueueConversation, dt as webActorFromEmail, et as AutomationEditError, h as readStats, ht as readLiveAttachment, jt as saveUserCustomization, nt as listOwnedWatches, ot as appendAndEnqueueWebMessage, pt as decodeInputImages, q as ViewerTaskNotFoundError } from "./agent-runner-CLHM48dh.js";
10
- import { r as getStateAdapter } from "./adapter-4qThDhgF.js";
11
- import { A as createConversationMessageBodySchema, G as readMessageAttachments, I as conversationReadPositionSchema, M as forkConversationResponseSchema, N as steerConversationPendingMessagesBodySchema, P as steerConversationPendingMessagesResponseSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, c as conversationAttachmentParamsSchema, d as conversationDetailReportSchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, j as forkConversationBodySchema, k as createConversationBodySchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, x as conversationPendingMessagesReportSchema } from "./conversation-BjTo9ZFL.js";
12
- import { d as getEventCatalog } from "./session-stop-CI5qJU7a.js";
8
+ import { n as pluginCatalogRuntime } from "./catalog-runtime--sC2CYLQ.js";
9
+ import { $ as readViewerAutomations, Ct as listChildAgents, G as readViewerAutomationEdit, H as activateViewerAutomationVersion, K as updateViewerAutomation, Mt as saveUserCustomization, Q as readViewerAutomationVersions, S as createSlackReviewItemShow, 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-sMpA5qGM.js";
10
+ import { r as getStateAdapter } from "./adapter-DoPR2jS-.js";
11
+ import { A as createConversationMessageBodySchema, I as conversationReadPositionSchema, K as readMessageAttachments, M as forkConversationResponseSchema, N as steerConversationPendingMessagesBodySchema, P as steerConversationPendingMessagesResponseSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, c as conversationAttachmentParamsSchema, d as conversationDetailReportSchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, j as forkConversationBodySchema, k as createConversationBodySchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, x as conversationPendingMessagesReportSchema } from "./conversation-DppJ83Hw.js";
12
+ import { d as getEventCatalog } from "./session-stop-DK8LuPZW.js";
13
13
  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";
14
- import { s as getSandboxResources, t as getCachedSnapshot } from "./resolve-C-Dh14ps.js";
15
- import { a as getVercelConversationWorkQueue } from "./job-queue-Bh9sFO9t.js";
16
- import { E as steerWebPendingMessages, a as cancelHumanFacingPendingMessages, g as getConversationWorkState, h as getConversation } from "./store-BvI3yBGS.js";
17
- import { F as conversationRangeColumns, N as conversationActiveDaysColumn, P as conversationAggregateColumns, ct as AutomationConflictError, ft as automationEventCatalog, j as readAutomationTitlesByConversationId } from "./turn-session-routing-DIeqG2pO.js";
18
- import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-Bapo6l0R.js";
19
- 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-BGrd03QO.js";
14
+ import { s as getSandboxResources, t as getCachedSnapshot } from "./resolve-8I5DkrfI.js";
15
+ import { l as getVercelConversationWorkQueue } from "./background-compaction-queue-Bywqo1WJ.js";
16
+ import { E as steerWebPendingMessages, a as cancelHumanFacingPendingMessages, g as getConversationWorkState, h as getConversation } from "./store-BgH2P3X9.js";
17
+ import { F as conversationRangeColumns, N as conversationActiveDaysColumn, P as conversationAggregateColumns, ct as AutomationConflictError, ft as automationEventCatalog, j as readAutomationTitlesByConversationId } from "./turn-session-routing-DddybdNu.js";
18
+ import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-CUuVJCKT.js";
19
+ 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-B8_mC68r.js";
20
20
  import { c as pluginsSchema, d as skillReportsSchema, l as runtimeInfoReportSchema, n as healthReportSchema, r as pluginOperationalReportFeedSchema, t as apiErrorSchema } from "./common-Eu6sx09c.js";
21
- import { C as getProductionSlackAdapter, D as isAllowedSignInEmail, G as closeReviewItemsAnsweredByReply, H as parseContent, J as getAttachmentStorage, K as readReviewItemForUser, M as clearSlackPendingReactions, Q as readHealthReport, U as ReviewItemActionError, W as actOnReviewItem, _ as archiveConversation, a as readConversationFeed, b as throwApiError, c as childAgentTotalsReport, d as conversationSummaryFromStoredConversation, f as attachConversationMentions, g as encodeConversationCursor, h as decodeConversationCursor, i as forkConversationForViewer, l as readConversationTreeMetricsFromSql, m as readFirstHumanMessageTexts, n as readConversationDetail, o as readConversationRecordFromSql, p as resolveMentions, r as markConversationRead, s as readConversationAuxiliaryCostsFromSql, t as stopConversationTurnForViewer, u as conversationEventHistory, v as emptyResponse, y as jsonResponse } from "./stop-CmwFHwiN.js";
22
- import { f as legacyWebMailboxMetadataSchema } from "./result-DZ8TCQkd.js";
23
- import { a as startConnection, l as getWebAuthorization, n as isConnectableProvider, r as listConnections, t as disconnectConnection, u as htmlCallbackResponse } from "./connections-Djb6ANAh.js";
24
- 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, d as reviewItemCountSchema, f as reviewItemListQuerySchema, g as reviewItemWaitingConversationsSchema, h as reviewItemSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, m as reviewItemParamsSchema, n as statsReportSchema, o as workspaceListSchema, p as reviewItemListSchema, rt as conversationChildAgentsReportSchema, s as workspaceParamsSchema, tt as conversationWatchesReportSchema, u as reviewItemActionSchema, v as serviceAccountListSchema, w as personalTokenListSchema, x as startServiceAccountSignInResponseSchema, y as serviceAccountParamsSchema, z as activitySixHours$1 } from "./schema-CX9XGKCm.js";
21
+ import { $ as readHealthReport, G as actOnReviewItem, K as closeReviewItemsAnsweredByReply, N as clearSlackPendingReactions, O as isAllowedSignInEmail, U as parseContent, W as ReviewItemActionError, Y as getAttachmentStorage, _ as encodeConversationCursor, a as keepQuickQuestionForViewer, b as jsonResponse, c as readConversationAuxiliaryCostsFromSql, d as conversationEventHistory, f as conversationSummaryFromStoredConversation, g as decodeConversationCursor, h as readFirstHumanMessageTexts, i as forkConversationForViewer, l as childAgentTotalsReport, m as resolveMentions, n as readConversationDetail, o as readConversationFeed, p as attachConversationMentions, q as readReviewItemForUser, r as markConversationRead, s as readConversationRecordFromSql, t as stopConversationTurnForViewer, u as readConversationTreeMetricsFromSql, v as archiveConversation, w as getProductionSlackAdapter, x as throwApiError, y as emptyResponse } from "./stop-DthSy-z8.js";
22
+ import { f as legacyWebMailboxMetadataSchema } from "./result-BgAW90IM.js";
23
+ import { a as startConnection, l as getWebAuthorization, n as isConnectableProvider, r as listConnections, t as disconnectConnection, u as htmlCallbackResponse } from "./connections-C4-4fxaE.js";
24
+ 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, d as reviewItemCountSchema, f as reviewItemListQuerySchema, g as reviewItemWaitingConversationsSchema, h as reviewItemSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, m as reviewItemParamsSchema, n as statsReportSchema, o as workspaceListSchema, p as reviewItemListSchema, rt as conversationChildAgentsReportSchema, s as workspaceParamsSchema, tt as conversationWatchesReportSchema, u as reviewItemActionSchema, v as serviceAccountListSchema, w as personalTokenListSchema, x as startServiceAccountSignInResponseSchema, y as serviceAccountParamsSchema, z as activitySixHours$1 } from "./schema-Cal-EFdi.js";
25
25
  import { Hono } from "hono";
26
26
  import path from "node:path";
27
27
  import { createHash, randomBytes, randomUUID } from "node:crypto";
@@ -144,10 +144,7 @@ function parseImages(images) {
144
144
  }
145
145
  function actorFromViewer(viewer) {
146
146
  const normalized = viewer.email.trim().toLowerCase();
147
- return webActorFromEmail(normalized, {
148
- ...viewer.displayName ? { fullName: viewer.displayName } : void 0,
149
- userName: normalized.split("@")[0] || normalized
150
- });
147
+ return webActorFromUser(viewer, { userName: normalized.split("@")[0] || normalized });
151
148
  }
152
149
  /** Create a dashboard root conversation and enqueue its first message. */
153
150
  async function createConversationForViewer(viewer, body, services) {
@@ -288,7 +285,7 @@ async function steerConversationPendingMessagesForViewer(viewer, conversationId,
288
285
  return {
289
286
  conversationId,
290
287
  steeredInboundMessageIds: (await steerWebPendingMessages({
291
- authorId: webActorFromEmail(viewer.email).userId,
288
+ authorIds: webActorUserIds(viewer),
292
289
  conversationId,
293
290
  inboundMessageIds: body.inboundMessageIds
294
291
  })).steeredInboundMessageIds
@@ -368,7 +365,8 @@ async function projectPendingMessage(message, canExposePayload) {
368
365
  ...canExposePayload ? {
369
366
  actorIdentity: actorIdentityFromWebMetadata(metadata.data),
370
367
  text,
371
- ...attachments.length ? { attachments } : void 0
368
+ ...attachments.length ? { attachments } : void 0,
369
+ ...message.input.reviewItemChange ? { reviewItemChange: message.input.reviewItemChange } : void 0
372
370
  } : { redacted: true }
373
371
  };
374
372
  }
@@ -398,6 +396,7 @@ async function projectPendingMessage(message, canExposePayload) {
398
396
  role: "user",
399
397
  source: "slack",
400
398
  ...actorIdentity ? { actorIdentity } : void 0,
399
+ ...message.input.reviewItemChange ? { reviewItemChange: message.input.reviewItemChange } : void 0,
401
400
  text
402
401
  };
403
402
  }
@@ -415,6 +414,16 @@ async function attachPendingMentions(conversationId, messages) {
415
414
  mentions: mentions[index]
416
415
  } : message);
417
416
  }
417
+ /** Read the viewer's pending authorization, also one saved before a deploy. */
418
+ async function findViewerWebAuthorization(conversationId, viewer) {
419
+ for (const actorId of webActorUserIds(viewer)) {
420
+ const authorization = await getWebAuthorization({
421
+ actorId,
422
+ conversationId
423
+ });
424
+ if (authorization) return authorization;
425
+ }
426
+ }
418
427
  /**
419
428
  * Read accepted mailbox messages that have not reached durable history yet.
420
429
  *
@@ -425,12 +434,7 @@ async function readConversationPendingMessages(conversationId, options = {}) {
425
434
  if (!await getConversationStore().get({ conversationId })) return void 0;
426
435
  const access = (await readConversationAccessFromSql(getDb(), [conversationId], options.viewer)).get(conversationId);
427
436
  const canExposePayload = access?.canViewPrivateContent ?? false;
428
- const isParticipant = access?.isParticipant ?? false;
429
- const actorId = options.viewer?.email ? webActorFromEmail(options.viewer.email).userId : void 0;
430
- const authorization = isParticipant && actorId ? await getWebAuthorization({
431
- actorId,
432
- conversationId
433
- }) : void 0;
437
+ const authorization = (access?.isParticipant ?? false) && options.viewer ? await findViewerWebAuthorization(conversationId, options.viewer) : void 0;
434
438
  const pendingMessages = (await getConversation({ conversationId }))?.execution.pendingMessages ?? [];
435
439
  const messages = await attachPendingMentions(conversationId, (await Promise.all(pendingMessages.map((message) => projectPendingMessage(message, canExposePayload)))).flatMap((message, index) => {
436
440
  if (!message) return [];
@@ -825,24 +829,32 @@ async function requireConversationWatches(conversationId, options = {}) {
825
829
  if (!await getConversationStore().get({ conversationId })) throwApiError(404, "Conversation not found.");
826
830
  const [accessByConversation, owned] = await Promise.all([readConversationAccessFromSql(getDb(), [conversationId], options.viewer), listOwnedWatches(conversationId)]);
827
831
  const canExposePayload = accessByConversation.get(conversationId)?.canViewPrivateContent ?? false;
828
- const watches = owned.map(({ childAgent, watch }) => ({
829
- ...childAgent ? { childAgent: {
830
- conversationId: childAgent.conversationId,
831
- ...canExposePayload && childAgent.name ? { name: childAgent.name } : void 0
832
- } } : void 0,
833
- createdAt: new Date(watch.createdAtMs).toISOString(),
834
- events: watch.events,
835
- expiresAt: new Date(watch.expiresAtMs).toISOString(),
836
- ...watch.firesAtMs !== void 0 ? { firesAt: new Date(watch.firesAtMs).toISOString() } : void 0,
837
- id: watch.id,
838
- namespace: watch.namespace,
839
- resourceType: watch.resourceType,
840
- ...canExposePayload ? {
841
- intent: watch.intent,
842
- label: watch.label,
843
- ...watch.match ? { match: watch.match } : void 0
844
- } : { redacted: true }
845
- }));
832
+ const catalog = getEventCatalog();
833
+ const watches = owned.map(({ childAgent, watch }) => {
834
+ const url = canExposePayload ? catalog[watch.namespace]?.resourceUrl?.({
835
+ identifier: watch.identifier,
836
+ resourceType: watch.resourceType
837
+ }) : void 0;
838
+ return {
839
+ ...childAgent ? { childAgent: {
840
+ conversationId: childAgent.conversationId,
841
+ ...canExposePayload && childAgent.name ? { name: childAgent.name } : void 0
842
+ } } : void 0,
843
+ createdAt: new Date(watch.createdAtMs).toISOString(),
844
+ events: watch.events,
845
+ expiresAt: new Date(watch.expiresAtMs).toISOString(),
846
+ ...watch.firesAtMs !== void 0 ? { firesAt: new Date(watch.firesAtMs).toISOString() } : void 0,
847
+ id: watch.id,
848
+ namespace: watch.namespace,
849
+ resourceType: watch.resourceType,
850
+ ...canExposePayload ? {
851
+ intent: watch.intent,
852
+ label: watch.label,
853
+ ...watch.match ? { match: watch.match } : void 0,
854
+ ...url ? { url } : void 0
855
+ } : { redacted: true }
856
+ };
857
+ });
846
858
  return conversationWatchesReportSchema.parse({
847
859
  conversationId,
848
860
  watches
@@ -886,7 +898,8 @@ function createConversationRoutes(options) {
886
898
  const { conversationId } = context.req.valid("param");
887
899
  return jsonResponse(stopConversationTurnResponseSchema, await stopConversationTurnForViewer(viewer, conversationId, options));
888
900
  });
889
- app.post("/:conversationId/forks", requireViewer, bodyLimit({ maxSize: 4096 }), validateRequest("param", conversationParamsSchema, "Invalid route parameters."), validateRequest("json", forkConversationBodySchema, "Invalid request body."), async (context) => jsonResponse(forkConversationResponseSchema, await forkConversationForViewer(context.get("viewer"), context.req.valid("param").conversationId, context.req.valid("json"))));
901
+ app.post("/:conversationId/forks", requireViewer, bodyLimit({ maxSize: 32768 }), validateRequest("param", conversationParamsSchema, "Invalid route parameters."), validateRequest("json", forkConversationBodySchema, "Invalid request body."), async (context) => jsonResponse(forkConversationResponseSchema, await forkConversationForViewer(context.get("viewer"), context.req.valid("param").conversationId, context.req.valid("json"))));
902
+ app.post("/:conversationId/quick-question/keep", requireViewer, validateRequest("param", conversationParamsSchema, "Invalid route parameters."), async (context) => jsonResponse(forkConversationResponseSchema, await keepQuickQuestionForViewer(context.get("viewer"), context.req.valid("param").conversationId)));
890
903
  app.patch("/:conversationId/archive", requireViewer, validateRequest("param", conversationParamsSchema, "Invalid route parameters."), validateRequest("json", archiveConversationBodySchema, "Invalid request body."), async (context) => {
891
904
  const viewer = context.get("viewer");
892
905
  const { conversationId } = context.req.valid("param");
@@ -1443,29 +1456,25 @@ function createCodeRoutes() {
1443
1456
  // src/api/connections/routes.ts
1444
1457
  /**
1445
1458
  * Create authenticated routes that list, connect, and disconnect the viewer's
1446
- * plugin accounts. Connections belong to the viewer's web actor, which is the
1447
- * credential subject for the viewer's web Conversations.
1459
+ * plugin accounts. Connections belong to the viewer's User id, which is the
1460
+ * web Actor id and the credential subject for the viewer's web Conversations.
1448
1461
  */
1449
1462
  function createConnectionRoutes() {
1450
1463
  const app = new Hono();
1451
1464
  app.get("/", requireViewer, async (context) => {
1452
- const actor = webActorFromEmail(context.get("viewer").email);
1453
- return jsonResponse(connectionListSchema, { connections: await listConnections(actor.userId, createUserTokenStore()) });
1465
+ return jsonResponse(connectionListSchema, { connections: await listConnections(context.get("viewer").id, createUserTokenStore()) });
1454
1466
  });
1455
1467
  app.post("/:provider", requireViewer, validateRequest("param", connectionParamsSchema, "Invalid provider."), async (context) => {
1456
1468
  const { provider } = context.req.valid("param");
1457
1469
  if (!isConnectableProvider(provider)) throwApiError(404, "Connection not found.");
1458
- const viewer = context.get("viewer");
1459
- const result = await startConnection(provider, webActorFromEmail(viewer.email, { ...viewer.displayName ? { fullName: viewer.displayName } : void 0 }));
1470
+ const result = await startConnection(provider, webActorFromUser(context.get("viewer")));
1460
1471
  if (!result.ok) throwApiError(503, result.error);
1461
1472
  return jsonResponse(startConnectionResponseSchema, { authorizationUrl: result.authorizationUrl });
1462
1473
  });
1463
1474
  app.delete("/:provider", requireViewer, validateRequest("param", connectionParamsSchema, "Invalid provider."), async (context) => {
1464
1475
  const { provider } = context.req.valid("param");
1465
1476
  if (!isConnectableProvider(provider)) throwApiError(404, "Connection not found.");
1466
- const viewer = context.get("viewer");
1467
- const actor = webActorFromEmail(viewer.email);
1468
- await disconnectConnection(actor.userId, provider, createUserTokenStore(), viewer.id);
1477
+ await disconnectConnection(context.get("viewer").id, provider, createUserTokenStore());
1469
1478
  logInfo("dashboard.credential.unlinked", { "app.credential.provider": provider });
1470
1479
  return jsonResponse(disconnectConnectionResponseSchema, { disconnected: true });
1471
1480
  });
@@ -2239,7 +2248,7 @@ async function readPeoplePluginReports(args) {
2239
2248
  reports: [],
2240
2249
  source: "plugins"
2241
2250
  });
2242
- const { getPluginProfileReports } = await import("./projection-CMRrv9Pt.js").then((n) => n.Tn);
2251
+ const { getPluginProfileReports } = await import("./projection-6dXaN0n-.js").then((n) => n.Mn);
2243
2252
  return pluginOperationalReportFeedSchema.parse({
2244
2253
  generatedAt: new Date(nowMs).toISOString(),
2245
2254
  reports: await getPluginProfileReports({
@@ -3267,7 +3276,7 @@ function readDescriptionText(home) {
3267
3276
  }
3268
3277
  /** Read discovered skill names for authenticated runtime diagnostics. */
3269
3278
  async function readSkillReports() {
3270
- const { discoverSkills } = await import("./skills-D-d79XQ6.js").then((n) => n.o);
3279
+ const { discoverSkills } = await import("./skills-Bc0D7BGy.js").then((n) => n.o);
3271
3280
  const skills = await discoverSkills();
3272
3281
  return skillReportsSchema.parse(skills.map((skill) => ({
3273
3282
  name: skill.name,
@@ -3276,7 +3285,7 @@ async function readSkillReports() {
3276
3285
  }
3277
3286
  /** Read safe configured plugin metadata for authenticated runtime diagnostics. */
3278
3287
  async function readPlugins() {
3279
- const { pluginCatalogRuntime } = await import("./catalog-runtime-BnIJimKZ.js").then((n) => n.t);
3288
+ const { pluginCatalogRuntime } = await import("./catalog-runtime--sC2CYLQ.js").then((n) => n.t);
3280
3289
  return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
3281
3290
  configKeys: plugin.manifest.configKeys ?? [],
3282
3291
  description: plugin.manifest.description,
@@ -3288,7 +3297,7 @@ async function readPlugins() {
3288
3297
  async function readRuntimeInfoReport() {
3289
3298
  const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
3290
3299
  import("./package-discovery-DJBompdd.js").then((n) => n.r),
3291
- import("./catalog-runtime-BnIJimKZ.js").then((n) => n.t),
3300
+ import("./catalog-runtime--sC2CYLQ.js").then((n) => n.t),
3292
3301
  readPlugins(),
3293
3302
  readSkillReports()
3294
3303
  ]);
@@ -3305,7 +3314,7 @@ async function readRuntimeInfoReport() {
3305
3314
  /** Read sanitized operational summaries contributed by plugins. */
3306
3315
  async function readPluginOperationalReportFeed() {
3307
3316
  const nowMs = Date.now();
3308
- const { getPluginOperationalReports } = await import("./projection-CMRrv9Pt.js").then((n) => n.Tn);
3317
+ const { getPluginOperationalReports } = await import("./projection-6dXaN0n-.js").then((n) => n.Mn);
3309
3318
  return pluginOperationalReportFeedSchema.parse({
3310
3319
  source: "plugins",
3311
3320
  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-BMZhoYKj.js";
3
- import "./schema-DfdHlBnb.js";
2
+ import { t as ConversationStore } from "./db-Ck6TXQIx.js";
3
+ import "./schema-CaUWl2EV.js";
4
4
  import { n as JuniorPluginSet } from "./plugins-B_0Cr0MO.js";
5
5
  import { Hono } from "hono";
6
6
  import "@earendil-works/pi-ai/compat";
@@ -104,6 +104,17 @@ declare const pluginTaskQueueMessageSchema: z.ZodObject<{
104
104
  plugin: z.ZodString;
105
105
  }, z.core.$strict>;
106
106
  type PluginTaskQueueMessage = z.output<typeof pluginTaskQueueMessageSchema>;
107
+ declare const backgroundCompactionMessageSchema: z.ZodObject<{
108
+ conversationId: z.ZodString;
109
+ historyVersion: z.ZodNumber;
110
+ markSeq: z.ZodNumber;
111
+ }, z.core.$strict>;
112
+ /** One background compaction job: the request that it prepares a summary for. */
113
+ type BackgroundCompactionMessage = z.output<typeof backgroundCompactionMessageSchema>;
114
+ /** Sends background compaction jobs. Tests and evals can run them in process. */
115
+ interface BackgroundCompactionQueue {
116
+ send(message: BackgroundCompactionMessage): Promise<void>;
117
+ }
107
118
  /** Canonical durable mailbox entry owned by task execution. */
108
119
  declare const inboundMessageSchema: z.ZodObject<{
109
120
  attemptCount: z.ZodOptional<z.ZodNumber>;
@@ -129,6 +140,14 @@ declare const inboundMessageSchema: z.ZodObject<{
129
140
  authorId: z.ZodOptional<z.ZodString>;
130
141
  authorIdentityId: z.ZodOptional<z.ZodString>;
131
142
  metadata: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodUnknown>>;
143
+ reviewItemChange: z.ZodOptional<z.ZodObject<{
144
+ kind: z.ZodEnum<{
145
+ dismissed: "dismissed";
146
+ submitted: "submitted";
147
+ taken: "taken";
148
+ }>;
149
+ reviewItemId: z.ZodString;
150
+ }, z.core.$strict>>;
132
151
  text: z.ZodString;
133
152
  }, z.core.$strict>;
134
153
  receivedAtMs: z.ZodNumber;
@@ -294,6 +313,11 @@ interface JuniorAppOptions extends BotModelConfig {
294
313
  pluginTaskQueue?: (consume: (message: PluginTaskQueueMessage) => Promise<void>) => {
295
314
  send(message: PluginTaskQueueMessage): Promise<void>;
296
315
  };
316
+ /**
317
+ * Replace the Vercel Queue transport for background compaction jobs, for
318
+ * example with an in-process queue. `consume` runs one job.
319
+ */
320
+ backgroundCompactionQueue?: (consume: (message: BackgroundCompactionMessage) => Promise<void>) => BackgroundCompactionQueue;
297
321
  /** Direct plugin set override. Usually omitted when `juniorNitro()` uses a plugin module. */
298
322
  plugins?: JuniorPluginSet;
299
323
  /** Sandbox execution options. */
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-BlmPpPoR.js";
1
+ import { a as ModelProfileInput, i as JuniorDashboardOptions, n as JuniorAppOptions, r as createApp, t as JuniorApp } from "./app-DTj-yAQt.js";
2
2
  import { i as defineJuniorPlugins, n as JuniorPluginSet, r as JuniorPluginSetOptions, t as JuniorPluginInput } from "./plugins-B_0Cr0MO.js";
3
3
  import { t as JUNIOR_VERSION } from "./version-Cc2OFd9G.js";
4
4
  export { JUNIOR_VERSION, JuniorApp, JuniorAppOptions, type JuniorDashboardOptions, type JuniorPluginInput, type JuniorPluginSet, type JuniorPluginSetOptions, type ModelProfileInput, createApp, defineJuniorPlugins };