@sentry/junior 0.229.0 → 0.230.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (57) hide show
  1. package/dist/{agent-hooks-BfjhfMIy.js → agent-hooks-Im1UUKhZ.js} +10 -10
  2. package/dist/{agent-runner-DtrpkWV5.js → agent-runner-B9dvsdM8.js} +20 -20
  3. package/dist/api/schema.d.ts +20 -269
  4. package/dist/api/schema.js +3 -3
  5. package/dist/api.js +18 -18
  6. package/dist/{app-BRZB3MuD.d.ts → app-xk2-Id1T.d.ts} +2 -2
  7. package/dist/app.d.ts +1 -1
  8. package/dist/app.js +22 -21
  9. package/dist/{briefs-B6KfFLRA.js → briefs-BC3DPfsh.js} +4 -4
  10. package/dist/{catalog-runtime-Byr3trKF.js → catalog-runtime-Blx7IGY9.js} +1 -1
  11. package/dist/{checkpoint-DEYb3Fqm.js → checkpoint-BDaS7x3C.js} +7 -9
  12. package/dist/cli/chat.js +13 -13
  13. package/dist/cli/check.js +3 -3
  14. package/dist/cli/main.js +1 -1
  15. package/dist/cli/plugins.js +3 -3
  16. package/dist/cli/snapshot-create.js +3 -3
  17. package/dist/cli/upgrade.js +3 -3
  18. package/dist/{client-BN5U3CGw.js → client-DucHsb6b.js} +2 -2
  19. package/dist/{config-C4xZrx7G.js → config-HqsfInxG.js} +2 -2
  20. package/dist/{conversation-DOI6Y60M.js → conversation-DsuDtoYR.js} +96 -74
  21. package/dist/{conversation-privacy-CB7wx_tP.js → conversation-privacy-k2Ucs1Lg.js} +1 -1
  22. package/dist/{credential-sync-CuEwdxwY.js → credential-sync-DEF6P_Qr.js} +13 -13
  23. package/dist/{executor-DUqeOd8y.js → executor-C-LEhjeD.js} +1 -1
  24. package/dist/history-DvqWZlYX.d.ts +86 -0
  25. package/dist/{images-B5JLFwJR.js → images-owPAu3eq.js} +3 -3
  26. package/dist/instrumentation.js +2 -2
  27. package/dist/{job-queue-C1AJ5uJt.js → job-queue-CpNnv-n1.js} +1 -1
  28. package/dist/{logging-Muw6EXro.js → logging-BO1fVUQe.js} +1 -1
  29. package/dist/nitro.d.ts +1 -1
  30. package/dist/nitro.js +3 -3
  31. package/dist/{oauth-authorization-CrD-xb8a.js → oauth-authorization-DPPpHxSI.js} +1 -1
  32. package/dist/{oauth-callback-server-DfQos1K1.js → oauth-callback-server-BvVXBrQt.js} +2 -2
  33. package/dist/{pending-auth-pYQpJmtu.js → pending-auth-BWgfMCZE.js} +1 -1
  34. package/dist/{profile-25NkcK4S.js → profile-DpHUuqjR.js} +4 -4
  35. package/dist/{prompt-9C-wUwwx.js → prompt-D5RPLy92.js} +1 -1
  36. package/dist/{registry-DrcbAs8o.js → registry-CIi9NkkR.js} +1 -1
  37. package/dist/{resolve-D9kl_rkl.js → resolve-SohTTVYa.js} +2 -2
  38. package/dist/{runner-D3rf-_hT.js → runner-JhOJ60On.js} +9 -9
  39. package/dist/{sandbox-egress-signals-BfQQz6cs.js → sandbox-egress-signals-DyO-LeUT.js} +1 -1
  40. package/dist/{schema-CXmCvVLn.js → schema-B-Taar1W.js} +1 -1
  41. package/dist/{skills-rwWf3XjQ.js → skills-DElnSC0r.js} +2 -2
  42. package/dist/{spawn-z0fRvZH9.js → spawn-DrH6CP9W.js} +2 -2
  43. package/dist/{task-queue-BGo6K-BX.js → task-queue-BEzJHMbQ.js} +3 -3
  44. package/dist/{task-runner-DH8M0m7l.js → task-runner-DrC1UgCK.js} +9 -9
  45. package/dist/{thread-state-CS67FjfN.js → thread-state-BIXM2uhZ.js} +5 -5
  46. package/dist/{turn-failure-response-DcaALKfm.js → turn-failure-response-9Ql2NYKh.js} +17 -15
  47. package/dist/{turn-lifecycle-DHcpS20C.js → turn-lifecycle-_YDXUFqj.js} +1 -1
  48. package/dist/{turn-session-routing-DlaCHHlu.js → turn-session-routing-DYxwlqQl.js} +1 -1
  49. package/dist/{validation-CNUPIKMW.js → validation-_gPdrVG7.js} +1 -1
  50. package/dist/{version-B0eXuHqw.js → version-Y7rGnMXG.js} +1 -1
  51. package/dist/version.js +1 -1
  52. package/dist/{web-authorization-DrXlSd3Y.js → web-authorization-COF8MUa5.js} +6 -6
  53. package/dist/{web-input-WFoSdz8L.js → web-input-BmLFoSUw.js} +49 -31
  54. package/dist/{work-B0cAo7nv.js → work-CP3L3bNf.js} +7 -7
  55. package/dist/{worker-DNklqmhH.js → worker-DlZMqtCm.js} +5 -5
  56. package/package.json +4 -4
  57. package/dist/history-H-SI5Dej.d.ts +0 -128
@@ -1,16 +1,16 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- import { a as embedTexts, r as completeObject } from "./client-BN5U3CGw.js";
3
- import { F as normalizeIdentityEmail, I as isRecord$2, d as logException, f as logInfo, p as logWarn, v as setSpanAttributes, w as withSpan, y as setSpanStatus } from "./logging-Muw6EXro.js";
2
+ import { a as embedTexts, r as completeObject } from "./client-DucHsb6b.js";
3
+ import { F as normalizeIdentityEmail, I as isRecord$2, d as logException, f as logInfo, p as logWarn, v as setSpanAttributes, w as withSpan, y as setSpanStatus } from "./logging-BO1fVUQe.js";
4
4
  import { a as getClient$1 } from "./sentry-CgWZM_kV.js";
5
- import { t as canExposeConversationPayload } from "./conversation-privacy-CB7wx_tP.js";
6
- import { a as getChatConfig, n as botConfig, s as getSlackBotToken } from "./config-C4xZrx7G.js";
5
+ import { t as canExposeConversationPayload } from "./conversation-privacy-k2Ucs1Lg.js";
6
+ import { a as getChatConfig, n as botConfig, s as getSlackBotToken } from "./config-HqsfInxG.js";
7
7
  import { r as defaultModelId } from "./model-profile-BwU8mqwD.js";
8
8
  import { b as parseSlackMessageTs, c as isActorUserId, h as parseSlackTeamId, m as parseSlackChannelReferenceId, u as parseActorUserId } from "./context-0Et9iVSB.js";
9
9
  import { n as juniorDestinations } from "./destinations-BeBiJeEM.js";
