@sentry/junior 0.319.0 → 0.321.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 (58) hide show
  1. package/dist/{adapter-8_S6Birm.js → adapter-BkDQYdg6.js} +1 -1
  2. package/dist/{admin-EsbUON1j.js → admin-XS3G9BOj.js} +1 -1
  3. package/dist/{agent-CtzMl32d.js → agent-CL9ZkOgx.js} +45 -52
  4. package/dist/{agent-update-delivery-pAvsbuGL.js → agent-update-delivery-t0bXEgPs.js} +4 -4
  5. package/dist/api/schema.d.ts +4 -12
  6. package/dist/api/schema.js +4 -4
  7. package/dist/api.js +30 -25
  8. package/dist/{app-tACXxJPI.d.ts → app-CwFRvmEH.d.ts} +2 -1
  9. package/dist/app.d.ts +1 -1
  10. package/dist/app.js +22 -219
  11. package/dist/{change-record-K-KsqNhT.d.ts → change-record-CRuG9Mu3.d.ts} +1 -6
  12. package/dist/{channel-access-DET5hzZM.js → channel-access-BUHB0saC.js} +1 -1
  13. package/dist/{chat-core-engine-DpM3tMVi.js → chat-core-engine-DuBaPbqK.js} +31 -14
  14. package/dist/cli/chat.js +16 -16
  15. package/dist/cli/check.js +4 -4
  16. package/dist/cli/main.js +2 -2
  17. package/dist/cli/plugins.js +3 -3
  18. package/dist/cli/snapshot-create.js +4 -4
  19. package/dist/cli/upgrade.js +2 -2
  20. package/dist/{continue-in-slack-CFzDyxkH.js → continue-in-slack-D9naZmqM.js} +3 -3
  21. package/dist/{conversation-feed-DEUdD7mb.js → conversation-feed-B1_1NJc8.js} +2 -12
  22. package/dist/{conversation-privacy-C2vYK55O.js → conversation-privacy-C0mixZKx.js} +1 -1
  23. package/dist/{create-Ta3SEIB5.js → create-CLV0M1vw.js} +2 -2
  24. package/dist/{credential-sync-DyRqDmY4.js → credential-sync-DL9r-ry5.js} +11 -11
  25. package/dist/{db-BCaNWl9p.js → db-CbURDbaB.js} +49 -28
  26. package/dist/{deployment-CfOew1Tm.js → deployment-D9uPRDMD.js} +1 -1
  27. package/dist/{engine-context-CiExoy1B.js → engine-context-BP0h6u4m.js} +389 -13
  28. package/dist/{html-Bb2Si1bR.js → html-l4hKICAL.js} +4 -4
  29. package/dist/instrumentation.js +2 -2
  30. package/dist/{list-wwDcROh9.js → list-cGaO9_Hf.js} +12 -37
  31. package/dist/{logging-BRPTXAdf.js → logging-CqgOoICc.js} +1 -1
  32. package/dist/{markers-9QoqW5ov.js → markers-BtUv4-oc.js} +40 -37
  33. package/dist/nitro.d.ts +1 -1
  34. package/dist/nitro.js +2 -2
  35. package/dist/{oauth-callback-server-vhL9b-PZ.js → oauth-callback-server-C3GxhsuB.js} +2 -2
  36. package/dist/{oauth-relay-CH2v7WiB.js → oauth-relay-BGm6sLCB.js} +1 -1
  37. package/dist/{profile-D9LdwmZi.js → profile-bLo0h7Le.js} +12 -6
  38. package/dist/{prompt-3TqxEOtc.js → prompt-CX29OGO9.js} +1 -1
  39. package/dist/{reports-K-tbtEyx.js → reports-DeDCCu_H.js} +2 -2
  40. package/dist/{resolve-BBV2qf8A.js → resolve-D9RKNH3v.js} +5 -5
  41. package/dist/{result-5IdGJP4M.js → result-BFBwK1M2.js} +7 -7
  42. package/dist/{runner-BK_joPlM.js → runner-DNdoVQg8.js} +7 -7
  43. package/dist/{sandbox-egress-signals-DXgWXXmm.js → sandbox-egress-signals-BBcCiEhm.js} +1 -1
  44. package/dist/{schema-zWGG6VC1.js → schema-RzsplzdI.js} +5 -3
  45. package/dist/{service-account-CateFyhw.js → service-account-B7E7OIFP.js} +2 -2
  46. package/dist/{skills-Ccjw8h2P.js → skills-DMJsS5e4.js} +4 -4
  47. package/dist/{slack-conversation-unfurl-ZC_TSpc4.js → slack-conversation-unfurl-EWYTnBZI.js} +7 -7
  48. package/dist/{storage-C9U7R5rM.js → storage-XD0lB4Gk.js} +2 -2
  49. package/dist/{system-prompt-table-YBTHIFlP.js → system-prompt-table-C886lsT9.js} +4 -4
  50. package/dist/{types-BNHkJrOP.js → types-CGgQ3-Bb.js} +1 -9
  51. package/dist/{users-CCRAqYb_.js → users-DBrcQl47.js} +1 -1
  52. package/dist/{validation-BCUpJa8K.js → validation-CofUHWqz.js} +1 -1
  53. package/dist/{version-BNm0JYj3.js → version-D_vbXyNw.js} +1 -1
  54. package/dist/version.js +1 -1
  55. package/dist/{worker-BhgpZ7_b.js → worker-buhFcpl9.js} +4 -4
  56. package/migrations/20261127150242_drop_space_members/migration.sql +9 -0
  57. package/migrations/20261127150242_drop_space_members/snapshot.json +53 -0
  58. package/package.json +6 -6
