@sentry/junior 0.255.0 → 0.257.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/{admin-CeJh4SuR.js → admin-DgIkm6Vy.js} +1 -1
- package/dist/{agent-hooks-CDVx26Uu.js → agent-hooks-BjtTzvru.js} +13 -13
- package/dist/{agent-invocations-BY60iNw-.js → agent-invocations-Bdu3ROfo.js} +2 -1
- package/dist/{agent-runner-Caiof09f.js → agent-runner-D7OboVb3.js} +41 -33
- package/dist/api/schema.d.ts +41 -1
- package/dist/api/schema.js +2 -2
- package/dist/api.js +121 -33
- package/dist/{app-B0gT1Slp.d.ts → app-BsU5QNBd.d.ts} +7 -1
- package/dist/app.d.ts +1 -1
- package/dist/app.js +587 -210
- package/dist/{assistant-reply-BddmM66R.js → assistant-reply-CbTPebzL.js} +1 -1
- package/dist/{briefs-iVq_8-ft.js → briefs-oLOldnDM.js} +4 -4
- package/dist/{catalog-runtime-hKmI-iZa.js → catalog-runtime-CZzhGQ7F.js} +1 -1
- package/dist/cli/chat.js +16 -16
- package/dist/cli/check.js +3 -3
- package/dist/cli/main.js +2 -2
- package/dist/cli/plugins.js +4 -4
- package/dist/cli/snapshot-create.js +3 -3
- package/dist/cli/upgrade.js +3 -3
- package/dist/{client-Clj7onnT.js → client-D8HnkOQX.js} +2 -2
- package/dist/{config-BDAfLTI9.js → config-CJRnWK9H.js} +2 -2
- package/dist/{connections-BC0RTejT.js → connections-ClYrKzpX.js} +16 -11
- package/dist/{conversation-T18Xlkx9.js → conversation-CKNLYBJt.js} +3 -2
- package/dist/{conversation-privacy-1ERtieuM.js → conversation-privacy-C8b1nphZ.js} +1 -1
- package/dist/{credential-sync-BZuqqIHk.js → credential-sync-BXfohNmJ.js} +82 -40
- package/dist/{executor-Dh4Ofsnx.js → executor-Do0THDRR.js} +33 -23
- package/dist/{experimental-Qn9rKLgx.js → experimental-CQIvMUO7.js} +1 -0
- package/dist/{images-C-WOnTc_.js → images-BN_BiBXF.js} +3 -3
- package/dist/instrumentation.js +2 -2
- package/dist/{job-queue-BaCL36FY.js → job-queue-B6SV9uVa.js} +1 -1
- package/dist/{logging-D3aYP0aG.js → logging-CWxiIuCF.js} +50 -15
- package/dist/{message-B9xqD2BP.js → message-TUOdbSBW.js} +3 -3
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +3 -3
- package/dist/{oauth-callback-server-i5qdAou6.js → oauth-callback-server-Dj5UJODo.js} +2 -2
- package/dist/{pending-auth-D2t1Moxf.js → pending-auth-s_QFribU.js} +3 -3
- package/dist/{profile-DnkX3e2S.js → profile-h-72wM78.js} +4 -4
- package/dist/{prompt-C04mP1hu.js → prompt-DyoEj9c2.js} +1 -1
- package/dist/{registry-CmKmKHpp.js → registry-sLTr-sV9.js} +43 -3
- package/dist/{resolve-jfNHtEBx.js → resolve-ncQPZROQ.js} +2 -2
- package/dist/{result-Df5nEDX2.js → result-C883vngT.js} +7 -7
- package/dist/{runner-CmzoXEI4.js → runner-CzYImdOF.js} +10 -10
- package/dist/{sandbox-egress-signals-DjMNKLZz.js → sandbox-egress-signals-CZbMINHI.js} +1 -1
- package/dist/{schema-BBgv0MNf.js → schema-Dy69D4Ge.js} +4 -3
- package/dist/{session-stop-BEBfE97J.js → session-stop-CQjKd4a2.js} +46 -20
- package/dist/{skills-Dc-AMYi4.js → skills-C22SLruK.js} +2 -2
- package/dist/{spawn-OgTwBUj0.js → spawn-DY9CLXDL.js} +2 -2
- package/dist/{store-BashBewg.js → store-DXFIQy-G.js} +6 -6
- package/dist/{task-queue-VvIKqlQ4.js → task-queue-B17vV0La.js} +3 -3
- package/dist/{task-runner-D2CpD6GN.js → task-runner-DUjvzYXj.js} +11 -11
- package/dist/{tasks-dJooqiip.js → tasks-D_WIJtvO.js} +25 -10
- package/dist/{thread-state-CsMC-ob0.js → thread-state-Ch4yuCqG.js} +7 -7
- package/dist/{turn-failure-response-zB364t7_.js → turn-failure-response-C5nBKC4S.js} +8 -8
- package/dist/{turn-lifecycle-BfodfmiY.js → turn-lifecycle-CO-ylUmV.js} +1 -1
- package/dist/{turn-session-routing-BAh_qsBJ.js → turn-session-routing-B3LWooK5.js} +1 -1
- package/dist/{validation-LzIilOb6.js → validation-CXYxaNYx.js} +1 -1
- package/dist/{version-CDM8Rq6E.js → version-BcdZy2zg.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-Rnim7alE.js → viewer-DSZXygMU.js} +53 -5
- package/dist/{web-input-Dc1VwcT4.js → web-input-B9Bv0_lR.js} +73 -75
- package/dist/{work-BAn43SsN.js → work-nAfDSUFP.js} +9 -9
- package/dist/{worker-mBXq4_zg.js → worker-vGXZ6XFT.js} +5 -5
- package/migrations/0059_automation_run_version.sql +2 -0
- package/migrations/0060_identity_signed_in_at.sql +1 -0
- package/migrations/meta/0059_snapshot.json +3619 -0
- package/migrations/meta/0060_snapshot.json +3465 -0
- package/migrations/meta/_journal.json +15 -1
- package/package.json +6 -5
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { f as getDb, o as setUserAdminFromSql, r as listAdminUsersFromSql } from "./viewer-DSZXygMU.js";
|
|
2
2
|
import { CLI_USAGE } from "./cli/run.js";
|
|
3
3
|
//#region src/cli/admin.ts
|
|
4
4
|
/**
|
|
@@ -1,20 +1,20 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
|
|
2
|
-
import { a as embedTexts, r as completeObject } from "./client-
|
|
3
|
-
import {
|
|
2
|
+
import { a as embedTexts, r as completeObject } from "./client-D8HnkOQX.js";
|
|
3
|
+
import { T as withSpan, a as extractGenAiUsageSummary, b as setSpanStatus, f as logException, m as logWarn, p as logInfo, y as setSpanAttributes, z as isRecord$1 } from "./logging-CWxiIuCF.js";
|
|
4
4
|
import { a as getClient$1 } from "./sentry-CgWZM_kV.js";
|
|
5
|
-
import { t as canExposeConversationPayload } from "./conversation-privacy-
|
|
6
|
-
import { i as getChatConfig, n as botConfig, o as getSlackBotToken } from "./config-
|
|
5
|
+
import { t as canExposeConversationPayload } from "./conversation-privacy-C8b1nphZ.js";
|
|
6
|
+
import { i as getChatConfig, n as botConfig, o as getSlackBotToken } from "./config-CJRnWK9H.js";
|
|
7
7
|
import { r as defaultModelId } from "./model-profile-BwU8mqwD.js";
|
|
8
8
|
import { d as parseSlackTeamId, g as parseSlackMessageTs, i as isActorUserId, o as parseActorUserId, u as parseSlackChannelReferenceId } from "./actor-BTtLaeWy.js";
|
|
9
|
-
import {
|
|
10
|
-
import { c as juniorIdentities, d as juniorDestinations, l as juniorUsers, s as juniorConversations } from "./agent-invocations-
|
|
11
|
-
import { _ as juniorConversationAnnotations, b as juniorAttachments, f as juniorConversationBriefs, h as juniorConversationEvents, i as juniorWorkspaces, n as juniorSnapshots, r as juniorWorkspaceRepos, u as juniorConversationParticipants, v as juniorCodeChanges, y as juniorCodeRepositories } from "./executor-
|
|
9
|
+
import { I as saveUserTimezone, O as hasAgentTurnUsage, P as readUserTimezone, _ as createSqlStore, a as resolveViewerUser, f as getDb, i as readActorIdentity, l as getConversationEventStore, p as getSqlExecutor } from "./viewer-DSZXygMU.js";
|
|
10
|
+
import { c as juniorIdentities, d as juniorDestinations, l as juniorUsers, s as juniorConversations } from "./agent-invocations-Bdu3ROfo.js";
|
|
11
|
+
import { _ as juniorConversationAnnotations, b as juniorAttachments, f as juniorConversationBriefs, h as juniorConversationEvents, i as juniorWorkspaces, n as juniorSnapshots, r as juniorWorkspaceRepos, u as juniorConversationParticipants, v as juniorCodeChanges, y as juniorCodeRepositories } from "./executor-Do0THDRR.js";
|
|
12
12
|
import { o as decodeStoredConversationEvent } from "./history-9pO1Zd4Y.js";
|
|
13
|
-
import {
|
|
14
|
-
import { C as conversationReportEventSchema, F as readMessageAttachments, H as conversationBriefSchema, U as parseBriefInput, q as readMessageCardRefs } from "./conversation-
|
|
15
|
-
import { C as getDefaultRedisStateAdapterFor, N as SANDBOX_WORKSPACE_ROOT, k as sleep$1, l as isSandboxMissingError, n as hash, v as getVercelSandboxCredentials, w as getStateAdapter, x as runNonInteractiveCommand } from "./profile-
|
|
13
|
+
import { h as credentialSubjectSchema } from "./registry-sLTr-sV9.js";
|
|
14
|
+
import { C as conversationReportEventSchema, F as readMessageAttachments, H as conversationBriefSchema, U as parseBriefInput, q as readMessageCardRefs } from "./conversation-CKNLYBJt.js";
|
|
15
|
+
import { C as getDefaultRedisStateAdapterFor, N as SANDBOX_WORKSPACE_ROOT, k as sleep$1, l as isSandboxMissingError, n as hash, v as getVercelSandboxCredentials, w as getStateAdapter, x as runNonInteractiveCommand } from "./profile-h-72wM78.js";
|
|
16
16
|
import { i as isValidTimeZone } from "./cadence-D00SCzT1.js";
|
|
17
|
-
import { n as briefEntriesFromReportEvents, s as generateBrief, t as BRIEF_PROMPT } from "./prompt-
|
|
17
|
+
import { n as briefEntriesFromReportEvents, s as generateBrief, t as BRIEF_PROMPT } from "./prompt-DyoEj9c2.js";
|
|
18
18
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
19
19
|
import { z } from "zod";
|
|
20
20
|
import { createHash, createHmac, randomUUID, timingSafeEqual } from "node:crypto";
|
|
@@ -551,7 +551,7 @@ async function lookupSlackUser(teamId, userId) {
|
|
|
551
551
|
const response = await fetch(`https://slack.com/api/users.info?user=${encodeURIComponent(userId)}`, { headers: { authorization: `Bearer ${token}` } });
|
|
552
552
|
if (!response.ok) {
|
|
553
553
|
logWarn("slack.user.lookup.failed", {
|
|
554
|
-
"
|
|
554
|
+
"app.slack.user_id": userId,
|
|
555
555
|
"app.slack.team_id": teamId,
|
|
556
556
|
"http.response.status_code": response.status
|
|
557
557
|
});
|
|
@@ -570,7 +570,7 @@ async function lookupSlackUser(teamId, userId) {
|
|
|
570
570
|
return result;
|
|
571
571
|
} catch (error) {
|
|
572
572
|
logWarn("slack.user.lookup.failed", {
|
|
573
|
-
"
|
|
573
|
+
"app.slack.user_id": userId,
|
|
574
574
|
"app.slack.team_id": teamId,
|
|
575
575
|
"exception.message": error instanceof Error ? error.message : String(error)
|
|
576
576
|
});
|
|
@@ -56,7 +56,8 @@ const juniorIdentities = pgTable("junior_identities", {
|
|
|
56
56
|
updatedAt: timestamptz("updated_at").notNull(),
|
|
57
57
|
userId: text("user_id").references(() => juniorUsers.id),
|
|
58
58
|
emailNormalized: text("email_normalized"),
|
|
59
|
-
emailVerified: boolean("email_verified").notNull().default(false)
|
|
59
|
+
emailVerified: boolean("email_verified").notNull().default(false),
|
|
60
|
+
signedInAt: timestamptz("signed_in_at")
|
|
60
61
|
}, (table) => [
|
|
61
62
|
uniqueIndex("junior_identities_provider_subject_uidx").on(table.provider, table.providerTenantId, table.providerSubjectId),
|
|
62
63
|
index("junior_identities_user_idx").on(table.userId),
|
|
@@ -1,32 +1,32 @@
|
|
|
1
|
-
import { b as getGatewayApiKey, c as hasCompactedConversationContext, d as unwrapCurrentInstruction, f as escapeXml, g as getProviderErrorAttributes, h as findProviderError, i as completeText, l as isCompactionSummaryText, m as createProviderError, n as GEN_AI_SERVER_ADDRESS, o as resolveGatewayModel, p as ProviderError, r as completeObject, s as COMPACTION_SUMMARY_PREFIX, t as GEN_AI_PROVIDER_NAME, u as renderCurrentInstruction, v as isProviderRetryError, x as resolveGatewayCredential, y as MISSING_GATEWAY_CREDENTIALS_ERROR } from "./client-
|
|
2
|
-
import {
|
|
1
|
+
import { b as getGatewayApiKey, c as hasCompactedConversationContext, d as unwrapCurrentInstruction, f as escapeXml, g as getProviderErrorAttributes, h as findProviderError, i as completeText, l as isCompactionSummaryText, m as createProviderError, n as GEN_AI_SERVER_ADDRESS, o as resolveGatewayModel, p as ProviderError, r as completeObject, s as COMPACTION_SUMMARY_PREFIX, t as GEN_AI_PROVIDER_NAME, u as renderCurrentInstruction, v as isProviderRetryError, x as resolveGatewayCredential, y as MISSING_GATEWAY_CREDENTIALS_ERROR } from "./client-D8HnkOQX.js";
|
|
2
|
+
import { R as normalizeIdentityEmail, S as summarizeMessageText, T as withSpan, V as toOptionalString, _ as serializeGenAiAttribute, a as extractGenAiUsageSummary, b as setSpanStatus, c as getLogContextAttributesForSpan, d as logError, f as logException, h as normalizeGenAiFinishReason, i as extractGenAiUsageAttributes, l as getTracePropagationHeaders, m as logWarn, p as logInfo, u as logAudit, w as withLogContext, x as setTags, y as setSpanAttributes, z as isRecord$4 } from "./logging-CWxiIuCF.js";
|
|
3
3
|
import { m as startInactiveSpan, v as withActiveSpan } from "./sentry-CgWZM_kV.js";
|
|
4
|
-
import { a as toCanonicalInputMessage, c as toGenAiPayloadMetadata, i as runWithConversationPrivacy, l as toGenAiPayloadTraceAttributes, o as toCanonicalOutputMessage, r as resolveConversationPrivacy, s as toGenAiMessagesTraceAttributes, t as canExposeConversationPayload } from "./conversation-privacy-
|
|
5
|
-
import { n as botConfig, v as normalizeSlackEmojiName } from "./config-
|
|
4
|
+
import { a as toCanonicalInputMessage, c as toGenAiPayloadMetadata, i as runWithConversationPrivacy, l as toGenAiPayloadTraceAttributes, o as toCanonicalOutputMessage, r as resolveConversationPrivacy, s as toGenAiMessagesTraceAttributes, t as canExposeConversationPayload } from "./conversation-privacy-C8b1nphZ.js";
|
|
5
|
+
import { n as botConfig, v as normalizeSlackEmojiName } from "./config-CJRnWK9H.js";
|
|
6
6
|
import { a as formatModelProfiles, c as profileConfig, i as formatModelProfile, l as TURN_REASONING_LEVELS, n as ModelProfileNotConfiguredError, o as modelIdForProfile, s as modelProfileSchema } from "./model-profile-BwU8mqwD.js";
|
|
7
7
|
import { a as isUserActor, d as parseSlackTeamId, f as parseSlackUserId, g as parseSlackMessageTs, l as parseSlackChannelId, u as parseSlackChannelReferenceId } from "./actor-BTtLaeWy.js";
|
|
8
|
-
import {
|
|
9
|
-
import { a as juniorAgentInvocations, c as juniorIdentities, d as juniorDestinations, i as juniorAgentBindings, n as AGENT_INVOCATION_PARENT_MAILBOX_STATUSES, s as juniorConversations, t as AGENT_INVOCATION_MAILBOX_STATUSES } from "./agent-invocations-
|
|
10
|
-
import { _ as juniorConversationAnnotations, b as juniorAttachments, c as juniorStats, f as juniorConversationBriefs,
|
|
8
|
+
import { O as hasAgentTurnUsage, T as agentTurnCostUsd, V as parseDestination, d as getConversationStore, f as getDb, i as readActorIdentity, l as getConversationEventStore, p as getSqlExecutor, u as getConversationMessageSearchStore, w as addAgentTurnUsage } from "./viewer-DSZXygMU.js";
|
|
9
|
+
import { a as juniorAgentInvocations, c as juniorIdentities, d as juniorDestinations, i as juniorAgentBindings, n as AGENT_INVOCATION_PARENT_MAILBOX_STATUSES, s as juniorConversations, t as AGENT_INVOCATION_MAILBOX_STATUSES } from "./agent-invocations-Bdu3ROfo.js";
|
|
10
|
+
import { _ as juniorConversationAnnotations, a as juniorAutomationRuns, b as juniorAttachments, c as juniorStats, f as juniorConversationBriefs, x as juniorArtifacts } from "./executor-Do0THDRR.js";
|
|
11
11
|
import { d as contextProvenance, f as instructionActors, m as sameActorIdentity, p as instructionProvenanceFor, t as KNOWN_CONVERSATION_EVENT_TYPES, u as agentInstructionProvenance } from "./history-9pO1Zd4Y.js";
|
|
12
12
|
import { a as listReferenceFiles, c as soulPathCandidates, l as worldPathCandidates } from "./package-discovery-BVvSnQBB.js";
|
|
13
|
-
import { a as resolveAuthTokenPlaceholder, c as fetchWithBoundedOAuthErrorBodies, d as
|
|
14
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
15
|
-
import { a as parseSkillInvocation, i as parseSkillFile, n as findSkillByName, r as loadSkillsByName, t as discoverSkills } from "./skills-
|
|
16
|
-
import { A as
|
|
17
|
-
import { A as getWorkspaceSnapshotBuilder, B as STOP_WATCHING_TOOL_NAME, Bt as getFilePermalink, C as WorkspaceValidationError, D as setWorkspaceSnapshotBuild, Dt as matchSlackAttachments, E as setWorkspaceSnapshot, F as isSlackMessageTurn, Ft as defaultTimezone, G as createWatch, Gt as normalizeSlackConversationId, H as cancelWatch, Ht as getSlackClient, I as slackMessageTurnDisabledReason, It as resolveUserTimezone, J as getWatch, K as deliverWatch, L as RESOURCE_SUBSCRIPTION_DEFAULT_TTL_MS, M as workspaceRepoCheckoutPath, Mt as createPluginAnnotations, N as resolveChannelCapabilities, O as SANDBOX_RUNTIME, P as getSlackToolContext, R as RESOURCE_SUBSCRIPTION_MAX_TTL_MS, Rt as SlackActionError, S as updateWorkspace, T as loadSnapshotsForProfile, Ut as isConversationScopedChannel, V as cancelSubscriptions, W as createTimerWatch, Wt as isDmChannel$1, Xt as JUNIOR_NATIVE_EVENT_NAMESPACE, Y as listWatches, _ as deleteWorkspace, at as getDashboardConversationLink, b as listWorkspaces, c as getPluginTools, en as conversationNoteEvent, ft as createPluginLogger, g as createWorkspace, j as tryWorkspaceRepoCheckoutPath, jt as saveObjectAnnotations, k as deleteWorkspaceSnapshotBuilders, l as getPluginUserPromptContributions, q as findMatchingWatches, qt as withSlackRetries, r as createPluginHookRunner, s as getPluginSystemPromptContributions, st as getDashboardTaskLink, u as getPlugins, v as getWorkspace, w as invalidateReadySnapshot, y as getWorkspaceByName, z as RESOURCE_WATCH_TOOL_SOURCE, zt as downloadPrivateSlackFile } from "./agent-hooks-
|
|
18
|
-
import { B as briefLinkSchema, H as conversationBriefSchema, J as removedCardSchema, L as detectImageMediaType, R as isVisionImageMediaType, V as briefOutcomeStatusSchema } from "./conversation-
|
|
19
|
-
import { A as SANDBOX_DATA_ROOT, D as fenceLock, E as acquireActiveLock, F as sandboxSkillFile, I as sandboxSkillPathResolution, M as SANDBOX_SKILLS_ROOT, N as SANDBOX_WORKSPACE_ROOT, O as withLock, P as sandboxSkillDir, _ as workspaceSnapshotNotReadyUserMessage, a as isAbortError, b as buildNonInteractiveShellScript, c as isSandboxCommandStreamInterruptedError, d as isSnapshottingError, f as throwSandboxOperationError, g as isWorkspaceSnapshotNotReadyError, h as getWorkspaceSnapshotNotReadyError, i as ensureDockerDaemon, j as SANDBOX_REPOS_ROOT, k as sleep, l as isSandboxMissingError, m as WorkspaceSnapshotNotReadyError, n as hash, o as isAlreadyExistsError, p as wrapSandboxSetupError, r as isStale, s as isSandboxApiTransientError, t as create, u as isSandboxUnavailableError, v as getVercelSandboxCredentials, w as getStateAdapter, x as runNonInteractiveCommand, y as buildCommandScript } from "./profile-
|
|
20
|
-
import { n as canReusePendingAuthLink, t as abandonReplacedPendingAuth } from "./pending-auth-
|
|
13
|
+
import { _ as CredentialUnavailableError, a as resolveAuthTokenPlaceholder, c as fetchWithBoundedOAuthErrorBodies, d as actorLogContext, f as credentialContextForActor, g as credentialUserSubjectId, i as resolvePluginHeaderEnvRefs, l as getOAuthProviderErrorAttributes, o as resolvePluginCommandEnv, p as credentialContextSchema, s as OAuthProviderError } from "./registry-sLTr-sV9.js";
|
|
14
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-CZzhGQ7F.js";
|
|
15
|
+
import { a as parseSkillInvocation, i as parseSkillFile, n as findSkillByName, r as loadSkillsByName, t as discoverSkills } from "./skills-C22SLruK.js";
|
|
16
|
+
import { A as escapeSlackMrkdwnText, B as postSlackMessage, Ct as ToolInputError, Dt as loadConversationProjection, Et as loadConnectedMcpProviders, G as continuableMessages, H as uploadFilesToConversation, Ht as recordTurnRoute, I as addReactionToMessage, K as loadTurnCheckpoint, L as getSlackMessagePermalink, Lt as recordAuthorizationRequested, Mt as openConversationProjection, Nt as recordAgentsInstructionsUpdated, O as automationRevision, Ot as loadLastModelProfile, P as slackMention, Pt as recordAttachmentsDelivered, R as openSlackDirectMessage, Rt as recordGuardianActionReviewed, St as TURN_CONTEXT_TAG, Vt as recordToolExecutionStarted, Xt as fallbackShortTitle, Zt as resolveTaskTitle, _t as isToolResultMessage, a as saveScheduledAutomation, bt as stripRuntimeTurnContext, ct as extractAssistantText, d as createEventAutomation, dn as getAgentContextInputLimitTokens, dt as getUserMessageInstructionText, f as deleteEventAutomation, fn as historyItemFromPiMessage, ft as hasRuntimeTurnContext, g as listEventAutomationsForTeam, gt as isToolResultError, ht as isContinuablePiBoundary, i as readScheduledAutomation, it as TurnToolCallLimitExceededError, j as formatSlackLink, jt as loadTurnRoute, ln as estimateTextTokens, lt as getPiMessageRole, m as getEventAutomation, mt as isAssistantMessage, n as listScheduledAutomationsForTeam, nt as TurnBudgetExceededError, ot as createTurnLimitGate, pn as piMessageFromHistoryItem, q as saveTurnCheckpoint, rt as TurnSliceLimitExceededError, st as isTurnExecutionLimitExceededError, t as createScheduledAutomation, tt as TURN_LIMIT_DISABLED_REASON, un as getAgentContextCompactionTriggerTokens, ut as getTerminalAssistantMessages, v as saveEventAutomation, vt as normalizeToolNameFromResult, xt as trimTrailingAssistantMessages, y as setEventAutomationStatus, yt as retainRuntimeTurnContext, z as postSlackEphemeralMessage, zt as recordMcpProviderConnected } from "./tasks-D_WIJtvO.js";
|
|
17
|
+
import { A as getWorkspaceSnapshotBuilder, B as STOP_WATCHING_TOOL_NAME, Bt as getFilePermalink, C as WorkspaceValidationError, D as setWorkspaceSnapshotBuild, Dt as matchSlackAttachments, E as setWorkspaceSnapshot, F as isSlackMessageTurn, Ft as defaultTimezone, G as createWatch, Gt as normalizeSlackConversationId, H as cancelWatch, Ht as getSlackClient, I as slackMessageTurnDisabledReason, It as resolveUserTimezone, J as getWatch, K as deliverWatch, L as RESOURCE_SUBSCRIPTION_DEFAULT_TTL_MS, M as workspaceRepoCheckoutPath, Mt as createPluginAnnotations, N as resolveChannelCapabilities, O as SANDBOX_RUNTIME, P as getSlackToolContext, R as RESOURCE_SUBSCRIPTION_MAX_TTL_MS, Rt as SlackActionError, S as updateWorkspace, T as loadSnapshotsForProfile, Ut as isConversationScopedChannel, V as cancelSubscriptions, W as createTimerWatch, Wt as isDmChannel$1, Xt as JUNIOR_NATIVE_EVENT_NAMESPACE, Y as listWatches, _ as deleteWorkspace, at as getDashboardConversationLink, b as listWorkspaces, c as getPluginTools, en as conversationNoteEvent, ft as createPluginLogger, g as createWorkspace, j as tryWorkspaceRepoCheckoutPath, jt as saveObjectAnnotations, k as deleteWorkspaceSnapshotBuilders, l as getPluginUserPromptContributions, q as findMatchingWatches, qt as withSlackRetries, r as createPluginHookRunner, s as getPluginSystemPromptContributions, st as getDashboardTaskLink, u as getPlugins, v as getWorkspace, w as invalidateReadySnapshot, y as getWorkspaceByName, z as RESOURCE_WATCH_TOOL_SOURCE, zt as downloadPrivateSlackFile } from "./agent-hooks-BjtTzvru.js";
|
|
18
|
+
import { B as briefLinkSchema, H as conversationBriefSchema, J as removedCardSchema, L as detectImageMediaType, R as isVisionImageMediaType, V as briefOutcomeStatusSchema } from "./conversation-CKNLYBJt.js";
|
|
19
|
+
import { A as SANDBOX_DATA_ROOT, D as fenceLock, E as acquireActiveLock, F as sandboxSkillFile, I as sandboxSkillPathResolution, M as SANDBOX_SKILLS_ROOT, N as SANDBOX_WORKSPACE_ROOT, O as withLock, P as sandboxSkillDir, _ as workspaceSnapshotNotReadyUserMessage, a as isAbortError, b as buildNonInteractiveShellScript, c as isSandboxCommandStreamInterruptedError, d as isSnapshottingError, f as throwSandboxOperationError, g as isWorkspaceSnapshotNotReadyError, h as getWorkspaceSnapshotNotReadyError, i as ensureDockerDaemon, j as SANDBOX_REPOS_ROOT, k as sleep, l as isSandboxMissingError, m as WorkspaceSnapshotNotReadyError, n as hash, o as isAlreadyExistsError, p as wrapSandboxSetupError, r as isStale, s as isSandboxApiTransientError, t as create, u as isSandboxUnavailableError, v as getVercelSandboxCredentials, w as getStateAdapter, x as runNonInteractiveCommand, y as buildCommandScript } from "./profile-h-72wM78.js";
|
|
20
|
+
import { n as canReusePendingAuthLink, t as abandonReplacedPendingAuth } from "./pending-auth-s_QFribU.js";
|
|
21
21
|
import { c as isTurnInputCommitLostError, i as TurnInputCommitLostError, r as CooperativeTurnYieldError, t as authorizationId } from "./oauth-authorization-BA4Dt6a7.js";
|
|
22
|
-
import { a as isNoReplyMarker, i as NO_REPLY_MARKER, n as getAssistantReplyText, r as sanitizeAssistantText, t as decideReply } from "./assistant-reply-
|
|
23
|
-
import { C as
|
|
22
|
+
import { a as isNoReplyMarker, i as NO_REPLY_MARKER, n as getAssistantReplyText, r as sanitizeAssistantText, t as decideReply } from "./assistant-reply-CbTPebzL.js";
|
|
23
|
+
import { C as pluginSupportsEvent, D as requireEventIdentifier, E as registeredResourceTypeSchema, L as readAutomationResult, N as FINISH_AUTOMATION_RUN_TOOL_NAME, O as requireSupportedEventMatch, P as automationResultSchema, R as remindMissingAutomationResult, S as hasEventCatalogEntries, T as registeredEventTypeSchema, _ as workspaceSnapshotFinishedEvent, d as requireSlackChannelMessageScope, g as WORKSPACE_SNAPSHOT_READY_EVENT, h as WORKSPACE_SNAPSHOT_FAILED_EVENT, l as getEventCatalog, n as markConversationsStopped, o as enqueueEventNotification, t as getConversationStoppedAtMs, v as workspaceSnapshotWatch, w as registeredEventMatchSchema, x as eventNamespaceSchema, y as automationEventCatalog } from "./session-stop-CQjKd4a2.js";
|
|
24
24
|
import { i as isValidTimeZone, r as getZonedDateTimeParts } from "./cadence-D00SCzT1.js";
|
|
25
|
-
import { a as createSandboxSession, c as postinstall, d as getSandboxResources, i as bindSandboxFileSystem, l as setSnapshotSpanAttributes, n as isMissingError, o as stopSession, r as resolve$1, s as dependencies } from "./resolve-
|
|
26
|
-
import { a as getVercelConversationWorkQueue, f as getTurnRequestDeadline, n as sendNextWorkspaceSnapshotJob, r as sendWorkspaceSnapshotJob } from "./job-queue-
|
|
27
|
-
import { E as stopConversationWork } from "./store-
|
|
25
|
+
import { a as createSandboxSession, c as postinstall, d as getSandboxResources, i as bindSandboxFileSystem, l as setSnapshotSpanAttributes, n as isMissingError, o as stopSession, r as resolve$1, s as dependencies } from "./resolve-ncQPZROQ.js";
|
|
26
|
+
import { a as getVercelConversationWorkQueue, f as getTurnRequestDeadline, n as sendNextWorkspaceSnapshotJob, r as sendWorkspaceSnapshotJob } from "./job-queue-B6SV9uVa.js";
|
|
27
|
+
import { E as stopConversationWork } from "./store-DXFIQy-G.js";
|
|
28
28
|
import { F as taskOutcomeInputSchema, M as compileScheduleIntent, N as scheduleIntentSchema, O as automationInstructionToolSchema, T as SCHEDULED_AUTOMATION_SYSTEM_ACTOR, j as ScheduleIntentError, k as automationTitleSchema } from "./automation-CHdlHVZP.js";
|
|
29
|
-
import { r as isExperimentalFeatureEnabled } from "./experimental-
|
|
29
|
+
import { r as isExperimentalFeatureEnabled } from "./experimental-CQIvMUO7.js";
|
|
30
30
|
import { n as privateTraceResultAttributes } from "./private-trace-result-BLvBjy_e.js";
|
|
31
31
|
import { streamSimple } from "@earendil-works/pi-ai/compat";
|
|
32
32
|
import { createGatewayProvider } from "@ai-sdk/gateway";
|
|
@@ -3386,6 +3386,8 @@ const credentialSignalKindSchema = z.enum(["auth_required", "unavailable"]);
|
|
|
3386
3386
|
const sandboxEgressGrantSchema = pluginGrantSchema;
|
|
3387
3387
|
const sandboxEgressCredentialContextSchema = z.object({
|
|
3388
3388
|
credentials: credentialContextSchema,
|
|
3389
|
+
/** Conversation that the credentials act for. Telemetry only; it grants nothing. */
|
|
3390
|
+
conversationId: z.string().min(1).optional(),
|
|
3389
3391
|
egressId: z.string().min(1),
|
|
3390
3392
|
expiresAtMs: finiteNumberSchema,
|
|
3391
3393
|
contextId: z.string().min(1)
|
|
@@ -3525,6 +3527,7 @@ function createSandboxEgressCredentialToken(input) {
|
|
|
3525
3527
|
const ttlMs = Math.max(1, input.ttlMs ?? DEFAULT_SESSION_TTL_MS);
|
|
3526
3528
|
const now = Date.now();
|
|
3527
3529
|
const context = {
|
|
3530
|
+
...input.conversationId ? { conversationId: input.conversationId } : void 0,
|
|
3528
3531
|
credentials: input.credentials,
|
|
3529
3532
|
egressId: input.egressId,
|
|
3530
3533
|
expiresAtMs: now + ttlMs,
|
|
@@ -6064,6 +6067,7 @@ function createSandbox(options) {
|
|
|
6064
6067
|
if (!credentialEgress) throw new Error("Sandbox credential egress is not configured");
|
|
6065
6068
|
const now = Date.now();
|
|
6066
6069
|
const token = createSandboxEgressCredentialToken({
|
|
6070
|
+
conversationId: options.conversationId,
|
|
6067
6071
|
credentials: credentialEgress,
|
|
6068
6072
|
egressId,
|
|
6069
6073
|
ttlMs: sandboxEgressTokenTtlMs
|
|
@@ -6778,6 +6782,7 @@ function createAgentSandbox(options) {
|
|
|
6778
6782
|
traceContext: options.traceContext,
|
|
6779
6783
|
tracePropagation: options.tracePropagation,
|
|
6780
6784
|
egressSignals: options.egressSignals,
|
|
6785
|
+
conversationId: options.conversationId,
|
|
6781
6786
|
credentialEgress: options.credentialEgress,
|
|
6782
6787
|
prepare: options.prepareSandbox,
|
|
6783
6788
|
prepareWorkspace: options.prepareWorkspace,
|
|
@@ -9251,7 +9256,7 @@ function createFinishAutomationRunTool(options) {
|
|
|
9251
9256
|
openWorldHint: false,
|
|
9252
9257
|
readOnlyHint: false
|
|
9253
9258
|
},
|
|
9254
|
-
description: options.sendsMessage ? `End this automation run. Use \`send_message\` with the finished reminder, digest, alert, or answer; the runtime posts it to the stored destinations. ${RESULT_GUIDANCE}` : `End this automation run. This automation posts nothing. ${RESULT_GUIDANCE}`,
|
|
9259
|
+
description: options.sendsMessage ? `End this automation run. Use \`send_message\` with the finished reminder, digest, alert, or answer; the runtime posts it to the stored destinations. This is the only way that the run posts, so a missing Slack posting tool does not make the run \`misconfigured\`. ${RESULT_GUIDANCE}` : `End this automation run. This automation posts nothing. ${RESULT_GUIDANCE}`,
|
|
9255
9260
|
inputSchema: z.object({
|
|
9256
9261
|
result: z.enum(results),
|
|
9257
9262
|
...options.sendsMessage ? { message: z.string().optional().describe("Required for send_message. The text to post.") } : void 0,
|
|
@@ -13635,6 +13640,7 @@ function normalizeUser(raw) {
|
|
|
13635
13640
|
email: raw.profile?.email || void 0,
|
|
13636
13641
|
status_text: raw.profile?.status_text ?? void 0,
|
|
13637
13642
|
status_emoji: raw.profile?.status_emoji ?? void 0,
|
|
13643
|
+
avatar_url: raw.profile?.image_512 || void 0,
|
|
13638
13644
|
is_bot: raw.is_bot ?? false,
|
|
13639
13645
|
is_deleted: raw.deleted ?? false,
|
|
13640
13646
|
timezone: raw.tz || void 0,
|
|
@@ -14844,6 +14850,7 @@ async function resolvePluginOAuthAccount(input) {
|
|
|
14844
14850
|
if (!plugin || !hook) return;
|
|
14845
14851
|
const account = await hook({
|
|
14846
14852
|
...basePluginContext(plugin),
|
|
14853
|
+
tokenResponse: input.tokenResponse,
|
|
14847
14854
|
tokens: input.tokens
|
|
14848
14855
|
});
|
|
14849
14856
|
return account === void 0 ? void 0 : parseSchema(pluginProviderAccountSchema, account, `Plugin "${plugin.manifest.name}" resolveOAuthAccount returned an invalid account`);
|
|
@@ -17534,9 +17541,15 @@ function isEgressAuthRequired(error) {
|
|
|
17534
17541
|
function isEgressPolicyDenied(error) {
|
|
17535
17542
|
return error instanceof EgressPolicyDenied || error instanceof Error && error.name === "EgressPolicyDenied";
|
|
17536
17543
|
}
|
|
17544
|
+
/**
|
|
17545
|
+
* Record one forwarded provider request. Write-grant requests are audit
|
|
17546
|
+
* events, so they reach Sentry in production. Other requests log only outside
|
|
17547
|
+
* production.
|
|
17548
|
+
*/
|
|
17537
17549
|
function logSandboxEgressUpstreamRequest(input) {
|
|
17538
|
-
|
|
17539
|
-
|
|
17550
|
+
const isWrite = input.grantAccess === "write";
|
|
17551
|
+
if (!isWrite && !shouldLogSandboxEgressInfo()) return;
|
|
17552
|
+
(isWrite ? logAudit : logInfo)("sandbox.egress.upstream.requested", {
|
|
17540
17553
|
...egressAttributes({
|
|
17541
17554
|
egressId: input.egressId,
|
|
17542
17555
|
grantAccess: input.grantAccess,
|
|
@@ -18648,6 +18661,7 @@ async function wireAgentTools(args) {
|
|
|
18648
18661
|
traceContext: args.spanContext,
|
|
18649
18662
|
tracePropagation: args.run.environment?.sandboxTracePropagation,
|
|
18650
18663
|
egressSignals: args.run.environment?.sandboxEgressSignals,
|
|
18664
|
+
conversationId: args.run.conversationId,
|
|
18651
18665
|
credentialEgress: args.run.credentialContext,
|
|
18652
18666
|
actor: args.currentActor,
|
|
18653
18667
|
locationConfiguration: args.run.environment?.locationConfiguration,
|
|
@@ -19776,20 +19790,14 @@ async function executeAgentRun(run, streamFn) {
|
|
|
19776
19790
|
if (!run.destination) throw new TypeError("Assistant reply generation requires a destination");
|
|
19777
19791
|
const visibility = await readRunConversationVisibility(run.conversationId);
|
|
19778
19792
|
const conversationPrivacy = resolveConversationPrivacy({ visibility });
|
|
19779
|
-
const credentialActor = run.credentialContext?.actor;
|
|
19780
19793
|
const actor = actorFromRun(run);
|
|
19781
|
-
const userActor = actor && "userId" in actor ? actor : void 0;
|
|
19782
19794
|
const runLogContext = {
|
|
19783
19795
|
conversationId: run.conversationId,
|
|
19784
19796
|
platform: run.source.kind === "slack" || run.source.kind === "web" || run.source.kind === "local" ? run.source.kind : void 0,
|
|
19785
19797
|
messageConversationId: run.source.kind === "slack" ? run.conversationId : run.source.kind === "web" || run.source.kind === "local" ? run.source.conversationId : run.conversationId,
|
|
19786
19798
|
destinationName: run.location?.channelId ?? (run.source.kind === "slack" ? run.source.channelId : run.source.kind === "web" || run.source.kind === "local" ? run.source.conversationId : run.conversationId),
|
|
19787
|
-
|
|
19788
|
-
userName: userActor?.userName,
|
|
19789
|
-
userEmail: userActor?.email,
|
|
19799
|
+
...actorLogContext(actor, run.credentialContext),
|
|
19790
19800
|
runId: run.runId,
|
|
19791
|
-
actorType: credentialActor ? "type" in credentialActor ? credentialActor.type : "system" : void 0,
|
|
19792
|
-
actorId: credentialActor ? "type" in credentialActor ? credentialActor.userId : credentialActor.name : void 0,
|
|
19793
19801
|
assistantUserName: botConfig.userName
|
|
19794
19802
|
};
|
|
19795
19803
|
return withLogContext(runLogContext, () => runWithConversationPrivacy(conversationPrivacy, () => executeAgentRunInPrivacyContext(run, conversationPrivacy, runLogContext, streamFn)));
|
|
@@ -20739,7 +20747,7 @@ function createAgentRunner(execute, options) {
|
|
|
20739
20747
|
} } : void 0
|
|
20740
20748
|
};
|
|
20741
20749
|
if (run.instruction.storedAttachments?.length) {
|
|
20742
|
-
const { loadInputImages } = await import("./images-
|
|
20750
|
+
const { loadInputImages } = await import("./images-BN_BiBXF.js").then((n) => n.n);
|
|
20743
20751
|
const storage = nextRun.environment?.attachmentStorage;
|
|
20744
20752
|
if (!storage) throw new Error("Attachment storage is unavailable.");
|
|
20745
20753
|
nextRun.instruction = {
|
|
@@ -20755,4 +20763,4 @@ function createAgentRunner(execute, options) {
|
|
|
20755
20763
|
} };
|
|
20756
20764
|
}
|
|
20757
20765
|
//#endregion
|
|
20758
|
-
export { getAgentInvocation as $, resolveSlackChannelIdFromMessage as A, consumeSandboxEgressPermissionDeniedSignal as At, effectiveTaskOutcomes as B,
|
|
20766
|
+
export { getAgentInvocation as $, resolveSlackChannelIdFromMessage as A, consumeSandboxEgressPermissionDeniedSignal as At, effectiveTaskOutcomes as B, withoutSavedSteeringMessages as Bt, renderBlockText as C, ingestEvent as Ct, storeAttachment as D, SANDBOX_EGRESS_PROXY_PATH as Dt, requestAttachmentDeletion as E, shouldPropagateSandboxEgressTrace as Et, logScheduledAutomationRunSkipped as F, parseOAuthStatePayload as Ft, recordSubagentStarted as G, readBlockedReport as Gt, stopChildAgentsOf as H, actorFromRun as Ht, scheduledAutomationRunAttributes as I, resolveBaseUrl as It, createAgentInvocation as J, setConfigDefaults as Jt, listChildAgents as K, shouldEmitDevAgentTrace as Kt, editEventAutomation as L, startOAuthFlow as Lt, getConversationInfo as M, sandboxEgressSignalsResponseSchema as Mt, listThreadReplies as N, deliverPrivateMessage as Nt, parseSlackThreadId as O, clearSandboxEgressSignals as Ot, editScheduledAutomation as P, formatProviderLabel as Pt, getActiveAgentInvocationForConversation as Q, AutomationEditError as R, createUserTokenStore as Rt, renderAttachmentText as S, processWorkspaceSnapshotJob as St, readLiveAttachment as T, normalizeSandboxEgressTracePropagationDomains as Tt, stopConversationSession as U, toolInvocationDestination as Ut, resolveTaskOutcomes as V, RetryableDeliveryError as Vt, recordSubagentEnded as W, AuthorizationFlowDisabledError as Wt, createAgentInvocationFromLatest as X, createAgentInvocationForMessage as Y, findChildAgentConversationId as Z, resolvePluginOAuthAccount as _, AgentMessageTargetError as _t, buildAuthPauseResponse as a, getAgentInvocationTurnId as at, unpublishedArtifactHeaders as b, conversationSubtreeColumns as bt, deleteMcpAuthSessionsForUserProvider as c, isTerminalAgentInvocation as ct, getMcpAuthSession as d, markAgentInvocationMailboxAppended as dt, getAgentInvocationIdForEvents as et, getMcpStoredOAuthCredentials as f, markAgentInvocationParentMailboxAppended as ft, readStats as g, reportReplacedAgentInvocation as gt, latestProgressStatus as h, markAgentInvocationSteered as ht, executeCredentialedEgressRequest as i, getAgentInvocationResultMessageId as it, resolveSlackChannelIdFromThreadId as j, parseSandboxEgressCredentialToken as jt, readSlackRawMessageContext as k, consumeSandboxEgressAuthRequiredSignal as kt, deleteMcpServerSessionId as l, listPendingAgentInvocationMailboxAppends as lt, PluginCredentialFailureError as m, markAgentInvocationRunning as mt, executeAgentRun as n, getAgentInvocationIdForResult as nt, finalizeMcpAuthorization as o, getChildAgentLabel as ot, putMcpStoredOAuthCredentials as p, markAgentInvocationPaused as pt, completeAgentInvocation as q, getConfigDefaults as qt, createContextCompactor as r, getAgentInvocationMessageId as rt, deleteMcpAuthSession as s, getLatestAgentInvocationForConversation as st, createAgentRunner as t, getAgentInvocationIdForMessage as tt, deleteMcpStoredOAuthCredentials as u, listPendingAgentInvocationResults as ut, publicArtifactHeaders as v, PARENT_AGENT_TARGET as vt, collectAttachmentGarbage as w, resolveSandboxEgressProviderForHost as wt, lookupSlackUserProfile as x, getMcpProviderErrorAttributes as xt, readPublicArtifact as y, conversationSubtree as yt, eventAutomationTriggerAvailable as z, buildSteeringPiMessage as zt };
|
package/dist/api/schema.d.ts
CHANGED
|
@@ -222,7 +222,7 @@ export declare const codeRepositoryReportSchema: z.ZodObject<{
|
|
|
222
222
|
name: z.ZodString;
|
|
223
223
|
}, z.core.$strict>>;
|
|
224
224
|
}, z.core.$strict>;
|
|
225
|
-
/** Person-scoped code activity for one People profile. */
|
|
225
|
+
/** Person-scoped code activity and recent code changes for one People profile. */
|
|
226
226
|
export declare const codePersonReportSchema: z.ZodObject<{
|
|
227
227
|
activityDays: z.ZodArray<z.ZodObject<{
|
|
228
228
|
closed: z.ZodNumber;
|
|
@@ -242,6 +242,22 @@ export declare const codePersonReportSchema: z.ZodObject<{
|
|
|
242
242
|
date: z.ZodString;
|
|
243
243
|
merged: z.ZodNumber;
|
|
244
244
|
}, z.core.$strict>>>;
|
|
245
|
+
changes: z.ZodArray<z.ZodObject<{
|
|
246
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
247
|
+
id: z.ZodString;
|
|
248
|
+
mergedAt: z.ZodOptional<z.ZodString>;
|
|
249
|
+
number: z.ZodNumber;
|
|
250
|
+
openedAt: z.ZodString;
|
|
251
|
+
provider: z.ZodString;
|
|
252
|
+
repository: z.ZodString;
|
|
253
|
+
state: z.ZodEnum<{
|
|
254
|
+
closed: "closed";
|
|
255
|
+
merged: "merged";
|
|
256
|
+
open: "open";
|
|
257
|
+
}>;
|
|
258
|
+
title: z.ZodOptional<z.ZodString>;
|
|
259
|
+
url: z.ZodOptional<z.ZodString>;
|
|
260
|
+
}, z.core.$strict>>;
|
|
245
261
|
generatedAt: z.ZodString;
|
|
246
262
|
summary: z.ZodObject<{
|
|
247
263
|
closed: z.ZodNumber;
|
|
@@ -719,6 +735,12 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
719
735
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
720
736
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
721
737
|
}, z.core.$strict>>;
|
|
738
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
739
|
+
email: z.ZodOptional<z.ZodString>;
|
|
740
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
741
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
742
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
743
|
+
}, z.core.$strict>>>;
|
|
722
744
|
eventType: z.ZodOptional<z.ZodString>;
|
|
723
745
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
724
746
|
code_change: "code_change";
|
|
@@ -959,6 +981,12 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
959
981
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
960
982
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
961
983
|
}, z.core.$strict>>;
|
|
984
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
985
|
+
email: z.ZodOptional<z.ZodString>;
|
|
986
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
987
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
988
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
989
|
+
}, z.core.$strict>>>;
|
|
962
990
|
eventType: z.ZodOptional<z.ZodString>;
|
|
963
991
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
964
992
|
code_change: "code_change";
|
|
@@ -1573,6 +1601,12 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1573
1601
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1574
1602
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1575
1603
|
}, z.core.$strict>>;
|
|
1604
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1605
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1606
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
1607
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1608
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1609
|
+
}, z.core.$strict>>>;
|
|
1576
1610
|
eventType: z.ZodOptional<z.ZodString>;
|
|
1577
1611
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
1578
1612
|
code_change: "code_change";
|
|
@@ -1868,6 +1902,12 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1868
1902
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1869
1903
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1870
1904
|
}, z.core.$strict>>;
|
|
1905
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1906
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1907
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
1908
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1909
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1910
|
+
}, z.core.$strict>>>;
|
|
1871
1911
|
eventType: z.ZodOptional<z.ZodString>;
|
|
1872
1912
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
1873
1913
|
code_change: "code_change";
|
package/dist/api/schema.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as conversationTurnFailureReasonSchema, i as conversationTurnFailureCodeSchema } from "../history-9pO1Zd4Y.js";
|
|
2
|
-
import { A as forkConversationBodySchema, C as conversationReportEventSchema, E as conversationSummaryReportSchema, I as INPUT_IMAGE_TYPES, K as messageCardText, M as conversationChildAgentTotalsSchema, N as MAX_INPUT_IMAGES, O as createConversationBodySchema, P as MAX_INPUT_IMAGE_BYTES, S as conversationReportEventDataSchema, T as conversationStatsReportSchema, Y as resolveMessageCards, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, j as forkConversationResponseSchema, k as createConversationMessageBodySchema, l as conversationAuxiliaryCostsSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, s as conversationActivityPreviewSchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, v as conversationPendingAuthorizationSchema, x as conversationPendingMessagesReportSchema, y as conversationPendingMessageDeliverySchema } from "../conversation-
|
|
2
|
+
import { A as forkConversationBodySchema, C as conversationReportEventSchema, E as conversationSummaryReportSchema, I as INPUT_IMAGE_TYPES, K as messageCardText, M as conversationChildAgentTotalsSchema, N as MAX_INPUT_IMAGES, O as createConversationBodySchema, P as MAX_INPUT_IMAGE_BYTES, S as conversationReportEventDataSchema, T as conversationStatsReportSchema, Y as resolveMessageCards, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, j as forkConversationResponseSchema, k as createConversationMessageBodySchema, l as conversationAuxiliaryCostsSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, s as conversationActivityPreviewSchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, v as conversationPendingAuthorizationSchema, x as conversationPendingMessagesReportSchema, y as conversationPendingMessageDeliverySchema } from "../conversation-CKNLYBJt.js";
|
|
3
3
|
import { C as eventAutomationSummarySchema, S as automationVersionSchema, _ as automationSummarySchema, a as automationExecutionSchema, b as automationVersionListSchema, d as automationParamsSchema, f as automationRunListSchema, g as automationSchedulePreviewSchema, h as automationScheduleIntentSchema, i as automationExecutionListSchema, l as automationListQuerySchema, m as automationRunWindowsSchema, n as automationEditSchema, o as automationExecutionStatusDaySchema, p as automationRunSchema, r as automationEventCatalogSchema, s as automationExecutionStatusSchema, t as automationEditErrorSchema, u as automationListSchema, v as automationUpdateSchema, w as scheduledAutomationSummarySchema, x as automationVersionParamsSchema, y as automationVersionActivateSchema } from "../automation-CHdlHVZP.js";
|
|
4
4
|
import { C as skillReportsSchema, S as skillReportSchema, _ as pluginPackageContentItemReportSchema, b as pluginsSchema, g as pluginOperationalReportSchema, h as pluginOperationalReportFeedSchema, m as healthReportSchema, t as webMessageId, v as pluginPackageContentReportSchema, x as runtimeInfoReportSchema, y as pluginSchema } from "../web-message-id-xPI_EFSC.js";
|
|
5
|
-
import { A as connectionSchema, B as codeRepositorySummarySchema, C as locationParamsSchema, D as dailyConversationActivitySchema, F as codeChangeSummarySchema, H as conversationChildAgentsReportSchema, I as codeOverviewReportSchema, L as codePersonReportSchema, M as startConnectionResponseSchema, N as codeActivityDaySchema, O as connectionListSchema, P as codeChangeSummaryReportSchema, R as codeRepositoryParamsSchema, S as locationDirectoryReportSchema, U as stopConversationTurnResponseSchema, V as conversationChildAgentSchema, W as apiErrorSchema, _ as actorProfileReportSchema, a as workspaceBodySchema, b as locationActivityDayReportSchema, c as workspaceRepoSchema, d as createdPersonalTokenSchema, f as personalTokenListSchema, g as actorDirectoryReportSchema, h as revokePersonalTokenResponseSchema, i as deleteWorkspaceResponseSchema, j as disconnectConnectionResponseSchema, k as connectionParamsSchema, l as workspaceSchema, m as personalTokenParamsSchema, n as statsReportSchema, o as workspaceListSchema, p as personalTokenMetadataSchema, r as baselineSnapshotSchema, s as workspaceParamsSchema, t as statSchema, u as createPersonalTokenBodySchema, v as personParamsSchema, x as locationDetailReportSchema, y as personalSpendReportSchema, z as codeRepositoryReportSchema } from "../schema-
|
|
5
|
+
import { A as connectionSchema, B as codeRepositorySummarySchema, C as locationParamsSchema, D as dailyConversationActivitySchema, F as codeChangeSummarySchema, H as conversationChildAgentsReportSchema, I as codeOverviewReportSchema, L as codePersonReportSchema, M as startConnectionResponseSchema, N as codeActivityDaySchema, O as connectionListSchema, P as codeChangeSummaryReportSchema, R as codeRepositoryParamsSchema, S as locationDirectoryReportSchema, U as stopConversationTurnResponseSchema, V as conversationChildAgentSchema, W as apiErrorSchema, _ as actorProfileReportSchema, a as workspaceBodySchema, b as locationActivityDayReportSchema, c as workspaceRepoSchema, d as createdPersonalTokenSchema, f as personalTokenListSchema, g as actorDirectoryReportSchema, h as revokePersonalTokenResponseSchema, i as deleteWorkspaceResponseSchema, j as disconnectConnectionResponseSchema, k as connectionParamsSchema, l as workspaceSchema, m as personalTokenParamsSchema, n as statsReportSchema, o as workspaceListSchema, p as personalTokenMetadataSchema, r as baselineSnapshotSchema, s as workspaceParamsSchema, t as statSchema, u as createPersonalTokenBodySchema, v as personParamsSchema, x as locationDetailReportSchema, y as personalSpendReportSchema, z as codeRepositoryReportSchema } from "../schema-Dy69D4Ge.js";
|
|
6
6
|
export { INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, codeRepositorySummarySchema, connectionListSchema, connectionParamsSchema, connectionSchema, conversationActivityPreviewSchema, conversationAuxiliaryCostsSchema, conversationChildAgentSchema, conversationChildAgentTotalsSchema, conversationChildAgentsReportSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, disconnectConnectionResponseSchema, eventAutomationSummarySchema, forkConversationBodySchema, forkConversationResponseSchema, healthReportSchema, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, resolveMessageCards, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, skillReportSchema, skillReportsSchema, startConnectionResponseSchema, statSchema, statsReportSchema, stopConversationTurnResponseSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
|