10
- import { C as juniorCodeRepositories, D as juniorIdentities, E as juniorConversations, O as juniorUsers, S as juniorCodeChanges, T as conversationReadColumns, _ as CONVERSATION_METRICS, g as juniorConversationBriefs, h as juniorConversationBindings, i as juniorWorkspaces, m as juniorConversationParticipants, n as juniorSnapshots, r as juniorWorkspaceRepos, t as createJuniorSqlExecutor, v as juniorConversationMetrics, w as juniorAttachments, x as juniorConversationAnnotations, y as juniorConversationEvents } from "./executor-DUqeOd8y.js";
11
- import { C as conversationReportEventSchema, H as conversationBriefSchema, I as readMessageAttachments, K as conversationEventDataSchema, N as readMessageCards, Q as encodeHistoryPayload, U as parseBriefInput, X as historyReplacementSchema, Y as decodeStoredConversationEvent, Z as newConversationEventSchema, rt as usageSchema } from "./conversation-DOI6Y60M.js";
12
- 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-25NkcK4S.js";
13
- import { n as briefEntriesFromReportEvents, s as generateBrief, t as BRIEF_PROMPT } from "./prompt-9C-wUwwx.js";
10
+ import { C as juniorCodeRepositories, D as juniorIdentities, E as juniorConversations, O as juniorUsers, S as juniorCodeChanges, T as conversationReadColumns, _ as CONVERSATION_METRICS, g as juniorConversationBriefs, h as juniorConversationBindings, i as juniorWorkspaces, m as juniorConversationParticipants, n as juniorSnapshots, r as juniorWorkspaceRepos, t as createJuniorSqlExecutor, v as juniorConversationMetrics, w as juniorAttachments, x as juniorConversationAnnotations, y as juniorConversationEvents } from "./executor-C-LEhjeD.js";
11
+ import { $ as encodeHistoryPayload, C as conversationReportEventSchema, H as readMessageCardRefs, L as conversationBriefSchema, Q as newConversationEventSchema, R as parseBriefInput, X as decodeStoredConversationEvent, Z as historyReplacementSchema, it as usageSchema, j as readMessageAttachments, q as conversationEventDataSchema } from "./conversation-DsuDtoYR.js";
12
+ 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-DpHUuqjR.js";
13
+ import { n as briefEntriesFromReportEvents, s as generateBrief, t as BRIEF_PROMPT } from "./prompt-D5RPLy92.js";
14
14
  import { AsyncLocalStorage } from "node:async_hooks";
15
15
  import { z } from "zod";
16
16
  import { createHash, createHmac, randomUUID, timingSafeEqual } from "node:crypto";
@@ -1709,7 +1709,7 @@ async function listConversationAnnotationsById(db, conversationIds) {
1709
1709
  }
1710
1710
  //#endregion
1711
1711
  //#region src/chat/conversations/annotation-results.ts
