@sentry/junior 0.217.0 → 0.218.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 (56) hide show
  1. package/dist/{agent-CV4MPfCD.js → agent-C-wRol8n.js} +98 -23
  2. package/dist/{agent-hooks-BtGATjr2.js → agent-hooks-Au93EfEr.js} +6 -6
  3. package/dist/{agent-runner-DCj_cPjl.js → agent-runner-skcXibgb.js} +5 -5
  4. package/dist/api.js +15 -15
  5. package/dist/{app-D4nNdzPG.d.ts → app-BYD2Nyji.d.ts} +1 -1
  6. package/dist/app.d.ts +2 -2
  7. package/dist/app.js +29 -29
  8. package/dist/{auth-pause-state-C7GMUpb9.js → auth-pause-state-CU71X-6Z.js} +6 -6
  9. package/dist/{briefs-eG5Jo1xa.js → briefs-Dcdrr46e.js} +2 -2
  10. package/dist/{catalog-runtime-LUAIHslF.js → catalog-runtime-B9yDPVCR.js} +1 -1
  11. package/dist/{checkpoint-CmkbGGiR.js → checkpoint-CQ6eQrJD.js} +6 -6
  12. package/dist/cli/chat.d.ts +1 -1
  13. package/dist/cli/chat.js +13 -13
  14. package/dist/cli/check.js +3 -3
  15. package/dist/cli/main.js +1 -1
  16. package/dist/cli/plugins.d.ts +1 -1
  17. package/dist/cli/plugins.js +3 -3
  18. package/dist/cli/snapshot-create.js +3 -3
  19. package/dist/cli/upgrade.d.ts +1 -1
  20. package/dist/cli/upgrade.js +3 -3
  21. package/dist/{client-ciJRmcY5.js → client-BV3_abpr.js} +2 -2
  22. package/dist/{config-BMwzCmw-.js → config-DceVK986.js} +2 -2
  23. package/dist/{conversation-privacy-CLkpzAlt.js → conversation-privacy-C_w2FAlM.js} +1 -1
  24. package/dist/{credential-sync-BoWHpDBP.js → credential-sync-DKXGTID8.js} +20 -20
  25. package/dist/{execution-stats-C-E5FIsT.js → execution-stats-BIyGof8p.js} +3 -3
  26. package/dist/{executor-D0xETqi8.js → executor-CxoH7xaY.js} +1 -1
  27. package/dist/instrumentation.js +2 -2
  28. package/dist/{job-queue-C8FZ3LSY.js → job-queue-DwA7xmCQ.js} +1 -1
  29. package/dist/{logging-CHZ0aJXO.js → logging-CtfUmyiN.js} +1 -1
  30. package/dist/nitro.d.ts +2 -2
  31. package/dist/nitro.js +3 -3
  32. package/dist/{oauth-callback-server-D2JPUvY4.js → oauth-callback-server-RefMcYAD.js} +2 -2
  33. package/dist/{pending-auth-HNSPyxoN.js → pending-auth-B_nSqxpd.js} +2 -2
  34. package/dist/{plugins-BI9A1vKA.d.ts → plugins-BT2l4We3.d.ts} +2 -1
  35. package/dist/{profile-6veboDue.js → profile-BRupCR8f.js} +4 -4
  36. package/dist/{registry-DR6TJe4J.js → registry-DiIwniX1.js} +62 -18
  37. package/dist/{resolve-DprAzyQN.js → resolve-0BvJroyG.js} +2 -2
  38. package/dist/{runner-CV9Wahh9.js → runner-DDHI2RaU.js} +9 -9
  39. package/dist/{sandbox-egress-signals-BpRsWlQP.js → sandbox-egress-signals-CoVhGAih.js} +1 -1
  40. package/dist/{short-title-XUBD7AYC.js → short-title-BdpXj7eS.js} +2 -2
  41. package/dist/{skills-DeUBvhdn.js → skills-MlftIiVP.js} +2 -2
  42. package/dist/{spawn-BFzlrZae.js → spawn-DLlXPelG.js} +2 -2
  43. package/dist/{stats-BvNqVRdB.js → stats-BjipUP7p.js} +5 -5
  44. package/dist/{task-queue-CbxNVEAg.js → task-queue-DyfnQ7ZM.js} +3 -3
  45. package/dist/{task-runner-BH5M3JHb.js → task-runner-BOuCBVgO.js} +7 -7
  46. package/dist/{thread-state-Db98GdYL.js → thread-state-DrGVG1E-.js} +5 -5
  47. package/dist/{turn-execution-mZIWtngI.js → turn-execution-CZKg5Fw9.js} +3 -3
  48. package/dist/{turn-lifecycle-CNsgouon.js → turn-lifecycle-BV2Wp_qF.js} +1 -1
  49. package/dist/{validation-Dy7SUhLv.js → validation-BXDSxuOX.js} +1 -1
  50. package/dist/{version-Es4nurl1.js → version-DNJ6W0LC.js} +1 -1
  51. package/dist/version.js +1 -1
  52. package/dist/{web-authorization-DG2K_bpi.js → web-authorization-DhXHpeMK.js} +1 -1
  53. package/dist/{web-input-CZjYeCFh.js → web-input-BqFF7CQB.js} +4 -4
  54. package/dist/{work-DTqDMGeD.js → work-DEMP0L3f.js} +9 -9
  55. package/dist/{worker-BvuVxS4T.js → worker-DvK47zmH.js} +5 -5
  56. package/package.json +5 -5
