@sentry/junior 0.304.0 → 0.306.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-B1IpoELr.js → adapter-context-CnY-i32r.js} +2 -2
- package/dist/{admin-BnVFGo_z.js → admin-BLLdLnXh.js} +2 -2
- package/dist/{agent-runner-CoEeZSRh.js → agent-runner-BaLjEjPR.js} +312 -204
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +7 -8
- package/dist/api.d.ts +19 -4
- package/dist/api.js +137 -40
- package/dist/{app-Cs157Zc5.d.ts → app-DvYbM9UD.d.ts} +2 -2
- package/dist/app.d.ts +1 -1
- package/dist/app.js +489 -445
- package/dist/{background-compaction-queue-WLPNSF_b.js → background-compaction-queue-D2wzxtGU.js} +7 -3
- package/dist/{briefs-CagVVefw.js → briefs-DvyzXfrF.js} +3 -3
- package/dist/{catalog-runtime-B8ZXvXWm.js → catalog-runtime-B1R-nHd3.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 +5 -5
- package/dist/cli/upgrade.d.ts +1 -1
- package/dist/cli/upgrade.js +3 -3
- package/dist/{config-DdO1BNcw.js → config-DUD-zMvp.js} +111 -13
- package/dist/{connections-D20kp0j5.js → connections-CDhsqPcC.js} +6 -6
- package/dist/{continue-in-slack-BKEVMBj1.js → continue-in-slack-BXQizz9o.js} +5 -5
- package/dist/{conversation-BOqdRtUx.js → conversation--f85g4zL.js} +132 -132
- package/dist/{conversation-feed-CgpgP7yi.js → conversation-feed-BNs9KiqC.js} +1 -1
- package/dist/{conversation-privacy-L1SK_v0V.js → conversation-privacy-YE54gMN8.js} +1 -1
- package/dist/{conversation-turn-BptVJylj.js → conversation-turn-BzdmrHb0.js} +22 -40
- package/dist/{credential-sync-D1J1CGzL.js → credential-sync-Cdm-e1vJ.js} +14 -13
- package/dist/{db-EKJnkrIb.js → db-DV2ZUb1Y.js} +90 -11
- package/dist/{db-zbN5ZV_o.d.ts → db-pH357Dkt.d.ts} +1 -1
- package/dist/{executor-CoIZmFK8.js → executor-CjNhwwnj.js} +47 -4
- package/dist/{history-m2-ceTTX.js → history-N7IVbUom.js} +5 -1
- package/dist/{install-BT2Pf6HP.js → install-DbD7C5td.js} +2 -2
- package/dist/instrumentation.js +2 -2
- package/dist/{lineage-C5DGQCS_.js → lineage-BFdIPb3o.js} +2 -2
- package/dist/{logging-QSZuMcvo.js → logging-oYpJYr-S.js} +1 -1
- package/dist/{message-TtxftRHj.js → message-BBPcMKJY.js} +8 -8
- package/dist/{model-input-BHXfA29g.js → model-input-DYYF3a8B.js} +3 -3
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +4 -4
- package/dist/{oauth-callback-server-B0enqHtZ.js → oauth-callback-server-C7Q987su.js} +2 -2
- package/dist/{projection-CNKK7doO.js → projection-CWXDE0f6.js} +7740 -6165
- package/dist/{prompt-DSjhoKu5.js → prompt-P3eRqO8C.js} +15 -7
- package/dist/{queue-CDxkit82.js → queue-7FSijgqG.js} +4 -4
- package/dist/{registry-DBDNUUmz.js → registry-1pzXmplY.js} +1 -1
- package/dist/{resolve-CQLhMWSu.js → resolve-n87oXY-d.js} +3 -3
- package/dist/{result-B-pauj42.js → result-BmF9v9bv.js} +9 -9
- package/dist/{runner-B3KxKks5.js → runner-4j7ZsxP5.js} +13 -15
- package/dist/{sandbox-egress-signals-DJJX9ClG.js → sandbox-egress-signals-BRQI8HvT.js} +1 -1
- package/dist/{automation-CuA3yEcD.js → schedule-CHPWQn-x.js} +347 -5
- package/dist/{schema-CKcu-IK6.d.ts → schema-CVbIjrF3.d.ts} +71 -1
- package/dist/{schema-Bx0Mlo32.js → schema-D7iIEh6t.js} +52 -6
- package/dist/{service-account-DQLqkSVv.js → service-account-BDQ9xzta.js} +3 -3
- package/dist/{service-account-2HmlNPvy.js → service-account-DzQiOmqa.js} +5 -5
- package/dist/{session-stop-DEeZKqbX.js → session-stop-BQxgHR4X.js} +919 -168
- package/dist/{skills-2UrD7JkN.js → skills-CPf4vNuC.js} +2 -2
- package/dist/{slack-conversation-unfurl-Dd129Uov.js → slack-conversation-unfurl-B1KEptUg.js} +10 -9
- package/dist/{spawn-eMho9HDJ.js → spawn-CjGddiAU.js} +6 -6
- package/dist/{state-Bveuc4Zh.js → state-9wfj6aSD.js} +4 -4
- package/dist/{stop-D_ltJLDS.js → stop-CsQGuN5n.js} +62 -118
- package/dist/{store-COeYnPL_.js → store-Dz3YZ7gQ.js} +5 -5
- package/dist/{task-queue-CBIDXZpV.js → task-queue-CFlrJguF.js} +3 -3
- package/dist/{task-runner-CJF7zIJL.js → task-runner-frzlUvFD.js} +8 -9
- package/dist/{thread-context-Cg0jt0aE.js → thread-context-C4QuZlM8.js} +8 -91
- package/dist/turn-session-routing-BXaubz2w.js +244 -0
- package/dist/{turn-user-message-tcom1RYd.js → turn-user-message-DNC0eRZ7.js} +3 -3
- package/dist/users-XCCKn3xW.js +181 -0
- package/dist/{validation-EU91JwIT.js → validation-L5fdjmFX.js} +1 -1
- package/dist/{version-BYRPhY5G.js → version-BFmuwgxP.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-Cf8ISkAc.js → viewer-DKOeHpv3.js} +3 -3
- package/dist/{warmup-TgY4S1vx.js → warmup-mTMIatCV.js} +271 -279
- package/dist/{web-message-id-lNodcCOI.js → web-message-id-CUaSiGme.js} +16 -1
- package/dist/{worker-C6Uq4OKD.js → worker-Bz4KNxjI.js} +7 -7
- package/migrations/0114_plan_items.sql +22 -0
- package/migrations/meta/0114_snapshot.json +5203 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +6 -6
- package/dist/schedule-cP0AACm1.js +0 -344
- package/dist/turn-session-routing-CaY3Tp8m.js +0 -1792
package/dist/api/schema.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as automationEditSchema, $i as ConversationReportEvent, $n as conversationSubscriptionBodySchema, $r as conversationPendingMessageDeliverySchema, $t as testNotificationResponseSchema, A as runtimeInfoReportSchema, Aa as annotationCard, Ai as MAX_OBJECT_LINKS, An as PersonalSpendReport, Ar as conversationStatsReportSchema, At as workspaceSchema, B as AutomationExecutionList, Ba as isEmptyUserInputAnswer, Bi as AcceptedConversationMessage, Bn as ConversationChildAgentsReport, Br as conversationFeedQuerySchema, Bt as disconnectServiceAccountResponseSchema, C as healthReportSchema, Ca as createConversationBodySchema, Ci as codeRepositoryReportSchema, Cn as ActorDirectoryWindows, Cr as StopConversationTurnResponse, Ct as WorkspaceReport, D as pluginPackageContentReportSchema, Da as conversationTurnFailureCodeSchema, Di as DailyConversationActivity, Dn as ActorWindowMetrics, Dr as ConversationStatsReport, Dt as workspaceListSchema, E as pluginPackageContentItemReportSchema, Ea as forkConversationResponseSchema, Ei as conversationChildAgentTotalsSchema, En as ActorTotalsReport, Er as ConversationStatsItem, Et as workspaceBodySchema, F as StatsReport, Fa as USER_INPUT_NOTE, Fi as objectLinksReportSchema, Fn as ConversationWatch, Fr as archiveConversationResponseSchema, Ft as createdPersonalTokenSchema, G as AutomationRunList, Ga as InputFile, Gi as ConversationAgentTreeNode, Gn as RenameConversationResponse, Gr as ConversationPendingMessageDelivery, Gt as CacheWarmingSavingsRefill, H as AutomationList, Ha as webMessageId, Hi as CONVERSATION_DETAIL_VERSION_HEADER, Hn as conversationChildAgentsReportSchema, Hr as CancelConversationPendingMessagesBody, Ht as serviceAccountParamsSchema, I as statSchema, Ia as UserInputAnswer, Ii as conversationObjectCard, In as ConversationWatchesReport, Ir as archiveDoneConversationsResponseSchema, It as personalTokenListSchema, J as AutomationSummary, Ja as MessageAttachment, Ji as ConversationDetailReport, Jn as CONVERSATION_OUTLINE_TEXT_LENGTH, Jr as SteerConversationPendingMessagesResponse, Jt as cacheWarmingSavingsRefillResponseSchema, K as AutomationRunWindows, Ka as MAX_ATTACHMENT_BYTES, Ki as ConversationAuxiliaryCosts, Kn as renameConversationBodySchema, Kr as ConversationPendingMessagesReport, Kt as CacheWarmingSavingsReport, L as statsReportSchema, La as UserInputField, Li as messageObjectCard, Ln as conversationWatchSchema, Lr as conversationAutoArchiveSchema, Lt as personalTokenMetadataSchema, M as skillReportSchema, Ma as resolveMessageCards, Mi as attachObjectLinkBodySchema, Mn as actorProfileReportSchema, Mr as ArchiveConversationResponse, Mt as userCustomizationSchema, N as skillReportsSchema, Na as AutomationTask, Ni as attachObjectLinkResponseSchema, Nn as personParamsSchema, Nr as ConversationAutoArchive, Nt as PersonalTokenMetadata, O as pluginSchema, Oa as conversationTurnFailureReasonSchema, Oi as dailyConversationActivitySchema, On as PeopleActivityDayReport, Or as GuardianMetricDay, Ot as workspaceParamsSchema, P as StatReport, Pa as AutomationCard, Pi as objectLinksQuerySchema, Pn as personalSpendReportSchema, Pr as archiveConversationBodySchema, Pt as createPersonalTokenBodySchema, Q as automationEditErrorSchema, Qi as ConversationParams, Qn as ConversationSubscriptionResponse, Qr as conversationPendingAuthorizationSchema, Qt as notificationSettingsSchema, R as AutomationEdit, Ra as UserInputRequest, Ri as personObjectCard, Rn as conversationWatchesReportSchema, Rr as ConversationFeed, Rt as personalTokenParamsSchema, S as SkillReports, Sa as conversationSummaryReportSchema, Si as codeRepositoryQuerySchema, Sn as ActorDirectoryReport, Sr as continueConversationInSlackResponseSchema, St as WorkspaceListReport, T as pluginOperationalReportSchema, Ta as forkConversationBodySchema, Ti as ConversationChildAgentTotals, Tn as ActorSummaryReport, Tr as ConversationMetricDay, Tt as deleteWorkspaceResponseSchema, U as AutomationListQuery, Ua as AGENT_REPLY_EVENT_TYPE, Ui as CONVERSATION_VERSION_HEADER, Un as CONVERSATION_TITLE_MAX_LENGTH, Ur as CancelConversationPendingMessagesResponse, Ut as serviceAccountSchema, V as AutomationExecutionStatusDay, Va as normalizeUserInputAnswer, Vi as ActorIdentity, Vn as conversationChildAgentSchema, Vr as conversationFeedSchema, Vt as serviceAccountListSchema, W as AutomationRun, Wa as isAgentInvocationResultEventType, Wi as ConversationActivityPreview, Wn as RenameConversationBody, Wr as ConversationPendingMessage, Wt as startServiceAccountSignInResponseSchema, X as AutomationVersionList, Xa as INPUT_IMAGE_TYPES, Xi as ConversationEventPage, Xn as conversationOutlineSchema, Xr as cancelConversationPendingMessagesResponseSchema, Xt as closeCacheWarmingBreakerResponseSchema, Y as AutomationUpdate, Ya as INLINE_VIDEO_TYPES, Yi as ConversationEventHistory, Yn as ConversationOutline, Yr as cancelConversationPendingMessagesBodySchema, Yt as cacheWarmingSavingsReportSchema, Z as ListedAutomationVersion, Zi as ConversationModelUsage, Zn as ConversationSubscriptionBody, Zr as conversationDetailWithMailboxReportSchema, Zt as NotificationSettings, _ as PluginPackageContentReport, _a as conversationEventPageSchema, _i as codeChangeSummaryReportSchema, _n as locationActivityDayReportSchema, _r as ConversationReadPosition, _t as automationVersionParamsSchema, a as ReviewItemPayload, aa as ConversationSurface, ai as AttachmentUpload, an as connectionParamsSchema, ar as PinConversationBody, at as automationListQuerySchema, b as SkillDetailReport, ba as conversationReportEventDataSchema, bi as codePersonReportSchema, bn as locationParamsSchema, br as ContinueConversationInSlackResponse, bt as scheduledAutomationSummarySchema, c as reviewItemListSchema, ca as ConversationUsage, ci as createAttachmentUploadBodySchema, cn as startConnectionResponseSchema, cr as ReorderPinnedConversationsResponse, ct as automationRunListSchema, d as ReviewItemChangeRecord, da as acceptedConversationMessageSchema, di as CodeOverviewReport, dn as LocationActivityDayReport, dr as reorderPinnedConversationsBodySchema, dt as automationScheduleIntentSchema, ea as ConversationReportEventData, ei as conversationPendingMessageSchema, en as DEFAULT_NOTIFICATION_SCHEDULE, er as conversationSubscriptionResponseSchema, et as automationEventCatalogSchema, f as HealthReport, fa as conversationActivityPreviewSchema, fi as CodePersonReport, fn as LocationActorSummaryReport, fr as reorderPinnedConversationsResponseSchema, ft as automationSchedulePreviewSchema, g as PluginPackageContentItemReport, ga as conversationEventHistorySchema, gi as codeActivityDaySchema, gn as LocationSummaryReport, gr as conversationCatchUpSchema, gt as automationVersionListSchema, h as PluginOperationalReportFeed, ha as conversationDetailReportSchema, hi as IDLE_CHANGE_DAYS, hn as LocationParams, hr as conversationCatchUpBodySchema, ht as automationVersionActivateSchema, i as ReviewItemActionBody, ia as ConversationSummaryReport, ii as steerConversationPendingMessagesResponseSchema, in as connectionListSchema, ir as conversationDeliveryResponseSchema, it as automationExecutionStatusSchema, j as skillDetailReportSchema, ja as messageCardText, ji as ObjectLinksReport, jn as actorDirectoryReportSchema, jr as ArchiveConversationBody, jt as USER_CUSTOMIZATION_MAX_CHARS, k as pluginsSchema, ka as MessageCard, ki as AttachObjectLinkResponse, kn as PersonParams, kr as GuardianStats, kt as workspaceRepoSchema, l as reviewItemSchema, la as CreateConversationBody, li as CodeActivityDay, ln as ApiError, lr as pinConversationBodySchema, lt as automationRunSchema, m as PluginOperationalReport, ma as conversationDetailQuerySchema, mi as CodeRepositorySummary, mn as LocationDirectoryReport, mr as ConversationCatchUpBody, mt as automationUpdateSchema, n as Versions, na as ConversationReportStatus, ni as conversationUnchangedDetailWithMailboxSchema, nn as isWithinNotificationSchedule, nr as ConversationDeliveryResponse, nt as automationExecutionSchema, o as reviewItemActionSchema, oa as ConversationTurnFailureCode, oi as CreateAttachmentUploadBody, on as connectionSchema, or as PinConversationResponse, ot as automationListSchema, p as Plugin, pa as conversationAuxiliaryCostsSchema, pi as CodeRepositoryReport, pn as LocationDetailReport, pr as ConversationCatchUp, pt as automationSummarySchema, q as AutomationScheduleIntent, qa as MAX_INPUT_ATTACHMENTS, qi as ConversationCost, qn as renameConversationResponseSchema, qr as SteerConversationPendingMessagesBody, qt as cacheWarmingBreakerListSchema, r as versionsSchema, ra as ConversationSourceTask, ri as steerConversationPendingMessagesBodySchema, rn as notificationScheduleSchema, rr as conversationDeliveryBodySchema, rt as automationExecutionStatusDaySchema, s as reviewItemCountSchema, sa as ConversationTurnFailureReason, si as attachmentUploadSchema, sn as disconnectConnectionResponseSchema, sr as ReorderPinnedConversationsBody, st as automationParamsSchema, t as OwnedObjectAnnotation, ta as ConversationReportMessageEvent, ti as conversationPendingMessagesReportSchema, tn as NotificationSchedule, tr as ConversationDeliveryBody, tt as automationExecutionListSchema, u as reviewItemWaitingConversationsSchema, ua as CreateConversationMessageBody, ui as CodeChangeSummaryReport, un as apiErrorSchema, ur as pinConversationResponseSchema, ut as automationRunWindowsSchema, v as Plugins, va as conversationEventsQuerySchema, vi as codeChangeSummarySchema, vn as locationDetailReportSchema, vr as conversationReadPositionSchema, vt as automationVersionSchema, w as pluginOperationalReportFeedSchema, wa as createConversationMessageBodySchema, wi as codeRepositorySummarySchema, wn as ActorProfileReport, wr as stopConversationTurnResponseSchema, wt as baselineSnapshotSchema, x as SkillReport, xa as conversationReportEventSchema, xi as codeRepositoryParamsSchema, xn as ActorActivityDayReport, xr as continueConversationInSlackBodySchema, xt as BaselineSnapshotReport, y as RuntimeInfoReport, ya as conversationParamsSchema, yi as codeOverviewReportSchema, yn as locationDirectoryReportSchema, yr as ContinueConversationInSlackBody, yt as eventAutomationSummarySchema, z as AutomationExecution, za as buttonUserInputField, zi as webPageObjectCard, zn as ConversationChildAgent, zr as ConversationFeedItem, zt as revokePersonalTokenResponseSchema } from "../schema-CKcu-IK6.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, IDLE_CHANGE_DAYS, 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, codeRepositoryQuerySchema, 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 };
|
|
1
|
+
import { $ as automationEditSchema, $a as MAX_INPUT_ATTACHMENTS, $i as ConversationCost, $n as renameConversationResponseSchema, $r as SteerConversationPendingMessagesBody, $t as testNotificationResponseSchema, A as runtimeInfoReportSchema, Aa as createConversationMessageBodySchema, Ai as codeRepositorySummarySchema, An as PersonalSpendReport, Ar as stopConversationTurnResponseSchema, At as workspaceSchema, B as AutomationExecutionList, Ba as AutomationCard, Bi as objectLinksQuerySchema, Bn as planItemStatusBodySchema, Br as archiveConversationBodySchema, Bt as disconnectServiceAccountResponseSchema, C as healthReportSchema, Ca as conversationEventPageSchema, Ci as codeChangeSummaryReportSchema, Cn as ActorDirectoryWindows, Cr as ConversationReadPosition, Ct as WorkspaceReport, D as pluginPackageContentReportSchema, Da as conversationReportEventSchema, Di as codeRepositoryParamsSchema, Dn as ActorWindowMetrics, Dr as continueConversationInSlackBodySchema, Dt as workspaceListSchema, E as pluginPackageContentItemReportSchema, Ea as conversationReportEventDataSchema, Ei as codePersonReportSchema, En as ActorTotalsReport, Er as ContinueConversationInSlackResponse, Et as workspaceBodySchema, F as StatsReport, Fa as MessageCard, Fi as AttachObjectLinkResponse, Fn as ConversationPlanItem, Fr as GuardianStats, Ft as createdPersonalTokenSchema, G as AutomationRunList, Ga as buttonUserInputField, Gi as webPageObjectCard, Gn as ConversationChildAgent, Gr as ConversationFeedItem, Gt as CacheWarmingSavingsRefill, H as AutomationList, Ha as UserInputAnswer, Hi as conversationObjectCard, Hn as ConversationWatchesReport, Hr as archiveDoneConversationsResponseSchema, Ht as serviceAccountParamsSchema, I as statSchema, Ia as annotationCard, Ii as MAX_OBJECT_LINKS, In as ConversationPlanReport, Ir as conversationStatsReportSchema, It as personalTokenListSchema, J as AutomationSummary, Ja as webMessageId, Ji as CONVERSATION_DETAIL_VERSION_HEADER, Jn as conversationChildAgentsReportSchema, Jr as CancelConversationPendingMessagesBody, Jt as cacheWarmingSavingsRefillResponseSchema, K as AutomationRunWindows, Ka as isEmptyUserInputAnswer, Ki as AcceptedConversationMessage, Kn as ConversationChildAgentsReport, Kr as conversationFeedQuerySchema, Kt as CacheWarmingSavingsReport, L as statsReportSchema, La as messageCardText, Li as ObjectLinksReport, Ln as PlanItemStatusBody, Lr as ArchiveConversationBody, Lt as personalTokenMetadataSchema, M as skillReportSchema, Ma as forkConversationResponseSchema, Mi as conversationChildAgentTotalsSchema, Mn as actorProfileReportSchema, Mr as ConversationStatsItem, Mt as userCustomizationSchema, N as skillReportsSchema, Na as conversationTurnFailureCodeSchema, Ni as DailyConversationActivity, Nn as personParamsSchema, Nr as ConversationStatsReport, Nt as PersonalTokenMetadata, O as pluginSchema, Oa as conversationSummaryReportSchema, Oi as codeRepositoryQuerySchema, On as PeopleActivityDayReport, Or as continueConversationInSlackResponseSchema, Ot as workspaceParamsSchema, P as StatReport, Pa as conversationTurnFailureReasonSchema, Pi as dailyConversationActivitySchema, Pn as personalSpendReportSchema, Pr as GuardianMetricDay, Pt as createPersonalTokenBodySchema, Q as automationEditErrorSchema, Qa as MAX_ATTACHMENT_BYTES, Qi as ConversationAuxiliaryCosts, Qn as renameConversationBodySchema, Qr as ConversationPendingMessagesReport, Qt as notificationSettingsSchema, R as AutomationEdit, Ra as resolveMessageCards, Ri as attachObjectLinkBodySchema, Rn as conversationPlanItemSchema, Rr as ArchiveConversationResponse, Rt as personalTokenParamsSchema, S as SkillReports, Sa as conversationEventHistorySchema, Si as codeActivityDaySchema, Sn as ActorDirectoryReport, Sr as conversationCatchUpSchema, St as WorkspaceListReport, T as pluginOperationalReportSchema, Ta as conversationParamsSchema, Ti as codeOverviewReportSchema, Tn as ActorSummaryReport, Tr as ContinueConversationInSlackBody, Tt as deleteWorkspaceResponseSchema, U as AutomationListQuery, Ua as UserInputField, Ui as messageObjectCard, Un as conversationWatchSchema, Ur as conversationAutoArchiveSchema, Ut as serviceAccountSchema, V as AutomationExecutionStatusDay, Va as USER_INPUT_NOTE, Vi as objectLinksReportSchema, Vn as ConversationWatch, Vr as archiveConversationResponseSchema, Vt as serviceAccountListSchema, W as AutomationRun, Wa as UserInputRequest, Wi as personObjectCard, Wn as conversationWatchesReportSchema, Wr as ConversationFeed, Wt as startServiceAccountSignInResponseSchema, X as AutomationVersionList, Xa as isAgentInvocationResultEventType, Xi as ConversationActivityPreview, Xn as RenameConversationBody, Xr as ConversationPendingMessage, Xt as closeCacheWarmingBreakerResponseSchema, Y as AutomationUpdate, Ya as AGENT_REPLY_EVENT_TYPE, Yi as CONVERSATION_VERSION_HEADER, Yn as CONVERSATION_TITLE_MAX_LENGTH, Yr as CancelConversationPendingMessagesResponse, Yt as cacheWarmingSavingsReportSchema, Z as ListedAutomationVersion, Za as InputFile, Zi as ConversationAgentTreeNode, Zn as RenameConversationResponse, Zr as ConversationPendingMessageDelivery, Zt as NotificationSettings, _ as PluginPackageContentReport, _a as acceptedConversationMessageSchema, _i as CodeOverviewReport, _n as locationActivityDayReportSchema, _r as reorderPinnedConversationsBodySchema, _t as automationVersionParamsSchema, a as ReviewItemPayload, aa as ConversationReportEvent, ai as conversationPendingMessageDeliverySchema, an as connectionParamsSchema, ar as conversationSubscriptionBodySchema, at as automationListQuerySchema, b as SkillDetailReport, ba as conversationDetailQuerySchema, bi as CodeRepositorySummary, bn as locationParamsSchema, br as ConversationCatchUpBody, bt as scheduledAutomationSummarySchema, c as reviewItemListSchema, ca as ConversationReportStatus, ci as conversationUnchangedDetailWithMailboxSchema, cn as startConnectionResponseSchema, cr as ConversationDeliveryResponse, ct as automationRunListSchema, d as ReviewItemChangeRecord, da as ConversationSurface, di as AttachmentUpload, dn as LocationActivityDayReport, dr as PinConversationBody, dt as automationScheduleIntentSchema, ea as ConversationDetailReport, ei as SteerConversationPendingMessagesResponse, en as DEFAULT_NOTIFICATION_SCHEDULE, eo as MessageAttachment, er as CONVERSATION_OUTLINE_TEXT_LENGTH, et as automationEventCatalogSchema, f as HealthReport, fa as ConversationTurnFailureCode, fi as CreateAttachmentUploadBody, fn as LocationActorSummaryReport, fr as PinConversationResponse, ft as automationSchedulePreviewSchema, g as PluginPackageContentItemReport, ga as CreateConversationMessageBody, gi as CodeChangeSummaryReport, gn as LocationSummaryReport, gr as pinConversationResponseSchema, gt as automationVersionListSchema, h as PluginOperationalReportFeed, ha as CreateConversationBody, hi as CodeActivityDay, hn as LocationParams, hr as pinConversationBodySchema, ht as automationVersionActivateSchema, i as ReviewItemActionBody, ia as ConversationParams, ii as conversationPendingAuthorizationSchema, in as connectionListSchema, ir as ConversationSubscriptionResponse, it as automationExecutionStatusSchema, j as skillDetailReportSchema, ja as forkConversationBodySchema, ji as ConversationChildAgentTotals, jn as actorDirectoryReportSchema, jr as ConversationMetricDay, jt as USER_CUSTOMIZATION_MAX_CHARS, k as pluginsSchema, ka as createConversationBodySchema, ki as codeRepositoryReportSchema, kn as PersonParams, kr as StopConversationTurnResponse, kt as workspaceRepoSchema, l as reviewItemSchema, la as ConversationSourceTask, li as steerConversationPendingMessagesBodySchema, ln as ApiError, lr as conversationDeliveryBodySchema, lt as automationRunSchema, m as PluginOperationalReport, ma as ConversationUsage, mi as createAttachmentUploadBodySchema, mn as LocationDirectoryReport, mr as ReorderPinnedConversationsResponse, mt as automationUpdateSchema, n as Versions, na as ConversationEventPage, ni as cancelConversationPendingMessagesResponseSchema, nn as isWithinNotificationSchedule, no as INPUT_IMAGE_TYPES, nr as conversationOutlineSchema, nt as automationExecutionSchema, o as reviewItemActionSchema, oa as ConversationReportEventData, oi as conversationPendingMessageSchema, on as connectionSchema, or as conversationSubscriptionResponseSchema, ot as automationListSchema, p as Plugin, pa as ConversationTurnFailureReason, pi as attachmentUploadSchema, pn as LocationDetailReport, pr as ReorderPinnedConversationsBody, pt as automationSummarySchema, q as AutomationScheduleIntent, qa as normalizeUserInputAnswer, qi as ActorIdentity, qn as conversationChildAgentSchema, qr as conversationFeedSchema, qt as cacheWarmingBreakerListSchema, r as versionsSchema, ra as ConversationModelUsage, ri as conversationDetailWithMailboxReportSchema, rn as notificationScheduleSchema, rr as ConversationSubscriptionBody, rt as automationExecutionStatusDaySchema, s as reviewItemCountSchema, sa as ConversationReportMessageEvent, si as conversationPendingMessagesReportSchema, sn as disconnectConnectionResponseSchema, sr as ConversationDeliveryBody, st as automationParamsSchema, t as OwnedObjectAnnotation, ta as ConversationEventHistory, ti as cancelConversationPendingMessagesBodySchema, tn as NotificationSchedule, to as INLINE_VIDEO_TYPES, tr as ConversationOutline, tt as automationExecutionListSchema, u as reviewItemWaitingConversationsSchema, ua as ConversationSummaryReport, ui as steerConversationPendingMessagesResponseSchema, un as apiErrorSchema, ur as conversationDeliveryResponseSchema, ut as automationRunWindowsSchema, v as Plugins, va as conversationActivityPreviewSchema, vi as CodePersonReport, vn as locationDetailReportSchema, vr as reorderPinnedConversationsResponseSchema, vt as automationVersionSchema, w as pluginOperationalReportFeedSchema, wa as conversationEventsQuerySchema, wi as codeChangeSummarySchema, wn as ActorProfileReport, wr as conversationReadPositionSchema, wt as baselineSnapshotSchema, x as SkillReport, xa as conversationDetailReportSchema, xi as IDLE_CHANGE_DAYS, xn as ActorActivityDayReport, xr as conversationCatchUpBodySchema, xt as BaselineSnapshotReport, y as RuntimeInfoReport, ya as conversationAuxiliaryCostsSchema, yi as CodeRepositoryReport, yn as locationDirectoryReportSchema, yr as ConversationCatchUp, yt as eventAutomationSummarySchema, z as AutomationExecution, za as AutomationTask, zi as attachObjectLinkResponseSchema, zn as conversationPlanReportSchema, zr as ConversationAutoArchive, zt as revokePersonalTokenResponseSchema } from "../schema-CVbIjrF3.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 ConversationPlanItem, type ConversationPlanReport, 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, IDLE_CHANGE_DAYS, 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 PlanItemStatusBody, 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, codeRepositoryQuerySchema, 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, conversationPlanItemSchema, conversationPlanReportSchema, 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, planItemStatusBodySchema, 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,8 +1,7 @@
|
|
|
1
|
-
import { a as conversationTurnFailureReasonSchema, i as conversationTurnFailureCodeSchema } from "../history-
|
|
2
|
-
import { n as isWithinNotificationSchedule, r as notificationScheduleSchema, t as DEFAULT_NOTIFICATION_SCHEDULE } from "../schedule-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import { S as
|
|
6
|
-
import { C as
|
|
7
|
-
|
|
8
|
-
export { AGENT_REPLY_EVENT_TYPE, CONVERSATION_DETAIL_VERSION_HEADER, CONVERSATION_OUTLINE_TEXT_LENGTH, CONVERSATION_TITLE_MAX_LENGTH, CONVERSATION_VERSION_HEADER, DEFAULT_NOTIFICATION_SCHEDULE, IDLE_CHANGE_DAYS, 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, codeRepositoryQuerySchema, 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 };
|
|
1
|
+
import { a as conversationTurnFailureReasonSchema, i as conversationTurnFailureCodeSchema } from "../history-N7IVbUom.js";
|
|
2
|
+
import { C as automationVersionListSchema, D as scheduledAutomationSummarySchema, E as eventAutomationSummarySchema, S as automationVersionActivateSchema, T as automationVersionSchema, _ as automationRunWindowsSchema, a as automationEditSchema, b as automationSummarySchema, c as automationExecutionSchema, f as automationListQuerySchema, g as automationRunSchema, h as automationRunListSchema, i as automationEditErrorSchema, l as automationExecutionStatusDaySchema, m as automationParamsSchema, n as isWithinNotificationSchedule, o as automationEventCatalogSchema, p as automationListSchema, r as notificationScheduleSchema, s as automationExecutionListSchema, t as DEFAULT_NOTIFICATION_SCHEDULE, u as automationExecutionStatusSchema, v as automationScheduleIntentSchema, w as automationVersionParamsSchema, x as automationUpdateSchema, y as automationSchedulePreviewSchema } from "../schedule-CHPWQn-x.js";
|
|
3
|
+
import { C as createConversationMessageBodySchema, D as conversationChildAgentTotalsSchema, G as annotationCard, H as renameConversationResponseSchema, Q as MAX_INPUT_ATTACHMENTS, S as createConversationBodySchema, T as forkConversationResponseSchema, U as conversationReadPositionSchema, V as renameConversationBodySchema, X as resolveMessageCards, Z as MAX_ATTACHMENT_BYTES, a as conversationActivityPreviewSchema, c as conversationAuxiliaryCostsSchema, d as conversationEventHistorySchema, f as conversationEventPageSchema, g as conversationReportEventSchema, h as conversationReportEventDataSchema, l as conversationDetailQuerySchema, m as conversationParamsSchema, n as CONVERSATION_VERSION_HEADER, p as conversationEventsQuerySchema, q as messageCardText, r as acceptedConversationMessageSchema, t as CONVERSATION_DETAIL_VERSION_HEADER, u as conversationDetailReportSchema, w as forkConversationBodySchema, y as conversationSummaryReportSchema, z as CONVERSATION_TITLE_MAX_LENGTH } from "../conversation--f85g4zL.js";
|
|
4
|
+
import { D as isAgentInvocationResultEventType, O as apiErrorSchema, T as AGENT_REPLY_EVENT_TYPE, _ 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 } from "../web-message-id-CUaSiGme.js";
|
|
5
|
+
import { C as skillReportSchema, D as personObjectCard, E as messageObjectCard, O as webPageObjectCard, S as skillDetailReportSchema, T as conversationObjectCard, _ as pluginPackageContentItemReportSchema, a as cancelConversationPendingMessagesResponseSchema, b as pluginsSchema, c as conversationPendingMessageDeliverySchema, d as conversationUnchangedDetailWithMailboxSchema, f as steerConversationPendingMessagesBodySchema, g as pluginOperationalReportSchema, h as pluginOperationalReportFeedSchema, i as cancelConversationPendingMessagesBodySchema, l as conversationPendingMessageSchema, m as healthReportSchema, n as conversationFeedQuerySchema, o as conversationDetailWithMailboxReportSchema, p as steerConversationPendingMessagesResponseSchema, r as conversationFeedSchema, s as conversationPendingAuthorizationSchema, u as conversationPendingMessagesReportSchema, v as pluginPackageContentReportSchema, w as skillReportsSchema, x as runtimeInfoReportSchema, y as pluginSchema } from "../conversation-feed-BNs9KiqC.js";
|
|
6
|
+
import { $ as testNotificationResponseSchema, A as startServiceAccountSignInResponseSchema, At as objectLinksReportSchema, B as personParamsSchema, Bt as conversationSubscriptionResponseSchema, C as cacheWarmingSavingsRefillResponseSchema, Ct as conversationChildAgentsReportSchema, D as serviceAccountListSchema, Dt as attachObjectLinkBodySchema, E as disconnectServiceAccountResponseSchema, Et as MAX_OBJECT_LINKS, F as personalTokenParamsSchema, Ft as archiveConversationBodySchema, G as locationParamsSchema, Gt as reorderPinnedConversationsBodySchema, H as locationActivityDayReportSchema, Ht as conversationDeliveryResponseSchema, I as revokePersonalTokenResponseSchema, It as archiveConversationResponseSchema, Jt as conversationCatchUpSchema, Kt as reorderPinnedConversationsResponseSchema, L as actorDirectoryReportSchema, Lt as archiveDoneConversationsResponseSchema, M as createdPersonalTokenSchema, Mt as conversationStatsReportSchema, N as personalTokenListSchema, Nt as CONVERSATION_OUTLINE_TEXT_LENGTH, O as serviceAccountParamsSchema, Ot as attachObjectLinkResponseSchema, P as personalTokenMetadataSchema, Pt as conversationOutlineSchema, R as actorProfileReportSchema, Rt as conversationAutoArchiveSchema, St as conversationChildAgentSchema, T as closeCacheWarmingBreakerResponseSchema, Tt as continueConversationInSlackResponseSchema, U as locationDetailReportSchema, Ut as pinConversationBodySchema, V as personalSpendReportSchema, Vt as conversationDeliveryBodySchema, W as locationDirectoryReportSchema, Wt as pinConversationResponseSchema, X as notificationSettingsSchema, Xt as attachmentUploadSchema, Y as dailyConversationActivitySchema, Zt as createAttachmentUploadBodySchema, _t as conversationPlanReportSchema, a as baselineSnapshotSchema, at as IDLE_CHANGE_DAYS, b as cacheWarmingBreakerListSchema, bt as conversationWatchSchema, c as workspaceListSchema, ct as codeChangeSummarySchema, d as workspaceSchema, dt as codeRepositoryParamsSchema, et as connectionListSchema, f as reviewItemActionSchema, ft as codeRepositoryQuerySchema, g as reviewItemListSchema, gt as conversationPlanItemSchema, i as statsReportSchema, it as startConnectionResponseSchema, j as createPersonalTokenBodySchema, jt as stopConversationTurnResponseSchema, k as serviceAccountSchema, kt as objectLinksQuerySchema, l as workspaceParamsSchema, lt as codeOverviewReportSchema, m as reviewItemCountSchema, mt as codeRepositorySummarySchema, n as versionsSchema, nt as connectionSchema, o as deleteWorkspaceResponseSchema, ot as codeActivityDaySchema, pt as codeRepositoryReportSchema, qt as conversationCatchUpBodySchema, r as statSchema, rt as disconnectConnectionResponseSchema, s as workspaceBodySchema, st as codeChangeSummaryReportSchema, tt as connectionParamsSchema, u as workspaceRepoSchema, ut as codePersonReportSchema, v as reviewItemSchema, w as cacheWarmingSavingsReportSchema, wt as continueConversationInSlackBodySchema, xt as conversationWatchesReportSchema, y as reviewItemWaitingConversationsSchema, yt as planItemStatusBodySchema, zt as conversationSubscriptionBodySchema } from "../schema-D7iIEh6t.js";
|
|
7
|
+
export { AGENT_REPLY_EVENT_TYPE, CONVERSATION_DETAIL_VERSION_HEADER, CONVERSATION_OUTLINE_TEXT_LENGTH, CONVERSATION_TITLE_MAX_LENGTH, CONVERSATION_VERSION_HEADER, DEFAULT_NOTIFICATION_SCHEDULE, IDLE_CHANGE_DAYS, 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, codeRepositoryQuerySchema, 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, conversationPlanItemSchema, conversationPlanReportSchema, 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, planItemStatusBodySchema, 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
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
import { n as ConversationWorkQueue } from "./queue-CbEHUO0l.js";
|
|
2
|
-
import "./db-
|
|
2
|
+
import "./db-pH357Dkt.js";
|
|
3
3
|
import { Hono } from "hono";
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
import { User } from "@sentry/junior-plugin-api";
|
|
6
|
+
import "chat";
|
|
6
7
|
import "hono/utils/http-status";
|
|
7
8
|
/** Serialize a REST response only after it satisfies its declared schema. */
|
|
8
9
|
export declare function jsonResponse<TSchema extends z.ZodType>(schema: TSchema, value: z.input<TSchema>, init?: ResponseInit): Response;
|
|
@@ -17,10 +18,24 @@ type JuniorApiEnv = {
|
|
|
17
18
|
/** Resolve an active personal bearer token to its verified owner email. */
|
|
18
19
|
export declare function authenticatePersonalToken(token: string, now?: Date): Promise<string | undefined>;
|
|
19
20
|
/**
|
|
20
|
-
*
|
|
21
|
-
*
|
|
21
|
+
* Parse a value that must be an email, such as a sign-in or a verified email
|
|
22
|
+
* from a plugin. Return the normalized email and its domain, or undefined
|
|
23
|
+
* when the value is not a valid email.
|
|
22
24
|
*/
|
|
23
|
-
export declare function
|
|
25
|
+
export declare function parseEmail(value: unknown): {
|
|
26
|
+
email: string;
|
|
27
|
+
domain: string;
|
|
28
|
+
} | undefined;
|
|
29
|
+
/**
|
|
30
|
+
* Return whether a domain, such as the domain of a parsed email or Google's
|
|
31
|
+
* `hd` claim, is on the allowed domains. It only compares domains.
|
|
32
|
+
* `ifNoDomains` says what an empty list means: Slack authors allow every
|
|
33
|
+
* domain, and sign-ins allow none.
|
|
34
|
+
*/
|
|
35
|
+
export declare function isAllowedDomain(domain: string | undefined, options: {
|
|
36
|
+
allowedDomains: readonly string[];
|
|
37
|
+
ifNoDomains: "allow" | "deny";
|
|
38
|
+
}): boolean;
|
|
24
39
|
/** A user's dashboard settings: auto-archive and the UI choice. */
|
|
25
40
|
type UserSettings = {
|
|
26
41
|
autoArchiveDefault: boolean;
|
package/dist/api.js
CHANGED
|
@@ -1,32 +1,30 @@
|
|
|
1
|
-
import { V as escapeXml,
|
|
2
|
-
import { A as conversationKindFromRow, C as withConversationMutationLock, X as
|
|
3
|
-
import {
|
|
4
|
-
import { C as createConversationMessageBodySchema,
|
|
5
|
-
import { $ as testNotificationResponseSchema, A as startServiceAccountSignInResponseSchema, At as
|
|
6
|
-
import { S as skillDetailReportSchema, a as cancelConversationPendingMessagesResponseSchema, b as pluginsSchema, d as conversationUnchangedDetailWithMailboxSchema, f as steerConversationPendingMessagesBodySchema, h as pluginOperationalReportFeedSchema, i as cancelConversationPendingMessagesBodySchema, m as healthReportSchema, n as conversationFeedQuerySchema, o as conversationDetailWithMailboxReportSchema, p as steerConversationPendingMessagesResponseSchema, r as conversationFeedSchema, u as conversationPendingMessagesReportSchema, w as skillReportsSchema, x as runtimeInfoReportSchema } from "./conversation-feed-
|
|
7
|
-
import {
|
|
8
|
-
import { $
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { a as resumeConversationDelivery, i as pauseConversationDelivery, r as canPauseConversationDelivery } from "./conversation-turn-
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import { i as continueConversationInSlack, r as canContinueInSlack, t as BUSY } from "./continue-in-slack-
|
|
1
|
+
import { V as escapeXml, n as botConfig, ut as getAttachmentStorage } from "./config-DUD-zMvp.js";
|
|
2
|
+
import { $ as getStateAdapter, A as conversationKindFromRow, C as withConversationMutationLock, X as createCache, _t as nextDetailVersion, a as getConversationStore, o as getDb, s as getSqlExecutor, y as loadConversationSlackTenantIds } from "./db-DV2ZUb1Y.js";
|
|
3
|
+
import { Dt as AttachmentUploadError, Ei as countOwnedAutomationsNeedingAttention, Ft as listOwnedWatches, Gn as jsonResponse, It as listChildAgents, Kn as throwApiError, Tt as webActorFromUser, Un as setConversationSubscription, Wn as emptyResponse, _ as closeBreaker, ai as readViewerAutomationEdit, di as readViewerAutomationSummary, ei as activateViewerAutomationVersion, fi as readViewerAutomationVersions, ft as reportConversationRead, g as breakerStates, h as savingsTotals, ii as deleteViewerTask, jt as writeAttachmentUpload, kt as createAttachmentUpload, li as readViewerAutomationExecutions, lt as archiveConversation, oi as updateViewerAutomation, pi as readViewerAutomations, ri as changeViewerAutomationLifecycle, si as ViewerTaskNotFoundError, u as SAVINGS_NAMESPACE, ui as readViewerAutomationRuns, v as connectedState, w as readStats, yi as AutomationEditError, yt as acceptsWebMessages } from "./warmup-mTMIatCV.js";
|
|
4
|
+
import { C as createConversationMessageBodySchema, H as renameConversationResponseSchema, S as createConversationBodySchema, T as forkConversationResponseSchema, U as conversationReadPositionSchema, V as renameConversationBodySchema, Z as MAX_ATTACHMENT_BYTES, f as conversationEventPageSchema, l as conversationDetailQuerySchema, m as conversationParamsSchema, 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 forkConversationBodySchema } from "./conversation--f85g4zL.js";
|
|
5
|
+
import { $ as testNotificationResponseSchema, A as startServiceAccountSignInResponseSchema, At as objectLinksReportSchema, B as personParamsSchema, Bt as conversationSubscriptionResponseSchema, C as cacheWarmingSavingsRefillResponseSchema, Ct as conversationChildAgentsReportSchema, D as serviceAccountListSchema, Dt as attachObjectLinkBodySchema, E as disconnectServiceAccountResponseSchema, F as personalTokenParamsSchema, Ft as archiveConversationBodySchema, G as locationParamsSchema, Gt as reorderPinnedConversationsBodySchema, Ht as conversationDeliveryResponseSchema, I as revokePersonalTokenResponseSchema, It as archiveConversationResponseSchema, J as activitySixHours$1, Jt as conversationCatchUpSchema, K as activityDays$1, Kt as reorderPinnedConversationsResponseSchema, L as actorDirectoryReportSchema, Lt as archiveDoneConversationsResponseSchema, M as createdPersonalTokenSchema, Mt as conversationStatsReportSchema, N as personalTokenListSchema, O as serviceAccountParamsSchema, Ot as attachObjectLinkResponseSchema, Pt as conversationOutlineSchema, Q as pushSubscriptionDeleteBodySchema, R as actorProfileReportSchema, Rt as conversationAutoArchiveSchema, S as cacheWarmingSavingsQuerySchema, T as closeCacheWarmingBreakerResponseSchema, Tt as continueConversationInSlackResponseSchema, U as locationDetailReportSchema, Ut as pinConversationBodySchema, V as personalSpendReportSchema, Vt as conversationDeliveryBodySchema, W as locationDirectoryReportSchema, Wt as pinConversationResponseSchema, X as notificationSettingsSchema, Xt as attachmentUploadSchema, Yt as attachmentUploadParamsSchema, Z as pushSubscriptionBodySchema, Zt as createAttachmentUploadBodySchema, _ as reviewItemParamsSchema, _t as conversationPlanReportSchema, b as cacheWarmingBreakerListSchema, c as workspaceListSchema, d as workspaceSchema, dt as codeRepositoryParamsSchema, et as connectionListSchema, f as reviewItemActionSchema, ft as codeRepositoryQuerySchema, g as reviewItemListSchema, gt as conversationPlanItemSchema, h as reviewItemListQuerySchema, ht as personCodeQuerySchema, i as statsReportSchema, it as startConnectionResponseSchema, j as createPersonalTokenBodySchema, jt as stopConversationTurnResponseSchema, kt as objectLinksQuerySchema, l as workspaceParamsSchema, lt as codeOverviewReportSchema, m as reviewItemCountSchema, n as versionsSchema, o as deleteWorkspaceResponseSchema, p as reviewItemCountQuerySchema, pt as codeRepositoryReportSchema, q as activityHours$1, qt as conversationCatchUpBodySchema, rt as disconnectConnectionResponseSchema, s as workspaceBodySchema, t as versionsQuerySchema, tt as connectionParamsSchema, ut as codePersonReportSchema, v as reviewItemSchema, vt as planItemParamsSchema, w as cacheWarmingSavingsReportSchema, wt as continueConversationInSlackBodySchema, x as cacheWarmingBreakerParamsSchema, xt as conversationWatchesReportSchema, y as reviewItemWaitingConversationsSchema, yt as planItemStatusBodySchema, z as avatarParamsSchema, zt as conversationSubscriptionBodySchema } from "./schema-D7iIEh6t.js";
|
|
6
|
+
import { S as skillDetailReportSchema, a as cancelConversationPendingMessagesResponseSchema, b as pluginsSchema, d as conversationUnchangedDetailWithMailboxSchema, f as steerConversationPendingMessagesBodySchema, h as pluginOperationalReportFeedSchema, i as cancelConversationPendingMessagesBodySchema, m as healthReportSchema, n as conversationFeedQuerySchema, o as conversationDetailWithMailboxReportSchema, p as steerConversationPendingMessagesResponseSchema, r as conversationFeedSchema, u as conversationPendingMessagesReportSchema, w as skillReportsSchema, x as runtimeInfoReportSchema } from "./conversation-feed-BNs9KiqC.js";
|
|
7
|
+
import { G as isAllowedDomain, H as addConversationNote, S as setPlanItemStatusByUser, _ as readUserCustomization, ft as isExperimentalFeatureEnabled, mt as getEventCatalog, q as parseEmail, v as saveUserCustomization, x as listPlanItems } from "./session-stop-BQxgHR4X.js";
|
|
8
|
+
import { $n as getPlugins, Ai as WorkspaceValidationError, Bc as readAutomationTitlesByConversationId, Bn as createUserTokenStore, Ci as createWorkspace, Dc as AutomationConflictError, Di as listWorkspaces, Dr as reviewItemsNeedingUserVersionQuery, Er as listWaitingConversations, Fa as readConversationAccessFromSql, Fi as create, Ga as readConversationEventPage, Gc as conversationRangeColumns, Hr as reviewItemReaderForUser, Ii as hash, Ir as isOnlyAssignee, Kc as conversationUsageCostExpr, Lr as itemNeedsUser, Mr as canActOnReviewItem, Oi as listWorkspacesByRepository, Or as searchReviewItems, Pa as createConversationAccessReader, Qo as postSlackMessage, Ss as formatSlackLink, Ti as getWorkspace, Ua as readConversationBriefThrough, Ur as reviewItemReaderForUserInConversation, Wc as conversationAggregateColumns, Ws as getDashboardSettingsLink, Xc as createPluginCache, bo as listConversationAnnotations, br as countReviewItemsNeedingUserBySubject, co as readLiveAttachment, cr as resolveNotificationTimezone, dr as readNotificationSchedule, fr as saveNotificationSchedule, ha as workspaceRepoCheckoutPath, ja as createPluginLogger, ki as updateWorkspace, lc as automationEventCatalog, lr as deletePushSubscription, mr as isPausedBySlack, or as readWebPushConfig, pa as SANDBOX_RUNTIME, pr as savePushSubscription, ro as readSlackAttachmentSource, sr as sendPushNotificationToUser, ur as listPushSubscriptions, wi as deleteWorkspace, xs as escapeSlackMrkdwnText, yo as createPluginAnnotations, yr as countOpenReviewItemsForUser, z as createPluginEgress, zs as getDashboardConversationLink } from "./projection-CWXDE0f6.js";
|
|
9
|
+
import { A as actOnReviewItem, B as readSavingsRefill, Ct as decodeImageId, D as resolveMentions, E as requireConversationPendingMessages, G as readHealthReport, H as startSavingsRefill, I as setConversationAutoArchive, J as readObjectLinkTypes, K as OBJECT_LINK_TTL_MS, L as DEFAULT_USER_SETTINGS, M as readReviewItemForUser, P as archiveViewerDoneConversations, R as readUserSettings, St as IMAGE_WIDTHS, X as resolveObjectLinks, Y as resolveObjectLinkNow, Z as guardedFetch, _ as readConversationEvents, a as decodePageCursor, b as createConversationForViewer, bt as readFirstHumanMessageTexts, c as reorderPinnedConversations, d as childAgentTotalsReport, f as readConversationTreeMetricsFromSql, g as keepQuickQuestionForViewer, h as forkConversationForViewer, i as readConversationFeed, k as ReviewItemActionError, l as readConversationDetail, m as readConversationDetailEtag, n as steerConversationPendingMessagesForViewer, nt as getProductionSlackAdapter, o as encodePageCursor, p as conversationVersionQuery, q as readLinkObjectType, r as conversationFeedVersionQuery, s as pinConversation, t as stopConversationTurnForViewer, u as readConversationAuxiliaryCostsFromSql, w as cancelConversationPendingMessagesForViewer, x as requireWebMessageConversation, xt as createViewerMcp, y as appendConversationMessageForViewer, yt as conversationSummaryFromStoredConversation, z as updateUserSettings } from "./stop-CsQGuN5n.js";
|
|
10
|
+
import { d as completeText, n as briefEntriesFromReportEvents } from "./prompt-P3eRqO8C.js";
|
|
11
|
+
import { a as resumeConversationDelivery, i as pauseConversationDelivery, r as canPauseConversationDelivery } from "./conversation-turn-BzdmrHb0.js";
|
|
12
|
+
import { _ as runBestEffort, h as logWarn, m as logInfo, p as logException } from "./logging-oYpJYr-S.js";
|
|
13
|
+
import { t as runWithSlackInstallation } from "./adapter-context-CnY-i32r.js";
|
|
14
|
+
import { A as juniorCodeChanges, C as juniorConversationBriefs, D as juniorConversationEvents, F as juniorConversations, I as juniorIdentities, L as juniorUsers, O as juniorApiTokens, R as juniorDestinations, T as juniorConversationMetrics, j as juniorCodeRepositories } from "./executor-CjNhwwnj.js";
|
|
15
|
+
import { i as continueConversationInSlack, r as canContinueInSlack, t as BUSY } from "./continue-in-slack-BXQizz9o.js";
|
|
16
16
|
import { f as parseSlackTeamId, u as parseSlackChannelId } from "./actor-D2iXzvlN.js";
|
|
17
|
-
import { A as
|
|
18
|
-
import { D as AttachmentDownloadError, O as readAttachmentContent, _ as createSlackReviewItemShow, k as previewOriginBelongsTo } from "./agent-runner-
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
22
|
-
import {
|
|
23
|
-
import {
|
|
24
|
-
import {
|
|
25
|
-
import {
|
|
26
|
-
import {
|
|
27
|
-
import { o as
|
|
28
|
-
import { t as getCachedSnapshot } from "./resolve-CQLhMWSu.js";
|
|
29
|
-
import { o as getVercelConversationWorkQueue } from "./background-compaction-queue-WLPNSF_b.js";
|
|
17
|
+
import { A as HOUR_MS$1, B as utcHourKey, F as sumUtcHoursIntoSixHours, I as trailingUtcDayWindow, L as trailingUtcHourWindow, M as fillUtcHours, N as fillUtcSixHours, O as apiErrorSchema, P as startOfUtcHour, R as trailingUtcSixHourWindow, _ as userCustomizationSchema, f as INLINE_VIDEO_TYPES, j as fillUtcDays, k as DAY_MS$2, m as detectImageMediaType, p as INPUT_IMAGE_TYPES, x as isOpenPlanItemStatus, z as utcDayKey } from "./web-message-id-CUaSiGme.js";
|
|
18
|
+
import { D as AttachmentDownloadError, O as readAttachmentContent, _ as createSlackReviewItemShow, k as previewOriginBelongsTo } from "./agent-runner-BaLjEjPR.js";
|
|
19
|
+
import { a as startConnection, n as isConnectableProvider, r as listConnections, s as htmlCallbackResponse, t as disconnectConnection } from "./connections-CDhsqPcC.js";
|
|
20
|
+
import { f as credentialContextForActor } from "./registry-1pzXmplY.js";
|
|
21
|
+
import { c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarFetch, t as findUserByEmail } from "./viewer-DKOeHpv3.js";
|
|
22
|
+
import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-DzQiOmqa.js";
|
|
23
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-B1R-nHd3.js";
|
|
24
|
+
import { C as automationVersionListSchema, L as ScheduleIntentError, R as compileScheduleIntent, S as automationVersionActivateSchema, X as automationTaskText, a as automationEditSchema, b as automationSummarySchema, d as automationLifecycleSchema, f as automationListQuerySchema, h as automationRunListSchema, i as automationEditErrorSchema, m as automationParamsSchema, o as automationEventCatalogSchema, p as automationListSchema, r as notificationScheduleSchema, s as automationExecutionListSchema, v as automationScheduleIntentSchema, w as automationVersionParamsSchema, x as automationUpdateSchema, y as automationSchedulePreviewSchema } from "./schedule-CHPWQn-x.js";
|
|
25
|
+
import { o as getSandboxResources } from "./install-DbD7C5td.js";
|
|
26
|
+
import { t as getCachedSnapshot } from "./resolve-n87oXY-d.js";
|
|
27
|
+
import { o as getVercelConversationWorkQueue } from "./background-compaction-queue-D2wzxtGU.js";
|
|
30
28
|
import { Hono } from "hono";
|
|
31
29
|
import * as z from "zod";
|
|
32
30
|
import path from "node:path";
|
|
@@ -246,18 +244,49 @@ async function catchUpOnConversation(viewer, conversationId, range) {
|
|
|
246
244
|
...conversation.title ? { title: conversation.title } : void 0
|
|
247
245
|
});
|
|
248
246
|
}
|
|
247
|
+
// src/chat/slack/detach-notice.ts
|
|
248
|
+
function detachNoticeText(conversationId, actorName) {
|
|
249
|
+
const url = getDashboardConversationLink(conversationId);
|
|
250
|
+
const dashboard = url ? formatSlackLink(url, "the dashboard") : "the dashboard";
|
|
251
|
+
return `${escapeSlackMrkdwnText(actorName)} detached this conversation from Slack. Updates continue in ${dashboard}. Mention me here to attach it again.`;
|
|
252
|
+
}
|
|
253
|
+
/**
|
|
254
|
+
* Tell a Slack thread once that its Conversation was detached, so people
|
|
255
|
+
* there know replies stopped. Call it only when the detach changed state.
|
|
256
|
+
* Run it inside the Slack installation of `location.teamId`.
|
|
257
|
+
*/
|
|
258
|
+
async function postSlackDetachNotice(args) {
|
|
259
|
+
const { location } = args;
|
|
260
|
+
if (!location.threadTs) return;
|
|
261
|
+
await postSlackMessage({
|
|
262
|
+
channelId: location.channelId,
|
|
263
|
+
text: detachNoticeText(args.conversationId, args.actorName),
|
|
264
|
+
threadTs: location.threadTs
|
|
265
|
+
});
|
|
266
|
+
}
|
|
249
267
|
// src/api/conversations/delivery.ts
|
|
250
268
|
/**
|
|
251
269
|
* Detach a root from its Location, or attach it again. Only a participant
|
|
252
270
|
* can change it, the same as rename. A mention in the Location attaches it
|
|
253
|
-
* again too.
|
|
271
|
+
* again too. Each detach tells the Slack thread once.
|
|
254
272
|
*/
|
|
255
273
|
async function setConversationDeliveryForViewer(viewer, conversationId, body) {
|
|
256
274
|
const conversation = (await readConversationAccessFromSql(getDb(), [conversationId], viewer)).get(conversationId)?.isParticipant ? await getConversationStore().get({ conversationId }) : void 0;
|
|
257
275
|
if (!conversation) throwApiError(404, "Conversation not found.");
|
|
258
276
|
if (!canPauseConversationDelivery(conversation)) throwApiError(409, "Only a conversation with a Slack thread can detach.");
|
|
259
|
-
if (body.paused)
|
|
260
|
-
|
|
277
|
+
if (body.paused) {
|
|
278
|
+
const detached = await pauseConversationDelivery(conversationId);
|
|
279
|
+
const location = conversation.location;
|
|
280
|
+
if (detached && location?.provider === "slack") await runBestEffort(() => runWithSlackInstallation({
|
|
281
|
+
adapter: getProductionSlackAdapter(),
|
|
282
|
+
installation: { teamId: location.teamId },
|
|
283
|
+
task: () => postSlackDetachNotice({
|
|
284
|
+
actorName: viewer.displayName ?? viewer.email,
|
|
285
|
+
conversationId,
|
|
286
|
+
location
|
|
287
|
+
})
|
|
288
|
+
}), "conversation.detach_notice.failed", { "app.conversation.id": conversationId });
|
|
289
|
+
} else await resumeConversationDelivery(conversationId);
|
|
261
290
|
return { paused: body.paused };
|
|
262
291
|
}
|
|
263
292
|
// src/chat/conversations/sql/title.ts
|
|
@@ -1136,6 +1165,65 @@ async function requireConversationWatches(conversationId, options = {}) {
|
|
|
1136
1165
|
watches
|
|
1137
1166
|
});
|
|
1138
1167
|
}
|
|
1168
|
+
// src/api/conversations/plan.ts
|
|
1169
|
+
/** Closed items that the report shows after the open ones. */
|
|
1170
|
+
const RECENT_CLOSED_ITEMS = 5;
|
|
1171
|
+
function reportItem(item, canViewPrivateContent) {
|
|
1172
|
+
const { assignee } = item;
|
|
1173
|
+
return {
|
|
1174
|
+
id: item.id,
|
|
1175
|
+
status: item.status,
|
|
1176
|
+
updatedAt: new Date(item.updatedAtMs).toISOString(),
|
|
1177
|
+
...canViewPrivateContent ? {
|
|
1178
|
+
title: item.title,
|
|
1179
|
+
...item.notes ? { notes: item.notes } : void 0,
|
|
1180
|
+
assignee: assignee.kind === "user" ? {
|
|
1181
|
+
kind: "user",
|
|
1182
|
+
name: assignee.name ?? assignee.email
|
|
1183
|
+
} : assignee,
|
|
1184
|
+
...item.changedBy ? { changedBy: item.changedBy.name ?? item.changedBy.email } : void 0
|
|
1185
|
+
} : {
|
|
1186
|
+
assignee: assignee.kind === "agent" ? {
|
|
1187
|
+
kind: "agent",
|
|
1188
|
+
conversationId: assignee.conversationId
|
|
1189
|
+
} : { kind: assignee.kind },
|
|
1190
|
+
redacted: true
|
|
1191
|
+
}
|
|
1192
|
+
};
|
|
1193
|
+
}
|
|
1194
|
+
/**
|
|
1195
|
+
* Load the plan of one Conversation: every open item, then the latest closed
|
|
1196
|
+
* ones. Throws a standard API not-found error. Viewers who cannot see
|
|
1197
|
+
* private content get no titles, notes, or names.
|
|
1198
|
+
*/
|
|
1199
|
+
async function requireConversationPlan(conversationId, options = {}) {
|
|
1200
|
+
if (!await getConversationStore().get({ conversationId })) throwApiError(404, "Conversation not found.");
|
|
1201
|
+
const [accessByConversation, items] = await Promise.all([readConversationAccessFromSql(getDb(), [conversationId], options.viewer), listPlanItems(getSqlExecutor(), conversationId)]);
|
|
1202
|
+
const canViewPrivateContent = accessByConversation.get(conversationId)?.canViewPrivateContent ?? false;
|
|
1203
|
+
const closed = items.filter((item) => !isOpenPlanItemStatus(item.status)).sort((left, right) => right.updatedAtMs - left.updatedAtMs).slice(0, RECENT_CLOSED_ITEMS);
|
|
1204
|
+
return conversationPlanReportSchema.parse({
|
|
1205
|
+
conversationId,
|
|
1206
|
+
items: [...items.filter((item) => isOpenPlanItemStatus(item.status)), ...closed].map((item) => reportItem(item, canViewPrivateContent))
|
|
1207
|
+
});
|
|
1208
|
+
}
|
|
1209
|
+
/**
|
|
1210
|
+
* Set the status of one Plan item for a person. The plan is shared, so only
|
|
1211
|
+
* a Participant can change it, the same as the title. The agent sees the
|
|
1212
|
+
* change in a `<plan-delta>` on its next Turn.
|
|
1213
|
+
*/
|
|
1214
|
+
async function setConversationPlanItemStatus(viewer, conversationId, itemId, body) {
|
|
1215
|
+
const conversationAccess = (await readConversationAccessFromSql(getDb(), [conversationId], viewer)).get(conversationId);
|
|
1216
|
+
if (!conversationAccess?.isParticipant) throwApiError(404, "Conversation not found.");
|
|
1217
|
+
const item = await setPlanItemStatusByUser(getSqlExecutor(), {
|
|
1218
|
+
conversationId,
|
|
1219
|
+
id: itemId,
|
|
1220
|
+
nowMs: Date.now(),
|
|
1221
|
+
status: body.status,
|
|
1222
|
+
userId: viewer.id
|
|
1223
|
+
});
|
|
1224
|
+
if (!item) throwApiError(404, "Plan item not found.");
|
|
1225
|
+
return reportItem(item, conversationAccess.canViewPrivateContent);
|
|
1226
|
+
}
|
|
1139
1227
|
// src/api/conversations/routes.ts
|
|
1140
1228
|
/** Create the HTTP routes owned by the conversations API. */
|
|
1141
1229
|
function createConversationRoutes(options) {
|
|
@@ -1243,6 +1331,15 @@ function createConversationRoutes(options) {
|
|
|
1243
1331
|
const viewer = context.get("viewer");
|
|
1244
1332
|
return jsonResponse(conversationWatchesReportSchema, await requireConversationWatches(conversationId, { viewer }));
|
|
1245
1333
|
});
|
|
1334
|
+
app.get("/:conversationId/plan", validateRequest("param", conversationParamsSchema, "Invalid route parameters."), async (context) => {
|
|
1335
|
+
const { conversationId } = context.req.valid("param");
|
|
1336
|
+
const viewer = context.get("viewer");
|
|
1337
|
+
return jsonResponse(conversationPlanReportSchema, await requireConversationPlan(conversationId, { viewer }));
|
|
1338
|
+
});
|
|
1339
|
+
app.patch("/:conversationId/plan/:itemId", requireViewer, validateRequest("param", planItemParamsSchema, "Invalid route parameters."), validateRequest("json", planItemStatusBodySchema, "Invalid request body."), async (context) => {
|
|
1340
|
+
const { conversationId, itemId } = context.req.valid("param");
|
|
1341
|
+
return jsonResponse(conversationPlanItemSchema, await setConversationPlanItemStatus(context.get("viewer"), conversationId, itemId, context.req.valid("json")));
|
|
1342
|
+
});
|
|
1246
1343
|
app.get("/:conversationId/pending-messages", validateRequest("param", conversationParamsSchema, "Invalid route parameters."), async (context) => {
|
|
1247
1344
|
const { conversationId } = context.req.valid("param");
|
|
1248
1345
|
const viewer = context.get("viewer");
|
|
@@ -1692,7 +1789,7 @@ function createCodeRoutes() {
|
|
|
1692
1789
|
/**
|
|
1693
1790
|
* Create authenticated routes that list, connect, and disconnect the viewer's
|
|
1694
1791
|
* plugin accounts. Connections belong to the viewer's User id, which is the
|
|
1695
|
-
* web Actor id and the credential subject for the viewer's
|
|
1792
|
+
* web Actor id and the credential subject for the viewer's Conversations.
|
|
1696
1793
|
*/
|
|
1697
1794
|
function createConnectionRoutes() {
|
|
1698
1795
|
const app = new Hono();
|
|
@@ -2800,7 +2897,7 @@ async function readPeoplePluginReports(args) {
|
|
|
2800
2897
|
reports: [],
|
|
2801
2898
|
source: "plugins"
|
|
2802
2899
|
});
|
|
2803
|
-
const { getPluginProfileReports } = await import("./projection-
|
|
2900
|
+
const { getPluginProfileReports } = await import("./projection-CWXDE0f6.js").then((n) => n.Un);
|
|
2804
2901
|
return pluginOperationalReportFeedSchema.parse({
|
|
2805
2902
|
generatedAt: new Date(nowMs).toISOString(),
|
|
2806
2903
|
reports: await getPluginProfileReports({
|
|
@@ -2851,7 +2948,7 @@ function surfaceExpression(table) {
|
|
|
2851
2948
|
return sql`CASE
|
|
2852
2949
|
WHEN ${table.source} IN ('api', 'scheduler', 'slack')
|
|
2853
2950
|
THEN ${table.source}
|
|
2854
|
-
-- Dashboard
|
|
2951
|
+
-- Dashboard Conversations share the product api surface label.
|
|
2855
2952
|
WHEN ${table.source} = 'web' THEN 'api'
|
|
2856
2953
|
WHEN ${table.conversationId} LIKE 'slack:%' THEN 'slack'
|
|
2857
2954
|
WHEN ${table.conversationId} LIKE 'scheduler:%' THEN 'scheduler'
|
|
@@ -3928,7 +4025,7 @@ function readDescriptionText(home) {
|
|
|
3928
4025
|
}
|
|
3929
4026
|
/** Read discovered skills for runtime diagnostics and the Automation editor. */
|
|
3930
4027
|
async function readSkillReports() {
|
|
3931
|
-
const { discoverSkills } = await import("./skills-
|
|
4028
|
+
const { discoverSkills } = await import("./skills-CPf4vNuC.js").then((n) => n.o);
|
|
3932
4029
|
const skills = await discoverSkills();
|
|
3933
4030
|
return skillReportsSchema.parse(skills.map((skill) => ({
|
|
3934
4031
|
name: skill.name,
|
|
@@ -3942,7 +4039,7 @@ async function readSkillReports() {
|
|
|
3942
4039
|
* what the skill tells Junior. Returns null when no skill has that name.
|
|
3943
4040
|
*/
|
|
3944
4041
|
async function readSkillDetailReport(name) {
|
|
3945
|
-
const { discoverSkills, findSkillByName, parseSkillFile } = await import("./skills-
|
|
4042
|
+
const { discoverSkills, findSkillByName, parseSkillFile } = await import("./skills-CPf4vNuC.js").then((n) => n.o);
|
|
3946
4043
|
const skill = findSkillByName(name, await discoverSkills());
|
|
3947
4044
|
if (!skill) return null;
|
|
3948
4045
|
const parsed = parseSkillFile(await fs.readFile(path.join(skill.skillPath, "SKILL.md"), "utf8"), skill.name);
|
|
@@ -3957,7 +4054,7 @@ async function readSkillDetailReport(name) {
|
|
|
3957
4054
|
}
|
|
3958
4055
|
/** Read safe configured plugin metadata for authenticated runtime diagnostics. */
|
|
3959
4056
|
async function readPlugins() {
|
|
3960
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
4057
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-B1R-nHd3.js").then((n) => n.t);
|
|
3961
4058
|
return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
3962
4059
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
3963
4060
|
description: plugin.manifest.description,
|
|
@@ -3969,7 +4066,7 @@ async function readPlugins() {
|
|
|
3969
4066
|
async function readRuntimeInfoReport() {
|
|
3970
4067
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
3971
4068
|
import("./package-discovery-x4AvVhMj.js").then((n) => n.r),
|
|
3972
|
-
import("./catalog-runtime-
|
|
4069
|
+
import("./catalog-runtime-B1R-nHd3.js").then((n) => n.t),
|
|
3973
4070
|
readPlugins(),
|
|
3974
4071
|
readSkillReports()
|
|
3975
4072
|
]);
|
|
@@ -3986,7 +4083,7 @@ async function readRuntimeInfoReport() {
|
|
|
3986
4083
|
/** Read sanitized operational summaries contributed by plugins. */
|
|
3987
4084
|
async function readPluginOperationalReportFeed() {
|
|
3988
4085
|
const nowMs = Date.now();
|
|
3989
|
-
const { getPluginOperationalReports } = await import("./projection-
|
|
4086
|
+
const { getPluginOperationalReports } = await import("./projection-CWXDE0f6.js").then((n) => n.Un);
|
|
3990
4087
|
return pluginOperationalReportFeedSchema.parse({
|
|
3991
4088
|
source: "plugins",
|
|
3992
4089
|
generatedAt: new Date(nowMs).toISOString(),
|
|
@@ -4043,4 +4140,4 @@ function createJuniorApi(options = {}) {
|
|
|
4043
4140
|
});
|
|
4044
4141
|
return app;
|
|
4045
4142
|
}
|
|
4046
|
-
export { DEFAULT_USER_SETTINGS, authenticatePersonalToken, createJuniorApi,
|
|
4143
|
+
export { DEFAULT_USER_SETTINGS, authenticatePersonalToken, createJuniorApi, isAllowedDomain, jsonResponse, parseEmail, readUserSettings, readViewerAvatarUrl, resolveViewerUser, updateUserSettings, updateViewerDisplayName };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { n as JuniorPluginSet } from "./plugins-B_0Cr0MO.js";
|
|
2
2
|
import { n as ConversationWorkQueue, t as ConversationQueueMessage } from "./queue-CbEHUO0l.js";
|
|
3
|
-
import "./schema-
|
|
4
|
-
import { t as ConversationStore } from "./db-
|
|
3
|
+
import "./schema-CVbIjrF3.js";
|
|
4
|
+
import { t as ConversationStore } from "./db-pH357Dkt.js";
|
|
5
5
|
import "./sentry-DrKC2NeM.js";
|
|
6
6
|
import { Hono } from "hono";
|
|
7
7
|
import * as z from "zod";
|
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-DvYbM9UD.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 };
|