@sentry/junior 0.150.0 → 0.150.1

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 (54) hide show
  1. package/dist/{agent-hooks-SEOGOGKX.js → agent-hooks-G4LEACQB.js} +10 -10
  2. package/dist/api.js +21 -21
  3. package/dist/app.js +32 -32
  4. package/dist/{catalog-runtime-HA7RIWYT.js → catalog-runtime-ZRSNE2MH.js} +5 -5
  5. package/dist/{chunk-IPGNWXA3.js → chunk-2AWDPNP7.js} +4 -4
  6. package/dist/{chunk-7NLW2NF5.js → chunk-2DIRU2C2.js} +1 -1
  7. package/dist/{chunk-7GOP6VFJ.js → chunk-2Z7YX5PI.js} +8 -8
  8. package/dist/{chunk-JQXJ2E53.js → chunk-3WIFZBJL.js} +1 -1
  9. package/dist/{chunk-H2RLIJ7G.js → chunk-4JV7GUUH.js} +1 -1
  10. package/dist/{chunk-SHDREBGC.js → chunk-5NOHC2Z4.js} +1 -1
  11. package/dist/{chunk-ZBOGYZ53.js → chunk-6A24WEKX.js} +4 -4
  12. package/dist/{chunk-IZRSLANA.js → chunk-6IWDFUXW.js} +1 -1
  13. package/dist/{chunk-NNOCRVQO.js → chunk-6ZYGORV4.js} +2 -2
  14. package/dist/{chunk-P43QM7JY.js → chunk-AD6N2KNE.js} +5 -5
  15. package/dist/{chunk-6PFDWAK2.js → chunk-B2YA2G26.js} +1 -1
  16. package/dist/{chunk-64K7GKRW.js → chunk-D2PVJU5E.js} +2 -2
  17. package/dist/{chunk-3ZMKDHCT.js → chunk-FGP5W3NS.js} +2 -2
  18. package/dist/{chunk-ILYL6YFD.js → chunk-GZ25ZSTX.js} +3 -3
  19. package/dist/{chunk-TZLYAO2J.js → chunk-IQW6RFXG.js} +18 -18
  20. package/dist/{chunk-QPIPYVGE.js → chunk-IZE2EGCX.js} +5 -5
  21. package/dist/{chunk-FEFEIA3Z.js → chunk-JBYWR6FW.js} +5 -5
  22. package/dist/{chunk-7QB2CKCW.js → chunk-JUBPTYNO.js} +1 -1
  23. package/dist/{chunk-M5OZSVJI.js → chunk-JVOLC6JZ.js} +4 -4
  24. package/dist/{chunk-F5NMSEBL.js → chunk-KFHJQYKQ.js} +1 -1
  25. package/dist/{chunk-SH6ZKJFZ.js → chunk-LSI3EKZQ.js} +4 -4
  26. package/dist/{chunk-MCNP7A7T.js → chunk-LWFHRWJI.js} +8 -8
  27. package/dist/{chunk-UIMBNY6O.js → chunk-N6QJAPZS.js} +9 -9
  28. package/dist/{chunk-3GL327SC.js → chunk-OWLJZ6I7.js} +1 -1
  29. package/dist/{chunk-UOFQEVR5.js → chunk-QNSV46AW.js} +6 -6
  30. package/dist/{chunk-Y2VZ54CQ.js → chunk-QO3OSJDS.js} +1 -1
  31. package/dist/{chunk-4VH7KLGC.js → chunk-QZGYKKH6.js} +18 -18
  32. package/dist/{chunk-4KAYAIBV.js → chunk-R53UTQ2Q.js} +1 -1
  33. package/dist/{chunk-DWETNV66.js → chunk-SZ74ECCC.js} +6 -6
  34. package/dist/{chunk-ZUQT35YC.js → chunk-TZRYLW3R.js} +1 -1
  35. package/dist/{chunk-NCGVQXX5.js → chunk-W3FQZAX5.js} +6 -6
  36. package/dist/{chunk-7D4GNUV2.js → chunk-XED3H34M.js} +3 -3
  37. package/dist/cli/chat.js +30 -30
  38. package/dist/cli/check.js +6 -6
  39. package/dist/cli/plugins.js +13 -13
  40. package/dist/cli/snapshot-create.js +9 -9
  41. package/dist/cli/upgrade.js +7 -7
  42. package/dist/{db-HUW75QG7.js → db-WRA5ZHYE.js} +7 -7
  43. package/dist/instrumentation.js +4 -4
  44. package/dist/nitro.js +2 -2
  45. package/dist/{oauth-callback-server-DP7NIZPQ.js → oauth-callback-server-QWAYG3MI.js} +23 -23
  46. package/dist/{runner-AINV7K3M.js → runner-5JQ54J6P.js} +14 -14
  47. package/dist/{skills-PKS37E6B.js → skills-3YD55WPO.js} +6 -6
  48. package/dist/spawn-OOO26XDL.js +38 -0
  49. package/dist/{validation-PDC3MVMM.js → validation-ZXE3IRSB.js} +6 -6
  50. package/dist/version.js +1 -1
  51. package/dist/{work-KJLJRPXS.js → work-7G2U64WI.js} +17 -17
  52. package/dist/{worker-TYQ7YVIR.js → worker-HJM2FZNI.js} +11 -11
  53. package/package.json +5 -5
  54. package/dist/spawn-NJCDEPPL.js +0 -38
