@sentry/junior 0.281.0 → 0.283.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 (76) hide show
  1. package/dist/{adapter-RVQGEa98.js → adapter-D8-lqOBF.js} +1 -1
  2. package/dist/{admin-DQpHx6Og.js → admin-Dnw5SCXp.js} +1 -1
  3. package/dist/{agent-runner-B229gXUY.js → agent-runner-Bj7GhysW.js} +52 -29
  4. package/dist/api/schema.d.ts +2 -2
  5. package/dist/api/schema.js +6 -6
  6. package/dist/api.d.ts +1 -1
  7. package/dist/api.js +94 -59
  8. package/dist/{app-BQ9RZS43.d.ts → app-CMBP-N43.d.ts} +2 -2
  9. package/dist/app.d.ts +1 -1
  10. package/dist/app.js +30 -30
  11. package/dist/{assistant-reply-DQbtwc6j.js → assistant-reply-CdYsLbXL.js} +1 -1
  12. package/dist/{automation-sIsmIXH7.js → automation-MLWOrghe.js} +1 -1
  13. package/dist/{background-compaction-queue-oegyrxSe.js → background-compaction-queue-Bbsqx8Vm.js} +2 -2
  14. package/dist/{briefs-BwzGWJgR.js → briefs-C4qBY-jb.js} +4 -4
  15. package/dist/{catalog-runtime-ClKzLvbN.js → catalog-runtime-B7NRB7eH.js} +1 -1
  16. package/dist/cli/chat.js +14 -14
  17. package/dist/cli/check.js +3 -3
  18. package/dist/cli/main.js +3 -3
  19. package/dist/cli/plugins.js +4 -4
  20. package/dist/cli/snapshot-create.js +4 -4
  21. package/dist/cli/upgrade.d.ts +1 -1
  22. package/dist/cli/upgrade.js +74 -7
  23. package/dist/{client-DkG0Tj53.js → client-a3Ib6wxr.js} +2 -2
  24. package/dist/{config-3AZ11aSM.js → config-DFVlYCeY.js} +97 -4
  25. package/dist/{connections-C0ut_6RW.js → connections-BtnvpBEV.js} +10 -10
  26. package/dist/{conversation-DNtcULyX.js → conversation-DdT7SNar.js} +3 -1
  27. package/dist/{conversation-pending-messages-LlFnr9-m.js → conversation-pending-messages-Dct5pheX.js} +1 -1
  28. package/dist/{conversation-privacy-DAgeBGLN.js → conversation-privacy-DLq-abjU.js} +1 -1
  29. package/dist/{credential-sync-Bg8NPuvj.js → credential-sync-B4XFVcjM.js} +13 -13
  30. package/dist/{db-BCFM0CUX.d.ts → db-A_WrTY-s.d.ts} +2 -1
  31. package/dist/{executor-DLKnzP6S.js → executor-HPgHGAWK.js} +20 -3
  32. package/dist/instrumentation.js +2 -2
  33. package/dist/{logging-DHzrobea.js → logging-2BXvW7Mp.js} +1 -1
  34. package/dist/{media-Dq9_svfQ.js → media-Bu9C6lz0.js} +3 -1
  35. package/dist/{message-LR8z5jXJ.js → message-BG1v1lXX.js} +9 -9
  36. package/dist/nitro.d.ts +1 -1
  37. package/dist/nitro.js +3 -11
  38. package/dist/{oauth-callback-server-EWdpj0_y.js → oauth-callback-server-CXNZJymo.js} +2 -2
  39. package/dist/{projection-Bhz1tp0G.js → projection-BfKkpOGQ.js} +42 -18
  40. package/dist/{prompt-DI6KCtwb.js → prompt-CCtaGgbI.js} +1 -1
  41. package/dist/{registry-EjhulgQW.js → registry-CLooHPAz.js} +1 -1
  42. package/dist/{resolve-Cw6OW4Fj.js → resolve-D3MK9oRJ.js} +3 -3
  43. package/dist/{result-BoD0jevy.js → result-BPCjUefO.js} +9 -9
  44. package/dist/{runner-D22bsBDS.js → runner-Ds31u3rB.js} +11 -11
  45. package/dist/{sandbox-egress-signals-BG5GYacQ.js → sandbox-egress-signals-CLd5RPUw.js} +1 -1
  46. package/dist/{schema-BN34Jy-U.js → schema-CHNP0GfH.js} +11 -4
  47. package/dist/{schema-CsqJzkP5.d.ts → schema-jW3ccLjp.d.ts} +22 -1
  48. package/dist/{service-account-xo-CeMqI.js → service-account-CWpTsoIM.js} +3 -3
  49. package/dist/{service-account-Dd1nnAQZ.js → service-account-D6AMahy7.js} +3 -3
  50. package/dist/{session-stop-CHSYB2uw.js → session-stop-D8LGC3H6.js} +12 -12
  51. package/dist/{skills-BGJr6xtW.js → skills-DuOKByQH.js} +2 -2
  52. package/dist/{spawn-Cl8WS7zi.js → spawn-CNIQGgAS.js} +2 -2
  53. package/dist/{stop-C9lHWpvl.js → stop-DX2oOIgl.js} +291 -204
  54. package/dist/{store-DeTnwVJt.js → store-61mD4ZSh.js} +4 -4
  55. package/dist/{store-C4z8gOgZ.js → store-DAJntSEv.js} +3 -3
  56. package/dist/{task-queue-BBos68l0.js → task-queue-BE70Pb9p.js} +3 -3
  57. package/dist/{task-runner-BSF9zO-H.js → task-runner-CmmfddSZ.js} +7 -7
  58. package/dist/{thread-state-DGq1o5JX.js → thread-state-0UfRMWYd.js} +4 -4
  59. package/dist/{turn-failure-response--9bA4uLP.js → turn-failure-response-DKdzxJHE.js} +7 -7
  60. package/dist/{turn-lifecycle-t5fimxwQ.js → turn-lifecycle-24sBZ4Ip.js} +1 -1
  61. package/dist/{turn-session-routing-RBtUe-3y.js → turn-session-routing-CzCnNAUO.js} +9 -9
  62. package/dist/{validation-DrR0leBT.js → validation-Cs_knhR8.js} +1 -1
  63. package/dist/{version-D_HFt_Dq.js → version-ZMC4cXWN.js} +1 -1
  64. package/dist/version.js +1 -1
  65. package/dist/{viewer-DWlpSFdj.js → viewer-CYB9T4rm.js} +19 -7
  66. package/dist/{work-pPoqtRea.js → work-J1n6RQkY.js} +11 -11
  67. package/dist/{worker-CoVKgJ-O.js → worker-s1fCvj1z.js} +6 -6
  68. package/migrations/0062_plugin_report_index.sql +3 -3
  69. package/migrations/0078_plugin_conversation_index.sql +3 -3
  70. package/migrations/0079_conversation_event_author_index.sql +3 -3
  71. package/migrations/0080_conversation_event_latest_message_indexes.sql +27 -0
  72. package/migrations/0081_conversation_pin_position.sql +1 -0
  73. package/migrations/meta/0080_snapshot.json +4265 -0
  74. package/migrations/meta/0081_snapshot.json +4271 -0
  75. package/migrations/meta/_journal.json +14 -0
  76. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- import { i as getChatConfig } from "./config-3AZ11aSM.js";
1
+ import { i as getChatConfig } from "./config-DFVlYCeY.js";
2
2
  import { t as ACTIVE_LOCK_TTL_MS } from "./locks-D-0h111u.js";
3
3
  import { createMemoryState } from "@chat-adapter/state-memory";
4
4
  import { createRedisState } from "@chat-adapter/state-redis";
@@ -1,4 +1,4 @@
1
- import { S as getDb, r as listAdminUsersFromSql, u as setUserAdminFromSql } from "./viewer-DWlpSFdj.js";
1
+ import { S as getDb, r as listAdminUsersFromSql, u as setUserAdminFromSql } from "./viewer-CYB9T4rm.js";
2
2
  import { CLI_USAGE } from "./cli/run.js";
3
3
  // src/cli/admin.ts