@@ -1,6 +1,6 @@
1
- import { Ht as getConversationEventStore } from "./agent-hooks-BtGATjr2.js";
2
- import { n as runAgentWithTimeout } from "./agent-runner-DCj_cPjl.js";
3
- import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-CNsgouon.js";
1
+ import { Ht as getConversationEventStore } from "./agent-hooks-Au93EfEr.js";
2
+ import { n as runAgentWithTimeout } from "./agent-runner-skcXibgb.js";
3
+ import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-BV2Wp_qF.js";
4
4
  //#region src/chat/runtime/turn-execution.ts
5
5
  /** An error thrown while the agent advances a Run. */
6
6
  var AgentRunError = class extends Error {
@@ -1,4 +1,4 @@
1
- import { Ht as getConversationEventStore } from "./agent-hooks-BtGATjr2.js";
1
+ import { Ht as getConversationEventStore } from "./agent-hooks-Au93EfEr.js";
2
2
  //#region src/chat/conversations/turn-lifecycle.ts
3
3
  /** Persist correlated turn lifecycle facts with retry-safe terminal exclusion. */
4
4
  var ConversationTurnLifecycleService = class {
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- import { n as pluginCatalogRuntime } from "./catalog-runtime-LUAIHslF.js";
2
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-B9yDPVCR.js";
3
3
  import { isDeepStrictEqual } from "node:util";
4
4
  //#region src/chat/plugins/validation.ts
5
5
  var validation_exports = /* @__PURE__ */ __exportAll({
@@ -1,5 +1,5 @@
1
1
  //#region package.json
2
- var version = "0.217.0";
2
+ var version = "0.218.0";
3
3
  //#endregion
4
4
  //#region src/version.ts
5
5
  /** Installed Junior package version, or `unknown` when package metadata is unavailable. */
package/dist/version.js CHANGED
@@ -1,2 +1,2 @@
1
- import { t as JUNIOR_VERSION } from "./version-Es4nurl1.js";
1
+ import { t as JUNIOR_VERSION } from "./version-DNJ6W0LC.js";
2
2
  export { JUNIOR_VERSION };
@@ -1,4 +1,4 @@
1
- import { w as getStateAdapter } from "./profile-6veboDue.js";
1
+ import { w as getStateAdapter } from "./profile-BRupCR8f.js";
2
2
  import { randomUUID } from "node:crypto";
3
3
  //#region src/chat/conversations/web-authorization.ts
4
4
  const WEB_AUTHORIZATION_PREFIX = "junior:web_authorization:v1";
@@ -1,8 +1,8 @@
1
- import { f as logWarn } from "./logging-CHZ0aJXO.js";
2
- import { s as getSlackBotToken } from "./config-BMwzCmw-.js";
1
+ import { f as logWarn } from "./logging-CtfUmyiN.js";
2
+ import { s as getSlackBotToken } from "./config-DceVK986.js";
3
3
  import "./context-Bplcgypl.js";
4
- import { K as normalizeSlackConversationId, Wt as getConversationStore } from "./agent-hooks-BtGATjr2.js";
5
- import { c as parseSlackThreadId, ft as appendAndEnqueueExclusiveInboundMessage, pt as appendAndEnqueueInboundMessage, qt as buildDeterministicTurnId } from "./stats-BvNqVRdB.js";
4
+ import { K as normalizeSlackConversationId, Wt as getConversationStore } from "./agent-hooks-Au93EfEr.js";
5
+ import { c as parseSlackThreadId, ft as appendAndEnqueueExclusiveInboundMessage, pt as appendAndEnqueueInboundMessage, qt as buildDeterministicTurnId } from "./stats-BjipUP7p.js";
6
6
  import { t as healthReportSchema } from "./reporting-schema-DosTN__Q.js";
7
7
  import { z } from "zod";
8
8
  import { createHash } from "node:crypto";
@@ -1,13 +1,13 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- import { $ as AuthorizationFlowDisabledError, A as createAgentInvocationSchema, M as AgentInvocationLimitError, O as agentBindingSchema, f as PluginCredentialFailureError, j as AgentInvocationBusyError, k as agentInvocationSchema } from "./agent-CV4MPfCD.js";
3
- import { Ht as getConversationEventStore, Kt as getSqlExecutor, Wt as getConversationStore } from "./agent-hooks-BtGATjr2.js";
4
- import { f as juniorAgentBindings, p as juniorAgentInvocations } from "./executor-D0xETqi8.js";
5
- import { L as openConversationProjection, o as failTurnRecord, r as saveTurnCheckpoint, s as getTurnRecord, v as getTerminalAssistantMessages } from "./checkpoint-CmkbGGiR.js";
6
- import { pt as appendAndEnqueueInboundMessage } from "./stats-BvNqVRdB.js";
7
- import { _ as isTurnInputCommitLostError, h as getConversationTurnBoundaryError, p as TurnInputCommitLostError, s as getAssistantReplyText } from "./pending-auth-HNSPyxoN.js";
8
- import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-CNsgouon.js";
9
- import { n as executeTurn, t as AgentRunError } from "./turn-execution-mZIWtngI.js";
10
- import { n as getPersistedSandboxState, o as persistThreadStateById, r as getPersistedThreadState } from "./thread-state-Db98GdYL.js";
2
+ import { $ as AuthorizationFlowDisabledError, A as createAgentInvocationSchema, M as AgentInvocationLimitError, O as agentBindingSchema, f as PluginCredentialFailureError, j as AgentInvocationBusyError, k as agentInvocationSchema } from "./agent-C-wRol8n.js";
3
+ import { Ht as getConversationEventStore, Kt as getSqlExecutor, Wt as getConversationStore } from "./agent-hooks-Au93EfEr.js";
4
+ import { f as juniorAgentBindings, p as juniorAgentInvocations } from "./executor-CxoH7xaY.js";
5
+ import { L as openConversationProjection, o as failTurnRecord, r as saveTurnCheckpoint, s as getTurnRecord, v as getTerminalAssistantMessages } from "./checkpoint-CQ6eQrJD.js";
6
+ import { pt as appendAndEnqueueInboundMessage } from "./stats-BjipUP7p.js";
7
+ import { _ as isTurnInputCommitLostError, h as getConversationTurnBoundaryError, p as TurnInputCommitLostError, s as getAssistantReplyText } from "./pending-auth-B_nSqxpd.js";
8
+ import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-BV2Wp_qF.js";
9
+ import { n as executeTurn, t as AgentRunError } from "./turn-execution-CZKg5Fw9.js";
10
+ import { n as getPersistedSandboxState, o as persistThreadStateById, r as getPersistedThreadState } from "./thread-state-DrGVG1E-.js";
11
11
  import { z } from "zod";
12
12
  import { createHash } from "node:crypto";
13
13
  import { and, asc, count, eq, inArray } from "drizzle-orm";
@@ -1,10 +1,10 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- import { b as isProviderRetryError } from "./client-ciJRmcY5.js";
3
- import { S as withLogContext, d as logInfo, f as logWarn, u as logException } from "./logging-CHZ0aJXO.js";
4
- import { a as getChatConfig } from "./config-BMwzCmw-.js";
5
- import { At as recordConversationRetry, Ct as drainConversationMailbox, Et as getConversationWorkState, Ft as startConversationWork, Ht as isInvalidConversationRecordError, Nt as requestAnotherSlice, St as deadLetterAttempt, Vt as isFinalAttempt, _t as clearConsumedConversationWake, bt as completeConversationWork, dt as ackMessages, gt as checkInConversationWork, jt as releaseConversationWork, kt as recordAttemptFailure, mt as beginConversationResume, wt as ensureConversationWake, xt as countPendingConversationMessages, yt as completeConversationStop, zt as hasConversationStop } from "./stats-BvNqVRdB.js";
2
+ import { b as isProviderRetryError } from "./client-BV3_abpr.js";
3
+ import { S as withLogContext, d as logInfo, f as logWarn, u as logException } from "./logging-CtfUmyiN.js";
4
+ import { a as getChatConfig } from "./config-DceVK986.js";
5
+ import { At as recordConversationRetry, Ct as drainConversationMailbox, Et as getConversationWorkState, Ft as startConversationWork, Ht as isInvalidConversationRecordError, Nt as requestAnotherSlice, St as deadLetterAttempt, Vt as isFinalAttempt, _t as clearConsumedConversationWake, bt as completeConversationWork, dt as ackMessages, gt as checkInConversationWork, jt as releaseConversationWork, kt as recordAttemptFailure, mt as beginConversationResume, wt as ensureConversationWake, xt as countPendingConversationMessages, yt as completeConversationStop, zt as hasConversationStop } from "./stats-BjipUP7p.js";
6
6
  import { c as ConversationQueueMessageRejectedError } from "./vercel-queue-DIkVcfK4.js";
7
- import { a as getTurnRequestDeadline } from "./job-queue-C8FZ3LSY.js";
7
+ import { a as getTurnRequestDeadline } from "./job-queue-DwA7xmCQ.js";
8
8
  //#region src/chat/task-execution/worker.ts
9
9
  var worker_exports = /* @__PURE__ */ __exportAll({
10
10
  CONVERSATION_WORK_DEFER_DELAY_MS: () => CONVERSATION_WORK_DEFER_DELAY_MS,
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sentry/junior",
3
- "version": "0.217.0",
3
+ "version": "0.218.0",
4
4
  "private": false,
5
5
  "publishConfig": {
6
6
  "access": "public"
@@ -85,7 +85,7 @@
85
85
  "pg": "^8.16.3",
86
86
  "yaml": "^2.9.0",
87
87
  "zod": "^4.5.4",
88
- "@sentry/junior-plugin-api": "0.217.0"
88
+ "@sentry/junior-plugin-api": "0.218.0"
89
89
  },
90
90
  "devDependencies": {
91
91
  "@emnapi/core": "^1.10.0",
@@ -104,9 +104,9 @@
104
104
  "typescript": "^6.0.3",
105
105
  "vercel": "^54.4.0",
106
106
  "vitest": "^4.1.7",
107
- "@sentry/junior-github": "0.217.0",
108
- "@sentry/junior-memory": "0.217.0",
109
- "@sentry/junior-testing": "0.0.0"
107
+ "@sentry/junior-github": "0.218.0",
108
+ "@sentry/junior-testing": "0.0.0",
109
+ "@sentry/junior-memory": "0.218.0"
110
110
  },
111
111
  "scripts": {
112
112
  "build": "tsdown",