@@ -5,12 +5,12 @@ import {
5
5
  juniorConversations,
6
6
  juniorIdentities,
7
7
  juniorUsers
8
- } from "./chunk-F5NMSEBL.js";
8
+ } from "./chunk-KFHJQYKQ.js";
9
9
  import {
10
10
  TURN_REASONING_LEVELS,
11
11
  getChatConfig,
12
12
  modelProfileSchema
13
- } from "./chunk-3ZMKDHCT.js";
13
+ } from "./chunk-FGP5W3NS.js";
14
14
  import {
15
15
  juniorDestinations
16
16
  } from "./chunk-VFUK3X5B.js";
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-F3B2YJ76.js";
21
21
  import {
22
22
  normalizeIdentityEmail
23
- } from "./chunk-JQXJ2E53.js";
23
+ } from "./chunk-3WIFZBJL.js";
24
24
 
25
25
  // src/chat/conversations/sql/store.ts
26
26
  import { randomUUID as randomUUID2 } from "crypto";
@@ -7,7 +7,7 @@ import {
7
7
  PluginCredentialFailureError,
8
8
  agentNameSchema,
9
9
  createPluginAuthOrchestration
10
- } from "./chunk-QPIPYVGE.js";
10
+ } from "./chunk-IZE2EGCX.js";
11
11
  import {
12
12
  authorizationId
13
13
  } from "./chunk-DIB4GX3G.js";
