@sentry/junior 0.172.0 → 0.173.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-IZMIMXUX.js → agent-hooks-TKE6PDE3.js} +12 -12
  2. package/dist/api.js +26 -26
  3. package/dist/app.js +32 -32
  4. package/dist/{catalog-runtime-PDNXCNCJ.js → catalog-runtime-247LR4L4.js} +5 -5
  5. package/dist/{chunk-EXEO2R4S.js → chunk-2XUT3VLE.js} +1 -1
  6. package/dist/{chunk-CO47EWFW.js → chunk-33SJGQG6.js} +4 -4
  7. package/dist/{chunk-A6AJ354O.js → chunk-3J7WUHKY.js} +5 -5
  8. package/dist/{chunk-NB7WS4SP.js → chunk-54LKZSAW.js} +1 -1
  9. package/dist/{chunk-FESC2EW7.js → chunk-6PHOLDQI.js} +1 -1
  10. package/dist/{chunk-HEOOUGVL.js → chunk-7PNMY4NE.js} +1 -1
  11. package/dist/{chunk-QBHPQCEQ.js → chunk-A3U4JTWA.js} +4 -4
  12. package/dist/{chunk-IAOQPDO6.js → chunk-A7TBEENH.js} +1 -1
  13. package/dist/{chunk-LVNMMESU.js → chunk-C4I6OV7U.js} +1 -1
  14. package/dist/{chunk-YRBLN5PJ.js → chunk-D3XNZ5GJ.js} +6 -6
  15. package/dist/{chunk-6RWQHBTV.js → chunk-EHE45OBY.js} +1 -1
  16. package/dist/{chunk-G2DJ7LUE.js → chunk-FAMC3HC7.js} +6 -6
  17. package/dist/{chunk-G4GNP4Q2.js → chunk-FMM3B64Q.js} +5 -5
  18. package/dist/{chunk-CBPREIWS.js → chunk-FWM663LY.js} +2 -2
  19. package/dist/{chunk-XSO5JEHI.js → chunk-GBPGKJZF.js} +12 -12
  20. package/dist/{chunk-BTD6ZYFL.js → chunk-HWLN37DJ.js} +2 -2
  21. package/dist/{chunk-QAEKVEZY.js → chunk-KSQ2BFUK.js} +1 -1
  22. package/dist/{chunk-AQ4GXXRD.js → chunk-KUZQEAZB.js} +18 -18
  23. package/dist/{chunk-W6THM2TX.js → chunk-MAE6RNYQ.js} +5 -5
  24. package/dist/{chunk-27T2WQJV.js → chunk-NDJ5XLSR.js} +1 -1
  25. package/dist/{chunk-SU7QH274.js → chunk-NMUEJHPW.js} +8 -8
  26. package/dist/{chunk-CUJ2T7FO.js → chunk-OWJJB5DQ.js} +9 -9
  27. package/dist/{chunk-MNYAYK5I.js → chunk-Q2457VTU.js} +1 -1
  28. package/dist/{chunk-ELAP5LB5.js → chunk-SZ6HE45O.js} +1 -1
  29. package/dist/{chunk-FUYKKSDV.js → chunk-TZIZCB6V.js} +1 -1
  30. package/dist/{chunk-Y4AEFUEV.js → chunk-UDSVV7MC.js} +3 -3
  31. package/dist/{chunk-AHWLGR5T.js → chunk-VEZ4VIJX.js} +5 -5
  32. package/dist/{chunk-QCGDWFYC.js → chunk-VKBONIMW.js} +4 -4
  33. package/dist/{chunk-TWIRPYVB.js → chunk-VQTMPROS.js} +6 -6
  34. package/dist/{chunk-IFSKN5VH.js → chunk-WVFTUTAK.js} +1 -1
  35. package/dist/{chunk-JOSDA5SZ.js → chunk-YJOBW6ON.js} +17 -17
  36. package/dist/{chunk-Q36YWAJT.js → chunk-YY3XHPFQ.js} +1 -1
  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 +10 -10
  41. package/dist/cli/upgrade.js +7 -7
  42. package/dist/{db-32P3ZO4Z.js → db-DN7KYTNR.js} +7 -7
  43. package/dist/instrumentation.js +4 -4
  44. package/dist/nitro.js +2 -2
  45. package/dist/{oauth-callback-server-ZOHC35HH.js → oauth-callback-server-5HSUJNR4.js} +23 -23
  46. package/dist/{runner-QWGQH425.js → runner-62H3GPAH.js} +15 -15
  47. package/dist/{skills-2T6JZT2K.js → skills-76ZK6SH7.js} +6 -6
  48. package/dist/spawn-UOEYRXD7.js +37 -0
  49. package/dist/{validation-LMGCYHRK.js → validation-6HZIOXZG.js} +6 -6
  50. package/dist/version.js +1 -1
  51. package/dist/{work-CVXCACZK.js → work-ZWH4KG3U.js} +18 -18
  52. package/dist/worker-LB7JCNA5.js +24 -0
  53. package/package.json +4 -4
  54. package/dist/spawn-55U4TVHQ.js +0 -37
  55. package/dist/worker-SWMVAAN6.js +0 -24
