@sentry/junior 0.173.0 → 0.174.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 (59) hide show
  1. package/dist/{agent-hooks-TKE6PDE3.js → agent-hooks-HBZUWB4D.js} +12 -12
  2. package/dist/api/conversations/list.d.ts +3 -1
  3. package/dist/api/schema/conversation.d.ts +4 -0
  4. package/dist/api/schema.js +1 -1
  5. package/dist/api.js +33 -31
  6. package/dist/app.js +32 -32
  7. package/dist/{catalog-runtime-247LR4L4.js → catalog-runtime-J3R3LC7Y.js} +5 -5
  8. package/dist/{chunk-FMM3B64Q.js → chunk-2BNKQSPC.js} +5 -5
  9. package/dist/{chunk-SZ6HE45O.js → chunk-2E353AHN.js} +1 -1
  10. package/dist/{chunk-GBPGKJZF.js → chunk-47LO5GDT.js} +12 -12
  11. package/dist/{chunk-EHE45OBY.js → chunk-4ALVTB7F.js} +1 -1
  12. package/dist/{chunk-6PHOLDQI.js → chunk-5EWBGDW2.js} +1 -1
  13. package/dist/{chunk-NDJ5XLSR.js → chunk-6FWEUJGH.js} +1 -1
  14. package/dist/{chunk-NMUEJHPW.js → chunk-7V25DLCB.js} +8 -8
  15. package/dist/{chunk-VKBONIMW.js → chunk-AJMUVCXW.js} +4 -4
  16. package/dist/{chunk-A3U4JTWA.js → chunk-BFNNCBTK.js} +4 -4
  17. package/dist/{chunk-D3XNZ5GJ.js → chunk-BLBKORDG.js} +6 -6
  18. package/dist/{chunk-FAMC3HC7.js → chunk-DIW6IQYK.js} +6 -6
  19. package/dist/{chunk-2XUT3VLE.js → chunk-DRRUFZKZ.js} +1 -1
  20. package/dist/{chunk-UTMP45YM.js → chunk-ELEAIRTG.js} +2 -1
  21. package/dist/{chunk-KSQ2BFUK.js → chunk-FFUNPZA2.js} +1 -1
  22. package/dist/{chunk-HWLN37DJ.js → chunk-GWZBBIV6.js} +2 -2
  23. package/dist/{chunk-KUZQEAZB.js → chunk-GX2ISGLH.js} +18 -18
  24. package/dist/{chunk-TZIZCB6V.js → chunk-HJFWO72I.js} +1 -1
  25. package/dist/{chunk-54LKZSAW.js → chunk-IYI7RPHU.js} +1 -1
  26. package/dist/{chunk-UDSVV7MC.js → chunk-JVORBSUR.js} +3 -3
  27. package/dist/{chunk-VQTMPROS.js → chunk-KIU7RKE5.js} +6 -6
  28. package/dist/{chunk-33SJGQG6.js → chunk-N7Y3T47I.js} +4 -4
  29. package/dist/{chunk-VEZ4VIJX.js → chunk-OTAPFODZ.js} +5 -5
  30. package/dist/{chunk-FWM663LY.js → chunk-OXYAEFKS.js} +2 -2
  31. package/dist/{chunk-YY3XHPFQ.js → chunk-REUKFWLH.js} +1 -1
  32. package/dist/{chunk-7PNMY4NE.js → chunk-RL23S5DG.js} +1 -1
  33. package/dist/{chunk-OWJJB5DQ.js → chunk-T5VGNZ7F.js} +9 -9
  34. package/dist/{chunk-C4I6OV7U.js → chunk-VZFLAGFK.js} +1 -1
  35. package/dist/{chunk-MAE6RNYQ.js → chunk-W6HVH5JJ.js} +5 -5
  36. package/dist/{chunk-3J7WUHKY.js → chunk-WEL4NWRR.js} +5 -5
  37. package/dist/{chunk-YJOBW6ON.js → chunk-WH7F67EN.js} +17 -17
  38. package/dist/{chunk-WVFTUTAK.js → chunk-XOXKL2DL.js} +1 -1
  39. package/dist/{chunk-A7TBEENH.js → chunk-Z23POK2V.js} +1 -1
  40. package/dist/{chunk-Q2457VTU.js → chunk-ZBWAXCR3.js} +1 -1
  41. package/dist/cli/chat.js +30 -30
  42. package/dist/cli/check.js +6 -6
  43. package/dist/cli/plugins.js +13 -13
  44. package/dist/cli/snapshot-create.js +10 -10
  45. package/dist/cli/upgrade.js +7 -7
  46. package/dist/{db-DN7KYTNR.js → db-6JOWUGLP.js} +7 -7
  47. package/dist/instrumentation.js +4 -4
  48. package/dist/nitro.js +2 -2
  49. package/dist/{oauth-callback-server-5HSUJNR4.js → oauth-callback-server-ZLOKNXOW.js} +23 -23
  50. package/dist/{runner-62H3GPAH.js → runner-YD4J2GBE.js} +15 -15
  51. package/dist/{skills-76ZK6SH7.js → skills-YMSY2LFN.js} +6 -6
  52. package/dist/spawn-ZVO5IUCR.js +37 -0
  53. package/dist/{validation-6HZIOXZG.js → validation-KAOZ7UHD.js} +6 -6
  54. package/dist/version.js +1 -1
  55. package/dist/{work-ZWH4KG3U.js → work-ILZ3L7AD.js} +18 -18
  56. package/dist/worker-D34ZL6RU.js +24 -0
  57. package/package.json +4 -4
  58. package/dist/spawn-UOEYRXD7.js +0 -37
  59. package/dist/worker-LB7JCNA5.js +0 -24
