@sentry/junior 0.125.0 → 0.126.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 (54) hide show
  1. package/dist/{agent-hooks-MF5UZRCO.js → agent-hooks-U5YGLX6Y.js} +8 -9
  2. package/dist/api.js +30 -24
  3. package/dist/app.js +49 -37
  4. package/dist/{catalog-runtime-V6SJTUV7.js → catalog-runtime-OUPLWD7F.js} +5 -6
  5. package/dist/chat/agent/request.d.ts +2 -1
  6. package/dist/chat/agent/resume.d.ts +2 -0
  7. package/dist/chat/agent-dispatch/types.d.ts +2 -1
  8. package/dist/chat/conversation-privacy.d.ts +7 -12
  9. package/dist/chat/conversations/destination-visibility.d.ts +7 -0
  10. package/dist/chat/conversations/store.d.ts +3 -3
  11. package/dist/chat/services/turn-session-record.d.ts +4 -1
  12. package/dist/chat/slack/conversation-context.d.ts +4 -7
  13. package/dist/chat/slack/footer.d.ts +10 -1
  14. package/dist/chat/slack/reply.d.ts +9 -2
  15. package/dist/chat/state/turn-session.d.ts +2 -6
  16. package/dist/{chunk-K6MQWEEJ.js → chunk-7VF3JAVF.js} +11 -13
  17. package/dist/{chunk-2R5MASH3.js → chunk-7ZMY4GCG.js} +1 -1
  18. package/dist/{chunk-XJYGLTYI.js → chunk-F2ARYRKC.js} +1 -1
  19. package/dist/{chunk-LG5TXWXI.js → chunk-GLNB2R42.js} +57 -36
  20. package/dist/{chunk-2U5CLBYF.js → chunk-HXWOZ4HG.js} +1 -1
  21. package/dist/{chunk-NM3PMQS6.js → chunk-JKV244BI.js} +1 -1
  22. package/dist/{chunk-7K57FJXR.js → chunk-KBW6J5GA.js} +13 -11
  23. package/dist/{chunk-JT3YMQR3.js → chunk-OG6E44DH.js} +8 -8
  24. package/dist/{chunk-MVYNJECP.js → chunk-PD6J33TO.js} +15 -5
  25. package/dist/chunk-QMK2VF6K.js +102 -0
  26. package/dist/{chunk-MYKSUTUV.js → chunk-QVSYR5CV.js} +4 -4
  27. package/dist/{chunk-CAPBVX4L.js → chunk-R3GXQJEE.js} +2 -2
  28. package/dist/{chunk-IS4DGI5J.js → chunk-S4LM6UB7.js} +14 -11
  29. package/dist/{chunk-HT7DSLKL.js → chunk-SD2VFSN6.js} +56 -38
  30. package/dist/{chunk-S7G34U75.js → chunk-U36WL4OL.js} +5 -121
  31. package/dist/{chunk-ZXGBLAYQ.js → chunk-W3JHZHAN.js} +1 -1
  32. package/dist/{chunk-KN7QI56S.js → chunk-WIIPHGJY.js} +3 -8
  33. package/dist/{chunk-IHNBJHEP.js → chunk-Y2QRKPI7.js} +1 -1
  34. package/dist/{chunk-Q3UF3K77.js → chunk-YFE6VNHU.js} +1 -1
  35. package/dist/{chunk-EXD2Z3YR.js → chunk-YUPNY2HZ.js} +16 -14
  36. package/dist/{chunk-ODB55JM7.js → chunk-YZHA2L7P.js} +9 -9
  37. package/dist/cli/chat.js +23 -23
  38. package/dist/cli/check.js +6 -7
  39. package/dist/cli/plugins.js +11 -12
  40. package/dist/cli/snapshot-create.js +9 -10
  41. package/dist/cli/upgrade.js +6 -7
  42. package/dist/{db-JSDSWK7T.js → db-FQID26JW.js} +6 -7
  43. package/dist/instrumentation.js +4 -5
  44. package/dist/nitro.js +2 -2
  45. package/dist/{oauth-callback-server-UMS2T3HN.js → oauth-callback-server-Z5MHHKFD.js} +16 -16
  46. package/dist/{runner-RGOANIRV.js → runner-PGPGKYSF.js} +11 -12
  47. package/dist/{skills-GBLPOQOD.js → skills-BCQHR636.js} +6 -7
  48. package/dist/{validation-BMQY6CD4.js → validation-QP3FYBLZ.js} +6 -7
  49. package/dist/version.js +1 -1
  50. package/migrations/0014_source_visibility.sql +8 -0
  51. package/migrations/meta/0014_snapshot.json +1201 -0
  52. package/migrations/meta/_journal.json +8 -1
  53. package/package.json +5 -5
  54. package/dist/chunk-OB42YVAE.js +0 -16
@@ -99,6 +99,13 @@
99
99
  "when": 1785516038862,
100
100
  "tag": "0013_conversation_session_source",
101
101
  "breakpoints": true
102
+ },
103
+ {
104
+ "idx": 14,
105
+ "version": "7",
106
+ "when": 1785625416358,
107
+ "tag": "0014_source_visibility",
108
+ "breakpoints": true
102
109
  }
103
110
  ]
104
- }
111
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior",
3
- "version": "0.125.0",
3
+ "version": "0.126.1",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -79,7 +79,7 @@
79
79
  "pg": "^8.16.3",
80
80
  "yaml": "^2.9.0",
81
81
  "zod": "^4.4.3",
82
- "@sentry/junior-plugin-api": "0.125.0"
82
+ "@sentry/junior-plugin-api": "0.126.1"
83
83
  },
84
84
  "devDependencies": {
85
85
  "@emnapi/core": "^1.10.0",
@@ -96,10 +96,10 @@
96
96
  "typescript": "^6.0.3",
97
97
  "vercel": "^54.4.0",
98
98
  "vitest": "^4.1.7",
99
- "@sentry/junior-memory": "0.125.0",
100
- "@sentry/junior-scheduler": "0.125.0",
99
+ "@sentry/junior-github": "0.126.1",
100
+ "@sentry/junior-memory": "0.126.1",
101
101
  "@sentry/junior-testing": "0.0.0",
102
- "@sentry/junior-github": "0.125.0"
102
+ "@sentry/junior-scheduler": "0.126.1"
103
103
  },
104
104
  "scripts": {
105
105
  "build": "tsup && tsc -p tsconfig.build.json --emitDeclarationOnly",
@@ -1,16 +0,0 @@
1
- // src/chat/coerce.ts
2
- function toOptionalString(value) {
3
- return typeof value === "string" && value.trim() ? value : void 0;
4
- }
5
- function toOptionalNumber(value) {
6
- return typeof value === "number" && Number.isFinite(value) ? value : void 0;
7
- }
8
- function isRecord(value) {
9
- return typeof value === "object" && value !== null;
10
- }
11
-
12
- export {
13
- toOptionalString,
14
- toOptionalNumber,
15
- isRecord
16
- };