@sentry/junior 0.149.0 → 0.150.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 (68) hide show
  1. package/dist/{agent-hooks-CWMCXAMT.js → agent-hooks-G4LEACQB.js} +10 -10
  2. package/dist/api.d.ts +1 -1
  3. package/dist/api.js +25 -23
  4. package/dist/app.js +92 -85
  5. package/dist/{catalog-runtime-GAW5APVI.js → catalog-runtime-ZRSNE2MH.js} +5 -5
  6. package/dist/chat/agent/index.d.ts +5 -4
  7. package/dist/chat/agent/prompt.d.ts +8 -5
  8. package/dist/chat/agent/resume.d.ts +2 -2
  9. package/dist/chat/agent/tools.d.ts +4 -7
  10. package/dist/chat/agent/{request.d.ts → types.d.ts} +138 -129
  11. package/dist/chat/agent-dispatch/types.d.ts +2 -2
  12. package/dist/chat/agent-invocations/spawn.d.ts +2 -2
  13. package/dist/chat/plugins/viewer.d.ts +4 -0
  14. package/dist/chat/runtime/agent-runner.d.ts +7 -5
  15. package/dist/chat/runtime/slack-resume.d.ts +3 -3
  16. package/dist/chat/task-execution/paused-turn.d.ts +2 -2
  17. package/dist/chat/tools/types.d.ts +1 -1
  18. package/dist/{chunk-EW2LNCRL.js → chunk-2AWDPNP7.js} +4 -4
  19. package/dist/{chunk-X22XXSZA.js → chunk-2DIRU2C2.js} +1 -1
  20. package/dist/{chunk-5CWUQXXT.js → chunk-2Z7YX5PI.js} +20 -24
  21. package/dist/{chunk-RLVZIWNQ.js → chunk-3WIFZBJL.js} +1 -1
  22. package/dist/{chunk-MEMURSBG.js → chunk-4JV7GUUH.js} +1 -1
  23. package/dist/{chunk-3KGQOKIG.js → chunk-5NOHC2Z4.js} +1 -1
  24. package/dist/{chunk-2P6BQQER.js → chunk-6A24WEKX.js} +4 -4
  25. package/dist/{chunk-6G5RCDKP.js → chunk-6IWDFUXW.js} +1 -1
  26. package/dist/{chunk-4JGM7FXO.js → chunk-6ZYGORV4.js} +2 -2
  27. package/dist/{chunk-URDCZAL4.js → chunk-AD6N2KNE.js} +5 -5
  28. package/dist/{chunk-25SC7D6Z.js → chunk-B2YA2G26.js} +1 -1
  29. package/dist/{chunk-SWHPVZBV.js → chunk-D2PVJU5E.js} +2 -2
  30. package/dist/{chunk-32CXPIZE.js → chunk-FGP5W3NS.js} +2 -2
  31. package/dist/{chunk-3GYZ5YEH.js → chunk-GZ25ZSTX.js} +3 -3
  32. package/dist/{chunk-DK5UT6PQ.js → chunk-IQW6RFXG.js} +185 -126
  33. package/dist/{chunk-XPYWWMHR.js → chunk-IZE2EGCX.js} +5 -5
  34. package/dist/{chunk-4YKPOYRV.js → chunk-JBYWR6FW.js} +5 -5
  35. package/dist/{chunk-ZYMYLLWG.js → chunk-JUBPTYNO.js} +1 -1
  36. package/dist/{chunk-JMSMXXED.js → chunk-JVOLC6JZ.js} +4 -4
  37. package/dist/{chunk-3I2IVWSZ.js → chunk-KFHJQYKQ.js} +1 -1
  38. package/dist/{chunk-TFBNBXPU.js → chunk-LSI3EKZQ.js} +4 -4
  39. package/dist/{chunk-RB26T3LU.js → chunk-LWFHRWJI.js} +8 -8
  40. package/dist/{chunk-UZGASGOD.js → chunk-N6QJAPZS.js} +9 -9
  41. package/dist/{chunk-QIW7OQEO.js → chunk-OWLJZ6I7.js} +1 -1
  42. package/dist/{chunk-7BH46NB4.js → chunk-QNSV46AW.js} +15 -6
  43. package/dist/{chunk-ALJG73MQ.js → chunk-QO3OSJDS.js} +12 -12
  44. package/dist/{chunk-75DSYFFB.js → chunk-QZGYKKH6.js} +100 -107
  45. package/dist/{chunk-EXW76GW4.js → chunk-R53UTQ2Q.js} +1 -1
  46. package/dist/{chunk-GDFF3BQG.js → chunk-RF6J3DIO.js} +34 -36
  47. package/dist/{chunk-JMH3DBM5.js → chunk-SZ74ECCC.js} +6 -6
  48. package/dist/{chunk-2JHKISQA.js → chunk-TZRYLW3R.js} +1 -1
  49. package/dist/{chunk-W7UONUIZ.js → chunk-W3FQZAX5.js} +22 -26
  50. package/dist/{chunk-ART7P442.js → chunk-XED3H34M.js} +3 -3
  51. package/dist/cli/chat.js +31 -31
  52. package/dist/cli/check.js +6 -6
  53. package/dist/cli/plugins.js +13 -13
  54. package/dist/cli/snapshot-create.js +9 -9
  55. package/dist/cli/upgrade.js +7 -7
  56. package/dist/{db-JBZLRIVY.js → db-WRA5ZHYE.js} +7 -7
  57. package/dist/instrumentation.js +4 -4
  58. package/dist/nitro.js +2 -2
  59. package/dist/{oauth-callback-server-MNTVYY2I.js → oauth-callback-server-QWAYG3MI.js} +24 -24
  60. package/dist/{runner-K24BWZSZ.js → runner-5JQ54J6P.js} +40 -37
  61. package/dist/{skills-AU5ST2CG.js → skills-3YD55WPO.js} +6 -6
  62. package/dist/spawn-OOO26XDL.js +38 -0
  63. package/dist/{validation-IXGZCFRO.js → validation-ZXE3IRSB.js} +6 -6
  64. package/dist/version.js +1 -1
  65. package/dist/{work-WCZIYILX.js → work-7G2U64WI.js} +17 -17
  66. package/dist/{worker-U2AACBEY.js → worker-HJM2FZNI.js} +11 -11
  67. package/package.json +5 -5
  68. package/dist/spawn-6PO7CVJ6.js +0 -38
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  logWarn
3
- } from "./chunk-RLVZIWNQ.js";
3
+ } from "./chunk-3WIFZBJL.js";
4
4
 