@@ -13,24 +13,24 @@ import {
13
13
  getPlugins,
14
14
  setPlugins,
15
15
  validatePlugins
16
- } from "./chunk-D3XNZ5GJ.js";
17
- import "./chunk-UDSVV7MC.js";
18
- import "./chunk-C4I6OV7U.js";
19
- import "./chunk-WVFTUTAK.js";
20
- import "./chunk-TZIZCB6V.js";
21
- import "./chunk-FWM663LY.js";
16
+ } from "./chunk-BLBKORDG.js";
17
+ import "./chunk-JVORBSUR.js";
18
+ import "./chunk-VZFLAGFK.js";
19
+ import "./chunk-XOXKL2DL.js";
20
+ import "./chunk-HJFWO72I.js";
21
+ import "./chunk-OXYAEFKS.js";
22
22
  import "./chunk-VFUK3X5B.js";
23
- import "./chunk-KSQ2BFUK.js";
24
- import "./chunk-7PNMY4NE.js";
25
- import "./chunk-54LKZSAW.js";
23
+ import "./chunk-FFUNPZA2.js";
24
+ import "./chunk-RL23S5DG.js";
25
+ import "./chunk-IYI7RPHU.js";
26
26
  import "./chunk-CGA4ERJ5.js";
27
27
  import "./chunk-M63DETLL.js";
28
- import "./chunk-A7TBEENH.js";
28
+ import "./chunk-Z23POK2V.js";
29
29
  import "./chunk-6GWA276C.js";
30
30
  import "./chunk-OOUNJNMR.js";
31
31
  import "./chunk-H4HBKISO.js";
32
- import "./chunk-2XUT3VLE.js";
33
- import "./chunk-SZ6HE45O.js";
32
+ import "./chunk-DRRUFZKZ.js";
33
+ import "./chunk-2E353AHN.js";
34
34
  import "./chunk-MLKGABMK.js";