1712
- /** Save object annotations and return their Message card snapshots. */
1712
+ /** Save object annotations and retain returned facts in the tool result. */
1713
1713
  async function saveObjectAnnotations(conversationId, plugin, value) {
1714
1714
  const annotations = objectAnnotationSchema.array().parse(value);
1715
1715
  await getDb().transaction(async (db) => {
@@ -2115,7 +2115,7 @@ function reportEventData(args) {
2115
2115
  ...typeof data.meta?.eventType === "string" ? { eventType: data.meta.eventType } : void 0,
2116
2116
  ...typeof data.meta?.explicitMention === "boolean" ? { explicitMention: data.meta.explicitMention } : void 0,
2117
2117
  ...args.canExposePayload && typeof data.meta?.trustedSummary === "string" ? { trustedSummary: data.meta.trustedSummary } : void 0,
2118
- ...args.canExposePayload && (data.meta?.cards || data.meta?.objectCards) ? { cards: readMessageCards(data.meta) } : void 0,
2118
+ ...args.canExposePayload && (data.meta?.cards || data.meta?.objectCards) ? { cards: readMessageCardRefs(data.meta) } : void 0,
2119
2119
  ...args.canExposePayload ? {
2120
2120
  text: data.text,
2121
2121
  ...data.meta?.attachments ? { attachments: readMessageAttachments(data.meta.attachments) } : void 0
@@ -1,26 +1,26 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- 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-BN5U3CGw.js";
3
- import { C as withLogContext, F as normalizeIdentityEmail, I as isRecord$3, L as toOptionalNumber, R as toOptionalString, a as extractGenAiUsageSummary, b as setTags, c as getLogContextAttributesForSpan, d as logException, f as logInfo, g as serializeGenAiAttribute, i as extractGenAiUsageAttributes, l as getTracePropagationHeaders, m as normalizeGenAiFinishReason, p as logWarn, s as getLogContextAttributes, u as logError, v as setSpanAttributes, w as withSpan, x as summarizeMessageText, y as setSpanStatus } from "./logging-Muw6EXro.js";
2
+ 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-DucHsb6b.js";
3
+ import { C as withLogContext, F as normalizeIdentityEmail, I as isRecord$3, L as toOptionalNumber, R as toOptionalString, a as extractGenAiUsageSummary, b as setTags, c as getLogContextAttributesForSpan, d as logException, f as logInfo, g as serializeGenAiAttribute, i as extractGenAiUsageAttributes, l as getTracePropagationHeaders, m as normalizeGenAiFinishReason, p as logWarn, s as getLogContextAttributes, u as logError, v as setSpanAttributes, w as withSpan, x as summarizeMessageText, y as setSpanStatus } from "./logging-BO1fVUQe.js";
4
4
  import { m as startInactiveSpan, n as captureMessage, v as withActiveSpan } from "./sentry-CgWZM_kV.js";
5
- 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-CB7wx_tP.js";
6
- import { a as getChatConfig, h as normalizeSlackEmojiName, n as botConfig } from "./config-C4xZrx7G.js";
5
+ 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-k2Ucs1Lg.js";
6
+ import { a as getChatConfig, h as normalizeSlackEmojiName, n as botConfig } from "./config-HqsfInxG.js";
7
7
  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";
8
8
  import { b as parseSlackMessageTs, d as parseStoredSlackActor, g as parseSlackUserId, h as parseSlackTeamId, i as credentialUserSubjectId, l as isUserActor, m as parseSlackChannelReferenceId, n as credentialContextSchema, p as parseSlackChannelId, t as credentialContextForActor } from "./context-0Et9iVSB.js";
9
- import { $t as getConversationStore, A as tryWorkspaceRepoCheckoutPath, B as downloadPrivateSlackFile, C as invalidateReadySnapshot, Ct as createPluginLogger, D as SANDBOX_RUNTIME, E as setWorkspaceSnapshotBuild, G as isDmChannel$1, Ht as saveObjectAnnotations, J as withSlackRetries, K as normalizeSlackConversationId, M as resolveChannelCapabilities, O as deleteWorkspaceSnapshotBuilders, Q as readActorIdentity, Qt as getConversationMessageSearchStore, Rt as matchSlackAttachments, S as WorkspaceValidationError, T as setWorkspaceSnapshot, U as getSlackClient, Ut as createPluginAnnotations, V as getFilePermalink, W as isConversationScopedChannel, Zt as getConversationEventStore, _ as deleteWorkspace, at as STOP_WATCHING_TOOL_NAME, b as listWorkspaces, bn as sameDestination$1, c as getPluginTools, cn as addAgentTurnUsage, dt as deliverWatch, en as getDb, fn as hasAgentTurnUsage, ft as findMatchingWatches, g as createWorkspace, gt as getDashboardConversationLink, ht as JUNIOR_THREAD_STATE_TTL_MS, it as RESOURCE_WATCH_TOOL_SOURCE, j as workspaceRepoCheckoutPath, k as getWorkspaceSnapshotBuilder, l as getPluginUserPromptContributions, lt as createTimerWatch, n as applyPluginFormatMarkdown, nt as RESOURCE_SUBSCRIPTION_DEFAULT_TTL_MS, ot as cancelSubscriptions, pt as listWatches, r as createPluginHookRunner, rt as RESOURCE_SUBSCRIPTION_MAX_TTL_MS, s as getPluginSystemPromptContributions, st as cancelWatch, tn as getSqlExecutor, tt as getSlackToolContext, u as getPlugins, ut as createWatch, v as getWorkspace, vn as parseDestination, vt as getDashboardTaskLink, w as loadSnapshotsForProfile, x as updateWorkspace, y as getWorkspaceByName, z as SlackActionError } from "./agent-hooks-BfjhfMIy.js";
9
+ import { $t as getConversationStore, A as tryWorkspaceRepoCheckoutPath, B as downloadPrivateSlackFile, C as invalidateReadySnapshot, Ct as createPluginLogger, D as SANDBOX_RUNTIME, E as setWorkspaceSnapshotBuild, G as isDmChannel$1, Ht as saveObjectAnnotations, J as withSlackRetries, K as normalizeSlackConversationId, M as resolveChannelCapabilities, O as deleteWorkspaceSnapshotBuilders, Q as readActorIdentity, Qt as getConversationMessageSearchStore, Rt as matchSlackAttachments, S as WorkspaceValidationError, T as setWorkspaceSnapshot, U as getSlackClient, Ut as createPluginAnnotations, V as getFilePermalink, W as isConversationScopedChannel, Zt as getConversationEventStore, _ as deleteWorkspace, at as STOP_WATCHING_TOOL_NAME, b as listWorkspaces, bn as sameDestination$1, c as getPluginTools, cn as addAgentTurnUsage, dt as deliverWatch, en as getDb, fn as hasAgentTurnUsage, ft as findMatchingWatches, g as createWorkspace, gt as getDashboardConversationLink, ht as JUNIOR_THREAD_STATE_TTL_MS, it as RESOURCE_WATCH_TOOL_SOURCE, j as workspaceRepoCheckoutPath, k as getWorkspaceSnapshotBuilder, l as getPluginUserPromptContributions, lt as createTimerWatch, n as applyPluginFormatMarkdown, nt as RESOURCE_SUBSCRIPTION_DEFAULT_TTL_MS, ot as cancelSubscriptions, pt as listWatches, r as createPluginHookRunner, rt as RESOURCE_SUBSCRIPTION_MAX_TTL_MS, s as getPluginSystemPromptContributions, st as cancelWatch, tn as getSqlExecutor, tt as getSlackToolContext, u as getPlugins, ut as createWatch, v as getWorkspace, vn as parseDestination, vt as getDashboardTaskLink, w as loadSnapshotsForProfile, x as updateWorkspace, y as getWorkspaceByName, z as SlackActionError } from "./agent-hooks-Im1UUKhZ.js";
10
10
  import { n as juniorDestinations } from "./destinations-BeBiJeEM.js";
11
- import { D as juniorIdentities, E as juniorConversations, a as juniorSchedulerRuns, c as juniorStats, d as AGENT_INVOCATION_MAILBOX_STATUSES, g as juniorConversationBriefs, k as juniorArtifacts, l as juniorEventAutomations, o as juniorSchedulerTasks, w as juniorAttachments, x as juniorConversationAnnotations } from "./executor-DUqeOd8y.js";
12
- import { $ as contextProvenance, B as briefLinkSchema, H as conversationBriefSchema, R as isVisionImageMediaType, V as briefOutcomeStatusSchema, W as KNOWN_CONVERSATION_EVENT_TYPES, et as instructionActors, j as messageCardRefSchema, nt as sameActorIdentity, tt as instructionProvenanceFor } from "./conversation-DOI6Y60M.js";
11
+ import { D as juniorIdentities, E as juniorConversations, a as juniorSchedulerRuns, c as juniorStats, d as AGENT_INVOCATION_MAILBOX_STATUSES, g as juniorConversationBriefs, k as juniorArtifacts, l as juniorEventAutomations, o as juniorSchedulerTasks, w as juniorAttachments, x as juniorConversationAnnotations } from "./executor-C-LEhjeD.js";
12
+ import { F as briefLinkSchema, G as KNOWN_CONVERSATION_EVENT_TYPES, I as briefOutcomeStatusSchema, L as conversationBriefSchema, N as isVisionImageMediaType, U as removedCardSchema, et as contextProvenance, nt as instructionProvenanceFor, rt as sameActorIdentity, tt as instructionActors } from "./conversation-DsuDtoYR.js";
13
13
  import { a as listReferenceFiles, c as soulPathCandidates, l as worldPathCandidates } from "./package-discovery-7a9YqLhE.js";
14
- import { a as resolveAuthTokenPlaceholder, c as fetchWithBoundedOAuthErrorBodies, d as CredentialUnavailableError, i as resolvePluginHeaderEnvRefs, l as getOAuthProviderErrorAttributes, o as resolvePluginCommandEnv, s as OAuthProviderError } from "./registry-DrcbAs8o.js";
15
- import { n as pluginCatalogRuntime } from "./catalog-runtime-Byr3trKF.js";
16
- import { a as parseSkillInvocation, n as findSkillByName, r as loadSkillsByName, t as discoverSkills } from "./skills-rwWf3XjQ.js";
17
- import { $ as fallbackShortTitle, C as isToolResultError, D as stripRuntimeTurnContext, E as retainRuntimeTurnContext, F as loadTurnRoute, G as recordToolExecutionStarted, H as recordGuardianActionReviewed, I as openConversationProjection, K as recordTurnRoute, L as recordAgentsInstructionsUpdated, M as loadConnectedMcpProviders, N as loadConversationProjection, O as trimTrailingAssistantMessages, R as recordAttachmentsDelivered, S as isContinuablePiBoundary, T as normalizeToolNameFromResult, U as recordMcpProviderConnected, V as recordAuthorizationRequested, _ as getTerminalAssistantMessages, _t as piMessageFromHistoryItem, d as TurnSliceLimitExceededError, et as generateShortTitle, f as assertTurnToolCallLimit, g as getPiMessageRole, gt as historyItemFromPiMessage, h as extractAssistantText, ht as getAgentContextInputLimitTokens, k as TURN_CONTEXT_TAG, m as isTurnExecutionLimitExceededError, mt as getAgentContextCompactionTriggerTokens, n as loadTurnCheckpoint, pt as estimateTextTokens, r as saveTurnCheckpoint, t as continuableMessages, tt as resolveTaskTitle, v as getUserMessageInstructionText, w as isToolResultMessage, x as isAssistantMessage, y as hasRuntimeTurnContext } from "./checkpoint-DEYb3Fqm.js";
18
- import { A as SANDBOX_DATA_ROOT, C as getDefaultRedisStateAdapterFor, D as fenceLock, E as acquireActiveLock, F as sandboxSkillFile, I as sandboxSkillPathResolution, M as SANDBOX_SKILLS_ROOT, N as SANDBOX_WORKSPACE_ROOT, O as withLock, P as sandboxSkillDir, _ as workspaceSnapshotNotReadyUserMessage, a as isAbortError, b as buildNonInteractiveShellScript, c as isSandboxCommandStreamInterruptedError, d as isSnapshottingError, f as throwSandboxOperationError, g as isWorkspaceSnapshotNotReadyError, h as getWorkspaceSnapshotNotReadyError, i as ensureDockerDaemon, j as SANDBOX_REPOS_ROOT, k as sleep$2, l as isSandboxMissingError, m as WorkspaceSnapshotNotReadyError, n as hash, o as isAlreadyExistsError, p as wrapSandboxSetupError, r as isStale, s as isSandboxApiTransientError, t as create, u as isSandboxUnavailableError, v as getVercelSandboxCredentials, w as getStateAdapter, x as runNonInteractiveCommand, y as buildCommandScript } from "./profile-25NkcK4S.js";
19
- import { n as canReusePendingAuthLink, t as abandonReplacedPendingAuth } from "./pending-auth-pYQpJmtu.js";
20
- import { a as NO_REPLY_MARKER, c as CooperativeTurnYieldError, i as sanitizeAssistantText, l as TurnInputCommitLostError, n as decideReply, o as isNoReplyMarker, p as isTurnInputCommitLostError, r as getAssistantReplyText, t as authorizationId } from "./oauth-authorization-CrD-xb8a.js";
21
- import { r as EVENT_AUTHOR_ID } from "./prompt-9C-wUwwx.js";
22
- 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-D9kl_rkl.js";
23
- import { a as getVercelConversationWorkQueue, f as getTurnRequestDeadline, n as sendNextWorkspaceSnapshotJob, r as sendWorkspaceSnapshotJob } from "./job-queue-C1AJ5uJt.js";
14
+ import { a as resolveAuthTokenPlaceholder, c as fetchWithBoundedOAuthErrorBodies, d as CredentialUnavailableError, i as resolvePluginHeaderEnvRefs, l as getOAuthProviderErrorAttributes, o as resolvePluginCommandEnv, s as OAuthProviderError } from "./registry-CIi9NkkR.js";
15
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-Blx7IGY9.js";
16
+ import { a as parseSkillInvocation, n as findSkillByName, r as loadSkillsByName, t as discoverSkills } from "./skills-DElnSC0r.js";
17
+ import { $ as fallbackShortTitle, C as isToolResultError, D as stripRuntimeTurnContext, E as retainRuntimeTurnContext, F as loadTurnRoute, G as recordToolExecutionStarted, H as recordGuardianActionReviewed, I as openConversationProjection, K as recordTurnRoute, L as recordAgentsInstructionsUpdated, M as loadConnectedMcpProviders, N as loadConversationProjection, O as trimTrailingAssistantMessages, R as recordAttachmentsDelivered, S as isContinuablePiBoundary, T as normalizeToolNameFromResult, U as recordMcpProviderConnected, V as recordAuthorizationRequested, _ as getTerminalAssistantMessages, _t as piMessageFromHistoryItem, d as TurnSliceLimitExceededError, et as generateShortTitle, f as assertTurnToolCallLimit, g as getPiMessageRole, gt as historyItemFromPiMessage, h as extractAssistantText, ht as getAgentContextInputLimitTokens, k as TURN_CONTEXT_TAG, m as isTurnExecutionLimitExceededError, mt as getAgentContextCompactionTriggerTokens, n as loadTurnCheckpoint, pt as estimateTextTokens, r as saveTurnCheckpoint, t as continuableMessages, tt as resolveTaskTitle, v as getUserMessageInstructionText, w as isToolResultMessage, x as isAssistantMessage, y as hasRuntimeTurnContext } from "./checkpoint-BDaS7x3C.js";
18
+ import { A as SANDBOX_DATA_ROOT, C as getDefaultRedisStateAdapterFor, D as fenceLock, E as acquireActiveLock, F as sandboxSkillFile, I as sandboxSkillPathResolution, M as SANDBOX_SKILLS_ROOT, N as SANDBOX_WORKSPACE_ROOT, O as withLock, P as sandboxSkillDir, _ as workspaceSnapshotNotReadyUserMessage, a as isAbortError, b as buildNonInteractiveShellScript, c as isSandboxCommandStreamInterruptedError, d as isSnapshottingError, f as throwSandboxOperationError, g as isWorkspaceSnapshotNotReadyError, h as getWorkspaceSnapshotNotReadyError, i as ensureDockerDaemon, j as SANDBOX_REPOS_ROOT, k as sleep$2, l as isSandboxMissingError, m as WorkspaceSnapshotNotReadyError, n as hash, o as isAlreadyExistsError, p as wrapSandboxSetupError, r as isStale, s as isSandboxApiTransientError, t as create, u as isSandboxUnavailableError, v as getVercelSandboxCredentials, w as getStateAdapter, x as runNonInteractiveCommand, y as buildCommandScript } from "./profile-DpHUuqjR.js";
19
+ import { n as canReusePendingAuthLink, t as abandonReplacedPendingAuth } from "./pending-auth-BWgfMCZE.js";
20
+ import { a as NO_REPLY_MARKER, c as CooperativeTurnYieldError, i as sanitizeAssistantText, l as TurnInputCommitLostError, n as decideReply, o as isNoReplyMarker, p as isTurnInputCommitLostError, r as getAssistantReplyText, t as authorizationId } from "./oauth-authorization-DPPpHxSI.js";
21
+ import { r as EVENT_AUTHOR_ID } from "./prompt-D5RPLy92.js";
22
+ 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-SohTTVYa.js";
23
+ import { a as getVercelConversationWorkQueue, f as getTurnRequestDeadline, n as sendNextWorkspaceSnapshotJob, r as sendWorkspaceSnapshotJob } from "./job-queue-CpNnv-n1.js";
24
24
  import { n as privateTraceResultAttributes } from "./private-trace-result-BLvBjy_e.js";
25
25
  import { streamSimple } from "@earendil-works/pi-ai/compat";
26
26
  import { createGatewayProvider } from "@ai-sdk/gateway";
@@ -10786,7 +10786,7 @@ function createDeleteEventAutomationTool(context, catalog) {
10786
10786
  executionMode: "sequential",
10787
10787
  description: "Delete an event automation.",
10788
10788
  inputSchema: z.object({ automationId: z.string().min(1) }).strict(),
10789
- outputSchema: eventAutomationToolResultSchema.omit({ objectCards: true }).extend({ removedCards: z.array(messageCardRefSchema) }),
10789
+ outputSchema: eventAutomationToolResultSchema.omit({ objectCards: true }).extend({ removedCards: z.array(removedCardSchema) }),
10790
10790
  async execute({ automationId }) {
10791
10791
  const { actor } = requireEventAutomationSlackContext(context);
10792
10792
  const current = await writableEventAutomation(context, automationId);
@@ -12085,7 +12085,7 @@ function createSlackScheduleDeleteAutomationTool(context) {
12085
12085
  description: "Delete one scheduled Junior task from the active Slack conversation. Use only task IDs returned for this conversation. Do not delete schedules from threads, other channels, or another user's DM.",
12086
12086
  executionMode: "sequential",
12087
12087
  inputSchema: z.object({ automationId: z.string().min(1).describe("ID of the task to delete. Must be from this active Slack conversation.") }),
12088
- outputSchema: scheduleAutomationToolResultSchema.extend({ removedCards: z.array(messageCardRefSchema) }),
12088
+ outputSchema: scheduleAutomationToolResultSchema.extend({ removedCards: z.array(removedCardSchema) }),
12089
12089
  execute: async ({ automationId }) => {
12090
12090
  const next = {
12091
12091
  ...await getWritableTask({
@@ -21929,7 +21929,7 @@ function createAgentRunner(execute, options) {
21929
21929
  } } : void 0
21930
21930
  };
21931
21931
  if (run.instruction.storedAttachments?.length) {
21932
- const { loadInputImages } = await import("./images-B5JLFwJR.js").then((n) => n.n);
21932
+ const { loadInputImages } = await import("./images-owPAu3eq.js").then((n) => n.n);
21933
21933
  const storage = nextRun.environment?.attachmentStorage;
21934
21934
  if (!storage) throw new Error("Attachment storage is unavailable.");
21935
21935
  nextRun.instruction = {
@@ -1,4 +1,4 @@
1
- import { a as InputImage, c as MessageAttachment, i as messageCardText, n as conversationTurnFailureReasonSchema, o as MAX_INPUT_IMAGES, r as MessageCard, s as MAX_INPUT_IMAGE_BYTES, t as conversationTurnFailureCodeSchema } from "../history-H-SI5Dej.js";
1
+ import { a as resolveMessageCards, c as MAX_INPUT_IMAGES, i as messageCardText, l as MAX_INPUT_IMAGE_BYTES, n as conversationTurnFailureReasonSchema, o as AutomationCard, r as MessageCard, s as InputImage, t as conversationTurnFailureCodeSchema, u as MessageAttachment } from "../history-DvqWZlYX.js";
2
2
  import { z } from "zod";
3
3
  import { OwnedObjectAnnotation } from "@sentry/junior-plugin-api";
4
4
  //#region src/chat/attachments/media.d.ts
@@ -14,19 +14,6 @@ export declare function webMessageId(args: {
14
14
  idempotencyKey: string;
15
15
  }): Promise<string>;
16
16
  //#endregion
17
- //#region src/chat/automations/card.d.ts
18
- /** Saved automation facts shown with a Message, not a live status view. */
19
- declare const automationCardSchema: z.ZodObject<{
20
- kind: z.ZodLiteral<"automation">;
21
- id: z.ZodString;
22
- title: z.ZodString;
23
- url: z.ZodNullable<z.ZodString>;
24
- instruction: z.ZodString;
25
- trigger: z.ZodString;
26
- warning: z.ZodNullable<z.ZodString>;
27
- }, z.core.$strict>;
28
- type AutomationCard = z.output<typeof automationCardSchema>;
29
- //#endregion
30
17
  //#region src/api/activity.d.ts
31
18
  export declare const dailyConversationActivitySchema: z.ZodObject<{
32
19
  active: z.ZodNumber;
@@ -615,70 +602,11 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
615
602
  }>>;
616
603
  explicitMention: z.ZodOptional<z.ZodBoolean>;
617
604
  trustedSummary: z.ZodOptional<z.ZodString>;
618
- cards: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
619
- kind: z.ZodLiteral<"automation">;
620
- id: z.ZodString;
621
- title: z.ZodString;
622
- url: z.ZodNullable<z.ZodString>;
623
- instruction: z.ZodString;
624
- trigger: z.ZodString;
625
- warning: z.ZodNullable<z.ZodString>;
626
- }, z.core.$strict>, z.ZodObject<{
627
- kind: z.ZodLiteral<"object">;
628
- key: z.ZodString;
629
- label: z.ZodString;
630
- objectType: z.ZodEnum<{
631
- code_change: "code_change";
632
- task: "task";
633
- deployment: "deployment";
634
- automation: "automation";
635
- item: "item";
636
- }>;
637
- title: z.ZodString;
638
- url: z.ZodNullable<z.ZodURL>;
639
- description: z.ZodOptional<z.ZodString>;
640
- status: z.ZodOptional<z.ZodString>;
641
- trigger: z.ZodOptional<z.ZodString>;
642
- warning: z.ZodOptional<z.ZodString>;
643
- displayType: z.ZodOptional<z.ZodString>;
644
- sourceUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
645
- facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
646
- type: z.ZodLiteral<"code_change">;
647
- author: z.ZodOptional<z.ZodString>;
648
- sourceBranch: z.ZodOptional<z.ZodString>;
649
- targetBranch: z.ZodOptional<z.ZodString>;
650
- reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
651
- review: z.ZodOptional<z.ZodEnum<{
652
- required: "required";
653
- approved: "approved";
654
- changes_requested: "changes_requested";
655
- }>>;
656
- checks: z.ZodOptional<z.ZodObject<{
657
- passed: z.ZodNumber;
658
- failed: z.ZodNumber;
659
- pending: z.ZodNumber;
660
- }, z.core.$strict>>;
661
- mergeable: z.ZodOptional<z.ZodBoolean>;
662
- changedFiles: z.ZodOptional<z.ZodNumber>;
663
- additions: z.ZodOptional<z.ZodNumber>;
664
- deletions: z.ZodOptional<z.ZodNumber>;
665
- }, z.core.$strict>, z.ZodObject<{
666
- type: z.ZodLiteral<"task">;
667
- assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
668
- priority: z.ZodOptional<z.ZodString>;
669
- project: z.ZodOptional<z.ZodString>;
670
- cycle: z.ZodOptional<z.ZodString>;
671
- dueDate: z.ZodOptional<z.ZodISODate>;
672
- labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
673
- }, z.core.$strict>, z.ZodObject<{
674
- type: z.ZodLiteral<"deployment">;
675
- project: z.ZodOptional<z.ZodString>;
676
- environment: z.ZodOptional<z.ZodString>;
677
- revision: z.ZodOptional<z.ZodString>;
678
- branch: z.ZodOptional<z.ZodString>;
679
- }, z.core.$strict>], "type">>;
605
+ cards: z.ZodOptional<z.ZodArray<z.ZodObject<{
680
606
  plugin: z.ZodString;
681
- }, z.core.$strict>], "kind">>>;
607
+ key: z.ZodString;
608
+ kind: z.ZodLiteral<"object">;
609
+ }, z.core.$strict>>>;
682
610
  text: z.ZodOptional<z.ZodString>;
683
611
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
684
612
  id: z.ZodString;
@@ -909,70 +837,11 @@ export declare const conversationReportEventSchema: z.ZodObject<{
909
837
  }>>;
910
838
  explicitMention: z.ZodOptional<z.ZodBoolean>;
911
839
  trustedSummary: z.ZodOptional<z.ZodString>;
912
- cards: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
913
- kind: z.ZodLiteral<"automation">;
914
- id: z.ZodString;
915
- title: z.ZodString;
916
- url: z.ZodNullable<z.ZodString>;
917
- instruction: z.ZodString;
918
- trigger: z.ZodString;
919
- warning: z.ZodNullable<z.ZodString>;
920
- }, z.core.$strict>, z.ZodObject<{
921
- kind: z.ZodLiteral<"object">;
922
- key: z.ZodString;
923
- label: z.ZodString;
924
- objectType: z.ZodEnum<{
925
- code_change: "code_change";
926
- task: "task";
927
- deployment: "deployment";
928
- automation: "automation";
929
- item: "item";
930
- }>;
931
- title: z.ZodString;
932
- url: z.ZodNullable<z.ZodURL>;
933
- description: z.ZodOptional<z.ZodString>;
934
- status: z.ZodOptional<z.ZodString>;
935
- trigger: z.ZodOptional<z.ZodString>;
936
- warning: z.ZodOptional<z.ZodString>;
937
- displayType: z.ZodOptional<z.ZodString>;
938
- sourceUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
939
- facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
940
- type: z.ZodLiteral<"code_change">;
941
- author: z.ZodOptional<z.ZodString>;
942
- sourceBranch: z.ZodOptional<z.ZodString>;
943
- targetBranch: z.ZodOptional<z.ZodString>;
944
- reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
945
- review: z.ZodOptional<z.ZodEnum<{
946
- required: "required";
947
- approved: "approved";
948
- changes_requested: "changes_requested";
949
- }>>;
950
- checks: z.ZodOptional<z.ZodObject<{
951
- passed: z.ZodNumber;
952
- failed: z.ZodNumber;
953
- pending: z.ZodNumber;
954
- }, z.core.$strict>>;
955
- mergeable: z.ZodOptional<z.ZodBoolean>;
956
- changedFiles: z.ZodOptional<z.ZodNumber>;
957
- additions: z.ZodOptional<z.ZodNumber>;
958
- deletions: z.ZodOptional<z.ZodNumber>;
959
- }, z.core.$strict>, z.ZodObject<{
960
- type: z.ZodLiteral<"task">;
961
- assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
962
- priority: z.ZodOptional<z.ZodString>;
963
- project: z.ZodOptional<z.ZodString>;
964
- cycle: z.ZodOptional<z.ZodString>;
965
- dueDate: z.ZodOptional<z.ZodISODate>;
966
- labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
967
- }, z.core.$strict>, z.ZodObject<{
968
- type: z.ZodLiteral<"deployment">;
969
- project: z.ZodOptional<z.ZodString>;
970
- environment: z.ZodOptional<z.ZodString>;
971
- revision: z.ZodOptional<z.ZodString>;
972
- branch: z.ZodOptional<z.ZodString>;
973
- }, z.core.$strict>], "type">>;
840
+ cards: z.ZodOptional<z.ZodArray<z.ZodObject<{
974
841
  plugin: z.ZodString;
975
- }, z.core.$strict>], "kind">>>;
842
+ key: z.ZodString;
843
+ kind: z.ZodLiteral<"object">;
844
+ }, z.core.$strict>>>;
976
845
  text: z.ZodOptional<z.ZodString>;
977
846
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
978
847
  id: z.ZodString;
@@ -1504,70 +1373,11 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1504
1373
  }>>;
1505
1374
  explicitMention: z.ZodOptional<z.ZodBoolean>;
1506
1375
  trustedSummary: z.ZodOptional<z.ZodString>;
1507
- cards: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1508
- kind: z.ZodLiteral<"automation">;
1509
- id: z.ZodString;
1510
- title: z.ZodString;
1511
- url: z.ZodNullable<z.ZodString>;
1512
- instruction: z.ZodString;
1513
- trigger: z.ZodString;
1514
- warning: z.ZodNullable<z.ZodString>;
1515
- }, z.core.$strict>, z.ZodObject<{
1516
- kind: z.ZodLiteral<"object">;
1517
- key: z.ZodString;
1518
- label: z.ZodString;
1519
- objectType: z.ZodEnum<{
1520
- code_change: "code_change";
1521
- task: "task";
1522
- deployment: "deployment";
1523
- automation: "automation";
1524
- item: "item";
1525
- }>;
1526
- title: z.ZodString;
1527
- url: z.ZodNullable<z.ZodURL>;
1528
- description: z.ZodOptional<z.ZodString>;
1529
- status: z.ZodOptional<z.ZodString>;
1530
- trigger: z.ZodOptional<z.ZodString>;
1531
- warning: z.ZodOptional<z.ZodString>;
1532
- displayType: z.ZodOptional<z.ZodString>;
1533
- sourceUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
1534
- facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1535
- type: z.ZodLiteral<"code_change">;
1536
- author: z.ZodOptional<z.ZodString>;
1537
- sourceBranch: z.ZodOptional<z.ZodString>;
1538
- targetBranch: z.ZodOptional<z.ZodString>;
1539
- reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1540
- review: z.ZodOptional<z.ZodEnum<{
1541
- required: "required";
1542
- approved: "approved";
1543
- changes_requested: "changes_requested";
1544
- }>>;
1545
- checks: z.ZodOptional<z.ZodObject<{
1546
- passed: z.ZodNumber;
1547
- failed: z.ZodNumber;
1548
- pending: z.ZodNumber;
1549
- }, z.core.$strict>>;
1550
- mergeable: z.ZodOptional<z.ZodBoolean>;
1551
- changedFiles: z.ZodOptional<z.ZodNumber>;
1552
- additions: z.ZodOptional<z.ZodNumber>;
1553
- deletions: z.ZodOptional<z.ZodNumber>;
1554
- }, z.core.$strict>, z.ZodObject<{
1555
- type: z.ZodLiteral<"task">;
1556
- assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
1557
- priority: z.ZodOptional<z.ZodString>;
1558
- project: z.ZodOptional<z.ZodString>;
1559
- cycle: z.ZodOptional<z.ZodString>;
1560
- dueDate: z.ZodOptional<z.ZodISODate>;
1561
- labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
1562
- }, z.core.$strict>, z.ZodObject<{
1563
- type: z.ZodLiteral<"deployment">;
1564
- project: z.ZodOptional<z.ZodString>;
1565
- environment: z.ZodOptional<z.ZodString>;
1566
- revision: z.ZodOptional<z.ZodString>;
1567
- branch: z.ZodOptional<z.ZodString>;
1568
- }, z.core.$strict>], "type">>;
1376
+ cards: z.ZodOptional<z.ZodArray<z.ZodObject<{
1569
1377
  plugin: z.ZodString;
1570
- }, z.core.$strict>], "kind">>>;
1378
+ key: z.ZodString;
1379
+ kind: z.ZodLiteral<"object">;
1380
+ }, z.core.$strict>>>;
1571
1381
  text: z.ZodOptional<z.ZodString>;
