@sentry/junior 0.278.0 → 0.279.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.
Files changed (86) hide show
  1. package/dist/{adapter-BXosqTMx.js → adapter-phTTgw7H.js} +1 -1
  2. package/dist/{admin-Thn7NfOi.js → admin-PcpJDugZ.js} +1 -1
  3. package/dist/{agent-invocations-D7c4BQGc.js → agent-invocations-CUg_SODU.js} +0 -1
  4. package/dist/{agent-runner-DE-43MPb.js → agent-runner-DwvT1BY0.js} +76 -35
  5. package/dist/api/schema.d.ts +2 -2
  6. package/dist/api/schema.js +5 -5
  7. package/dist/api.d.ts +1 -1
  8. package/dist/api.js +37 -367
  9. package/dist/{app-CHNS-AX2.d.ts → app-DVs6noo7.d.ts} +3 -3
  10. package/dist/app.d.ts +1 -1
  11. package/dist/app.js +460 -77
  12. package/dist/{assistant-reply-pauL6qyn.js → assistant-reply-BXfxczd7.js} +1 -1
  13. package/dist/{automation-DphoTRYl.js → automation-BehArCcq.js} +1 -1
  14. package/dist/{background-compaction-queue-CAL4A2y7.js → background-compaction-queue-CcbuLJrZ.js} +2 -2
  15. package/dist/{briefs-4fyPJJEu.js → briefs-Dd_ezwED.js} +10 -9
  16. package/dist/{catalog-runtime-BoOb5oUv.js → catalog-runtime-BWVMeZhW.js} +2 -2
  17. package/dist/cli/chat.js +16 -16
  18. package/dist/cli/check.js +3 -3
  19. package/dist/cli/main.js +4 -4
  20. package/dist/cli/plugins.js +5 -5
  21. package/dist/cli/snapshot-create.js +4 -4
  22. package/dist/cli/upgrade.d.ts +1 -1
  23. package/dist/cli/upgrade.js +4 -4
  24. package/dist/{client-v_OVYuHZ.js → client-Bpxe4vKa.js} +7 -3
  25. package/dist/{config-o2jLRY5J.js → config-C_bmRhrJ.js} +2 -2
  26. package/dist/{connections-RC4NXAx8.js → connections-B2rHe5W5.js} +10 -10
  27. package/dist/{conversation-CZfyQvdm.js → conversation-CIiJtx5q.js} +6 -1
  28. package/dist/conversation-pending-messages-CnBvE6-6.js +173 -0
  29. package/dist/{conversation-privacy-C23M8KaD.js → conversation-privacy-CzOfcz0U.js} +1 -1
  30. package/dist/{credential-sync-Dd0WyNfF.js → credential-sync-Dal_unpv.js} +15 -15
  31. package/dist/{db-BjLzDJCt.d.ts → db-CyLrV9C7.d.ts} +1 -1
  32. package/dist/{executor-CJfsD0VX.js → executor-BfYH-Wws.js} +6 -4
  33. package/dist/instrumentation.d.ts +12 -0
  34. package/dist/instrumentation.js +56 -23
  35. package/dist/{logging-dFaXvBRK.js → logging-CkT3_Xxp.js} +2 -2
  36. package/dist/{message-DSwxIZet.js → message-Q5dkgaJ5.js} +10 -10
  37. package/dist/nitro.d.ts +1 -1
  38. package/dist/nitro.js +18 -6
  39. package/dist/{oauth-callback-server-CDcuCp27.js → oauth-callback-server-BDRaqe8O.js} +2 -2
  40. package/dist/{oauth-relay-C6ZAyJgf.js → oauth-relay-D0G3T16m.js} +1 -1
  41. package/dist/{package-discovery-DJBompdd.js → package-discovery-DJhGdS4c.js} +1 -1
  42. package/dist/{plugins-DOm9Y6qI.js → plugins-HYh_JOdw.js} +1 -1
  43. package/dist/{projection-BTge9wrH.js → projection-DWxX7pb1.js} +122 -44
  44. package/dist/{prompt-DDtCnlHP.js → prompt--dwus7Y-.js} +1 -1
  45. package/dist/proxy-path-BHYoKZdq.js +15 -0
  46. package/dist/{registry-Cp6CNmtP.js → registry-DnrdeO4s.js} +2 -2
  47. package/dist/{resolve-B_7h2cXx.js → resolve-C_QXfqD_.js} +3 -3
  48. package/dist/{result-5LBEfnLX.js → result-DNmOxT-N.js} +10 -10
  49. package/dist/{runner-C5-S4oq-.js → runner-zd_noJ1l.js} +11 -11
  50. package/dist/{sandbox-egress-signals-B4GehT1L.js → sandbox-egress-signals-DQjv-nbG.js} +1 -1
  51. package/dist/{schema-B5fpczDw.js → schema-CNJNzvr8.js} +5 -68
  52. package/dist/{schema-Tr484cCC.d.ts → schema-e90H5FIN.d.ts} +988 -1
  53. package/dist/sentry-BRTJqumy.js +51 -0
  54. package/dist/sentry-DrKC2NeM.d.ts +1 -0
  55. package/dist/sentry-route-name-BhwWnfqj.js +51 -0
  56. package/dist/{service-account-Cq_dLrZJ.js → service-account-BK26XlHo.js} +3 -3
  57. package/dist/{service-account-BkEv20zf.js → service-account-CCH2Hv4h.js} +3 -3
  58. package/dist/{session-stop-BsS4qFS2.js → session-stop-6Tf--T7G.js} +14 -14
  59. package/dist/{skills-M0BA0_s6.js → skills-BNrk8gi4.js} +4 -4
  60. package/dist/{spawn-BO3y7H4d.js → spawn-C75hAB9l.js} +3 -3
  61. package/dist/{stop-D5R82Wla.js → stop-RYbf7PWi.js} +516 -172
  62. package/dist/{store-BGBzQWNf.js → store-CO5vGjwD.js} +5 -5
  63. package/dist/{store-CGJZTEVz.js → store-G3h2djJU.js} +3 -3
  64. package/dist/{task-queue-UD27ei2U.js → task-queue-DlN58XeM.js} +3 -3
  65. package/dist/{task-runner-noxjOjkM.js → task-runner-B-Bdm23d.js} +21 -9
  66. package/dist/{thread-state-BSu6rM6p.js → thread-state-Cj_7Slru.js} +4 -4
  67. package/dist/{turn-failure-response-wahwyPrZ.js → turn-failure-response-CE7gaoC7.js} +7 -7
  68. package/dist/{turn-lifecycle-Bo4Trccw.js → turn-lifecycle-7sXwXLJ6.js} +1 -1
  69. package/dist/{turn-session-routing-DnSaaEpn.js → turn-session-routing-FBdaH1zf.js} +10 -10
  70. package/dist/{validation-B9-8iKyw.js → validation-DLWxEzWW.js} +2 -2
  71. package/dist/{version-C7HejFP2.js → version-DtQ8WFIZ.js} +1 -1
  72. package/dist/version.js +1 -1
  73. package/dist/{viewer-DLXajQZE.js → viewer-vsM8_90o.js} +5 -5
  74. package/dist/{work-DRGSlfia.js → work-DsoFRO_0.js} +10 -10
  75. package/dist/{worker-BGh5Dwc6.js → worker-6kZEsCXs.js} +7 -7
  76. package/migrations/0077_drop_agent_invocation_model_profile.sql +1 -0
  77. package/migrations/0078_plugin_conversation_index.sql +20 -0
  78. package/migrations/0079_conversation_event_author_index.sql +20 -0
  79. package/migrations/meta/0077_snapshot.json +4141 -0
  80. package/migrations/meta/0078_snapshot.json +4175 -0
  81. package/migrations/meta/0079_snapshot.json +4203 -0
  82. package/migrations/meta/_journal.json +21 -0
  83. package/package.json +5 -5
  84. package/dist/common-Eu6sx09c.js +0 -107
  85. package/dist/rolldown-runtime-nwUcYXjP.js +0 -27
  86. package/dist/sentry-MDkYAVPV.js +0 -23
