@sentry/junior 0.176.0 → 0.176.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 (55) hide show
  1. package/dist/{agent-hooks-ZPCHKYXI.js → agent-hooks-ZCRXEWPE.js} +12 -12
  2. package/dist/api.js +26 -26
  3. package/dist/app.js +32 -32
  4. package/dist/{catalog-runtime-3Z2Y5IP6.js → catalog-runtime-O7ZMK27R.js} +5 -5
  5. package/dist/{chunk-PS3ZPRL2.js → chunk-425VJ2C7.js} +1 -1
  6. package/dist/{chunk-CUA5SZR5.js → chunk-4BO7CQTP.js} +1 -1
  7. package/dist/{chunk-CI4JX64I.js → chunk-4OLTNDE5.js} +1 -1
  8. package/dist/{chunk-64EGCW34.js → chunk-53D4PCKF.js} +6 -6
  9. package/dist/{chunk-Z2YZ6QLG.js → chunk-7V5CF6SH.js} +2 -2
  10. package/dist/{chunk-FNOLPLXJ.js → chunk-B74MKQA3.js} +4 -4
  11. package/dist/{chunk-B65VEBJV.js → chunk-BTAXMONT.js} +2 -2
  12. package/dist/{chunk-KYHHJ6LS.js → chunk-BV66CCPV.js} +1 -1
  13. package/dist/{chunk-2N7YRFMW.js → chunk-DKQC4BZG.js} +12 -12
  14. package/dist/{chunk-CTYWFV6L.js → chunk-DKXXKOHJ.js} +6 -6
  15. package/dist/{chunk-RSIHA3XC.js → chunk-F4K7AAHQ.js} +5 -5
  16. package/dist/{chunk-IPOB6IL5.js → chunk-FFQR4YEB.js} +4 -4
  17. package/dist/{chunk-JIZ3RFER.js → chunk-G26PYGXP.js} +6 -6
  18. package/dist/{chunk-5JB5JJO5.js → chunk-GUIEHC3H.js} +1 -1
  19. package/dist/{chunk-B6IOTX7W.js → chunk-H4WJ6GCS.js} +1 -1
  20. package/dist/{chunk-B7U2QBMT.js → chunk-I2OSXB2S.js} +9 -9
  21. package/dist/{chunk-OKXHYVKE.js → chunk-I7VX7SFH.js} +4 -4
  22. package/dist/{chunk-665JOQEP.js → chunk-IKIQ6N44.js} +6 -6
  23. package/dist/{chunk-GYRGJVWR.js → chunk-KMZ54JGE.js} +18 -18
  24. package/dist/{chunk-H7KTMGNI.js → chunk-NBASTXA5.js} +1 -1
  25. package/dist/{chunk-6NQJQP7O.js → chunk-O72OX3BI.js} +5 -5
  26. package/dist/{chunk-BNGK2J6X.js → chunk-OCK3LT7D.js} +1 -1
  27. package/dist/{chunk-VUAHVGPY.js → chunk-OYQSJ2NN.js} +4 -4
  28. package/dist/{chunk-JHCAX7XY.js → chunk-QD27ZPYB.js} +3 -3
  29. package/dist/{chunk-SBIQ5MZW.js → chunk-QHEYFDCZ.js} +1 -1
  30. package/dist/{chunk-AJEZETLT.js → chunk-RTNSAKYV.js} +1 -1
  31. package/dist/{chunk-COFZR2CO.js → chunk-SZPWKEVR.js} +1 -1
  32. package/dist/{chunk-CNC65LIX.js → chunk-VRWFZY2Q.js} +1 -1
  33. package/dist/{chunk-VVLQGGJJ.js → chunk-X3M2JJGL.js} +1 -1
  34. package/dist/{chunk-Q374NKGS.js → chunk-XGGLAKES.js} +8 -8
  35. package/dist/{chunk-DVHYQDGM.js → chunk-YGIPCZZD.js} +1 -1
  36. package/dist/{chunk-SGLLADGQ.js → chunk-ZO7WMPPR.js} +17 -17
  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-63K2IY36.js → db-N4UWAT3N.js} +7 -7
  43. package/dist/instrumentation.js +4 -4
  44. package/dist/nitro.js +2 -2
  45. package/dist/{oauth-callback-server-JZXBDXGO.js → oauth-callback-server-BYURWP3V.js} +23 -23
  46. package/dist/{runner-3KWZJVK6.js → runner-AYSX73AQ.js} +15 -15
  47. package/dist/{skills-TFQQ3WSE.js → skills-L4ZYR5E3.js} +6 -6
  48. package/dist/spawn-GXHJJJYU.js +37 -0
  49. package/dist/{validation-RKLSF2UH.js → validation-AAFNNQUZ.js} +6 -6
  50. package/dist/version.js +1 -1
  51. package/dist/{work-RKDS3J2X.js → work-JHA35XRS.js} +18 -18
  52. package/dist/worker-F3BYG2FG.js +24 -0
  53. package/package.json +4 -4
  54. package/dist/spawn-3GVQNWFH.js +0 -37
  55. package/dist/worker-5RJNDPYW.js +0 -24
