@sentry/junior 0.160.0 → 0.161.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 (76) hide show
  1. package/dist/{agent-hooks-U6R3O2V4.js → agent-hooks-O75UJNC6.js} +13 -10
  2. package/dist/api/locations/detail.d.ts +17 -0
  3. package/dist/api/people/plugin-reports.d.ts +7 -0
  4. package/dist/api/schema/conversation.d.ts +77 -8
  5. package/dist/api/schema/location.d.ts +29 -0
  6. package/dist/api/schema/person.d.ts +29 -0
  7. package/dist/api/schema.js +1 -1
  8. package/dist/api.js +128 -27
  9. package/dist/app.js +73 -42
  10. package/dist/{catalog-runtime-HIDNHGOP.js → catalog-runtime-Z3FHU4ZY.js} +5 -5
  11. package/dist/chat/artifacts/store.d.ts +42 -0
  12. package/dist/chat/plugins/agent-hooks.d.ts +9 -1
  13. package/dist/chat/plugins/annotations.d.ts +3 -0
  14. package/dist/chat/plugins/conversation-sidebar.d.ts +3 -0
  15. package/dist/chat/plugins/viewer.d.ts +4 -0
  16. package/dist/chat/slack/mrkdwn.d.ts +3 -4
  17. package/dist/chat/tools/publish-image.d.ts +44 -0
  18. package/dist/chat/tools/unpublish-image.d.ts +35 -0
  19. package/dist/{chunk-MBDWMEO6.js → chunk-4WAZ6DGX.js} +10 -10
  20. package/dist/{chunk-FJR66CQT.js → chunk-6ILVZOF6.js} +4 -4
  21. package/dist/{chunk-42E7432W.js → chunk-6WTDZKFR.js} +1 -1
  22. package/dist/{chunk-2SFMRMDV.js → chunk-CGAIDDLD.js} +1 -1
  23. package/dist/{chunk-XPX3DYG7.js → chunk-DGKLYDX7.js} +2 -2
  24. package/dist/{chunk-ZNBGWMVQ.js → chunk-DNSIU27S.js} +1 -1
  25. package/dist/{chunk-TBRJGMTO.js → chunk-EAIQBR66.js} +1 -1
  26. package/dist/{chunk-4UO3UAW7.js → chunk-FLMD25Y5.js} +239 -199
  27. package/dist/{chunk-FKMWPA4A.js → chunk-G35DUPNB.js} +4 -4
  28. package/dist/{chunk-472VVYYV.js → chunk-HSFYTIS2.js} +1 -1
  29. package/dist/{chunk-LNUZXEEI.js → chunk-IRHX2S46.js} +1 -1
  30. package/dist/{chunk-TPFOVXRB.js → chunk-IW7C5C7E.js} +19 -21
  31. package/dist/{chunk-UNDTW2PY.js → chunk-IYFKONIL.js} +1 -1
  32. package/dist/{chunk-U26KRMYX.js → chunk-MNY5M7RB.js} +537 -27
  33. package/dist/{chunk-PZUJPPON.js → chunk-MVG5UPLM.js} +1 -1
  34. package/dist/{chunk-WACYTIIK.js → chunk-O7JTSJPU.js} +6 -6
  35. package/dist/{chunk-URPLKXLG.js → chunk-OPIJ6HY3.js} +9 -9
  36. package/dist/{chunk-756F567I.js → chunk-OY2DBUV4.js} +5 -5
  37. package/dist/{chunk-M5HCOMDR.js → chunk-OYQEO72I.js} +410 -108
  38. package/dist/{chunk-2MK6S2UA.js → chunk-QHXT7LLF.js} +1 -1
  39. package/dist/{chunk-3AHIB66R.js → chunk-QQ7SY5IZ.js} +5 -5
  40. package/dist/{chunk-BGVQGEKB.js → chunk-RULQD7OX.js} +4 -4
  41. package/dist/{chunk-J77DLAPE.js → chunk-RVENVPNO.js} +2 -2
  42. package/dist/{chunk-UYUS4L6F.js → chunk-SA6BEEAB.js} +16 -9
  43. package/dist/{chunk-RLOXMHLA.js → chunk-STZVUVMS.js} +4 -4
  44. package/dist/{chunk-JQZIUESN.js → chunk-U2XOBFDK.js} +3 -3
  45. package/dist/{chunk-PVIM2RWO.js → chunk-V67ORYKQ.js} +8 -10
  46. package/dist/{chunk-P7W3ZL5J.js → chunk-VXFDVY4C.js} +8 -36
  47. package/dist/{chunk-YPMDNE7R.js → chunk-WKN4ZQTZ.js} +1 -1
  48. package/dist/{chunk-HDPH4CHJ.js → chunk-WVSQ2SCS.js} +1 -1
  49. package/dist/{chunk-56TFPTZU.js → chunk-YSWHAOPQ.js} +1 -1
  50. package/dist/{chunk-RJGRXDA7.js → chunk-ZBCLWBMV.js} +5 -5
  51. package/dist/cli/chat.js +29 -30
  52. package/dist/cli/check.js +6 -6
  53. package/dist/cli/plugins.js +12 -13
  54. package/dist/cli/snapshot-create.js +9 -9
  55. package/dist/cli/upgrade.js +7 -7
  56. package/dist/db/schema/artifacts.d.ts +178 -0
  57. package/dist/db/schema.d.ts +179 -1
  58. package/dist/{db-2JKT3BB5.js → db-KKOZRE62.js} +7 -7
  59. package/dist/handlers/artifacts.d.ts +8 -0
  60. package/dist/instrumentation.js +4 -4
  61. package/dist/nitro.js +2 -2
  62. package/dist/{oauth-callback-server-7MC2UMQC.js → oauth-callback-server-5AUZDWXA.js} +22 -23
  63. package/dist/{runner-GUU4G7XO.js → runner-K5H5NDEC.js} +12 -13
  64. package/dist/{skills-7NW5N3VM.js → skills-OZGPB6G4.js} +6 -6
  65. package/dist/spawn-RCQSC2L5.js +37 -0
  66. package/dist/{validation-AQLI6N2C.js → validation-TVHCNCYL.js} +6 -6
  67. package/dist/version.js +1 -1
  68. package/dist/{work-FLFK5XNU.js → work-DXCQMJ5U.js} +17 -17
  69. package/dist/worker-24HZ5HRI.js +24 -0
  70. package/migrations/0028_artifacts.sql +16 -0
  71. package/migrations/meta/0028_snapshot.json +2685 -0
  72. package/migrations/meta/_journal.json +8 -1
  73. package/package.json +4 -4
  74. package/dist/chunk-OUAZDZTZ.js +0 -441
  75. package/dist/spawn-WGK4W3XF.js +0 -37
  76. package/dist/worker-KSJIRBQJ.js +0 -24