5
5
  // src/chat/conversation-privacy.ts
6
6
  import { AsyncLocalStorage } from "async_hooks";
@@ -4,18 +4,18 @@ import {
4
4
  } from "./chunk-EM225ITJ.js";
5
5
  import {
6
6
  getStateAdapter
7
- } from "./chunk-25SC7D6Z.js";
7
+ } from "./chunk-B2YA2G26.js";
8
8
  import {
9
9
  toOptionalTrimmed
10
- } from "./chunk-32CXPIZE.js";
10
+ } from "./chunk-FGP5W3NS.js";
11
11
  import {
12
12
  pluginCatalogRuntime
13
- } from "./chunk-X22XXSZA.js";
13
+ } from "./chunk-2DIRU2C2.js";
14
14
  import {
15
15
  setSpanAttributes,
16
16
  setSpanStatus,
17
17
  withSpan
18
- } from "./chunk-RLVZIWNQ.js";
18
+ } from "./chunk-3WIFZBJL.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-ZYMYLLWG.js";
3
+ } from "./chunk-JUBPTYNO.js";
4
4
 
5
5
  // src/deployment.ts
6
6
  var JUNIOR_HEARTBEAT_ROUTE = "/api/internal/heartbeat";
@@ -1,9 +1,9 @@
1
1
  import {
2
2
  pluginCatalogRuntime
3
- } from "./chunk-X22XXSZA.js";
3
+ } from "./chunk-2DIRU2C2.js";
4
4
  import {
5
5
  logWarn
6
- } from "./chunk-RLVZIWNQ.js";
6
+ } from "./chunk-3WIFZBJL.js";
7
7
  import {
8
8
  skillRoots
9
9
  } from "./chunk-H4HBKISO.js";