@@ -13,25 +13,25 @@ import {
13
13
  getPlugins,
14
14
  setPlugins,
15
15
  validatePlugins
16
- } from "./chunk-JIZ3RFER.js";
16
+ } from "./chunk-G26PYGXP.js";
17
17
  import "./chunk-3Y47VMHV.js";
18
- import "./chunk-JHCAX7XY.js";
19
- import "./chunk-CUA5SZR5.js";
20
- import "./chunk-CNC65LIX.js";
21
- import "./chunk-B6IOTX7W.js";
22
- import "./chunk-Z2YZ6QLG.js";
18
+ import "./chunk-QD27ZPYB.js";
19
+ import "./chunk-4BO7CQTP.js";
20
+ import "./chunk-VRWFZY2Q.js";
21
+ import "./chunk-H4WJ6GCS.js";
22
+ import "./chunk-7V5CF6SH.js";
23
23
  import "./chunk-VFUK3X5B.js";
24
- import "./chunk-H7KTMGNI.js";
25
- import "./chunk-5JB5JJO5.js";
26
- import "./chunk-CI4JX64I.js";
24
+ import "./chunk-NBASTXA5.js";
25
+ import "./chunk-GUIEHC3H.js";
26
+ import "./chunk-4OLTNDE5.js";
27
27
  import "./chunk-CGA4ERJ5.js";
28
28
  import "./chunk-M63DETLL.js";
29
- import "./chunk-SBIQ5MZW.js";
29
+ import "./chunk-QHEYFDCZ.js";
30
30
  import "./chunk-6GWA276C.js";
31
31
  import "./chunk-OOUNJNMR.js";
32
32
  import "./chunk-H4HBKISO.js";
33
- import "./chunk-KYHHJ6LS.js";
34
- import "./chunk-DVHYQDGM.js";
33
+ import "./chunk-BV66CCPV.js";
34
+ import "./chunk-YGIPCZZD.js";
35
35
  import "./chunk-MLKGABMK.js";
36
36
  export {
37
37
  PluginHookDeniedError,
package/dist/api.js CHANGED
@@ -59,15 +59,15 @@ import {
59
59
  revokePersonalToken,
60
60
  viewerConversationMembership,
61
61
  webActorFromEmail
62
- } from "./chunk-2N7YRFMW.js";
62
+ } from "./chunk-DKQC4BZG.js";
63
63
  import {
64
64
  buildSentryConversationUrl,
65
65
  getWebAuthorization
66
- } from "./chunk-VVLQGGJJ.js";
66
+ } from "./chunk-X3M2JJGL.js";
67
67
  import {
68
68
  cancelHumanFacingPendingMessages,
69
69
  getConversation
70
- } from "./chunk-OKXHYVKE.js";
70
+ } from "./chunk-I7VX7SFH.js";
71
71
  import {
72
72
  readTaskExecutionByConversationId,
73
73
  readTaskExecutionDays,
@@ -75,8 +75,8 @@ import {
75
75
  readTaskExecutionSummaries,
76
76
  readTaskExecutions,
77
77
  readTaskRuns
78
- } from "./chunk-B7U2QBMT.js";
79
- import "./chunk-6NQJQP7O.js";
78
+ } from "./chunk-I2OSXB2S.js";
79
+ import "./chunk-O72OX3BI.js";
80
80
  import {
81
81
  healthReportSchema,
82
82
  pluginOperationalReportFeedSchema,
@@ -101,19 +101,19 @@ import {
101
101
  listPublicScheduledTasksForTeams,
102
102
  readLiveAttachment,
103
103
  readStats
104
- } from "./chunk-IPOB6IL5.js";
104
+ } from "./chunk-FFQR4YEB.js";
105
105
  import {
106
106
  parseSlackThreadId
107
- } from "./chunk-AJEZETLT.js";
107
+ } from "./chunk-RTNSAKYV.js";
108
108
  import {
109
109
  agentTurnUsageSchema,
110
110
  fallbackShortTitle,
111
111
  hasAgentTurnUsage,
112
112
  renderJuniorNativeConversationEvent
113
- } from "./chunk-64EGCW34.js";
113
+ } from "./chunk-53D4PCKF.js";
114
114
  import {
115
115
  getCachedSnapshot
116
- } from "./chunk-FNOLPLXJ.js";
116
+ } from "./chunk-B74MKQA3.js";
117
117
  import "./chunk-PDO5BLNM.js";