@@ -32,7 +32,7 @@ import {
32
32
  searchSlackUsers,
33
33
  selectPluginGrant,
34
34
  toMcpProviderError
35
- } from "./chunk-MCNP7A7T.js";
35
+ } from "./chunk-LWFHRWJI.js";
36
36
  import {
37
37
  RetryableDeliveryError,
38
38
  actorFromRun,
@@ -48,7 +48,7 @@ import {
48
48
  getSlackMessagePermalink,
49
49
  resolveBaseUrl,
50
50
  uploadFilesToConversation
51
- } from "./chunk-DWETNV66.js";
51
+ } from "./chunk-SZ74ECCC.js";
52
52
  import {
53
53
  parseSandboxEgressAuthRequiredSignal,
54
54
  parseSandboxEgressPermissionDeniedSignal,
@@ -77,7 +77,7 @@ import {
77
77
  runNonInteractiveCommand,
78
78
  throwSandboxOperationError,
79
79
  wrapSandboxSetupError
80
- } from "./chunk-ZBOGYZ53.js";
80
+ } from "./chunk-6A24WEKX.js";
81
81
  import {
82
82
  SCHEDULED_TASK_SYSTEM_ACTOR,
83
83
  compactEventTask,
@@ -109,10 +109,10 @@ import {
109
109
  saveEventTask,
110
110
  scheduledTaskAttributes,
111
111
  writableEventTask
112
- } from "./chunk-P43QM7JY.js";
112
+ } from "./chunk-AD6N2KNE.js";
113
113
  import {
114
114
  parseSlackThreadId
115
- } from "./chunk-H2RLIJ7G.js";
115
+ } from "./chunk-4JV7GUUH.js";
116
116
  import {
117
117
  AGENTS_REMOVAL_NOTICE,
118
118
  AGENTS_REPLACEMENT_NOTICE,
@@ -182,7 +182,7 @@ import {
182
182
  stripRuntimeTurnContext,
183
183
  trimTrailingAssistantMessages,
184
184
  truncateText
185
- } from "./chunk-IPGNWXA3.js";
185
+ } from "./chunk-2AWDPNP7.js";
186
186
  import {
187
187
  JUNIOR_THREAD_STATE_TTL_MS
188
188
  } from "./chunk-3Y47VMHV.js";
@@ -198,7 +198,7 @@ import {
198
198
  getSlackToolContext,
199
199
  readActorIdentity,
200
200
  resolveChannelCapabilities
201
- } from "./chunk-UOFQEVR5.js";
201
+ } from "./chunk-QNSV46AW.js";
202
202
  import {
203
203
  SlackActionError,
204
204
  downloadPrivateSlackFile,
@@ -207,7 +207,7 @@ import {
207
207
  isConversationScopedChannel,
208
208
  normalizeSlackConversationId,
209
209
  withSlackRetries
210
- } from "./chunk-64K7GKRW.js";
210
+ } from "./chunk-D2PVJU5E.js";
211
211
  import {
212
212
  KNOWN_CONVERSATION_EVENT_TYPES,
213
213
  contextProvenance,
@@ -219,10 +219,10 @@ import {
219
219
  instructionActors,
220
220
  instructionProvenanceFor,
221
221
  sameActorIdentity
222
- } from "./chunk-ILYL6YFD.js";
222
+ } from "./chunk-GZ25ZSTX.js";
223
223
  import {
224
224
  juniorIdentities
225
- } from "./chunk-F5NMSEBL.js";
225
+ } from "./chunk-KFHJQYKQ.js";
226
226
  import {
227
227
  SANDBOX_DATA_ROOT,
228
228
  SANDBOX_SKILLS_ROOT,
@@ -234,7 +234,7 @@ import {
234
234
  } from "./chunk-EM225ITJ.js";
235
235
  import {
236
236
  getStateAdapter
237
- } from "./chunk-6PFDWAK2.js";
237
+ } from "./chunk-B2YA2G26.js";
238
238
  import {
239
239
  ACTIVE_TURN_COMPACTION_SUMMARY_PREFIX,
240
240
  COMPACTION_SUMMARY_PREFIX,
@@ -267,7 +267,7 @@ import {
267
267
  resolveGatewayCredential,
268
268
  resolveGatewayModel,
269
269
  unwrapCurrentInstruction
270
- } from "./chunk-3ZMKDHCT.js";
270
+ } from "./chunk-FGP5W3NS.js";
271
271
  import {
272
272
  canExposeConversationPayload,
273
273
  resolveConversationPrivacy,
@@ -277,16 +277,16 @@ import {
277
277
  toGenAiMessagesTraceAttributes,
278
278
  toGenAiPayloadMetadata,
279
279
  toGenAiPayloadTraceAttributes
280
- } from "./chunk-SHDREBGC.js";
280
+ } from "./chunk-5NOHC2Z4.js";
281
281
  import {
282
282
  discoverSkills,
283
283
  findSkillByName,
284
284
  loadSkillsByName,
285
285
  parseSkillInvocation
286
- } from "./chunk-NNOCRVQO.js";
286
+ } from "./chunk-6ZYGORV4.js";
287
287
  import {
288
288
  pluginCatalogRuntime
289
- } from "./chunk-7NLW2NF5.js";
289
+ } from "./chunk-2DIRU2C2.js";
290
290
  import {
291
291
  CredentialUnavailableError,
292
292
  OAuthProviderError,
@@ -294,7 +294,7 @@ import {
294
294
  getOAuthProviderErrorAttributes,
295
295
  resolveAuthTokenPlaceholder,
296
296
  resolvePluginCommandEnv
297
- } from "./chunk-ZUQT35YC.js";
297
+ } from "./chunk-TZRYLW3R.js";
298
298
  import {
299
299
  credentialUserSubjectId
300
300
  } from "./chunk-RUIXF3YQ.js";
