@sentry/junior 0.269.0 → 0.271.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/{actor-CP9K2Idu.js → actor-B4DYygOB.js} +1 -1
- package/dist/{adapter-2-CG25be.js → adapter-Bqbtr1RV.js} +1 -1
- package/dist/{admin-DSs8S5Uy.js → admin-CWBjzyN0.js} +1 -1
- package/dist/{agent-runner-CrDrPUtY.js → agent-runner-BiHsH8O_.js} +1174 -262
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +6 -6
- package/dist/api.d.ts +1 -1
- package/dist/api.js +70 -38
- package/dist/{app-BrMMzjYm.d.ts → app-C81xfpNa.d.ts} +9 -3
- package/dist/app.d.ts +1 -1
- package/dist/app.js +84 -37
- package/dist/{interruption-marker-g6Xup3Fk.js → assistant-reply-DgtX9DaJ.js} +2 -8
- package/dist/{automation-p87hg_AV.js → automation-Dwh_xcqM.js} +1 -1
- package/dist/{briefs-PtODdLNu.js → briefs-0FeSJHQ3.js} +5 -5
- package/dist/{catalog-runtime-BsoSmTM0.js → catalog-runtime-Bw9kjGVu.js} +1 -1
- package/dist/cli/chat.js +14 -14
- package/dist/cli/check.js +3 -3
- package/dist/cli/main.js +3 -3
- package/dist/cli/plugins.js +4 -4
- package/dist/cli/snapshot-create.js +4 -4
- package/dist/cli/upgrade.d.ts +1 -1
- package/dist/cli/upgrade.js +3 -3
- package/dist/{client-Cqf4TboL.js → client-B0jlQSgO.js} +13 -3
- package/dist/{config-CPsE4T5L.js → config-DrAeD8sr.js} +3 -3
- package/dist/{connections-upFXLmhG.js → connections-BzN2K0G9.js} +10 -10
- package/dist/{conversation-CTpD_PGk.js → conversation-AhOVzN_k.js} +5 -3
- package/dist/{conversation-privacy-D6zJc8ff.js → conversation-privacy-D1NhUxyo.js} +1 -1
- package/dist/{credential-sync-CS_6IC-f.js → credential-sync-DpNWl4yy.js} +15 -15
- package/dist/{credentialed-BU-OW7HP.js → credentialed-mh7HBqey.js} +51 -39
- package/dist/{db-BzOCzVb1.d.ts → db-DSabI7jJ.d.ts} +1 -1
- package/dist/{executor-CNS7ONt-.js → executor-C2cRw0hZ.js} +7 -2
- package/dist/instrumentation.js +2 -2
- package/dist/{job-queue-DI-k-Bbk.js → job-queue-CEeLYkSj.js} +2 -2
- package/dist/{list-CGoQdXTp.js → list-DjJJ5K0x.js} +168 -36
- package/dist/{logging-n7knse-O.js → logging-DuwXUuIY.js} +1 -1
- package/dist/{media-85PDJxO_.js → media-U6Tuz6Mi.js} +1 -1
- package/dist/{message-BpaWd8TT.js → message-CRe3WBKc.js} +4 -4
- package/dist/{model-profile-Bg8EoCKD.js → model-profile-B998sjVd.js} +9 -2
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +5 -3
- package/dist/{oauth-callback-server-CpGmEw_i.js → oauth-callback-server-oM5TJt34.js} +2 -2
- package/dist/{prompt-BlQB0QQt.js → prompt-BPSdXYXV.js} +1 -1
- package/dist/{registry-By36_xsm.js → registry-BPtbAVFo.js} +2 -2
- package/dist/{reporting-window-CVarfId9.js → reporting-window-DgHgwQB3.js} +16 -2
- package/dist/{resolve-CUIBcdPd.js → resolve-D44G1jJm.js} +3 -3
- package/dist/{result-BemsOMOO.js → result-CvP8c5bb.js} +10 -10
- package/dist/{runner-BVok7PAA.js → runner-FIGIKvk2.js} +11 -11
- package/dist/{sandbox-egress-signals-BSUWQI95.js → sandbox-egress-signals-C_JzucwP.js} +1 -1
- package/dist/{schema-ChnFo5f2.js → schema-DKZgO-xf.js} +12 -7
- package/dist/{schema-jK4-1u_H.d.ts → schema-DPCvePop.d.ts} +37 -3
- package/dist/{service-account-hMmESDcr.js → service-account-1mJGRAvx.js} +3 -3
- package/dist/{service-account-DHvlLnZw.js → service-account-CHO3YXpt.js} +3 -3
- package/dist/{session-stop-BQW_iFcd.js → session-stop-DuUB1rwQ.js} +51 -141
- package/dist/{skills-DmJJIuLF.js → skills-DHK7L9Eo.js} +2 -2
- package/dist/{spawn-ChCm46i-.js → spawn-CKl_ySIq.js} +2 -2
- package/dist/{store-DCo2n5iJ.js → store-BF2XEeQz.js} +3 -3
- package/dist/{store-1DVhoKOL.js → store-Di0E4EvU.js} +4 -4
- package/dist/{task-queue-HMC4QjFm.js → task-queue-CC7IFtbT.js} +3 -3
- package/dist/{task-runner-cA6yjn_E.js → task-runner-DKZtMFwa.js} +8 -8
- package/dist/{thread-state-CHy8LS0C.js → thread-state-BQ1T3eeF.js} +5 -5
- package/dist/{turn-failure-response-Dr7erLWs.js → turn-failure-response-B5eSFoHn.js} +15 -10
- package/dist/{turn-lifecycle-bf2fIYi_.js → turn-lifecycle-CTLEIEOn.js} +1 -1
- package/dist/{turn-session-routing-BqO0qXLk.js → turn-session-routing-BFVp8TbU.js} +26 -19
- package/dist/{validation-DHR1ivfh.js → validation-Cjo-3yt3.js} +1 -1
- package/dist/{version-CXCHLgWm.js → version-D30MBLLw.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-DSbD6DF6.js → viewer-D3jhuP66.js} +27 -12
- package/dist/{work-BE_qTYGi.js → work-CL9QwQcl.js} +11 -11
- package/dist/{worker-Cm9_sWXg.js → worker-S2P7IJDI.js} +6 -6
- package/migrations/0071_review_item_turn.sql +1 -0
- package/migrations/AGENTS.md +3 -12
- package/migrations/meta/0071_snapshot.json +4003 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +5 -4
package/dist/api/schema.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { $ as automationExecutionStatusDaySchema, $n as ConversationReportEvent, $r as codePersonReportSchema, $t as LocationSummaryReport, A as StatsReport, An as ConversationStatsReport, Ar as conversationPendingMessageSchema, At as createPersonalTokenBodySchema, B as AutomationRun, Bn as ConversationActivityPreview, Br as steerConversationPendingMessagesResponseSchema, Bt as startServiceAccountSignInResponseSchema, C as pluginPackageContentReportSchema, Cn as ConversationChildAgentsReport, Cr as conversationEventPageSchema, Ct as workspaceListSchema, D as skillReportSchema, Dn as stopConversationTurnResponseSchema, Dr as conversationParamsSchema, Dt as USER_CUSTOMIZATION_MAX_CHARS, E as runtimeInfoReportSchema, En as StopConversationTurnResponse, Er as conversationFeedSchema, Et as workspaceSchema, F as AutomationExecutionDay, Fn as ActorIdentity, Fr as createConversationBodySchema, Ft as revokePersonalTokenResponseSchema, G as AutomationUpdate, Gn as ConversationEventHistory, Gr as CodeOverviewReport, Gt as startConnectionResponseSchema, H as AutomationRunWindows, Hn as ConversationAuxiliaryCosts, Hr as conversationTurnFailureReasonSchema, Ht as connectionParamsSchema, I as AutomationExecutionList, In as ArchiveConversationBody, Ir as createConversationMessageBodySchema, It as disconnectServiceAccountResponseSchema, J as automationEditErrorSchema, Jn as ConversationModelUsage, Jr as CodeRepositorySummary, Jt as LocationActivityDayReport, K as AutomationVersionList, Kn as ConversationEventPage, Kr as CodePersonReport, Kt as ApiError, L as AutomationExecutionStatusDay, Ln as ArchiveConversationResponse, Lr as forkConversationBodySchema, Lt as serviceAccountListSchema, M as statsReportSchema, Mn as GuardianStats, Mr as conversationReportEventDataSchema, Mt as personalTokenListSchema, N as AutomationEdit, Nn as conversationStatsReportSchema, Nr as conversationReportEventSchema, Nt as personalTokenMetadataSchema, O as skillReportsSchema, On as ConversationMetricDay, Or as conversationPendingAuthorizationSchema, Ot as userCustomizationSchema, P as AutomationExecution, Pn as AcceptedConversationMessage, Pr as conversationSummaryReportSchema, Pt as personalTokenParamsSchema, Q as automationExecutionSchema, Qn as ConversationPendingMessagesReport, Qr as codeOverviewReportSchema, Qt as LocationParams, R as AutomationList, Rn as CancelConversationPendingMessagesBody, Rr as forkConversationResponseSchema, Rt as serviceAccountParamsSchema, S as pluginPackageContentItemReportSchema, Si as
|
|
2
|
-
export { type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationUpdate, type AutomationVersionList, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAgentTreeNode, type ConversationAuxiliaryCosts, type ConversationChildAgent, type ConversationChildAgentTotals, type ConversationChildAgentsReport, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportMessageEvent, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type ConversationWatch, type ConversationWatchesReport, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, INPUT_IMAGE_TYPES, type InputImage, type ListedAutomationVersion, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, type MessageCard, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type ReviewItemActionBody, type ReviewItemPayload, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type SteerConversationPendingMessagesBody, type SteerConversationPendingMessagesResponse, type StopConversationTurnResponse, USER_CUSTOMIZATION_MAX_CHARS, type UserInputAnswer, type UserInputField, type UserInputRequest, type WorkspaceListReport, type WorkspaceReport, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, conversationActivityPreviewSchema, conversationAuxiliaryCostsSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationWatchSchema, conversationWatchesReportSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isEmptyUserInputAnswer, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, normalizeUserInputAnswer, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, resolveMessageCards, reviewItemActionSchema, reviewItemCountSchema, reviewItemListSchema, reviewItemSchema, reviewItemWaitingConversationsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, serviceAccountListSchema, serviceAccountParamsSchema, serviceAccountSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, userCustomizationSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
|
|
1
|
+
import { $ as automationExecutionStatusDaySchema, $n as ConversationReportEvent, $r as codePersonReportSchema, $t as LocationSummaryReport, A as StatsReport, An as ConversationStatsReport, Ar as conversationPendingMessageSchema, At as createPersonalTokenBodySchema, B as AutomationRun, Bn as ConversationActivityPreview, Br as steerConversationPendingMessagesResponseSchema, Bt as startServiceAccountSignInResponseSchema, C as pluginPackageContentReportSchema, Ci as INPUT_IMAGE_TYPES, Cn as ConversationChildAgentsReport, Cr as conversationEventPageSchema, Ct as workspaceListSchema, D as skillReportSchema, Dn as stopConversationTurnResponseSchema, Dr as conversationParamsSchema, Dt as USER_CUSTOMIZATION_MAX_CHARS, E as runtimeInfoReportSchema, En as StopConversationTurnResponse, Er as conversationFeedSchema, Et as workspaceSchema, F as AutomationExecutionDay, Fn as ActorIdentity, Fr as createConversationBodySchema, Ft as revokePersonalTokenResponseSchema, G as AutomationUpdate, Gn as ConversationEventHistory, Gr as CodeOverviewReport, Gt as startConnectionResponseSchema, H as AutomationRunWindows, Hn as ConversationAuxiliaryCosts, Hr as conversationTurnFailureReasonSchema, Ht as connectionParamsSchema, I as AutomationExecutionList, In as ArchiveConversationBody, Ir as createConversationMessageBodySchema, It as disconnectServiceAccountResponseSchema, J as automationEditErrorSchema, Jn as ConversationModelUsage, Jr as CodeRepositorySummary, Jt as LocationActivityDayReport, K as AutomationVersionList, Kn as ConversationEventPage, Kr as CodePersonReport, Kt as ApiError, L as AutomationExecutionStatusDay, Ln as ArchiveConversationResponse, Lr as forkConversationBodySchema, Lt as serviceAccountListSchema, M as statsReportSchema, Mn as GuardianStats, Mr as conversationReportEventDataSchema, Mt as personalTokenListSchema, N as AutomationEdit, Nn as conversationStatsReportSchema, Nr as conversationReportEventSchema, Nt as personalTokenMetadataSchema, O as skillReportsSchema, On as ConversationMetricDay, Or as conversationPendingAuthorizationSchema, Ot as userCustomizationSchema, P as AutomationExecution, Pn as AcceptedConversationMessage, Pr as conversationSummaryReportSchema, Pt as personalTokenParamsSchema, Q as automationExecutionSchema, Qn as ConversationPendingMessagesReport, Qr as codeOverviewReportSchema, Qt as LocationParams, R as AutomationList, Rn as CancelConversationPendingMessagesBody, Rr as forkConversationResponseSchema, Rt as serviceAccountParamsSchema, S as pluginPackageContentItemReportSchema, Si as MessageAttachment, Sn as ConversationChildAgent, Sr as conversationEventHistorySchema, St as workspaceBodySchema, T as pluginsSchema, Tn as conversationChildAgentsReportSchema, Tr as conversationFeedQuerySchema, Tt as workspaceRepoSchema, U as AutomationScheduleIntent, Un as ConversationCost, Ur as CodeActivityDay, Ut as connectionSchema, V as AutomationRunList, Vn as ConversationAgentTreeNode, Vr as conversationTurnFailureCodeSchema, Vt as connectionListSchema, W as AutomationSummary, Wn as ConversationDetailReport, Wr as CodeChangeSummaryReport, Wt as disconnectConnectionResponseSchema, X as automationEventCatalogSchema, Xn as ConversationPendingMessage, Xr as codeChangeSummaryReportSchema, Xt as LocationDetailReport, Y as automationEditSchema, Yn as ConversationParams, Yr as codeActivityDaySchema, Yt as LocationActorSummaryReport, Z as automationExecutionListSchema, Zn as ConversationPendingMessageDelivery, Zr as codeChangeSummarySchema, Zt as LocationDirectoryReport, _ as SkillReport, _i as normalizeUserInputAnswer, _n as personalSpendReportSchema, _r as cancelConversationPendingMessagesResponseSchema, _t as BaselineSnapshotReport, a as reviewItemCountSchema, ai as DailyConversationActivity, an as ActorDirectoryReport, ar as ConversationSurface, at as automationRunSchema, b as pluginOperationalReportFeedSchema, bi as MAX_INPUT_IMAGES, bn as conversationWatchSchema, br as conversationDetailQuerySchema, bt as baselineSnapshotSchema, c as reviewItemWaitingConversationsSchema, ci as messageCardText, cn as ActorSummaryReport, cr as ConversationUsage, ct as automationSchedulePreviewSchema, d as PluginOperationalReport, di as USER_INPUT_NOTE, dn as PeopleActivityDayReport, dr as SteerConversationPendingMessagesBody, dt as automationVersionActivateSchema, ei as codeRepositoryParamsSchema, en as locationActivityDayReportSchema, er as ConversationReportEventData, et as automationExecutionStatusSchema, f as PluginOperationalReportFeed, fi as UserInputAnswer, fn as PersonParams, fr as SteerConversationPendingMessagesResponse, ft as automationVersionListSchema, g as RuntimeInfoReport, gi as isEmptyUserInputAnswer, gn as personParamsSchema, gr as cancelConversationPendingMessagesBodySchema, gt as scheduledAutomationSummarySchema, h as Plugins, hi as buttonUserInputField, hn as actorProfileReportSchema, hr as archiveConversationResponseSchema, ht as eventAutomationSummarySchema, i as reviewItemActionSchema, ii as conversationChildAgentTotalsSchema, in as ActorActivityDayReport, ir as ConversationSummaryReport, it as automationRunListSchema, j as statSchema, jn as GuardianMetricDay, jr as conversationPendingMessagesReportSchema, jt as createdPersonalTokenSchema, k as StatReport, kn as ConversationStatsItem, kr as conversationPendingMessageDeliverySchema, kt as PersonalTokenMetadata, l as HealthReport, li as resolveMessageCards, ln as ActorTotalsReport, lr as CreateConversationBody, lt as automationSummarySchema, m as PluginPackageContentReport, mi as UserInputRequest, mn as actorDirectoryReportSchema, mr as archiveConversationBodySchema, mt as automationVersionSchema, n as ReviewItemActionBody, ni as codeRepositorySummarySchema, nn as locationDirectoryReportSchema, nr as ConversationReportStatus, nt as automationListSchema, o as reviewItemListSchema, oi as dailyConversationActivitySchema, on as ActorDirectoryWindows, or as ConversationTurnFailureCode, ot as automationRunWindowsSchema, p as PluginPackageContentItemReport, pi as UserInputField, pn as PersonalSpendReport, pr as acceptedConversationMessageSchema, pt as automationVersionParamsSchema, q as ListedAutomationVersion, qn as ConversationFeed, qr as CodeRepositoryReport, qt as apiErrorSchema, r as ReviewItemPayload, ri as ConversationChildAgentTotals, rn as locationParamsSchema, rr as ConversationSourceTask, rt as automationParamsSchema, s as reviewItemSchema, si as MessageCard, sn as ActorProfileReport, sr as ConversationTurnFailureReason, st as automationScheduleIntentSchema, t as OwnedObjectAnnotation, ti as codeRepositoryReportSchema, tn as locationDetailReportSchema, tr as ConversationReportMessageEvent, tt as automationListQuerySchema, u as Plugin, ui as AutomationCard, un as ActorWindowMetrics, ur as CreateConversationMessageBody, ut as automationUpdateSchema, v as SkillReports, vi as webMessageId, vn as ConversationWatch, vr as conversationActivityPreviewSchema, vt as WorkspaceListReport, w as pluginSchema, wn as conversationChildAgentSchema, wr as conversationEventsQuerySchema, wt as workspaceParamsSchema, x as pluginOperationalReportSchema, xi as MAX_INPUT_IMAGE_BYTES, xn as conversationWatchesReportSchema, xr as conversationDetailReportSchema, xt as deleteWorkspaceResponseSchema, y as healthReportSchema, yi as InputImage, yn as ConversationWatchesReport, yr as conversationAuxiliaryCostsSchema, yt as WorkspaceReport, z as AutomationListQuery, zn as CancelConversationPendingMessagesResponse, zr as steerConversationPendingMessagesBodySchema, zt as serviceAccountSchema } from "../schema-DPCvePop.js";
|
|
2
|
+
export { type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationUpdate, type AutomationVersionList, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAgentTreeNode, type ConversationAuxiliaryCosts, type ConversationChildAgent, type ConversationChildAgentTotals, type ConversationChildAgentsReport, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportMessageEvent, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type ConversationWatch, type ConversationWatchesReport, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, INPUT_IMAGE_TYPES, type InputImage, type ListedAutomationVersion, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, type MessageCard, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type ReviewItemActionBody, type ReviewItemPayload, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type SteerConversationPendingMessagesBody, type SteerConversationPendingMessagesResponse, type StopConversationTurnResponse, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, type UserInputAnswer, type UserInputField, type UserInputRequest, type WorkspaceListReport, type WorkspaceReport, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, conversationActivityPreviewSchema, conversationAuxiliaryCostsSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationWatchSchema, conversationWatchesReportSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isEmptyUserInputAnswer, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, normalizeUserInputAnswer, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, resolveMessageCards, reviewItemActionSchema, reviewItemCountSchema, reviewItemListSchema, reviewItemSchema, reviewItemWaitingConversationsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, serviceAccountListSchema, serviceAccountParamsSchema, serviceAccountSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, userCustomizationSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
|
package/dist/api/schema.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { c as conversationTurnFailureReasonSchema, s as conversationTurnFailureCodeSchema, t as INPUT_IMAGE_TYPES } from "../media-
|
|
2
|
-
import { A as createConversationMessageBodySchema, C as conversationReportEventSchema, E as conversationSummaryReportSchema, F as conversationChildAgentTotalsSchema, H as MAX_INPUT_IMAGES, M as forkConversationResponseSchema, N as steerConversationPendingMessagesBodySchema, P as steerConversationPendingMessagesResponseSchema, R as messageCardText, S as conversationReportEventDataSchema, U as MAX_INPUT_IMAGE_BYTES, V as resolveMessageCards, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, j as forkConversationBodySchema, k as createConversationBodySchema, l as conversationAuxiliaryCostsSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, s as conversationActivityPreviewSchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, v as conversationPendingAuthorizationSchema, x as conversationPendingMessagesReportSchema, y as conversationPendingMessageDeliverySchema } from "../conversation-
|
|
3
|
-
import { _ as
|
|
4
|
-
import { C as eventAutomationSummarySchema, S as automationVersionSchema, _ as automationSummarySchema, a as automationExecutionSchema, b as automationVersionListSchema, d as automationParamsSchema, f as automationRunListSchema, g as automationSchedulePreviewSchema, h as automationScheduleIntentSchema, i as automationExecutionListSchema, l as automationListQuerySchema, m as automationRunWindowsSchema, n as automationEditSchema, o as automationExecutionStatusDaySchema, p as automationRunSchema, r as automationEventCatalogSchema, s as automationExecutionStatusSchema, t as automationEditErrorSchema, u as automationListSchema, v as automationUpdateSchema, w as scheduledAutomationSummarySchema, x as automationVersionParamsSchema, y as automationVersionActivateSchema } from "../automation-
|
|
1
|
+
import { c as conversationTurnFailureReasonSchema, s as conversationTurnFailureCodeSchema, t as INPUT_IMAGE_TYPES } from "../media-U6Tuz6Mi.js";
|
|
2
|
+
import { A as createConversationMessageBodySchema, C as conversationReportEventSchema, E as conversationSummaryReportSchema, F as conversationChildAgentTotalsSchema, H as MAX_INPUT_IMAGES, M as forkConversationResponseSchema, N as steerConversationPendingMessagesBodySchema, P as steerConversationPendingMessagesResponseSchema, R as messageCardText, S as conversationReportEventDataSchema, U as MAX_INPUT_IMAGE_BYTES, V as resolveMessageCards, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, j as forkConversationBodySchema, k as createConversationBodySchema, l as conversationAuxiliaryCostsSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, s as conversationActivityPreviewSchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, v as conversationPendingAuthorizationSchema, x as conversationPendingMessagesReportSchema, y as conversationPendingMessageDeliverySchema } from "../conversation-AhOVzN_k.js";
|
|
3
|
+
import { S as userCustomizationSchema, _ as isEmptyUserInputAnswer, b as webMessageId, h as buttonUserInputField, m as USER_INPUT_NOTE, v as normalizeUserInputAnswer, x as USER_CUSTOMIZATION_MAX_CHARS } from "../reporting-window-DgHgwQB3.js";
|
|
4
|
+
import { C as eventAutomationSummarySchema, S as automationVersionSchema, _ as automationSummarySchema, a as automationExecutionSchema, b as automationVersionListSchema, d as automationParamsSchema, f as automationRunListSchema, g as automationSchedulePreviewSchema, h as automationScheduleIntentSchema, i as automationExecutionListSchema, l as automationListQuerySchema, m as automationRunWindowsSchema, n as automationEditSchema, o as automationExecutionStatusDaySchema, p as automationRunSchema, r as automationEventCatalogSchema, s as automationExecutionStatusSchema, t as automationEditErrorSchema, u as automationListSchema, v as automationUpdateSchema, w as scheduledAutomationSummarySchema, x as automationVersionParamsSchema, y as automationVersionActivateSchema } from "../automation-Dwh_xcqM.js";
|
|
5
5
|
import { a as pluginPackageContentReportSchema, c as runtimeInfoReportSchema, i as pluginPackageContentItemReportSchema, l as skillReportSchema, n as pluginOperationalReportFeedSchema, o as pluginSchema, r as pluginOperationalReportSchema, s as pluginsSchema, t as healthReportSchema, u as skillReportsSchema } from "../reporting-schema-CZREhYc-.js";
|
|
6
|
-
import { $ as codeRepositorySummarySchema, B as dailyConversationActivitySchema, C as createdPersonalTokenSchema, D as revokePersonalTokenResponseSchema, E as personalTokenParamsSchema, F as locationDirectoryReportSchema, G as startConnectionResponseSchema, H as connectionParamsSchema, I as locationParamsSchema, J as codeChangeSummarySchema, K as codeActivityDaySchema, M as personalSpendReportSchema, N as locationActivityDayReportSchema, O as actorDirectoryReportSchema, P as locationDetailReportSchema, Q as codeRepositoryReportSchema, S as createPersonalTokenBodySchema, T as personalTokenMetadataSchema, U as connectionSchema, V as connectionListSchema, W as disconnectConnectionResponseSchema, X as codePersonReportSchema, Y as codeOverviewReportSchema, Z as codeRepositoryParamsSchema, _ as disconnectServiceAccountResponseSchema, a as workspaceBodySchema, at as conversationStatsReportSchema, b as serviceAccountSchema, c as workspaceRepoSchema, d as reviewItemCountSchema, et as conversationWatchSchema, g as reviewItemWaitingConversationsSchema, h as reviewItemSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, n as statsReportSchema, nt as conversationChildAgentSchema, o as workspaceListSchema, ot as apiErrorSchema, p as reviewItemListSchema, q as codeChangeSummaryReportSchema, r as baselineSnapshotSchema, rt as conversationChildAgentsReportSchema, s as workspaceParamsSchema, t as statSchema, tt as conversationWatchesReportSchema, u as reviewItemActionSchema, v as serviceAccountListSchema, w as personalTokenListSchema, x as startServiceAccountSignInResponseSchema, y as serviceAccountParamsSchema } from "../schema-
|
|
7
|
-
export { INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, USER_CUSTOMIZATION_MAX_CHARS, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, conversationActivityPreviewSchema, conversationAuxiliaryCostsSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationWatchSchema, conversationWatchesReportSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isEmptyUserInputAnswer, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, normalizeUserInputAnswer, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, resolveMessageCards, reviewItemActionSchema, reviewItemCountSchema, reviewItemListSchema, reviewItemSchema, reviewItemWaitingConversationsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, serviceAccountListSchema, serviceAccountParamsSchema, serviceAccountSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, userCustomizationSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
|
|
6
|
+
import { $ as codeRepositorySummarySchema, B as dailyConversationActivitySchema, C as createdPersonalTokenSchema, D as revokePersonalTokenResponseSchema, E as personalTokenParamsSchema, F as locationDirectoryReportSchema, G as startConnectionResponseSchema, H as connectionParamsSchema, I as locationParamsSchema, J as codeChangeSummarySchema, K as codeActivityDaySchema, M as personalSpendReportSchema, N as locationActivityDayReportSchema, O as actorDirectoryReportSchema, P as locationDetailReportSchema, Q as codeRepositoryReportSchema, S as createPersonalTokenBodySchema, T as personalTokenMetadataSchema, U as connectionSchema, V as connectionListSchema, W as disconnectConnectionResponseSchema, X as codePersonReportSchema, Y as codeOverviewReportSchema, Z as codeRepositoryParamsSchema, _ as disconnectServiceAccountResponseSchema, a as workspaceBodySchema, at as conversationStatsReportSchema, b as serviceAccountSchema, c as workspaceRepoSchema, d as reviewItemCountSchema, et as conversationWatchSchema, g as reviewItemWaitingConversationsSchema, h as reviewItemSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, n as statsReportSchema, nt as conversationChildAgentSchema, o as workspaceListSchema, ot as apiErrorSchema, p as reviewItemListSchema, q as codeChangeSummaryReportSchema, r as baselineSnapshotSchema, rt as conversationChildAgentsReportSchema, s as workspaceParamsSchema, t as statSchema, tt as conversationWatchesReportSchema, u as reviewItemActionSchema, v as serviceAccountListSchema, w as personalTokenListSchema, x as startServiceAccountSignInResponseSchema, y as serviceAccountParamsSchema } from "../schema-DKZgO-xf.js";
|
|
7
|
+
export { INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, conversationActivityPreviewSchema, conversationAuxiliaryCostsSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationWatchSchema, conversationWatchesReportSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, isEmptyUserInputAnswer, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, normalizeUserInputAnswer, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, resolveMessageCards, reviewItemActionSchema, reviewItemCountSchema, reviewItemListSchema, reviewItemSchema, reviewItemWaitingConversationsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, serviceAccountListSchema, serviceAccountParamsSchema, serviceAccountSchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, userCustomizationSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
|
package/dist/api.d.ts
CHANGED
package/dist/api.js
CHANGED
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
import { F as conversationRangeColumns, N as conversationActiveDaysColumn, P as conversationAggregateColumns,
|
|
2
|
-
import { p as escapeXml } from "./client-
|
|
3
|
-
import { m as logInfo, p as logException } from "./logging-
|
|
4
|
-
import { C as getSqlExecutor, J as resolveRootConversationId, K as agentTurnUsageSchema, S as getDb, c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarImage, q as hasAgentTurnUsage, t as findUserByEmail, x as getConversationStore } from "./viewer-
|
|
1
|
+
import { F as conversationRangeColumns, N as conversationActiveDaysColumn, P as conversationAggregateColumns, Wr as isExperimentalFeatureEnabled, ct as AutomationConflictError, ft as automationEventCatalog, j as readAutomationTitlesByConversationId } from "./turn-session-routing-BFVp8TbU.js";
|
|
2
|
+
import { p as escapeXml } from "./client-B0jlQSgO.js";
|
|
3
|
+
import { m as logInfo, p as logException } from "./logging-DuwXUuIY.js";
|
|
4
|
+
import { C as getSqlExecutor, E as loadConversationSlackTenantIds, J as resolveRootConversationId, K as agentTurnUsageSchema, S as getDb, c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarImage, q as hasAgentTurnUsage, t as findUserByEmail, x as getConversationStore } from "./viewer-D3jhuP66.js";
|
|
5
5
|
import { c as juniorIdentities, d as juniorDestinations, l as juniorUsers, s as juniorConversations } from "./agent-invocations-C1RNOCs8.js";
|
|
6
|
-
import { C as juniorCodeRepositories, S as juniorCodeChanges, b as juniorApiTokens, m as juniorConversationParticipants, v as juniorConversationMetrics, y as juniorConversationEvents } from "./executor-
|
|
7
|
-
import { t as INPUT_IMAGE_TYPES } from "./media-
|
|
8
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
9
|
-
import {
|
|
10
|
-
import { $t as workspaceRepoCheckoutPath, Ar as lookupSlackUser, D as listWaitingConversationIds, Er as listConversationAnnotations, F as isOnlyAssignee, G as deleteWorkspace, J as listWorkspaces, K as getWorkspace, M as canActOnReviewItem, O as searchReviewItems, W as createWorkspace, X as updateWorkspace, Y as listWorkspacesByRepository, Z as WorkspaceValidationError, Zt as SANDBOX_RUNTIME, _r as readConversationEventPage, ar as createPluginLogger, gr as readLatestConversationBrief, jr as createPluginCache, n as createUserTokenStore, nt as create, or as readConversationAccessFromSql, p as getPlugins, rt as hash, vr as buildSentryConversationUrl, x as countReviewItemsNeedingUser, z as reviewItemReaderForUser } from "./credentialed-
|
|
11
|
-
import { r as getStateAdapter } from "./adapter-
|
|
12
|
-
import { A as createConversationMessageBodySchema, M as forkConversationResponseSchema, N as steerConversationPendingMessagesBodySchema, P as steerConversationPendingMessagesResponseSchema, W as readMessageAttachments, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, c as conversationAttachmentParamsSchema, d as conversationDetailReportSchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, j as forkConversationBodySchema, k as createConversationBodySchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, x as conversationPendingMessagesReportSchema } from "./conversation-
|
|
13
|
-
import { h as getChildAgentLabel } from "./store-
|
|
14
|
-
import { d as getEventCatalog } from "./session-stop-
|
|
15
|
-
import { a as fillUtcSixHours, c as trailingUtcDayWindow, d as utcDayKey, f as utcHourKey, i as fillUtcHours, l as trailingUtcHourWindow, n as HOUR_MS$1, o as startOfUtcHour, r as fillUtcDays, s as sumUtcHoursIntoSixHours, t as DAY_MS$1, u as trailingUtcSixHourWindow
|
|
16
|
-
import { s as getSandboxResources, t as getCachedSnapshot } from "./resolve-
|
|
17
|
-
import { a as getVercelConversationWorkQueue } from "./job-queue-
|
|
18
|
-
import { E as steerWebPendingMessages, a as cancelHumanFacingPendingMessages, g as getConversationWorkState, h as getConversation } from "./store-
|
|
19
|
-
import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-
|
|
20
|
-
import { N as ScheduleIntentError, P as compileScheduleIntent, _ as automationSummarySchema, b as automationVersionListSchema, c as automationLifecycleSchema, d as automationParamsSchema, f as automationRunListSchema, g as automationSchedulePreviewSchema, h as automationScheduleIntentSchema, i as automationExecutionListSchema, l as automationListQuerySchema, n as automationEditSchema, r as automationEventCatalogSchema, t as automationEditErrorSchema, u as automationListSchema, v as automationUpdateSchema, x as automationVersionParamsSchema, y as automationVersionActivateSchema } from "./automation-
|
|
6
|
+
import { C as juniorCodeRepositories, S as juniorCodeChanges, b as juniorApiTokens, m as juniorConversationParticipants, v as juniorConversationMetrics, y as juniorConversationEvents } from "./executor-C2cRw0hZ.js";
|
|
7
|
+
import { t as INPUT_IMAGE_TYPES } from "./media-U6Tuz6Mi.js";
|
|
8
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-Bw9kjGVu.js";
|
|
9
|
+
import { B as activateViewerAutomationVersion, Ct as conversationSubtreeColumns, G as ViewerTaskNotFoundError, H as deleteViewerTask, J as readViewerAutomationRuns, K as readConversationSourceTask, Ot as readUserCustomization, Q as AutomationEditError, St as conversationSubtree, U as readViewerAutomationEdit, V as changeViewerAutomationLifecycle, W as updateViewerAutomation, X as readViewerAutomationVersions, Y as readViewerAutomationSummary, Z as readViewerAutomations, bt as listChildAgents, dt as decodeInputImages, et as listOwnedWatches, it as appendAndEnqueueWebMessage, kt as saveUserCustomization, lt as webActorFromEmail, m as readStats, ot as createAndEnqueueConversation, pt as readLiveAttachment, q as readViewerAutomationExecutions, rt as acceptsWebMessages, x as createSlackReviewItemShow } from "./agent-runner-BiHsH8O_.js";
|
|
10
|
+
import { $t as workspaceRepoCheckoutPath, Ar as lookupSlackUser, D as listWaitingConversationIds, Er as listConversationAnnotations, F as isOnlyAssignee, G as deleteWorkspace, J as listWorkspaces, K as getWorkspace, M as canActOnReviewItem, O as searchReviewItems, W as createWorkspace, X as updateWorkspace, Y as listWorkspacesByRepository, Z as WorkspaceValidationError, Zt as SANDBOX_RUNTIME, _r as readConversationEventPage, ar as createPluginLogger, gr as readLatestConversationBrief, jr as createPluginCache, n as createUserTokenStore, nt as create, or as readConversationAccessFromSql, p as getPlugins, rt as hash, vr as buildSentryConversationUrl, x as countReviewItemsNeedingUser, z as reviewItemReaderForUser } from "./credentialed-mh7HBqey.js";
|
|
11
|
+
import { r as getStateAdapter } from "./adapter-Bqbtr1RV.js";
|
|
12
|
+
import { A as createConversationMessageBodySchema, M as forkConversationResponseSchema, N as steerConversationPendingMessagesBodySchema, P as steerConversationPendingMessagesResponseSchema, W as readMessageAttachments, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, c as conversationAttachmentParamsSchema, d as conversationDetailReportSchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, j as forkConversationBodySchema, k as createConversationBodySchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, x as conversationPendingMessagesReportSchema } from "./conversation-AhOVzN_k.js";
|
|
13
|
+
import { h as getChildAgentLabel } from "./store-Di0E4EvU.js";
|
|
14
|
+
import { d as getEventCatalog } from "./session-stop-DuUB1rwQ.js";
|
|
15
|
+
import { S as userCustomizationSchema, a as fillUtcSixHours, b as webMessageId, c as trailingUtcDayWindow, d as utcDayKey, f as utcHourKey, i as fillUtcHours, l as trailingUtcHourWindow, n as HOUR_MS$1, o as startOfUtcHour, r as fillUtcDays, s as sumUtcHoursIntoSixHours, t as DAY_MS$1, u as trailingUtcSixHourWindow } from "./reporting-window-DgHgwQB3.js";
|
|
16
|
+
import { s as getSandboxResources, t as getCachedSnapshot } from "./resolve-D44G1jJm.js";
|
|
17
|
+
import { a as getVercelConversationWorkQueue } from "./job-queue-CEeLYkSj.js";
|
|
18
|
+
import { E as steerWebPendingMessages, a as cancelHumanFacingPendingMessages, g as getConversationWorkState, h as getConversation } from "./store-BF2XEeQz.js";
|
|
19
|
+
import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-CHO3YXpt.js";
|
|
20
|
+
import { N as ScheduleIntentError, P as compileScheduleIntent, _ as automationSummarySchema, b as automationVersionListSchema, c as automationLifecycleSchema, d as automationParamsSchema, f as automationRunListSchema, g as automationSchedulePreviewSchema, h as automationScheduleIntentSchema, i as automationExecutionListSchema, l as automationListQuerySchema, n as automationEditSchema, r as automationEventCatalogSchema, t as automationEditErrorSchema, u as automationListSchema, v as automationUpdateSchema, x as automationVersionParamsSchema, y as automationVersionActivateSchema } from "./automation-Dwh_xcqM.js";
|
|
21
21
|
import { c as runtimeInfoReportSchema, n as pluginOperationalReportFeedSchema, s as pluginsSchema, t as healthReportSchema, u as skillReportsSchema } from "./reporting-schema-CZREhYc-.js";
|
|
22
|
-
import { B as actOnReviewItem, C as isAllowedSignInEmail, H as readReviewItemForUser, J as readHealthReport, N as stopConversationTurn, O as clearSlackPendingReactions, V as closeReviewItemsAnsweredByReply, W as getAttachmentStorage, a as resolveMentions, c as readConversationAuxiliaryCostsFromSql, d as notCopiedByFork, f as childAgentTotalsReport, g as resolveSlackTeamDomains, h as conversationSummaryFromStoredConversation, i as attachConversationMentions, l as ConversationForkError, m as conversationEventHistory, n as readConversationRecordFromSql, o as readFirstHumanMessageTexts, p as readConversationTreeMetricsFromSql, r as readConversationParticipants, s as listConversationSidebarAnnotations, t as readConversationFeed, u as forkConversation, y as getProductionSlackAdapter, z as ReviewItemActionError } from "./list-
|
|
23
|
-
import { d as legacyWebMailboxMetadataSchema } from "./result-
|
|
24
|
-
import { a as startConnection, l as getWebAuthorization, n as isConnectableProvider, r as listConnections, t as disconnectConnection, u as htmlCallbackResponse } from "./connections-
|
|
25
|
-
import { A as avatarParamsSchema, C as createdPersonalTokenSchema, D as revokePersonalTokenResponseSchema, E as personalTokenParamsSchema, F as locationDirectoryReportSchema, G as startConnectionResponseSchema, H as connectionParamsSchema, I as locationParamsSchema, L as activityDays$1, M as personalSpendReportSchema, O as actorDirectoryReportSchema, P as locationDetailReportSchema, Q as codeRepositoryReportSchema, R as activityHours$1, S as createPersonalTokenBodySchema, V as connectionListSchema, W as disconnectConnectionResponseSchema, X as codePersonReportSchema, Y as codeOverviewReportSchema, Z as codeRepositoryParamsSchema, _ as disconnectServiceAccountResponseSchema, a as workspaceBodySchema, at as conversationStatsReportSchema, d as reviewItemCountSchema, f as reviewItemListQuerySchema, g as reviewItemWaitingConversationsSchema, h as reviewItemSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, m as reviewItemParamsSchema, n as statsReportSchema, o as workspaceListSchema, ot as apiErrorSchema, p as reviewItemListSchema, rt as conversationChildAgentsReportSchema, s as workspaceParamsSchema, tt as conversationWatchesReportSchema, u as reviewItemActionSchema, v as serviceAccountListSchema, w as personalTokenListSchema, x as startServiceAccountSignInResponseSchema, y as serviceAccountParamsSchema, z as activitySixHours$1 } from "./schema-
|
|
22
|
+
import { B as actOnReviewItem, C as isAllowedSignInEmail, H as readReviewItemForUser, J as readHealthReport, N as stopConversationTurn, O as clearSlackPendingReactions, R as parseContent, V as closeReviewItemsAnsweredByReply, W as getAttachmentStorage, a as resolveMentions, c as readConversationAuxiliaryCostsFromSql, d as notCopiedByFork, f as childAgentTotalsReport, g as resolveSlackTeamDomains, h as conversationSummaryFromStoredConversation, i as attachConversationMentions, l as ConversationForkError, m as conversationEventHistory, n as readConversationRecordFromSql, o as readFirstHumanMessageTexts, p as readConversationTreeMetricsFromSql, r as readConversationParticipants, s as listConversationSidebarAnnotations, t as readConversationFeed, u as forkConversation, y as getProductionSlackAdapter, z as ReviewItemActionError } from "./list-DjJJ5K0x.js";
|
|
23
|
+
import { d as legacyWebMailboxMetadataSchema } from "./result-CvP8c5bb.js";
|
|
24
|
+
import { a as startConnection, l as getWebAuthorization, n as isConnectableProvider, r as listConnections, t as disconnectConnection, u as htmlCallbackResponse } from "./connections-BzN2K0G9.js";
|
|
25
|
+
import { A as avatarParamsSchema, C as createdPersonalTokenSchema, D as revokePersonalTokenResponseSchema, E as personalTokenParamsSchema, F as locationDirectoryReportSchema, G as startConnectionResponseSchema, H as connectionParamsSchema, I as locationParamsSchema, L as activityDays$1, M as personalSpendReportSchema, O as actorDirectoryReportSchema, P as locationDetailReportSchema, Q as codeRepositoryReportSchema, R as activityHours$1, S as createPersonalTokenBodySchema, V as connectionListSchema, W as disconnectConnectionResponseSchema, X as codePersonReportSchema, Y as codeOverviewReportSchema, Z as codeRepositoryParamsSchema, _ as disconnectServiceAccountResponseSchema, a as workspaceBodySchema, at as conversationStatsReportSchema, d as reviewItemCountSchema, f as reviewItemListQuerySchema, g as reviewItemWaitingConversationsSchema, h as reviewItemSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, m as reviewItemParamsSchema, n as statsReportSchema, o as workspaceListSchema, ot as apiErrorSchema, p as reviewItemListSchema, rt as conversationChildAgentsReportSchema, s as workspaceParamsSchema, tt as conversationWatchesReportSchema, u as reviewItemActionSchema, v as serviceAccountListSchema, w as personalTokenListSchema, x as startServiceAccountSignInResponseSchema, y as serviceAccountParamsSchema, z as activitySixHours$1 } from "./schema-DKZgO-xf.js";
|
|
26
26
|
import { Hono } from "hono";
|
|
27
27
|
import path from "node:path";
|
|
28
28
|
import { z } from "zod";
|
|
@@ -751,12 +751,29 @@ const slackMailboxAuthorSchema = z.object({
|
|
|
751
751
|
}).passthrough();
|
|
752
752
|
const slackMailboxMessageSchema = z.object({
|
|
753
753
|
author: slackMailboxAuthorSchema,
|
|
754
|
-
id: z.string().min(1)
|
|
754
|
+
id: z.string().min(1),
|
|
755
|
+
raw: z.unknown().optional()
|
|
755
756
|
}).passthrough();
|
|
756
757
|
const slackMailboxMetadataSchema = z.object({
|
|
757
758
|
message: slackMailboxMessageSchema,
|
|
758
759
|
platform: z.literal("slack")
|
|
759
760
|
}).passthrough();
|
|
761
|
+
/**
|
|
762
|
+
* Project Slack text the way the Turn stores it in history. The SDK text
|
|
763
|
+
* turns `<@U123>` into a bare `@U123` or `@name`, which the dashboard
|
|
764
|
+
* cannot render as a mention.
|
|
765
|
+
*/
|
|
766
|
+
function slackDisplayText(message, sdkText) {
|
|
767
|
+
return parseContent({
|
|
768
|
+
attachments: [],
|
|
769
|
+
formatted: {
|
|
770
|
+
type: "root",
|
|
771
|
+
children: []
|
|
772
|
+
},
|
|
773
|
+
raw: message.raw,
|
|
774
|
+
text: sdkText
|
|
775
|
+
}).text;
|
|
776
|
+
}
|
|
760
777
|
function isoFromMs(value) {
|
|
761
778
|
return new Date(value).toISOString();
|
|
762
779
|
}
|
|
@@ -807,7 +824,7 @@ async function projectPendingMessage(message, canExposePayload) {
|
|
|
807
824
|
const metadata = slackMailboxMetadataSchema.safeParse(message.input.metadata);
|
|
808
825
|
if (!metadata.success) return void 0;
|
|
809
826
|
if (metadata.data.message.author.isMe === true) return void 0;
|
|
810
|
-
const text = message.input.text.trim();
|
|
827
|
+
const text = slackDisplayText(metadata.data.message, message.input.text).trim();
|
|
811
828
|
if (!text) return void 0;
|
|
812
829
|
if (!canExposePayload) return {
|
|
813
830
|
createdAt: isoFromMs(message.createdAtMs),
|
|
@@ -833,6 +850,19 @@ async function projectPendingMessage(message, canExposePayload) {
|
|
|
833
850
|
};
|
|
834
851
|
}
|
|
835
852
|
}
|
|
853
|
+
async function attachPendingMentions(conversationId, messages) {
|
|
854
|
+
if (!messages.some((message) => message.text?.includes("<@"))) return messages;
|
|
855
|
+
const executor = getSqlExecutor();
|
|
856
|
+
const tenantId = (await loadConversationSlackTenantIds(executor, [conversationId])).get(conversationId);
|
|
857
|
+
const mentions = await resolveMentions(executor, messages.map((message) => ({
|
|
858
|
+
tenantId,
|
|
859
|
+
texts: [message.text]
|
|
860
|
+
})));
|
|
861
|
+
return messages.map((message, index) => mentions[index].length > 0 ? {
|
|
862
|
+
...message,
|
|
863
|
+
mentions: mentions[index]
|
|
864
|
+
} : message);
|
|
865
|
+
}
|
|
836
866
|
/**
|
|
837
867
|
* Read accepted mailbox messages that have not reached durable history yet.
|
|
838
868
|
*
|
|
@@ -850,7 +880,7 @@ async function readConversationPendingMessages(conversationId, options = {}) {
|
|
|
850
880
|
conversationId
|
|
851
881
|
}) : void 0;
|
|
852
882
|
const work = await getConversation({ conversationId });
|
|
853
|
-
const messages = (await Promise.all((work?.execution.pendingMessages ?? []).map((message) => projectPendingMessage(message, canExposePayload)))).filter((message) => Boolean(message));
|
|
883
|
+
const messages = await attachPendingMentions(conversationId, (await Promise.all((work?.execution.pendingMessages ?? []).map((message) => projectPendingMessage(message, canExposePayload)))).filter((message) => Boolean(message)));
|
|
854
884
|
return conversationPendingMessagesReportSchema.parse({
|
|
855
885
|
...authorization ? { authorization: {
|
|
856
886
|
authorizationUrl: authorization.authorizationUrl,
|
|
@@ -2696,7 +2726,7 @@ async function readPeoplePluginReports(args) {
|
|
|
2696
2726
|
reports: [],
|
|
2697
2727
|
source: "plugins"
|
|
2698
2728
|
});
|
|
2699
|
-
const { getPluginProfileReports } = await import("./credentialed-
|
|
2729
|
+
const { getPluginProfileReports } = await import("./credentialed-mh7HBqey.js").then((n) => n.a);
|
|
2700
2730
|
return pluginOperationalReportFeedSchema.parse({
|
|
2701
2731
|
generatedAt: new Date(nowMs).toISOString(),
|
|
2702
2732
|
reports: await getPluginProfileReports({
|
|
@@ -3448,10 +3478,10 @@ function createUserCustomizationRoutes() {
|
|
|
3448
3478
|
const ARCHIVED_LIMIT = 50;
|
|
3449
3479
|
const cursorSchema = z.object({
|
|
3450
3480
|
conversationId: z.string().min(1).optional(),
|
|
3481
|
+
createdAtMs: z.number().int(),
|
|
3451
3482
|
id: z.string().min(1),
|
|
3452
3483
|
query: z.string().min(1).optional(),
|
|
3453
|
-
|
|
3454
|
-
version: z.literal(1)
|
|
3484
|
+
version: z.literal(2)
|
|
3455
3485
|
}).strict();
|
|
3456
3486
|
/**
|
|
3457
3487
|
* Encode the last open item of a page as the cursor of the next page. The
|
|
@@ -3460,9 +3490,9 @@ const cursorSchema = z.object({
|
|
|
3460
3490
|
function encodeCursor(item, filters) {
|
|
3461
3491
|
return Buffer.from(JSON.stringify({
|
|
3462
3492
|
...filters,
|
|
3493
|
+
createdAtMs: item.createdAt.getTime(),
|
|
3463
3494
|
id: item.id,
|
|
3464
|
-
|
|
3465
|
-
version: 1
|
|
3495
|
+
version: 2
|
|
3466
3496
|
}), "utf8").toString("base64url");
|
|
3467
3497
|
}
|
|
3468
3498
|
/** Decode a cursor of the same list, or return undefined. */
|
|
@@ -3471,8 +3501,8 @@ function decodeCursor(cursor, filters) {
|
|
|
3471
3501
|
const parsed = cursorSchema.parse(JSON.parse(Buffer.from(cursor, "base64url").toString("utf8")));
|
|
3472
3502
|
if (parsed.conversationId !== filters.conversationId || parsed.query !== filters.query) return;
|
|
3473
3503
|
return {
|
|
3474
|
-
|
|
3475
|
-
|
|
3504
|
+
createdAt: new Date(parsed.createdAtMs),
|
|
3505
|
+
id: parsed.id
|
|
3476
3506
|
};
|
|
3477
3507
|
} catch {
|
|
3478
3508
|
return;
|
|
@@ -3502,6 +3532,7 @@ function reviewItemPayload(item, viewer) {
|
|
|
3502
3532
|
updatedAt: item.updatedAt.toISOString(),
|
|
3503
3533
|
visibility: item.visibility,
|
|
3504
3534
|
...item.answer ? { answer: item.answer } : void 0,
|
|
3535
|
+
...item.addedByTurnId ? { addedByTurnId: item.addedByTurnId } : void 0,
|
|
3505
3536
|
...item.automationId ? { automationId: item.automationId } : void 0,
|
|
3506
3537
|
...item.closeReason ? { closeReason: item.closeReason } : void 0,
|
|
3507
3538
|
...item.closedAt ? { closedAt: item.closedAt.toISOString() } : void 0,
|
|
@@ -3531,12 +3562,13 @@ function createReviewItemRoutes(services) {
|
|
|
3531
3562
|
const open = await searchReviewItems(db, reader, {
|
|
3532
3563
|
...filters,
|
|
3533
3564
|
limit: query.limit + 1,
|
|
3565
|
+
order: "oldest",
|
|
3534
3566
|
statuses: ["open"],
|
|
3535
3567
|
...after ? { after } : void 0
|
|
3536
3568
|
});
|
|
3537
3569
|
const page = open.slice(0, query.limit);
|
|
3538
3570
|
const last = page.at(-1);
|
|
3539
|
-
const archived = filters.query && !after ? await searchReviewItems(db, reader, {
|
|
3571
|
+
const archived = (filters.query || query.include === "archived") && !after ? await searchReviewItems(db, reader, {
|
|
3540
3572
|
...filters,
|
|
3541
3573
|
limit: 51,
|
|
3542
3574
|
statuses: ["done", "dismissed"]
|
|
@@ -3710,7 +3742,7 @@ function readDescriptionText(home) {
|
|
|
3710
3742
|
}
|
|
3711
3743
|
/** Read discovered skill names for authenticated runtime diagnostics. */
|
|
3712
3744
|
async function readSkillReports() {
|
|
3713
|
-
const { discoverSkills } = await import("./skills-
|
|
3745
|
+
const { discoverSkills } = await import("./skills-DHK7L9Eo.js").then((n) => n.o);
|
|
3714
3746
|
const skills = await discoverSkills();
|
|
3715
3747
|
return skillReportsSchema.parse(skills.map((skill) => ({
|
|
3716
3748
|
name: skill.name,
|
|
@@ -3719,7 +3751,7 @@ async function readSkillReports() {
|
|
|
3719
3751
|
}
|
|
3720
3752
|
/** Read safe configured plugin metadata for authenticated runtime diagnostics. */
|
|
3721
3753
|
async function readPlugins() {
|
|
3722
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
3754
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-Bw9kjGVu.js").then((n) => n.t);
|
|
3723
3755
|
return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
3724
3756
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
3725
3757
|
description: plugin.manifest.description,
|
|
@@ -3731,7 +3763,7 @@ async function readPlugins() {
|
|
|
3731
3763
|
async function readRuntimeInfoReport() {
|
|
3732
3764
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
3733
3765
|
import("./package-discovery-DJBompdd.js").then((n) => n.r),
|
|
3734
|
-
import("./catalog-runtime-
|
|
3766
|
+
import("./catalog-runtime-Bw9kjGVu.js").then((n) => n.t),
|
|
3735
3767
|
readPlugins(),
|
|
3736
3768
|
readSkillReports()
|
|
3737
3769
|
]);
|
|
@@ -3748,7 +3780,7 @@ async function readRuntimeInfoReport() {
|
|
|
3748
3780
|
/** Read sanitized operational summaries contributed by plugins. */
|
|
3749
3781
|
async function readPluginOperationalReportFeed() {
|
|
3750
3782
|
const nowMs = Date.now();
|
|
3751
|
-
const { getPluginOperationalReports } = await import("./credentialed-
|
|
3783
|
+
const { getPluginOperationalReports } = await import("./credentialed-mh7HBqey.js").then((n) => n.a);
|
|
3752
3784
|
return pluginOperationalReportFeedSchema.parse({
|
|
3753
3785
|
source: "plugins",
|
|
3754
3786
|
generatedAt: new Date(nowMs).toISOString(),
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { n as ConversationWorkQueue, t as ConversationQueueMessage } from "./queue-C37RbDVc.js";
|
|
2
|
-
import { t as ConversationStore } from "./db-
|
|
3
|
-
import "./schema-
|
|
2
|
+
import { t as ConversationStore } from "./db-DSabI7jJ.js";
|
|
3
|
+
import "./schema-DPCvePop.js";
|
|
4
4
|
import { n as JuniorPluginSet } from "./plugins-B_0Cr0MO.js";
|
|
5
5
|
import { Hono } from "hono";
|
|
6
6
|
import "@earendil-works/pi-ai/compat";
|
|
@@ -12,9 +12,9 @@ import "drizzle-orm";
|
|
|
12
12
|
import { Destination, OwnedObjectAnnotation, PluginRegistration, Source, User } from "@sentry/junior-plugin-api";
|
|
13
13
|
import "@earendil-works/pi-agent-core";
|
|
14
14
|
import "@earendil-works/pi-ai";
|
|
15
|
-
import "@sinclair/typebox";
|
|
16
15
|
import "@modelcontextprotocol/sdk/client/auth.js";
|
|
17
16
|
import { Client } from "@modelcontextprotocol/sdk/client";
|
|
17
|
+
import "@sinclair/typebox";
|
|
18
18
|
import { Message, StateAdapter } from "chat";
|
|
19
19
|
import "@chat-adapter/slack";
|
|
20
20
|
declare const TURN_REASONING_LEVELS: readonly ["none", "low", "medium", "high", "xhigh"];
|
|
@@ -270,6 +270,12 @@ interface JuniorAppOptions extends BotModelConfig {
|
|
|
270
270
|
* have no profile email, so `allowedDomains` blocks them otherwise.
|
|
271
271
|
*/
|
|
272
272
|
allowedBotUserIds?: string[];
|
|
273
|
+
/**
|
|
274
|
+
* Join each public channel created after this is on. Existing channels
|
|
275
|
+
* are not joined. The Slack app must subscribe to `channel_created`.
|
|
276
|
+
* Defaults to `false`.
|
|
277
|
+
*/
|
|
278
|
+
autoJoinNewChannels?: boolean;
|
|
273
279
|
};
|
|
274
280
|
/** Install-wide provider defaults. Unregistered `provider.key` entries warn at startup. */
|
|
275
281
|
configDefaults?: Record<string, unknown>;
|
package/dist/app.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as ModelProfileInput, i as JuniorDashboardOptions, n as JuniorAppOptions, r as createApp, t as JuniorApp } from "./app-
|
|
1
|
+
import { a as ModelProfileInput, i as JuniorDashboardOptions, n as JuniorAppOptions, r as createApp, t as JuniorApp } from "./app-C81xfpNa.js";
|
|
2
2
|
import { i as defineJuniorPlugins, n as JuniorPluginSet, r as JuniorPluginSetOptions, t as JuniorPluginInput } from "./plugins-B_0Cr0MO.js";
|
|
3
3
|
import { t as JUNIOR_VERSION } from "./version-Cc2OFd9G.js";
|
|
4
4
|
export { JUNIOR_VERSION, JuniorApp, JuniorAppOptions, type JuniorDashboardOptions, type JuniorPluginInput, type JuniorPluginSet, type JuniorPluginSetOptions, type ModelProfileInput, createApp, defineJuniorPlugins };
|