@sentry/junior 0.142.0 → 0.143.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 (53) hide show
  1. package/dist/{agent-hooks-WDJQQAPH.js → agent-hooks-2EP3QS47.js} +10 -10
  2. package/dist/api.js +19 -19
  3. package/dist/app.js +32 -32
  4. package/dist/{catalog-runtime-CLHTYBHB.js → catalog-runtime-IAVW4W3B.js} +5 -5
  5. package/dist/{chunk-4L7PKEHM.js → chunk-2KLMGRRQ.js} +1 -1
  6. package/dist/{chunk-LXLBYA6N.js → chunk-2T5CHXRZ.js} +2 -2
  7. package/dist/{chunk-LGY7YX5O.js → chunk-5YJBS4I5.js} +1 -1
  8. package/dist/{chunk-A646AKNB.js → chunk-7GVX5SOG.js} +2 -2
  9. package/dist/{chunk-7R3CGEMF.js → chunk-A3XPSABC.js} +3 -3
  10. package/dist/{chunk-QDRMQI5W.js → chunk-AEFJN7OK.js} +4 -4
  11. package/dist/{chunk-R7E476CH.js → chunk-ANG7IWAI.js} +6 -6
  12. package/dist/{chunk-SF6YKONJ.js → chunk-BJ6ISBOA.js} +1 -1
  13. package/dist/{chunk-T4NFQ5SG.js → chunk-F6RWNJBK.js} +5 -5
  14. package/dist/{chunk-XAW6IN6M.js → chunk-GZRWULXF.js} +1 -1
  15. package/dist/{chunk-RYYBUI34.js → chunk-I25V3XRN.js} +2 -2
  16. package/dist/{chunk-VJMBLWYR.js → chunk-I4NQNZVW.js} +6 -6
  17. package/dist/{chunk-WJEW7UNC.js → chunk-I5PIM72M.js} +10 -10
  18. package/dist/{chunk-N3H7G5K6.js → chunk-LSBQHDI2.js} +1 -1
  19. package/dist/{chunk-NWO5IB7V.js → chunk-M2T7MHQJ.js} +1 -1
  20. package/dist/{chunk-SCHH6264.js → chunk-NAINBOZQ.js} +3 -3
  21. package/dist/{chunk-WYLSMTWU.js → chunk-NVFVM67W.js} +1 -1
  22. package/dist/{chunk-JIWZ7T4C.js → chunk-OB7ZJK7Y.js} +1 -1
  23. package/dist/{chunk-5ITSZIAP.js → chunk-OG5JQHKR.js} +1 -1
  24. package/dist/{chunk-B2H7NI5C.js → chunk-PBV7VXUA.js} +4 -4
  25. package/dist/{chunk-ZPNUI4L3.js → chunk-QFWXGUAH.js} +15 -15
  26. package/dist/{chunk-5QVVW3FY.js → chunk-RABHACKG.js} +7 -7
  27. package/dist/{chunk-PWDCFIQG.js → chunk-SNBTWIQO.js} +6 -6
  28. package/dist/{chunk-XFHSZNOX.js → chunk-STX5WIH6.js} +2 -2
  29. package/dist/{chunk-HVTWCMDS.js → chunk-TPJK6AVJ.js} +1 -1
  30. package/dist/{chunk-CBMIVCPM.js → chunk-U5ATCOHE.js} +2 -2
  31. package/dist/{chunk-6IMKBHCG.js → chunk-UFCA4EZB.js} +4 -4
  32. package/dist/{chunk-DRTWANQF.js → chunk-WJHWOAVZ.js} +1 -1
  33. package/dist/{chunk-CA4WLRA3.js → chunk-WM4PRM7W.js} +4 -4
  34. package/dist/{chunk-LL3BGP7J.js → chunk-WSWVWP2V.js} +1 -1
  35. package/dist/{chunk-OQAPYAXH.js → chunk-X5SC2UGE.js} +3 -3
  36. package/dist/{chunk-4EZV6URQ.js → chunk-XYJNNZYR.js} +19 -19
  37. package/dist/cli/chat.js +32 -32
  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-6N4CD5AI.js → db-RBXBVEVO.js} +7 -7
  43. package/dist/instrumentation.js +4 -4
  44. package/dist/nitro.js +2 -2
  45. package/dist/{oauth-callback-server-G4K2X56R.js → oauth-callback-server-LRB6BX6C.js} +23 -23
  46. package/dist/{runner-DEIHVRUE.js → runner-WK5VUOW6.js} +15 -15
  47. package/dist/{skills-FZVJ6ZFW.js → skills-MJWRME3A.js} +6 -6
  48. package/dist/{spawn-WD4F67SZ.js → spawn-ZCW6UOAA.js} +17 -17
  49. package/dist/{validation-EOLSG7B6.js → validation-556WSWVU.js} +6 -6
  50. package/dist/version.js +1 -1
  51. package/dist/{work-AS3IBMLA.js → work-W6IXSPY3.js} +16 -16
  52. package/dist/{worker-VGGNGOUU.js → worker-5KM346HH.js} +10 -10
  53. package/package.json +4 -4
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  recordTaskExecution
3
- } from "./chunk-7R3CGEMF.js";
3
+ } from "./chunk-A3XPSABC.js";
4
4
  import {
5
5
  pluginTaskId,
6
6
  pluginTaskParamsSchema,
@@ -10,7 +10,7 @@ import {
10
10
  calculateContextCompactionTargetTokens,
11
11
  estimateTextTokens,
12
12
  getConversationContextCompactionTriggerTokens
13
- } from "./chunk-DRTWANQF.js";
13
+ } from "./chunk-WJHWOAVZ.js";
14
14
  import {
15
15
  buildDeterministicTurnId,
16
16
  clearPendingAuth,
@@ -28,14 +28,14 @@ import {
28
28
  normalizeToolNameFromResult,
29
29
  persistThreadStateById,
30
30
  stripRuntimeTurnContext
31
- } from "./chunk-B2H7NI5C.js";
31
+ } from "./chunk-PBV7VXUA.js";
32
32
  import {
33
33
  JUNIOR_THREAD_STATE_TTL_MS
34
34
  } from "./chunk-3Y47VMHV.js";