package/dist/api.js CHANGED
@@ -1,28 +1,26 @@
1
- import { $r as updateWorkspace, Ba as readConversationViewerMarks, En as webActorUserIds, Gn as countReviewItemsNeedingUser, Jr as deleteWorkspace, Ln as getPlugins, Qn as searchReviewItems, Qr as listWorkspacesByRepository, Sn as isExperimentalFeatureEnabled, Yr as getWorkspace, Zn as listWaitingConversations, Zr as listWorkspaces, ai as create, ar as isOnlyAssignee, co as createPluginCache, ei as WorkspaceValidationError, ja as readConversationAccessFromSql, ka as createPluginLogger, nr as canActOnReviewItem, oi as hash, pa as workspaceRepoCheckoutPath, qr as createWorkspace, so as lookupSlackUser, ua as SANDBOX_RUNTIME, ur as reviewItemReaderForUser, wn as createUserTokenStore } from "./projection-BTge9wrH.js";
2
- import { m as escapeXml } from "./client-v_OVYuHZ.js";
3
- import { m as logInfo, p as logException } from "./logging-dFaXvBRK.js";
4
- import { t as JUNIOR_VERSION } from "./version-C7HejFP2.js";
5
- import { A as loadConversationSlackTenantIds, C as getSqlExecutor, S as getDb, c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarImage, t as findUserByEmail, tt as resolveRootConversationId, x as getConversationStore } from "./viewer-DLXajQZE.js";
6
- import { c as juniorIdentities, d as juniorDestinations, l as juniorUsers, s as juniorConversations } from "./agent-invocations-D7c4BQGc.js";
7
- import { C as juniorCodeChanges, b as juniorConversationEvents, h as juniorConversationParticipants, w as juniorCodeRepositories, x as juniorApiTokens, y as juniorConversationMetrics } from "./executor-CJfsD0VX.js";
1
+ import { $r as updateWorkspace, Aa as createPluginLogger, Gn as countReviewItemsNeedingUser, Jr as deleteWorkspace, Ln as getPlugins, Ma as readConversationAccessFromSql, Qn as searchReviewItems, Qr as listWorkspacesByRepository, Sn as isExperimentalFeatureEnabled, Va as readConversationViewerMarks, Yr as getWorkspace, Zn as listWaitingConversations, Zr as listWorkspaces, ai as create, ar as isOnlyAssignee, do as createPluginCache, ei as WorkspaceValidationError, nr as canActOnReviewItem, oi as hash, pa as workspaceRepoCheckoutPath, qr as createWorkspace, ua as SANDBOX_RUNTIME, ur as reviewItemReaderForUser, wn as createUserTokenStore } from "./projection-DWxX7pb1.js";
2
+ import { m as escapeXml } from "./client-Bpxe4vKa.js";
3
+ import { m as logInfo, p as logException } from "./logging-CkT3_Xxp.js";
4
+ import { t as JUNIOR_VERSION } from "./version-DtQ8WFIZ.js";
5
+ import { C as getSqlExecutor, S as getDb, c as readViewerAvatarUrl, d as updateViewerDisplayName, l as resolveViewerUser, m as readAvatarImage, t as findUserByEmail, x as getConversationStore } from "./viewer-vsM8_90o.js";
6
+ import { c as juniorIdentities, d as juniorDestinations, l as juniorUsers, s as juniorConversations } from "./agent-invocations-CUg_SODU.js";
7
+ import { C as juniorCodeChanges, b as juniorConversationEvents, w as juniorCodeRepositories, x as juniorApiTokens, y as juniorConversationMetrics } from "./executor-BfYH-Wws.js";
8
8
  import { t as INPUT_IMAGE_TYPES } from "./media-DTAA8Qs_.js";
