@sentry/junior 0.238.0 → 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-ZGlZ8lY6.js → admin-Cc-iA6z9.js} +1 -1
  2. package/dist/{agent-hooks-CxdSqU2u.js → agent-hooks-DzfA5m3R.js} +8 -8
  3. package/dist/{agent-runner-ZS1LHtSR.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-B6IhUAgK.js → briefs-DGc2Thua.js} +2 -2
  8. package/dist/{catalog-runtime-BzNg07bb.js → catalog-runtime-DpB_hG_I.js} +1 -1
  9. package/dist/{checkpoint-DWGyJg4c.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-CKs0rj3A.js → client-DNf-sJmM.js} +2 -2
  17. package/dist/{config-DRw358bB.js → config-B8QN-04U.js} +2 -2
  18. package/dist/{conversation-privacy-DAYxHp74.js → conversation-privacy-CrYizZM3.js} +1 -1
  19. package/dist/{credential-sync-DmRbuyE4.js → credential-sync-BG_Yvja8.js} +14 -14
  20. package/dist/{executor-DgPk8Lsx.js → executor-BQV1Zc1z.js} +2 -2
  21. package/dist/{images-puyEuXoY.js → images-C_0iwPsW.js} +2 -2
  22. package/dist/instrumentation.js +2 -2
  23. package/dist/{job-queue-BL9stv_E.js → job-queue-D82gksYM.js} +1 -1
  24. package/dist/{logging-BNi_jyHb.js → logging-Crg0e1jb.js} +1 -1
  25. package/dist/nitro.js +3 -3
  26. package/dist/{oauth-authorization-Zv1oLB1J.js → oauth-authorization-Bdu39G-H.js} +1 -1
  27. package/dist/{oauth-callback-server-BHtVbKvO.js → oauth-callback-server-eJfI6skP.js} +2 -2
  28. package/dist/{pending-auth-DulDjfwL.js → pending-auth-DauOaies.js} +2 -2
  29. package/dist/{profile-C2TScny6.js → profile-XzHSfIah.js} +4 -4
  30. package/dist/{registry-D1RsbgDb.js → registry-BJME30oR.js} +1 -1
  31. package/dist/{resolve-CuY3dhxy.js → resolve-ZKXfsZuZ.js} +2 -2
  32. package/dist/{runner-BUkReLln.js → runner-DkHL8vRA.js} +9 -9
  33. package/dist/{sandbox-egress-signals-etjG6qQX.js → sandbox-egress-signals-BEQsK7ym.js} +1 -1
  34. package/dist/{skills-BGhThSGR.js → skills-CMl248J3.js} +2 -2
  35. package/dist/{spawn-PtyOnoXt.js → spawn-DrvZYrTQ.js} +2 -2
  36. package/dist/{task-queue-Bi2uNATu.js → task-queue-BMzTARMo.js} +3 -3
  37. package/dist/{task-runner-CDoZCo8g.js → task-runner-CXTpWSmw.js} +10 -10
  38. package/dist/{thread-state-B-t88gH0.js → thread-state-BM1sLptE.js} +6 -6
  39. package/dist/{turn-failure-response-di4Jx90o.js → turn-failure-response-ISrbka5I.js} +8 -8
  40. package/dist/{turn-lifecycle-ByhUHYjD.js → turn-lifecycle-f7TPxQsc.js} +1 -1
  41. package/dist/{turn-session-routing-QjNvsevm.js → turn-session-routing-BcAD7onh.js} +1 -1
  42. package/dist/{validation-D3li76Ti.js → validation-Bo6BHmig.js} +1 -1
  43. package/dist/{version-Chc6bVG5.js → version-Cv__n5ue.js} +1 -1
  44. package/dist/version.js +1 -1
  45. package/dist/{viewer-DsyM9kb9.js → viewer-EftpWXcF.js} +3 -3
  46. package/dist/{web-authorization-Enb5lVYt.js → web-authorization-BLDXKk2u.js} +6 -6
  47. package/dist/{web-input-efQlcCis.js → web-input-DSa6geKr.js} +26 -25
  48. package/dist/{work-CeiA_ZxD.js → work-WOk5DovU.js} +7 -7
  49. package/dist/{worker-BJb2hsUB.js → worker-B7rtMFzw.js} +5 -5
  50. package/package.json +5 -5
