@sentry/junior 0.152.0 → 0.153.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 (55) hide show
  1. package/dist/{agent-hooks-U66Q3X2P.js → agent-hooks-7BWOB7SN.js} +10 -10
  2. package/dist/api/conversations/list.d.ts +11 -5
  3. package/dist/api.js +34 -28
  4. package/dist/app.js +32 -32
  5. package/dist/{catalog-runtime-CVCR7SND.js → catalog-runtime-CGUDNL3D.js} +5 -5
  6. package/dist/{chunk-NF733C66.js → chunk-2J4VCHRX.js} +6 -6
  7. package/dist/{chunk-I4LR7MS2.js → chunk-2NS3ACHB.js} +9 -9
  8. package/dist/{chunk-SFYDSI34.js → chunk-37LMRT7G.js} +1 -1
  9. package/dist/{chunk-KC5XZBRB.js → chunk-4TWLKHOM.js} +4 -4
  10. package/dist/{chunk-SDMVFTH4.js → chunk-5DMPHA4V.js} +18 -18
  11. package/dist/{chunk-3PCKG4BT.js → chunk-5QBK3QHJ.js} +4 -4
  12. package/dist/{chunk-UFKSILED.js → chunk-5TXDKTET.js} +5 -5
  13. package/dist/{chunk-3UJ3QYRV.js → chunk-5XBRH3N7.js} +10 -10
  14. package/dist/{chunk-AYPU5T5L.js → chunk-A5SROS6H.js} +4 -4
  15. package/dist/{chunk-ELAVLP7Z.js → chunk-COC65LIW.js} +1 -1
  16. package/dist/{chunk-WZN4RQ64.js → chunk-EPOA52SD.js} +1 -1
  17. package/dist/{chunk-X4RM4TBW.js → chunk-ET54Q4TD.js} +1 -1
  18. package/dist/{chunk-QKPIW2CY.js → chunk-FLEY546A.js} +6 -6
  19. package/dist/{chunk-7TZM33YX.js → chunk-HMU2QP5M.js} +1 -1
  20. package/dist/{chunk-Z5WLTGME.js → chunk-HOK7MEWG.js} +1 -1
  21. package/dist/{chunk-VD6CRYCT.js → chunk-HYEAR6HL.js} +1 -1
  22. package/dist/{chunk-67VR4BJK.js → chunk-ISEROVYZ.js} +5 -5
  23. package/dist/{chunk-KTYC3GDO.js → chunk-JAJVUQV7.js} +2 -2
  24. package/dist/{chunk-M6PWM3OK.js → chunk-JJAMURMR.js} +1 -1
  25. package/dist/{chunk-CLX3T7Q3.js → chunk-JY2HJYJT.js} +1 -1
  26. package/dist/{chunk-ETXLHT3S.js → chunk-K4LK6KYO.js} +4 -4
  27. package/dist/{chunk-N2472SQK.js → chunk-O2YXWWPM.js} +8 -8
  28. package/dist/{chunk-OEECXAGT.js → chunk-PGJBNO3I.js} +2 -2
  29. package/dist/{chunk-KW2MGCW5.js → chunk-PMJAY6JS.js} +5 -5
  30. package/dist/{chunk-LETPYIDF.js → chunk-RKW5QGGN.js} +1 -1
  31. package/dist/{chunk-RCBAXKMB.js → chunk-TIV3PX5H.js} +1 -1
  32. package/dist/{chunk-5LDOQV7Y.js → chunk-URFV5RWN.js} +18 -18
  33. package/dist/{chunk-732P2RBQ.js → chunk-VXWTGOLW.js} +1 -1
  34. package/dist/{chunk-TSQMITMQ.js → chunk-WTKAALLV.js} +6 -6
  35. package/dist/{chunk-XTLF7C4I.js → chunk-XAYXN4EG.js} +3 -3
  36. package/dist/{chunk-X6JP6AMX.js → chunk-XQPKMLRI.js} +1 -1
  37. package/dist/{chunk-KC47ZY6Q.js → chunk-YECBSG77.js} +2 -2
  38. package/dist/cli/chat.js +30 -30
  39. package/dist/cli/check.js +6 -6
  40. package/dist/cli/plugins.js +13 -13
  41. package/dist/cli/snapshot-create.js +9 -9
  42. package/dist/cli/upgrade.js +7 -7
  43. package/dist/{db-HQAZQASY.js → db-QNQM5YRR.js} +7 -7
  44. package/dist/instrumentation.js +4 -4
  45. package/dist/nitro.js +2 -2
  46. package/dist/{oauth-callback-server-OJONZ7T3.js → oauth-callback-server-ERQPIR27.js} +23 -23
  47. package/dist/{runner-BIJAVQDX.js → runner-BX46SQIE.js} +13 -13
  48. package/dist/{skills-SIPNY4AT.js → skills-JL44EIRX.js} +6 -6
  49. package/dist/spawn-W6FO32T4.js +38 -0
  50. package/dist/{validation-KRPOY5RQ.js → validation-UU2AIJIY.js} +6 -6
  51. package/dist/version.js +1 -1
  52. package/dist/{work-KS3JOEI2.js → work-SS7RU5CH.js} +17 -17
  53. package/dist/{worker-CZ5KNZUI.js → worker-5P2E7LVI.js} +11 -11
  54. package/package.json +4 -4
  55. package/dist/spawn-ABDIBQT6.js +0 -38
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-FA6POGLH.js";
4
4
  import {
5
5
  getTurnRequestDeadline
6
- } from "./chunk-Z5WLTGME.js";
6
+ } from "./chunk-HOK7MEWG.js";
7
7
  import {
8
8
  buildSentryConversationUrl,
9
9
  deleteWebAuthorization
10
- } from "./chunk-SFYDSI34.js";
10
+ } from "./chunk-37LMRT7G.js";
11
11
  import {
12
12
  ensureConversationWake,
13
13
  requestConversationWork
14
- } from "./chunk-AYPU5T5L.js";
14
+ } from "./chunk-A5SROS6H.js";
15
15
  import {
16
16
  buildDeliveredTurnStatePatch,
17
17
  finalizeFailedTurnReplyWithEvent,
@@ -24,7 +24,7 @@ import {
24
24
  requireTurnFailureEventId,
25
25
  resolveTurnSessionRouting,
26
26
  scheduleSessionCompletedPluginTasks
27
- } from "./chunk-I4LR7MS2.js";
27
+ } from "./chunk-2NS3ACHB.js";
28
28
  import {
29
29
  ConversationTurnLifecycleService,
30
30
  coerceThreadConversationState,
@@ -33,7 +33,7 @@ import {
33
33
  getPersistedSandboxState,
34
34
  getPersistedThreadState,
35
35
  persistThreadStateById
36
- } from "./chunk-67VR4BJK.js";
36
+ } from "./chunk-ISEROVYZ.js";
37
37
  import {
38
38
  getVercelConversationWorkQueue
39
39
  } from "./chunk-WR76IVA5.js";
