@sentry/junior 0.238.1 → 0.239.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 (50) hide show
  1. package/dist/{admin-leAJ2k0P.js → admin-Cc-iA6z9.js} +1 -1
  2. package/dist/{agent-hooks-p3UA9FI1.js → agent-hooks-DzfA5m3R.js} +8 -8
  3. package/dist/{agent-runner-DjQSEVuD.js → agent-runner--1wC26S6.js} +17 -17
  4. package/dist/api/schema.d.ts +43 -4
  5. package/dist/api.js +18 -18
  6. package/dist/app.js +22 -22
  7. package/dist/{briefs-mzUaJkBX.js → briefs-DGc2Thua.js} +2 -2
  8. package/dist/{catalog-runtime-xq-njrMs.js → catalog-runtime-DpB_hG_I.js} +1 -1
  9. package/dist/{checkpoint-C37Xgtj-.js → checkpoint-CN7yMfSo.js} +7 -7
  10. package/dist/cli/chat.js +12 -12
  11. package/dist/cli/check.js +3 -3
  12. package/dist/cli/main.js +2 -2
  13. package/dist/cli/plugins.js +4 -4
  14. package/dist/cli/snapshot-create.js +3 -3
  15. package/dist/cli/upgrade.js +3 -3
  16. package/dist/{client-BZdqKg6S.js → client-DNf-sJmM.js} +2 -2
  17. package/dist/{config-CGK_VplU.js → config-B8QN-04U.js} +2 -2
  18. package/dist/{conversation-privacy-Ci3QLNOb.js → conversation-privacy-CrYizZM3.js} +1 -1
  19. package/dist/{credential-sync-BBeYpK4k.js → credential-sync-BG_Yvja8.js} +14 -14
  20. package/dist/{executor-DmIad4GI.js → executor-BQV1Zc1z.js} +2 -2
  21. package/dist/{images-1xUjTHGf.js → images-C_0iwPsW.js} +2 -2
  22. package/dist/instrumentation.js +2 -2
  23. package/dist/{job-queue-CXpx6KfD.js → job-queue-D82gksYM.js} +1 -1
  24. package/dist/{logging-Bne7JUXI.js → logging-Crg0e1jb.js} +1 -1
  25. package/dist/nitro.js +3 -3
  26. package/dist/{oauth-authorization-O8N3knp9.js → oauth-authorization-Bdu39G-H.js} +1 -1
  27. package/dist/{oauth-callback-server-Cb-HPZPS.js → oauth-callback-server-eJfI6skP.js} +2 -2
  28. package/dist/{pending-auth-C6w4Gwve.js → pending-auth-DauOaies.js} +2 -2
  29. package/dist/{profile-DIcHBAxe.js → profile-XzHSfIah.js} +4 -4
  30. package/dist/{registry-VSrEYeaD.js → registry-BJME30oR.js} +1 -1
  31. package/dist/{resolve-BkpWmZgN.js → resolve-ZKXfsZuZ.js} +2 -2
  32. package/dist/{runner-52ezCnZF.js → runner-DkHL8vRA.js} +9 -9
  33. package/dist/{sandbox-egress-signals-Cmhf3P6Y.js → sandbox-egress-signals-BEQsK7ym.js} +1 -1
  34. package/dist/{skills-PHvy-ZgH.js → skills-CMl248J3.js} +2 -2
  35. package/dist/{spawn-CY34_HCm.js → spawn-DrvZYrTQ.js} +2 -2
  36. package/dist/{task-queue-B9uJqkal.js → task-queue-BMzTARMo.js} +3 -3
  37. package/dist/{task-runner-BZUoctJ1.js → task-runner-CXTpWSmw.js} +10 -10
  38. package/dist/{thread-state-SnFcB9Rk.js → thread-state-BM1sLptE.js} +6 -6
  39. package/dist/{turn-failure-response-CrSc1Vtn.js → turn-failure-response-ISrbka5I.js} +8 -8
  40. package/dist/{turn-lifecycle-D49hJbjm.js → turn-lifecycle-f7TPxQsc.js} +1 -1
  41. package/dist/{turn-session-routing-cMvumCLK.js → turn-session-routing-BcAD7onh.js} +1 -1
  42. package/dist/{validation-DsLyiOfn.js → validation-Bo6BHmig.js} +1 -1
  43. package/dist/{version-Dayi_ng2.js → version-Cv__n5ue.js} +1 -1
  44. package/dist/version.js +1 -1
  45. package/dist/{viewer-DF3HTfW5.js → viewer-EftpWXcF.js} +3 -3
  46. package/dist/{web-authorization-Dg_R1tMc.js → web-authorization-BLDXKk2u.js} +6 -6
  47. package/dist/{web-input-qVi8134S.js → web-input-DSa6geKr.js} +26 -25
  48. package/dist/{work-BbcghZZp.js → work-WOk5DovU.js} +7 -7
  49. package/dist/{worker-B-uRQzKw.js → worker-B7rtMFzw.js} +5 -5
  50. package/package.json +4 -4
@@ -1,4 +1,4 @@
1
- import { a as setUserAdminFromSql, d as getDb, n as listAdminUsersFromSql } from "./viewer-DF3HTfW5.js";
1
+ import { a as setUserAdminFromSql, d as getDb, n as listAdminUsersFromSql } from "./viewer-EftpWXcF.js";
2
2
  import { CLI_USAGE } from "./cli/run.js";
3
3
  //#region src/cli/admin.ts