9
- import { n as pluginCatalogRuntime } from "./catalog-runtime-BoOb5oUv.js";
10
- import { $ as readViewerAutomations, Ct as listChildAgents, Et as conversationSubtreeColumns, G as readViewerAutomationEdit, H as activateViewerAutomationVersion, K as updateViewerAutomation, Mt as saveUserCustomization, Q as readViewerAutomationVersions, S as createSlackReviewItemShow, Tt as conversationSubtree, U as changeViewerAutomationLifecycle, W as deleteViewerTask, X as readViewerAutomationRuns, Y as readViewerAutomationExecutions, Z as readViewerAutomationSummary, et as AutomationEditError, ft as webActorFromUser, gt as readLiveAttachment, h as readStats, jt as readUserCustomization, lt as createAndEnqueueConversation, mt as decodeInputImages, nt as listOwnedWatches, ot as acceptsWebMessages, q as ViewerTaskNotFoundError, st as appendAndEnqueueWebMessage } from "./agent-runner-DE-43MPb.js";
11
- import { r as getStateAdapter } from "./adapter-BXosqTMx.js";
12
- import { C as createConversationMessageBodySchema, D as conversationReadPositionSchema, R as readMessageAttachments, S as createConversationBodySchema, T as forkConversationResponseSchema, a as conversationAttachmentParamsSchema, c as conversationDetailReportSchema, d as conversationEventsQuerySchema, f as conversationFeedQuerySchema, m as conversationParamsSchema, n as acceptedConversationMessageSchema, p as conversationFeedSchema, s as conversationDetailQuerySchema, t as CONVERSATION_DETAIL_VERSION_HEADER, u as conversationEventPageSchema, w as forkConversationBodySchema } from "./conversation-CZfyQvdm.js";
13
- import { d as getEventCatalog } from "./session-stop-BsS4qFS2.js";
14
- 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";
15
- import { s as getSandboxResources, t as getCachedSnapshot } from "./resolve-B_7h2cXx.js";
16
- import { l as getVercelConversationWorkQueue } from "./background-compaction-queue-CAL4A2y7.js";
17
- import { E as steerWebPendingMessages, a as cancelHumanFacingPendingMessages, g as getConversationWorkState, h as getConversation } from "./store-CGJZTEVz.js";
18
- import { F as conversationRangeColumns, N as conversationActiveDaysColumn, P as conversationAggregateColumns, ct as AutomationConflictError, ft as automationEventCatalog, j as readAutomationTitlesByConversationId } from "./turn-session-routing-DnSaaEpn.js";
19
- import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-BkEv20zf.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-DphoTRYl.js";
21
- import { c as pluginsSchema, d as skillReportsSchema, l as runtimeInfoReportSchema, n as healthReportSchema, r as pluginOperationalReportFeedSchema, t as apiErrorSchema } from "./common-Eu6sx09c.js";
22
- import { $ as setConversationAutoArchive, C as getProductionSlackAdapter, D as isAllowedSignInEmail, G as closeReviewItemsAnsweredByReply, H as parseContent, J as DEFAULT_AUTO_ARCHIVE_SETTINGS, K as readReviewItemForUser, M as clearSlackPendingReactions, U as ReviewItemActionError, W as actOnReviewItem, X as readConversationAutoArchive, Y as archiveViewerDoneConversations, Z as readUserAutoArchiveSettings, _ as readFirstHumanMessageTexts, a as readConversationAgentTree, b as archiveConversation, c as readConversationForks, ct as readHealthReport, et as updateUserAutoArchiveSettings, f as readConversationAuxiliaryCostsFromSql, g as resolveMentions, h as conversationSummaryFromStoredConversation, i as readConversationReadPosition, it as getAttachmentStorage, l as readConversationEvents, m as readConversationTreeMetricsFromSql, n as readConversationDetail, nt as jsonResponse, o as forkConversationForViewer, p as childAgentTotalsReport, r as markConversationRead, rt as throwApiError, s as keepQuickQuestionForViewer, t as stopConversationTurnForViewer, tt as emptyResponse, u as readConversationFeed } from "./stop-D5R82Wla.js";
23
- import { f as legacyWebMailboxMetadataSchema } from "./result-5LBEfnLX.js";
24
- import { a as startConnection, l as getWebAuthorization, n as isConnectableProvider, r as listConnections, t as disconnectConnection, u as htmlCallbackResponse } from "./connections-RC4NXAx8.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, _t as conversationAutoArchiveSchema, a as workspaceBodySchema, at as conversationStatsReportSchema, d as reviewItemCountSchema, dt as conversationPendingMessagesReportSchema, f as reviewItemListQuerySchema, ft as steerConversationPendingMessagesBodySchema, g as reviewItemWaitingConversationsSchema, gt as archiveDoneConversationsResponseSchema, h as reviewItemSchema, ht as archiveConversationResponseSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, m as reviewItemParamsSchema, mt as archiveConversationBodySchema, n as statsReportSchema, o as workspaceListSchema, ot as cancelConversationPendingMessagesBodySchema, p as reviewItemListSchema, pt as steerConversationPendingMessagesResponseSchema, rt as conversationChildAgentsReportSchema, s as workspaceParamsSchema, st as cancelConversationPendingMessagesResponseSchema, tt as conversationWatchesReportSchema, u as reviewItemActionSchema, v as serviceAccountListSchema, vt as pinConversationBodySchema, w as personalTokenListSchema, x as startServiceAccountSignInResponseSchema, y as serviceAccountParamsSchema, yt as pinConversationResponseSchema, z as activitySixHours$1 } from "./schema-B5fpczDw.js";
9
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-BWVMeZhW.js";
10
+ import { $ as readViewerAutomations, Ct as listChildAgents, Et as conversationSubtreeColumns, G as readViewerAutomationEdit, H as activateViewerAutomationVersion, K as updateViewerAutomation, Mt as saveUserCustomization, Q as readViewerAutomationVersions, S as createSlackReviewItemShow, Tt as conversationSubtree, U as changeViewerAutomationLifecycle, W as deleteViewerTask, X as readViewerAutomationRuns, Y as readViewerAutomationExecutions, Z as readViewerAutomationSummary, et as AutomationEditError, ft as webActorFromUser, gt as readLiveAttachment, h as readStats, jt as readUserCustomization, nt as listOwnedWatches, q as ViewerTaskNotFoundError } from "./agent-runner-DwvT1BY0.js";
11
+ import { r as getStateAdapter } from "./adapter-phTTgw7H.js";
12
+ import { C as createConversationMessageBodySchema, D as conversationReadPositionSchema, S as createConversationBodySchema, T as forkConversationResponseSchema, a as conversationAttachmentParamsSchema, c as conversationDetailReportSchema, d as conversationEventsQuerySchema, f as conversationFeedQuerySchema, m as conversationParamsSchema, n as acceptedConversationMessageSchema, p as conversationFeedSchema, s as conversationDetailQuerySchema, t as CONVERSATION_DETAIL_VERSION_HEADER, u as conversationEventPageSchema, w as forkConversationBodySchema } from "./conversation-CIiJtx5q.js";
13
+ import { d as getEventCatalog } from "./session-stop-6Tf--T7G.js";
14
+ import { S as userCustomizationSchema, 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 } from "./reporting-window-DgHgwQB3.js";
15
+ import { s as getSandboxResources, t as getCachedSnapshot } from "./resolve-C_QXfqD_.js";
16
+ import { l as getVercelConversationWorkQueue } from "./background-compaction-queue-CcbuLJrZ.js";
17
+ import { F as conversationRangeColumns, N as conversationActiveDaysColumn, P as conversationAggregateColumns, ct as AutomationConflictError, ft as automationEventCatalog, j as readAutomationTitlesByConversationId } from "./turn-session-routing-FBdaH1zf.js";
18
+ import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-CCH2Hv4h.js";
19
+ 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-BehArCcq.js";
20
+ import { _ as pluginsSchema, b as skillReportsSchema, c as steerConversationPendingMessagesBodySchema, d as healthReportSchema, f as pluginOperationalReportFeedSchema, l as steerConversationPendingMessagesResponseSchema, n as cancelConversationPendingMessagesResponseSchema, r as conversationDetailWithMailboxReportSchema, s as conversationPendingMessagesReportSchema, t as cancelConversationPendingMessagesBodySchema, u as apiErrorSchema, v as runtimeInfoReportSchema } from "./conversation-pending-messages-CnBvE6-6.js";
21
+ import { $ as readReviewItemForUser, A as getProductionSlackAdapter, C as cancelConversationPendingMessagesForViewer, D as archiveConversation, E as resolveMentions, P as isAllowedSignInEmail, T as requireConversationPendingMessages, X as ReviewItemActionError, Z as actOnReviewItem, _ as conversationSummaryFromStoredConversation, a as markConversationRead, b as createConversationForViewer, c as forkConversationForViewer, ct as emptyResponse, d as readConversationEvents, dt as getAttachmentStorage, f as readConversationFeed, g as readConversationTreeMetricsFromSql, h as childAgentTotalsReport, ht as readHealthReport, i as readConversationDetail, it as readUserAutoArchiveSettings, l as keepQuickQuestionForViewer, lt as jsonResponse, m as readConversationAuxiliaryCostsFromSql, n as steerConversationPendingMessagesForViewer, nt as archiveViewerDoneConversations, o as readConversationReadPosition, ot as setConversationAutoArchive, r as pinConversation, rt as readConversationAutoArchive, s as readConversationAgentTree, st as updateUserAutoArchiveSettings, t as stopConversationTurnForViewer, tt as DEFAULT_AUTO_ARCHIVE_SETTINGS, u as readConversationForks, ut as throwApiError, v as readFirstHumanMessageTexts, y as appendConversationMessageForViewer } from "./stop-RYbf7PWi.js";
22
+ import { a as startConnection, n as isConnectableProvider, r as listConnections, t as disconnectConnection, u as htmlCallbackResponse } from "./connections-B2rHe5W5.js";
23
+ 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, ct as archiveDoneConversationsResponseSchema, d as reviewItemCountSchema, dt as pinConversationResponseSchema, f as reviewItemListQuerySchema, g as reviewItemWaitingConversationsSchema, h as reviewItemSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, lt as conversationAutoArchiveSchema, m as reviewItemParamsSchema, n as statsReportSchema, o as workspaceListSchema, ot as archiveConversationBodySchema, p as reviewItemListSchema, rt as conversationChildAgentsReportSchema, s as workspaceParamsSchema, st as archiveConversationResponseSchema, tt as conversationWatchesReportSchema, u as reviewItemActionSchema, ut as pinConversationBodySchema, v as serviceAccountListSchema, w as personalTokenListSchema, x as startServiceAccountSignInResponseSchema, y as serviceAccountParamsSchema, z as activitySixHours$1 } from "./schema-CNJNzvr8.js";
26
24
  import { Hono } from "hono";