@@ -46,7 +46,7 @@ import {
46
46
  getMcpStoredOAuthCredentials,
47
47
  lookupSlackUserProfile,
48
48
  resolvePluginOAuthAccount
49
- } from "./chunk-N2472SQK.js";
49
+ } from "./chunk-O2YXWWPM.js";
50
50
  import {
51
51
  RetryableDeliveryError
52
52
  } from "./chunk-RF6J3DIO.js";
@@ -62,13 +62,13 @@ import {
62
62
  removeReactionFromMessage,
63
63
  resolveBaseUrl,
64
64
  truncateStatusText
65
- } from "./chunk-QKPIW2CY.js";
65
+ } from "./chunk-FLEY546A.js";
66
66
  import {
67
67
  parseSlackThreadId,
68
68
  readSlackRawMessageContext,
69
69
  resolveSlackChannelIdFromMessage,
70
70
  resolveSlackChannelIdFromThreadId
71
- } from "./chunk-RCBAXKMB.js";
71
+ } from "./chunk-TIV3PX5H.js";
72
72
  import {
73
73
  CooperativeTurnYieldError,
74
74
  TurnSliceLimitExceededError,
@@ -95,29 +95,29 @@ import {
95
95
  recordTurnSummary,
96
96
  saveTurnCheckpoint,
97
97
  turnHasReply
98
- } from "./chunk-3PCKG4BT.js";
98
+ } from "./chunk-5QBK3QHJ.js";
99
99
  import {
100
100
  getDashboardConversationLink,
101
101
  getPluginSlackConversationLink
102
- } from "./chunk-NF733C66.js";
102
+ } from "./chunk-2J4VCHRX.js";
103
103
  import {
104
104
  SlackActionError,
105
105
  getHeaderString,
106
106
  getSlackClient,
107
107
  isDmChannel,
108
108
  normalizeSlackConversationId
109
- } from "./chunk-KTYC3GDO.js";
109
+ } from "./chunk-JAJVUQV7.js";
110
110
  import {
111
111
  getConversationEventStore,
112
112
  getSqlExecutor,
113
113
  requireSlackDestination,
114
114
  upsertIdentity,
115
115
  upsertLinkedIdentity
116
- } from "./chunk-XTLF7C4I.js";
116
+ } from "./chunk-XAYXN4EG.js";
117
117
  import {
118
118
  acquireActiveLock,
119
119
  getStateAdapter
120
- } from "./chunk-X6JP6AMX.js";
120
+ } from "./chunk-XQPKMLRI.js";
121
121
  import {
122
122
  botConfig,
123
123
  escapeXml,
@@ -125,18 +125,18 @@ import {
125
125
  getRuntimeMetadata,
126
126
  normalizeSlackEmojiName,
127
127
  standardModelId
128
- } from "./chunk-OEECXAGT.js";
128
+ } from "./chunk-PGJBNO3I.js";
129
129
  import {
130
130
  discoverSkills
131
- } from "./chunk-KC47ZY6Q.js";
131
+ } from "./chunk-YECBSG77.js";
132
132
  import {
133
133
  pluginCatalogRuntime
134
- } from "./chunk-WZN4RQ64.js";
134
+ } from "./chunk-EPOA52SD.js";
135
135
  import {
136
136
  buildOAuthTokenRequest,
137
137
  hasRequiredOAuthScope,
138
138
  parseOAuthTokenResponse
139
- } from "./chunk-CLX3T7Q3.js";
139
+ } from "./chunk-JY2HJYJT.js";
140
140
  import {
141
141
  createSlackResumeActor,
142
142
  isUserActor
@@ -154,7 +154,7 @@ import {
154
154
  setTags,
155
155
  toOptionalString,
156
156
  withLogContext
157
- } from "./chunk-7TZM33YX.js";
157
+ } from "./chunk-HMU2QP5M.js";
158
158
  import {
159
159
  homeDir
160
160
  } from "./chunk-H4HBKISO.js";