@@ -324,7 +324,7 @@ import {
324
324
  summarizeMessageText,
325
325
  withLogContext,
326
326
  withSpan
327
- } from "./chunk-JQXJ2E53.js";
327
+ } from "./chunk-3WIFZBJL.js";
328
328
  import {
329
329
  startInactiveSpan,
330
330
  withActiveSpan
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  formatProviderLabel,
6
6
  startOAuthFlow
7
- } from "./chunk-DWETNV66.js";
7
+ } from "./chunk-SZ74ECCC.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-IPGNWXA3.js";
15
+ } from "./chunk-2AWDPNP7.js";
16
16
  import {
17
17
  AGENT_INVOCATION_MAILBOX_STATUSES
18
- } from "./chunk-F5NMSEBL.js";
18
+ } from "./chunk-KFHJQYKQ.js";
19
19
  import {
20
20
  TURN_REASONING_LEVELS
21
- } from "./chunk-3ZMKDHCT.js";
21
+ } from "./chunk-FGP5W3NS.js";
22
22
  import {
23
23
  pluginCatalogRuntime
24
- } from "./chunk-7NLW2NF5.js";
24
+ } from "./chunk-2DIRU2C2.js";
25
25
  import {
26
26
  credentialContextSchema
27
27
  } from "./chunk-RUIXF3YQ.js";
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  persistConversationMessages
3
- } from "./chunk-IPGNWXA3.js";
3
+ } from "./chunk-2AWDPNP7.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-ILYL6YFD.js";
9
+ } from "./chunk-GZ25ZSTX.js";
10
10
  import {
11
11
  juniorLocationConfigurations
12
- } from "./chunk-F5NMSEBL.js";
12
+ } from "./chunk-KFHJQYKQ.js";
13
13
  import {
14
14
  getStateAdapter
15
- } from "./chunk-6PFDWAK2.js";
15
+ } from "./chunk-B2YA2G26.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-JQXJ2E53.js";
23
+ } from "./chunk-3WIFZBJL.js";
24
24
 
25
25
  // src/chat/conversations/turn-lifecycle.ts
26
26
  var ConversationTurnLifecycleService = class {
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@sentry/junior",
4
- version: "0.150.0",
4
+ version: "0.150.1",
5
5
  private: false,
6
6
  publishConfig: {
7
7
  access: "public"
@@ -8,14 +8,14 @@ import {
8
8
  getConversationStore,
9
9
  parseDestination,
10
10
  sameDestination
11
- } from "./chunk-ILYL6YFD.js";
11
+ } from "./chunk-GZ25ZSTX.js";
12
12
  import {
13
13
  getDefaultRedisStateAdapterFor,
14
14
  getStateAdapter
15
- } from "./chunk-6PFDWAK2.js";
15
+ } from "./chunk-B2YA2G26.js";
16
16
  import {
17
17
  getChatConfig
18
- } from "./chunk-3ZMKDHCT.js";
18
+ } from "./chunk-FGP5W3NS.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-JQXJ2E53.js";
26
+ } from "./chunk-3WIFZBJL.js";
27
27
 
