@sentry/junior 0.242.0 → 0.243.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 (65) hide show
  1. package/dist/{admin-C54kvHVC.js → admin-DHOGoI03.js} +1 -1
  2. package/dist/{agent-hooks-BVttjZvb.js → agent-hooks-Cqo6ULp6.js} +12 -12
  3. package/dist/agent-invocations-BzRAZ_nj.js +176 -0
  4. package/dist/{agent-runner-BTgnxJ7g.js → agent-runner-BZOjoMlZ.js} +621 -69
  5. package/dist/api/schema.d.ts +53 -1
  6. package/dist/api/schema.js +4 -4
  7. package/dist/api.js +52 -22
  8. package/dist/{app-MEd7wbF0.d.ts → app-DRLh-8zs.d.ts} +5 -0
  9. package/dist/app.d.ts +1 -1
  10. package/dist/app.js +41 -24
  11. package/dist/{briefs-CKUsv9F1.js → briefs-C4GogKaB.js} +4 -4
  12. package/dist/{catalog-runtime-C2YkfMZz.js → catalog-runtime-jazDa-oO.js} +1 -1
  13. package/dist/cli/chat.js +12 -12
  14. package/dist/cli/check.js +3 -3
  15. package/dist/cli/main.js +2 -2
  16. package/dist/cli/plugins.js +4 -4
  17. package/dist/cli/snapshot-create.js +3 -3
  18. package/dist/cli/upgrade.js +3 -3
  19. package/dist/{client-D51G-Jdg.js → client-Es79bknZ.js} +2 -2
  20. package/dist/{config-C6Uu3Re9.js → config-gype19qQ.js} +7 -2
  21. package/dist/{conversation-DwD-vquD.js → conversation-mt3yJ09u.js} +2 -1
  22. package/dist/{conversation-privacy-CzL47nXs.js → conversation-privacy-BIplVfmz.js} +1 -1
  23. package/dist/{credential-sync-DvDaE-Uj.js → credential-sync-BY97dkST.js} +14 -14
  24. package/dist/{executor-CGUukwus.js → executor-C7bsEF-c.js} +5 -124
  25. package/dist/{history-BLTUgFYO.js → history-DlsoHsoe.js} +1 -0
  26. package/dist/{images-DSxZt5vk.js → images-WmrEAtto.js} +3 -3
  27. package/dist/instrumentation.js +2 -2
  28. package/dist/{job-queue-hLylM9cy.js → job-queue-DQDesz8a.js} +1 -1
  29. package/dist/{logging-BdZ_mK3q.js → logging-CdZ1LQJ7.js} +1 -1
  30. package/dist/nitro.d.ts +1 -1
  31. package/dist/nitro.js +3 -3
  32. package/dist/{oauth-authorization-BokpeHv-.js → oauth-authorization-Di0KlyoJ.js} +1 -1
  33. package/dist/{oauth-callback-server-C3BOSmT_.js → oauth-callback-server-Cmog7Q3T.js} +2 -2
  34. package/dist/{pending-auth-DOzL4D24.js → pending-auth-CNAlGOyl.js} +2 -2
  35. package/dist/{profile-2gPzzMib.js → profile-qqt_2di0.js} +4 -4
  36. package/dist/{prompt-CMU-B4FA.js → prompt-D_cg2iqi.js} +1 -1
  37. package/dist/{registry-XJkXDNK2.js → registry-WOJKAIRI.js} +1 -1
  38. package/dist/{resolve-DhcdtDt6.js → resolve-C8VvY0lg.js} +2 -2
  39. package/dist/{runner-CGyrnIPm.js → runner-DojxjGmt.js} +10 -10
  40. package/dist/{sandbox-egress-signals-D6F3OZJP.js → sandbox-egress-signals-B7azPnsm.js} +1 -1
  41. package/dist/{schema-Cabm4jcj.js → schema-nQRsPWSr.js} +34 -3
  42. package/dist/{skills-C6PqcBPU.js → skills-Zj-9pbSU.js} +2 -2
  43. package/dist/{spawn-DL9x3T1o.js → spawn-DDJ5z9IC.js} +5 -4
  44. package/dist/{task-queue-vZnBGu9B.js → task-queue-CAi-XM8x.js} +3 -3
  45. package/dist/{task-runner-C-c0t5F5.js → task-runner-CIP2asjP.js} +12 -11
  46. package/dist/{tasks-EqCtmUJ2.js → tasks-Qx6Fos_R.js} +49 -17
  47. package/dist/{thread-state-B8IKs_J8.js → thread-state-BN_5S1bx.js} +7 -7
  48. package/dist/{turn-failure-response-BS7OO1BE.js → turn-failure-response-B1UW2T7a.js} +9 -9
  49. package/dist/{turn-lifecycle-Cxrt8qMD.js → turn-lifecycle-BzeE4sVD.js} +1 -1
  50. package/dist/{turn-session-routing-BlGt2AUb.js → turn-session-routing-DsvU39zW.js} +1 -1
  51. package/dist/{validation-C8hci6pj.js → validation-Dklx_nds.js} +1 -1
  52. package/dist/{version-CjnHQ8aY.js → version-BvG02ZTN.js} +1 -1
  53. package/dist/version.js +1 -1
  54. package/dist/{viewer-BOgEy5zC.js → viewer-B7qDM2DM.js} +6 -8
  55. package/dist/{web-authorization-DSMV5tMK.js → web-authorization-Cqv7bP19.js} +6 -6
  56. package/dist/{web-input-TD5P9jdo.js → web-input-CqnqSfzI.js} +227 -31
  57. package/dist/{work-D39OAwP1.js → work-D_BBvd4I.js} +111 -225
  58. package/dist/{worker-CWiLgCWH.js → worker-BWdV_5Ys.js} +5 -5
  59. package/migrations/0050_agent_invocation_parent_mailbox.sql +4 -0
  60. package/migrations/0051_agent_invocation_parent_tool_call.sql +1 -0
  61. package/migrations/meta/0050_snapshot.json +3753 -0
  62. package/migrations/meta/0051_snapshot.json +3759 -0
  63. package/migrations/meta/_journal.json +15 -1
  64. package/package.json +5 -5
  65. package/dist/destinations-BeBiJeEM.js +0 -29
