@sentry/junior 0.171.0 → 0.172.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-UXIRPATC.js → agent-hooks-IZMIMXUX.js} +12 -12
  2. package/dist/api.js +26 -26
  3. package/dist/app.js +32 -32
  4. package/dist/{catalog-runtime-PQCGQUXA.js → catalog-runtime-PDNXCNCJ.js} +5 -5
  5. package/dist/{chunk-MFFU45QO.js → chunk-27T2WQJV.js} +1 -1
  6. package/dist/{chunk-JNYIJHFF.js → chunk-6RWQHBTV.js} +1 -1
  7. package/dist/{chunk-O2SUZKWU.js → chunk-A6AJ354O.js} +5 -5
  8. package/dist/{chunk-VGWC4KG2.js → chunk-AHWLGR5T.js} +5 -5
  9. package/dist/{chunk-UTG3IY2C.js → chunk-AQ4GXXRD.js} +18 -18
  10. package/dist/{chunk-3AX2WCFV.js → chunk-BTD6ZYFL.js} +2 -2
  11. package/dist/{chunk-UC35XHGT.js → chunk-CBPREIWS.js} +2 -2
  12. package/dist/{chunk-Y5RRKS67.js → chunk-CO47EWFW.js} +4 -4
  13. package/dist/{chunk-IZSMYLCS.js → chunk-CUJ2T7FO.js} +9 -9
  14. package/dist/{chunk-Y6DW6AVG.js → chunk-ELAP5LB5.js} +1 -1
  15. package/dist/{chunk-WCWPRFHZ.js → chunk-EXEO2R4S.js} +1 -1
  16. package/dist/{chunk-XHBYNJNZ.js → chunk-FESC2EW7.js} +1 -1
  17. package/dist/{chunk-YURMXTZF.js → chunk-FUYKKSDV.js} +1 -1
  18. package/dist/{chunk-CWTWZKWH.js → chunk-G2DJ7LUE.js} +6 -6
  19. package/dist/{chunk-WIUGVE66.js → chunk-G4GNP4Q2.js} +5 -5
  20. package/dist/{chunk-SIOO3CCL.js → chunk-HEOOUGVL.js} +1 -1
  21. package/dist/{chunk-6RRTVWAD.js → chunk-IAOQPDO6.js} +1 -1
  22. package/dist/{chunk-CVHKLS7B.js → chunk-IFSKN5VH.js} +1 -1
  23. package/dist/{chunk-AOAOBZJQ.js → chunk-JOSDA5SZ.js} +17 -17
  24. package/dist/{chunk-5GF7HQOP.js → chunk-LVNMMESU.js} +1 -1
  25. package/dist/{chunk-5TZ2DKVU.js → chunk-MNYAYK5I.js} +1 -1
  26. package/dist/{chunk-KUYIW4BD.js → chunk-NB7WS4SP.js} +1 -1
  27. package/dist/{chunk-4TKPTFSO.js → chunk-Q36YWAJT.js} +1 -1
  28. package/dist/{chunk-FI5A2RF6.js → chunk-QAEKVEZY.js} +1 -1
  29. package/dist/{chunk-2AYWP7PZ.js → chunk-QBHPQCEQ.js} +4 -4
  30. package/dist/{chunk-M5QJJMFK.js → chunk-QCGDWFYC.js} +4 -4
  31. package/dist/{chunk-5ML752HJ.js → chunk-SU7QH274.js} +8 -8
  32. package/dist/{chunk-POF7HORW.js → chunk-TWIRPYVB.js} +6 -6
  33. package/dist/{chunk-QHBHUCDS.js → chunk-W6THM2TX.js} +5 -5
  34. package/dist/{chunk-HWXXFINO.js → chunk-XSO5JEHI.js} +12 -12
  35. package/dist/{chunk-HKWEMKK4.js → chunk-Y4AEFUEV.js} +3 -3
  36. package/dist/{chunk-62WK6FLT.js → chunk-YRBLN5PJ.js} +6 -6
  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-EHCO5WGL.js → db-32P3ZO4Z.js} +7 -7
  43. package/dist/instrumentation.js +4 -4
  44. package/dist/nitro.js +2 -2
  45. package/dist/{oauth-callback-server-O7CH6FOJ.js → oauth-callback-server-ZOHC35HH.js} +23 -23
  46. package/dist/{runner-3D5AGGUD.js → runner-QWGQH425.js} +15 -15
  47. package/dist/{skills-6IW3DDW2.js → skills-2T6JZT2K.js} +6 -6
  48. package/dist/spawn-55U4TVHQ.js +37 -0
  49. package/dist/{validation-RCLP4EU4.js → validation-LMGCYHRK.js} +6 -6
  50. package/dist/version.js +1 -1
  51. package/dist/{work-L54N7O65.js → work-CVXCACZK.js} +18 -18
  52. package/dist/worker-SWMVAAN6.js +24 -0
  53. package/package.json +5 -5
  54. package/dist/spawn-5LKOLABU.js +0 -37
  55. package/dist/worker-VJCSXI5L.js +0 -24
