@sentry/junior 0.176.1 → 0.177.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 (56) hide show
  1. package/dist/{agent-hooks-ZCRXEWPE.js → agent-hooks-IYHCN7CO.js} +12 -12
  2. package/dist/api.js +26 -26
  3. package/dist/app.js +49 -54
  4. package/dist/{catalog-runtime-O7ZMK27R.js → catalog-runtime-2TD4CXSB.js} +5 -5
  5. package/dist/chat/resource-events/notification.d.ts +6 -1
  6. package/dist/{chunk-KMZ54JGE.js → chunk-2IMQLZHS.js} +18 -18
  7. package/dist/{chunk-RTNSAKYV.js → chunk-3FWXQZJJ.js} +1 -1
  8. package/dist/{chunk-X3M2JJGL.js → chunk-4SVAFAI2.js} +1 -1
  9. package/dist/{chunk-FFQR4YEB.js → chunk-4TRHPYTL.js} +4 -4
  10. package/dist/{chunk-O72OX3BI.js → chunk-4TWDRU64.js} +5 -5
  11. package/dist/{chunk-BTAXMONT.js → chunk-6KGMMVHF.js} +2 -2
  12. package/dist/{chunk-425VJ2C7.js → chunk-6NZRKJWU.js} +1 -1
  13. package/dist/{chunk-4OLTNDE5.js → chunk-7B6NW4P7.js} +1 -1
  14. package/dist/{chunk-QHEYFDCZ.js → chunk-7CVYXUOJ.js} +1 -1
  15. package/dist/{chunk-NBASTXA5.js → chunk-7PZDAXIK.js} +1 -1
  16. package/dist/{chunk-I2OSXB2S.js → chunk-7ZFESKJ2.js} +9 -9
  17. package/dist/{chunk-DKQC4BZG.js → chunk-AFOFVEXP.js} +12 -12
  18. package/dist/{chunk-IKIQ6N44.js → chunk-CAWBLVBY.js} +6 -6
  19. package/dist/{chunk-OCK3LT7D.js → chunk-DGGIKWYQ.js} +1 -1
  20. package/dist/{chunk-7V5CF6SH.js → chunk-DLTP6TUJ.js} +2 -2
  21. package/dist/{chunk-DKXXKOHJ.js → chunk-FVVYHML7.js} +6 -6
  22. package/dist/{chunk-53D4PCKF.js → chunk-I7PKGMKI.js} +6 -6
  23. package/dist/{chunk-GUIEHC3H.js → chunk-J2EWL6GJ.js} +1 -1
  24. package/dist/{chunk-I7VX7SFH.js → chunk-LFZODSAY.js} +4 -4
  25. package/dist/{chunk-QD27ZPYB.js → chunk-LPMLAJYR.js} +3 -3
  26. package/dist/{chunk-ZO7WMPPR.js → chunk-LVL5NG5G.js} +17 -17
  27. package/dist/{chunk-B74MKQA3.js → chunk-N4YEVOEC.js} +4 -4
  28. package/dist/{chunk-BV66CCPV.js → chunk-ORMJY4RG.js} +1 -1
  29. package/dist/{chunk-G26PYGXP.js → chunk-PA7QDS7P.js} +6 -6
  30. package/dist/{chunk-VRWFZY2Q.js → chunk-Q362TECJ.js} +1 -1
  31. package/dist/{chunk-XGGLAKES.js → chunk-QLLOX7JY.js} +8 -8
  32. package/dist/{chunk-YGIPCZZD.js → chunk-SNPQGTHJ.js} +1 -1
  33. package/dist/{chunk-OYQSJ2NN.js → chunk-UB5YB2ED.js} +4 -4
  34. package/dist/{chunk-H4WJ6GCS.js → chunk-VGDOEKO2.js} +1 -1
  35. package/dist/{chunk-4BO7CQTP.js → chunk-WCQUKX74.js} +1 -1
  36. package/dist/{chunk-SZPWKEVR.js → chunk-WYO2HXY5.js} +1 -1
  37. package/dist/{chunk-F4K7AAHQ.js → chunk-ZCYABD7N.js} +5 -5
  38. package/dist/cli/chat.js +30 -30
  39. package/dist/cli/check.js +6 -6
  40. package/dist/cli/plugins.js +13 -13
  41. package/dist/cli/snapshot-create.js +10 -10
  42. package/dist/cli/upgrade.js +7 -7
  43. package/dist/{db-N4UWAT3N.js → db-A3CB76US.js} +7 -7
  44. package/dist/instrumentation.js +4 -4
  45. package/dist/nitro.js +2 -2
  46. package/dist/{oauth-callback-server-BYURWP3V.js → oauth-callback-server-64QMI3IB.js} +23 -23
  47. package/dist/{runner-AYSX73AQ.js → runner-EIAE2BGD.js} +15 -15
  48. package/dist/{skills-L4ZYR5E3.js → skills-ZADWFKDG.js} +6 -6
  49. package/dist/spawn-DVUOUFFC.js +37 -0
  50. package/dist/{validation-AAFNNQUZ.js → validation-4I6AF4CV.js} +6 -6
  51. package/dist/version.js +1 -1
  52. package/dist/{work-JHA35XRS.js → work-BS6BZ66U.js} +18 -18
  53. package/dist/worker-RS5PWTCE.js +24 -0
  54. package/package.json +5 -5
  55. package/dist/spawn-GXHJJJYU.js +0 -37
  56. package/dist/worker-F3BYG2FG.js +0 -24
