@sentry/junior 0.262.0 → 0.263.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 (62) hide show
  1. package/dist/{adapter-t-Y9RHML.js → adapter-BIacI0Bt.js} +1 -1
  2. package/dist/{admin-BCqeFndQ.js → admin-C7vUk7s9.js} +1 -1
  3. package/dist/{agent-hooks-9q2zdKHL.js → agent-hooks-CqnZfuCt.js} +73 -32
  4. package/dist/{agent-runner-Cx6NO5LE.js → agent-runner-BUBas7Yy.js} +123 -733
  5. package/dist/api/schema.d.ts +4 -0
  6. package/dist/api/schema.js +3 -3
  7. package/dist/api.js +28 -27
  8. package/dist/app.js +30 -29
  9. package/dist/{assistant-reply-B2qUBAwL.js → assistant-reply-BFmjgJjD.js} +1 -1
  10. package/dist/{automation-DrpcA-SX.js → automation-CWX0qL8U.js} +1 -1
  11. package/dist/{briefs-DsGH2Vym.js → briefs-h55v5lX9.js} +4 -4
  12. package/dist/{catalog-runtime-CfwKT0sn.js → catalog-runtime-Suf-aLlh.js} +1 -1
  13. package/dist/cli/chat.js +15 -15
  14. package/dist/cli/check.js +3 -3
  15. package/dist/cli/main.js +3 -3
  16. package/dist/cli/plugins.js +4 -4
  17. package/dist/cli/snapshot-create.js +4 -4
  18. package/dist/cli/upgrade.js +3 -3
  19. package/dist/{client-DpfjZgNk.js → client-DZBCBj1M.js} +2 -2
  20. package/dist/{config-BiCtNiu5.js → config-Dnv8KmNs.js} +2 -2
  21. package/dist/{connections-D9IKbfk-.js → connections-Br0_xv27.js} +10 -10
  22. package/dist/{conversation-CvuKJ3tA.js → conversation-B0baEwoA.js} +2 -0
  23. package/dist/{conversation-privacy-CBUI0frD.js → conversation-privacy-FY8yc2q3.js} +1 -1
  24. package/dist/{credential-sync-Bu6ZOuOk.js → credential-sync-BvkiyWF5.js} +14 -14
  25. package/dist/{executor-O8xqLDN6.js → executor-J9k2sp9m.js} +2 -2
  26. package/dist/{images-AM1exvU0.js → images-DV2FlEGL.js} +3 -3
  27. package/dist/instrumentation.js +2 -2
  28. package/dist/{job-queue-DmarAQGI.js → job-queue-B4yTgklN.js} +1 -1
  29. package/dist/{logging-dZN1Bvtu.js → logging-Dk_FpF36.js} +1 -1
  30. package/dist/{message-C_g2S8kv.js → message-BzseAFH1.js} +4 -3
  31. package/dist/nitro.js +3 -3
  32. package/dist/{oauth-callback-server-DvvOvr4q.js → oauth-callback-server-bTspTMCC.js} +2 -2
  33. package/dist/{profile-BP2N5uDY.js → profile-Dq5I7TV1.js} +3 -3
  34. package/dist/{prompt-DeVax2qO.js → prompt-CxatQVaj.js} +1 -1
  35. package/dist/{registry-BUje_knT.js → registry-BFzQFV_y.js} +1 -1
  36. package/dist/{resolve-DftZiYNU.js → resolve-CnRHib0U.js} +3 -3
  37. package/dist/{result-CRMRT9CE.js → result-DczfmNBa.js} +8 -7
  38. package/dist/{runner-4mmL2Pt1.js → runner-CJd9Wec-.js} +11 -11
  39. package/dist/{sandbox-egress-signals-1ysv0z5A.js → sandbox-egress-signals-DUmVkOx4.js} +1 -1
  40. package/dist/{schema-XuTZukI9.js → schema-QidbykYl.js} +2 -2
  41. package/dist/{service-account-B1sH3P7d.js → service-account-BI2kQDrb.js} +3 -3
  42. package/dist/{service-account-Del2I_x3.js → service-account-x2QZXm4X.js} +3 -3
  43. package/dist/{session-stop-ZuyOHxdK.js → session-stop-CtyJsnEj.js} +11 -11
  44. package/dist/{skills-lPeepA2b.js → skills-Dbzx9-rS.js} +2 -2
  45. package/dist/{spawn-DovpdlrW.js → spawn-D8WU99UV.js} +2 -2
  46. package/dist/store-TKg1HVKx.js +697 -0
  47. package/dist/{store-dZynGGFW.js → store-UlOrW6JC.js} +6 -6
  48. package/dist/{task-queue-CmMCtzHO.js → task-queue-BRB49H-J.js} +3 -3
  49. package/dist/{task-runner-BRgJ5e0s.js → task-runner-C575f2Dd.js} +10 -10
  50. package/dist/{tasks-Bh2qYaed.js → tasks-LOItiYgL.js} +42 -53
  51. package/dist/{thread-state-DA37FsAT.js → thread-state-IDHdZA7R.js} +5 -5
  52. package/dist/{turn-failure-response-BLcscQ-f.js → turn-failure-response-h_LSXJ-M.js} +46 -20
  53. package/dist/{turn-lifecycle-D0e887FM.js → turn-lifecycle-Cvi6Sb8Y.js} +1 -1
  54. package/dist/{turn-session-routing-DdbSbJS6.js → turn-session-routing-5Nyv4fso.js} +1 -1
  55. package/dist/{validation-DtcovXqq.js → validation-BeTriWC2.js} +1 -1
  56. package/dist/{version-JcDaJ75p.js → version-BQX_hLDC.js} +1 -1
  57. package/dist/version.js +1 -1
  58. package/dist/{viewer-oMTUVAcR.js → viewer-DmNRM88V.js} +3 -3
  59. package/dist/{web-input-FQ5wgqYn.js → web-input-BHcGXSox.js} +96 -35
  60. package/dist/{work-BiIKfayl.js → work-DLJMV02b.js} +10 -9
  61. package/dist/{worker-BZ7l75NM.js → worker-vfG2ESg1.js} +5 -5
  62. package/package.json +5 -5