@@ -8,14 +8,14 @@ import {
8
8
  getConversationStore,
9
9
  parseDestination,
10
10
  sameDestination
11
- } from "./chunk-HKWEMKK4.js";
11
+ } from "./chunk-Y4AEFUEV.js";
12
12
  import {
13
13
  getDefaultRedisStateAdapterFor,
14
14
  getStateAdapter
15
- } from "./chunk-YURMXTZF.js";
15
+ } from "./chunk-FUYKKSDV.js";
16
16
  import {
17
17
  getChatConfig
18
- } from "./chunk-UC35XHGT.js";
18
+ } from "./chunk-CBPREIWS.js";
19
19
  import {
20
20
  parseStoredSlackActor
21
21
  } from "./chunk-M63DETLL.js";
@@ -23,7 +23,7 @@ import {
23
23
  isRecord,
24
24
  toOptionalNumber,
25
25
  toOptionalString
26
- } from "./chunk-6RRTVWAD.js";
26
+ } from "./chunk-IAOQPDO6.js";
27
27
 
28
28
  // src/chat/task-execution/state.ts
29
29
  import { randomUUID } from "crypto";
@@ -2,7 +2,7 @@ import {
2
2
  coerceThreadConversationState,
3
3
  getPersistedThreadState,
4
4
  persistThreadStateById
5
- } from "./chunk-O2SUZKWU.js";
5
+ } from "./chunk-A6AJ354O.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-WIUGVE66.js";
25
+ } from "./chunk-G4GNP4Q2.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-62WK6FLT.js";
36
+ } from "./chunk-YRBLN5PJ.js";
37
37
  import {
38
38
  getConversationStore,
39
39
  getDb,
40
40
  sameActorIdentity
41
- } from "./chunk-HKWEMKK4.js";
41
+ } from "./chunk-Y4AEFUEV.js";
42
42
  import {
43
43
  juniorConversations,
44
44
  juniorTaskExecutions
45
- } from "./chunk-5GF7HQOP.js";
45
+ } from "./chunk-LVNMMESU.js";
46
46
  import {
47
47
  getStateAdapter
48
- } from "./chunk-YURMXTZF.js";
48
+ } from "./chunk-FUYKKSDV.js";
49
49
  import {
50
50
  ProviderError,
51
51
  findProviderError,
52
52
  getProviderErrorAttributes,
53
53
  getProviderErrorUserMessage
54
- } from "./chunk-UC35XHGT.js";
54
+ } from "./chunk-CBPREIWS.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-6RRTVWAD.js";
64
+ } from "./chunk-IAOQPDO6.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-EHCO5WGL.js")).getConversationStore();
90
+ const conversationStore = args.conversationStore ?? (await import("./db-32P3ZO4Z.js")).getConversationStore();
91
91
  const conversation = await conversationStore.get({
92
92
  conversationId: args.conversationId
93
93
  });
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@sentry/junior",
4
- version: "0.171.0",
4
+ version: "0.172.0",
5
5
  private: false,
6
6
  publishConfig: {
7
7
  access: "public"
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  JUNIOR_VERSION
3
- } from "./chunk-Y6DW6AVG.js";
3
+ } from "./chunk-ELAP5LB5.js";
4
4
 
5
5
  // src/deployment.ts
6
6
  var JUNIOR_HEARTBEAT_ROUTE = "/api/internal/heartbeat";
@@ -5,7 +5,7 @@ import {
5
5
  } from "./chunk-M63DETLL.js";
6
6
  import {
7
7
  toOptionalString
8
- } from "./chunk-6RRTVWAD.js";
8
+ } from "./chunk-IAOQPDO6.js";
9
9
 
10
10
  // src/chat/slack/context.ts
11
11
  import { z } from "zod";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getChatConfig
3
- } from "./chunk-UC35XHGT.js";
3
+ } from "./chunk-CBPREIWS.js";
4
4
 
5
5
  // src/chat/state/adapter.ts