@@ -2,10 +2,10 @@ import {
2
2
  ToolInputError,
3
3
  canRouteResourceEvents,
4
4
  getPlugins
5
- } from "./chunk-G26PYGXP.js";
5
+ } from "./chunk-PA7QDS7P.js";
6
6
  import {
7
7
  getDb
8
- } from "./chunk-QD27ZPYB.js";
8
+ } from "./chunk-LPMLAJYR.js";
9
9
  import {
10
10
  juniorAttachments,
11
11
  juniorConversations,
@@ -13,13 +13,13 @@ import {
13
13
  juniorSchedulerRuns,
14
14
  juniorSchedulerTasks,
15
15
  juniorStats
16
- } from "./chunk-4BO7CQTP.js";
16
+ } from "./chunk-WCQUKX74.js";
17
17
  import {
18
18
  juniorDestinations
19
19
  } from "./chunk-VFUK3X5B.js";
20
20
  import {
21
21
  logInfo
22
- } from "./chunk-QHEYFDCZ.js";
22
+ } from "./chunk-7CVYXUOJ.js";
23
23
 
24
24
  // src/chat/resource-events/catalog.ts
25
25
  import {
@@ -1,18 +1,18 @@
1
1
  import {
2
2
  persistConversationMessages
3
- } from "./chunk-53D4PCKF.js";
3
+ } from "./chunk-I7PKGMKI.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-QD27ZPYB.js";
9
+ } from "./chunk-LPMLAJYR.js";
10
10
  import {
11
11
  juniorLocationConfigurations
12
- } from "./chunk-4BO7CQTP.js";
12
+ } from "./chunk-WCQUKX74.js";
13
13
  import {
14
14
  getStateAdapter
15
- } from "./chunk-H4WJ6GCS.js";
15
+ } from "./chunk-VGDOEKO2.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-QHEYFDCZ.js";
23
+ } from "./chunk-7CVYXUOJ.js";
24
24
 
25
25
  // src/chat/conversations/turn-lifecycle.ts
26
26
  var ConversationTurnLifecycleService = class {
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pluginCatalogRuntime
3
- } from "./chunk-GUIEHC3H.js";
3
+ } from "./chunk-J2EWL6GJ.js";
4
4
  import {
5
5
  logWarn
6
- } from "./chunk-QHEYFDCZ.js";
6
+ } from "./chunk-7CVYXUOJ.js";
7
7
  import {
8
8
  skillRoots
9
9
  } from "./chunk-H4HBKISO.js";
@@ -1,7 +1,7 @@
1
1
  import {
2
2
  FUNCTION_TIMEOUT_BUFFER_SECONDS,
3
3
  getChatConfig
4
- } from "./chunk-7V5CF6SH.js";
4
+ } from "./chunk-DLTP6TUJ.js";
5
5
 
6
6
  // src/chat/runtime/request-deadline.ts
7
7
  import { AsyncLocalStorage } from "async_hooks";
@@ -5,7 +5,7 @@ import {
5
5
  logInfo,
6
6
  logWarn,
7
7
  setSpanAttributes
8
- } from "./chunk-QHEYFDCZ.js";
8
+ } from "./chunk-7CVYXUOJ.js";
9
9
  import {
10
10
  discoverInstalledPluginPackageContent,
11
11
  normalizePluginPackageNames
@@ -9,7 +9,7 @@ import {
9
9
  } from "./chunk-6GWA276C.js";
10
10
  import {
11
11
  getDeploymentTelemetryAttributes
12
- } from "./chunk-BV66CCPV.js";
12
+ } from "./chunk-ORMJY4RG.js";
13
13
 