@@ -13,7 +13,7 @@ import {
13
13
  instructionProvenanceFor,
14
14
  sanitizePostgresJson,
15
15
  withConversationEventLock
16
- } from "./chunk-XTLF7C4I.js";
16
+ } from "./chunk-XAYXN4EG.js";
17
17
  import {
18
18
  SANDBOX_WORKSPACE_ROOT,
19
19
  sleep
@@ -23,14 +23,14 @@ import {
23
23
  fenceLock,
24
24
  getStateAdapter,
25
25
  withLock
26
- } from "./chunk-X6JP6AMX.js";
26
+ } from "./chunk-XQPKMLRI.js";
27
27
  import {
28
28
  botConfig,
29
29
  completeText,
30
30
  escapeXml,
31
31
  resolveGatewayModel,
32
32
  unwrapCurrentInstruction
33
- } from "./chunk-OEECXAGT.js";
33
+ } from "./chunk-PGJBNO3I.js";
34
34
  import {
35
35
  toStoredSlackActor
36
36
  } from "./chunk-HZF5P5UN.js";
@@ -42,7 +42,7 @@ import {
42
42
  logException,
43
43
  logWarn,
44
44
  setSpanAttributes
45
- } from "./chunk-7TZM33YX.js";
45
+ } from "./chunk-HMU2QP5M.js";
46
46
 
47
47
  // src/chat/turn-context-tag.ts
48
48
  var TURN_CONTEXT_TAG = "runtime-turn-context";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  formatProviderLabel,
6
6
  startOAuthFlow