@@ -1,34 +1,34 @@
1
- import { $ as eventAutomationBelongsToUser, A as resolveSlackChannelIdFromMessage, B as parseScheduledAutomationRow, C as renderBlockText, Cn as normalizeSlackReplyMarkdown, Ct as timerWatchCredentialSubject, D as storeAttachment, Dn as addReactionToMessage, En as truncateStatusText, Et as pluginEventCatalog, F as lookupSlackUser, G as withScheduledAutomationLock, Ht as getConversationWorkState, J as eventAutomationTriggerAvailable, Ln as AuthorizationFlowDisabledError, M as getConversationInfo, Mn as createUserTokenStore, N as listThreadReplies, Nn as buildSteeringPiMessage, O as parseSlackThreadId, On as postSlackMessage, Ot as appendAndEnqueueExclusiveInboundMessage, Pn as RetryableDeliveryError, Q as deleteEventAutomation, Rn as shouldEmitDevAgentTrace, S as renderAttachmentText, Sn as formatSlackLink, St as isEventMailboxMetadata, U as saveScheduledAutomationInLock, V as readScheduledAutomation, Y as effectiveTaskOutcomes, a as buildAuthPauseResponse, h as latestProgressStatus, j as resolveSlackChannelIdFromThreadId, k as readSlackRawMessageContext, kn as removeReactionFromMessage, kt as appendAndEnqueueInboundMessage, lt as sameDefinitionValue, m as PluginCredentialFailureError, n as executeAgentRun, nt as listDeletedEventAutomationsCreatedBy, on as maybePostAutomatedTurnLimitNotice, ot as automationDefinition, r as createContextCompactor, rt as parseEventAutomationRow, sn as recordFinishedTurnForAutomatedLimit, st as listAutomationVersions, t as createAgentRunner, tt as getEventAutomation, wn as normalizeSlackStatusText, wt as getEventCatalog, xn as escapeSlackMrkdwnText, xt as EVENT_WAIT_MS } from "./agent-runner-ZS1LHtSR.js";
2
- import { f as escapeXml, i as completeText, r as completeObject, v as isProviderRetryError } from "./client-CKs0rj3A.js";
3
- import { C as withLogContext, I as isRecord, L as toOptionalNumber, R as toOptionalString, _ as setSentryUser, b as setTags, d as logException, f as logInfo, n as createChatSdkLogger, o as getActiveTraceId, p as logWarn, t as buildTurnFailureResponse, u as logError, v as setSpanAttributes, w as withSpan } from "./logging-BNi_jyHb.js";
4
- import { c as getSlackClientSecret, i as getChatConfig, l as getSlackSigningSecret, n as botConfig, o as getSlackBotToken, s as getSlackClientId, v as normalizeSlackEmojiName } from "./config-DRw358bB.js";
1
+ import { $ as eventAutomationBelongsToUser, A as resolveSlackChannelIdFromMessage, B as parseScheduledAutomationRow, C as renderBlockText, Cn as normalizeSlackReplyMarkdown, Ct as timerWatchCredentialSubject, D as storeAttachment, Dn as addReactionToMessage, En as truncateStatusText, Et as pluginEventCatalog, F as lookupSlackUser, G as withScheduledAutomationLock, Ht as getConversationWorkState, J as eventAutomationTriggerAvailable, Ln as AuthorizationFlowDisabledError, M as getConversationInfo, Mn as createUserTokenStore, N as listThreadReplies, Nn as buildSteeringPiMessage, O as parseSlackThreadId, On as postSlackMessage, Ot as appendAndEnqueueExclusiveInboundMessage, Pn as RetryableDeliveryError, Q as deleteEventAutomation, Rn as shouldEmitDevAgentTrace, S as renderAttachmentText, Sn as formatSlackLink, St as isEventMailboxMetadata, U as saveScheduledAutomationInLock, V as readScheduledAutomation, Y as effectiveTaskOutcomes, a as buildAuthPauseResponse, h as latestProgressStatus, j as resolveSlackChannelIdFromThreadId, k as readSlackRawMessageContext, kn as removeReactionFromMessage, kt as appendAndEnqueueInboundMessage, lt as sameDefinitionValue, m as PluginCredentialFailureError, n as executeAgentRun, nt as listDeletedEventAutomationsCreatedBy, on as maybePostAutomatedTurnLimitNotice, ot as automationDefinition, r as createContextCompactor, rt as parseEventAutomationRow, sn as recordFinishedTurnForAutomatedLimit, st as listAutomationVersions, t as createAgentRunner, tt as getEventAutomation, wn as normalizeSlackStatusText, wt as getEventCatalog, xn as escapeSlackMrkdwnText, xt as EVENT_WAIT_MS } from "./agent-runner--1wC26S6.js";
2
+ import { f as escapeXml, i as completeText, r as completeObject, v as isProviderRetryError } from "./client-DNf-sJmM.js";
3
+ import { C as withLogContext, I as isRecord, L as toOptionalNumber, R as toOptionalString, _ as setSentryUser, b as setTags, d as logException, f as logInfo, n as createChatSdkLogger, o as getActiveTraceId, p as logWarn, t as buildTurnFailureResponse, u as logError, v as setSpanAttributes, w as withSpan } from "./logging-Crg0e1jb.js";
4
+ import { c as getSlackClientSecret, i as getChatConfig, l as getSlackSigningSecret, n as botConfig, o as getSlackBotToken, s as getSlackClientId, v as normalizeSlackEmojiName } from "./config-B8QN-04U.js";
5
5
  import { o as modelIdForProfile, r as defaultModelId } from "./model-profile-BwU8mqwD.js";
