@sentry/junior 0.157.0 → 0.159.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-QI5EPOKQ.js → agent-hooks-IAD3AANZ.js} +10 -10
- package/dist/api/conversations/cancel-pending-messages.d.ts +4 -0
- package/dist/api/conversations/priority.d.ts +2 -1
- package/dist/api/conversations/user-message-activity.d.ts +3 -0
- package/dist/api/schema/conversation.d.ts +13 -0
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +5 -1
- package/dist/api.js +280 -175
- package/dist/app.js +32 -32
- package/dist/{catalog-runtime-HUGHAFUN.js → catalog-runtime-6VANKLH5.js} +5 -5
- package/dist/chat/conversations/history.d.ts +4 -1
- package/dist/chat/slack/mrkdwn.d.ts +2 -1
- package/dist/chat/task-execution/state.d.ts +10 -0
- package/dist/chat/task-execution/store.d.ts +11 -0
- package/dist/{chunk-7J65DOBL.js → chunk-27UQ7UB3.js} +6 -6
- package/dist/{chunk-GEY6IFXH.js → chunk-54O6IKUS.js} +4 -4
- package/dist/{chunk-XRERMHPN.js → chunk-6IADZQJR.js} +1 -1
- package/dist/{chunk-VIBHFGQC.js → chunk-AIQKUJKK.js} +4 -4
- package/dist/{chunk-AFQ47JQ7.js → chunk-AZW5HKC5.js} +8 -8
- package/dist/{chunk-6MI43QZO.js → chunk-CNHELV2P.js} +1 -1
- package/dist/{chunk-VDAEXEBB.js → chunk-DJZPA72K.js} +35 -6
- package/dist/{chunk-TA5R6BME.js → chunk-DXSZJAVZ.js} +18 -18
- package/dist/{chunk-MGJW3SW4.js → chunk-EBP6IS66.js} +6 -6
- package/dist/{chunk-CZCMFRUQ.js → chunk-EQXVKNLM.js} +11 -0
- package/dist/{chunk-BLCVTEE7.js → chunk-FWDN67U3.js} +55 -4
- package/dist/{chunk-VYDM7HUF.js → chunk-IJ6KWS3V.js} +1 -1
- package/dist/{chunk-MDZQ62PB.js → chunk-K2LAI7RW.js} +2 -2
- package/dist/{chunk-UJYA75N5.js → chunk-L2PEQ2PY.js} +2 -2
- package/dist/{chunk-46ADYIPE.js → chunk-LUIKMY35.js} +1 -1
- package/dist/{chunk-PP4UQTH3.js → chunk-NCJV265M.js} +9 -9
- package/dist/{chunk-HJ3EZHIX.js → chunk-NT6V5WEE.js} +5 -5
- package/dist/{chunk-3GS7O66Z.js → chunk-O2DZWUPQ.js} +1 -1
- package/dist/{chunk-F7VOY4VQ.js → chunk-OGMHLKNO.js} +1 -1
- package/dist/{chunk-GO2W3VZY.js → chunk-PQWWCKNB.js} +4 -4
- package/dist/{chunk-D7BNWRYL.js → chunk-PT7B6A3O.js} +1 -1
- package/dist/{chunk-I3OQVVMV.js → chunk-Q5X37U6G.js} +1 -1
- package/dist/{chunk-G2FN3I66.js → chunk-QODFNKQS.js} +27 -10
- package/dist/{chunk-OWASYHHV.js → chunk-SQOVZSWF.js} +20 -18
- package/dist/{chunk-MKA3T2R6.js → chunk-TD7ZQZ5W.js} +1 -1
- package/dist/{chunk-RQBRGPUF.js → chunk-U7D4VLUF.js} +2 -2
- package/dist/{chunk-4M25PSFB.js → chunk-UG673UVL.js} +1 -1
- package/dist/{chunk-5TIH5GOE.js → chunk-UKKOKMRE.js} +5 -5
- package/dist/{chunk-MXO6VFB3.js → chunk-UP6KQVF5.js} +1 -1
- package/dist/{chunk-S4PFOWRA.js → chunk-WTQ3CKC3.js} +1 -1
- package/dist/{chunk-WNNYOPXX.js → chunk-X7AIXRVJ.js} +5 -5
- package/dist/{chunk-77QB5FNI.js → chunk-YCBZ47LC.js} +1 -1
- package/dist/{chunk-VBKFO65J.js → chunk-YSMAMSOU.js} +10 -10
- package/dist/cli/chat.js +30 -30
- package/dist/cli/check.js +6 -6
- package/dist/cli/plugins.js +13 -13
- package/dist/cli/snapshot-create.js +9 -9
- package/dist/cli/upgrade.js +7 -7
- package/dist/{db-VQAV4PJ3.js → db-BIIMAPFB.js} +7 -7
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-K5KQAAAX.js → oauth-callback-server-4BENCPP3.js} +23 -23
- package/dist/{runner-U7QI7P4S.js → runner-TUBJLEYO.js} +13 -13
- package/dist/{skills-ENKRBZ7K.js → skills-MBRLNBRV.js} +6 -6
- package/dist/spawn-ZWIXA46E.js +37 -0
- package/dist/{validation-VKCDVGA6.js → validation-YTJGRJYT.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-IBD6PWP2.js → work-5MRHKA54.js} +17 -17
- package/dist/worker-S2V7HZJ4.js +24 -0
- package/package.json +4 -4
- package/dist/spawn-4XGNONLS.js +0 -37
- package/dist/worker-TJFXOZRC.js +0 -24
|
@@ -11,20 +11,20 @@ import {
|
|
|
11
11
|
getPlugins,
|
|
12
12
|
setPlugins,
|
|
13
13
|
validatePlugins
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-EBP6IS66.js";
|
|
15
|
+
import "./chunk-K2LAI7RW.js";
|
|
16
|
+
import "./chunk-QODFNKQS.js";
|
|
17
|
+
import "./chunk-O2DZWUPQ.js";
|
|
18
18
|
import "./chunk-EM225ITJ.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-Q5X37U6G.js";
|
|
20
|
+
import "./chunk-L2PEQ2PY.js";
|
|
21
21
|
import "./chunk-VFUK3X5B.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-PT7B6A3O.js";
|
|
23
23
|
import "./chunk-V7YE4WCP.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-TD7ZQZ5W.js";
|
|
25
25
|
import "./chunk-6GWA276C.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-OGMHLKNO.js";
|
|
27
|
+
import "./chunk-LUIKMY35.js";
|
|
28
28
|
import "./chunk-MLKGABMK.js";
|
|
29
29
|
export {
|
|
30
30
|
PluginHookDeniedError,
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import type { User } from "@sentry/junior-plugin-api";
|
|
2
|
+
import type { CancelConversationPendingMessagesBody, CancelConversationPendingMessagesResponse } from "../schema/conversation";
|
|
3
|
+
/** Cancel accepted human-facing mailbox rows for one conversation participant. */
|
|
4
|
+
export declare function cancelConversationPendingMessagesForViewer(viewer: User, conversationId: string, body?: CancelConversationPendingMessagesBody): Promise<CancelConversationPendingMessagesResponse>;
|
|
@@ -6,6 +6,7 @@ export type ConversationPriorityInput = {
|
|
|
6
6
|
assignedWork?: boolean;
|
|
7
7
|
finishedWorkAt?: string;
|
|
8
8
|
lastSeenAt: string;
|
|
9
|
+
lastUserMessageAt?: string;
|
|
9
10
|
unfinishedWork?: boolean;
|
|
10
11
|
};
|
|
11
12
|
/**
|
|
@@ -13,7 +14,7 @@ export type ConversationPriorityInput = {
|
|
|
13
14
|
*
|
|
14
15
|
* Priority includes only:
|
|
15
16
|
* - unfinished work last seen within 48 hours
|
|
16
|
-
* - finished assigned work with
|
|
17
|
+
* - finished assigned work with a user message after the finish time
|
|
17
18
|
* - no known work last seen within 3 hours
|
|
18
19
|
*
|
|
19
20
|
* Finished assigned work with no later activity stays out of Priority.
|
|
@@ -150,6 +150,17 @@ export declare const conversationPendingMessagesReportSchema: z.ZodObject<{
|
|
|
150
150
|
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
151
151
|
}, z.core.$strict>>;
|
|
152
152
|
}, z.core.$strict>;
|
|
153
|
+
/** Optional filters for cancelling accepted mailbox rows. */
|
|
154
|
+
export declare const cancelConversationPendingMessagesBodySchema: z.ZodObject<{
|
|
155
|
+
inboundMessageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
156
|
+
receivedBefore: z.ZodOptional<z.ZodString>;
|
|
157
|
+
}, z.core.$strict>;
|
|
158
|
+
/** Result of cancelling accepted human-facing mailbox rows. */
|
|
159
|
+
export declare const cancelConversationPendingMessagesResponseSchema: z.ZodObject<{
|
|
160
|
+
cancelledCount: z.ZodNumber;
|
|
161
|
+
cancelledInboundMessageIds: z.ZodArray<z.ZodString>;
|
|
162
|
+
conversationId: z.ZodString;
|
|
163
|
+
}, z.core.$strict>;
|
|
153
164
|
export declare const conversationAuxiliaryCostsSchema: z.ZodObject<{
|
|
154
165
|
costUsd: z.ZodNumber;
|
|
155
166
|
operations: z.ZodArray<z.ZodObject<{
|
|
@@ -1341,3 +1352,5 @@ export type AcceptedConversationMessage = z.infer<typeof acceptedConversationMes
|
|
|
1341
1352
|
export type ConversationPendingMessageDelivery = z.infer<typeof conversationPendingMessageDeliverySchema>;
|
|
1342
1353
|
export type ConversationPendingMessage = z.infer<typeof conversationPendingMessageSchema>;
|
|
1343
1354
|
export type ConversationPendingMessagesReport = z.infer<typeof conversationPendingMessagesReportSchema>;
|
|
1355
|
+
export type CancelConversationPendingMessagesBody = z.infer<typeof cancelConversationPendingMessagesBodySchema>;
|
|
1356
|
+
export type CancelConversationPendingMessagesResponse = z.infer<typeof cancelConversationPendingMessagesResponseSchema>;
|
package/dist/api/schema.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { dailyConversationActivitySchema } from "./activity";
|
|
2
2
|
export type { DailyConversationActivity } from "./activity";
|
|
3
|
-
export { acceptedConversationMessageSchema, archiveConversationBodySchema, archiveConversationResponseSchema, conversationAuxiliaryCostsSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventPageSchema, conversationEventHistorySchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, createConversationBodySchema, createConversationMessageBodySchema, } from "./schema/conversation";
|
|
4
|
-
export type { AcceptedConversationMessage, ArchiveConversationBody, ArchiveConversationResponse, ActorIdentity, ConversationAuxiliaryCosts, ConversationCost, ConversationDetailReport, ConversationEventPage, ConversationEventHistory, ConversationFeed, ConversationPendingMessage, ConversationPendingMessageDelivery, ConversationPendingMessagesReport, ConversationReportEvent, ConversationReportEventData, ConversationReportStatus, ConversationMetricDay, ConversationModelUsage, ConversationParams, ConversationSourceTask, ConversationStatsItem, ConversationStatsReport, ConversationSummaryReport, ConversationSurface, ConversationUsage, CreateConversationBody, CreateConversationMessageBody, GuardianMetricDay, GuardianStats, } from "./schema/conversation";
|
|
3
|
+
export { acceptedConversationMessageSchema, archiveConversationBodySchema, archiveConversationResponseSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, conversationAuxiliaryCostsSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventPageSchema, conversationEventHistorySchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, createConversationBodySchema, createConversationMessageBodySchema, } from "./schema/conversation";
|
|
4
|
+
export type { AcceptedConversationMessage, ArchiveConversationBody, ArchiveConversationResponse, CancelConversationPendingMessagesBody, CancelConversationPendingMessagesResponse, ActorIdentity, ConversationAuxiliaryCosts, ConversationCost, ConversationDetailReport, ConversationEventPage, ConversationEventHistory, ConversationFeed, ConversationPendingMessage, ConversationPendingMessageDelivery, ConversationPendingMessagesReport, ConversationReportEvent, ConversationReportEventData, ConversationReportStatus, ConversationMetricDay, ConversationModelUsage, ConversationParams, ConversationSourceTask, ConversationStatsItem, ConversationStatsReport, ConversationSummaryReport, ConversationSurface, ConversationUsage, CreateConversationBody, CreateConversationMessageBody, GuardianMetricDay, GuardianStats, } from "./schema/conversation";
|
|
5
5
|
export { actorDirectoryReportSchema, actorProfileReportSchema, personalSpendReportSchema, personParamsSchema, } from "./schema/person";
|
|
6
6
|
export { locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, } from "./schema/location";
|
|
7
7
|
export type { LocationActorSummaryReport, LocationActivityDayReport, LocationDetailReport, LocationDirectoryReport, LocationSummaryReport, LocationParams, } from "./schema/location";
|
package/dist/api/schema.js
CHANGED
|
@@ -5,6 +5,8 @@ import {
|
|
|
5
5
|
apiErrorSchema,
|
|
6
6
|
archiveConversationBodySchema,
|
|
7
7
|
archiveConversationResponseSchema,
|
|
8
|
+
cancelConversationPendingMessagesBodySchema,
|
|
9
|
+
cancelConversationPendingMessagesResponseSchema,
|
|
8
10
|
conversationAuxiliaryCostsSchema,
|
|
9
11
|
conversationDetailQuerySchema,
|
|
10
12
|
conversationDetailReportSchema,
|
|
@@ -50,7 +52,7 @@ import {
|
|
|
50
52
|
taskRunListSchema,
|
|
51
53
|
taskRunSchema,
|
|
52
54
|
taskSummarySchema
|
|
53
|
-
} from "../chunk-
|
|
55
|
+
} from "../chunk-EQXVKNLM.js";
|
|
54
56
|
import {
|
|
55
57
|
healthReportSchema,
|
|
56
58
|
pluginOperationalReportFeedSchema,
|
|
@@ -73,6 +75,8 @@ export {
|
|
|
73
75
|
apiErrorSchema,
|
|
74
76
|
archiveConversationBodySchema,
|
|
75
77
|
archiveConversationResponseSchema,
|
|
78
|
+
cancelConversationPendingMessagesBodySchema,
|
|
79
|
+
cancelConversationPendingMessagesResponseSchema,
|
|
76
80
|
conversationAuxiliaryCostsSchema,
|
|
77
81
|
conversationDetailQuerySchema,
|
|
78
82
|
conversationDetailReportSchema,
|