@sentry/junior 0.246.0 → 0.248.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-Bh-MYw-j.js → admin-BlHz8fGl.js} +1 -1
- package/dist/{agent-hooks-DpklSWZg.js → agent-hooks-DWCHBPYw.js} +25 -12
- package/dist/{agent-invocations-BO6ddZax.js → agent-invocations-D_YoNnAn.js} +8 -2
- package/dist/{agent-runner-DSKpHjHW.js → agent-runner-CnlFtbzb.js} +608 -2434
- package/dist/api/schema.d.ts +171 -3
- package/dist/api/schema.js +3 -3
- package/dist/api.js +219 -153
- package/dist/{app-BYB7szGb.d.ts → app-B0gT1Slp.d.ts} +11 -2
- package/dist/app.d.ts +1 -1
- package/dist/app.js +30 -27
- package/dist/assistant-reply-BxCi7V4v.js +45 -0
- package/dist/{briefs-cZ5vWqP_.js → briefs-CdkIl79U.js} +4 -4
- package/dist/{catalog-runtime-CTaQXYqS.js → catalog-runtime-CTBsdSam.js} +1 -1
- package/dist/cli/chat.js +22 -16
- 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.js +3 -3
- package/dist/{client--xtsAxKP.js → client-CWQtbizj.js} +2 -2
- package/dist/{config-BK53Ip5C.js → config-aitDvTQm.js} +16 -9
- package/dist/{conversation-CvBG57Io.js → conversation-Cjo9tHGm.js} +85 -1
- package/dist/{conversation-privacy-BDBFw6Ws.js → conversation-privacy-BsqXHVBz.js} +1 -1
- package/dist/{credential-sync-BiuhC9Ds.js → credential-sync-DqZF735a.js} +14 -14
- package/dist/{executor-bmmuRY-w.js → executor-oIZAkQZb.js} +3 -3
- package/dist/{images-DZliDtSH.js → images-Dzh3RBXY.js} +4 -21
- package/dist/instrumentation.js +2 -2
- package/dist/{job-queue-Cz3M7gg4.js → job-queue-DyA2AEnY.js} +1 -1
- package/dist/{logging-DVtMYOdD.js → logging-OpC2jwiV.js} +1 -1
- package/dist/message-EyMrVXEf.js +59 -0
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +3 -3
- package/dist/{oauth-authorization-By_MVRDC.js → oauth-authorization-BA4Dt6a7.js} +1 -45
- package/dist/{oauth-callback-server-BrUo6w1e.js → oauth-callback-server-ClDv9Z5Y.js} +2 -2
- package/dist/{pending-auth-BuQLZ6dK.js → pending-auth-D_nf121N.js} +2 -2
- package/dist/{profile-BevMNSlr.js → profile-Dfg76pvk.js} +4 -4
- package/dist/{prompt-C9Q9cjD3.js → prompt-C7bRJ2vg.js} +1 -1
- package/dist/{registry-C2rSEio1.js → registry-fpIZHoqE.js} +1 -1
- package/dist/{resolve-qPhrznTf.js → resolve-LMCZhQVg.js} +2 -2
- package/dist/result-C1ZCRPLx.js +463 -0
- package/dist/{runner-CNh5eMWx.js → runner-DNZMviFH.js} +11 -10
- package/dist/{sandbox-egress-signals-BnDEKu8d.js → sandbox-egress-signals-Dcc-mwkl.js} +1 -1
- package/dist/{schema-BWMRg8JS.js → schema-BRZsYL5-.js} +5 -4
- package/dist/session-stop-dyvsZDB0.js +782 -0
- package/dist/{skills-C6zJbudq.js → skills-BgGiQt5Y.js} +2 -2
- package/dist/{spawn-C3efZSx3.js → spawn-CpqxMPWE.js} +3 -2
- package/dist/store-OMQAFrJG.js +1417 -0
- package/dist/{task-queue-BX4vG6uA.js → task-queue-SWsXPSp-.js} +3 -3
- package/dist/{task-runner-T51kll0U.js → task-runner-BOxv7shv.js} +11 -11
- package/dist/{tasks-B9OIjl2K.js → tasks-DREdnhVP.js} +49 -16
- package/dist/{thread-state-AGZtVyXp.js → thread-state-BoNCtSwk.js} +7 -7
- package/dist/{turn-failure-response-DJ8KU2bo.js → turn-failure-response-C6jrCPjc.js} +9 -9
- package/dist/{turn-lifecycle-DZJkJ95q.js → turn-lifecycle-cQFsZFOU.js} +1 -1
- package/dist/{turn-session-routing-mRqLbMZW.js → turn-session-routing-Ba12fwXz.js} +1 -1
- package/dist/{validation-Dg0Ihxzo.js → validation-Dmfh2cTj.js} +1 -1
- package/dist/{version-Deub4try.js → version-ByV7nGOn.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-D5hbx6TE.js → viewer-CX41TWYr.js} +4 -4
- package/dist/{web-authorization-DCxixz5S.js → web-authorization-rDLlKIS0.js} +6 -6
- package/dist/{web-input-0sorYVLh.js → web-input-Bn9HHZEo.js} +43 -208
- package/dist/{work-rm2X7jj4.js → work-CvFoEpRT.js} +90 -14
- package/dist/{worker-bnGsAOP3.js → worker-CI5B63vk.js} +7 -7
- package/migrations/0053_conversation_stopped_at.sql +1 -0
- package/migrations/0054_flowery_rage.sql +1 -0
- package/migrations/meta/0053_snapshot.json +3771 -0
- package/migrations/meta/0054_snapshot.json +3777 -0
- package/migrations/meta/_journal.json +14 -0
- package/package.json +6 -5
- package/dist/message-BSN-Ma5f.js +0 -317
|
@@ -1,13 +1,14 @@
|
|
|
1
|
-
import { C as withLogContext, b as setTags, d as logException } from "./logging-
|
|
2
|
-
import { c as getConversationEventStore, u as getConversationStore } from "./viewer-
|
|
3
|
-
import { d as credentialContextForActor } from "./registry-
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import { n as
|
|
8
|
-
import { t as
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
1
|
+
import { C as withLogContext, b as setTags, d as logException } from "./logging-OpC2jwiV.js";
|
|
2
|
+
import { c as getConversationEventStore, u as getConversationStore } from "./viewer-CX41TWYr.js";
|
|
3
|
+
import { d as credentialContextForActor } from "./registry-fpIZHoqE.js";
|
|
4
|
+
import { At as loadProjection, Gt as hydrateConversationMessages, J as saveTurnCheckpoint, Kt as persistConversationMessages, Lt as recordAuthorizationCompleted, Tt as commitAcceptedReply, an as markConversationMessage, en as buildConversationContext, ln as upsertConversationMessage, on as normalizeConversationText, sn as recordDeliveredAssistantMessage, tt as persistWithRetry } from "./tasks-DREdnhVP.js";
|
|
5
|
+
import { K as messageCardText } from "./conversation-Cjo9tHGm.js";
|
|
6
|
+
import { f as markTurnFailed, p as startActiveTurn, t as authorizationId } from "./oauth-authorization-BA4Dt6a7.js";
|
|
7
|
+
import { n as getAssistantReplyText } from "./assistant-reply-BxCi7V4v.js";
|
|
8
|
+
import { n as scheduleSessionCompletedPluginTasks, t as processPluginTask } from "./task-runner-BOxv7shv.js";
|
|
9
|
+
import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-cQFsZFOU.js";
|
|
10
|
+
import { n as getPersistedSandboxState, o as persistThreadStateById, r as getPersistedThreadState, s as coerceThreadConversationState } from "./thread-state-BoNCtSwk.js";
|
|
11
|
+
import { d as loadPendingMessageCards, i as completeAuthPauseTurn, l as buildDeliveredTurnStatePatch, t as finalizeFailedTurnReplyWithEvent } from "./turn-failure-response-C6jrCPjc.js";
|
|
11
12
|
import { randomUUID } from "node:crypto";
|
|
12
13
|
import { createLocalSource, localDestinationSchema } from "@sentry/junior-plugin-api";
|
|
13
14
|
//#region src/chat/local/runner.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { At as sandboxEgressSignalsResponseSchema } from "./agent-runner-CnlFtbzb.js";
|
|
2
2
|
//#region src/chat/local/sandbox-egress-signals.ts
|
|
3
3
|
const SANDBOX_EGRESS_SIGNALS_PATH = "/api/internal/sandbox-egress/signals";
|
|
4
4
|
const LOCAL_DEV_SERVER_TIMEOUT_MS = 1e3;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { r as AGENT_INVOCATION_STATUSES, u as juniorDestinationKindSchema } from "./agent-invocations-
|
|
2
|
-
import { D as conversationUsageSchema, E as conversationSummaryReportSchema, l as conversationAuxiliaryCostsSchema, n as actorIdentitySchema, w as conversationStatsItemSchema } from "./conversation-
|
|
1
|
+
import { r as AGENT_INVOCATION_STATUSES, u as juniorDestinationKindSchema } from "./agent-invocations-D_YoNnAn.js";
|
|
2
|
+
import { D as conversationUsageSchema, E as conversationSummaryReportSchema, M as conversationChildAgentTotalsSchema, l as conversationAuxiliaryCostsSchema, n as actorIdentitySchema, w as conversationStatsItemSchema } from "./conversation-Cjo9tHGm.js";
|
|
3
3
|
import "./automation-gznOMaQ2.js";
|
|
4
4
|
import { a as fillUtcHours, c as sumUtcHoursIntoSixHours, i as fillUtcDays } from "./web-message-id-xPI_EFSC.js";
|
|
5
5
|
import { z } from "zod";
|
|
@@ -33,11 +33,12 @@ const stopConversationTurnResponseSchema = z.object({
|
|
|
33
33
|
* One direct child agent of a Conversation, from agent invocation records.
|
|
34
34
|
*
|
|
35
35
|
* Viewers who cannot see private content get the status, time, and usage, but
|
|
36
|
-
* not the name, task, title, or error. Usage covers the child Conversation
|
|
37
|
-
*
|
|
36
|
+
* not the name, task, title, or error. Usage covers the child Conversation and
|
|
37
|
+
* all its own child agents, like the detail of that child Conversation.
|
|
38
38
|
*/
|
|
39
39
|
const conversationChildAgentSchema = z.object({
|
|
40
40
|
auxiliaryCosts: conversationAuxiliaryCostsSchema.optional(),
|
|
41
|
+
childAgentTotals: conversationChildAgentTotalsSchema.optional(),
|
|
41
42
|
conversationId: z.string().min(1),
|
|
42
43
|
cumulativeDurationMs: z.number(),
|
|
43
44
|
cumulativeUsage: conversationUsageSchema.optional(),
|