118
118
  import {
119
119
  SANDBOX_RUNTIME,
@@ -134,7 +134,7 @@ import {
134
134
  updateWorkspace,
135
135
  withSlackRetries,
136
136
  workspaceRepoCheckoutPath
137
- } from "./chunk-JIZ3RFER.js";
137
+ } from "./chunk-G26PYGXP.js";
138
138
  import "./chunk-3Y47VMHV.js";
139
139
  import {
140
140
  decodeStoredConversationEvent,
@@ -143,25 +143,25 @@ import {
143
143
  getSqlExecutor,
144
144
  locationFromRow,
145
145
  parseSessionSource
146
- } from "./chunk-JHCAX7XY.js";
146
+ } from "./chunk-QD27ZPYB.js";
147
147
  import {
148
148
  juniorConversationEvents,
149
149
  juniorConversations,
150
150
  juniorIdentities,
151
151
  juniorUsers
152
- } from "./chunk-CUA5SZR5.js";
152
+ } from "./chunk-4BO7CQTP.js";
153
153
  import {
154
154
  create,
155
155
  hash
156
- } from "./chunk-CNC65LIX.js";
157
- import "./chunk-B6IOTX7W.js";
158
- import "./chunk-Z2YZ6QLG.js";
156
+ } from "./chunk-VRWFZY2Q.js";
157
+ import "./chunk-H4WJ6GCS.js";
158
+ import "./chunk-7V5CF6SH.js";
159
159
  import {
160
160
  juniorDestinations
161
161
  } from "./chunk-VFUK3X5B.js";
162
- import "./chunk-H7KTMGNI.js";
163
- import "./chunk-5JB5JJO5.js";
164
- import "./chunk-CI4JX64I.js";
162
+ import "./chunk-NBASTXA5.js";
163
+ import "./chunk-GUIEHC3H.js";
164
+ import "./chunk-4OLTNDE5.js";
165
165
  import "./chunk-CGA4ERJ5.js";
166
166
  import {
167
167
  parseSlackChannelId,
@@ -171,12 +171,12 @@ import {
171
171
  import {
172
172
  logException,
173
173
  logWarn
174
- } from "./chunk-SBIQ5MZW.js";
174
+ } from "./chunk-QHEYFDCZ.js";
175
175
  import "./chunk-6GWA276C.js";
176
176
  import "./chunk-OOUNJNMR.js";
177
177
  import "./chunk-H4HBKISO.js";
178
- import "./chunk-KYHHJ6LS.js";
179
- import "./chunk-DVHYQDGM.js";
178
+ import "./chunk-BV66CCPV.js";
179
+ import "./chunk-YGIPCZZD.js";
180
180
  import "./chunk-MLKGABMK.js";
181
181
 
182
182
  // src/api.ts
@@ -4079,7 +4079,7 @@ async function readPeoplePluginReports(args) {
4079
4079
  source: "plugins"
4080
4080
  });
4081
4081
  }
