@sentry/junior 0.292.0 → 0.294.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-DxLhJEnO.js} +1 -1
- package/dist/{admin-BO9V7vnn.js → admin-vt8aSiCD.js} +2 -2
- package/dist/{agent-runner-BuH7EHrX.js → agent-runner-DJu7w6mI.js} +318 -162
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +5 -5
- package/dist/api.d.ts +1 -1
- package/dist/api.js +65 -40
- package/dist/{app-C47PT68y.d.ts → app--a5RLOrr.d.ts} +4 -2
- package/dist/app.d.ts +1 -1
- package/dist/app.js +454 -435
- package/dist/{assistant-reply-ZjLRGHm2.js → assistant-reply-iTtEdDyc.js} +1 -1
- package/dist/{automation-CrsYnvdV.js → automation-BM-OBsKW.js} +72 -23
- package/dist/{background-compaction-queue-CqZBPe9g.js → background-compaction-queue-D2j-0XkH.js} +4 -4
- package/dist/{briefs-DZrhXJss.js → briefs-JOAoCb6d.js} +3 -3
- package/dist/{catalog-runtime-Cj9I0dco.js → catalog-runtime-CLMA9AXd.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 +7 -74
- package/dist/{config-BerMjSVL.js → config-mIZeGEWv.js} +17 -7
- package/dist/{connections-BWmTOVPB.js → connections-XhdVg7OR.js} +6 -6
- package/dist/{conversation-CtjR1Zcx.js → conversation-CDWejM4R.js} +1 -0
- package/dist/{conversation-pending-messages-Cd7ShwBs.js → conversation-pending-messages-Dh2tfbaw.js} +5 -2
- package/dist/{conversation-privacy-BMfbOUCo.js → conversation-privacy-C6h-X2cZ.js} +1 -1
- package/dist/{credential-sync-DZDij2CU.js → credential-sync-zigBlXS3.js} +13 -13
- package/dist/{db-BlfjuqzW.js → db--xuNV7g6.js} +99 -6
- package/dist/{db-7glZCI18.d.ts → db-DV5AbcGM.d.ts} +8 -6
- package/dist/{executor-ikZvFaMD.js → executor-BItuRqAR.js} +87 -21
- package/dist/instrumentation.js +2 -2
- package/dist/{logging-CTCH5jOy.js → logging-Cb6MGvdt.js} +1 -1
- package/dist/{message-C1ID1tKi.js → message-BTGgSmaH.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-Dvh1aOIi.js} +2 -2
- package/dist/{projection-DY93nCfX.js → projection-DLQgfO5N.js} +61 -52
- package/dist/{prompt-exicBZeb.js → prompt-qp_LdxLX.js} +5 -6
- package/dist/{registry-X_xdFY9L.js → registry-MtwokaqW.js} +1 -1
- package/dist/{resolve-B9dYN-nS.js → resolve-BnJA0UNE.js} +3 -3
- package/dist/{result-CC8bV8Fl.js → result-ChL-1KyW.js} +8 -8
- package/dist/{runner-D44qp4rc.js → runner-BONN7Dp2.js} +8 -8
- package/dist/{sandbox-egress-signals-BrH6DWkt.js → sandbox-egress-signals-nmlmI5Ab.js} +1 -1
- package/dist/{schema-CC2RxDAV.d.ts → schema-DgvcyJ1y.d.ts} +283 -45
- package/dist/{schema-CVV5r-qP.js → schema-yr0ccDni.js} +29 -4
- package/dist/{service-account-DoNZuJb-.js → service-account-Bd0lBaGr.js} +3 -3
- package/dist/{service-account-89JZHWCE.js → service-account-kio5nXSD.js} +3 -3
- package/dist/{session-stop-DNucbmPf.js → session-stop-CeCXL3j9.js} +20 -41
- package/dist/{skills-BeUfmYXL.js → skills-e3DDNlKO.js} +10 -9
- package/dist/{spawn-CIAcfcvZ.js → spawn--cRxITWQ.js} +5 -5
- package/dist/{stop-Ckd3735h.js → stop-Iai5N2PU.js} +34 -29
- package/dist/{store-CS0xoqXW.js → store-C8LsaJwS.js} +3 -3
- package/dist/{task-runner-DjjHCX_m.js → task-runner-Dw7exu0-.js} +65 -90
- package/dist/{turn-failure-response-D0bwI462.js → turn-failure-response-BqTTx3XG.js} +8 -8
- package/dist/{validation-Cvx_AupF.js → validation-BrGahtnv.js} +1 -1
- package/dist/{version-BrDx4Fzc.js → version-Bdqhx8Qh.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-4CxdwLLQ.js → viewer-CjRFHR5U.js} +3 -3
- package/dist/{warmup-B62hd4lD.js → warmup-DuxCtzKC.js} +104 -26
- package/dist/{work-Cu315oJl.js → work-BWBG1EGV.js} +11 -11
- package/dist/{worker-4ClZu6ry.js → worker-DAnBIVMs.js} +6 -6
- package/migrations/0062_plugin_report_index.sql +1 -20
- package/migrations/0078_plugin_conversation_index.sql +1 -20
- package/migrations/0079_conversation_event_author_index.sql +1 -20
- package/migrations/0080_conversation_event_latest_message_indexes.sql +2 -27
- package/migrations/0090_guardian_review_time_index.sql +1 -20
- package/migrations/0091_conversation_participant_unsubscribed_index.sql +1 -20
- package/migrations/0096_automation_task_kind.sql +75 -0
- package/migrations/0097_conversation_kind_automation.sql +6 -0
- package/migrations/meta/0096_snapshot.json +4490 -0
- package/migrations/meta/0097_snapshot.json +4490 -0
- package/migrations/meta/_journal.json +14 -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 automationEditErrorSchema, $i as CodeRepositoryReport, $n as conversationSubscriptionResponseSchema, $r as conversationUnchangedDetailWithMailboxSchema, $t as connectionListSchema, A as skillReportSchema, Aa as isAgentInvocationResultEventType, Ai as conversationActivityPreviewSchema, An as ConversationWatch, Ar as GuardianStats, At as workspaceRepoSchema, B as AutomationExecution, Bi as conversationReportEventDataSchema, Bn as RenameConversationResponse, Br as CancelConversationPendingMessagesResponse, Bt as revokePersonalTokenResponseSchema, C as pluginOperationalReportFeedSchema, Ca as UserInputAnswer, Ci as ConversationSurface, Cn as PeopleActivityDayReport, Cr as continueConversationInSlackResponseSchema, Ct as WorkspaceListReport, D as pluginSchema, Da as isEmptyUserInputAnswer, Di as CreateConversationBody, Dn as actorProfileReportSchema, Dr as ConversationStatsItem, Dt as workspaceBodySchema, E as pluginPackageContentReportSchema, Ea as buttonUserInputField, Ei as ConversationUsage, En as actorDirectoryReportSchema, Er as ConversationMetricDay, Et as deleteWorkspaceResponseSchema, F as statsReportSchema, Fa as INLINE_VIDEO_TYPES, Fi as conversationEventPageSchema, Fn as ConversationChildAgentsReport, Fr as archiveConversationBodySchema, Ft as createPersonalTokenBodySchema, G as AutomationRun, Gi as forkConversationBodySchema, Gn as conversationOutlineSchema, Gr as SteerConversationPendingMessagesResponse, Gt as startServiceAccountSignInResponseSchema, H as AutomationExecutionStatusDay, Hi as conversationSummaryReportSchema, Hn as renameConversationResponseSchema, Hr as ConversationPendingMessageDelivery, Ht as serviceAccountListSchema, I as ReplyTimeHistogram, Ia as INPUT_IMAGE_TYPES, Ii as conversationEventsQuerySchema, In as conversationChildAgentSchema, Ir as archiveConversationResponseSchema, It as createdPersonalTokenSchema, J as AutomationScheduleIntent, Ji as conversationTurnFailureReasonSchema, Jn as conversationUnreadSchema, Jr as conversationDetailWithMailboxReportSchema, Jt as testNotificationResponseSchema, K as AutomationRunList, Ki as forkConversationResponseSchema, Kn as ConversationUnread, Kr as cancelConversationPendingMessagesBodySchema, Kt as NotificationSettings, L as ReplyTimeSegmentsReport, Li as conversationFeedQuerySchema, Ln as conversationChildAgentsReportSchema, Lr as archiveDoneConversationsResponseSchema, Lt as personalTokenListSchema, M as StatReport, Ma as MAX_INPUT_IMAGES, Mi as conversationDetailQuerySchema, Mn as conversationWatchSchema, Mr as ArchiveConversationBody, Mt as USER_CUSTOMIZATION_MAX_CHARS, N as StatsReport, Na as MAX_INPUT_IMAGE_BYTES, Ni as conversationDetailReportSchema, Nn as conversationWatchesReportSchema, Nr as ArchiveConversationResponse, Nt as userCustomizationSchema, O as pluginsSchema, Oa as normalizeUserInputAnswer, Oi as CreateConversationMessageBody, On as personParamsSchema, Or as ConversationStatsReport, Ot as workspaceListSchema, P as statSchema, Pa as MessageAttachment, Pi as conversationEventHistorySchema, Pn as ConversationChildAgent, Pr as ConversationAutoArchive, Pt as PersonalTokenMetadata, Q as ListedAutomationVersion, Qi as CodePersonReport, Qn as conversationSubscriptionBodySchema, Qr as conversationPendingMessagesReportSchema, Qt as notificationScheduleSchema, R as replyTimeSegmentsReportSchema, Ri as conversationFeedSchema, Rn as CONVERSATION_TITLE_MAX_LENGTH, Rr as conversationAutoArchiveSchema, Rt as personalTokenMetadataSchema, S as healthReportSchema, Sa as USER_INPUT_NOTE, Si as ConversationSummaryReport, Sn as ActorWindowMetrics, Sr as continueConversationInSlackBodySchema, St as BaselineSnapshotReport, T as pluginPackageContentItemReportSchema, Ta as UserInputRequest, Ti as ConversationTurnFailureReason, Tn as PersonalSpendReport, Tr as stopConversationTurnResponseSchema, Tt as baselineSnapshotSchema, U as AutomationList, Ui as createConversationBodySchema, Un as CONVERSATION_OUTLINE_TEXT_LENGTH, Ur as ConversationPendingMessagesReport, Ut as serviceAccountParamsSchema, V as AutomationExecutionList, Vi as conversationReportEventSchema, Vn as renameConversationBodySchema, Vr as ConversationPendingMessage, Vt as disconnectServiceAccountResponseSchema, W as AutomationListQuery, Wi as createConversationMessageBodySchema, Wn as ConversationOutline, Wr as SteerConversationPendingMessagesBody, Wt as serviceAccountSchema, X as AutomationUpdate, Xi as CodeChangeSummaryReport, Xn as ConversationSubscriptionBody, Xr as conversationPendingMessageDeliverySchema, Xt as NotificationSchedule, Y as AutomationSummary, Yi as CodeActivityDay, Yn as markConversationUnreadBodySchema, Yr as conversationPendingAuthorizationSchema, Yt as DEFAULT_NOTIFICATION_SCHEDULE, Z as AutomationVersionList, Zi as CodeOverviewReport, Zn as ConversationSubscriptionResponse, Zr as conversationPendingMessageSchema, Zt as isWithinNotificationSchedule, _ as PluginPackageContentReport, _a as MessageCard, _i as ConversationReportEvent, _n as ActorDirectoryReport, _r as ConversationReadReport, _t as automationVersionListSchema, a as ReviewItemPayload, aa as codePersonReportSchema, ai as CONVERSATION_VERSION_HEADER, an as apiErrorSchema, ar as PinConversationResponse, at as automationExecutionStatusSchema, b as SkillReport, ba as AutomationTask, bi as ConversationReportStatus, bn as ActorSummaryReport, br as ContinueConversationInSlackBody, bt as eventAutomationSummarySchema, c as reviewItemListSchema, ca as codeRepositorySummarySchema, ci as ConversationAuxiliaryCosts, cn as LocationDetailReport, cr as pinConversationBodySchema, ct as automationParamsSchema, d as ReviewItemChangeRecord, da as DailyConversationActivity, di as ConversationEventHistory, dn as LocationSummaryReport, dr as reorderPinnedConversationsResponseSchema, dt as automationRunWindowsSchema, ea as CodeRepositorySummary, ei as steerConversationPendingMessagesBodySchema, en as connectionParamsSchema, er as ConversationDeliveryBody, et as automationEditSchema, f as HealthReport, fa as dailyConversationActivitySchema, fi as ConversationEventPage, fn as locationActivityDayReportSchema, fr as ConversationCatchUp, ft as automationScheduleIntentSchema, g as PluginPackageContentItemReport, ga as boardReportSchema, gi as ConversationParams, gn as ActorActivityDayReport, gr as ConversationReadPosition, gt as automationVersionActivateSchema, h as PluginOperationalReportFeed, ha as BoardReport, hi as ConversationModelUsage, hn as locationParamsSchema, hr as conversationCatchUpSchema, ht as automationUpdateSchema, i as ReviewItemActionBody, ia as codeOverviewReportSchema, ii as CONVERSATION_DETAIL_VERSION_HEADER, in as ApiError, ir as PinConversationBody, it as automationExecutionStatusDaySchema, j as skillReportsSchema, ja as InputImage, ji as conversationAuxiliaryCostsSchema, jn as ConversationWatchesReport, jr as conversationStatsReportSchema, jt as workspaceSchema, k as runtimeInfoReportSchema, ka as webMessageId, ki as acceptedConversationMessageSchema, kn as personalSpendReportSchema, kr as GuardianMetricDay, kt as workspaceParamsSchema, l as reviewItemSchema, la as ConversationChildAgentTotals, li as ConversationCost, ln as LocationDirectoryReport, lr as pinConversationResponseSchema, lt as automationRunListSchema, m as PluginOperationalReport, ma as BoardColumn, mi as ConversationFeedItem, mn as locationDirectoryReportSchema, mr as conversationCatchUpBodySchema, mt as automationSummarySchema, n as Versions, na as codeChangeSummaryReportSchema, ni as AcceptedConversationMessage, nn as disconnectConnectionResponseSchema, nr as conversationDeliveryBodySchema, nt as automationExecutionListSchema, o as reviewItemActionSchema, oa as codeRepositoryParamsSchema, oi as ConversationActivityPreview, on as LocationActivityDayReport, or as ReorderPinnedConversationsBody, ot as automationListQuerySchema, p as Plugin, pa as BoardCard, pi as ConversationFeed, pn as locationDetailReportSchema, pr as ConversationCatchUpBody, pt as automationSchedulePreviewSchema, q as AutomationRunWindows, qi as conversationTurnFailureCodeSchema, qn as MarkConversationUnreadBody, qr as cancelConversationPendingMessagesResponseSchema, qt as notificationSettingsSchema, r as versionsSchema, ra as codeChangeSummarySchema, ri as ActorIdentity, rn as startConnectionResponseSchema, rr as conversationDeliveryResponseSchema, rt as automationExecutionSchema, s as reviewItemCountSchema, sa as codeRepositoryReportSchema, si as ConversationAgentTreeNode, sn as LocationActorSummaryReport, sr as ReorderPinnedConversationsResponse, st as automationListSchema, t as OwnedObjectAnnotation, ta as codeActivityDaySchema, ti as steerConversationPendingMessagesResponseSchema, tn as connectionSchema, tr as ConversationDeliveryResponse, tt as automationEventCatalogSchema, u as reviewItemWaitingConversationsSchema, ua as conversationChildAgentTotalsSchema, ui as ConversationDetailReport, un as LocationParams, ur as reorderPinnedConversationsBodySchema, ut as automationRunSchema, v as Plugins, va as messageCardText, vi as ConversationReportEventData, vn as ActorDirectoryWindows, vr as conversationReadPositionSchema, vt as automationVersionParamsSchema, w as pluginOperationalReportSchema, wa as UserInputField, wi as ConversationTurnFailureCode, wn as PersonParams, wr as StopConversationTurnResponse, wt as WorkspaceReport, x as SkillReports, xa as AutomationCard, xi as ConversationSourceTask, xn as ActorTotalsReport, xr as ContinueConversationInSlackResponse, xt as scheduledAutomationSummarySchema, y as RuntimeInfoReport, ya as resolveMessageCards, yi as ConversationReportMessageEvent, yn as ActorProfileReport, yr as conversationReadReportSchema, yt as automationVersionSchema, z as AutomationEdit, zi as conversationParamsSchema, zn as RenameConversationBody, zr as CancelConversationPendingMessagesBody, zt as personalTokenParamsSchema } from "../schema-DgvcyJ1y.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 ReplyTimeHistogram, type ReplyTimeSegmentsReport, 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, replyTimeSegmentsReportSchema, 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
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { c as conversationTurnFailureCodeSchema, l as conversationTurnFailureReasonSchema, n as INPUT_IMAGE_TYPES, t as INLINE_VIDEO_TYPES } from "../media-BepyEUNm.js";
|
|
2
2
|
import { n as isWithinNotificationSchedule, r as notificationScheduleSchema, t as DEFAULT_NOTIFICATION_SCHEDULE } from "../schedule-cP0AACm1.js";
|
|
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-
|
|
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-CDWejM4R.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-BM-OBsKW.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-Dh2tfbaw.js";
|
|
7
7
|
import { n as isAgentInvocationResultEventType } from "../result-event-type-DD6BAgT7.js";
|
|
8
|
-
import { $ as
|
|
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 };
|
|
8
|
+
import { $ as codeActivityDaySchema, A as revokePersonalTokenResponseSchema, At as reorderPinnedConversationsBodySchema, C as serviceAccountSchema, Ct as markConversationUnreadBodySchema, D as personalTokenListSchema, Dt as conversationDeliveryResponseSchema, E as createdPersonalTokenSchema, Et as conversationDeliveryBodySchema, F as personalSpendReportSchema, I as locationActivityDayReportSchema, J as connectionListSchema, L as locationDetailReportSchema, M as actorProfileReportSchema, Mt as conversationCatchUpBodySchema, Nt as conversationCatchUpSchema, O as personalTokenMetadataSchema, Ot as pinConversationBodySchema, P as personParamsSchema, Q as startConnectionResponseSchema, R as locationDirectoryReportSchema, S as serviceAccountParamsSchema, St as conversationUnreadSchema, T as createPersonalTokenBodySchema, Tt as conversationSubscriptionResponseSchema, U as dailyConversationActivitySchema, W as notificationSettingsSchema, X as connectionSchema, Y as connectionParamsSchema, Z as disconnectConnectionResponseSchema, _t as conversationOutlineSchema, a as replyTimeSegmentsReportSchema, at as codeRepositoryReportSchema, b as disconnectServiceAccountResponseSchema, bt as archiveDoneConversationsResponseSchema, c as workspaceBodySchema, ct as conversationWatchSchema, d as workspaceRepoSchema, dt as conversationChildAgentsReportSchema, et as codeChangeSummaryReportSchema, f as workspaceSchema, ft as continueConversationInSlackBodySchema, g as reviewItemListSchema, gt as CONVERSATION_OUTLINE_TEXT_LENGTH, ht as conversationStatsReportSchema, i as statsReportSchema, it as codeRepositoryParamsSchema, j as actorDirectoryReportSchema, jt as reorderPinnedConversationsResponseSchema, k as personalTokenParamsSchema, kt as pinConversationResponseSchema, l as workspaceListSchema, lt as conversationWatchesReportSchema, m as reviewItemCountSchema, mt as stopConversationTurnResponseSchema, n as versionsSchema, nt as codeOverviewReportSchema, o as baselineSnapshotSchema, ot as codeRepositorySummarySchema, p as reviewItemActionSchema, pt as continueConversationInSlackResponseSchema, q as testNotificationResponseSchema, r as statSchema, rt as codePersonReportSchema, s as deleteWorkspaceResponseSchema, st as boardReportSchema, tt as codeChangeSummarySchema, u as workspaceParamsSchema, ut as conversationChildAgentSchema, v as reviewItemSchema, vt as archiveConversationBodySchema, w as startServiceAccountSignInResponseSchema, wt as conversationSubscriptionBodySchema, x as serviceAccountListSchema, xt as conversationAutoArchiveSchema, y as reviewItemWaitingConversationsSchema, yt as archiveConversationResponseSchema, z as locationParamsSchema } from "../schema-yr0ccDni.js";
|
|
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, replyTimeSegmentsReportSchema, 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,29 @@
|
|
|
1
|
-
import { $a as
|
|
2
|
-
import { L as escapeXml,
|
|
3
|
-
import { m as logInfo, p as logException } from "./logging-
|
|
1
|
+
import { $a as createConversationAccessReader, $n as savePushSubscription, Bn as getPlugins, Dr as reviewItemReaderForUserInConversation, Ei as hash, En as createUserTokenStore, Er as reviewItemReaderForUser, Jn as resolveNotificationTimezone, Kn as readWebPushConfig, Mo as createPluginCache, Pa as workspaceRepoCheckoutPath, Qn as saveNotificationSchedule, Ti as create, Tr as reviewItemNeedsUser, Xa as createPluginLogger, Xn as listPushSubscriptions, Yn as deletePushSubscription, Zn as readNotificationSchedule, _i as listWorkspaces, bi as WorkspaceValidationError, br as isOnlyAssignee, co as readConversationBriefThrough, dr as reviewItemsNeedingUserVersionQuery, eo as readConversationAccessFromSql, er as isPausedBySlack, fr as searchReviewItems, gr as canActOnReviewItem, hi as getWorkspace, hr as PLUGIN_REVIEW_ITEM_KEY_PREFIX, ir as countReviewItemsNeedingUser, ja as SANDBOX_RUNTIME, mi as deleteWorkspace, no as conversationIsMemberRoot, oi as getDashboardSettingsLink, pi as createWorkspace, qn as sendPushNotificationToUser, uo as readConversationEventPage, ur as listWaitingConversations, vi as listWorkspacesByRepository, yi as updateWorkspace } from "./projection-DLQgfO5N.js";
|
|
2
|
+
import { L as escapeXml, Y as getAttachmentStorage, n as botConfig } from "./config-mIZeGEWv.js";
|
|
3
|
+
import { m as logInfo, p as logException } from "./logging-Cb6MGvdt.js";
|
|
4
4
|
import { f as parseSlackTeamId, u as parseSlackChannelId } from "./actor-6jsm_v96.js";
|
|
5
|
-
import {
|
|
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 { $ as nextDetailVersion, E as conversationKindFromRow, a as getConversationStore, b as withConversationMutationLock, o as getDb, s as getSqlExecutor, v as loadConversationSlackTenantIds } from "./db--xuNV7g6.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-BItuRqAR.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-CLMA9AXd.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-DJu7w6mI.js";
|
|
10
|
+
import { n as briefEntriesFromReportEvents, u as completeText } from "./prompt-qp_LdxLX.js";
|
|
11
|
+
import { c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarImage, t as findUserByEmail } from "./viewer-CjRFHR5U.js";
|
|
12
|
+
import { r as getStateAdapter } from "./adapter-DxLhJEnO.js";
|
|
13
13
|
import { r as notificationScheduleSchema } from "./schedule-cP0AACm1.js";
|
|
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-
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
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-CDWejM4R.js";
|
|
15
|
+
import { a as segmentGapsKey, h as gapHistogramReport, u as GAP_SEGMENTS } from "./warmup-DuxCtzKC.js";
|
|
16
|
+
import { g as getVercelConversationWorkQueue } from "./background-compaction-queue-D2j-0XkH.js";
|
|
17
|
+
import { O as getEventCatalog, et as readUserCustomization, rt as isExperimentalFeatureEnabled, tt as saveUserCustomization } from "./session-stop-CeCXL3j9.js";
|
|
17
18
|
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
|
|
19
|
+
import { s as getSandboxResources, t as getCachedSnapshot } from "./resolve-BnJA0UNE.js";
|
|
20
|
+
import { J as AutomationConflictError, at as readAutomationTitlesByConversationId, ct as conversationRangeColumns, st as conversationAggregateColumns, vt as automationEventCatalog } from "./task-runner-Dw7exu0-.js";
|
|
21
|
+
import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-kio5nXSD.js";
|
|
22
|
+
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-BM-OBsKW.js";
|
|
23
|
+
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-Dh2tfbaw.js";
|
|
24
|
+
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-Iai5N2PU.js";
|
|
25
|
+
import { a as startConnection, n as isConnectableProvider, r as listConnections, s as htmlCallbackResponse, t as disconnectConnection } from "./connections-XhdVg7OR.js";
|
|
26
|
+
import { A as revokePersonalTokenResponseSchema, At as reorderPinnedConversationsBodySchema, B as activityDays$1, Ct as markConversationUnreadBodySchema, D as personalTokenListSchema, Dt as conversationDeliveryResponseSchema, E as createdPersonalTokenSchema, Et as conversationDeliveryBodySchema, F as personalSpendReportSchema, G as pushSubscriptionBodySchema, H as activitySixHours$1, J as connectionListSchema, K as pushSubscriptionDeleteBodySchema, L as locationDetailReportSchema, M as actorProfileReportSchema, Mt as conversationCatchUpBodySchema, N as avatarParamsSchema, Nt as conversationCatchUpSchema, Ot as pinConversationBodySchema, P as personParamsSchema, Q as startConnectionResponseSchema, R as locationDirectoryReportSchema, S as serviceAccountParamsSchema, St as conversationUnreadSchema, T as createPersonalTokenBodySchema, Tt as conversationSubscriptionResponseSchema, V as activityHours$1, W as notificationSettingsSchema, Y as connectionParamsSchema, Z as disconnectConnectionResponseSchema, _ as reviewItemParamsSchema, _t as conversationOutlineSchema, a as replyTimeSegmentsReportSchema, at as codeRepositoryReportSchema, b as disconnectServiceAccountResponseSchema, bt as archiveDoneConversationsResponseSchema, c as workspaceBodySchema, dt as conversationChildAgentsReportSchema, f as workspaceSchema, ft as continueConversationInSlackBodySchema, g as reviewItemListSchema, h as reviewItemListQuerySchema, ht as conversationStatsReportSchema, i as statsReportSchema, it as codeRepositoryParamsSchema, j as actorDirectoryReportSchema, jt as reorderPinnedConversationsResponseSchema, k as personalTokenParamsSchema, kt as pinConversationResponseSchema, l as workspaceListSchema, lt as conversationWatchesReportSchema, m as reviewItemCountSchema, mt as stopConversationTurnResponseSchema, n as versionsSchema, nt as codeOverviewReportSchema, p as reviewItemActionSchema, pt as continueConversationInSlackResponseSchema, q as testNotificationResponseSchema, rt as codePersonReportSchema, s as deleteWorkspaceResponseSchema, st as boardReportSchema, t as versionsQuerySchema, u as workspaceParamsSchema, v as reviewItemSchema, vt as archiveConversationBodySchema, w as startServiceAccountSignInResponseSchema, wt as conversationSubscriptionBodySchema, x as serviceAccountListSchema, xt as conversationAutoArchiveSchema, y as reviewItemWaitingConversationsSchema, yt as archiveConversationResponseSchema, z as locationParamsSchema } from "./schema-yr0ccDni.js";
|
|
26
27
|
import { Hono } from "hono";
|
|
27
28
|
import path from "node:path";
|
|
28
29
|
import { createHash, randomBytes, randomUUID } from "node:crypto";
|
|
@@ -134,8 +135,7 @@ async function generateCatchUp(args) {
|
|
|
134
135
|
modelId: args.modelId,
|
|
135
136
|
operation: "conversation_catch_up",
|
|
136
137
|
cost: args.cost,
|
|
137
|
-
system: CATCH_UP_PROMPT
|
|
138
|
-
temperature: 0
|
|
138
|
+
system: CATCH_UP_PROMPT
|
|
139
139
|
})).text);
|
|
140
140
|
if (!catchUp) throw new Error("The catch-up model returned no summary");
|
|
141
141
|
return catchUp;
|
|
@@ -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-DLQgfO5N.js").then((n) => n.jn);
|
|
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,
|
|
@@ -3624,6 +3627,25 @@ function createWorkspaceRoutes() {
|
|
|
3624
3627
|
});
|
|
3625
3628
|
return app;
|
|
3626
3629
|
}
|
|
3630
|
+
// src/api/reply-times.ts
|
|
3631
|
+
/**
|
|
3632
|
+
* Read the gap list that the cache warming planner reads for each segment.
|
|
3633
|
+
* The lists hold only gap lengths, so the report names no person or
|
|
3634
|
+
* Conversation.
|
|
3635
|
+
*/
|
|
3636
|
+
async function readReplyTimeSegments() {
|
|
3637
|
+
const state = getStateAdapter();
|
|
3638
|
+
await state.connect();
|
|
3639
|
+
const segments = await Promise.all(GAP_SEGMENTS.map(async (segment) => ({
|
|
3640
|
+
histogram: gapHistogramReport(await state.getList(segmentGapsKey(segment))),
|
|
3641
|
+
segment
|
|
3642
|
+
})));
|
|
3643
|
+
return replyTimeSegmentsReportSchema.parse({
|
|
3644
|
+
generatedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
3645
|
+
minSamples: 20,
|
|
3646
|
+
segments
|
|
3647
|
+
});
|
|
3648
|
+
}
|
|
3627
3649
|
// src/api/stats.ts
|
|
3628
3650
|
/** Read the last 90 days of named daily counters. */
|
|
3629
3651
|
async function readStatsReport() {
|
|
@@ -3671,18 +3693,20 @@ function readDescriptionText(home) {
|
|
|
3671
3693
|
return;
|
|
3672
3694
|
}
|
|
3673
3695
|
}
|
|
3674
|
-
/** Read discovered
|
|
3696
|
+
/** Read discovered skills for runtime diagnostics and the Automation editor. */
|
|
3675
3697
|
async function readSkillReports() {
|
|
3676
|
-
const { discoverSkills } = await import("./skills-
|
|
3698
|
+
const { discoverSkills } = await import("./skills-e3DDNlKO.js").then((n) => n.o);
|
|
3677
3699
|
const skills = await discoverSkills();
|
|
3678
3700
|
return skillReportsSchema.parse(skills.map((skill) => ({
|
|
3679
3701
|
name: skill.name,
|
|
3680
|
-
|
|
3702
|
+
description: skill.description,
|
|
3703
|
+
pluginProvider: skill.pluginProvider,
|
|
3704
|
+
disableModelInvocation: skill.disableModelInvocation
|
|
3681
3705
|
})));
|
|
3682
3706
|
}
|
|
3683
3707
|
/** Read safe configured plugin metadata for authenticated runtime diagnostics. */
|
|
3684
3708
|
async function readPlugins() {
|
|
3685
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
3709
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-CLMA9AXd.js").then((n) => n.t);
|
|
3686
3710
|
return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
3687
3711
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
3688
3712
|
description: plugin.manifest.description,
|
|
@@ -3694,7 +3718,7 @@ async function readPlugins() {
|
|
|
3694
3718
|
async function readRuntimeInfoReport() {
|
|
3695
3719
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
3696
3720
|
import("./package-discovery-DJhGdS4c.js").then((n) => n.r),
|
|
3697
|
-
import("./catalog-runtime-
|
|
3721
|
+
import("./catalog-runtime-CLMA9AXd.js").then((n) => n.t),
|
|
3698
3722
|
readPlugins(),
|
|
3699
3723
|
readSkillReports()
|
|
3700
3724
|
]);
|
|
@@ -3711,7 +3735,7 @@ async function readRuntimeInfoReport() {
|
|
|
3711
3735
|
/** Read sanitized operational summaries contributed by plugins. */
|
|
3712
3736
|
async function readPluginOperationalReportFeed() {
|
|
3713
3737
|
const nowMs = Date.now();
|
|
3714
|
-
const { getPluginOperationalReports } = await import("./projection-
|
|
3738
|
+
const { getPluginOperationalReports } = await import("./projection-DLQgfO5N.js").then((n) => n.jn);
|
|
3715
3739
|
return pluginOperationalReportFeedSchema.parse({
|
|
3716
3740
|
source: "plugins",
|
|
3717
3741
|
generatedAt: new Date(nowMs).toISOString(),
|
|
@@ -3728,6 +3752,7 @@ function createJuniorApi(options = {}) {
|
|
|
3728
3752
|
app.get("/api/skills", async () => jsonResponse(skillReportsSchema, await readSkillReports()));
|
|
3729
3753
|
app.get("/api/plugin-reports", async () => jsonResponse(pluginOperationalReportFeedSchema, await readPluginOperationalReportFeed()));
|
|
3730
3754
|
app.get("/api/stats", async () => jsonResponse(statsReportSchema, await readStatsReport()));
|
|
3755
|
+
app.get("/api/reply-times", async () => jsonResponse(replyTimeSegmentsReportSchema, await readReplyTimeSegments()));
|
|
3731
3756
|
app.get("/api/versions", requireViewer, validateRequest("query", versionsQuerySchema, "Invalid query parameters."), async (context) => jsonResponse(versionsSchema, await readVersions(context.get("viewer"), context.req.valid("query")), { headers: { "cache-control": "private, no-store" } }));
|
|
3732
3757
|
const queue = options.conversationWorkQueue ?? getVercelConversationWorkQueue();
|
|
3733
3758
|
app.route("/api/conversations", createConversationRoutes({
|
|
@@ -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-DV5AbcGM.js";
|
|
3
|
+
import "./schema-DgvcyJ1y.js";
|
|
4
4
|
import { n as JuniorPluginSet } from "./plugins-DtmjkTza.js";
|
|
5
5
|
import "./sentry-DrKC2NeM.js";
|
|
6
6
|
import { Hono } from "hono";
|
|
@@ -36,6 +36,8 @@ interface BotModelConfig {
|
|
|
36
36
|
visionModelId?: string;
|
|
37
37
|
/** Model used for web search. */
|
|
38
38
|
webSearchModelId?: string;
|
|
39
|
+
/** Model that continues an agent Turn after the main model refuses it. Unset by default. */
|
|
40
|
+
refusalFallbackModelId?: string;
|
|
39
41
|
}
|
|
40
42
|
/** Limits a host can set with `createApp({ limits })`. */
|
|
41
43
|
interface RuntimeLimits {
|
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--a5RLOrr.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 };
|