@sentry/junior 0.204.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-CMyTD4DD.js → agent-C9yuiZUF.js} +277 -85
- package/dist/{agent-hooks-Bbcp9e33.js → agent-hooks-DNjlz2A-.js} +1084 -16
- package/dist/{agent-runner-DNb1A49M.js → agent-runner-E67lFrDG.js} +5 -5
- package/dist/api/schema.d.ts +85 -0
- package/dist/api/schema.js +2 -2
- package/dist/api.js +44 -511
- package/dist/{app-B1TOqBI8.d.ts → app-AxGmJHwK.d.ts} +8 -0
- package/dist/app.d.ts +1 -1
- package/dist/app.js +56 -84
- package/dist/{auth-pause-state-DosEalIG.js → auth-pause-state-MVZ6xvEK.js} +6 -6
- package/dist/briefs-CvJFQvhJ.js +398 -0
- package/dist/{catalog-runtime-BReos-D4.js → catalog-runtime-TBR8n4e1.js} +1 -1
- package/dist/{checkpoint-CNrPyRJN.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-nGCW1OTG.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-B4voFRSm.js → conversation-privacy-Auyq26XQ.js} +1 -1
- package/dist/{credential-sync-kXr1hvO1.js → credential-sync-BO33aNQd.js} +22 -20
- package/dist/{execution-stats-DWfSihcH.js → execution-stats-SiS2FLcv.js} +4 -4
- package/dist/{executor-DcMSlI5c.js → executor-BfbYPW63.js} +31 -3
- package/dist/instrumentation.js +2 -2
- package/dist/{job-queue-Drn_LXlM.js → job-queue-CyTc24Es.js} +1 -1
- package/dist/{logging-BzAk1S_s.js → logging-D37bayDc.js} +1 -1
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +3 -3
- package/dist/{oauth-callback-server-JiftokvA.js → oauth-callback-server-BtfOeHTZ.js} +2 -2
- package/dist/{pending-auth-CWmSdZVg.js → pending-auth-BPUzcs7n.js} +2 -2
- package/dist/{profile-CrT5nXbw.js → profile-CSixooTi.js} +4 -3
- package/dist/prompt-3gqNY1Ka.js +552 -0
- package/dist/{registry-DH1xUo2N.js → registry-DiR0-xRg.js} +1 -1
- package/dist/{resolve-CZHnfxaS.js → resolve-Bn5q__9b.js} +2 -2
- package/dist/{runner-CZV2sC46.js → runner-DFx3dIJH.js} +9 -9
- package/dist/{sandbox-egress-signals-bHZfmhbd.js → sandbox-egress-signals-bwvjihxA.js} +1 -1
- package/dist/schema-8GXFfclK.js +559 -0
- package/dist/{skills-CIcDQSgM.js → skills-BhM5qyCF.js} +2 -2
- package/dist/{spawn-DdkUFRmq.js → spawn-Dk0PqdH6.js} +2 -2
- package/dist/{stats-DTUbAb88.js → stats-DKRP4rsY.js} +26 -12
- package/dist/{task-queue-CJIR4RF7.js → task-queue-CdpTvu4R.js} +3 -3
- package/dist/{task-runner-D-O3A-Cp.js → task-runner-alpjVSxQ.js} +10 -10
- package/dist/{thread-state-CRc9jTJS.js → thread-state-CRK7aA41.js} +5 -5
- package/dist/{turn-execution-BkinIdJF.js → turn-execution-XtyzIHog.js} +3 -3
- package/dist/{turn-lifecycle-DQV19VTW.js → turn-lifecycle-VbwZLfBv.js} +1 -1
- package/dist/{usage-D3EbSO7w.js → usage-D4A48Bdl.js} +4 -125
- package/dist/{validation-C2CR-OX3.js → validation-jn_46o4U.js} +1 -1
- package/dist/{version-DxcWdoKa.js → version-DcfJxB4z.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/web-authorization-CsfLSfEs.js +38 -0
- package/dist/{web-input-3EPfpf55.js → web-input-BPp_sc7t.js} +6 -6
- package/dist/{work-fGofI7Op.js → work-Di-ubSGg.js} +9 -9
- package/dist/{worker-CsOLq-mR.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 +4 -4
- package/dist/history-CqTuSAdI.js +0 -441
- package/dist/usage-schema-CKaDkH_j.js +0 -20
- package/dist/web-authorization-RMBxAR_t.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<{
|
|
@@ -2574,6 +2651,7 @@ export declare const scheduledTaskSummarySchema: z.ZodObject<{
|
|
|
2574
2651
|
platform: z.ZodLiteral<"slack">;
|
|
2575
2652
|
teamId: z.ZodString;
|
|
2576
2653
|
channelId: z.ZodString;
|
|
2654
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
2577
2655
|
}, z.core.$strict>;
|
|
2578
2656
|
}, z.core.$strict>>;
|
|
2579
2657
|
title: z.ZodString;
|
|
@@ -2617,6 +2695,7 @@ export declare const eventTaskSummarySchema: z.ZodObject<{
|
|
|
2617
2695
|
platform: z.ZodLiteral<"slack">;
|
|
2618
2696
|
teamId: z.ZodString;
|
|
2619
2697
|
channelId: z.ZodString;
|
|
2698
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
2620
2699
|
}, z.core.$strict>;
|
|
2621
2700
|
}, z.core.$strict>>;
|
|
2622
2701
|
title: z.ZodString;
|
|
@@ -2657,6 +2736,7 @@ export declare const taskSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2657
2736
|
platform: z.ZodLiteral<"slack">;
|
|
2658
2737
|
teamId: z.ZodString;
|
|
2659
2738
|
channelId: z.ZodString;
|
|
2739
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
2660
2740
|
}, z.core.$strict>;
|
|
2661
2741
|
}, z.core.$strict>>;
|
|
2662
2742
|
title: z.ZodString;
|
|
@@ -2699,6 +2779,7 @@ export declare const taskSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
2699
2779
|
platform: z.ZodLiteral<"slack">;
|
|
2700
2780
|
teamId: z.ZodString;
|
|
2701
2781
|
channelId: z.ZodString;
|
|
2782
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
2702
2783
|
}, z.core.$strict>;
|
|
2703
2784
|
}, z.core.$strict>>;
|
|
2704
2785
|
title: z.ZodString;
|
|
@@ -2768,6 +2849,7 @@ export declare const taskListSchema: z.ZodObject<{
|
|
|
2768
2849
|
platform: z.ZodLiteral<"slack">;
|
|
2769
2850
|
teamId: z.ZodString;
|
|
2770
2851
|
channelId: z.ZodString;
|
|
2852
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
2771
2853
|
}, z.core.$strict>;
|
|
2772
2854
|
}, z.core.$strict>>;
|
|
2773
2855
|
title: z.ZodString;
|
|
@@ -2810,6 +2892,7 @@ export declare const taskListSchema: z.ZodObject<{
|
|
|
2810
2892
|
platform: z.ZodLiteral<"slack">;
|
|
2811
2893
|
teamId: z.ZodString;
|
|
2812
2894
|
channelId: z.ZodString;
|
|
2895
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
2813
2896
|
}, z.core.$strict>;
|
|
2814
2897
|
}, z.core.$strict>>;
|
|
2815
2898
|
title: z.ZodString;
|
|
@@ -2918,6 +3001,7 @@ export declare const taskExecutionListSchema: z.ZodObject<{
|
|
|
2918
3001
|
platform: z.ZodLiteral<"slack">;
|
|
2919
3002
|
teamId: z.ZodString;
|
|
2920
3003
|
channelId: z.ZodString;
|
|
3004
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
2921
3005
|
}, z.core.$strict>;
|
|
2922
3006
|
}, z.core.$strict>>;
|
|
2923
3007
|
title: z.ZodString;
|
|
@@ -2960,6 +3044,7 @@ export declare const taskExecutionListSchema: z.ZodObject<{
|
|
|
2960
3044
|
platform: z.ZodLiteral<"slack">;
|
|
2961
3045
|
teamId: z.ZodString;
|
|
2962
3046
|
channelId: z.ZodString;
|
|
3047
|
+
threadTs: z.ZodOptional<z.ZodString>;
|
|
2963
3048
|
}, z.core.$strict>;
|
|
2964
3049
|
}, z.core.$strict>>;
|
|
2965
3050
|
title: z.ZodString;
|
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 };
|