@sentry/junior 0.153.0 → 0.155.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 (83) hide show
  1. package/dist/{agent-hooks-7BWOB7SN.js → agent-hooks-AWVTLAV2.js} +11 -12
  2. package/dist/api/conversations/list.d.ts +5 -3
  3. package/dist/api/conversations/membership.d.ts +16 -0
  4. package/dist/api/locations/detail.d.ts +1 -0
  5. package/dist/api/schema/conversation.d.ts +3 -0
  6. package/dist/api/schema/location.d.ts +1 -0
  7. package/dist/api/schema/person.d.ts +1 -0
  8. package/dist/api/schema.js +1 -1
  9. package/dist/api.js +318 -187
  10. package/dist/app.js +39 -39
  11. package/dist/catalog-runtime-V6YD6KH5.js +16 -0
  12. package/dist/chat/conversations/sql/event-actor.d.ts +14 -0
  13. package/dist/chat/conversations/sql/event-lock.d.ts +1 -1
  14. package/dist/chat/conversations/sql/participants.d.ts +17 -0
  15. package/dist/chat/plugins/unfinished-work.d.ts +2 -0
  16. package/dist/chat/runtime/agent-runner.d.ts +2 -0
  17. package/dist/chat/runtime/slack-resume.d.ts +1 -1
  18. package/dist/chat/state/conversation.d.ts +1 -0
  19. package/dist/{chunk-O2YXWWPM.js → chunk-2AHVM3HK.js} +92 -9
  20. package/dist/{chunk-VXWTGOLW.js → chunk-2WLJDM23.js} +1 -1
  21. package/dist/{chunk-4TWLKHOM.js → chunk-37G5HJ2X.js} +4 -4
  22. package/dist/{chunk-ISEROVYZ.js → chunk-4K5N6HTX.js} +5 -5
  23. package/dist/{chunk-ET54Q4TD.js → chunk-773XC7P4.js} +116 -82
  24. package/dist/{chunk-HUO3UTAQ.js → chunk-7MA4HV4W.js} +1 -1
  25. package/dist/{chunk-HMU2QP5M.js → chunk-7NYEB2TM.js} +1 -1
  26. package/dist/{chunk-URFV5RWN.js → chunk-AENPRXCG.js} +23 -56
  27. package/dist/{chunk-TIV3PX5H.js → chunk-APHDJYN7.js} +2 -2
  28. package/dist/{chunk-RUIXF3YQ.js → chunk-BDUENQD3.js} +1 -1
  29. package/dist/{chunk-5TXDKTET.js → chunk-CPQBTTI6.js} +7 -7
  30. package/dist/{chunk-A5SROS6H.js → chunk-ELOTIL5F.js} +5 -5
  31. package/dist/{chunk-JJAMURMR.js → chunk-EORR34UB.js} +1 -1
  32. package/dist/{chunk-5QBK3QHJ.js → chunk-J2SYI36O.js} +6 -8
  33. package/dist/{chunk-K4LK6KYO.js → chunk-J7MWZFFP.js} +4 -4
  34. package/dist/{chunk-COC65LIW.js → chunk-JFZBGFNX.js} +3 -1
  35. package/dist/{chunk-YECBSG77.js → chunk-JIC33O5L.js} +2 -2
  36. package/dist/{chunk-XAYXN4EG.js → chunk-JJX77MB7.js} +366 -138
  37. package/dist/{chunk-FLEY546A.js → chunk-KBT2I5ER.js} +7 -7
  38. package/dist/{chunk-37LMRT7G.js → chunk-KTVHAHUV.js} +1 -1
  39. package/dist/{chunk-PMJAY6JS.js → chunk-LQT3SWFA.js} +5 -5
  40. package/dist/{chunk-HYEAR6HL.js → chunk-MLBH7J7J.js} +1 -1
  41. package/dist/{chunk-5DMPHA4V.js → chunk-NKFRRZIT.js} +27 -37
  42. package/dist/{chunk-HOK7MEWG.js → chunk-NWSKFYOH.js} +1 -1
  43. package/dist/{chunk-JY2HJYJT.js → chunk-RN3AWYEP.js} +2 -2
  44. package/dist/{chunk-RKW5QGGN.js → chunk-RQ62VKM7.js} +1 -1
  45. package/dist/{chunk-XQPKMLRI.js → chunk-SDRJ2LE3.js} +1 -1
  46. package/dist/{chunk-JAJVUQV7.js → chunk-TKJ7277U.js} +3 -3
  47. package/dist/{chunk-EPOA52SD.js → chunk-TVXAN43I.js} +1 -1
  48. package/dist/{chunk-2NS3ACHB.js → chunk-UWTXAYBP.js} +11 -11
  49. package/dist/{chunk-2J4VCHRX.js → chunk-V57LZDHN.js} +8 -10
  50. package/dist/{chunk-HZF5P5UN.js → chunk-V7YE4WCP.js} +58 -7
  51. package/dist/{chunk-PGJBNO3I.js → chunk-XFZLQANQ.js} +2 -2
  52. package/dist/{chunk-5XBRH3N7.js → chunk-Y6MVGU7L.js} +12 -11
  53. package/dist/{chunk-WTKAALLV.js → chunk-Y7ZUBP2K.js} +6 -6
  54. package/dist/{chunk-UG5UCHHJ.js → chunk-ZLSFOSDK.js} +2 -1
  55. package/dist/cli/chat.js +36 -36
  56. package/dist/cli/check.js +8 -9
  57. package/dist/cli/init.js +41 -7
  58. package/dist/cli/plugins.js +15 -16
  59. package/dist/cli/snapshot-create.js +11 -12
  60. package/dist/cli/upgrade.js +9 -10
  61. package/dist/db/schema/conversation-events.d.ts +20 -0
  62. package/dist/db/schema/conversation-participants.d.ts +63 -0
  63. package/dist/db/schema.d.ts +77 -1
  64. package/dist/{db-QNQM5YRR.js → db-WT7P56AH.js} +8 -8
  65. package/dist/instrumentation.js +4 -4
  66. package/dist/nitro.js +2 -2
  67. package/dist/{oauth-callback-server-ERQPIR27.js → oauth-callback-server-R2PK2MCA.js} +26 -26
  68. package/dist/{runner-BX46SQIE.js → runner-O7YYUIHT.js} +15 -16
  69. package/dist/{sandbox-egress-signals-EKPAVWQL.js → sandbox-egress-signals-U3ZX7C5W.js} +3 -4
  70. package/dist/{skills-JL44EIRX.js → skills-S6HLQRH7.js} +8 -9
  71. package/dist/spawn-B4SBFFA2.js +37 -0
  72. package/dist/{validation-UU2AIJIY.js → validation-46WD2OAR.js} +8 -9
  73. package/dist/version.js +1 -1
  74. package/dist/{work-SS7RU5CH.js → work-YT5QUBS3.js} +20 -21
  75. package/dist/worker-4C5BEDWN.js +24 -0
  76. package/migrations/0026_conversation_event_actor_and_participants.sql +140 -0
  77. package/migrations/meta/0026_snapshot.json +2424 -0
  78. package/migrations/meta/_journal.json +7 -0
  79. package/package.json +8 -6
  80. package/dist/catalog-runtime-CGUDNL3D.js +0 -17
  81. package/dist/chunk-F3B2YJ76.js +0 -57
  82. package/dist/spawn-W6FO32T4.js +0 -38
  83. package/dist/worker-5P2E7LVI.js +0 -25