35
35
  export {
36
36
  PluginHookDeniedError,
@@ -9,7 +9,7 @@ type ConversationFeedMembership = {
9
9
  kind: "actorEmail";
10
10
  email: string;
11
11
  };
12
- declare function conversationRows(db: JuniorDatabase, limit: number, filter?: ConversationFeedMembership): Promise<{
12
+ declare function conversationRows(db: JuniorDatabase, limit: number, status: "active" | "archived", filter?: ConversationFeedMembership): Promise<{
13
13
  conversation: {
14
14
  conversationId: string;
15
15
  schemaVersion: number;
@@ -124,6 +124,7 @@ export declare function readConversationRecordFromSql(conversationId: string): P
124
124
  export declare function readConversationFeedFromSql(options?: {
125
125
  actorEmail?: string;
126
126
  limit?: number;
127
+ status?: "active" | "archived";
127
128
  viewer?: User;
128
129
  }): Promise<ConversationFeed>;
129
130
  /**
@@ -132,6 +133,7 @@ export declare function readConversationFeedFromSql(options?: {
132
133
  */
133
134
  export declare function readConversationFeed(options?: {
134
135
  actorEmail?: string;
136
+ status?: "active" | "archived";
135
137
  viewer?: User;
136
138
  }): Promise<ConversationFeed>;
137
139
  export {};
@@ -48,6 +48,10 @@ export declare const conversationEventsQuerySchema: z.ZodObject<{
48
48
  }, z.core.$strict>;
49
49
  export declare const conversationFeedQuerySchema: z.ZodObject<{
50
50
  actorEmail: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
51
+ status: z.ZodDefault<z.ZodEnum<{
52
+ active: "active";
53
+ archived: "archived";
54
+ }>>;
51
55
  }, z.core.$strict>;
52
56
  export declare const archiveConversationBodySchema: z.ZodObject<{
53
57
  archived: z.ZodBoolean;
@@ -59,7 +59,7 @@ import {
59
59
  workspaceParamsSchema,
60
60
  workspaceRepoSchema,
61
61
  workspaceSchema
62
- } from "../chunk-UTMP45YM.js";
62
+ } from "../chunk-ELEAIRTG.js";
63
63
  import {
64
64
  healthReportSchema,
65
65
  pluginOperationalReportFeedSchema,
package/dist/api.js CHANGED
@@ -41,7 +41,7 @@ import {
41
41
  workspaceListSchema,
42
42
  workspaceParamsSchema,
43
43
  workspaceSchema
44
- } from "./chunk-UTMP45YM.js";
44
+ } from "./chunk-ELEAIRTG.js";
45
45
  import {
46
46
  appendAndEnqueueApiConversationMessage,
47
47
  authenticatePersonalToken,
@@ -59,15 +59,15 @@ import {
59
59
  revokePersonalToken,
60
60
  viewerConversationMembership,
61
61
  webActorFromEmail
62
- } from "./chunk-GBPGKJZF.js";
62
+ } from "./chunk-47LO5GDT.js";
63
63
  import {
64
64
  buildSentryConversationUrl,
65
65
  getWebAuthorization
66
- } from "./chunk-NDJ5XLSR.js";
66
+ } from "./chunk-6FWEUJGH.js";
67
67
  import {
68
68
  cancelHumanFacingPendingMessages,
69
69
  getConversation
70
- } from "./chunk-33SJGQG6.js";
70
+ } from "./chunk-N7Y3T47I.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-OWJJB5DQ.js";
79
- import "./chunk-3J7WUHKY.js";
78
+ } from "./chunk-T5VGNZ7F.js";
79
+ import "./chunk-WEL4NWRR.js";
80
80
  import {
81
81
  healthReportSchema,
82
82
  pluginOperationalReportFeedSchema,
@@ -101,20 +101,20 @@ import {
101
101
  listPublicScheduledTasksForTeams,
102
102
  readLiveAttachment,
103
103
  readStats
104
- } from "./chunk-VEZ4VIJX.js";
104
+ } from "./chunk-OTAPFODZ.js";
105
105
  import {
106
106
  parseSlackThreadId
107
- } from "./chunk-6PHOLDQI.js";
107
+ } from "./chunk-5EWBGDW2.js";
108
108
  import {
109
109
  agentTurnUsageSchema,
110
110
  fallbackShortTitle,
111
111
  hasAgentTurnUsage,
112
112
  renderJuniorNativeConversationEvent
113
- } from "./chunk-FMM3B64Q.js";
113
+ } from "./chunk-2BNKQSPC.js";
114
114
  import "./chunk-3Y47VMHV.js";
115
115
  import {
116
116
  getCachedSnapshot
117
- } from "./chunk-A3U4JTWA.js";
117
+ } from "./chunk-BFNNCBTK.js";
118
118
  import "./chunk-PDO5BLNM.js";