@@ -13,25 +13,25 @@ import {
13
13
  instructionProvenanceFor,
14
14
  sanitizePostgresJson,
15
15
  withConversationEventLock
16
- } from "./chunk-Y4AEFUEV.js";
16
+ } from "./chunk-UDSVV7MC.js";
17
17
  import {
18
18
  SANDBOX_REPOS_ROOT,
19
19
  SANDBOX_WORKSPACE_ROOT,
20
20
  sleep
21
- } from "./chunk-IFSKN5VH.js";
21
+ } from "./chunk-WVFTUTAK.js";
22
22
  import {
23
23
  MUTATION_LOCK_TTL_MS,
24
24
  fenceLock,
25
25
  getStateAdapter,
26
26
  withLock
27
- } from "./chunk-FUYKKSDV.js";
27
+ } from "./chunk-TZIZCB6V.js";
28
28
  import {
29
29
  botConfig,
30
30
  completeText,
31
31
  escapeXml,
32
32
  resolveGatewayModel,
33
33
  unwrapCurrentInstruction
34
- } from "./chunk-CBPREIWS.js";
34
+ } from "./chunk-FWM663LY.js";
35
35
  import {
36
36
  parseSlackMessageTs,
37
37
  toStoredSlackActor
@@ -41,7 +41,7 @@ import {
41
41
  logException,
42
42
  logWarn,
43
43
  setSpanAttributes
44
- } from "./chunk-IAOQPDO6.js";
44
+ } from "./chunk-A7TBEENH.js";
45
45
 
46
46
  // src/chat/turn-context-tag.ts
47
47
  var TURN_CONTEXT_TAG = "runtime-turn-context";
@@ -3,7 +3,7 @@ import {
3
3
  toCanonicalInputMessage,
4
4
  toCanonicalOutputMessage,
5
5
  toGenAiMessagesTraceAttributes
6
- } from "./chunk-QAEKVEZY.js";
6
+ } from "./chunk-KSQ2BFUK.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-IAOQPDO6.js";
14
+ } from "./chunk-A7TBEENH.js";
15
15
 
16
16
  // src/chat/services/provider-error.ts
17
17
  var ProviderError = class extends Error {
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createWebAuthorization,
3
3
  deleteWebAuthorization
4
- } from "./chunk-27T2WQJV.js";
4
+ } from "./chunk-NDJ5XLSR.js";
5
5
  import {
6
6
  appendAndEnqueueInboundMessage
7
- } from "./chunk-CO47EWFW.js";
7
+ } from "./chunk-33SJGQG6.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-CUJ2T7FO.js";
15
+ } from "./chunk-OWJJB5DQ.js";
16
16
  import {
17
17
  ConversationTurnLifecycleService,
18
18
  coerceThreadConversationState,
19
19
  getPersistedSandboxState,
20
20
  getPersistedThreadState,
21
21
  persistThreadStateById
22
- } from "./chunk-A6AJ354O.js";
22
+ } from "./chunk-3J7WUHKY.js";
23
23
  import {
24
24
  healthReportSchema
25
25
  } from "./chunk-UTL3MHPC.js";
