@sentry/junior 0.205.0 → 0.206.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-D4nu8MQV.js → agent-C9yuiZUF.js} +247 -67
- package/dist/{agent-hooks-DXHpTJ4m.js → agent-hooks-DNjlz2A-.js} +1078 -12
- package/dist/{agent-runner-C04colea.js → agent-runner-E67lFrDG.js} +5 -5
- package/dist/api/schema.d.ts +77 -0
- package/dist/api/schema.js +2 -2
- package/dist/api.js +44 -511
- package/dist/{app-Cb776lL8.d.ts → app-AxGmJHwK.d.ts} +7 -0
- package/dist/app.d.ts +1 -1
- package/dist/app.js +50 -80
- package/dist/{auth-pause-state-C2P3guS1.js → auth-pause-state-MVZ6xvEK.js} +6 -6
- package/dist/briefs-CvJFQvhJ.js +398 -0
- package/dist/{catalog-runtime-CXw3asJD.js → catalog-runtime-TBR8n4e1.js} +1 -1
- package/dist/{checkpoint-CrViJ8Ps.js → checkpoint-BY47jJCB.js} +7 -6
- package/dist/cli/chat.js +14 -12
- package/dist/cli/check.js +3 -3
- package/dist/cli/init.js +1 -0
- package/dist/cli/main.js +5 -1
- package/dist/cli/plugins.js +3 -3
- package/dist/cli/run.d.ts +2 -1
- package/dist/cli/run.js +2 -1
- package/dist/cli/snapshot-create.js +3 -3
- package/dist/cli/upgrade.js +3 -3
- package/dist/{config-BOtJQ7Pc.js → client-ceE7NtvC.js} +4 -367
- package/dist/config-CIE83sR2.js +386 -0
- package/dist/{schema-Rn8-XEaN.js → conversation-AA4R1VUn.js} +580 -558
- package/dist/{conversation-privacy-BZRA6Pes.js → conversation-privacy-Auyq26XQ.js} +1 -1
- package/dist/{credential-sync-Bep34IB_.js → credential-sync-BO33aNQd.js} +20 -19
- package/dist/{execution-stats-B6lgWxCK.js → execution-stats-SiS2FLcv.js} +4 -4
- package/dist/{executor-BlUhFL7_.js → executor-BfbYPW63.js} +31 -3
- package/dist/instrumentation.js +2 -2
- package/dist/{job-queue-DLMqIK74.js → job-queue-CyTc24Es.js} +1 -1
- package/dist/{logging-BMJzdDlP.js → logging-D37bayDc.js} +1 -1
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +3 -3
- package/dist/{oauth-callback-server-WwG5_Zgm.js → oauth-callback-server-BtfOeHTZ.js} +2 -2
- package/dist/{pending-auth-CUbXq06G.js → pending-auth-BPUzcs7n.js} +2 -2
- package/dist/{profile-T0tXE4zu.js → profile-CSixooTi.js} +4 -3
- package/dist/prompt-3gqNY1Ka.js +552 -0
- package/dist/{registry-BA0__8ai.js → registry-DiR0-xRg.js} +1 -1
- package/dist/{resolve-bvD1ORdv.js → resolve-Bn5q__9b.js} +2 -2
- package/dist/{runner-BXYxfIUL.js → runner-DFx3dIJH.js} +9 -9
- package/dist/{sandbox-egress-signals-ngEPjSEW.js → sandbox-egress-signals-bwvjihxA.js} +1 -1
- package/dist/schema-8GXFfclK.js +559 -0
- package/dist/{skills-DJOlYdBs.js → skills-BhM5qyCF.js} +2 -2
- package/dist/{spawn-h0R1bTEo.js → spawn-Dk0PqdH6.js} +2 -2
- package/dist/{stats-3YZn-Swi.js → stats-DKRP4rsY.js} +6 -6
- package/dist/{task-queue-CoXwd2eq.js → task-queue-CdpTvu4R.js} +3 -3
- package/dist/{task-runner-B2_mJZj0.js → task-runner-alpjVSxQ.js} +10 -10
- package/dist/{thread-state-CqZ1m-es.js → thread-state-CRK7aA41.js} +5 -5
- package/dist/{turn-execution-fI6PZ0iI.js → turn-execution-XtyzIHog.js} +3 -3
- package/dist/{turn-lifecycle-CcnwrOcp.js → turn-lifecycle-VbwZLfBv.js} +1 -1
- package/dist/{usage-B5SfMb3H.js → usage-D4A48Bdl.js} +4 -125
- package/dist/{validation-DfWcvhuS.js → validation-jn_46o4U.js} +1 -1
- package/dist/{version-oD-oPrbO.js → version-DcfJxB4z.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/web-authorization-CsfLSfEs.js +38 -0
- package/dist/{web-input-BOuq3oKK.js → web-input-BPp_sc7t.js} +6 -6
- package/dist/{work-B91LQKHr.js → work-Di-ubSGg.js} +9 -9
- package/dist/{worker-BcRRTe6k.js → worker-Cu_D5Mr8.js} +5 -4
- package/migrations/0040_conversation_briefs.sql +17 -0
- package/migrations/meta/0040_snapshot.json +3516 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +5 -5
- package/dist/history-CqTuSAdI.js +0 -441
- package/dist/usage-schema-CKaDkH_j.js +0 -20
- package/dist/web-authorization-Crbzlmzo.js +0 -76
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
1
|
+
import { F as isRecord, d as logInfo, f as logWarn } from "./logging-D37bayDc.js";
|
|
2
|
+
import { h as normalizeSlackEmojiName } from "./config-CIE83sR2.js";
|
|
3
3
|
import { _ as parseSlackMessageTs, g as parseSlackUserId } from "./context-B45_WqVX.js";
|
|
4
|
-
import {
|
|
5
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
6
|
-
import { w as getStateAdapter } from "./profile-
|
|
4
|
+
import { G as isDmChannel, J as withSlackRetries, K as normalizeSlackConversationId, U as getSlackClient, Xt as parseDestination, n as applyPluginFormatMarkdown, z as SlackActionError } from "./agent-hooks-DNjlz2A-.js";
|
|
5
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-TBR8n4e1.js";
|
|
6
|
+
import { w as getStateAdapter } from "./profile-CSixooTi.js";
|
|
7
7
|
import { r as isExperimentalFeatureEnabled } from "./experimental-CIXf7Uye.js";
|
|
8
8
|
import { randomBytes } from "node:crypto";
|
|
9
9
|
import { actorSchema, sourceSchema } from "@sentry/junior-plugin-api";
|
package/dist/api/schema.d.ts
CHANGED
|
@@ -1015,6 +1015,83 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1015
1015
|
finishedWorkAt: z.ZodOptional<z.ZodString>;
|
|
1016
1016
|
isPriority: z.ZodOptional<z.ZodBoolean>;
|
|
1017
1017
|
unfinishedWork: z.ZodOptional<z.ZodBoolean>;
|
|
1018
|
+
brief: z.ZodOptional<z.ZodObject<{
|
|
1019
|
+
content: z.ZodObject<{
|
|
1020
|
+
schemaVersion: z.ZodLiteral<1>;
|
|
1021
|
+
record: z.ZodObject<{
|
|
1022
|
+
startedAt: z.ZodString;
|
|
1023
|
+
lastActivityAt: z.ZodString;
|
|
1024
|
+
durationMs: z.ZodNumber;
|
|
1025
|
+
participants: z.ZodArray<z.ZodObject<{
|
|
1026
|
+
name: z.ZodString;
|
|
1027
|
+
messages: z.ZodNumber;
|
|
1028
|
+
}, z.core.$strict>>;
|
|
1029
|
+
userMessages: z.ZodNumber;
|
|
1030
|
+
assistantMessages: z.ZodNumber;
|
|
1031
|
+
toolResults: z.ZodNumber;
|
|
1032
|
+
events: z.ZodNumber;
|
|
1033
|
+
turns: z.ZodOptional<z.ZodNumber>;
|
|
1034
|
+
location: z.ZodOptional<z.ZodObject<{
|
|
1035
|
+
provider: z.ZodString;
|
|
1036
|
+
channelName: z.ZodOptional<z.ZodString>;
|
|
1037
|
+
}, z.core.$strict>>;
|
|
1038
|
+
codeChanges: z.ZodArray<z.ZodObject<{
|
|
1039
|
+
repository: z.ZodString;
|
|
1040
|
+
number: z.ZodNumber;
|
|
1041
|
+
title: z.ZodOptional<z.ZodString>;
|
|
1042
|
+
url: z.ZodString;
|
|
1043
|
+
state: z.ZodEnum<{
|
|
1044
|
+
open: "open";
|
|
1045
|
+
closed: "closed";
|
|
1046
|
+
merged: "merged";
|
|
1047
|
+
}>;
|
|
1048
|
+
openedAt: z.ZodOptional<z.ZodString>;
|
|
1049
|
+
mergedAt: z.ZodOptional<z.ZodString>;
|
|
1050
|
+
closedAt: z.ZodOptional<z.ZodString>;
|
|
1051
|
+
}, z.core.$strict>>;
|
|
1052
|
+
}, z.core.$strict>;
|
|
1053
|
+
summary: z.ZodString;
|
|
1054
|
+
intent: z.ZodString;
|
|
1055
|
+
outcome: z.ZodObject<{
|
|
1056
|
+
status: z.ZodEnum<{
|
|
1057
|
+
blocked: "blocked";
|
|
1058
|
+
in_progress: "in_progress";
|
|
1059
|
+
answered: "answered";
|
|
1060
|
+
done: "done";
|
|
1061
|
+
partial: "partial";
|
|
1062
|
+
abandoned: "abandoned";
|
|
1063
|
+
}>;
|
|
1064
|
+
text: z.ZodString;
|
|
1065
|
+
}, z.core.$strict>;
|
|
1066
|
+
decisions: z.ZodArray<z.ZodObject<{
|
|
1067
|
+
text: z.ZodString;
|
|
1068
|
+
by: z.ZodOptional<z.ZodString>;
|
|
1069
|
+
kind: z.ZodEnum<{
|
|
1070
|
+
stated: "stated";
|
|
1071
|
+
confirmed: "confirmed";
|
|
1072
|
+
assumed: "assumed";
|
|
1073
|
+
}>;
|
|
1074
|
+
}, z.core.$strict>>;
|
|
1075
|
+
openDecisions: z.ZodArray<z.ZodObject<{
|
|
1076
|
+
text: z.ZodString;
|
|
1077
|
+
owner: z.ZodOptional<z.ZodString>;
|
|
1078
|
+
}, z.core.$strict>>;
|
|
1079
|
+
facts: z.ZodArray<z.ZodString>;
|
|
1080
|
+
links: z.ZodArray<z.ZodObject<{
|
|
1081
|
+
kind: z.ZodEnum<{
|
|
1082
|
+
url: "url";
|
|
1083
|
+
code_change: "code_change";
|
|
1084
|
+
resource: "resource";
|
|
1085
|
+
}>;
|
|
1086
|
+
label: z.ZodString;
|
|
1087
|
+
url: z.ZodString;
|
|
1088
|
+
status: z.ZodOptional<z.ZodString>;
|
|
1089
|
+
}, z.core.$strict>>;
|
|
1090
|
+
keywords: z.ZodArray<z.ZodString>;
|
|
1091
|
+
}, z.core.$strict>;
|
|
1092
|
+
updatedAt: z.ZodString;
|
|
1093
|
+
version: z.ZodNumber;
|
|
1094
|
+
}, z.core.$strict>>;
|
|
1018
1095
|
modelUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1019
1096
|
modelId: z.ZodString;
|
|
1020
1097
|
usage: z.ZodObject<{
|
package/dist/api/schema.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { a as
|
|
1
|
+
import { C as conversationReportEventSchema, D as createConversationBodySchema, E as conversationSummaryReportSchema, O as createConversationMessageBodySchema, R as conversationTurnFailureCodeSchema, S as conversationReportEventDataSchema, T as conversationStatsReportSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, l as conversationAuxiliaryCostsSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, s as conversationActivityPreviewSchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, v as conversationPendingAuthorizationSchema, x as conversationPendingMessagesReportSchema, y as conversationPendingMessageDeliverySchema, z as conversationTurnFailureReasonSchema } from "../conversation-AA4R1VUn.js";
|
|
2
2
|
import { a as pluginPackageContentReportSchema, c as runtimeInfoReportSchema, i as pluginPackageContentItemReportSchema, l as skillReportSchema, n as pluginOperationalReportFeedSchema, o as pluginSchema, r as pluginOperationalReportSchema, s as pluginsSchema, t as healthReportSchema, u as skillReportsSchema } from "../reporting-schema-DosTN__Q.js";
|
|
3
|
-
import { A as actorProfileReportSchema,
|
|
3
|
+
import { A as actorProfileReportSchema, B as dailyConversationActivitySchema, C as createPersonalTokenBodySchema, D as personalTokenParamsSchema, E as personalTokenMetadataSchema, F as locationDirectoryReportSchema, G as codePersonReportSchema, H as codeChangeSummaryReportSchema, I as locationParamsSchema, K as codeRepositorySummarySchema, M as personalSpendReportSchema, N as locationActivityDayReportSchema, O as revokePersonalTokenResponseSchema, P as locationDetailReportSchema, S as taskSummarySchema, T as personalTokenListSchema, U as codeChangeSummarySchema, V as codeActivityDaySchema, W as codeOverviewReportSchema, _ as taskListSchema, a as workspaceBodySchema, at as apiErrorSchema, b as taskRunSchema, c as workspaceRepoSchema, d as scheduledTaskSummarySchema, f as taskExecutionListSchema, g as taskListQuerySchema, h as taskExecutionStatusSchema, i as deleteWorkspaceResponseSchema, j as personParamsSchema, k as actorDirectoryReportSchema, l as workspaceSchema, m as taskExecutionStatusDaySchema, n as statsReportSchema, o as workspaceListSchema, p as taskExecutionSchema, r as baselineSnapshotSchema, s as workspaceParamsSchema, t as statSchema, u as eventTaskSummarySchema, v as taskParamsSchema, w as createdPersonalTokenSchema, x as taskRunWindowsSchema, y as taskRunListSchema } from "../schema-8GXFfclK.js";
|
|
4
4
|
export { acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, baselineSnapshotSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositorySummarySchema, conversationActivityPreviewSchema, conversationAuxiliaryCostsSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, eventTaskSummarySchema, healthReportSchema, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledTaskSummarySchema, skillReportSchema, skillReportsSchema, statSchema, statsReportSchema, taskExecutionListSchema, taskExecutionSchema, taskExecutionStatusDaySchema, taskExecutionStatusSchema, taskListQuerySchema, taskListSchema, taskParamsSchema, taskRunListSchema, taskRunSchema, taskRunWindowsSchema, taskSummarySchema, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
|