35
35
  import {
36
36
  fallbackShortTitle,
37
37
  generateShortTitle
38
- } from "./chunk-XFHSZNOX.js";
38
+ } from "./chunk-STX5WIH6.js";
39
39
  import {
40
40
  createPluginConversationEvents,
41
41
  createPluginEmbedder,
@@ -43,15 +43,15 @@ import {
43
43
  createPluginModel,
44
44
  createPluginState,
45
45
  getPlugins
46
- } from "./chunk-PWDCFIQG.js";
46
+ } from "./chunk-SNBTWIQO.js";
47
47
  import {
48
48
  getConversationStore,
49
49
  getDb,
50
50
  sameActorIdentity
51
- } from "./chunk-SCHH6264.js";
51
+ } from "./chunk-NAINBOZQ.js";
52
52
  import {
53
53
  getStateAdapter
54
- } from "./chunk-NWO5IB7V.js";
54
+ } from "./chunk-M2T7MHQJ.js";
55
55
  import {
56
56
  ProviderError,
57
57
  botConfig,
@@ -59,7 +59,7 @@ import {
59
59
  findProviderError,
60
60
  getProviderErrorAttributes,
61
61
  getProviderErrorUserMessage
62
- } from "./chunk-A646AKNB.js";
62
+ } from "./chunk-7GVX5SOG.js";
63
63
  import {
64
64
  credentialSubjectSchema
65
65
  } from "./chunk-RUIXF3YQ.js";
@@ -70,7 +70,7 @@ import {
70
70
  buildTurnFailureResponse,
71
71
  logWarn,
72
72
  setSpanAttributes
73
- } from "./chunk-XAW6IN6M.js";
73
+ } from "./chunk-GZRWULXF.js";
74
74
 