119
119
  import {
120
120
  SANDBOX_RUNTIME,
@@ -135,7 +135,7 @@ import {
135
135
  updateWorkspace,
136
136
  withSlackRetries,
137
137
  workspaceRepoCheckoutPath
138
- } from "./chunk-D3XNZ5GJ.js";
138
+ } from "./chunk-BLBKORDG.js";
139
139
  import {
140
140
  decodeStoredConversationEvent,
141
141
  getConversationStore,
@@ -143,25 +143,25 @@ import {
143
143
  getSqlExecutor,
144
144
  locationFromRow,
145
145
  parseSessionSource
146
- } from "./chunk-UDSVV7MC.js";
146
+ } from "./chunk-JVORBSUR.js";
147
147
  import {
148
148
  juniorConversationEvents,
149
149
  juniorConversations,
150
150
  juniorIdentities,
151
151
  juniorUsers
152
- } from "./chunk-C4I6OV7U.js";
152
+ } from "./chunk-VZFLAGFK.js";
153
153
  import {
154
154
  create,
155
155
  hash
156
- } from "./chunk-WVFTUTAK.js";
157
- import "./chunk-TZIZCB6V.js";
158
- import "./chunk-FWM663LY.js";
156
+ } from "./chunk-XOXKL2DL.js";
157
+ import "./chunk-HJFWO72I.js";
158
+ import "./chunk-OXYAEFKS.js";
159
159
  import {
160
160
  juniorDestinations
161
161
  } from "./chunk-VFUK3X5B.js";
162
- import "./chunk-KSQ2BFUK.js";
163
- import "./chunk-7PNMY4NE.js";
164
- import "./chunk-54LKZSAW.js";
162
+ import "./chunk-FFUNPZA2.js";
163
+ import "./chunk-RL23S5DG.js";
164
+ import "./chunk-IYI7RPHU.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-A7TBEENH.js";
174
+ } from "./chunk-Z23POK2V.js";
175
175
  import "./chunk-6GWA276C.js";
176
176
  import "./chunk-OOUNJNMR.js";
177
177
  import "./chunk-H4HBKISO.js";
178
- import "./chunk-2XUT3VLE.js";
179
- import "./chunk-SZ6HE45O.js";
178
+ import "./chunk-DRRUFZKZ.js";
179
+ import "./chunk-2E353AHN.js";
180
180
  import "./chunk-MLKGABMK.js";
181
181
 
182
182
  // src/api.ts
@@ -1167,7 +1167,7 @@ async function readConversationEventPage(executor, args) {
1167
1167
  }
1168
1168
 
1169
1169
  // src/api/conversations/list.ts
1170
- import { and as and7, asc as asc2, desc as desc2, eq as eq7, isNull as isNull3 } from "drizzle-orm";
1170
+ import { and as and7, asc as asc2, desc as desc2, eq as eq7, isNotNull as isNotNull4, isNull as isNull3 } from "drizzle-orm";
1171
1171
 
1172
1172
  // src/api/conversations/shared.ts
1173
1173
  function slackStatsLocationLabel(input) {
@@ -1736,7 +1736,7 @@ function conversationFeedMembershipFilter(filter) {
1736
1736
  participantMatch: conversationHasParticipantEmail(filter.email)
1737
1737
  });
1738
1738
  }