26
26
  import {
27
27
  parseSlackThreadId
28
- } from "./chunk-FESC2EW7.js";
28
+ } from "./chunk-6PHOLDQI.js";
29
29
  import {
30
30
  TurnInputCommitLostError,
31
31
  abandonTurnRecord,
@@ -49,31 +49,31 @@ import {
49
49
  saveTurnCheckpoint,
50
50
  startActiveTurn,
51
51
  upsertConversationMessage
52
- } from "./chunk-G4GNP4Q2.js";
52
+ } from "./chunk-FMM3B64Q.js";
53
53
  import {
54
54
  normalizeSlackConversationId
55
- } from "./chunk-YRBLN5PJ.js";
55
+ } from "./chunk-D3XNZ5GJ.js";
56
56
  import {
57
57
  getConversationEventStore,
58
58
  getConversationStore,
59
59
  getDb
60
- } from "./chunk-Y4AEFUEV.js";
60
+ } from "./chunk-UDSVV7MC.js";
61
61
  import {
62
62
  juniorApiTokens,
63
63
  juniorConversationParticipants,
64
64
  juniorConversations,
65
65
  juniorIdentities,
66
66
  juniorUsers
67
- } from "./chunk-LVNMMESU.js";
67
+ } from "./chunk-C4I6OV7U.js";
68
68
  import {
69
69
  getSlackBotToken
70
- } from "./chunk-CBPREIWS.js";
70
+ } from "./chunk-FWM663LY.js";
71
71
  import {
72
72
  juniorDestinations
73
73
  } from "./chunk-VFUK3X5B.js";
74
74
  import {
75
75
  canExposeConversationPayload
76
- } from "./chunk-QAEKVEZY.js";
76
+ } from "./chunk-KSQ2BFUK.js";
77
77
  import {
78
78
  credentialContextForActor
79
79
  } from "./chunk-CGA4ERJ5.js";
@@ -82,7 +82,7 @@ import {
82
82
  logWarn,
83
83
  setTags,
84
84
  withLogContext
85
- } from "./chunk-IAOQPDO6.js";
85
+ } from "./chunk-A7TBEENH.js";
86
86
 
87
87
  // src/handlers/health.ts
88
88
  function readHealthReport() {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pluginCatalogRuntime
3
- } from "./chunk-HEOOUGVL.js";
3
+ } from "./chunk-7PNMY4NE.js";
4
4
  import {
5
5
  logWarn
6
- } from "./chunk-IAOQPDO6.js";
6
+ } from "./chunk-A7TBEENH.js";
7
7
  import {
8
8
  skillRoots
9
9
  } from "./chunk-H4HBKISO.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  logWarn
3
- } from "./chunk-IAOQPDO6.js";
3
+ } from "./chunk-A7TBEENH.js";
4
4
 
5
5
  // src/chat/conversation-privacy.ts
6
6
  import { AsyncLocalStorage } from "async_hooks";
@@ -7,7 +7,7 @@ import {
7
7
  PluginCredentialFailureError,
8
8
  agentNameSchema,
9
9
  createPluginAuthOrchestration
10
- } from "./chunk-W6THM2TX.js";
10
+ } from "./chunk-MAE6RNYQ.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-SU7QH274.js";
35
+ } from "./chunk-NMUEJHPW.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-G2DJ7LUE.js";
51
+ } from "./chunk-FAMC3HC7.js";
52
52
  import {
53
53
  parseSandboxEgressAuthRequiredSignal,
54
54
  parseSandboxEgressPermissionDeniedSignal,
@@ -87,10 +87,10 @@ import {
87
87
  scheduledTaskAttributes,
88
88
  storeAttachments,
89
89
  writableEventTask
90
- } from "./chunk-AHWLGR5T.js";
90
+ } from "./chunk-VEZ4VIJX.js";
91
91
  import {
92
92
  parseSlackThreadId
93
- } from "./chunk-FESC2EW7.js";
93
+ } from "./chunk-6PHOLDQI.js";
94
94
  import {
95
95
  AGENTS_REMOVAL_NOTICE,
96
96
  AGENTS_REPLACEMENT_NOTICE,
@@ -161,7 +161,7 @@ import {
161
161
  stripRuntimeTurnContext,
162
162
  trimTrailingAssistantMessages,
163
163
  truncateText
164
- } from "./chunk-G4GNP4Q2.js";
164
+ } from "./chunk-FMM3B64Q.js";
165
165
  import {
166
166
  JUNIOR_THREAD_STATE_TTL_MS
167
167
  } from "./chunk-3Y47VMHV.js";