27
25
  import path from "node:path";
28
26
  import { createHash, randomBytes, randomUUID } from "node:crypto";
@@ -55,42 +53,6 @@ const requireAdmin = createMiddleware(async (context, next) => {
55
53
  if (viewer.isAdmin !== true) throwApiError(403, "Only Junior admins can do this.");
56
54
  await next();
57
55
  });
58
- // src/api/conversations/pin.ts
59
- /**
60
- * Pin or unpin one conversation for the signed-in viewer.
61
- *
62
- * A pin lives on the viewer's participant row, and that row grants send and
63
- * control access. So only a participant can pin, the same as archive. The
64
- * root actor may have no row yet, so pinning adds it. A pin also restores an
65
- * archived conversation, because the Pinned section shows only active
66
- * conversations.
67
- */
68
- async function pinConversation(viewer, conversationId, body) {
69
- if (!(await readConversationAccessFromSql(getDb(), [conversationId], viewer)).get(conversationId)?.isParticipant) throwApiError(404, "Conversation not found.");
70
- const executor = getSqlExecutor();
71
- const rootConversationId = await resolveRootConversationId(executor, conversationId);
72
- const db = executor.db();
73
- if (!body.pinned) {
74
- await db.update(juniorConversationParticipants).set({ pinnedAt: null }).where(and(eq(juniorConversationParticipants.userId, viewer.id), eq(juniorConversationParticipants.rootConversationId, rootConversationId)));
75
- return { pinnedAt: null };
76
- }
77
- const [root] = await db.select({ lastActivityAt: juniorConversations.lastActivityAt }).from(juniorConversations).where(eq(juniorConversations.conversationId, rootConversationId)).limit(1);
78
- if (!root) throwApiError(404, "Conversation not found.");
79
- const pinnedAt = /* @__PURE__ */ new Date();
80
- await db.insert(juniorConversationParticipants).values({
81
- lastMessageAt: root.lastActivityAt,
82
- pinnedAt,
83
- rootConversationId,
84
- userId: viewer.id
85
- }).onConflictDoUpdate({
86
- target: [juniorConversationParticipants.userId, juniorConversationParticipants.rootConversationId],
87
- set: {
88
- archivedAt: null,
89
- pinnedAt
90
- }
91
- });
92
- return { pinnedAt: pinnedAt.toISOString() };
93
- }
94
56
  // src/api/conversations/child-agents.ts
