@sentry/junior 0.97.1 → 0.98.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 (55) hide show
  1. package/dist/{agent-hooks-XSUIVRQS.js → agent-hooks-OSW6C3CJ.js} +2 -2
  2. package/dist/api/conversations/detail.d.ts +1 -1
  3. package/dist/api/conversations/detail.query.d.ts +1 -1
  4. package/dist/api/conversations/projection.d.ts +0 -1
  5. package/dist/api/conversations/schema.d.ts +31 -8
  6. package/dist/api/people/schema.d.ts +0 -11
  7. package/dist/api/people/shared.d.ts +2 -4
  8. package/dist/api/schema.d.ts +1 -1
  9. package/dist/api/schema.js +2 -2
  10. package/dist/api-reference.d.ts +1 -1
  11. package/dist/api.js +10 -10
  12. package/dist/app.js +39 -28
  13. package/dist/chat/conversations/search.d.ts +24 -0
  14. package/dist/chat/conversations/sql/search.d.ts +4 -0
  15. package/dist/chat/db.d.ts +3 -0
  16. package/dist/chat/runtime/report-progress.d.ts +3 -0
  17. package/dist/chat/runtime/slack-resume.d.ts +2 -0
  18. package/dist/chat/slack/assistant-thread/status-scheduler.d.ts +4 -3
  19. package/dist/chat/slack/outbound.d.ts +6 -0
  20. package/dist/chat/slack/tools/conversation-search.d.ts +71 -0
  21. package/dist/chat/state/turn-session.d.ts +2 -0
  22. package/dist/chat/tool-support/zod-tool.d.ts +1 -1
  23. package/dist/chunk-6DTVCPLO.js +146 -0
  24. package/dist/{chunk-AUUCAFDE.js → chunk-6HHEZENZ.js} +126 -11
  25. package/dist/{chunk-VFH4ZKZT.js → chunk-CRQVIHDI.js} +1 -3
  26. package/dist/{chunk-6U26PYI5.js → chunk-CV22LUIV.js} +7 -17
  27. package/dist/{chunk-GUAP3H7O.js → chunk-DHHU2WSG.js} +2 -2
  28. package/dist/{chunk-XIRPQQVE.js → chunk-DPHWDS6I.js} +297 -171
  29. package/dist/{chunk-T533JLM3.js → chunk-ER45IV77.js} +8 -6
  30. package/dist/{chunk-LUAE4MGW.js → chunk-EUZ44ROE.js} +21 -4
  31. package/dist/{chunk-5HLDPVYS.js → chunk-FTTFV6DC.js} +1 -1
  32. package/dist/{chunk-3F4OPKGF.js → chunk-IO65E4ZD.js} +2 -2
  33. package/dist/{chunk-ON6YKIQ7.js → chunk-KJHAW6VE.js} +4 -10
  34. package/dist/{chunk-FBHZJFHI.js → chunk-NJEDJFK4.js} +1 -1
  35. package/dist/{chunk-35BNLDOJ.js → chunk-OGHXZ4KQ.js} +134 -57
  36. package/dist/{chunk-WJOSZOON.js → chunk-OL6XQ23W.js} +11 -150
  37. package/dist/{chunk-WGXMTFNU.js → chunk-WJ7STXT6.js} +5 -3
  38. package/dist/cli/chat.js +11 -10
  39. package/dist/cli/plugins.js +2 -2
  40. package/dist/cli/upgrade.js +9 -7
  41. package/dist/{db-BWXYIKFQ.js → db-GFSCDAHS.js} +3 -1
  42. package/dist/detail-W4ZSD45K.js +67 -0
  43. package/dist/{legacy-import-3NQJVGQL.js → legacy-import-6WWXMALY.js} +2 -2
  44. package/dist/{list-UXJI5Q5X.js → list-3KZNG3SJ.js} +3 -3
  45. package/dist/{list-A3WFRIYX.js → list-M5BRWW3D.js} +5 -6
  46. package/dist/{plugin-conversations-DDNGC35A.js → plugin-conversations-ZYRWZYEA.js} +2 -2
  47. package/dist/{profile-4RYDXWTF.js → profile-UEIRSVT3.js} +5 -5
  48. package/dist/{runner-JALSYH2P.js → runner-267ZRLZD.js} +8 -7
  49. package/dist/{stats-XKXH3PTY.js → stats-L62E4O4U.js} +7 -17
  50. package/dist/{subagent-TZ55XY37.js → subagent-5HZPQC7V.js} +6 -6
  51. package/migrations/0002_conversation_message_search.sql +1 -0
  52. package/migrations/meta/0002_snapshot.json +987 -0
  53. package/migrations/meta/_journal.json +7 -0
  54. package/package.json +6 -6
  55. package/dist/detail-GA6NXWQJ.js +0 -43