1572
1382
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1573
1383
  id: z.ZodString;
@@ -1821,70 +1631,11 @@ export declare const conversationEventPageSchema: z.ZodObject<{
1821
1631
  }>>;
1822
1632
  explicitMention: z.ZodOptional<z.ZodBoolean>;
1823
1633
  trustedSummary: z.ZodOptional<z.ZodString>;
1824
- cards: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1825
- kind: z.ZodLiteral<"automation">;
1826
- id: z.ZodString;
1827
- title: z.ZodString;
1828
- url: z.ZodNullable<z.ZodString>;
1829
- instruction: z.ZodString;
1830
- trigger: z.ZodString;
1831
- warning: z.ZodNullable<z.ZodString>;
1832
- }, z.core.$strict>, z.ZodObject<{
1833
- kind: z.ZodLiteral<"object">;
1834
- key: z.ZodString;
1835
- label: z.ZodString;
1836
- objectType: z.ZodEnum<{
1837
- code_change: "code_change";
1838
- task: "task";
1839
- deployment: "deployment";
1840
- automation: "automation";
1841
- item: "item";
1842
- }>;
1843
- title: z.ZodString;
1844
- url: z.ZodNullable<z.ZodURL>;
1845
- description: z.ZodOptional<z.ZodString>;
1846
- status: z.ZodOptional<z.ZodString>;
1847
- trigger: z.ZodOptional<z.ZodString>;
1848
- warning: z.ZodOptional<z.ZodString>;
1849
- displayType: z.ZodOptional<z.ZodString>;
1850
- sourceUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
1851
- facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1852
- type: z.ZodLiteral<"code_change">;
1853
- author: z.ZodOptional<z.ZodString>;
1854
- sourceBranch: z.ZodOptional<z.ZodString>;
1855
- targetBranch: z.ZodOptional<z.ZodString>;
1856
- reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1857
- review: z.ZodOptional<z.ZodEnum<{
1858
- required: "required";
1859
- approved: "approved";
1860
- changes_requested: "changes_requested";
1861
- }>>;
1862
- checks: z.ZodOptional<z.ZodObject<{
1863
- passed: z.ZodNumber;
1864
- failed: z.ZodNumber;
1865
- pending: z.ZodNumber;
1866
- }, z.core.$strict>>;
1867
- mergeable: z.ZodOptional<z.ZodBoolean>;
1868
- changedFiles: z.ZodOptional<z.ZodNumber>;
1869
- additions: z.ZodOptional<z.ZodNumber>;
1870
- deletions: z.ZodOptional<z.ZodNumber>;
1871
- }, z.core.$strict>, z.ZodObject<{
1872
- type: z.ZodLiteral<"task">;
1873
- assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
1874
- priority: z.ZodOptional<z.ZodString>;
1875
- project: z.ZodOptional<z.ZodString>;
1876
- cycle: z.ZodOptional<z.ZodString>;
1877
- dueDate: z.ZodOptional<z.ZodISODate>;
1878
- labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
1879
- }, z.core.$strict>, z.ZodObject<{
1880
- type: z.ZodLiteral<"deployment">;
1881
- project: z.ZodOptional<z.ZodString>;
1882
- environment: z.ZodOptional<z.ZodString>;
1883
- revision: z.ZodOptional<z.ZodString>;
1884
- branch: z.ZodOptional<z.ZodString>;
1885
- }, z.core.$strict>], "type">>;
1634
+ cards: z.ZodOptional<z.ZodArray<z.ZodObject<{
1886
1635
  plugin: z.ZodString;
1887
- }, z.core.$strict>], "kind">>>;
1636
+ key: z.ZodString;
1637
+ kind: z.ZodLiteral<"object">;
1638
+ }, z.core.$strict>>>;
1888
1639
  text: z.ZodOptional<z.ZodString>;