1739
- async function conversationRows(db, limit, filter) {
1739
+ async function conversationRows(db, limit, status, filter) {
1740
1740
  return db.select({
1741
1741
  conversation: juniorConversations,
1742
1742
  destination: juniorDestinations,
@@ -1756,7 +1756,7 @@ async function conversationRows(db, limit, filter) {
1756
1756
  ).leftJoin(juniorUsers, eq7(juniorUsers.id, juniorIdentities.userId)).where(
1757
1757
  and7(
1758
1758
  isNull3(juniorConversations.parentConversationId),
1759
- isNull3(juniorConversations.archivedAt),
1759
+ status === "archived" ? isNotNull4(juniorConversations.archivedAt) : isNull3(juniorConversations.archivedAt),
1760
1760
  conversationFeedMembershipFilter(filter)
1761
1761
  )
1762
1762
  ).orderBy(
@@ -1850,6 +1850,7 @@ async function readConversationFeedFromSql(options = {}) {
1850
1850
  const rows = await conversationRows(
1851
1851
  db,
1852
1852
  options.limit ?? CONVERSATION_FEED_LIMIT,
1853
+ options.status ?? "active",
1853
1854
  conversationFeedFilter(options)
1854
1855
  );
1855
1856
  const conversations = rows.map((row) => conversationFromRow(row));
@@ -3171,12 +3172,13 @@ function createConversationRoutes(options) {
3171
3172
  "Invalid query parameters."
3172
3173
  ),
3173
3174
  async (context) => {
3174
- const { actorEmail } = context.req.valid("query");
3175
+ const { actorEmail, status } = context.req.valid("query");
3175
3176
  const viewer = context.get("viewer");
3176
3177
  return jsonResponse(
3177
3178
  conversationFeedSchema,
3178
3179
  await readConversationFeed({
3179
3180
  ...actorEmail ? { actorEmail } : {},
3181
+ status,
3180
3182
  ...viewer ? { viewer } : {}
3181
3183
  })
3182
3184
  );
@@ -4077,7 +4079,7 @@ async function readPeoplePluginReports(args) {
4077
4079
  source: "plugins"
4078
4080
  });
4079
4081
  }
4080
- const { getPluginProfileReports } = await import("./agent-hooks-TKE6PDE3.js");
4082
+ const { getPluginProfileReports } = await import("./agent-hooks-HBZUWB4D.js");
4081
4083
  return pluginOperationalReportFeedSchema.parse({
4082
4084
  generatedAt: new Date(nowMs).toISOString(),
4083
4085
  reports: await getPluginProfileReports({
@@ -4796,7 +4798,7 @@ function readDescriptionText(home) {
4796
4798
  }
4797
4799
  }
4798
4800
  async function readSkillReports() {
4799
- const { discoverSkills } = await import("./skills-76ZK6SH7.js");
4801
+ const { discoverSkills } = await import("./skills-YMSY2LFN.js");
4800
4802
  const skills = await discoverSkills();
4801
4803
  return skillReportsSchema.parse(
4802
4804
  skills.map((skill) => ({
@@ -4806,7 +4808,7 @@ async function readSkillReports() {
4806
4808
  );
4807
4809
  }
4808
4810
  async function readPlugins() {
4809
- const { pluginCatalogRuntime } = await import("./catalog-runtime-247LR4L4.js");
4811
+ const { pluginCatalogRuntime } = await import("./catalog-runtime-J3R3LC7Y.js");
4810
4812
  return pluginsSchema.parse(
4811
4813
  pluginCatalogRuntime.getProviders().map((plugin) => ({
4812
4814
  configKeys: plugin.manifest.configKeys ?? [],
@@ -4819,7 +4821,7 @@ async function readPlugins() {
4819
4821
  async function readRuntimeInfoReport() {
4820
4822
  const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
4821
4823
  import("./discovery-GUFTFBTL.js"),
4822
- import("./catalog-runtime-247LR4L4.js"),
4824
+ import("./catalog-runtime-J3R3LC7Y.js"),
4823
4825
  readPlugins(),
4824
4826
  readSkillReports()
4825
4827
  ]);
@@ -4835,7 +4837,7 @@ async function readRuntimeInfoReport() {
4835
4837
  }
4836
4838
  async function readPluginOperationalReportFeed() {
4837
4839
  const nowMs = Date.now();
4838
- const { getPluginOperationalReports } = await import("./agent-hooks-TKE6PDE3.js");
4840
+ const { getPluginOperationalReports } = await import("./agent-hooks-HBZUWB4D.js");
4839
4841
  return pluginOperationalReportFeedSchema.parse({
4840
4842
  source: "plugins",
4841
4843
  generatedAt: new Date(nowMs).toISOString(),
package/dist/app.js CHANGED
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  processConversationWork
3
- } from "./chunk-VKBONIMW.js";
3
+ } from "./chunk-AJMUVCXW.js";
4
4
  import {
5
5
  bindSpawnAgent
6
- } from "./chunk-Q2457VTU.js";
6
+ } from "./chunk-ZBWAXCR3.js";
7
7
  import {
8
8
  createAgentInvocationWorker,
9
9
  enqueueAgentInvocation,
10
10
  listPendingAgentInvocationMailboxAppends,
11
11
  routeAgentInvocationWork
12
- } from "./chunk-VQTMPROS.js";
12
+ } from "./chunk-KIU7RKE5.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-YJOBW6ON.js";
39
+ } from "./chunk-WH7F67EN.js";
40
40
  import "./chunk-FA6POGLH.js";
41
41
  import {
42
42
  getTurnRequestDeadline,
43
43
  runWithTurnRequestDeadline
44
- } from "./chunk-YY3XHPFQ.js";
44
+ } from "./chunk-REUKFWLH.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-GBPGKJZF.js";
62
- import "./chunk-NDJ5XLSR.js";
61
+ } from "./chunk-47LO5GDT.js";
62
+ import "./chunk-6FWEUJGH.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-33SJGQG6.js";
73
+ } from "./chunk-N7Y3T47I.js";
74
74
  import {
75
75
  buildDeliveredTurnStatePatch,
76
76
  claimDispatchMailboxAppend,
@@ -101,7 +101,7 @@ import {
101
101
  requireTurnFailureEventId,
102
102
  resolveTurnSessionRouting,
103
103
  scheduleSessionCompletedPluginTasks
104
- } from "./chunk-OWJJB5DQ.js";
104
+ } from "./chunk-T5VGNZ7F.js";
105
105
  import {
106
106
  ConversationTurnLifecycleService,
107
107
  coerceThreadConversationState,
@@ -111,7 +111,7 @@ import {
111
111
  persistThreadRuntimeState,
112
112
  persistThreadState,
113
113
  persistThreadStateById
114
- } from "./chunk-3J7WUHKY.js";
114
+ } from "./chunk-WEL4NWRR.js";
115
115
  import "./chunk-UTL3MHPC.js";
116
116
  import {
117
117
  getVercelConversationWorkQueue,
@@ -130,7 +130,7 @@ import {
130
130
  import {
131
131
  validatePluginEgressCredentialHooks,
132
132
  validatePluginRegistrations
133
- } from "./chunk-EHE45OBY.js";
133
+ } from "./chunk-4ALVTB7F.js";
134
134
  import {
135
135
  defineJuniorPlugins,
136
136
  pluginCatalogConfigFromEnv,
@@ -165,11 +165,11 @@ import {
165
165
  shouldEmitDevAgentTrace,
166
166
  shouldPropagateSandboxEgressTrace,
167
167
  unpublishedArtifactHeaders
168
- } from "./chunk-KUZQEAZB.js";
168
+ } from "./chunk-GX2ISGLH.js";
169
169
  import {
170
170
  AuthorizationFlowDisabledError,
171
171
  PluginCredentialFailureError
172
- } from "./chunk-MAE6RNYQ.js";
172
+ } from "./chunk-W6HVH5JJ.js";
173
173
  import "./chunk-DIB4GX3G.js";
174
174
  import {
175
175
  createAgentRunner,
@@ -177,7 +177,7 @@ import {
177
177
  deleteMcpAuthSessionsForUserProvider,
178
178
  deleteMcpServerSessionId,
179
179
  deleteMcpStoredOAuthCredentials
180
- } from "./chunk-NMUEJHPW.js";
180
+ } from "./chunk-7V25DLCB.js";
181
181
  import {
182
182
  RetryableDeliveryError
183
183
  } from "./chunk-RF6J3DIO.js";
@@ -185,7 +185,7 @@ import {
185
185
  formatProviderLabel,
186
186
  postSlackMessage,
187
187
  startOAuthFlow
188
- } from "./chunk-FAMC3HC7.js";
188
+ } from "./chunk-DIW6IQYK.js";
189
189
  import "./chunk-6ZWRNC4D.js";
190
190
  import {
191
191
  getExperimentalFeatures,
@@ -199,10 +199,10 @@ import {
199
199
  logScheduledTaskRunSkipped,
200
200
  requestAttachmentDeletion,
201
201
  scheduledTaskRunAttributes
202
- } from "./chunk-VEZ4VIJX.js";
202
+ } from "./chunk-OTAPFODZ.js";
203
203
  import {
204
204
  parseSlackThreadId
205
- } from "./chunk-6PHOLDQI.js";
205
+ } from "./chunk-5EWBGDW2.js";
206
206
  import {
207
207
  ConversationTurnBoundaryError,
208
208
  CooperativeTurnYieldError,
@@ -254,12 +254,12 @@ import {
254
254
  trimTrailingAssistantMessages,
255
255
  turnHasReply,
256
256
  upsertConversationMessage
257
- } from "./chunk-FMM3B64Q.js";
257
+ } from "./chunk-2BNKQSPC.js";
258
258
  import "./chunk-3Y47VMHV.js";
259
259
  import {
260
260
  getSandboxResourceConfig,
261
261
  setSandboxResourceConfig
262
- } from "./chunk-A3U4JTWA.js";
262
+ } from "./chunk-BFNNCBTK.js";
263
263
  import "./chunk-PDO5BLNM.js";
264
264
  import "./chunk-UIE3R5XU.js";
265
265
  import {
@@ -287,7 +287,7 @@ import {
287
287
  verifyEventTaskCredentialSubject,
288
288
  verifyScheduledTaskCredentialSubject,
289
289
  verifySlackDirectCredentialSubject
290
- } from "./chunk-D3XNZ5GJ.js";
290
+ } from "./chunk-BLBKORDG.js";
291
291
  import {
292
292
  contextProvenance,
293
293
  createSlackDestination,
@@ -300,21 +300,21 @@ import {
300
300
  requireSlackDestination,
301
301
  withConversationEventLock,
302
302
  withConversationMutationLock
303
- } from "./chunk-UDSVV7MC.js";
303
+ } from "./chunk-JVORBSUR.js";
304
304
  import {
305
305
  juniorAgentBindings,
306
306
  juniorAgentInvocations,
307
307
  juniorConversationEvents,
308
308
  juniorConversations
309
- } from "./chunk-C4I6OV7U.js";
309
+ } from "./chunk-VZFLAGFK.js";
310
310
  import {
311
311
  sleep
312
- } from "./chunk-WVFTUTAK.js";
312
+ } from "./chunk-XOXKL2DL.js";
313
313
  import {
314
314
  acquireActiveLock,
315
315
  getStateAdapter,
316
316
  withActiveLock
317
- } from "./chunk-TZIZCB6V.js";
317
+ } from "./chunk-HJFWO72I.js";
318
318
  import {
319
319
  STANDARD_MODEL_PROFILE,
320
320
  botConfig,
@@ -332,16 +332,16 @@ import {
332
332
  modelIdForProfile,
333
333
  setSlackReactionConfig,
334
334
  standardModelId
335
- } from "./chunk-FWM663LY.js";
335
+ } from "./chunk-OXYAEFKS.js";
336
336
  import {
337
337
  juniorDestinations
338
338
  } from "./chunk-VFUK3X5B.js";
339
- import "./chunk-KSQ2BFUK.js";
340
- import "./chunk-HWLN37DJ.js";
339
+ import "./chunk-FFUNPZA2.js";
340
+ import "./chunk-GWZBBIV6.js";
341
341
  import {
342
342
  pluginCatalogRuntime
343
- } from "./chunk-7PNMY4NE.js";
344
- import "./chunk-54LKZSAW.js";
343
+ } from "./chunk-RL23S5DG.js";
344
+ import "./chunk-IYI7RPHU.js";
345
345
  import {
346
346
  credentialContextForActor
347
347
  } from "./chunk-CGA4ERJ5.js";
@@ -373,7 +373,7 @@ import {
373
373
  withContext,
374
374
  withLogContext,
375
375
  withSpan
376
- } from "./chunk-A7TBEENH.js";
376
+ } from "./chunk-Z23POK2V.js";
377
377
  import {
378
378
  continueTrace
379
379
  } from "./chunk-6GWA276C.js";
@@ -381,10 +381,10 @@ import "./chunk-OOUNJNMR.js";
381
381
  import "./chunk-H4HBKISO.js";
382
382
  import {
383
383
  JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE
384
- } from "./chunk-2XUT3VLE.js";
384
+ } from "./chunk-DRRUFZKZ.js";
385
385
  import {
386
386
  JUNIOR_VERSION
387
- } from "./chunk-SZ6HE45O.js";
387
+ } from "./chunk-2E353AHN.js";
388
388
  import "./chunk-MLKGABMK.js";
389
389
 
390
390
  // src/app.ts
@@ -1,15 +1,15 @@
1
1
  import {
2
2
  pluginCatalogRuntime
3
- } from "./chunk-7PNMY4NE.js";
4
- import "./chunk-54LKZSAW.js";
3
+ } from "./chunk-RL23S5DG.js";
4
+ import "./chunk-IYI7RPHU.js";
5
5
  import "./chunk-CGA4ERJ5.js";
6
6
  import "./chunk-M63DETLL.js";
7
- import "./chunk-A7TBEENH.js";
7
+ import "./chunk-Z23POK2V.js";
8
8
  import "./chunk-6GWA276C.js";
9
9
  import "./chunk-OOUNJNMR.js";
10
10
  import "./chunk-H4HBKISO.js";
11
- import "./chunk-2XUT3VLE.js";
12
- import "./chunk-SZ6HE45O.js";
11
+ import "./chunk-DRRUFZKZ.js";
12
+ import "./chunk-2E353AHN.js";
13
13
  import "./chunk-MLKGABMK.js";
14
14
  export {
15
15
  pluginCatalogRuntime
@@ -13,25 +13,25 @@ import {
13
13
  instructionProvenanceFor,
14
14
  sanitizePostgresJson,
15
15
  withConversationEventLock
16
- } from "./chunk-UDSVV7MC.js";
16
+ } from "./chunk-JVORBSUR.js";
17
17
  import {
18
18
  SANDBOX_REPOS_ROOT,
19
19
  SANDBOX_WORKSPACE_ROOT,
20
20
  sleep
21
- } from "./chunk-WVFTUTAK.js";
21
+ } from "./chunk-XOXKL2DL.js";
22
22
  import {
23
23
  MUTATION_LOCK_TTL_MS,
24
24
  fenceLock,
25
25
  getStateAdapter,
26
26
  withLock
27
- } from "./chunk-TZIZCB6V.js";
27
+ } from "./chunk-HJFWO72I.js";
28
28
  import {
29
29
  botConfig,
30
30
  completeText,
31
31
  escapeXml,
32
32
  resolveGatewayModel,
33
33
  unwrapCurrentInstruction
34
- } from "./chunk-FWM663LY.js";
34
+ } from "./chunk-OXYAEFKS.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-A7TBEENH.js";
44
+ } from "./chunk-Z23POK2V.js";
45
45
 