@@ -180,7 +180,7 @@ import {
180
180
  stopSession,
181
181
  throwSandboxOperationError,
182
182
  wrapSandboxSetupError
183
- } from "./chunk-QBHPQCEQ.js";
183
+ } from "./chunk-A3U4JTWA.js";
184
184
  import {
185
185
  privateTraceResultAttributes
186
186
  } from "./chunk-UIE3R5XU.js";
@@ -212,7 +212,7 @@ import {
212
212
  updateWorkspace,
213
213
  withSlackRetries,
214
214
  workspaceRepoCheckoutPath
215
- } from "./chunk-YRBLN5PJ.js";
215
+ } from "./chunk-D3XNZ5GJ.js";
216
216
  import {
217
217
  KNOWN_CONVERSATION_EVENT_TYPES,
218
218
  contextProvenance,
@@ -224,11 +224,11 @@ import {
224
224
  instructionActors,
225
225
  instructionProvenanceFor,
226
226
  sameActorIdentity
227
- } from "./chunk-Y4AEFUEV.js";
227
+ } from "./chunk-UDSVV7MC.js";
228
228
  import {
229
229
  juniorArtifacts,
230
230
  juniorIdentities
231
- } from "./chunk-LVNMMESU.js";
231
+ } from "./chunk-C4I6OV7U.js";
232
232
  import {
233
233
  SANDBOX_DATA_ROOT,
234
234
  SANDBOX_REPOS_ROOT,
@@ -243,10 +243,10 @@ import {
243
243
  sandboxSkillFile,
244
244
  sandboxSkillPathResolution,
245
245
  sleep
246
- } from "./chunk-IFSKN5VH.js";
246
+ } from "./chunk-WVFTUTAK.js";
247
247
  import {
248
248
  getStateAdapter
249
- } from "./chunk-FUYKKSDV.js";
249
+ } from "./chunk-TZIZCB6V.js";
250
250
  import {
251
251
  ACTIVE_TURN_COMPACTION_SUMMARY_PREFIX,
252
252
  COMPACTION_SUMMARY_PREFIX,
@@ -279,7 +279,7 @@ import {
279
279
  resolveGatewayCredential,
280
280
  resolveGatewayModel,
281
281
  unwrapCurrentInstruction
282
- } from "./chunk-CBPREIWS.js";
282
+ } from "./chunk-FWM663LY.js";
283
283
  import {
284
284
  canExposeConversationPayload,
285
285
  resolveConversationPrivacy,
@@ -289,16 +289,16 @@ import {
289
289
  toGenAiMessagesTraceAttributes,
290
290
  toGenAiPayloadMetadata,
291
291
  toGenAiPayloadTraceAttributes
292
- } from "./chunk-QAEKVEZY.js";
292
+ } from "./chunk-KSQ2BFUK.js";
293
293
  import {
294
294
  discoverSkills,
295
295
  findSkillByName,
296
296
  loadSkillsByName,
297
297
  parseSkillInvocation
298
- } from "./chunk-BTD6ZYFL.js";
298
+ } from "./chunk-HWLN37DJ.js";
299
299
  import {
300
300
  pluginCatalogRuntime
301
- } from "./chunk-HEOOUGVL.js";
301
+ } from "./chunk-7PNMY4NE.js";
302
302
  import {
303
303
  CredentialUnavailableError,
304
304
  OAuthProviderError,
@@ -306,7 +306,7 @@ import {
306
306
  getOAuthProviderErrorAttributes,
307
307
  resolveAuthTokenPlaceholder,
308
308
  resolvePluginCommandEnv
309
- } from "./chunk-NB7WS4SP.js";
309
+ } from "./chunk-54LKZSAW.js";
310
310
  import {
311
311
  credentialUserSubjectId
312
312
  } from "./chunk-CGA4ERJ5.js";