28
28
  // src/chat/task-execution/state.ts
29
29
  import { randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_SQL_STATEMENT_TIMEOUT_MS
3
- } from "./chunk-3ZMKDHCT.js";
3
+ } from "./chunk-FGP5W3NS.js";
4
4
  import {
5
5
  juniorDestinations,
6
6
  timestamptz
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getTurnRequestDeadline
3
- } from "./chunk-4KAYAIBV.js";
3
+ } from "./chunk-R53UTQ2Q.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-M5OZSVJI.js";
24
+ } from "./chunk-JVOLC6JZ.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-3ZMKDHCT.js";
31
+ } from "./chunk-FGP5W3NS.js";
32
32
  import {
33
33
  logException,
34
34
  logInfo,
35
35
  logWarn,
36
36
  withLogContext
37
- } from "./chunk-JQXJ2E53.js";
37
+ } from "./chunk-3WIFZBJL.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-DWETNV66.js";
3
+ } from "./chunk-SZ74ECCC.js";
4
4
  import {
5
5
  createPluginLogger,
6
6
  getPlugins
7
- } from "./chunk-UOFQEVR5.js";
7
+ } from "./chunk-QNSV46AW.js";
8
8
  import {
9
9
  getSlackClient,
10
10
  withSlackRetries
11
- } from "./chunk-64K7GKRW.js";
11
+ } from "./chunk-D2PVJU5E.js";
12
12
  import {
13
13
  getDb,
14
14
  parseDestination
15
- } from "./chunk-ILYL6YFD.js";
15
+ } from "./chunk-GZ25ZSTX.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-6PFDWAK2.js";
22
+ } from "./chunk-B2YA2G26.js";
23
23
  import {
24
24
  pluginCatalogRuntime
25
- } from "./chunk-7NLW2NF5.js";
25
+ } from "./chunk-2DIRU2C2.js";
26
26
  import {
27
27
  fetchWithBoundedOAuthErrorBodies
28
- } from "./chunk-ZUQT35YC.js";
28
+ } from "./chunk-TZRYLW3R.js";
29
29
  import {
30
30
  isRecord
31
- } from "./chunk-JQXJ2E53.js";
31
+ } from "./chunk-3WIFZBJL.js";
32
32
 
33
33
  // src/chat/capabilities/router.ts
34
34
  var ProviderCredentialRouter = class {
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  coerceThreadConversationState,
3
3
  getPersistedThreadState
4
- } from "./chunk-FEFEIA3Z.js";
4
+ } from "./chunk-JBYWR6FW.js";
5
5
  import {
6
6
  pluginTaskId,
7
7
  pluginTaskParamsSchema,
@@ -20,7 +20,7 @@ import {
20
20
  markTurnCompleted,
21
21
  normalizeToolNameFromResult,
22
22
  stripRuntimeTurnContext
23
- } from "./chunk-IPGNWXA3.js";
23
+ } from "./chunk-2AWDPNP7.js";
24
24
  import {
25
25
  JUNIOR_THREAD_STATE_TTL_MS
26
26
  } from "./chunk-3Y47VMHV.js";