75
75
  // src/chat/services/conversation-memory.ts
76
76
  var CONTEXT_MIN_LIVE_MESSAGES = 12;
@@ -410,7 +410,7 @@ import {
410
410
 
411
411
  // src/chat/services/turn-session-routing.ts
412
412
  async function resolveTurnSessionRouting(args) {
413
- const conversationStore = args.conversationStore ?? (await import("./db-6N4CD5AI.js")).getConversationStore();
413
+ const conversationStore = args.conversationStore ?? (await import("./db-RBXBVEVO.js")).getConversationStore();
414
414
  const conversation = await conversationStore.get({
415
415
  conversationId: args.conversationId
416
416
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createAndEnqueueAgentInvocation
3
- } from "./chunk-VJMBLWYR.js";
3
+ } from "./chunk-I4NQNZVW.js";
4
4
  import {
5
5
  actorFromRouting,
6
6
  toolInvocationDestination
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getChatConfig
3
- } from "./chunk-A646AKNB.js";
3
+ } from "./chunk-7GVX5SOG.js";
4
4
 
5
5
  // src/chat/state/adapter.ts
6
6
  import { createMemoryState } from "@chat-adapter/state-memory";
@@ -5,12 +5,12 @@ import {
5
5
  juniorConversations,
6
6
  juniorIdentities,
7
7
  juniorUsers
8
- } from "./chunk-4L7PKEHM.js";
8
+ } from "./chunk-2KLMGRRQ.js";
9
9
  import {
10
10
  TURN_REASONING_LEVELS,
11
11
  getChatConfig,
12
12
  modelProfileSchema
13
- } from "./chunk-A646AKNB.js";
13
+ } from "./chunk-7GVX5SOG.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-XAW6IN6M.js";
23
+ } from "./chunk-GZRWULXF.js";
24
24
 
25
25
  // src/chat/conversations/sql/store.ts
26
26
  import { randomUUID as randomUUID2 } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createPluginCatalogRuntime
3
- } from "./chunk-SF6YKONJ.js";
3
+ } from "./chunk-BJ6ISBOA.js";
4
4
 
5
5
  // src/chat/plugins/catalog-runtime.ts
6
6
  var pluginCatalogRuntime = createPluginCatalogRuntime();
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@sentry/junior",
4
- version: "0.142.0",
4
+ version: "0.143.0",
5
5
  private: false,
6
6
  publishConfig: {
7
7
  access: "public"
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-F3B2YJ76.js";
6
6
  import {
7
7
  toOptionalString
8
- } from "./chunk-XAW6IN6M.js";
8
+ } from "./chunk-GZRWULXF.js";
9
9
 
10
10
  // src/chat/slack/context.ts
11
11
  import { z } from "zod";
@@ -21,18 +21,18 @@ import {
21
21
  instructionProvenanceFor,
22
22
  sanitizePostgresJson,
23
23
  withConversationEventLock
24
- } from "./chunk-SCHH6264.js";
24
+ } from "./chunk-NAINBOZQ.js";
25
25
  import {
26
26
  SANDBOX_WORKSPACE_ROOT,
27
27
  sleep
28
28
  } from "./chunk-EM225ITJ.js";
29
29
  import {
30
30
  getStateAdapter
31
- } from "./chunk-NWO5IB7V.js";
31
+ } from "./chunk-M2T7MHQJ.js";
32
32
  import {
33
33
  botConfig,
34
34
  unwrapCurrentInstruction
35
- } from "./chunk-A646AKNB.js";
35
+ } from "./chunk-7GVX5SOG.js";
36
36
  import {
37
37
  toStoredSlackActor
38
38
  } from "./chunk-HZF5P5UN.js";
@@ -42,7 +42,7 @@ import {
42
42
  logException,
43
43
  toOptionalNumber,
44
44
  toOptionalString
45
- } from "./chunk-XAW6IN6M.js";
45
+ } from "./chunk-GZRWULXF.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
  ensureConversationWake,