4
4
  /**
@@ -1,32 +1,32 @@
1
1
  import { g as withActiveSpan, i as getActiveSpan, m as startInactiveSpan, v as __exportAll } from "./sentry-BRTJqumy.js";
2
- import { $i as isWorkspaceSnapshotNotReadyError, $r as updateWorkspace, $t as isStandaloneRuntimeContextMessage, An as createPluginHookRunner, B as authorizationId, Bi as isConversationScopedChannel, Bt as createTurnLimitGate, Ca as sandboxSkillDir, Ci as addReactionToMessage, Da as buildNonInteractiveShellScript, Dn as getOAuthAccountProviders, Dr as findMatchingWatches, Ea as buildCommandScript, Ei as openSlackDirectMessage, Er as deliverWatch, Fi as SlackActionError, Fn as getPluginTools, Ft as TURN_LIMIT_WRAP_UP_MESSAGE, G as canReusePendingAuthLink, Gt as getPiMessageRole, H as AuthorizationFlowDisabledError, Hi as normalizeSlackConversationId, Hr as getDashboardTaskLink, Ht as CODEMODE_TOOL_NAME, Ii as downloadPrivateSlackFile, In as getPluginUserPromptContributions, It as TurnBudgetExceededError, Ji as isAlreadyExistsError, Jn as getReviewItem, Jr as deleteWorkspace, Jt as hasCurrentInstruction, Kn as dismissOpenReviewItems, Kr as renderToolResultNudge, Kt as getTerminalAssistantMessages, L as createPluginEgress, Li as getFilePermalink, Ln as getPlugins, Lt as TurnSliceLimitExceededError, Ma as readConversationAccessFromSql, Mi as uploadFilesToConversation, Oa as runNonInteractiveCommand, Or as getWatch, Pn as getPluginSystemPromptContributions, Qi as getWorkspaceSnapshotNotReadyError, Qn as searchReviewItems, Qt as isContinuablePiBoundary, R as PluginCredentialFailureError, Rt as TurnToolCallLimitExceededError, Sa as SANDBOX_WORKSPACE_ROOT, Sn as isExperimentalFeatureEnabled, Sr as cancelWatch, T as resolveTaskTitle, Ta as sandboxSkillPathResolution, Ti as getSlackMessagePermalink, Tn as findLegacyWebActorUserId, Tr as createWatch, U as AuthorizationPauseError, Ui as runWithSlackInstallationToken, V as AuthPausePersistenceError, Vr as getDashboardReviewItemLink, Vt as isTurnExecutionLimitExceededError, W as abandonReplacedPendingAuth, Wi as withSlackRetries, Wn as closeReviewItem, Wr as ToolInputError, Wt as extractAssistantText, X as loadTurnCheckpoint, Xi as wrapSandboxSetupError, Xr as getWorkspaceByName, Y as continuableMessages, Yi as throwSandboxOperationError, Yn as insertReviewItem, Yr as getWorkspace, Yt as hasRuntimeTurnContext, Z as saveTurnCheckpoint, Zi as WorkspaceSnapshotNotReadyError, Zr as listWorkspaces, Zt as isAssistantMessage, _a as SANDBOX_COMMAND_PATH, _i as escapeSlackMrkdwnText, _n as estimateTextTokens, _o as piMessageFromHistoryItem, _r as RESOURCE_SUBSCRIPTION_DEFAULT_TTL_MS, ai as create, an as trimTrailingAssistantMessages, ba as SANDBOX_REPOS_ROOT, bn as getAgentContextInputLimitTokens, bo as conversationNoteEvent, br as STOP_WATCHING_TOOL_NAME, c as recordAgentsInstructionsUpdated, ca as resolveSandboxCommandEnvironment, ci as ensureDockerDaemon, cn as TURN_CONTEXT_TAG, cr as requireReviewItemLinks, da as sleep, do as resolveUserTimezone, dr as EVERYONE_ASSIGNEE, ea as workspaceSnapshotNotReadyUserMessage, ei as WorkspaceValidationError, en as isToolResultError, er as updateReviewItemContent, f as recordAuthorizationRequested, fa as tryWorkspaceRepoCheckoutPath, fi as deliverOAuthAuthorization, fr as automationCreatorUserId, g as recordToolExecutionStarted, gn as estimateRequestOverheadTokens, go as historyItemFromPiMessage, gr as getSlackToolContext, hi as resolveBaseUrl, hn as calculateContextCompactionTargetTokens, hr as resolveChannelCapabilities, i as loadConversationProjection, ia as createSandboxEgressCredentialToken, ii as setWorkspaceSnapshotBuild, in as stripRuntimeTurnContext, ir as canReadReviewItem, ja as canAccessConversation, ji as updateSlackMessage, ki as postSlackMessage, kr as listWatches, l as recordAttachmentsDelivered, li as getSandboxProvider, m as recordMcpProviderConnected, ma as PluginToolDeniedError, mr as resolveAssignees, na as consumeSandboxEgressAuthRequiredSignal, ni as loadSnapshotsForProfile, nn as normalizeToolNameFromResult, oi as hash, on as REQUEST_CONTEXT_SECTION_TAG, oo as saveObjectAnnotations, or as readReviewItemAgentScope, p as recordGuardianActionReviewed, pa as workspaceRepoCheckoutPath, pi as formatProviderLabel, pr as resolveAssignee, qi as isAbortError, qn as getOpenReviewItemByDedupeKey, qr as createWorkspace, qt as getUserMessageInstructionText, r as loadConnectedMcpProviders, ra as consumeSandboxEgressPermissionDeniedSignal, ri as setWorkspaceSnapshot, rn as retainRuntimeTurnContext, rr as canAgentChangeReviewItem, sa as buildSandboxEgressNetworkPolicy, si as isStale, sn as SESSION_CONTEXT_SECTION_TAG, so as createPluginAnnotations, sr as requireReviewItemAssignees, ta as clearSandboxEgressSignals, ti as invalidateReadySnapshot, tn as isToolResultMessage, to as matchSlackAttachments, tr as PLUGIN_REVIEW_ITEM_KEY_PREFIX, ua as SANDBOX_RUNTIME, un as buildDeterministicTurnId, uo as defaultTimezone, va as SANDBOX_DATA_ROOT, vn as getAgentBackgroundCompactionMarkTokens, vo as projectConversationEvents, vr as RESOURCE_SUBSCRIPTION_MAX_TTL_MS, w as fallbackShortTitle, wa as sandboxSkillFile, wi as deleteSlackMessage, wn as createUserTokenStore, wr as createTimerWatch, xa as SANDBOX_SKILLS_ROOT, xi as slackMention, xo as getConfigDefaults, xr as cancelSubscriptions, ya as SANDBOX_JUNIOR_ROOT, yi as normalizeSlackReplyMarkdown, yn as getAgentContextCompactionTriggerTokens, yo as JUNIOR_NATIVE_EVENT_NAMESPACE, yr as RESOURCE_WATCH_TOOL_SOURCE, z as createPluginAuthOrchestration, zi as getSlackClient, zr as getDashboardConversationLink } from "./projection-Bhz1tp0G.js";
3
- import { C as resolveGatewayCredential, S as getGatewayApiKey, _ as createProviderError, a as completeText, c as resolveGatewayModel, d as isCompactionSummaryText, f as renderCurrentInstruction, g as ProviderError, h as escapeXmlText, i as completeObject, l as COMPACTION_SUMMARY_PREFIX, m as escapeXml, n as GEN_AI_SERVER_ADDRESS, p as unwrapCurrentInstruction, t as GEN_AI_PROVIDER_NAME, u as hasCompactedConversationContext, v as findProviderError, x as isProviderRetryError, y as getProviderErrorAttributes } from "./client-DkG0Tj53.js";
4
- import { _ as toPiReasoningLevel, g as TURN_REASONING_LEVELS, n as botConfig, v as normalizeSlackEmojiName } from "./config-3AZ11aSM.js";
5
- import { B as runWithLogAttributes, C as summarizeMessageText, E as withSpan, K as toOptionalString, S as setTags, T as withLogContext, U as normalizeIdentityEmail, W as isRecord$4, _ as runBestEffort, a as extractGenAiUsageSummary, b as setSpanAttributes, d as logAudit, f as logError, g as normalizeGenAiFinishReason, h as logWarn, i as extractGenAiUsageAttributes, l as getLogContextAttributesForSpan, m as logInfo, p as logException, u as getTracePropagationHeaders, v as serializeGenAiAttribute, x as setSpanStatus } from "./logging-DHzrobea.js";
6
- import { a as toCanonicalInputMessage, c as toGenAiPayloadMetadata, i as runWithConversationPrivacy, l as toGenAiPayloadTraceAttributes, o as toCanonicalOutputMessage, r as resolveConversationPrivacy, s as toGenAiMessagesTraceAttributes } from "./conversation-privacy-DAgeBGLN.js";
2
+ import { $i as isWorkspaceSnapshotNotReadyError, $r as updateWorkspace, $t as isStandaloneRuntimeContextMessage, An as createPluginHookRunner, B as authorizationId, Bi as isConversationScopedChannel, Bt as createTurnLimitGate, Ca as sandboxSkillDir, Ci as addReactionToMessage, Da as buildNonInteractiveShellScript, Dn as getOAuthAccountProviders, Dr as findMatchingWatches, Ea as buildCommandScript, Ei as openSlackDirectMessage, Er as deliverWatch, Fi as SlackActionError, Fn as getPluginTools, Ft as TURN_LIMIT_WRAP_UP_MESSAGE, G as canReusePendingAuthLink, Gt as getPiMessageRole, H as AuthorizationFlowDisabledError, Hi as normalizeSlackConversationId, Hr as getDashboardTaskLink, Ht as CODEMODE_TOOL_NAME, Ii as downloadPrivateSlackFile, In as getPluginUserPromptContributions, It as TurnBudgetExceededError, Ji as isAlreadyExistsError, Jn as getReviewItem, Jr as deleteWorkspace, Jt as hasCurrentInstruction, Kn as dismissOpenReviewItems, Kr as renderToolResultNudge, Kt as getTerminalAssistantMessages, L as createPluginEgress, Li as getFilePermalink, Ln as getPlugins, Lt as TurnSliceLimitExceededError, Mi as uploadFilesToConversation, Na as readConversationAccessFromSql, Oa as runNonInteractiveCommand, Or as getWatch, Pn as getPluginSystemPromptContributions, Qi as getWorkspaceSnapshotNotReadyError, Qn as searchReviewItems, Qt as isContinuablePiBoundary, R as PluginCredentialFailureError, Rt as TurnToolCallLimitExceededError, Sa as SANDBOX_WORKSPACE_ROOT, Sn as isExperimentalFeatureEnabled, So as getConfigDefaults, Sr as cancelWatch, T as resolveTaskTitle, Ta as sandboxSkillPathResolution, Ti as getSlackMessagePermalink, Tn as findLegacyWebActorUserId, Tr as createWatch, U as AuthorizationPauseError, Ui as runWithSlackInstallationToken, V as AuthPausePersistenceError, Vr as getDashboardReviewItemLink, Vt as isTurnExecutionLimitExceededError, W as abandonReplacedPendingAuth, Wi as withSlackRetries, Wn as closeReviewItem, Wr as ToolInputError, Wt as extractAssistantText, X as loadTurnCheckpoint, Xi as wrapSandboxSetupError, Xr as getWorkspaceByName, Y as continuableMessages, Yi as throwSandboxOperationError, Yn as insertReviewItem, Yr as getWorkspace, Yt as hasRuntimeTurnContext, Z as saveTurnCheckpoint, Zi as WorkspaceSnapshotNotReadyError, Zr as listWorkspaces, Zt as isAssistantMessage, _a as SANDBOX_COMMAND_PATH, _i as escapeSlackMrkdwnText, _n as estimateTextTokens, _o as historyItemFromPiMessage, _r as RESOURCE_SUBSCRIPTION_DEFAULT_TTL_MS, ai as create, an as trimTrailingAssistantMessages, ba as SANDBOX_REPOS_ROOT, bn as getAgentContextInputLimitTokens, bo as JUNIOR_NATIVE_EVENT_NAMESPACE, br as STOP_WATCHING_TOOL_NAME, c as recordAgentsInstructionsUpdated, ca as resolveSandboxCommandEnvironment, ci as ensureDockerDaemon, cn as TURN_CONTEXT_TAG, co as createPluginAnnotations, cr as requireReviewItemLinks, da as sleep, do as defaultTimezone, dr as EVERYONE_ASSIGNEE, ea as workspaceSnapshotNotReadyUserMessage, ei as WorkspaceValidationError, en as isToolResultError, er as updateReviewItemContent, f as recordAuthorizationRequested, fa as tryWorkspaceRepoCheckoutPath, fi as deliverOAuthAuthorization, fo as resolveUserTimezone, fr as automationCreatorUserId, g as recordToolExecutionStarted, gn as estimateRequestOverheadTokens, gr as getSlackToolContext, hi as resolveBaseUrl, hn as calculateContextCompactionTargetTokens, hr as resolveChannelCapabilities, i as loadConversationProjection, ia as createSandboxEgressCredentialToken, ii as setWorkspaceSnapshotBuild, in as stripRuntimeTurnContext, ir as canReadReviewItem, ja as canAccessConversation, ji as updateSlackMessage, ki as postSlackMessage, kr as listWatches, l as recordAttachmentsDelivered, li as getSandboxProvider, m as recordMcpProviderConnected, ma as PluginToolDeniedError, mr as resolveAssignees, na as consumeSandboxEgressAuthRequiredSignal, ni as loadSnapshotsForProfile, nn as normalizeToolNameFromResult, no as matchSlackAttachments, oi as hash, on as REQUEST_CONTEXT_SECTION_TAG, or as readReviewItemAgentScope, p as recordGuardianActionReviewed, pa as workspaceRepoCheckoutPath, pi as formatProviderLabel, pr as resolveAssignee, qi as isAbortError, qn as getOpenReviewItemByDedupeKey, qr as createWorkspace, qt as getUserMessageInstructionText, r as loadConnectedMcpProviders, ra as consumeSandboxEgressPermissionDeniedSignal, ri as setWorkspaceSnapshot, rn as retainRuntimeTurnContext, rr as canAgentChangeReviewItem, sa as buildSandboxEgressNetworkPolicy, si as isStale, sn as SESSION_CONTEXT_SECTION_TAG, so as saveObjectAnnotations, sr as requireReviewItemAssignees, ta as clearSandboxEgressSignals, ti as invalidateReadySnapshot, tn as isToolResultMessage, tr as PLUGIN_REVIEW_ITEM_KEY_PREFIX, ua as SANDBOX_RUNTIME, un as buildDeterministicTurnId, va as SANDBOX_DATA_ROOT, vn as getAgentBackgroundCompactionMarkTokens, vo as piMessageFromHistoryItem, vr as RESOURCE_SUBSCRIPTION_MAX_TTL_MS, w as fallbackShortTitle, wa as sandboxSkillFile, wi as deleteSlackMessage, wn as createUserTokenStore, wr as createTimerWatch, xa as SANDBOX_SKILLS_ROOT, xi as slackMention, xo as conversationNoteEvent, xr as cancelSubscriptions, ya as SANDBOX_JUNIOR_ROOT, yi as normalizeSlackReplyMarkdown, yn as getAgentContextCompactionTriggerTokens, yo as projectConversationEvents, yr as RESOURCE_WATCH_TOOL_SOURCE, z as createPluginAuthOrchestration, zi as getSlackClient, zr as getDashboardConversationLink } from "./projection-BfKkpOGQ.js";
3
+ import { C as resolveGatewayCredential, S as getGatewayApiKey, _ as createProviderError, a as completeText, c as resolveGatewayModel, d as isCompactionSummaryText, f as renderCurrentInstruction, g as ProviderError, h as escapeXmlText, i as completeObject, l as COMPACTION_SUMMARY_PREFIX, m as escapeXml, n as GEN_AI_SERVER_ADDRESS, p as unwrapCurrentInstruction, t as GEN_AI_PROVIDER_NAME, u as hasCompactedConversationContext, v as findProviderError, x as isProviderRetryError, y as getProviderErrorAttributes } from "./client-a3Ib6wxr.js";
4
+ import { _ as toPiReasoningLevel, g as TURN_REASONING_LEVELS, n as botConfig, v as normalizeSlackEmojiName } from "./config-DFVlYCeY.js";
5
+ import { B as runWithLogAttributes, C as summarizeMessageText, E as withSpan, K as toOptionalString, S as setTags, T as withLogContext, U as normalizeIdentityEmail, W as isRecord$4, _ as runBestEffort, a as extractGenAiUsageSummary, b as setSpanAttributes, d as logAudit, f as logError, g as normalizeGenAiFinishReason, h as logWarn, i as extractGenAiUsageAttributes, l as getLogContextAttributesForSpan, m as logInfo, p as logException, u as getTracePropagationHeaders, v as serializeGenAiAttribute, x as setSpanStatus } from "./logging-2BXvW7Mp.js";
6
+ import { a as toCanonicalInputMessage, c as toGenAiPayloadMetadata, i as runWithConversationPrivacy, l as toGenAiPayloadTraceAttributes, o as toCanonicalOutputMessage, r as resolveConversationPrivacy, s as toGenAiMessagesTraceAttributes } from "./conversation-privacy-DLq-abjU.js";
7
7
  import { d as parseSlackChannelReferenceId, f as parseSlackTeamId, h as parseSlackMessageTs, n as createSlackActor, o as isUserActor, p as parseSlackUserId, u as parseSlackChannelId } from "./actor-6jsm_v96.js";
8
- import { C as getSqlExecutor, E as treeHasAnnotationKey, F as SYSTEM_IDENTITY_ID, I as resolveActorIdentityId, S as getDb, T as hasAnnotationKey, X as addAgentTurnUsage, Y as touchConversationDetail, Z as agentTurnCostUsd, a as readActorIdentityFromSql, at as sameDestination, b as getConversationMessageSearchStore, et as hasAgentTurnUsage, f as identityAvatarUrl, h as readUserAvatarUrls, i as readActorIdentity, q as conversationDetailTouch, rt as parseDestination, w as conversationIdsWithAnnotation, x as getConversationStore, y as getConversationEventStore } from "./viewer-DWlpSFdj.js";
9
- import { A as juniorIdentities, D as juniorAttachments, M as juniorDestinations, N as juniorArtifacts, _ as juniorConversationParticipants, d as juniorAutomations, f as juniorStats, h as juniorAgentInvocations, j as juniorUsers, k as juniorConversations, l as juniorAutomationRuns, m as juniorAgentBindings, s as juniorReviewItemSlackCards, y as juniorConversationBriefs } from "./executor-DLKnzP6S.js";
10
- import { _ as sameActorIdentity, g as instructionProvenanceFor, h as instructionActors, i as KNOWN_CONVERSATION_EVENT_TYPES, m as contextProvenance, n as detectImageMediaType, p as agentInstructionProvenance, r as isVisionImageMediaType } from "./media-Dq9_svfQ.js";
8
+ import { C as getSqlExecutor, E as treeHasAnnotationKey, F as SYSTEM_IDENTITY_ID, I as resolveActorIdentityId, S as getDb, T as hasAnnotationKey, X as addAgentTurnUsage, Y as touchConversationDetail, Z as agentTurnCostUsd, a as readActorIdentityFromSql, at as sameDestination, b as getConversationMessageSearchStore, et as hasAgentTurnUsage, f as identityAvatarUrl, h as readUserAvatarUrls, i as readActorIdentity, q as conversationDetailTouch, rt as parseDestination, w as conversationIdsWithAnnotation, x as getConversationStore, y as getConversationEventStore } from "./viewer-CYB9T4rm.js";
9
+ import { A as juniorConversations, M as juniorUsers, N as juniorDestinations, O as juniorAttachments, P as juniorArtifacts, _ as juniorConversationParticipants, d as juniorAutomations, f as juniorStats, h as juniorAgentInvocations, j as juniorIdentities, l as juniorAutomationRuns, m as juniorAgentBindings, s as juniorReviewItemSlackCards, y as juniorConversationBriefs } from "./executor-HPgHGAWK.js";
10
+ import { _ as instructionProvenanceFor, a as KNOWN_CONVERSATION_EVENT_TYPES, g as instructionActors, h as contextProvenance, i as isVisionImageMediaType, m as agentInstructionProvenance, r as detectImageMediaType, v as sameActorIdentity } from "./media-Bu9C6lz0.js";
11
11
  import { a as listReferenceFiles, c as soulPathCandidates, l as worldPathCandidates } from "./package-discovery-DJhGdS4c.js";
12
- import { c as fetchWithBoundedOAuthErrorBodies, d as actorLogContext, f as credentialContextForActor, g as credentialUserSubjectId, i as resolvePluginHeaderEnvRefs, l as getOAuthProviderErrorAttributes, s as OAuthProviderError } from "./registry-EjhulgQW.js";
13
- import { n as pluginCatalogRuntime } from "./catalog-runtime-ClKzLvbN.js";
14
- import { a as parseSkillInvocation, i as parseSkillFile, n as findSkillByName, r as loadSkillsByName, t as discoverSkills } from "./skills-BGJr6xtW.js";
12
+ import { c as fetchWithBoundedOAuthErrorBodies, d as actorLogContext, f as credentialContextForActor, g as credentialUserSubjectId, i as resolvePluginHeaderEnvRefs, l as getOAuthProviderErrorAttributes, s as OAuthProviderError } from "./registry-CLooHPAz.js";
13
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-B7NRB7eH.js";
14
+ import { a as parseSkillInvocation, i as parseSkillFile, n as findSkillByName, r as loadSkillsByName, t as discoverSkills } from "./skills-DuOKByQH.js";
15
15
  import { a as withLock, i as fenceLock } from "./locks-D-0h111u.js";
16
- import { r as getStateAdapter } from "./adapter-RVQGEa98.js";
16
+ import { r as getStateAdapter } from "./adapter-D8-lqOBF.js";
17
17
  import { i as isValidTimeZone, r as getZonedDateTimeParts, t as getFirstRunAtMs } from "./cadence-R7Em4RjE.js";
18
- import { B as briefLinkSchema, N as removedCardSchema, V as briefOutcomeStatusSchema, W as parseStoredBrief } from "./conversation-DNtcULyX.js";
19
- import { r as EVENT_AUTHOR_ID } from "./prompt-DI6KCtwb.js";
20
- import { A as AgentInvocationLimitError, G as TurnInputCommitLostError, H as formatAgentTypes, I as CHILD_AGENT_RESULTS, L as PARENT_AGENT_TARGET, M as AgentMessageQueueFullError, N as AgentMessageTargetError, P as AgentNameInUseError, R as agentNameSchema, W as CooperativeTurnYieldError, Y as isTurnInputCommitLostError, _ as getLatestAgentInvocationForConversation, d as getAgentInvocationIdForResult, f as getAgentInvocationMessageId, g as getChildAgentLockName, j as AgentMessagePausedError, n as NON_TERMINAL_AGENT_INVOCATION_STATUSES, v as invocationFromRow, y as isTerminalAgentInvocation, z as AGENT_TYPES } from "./store-DeTnwVJt.js";
21
- import { i as NO_REPLY_MARKER, n as getAssistantReplyText, o as isNoReplyMarker, r as sanitizeAssistantText, t as decideReply } from "./assistant-reply-DQbtwc6j.js";
22
- import { B as remindMissingAutomationResult, F as automationResultSchema$1, O as resolveSlackReplyTarget, P as FINISH_AUTOMATION_RUN_TOOL_NAME, _ as slackChannelMessageTrigger, a as EVENT_WAIT_MS, b as workspaceSnapshotFinishedEvent, d as getEventCatalog, n as markConversationsStopped, o as enqueueEventNotification, p as requireSlackChannelMessageScope, t as getConversationStoppedAtMs, v as WORKSPACE_SNAPSHOT_FAILED_EVENT, x as workspaceSnapshotWatch, y as WORKSPACE_SNAPSHOT_READY_EVENT, z as readAutomationResult } from "./session-stop-CHSYB2uw.js";
18
+ import { B as briefLinkSchema, N as removedCardSchema, V as briefOutcomeStatusSchema, W as parseStoredBrief } from "./conversation-DdT7SNar.js";
19
+ import { r as EVENT_AUTHOR_ID } from "./prompt-CCtaGgbI.js";
20
+ import { A as AgentInvocationLimitError, G as TurnInputCommitLostError, H as formatAgentTypes, I as CHILD_AGENT_RESULTS, L as PARENT_AGENT_TARGET, M as AgentMessageQueueFullError, N as AgentMessageTargetError, P as AgentNameInUseError, R as agentNameSchema, W as CooperativeTurnYieldError, Y as isTurnInputCommitLostError, _ as getLatestAgentInvocationForConversation, d as getAgentInvocationIdForResult, f as getAgentInvocationMessageId, g as getChildAgentLockName, j as AgentMessagePausedError, n as NON_TERMINAL_AGENT_INVOCATION_STATUSES, v as invocationFromRow, y as isTerminalAgentInvocation, z as AGENT_TYPES } from "./store-61mD4ZSh.js";
21
+ import { i as NO_REPLY_MARKER, n as getAssistantReplyText, o as isNoReplyMarker, r as sanitizeAssistantText, t as decideReply } from "./assistant-reply-CdYsLbXL.js";
22
+ import { B as remindMissingAutomationResult, F as automationResultSchema$1, O as resolveSlackReplyTarget, P as FINISH_AUTOMATION_RUN_TOOL_NAME, _ as slackChannelMessageTrigger, a as EVENT_WAIT_MS, b as workspaceSnapshotFinishedEvent, d as getEventCatalog, n as markConversationsStopped, o as enqueueEventNotification, p as requireSlackChannelMessageScope, t as getConversationStoppedAtMs, v as WORKSPACE_SNAPSHOT_FAILED_EVENT, x as workspaceSnapshotWatch, y as WORKSPACE_SNAPSHOT_READY_EVENT, z as readAutomationResult } from "./session-stop-D8LGC3H6.js";
23
23
  import { E as userCustomizationTextSchema, b as webMessageId, g as formatUserInputAnswer, h as buttonUserInputField, m as USER_INPUT_NOTE, p as USER_INPUT_LIMITS, s as sumUtcHoursIntoSixHours, v as normalizeUserInputAnswer, w as USER_CUSTOMIZATION_MAX_CHARS, y as userInputRequestSchema } from "./reporting-window-B-QP9zX1.js";
24
- import { a as setSnapshotSpanAttributes, i as postinstall, n as resolve$1, r as dependencies, s as getSandboxResources } from "./resolve-Cw6OW4Fj.js";
25
- import { f as QUEUE_SIGNATURE_MAX_AGE_MS, g as getTurnRequestDeadline, l as getVercelConversationWorkQueue, n as backgroundCompactionId, o as sendNextWorkspaceSnapshotJob, s as sendWorkspaceSnapshotJob } from "./background-compaction-queue-oegyrxSe.js";
26
- import { D as stopConversationWork, n as appendAndEnqueueExclusiveInboundMessage, r as appendAndEnqueueInboundMessage } from "./store-C4z8gOgZ.js";
27
- import { $ as saveEventAutomation, A as readAutomationRuns, B as readScheduledAutomation, C as readAutomationExecutionByConversationId, Ct as requireEventIdentifier, D as readAutomationExecutionStatusHours, E as readAutomationExecutionStatusDays, I as createScheduledAutomation, J as deleteEventAutomation, L as deleteScheduledAutomation, O as readAutomationExecutionSummaries, Q as parseEventAutomationRow, St as registeredResourceTypeSchema, T as readAutomationExecutionHours, V as saveScheduledAutomation, X as getEventAutomation, Z as listDeletedEventAutomationsCreatedBy, _t as eventWatchUnavailable, at as listAutomationVersions, bt as registeredEventTriggerProblems, c as getDispatchIdForConversation, et as setEventAutomationStatus, ft as automationEventCatalog, gt as eventNamespaceSchema, k as readAutomationExecutions, l as getDispatchInputMessageId, lt as automationRevision, ot as readAutomationVersion, pt as describeRegisteredEventTrigger, q as createEventAutomation, rt as automationDefinition, st as sameDefinitionValue, t as resolveConversationRouting, u as getDispatchRecord, ut as requireAutomationRevision, vt as hasEventCatalogEntries, w as readAutomationExecutionDays, wt as requireValidEventTrigger, x as emptyAutomationRunWindows, xt as registeredEventTypeSchema, yt as registeredEventMatchSchema, z as parseScheduledAutomationRow } from "./turn-session-routing-RBtUe-3y.js";
28
- import { _ as getMcpProviderErrorAttributes, a as serviceAccountOnly, c as createMcpServiceAccountClientProvider, d as PluginMcpClient, f as McpProviderError, g as getMcpAwareTelemetryMessage, h as getMcpAwareErrorType, i as serviceAccountAllows, l as getMcpServiceAccountCredentials, m as McpToolError, p as McpServiceAccountRequiredError, u as McpAuthorizationRequiredError, v as toMcpProviderError } from "./service-account-Dd1nnAQZ.js";
29
- import { A as SCHEDULED_AUTOMATION_SYSTEM_ACTOR, D as taskOutcomeInputSchema, E as automationTitleSchema, F as scheduleIntentFromTool, I as toolScheduleIntentSchema, L as weekdaySchema, N as ScheduleIntentError, P as compileScheduleIntent, T as automationInstructionToolSchema, k as eventAutomationTriggerSchema, l as automationListQuerySchema } from "./automation-sIsmIXH7.js";
24
+ import { a as setSnapshotSpanAttributes, i as postinstall, n as resolve$1, r as dependencies, s as getSandboxResources } from "./resolve-D3MK9oRJ.js";
25
+ import { f as QUEUE_SIGNATURE_MAX_AGE_MS, g as getTurnRequestDeadline, l as getVercelConversationWorkQueue, n as backgroundCompactionId, o as sendNextWorkspaceSnapshotJob, s as sendWorkspaceSnapshotJob } from "./background-compaction-queue-Bbsqx8Vm.js";
26
+ import { D as stopConversationWork, n as appendAndEnqueueExclusiveInboundMessage, r as appendAndEnqueueInboundMessage } from "./store-DAJntSEv.js";
27
+ import { $ as saveEventAutomation, A as readAutomationRuns, B as readScheduledAutomation, C as readAutomationExecutionByConversationId, Ct as requireEventIdentifier, D as readAutomationExecutionStatusHours, E as readAutomationExecutionStatusDays, I as createScheduledAutomation, J as deleteEventAutomation, L as deleteScheduledAutomation, O as readAutomationExecutionSummaries, Q as parseEventAutomationRow, St as registeredResourceTypeSchema, T as readAutomationExecutionHours, V as saveScheduledAutomation, X as getEventAutomation, Z as listDeletedEventAutomationsCreatedBy, _t as eventWatchUnavailable, at as listAutomationVersions, bt as registeredEventTriggerProblems, c as getDispatchIdForConversation, et as setEventAutomationStatus, ft as automationEventCatalog, gt as eventNamespaceSchema, k as readAutomationExecutions, l as getDispatchInputMessageId, lt as automationRevision, ot as readAutomationVersion, pt as describeRegisteredEventTrigger, q as createEventAutomation, rt as automationDefinition, st as sameDefinitionValue, t as resolveConversationRouting, u as getDispatchRecord, ut as requireAutomationRevision, vt as hasEventCatalogEntries, w as readAutomationExecutionDays, wt as requireValidEventTrigger, x as emptyAutomationRunWindows, xt as registeredEventTypeSchema, yt as registeredEventMatchSchema, z as parseScheduledAutomationRow } from "./turn-session-routing-CzCnNAUO.js";
28
+ import { _ as getMcpProviderErrorAttributes, a as serviceAccountOnly, c as createMcpServiceAccountClientProvider, d as PluginMcpClient, f as McpProviderError, g as getMcpAwareTelemetryMessage, h as getMcpAwareErrorType, i as serviceAccountAllows, l as getMcpServiceAccountCredentials, m as McpToolError, p as McpServiceAccountRequiredError, u as McpAuthorizationRequiredError, v as toMcpProviderError } from "./service-account-D6AMahy7.js";
29
+ import { A as SCHEDULED_AUTOMATION_SYSTEM_ACTOR, D as taskOutcomeInputSchema, E as automationTitleSchema, F as scheduleIntentFromTool, I as toolScheduleIntentSchema, L as weekdaySchema, N as ScheduleIntentError, P as compileScheduleIntent, T as automationInstructionToolSchema, k as eventAutomationTriggerSchema, l as automationListQuerySchema } from "./automation-MLWOrghe.js";
30
30
  import { n as privateTraceResultAttributes } from "./private-trace-result-CE7_lEdq.js";
31
31
  import { streamSimple } from "@earendil-works/pi-ai/compat";
32
32
  import { createGatewayProvider } from "@ai-sdk/gateway";
@@ -5266,6 +5266,7 @@ function createWorkspaceSnapshotNotReadyToolResult(cause) {
5266
5266
  message: workspaceSnapshotNotReadyUserMessage(notReady)
5267
5267
  });
5268
5268
  }
5269
+ const VERCEL_FIREWALL_CHALLENGE_MARKER = "Vercel Security Checkpoint";
5269
5270
  const SANDBOX_TOOL_NAMES = /* @__PURE__ */ new Set([
5270
5271
  "bash",
5271
5272
  "readFile",
@@ -5439,6 +5440,7 @@ function createSandbox(options) {
5439
5440
  "app.sandbox.stderr_bytes": Buffer.byteLength(response.stderr ?? "", "utf8"),
5440
5441
  ...response.aborted ? { "error.type": "outcome_unknown" } : response.exitCode !== 0 ? { "error.type": "nonzero_exit" } : {}
5441
5442
  });
5443
+ if (`${response.stdout ?? ""}${response.stderr ?? ""}`.includes(VERCEL_FIREWALL_CHALLENGE_MARKER)) logWarn("sandbox.egress.challenged", { "app.sandbox.egress_id": activeSessionId });
5442
5444
  setSpanStatus(response.exitCode === 0 ? "ok" : "error");
5443
5445
  return response;
5444
5446
  });