6
6
  import { createMemoryState } from "@chat-adapter/state-memory";
@@ -5,19 +5,19 @@ import {
5
5
  isDmChannel,
6
6
  normalizeSlackConversationId,
7
7
  withSlackRetries
8
- } from "./chunk-62WK6FLT.js";
8
+ } from "./chunk-YRBLN5PJ.js";
9
9
  import {
10
10
  parseDestination
11
- } from "./chunk-HKWEMKK4.js";
11
+ } from "./chunk-Y4AEFUEV.js";
12
12
  import {
13
13
  getStateAdapter
14
- } from "./chunk-YURMXTZF.js";
14
+ } from "./chunk-FUYKKSDV.js";
15
15
  import {
16
16
  normalizeSlackEmojiName
17
- } from "./chunk-UC35XHGT.js";
17
+ } from "./chunk-CBPREIWS.js";
18
18
  import {
19
19
  pluginCatalogRuntime
20
- } from "./chunk-SIOO3CCL.js";
20
+ } from "./chunk-HEOOUGVL.js";
21
21
  import {
22
22
  parseSlackMessageTs,
23
23
  parseSlackUserId
@@ -26,7 +26,7 @@ import {
26
26
  isRecord,
27
27
  logInfo,
28
28
  logWarn
29
- } from "./chunk-6RRTVWAD.js";
29
+ } from "./chunk-IAOQPDO6.js";
30
30
 
31
31
  // src/chat/slack/outbound.ts
32
32
  var MAX_SLACK_MESSAGE_TEXT_CHARS = 4e4;
@@ -13,25 +13,25 @@ import {
13
13
  instructionProvenanceFor,
14
14
  sanitizePostgresJson,
15
15
  withConversationEventLock
16
- } from "./chunk-HKWEMKK4.js";
16
+ } from "./chunk-Y4AEFUEV.js";
17
17
  import {
18
18
  SANDBOX_REPOS_ROOT,
19
19
  SANDBOX_WORKSPACE_ROOT,
20
20
  sleep
21
- } from "./chunk-CVHKLS7B.js";
21
+ } from "./chunk-IFSKN5VH.js";
22
22
  import {
23
23
  MUTATION_LOCK_TTL_MS,
24
24
  fenceLock,
25
25
  getStateAdapter,
26
26
  withLock
27
- } from "./chunk-YURMXTZF.js";
27
+ } from "./chunk-FUYKKSDV.js";
28
28
  import {
29
29
  botConfig,
30
30
  completeText,
31
31
  escapeXml,
32
32
  resolveGatewayModel,
33
33
  unwrapCurrentInstruction
34
- } from "./chunk-UC35XHGT.js";
34
+ } from "./chunk-CBPREIWS.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-6RRTVWAD.js";
44
+ } from "./chunk-IAOQPDO6.js";
45
45
 
46
46
  // src/chat/turn-context-tag.ts
47
47
  var TURN_CONTEXT_TAG = "runtime-turn-context";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createPluginCatalogRuntime
3
- } from "./chunk-KUYIW4BD.js";
3
+ } from "./chunk-NB7WS4SP.js";
4
4
 
5
5
  // src/chat/plugins/catalog-runtime.ts
6
6
  var pluginCatalogRuntime = createPluginCatalogRuntime();
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-6GWA276C.js";
10
10
  import {
11
11
  getDeploymentTelemetryAttributes
12
- } from "./chunk-WCWPRFHZ.js";
12
+ } from "./chunk-EXEO2R4S.js";
13
13
 
14
14
  // src/chat/logging.ts
15
15
  import path from "path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pluginCatalogRuntime
3
- } from "./chunk-SIOO3CCL.js";
3
+ } from "./chunk-HEOOUGVL.js";
4
4
 
5
5
  // src/chat/sandbox/paths.ts