6
6
  requestConversationWork
7
- } from "./chunk-CA4WLRA3.js";
7
+ } from "./chunk-WM4PRM7W.js";
8
8
  import {
9
9
  buildConversationContext,
10
10
  buildDeliveredTurnStatePatch,
@@ -21,7 +21,7 @@ import {
21
21
  resolveTurnSessionRouting,
22
22
  scheduleSessionCompletedPluginTasks,
23
23
  turnHasReply
24
- } from "./chunk-WJEW7UNC.js";
24
+ } from "./chunk-I5PIM72M.js";
25
25
  import {
26
26
  ConversationTurnLifecycleService
27
27
  } from "./chunk-Q6QZTTLS.js";
@@ -39,7 +39,7 @@ import {
39
39
  getMcpProviderErrorAttributes,
40
40
  getMcpStoredOAuthCredentials,
41
41
  resolvePluginOAuthAccount
42
- } from "./chunk-5QVVW3FY.js";
42
+ } from "./chunk-RABHACKG.js";
43
43
  import {
44
44
  RetryableDeliveryError
45
45
  } from "./chunk-R776HKPK.js";
@@ -55,7 +55,7 @@ import {
55
55
  removeReactionFromMessage,
56
56
  resolveBaseUrl,
57
57
  truncateStatusText
58
- } from "./chunk-R7E476CH.js";
58
+ } from "./chunk-ANG7IWAI.js";
59
59
  import {
60
60
  TurnSliceLimitExceededError,
61
61
  abandonAgentTurnSessionRecord,
@@ -81,32 +81,32 @@ import {
81
81
  recordAgentTurnSessionSummary,
82
82
  recordAuthenticationLinked,
83
83
  recordAuthorizationCompleted
84
- } from "./chunk-B2H7NI5C.js";
84
+ } from "./chunk-PBV7VXUA.js";
85
85
  import {
86
86
  parseSlackThreadId,
87
87
  readSlackRawMessageContext,
88
88
  resolveSlackChannelIdFromMessage,
89
89
  resolveSlackChannelIdFromThreadId
90
- } from "./chunk-5ITSZIAP.js";
90
+ } from "./chunk-OG5JQHKR.js";
91
91
  import {
92
92
  getDashboardConversationLink,
93
93
  getPluginSlackConversationLink
94
- } from "./chunk-PWDCFIQG.js";
94
+ } from "./chunk-SNBTWIQO.js";
95
95
  import {
96
96
  SlackActionError,
97
97
  getHeaderString,
98
98
  getSlackClient,
99
99
  isDmChannel,
100
100
  normalizeSlackConversationId
101
- } from "./chunk-RYYBUI34.js";
101
+ } from "./chunk-I25V3XRN.js";
102
102
  import {
103
103
  getConversationEventStore,
104
104
  requireSlackDestination
105
- } from "./chunk-SCHH6264.js";
105
+ } from "./chunk-NAINBOZQ.js";
106
106
  import {
107
107
  acquireActiveLock,
108
108
  getStateAdapter
109
- } from "./chunk-NWO5IB7V.js";
109
+ } from "./chunk-M2T7MHQJ.js";
110
110
  import {
111
111
  FUNCTION_TIMEOUT_BUFFER_SECONDS,
112
112
  botConfig,
@@ -115,18 +115,18 @@ import {
115
115
  getRuntimeMetadata,
116
116
  normalizeSlackEmojiName,
117
117
  standardModelId
118
- } from "./chunk-A646AKNB.js";
118
+ } from "./chunk-7GVX5SOG.js";
119
119
  import {
120
120
  discoverSkills
121
- } from "./chunk-CBMIVCPM.js";
121
+ } from "./chunk-U5ATCOHE.js";
122
122
  import {
123
123
  pluginCatalogRuntime
124
- } from "./chunk-WYLSMTWU.js";
124
+ } from "./chunk-NVFVM67W.js";
125
125
  import {
126
126
  buildOAuthTokenRequest,
127
127
  hasRequiredOAuthScope,
128
128
  parseOAuthTokenResponse
129
- } from "./chunk-SF6YKONJ.js";
129
+ } from "./chunk-BJ6ISBOA.js";
130
130
  import {
131
131
  createSlackResumeActor,
132
132
  isUserActor
@@ -142,7 +142,7 @@ import {
142
142
  setTags,
143
143
  toOptionalString,
144
144
  withLogContext
145
- } from "./chunk-XAW6IN6M.js";
145
+ } from "./chunk-GZRWULXF.js";
146
146
  import {
147
147
  homeDir
148
148
  } from "./chunk-H4HBKISO.js";