7
- } from "./chunk-QKPIW2CY.js";
7
+ } from "./chunk-FLEY546A.js";
8
8
  import {
9
9
  parseSandboxEgressAuthRequiredSignal
10
10
  } from "./chunk-HUO3UTAQ.js";
@@ -12,16 +12,16 @@ import {
12
12
  abandonReplacedPendingAuth,
13
13
  canReusePendingAuthLink,
14
14
  recordAuthorizationRequested
15
- } from "./chunk-3PCKG4BT.js";
15
+ } from "./chunk-5QBK3QHJ.js";
16
16
  import {
17
17
  AGENT_INVOCATION_MAILBOX_STATUSES
18
- } from "./chunk-X4RM4TBW.js";
18
+ } from "./chunk-ET54Q4TD.js";
19
19
  import {
20
20
  TURN_REASONING_LEVELS
21
- } from "./chunk-OEECXAGT.js";
21
+ } from "./chunk-PGJBNO3I.js";
22
22
  import {
23
23
  pluginCatalogRuntime
24
- } from "./chunk-WZN4RQ64.js";
24
+ } from "./chunk-EPOA52SD.js";
25
25
  import {
26
26
  credentialContextSchema
27
27
  } from "./chunk-RUIXF3YQ.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createWebAuthorization,
3
3
  deleteWebAuthorization
4
- } from "./chunk-SFYDSI34.js";
4
+ } from "./chunk-37LMRT7G.js";
5
5
  import {
6
6
  appendAndEnqueueInboundMessage
7
- } from "./chunk-AYPU5T5L.js";
7
+ } from "./chunk-A5SROS6H.js";
8
8
  import {
9
9
  buildDeliveredTurnStatePatch,
10
10
  completeAuthPauseTurn,
@@ -12,20 +12,20 @@ import {
12
12
  getTurnUserMessage,
13
13
  processPluginTask,
14
14
  scheduleSessionCompletedPluginTasks
15
- } from "./chunk-I4LR7MS2.js";
15
+ } from "./chunk-2NS3ACHB.js";
16
16
  import {
17
17
  ConversationTurnLifecycleService,
18
18
  coerceThreadConversationState,
19
19
  getPersistedSandboxState,
20
20
  getPersistedThreadState,
21
21
  persistThreadStateById
22
- } from "./chunk-67VR4BJK.js";
22
+ } from "./chunk-ISEROVYZ.js";
23
23
  import {
24
24
  healthReportSchema
25
25
  } from "./chunk-UTL3MHPC.js";
26
26
  import {
27
27
  parseSlackThreadId
28
- } from "./chunk-RCBAXKMB.js";
28
+ } from "./chunk-TIV3PX5H.js";
29
29
  import {
30
30
  TurnInputCommitLostError,
31
31
  abandonTurnRecord,
@@ -48,17 +48,17 @@ import {
48
48
  saveTurnCheckpoint,
49
49
  startActiveTurn,
50
50
  upsertConversationMessage
51
- } from "./chunk-3PCKG4BT.js";
51
+ } from "./chunk-5QBK3QHJ.js";
52
52
  import {
53
53
  normalizeSlackConversationId
54
- } from "./chunk-KTYC3GDO.js";
54
+ } from "./chunk-JAJVUQV7.js";
55
55
  import {
56
56
  getConversationEventStore,
57
57
  getConversationStore
58
- } from "./chunk-XTLF7C4I.js";
58
+ } from "./chunk-XAYXN4EG.js";
59
59
  import {
60
60
  getSlackBotToken
61
- } from "./chunk-OEECXAGT.js";
61
+ } from "./chunk-PGJBNO3I.js";
62
62
  import {
63
63
  credentialContextForActor
64
64
  } from "./chunk-RUIXF3YQ.js";
@@ -67,7 +67,7 @@ import {
67
67
  logWarn,
68
68
  setTags,
69
69
  withLogContext
70
- } from "./chunk-7TZM33YX.js";
70
+ } from "./chunk-HMU2QP5M.js";
71
71
 
72
72
  // src/handlers/health.ts
