@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.
- package/dist/{adapter-BtfBHVM5.js → adapter-BXosqTMx.js} +1 -1
- package/dist/{admin-DzAKbZsm.js → admin-Thn7NfOi.js} +1 -1
- package/dist/{agent-invocations-Crs3XHhg.js → agent-invocations-D7c4BQGc.js} +1 -1
- package/dist/{agent-runner-BsYAbniN.js → agent-runner-DE-43MPb.js} +268 -835
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +5 -5
- package/dist/api.d.ts +1 -1
- package/dist/api.js +38 -76
- package/dist/{app-BjEQwNVP.d.ts → app-CHNS-AX2.d.ts} +5 -26
- package/dist/app.d.ts +2 -2
- package/dist/app.js +30 -31
- package/dist/{assistant-reply-NebRGG4G.js → assistant-reply-pauL6qyn.js} +28 -6
- package/dist/{automation-Cql9h2vO.js → automation-DphoTRYl.js} +1 -1
- package/dist/{background-compaction-queue-hh18yCeU.js → background-compaction-queue-CAL4A2y7.js} +2 -2
- package/dist/{briefs-BBo0Eimi.js → briefs-4fyPJJEu.js} +5 -6
- package/dist/{catalog-runtime-DE-F4Awo.js → catalog-runtime-BoOb5oUv.js} +1 -1
- package/dist/cli/chat.js +14 -14
- package/dist/cli/check.js +3 -3
- package/dist/cli/init.js +0 -2
- package/dist/cli/main.js +3 -3
- package/dist/cli/plugins.js +4 -4
- package/dist/cli/snapshot-create.js +4 -4
- package/dist/cli/upgrade.d.ts +1 -1
- package/dist/cli/upgrade.js +3 -3
- package/dist/{client-DZ8HTnYH.js → client-v_OVYuHZ.js} +3 -3
- package/dist/{config-D5uUtrCP.js → config-o2jLRY5J.js} +24 -99
- package/dist/{connections-Do24CGP5.js → connections-RC4NXAx8.js} +10 -10
- package/dist/{conversation-SsASlWL7.js → conversation-CZfyQvdm.js} +51 -104
- package/dist/{conversation-privacy-VuylvlKr.js → conversation-privacy-C23M8KaD.js} +1 -1
- package/dist/{credential-sync-BGQK3pOa.js → credential-sync-Dd0WyNfF.js} +13 -13
- package/dist/{db-DEiwO5Sh.d.ts → db-BjLzDJCt.d.ts} +1 -1
- package/dist/{executor-hPfFTH0C.js → executor-CJfsD0VX.js} +3 -3
- package/dist/instrumentation.js +2 -2
- package/dist/{logging-cI3T1dNc.js → logging-dFaXvBRK.js} +1 -1
- package/dist/{media-DstkkoNP.js → media-DTAA8Qs_.js} +21 -23
- package/dist/{message-DBwsAl7O.js → message-DSwxIZet.js} +22 -28
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +3 -3
- package/dist/{oauth-callback-server-DXrnbplb.js → oauth-callback-server-CDcuCp27.js} +2 -2
- package/dist/{projection-7EFIqzuj.js → projection-BTge9wrH.js} +106 -108
- package/dist/{prompt-oRfGsxd3.js → prompt-DDtCnlHP.js} +1 -1
- package/dist/{registry-Bzefs7kT.js → registry-Cp6CNmtP.js} +1 -1
- package/dist/{resolve-CuiEY_2u.js → resolve-B_7h2cXx.js} +3 -3
- package/dist/{result-DrcUtFaD.js → result-5LBEfnLX.js} +9 -9
- package/dist/{runner-CDE4CZ52.js → runner-C5-S4oq-.js} +11 -11
- package/dist/{sandbox-egress-signals-0tcmGd13.js → sandbox-egress-signals-B4GehT1L.js} +1 -1
- package/dist/{schema-Dzi3lkdP.js → schema-B5fpczDw.js} +67 -4
- package/dist/{schema-B6N2nc6v.d.ts → schema-Tr484cCC.d.ts} +909 -687
- package/dist/{service-account-DIyz_9Uh.js → service-account-BkEv20zf.js} +3 -3
- package/dist/{service-account-BOz9pqOE.js → service-account-Cq_dLrZJ.js} +3 -3
- package/dist/{session-stop-0juF_BP0.js → session-stop-BsS4qFS2.js} +22 -15
- package/dist/{skills-CU5Is147.js → skills-M0BA0_s6.js} +2 -2
- package/dist/{spawn-6C9jHH4b.js → spawn-BO3y7H4d.js} +2 -3
- package/dist/{stop-6FVG1c-r.js → stop-D5R82Wla.js} +255 -64
- package/dist/{store-DtHZviJ1.js → store-BGBzQWNf.js} +9 -16
- package/dist/{store-DKs1WwdB.js → store-CGJZTEVz.js} +3 -3
- package/dist/{task-queue-CcvFQE_p.js → task-queue-UD27ei2U.js} +3 -3
- package/dist/{task-runner-DBkNejLl.js → task-runner-noxjOjkM.js} +7 -7
- package/dist/{thread-state-4hjEIkIq.js → thread-state-BSu6rM6p.js} +4 -4
- package/dist/{turn-failure-response-BZNLydC3.js → turn-failure-response-wahwyPrZ.js} +7 -7
- package/dist/{turn-lifecycle-BhqYjaa4.js → turn-lifecycle-Bo4Trccw.js} +1 -1
- package/dist/{turn-session-routing-jnLOfBHJ.js → turn-session-routing-DnSaaEpn.js} +10 -10
- package/dist/{validation-BUFmsnKs.js → validation-B9-8iKyw.js} +1 -1
- package/dist/{version-DJTk0ZCE.js → version-C7HejFP2.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-WY0RYE4E.js → viewer-DLXajQZE.js} +52 -21
- package/dist/{work-C5AKvXJV.js → work-DRGSlfia.js} +12 -17
- package/dist/{worker-BcYVDVUy.js → worker-BGh5Dwc6.js} +6 -6
- package/migrations/meta/0075_snapshot.json +98 -314
- package/migrations/meta/0076_snapshot.json +98 -314
- package/migrations/meta/_journal.json +1 -1
- package/package.json +4 -4
- package/dist/model-profile-B998sjVd.js +0 -67
package/dist/api/schema.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as automationExecutionSchema, $n as
|
|
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 };
|
package/dist/api/schema.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as conversationTurnFailureReasonSchema, s as conversationTurnFailureCodeSchema, t as INPUT_IMAGE_TYPES } from "../media-
|
|
2
|
-
import {
|
|
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-
|
|
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
|
|
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
package/dist/api.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { m as escapeXml } from "./client-
|
|
3
|
-
import { m as logInfo, p as logException } from "./logging-
|
|
4
|
-
import { t as JUNIOR_VERSION } from "./version-
|
|
5
|
-
import {
|
|
6
|
-
import { c as juniorIdentities, d as juniorDestinations, l as juniorUsers, s as juniorConversations } from "./agent-invocations-
|
|
7
|
-
import { C as juniorCodeChanges, b as juniorConversationEvents, h as juniorConversationParticipants, w as juniorCodeRepositories, x as juniorApiTokens, y as juniorConversationMetrics } from "./executor-
|
|
8
|
-
import { t as INPUT_IMAGE_TYPES } from "./media-
|
|
9
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
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-
|
|
11
|
-
import { r as getStateAdapter } from "./adapter-
|
|
12
|
-
import {
|
|
13
|
-
import { d as getEventCatalog } from "./session-stop-
|
|
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-
|
|
16
|
-
import { l as getVercelConversationWorkQueue } from "./background-compaction-queue-
|
|
17
|
-
import { E as steerWebPendingMessages, a as cancelHumanFacingPendingMessages, g as getConversationWorkState, h as getConversation } from "./store-
|
|
18
|
-
import { F as conversationRangeColumns, N as conversationActiveDaysColumn, P as conversationAggregateColumns, ct as AutomationConflictError, ft as automationEventCatalog, j as readAutomationTitlesByConversationId } from "./turn-session-routing-
|
|
19
|
-
import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-
|
|
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-
|
|
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 {
|
|
23
|
-
import { f as legacyWebMailboxMetadataSchema } from "./result-
|
|
24
|
-
import { a as startConnection, l as getWebAuthorization, n as isConnectableProvider, r as listConnections, t as disconnectConnection, u as htmlCallbackResponse } from "./connections-
|
|
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,
|
|
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
|
|
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 {
|
|
976
|
+
const { limit, ...boundary } = context.req.valid("query");
|
|
1013
977
|
const viewer = context.get("viewer");
|
|
1014
|
-
const report = await readConversationEvents(conversationId,
|
|
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
|
-
|
|
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,
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
3
|
-
import "./schema-
|
|
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 {
|
|
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 {
|
|
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,
|
|
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 {
|
|
2
|
-
import { d as restoreRuntimeConfig, f as setBotModelConfig,
|
|
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-
|
|
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-
|
|
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,
|
|
8
|
-
import { a as juniorAgentInvocations, d as juniorDestinations, i as juniorAgentBindings, s as juniorConversations } from "./agent-invocations-
|
|
9
|
-
import { _ as juniorConversationBriefs, b as juniorConversationEvents, c as juniorReviewItems, d as juniorAutomations, l as juniorAutomationRuns } from "./executor-
|
|
10
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
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-
|
|
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-
|
|
13
|
+
import { r as getStateAdapter, t as disconnectStateAdapter } from "./adapter-BXosqTMx.js";
|
|
14
14
|
import { n as getNextRunAtMs } from "./cadence-R7Em4RjE.js";
|
|
15
|
-
import {
|
|
16
|
-
import { S as listPendingAgentInvocationResults, x as listPendingAgentInvocationMailboxAppends } from "./store-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
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-
|
|
23
|
-
import { M as scheduledRunSchema, l as automationListQuerySchema, s as automationExecutionStatusSchema } from "./automation-
|
|
24
|
-
import { n as validatePluginRegistrations, t as validatePluginEgressCredentialHooks } from "./validation-
|
|
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 {
|
|
27
|
-
import { n as enqueueAgentInvocationResult, o as getAuthPausedConversationTurnId } from "./result-
|
|
28
|
-
import { i as enqueueAgentInvocation, r as endAgentInvocationsOfStoppedWork } from "./work-
|
|
29
|
-
import { o as coerceThreadConversationState } from "./thread-state-
|
|
30
|
-
import { o as unlinkProvider } from "./connections-
|
|
31
|
-
import { a as GET$5, i as publishAppHomeView, r as GET$6, t as receiveLocalOAuthCredential } from "./credential-sync-
|
|
32
|
-
import { a as pluginTaskQueueConsumer, c as queueCallback, n as createVercelPluginTaskCallback, o as registerVercelPluginTaskDevConsumer } from "./task-queue-
|
|
33
|
-
import { t as processConversationWork } from "./worker-
|
|
34
|
-
import { t as bindMessageAgent } from "./message-
|
|
35
|
-
import { t as bindSpawnAgent } from "./spawn-
|
|
36
|
-
import { t as processPluginTask } from "./task-runner-
|
|
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 {
|
|
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
|
-
*
|
|
6
|
-
*
|
|
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
|
-
|
|
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
|
-
|
|
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 {
|
|
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 {
|
|
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
|
package/dist/{background-compaction-queue-hh18yCeU.js → background-compaction-queue-CAL4A2y7.js}
RENAMED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { i as getChatConfig } from "./config-
|
|
2
|
-
import { E as withSpan, m as logInfo, p as logException } from "./logging-
|
|
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";
|