@@ -31,25 +31,25 @@ import {
31
31
  createPluginModel,
32
32
  createPluginState,
33
33
  getPlugins
34
- } from "./chunk-UOFQEVR5.js";
34
+ } from "./chunk-QNSV46AW.js";
35
35
  import {
36
36
  getConversationStore,
37
37
  getDb,
38
38
  sameActorIdentity
39
- } from "./chunk-ILYL6YFD.js";
39
+ } from "./chunk-GZ25ZSTX.js";
40
40
  import {
41
41
  juniorConversations,
42
42
  juniorTaskExecutions
43
- } from "./chunk-F5NMSEBL.js";
43
+ } from "./chunk-KFHJQYKQ.js";
44
44
  import {
45
45
  getStateAdapter
46
- } from "./chunk-6PFDWAK2.js";
46
+ } from "./chunk-B2YA2G26.js";
47
47
  import {
48
48
  ProviderError,
49
49
  findProviderError,
50
50
  getProviderErrorAttributes,
51
51
  getProviderErrorUserMessage
52
- } from "./chunk-3ZMKDHCT.js";
52
+ } from "./chunk-FGP5W3NS.js";
53
53
  import {
54
54
  credentialSubjectSchema
55
55
  } from "./chunk-RUIXF3YQ.js";
@@ -59,7 +59,7 @@ import {
59
59
  import {
60
60
  buildTurnFailureResponse,
61
61
  logWarn
62
- } from "./chunk-JQXJ2E53.js";
62
+ } from "./chunk-3WIFZBJL.js";
63
63
 
64
64
  // src/chat/runtime/delivered-turn-state.ts
65
65
  function buildDeliveredTurnStatePatch(args) {
@@ -85,7 +85,7 @@ import { pluginRunContextSchema } from "@sentry/junior-plugin-api";
85
85
 
86
86
  // src/chat/services/turn-session-routing.ts
87
87
  async function resolveTurnSessionRouting(args) {
88
- const conversationStore = args.conversationStore ?? (await import("./db-HUW75QG7.js")).getConversationStore();
88
+ const conversationStore = args.conversationStore ?? (await import("./db-WRA5ZHYE.js")).getConversationStore();
89
89
  const conversation = await conversationStore.get({
90
90
  conversationId: args.conversationId
91
91
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pluginCatalogRuntime
3
- } from "./chunk-7NLW2NF5.js";
3
+ } from "./chunk-2DIRU2C2.js";
4
4
 
5
5
  // src/chat/plugins/validation.ts
6
6
  import { isDeepStrictEqual } from "util";
@@ -4,30 +4,30 @@ import {
4
4
  isConversationScopedChannel,
5
5
  isDmChannel,
6
6
  normalizeSlackConversationId
7
- } from "./chunk-64K7GKRW.js";
7
+ } from "./chunk-D2PVJU5E.js";
8
8
  import {
9
9
  getConversationEventStore,
10
10
  getDb
11
- } from "./chunk-ILYL6YFD.js";
11
+ } from "./chunk-GZ25ZSTX.js";
12
12
  import {
13
13
  juniorConversationAnnotations,
14
14
  juniorConversationEvents,
15
15
  juniorIdentities,
16
16
  juniorUsers
17
- } from "./chunk-F5NMSEBL.js";
17
+ } from "./chunk-KFHJQYKQ.js";
18
18
  import {
19
19
  SANDBOX_WORKSPACE_ROOT
20
20
  } from "./chunk-EM225ITJ.js";
21
21
  import {
22
22
  getStateAdapter
23
- } from "./chunk-6PFDWAK2.js";
23
+ } from "./chunk-B2YA2G26.js";
24
24
  import {
25
25
  botConfig,
26
26
  completeObject,
27
27
  embedTexts,
28
28
  getSlackBotToken,
29
29
  standardModelId
30
- } from "./chunk-3ZMKDHCT.js";
30
+ } from "./chunk-FGP5W3NS.js";
31
31
  import {
32
32
  isActorUserId,
33
33
  parseActorUserId
@@ -42,7 +42,7 @@ import {
42
42
  logInfo,
43
43
  logWarn,
44
44
  normalizeIdentityEmail
45
- } from "./chunk-JQXJ2E53.js";
45
+ } from "./chunk-3WIFZBJL.js";
46
46
 
47
47
  // src/chat/plugins/agent-hooks.ts