73
73
  function readHealthReport() {
@@ -8,14 +8,14 @@ import {
8
8
  getConversationStore,
9
9
  parseDestination,
10
10
  sameDestination
11
- } from "./chunk-XTLF7C4I.js";
11
+ } from "./chunk-XAYXN4EG.js";
12
12
  import {
13
13
  getDefaultRedisStateAdapterFor,
14
14
  getStateAdapter
15
- } from "./chunk-X6JP6AMX.js";
15
+ } from "./chunk-XQPKMLRI.js";
16
16
  import {
17
17
  getChatConfig
18
- } from "./chunk-OEECXAGT.js";
18
+ } from "./chunk-PGJBNO3I.js";
19
19
  import {
20
20
  parseStoredSlackActor
21
21
  } from "./chunk-HZF5P5UN.js";
@@ -23,7 +23,7 @@ import {
23
23
  isRecord,
24
24
  toOptionalNumber,
25
25
  toOptionalString
26
- } from "./chunk-7TZM33YX.js";
26
+ } from "./chunk-HMU2QP5M.js";
27
27
 
28
28
  // src/chat/task-execution/state.ts
29
29
  import { randomUUID } from "crypto";
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@sentry/junior",
4
- version: "0.152.0",
4
+ version: "0.153.0",
5
5
  private: false,
6
6
  publishConfig: {
7
7
  access: "public"
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createPluginCatalogRuntime
3
- } from "./chunk-CLX3T7Q3.js";
3
+ } from "./chunk-JY2HJYJT.js";
4
4
 
5
5
  // src/chat/plugins/catalog-runtime.ts
6
6
  var pluginCatalogRuntime = createPluginCatalogRuntime();
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_SQL_STATEMENT_TIMEOUT_MS
3
- } from "./chunk-OEECXAGT.js";
3
+ } from "./chunk-PGJBNO3I.js";
4
4
  import {
5
5
  juniorDestinations,
6
6
  timestamptz
@@ -4,19 +4,19 @@ import {
4
4
  isDmChannel,
5
5
  normalizeSlackConversationId,
6
6
  withSlackRetries
7
- } from "./chunk-KTYC3GDO.js";
7
+ } from "./chunk-JAJVUQV7.js";
8
8
  import {
9
9
  parseDestination
10
- } from "./chunk-XTLF7C4I.js";
10
+ } from "./chunk-XAYXN4EG.js";
11
11
  import {
12
12
  getStateAdapter
13
- } from "./chunk-X6JP6AMX.js";
13
+ } from "./chunk-XQPKMLRI.js";
14
14
  import {
15
15
  normalizeSlackEmojiName
16
- } from "./chunk-OEECXAGT.js";
16
+ } from "./chunk-PGJBNO3I.js";
17
17
  import {
18
18
  pluginCatalogRuntime
19
- } from "./chunk-WZN4RQ64.js";
19
+ } from "./chunk-EPOA52SD.js";
20
20
  import {
21
21
  parseSlackMessageTs,
22
22
  parseSlackUserId
@@ -25,7 +25,7 @@ import {
25
25
  isRecord,
26
26
  logInfo,
27
27
  logWarn
28
- } from "./chunk-7TZM33YX.js";
28
+ } from "./chunk-HMU2QP5M.js";
29
29
 
30
30
  // src/chat/slack/outbound.ts
31
31
  var MAX_SLACK_MESSAGE_TEXT_CHARS = 4e4;
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-6GWA276C.js";
10
10
  import {
11
11
  getDeploymentTelemetryAttributes
12
- } from "./chunk-M6PWM3OK.js";
12
+ } from "./chunk-JJAMURMR.js";
13
13
 
14
14
  // src/chat/logging.ts
15
15
  import path from "path";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  FUNCTION_TIMEOUT_BUFFER_SECONDS,
3
3
  getChatConfig
4
- } from "./chunk-OEECXAGT.js";
4
+ } from "./chunk-PGJBNO3I.js";
5
5
 
6
6
  // src/chat/runtime/request-deadline.ts
7
7
  import { AsyncLocalStorage } from "async_hooks";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pluginCatalogRuntime
3
- } from "./chunk-WZN4RQ64.js";
3
+ } from "./chunk-EPOA52SD.js";
4
4
 
5
5
  // src/chat/plugins/validation.ts
6
6
  import { isDeepStrictEqual } from "util";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  persistConversationMessages