95
57
  /**
96
58
  * Load the direct child agents of one Conversation, or throw a standard API
@@ -170,89 +132,6 @@ async function requireConversationAttachment(args) {
170
132
  if (!opened) throwApiError(404, "Attachment not found.");
171
133
  return opened;
172
134
  }
173
- // src/api/conversations/create.ts
174
- /** Turn image validation failures into request errors before accepting work. */
175
- function parseImages(images) {
176
- try {
177
- return decodeInputImages(images ?? []);
178
- } catch (error) {
179
- throwApiError(400, error instanceof Error ? error.message : "Unable to read images.");
180
- }
181
- }
182
- function actorFromViewer(viewer) {
183
- const normalized = viewer.email.trim().toLowerCase();
184
- return webActorFromUser(viewer, { userName: normalized.split("@")[0] || normalized });
185
- }
186
- /** Create a dashboard root conversation and enqueue its first message. */
187
- async function createConversationForViewer(viewer, body, services) {
188
- const images = parseImages(body.images);
189
- try {
190
- return await createAndEnqueueConversation({
191
- actor: actorFromViewer(viewer),
192
- idempotencyKey: body.idempotencyKey,
193
- message: body.message,
194
- images,
195
- ...body.visibility ? { visibility: body.visibility } : void 0
196
- }, {
197
- conversationStore: getConversationStore(),
198
- attachmentStorage: services.attachmentStorage,
199
- queue: services.queue
200
- });
201
- } catch (error) {
202
- throwApiError(500, "Unable to create conversation.", error);
203
- }
204
- }
205
- /** Append one dashboard message to an existing conversation. */
206
- async function appendConversationMessageForViewer(viewer, conversationId, body, services) {
207
- const conversation = await getConversationStore().get({ conversationId });
208
- if (!conversation) throwApiError(404, "Conversation not found.");
209
- if (!acceptsWebMessages(conversationId, conversation.destination)) throwApiError(409, "Conversation does not accept web messages.");
210
- if (!(await readConversationAccessFromSql(getDb(), [conversationId], viewer)).get(conversationId)?.isParticipant) throwApiError(403, "Only conversation participants can add messages.");
211
- const images = parseImages(body.images);
212
- const actor = actorFromViewer(viewer);
213
- const append = () => appendAndEnqueueWebMessage({
214
- actor,
215
- conversationId,
216
- idempotencyKey: body.idempotencyKey,
217
- message: body.message,
218
- images
219
- }, {
220
- conversationStore: getConversationStore(),
221
- attachmentStorage: services.attachmentStorage,
222
- queue: services.queue
223
- });
224
- const closeAnswered = () => closeReviewItemsAnsweredByReply({
225
- conversationId,
226
- delivery: {
227
- queue: services.queue,
228
- show: createSlackReviewItemShow(getProductionSlackAdapter)
229
- },
230
- resolveUser: async () => viewer,
231
- text: body.message
232
- });
233
- try {
234
- let accepted;
235
- try {
236
- accepted = await append();
237
- } catch (error) {
238
- const state = getStateAdapter();
239
- await state.connect();
240
- const [messageId, work] = await Promise.all([webMessageId({
241
- conversationId,
242
- idempotencyKey: body.idempotencyKey
243
- }), getConversationWorkState({
244
- conversationId,
245
- state
246
- })]);
247
- if (work?.execution.inboundMessageIds.includes(messageId)) await closeAnswered();
248
- throw error;
249
- }
250
- await closeAnswered();
251
- return accepted;
252
- } catch (error) {
253
- throwApiError(500, "Unable to append message.", error);
254
- }
255
- }
256
135
  // src/api/conversations/detail-etag.ts