@@ -1,30 +1,30 @@
1
1
  import {
2
2
  resolveBaseUrl
3
- } from "./chunk-R7E476CH.js";
3
+ } from "./chunk-ANG7IWAI.js";
4
4
  import {
5
5
  createPluginLogger,
6
6
  getPlugins
7
- } from "./chunk-PWDCFIQG.js";
7
+ } from "./chunk-SNBTWIQO.js";
8
8
  import {
9
9
  getDb,
10
10
  parseDestination
11
- } from "./chunk-SCHH6264.js";
11
+ } from "./chunk-NAINBOZQ.js";
12
12
  import {
13
13
  sleep
14
14
  } from "./chunk-EM225ITJ.js";
15
15
  import {
16
16
  acquireActiveLock,
17
17
  getStateAdapter
18
- } from "./chunk-NWO5IB7V.js";
18
+ } from "./chunk-M2T7MHQJ.js";
19
19
  import {
20
20
  pluginCatalogRuntime
21
- } from "./chunk-WYLSMTWU.js";
21
+ } from "./chunk-NVFVM67W.js";
22
22
  import {
23
23
  fetchWithBoundedOAuthErrorBodies
24
- } from "./chunk-SF6YKONJ.js";
24
+ } from "./chunk-BJ6ISBOA.js";
25
25
  import {
26
26
  isRecord
27
- } from "./chunk-XAW6IN6M.js";
27
+ } from "./chunk-GZRWULXF.js";
28
28
 
29
29
  // src/chat/capabilities/router.ts
30
30
  var ProviderCredentialRouter = class {
@@ -4,30 +4,30 @@ import {
4
4
  isConversationScopedChannel,
5
5
  isDmChannel,
6
6
  normalizeSlackConversationId
7
- } from "./chunk-RYYBUI34.js";
7
+ } from "./chunk-I25V3XRN.js";
8
8
  import {
9
9
  getConversationEventStore,
10
10
  getDb
11
- } from "./chunk-SCHH6264.js";
11
+ } from "./chunk-NAINBOZQ.js";
12
12
  import {
13
13
  juniorConversationAnnotations,
14
14
  juniorConversationEvents,
15
15
  juniorIdentities,
16
16
  juniorUsers
17
- } from "./chunk-4L7PKEHM.js";
17
+ } from "./chunk-2KLMGRRQ.js";
18
18
  import {
19
19
  SANDBOX_WORKSPACE_ROOT
20
20
  } from "./chunk-EM225ITJ.js";
21
21
  import {
22
22
  getStateAdapter
23
- } from "./chunk-NWO5IB7V.js";
23
+ } from "./chunk-M2T7MHQJ.js";
24
24
  import {
25
25
  botConfig,
26
26
  completeObject,
27
27
  embedTexts,
28
28
  getSlackBotToken,
29
29
  standardModelId
30
- } from "./chunk-A646AKNB.js";
30
+ } from "./chunk-7GVX5SOG.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-XAW6IN6M.js";
45
+ } from "./chunk-GZRWULXF.js";
46
46
 
47
47
  // src/chat/plugins/agent-hooks.ts