@@ -1,4 +1,4 @@
1
- import { i as getChatConfig } from "./config-BiCtNiu5.js";
1
+ import { i as getChatConfig } from "./config-Dnv8KmNs.js";
2
2
  import { AsyncLocalStorage } from "node:async_hooks";
3
3
  import { z } from "zod";
4
4
  import { createHash, createHmac, timingSafeEqual } from "node:crypto";
@@ -1,5 +1,5 @@
1
1
  import { d as setTag, f as setUser, h as startSpan, i as getActiveSpan, l as logger, n as captureMessage, p as spanToJSON, s as getTraceData, t as captureException, y as withScope } from "./sentry-BBUlHih9.js";
2
- import { t as JUNIOR_VERSION } from "./version-JcDaJ75p.js";
2
+ import { t as JUNIOR_VERSION } from "./version-BQX_hLDC.js";
3
3
  import path from "node:path";
4
4
  import { styleText } from "node:util";
5
5
  import { ConfigError, configureSync, getConfig, getLogger } from "@logtape/logtape";
@@ -1,7 +1,8 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-nwUcYXjP.js";
2
- import { Dt as toolInvocationDestination, Et as actorFromRun, X as getActiveAgentInvocationForConversation, Y as findChildAgentConversationId, gt as PARENT_AGENT_TARGET, ht as AgentMessageTargetError, q as createAgentInvocationForMessage } from "./agent-runner-Cx6NO5LE.js";
3
- import { n as enqueueAgentMessageToParent } from "./result-CRMRT9CE.js";
4
- import { r as enqueueAgentInvocation } from "./work-BiIKfayl.js";
2
+ import { $ as toolInvocationDestination, Q as actorFromRun } from "./agent-runner-BUBas7Yy.js";
3
+ import { P as PARENT_AGENT_TARGET, i as createAgentInvocationForMessage, j as AgentMessageTargetError, o as findChildAgentConversationId, s as getActiveAgentInvocationForConversation } from "./store-TKg1HVKx.js";
4
+ import { n as enqueueAgentMessageToParent } from "./result-DczfmNBa.js";
5
+ import { r as enqueueAgentInvocation } from "./work-DLJMV02b.js";
5
6
  // src/chat/agent-invocations/message.ts