@@ -1,5 +1,5 @@
1
1
  // package.json
2
- var version = "0.319.0";
2
+ var version = "0.321.0";
3
3
  // src/version.ts
4
4
  /** Installed Junior package version, or `unknown` when package metadata is unavailable. */
5
5
  const JUNIOR_VERSION = typeof version === "string" && version.trim() ? version : "unknown";
package/dist/version.js CHANGED
@@ -1 +1 @@
1
- export { t as JUNIOR_VERSION } from "./version-BNm0JYj3.js";
1
+ export { t as JUNIOR_VERSION } from "./version-D_vbXyNw.js";
@@ -1,8 +1,8 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-BKpuH2hG.js";
2
- import { $t as completeConversationStop, Ed as isProviderRetryError, Gr as nudgeIdempotencyKey, Hr as ConversationQueueMessageRejectedError, Ht as ackMessages, Jt as checkInConversationWork, Kt as beginConversationResume, Nn as isAttemptInterrupt, Pn as selectAttemptMessages, Sn as hasConversationStop, Tn as isInvalidConversationRecordError, Yt as claimConversationAttempt, Zt as clearConsumedConversationWake, bn as countPendingConversationMessages, dn as releaseConversationWork, dr as getTurnRequestDeadline, en as completeConversationWork, fn as requestAnotherSlice, in as ensureConversationWake, ln as recordAttemptFailure, mn as startConversationWork, nn as drainConversationMailbox, nu as isTopLevel, on as getConversationWorkState, tn as deadLetterAttempt, un as recordConversationRetry, wn as isFinalAttempt } from "./db-BCaNWl9p.js";
3
- import { R as getChatConfig } from "./adapter-8_S6Birm.js";
4
- import { f as logException, m as logWarn, p as logInfo, w as withLogContext, y as setSpanAttributes } from "./logging-BRPTXAdf.js";
5
- import { A as getConversationStoppedAtMs, M as saveHeldInput } from "./markers-9QoqW5ov.js";
2
+ import { $t as completeConversationWork, Cn as isFinalAttempt, Gt as beginConversationResume, Jt as claimConversationAttempt, Mn as isAttemptInterrupt, Nn as selectAttemptMessages, Qt as completeConversationStop, Vr as ConversationQueueMessageRejectedError, Vt as ackMessages, Wr as nudgeIdempotencyKey, Xt as clearConsumedConversationWake, an as getConversationWorkState, cn as recordAttemptFailure, dn as requestAnotherSlice, en as deadLetterAttempt, eu as isTopLevel, ln as recordConversationRetry, pn as startConversationWork, qt as checkInConversationWork, rn as ensureConversationWake, tn as drainConversationMailbox, un as releaseConversationWork, ur as getTurnRequestDeadline, wd as isProviderRetryError, wn as isInvalidConversationRecordError, xn as hasConversationStop, yn as countPendingConversationMessages } from "./db-CbURDbaB.js";
3
+ import { R as getChatConfig } from "./adapter-BkDQYdg6.js";
4
+ import { f as logException, m as logWarn, p as logInfo, w as withLogContext, y as setSpanAttributes } from "./logging-CqgOoICc.js";
5
+ import { j as saveHeldInput, k as getConversationStoppedAtMs } from "./markers-BtUv4-oc.js";
6
6
  // src/chat/task-execution/lost-lease.ts