6
6
  function normalizeWorkspaceRoot(input) {
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-FA6POGLH.js";
4
4
  import {
5
5
  getTurnRequestDeadline
6
- } from "./chunk-4TKPTFSO.js";
6
+ } from "./chunk-Q36YWAJT.js";
7
7
  import {
8
8
  buildSentryConversationUrl,
9
9
  deleteWebAuthorization
10
- } from "./chunk-MFFU45QO.js";
10
+ } from "./chunk-27T2WQJV.js";
11
11
  import {
12
12
  ensureConversationWake,
13
13
  requestConversationWork
14
- } from "./chunk-Y5RRKS67.js";
14
+ } from "./chunk-CO47EWFW.js";
15
15
  import {
16
16
  buildDeliveredTurnStatePatch,
17
17
  finalizeFailedTurnReplyWithEvent,
@@ -24,7 +24,7 @@ import {
24
24
  requireTurnFailureEventId,
25
25
  resolveTurnSessionRouting,
26
26
  scheduleSessionCompletedPluginTasks
27
- } from "./chunk-IZSMYLCS.js";
27
+ } from "./chunk-CUJ2T7FO.js";
28
28
  import {
29
29
  ConversationTurnLifecycleService,
30
30
  coerceThreadConversationState,
@@ -33,7 +33,7 @@ import {
33
33
  getPersistedSandboxState,
34
34
  getPersistedThreadState,
35
35
  persistThreadStateById
36
- } from "./chunk-O2SUZKWU.js";
36
+ } from "./chunk-A6AJ354O.js";
37
37
  import {
38
38
  getVercelConversationWorkQueue
39
39
  } from "./chunk-WR76IVA5.js";
@@ -47,7 +47,7 @@ import {
47
47
  lookupSlackUserProfile,
48
48
  resolvePluginOAuthAccount,
49
49
  runAgentWithTimeout
50
- } from "./chunk-5ML752HJ.js";
50
+ } from "./chunk-SU7QH274.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-CWTWZKWH.js";
66
+ } from "./chunk-G2DJ7LUE.js";
67
67
  import {
68
68
  parseSlackThreadId,
69
69
  readSlackRawMessageContext,
70
70
  resolveSlackChannelIdFromMessage,
71
71
  resolveSlackChannelIdFromThreadId
72
- } from "./chunk-XHBYNJNZ.js";
72
+ } from "./chunk-FESC2EW7.js";
73
73
  import {
74
74
  CooperativeTurnYieldError,
75
75
  TurnSliceLimitExceededError,
@@ -96,7 +96,7 @@ import {
96
96
  recordTurnSummary,
97
97
  saveTurnCheckpoint,
98
98
  turnHasReply
99
- } from "./chunk-WIUGVE66.js";
99
+ } from "./chunk-G4GNP4Q2.js";
100
100
  import {
101
101
  SlackActionError,
102
102
  getDashboardConversationLink,
@@ -105,18 +105,18 @@ import {
105
105
  getSlackClient,
106
106
  isDmChannel,
107
107
  normalizeSlackConversationId
108
- } from "./chunk-62WK6FLT.js";
108
+ } from "./chunk-YRBLN5PJ.js";
109
109
  import {
110
110
  getConversationEventStore,
111
111
  getSqlExecutor,
112
112
  requireSlackDestination,
113
113
  upsertIdentity,
114
114
  upsertLinkedIdentity
115
- } from "./chunk-HKWEMKK4.js";
115
+ } from "./chunk-Y4AEFUEV.js";
116
116
  import {
117
117
  acquireActiveLock,
118
118
  getStateAdapter
119
- } from "./chunk-YURMXTZF.js";
119
+ } from "./chunk-FUYKKSDV.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-UC35XHGT.js";
127
+ } from "./chunk-CBPREIWS.js";
128
128
  import {
129
129
  discoverSkills
130
- } from "./chunk-3AX2WCFV.js";
130
+ } from "./chunk-BTD6ZYFL.js";
131
131
  import {
132
132
  pluginCatalogRuntime
133
- } from "./chunk-SIOO3CCL.js";
133
+ } from "./chunk-HEOOUGVL.js";
134
134
  import {
135
135
  buildOAuthTokenRequest,
136
136
  hasRequiredOAuthScope,
137
137
  parseOAuthTokenResponse
138
- } from "./chunk-KUYIW4BD.js";
138
+ } from "./chunk-NB7WS4SP.js";
139
139
  import {
140
140
  createSlackResumeActor,
141
141
  isUserActor,
@@ -151,7 +151,7 @@ import {
151
151
  setTags,
152
152
  toOptionalString,
153
153
  withLogContext
154
- } from "./chunk-6RRTVWAD.js";
154
+ } from "./chunk-IAOQPDO6.js";
155
155
  import {
156
156
  homeDir
157
157
  } from "./chunk-H4HBKISO.js";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  DEFAULT_SQL_STATEMENT_TIMEOUT_MS
