@sentry/junior 0.307.0 → 0.307.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/{adapter-context-B69WPn6b.js → adapter-context-HrBTD8rJ.js} +2 -2
- package/dist/{admin-nCJXMgkp.js → admin-B78_KmfR.js} +2 -2
- package/dist/{agent-runner-DdFcxAxG.js → agent-runner-DxivxUYd.js} +22 -22
- package/dist/api.js +26 -26
- package/dist/app.js +27 -27
- package/dist/{background-compaction-queue-BhEe4UfU.js → background-compaction-queue-HlljT9ql.js} +4 -4
- package/dist/{briefs-Dl9lxi7J.js → briefs-DR8mp-TK.js} +2 -2
- package/dist/{catalog-runtime-OXrv2Ewn.js → catalog-runtime-Se9idiDR.js} +1 -1
- package/dist/cli/chat.js +16 -16
- package/dist/cli/check.js +3 -3
- package/dist/cli/main.js +3 -3
- package/dist/cli/plugins.js +4 -4
- package/dist/cli/snapshot-create.js +5 -5
- package/dist/cli/upgrade.js +3 -3
- package/dist/{config-362yMSIz.js → config-DY5c1E0l.js} +2 -2
- package/dist/{connections-BJv3EjmB.js → connections-C-SqzubG.js} +6 -6
- package/dist/{continue-in-slack-CFEevC7z.js → continue-in-slack-DNkrrWuQ.js} +5 -5
- package/dist/{conversation-privacy-Tjj5P2W6.js → conversation-privacy-CVj9vSrP.js} +1 -1
- package/dist/{conversation-turn-DU0_WDAr.js → conversation-turn-CkzrIfJ2.js} +14 -14
- package/dist/{credential-sync-D6aFARKE.js → credential-sync-B9CIkgOT.js} +16 -16
- package/dist/{db-Bcbd9zQc.js → db-C21CyyTE.js} +3 -3
- package/dist/{executor-DBMBrpNV.js → executor-DfNoVVGd.js} +2 -2
- package/dist/{install-CgoAbzfF.js → install-lYZs8UCL.js} +2 -2
- package/dist/instrumentation.js +2 -2
- package/dist/{lineage-CsZDmz3e.js → lineage-BJTSY53A.js} +2 -2
- package/dist/{logging-CHCuQ5iz.js → logging-DjW7LjgJ.js} +1 -1
- package/dist/{message-B8vCbZZB.js → message-BPPZpdoZ.js} +8 -8
- package/dist/{model-input-Xluiy-1W.js → model-input-DKqiLFGa.js} +2 -2
- package/dist/nitro.js +12 -4
- package/dist/{oauth-callback-server-BUuNvfvu.js → oauth-callback-server-OJP8Y4Ca.js} +2 -2
- package/dist/{oauth-relay-DGAZzg9m.js → oauth-relay-KwDz41Z3.js} +1 -1
- package/dist/{projection-xPpvqexa.js → projection-D47mlszd.js} +11 -11
- package/dist/{prompt-D8u4jFs_.js → prompt-DuWH_YIb.js} +3 -3
- package/dist/{registry-D20hG3r6.js → registry-yht0oxq6.js} +1 -1
- package/dist/{resolve-BhCySRCW.js → resolve-gZ-hVMYl.js} +3 -3
- package/dist/{result-DddO63S9.js → result-CP99Ok0_.js} +8 -8
- package/dist/{runner-DQR9vYce.js → runner-eVlnUkY7.js} +9 -9
- package/dist/{sandbox-egress-signals-DFlNUOnK.js → sandbox-egress-signals-DZL_0lnG.js} +1 -1
- package/dist/{service-account-Bv5QwrEq.js → service-account-CZneZHh7.js} +5 -5
- package/dist/{service-account-CNfycv0z.js → service-account-tI3LBg2_.js} +3 -3
- package/dist/{session-stop-BDdwyZaa.js → session-stop-D3S7mSkX.js} +11 -11
- package/dist/{skills-63i1Bcv1.js → skills-Bm6uSO9V.js} +2 -2
- package/dist/{slack-conversation-unfurl-DtpBUlUu.js → slack-conversation-unfurl-BeBvg3xU.js} +10 -10
- package/dist/{spawn-mwimEY9_.js → spawn-vhMAmLuh.js} +6 -6
- package/dist/{state-BBn9L6gC.js → state-3Yiy2FvP.js} +4 -4
- package/dist/{stop-Da-Ug7tg.js → stop-Bh53GUoX.js} +30 -30
- package/dist/{store-CdWg2r2L.js → store-BZJdHYR7.js} +5 -5
- package/dist/{task-queue-BcjAYWyB.js → task-queue-BEl5G38v.js} +3 -3
- package/dist/{task-runner-CoXmMlsW.js → task-runner-C6Bujc6h.js} +6 -6
- package/dist/{thread-context-ZPGqOjW7.js → thread-context-DxMQGGd_.js} +6 -6
- package/dist/{turn-session-routing-DFYak28Q.js → turn-session-routing-CmQY0T60.js} +4 -4
- package/dist/{turn-user-message-B1S8nOnG.js → turn-user-message-Dfbr3Ud9.js} +3 -3
- package/dist/{users-DDbENg-I.js → users-6rSdqXXk.js} +1 -1
- package/dist/{validation-fl21ps-k.js → validation--hsjOLRL.js} +1 -1
- package/dist/{version-DCdMMx_0.js → version-9iMT25Hq.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-DN_xzVKj.js → viewer-De1vmuEA.js} +3 -3
- package/dist/{warmup-CxhEhm71.js → warmup-C0IblNtf.js} +18 -18
- package/dist/{worker-Btb1SB5h.js → worker-CiyRr2q7.js} +8 -8
- package/package.json +7 -7
|
@@ -1,39 +1,39 @@
|
|
|
1
|
-
import { $ as pauseLostWorkerTurn, $a as viewerMarksFromParticipant, $t as buildTurnErrorResponse, A as normalizeConversationText, As as streamPrivateSlackFile, B as PluginCredentialFailureError, Bo as lookupSlackUserNames, Br as takeReviewItem, Bt as releaseInboundMessage, Co as storeAttachment, Cs as getHeaderString, D as isHumanConversationMessage, Ds as isSlackRequestTimeout, E as getConversationMessageSlackTs, Es as isDmChannel, Fo as listConversationAnnotationsById, Fs as SLACK_USER_MENTION_RE, Ga as canAddConversationMessages, Hs as wrapBareSlackUserIds, Ir as listReplyActionItems, J as clearPendingAuth, Ja as conversationHasParticipantUser, Jo as getDispatchInputMessageId, Ka as createConversationAccessReader, Ko as getDispatchConversationId, Kr as canUserReadReviewItem, Lr as listWaitingConversations, M as trimConversationMessages, N as turnHasReply, Nn as getPlugins, O as latestConversationMessageSeq, Os as normalizeSlackConversationId, P as upsertConversationMessage, Po as listConversationAnnotations, Pr as getReviewItem, Q as lostWorkerBeforeFirstSave, Qa as conversationViewerMarks, Qo as isTerminalDispatchStatus, Qr as reviewItemNeedsSomeone, S as resolveConversationTitle, T as estimateConversationMessagesTokens, Ua as createPluginLogger, Uo as claimDispatchMailboxAppend, Ur as canActOnReviewItem, Us as truncateStatusText, Vs as slackMentionedUserIds, W as AuthorizationFlowDisabledError, Wo as confirmDispatchMailboxAppend, Xa as conversationIsNotUnsubscribedRoot, Xn as storedMessageJson, Xo as getDispatchTurnId, Ya as conversationIsMemberRoot, Yo as getDispatchRecord, Z as loadTurnCheckpoint, Za as conversationPinnedForUser, _o as slackAttachmentsVersionQuery, a as loadProjection, al as fallbackShortTitle, ao as readConversationEventPageAround, at as getTurnRecord, b as persistConversationMessages, bn as createUserTokenStore, bs as SlackActionError, cc as parseDashboardConversationLink, cn as getAssistantReplyText, co as buildSentryConversationUrl, d as recordAuthorizationCompleted, do as notInheritedByForkChild, ec as getDashboardConversationLink, es as markDispatchAwaitingResume, et as saveTurnCheckpoint, fl as configValueSchema, fo as getSlackFileId, fr as trimTrailingAssistantMessages, go as recordSlackAttachment, h as recordSubscribedReplyRoute, i as loadConversationProjection, io as readConversationEventPageAfter, is as markDispatchRunning, j as recordDeliveredAssistantMessage, js as withSlackRetries, k as markConversationMessage, kr as closeReviewItem, lc as parseDashboardPersonLink, ml as piMessageFromHistoryItem, mo as readAttachmentVisionSummary, n as commitMessages, nl as readAutomationTitlesByConversationId, no as readLatestConversationBrief, ns as markDispatchCompleted, nt as completeTurnRecord, o as loadTurnProjection, os as addReactionToMessage, ot as listTurnSummaries, pi as cancelSubscriptions, ps as removeReactionFromMessage, qa as readConversationAccessFromSql, qo as getDispatchIdForConversation, qr as isOnlyAssignee, ra as resolveBaseUrl, rc as getDashboardPersonLink, ro as readConversationEventPage, rs as markDispatchFailed, rt as failTurnRecord, sc as isDashboardLink, st as recordTurnSummary, t as commitAcceptedReply, tc as getDashboardLinkFilter, ts as markDispatchBlocked, tt as abandonTurnRecord, ul as createPluginCache, v as hydrateConversationMessages, vn as persistWithRetry, w as buildConversationContext, wn as applyPluginFormatMarkdown, ws as getSlackClient, xs as downloadPrivateSlackFile, y as persistConversationMessageWindow, yo as isFileAttachment, z as createPluginEgress, zo as lookupSlackUser, zs as normalizeSlackStatusText } from "./projection-
|
|
2
|
-
import { F as textCharsForTokens, P as estimateTextTokens, V as escapeXml, c as getSlackClientSecret, i as getChatConfig, k as resolveGatewayModel, l as getSlackSigningSecret, n as botConfig, o as getSlackBotToken, ot as isProviderRetryError, s as getSlackClientId, y as normalizeSlackEmojiName } from "./config-
|
|
3
|
-
import { E as withSpan, G as normalizeIdentityEmail, J as toOptionalString, K as isRecord, S as setTags, T as withLogContext, b as setSpanAttributes, f as logError, h as logWarn, m as logInfo, n as createChatSdkLogger, o as getActiveTraceContext, p as logException, q as toOptionalNumber, s as getActiveTraceId, t as buildTurnFailureResponse, y as setSentryUser } from "./logging-
|
|
1
|
+
import { $ as pauseLostWorkerTurn, $a as viewerMarksFromParticipant, $t as buildTurnErrorResponse, A as normalizeConversationText, As as streamPrivateSlackFile, B as PluginCredentialFailureError, Bo as lookupSlackUserNames, Br as takeReviewItem, Bt as releaseInboundMessage, Co as storeAttachment, Cs as getHeaderString, D as isHumanConversationMessage, Ds as isSlackRequestTimeout, E as getConversationMessageSlackTs, Es as isDmChannel, Fo as listConversationAnnotationsById, Fs as SLACK_USER_MENTION_RE, Ga as canAddConversationMessages, Hs as wrapBareSlackUserIds, Ir as listReplyActionItems, J as clearPendingAuth, Ja as conversationHasParticipantUser, Jo as getDispatchInputMessageId, Ka as createConversationAccessReader, Ko as getDispatchConversationId, Kr as canUserReadReviewItem, Lr as listWaitingConversations, M as trimConversationMessages, N as turnHasReply, Nn as getPlugins, O as latestConversationMessageSeq, Os as normalizeSlackConversationId, P as upsertConversationMessage, Po as listConversationAnnotations, Pr as getReviewItem, Q as lostWorkerBeforeFirstSave, Qa as conversationViewerMarks, Qo as isTerminalDispatchStatus, Qr as reviewItemNeedsSomeone, S as resolveConversationTitle, T as estimateConversationMessagesTokens, Ua as createPluginLogger, Uo as claimDispatchMailboxAppend, Ur as canActOnReviewItem, Us as truncateStatusText, Vs as slackMentionedUserIds, W as AuthorizationFlowDisabledError, Wo as confirmDispatchMailboxAppend, Xa as conversationIsNotUnsubscribedRoot, Xn as storedMessageJson, Xo as getDispatchTurnId, Ya as conversationIsMemberRoot, Yo as getDispatchRecord, Z as loadTurnCheckpoint, Za as conversationPinnedForUser, _o as slackAttachmentsVersionQuery, a as loadProjection, al as fallbackShortTitle, ao as readConversationEventPageAround, at as getTurnRecord, b as persistConversationMessages, bn as createUserTokenStore, bs as SlackActionError, cc as parseDashboardConversationLink, cn as getAssistantReplyText, co as buildSentryConversationUrl, d as recordAuthorizationCompleted, do as notInheritedByForkChild, ec as getDashboardConversationLink, es as markDispatchAwaitingResume, et as saveTurnCheckpoint, fl as configValueSchema, fo as getSlackFileId, fr as trimTrailingAssistantMessages, go as recordSlackAttachment, h as recordSubscribedReplyRoute, i as loadConversationProjection, io as readConversationEventPageAfter, is as markDispatchRunning, j as recordDeliveredAssistantMessage, js as withSlackRetries, k as markConversationMessage, kr as closeReviewItem, lc as parseDashboardPersonLink, ml as piMessageFromHistoryItem, mo as readAttachmentVisionSummary, n as commitMessages, nl as readAutomationTitlesByConversationId, no as readLatestConversationBrief, ns as markDispatchCompleted, nt as completeTurnRecord, o as loadTurnProjection, os as addReactionToMessage, ot as listTurnSummaries, pi as cancelSubscriptions, ps as removeReactionFromMessage, qa as readConversationAccessFromSql, qo as getDispatchIdForConversation, qr as isOnlyAssignee, ra as resolveBaseUrl, rc as getDashboardPersonLink, ro as readConversationEventPage, rs as markDispatchFailed, rt as failTurnRecord, sc as isDashboardLink, st as recordTurnSummary, t as commitAcceptedReply, tc as getDashboardLinkFilter, ts as markDispatchBlocked, tt as abandonTurnRecord, ul as createPluginCache, v as hydrateConversationMessages, vn as persistWithRetry, w as buildConversationContext, wn as applyPluginFormatMarkdown, ws as getSlackClient, xs as downloadPrivateSlackFile, y as persistConversationMessageWindow, yo as isFileAttachment, z as createPluginEgress, zo as lookupSlackUser, zs as normalizeSlackStatusText } from "./projection-D47mlszd.js";
|
|
2
|
+
import { F as textCharsForTokens, P as estimateTextTokens, V as escapeXml, c as getSlackClientSecret, i as getChatConfig, k as resolveGatewayModel, l as getSlackSigningSecret, n as botConfig, o as getSlackBotToken, ot as isProviderRetryError, s as getSlackClientId, y as normalizeSlackEmojiName } from "./config-DY5c1E0l.js";
|
|
3
|
+
import { E as withSpan, G as normalizeIdentityEmail, J as toOptionalString, K as isRecord, S as setTags, T as withLogContext, b as setSpanAttributes, f as logError, h as logWarn, m as logInfo, n as createChatSdkLogger, o as getActiveTraceContext, p as logException, q as toOptionalNumber, s as getActiveTraceId, t as buildTurnFailureResponse, y as setSentryUser } from "./logging-DjW7LjgJ.js";
|
|
4
4
|
import { h as startSpan } from "./sentry-CPbZjomA.js";
|
|
5
|
-
import { t as JUNIOR_VERSION } from "./version-
|
|
5
|
+
import { t as JUNIOR_VERSION } from "./version-9iMT25Hq.js";
|
|
6
6
|
import { f as parseSlackTeamId, i as isActorUserId, n as createSlackActor, o as isUserActor, r as createSlackResumeActor, s as parseActorUserId, t as createActor, u as parseSlackChannelId, v as parseSlackMessageTs } from "./actor-D2iXzvlN.js";
|
|
7
|
-
import { $ as getStateAdapter, A as conversationKindFromRow, D as postsRunNotices, E as isTopLevelKind, Et as createSlackDestination, I as resolveActorIdentityId, L as saveActorAvatar, Ot as requireSlackDestination, X as createCache, Y as readCachedUserByEmail, _ as readConversationTrees, a as getConversationStore, b as lastMessageAtSql, bt as hasAgentTurnUsage, ct as parseSessionSource, et as getStateValues, f as copyMessageLinks, gt as addAgentTurnUsage, h as conversationAncestors, j as locationFromRow, k as turnBehavior, m as withConversationEventLock, o as getDb, r as getConversationEventStore, rt as acquireActiveLock, s as getSqlExecutor, tt as setStateValues, v as setArchivedAt, w as deliversFinalText, wt as nextDetailVersion, xt as resolveRootConversationId, y as loadConversationSlackTenantIds, yt as agentTurnUsageSchema } from "./db-
|
|
8
|
-
import { A as juniorConversationEvents, B as juniorUsers, E as juniorConversationBriefs, I as juniorAttachments, L as juniorMessageAttachments, M as juniorConversationAnnotations, N as juniorCodeChanges, R as juniorConversations, V as juniorDestinations, f as juniorReviewItems, n as isPostgresErrorCode, u as juniorReviewItemConversations, x as juniorConversationParticipants, y as juniorAgentInvocations, z as juniorIdentities } from "./executor-
|
|
7
|
+
import { $ as getStateAdapter, A as conversationKindFromRow, D as postsRunNotices, E as isTopLevelKind, Et as createSlackDestination, I as resolveActorIdentityId, L as saveActorAvatar, Ot as requireSlackDestination, X as createCache, Y as readCachedUserByEmail, _ as readConversationTrees, a as getConversationStore, b as lastMessageAtSql, bt as hasAgentTurnUsage, ct as parseSessionSource, et as getStateValues, f as copyMessageLinks, gt as addAgentTurnUsage, h as conversationAncestors, j as locationFromRow, k as turnBehavior, m as withConversationEventLock, o as getDb, r as getConversationEventStore, rt as acquireActiveLock, s as getSqlExecutor, tt as setStateValues, v as setArchivedAt, w as deliversFinalText, wt as nextDetailVersion, xt as resolveRootConversationId, y as loadConversationSlackTenantIds, yt as agentTurnUsageSchema } from "./db-C21CyyTE.js";
|
|
8
|
+
import { A as juniorConversationEvents, B as juniorUsers, E as juniorConversationBriefs, I as juniorAttachments, L as juniorMessageAttachments, M as juniorConversationAnnotations, N as juniorCodeChanges, R as juniorConversations, V as juniorDestinations, f as juniorReviewItems, n as isPostgresErrorCode, u as juniorReviewItemConversations, x as juniorConversationParticipants, y as juniorAgentInvocations, z as juniorIdentities } from "./executor-DfNoVVGd.js";
|
|
9
9
|
import { d as contextProvenance, p as instructionProvenanceFor, t as KNOWN_CONVERSATION_EVENT_TYPES } from "./history-N7IVbUom.js";
|
|
10
|
-
import { f as actorLogContext, p as credentialContextForActor } from "./registry-
|
|
11
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
12
|
-
import { B as shouldEmitDevAgentTrace, D as canPauseConversationDelivery, L as finalizeFailedTurnReplyWithEvent, P as RetryableDeliveryError, R as getAgentTurnDiagnosticsAttributes, T as safeLinkUrl, _ as createSlackReviewItemShow, a as buildAuthPauseResponse, c as createClientMetadata, l as readMcpClientInformation, m as resolveDestinationVisibility, n as executeAgentRun, s as getMcpOAuthCallbackPath, t as createAgentRunner, u as latestProgressStatus, z as requireTurnFailureEventId } from "./agent-runner-
|
|
13
|
-
import { d as PluginMcpClient, u as McpAuthorizationRequiredError, v as getMcpStoredOAuthCredentials } from "./service-account-
|
|
14
|
-
import { i as webActorUserIds } from "./state-
|
|
15
|
-
import { a as EVENT_SYSTEM_ACTOR, d as completeText, l as completeDecision, s as isEventConversationMessage } from "./prompt-
|
|
10
|
+
import { f as actorLogContext, p as credentialContextForActor } from "./registry-yht0oxq6.js";
|
|
11
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-Se9idiDR.js";
|
|
12
|
+
import { B as shouldEmitDevAgentTrace, D as canPauseConversationDelivery, L as finalizeFailedTurnReplyWithEvent, P as RetryableDeliveryError, R as getAgentTurnDiagnosticsAttributes, T as safeLinkUrl, _ as createSlackReviewItemShow, a as buildAuthPauseResponse, c as createClientMetadata, l as readMcpClientInformation, m as resolveDestinationVisibility, n as executeAgentRun, s as getMcpOAuthCallbackPath, t as createAgentRunner, u as latestProgressStatus, z as requireTurnFailureEventId } from "./agent-runner-DxivxUYd.js";
|
|
13
|
+
import { d as PluginMcpClient, u as McpAuthorizationRequiredError, v as getMcpStoredOAuthCredentials } from "./service-account-CZneZHh7.js";
|
|
14
|
+
import { i as webActorUserIds } from "./state-3Yiy2FvP.js";
|
|
15
|
+
import { a as EVENT_SYSTEM_ACTOR, d as completeText, l as completeDecision, s as isEventConversationMessage } from "./prompt-DuWH_YIb.js";
|
|
16
16
|
import { Z as MAX_ATTACHMENT_BYTES, f as conversationEventPageSchema, tt as readMessageAttachments, u as conversationDetailReportSchema } from "./conversation--f85g4zL.js";
|
|
17
|
-
import { f as identityAvatarUrl, g as userAvatarUrlsFromIdentities, h as readUserAvatarUrls } from "./viewer-
|
|
18
|
-
import { d as readJuniorSecret, g as getTurnRequestDeadline, s as sendVercelPluginTask } from "./task-queue-
|
|
19
|
-
import { P as legacyWebMailboxMetadataSchema, Q as maybePostAutomatedTurnLimitNotice, c as loadReviewItemInput, et as resolveSlackReplyTarget, f as buildSteeringPiMessage, ft as isExperimentalFeatureEnabled, g as withoutSavedSteeringMessages, j as resolveMailboxTurnWork, l as savedInputInstruction, lt as conversationSubtree, o as skipInputAfterConversationStop, p as instructionActorFor, r as markConversationsStopped, st as recordFinishedTurnForAutomatedLimit, tt as sendSlackReply, ut as conversationSubtreeColumns } from "./session-stop-
|
|
20
|
-
import { Ai as MINUTE_MS, An as recordFailedDispatchTurn, At as verifyAttachmentUploads, Bn as getWebAuthorization, Ct as createConversationId, Dn as supersedeTurnForInput, Dt as AttachmentUploadError, Fn as canShareTurn, Hn as executeTurn, Ht as getChildAgentLabel, Mi as NO_REPLY_GAP_MS, Ni as gapSegment, Nn as getTurnAuthorization, On as createPausedTurns, Pn as canJoinTurn, St as createAndEnqueueConversation, Tt as webActorFromUser, Vn as AgentRunError, Xn as renderBlockText, Yn as renderAttachmentText, Zn as parseSlackMessageReference, _r as isPublicSlackChannel, bt as appendAndEnqueueWebMessage, c as isConversationWorkDone, cr as resolveSlackChannelIdFromMessage, ct as readLastUserMessageAtByConversation, d as addHistoryPeriod, f as firstLiveSavingsDate, fn as dropOwnUnreadLoopReplies, gr as isConversationMember, gt as deliverReviewItemChange, hn as cancelSignInWait, hr as getConversationInfo, i as GLOBAL_GAPS_TTL_MS, kn as getPausedTurnRequest, l as listConversationWork, li as readConversationSourceTask, m as replaceHistorySavings, mn as stopChildAgentsOf, mr as getChannelMessage, n as CONVERSATION_STATE_TTL_MS, o as segmentGapsKey, or as parseSlackThreadId, p as idlePeriodSavings, pn as stopChildAgentsBelow, qn as throwApiError, r as GLOBAL_GAPS_MAX, sr as readSlackRawMessageContext, t as ANSWER_TOOL_ENDINGS, ut as conversationReadPositionQuery, v as connectedState, wt as recordWebConversationActivity, y as providerCacheTtlMs, yr as listThreadReplies, yt as acceptsWebMessages } from "./warmup-
|
|
17
|
+
import { f as identityAvatarUrl, g as userAvatarUrlsFromIdentities, h as readUserAvatarUrls } from "./viewer-De1vmuEA.js";
|
|
18
|
+
import { d as readJuniorSecret, g as getTurnRequestDeadline, s as sendVercelPluginTask } from "./task-queue-BEl5G38v.js";
|
|
19
|
+
import { P as legacyWebMailboxMetadataSchema, Q as maybePostAutomatedTurnLimitNotice, c as loadReviewItemInput, et as resolveSlackReplyTarget, f as buildSteeringPiMessage, ft as isExperimentalFeatureEnabled, g as withoutSavedSteeringMessages, j as resolveMailboxTurnWork, l as savedInputInstruction, lt as conversationSubtree, o as skipInputAfterConversationStop, p as instructionActorFor, r as markConversationsStopped, st as recordFinishedTurnForAutomatedLimit, tt as sendSlackReply, ut as conversationSubtreeColumns } from "./session-stop-D3S7mSkX.js";
|
|
20
|
+
import { Ai as MINUTE_MS, An as recordFailedDispatchTurn, At as verifyAttachmentUploads, Bn as getWebAuthorization, Ct as createConversationId, Dn as supersedeTurnForInput, Dt as AttachmentUploadError, Fn as canShareTurn, Hn as executeTurn, Ht as getChildAgentLabel, Mi as NO_REPLY_GAP_MS, Ni as gapSegment, Nn as getTurnAuthorization, On as createPausedTurns, Pn as canJoinTurn, St as createAndEnqueueConversation, Tt as webActorFromUser, Vn as AgentRunError, Xn as renderBlockText, Yn as renderAttachmentText, Zn as parseSlackMessageReference, _r as isPublicSlackChannel, bt as appendAndEnqueueWebMessage, c as isConversationWorkDone, cr as resolveSlackChannelIdFromMessage, ct as readLastUserMessageAtByConversation, d as addHistoryPeriod, f as firstLiveSavingsDate, fn as dropOwnUnreadLoopReplies, gr as isConversationMember, gt as deliverReviewItemChange, hn as cancelSignInWait, hr as getConversationInfo, i as GLOBAL_GAPS_TTL_MS, kn as getPausedTurnRequest, l as listConversationWork, li as readConversationSourceTask, m as replaceHistorySavings, mn as stopChildAgentsOf, mr as getChannelMessage, n as CONVERSATION_STATE_TTL_MS, o as segmentGapsKey, or as parseSlackThreadId, p as idlePeriodSavings, pn as stopChildAgentsBelow, qn as throwApiError, r as GLOBAL_GAPS_MAX, sr as readSlackRawMessageContext, t as ANSWER_TOOL_ENDINGS, ut as conversationReadPositionQuery, v as connectedState, wt as recordWebConversationActivity, y as providerCacheTtlMs, yr as listThreadReplies, yt as acceptsWebMessages } from "./warmup-C0IblNtf.js";
|
|
21
21
|
import { h as isVisionImageMediaType, l as isEmptyUserInputAnswer, m as detectImageMediaType, t as webMessageId, u as normalizeUserInputAnswer } from "./web-message-id-BT8Mg8LL.js";
|
|
22
|
-
import { L as buildDeterministicAssistantMessageId, R as buildDeterministicTurnId, a as ConversationTurnBoundaryError, c as TurnInputDeferredError, d as isTurnInputCommitLostError, f as isTurnInputDeferredError, g as startActiveTurn, h as markTurnFailed, i as getTurnUserSlackMessageTs, l as getConversationTurnBoundaryError, m as markTurnCompleted, o as CooperativeTurnYieldError, p as markTurnClosed, r as getTurnUserReplyAttachmentContext, s as TurnInputCommitLostError, t as getTurnUserMessage, u as isCooperativeTurnYieldError, v as getTurnLifecycle } from "./turn-user-message-
|
|
23
|
-
import { m as getVercelConversationWorkQueue } from "./background-compaction-queue-
|
|
24
|
-
import { D as stopConversationWork, E as steerWebPendingMessages, _ as getConversationWorkState, a as cancelHumanFacingPendingMessages, g as getConversation, h as ensureConversationWake, r as appendAndEnqueueInboundMessage, s as claimInboundMessage } from "./store-
|
|
25
|
-
import { a as getPersistedThreadState, c as coerceThreadConversationState, i as getPersistedSandboxState, n as resolveTurnResumeRouting, o as persistThreadRuntimeState, r as getLocationConfigurationService, s as persistThreadStateById, t as resolveConversationRouting } from "./turn-session-routing-
|
|
26
|
-
import { t as runWithSlackInstallation } from "./adapter-context-
|
|
22
|
+
import { L as buildDeterministicAssistantMessageId, R as buildDeterministicTurnId, a as ConversationTurnBoundaryError, c as TurnInputDeferredError, d as isTurnInputCommitLostError, f as isTurnInputDeferredError, g as startActiveTurn, h as markTurnFailed, i as getTurnUserSlackMessageTs, l as getConversationTurnBoundaryError, m as markTurnCompleted, o as CooperativeTurnYieldError, p as markTurnClosed, r as getTurnUserReplyAttachmentContext, s as TurnInputCommitLostError, t as getTurnUserMessage, u as isCooperativeTurnYieldError, v as getTurnLifecycle } from "./turn-user-message-Dfbr3Ud9.js";
|
|
23
|
+
import { m as getVercelConversationWorkQueue } from "./background-compaction-queue-HlljT9ql.js";
|
|
24
|
+
import { D as stopConversationWork, E as steerWebPendingMessages, _ as getConversationWorkState, a as cancelHumanFacingPendingMessages, g as getConversation, h as ensureConversationWake, r as appendAndEnqueueInboundMessage, s as claimInboundMessage } from "./store-BZJdHYR7.js";
|
|
25
|
+
import { a as getPersistedThreadState, c as coerceThreadConversationState, i as getPersistedSandboxState, n as resolveTurnResumeRouting, o as persistThreadRuntimeState, r as getLocationConfigurationService, s as persistThreadStateById, t as resolveConversationRouting } from "./turn-session-routing-CmQY0T60.js";
|
|
26
|
+
import { t as runWithSlackInstallation } from "./adapter-context-HrBTD8rJ.js";
|
|
27
27
|
import { D as personObjectCard, E as messageObjectCard, O as webPageObjectCard, T as conversationObjectCard, m as healthReportSchema, r as conversationFeedSchema, t as conversationFeedBriefSchema, u as conversationPendingMessagesReportSchema } from "./conversation-feed-BNs9KiqC.js";
|
|
28
|
-
import { a as withTurnSpan, i as turnInputTelemetry, n as createConversationTurnWorker, r as getTurnInputSpanAttributes } from "./conversation-turn-
|
|
29
|
-
import { n as buildStoredAttachmentPromptText } from "./model-input-
|
|
30
|
-
import { i as enqueueAgentInvocationResult, n as createDeliverToParent, s as withAgentInvocationResultActors, t as createChildConversationWorker } from "./result-
|
|
31
|
-
import { t as bindMessageAgent } from "./message-
|
|
32
|
-
import { t as readConversationLineage } from "./lineage-
|
|
33
|
-
import { t as bindSpawnAgent } from "./spawn-
|
|
34
|
-
import { a as buildDeliveredTurnStatePatch, i as persistAuthPauseTurnState, n as loadThreadContextTrimFloor, o as loadPendingMessageCards, r as completeAuthPauseTurn, t as buildTurnThreadContext } from "./thread-context-
|
|
35
|
-
import { n as scheduleSessionCompletedPluginTasks } from "./task-runner-
|
|
36
|
-
import { r as canContinueInSlack } from "./continue-in-slack-
|
|
28
|
+
import { a as withTurnSpan, i as turnInputTelemetry, n as createConversationTurnWorker, r as getTurnInputSpanAttributes } from "./conversation-turn-CkzrIfJ2.js";
|
|
29
|
+
import { n as buildStoredAttachmentPromptText } from "./model-input-DKqiLFGa.js";
|
|
30
|
+
import { i as enqueueAgentInvocationResult, n as createDeliverToParent, s as withAgentInvocationResultActors, t as createChildConversationWorker } from "./result-CP99Ok0_.js";
|
|
31
|
+
import { t as bindMessageAgent } from "./message-BPPZpdoZ.js";
|
|
32
|
+
import { t as readConversationLineage } from "./lineage-BJTSY53A.js";
|
|
33
|
+
import { t as bindSpawnAgent } from "./spawn-vhMAmLuh.js";
|
|
34
|
+
import { a as buildDeliveredTurnStatePatch, i as persistAuthPauseTurnState, n as loadThreadContextTrimFloor, o as loadPendingMessageCards, r as completeAuthPauseTurn, t as buildTurnThreadContext } from "./thread-context-DxMQGGd_.js";
|
|
35
|
+
import { n as scheduleSessionCompletedPluginTasks } from "./task-runner-C6Bujc6h.js";
|
|
36
|
+
import { r as canContinueInSlack } from "./continue-in-slack-DNkrrWuQ.js";
|
|
37
37
|
import pLimit from "p-limit";
|
|
38
38
|
import * as z from "zod";
|
|
39
39
|
import { createHash, createHmac, randomUUID, timingSafeEqual } from "node:crypto";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { a as getConversationStore } from "./db-
|
|
2
|
-
import { p as logException } from "./logging-
|
|
3
|
-
import "./background-compaction-queue-
|
|
4
|
-
import { At as hasRunnableConversationWork, Bt as releaseInboundMessage, Dt as getConversationWorkState$1, Et as getConversation$1, Gt as stopConversationWork$1, Ht as requestConversationWork$1, Kt as takeDeferredConversationMove, Lt as recordAttemptFailure$1, Nt as listActiveConversationIds$1, Ot as getConversationWorkStates$1, Pt as markConversationWorkEnqueued$1, Rt as recordConversationRetry$1, St as deadLetterAttempt$1, Tt as dropPendingMessages$1, Ut as startConversationWork$1, Vt as requestAnotherSlice$1, Wt as steerWebPendingMessages$1, _t as clearConsumedConversationWake$1, bt as completeConversationWork$1, dt as appendExclusiveInboundMessage, ft as appendInboundMessage, gt as claimInboundMessage$1, ht as checkInConversationWork$1, mt as cancelHumanFacingPendingMessages$1, pt as beginConversationResume$1, ut as ackMessages$1, vt as clearExpiredConversationLease$1, wt as drainConversationMailbox$1, yt as completeConversationStop$1, zt as releaseConversationWork$1 } from "./projection-
|
|
1
|
+
import { a as getConversationStore } from "./db-C21CyyTE.js";
|
|
2
|
+
import { p as logException } from "./logging-DjW7LjgJ.js";
|
|
3
|
+
import "./background-compaction-queue-HlljT9ql.js";
|
|
4
|
+
import { At as hasRunnableConversationWork, Bt as releaseInboundMessage, Dt as getConversationWorkState$1, Et as getConversation$1, Gt as stopConversationWork$1, Ht as requestConversationWork$1, Kt as takeDeferredConversationMove, Lt as recordAttemptFailure$1, Nt as listActiveConversationIds$1, Ot as getConversationWorkStates$1, Pt as markConversationWorkEnqueued$1, Rt as recordConversationRetry$1, St as deadLetterAttempt$1, Tt as dropPendingMessages$1, Ut as startConversationWork$1, Vt as requestAnotherSlice$1, Wt as steerWebPendingMessages$1, _t as clearConsumedConversationWake$1, bt as completeConversationWork$1, dt as appendExclusiveInboundMessage, ft as appendInboundMessage, gt as claimInboundMessage$1, ht as checkInConversationWork$1, mt as cancelHumanFacingPendingMessages$1, pt as beginConversationResume$1, ut as ackMessages$1, vt as clearExpiredConversationLease$1, wt as drainConversationMailbox$1, yt as completeConversationStop$1, zt as releaseConversationWork$1 } from "./projection-D47mlszd.js";
|
|
5
5
|
// src/chat/task-execution/store.ts
|
|
6
6
|
function metadataStore(options) {
|
|
7
7
|
return options.conversationStore ?? getConversationStore();
|
|
@@ -304,7 +304,7 @@ async function runDeferredMove(args) {
|
|
|
304
304
|
const move = await takeDeferredConversationMove(args);
|
|
305
305
|
if (move === void 0) return;
|
|
306
306
|
try {
|
|
307
|
-
const { continueDeferredSlackClick } = await import("./slack-conversation-unfurl-
|
|
307
|
+
const { continueDeferredSlackClick } = await import("./slack-conversation-unfurl-BeBvg3xU.js").then((n) => n.r);
|
|
308
308
|
await continueDeferredSlackClick(move, args.getSlackAdapter);
|
|
309
309
|
} catch (error) {
|
|
310
310
|
logException(error, "slack.continue_here.deferred.failed", { "gen_ai.conversation.id": args.conversationId });
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { h as logWarn, m as logInfo, p as logException } from "./logging-
|
|
2
|
-
import { i as getChatConfig } from "./config-
|
|
1
|
+
import { h as logWarn, m as logInfo, p as logException } from "./logging-DjW7LjgJ.js";
|
|
2
|
+
import { i as getChatConfig } from "./config-DY5c1E0l.js";
|
|
3
3
|
import * as z from "zod";
|
|
4
4
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
5
5
|
import { createHash, createHmac, timingSafeEqual } from "node:crypto";
|
|
@@ -396,7 +396,7 @@ function pluginTaskCallback() {
|
|
|
396
396
|
maxDeliveries: PLUGIN_TASK_MAX_DELIVERIES,
|
|
397
397
|
onRejected: logPluginTaskQueueMessageRejected,
|
|
398
398
|
run: async (message) => {
|
|
399
|
-
const { processPluginTask } = await import("./task-runner-
|
|
399
|
+
const { processPluginTask } = await import("./task-runner-C6Bujc6h.js").then((n) => n.r);
|
|
400
400
|
await processPluginTask(message);
|
|
401
401
|
},
|
|
402
402
|
topic: PLUGIN_TASK_QUEUE_TOPIC,
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-BKpuH2hG.js";
|
|
2
|
-
import { Ha as createPluginModelCostRecorder, Ln as coreTaskRegistrations, Mi as createPluginState, Nn as getPlugins, Oa as createPluginEmbedder, Qn as getPiMessageRole, Ua as createPluginLogger, Yo as getDispatchRecord, at as getTurnRecord, cr as isToolResultMessage, dr as stripRuntimeTurnContext, eo as createPluginConversationEvents, ka as createPluginModel, lr as normalizeToolNameFromResult, rr as instructionTextForProjection, sr as isToolResultError, ul as createPluginCache, v as hydrateConversationMessages } from "./projection-
|
|
3
|
-
import { $ as getStateAdapter, a as getConversationStore, o as getDb } from "./db-
|
|
4
|
-
import { E as withSpan } from "./logging-
|
|
5
|
-
import { a as getPersistedThreadState, c as coerceThreadConversationState, t as resolveConversationRouting } from "./turn-session-routing-
|
|
6
|
-
import { i as readActorIdentity } from "./viewer-
|
|
2
|
+
import { Ha as createPluginModelCostRecorder, Ln as coreTaskRegistrations, Mi as createPluginState, Nn as getPlugins, Oa as createPluginEmbedder, Qn as getPiMessageRole, Ua as createPluginLogger, Yo as getDispatchRecord, at as getTurnRecord, cr as isToolResultMessage, dr as stripRuntimeTurnContext, eo as createPluginConversationEvents, ka as createPluginModel, lr as normalizeToolNameFromResult, rr as instructionTextForProjection, sr as isToolResultError, ul as createPluginCache, v as hydrateConversationMessages } from "./projection-D47mlszd.js";
|
|
3
|
+
import { $ as getStateAdapter, a as getConversationStore, o as getDb } from "./db-C21CyyTE.js";
|
|
4
|
+
import { E as withSpan } from "./logging-DjW7LjgJ.js";
|
|
5
|
+
import { a as getPersistedThreadState, c as coerceThreadConversationState, t as resolveConversationRouting } from "./turn-session-routing-CmQY0T60.js";
|
|
6
|
+
import { i as readActorIdentity } from "./viewer-De1vmuEA.js";
|
|
7
7
|
import { v as parseSlackMessageTs } from "./actor-D2iXzvlN.js";
|
|
8
8
|
import { m as sameActorIdentity } from "./history-N7IVbUom.js";
|
|
9
|
-
import { i as pluginTaskParamsSchema, r as pluginTaskId } from "./task-queue-
|
|
9
|
+
import { i as pluginTaskParamsSchema, r as pluginTaskId } from "./task-queue-BEl5G38v.js";
|
|
10
10
|
import pLimit from "p-limit";
|
|
11
11
|
import { pluginRunContextSchema } from "@sentry/junior-plugin-api";
|
|
12
12
|
// src/chat/plugins/task-runner.ts
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { J as clearPendingAuth, Po as listConversationAnnotations, k as markConversationMessage, v as hydrateConversationMessages, w as buildConversationContext } from "./projection-
|
|
2
|
-
import { K as isRecord, b as setSpanAttributes } from "./logging-
|
|
3
|
-
import { o as getDb, r as getConversationEventStore } from "./db-
|
|
1
|
+
import { J as clearPendingAuth, Po as listConversationAnnotations, k as markConversationMessage, v as hydrateConversationMessages, w as buildConversationContext } from "./projection-D47mlszd.js";
|
|
2
|
+
import { K as isRecord, b as setSpanAttributes } from "./logging-DjW7LjgJ.js";
|
|
3
|
+
import { o as getDb, r as getConversationEventStore } from "./db-C21CyyTE.js";
|
|
4
4
|
import { J as readMessageCardRefs, X as resolveMessageCards, Y as removedCardSchema } from "./conversation--f85g4zL.js";
|
|
5
|
-
import { S as listChildMessages, m as markTurnCompleted, n as getTurnUserMessageId, p as markTurnClosed, x as isAgentInvocationResult } from "./turn-user-message-
|
|
6
|
-
import { _ as getConversationWorkState } from "./store-
|
|
7
|
-
import { a as getPersistedThreadState, c as coerceThreadConversationState, s as persistThreadStateById } from "./turn-session-routing-
|
|
5
|
+
import { S as listChildMessages, m as markTurnCompleted, n as getTurnUserMessageId, p as markTurnClosed, x as isAgentInvocationResult } from "./turn-user-message-Dfbr3Ud9.js";
|
|
6
|
+
import { _ as getConversationWorkState } from "./store-BZJdHYR7.js";
|
|
7
|
+
import { a as getPersistedThreadState, c as coerceThreadConversationState, s as persistThreadStateById } from "./turn-session-routing-CmQY0T60.js";
|
|
8
8
|
// src/chat/conversations/pending-cards.ts
|
|
9
9
|
/**
|
|
10
10
|
* Add the cards that tool results selected since the last visible assistant
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { Ko as getDispatchConversationId, Yo as getDispatchRecord, b as persistConversationMessages, dl as createDurableLocationConfigurationService, sl as JUNIOR_THREAD_STATE_TTL_MS } from "./projection-
|
|
2
|
-
import { J as toOptionalString, K as isRecord, q as toOptionalNumber } from "./logging-
|
|
3
|
-
import { $ as getStateAdapter, o as getDb } from "./db-
|
|
1
|
+
import { Ko as getDispatchConversationId, Yo as getDispatchRecord, b as persistConversationMessages, dl as createDurableLocationConfigurationService, sl as JUNIOR_THREAD_STATE_TTL_MS } from "./projection-D47mlszd.js";
|
|
2
|
+
import { J as toOptionalString, K as isRecord, q as toOptionalNumber } from "./logging-DjW7LjgJ.js";
|
|
3
|
+
import { $ as getStateAdapter, o as getDb } from "./db-C21CyyTE.js";
|
|
4
4
|
// src/chat/state/conversation.ts
|
|
5
5
|
function defaultConversationState() {
|
|
6
6
|
return {
|
|
@@ -202,7 +202,7 @@ function slackSourceForDestination(args) {
|
|
|
202
202
|
* Reads parent Conversations when this Conversation has no Destination.
|
|
203
203
|
*/
|
|
204
204
|
async function resolveConversationRouting(args) {
|
|
205
|
-
const conversationStore = args.conversationStore ?? (await import("./db-
|
|
205
|
+
const conversationStore = args.conversationStore ?? (await import("./db-C21CyyTE.js").then((n) => n.n)).getConversationStore();
|
|
206
206
|
const chain = await loadConversationChain(args.conversationId, conversationStore);
|
|
207
207
|
let destination;
|
|
208
208
|
let source;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { qt as readInboundMessageSender } from "./projection-
|
|
1
|
+
import { qt as readInboundMessageSender } from "./projection-D47mlszd.js";
|
|
2
2
|
import { v as parseSlackMessageTs } from "./actor-D2iXzvlN.js";
|
|
3
|
-
import { r as getConversationEventStore, s as getSqlExecutor } from "./db-
|
|
4
|
-
import { y as juniorAgentInvocations } from "./executor-
|
|
3
|
+
import { r as getConversationEventStore, s as getSqlExecutor } from "./db-C21CyyTE.js";
|
|
4
|
+
import { y as juniorAgentInvocations } from "./executor-DfNoVVGd.js";
|
|
5
5
|
import { createHash } from "node:crypto";
|
|
6
6
|
import { inArray } from "drizzle-orm";
|
|
7
7
|
// src/chat/state/turn-id.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { bs as SlackActionError, js as withSlackRetries, ws as getSlackClient } from "./projection-
|
|
1
|
+
import { bs as SlackActionError, js as withSlackRetries, ws as getSlackClient } from "./projection-D47mlszd.js";
|
|
2
2
|
import * as z from "zod";
|
|
3
3
|
// src/chat/slack/users.ts
|
|
4
4
|
const profileFieldsSchema = z.object({ fields: z.record(z.string(), z.object({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-BKpuH2hG.js";
|
|
2
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
2
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-Se9idiDR.js";
|
|
3
3
|
import { isDeepStrictEqual } from "node:util";
|
|
4
4
|
// src/chat/plugins/validation.ts
|
|
5
5
|
var validation_exports = /* @__PURE__ */ __exportAll({
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
// package.json
|
|
2
|
-
var version = "0.307.
|
|
2
|
+
var version = "0.307.1";
|
|
3
3
|
// src/version.ts
|
|
4
4
|
/** Installed Junior package version, or `unknown` when package metadata is unavailable. */
|
|
5
5
|
const JUNIOR_VERSION = typeof version === "string" && version.trim() ? version : "unknown";
|
package/dist/version.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { t as JUNIOR_VERSION } from "./version-
|
|
1
|
+
export { t as JUNIOR_VERSION } from "./version-9iMT25Hq.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { F as findActorIdentityId, J as clearCachedUser, Y as readCachedUserByEmail, o as getDb } from "./db-
|
|
2
|
-
import { B as juniorUsers, z as juniorIdentities } from "./executor-
|
|
3
|
-
import { G as normalizeIdentityEmail, U as GOOGLE_IDENTITY_PROVIDER } from "./logging-
|
|
1
|
+
import { F as findActorIdentityId, J as clearCachedUser, Y as readCachedUserByEmail, o as getDb } from "./db-C21CyyTE.js";
|
|
2
|
+
import { B as juniorUsers, z as juniorIdentities } from "./executor-DfNoVVGd.js";
|
|
3
|
+
import { G as normalizeIdentityEmail, U as GOOGLE_IDENTITY_PROVIDER } from "./logging-DjW7LjgJ.js";
|
|
4
4
|
import { createHash, randomUUID } from "node:crypto";
|
|
5
5
|
import { and, asc, eq, inArray, isNotNull } from "drizzle-orm";
|
|
6
6
|
import { identitySchema, userSchema } from "@sentry/junior-plugin-api";
|
|
@@ -1,28 +1,28 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-BKpuH2hG.js";
|
|
2
|
-
import { $ as pauseLostWorkerTurn, $c as readAutomationExecutions, $n as getTerminalAssistantMessages, Ac as hasEventCatalogEntries, B as PluginCredentialFailureError, Bc as readAutomationVersion, Bi as updateWorkspace, Bs as slackMention, Ea as workspaceRepoCheckoutPath, En as createPluginHookRunner, Fa as SANDBOX_WORKSPACE_ROOT, Fc as requireEventIdentifier, Fi as deleteWorkspace, Fr as insertReviewItem, Gc as ToolInputError, Gi as setWorkspaceSnapshotBuild, Gn as seqIn, Gr as canReadReviewItem, Hi as invalidateReadySnapshot, Hr as PLUGIN_REVIEW_ITEM_KEY_PREFIX, Ic as requireValidEventTrigger, Ii as getWorkspace, Io as defaultTimezone, J as clearPendingAuth, Ji as isStale, Jn as eventExcerpt, Jo as getDispatchInputMessageId, Js as parseScheduledAutomationRow, Ki as create, Kn as SEARCHABLE_EVENT_TYPES, Ks as deleteScheduledAutomation, Lc as automationDefinition, Li as getWorkspaceByName, Ma as SANDBOX_REPOS_ROOT, Mc as registeredEventTriggerProblems, Mo as saveObjectAnnotations, Mr as dismissOpenReviewItems, Ms as sleep, Na as SANDBOX_SCRATCH_ROOT, Nc as registeredEventTypeSchema, Nn as getPlugins, No as createPluginAnnotations, Nr as getOpenReviewItemByDedupeKey, Oc as eventNamespaceSchema, Oo as searchConversations, Os as normalizeSlackConversationId, Pc as registeredResourceTypeSchema, Pi as createWorkspace, Pn as getStaticPluginToolDefinitions, Pr as getReviewItem, Q as lostWorkerBeforeFirstSave, Qc as readAutomationExecutionSummaries, Ri as listWorkspaces, Si as listWatches, Ss as getFilePermalink, Tc as describeRegisteredEventTrigger, Ts as isConversationScopedChannel, Ua as createPluginLogger, Uc as automationRevision, Ui as loadSnapshotsForProfile, Un as lexemesSql, Vc as sameDefinitionValue, Vi as WorkspaceValidationError, Vr as updateReviewItemContent, W as AuthorizationFlowDisabledError, Wa as canAccessConversation, Wc as requireAutomationRevision, Wi as setWorkspaceSnapshot, Wn as searchedEventTextSql, Wr as canAgentChangeReviewItem, Xc as readAutomationExecutionStatusDays, Xi as getSandboxProvider, Xr as requireReviewItemAssignees, Xs as saveScheduledAutomation, Yc as readAutomationExecutionByConversationId, Yn as excerptTerms, Yo as getDispatchRecord, Yr as readReviewItemAgentScope, Z as loadTurnCheckpoint, Zc as readAutomationExecutionStatusHours, Zr as requireReviewItemLinks, _c as listDeletedEventAutomationsCreatedBy, _i as createWatch, ai as resolveAssignees, al as fallbackShortTitle, at as getTurnRecord, bc as setEventAutomationStatus, bi as getWatch, bo as readLiveAttachment, bs as SlackActionError, ci as getSlackToolContext, cn as getAssistantReplyText, cs as getSlackMessagePermalink, da as WorkspaceSnapshotNotReadyError, di as RESOURCE_WATCH_TOOL_SOURCE, dn as findLegacyNoReplyMarker, ec as getDashboardConversationLink, el as readAutomationRowStats, et as saveTurnCheckpoint, fi as STOP_WATCHING_TOOL_NAME, fn as isLegacyNoReplyMarker, gi as createTimerWatch, gn as REPORT_BLOCKED_TOOL_NAME, ii as resolveAssignee, in as readTurnAnswer, jc as registeredEventMatchSchema, jo as embedConversationQuery, js as withSlackRetries, k as markConversationMessage, kc as eventWatchUnavailable, kr as closeReviewItem, li as RESOURCE_SUBSCRIPTION_DEFAULT_TTL_MS, lo as FORK_INSTRUCTIONS, ls as openSlackDirectMessage, mc as deleteEventAutomation, mi as cancelWatch, ni as activeParticipantUserIds, nn as REPLY_TOOL_NAME, oc as getDashboardTaskLink, ol as resolveTaskTitle, on as replyTextSchema, pa as isWorkspaceSnapshotNotReadyError, po as matchSlackAttachments, qa as readConversationAccessFromSql, qc as emptyAutomationRunWindows, qn as callsToolSql, qo as getDispatchIdForConversation, ri as automationCreatorUserId, rt as failTurnRecord, s as openConversationProjection, sa as isAbortError, st as recordTurnSummary, ti as EVERYONE_ASSIGNEE, tl as readAutomationRuns, tn as isTurnExecutionLimitExceededError, tt as abandonTurnRecord, ui as RESOURCE_SUBSCRIPTION_MAX_TTL_MS, ul as createPluginCache, un as NO_REPLY_TOOL_NAME, uo as loadForkHistory, v as hydrateConversationMessages, va as createSandboxEgressCredentialToken, vc as parseEventAutomationRow, vi as deliverWatch, wa as SANDBOX_RUNTIME, wc as automationEventCatalog, wi as turnEvents, ws as getSlackClient, xa as buildSandboxEgressNetworkPolicy, xi as isQuietEvent, xn as getOAuthAccountProviders, xo as recordUploadedAttachment, xs as downloadPrivateSlackFile, yc as saveEventAutomation, yi as findMatchingWatches, zc as listAutomationVersions, zr as searchReviewItems } from "./projection-
|
|
3
|
-
import { W as escapeClosingTags, X as renderTag, _ as TURN_REASONING_LEVELS, i as getChatConfig, k as resolveGatewayModel, lt as bufferBody, n as botConfig, ot as isProviderRetryError } from "./config-
|
|
4
|
-
import { E as withSpan, G as normalizeIdentityEmail, J as toOptionalString, b as setSpanAttributes, h as logWarn, m as logInfo, o as getActiveTraceContext, p as logException, x as setSpanStatus, z as getDeploymentId } from "./logging-
|
|
2
|
+
import { $ as pauseLostWorkerTurn, $c as readAutomationExecutions, $n as getTerminalAssistantMessages, Ac as hasEventCatalogEntries, B as PluginCredentialFailureError, Bc as readAutomationVersion, Bi as updateWorkspace, Bs as slackMention, Ea as workspaceRepoCheckoutPath, En as createPluginHookRunner, Fa as SANDBOX_WORKSPACE_ROOT, Fc as requireEventIdentifier, Fi as deleteWorkspace, Fr as insertReviewItem, Gc as ToolInputError, Gi as setWorkspaceSnapshotBuild, Gn as seqIn, Gr as canReadReviewItem, Hi as invalidateReadySnapshot, Hr as PLUGIN_REVIEW_ITEM_KEY_PREFIX, Ic as requireValidEventTrigger, Ii as getWorkspace, Io as defaultTimezone, J as clearPendingAuth, Ji as isStale, Jn as eventExcerpt, Jo as getDispatchInputMessageId, Js as parseScheduledAutomationRow, Ki as create, Kn as SEARCHABLE_EVENT_TYPES, Ks as deleteScheduledAutomation, Lc as automationDefinition, Li as getWorkspaceByName, Ma as SANDBOX_REPOS_ROOT, Mc as registeredEventTriggerProblems, Mo as saveObjectAnnotations, Mr as dismissOpenReviewItems, Ms as sleep, Na as SANDBOX_SCRATCH_ROOT, Nc as registeredEventTypeSchema, Nn as getPlugins, No as createPluginAnnotations, Nr as getOpenReviewItemByDedupeKey, Oc as eventNamespaceSchema, Oo as searchConversations, Os as normalizeSlackConversationId, Pc as registeredResourceTypeSchema, Pi as createWorkspace, Pn as getStaticPluginToolDefinitions, Pr as getReviewItem, Q as lostWorkerBeforeFirstSave, Qc as readAutomationExecutionSummaries, Ri as listWorkspaces, Si as listWatches, Ss as getFilePermalink, Tc as describeRegisteredEventTrigger, Ts as isConversationScopedChannel, Ua as createPluginLogger, Uc as automationRevision, Ui as loadSnapshotsForProfile, Un as lexemesSql, Vc as sameDefinitionValue, Vi as WorkspaceValidationError, Vr as updateReviewItemContent, W as AuthorizationFlowDisabledError, Wa as canAccessConversation, Wc as requireAutomationRevision, Wi as setWorkspaceSnapshot, Wn as searchedEventTextSql, Wr as canAgentChangeReviewItem, Xc as readAutomationExecutionStatusDays, Xi as getSandboxProvider, Xr as requireReviewItemAssignees, Xs as saveScheduledAutomation, Yc as readAutomationExecutionByConversationId, Yn as excerptTerms, Yo as getDispatchRecord, Yr as readReviewItemAgentScope, Z as loadTurnCheckpoint, Zc as readAutomationExecutionStatusHours, Zr as requireReviewItemLinks, _c as listDeletedEventAutomationsCreatedBy, _i as createWatch, ai as resolveAssignees, al as fallbackShortTitle, at as getTurnRecord, bc as setEventAutomationStatus, bi as getWatch, bo as readLiveAttachment, bs as SlackActionError, ci as getSlackToolContext, cn as getAssistantReplyText, cs as getSlackMessagePermalink, da as WorkspaceSnapshotNotReadyError, di as RESOURCE_WATCH_TOOL_SOURCE, dn as findLegacyNoReplyMarker, ec as getDashboardConversationLink, el as readAutomationRowStats, et as saveTurnCheckpoint, fi as STOP_WATCHING_TOOL_NAME, fn as isLegacyNoReplyMarker, gi as createTimerWatch, gn as REPORT_BLOCKED_TOOL_NAME, ii as resolveAssignee, in as readTurnAnswer, jc as registeredEventMatchSchema, jo as embedConversationQuery, js as withSlackRetries, k as markConversationMessage, kc as eventWatchUnavailable, kr as closeReviewItem, li as RESOURCE_SUBSCRIPTION_DEFAULT_TTL_MS, lo as FORK_INSTRUCTIONS, ls as openSlackDirectMessage, mc as deleteEventAutomation, mi as cancelWatch, ni as activeParticipantUserIds, nn as REPLY_TOOL_NAME, oc as getDashboardTaskLink, ol as resolveTaskTitle, on as replyTextSchema, pa as isWorkspaceSnapshotNotReadyError, po as matchSlackAttachments, qa as readConversationAccessFromSql, qc as emptyAutomationRunWindows, qn as callsToolSql, qo as getDispatchIdForConversation, ri as automationCreatorUserId, rt as failTurnRecord, s as openConversationProjection, sa as isAbortError, st as recordTurnSummary, ti as EVERYONE_ASSIGNEE, tl as readAutomationRuns, tn as isTurnExecutionLimitExceededError, tt as abandonTurnRecord, ui as RESOURCE_SUBSCRIPTION_MAX_TTL_MS, ul as createPluginCache, un as NO_REPLY_TOOL_NAME, uo as loadForkHistory, v as hydrateConversationMessages, va as createSandboxEgressCredentialToken, vc as parseEventAutomationRow, vi as deliverWatch, wa as SANDBOX_RUNTIME, wc as automationEventCatalog, wi as turnEvents, ws as getSlackClient, xa as buildSandboxEgressNetworkPolicy, xi as isQuietEvent, xn as getOAuthAccountProviders, xo as recordUploadedAttachment, xs as downloadPrivateSlackFile, yc as saveEventAutomation, yi as findMatchingWatches, zc as listAutomationVersions, zr as searchReviewItems } from "./projection-D47mlszd.js";
|
|
3
|
+
import { W as escapeClosingTags, X as renderTag, _ as TURN_REASONING_LEVELS, i as getChatConfig, k as resolveGatewayModel, lt as bufferBody, n as botConfig, ot as isProviderRetryError } from "./config-DY5c1E0l.js";
|
|
4
|
+
import { E as withSpan, G as normalizeIdentityEmail, J as toOptionalString, b as setSpanAttributes, h as logWarn, m as logInfo, o as getActiveTraceContext, p as logException, x as setSpanStatus, z as getDeploymentId } from "./logging-DjW7LjgJ.js";
|
|
5
5
|
import { h as startSpan, n as captureMessage, u as sentry_exports } from "./sentry-CPbZjomA.js";
|
|
6
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
7
|
-
import { Ct as workspaceSnapshotFinishedEvent, E as getAuthPausedConversationTurnId, F as EVENT_WAIT_MS, H as addConversationNote, I as addQuietEventNote, J as resolveEventAuthor, L as enqueueEventNotification, O as listActiveMailboxTurnSources, Q as maybePostAutomatedTurnLimitNotice, St as WORKSPACE_SNAPSHOT_READY_EVENT, Tt as buildDeploymentSystemPrompt, bt as slackChannelMessageTrigger, ct as resetAutomatedTurnLimit, f as buildSteeringPiMessage, ft as isExperimentalFeatureEnabled, g as withoutSavedSteeringMessages, gt as requireSlackChannelMessageScope, i as resumeStoppedConversationTree, k as listActiveMailboxTurns, lt as conversationSubtree, m as instructionForInputs, mt as getEventCatalog, n as isSkippedAfterConversationStop, nt as resolveEventMentions, r as markConversationsStopped, st as recordFinishedTurnForAutomatedLimit, t as getConversationStoppedAtMs, ut as conversationSubtreeColumns, v as saveUserCustomization, w as renderPlanAssignee, wt as workspaceSnapshotWatch, x as listPlanItems, xt as WORKSPACE_SNAPSHOT_FAILED_EVENT, y as changePlan, z as isEventMailboxMetadata } from "./session-stop-
|
|
6
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-Se9idiDR.js";
|
|
7
|
+
import { Ct as workspaceSnapshotFinishedEvent, E as getAuthPausedConversationTurnId, F as EVENT_WAIT_MS, H as addConversationNote, I as addQuietEventNote, J as resolveEventAuthor, L as enqueueEventNotification, O as listActiveMailboxTurnSources, Q as maybePostAutomatedTurnLimitNotice, St as WORKSPACE_SNAPSHOT_READY_EVENT, Tt as buildDeploymentSystemPrompt, bt as slackChannelMessageTrigger, ct as resetAutomatedTurnLimit, f as buildSteeringPiMessage, ft as isExperimentalFeatureEnabled, g as withoutSavedSteeringMessages, gt as requireSlackChannelMessageScope, i as resumeStoppedConversationTree, k as listActiveMailboxTurns, lt as conversationSubtree, m as instructionForInputs, mt as getEventCatalog, n as isSkippedAfterConversationStop, nt as resolveEventMentions, r as markConversationsStopped, st as recordFinishedTurnForAutomatedLimit, t as getConversationStoppedAtMs, ut as conversationSubtreeColumns, v as saveUserCustomization, w as renderPlanAssignee, wt as workspaceSnapshotWatch, x as listPlanItems, xt as WORKSPACE_SNAPSHOT_FAILED_EVENT, y as changePlan, z as isEventMailboxMetadata } from "./session-stop-D3S7mSkX.js";
|
|
8
8
|
import { A as agentTypeSchema, N as briefLinkSchema, O as AGENT_TYPES, P as briefOutcomeStatusSchema, Y as removedCardSchema, j as formatAgentTypes, k as agentTypeInstructions } from "./conversation--f85g4zL.js";
|
|
9
9
|
import { B as compileScheduleIntent, F as eventAutomationTriggerSchema, H as toolScheduleIntentSchema, J as automationSkillNameSchema, K as getZonedDateTimeParts, Q as automationTaskText, U as weekdaySchema, W as getFirstRunAtMs, X as automationTaskDescription, Z as automationTaskSchema, m as automationListQuerySchema, q as isValidTimeZone, z as ScheduleIntentError } from "./schedule-BG1tEbRF.js";
|
|
10
10
|
import { d as parseSlackChannelReferenceId, f as parseSlackTeamId, o as isUserActor, p as parseSlackUserId, u as parseSlackChannelId, v as parseSlackMessageTs } from "./actor-D2iXzvlN.js";
|
|
11
|
-
import { $ as getStateAdapter, A as conversationKindFromRow, E as isTopLevelKind, I as resolveActorIdentityId, O as promptModeTurnTools, P as SYSTEM_IDENTITY_ID, St as rootConversationIsArchived, T as isPersonInput, _ as readConversationTrees, a as getConversationStore, at as withLock, d as eventFromRow, et as getStateValues, ft as usdToMicroUsd, g as conversationDescendants, h as conversationAncestors, i as getConversationMessageSearchStore, it as fenceLock, k as turnBehavior, kt as sameDestination, o as getDb, r as getConversationEventStore, s as getSqlExecutor, v as setArchivedAt, wt as nextDetailVersion, x as userMessageQueries, xt as resolveRootConversationId } from "./db-
|
|
12
|
-
import { A as juniorConversationEvents, B as juniorUsers, C as juniorConversationEventLexemes, F as juniorAttachmentUploads, I as juniorAttachments, R as juniorConversations, V as juniorDestinations, b as juniorConversationReadPositions, g as juniorStats, h as juniorAutomations, p as juniorAutomationRuns, v as juniorAgentBindings, w as juniorConversationEventEmbeddings, x as juniorConversationParticipants, y as juniorAgentInvocations, z as juniorIdentities } from "./executor-
|
|
13
|
-
import { t as discoverSkills } from "./skills-
|
|
11
|
+
import { $ as getStateAdapter, A as conversationKindFromRow, E as isTopLevelKind, I as resolveActorIdentityId, O as promptModeTurnTools, P as SYSTEM_IDENTITY_ID, St as rootConversationIsArchived, T as isPersonInput, _ as readConversationTrees, a as getConversationStore, at as withLock, d as eventFromRow, et as getStateValues, ft as usdToMicroUsd, g as conversationDescendants, h as conversationAncestors, i as getConversationMessageSearchStore, it as fenceLock, k as turnBehavior, kt as sameDestination, o as getDb, r as getConversationEventStore, s as getSqlExecutor, v as setArchivedAt, wt as nextDetailVersion, x as userMessageQueries, xt as resolveRootConversationId } from "./db-C21CyyTE.js";
|
|
12
|
+
import { A as juniorConversationEvents, B as juniorUsers, C as juniorConversationEventLexemes, F as juniorAttachmentUploads, I as juniorAttachments, R as juniorConversations, V as juniorDestinations, b as juniorConversationReadPositions, g as juniorStats, h as juniorAutomations, p as juniorAutomationRuns, v as juniorAgentBindings, w as juniorConversationEventEmbeddings, x as juniorConversationParticipants, y as juniorAgentInvocations, z as juniorIdentities } from "./executor-DfNoVVGd.js";
|
|
13
|
+
import { t as discoverSkills } from "./skills-Bm6uSO9V.js";
|
|
14
14
|
import { D as isAgentInvocationResultEventType, F as sumUtcHoursIntoSixHours, O as apiErrorSchema, S as AGENT_INVOCATION_EVENT_NAMESPACE, b as SELF_PLAN_ASSIGNEE, c as formatUserInputAnswer, d as userInputRequestSchema, g as USER_CUSTOMIZATION_MAX_CHARS, h as isVisionImageMediaType, m as detectImageMediaType, n as AGENT_INVOCATION_MAILBOX_STATUSES, r as AGENT_INVOCATION_PARENT_MAILBOX_STATUSES, t as webMessageId, v as userCustomizationTextSchema, w as AGENT_PARENT_MESSAGE_EVENT_TYPE, x as isOpenPlanItemStatus, y as PLAN_ITEM_STATUSES } from "./web-message-id-BT8Mg8LL.js";
|
|
15
|
-
import { f as identityAvatarUrl, h as readUserAvatarUrls } from "./viewer-
|
|
16
|
-
import { A as getAgentInvocationResultMessageId, C as ownAgentInvocation, I as getUnnamedAgentConversationId, N as getChildAgentLockName, O as getAgentInvocationIdForResult, P as getNamedAgentConversationId, R as buildDeterministicTurnId, S as listChildMessages, T as getAgentInvocationId, _ as ConversationTurnLifecycleService, b as hasAgentInvocationReply, d as isTurnInputCommitLostError, j as getAgentInvocationTurnId, k as getAgentInvocationMessageId, l as getConversationTurnBoundaryError, p as markTurnClosed, s as TurnInputCommitLostError, t as getTurnUserMessage, w as readChildMessageSender } from "./turn-user-message-
|
|
17
|
-
import { D as stopConversationWork, _ as getConversationWorkState, h as ensureConversationWake, m as dropPendingMessages, n as appendAndEnqueueExclusiveInboundMessage, r as appendAndEnqueueInboundMessage, v as getConversationWorkStates, w as requestConversationWork } from "./store-
|
|
15
|
+
import { f as identityAvatarUrl, h as readUserAvatarUrls } from "./viewer-De1vmuEA.js";
|
|
16
|
+
import { A as getAgentInvocationResultMessageId, C as ownAgentInvocation, I as getUnnamedAgentConversationId, N as getChildAgentLockName, O as getAgentInvocationIdForResult, P as getNamedAgentConversationId, R as buildDeterministicTurnId, S as listChildMessages, T as getAgentInvocationId, _ as ConversationTurnLifecycleService, b as hasAgentInvocationReply, d as isTurnInputCommitLostError, j as getAgentInvocationTurnId, k as getAgentInvocationMessageId, l as getConversationTurnBoundaryError, p as markTurnClosed, s as TurnInputCommitLostError, t as getTurnUserMessage, w as readChildMessageSender } from "./turn-user-message-Dfbr3Ud9.js";
|
|
17
|
+
import { D as stopConversationWork, _ as getConversationWorkState, h as ensureConversationWake, m as dropPendingMessages, n as appendAndEnqueueExclusiveInboundMessage, r as appendAndEnqueueInboundMessage, v as getConversationWorkStates, w as requestConversationWork } from "./store-BZJdHYR7.js";
|
|
18
18
|
import { d as contextProvenance, m as sameActorIdentity, t as KNOWN_CONVERSATION_EVENT_TYPES, u as agentInstructionProvenance } from "./history-N7IVbUom.js";
|
|
19
|
-
import { m as credentialContextSchema, p as credentialContextForActor } from "./registry-
|
|
20
|
-
import { a as getPersistedThreadState, c as coerceThreadConversationState, i as getPersistedSandboxState, n as resolveTurnResumeRouting, s as persistThreadStateById } from "./turn-session-routing-
|
|
21
|
-
import { g as getTurnRequestDeadline } from "./task-queue-
|
|
22
|
-
import { d as sendNextWorkspaceSnapshotJob, f as sendWorkspaceSnapshotJob, l as sendCacheWarmup, m as getVercelConversationWorkQueue } from "./background-compaction-queue-
|
|
23
|
-
import { d as completeText, m as searchWeb, r as EVENT_AUTHOR_ID } from "./prompt-
|
|
24
|
-
import { a as searchSlackUsers, i as lookupSlackUserProfile, r as lookupSlackUserByEmail } from "./users-
|
|
25
|
-
import { n as postinstall, o as getSandboxResources, t as dependencies } from "./install-
|
|
19
|
+
import { m as credentialContextSchema, p as credentialContextForActor } from "./registry-yht0oxq6.js";
|
|
20
|
+
import { a as getPersistedThreadState, c as coerceThreadConversationState, i as getPersistedSandboxState, n as resolveTurnResumeRouting, s as persistThreadStateById } from "./turn-session-routing-CmQY0T60.js";
|
|
21
|
+
import { g as getTurnRequestDeadline } from "./task-queue-BEl5G38v.js";
|
|
22
|
+
import { d as sendNextWorkspaceSnapshotJob, f as sendWorkspaceSnapshotJob, l as sendCacheWarmup, m as getVercelConversationWorkQueue } from "./background-compaction-queue-HlljT9ql.js";
|
|
23
|
+
import { d as completeText, m as searchWeb, r as EVENT_AUTHOR_ID } from "./prompt-DuWH_YIb.js";
|
|
24
|
+
import { a as searchSlackUsers, i as lookupSlackUserProfile, r as lookupSlackUserByEmail } from "./users-6rSdqXXk.js";
|
|
25
|
+
import { n as postinstall, o as getSandboxResources, t as dependencies } from "./install-lYZs8UCL.js";
|
|
26
26
|
import pLimit from "p-limit";
|
|
27
27
|
import * as z from "zod";
|
|
28
28
|
import { streamSimple } from "@earendil-works/pi-ai/compat";
|
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-BKpuH2hG.js";
|
|
2
|
-
import { Mt as isInvalidConversationRecordError, jt as isFinalAttempt, kt as hasConversationStop, xt as countPendingConversationMessages } from "./projection-
|
|
3
|
-
import { i as getChatConfig, ot as isProviderRetryError } from "./config-
|
|
4
|
-
import { T as withLogContext, b as setSpanAttributes, h as logWarn, m as logInfo, p as logException } from "./logging-
|
|
5
|
-
import { t as getConversationStoppedAtMs } from "./session-stop-
|
|
6
|
-
import { g as getTurnRequestDeadline } from "./task-queue-
|
|
7
|
-
import { _ as ConversationQueueMessageRejectedError, b as nudgeIdempotencyKey } from "./background-compaction-queue-
|
|
8
|
-
import { C as requestAnotherSlice, S as releaseConversationWork, T as startConversationWork, _ as getConversationWorkState, b as recordAttemptFailure, c as clearConsumedConversationWake, d as completeConversationWork, f as deadLetterAttempt, h as ensureConversationWake, i as beginConversationResume, o as checkInConversationWork, p as drainConversationMailbox, t as ackMessages, u as completeConversationStop, x as recordConversationRetry } from "./store-
|
|
9
|
-
import { In as isAttemptInterrupt, Ln as selectAttemptMessages } from "./warmup-
|
|
2
|
+
import { Mt as isInvalidConversationRecordError, jt as isFinalAttempt, kt as hasConversationStop, xt as countPendingConversationMessages } from "./projection-D47mlszd.js";
|
|
3
|
+
import { i as getChatConfig, ot as isProviderRetryError } from "./config-DY5c1E0l.js";
|
|
4
|
+
import { T as withLogContext, b as setSpanAttributes, h as logWarn, m as logInfo, p as logException } from "./logging-DjW7LjgJ.js";
|
|
5
|
+
import { t as getConversationStoppedAtMs } from "./session-stop-D3S7mSkX.js";
|
|
6
|
+
import { g as getTurnRequestDeadline } from "./task-queue-BEl5G38v.js";
|
|
7
|
+
import { _ as ConversationQueueMessageRejectedError, b as nudgeIdempotencyKey } from "./background-compaction-queue-HlljT9ql.js";
|
|
8
|
+
import { C as requestAnotherSlice, S as releaseConversationWork, T as startConversationWork, _ as getConversationWorkState, b as recordAttemptFailure, c as clearConsumedConversationWake, d as completeConversationWork, f as deadLetterAttempt, h as ensureConversationWake, i as beginConversationResume, o as checkInConversationWork, p as drainConversationMailbox, t as ackMessages, u as completeConversationStop, x as recordConversationRetry } from "./store-BZJdHYR7.js";
|
|
9
|
+
import { In as isAttemptInterrupt, Ln as selectAttemptMessages } from "./warmup-C0IblNtf.js";
|
|
10
10
|
// src/chat/task-execution/lost-lease.ts
|
|
11
11
|
/**
|
|
12
12
|
* Count a slice that lost its Conversation Lease as a failed attempt, then
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sentry/junior",
|
|
3
|
-
"version": "0.307.
|
|
3
|
+
"version": "0.307.1",
|
|
4
4
|
"private": false,
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -64,8 +64,8 @@
|
|
|
64
64
|
"@logtape/logtape": "^2.1.1",
|
|
65
65
|
"@modelcontextprotocol/sdk": "1.32.0",
|
|
66
66
|
"@neondatabase/serverless": "^1.1.0",
|
|
67
|
-
"@sentry/junior-plugin-api": "0.307.
|
|
68
|
-
"@sentry/junior-search": "0.307.
|
|
67
|
+
"@sentry/junior-plugin-api": "0.307.1",
|
|
68
|
+
"@sentry/junior-search": "0.307.1",
|
|
69
69
|
"@sentry/nitro": "11.14.0",
|
|
70
70
|
"@sentry/node": "11.14.0",
|
|
71
71
|
"@sentry/server-utils": "11.14.0",
|
|
@@ -116,10 +116,10 @@
|
|
|
116
116
|
"@emnapi/core": "^1.10.0",
|
|
117
117
|
"@emnapi/runtime": "^1.10.0",
|
|
118
118
|
"@hono/node-server": "2.1.3",
|
|
119
|
-
"@sentry/junior-github": "0.307.
|
|
120
|
-
"@sentry/junior-memory": "0.307.
|
|
121
|
-
"@sentry/junior-notion": "0.307.
|
|
122
|
-
"@sentry/junior-sentry": "0.307.
|
|
119
|
+
"@sentry/junior-github": "0.307.1",
|
|
120
|
+
"@sentry/junior-memory": "0.307.1",
|
|
121
|
+
"@sentry/junior-notion": "0.307.1",
|
|
122
|
+
"@sentry/junior-sentry": "0.307.1",
|
|
123
123
|
"@sentry/junior-testing": "0.0.0",
|
|
124
124
|
"@types/node": "^24.19.2",
|
|
125
125
|
"@types/pg": "^8.15.6",
|