@sentry/junior 0.223.0 → 0.224.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/{agent-hooks-DZU5nsd1.js → agent-hooks-DNLBwmsh.js} +6 -6
- package/dist/{agent-Bzbf92vv.js → agent-runner-9g6TQk9y.js} +809 -34
- package/dist/api.js +14 -14
- package/dist/app.js +1507 -59
- package/dist/{briefs-BJPfCrlT.js → briefs-CjXnGKzZ.js} +2 -2
- package/dist/{catalog-runtime-BthunUDD.js → catalog-runtime-CVZ9TEuK.js} +1 -1
- package/dist/{checkpoint-Deu-OVb3.js → checkpoint-Ceck_fLO.js} +7 -7
- package/dist/cli/chat.js +14 -15
- package/dist/cli/check.js +3 -3
- package/dist/cli/main.js +1 -1
- package/dist/cli/plugins.js +3 -3
- package/dist/cli/snapshot-create.js +3 -3
- package/dist/cli/upgrade.js +3 -3
- package/dist/{client-DjC6-6iU.js → client-B27ufhzl.js} +2 -2
- package/dist/{config-CtoUVs72.js → config-BAhl7-RC.js} +2 -2
- package/dist/{conversation-privacy-xS1t92xa.js → conversation-privacy-C-4JQzKD.js} +1 -1
- package/dist/credential-sync-BXHIxbtS.js +940 -0
- package/dist/{execution-stats-CrXs9vSH.js → execution-stats-DikPOxJ1.js} +3 -3
- package/dist/{executor-AOhG9X1t.js → executor-BG2Armby.js} +1 -1
- package/dist/instrumentation.js +2 -2
- package/dist/{job-queue-CNd9cpIy.js → job-queue-D4oAVrL9.js} +1 -1
- package/dist/{logging-DiN3o3nB.js → logging-iY0ssa2q.js} +1 -1
- package/dist/nitro.js +3 -3
- package/dist/{pending-auth-D7vmttn_.js → oauth-authorization-BIijVS2N.js} +6 -48
- package/dist/{oauth-callback-server-Ca0VLUEw.js → oauth-callback-server-DPkK3kzi.js} +4 -4
- package/dist/{profile-BsNrw8lj.js → profile-6KWhg_-U.js} +5 -9
- package/dist/{registry-Dankt-Pl.js → registry-Ctgdjt-W.js} +1 -1
- package/dist/{resolve-B38CpJe2.js → resolve-CB45ZukQ.js} +2 -2
- package/dist/{runner-Ck5rEjCm.js → runner-BwKCqoF3.js} +8 -9
- package/dist/{sandbox-egress-signals-BOfFkvly.js → sandbox-egress-signals-Cmy8ODat.js} +1 -1
- package/dist/{short-title-BHd_jUFX.js → short-title-xEkZwkcV.js} +2 -2
- package/dist/{skills-DbP4TDft.js → skills-c2bMDVRS.js} +2 -2
- package/dist/{spawn-DzXc_PKO.js → spawn-Cg6lyjE7.js} +2 -2
- package/dist/{stats-pNGp3G5q.js → stats-DP9zl3Jg.js} +6 -6
- package/dist/{task-queue-Cy9y1foT.js → task-queue-SL4uLfBB.js} +3 -3
- package/dist/{task-runner-DI1FBJFJ.js → task-runner-fntmnqzx.js} +8 -83
- package/dist/{thread-state-DXgxOYpZ.js → thread-state-Wfr0GdKS.js} +5 -5
- package/dist/{auth-pause-state-Bn2vX4PA.js → turn-failure-response-DLjSEm-R.js} +73 -72
- package/dist/{turn-lifecycle-Bjf6y2GO.js → turn-lifecycle-5_jvLqRz.js} +1 -1
- package/dist/turn-session-routing-CQaysLoe.js +77 -0
- package/dist/{validation-D5CIslEu.js → validation-CnZkCN7o.js} +1 -1
- package/dist/{version-_ZQFlslB.js → version-C6lA-h_o.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{web-authorization-6mmfS_o-.js → web-authorization-Bbx999_q.js} +1 -1
- package/dist/{web-input-BJpWm6go.js → web-input-BoE1xE-K.js} +7 -7
- package/dist/{work-DvIlJR3C.js → work-4Nhz9mVv.js} +52 -10
- package/dist/{worker-D1qidg-Y.js → worker-CdWPsNL2.js} +5 -5
- package/package.json +4 -4
- package/dist/agent-runner-2VQ9WhkG.js +0 -679
- package/dist/credential-sync-CKdXEUDO.js +0 -2811
- package/dist/experimental-CIXf7Uye.js +0 -46
- package/dist/turn-execution-BNOXrZ-M.js +0 -47
package/dist/api.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
import { f as logWarn, u as logException } from "./logging-
|
|
1
|
+
import { f as logWarn, u as logException } from "./logging-iY0ssa2q.js";
|
|
2
2
|
import { _ as parseSlackMessageTs, h as parseSlackTeamId, p as parseSlackChannelId } from "./context-Bplcgypl.js";
|
|
3
|
-
import { $ as resolveViewerUser, $t as locationFromRow, Ct as conversationArchivedForEmail, D as SANDBOX_RUNTIME, Dt as conversationNotArchivedForEmail, Et as conversationHasParticipantUser, J as withSlackRetries, Jt as getSqlExecutor, Kt as getConversationStore, Lt as listConversationAnnotations, Mt as readConversationEventPage, Nt as buildSentryConversationUrl, Ot as conversationNotArchivedForUser, Rt as listConversationAnnotationsById, S as WorkspaceValidationError, St as conversationArchiveTimes, Tt as conversationHasParticipantEmail, U as getSlackClient, Z as findUserByEmail, _ as deleteWorkspace, an as agentTurnUsageSchema, b as listWorkspaces, bt as createPluginLogger, et as updateViewerDisplayName, g as createWorkspace, j as workspaceRepoCheckoutPath, jt as readLatestConversationBrief, kt as viewerConversationMembership, on as hasAgentTurnUsage, qt as getDb, sn as resolveRootConversationId, tn as parseSessionSource, u as getPlugins, v as getWorkspace, wt as conversationArchivedForUser, x as updateWorkspace, xt as readConversationAccessFromSql } from "./agent-hooks-
|
|
3
|
+
import { $ as resolveViewerUser, $t as locationFromRow, Ct as conversationArchivedForEmail, D as SANDBOX_RUNTIME, Dt as conversationNotArchivedForEmail, Et as conversationHasParticipantUser, J as withSlackRetries, Jt as getSqlExecutor, Kt as getConversationStore, Lt as listConversationAnnotations, Mt as readConversationEventPage, Nt as buildSentryConversationUrl, Ot as conversationNotArchivedForUser, Rt as listConversationAnnotationsById, S as WorkspaceValidationError, St as conversationArchiveTimes, Tt as conversationHasParticipantEmail, U as getSlackClient, Z as findUserByEmail, _ as deleteWorkspace, an as agentTurnUsageSchema, b as listWorkspaces, bt as createPluginLogger, et as updateViewerDisplayName, g as createWorkspace, j as workspaceRepoCheckoutPath, jt as readLatestConversationBrief, kt as viewerConversationMembership, on as hasAgentTurnUsage, qt as getDb, sn as resolveRootConversationId, tn as parseSessionSource, u as getPlugins, v as getWorkspace, wt as conversationArchivedForUser, x as updateWorkspace, xt as readConversationAccessFromSql } from "./agent-hooks-DNLBwmsh.js";
|
|
4
4
|
import { n as juniorDestinations } from "./destinations-BeBiJeEM.js";
|
|
5
|
-
import { C as juniorCodeRepositories, D as juniorIdentities, E as juniorConversations, O as juniorUsers, S as juniorCodeChanges, T as conversationReadColumns, b as juniorApiTokens, g as juniorConversationBriefs, m as juniorConversationParticipants, v as juniorConversationMetrics, y as juniorConversationEvents } from "./executor-
|
|
5
|
+
import { C as juniorCodeRepositories, D as juniorIdentities, E as juniorConversations, O as juniorUsers, S as juniorCodeChanges, T as conversationReadColumns, b as juniorApiTokens, g as juniorConversationBriefs, m as juniorConversationParticipants, v as juniorConversationMetrics, y as juniorConversationEvents } from "./executor-BG2Armby.js";
|
|
6
6
|
import { D as createConversationBodySchema, O as createConversationMessageBodySchema, T as conversationStatsReportSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, c as conversationAttachmentParamsSchema, d as conversationDetailReportSchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, x as conversationPendingMessagesReportSchema } from "./conversation-1HUoZr2l.js";
|
|
7
|
-
import { n as hash, t as create } from "./profile-
|
|
8
|
-
import { Tt as getConversation, c as parseSlackThreadId, ht as cancelHumanFacingPendingMessages, i as readLiveAttachment, n as readStats } from "./stats-
|
|
9
|
-
import { t as getCachedSnapshot } from "./resolve-
|
|
7
|
+
import { n as hash, t as create } from "./profile-6KWhg_-U.js";
|
|
8
|
+
import { Tt as getConversation, c as parseSlackThreadId, ht as cancelHumanFacingPendingMessages, i as readLiveAttachment, n as readStats } from "./stats-DP9zl3Jg.js";
|
|
9
|
+
import { t as getCachedSnapshot } from "./resolve-CB45ZukQ.js";
|
|
10
10
|
import { t as getVercelConversationWorkQueue } from "./vercel-queue-DIkVcfK4.js";
|
|
11
11
|
import { S as skillReportsSchema, a as fillUtcSixHours, b as runtimeInfoReportSchema, c as trailingUtcDayWindow, d as utcDayKey, f as utcHourKey, i as fillUtcHours, l as trailingUtcHourWindow, m as pluginOperationalReportFeedSchema, n as HOUR_MS$1, o as startOfUtcHour, p as healthReportSchema, r as fillUtcDays, s as sumUtcHoursIntoSixHours, t as DAY_MS$1, u as trailingUtcSixHourWindow, y as pluginsSchema } from "./reporting-window-DbUqng0P.js";
|
|
12
|
-
import { C as readHealthReport, a as webActorFromEmail, b as legacyWebMailboxMetadataSchema, c as formatSlackConversationRedactedLabel, d as resolveSlackConversationContextFromThreadId, f as ViewerTaskNotFoundError, g as readViewerAutomationRuns, h as readViewerAutomationExecutions, m as readConversationSourceTask, p as deleteViewerTask, r as createAndEnqueueConversation, t as appendAndEnqueueWebMessage, v as readViewerAutomations, x as createVercelAttachmentStorage, y as lookupSlackUser } from "./web-input-
|
|
13
|
-
import { d as conversationActiveDaysColumn, f as conversationAggregateColumns, p as conversationRangeColumns } from "./execution-stats-
|
|
14
|
-
import { r as getWebAuthorization } from "./web-authorization-
|
|
12
|
+
import { C as readHealthReport, a as webActorFromEmail, b as legacyWebMailboxMetadataSchema, c as formatSlackConversationRedactedLabel, d as resolveSlackConversationContextFromThreadId, f as ViewerTaskNotFoundError, g as readViewerAutomationRuns, h as readViewerAutomationExecutions, m as readConversationSourceTask, p as deleteViewerTask, r as createAndEnqueueConversation, t as appendAndEnqueueWebMessage, v as readViewerAutomations, x as createVercelAttachmentStorage, y as lookupSlackUser } from "./web-input-BoE1xE-K.js";
|
|
13
|
+
import { d as conversationActiveDaysColumn, f as conversationAggregateColumns, p as conversationRangeColumns } from "./execution-stats-DikPOxJ1.js";
|
|
14
|
+
import { r as getWebAuthorization } from "./web-authorization-Bbx999_q.js";
|
|
15
15
|
import { A as actorProfileReportSchema, C as createPersonalTokenBodySchema, D as personalTokenParamsSchema, F as locationDirectoryReportSchema, G as codePersonReportSchema, I as locationParamsSchema, L as activityDays$1, M as personalSpendReportSchema, O as revokePersonalTokenResponseSchema, P as locationDetailReportSchema, R as activityHours$1, T as personalTokenListSchema, W as codeOverviewReportSchema, _ as automationRunListSchema, a as workspaceBodySchema, g as automationParamsSchema, h as automationListSchema, i as deleteWorkspaceResponseSchema, j as personParamsSchema, k as actorDirectoryReportSchema, l as workspaceSchema, m as automationListQuerySchema, n as statsReportSchema, o as workspaceListSchema, q as apiErrorSchema, s as workspaceParamsSchema, u as automationExecutionListSchema, w as createdPersonalTokenSchema, z as activitySixHours$1 } from "./schema-RpbW5Od2.js";
|
|
16
16
|
import { Hono } from "hono";
|
|
17
17
|
import path from "node:path";
|
|
@@ -3017,7 +3017,7 @@ async function readPeoplePluginReports(args) {
|
|
|
3017
3017
|
reports: [],
|
|
3018
3018
|
source: "plugins"
|
|
3019
3019
|
});
|
|
3020
|
-
const { getPluginProfileReports } = await import("./agent-hooks-
|
|
3020
|
+
const { getPluginProfileReports } = await import("./agent-hooks-DNLBwmsh.js").then((n) => n.t);
|
|
3021
3021
|
return pluginOperationalReportFeedSchema.parse({
|
|
3022
3022
|
generatedAt: new Date(nowMs).toISOString(),
|
|
3023
3023
|
reports: await getPluginProfileReports({
|
|
@@ -3626,7 +3626,7 @@ function readDescriptionText(home) {
|
|
|
3626
3626
|
}
|
|
3627
3627
|
/** Read discovered skill names for authenticated runtime diagnostics. */
|
|
3628
3628
|
async function readSkillReports() {
|
|
3629
|
-
const { discoverSkills } = await import("./skills-
|
|
3629
|
+
const { discoverSkills } = await import("./skills-c2bMDVRS.js").then((n) => n.o);
|
|
3630
3630
|
const skills = await discoverSkills();
|
|
3631
3631
|
return skillReportsSchema.parse(skills.map((skill) => ({
|
|
3632
3632
|
name: skill.name,
|
|
@@ -3635,7 +3635,7 @@ async function readSkillReports() {
|
|
|
3635
3635
|
}
|
|
3636
3636
|
/** Read safe configured plugin metadata for authenticated runtime diagnostics. */
|
|
3637
3637
|
async function readPlugins() {
|
|
3638
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
3638
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-CVZ9TEuK.js").then((n) => n.t);
|
|
3639
3639
|
return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
3640
3640
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
3641
3641
|
description: plugin.manifest.description,
|
|
@@ -3647,7 +3647,7 @@ async function readPlugins() {
|
|
|
3647
3647
|
async function readRuntimeInfoReport() {
|
|
3648
3648
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
3649
3649
|
import("./package-discovery-7a9YqLhE.js").then((n) => n.r),
|
|
3650
|
-
import("./catalog-runtime-
|
|
3650
|
+
import("./catalog-runtime-CVZ9TEuK.js").then((n) => n.t),
|
|
3651
3651
|
readPlugins(),
|
|
3652
3652
|
readSkillReports()
|
|
3653
3653
|
]);
|
|
@@ -3664,7 +3664,7 @@ async function readRuntimeInfoReport() {
|
|
|
3664
3664
|
/** Read sanitized operational summaries contributed by plugins. */
|
|
3665
3665
|
async function readPluginOperationalReportFeed() {
|
|
3666
3666
|
const nowMs = Date.now();
|
|
3667
|
-
const { getPluginOperationalReports } = await import("./agent-hooks-
|
|
3667
|
+
const { getPluginOperationalReports } = await import("./agent-hooks-DNLBwmsh.js").then((n) => n.t);
|
|
3668
3668
|
return pluginOperationalReportFeedSchema.parse({
|
|
3669
3669
|
source: "plugins",
|
|
3670
3670
|
generatedAt: new Date(nowMs).toISOString(),
|