4
4
  /**
@@ -1,18 +1,18 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- import { a as embedTexts, r as completeObject } from "./client-BZdqKg6S.js";
3
- import { I as isRecord$1, a as extractGenAiUsageSummary, d as logException, f as logInfo, p as logWarn, v as setSpanAttributes, w as withSpan, y as setSpanStatus } from "./logging-Bne7JUXI.js";
2
+ import { a as embedTexts, r as completeObject } from "./client-DNf-sJmM.js";
3
+ import { I as isRecord$1, a as extractGenAiUsageSummary, d as logException, f as logInfo, p as logWarn, v as setSpanAttributes, w as withSpan, y as setSpanStatus } from "./logging-Crg0e1jb.js";
4
4
  import { a as getClient$1 } from "./sentry-CgWZM_kV.js";
5
- import { t as canExposeConversationPayload } from "./conversation-privacy-Ci3QLNOb.js";
6
- import { i as getChatConfig, n as botConfig, o as getSlackBotToken } from "./config-CGK_VplU.js";
5
+ import { t as canExposeConversationPayload } from "./conversation-privacy-CrYizZM3.js";
6
+ import { i as getChatConfig, n as botConfig, o as getSlackBotToken } from "./config-B8QN-04U.js";
7
7
  import { r as defaultModelId } from "./model-profile-BwU8mqwD.js";
8
8
  import { d as parseSlackTeamId, g as parseSlackMessageTs, i as isActorUserId, o as parseActorUserId, u as parseSlackChannelReferenceId } from "./actor-BTtLaeWy.js";
9
- import { c as getConversationEventStore, d as getDb, f as getSqlExecutor, h as createSqlStore, i as resolveViewerUser, r as readActorIdentity, w as hasAgentTurnUsage } from "./viewer-DF3HTfW5.js";
9
+ import { c as getConversationEventStore, d as getDb, f as getSqlExecutor, h as createSqlStore, i as resolveViewerUser, r as readActorIdentity, w as hasAgentTurnUsage } from "./viewer-EftpWXcF.js";
10
10
  import { n as juniorDestinations } from "./destinations-BeBiJeEM.js";
11
- import { C as juniorCodeChanges, D as juniorConversations, O as juniorIdentities, S as juniorConversationAnnotations, T as juniorAttachments, _ as juniorConversationBriefs, b as juniorConversationEvents, h as juniorConversationParticipants, i as juniorWorkspaces, k as juniorUsers, n as juniorSnapshots, r as juniorWorkspaceRepos, w as juniorCodeRepositories } from "./executor-DmIad4GI.js";
11
+ import { C as juniorCodeChanges, D as juniorConversations, O as juniorIdentities, S as juniorConversationAnnotations, T as juniorAttachments, _ as juniorConversationBriefs, b as juniorConversationEvents, h as juniorConversationParticipants, i as juniorWorkspaces, k as juniorUsers, n as juniorSnapshots, r as juniorWorkspaceRepos, w as juniorCodeRepositories } from "./executor-BQV1Zc1z.js";
12
12
  import { o as decodeStoredConversationEvent } from "./history-BLTUgFYO.js";
13
- import { p as credentialSubjectSchema } from "./registry-VSrEYeaD.js";
13
+ import { p as credentialSubjectSchema } from "./registry-BJME30oR.js";
14
14
  import { B as parseBriefInput, C as conversationReportEventSchema, N as readMessageAttachments, W as readMessageCardRefs, z as conversationBriefSchema } from "./conversation-DwD-vquD.js";
15
- import { C as getDefaultRedisStateAdapterFor, N as SANDBOX_WORKSPACE_ROOT, k as sleep$1, l as isSandboxMissingError, n as hash, v as getVercelSandboxCredentials, w as getStateAdapter, x as runNonInteractiveCommand } from "./profile-DIcHBAxe.js";
15
+ import { C as getDefaultRedisStateAdapterFor, N as SANDBOX_WORKSPACE_ROOT, k as sleep$1, l as isSandboxMissingError, n as hash, v as getVercelSandboxCredentials, w as getStateAdapter, x as runNonInteractiveCommand } from "./profile-XzHSfIah.js";
16
16
  import { n as briefEntriesFromReportEvents, s as generateBrief, t as BRIEF_PROMPT } from "./prompt-CMU-B4FA.js";
17
17
  import { AsyncLocalStorage } from "node:async_hooks";
18
18
  import { z } from "zod";
@@ -1,27 +1,27 @@
1
- import { b as getGatewayApiKey, c as hasCompactedConversationContext, d as unwrapCurrentInstruction, f as escapeXml, g as getProviderErrorAttributes, h as findProviderError, i as completeText, l as isCompactionSummaryText, m as createProviderError, n as GEN_AI_SERVER_ADDRESS, o as resolveGatewayModel, p as ProviderError, r as completeObject, s as COMPACTION_SUMMARY_PREFIX, t as GEN_AI_PROVIDER_NAME, u as renderCurrentInstruction, v as isProviderRetryError, x as resolveGatewayCredential, y as MISSING_GATEWAY_CREDENTIALS_ERROR } from "./client-BZdqKg6S.js";
2
- import { C as withLogContext, F as normalizeIdentityEmail, I as isRecord$3, L as toOptionalNumber, R as toOptionalString, a as extractGenAiUsageSummary, b as setTags, c as getLogContextAttributesForSpan, d as logException, f as logInfo, g as serializeGenAiAttribute, i as extractGenAiUsageAttributes, l as getTracePropagationHeaders, m as normalizeGenAiFinishReason, p as logWarn, s as getLogContextAttributes, u as logError, v as setSpanAttributes, w as withSpan, x as summarizeMessageText, y as setSpanStatus } from "./logging-Bne7JUXI.js";
1
+ import { b as getGatewayApiKey, c as hasCompactedConversationContext, d as unwrapCurrentInstruction, f as escapeXml, g as getProviderErrorAttributes, h as findProviderError, i as completeText, l as isCompactionSummaryText, m as createProviderError, n as GEN_AI_SERVER_ADDRESS, o as resolveGatewayModel, p as ProviderError, r as completeObject, s as COMPACTION_SUMMARY_PREFIX, t as GEN_AI_PROVIDER_NAME, u as renderCurrentInstruction, v as isProviderRetryError, x as resolveGatewayCredential, y as MISSING_GATEWAY_CREDENTIALS_ERROR } from "./client-DNf-sJmM.js";
2
+ import { C as withLogContext, F as normalizeIdentityEmail, I as isRecord$3, L as toOptionalNumber, R as toOptionalString, a as extractGenAiUsageSummary, b as setTags, c as getLogContextAttributesForSpan, d as logException, f as logInfo, g as serializeGenAiAttribute, i as extractGenAiUsageAttributes, l as getTracePropagationHeaders, m as normalizeGenAiFinishReason, p as logWarn, s as getLogContextAttributes, u as logError, v as setSpanAttributes, w as withSpan, x as summarizeMessageText, y as setSpanStatus } from "./logging-Crg0e1jb.js";
3
3
  import { m as startInactiveSpan, n as captureMessage, v as withActiveSpan } from "./sentry-CgWZM_kV.js";
4
- import { a as toCanonicalInputMessage, c as toGenAiPayloadMetadata, i as runWithConversationPrivacy, l as toGenAiPayloadTraceAttributes, o as toCanonicalOutputMessage, r as resolveConversationPrivacy, s as toGenAiMessagesTraceAttributes, t as canExposeConversationPayload } from "./conversation-privacy-Ci3QLNOb.js";
5
- import { i as getChatConfig, n as botConfig, o as getSlackBotToken, v as normalizeSlackEmojiName } from "./config-CGK_VplU.js";
4
+ import { a as toCanonicalInputMessage, c as toGenAiPayloadMetadata, i as runWithConversationPrivacy, l as toGenAiPayloadTraceAttributes, o as toCanonicalOutputMessage, r as resolveConversationPrivacy, s as toGenAiMessagesTraceAttributes, t as canExposeConversationPayload } from "./conversation-privacy-CrYizZM3.js";
5
+ import { i as getChatConfig, n as botConfig, o as getSlackBotToken, v as normalizeSlackEmojiName } from "./config-B8QN-04U.js";
6
6
  import { a as formatModelProfiles, c as profileConfig, i as formatModelProfile, l as TURN_REASONING_LEVELS, n as ModelProfileNotConfiguredError, o as modelIdForProfile, s as modelProfileSchema } from "./model-profile-BwU8mqwD.js";
7
7
  import { a as isUserActor, d as parseSlackTeamId, f as parseSlackUserId, g as parseSlackMessageTs, l as parseSlackChannelId, s as parseStoredSlackActor, u as parseSlackChannelReferenceId } from "./actor-BTtLaeWy.js";
8
- import { D as readUserTimezone, M as parseDestination, O as saveUserTimezone, P as sameDestination$1, b as addAgentTurnUsage, c as getConversationEventStore, d as getDb, f as getSqlExecutor, l as getConversationMessageSearchStore, r as readActorIdentity, u as getConversationStore, w as hasAgentTurnUsage } from "./viewer-DF3HTfW5.js";
8
+ import { D as readUserTimezone, M as parseDestination, O as saveUserTimezone, P as sameDestination$1, b as addAgentTurnUsage, c as getConversationEventStore, d as getDb, f as getSqlExecutor, l as getConversationMessageSearchStore, r as readActorIdentity, u as getConversationStore, w as hasAgentTurnUsage } from "./viewer-EftpWXcF.js";
9
9
  import { n as juniorDestinations } from "./destinations-BeBiJeEM.js";
10
- import { A as juniorArtifacts, D as juniorConversations, O as juniorIdentities, S as juniorConversationAnnotations, T as juniorAttachments, _ as juniorConversationBriefs, a as juniorSchedulerRuns, f as AGENT_INVOCATION_MAILBOX_STATUSES, l as juniorStats, o as juniorSchedulerTasks, s as juniorAutomationVersions, u as juniorEventAutomations } from "./executor-DmIad4GI.js";
10
+ import { A as juniorArtifacts, D as juniorConversations, O as juniorIdentities, S as juniorConversationAnnotations, T as juniorAttachments, _ as juniorConversationBriefs, a as juniorSchedulerRuns, f as AGENT_INVOCATION_MAILBOX_STATUSES, l as juniorStats, o as juniorSchedulerTasks, s as juniorAutomationVersions, u as juniorEventAutomations } from "./executor-BQV1Zc1z.js";
11
11
  import { d as instructionActors, f as instructionProvenanceFor, p as sameActorIdentity, t as KNOWN_CONVERSATION_EVENT_TYPES, u as contextProvenance } from "./history-BLTUgFYO.js";
12
12
  import { a as listReferenceFiles, c as soulPathCandidates, l as worldPathCandidates } from "./package-discovery-BVvSnQBB.js";
13
- import { a as resolveAuthTokenPlaceholder, c as fetchWithBoundedOAuthErrorBodies, d as credentialContextForActor, f as credentialContextSchema, h as CredentialUnavailableError, i as resolvePluginHeaderEnvRefs, l as getOAuthProviderErrorAttributes, m as credentialUserSubjectId, o as resolvePluginCommandEnv, p as credentialSubjectSchema, s as OAuthProviderError } from "./registry-VSrEYeaD.js";
14
- import { n as pluginCatalogRuntime } from "./catalog-runtime-xq-njrMs.js";
15
- import { a as parseSkillInvocation, i as parseSkillFile, n as findSkillByName, r as loadSkillsByName, t as discoverSkills } from "./skills-PHvy-ZgH.js";
16
- import { C as isToolResultError, D as stripRuntimeTurnContext, E as retainRuntimeTurnContext, H as recordAuthorizationRequested, I as loadTurnRoute, K as recordToolExecutionStarted, L as openConversationProjection, M as loadConnectedMcpProviders, N as loadConversationProjection, O as trimTrailingAssistantMessages, R as recordAgentsInstructionsUpdated, S as isContinuablePiBoundary, T as normalizeToolNameFromResult, U as recordGuardianActionReviewed, W as recordMcpProviderConnected, _ as getTerminalAssistantMessages, _t as historyItemFromPiMessage, d as TurnSliceLimitExceededError, f as assertTurnToolCallLimit, g as getPiMessageRole, gt as getAgentContextInputLimitTokens, h as extractAssistantText, ht as getAgentContextCompactionTriggerTokens, k as TURN_CONTEXT_TAG, m as isTurnExecutionLimitExceededError, mt as estimateTextTokens, n as loadTurnCheckpoint, nt as resolveTaskTitle, q as recordTurnRoute, r as saveTurnCheckpoint, t as continuableMessages, tt as fallbackShortTitle, v as getUserMessageInstructionText, vt as piMessageFromHistoryItem, w as isToolResultMessage, x as isAssistantMessage, y as hasRuntimeTurnContext, z as recordAttachmentsDelivered } from "./checkpoint-C37Xgtj-.js";
17
- import { A as getWorkspaceSnapshotBuilder, B as cancelWatch, Bt as saveObjectAnnotations, C as WorkspaceValidationError, D as setWorkspaceSnapshotBuild, E as setWorkspaceSnapshot, F as RESOURCE_SUBSCRIPTION_DEFAULT_TTL_MS, G as findMatchingWatches, H as createTimerWatch, I as RESOURCE_SUBSCRIPTION_MAX_TTL_MS, It as matchSlackAttachments, K as listWatches, L as RESOURCE_WATCH_TOOL_SOURCE, M as workspaceRepoCheckoutPath, N as resolveChannelCapabilities, O as SANDBOX_RUNTIME, P as getSlackToolContext, R as STOP_WATCHING_TOOL_NAME, S as updateWorkspace, T as loadSnapshotsForProfile, U as createWatch, Vt as createPluginAnnotations, W as deliverWatch, _ as deleteWorkspace, at as getSlackClient, b as listWorkspaces, c as getPluginTools, ct as normalizeSlackConversationId, et as verifyTimerWatchCredentialSubject, g as createWorkspace, gt as getDashboardTaskLink, j as tryWorkspaceRepoCheckoutPath, k as deleteWorkspaceSnapshotBuilders, l as getPluginUserPromptContributions, mt as getDashboardConversationLink, n as applyPluginFormatMarkdown, nt as downloadPrivateSlackFile, ot as isConversationScopedChannel, pt as JUNIOR_THREAD_STATE_TTL_MS, r as createPluginHookRunner, rt as getFilePermalink, s as getPluginSystemPromptContributions, st as isDmChannel$1, tt as SlackActionError, u as getPlugins, ut as withSlackRetries, v as getWorkspace, w as invalidateReadySnapshot, xt as createPluginLogger, y as getWorkspaceByName, z as cancelSubscriptions } from "./agent-hooks-p3UA9FI1.js";
13
+ import { a as resolveAuthTokenPlaceholder, c as fetchWithBoundedOAuthErrorBodies, d as credentialContextForActor, f as credentialContextSchema, h as CredentialUnavailableError, i as resolvePluginHeaderEnvRefs, l as getOAuthProviderErrorAttributes, m as credentialUserSubjectId, o as resolvePluginCommandEnv, p as credentialSubjectSchema, s as OAuthProviderError } from "./registry-BJME30oR.js";
14
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-DpB_hG_I.js";
15
+ import { a as parseSkillInvocation, i as parseSkillFile, n as findSkillByName, r as loadSkillsByName, t as discoverSkills } from "./skills-CMl248J3.js";
16
+ import { C as isToolResultError, D as stripRuntimeTurnContext, E as retainRuntimeTurnContext, H as recordAuthorizationRequested, I as loadTurnRoute, K as recordToolExecutionStarted, L as openConversationProjection, M as loadConnectedMcpProviders, N as loadConversationProjection, O as trimTrailingAssistantMessages, R as recordAgentsInstructionsUpdated, S as isContinuablePiBoundary, T as normalizeToolNameFromResult, U as recordGuardianActionReviewed, W as recordMcpProviderConnected, _ as getTerminalAssistantMessages, _t as historyItemFromPiMessage, d as TurnSliceLimitExceededError, f as assertTurnToolCallLimit, g as getPiMessageRole, gt as getAgentContextInputLimitTokens, h as extractAssistantText, ht as getAgentContextCompactionTriggerTokens, k as TURN_CONTEXT_TAG, m as isTurnExecutionLimitExceededError, mt as estimateTextTokens, n as loadTurnCheckpoint, nt as resolveTaskTitle, q as recordTurnRoute, r as saveTurnCheckpoint, t as continuableMessages, tt as fallbackShortTitle, v as getUserMessageInstructionText, vt as piMessageFromHistoryItem, w as isToolResultMessage, x as isAssistantMessage, y as hasRuntimeTurnContext, z as recordAttachmentsDelivered } from "./checkpoint-CN7yMfSo.js";
17
+ import { A as getWorkspaceSnapshotBuilder, B as cancelWatch, Bt as saveObjectAnnotations, C as WorkspaceValidationError, D as setWorkspaceSnapshotBuild, E as setWorkspaceSnapshot, F as RESOURCE_SUBSCRIPTION_DEFAULT_TTL_MS, G as findMatchingWatches, H as createTimerWatch, I as RESOURCE_SUBSCRIPTION_MAX_TTL_MS, It as matchSlackAttachments, K as listWatches, L as RESOURCE_WATCH_TOOL_SOURCE, M as workspaceRepoCheckoutPath, N as resolveChannelCapabilities, O as SANDBOX_RUNTIME, P as getSlackToolContext, R as STOP_WATCHING_TOOL_NAME, S as updateWorkspace, T as loadSnapshotsForProfile, U as createWatch, Vt as createPluginAnnotations, W as deliverWatch, _ as deleteWorkspace, at as getSlackClient, b as listWorkspaces, c as getPluginTools, ct as normalizeSlackConversationId, et as verifyTimerWatchCredentialSubject, g as createWorkspace, gt as getDashboardTaskLink, j as tryWorkspaceRepoCheckoutPath, k as deleteWorkspaceSnapshotBuilders, l as getPluginUserPromptContributions, mt as getDashboardConversationLink, n as applyPluginFormatMarkdown, nt as downloadPrivateSlackFile, ot as isConversationScopedChannel, pt as JUNIOR_THREAD_STATE_TTL_MS, r as createPluginHookRunner, rt as getFilePermalink, s as getPluginSystemPromptContributions, st as isDmChannel$1, tt as SlackActionError, u as getPlugins, ut as withSlackRetries, v as getWorkspace, w as invalidateReadySnapshot, xt as createPluginLogger, y as getWorkspaceByName, z as cancelSubscriptions } from "./agent-hooks-DzfA5m3R.js";
18
18
  import { F as isVisionImageMediaType, G as removedCardSchema, L as briefLinkSchema, R as briefOutcomeStatusSchema, z as conversationBriefSchema } from "./conversation-DwD-vquD.js";
19
- import { A as SANDBOX_DATA_ROOT, C as getDefaultRedisStateAdapterFor, D as fenceLock, E as acquireActiveLock, F as sandboxSkillFile, I as sandboxSkillPathResolution, M as SANDBOX_SKILLS_ROOT, N as SANDBOX_WORKSPACE_ROOT, O as withLock, P as sandboxSkillDir, _ as workspaceSnapshotNotReadyUserMessage, a as isAbortError, b as buildNonInteractiveShellScript, c as isSandboxCommandStreamInterruptedError, d as isSnapshottingError, f as throwSandboxOperationError, g as isWorkspaceSnapshotNotReadyError, h as getWorkspaceSnapshotNotReadyError, i as ensureDockerDaemon, j as SANDBOX_REPOS_ROOT, k as sleep$2, l as isSandboxMissingError, m as WorkspaceSnapshotNotReadyError, n as hash, o as isAlreadyExistsError, p as wrapSandboxSetupError, r as isStale, s as isSandboxApiTransientError, t as create, u as isSandboxUnavailableError, v as getVercelSandboxCredentials, w as getStateAdapter, x as runNonInteractiveCommand, y as buildCommandScript } from "./profile-DIcHBAxe.js";
20
- import { n as canReusePendingAuthLink, t as abandonReplacedPendingAuth } from "./pending-auth-C6w4Gwve.js";
21
- import { a as NO_REPLY_MARKER, c as CooperativeTurnYieldError, i as sanitizeAssistantText, l as TurnInputCommitLostError, n as decideReply, o as isNoReplyMarker, p as isTurnInputCommitLostError, r as getAssistantReplyText, t as authorizationId } from "./oauth-authorization-O8N3knp9.js";
19
+ import { A as SANDBOX_DATA_ROOT, C as getDefaultRedisStateAdapterFor, D as fenceLock, E as acquireActiveLock, F as sandboxSkillFile, I as sandboxSkillPathResolution, M as SANDBOX_SKILLS_ROOT, N as SANDBOX_WORKSPACE_ROOT, O as withLock, P as sandboxSkillDir, _ as workspaceSnapshotNotReadyUserMessage, a as isAbortError, b as buildNonInteractiveShellScript, c as isSandboxCommandStreamInterruptedError, d as isSnapshottingError, f as throwSandboxOperationError, g as isWorkspaceSnapshotNotReadyError, h as getWorkspaceSnapshotNotReadyError, i as ensureDockerDaemon, j as SANDBOX_REPOS_ROOT, k as sleep$2, l as isSandboxMissingError, m as WorkspaceSnapshotNotReadyError, n as hash, o as isAlreadyExistsError, p as wrapSandboxSetupError, r as isStale, s as isSandboxApiTransientError, t as create, u as isSandboxUnavailableError, v as getVercelSandboxCredentials, w as getStateAdapter, x as runNonInteractiveCommand, y as buildCommandScript } from "./profile-XzHSfIah.js";
20
+ import { n as canReusePendingAuthLink, t as abandonReplacedPendingAuth } from "./pending-auth-DauOaies.js";
21
+ import { a as NO_REPLY_MARKER, c as CooperativeTurnYieldError, i as sanitizeAssistantText, l as TurnInputCommitLostError, n as decideReply, o as isNoReplyMarker, p as isTurnInputCommitLostError, r as getAssistantReplyText, t as authorizationId } from "./oauth-authorization-Bdu39G-H.js";
22
22
  import { r as EVENT_AUTHOR_ID } from "./prompt-CMU-B4FA.js";
23
- import { a as createSandboxSession, c as postinstall, d as getSandboxResources, i as bindSandboxFileSystem, l as setSnapshotSpanAttributes, n as isMissingError, o as stopSession, r as resolve$1, s as dependencies } from "./resolve-BkpWmZgN.js";
24
- import { a as getVercelConversationWorkQueue, f as getTurnRequestDeadline, n as sendNextWorkspaceSnapshotJob, r as sendWorkspaceSnapshotJob } from "./job-queue-CXpx6KfD.js";
23
+ import { a as createSandboxSession, c as postinstall, d as getSandboxResources, i as bindSandboxFileSystem, l as setSnapshotSpanAttributes, n as isMissingError, o as stopSession, r as resolve$1, s as dependencies } from "./resolve-ZKXfsZuZ.js";
24
+ import { a as getVercelConversationWorkQueue, f as getTurnRequestDeadline, n as sendNextWorkspaceSnapshotJob, r as sendWorkspaceSnapshotJob } from "./job-queue-D82gksYM.js";
25
25
  import { A as eventAutomationSchema, D as scheduledRunSchema, E as scheduledAutomationSchema, M as compileScheduleIntent, N as isValidTimeZone$1, O as automationInstructionToolSchema, P as scheduleIntentSchema, R as getZonedDateTimeParts, S as automationVersionSchema, T as SCHEDULED_AUTOMATION_SYSTEM_ACTOR, j as ScheduleIntentError, k as automationTitleSchema, z as taskOutcomeInputSchema } from "./automation-CrQGQ2MT.js";
26
26
  import { r as isExperimentalFeatureEnabled } from "./experimental-Qn9rKLgx.js";
27
27
  import { n as privateTraceResultAttributes } from "./private-trace-result-BLvBjy_e.js";
@@ -21879,7 +21879,7 @@ function createAgentRunner(execute, options) {
21879
21879
  } } : void 0
21880
21880
  };
21881
21881
  if (run.instruction.storedAttachments?.length) {
21882
- const { loadInputImages } = await import("./images-1xUjTHGf.js").then((n) => n.n);
21882
+ const { loadInputImages } = await import("./images-C_0iwPsW.js").then((n) => n.n);
21883
21883
  const storage = nextRun.environment?.attachmentStorage;
21884
21884
  if (!storage) throw new Error("Attachment storage is unavailable.");
21885
21885
  nextRun.instruction = {
@@ -540,6 +540,7 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
540
540
  code_change: "code_change";
541
541
  task: "task";
542
542
  deployment: "deployment";
543
+ calendar_event: "calendar_event";
543
544
  automation: "automation";
544
545
  item: "item";
545
546
  }>>;
@@ -562,6 +563,7 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
562
563
  code_change: "code_change";
563
564
  task: "task";
564
565
  deployment: "deployment";
566
+ calendar_event: "calendar_event";
565
567
  automation: "automation";
566
568
  item: "item";
567
569
  }>;
@@ -607,6 +609,10 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
607
609
  environment: z.ZodOptional<z.ZodString>;
608
610
  revision: z.ZodOptional<z.ZodString>;
609
611
  branch: z.ZodOptional<z.ZodString>;
612
+ }, z.core.$strict>, z.ZodObject<{
613
+ type: z.ZodLiteral<"calendar_event">;
614
+ when: z.ZodOptional<z.ZodString>;
615
+ attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
610
616
  }, z.core.$strict>], "type">>;
611
617
  }, z.core.$strict>], "kind">, z.ZodObject<{
612
618
  plugin: z.ZodString;
@@ -626,6 +632,7 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
626
632
  code_change: "code_change";
627
633
  task: "task";
628
634
  deployment: "deployment";
635
+ calendar_event: "calendar_event";
629
636
  automation: "automation";
630
637
  item: "item";
631
638
  }>>;
@@ -662,6 +669,7 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
662
669
  code_change: "code_change";
663
670
  task: "task";
664
671
  deployment: "deployment";
672
+ calendar_event: "calendar_event";
665
673
  automation: "automation";
666
674
  item: "item";
667
675
  }>>;
@@ -778,13 +786,13 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
778
786
  }, z.core.$strict>>>;
779
787
  icon: z.ZodOptional<z.ZodEnum<{
780
788
  check: "check";
789
+ calendar: "calendar";
781
790
  warning: "warning";
782
791
  info: "info";
783
792
  key: "key";
784
793
  link: "link";
785
794
  activity: "activity";
786
795
  brain: "brain";
787
- calendar: "calendar";
788
796
  database: "database";
789
797
  sparkles: "sparkles";
790
798
  }>>;
@@ -897,6 +905,7 @@ export declare const conversationReportEventSchema: z.ZodObject<{
897
905
  code_change: "code_change";
898
906
  task: "task";
899
907
  deployment: "deployment";
908
+ calendar_event: "calendar_event";
900
909
  automation: "automation";
901
910
  item: "item";
902
911
  }>>;
@@ -1013,13 +1022,13 @@ export declare const conversationReportEventSchema: z.ZodObject<{
1013
1022
  }, z.core.$strict>>>;
1014
1023
  icon: z.ZodOptional<z.ZodEnum<{
1015
1024
  check: "check";
1025
+ calendar: "calendar";
1016
1026
  warning: "warning";
1017
1027
  info: "info";
1018
1028
  key: "key";
1019
1029
  link: "link";
1020
1030
  activity: "activity";
1021
1031
  brain: "brain";
1022
- calendar: "calendar";
1023
1032
  database: "database";
1024
1033
  sparkles: "sparkles";
1025
1034
  }>>;
@@ -1247,6 +1256,7 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1247
1256
  code_change: "code_change";
1248
1257
  task: "task";
1249
1258
  deployment: "deployment";
1259
+ calendar_event: "calendar_event";
1250
1260
  automation: "automation";
1251
1261
  item: "item";
1252
1262
  }>>;
@@ -1269,6 +1279,7 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1269
1279
  code_change: "code_change";
1270
1280
  task: "task";
1271
1281
  deployment: "deployment";
1282
+ calendar_event: "calendar_event";
1272
1283
  automation: "automation";
1273
1284
  item: "item";
1274
1285
  }>;
@@ -1314,6 +1325,10 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1314
1325
  environment: z.ZodOptional<z.ZodString>;
1315
1326
  revision: z.ZodOptional<z.ZodString>;
1316
1327
  branch: z.ZodOptional<z.ZodString>;
1328
+ }, z.core.$strict>, z.ZodObject<{
1329
+ type: z.ZodLiteral<"calendar_event">;
1330
+ when: z.ZodOptional<z.ZodString>;
1331
+ attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
1317
1332
  }, z.core.$strict>], "type">>;
1318
1333
  }, z.core.$strict>], "kind">, z.ZodObject<{
1319
1334
  plugin: z.ZodString;
@@ -1333,6 +1348,7 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1333
1348
  code_change: "code_change";
1334
1349
  task: "task";
1335
1350
  deployment: "deployment";
1351
+ calendar_event: "calendar_event";
1336
1352
  automation: "automation";
1337
1353
  item: "item";
1338
1354
  }>>;
@@ -1469,6 +1485,7 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1469
1485
  code_change: "code_change";
1470
1486
  task: "task";
1471
1487
  deployment: "deployment";
1488
+ calendar_event: "calendar_event";
1472
1489
  automation: "automation";
1473
1490
  item: "item";
1474
1491
  }>>;
@@ -1585,13 +1602,13 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1585
1602
  }, z.core.$strict>>>;
1586
1603
  icon: z.ZodOptional<z.ZodEnum<{
1587
1604
  check: "check";
1605
+ calendar: "calendar";
1588
1606
  warning: "warning";
1589
1607
  info: "info";
1590
1608
  key: "key";
1591
1609
  link: "link";
1592
1610
  activity: "activity";
1593
1611
  brain: "brain";
1594
- calendar: "calendar";
1595
1612
  database: "database";
1596
1613
  sparkles: "sparkles";
1597
1614
  }>>;
@@ -1752,6 +1769,7 @@ export declare const conversationEventPageSchema: z.ZodObject<{
1752
1769
  code_change: "code_change";
1753
1770
  task: "task";
1754
1771
  deployment: "deployment";
1772
+ calendar_event: "calendar_event";
1755
1773
  automation: "automation";
1756
1774
  item: "item";
1757
1775
  }>>;
@@ -1868,13 +1886,13 @@ export declare const conversationEventPageSchema: z.ZodObject<{
1868
1886
  }, z.core.$strict>>>;
1869
1887
  icon: z.ZodOptional<z.ZodEnum<{
1870
1888
  check: "check";
1889
+ calendar: "calendar";
1871
1890
  warning: "warning";
1872
1891
  info: "info";
1873
1892
  key: "key";
1874
1893
  link: "link";
1875
1894
  activity: "activity";
1876
1895
  brain: "brain";
1877
- calendar: "calendar";
1878
1896
  database: "database";
1879
1897
  sparkles: "sparkles";
1880
1898
  }>>;
@@ -2080,6 +2098,7 @@ export declare const conversationFeedSchema: z.ZodObject<{
2080
2098
  code_change: "code_change";
2081
2099
  task: "task";
2082
2100
  deployment: "deployment";
2101
+ calendar_event: "calendar_event";
2083
2102
  automation: "automation";
2084
2103
  item: "item";
2085
2104
  }>>;
@@ -2102,6 +2121,7 @@ export declare const conversationFeedSchema: z.ZodObject<{
2102
2121
  code_change: "code_change";
2103
2122
  task: "task";
2104
2123
  deployment: "deployment";
2124
+ calendar_event: "calendar_event";
2105
2125
  automation: "automation";
2106
2126
  item: "item";
2107
2127
  }>;
@@ -2147,6 +2167,10 @@ export declare const conversationFeedSchema: z.ZodObject<{
2147
2167
  environment: z.ZodOptional<z.ZodString>;
2148
2168
  revision: z.ZodOptional<z.ZodString>;
2149
2169
  branch: z.ZodOptional<z.ZodString>;
2170
+ }, z.core.$strict>, z.ZodObject<{
2171
+ type: z.ZodLiteral<"calendar_event">;
2172
+ when: z.ZodOptional<z.ZodString>;
2173
+ attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
2150
2174
  }, z.core.$strict>], "type">>;
2151
2175
  }, z.core.$strict>], "kind">, z.ZodObject<{
2152
2176
  plugin: z.ZodString;
@@ -2166,6 +2190,7 @@ export declare const conversationFeedSchema: z.ZodObject<{
2166
2190
  code_change: "code_change";
2167
2191
  task: "task";
2168
2192
  deployment: "deployment";
2193
+ calendar_event: "calendar_event";
2169
2194
  automation: "automation";
2170
2195
  item: "item";
2171
2196
  }>>;
@@ -2651,6 +2676,7 @@ export declare const actorProfileReportSchema: z.ZodObject<{
2651
2676
  code_change: "code_change";
2652
2677
  task: "task";
2653
2678
  deployment: "deployment";
2679
+ calendar_event: "calendar_event";
2654
2680
  automation: "automation";
2655
2681
  item: "item";
2656
2682
  }>>;
@@ -2673,6 +2699,7 @@ export declare const actorProfileReportSchema: z.ZodObject<{
2673
2699
  code_change: "code_change";
2674
2700
  task: "task";
2675
2701
  deployment: "deployment";
2702
+ calendar_event: "calendar_event";
2676
2703
  automation: "automation";
2677
2704
  item: "item";
2678
2705
  }>;
@@ -2718,6 +2745,10 @@ export declare const actorProfileReportSchema: z.ZodObject<{
2718
2745
  environment: z.ZodOptional<z.ZodString>;
2719
2746
  revision: z.ZodOptional<z.ZodString>;
2720
2747
  branch: z.ZodOptional<z.ZodString>;
2748
+ }, z.core.$strict>, z.ZodObject<{
2749
+ type: z.ZodLiteral<"calendar_event">;
2750
+ when: z.ZodOptional<z.ZodString>;
2751
+ attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
2721
2752
  }, z.core.$strict>], "type">>;
2722
2753
  }, z.core.$strict>], "kind">, z.ZodObject<{
2723
2754
  plugin: z.ZodString;
@@ -2737,6 +2768,7 @@ export declare const actorProfileReportSchema: z.ZodObject<{
2737
2768
  code_change: "code_change";
2738
2769
  task: "task";
2739
2770
  deployment: "deployment";
2771
+ calendar_event: "calendar_event";
2740
2772
  automation: "automation";
2741
2773
  item: "item";
2742
2774
  }>>;
@@ -3037,6 +3069,7 @@ export declare const locationDetailReportSchema: z.ZodObject<{
3037
3069
  code_change: "code_change";
3038
3070
  task: "task";
3039
3071
  deployment: "deployment";
3072
+ calendar_event: "calendar_event";
3040
3073
  automation: "automation";
3041
3074
  item: "item";
3042
3075
  }>>;
@@ -3059,6 +3092,7 @@ export declare const locationDetailReportSchema: z.ZodObject<{
3059
3092
  code_change: "code_change";
3060
3093
  task: "task";
3061
3094
  deployment: "deployment";
3095
+ calendar_event: "calendar_event";
3062
3096
  automation: "automation";
3063
3097
  item: "item";
3064
3098
  }>;
@@ -3104,6 +3138,10 @@ export declare const locationDetailReportSchema: z.ZodObject<{
3104
3138
  environment: z.ZodOptional<z.ZodString>;
3105
3139
  revision: z.ZodOptional<z.ZodString>;
3106
3140
  branch: z.ZodOptional<z.ZodString>;
3141
+ }, z.core.$strict>, z.ZodObject<{
3142
+ type: z.ZodLiteral<"calendar_event">;
3143
+ when: z.ZodOptional<z.ZodString>;
3144
+ attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
3107
3145
  }, z.core.$strict>], "type">>;
3108
3146
  }, z.core.$strict>], "kind">, z.ZodObject<{
3109
3147
  plugin: z.ZodString;
@@ -3123,6 +3161,7 @@ export declare const locationDetailReportSchema: z.ZodObject<{
3123
3161
  code_change: "code_change";
3124
3162
  task: "task";
3125
3163
  deployment: "deployment";
3164
+ calendar_event: "calendar_event";
3126
3165
  automation: "automation";
3127
3166
  item: "item";
3128
3167
  }>>;
package/dist/api.js CHANGED
@@ -1,22 +1,22 @@
1
- import { $ as eventAutomationBelongsToUser, Et as pluginEventCatalog, F as lookupSlackUser, H as saveScheduledAutomation, J as eventAutomationTriggerAvailable, K as editEventAutomation, O as parseSlackThreadId, P as editScheduledAutomation, T as readLiveAttachment, V as readScheduledAutomation, Vt as getConversation, X as resolveTaskOutcomes, at as setEventAutomationStatus, ct as readAutomationVersion, dt as automationRevision, ft as requireAutomationRevision, g as readStats, it as saveEventAutomation, jt as cancelHumanFacingPendingMessages, lt as sameDefinitionValue, ot as automationDefinition, q as AutomationEditError, tt as getEventAutomation, ut as AutomationConflictError, wt as getEventCatalog } from "./agent-runner-DjQSEVuD.js";
2
- import { d as logException, p as logWarn } from "./logging-Bne7JUXI.js";
1
+ import { $ as eventAutomationBelongsToUser, Et as pluginEventCatalog, F as lookupSlackUser, H as saveScheduledAutomation, J as eventAutomationTriggerAvailable, K as editEventAutomation, O as parseSlackThreadId, P as editScheduledAutomation, T as readLiveAttachment, V as readScheduledAutomation, Vt as getConversation, X as resolveTaskOutcomes, at as setEventAutomationStatus, ct as readAutomationVersion, dt as automationRevision, ft as requireAutomationRevision, g as readStats, it as saveEventAutomation, jt as cancelHumanFacingPendingMessages, lt as sameDefinitionValue, ot as automationDefinition, q as AutomationEditError, tt as getEventAutomation, ut as AutomationConflictError, wt as getEventCatalog } from "./agent-runner--1wC26S6.js";
2
+ import { d as logException, p as logWarn } from "./logging-Crg0e1jb.js";
3
3
  import { d as parseSlackTeamId, g as parseSlackMessageTs, l as parseSlackChannelId } from "./actor-BTtLaeWy.js";
4
- import { C as agentTurnUsageSchema, T as resolveRootConversationId, _ as locationFromRow, c as getConversationEventStore, d as getDb, f as getSqlExecutor, i as resolveViewerUser, m as withConversationEventLock, o as updateViewerDisplayName, t as findUserByEmail, u as getConversationStore, w as hasAgentTurnUsage, y as parseSessionSource } from "./viewer-DF3HTfW5.js";
4
+ import { C as agentTurnUsageSchema, T as resolveRootConversationId, _ as locationFromRow, c as getConversationEventStore, d as getDb, f as getSqlExecutor, i as resolveViewerUser, m as withConversationEventLock, o as updateViewerDisplayName, t as findUserByEmail, u as getConversationStore, w as hasAgentTurnUsage, y as parseSessionSource } from "./viewer-EftpWXcF.js";
5
5
  import { n as juniorDestinations } from "./destinations-BeBiJeEM.js";
6
- import { C as juniorCodeChanges, D as juniorConversations, E as conversationReadColumns, O as juniorIdentities, _ as juniorConversationBriefs, b as juniorConversationEvents, h as juniorConversationParticipants, k as juniorUsers, w as juniorCodeRepositories, x as juniorApiTokens, y as juniorConversationMetrics } from "./executor-DmIad4GI.js";
6
+ import { C as juniorCodeChanges, D as juniorConversations, E as conversationReadColumns, O as juniorIdentities, _ as juniorConversationBriefs, b as juniorConversationEvents, h as juniorConversationParticipants, k as juniorUsers, w as juniorCodeRepositories, x as juniorApiTokens, y as juniorConversationMetrics } from "./executor-BQV1Zc1z.js";
7
7
  import { u as contextProvenance } from "./history-BLTUgFYO.js";
8
- import { F as loadTurnProjection, vt as piMessageFromHistoryItem } from "./checkpoint-C37Xgtj-.js";
9
- import { At as viewerConversationMembership, C as WorkspaceValidationError, Ct as conversationArchiveTimes, Dt as conversationHasParticipantUser, Et as conversationHasParticipantEmail, Ht as listConversationAnnotations, M as workspaceRepoCheckoutPath, Mt as readLatestConversationBrief, Nt as readConversationEventPage, O as SANDBOX_RUNTIME, Ot as conversationNotArchivedForEmail, Pt as buildSentryConversationUrl, S as updateWorkspace, St as readConversationAccessFromSql, Tt as conversationArchivedForUser, Ut as listConversationAnnotationsById, _ as deleteWorkspace, at as getSlackClient, b as listWorkspaces, g as createWorkspace, kt as conversationNotArchivedForUser, u as getPlugins, ut as withSlackRetries, v as getWorkspace, wt as conversationArchivedForEmail, x as listWorkspacesByRepository, xt as createPluginLogger } from "./agent-hooks-p3UA9FI1.js";
8
+ import { F as loadTurnProjection, vt as piMessageFromHistoryItem } from "./checkpoint-CN7yMfSo.js";
9
+ import { At as viewerConversationMembership, C as WorkspaceValidationError, Ct as conversationArchiveTimes, Dt as conversationHasParticipantUser, Et as conversationHasParticipantEmail, Ht as listConversationAnnotations, M as workspaceRepoCheckoutPath, Mt as readLatestConversationBrief, Nt as readConversationEventPage, O as SANDBOX_RUNTIME, Ot as conversationNotArchivedForEmail, Pt as buildSentryConversationUrl, S as updateWorkspace, St as readConversationAccessFromSql, Tt as conversationArchivedForUser, Ut as listConversationAnnotationsById, _ as deleteWorkspace, at as getSlackClient, b as listWorkspaces, g as createWorkspace, kt as conversationNotArchivedForUser, u as getPlugins, ut as withSlackRetries, v as getWorkspace, wt as conversationArchivedForEmail, x as listWorkspacesByRepository, xt as createPluginLogger } from "./agent-hooks-DzfA5m3R.js";
10
10
  import { A as forkConversationResponseSchema, D as createConversationBodySchema, N as readMessageAttachments, O as createConversationMessageBodySchema, P as INPUT_IMAGE_TYPES, T as conversationStatsReportSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, c as conversationAttachmentParamsSchema, d as conversationDetailReportSchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, k as forkConversationBodySchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, x as conversationPendingMessagesReportSchema } from "./conversation-DwD-vquD.js";
11
- import { n as hash, t as create } from "./profile-DIcHBAxe.js";
12
- import { t as getCachedSnapshot } from "./resolve-BkpWmZgN.js";
13
- import { a as getVercelConversationWorkQueue } from "./job-queue-CXpx6KfD.js";
11
+ import { n as hash, t as create } from "./profile-XzHSfIah.js";
12
+ import { t as getCachedSnapshot } from "./resolve-ZKXfsZuZ.js";
13
+ import { a as getVercelConversationWorkQueue } from "./job-queue-D82gksYM.js";
14
14
  import { F as weekdaySchema, I as getFirstRunAtMs, M 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, j as ScheduleIntentError, 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-CrQGQ2MT.js";
15
15
  import { C as skillReportsSchema, a as fillUtcHours, b as pluginsSchema, c as sumUtcHoursIntoSixHours, d as trailingUtcSixHourWindow, f as utcDayKey, h as pluginOperationalReportFeedSchema, i as fillUtcDays, l as trailingUtcDayWindow, m as healthReportSchema, n as DAY_MS$1, o as fillUtcSixHours, p as utcHourKey, r as HOUR_MS$1, s as startOfUtcHour, u as trailingUtcHourWindow, x as runtimeInfoReportSchema } from "./web-message-id-xPI_EFSC.js";
16
- import { B as readHealthReport, C as clearSlackPendingReactions, I as createVercelAttachmentStorage, _ as readViewerAutomationSummary, a as recordWebConversationActivity, b as resolveViewerTaskCandidate, d as resolveSlackConversationContextFromThreadId, f as ViewerTaskNotFoundError, g as readViewerAutomationRuns, h as readViewerAutomationExecutions, i as createConversationId, j as legacyWebMailboxMetadataSchema, l as getProductionSlackAdapter, m as readConversationSourceTask, o as webActorFromEmail, p as deleteViewerTask, r as createAndEnqueueConversation, t as appendAndEnqueueWebMessage, u as formatSlackConversationRedactedLabel, v as readViewerAutomationVersions, y as readViewerAutomations } from "./web-input-qVi8134S.js";
17
- import { A as conversationAggregateColumns, j as conversationRangeColumns, k as conversationActiveDaysColumn } from "./task-runner-BZUoctJ1.js";
18
- import { r as getWebAuthorization } from "./web-authorization-Dg_R1tMc.js";
19
- import { t as decodeInputImages } from "./images-1xUjTHGf.js";
16
+ import { B as readHealthReport, C as clearSlackPendingReactions, I as createVercelAttachmentStorage, _ as readViewerAutomationSummary, a as recordWebConversationActivity, b as resolveViewerTaskCandidate, d as resolveSlackConversationContextFromThreadId, f as ViewerTaskNotFoundError, g as readViewerAutomationRuns, h as readViewerAutomationExecutions, i as createConversationId, j as legacyWebMailboxMetadataSchema, l as getProductionSlackAdapter, m as readConversationSourceTask, o as webActorFromEmail, p as deleteViewerTask, r as createAndEnqueueConversation, t as appendAndEnqueueWebMessage, u as formatSlackConversationRedactedLabel, v as readViewerAutomationVersions, y as readViewerAutomations } from "./web-input-DSa6geKr.js";
17
+ import { A as conversationAggregateColumns, j as conversationRangeColumns, k as conversationActiveDaysColumn } from "./task-runner-CXTpWSmw.js";
18
+ import { r as getWebAuthorization } from "./web-authorization-BLDXKk2u.js";
19
+ import { t as decodeInputImages } from "./images-C_0iwPsW.js";
20
20
  import { C as locationParamsSchema, E as activitySixHours$1, I as apiErrorSchema, M as codePersonReportSchema, N as codeRepositoryParamsSchema, P as codeRepositoryReportSchema, S as locationDirectoryReportSchema, T as activityHours$1, _ as actorProfileReportSchema, a as workspaceBodySchema, d as createdPersonalTokenSchema, f as personalTokenListSchema, g as actorDirectoryReportSchema, h as revokePersonalTokenResponseSchema, i as deleteWorkspaceResponseSchema, j as codeOverviewReportSchema, l as workspaceSchema, m as personalTokenParamsSchema, n as statsReportSchema, o as workspaceListSchema, s as workspaceParamsSchema, u as createPersonalTokenBodySchema, v as personParamsSchema, w as activityDays$1, x as locationDetailReportSchema, y as personalSpendReportSchema } from "./schema-CxWAN2zq.js";
21
21
  import { Hono } from "hono";
22
22
  import path from "node:path";
@@ -3356,7 +3356,7 @@ async function readPeoplePluginReports(args) {
3356
3356
  reports: [],
3357
3357
  source: "plugins"
3358
3358
  });
3359
- const { getPluginProfileReports } = await import("./agent-hooks-p3UA9FI1.js").then((n) => n.t);
3359
+ const { getPluginProfileReports } = await import("./agent-hooks-DzfA5m3R.js").then((n) => n.t);
3360
3360
  return pluginOperationalReportFeedSchema.parse({
3361
3361
  generatedAt: new Date(nowMs).toISOString(),
3362
3362
  reports: await getPluginProfileReports({
@@ -4324,7 +4324,7 @@ function readDescriptionText(home) {
4324
4324
  }
4325
4325
  /** Read discovered skill names for authenticated runtime diagnostics. */