14
14
  // src/chat/logging.ts
15
15
  import path from "path";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  logWarn
3
- } from "./chunk-QHEYFDCZ.js";
3
+ } from "./chunk-7CVYXUOJ.js";
4
4
 
5
5
  // src/chat/conversation-privacy.ts
6
6
  import { AsyncLocalStorage } from "async_hooks";
@@ -2,7 +2,7 @@ import {
2
2
  coerceThreadConversationState,
3
3
  getPersistedThreadState,
4
4
  persistThreadStateById
5
- } from "./chunk-O72OX3BI.js";
5
+ } from "./chunk-4TWDRU64.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-53D4PCKF.js";
25
+ } from "./chunk-I7PKGMKI.js";
26
26
  import {
27
27
  createPluginConversationEvents,
28
28
  createPluginEmbedder,
@@ -30,7 +30,7 @@ import {
30
30
  createPluginModel,
31
31
  createPluginState,
32
32
  getPlugins
33
- } from "./chunk-G26PYGXP.js";
33
+ } from "./chunk-PA7QDS7P.js";
34
34
  import {
35
35
  JUNIOR_THREAD_STATE_TTL_MS
36
36
  } from "./chunk-3Y47VMHV.js";
@@ -38,20 +38,20 @@ import {
38
38
  getConversationStore,
39
39
  getDb,
40
40
  sameActorIdentity
41
- } from "./chunk-QD27ZPYB.js";
41
+ } from "./chunk-LPMLAJYR.js";
42
42
  import {
43
43
  juniorConversations,
44
44
  juniorTaskExecutions
45
- } from "./chunk-4BO7CQTP.js";
45
+ } from "./chunk-WCQUKX74.js";
46
46
  import {
47
47
  getStateAdapter
48
- } from "./chunk-H4WJ6GCS.js";
48
+ } from "./chunk-VGDOEKO2.js";
49
49
  import {
50
50
  ProviderError,
51
51
  findProviderError,
52
52
  getProviderErrorAttributes,
53
53
  getProviderErrorUserMessage
54
- } from "./chunk-7V5CF6SH.js";
54
+ } from "./chunk-DLTP6TUJ.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-QHEYFDCZ.js";
64
+ } from "./chunk-7CVYXUOJ.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-N4UWAT3N.js")).getConversationStore();
90
+ const conversationStore = args.conversationStore ?? (await import("./db-A3CB76US.js")).getConversationStore();
91
91
  const conversation = await conversationStore.get({
92
92
  conversationId: args.conversationId
93
93
  });
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createWebAuthorization,
3
3
  deleteWebAuthorization
4
- } from "./chunk-X3M2JJGL.js";
4
+ } from "./chunk-4SVAFAI2.js";
5
5
  import {
6
6
  appendAndEnqueueInboundMessage
7
- } from "./chunk-I7VX7SFH.js";
7
+ } from "./chunk-LFZODSAY.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-I2OSXB2S.js";
15
+ } from "./chunk-7ZFESKJ2.js";
16
16
  import {
17
17
  ConversationTurnLifecycleService,
18
18
  coerceThreadConversationState,
19
19
  getPersistedSandboxState,
20
20
  getPersistedThreadState,
21
21
  persistThreadStateById
22
- } from "./chunk-O72OX3BI.js";
22
+ } from "./chunk-4TWDRU64.js";
23
23
  import {
24
24
  healthReportSchema
25
25
  } from "./chunk-UTL3MHPC.js";
26
26
  import {
27
27
  parseSlackThreadId
28
- } from "./chunk-RTNSAKYV.js";
28
+ } from "./chunk-3FWXQZJJ.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-53D4PCKF.js";
52
+ } from "./chunk-I7PKGMKI.js";
53
53
  import {
54
54
  normalizeSlackConversationId
55
- } from "./chunk-G26PYGXP.js";
55
+ } from "./chunk-PA7QDS7P.js";
56
56
  import {
57
57
  getConversationEventStore,
58
58
  getConversationStore,
59
59
  getDb
60
- } from "./chunk-QD27ZPYB.js";
60
+ } from "./chunk-LPMLAJYR.js";
61
61
  import {
62
62
  juniorApiTokens,
63
63
  juniorConversationParticipants,
64
64
  juniorConversations,
65
65
  juniorIdentities,
66
66
  juniorUsers
67
- } from "./chunk-4BO7CQTP.js";
67
+ } from "./chunk-WCQUKX74.js";
68
68
  import {
69
69
  getSlackBotToken
70
- } from "./chunk-7V5CF6SH.js";
70
+ } from "./chunk-DLTP6TUJ.js";
71
71
  import {
72
72
  juniorDestinations
73
73
  } from "./chunk-VFUK3X5B.js";