@@ -183,6 +183,13 @@
183
183
  "when": 1786477029866,
184
184
  "tag": "0025_mcp_credential_subject",
185
185
  "breakpoints": true
186
+ },
187
+ {
188
+ "idx": 26,
189
+ "version": "7",
190
+ "when": 1786505364250,
191
+ "tag": "0026_conversation_event_actor_and_participants",
192
+ "breakpoints": true
186
193
  }
187
194
  ]
188
195
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior",
3
- "version": "0.153.0",
3
+ "version": "0.155.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -56,12 +56,14 @@
56
56
  "@chat-adapter/slack": "4.29.0",
57
57
  "@chat-adapter/state-memory": "4.29.0",
58
58
  "@chat-adapter/state-redis": "4.29.0",
59
- "@earendil-works/pi-agent-core": "0.82.1",
60
- "@earendil-works/pi-ai": "0.82.1",
59
+ "@earendil-works/pi-agent-core": "0.84.1",
60
+ "@earendil-works/pi-ai": "0.84.1",
61
61
  "@hono/zod-validator": "^0.9.0",
62
62
  "@logtape/logtape": "^2.1.1",
63
63
  "@modelcontextprotocol/sdk": "1.29.0",
64
64
  "@neondatabase/serverless": "^1.1.0",