6
6
  import { a as isUserActor, g as parseSlackMessageTs, i as isActorUserId, l as parseSlackChannelId, n as createSlackActor, o as parseActorUserId, r as createSlackResumeActor, t as createActor } from "./actor-BTtLaeWy.js";
7
- import { N as requireSlackDestination, c as getConversationEventStore, d as getDb, f as getSqlExecutor, j as createSlackDestination, u as getConversationStore } from "./viewer-DsyM9kb9.js";
7
+ import { N as requireSlackDestination, c as getConversationEventStore, d as getDb, f as getSqlExecutor, j as createSlackDestination, u as getConversationStore } from "./viewer-EftpWXcF.js";
8
8
  import { n as juniorDestinations } from "./destinations-BeBiJeEM.js";
9
- import { O as juniorIdentities, c as juniorAutomationExecutions, k as juniorUsers, o as juniorSchedulerTasks, u as juniorEventAutomations } from "./executor-DgPk8Lsx.js";
9
+ import { O as juniorIdentities, c as juniorAutomationExecutions, k as juniorUsers, o as juniorSchedulerTasks, u as juniorEventAutomations } from "./executor-BQV1Zc1z.js";
10
10
  import { f as instructionProvenanceFor } from "./history-BLTUgFYO.js";
11
- import { d as credentialContextForActor } from "./registry-D1RsbgDb.js";
12
- import { $ as resolveConversationTitle, A as commitAcceptedReply, G as recordSubscribedReplyRoute, N as loadConversationProjection, O as trimTrailingAssistantMessages, P as loadProjection, Q as persistConversationMessageSummaries, V as recordAuthorizationCompleted, X as persistConversationMessages, Y as hydrateConversationMessages, a as completeTurnRecord, at as createConversationMemoryService, c as listTurnSummaries, ct as isHumanConversationMessage, dt as recordDeliveredAssistantMessage, ft as turnHasReply, i as abandonTurnRecord, it as buildConversationContext, j as commitMessages, l as recordTurnSummary, lt as markConversationMessage, n as loadTurnCheckpoint, o as failTurnRecord, ot as estimateConversationContextTokens, p as buildTurnErrorResponse, pt as upsertConversationMessage, r as saveTurnCheckpoint, rt as appendThreadContextMessages, s as getTurnRecord, st as getConversationMessageSlackTs, tt as fallbackShortTitle, u as persistWithRetry, ut as normalizeConversationText } from "./checkpoint-DWGyJg4c.js";
13
- import { Ft as getSlackFileId, Lt as readAttachmentVisionSummary, Pt as buildSentryConversationUrl, Rt as recordSlackAttachment, at as getSlackClient, ct as normalizeSlackConversationId, et as verifyTimerWatchCredentialSubject, ht as getDashboardObjectIconLink, it as getHeaderString, lt as runWithSlackInstallationToken, mt as getDashboardConversationLink, nt as downloadPrivateSlackFile, o as getPluginSlackConversationLink, pt as JUNIOR_THREAD_STATE_TTL_MS, st as isDmChannel, tt as SlackActionError, z as cancelSubscriptions } from "./agent-hooks-CxdSqU2u.js";
11
+ import { d as credentialContextForActor } from "./registry-BJME30oR.js";
12
+ import { $ as resolveConversationTitle, A as commitAcceptedReply, G as recordSubscribedReplyRoute, N as loadConversationProjection, O as trimTrailingAssistantMessages, P as loadProjection, Q as persistConversationMessageSummaries, V as recordAuthorizationCompleted, X as persistConversationMessages, Y as hydrateConversationMessages, a as completeTurnRecord, at as createConversationMemoryService, c as listTurnSummaries, ct as isHumanConversationMessage, dt as recordDeliveredAssistantMessage, ft as turnHasReply, i as abandonTurnRecord, it as buildConversationContext, j as commitMessages, l as recordTurnSummary, lt as markConversationMessage, n as loadTurnCheckpoint, o as failTurnRecord, ot as estimateConversationContextTokens, p as buildTurnErrorResponse, pt as upsertConversationMessage, r as saveTurnCheckpoint, rt as appendThreadContextMessages, s as getTurnRecord, st as getConversationMessageSlackTs, tt as fallbackShortTitle, u as persistWithRetry, ut as normalizeConversationText } from "./checkpoint-CN7yMfSo.js";
13
+ import { Ft as getSlackFileId, Lt as readAttachmentVisionSummary, Pt as buildSentryConversationUrl, Rt as recordSlackAttachment, at as getSlackClient, ct as normalizeSlackConversationId, et as verifyTimerWatchCredentialSubject, ht as getDashboardObjectIconLink, it as getHeaderString, lt as runWithSlackInstallationToken, mt as getDashboardConversationLink, nt as downloadPrivateSlackFile, o as getPluginSlackConversationLink, pt as JUNIOR_THREAD_STATE_TTL_MS, st as isDmChannel, tt as SlackActionError, z as cancelSubscriptions } from "./agent-hooks-DzfA5m3R.js";
14
14
  import { F as isVisionImageMediaType, N as readMessageAttachments } from "./conversation-DwD-vquD.js";