48
48
  import {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  botConfig
3
- } from "./chunk-A646AKNB.js";
3
+ } from "./chunk-7GVX5SOG.js";
4
4
  import {
5
5
  logWarn
6
- } from "./chunk-XAW6IN6M.js";
6
+ } from "./chunk-GZRWULXF.js";
7
7
 
8
8
  // src/chat/services/short-title.ts
9
9
  var SHORT_TITLE_MAX_LENGTH = 60;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pluginCatalogRuntime
3
- } from "./chunk-WYLSMTWU.js";
3
+ } from "./chunk-NVFVM67W.js";
4
4
 
5
5
  // src/chat/plugins/validation.ts
6
6
  import { isDeepStrictEqual } from "util";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pluginCatalogRuntime
3
- } from "./chunk-WYLSMTWU.js";
3
+ } from "./chunk-NVFVM67W.js";
4
4
  import {
5
5
  logWarn
6
- } from "./chunk-XAW6IN6M.js";
6
+ } from "./chunk-GZRWULXF.js";
7
7
  import {
8
8
  skillRoots
9
9
  } from "./chunk-H4HBKISO.js";
@@ -4,22 +4,22 @@ import {
4
4
  import {
5
5
  canRouteResourceEvents,
6
6
  getPlugins
7
- } from "./chunk-PWDCFIQG.js";
7
+ } from "./chunk-SNBTWIQO.js";
8
8
  import {
9
9
  getDb
10
- } from "./chunk-SCHH6264.js";
10
+ } from "./chunk-NAINBOZQ.js";
11
11
  import {
12
12
  juniorEventTasks,
13
13
  juniorSchedulerRuns,
14
14
  juniorSchedulerTasks,
15
15
  juniorStats
16
- } from "./chunk-4L7PKEHM.js";
16
+ } from "./chunk-2KLMGRRQ.js";
17
17
  import {
18
18
  juniorDestinations
19
19
  } from "./chunk-VFUK3X5B.js";
20
20
  import {
21
21
  logInfo
22
- } from "./chunk-XAW6IN6M.js";
22
+ } from "./chunk-GZRWULXF.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,7 +1,7 @@
1
1
  import {
2
2
  botConfig,
3
3
  resolveGatewayModel
4
- } from "./chunk-A646AKNB.js";
4
+ } from "./chunk-7GVX5SOG.js";
5
5
 
6
6
  // src/chat/services/context-budget.ts
7
7
  var COMPACTION_TRIGGER_RATIO = 0.9;
@@ -5,14 +5,14 @@ import {
5
5
  getConversationStore,
6
6
  parseDestination,
7
7
  sameDestination
8
- } from "./chunk-SCHH6264.js";
8
+ } from "./chunk-NAINBOZQ.js";
9
9
  import {
10
10
  getDefaultRedisStateAdapterFor,
11
11
  getStateAdapter
12
- } from "./chunk-NWO5IB7V.js";
12
+ } from "./chunk-M2T7MHQJ.js";
13
13
  import {
14
14
  getChatConfig
15
- } from "./chunk-A646AKNB.js";
15
+ } from "./chunk-7GVX5SOG.js";
16
16
  import {
17
17
  parseStoredSlackActor
18
18
  } from "./chunk-HZF5P5UN.js";
@@ -20,7 +20,7 @@ import {
20
20
  isRecord,
21
21
  toOptionalNumber,
22
22
  toOptionalString
23
- } from "./chunk-XAW6IN6M.js";
23
+ } from "./chunk-GZRWULXF.js";
24
24
 
25
25
  // src/chat/task-execution/state.ts
26
26
  import { randomUUID } from "crypto";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  JUNIOR_VERSION
3
- } from "./chunk-JIWZ7T4C.js";
3
+ } from "./chunk-OB7ZJK7Y.js";
4
4
 
5
5
  // src/deployment.ts
6
6
  var JUNIOR_HEARTBEAT_ROUTE = "/api/internal/heartbeat";