@@ -351,6 +351,20 @@
351
351
  "when": 1791557647756,
352
352
  "tag": "0049_event_automation_status_reason",
353
353
  "breakpoints": true
354
+ },
355
+ {
356
+ "idx": 50,
357
+ "version": "7",
358
+ "when": 1791907696692,
359
+ "tag": "0050_agent_invocation_parent_mailbox",
360
+ "breakpoints": true
361
+ },
362
+ {
363
+ "idx": 51,
364
+ "version": "7",
365
+ "when": 1791928220963,
366
+ "tag": "0051_agent_invocation_parent_tool_call",
367
+ "breakpoints": true
354
368
  }
355
369
  ]
356
- }
370
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior",
3
- "version": "0.242.0",
3
+ "version": "0.243.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -87,7 +87,7 @@
87
87
  "pg": "^8.16.3",
88
88
  "yaml": "^2.9.0",
89
89
  "zod": "^4.5.4",
90
- "@sentry/junior-plugin-api": "0.242.0"
90
+ "@sentry/junior-plugin-api": "0.243.0"
91
91
  },
92
92
  "devDependencies": {
93
93
  "@emnapi/core": "^1.10.0",
@@ -106,9 +106,9 @@
106
106
  "typescript": "^6.0.3",
107
107
  "vercel": "^54.4.0",
108
108
  "vitest": "^4.1.7",
109
- "@sentry/junior-memory": "0.242.0",
110
- "@sentry/junior-github": "0.242.0",
111
- "@sentry/junior-testing": "0.0.0"
109
+ "@sentry/junior-memory": "0.243.0",
110
+ "@sentry/junior-testing": "0.0.0",
111
+ "@sentry/junior-github": "0.243.0"
112
112
  },
113
113
  "scripts": {
114
114
  "build": "tsdown",
@@ -1,29 +0,0 @@
1
- import { z } from "zod";
2
- import { index, jsonb, pgTable, text, timestamp, uniqueIndex } from "drizzle-orm/pg-core";
3
- //#region src/db/schema/timestamps.ts
4
- const timestamptz = (name) => timestamp(name, { withTimezone: true });
5
- //#endregion
6
- //#region src/db/schema/destinations.ts
7
- const juniorDestinationKindSchema = z.enum([
8
- "channel",
9
- "dm",
10
- "group",
11
- "local_conversation",
12
- "thread",
13
- "web_session"
14
- ]);
15
- const juniorDestinations = pgTable("junior_destinations", {
16
- id: text("id").primaryKey(),
17
- provider: text("provider").notNull(),
18
- providerTenantId: text("provider_tenant_id").notNull().default(""),
19
- providerDestinationId: text("provider_destination_id").notNull(),
20
- kind: text("kind").$type().notNull(),
21
- parentDestinationId: text("parent_destination_id"),
22
- displayName: text("display_name"),
23
- visibility: text("visibility").$type().notNull().default("unknown"),
24
- metadata: jsonb("metadata_json"),
25
- createdAt: timestamptz("created_at").notNull(),
26
- updatedAt: timestamptz("updated_at").notNull()
27
- }, (table) => [uniqueIndex("junior_destinations_provider_destination_uidx").on(table.provider, table.providerTenantId, table.providerDestinationId), index("junior_destinations_provider_kind_idx").on(table.provider, table.kind)]);
28
- //#endregion
29
- export { juniorDestinations as n, timestamptz as r, juniorDestinationKindSchema as t };