@sentry/junior 0.269.0 → 0.270.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-2-CG25be.js → adapter-BQNTKVTF.js} +1 -1
- package/dist/{admin-DSs8S5Uy.js → admin-CKVEoXa4.js} +1 -1
- package/dist/{agent-runner-CrDrPUtY.js → agent-runner-MSQSMFkq.js} +1159 -254
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +6 -6
- package/dist/api.d.ts +1 -1
- package/dist/api.js +61 -31
- package/dist/{app-BrMMzjYm.d.ts → app-Bz8t4P8p.d.ts} +3 -3
- package/dist/app.d.ts +1 -1
- package/dist/app.js +40 -34
- package/dist/{automation-p87hg_AV.js → automation-Dwh_xcqM.js} +1 -1
- package/dist/{briefs-PtODdLNu.js → briefs-DNFzFFVx.js} +5 -5
- package/dist/{catalog-runtime-BsoSmTM0.js → catalog-runtime-Bdym_wKy.js} +1 -1
- package/dist/cli/chat.js +14 -14
- package/dist/cli/check.js +3 -3
- 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-Cqf4TboL.js → client-B2MjENki.js} +13 -3
- package/dist/{config-CPsE4T5L.js → config-Dm3pWRqY.js} +3 -3
- package/dist/{connections-upFXLmhG.js → connections-0BBhiD-p.js} +10 -10
- package/dist/{conversation-CTpD_PGk.js → conversation-AhOVzN_k.js} +5 -3
- package/dist/{conversation-privacy-D6zJc8ff.js → conversation-privacy-C1pJ89rs.js} +1 -1
- package/dist/{credential-sync-CS_6IC-f.js → credential-sync-BRiWYs6_.js} +14 -14
- package/dist/{credentialed-BU-OW7HP.js → credentialed-BeBaJMZ_.js} +29 -24
- package/dist/{db-BzOCzVb1.d.ts → db-BYOuu6v2.d.ts} +1 -1
- package/dist/{executor-CNS7ONt-.js → executor-BB6eJkD4.js} +2 -2
- package/dist/instrumentation.js +2 -2
- package/dist/{interruption-marker-g6Xup3Fk.js → interruption-marker-CdblrIQK.js} +1 -1
- package/dist/{job-queue-DI-k-Bbk.js → job-queue-DiaXoSDg.js} +2 -2
- package/dist/{list-CGoQdXTp.js → list-BTDRxkOg.js} +167 -35
- package/dist/{logging-n7knse-O.js → logging-C6EdT6PP.js} +1 -1
- package/dist/{media-85PDJxO_.js → media-U6Tuz6Mi.js} +1 -1
- package/dist/{message-BpaWd8TT.js → message-DsjiWRVg.js} +4 -4
- package/dist/{model-profile-Bg8EoCKD.js → model-profile-B998sjVd.js} +9 -2
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +5 -3
- package/dist/{oauth-callback-server-CpGmEw_i.js → oauth-callback-server-CjFFVGqa.js} +2 -2
- package/dist/{prompt-BlQB0QQt.js → prompt-BPSdXYXV.js} +1 -1
- package/dist/{registry-By36_xsm.js → registry-CndmkP2P.js} +1 -1
- package/dist/{reporting-window-CVarfId9.js → reporting-window-DRCi1Ls_.js} +10 -1
- package/dist/{resolve-CUIBcdPd.js → resolve-BkAA1wH7.js} +3 -3
- package/dist/{result-BemsOMOO.js → result-9TJTpuYP.js} +9 -9
- package/dist/{runner-BVok7PAA.js → runner-BmKLSyJm.js} +11 -11
- package/dist/{sandbox-egress-signals-BSUWQI95.js → sandbox-egress-signals-CjLaogMo.js} +1 -1
- package/dist/{schema-ChnFo5f2.js → schema-DNLJ_MzW.js} +3 -3
- package/dist/{schema-jK4-1u_H.d.ts → schema-WayPSHFu.d.ts} +24 -1
- package/dist/{service-account-DHvlLnZw.js → service-account-D6e9cVmH.js} +3 -3
- package/dist/{service-account-hMmESDcr.js → service-account-DlhYl-Mu.js} +3 -3
- package/dist/{session-stop-BQW_iFcd.js → session-stop-MZRgYqYH.js} +20 -12
- package/dist/{skills-DmJJIuLF.js → skills-BggTR_ue.js} +2 -2
- package/dist/{spawn-ChCm46i-.js → spawn-DmtlcAT_.js} +2 -2
- package/dist/{store-DCo2n5iJ.js → store-BeWGgaMA.js} +3 -3
- package/dist/{store-1DVhoKOL.js → store-Byarin7b.js} +4 -4
- package/dist/{task-queue-HMC4QjFm.js → task-queue-Dt1_ZoI_.js} +3 -3
- package/dist/{task-runner-cA6yjn_E.js → task-runner-DyKqAPpm.js} +7 -7
- package/dist/{thread-state-CHy8LS0C.js → thread-state-BHBLMvgb.js} +5 -5
- package/dist/{turn-failure-response-Dr7erLWs.js → turn-failure-response-DWXy_0oJ.js} +9 -9
- package/dist/{turn-lifecycle-bf2fIYi_.js → turn-lifecycle-AiXkVqCB.js} +1 -1
- package/dist/{turn-session-routing-BqO0qXLk.js → turn-session-routing-B9KLBhaT.js} +25 -18
- package/dist/{validation-DHR1ivfh.js → validation-BW60Vtx_.js} +1 -1
- package/dist/{version-CXCHLgWm.js → version-CivPYmkH.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-DSbD6DF6.js → viewer-BTgAfdUg.js} +26 -11
- package/dist/{work-BE_qTYGi.js → work-Bjm52fHo.js} +11 -11
- package/dist/{worker-Cm9_sWXg.js → worker-CMbgtHLu.js} +6 -6
- package/package.json +5 -4
package/dist/api/schema.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as automationExecutionStatusDaySchema, $n as ConversationReportEvent, $r as codePersonReportSchema, $t as LocationSummaryReport, A as StatsReport, An as ConversationStatsReport, Ar as conversationPendingMessageSchema, At as createPersonalTokenBodySchema, B as AutomationRun, Bn as ConversationActivityPreview, Br as steerConversationPendingMessagesResponseSchema, Bt as startServiceAccountSignInResponseSchema, C as pluginPackageContentReportSchema, Cn as ConversationChildAgentsReport, Cr as conversationEventPageSchema, Ct as workspaceListSchema, D as skillReportSchema, Dn as stopConversationTurnResponseSchema, Dr as conversationParamsSchema, Dt as USER_CUSTOMIZATION_MAX_CHARS, E as runtimeInfoReportSchema, En as StopConversationTurnResponse, Er as conversationFeedSchema, Et as workspaceSchema, F as AutomationExecutionDay, Fn as ActorIdentity, Fr as createConversationBodySchema, Ft as revokePersonalTokenResponseSchema, G as AutomationUpdate, Gn as ConversationEventHistory, Gr as CodeOverviewReport, Gt as startConnectionResponseSchema, H as AutomationRunWindows, Hn as ConversationAuxiliaryCosts, Hr as conversationTurnFailureReasonSchema, Ht as connectionParamsSchema, I as AutomationExecutionList, In as ArchiveConversationBody, Ir as createConversationMessageBodySchema, It as disconnectServiceAccountResponseSchema, J as automationEditErrorSchema, Jn as ConversationModelUsage, Jr as CodeRepositorySummary, Jt as LocationActivityDayReport, K as AutomationVersionList, Kn as ConversationEventPage, Kr as CodePersonReport, Kt as ApiError, L as AutomationExecutionStatusDay, Ln as ArchiveConversationResponse, Lr as forkConversationBodySchema, Lt as serviceAccountListSchema, M as statsReportSchema, Mn as GuardianStats, Mr as conversationReportEventDataSchema, Mt as personalTokenListSchema, N as AutomationEdit, Nn as conversationStatsReportSchema, Nr as conversationReportEventSchema, Nt as personalTokenMetadataSchema, O as skillReportsSchema, On as ConversationMetricDay, Or as conversationPendingAuthorizationSchema, Ot as userCustomizationSchema, P as AutomationExecution, Pn as AcceptedConversationMessage, Pr as conversationSummaryReportSchema, Pt as personalTokenParamsSchema, Q as automationExecutionSchema, Qn as ConversationPendingMessagesReport, Qr as codeOverviewReportSchema, Qt as LocationParams, R as AutomationList, Rn as CancelConversationPendingMessagesBody, Rr as forkConversationResponseSchema, Rt as serviceAccountParamsSchema, S as pluginPackageContentItemReportSchema, Si 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 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 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, 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, 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 automationExecutionStatusDaySchema, $n as ConversationReportEvent, $r as codePersonReportSchema, $t as LocationSummaryReport, A as StatsReport, An as ConversationStatsReport, Ar as conversationPendingMessageSchema, At as createPersonalTokenBodySchema, B as AutomationRun, Bn as ConversationActivityPreview, Br as steerConversationPendingMessagesResponseSchema, Bt as startServiceAccountSignInResponseSchema, C as pluginPackageContentReportSchema, Ci as INPUT_IMAGE_TYPES, Cn as ConversationChildAgentsReport, Cr as conversationEventPageSchema, Ct as workspaceListSchema, D as skillReportSchema, Dn as stopConversationTurnResponseSchema, Dr as conversationParamsSchema, Dt as USER_CUSTOMIZATION_MAX_CHARS, E as runtimeInfoReportSchema, En as StopConversationTurnResponse, Er as conversationFeedSchema, Et as workspaceSchema, F as AutomationExecutionDay, Fn as ActorIdentity, Fr as createConversationBodySchema, Ft as revokePersonalTokenResponseSchema, G as AutomationUpdate, Gn as ConversationEventHistory, Gr as CodeOverviewReport, Gt as startConnectionResponseSchema, H as AutomationRunWindows, Hn as ConversationAuxiliaryCosts, Hr as conversationTurnFailureReasonSchema, Ht as connectionParamsSchema, I as AutomationExecutionList, In as ArchiveConversationBody, Ir as createConversationMessageBodySchema, It as disconnectServiceAccountResponseSchema, J as automationEditErrorSchema, Jn as ConversationModelUsage, Jr as CodeRepositorySummary, Jt as LocationActivityDayReport, K as AutomationVersionList, Kn as ConversationEventPage, Kr as CodePersonReport, Kt as ApiError, L as AutomationExecutionStatusDay, Ln as ArchiveConversationResponse, Lr as forkConversationBodySchema, Lt as serviceAccountListSchema, M as statsReportSchema, Mn as GuardianStats, Mr as conversationReportEventDataSchema, Mt as personalTokenListSchema, N as AutomationEdit, Nn as conversationStatsReportSchema, Nr as conversationReportEventSchema, Nt as personalTokenMetadataSchema, O as skillReportsSchema, On as ConversationMetricDay, Or as conversationPendingAuthorizationSchema, Ot as userCustomizationSchema, P as AutomationExecution, Pn as AcceptedConversationMessage, Pr as conversationSummaryReportSchema, Pt as personalTokenParamsSchema, Q as automationExecutionSchema, Qn as ConversationPendingMessagesReport, Qr as codeOverviewReportSchema, Qt as LocationParams, R as AutomationList, Rn as CancelConversationPendingMessagesBody, Rr as forkConversationResponseSchema, Rt as serviceAccountParamsSchema, S as pluginPackageContentItemReportSchema, Si as MessageAttachment, Sn as ConversationChildAgent, Sr as conversationEventHistorySchema, St as workspaceBodySchema, T as pluginsSchema, Tn as conversationChildAgentsReportSchema, Tr as conversationFeedQuerySchema, Tt as workspaceRepoSchema, U as AutomationScheduleIntent, Un as ConversationCost, Ur as CodeActivityDay, Ut as connectionSchema, V as AutomationRunList, Vn as ConversationAgentTreeNode, Vr as conversationTurnFailureCodeSchema, Vt as connectionListSchema, W as AutomationSummary, Wn as ConversationDetailReport, Wr as CodeChangeSummaryReport, Wt as disconnectConnectionResponseSchema, X as automationEventCatalogSchema, Xn as ConversationPendingMessage, Xr as codeChangeSummaryReportSchema, Xt as LocationDetailReport, Y as automationEditSchema, Yn as ConversationParams, Yr as codeActivityDaySchema, Yt as LocationActorSummaryReport, Z as automationExecutionListSchema, Zn as ConversationPendingMessageDelivery, Zr as codeChangeSummarySchema, Zt as LocationDirectoryReport, _ as SkillReport, _i as normalizeUserInputAnswer, _n as personalSpendReportSchema, _r as cancelConversationPendingMessagesResponseSchema, _t as BaselineSnapshotReport, a as reviewItemCountSchema, ai as DailyConversationActivity, an as ActorDirectoryReport, ar as ConversationSurface, at as automationRunSchema, b as pluginOperationalReportFeedSchema, bi as MAX_INPUT_IMAGES, bn as conversationWatchSchema, br as conversationDetailQuerySchema, bt as baselineSnapshotSchema, c as reviewItemWaitingConversationsSchema, ci as messageCardText, cn as ActorSummaryReport, cr as ConversationUsage, ct as automationSchedulePreviewSchema, d as PluginOperationalReport, di as USER_INPUT_NOTE, dn as PeopleActivityDayReport, dr as SteerConversationPendingMessagesBody, dt as automationVersionActivateSchema, ei as codeRepositoryParamsSchema, en as locationActivityDayReportSchema, er as ConversationReportEventData, et as automationExecutionStatusSchema, f as PluginOperationalReportFeed, fi as UserInputAnswer, fn as PersonParams, fr as SteerConversationPendingMessagesResponse, ft as automationVersionListSchema, g as RuntimeInfoReport, gi as isEmptyUserInputAnswer, gn as personParamsSchema, gr as cancelConversationPendingMessagesBodySchema, gt as scheduledAutomationSummarySchema, h as Plugins, hi as buttonUserInputField, hn as actorProfileReportSchema, hr as archiveConversationResponseSchema, ht as eventAutomationSummarySchema, i as reviewItemActionSchema, ii as conversationChildAgentTotalsSchema, in as ActorActivityDayReport, ir as ConversationSummaryReport, it as automationRunListSchema, j as statSchema, jn as GuardianMetricDay, jr as conversationPendingMessagesReportSchema, jt as createdPersonalTokenSchema, k as StatReport, kn as ConversationStatsItem, kr as conversationPendingMessageDeliverySchema, kt as PersonalTokenMetadata, l as HealthReport, li as resolveMessageCards, ln as ActorTotalsReport, lr as CreateConversationBody, lt as automationSummarySchema, m as PluginPackageContentReport, mi as UserInputRequest, mn as actorDirectoryReportSchema, mr as archiveConversationBodySchema, mt as automationVersionSchema, n as ReviewItemActionBody, ni as codeRepositorySummarySchema, nn as locationDirectoryReportSchema, nr as ConversationReportStatus, nt as automationListSchema, o as reviewItemListSchema, oi as dailyConversationActivitySchema, on as ActorDirectoryWindows, or as ConversationTurnFailureCode, ot as automationRunWindowsSchema, p as PluginPackageContentItemReport, pi as UserInputField, pn as PersonalSpendReport, pr as acceptedConversationMessageSchema, pt as automationVersionParamsSchema, q as ListedAutomationVersion, qn as ConversationFeed, qr as CodeRepositoryReport, qt as apiErrorSchema, r as ReviewItemPayload, ri as ConversationChildAgentTotals, rn as locationParamsSchema, rr as ConversationSourceTask, rt as automationParamsSchema, s as reviewItemSchema, si as MessageCard, sn as ActorProfileReport, sr as ConversationTurnFailureReason, st as automationScheduleIntentSchema, t as OwnedObjectAnnotation, ti as codeRepositoryReportSchema, tn as locationDetailReportSchema, tr as ConversationReportMessageEvent, tt as automationListQuerySchema, u as Plugin, ui as AutomationCard, un as ActorWindowMetrics, ur as CreateConversationMessageBody, ut as automationUpdateSchema, v as SkillReports, vi as webMessageId, vn as ConversationWatch, vr as conversationActivityPreviewSchema, vt as WorkspaceListReport, w as pluginSchema, wn as conversationChildAgentSchema, wr as conversationEventsQuerySchema, wt as workspaceParamsSchema, x as pluginOperationalReportSchema, xi as MAX_INPUT_IMAGE_BYTES, xn as conversationWatchesReportSchema, xr as conversationDetailReportSchema, xt as deleteWorkspaceResponseSchema, y as healthReportSchema, yi as InputImage, yn as ConversationWatchesReport, yr as conversationAuxiliaryCostsSchema, yt as WorkspaceReport, z as AutomationListQuery, zn as CancelConversationPendingMessagesResponse, zr as steerConversationPendingMessagesBodySchema, zt as serviceAccountSchema } from "../schema-WayPSHFu.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 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, 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/schema.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as conversationTurnFailureReasonSchema, s as conversationTurnFailureCodeSchema, t as INPUT_IMAGE_TYPES } from "../media-
|
|
2
|
-
import { A as createConversationMessageBodySchema, C as conversationReportEventSchema, E as conversationSummaryReportSchema, F as conversationChildAgentTotalsSchema, H as MAX_INPUT_IMAGES, M as forkConversationResponseSchema, N as steerConversationPendingMessagesBodySchema, P as steerConversationPendingMessagesResponseSchema, R as messageCardText, S as conversationReportEventDataSchema, U as MAX_INPUT_IMAGE_BYTES, V as resolveMessageCards, _ 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-
|
|
3
|
-
import { _ as
|
|
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-
|
|
1
|
+
import { c as conversationTurnFailureReasonSchema, s as conversationTurnFailureCodeSchema, t as INPUT_IMAGE_TYPES } from "../media-U6Tuz6Mi.js";
|
|
2
|
+
import { A as createConversationMessageBodySchema, C as conversationReportEventSchema, E as conversationSummaryReportSchema, F as conversationChildAgentTotalsSchema, H as MAX_INPUT_IMAGES, M as forkConversationResponseSchema, N as steerConversationPendingMessagesBodySchema, P as steerConversationPendingMessagesResponseSchema, R as messageCardText, S as conversationReportEventDataSchema, U as MAX_INPUT_IMAGE_BYTES, V as resolveMessageCards, _ 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-AhOVzN_k.js";
|
|
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-DRCi1Ls_.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-Dwh_xcqM.js";
|
|
5
5
|
import { a as pluginPackageContentReportSchema, c as runtimeInfoReportSchema, i as pluginPackageContentItemReportSchema, l as skillReportSchema, n as pluginOperationalReportFeedSchema, o as pluginSchema, r as pluginOperationalReportSchema, s as pluginsSchema, t as healthReportSchema, u as skillReportsSchema } from "../reporting-schema-CZREhYc-.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, ot as apiErrorSchema, 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-
|
|
7
|
-
export { INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, USER_CUSTOMIZATION_MAX_CHARS, 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, 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 };
|
|
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, ot as apiErrorSchema, 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-DNLJ_MzW.js";
|
|
7
|
+
export { INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, 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, 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
package/dist/api.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { F as conversationRangeColumns, N as conversationActiveDaysColumn, P as conversationAggregateColumns,
|
|
2
|
-
import { p as escapeXml } from "./client-
|
|
3
|
-
import { m as logInfo, p as logException } from "./logging-
|
|
4
|
-
import { C as getSqlExecutor, J as resolveRootConversationId, K as agentTurnUsageSchema, S as getDb, c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarImage, q as hasAgentTurnUsage, t as findUserByEmail, x as getConversationStore } from "./viewer-
|
|
1
|
+
import { F as conversationRangeColumns, N as conversationActiveDaysColumn, P as conversationAggregateColumns, Wr as isExperimentalFeatureEnabled, ct as AutomationConflictError, ft as automationEventCatalog, j as readAutomationTitlesByConversationId } from "./turn-session-routing-B9KLBhaT.js";
|
|
2
|
+
import { p as escapeXml } from "./client-B2MjENki.js";
|
|
3
|
+
import { m as logInfo, p as logException } from "./logging-C6EdT6PP.js";
|
|
4
|
+
import { C as getSqlExecutor, E as loadConversationSlackTenantIds, J as resolveRootConversationId, K as agentTurnUsageSchema, S as getDb, c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarImage, q as hasAgentTurnUsage, t as findUserByEmail, x as getConversationStore } from "./viewer-BTgAfdUg.js";
|
|
5
5
|
import { c as juniorIdentities, d as juniorDestinations, l as juniorUsers, s as juniorConversations } from "./agent-invocations-C1RNOCs8.js";
|
|
6
|
-
import { C as juniorCodeRepositories, S as juniorCodeChanges, b as juniorApiTokens, m as juniorConversationParticipants, v as juniorConversationMetrics, y as juniorConversationEvents } from "./executor-
|
|
7
|
-
import { t as INPUT_IMAGE_TYPES } from "./media-
|
|
8
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
9
|
-
import { $ as listOwnedWatches, B as changeViewerAutomationLifecycle, Dt as readUserCustomization, G as readConversationSourceTask, H as readViewerAutomationEdit, J as readViewerAutomationSummary, K as readViewerAutomationExecutions, Ot as saveUserCustomization, St as conversationSubtreeColumns, U as updateViewerAutomation, V as deleteViewerTask, W as ViewerTaskNotFoundError, X as readViewerAutomations, Y as readViewerAutomationVersions, Z as AutomationEditError, at as createAndEnqueueConversation, ct as webActorFromEmail, ft as readLiveAttachment, m as readStats, nt as acceptsWebMessages, q as readViewerAutomationRuns, rt as appendAndEnqueueWebMessage, ut as decodeInputImages, x as createSlackReviewItemShow, xt as conversationSubtree, yt as listChildAgents, z as activateViewerAutomationVersion } from "./agent-runner-
|
|
10
|
-
import { $t as workspaceRepoCheckoutPath, Ar as lookupSlackUser, D as listWaitingConversationIds, Er as listConversationAnnotations, F as isOnlyAssignee, G as deleteWorkspace, J as listWorkspaces, K as getWorkspace, M as canActOnReviewItem, O as searchReviewItems, W as createWorkspace, X as updateWorkspace, Y as listWorkspacesByRepository, Z as WorkspaceValidationError, Zt as SANDBOX_RUNTIME, _r as readConversationEventPage, ar as createPluginLogger, gr as readLatestConversationBrief, jr as createPluginCache, n as createUserTokenStore, nt as create, or as readConversationAccessFromSql, p as getPlugins, rt as hash, vr as buildSentryConversationUrl, x as countReviewItemsNeedingUser, z as reviewItemReaderForUser } from "./credentialed-
|
|
11
|
-
import { r as getStateAdapter } from "./adapter-
|
|
12
|
-
import { A as createConversationMessageBodySchema, M as forkConversationResponseSchema, N as steerConversationPendingMessagesBodySchema, P as steerConversationPendingMessagesResponseSchema, W as readMessageAttachments, _ 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-
|
|
13
|
-
import { h as getChildAgentLabel } from "./store-
|
|
14
|
-
import { d as getEventCatalog } from "./session-stop-
|
|
15
|
-
import { a as fillUtcSixHours, 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
|
|
16
|
-
import { s as getSandboxResources, t as getCachedSnapshot } from "./resolve-
|
|
17
|
-
import { a as getVercelConversationWorkQueue } from "./job-queue-
|
|
18
|
-
import { E as steerWebPendingMessages, a as cancelHumanFacingPendingMessages, g as getConversationWorkState, h as getConversation } from "./store-
|
|
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-
|
|
6
|
+
import { C as juniorCodeRepositories, S as juniorCodeChanges, b as juniorApiTokens, m as juniorConversationParticipants, v as juniorConversationMetrics, y as juniorConversationEvents } from "./executor-BB6eJkD4.js";
|
|
7
|
+
import { t as INPUT_IMAGE_TYPES } from "./media-U6Tuz6Mi.js";
|
|
8
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-Bdym_wKy.js";
|
|
9
|
+
import { $ as listOwnedWatches, B as changeViewerAutomationLifecycle, Dt as readUserCustomization, G as readConversationSourceTask, H as readViewerAutomationEdit, J as readViewerAutomationSummary, K as readViewerAutomationExecutions, Ot as saveUserCustomization, St as conversationSubtreeColumns, U as updateViewerAutomation, V as deleteViewerTask, W as ViewerTaskNotFoundError, X as readViewerAutomations, Y as readViewerAutomationVersions, Z as AutomationEditError, at as createAndEnqueueConversation, ct as webActorFromEmail, ft as readLiveAttachment, m as readStats, nt as acceptsWebMessages, q as readViewerAutomationRuns, rt as appendAndEnqueueWebMessage, ut as decodeInputImages, x as createSlackReviewItemShow, xt as conversationSubtree, yt as listChildAgents, z as activateViewerAutomationVersion } from "./agent-runner-MSQSMFkq.js";
|
|
10
|
+
import { $t as workspaceRepoCheckoutPath, Ar as lookupSlackUser, D as listWaitingConversationIds, Er as listConversationAnnotations, F as isOnlyAssignee, G as deleteWorkspace, J as listWorkspaces, K as getWorkspace, M as canActOnReviewItem, O as searchReviewItems, W as createWorkspace, X as updateWorkspace, Y as listWorkspacesByRepository, Z as WorkspaceValidationError, Zt as SANDBOX_RUNTIME, _r as readConversationEventPage, ar as createPluginLogger, gr as readLatestConversationBrief, jr as createPluginCache, n as createUserTokenStore, nt as create, or as readConversationAccessFromSql, p as getPlugins, rt as hash, vr as buildSentryConversationUrl, x as countReviewItemsNeedingUser, z as reviewItemReaderForUser } from "./credentialed-BeBaJMZ_.js";
|
|
11
|
+
import { r as getStateAdapter } from "./adapter-BQNTKVTF.js";
|
|
12
|
+
import { A as createConversationMessageBodySchema, M as forkConversationResponseSchema, N as steerConversationPendingMessagesBodySchema, P as steerConversationPendingMessagesResponseSchema, W as readMessageAttachments, _ 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-AhOVzN_k.js";
|
|
13
|
+
import { h as getChildAgentLabel } from "./store-Byarin7b.js";
|
|
14
|
+
import { d as getEventCatalog } from "./session-stop-MZRgYqYH.js";
|
|
15
|
+
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-DRCi1Ls_.js";
|
|
16
|
+
import { s as getSandboxResources, t as getCachedSnapshot } from "./resolve-BkAA1wH7.js";
|
|
17
|
+
import { a as getVercelConversationWorkQueue } from "./job-queue-DiaXoSDg.js";
|
|
18
|
+
import { E as steerWebPendingMessages, a as cancelHumanFacingPendingMessages, g as getConversationWorkState, h as getConversation } from "./store-BeWGgaMA.js";
|
|
19
|
+
import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-D6e9cVmH.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-Dwh_xcqM.js";
|
|
21
21
|
import { c as runtimeInfoReportSchema, n as pluginOperationalReportFeedSchema, s as pluginsSchema, t as healthReportSchema, u as skillReportsSchema } from "./reporting-schema-CZREhYc-.js";
|
|
22
|
-
import { B as actOnReviewItem, C as isAllowedSignInEmail, H as readReviewItemForUser, J as readHealthReport, N as stopConversationTurn, O as clearSlackPendingReactions, V as closeReviewItemsAnsweredByReply, W as getAttachmentStorage, a as resolveMentions, c as readConversationAuxiliaryCostsFromSql, d as notCopiedByFork, f as childAgentTotalsReport, g as resolveSlackTeamDomains, h as conversationSummaryFromStoredConversation, i as attachConversationMentions, l as ConversationForkError, m as conversationEventHistory, n as readConversationRecordFromSql, o as readFirstHumanMessageTexts, p as readConversationTreeMetricsFromSql, r as readConversationParticipants, s as listConversationSidebarAnnotations, t as readConversationFeed, u as forkConversation, y as getProductionSlackAdapter, z as ReviewItemActionError } from "./list-
|
|
23
|
-
import { d 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, 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, ot as apiErrorSchema, 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-
|
|
22
|
+
import { B as actOnReviewItem, C as isAllowedSignInEmail, H as readReviewItemForUser, J as readHealthReport, N as stopConversationTurn, O as clearSlackPendingReactions, R as parseContent, V as closeReviewItemsAnsweredByReply, W as getAttachmentStorage, a as resolveMentions, c as readConversationAuxiliaryCostsFromSql, d as notCopiedByFork, f as childAgentTotalsReport, g as resolveSlackTeamDomains, h as conversationSummaryFromStoredConversation, i as attachConversationMentions, l as ConversationForkError, m as conversationEventHistory, n as readConversationRecordFromSql, o as readFirstHumanMessageTexts, p as readConversationTreeMetricsFromSql, r as readConversationParticipants, s as listConversationSidebarAnnotations, t as readConversationFeed, u as forkConversation, y as getProductionSlackAdapter, z as ReviewItemActionError } from "./list-BTDRxkOg.js";
|
|
23
|
+
import { d as legacyWebMailboxMetadataSchema } from "./result-9TJTpuYP.js";
|
|
24
|
+
import { a as startConnection, l as getWebAuthorization, n as isConnectableProvider, r as listConnections, t as disconnectConnection, u as htmlCallbackResponse } from "./connections-0BBhiD-p.js";
|
|
25
|
+
import { A as avatarParamsSchema, C as createdPersonalTokenSchema, D as revokePersonalTokenResponseSchema, E as personalTokenParamsSchema, F as locationDirectoryReportSchema, G as startConnectionResponseSchema, H as connectionParamsSchema, I as locationParamsSchema, L as activityDays$1, M as personalSpendReportSchema, O as actorDirectoryReportSchema, P as locationDetailReportSchema, Q as codeRepositoryReportSchema, R as activityHours$1, S as createPersonalTokenBodySchema, V as connectionListSchema, W as disconnectConnectionResponseSchema, X as codePersonReportSchema, Y as codeOverviewReportSchema, Z as codeRepositoryParamsSchema, _ as disconnectServiceAccountResponseSchema, a as workspaceBodySchema, at as conversationStatsReportSchema, 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, ot as apiErrorSchema, 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-DNLJ_MzW.js";
|
|
26
26
|
import { Hono } from "hono";
|
|
27
27
|
import path from "node:path";
|
|
28
28
|
import { z } from "zod";
|
|
@@ -751,12 +751,29 @@ const slackMailboxAuthorSchema = z.object({
|
|
|
751
751
|
}).passthrough();
|
|
752
752
|
const slackMailboxMessageSchema = z.object({
|
|
753
753
|
author: slackMailboxAuthorSchema,
|
|
754
|
-
id: z.string().min(1)
|
|
754
|
+
id: z.string().min(1),
|
|
755
|
+
raw: z.unknown().optional()
|
|
755
756
|
}).passthrough();
|
|
756
757
|
const slackMailboxMetadataSchema = z.object({
|
|
757
758
|
message: slackMailboxMessageSchema,
|
|
758
759
|
platform: z.literal("slack")
|
|
759
760
|
}).passthrough();
|
|
761
|
+
/**
|
|
762
|
+
* Project Slack text the way the Turn stores it in history. The SDK text
|
|
763
|
+
* turns `<@U123>` into a bare `@U123` or `@name`, which the dashboard
|
|
764
|
+
* cannot render as a mention.
|
|
765
|
+
*/
|
|
766
|
+
function slackDisplayText(message, sdkText) {
|
|
767
|
+
return parseContent({
|
|
768
|
+
attachments: [],
|
|
769
|
+
formatted: {
|
|
770
|
+
type: "root",
|
|
771
|
+
children: []
|
|
772
|
+
},
|
|
773
|
+
raw: message.raw,
|
|
774
|
+
text: sdkText
|
|
775
|
+
}).text;
|
|
776
|
+
}
|
|
760
777
|
function isoFromMs(value) {
|
|
761
778
|
return new Date(value).toISOString();
|
|
762
779
|
}
|
|
@@ -807,7 +824,7 @@ async function projectPendingMessage(message, canExposePayload) {
|
|
|
807
824
|
const metadata = slackMailboxMetadataSchema.safeParse(message.input.metadata);
|
|
808
825
|
if (!metadata.success) return void 0;
|
|
809
826
|
if (metadata.data.message.author.isMe === true) return void 0;
|
|
810
|
-
const text = message.input.text.trim();
|
|
827
|
+
const text = slackDisplayText(metadata.data.message, message.input.text).trim();
|
|
811
828
|
if (!text) return void 0;
|
|
812
829
|
if (!canExposePayload) return {
|
|
813
830
|
createdAt: isoFromMs(message.createdAtMs),
|
|
@@ -833,6 +850,19 @@ async function projectPendingMessage(message, canExposePayload) {
|
|
|
833
850
|
};
|
|
834
851
|
}
|
|
835
852
|
}
|
|
853
|
+
async function attachPendingMentions(conversationId, messages) {
|
|
854
|
+
if (!messages.some((message) => message.text?.includes("<@"))) return messages;
|
|
855
|
+
const executor = getSqlExecutor();
|
|
856
|
+
const tenantId = (await loadConversationSlackTenantIds(executor, [conversationId])).get(conversationId);
|
|
857
|
+
const mentions = await resolveMentions(executor, messages.map((message) => ({
|
|
858
|
+
tenantId,
|
|
859
|
+
texts: [message.text]
|
|
860
|
+
})));
|
|
861
|
+
return messages.map((message, index) => mentions[index].length > 0 ? {
|
|
862
|
+
...message,
|
|
863
|
+
mentions: mentions[index]
|
|
864
|
+
} : message);
|
|
865
|
+
}
|
|
836
866
|
/**
|
|
837
867
|
* Read accepted mailbox messages that have not reached durable history yet.
|
|
838
868
|
*
|
|
@@ -850,7 +880,7 @@ async function readConversationPendingMessages(conversationId, options = {}) {
|
|
|
850
880
|
conversationId
|
|
851
881
|
}) : void 0;
|
|
852
882
|
const work = await getConversation({ conversationId });
|
|
853
|
-
const messages = (await Promise.all((work?.execution.pendingMessages ?? []).map((message) => projectPendingMessage(message, canExposePayload)))).filter((message) => Boolean(message));
|
|
883
|
+
const messages = await attachPendingMentions(conversationId, (await Promise.all((work?.execution.pendingMessages ?? []).map((message) => projectPendingMessage(message, canExposePayload)))).filter((message) => Boolean(message)));
|
|
854
884
|
return conversationPendingMessagesReportSchema.parse({
|
|
855
885
|
...authorization ? { authorization: {
|
|
856
886
|
authorizationUrl: authorization.authorizationUrl,
|
|
@@ -2696,7 +2726,7 @@ async function readPeoplePluginReports(args) {
|
|
|
2696
2726
|
reports: [],
|
|
2697
2727
|
source: "plugins"
|
|
2698
2728
|
});
|
|
2699
|
-
const { getPluginProfileReports } = await import("./credentialed-
|
|
2729
|
+
const { getPluginProfileReports } = await import("./credentialed-BeBaJMZ_.js").then((n) => n.a);
|
|
2700
2730
|
return pluginOperationalReportFeedSchema.parse({
|
|
2701
2731
|
generatedAt: new Date(nowMs).toISOString(),
|
|
2702
2732
|
reports: await getPluginProfileReports({
|
|
@@ -3710,7 +3740,7 @@ function readDescriptionText(home) {
|
|
|
3710
3740
|
}
|
|
3711
3741
|
/** Read discovered skill names for authenticated runtime diagnostics. */
|
|
3712
3742
|
async function readSkillReports() {
|
|
3713
|
-
const { discoverSkills } = await import("./skills-
|
|
3743
|
+
const { discoverSkills } = await import("./skills-BggTR_ue.js").then((n) => n.o);
|
|
3714
3744
|
const skills = await discoverSkills();
|
|
3715
3745
|
return skillReportsSchema.parse(skills.map((skill) => ({
|
|
3716
3746
|
name: skill.name,
|
|
@@ -3719,7 +3749,7 @@ async function readSkillReports() {
|
|
|
3719
3749
|
}
|
|
3720
3750
|
/** Read safe configured plugin metadata for authenticated runtime diagnostics. */
|
|
3721
3751
|
async function readPlugins() {
|
|
3722
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
3752
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-Bdym_wKy.js").then((n) => n.t);
|
|
3723
3753
|
return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
3724
3754
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
3725
3755
|
description: plugin.manifest.description,
|
|
@@ -3731,7 +3761,7 @@ async function readPlugins() {
|
|
|
3731
3761
|
async function readRuntimeInfoReport() {
|
|
3732
3762
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
3733
3763
|
import("./package-discovery-DJBompdd.js").then((n) => n.r),
|
|
3734
|
-
import("./catalog-runtime-
|
|
3764
|
+
import("./catalog-runtime-Bdym_wKy.js").then((n) => n.t),
|
|
3735
3765
|
readPlugins(),
|
|
3736
3766
|
readSkillReports()
|
|
3737
3767
|
]);
|
|
@@ -3748,7 +3778,7 @@ async function readRuntimeInfoReport() {
|
|
|
3748
3778
|
/** Read sanitized operational summaries contributed by plugins. */
|
|
3749
3779
|
async function readPluginOperationalReportFeed() {
|
|
3750
3780
|
const nowMs = Date.now();
|
|
3751
|
-
const { getPluginOperationalReports } = await import("./credentialed-
|
|
3781
|
+
const { getPluginOperationalReports } = await import("./credentialed-BeBaJMZ_.js").then((n) => n.a);
|
|
3752
3782
|
return pluginOperationalReportFeedSchema.parse({
|
|
3753
3783
|
source: "plugins",
|
|
3754
3784
|
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-BYOuu6v2.js";
|
|
3
|
+
import "./schema-WayPSHFu.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";
|
|
@@ -12,9 +12,9 @@ import "drizzle-orm";
|
|
|
12
12
|
import { Destination, OwnedObjectAnnotation, PluginRegistration, Source, User } from "@sentry/junior-plugin-api";
|
|
13
13
|
import "@earendil-works/pi-agent-core";
|
|
14
14
|
import "@earendil-works/pi-ai";
|
|
15
|
-
import "@sinclair/typebox";
|
|
16
15
|
import "@modelcontextprotocol/sdk/client/auth.js";
|
|
17
16
|
import { Client } from "@modelcontextprotocol/sdk/client";
|
|
17
|
+
import "@sinclair/typebox";
|
|
18
18
|
import { Message, StateAdapter } from "chat";
|
|
19
19
|
import "@chat-adapter/slack";
|
|
20
20
|
declare const TURN_REASONING_LEVELS: readonly ["none", "low", "medium", "high", "xhigh"];
|
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-
|
|
1
|
+
import { a as ModelProfileInput, i as JuniorDashboardOptions, n as JuniorAppOptions, r as createApp, t as JuniorApp } from "./app-Bz8t4P8p.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 };
|
package/dist/app.js
CHANGED
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { B as readScheduledAutomation,
|
|
2
|
-
import { _ as snapshotRuntimeConfig, d as restoreRuntimeConfig, f as setBotModelConfig, g as setSlackReactionConfig, h as setRuntimeLimits, i as getChatConfig, m as setProfiles, n as botConfig, o as getSlackBotToken, p as setCrossActorMidRunMode, u as resetRuntimeConfig } from "./config-
|
|
3
|
-
import { A as JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE, E as withSpan, L as GOOGLE_IDENTITY_PROVIDER, N as JUNIOR_WORKSPACE_SNAPSHOT_JOB_CALLBACK_ROUTE, T as withLogContext, b as setSpanAttributes, h as logWarn, m as logInfo, p as logException, r as createRequestContext, w as withContext, z as normalizeIdentityEmail } from "./logging-
|
|
1
|
+
import { B as readScheduledAutomation, G as blockEventAutomation, Gr as setExperimentalFeatures, H as saveScheduledAutomationInLock, Ir as SubscribedReplyReason, Jn as hasRunnableConversationWork, K as collectEventAutomationMatchKeys, M as recordAutomationExecution, Mn as CONVERSATION_WORK_STALE_ENQUEUE_MS, R as listScheduledAutomationsForTeam, S as existingConversationId, U as scheduledRunId, Ur as getExperimentalFeatures, W as withScheduledAutomationLock, Wr as isExperimentalFeatureEnabled, Wt as appendConversationMessages, Xn as isInvalidConversationRecordError, Xr as getConfigDefaults, Xt as settleConversationTitleWork, Y as findMatchingEventAutomations, Zr as setConfigDefaults, 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, qt as projectConversationMessages, r as buildDispatchId, s as getDispatchConversationId, tt as admitEventAutomationRun, u as getDispatchRecord, v as markDispatchFailed, zr as getThreadStopDecision } from "./turn-session-routing-B9KLBhaT.js";
|
|
2
|
+
import { _ as snapshotRuntimeConfig, d as restoreRuntimeConfig, f as setBotModelConfig, g as setSlackReactionConfig, h as setRuntimeLimits, i as getChatConfig, m as setProfiles, n as botConfig, o as getSlackBotToken, p as setCrossActorMidRunMode, u as resetRuntimeConfig } from "./config-Dm3pWRqY.js";
|
|
3
|
+
import { A as JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE, E as withSpan, L as GOOGLE_IDENTITY_PROVIDER, N as JUNIOR_WORKSPACE_SNAPSHOT_JOB_CALLBACK_ROUTE, T as withLogContext, b as setSpanAttributes, h as logWarn, m as logInfo, p as logException, r as createRequestContext, w as withContext, z as normalizeIdentityEmail } from "./logging-C6EdT6PP.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-CivPYmkH.js";
|
|
6
6
|
import { f as parseSlackTeamId, g as slackMessageTsSchema, h as slackMessageTsFromMs, m as parseSlackMessageTs, n as createSlackActor, p as parseSlackUserId, s as parseActorUserId, u as parseSlackChannelId } from "./actor-CP9K2Idu.js";
|
|
7
|
-
import { C as getSqlExecutor, M as resolveActorIdentityId, O as withConversationMutationLock, R as recordGoogleSignIn, S as getDb, T as withConversationEventLock, _ as closeDb, g as createCache, i as readActorIdentity, l as resolveViewerUser, p as parseAvatarUrl, x as getConversationStore, y as getConversationEventStore } from "./viewer-
|
|
7
|
+
import { C as getSqlExecutor, M as resolveActorIdentityId, O as withConversationMutationLock, R as recordGoogleSignIn, S as getDb, T as withConversationEventLock, _ as closeDb, g as createCache, i as readActorIdentity, l as resolveViewerUser, p as parseAvatarUrl, x as getConversationStore, y as getConversationEventStore } from "./viewer-BTgAfdUg.js";
|
|
8
8
|
import { a as juniorAgentInvocations, d as juniorDestinations, i as juniorAgentBindings, s as juniorConversations } from "./agent-invocations-C1RNOCs8.js";
|
|
9
|
-
import { c as juniorReviewItems, d as juniorAutomations, g as juniorConversationBriefs, l as juniorAutomationRuns, y as juniorConversationEvents } from "./executor-
|
|
10
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
11
|
-
import { A as verifySlackSignature, C as syncReviewItemSlackCards, Ct as processWorkspaceSnapshotJob, D as parseSlackReviewItemFormTarget, E as parseSlackReviewItemClick, J as readViewerAutomationSummary, L as logScheduledAutomationRunSkipped, O as parseSlackUserInputSubmission, Q as effectiveTaskOutcomes, R as scheduledAutomationRunAttributes, S as readSlackReviewItemCardConversationId, T as buildSlackReviewItemModal, _ as unpublishedArtifactHeaders, _t as recordSubagentEnded, ct as webActorFromEmail, dt as collectAttachmentGarbage, et as deliverReviewItemChange, g as readPublicArtifact, gt as stopConversationSession, h as publicArtifactHeaders, it as conversationTurnIdForMessage, j as parseSlackThreadId, k as runWithSlackInstallation, n as executeAgentRun, pt as requestAttachmentDeletion, rt as appendAndEnqueueWebMessage, st as recordWebConversationActivity, t as createAgentRunner, tt as renderReviewItemMessage, v as lookupSlackUserProfile, wt as ingestEvent, x as createSlackReviewItemShow } from "./agent-runner-
|
|
12
|
-
import { At as slackEntitySchema, Bn as getDashboardTaskLink, Bt as clearSandboxEgressSignals, Cr as resolveRootVisibility, Dn as getSlackClient, Er as listConversationAnnotations, Fn as runWithWorkspaceTeamId, Ht as consumeSandboxEgressPermissionDeniedSignal, Ln as getDashboardConversationLink, M as canActOnReviewItem, Pn as getWorkspaceTeamId, S as dismissOpenReviewItems, Tt as postSlackEphemeralMessage, Vn as setDashboardConversationLinkOptions, Vt as consumeSandboxEgressAuthRequiredSignal, Wt as parseSandboxEgressCredentialToken, Xt as normalizeSandboxEgressTracePropagationDomains, _n as bindScheduledAutomationCredentialSubject, ar as createPluginLogger, bn as verifyScheduledAutomationCredentialSubject, c as getPluginRoutes, cn as collectEventMatchKeys, ct as proxyVercelSandboxEgressRequest, fn as findMatchingWatches, ft as resolveBaseUrl, gn as bindEventAutomationCredentialSubject, h as validatePlugins, hn as takeDueTimerWatches, jr as createPluginCache, jt as slackExternalRefIdSchema, kn as isDmChannel, m as setPlugins, n as createUserTokenStore, nr as createPluginState, or as readConversationAccessFromSql, p as getPlugins, s as getPluginApiRoutes, st as isVercelSandboxEgressRequest, v as setBriefsConfig, vn as bindSlackDirectCredentialSubject, vt as slackMention, wt as openSlackModal, xn as verifySlackDirectCredentialSubject, yn as verifyEventAutomationCredentialSubject } from "./credentialed-
|
|
9
|
+
import { c as juniorReviewItems, d as juniorAutomations, g as juniorConversationBriefs, l as juniorAutomationRuns, y as juniorConversationEvents } from "./executor-BB6eJkD4.js";
|
|
10
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-Bdym_wKy.js";
|
|
11
|
+
import { A as verifySlackSignature, C as syncReviewItemSlackCards, Ct as processWorkspaceSnapshotJob, D as parseSlackReviewItemFormTarget, E as parseSlackReviewItemClick, J as readViewerAutomationSummary, L as logScheduledAutomationRunSkipped, O as parseSlackUserInputSubmission, Q as effectiveTaskOutcomes, R as scheduledAutomationRunAttributes, S as readSlackReviewItemCardConversationId, T as buildSlackReviewItemModal, _ as unpublishedArtifactHeaders, _t as recordSubagentEnded, ct as webActorFromEmail, dt as collectAttachmentGarbage, et as deliverReviewItemChange, g as readPublicArtifact, gt as stopConversationSession, h as publicArtifactHeaders, it as conversationTurnIdForMessage, j as parseSlackThreadId, k as runWithSlackInstallation, n as executeAgentRun, pt as requestAttachmentDeletion, rt as appendAndEnqueueWebMessage, st as recordWebConversationActivity, t as createAgentRunner, tt as renderReviewItemMessage, v as lookupSlackUserProfile, wt as ingestEvent, x as createSlackReviewItemShow } from "./agent-runner-MSQSMFkq.js";
|
|
12
|
+
import { At as slackEntitySchema, Bn as getDashboardTaskLink, Bt as clearSandboxEgressSignals, Cr as resolveRootVisibility, Dn as getSlackClient, Er as listConversationAnnotations, Fn as runWithWorkspaceTeamId, Ht as consumeSandboxEgressPermissionDeniedSignal, Ln as getDashboardConversationLink, M as canActOnReviewItem, Pn as getWorkspaceTeamId, S as dismissOpenReviewItems, Tt as postSlackEphemeralMessage, Vn as setDashboardConversationLinkOptions, Vt as consumeSandboxEgressAuthRequiredSignal, Wt as parseSandboxEgressCredentialToken, Xt as normalizeSandboxEgressTracePropagationDomains, _n as bindScheduledAutomationCredentialSubject, ar as createPluginLogger, bn as verifyScheduledAutomationCredentialSubject, c as getPluginRoutes, cn as collectEventMatchKeys, ct as proxyVercelSandboxEgressRequest, fn as findMatchingWatches, ft as resolveBaseUrl, gn as bindEventAutomationCredentialSubject, h as validatePlugins, hn as takeDueTimerWatches, jr as createPluginCache, jt as slackExternalRefIdSchema, kn as isDmChannel, m as setPlugins, n as createUserTokenStore, nr as createPluginState, or as readConversationAccessFromSql, p as getPlugins, rr as createPluginEmbedder, s as getPluginApiRoutes, st as isVercelSandboxEgressRequest, v as setBriefsConfig, vn as bindSlackDirectCredentialSubject, vt as slackMention, wt as openSlackModal, xn as verifySlackDirectCredentialSubject, yn as verifyEventAutomationCredentialSubject } from "./credentialed-BeBaJMZ_.js";
|
|
13
13
|
import { a as withLock, i as fenceLock, n as MUTATION_LOCK_TTL_MS } from "./locks-D-0h111u.js";
|
|
14
|
-
import { r as getStateAdapter, t as disconnectStateAdapter } from "./adapter-
|
|
14
|
+
import { r as getStateAdapter, t as disconnectStateAdapter } from "./adapter-BQNTKVTF.js";
|
|
15
15
|
import { n as getNextRunAtMs } from "./cadence-R7Em4RjE.js";
|
|
16
|
-
import { D as conversationSurfaceSchema, I as annotationCard, T as conversationReportStatusSchema, h as conversationFeedQuerySchema } from "./conversation-
|
|
17
|
-
import { b as listPendingAgentInvocationMailboxAppends, x as listPendingAgentInvocationResults } from "./store-
|
|
18
|
-
import { E as renderSlackObjectCard, S as renderTaskInput, d as getEventCatalog, f as SLACK_EVENT_NAMESPACE, g as slackChannelMessageRunsAutomation, h as slackChannelMessageReplyThreadTs, m as slackChannelMessageEvent } from "./session-stop-
|
|
19
|
-
import {
|
|
20
|
-
import { c as setSandboxResourceConfig, o as getSandboxResourceConfig } from "./resolve-
|
|
21
|
-
import { a as getVercelConversationWorkQueue, d as getQueueProvider, g as isConversationQueueMessageRejectedError, h as conversationQueueMessageSchema, i as verifyWorkspaceSnapshotJobMessage, o as resolveConversationWorkQueueTopic, s as verifyConversationQueueMessage, t as WORKSPACE_SNAPSHOT_JOB_QUEUE_TOPIC } from "./job-queue-
|
|
22
|
-
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-
|
|
23
|
-
import { M as scheduledRunSchema } from "./automation-
|
|
24
|
-
import { n as validatePluginRegistrations, t as validatePluginEgressCredentialHooks } from "./validation-
|
|
16
|
+
import { D as conversationSurfaceSchema, I as annotationCard, T as conversationReportStatusSchema, h as conversationFeedQuerySchema } from "./conversation-AhOVzN_k.js";
|
|
17
|
+
import { b as listPendingAgentInvocationMailboxAppends, x as listPendingAgentInvocationResults } from "./store-Byarin7b.js";
|
|
18
|
+
import { E as renderSlackObjectCard, S as renderTaskInput, d as getEventCatalog, f as SLACK_EVENT_NAMESPACE, g as slackChannelMessageRunsAutomation, h as slackChannelMessageReplyThreadTs, m as slackChannelMessageEvent } from "./session-stop-MZRgYqYH.js";
|
|
19
|
+
import { h as buttonUserInputField } from "./reporting-window-DRCi1Ls_.js";
|
|
20
|
+
import { c as setSandboxResourceConfig, o as getSandboxResourceConfig } from "./resolve-BkAA1wH7.js";
|
|
21
|
+
import { a as getVercelConversationWorkQueue, d as getQueueProvider, g as isConversationQueueMessageRejectedError, h as conversationQueueMessageSchema, i as verifyWorkspaceSnapshotJobMessage, o as resolveConversationWorkQueueTopic, s as verifyConversationQueueMessage, t as WORKSPACE_SNAPSHOT_JOB_QUEUE_TOPIC } from "./job-queue-DiaXoSDg.js";
|
|
22
|
+
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-BeWGgaMA.js";
|
|
23
|
+
import { M as scheduledRunSchema } from "./automation-Dwh_xcqM.js";
|
|
24
|
+
import { n as validatePluginRegistrations, t as validatePluginEgressCredentialHooks } from "./validation-BW60Vtx_.js";
|
|
25
25
|
import { a as pluginRuntimeRegistrationsFromPluginSet, n as pluginCatalogConfigFromEnv, r as pluginCatalogConfigFromPluginSet, t as defineJuniorPlugins } from "./plugins-DOm9Y6qI.js";
|
|
26
|
-
import { A as stopSlackThread, B as actOnReviewItem, C as isAllowedSignInEmail, D as buildSlackInboundMessage, E as recordSkippedConversationMessage, F as bindMessageAuthorIdentityId, H as readReviewItemForUser, I as startProcessingReaction, K as enqueueAgentDispatch, L as stripLeadingBotMention, M as withNormalizedThreadId, N as stopConversationTurn, O as clearSlackPendingReactions, P as THREAD_OPTOUT_ACK, R as parseContent, S as isAllowedDomain, T as resolveAllowedDomains, U as reviewItemChange, V as closeReviewItemsAnsweredByReply, W as getAttachmentStorage, _ as createProductionConversationWorkOptions, b as createSlackWebApiStatusSender, j as normalizeIncomingSlackThreadId, k as isSlackMessageStopped, q as GET$3, t as readConversationFeed, v as createProductionSlackWebhookServices, w as readEnvList, x as assertNoLegacyAllowedDomains, y as getProductionSlackAdapter, z as ReviewItemActionError } from "./list-
|
|
27
|
-
import { n as enqueueAgentInvocationResult, o as getAuthPausedConversationTurnId } from "./result-
|
|
28
|
-
import { r as enqueueAgentInvocation } from "./work-
|
|
29
|
-
import { o as coerceThreadConversationState } from "./thread-state-
|
|
30
|
-
import { o as unlinkProvider } from "./connections-
|
|
31
|
-
import { a as GET$4, i as publishAppHomeView, r as GET$5, 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 stopSlackThread, B as actOnReviewItem, C as isAllowedSignInEmail, D as buildSlackInboundMessage, E as recordSkippedConversationMessage, F as bindMessageAuthorIdentityId, H as readReviewItemForUser, I as startProcessingReaction, K as enqueueAgentDispatch, L as stripLeadingBotMention, M as withNormalizedThreadId, N as stopConversationTurn, O as clearSlackPendingReactions, P as THREAD_OPTOUT_ACK, R as parseContent, S as isAllowedDomain, T as resolveAllowedDomains, U as reviewItemChange, V as closeReviewItemsAnsweredByReply, W as getAttachmentStorage, _ as createProductionConversationWorkOptions, b as createSlackWebApiStatusSender, j as normalizeIncomingSlackThreadId, k as isSlackMessageStopped, q as GET$3, t as readConversationFeed, v as createProductionSlackWebhookServices, w as readEnvList, x as assertNoLegacyAllowedDomains, y as getProductionSlackAdapter, z as ReviewItemActionError } from "./list-BTDRxkOg.js";
|
|
27
|
+
import { n as enqueueAgentInvocationResult, o as getAuthPausedConversationTurnId } from "./result-9TJTpuYP.js";
|
|
28
|
+
import { r as enqueueAgentInvocation } from "./work-Bjm52fHo.js";
|
|
29
|
+
import { o as coerceThreadConversationState } from "./thread-state-BHBLMvgb.js";
|
|
30
|
+
import { o as unlinkProvider } from "./connections-0BBhiD-p.js";
|
|
31
|
+
import { a as GET$4, i as publishAppHomeView, r as GET$5, t as receiveLocalOAuthCredential } from "./credential-sync-BRiWYs6_.js";
|
|
32
|
+
import { a as pluginTaskQueueConsumer, c as queueCallback, n as createVercelPluginTaskCallback, o as registerVercelPluginTaskDevConsumer } from "./task-queue-Dt1_ZoI_.js";
|
|
33
|
+
import { t as processConversationWork } from "./worker-CMbgtHLu.js";
|
|
34
|
+
import { t as bindMessageAgent } from "./message-DsjiWRVg.js";
|
|
35
|
+
import { t as bindSpawnAgent } from "./spawn-DmtlcAT_.js";
|
|
36
|
+
import { t as processPluginTask } from "./task-runner-DyKqAPpm.js";
|
|
37
37
|
import { createRequire } from "node:module";
|
|
38
38
|
import { Hono } from "hono";
|
|
39
39
|
import { z } from "zod";
|
|
@@ -270,6 +270,7 @@ function createHeartbeatContext(args) {
|
|
|
270
270
|
cache: createPluginCache(pluginName),
|
|
271
271
|
nowMs: args.nowMs,
|
|
272
272
|
db: getDb(),
|
|
273
|
+
embedder: createPluginEmbedder(pluginName),
|
|
273
274
|
state: createPluginState(pluginName),
|
|
274
275
|
log: createPluginLogger(pluginName),
|
|
275
276
|
agent: {
|
|
@@ -2806,10 +2807,10 @@ async function routeParsedMessage(args) {
|
|
|
2806
2807
|
try {
|
|
2807
2808
|
await persist();
|
|
2808
2809
|
} catch (error) {
|
|
2809
|
-
if (error instanceof SlackEventPersistenceError && error.saved)
|
|
2810
|
+
if (error instanceof SlackEventPersistenceError && error.saved) args.runAfterUnlock(closeAnswered);
|
|
2810
2811
|
throw error;
|
|
2811
2812
|
}
|
|
2812
|
-
|
|
2813
|
+
args.runAfterUnlock(closeAnswered);
|
|
2813
2814
|
}
|
|
2814
2815
|
async function handleSlackEvent(args) {
|
|
2815
2816
|
const event = args.body.event;
|
|
@@ -2887,6 +2888,7 @@ async function handleSlackEvent(args) {
|
|
|
2887
2888
|
setSpanAttributes({ "app.slack.membership": member ? "verified" : "unverified" });
|
|
2888
2889
|
if (!member) return;
|
|
2889
2890
|
const message = adapter.parseMessage(event);
|
|
2891
|
+
let afterUnlock;
|
|
2890
2892
|
if (!(await withLock(state, `slack:ingress:${normalizeMessageThreadId(message).threadId}`, () => routeParsedMessage({
|
|
2891
2893
|
adapter,
|
|
2892
2894
|
event,
|
|
@@ -2897,11 +2899,14 @@ async function handleSlackEvent(args) {
|
|
|
2897
2899
|
receivedAtMs,
|
|
2898
2900
|
allowedBotUserIds: args.services.allowedBotUserIds ?? [],
|
|
2899
2901
|
allowedDomains: args.services.allowedDomains ?? [],
|
|
2902
|
+
runAfterUnlock: (task) => {
|
|
2903
|
+
afterUnlock = task;
|
|
2904
|
+
},
|
|
2900
2905
|
state
|
|
2901
2906
|
}), {
|
|
2902
2907
|
keepAlive: true,
|
|
2903
2908
|
waitMs: 1e4
|
|
2904
|
-
})).acquired) throw new Error("Could not acquire Slack ingress lock");
|
|
2909
|
+
}).finally(() => afterUnlock?.())).acquired) throw new Error("Could not acquire Slack ingress lock");
|
|
2905
2910
|
}
|
|
2906
2911
|
}
|
|
2907
2912
|
}));
|
|
@@ -6132,6 +6137,7 @@ function createBetterAuth(config) {
|
|
|
6132
6137
|
hd: hostedDomain,
|
|
6133
6138
|
prompt: "select_account",
|
|
6134
6139
|
disableIdTokenSignIn: true,
|
|
6140
|
+
overrideUserInfoOnSignIn: true,
|
|
6135
6141
|
async getUserInfo(token) {
|
|
6136
6142
|
if (!token.idToken) return null;
|
|
6137
6143
|
const claims = readGoogleClaims(token.idToken);
|
|
@@ -6141,7 +6147,7 @@ function createBetterAuth(config) {
|
|
|
6141
6147
|
user: {
|
|
6142
6148
|
email: claims.email,
|
|
6143
6149
|
emailVerified: claims.email_verified === true,
|
|
6144
|
-
image: claims.picture,
|
|
6150
|
+
image: claims.picture ?? null,
|
|
6145
6151
|
name: claims.name
|
|
6146
6152
|
},
|
|
6147
6153
|
data: claims
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { a as resolveLocalScheduleAtMs, i as isValidTimeZone, r as getZonedDateTimeParts, t as getFirstRunAtMs } from "./cadence-R7Em4RjE.js";
|
|
2
|
-
import { n as actorIdentitySchema } from "./conversation-
|
|
2
|
+
import { n as actorIdentitySchema } from "./conversation-AhOVzN_k.js";
|
|
3
3
|
import { z } from "zod";
|
|
4
4
|
import { actorUserIdSchema, destinationVisibilitySchema, eventMatchFieldsSchema, eventMatchSchema, eventReachSchema, eventTypeSchema, pluginEventTypeSchema, slackDestinationSchema, taskOutcomeSchema } from "@sentry/junior-plugin-api";
|
|
5
5
|
// src/chat/scheduled-automations/schedule-intent.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { i as completeObject } from "./client-
|
|
2
|
-
import {
|
|
3
|
-
import { G as briefCodeChangeSchema, Y as parseBriefInput, d as conversationDetailReportSchema, p as conversationEventPageSchema } from "./conversation-
|
|
4
|
-
import { n as briefEntriesFromReportEvents, s as generateBrief, t as BRIEF_PROMPT } from "./prompt-
|
|
1
|
+
import { i as completeObject } from "./client-B2MjENki.js";
|
|
2
|
+
import { i as defaultModelId } from "./model-profile-B998sjVd.js";
|
|
3
|
+
import { G as briefCodeChangeSchema, Y as parseBriefInput, d as conversationDetailReportSchema, p as conversationEventPageSchema } from "./conversation-AhOVzN_k.js";
|
|
4
|
+
import { n as briefEntriesFromReportEvents, s as generateBrief, t as BRIEF_PROMPT } from "./prompt-BPSdXYXV.js";
|
|
5
5
|
import { CLI_USAGE } from "./cli/run.js";
|
|
6
6
|
import path from "node:path";
|
|
7
7
|
import { z } from "zod";
|
|
@@ -267,7 +267,7 @@ async function parseRunOptions(argv) {
|
|
|
267
267
|
* `DATABASE_URL` at import, and `briefs pull` must work with only a token.
|
|
268
268
|
*/
|
|
269
269
|
async function configuredDefaultModelId() {
|
|
270
|
-
const { botConfig } = await import("./config-
|
|
270
|
+
const { botConfig } = await import("./config-Dm3pWRqY.js").then((n) => n.r);
|
|
271
271
|
return defaultModelId(botConfig);
|
|
272
272
|
}
|
|
273
273
|
function apiUrl(baseUrl, pathname) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-nwUcYXjP.js";
|
|
2
|
-
import { t as createPluginCatalogRuntime } from "./registry-
|
|
2
|
+
import { t as createPluginCatalogRuntime } from "./registry-CndmkP2P.js";
|
|
3
3
|
// src/chat/plugins/catalog-runtime.ts
|
|
4
4
|
var catalog_runtime_exports = /* @__PURE__ */ __exportAll({ pluginCatalogRuntime: () => pluginCatalogRuntime });
|
|
5
5
|
const pluginCatalogRuntime = createPluginCatalogRuntime();
|
package/dist/cli/chat.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { n as executeAgentRun, t as createAgentRunner } from "../agent-runner-
|
|
1
|
+
import { n as executeAgentRun, t as createAgentRunner } from "../agent-runner-MSQSMFkq.js";
|
|
2
2
|
import { t as loadAppPluginSet } from "../plugin-module-Cf5gVPWP.js";
|
|
3
3
|
import path from "node:path";
|
|
4
4
|
import { createHash, randomUUID } from "node:crypto";
|
|
@@ -99,10 +99,10 @@ async function loadLocalPluginSet() {
|
|
|
99
99
|
async function configureLocalChatPlugins(pluginSet) {
|
|
100
100
|
const [pluginsModule, agentHooksModule, catalogRuntimeModule, validationModule, databaseModule] = await Promise.all([
|
|
101
101
|
import("../plugins-DOm9Y6qI.js").then((n) => n.o),
|
|
102
|
-
import("../credentialed-
|
|
103
|
-
import("../catalog-runtime-
|
|
104
|
-
import("../validation-
|
|
105
|
-
import("../viewer-
|
|
102
|
+
import("../credentialed-BeBaJMZ_.js").then((n) => n.a),
|
|
103
|
+
import("../catalog-runtime-Bdym_wKy.js").then((n) => n.t),
|
|
104
|
+
import("../validation-BW60Vtx_.js").then((n) => n.r),
|
|
105
|
+
import("../viewer-BTgAfdUg.js").then((n) => n.v)
|
|
106
106
|
]);
|
|
107
107
|
const resolvedPluginSet = pluginSet === void 0 ? await loadLocalPluginSet() : pluginSet ?? void 0;
|
|
108
108
|
const plugins = pluginsModule.pluginRuntimeRegistrationsFromPluginSet(resolvedPluginSet);
|
|
@@ -152,18 +152,18 @@ function localDevServerUrl() {
|
|
|
152
152
|
async function prepareLocalChatRun(io, pluginSet) {
|
|
153
153
|
defaultStateAdapterForLocalChat();
|
|
154
154
|
await configureLocalChatPlugins(pluginSet);
|
|
155
|
-
const { setBriefsConfig } = await import("../credentialed-
|
|
155
|
+
const { setBriefsConfig } = await import("../credentialed-BeBaJMZ_.js").then((n) => n._);
|
|
156
156
|
setBriefsConfig({ enabled: true });
|
|
157
|
-
const { runLocalAgentTurn } = await import("../runner-
|
|
158
|
-
const { startLocalOAuthCallbackServer } = await import("../oauth-callback-server-
|
|
157
|
+
const { runLocalAgentTurn } = await import("../runner-BmKLSyJm.js");
|
|
158
|
+
const { startLocalOAuthCallbackServer } = await import("../oauth-callback-server-CjFFVGqa.js");
|
|
159
159
|
const { createLocalOAuthState } = await import("../oauth-relay-CTygMkNx.js").then((n) => n.t);
|
|
160
|
-
const { createLocalSandboxEgressSignalTransport } = await import("../sandbox-egress-signals-
|
|
161
|
-
const { bindSpawnAgent } = await import("../spawn-
|
|
162
|
-
const { bindMessageAgent } = await import("../message-
|
|
163
|
-
const { createChildConversationWorker } = await import("../result-
|
|
164
|
-
const { skipInputBeforeConversationStop } = await import("../session-stop-
|
|
160
|
+
const { createLocalSandboxEgressSignalTransport } = await import("../sandbox-egress-signals-CjLaogMo.js");
|
|
161
|
+
const { bindSpawnAgent } = await import("../spawn-DmtlcAT_.js").then((n) => n.n);
|
|
162
|
+
const { bindMessageAgent } = await import("../message-DsjiWRVg.js").then((n) => n.n);
|
|
163
|
+
const { createChildConversationWorker } = await import("../result-9TJTpuYP.js").then((n) => n.i);
|
|
164
|
+
const { skipInputBeforeConversationStop } = await import("../session-stop-MZRgYqYH.js").then((n) => n.r);
|
|
165
165
|
const { createLocalConversationWork } = await import("../conversation-work-BaT_T6EB.js");
|
|
166
|
-
const { processConversationWork } = await import("../worker-
|
|
166
|
+
const { processConversationWork } = await import("../worker-CMbgtHLu.js").then((n) => n.n);
|
|
167
167
|
let agentRunner;
|
|
168
168
|
const localConversationWork = createLocalConversationWork(async (message) => {
|
|
169
169
|
if (!agentRunner) throw new Error("Local agent runner is not ready");
|
package/dist/cli/check.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { D as JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE, P as LEGACY_JUNIOR_CONVERSATION_WORK_FUNCTION, k as JUNIOR_HEARTBEAT_ROUTE } from "../logging-
|
|
2
|
-
import { v as parseInlinePluginManifest, y as parsePluginManifest } from "../registry-
|
|
3
|
-
import { i as parseSkillFile } from "../skills-
|
|
1
|
+
import { D as JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE, P as LEGACY_JUNIOR_CONVERSATION_WORK_FUNCTION, k as JUNIOR_HEARTBEAT_ROUTE } from "../logging-C6EdT6PP.js";
|
|
2
|
+
import { v as parseInlinePluginManifest, y as parsePluginManifest } from "../registry-CndmkP2P.js";
|
|
3
|
+
import { i as parseSkillFile } from "../skills-BggTR_ue.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import fs from "node:fs/promises";
|
|
6
6
|
import { pathToFileURL } from "node:url";
|