@sentry/junior 0.143.0 → 0.145.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-2EP3QS47.js → agent-hooks-L7D2BDVV.js} +10 -10
- package/dist/api/conversations/detail.d.ts +9 -0
- package/dist/api/schema/conversation.d.ts +20 -0
- package/dist/api/schema/task.d.ts +40 -1
- package/dist/api/schema.d.ts +3 -3
- package/dist/api/schema.js +5 -1
- package/dist/api.js +2250 -2172
- package/dist/app.js +335 -409
- package/dist/{catalog-runtime-IAVW4W3B.js → catalog-runtime-QLAC4Q3W.js} +5 -5
- package/dist/chat/agent/request.d.ts +1 -1
- package/dist/chat/agent/resume.d.ts +6 -15
- package/dist/chat/agent/tools.d.ts +1 -1
- package/dist/chat/agent-dispatch/types.d.ts +1 -1
- package/dist/chat/app/conversation-work.d.ts +24 -0
- package/dist/chat/conversations/projection.d.ts +11 -3
- package/dist/chat/conversations/store.d.ts +1 -1
- package/dist/chat/runtime/agent-run-outcome.d.ts +1 -1
- package/dist/chat/runtime/reply-executor.d.ts +5 -5
- package/dist/chat/runtime/slack-resume.d.ts +12 -4
- package/dist/chat/scheduled-tasks/store.d.ts +1 -0
- package/dist/chat/scheduled-tasks/tool-support.d.ts +26 -1
- package/dist/chat/scheduled-tasks/tools/create.d.ts +10 -0
- package/dist/chat/scheduled-tasks/tools/delete.d.ts +10 -0
- package/dist/chat/scheduled-tasks/tools/list.d.ts +15 -2
- package/dist/chat/scheduled-tasks/tools/run-now.d.ts +10 -0
- package/dist/chat/scheduled-tasks/tools/update.d.ts +12 -1
- package/dist/chat/services/guardian-action-policy.d.ts +1 -1
- package/dist/chat/state/locks.d.ts +28 -0
- package/dist/chat/task-execution/checkpoint.d.ts +86 -0
- package/dist/chat/task-execution/paused-turn.d.ts +29 -0
- package/dist/chat/task-execution/queue-signing.d.ts +1 -0
- package/dist/chat/task-execution/queue.d.ts +7 -1
- package/dist/chat/task-execution/slack-work.d.ts +1 -1
- package/dist/chat/task-execution/state.d.ts +4 -4
- package/dist/chat/task-execution/store.d.ts +2 -2
- package/dist/chat/task-execution/turn-cursor-keys.d.ts +6 -0
- package/dist/chat/{state/turn-session.d.ts → task-execution/turn-cursor.d.ts} +52 -42
- package/dist/chat/task-execution/turn-wake.d.ts +29 -0
- package/dist/chat/tasks/execution-stats.d.ts +21 -0
- package/dist/chat/tasks/read.d.ts +9 -1
- package/dist/chat/tools/types.d.ts +1 -1
- package/dist/{chunk-2KLMGRRQ.js → chunk-27TEJTZO.js} +1 -1
- package/dist/{chunk-GZRWULXF.js → chunk-2LWPFSB4.js} +1 -1
- package/dist/{chunk-NAINBOZQ.js → chunk-2UH3JI64.js} +10 -9
- package/dist/{chunk-QFWXGUAH.js → chunk-2XET6PKP.js} +93 -89
- package/dist/{chunk-U5ATCOHE.js → chunk-5PNPQYTO.js} +2 -2
- package/dist/{chunk-XYJNNZYR.js → chunk-64SBYW2O.js} +397 -288
- package/dist/{chunk-F6RWNJBK.js → chunk-B46ZMVOV.js} +5 -5
- package/dist/{chunk-BJ6ISBOA.js → chunk-CD2XFGYQ.js} +1 -1
- package/dist/{chunk-WSWVWP2V.js → chunk-DS3J6WGY.js} +1 -1
- package/dist/{chunk-OG5JQHKR.js → chunk-DXEQAIUV.js} +1 -1
- package/dist/{chunk-A3XPSABC.js → chunk-EIX2LQ6L.js} +82 -4
- package/dist/{chunk-ANG7IWAI.js → chunk-FUBRJA5F.js} +6 -6
- package/dist/{chunk-OB7ZJK7Y.js → chunk-GDV5LXRA.js} +1 -1
- package/dist/{chunk-AEFJN7OK.js → chunk-GUWLDMGF.js} +4 -4
- package/dist/{chunk-I4NQNZVW.js → chunk-HISR3DTV.js} +33 -61
- package/dist/{chunk-WM4PRM7W.js → chunk-HLOUZC5C.js} +32 -34
- package/dist/{chunk-RABHACKG.js → chunk-I47UGQPJ.js} +7 -7
- package/dist/{chunk-IUFM5JWV.js → chunk-JAL3CH4G.js} +3 -0
- package/dist/{chunk-OGQGJAD7.js → chunk-JLMVCNXL.js} +26 -1
- package/dist/{chunk-5YJBS4I5.js → chunk-JTGS3ZZE.js} +1 -1
- package/dist/{chunk-LSBQHDI2.js → chunk-LVVSIMBB.js} +1 -1
- package/dist/{chunk-2T5CHXRZ.js → chunk-PJ4NMVQB.js} +2 -2
- package/dist/{chunk-I5PIM72M.js → chunk-QJBDABQA.js} +14 -17
- package/dist/{chunk-M2T7MHQJ.js → chunk-QUG4JSZK.js} +43 -1
- package/dist/{chunk-X5SC2UGE.js → chunk-RUSS62EN.js} +14 -14
- package/dist/{chunk-NVFVM67W.js → chunk-SIN3MXH6.js} +1 -1
- package/dist/{chunk-I25V3XRN.js → chunk-TZRXYWRE.js} +2 -2
- package/dist/{chunk-WJHWOAVZ.js → chunk-VTDMB7XX.js} +1 -1
- package/dist/{chunk-TPJK6AVJ.js → chunk-WF5HVH3M.js} +1 -1
- package/dist/{chunk-KCBZSJRU.js → chunk-WR76IVA5.js} +5 -2
- package/dist/{chunk-7GVX5SOG.js → chunk-XFKIRN3Q.js} +29 -29
- package/dist/{chunk-UFCA4EZB.js → chunk-YD54Q45G.js} +4 -4
- package/dist/{chunk-PBV7VXUA.js → chunk-ZIAMN2UW.js} +407 -523
- package/dist/{chunk-SNBTWIQO.js → chunk-ZIMRGFYL.js} +6 -6
- package/dist/{chunk-STX5WIH6.js → chunk-ZYAJMESY.js} +2 -2
- package/dist/cli/chat.js +32 -32
- 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-RBXBVEVO.js → db-62PW6LM3.js} +7 -7
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +4 -4
- package/dist/{oauth-callback-server-LRB6BX6C.js → oauth-callback-server-6NZNHJAM.js} +25 -25
- package/dist/{runner-WK5VUOW6.js → runner-GCRPG3GQ.js} +19 -18
- package/dist/{skills-MJWRME3A.js → skills-2S3MDFIQ.js} +6 -6
- package/dist/spawn-7WK37BTD.js +39 -0
- package/dist/{validation-556WSWVU.js → validation-HAOLCJ5A.js} +6 -6
- package/dist/version.js +1 -1
- package/dist/{work-W6IXSPY3.js → work-R4XYKMUW.js} +17 -16
- package/dist/worker-U2UCVR7M.js +24 -0
- package/package.json +5 -5
- package/dist/chat/agent/session.d.ts +0 -19
- package/dist/chat/runtime/agent-continue-runner.d.ts +0 -37
- package/dist/chat/services/agent-continue.d.ts +0 -29
- package/dist/chat/services/turn-session-record.d.ts +0 -164
- package/dist/chat/state/turn-session-keys.d.ts +0 -6
- package/dist/spawn-ZCW6UOAA.js +0 -38
- package/dist/worker-5KM346HH.js +0 -24
|
@@ -11,21 +11,21 @@ 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-ZIMRGFYL.js";
|
|
15
|
+
import "./chunk-TZRXYWRE.js";
|
|
16
|
+
import "./chunk-2UH3JI64.js";
|
|
17
|
+
import "./chunk-27TEJTZO.js";
|
|
18
18
|
import "./chunk-EM225ITJ.js";
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
19
|
+
import "./chunk-QUG4JSZK.js";
|
|
20
|
+
import "./chunk-XFKIRN3Q.js";
|
|
21
21
|
import "./chunk-VFUK3X5B.js";
|
|
22
|
-
import "./chunk-
|
|
22
|
+
import "./chunk-JTGS3ZZE.js";
|
|
23
23
|
import "./chunk-HZF5P5UN.js";
|
|
24
24
|
import "./chunk-F3B2YJ76.js";
|
|
25
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-2LWPFSB4.js";
|
|
26
26
|
import "./chunk-6GWA276C.js";
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
27
|
+
import "./chunk-DS3J6WGY.js";
|
|
28
|
+
import "./chunk-GDV5LXRA.js";
|
|
29
29
|
import "./chunk-MLKGABMK.js";
|
|
30
30
|
export {
|
|
31
31
|
PluginHookDeniedError,
|
|
@@ -287,5 +287,14 @@ declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
|
287
287
|
previousCursor: import("zod").ZodOptional<import("zod").ZodString>;
|
|
288
288
|
generatedAt: import("zod").ZodString;
|
|
289
289
|
sentryConversationUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
290
|
+
sourceTask: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
291
|
+
id: import("zod").ZodOptional<import("zod").ZodString>;
|
|
292
|
+
kind: import("zod").ZodEnum<{
|
|
293
|
+
scheduled: "scheduled";
|
|
294
|
+
event: "event";
|
|
295
|
+
}>;
|
|
296
|
+
label: import("zod").ZodOptional<import("zod").ZodString>;
|
|
297
|
+
title: import("zod").ZodOptional<import("zod").ZodString>;
|
|
298
|
+
}, import("zod/v4/core").$strict>>;
|
|
290
299
|
}, import("zod/v4/core").$strict>>;
|
|
291
300
|
export default _default;
|
|
@@ -67,6 +67,16 @@ export declare const conversationAuxiliaryCostsSchema: z.ZodObject<{
|
|
|
67
67
|
namespace: z.ZodString;
|
|
68
68
|
}, z.core.$strict>>;
|
|
69
69
|
}, z.core.$strict>;
|
|
70
|
+
/** Optional reverse link from a task-triggered conversation back to its task. */
|
|
71
|
+
export declare const conversationSourceTaskSchema: z.ZodObject<{
|
|
72
|
+
id: z.ZodOptional<z.ZodString>;
|
|
73
|
+
kind: z.ZodEnum<{
|
|
74
|
+
scheduled: "scheduled";
|
|
75
|
+
event: "event";
|
|
76
|
+
}>;
|
|
77
|
+
label: z.ZodOptional<z.ZodString>;
|
|
78
|
+
title: z.ZodOptional<z.ZodString>;
|
|
79
|
+
}, z.core.$strict>;
|
|
70
80
|
export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
71
81
|
displayTitle: z.ZodString;
|
|
72
82
|
cumulativeDurationMs: z.ZodNumber;
|
|
@@ -787,6 +797,15 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
787
797
|
previousCursor: z.ZodOptional<z.ZodString>;
|
|
788
798
|
generatedAt: z.ZodString;
|
|
789
799
|
sentryConversationUrl: z.ZodOptional<z.ZodString>;
|
|
800
|
+
sourceTask: z.ZodOptional<z.ZodObject<{
|
|
801
|
+
id: z.ZodOptional<z.ZodString>;
|
|
802
|
+
kind: z.ZodEnum<{
|
|
803
|
+
scheduled: "scheduled";
|
|
804
|
+
event: "event";
|
|
805
|
+
}>;
|
|
806
|
+
label: z.ZodOptional<z.ZodString>;
|
|
807
|
+
title: z.ZodOptional<z.ZodString>;
|
|
808
|
+
}, z.core.$strict>>;
|
|
790
809
|
}, z.core.$strict>;
|
|
791
810
|
export declare const conversationEventPageSchema: z.ZodObject<{
|
|
792
811
|
events: z.ZodArray<z.ZodObject<{
|
|
@@ -1142,6 +1161,7 @@ export type ConversationModelUsage = z.infer<typeof conversationModelUsageSchema
|
|
|
1142
1161
|
export type ConversationReportEventData = z.infer<typeof conversationReportEventDataSchema>;
|
|
1143
1162
|
export type ConversationReportEvent = z.infer<typeof conversationReportEventSchema>;
|
|
1144
1163
|
export type ConversationEventHistory = z.infer<typeof conversationEventHistorySchema>;
|
|
1164
|
+
export type ConversationSourceTask = z.infer<typeof conversationSourceTaskSchema>;
|
|
1145
1165
|
export type ConversationDetailReport = z.infer<typeof conversationDetailReportSchema>;
|
|
1146
1166
|
export type ConversationEventPage = z.infer<typeof conversationEventPageSchema>;
|
|
1147
1167
|
export type ConversationFeed = z.infer<typeof conversationFeedSchema>;
|
|
@@ -185,8 +185,8 @@ export declare const taskListSchema: z.ZodObject<{
|
|
|
185
185
|
export declare const taskParamsSchema: z.ZodObject<{
|
|
186
186
|
id: z.ZodString;
|
|
187
187
|
kind: z.ZodEnum<{
|
|
188
|
-
event: "event";
|
|
189
188
|
scheduled: "scheduled";
|
|
189
|
+
event: "event";
|
|
190
190
|
}>;
|
|
191
191
|
}, z.core.$strict>;
|
|
192
192
|
export declare const taskExecutionStatusSchema: z.ZodEnum<{
|
|
@@ -288,9 +288,48 @@ export declare const taskExecutionListSchema: z.ZodObject<{
|
|
|
288
288
|
}, z.core.$strict>], "kind">;
|
|
289
289
|
truncated: z.ZodBoolean;
|
|
290
290
|
}, z.core.$strict>;
|
|
291
|
+
export declare const taskRunSchema: z.ZodObject<{
|
|
292
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
293
|
+
executedAt: z.ZodString;
|
|
294
|
+
executionId: z.ZodString;
|
|
295
|
+
status: z.ZodEnum<{
|
|
296
|
+
completed: "completed";
|
|
297
|
+
failed: "failed";
|
|
298
|
+
blocked: "blocked";
|
|
299
|
+
}>;
|
|
300
|
+
title: z.ZodOptional<z.ZodString>;
|
|
301
|
+
kind: z.ZodEnum<{
|
|
302
|
+
scheduled: "scheduled";
|
|
303
|
+
event: "event";
|
|
304
|
+
}>;
|
|
305
|
+
taskId: z.ZodString;
|
|
306
|
+
taskTitle: z.ZodString;
|
|
307
|
+
}, z.core.$strict>;
|
|
308
|
+
export declare const taskRunListSchema: z.ZodObject<{
|
|
309
|
+
runs: z.ZodArray<z.ZodObject<{
|
|
310
|
+
conversationId: z.ZodOptional<z.ZodString>;
|
|
311
|
+
executedAt: z.ZodString;
|
|
312
|
+
executionId: z.ZodString;
|
|
313
|
+
status: z.ZodEnum<{
|
|
314
|
+
completed: "completed";
|
|
315
|
+
failed: "failed";
|
|
316
|
+
blocked: "blocked";
|
|
317
|
+
}>;
|
|
318
|
+
title: z.ZodOptional<z.ZodString>;
|
|
319
|
+
kind: z.ZodEnum<{
|
|
320
|
+
scheduled: "scheduled";
|
|
321
|
+
event: "event";
|
|
322
|
+
}>;
|
|
323
|
+
taskId: z.ZodString;
|
|
324
|
+
taskTitle: z.ZodString;
|
|
325
|
+
}, z.core.$strict>>;
|
|
326
|
+
truncated: z.ZodBoolean;
|
|
327
|
+
}, z.core.$strict>;
|
|
291
328
|
export type TaskExecutionDay = z.output<typeof taskExecutionDaySchema>;
|
|
292
329
|
export type TaskExecutionStatusDay = z.output<typeof taskExecutionStatusDaySchema>;
|
|
293
330
|
export type TaskExecution = z.output<typeof taskExecutionSchema>;
|
|
294
331
|
export type TaskExecutionList = z.output<typeof taskExecutionListSchema>;
|
|
332
|
+
export type TaskRun = z.output<typeof taskRunSchema>;
|
|
333
|
+
export type TaskRunList = z.output<typeof taskRunListSchema>;
|
|
295
334
|
export type TaskSummary = z.output<typeof taskSummarySchema>;
|
|
296
335
|
export type TaskList = z.output<typeof taskListSchema>;
|
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
3
|
export { archiveConversationBodySchema, archiveConversationResponseSchema, conversationAuxiliaryCostsSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventPageSchema, conversationEventHistorySchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, } from "./schema/conversation";
|
|
4
|
-
export type { ArchiveConversationBody, ArchiveConversationResponse, ActorIdentity, ConversationAuxiliaryCosts, ConversationCost, ConversationDetailReport, ConversationEventPage, ConversationEventHistory, ConversationFeed, ConversationReportEvent, ConversationReportEventData, ConversationReportStatus, ConversationMetricDay, ConversationModelUsage, ConversationParams, ConversationStatsItem, ConversationStatsReport, ConversationSummaryReport, ConversationSurface, ConversationUsage, GuardianMetricDay, GuardianStats, } from "./schema/conversation";
|
|
4
|
+
export type { ArchiveConversationBody, ArchiveConversationResponse, ActorIdentity, ConversationAuxiliaryCosts, ConversationCost, ConversationDetailReport, ConversationEventPage, ConversationEventHistory, ConversationFeed, ConversationReportEvent, ConversationReportEventData, ConversationReportStatus, ConversationMetricDay, ConversationModelUsage, ConversationParams, ConversationSourceTask, ConversationStatsItem, ConversationStatsReport, ConversationSummaryReport, ConversationSurface, ConversationUsage, 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";
|
|
@@ -10,8 +10,8 @@ export { apiErrorSchema } from "./schema/common";
|
|
|
10
10
|
export type { ApiError } from "./schema/common";
|
|
11
11
|
export { createPersonalTokenBodySchema, createdPersonalTokenSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, revokePersonalTokenResponseSchema, } from "./schema/personal-token";
|
|
12
12
|
export type { PersonalTokenMetadata } from "./schema/personal-token";
|
|
13
|
-
export { eventTaskSummarySchema, scheduledTaskSummarySchema, taskExecutionListSchema, taskExecutionSchema, taskExecutionStatusDaySchema, taskExecutionStatusSchema, taskListSchema, taskParamsSchema, taskSummarySchema, } from "./schema/task";
|
|
14
|
-
export type { TaskExecution, TaskExecutionDay, TaskExecutionList, TaskExecutionStatusDay, TaskList, TaskSummary, } from "./schema/task";
|
|
13
|
+
export { eventTaskSummarySchema, scheduledTaskSummarySchema, taskExecutionListSchema, taskExecutionSchema, taskExecutionStatusDaySchema, taskExecutionStatusSchema, taskListSchema, taskParamsSchema, taskRunListSchema, taskRunSchema, taskSummarySchema, } from "./schema/task";
|
|
14
|
+
export type { TaskExecution, TaskExecutionDay, TaskExecutionList, TaskExecutionStatusDay, TaskList, TaskRun, TaskRunList, TaskSummary, } from "./schema/task";
|
|
15
15
|
export { statSchema, statsReportSchema } from "./schema/stats";
|
|
16
16
|
export type { StatReport, StatsReport } from "./schema/stats";
|
|
17
17
|
export { healthReportSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, runtimeInfoReportSchema, skillReportSchema, skillReportsSchema, } from "../reporting-schema";
|
package/dist/api/schema.js
CHANGED
|
@@ -40,8 +40,10 @@ import {
|
|
|
40
40
|
taskExecutionStatusSchema,
|
|
41
41
|
taskListSchema,
|
|
42
42
|
taskParamsSchema,
|
|
43
|
+
taskRunListSchema,
|
|
44
|
+
taskRunSchema,
|
|
43
45
|
taskSummarySchema
|
|
44
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-JLMVCNXL.js";
|
|
45
47
|
import {
|
|
46
48
|
healthReportSchema,
|
|
47
49
|
pluginOperationalReportFeedSchema,
|
|
@@ -109,5 +111,7 @@ export {
|
|
|
109
111
|
taskExecutionStatusSchema,
|
|
110
112
|
taskListSchema,
|
|
111
113
|
taskParamsSchema,
|
|
114
|
+
taskRunListSchema,
|
|
115
|
+
taskRunSchema,
|
|
112
116
|
taskSummarySchema
|
|
113
117
|
};
|