4326
4326
  async function readSkillReports() {
4327
- const { discoverSkills } = await import("./skills-PHvy-ZgH.js").then((n) => n.o);
4327
+ const { discoverSkills } = await import("./skills-CMl248J3.js").then((n) => n.o);
4328
4328
  const skills = await discoverSkills();
4329
4329
  return skillReportsSchema.parse(skills.map((skill) => ({
4330
4330
  name: skill.name,
@@ -4333,7 +4333,7 @@ async function readSkillReports() {
4333
4333
  }
4334
4334
  /** Read safe configured plugin metadata for authenticated runtime diagnostics. */
4335
4335
  async function readPlugins() {
4336
- const { pluginCatalogRuntime } = await import("./catalog-runtime-xq-njrMs.js").then((n) => n.t);
4336
+ const { pluginCatalogRuntime } = await import("./catalog-runtime-DpB_hG_I.js").then((n) => n.t);
4337
4337
  return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
4338
4338
  configKeys: plugin.manifest.configKeys ?? [],
4339
4339
  description: plugin.manifest.description,
@@ -4345,7 +4345,7 @@ async function readPlugins() {
4345
4345
  async function readRuntimeInfoReport() {
4346
4346
  const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
4347
4347
  import("./package-discovery-BVvSnQBB.js").then((n) => n.r),
4348
- import("./catalog-runtime-xq-njrMs.js").then((n) => n.t),
4348
+ import("./catalog-runtime-DpB_hG_I.js").then((n) => n.t),
4349
4349
  readPlugins(),
4350
4350
  readSkillReports()
4351
4351
  ]);
@@ -4362,7 +4362,7 @@ async function readRuntimeInfoReport() {
4362
4362
  /** Read sanitized operational summaries contributed by plugins. */
4363
4363
  async function readPluginOperationalReportFeed() {
4364
4364
  const nowMs = Date.now();
4365
- const { getPluginOperationalReports } = await import("./agent-hooks-p3UA9FI1.js").then((n) => n.t);
4365
+ const { getPluginOperationalReports } = await import("./agent-hooks-DzfA5m3R.js").then((n) => n.t);
4366
4366
  return pluginOperationalReportFeedSchema.parse({
4367
4367
  source: "plugins",
4368
4368
  generatedAt: new Date(nowMs).toISOString(),
package/dist/app.js CHANGED
@@ -1,32 +1,32 @@
1
- import { An as slackEntitySchema, Bn as setConfigDefaults, Bt as ensureConversationWake, E as requestAttachmentDeletion, G as withScheduledAutomationLock, Ht as getConversationWorkState, I as logScheduledAutomationRunSkipped, Jt as removeActiveConversation, L as scheduledAutomationRunAttributes, Mn as createUserTokenStore, O as parseSlackThreadId, Pt as clearExpiredConversationLease, Qt as stopConversationWork, R as listScheduledAutomations, Tn as slackMention, Tt as eventGuidance, U as saveScheduledAutomationInLock, Ut as hasRunnableConversationWork, V as readScheduledAutomation, Vt as getConversation, W as scheduledRunId, Wt as listActiveConversationIds, Xt as requestConversationWork, Y as effectiveTaskOutcomes, Z as collectEventAutomationMatchKeys, _n as formatProviderLabel, an as renderTaskInput, b as unpublishedArtifactHeaders, bn as startOAuthFlow, bt as ingestEvent, c as deleteMcpAuthSessionsForUserProvider, cn as resolveSandboxEgressProviderForHost, dn as SANDBOX_EGRESS_PROXY_PATH, en as CONVERSATION_WORK_STALE_ENQUEUE_MS, et as findMatchingEventAutomations, fn as clearSandboxEgressSignals, hn as parseSandboxEgressCredentialToken, i as executeCredentialedEgressRequest, in as isInvalidConversationRecordError, jn as slackExternalRefIdSchema, kt as appendAndEnqueueInboundMessage, l as deleteMcpServerSessionId, ln as normalizeSandboxEgressTracePropagationDomains, mn as consumeSandboxEgressPermissionDeniedSignal, n as executeAgentRun, nn as hasRunnableConversationWork$1, pn as consumeSandboxEgressAuthRequiredSignal, t as createAgentRunner, u as deleteMcpStoredOAuthCredentials, un as shouldPropagateSandboxEgressTrace, v as publicArtifactHeaders, w as collectAttachmentGarbage, wt as getEventCatalog, x as lookupSlackUserProfile, y as readPublicArtifact, yt as processWorkspaceSnapshotJob, z as listScheduledAutomationsForTeam, zn as getConfigDefaults } from "./agent-runner-DjQSEVuD.js";
2
- import { C as withLogContext, O as JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE, S as withContext, d as logException, f as logInfo, j as JUNIOR_WORKSPACE_SNAPSHOT_JOB_CALLBACK_ROUTE, p as logWarn, r as createRequestContext, v as setSpanAttributes, w as withSpan, y as setSpanStatus } from "./logging-Bne7JUXI.js";
1
+ import { An as slackEntitySchema, Bn as setConfigDefaults, Bt as ensureConversationWake, E as requestAttachmentDeletion, G as withScheduledAutomationLock, Ht as getConversationWorkState, I as logScheduledAutomationRunSkipped, Jt as removeActiveConversation, L as scheduledAutomationRunAttributes, Mn as createUserTokenStore, O as parseSlackThreadId, Pt as clearExpiredConversationLease, Qt as stopConversationWork, R as listScheduledAutomations, Tn as slackMention, Tt as eventGuidance, U as saveScheduledAutomationInLock, Ut as hasRunnableConversationWork, V as readScheduledAutomation, Vt as getConversation, W as scheduledRunId, Wt as listActiveConversationIds, Xt as requestConversationWork, Y as effectiveTaskOutcomes, Z as collectEventAutomationMatchKeys, _n as formatProviderLabel, an as renderTaskInput, b as unpublishedArtifactHeaders, bn as startOAuthFlow, bt as ingestEvent, c as deleteMcpAuthSessionsForUserProvider, cn as resolveSandboxEgressProviderForHost, dn as SANDBOX_EGRESS_PROXY_PATH, en as CONVERSATION_WORK_STALE_ENQUEUE_MS, et as findMatchingEventAutomations, fn as clearSandboxEgressSignals, hn as parseSandboxEgressCredentialToken, i as executeCredentialedEgressRequest, in as isInvalidConversationRecordError, jn as slackExternalRefIdSchema, kt as appendAndEnqueueInboundMessage, l as deleteMcpServerSessionId, ln as normalizeSandboxEgressTracePropagationDomains, mn as consumeSandboxEgressPermissionDeniedSignal, n as executeAgentRun, nn as hasRunnableConversationWork$1, pn as consumeSandboxEgressAuthRequiredSignal, t as createAgentRunner, u as deleteMcpStoredOAuthCredentials, un as shouldPropagateSandboxEgressTrace, v as publicArtifactHeaders, w as collectAttachmentGarbage, wt as getEventCatalog, x as lookupSlackUserProfile, y as readPublicArtifact, yt as processWorkspaceSnapshotJob, z as listScheduledAutomationsForTeam, zn as getConfigDefaults } from "./agent-runner--1wC26S6.js";
2
+ import { C as withLogContext, O as JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE, S as withContext, d as logException, f as logInfo, j as JUNIOR_WORKSPACE_SNAPSHOT_JOB_CALLBACK_ROUTE, p as logWarn, r as createRequestContext, v as setSpanAttributes, w as withSpan, y as setSpanStatus } from "./logging-Crg0e1jb.js";
3
3
  import { r as continueTrace } from "./sentry-CgWZM_kV.js";
4
- import { t as JUNIOR_VERSION } from "./version-Dayi_ng2.js";
5
- import { _ as snapshotRuntimeConfig, d as restoreRuntimeConfig, f as setBotModelConfig, g as setSlackReactionConfig, h as setRuntimeLimits, i as getChatConfig, m as setProfiles, n as botConfig, o as getSlackBotToken, p as setCrossActorMidRunMode, u as resetRuntimeConfig } from "./config-CGK_VplU.js";
4
+ import { t as JUNIOR_VERSION } from "./version-Cv__n5ue.js";
5
+ import { _ as snapshotRuntimeConfig, d as restoreRuntimeConfig, f as setBotModelConfig, g as setSlackReactionConfig, h as setRuntimeLimits, i as getChatConfig, m as setProfiles, n as botConfig, o as getSlackBotToken, p as setCrossActorMidRunMode, u as resetRuntimeConfig } from "./config-B8QN-04U.js";
6
6
  import { _ as slackMessageTsSchema, d as parseSlackTeamId, f as parseSlackUserId, h as slackUserIdSchema, m as slackTeamIdSchema, o as parseActorUserId, p as slackChannelIdSchema } from "./actor-BTtLaeWy.js";
7
- import { E as deleteProviderIdentityForSlackUser, c as getConversationEventStore, d as getDb, f as getSqlExecutor, g as withConversationMutationLock, m as withConversationEventLock, r as readActorIdentity, u as getConversationStore } from "./viewer-DF3HTfW5.js";
7
+ import { E as deleteProviderIdentityForSlackUser, c as getConversationEventStore, d as getDb, f as getSqlExecutor, g as withConversationMutationLock, m as withConversationEventLock, r as readActorIdentity, u as getConversationStore } from "./viewer-EftpWXcF.js";
8
8
  import { n as juniorDestinations } from "./destinations-BeBiJeEM.js";
9
- import { D as juniorConversations, _ as juniorConversationBriefs, a as juniorSchedulerRuns, b as juniorConversationEvents, m as juniorAgentInvocations, o as juniorSchedulerTasks, p as juniorAgentBindings } from "./executor-DmIad4GI.js";
10
- import { n as pluginCatalogRuntime } from "./catalog-runtime-xq-njrMs.js";
11
- import { J as appendConversationMessages, Z as projectConversationMessages, et as settleConversationTitleWork } from "./checkpoint-C37Xgtj-.js";
12
- import { $ as verifySlackDirectCredentialSubject, G as findMatchingWatches, Ht as listConversationAnnotations, J as bindEventAutomationCredentialSubject, Q as verifyScheduledAutomationCredentialSubject, St as readConversationAccessFromSql, V as collectEventMatchKeys, X as bindSlackDirectCredentialSubject, Y as bindScheduledAutomationCredentialSubject, Z as verifyEventAutomationCredentialSubject, _t as setDashboardConversationLinkOptions, a as getPluginRoutes, at as getSlackClient, d as setPlugins, dt as getWorkspaceTeamId, f as validatePlugins, ft as runWithWorkspaceTeamId, gt as getDashboardTaskLink, h as setBriefsConfig, i as getPluginApiRoutes, mt as getDashboardConversationLink, q as takeDueTimerWatches, st as isDmChannel, u as getPlugins, vt as createPluginState, xt as createPluginLogger, z as cancelSubscriptions, zt as resolveRootVisibility } from "./agent-hooks-p3UA9FI1.js";
9
+ import { D as juniorConversations, _ as juniorConversationBriefs, a as juniorSchedulerRuns, b as juniorConversationEvents, m as juniorAgentInvocations, o as juniorSchedulerTasks, p as juniorAgentBindings } from "./executor-BQV1Zc1z.js";
10
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-DpB_hG_I.js";
11
+ import { J as appendConversationMessages, Z as projectConversationMessages, et as settleConversationTitleWork } from "./checkpoint-CN7yMfSo.js";
12
+ import { $ as verifySlackDirectCredentialSubject, G as findMatchingWatches, Ht as listConversationAnnotations, J as bindEventAutomationCredentialSubject, Q as verifyScheduledAutomationCredentialSubject, St as readConversationAccessFromSql, V as collectEventMatchKeys, X as bindSlackDirectCredentialSubject, Y as bindScheduledAutomationCredentialSubject, Z as verifyEventAutomationCredentialSubject, _t as setDashboardConversationLinkOptions, a as getPluginRoutes, at as getSlackClient, d as setPlugins, dt as getWorkspaceTeamId, f as validatePlugins, ft as runWithWorkspaceTeamId, gt as getDashboardTaskLink, h as setBriefsConfig, i as getPluginApiRoutes, mt as getDashboardConversationLink, q as takeDueTimerWatches, st as isDmChannel, u as getPlugins, vt as createPluginState, xt as createPluginLogger, z as cancelSubscriptions, zt as resolveRootVisibility } from "./agent-hooks-DzfA5m3R.js";
13
13
  import { V as annotationCard } from "./conversation-DwD-vquD.js";
14
- import { O as withLock$1, w as getStateAdapter } from "./profile-DIcHBAxe.js";
15
- import { c as getThreadStopDecision } from "./pending-auth-C6w4Gwve.js";
16
- import { f as setSandboxResourceConfig, u as getSandboxResourceConfig } from "./resolve-BkpWmZgN.js";
17
- import { a as getVercelConversationWorkQueue, g as isConversationQueueMessageRejectedError, h as conversationQueueMessageSchema, i as verifyWorkspaceSnapshotJobMessage, o as resolveConversationWorkQueueTopic, s as verifyConversationQueueMessage, t as WORKSPACE_SNAPSHOT_JOB_QUEUE_TOPIC } from "./job-queue-CXpx6KfD.js";
14
+ import { O as withLock$1, w as getStateAdapter } from "./profile-XzHSfIah.js";
15
+ import { c as getThreadStopDecision } from "./pending-auth-DauOaies.js";
16
+ import { f as setSandboxResourceConfig, u as getSandboxResourceConfig } from "./resolve-ZKXfsZuZ.js";
17
+ import { a as getVercelConversationWorkQueue, g as isConversationQueueMessageRejectedError, h as conversationQueueMessageSchema, i as verifyWorkspaceSnapshotJobMessage, o as resolveConversationWorkQueueTopic, s as verifyConversationQueueMessage, t as WORKSPACE_SNAPSHOT_JOB_QUEUE_TOPIC } from "./job-queue-D82gksYM.js";
18
18
  import { D as scheduledRunSchema, L as getNextRunAtMs } from "./automation-CrQGQ2MT.js";
19
19
  import { i as setExperimentalFeatures, n as getExperimentalFeatures, r as isExperimentalFeatureEnabled } from "./experimental-Qn9rKLgx.js";
20
- import { n as validatePluginRegistrations, t as validatePluginEgressCredentialHooks } from "./validation-DsLyiOfn.js";
20
+ import { n as validatePluginRegistrations, t as validatePluginEgressCredentialHooks } from "./validation-Bo6BHmig.js";
21
21
  import { a as pluginRuntimeRegistrationsFromPluginSet, n as pluginCatalogConfigFromEnv, r as pluginCatalogConfigFromPluginSet, t as defineJuniorPlugins } from "./plugins-egKWjgue.js";
22
- import { A as getAuthPausedConversationTurnId, C as clearSlackPendingReactions, D as stopSlackThread, E as isSlackMessageStopped, F as renderSlackObjectCard, I as createVercelAttachmentStorage, M as THREAD_OPTOUT_ACK, N as startProcessingReaction, O as normalizeIncomingSlackThreadId, P as parseContent, R as enqueueAgentDispatch, S as buildSlackInboundMessage, T as verifySlackSignature, _ as readViewerAutomationSummary, a as recordWebConversationActivity, c as createProductionSlackWebhookServices, k as withNormalizedThreadId, l as getProductionSlackAdapter, n as conversationTurnIdForMessage, o as webActorFromEmail, s as createProductionConversationWorkOptions, t as appendAndEnqueueWebMessage, w as runWithSlackInstallation, x as recordSkippedConversationMessage, z as GET$3 } from "./web-input-qVi8134S.js";
23
- import { O as recordAutomationExecution, _ as markDispatchFailed, a as confirmDispatchMailboxAppend, d as getPluginDispatchProjection, f as isTerminalDispatchStatus, l as getDispatchRecord, o as createOrGetDispatch, p as listPendingDispatchMailboxAppends, s as getDispatchConversationId, t as processPluginTask } from "./task-runner-BZUoctJ1.js";
24
- import { c as listPendingAgentInvocationMailboxAppends, r as enqueueAgentInvocation } from "./work-BbcghZZp.js";
25
- import { s as coerceThreadConversationState } from "./thread-state-SnFcB9Rk.js";
26
- import { a as GET$4, i as publishAppHomeView, r as GET$5, t as receiveLocalOAuthCredential } from "./credential-sync-BBeYpK4k.js";
27
- import { a as registerVercelPluginTaskDevConsumer, n as createVercelPluginTaskCallback, s as queueCallback } from "./task-queue-B9uJqkal.js";
28
- import { t as processConversationWork } from "./worker-B-uRQzKw.js";
29
- import { t as bindSpawnAgent } from "./spawn-CY34_HCm.js";
22
+ import { A as getAuthPausedConversationTurnId, C as clearSlackPendingReactions, D as stopSlackThread, E as isSlackMessageStopped, F as renderSlackObjectCard, I as createVercelAttachmentStorage, M as THREAD_OPTOUT_ACK, N as startProcessingReaction, O as normalizeIncomingSlackThreadId, P as parseContent, R as enqueueAgentDispatch, S as buildSlackInboundMessage, T as verifySlackSignature, _ as readViewerAutomationSummary, a as recordWebConversationActivity, c as createProductionSlackWebhookServices, k as withNormalizedThreadId, l as getProductionSlackAdapter, n as conversationTurnIdForMessage, o as webActorFromEmail, s as createProductionConversationWorkOptions, t as appendAndEnqueueWebMessage, w as runWithSlackInstallation, x as recordSkippedConversationMessage, z as GET$3 } from "./web-input-DSa6geKr.js";
23
+ import { O as recordAutomationExecution, _ as markDispatchFailed, a as confirmDispatchMailboxAppend, d as getPluginDispatchProjection, f as isTerminalDispatchStatus, l as getDispatchRecord, o as createOrGetDispatch, p as listPendingDispatchMailboxAppends, s as getDispatchConversationId, t as processPluginTask } from "./task-runner-CXTpWSmw.js";
24
+ import { c as listPendingAgentInvocationMailboxAppends, r as enqueueAgentInvocation } from "./work-WOk5DovU.js";
25
+ import { s as coerceThreadConversationState } from "./thread-state-BM1sLptE.js";
26
+ import { a as GET$4, i as publishAppHomeView, r as GET$5, t as receiveLocalOAuthCredential } from "./credential-sync-BG_Yvja8.js";
27
+ import { a as registerVercelPluginTaskDevConsumer, n as createVercelPluginTaskCallback, s as queueCallback } from "./task-queue-BMzTARMo.js";
28
+ import { t as processConversationWork } from "./worker-B7rtMFzw.js";
29
+ import { t as bindSpawnAgent } from "./spawn-DrvZYrTQ.js";
30
30
  import { createRequire } from "node:module";
31
31
  import { Hono } from "hono";
32
32
  import { z } from "zod";
@@ -1,4 +1,4 @@
1
- import { r as completeObject } from "./client-BZdqKg6S.js";
1
+ import { r as completeObject } from "./client-DNf-sJmM.js";
2
2
  import { r as defaultModelId } from "./model-profile-BwU8mqwD.js";
3
3
  import { B as parseBriefInput, I as briefCodeChangeSchema, d as conversationDetailReportSchema, p as conversationEventPageSchema } from "./conversation-DwD-vquD.js";
4
4
  import { n as briefEntriesFromReportEvents, s as generateBrief, t as BRIEF_PROMPT } from "./prompt-CMU-B4FA.js";
@@ -269,7 +269,7 @@ async function parseRunOptions(argv) {
269
269
  * `DATABASE_URL` at import, and `briefs pull` must work with only a token.
270
270
  */
271
271
  async function configuredDefaultModelId() {
272
- const { botConfig } = await import("./config-CGK_VplU.js").then((n) => n.r);
272
+ const { botConfig } = await import("./config-B8QN-04U.js").then((n) => n.r);
273
273
  return defaultModelId(botConfig);
274
274
  }
275
275
  function apiUrl(baseUrl, pathname) {
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- import { t as createPluginCatalogRuntime } from "./registry-VSrEYeaD.js";
2
+ import { t as createPluginCatalogRuntime } from "./registry-BJME30oR.js";
3
3
  //#region src/chat/plugins/catalog-runtime.ts
4
4
  var catalog_runtime_exports = /* @__PURE__ */ __exportAll({ pluginCatalogRuntime: () => pluginCatalogRuntime });
5
5
  const pluginCatalogRuntime = createPluginCatalogRuntime();
@@ -1,13 +1,13 @@
1
- import { d as unwrapCurrentInstruction, f as escapeXml, i as completeText, o as resolveGatewayModel } from "./client-BZdqKg6S.js";
2
- import { d as logException, o as getActiveTraceId, p as logWarn, t as buildTurnFailureResponse, v as setSpanAttributes } from "./logging-Bne7JUXI.js";
3
- import { n as botConfig } from "./config-CGK_VplU.js";
1
+ import { d as unwrapCurrentInstruction, f as escapeXml, i as completeText, o as resolveGatewayModel } from "./client-DNf-sJmM.js";
2
+ import { d as logException, o as getActiveTraceId, p as logWarn, t as buildTurnFailureResponse, v as setSpanAttributes } from "./logging-Crg0e1jb.js";
3
+ import { n as botConfig } from "./config-B8QN-04U.js";
4
4
  import { c as toStoredSlackActor, g as parseSlackMessageTs } from "./actor-BTtLaeWy.js";
5
- import { b as addAgentTurnUsage, c as getConversationEventStore, f as getSqlExecutor, m as withConversationEventLock, p as createSqlConversationEventStore, u as getConversationStore, v as bindProviderConversation } from "./viewer-DF3HTfW5.js";
5
+ import { b as addAgentTurnUsage, c as getConversationEventStore, f as getSqlExecutor, m as withConversationEventLock, p as createSqlConversationEventStore, u as getConversationStore, v as bindProviderConversation } from "./viewer-EftpWXcF.js";
6
6
  import { d as instructionActors, f as instructionProvenanceFor, n as agentHistoryItemSchema, u as contextProvenance } from "./history-BLTUgFYO.js";
7
- import { p as credentialSubjectSchema } from "./registry-VSrEYeaD.js";
8
- import { Gt as agentsInstructionsUpdatedEvent, Kt as authenticationLinkedEvent, Wt as JUNIOR_NATIVE_EVENT_NAMESPACE, qt as authenticationUnlinkedEvent } from "./agent-hooks-p3UA9FI1.js";
7
+ import { p as credentialSubjectSchema } from "./registry-BJME30oR.js";
8
+ import { Gt as agentsInstructionsUpdatedEvent, Kt as authenticationLinkedEvent, Wt as JUNIOR_NATIVE_EVENT_NAMESPACE, qt as authenticationUnlinkedEvent } from "./agent-hooks-DzfA5m3R.js";
9
9
  import { H as messageCardRef } from "./conversation-DwD-vquD.js";
10
- import { D as fenceLock, O as withLock, T as MUTATION_LOCK_TTL_MS, k as sleep, w as getStateAdapter } from "./profile-DIcHBAxe.js";
10
+ import { D as fenceLock, O as withLock, T as MUTATION_LOCK_TTL_MS, k as sleep, w as getStateAdapter } from "./profile-XzHSfIah.js";
11
11
  import { isDeepStrictEqual } from "node:util";
12
12
  import { z } from "zod";
13
13
  import { createHash } from "node:crypto";