74
74
  import {
75
75
  canExposeConversationPayload
76
- } from "./chunk-NBASTXA5.js";
76
+ } from "./chunk-7PZDAXIK.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-QHEYFDCZ.js";
85
+ } from "./chunk-7CVYXUOJ.js";
86
86
 
87
87
  // src/handlers/health.ts
88
88
  function readHealthReport() {
@@ -5,19 +5,19 @@ import {
5
5
  isDmChannel,
6
6
  normalizeSlackConversationId,
7
7
  withSlackRetries
8
- } from "./chunk-G26PYGXP.js";
8
+ } from "./chunk-PA7QDS7P.js";
9
9
  import {
10
10
  parseDestination
11
- } from "./chunk-QD27ZPYB.js";
11
+ } from "./chunk-LPMLAJYR.js";
12
12
  import {
13
13
  getStateAdapter
14
- } from "./chunk-H4WJ6GCS.js";
14
+ } from "./chunk-VGDOEKO2.js";
15
15
  import {
16
16
  normalizeSlackEmojiName
17
- } from "./chunk-7V5CF6SH.js";
17
+ } from "./chunk-DLTP6TUJ.js";
18
18
  import {
19
19
  pluginCatalogRuntime
20
- } from "./chunk-GUIEHC3H.js";
20
+ } from "./chunk-J2EWL6GJ.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-QHEYFDCZ.js";
29
+ } from "./chunk-7CVYXUOJ.js";
30
30
 
31
31
  // src/chat/slack/outbound.ts
32
32
  var MAX_SLACK_MESSAGE_TEXT_CHARS = 4e4;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createAndEnqueueAgentInvocation
3
- } from "./chunk-DKXXKOHJ.js";
3
+ } from "./chunk-FVVYHML7.js";
4
4
  import {
5
5
  actorFromRun,
6
6
  toolInvocationDestination
@@ -3,7 +3,7 @@ import {
3
3
  toCanonicalInputMessage,
4
4
  toCanonicalOutputMessage,
5
5
  toGenAiMessagesTraceAttributes
6
- } from "./chunk-NBASTXA5.js";
6
+ } from "./chunk-7PZDAXIK.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-QHEYFDCZ.js";
14
+ } from "./chunk-7CVYXUOJ.js";
15
15
 
16
16
  // src/chat/services/provider-error.ts
17
17
  var ProviderError = class extends Error {
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  appendAndEnqueueInboundMessage
3
- } from "./chunk-I7VX7SFH.js";
3
+ } from "./chunk-LFZODSAY.js";
4
4
  import {
5
5
  ConversationTurnLifecycleService,
6
6
  getPersistedSandboxState,
7
7
  getPersistedThreadState,
8
8
  persistThreadStateById
9
- } from "./chunk-O72OX3BI.js";
9
+ } from "./chunk-4TWDRU64.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-F4K7AAHQ.js";
18
+ } from "./chunk-ZCYABD7N.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-53D4PCKF.js";
29
+ } from "./chunk-I7PKGMKI.js";
30
30
  import {
31
31
  getConversationEventStore,
32
32
  getConversationStore,
33
33
  getSqlExecutor
34
- } from "./chunk-QD27ZPYB.js";
34
+ } from "./chunk-LPMLAJYR.js";
35
35
  import {
36
36
  juniorAgentBindings,
37
37
  juniorAgentInvocations
38
- } from "./chunk-4BO7CQTP.js";
38
+ } from "./chunk-WCQUKX74.js";
39
39
 
40
40
  // src/chat/agent-invocations/work.ts
41
41
  import { z } from "zod";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-PDO5BLNM.js";