@@ -336,7 +336,7 @@ import {
336
336
  summarizeMessageText,
337
337
  withLogContext,
338
338
  withSpan
339
- } from "./chunk-IAOQPDO6.js";
339
+ } from "./chunk-A7TBEENH.js";
340
340
  import {
341
341
  startInactiveSpan,
342
342
  withActiveSpan
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  formatProviderLabel,
6
6
  startOAuthFlow
7
- } from "./chunk-G2DJ7LUE.js";
7
+ } from "./chunk-FAMC3HC7.js";
8
8
  import {
9
9
  parseSandboxEgressAuthRequiredSignal
10
10
  } from "./chunk-6ZWRNC4D.js";
@@ -12,16 +12,16 @@ import {
12
12
  abandonReplacedPendingAuth,
13
13
  canReusePendingAuthLink,
14
14
  recordAuthorizationRequested
15
- } from "./chunk-G4GNP4Q2.js";
15
+ } from "./chunk-FMM3B64Q.js";
16
16
  import {
17
17
  AGENT_INVOCATION_MAILBOX_STATUSES
18
- } from "./chunk-LVNMMESU.js";
18
+ } from "./chunk-C4I6OV7U.js";
19
19
  import {
20
20
  TURN_REASONING_LEVELS
21
- } from "./chunk-CBPREIWS.js";
21
+ } from "./chunk-FWM663LY.js";
22
22
  import {
23
23
  pluginCatalogRuntime
24
- } from "./chunk-HEOOUGVL.js";
24
+ } from "./chunk-7PNMY4NE.js";
25
25
  import {
26
26
  credentialContextSchema
27
27
  } from "./chunk-CGA4ERJ5.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getStateAdapter
3
- } from "./chunk-FUYKKSDV.js";
3
+ } from "./chunk-TZIZCB6V.js";
4
4
  import {
5
5
  getClient
6
6
  } from "./chunk-6GWA276C.js";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RF6J3DIO.js";
4
4
  import {
5
5
  resolveBaseUrl
6
- } from "./chunk-G2DJ7LUE.js";
6
+ } from "./chunk-FAMC3HC7.js";
7
7
  import {
8
8
  isExperimentalFeatureEnabled
9
9
  } from "./chunk-VRS6WDK5.js";
@@ -12,27 +12,27 @@ import {
12
12
  getPlugins,
13
13
  getSlackClient,
14
14
  withSlackRetries
15
- } from "./chunk-YRBLN5PJ.js";
15
+ } from "./chunk-D3XNZ5GJ.js";
16
16
  import {
17
17
  getDb,
18
18
  parseDestination
19
- } from "./chunk-Y4AEFUEV.js";
19
+ } from "./chunk-UDSVV7MC.js";
20
20
  import {
21
21
  sleep
22
- } from "./chunk-IFSKN5VH.js";
22
+ } from "./chunk-WVFTUTAK.js";
23
23
  import {
24
24
  acquireActiveLock,
25
25
  getStateAdapter
26
- } from "./chunk-FUYKKSDV.js";
26
+ } from "./chunk-TZIZCB6V.js";
27
27
  import {
28
28
  pluginCatalogRuntime
29
- } from "./chunk-HEOOUGVL.js";
29
+ } from "./chunk-7PNMY4NE.js";
30
30
  import {
31
31
  fetchWithBoundedOAuthErrorBodies
32
- } from "./chunk-NB7WS4SP.js";
32
+ } from "./chunk-54LKZSAW.js";
33
33
  import {
34
34
  isRecord
35
- } from "./chunk-IAOQPDO6.js";
35
+ } from "./chunk-A7TBEENH.js";
36
36
 
37
37
  // src/chat/capabilities/router.ts
38
38
  var ProviderCredentialRouter = class {
@@ -2,7 +2,7 @@ import {
2
2
  coerceThreadConversationState,
3
3
  getPersistedThreadState,
4
4
  persistThreadStateById
5
- } from "./chunk-A6AJ354O.js";
5
+ } from "./chunk-3J7WUHKY.js";
6
6
  import {
7
7
  pluginTaskId,
8
8
  pluginTaskParamsSchema,
@@ -22,7 +22,7 @@ import {
22
22
  markTurnCompleted,
23
23
  normalizeToolNameFromResult,
24
24
  stripRuntimeTurnContext
25
- } from "./chunk-G4GNP4Q2.js";
25
+ } from "./chunk-FMM3B64Q.js";
26
26
  import {
27
27
  JUNIOR_THREAD_STATE_TTL_MS
28
28
  } from "./chunk-3Y47VMHV.js";
