@sentry/junior 0.279.0 → 0.280.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/{actor-B4DYygOB.js → actor-6jsm_v96.js} +1 -1
- package/dist/{adapter-phTTgw7H.js → adapter-DVN3iwf9.js} +1 -1
- package/dist/{admin-PcpJDugZ.js → admin-Q_UI--9W.js} +1 -1
- package/dist/{agent-runner-DwvT1BY0.js → agent-runner-_PYLv4Qo.js} +26 -27
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +7 -7
- package/dist/api.d.ts +3 -3
- package/dist/api.js +181 -85
- package/dist/{app-DVs6noo7.d.ts → app-CL2zzzE0.d.ts} +4 -4
- package/dist/app.d.ts +1 -1
- package/dist/app.js +33 -34
- package/dist/{assistant-reply-BXfxczd7.js → assistant-reply-DbebsAxi.js} +1 -1
- package/dist/{automation-BehArCcq.js → automation-CPqRFjIa.js} +2 -2
- package/dist/{background-compaction-queue-CcbuLJrZ.js → background-compaction-queue-B9lmh8Ml.js} +3 -3
- package/dist/{briefs-Dd_ezwED.js → briefs-Dej7V0Bz.js} +5 -5
- package/dist/{catalog-runtime-BWVMeZhW.js → catalog-runtime-DpN0sWQ6.js} +1 -1
- package/dist/cli/chat.js +15 -15
- package/dist/cli/check.js +3 -3
- package/dist/cli/main.js +3 -3
- package/dist/cli/plugins.js +4 -4
- package/dist/cli/snapshot-create.js +4 -4
- package/dist/cli/upgrade.d.ts +1 -1
- package/dist/cli/upgrade.js +3 -3
- package/dist/{client-Bpxe4vKa.js → client-h2A2ZPzY.js} +2 -2
- package/dist/{config-C_bmRhrJ.js → config-CusBFORe.js} +2 -2
- package/dist/{connections-B2rHe5W5.js → connections-C4h6mGha.js} +11 -11
- package/dist/{conversation-CIiJtx5q.js → conversation-DExTZw8B.js} +16 -6
- package/dist/{conversation-pending-messages-CnBvE6-6.js → conversation-pending-messages-Dgz6hrJs.js} +2 -2
- package/dist/{conversation-privacy-CzOfcz0U.js → conversation-privacy-2cm6OpNg.js} +1 -1
- package/dist/{credential-sync-Dal_unpv.js → credential-sync-DK06Jgt-.js} +16 -16
- package/dist/{db-CyLrV9C7.d.ts → db-Dsvk1Tp1.d.ts} +2 -2
- package/dist/{executor-BfYH-Wws.js → executor-Cmr0J8W3.js} +149 -6
- package/dist/instrumentation.js +2 -2
- package/dist/{logging-CkT3_Xxp.js → logging-CGnh65_X.js} +1 -1
- package/dist/{media-DTAA8Qs_.js → media-Dq9_svfQ.js} +1 -1
- package/dist/{message-Q5dkgaJ5.js → message-RpAnqHPY.js} +9 -9
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +3 -3
- package/dist/{oauth-callback-server-BDRaqe8O.js → oauth-callback-server-BBnhVKuX.js} +2 -2
- package/dist/{oauth-relay-D0G3T16m.js → oauth-relay-D6xxVywK.js} +1 -1
- package/dist/{projection-DWxX7pb1.js → projection-C1MghKyI.js} +148 -106
- package/dist/{prompt--dwus7Y-.js → prompt-BcHg-BMy.js} +2 -2
- package/dist/{queue-C37RbDVc.d.ts → queue-CZyYgPF0.d.ts} +1 -1
- package/dist/{registry-DnrdeO4s.js → registry-DR7DjX9H.js} +3 -3
- package/dist/{reporting-window-DgHgwQB3.js → reporting-window-B-QP9zX1.js} +28 -2
- package/dist/{resolve-C_QXfqD_.js → resolve-0Ful4oDv.js} +4 -4
- package/dist/{result-DNmOxT-N.js → result-Dd9kCuQ-.js} +11 -11
- package/dist/{runner-zd_noJ1l.js → runner-yiY8gUUu.js} +11 -11
- package/dist/{sandbox-egress-signals-DQjv-nbG.js → sandbox-egress-signals-BzQVHCMz.js} +1 -1
- package/dist/{schema-e90H5FIN.d.ts → schema-BkMmF552.d.ts} +28 -5
- package/dist/{schema-CNJNzvr8.js → schema-C5pEgfHc.js} +30 -7
- package/dist/{service-account-BK26XlHo.js → service-account-Cu7HFLZQ.js} +3 -3
- package/dist/{service-account-CCH2Hv4h.js → service-account-PIMpWZHF.js} +3 -3
- package/dist/{session-stop-6Tf--T7G.js → session-stop-CDEMsNtv.js} +13 -14
- package/dist/{skills-BNrk8gi4.js → skills-B2xIoe0f.js} +3 -3
- package/dist/{spawn-C75hAB9l.js → spawn-C0DySQRV.js} +2 -2
- package/dist/{stop-RYbf7PWi.js → stop-Dj5-nrAo.js} +255 -144
- package/dist/{store-CO5vGjwD.js → store-Dlio-o6u.js} +6 -6
- package/dist/{store-G3h2djJU.js → store-QzOfDwKA.js} +3 -3
- package/dist/{task-queue-DlN58XeM.js → task-queue-Cp1V_XW3.js} +4 -4
- package/dist/{task-runner-B-Bdm23d.js → task-runner-CQkkUj3o.js} +8 -8
- package/dist/{thread-state-Cj_7Slru.js → thread-state-Bn87cfzE.js} +4 -4
- package/dist/{turn-failure-response-CE7gaoC7.js → turn-failure-response-CQebxByj.js} +8 -8
- package/dist/{turn-lifecycle-7sXwXLJ6.js → turn-lifecycle-CJJsOhXB.js} +1 -1
- package/dist/{turn-session-routing-FBdaH1zf.js → turn-session-routing-bmG330Cf.js} +10 -11
- package/dist/{validation-DLWxEzWW.js → validation-D1wcf7hp.js} +1 -1
- package/dist/{version-DtQ8WFIZ.js → version-BeHSXUK6.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-vsM8_90o.js → viewer-BZ0Hp5Nb.js} +5 -6
- package/dist/{work-DsoFRO_0.js → work-BTcCIbWu.js} +12 -12
- package/dist/{worker-6kZEsCXs.js → worker-D3fDK6zc.js} +6 -6
- package/package.json +5 -5
- package/dist/agent-invocations-CUg_SODU.js +0 -181
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as z from "zod";
|
|
2
2
|
import { ConversationAnnotation, OwnedObjectAnnotation, OwnedObjectAnnotation as OwnedObjectAnnotation$1 } from "@sentry/junior-plugin-api";
|
|
3
3
|
declare const INPUT_IMAGE_TYPES: readonly ["image/png", "image/jpeg", "image/gif", "image/webp"];
|
|
4
4
|
/** Bound JSON image input below the hosting platform's request size limit. */
|
|
@@ -472,13 +472,14 @@ declare const conversationParamsSchema: z.ZodObject<{
|
|
|
472
472
|
conversationId: z.ZodString;
|
|
473
473
|
}, z.core.$strict>;
|
|
474
474
|
declare const conversationDetailQuerySchema: z.ZodObject<{
|
|
475
|
-
limit: z.
|
|
475
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
476
476
|
unreadPage: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodBoolean>>;
|
|
477
477
|
mailbox: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodBoolean>>;
|
|
478
478
|
}, z.core.$strict>;
|
|
479
479
|
/**
|
|
480
480
|
* Page toward the start with `before`, toward the latest with `after`, or
|
|
481
|
-
* both ways from one event with `around`.
|
|
481
|
+
* both ways from one event with `around`. A link target asks for the page
|
|
482
|
+
* around one event by its `event` seq, or around the start of a `turn`.
|
|
482
483
|
*/
|
|
483
484
|
declare const conversationEventsQuerySchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
484
485
|
before: z.ZodString;
|
|
@@ -489,6 +490,12 @@ declare const conversationEventsQuerySchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
489
490
|
}, z.core.$strict>, z.ZodObject<{
|
|
490
491
|
around: z.ZodString;
|
|
491
492
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
493
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
494
|
+
event: z.ZodCoercedNumber<unknown>;
|
|
495
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
496
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
497
|
+
turn: z.ZodString;
|
|
498
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
492
499
|
}, z.core.$strict>]>;
|
|
493
500
|
declare const conversationFeedQuerySchema: z.ZodObject<{
|
|
494
501
|
actorEmail: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
@@ -4174,12 +4181,28 @@ type StopConversationTurnResponse = z.infer<typeof stopConversationTurnResponseS
|
|
|
4174
4181
|
*
|
|
4175
4182
|
* `lastReadSeq` is the event sequence of the last transcript row the viewer
|
|
4176
4183
|
* saw. The server keeps the highest value it receives, so it only moves
|
|
4177
|
-
* forward.
|
|
4184
|
+
* forward. It is never before the viewer's own latest Message.
|
|
4178
4185
|
*/
|
|
4179
4186
|
declare const conversationReadPositionSchema: z.ZodObject<{
|
|
4180
4187
|
lastReadSeq: z.ZodNumber;
|
|
4181
4188
|
}, z.core.$strict>;
|
|
4182
4189
|
type ConversationReadPosition = z.infer<typeof conversationReadPositionSchema>;
|
|
4190
|
+
/**
|
|
4191
|
+
* The unread rows to summarize: every event after `afterSeq`, through
|
|
4192
|
+
* `throughSeq`. The dashboard sends the range from when the Conversation
|
|
4193
|
+
* opened, so rows that arrive later do not change the summary.
|
|
4194
|
+
*/
|
|
4195
|
+
declare const conversationCatchUpBodySchema: z.ZodObject<{
|
|
4196
|
+
afterSeq: z.ZodNumber;
|
|
4197
|
+
throughSeq: z.ZodNumber;
|
|
4198
|
+
}, z.core.$strict>;
|
|
4199
|
+
/** A short summary of the unread rows, and what waits on the reader. */
|
|
4200
|
+
declare const conversationCatchUpSchema: z.ZodObject<{
|
|
4201
|
+
needsYou: z.ZodOptional<z.ZodString>;
|
|
4202
|
+
summary: z.ZodString;
|
|
4203
|
+
}, z.core.$strict>;
|
|
4204
|
+
type ConversationCatchUpBody = z.infer<typeof conversationCatchUpBodySchema>;
|
|
4205
|
+
type ConversationCatchUp = z.infer<typeof conversationCatchUpSchema>;
|
|
4183
4206
|
/** Pin or unpin one Conversation for the signed-in viewer. */
|
|
4184
4207
|
declare const pinConversationBodySchema: z.ZodObject<{
|
|
4185
4208
|
pinned: z.ZodBoolean;
|
|
@@ -7292,4 +7315,4 @@ declare const reviewItemActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7292
7315
|
}, z.core.$strict>;
|
|
7293
7316
|
}, z.core.$strict>], "action">;
|
|
7294
7317
|
type ReviewItemActionBody = z.output<typeof reviewItemActionSchema>;
|
|
7295
|
-
export { automationExecutionSchema as $,
|
|
7318
|
+
export { automationExecutionSchema as $, CancelConversationPendingMessagesResponse as $n, createConversationBodySchema as $r, LocationParams as $t, StatReport as A, UserInputRequest as Ai, pinConversationResponseSchema as An, ConversationReportStatus as Ar, PersonalTokenMetadata as At, AutomationListQuery as B, ConversationStatsItem as Bn, conversationActivityPreviewSchema as Br, serviceAccountSchema as Bt, pluginPackageContentItemReportSchema as C, MessageCard as Ci, ConversationChildAgent as Cn, ConversationEventPage as Cr, workspaceBodySchema as Ct, runtimeInfoReportSchema as D, USER_INPUT_NOTE as Di, PinConversationBody as Dn, ConversationReportEvent as Dr, workspaceSchema as Dt, pluginsSchema as E, AutomationCard as Ei, conversationChildAgentsReportSchema as En, ConversationParams as Er, workspaceRepoSchema as Et, AutomationExecution as F, InputImage as Fi, ConversationReadPosition as Fn, ConversationTurnFailureReason as Fr, personalTokenParamsSchema as Ft, AutomationSummary as G, ArchiveConversationBody as Gn, conversationEventPageSchema as Gr, disconnectConnectionResponseSchema as Gt, AutomationRunList as H, GuardianMetricDay as Hn, conversationDetailQuerySchema as Hr, connectionListSchema as Ht, AutomationExecutionDay as I, MAX_INPUT_IMAGES as Ii, conversationReadPositionSchema as In, ConversationUsage as Ir, revokePersonalTokenResponseSchema as It, ListedAutomationVersion as J, archiveConversationBodySchema as Jn, conversationFeedSchema as Jr, apiErrorSchema as Jt, AutomationUpdate as K, ArchiveConversationResponse as Kn, conversationEventsQuerySchema as Kr, startConnectionResponseSchema as Kt, AutomationExecutionList as L, MAX_INPUT_IMAGE_BYTES as Li, StopConversationTurnResponse as Ln, CreateConversationBody as Lr, disconnectServiceAccountResponseSchema as Lt, statSchema as M, isEmptyUserInputAnswer as Mi, ConversationCatchUpBody as Mn, ConversationSummaryReport as Mr, createdPersonalTokenSchema as Mt, statsReportSchema as N, normalizeUserInputAnswer as Ni, conversationCatchUpBodySchema as Nn, ConversationSurface as Nr, personalTokenListSchema as Nt, skillReportSchema as O, UserInputAnswer as Oi, PinConversationResponse as On, ConversationReportEventData as Or, USER_CUSTOMIZATION_MAX_CHARS as Ot, AutomationEdit as P, webMessageId as Pi, conversationCatchUpSchema as Pn, ConversationTurnFailureCode as Pr, personalTokenMetadataSchema as Pt, automationExecutionListSchema as Q, CancelConversationPendingMessagesBody as Qn, conversationSummaryReportSchema as Qr, LocationDirectoryReport as Qt, AutomationExecutionStatusDay as R, MessageAttachment as Ri, stopConversationTurnResponseSchema as Rn, CreateConversationMessageBody as Rr, serviceAccountListSchema as Rt, pluginOperationalReportSchema as S, dailyConversationActivitySchema as Si, conversationWatchesReportSchema as Sn, ConversationEventHistory as Sr, deleteWorkspaceResponseSchema as St, pluginSchema as T, resolveMessageCards as Ti, conversationChildAgentSchema as Tn, ConversationModelUsage as Tr, workspaceParamsSchema as Tt, AutomationRunWindows as U, GuardianStats as Un, conversationDetailReportSchema as Ur, connectionParamsSchema as Ut, AutomationRun as V, ConversationStatsReport as Vn, conversationAuxiliaryCostsSchema as Vr, startServiceAccountSignInResponseSchema as Vt, AutomationScheduleIntent as W, conversationStatsReportSchema as Wn, conversationEventHistorySchema as Wr, connectionSchema as Wt, automationEditSchema as X, archiveDoneConversationsResponseSchema as Xn, conversationReportEventDataSchema as Xr, LocationActorSummaryReport as Xt, automationEditErrorSchema as Y, archiveConversationResponseSchema as Yn, conversationParamsSchema as Yr, LocationActivityDayReport as Yt, automationEventCatalogSchema as Z, conversationAutoArchiveSchema as Zn, conversationReportEventSchema as Zr, LocationDetailReport as Zt, RuntimeInfoReport as _, codeRepositoryReportSchema as _i, personParamsSchema as _n, ConversationActivityPreview as _r, scheduledAutomationSummarySchema as _t, reviewItemCountSchema as a, CodeActivityDay as ai, ActorActivityDayReport as an, cancelConversationPendingMessagesBodySchema as ar, automationRunListSchema as at, healthReportSchema as b, conversationChildAgentTotalsSchema as bi, ConversationWatchesReport as bn, ConversationCost as br, WorkspaceReport as bt, reviewItemWaitingConversationsSchema as c, CodePersonReport as ci, ActorProfileReport as cn, conversationPendingAuthorizationSchema as cr, automationScheduleIntentSchema as ct, Plugin as d, codeActivityDaySchema as di, ActorWindowMetrics as dn, conversationPendingMessagesReportSchema as dr, automationUpdateSchema as dt, createConversationMessageBodySchema as ei, LocationSummaryReport as en, ConversationPendingMessage as er, automationExecutionStatusDaySchema as et, PluginOperationalReport as f, codeChangeSummaryReportSchema as fi, PeopleActivityDayReport as fn, steerConversationPendingMessagesBodySchema as fr, automationVersionActivateSchema as ft, Plugins as g, codeRepositoryParamsSchema as gi, actorProfileReportSchema as gn, CONVERSATION_DETAIL_VERSION_HEADER as gr, eventAutomationSummarySchema as gt, PluginPackageContentReport as h, codePersonReportSchema as hi, actorDirectoryReportSchema as hn, ActorIdentity as hr, automationVersionSchema as ht, reviewItemActionSchema as i, conversationTurnFailureReasonSchema as ii, locationParamsSchema as in, SteerConversationPendingMessagesResponse as ir, automationParamsSchema as it, StatsReport as j, buttonUserInputField as ji, ConversationCatchUp as jn, ConversationSourceTask as jr, createPersonalTokenBodySchema as jt, skillReportsSchema as k, UserInputField as ki, pinConversationBodySchema as kn, ConversationReportMessageEvent as kr, userCustomizationSchema as kt, ReviewItemChangeRecord as l, CodeRepositoryReport as li, ActorSummaryReport as ln, conversationPendingMessageDeliverySchema as lr, automationSchedulePreviewSchema as lt, PluginPackageContentItemReport as m, codeOverviewReportSchema as mi, PersonalSpendReport as mn, AcceptedConversationMessage as mr, automationVersionParamsSchema as mt, ReviewItemActionBody as n, forkConversationResponseSchema as ni, locationDetailReportSchema as nn, ConversationPendingMessagesReport as nr, automationListQuerySchema as nt, reviewItemListSchema as o, CodeChangeSummaryReport as oi, ActorDirectoryReport as on, cancelConversationPendingMessagesResponseSchema as or, automationRunSchema as ot, PluginOperationalReportFeed as p, codeChangeSummarySchema as pi, PersonParams as pn, steerConversationPendingMessagesResponseSchema as pr, automationVersionListSchema as pt, AutomationVersionList as q, ConversationAutoArchive as qn, conversationFeedQuerySchema as qr, ApiError as qt, ReviewItemPayload as r, conversationTurnFailureCodeSchema as ri, locationDirectoryReportSchema as rn, SteerConversationPendingMessagesBody as rr, automationListSchema as rt, reviewItemSchema as s, CodeOverviewReport as si, ActorDirectoryWindows as sn, conversationDetailWithMailboxReportSchema as sr, automationRunWindowsSchema as st, OwnedObjectAnnotation$1 as t, forkConversationBodySchema as ti, locationActivityDayReportSchema as tn, ConversationPendingMessageDelivery as tr, automationExecutionStatusSchema as tt, HealthReport as u, CodeRepositorySummary as ui, ActorTotalsReport as un, conversationPendingMessageSchema as ur, automationSummarySchema as ut, SkillReport as v, codeRepositorySummarySchema as vi, personalSpendReportSchema as vn, ConversationAgentTreeNode as vr, BaselineSnapshotReport as vt, pluginPackageContentReportSchema as w, messageCardText as wi, ConversationChildAgentsReport as wn, ConversationFeed as wr, workspaceListSchema as wt, pluginOperationalReportFeedSchema as x, DailyConversationActivity as xi, conversationWatchSchema as xn, ConversationDetailReport as xr, baselineSnapshotSchema as xt, SkillReports as y, ConversationChildAgentTotals as yi, ConversationWatch as yn, ConversationAuxiliaryCosts as yr, WorkspaceListReport as yt, AutomationList as z, INPUT_IMAGE_TYPES as zi, ConversationMetricDay as zn, acceptedConversationMessageSchema as zr, serviceAccountParamsSchema as zt };
|
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import "./
|
|
5
|
-
import "
|
|
6
|
-
import { z } from "zod";
|
|
1
|
+
import { E as conversationChildAgentTotalsSchema, o as conversationAuxiliaryCostsSchema, r as actorIdentitySchema, x as conversationUsageSchema, y as conversationSummaryReportSchema } from "./conversation-DExTZw8B.js";
|
|
2
|
+
import { C as AGENT_INVOCATION_STATUSES, i as fillUtcHours, r as fillUtcDays, s as sumUtcHoursIntoSixHours, y as userInputRequestSchema } from "./reporting-window-B-QP9zX1.js";
|
|
3
|
+
import "./automation-CPqRFjIa.js";
|
|
4
|
+
import "./conversation-pending-messages-Dgz6hrJs.js";
|
|
5
|
+
import * as z from "zod";
|
|
7
6
|
import { codeChangeStateSchema, eventMatchSchema } from "@sentry/junior-plugin-api";
|
|
7
|
+
// src/api/schema/conversation-catch-up.ts
|
|
8
|
+
/**
|
|
9
|
+
* The unread rows to summarize: every event after `afterSeq`, through
|
|
10
|
+
* `throughSeq`. The dashboard sends the range from when the Conversation
|
|
11
|
+
* opened, so rows that arrive later do not change the summary.
|
|
12
|
+
*/
|
|
13
|
+
const conversationCatchUpBodySchema = z.object({
|
|
14
|
+
afterSeq: z.number().int().nonnegative(),
|
|
15
|
+
throughSeq: z.number().int().nonnegative()
|
|
16
|
+
}).strict().refine((range) => range.throughSeq > range.afterSeq, { message: "throughSeq must be after afterSeq." });
|
|
17
|
+
/** A short summary of the unread rows, and what waits on the reader. */
|
|
18
|
+
const conversationCatchUpSchema = z.object({
|
|
19
|
+
needsYou: z.string().min(1).optional(),
|
|
20
|
+
summary: z.string().min(1)
|
|
21
|
+
}).strict();
|
|
8
22
|
// src/api/schema/conversation-pin.ts
|
|
9
23
|
/** Pin or unpin one Conversation for the signed-in viewer. */
|
|
10
24
|
const pinConversationBodySchema = z.object({ pinned: z.boolean() }).strict();
|
|
@@ -333,6 +347,15 @@ function activitySixHours(hours, nowMs) {
|
|
|
333
347
|
nowMs
|
|
334
348
|
});
|
|
335
349
|
}
|
|
350
|
+
// src/db/schema/destination-kind.ts
|
|
351
|
+
const juniorDestinationKindSchema = z.enum([
|
|
352
|
+
"channel",
|
|
353
|
+
"dm",
|
|
354
|
+
"group",
|
|
355
|
+
"local_conversation",
|
|
356
|
+
"thread",
|
|
357
|
+
"web_session"
|
|
358
|
+
]);
|
|
336
359
|
// src/api/schema/location.ts
|
|
337
360
|
const locationParamsSchema = z.object({ locationId: z.string().min(1) }).strict();
|
|
338
361
|
const locationSummaryReportSchema = conversationStatsItemSchema.extend({
|
|
@@ -649,4 +672,4 @@ const statsReportSchema = z.object({
|
|
|
649
672
|
windowEnd: z.string(),
|
|
650
673
|
windowStart: z.string()
|
|
651
674
|
}).strict();
|
|
652
|
-
export { codeRepositorySummarySchema as $, avatarParamsSchema as A, dailyConversationActivitySchema as B, createdPersonalTokenSchema as C, revokePersonalTokenResponseSchema as D, personalTokenParamsSchema as E, locationDirectoryReportSchema as F, startConnectionResponseSchema as G, connectionParamsSchema as H, locationParamsSchema as I, codeChangeSummarySchema as J, codeActivityDaySchema as K, activityDays as L, personalSpendReportSchema as M, locationActivityDayReportSchema as N, actorDirectoryReportSchema as O, locationDetailReportSchema as P, codeRepositoryReportSchema as Q, activityHours as R, createPersonalTokenBodySchema as S, personalTokenMetadataSchema as T, connectionSchema as U, connectionListSchema as V, disconnectConnectionResponseSchema as W, codePersonReportSchema as X, codeOverviewReportSchema as Y, codeRepositoryParamsSchema as Z, disconnectServiceAccountResponseSchema as _, workspaceBodySchema as a, conversationStatsReportSchema as at, serviceAccountSchema as b, workspaceRepoSchema as c, archiveDoneConversationsResponseSchema as ct, reviewItemCountSchema as d, pinConversationResponseSchema as dt, conversationWatchSchema as et, reviewItemListQuerySchema as f, reviewItemWaitingConversationsSchema as g, reviewItemSchema as h, deleteWorkspaceResponseSchema as i, stopConversationTurnResponseSchema as it, personParamsSchema as j, actorProfileReportSchema as k, workspaceSchema as l, conversationAutoArchiveSchema as lt, reviewItemParamsSchema as m, statsReportSchema as n, conversationChildAgentSchema as nt, workspaceListSchema as o, archiveConversationBodySchema as ot, reviewItemListSchema as p, codeChangeSummaryReportSchema as q, baselineSnapshotSchema as r, conversationChildAgentsReportSchema as rt, workspaceParamsSchema as s, archiveConversationResponseSchema as st, statSchema as t, conversationWatchesReportSchema as tt, reviewItemActionSchema as u, pinConversationBodySchema as ut, serviceAccountListSchema as v, personalTokenListSchema as w, startServiceAccountSignInResponseSchema as x, serviceAccountParamsSchema as y, activitySixHours as z };
|
|
675
|
+
export { codeRepositorySummarySchema as $, avatarParamsSchema as A, dailyConversationActivitySchema as B, createdPersonalTokenSchema as C, revokePersonalTokenResponseSchema as D, personalTokenParamsSchema as E, locationDirectoryReportSchema as F, startConnectionResponseSchema as G, connectionParamsSchema as H, locationParamsSchema as I, codeChangeSummarySchema as J, codeActivityDaySchema as K, activityDays as L, personalSpendReportSchema as M, locationActivityDayReportSchema as N, actorDirectoryReportSchema as O, locationDetailReportSchema as P, codeRepositoryReportSchema as Q, activityHours as R, createPersonalTokenBodySchema as S, personalTokenMetadataSchema as T, connectionSchema as U, connectionListSchema as V, disconnectConnectionResponseSchema as W, codePersonReportSchema as X, codeOverviewReportSchema as Y, codeRepositoryParamsSchema as Z, disconnectServiceAccountResponseSchema as _, workspaceBodySchema as a, conversationStatsReportSchema as at, serviceAccountSchema as b, workspaceRepoSchema as c, archiveDoneConversationsResponseSchema as ct, reviewItemCountSchema as d, pinConversationResponseSchema as dt, conversationWatchSchema as et, reviewItemListQuerySchema as f, conversationCatchUpBodySchema as ft, reviewItemWaitingConversationsSchema as g, reviewItemSchema as h, deleteWorkspaceResponseSchema as i, stopConversationTurnResponseSchema as it, personParamsSchema as j, actorProfileReportSchema as k, workspaceSchema as l, conversationAutoArchiveSchema as lt, reviewItemParamsSchema as m, statsReportSchema as n, conversationChildAgentSchema as nt, workspaceListSchema as o, archiveConversationBodySchema as ot, reviewItemListSchema as p, conversationCatchUpSchema as pt, codeChangeSummaryReportSchema as q, baselineSnapshotSchema as r, conversationChildAgentsReportSchema as rt, workspaceParamsSchema as s, archiveConversationResponseSchema as st, statSchema as t, conversationWatchesReportSchema as tt, reviewItemActionSchema as u, pinConversationBodySchema as ut, serviceAccountListSchema as v, personalTokenListSchema as w, startServiceAccountSignInResponseSchema as x, serviceAccountParamsSchema as y, activitySixHours as z };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
2
|
-
import { t as disconnectStateAdapter } from "./adapter-
|
|
3
|
-
import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-
|
|
1
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-DpN0sWQ6.js";
|
|
2
|
+
import { t as disconnectStateAdapter } from "./adapter-DVN3iwf9.js";
|
|
3
|
+
import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-PIMpWZHF.js";
|
|
4
4
|
import { CLI_USAGE } from "./cli/run.js";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
// src/cli/service-account.ts
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { W as isRecord, b as setSpanAttributes, h as logWarn } from "./logging-
|
|
2
|
-
import { c as fetchWithBoundedOAuthErrorBodies, i as resolvePluginHeaderEnvRefs } from "./registry-
|
|
1
|
+
import { W as isRecord, b as setSpanAttributes, h as logWarn } from "./logging-CGnh65_X.js";
|
|
2
|
+
import { c as fetchWithBoundedOAuthErrorBodies, i as resolvePluginHeaderEnvRefs } from "./registry-DR7DjX9H.js";
|
|
3
3
|
import { a as withLock, i as fenceLock, n as MUTATION_LOCK_TTL_MS } from "./locks-D-0h111u.js";
|
|
4
|
-
import { r as getStateAdapter } from "./adapter-
|
|
4
|
+
import { r as getStateAdapter } from "./adapter-DVN3iwf9.js";
|
|
5
5
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
7
|
import { UnauthorizedError, auth } from "@modelcontextprotocol/sdk/client/auth.js";
|
|
@@ -1,18 +1,17 @@
|
|
|
1
1
|
import { v as __exportAll } from "./sentry-BRTJqumy.js";
|
|
2
|
-
import { Br as getDashboardObjectIconLink, Ln as getPlugins, Lr as verifyTimerWatchCredentialSubject, N as normalizeConversationText, Nn as getPluginSlackConversationLink, Rr as JUNIOR_THREAD_STATE_TTL_MS, Wr as ToolInputError,
|
|
3
|
-
import { n as botConfig } from "./config-
|
|
4
|
-
import { h as logWarn, m as logInfo, p as logException } from "./logging-
|
|
5
|
-
import { C as getSqlExecutor, F as SYSTEM_IDENTITY_ID, J as nextDetailVersion, x as getConversationStore } from "./viewer-
|
|
6
|
-
import {
|
|
7
|
-
import "./
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { r as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import { z } from "zod";
|
|
2
|
+
import { Br as getDashboardObjectIconLink, Ln as getPlugins, Lr as verifyTimerWatchCredentialSubject, N as normalizeConversationText, Nn as getPluginSlackConversationLink, Rr as JUNIOR_THREAD_STATE_TTL_MS, Wr as ToolInputError, Za as buildSentryConversationUrl, Zt as isAssistantMessage, _i as escapeSlackMrkdwnText, en as isToolResultError, ki as postSlackMessage, nn as normalizeToolNameFromResult, tn as isToolResultMessage, vi as formatSlackLink, yi as normalizeSlackReplyMarkdown, zr as getDashboardConversationLink } from "./projection-C1MghKyI.js";
|
|
3
|
+
import { n as botConfig } from "./config-CusBFORe.js";
|
|
4
|
+
import { h as logWarn, m as logInfo, p as logException } from "./logging-CGnh65_X.js";
|
|
5
|
+
import { C as getSqlExecutor, F as SYSTEM_IDENTITY_ID, J as nextDetailVersion, x as getConversationStore } from "./viewer-BZ0Hp5Nb.js";
|
|
6
|
+
import { k as juniorConversations } from "./executor-Cmr0J8W3.js";
|
|
7
|
+
import { h as credentialSubjectSchema } from "./registry-DR7DjX9H.js";
|
|
8
|
+
import { r as getStateAdapter } from "./adapter-DVN3iwf9.js";
|
|
9
|
+
import { R as readMessageAttachments } from "./conversation-DExTZw8B.js";
|
|
10
|
+
import { r as EVENT_AUTHOR_ID } from "./prompt-BcHg-BMy.js";
|
|
11
|
+
import { a as QUIET_MARKER, r as sanitizeAssistantText } from "./assistant-reply-DbebsAxi.js";
|
|
12
|
+
import { r as appendAndEnqueueInboundMessage } from "./store-QzOfDwKA.js";
|
|
13
|
+
import { dt as CORE_EVENT_NAMESPACE, ht as eventGuidance, mt as eventCatalogEntry } from "./turn-session-routing-bmG330Cf.js";
|
|
14
|
+
import * as z from "zod";
|
|
16
15
|
import { eq, inArray } from "drizzle-orm";
|
|
17
16
|
import { agentEventKeys, eventMatchFieldsSchema, objectFactFields, objectPresentation, objectTypeSchema } from "@sentry/junior-plugin-api";
|
|
18
17
|
// src/chat/automation-result.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { v as __exportAll } from "./sentry-BRTJqumy.js";
|
|
2
|
-
import { h as logWarn } from "./logging-
|
|
2
|
+
import { h as logWarn } from "./logging-CGnh65_X.js";
|
|
3
3
|
import { s as skillRoots } from "./package-discovery-DJhGdS4c.js";
|
|
4
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
4
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-DpN0sWQ6.js";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import * as z from "zod";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import { parse } from "yaml";
|
|
9
9
|
// src/chat/skills.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { v as __exportAll } from "./sentry-BRTJqumy.js";
|
|
2
|
-
import { Ft as toolInvocationDestination, Pt as actorFromRun } from "./agent-runner-
|
|
3
|
-
import { n as createAndEnqueueAgentInvocation } from "./work-
|
|
2
|
+
import { Ft as toolInvocationDestination, Pt as actorFromRun } from "./agent-runner-_PYLv4Qo.js";
|
|
3
|
+
import { n as createAndEnqueueAgentInvocation } from "./work-BTcCIbWu.js";
|
|
4
4
|
// src/chat/agent-invocations/spawn.ts
|
|
5
5
|
var spawn_exports = /* @__PURE__ */ __exportAll({ bindSpawnAgent: () => bindSpawnAgent });
|
|
6
6
|
/** Bind a Run's Actor and credentials to new Agent invocations. */
|