257
136
  /**
258
137
  * Sum the detail versions of a Conversation and its child agents. Child
@@ -303,220 +182,6 @@ async function readConversationDetailEtag(conversationId, options) {
303
182
  });
304
183
  return createHash("sha256").update(basis).digest("hex");
305
184
  }
306
- // src/api/conversations/cancel-pending-messages.ts
307
- /** Cancel accepted human-facing mailbox rows for one conversation participant. */
308
- async function cancelConversationPendingMessagesForViewer(viewer, conversationId, body = {}) {
309
- if (!await getConversationStore().get({ conversationId })) throwApiError(404, "Conversation not found.");
310
- if (!(await readConversationAccessFromSql(getDb(), [conversationId], viewer)).get(conversationId)?.isParticipant) throwApiError(403, "Only conversation participants can cancel queued messages.");
311
- try {
312
- const result = await cancelHumanFacingPendingMessages({
313
- conversationId,
314
- ...body.inboundMessageIds ? { inboundMessageIds: body.inboundMessageIds } : void 0,
315
- ...body.receivedBefore ? { receivedBeforeMs: Date.parse(body.receivedBefore) } : void 0,
316
- conversationStore: getConversationStore()
317
- });
318
- await clearSlackPendingReactions({
319
- getSlackAdapter: getProductionSlackAdapter,
320
- messages: result.cancelledMessages
321
- });
322
- return {
323
- cancelledCount: result.cancelledInboundMessageIds.length,
324
- cancelledInboundMessageIds: result.cancelledInboundMessageIds,
325
- conversationId
326
- };
327
- } catch (error) {
328
- throwApiError(500, "Unable to cancel queued messages.", error);
329
- }
330
- }
331
- // src/api/conversations/steer-pending-messages.ts
332
- /**
333
- * Steer the viewer's own queued web messages into the conversation now.
334
- *
335
- * Only the author can steer a message. Ids that are not the viewer's queued
336
- * web messages, or that Junior already read, are left out of the result.
337
- */
338
- async function steerConversationPendingMessagesForViewer(viewer, conversationId, body) {
339
- if (!await getConversationStore().get({ conversationId })) throwApiError(404, "Conversation not found.");
340
- if (!(await readConversationAccessFromSql(getDb(), [conversationId], viewer)).get(conversationId)?.isParticipant) throwApiError(403, "Only conversation participants can steer queued messages.");
341
- return {
342
- conversationId,
343
- steeredInboundMessageIds: (await steerWebPendingMessages({
344
- authorIds: webActorUserIds(viewer),
345
- conversationId,
346
- inboundMessageIds: body.inboundMessageIds
347
- })).steeredInboundMessageIds
348
- };
349
- }
350
- // src/api/conversations/pending-messages.ts
351
- const slackMailboxAuthorSchema = z.object({
352
- userId: z.string(),
353
- userName: z.string().optional(),
354
- fullName: z.string().optional(),
355
- isMe: z.boolean().optional()
356
- }).passthrough();
357
- const slackMailboxMessageSchema = z.object({
358
- author: slackMailboxAuthorSchema,
359
- id: z.string().min(1),
360
- raw: z.unknown().optional()
361
- }).passthrough();
362
- const slackMailboxMetadataSchema = z.object({
363
- message: slackMailboxMessageSchema,
364
- platform: z.literal("slack")
365
- }).passthrough();
366
- /**
367
- * Project Slack text the way the Turn stores it in history. The SDK text
368
- * turns `<@U123>` into a bare `@U123` or `@name`, which the dashboard
369
- * cannot render as a mention.
370
- */
371
- function slackDisplayText(message, sdkText) {
372
- return parseContent({
373
- attachments: [],
374
- formatted: {
375
- type: "root",
376
- children: []
377
- },
378
- raw: message.raw,
379
- text: sdkText
380
- }).text;
381
- }
382
- function isoFromMs(value) {
383
- return new Date(value).toISOString();
384
- }
385
- function actorIdentityFromWebMetadata(metadata) {
386
- return {
387
- email: metadata.authorEmail.trim().toLowerCase(),
388
- ...metadata.authorFullName ? { fullName: metadata.authorFullName } : void 0
389
- };
390
- }
391
- async function actorIdentityFromSlackMetadata(metadata, teamId) {
392
- if (metadata.message.author.isMe === true) return void 0;
393
- const slackUserId = metadata.message.author.userId.trim();
394
- if (!slackUserId) return void 0;
395
- const profile = teamId ? await lookupSlackUser(teamId, slackUserId) : null;
396
- const slackUserName = profile?.userName?.trim() || metadata.message.author.userName?.trim();
397
- const fullName = profile?.fullName?.trim() || metadata.message.author.fullName?.trim();
398
- const email = profile?.email?.trim().toLowerCase();
399
- return {
400
- slackUserId,
401
- ...slackUserName ? { slackUserName } : void 0,
402
- ...fullName ? { fullName } : void 0,
403
- ...email ? { email } : void 0
404
- };
405
- }
406
- async function projectPendingMessage(message, canExposePayload) {
407
- if (message.source === "web") {
408
- const metadata = legacyWebMailboxMetadataSchema.safeParse(message.input.metadata);
409
- if (!metadata.success) return void 0;
410
- const text = message.input.text.trim();
411
- const attachments = readMessageAttachments(message.input.attachments);
412
- if (!text && !attachments.length) return void 0;
413
- return {
414
- createdAt: isoFromMs(message.createdAtMs),
415
- delivery: message.delivery,
416
- inboundMessageId: message.inboundMessageId,
417
- messageId: metadata.data.messageId,
418
- receivedAt: isoFromMs(message.receivedAtMs),
419
- role: "user",
420
- source: "web",
421
- ...canExposePayload ? {
422
- actorIdentity: actorIdentityFromWebMetadata(metadata.data),
423
- text,
424
- ...attachments.length ? { attachments } : void 0,
425
- ...message.input.reviewItemChange ? { reviewItemChange: message.input.reviewItemChange } : void 0
426
- } : { redacted: true }
427
- };
428
- }
429
- if (message.source === "slack") {
430
- const metadata = slackMailboxMetadataSchema.safeParse(message.input.metadata);
431
- if (!metadata.success) return void 0;
432
- if (metadata.data.message.author.isMe === true) return void 0;
433
- const text = slackDisplayText(metadata.data.message, message.input.text).trim();
434
- if (!text) return void 0;
435
- if (!canExposePayload) return {
436
- createdAt: isoFromMs(message.createdAtMs),
437
- delivery: message.delivery,
438
- inboundMessageId: message.inboundMessageId,
439
- messageId: metadata.data.message.id,
440
- receivedAt: isoFromMs(message.receivedAtMs),
441
- redacted: true,
442
- role: "user",
443
- source: "slack"
444
- };
445
- const actorIdentity = await actorIdentityFromSlackMetadata(metadata.data, message.destination?.platform === "slack" ? message.destination.teamId : void 0);
446
- return {
447
- createdAt: isoFromMs(message.createdAtMs),
448
- delivery: message.delivery,
449
- inboundMessageId: message.inboundMessageId,
450
- messageId: metadata.data.message.id,
451
- receivedAt: isoFromMs(message.receivedAtMs),
452
- role: "user",
453
- source: "slack",
454
- ...actorIdentity ? { actorIdentity } : void 0,
455
- ...message.input.reviewItemChange ? { reviewItemChange: message.input.reviewItemChange } : void 0,
456
- text
457
- };
458
- }
459
- }
460
- async function attachPendingMentions(conversationId, messages) {
461
- if (!messages.some((message) => message.text?.includes("<@"))) return messages;
462
- const executor = getSqlExecutor();
463
- const tenantId = (await loadConversationSlackTenantIds(executor, [conversationId])).get(conversationId);
464
- const mentions = await resolveMentions(executor, messages.map((message) => ({
465
- tenantId,
466
- texts: [message.text]
467
- })));
468
- return messages.map((message, index) => mentions[index].length > 0 ? {
469
- ...message,
470
- mentions: mentions[index]
471
- } : message);
472
- }
473
- /** Read the viewer's pending authorization, also one saved before a deploy. */
474
- async function findViewerWebAuthorization(conversationId, viewer) {
475
- for (const actorId of webActorUserIds(viewer)) {
476
- const authorization = await getWebAuthorization({
477
- actorId,
478
- conversationId
479
- });
480
- if (authorization) return authorization;
481
- }
482
- }
483
- /**
484
- * Read accepted mailbox messages that have not reached durable history yet.
485
- *
486
- * Returns only human-facing web and Slack rows. Internal mailbox work stays
487
- * hidden from the transcript.
488
- */
489
- async function readConversationPendingMessages(conversationId, options = {}) {
490
- if (!await getConversationStore().get({ conversationId })) return void 0;
491
- const access = (await readConversationAccessFromSql(getDb(), [conversationId], options.viewer)).get(conversationId);
492
- const canExposePayload = access?.canViewPrivateContent ?? false;
493
- const authorization = (access?.isParticipant ?? false) && options.viewer ? await findViewerWebAuthorization(conversationId, options.viewer) : void 0;
494
- const pendingMessages = (await getConversation({ conversationId }))?.execution.pendingMessages ?? [];
495
- const messages = await attachPendingMentions(conversationId, (await Promise.all(pendingMessages.map((message) => projectPendingMessage(message, canExposePayload)))).flatMap((message, index) => {
496
- if (!message) return [];
497
- const actorIdentityId = pendingMessages[index].input.authorIdentityId;
498
- return [canExposePayload && actorIdentityId ? {
499
- ...message,
500
- actorIdentityId
501
- } : message];
502
- }));
503
- return conversationPendingMessagesReportSchema.parse({
504
- ...authorization ? { authorization: {
505
- authorizationUrl: authorization.authorizationUrl,
506
- completionText: authorization.completionText,
507
- label: authorization.label
508
- } } : void 0,
509
- conversationId,
510
- generatedAt: (/* @__PURE__ */ new Date()).toISOString(),
511
- messages
512
- });
513
- }
514
- /** Load pending mailbox messages or throw a standard API not-found error. */
515
- async function requireConversationPendingMessages(conversationId, options = {}) {
516
- const report = await readConversationPendingMessages(conversationId, options);
517
- if (!report) throwApiError(404, "Conversation not found.");
518
- return report;
519
- }
520
185
  // src/api/conversations/metric-buckets.ts