7
7
  /**
8
8
  * Count a slice that lost its Conversation Lease as a failed attempt, then
@@ -0,0 +1,9 @@
1
+ -- Drop the junior_space_members table that space_lead_holds_name kept in
2
+ -- the database. No runtime code reads or writes it since 0.317.0.
3
+ -- The snapshot no longer has junior_spaces.name, visibility, or
4
+ -- archived_at, but they stay in the database for one release. 0.319.0 does
5
+ -- not read them, but its Space insert lists every column of its schema, so
6
+ -- it writes their defaults while this migration runs. The release that drops
7
+ -- them uses DROP COLUMN IF EXISTS.
8
+ -- squawk-ignore ban-drop-table -- unused since 0.317.0
9
+ DROP TABLE IF EXISTS "junior_space_members";
@@ -0,0 +1,53 @@
1
+ {
2
+ "type": "diff",
3
+ "version": "10",
4
+ "dialect": "postgres",
5
+ "id": "5dddf30d-1fa5-4f06-a90e-acd6a2f366d3",
6
+ "prevIds": ["8a318893-4b46-4fb3-9e04-6361efea0a02"],
7
+ "footprints": [
8
+ {
9
+ "statementType": "drop_column",
10
+ "statementTarget": ["column", "public", "junior_spaces", "name"],
11
+ "writes": [
12
+ "s|col|public.junior_spaces.name",
13
+ "n|col|public.junior_spaces.name",
14
+ "e|col|public.junior_spaces.name"
15
+ ],
16
+ "reads": ["n|tbl|public.junior_spaces", "n|sch|public"]
17
+ },
18
+ {
19
+ "statementType": "drop_column",
20
+ "statementTarget": ["column", "public", "junior_spaces", "archived_at"],
21
+ "writes": [
22
+ "s|col|public.junior_spaces.archived_at",
23
+ "n|col|public.junior_spaces.archived_at",
24
+ "e|col|public.junior_spaces.archived_at"
25
+ ],
26
+ "reads": ["n|tbl|public.junior_spaces", "n|sch|public"]
27
+ },
28
+ {
29
+ "statementType": "drop_column",
30
+ "statementTarget": ["column", "public", "junior_spaces", "visibility"],
31
+ "writes": [
32
+ "s|col|public.junior_spaces.visibility",
33
+ "n|col|public.junior_spaces.visibility",
34
+ "e|col|public.junior_spaces.visibility"
35
+ ],
36
+ "reads": ["n|tbl|public.junior_spaces", "n|sch|public"]
37
+ }
38
+ ],
39
+ "deltas": [
40
+ {
41
+ "op": "drop",
42
+ "key": "columns\u0000[\"public\",\"junior_spaces\",\"name\"]"
43
+ },
44
+ {
45
+ "op": "drop",
46
+ "key": "columns\u0000[\"public\",\"junior_spaces\",\"archived_at\"]"
47
+ },
48
+ {
49
+ "op": "drop",
50
+ "key": "columns\u0000[\"public\",\"junior_spaces\",\"visibility\"]"
51
+ }
52
+ ]
53
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior",
3
- "version": "0.319.0",
3
+ "version": "0.321.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -66,7 +66,7 @@
66
66
  "@neondatabase/serverless": "^1.1.0",
67
67
  "@sentry/api": "3.2.0",
68
68
  "@sentry/http": "1.0.0",
69
- "@sentry/junior-plugin-api": "0.319.0",
69
+ "@sentry/junior-plugin-api": "0.321.0",
70
70
  "@sentry/nitro": "11.16.0",
71
71
  "@sentry/node": "11.16.0",
72
72
  "@sentry/server-utils": "11.16.0",
@@ -110,10 +110,10 @@
110
110
  "@emnapi/core": "^1.10.0",
111
111
  "@emnapi/runtime": "^1.10.0",
112
112
  "@hono/node-server": "2.1.3",
113
- "@sentry/junior-github": "0.319.0",
114
- "@sentry/junior-linear": "0.319.0",
115
- "@sentry/junior-notion": "0.319.0",
116
- "@sentry/junior-sentry": "0.319.0",
113
+ "@sentry/junior-github": "0.321.0",
114
+ "@sentry/junior-linear": "0.321.0",
115
+ "@sentry/junior-notion": "0.321.0",
116
+ "@sentry/junior-sentry": "0.321.0",
117
117
  "@sentry/junior-testing": "0.0.0",
118
118
  "@types/node": "^24.19.2",
119
119
  "@types/pg": "^8.15.6",