@@ -18,20 +18,20 @@ import {
18
18
  releaseConversationWork,
19
19
  requestConversationContinuation,
20
20
  startConversationWork
21
- } from "./chunk-CA4WLRA3.js";
21
+ } from "./chunk-WM4PRM7W.js";
22
22
  import {
23
23
  ConversationQueueMessageRejectedError
24
24
  } from "./chunk-IUFM5JWV.js";
25
25
  import {
26
26
  getChatConfig,
27
27
  isProviderRetryError
28
- } from "./chunk-A646AKNB.js";
28
+ } from "./chunk-7GVX5SOG.js";
29
29
  import {
30
30
  logException,
31
31
  logInfo,
32
32
  logWarn,
33
33
  withLogContext
34
- } from "./chunk-XAW6IN6M.js";
34
+ } from "./chunk-GZRWULXF.js";
35
35
 
36
36
  // src/chat/task-execution/worker.ts
37
37
  var CONVERSATION_WORK_DEFER_DELAY_MS = 15e3;
@@ -7,7 +7,7 @@ import {
7
7
  PluginCredentialFailureError,
8
8
  agentNameSchema,
9
9
  createPluginAuthOrchestration
10
- } from "./chunk-T4NFQ5SG.js";
10
+ } from "./chunk-F6RWNJBK.js";
11
11
  import {
12
12
  authorizationId
13
13
  } from "./chunk-DIB4GX3G.js";
@@ -28,7 +28,7 @@ import {
28
28
  patchMcpAuthSession,
29
29
  selectPluginGrant,
30
30
  toMcpProviderError
31
- } from "./chunk-5QVVW3FY.js";
31
+ } from "./chunk-RABHACKG.js";
32
32
  import {
33
33
  RetryableDeliveryError,
34
34
  actorFromRouting,
@@ -44,12 +44,12 @@ import {
44
44
  getSlackMessagePermalink,
45
45
  resolveBaseUrl,
46
46
  uploadFilesToConversation
47
- } from "./chunk-R7E476CH.js";
47
+ } from "./chunk-ANG7IWAI.js";
48
48
  import {
49
49
  estimateTextTokens,
50
50
  getAgentContextCompactionTriggerTokens,
51
51
  getAgentContextInputLimitTokens
52
- } from "./chunk-DRTWANQF.js";
52
+ } from "./chunk-WJHWOAVZ.js";
53
53
  import {
54
54
  AGENTS_REMOVAL_NOTICE,
55
55
  AGENTS_REPLACEMENT_NOTICE,
@@ -113,7 +113,7 @@ import {
113
113
  stripRuntimeTurnContext,
114
114
  trimTrailingAssistantMessages,
115
115
  truncateText
116
- } from "./chunk-B2H7NI5C.js";
116
+ } from "./chunk-PBV7VXUA.js";
117
117
  import {
118
118
  JUNIOR_THREAD_STATE_TTL_MS
119
119
  } from "./chunk-3Y47VMHV.js";