521
186
  /** Sum all Conversation metrics into UTC day or hour buckets. */
522
187
  async function readConversationMetricBuckets(db, options) {
@@ -1026,8 +691,9 @@ function createConversationRoutes(options) {
1026
691
  });
1027
692
  app.get("/:conversationId", validateRequest("param", conversationParamsSchema, "Invalid route parameters."), validateRequest("query", conversationDetailQuerySchema, "Invalid query parameters."), async (context) => {
1028
693
  const { conversationId } = context.req.valid("param");
1029
- const query = context.req.valid("query");
694
+ const { mailbox: withMailbox, ...query } = context.req.valid("query");
1030
695
  const viewer = context.get("viewer");
696
+ const mailbox = withMailbox ? await requireConversationPendingMessages(conversationId, { ...viewer ? { viewer } : void 0 }) : void 0;
1031
697
  const etag = await readConversationDetailEtag(conversationId, {
1032
698
  limit: query.limit,
1033
699
  ...viewer ? { viewer } : void 0
@@ -1036,7 +702,7 @@ function createConversationRoutes(options) {
1036
702
  "cache-control": "private, no-store",
1037
703
  [CONVERSATION_DETAIL_VERSION_HEADER]: etag
1038
704
  } : void 0;
1039
- if (headers && context.req.header("x-junior-detail-version") === etag) return new Response(null, {
705
+ if (headers && !mailbox && context.req.header("x-junior-detail-version") === etag) return new Response(null, {
1040
706
  status: 304,
1041
707
  headers
1042
708
  });
@@ -1045,7 +711,11 @@ function createConversationRoutes(options) {
1045
711
  ...viewer ? { viewer } : void 0
1046
712
  });
1047
713
  if (!report) throwApiError(404, "Conversation not found.");
1048
- return jsonResponse(conversationDetailReportSchema, report, headers ? { headers } : void 0);
714
+ const init = headers ? { headers } : void 0;
715
+ return mailbox ? jsonResponse(conversationDetailWithMailboxReportSchema, {
716
+ ...report,
717
+ mailbox
718
+ }, init) : jsonResponse(conversationDetailReportSchema, report, init);
1049
719
  });
1050
720
  return app;
1051
721
  }
@@ -2319,7 +1989,7 @@ async function readPeoplePluginReports(args) {
2319
1989
  reports: [],
2320
1990
  source: "plugins"
2321
1991
  });
2322
- const { getPluginProfileReports } = await import("./projection-BTge9wrH.js").then((n) => n.kn);
1992
+ const { getPluginProfileReports } = await import("./projection-DWxX7pb1.js").then((n) => n.kn);
2323
1993
  return pluginOperationalReportFeedSchema.parse({
2324
1994
  generatedAt: new Date(nowMs).toISOString(),
2325
1995
  reports: await getPluginProfileReports({
@@ -3061,7 +2731,7 @@ function createAutomationRoutes() {
3061
2731
  */
3062
2732
  function createUserCustomizationRoutes() {
3063
2733
  const app = new Hono();
3064
- app.use("*", async (_context, next) => {
2734
+ app.use("*", async function requireUserCustomizationExperiment(_context, next) {
3065
2735
  if (!isExperimentalFeatureEnabled("user-customization")) throwApiError(404, "Resource not found.");
3066
2736
  await next();
3067
2737
  });
@@ -3347,7 +3017,7 @@ function readDescriptionText(home) {
3347
3017
  }
3348
3018
  /** Read discovered skill names for authenticated runtime diagnostics. */
3349
3019
  async function readSkillReports() {
3350
- const { discoverSkills } = await import("./skills-M0BA0_s6.js").then((n) => n.o);
3020
+ const { discoverSkills } = await import("./skills-BNrk8gi4.js").then((n) => n.o);
3351
3021
  const skills = await discoverSkills();
3352
3022
  return skillReportsSchema.parse(skills.map((skill) => ({
3353
3023
  name: skill.name,
@@ -3356,7 +3026,7 @@ async function readSkillReports() {
3356
3026
  }
3357
3027
  /** Read safe configured plugin metadata for authenticated runtime diagnostics. */
3358
3028
  async function readPlugins() {
3359
- const { pluginCatalogRuntime } = await import("./catalog-runtime-BoOb5oUv.js").then((n) => n.t);
3029
+ const { pluginCatalogRuntime } = await import("./catalog-runtime-BWVMeZhW.js").then((n) => n.t);
3360
3030
  return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
3361
3031
  configKeys: plugin.manifest.configKeys ?? [],
3362
3032
  description: plugin.manifest.description,
@@ -3367,8 +3037,8 @@ async function readPlugins() {
3367
3037
  /** Read authenticated runtime discovery data. */
3368
3038
  async function readRuntimeInfoReport() {
3369
3039
  const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
3370
- import("./package-discovery-DJBompdd.js").then((n) => n.r),
3371
- import("./catalog-runtime-BoOb5oUv.js").then((n) => n.t),
3040
+ import("./package-discovery-DJhGdS4c.js").then((n) => n.r),
3041
+ import("./catalog-runtime-BWVMeZhW.js").then((n) => n.t),
3372
3042
  readPlugins(),
3373
3043
  readSkillReports()
3374
3044
  ]);
@@ -3385,7 +3055,7 @@ async function readRuntimeInfoReport() {
3385
3055
  /** Read sanitized operational summaries contributed by plugins. */
3386
3056
  async function readPluginOperationalReportFeed() {
3387
3057
  const nowMs = Date.now();
3388
- const { getPluginOperationalReports } = await import("./projection-BTge9wrH.js").then((n) => n.kn);
3058
+ const { getPluginOperationalReports } = await import("./projection-DWxX7pb1.js").then((n) => n.kn);
3389
3059
  return pluginOperationalReportFeedSchema.parse({
3390
3060
  source: "plugins",
3391
3061
  generatedAt: new Date(nowMs).toISOString(),
@@ -1,12 +1,12 @@
1
1
  import { n as ConversationWorkQueue, t as ConversationQueueMessage } from "./queue-C37RbDVc.js";
2
- import { t as ConversationStore } from "./db-BjLzDJCt.js";
3
- import "./schema-Tr484cCC.js";
2
+ import { t as ConversationStore } from "./db-CyLrV9C7.js";
3
+ import "./schema-e90H5FIN.js";
4
4
  import { n as JuniorPluginSet } from "./plugins-DtmjkTza.js";
5
+ import "./sentry-DrKC2NeM.js";
5
6
  import { Hono } from "hono";
6
7
  import "@earendil-works/pi-ai/compat";
7
8
  import "@earendil-works/pi-ai/api/anthropic-messages";
8
9
  import "ai";
9
- import "@sentry/node";
10
10
  import { z } from "zod";
11
11
  import "drizzle-orm";
12
12
  import { Destination, OwnedObjectAnnotation, PluginRegistration, Source, User } from "@sentry/junior-plugin-api";
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-CHNS-AX2.js";
1
+ import { i as JuniorDashboardOptions, n as JuniorAppOptions, r as createApp, t as JuniorApp } from "./app-DVs6noo7.js";
2
2
  import { i as defineJuniorPlugins, n as JuniorPluginSet, r as JuniorPluginSetOptions, t as JuniorPluginInput } from "./plugins-DtmjkTza.js";
3
3
  import { t as JUNIOR_VERSION } from "./version-Cc2OFd9G.js";
4
4
  export { JUNIOR_VERSION, JuniorApp, JuniorAppOptions, type JuniorDashboardOptions, type JuniorPluginInput, type JuniorPluginSet, type JuniorPluginSetOptions, createApp, defineJuniorPlugins };