@@ -5671,6 +5673,10 @@ function createSandbox(options) {
5671
5673
  });
5672
5674
  },
5673
5675
  workspace: {
5676
+ createPreview: async (port) => await runWorkspaceOperation("workspace.createPreview", async (sandbox) => {
5677
+ if (!sandbox.createPreview) throw new ToolInputError("This sandbox provider cannot create previews.");
5678
+ return await sandbox.createPreview(port);
5679
+ }),
5674
5680
  readFileToBuffer: async (input) => await runWorkspaceOperation("workspace.readFileToBuffer", async (sandbox) => await sandbox.readFileToBuffer(input)),
5675
5681
  runCommand: async (input) => await runWorkspaceOperation("workspace.runCommand", async (sandbox) => await sandbox.runCommand(input)),
5676
5682
  writeFiles: async (files) => await runWorkspaceOperation("workspace.writeFiles", async (sandbox) => {
@@ -6535,6 +6541,27 @@ function createBashTool() {
6535
6541
  }
6536
6542
  });
6537
6543
  }
6544
+ // src/chat/tools/sandbox/create-preview.ts
6545
+ const outputSchema$6 = juniorToolOutputSchema.extend({ url: z.string().url() });
6546
+ /** Create a tool that gives a running sandbox server a public preview URL. */
6547
+ function createCreatePreviewTool(createPreview) {
6548
+ return zodTool({
6549
+ annotations: {
6550
+ destructiveHint: false,
6551
+ idempotentHint: true,
6552
+ openWorldHint: true,
6553
+ readOnlyHint: false
6554
+ },
6555
+ approvalMode: "approve",
6556
+ description: "Create a public HTTPS preview URL for a server running in the sandbox. Anyone with the URL can open it until the sandbox stops.",
6557
+ executionMode: "sequential",
6558
+ inputSchema: z.object({ port: z.number().int().min(1).max(65535).describe("Port that the server listens on. The server must listen on 0.0.0.0.") }).strict(),
6559
+ outputSchema: outputSchema$6,
6560
+ async execute({ port }) {
6561
+ return { url: await createPreview(port) };
6562
+ }
6563
+ });
6564
+ }
6538
6565
  // src/chat/tools/sandbox/image-files.ts