6
7
  var message_exports = /* @__PURE__ */ __exportAll({ bindMessageAgent: () => bindMessageAgent });
7
8
  /**
package/dist/nitro.js CHANGED
@@ -1,8 +1,8 @@
1
- import { A as JUNIOR_RETENTION_CRON_SCHEDULE, D as JUNIOR_HEARTBEAT_CRON_SCHEDULE, E as JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE, M as JUNIOR_WORKSPACE_SNAPSHOT_JOB_CALLBACK_ROUTE, O as JUNIOR_HEARTBEAT_ROUTE, j as JUNIOR_RETENTION_ROUTE, k as JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE } from "./logging-dZN1Bvtu.js";
1
+ import { A as JUNIOR_RETENTION_CRON_SCHEDULE, D as JUNIOR_HEARTBEAT_CRON_SCHEDULE, E as JUNIOR_CONVERSATION_WORK_CALLBACK_ROUTE, M as JUNIOR_WORKSPACE_SNAPSHOT_JOB_CALLBACK_ROUTE, O as JUNIOR_HEARTBEAT_ROUTE, j as JUNIOR_RETENTION_ROUTE, k as JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE } from "./logging-Dk_FpF36.js";
2
2
  import { d as resolvePackageDir, t as discoverInstalledPluginPackageContent, u as isValidPackageName } from "./package-discovery-DJBompdd.js";
3
- import { o as resolveConversationWorkQueueTopic, t as WORKSPACE_SNAPSHOT_JOB_QUEUE_TOPIC } from "./job-queue-DmarAQGI.js";
3
+ import { o as resolveConversationWorkQueueTopic, t as WORKSPACE_SNAPSHOT_JOB_QUEUE_TOPIC } from "./job-queue-B4yTgklN.js";
4
4
  import { a as pluginRuntimeRegistrationsFromPluginSet, r as pluginCatalogConfigFromPluginSet } from "./plugins-DOm9Y6qI.js";
5
- import { t as PLUGIN_TASK_QUEUE_TOPIC } from "./task-queue-CmMCtzHO.js";
5
+ import { t as PLUGIN_TASK_QUEUE_TOPIC } from "./task-queue-BRB49H-J.js";
6
6
  import { n as loadPluginSetFromModule, r as resolvePluginModule } from "./plugin-module-Cf5gVPWP.js";
7
7
  import path from "node:path";
8
8
  import { cpSync, existsSync, mkdirSync, readdirSync, statSync } from "node:fs";
@@ -1,5 +1,5 @@
1
- import { yn as createUserTokenStore } from "./tasks-Bh2qYaed.js";
2
- import { a as GET, n as syncLocalOAuthCredential, r as GET$1 } from "./credential-sync-Bu6ZOuOk.js";
1
+ import { bn as createUserTokenStore } from "./tasks-LOItiYgL.js";
2
+ import { a as GET, n as syncLocalOAuthCredential, r as GET$1 } from "./credential-sync-BvkiyWF5.js";
3
3
  import { createServer } from "node:http";
4
4
  // src/chat/local/oauth-callback-server.ts
5
5
  const LOCAL_OAUTH_TIMEOUT_MS = 6e5;
@@ -1,6 +1,6 @@
1
- import { C as toOptionalTrimmed } from "./client-DpfjZgNk.js";
2
- import { b as setSpanStatus, y as setSpanAttributes } from "./logging-dZN1Bvtu.js";
3
- import { n as pluginCatalogRuntime } from "./catalog-runtime-CfwKT0sn.js";
1
+ import { C as toOptionalTrimmed } from "./client-DZBCBj1M.js";
2
+ import { b as setSpanStatus, y as setSpanAttributes } from "./logging-Dk_FpF36.js";
3
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-Suf-aLlh.js";
4
4
  import { createHash } from "node:crypto";
5
5
  // src/chat/sandbox/paths.ts
6
6
  function normalizeWorkspaceRoot(input) {
@@ -1,4 +1,4 @@
1
- import { J as parseBriefInput, K as briefOutcomeStatusSchema, q as conversationBriefSchema } from "./conversation-CvuKJ3tA.js";
1
+ import { J as parseBriefInput, K as briefOutcomeStatusSchema, q as conversationBriefSchema } from "./conversation-B0baEwoA.js";
2
2
  import { z } from "zod";
3
3
  // src/chat/briefs/generate.ts
4
4
  const MAX_INPUT_CHARS = 6e4;
@@ -1,4 +1,4 @@
1
- import { m as logWarn, p as logInfo, y as setSpanAttributes } from "./logging-dZN1Bvtu.js";
1
+ import { m as logWarn, p as logInfo, y as setSpanAttributes } from "./logging-Dk_FpF36.js";
2
2
  import { a as isUserActor, o as parseActorUserId } from "./actor-tlxzqaRe.js";
3
3
  import { n as normalizePluginPackageNames, o as pluginRoots, t as discoverInstalledPluginPackageContent } from "./package-discovery-DJBompdd.js";
4
4
  import path from "node:path";
@@ -1,6 +1,6 @@
1
- import { T as withSpan, y as setSpanAttributes } from "./logging-dZN1Bvtu.js";
2
- import { r as getStateAdapter } from "./adapter-t-Y9RHML.js";
3
- import { C as SANDBOX_COMMAND_PATH, D as SANDBOX_WORKSPACE_ROOT, S as runNonInteractiveCommand, r as isStale, t as create, u as isSandboxUnavailableError, v as getVercelSandboxCredentials, y as sleep } from "./profile-BP2N5uDY.js";
1
+ import { T as withSpan, y as setSpanAttributes } from "./logging-Dk_FpF36.js";
2
+ import { r as getStateAdapter } from "./adapter-BIacI0Bt.js";
3
+ import { C as SANDBOX_COMMAND_PATH, D as SANDBOX_WORKSPACE_ROOT, S as runNonInteractiveCommand, r as isStale, t as create, u as isSandboxUnavailableError, v as getVercelSandboxCredentials, y as sleep } from "./profile-Dq5I7TV1.js";
4
4
  import { z } from "zod";
5
5
  import { FileSystem, Sandbox } from "@vercel/sandbox";
6
6
  // src/chat/sandbox/resources.ts
@@ -1,12 +1,13 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-nwUcYXjP.js";
2
- import { Ft as listTurnSummaries, Pt as getTurnRecord } from "./tasks-Bh2qYaed.js";
2
+ import { Nt as getTurnRecord, Pt as listTurnSummaries } from "./tasks-LOItiYgL.js";
3
3
  import { t as createActor } from "./actor-tlxzqaRe.js";
4
- import { f as credentialContextForActor } from "./registry-BUje_knT.js";
5
- import { $ as getAgentInvocationIdForMessage, J as createAgentInvocationFromLatest, Q as getAgentInvocationIdForEvents, W as listUnreportedSiblingAgents, Z as getAgentInvocation, at as getLatestAgentInvocationForConversation, et as getAgentInvocationIdForResult, nt as getAgentInvocationResultMessageId, ot as isTerminalAgentInvocation, ut as markAgentInvocationParentMailboxAppended } from "./agent-runner-Cx6NO5LE.js";
6
- import { a as EVENT_SYSTEM_ACTOR, i as EVENT_MESSAGE_AUTHOR, o as isEventConversationMessage } from "./prompt-DeVax2qO.js";
7
- import { a as EVENT_WAIT_MS, c as isEventMailboxMetadata, l as renderEventBatchText, u as timerWatchCredentialSubject } from "./session-stop-ZuyOHxdK.js";
8
- import { r as appendAndEnqueueInboundMessage } from "./store-dZynGGFW.js";
9
- import { r as enqueueAgentInvocation } from "./work-BiIKfayl.js";
4
+ import { f as credentialContextForActor } from "./registry-BFzQFV_y.js";
5
+ import { W as listUnreportedSiblingAgents } from "./agent-runner-BUBas7Yy.js";
6
+ import { a as EVENT_SYSTEM_ACTOR, i as EVENT_MESSAGE_AUTHOR, o as isEventConversationMessage } from "./prompt-CxatQVaj.js";
7
+ import { C as markAgentInvocationParentMailboxAppended, _ as getLatestAgentInvocationForConversation, a as createAgentInvocationFromLatest, c as getAgentInvocation, d as getAgentInvocationIdForResult, l as getAgentInvocationIdForEvents, p as getAgentInvocationResultMessageId, u as getAgentInvocationIdForMessage, y as isTerminalAgentInvocation } from "./store-TKg1HVKx.js";
8
+ import { a as EVENT_WAIT_MS, c as isEventMailboxMetadata, l as renderEventBatchText, u as timerWatchCredentialSubject } from "./session-stop-CtyJsnEj.js";
9
+ import { r as appendAndEnqueueInboundMessage } from "./store-UlOrW6JC.js";
10
+ import { r as enqueueAgentInvocation } from "./work-DLJMV02b.js";
10
11
  import { z } from "zod";
11
12
  import { createEventSource, createLocalSource, createWebSource } from "@sentry/junior-plugin-api";
12
13
  // src/chat/conversations/web-mailbox.ts
@@ -1,14 +1,14 @@
1
- import { At as saveTurnCheckpoint, I as loadProjection, Q as persistConversationMessages, U as recordAuthorizationCompleted, Wt as persistWithRetry, Z as hydrateConversationMessages, dt as markConversationMessage, ft as normalizeConversationText, ht as upsertConversationMessage, j as commitAcceptedReply, ot as buildConversationContext, pt as recordDeliveredAssistantMessage, yt as authorizationId } from "./tasks-Bh2qYaed.js";
2
- import { f as logException, w as withLogContext, x as setTags } from "./logging-dZN1Bvtu.js";
3
- import { c as getConversationEventStore, u as getConversationStore } from "./viewer-oMTUVAcR.js";
4
- import { f as credentialContextForActor } from "./registry-BUje_knT.js";
5
- import { Bt as startActiveTurn, zt as markTurnFailed } from "./agent-runner-Cx6NO5LE.js";
6
- import { P as messageCardText } from "./conversation-CvuKJ3tA.js";
7
- import { n as getAssistantReplyText } from "./assistant-reply-B2qUBAwL.js";
8
- import { n as scheduleSessionCompletedPluginTasks, t as processPluginTask } from "./task-runner-BRgJ5e0s.js";
9
- import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-D0e887FM.js";
10
- import { n as getPersistedSandboxState, o as persistThreadStateById, r as getPersistedThreadState, s as coerceThreadConversationState } from "./thread-state-DA37FsAT.js";
11
- import { d as loadPendingMessageCards, i as completeAuthPauseTurn, l as buildDeliveredTurnStatePatch, t as finalizeFailedTurnReplyWithEvent } from "./turn-failure-response-BLcscQ-f.js";
1
+ import { A as commitAcceptedReply, F as loadProjection, H as recordAuthorizationCompleted, Ut as persistWithRetry, X as hydrateConversationMessages, Z as persistConversationMessages, at as buildConversationContext, dt as normalizeConversationText, ft as recordDeliveredAssistantMessage, kt as saveTurnCheckpoint, mt as upsertConversationMessage, ut as markConversationMessage, vt as authorizationId } from "./tasks-LOItiYgL.js";
2
+ import { f as logException, w as withLogContext, x as setTags } from "./logging-Dk_FpF36.js";
3
+ import { c as getConversationEventStore, u as getConversationStore } from "./viewer-DmNRM88V.js";
4
+ import { f as credentialContextForActor } from "./registry-BFzQFV_y.js";
5
+ import { P as messageCardText } from "./conversation-B0baEwoA.js";
6
+ import { X as markTurnFailed, Z as startActiveTurn } from "./store-TKg1HVKx.js";
7
+ import { n as getAssistantReplyText } from "./assistant-reply-BFmjgJjD.js";
8
+ import { n as scheduleSessionCompletedPluginTasks, t as processPluginTask } from "./task-runner-C575f2Dd.js";
9
+ import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-Cvi6Sb8Y.js";
10
+ import { n as getPersistedSandboxState, o as persistThreadStateById, r as getPersistedThreadState, s as coerceThreadConversationState } from "./thread-state-IDHdZA7R.js";
11
+ import { d as loadPendingMessageCards, i as completeAuthPauseTurn, l as buildDeliveredTurnStatePatch, t as finalizeFailedTurnReplyWithEvent } from "./turn-failure-response-h_LSXJ-M.js";
12
12
  import { randomUUID } from "node:crypto";
13
13
  import { createLocalSource, localDestinationSchema } from "@sentry/junior-plugin-api";
14
14
  // src/chat/local/runner.ts
@@ -1,4 +1,4 @@
1
- import { jn as sandboxEgressSignalsResponseSchema } from "./tasks-Bh2qYaed.js";
1
+ import { Mn as sandboxEgressSignalsResponseSchema } from "./tasks-LOItiYgL.js";
2
2
  // src/chat/local/sandbox-egress-signals.ts
3
3
  const SANDBOX_EGRESS_SIGNALS_PATH = "/api/internal/sandbox-egress/signals";
4
4
  const LOCAL_DEV_SERVER_TIMEOUT_MS = 1e3;
@@ -1,6 +1,6 @@
1
1
  import { r as AGENT_INVOCATION_STATUSES, u as juniorDestinationKindSchema } from "./agent-invocations-CxKldAeB.js";
2
- import { E as conversationUsageSchema, T as conversationSummaryReportSchema, j as conversationChildAgentTotalsSchema, l as conversationAuxiliaryCostsSchema, n as actorIdentitySchema } from "./conversation-CvuKJ3tA.js";
3
- import "./automation-DrpcA-SX.js";
2
+ import { E as conversationUsageSchema, T as conversationSummaryReportSchema, j as conversationChildAgentTotalsSchema, l as conversationAuxiliaryCostsSchema, n as actorIdentitySchema } from "./conversation-B0baEwoA.js";
3
+ import "./automation-CWX0qL8U.js";
4
4
  import { a as fillUtcHours, c as sumUtcHoursIntoSixHours, i as fillUtcDays } from "./web-message-id-CJSUiksE.js";
5
5
  import { z } from "zod";
6
6
  import { codeChangeStateSchema } from "@sentry/junior-plugin-api";
@@ -1,6 +1,6 @@
1
- import { n as pluginCatalogRuntime } from "./catalog-runtime-CfwKT0sn.js";
2
- import { t as disconnectStateAdapter } from "./adapter-t-Y9RHML.js";
3
- import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-Del2I_x3.js";
1
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-Suf-aLlh.js";
2
+ import { t as disconnectStateAdapter } from "./adapter-BIacI0Bt.js";
3
+ import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-x2QZXm4X.js";
4
4
  import { CLI_USAGE } from "./cli/run.js";
5
5
  import { createServer } from "node:http";
6
6
  // src/cli/service-account.ts
@@ -1,6 +1,6 @@
1
- import { m as logWarn, y as setSpanAttributes, z as isRecord } from "./logging-dZN1Bvtu.js";
2
- import { c as fetchWithBoundedOAuthErrorBodies, i as resolvePluginHeaderEnvRefs } from "./registry-BUje_knT.js";
3
- import { i as MUTATION_LOCK_TTL_MS, o as fenceLock, r as getStateAdapter, s as withLock } from "./adapter-t-Y9RHML.js";
1
+ import { m as logWarn, y as setSpanAttributes, z as isRecord } from "./logging-Dk_FpF36.js";
2
+ import { c as fetchWithBoundedOAuthErrorBodies, i as resolvePluginHeaderEnvRefs } from "./registry-BFzQFV_y.js";
3
+ import { i as MUTATION_LOCK_TTL_MS, o as fenceLock, r as getStateAdapter, s as withLock } from "./adapter-BIacI0Bt.js";
4
4
  import { AsyncLocalStorage } from "node:async_hooks";
5
5
  import { randomUUID } from "node:crypto";
6
6
  import { UnauthorizedError, auth } from "@modelcontextprotocol/sdk/client/auth.js";
@@ -1,16 +1,16 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-nwUcYXjP.js";
2
- import { $t as isToolResultError, A as ToolInputError, Kn as postSlackMessage, Zt as isAssistantMessage, en as isToolResultMessage, tn as normalizeToolNameFromResult } from "./tasks-Bh2qYaed.js";
3
- import { f as logException, m as logWarn, p as logInfo } from "./logging-dZN1Bvtu.js";
4
- import { n as botConfig } from "./config-BiCtNiu5.js";
5
- import { f as getSqlExecutor, u as getConversationStore } from "./viewer-oMTUVAcR.js";
2
+ import { $t as isToolResultMessage, Qt as isToolResultError, Xt as isAssistantMessage, en as normalizeToolNameFromResult, qn as postSlackMessage } from "./tasks-LOItiYgL.js";
3
+ import { f as logException, m as logWarn, p as logInfo } from "./logging-Dk_FpF36.js";
4
+ import { n as botConfig } from "./config-Dnv8KmNs.js";
5
+ import { f as getSqlExecutor, u as getConversationStore } from "./viewer-DmNRM88V.js";
6
6
  import { s as juniorConversations } from "./agent-invocations-CxKldAeB.js";
7
- import "./executor-O8xqLDN6.js";
8
- import { h as credentialSubjectSchema } from "./registry-BUje_knT.js";
9
- import { gt as JUNIOR_THREAD_STATE_TTL_MS, rt as verifyTimerWatchCredentialSubject, u as getPlugins } from "./agent-hooks-9q2zdKHL.js";
10
- import { r as getStateAdapter } from "./adapter-t-Y9RHML.js";
11
- import { r as EVENT_AUTHOR_ID } from "./prompt-DeVax2qO.js";
12
- import { r as sanitizeAssistantText } from "./assistant-reply-B2qUBAwL.js";
13
- import { r as appendAndEnqueueInboundMessage } from "./store-dZynGGFW.js";
7
+ import "./executor-J9k2sp9m.js";
8
+ import { h as credentialSubjectSchema } from "./registry-BFzQFV_y.js";
9
+ import { gt as JUNIOR_THREAD_STATE_TTL_MS, rt as verifyTimerWatchCredentialSubject, u as getPlugins, xt as ToolInputError } from "./agent-hooks-CqnZfuCt.js";
10
+ import { r as getStateAdapter } from "./adapter-BIacI0Bt.js";
11
+ import { r as EVENT_AUTHOR_ID } from "./prompt-CxatQVaj.js";
12
+ import { r as sanitizeAssistantText } from "./assistant-reply-BFmjgJjD.js";
13
+ import { r as appendAndEnqueueInboundMessage } from "./store-UlOrW6JC.js";
14
14
  import { z } from "zod";
15
15
  import { eq, inArray } from "drizzle-orm";
16
16
  import { eventMatchFieldsSchema, eventMatchSchema, normalizeEventIdentifier, objectTypeSchema } from "@sentry/junior-plugin-api";
@@ -1,7 +1,7 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-nwUcYXjP.js";
2
- import { m as logWarn } from "./logging-dZN1Bvtu.js";
2
+ import { m as logWarn } from "./logging-Dk_FpF36.js";
3
3
  import { s as skillRoots } from "./package-discovery-DJBompdd.js";
4
- import { n as pluginCatalogRuntime } from "./catalog-runtime-CfwKT0sn.js";
4
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-Suf-aLlh.js";
5
5
  import path from "node:path";
6
6
  import { z } from "zod";
7
7
  import fs from "node:fs/promises";
@@ -1,6 +1,6 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-nwUcYXjP.js";
2
- import { Dt as toolInvocationDestination, Et as actorFromRun } from "./agent-runner-Cx6NO5LE.js";
3
- import { n as createAndEnqueueAgentInvocation } from "./work-BiIKfayl.js";
2
+ import { $ as toolInvocationDestination, Q as actorFromRun } from "./agent-runner-BUBas7Yy.js";
3
+ import { n as createAndEnqueueAgentInvocation } from "./work-DLJMV02b.js";
4
4
  // src/chat/agent-invocations/spawn.ts
5
5
  var spawn_exports = /* @__PURE__ */ __exportAll({ bindSpawnAgent: () => bindSpawnAgent });
6
6
  /** Bind a Run's Actor and credentials to new Agent invocations. */