4082
- const { getPluginProfileReports } = await import("./agent-hooks-ZPCHKYXI.js");
4082
+ const { getPluginProfileReports } = await import("./agent-hooks-ZCRXEWPE.js");
4083
4083
  return pluginOperationalReportFeedSchema.parse({
4084
4084
  generatedAt: new Date(nowMs).toISOString(),
4085
4085
  reports: await getPluginProfileReports({
@@ -4798,7 +4798,7 @@ function readDescriptionText(home) {
4798
4798
  }
4799
4799
  }
4800
4800
  async function readSkillReports() {
4801
- const { discoverSkills } = await import("./skills-TFQQ3WSE.js");
4801
+ const { discoverSkills } = await import("./skills-L4ZYR5E3.js");
4802
4802
  const skills = await discoverSkills();
4803
4803
  return skillReportsSchema.parse(
4804
4804
  skills.map((skill) => ({
@@ -4808,7 +4808,7 @@ async function readSkillReports() {
4808
4808
  );
4809
4809
  }
4810
4810
  async function readPlugins() {
4811
- const { pluginCatalogRuntime } = await import("./catalog-runtime-3Z2Y5IP6.js");
4811
+ const { pluginCatalogRuntime } = await import("./catalog-runtime-O7ZMK27R.js");
4812
4812
  return pluginsSchema.parse(
4813
4813
  pluginCatalogRuntime.getProviders().map((plugin) => ({
4814
4814
  configKeys: plugin.manifest.configKeys ?? [],
@@ -4821,7 +4821,7 @@ async function readPlugins() {
4821
4821
  async function readRuntimeInfoReport() {
4822
4822
  const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
4823
4823
  import("./discovery-GUFTFBTL.js"),
4824
- import("./catalog-runtime-3Z2Y5IP6.js"),
4824
+ import("./catalog-runtime-O7ZMK27R.js"),
4825
4825
  readPlugins(),
4826
4826
  readSkillReports()
4827
4827
  ]);
@@ -4837,7 +4837,7 @@ async function readRuntimeInfoReport() {
4837
4837
  }
4838
4838
  async function readPluginOperationalReportFeed() {
4839
4839
  const nowMs = Date.now();
4840
- const { getPluginOperationalReports } = await import("./agent-hooks-ZPCHKYXI.js");
4840
+ const { getPluginOperationalReports } = await import("./agent-hooks-ZCRXEWPE.js");
4841
4841
  return pluginOperationalReportFeedSchema.parse({
4842
4842
  source: "plugins",
4843
4843
  generatedAt: new Date(nowMs).toISOString(),
package/dist/app.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  processConversationWork
3
- } from "./chunk-VUAHVGPY.js";
3
+ } from "./chunk-OYQSJ2NN.js";
4
4
  import {
5
5
  bindSpawnAgent
6
- } from "./chunk-BNGK2J6X.js";
6
+ } from "./chunk-OCK3LT7D.js";
7
7
  import {
8
8
  createAgentInvocationWorker,
9
9
  enqueueAgentInvocation,
10
10
  listPendingAgentInvocationMailboxAppends,
11
11
  routeAgentInvocationWork
12
- } from "./chunk-CTYWFV6L.js";
12
+ } from "./chunk-DKXXKOHJ.js";
13
13
  import {
14
14
  GET as GET2,
15
15
  GET2 as GET3,
@@ -36,12 +36,12 @@ import {
36
36
  startSlackProcessingReaction,
37
37
  stripLeadingBotMention,
38
38
  wakePausedTurn
39
- } from "./chunk-SGLLADGQ.js";
39
+ } from "./chunk-ZO7WMPPR.js";
40
40
  import "./chunk-FA6POGLH.js";
41
41
  import {
42
42
  getTurnRequestDeadline,
43
43
  runWithTurnRequestDeadline
44
- } from "./chunk-PS3ZPRL2.js";
44
+ } from "./chunk-425VJ2C7.js";
45
45
  import {
46
46
  GET,
47
47
  apiTurnIdForMessage,
@@ -58,8 +58,8 @@ import {
58
58
  resolveSlackConversationContext,
59
59
  routeApiTurnWork,
60
60
  webActorFromEmail
61
- } from "./chunk-2N7YRFMW.js";
62
- import "./chunk-VVLQGGJJ.js";
61
+ } from "./chunk-DKQC4BZG.js";
62
+ import "./chunk-X3M2JJGL.js";
63
63
  import {
64
64
  CONVERSATION_WORK_STALE_ENQUEUE_MS,
65
65
  appendAndEnqueueInboundMessage,
@@ -70,7 +70,7 @@ import {
70
70
  isInvalidConversationRecordError,
71
71
  listActiveConversationIds,
72
72
  removeActiveConversation
73
- } from "./chunk-OKXHYVKE.js";
73
+ } from "./chunk-I7VX7SFH.js";
74
74
  import {
75
75
  buildDeliveredTurnStatePatch,
76
76
  claimDispatchMailboxAppend,
@@ -100,7 +100,7 @@ import {
100
100
  requireTurnFailureEventId,
101
101
  resolveTurnSessionRouting,
102
102
  scheduleSessionCompletedPluginTasks
103
- } from "./chunk-B7U2QBMT.js";
103
+ } from "./chunk-I2OSXB2S.js";
104
104
  import {
105
105
  ConversationTurnLifecycleService,
106
106
  coerceThreadConversationState,
@@ -110,7 +110,7 @@ import {
110
110
  persistThreadRuntimeState,
111
111
  persistThreadState,
112
112
  persistThreadStateById
113
- } from "./chunk-6NQJQP7O.js";
113
+ } from "./chunk-O72OX3BI.js";
114
114
  import "./chunk-UTL3MHPC.js";
115
115
  import {
116
116
  getVercelConversationWorkQueue,
@@ -129,7 +129,7 @@ import {
129
129
  import {
130
130
  validatePluginEgressCredentialHooks,
131
131
  validatePluginRegistrations
132
- } from "./chunk-COFZR2CO.js";
132
+ } from "./chunk-SZPWKEVR.js";
133
133
  import {
134
134
  defineJuniorPlugins,
135
135
  pluginCatalogConfigFromEnv,
@@ -161,11 +161,11 @@ import {
161
161
  shouldEmitDevAgentTrace,
162
162
  shouldPropagateSandboxEgressTrace,
163
163
  unpublishedArtifactHeaders
164
- } from "./chunk-GYRGJVWR.js";
164
+ } from "./chunk-KMZ54JGE.js";
165
165
  import {
166
166
  AuthorizationFlowDisabledError,
167
167
  PluginCredentialFailureError
168
- } from "./chunk-RSIHA3XC.js";
168
+ } from "./chunk-F4K7AAHQ.js";
169
169
  import "./chunk-DIB4GX3G.js";
170
170
  import {
171
171
  createAgentRunner,
@@ -173,7 +173,7 @@ import {
173
173
  deleteMcpAuthSessionsForUserProvider,
174
174
  deleteMcpServerSessionId,
175
175
  deleteMcpStoredOAuthCredentials
176
- } from "./chunk-Q374NKGS.js";
176
+ } from "./chunk-XGGLAKES.js";
177
177
  import {
178
178
  RetryableDeliveryError
179
179
  } from "./chunk-RF6J3DIO.js";
@@ -181,7 +181,7 @@ import {
181
181
  formatProviderLabel,
182
182
  postSlackMessage,
183
183
  startOAuthFlow
184
- } from "./chunk-665JOQEP.js";
184
+ } from "./chunk-IKIQ6N44.js";
185
185
  import "./chunk-6ZWRNC4D.js";
186
186
  import {
187
187
  getExperimentalFeatures,
@@ -197,10 +197,10 @@ import {
197
197
  requestAttachmentDeletion,
198
198
  resourceEventGuidance,
199
199
  scheduledTaskRunAttributes
200
- } from "./chunk-IPOB6IL5.js";
200
+ } from "./chunk-FFQR4YEB.js";
201
201
  import {
202
202
  parseSlackThreadId
203
- } from "./chunk-AJEZETLT.js";
203
+ } from "./chunk-RTNSAKYV.js";
204
204
  import {
205
205
  ConversationTurnBoundaryError,
206
206
  CooperativeTurnYieldError,
@@ -252,11 +252,11 @@ import {
252
252
  trimTrailingAssistantMessages,
253
253
  turnHasReply,
254
254
  upsertConversationMessage
255
- } from "./chunk-64EGCW34.js";
255
+ } from "./chunk-53D4PCKF.js";
256
256
  import {
257
257
  getSandboxResourceConfig,
258
258
  setSandboxResourceConfig
259
- } from "./chunk-FNOLPLXJ.js";
259
+ } from "./chunk-B74MKQA3.js";
260
260
  import "./chunk-PDO5BLNM.js";
261
261
  import "./chunk-UIE3R5XU.js";
262
262
  import {
@@ -287,7 +287,7 @@ import {
287
287
  verifyEventTaskCredentialSubject,
288
288
  verifyScheduledTaskCredentialSubject,
289
289
  verifySlackDirectCredentialSubject
290
- } from "./chunk-JIZ3RFER.js";
290
+ } from "./chunk-G26PYGXP.js";
291
291
  import "./chunk-3Y47VMHV.js";
292
292
  import {
293
293
  contextProvenance,
@@ -301,21 +301,21 @@ import {
301
301
  requireSlackDestination,
302
302
  withConversationEventLock,
303
303
  withConversationMutationLock
304
- } from "./chunk-JHCAX7XY.js";
304
+ } from "./chunk-QD27ZPYB.js";
305
305
  import {
306
306
  juniorAgentBindings,
307
307
  juniorAgentInvocations,
308
308
  juniorConversationEvents,
309
309
  juniorConversations
310
- } from "./chunk-CUA5SZR5.js";
310
+ } from "./chunk-4BO7CQTP.js";
311
311
  import {
312
312
  sleep
313
- } from "./chunk-CNC65LIX.js";
313
+ } from "./chunk-VRWFZY2Q.js";
314
314
  import {
315
315
  acquireActiveLock,
316
316
  getStateAdapter,
317
317
  withActiveLock
318
- } from "./chunk-B6IOTX7W.js";
318
+ } from "./chunk-H4WJ6GCS.js";
319
319
  import {
320
320
  STANDARD_MODEL_PROFILE,
321
321
  botConfig,
@@ -333,16 +333,16 @@ import {
333
333
  modelIdForProfile,
334
334
  setSlackReactionConfig,
335
335
  standardModelId
336
- } from "./chunk-Z2YZ6QLG.js";
336
+ } from "./chunk-7V5CF6SH.js";
337
337
  import {
338
338
  juniorDestinations
339
339
  } from "./chunk-VFUK3X5B.js";
340
- import "./chunk-H7KTMGNI.js";
341
- import "./chunk-B65VEBJV.js";
340
+ import "./chunk-NBASTXA5.js";
341
+ import "./chunk-BTAXMONT.js";
342
342
  import {
343
343
  pluginCatalogRuntime
344
- } from "./chunk-5JB5JJO5.js";
345
- import "./chunk-CI4JX64I.js";
344
+ } from "./chunk-GUIEHC3H.js";
345
+ import "./chunk-4OLTNDE5.js";
346
346
  import {
347
347
  credentialContextForActor
348
348
  } from "./chunk-CGA4ERJ5.js";
@@ -374,7 +374,7 @@ import {
374
374
  withContext,
375
375
  withLogContext,
376
376
  withSpan
377
- } from "./chunk-SBIQ5MZW.js";
377
+ } from "./chunk-QHEYFDCZ.js";
378
378
  import {
379
379
  continueTrace
380
380
  } from "./chunk-6GWA276C.js";
@@ -382,10 +382,10 @@ import "./chunk-OOUNJNMR.js";
382
382
  import "./chunk-H4HBKISO.js";
383
383
  import {
384
384
  JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE
385
- } from "./chunk-KYHHJ6LS.js";
385
+ } from "./chunk-BV66CCPV.js";
386
386
  import {
387
387
  JUNIOR_VERSION
388
- } from "./chunk-DVHYQDGM.js";
388
+ } from "./chunk-YGIPCZZD.js";
389
389
  import "./chunk-MLKGABMK.js";