3
- } from "./chunk-UC35XHGT.js";
3
+ } from "./chunk-CBPREIWS.js";
4
4
  import {
5
5
  juniorDestinations,
6
6
  timestamptz
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createAndEnqueueAgentInvocation
3
- } from "./chunk-POF7HORW.js";
3
+ } from "./chunk-TWIRPYVB.js";
4
4
  import {
5
5
  actorFromRun,
6
6
  toolInvocationDestination
@@ -5,7 +5,7 @@ import {
5
5
  logInfo,
6
6
  logWarn,
7
7
  setSpanAttributes
8
- } from "./chunk-6RRTVWAD.js";
8
+ } from "./chunk-IAOQPDO6.js";
9
9
  import {
10
10
  discoverInstalledPluginPackageContent,
11
11
  normalizePluginPackageNames
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  FUNCTION_TIMEOUT_BUFFER_SECONDS,
3
3
  getChatConfig
4
- } from "./chunk-UC35XHGT.js";
4
+ } from "./chunk-CBPREIWS.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
  logWarn
3
- } from "./chunk-6RRTVWAD.js";
3
+ } from "./chunk-IAOQPDO6.js";
4
4
 
5
5
  // src/chat/conversation-privacy.ts
6
6
  import { AsyncLocalStorage } from "async_hooks";
@@ -4,18 +4,18 @@ import {
4
4
  isStale,
5
5
  runNonInteractiveCommand,
6
6
  sleep
7
- } from "./chunk-CVHKLS7B.js";
7
+ } from "./chunk-IFSKN5VH.js";
8
8
  import {
9
9
  getStateAdapter
10
- } from "./chunk-YURMXTZF.js";
10
+ } from "./chunk-FUYKKSDV.js";
11
11
  import {
12
12
  toOptionalTrimmed
13
- } from "./chunk-UC35XHGT.js";
13
+ } from "./chunk-CBPREIWS.js";
14
14
  import {
15
15
  setSpanAttributes,
16
16
  setSpanStatus,
17
17
  withSpan
18
- } from "./chunk-6RRTVWAD.js";
18
+ } from "./chunk-IAOQPDO6.js";
19
19
 
20
20
  // src/chat/sandbox/resources.ts
21
21
  var configuredResources;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getTurnRequestDeadline
3
- } from "./chunk-4TKPTFSO.js";
3
+ } from "./chunk-Q36YWAJT.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-Y5RRKS67.js";
24
+ } from "./chunk-CO47EWFW.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-UC35XHGT.js";
31
+ } from "./chunk-CBPREIWS.js";
32
32
  import {
33
33
  logException,
34
34
  logInfo,
35
35
  logWarn,
36
36
  withLogContext
37
- } from "./chunk-6RRTVWAD.js";
37
+ } from "./chunk-IAOQPDO6.js";
38
38
 
39
39
  // src/chat/task-execution/worker.ts
40
40
  var CONVERSATION_WORK_DEFER_DELAY_MS = 15e3;
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-RF6J3DIO.js";
4
4
  import {
5
5
  resolveBaseUrl
6
- } from "./chunk-CWTWZKWH.js";
6
+ } from "./chunk-G2DJ7LUE.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-62WK6FLT.js";
15
+ } from "./chunk-YRBLN5PJ.js";
16
16
  import {
17
17
  getDb,
18
18
  parseDestination
19
- } from "./chunk-HKWEMKK4.js";
19
+ } from "./chunk-Y4AEFUEV.js";
20
20
  import {
21
21
  sleep
22
- } from "./chunk-CVHKLS7B.js";
22
+ } from "./chunk-IFSKN5VH.js";
23
23
  import {
24
24
  acquireActiveLock,
25
25
  getStateAdapter
26
- } from "./chunk-YURMXTZF.js";
26
+ } from "./chunk-FUYKKSDV.js";
27
27
  import {
28
28
  pluginCatalogRuntime
29
- } from "./chunk-SIOO3CCL.js";
29
+ } from "./chunk-HEOOUGVL.js";
30
30
  import {
31
31
  fetchWithBoundedOAuthErrorBodies
32
- } from "./chunk-KUYIW4BD.js";
32
+ } from "./chunk-NB7WS4SP.js";
33
33
  import {
34
34
  isRecord
35
- } from "./chunk-6RRTVWAD.js";
35
+ } from "./chunk-IAOQPDO6.js";
36
36
 
37
37
  // src/chat/capabilities/router.ts