4
4
  import {
5
5
  ToolInputError
6
- } from "./chunk-G26PYGXP.js";
6
+ } from "./chunk-PA7QDS7P.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-QD27ZPYB.js";
19
+ } from "./chunk-LPMLAJYR.js";
20
20
  import {
21
21
  SANDBOX_REPOS_ROOT,
22
22
  SANDBOX_WORKSPACE_ROOT,
23
23
  sleep
24
- } from "./chunk-VRWFZY2Q.js";
24
+ } from "./chunk-Q362TECJ.js";
25
25
  import {
26
26
  MUTATION_LOCK_TTL_MS,
27
27
  fenceLock,
28
28
  getStateAdapter,
29
29
  withLock
30
- } from "./chunk-H4WJ6GCS.js";
30
+ } from "./chunk-VGDOEKO2.js";
31
31
  import {
32
32
  botConfig,
33
33
  completeText,
34
34
  escapeXml,
35
35
  resolveGatewayModel,
36
36
  unwrapCurrentInstruction
37
- } from "./chunk-7V5CF6SH.js";
37
+ } from "./chunk-DLTP6TUJ.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-QHEYFDCZ.js";
47
+ } from "./chunk-7CVYXUOJ.js";
48
48
 
49
49
  // src/chat/turn-context-tag.ts
50
50
  var TURN_CONTEXT_TAG = "runtime-turn-context";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  createPluginCatalogRuntime
3
- } from "./chunk-4OLTNDE5.js";
3
+ } from "./chunk-7B6NW4P7.js";
4
4
 
5
5
  // src/chat/plugins/catalog-runtime.ts
6
6
  var pluginCatalogRuntime = createPluginCatalogRuntime();
@@ -8,14 +8,14 @@ import {
8
8
  getConversationStore,
9
9
  parseDestination,
10
10
  sameDestination
11
- } from "./chunk-QD27ZPYB.js";
11
+ } from "./chunk-LPMLAJYR.js";
12
12
  import {
13
13
  getDefaultRedisStateAdapterFor,
14
14
  getStateAdapter
15
- } from "./chunk-H4WJ6GCS.js";
15
+ } from "./chunk-VGDOEKO2.js";
16
16
  import {
17
17
  getChatConfig
18
- } from "./chunk-7V5CF6SH.js";
18
+ } from "./chunk-DLTP6TUJ.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-QHEYFDCZ.js";
26
+ } from "./chunk-7CVYXUOJ.js";
27
27
 
28
28
  // src/chat/task-execution/state.ts
29
29
  import { randomUUID } from "crypto";
@@ -7,12 +7,12 @@ import {
7
7
  juniorConversations,
8
8
  juniorIdentities,
9
9
  juniorUsers
10
- } from "./chunk-4BO7CQTP.js";
10
+ } from "./chunk-WCQUKX74.js";
11
11
  import {
12
12
  TURN_REASONING_LEVELS,
13
13
  getChatConfig,
14
14
  modelProfileSchema
15
- } from "./chunk-7V5CF6SH.js";
15
+ } from "./chunk-DLTP6TUJ.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-QHEYFDCZ.js";
26
+ } from "./chunk-7CVYXUOJ.js";
27
27
 
28
28
  // src/chat/conversations/sql/store.ts
29
29
  import { randomUUID as randomUUID2 } from "crypto";
@@ -3,15 +3,15 @@ import {
3
3
  } from "./chunk-FA6POGLH.js";
4
4
  import {
5
5
  getTurnRequestDeadline
6
- } from "./chunk-425VJ2C7.js";
6
+ } from "./chunk-6NZRKJWU.js";
7
7
  import {
8
8
  buildSentryConversationUrl,
9
9
  deleteWebAuthorization
10
- } from "./chunk-X3M2JJGL.js";
10
+ } from "./chunk-4SVAFAI2.js";
11
11
  import {
12
12
  ensureConversationWake,
13
13
  requestConversationWork
14
- } from "./chunk-I7VX7SFH.js";
14
+ } from "./chunk-LFZODSAY.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-I2OSXB2S.js";
27
+ } from "./chunk-7ZFESKJ2.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-O72OX3BI.js";
36
+ } from "./chunk-4TWDRU64.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-XGGLAKES.js";
50
+ } from "./chunk-QLLOX7JY.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-IKIQ6N44.js";
66
+ } from "./chunk-CAWBLVBY.js";
67
67
  import {
68
68
  parseSlackThreadId,
69
69
  readSlackRawMessageContext,
70
70
  resolveSlackChannelIdFromMessage,
71
71
  resolveSlackChannelIdFromThreadId
72
- } from "./chunk-RTNSAKYV.js";
72
+ } from "./chunk-3FWXQZJJ.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-53D4PCKF.js";
99
+ } from "./chunk-I7PKGMKI.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-G26PYGXP.js";
108
+ } from "./chunk-PA7QDS7P.js";
109
109
  import {
110
110
  getConversationEventStore,
111
111
  getSqlExecutor,
112
112
  requireSlackDestination,
113
113
  upsertIdentity,
114
114
  upsertLinkedIdentity
115
- } from "./chunk-QD27ZPYB.js";
115
+ } from "./chunk-LPMLAJYR.js";
116
116
  import {
117
117
  acquireActiveLock,
118
118
  getStateAdapter
119
- } from "./chunk-H4WJ6GCS.js";
119
+ } from "./chunk-VGDOEKO2.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-7V5CF6SH.js";
127
+ } from "./chunk-DLTP6TUJ.js";
128
128
  import {
129
129
  discoverSkills
130
- } from "./chunk-BTAXMONT.js";
130
+ } from "./chunk-6KGMMVHF.js";
131
131
  import {
132
132
  pluginCatalogRuntime
133
- } from "./chunk-GUIEHC3H.js";
133
+ } from "./chunk-J2EWL6GJ.js";
134
134
  import {
135
135
  buildOAuthTokenRequest,
136
136
  hasRequiredOAuthScope,
137
137
  parseOAuthTokenResponse
138
- } from "./chunk-4OLTNDE5.js";
138
+ } from "./chunk-7B6NW4P7.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-QHEYFDCZ.js";
154
+ } from "./chunk-7CVYXUOJ.js";
155
155
  import {
156
156
  homeDir
157
157
  } from "./chunk-H4HBKISO.js";
