@sentry/junior 0.292.0 → 0.293.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-Cigb1MTr.js → adapter-CMJfmHso.js} +1 -1
- package/dist/{admin-BO9V7vnn.js → admin-uuecrKuD.js} +2 -2
- package/dist/{agent-runner-BuH7EHrX.js → agent-runner-DHq1pjUg.js} +272 -151
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +3 -3
- package/dist/api.d.ts +1 -1
- package/dist/api.js +42 -37
- package/dist/{app-C47PT68y.d.ts → app-fWzCHFIb.d.ts} +2 -2
- package/dist/app.d.ts +1 -1
- package/dist/app.js +422 -394
- package/dist/{assistant-reply-ZjLRGHm2.js → assistant-reply-CIApSfor.js} +1 -1
- package/dist/{automation-CrsYnvdV.js → automation-BE3z19VN.js} +71 -22
- package/dist/{background-compaction-queue-CqZBPe9g.js → background-compaction-queue-D7ncdEa6.js} +4 -4
- package/dist/{briefs-DZrhXJss.js → briefs-NpgMEFh1.js} +2 -2
- package/dist/{catalog-runtime-Cj9I0dco.js → catalog-runtime-DwbTyNRD.js} +1 -1
- package/dist/cli/chat.js +15 -15
- 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/{config-BerMjSVL.js → config-B4b-NXH5.js} +2 -2
- package/dist/{connections-BWmTOVPB.js → connections-Dz_AQg5p.js} +6 -6
- package/dist/{conversation-pending-messages-Cd7ShwBs.js → conversation-pending-messages-1Kad1Mif.js} +4 -1
- package/dist/{conversation-privacy-BMfbOUCo.js → conversation-privacy-DRsSgLGO.js} +1 -1
- package/dist/{credential-sync-DZDij2CU.js → credential-sync-ClCnnGVj.js} +13 -13
- package/dist/{db-7glZCI18.d.ts → db-BbpttyKH.d.ts} +1 -1
- package/dist/{db-BlfjuqzW.js → db-CoA7_Xqu.js} +3 -3
- package/dist/{executor-ikZvFaMD.js → executor-SWyHhit0.js} +31 -14
- package/dist/instrumentation.js +2 -2
- package/dist/{logging-CTCH5jOy.js → logging-BN5drSEZ.js} +1 -1
- package/dist/{message-C1ID1tKi.js → message-D4qjpW1C.js} +9 -9
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-CStBgDU7.js → oauth-callback-server-Xi-mTLOV.js} +2 -2
- package/dist/{projection-DY93nCfX.js → projection-DXl4ftyL.js} +140 -50
- package/dist/{prompt-exicBZeb.js → prompt-Dmx6IfWZ.js} +3 -3
- package/dist/{registry-X_xdFY9L.js → registry-DosVt9f9.js} +1 -1
- package/dist/{resolve-B9dYN-nS.js → resolve-BDjWJC9s.js} +3 -3
- package/dist/{result-CC8bV8Fl.js → result-CaAFpf4B.js} +8 -8
- package/dist/{runner-D44qp4rc.js → runner-h96Mkss6.js} +7 -7
- package/dist/{sandbox-egress-signals-BrH6DWkt.js → sandbox-egress-signals-rK91BW7i.js} +1 -1
- package/dist/{schema-CC2RxDAV.d.ts → schema-CHsBmXIj.d.ts} +246 -45
- package/dist/{schema-CVV5r-qP.js → schema-C_v8wb80.js} +2 -2
- package/dist/{service-account-89JZHWCE.js → service-account-BpGpScaT.js} +3 -3
- package/dist/{service-account-DoNZuJb-.js → service-account-WUMVuqVL.js} +3 -3
- package/dist/{session-stop-DNucbmPf.js → session-stop-xYK15HUu.js} +20 -41
- package/dist/{skills-BeUfmYXL.js → skills-DHApyCjj.js} +10 -9
- package/dist/{spawn-CIAcfcvZ.js → spawn-BQQrwGNe.js} +5 -5
- package/dist/{stop-Ckd3735h.js → stop-CBeD6_Gs.js} +32 -26
- package/dist/{store-CS0xoqXW.js → store-xtibD98L.js} +3 -3
- package/dist/{task-runner-DjjHCX_m.js → task-runner-BYPN4BEO.js} +65 -90
- package/dist/{turn-failure-response-D0bwI462.js → turn-failure-response-jNVl00MD.js} +7 -7
- package/dist/{validation-Cvx_AupF.js → validation-DGeB_moV.js} +1 -1
- package/dist/{version-BrDx4Fzc.js → version-C6nqU3Qc.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-4CxdwLLQ.js → viewer-9KLQibjn.js} +3 -3
- package/dist/{warmup-B62hd4lD.js → warmup-7S6z068f.js} +56 -24
- package/dist/{work-Cu315oJl.js → work-xwX6unUE.js} +11 -11
- package/dist/{worker-4ClZu6ry.js → worker-CiCCfwd4.js} +6 -6
- package/migrations/0096_automation_task_kind.sql +75 -0
- package/migrations/meta/0096_snapshot.json +4490 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +5 -5
package/dist/api/schema.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ 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
|
|
1
|
+
import { $ as automationExecutionListSchema, $i as codeChangeSummaryReportSchema, $n as conversationDeliveryBodySchema, $r as AcceptedConversationMessage, $t as disconnectConnectionResponseSchema, A as skillReportSchema, Aa as MAX_INPUT_IMAGE_BYTES, Ai as conversationDetailReportSchema, An as conversationWatchesReportSchema, Ar as ArchiveConversationResponse, At as userCustomizationSchema, B as AutomationList, Bi as createConversationBodySchema, Bn as CONVERSATION_OUTLINE_TEXT_LENGTH, Br as ConversationPendingMessagesReport, Bt as serviceAccountParamsSchema, C as pluginOperationalReportFeedSchema, Ca as buttonUserInputField, Ci as ConversationUsage, Cn as actorDirectoryReportSchema, Cr as ConversationMetricDay, Ct as deleteWorkspaceResponseSchema, D as pluginSchema, Da as isAgentInvocationResultEventType, Di as conversationActivityPreviewSchema, Dn as ConversationWatch, Dr as GuardianStats, Dt as workspaceRepoSchema, E as pluginPackageContentReportSchema, Ea as webMessageId, Ei as acceptedConversationMessageSchema, En as personalSpendReportSchema, Er as GuardianMetricDay, Et as workspaceParamsSchema, F as statsReportSchema, Fi as conversationFeedSchema, Fn as CONVERSATION_TITLE_MAX_LENGTH, Fr as conversationAutoArchiveSchema, Ft as personalTokenMetadataSchema, G as AutomationScheduleIntent, Gi as conversationTurnFailureReasonSchema, Gn as conversationUnreadSchema, Gr as conversationDetailWithMailboxReportSchema, Gt as testNotificationResponseSchema, H as AutomationRun, Hi as forkConversationBodySchema, Hn as conversationOutlineSchema, Hr as SteerConversationPendingMessagesResponse, Ht as startServiceAccountSignInResponseSchema, I as AutomationEdit, Ii as conversationParamsSchema, In as RenameConversationBody, Ir as CancelConversationPendingMessagesBody, It as personalTokenParamsSchema, J as AutomationVersionList, Ji as CodeOverviewReport, Jn as ConversationSubscriptionResponse, Jr as conversationPendingMessageSchema, Jt as isWithinNotificationSchedule, K as AutomationSummary, Ki as CodeActivityDay, Kn as markConversationUnreadBodySchema, Kr as conversationPendingAuthorizationSchema, Kt as DEFAULT_NOTIFICATION_SCHEDULE, L as AutomationExecution, Li as conversationReportEventDataSchema, Ln as RenameConversationResponse, Lr as CancelConversationPendingMessagesResponse, Lt as revokePersonalTokenResponseSchema, M as StatReport, Ma as INLINE_VIDEO_TYPES, Mi as conversationEventPageSchema, Mn as ConversationChildAgentsReport, Mr as archiveConversationBodySchema, Mt as createPersonalTokenBodySchema, N as StatsReport, Na as INPUT_IMAGE_TYPES, Ni as conversationEventsQuerySchema, Nn as conversationChildAgentSchema, Nr as archiveConversationResponseSchema, Nt as createdPersonalTokenSchema, O as pluginsSchema, Oa as InputImage, Oi as conversationAuxiliaryCostsSchema, On as ConversationWatchesReport, Or as conversationStatsReportSchema, Ot as workspaceSchema, P as statSchema, Pi as conversationFeedQuerySchema, Pn as conversationChildAgentsReportSchema, Pr as archiveDoneConversationsResponseSchema, Pt as personalTokenListSchema, Q as automationEventCatalogSchema, Qi as codeActivityDaySchema, Qn as ConversationDeliveryResponse, Qr as steerConversationPendingMessagesResponseSchema, Qt as connectionSchema, R as AutomationExecutionList, Ri as conversationReportEventSchema, Rn as renameConversationBodySchema, Rr as ConversationPendingMessage, Rt as disconnectServiceAccountResponseSchema, S as healthReportSchema, Sa as UserInputRequest, Si as ConversationTurnFailureReason, Sn as PersonalSpendReport, Sr as stopConversationTurnResponseSchema, St as baselineSnapshotSchema, T as pluginPackageContentItemReportSchema, Ta as normalizeUserInputAnswer, Ti as CreateConversationMessageBody, Tn as personParamsSchema, Tr as ConversationStatsReport, Tt as workspaceListSchema, U as AutomationRunList, Ui as forkConversationResponseSchema, Un as ConversationUnread, Ur as cancelConversationPendingMessagesBodySchema, Ut as NotificationSettings, V as AutomationListQuery, Vi as createConversationMessageBodySchema, Vn as ConversationOutline, Vr as SteerConversationPendingMessagesBody, Vt as serviceAccountSchema, W as AutomationRunWindows, Wi as conversationTurnFailureCodeSchema, Wn as MarkConversationUnreadBody, Wr as cancelConversationPendingMessagesResponseSchema, Wt as notificationSettingsSchema, X as automationEditErrorSchema, Xi as CodeRepositoryReport, Xn as conversationSubscriptionResponseSchema, Xr as conversationUnchangedDetailWithMailboxSchema, Xt as connectionListSchema, Y as ListedAutomationVersion, Yi as CodePersonReport, Yn as conversationSubscriptionBodySchema, Yr as conversationPendingMessagesReportSchema, Yt as notificationScheduleSchema, Z as automationEditSchema, Zi as CodeRepositorySummary, Zn as ConversationDeliveryBody, Zr as steerConversationPendingMessagesBodySchema, Zt as connectionParamsSchema, _ as PluginPackageContentReport, _a as AutomationTask, _i as ConversationReportStatus, _n as ActorSummaryReport, _r as ContinueConversationInSlackBody, _t as eventAutomationSummarySchema, a as ReviewItemPayload, aa as codeRepositorySummarySchema, ai as ConversationAuxiliaryCosts, an as LocationDetailReport, ar as pinConversationBodySchema, at as automationParamsSchema, b as SkillReport, ba as UserInputAnswer, bi as ConversationSurface, bn as PeopleActivityDayReport, br as continueConversationInSlackResponseSchema, bt as WorkspaceListReport, c as reviewItemListSchema, ca as DailyConversationActivity, ci as ConversationEventHistory, cn as LocationSummaryReport, cr as reorderPinnedConversationsResponseSchema, ct as automationRunWindowsSchema, d as ReviewItemChangeRecord, da as BoardColumn, di as ConversationFeedItem, dn as locationDirectoryReportSchema, dr as conversationCatchUpBodySchema, dt as automationSummarySchema, ea as codeChangeSummarySchema, ei as ActorIdentity, en as startConnectionResponseSchema, er as conversationDeliveryResponseSchema, et as automationExecutionSchema, f as HealthReport, fa as BoardReport, fi as ConversationModelUsage, fn as locationParamsSchema, fr as conversationCatchUpSchema, ft as automationUpdateSchema, g as PluginPackageContentItemReport, ga as resolveMessageCards, gi as ConversationReportMessageEvent, gn as ActorProfileReport, gr as conversationReadReportSchema, gt as automationVersionSchema, h as PluginOperationalReportFeed, ha as messageCardText, hi as ConversationReportEventData, hn as ActorDirectoryWindows, hr as conversationReadPositionSchema, ht as automationVersionParamsSchema, i as ReviewItemActionBody, ia as codeRepositoryReportSchema, ii as ConversationAgentTreeNode, in as LocationActorSummaryReport, ir as ReorderPinnedConversationsResponse, it as automationListSchema, j as skillReportsSchema, ja as MessageAttachment, ji as conversationEventHistorySchema, jn as ConversationChildAgent, jr as ConversationAutoArchive, jt as PersonalTokenMetadata, k as runtimeInfoReportSchema, ka as MAX_INPUT_IMAGES, ki as conversationDetailQuerySchema, kn as conversationWatchSchema, kr as ArchiveConversationBody, kt as USER_CUSTOMIZATION_MAX_CHARS, l as reviewItemSchema, la as dailyConversationActivitySchema, li as ConversationEventPage, ln as locationActivityDayReportSchema, lr as ConversationCatchUp, lt as automationScheduleIntentSchema, m as PluginOperationalReport, ma as MessageCard, mi as ConversationReportEvent, mn as ActorDirectoryReport, mr as ConversationReadReport, mt as automationVersionListSchema, n as Versions, na as codePersonReportSchema, ni as CONVERSATION_VERSION_HEADER, nn as apiErrorSchema, nr as PinConversationResponse, nt as automationExecutionStatusSchema, o as reviewItemActionSchema, oa as ConversationChildAgentTotals, oi as ConversationCost, on as LocationDirectoryReport, or as pinConversationResponseSchema, ot as automationRunListSchema, p as Plugin, pa as boardReportSchema, pi as ConversationParams, pn as ActorActivityDayReport, pr as ConversationReadPosition, pt as automationVersionActivateSchema, q as AutomationUpdate, qi as CodeChangeSummaryReport, qn as ConversationSubscriptionBody, qr as conversationPendingMessageDeliverySchema, qt as NotificationSchedule, r as versionsSchema, ra as codeRepositoryParamsSchema, ri as ConversationActivityPreview, rn as LocationActivityDayReport, rr as ReorderPinnedConversationsBody, rt as automationListQuerySchema, s as reviewItemCountSchema, sa as conversationChildAgentTotalsSchema, si as ConversationDetailReport, sn as LocationParams, sr as reorderPinnedConversationsBodySchema, st as automationRunSchema, t as OwnedObjectAnnotation, ta as codeOverviewReportSchema, ti as CONVERSATION_DETAIL_VERSION_HEADER, tn as ApiError, tr as PinConversationBody, tt as automationExecutionStatusDaySchema, u as reviewItemWaitingConversationsSchema, ua as BoardCard, ui as ConversationFeed, un as locationDetailReportSchema, ur as ConversationCatchUpBody, ut as automationSchedulePreviewSchema, v as Plugins, va as AutomationCard, vi as ConversationSourceTask, vn as ActorTotalsReport, vr as ContinueConversationInSlackResponse, vt as scheduledAutomationSummarySchema, w as pluginOperationalReportSchema, wa as isEmptyUserInputAnswer, wi as CreateConversationBody, wn as actorProfileReportSchema, wr as ConversationStatsItem, wt as workspaceBodySchema, x as SkillReports, xa as UserInputField, xi as ConversationTurnFailureCode, xn as PersonParams, xr as StopConversationTurnResponse, xt as WorkspaceReport, y as RuntimeInfoReport, ya as USER_INPUT_NOTE, yi as ConversationSummaryReport, yn as ActorWindowMetrics, yr as continueConversationInSlackBodySchema, yt as BaselineSnapshotReport, z as AutomationExecutionStatusDay, zi as conversationSummaryReportSchema, zn as renameConversationResponseSchema, zr as ConversationPendingMessageDelivery, zt as serviceAccountListSchema } from "../schema-CHsBmXIj.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 AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationTask, type AutomationUpdate, type AutomationVersionList, type BaselineSnapshotReport, type BoardCard, type BoardColumn, type BoardReport, CONVERSATION_DETAIL_VERSION_HEADER, CONVERSATION_OUTLINE_TEXT_LENGTH, CONVERSATION_TITLE_MAX_LENGTH, CONVERSATION_VERSION_HEADER, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ContinueConversationInSlackBody, type ContinueConversationInSlackResponse, type ConversationActivityPreview, type ConversationAgentTreeNode, type ConversationAutoArchive, type ConversationAuxiliaryCosts, type ConversationCatchUp, type ConversationCatchUpBody, type ConversationChildAgent, type ConversationChildAgentTotals, type ConversationChildAgentsReport, type ConversationCost, type ConversationDeliveryBody, type ConversationDeliveryResponse, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationFeedItem, type ConversationMetricDay, type ConversationModelUsage, type ConversationOutline, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReadPosition, type ConversationReadReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportMessageEvent, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSubscriptionBody, type ConversationSubscriptionResponse, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUnread, type ConversationUsage, type ConversationWatch, type ConversationWatchesReport, type CreateConversationBody, type CreateConversationMessageBody, DEFAULT_NOTIFICATION_SCHEDULE, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, INLINE_VIDEO_TYPES, 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 MarkConversationUnreadBody, type MessageAttachment, type MessageCard, type NotificationSchedule, type NotificationSettings, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type PinConversationBody, type PinConversationResponse, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RenameConversationBody, type RenameConversationResponse, type ReorderPinnedConversationsBody, type ReorderPinnedConversationsResponse, type ReviewItemActionBody, type ReviewItemChangeRecord, type ReviewItemPayload, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type SteerConversationPendingMessagesBody, type SteerConversationPendingMessagesResponse, type StopConversationTurnResponse, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, type UserInputAnswer, type UserInputField, type UserInputRequest, type Versions, type WorkspaceListReport, type WorkspaceReport, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, boardReportSchema, buttonUserInputField, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, continueConversationInSlackBodySchema, continueConversationInSlackResponseSchema, conversationActivityPreviewSchema, conversationAutoArchiveSchema, conversationAuxiliaryCostsSchema, conversationCatchUpBodySchema, conversationCatchUpSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDeliveryBodySchema, conversationDeliveryResponseSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationDetailWithMailboxReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationOutlineSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReadReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSubscriptionBodySchema, conversationSubscriptionResponseSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationUnchangedDetailWithMailboxSchema, conversationUnreadSchema, conversationWatchSchema, conversationWatchesReportSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isAgentInvocationResultEventType, isEmptyUserInputAnswer, isWithinNotificationSchedule, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, markConversationUnreadBodySchema, messageCardText, normalizeUserInputAnswer, notificationScheduleSchema, notificationSettingsSchema, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pinConversationBodySchema, pinConversationResponseSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, renameConversationBodySchema, renameConversationResponseSchema, reorderPinnedConversationsBodySchema, reorderPinnedConversationsResponseSchema, resolveMessageCards, reviewItemActionSchema, reviewItemCountSchema, reviewItemListSchema, reviewItemSchema, reviewItemWaitingConversationsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, serviceAccountListSchema, serviceAccountParamsSchema, serviceAccountSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, testNotificationResponseSchema, userCustomizationSchema, versionsSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
|
package/dist/api/schema.js
CHANGED
|
@@ -2,8 +2,8 @@ import { c as conversationTurnFailureCodeSchema, l as conversationTurnFailureRea
|
|
|
2
2
|
import { n as isWithinNotificationSchedule, r as notificationScheduleSchema, t as DEFAULT_NOTIFICATION_SCHEDULE } from "../schedule-cP0AACm1.js";
|
|
3
3
|
import { A as renameConversationBodySchema, B as resolveMessageCards, C as createConversationBodySchema, D as conversationChildAgentTotalsSchema, E as forkConversationResponseSchema, H as MAX_INPUT_IMAGE_BYTES, L as messageCardText, M as conversationReadPositionSchema, N as conversationReadReportSchema, O as CONVERSATION_TITLE_MAX_LENGTH, T as forkConversationBodySchema, V as MAX_INPUT_IMAGES, _ as conversationReportEventSchema, a as conversationActivityPreviewSchema, b as conversationSummaryReportSchema, c as conversationDetailQuerySchema, d as conversationEventPageSchema, f as conversationEventsQuerySchema, g as conversationReportEventDataSchema, h as conversationParamsSchema, j as renameConversationResponseSchema, l as conversationDetailReportSchema, m as conversationFeedSchema, n as CONVERSATION_VERSION_HEADER, p as conversationFeedQuerySchema, r as acceptedConversationMessageSchema, s as conversationAuxiliaryCostsSchema, t as CONVERSATION_DETAIL_VERSION_HEADER, u as conversationEventHistorySchema, w as createConversationMessageBodySchema } from "../conversation-CtjR1Zcx.js";
|
|
4
4
|
import { E as userCustomizationSchema, T as USER_CUSTOMIZATION_MAX_CHARS, _ as buttonUserInputField, b as normalizeUserInputAnswer, g as USER_INPUT_NOTE, m as apiErrorSchema, p as webMessageId, y as isEmptyUserInputAnswer } from "../reporting-window-B3Ze-Qnt.js";
|
|
5
|
-
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-
|
|
6
|
-
import { _ as pluginsSchema, a as conversationPendingMessageDeliverySchema, b as skillReportsSchema, c as conversationUnchangedDetailWithMailboxSchema, d as healthReportSchema, f as pluginOperationalReportFeedSchema, g as pluginSchema, h as pluginPackageContentReportSchema, i as conversationPendingAuthorizationSchema, l as steerConversationPendingMessagesBodySchema, m as pluginPackageContentItemReportSchema, n as cancelConversationPendingMessagesResponseSchema, o as conversationPendingMessageSchema, p as pluginOperationalReportSchema, r as conversationDetailWithMailboxReportSchema, s as conversationPendingMessagesReportSchema, t as cancelConversationPendingMessagesBodySchema, u as steerConversationPendingMessagesResponseSchema, v as runtimeInfoReportSchema, y as skillReportSchema } from "../conversation-pending-messages-
|
|
5
|
+
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-BE3z19VN.js";
|
|
6
|
+
import { _ as pluginsSchema, a as conversationPendingMessageDeliverySchema, b as skillReportsSchema, c as conversationUnchangedDetailWithMailboxSchema, d as healthReportSchema, f as pluginOperationalReportFeedSchema, g as pluginSchema, h as pluginPackageContentReportSchema, i as conversationPendingAuthorizationSchema, l as steerConversationPendingMessagesBodySchema, m as pluginPackageContentItemReportSchema, n as cancelConversationPendingMessagesResponseSchema, o as conversationPendingMessageSchema, p as pluginOperationalReportSchema, r as conversationDetailWithMailboxReportSchema, s as conversationPendingMessagesReportSchema, t as cancelConversationPendingMessagesBodySchema, u as steerConversationPendingMessagesResponseSchema, v as runtimeInfoReportSchema, y as skillReportSchema } from "../conversation-pending-messages-1Kad1Mif.js";
|
|
7
7
|
import { n as isAgentInvocationResultEventType } from "../result-event-type-DD6BAgT7.js";
|
|
8
|
-
import { $ as codeChangeSummaryReportSchema, A as actorDirectoryReportSchema, At as reorderPinnedConversationsResponseSchema, C as startServiceAccountSignInResponseSchema, Ct as conversationSubscriptionBodySchema, D as personalTokenMetadataSchema, Dt as pinConversationBodySchema, E as personalTokenListSchema, Et as conversationDeliveryResponseSchema, F as locationActivityDayReportSchema, H as dailyConversationActivitySchema, I as locationDetailReportSchema, J as connectionParamsSchema, K as testNotificationResponseSchema, L as locationDirectoryReportSchema, Mt as conversationCatchUpSchema, N as personParamsSchema, O as personalTokenParamsSchema, Ot as pinConversationResponseSchema, P as personalSpendReportSchema, Q as codeActivityDaySchema, R as locationParamsSchema, S as serviceAccountSchema, St as markConversationUnreadBodySchema, T as createdPersonalTokenSchema, Tt as conversationDeliveryBodySchema, U as notificationSettingsSchema, X as disconnectConnectionResponseSchema, Y as connectionSchema, Z as startConnectionResponseSchema, _ as reviewItemSchema, _t as archiveConversationBodySchema, a as baselineSnapshotSchema, at as codeRepositorySummarySchema, b as serviceAccountListSchema, bt as conversationAutoArchiveSchema, c as workspaceListSchema, ct as conversationWatchesReportSchema, d as workspaceSchema, dt as continueConversationInSlackBodySchema, et as codeChangeSummarySchema, f as reviewItemActionSchema, ft as continueConversationInSlackResponseSchema, gt as conversationOutlineSchema, h as reviewItemListSchema, ht as CONVERSATION_OUTLINE_TEXT_LENGTH, i as statsReportSchema, it as codeRepositoryReportSchema, j as actorProfileReportSchema, jt as conversationCatchUpBodySchema, k as revokePersonalTokenResponseSchema, kt as reorderPinnedConversationsBodySchema, l as workspaceParamsSchema, lt as conversationChildAgentSchema, mt as conversationStatsReportSchema, n as versionsSchema, nt as codePersonReportSchema, o as deleteWorkspaceResponseSchema, ot as boardReportSchema, p as reviewItemCountSchema, pt as stopConversationTurnResponseSchema, q as connectionListSchema, r as statSchema, rt as codeRepositoryParamsSchema, s as workspaceBodySchema, st as conversationWatchSchema, tt as codeOverviewReportSchema, u as workspaceRepoSchema, ut as conversationChildAgentsReportSchema, v as reviewItemWaitingConversationsSchema, vt as archiveConversationResponseSchema, w as createPersonalTokenBodySchema, wt as conversationSubscriptionResponseSchema, x as serviceAccountParamsSchema, xt as conversationUnreadSchema, y as disconnectServiceAccountResponseSchema, yt as archiveDoneConversationsResponseSchema } from "../schema-
|
|
8
|
+
import { $ as codeChangeSummaryReportSchema, A as actorDirectoryReportSchema, At as reorderPinnedConversationsResponseSchema, C as startServiceAccountSignInResponseSchema, Ct as conversationSubscriptionBodySchema, D as personalTokenMetadataSchema, Dt as pinConversationBodySchema, E as personalTokenListSchema, Et as conversationDeliveryResponseSchema, F as locationActivityDayReportSchema, H as dailyConversationActivitySchema, I as locationDetailReportSchema, J as connectionParamsSchema, K as testNotificationResponseSchema, L as locationDirectoryReportSchema, Mt as conversationCatchUpSchema, N as personParamsSchema, O as personalTokenParamsSchema, Ot as pinConversationResponseSchema, P as personalSpendReportSchema, Q as codeActivityDaySchema, R as locationParamsSchema, S as serviceAccountSchema, St as markConversationUnreadBodySchema, T as createdPersonalTokenSchema, Tt as conversationDeliveryBodySchema, U as notificationSettingsSchema, X as disconnectConnectionResponseSchema, Y as connectionSchema, Z as startConnectionResponseSchema, _ as reviewItemSchema, _t as archiveConversationBodySchema, a as baselineSnapshotSchema, at as codeRepositorySummarySchema, b as serviceAccountListSchema, bt as conversationAutoArchiveSchema, c as workspaceListSchema, ct as conversationWatchesReportSchema, d as workspaceSchema, dt as continueConversationInSlackBodySchema, et as codeChangeSummarySchema, f as reviewItemActionSchema, ft as continueConversationInSlackResponseSchema, gt as conversationOutlineSchema, h as reviewItemListSchema, ht as CONVERSATION_OUTLINE_TEXT_LENGTH, i as statsReportSchema, it as codeRepositoryReportSchema, j as actorProfileReportSchema, jt as conversationCatchUpBodySchema, k as revokePersonalTokenResponseSchema, kt as reorderPinnedConversationsBodySchema, l as workspaceParamsSchema, lt as conversationChildAgentSchema, mt as conversationStatsReportSchema, n as versionsSchema, nt as codePersonReportSchema, o as deleteWorkspaceResponseSchema, ot as boardReportSchema, p as reviewItemCountSchema, pt as stopConversationTurnResponseSchema, q as connectionListSchema, r as statSchema, rt as codeRepositoryParamsSchema, s as workspaceBodySchema, st as conversationWatchSchema, tt as codeOverviewReportSchema, u as workspaceRepoSchema, ut as conversationChildAgentsReportSchema, v as reviewItemWaitingConversationsSchema, vt as archiveConversationResponseSchema, w as createPersonalTokenBodySchema, wt as conversationSubscriptionResponseSchema, x as serviceAccountParamsSchema, xt as conversationUnreadSchema, y as disconnectServiceAccountResponseSchema, yt as archiveDoneConversationsResponseSchema } from "../schema-C_v8wb80.js";
|
|
9
9
|
export { CONVERSATION_DETAIL_VERSION_HEADER, CONVERSATION_OUTLINE_TEXT_LENGTH, CONVERSATION_TITLE_MAX_LENGTH, CONVERSATION_VERSION_HEADER, DEFAULT_NOTIFICATION_SCHEDULE, INLINE_VIDEO_TYPES, INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, boardReportSchema, buttonUserInputField, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, continueConversationInSlackBodySchema, continueConversationInSlackResponseSchema, conversationActivityPreviewSchema, conversationAutoArchiveSchema, conversationAuxiliaryCostsSchema, conversationCatchUpBodySchema, conversationCatchUpSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDeliveryBodySchema, conversationDeliveryResponseSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationDetailWithMailboxReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationOutlineSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReadReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSubscriptionBodySchema, conversationSubscriptionResponseSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationUnchangedDetailWithMailboxSchema, conversationUnreadSchema, conversationWatchSchema, conversationWatchesReportSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isAgentInvocationResultEventType, isEmptyUserInputAnswer, isWithinNotificationSchedule, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, markConversationUnreadBodySchema, messageCardText, normalizeUserInputAnswer, notificationScheduleSchema, notificationSettingsSchema, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pinConversationBodySchema, pinConversationResponseSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, renameConversationBodySchema, renameConversationResponseSchema, reorderPinnedConversationsBodySchema, reorderPinnedConversationsResponseSchema, resolveMessageCards, reviewItemActionSchema, reviewItemCountSchema, reviewItemListSchema, reviewItemSchema, reviewItemWaitingConversationsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, serviceAccountListSchema, serviceAccountParamsSchema, serviceAccountSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, testNotificationResponseSchema, userCustomizationSchema, versionsSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
|
package/dist/api.d.ts
CHANGED
package/dist/api.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
import { L as escapeXml, n as botConfig, q as getAttachmentStorage } from "./config-
|
|
3
|
-
import { m as logInfo, p as logException } from "./logging-
|
|
1
|
+
import { $n as deletePushSubscription, Ai as hash, An as createUserTokenStore, Ar as reviewItemReaderForUser, Ci as updateWorkspace, Fa as SANDBOX_RUNTIME, Io as createPluginCache, Qn as resolveNotificationTimezone, Ra as workspaceRepoCheckoutPath, Si as listWorkspacesByRepository, Wn as getPlugins, Xn as readWebPushConfig, Zn as sendPushNotificationToUser, _i as createWorkspace, br as canActOnReviewItem, cr as countReviewItemsNeedingUser, eo as createPluginLogger, er as listPushSubscriptions, fo as readConversationBriefThrough, gr as searchReviewItems, hr as reviewItemsNeedingUserVersionQuery, io as readConversationAccessFromSql, ir as isPausedBySlack, jr as reviewItemReaderForUserInConversation, ki as create, kr as reviewItemNeedsUser, mo as readConversationEventPage, mr as listWaitingConversations, nr as saveNotificationSchedule, oo as conversationIsMemberRoot, ro as createConversationAccessReader, rr as savePushSubscription, tr as readNotificationSchedule, ui as getDashboardSettingsLink, vi as deleteWorkspace, wi as WorkspaceValidationError, wr as isOnlyAssignee, xi as listWorkspaces, yi as getWorkspace, yr as PLUGIN_REVIEW_ITEM_KEY_PREFIX } from "./projection-DXl4ftyL.js";
|
|
2
|
+
import { L as escapeXml, n as botConfig, q as getAttachmentStorage } from "./config-B4b-NXH5.js";
|
|
3
|
+
import { m as logInfo, p as logException } from "./logging-BN5drSEZ.js";
|
|
4
4
|
import { f as parseSlackTeamId, u as parseSlackChannelId } from "./actor-6jsm_v96.js";
|
|
5
|
-
import { J as nextDetailVersion, a as getConversationStore, b as withConversationMutationLock, o as getDb, s as getSqlExecutor, v as loadConversationSlackTenantIds, x as conversationKindFromRow } from "./db-
|
|
6
|
-
import { A as juniorConversations, D as juniorCodeChanges, E as juniorConversationAnnotations, M as juniorUsers, N as juniorDestinations, O as juniorCodeRepositories, S as juniorConversationMetrics, T as juniorApiTokens, j as juniorIdentities, l as juniorReviewItems, s as juniorReviewItemConversations, w as juniorConversationEvents } from "./executor-
|
|
5
|
+
import { J as nextDetailVersion, a as getConversationStore, b as withConversationMutationLock, o as getDb, s as getSqlExecutor, v as loadConversationSlackTenantIds, x as conversationKindFromRow } from "./db-CoA7_Xqu.js";
|
|
6
|
+
import { A as juniorConversations, D as juniorCodeChanges, E as juniorConversationAnnotations, M as juniorUsers, N as juniorDestinations, O as juniorCodeRepositories, S as juniorConversationMetrics, T as juniorApiTokens, j as juniorIdentities, l as juniorReviewItems, s as juniorReviewItemConversations, w as juniorConversationEvents } from "./executor-SWyHhit0.js";
|
|
7
7
|
import { n as INPUT_IMAGE_TYPES, t as INLINE_VIDEO_TYPES } from "./media-BepyEUNm.js";
|
|
8
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
9
|
-
import { $ as readViewerAutomationSummary, $t as resumeConversationDelivery, A as runWithSlackInstallation, Ct as emptyResponse, G as changeViewerAutomationLifecycle, J as updateViewerAutomation, K as deleteViewerTask, Q as readViewerAutomationRuns, Qt as pauseConversationDelivery, S as createSlackReviewItemShow, Tt as throwApiError, W as activateViewerAutomationVersion, Y as ViewerTaskNotFoundError, Z as readViewerAutomationExecutions, Zt as canPauseConversationDelivery, _t as readLiveAttachment, bt as archiveConversation, et as readViewerAutomationVersions, it as listOwnedWatches, m as readStats, mt as webActorFromUser, nt as AutomationEditError, on as listedConversation, q as readViewerAutomationEdit, sn as listChildAgents, tt as readViewerAutomations, v as setConversationSubscription, wt as jsonResponse } from "./agent-runner-
|
|
10
|
-
import { n as briefEntriesFromReportEvents, u as completeText } from "./prompt-
|
|
11
|
-
import { c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarImage, t as findUserByEmail } from "./viewer-
|
|
12
|
-
import { r as getStateAdapter } from "./adapter-
|
|
8
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-DwbTyNRD.js";
|
|
9
|
+
import { $ as readViewerAutomationSummary, $t as resumeConversationDelivery, A as runWithSlackInstallation, Ct as emptyResponse, G as changeViewerAutomationLifecycle, J as updateViewerAutomation, K as deleteViewerTask, Q as readViewerAutomationRuns, Qt as pauseConversationDelivery, S as createSlackReviewItemShow, Tt as throwApiError, W as activateViewerAutomationVersion, Y as ViewerTaskNotFoundError, Z as readViewerAutomationExecutions, Zt as canPauseConversationDelivery, _t as readLiveAttachment, bt as archiveConversation, et as readViewerAutomationVersions, it as listOwnedWatches, m as readStats, mt as webActorFromUser, nt as AutomationEditError, on as listedConversation, q as readViewerAutomationEdit, sn as listChildAgents, tt as readViewerAutomations, v as setConversationSubscription, wt as jsonResponse } from "./agent-runner-DHq1pjUg.js";
|
|
10
|
+
import { n as briefEntriesFromReportEvents, u as completeText } from "./prompt-Dmx6IfWZ.js";
|
|
11
|
+
import { c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarImage, t as findUserByEmail } from "./viewer-9KLQibjn.js";
|
|
12
|
+
import { r as getStateAdapter } from "./adapter-CMJfmHso.js";
|
|
13
13
|
import { r as notificationScheduleSchema } from "./schedule-cP0AACm1.js";
|
|
14
14
|
import { A as renameConversationBodySchema, C as createConversationBodySchema, E as forkConversationResponseSchema, M as conversationReadPositionSchema, N as conversationReadReportSchema, T as forkConversationBodySchema, c as conversationDetailQuerySchema, d as conversationEventPageSchema, f as conversationEventsQuerySchema, h as conversationParamsSchema, j as renameConversationResponseSchema, l as conversationDetailReportSchema, m as conversationFeedSchema, n as CONVERSATION_VERSION_HEADER, o as conversationAttachmentParamsSchema, p as conversationFeedQuerySchema, r as acceptedConversationMessageSchema, t as CONVERSATION_DETAIL_VERSION_HEADER, w as createConversationMessageBodySchema } from "./conversation-CtjR1Zcx.js";
|
|
15
|
-
import { g as getVercelConversationWorkQueue } from "./background-compaction-queue-
|
|
16
|
-
import { O as getEventCatalog, et as readUserCustomization, rt as isExperimentalFeatureEnabled, tt as saveUserCustomization } from "./session-stop-
|
|
15
|
+
import { g as getVercelConversationWorkQueue } from "./background-compaction-queue-D7ncdEa6.js";
|
|
16
|
+
import { O as getEventCatalog, et as readUserCustomization, rt as isExperimentalFeatureEnabled, tt as saveUserCustomization } from "./session-stop-xYK15HUu.js";
|
|
17
17
|
import { E as userCustomizationSchema, a as fillUtcSixHours, c as trailingUtcDayWindow, d as utcDayKey, f as utcHourKey, i as fillUtcHours, l as trailingUtcHourWindow, m as apiErrorSchema, 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-B3Ze-Qnt.js";
|
|
18
|
-
import { s as getSandboxResources, t as getCachedSnapshot } from "./resolve-
|
|
19
|
-
import { J as AutomationConflictError,
|
|
20
|
-
import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-
|
|
21
|
-
import {
|
|
22
|
-
import { _ as pluginsSchema, b as skillReportsSchema, c as conversationUnchangedDetailWithMailboxSchema, d as healthReportSchema, f as pluginOperationalReportFeedSchema, l as steerConversationPendingMessagesBodySchema, n as cancelConversationPendingMessagesResponseSchema, r as conversationDetailWithMailboxReportSchema, s as conversationPendingMessagesReportSchema, t as cancelConversationPendingMessagesBodySchema, u as steerConversationPendingMessagesResponseSchema, v as runtimeInfoReportSchema } from "./conversation-pending-messages-
|
|
23
|
-
import { $ as actOnReviewItem, C as createConversationForViewer, E as cancelConversationPendingMessagesForViewer, F as isAllowedSignInEmail, M as getProductionSlackAdapter, O as requireConversationPendingMessages, Q as ReviewItemActionError, S as appendConversationMessageForViewer, _ as keepQuickQuestionForViewer, a as pinConversation, at as continueConversationInSlack, c as readConversationParticipants, ct as archiveViewerDoneConversations, d as readConversationTreeMetricsFromSql, dt as setConversationAutoArchive, f as conversationVersionQuery, ft as updateUserAutoArchiveSettings, g as forkConversationForViewer, gt as readHealthReport, h as reportConversationRead, i as readConversationFeed, it as canContinueInSlack, k as resolveMentions, l as readConversationAuxiliaryCostsFromSql, lt as readUserAutoArchiveSettings, m as markConversationUnread, n as steerConversationPendingMessagesForViewer, o as reorderPinnedConversations, p as readConversationDetailEtag, r as conversationFeedVersionQuery, s as readConversationDetail, st as DEFAULT_AUTO_ARCHIVE_SETTINGS, t as stopConversationTurnForViewer, tt as readReviewItemForUser, u as childAgentTotalsReport, v as readConversationEvents, x as readFirstHumanMessageTexts, y as conversationSummaryFromStoredConversation } from "./stop-
|
|
24
|
-
import { a as startConnection, n as isConnectableProvider, r as listConnections, s as htmlCallbackResponse, t as disconnectConnection } from "./connections-
|
|
25
|
-
import { A as actorDirectoryReportSchema, At as reorderPinnedConversationsResponseSchema, B as activityHours$1, C as startServiceAccountSignInResponseSchema, Ct as conversationSubscriptionBodySchema, Dt as pinConversationBodySchema, E as personalTokenListSchema, Et as conversationDeliveryResponseSchema, G as pushSubscriptionDeleteBodySchema, I as locationDetailReportSchema, J as connectionParamsSchema, K as testNotificationResponseSchema, L as locationDirectoryReportSchema, M as avatarParamsSchema, Mt as conversationCatchUpSchema, N as personParamsSchema, O as personalTokenParamsSchema, Ot as pinConversationResponseSchema, P as personalSpendReportSchema, R as locationParamsSchema, St as markConversationUnreadBodySchema, T as createdPersonalTokenSchema, Tt as conversationDeliveryBodySchema, U as notificationSettingsSchema, V as activitySixHours$1, W as pushSubscriptionBodySchema, X as disconnectConnectionResponseSchema, Z as startConnectionResponseSchema, _ as reviewItemSchema, _t as archiveConversationBodySchema, b as serviceAccountListSchema, bt as conversationAutoArchiveSchema, c as workspaceListSchema, ct as conversationWatchesReportSchema, d as workspaceSchema, dt as continueConversationInSlackBodySchema, f as reviewItemActionSchema, ft as continueConversationInSlackResponseSchema, g as reviewItemParamsSchema, gt as conversationOutlineSchema, h as reviewItemListSchema, i as statsReportSchema, it as codeRepositoryReportSchema, j as actorProfileReportSchema, jt as conversationCatchUpBodySchema, k as revokePersonalTokenResponseSchema, kt as reorderPinnedConversationsBodySchema, l as workspaceParamsSchema, m as reviewItemListQuerySchema, mt as conversationStatsReportSchema, n as versionsSchema, nt as codePersonReportSchema, o as deleteWorkspaceResponseSchema, ot as boardReportSchema, p as reviewItemCountSchema, pt as stopConversationTurnResponseSchema, q as connectionListSchema, rt as codeRepositoryParamsSchema, s as workspaceBodySchema, t as versionsQuerySchema, tt as codeOverviewReportSchema, ut as conversationChildAgentsReportSchema, v as reviewItemWaitingConversationsSchema, vt as archiveConversationResponseSchema, w as createPersonalTokenBodySchema, wt as conversationSubscriptionResponseSchema, x as serviceAccountParamsSchema, xt as conversationUnreadSchema, y as disconnectServiceAccountResponseSchema, yt as archiveDoneConversationsResponseSchema, z as activityDays$1 } from "./schema-
|
|
18
|
+
import { s as getSandboxResources, t as getCachedSnapshot } from "./resolve-BDjWJC9s.js";
|
|
19
|
+
import { J as AutomationConflictError, at as readAutomationTitlesByConversationId, ct as conversationRangeColumns, st as conversationAggregateColumns, vt as automationEventCatalog } from "./task-runner-BYPN4BEO.js";
|
|
20
|
+
import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-BpGpScaT.js";
|
|
21
|
+
import { F as compileScheduleIntent, P as ScheduleIntentError, U as automationTaskText, _ as automationSummarySchema, b as automationVersionListSchema, c as automationLifecycleSchema, d as automationParamsSchema, f as automationRunListSchema, g as automationSchedulePreviewSchema, h as automationScheduleIntentSchema, i as automationExecutionListSchema, l as automationListQuerySchema, n as automationEditSchema, r as automationEventCatalogSchema, t as automationEditErrorSchema, u as automationListSchema, v as automationUpdateSchema, x as automationVersionParamsSchema, y as automationVersionActivateSchema } from "./automation-BE3z19VN.js";
|
|
22
|
+
import { _ as pluginsSchema, b as skillReportsSchema, c as conversationUnchangedDetailWithMailboxSchema, d as healthReportSchema, f as pluginOperationalReportFeedSchema, l as steerConversationPendingMessagesBodySchema, n as cancelConversationPendingMessagesResponseSchema, r as conversationDetailWithMailboxReportSchema, s as conversationPendingMessagesReportSchema, t as cancelConversationPendingMessagesBodySchema, u as steerConversationPendingMessagesResponseSchema, v as runtimeInfoReportSchema } from "./conversation-pending-messages-1Kad1Mif.js";
|
|
23
|
+
import { $ as actOnReviewItem, C as createConversationForViewer, E as cancelConversationPendingMessagesForViewer, F as isAllowedSignInEmail, M as getProductionSlackAdapter, O as requireConversationPendingMessages, Q as ReviewItemActionError, S as appendConversationMessageForViewer, _ as keepQuickQuestionForViewer, a as pinConversation, at as continueConversationInSlack, c as readConversationParticipants, ct as archiveViewerDoneConversations, d as readConversationTreeMetricsFromSql, dt as setConversationAutoArchive, f as conversationVersionQuery, ft as updateUserAutoArchiveSettings, g as forkConversationForViewer, gt as readHealthReport, h as reportConversationRead, i as readConversationFeed, it as canContinueInSlack, k as resolveMentions, l as readConversationAuxiliaryCostsFromSql, lt as readUserAutoArchiveSettings, m as markConversationUnread, n as steerConversationPendingMessagesForViewer, o as reorderPinnedConversations, p as readConversationDetailEtag, r as conversationFeedVersionQuery, s as readConversationDetail, st as DEFAULT_AUTO_ARCHIVE_SETTINGS, t as stopConversationTurnForViewer, tt as readReviewItemForUser, u as childAgentTotalsReport, v as readConversationEvents, x as readFirstHumanMessageTexts, y as conversationSummaryFromStoredConversation } from "./stop-CBeD6_Gs.js";
|
|
24
|
+
import { a as startConnection, n as isConnectableProvider, r as listConnections, s as htmlCallbackResponse, t as disconnectConnection } from "./connections-Dz_AQg5p.js";
|
|
25
|
+
import { A as actorDirectoryReportSchema, At as reorderPinnedConversationsResponseSchema, B as activityHours$1, C as startServiceAccountSignInResponseSchema, Ct as conversationSubscriptionBodySchema, Dt as pinConversationBodySchema, E as personalTokenListSchema, Et as conversationDeliveryResponseSchema, G as pushSubscriptionDeleteBodySchema, I as locationDetailReportSchema, J as connectionParamsSchema, K as testNotificationResponseSchema, L as locationDirectoryReportSchema, M as avatarParamsSchema, Mt as conversationCatchUpSchema, N as personParamsSchema, O as personalTokenParamsSchema, Ot as pinConversationResponseSchema, P as personalSpendReportSchema, R as locationParamsSchema, St as markConversationUnreadBodySchema, T as createdPersonalTokenSchema, Tt as conversationDeliveryBodySchema, U as notificationSettingsSchema, V as activitySixHours$1, W as pushSubscriptionBodySchema, X as disconnectConnectionResponseSchema, Z as startConnectionResponseSchema, _ as reviewItemSchema, _t as archiveConversationBodySchema, b as serviceAccountListSchema, bt as conversationAutoArchiveSchema, c as workspaceListSchema, ct as conversationWatchesReportSchema, d as workspaceSchema, dt as continueConversationInSlackBodySchema, f as reviewItemActionSchema, ft as continueConversationInSlackResponseSchema, g as reviewItemParamsSchema, gt as conversationOutlineSchema, h as reviewItemListSchema, i as statsReportSchema, it as codeRepositoryReportSchema, j as actorProfileReportSchema, jt as conversationCatchUpBodySchema, k as revokePersonalTokenResponseSchema, kt as reorderPinnedConversationsBodySchema, l as workspaceParamsSchema, m as reviewItemListQuerySchema, mt as conversationStatsReportSchema, n as versionsSchema, nt as codePersonReportSchema, o as deleteWorkspaceResponseSchema, ot as boardReportSchema, p as reviewItemCountSchema, pt as stopConversationTurnResponseSchema, q as connectionListSchema, rt as codeRepositoryParamsSchema, s as workspaceBodySchema, t as versionsQuerySchema, tt as codeOverviewReportSchema, ut as conversationChildAgentsReportSchema, v as reviewItemWaitingConversationsSchema, vt as archiveConversationResponseSchema, w as createPersonalTokenBodySchema, wt as conversationSubscriptionResponseSchema, x as serviceAccountParamsSchema, xt as conversationUnreadSchema, y as disconnectServiceAccountResponseSchema, yt as archiveDoneConversationsResponseSchema, z as activityDays$1 } from "./schema-C_v8wb80.js";
|
|
26
26
|
import { Hono } from "hono";
|
|
27
27
|
import path from "node:path";
|
|
28
28
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -2666,7 +2666,7 @@ async function readPeoplePluginReports(args) {
|
|
|
2666
2666
|
reports: [],
|
|
2667
2667
|
source: "plugins"
|
|
2668
2668
|
});
|
|
2669
|
-
const { getPluginProfileReports } = await import("./projection-
|
|
2669
|
+
const { getPluginProfileReports } = await import("./projection-DXl4ftyL.js").then((n) => n.Fn);
|
|
2670
2670
|
return pluginOperationalReportFeedSchema.parse({
|
|
2671
2671
|
generatedAt: new Date(nowMs).toISOString(),
|
|
2672
2672
|
reports: await getPluginProfileReports({
|
|
@@ -2859,11 +2859,11 @@ function spendWindow(nowMs) {
|
|
|
2859
2859
|
thirtyDayStart
|
|
2860
2860
|
};
|
|
2861
2861
|
}
|
|
2862
|
-
/** Match the viewer's own Turn
|
|
2862
|
+
/** Match the viewer's own Turn cost rows in the spend window. */
|
|
2863
2863
|
function viewerWindowWhere(email, nowMs) {
|
|
2864
2864
|
const normalizedEmail = normalizeEmail$1(email);
|
|
2865
2865
|
const { end, thirtyDayStart } = spendWindow(nowMs);
|
|
2866
|
-
return normalizedEmail ? and(verifiedActorWhere(normalizedEmail), gte(juniorConversationMetrics.occurredAt, thirtyDayStart), lte(juniorConversationMetrics.occurredAt, end)) : sql`false`;
|
|
2866
|
+
return normalizedEmail ? and(verifiedActorWhere(normalizedEmail), eq(juniorConversationMetrics.metric, "cost_usd"), gte(juniorConversationMetrics.occurredAt, thirtyDayStart), lte(juniorConversationMetrics.occurredAt, end)) : sql`false`;
|
|
2867
2867
|
}
|
|
2868
2868
|
/** Return a query for one viewer's model spend for each UTC day in the window. */
|
|
2869
2869
|
function personalSpendDaysQuery(email, nowMs) {
|
|
@@ -2879,16 +2879,19 @@ function personalSpendDaysQuery(email, nowMs) {
|
|
|
2879
2879
|
/**
|
|
2880
2880
|
* Return a query for a change marker of one viewer's spend window.
|
|
2881
2881
|
*
|
|
2882
|
-
* It reads the same Turn
|
|
2883
|
-
*
|
|
2882
|
+
* It reads the same Turn cost rows as the spend read and holds the two
|
|
2883
|
+
* totals that the read shows. A checkpoint rewrites every metric row of its
|
|
2884
|
+
* Turn, so a Turn that runs longer or uses more tokens without more cost
|
|
2885
|
+
* does not move it. The window start moves it at UTC midnight.
|
|
2884
2886
|
*/
|
|
2885
2887
|
function personalSpendVersionQuery(db, email, nowMs) {
|
|
2886
|
-
const { thirtyDayStart } = spendWindow(nowMs);
|
|
2888
|
+
const { sevenDayStart, thirtyDayStart } = spendWindow(nowMs);
|
|
2887
2889
|
return db.select({ version: sql`concat_ws(':',
|
|
2888
2890
|
${thirtyDayStart.toISOString().slice(0, 10)}::text,
|
|
2889
|
-
|
|
2890
|
-
sum(${juniorConversationMetrics.value})
|
|
2891
|
-
|
|
2891
|
+
round(sum(${juniorConversationMetrics.value})::numeric, 9),
|
|
2892
|
+
round((sum(${juniorConversationMetrics.value}) filter (
|
|
2893
|
+
where ${juniorConversationMetrics.occurredAt} >= ${sevenDayStart}
|
|
2894
|
+
))::numeric, 9)
|
|
2892
2895
|
)` }).from(juniorConversationMetrics).innerJoin(juniorIdentities, eq(juniorIdentities.id, juniorConversationMetrics.actorIdentityId)).innerJoin(juniorUsers, eq(juniorUsers.id, juniorIdentities.userId)).where(viewerWindowWhere(email, nowMs));
|
|
2893
2896
|
}
|
|
2894
2897
|
/** Read one viewer's rolling model spend with one bounded aggregate query. */
|
|
@@ -3212,11 +3215,11 @@ async function previewAutomationSchedule(user, id, intent) {
|
|
|
3212
3215
|
}
|
|
3213
3216
|
}
|
|
3214
3217
|
// src/api/automations/mentions.ts
|
|
3215
|
-
/** Attach the people that each Automation instruction mentions, resolved at read time. */
|
|
3218
|
+
/** Attach the people that each Automation instruction or context mentions, resolved at read time. */
|
|
3216
3219
|
async function attachAutomationMentions(executor, automations) {
|
|
3217
3220
|
const mentions = await resolveMentions(executor, automations.map((automation) => ({
|
|
3218
3221
|
tenantId: automation.destination.teamId,
|
|
3219
|
-
texts: [automation.
|
|
3222
|
+
texts: [automationTaskText(automation.task) ?? ""]
|
|
3220
3223
|
})));
|
|
3221
3224
|
return automations.map((automation, index) => mentions[index].length > 0 ? {
|
|
3222
3225
|
...automation,
|
|
@@ -3671,18 +3674,20 @@ function readDescriptionText(home) {
|
|
|
3671
3674
|
return;
|
|
3672
3675
|
}
|
|
3673
3676
|
}
|
|
3674
|
-
/** Read discovered
|
|
3677
|
+
/** Read discovered skills for runtime diagnostics and the Automation editor. */
|
|
3675
3678
|
async function readSkillReports() {
|
|
3676
|
-
const { discoverSkills } = await import("./skills-
|
|
3679
|
+
const { discoverSkills } = await import("./skills-DHApyCjj.js").then((n) => n.o);
|
|
3677
3680
|
const skills = await discoverSkills();
|
|
3678
3681
|
return skillReportsSchema.parse(skills.map((skill) => ({
|
|
3679
3682
|
name: skill.name,
|
|
3680
|
-
|
|
3683
|
+
description: skill.description,
|
|
3684
|
+
pluginProvider: skill.pluginProvider,
|
|
3685
|
+
disableModelInvocation: skill.disableModelInvocation
|
|
3681
3686
|
})));
|
|
3682
3687
|
}
|
|
3683
3688
|
/** Read safe configured plugin metadata for authenticated runtime diagnostics. */
|
|
3684
3689
|
async function readPlugins() {
|
|
3685
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
3690
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-DwbTyNRD.js").then((n) => n.t);
|
|
3686
3691
|
return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
3687
3692
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
3688
3693
|
description: plugin.manifest.description,
|
|
@@ -3694,7 +3699,7 @@ async function readPlugins() {
|
|
|
3694
3699
|
async function readRuntimeInfoReport() {
|
|
3695
3700
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
3696
3701
|
import("./package-discovery-DJhGdS4c.js").then((n) => n.r),
|
|
3697
|
-
import("./catalog-runtime-
|
|
3702
|
+
import("./catalog-runtime-DwbTyNRD.js").then((n) => n.t),
|
|
3698
3703
|
readPlugins(),
|
|
3699
3704
|
readSkillReports()
|
|
3700
3705
|
]);
|
|
@@ -3711,7 +3716,7 @@ async function readRuntimeInfoReport() {
|
|
|
3711
3716
|
/** Read sanitized operational summaries contributed by plugins. */
|
|
3712
3717
|
async function readPluginOperationalReportFeed() {
|
|
3713
3718
|
const nowMs = Date.now();
|
|
3714
|
-
const { getPluginOperationalReports } = await import("./projection-
|
|
3719
|
+
const { getPluginOperationalReports } = await import("./projection-DXl4ftyL.js").then((n) => n.Fn);
|
|
3715
3720
|
return pluginOperationalReportFeedSchema.parse({
|
|
3716
3721
|
source: "plugins",
|
|
3717
3722
|
generatedAt: new Date(nowMs).toISOString(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as ConversationWorkQueue, t as ConversationQueueMessage } from "./queue-CZyYgPF0.js";
|
|
2
|
-
import { t as ConversationStore } from "./db-
|
|
3
|
-
import "./schema-
|
|
2
|
+
import { t as ConversationStore } from "./db-BbpttyKH.js";
|
|
3
|
+
import "./schema-CHsBmXIj.js";
|
|
4
4
|
import { n as JuniorPluginSet } from "./plugins-DtmjkTza.js";
|
|
5
5
|
import "./sentry-DrKC2NeM.js";
|
|
6
6
|
import { Hono } from "hono";
|
package/dist/app.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as JuniorDashboardOptions, n as JuniorAppOptions, r as createApp, t as JuniorApp } from "./app-
|
|
1
|
+
import { i as JuniorDashboardOptions, n as JuniorAppOptions, r as createApp, t as JuniorApp } from "./app-fWzCHFIb.js";
|
|
2
2
|
import { i as defineJuniorPlugins, n as JuniorPluginSet, r as JuniorPluginSetOptions, t as JuniorPluginInput } from "./plugins-DtmjkTza.js";
|
|
3
3
|
import { t as JUNIOR_VERSION } from "./version-Cc2OFd9G.js";
|
|
4
4
|
export { JUNIOR_VERSION, JuniorApp, JuniorAppOptions, type JuniorDashboardOptions, type JuniorPluginInput, type JuniorPluginSet, type JuniorPluginSetOptions, createApp, defineJuniorPlugins };
|