15
- import { E as acquireActiveLock, O as withLock, T as MUTATION_LOCK_TTL_MS, w as getStateAdapter } from "./profile-C2TScny6.js";
16
- import { a as wasPendingAuthStopped, c as getThreadStopDecision, l as buildDeterministicAssistantMessageId, o as decideSubscribedThreadReply, r as clearPendingAuth, s as getSubscribedReplyPreflightDecision, u as buildDeterministicTurnId } from "./pending-auth-DulDjfwL.js";
17
- import { _ as markTurnFailed, c as CooperativeTurnYieldError, d as getConversationTurnBoundaryError, f as isCooperativeTurnYieldError, g as markTurnCompleted, h as markTurnClosed, l as TurnInputCommitLostError, m as isTurnInputDeferredError, p as isTurnInputCommitLostError, r as getAssistantReplyText, s as ConversationTurnBoundaryError, u as TurnInputDeferredError, v as startActiveTurn } from "./oauth-authorization-Zv1oLB1J.js";
15
+ import { E as acquireActiveLock, O as withLock, T as MUTATION_LOCK_TTL_MS, w as getStateAdapter } from "./profile-XzHSfIah.js";
16
+ import { a as wasPendingAuthStopped, c as getThreadStopDecision, l as buildDeterministicAssistantMessageId, o as decideSubscribedThreadReply, r as clearPendingAuth, s as getSubscribedReplyPreflightDecision, u as buildDeterministicTurnId } from "./pending-auth-DauOaies.js";
17
+ import { _ as markTurnFailed, c as CooperativeTurnYieldError, d as getConversationTurnBoundaryError, f as isCooperativeTurnYieldError, g as markTurnCompleted, h as markTurnClosed, l as TurnInputCommitLostError, m as isTurnInputDeferredError, p as isTurnInputCommitLostError, r as getAssistantReplyText, s as ConversationTurnBoundaryError, u as TurnInputDeferredError, v as startActiveTurn } from "./oauth-authorization-Bdu39G-H.js";
18
18
  import { a as EVENT_SYSTEM_ACTOR, i as EVENT_MESSAGE_AUTHOR, o as isEventConversationMessage } from "./prompt-CMU-B4FA.js";
19
- import { a as getVercelConversationWorkQueue, f as getTurnRequestDeadline } from "./job-queue-BL9stv_E.js";
19
+ import { a as getVercelConversationWorkQueue, f as getTurnRequestDeadline } from "./job-queue-D82gksYM.js";
20
20
  import { l as automationListQuerySchema } from "./automation-CrQGQ2MT.js";