@@ -15,6 +15,13 @@
15
15
  "when": 1783781940092,
16
16
  "tag": "0001_conversation_metrics",
17
17
  "breakpoints": true
18
+ },
19
+ {
20
+ "idx": 2,
21
+ "version": "7",
22
+ "when": 1783870609225,
23
+ "tag": "0002_conversation_message_search",
24
+ "breakpoints": true
18
25
  }
19
26
  ]
20
27
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior",
3
- "version": "0.97.1",
3
+ "version": "0.98.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -75,7 +75,7 @@
75
75
  "pg": "^8.16.3",
76
76
  "yaml": "^2.9.0",
77
77
  "zod": "^4.4.3",
78
- "@sentry/junior-plugin-api": "0.97.1"
78
+ "@sentry/junior-plugin-api": "0.98.0"
79
79
  },
80
80
  "devDependencies": {
81
81
  "@emnapi/core": "^1.10.0",
@@ -92,10 +92,10 @@
92
92
  "typescript": "^6.0.3",
93
93
  "vercel": "^54.4.0",
94
94
  "vitest": "^4.1.7",
95
- "@sentry/junior-scheduler": "0.97.1",
96
- "@sentry/junior-memory": "0.97.1",
97
- "@sentry/junior-github": "0.97.1",
98
- "@sentry/junior-testing": "0.0.0"
95
+ "@sentry/junior-github": "0.98.0",
96
+ "@sentry/junior-memory": "0.98.0",
97
+ "@sentry/junior-testing": "0.0.0",
98
+ "@sentry/junior-scheduler": "0.98.0"
99
99
  },
100
100
  "scripts": {
101
101
  "build": "tsup && tsc -p tsconfig.build.json --emitDeclarationOnly",
@@ -1,43 +0,0 @@
1
- import {
2
- buildConversationDetail
3
- } from "./chunk-AUUCAFDE.js";
4
- import {
5
- readConversationRecordFromSql
6
- } from "./chunk-ON6YKIQ7.js";
7
- import {
8
- conversationDetailReportSchema
9
- } from "./chunk-LUAE4MGW.js";
10
- import "./chunk-LVUKF5CE.js";
11
- import "./chunk-NG2AV7IB.js";
12
- import "./chunk-GUAP3H7O.js";
13
- import "./chunk-3F4OPKGF.js";
14
- import "./chunk-PDO5BLNM.js";
15
- import "./chunk-WTYEKPXU.js";
16
- import "./chunk-35BNLDOJ.js";
17
- import "./chunk-4ZNGQH7C.js";
18
- import "./chunk-EEZCY5WX.js";
19
- import "./chunk-LVA4I4H7.js";
20
- import "./chunk-B7PUBQQM.js";
21
- import "./chunk-I35CTGPO.js";
22
- import "./chunk-OB42YVAE.js";
23
- import "./chunk-6GWA276C.js";
24
- import "./chunk-7FBGKXPE.js";
25
- import "./chunk-MLKGABMK.js";
26
-
27
- // src/api/conversations/detail.query.ts
28
- async function readConversationDetailFromSql(conversationId) {
29
- const record = await readConversationRecordFromSql(conversationId);
30
- return record ? buildConversationDetail({
31
- ...record,
32
- usage: record.usage ?? void 0
33
- }) : void 0;
34
- }
35
-
36
- // src/api/conversations/detail.ts
37
- async function readConversationDetail(conversationId) {
38
- const report = await readConversationDetailFromSql(conversationId);
39
- return report ? conversationDetailReportSchema.parse(report) : void 0;
40
- }
41
- export {
42
- readConversationDetail
43
- };