@@ -1,25 +1,25 @@
1
1
  import {
2
2
  ToolInputError
3
- } from "./chunk-EW2LNCRL.js";
3
+ } from "./chunk-2AWDPNP7.js";
4
4
  import {
5
5
  canRouteResourceEvents,
6
6
  getPlugins
7
- } from "./chunk-7BH46NB4.js";
7
+ } from "./chunk-QNSV46AW.js";
8
8
  import {
9
9
  getDb
10
- } from "./chunk-3GYZ5YEH.js";
10
+ } from "./chunk-GZ25ZSTX.js";
11
11
  import {
12
12
  juniorEventTasks,
13
13
  juniorSchedulerRuns,
14
14
  juniorSchedulerTasks,
15
15
  juniorStats
16
- } from "./chunk-3I2IVWSZ.js";
16
+ } from "./chunk-KFHJQYKQ.js";
17
17
  import {
18
18
  juniorDestinations
19
19
  } from "./chunk-VFUK3X5B.js";
20
20
  import {
21
21
  logInfo
22
- } from "./chunk-RLVZIWNQ.js";
22
+ } from "./chunk-3WIFZBJL.js";
23
23
 
24
24
  // src/chat/event-tasks/store.ts
25
25
  import { and, asc, desc, eq, inArray, or, sql } from "drizzle-orm";
@@ -1,6 +1,6 @@
1
1
  import {
2
2
  getChatConfig
3
- } from "./chunk-32CXPIZE.js";
3
+ } from "./chunk-FGP5W3NS.js";
4
4
 
5
5
  // src/chat/state/adapter.ts
6
6
  import { createMemoryState } from "@chat-adapter/state-memory";
@@ -3,7 +3,7 @@ import {
3
3
  } from "./chunk-EM225ITJ.js";
4
4
  import {
5
5
  getSlackBotToken
6
- } from "./chunk-32CXPIZE.js";
6
+ } from "./chunk-FGP5W3NS.js";
7
7
  import {
8
8
  parseSlackChannelReferenceId
9
9
  } from "./chunk-F3B2YJ76.js";
@@ -12,7 +12,7 @@ import {
12
12
  setSpanAttributes,
13
13
  setSpanStatus,
14
14
  withSpan
15
- } from "./chunk-RLVZIWNQ.js";
15
+ } from "./chunk-3WIFZBJL.js";
16
16
 
17
17
  // src/chat/slack/client.ts
18
18
  import { AsyncLocalStorage as AsyncLocalStorage2 } from "async_hooks";
@@ -3,7 +3,7 @@ import {
3
3
  toCanonicalInputMessage,
4
4
  toCanonicalOutputMessage,
5
5
  toGenAiMessagesTraceAttributes
6
- } from "./chunk-3KGQOKIG.js";
6
+ } from "./chunk-5NOHC2Z4.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-RLVZIWNQ.js";
14
+ } from "./chunk-3WIFZBJL.js";
15
15
 
16
16
  // src/chat/services/provider-error.ts
17
17
  var ProviderError = class extends Error {
@@ -5,12 +5,12 @@ import {
5
5
  juniorConversations,
6
6
  juniorIdentities,
7
7
  juniorUsers
8
- } from "./chunk-3I2IVWSZ.js";
8
+ } from "./chunk-KFHJQYKQ.js";
9
9
  import {
10
10
  TURN_REASONING_LEVELS,
11
11
  getChatConfig,
12
12
  modelProfileSchema
13
- } from "./chunk-32CXPIZE.js";
13
+ } from "./chunk-FGP5W3NS.js";
14
14
  import {
15
15
  juniorDestinations
16
16
  } from "./chunk-VFUK3X5B.js";
@@ -20,7 +20,7 @@ import {
20
20
  } from "./chunk-F3B2YJ76.js";
21
21
  import {
22
22
  normalizeIdentityEmail
23
- } from "./chunk-RLVZIWNQ.js";
23
+ } from "./chunk-3WIFZBJL.js";
24
24
 
25
25
  // src/chat/conversations/sql/store.ts
26
26
  import { randomUUID as randomUUID2 } from "crypto";