@@ -33,25 +33,25 @@ import {
33
33
  createPluginModel,
34
34
  createPluginState,
35
35
  getPlugins
36
- } from "./chunk-YRBLN5PJ.js";
36
+ } from "./chunk-D3XNZ5GJ.js";
37
37
  import {
38
38
  getConversationStore,
39
39
  getDb,
40
40
  sameActorIdentity
41
- } from "./chunk-Y4AEFUEV.js";
41
+ } from "./chunk-UDSVV7MC.js";
42
42
  import {
43
43
  juniorConversations,
44
44
  juniorTaskExecutions
45
- } from "./chunk-LVNMMESU.js";
45
+ } from "./chunk-C4I6OV7U.js";
46
46
  import {
47
47
  getStateAdapter
48
- } from "./chunk-FUYKKSDV.js";
48
+ } from "./chunk-TZIZCB6V.js";
49
49
  import {
50
50
  ProviderError,
51
51
  findProviderError,
52
52
  getProviderErrorAttributes,
53
53
  getProviderErrorUserMessage
54
- } from "./chunk-CBPREIWS.js";
54
+ } from "./chunk-FWM663LY.js";
55
55
  import {
56
56
  credentialSubjectSchema
57
57
  } from "./chunk-CGA4ERJ5.js";
@@ -61,7 +61,7 @@ import {
61
61
  import {
62
62
  buildTurnFailureResponse,
63
63
  logWarn
64
- } from "./chunk-IAOQPDO6.js";
64
+ } from "./chunk-A7TBEENH.js";
65
65
 
66
66
  // src/chat/runtime/delivered-turn-state.ts
67
67
  function buildDeliveredTurnStatePatch(args) {
@@ -87,7 +87,7 @@ import { pluginRunContextSchema } from "@sentry/junior-plugin-api";
87
87
 
88
88
  // src/chat/services/turn-session-routing.ts
89
89
  async function resolveTurnSessionRouting(args) {
90
- const conversationStore = args.conversationStore ?? (await import("./db-32P3ZO4Z.js")).getConversationStore();
90
+ const conversationStore = args.conversationStore ?? (await import("./db-DN7KYTNR.js")).getConversationStore();
91
91
  const conversation = await conversationStore.get({
92
92
  conversationId: args.conversationId
93
93
  });
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createAndEnqueueAgentInvocation
3
- } from "./chunk-TWIRPYVB.js";
3
+ } from "./chunk-VQTMPROS.js";
4
4
  import {
5
5
  actorFromRun,
6
6
  toolInvocationDestination
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@sentry/junior",
4
- version: "0.172.0",
4
+ version: "0.173.0",
5
5
  private: false,
6
6
  publishConfig: {
7
7
  access: "public"
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getChatConfig
3
- } from "./chunk-CBPREIWS.js";
3
+ } from "./chunk-FWM663LY.js";
4
4
 
5
5
  // src/chat/state/adapter.ts
6
6
  import { createMemoryState } from "@chat-adapter/state-memory";
@@ -7,12 +7,12 @@ import {
7
7
  juniorConversations,
8
8
  juniorIdentities,
9
9
  juniorUsers
10
- } from "./chunk-LVNMMESU.js";
10
+ } from "./chunk-C4I6OV7U.js";
11
11
  import {
12
12
  TURN_REASONING_LEVELS,
13
13
  getChatConfig,
14
14
  modelProfileSchema
15
- } from "./chunk-CBPREIWS.js";
15
+ } from "./chunk-FWM663LY.js";
16
16
  import {
17
17
  juniorDestinations
18
18
  } from "./chunk-VFUK3X5B.js";
@@ -23,7 +23,7 @@ import {
23
23
  } from "./chunk-M63DETLL.js";
24
24
  import {
25
25
  normalizeIdentityEmail
26
- } from "./chunk-IAOQPDO6.js";
26
+ } from "./chunk-A7TBEENH.js";
27
27
 
28
28
  // src/chat/conversations/sql/store.ts
29
29
  import { randomUUID as randomUUID2 } from "crypto";