3
- } from "./chunk-3PCKG4BT.js";
3
+ } from "./chunk-5QBK3QHJ.js";
4
4
  import {
5
5
  JUNIOR_THREAD_STATE_TTL_MS
6
6
  } from "./chunk-3Y47VMHV.js";
7
7
  import {
8
8
  getDb
9
- } from "./chunk-XTLF7C4I.js";
9
+ } from "./chunk-XAYXN4EG.js";
10
10
  import {
11
11
  juniorLocationConfigurations
12
- } from "./chunk-X4RM4TBW.js";
12
+ } from "./chunk-ET54Q4TD.js";
13
13
  import {
14
14
  getStateAdapter
15
- } from "./chunk-X6JP6AMX.js";
15
+ } from "./chunk-XQPKMLRI.js";
16
16
  import {
17
17
  juniorDestinations
18
18
  } from "./chunk-VFUK3X5B.js";
@@ -20,7 +20,7 @@ import {
20
20
  isRecord,
21
21
  toOptionalNumber,
22
22
  toOptionalString
23
- } from "./chunk-7TZM33YX.js";
23
+ } from "./chunk-HMU2QP5M.js";
24
24
 
25
25
  // src/chat/conversations/turn-lifecycle.ts
26
26
  var ConversationTurnLifecycleService = class {
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-EM225ITJ.js";
4
4
  import {
5
5
  getSlackBotToken
6
- } from "./chunk-OEECXAGT.js";
6
+ } from "./chunk-PGJBNO3I.js";
7
7
  import {
8
8
  parseSlackChannelReferenceId
9
9
  } from "./chunk-F3B2YJ76.js";
@@ -12,7 +12,7 @@ import {
12
12
  setSpanAttributes,
13
13
  setSpanStatus,
14
14
  withSpan
15
- } from "./chunk-7TZM33YX.js";
15
+ } from "./chunk-HMU2QP5M.js";
16
16
 
17
17
  // src/chat/slack/client.ts
18
18
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "async_hooks";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  JUNIOR_VERSION
3
- } from "./chunk-ELAVLP7Z.js";
3
+ } from "./chunk-COC65LIW.js";
4
4
 
5
5
  // src/deployment.ts
6
6
  var JUNIOR_HEARTBEAT_ROUTE = "/api/internal/heartbeat";
@@ -5,7 +5,7 @@ import {
5
5
  logInfo,
6
6
  logWarn,
7
7
  setSpanAttributes
8
- } from "./chunk-7TZM33YX.js";
8
+ } from "./chunk-HMU2QP5M.js";
9
9
  import {
10
10
  discoverInstalledPluginPackageContent,
11
11
  normalizePluginPackageNames
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getTurnRequestDeadline
3
- } from "./chunk-Z5WLTGME.js";
3
+ } from "./chunk-HOK7MEWG.js";
4
4
  import {
5
5
  CONVERSATION_WORK_CHECK_IN_INTERVAL_MS,
6
6
  CONVERSATION_WORK_MAX_RETRIES,
@@ -21,20 +21,20 @@ import {
21
21
  releaseConversationWork,
22
22
  requestAnotherSlice,
23
23
  startConversationWork
24
- } from "./chunk-AYPU5T5L.js";
24
+ } from "./chunk-A5SROS6H.js";
25
25
  import {
26
26
  ConversationQueueMessageRejectedError
27
27
  } from "./chunk-JAL3CH4G.js";
28
28
  import {
29
29
  getChatConfig,
30
30
  isProviderRetryError
31
- } from "./chunk-OEECXAGT.js";
31
+ } from "./chunk-PGJBNO3I.js";
32
32
  import {
33
33
  logException,
34
34
  logInfo,
35
35
  logWarn,
36
36
  withLogContext
37
- } from "./chunk-7TZM33YX.js";
37
+ } from "./chunk-HMU2QP5M.js";
38
38
 
39
39
  // src/chat/task-execution/worker.ts
40
40
  var CONVERSATION_WORK_DEFER_DELAY_MS = 15e3;