46
46
  // src/chat/turn-context-tag.ts
47
47
  var TURN_CONTEXT_TAG = "runtime-turn-context";
@@ -1,7 +1,7 @@
1
1
  // package.json
2
2
  var package_default = {
3
3
  name: "@sentry/junior",
4
- version: "0.173.0",
4
+ version: "0.174.0",
5
5
  private: false,
6
6
  publishConfig: {
7
7
  access: "public"
@@ -1,10 +1,10 @@
1
1
  import {
2
2
  createWebAuthorization,
3
3
  deleteWebAuthorization
4
- } from "./chunk-NDJ5XLSR.js";
4
+ } from "./chunk-6FWEUJGH.js";
5
5
  import {
6
6
  appendAndEnqueueInboundMessage
7
- } from "./chunk-33SJGQG6.js";
7
+ } from "./chunk-N7Y3T47I.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-OWJJB5DQ.js";
15
+ } from "./chunk-T5VGNZ7F.js";
16
16
  import {
17
17
  ConversationTurnLifecycleService,
18
18
  coerceThreadConversationState,
19
19
  getPersistedSandboxState,
20
20
  getPersistedThreadState,
21
21
  persistThreadStateById
22
- } from "./chunk-3J7WUHKY.js";
22
+ } from "./chunk-WEL4NWRR.js";
23
23
  import {
24
24
  healthReportSchema
25
25
  } from "./chunk-UTL3MHPC.js";