38
38
  var ProviderCredentialRouter = class {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  appendAndEnqueueInboundMessage
3
- } from "./chunk-Y5RRKS67.js";
3
+ } from "./chunk-CO47EWFW.js";
4
4
  import {
5
5
  ConversationTurnLifecycleService,
6
6
  getPersistedSandboxState,
7
7
  getPersistedThreadState,
8
8
  persistThreadStateById
9
- } from "./chunk-O2SUZKWU.js";
9
+ } from "./chunk-A6AJ354O.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-QHBHUCDS.js";
18
+ } from "./chunk-W6THM2TX.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-WIUGVE66.js";
29
+ } from "./chunk-G4GNP4Q2.js";
30
30
  import {
31
31
  getConversationEventStore,
32
32
  getConversationStore,
33
33
  getSqlExecutor
34
- } from "./chunk-HKWEMKK4.js";
34
+ } from "./chunk-Y4AEFUEV.js";
35
35
  import {
36
36
  juniorAgentBindings,
37
37
  juniorAgentInvocations
38
- } from "./chunk-5GF7HQOP.js";
38
+ } from "./chunk-LVNMMESU.js";
39
39
 
40
40
  // src/chat/agent-invocations/work.ts
41
41
  import { z } from "zod";
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  formatProviderLabel,
6
6
  startOAuthFlow
7
- } from "./chunk-CWTWZKWH.js";
7
+ } from "./chunk-G2DJ7LUE.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-WIUGVE66.js";
15
+ } from "./chunk-G4GNP4Q2.js";
16
16
  import {
17
17
  AGENT_INVOCATION_MAILBOX_STATUSES
18
- } from "./chunk-5GF7HQOP.js";
18
+ } from "./chunk-LVNMMESU.js";
19
19
  import {
20
20
  TURN_REASONING_LEVELS
21
- } from "./chunk-UC35XHGT.js";
21
+ } from "./chunk-CBPREIWS.js";
22
22
  import {
23
23
  pluginCatalogRuntime
24
- } from "./chunk-SIOO3CCL.js";
24
+ } from "./chunk-HEOOUGVL.js";
25
25
  import {
26
26
  credentialContextSchema
27
27
  } from "./chunk-CGA4ERJ5.js";
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createWebAuthorization,
3
3
  deleteWebAuthorization
4
- } from "./chunk-MFFU45QO.js";
4
+ } from "./chunk-27T2WQJV.js";
5
5
  import {
6
6
  appendAndEnqueueInboundMessage
7
- } from "./chunk-Y5RRKS67.js";
7
+ } from "./chunk-CO47EWFW.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-IZSMYLCS.js";
15
+ } from "./chunk-CUJ2T7FO.js";
16
16
  import {
17
17
  ConversationTurnLifecycleService,
18
18
  coerceThreadConversationState,
19
19
  getPersistedSandboxState,
20
20
  getPersistedThreadState,
21
21
  persistThreadStateById
22
- } from "./chunk-O2SUZKWU.js";
22
+ } from "./chunk-A6AJ354O.js";
23
23
  import {
24
24
  healthReportSchema
25
25
  } from "./chunk-UTL3MHPC.js";
26
26
  import {
27
27
  parseSlackThreadId
28
- } from "./chunk-XHBYNJNZ.js";
28
+ } from "./chunk-FESC2EW7.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-WIUGVE66.js";
52
+ } from "./chunk-G4GNP4Q2.js";
53
53
  import {
54
54
  normalizeSlackConversationId
55
- } from "./chunk-62WK6FLT.js";
55
+ } from "./chunk-YRBLN5PJ.js";
56
56
  import {
57
57
  getConversationEventStore,
58
58
  getConversationStore,
59
59
  getDb
60
- } from "./chunk-HKWEMKK4.js";
60
+ } from "./chunk-Y4AEFUEV.js";
61
61
  import {
62
62
  juniorApiTokens,
63
63
  juniorConversationParticipants,
64
64
  juniorConversations,
65
65
  juniorIdentities,
66
66
  juniorUsers
67
- } from "./chunk-5GF7HQOP.js";
67
+ } from "./chunk-LVNMMESU.js";
68
68
  import {
69
69
  getSlackBotToken
70
- } from "./chunk-UC35XHGT.js";
70
+ } from "./chunk-CBPREIWS.js";
71
71
  import {
72
72
  juniorDestinations
73
73
  } from "./chunk-VFUK3X5B.js";
74
74
  import {
75
75
  canExposeConversationPayload
76
- } from "./chunk-FI5A2RF6.js";
76
+ } from "./chunk-QAEKVEZY.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-6RRTVWAD.js";
85
+ } from "./chunk-IAOQPDO6.js";
86
86
 
87
87
  // src/handlers/health.ts
88
88
  function readHealthReport() {