@@ -1,13 +1,13 @@
1
1
  import {
2
2
  ToolInputError
3
- } from "./chunk-G4GNP4Q2.js";
3
+ } from "./chunk-FMM3B64Q.js";
4
4
  import {
5
5
  canRouteResourceEvents,
6
6
  getPlugins
7
- } from "./chunk-YRBLN5PJ.js";
7
+ } from "./chunk-D3XNZ5GJ.js";
8
8
  import {
9
9
  getDb
10
- } from "./chunk-Y4AEFUEV.js";
10
+ } from "./chunk-UDSVV7MC.js";
11
11
  import {
12
12
  juniorAttachments,
13
13
  juniorConversations,
@@ -15,13 +15,13 @@ import {
15
15
  juniorSchedulerRuns,
16
16
  juniorSchedulerTasks,
17
17
  juniorStats
18
- } from "./chunk-LVNMMESU.js";
18
+ } from "./chunk-C4I6OV7U.js";
19
19
  import {
20
20
  juniorDestinations
21
21
  } from "./chunk-VFUK3X5B.js";
22
22
  import {
23
23
  logInfo
24
- } from "./chunk-IAOQPDO6.js";
24
+ } from "./chunk-A7TBEENH.js";
25
25
 
26
26
  // src/chat/event-tasks/store.ts
27
27
  import { and, asc, desc, eq, inArray, or, sql } from "drizzle-orm";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getTurnRequestDeadline
3
- } from "./chunk-Q36YWAJT.js";
3
+ } from "./chunk-YY3XHPFQ.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-CO47EWFW.js";
24
+ } from "./chunk-33SJGQG6.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-CBPREIWS.js";
31
+ } from "./chunk-FWM663LY.js";
32
32
  import {
33
33
  logException,
34
34
  logInfo,
35
35
  logWarn,
36
36
  withLogContext
37
- } from "./chunk-IAOQPDO6.js";
37
+ } from "./chunk-A7TBEENH.js";
38
38
 
39
39
  // src/chat/task-execution/worker.ts
40
40
  var CONVERSATION_WORK_DEFER_DELAY_MS = 15e3;
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  appendAndEnqueueInboundMessage
3
- } from "./chunk-CO47EWFW.js";
3
+ } from "./chunk-33SJGQG6.js";
4
4
  import {
5
5
  ConversationTurnLifecycleService,
6
6
  getPersistedSandboxState,
7
7
  getPersistedThreadState,
8
8
  persistThreadStateById
9
- } from "./chunk-A6AJ354O.js";
9
+ } from "./chunk-3J7WUHKY.js";
10
10
  import {
11
11
  AgentInvocationBusyError,
12
12
  AgentInvocationLimitError,
@@ -15,7 +15,7 @@ import {
15
15
  agentBindingSchema,
16
16
  agentInvocationSchema,
17
17
  createAgentInvocationSchema
18
- } from "./chunk-W6THM2TX.js";
18
+ } from "./chunk-MAE6RNYQ.js";
19
19
  import {
20
20
  TurnInputCommitLostError,
21
21
  failTurnRecord,
@@ -26,16 +26,16 @@ import {
26
26
  isTurnInputCommitLostError,
27
27
  openConversationProjection,
28
28
  saveTurnCheckpoint
29
- } from "./chunk-G4GNP4Q2.js";
29
+ } from "./chunk-FMM3B64Q.js";
30
30
  import {
31
31
  getConversationEventStore,
32
32
  getConversationStore,
33
33
  getSqlExecutor
34
- } from "./chunk-Y4AEFUEV.js";
34
+ } from "./chunk-UDSVV7MC.js";
35
35
  import {
36
36
  juniorAgentBindings,
37
37
  juniorAgentInvocations
38
- } from "./chunk-LVNMMESU.js";
38
+ } from "./chunk-C4I6OV7U.js";
39
39
 
40
40
  // src/chat/agent-invocations/work.ts
41
41
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pluginCatalogRuntime
3
- } from "./chunk-HEOOUGVL.js";
3
+ } from "./chunk-7PNMY4NE.js";
4
4
 
5
5
  // src/chat/sandbox/paths.ts
6
6
  function normalizeWorkspaceRoot(input) {