26
26
  import {
27
27
  parseSlackThreadId
28
- } from "./chunk-6PHOLDQI.js";
28
+ } from "./chunk-5EWBGDW2.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-FMM3B64Q.js";
52
+ } from "./chunk-2BNKQSPC.js";
53
53
  import {
54
54
  normalizeSlackConversationId
55
- } from "./chunk-D3XNZ5GJ.js";
55
+ } from "./chunk-BLBKORDG.js";
56
56
  import {
57
57
  getConversationEventStore,
58
58
  getConversationStore,
59
59
  getDb
60
- } from "./chunk-UDSVV7MC.js";
60
+ } from "./chunk-JVORBSUR.js";
61
61
  import {
62
62
  juniorApiTokens,
63
63
  juniorConversationParticipants,
64
64
  juniorConversations,
65
65
  juniorIdentities,
66
66
  juniorUsers
67
- } from "./chunk-C4I6OV7U.js";
67
+ } from "./chunk-VZFLAGFK.js";
68
68
  import {
69
69
  getSlackBotToken
70
- } from "./chunk-FWM663LY.js";
70
+ } from "./chunk-OXYAEFKS.js";
71
71
  import {
72
72
  juniorDestinations
73
73
  } from "./chunk-VFUK3X5B.js";
74
74
  import {
75
75
  canExposeConversationPayload
76
- } from "./chunk-KSQ2BFUK.js";
76
+ } from "./chunk-FFUNPZA2.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-A7TBEENH.js";
85
+ } from "./chunk-Z23POK2V.js";
86
86
 
87
87
  // src/handlers/health.ts
88
88
  function readHealthReport() {
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  pluginCatalogRuntime
3
- } from "./chunk-7PNMY4NE.js";
3
+ } from "./chunk-RL23S5DG.js";
4
4
 
5
5
  // src/chat/plugins/validation.ts
6
6
  import { isDeepStrictEqual } from "util";