@sentry/junior 0.300.0 → 0.302.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-context-Cx9fn9B3.js +43 -0
- package/dist/{admin-UrTniSPO.js → admin-_poE5NKL.js} +2 -2
- package/dist/{agent-runner-bY4_0UPm.js → agent-runner-CY9RvsTX.js} +1367 -10649
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +6 -7
- package/dist/api.d.ts +1 -1
- package/dist/api.js +124 -67
- package/dist/{app-D-AcIcCV.d.ts → app-BpY3wtRP.d.ts} +3 -3
- package/dist/app.d.ts +1 -1
- package/dist/app.js +71 -299
- package/dist/{automation-Dw82oQ-h.js → automation-Cva5ZOwW.js} +1 -1
- package/dist/{background-compaction-queue-B6U3060-.js → background-compaction-queue-CXFq1_Cz.js} +94 -203
- package/dist/{briefs-DqiwWu-n.js → briefs-B3NG-pid.js} +3 -3
- package/dist/{catalog-runtime-D1oYNv04.js → catalog-runtime-Dss0lSV6.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-9nHoFiJP.js → config-CzeZiMKs.js} +2 -2
- package/dist/{connections-DZjTN3JC.js → connections-CDYhMfrs.js} +6 -6
- package/dist/{continue-in-slack-Dtv7_U42.js → continue-in-slack-7Uf05ndC.js} +5 -6
- package/dist/{conversation-Dyjq2CZ8.js → conversation-BNXfq6Lb.js} +11 -1
- package/dist/{conversation-feed-CcDxlrlQ.js → conversation-feed-Clf_cv0n.js} +2 -1
- package/dist/{conversation-privacy-D-5HTXjS.js → conversation-privacy-D9xnM5mK.js} +1 -1
- package/dist/{conversation-turn-Cxl8WZD7.js → conversation-turn-D7SEZgTG.js} +16 -17
- package/dist/{credential-sync-C49ClwDX.js → credential-sync-DoD0gW-j.js} +13 -15
- package/dist/{db-BJNo6fK5.js → db-B-gtnNjr.js} +314 -5
- package/dist/{db-2resqBh1.d.ts → db-BdsCzytP.d.ts} +1 -1
- package/dist/{executor-DBIaOeJ_.js → executor-DZg20EqU.js} +39 -4
- package/dist/install-t1KQyTUs.js +228 -0
- package/dist/instrumentation.js +2 -2
- package/dist/{state-zSilNpbi.js → legacy-web-actor-id-C-cEeWqL.js} +33 -4
- package/dist/{lineage-0dereG7H.js → lineage-C79GjoQr.js} +2 -2
- package/dist/{logging-BIclibct.js → logging-C9oDAg4M.js} +7 -3
- package/dist/{message-dkOl-Iii.js → message-BLUCzJXN.js} +8 -8
- package/dist/{model-input-CLo9TaUd.js → model-input-5jwNC45G.js} +3 -3
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +4 -3
- package/dist/{oauth-callback-server-WmpjfJgQ.js → oauth-callback-server-BBl66vCb.js} +2 -2
- package/dist/{projection-w_X-zi7v.js → projection-CIBwgD3s.js} +437 -97
- package/dist/{prompt-B1Xw46-S.js → prompt-CRQbzp5e.js} +15 -5
- package/dist/queue-DtCDaIct.js +115 -0
- package/dist/{registry-BmP5vnlj.js → registry-DdFQHZ_d.js} +1 -1
- package/dist/{resolve-goo34bJK.js → resolve-CdW4BdrK.js} +4 -229
- package/dist/{result-PVBeU0Wf.js → result-oOMv1t4O.js} +9 -9
- package/dist/{runner-DKrfvNV6.js → runner-DqitLtm-.js} +9 -9
- package/dist/{sandbox-egress-signals-DsUcqrI0.js → sandbox-egress-signals-Bw9I0yfJ.js} +1 -1
- package/dist/{schema-Dns-sTas.d.ts → schema-BIFM-U1a.d.ts} +470 -30
- package/dist/{schema-C9iNFz5n.js → schema-DnVQepWP.js} +76 -31
- package/dist/{service-account-CMAAloAL.js → service-account-B6mKAPVo.js} +3 -3
- package/dist/{service-account-CmowamcB.js → service-account-CrZftRTb.js} +257 -6
- package/dist/{session-stop-BcAXze8a.js → session-stop-DW63Z3kj.js} +1103 -1007
- package/dist/{skills-DfsazET6.js → skills-C16fz60Z.js} +2 -2
- package/dist/{slack-conversation-unfurl-CzQonuWz.js → slack-conversation-unfurl-BHhefEb7.js} +8 -7
- package/dist/{spawn-C7o0FDDp.js → spawn-D_RnFYfy.js} +6 -6
- package/dist/{stop-CFOujp8C.js → stop-7p1i08CY.js} +941 -2311
- package/dist/{store-E3x2Fg_F.js → store-C28I0CVW.js} +5 -5
- package/dist/{task-queue-D-hCqdZW.js → task-queue-BVUJbQ28.js} +3 -3
- package/dist/{task-runner-vohUPLHe.js → task-runner-CWi8j7Z6.js} +6 -8
- package/dist/{thread-context-BzvdkgI9.js → thread-context-D3-yYUd0.js} +8 -8
- package/dist/{store-Dkeis_8o.js → turn-session-routing-BFMS9ATF.js} +382 -11
- package/dist/{turn-user-message-D5RnVmxQ.js → turn-user-message-C3-O8Omt.js} +3 -3
- package/dist/{validation-BbWikeSa.js → validation-BSFKUIb4.js} +1 -1
- package/dist/{version-GVBMW2jA.js → version-BHHXNi-0.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-BpxRliyO.js → viewer-B1SO21Qa.js} +3 -3
- package/dist/warmup-Bz9bzkzN.js +13927 -0
- package/dist/{statuses-Hn-HsOph.js → web-message-id-lNodcCOI.js} +136 -1
- package/dist/{worker-Cbd-iuwZ.js → worker-BspReIIK.js} +7 -7
- package/migrations/0108_conversation_embeddings.sql +13 -0
- package/migrations/meta/0108_snapshot.json +4688 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +10 -8
- package/dist/adapter-S5UkjNK3.js +0 -303
- package/dist/reporting-window-DopzcOHh.js +0 -137
- package/dist/turn-session-routing-Bo_LxFum.js +0 -380
- package/dist/users-2bggndVg.js +0 -424
- package/dist/warmup-BW2qwnal.js +0 -3693
package/dist/api/schema.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as AutomationVersionList, $i as ConversationSurface, $n as ConversationDeliveryResponse, $r as steerConversationPendingMessagesBodySchema, $t as isWithinNotificationSchedule, A as runtimeInfoReportSchema, Aa as USER_INPUT_NOTE, Ai as conversationObjectCard, An as personParamsSchema, Ar as ConversationAutoArchive, At as workspaceListSchema, B as replyTimeSegmentsReportSchema, Ba as InputFile, Bi as ConversationAuxiliaryCosts, Bn as CONVERSATION_TITLE_MAX_LENGTH, Br as ConversationPendingMessage, Bt as personalTokenMetadataSchema, C as healthReportSchema, Ca as conversationTurnFailureReasonSchema, Ci as AttachObjectLinkResponse, Cn as ActorTotalsReport, Cr as ConversationStatsItem, Ct as scheduledAutomationSummarySchema, D as pluginPackageContentReportSchema, Da as resolveMessageCards, Di as attachObjectLinkResponseSchema, Dn as PersonalSpendReport, Dr as conversationStatsReportSchema, Dt as baselineSnapshotSchema, E as pluginPackageContentItemReportSchema, Ea as messageCardText, Ei as attachObjectLinkBodySchema, En as PersonParams, Er as GuardianStats, Et as WorkspaceReport, F as StatsReport, Fa as isEmptyUserInputAnswer, Fi as ActorIdentity, Fn as conversationWatchesReportSchema, Fr as ConversationFeed, Ft as userCustomizationSchema, G as AutomationList, Ga as INPUT_IMAGE_TYPES, Gi as ConversationModelUsage, Gn as CONVERSATION_OUTLINE_TEXT_LENGTH, Gr as cancelConversationPendingMessagesBodySchema, Gt as serviceAccountParamsSchema, H as AutomationExecution, Ha as MAX_INPUT_ATTACHMENTS, Hi as ConversationDetailReport, Hn as RenameConversationResponse, Hr as ConversationPendingMessagesReport, Ht as revokePersonalTokenResponseSchema, I as statSchema, Ia as normalizeUserInputAnswer, Ii as CONVERSATION_DETAIL_VERSION_HEADER, In as ConversationChildAgent, Ir as ConversationFeedItem, It as PersonalTokenMetadata, J as AutomationRunList, Ji as ConversationReportEventData, Jn as ConversationSubscriptionBody, Jr as conversationPendingAuthorizationSchema, Jt as NotificationSettings, K as AutomationListQuery, Ki as ConversationParams, Kn as ConversationOutline, Kr as cancelConversationPendingMessagesResponseSchema, Kt as serviceAccountSchema, L as statsReportSchema, La as webMessageId, Li as CONVERSATION_VERSION_HEADER, Ln as ConversationChildAgentsReport, Lr as conversationFeedSchema, Lt as createPersonalTokenBodySchema, M as skillReportSchema, Ma as UserInputField, Mi as personObjectCard, Mn as ConversationWatch, Mr as archiveConversationResponseSchema, Mt as workspaceRepoSchema, N as skillReportsSchema, Na as UserInputRequest, Ni as webPageObjectCard, Nn as ConversationWatchesReport, Nr as archiveDoneConversationsResponseSchema, Nt as workspaceSchema, O as pluginSchema, Oa as AutomationTask, Oi as objectLinksQuerySchema, On as actorDirectoryReportSchema, Or as ArchiveConversationBody, Ot as deleteWorkspaceResponseSchema, P as StatReport, Pa as buttonUserInputField, Pi as AcceptedConversationMessage, Pn as conversationWatchSchema, Pr as conversationAutoArchiveSchema, Pt as USER_CUSTOMIZATION_MAX_CHARS, Q as AutomationUpdate, Qi as ConversationSummaryReport, Qn as ConversationDeliveryBody, Qr as conversationUnchangedDetailWithMailboxSchema, Qt as NotificationSchedule, R as ReplyTimeHistogram, Ra as AGENT_REPLY_EVENT_TYPE, Ri as ConversationActivityPreview, Rn as conversationChildAgentSchema, Rr as CancelConversationPendingMessagesBody, Rt as createdPersonalTokenSchema, S as SkillReports, Sa as conversationTurnFailureCodeSchema, Si as dailyConversationActivitySchema, Sn as ActorSummaryReport, Sr as ConversationMetricDay, St as eventAutomationSummarySchema, T as pluginOperationalReportSchema, Ta as annotationCard, Ti as ObjectLinksReport, Tn as PeopleActivityDayReport, Tr as GuardianMetricDay, Tt as WorkspaceListReport, U as AutomationExecutionList, Ua as MessageAttachment, Ui as ConversationEventHistory, Un as renameConversationBodySchema, Ur as SteerConversationPendingMessagesBody, Ut as disconnectServiceAccountResponseSchema, V as AutomationEdit, Va as MAX_ATTACHMENT_BYTES, Vi as ConversationCost, Vn as RenameConversationBody, Vr as ConversationPendingMessageDelivery, Vt as personalTokenParamsSchema, W as AutomationExecutionStatusDay, Wa as INLINE_VIDEO_TYPES, Wi as ConversationEventPage, Wn as renameConversationResponseSchema, Wr as SteerConversationPendingMessagesResponse, Wt as serviceAccountListSchema, X as AutomationScheduleIntent, Xi as ConversationReportStatus, Xn as conversationSubscriptionBodySchema, Xr as conversationPendingMessageSchema, Xt as testNotificationResponseSchema, Y as AutomationRunWindows, Yi as ConversationReportMessageEvent, Yn as ConversationSubscriptionResponse, Yr as conversationPendingMessageDeliverySchema, Yt as notificationSettingsSchema, Z as AutomationSummary, Zi as ConversationSourceTask, Zn as conversationSubscriptionResponseSchema, Zr as conversationPendingMessagesReportSchema, Zt as DEFAULT_NOTIFICATION_SCHEDULE, _ as PluginPackageContentReport, _a as conversationSummaryReportSchema, _i as codeRepositoryReportSchema, _n as locationParamsSchema, _r as ContinueConversationInSlackResponse, _t as automationUpdateSchema, a as ReviewItemPayload, aa as acceptedConversationMessageSchema, ai as CodeActivityDay, an as startConnectionResponseSchema, ar as ReorderPinnedConversationsResponse, at as automationExecutionSchema, b as SkillDetailReport, ba as forkConversationBodySchema, bi as conversationChildAgentTotalsSchema, bn as ActorDirectoryWindows, br as StopConversationTurnResponse, bt as automationVersionParamsSchema, c as reviewItemListSchema, ca as conversationDetailQuerySchema, ci as CodePersonReport, cn as LocationActivityDayReport, cr as reorderPinnedConversationsBodySchema, ct as automationListQuerySchema, d as ReviewItemChangeRecord, da as conversationEventPageSchema, di as codeActivityDaySchema, dn as LocationDirectoryReport, dr as ConversationCatchUpBody, dt as automationRunListSchema, ea as ConversationTurnFailureCode, ei as steerConversationPendingMessagesResponseSchema, en as notificationScheduleSchema, er as conversationDeliveryBodySchema, et as ListedAutomationVersion, f as HealthReport, fa as conversationEventsQuerySchema, fi as codeChangeSummaryReportSchema, fn as LocationParams, fr as conversationCatchUpBodySchema, ft as automationRunSchema, g as PluginPackageContentItemReport, ga as conversationReportEventSchema, gi as codeRepositoryParamsSchema, gn as locationDirectoryReportSchema, gr as ContinueConversationInSlackBody, gt as automationSummarySchema, h as PluginOperationalReportFeed, ha as conversationReportEventDataSchema, hi as codePersonReportSchema, hn as locationDetailReportSchema, hr as conversationReadPositionSchema, ht as automationSchedulePreviewSchema, i as ReviewItemActionBody, ia as CreateConversationMessageBody, ii as createAttachmentUploadBodySchema, in as disconnectConnectionResponseSchema, ir as ReorderPinnedConversationsBody, it as automationExecutionListSchema, j as skillDetailReportSchema, ja as UserInputAnswer, ji as messageObjectCard, jn as personalSpendReportSchema, jr as archiveConversationBodySchema, jt as workspaceParamsSchema, k as pluginsSchema, ka as AutomationCard, ki as objectLinksReportSchema, kn as actorProfileReportSchema, kr as ArchiveConversationResponse, kt as workspaceBodySchema, l as reviewItemSchema, la as conversationDetailReportSchema, li as CodeRepositoryReport, ln as LocationActorSummaryReport, lr as reorderPinnedConversationsResponseSchema, lt as automationListSchema, m as PluginOperationalReport, ma as conversationParamsSchema, mi as codeOverviewReportSchema, mn as locationActivityDayReportSchema, mr as ConversationReadPosition, mt as automationScheduleIntentSchema, n as Versions, na as ConversationUsage, ni as CreateAttachmentUploadBody, nn as connectionParamsSchema, nr as PinConversationBody, nt as automationEditSchema, o as reviewItemActionSchema, oa as conversationActivityPreviewSchema, oi as CodeChangeSummaryReport, on as ApiError, or as pinConversationBodySchema, ot as automationExecutionStatusDaySchema, p as Plugin, pa as conversationFeedQuerySchema, pi as codeChangeSummarySchema, pn as LocationSummaryReport, pr as conversationCatchUpSchema, pt as automationRunWindowsSchema, q as AutomationRun, qi as ConversationReportEvent, qn as conversationOutlineSchema, qr as conversationDetailWithMailboxReportSchema, qt as startServiceAccountSignInResponseSchema, r as versionsSchema, ra as CreateConversationBody, ri as attachmentUploadSchema, rn as connectionSchema, rr as PinConversationResponse, rt as automationEventCatalogSchema, s as reviewItemCountSchema, sa as conversationAuxiliaryCostsSchema, si as CodeOverviewReport, sn as apiErrorSchema, sr as pinConversationResponseSchema, st as automationExecutionStatusSchema, t as OwnedObjectAnnotation, ta as ConversationTurnFailureReason, ti as AttachmentUpload, tn as connectionListSchema, tr as conversationDeliveryResponseSchema, tt as automationEditErrorSchema, u as reviewItemWaitingConversationsSchema, ua as conversationEventHistorySchema, ui as CodeRepositorySummary, un as LocationDetailReport, ur as ConversationCatchUp, ut as automationParamsSchema, v as Plugins, va as createConversationBodySchema, vi as codeRepositorySummarySchema, vn as ActorActivityDayReport, vr as continueConversationInSlackBodySchema, vt as automationVersionActivateSchema, w as pluginOperationalReportFeedSchema, wa as MessageCard, wi as MAX_OBJECT_LINKS, wn as ActorWindowMetrics, wr as ConversationStatsReport, wt as BaselineSnapshotReport, x as SkillReport, xa as forkConversationResponseSchema, xi as DailyConversationActivity, xn as ActorProfileReport, xr as stopConversationTurnResponseSchema, xt as automationVersionSchema, y as RuntimeInfoReport, ya as createConversationMessageBodySchema, yi as ConversationChildAgentTotals, yn as ActorDirectoryReport, yr as continueConversationInSlackResponseSchema, yt as automationVersionListSchema, z as ReplyTimeSegmentsReport, za as isAgentInvocationResultEventType, zi as ConversationAgentTreeNode, zn as conversationChildAgentsReportSchema, zr as CancelConversationPendingMessagesResponse, zt as personalTokenListSchema } from "../schema-Dns-sTas.js";
|
|
2
|
-
export { AGENT_REPLY_EVENT_TYPE, 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 AttachObjectLinkResponse, type AttachmentUpload, 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, 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 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 ConversationUsage, type ConversationWatch, type ConversationWatchesReport, type CreateAttachmentUploadBody, type CreateConversationBody, type CreateConversationMessageBody, DEFAULT_NOTIFICATION_SCHEDULE, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, INLINE_VIDEO_TYPES, INPUT_IMAGE_TYPES, type InputFile, type ListedAutomationVersion, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_ATTACHMENT_BYTES, MAX_INPUT_ATTACHMENTS, MAX_OBJECT_LINKS, type MessageAttachment, type MessageCard, type NotificationSchedule, type NotificationSettings, type ObjectLinksReport, 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
|
|
1
|
+
import { $ as automationEditSchema, $i as ConversationReportStatus, $n as conversationSubscriptionBodySchema, $r as conversationPendingMessageSchema, $t as testNotificationResponseSchema, A as runtimeInfoReportSchema, Aa as resolveMessageCards, Ai as attachObjectLinkResponseSchema, An as PersonalSpendReport, Ar as conversationStatsReportSchema, At as workspaceSchema, B as AutomationExecutionList, Ba as webMessageId, Bi as CONVERSATION_VERSION_HEADER, Bn as ConversationChildAgentsReport, Br as conversationFeedSchema, Bt as disconnectServiceAccountResponseSchema, C as healthReportSchema, Ca as forkConversationBodySchema, Ci as conversationChildAgentTotalsSchema, Cn as ActorDirectoryWindows, Cr as StopConversationTurnResponse, Ct as WorkspaceReport, D as pluginPackageContentReportSchema, Da as MessageCard, Di as MAX_OBJECT_LINKS, Dn as ActorWindowMetrics, Dr as ConversationStatsReport, Dt as workspaceListSchema, E as pluginPackageContentItemReportSchema, Ea as conversationTurnFailureReasonSchema, Ei as AttachObjectLinkResponse, En as ActorTotalsReport, Er as ConversationStatsItem, Et as workspaceBodySchema, F as StatsReport, Fa as UserInputField, Fi as personObjectCard, Fn as ConversationWatch, Fr as archiveConversationResponseSchema, Ft as createdPersonalTokenSchema, G as AutomationRunList, Ga as MAX_INPUT_ATTACHMENTS, Gi as ConversationDetailReport, Gn as RenameConversationResponse, Gr as ConversationPendingMessagesReport, Gt as CacheWarmingSavingsRefill, H as AutomationList, Ha as isAgentInvocationResultEventType, Hi as ConversationAgentTreeNode, Hn as conversationChildAgentsReportSchema, Hr as CancelConversationPendingMessagesResponse, Ht as serviceAccountParamsSchema, I as statSchema, Ia as UserInputRequest, Ii as webPageObjectCard, In as ConversationWatchesReport, Ir as archiveDoneConversationsResponseSchema, It as personalTokenListSchema, J as AutomationSummary, Ja as INPUT_IMAGE_TYPES, Ji as ConversationModelUsage, Jn as CONVERSATION_OUTLINE_TEXT_LENGTH, Jr as cancelConversationPendingMessagesBodySchema, Jt as cacheWarmingSavingsRefillResponseSchema, K as AutomationRunWindows, Ka as MessageAttachment, Ki as ConversationEventHistory, Kn as renameConversationBodySchema, Kr as SteerConversationPendingMessagesBody, Kt as CacheWarmingSavingsReport, L as statsReportSchema, La as buttonUserInputField, Li as AcceptedConversationMessage, Ln as conversationWatchSchema, Lr as conversationAutoArchiveSchema, Lt as personalTokenMetadataSchema, M as skillReportSchema, Ma as AutomationCard, Mi as objectLinksReportSchema, Mn as actorProfileReportSchema, Mr as ArchiveConversationResponse, Mt as userCustomizationSchema, N as skillReportsSchema, Na as USER_INPUT_NOTE, Ni as conversationObjectCard, Nn as personParamsSchema, Nr as ConversationAutoArchive, Nt as PersonalTokenMetadata, O as pluginSchema, Oa as annotationCard, Oi as ObjectLinksReport, On as PeopleActivityDayReport, Or as GuardianMetricDay, Ot as workspaceParamsSchema, P as StatReport, Pa as UserInputAnswer, Pi as messageObjectCard, Pn as personalSpendReportSchema, Pr as archiveConversationBodySchema, Pt as createPersonalTokenBodySchema, Q as automationEditErrorSchema, Qi as ConversationReportMessageEvent, Qn as ConversationSubscriptionResponse, Qr as conversationPendingMessageDeliverySchema, Qt as notificationSettingsSchema, R as AutomationEdit, Ra as isEmptyUserInputAnswer, Ri as ActorIdentity, Rn as conversationWatchesReportSchema, Rr as ConversationFeed, Rt as personalTokenParamsSchema, S as SkillReports, Sa as createConversationMessageBodySchema, Si as ConversationChildAgentTotals, Sn as ActorDirectoryReport, Sr as continueConversationInSlackResponseSchema, St as WorkspaceListReport, T as pluginOperationalReportSchema, Ta as conversationTurnFailureCodeSchema, Ti as dailyConversationActivitySchema, Tn as ActorSummaryReport, Tr as ConversationMetricDay, Tt as deleteWorkspaceResponseSchema, U as AutomationListQuery, Ua as InputFile, Ui as ConversationAuxiliaryCosts, Un as CONVERSATION_TITLE_MAX_LENGTH, Ur as ConversationPendingMessage, Ut as serviceAccountSchema, V as AutomationExecutionStatusDay, Va as AGENT_REPLY_EVENT_TYPE, Vi as ConversationActivityPreview, Vn as conversationChildAgentSchema, Vr as CancelConversationPendingMessagesBody, Vt as serviceAccountListSchema, W as AutomationRun, Wa as MAX_ATTACHMENT_BYTES, Wi as ConversationCost, Wn as RenameConversationBody, Wr as ConversationPendingMessageDelivery, Wt as startServiceAccountSignInResponseSchema, X as AutomationVersionList, Xi as ConversationReportEvent, Xn as conversationOutlineSchema, Xr as conversationDetailWithMailboxReportSchema, Xt as closeCacheWarmingBreakerResponseSchema, Y as AutomationUpdate, Yi as ConversationParams, Yn as ConversationOutline, Yr as cancelConversationPendingMessagesResponseSchema, Yt as cacheWarmingSavingsReportSchema, Z as ListedAutomationVersion, Zi as ConversationReportEventData, Zn as ConversationSubscriptionBody, Zr as conversationPendingAuthorizationSchema, Zt as NotificationSettings, _ as PluginPackageContentReport, _a as conversationParamsSchema, _i as codeOverviewReportSchema, _n as locationActivityDayReportSchema, _r as ConversationReadPosition, _t as automationVersionParamsSchema, a as ReviewItemPayload, aa as ConversationUsage, ai as CreateAttachmentUploadBody, an as connectionParamsSchema, ar as PinConversationBody, at as automationListQuerySchema, b as SkillDetailReport, ba as conversationSummaryReportSchema, bi as codeRepositoryReportSchema, bn as locationParamsSchema, br as ContinueConversationInSlackResponse, bt as scheduledAutomationSummarySchema, c as reviewItemListSchema, ca as acceptedConversationMessageSchema, ci as CodeActivityDay, cn as startConnectionResponseSchema, cr as ReorderPinnedConversationsResponse, ct as automationRunListSchema, d as ReviewItemChangeRecord, da as conversationDetailQuerySchema, di as CodePersonReport, dn as LocationActivityDayReport, dr as reorderPinnedConversationsBodySchema, dt as automationScheduleIntentSchema, ea as ConversationSourceTask, ei as conversationPendingMessagesReportSchema, en as DEFAULT_NOTIFICATION_SCHEDULE, er as conversationSubscriptionResponseSchema, et as automationEventCatalogSchema, f as HealthReport, fa as conversationDetailReportSchema, fi as CodeRepositoryReport, fn as LocationActorSummaryReport, fr as reorderPinnedConversationsResponseSchema, ft as automationSchedulePreviewSchema, g as PluginPackageContentItemReport, ga as conversationFeedQuerySchema, gi as codeChangeSummarySchema, gn as LocationSummaryReport, gr as conversationCatchUpSchema, gt as automationVersionListSchema, h as PluginOperationalReportFeed, ha as conversationEventsQuerySchema, hi as codeChangeSummaryReportSchema, hn as LocationParams, hr as conversationCatchUpBodySchema, ht as automationVersionActivateSchema, i as ReviewItemActionBody, ia as ConversationTurnFailureReason, ii as AttachmentUpload, in as connectionListSchema, ir as conversationDeliveryResponseSchema, it as automationExecutionStatusSchema, j as skillDetailReportSchema, ja as AutomationTask, ji as objectLinksQuerySchema, jn as actorDirectoryReportSchema, jr as ArchiveConversationBody, jt as USER_CUSTOMIZATION_MAX_CHARS, k as pluginsSchema, ka as messageCardText, ki as attachObjectLinkBodySchema, kn as PersonParams, kr as GuardianStats, kt as workspaceRepoSchema, l as reviewItemSchema, la as conversationActivityPreviewSchema, li as CodeChangeSummaryReport, ln as ApiError, lr as pinConversationBodySchema, lt as automationRunSchema, m as PluginOperationalReport, ma as conversationEventPageSchema, mi as codeActivityDaySchema, mn as LocationDirectoryReport, mr as ConversationCatchUpBody, mt as automationUpdateSchema, n as Versions, na as ConversationSurface, ni as steerConversationPendingMessagesBodySchema, nn as isWithinNotificationSchedule, nr as ConversationDeliveryResponse, nt as automationExecutionSchema, o as reviewItemActionSchema, oa as CreateConversationBody, oi as attachmentUploadSchema, on as connectionSchema, or as PinConversationResponse, ot as automationListSchema, p as Plugin, pa as conversationEventHistorySchema, pi as CodeRepositorySummary, pn as LocationDetailReport, pr as ConversationCatchUp, pt as automationSummarySchema, q as AutomationScheduleIntent, qa as INLINE_VIDEO_TYPES, qi as ConversationEventPage, qn as renameConversationResponseSchema, qr as SteerConversationPendingMessagesResponse, qt as cacheWarmingBreakerListSchema, r as versionsSchema, ra as ConversationTurnFailureCode, ri as steerConversationPendingMessagesResponseSchema, rn as notificationScheduleSchema, rr as conversationDeliveryBodySchema, rt as automationExecutionStatusDaySchema, s as reviewItemCountSchema, sa as CreateConversationMessageBody, si as createAttachmentUploadBodySchema, sn as disconnectConnectionResponseSchema, sr as ReorderPinnedConversationsBody, st as automationParamsSchema, t as OwnedObjectAnnotation, ta as ConversationSummaryReport, ti as conversationUnchangedDetailWithMailboxSchema, tn as NotificationSchedule, tr as ConversationDeliveryBody, tt as automationExecutionListSchema, u as reviewItemWaitingConversationsSchema, ua as conversationAuxiliaryCostsSchema, ui as CodeOverviewReport, un as apiErrorSchema, ur as pinConversationResponseSchema, ut as automationRunWindowsSchema, v as Plugins, va as conversationReportEventDataSchema, vi as codePersonReportSchema, vn as locationDetailReportSchema, vr as conversationReadPositionSchema, vt as automationVersionSchema, w as pluginOperationalReportFeedSchema, wa as forkConversationResponseSchema, wi as DailyConversationActivity, wn as ActorProfileReport, wr as stopConversationTurnResponseSchema, wt as baselineSnapshotSchema, x as SkillReport, xa as createConversationBodySchema, xi as codeRepositorySummarySchema, xn as ActorActivityDayReport, xr as continueConversationInSlackBodySchema, xt as BaselineSnapshotReport, y as RuntimeInfoReport, ya as conversationReportEventSchema, yi as codeRepositoryParamsSchema, yn as locationDirectoryReportSchema, yr as ContinueConversationInSlackBody, yt as eventAutomationSummarySchema, z as AutomationExecution, za as normalizeUserInputAnswer, zi as CONVERSATION_DETAIL_VERSION_HEADER, zn as ConversationChildAgent, zr as ConversationFeedItem, zt as revokePersonalTokenResponseSchema } from "../schema-BIFM-U1a.js";
|
|
2
|
+
export { AGENT_REPLY_EVENT_TYPE, 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 AttachObjectLinkResponse, type AttachmentUpload, 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, CONVERSATION_DETAIL_VERSION_HEADER, CONVERSATION_OUTLINE_TEXT_LENGTH, CONVERSATION_TITLE_MAX_LENGTH, CONVERSATION_VERSION_HEADER, type CacheWarmingSavingsRefill, type CacheWarmingSavingsReport, 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 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 ConversationUsage, type ConversationWatch, type ConversationWatchesReport, type CreateAttachmentUploadBody, type CreateConversationBody, type CreateConversationMessageBody, DEFAULT_NOTIFICATION_SCHEDULE, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, INLINE_VIDEO_TYPES, INPUT_IMAGE_TYPES, type InputFile, type ListedAutomationVersion, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_ATTACHMENT_BYTES, MAX_INPUT_ATTACHMENTS, MAX_OBJECT_LINKS, type MessageAttachment, type MessageCard, type NotificationSchedule, type NotificationSettings, type ObjectLinksReport, 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 SkillDetailReport, 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, annotationCard, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, attachObjectLinkBodySchema, attachObjectLinkResponseSchema, attachmentUploadSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cacheWarmingBreakerListSchema, cacheWarmingSavingsRefillResponseSchema, cacheWarmingSavingsReportSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, closeCacheWarmingBreakerResponseSchema, 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, conversationObjectCard, conversationOutlineSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSubscriptionBodySchema, conversationSubscriptionResponseSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationUnchangedDetailWithMailboxSchema, conversationWatchSchema, conversationWatchesReportSchema, createAttachmentUploadBodySchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isAgentInvocationResultEventType, isEmptyUserInputAnswer, isWithinNotificationSchedule, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, messageObjectCard, normalizeUserInputAnswer, notificationScheduleSchema, notificationSettingsSchema, objectLinksQuerySchema, objectLinksReportSchema, personObjectCard, 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, skillDetailReportSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, testNotificationResponseSchema, userCustomizationSchema, versionsSchema, webMessageId, webPageObjectCard, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
|
package/dist/api/schema.js
CHANGED
|
@@ -1,9 +1,8 @@
|
|
|
1
1
|
import { a as conversationTurnFailureReasonSchema, i as conversationTurnFailureCodeSchema } from "../history-IjdmO_r6.js";
|
|
2
2
|
import { n as isWithinNotificationSchedule, r as notificationScheduleSchema, t as DEFAULT_NOTIFICATION_SCHEDULE } from "../schedule-cP0AACm1.js";
|
|
3
|
-
import { C as createConversationBodySchema, E as forkConversationResponseSchema, F as renameConversationBodySchema, G as MAX_ATTACHMENT_BYTES, I as renameConversationResponseSchema, K as MAX_INPUT_ATTACHMENTS, L as conversationReadPositionSchema, N as CONVERSATION_TITLE_MAX_LENGTH, O as conversationChildAgentTotalsSchema, T as forkConversationBodySchema, V as messageCardText, W as resolveMessageCards, _ as conversationReportEventSchema, a as conversationActivityPreviewSchema, b as conversationSummaryReportSchema, c as conversationAuxiliaryCostsSchema, d as conversationEventHistorySchema, f as conversationEventPageSchema, g as conversationReportEventDataSchema, h as conversationParamsSchema, l as conversationDetailQuerySchema, m as conversationFeedQuerySchema, n as CONVERSATION_VERSION_HEADER, p as conversationEventsQuerySchema, r as acceptedConversationMessageSchema, t as CONVERSATION_DETAIL_VERSION_HEADER, u as conversationDetailReportSchema, w as createConversationMessageBodySchema, z as annotationCard } from "../conversation-
|
|
4
|
-
import { C as
|
|
5
|
-
import {
|
|
6
|
-
import { C as
|
|
7
|
-
import { C as
|
|
8
|
-
|
|
9
|
-
export { AGENT_REPLY_EVENT_TYPE, 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_ATTACHMENT_BYTES, MAX_INPUT_ATTACHMENTS, MAX_OBJECT_LINKS, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, annotationCard, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, attachObjectLinkBodySchema, attachObjectLinkResponseSchema, attachmentUploadSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, continueConversationInSlackBodySchema, continueConversationInSlackResponseSchema, conversationActivityPreviewSchema, conversationAutoArchiveSchema, conversationAuxiliaryCostsSchema, conversationCatchUpBodySchema, conversationCatchUpSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDeliveryBodySchema, conversationDeliveryResponseSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationDetailWithMailboxReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationObjectCard, conversationOutlineSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSubscriptionBodySchema, conversationSubscriptionResponseSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationUnchangedDetailWithMailboxSchema, conversationWatchSchema, conversationWatchesReportSchema, createAttachmentUploadBodySchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isAgentInvocationResultEventType, isEmptyUserInputAnswer, isWithinNotificationSchedule, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, messageObjectCard, normalizeUserInputAnswer, notificationScheduleSchema, notificationSettingsSchema, objectLinksQuerySchema, objectLinksReportSchema, personObjectCard, 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, skillDetailReportSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, testNotificationResponseSchema, userCustomizationSchema, versionsSchema, webMessageId, webPageObjectCard, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
|
|
3
|
+
import { C as createConversationBodySchema, E as forkConversationResponseSchema, F as renameConversationBodySchema, G as MAX_ATTACHMENT_BYTES, I as renameConversationResponseSchema, K as MAX_INPUT_ATTACHMENTS, L as conversationReadPositionSchema, N as CONVERSATION_TITLE_MAX_LENGTH, O as conversationChildAgentTotalsSchema, T as forkConversationBodySchema, V as messageCardText, W as resolveMessageCards, _ as conversationReportEventSchema, a as conversationActivityPreviewSchema, b as conversationSummaryReportSchema, c as conversationAuxiliaryCostsSchema, d as conversationEventHistorySchema, f as conversationEventPageSchema, g as conversationReportEventDataSchema, h as conversationParamsSchema, l as conversationDetailQuerySchema, m as conversationFeedQuerySchema, n as CONVERSATION_VERSION_HEADER, p as conversationEventsQuerySchema, r as acceptedConversationMessageSchema, t as CONVERSATION_DETAIL_VERSION_HEADER, u as conversationDetailReportSchema, w as createConversationMessageBodySchema, z as annotationCard } from "../conversation-BNXfq6Lb.js";
|
|
4
|
+
import { C as eventAutomationSummarySchema, S as automationVersionSchema, _ as automationSummarySchema, a as automationExecutionSchema, b as automationVersionListSchema, d as automationParamsSchema, f as automationRunListSchema, g as automationSchedulePreviewSchema, h as automationScheduleIntentSchema, i as automationExecutionListSchema, l as automationListQuerySchema, m as automationRunWindowsSchema, n as automationEditSchema, o as automationExecutionStatusDaySchema, p as automationRunSchema, r as automationEventCatalogSchema, s as automationExecutionStatusSchema, t as automationEditErrorSchema, u as automationListSchema, v as automationUpdateSchema, w as scheduledAutomationSummarySchema, x as automationVersionParamsSchema, y as automationVersionActivateSchema } from "../automation-Cva5ZOwW.js";
|
|
5
|
+
import { S as AGENT_REPLY_EVENT_TYPE, T as apiErrorSchema, _ as userCustomizationSchema, f as INLINE_VIDEO_TYPES, g as USER_CUSTOMIZATION_MAX_CHARS, l as isEmptyUserInputAnswer, o as USER_INPUT_NOTE, p as INPUT_IMAGE_TYPES, s as buttonUserInputField, t as webMessageId, u as normalizeUserInputAnswer, w as isAgentInvocationResultEventType } from "../web-message-id-lNodcCOI.js";
|
|
6
|
+
import { C as skillReportsSchema, D as webPageObjectCard, E as personObjectCard, S as skillReportSchema, T as messageObjectCard, _ as pluginPackageContentReportSchema, a as conversationDetailWithMailboxReportSchema, b as runtimeInfoReportSchema, c as conversationPendingMessageSchema, d as steerConversationPendingMessagesBodySchema, f as steerConversationPendingMessagesResponseSchema, g as pluginPackageContentItemReportSchema, h as pluginOperationalReportSchema, i as cancelConversationPendingMessagesResponseSchema, l as conversationPendingMessagesReportSchema, m as pluginOperationalReportFeedSchema, n as conversationFeedSchema, o as conversationPendingAuthorizationSchema, p as healthReportSchema, r as cancelConversationPendingMessagesBodySchema, s as conversationPendingMessageDeliverySchema, u as conversationUnchangedDetailWithMailboxSchema, v as pluginSchema, w as conversationObjectCard, x as skillDetailReportSchema, y as pluginsSchema } from "../conversation-feed-Clf_cv0n.js";
|
|
7
|
+
import { $ as connectionListSchema, A as createPersonalTokenBodySchema, At as conversationAutoArchiveSchema, B as personalSpendReportSchema, Bt as conversationCatchUpSchema, C as cacheWarmingSavingsReportSchema, Ct as stopConversationTurnResponseSchema, D as serviceAccountParamsSchema, Dt as archiveConversationBodySchema, E as serviceAccountListSchema, Et as conversationOutlineSchema, F as revokePersonalTokenResponseSchema, Ft as pinConversationBodySchema, H as locationDetailReportSchema, Ht as attachmentUploadSchema, I as actorDirectoryReportSchema, It as pinConversationResponseSchema, J as dailyConversationActivitySchema, L as actorProfileReportSchema, Lt as reorderPinnedConversationsBodySchema, M as personalTokenListSchema, Mt as conversationSubscriptionResponseSchema, N as personalTokenMetadataSchema, Nt as conversationDeliveryBodySchema, O as serviceAccountSchema, Ot as archiveConversationResponseSchema, P as personalTokenParamsSchema, Pt as conversationDeliveryResponseSchema, Q as testNotificationResponseSchema, Rt as reorderPinnedConversationsResponseSchema, S as cacheWarmingSavingsRefillResponseSchema, St as objectLinksReportSchema, T as disconnectServiceAccountResponseSchema, Tt as CONVERSATION_OUTLINE_TEXT_LENGTH, U as locationDirectoryReportSchema, Ut as createAttachmentUploadBodySchema, V as locationActivityDayReportSchema, W as locationParamsSchema, Y as notificationSettingsSchema, _ as reviewItemSchema, _t as continueConversationInSlackResponseSchema, a as baselineSnapshotSchema, at as codeChangeSummaryReportSchema, bt as attachObjectLinkResponseSchema, c as workspaceListSchema, ct as codePersonReportSchema, d as workspaceSchema, dt as codeRepositorySummarySchema, et as connectionParamsSchema, f as reviewItemActionSchema, ft as conversationWatchSchema, gt as continueConversationInSlackBodySchema, h as reviewItemListSchema, ht as conversationChildAgentsReportSchema, i as statsReportSchema, it as codeActivityDaySchema, j as createdPersonalTokenSchema, jt as conversationSubscriptionBodySchema, k as startServiceAccountSignInResponseSchema, kt as archiveDoneConversationsResponseSchema, l as workspaceParamsSchema, lt as codeRepositoryParamsSchema, mt as conversationChildAgentSchema, n as versionsSchema, nt as disconnectConnectionResponseSchema, o as deleteWorkspaceResponseSchema, ot as codeChangeSummarySchema, p as reviewItemCountSchema, pt as conversationWatchesReportSchema, r as statSchema, rt as startConnectionResponseSchema, s as workspaceBodySchema, st as codeOverviewReportSchema, tt as connectionSchema, u as workspaceRepoSchema, ut as codeRepositoryReportSchema, v as reviewItemWaitingConversationsSchema, vt as MAX_OBJECT_LINKS, w as closeCacheWarmingBreakerResponseSchema, wt as conversationStatsReportSchema, xt as objectLinksQuerySchema, y as cacheWarmingBreakerListSchema, yt as attachObjectLinkBodySchema, z as personParamsSchema, zt as conversationCatchUpBodySchema } from "../schema-DnVQepWP.js";
|
|
8
|
+
export { AGENT_REPLY_EVENT_TYPE, 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_ATTACHMENT_BYTES, MAX_INPUT_ATTACHMENTS, MAX_OBJECT_LINKS, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, annotationCard, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, attachObjectLinkBodySchema, attachObjectLinkResponseSchema, attachmentUploadSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cacheWarmingBreakerListSchema, cacheWarmingSavingsRefillResponseSchema, cacheWarmingSavingsReportSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, closeCacheWarmingBreakerResponseSchema, 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, conversationObjectCard, conversationOutlineSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSubscriptionBodySchema, conversationSubscriptionResponseSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationUnchangedDetailWithMailboxSchema, conversationWatchSchema, conversationWatchesReportSchema, createAttachmentUploadBodySchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isAgentInvocationResultEventType, isEmptyUserInputAnswer, isWithinNotificationSchedule, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, messageObjectCard, normalizeUserInputAnswer, notificationScheduleSchema, notificationSettingsSchema, objectLinksQuerySchema, objectLinksReportSchema, personObjectCard, 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, skillDetailReportSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, testNotificationResponseSchema, userCustomizationSchema, versionsSchema, webMessageId, webPageObjectCard, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
|
package/dist/api.d.ts
CHANGED
package/dist/api.js
CHANGED
|
@@ -1,33 +1,32 @@
|
|
|
1
|
-
import { $
|
|
2
|
-
import { R as escapeXml, Z as getAttachmentStorage, n as botConfig } from "./config-
|
|
3
|
-
import { h as logWarn, m as logInfo, p as logException } from "./logging-
|
|
1
|
+
import { $a as workspaceRepoCheckoutPath, Ar as countReviewItemsNeedingUser, Cr as saveNotificationSchedule, Hi as createWorkspace, Hr as canActOnReviewItem, Ir as listWaitingConversations, Ji as updateWorkspace, Ki as listWorkspaces, Kr as isOnlyAssignee, Lr as reviewItemsNeedingUserVersionQuery, Pi as getDashboardSettingsLink, Qr as reviewItemReaderForUserInConversation, Rr as searchReviewItems, Sr as readNotificationSchedule, Tr as isPausedBySlack, Ui as deleteWorkspace, Uo as readSlackAttachmentSource, V as createPluginEgress, Wi as getWorkspace, Yi as WorkspaceValidationError, Za as SANDBOX_RUNTIME, Zn as createUserTokenStore, Zr as reviewItemReaderForUser, _o as createPluginLogger, _r as readWebPushConfig, bo as createConversationAccessReader, br as deletePushSubscription, ea as create, fs as createPluginAnnotations, jo as readConversationEventPage, ko as readConversationBriefThrough, ps as listConversationAnnotations, qi as listWorkspacesByRepository, ta as hash, ur as getPlugins, vr as sendPushNotificationToUser, wr as savePushSubscription, xo as readConversationAccessFromSql, xr as listPushSubscriptions, xs as createPluginCache, yr as resolveNotificationTimezone } from "./projection-CIBwgD3s.js";
|
|
2
|
+
import { R as escapeXml, Z as getAttachmentStorage, n as botConfig } from "./config-CzeZiMKs.js";
|
|
3
|
+
import { h as logWarn, m as logInfo, p as logException } from "./logging-C9oDAg4M.js";
|
|
4
4
|
import { f as parseSlackTeamId, u as parseSlackChannelId } from "./actor-D2iXzvlN.js";
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
9
|
-
import {
|
|
10
|
-
import { n as briefEntriesFromReportEvents, u as completeText } from "./prompt-
|
|
5
|
+
import { G as createCache, J as getStateAdapter, O as conversationKindFromRow, _ as loadConversationSlackTenantIds, a as getConversationStore, ft as nextDetailVersion, o as getDb, s as getSqlExecutor, x as withConversationMutationLock } from "./db-B-gtnNjr.js";
|
|
6
|
+
import { C as juniorConversationMetrics, E as juniorApiTokens, F as juniorDestinations, M as juniorConversations, N as juniorIdentities, O as juniorCodeChanges, P as juniorUsers, T as juniorConversationEvents, k as juniorCodeRepositories, x as juniorConversationBriefs } from "./executor-DZg20EqU.js";
|
|
7
|
+
import { f as credentialContextForActor } from "./registry-DdFQHZ_d.js";
|
|
8
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-Dss0lSV6.js";
|
|
9
|
+
import { O as previewOriginBelongsTo, d as AttachmentDownloadError, f as readAttachmentContent, y as createSlackReviewItemShow } from "./agent-runner-CY9RvsTX.js";
|
|
10
|
+
import { n as briefEntriesFromReportEvents, u as completeText } from "./prompt-CRQbzp5e.js";
|
|
11
11
|
import { r as notificationScheduleSchema } from "./schedule-cP0AACm1.js";
|
|
12
|
-
import { c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarFetch, t as findUserByEmail } from "./viewer-
|
|
13
|
-
import { C as createConversationBodySchema, E as forkConversationResponseSchema, F as renameConversationBodySchema, G as MAX_ATTACHMENT_BYTES, I as renameConversationResponseSchema, L as conversationReadPositionSchema, T as forkConversationBodySchema, f as conversationEventPageSchema, h as conversationParamsSchema, l as conversationDetailQuerySchema, m as conversationFeedQuerySchema, n as CONVERSATION_VERSION_HEADER, o as conversationAttachmentParamsSchema, p as conversationEventsQuerySchema, r as acceptedConversationMessageSchema, s as conversationAttachmentQuerySchema, t as CONVERSATION_DETAIL_VERSION_HEADER, u as conversationDetailReportSchema, w as createConversationMessageBodySchema } from "./conversation-
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import { l as
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import { a as
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import { a as
|
|
28
|
-
import {
|
|
29
|
-
import { i as
|
|
30
|
-
import { A as revokePersonalTokenResponseSchema, At as pinConversationBodySchema, B as activityDays$1, Ct as archiveConversationResponseSchema, D as personalTokenListSchema, Dt as conversationSubscriptionResponseSchema, E as createdPersonalTokenSchema, Et as conversationSubscriptionBodySchema, F as personalSpendReportSchema, Ft as conversationCatchUpSchema, G as pushSubscriptionBodySchema, H as activitySixHours$1, It as attachmentUploadParamsSchema, J as connectionListSchema, K as pushSubscriptionDeleteBodySchema, L as locationDetailReportSchema, Lt as attachmentUploadSchema, M as actorProfileReportSchema, Mt as reorderPinnedConversationsBodySchema, N as avatarParamsSchema, Nt as reorderPinnedConversationsResponseSchema, Ot as conversationDeliveryBodySchema, P as personParamsSchema, Pt as conversationCatchUpBodySchema, Q as startConnectionResponseSchema, R as locationDirectoryReportSchema, Rt as createAttachmentUploadBodySchema, S as serviceAccountParamsSchema, St as archiveConversationBodySchema, T as createPersonalTokenBodySchema, Tt as conversationAutoArchiveSchema, V as activityHours$1, W as notificationSettingsSchema, Y as connectionParamsSchema, Z as disconnectConnectionResponseSchema, _ as reviewItemParamsSchema, _t as objectLinksReportSchema, a as replyTimeSegmentsReportSchema, at as codeRepositoryReportSchema, b as disconnectServiceAccountResponseSchema, c as workspaceBodySchema, ct as conversationWatchesReportSchema, dt as continueConversationInSlackBodySchema, f as workspaceSchema, ft as continueConversationInSlackResponseSchema, g as reviewItemListSchema, gt as objectLinksQuerySchema, h as reviewItemListQuerySchema, ht as attachObjectLinkResponseSchema, i as statsReportSchema, it as codeRepositoryParamsSchema, j as actorDirectoryReportSchema, jt as pinConversationResponseSchema, k as personalTokenParamsSchema, kt as conversationDeliveryResponseSchema, l as workspaceListSchema, m as reviewItemCountSchema, mt as attachObjectLinkBodySchema, n as versionsSchema, nt as codeOverviewReportSchema, p as reviewItemActionSchema, q as testNotificationResponseSchema, rt as codePersonReportSchema, s as deleteWorkspaceResponseSchema, t as versionsQuerySchema, u as workspaceParamsSchema, ut as conversationChildAgentsReportSchema, v as reviewItemSchema, vt as stopConversationTurnResponseSchema, w as startServiceAccountSignInResponseSchema, wt as archiveDoneConversationsResponseSchema, x as serviceAccountListSchema, xt as conversationOutlineSchema, y as reviewItemWaitingConversationsSchema, yt as conversationStatsReportSchema, z as locationParamsSchema } from "./schema-C9iNFz5n.js";
|
|
12
|
+
import { c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarFetch, t as findUserByEmail } from "./viewer-B1SO21Qa.js";
|
|
13
|
+
import { C as createConversationBodySchema, E as forkConversationResponseSchema, F as renameConversationBodySchema, G as MAX_ATTACHMENT_BYTES, I as renameConversationResponseSchema, L as conversationReadPositionSchema, T as forkConversationBodySchema, f as conversationEventPageSchema, h as conversationParamsSchema, l as conversationDetailQuerySchema, m as conversationFeedQuerySchema, n as CONVERSATION_VERSION_HEADER, o as conversationAttachmentParamsSchema, p as conversationEventsQuerySchema, r as acceptedConversationMessageSchema, s as conversationAttachmentQuerySchema, t as CONVERSATION_DETAIL_VERSION_HEADER, u as conversationDetailReportSchema, w as createConversationMessageBodySchema } from "./conversation-BNXfq6Lb.js";
|
|
14
|
+
import { J as isExperimentalFeatureEnabled, X as getEventCatalog, _ as readUserCustomization, v as saveUserCustomization, y as addConversationNote } from "./session-stop-DW63Z3kj.js";
|
|
15
|
+
import { At as writeAttachmentUpload, Bt as listChildAgents, C as readStats, Ci as AutomationEditError, Et as AttachmentUploadError, Jn as emptyResponse, Mt as readLiveAttachment, Ot as createAttachmentUpload, Xn as throwApiError, Yn as jsonResponse, _ as connectedState, _i as readViewerAutomations, ci as deleteViewerTask, ct as archiveConversation, di as ViewerTaskNotFoundError, dt as reportConversationRead, g as closeBreaker, gi as readViewerAutomationVersions, h as breakerStates, hi as readViewerAutomationSummary, ii as activateViewerAutomationVersion, l as SAVINGS_NAMESPACE, li as readViewerAutomationEdit, m as savingsTotals, mi as readViewerAutomationRuns, pi as readViewerAutomationExecutions, qn as setConversationSubscription, si as changeViewerAutomationLifecycle, ui as updateViewerAutomation, vt as acceptsWebMessages, wt as webActorFromUser, zt as listOwnedWatches } from "./warmup-Bz9bzkzN.js";
|
|
16
|
+
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-Cva5ZOwW.js";
|
|
17
|
+
import { F as readAutomationTitlesByConversationId, L as conversationAggregateColumns, R as conversationRangeColumns, _t as automationEventCatalog, pt as AutomationConflictError, z as conversationUsageCostExpr } from "./turn-session-routing-BFMS9ATF.js";
|
|
18
|
+
import { A as fillUtcSixHours, D as HOUR_MS$1, E as DAY_MS$2, F as trailingUtcSixHourWindow, I as utcDayKey, L as utcHourKey, M as sumUtcHoursIntoSixHours, N as trailingUtcDayWindow, O as fillUtcDays, P as trailingUtcHourWindow, T as apiErrorSchema, _ as userCustomizationSchema, f as INLINE_VIDEO_TYPES, j as startOfUtcHour, k as fillUtcHours, m as detectImageMediaType, p as INPUT_IMAGE_TYPES } from "./web-message-id-lNodcCOI.js";
|
|
19
|
+
import { o as getVercelConversationWorkQueue } from "./background-compaction-queue-CXFq1_Cz.js";
|
|
20
|
+
import { o as getSandboxResources } from "./install-t1KQyTUs.js";
|
|
21
|
+
import { t as getCachedSnapshot } from "./resolve-CdW4BdrK.js";
|
|
22
|
+
import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-CrZftRTb.js";
|
|
23
|
+
import { t as runWithSlackInstallation } from "./adapter-context-Cx9fn9B3.js";
|
|
24
|
+
import { $ as guardedFetch, Ct as createViewerMcp, F as readReviewItemForUser, G as startSavingsRefill, H as updateUserAutoArchiveSettings, J as readHealthReport, L as DEFAULT_AUTO_ARCHIVE_SETTINGS, M as ReviewItemActionError, N as actOnReviewItem, O as isAllowedSignInEmail, Q as resolveObjectLinks, R as archiveViewerDoneConversations, S as cancelConversationPendingMessagesForViewer, St as readFirstHumanMessageTexts, T as resolveMentions, Tt as decodeImageId, U as readSavingsRefill, V as setConversationAutoArchive, Y as OBJECT_LINK_TTL_MS, Z as resolveObjectLinkNow, _ as appendConversationMessageForViewer, a as pinConversation, c as readConversationAuxiliaryCostsFromSql, d as conversationVersionQuery, f as readConversationDetailEtag, h as readConversationEvents, i as readConversationFeed, it as getProductionSlackAdapter, l as childAgentTotalsReport, m as keepQuickQuestionForViewer, n as steerConversationPendingMessagesForViewer, o as reorderPinnedConversations, p as forkConversationForViewer, r as conversationFeedVersionQuery, s as readConversationDetail, t as stopConversationTurnForViewer, u as readConversationTreeMetricsFromSql, v as createConversationForViewer, w as requireConversationPendingMessages, wt as IMAGE_WIDTHS, xt as conversationSummaryFromStoredConversation, y as requireWebMessageConversation, z as readUserAutoArchiveSettings } from "./stop-7p1i08CY.js";
|
|
25
|
+
import { C as skillReportsSchema, a as conversationDetailWithMailboxReportSchema, b as runtimeInfoReportSchema, d as steerConversationPendingMessagesBodySchema, f as steerConversationPendingMessagesResponseSchema, i as cancelConversationPendingMessagesResponseSchema, l as conversationPendingMessagesReportSchema, m as pluginOperationalReportFeedSchema, n as conversationFeedSchema, p as healthReportSchema, r as cancelConversationPendingMessagesBodySchema, u as conversationUnchangedDetailWithMailboxSchema, x as skillDetailReportSchema, y as pluginsSchema } from "./conversation-feed-Clf_cv0n.js";
|
|
26
|
+
import { a as resumeConversationDelivery, i as pauseConversationDelivery, r as canPauseConversationDelivery } from "./conversation-turn-D7SEZgTG.js";
|
|
27
|
+
import { a as startConnection, n as isConnectableProvider, r as listConnections, s as htmlCallbackResponse, t as disconnectConnection } from "./connections-CDYhMfrs.js";
|
|
28
|
+
import { i as continueConversationInSlack, r as canContinueInSlack, t as BUSY } from "./continue-in-slack-7Uf05ndC.js";
|
|
29
|
+
import { $ as connectionListSchema, A as createPersonalTokenBodySchema, At as conversationAutoArchiveSchema, B as personalSpendReportSchema, Bt as conversationCatchUpSchema, C as cacheWarmingSavingsReportSchema, Ct as stopConversationTurnResponseSchema, D as serviceAccountParamsSchema, Dt as archiveConversationBodySchema, E as serviceAccountListSchema, Et as conversationOutlineSchema, F as revokePersonalTokenResponseSchema, Ft as pinConversationBodySchema, G as activityDays$1, H as locationDetailReportSchema, Ht as attachmentUploadSchema, I as actorDirectoryReportSchema, It as pinConversationResponseSchema, K as activityHours$1, L as actorProfileReportSchema, Lt as reorderPinnedConversationsBodySchema, M as personalTokenListSchema, Mt as conversationSubscriptionResponseSchema, Nt as conversationDeliveryBodySchema, Ot as archiveConversationResponseSchema, P as personalTokenParamsSchema, Pt as conversationDeliveryResponseSchema, Q as testNotificationResponseSchema, R as avatarParamsSchema, Rt as reorderPinnedConversationsResponseSchema, S as cacheWarmingSavingsRefillResponseSchema, St as objectLinksReportSchema, T as disconnectServiceAccountResponseSchema, U as locationDirectoryReportSchema, Ut as createAttachmentUploadBodySchema, Vt as attachmentUploadParamsSchema, W as locationParamsSchema, X as pushSubscriptionBodySchema, Y as notificationSettingsSchema, Z as pushSubscriptionDeleteBodySchema, _ as reviewItemSchema, _t as continueConversationInSlackResponseSchema, b as cacheWarmingBreakerParamsSchema, bt as attachObjectLinkResponseSchema, c as workspaceListSchema, ct as codePersonReportSchema, d as workspaceSchema, et as connectionParamsSchema, f as reviewItemActionSchema, g as reviewItemParamsSchema, gt as continueConversationInSlackBodySchema, h as reviewItemListSchema, ht as conversationChildAgentsReportSchema, i as statsReportSchema, j as createdPersonalTokenSchema, jt as conversationSubscriptionBodySchema, k as startServiceAccountSignInResponseSchema, kt as archiveDoneConversationsResponseSchema, l as workspaceParamsSchema, lt as codeRepositoryParamsSchema, m as reviewItemListQuerySchema, n as versionsSchema, nt as disconnectConnectionResponseSchema, o as deleteWorkspaceResponseSchema, p as reviewItemCountSchema, pt as conversationWatchesReportSchema, q as activitySixHours$1, rt as startConnectionResponseSchema, s as workspaceBodySchema, st as codeOverviewReportSchema, t as versionsQuerySchema, ut as codeRepositoryReportSchema, v as reviewItemWaitingConversationsSchema, w as closeCacheWarmingBreakerResponseSchema, wt as conversationStatsReportSchema, x as cacheWarmingSavingsQuerySchema, xt as objectLinksQuerySchema, y as cacheWarmingBreakerListSchema, yt as attachObjectLinkBodySchema, z as personParamsSchema, zt as conversationCatchUpBodySchema } from "./schema-DnVQepWP.js";
|
|
31
30
|
import { Hono } from "hono";
|
|
32
31
|
import * as z from "zod";
|
|
33
32
|
import path from "node:path";
|
|
@@ -67,7 +66,7 @@ async function attachObjectLink(viewer, conversationId, url) {
|
|
|
67
66
|
if ((await listConversationAnnotations(db, conversationId)).some((annotation) => annotation.url && sameLink(annotation.url, link) || annotation.plugin === linkType.owner && annotation.key === object.key)) return { status: "unchanged" };
|
|
68
67
|
const type = object.displayType ?? objectPresentation(object).label;
|
|
69
68
|
const article = /^[aeiou]/i.test(type) ? "an" : "a";
|
|
70
|
-
const
|
|
69
|
+
const readTool = linkType.readTool?.(object);
|
|
71
70
|
await addConversationNote({
|
|
72
71
|
conversationId,
|
|
73
72
|
createdAtMs: Date.now(),
|
|
@@ -1320,7 +1319,7 @@ function createConversationRoutes(options) {
|
|
|
1320
1319
|
return app;
|
|
1321
1320
|
}
|
|
1322
1321
|
// src/api/code/overview.ts
|
|
1323
|
-
const DAY_MS = 864e5;
|
|
1322
|
+
const DAY_MS$1 = 864e5;
|
|
1324
1323
|
const WINDOW_DAYS = 30;
|
|
1325
1324
|
/**
|
|
1326
1325
|
* Code changes listed on one People profile. Open changes sort first so a
|
|
@@ -1416,12 +1415,12 @@ function changeScopeFilter(args) {
|
|
|
1416
1415
|
async function readCodeWindows(args) {
|
|
1417
1416
|
const db = getDb();
|
|
1418
1417
|
const windowEnd = new Date(args.nowMs);
|
|
1419
|
-
const windowStart = /* @__PURE__ */ new Date(args.nowMs - WINDOW_DAYS * DAY_MS);
|
|
1420
|
-
const activityStart = startOfUtcDay(args.nowMs - 89 * DAY_MS);
|
|
1418
|
+
const windowStart = /* @__PURE__ */ new Date(args.nowMs - WINDOW_DAYS * DAY_MS$1);
|
|
1419
|
+
const activityStart = startOfUtcDay(args.nowMs - 89 * DAY_MS$1);
|
|
1421
1420
|
const changes = juniorCodeChanges;
|
|
1422
1421
|
const activityHourEnd = new Date(args.nowMs);
|
|
1423
1422
|
activityHourEnd.setUTCMinutes(0, 0, 0);
|
|
1424
|
-
const activityHourStart = /* @__PURE__ */ new Date(activityHourEnd.getTime() - 167 * (DAY_MS / 24));
|
|
1423
|
+
const activityHourStart = /* @__PURE__ */ new Date(activityHourEnd.getTime() - 167 * (DAY_MS$1 / 24));
|
|
1425
1424
|
const rows = await db.select({
|
|
1426
1425
|
closedAt: changes.closedAt,
|
|
1427
1426
|
conversationIds: changes.conversationIds,
|
|
@@ -1440,7 +1439,7 @@ async function readCodeWindows(args) {
|
|
|
1440
1439
|
end: activityHourEnd,
|
|
1441
1440
|
keyLength: 13,
|
|
1442
1441
|
start: activityHourStart,
|
|
1443
|
-
stepMs: DAY_MS / 24
|
|
1442
|
+
stepMs: DAY_MS$1 / 24
|
|
1444
1443
|
});
|
|
1445
1444
|
const summary = {
|
|
1446
1445
|
closed: closed.length,
|
|
@@ -1456,7 +1455,7 @@ async function readCodeWindows(args) {
|
|
|
1456
1455
|
end: startOfUtcDay(args.nowMs),
|
|
1457
1456
|
keyLength: 10,
|
|
1458
1457
|
start: activityStart,
|
|
1459
|
-
stepMs: DAY_MS
|
|
1458
|
+
stepMs: DAY_MS$1
|
|
1460
1459
|
}),
|
|
1461
1460
|
activityHours,
|
|
1462
1461
|
activitySixHours: sumUtcHoursIntoSixHours({
|
|
@@ -2164,8 +2163,14 @@ const FETCH_TIMEOUT_MS = 5e3;
|
|
|
2164
2163
|
* image format.
|
|
2165
2164
|
*/
|
|
2166
2165
|
async function fetchImage(image) {
|
|
2166
|
+
const { location, ...request } = image;
|
|
2167
|
+
const url = location ? await location() : request.url;
|
|
2168
|
+
if (!url) return { failure: "not_found" };
|
|
2167
2169
|
const fetched = await guardedFetch({
|
|
2168
|
-
...
|
|
2170
|
+
...location ? {
|
|
2171
|
+
hosts: request.hosts,
|
|
2172
|
+
url
|
|
2173
|
+
} : request,
|
|
2169
2174
|
accept: "image/*",
|
|
2170
2175
|
maxBytes: MAX_IMAGE_BYTES,
|
|
2171
2176
|
timeoutMs: FETCH_TIMEOUT_MS
|
|
@@ -2185,6 +2190,10 @@ async function fetchImage(image) {
|
|
|
2185
2190
|
*/
|
|
2186
2191
|
const IMAGE_CACHE_TTL_MS = 864e5;
|
|
2187
2192
|
const IMAGE_FAILURE_TTL_MS = 3e5;
|
|
2193
|
+
const IMAGE_SYSTEM_ACTOR = {
|
|
2194
|
+
platform: "system",
|
|
2195
|
+
name: "image"
|
|
2196
|
+
};
|
|
2188
2197
|
const CORE_SOURCES = {
|
|
2189
2198
|
avatar: (_viewer, identityId) => readAvatarFetch(getDb(), identityId),
|
|
2190
2199
|
public: async (_viewer, url) => ({ url })
|
|
@@ -2196,9 +2205,14 @@ function pluginSource(plugin) {
|
|
|
2196
2205
|
return (viewer, ref) => images.resolve({
|
|
2197
2206
|
cache: createPluginCache(name),
|
|
2198
2207
|
db: getDb(),
|
|
2208
|
+
egress: createPluginEgress({
|
|
2209
|
+
credentialContext: credentialContextForActor(IMAGE_SYSTEM_ACTOR),
|
|
2210
|
+
pluginAuth: { async handleAuthRequired() {} }
|
|
2211
|
+
}),
|
|
2199
2212
|
log: createPluginLogger(name),
|
|
2200
2213
|
plugin: { name },
|
|
2201
|
-
viewer
|
|
2214
|
+
viewer,
|
|
2215
|
+
viewerMcp: createViewerMcp(name, viewer.id)
|
|
2202
2216
|
}, ref);
|
|
2203
2217
|
}
|
|
2204
2218
|
function findSource(source) {
|
|
@@ -2576,10 +2590,10 @@ function rangeWindow(buckets, nowMs, range, conversations) {
|
|
|
2576
2590
|
};
|
|
2577
2591
|
}
|
|
2578
2592
|
const current = trailingUtcDayWindow(nowMs, range);
|
|
2579
|
-
const priorEndMs = current.start.getTime() - DAY_MS$
|
|
2580
|
-
const priorStartMs = priorEndMs - (range - 1) * DAY_MS$
|
|
2581
|
-
const currentTotals = sumBuckets(buckets, current.start.getTime(), current.end.getTime(), utcDayKey, DAY_MS$
|
|
2582
|
-
const priorTotals = sumBuckets(buckets, priorStartMs, priorEndMs, utcDayKey, DAY_MS$
|
|
2593
|
+
const priorEndMs = current.start.getTime() - DAY_MS$2;
|
|
2594
|
+
const priorStartMs = priorEndMs - (range - 1) * DAY_MS$2;
|
|
2595
|
+
const currentTotals = sumBuckets(buckets, current.start.getTime(), current.end.getTime(), utcDayKey, DAY_MS$2);
|
|
2596
|
+
const priorTotals = sumBuckets(buckets, priorStartMs, priorEndMs, utcDayKey, DAY_MS$2);
|
|
2583
2597
|
return {
|
|
2584
2598
|
conversations,
|
|
2585
2599
|
costUsd: currentTotals.costUsd,
|
|
@@ -2725,7 +2739,7 @@ async function readPeoplePluginReports(args) {
|
|
|
2725
2739
|
reports: [],
|
|
2726
2740
|
source: "plugins"
|
|
2727
2741
|
});
|
|
2728
|
-
const { getPluginProfileReports } = await import("./projection-
|
|
2742
|
+
const { getPluginProfileReports } = await import("./projection-CIBwgD3s.js").then((n) => n.er);
|
|
2729
2743
|
return pluginOperationalReportFeedSchema.parse({
|
|
2730
2744
|
generatedAt: new Date(nowMs).toISOString(),
|
|
2731
2745
|
reports: await getPluginProfileReports({
|
|
@@ -3163,6 +3177,68 @@ function createServiceAccountRoutes() {
|
|
|
3163
3177
|
});
|
|
3164
3178
|
return app;
|
|
3165
3179
|
}
|
|
3180
|
+
// src/api/cache-warming/savings.ts
|
|
3181
|
+
const DAY_MS = 864e5;
|
|
3182
|
+
function savings(stats) {
|
|
3183
|
+
const { historyDays: _, ...totals } = savingsTotals(stats);
|
|
3184
|
+
return totals;
|
|
3185
|
+
}
|
|
3186
|
+
/**
|
|
3187
|
+
* Read what cache warming saved on each of the last `days` UTC days, today
|
|
3188
|
+
* included, and in total. Net savings and effectiveness leave out days filled
|
|
3189
|
+
* from history: history has no warmup calls, so their warmup cost is unknown.
|
|
3190
|
+
*/
|
|
3191
|
+
async function readCacheWarmingSavings(days, nowMs = Date.now()) {
|
|
3192
|
+
const dates = Array.from({ length: days }, (_, index) => (/* @__PURE__ */ new Date(nowMs - (days - 1 - index) * DAY_MS)).toISOString().slice(0, 10));
|
|
3193
|
+
const stats = (await readStats(dates[0], dates.at(-1))).filter((stat) => stat.namespace === SAVINGS_NAMESPACE);
|
|
3194
|
+
const unknownCostDates = new Set(dates.filter((date) => savingsTotals(stats.filter((stat) => stat.date === date)).historyDays > 0));
|
|
3195
|
+
const known = savings(stats.filter((stat) => !unknownCostDates.has(stat.date)));
|
|
3196
|
+
const netSavingsUsd = known.savedUsd - known.warmupCostUsd;
|
|
3197
|
+
return cacheWarmingSavingsReportSchema.parse({
|
|
3198
|
+
days: dates.map((date) => {
|
|
3199
|
+
const day = savings(stats.filter((stat) => stat.date === date));
|
|
3200
|
+
return {
|
|
3201
|
+
date,
|
|
3202
|
+
...day,
|
|
3203
|
+
netSavingsUsd: unknownCostDates.has(date) ? null : day.savedUsd - day.warmupCostUsd
|
|
3204
|
+
};
|
|
3205
|
+
}),
|
|
3206
|
+
totals: {
|
|
3207
|
+
...savings(stats),
|
|
3208
|
+
netSavingsUsd,
|
|
3209
|
+
knownCostOracleSavingsUsd: known.oracleSavingsUsd,
|
|
3210
|
+
effectiveness: known.oracleSavingsUsd > 0 ? netSavingsUsd / known.oracleSavingsUsd : null,
|
|
3211
|
+
unknownCostDays: unknownCostDates.size
|
|
3212
|
+
}
|
|
3213
|
+
});
|
|
3214
|
+
}
|
|
3215
|
+
// src/api/cache-warming/routes.ts
|
|
3216
|
+
/**
|
|
3217
|
+
* Create the cache warming routes: its savings for the System page, and
|
|
3218
|
+
* admin-only routes that re-fill the savings from history and show and close
|
|
3219
|
+
* the breakers.
|
|
3220
|
+
*
|
|
3221
|
+
* A breaker stops warming for every Conversation, so only a Junior admin can
|
|
3222
|
+
* close one before it closes by itself. A re-fill replaces counters that
|
|
3223
|
+
* everyone sees, so only a Junior admin can start one.
|
|
3224
|
+
*/
|
|
3225
|
+
function createCacheWarmingRoutes() {
|
|
3226
|
+
const app = new Hono();
|
|
3227
|
+
app.get("/savings", validateRequest("query", cacheWarmingSavingsQuerySchema, "Invalid query parameters."), async (context) => jsonResponse(cacheWarmingSavingsReportSchema, await readCacheWarmingSavings(context.req.valid("query").days)));
|
|
3228
|
+
app.get("/savings/refill", requireAdmin, async () => jsonResponse(cacheWarmingSavingsRefillResponseSchema, { refill: await readSavingsRefill() }));
|
|
3229
|
+
app.post("/savings/refill", requireAdmin, async () => {
|
|
3230
|
+
const { started, refill } = await startSavingsRefill();
|
|
3231
|
+
return jsonResponse(cacheWarmingSavingsRefillResponseSchema, { refill }, { status: started ? 202 : 409 });
|
|
3232
|
+
});
|
|
3233
|
+
app.get("/breakers", requireAdmin, async () => jsonResponse(cacheWarmingBreakerListSchema, { breakers: await breakerStates(await connectedState(), [botConfig.modelId, ...botConfig.refusalFallbackModelId ? [botConfig.refusalFallbackModelId] : []]) }));
|
|
3234
|
+
app.delete("/breakers/:provider", requireAdmin, validateRequest("param", cacheWarmingBreakerParamsSchema, "Invalid provider."), async (context) => {
|
|
3235
|
+
const { provider } = context.req.valid("param");
|
|
3236
|
+
if (!await closeBreaker(await connectedState(), provider)) throwApiError(404, "Breaker not found.");
|
|
3237
|
+
logInfo("dashboard.cache_warming.breaker_closed", { "app.cache_warming.provider": provider });
|
|
3238
|
+
return jsonResponse(closeCacheWarmingBreakerResponseSchema, { closed: true });
|
|
3239
|
+
});
|
|
3240
|
+
return app;
|
|
3241
|
+
}
|
|
3166
3242
|
// src/chat/plugins/user-pages.ts
|
|
3167
3243
|
/**
|
|
3168
3244
|
* Runtime ownership for plugin user pages.
|
|
@@ -3678,25 +3754,6 @@ function createWorkspaceRoutes() {
|
|
|
3678
3754
|
});
|
|
3679
3755
|
return app;
|
|
3680
3756
|
}
|
|
3681
|
-
// src/api/reply-times.ts
|
|
3682
|
-
/**
|
|
3683
|
-
* Read the gap list that the cache warming planner reads for each segment.
|
|
3684
|
-
* The lists hold only gap lengths, so the report names no person or
|
|
3685
|
-
* Conversation.
|
|
3686
|
-
*/
|
|
3687
|
-
async function readReplyTimeSegments() {
|
|
3688
|
-
const state = getStateAdapter();
|
|
3689
|
-
await state.connect();
|
|
3690
|
-
const segments = await Promise.all(GAP_SEGMENTS.map(async (segment) => ({
|
|
3691
|
-
histogram: gapHistogramReport(await state.getList(segmentGapsKey(segment))),
|
|
3692
|
-
segment
|
|
3693
|
-
})));
|
|
3694
|
-
return replyTimeSegmentsReportSchema.parse({
|
|
3695
|
-
generatedAt: (/* @__PURE__ */ new Date()).toISOString(),
|
|
3696
|
-
minSamples: 20,
|
|
3697
|
-
segments
|
|
3698
|
-
});
|
|
3699
|
-
}
|
|
3700
3757
|
// src/api/stats.ts
|
|
3701
3758
|
/** Read the last 90 days of named daily counters. */
|
|
3702
3759
|
async function readStatsReport() {
|
|
@@ -3746,7 +3803,7 @@ function readDescriptionText(home) {
|
|
|
3746
3803
|
}
|
|
3747
3804
|
/** Read discovered skills for runtime diagnostics and the Automation editor. */
|
|
3748
3805
|
async function readSkillReports() {
|
|
3749
|
-
const { discoverSkills } = await import("./skills-
|
|
3806
|
+
const { discoverSkills } = await import("./skills-C16fz60Z.js").then((n) => n.o);
|
|
3750
3807
|
const skills = await discoverSkills();
|
|
3751
3808
|
return skillReportsSchema.parse(skills.map((skill) => ({
|
|
3752
3809
|
name: skill.name,
|
|
@@ -3760,7 +3817,7 @@ async function readSkillReports() {
|
|
|
3760
3817
|
* what the skill tells Junior. Returns null when no skill has that name.
|
|
3761
3818
|
*/
|
|
3762
3819
|
async function readSkillDetailReport(name) {
|
|
3763
|
-
const { discoverSkills, findSkillByName, parseSkillFile } = await import("./skills-
|
|
3820
|
+
const { discoverSkills, findSkillByName, parseSkillFile } = await import("./skills-C16fz60Z.js").then((n) => n.o);
|
|
3764
3821
|
const skill = findSkillByName(name, await discoverSkills());
|
|
3765
3822
|
if (!skill) return null;
|
|
3766
3823
|
const parsed = parseSkillFile(await fs.readFile(path.join(skill.skillPath, "SKILL.md"), "utf8"), skill.name);
|
|
@@ -3775,7 +3832,7 @@ async function readSkillDetailReport(name) {
|
|
|
3775
3832
|
}
|
|
3776
3833
|
/** Read safe configured plugin metadata for authenticated runtime diagnostics. */
|
|
3777
3834
|
async function readPlugins() {
|
|
3778
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
3835
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-Dss0lSV6.js").then((n) => n.t);
|
|
3779
3836
|
return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
3780
3837
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
3781
3838
|
description: plugin.manifest.description,
|
|
@@ -3787,7 +3844,7 @@ async function readPlugins() {
|
|
|
3787
3844
|
async function readRuntimeInfoReport() {
|
|
3788
3845
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
3789
3846
|
import("./package-discovery-DJhGdS4c.js").then((n) => n.r),
|
|
3790
|
-
import("./catalog-runtime-
|
|
3847
|
+
import("./catalog-runtime-Dss0lSV6.js").then((n) => n.t),
|
|
3791
3848
|
readPlugins(),
|
|
3792
3849
|
readSkillReports()
|
|
3793
3850
|
]);
|
|
@@ -3804,7 +3861,7 @@ async function readRuntimeInfoReport() {
|
|
|
3804
3861
|
/** Read sanitized operational summaries contributed by plugins. */
|
|
3805
3862
|
async function readPluginOperationalReportFeed() {
|
|
3806
3863
|
const nowMs = Date.now();
|
|
3807
|
-
const { getPluginOperationalReports } = await import("./projection-
|
|
3864
|
+
const { getPluginOperationalReports } = await import("./projection-CIBwgD3s.js").then((n) => n.er);
|
|
3808
3865
|
return pluginOperationalReportFeedSchema.parse({
|
|
3809
3866
|
source: "plugins",
|
|
3810
3867
|
generatedAt: new Date(nowMs).toISOString(),
|
|
@@ -3826,7 +3883,6 @@ function createJuniorApi(options = {}) {
|
|
|
3826
3883
|
});
|
|
3827
3884
|
app.get("/api/plugin-reports", async () => jsonResponse(pluginOperationalReportFeedSchema, await readPluginOperationalReportFeed()));
|
|
3828
3885
|
app.get("/api/stats", async () => jsonResponse(statsReportSchema, await readStatsReport()));
|
|
3829
|
-
app.get("/api/reply-times", async () => jsonResponse(replyTimeSegmentsReportSchema, await readReplyTimeSegments()));
|
|
3830
3886
|
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" } }));
|
|
3831
3887
|
const queue = options.conversationWorkQueue ?? getVercelConversationWorkQueue();
|
|
3832
3888
|
app.route("/api/conversations", createConversationRoutes({
|
|
@@ -3842,6 +3898,7 @@ function createJuniorApi(options = {}) {
|
|
|
3842
3898
|
app.route("/api/notifications", createNotificationRoutes());
|
|
3843
3899
|
app.route("/api/personal-tokens", createPersonalTokenRoutes());
|
|
3844
3900
|
app.route("/api/service-accounts", createServiceAccountRoutes());
|
|
3901
|
+
app.route("/api/cache-warming", createCacheWarmingRoutes());
|
|
3845
3902
|
app.route("/api/images", createImageRoutes());
|
|
3846
3903
|
app.route("/api/objects", createObjectRoutes());
|
|
3847
3904
|
app.route("/api/people", createPeopleRoutes());
|
|
@@ -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-BdsCzytP.js";
|
|
3
|
+
import "./schema-BIFM-U1a.js";
|
|
4
4
|
import { n as JuniorPluginSet } from "./plugins-B_0Cr0MO.js";
|
|
5
5
|
import "./sentry-DrKC2NeM.js";
|
|
6
6
|
import { Hono } from "hono";
|
|
@@ -11,12 +11,12 @@ import "ai";
|
|
|
11
11
|
import "drizzle-orm";
|
|
12
12
|
import { Destination, OwnedObjectAnnotation, PluginRegistration, Source, User } from "@sentry/junior-plugin-api";
|
|
13
13
|
import "@earendil-works/pi-agent-core";
|
|
14
|
+
import { Message, StateAdapter } from "chat";
|
|
14
15
|
import "@earendil-works/pi-ai";
|
|
15
16
|
import "@modelcontextprotocol/sdk/client/auth.js";
|
|
16
17
|
import { Client } from "@modelcontextprotocol/sdk/client";
|
|
17
18
|
import "@sinclair/typebox";
|
|
18
19
|
import { SlackAdapter } from "@chat-adapter/slack";
|
|
19
|
-
import { Message, StateAdapter } from "chat";
|
|
20
20
|
interface BotModelConfig {
|
|
21
21
|
/** Model that runs every agent Turn. */
|
|
22
22
|
modelId?: string;
|
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-BpY3wtRP.js";
|
|
2
2
|
import { i as defineJuniorPlugins, n as JuniorPluginSet, r as JuniorPluginSetOptions, t as JuniorPluginInput } from "./plugins-B_0Cr0MO.js";
|
|
3
3
|
import { t as JUNIOR_VERSION } from "./version-Cc2OFd9G.js";
|
|
4
4
|
export { JUNIOR_VERSION, JuniorApp, JuniorAppOptions, type JuniorDashboardOptions, type JuniorPluginInput, type JuniorPluginSet, type JuniorPluginSetOptions, createApp, defineJuniorPlugins };
|