390
390
 
391
391
  // src/app.ts
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  pluginCatalogRuntime
3
- } from "./chunk-5JB5JJO5.js";
4
- import "./chunk-CI4JX64I.js";
3
+ } from "./chunk-GUIEHC3H.js";
4
+ import "./chunk-4OLTNDE5.js";
5
5
  import "./chunk-CGA4ERJ5.js";
6
6
  import "./chunk-M63DETLL.js";
7
- import "./chunk-SBIQ5MZW.js";
7
+ import "./chunk-QHEYFDCZ.js";
8
8
  import "./chunk-6GWA276C.js";
9
9
  import "./chunk-OOUNJNMR.js";
10
10
  import "./chunk-H4HBKISO.js";
11
- import "./chunk-KYHHJ6LS.js";
12
- import "./chunk-DVHYQDGM.js";
11
+ import "./chunk-BV66CCPV.js";
12
+ import "./chunk-YGIPCZZD.js";
13
13
  import "./chunk-MLKGABMK.js";
14
14
  export {
15
15
  pluginCatalogRuntime
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  FUNCTION_TIMEOUT_BUFFER_SECONDS,
3
3
  getChatConfig
4
- } from "./chunk-Z2YZ6QLG.js";
4
+ } from "./chunk-7V5CF6SH.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
  DEFAULT_SQL_STATEMENT_TIMEOUT_MS