6539
6566
  /**
6540
6567
  * Read a sandbox image for a model request. The file signature, not the file
@@ -16539,6 +16566,7 @@ function createTools(availableSkills, hooks = {}, context, options = {}) {
16539
16566
  provider: "slack",
16540
16567
  providerTenantId: slackContext.teamId
16541
16568
  } : { kind: "public" }, context.conversationId, slackContext ? createSlackConversationBriefSearchPort(slackContext.teamId) : void 0);
16569
+ if (context.workspace.createPreview) tools.createPreview = createCreatePreviewTool(context.workspace.createPreview);
16542
16570
  if (context.supportsImageInput) tools.viewImage = createViewImageTool(context.workspace, context.supportsImageInput, hooks.toolOverrides?.viewImage);
16543
16571
  if (hooks.writeGeneratedArtifacts) tools.imageGenerate = createImageGenerateTool({ writeGeneratedArtifacts: hooks.writeGeneratedArtifacts }, {
16544
16572
  modelId: botConfig.imageGenerationModelId,
@@ -19787,12 +19815,7 @@ async function readRootConversation(args) {
19787
19815
  };
19788
19816
  }
19789
19817
  // src/chat/agent/tools.ts
19790
- /**
19791
- * Create the run's sandbox handle without acquiring a sandbox.
19792
- *
19793
- * It does not depend on the Turn route, so the caller can start sandbox
19794
- * setup while the router runs.
19795
- */
19818
+ /** Create the run's sandbox handle without acquiring a sandbox. */
19796
19819
  async function createRunSandbox(args) {
19797
19820
  const pluginHooks = createPluginHookRunner({
19798
19821
  actor: args.currentActor,
@@ -1,2 +1,2 @@
1
- import { $ as automationExecutionSchema, $n as CancelConversationPendingMessagesResponse, $r as conversationSummaryReportSchema, $t as LocationParams, A as StatReport, Ai as UserInputField, An as pinConversationResponseSchema, Ar as ConversationReportMessageEvent, At as PersonalTokenMetadata, B as AutomationListQuery, Bi as INPUT_IMAGE_TYPES, Bn as ConversationStatsItem, Br as acceptedConversationMessageSchema, Bt as serviceAccountSchema, C as pluginPackageContentItemReportSchema, Ci as dailyConversationActivitySchema, Cn as ConversationChildAgent, Cr as ConversationEventHistory, Ct as workspaceBodySchema, D as runtimeInfoReportSchema, Di as AutomationCard, Dn as PinConversationBody, Dr as ConversationParams, Dt as workspaceSchema, E as pluginsSchema, Ei as resolveMessageCards, En as conversationChildAgentsReportSchema, Er as ConversationModelUsage, Et as workspaceRepoSchema, F as AutomationExecution, Fi as webMessageId, Fn as ConversationReadPosition, Fr as ConversationTurnFailureCode, Ft as personalTokenParamsSchema, G as AutomationSummary, Gn as ArchiveConversationBody, Gr as conversationEventHistorySchema, Gt as disconnectConnectionResponseSchema, H as AutomationRunList, Hn as GuardianMetricDay, Hr as conversationAuxiliaryCostsSchema, Ht as connectionListSchema, I as AutomationExecutionDay, Ii as InputImage, In as conversationReadPositionSchema, Ir as ConversationTurnFailureReason, It as revokePersonalTokenResponseSchema, J as ListedAutomationVersion, Jn as archiveConversationBodySchema, Jr as conversationFeedQuerySchema, Jt as apiErrorSchema, K as AutomationUpdate, Kn as ArchiveConversationResponse, Kr as conversationEventPageSchema, Kt as startConnectionResponseSchema, L as AutomationExecutionList, Li as MAX_INPUT_IMAGES, Ln as StopConversationTurnResponse, Lr as ConversationUsage, Lt as disconnectServiceAccountResponseSchema, M as statSchema, Mi as buttonUserInputField, Mn as ConversationCatchUpBody, Mr as ConversationSourceTask, Mt as createdPersonalTokenSchema, N as statsReportSchema, Ni as isEmptyUserInputAnswer, Nn as conversationCatchUpBodySchema, Nr as ConversationSummaryReport, Nt as personalTokenListSchema, O as skillReportSchema, Oi as USER_INPUT_NOTE, On as PinConversationResponse, Or as ConversationReportEvent, Ot as USER_CUSTOMIZATION_MAX_CHARS, P as AutomationEdit, Pi as normalizeUserInputAnswer, Pn as conversationCatchUpSchema, Pr as ConversationSurface, Pt as personalTokenMetadataSchema, Q as automationExecutionListSchema, Qn as CancelConversationPendingMessagesBody, Qr as conversationReportEventSchema, Qt as LocationDirectoryReport, R as AutomationExecutionStatusDay, Ri as MAX_INPUT_IMAGE_BYTES, Rn as stopConversationTurnResponseSchema, Rr as CreateConversationBody, Rt as serviceAccountListSchema, S as pluginOperationalReportSchema, Si as DailyConversationActivity, Sn as conversationWatchesReportSchema, Sr as ConversationDetailReport, St as deleteWorkspaceResponseSchema, T as pluginSchema, Ti as messageCardText, Tn as conversationChildAgentSchema, Tr as ConversationFeed, Tt as workspaceParamsSchema, U as AutomationRunWindows, Un as GuardianStats, Ur as conversationDetailQuerySchema, Ut as connectionParamsSchema, V as AutomationRun, Vn as ConversationStatsReport, Vr as conversationActivityPreviewSchema, Vt as startServiceAccountSignInResponseSchema, W as AutomationScheduleIntent, Wn as conversationStatsReportSchema, Wr as conversationDetailReportSchema, Wt as connectionSchema, X as automationEditSchema, Xn as archiveDoneConversationsResponseSchema, Xr as conversationParamsSchema, Xt as LocationActorSummaryReport, Y as automationEditErrorSchema, Yn as archiveConversationResponseSchema, Yr as conversationFeedSchema, Yt as LocationActivityDayReport, Z as automationEventCatalogSchema, Zn as conversationAutoArchiveSchema, Zr as conversationReportEventDataSchema, Zt as LocationDetailReport, _ as RuntimeInfoReport, _i as codeRepositoryParamsSchema, _n as personParamsSchema, _r as CONVERSATION_DETAIL_VERSION_HEADER, _t as scheduledAutomationSummarySchema, a as reviewItemCountSchema, ai as conversationTurnFailureReasonSchema, an as ActorActivityDayReport, ar as cancelConversationPendingMessagesBodySchema, at as automationRunListSchema, b as healthReportSchema, bi as ConversationChildAgentTotals, bn as ConversationWatchesReport, br as ConversationAuxiliaryCosts, bt as WorkspaceReport, c as reviewItemWaitingConversationsSchema, ci as CodeOverviewReport, cn as ActorProfileReport, cr as conversationPendingAuthorizationSchema, ct as automationScheduleIntentSchema, d as Plugin, di as CodeRepositorySummary, dn as ActorWindowMetrics, dr as conversationPendingMessagesReportSchema, dt as automationUpdateSchema, ei as createConversationBodySchema, en as LocationSummaryReport, er as ConversationPendingMessage, et as automationExecutionStatusDaySchema, f as PluginOperationalReport, fi as codeActivityDaySchema, fn as PeopleActivityDayReport, fr as conversationUnchangedDetailWithMailboxSchema, ft as automationVersionActivateSchema, g as Plugins, gi as codePersonReportSchema, gn as actorProfileReportSchema, gr as ActorIdentity, gt as eventAutomationSummarySchema, h as PluginPackageContentReport, hi as codeOverviewReportSchema, hn as actorDirectoryReportSchema, hr as AcceptedConversationMessage, ht as automationVersionSchema, i as reviewItemActionSchema, ii as conversationTurnFailureCodeSchema, in as locationParamsSchema, ir as SteerConversationPendingMessagesResponse, it as automationParamsSchema, j as StatsReport, ji as UserInputRequest, jn as ConversationCatchUp, jr as ConversationReportStatus, jt as createPersonalTokenBodySchema, k as skillReportsSchema, ki as UserInputAnswer, kn as pinConversationBodySchema, kr as ConversationReportEventData, kt as userCustomizationSchema, l as ReviewItemChangeRecord, li as CodePersonReport, ln as ActorSummaryReport, lr as conversationPendingMessageDeliverySchema, lt as automationSchedulePreviewSchema, m as PluginPackageContentItemReport, mi as codeChangeSummarySchema, mn as PersonalSpendReport, mr as steerConversationPendingMessagesResponseSchema, mt as automationVersionParamsSchema, n as ReviewItemActionBody, ni as forkConversationBodySchema, nn as locationDetailReportSchema, nr as ConversationPendingMessagesReport, nt as automationListQuerySchema, o as reviewItemListSchema, oi as CodeActivityDay, on as ActorDirectoryReport, or as cancelConversationPendingMessagesResponseSchema, ot as automationRunSchema, p as PluginOperationalReportFeed, pi as codeChangeSummaryReportSchema, pn as PersonParams, pr as steerConversationPendingMessagesBodySchema, pt as automationVersionListSchema, q as AutomationVersionList, qn as ConversationAutoArchive, qr as conversationEventsQuerySchema, qt as ApiError, r as ReviewItemPayload, ri as forkConversationResponseSchema, rn as locationDirectoryReportSchema, rr as SteerConversationPendingMessagesBody, rt as automationListSchema, s as reviewItemSchema, si as CodeChangeSummaryReport, sn as ActorDirectoryWindows, sr as conversationDetailWithMailboxReportSchema, st as automationRunWindowsSchema, t as OwnedObjectAnnotation, ti as createConversationMessageBodySchema, tn as locationActivityDayReportSchema, tr as ConversationPendingMessageDelivery, tt as automationExecutionStatusSchema, u as HealthReport, ui as CodeRepositoryReport, un as ActorTotalsReport, ur as conversationPendingMessageSchema, ut as automationSummarySchema, v as SkillReport, vi as codeRepositoryReportSchema, vn as personalSpendReportSchema, vr as ConversationActivityPreview, vt as BaselineSnapshotReport, w as pluginPackageContentReportSchema, wi as MessageCard, wn as ConversationChildAgentsReport, wr as ConversationEventPage, wt as workspaceListSchema, x as pluginOperationalReportFeedSchema, xi as conversationChildAgentTotalsSchema, xn as conversationWatchSchema, xr as ConversationCost, xt as baselineSnapshotSchema, y as SkillReports, yi as codeRepositorySummarySchema, yn as ConversationWatch, yr as ConversationAgentTreeNode, yt as WorkspaceListReport, z as AutomationList, zi as MessageAttachment, zn as ConversationMetricDay, zr as CreateConversationMessageBody, zt as serviceAccountParamsSchema } from "../schema-CsqJzkP5.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, CONVERSATION_DETAIL_VERSION_HEADER, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAgentTreeNode, type ConversationAutoArchive, type ConversationAuxiliaryCosts, type ConversationCatchUp, type ConversationCatchUpBody, 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 ConversationReadPosition, 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 PinConversationBody, type PinConversationResponse, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type ReviewItemActionBody, type ReviewItemChangeRecord, type ReviewItemPayload, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type SteerConversationPendingMessagesBody, type SteerConversationPendingMessagesResponse, type StopConversationTurnResponse, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, type UserInputAnswer, type UserInputField, type UserInputRequest, type WorkspaceListReport, type WorkspaceReport, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, conversationActivityPreviewSchema, conversationAutoArchiveSchema, conversationAuxiliaryCostsSchema, conversationCatchUpBodySchema, conversationCatchUpSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationDetailWithMailboxReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationUnchangedDetailWithMailboxSchema, 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, pinConversationBodySchema, pinConversationResponseSchema, 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 automationExecutionSchema, $n as archiveConversationResponseSchema, $r as conversationFeedSchema, $t as LocationParams, A as StatReport, Ai as resolveMessageCards, An as ReorderPinnedConversationsResponse, Ar as ConversationModelUsage, At as PersonalTokenMetadata, B as AutomationListQuery, Bi as InputImage, Bn as conversationReadPositionSchema, Br as ConversationTurnFailureReason, Bt as serviceAccountSchema, C as pluginPackageContentItemReportSchema, Ci as codeRepositorySummarySchema, Cn as ConversationChildAgent, Cr as ConversationAgentTreeNode, Ct as workspaceBodySchema, D as runtimeInfoReportSchema, Di as dailyConversationActivitySchema, Dn as PinConversationBody, Dr as ConversationEventHistory, Dt as workspaceSchema, E as pluginsSchema, Ei as DailyConversationActivity, En as conversationChildAgentsReportSchema, Er as ConversationDetailReport, Et as workspaceRepoSchema, F as AutomationExecution, Fi as UserInputRequest, Fn as ConversationCatchUp, Fr as ConversationReportStatus, Ft as personalTokenParamsSchema, G as AutomationSummary, Gi as INPUT_IMAGE_TYPES, Gn as ConversationStatsReport, Gr as conversationActivityPreviewSchema, Gt as disconnectConnectionResponseSchema, H as AutomationRunList, Hi as MAX_INPUT_IMAGE_BYTES, Hn as stopConversationTurnResponseSchema, Hr as CreateConversationBody, Ht as connectionListSchema, I as AutomationExecutionDay, Ii as buttonUserInputField, In as ConversationCatchUpBody, Ir as ConversationSourceTask, It as revokePersonalTokenResponseSchema, J as ListedAutomationVersion, Jn as conversationStatsReportSchema, Jr as conversationDetailReportSchema, Jt as apiErrorSchema, K as AutomationUpdate, Kn as GuardianMetricDay, Kr as conversationAuxiliaryCostsSchema, Kt as startConnectionResponseSchema, L as AutomationExecutionList, Li as isEmptyUserInputAnswer, Ln as conversationCatchUpBodySchema, Lr as ConversationSummaryReport, Lt as disconnectServiceAccountResponseSchema, M as statSchema, Mi as USER_INPUT_NOTE, Mn as pinConversationResponseSchema, Mr as ConversationReportEvent, Mt as createdPersonalTokenSchema, N as statsReportSchema, Ni as UserInputAnswer, Nn as reorderPinnedConversationsBodySchema, Nr as ConversationReportEventData, Nt as personalTokenListSchema, O as skillReportSchema, Oi as MessageCard, On as PinConversationResponse, Or as ConversationEventPage, Ot as USER_CUSTOMIZATION_MAX_CHARS, P as AutomationEdit, Pi as UserInputField, Pn as reorderPinnedConversationsResponseSchema, Pr as ConversationReportMessageEvent, Pt as personalTokenMetadataSchema, Q as automationExecutionListSchema, Qn as archiveConversationBodySchema, Qr as conversationFeedQuerySchema, Qt as LocationDirectoryReport, R as AutomationExecutionStatusDay, Ri as normalizeUserInputAnswer, Rn as conversationCatchUpSchema, Rr as ConversationSurface, Rt as serviceAccountListSchema, S as pluginOperationalReportSchema, Si as codeRepositoryReportSchema, Sn as conversationWatchesReportSchema, Sr as ConversationActivityPreview, St as deleteWorkspaceResponseSchema, T as pluginSchema, Ti as conversationChildAgentTotalsSchema, Tn as conversationChildAgentSchema, Tr as ConversationCost, Tt as workspaceParamsSchema, U as AutomationRunWindows, Ui as MessageAttachment, Un as ConversationMetricDay, Ur as CreateConversationMessageBody, Ut as connectionParamsSchema, V as AutomationRun, Vi as MAX_INPUT_IMAGES, Vn as StopConversationTurnResponse, Vr as ConversationUsage, Vt as startServiceAccountSignInResponseSchema, W as AutomationScheduleIntent, Wi as INLINE_VIDEO_TYPES, Wn as ConversationStatsItem, Wr as acceptedConversationMessageSchema, Wt as connectionSchema, X as automationEditSchema, Xn as ArchiveConversationResponse, Xr as conversationEventPageSchema, Xt as LocationActorSummaryReport, Y as automationEditErrorSchema, Yn as ArchiveConversationBody, Yr as conversationEventHistorySchema, Yt as LocationActivityDayReport, Z as automationEventCatalogSchema, Zn as ConversationAutoArchive, Zr as conversationEventsQuerySchema, Zt as LocationDetailReport, _ as RuntimeInfoReport, _i as codeChangeSummaryReportSchema, _n as personParamsSchema, _r as steerConversationPendingMessagesBodySchema, _t as scheduledAutomationSummarySchema, a as reviewItemCountSchema, ai as createConversationMessageBodySchema, an as ActorActivityDayReport, ar as ConversationPendingMessageDelivery, at as automationRunListSchema, b as healthReportSchema, bi as codePersonReportSchema, bn as ConversationWatchesReport, br as ActorIdentity, bt as WorkspaceReport, c as reviewItemWaitingConversationsSchema, ci as conversationTurnFailureCodeSchema, cn as ActorProfileReport, cr as SteerConversationPendingMessagesResponse, ct as automationScheduleIntentSchema, d as Plugin, di as CodeChangeSummaryReport, dn as ActorWindowMetrics, dr as conversationDetailWithMailboxReportSchema, dt as automationUpdateSchema, ei as conversationParamsSchema, en as LocationSummaryReport, er as archiveDoneConversationsResponseSchema, et as automationExecutionStatusDaySchema, f as PluginOperationalReport, fi as CodeOverviewReport, fn as PeopleActivityDayReport, fr as conversationPendingAuthorizationSchema, ft as automationVersionActivateSchema, g as Plugins, gi as codeActivityDaySchema, gn as actorProfileReportSchema, gr as conversationUnchangedDetailWithMailboxSchema, gt as eventAutomationSummarySchema, h as PluginPackageContentReport, hi as CodeRepositorySummary, hn as actorDirectoryReportSchema, hr as conversationPendingMessagesReportSchema, ht as automationVersionSchema, i as reviewItemActionSchema, ii as createConversationBodySchema, in as locationParamsSchema, ir as ConversationPendingMessage, it as automationParamsSchema, j as StatsReport, ji as AutomationCard, jn as pinConversationBodySchema, jr as ConversationParams, jt as createPersonalTokenBodySchema, k as skillReportsSchema, ki as messageCardText, kn as ReorderPinnedConversationsBody, kr as ConversationFeed, kt as userCustomizationSchema, l as ReviewItemChangeRecord, li as conversationTurnFailureReasonSchema, ln as ActorSummaryReport, lr as cancelConversationPendingMessagesBodySchema, lt as automationSchedulePreviewSchema, m as PluginPackageContentItemReport, mi as CodeRepositoryReport, mn as PersonalSpendReport, mr as conversationPendingMessageSchema, mt as automationVersionParamsSchema, n as ReviewItemActionBody, ni as conversationReportEventSchema, nn as locationDetailReportSchema, nr as CancelConversationPendingMessagesBody, nt as automationListQuerySchema, o as reviewItemListSchema, oi as forkConversationBodySchema, on as ActorDirectoryReport, or as ConversationPendingMessagesReport, ot as automationRunSchema, p as PluginOperationalReportFeed, pi as CodePersonReport, pn as PersonParams, pr as conversationPendingMessageDeliverySchema, pt as automationVersionListSchema, q as AutomationVersionList, qn as GuardianStats, qr as conversationDetailQuerySchema, qt as ApiError, r as ReviewItemPayload, ri as conversationSummaryReportSchema, rn as locationDirectoryReportSchema, rr as CancelConversationPendingMessagesResponse, rt as automationListSchema, s as reviewItemSchema, si as forkConversationResponseSchema, sn as ActorDirectoryWindows, sr as SteerConversationPendingMessagesBody, st as automationRunWindowsSchema, t as OwnedObjectAnnotation, ti as conversationReportEventDataSchema, tn as locationActivityDayReportSchema, tr as conversationAutoArchiveSchema, tt as automationExecutionStatusSchema, u as HealthReport, ui as CodeActivityDay, un as ActorTotalsReport, ur as cancelConversationPendingMessagesResponseSchema, ut as automationSummarySchema, v as SkillReport, vi as codeChangeSummarySchema, vn as personalSpendReportSchema, vr as steerConversationPendingMessagesResponseSchema, vt as BaselineSnapshotReport, w as pluginPackageContentReportSchema, wi as ConversationChildAgentTotals, wn as ConversationChildAgentsReport, wr as ConversationAuxiliaryCosts, wt as workspaceListSchema, x as pluginOperationalReportFeedSchema, xi as codeRepositoryParamsSchema, xn as conversationWatchSchema, xr as CONVERSATION_DETAIL_VERSION_HEADER, xt as baselineSnapshotSchema, y as SkillReports, yi as codeOverviewReportSchema, yn as ConversationWatch, yr as AcceptedConversationMessage, yt as WorkspaceListReport, z as AutomationList, zi as webMessageId, zn as ConversationReadPosition, zr as ConversationTurnFailureCode, zt as serviceAccountParamsSchema } from "../schema-jW3ccLjp.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, CONVERSATION_DETAIL_VERSION_HEADER, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAgentTreeNode, type ConversationAutoArchive, type ConversationAuxiliaryCosts, type ConversationCatchUp, type ConversationCatchUpBody, 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 ConversationReadPosition, 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, INLINE_VIDEO_TYPES, INPUT_IMAGE_TYPES, type InputImage, type ListedAutomationVersion, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, type MessageCard, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type PinConversationBody, type PinConversationResponse, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type ReorderPinnedConversationsBody, type ReorderPinnedConversationsResponse, type ReviewItemActionBody, type ReviewItemChangeRecord, type ReviewItemPayload, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type SteerConversationPendingMessagesBody, type SteerConversationPendingMessagesResponse, type StopConversationTurnResponse, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, type UserInputAnswer, type UserInputField, type UserInputRequest, type WorkspaceListReport, type WorkspaceReport, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, conversationActivityPreviewSchema, conversationAutoArchiveSchema, conversationAuxiliaryCostsSchema, conversationCatchUpBodySchema, conversationCatchUpSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationDetailWithMailboxReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationUnchangedDetailWithMailboxSchema, 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, pinConversationBodySchema, pinConversationResponseSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, reorderPinnedConversationsBodySchema, reorderPinnedConversationsResponseSchema, 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,7 +1,7 @@
1
- import { c as conversationTurnFailureReasonSchema, s as conversationTurnFailureCodeSchema, t as INPUT_IMAGE_TYPES } from "../media-Dq9_svfQ.js";
2
- import { C as createConversationMessageBodySchema, D as conversationReadPositionSchema, E as conversationChildAgentTotalsSchema, F as MAX_INPUT_IMAGES, I as MAX_INPUT_IMAGE_BYTES, P as resolveMessageCards, S as createConversationBodySchema, T as forkConversationResponseSchema, c as conversationDetailReportSchema, d as conversationEventsQuerySchema, f as conversationFeedQuerySchema, g as conversationReportEventSchema, h as conversationReportEventDataSchema, i as conversationActivityPreviewSchema, j as messageCardText, l as conversationEventHistorySchema, m as conversationParamsSchema, n as acceptedConversationMessageSchema, o as conversationAuxiliaryCostsSchema, p as conversationFeedSchema, s as conversationDetailQuerySchema, t as CONVERSATION_DETAIL_VERSION_HEADER, u as conversationEventPageSchema, w as forkConversationBodySchema, y as conversationSummaryReportSchema } from "../conversation-DNtcULyX.js";
1
+ import { c as conversationTurnFailureCodeSchema, l as conversationTurnFailureReasonSchema, n as INPUT_IMAGE_TYPES, t as INLINE_VIDEO_TYPES } from "../media-Bu9C6lz0.js";
2
+ import { C as createConversationMessageBodySchema, D as conversationReadPositionSchema, E as conversationChildAgentTotalsSchema, F as MAX_INPUT_IMAGES, I as MAX_INPUT_IMAGE_BYTES, P as resolveMessageCards, S as createConversationBodySchema, T as forkConversationResponseSchema, c as conversationDetailReportSchema, d as conversationEventsQuerySchema, f as conversationFeedQuerySchema, g as conversationReportEventSchema, h as conversationReportEventDataSchema, i as conversationActivityPreviewSchema, j as messageCardText, l as conversationEventHistorySchema, m as conversationParamsSchema, n as acceptedConversationMessageSchema, o as conversationAuxiliaryCostsSchema, p as conversationFeedSchema, s as conversationDetailQuerySchema, t as CONVERSATION_DETAIL_VERSION_HEADER, u as conversationEventPageSchema, w as forkConversationBodySchema, y as conversationSummaryReportSchema } from "../conversation-DdT7SNar.js";
3
3
  import { T as userCustomizationSchema, _ as isEmptyUserInputAnswer, b as webMessageId, h as buttonUserInputField, m as USER_INPUT_NOTE, v as normalizeUserInputAnswer, w as USER_CUSTOMIZATION_MAX_CHARS } from "../reporting-window-B-QP9zX1.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-sIsmIXH7.js";
5
- import { _ as pluginSchema, a as conversationPendingMessageDeliverySchema, b as skillReportSchema, c as conversationUnchangedDetailWithMailboxSchema, d as apiErrorSchema, f as healthReportSchema, g as pluginPackageContentReportSchema, h as pluginPackageContentItemReportSchema, i as conversationPendingAuthorizationSchema, l as steerConversationPendingMessagesBodySchema, m as pluginOperationalReportSchema, n as cancelConversationPendingMessagesResponseSchema, o as conversationPendingMessageSchema, p as pluginOperationalReportFeedSchema, r as conversationDetailWithMailboxReportSchema, s as conversationPendingMessagesReportSchema, t as cancelConversationPendingMessagesBodySchema, u as steerConversationPendingMessagesResponseSchema, v as pluginsSchema, x as skillReportsSchema, y as runtimeInfoReportSchema } from "../conversation-pending-messages-LlFnr9-m.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, ct as archiveDoneConversationsResponseSchema, d as reviewItemCountSchema, dt as pinConversationResponseSchema, et as conversationWatchSchema, ft as conversationCatchUpBodySchema, g as reviewItemWaitingConversationsSchema, h as reviewItemSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, lt as conversationAutoArchiveSchema, n as statsReportSchema, nt as conversationChildAgentSchema, o as workspaceListSchema, ot as archiveConversationBodySchema, p as reviewItemListSchema, pt as conversationCatchUpSchema, q as codeChangeSummaryReportSchema, r as baselineSnapshotSchema, rt as conversationChildAgentsReportSchema, s as workspaceParamsSchema, st as archiveConversationResponseSchema, t as statSchema, tt as conversationWatchesReportSchema, u as reviewItemActionSchema, ut as pinConversationBodySchema, v as serviceAccountListSchema, w as personalTokenListSchema, x as startServiceAccountSignInResponseSchema, y as serviceAccountParamsSchema } from "../schema-BN34Jy-U.js";
7
- export { CONVERSATION_DETAIL_VERSION_HEADER, INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, conversationActivityPreviewSchema, conversationAutoArchiveSchema, conversationAuxiliaryCostsSchema, conversationCatchUpBodySchema, conversationCatchUpSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationDetailWithMailboxReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationUnchangedDetailWithMailboxSchema, 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, pinConversationBodySchema, pinConversationResponseSchema, 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 };
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-MLWOrghe.js";
5
+ import { _ as pluginSchema, a as conversationPendingMessageDeliverySchema, b as skillReportSchema, c as conversationUnchangedDetailWithMailboxSchema, d as apiErrorSchema, f as healthReportSchema, g as pluginPackageContentReportSchema, h as pluginPackageContentItemReportSchema, i as conversationPendingAuthorizationSchema, l as steerConversationPendingMessagesBodySchema, m as pluginOperationalReportSchema, n as cancelConversationPendingMessagesResponseSchema, o as conversationPendingMessageSchema, p as pluginOperationalReportFeedSchema, r as conversationDetailWithMailboxReportSchema, s as conversationPendingMessagesReportSchema, t as cancelConversationPendingMessagesBodySchema, u as steerConversationPendingMessagesResponseSchema, v as pluginsSchema, x as skillReportsSchema, y as runtimeInfoReportSchema } from "../conversation-pending-messages-Dct5pheX.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, ct as archiveDoneConversationsResponseSchema, d as reviewItemCountSchema, dt as pinConversationResponseSchema, et as conversationWatchSchema, ft as reorderPinnedConversationsBodySchema, g as reviewItemWaitingConversationsSchema, h as reviewItemSchema, ht as conversationCatchUpSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, lt as conversationAutoArchiveSchema, mt as conversationCatchUpBodySchema, n as statsReportSchema, nt as conversationChildAgentSchema, o as workspaceListSchema, ot as archiveConversationBodySchema, p as reviewItemListSchema, pt as reorderPinnedConversationsResponseSchema, q as codeChangeSummaryReportSchema, r as baselineSnapshotSchema, rt as conversationChildAgentsReportSchema, s as workspaceParamsSchema, st as archiveConversationResponseSchema, t as statSchema, tt as conversationWatchesReportSchema, u as reviewItemActionSchema, ut as pinConversationBodySchema, v as serviceAccountListSchema, w as personalTokenListSchema, x as startServiceAccountSignInResponseSchema, y as serviceAccountParamsSchema } from "../schema-CHNP0GfH.js";
7
+ export { CONVERSATION_DETAIL_VERSION_HEADER, INLINE_VIDEO_TYPES, INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, conversationActivityPreviewSchema, conversationAutoArchiveSchema, conversationAuxiliaryCostsSchema, conversationCatchUpBodySchema, conversationCatchUpSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationDetailWithMailboxReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationUnchangedDetailWithMailboxSchema, 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, pinConversationBodySchema, pinConversationResponseSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, reorderPinnedConversationsBodySchema, reorderPinnedConversationsResponseSchema, 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
@@ -1,5 +1,5 @@
1
1
  import { n as ConversationWorkQueue } from "./queue-CZyYgPF0.js";
2
- import "./db-BCFM0CUX.js";
2
+ import "./db-A_WrTY-s.js";
3
3
  import { Hono } from "hono";
4
4
  import * as z from "zod";
5
5
  import { User } from "@sentry/junior-plugin-api";
package/dist/api.js CHANGED
@@ -1,26 +1,26 @@
1
- import { $r as updateWorkspace, Aa as createPluginLogger, Gn as countReviewItemsNeedingUser, Jr as deleteWorkspace, Ka as readConversationEventPage, Ln as getPlugins, Ma as readConversationAccessFromSql, Qn as searchReviewItems, Qr as listWorkspacesByRepository, Sn as isExperimentalFeatureEnabled, Wa as readConversationBriefThrough, Yr as getWorkspace, Zn as listWaitingConversations, Zr as listWorkspaces, ai as create, ar as isOnlyAssignee, ei as WorkspaceValidationError, nr as canActOnReviewItem, oi as hash, pa as workspaceRepoCheckoutPath, po as createPluginCache, qr as createWorkspace, ua as SANDBOX_RUNTIME, ur as reviewItemReaderForUser, wn as createUserTokenStore } from "./projection-Bhz1tp0G.js";
2
- import { a as completeText, m as escapeXml } from "./client-DkG0Tj53.js";
3
- import { n as botConfig } from "./config-3AZ11aSM.js";
4
- import { m as logInfo, p as logException } from "./logging-DHzrobea.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-DWlpSFdj.js";
6
- import { A as juniorIdentities, C as juniorApiTokens, E as juniorCodeRepositories, M as juniorDestinations, S as juniorConversationEvents, T as juniorCodeChanges, j as juniorUsers, k as juniorConversations, x as juniorConversationMetrics } from "./executor-DLKnzP6S.js";
7
- import { t as INPUT_IMAGE_TYPES } from "./media-Dq9_svfQ.js";
8
- import { n as pluginCatalogRuntime } from "./catalog-runtime-ClKzLvbN.js";
9
- import { $ as readViewerAutomations, Ct as listChildAgents, G as readViewerAutomationEdit, H as activateViewerAutomationVersion, K as updateViewerAutomation, Mt as saveUserCustomization, Q as readViewerAutomationVersions, S as createSlackReviewItemShow, 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-B229gXUY.js";
10
- import { r as getStateAdapter } from "./adapter-RVQGEa98.js";
11
- 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-DNtcULyX.js";
12
- import { n as briefEntriesFromReportEvents } from "./prompt-DI6KCtwb.js";
13
- import { d as getEventCatalog } from "./session-stop-CHSYB2uw.js";
1
+ import { $r as updateWorkspace, Aa as createPluginLogger, Ga as readConversationBriefThrough, Gn as countReviewItemsNeedingUser, Jr as deleteWorkspace, Ln as getPlugins, Na as readConversationAccessFromSql, Qn as searchReviewItems, Qr as listWorkspacesByRepository, Sn as isExperimentalFeatureEnabled, Yr as getWorkspace, Zn as listWaitingConversations, Zr as listWorkspaces, ai as create, ar as isOnlyAssignee, ei as WorkspaceValidationError, mo as createPluginCache, nr as canActOnReviewItem, oi as hash, pa as workspaceRepoCheckoutPath, qa as readConversationEventPage, qr as createWorkspace, ua as SANDBOX_RUNTIME, ur as reviewItemReaderForUser, wn as createUserTokenStore } from "./projection-BfKkpOGQ.js";
2
+ import { a as completeText, m as escapeXml } from "./client-a3Ib6wxr.js";
3
+ import { n as botConfig, y as getAttachmentStorage } from "./config-DFVlYCeY.js";
4
+ import { m as logInfo, p as logException } from "./logging-2BXvW7Mp.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-CYB9T4rm.js";
6
+ import { A as juniorConversations, C as juniorConversationEvents, D as juniorCodeRepositories, E as juniorCodeChanges, M as juniorUsers, N as juniorDestinations, j as juniorIdentities, w as juniorApiTokens, x as juniorConversationMetrics } from "./executor-HPgHGAWK.js";
7
+ import { n as INPUT_IMAGE_TYPES, t as INLINE_VIDEO_TYPES } from "./media-Bu9C6lz0.js";
8
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-B7NRB7eH.js";
9
+ import { $ as readViewerAutomations, Ct as listChildAgents, G as readViewerAutomationEdit, H as activateViewerAutomationVersion, K as updateViewerAutomation, Mt as saveUserCustomization, Q as readViewerAutomationVersions, S as createSlackReviewItemShow, 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-Bj7GhysW.js";
10
+ import { r as getStateAdapter } from "./adapter-D8-lqOBF.js";
11
+ 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-DdT7SNar.js";
12
+ import { n as briefEntriesFromReportEvents } from "./prompt-CCtaGgbI.js";
13
+ import { d as getEventCatalog } from "./session-stop-D8LGC3H6.js";
14
14
  import { T 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-B-QP9zX1.js";
15
- import { s as getSandboxResources, t as getCachedSnapshot } from "./resolve-Cw6OW4Fj.js";
16
- import { l as getVercelConversationWorkQueue } from "./background-compaction-queue-oegyrxSe.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-RBtUe-3y.js";
18
- import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-Dd1nnAQZ.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-sIsmIXH7.js";
20
- import { c as conversationUnchangedDetailWithMailboxSchema, d as apiErrorSchema, f as healthReportSchema, l as steerConversationPendingMessagesBodySchema, n as cancelConversationPendingMessagesResponseSchema, p as pluginOperationalReportFeedSchema, r as conversationDetailWithMailboxReportSchema, s as conversationPendingMessagesReportSchema, t as cancelConversationPendingMessagesBodySchema, u as steerConversationPendingMessagesResponseSchema, v as pluginsSchema, x as skillReportsSchema, y as runtimeInfoReportSchema } from "./conversation-pending-messages-LlFnr9-m.js";
21
- import { $ as DEFAULT_AUTO_ARCHIVE_SETTINGS, C as requireConversationPendingMessages, J as ReviewItemActionError, M as isAllowedSignInEmail, O as getProductionSlackAdapter, T as archiveConversation, Y as actOnReviewItem, Z as readReviewItemForUser, _ as appendConversationMessageForViewer, a as readConversationDetailEtag, at as emptyResponse, c as keepQuickQuestionForViewer, ct as getAttachmentStorage, et as archiveViewerDoneConversations, f as readConversationAuxiliaryCostsFromSql, ft as readHealthReport, g as readFirstHumanMessageTexts, h as conversationSummaryFromStoredConversation, i as readConversationDetail, it as updateUserAutoArchiveSettings, l as readConversationEvents, m as readConversationTreeMetricsFromSql, n as steerConversationPendingMessagesForViewer, o as markConversationRead, ot as jsonResponse, p as childAgentTotalsReport, r as pinConversation, rt as setConversationAutoArchive, s as forkConversationForViewer, st as throwApiError, t as stopConversationTurnForViewer, tt as readUserAutoArchiveSettings, u as readConversationFeed, v as createConversationForViewer, w as resolveMentions, x as cancelConversationPendingMessagesForViewer } from "./stop-C9lHWpvl.js";
22
- import { a as startConnection, n as isConnectableProvider, r as listConnections, t as disconnectConnection, u as htmlCallbackResponse } from "./connections-C0ut_6RW.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, ft as conversationCatchUpBodySchema, 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, pt as conversationCatchUpSchema, 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-BN34Jy-U.js";
15
+ import { s as getSandboxResources, t as getCachedSnapshot } from "./resolve-D3MK9oRJ.js";
16
+ import { l as getVercelConversationWorkQueue } from "./background-compaction-queue-Bbsqx8Vm.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-CzCnNAUO.js";
18
+ import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-D6AMahy7.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-MLWOrghe.js";
20
+ import { c as conversationUnchangedDetailWithMailboxSchema, d as apiErrorSchema, f as healthReportSchema, l as steerConversationPendingMessagesBodySchema, n as cancelConversationPendingMessagesResponseSchema, p as pluginOperationalReportFeedSchema, r as conversationDetailWithMailboxReportSchema, s as conversationPendingMessagesReportSchema, t as cancelConversationPendingMessagesBodySchema, u as steerConversationPendingMessagesResponseSchema, v as pluginsSchema, x as skillReportsSchema, y as runtimeInfoReportSchema } from "./conversation-pending-messages-Dct5pheX.js";
21
+ import { E as archiveConversation, N as isAllowedSignInEmail, Q as readReviewItemForUser, S as cancelConversationPendingMessagesForViewer, T as resolveMentions, X as actOnReviewItem, Y as ReviewItemActionError, _ as readFirstHumanMessageTexts, a as readConversationDetail, at as updateUserAutoArchiveSettings, c as forkConversationForViewer, ct as throwApiError, d as readConversationFeed, et as DEFAULT_AUTO_ARCHIVE_SETTINGS, ft as readHealthReport, g as conversationSummaryFromStoredConversation, h as readConversationTreeMetricsFromSql, i as reorderPinnedConversations, it as setConversationAutoArchive, k as getProductionSlackAdapter, l as keepQuickQuestionForViewer, m as childAgentTotalsReport, n as steerConversationPendingMessagesForViewer, nt as readUserAutoArchiveSettings, o as readConversationDetailEtag, ot as emptyResponse, p as readConversationAuxiliaryCostsFromSql, r as pinConversation, s as markConversationRead, st as jsonResponse, t as stopConversationTurnForViewer, tt as archiveViewerDoneConversations, u as readConversationEvents, v as appendConversationMessageForViewer, w as requireConversationPendingMessages, y as createConversationForViewer } from "./stop-DX2oOIgl.js";
22
+ import { a as startConnection, n as isConnectableProvider, r as listConnections, t as disconnectConnection, u as htmlCallbackResponse } from "./connections-BtnvpBEV.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, ft as reorderPinnedConversationsBodySchema, g as reviewItemWaitingConversationsSchema, h as reviewItemSchema, ht as conversationCatchUpSchema, i as deleteWorkspaceResponseSchema, it as stopConversationTurnResponseSchema, j as personParamsSchema, k as actorProfileReportSchema, l as workspaceSchema, lt as conversationAutoArchiveSchema, m as reviewItemParamsSchema, mt as conversationCatchUpBodySchema, n as statsReportSchema, o as workspaceListSchema, ot as archiveConversationBodySchema, p as reviewItemListSchema, pt as reorderPinnedConversationsResponseSchema, 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-CHNP0GfH.js";
24
24
  import { Hono } from "hono";
25
25
  import path from "node:path";
26
26
  import { createHash, randomBytes, randomUUID } from "node:crypto";
@@ -231,45 +231,83 @@ async function requireConversationChildAgents(conversationId, options = {}) {
231
231
  });
232
232
  }
233
233
  // src/api/conversations/attachments.ts
234
+ const INLINE_TYPES = [...INPUT_IMAGE_TYPES, ...INLINE_VIDEO_TYPES];
234
235
  function contentDisposition(filename, contentType) {
235
- return `${INPUT_IMAGE_TYPES.some((type) => type === contentType) ? "inline" : "attachment"}; filename="${filename.replace(/[^\x20-\x7e]|["\\]/g, "_")}"; filename*=UTF-8''${encodeURIComponent(filename)}`;
236
+ return `${INLINE_TYPES.includes(contentType) ? "inline" : "attachment"}; filename="${filename.replace(/[^\x20-\x7e]|["\\]/g, "_")}"; filename*=UTF-8''${encodeURIComponent(filename)}`;
236
237
  }
237
- /** Build response headers for one conversation attachment body. */
238
- function conversationAttachmentHeaders(args) {
239
- return new Headers({
240
- "cache-control": "private, no-store",
241
- "content-disposition": contentDisposition(args.filename, args.contentType),
242
- "content-length": String(args.bytes),
243
- "content-type": args.contentType,
244
- "x-content-type-options": "nosniff"
245
- });
238
+ /**
239
+ * Read one `Range` request header against an object size.
240
+ *
241
+ * Return undefined to send the whole object. HTTP lets a server ignore a
242
+ * header it does not support, so this ignores bad syntax and multiple ranges.
243
+ */
244
+ function parseRangeHeader(header, size) {
245
+ const match = header?.trim().match(/^bytes=(\d*)-(\d*)$/);
246
+ if (!match) return void 0;
247
+ const [, first = "", last = ""] = match;
248
+ if (!first) {
249
+ if (!last) return void 0;
250
+ const suffix = Number(last);
251
+ if (suffix === 0 || size === 0) return "unsatisfiable";
252
+ return {
253
+ start: Math.max(0, size - suffix),
254
+ end: size - 1
255
+ };
256
+ }
257
+ const start = Number(first);
258
+ const end = last ? Number(last) : Infinity;
259
+ if (end < start) return void 0;
260
+ if (start >= size) return "unsatisfiable";
261
+ return {
262
+ start,
263
+ end: Math.min(end, size - 1)
264
+ };
246
265
  }
247
266
  /**
248
- * Open one live conversation attachment for an authorized viewer.
267
+ * Answer one attachment read for an authorized viewer, with one byte range
268
+ * when the request asks for it. Media players need ranges to play and seek.
249
269
  *
250
270
  * Missing conversations, missing attachments, purge-marked rows, and viewers
251
- * without private-content access all return null so the route can answer 404.
271
+ * without private-content access all answer 404.
252
272
  */
253
- async function openConversationAttachment(args) {
254
- if (!(await readConversationAccessFromSql(getDb(), [args.conversationId], args.viewer)).get(args.conversationId)?.canViewPrivateContent) return null;
273
+ async function conversationAttachmentResponse(args) {
274
+ if (!(await readConversationAccessFromSql(getDb(), [args.conversationId], args.viewer)).get(args.conversationId)?.canViewPrivateContent) notFound();
255
275
  const attachment = await readLiveAttachment({
256
276
  attachmentId: args.attachmentId,
257
277
  conversationId: args.conversationId,
258
278
  db: getSqlExecutor()
259
279
  });
260
- if (!attachment) return null;
261
- if (attachment.storageProvider !== args.storage.provider) return null;
262
- const body = await args.storage.get(attachment.storageKey);
263
- return body ? {
264
- attachment,
265
- body
266
- } : null;
280
+ if (!attachment || attachment.storageProvider !== args.storage.provider) notFound();
281
+ const headers = new Headers({
282
+ "accept-ranges": "bytes",
283
+ "cache-control": "private, no-store",
284
+ "x-content-type-options": "nosniff"
285
+ });
286
+ const range = parseRangeHeader(args.range, attachment.bytes);
287
+ if (range === "unsatisfiable") {
288
+ headers.set("content-range", `bytes */${attachment.bytes}`);
289
+ return new Response(null, {
290
+ headers,
291
+ status: 416
292
+ });
293
+ }
294
+ const body = await args.storage.get(attachment.storageKey, range);
295
+ if (!body) notFound();
296
+ headers.set("content-disposition", contentDisposition(attachment.filename, attachment.contentType));
297
+ headers.set("content-type", attachment.contentType);
298
+ if (!range) {
299
+ headers.set("content-length", String(attachment.bytes));
300
+ return new Response(body, { headers });
301
+ }
302
+ headers.set("content-range", `bytes ${range.start}-${range.end}/${attachment.bytes}`);
303
+ headers.set("content-length", String(range.end - range.start + 1));
304
+ return new Response(body, {
305
+ headers,
306
+ status: 206
307
+ });
267
308
  }
268
- /** Open one attachment or throw the standard API not-found error. */
269
- async function requireConversationAttachment(args) {
270
- const opened = await openConversationAttachment(args);
271
- if (!opened) throwApiError(404, "Attachment not found.");
272
- return opened;
309
+ function notFound() {
310
+ throwApiError(404, "Attachment not found.");
273
311
  }
274
312
  // src/api/conversations/metric-buckets.ts
275
313
  /** Sum all Conversation metrics into UTC day or hour buckets. */
@@ -723,6 +761,7 @@ function createConversationRoutes(options) {
723
761
  const body = context.req.valid("json");
724
762
  return jsonResponse(conversationReadPositionSchema, await markConversationRead(viewer, conversationId, body));
725
763
  });
764
+ app.put("/pin-order", requireViewer, validateRequest("json", reorderPinnedConversationsBodySchema, "Invalid request body."), async (context) => jsonResponse(reorderPinnedConversationsResponseSchema, await reorderPinnedConversations(context.get("viewer"), context.req.valid("json"))));
726
765
  app.post("/archive-done", requireViewer, async (context) => jsonResponse(archiveDoneConversationsResponseSchema, await archiveViewerDoneConversations(context.get("viewer"))));
727
766
  app.patch("/:conversationId/auto-archive", requireViewer, validateRequest("param", conversationParamsSchema, "Invalid route parameters."), validateRequest("json", conversationAutoArchiveSchema, "Invalid request body."), async (context) => jsonResponse(conversationAutoArchiveSchema, await setConversationAutoArchive(context.get("viewer"), context.req.valid("param").conversationId, context.req.valid("json").autoArchive)));
728
767
  app.post("/:conversationId/catch-up", requireViewer, validateRequest("param", conversationParamsSchema, "Invalid route parameters."), validateRequest("json", conversationCatchUpBodySchema, "Invalid request body."), async (context) => {
@@ -772,17 +811,13 @@ function createConversationRoutes(options) {
772
811
  app.get("/:conversationId/attachments/:attachmentId", validateRequest("param", conversationAttachmentParamsSchema, "Invalid route parameters."), async (context) => {
773
812
  const { attachmentId, conversationId } = context.req.valid("param");
774
813
  const viewer = context.get("viewer");
775
- const opened = await requireConversationAttachment({
814
+ return await conversationAttachmentResponse({
776
815
  attachmentId,
777
816
  conversationId,
817
+ range: context.req.header("range"),
778
818
  storage: options.attachmentStorage,
779
819
  ...viewer ? { viewer } : void 0
780
820
  });
781
- return new Response(opened.body, { headers: conversationAttachmentHeaders({
782
- bytes: opened.attachment.bytes,
783
- contentType: opened.attachment.contentType,
784
- filename: opened.attachment.filename
785
- }) });
786
821
  });
787
822
  app.get("/:conversationId", validateRequest("param", conversationParamsSchema, "Invalid route parameters."), validateRequest("query", conversationDetailQuerySchema, "Invalid query parameters."), async (context) => {
788
823
  const { conversationId } = context.req.valid("param");
@@ -2091,7 +2126,7 @@ async function readPeoplePluginReports(args) {
2091
2126
  reports: [],
2092
2127
  source: "plugins"
2093
2128
  });
2094
- const { getPluginProfileReports } = await import("./projection-Bhz1tp0G.js").then((n) => n.kn);
2129
+ const { getPluginProfileReports } = await import("./projection-BfKkpOGQ.js").then((n) => n.kn);
2095
2130
  return pluginOperationalReportFeedSchema.parse({
2096
2131
  generatedAt: new Date(nowMs).toISOString(),
2097
2132
  reports: await getPluginProfileReports({
@@ -3119,7 +3154,7 @@ function readDescriptionText(home) {
3119
3154
  }
3120
3155
  /** Read discovered skill names for authenticated runtime diagnostics. */
3121
3156
  async function readSkillReports() {
3122
- const { discoverSkills } = await import("./skills-BGJr6xtW.js").then((n) => n.o);
3157
+ const { discoverSkills } = await import("./skills-DuOKByQH.js").then((n) => n.o);
3123
3158
  const skills = await discoverSkills();
3124
3159
  return skillReportsSchema.parse(skills.map((skill) => ({
3125
3160
  name: skill.name,
@@ -3128,7 +3163,7 @@ async function readSkillReports() {
3128
3163
  }
3129
3164
  /** Read safe configured plugin metadata for authenticated runtime diagnostics. */
3130
3165
  async function readPlugins() {
3131
- const { pluginCatalogRuntime } = await import("./catalog-runtime-ClKzLvbN.js").then((n) => n.t);
3166
+ const { pluginCatalogRuntime } = await import("./catalog-runtime-B7NRB7eH.js").then((n) => n.t);
3132
3167
  return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
3133
3168
  configKeys: plugin.manifest.configKeys ?? [],
3134
3169
  description: plugin.manifest.description,
@@ -3140,7 +3175,7 @@ async function readPlugins() {
3140
3175
  async function readRuntimeInfoReport() {
3141
3176
  const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
3142
3177
  import("./package-discovery-DJhGdS4c.js").then((n) => n.r),
3143
- import("./catalog-runtime-ClKzLvbN.js").then((n) => n.t),
3178
+ import("./catalog-runtime-B7NRB7eH.js").then((n) => n.t),
3144
3179
  readPlugins(),
3145
3180
  readSkillReports()
3146
3181
  ]);
@@ -3157,7 +3192,7 @@ async function readRuntimeInfoReport() {
3157
3192
  /** Read sanitized operational summaries contributed by plugins. */
3158
3193
  async function readPluginOperationalReportFeed() {
3159
3194
  const nowMs = Date.now();
3160
- const { getPluginOperationalReports } = await import("./projection-Bhz1tp0G.js").then((n) => n.kn);
3195
+ const { getPluginOperationalReports } = await import("./projection-BfKkpOGQ.js").then((n) => n.kn);
3161
3196
  return pluginOperationalReportFeedSchema.parse({
3162
3197
  source: "plugins",
3163
3198
  generatedAt: new Date(nowMs).toISOString(),