@@ -145,7 +145,7 @@ import {
145
145
  runNonInteractiveCommand,
146
146
  throwSandboxOperationError,
147
147
  wrapSandboxSetupError
148
- } from "./chunk-QDRMQI5W.js";
148
+ } from "./chunk-AEFJN7OK.js";
149
149
  import {
150
150
  SCHEDULED_TASK_SYSTEM_ACTOR,
151
151
  compactEventTask,
@@ -177,15 +177,15 @@ import {
177
177
  saveEventTask,
178
178
  scheduledTaskAttributes,
179
179
  writableEventTask
180
- } from "./chunk-6IMKBHCG.js";
180
+ } from "./chunk-UFCA4EZB.js";
181
181
  import {
182
182
  parseSlackThreadId
183
- } from "./chunk-5ITSZIAP.js";
183
+ } from "./chunk-OG5JQHKR.js";
184
184
  import {
185
185
  SHORT_TITLE_MAX_LENGTH,
186
186
  generateShortTitle,
187
187
  resolveTaskTitle
188
- } from "./chunk-XFHSZNOX.js";
188
+ } from "./chunk-STX5WIH6.js";
189
189
  import {
190
190
  ToolInputError,
191
191
  addAgentTurnUsage,
@@ -203,7 +203,7 @@ import {
203
203
  getSlackToolContext,
204
204
  readActorIdentity,
205
205
  resolveChannelCapabilities
206
- } from "./chunk-PWDCFIQG.js";
206
+ } from "./chunk-SNBTWIQO.js";
207
207
  import {
208
208
  SlackActionError,
209
209
  downloadPrivateSlackFile,
@@ -212,7 +212,7 @@ import {
212
212
  isConversationScopedChannel,
213
213
  normalizeSlackConversationId,
214
214
  withSlackRetries
215
- } from "./chunk-RYYBUI34.js";
215
+ } from "./chunk-I25V3XRN.js";
216
216
  import {
217
217
  KNOWN_CONVERSATION_EVENT_TYPES,
218
218
  contextProvenance,
@@ -223,7 +223,7 @@ import {
223
223
  instructionActors,
224
224
  instructionProvenanceFor,
225
225
  sameActorIdentity
226
- } from "./chunk-SCHH6264.js";
226
+ } from "./chunk-NAINBOZQ.js";
227
227
  import {
228
228
  SANDBOX_DATA_ROOT,
229
229
  SANDBOX_SKILLS_ROOT,
@@ -235,7 +235,7 @@ import {
235
235
  } from "./chunk-EM225ITJ.js";
236
236
  import {
237
237
  getStateAdapter
238
- } from "./chunk-NWO5IB7V.js";
238
+ } from "./chunk-M2T7MHQJ.js";
239
239
  import {
240
240
  ACTIVE_TURN_COMPACTION_SUMMARY_PREFIX,
241
241
  COMPACTION_SUMMARY_PREFIX,
@@ -269,7 +269,7 @@ import {
269
269
  resolveGatewayCredential,
270
270
  resolveGatewayModel,
271
271
  unwrapCurrentInstruction
272
- } from "./chunk-A646AKNB.js";
272
+ } from "./chunk-7GVX5SOG.js";
273
273
  import {
274
274
  canExposeConversationPayload,
275
275
  resolveConversationPrivacy,
@@ -279,16 +279,16 @@ import {
279
279
  toGenAiMessagesTraceAttributes,
280
280
  toGenAiPayloadMetadata,
281
281
  toGenAiPayloadTraceAttributes
282
- } from "./chunk-LGY7YX5O.js";
282
+ } from "./chunk-5YJBS4I5.js";
283
283
  import {
284
284
  discoverSkills,
285
285
  findSkillByName,
286
286
  loadSkillsByName,
287
287
  parseSkillInvocation
288
- } from "./chunk-CBMIVCPM.js";
288
+ } from "./chunk-U5ATCOHE.js";
289
289
  import {
290
290
  pluginCatalogRuntime
291
- } from "./chunk-WYLSMTWU.js";
291
+ } from "./chunk-NVFVM67W.js";
292
292
  import {
293
293
  CredentialUnavailableError,
294
294
  OAuthProviderError,
@@ -296,7 +296,7 @@ import {
296
296
  getOAuthProviderErrorAttributes,
297
297
  resolveAuthTokenPlaceholder,
298
298
  resolvePluginCommandEnv
299
- } from "./chunk-SF6YKONJ.js";
299
+ } from "./chunk-BJ6ISBOA.js";
300
300
  import {
301
301
  credentialUserSubjectId
302
302
  } from "./chunk-RUIXF3YQ.js";
@@ -325,7 +325,7 @@ import {
325
325
  summarizeMessageText,
326
326
  withLogContext,
327
327
  withSpan
328
- } from "./chunk-XAW6IN6M.js";
328
+ } from "./chunk-GZRWULXF.js";
329
329
  import {
330
330
  startInactiveSpan,
331
331
  withActiveSpan