3
- } from "./chunk-Z2YZ6QLG.js";
3
+ } from "./chunk-7V5CF6SH.js";
4
4
  import {
5
5
  juniorDestinations,
6
6
  timestamptz
@@ -5,7 +5,7 @@ import {
5
5
  logInfo,
6
6
  logWarn,
7
7
  setSpanAttributes
8
- } from "./chunk-SBIQ5MZW.js";
8
+ } from "./chunk-QHEYFDCZ.js";
9
9
  import {
10
10
  discoverInstalledPluginPackageContent,
11
11
  normalizePluginPackageNames
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-PDO5BLNM.js";
4
4
  import {
5
5
  ToolInputError
6
- } from "./chunk-JIZ3RFER.js";
6
+ } from "./chunk-G26PYGXP.js";
7
7
  import {
8
8
  agentHistoryItemSchema,
9
9
  bindProviderConversation,
@@ -16,25 +16,25 @@ import {
16
16
  instructionProvenanceFor,
17
17
  sanitizePostgresJson,
18
18
  withConversationEventLock
19
- } from "./chunk-JHCAX7XY.js";
19
+ } from "./chunk-QD27ZPYB.js";
20
20
  import {
21
21
  SANDBOX_REPOS_ROOT,
22
22
  SANDBOX_WORKSPACE_ROOT,
23
23
  sleep
24
- } from "./chunk-CNC65LIX.js";
24
+ } from "./chunk-VRWFZY2Q.js";
25
25
  import {
26
26
  MUTATION_LOCK_TTL_MS,
27
27
  fenceLock,
28
28
  getStateAdapter,
29
29
  withLock
30
- } from "./chunk-B6IOTX7W.js";
30
+ } from "./chunk-H4WJ6GCS.js";
31
31
  import {
32
32
  botConfig,
33
33
  completeText,
34
34
  escapeXml,
35
35
  resolveGatewayModel,
36
36
  unwrapCurrentInstruction
37
- } from "./chunk-Z2YZ6QLG.js";
37
+ } from "./chunk-7V5CF6SH.js";
38
38
  import {
39
39
  parseSlackMessageTs,
40
40
  toStoredSlackActor
@@ -44,7 +44,7 @@ import {
44
44
  logException,
45
45
  logWarn,
46
46
  setSpanAttributes
47
- } from "./chunk-SBIQ5MZW.js";
47
+ } from "./chunk-QHEYFDCZ.js";
48
48
 