1889
1640
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1890
1641
  id: z.ZodString;
@@ -2665,8 +2416,8 @@ export declare const actorProfileReportSchema: z.ZodObject<{
2665
2416
  durationMs: z.ZodNumber;
2666
2417
  label: z.ZodString;
2667
2418
  active: z.ZodNumber;
2668
- conversations: z.ZodNumber;
2669
2419
  tokens: z.ZodOptional<z.ZodNumber>;
2420
+ conversations: z.ZodNumber;
2670
2421
  }, z.core.$strict>>;
2671
2422
  recentConversations: z.ZodArray<z.ZodObject<{
2672
2423
  displayTitle: z.ZodString;
@@ -2859,8 +2610,8 @@ export declare const actorProfileReportSchema: z.ZodObject<{
2859
2610
  durationMs: z.ZodNumber;
2860
2611
  label: z.ZodString;
2861
2612
  active: z.ZodNumber;
2862
- conversations: z.ZodNumber;
2863
2613
  tokens: z.ZodOptional<z.ZodNumber>;
2614
+ conversations: z.ZodNumber;
2864
2615
  }, z.core.$strict>>;
2865
2616
  totals: z.ZodObject<{
2866
2617
  active: z.ZodNumber;
@@ -4075,4 +3826,4 @@ type PluginPackageContentReport = z.infer<typeof pluginPackageContentReportSchem
4075
3826
  type PluginOperationalReport = z.infer<typeof pluginOperationalReportSchema>;
4076
3827
  type PluginOperationalReportFeed = z.infer<typeof pluginOperationalReportFeedSchema>;
4077
3828
  //#endregion
4078
- 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 AutomationCard, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationSummary, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAuxiliaryCosts, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, type InputImage, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, type MessageCard, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type WorkspaceReport, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, messageCardText };
3829
+ 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 AutomationCard, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationSummary, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAuxiliaryCosts, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, type InputImage, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, type MessageCard, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type WorkspaceReport, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, messageCardText, resolveMessageCards };
@@ -1,4 +1,4 @@
1
- import { C as conversationReportEventSchema, D as createConversationBodySchema, E as conversationSummaryReportSchema, F as MAX_INPUT_IMAGE_BYTES, J as conversationTurnFailureReasonSchema, L as INPUT_IMAGE_TYPES, M as messageCardText, O as createConversationMessageBodySchema, P as MAX_INPUT_IMAGES, S as conversationReportEventDataSchema, T as conversationStatsReportSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, l as conversationAuxiliaryCostsSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, q as conversationTurnFailureCodeSchema, r as archiveConversationBodySchema, s as conversationActivityPreviewSchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, v as conversationPendingAuthorizationSchema, x as conversationPendingMessagesReportSchema, y as conversationPendingMessageDeliverySchema } from "../conversation-DOI6Y60M.js";
1
+ import { A as MAX_INPUT_IMAGE_BYTES, C as conversationReportEventSchema, D as createConversationBodySchema, E as conversationSummaryReportSchema, J as conversationTurnFailureCodeSchema, M as INPUT_IMAGE_TYPES, O as createConversationMessageBodySchema, S as conversationReportEventDataSchema, T as conversationStatsReportSchema, V as messageCardText, W as resolveMessageCards, Y as conversationTurnFailureReasonSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, k as MAX_INPUT_IMAGES, 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-DsuDtoYR.js";
2
2
  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";
3
- import { A as actorProfileReportSchema, B as dailyConversationActivitySchema, C as createPersonalTokenBodySchema, D as personalTokenParamsSchema, E as personalTokenMetadataSchema, F as locationDirectoryReportSchema, G as codePersonReportSchema, H as codeChangeSummaryReportSchema, I as locationParamsSchema, K as codeRepositorySummarySchema, M as personalSpendReportSchema, N as locationActivityDayReportSchema, O as revokePersonalTokenResponseSchema, P as locationDetailReportSchema, S as scheduledAutomationSummarySchema, T as personalTokenListSchema, U as codeChangeSummarySchema, V as codeActivityDaySchema, W as codeOverviewReportSchema, _ as automationRunListSchema, a as workspaceBodySchema, b as automationSummarySchema, c as workspaceRepoSchema, d as automationExecutionSchema, f as automationExecutionStatusDaySchema, g as automationParamsSchema, h as automationListSchema, i as deleteWorkspaceResponseSchema, j as personParamsSchema, k as actorDirectoryReportSchema, l as workspaceSchema, m as automationListQuerySchema, n as statsReportSchema, o as workspaceListSchema, p as automationExecutionStatusSchema, q as apiErrorSchema, r as baselineSnapshotSchema, s as workspaceParamsSchema, t as statSchema, u as automationExecutionListSchema, v as automationRunSchema, w as createdPersonalTokenSchema, x as eventAutomationSummarySchema, y as automationRunWindowsSchema } from "../schema-CXmCvVLn.js";
4
- export { INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationSummarySchema, baselineSnapshotSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositorySummarySchema, conversationActivityPreviewSchema, conversationAuxiliaryCostsSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, eventAutomationSummarySchema, healthReportSchema, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, skillReportSchema, skillReportsSchema, statSchema, statsReportSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
3
+ import { A as actorProfileReportSchema, B as dailyConversationActivitySchema, C as createPersonalTokenBodySchema, D as personalTokenParamsSchema, E as personalTokenMetadataSchema, F as locationDirectoryReportSchema, G as codePersonReportSchema, H as codeChangeSummaryReportSchema, I as locationParamsSchema, K as codeRepositorySummarySchema, M as personalSpendReportSchema, N as locationActivityDayReportSchema, O as revokePersonalTokenResponseSchema, P as locationDetailReportSchema, S as scheduledAutomationSummarySchema, T as personalTokenListSchema, U as codeChangeSummarySchema, V as codeActivityDaySchema, W as codeOverviewReportSchema, _ as automationRunListSchema, a as workspaceBodySchema, b as automationSummarySchema, c as workspaceRepoSchema, d as automationExecutionSchema, f as automationExecutionStatusDaySchema, g as automationParamsSchema, h as automationListSchema, i as deleteWorkspaceResponseSchema, j as personParamsSchema, k as actorDirectoryReportSchema, l as workspaceSchema, m as automationListQuerySchema, n as statsReportSchema, o as workspaceListSchema, p as automationExecutionStatusSchema, q as apiErrorSchema, r as baselineSnapshotSchema, s as workspaceParamsSchema, t as statSchema, u as automationExecutionListSchema, v as automationRunSchema, w as createdPersonalTokenSchema, x as eventAutomationSummarySchema, y as automationRunWindowsSchema } from "../schema-B-Taar1W.js";
4
+ export { INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationSummarySchema, baselineSnapshotSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositorySummarySchema, conversationActivityPreviewSchema, conversationAuxiliaryCostsSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, eventAutomationSummarySchema, healthReportSchema, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, resolveMessageCards, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, skillReportSchema, skillReportsSchema, statSchema, statsReportSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
package/dist/api.js CHANGED
@@ -1,19 +1,19 @@
1
- import { Ct as cancelHumanFacingPendingMessages, M as parseSlackThreadId, Nt as getConversation, b as readStats, k as readLiveAttachment } from "./agent-runner-DtrpkWV5.js";
2
- import { d as logException, p as logWarn } from "./logging-Muw6EXro.js";
1
+ import { Ct as cancelHumanFacingPendingMessages, M as parseSlackThreadId, Nt as getConversation, b as readStats, k as readLiveAttachment } from "./agent-runner-B9dvsdM8.js";
2
+ import { d as logException, p as logWarn } from "./logging-BO1fVUQe.js";
3
3
  import { b as parseSlackMessageTs, h as parseSlackTeamId, p as parseSlackChannelId } from "./context-0Et9iVSB.js";
4
- import { $ as resolveViewerUser, $t as getConversationStore, At as conversationNotArchivedForEmail, Ct as createPluginLogger, D as SANDBOX_RUNTIME, Dt as conversationArchivedForUser, Et as conversationArchivedForEmail, Ft as readConversationEventPage, Gt as listConversationAnnotationsById, It as buildSentryConversationUrl, J as withSlackRetries, Mt as viewerConversationMembership, Ot as conversationHasParticipantEmail, Pt as readLatestConversationBrief, S as WorkspaceValidationError, Tt as conversationArchiveTimes, U as getSlackClient, Wt as listConversationAnnotations, Z as findUserByEmail, _ as deleteWorkspace, an as locationFromRow, b as listWorkspaces, dn as agentTurnUsageSchema, en as getDb, et as updateViewerDisplayName, fn as hasAgentTurnUsage, g as createWorkspace, j as workspaceRepoCheckoutPath, jt as conversationNotArchivedForUser, kt as conversationHasParticipantUser, pn as resolveRootConversationId, sn as parseSessionSource, tn as getSqlExecutor, u as getPlugins, v as getWorkspace, wt as readConversationAccessFromSql, x as updateWorkspace } from "./agent-hooks-BfjhfMIy.js";
4
+ import { $ as resolveViewerUser, $t as getConversationStore, At as conversationNotArchivedForEmail, Ct as createPluginLogger, D as SANDBOX_RUNTIME, Dt as conversationArchivedForUser, Et as conversationArchivedForEmail, Ft as readConversationEventPage, Gt as listConversationAnnotationsById, It as buildSentryConversationUrl, J as withSlackRetries, Mt as viewerConversationMembership, Ot as conversationHasParticipantEmail, Pt as readLatestConversationBrief, S as WorkspaceValidationError, Tt as conversationArchiveTimes, U as getSlackClient, Wt as listConversationAnnotations, Z as findUserByEmail, _ as deleteWorkspace, an as locationFromRow, b as listWorkspaces, dn as agentTurnUsageSchema, en as getDb, et as updateViewerDisplayName, fn as hasAgentTurnUsage, g as createWorkspace, j as workspaceRepoCheckoutPath, jt as conversationNotArchivedForUser, kt as conversationHasParticipantUser, pn as resolveRootConversationId, sn as parseSessionSource, tn as getSqlExecutor, u as getPlugins, v as getWorkspace, wt as readConversationAccessFromSql, x as updateWorkspace } from "./agent-hooks-Im1UUKhZ.js";
5
5
  import { n as juniorDestinations } from "./destinations-BeBiJeEM.js";
6
- import { C as juniorCodeRepositories, D as juniorIdentities, E as juniorConversations, O as juniorUsers, S as juniorCodeChanges, T as conversationReadColumns, b as juniorApiTokens, g as juniorConversationBriefs, m as juniorConversationParticipants, v as juniorConversationMetrics, y as juniorConversationEvents } from "./executor-DUqeOd8y.js";
7
- import { D as createConversationBodySchema, I as readMessageAttachments, L as INPUT_IMAGE_TYPES, O as createConversationMessageBodySchema, T as conversationStatsReportSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, c as conversationAttachmentParamsSchema, d as conversationDetailReportSchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, x as conversationPendingMessagesReportSchema } from "./conversation-DOI6Y60M.js";
8
- import { n as hash, t as create } from "./profile-25NkcK4S.js";
9
- import { t as getCachedSnapshot } from "./resolve-D9kl_rkl.js";
10
- import { a as getVercelConversationWorkQueue } from "./job-queue-C1AJ5uJt.js";
6
+ import { C as juniorCodeRepositories, D as juniorIdentities, E as juniorConversations, O as juniorUsers, S as juniorCodeChanges, T as conversationReadColumns, b as juniorApiTokens, g as juniorConversationBriefs, m as juniorConversationParticipants, v as juniorConversationMetrics, y as juniorConversationEvents } from "./executor-C-LEhjeD.js";
7
+ import { D as createConversationBodySchema, M as INPUT_IMAGE_TYPES, O as createConversationMessageBodySchema, T as conversationStatsReportSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, c as conversationAttachmentParamsSchema, d as conversationDetailReportSchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, j as readMessageAttachments, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, x as conversationPendingMessagesReportSchema } from "./conversation-DsuDtoYR.js";
8
+ import { n as hash, t as create } from "./profile-DpHUuqjR.js";
9
+ import { t as getCachedSnapshot } from "./resolve-SohTTVYa.js";
10
+ import { a as getVercelConversationWorkQueue } from "./job-queue-CpNnv-n1.js";
11
11
  import { C as skillReportsSchema, a as fillUtcHours, b as pluginsSchema, c as sumUtcHoursIntoSixHours, d as trailingUtcSixHourWindow, f as utcDayKey, h as pluginOperationalReportFeedSchema, i as fillUtcDays, l as trailingUtcDayWindow, m as healthReportSchema, n as DAY_MS$1, o as fillUtcSixHours, p as utcHourKey, r as HOUR_MS$1, s as startOfUtcHour, u as trailingUtcHourWindow, x as runtimeInfoReportSchema } from "./web-message-id-xPI_EFSC.js";
12
- import { F as createVercelAttachmentStorage, _ as readViewerAutomations, a as webActorFromEmail, b as clearSlackPendingReactions, c as getProductionSlackAdapter, d as ViewerTaskNotFoundError, f as deleteViewerTask, h as readViewerAutomationRuns, k as legacyWebMailboxMetadataSchema, l as formatSlackConversationRedactedLabel, m as readViewerAutomationExecutions, p as readConversationSourceTask, r as createAndEnqueueConversation, t as appendAndEnqueueWebMessage, u as resolveSlackConversationContextFromThreadId, x as lookupSlackUser, z as readHealthReport } from "./web-input-WFoSdz8L.js";
13
- import { A as conversationAggregateColumns, j as conversationRangeColumns, k as conversationActiveDaysColumn } from "./task-runner-DH8M0m7l.js";
14
- import { r as getWebAuthorization } from "./web-authorization-DrXlSd3Y.js";
15
- import { t as decodeInputImages } from "./images-B5JLFwJR.js";
16
- import { A as actorProfileReportSchema, C as createPersonalTokenBodySchema, D as personalTokenParamsSchema, F as locationDirectoryReportSchema, G as codePersonReportSchema, I as locationParamsSchema, L as activityDays$1, M as personalSpendReportSchema, O as revokePersonalTokenResponseSchema, P as locationDetailReportSchema, R as activityHours$1, T as personalTokenListSchema, W as codeOverviewReportSchema, _ as automationRunListSchema, a as workspaceBodySchema, g as automationParamsSchema, h as automationListSchema, i as deleteWorkspaceResponseSchema, j as personParamsSchema, k as actorDirectoryReportSchema, l as workspaceSchema, m as automationListQuerySchema, n as statsReportSchema, o as workspaceListSchema, q as apiErrorSchema, s as workspaceParamsSchema, u as automationExecutionListSchema, w as createdPersonalTokenSchema, z as activitySixHours$1 } from "./schema-CXmCvVLn.js";
12
+ import { F as createVercelAttachmentStorage, _ as readViewerAutomations, a as webActorFromEmail, b as clearSlackPendingReactions, c as getProductionSlackAdapter, d as ViewerTaskNotFoundError, f as deleteViewerTask, h as readViewerAutomationRuns, k as legacyWebMailboxMetadataSchema, l as formatSlackConversationRedactedLabel, m as readViewerAutomationExecutions, p as readConversationSourceTask, r as createAndEnqueueConversation, t as appendAndEnqueueWebMessage, u as resolveSlackConversationContextFromThreadId, x as lookupSlackUser, z as readHealthReport } from "./web-input-BmLFoSUw.js";
13
+ import { A as conversationAggregateColumns, j as conversationRangeColumns, k as conversationActiveDaysColumn } from "./task-runner-DrC1UgCK.js";
14
+ import { r as getWebAuthorization } from "./web-authorization-COF8MUa5.js";
15
+ import { t as decodeInputImages } from "./images-owPAu3eq.js";
16
+ import { A as actorProfileReportSchema, C as createPersonalTokenBodySchema, D as personalTokenParamsSchema, F as locationDirectoryReportSchema, G as codePersonReportSchema, I as locationParamsSchema, L as activityDays$1, M as personalSpendReportSchema, O as revokePersonalTokenResponseSchema, P as locationDetailReportSchema, R as activityHours$1, T as personalTokenListSchema, W as codeOverviewReportSchema, _ as automationRunListSchema, a as workspaceBodySchema, g as automationParamsSchema, h as automationListSchema, i as deleteWorkspaceResponseSchema, j as personParamsSchema, k as actorDirectoryReportSchema, l as workspaceSchema, m as automationListQuerySchema, n as statsReportSchema, o as workspaceListSchema, q as apiErrorSchema, s as workspaceParamsSchema, u as automationExecutionListSchema, w as createdPersonalTokenSchema, z as activitySixHours$1 } from "./schema-B-Taar1W.js";
17
17
  import { Hono } from "hono";
18
18
  import path from "node:path";
19
19
  import { z } from "zod";
@@ -3059,7 +3059,7 @@ async function readPeoplePluginReports(args) {
3059
3059
  reports: [],
3060
3060
  source: "plugins"
3061
3061
  });
3062
- const { getPluginProfileReports } = await import("./agent-hooks-BfjhfMIy.js").then((n) => n.t);
3062
+ const { getPluginProfileReports } = await import("./agent-hooks-Im1UUKhZ.js").then((n) => n.t);
3063
3063
  return pluginOperationalReportFeedSchema.parse({
3064
3064
  generatedAt: new Date(nowMs).toISOString(),
3065
3065
  reports: await getPluginProfileReports({
@@ -3668,7 +3668,7 @@ function readDescriptionText(home) {
3668
3668
  }
3669
3669
  /** Read discovered skill names for authenticated runtime diagnostics. */
3670
3670
  async function readSkillReports() {
3671
- const { discoverSkills } = await import("./skills-rwWf3XjQ.js").then((n) => n.o);
3671
+ const { discoverSkills } = await import("./skills-DElnSC0r.js").then((n) => n.o);
3672
3672
  const skills = await discoverSkills();
3673
3673
  return skillReportsSchema.parse(skills.map((skill) => ({
3674
3674
  name: skill.name,
@@ -3677,7 +3677,7 @@ async function readSkillReports() {
3677
3677
  }
3678
3678
  /** Read safe configured plugin metadata for authenticated runtime diagnostics. */
3679
3679
  async function readPlugins() {
3680
- const { pluginCatalogRuntime } = await import("./catalog-runtime-Byr3trKF.js").then((n) => n.t);
3680
+ const { pluginCatalogRuntime } = await import("./catalog-runtime-Blx7IGY9.js").then((n) => n.t);
3681
3681
  return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
3682
3682
  configKeys: plugin.manifest.configKeys ?? [],
3683
3683
  description: plugin.manifest.description,
@@ -3689,7 +3689,7 @@ async function readPlugins() {
3689
3689
  async function readRuntimeInfoReport() {
3690
3690
  const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
3691
3691
  import("./package-discovery-7a9YqLhE.js").then((n) => n.r),
3692
- import("./catalog-runtime-Byr3trKF.js").then((n) => n.t),
3692
+ import("./catalog-runtime-Blx7IGY9.js").then((n) => n.t),
3693
3693
  readPlugins(),
3694
3694
  readSkillReports()
3695
3695
  ]);
@@ -3706,7 +3706,7 @@ async function readRuntimeInfoReport() {
3706
3706
  /** Read sanitized operational summaries contributed by plugins. */
3707
3707
  async function readPluginOperationalReportFeed() {
3708
3708
  const nowMs = Date.now();
3709
- const { getPluginOperationalReports } = await import("./agent-hooks-BfjhfMIy.js").then((n) => n.t);
3709
+ const { getPluginOperationalReports } = await import("./agent-hooks-Im1UUKhZ.js").then((n) => n.t);
3710
3710
  return pluginOperationalReportFeedSchema.parse({
3711
3711
  source: "plugins",
3712
3712
  generatedAt: new Date(nowMs).toISOString(),