48
48
  import {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createAndEnqueueAgentInvocation
3
- } from "./chunk-NCGVQXX5.js";
3
+ } from "./chunk-W3FQZAX5.js";
4
4
  import {
5
5
  actorFromRun,
6
6
  toolInvocationDestination
@@ -3,17 +3,17 @@ import {
3
3
  } from "./chunk-FA6POGLH.js";
4
4
  import {
5
5
  getTurnRequestDeadline
6
- } from "./chunk-4KAYAIBV.js";
6
+ } from "./chunk-R53UTQ2Q.js";
7
7
  import {
8
8
  persistAuthPauseTurnState
9
- } from "./chunk-7D4GNUV2.js";
9
+ } from "./chunk-XED3H34M.js";
10
10
  import {
11
11
  buildSentryConversationUrl
12
12
  } from "./chunk-4CODA7P5.js";
13
13
  import {
14
14
  ensureConversationWake,
15
15
  requestConversationWork
16
- } from "./chunk-M5OZSVJI.js";
16
+ } from "./chunk-JVOLC6JZ.js";
17
17
  import {
18
18
  buildDeliveredTurnStatePatch,
19
19
  finalizeFailedTurnReplyWithEvent,
@@ -25,7 +25,7 @@ import {
25
25
  requireTurnFailureEventId,
26
26
  resolveTurnSessionRouting,
27
27
  scheduleSessionCompletedPluginTasks
28
- } from "./chunk-UIMBNY6O.js";
28
+ } from "./chunk-N6QJAPZS.js";
29
29
  import {
30
30
  ConversationTurnLifecycleService,
31
31
  coerceThreadConversationState,
@@ -34,7 +34,7 @@ import {
34
34
  getPersistedSandboxState,
35
35
  getPersistedThreadState,
36
36
  persistThreadStateById
37
- } from "./chunk-FEFEIA3Z.js";
37
+ } from "./chunk-JBYWR6FW.js";
38
38
  import {
39
39
  getVercelConversationWorkQueue
40
40
  } from "./chunk-WR76IVA5.js";
@@ -47,7 +47,7 @@ import {
47
47
  getMcpStoredOAuthCredentials,
48
48
  lookupSlackUserProfile,
49
49
  resolvePluginOAuthAccount
50
- } from "./chunk-MCNP7A7T.js";
50
+ } from "./chunk-LWFHRWJI.js";
51
51
  import {
52
52
  RetryableDeliveryError
53
53
  } from "./chunk-RF6J3DIO.js";