21
21
  import { r as isExperimentalFeatureEnabled } from "./experimental-Qn9rKLgx.js";
22
22
  import { c as sumUtcHoursIntoSixHours, m as healthReportSchema, t as webMessageId } from "./web-message-id-xPI_EFSC.js";
23
- import { C as readAutomationExecutionStatusDays, D as readAutomationRuns, E as readAutomationExecutions, S as readAutomationExecutionHours, T as readAutomationExecutionSummaries, _ as markDispatchFailed, a as confirmDispatchMailboxAppend, b as readAutomationExecutionByConversationId, c as getDispatchInputMessageId, f as isTerminalDispatchStatus, g as markDispatchCompleted, h as markDispatchBlocked, i as claimDispatchMailboxAppend, l as getDispatchRecord, m as markDispatchAwaitingResume, n as scheduleSessionCompletedPluginTasks, s as getDispatchConversationId, t as processPluginTask, u as getDispatchTurnId, v as markDispatchRunning, w as readAutomationExecutionStatusHours, x as readAutomationExecutionDays, y as emptyAutomationRunWindows } from "./task-runner-CDoZCo8g.js";
24
- import { i as resolveAgentInvocationId, o as AgentRunError, s as executeTurn, t as createAgentInvocationWorker } from "./work-CeiA_ZxD.js";
25
- import { n as getTurnLifecycle, t as ConversationTurnLifecycleService } from "./turn-lifecycle-ByhUHYjD.js";
26
- import { a as persistThreadState, c as configValueSchema, i as persistThreadRuntimeState, n as getPersistedSandboxState, o as persistThreadStateById, r as getPersistedThreadState, s as coerceThreadConversationState, t as getLocationConfigurationService } from "./thread-state-B-t88gH0.js";
27
- import { a as getPausedTurnRequest, c as getTurnAuthorization, i as createPausedTurns, n as deleteWebAuthorization, s as wakePausedTurn, t as createWebAuthorization } from "./web-authorization-Enb5lVYt.js";
28
- import { n as resolveTurnSessionRouting } from "./turn-session-routing-QjNvsevm.js";
29
- import { t as bindSpawnAgent } from "./spawn-PtyOnoXt.js";
30
- import { a as persistAuthPauseTurnState, c as getTurnUserSlackMessageTs, d as loadPendingMessageCards, i as completeAuthPauseTurn, l as buildDeliveredTurnStatePatch, n as getAgentTurnDiagnosticsAttributes, o as getTurnUserMessage, r as requireTurnFailureEventId, s as getTurnUserReplyAttachmentContext, t as finalizeFailedTurnReplyWithEvent, u as getInterruptionMarker } from "./turn-failure-response-di4Jx90o.js";
31
- import { r as storeInputImages } from "./images-puyEuXoY.js";
23
+ import { C as readAutomationExecutionStatusDays, D as readAutomationRuns, E as readAutomationExecutions, S as readAutomationExecutionHours, T as readAutomationExecutionSummaries, _ as markDispatchFailed, a as confirmDispatchMailboxAppend, b as readAutomationExecutionByConversationId, c as getDispatchInputMessageId, f as isTerminalDispatchStatus, g as markDispatchCompleted, h as markDispatchBlocked, i as claimDispatchMailboxAppend, l as getDispatchRecord, m as markDispatchAwaitingResume, n as scheduleSessionCompletedPluginTasks, s as getDispatchConversationId, t as processPluginTask, u as getDispatchTurnId, v as markDispatchRunning, w as readAutomationExecutionStatusHours, x as readAutomationExecutionDays, y as emptyAutomationRunWindows } from "./task-runner-CXTpWSmw.js";
24
+ import { i as resolveAgentInvocationId, o as AgentRunError, s as executeTurn, t as createAgentInvocationWorker } from "./work-WOk5DovU.js";
25
+ import { n as getTurnLifecycle, t as ConversationTurnLifecycleService } from "./turn-lifecycle-f7TPxQsc.js";
26
+ import { a as persistThreadState, c as configValueSchema, i as persistThreadRuntimeState, n as getPersistedSandboxState, o as persistThreadStateById, r as getPersistedThreadState, s as coerceThreadConversationState, t as getLocationConfigurationService } from "./thread-state-BM1sLptE.js";
27
+ import { a as getPausedTurnRequest, c as getTurnAuthorization, i as createPausedTurns, n as deleteWebAuthorization, s as wakePausedTurn, t as createWebAuthorization } from "./web-authorization-BLDXKk2u.js";
28
+ import { n as resolveTurnSessionRouting } from "./turn-session-routing-BcAD7onh.js";
29
+ import { t as bindSpawnAgent } from "./spawn-DrvZYrTQ.js";
30
+ import { a as persistAuthPauseTurnState, c as getTurnUserSlackMessageTs, d as loadPendingMessageCards, i as completeAuthPauseTurn, l as buildDeliveredTurnStatePatch, n as getAgentTurnDiagnosticsAttributes, o as getTurnUserMessage, r as requireTurnFailureEventId, s as getTurnUserReplyAttachmentContext, t as finalizeFailedTurnReplyWithEvent, u as getInterruptionMarker } from "./turn-failure-response-ISrbka5I.js";
31
+ import { r as storeInputImages } from "./images-C_0iwPsW.js";
32
32
  import { z } from "zod";