@@ -1,34 +1,34 @@
1
1
  import {
2
2
  resolveBaseUrl
3
- } from "./chunk-QKPIW2CY.js";
3
+ } from "./chunk-FLEY546A.js";
4
4
  import {
5
5
  createPluginLogger,
6
6
  getPlugins
7
- } from "./chunk-NF733C66.js";
7
+ } from "./chunk-2J4VCHRX.js";
8
8
  import {
9
9
  getSlackClient,
10
10
  withSlackRetries
11
- } from "./chunk-KTYC3GDO.js";
11
+ } from "./chunk-JAJVUQV7.js";
12
12
  import {
13
13
  getDb,
14
14
  parseDestination
15
- } from "./chunk-XTLF7C4I.js";
15
+ } from "./chunk-XAYXN4EG.js";
16
16
  import {
17
17
  sleep
18
18
  } from "./chunk-EM225ITJ.js";
19
19
  import {
20
20
  acquireActiveLock,
21
21
  getStateAdapter
22
- } from "./chunk-X6JP6AMX.js";
22
+ } from "./chunk-XQPKMLRI.js";
23
23
  import {
24
24
  pluginCatalogRuntime
25
- } from "./chunk-WZN4RQ64.js";
25
+ } from "./chunk-EPOA52SD.js";
26
26
  import {
27
27
  fetchWithBoundedOAuthErrorBodies
28
- } from "./chunk-CLX3T7Q3.js";
28
+ } from "./chunk-JY2HJYJT.js";
29
29
  import {
30
30
  isRecord
31
- } from "./chunk-7TZM33YX.js";
31
+ } from "./chunk-HMU2QP5M.js";
32
32
 
33
33
  // src/chat/capabilities/router.ts
34
34
  var ProviderCredentialRouter = class {
@@ -3,7 +3,7 @@ import {
3
3
  toCanonicalInputMessage,
4
4
  toCanonicalOutputMessage,
5
5
  toGenAiMessagesTraceAttributes
6
- } from "./chunk-732P2RBQ.js";
6
+ } from "./chunk-VXWTGOLW.js";
7
7
  import {
8
8
  extractGenAiUsageAttributes,
9
9
  logException,
@@ -11,7 +11,7 @@ import {
11
11
  normalizeGenAiFinishReason,
12
12
  serializeGenAiAttribute,
13
13
  withSpan
14
- } from "./chunk-7TZM33YX.js";
14
+ } from "./chunk-HMU2QP5M.js";
15
15
 
16
16
  // src/chat/services/provider-error.ts
17
17
  var ProviderError = class extends Error {
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  ToolInputError
3
- } from "./chunk-3PCKG4BT.js";
3
+ } from "./chunk-5QBK3QHJ.js";
4
4
  import {
5
5
  canRouteResourceEvents,
6
6
  getPlugins
7
- } from "./chunk-NF733C66.js";
7
+ } from "./chunk-2J4VCHRX.js";
8
8
  import {
9
9
  getDb
10
- } from "./chunk-XTLF7C4I.js";
10
+ } from "./chunk-XAYXN4EG.js";
11
11
  import {
12
12
  juniorEventTasks,
13
13
  juniorSchedulerRuns,
14
14
  juniorSchedulerTasks,
15
15
  juniorStats
16
- } from "./chunk-X4RM4TBW.js";
16
+ } from "./chunk-ET54Q4TD.js";
17
17
  import {
18
18
  juniorDestinations
19
19
  } from "./chunk-VFUK3X5B.js";
20
20
  import {
21
21
  logInfo
22
- } from "./chunk-7TZM33YX.js";
22
+ } from "./chunk-HMU2QP5M.js";
23
23
 
24
24
  // src/chat/event-tasks/store.ts
25
25
  import { and, asc, desc, eq, inArray, or, sql } from "drizzle-orm";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createAndEnqueueAgentInvocation
3
- } from "./chunk-TSQMITMQ.js";
3
+ } from "./chunk-WTKAALLV.js";
4
4
  import {
5
5
  actorFromRun,
6
6
  toolInvocationDestination
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-F3B2YJ76.js";
6
6
  import {
7
7
  toOptionalString
8
- } from "./chunk-7TZM33YX.js";
8
+ } from "./chunk-HMU2QP5M.js";
9
9
 
10
10
  // src/chat/slack/context.ts
11
11
  import { z } from "zod";