49
49
  // src/chat/turn-context-tag.ts
50
50
  var TURN_CONTEXT_TAG = "runtime-turn-context";
@@ -3,7 +3,7 @@ import {
3
3
  toCanonicalInputMessage,
4
4
  toCanonicalOutputMessage,
5
5
  toGenAiMessagesTraceAttributes
6
- } from "./chunk-H7KTMGNI.js";
6
+ } from "./chunk-NBASTXA5.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-SBIQ5MZW.js";
14
+ } from "./chunk-QHEYFDCZ.js";
15
15
 
16
16
  // src/chat/services/provider-error.ts
17
17
  var ProviderError = class extends Error {
@@ -4,18 +4,18 @@ import {
4
4
  isStale,
5
5
  runNonInteractiveCommand,
6
6
  sleep
7
- } from "./chunk-CNC65LIX.js";
7
+ } from "./chunk-VRWFZY2Q.js";
8
8
  import {
9
9
  getStateAdapter
10
- } from "./chunk-B6IOTX7W.js";
10
+ } from "./chunk-H4WJ6GCS.js";
11
11
  import {
12
12
  toOptionalTrimmed
13
- } from "./chunk-Z2YZ6QLG.js";
13
+ } from "./chunk-7V5CF6SH.js";
14
14
  import {
15
15
  setSpanAttributes,
16
16
  setSpanStatus,
17
17
  withSpan
18
- } from "./chunk-SBIQ5MZW.js";
18
+ } from "./chunk-QHEYFDCZ.js";
19
19
 