33
33
  import { createHash } from "node:crypto";
34
34
  import { and, asc, count, desc, eq, exists, inArray, ne, or, sql } from "drizzle-orm";
@@ -404,10 +404,11 @@ function renderSlackObjectCard(card, conversationId, surface = "preview") {
404
404
  const title = card.title.slice(0, 160);
405
405
  const details = surface === "details";
406
406
  const deployment = card.objectType === "deployment" || card.objectType === "item" && card.facts?.type === "deployment";
407
- const status = details || deployment ? card.status : void 0;
407
+ const calendarEvent = card.objectType === "calendar_event";
408
+ const status = details || deployment || calendarEvent ? card.status : void 0;
408
409
  const warning = details || deployment ? card.warning : void 0;
409
- const facts = objectFactFields(card.facts).filter((field) => details || deployment && field.key === "environment");
410
- const description = details ? card.description?.trim() ?? "" : descriptionPreview(card.description);
410
+ const facts = objectFactFields(card.facts).filter((field) => details || calendarEvent || deployment && field.key === "environment");
411
+ const description = details ? card.description?.trim() ?? "" : calendarEvent ? "" : descriptionPreview(card.description);
411
412
  const text = [
412
413
  escapeSlackMrkdwnText(type),
413
414
  card.url ? formatSlackLink(card.url, title) : escapeSlackMrkdwnText(title),
@@ -1,11 +1,11 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- import { Ln as AuthorizationFlowDisabledError, _t as AgentInvocationLimitError, gt as AgentInvocationBusyError, ht as createAgentInvocationSchema, kt as appendAndEnqueueInboundMessage, m as PluginCredentialFailureError, mt as agentInvocationSchema, pt as agentBindingSchema } from "./agent-runner-ZS1LHtSR.js";
3
- import { c as getConversationEventStore, f as getSqlExecutor, u as getConversationStore } from "./viewer-DsyM9kb9.js";
4
- import { m as juniorAgentInvocations, p as juniorAgentBindings } from "./executor-DgPk8Lsx.js";
5
- import { L as openConversationProjection, _ as getTerminalAssistantMessages, o as failTurnRecord, r as saveTurnCheckpoint, s as getTurnRecord } from "./checkpoint-DWGyJg4c.js";
6
- import { d as getConversationTurnBoundaryError, l as TurnInputCommitLostError, p as isTurnInputCommitLostError, r as getAssistantReplyText } from "./oauth-authorization-Zv1oLB1J.js";
7
- import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-ByhUHYjD.js";
8
- import { n as getPersistedSandboxState, o as persistThreadStateById, r as getPersistedThreadState } from "./thread-state-B-t88gH0.js";
2
+ import { Ln as AuthorizationFlowDisabledError, _t as AgentInvocationLimitError, gt as AgentInvocationBusyError, ht as createAgentInvocationSchema, kt as appendAndEnqueueInboundMessage, m as PluginCredentialFailureError, mt as agentInvocationSchema, pt as agentBindingSchema } from "./agent-runner--1wC26S6.js";
3
+ import { c as getConversationEventStore, f as getSqlExecutor, u as getConversationStore } from "./viewer-EftpWXcF.js";
4
+ import { m as juniorAgentInvocations, p as juniorAgentBindings } from "./executor-BQV1Zc1z.js";
5
+ import { L as openConversationProjection, _ as getTerminalAssistantMessages, o as failTurnRecord, r as saveTurnCheckpoint, s as getTurnRecord } from "./checkpoint-CN7yMfSo.js";
6
+ import { d as getConversationTurnBoundaryError, l as TurnInputCommitLostError, p as isTurnInputCommitLostError, r as getAssistantReplyText } from "./oauth-authorization-Bdu39G-H.js";
7
+ import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-f7TPxQsc.js";
8
+ import { n as getPersistedSandboxState, o as persistThreadStateById, r as getPersistedThreadState } from "./thread-state-BM1sLptE.js";
9
9
  import { z } from "zod";
10
10
  import { createHash } from "node:crypto";
11
11
  import { and, asc, count, eq, inArray } from "drizzle-orm";
@@ -1,9 +1,9 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- import { At as beginConversationResume, Bt as ensureConversationWake, Dt as ackMessages, Ft as completeConversationStop, Gt as recordAttemptFailure, Ht as getConversationWorkState, It as completeConversationWork, Kt as recordConversationRetry, Lt as countPendingConversationMessages, Mt as checkInConversationWork, Nt as clearConsumedConversationWake, Rt as deadLetterAttempt, Yt as requestAnotherSlice, Zt as startConversationWork, in as isInvalidConversationRecordError, qt as releaseConversationWork, rn as isFinalAttempt, tn as hasConversationStop, zt as drainConversationMailbox } from "./agent-runner-ZS1LHtSR.js";
3
- import { v as isProviderRetryError } from "./client-CKs0rj3A.js";
4
- import { C as withLogContext, d as logException, f as logInfo, p as logWarn } from "./logging-BNi_jyHb.js";
5
- import { i as getChatConfig } from "./config-DRw358bB.js";
6
- import { f as getTurnRequestDeadline, m as ConversationQueueMessageRejectedError } from "./job-queue-BL9stv_E.js";
2
+ import { At as beginConversationResume, Bt as ensureConversationWake, Dt as ackMessages, Ft as completeConversationStop, Gt as recordAttemptFailure, Ht as getConversationWorkState, It as completeConversationWork, Kt as recordConversationRetry, Lt as countPendingConversationMessages, Mt as checkInConversationWork, Nt as clearConsumedConversationWake, Rt as deadLetterAttempt, Yt as requestAnotherSlice, Zt as startConversationWork, in as isInvalidConversationRecordError, qt as releaseConversationWork, rn as isFinalAttempt, tn as hasConversationStop, zt as drainConversationMailbox } from "./agent-runner--1wC26S6.js";
3
+ import { v as isProviderRetryError } from "./client-DNf-sJmM.js";
4
+ import { C as withLogContext, d as logException, f as logInfo, p as logWarn } from "./logging-Crg0e1jb.js";
5
+ import { i as getChatConfig } from "./config-B8QN-04U.js";
6
+ import { f as getTurnRequestDeadline, m as ConversationQueueMessageRejectedError } from "./job-queue-D82gksYM.js";
7
7
  //#region src/chat/task-execution/worker.ts
8
8
  var worker_exports = /* @__PURE__ */ __exportAll({
9
9
  CONVERSATION_WORK_DEFER_DELAY_MS: () => CONVERSATION_WORK_DEFER_DELAY_MS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior",
3
- "version": "0.238.0",
3
+ "version": "0.239.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -87,7 +87,7 @@
87
87
  "pg": "^8.16.3",
88
88
  "yaml": "^2.9.0",
89
89
  "zod": "^4.5.4",
90
- "@sentry/junior-plugin-api": "0.238.0"
90
+ "@sentry/junior-plugin-api": "0.239.0"
91
91
  },
92
92
  "devDependencies": {
93
93
  "@emnapi/core": "^1.10.0",
@@ -106,9 +106,9 @@
106
106
  "typescript": "^6.0.3",
107
107
  "vercel": "^54.4.0",
108
108
  "vitest": "^4.1.7",
109
- "@sentry/junior-github": "0.238.0",
110
- "@sentry/junior-memory": "0.238.0",
111
- "@sentry/junior-testing": "0.0.0"
109
+ "@sentry/junior-memory": "0.239.0",
110
+ "@sentry/junior-testing": "0.0.0",
111
+ "@sentry/junior-github": "0.239.0"
112
112
  },
113
113
  "scripts": {
114
114
  "build": "tsdown",