@sentry/junior 0.239.0 → 0.241.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.
- package/dist/{admin-Cc-iA6z9.js → admin-CJkjl-aN.js} +1 -1
- package/dist/{agent-hooks-DzfA5m3R.js → agent-hooks-C5zYOaJk.js} +1972 -1866
- package/dist/{agent-runner--1wC26S6.js → agent-runner-CMZ6lFQe.js} +377 -1227
- package/dist/api/schema.d.ts +9 -0
- package/dist/api/schema.js +2 -2
- package/dist/api.d.ts +1 -1
- package/dist/api.js +22 -21
- package/dist/{app-FB2hmHpZ.d.ts → app-MEd7wbF0.d.ts} +1 -1
- package/dist/app.d.ts +1 -1
- package/dist/app.js +105 -31
- package/dist/{automation-CrQGQ2MT.js → automation-gznOMaQ2.js} +13 -255
- package/dist/{briefs-DGc2Thua.js → briefs-CsQbFjRi.js} +2 -2
- package/dist/cadence-D00SCzT1.js +256 -0
- package/dist/{catalog-runtime-DpB_hG_I.js → catalog-runtime-Tz0O2MZe.js} +1 -1
- package/dist/cli/chat.js +12 -12
- package/dist/cli/check.js +3 -3
- package/dist/cli/main.js +2 -2
- package/dist/cli/plugins.js +4 -4
- package/dist/cli/snapshot-create.js +3 -3
- package/dist/cli/upgrade.d.ts +1 -1
- package/dist/cli/upgrade.js +3 -3
- package/dist/{client-DNf-sJmM.js → client-CRZ-i1tH.js} +2 -2
- package/dist/{config-B8QN-04U.js → config-CCI82OTD.js} +2 -2
- package/dist/{conversation-privacy-CrYizZM3.js → conversation-privacy-D5Byl5eC.js} +1 -1
- package/dist/{credential-sync-BG_Yvja8.js → credential-sync-DUpSxUum.js} +14 -14
- package/dist/{db-CWZP77Ex.d.ts → db-Ca9Nt5ci.d.ts} +1 -1
- package/dist/{executor-BQV1Zc1z.js → executor-CewKi7EG.js} +4 -2
- package/dist/{images-C_0iwPsW.js → images-DY6Pxq4w.js} +2 -2
- package/dist/instrumentation.js +2 -2
- package/dist/{job-queue-D82gksYM.js → job-queue-C6o2aJQ6.js} +1 -1
- package/dist/{logging-Crg0e1jb.js → logging-LQnLlPf8.js} +1 -1
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +3 -3
- package/dist/{oauth-authorization-Bdu39G-H.js → oauth-authorization-Clzkm-Ts.js} +1 -1
- package/dist/{oauth-callback-server-eJfI6skP.js → oauth-callback-server-DcYAJSEz.js} +2 -2
- package/dist/{pending-auth-DauOaies.js → pending-auth-CT3ojhKe.js} +2 -2
- package/dist/{profile-XzHSfIah.js → profile-mWuVZ8ht.js} +4 -4
- package/dist/{registry-BJME30oR.js → registry-DPDH6s5G.js} +1 -1
- package/dist/{resolve-ZKXfsZuZ.js → resolve-BAN8BSGy.js} +2 -2
- package/dist/{runner-DkHL8vRA.js → runner-CqXZJfzk.js} +9 -9
- package/dist/{sandbox-egress-signals-BEQsK7ym.js → sandbox-egress-signals-DFUUokws.js} +1 -1
- package/dist/{schema-CxWAN2zq.js → schema-Cabm4jcj.js} +1 -1
- package/dist/{skills-CMl248J3.js → skills-BtHhSATy.js} +2 -2
- package/dist/{spawn-DrvZYrTQ.js → spawn-BszkFJKJ.js} +2 -2
- package/dist/{store-BxxbxBlm.d.ts → store-DoewL5mG.d.ts} +0 -7
- package/dist/{task-queue-BMzTARMo.js → task-queue-1LP6benz.js} +3 -3
- package/dist/{task-runner-CXTpWSmw.js → task-runner-kLN3HC-_.js} +54 -12
- package/dist/{checkpoint-CN7yMfSo.js → tasks-CO52vLkI.js} +1064 -18
- package/dist/{thread-state-BM1sLptE.js → thread-state-CaFRG5Mh.js} +6 -6
- package/dist/{turn-failure-response-ISrbka5I.js → turn-failure-response-Dmovuiq1.js} +9 -8
- package/dist/{turn-lifecycle-f7TPxQsc.js → turn-lifecycle-DGqZgU6J.js} +1 -1
- package/dist/{turn-session-routing-BcAD7onh.js → turn-session-routing-B_v8Wbn4.js} +1 -1
- package/dist/{validation-Bo6BHmig.js → validation-B4L2Rmiw.js} +1 -1
- package/dist/{version-Cv__n5ue.js → version-DiR36OaN.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-EftpWXcF.js → viewer-D6stAU7h.js} +9 -11
- package/dist/{web-authorization-BLDXKk2u.js → web-authorization-DLMBx2nL.js} +6 -6
- package/dist/{web-input-DSa6geKr.js → web-input---xuox1t.js} +136 -147
- package/dist/{work-WOk5DovU.js → work-G-HdoOSF.js} +7 -7
- package/dist/{worker-B7rtMFzw.js → worker-CDUDfL9P.js} +5 -5
- package/migrations/0049_event_automation_status_reason.sql +1 -0
- package/migrations/meta/0049_snapshot.json +3581 -0
- package/migrations/meta/_journal.json +8 -1
- package/package.json +5 -5
|
@@ -1,11 +1,11 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
|
|
2
|
-
import {
|
|
3
|
-
import { c as getConversationEventStore, f as getSqlExecutor, u as getConversationStore } from "./viewer-
|
|
4
|
-
import { m as juniorAgentInvocations, p as juniorAgentBindings } from "./executor-
|
|
5
|
-
import {
|
|
6
|
-
import { d as getConversationTurnBoundaryError, l as TurnInputCommitLostError, p as isTurnInputCommitLostError, r as getAssistantReplyText } from "./oauth-authorization-
|
|
7
|
-
import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-
|
|
8
|
-
import { n as getPersistedSandboxState, o as persistThreadStateById, r as getPersistedThreadState } from "./thread-state-
|
|
2
|
+
import { G as AgentInvocationBusyError, H as agentBindingSchema, K as AgentInvocationLimitError, U as agentInvocationSchema, W as createAgentInvocationSchema, it as appendAndEnqueueInboundMessage, m as PluginCredentialFailureError, tn as AuthorizationFlowDisabledError } from "./agent-runner-CMZ6lFQe.js";
|
|
3
|
+
import { c as getConversationEventStore, f as getSqlExecutor, u as getConversationStore } from "./viewer-D6stAU7h.js";
|
|
4
|
+
import { m as juniorAgentInvocations, p as juniorAgentBindings } from "./executor-CewKi7EG.js";
|
|
5
|
+
import { Dt as openConversationProjection, K as saveTurnCheckpoint, X as getTurnRecord, Y as failTurnRecord, ot as getTerminalAssistantMessages } from "./tasks-CO52vLkI.js";
|
|
6
|
+
import { d as getConversationTurnBoundaryError, l as TurnInputCommitLostError, p as isTurnInputCommitLostError, r as getAssistantReplyText } from "./oauth-authorization-Clzkm-Ts.js";
|
|
7
|
+
import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-DGqZgU6J.js";
|
|
8
|
+
import { n as getPersistedSandboxState, o as persistThreadStateById, r as getPersistedThreadState } from "./thread-state-CaFRG5Mh.js";
|
|
9
9
|
import { z } from "zod";
|
|
10
10
|
import { createHash } from "node:crypto";
|
|
11
11
|
import { and, asc, count, eq, inArray } from "drizzle-orm";
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
|
|
2
|
-
import { At as
|
|
3
|
-
import { v as isProviderRetryError } from "./client-
|
|
4
|
-
import { C as withLogContext, d as logException, f as logInfo, p as logWarn } from "./logging-
|
|
5
|
-
import { i as getChatConfig } from "./config-
|
|
6
|
-
import { f as getTurnRequestDeadline, m as ConversationQueueMessageRejectedError } from "./job-queue-
|
|
2
|
+
import { At as hasConversationStop, Et as startConversationWork, Mt as isFinalAttempt, Nt as isInvalidConversationRecordError, St as releaseConversationWork, _t as getConversationWorkState, at as beginConversationResume, bt as recordAttemptFailure, ct as clearConsumedConversationWake, dt as completeConversationWork, ft as countPendingConversationMessages, ht as ensureConversationWake, mt as drainConversationMailbox, nt as ackMessages, pt as deadLetterAttempt, st as checkInConversationWork, ut as completeConversationStop, wt as requestAnotherSlice, xt as recordConversationRetry } from "./agent-runner-CMZ6lFQe.js";
|
|
3
|
+
import { v as isProviderRetryError } from "./client-CRZ-i1tH.js";
|
|
4
|
+
import { C as withLogContext, d as logException, f as logInfo, p as logWarn } from "./logging-LQnLlPf8.js";
|
|
5
|
+
import { i as getChatConfig } from "./config-CCI82OTD.js";
|
|
6
|
+
import { f as getTurnRequestDeadline, m as ConversationQueueMessageRejectedError } from "./job-queue-C6o2aJQ6.js";
|
|
7
7
|
//#region src/chat/task-execution/worker.ts
|
|
8
8
|
var worker_exports = /* @__PURE__ */ __exportAll({
|
|
9
9
|
CONVERSATION_WORK_DEFER_DELAY_MS: () => CONVERSATION_WORK_DEFER_DELAY_MS,
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
ALTER TABLE "junior_event_tasks" ADD COLUMN "status_reason" text;
|