@@ -4,18 +4,18 @@ import {
4
4
  isStale,
5
5
  runNonInteractiveCommand,
6
6
  sleep
7
- } from "./chunk-VRWFZY2Q.js";
7
+ } from "./chunk-Q362TECJ.js";
8
8
  import {
9
9
  getStateAdapter
10
- } from "./chunk-H4WJ6GCS.js";
10
+ } from "./chunk-VGDOEKO2.js";
11
11
  import {
12
12
  toOptionalTrimmed
13
- } from "./chunk-7V5CF6SH.js";
13
+ } from "./chunk-DLTP6TUJ.js";
14
14
  import {
15
15
  setSpanAttributes,
16
16
  setSpanStatus,
17
17
  withSpan
18
- } from "./chunk-QHEYFDCZ.js";
18
+ } from "./chunk-7CVYXUOJ.js";
19
19
 
20
20
  // src/chat/sandbox/resources.ts
21
21
  var configuredResources;
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  JUNIOR_VERSION
3
- } from "./chunk-YGIPCZZD.js";
3
+ } from "./chunk-SNPQGTHJ.js";
4
4
 
5
5
  // src/deployment.ts
6
6
  var JUNIOR_HEARTBEAT_ROUTE = "/api/internal/heartbeat";
@@ -5,7 +5,7 @@ import {
5
5
  getConversationEventStore,
6
6
  getDb,
7
7
  getSqlExecutor
8
- } from "./chunk-QD27ZPYB.js";
8
+ } from "./chunk-LPMLAJYR.js";
9
9
  import {
10
10
  juniorConversationAnnotations,
11
11
  juniorConversationEvents,
@@ -14,23 +14,23 @@ import {
14
14
  juniorUsers,
15
15
  juniorWorkspaceRepos,
16
16
  juniorWorkspaces
17
- } from "./chunk-4BO7CQTP.js";
17
+ } from "./chunk-WCQUKX74.js";
18
18
  import {
19
19
  SANDBOX_WORKSPACE_ROOT,
20
20
  hash,
21
21
  runNonInteractiveCommand,
22
22
  sleep
23
- } from "./chunk-VRWFZY2Q.js";
23
+ } from "./chunk-Q362TECJ.js";
24
24
  import {
25
25
  getStateAdapter
26
- } from "./chunk-H4WJ6GCS.js";
26
+ } from "./chunk-VGDOEKO2.js";
27
27
  import {
28
28
  botConfig,
29
29
  completeObject,
30
30
  embedTexts,
31
31
  getSlackBotToken,
32
32
  standardModelId
33
- } from "./chunk-7V5CF6SH.js";
33
+ } from "./chunk-DLTP6TUJ.js";
34
34
  import {
35
35
  isActorUserId,
36
36
  parseActorUserId,
@@ -46,7 +46,7 @@ import {
46
46
  setSpanAttributes,
47
47
  setSpanStatus,
48
48
  withSpan
49
- } from "./chunk-QHEYFDCZ.js";
49
+ } from "./chunk-7CVYXUOJ.js";
50
50
 
51
51
  // src/chat/plugins/agent-hooks.ts
52
52
  import {