@@ -63,13 +63,13 @@ import {
63
63
  removeReactionFromMessage,
64
64
  resolveBaseUrl,
65
65
  truncateStatusText
66
- } from "./chunk-DWETNV66.js";
66
+ } from "./chunk-SZ74ECCC.js";
67
67
  import {
68
68
  parseSlackThreadId,
69
69
  readSlackRawMessageContext,
70
70
  resolveSlackChannelIdFromMessage,
71
71
  resolveSlackChannelIdFromThreadId
72
- } from "./chunk-H2RLIJ7G.js";
72
+ } from "./chunk-4JV7GUUH.js";
73
73
  import {
74
74
  TurnSliceLimitExceededError,
75
75
  abandonTurnRecord,
@@ -94,29 +94,29 @@ import {
94
94
  recordTurnSummary,
95
95
  saveTurnCheckpoint,
96
96
  turnHasReply
97
- } from "./chunk-IPGNWXA3.js";
97
+ } from "./chunk-2AWDPNP7.js";
98
98
  import {
99
99
  getDashboardConversationLink,
100
100
  getPluginSlackConversationLink
101
- } from "./chunk-UOFQEVR5.js";
101
+ } from "./chunk-QNSV46AW.js";
102
102
  import {
103
103
  SlackActionError,
104
104
  getHeaderString,
105
105
  getSlackClient,
106
106
  isDmChannel,
107
107
  normalizeSlackConversationId
108
- } from "./chunk-64K7GKRW.js";
108
+ } from "./chunk-D2PVJU5E.js";
109
109
  import {
110
110
  getConversationEventStore,
111
111
  getSqlExecutor,
112
112
  requireSlackDestination,
113
113
  upsertIdentity,
114
114
  upsertLinkedIdentity
115
- } from "./chunk-ILYL6YFD.js";
115
+ } from "./chunk-GZ25ZSTX.js";
116
116
  import {
117
117
  acquireActiveLock,
118
118
  getStateAdapter
119
- } from "./chunk-6PFDWAK2.js";
119
+ } from "./chunk-B2YA2G26.js";
120
120
  import {
121
121
  botConfig,
122
122
  escapeXml,
@@ -124,18 +124,18 @@ import {
124
124
  getRuntimeMetadata,
125
125
  normalizeSlackEmojiName,
126
126
  standardModelId
127
- } from "./chunk-3ZMKDHCT.js";
127
+ } from "./chunk-FGP5W3NS.js";
128
128
  import {
129
129
  discoverSkills
130
- } from "./chunk-NNOCRVQO.js";
130
+ } from "./chunk-6ZYGORV4.js";
131
131
  import {
132
132
  pluginCatalogRuntime
133
- } from "./chunk-7NLW2NF5.js";
133
+ } from "./chunk-2DIRU2C2.js";
134
134
  import {
135
135
  buildOAuthTokenRequest,
136
136
  hasRequiredOAuthScope,
137
137
  parseOAuthTokenResponse
138
- } from "./chunk-ZUQT35YC.js";
138
+ } from "./chunk-TZRYLW3R.js";
139
139
  import {
140
140
  createSlackResumeActor,
141
141
  isUserActor
@@ -153,7 +153,7 @@ import {
153
153
  setTags,
154
154
  toOptionalString,
155
155
  withLogContext
156
- } from "./chunk-JQXJ2E53.js";
156
+ } from "./chunk-3WIFZBJL.js";
157
157
  import {
158
158
  homeDir
159
159
  } from "./chunk-H4HBKISO.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  FUNCTION_TIMEOUT_BUFFER_SECONDS,
3
3
  getChatConfig
4
- } from "./chunk-3ZMKDHCT.js";
4
+ } from "./chunk-FGP5W3NS.js";
5
5
 
6
6
  // src/chat/runtime/request-deadline.ts
7
7
  import { AsyncLocalStorage } from "async_hooks";
@@ -4,19 +4,19 @@ import {
4
4
  isDmChannel,
5
5
  normalizeSlackConversationId,
6
6
  withSlackRetries
7
- } from "./chunk-64K7GKRW.js";
7
+ } from "./chunk-D2PVJU5E.js";
8
8
  import {
9
9
  parseDestination
10
- } from "./chunk-ILYL6YFD.js";
10
+ } from "./chunk-GZ25ZSTX.js";
11
11
  import {
12
12
  getStateAdapter
13
- } from "./chunk-6PFDWAK2.js";
13
+ } from "./chunk-B2YA2G26.js";
14
14
  import {
15
15
  normalizeSlackEmojiName
16
- } from "./chunk-3ZMKDHCT.js";
16
+ } from "./chunk-FGP5W3NS.js";
17
17
  import {
18
18
  pluginCatalogRuntime
19
- } from "./chunk-7NLW2NF5.js";
19
+ } from "./chunk-2DIRU2C2.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-JQXJ2E53.js";
28
+ } from "./chunk-3WIFZBJL.js";
29
29
 
30
30
  // src/chat/slack/outbound.ts
31
31
  var MAX_SLACK_MESSAGE_TEXT_CHARS = 4e4;
@@ -5,7 +5,7 @@ import {
5
5
  logInfo,
6
6
  logWarn,
7
7
  setSpanAttributes
8
- } from "./chunk-JQXJ2E53.js";
8
+ } from "./chunk-3WIFZBJL.js";
9
9
  import {
10
10
  discoverInstalledPluginPackageContent,
11
11
  normalizePluginPackageNames