@@ -1,12 +1,12 @@
1
1
  import {
2
2
  appendAndEnqueueInboundMessage
3
- } from "./chunk-FKMWPA4A.js";
3
+ } from "./chunk-G35DUPNB.js";
4
4
  import {
5
5
  ConversationTurnLifecycleService,
6
6
  getPersistedSandboxState,
7
7
  getPersistedThreadState,
8
8
  persistThreadStateById
9
- } from "./chunk-3AHIB66R.js";
9
+ } from "./chunk-QQ7SY5IZ.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-756F567I.js";
18
+ } from "./chunk-OY2DBUV4.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-RLOXMHLA.js";
29
+ } from "./chunk-STZVUVMS.js";
30
30
  import {
31
31
  getConversationEventStore,
32
32
  getConversationStore,
33
33
  getSqlExecutor
34
- } from "./chunk-JQZIUESN.js";
34
+ } from "./chunk-U2XOBFDK.js";
35
35
  import {
36
36
  juniorAgentBindings,
37
37
  juniorAgentInvocations
38
- } from "./chunk-4UO3UAW7.js";
38
+ } from "./chunk-FLMD25Y5.js";
39
39
 
40
40
  // src/chat/agent-invocations/work.ts
41
41
  import { z } from "zod";
@@ -2,7 +2,7 @@ import {
2
2
  coerceThreadConversationState,
3
3
  getPersistedThreadState,
4
4
  persistThreadStateById
5
- } from "./chunk-3AHIB66R.js";
5
+ } from "./chunk-QQ7SY5IZ.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-RLOXMHLA.js";
25
+ } from "./chunk-STZVUVMS.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-U26KRMYX.js";
36
+ } from "./chunk-MNY5M7RB.js";
37
37
  import {
38
38
  getConversationStore,
39
39
  getDb,
40
40
  sameActorIdentity
41
- } from "./chunk-JQZIUESN.js";
41
+ } from "./chunk-U2XOBFDK.js";
42
42
  import {
43
43
  juniorConversations,
44
44
  juniorTaskExecutions
45
- } from "./chunk-4UO3UAW7.js";
45
+ } from "./chunk-FLMD25Y5.js";
46
46
  import {
47
47
  getStateAdapter
48
- } from "./chunk-UNDTW2PY.js";
48
+ } from "./chunk-IYFKONIL.js";
49
49
  import {
50
50
  ProviderError,
51
51
  findProviderError,
52
52
  getProviderErrorAttributes,
53
53
  getProviderErrorUserMessage
54
- } from "./chunk-J77DLAPE.js";
54
+ } from "./chunk-RVENVPNO.js";
55
55
  import {
56
56
  credentialSubjectSchema
57
57
  } from "./chunk-BDUENQD3.js";
@@ -61,7 +61,7 @@ import {
61
61
  import {
62
62
  buildTurnFailureResponse,
63
63
  logWarn
64
- } from "./chunk-ZNBGWMVQ.js";
64
+ } from "./chunk-DNSIU27S.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-2JKT3BB5.js")).getConversationStore();
90
+ const conversationStore = args.conversationStore ?? (await import("./db-KKOZRE62.js")).getConversationStore();
91
91
  const conversation = await conversationStore.get({
92
92
  conversationId: args.conversationId
93
93
  });
@@ -4,7 +4,7 @@ import {
4
4
  import {
5
5
  formatProviderLabel,
6
6
  startOAuthFlow
7
- } from "./chunk-P7W3ZL5J.js";
7
+ } from "./chunk-VXFDVY4C.js";
8
8
  import {
9
9
  parseSandboxEgressAuthRequiredSignal
10
10
  } from "./chunk-7MA4HV4W.js";
@@ -12,16 +12,16 @@ import {
12
12
  abandonReplacedPendingAuth,
13
13
  canReusePendingAuthLink,
14
14
  recordAuthorizationRequested
15
- } from "./chunk-RLOXMHLA.js";
15
+ } from "./chunk-STZVUVMS.js";
16
16
  import {
17
17
  AGENT_INVOCATION_MAILBOX_STATUSES
18
- } from "./chunk-4UO3UAW7.js";
18
+ } from "./chunk-FLMD25Y5.js";
19
19
  import {
20
20
  TURN_REASONING_LEVELS
21
- } from "./chunk-J77DLAPE.js";
21
+ } from "./chunk-RVENVPNO.js";
22
22
  import {
23
23
  pluginCatalogRuntime
24
- } from "./chunk-2SFMRMDV.js";
24
+ } from "./chunk-CGAIDDLD.js";
25
25
  import {
26
26
  credentialContextSchema
27
27
  } from "./chunk-BDUENQD3.js";