@sentry/junior 0.319.0 → 0.321.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.
- package/dist/{adapter-8_S6Birm.js → adapter-BkDQYdg6.js} +1 -1
- package/dist/{admin-EsbUON1j.js → admin-XS3G9BOj.js} +1 -1
- package/dist/{agent-CtzMl32d.js → agent-CL9ZkOgx.js} +45 -52
- package/dist/{agent-update-delivery-pAvsbuGL.js → agent-update-delivery-t0bXEgPs.js} +4 -4
- package/dist/api/schema.d.ts +4 -12
- package/dist/api/schema.js +4 -4
- package/dist/api.js +30 -25
- package/dist/{app-tACXxJPI.d.ts → app-CwFRvmEH.d.ts} +2 -1
- package/dist/app.d.ts +1 -1
- package/dist/app.js +22 -219
- package/dist/{change-record-K-KsqNhT.d.ts → change-record-CRuG9Mu3.d.ts} +1 -6
- package/dist/{channel-access-DET5hzZM.js → channel-access-BUHB0saC.js} +1 -1
- package/dist/{chat-core-engine-DpM3tMVi.js → chat-core-engine-DuBaPbqK.js} +31 -14
- package/dist/cli/chat.js +16 -16
- package/dist/cli/check.js +4 -4
- package/dist/cli/main.js +2 -2
- package/dist/cli/plugins.js +3 -3
- package/dist/cli/snapshot-create.js +4 -4
- package/dist/cli/upgrade.js +2 -2
- package/dist/{continue-in-slack-CFzDyxkH.js → continue-in-slack-D9naZmqM.js} +3 -3
- package/dist/{conversation-feed-DEUdD7mb.js → conversation-feed-B1_1NJc8.js} +2 -12
- package/dist/{conversation-privacy-C2vYK55O.js → conversation-privacy-C0mixZKx.js} +1 -1
- package/dist/{create-Ta3SEIB5.js → create-CLV0M1vw.js} +2 -2
- package/dist/{credential-sync-DyRqDmY4.js → credential-sync-DL9r-ry5.js} +11 -11
- package/dist/{db-BCaNWl9p.js → db-CbURDbaB.js} +49 -28
- package/dist/{deployment-CfOew1Tm.js → deployment-D9uPRDMD.js} +1 -1
- package/dist/{engine-context-CiExoy1B.js → engine-context-BP0h6u4m.js} +389 -13
- package/dist/{html-Bb2Si1bR.js → html-l4hKICAL.js} +4 -4
- package/dist/instrumentation.js +2 -2
- package/dist/{list-wwDcROh9.js → list-cGaO9_Hf.js} +12 -37
- package/dist/{logging-BRPTXAdf.js → logging-CqgOoICc.js} +1 -1
- package/dist/{markers-9QoqW5ov.js → markers-BtUv4-oc.js} +40 -37
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-vhL9b-PZ.js → oauth-callback-server-C3GxhsuB.js} +2 -2
- package/dist/{oauth-relay-CH2v7WiB.js → oauth-relay-BGm6sLCB.js} +1 -1
- package/dist/{profile-D9LdwmZi.js → profile-bLo0h7Le.js} +12 -6
- package/dist/{prompt-3TqxEOtc.js → prompt-CX29OGO9.js} +1 -1
- package/dist/{reports-K-tbtEyx.js → reports-DeDCCu_H.js} +2 -2
- package/dist/{resolve-BBV2qf8A.js → resolve-D9RKNH3v.js} +5 -5
- package/dist/{result-5IdGJP4M.js → result-BFBwK1M2.js} +7 -7
- package/dist/{runner-BK_joPlM.js → runner-DNdoVQg8.js} +7 -7
- package/dist/{sandbox-egress-signals-DXgWXXmm.js → sandbox-egress-signals-BBcCiEhm.js} +1 -1
- package/dist/{schema-zWGG6VC1.js → schema-RzsplzdI.js} +5 -3
- package/dist/{service-account-CateFyhw.js → service-account-B7E7OIFP.js} +2 -2
- package/dist/{skills-Ccjw8h2P.js → skills-DMJsS5e4.js} +4 -4
- package/dist/{slack-conversation-unfurl-ZC_TSpc4.js → slack-conversation-unfurl-EWYTnBZI.js} +7 -7
- package/dist/{storage-C9U7R5rM.js → storage-XD0lB4Gk.js} +2 -2
- package/dist/{system-prompt-table-YBTHIFlP.js → system-prompt-table-C886lsT9.js} +4 -4
- package/dist/{types-BNHkJrOP.js → types-CGgQ3-Bb.js} +1 -9
- package/dist/{users-CCRAqYb_.js → users-DBrcQl47.js} +1 -1
- package/dist/{validation-BCUpJa8K.js → validation-CofUHWqz.js} +1 -1
- package/dist/{version-BNm0JYj3.js → version-D_vbXyNw.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{worker-BhgpZ7_b.js → worker-buhFcpl9.js} +4 -4
- package/migrations/20261127150242_drop_space_members/migration.sql +9 -0
- package/migrations/20261127150242_drop_space_members/snapshot.json +53 -0
- package/package.json +6 -6
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-BKpuH2hG.js";
|
|
2
2
|
import { _ as toOptionalTrimmed } from "./topics-DxuKurCX.js";
|
|
3
|
-
import { G as mapBounded } from "./prompt-
|
|
3
|
+
import { G as mapBounded } from "./prompt-CX29OGO9.js";
|
|
4
4
|
import * as z from "zod";
|
|
5
5
|
import { calculateCost, completeSimple, getEnvApiKey, getModels, registerApiProvider } from "@earendil-works/pi-ai/compat";
|
|
6
6
|
import { stream as streamAnthropic, streamSimple as streamSimpleAnthropic } from "@earendil-works/pi-ai/api/anthropic-messages";
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { a as getDb, gc as setUserAdminFromSql, uc as listAdminUsersFromSql } from "./db-CbURDbaB.js";
|
|
2
2
|
import { CLI_USAGE } from "./cli/run.js";
|
|
3
3
|
// src/cli/admin.ts
|
|
4
4
|
/**
|
|
@@ -1,23 +1,23 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-BKpuH2hG.js";
|
|
2
|
-
import { $ as resolveGatewayModel, B as getSlackBotToken, C as parseActorUserId, D as parseSlackChannelReferenceId, E as parseSlackChannelId, H as getSlackClientSecret, J as normalizeSlackEmojiName, L as botConfig, O as parseSlackTeamId, P as parseSlackMessageTs, R as getChatConfig, S as isUserActor, U as getSlackSigningSecret, V as getSlackClientId, X as toPiReasoningLevel, Y as TURN_REASONING_LEVELS, _ as createActor, a as getStateValues, b as isActorUserId, c as acquireActiveLock, d as actorLogContext, f as credentialContextForActor, g as credentialUserSubjectId, i as getStateAdapter, k as parseSlackUserId, l as fenceLock, o as setStateValues, u as withLock, v as createSlackActor, y as createSlackResumeActor } from "./adapter-
|
|
3
|
-
import { A as toOptionalString, E as runWithLogAttributes, S as summarizeMessageText, T as withSpan, _ as serializeGenAiAttribute, a as getActiveTraceContext, b as setSpanStatus, c as getLogContextAttributesForSpan, d as logError, f as logException, g as runBestEffort, h as normalizeGenAiFinishReason, i as extractGenAiUsageSummary, k as normalizeIdentityEmail, l as getTracePropagationHeaders, m as logWarn, o as getActiveTraceId, p as logInfo, r as extractGenAiUsageAttributes, t as createChatSdkLogger, u as logAudit, v as setSentryUser, w as withLogContext, x as setTags, y as setSpanAttributes } from "./logging-
|
|
4
|
-
import { $c as pluginSubjectKind, $d as McpAuthorizationRequiredError, $i as basePluginContext, $n as sendSlackReply, $o as isConversationDeliveryPaused, $s as isConversationScopedChannel, $u as transcribeFromUrl, Ac as readCachedUserByEmail, Ai as postSlackMessage, Al as isDashboardLink, An as withIdleConversation, Ao as cancelWatch, Ar as readConversationAccessFromSql, As as writeConversationMetadata, Bc as getInboxItem, Bf as isLeadConversation, Bi as slackMention, Bp as juniorConversations, Bs as lookupSlackUserNames, Bu as eventExcerpt, Cd as getProviderErrorAttributes, Cf as getMcpAwareTelemetryMessage, Ci as notifyAutomationBlocked, Cl as getDashboardConversationLink, Co as workspaceSnapshotWatch, Cp as juniorConversationReadPositions, Cr as canAccessConversation, Cs as upsertPluginAnnotation, Cu as registeredEventTriggerProblems, D as createSqlStore, Da as saveEventAutomation, Dd as getGatewayApiKey, Df as fetchWithBoundedOAuthErrorBodies, Di as openSlackDirectMessage, Do as publishAgentUpdate, Ds as loadAnnotationLabeler, Dt as getRegistrations, Du as requireValidEventTrigger, E as latestUserMessageQuery, Ea as parseEventAutomationRow, Ed as isProviderRetryError, Ef as OAuthProviderError, Ei as getSlackMessagePermalink, El as getDashboardPersonLink, Ep as juniorConversationEventEmbeddings, Er as canReadConversation, Es as conversationSubtreeColumns, Et as getPlugins, Eu as requireEventIdentifier, F as destinationUpsertFromDestination, Fa as sameDefinitionValue, Fd as getAppContext, Ff as addAgentTurnUsage, Fn as readParentMessage, Fo as findMatchingWatches, Fp as juniorCodeChanges, Fu as searchedEventTextSql, G as conversationStatusSql, Ga as readAutomationExecutionSummaries, Gc as searchInboxItems, Gd as serviceAccountOnly, Gf as touchConversationDetail, Gi as pluginMcpContext, Go as createSlackDirectCredentialSubject, Gu as createConversationEmbedder, Ha as readAutomationExecutionByConversationId, Hc as insertInboxItem, Hf as rootConversationIsArchived, Hp as juniorSpaces, I as upsertDestination, Ic as closeReadReplyNotice, If as agentTurnCostUsd, Ii as SLACK_USER_MENTION_RE, In as readInboundMessageSender, Io as getWatch, Ip as juniorCodeRepositories, Is as defaultTimezone, It as CHILD_AGENT_KINDS, Iu as seqIn, J as executionIsActive, Ja as readAutomationRuns, Jf as sameDestination, Ji as createPluginEmbedder, Jl as fuseRankedLists, Jp as guardedCosineDistance, Jr as verifyQueueMessage, Js as downloadPrivateSlackFile, Ju as completeDecision, Ka as readAutomationExecutions, Kf as createSlackDestination, Ki as createPluginState, Kp as juniorUsers, Kr as QUEUE_SIGNATURE_MAX_AGE_MS, Ku as embedConversationQuery, L as parseSessionSource, La as automationRevision, Li as escapeSlackMrkdwnText, Ln as isEventMailboxMetadata, Lo as isQuietEvent, Lp as juniorAttachmentUploads, Lt as PARENT_AGENT_TARGET, Md as renderJuniorNativeConversationEvent, Ml as parseDashboardPersonLink, Mn as canShareTurn, Mo as createTimerWatch, Mr as readableSlackTeamId, Ms as resolveRootVisibility, Mt as juniorToolOutputSchema, Na as listAutomationVersions, Ni as uploadFilesToConversation, Nl as parseDashboardTaskLink, No as createWatch, Nt as makeStructuredToolOutput, Nu as indexEndedTurnEvents, O as withConversationMutationLock, Oa as setEventAutomationStatus, Of as getOAuthProviderErrorAttributes, Ol as getDashboardSpaceLink, On as releaseInboundMessage, Oo as starterWatchId, Ou as ToolInputError, Pa as readAutomationVersion, Po as deliverWatch, Pt as findChildAgentConversationId, Pu as lexemesSql, Qd as getMcpServiceAccountCredentials, Qi as renderPluginConversationEvent, Ql as hasConversationMetadata, Qn as resolveSlackReplyTarget, Qs as isConversationChannel, Qu as searchWeb, Ra as requireAutomationRevision, Rc as closeInboxItem, Ri as formatSlackLink, Rn as createSlackInboxItemToolServices, Rp as juniorAttachments, Rs as resolveUserTimezone, Rt as agentNameSchema, Ru as SEARCHABLE_EVENT_TYPES, S as setArchivedAt, Sa as deleteEventAutomation, Sd as findProviderError, Sf as getMcpAwareErrorType, Si as markDispatchRunning, Sn as hasConversationStop, So as workspaceSnapshotFinishedEvent, Sr as createPluginCodeChanges, Ss as replaceAnnotationSubjectId, St as requireInboxItemLinks, Su as registeredEventMatchSchema, Ta as listDeletedEventAutomationsCreatedBy, Td as isProviderRefusal, Tf as toMcpProviderError, Tl as getDashboardLinkFilter, To as agentWatch, Tp as juniorConversationEventLexemes, Tr as canInviteToConversation, Ts as conversationSubtree, Tu as registeredResourceTypeSchema, Ua as readAutomationExecutionStatusDays, Uf as conversationDetailTouch, Up as juniorIdentities, Ut as appendAndEnqueueExclusiveInboundMessage, Uu as isEventEmbeddingsEnabled, Va as linkAutomationRunConversation, Vc as getOpenInboxItemBySubject, Vi as slackMentionedUserIds, Vo as turnEvents, Vp as juniorSpaceConfigurations, Vu as excerptTerms, Wa as readAutomationExecutionStatusHours, Wc as ownerConversationId, Wd as serviceAccountAllows, Wf as nextDetailVersion, Wt as appendAndEnqueueInboundMessage, Xf as rootSpaceIdSql, Xi as createPluginModelCostRecorder, Xl as deliversFinalText, Xs as getHeaderString, Xt as claimInboundMessage, Xu as completeText, Y as conversationKindFromRow, Ya as readAutomationTitlesByConversationId, Yf as isLeadSql, Yi as createPluginModel, Yl as canMoveToSpace, Yo as verifyTimerWatchCredentialSubject, Yp as juniorArtifacts, Yr as getQueueProvider, Ys as getFilePermalink, Yu as completeObject, Zd as createMcpServiceAccountClientProvider, Zi as createPluginConversationEvents, Zl as dispatchInstructionsInvokeSkills, Zo as JUNIOR_THREAD_STATE_TTL_MS, Zr as buildSentryEventUrl, Zs as getSlackClient, Zu as generateImages, _d as hasCompactedConversationContext, _f as resolvePluginHeaderEnvRefs, _r as createPluginInboxItems, _s as annotationSubject, _t as isPluginInboxItem, _u as describeRegisteredEventTrigger, a as getDb, aa as runNonInteractiveCommand, ac as withSlackRetries, af as getMcpAuthSession, ai as resolveTurnResumeRouting, al as hasUserPhoto, ao as fallbackShortTitle, ar as startedTaskDefinition, au as promptModeTurnTools, b as conversationDescendants, bc as resolveActorIdentityId, bd as createAssistantProviderError, bf as McpServiceAccountRequiredError, bi as markDispatchCompleted, bo as WORKSPACE_SNAPSHOT_FAILED_EVENT, bs as listConversationAnnotations, bt as readInboxItemAgentScope, bu as eventWatchUnavailable, ca as truncateStatusText, cd as requestPrefixAttributes, cf as patchMcpAuthSession, ci as confirmDispatchMailboxAppend, co as EVERYONE_ASSIGNEE, cr as pluginTaskParamsSchema, cs as subjectKey, cu as watcherStartedConversation, da as deleteScheduledAutomation, dd as estimateRequestOverheadTokens, df as putMcpStoredOAuthCredentials, di as getDispatchIdForConversation, dl as userAvatarUrlsFromJoinedPhotos, do as resolveAssignee, dr as getTurnRequestDeadline, du as EVENT_SYSTEM_ACTOR, ea as createSandboxCapability, ec as isDmChannel, ed as NoAudioError, ef as PluginMcpClient, eo as usdToMicroUsd, ep as topLevelConversation, er as resolveEventMentions, et as canAgentChangeInboxItem, eu as isPersonInput, f as eventFromRow, fc as readActorIdentity, fd as estimateTextTokens, fi as getDispatchInputMessageId, fo as resolveAssignees, fp as juniorAutomationRuns, fs as assertNoObjectLinkConflicts, gd as COMPACTION_SUMMARY_PREFIX, gi as isTerminalDispatchStatus, gp as juniorStats, gs as CORE_ANNOTATION_PLUGIN, gu as automationEventCatalog, ha as saveScheduledAutomation, hd as gatewayRoutingAttributes, ho as requireSlackChannelMessageScope, hp as juniorAutomations, hr as createPluginConversationChanges, hs as ANNOTATION_SUBJECT_KINDS, hu as CORE_EVENT_NAMESPACE, i as getConversationStore, ia as buildNonInteractiveShellScript, ic as streamPrivateSlackFile, ii as resolveConversationRouting, in as ensureConversationWake, ir as createPluginTaskStarter, is as resolveAnnotationFilter, iu as postsRunNotices, ja as automationDefinition, ji as removeReactionFromMessage, jl as parseDashboardConversationLink, jn as canJoinTurn, js as isPublicConversation, jt as injectContinuationToolName, k as locationFromRow, kc as readCachedLinkedHandle, kl as getDashboardTaskLink, ko as cancelSubscriptions, kp as juniorConversationEvents, kr as leaveEndsAccess, ks as readConversationMetadata, ku as isToolInputError, la as blockScheduledAutomation, lc as createPluginUsers, ld as claudeMaxImageSize, lf as putMcpAuthSession, ll as readUserAvatarUrls, lo as activeParticipantUserIds, lr as sendVercelPluginTask, ls as codeChangeUrl, lu as EVENT_AUTHOR_ID, ma as readScheduledAutomation, mc as readIdentityByIdFromSql, md as readImageDimensions, mi as getDispatchTurnId, mr as createPluginTurnEventReader, ms as linkTypeName, mu as isEventConversationMessage, n as getConversationEventStore, na as withPluginHookSpan, nc as normalizeSlackConversationId, nd as GEN_AI_SERVER_ADDRESS, ni as runWithSlackInstallation, ns as searchConversations, nt as canReadInboxItem, nu as isTopLevel, o as getSqlExecutor, oa as createPluginCache, oc as sleep$1, of as getMcpServerSessionId, ol as identityAvatarUrl, on as getConversationWorkState, pa as parseScheduledAutomationRow, pc as readIdentityById, pd as textCharsForTokens, pi as getDispatchRecord, pn as requestConversationWork, po as getEventCatalog, ps as findObjectLinkType, pu as isEventAuthorId, q as conversationWaitsOnUserSql, qa as readAutomationRowStats, qc as updateInboxItemContent, qf as requireSlackDestination, qi as createPluginDecider, qp as juniorDestinations, qr as signQueueMessage, qs as SlackActionError, qu as storeConversationEmbedding, r as getConversationMessageSearchStore, ra as buildCommandScript, rc as readPrivateSlackFile, rf as deleteMcpServerSessionId, rn as dropPendingMessages, ru as parentResultActor, sa as getConfigDefaults, sd as createCache, sf as getMcpStoredOAuthCredentials, si as claimDispatchMailboxAppend, so as resolveTaskTitle, sr as pluginTaskId, ss as readSubjectLinks, su as turnBehavior, tc as isSlackRequestTimeout, td as GEN_AI_PROVIDER_NAME, tf as deleteMcpAuthSession, tr as createPluginEventPublisher, tu as isThread, ua as createScheduledAutomation, ud as estimateMessagesTokens, uf as putMcpServerSessionId, ui as getDispatchConversationId, ul as userAvatarUrlsFromIdentities, uo as automationCreatorUserId, ur as queueCallback, vd as isCompactionSummaryText, vi as markDispatchAwaitingResume, vs as createPluginAnnotations, wa as getEventAutomation, wf as getMcpProviderErrorAttributes, wi as addReactionToMessage, wp as juniorConversationParticipants, ws as conversationAncestorsOrSelf, wu as registeredEventTypeSchema, x as readConversationTrees, xa as createEventAutomation, xc as saveActorAvatar, xd as createProviderError, xf as McpToolError, xi as markDispatchFailed, xo as WORKSPACE_SNAPSHOT_READY_EVENT, xt as requireInboxItemAssignees, xu as hasEventCatalogEntries, y as conversationAncestors, ya as blockEventAutomation, yc as SYSTEM_IDENTITY_ID, yd as ProviderError, yf as McpProviderError, yi as markDispatchBlocked, yo as slackChannelMessageTrigger, ys as createPluginConversationAnnotations, yt as questionSubject, yu as eventNamespaceSchema, za as emptyAutomationRunWindows, zc as dismissOpenInboxItems, zf as hasAgentTurnUsage, zi as normalizeSlackStatusText, zo as listWatches, zp as juniorMessageAttachments, zr as getVercelConversationWorkQueue, zs as lookupSlackUser, zu as callsToolSql } from "./db-BCaNWl9p.js";
|
|
5
|
-
import { $ as
|
|
6
|
-
import { n as findSkillByName, o as parseSkillInvocations, r as loadSkillsByName, t as discoverSkills } from "./skills-
|
|
7
|
-
import { a as toCanonicalInputMessage, c as toGenAiPayloadMetadata, i as runWithConversationPrivacy, l as toGenAiPayloadTraceAttributes, o as toCanonicalOutputMessage, r as resolveConversationPrivacy, s as toGenAiMessagesTraceAttributes } from "./conversation-privacy-
|
|
8
|
-
import { A as retainRuntimeTurnContext, B as authorAttrs, C as instructionTextForProjection, D as isToolResultError, E as isStandaloneRuntimeContextMessage, G as mapBounded, H as renderDataTag, M as trimTrailingAssistantMessages, N as CAPABILITY_SECTION_TAG, O as isToolResultMessage, P as REQUEST_CONTEXT_SECTION_TAG, R as unwrapCurrentInstruction, S as hasTurnInput, T as isContinuablePiBoundary, V as readParentAgentTask, W as renderThreadContext, _ as extractAssistantText, a as SANDBOX_COMMAND_PATH, b as getUserMessageInstructionText, c as SANDBOX_REPOS_ROOT, d as SANDBOX_WORKSPACE_ROOT, f as sandboxSkillDir, h as createPluginLogger, i as ATTACHMENT_DIR, j as stripRuntimeTurnContext, k as normalizeToolNameFromResult, l as SANDBOX_SCRATCH_ROOT, m as sandboxSkillPathResolution, o as SANDBOX_DATA_ROOT, p as sandboxSkillFile, r as runPluginHooksAtOnce, s as SANDBOX_JUNIOR_ROOT, u as SANDBOX_SKILLS_ROOT, v as getPiMessageRole, w as isAssistantMessage } from "./prompt-
|
|
9
|
-
import { $t as automationInstructionToolSchema, Bn as
|
|
2
|
+
import { $ as resolveGatewayModel, B as getSlackBotToken, C as parseActorUserId, D as parseSlackChannelReferenceId, E as parseSlackChannelId, H as getSlackClientSecret, J as normalizeSlackEmojiName, L as botConfig, O as parseSlackTeamId, P as parseSlackMessageTs, R as getChatConfig, S as isUserActor, U as getSlackSigningSecret, V as getSlackClientId, X as toPiReasoningLevel, Y as TURN_REASONING_LEVELS, _ as createActor, a as getStateValues, b as isActorUserId, c as acquireActiveLock, d as actorLogContext, f as credentialContextForActor, g as credentialUserSubjectId, i as getStateAdapter, k as parseSlackUserId, l as fenceLock, o as setStateValues, u as withLock, v as createSlackActor, y as createSlackResumeActor } from "./adapter-BkDQYdg6.js";
|
|
3
|
+
import { A as toOptionalString, E as runWithLogAttributes, S as summarizeMessageText, T as withSpan, _ as serializeGenAiAttribute, a as getActiveTraceContext, b as setSpanStatus, c as getLogContextAttributesForSpan, d as logError, f as logException, g as runBestEffort, h as normalizeGenAiFinishReason, i as extractGenAiUsageSummary, k as normalizeIdentityEmail, l as getTracePropagationHeaders, m as logWarn, o as getActiveTraceId, p as logInfo, r as extractGenAiUsageAttributes, t as createChatSdkLogger, u as logAudit, v as setSentryUser, w as withLogContext, x as setTags, y as setSpanAttributes } from "./logging-CqgOoICc.js";
|
|
4
|
+
import { $a as usdToMicroUsd, $d as deleteMcpAuthSession, $i as createSandboxCapability, $l as isThread, $n as resolveEventMentions, $s as isDmChannel, $u as GEN_AI_PROVIDER_NAME, Aa as automationDefinition, Ad as renderJuniorNativeConversationEvent, Ai as removeReactionFromMessage, Al as parseDashboardPersonLink, An as canJoinTurn, As as isPublicConversation, At as injectContinuationToolName, Ba as linkAutomationRunConversation, Bc as getOpenInboxItemBySubject, Bf as rootConversationIsArchived, Bi as slackMentionedUserIds, Bo as turnEvents, Bp as juniorSpaces, Ca as getEventAutomation, Cd as isProviderRefusal, Cf as toMcpProviderError, Ci as addReactionToMessage, Cl as getDashboardLinkFilter, Cp as juniorConversationEventLexemes, Cs as conversationAncestorsOrSelf, Cu as registeredResourceTypeSchema, D as createSqlStore, Da as setEventAutomationStatus, Dl as getDashboardTaskLink, Dn as releaseInboundMessage, Do as starterWatchId, Dp as juniorConversationEvents, Du as isToolInputError, E as latestUserMessageQuery, Ea as saveEventAutomation, Ef as getOAuthProviderErrorAttributes, Ei as openSlackDirectMessage, El as getDashboardSpaceLink, Eo as publishAgentUpdate, Es as loadAnnotationLabeler, Et as getRegistrations, Eu as ToolInputError, F as destinationUpsertFromDestination, Fc as closeReadReplyNotice, Fi as SLACK_USER_MENTION_RE, Fn as readInboundMessageSender, Fo as getWatch, Fp as juniorAttachmentUploads, Fs as defaultTimezone, Ft as CHILD_AGENT_KINDS, G as conversationStatusSql, Ga as readAutomationExecutions, Gf as requireSlackDestination, Gi as createPluginState, Gp as juniorDestinations, Gr as QUEUE_SIGNATURE_MAX_AGE_MS, Gu as storeConversationEmbedding, Ha as readAutomationExecutionStatusDays, Hd as serviceAccountAllows, Hf as nextDetailVersion, Ht as appendAndEnqueueExclusiveInboundMessage, I as upsertDestination, Ia as automationRevision, Ii as escapeSlackMrkdwnText, In as isEventMailboxMetadata, Io as isQuietEvent, Ip as juniorAttachments, It as PARENT_AGENT_TARGET, Iu as SEARCHABLE_EVENT_TYPES, J as executionIsActive, Ja as readAutomationTitlesByConversationId, Jf as rootSpaceIdSql, Ji as createPluginModel, Jl as deliversFinalText, Jo as verifyTimerWatchCredentialSubject, Jr as getQueueProvider, Js as getFilePermalink, Ju as completeText, Ka as readAutomationRowStats, Kc as updateInboxItemContent, Kf as sameDestination, Ki as createPluginDecider, Kl as fuseRankedLists, Kp as guardedCosineDistance, Kr as signQueueMessage, Ks as SlackActionError, Ku as completeDecision, L as parseSessionSource, La as requireAutomationRevision, Lc as closeInboxItem, Lf as hasAgentTurnUsage, Li as formatSlackLink, Ln as createSlackInboxItemToolServices, Lp as juniorMessageAttachments, Ls as resolveUserTimezone, Lt as agentNameSchema, Lu as callsToolSql, Ma as listAutomationVersions, Mi as uploadFilesToConversation, Mo as createWatch, Mt as makeStructuredToolOutput, Mu as lexemesSql, Na as readAutomationVersion, Nd as getAppContext, Nf as addAgentTurnUsage, No as deliverWatch, Np as juniorCodeChanges, Nt as findChildAgentConversationId, Nu as searchedEventTextSql, O as withConversationMutationLock, Oc as readCachedLinkedHandle, Ol as isDashboardLink, Oo as cancelSubscriptions, Or as leaveEndsAccess, Os as readConversationMetadata, Pa as sameDefinitionValue, Pf as agentTurnCostUsd, Pn as readParentMessage, Po as findMatchingWatches, Pp as juniorCodeRepositories, Pu as seqIn, Qd as PluginMcpClient, Qf as topLevelConversation, Qi as basePluginContext, Ql as isPersonInput, Qn as sendSlackReply, Qo as isConversationDeliveryPaused, Qs as isConversationScopedChannel, Qu as NoAudioError, Ra as emptyAutomationRunWindows, Rc as dismissOpenInboxItems, Rf as isLeadConversation, Ri as normalizeSlackStatusText, Ro as listWatches, Rp as juniorConversations, Rr as getVercelConversationWorkQueue, Rs as lookupSlackUser, Ru as eventExcerpt, S as setArchivedAt, Sf as getMcpProviderErrorAttributes, Si as notifyAutomationBlocked, So as workspaceSnapshotWatch, Sp as juniorConversationParticipants, Sr as canAccessConversation, Ss as upsertPluginAnnotation, Su as registeredEventTypeSchema, Ta as parseEventAutomationRow, Td as getGatewayApiKey, Tf as fetchWithBoundedOAuthErrorBodies, Ti as getSlackMessagePermalink, Tr as canReadConversation, Ts as conversationSubtreeColumns, Tt as getPlugins, Tu as requireValidEventTrigger, Ua as readAutomationExecutionStatusHours, Uc as ownerConversationId, Ud as serviceAccountOnly, Uf as touchConversationDetail, Ut as appendAndEnqueueInboundMessage, Uu as createConversationEmbedder, Va as readAutomationExecutionByConversationId, Vc as insertInboxItem, Vf as conversationDetailTouch, Vp as juniorIdentities, Vu as isEventEmbeddingsEnabled, Wa as readAutomationExecutionSummaries, Wc as searchInboxItems, Wf as createSlackDestination, Wi as pluginMcpContext, Wo as createSlackDirectCredentialSubject, Wp as juniorUsers, Wu as embedConversationQuery, Xd as getMcpServiceAccountCredentials, Xi as createPluginConversationEvents, Xl as hasConversationMetadata, Xo as JUNIOR_THREAD_STATE_TTL_MS, Xr as buildSentryEventUrl, Xs as getSlackClient, Xu as searchWeb, Y as conversationKindFromRow, Yd as createMcpServiceAccountClientProvider, Yi as createPluginModelCostRecorder, Yl as dispatchInstructionsInvokeSkills, Ys as getHeaderString, Yt as claimInboundMessage, Yu as generateImages, Zc as pluginSubjectKind, Zd as McpAuthorizationRequiredError, Zi as renderPluginConversationEvent, Zn as resolveSlackReplyTarget, Zs as isConversationChannel, Zu as transcribeFromUrl, _d as ProviderError, _f as McpProviderError, _i as markDispatchAwaitingResume, _s as createPluginAnnotations, _u as eventNamespaceSchema, a as getDb, aa as createPluginCache, ac as sleep$1, ad as createCache, af as getMcpStoredOAuthCredentials, an as getConversationWorkState, au as turnBehavior, b as conversationDescendants, ba as createEventAutomation, bc as saveActorAvatar, bd as findProviderError, bf as getMcpAwareErrorType, bi as markDispatchFailed, bo as WORKSPACE_SNAPSHOT_READY_EVENT, bt as requireInboxItemAssignees, bu as registeredEventMatchSchema, ca as blockScheduledAutomation, cc as createPluginUsers, cd as estimateMessagesTokens, cf as putMcpServerSessionId, cl as userAvatarUrlsFromIdentities, co as activeParticipantUserIds, cr as sendVercelPluginTask, cs as codeChangeUrl, dc as readActorIdentity, dd as textCharsForTokens, di as getDispatchInputMessageId, do as resolveAssignees, ds as assertNoObjectLinkConflicts, du as isEventAuthorId, ec as isSlackRequestTimeout, ed as GEN_AI_SERVER_ADDRESS, er as createPluginEventPublisher, et as canAgentChangeInboxItem, eu as isTopLevel, f as eventFromRow, fa as parseScheduledAutomationRow, fc as readIdentityById, fd as readImageDimensions, fi as getDispatchRecord, fn as requestConversationWork, fo as getEventCatalog, fs as findObjectLinkType, fu as isEventConversationMessage, gd as isCompactionSummaryText, gr as createPluginInboxItems, gs as annotationSubject, gt as isPluginInboxItem, hd as hasCompactedConversationContext, hf as resolvePluginHeaderEnvRefs, hi as isTerminalDispatchStatus, hs as CORE_ANNOTATION_PLUGIN, hu as describeRegisteredEventTrigger, i as getConversationStore, ia as runNonInteractiveCommand, ic as withSlackRetries, if as getMcpServerSessionId, ii as resolveTurnResumeRouting, il as identityAvatarUrl, io as fallbackShortTitle, ir as startedTaskDefinition, jl as parseDashboardTaskLink, jn as canShareTurn, jo as createTimerWatch, jr as readableSlackTeamId, js as resolveRootVisibility, jt as juniorToolOutputSchema, ju as indexEndedTurnEvents, k as locationFromRow, kc as readCachedUserByEmail, ki as postSlackMessage, kl as parseDashboardConversationLink, kn as withIdleConversation, ko as cancelWatch, kr as readConversationAccessFromSql, ks as writeConversationMetadata, la as createScheduledAutomation, ld as estimateRequestOverheadTokens, lf as putMcpStoredOAuthCredentials, li as getDispatchConversationId, ll as userAvatarUrlsFromJoinedPhotos, lo as automationCreatorUserId, lr as queueCallback, lu as EVENT_SYSTEM_ACTOR, ma as saveScheduledAutomation, md as COMPACTION_SUMMARY_PREFIX, mo as requireSlackChannelMessageScope, mp as juniorStats, mr as createPluginConversationChanges, ms as ANNOTATION_SUBJECT_KINDS, mu as automationEventCatalog, n as getConversationEventStore, na as buildCommandScript, nc as readPrivateSlackFile, nn as dropPendingMessages, nt as canReadInboxItem, nu as postsRunNotices, o as getSqlExecutor, oa as getConfigDefaults, od as requestPrefixAttributes, of as patchMcpAuthSession, oi as claimDispatchMailboxAppend, oo as resolveTaskTitle, or as pluginTaskId, os as readSubjectLinks, ou as watcherStartedConversation, pa as readScheduledAutomation, pc as readIdentityByIdFromSql, pd as gatewayRoutingAttributes, pi as getDispatchTurnId, pp as juniorAutomations, pr as createPluginTurnEventReader, ps as linkTypeName, pu as CORE_EVENT_NAMESPACE, q as conversationWaitsOnUserSql, qa as readAutomationRuns, qf as isLeadSql, qi as createPluginEmbedder, ql as canMoveToSpace, qp as juniorArtifacts, qr as verifyQueueMessage, qs as downloadPrivateSlackFile, qu as completeObject, r as getConversationMessageSearchStore, ra as buildNonInteractiveShellScript, rc as streamPrivateSlackFile, rf as getMcpAuthSession, ri as resolveConversationRouting, rl as hasUserPhoto, rn as ensureConversationWake, rr as createPluginTaskStarter, rs as resolveAnnotationFilter, ru as promptModeTurnTools, sa as truncateStatusText, sd as claudeMaxImageSize, sf as putMcpAuthSession, si as confirmDispatchMailboxAppend, sl as readUserAvatarUrls, so as EVERYONE_ASSIGNEE, sr as pluginTaskParamsSchema, ss as subjectKey, su as EVENT_AUTHOR_ID, ta as withPluginHookSpan, tc as normalizeSlackConversationId, tf as deleteMcpServerSessionId, ti as runWithSlackInstallation, ts as searchConversations, tu as parentResultActor, ua as deleteScheduledAutomation, ud as estimateTextTokens, ui as getDispatchIdForConversation, uo as resolveAssignee, up as juniorAutomationRuns, ur as getTurnRequestDeadline, va as blockEventAutomation, vc as SYSTEM_IDENTITY_ID, vd as createAssistantProviderError, vf as McpServiceAccountRequiredError, vi as markDispatchBlocked, vo as slackChannelMessageTrigger, vs as createPluginConversationAnnotations, vt as questionSubject, vu as eventWatchUnavailable, wa as listDeletedEventAutomationsCreatedBy, wd as isProviderRetryError, wf as OAuthProviderError, wl as getDashboardPersonLink, wo as agentWatch, wp as juniorConversationEventEmbeddings, wr as canInviteToConversation, ws as conversationSubtree, wu as requireEventIdentifier, x as readConversationTrees, xa as deleteEventAutomation, xd as getProviderErrorAttributes, xf as getMcpAwareTelemetryMessage, xi as markDispatchRunning, xl as getDashboardConversationLink, xn as hasConversationStop, xo as workspaceSnapshotFinishedEvent, xp as juniorConversationReadPositions, xr as createPluginCodeChanges, xs as replaceAnnotationSubjectId, xt as requireInboxItemLinks, xu as registeredEventTriggerProblems, y as conversationAncestors, yc as resolveActorIdentityId, yd as createProviderError, yf as McpToolError, yi as markDispatchCompleted, yo as WORKSPACE_SNAPSHOT_FAILED_EVENT, ys as listConversationAnnotations, yt as readInboxItemAgentScope, yu as hasEventCatalogEntries, zc as getInboxItem, zi as slackMention, zp as juniorSpaceConfigurations, zs as lookupSlackUserNames, zu as excerptTerms } from "./db-CbURDbaB.js";
|
|
5
|
+
import { $ as deleteWebAuthorization, $n as normalizeConversationText, $r as ToolActionReviewUnavailableError, $t as listWorkspaceNamesByRepository, A as resumeForPersonInput, An as recordAgentsInstructionsUpdated, Ar as recordTurnSummary, At as readTaskInstructions, B as turnInputFactsFromConversationMessage, Br as TurnToolCallLimitExceededError, Bt as isCooperativeTurnYieldError, C as getChildAgentLockName, Cn as writeAgentHistory, Cr as pauseLostWorkerTurn, Ct as buildPromptInput, Dn as loadConversationProjection, Dr as failTurnRecord, Dt as loadPromptTurnContext, E as isInheritedForkHistory, En as loadConnectedMcpProviders, Er as completeTurnRecord, Et as instructionForInputs, Fn as recordGuardianActionReviewed, Ft as ConversationTurnBoundaryError, G as getTurnUserSlackMessageTs, Gn as resolveConversationTitle, Gr as captureTurnFailure, Gt as markTurnFailed, H as getTurnUserMessage, Hn as persistConversationMessageWindow, Hr as createTurnLimitGate, Ht as isTurnInputDeferredError, I as getEventBatchDelayMs, In as recordMcpProviderConnected, Ir as GATED_TURN_LIMIT_WRAP_UP_MESSAGE, It as CooperativeTurnYieldError, J as getPersistedThreadState, Jn as estimateConversationMessagesTokens, Jr as requireTurnFailureEventId, Jt as buildDeterministicTurnId, K as getLocationConfigurationService, Kr as finalizeFailedTurnReplyWithEvent, Kt as startActiveTurn, L as listActiveMailboxTurns, Ln as recordSkillLoaded, Lr as TURN_LIMIT_WRAP_UP_MESSAGE, Lt as TurnInputCommitLostError, Mr as getTurnLifecycle, N as stopConversationTree, Nn as recordAuthorizationCompleted, Nr as loadTurnStart, Nt as saveUserCustomization, O as enqueueAutomatedInput, On as loadConversationSkillNames, Or as getTurnRecord, Ot as turnRequestText, P as completeCancelledConversationTurn, Pn as recordAuthorizationRequested, Pt as addConversationNote, Q as createWebAuthorization, Qn as markConversationMessage, Qr as ToolActionReviewLimitError, Qt as getWorkspaceByName, R as resolveMailboxTurnWork, Rn as recordSubscribedReplyRoute, Rr as TurnBudgetExceededError, Rt as TurnInputDeferredError, Sn as withAgentRequest, Sr as lostWorkerBeforeFirstSave, St as assemblePrompt, Tn as commitMessages, Tr as abandonTurnRecord, Tt as instructionActorFor, U as getTurnUserMessageId, Un as persistConversationMessages, Ur as isTurnExecutionLimitExceededError, Ut as markTurnClosed, V as legacyWebMailboxMetadataSchema, Vn as hydrateConversationMessages, Vr as buildTurnErrorResponse, Vt as isTurnInputCommitLostError, W as getTurnUserReplyAttachmentContext, Wr as buildTurnFailureResponse, Wt as markTurnCompleted, X as persistThreadStateById, Xn as isHumanConversationMessage, Xr as isCutOffStopReason, Xt as deleteWorkspace, Y as persistThreadRuntimeState, Yn as getConversationMessageSlackTs, Yr as buildTurnResult, Yt as createWorkspace, Z as coerceThreadConversationState, Zn as latestConversationMessageSeq, Zr as ToolActionRejectedError, Zt as getWorkspace, _ as dropWaitingParentMessages, _i as configValueSchema, _n as renderAgentsInstructions, _r as canReusePendingAuthLink, _t as resolveBotSlackTeamId, a as listDescendantAgents, ai as ROOT_LINE_BREAK, an as workspaceRepoCheckoutPath, ar as calculateContextCompactionTargetTokens, at as addQuietEventNote, b as readAgentConfig, bn as foldSystemMessages, br as continuableMessages, bt as loadThreadContextCursor, ci as CODE_MODE_CALL_STATUS_TEXT, cn as setWorkspaceSnapshot, cr as getAgentContextInputLimitTokens, ct as eventBatchMessageMeta, d as isStopResult, di as formatProviderLabel, dn as buildDeploymentSystemPrompt, dr as createPluginAuthOrchestration, ei as createToolActionReview, en as listWorkspaces, er as recordDeliveredAssistantMessage, f as readChildConversationSender, fn as AGENTS_REMOVAL_NOTICE, fr as authorizationId, g as commitParentMessageFork, gi as validateConfigValue, gn as readRepositoryInstructions, gr as abandonReplacedPendingAuth, gt as resolveEventAuthor, h as childAgentTurnOptions, hi as validateConfigKey, hn as findVisibleAgentsInstructions, hr as AuthorizationPauseError, i as listChildAgents, ii as RISK_LEVELS, in as tryWorkspaceRepoCheckoutPath, ir as upsertConversationMessage, it as EVENT_WAIT_MS, jn as recordAttachmentsDelivered, jr as ConversationTurnLifecycleService, k as getConversationStoppedAtMs, kr as listTurnSummaries, kt as withoutSavedSteeringMessages, l as withSenderActors, li as persistWithRetry, ln as setWorkspaceSnapshotBuild, lr as createPluginEgress, lt as renderEventBatchInputs, mi as projectConversationEvents$1, mn as buildAgentsInstructionsMessage, mr as AuthorizationFlowDisabledError, ni as getToolActionRejectionMarker, nn as updateWorkspace, nr as trimConversationMessages, nt as loadInboxItemInput, oi as USER_AUTHORIZATION_LEVELS, on as invalidateReadySnapshot, or as getAgentBackgroundCompactionMarkTokens, pn as AGENTS_REPLACEMENT_NOTICE, pr as AuthPausePersistenceError, q as getPersistedSandboxState, qn as conversationAuthorDisplayName, qr as getAgentTurnDiagnosticsAttributes, qt as buildDeterministicAssistantMessageId, r as listAgentRelatives, ri as restoreToolActionRejections, rn as WorkspaceValidationError, rr as turnHasReply, rt as savedInputInstruction, si as CODEMODE_TOOL_NAME, sn as loadSnapshotsForProfile, sr as getAgentContextCompactionTriggerTokens, st as enqueueEventNotification, t as recordChildAgentEnded, ti as reviewToolActions, tr as renderConversationMessageLine, tt as eventInboxItemInputs, u as isChildAgentEvent, ui as deliverOAuthAuthorization, un as isExperimentalFeatureEnabled, ur as PluginCredentialFailureError, ut as timerWatchCredentialSubject, v as isParentMessageAuthor, vn as showsAgentsInstructions, vr as clearPendingAuth, vt as isHeldInputMessage, wn as commitAcceptedReply, wr as saveTurnCheckpoint, wt as buildSteeringPiMessage, xn as readAgentHistory, xr as loadTurnCheckpoint, xt as loadThreadContextTrimFloor, yn as foldLeadingSystemMessages, yt as withHeldInput, z as sourceFromTurnInput, zn as recordToolExecutionStarted, zr as TurnSliceLimitExceededError, zt as getConversationTurnBoundaryError } from "./markers-BtUv4-oc.js";
|
|
6
|
+
import { n as findSkillByName, o as parseSkillInvocations, r as loadSkillsByName, t as discoverSkills } from "./skills-DMJsS5e4.js";
|
|
7
|
+
import { a as toCanonicalInputMessage, c as toGenAiPayloadMetadata, i as runWithConversationPrivacy, l as toGenAiPayloadTraceAttributes, o as toCanonicalOutputMessage, r as resolveConversationPrivacy, s as toGenAiMessagesTraceAttributes } from "./conversation-privacy-C0mixZKx.js";
|
|
8
|
+
import { A as retainRuntimeTurnContext, B as authorAttrs, C as instructionTextForProjection, D as isToolResultError, E as isStandaloneRuntimeContextMessage, G as mapBounded, H as renderDataTag, M as trimTrailingAssistantMessages, N as CAPABILITY_SECTION_TAG, O as isToolResultMessage, P as REQUEST_CONTEXT_SECTION_TAG, R as unwrapCurrentInstruction, S as hasTurnInput, T as isContinuablePiBoundary, V as readParentAgentTask, W as renderThreadContext, _ as extractAssistantText, a as SANDBOX_COMMAND_PATH, b as getUserMessageInstructionText, c as SANDBOX_REPOS_ROOT, d as SANDBOX_WORKSPACE_ROOT, f as sandboxSkillDir, h as createPluginLogger, i as ATTACHMENT_DIR, j as stripRuntimeTurnContext, k as normalizeToolNameFromResult, l as SANDBOX_SCRATCH_ROOT, m as sandboxSkillPathResolution, o as SANDBOX_DATA_ROOT, p as sandboxSkillFile, r as runPluginHooksAtOnce, s as SANDBOX_JUNIOR_ROOT, u as SANDBOX_SKILLS_ROOT, v as getPiMessageRole, w as isAssistantMessage } from "./prompt-CX29OGO9.js";
|
|
9
|
+
import { $t as automationInstructionToolSchema, Bn as TOP_LEVEL_AGENT_MESSAGE_EVENT_TYPE, Cn as userInputRequestSchema, Ct as instructionActors, Dn as automationTaskSchema, En as automationTaskDescription, Fn as isValidTimeZone, Gt as resolveMessageCards, J as conversationReportMessageEventSchema, Kt as automationCardStatus, Ln as apiErrorSchema, Mn as getFirstRunAtMs, On as automationTaskText, Pn as getZonedDateTimeParts, Qt as automationContextToolSchema, Sn as userInputQuestionSchema, St as contextProvenance, Tt as sameActorIdentity, Ut as readMessageCardRefs, Wt as removedCardSchema, Zt as readMessageAttachments, _ as automationListQuerySchema, an as ScheduleIntentError, at as KNOWN_CONVERSATION_EVENT_TYPES, cn as toolScheduleIntentSchema, dn as eventAutomationTriggerSchema, en as automationTitleSchema, gt as historyItemFromPiMessage, it as formatAgentTypes, ln as weekdaySchema, nn as SCHEDULED_AUTOMATION_SYSTEM_ACTOR, on as compileScheduleIntent, pn as inboxItemQuestion, q as conversationReportEventSchema, qt as MAX_ATTACHMENT_BYTES, sn as scheduleIntentFromTool, tn as taskOutcomeInputSchema, tt as AGENT_TYPES, vn as formatUserInputAnswer, wn as automationSkillNameSchema, wt as instructionProvenanceFor, xn as userInputFieldsSchema, yt as piMessageFromHistoryItem, zn as AGENT_UPDATE_EVENT_TYPE, zt as inboxItemChangeRecordSchema } from "./types-CGgQ3-Bb.js";
|
|
10
10
|
import { g as withActiveSpan, h as startSpan, i as getActiveSpan, m as startInactiveSpan, n as captureMessage, r as continueTrace, u as sentry_exports } from "./sentry-CPbZjomA.js";
|
|
11
|
-
import { _ as NO_REPLY_TOOL_NAME, c as renderPluginContextSection, d as readTurnAnswer, f as remindMissingAnswer, h as getAssistantReplyText, i as JUNIOR_PERSONALITY, l as REPLY_TOOL_NAME, m as decideReply, p as replyTextSchema, u as isAnswerToolName, v as findLegacyNoReplyMarker, x as REPORT_BLOCKED_TOOL_NAME, y as isLegacyNoReplyMarker } from "./system-prompt-table-
|
|
11
|
+
import { _ as NO_REPLY_TOOL_NAME, c as renderPluginContextSection, d as readTurnAnswer, f as remindMissingAnswer, h as getAssistantReplyText, i as JUNIOR_PERSONALITY, l as REPLY_TOOL_NAME, m as decideReply, p as replyTextSchema, u as isAnswerToolName, v as findLegacyNoReplyMarker, x as REPORT_BLOCKED_TOOL_NAME, y as isLegacyNoReplyMarker } from "./system-prompt-table-C886lsT9.js";
|
|
12
12
|
import { a as webPageObjectCard, i as personObjectCard, n as conversationObjectCard, o as webMessageId, p as sumUtcHoursIntoSixHours, r as messageObjectCard, t as AGENT_STATUSES, v as CHILD_AGENT_RESULTS } from "./agent-status-Bq_AIpyp.js";
|
|
13
|
-
import { A as createUserTokenStore, C as clearSandboxEgressSignals, E as createSandboxEgressCredentialToken, F as getOAuthAccountProviders, L as credentialAuditAttributes, M as resolveSandboxCommandEnvironment, R as credentialAuditSource, T as consumeSandboxEgressPermissionDeniedSignal, _ as WorkspaceSnapshotNotReadyError, a as ensureDockerDaemon, b as workspaceSnapshotNotReadyUserMessage, d as SandboxCallTimeoutError, f as findInErrorChain, g as wrapSandboxSetupError, h as throwSandboxOperationError, j as buildSandboxEgressNetworkPolicy, m as isAlreadyExistsError, n as hash, o as getSandboxProvider, p as isAbortError, r as isStale, s as isRetryableSandboxFailure, t as create, u as SANDBOX_RUNTIME, v as getWorkspaceSnapshotNotReadyError, w as consumeSandboxEgressAuthRequiredSignal, y as isWorkspaceSnapshotNotReadyError } from "./profile-
|
|
14
|
-
import { a as searchSlackUsers, i as lookupSlackUserProfile, r as lookupSlackUserByEmail } from "./users-
|
|
13
|
+
import { A as createUserTokenStore, C as clearSandboxEgressSignals, E as createSandboxEgressCredentialToken, F as getOAuthAccountProviders, L as credentialAuditAttributes, M as resolveSandboxCommandEnvironment, R as credentialAuditSource, T as consumeSandboxEgressPermissionDeniedSignal, _ as WorkspaceSnapshotNotReadyError, a as ensureDockerDaemon, b as workspaceSnapshotNotReadyUserMessage, d as SandboxCallTimeoutError, f as findInErrorChain, g as wrapSandboxSetupError, h as throwSandboxOperationError, j as buildSandboxEgressNetworkPolicy, m as isAlreadyExistsError, n as hash, o as getSandboxProvider, p as isAbortError, r as isStale, s as isRetryableSandboxFailure, t as create, u as SANDBOX_RUNTIME, v as getWorkspaceSnapshotNotReadyError, w as consumeSandboxEgressAuthRequiredSignal, y as isWorkspaceSnapshotNotReadyError } from "./profile-bLo0h7Le.js";
|
|
14
|
+
import { a as searchSlackUsers, i as lookupSlackUserProfile, r as lookupSlackUserByEmail } from "./users-DBrcQl47.js";
|
|
15
15
|
import { o as detectImageMediaType, r as userCustomizationTextSchema, s as isVisionImageMediaType, t as USER_CUSTOMIZATION_MAX_CHARS } from "./user-customization-CvfuY9Eo.js";
|
|
16
|
-
import { t as bufferBody } from "./storage-
|
|
17
|
-
import { a as isConversationMember, c as listChannelMessages, i as getConversationInfo, l as listThreadReplies, n as joinPublicChannelForRead, o as isPublicSlackChannel, r as getChannelMessage, s as joinPublicChannel, t as checkSlackChannelReadAccess } from "./channel-access-
|
|
18
|
-
import { a as AgentNameInUseError, c as RetryableDeliveryError, d as isAgentRunFeatureDisabled, f as surfaceFromRun, i as AgentMessageTargetError, l as actorFromRun, n as spawnChildAgent, o as AgentStoppedError, p as toolInvocationDestination, r as AgentDepthLimitError, s as ChildAgentLimitError, t as messageChildAgent, u as assertRunConsistency } from "./create-
|
|
19
|
-
import { n as enqueueAgentMessageToParent, o as listChildMessages } from "./result-
|
|
20
|
-
import { a as setSnapshotSpanAttributes, i as postinstall, n as resolve$1, o as getSandboxResources, r as dependencies } from "./resolve-
|
|
16
|
+
import { t as bufferBody } from "./storage-XD0lB4Gk.js";
|
|
17
|
+
import { a as isConversationMember, c as listChannelMessages, i as getConversationInfo, l as listThreadReplies, n as joinPublicChannelForRead, o as isPublicSlackChannel, r as getChannelMessage, s as joinPublicChannel, t as checkSlackChannelReadAccess } from "./channel-access-BUHB0saC.js";
|
|
18
|
+
import { a as AgentNameInUseError, c as RetryableDeliveryError, d as isAgentRunFeatureDisabled, f as surfaceFromRun, i as AgentMessageTargetError, l as actorFromRun, n as spawnChildAgent, o as AgentStoppedError, p as toolInvocationDestination, r as AgentDepthLimitError, s as ChildAgentLimitError, t as messageChildAgent, u as assertRunConsistency } from "./create-CLV0M1vw.js";
|
|
19
|
+
import { n as enqueueAgentMessageToParent, o as listChildMessages } from "./result-BFBwK1M2.js";
|
|
20
|
+
import { a as setSnapshotSpanAttributes, i as postinstall, n as resolve$1, o as getSandboxResources, r as dependencies } from "./resolve-D9RKNH3v.js";
|
|
21
21
|
import { a as WORKSPACE_SNAPSHOT_JOB_QUEUE_TOPIC, n as CACHE_WARMUP_QUEUE_TOPIC, t as BACKGROUND_COMPACTION_QUEUE_TOPIC, u as listReferenceFiles } from "./topics-DxuKurCX.js";
|
|
22
22
|
import { n as privateTraceResultAttributes } from "./private-trace-result-CE7_lEdq.js";
|
|
23
23
|
import * as z from "zod";
|
|
@@ -570,6 +570,7 @@ var McpToolManager = class {
|
|
|
570
570
|
...tool.title?.trim() ? { title: tool.title.trim() } : void 0,
|
|
571
571
|
...outputSchema ? { outputSchema } : void 0,
|
|
572
572
|
...annotations ? { annotations } : void 0,
|
|
573
|
+
...plugin.manifest.mcp?.guardian?.skipReview?.includes(tool.name) ? { skipReview: true } : void 0,
|
|
573
574
|
execute: async (args, options) => {
|
|
574
575
|
const resolvedArgs = typeof args === "object" && args !== null ? args : {};
|
|
575
576
|
const conversationPrivacy = options?.conversationPrivacy ?? "private";
|
|
@@ -714,7 +715,8 @@ var McpToolManager = class {
|
|
|
714
715
|
parameters: tool.parameters,
|
|
715
716
|
...tool.outputSchema ? { outputSchema: tool.outputSchema } : void 0,
|
|
716
717
|
...tool.annotations ? { annotations: tool.annotations } : void 0,
|
|
717
|
-
provider: tool.provider
|
|
718
|
+
provider: tool.provider,
|
|
719
|
+
...tool.skipReview ? { skipReview: true } : void 0
|
|
718
720
|
};
|
|
719
721
|
}
|
|
720
722
|
};
|
|
@@ -12520,27 +12522,27 @@ const TEAM_DOMAIN_NEGATIVE_CACHE_TTL_MS = 6e4;
|
|
|
12520
12522
|
function sharedTeamDomainKey(teamId) {
|
|
12521
12523
|
return `slack-team-domain:${teamId}`;
|
|
12522
12524
|
}
|
|
12523
|
-
const teamDomainCache = /* @__PURE__ */ new Map();
|
|
12524
|
-
const teamDomainInflight = /* @__PURE__ */ new Map();
|
|
12525
12525
|
function readTeamDomainCache(teamId) {
|
|
12526
|
-
const
|
|
12526
|
+
const { entries } = getAppContext().slackTeamDomains;
|
|
12527
|
+
const hit = entries.get(teamId);
|
|
12527
12528
|
if (!hit) return void 0;
|
|
12528
12529
|
if (hit.expiresAt < Date.now()) {
|
|
12529
|
-
|
|
12530
|
+
entries.delete(teamId);
|
|
12530
12531
|
return;
|
|
12531
12532
|
}
|
|
12532
12533
|
return hit.kind === "hit" ? hit.domain : null;
|
|
12533
12534
|
}
|
|
12534
12535
|
function writeTeamDomainCache(teamId, domain) {
|
|
12536
|
+
const { entries } = getAppContext().slackTeamDomains;
|
|
12535
12537
|
if (domain) {
|
|
12536
|
-
|
|
12538
|
+
entries.set(teamId, {
|
|
12537
12539
|
kind: "hit",
|
|
12538
12540
|
domain,
|
|
12539
12541
|
expiresAt: Date.now() + TEAM_DOMAIN_CACHE_TTL_MS
|
|
12540
12542
|
});
|
|
12541
12543
|
return;
|
|
12542
12544
|
}
|
|
12543
|
-
|
|
12545
|
+
entries.set(teamId, {
|
|
12544
12546
|
kind: "miss",
|
|
12545
12547
|
expiresAt: Date.now() + TEAM_DOMAIN_NEGATIVE_CACHE_TTL_MS
|
|
12546
12548
|
});
|
|
@@ -12583,12 +12585,13 @@ async function resolveSlackTeamDomain(teamId) {
|
|
|
12583
12585
|
if (!parsedTeamId) return void 0;
|
|
12584
12586
|
const cached = readTeamDomainCache(parsedTeamId);
|
|
12585
12587
|
if (cached !== void 0) return cached ?? void 0;
|
|
12586
|
-
const
|
|
12588
|
+
const { inflight } = getAppContext().slackTeamDomains;
|
|
12589
|
+
const pending = inflight.get(parsedTeamId);
|
|
12587
12590
|
if (pending) return pending;
|
|
12588
12591
|
const lookup = loadSlackTeamDomain(parsedTeamId).finally(() => {
|
|
12589
|
-
|
|
12592
|
+
inflight.delete(parsedTeamId);
|
|
12590
12593
|
});
|
|
12591
|
-
|
|
12594
|
+
inflight.set(parsedTeamId, lookup);
|
|
12592
12595
|
return lookup;
|
|
12593
12596
|
}
|
|
12594
12597
|
/** Resolve workspace subdomains for the distinct team ids in one API response. */
|
|
@@ -22394,19 +22397,6 @@ async function archiveConversation(viewer, conversationId, body, services) {
|
|
|
22394
22397
|
case "archived_ancestor": throwApiError(409, `Conversation ${result.archivedAncestorId} above this one is archived. Restore it first.`);
|
|
22395
22398
|
}
|
|
22396
22399
|
}
|
|
22397
|
-
// src/api/conversations/user-message-activity.ts
|
|
22398
|
-
/** Read the latest true user message time for each selected conversation. */
|
|
22399
|
-
async function readLastUserMessageAtByConversation(db, conversationIds) {
|
|
22400
|
-
if (conversationIds.length === 0) return /* @__PURE__ */ new Map();
|
|
22401
|
-
const message = latestUserMessageQuery(db).as("latest_user_message");
|
|
22402
|
-
const rows = await db.select({
|
|
22403
|
-
conversationId: juniorConversations.conversationId,
|
|
22404
|
-
messageAt: message.createdAt
|
|
22405
|
-
}).from(juniorConversations).leftJoinLateral(message, sql`true`).where(inArray(juniorConversations.conversationId, conversationIds));
|
|
22406
|
-
const result = /* @__PURE__ */ new Map();
|
|
22407
|
-
for (const { conversationId, messageAt } of rows) if (messageAt) result.set(conversationId, messageAt.toISOString());
|
|
22408
|
-
return result;
|
|
22409
|
-
}
|
|
22410
22400
|
// src/chat/child-agents/tool-source.ts
|
|
22411
22401
|
/** Deferred tool catalog source for finding, stopping, and archiving agents. */
|
|
22412
22402
|
const AGENTS_TOOL_SOURCE = {
|
|
@@ -22418,15 +22408,10 @@ const archiveAgentOutputSchema = juniorToolOutputSchema.extend({
|
|
|
22418
22408
|
conversation_id: z.string().min(1).describe("Archived child conversation ID"),
|
|
22419
22409
|
archived_at: z.string().describe("When the child agent was archived")
|
|
22420
22410
|
});
|
|
22421
|
-
/** Read when a person last sent a Message to one Conversation. */
|
|
22422
|
-
async function readLastPersonMessageAtMs(conversationId) {
|
|
22423
|
-
const at = (await readLastUserMessageAtByConversation(getDb(), [conversationId])).get(conversationId);
|
|
22424
|
-
return at === void 0 ? void 0 : Date.parse(at);
|
|
22425
|
-
}
|
|
22426
22411
|
const archiveAgentToolDefinition = zodToolDefinition({
|
|
22427
22412
|
exposure: "deferred",
|
|
22428
22413
|
source: AGENTS_TOOL_SOURCE,
|
|
22429
|
-
description: "Archive a child agent that this conversation started, a Thread or a Task, for everyone, when its work is done. A person's new message restores it.
|
|
22414
|
+
description: "Archive a child agent that this conversation started, a Thread or a Task, for everyone, when its work is done. A person's new message restores it.",
|
|
22430
22415
|
annotations: {
|
|
22431
22416
|
destructiveHint: false,
|
|
22432
22417
|
idempotentHint: true,
|
|
@@ -22439,10 +22424,6 @@ const archiveAgentToolDefinition = zodToolDefinition({
|
|
|
22439
22424
|
}).strict(),
|
|
22440
22425
|
outputSchema: archiveAgentOutputSchema
|
|
22441
22426
|
});
|
|
22442
|
-
async function requireNoPersonUse(conversationId) {
|
|
22443
|
-
const [personMessageAt, lastWorkAt] = await Promise.all([readLastPersonMessageAtMs(conversationId), readLastParentMessageAtMs(conversationId)]);
|
|
22444
|
-
if (personMessageAt !== void 0 && personMessageAt > (lastWorkAt ?? 0)) throw new ToolInputError(`A person messaged ${conversationId} since its parent last gave it work, so a person still uses it. Leave it. That person can archive it from its url.`);
|
|
22445
|
-
}
|
|
22446
22427
|
/** Create the tool that archives one child agent of one conversation. */
|
|
22447
22428
|
function createArchiveAgentTool(conversationId) {
|
|
22448
22429
|
return zodTool({
|
|
@@ -22456,8 +22437,6 @@ function createArchiveAgentTool(conversationId) {
|
|
|
22456
22437
|
archived_at: new Date(child.archivedAtMs).toISOString()
|
|
22457
22438
|
};
|
|
22458
22439
|
if (child.execution.status === "pending" || child.execution.status === "running" || child.execution.status === "paused") throw new ToolInputError(`${childConversationId} is working. Leave it, or wait until it is idle.`);
|
|
22459
|
-
const descendants = input.apply_to_children ? conversationDescendants(await readConversationTrees(getDb(), [child.rootConversationId ?? childConversationId]), childConversationId).filter((node) => !node.archivedAt) : [];
|
|
22460
|
-
await mapBounded([childConversationId, ...descendants.map((node) => node.conversationId)], requireNoPersonUse);
|
|
22461
22440
|
const result = await setConversationArchive({
|
|
22462
22441
|
applyToChildren: input.apply_to_children ?? false,
|
|
22463
22442
|
archived: true,
|
|
@@ -27599,6 +27578,19 @@ async function readPendingWork(conversationId, messages, final, idleNeedsPending
|
|
|
27599
27578
|
waitingOn: "review"
|
|
27600
27579
|
} : { watches };
|
|
27601
27580
|
}
|
|
27581
|
+
// src/api/conversations/user-message-activity.ts
|
|
27582
|
+
/** Read the latest true user message time for each selected conversation. */
|
|
27583
|
+
async function readLastUserMessageAtByConversation(db, conversationIds) {
|
|
27584
|
+
if (conversationIds.length === 0) return /* @__PURE__ */ new Map();
|
|
27585
|
+
const message = latestUserMessageQuery(db).as("latest_user_message");
|
|
27586
|
+
const rows = await db.select({
|
|
27587
|
+
conversationId: juniorConversations.conversationId,
|
|
27588
|
+
messageAt: message.createdAt
|
|
27589
|
+
}).from(juniorConversations).leftJoinLateral(message, sql`true`).where(inArray(juniorConversations.conversationId, conversationIds));
|
|
27590
|
+
const result = /* @__PURE__ */ new Map();
|
|
27591
|
+
for (const { conversationId, messageAt } of rows) if (messageAt) result.set(conversationId, messageAt.toISOString());
|
|
27592
|
+
return result;
|
|
27593
|
+
}
|
|
27602
27594
|
// src/chat/plugins/unfinished-work.ts
|
|
27603
27595
|
/**
|
|
27604
27596
|
* Decide whether a conversation's work finished at or before the cutoff,
|
|
@@ -31328,6 +31320,7 @@ function createCallMcpToolTool(mcpToolManager) {
|
|
|
31328
31320
|
...activeTool.annotations ? { annotations: activeTool.annotations } : void 0,
|
|
31329
31321
|
description: activeTool.description,
|
|
31330
31322
|
name: tool_name,
|
|
31323
|
+
...activeTool.skipReview ? { skipReview: true } : void 0,
|
|
31331
31324
|
source: {
|
|
31332
31325
|
id: activeTool.provider,
|
|
31333
31326
|
description: `MCP provider ${activeTool.provider}`
|
|
@@ -37382,4 +37375,4 @@ async function executeAgentRunInPrivacyContext(run, storedConversation, conversa
|
|
|
37382
37375
|
await closeTools?.();
|
|
37383
37376
|
}
|
|
37384
37377
|
}
|
|
37385
|
-
export { slackInboundMessageId as $, updateViewerAutomation as $n, decodeImageId as $t,
|
|
37378
|
+
export { slackInboundMessageId as $, updateViewerAutomation as $n, decodeImageId as $t, createBashTool as A, setConversationTitle as An, gapSegment as Ar, resolveObjectLinkNow as At, listOwnedWatches as B, isFileAttachment as Bn, conversationRecordColumns as Bt, processWorkspaceSnapshotJob as C, recordWebConversationActivity as Cn, closeBreaker as Cr, live_annotations_exports as Ct, createWriteFileTool as D, createAttachmentUpload as Dn, MINUTE_MS$1 as Dr, OBJECT_LINK_TTL_MS as Dt, createSystemTimeTool as E, collectAttachmentUploadGarbage as En, IDLE_HORIZON_MS as Er, resolveObjectCards as Et, markConversationRead as F, jsonResponse as Fn, isPublicAddress as Ft, getSpaceLead as G, readPublicArtifact as Gn, conversationEventHistory as Gt, setConversationSpaceForViewer as H, requestAttachmentDeletion as Hn, conversationRecordJoins as Ht, reportConversationRead as I, throwApiError as In, publicAddressLookup as It, getProductionSlackAdapter as J, activateViewerAutomationVersion as Jn, readConversationParticipants as Jt, createProductionConversationWorkOptions as K, unpublishedArtifactHeaders as Kn, conversationSummaryFromStoredConversation as Kt, deliverInboxItemChange as L, readSlackAttachmentSource as Ln, resolveSlackTeamDomains as Lt, setConversationArchive as M, leaveConversation as Mn, resolve_exports as Mt, stopArchivedWork as N, setConversationSubscription as Nn, viewerCanViewPluginLink as Nt, createReadFileTool as O, verifyAttachmentUploads as On, MIN_WARMUP_PREFIX_TOKENS as Or, readLinkObjectType as Ot, conversationReadPositionQuery as P, emptyResponse as Pn, guardedFetch as Pt, clearSlackPendingReactions as Q, takeViewerAutomationAlertStep as Qn, IMAGE_WIDTHS as Qt, inboxItemChangeRecord as R, slackAttachmentsVersionQuery as Rn, resolvePersonLink as Rt, createVercelCacheWarmupCallback as S, createConversationId as Sn, breakerStates as Sr, loadPendingMessageCards as St, ingestEvent as T, AttachmentUploadError as Tn, providerCacheTtlMs as Tr, readLiveAnnotationsById as Tt, readSpaceRefs as U, parseSlackThreadId as Un, readConversationRecordFromSql as Ut, requireSpaceForWork as V, readLiveAttachment as Vn, conversationRecordFromRow as Vt, postSlackDetachNotice as W, publicArtifactHeaders as Wn, selectConversationRecords as Wt, conversation_turn_exports as X, deleteViewerTask as Xn, createViewerMcp as Xt, run_conversation_exports as Y, changeViewerAutomationLifecycle as Yn, readFirstHumanMessageTexts as Yt, buildSlackInboundMessage as Z, readViewerAutomationEdit as Zn, finalizeMcpAuthorization as Zt, listConversationWork as _, updateSpace as _n, historyPeriodSavings as _r, recordSkippedConversationMessage as _t, AttachmentDownloadError as a, message_exports as an, readViewerAutomationSummary as ar, enqueueAgentDispatch as at, vercelBackgroundCompactionQueue as b, conversationTurnIdForMessage as bn, addStats as br, completeAuthPauseTurn as bt, createAgentSandbox as c, startProcessingReaction as cn, AutomationEditError as cr, scheduleSessionCompletedPluginTasks as ct, ANSWER_TOOL_ENDINGS as d, isRetryableSlackPostError as dn, effectiveTaskOutcomes as dr, readConversationEventPage as dt, imagePath as en, ViewerTaskNotFoundError as er, normalizeIncomingSlackThreadId as et, CONVERSATION_STATE_TTL_MS as f, SubscribedReplyReason as fn, viewerAutomationCollection as fr, readConversationEventPageAfter as ft, isConversationWorkDone as g, readSpace as gn, firstLiveSavingsDate as gr, reportParentAgentInput as gt, segmentGapsKey as h, listSpaces as hn, addHistoryWarmupCost as hr, readConversationMessageEventSeq as ht, scheduledAutomationRunAttributes as i, bindMessageAgent as in, readViewerAutomationRuns as ir, AGENT_DISPATCH_MAX_AGE_MS as it, archiveConversation as j, inviteToConversation as jn, listSpaceConfiguration as jr, resolveObjectLinks as jt, createEditFileTool as k, writeAttachmentUpload as kn, NO_REPLY_GAP_MS as kr, readObjectLinkTypes as kt, normalizeToolResult as l, stripLeadingBotMention as ln, findAutomationSkill as lr, task_runner_exports as lt, GLOBAL_GAPS_TTL_MS as m, createSpace as mn, addHistoryPeriod as mr, readConversationLastEventSeq as mt, buildSandboxInput as n, spawn_exports as nn, readConversationSourceTask as nr, wakeAuthorizedTurn as nt, readAttachmentContent as o, createAgentRunner as on, readViewerAutomationVersions as or, failStoppedDispatch as ot, GLOBAL_GAPS_MAX as p, getThreadStopDecision as pn, SAVINGS_NAMESPACE as pr, readConversationEventPageAround as pt, createProductionSlackWebhookServices as q, createPluginConversationWatches as qn, readConversationAuthors as qt, logScheduledAutomationRunSkipped as r, readConversationLineage as rn, readViewerAutomationExecutions as rr, wakePausedTurn as rt, previewOriginBelongsTo as s, bindMessageAuthorIdentityId as sn, readViewerAutomations as sr, processPluginTask as st, executeAgentRun as t, bindSpawnAgent as tn, collectionRowTitle as tr, withNormalizedThreadId as tt, capToolResult as u, parseContent as un, missingAutomationSkillReason as ur, transcriptEntriesFromReportEvents as ut, readLastUserMessageAtByConversation as v, acceptsWebMessages as vn, replaceHistorySavings as vr, stopConversation as vt, verifyWorkspaceSnapshotJobMessage as w, webActorFromUser as wn, connectedState as wr, readLiveAnnotations as wt, verifyBackgroundCompactionMessage as x, createAndEnqueueConversation as xn, readStats as xr, buildDeliveredTurnStatePatch as xt, processBackgroundCompaction as y, appendAndEnqueueWebMessage as yn, savingsTotals as yr, createSlackWebApiStatusSender as yt, renderInboxItemMessage as z, collectAttachmentGarbage as zn, conversationFromRecordRow as zt };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { i as renderAgentResult, r as enqueueStarterUpdate } from "./result-
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
1
|
+
import { Io as isQuietEvent, No as deliverWatch, To as isAgentResourceType, Tr as canReadConversation, a as getDb, fo as getEventCatalog, gu as eventGuidance, i as getConversationStore, lu as EVENT_SYSTEM_ACTOR, pu as CORE_EVENT_NAMESPACE } from "./db-CbURDbaB.js";
|
|
2
|
+
import { i as renderAgentResult, r as enqueueStarterUpdate } from "./result-BFBwK1M2.js";
|
|
3
|
+
import { O as enqueueAutomatedInput, at as addQuietEventNote, f as readChildConversationSender, it as EVENT_WAIT_MS, jt as renderTaskInput, ot as createEventInboundMessage, w as getPersonStopTurnId } from "./markers-BtUv4-oc.js";
|
|
4
|
+
import { zn as AGENT_UPDATE_EVENT_TYPE } from "./types-CGgQ3-Bb.js";
|
|
5
5
|
// src/chat/conversations/agent-update-delivery.ts
|
|
6
6
|
const SUMMARIES = {
|
|
7
7
|
blocked: "The conversation is blocked.",
|
package/dist/api/schema.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { _ as
|
|
1
|
+
import { _ as InputFile, a as annotationCard, b as MessageAttachment, c as AutomationCard, d as UserInputAnswer, f as UserInputField, g as normalizeUserInputAnswer, h as isEmptyUserInputAnswer, i as MessageCard, l as inboxItemQuestion, m as buttonUserInputField, n as conversationTurnFailureCodeSchema, o as messageCardText, p as UserInputRequest, r as conversationTurnFailureReasonSchema, s as resolveMessageCards, t as InboxItemChangeRecord, u as USER_INPUT_NOTE, v as MAX_ATTACHMENT_BYTES, y as MAX_INPUT_ATTACHMENTS } from "../change-record-CRuG9Mu3.js";
|
|
2
2
|
import * as z from "zod";
|
|
3
3
|
import { ObjectAnnotation, OwnedObjectAnnotation } from "@sentry/junior-plugin-api";
|
|
4
4
|
export declare const INPUT_IMAGE_TYPES: readonly ["image/png", "image/jpeg", "image/gif", "image/webp"];
|
|
@@ -4717,22 +4717,12 @@ declare const conversationFeedMediaSchema: z.ZodObject<{
|
|
|
4717
4717
|
id: z.ZodString;
|
|
4718
4718
|
}, z.core.$strict>;
|
|
4719
4719
|
type ConversationFeedMedia = z.infer<typeof conversationFeedMediaSchema>;
|
|
4720
|
-
/**
|
|
4721
|
-
* The viewer's newest answer to an Inbox item that the Conversation added:
|
|
4722
|
-
* when it closed and the options they picked. A text answer has no choices.
|
|
4723
|
-
*/
|
|
4724
|
-
declare const conversationFeedViewerAnswerSchema: z.ZodObject<{
|
|
4725
|
-
choices: z.ZodArray<z.ZodString>;
|
|
4726
|
-
closedAt: z.ZodString;
|
|
4727
|
-
}, z.core.$strict>;
|
|
4728
|
-
type ConversationFeedViewerAnswer = z.infer<typeof conversationFeedViewerAnswerSchema>;
|
|
4729
4720
|
/** A feed row, with its visible Threads nested under their parents. */
|
|
4730
4721
|
type ConversationFeedItem = ConversationSummaryReport & {
|
|
4731
4722
|
links?: string[] | undefined;
|
|
4732
4723
|
media?: ConversationFeedMedia[] | undefined;
|
|
4733
4724
|
omittedThreadCount?: number | undefined;
|
|
4734
4725
|
threads?: ConversationFeedItem[] | undefined;
|
|
4735
|
-
viewerAnswer?: ConversationFeedViewerAnswer | undefined;
|
|
4736
4726
|
};
|
|
4737
4727
|
export declare const conversationFeedSchema: z.ZodObject<{
|
|
4738
4728
|
conversations: z.ZodArray<z.ZodType<ConversationFeedItem, unknown, z.core.$ZodTypeInternals<ConversationFeedItem, unknown>>>;
|
|
@@ -5334,6 +5324,7 @@ export declare const conversationTodoSchema: z.ZodObject<{
|
|
|
5334
5324
|
}, z.core.$strict>, z.ZodObject<{
|
|
5335
5325
|
kind: z.ZodLiteral<"user">;
|
|
5336
5326
|
name: z.ZodOptional<z.ZodString>;
|
|
5327
|
+
viewer: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5337
5328
|
}, z.core.$strict>], "kind">;
|
|
5338
5329
|
changedBy: z.ZodOptional<z.ZodString>;
|
|
5339
5330
|
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -5361,6 +5352,7 @@ export declare const conversationTodosReportSchema: z.ZodObject<{
|
|
|
5361
5352
|
}, z.core.$strict>, z.ZodObject<{
|
|
5362
5353
|
kind: z.ZodLiteral<"user">;
|
|
5363
5354
|
name: z.ZodOptional<z.ZodString>;
|
|
5355
|
+
viewer: z.ZodOptional<z.ZodLiteral<true>>;
|
|
5364
5356
|
}, z.core.$strict>], "kind">;
|
|
5365
5357
|
changedBy: z.ZodOptional<z.ZodString>;
|
|
5366
5358
|
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
@@ -10036,4 +10028,4 @@ export declare const versionsSchema: z.ZodObject<{
|
|
|
10036
10028
|
spend: z.ZodString;
|
|
10037
10029
|
}, z.core.$strict>;
|
|
10038
10030
|
type Versions = z.output<typeof versionsSchema>;
|
|
10039
|
-
export { type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AttachObjectLinkResponse, type AttachmentUpload, type AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListItem, type AutomationListPage, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationTask, type AutomationUpdate, type AutomationVersionList, type BaselineSnapshotReport, type CacheHealthReport, type CacheWarmingSavingsRefill, type CacheWarmingSavingsReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSearchReport, type CodeChangeStack, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ContinueConversationInSlackBody, type ContinueConversationInSlackResponse, type ConversationActivityPreview, type ConversationAgentTreeNode, type ConversationAutoArchive, type ConversationAuxiliaryCosts, type ConversationCatchUp, type ConversationCatchUpBody, type ConversationChildAgent, type ConversationChildAgentTotals, type ConversationChildAgentsReport, type ConversationCost, type ConversationDeliveryBody, type ConversationDeliveryResponse, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationFeedItem, type
|
|
10031
|
+
export { type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AttachObjectLinkResponse, type AttachmentUpload, type AutomationCard, type AutomationEdit, type AutomationExecution, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationListItem, type AutomationListPage, type AutomationListQuery, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationScheduleIntent, type AutomationSummary, type AutomationTask, type AutomationUpdate, type AutomationVersionList, type BaselineSnapshotReport, type CacheHealthReport, type CacheWarmingSavingsRefill, type CacheWarmingSavingsReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSearchReport, type CodeChangeStack, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositoryReport, type CodeRepositorySummary, type ContinueConversationInSlackBody, type ContinueConversationInSlackResponse, type ConversationActivityPreview, type ConversationAgentTreeNode, type ConversationAutoArchive, type ConversationAuxiliaryCosts, type ConversationCatchUp, type ConversationCatchUpBody, type ConversationChildAgent, type ConversationChildAgentTotals, type ConversationChildAgentsReport, type ConversationCost, type ConversationDeliveryBody, type ConversationDeliveryResponse, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationFeedItem, type ConversationInviteBody, type ConversationInviteResponse, type ConversationLeaveResponse, type ConversationMetricDay, type ConversationModelUsage, type ConversationOutline, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReadPosition, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportMessageEvent, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSubscriptionBody, type ConversationSubscriptionResponse, type ConversationSummaryReport, type ConversationSurface, type ConversationTodo, type ConversationTodosReport, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type ConversationWatch, type ConversationWatchesReport, type CreateAttachmentUploadBody, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GatewayProviders, type GuardianMetricDay, type GuardianStats, type HealthReport, type InboxItemActionBody, type InboxItemChangeRecord, type InboxItemPayload, type InboxSnoozeCreateBody, type InboxSnoozeResource, type InboxSnoozeSubjectBody, type InboxSnoozeTrigger, type InboxSnoozeWake, type InputFile, type ListedAutomationVersion, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_ATTACHMENT_BYTES, MAX_INPUT_ATTACHMENTS, type MentionableCodeChange, type MentionablePerson, type MessageAttachment, type MessageCard, type NotificationSchedule, type NotificationSettings, type ObjectLinksReport, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PeopleSearchReport, type PersonCardReport, type PersonParams, type PersonSpendDay, type PersonalSpendReport, type PersonalTokenMetadata, type PinConversationBody, type PinConversationResponse, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RenameConversationBody, type RenameConversationResponse, type ReorderPinnedConversationsBody, type ReorderPinnedConversationsResponse, type RuntimeInfoReport, type SearchAutomation, type SearchInboxItem, type SearchMemory, type SearchReport, type SearchSource, type SearchTodo, type SetConversationSpaceBody, type SetConversationSpaceResponse, type SkillDetailReport, type SkillReport, type SkillReports, type SpaceConfigurationReport, type SpaceListReport, type SpaceRefReport, type SpaceReport, type SpaceVisibilityReport, type StatReport, type StatsReport, type SteerConversationPendingMessagesBody, type SteerConversationPendingMessagesResponse, type StopConversationTurnResponse, type TodoStatusBody, USER_INPUT_NOTE, type UserInputAnswer, type UserInputField, type UserInputRequest, type UserSearchQuery, type UserSearchReport, type UserSearchResult, type Versions, type WorkspaceListReport, type WorkspaceReport, annotationCard, buttonUserInputField, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, inboxItemQuestion, isEmptyUserInputAnswer, messageCardText, normalizeUserInputAnswer, resolveMessageCards };
|
package/dist/api/schema.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { $ as activityPreviewText, A as automationVersionSchema, An as
|
|
1
|
+
import { $ as activityPreviewText, A as automationVersionSchema, An as isWithinNotificationSchedule, At as spaceListQuerySchema, B as conversationDetailQuerySchema, Bt as annotationCard, C as automationScheduleIntentSchema, D as automationVersionActivateSchema, Dt as SPACE_NAME_MAX_CHARS, E as automationUpdateSchema, Et as SPACE_DESCRIPTION_MAX_CHARS, Ft as spaceVisibilitySchema, G as conversationParamsSchema, Gt as resolveMessageCards, H as conversationEventHistorySchema, Hn as isAgentUpdateEventType, Ht as messageCardText, I as conversationActivityPreviewSchema, In as CONTENT_VERSION_HEADER, It as updateSpaceBodySchema, Jt as MAX_INPUT_ATTACHMENTS, K as conversationReportEventDataSchema, Ln as apiErrorSchema, M as scheduledAutomationSummarySchema, Mt as spaceParamsSchema, N as CONVERSATION_DETAIL_VERSION_HEADER, Nt as spaceRefSchema, O as automationVersionListSchema, Ot as archiveSpaceBodySchema, P as CONVERSATION_VERSION_HEADER, Pt as spaceSchema, Rt as conversationReadPositionSchema, S as automationRunWindowsSchema, T as automationSummarySchema, U as conversationEventPageSchema, Un as isLegacyResultEventType, V as conversationDetailReportSchema, Vn as isAgentMessageEventType, W as conversationEventsQuerySchema, Wn as gatewayOnlyProviders, X as conversationSummaryReportSchema, _ as automationListQuerySchema, _n as buttonUserInputField, b as automationRunListSchema, bn as normalizeUserInputAnswer, c as automationEditSchema, ct as conversationTurnFailureReasonSchema, d as automationExecutionSchema, et as conversationChildAgentTotalsSchema, f as automationExecutionStatusDaySchema, g as automationListPageSchema, gn as USER_INPUT_NOTE, h as automationListItemSchema, j as eventAutomationSummarySchema, jn as notificationScheduleSchema, jt as spaceListSchema, k as automationVersionParamsSchema, kn as DEFAULT_NOTIFICATION_SCHEDULE, kt as createSpaceBodySchema, l as automationEventCatalogSchema, p as automationExecutionStatusSchema, pn as inboxItemQuestion, q as conversationReportEventSchema, qt as MAX_ATTACHMENT_BYTES, s as automationEditErrorSchema, st as conversationTurnFailureCodeSchema, u as automationExecutionListSchema, v as automationListSchema, w as automationSchedulePreviewSchema, x as automationRunSchema, y as automationParamsSchema, yn as isEmptyUserInputAnswer, z as conversationAuxiliaryCostsSchema, zn as AGENT_UPDATE_EVENT_TYPE } from "../types-CGgQ3-Bb.js";
|
|
2
2
|
import { a as webPageObjectCard, i as personObjectCard, n as conversationObjectCard, o as webMessageId, r as messageObjectCard } from "../agent-status-Bq_AIpyp.js";
|
|
3
3
|
import { a as INPUT_IMAGE_TYPES, i as INLINE_VIDEO_TYPES, n as userCustomizationSchema, t as USER_CUSTOMIZATION_MAX_CHARS } from "../user-customization-CvfuY9Eo.js";
|
|
4
|
-
import { A as conversationUnchangedDetailWithMailboxSchema, B as runtimeInfoReportSchema, C as cancelConversationPendingMessagesBodySchema, D as conversationPendingMessageDeliverySchema, E as conversationPendingAuthorizationSchema, F as pluginOperationalReportSchema, H as skillReportSchema, I as pluginPackageContentItemReportSchema, L as pluginPackageContentReportSchema, M as steerConversationPendingMessagesResponseSchema, N as healthReportSchema, O as conversationPendingMessageSchema, P as pluginOperationalReportFeedSchema, R as pluginSchema, S as conversationAutoArchiveSchema, T as conversationDetailWithMailboxReportSchema, U as skillReportsSchema, V as skillDetailReportSchema, _ as reorderPinnedConversationsBodySchema, a as conversationInviteResponseSchema, b as archiveConversationResponseSchema, c as conversationSubscriptionResponseSchema, d as CONVERSATION_TITLE_MAX_LENGTH, g as pinConversationResponseSchema, h as pinConversationBodySchema, i as conversationInviteBodySchema, j as steerConversationPendingMessagesBodySchema, k as conversationPendingMessagesReportSchema, l as setConversationSpaceBodySchema, m as renameConversationResponseSchema, n as conversationFeedSchema, o as conversationLeaveResponseSchema, p as renameConversationBodySchema, r as stopConversationTurnResponseSchema, s as conversationSubscriptionBodySchema, t as conversationFeedQuerySchema, u as setConversationSpaceResponseSchema, v as reorderPinnedConversationsResponseSchema, w as cancelConversationPendingMessagesResponseSchema, x as archiveDoneConversationsResponseSchema, y as archiveConversationBodySchema, z as pluginsSchema } from "../conversation-feed-
|
|
5
|
-
import { $ as userSearchQuerySchema, $t as conversationChildAgentsReportSchema, A as cacheHealthQuerySchema, At as startConnectionResponseSchema, B as serviceAccountParamsSchema, Bt as codeRepositoryQuerySchema, D as inboxSnoozeWakesClearSchema, Dt as connectionParamsSchema, E as inboxSnoozeSubjectSchema, Et as connectionListSchema, F as cacheWarmingSavingsRefillResponseSchema, Ft as codeChangeSummaryReportSchema, G as createPersonalTokenBodySchema, Gt as conversationTodoSchema, H as startServiceAccountSignInResponseSchema, Ht as codeRepositorySummarySchema, I as cacheWarmingSavingsReportSchema, It as codeChangeSummarySchema, J as personalTokenMetadataSchema, Jt as todoStatusBodySchema, K as createdPersonalTokenSchema, Kt as conversationTodosReportSchema, L as closeCacheWarmingBreakerResponseSchema, Lt as codeOverviewReportSchema, M as cacheWarmingBreakerListSchema, Mt as codeActivityDaySchema, Nt as codeChangeSearchQuerySchema, O as gatewayProvidersSchema, Ot as connectionSchema, Pt as codeChangeSearchReportSchema, Q as USER_SEARCH_MAX_LIMIT, Qt as conversationChildAgentSchema, R as disconnectServiceAccountResponseSchema, Rt as codePersonReportSchema, S as inboxSnoozeCreateSchema, St as notificationSettingsSchema, T as inboxSnoozeSchema, Tt as testNotificationResponseSchema, U as searchQuerySchema, Ut as mentionableCodeChangeSchema, V as serviceAccountSchema, Vt as codeRepositoryReportSchema, W as searchReportSchema, X as revokePersonalTokenResponseSchema, Xt as conversationWatchesReportSchema, Y as personalTokenParamsSchema, Yt as conversationWatchSchema, Z as USER_SEARCH_DEFAULT_LIMIT, Zt as watchParamsSchema, _ as inboxItemListSchema, _n as acceptedConversationMessageSchema, _t as locationParamsSchema, a as statsReportSchema, an as objectLinksQuerySchema, b as inboxItemWaitingConversationsSchema, bn as forkConversationBodySchema, c as workspaceBodySchema, cn as CONVERSATION_OUTLINE_TEXT_LENGTH, ct as peopleSearchReportSchema, d as workspaceRepoSchema, dn as conversationDeliveryResponseSchema, dt as personalSpendReportSchema, en as continueConversationInSlackBodySchema, et as userSearchReportSchema, f as workspaceSchema, fn as conversationCatchUpBodySchema, ft as spaceConfigEntrySchema, gn as createAttachmentUploadBodySchema, gt as locationDirectoryReportSchema, h as inboxItemCountSchema, hn as attachmentUploadSchema, ht as locationDetailReportSchema, i as statSchema, in as attachObjectLinkResponseSchema, it as actorProfileReportSchema, j as cacheHealthReportSchema, jt as IDLE_CHANGE_DAYS, k as updateGatewayProvidersBodySchema, kt as disconnectConnectionResponseSchema, l as workspaceListSchema, ln as conversationOutlineSchema, lt as personCardReportSchema, mt as locationActivityDayReportSchema, nn as MAX_OBJECT_LINKS, nt as PERSON_CARD_RECENT_LIMIT, o as baselineSnapshotSchema, on as objectLinksReportSchema, ot as mentionablePersonSchema, p as inboxItemActionSchema, pn as conversationCatchUpSchema, pt as spaceConfigurationSchema, q as personalTokenListSchema, r as versionsSchema, rn as attachObjectLinkBodySchema, rt as actorDirectoryReportSchema, s as deleteWorkspaceResponseSchema, sn as conversationStatsReportSchema, st as peopleSearchQuerySchema, t as VERSIONS_CONVERSATION_LIMIT, tn as continueConversationInSlackResponseSchema, tt as userSearchResultSchema, u as workspaceParamsSchema, un as conversationDeliveryBodySchema, ut as personParamsSchema, vn as createConversationBodySchema, w as inboxSnoozeResourceSchema, x as INBOX_SNOOZE_MAX_TRIGGERS, xn as forkConversationResponseSchema, xt as dailyConversationActivitySchema, y as inboxItemSchema, yn as createConversationMessageBodySchema, z as serviceAccountListSchema, zt as codeRepositoryParamsSchema } from "../schema-
|
|
6
|
-
export { AGENT_UPDATE_EVENT_TYPE, CONTENT_VERSION_HEADER, CONVERSATION_DETAIL_VERSION_HEADER, CONVERSATION_OUTLINE_TEXT_LENGTH, CONVERSATION_TITLE_MAX_LENGTH, CONVERSATION_VERSION_HEADER, DEFAULT_NOTIFICATION_SCHEDULE, IDLE_CHANGE_DAYS, INBOX_SNOOZE_MAX_TRIGGERS, INLINE_VIDEO_TYPES, INPUT_IMAGE_TYPES, MAX_ATTACHMENT_BYTES, MAX_INPUT_ATTACHMENTS, MAX_OBJECT_LINKS, PERSON_CARD_RECENT_LIMIT, SPACE_DESCRIPTION_MAX_CHARS, SPACE_NAME_MAX_CHARS, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, USER_SEARCH_DEFAULT_LIMIT, USER_SEARCH_MAX_LIMIT, VERSIONS_CONVERSATION_LIMIT, acceptedConversationMessageSchema, activityPreviewText, actorDirectoryReportSchema, actorProfileReportSchema, annotationCard,
|
|
4
|
+
import { A as conversationUnchangedDetailWithMailboxSchema, B as runtimeInfoReportSchema, C as cancelConversationPendingMessagesBodySchema, D as conversationPendingMessageDeliverySchema, E as conversationPendingAuthorizationSchema, F as pluginOperationalReportSchema, H as skillReportSchema, I as pluginPackageContentItemReportSchema, L as pluginPackageContentReportSchema, M as steerConversationPendingMessagesResponseSchema, N as healthReportSchema, O as conversationPendingMessageSchema, P as pluginOperationalReportFeedSchema, R as pluginSchema, S as conversationAutoArchiveSchema, T as conversationDetailWithMailboxReportSchema, U as skillReportsSchema, V as skillDetailReportSchema, _ as reorderPinnedConversationsBodySchema, a as conversationInviteResponseSchema, b as archiveConversationResponseSchema, c as conversationSubscriptionResponseSchema, d as CONVERSATION_TITLE_MAX_LENGTH, g as pinConversationResponseSchema, h as pinConversationBodySchema, i as conversationInviteBodySchema, j as steerConversationPendingMessagesBodySchema, k as conversationPendingMessagesReportSchema, l as setConversationSpaceBodySchema, m as renameConversationResponseSchema, n as conversationFeedSchema, o as conversationLeaveResponseSchema, p as renameConversationBodySchema, r as stopConversationTurnResponseSchema, s as conversationSubscriptionBodySchema, t as conversationFeedQuerySchema, u as setConversationSpaceResponseSchema, v as reorderPinnedConversationsResponseSchema, w as cancelConversationPendingMessagesResponseSchema, x as archiveDoneConversationsResponseSchema, y as archiveConversationBodySchema, z as pluginsSchema } from "../conversation-feed-B1_1NJc8.js";
|
|
5
|
+
import { $ as userSearchQuerySchema, $t as conversationChildAgentsReportSchema, A as cacheHealthQuerySchema, At as startConnectionResponseSchema, B as serviceAccountParamsSchema, Bt as codeRepositoryQuerySchema, D as inboxSnoozeWakesClearSchema, Dt as connectionParamsSchema, E as inboxSnoozeSubjectSchema, Et as connectionListSchema, F as cacheWarmingSavingsRefillResponseSchema, Ft as codeChangeSummaryReportSchema, G as createPersonalTokenBodySchema, Gt as conversationTodoSchema, H as startServiceAccountSignInResponseSchema, Ht as codeRepositorySummarySchema, I as cacheWarmingSavingsReportSchema, It as codeChangeSummarySchema, J as personalTokenMetadataSchema, Jt as todoStatusBodySchema, K as createdPersonalTokenSchema, Kt as conversationTodosReportSchema, L as closeCacheWarmingBreakerResponseSchema, Lt as codeOverviewReportSchema, M as cacheWarmingBreakerListSchema, Mt as codeActivityDaySchema, Nt as codeChangeSearchQuerySchema, O as gatewayProvidersSchema, Ot as connectionSchema, Pt as codeChangeSearchReportSchema, Q as USER_SEARCH_MAX_LIMIT, Qt as conversationChildAgentSchema, R as disconnectServiceAccountResponseSchema, Rt as codePersonReportSchema, S as inboxSnoozeCreateSchema, St as notificationSettingsSchema, T as inboxSnoozeSchema, Tt as testNotificationResponseSchema, U as searchQuerySchema, Ut as mentionableCodeChangeSchema, V as serviceAccountSchema, Vt as codeRepositoryReportSchema, W as searchReportSchema, X as revokePersonalTokenResponseSchema, Xt as conversationWatchesReportSchema, Y as personalTokenParamsSchema, Yt as conversationWatchSchema, Z as USER_SEARCH_DEFAULT_LIMIT, Zt as watchParamsSchema, _ as inboxItemListSchema, _n as acceptedConversationMessageSchema, _t as locationParamsSchema, a as statsReportSchema, an as objectLinksQuerySchema, b as inboxItemWaitingConversationsSchema, bn as forkConversationBodySchema, c as workspaceBodySchema, cn as CONVERSATION_OUTLINE_TEXT_LENGTH, ct as peopleSearchReportSchema, d as workspaceRepoSchema, dn as conversationDeliveryResponseSchema, dt as personalSpendReportSchema, en as continueConversationInSlackBodySchema, et as userSearchReportSchema, f as workspaceSchema, fn as conversationCatchUpBodySchema, ft as spaceConfigEntrySchema, gn as createAttachmentUploadBodySchema, gt as locationDirectoryReportSchema, h as inboxItemCountSchema, hn as attachmentUploadSchema, ht as locationDetailReportSchema, i as statSchema, in as attachObjectLinkResponseSchema, it as actorProfileReportSchema, j as cacheHealthReportSchema, jt as IDLE_CHANGE_DAYS, k as updateGatewayProvidersBodySchema, kt as disconnectConnectionResponseSchema, l as workspaceListSchema, ln as conversationOutlineSchema, lt as personCardReportSchema, mt as locationActivityDayReportSchema, nn as MAX_OBJECT_LINKS, nt as PERSON_CARD_RECENT_LIMIT, o as baselineSnapshotSchema, on as objectLinksReportSchema, ot as mentionablePersonSchema, p as inboxItemActionSchema, pn as conversationCatchUpSchema, pt as spaceConfigurationSchema, q as personalTokenListSchema, r as versionsSchema, rn as attachObjectLinkBodySchema, rt as actorDirectoryReportSchema, s as deleteWorkspaceResponseSchema, sn as conversationStatsReportSchema, st as peopleSearchQuerySchema, t as VERSIONS_CONVERSATION_LIMIT, tn as continueConversationInSlackResponseSchema, tt as userSearchResultSchema, u as workspaceParamsSchema, un as conversationDeliveryBodySchema, ut as personParamsSchema, vn as createConversationBodySchema, w as inboxSnoozeResourceSchema, x as INBOX_SNOOZE_MAX_TRIGGERS, xn as forkConversationResponseSchema, xt as dailyConversationActivitySchema, y as inboxItemSchema, yn as createConversationMessageBodySchema, z as serviceAccountListSchema, zt as codeRepositoryParamsSchema } from "../schema-RzsplzdI.js";
|
|
6
|
+
export { AGENT_UPDATE_EVENT_TYPE, CONTENT_VERSION_HEADER, CONVERSATION_DETAIL_VERSION_HEADER, CONVERSATION_OUTLINE_TEXT_LENGTH, CONVERSATION_TITLE_MAX_LENGTH, CONVERSATION_VERSION_HEADER, DEFAULT_NOTIFICATION_SCHEDULE, IDLE_CHANGE_DAYS, INBOX_SNOOZE_MAX_TRIGGERS, INLINE_VIDEO_TYPES, INPUT_IMAGE_TYPES, MAX_ATTACHMENT_BYTES, MAX_INPUT_ATTACHMENTS, MAX_OBJECT_LINKS, PERSON_CARD_RECENT_LIMIT, SPACE_DESCRIPTION_MAX_CHARS, SPACE_NAME_MAX_CHARS, USER_CUSTOMIZATION_MAX_CHARS, USER_INPUT_NOTE, USER_SEARCH_DEFAULT_LIMIT, USER_SEARCH_MAX_LIMIT, VERSIONS_CONVERSATION_LIMIT, acceptedConversationMessageSchema, activityPreviewText, actorDirectoryReportSchema, actorProfileReportSchema, annotationCard, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, archiveDoneConversationsResponseSchema, archiveSpaceBodySchema, attachObjectLinkBodySchema, attachObjectLinkResponseSchema, attachmentUploadSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListItemSchema, automationListPageSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, buttonUserInputField, cacheHealthQuerySchema, cacheHealthReportSchema, cacheWarmingBreakerListSchema, cacheWarmingSavingsRefillResponseSchema, cacheWarmingSavingsReportSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, closeCacheWarmingBreakerResponseSchema, codeActivityDaySchema, codeChangeSearchQuerySchema, codeChangeSearchReportSchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryQuerySchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, continueConversationInSlackBodySchema, continueConversationInSlackResponseSchema, conversationActivityPreviewSchema, conversationAutoArchiveSchema, conversationAuxiliaryCostsSchema, conversationCatchUpBodySchema, conversationCatchUpSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDeliveryBodySchema, conversationDeliveryResponseSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationDetailWithMailboxReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationInviteBodySchema, conversationInviteResponseSchema, conversationLeaveResponseSchema, conversationObjectCard, conversationOutlineSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReadPositionSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSubscriptionBodySchema, conversationSubscriptionResponseSchema, conversationSummaryReportSchema, conversationTodoSchema, conversationTodosReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationUnchangedDetailWithMailboxSchema, conversationWatchSchema, conversationWatchesReportSchema, createAttachmentUploadBodySchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createSpaceBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, disconnectServiceAccountResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, gatewayOnlyProviders, gatewayProvidersSchema, healthReportSchema, inboxItemActionSchema, inboxItemCountSchema, inboxItemListSchema, inboxItemQuestion, inboxItemSchema, inboxItemWaitingConversationsSchema, inboxSnoozeCreateSchema, inboxSnoozeResourceSchema, inboxSnoozeSchema, inboxSnoozeSubjectSchema, inboxSnoozeWakesClearSchema, isAgentMessageEventType, isAgentUpdateEventType, isEmptyUserInputAnswer, isLegacyResultEventType, isWithinNotificationSchedule, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, mentionableCodeChangeSchema, mentionablePersonSchema, messageCardText, messageObjectCard, normalizeUserInputAnswer, notificationScheduleSchema, notificationSettingsSchema, objectLinksQuerySchema, objectLinksReportSchema, peopleSearchQuerySchema, peopleSearchReportSchema, personCardReportSchema, personObjectCard, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pinConversationBodySchema, pinConversationResponseSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, renameConversationBodySchema, renameConversationResponseSchema, reorderPinnedConversationsBodySchema, reorderPinnedConversationsResponseSchema, resolveMessageCards, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, searchQuerySchema, searchReportSchema, serviceAccountListSchema, serviceAccountParamsSchema, serviceAccountSchema, setConversationSpaceBodySchema, setConversationSpaceResponseSchema, skillDetailReportSchema, skillReportSchema, skillReportsSchema, spaceConfigEntrySchema, spaceConfigurationSchema, spaceListQuerySchema, spaceListSchema, spaceParamsSchema, spaceRefSchema, spaceSchema, spaceVisibilitySchema, startConnectionResponseSchema, startServiceAccountSignInResponseSchema, statSchema, statsReportSchema, steerConversationPendingMessagesBodySchema, steerConversationPendingMessagesResponseSchema, stopConversationTurnResponseSchema, testNotificationResponseSchema, todoStatusBodySchema, updateGatewayProvidersBodySchema, updateSpaceBodySchema, userCustomizationSchema, userSearchQuerySchema, userSearchReportSchema, userSearchResultSchema, versionsSchema, watchParamsSchema, webMessageId, webPageObjectCard, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
|