65
+ "@opentelemetry/api": "1.9.1",
66
+ "@opentelemetry/core": "2.9.0",
65
67
  "@sentry/node": "10.65.0",
66
68
  "@sinclair/typebox": "^0.34.49",
67
69
  "@slack/web-api": "^7.16.0",
@@ -81,7 +83,7 @@
81
83
  "pg": "^8.16.3",
82
84
  "yaml": "^2.9.0",
83
85
  "zod": "^4.4.3",
84
- "@sentry/junior-plugin-api": "0.153.0"
86
+ "@sentry/junior-plugin-api": "0.155.0"
85
87
  },
86
88
  "devDependencies": {
87
89
  "@emnapi/core": "^1.10.0",
@@ -98,8 +100,8 @@
98
100
  "typescript": "^6.0.3",
99
101
  "vercel": "^54.4.0",
100
102
  "vitest": "^4.1.7",
101
- "@sentry/junior-github": "0.153.0",
102
- "@sentry/junior-memory": "0.153.0",
103
+ "@sentry/junior-memory": "0.155.0",
104
+ "@sentry/junior-github": "0.155.0",
103
105
  "@sentry/junior-testing": "0.0.0"
104
106
  },
105
107
  "scripts": {
@@ -1,17 +0,0 @@
1
- import {
2
- pluginCatalogRuntime
3
- } from "./chunk-EPOA52SD.js";
4
- import "./chunk-JY2HJYJT.js";
5
- import "./chunk-RUIXF3YQ.js";
6
- import "./chunk-HZF5P5UN.js";
7
- import "./chunk-F3B2YJ76.js";
8
- import "./chunk-HMU2QP5M.js";
9
- import "./chunk-6GWA276C.js";
10
- import "./chunk-OOUNJNMR.js";
11
- import "./chunk-H4HBKISO.js";
12
- import "./chunk-JJAMURMR.js";
13
- import "./chunk-COC65LIW.js";
14
- import "./chunk-MLKGABMK.js";
15
- export {
16
- pluginCatalogRuntime
17
- };
@@ -1,57 +0,0 @@
1
- // src/chat/slack/timestamp.ts
2
- import { z } from "zod";
3
- var slackMessageTsSchema = z.string().trim().regex(/^\d+(?:\.\d+)?$/).brand();
4
- function parseSlackMessageTs(value) {
5
- const parsed = slackMessageTsSchema.safeParse(value);
6
- return parsed.success ? parsed.data : void 0;
7
- }
8
-
9
- // src/chat/slack/ids.ts
10
- import { z as z2 } from "zod";
11
- var slackChannelIdSchema = z2.string().regex(/^[CDG][A-Z0-9]+$/).brand();
12
- var slackTeamIdSchema = z2.string().regex(/^T[A-Z0-9]+$/).brand();
13
- var slackUserIdSchema = z2.string().regex(/^[UW][A-Z0-9]+$/).brand();
14
- function slackChannelReferenceCandidate(value) {
15
- const trimmed = value.trim();
16
- if (!trimmed.startsWith("slack:")) {
17
- return trimmed;
18
- }
19
- const parts = trimmed.split(":");
20
- if (parts.length === 2) {
21
- return parts[1]?.trim() ?? "";
22
- }
23
- if (parts.length === 3 && parseSlackMessageTs(parts[2])) {
24
- return parts[1]?.trim() ?? "";
25
- }
26
- return "";
27
- }
28
- function parseSlackChannelId(value) {
29
- if (typeof value !== "string") return void 0;
30
- const parsed = slackChannelIdSchema.safeParse(value.trim());
31
- return parsed.success ? parsed.data : void 0;
32
- }
33
- function parseSlackChannelReferenceId(value) {
34
- if (typeof value !== "string") return void 0;
35
- const parsed = slackChannelIdSchema.safeParse(
36
- slackChannelReferenceCandidate(value)
37
- );
38
- return parsed.success ? parsed.data : void 0;
39
- }
40
- function parseSlackTeamId(value) {
41
- if (typeof value !== "string") return void 0;
42
- const parsed = slackTeamIdSchema.safeParse(value.trim());
43
- return parsed.success ? parsed.data : void 0;
44
- }
45
- function parseSlackUserId(value) {
46
- if (typeof value !== "string") return void 0;
47
- const parsed = slackUserIdSchema.safeParse(value.trim());
48
- return parsed.success ? parsed.data : void 0;
49
- }
50
-
51
- export {
52
- parseSlackMessageTs,
53
- parseSlackChannelId,
54
- parseSlackChannelReferenceId,
55
- parseSlackTeamId,
56
- parseSlackUserId
57
- };
@@ -1,38 +0,0 @@
1
- import {
2
- bindSpawnAgent
3
- } from "./chunk-RKW5QGGN.js";
4
- import "./chunk-WTKAALLV.js";
5
- import "./chunk-A5SROS6H.js";
6
- import "./chunk-ISEROVYZ.js";
7
- import "./chunk-JAL3CH4G.js";
8
- import "./chunk-5TXDKTET.js";
9
- import "./chunk-DIB4GX3G.js";
10
- import "./chunk-RF6J3DIO.js";
11
- import "./chunk-FLEY546A.js";
12
- import "./chunk-HUO3UTAQ.js";
13
- import "./chunk-5QBK3QHJ.js";
14
- import "./chunk-3Y47VMHV.js";
15
- import "./chunk-PDO5BLNM.js";
16
- import "./chunk-JAJVUQV7.js";
17
- import "./chunk-XAYXN4EG.js";
18
- import "./chunk-ET54Q4TD.js";
19
- import "./chunk-EM225ITJ.js";
20
- import "./chunk-XQPKMLRI.js";
21
- import "./chunk-PGJBNO3I.js";
22
- import "./chunk-VFUK3X5B.js";
23
- import "./chunk-VXWTGOLW.js";
24
- import "./chunk-EPOA52SD.js";
25
- import "./chunk-JY2HJYJT.js";
26
- import "./chunk-RUIXF3YQ.js";
27
- import "./chunk-HZF5P5UN.js";
28
- import "./chunk-F3B2YJ76.js";
29
- import "./chunk-HMU2QP5M.js";
30
- import "./chunk-6GWA276C.js";
31
- import "./chunk-OOUNJNMR.js";
32
- import "./chunk-H4HBKISO.js";
33
- import "./chunk-JJAMURMR.js";
34
- import "./chunk-COC65LIW.js";
35
- import "./chunk-MLKGABMK.js";
36
- export {
37
- bindSpawnAgent
38
- };
@@ -1,25 +0,0 @@
1
- import {
2
- CONVERSATION_WORK_DEFER_DELAY_MS,
3
- processConversationWork
4
- } from "./chunk-K4LK6KYO.js";
5
- import "./chunk-HOK7MEWG.js";
6
- import "./chunk-A5SROS6H.js";
7
- import "./chunk-JAL3CH4G.js";
8
- import "./chunk-3Y47VMHV.js";
9
- import "./chunk-XAYXN4EG.js";
10
- import "./chunk-ET54Q4TD.js";
11
- import "./chunk-XQPKMLRI.js";
12
- import "./chunk-PGJBNO3I.js";
13
- import "./chunk-VFUK3X5B.js";
14
- import "./chunk-VXWTGOLW.js";
15
- import "./chunk-HZF5P5UN.js";
16
- import "./chunk-F3B2YJ76.js";
17
- import "./chunk-HMU2QP5M.js";
18
- import "./chunk-6GWA276C.js";
19
- import "./chunk-JJAMURMR.js";
20
- import "./chunk-COC65LIW.js";
21
- import "./chunk-MLKGABMK.js";
22
- export {
23
- CONVERSATION_WORK_DEFER_DELAY_MS,
24
- processConversationWork
25
- };