20
20
  // src/chat/sandbox/resources.ts
21
21
  var configuredResources;
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pluginCatalogRuntime
3
- } from "./chunk-5JB5JJO5.js";
3
+ } from "./chunk-GUIEHC3H.js";
4
4
  import {
5
5
  logWarn
6
- } from "./chunk-SBIQ5MZW.js";
6
+ } from "./chunk-QHEYFDCZ.js";
7
7
  import {
8
8
  skillRoots
9
9
  } from "./chunk-H4HBKISO.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  JUNIOR_VERSION
3
- } from "./chunk-DVHYQDGM.js";
3
+ } from "./chunk-YGIPCZZD.js";
4
4
 
5
5
  // src/deployment.ts
6
6
  var JUNIOR_HEARTBEAT_ROUTE = "/api/internal/heartbeat";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createWebAuthorization,
3
3
  deleteWebAuthorization
4
- } from "./chunk-VVLQGGJJ.js";
4
+ } from "./chunk-X3M2JJGL.js";
5
5
  import {
6
6
  appendAndEnqueueInboundMessage
7
- } from "./chunk-OKXHYVKE.js";
7
+ } from "./chunk-I7VX7SFH.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-B7U2QBMT.js";
15
+ } from "./chunk-I2OSXB2S.js";
16
16
  import {
17
17
  ConversationTurnLifecycleService,
18
18
  coerceThreadConversationState,
19
19
  getPersistedSandboxState,
20
20
  getPersistedThreadState,
21
21
  persistThreadStateById
22
- } from "./chunk-6NQJQP7O.js";
22
+ } from "./chunk-O72OX3BI.js";
23
23
  import {
24
24
  healthReportSchema
25
25
  } from "./chunk-UTL3MHPC.js";
26
26
  import {
27
27
  parseSlackThreadId
28
- } from "./chunk-AJEZETLT.js";
28
+ } from "./chunk-RTNSAKYV.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-64EGCW34.js";
52
+ } from "./chunk-53D4PCKF.js";
53
53
  import {
54
54
  normalizeSlackConversationId
55
- } from "./chunk-JIZ3RFER.js";
55
+ } from "./chunk-G26PYGXP.js";
56
56
  import {
57
57
  getConversationEventStore,
58
58
  getConversationStore,
59
59
  getDb
60
- } from "./chunk-JHCAX7XY.js";
60
+ } from "./chunk-QD27ZPYB.js";
61
61
  import {
62
62
  juniorApiTokens,
63
63
  juniorConversationParticipants,
64
64
  juniorConversations,
65
65
  juniorIdentities,
66
66
  juniorUsers
67
- } from "./chunk-CUA5SZR5.js";
67
+ } from "./chunk-4BO7CQTP.js";
68
68
  import {
69
69
  getSlackBotToken
70
- } from "./chunk-Z2YZ6QLG.js";
70
+ } from "./chunk-7V5CF6SH.js";
71
71
  import {
72
72
  juniorDestinations
73
73
  } from "./chunk-VFUK3X5B.js";
74
74
  import {
75
75
  canExposeConversationPayload
76
- } from "./chunk-H7KTMGNI.js";
76
+ } from "./chunk-NBASTXA5.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-SBIQ5MZW.js";
85
+ } from "./chunk-QHEYFDCZ.js";
86
86
 
87
87
  // src/handlers/health.ts
88
88
  function readHealthReport() {