@sentry/junior 0.193.0 → 0.194.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-DWY3MZZ7.js → agent-hooks-IDX764FD.js} +11 -11
- package/dist/api/conversations/aggregate.d.ts +2 -0
- package/dist/api/conversations/list.d.ts +1 -1
- package/dist/api/conversations/projection.d.ts +1 -1
- package/dist/api/locations/detail.d.ts +1 -1
- package/dist/api/schema/conversation.d.ts +3 -3
- package/dist/api/schema/location.d.ts +1 -1
- package/dist/api/schema/person.d.ts +1 -1
- package/dist/api/schema/task.d.ts +71 -8
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +3 -1
- package/dist/api.js +106 -187
- package/dist/app.js +44 -39
- package/dist/{catalog-runtime-NAD44W5K.js → catalog-runtime-MICXEBLK.js} +4 -4
- package/dist/chat/agent/resume.d.ts +2 -0
- package/dist/chat/config.d.ts +1 -0
- package/dist/chat/conversations/history.d.ts +4 -2
- package/dist/chat/services/turn-limit.d.ts +11 -1
- package/dist/chat/slack/{source-link.d.ts → location-url.d.ts} +1 -1
- package/dist/chat/task-execution/checkpoint.d.ts +2 -0
- package/dist/chat/task-execution/turn-cursor.d.ts +3 -0
- package/dist/chat/tasks/execution-stats.d.ts +13 -1
- package/dist/chat/usage.d.ts +4 -0
- package/dist/{chunk-GTXQHZ2O.js → chunk-2NL3Y47F.js} +5 -5
- package/dist/{chunk-DVU734PI.js → chunk-53IEEFFP.js} +3 -3
- package/dist/{chunk-WH5VV2RW.js → chunk-6H2MKVV5.js} +1 -1
- package/dist/{chunk-42N6CDWF.js → chunk-73JEAQRT.js} +4 -4
- package/dist/{chunk-KWXZMHJS.js → chunk-7ANA7PBB.js} +3 -3
- package/dist/{chunk-2CYWEVOP.js → chunk-ADEACKAH.js} +81 -68
- package/dist/{chunk-D4XQZOHB.js → chunk-AWZS5SVX.js} +8 -8
- package/dist/{chunk-FQ5HFSFR.js → chunk-CCTYK5RH.js} +6 -6
- package/dist/{chunk-N6Q2PNSI.js → chunk-CFGBKPWQ.js} +3 -3
- package/dist/{chunk-5LEVZYXF.js → chunk-E53C73ML.js} +4 -4
- package/dist/{chunk-IBXXTO3J.js → chunk-ELCYG6UU.js} +3 -3
- package/dist/{chunk-COCVPDWX.js → chunk-ENWIHU54.js} +6 -6
- package/dist/{chunk-AZVDODSP.js → chunk-F2KSURTJ.js} +9 -9
- package/dist/{chunk-K47OVEO4.js → chunk-G35QGPO2.js} +1 -1
- package/dist/{chunk-PYBFVK6K.js → chunk-G4RARFNT.js} +50 -24
- package/dist/{chunk-S5HS6WRH.js → chunk-GY5SEFVL.js} +5 -5
- package/dist/{chunk-LG7Q4OW4.js → chunk-H4DCWLTR.js} +8 -8
- package/dist/{chunk-QDU5MW2R.js → chunk-IME5OW4Y.js} +1 -1
- package/dist/{chunk-5E5SLAVD.js → chunk-INTBMGNX.js} +23 -25
- package/dist/{chunk-HMBTX5RK.js → chunk-IOGDKPVU.js} +1 -1
- package/dist/{chunk-OICYQPKP.js → chunk-JOI3DHML.js} +1 -1
- package/dist/{chunk-GUKGU6R7.js → chunk-KNIAWMBU.js} +1 -1
- package/dist/{chunk-4UA5C7AM.js → chunk-NPO24LAN.js} +8 -8
- package/dist/{chunk-IQCL5JGL.js → chunk-NWWDFHXP.js} +1 -1
- package/dist/{chunk-ZFPEPWOO.js → chunk-OEQOAONV.js} +60 -29
- package/dist/{chunk-3YZ2Q6AW.js → chunk-P2P6MUQ4.js} +2 -2
- package/dist/{chunk-LXRTHE43.js → chunk-QMEF4Z7R.js} +5 -5
- package/dist/{chunk-D5YQPCEG.js → chunk-RFE7DCZK.js} +24 -2
- package/dist/{chunk-QWY4KI2V.js → chunk-S7GX44BU.js} +1 -1
- package/dist/{chunk-WJJDQLVL.js → chunk-U76RWMFR.js} +4 -2
- package/dist/{chunk-IOUUS6H4.js → chunk-V4HXV5MY.js} +1 -1
- package/dist/{chunk-GUMBIDDL.js → chunk-VOB2DKO6.js} +174 -34
- package/dist/{chunk-BFP3ZKG6.js → chunk-WMJS5DDV.js} +4 -4
- package/dist/{chunk-DXFUYLHX.js → chunk-WWXJUURQ.js} +1 -1
- package/dist/{chunk-QY2IU47O.js → chunk-X76JVHQ4.js} +1 -1
- package/dist/{chunk-5S6AQFNG.js → chunk-XLWZRHX5.js} +1 -1
- package/dist/{chunk-THYNA2QN.js → chunk-XND3J6AT.js} +1 -1
- package/dist/{chunk-THFNL3TL.js → chunk-XRDSML3K.js} +2 -2
- package/dist/{chunk-EYIMZY5O.js → chunk-YSLIB7ER.js} +18 -3
- package/dist/cli/chat.js +33 -33
- package/dist/cli/check.js +5 -5
- package/dist/cli/plugins.js +12 -12
- package/dist/cli/snapshot-create.js +9 -9
- package/dist/cli/upgrade.js +6 -6
- package/dist/{db-H5MDRQEY.js → db-3IEVINAY.js} +6 -6
- package/dist/instrumentation.js +3 -3
- package/dist/nitro.js +6 -6
- package/dist/{oauth-callback-server-IOU3NUHT.js → oauth-callback-server-N7L2BB4L.js} +29 -29
- package/dist/{runner-FZ5ZHLFG.js → runner-PTTZV3WU.js} +21 -21
- package/dist/{skills-AR3WD6BX.js → skills-POMWS2RR.js} +5 -5
- package/dist/spawn-R75MXXKE.js +42 -0
- package/dist/task-runner-OQLRHADB.js +36 -0
- package/dist/{validation-VYE7TQY7.js → validation-U6LOMXR7.js} +5 -5
- package/dist/version.js +1 -1
- package/dist/{work-CTQFWYKE.js → work-FHA3BS4L.js} +21 -21
- package/dist/{worker-6WQU3IT5.js → worker-GR4UNVVP.js} +10 -10
- package/package.json +5 -5
- package/dist/spawn-ZU6JABR7.js +0 -42
- package/dist/task-runner-EEGGG2PM.js +0 -36
|
@@ -13,26 +13,26 @@ import {
|
|
|
13
13
|
getPlugins,
|
|
14
14
|
setPlugins,
|
|
15
15
|
validatePlugins
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-CCTYK5RH.js";
|
|
17
17
|
import "./chunk-3Y47VMHV.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-ADEACKAH.js";
|
|
19
|
+
import "./chunk-XLWZRHX5.js";
|
|
20
|
+
import "./chunk-7ANA7PBB.js";
|
|
21
|
+
import "./chunk-V4HXV5MY.js";
|
|
22
22
|
import "./chunk-GFBR4S3Q.js";
|
|
23
23
|
import "./chunk-VFUK3X5B.js";
|
|
24
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-U76RWMFR.js";
|
|
25
25
|
import "./chunk-D4YV5TDV.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
28
|
-
import "./chunk-
|
|
26
|
+
import "./chunk-JOI3DHML.js";
|
|
27
|
+
import "./chunk-WWXJUURQ.js";
|
|
28
|
+
import "./chunk-S7GX44BU.js";
|
|
29
29
|
import "./chunk-CEMMLV5L.js";
|
|
30
30
|
import "./chunk-N7TMSOZH.js";
|
|
31
31
|
import "./chunk-DWPN6SCH.js";
|
|
32
32
|
import "./chunk-TXKUKMVO.js";
|
|
33
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-X76JVHQ4.js";
|
|
34
34
|
import "./chunk-PEQXYSSE.js";
|
|
35
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-IME5OW4Y.js";
|
|
36
36
|
export {
|
|
37
37
|
PluginHookDeniedError,
|
|
38
38
|
applyPluginFormatMarkdown,
|
|
@@ -5,6 +5,8 @@ interface ConversationAggregateSource {
|
|
|
5
5
|
executionStatus: AnyPgColumn;
|
|
6
6
|
usage: AnyPgColumn;
|
|
7
7
|
}
|
|
8
|
+
/** Read one conversation row's usage cost as a SQL expression. */
|
|
9
|
+
export declare function conversationUsageCostExpr(usage: AnyPgColumn): import("drizzle-orm").SQL<number | null>;
|
|
8
10
|
/** Select complete conversation metrics inside the database instead of materializing source rows. */
|
|
9
11
|
export declare function conversationAggregateColumns(sources?: {
|
|
10
12
|
metrics: ConversationAggregateSource;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import type { Conversation as StoredConversation } from "@/chat/conversations/store";
|
|
2
2
|
import type { ConversationEventHistory, ConversationSummaryReport, ConversationUsage } from "../schema/conversation";
|
|
3
3
|
import type { ConversationAccess } from "./access";
|
|
4
|
-
type ConversationProjectionSource = Pick<StoredConversation, "actor" | "channelName" | "conversationId" | "createdAtMs" | "execution" | "lastActivityAtMs" | "
|
|
4
|
+
type ConversationProjectionSource = Pick<StoredConversation, "actor" | "channelName" | "conversationId" | "createdAtMs" | "execution" | "lastActivityAtMs" | "location" | "source" | "title" | "updatedAtMs">;
|
|
5
5
|
/** Describe whether a viewer can read one conversation's retained events. */
|
|
6
6
|
export declare function conversationEventHistory(args: {
|
|
7
7
|
canExposePayload: boolean;
|
|
@@ -86,7 +86,7 @@ export declare function readLocationDetail(locationId: string, options?: {
|
|
|
86
86
|
channelNameRedacted?: boolean | undefined;
|
|
87
87
|
locationId?: string | undefined;
|
|
88
88
|
sentryTraceUrl?: string | undefined;
|
|
89
|
-
|
|
89
|
+
locationUrl?: string | undefined;
|
|
90
90
|
traceId?: string | undefined;
|
|
91
91
|
annotations?: ({
|
|
92
92
|
kind: "resource_link";
|
|
@@ -245,7 +245,7 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
245
245
|
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
246
246
|
locationId: z.ZodOptional<z.ZodString>;
|
|
247
247
|
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
248
|
-
|
|
248
|
+
locationUrl: z.ZodOptional<z.ZodString>;
|
|
249
249
|
traceId: z.ZodOptional<z.ZodString>;
|
|
250
250
|
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
251
251
|
kind: z.ZodLiteral<"resource_link">;
|
|
@@ -799,7 +799,7 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
799
799
|
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
800
800
|
locationId: z.ZodOptional<z.ZodString>;
|
|
801
801
|
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
802
|
-
|
|
802
|
+
locationUrl: z.ZodOptional<z.ZodString>;
|
|
803
803
|
traceId: z.ZodOptional<z.ZodString>;
|
|
804
804
|
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
805
805
|
kind: z.ZodLiteral<"resource_link">;
|
|
@@ -1380,7 +1380,7 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
1380
1380
|
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
1381
1381
|
locationId: z.ZodOptional<z.ZodString>;
|
|
1382
1382
|
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
1383
|
-
|
|
1383
|
+
locationUrl: z.ZodOptional<z.ZodString>;
|
|
1384
1384
|
traceId: z.ZodOptional<z.ZodString>;
|
|
1385
1385
|
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
1386
1386
|
kind: z.ZodLiteral<"resource_link">;
|
|
@@ -208,7 +208,7 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
208
208
|
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
209
209
|
locationId: z.ZodOptional<z.ZodString>;
|
|
210
210
|
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
211
|
-
|
|
211
|
+
locationUrl: z.ZodOptional<z.ZodString>;
|
|
212
212
|
traceId: z.ZodOptional<z.ZodString>;
|
|
213
213
|
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
214
214
|
kind: z.ZodLiteral<"resource_link">;
|
|
@@ -262,7 +262,7 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
262
262
|
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
263
263
|
locationId: z.ZodOptional<z.ZodString>;
|
|
264
264
|
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
265
|
-
|
|
265
|
+
locationUrl: z.ZodOptional<z.ZodString>;
|
|
266
266
|
traceId: z.ZodOptional<z.ZodString>;
|
|
267
267
|
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
268
268
|
kind: z.ZodLiteral<"resource_link">;
|
|
@@ -1,4 +1,11 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
/** Task run counts for the dashboard range control (24h/7d/30d/90d). */
|
|
3
|
+
export declare const taskRunWindowsSchema: z.ZodObject<{
|
|
4
|
+
1: z.ZodNumber;
|
|
5
|
+
7: z.ZodNumber;
|
|
6
|
+
30: z.ZodNumber;
|
|
7
|
+
90: z.ZodNumber;
|
|
8
|
+
}, z.core.$strict>;
|
|
2
9
|
export declare const scheduledTaskSummarySchema: z.ZodObject<{
|
|
3
10
|
createdAt: z.ZodString;
|
|
4
11
|
createdBy: z.ZodString;
|
|
@@ -17,7 +24,12 @@ export declare const scheduledTaskSummarySchema: z.ZodObject<{
|
|
|
17
24
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
18
25
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
19
26
|
ownedByViewer: z.ZodBoolean;
|
|
20
|
-
|
|
27
|
+
runs: z.ZodObject<{
|
|
28
|
+
1: z.ZodNumber;
|
|
29
|
+
7: z.ZodNumber;
|
|
30
|
+
30: z.ZodNumber;
|
|
31
|
+
90: z.ZodNumber;
|
|
32
|
+
}, z.core.$strict>;
|
|
21
33
|
title: z.ZodString;
|
|
22
34
|
totalRuns: z.ZodNumber;
|
|
23
35
|
kind: z.ZodLiteral<"scheduled">;
|
|
@@ -47,7 +59,12 @@ export declare const eventTaskSummarySchema: z.ZodObject<{
|
|
|
47
59
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
48
60
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
49
61
|
ownedByViewer: z.ZodBoolean;
|
|
50
|
-
|
|
62
|
+
runs: z.ZodObject<{
|
|
63
|
+
1: z.ZodNumber;
|
|
64
|
+
7: z.ZodNumber;
|
|
65
|
+
30: z.ZodNumber;
|
|
66
|
+
90: z.ZodNumber;
|
|
67
|
+
}, z.core.$strict>;
|
|
51
68
|
title: z.ZodString;
|
|
52
69
|
totalRuns: z.ZodNumber;
|
|
53
70
|
events: z.ZodArray<z.ZodString>;
|
|
@@ -74,7 +91,12 @@ export declare const taskSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
74
91
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
75
92
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
76
93
|
ownedByViewer: z.ZodBoolean;
|
|
77
|
-
|
|
94
|
+
runs: z.ZodObject<{
|
|
95
|
+
1: z.ZodNumber;
|
|
96
|
+
7: z.ZodNumber;
|
|
97
|
+
30: z.ZodNumber;
|
|
98
|
+
90: z.ZodNumber;
|
|
99
|
+
}, z.core.$strict>;
|
|
78
100
|
title: z.ZodString;
|
|
79
101
|
totalRuns: z.ZodNumber;
|
|
80
102
|
kind: z.ZodLiteral<"scheduled">;
|
|
@@ -103,7 +125,12 @@ export declare const taskSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
103
125
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
104
126
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
105
127
|
ownedByViewer: z.ZodBoolean;
|
|
106
|
-
|
|
128
|
+
runs: z.ZodObject<{
|
|
129
|
+
1: z.ZodNumber;
|
|
130
|
+
7: z.ZodNumber;
|
|
131
|
+
30: z.ZodNumber;
|
|
132
|
+
90: z.ZodNumber;
|
|
133
|
+
}, z.core.$strict>;
|
|
107
134
|
title: z.ZodString;
|
|
108
135
|
totalRuns: z.ZodNumber;
|
|
109
136
|
events: z.ZodArray<z.ZodString>;
|
|
@@ -116,17 +143,20 @@ export declare const taskSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
116
143
|
export declare const taskMetricBucketSchema: z.ZodString;
|
|
117
144
|
/** One UTC day/hour of completed task executions stacked by task type. */
|
|
118
145
|
export declare const taskExecutionDaySchema: z.ZodObject<{
|
|
146
|
+
costUsd: z.ZodNumber;
|
|
119
147
|
date: z.ZodString;
|
|
120
148
|
event: z.ZodNumber;
|
|
121
149
|
scheduled: z.ZodNumber;
|
|
122
150
|
}, z.core.$strict>;
|
|
123
151
|
export declare const taskListSchema: z.ZodObject<{
|
|
124
152
|
executionDays: z.ZodArray<z.ZodObject<{
|
|
153
|
+
costUsd: z.ZodNumber;
|
|
125
154
|
date: z.ZodString;
|
|
126
155
|
event: z.ZodNumber;
|
|
127
156
|
scheduled: z.ZodNumber;
|
|
128
157
|
}, z.core.$strict>>;
|
|
129
158
|
executionHours: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
159
|
+
costUsd: z.ZodNumber;
|
|
130
160
|
date: z.ZodString;
|
|
131
161
|
event: z.ZodNumber;
|
|
132
162
|
scheduled: z.ZodNumber;
|
|
@@ -149,7 +179,12 @@ export declare const taskListSchema: z.ZodObject<{
|
|
|
149
179
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
150
180
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
151
181
|
ownedByViewer: z.ZodBoolean;
|
|
152
|
-
|
|
182
|
+
runs: z.ZodObject<{
|
|
183
|
+
1: z.ZodNumber;
|
|
184
|
+
7: z.ZodNumber;
|
|
185
|
+
30: z.ZodNumber;
|
|
186
|
+
90: z.ZodNumber;
|
|
187
|
+
}, z.core.$strict>;
|
|
153
188
|
title: z.ZodString;
|
|
154
189
|
totalRuns: z.ZodNumber;
|
|
155
190
|
kind: z.ZodLiteral<"scheduled">;
|
|
@@ -178,7 +213,12 @@ export declare const taskListSchema: z.ZodObject<{
|
|
|
178
213
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
179
214
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
180
215
|
ownedByViewer: z.ZodBoolean;
|
|
181
|
-
|
|
216
|
+
runs: z.ZodObject<{
|
|
217
|
+
1: z.ZodNumber;
|
|
218
|
+
7: z.ZodNumber;
|
|
219
|
+
30: z.ZodNumber;
|
|
220
|
+
90: z.ZodNumber;
|
|
221
|
+
}, z.core.$strict>;
|
|
182
222
|
title: z.ZodString;
|
|
183
223
|
totalRuns: z.ZodNumber;
|
|
184
224
|
events: z.ZodArray<z.ZodString>;
|
|
@@ -203,6 +243,8 @@ export declare const taskExecutionStatusSchema: z.ZodEnum<{
|
|
|
203
243
|
}>;
|
|
204
244
|
export declare const taskExecutionSchema: z.ZodObject<{
|
|
205
245
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
246
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
247
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
206
248
|
executedAt: z.ZodString;
|
|
207
249
|
executionId: z.ZodString;
|
|
208
250
|
status: z.ZodEnum<{
|
|
@@ -211,6 +253,7 @@ export declare const taskExecutionSchema: z.ZodObject<{
|
|
|
211
253
|
blocked: "blocked";
|
|
212
254
|
}>;
|
|
213
255
|
title: z.ZodOptional<z.ZodString>;
|
|
256
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
214
257
|
}, z.core.$strict>;
|
|
215
258
|
/** One UTC day/hour of terminal executions for a single task, stacked by status. */
|
|
216
259
|
export declare const taskExecutionStatusDaySchema: z.ZodObject<{
|
|
@@ -234,6 +277,8 @@ export declare const taskExecutionListSchema: z.ZodObject<{
|
|
|
234
277
|
}, z.core.$strict>>>;
|
|
235
278
|
executions: z.ZodArray<z.ZodObject<{
|
|
236
279
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
280
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
281
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
237
282
|
executedAt: z.ZodString;
|
|
238
283
|
executionId: z.ZodString;
|
|
239
284
|
status: z.ZodEnum<{
|
|
@@ -242,6 +287,7 @@ export declare const taskExecutionListSchema: z.ZodObject<{
|
|
|
242
287
|
blocked: "blocked";
|
|
243
288
|
}>;
|
|
244
289
|
title: z.ZodOptional<z.ZodString>;
|
|
290
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
245
291
|
}, z.core.$strict>>;
|
|
246
292
|
task: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
247
293
|
createdAt: z.ZodString;
|
|
@@ -261,7 +307,12 @@ export declare const taskExecutionListSchema: z.ZodObject<{
|
|
|
261
307
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
262
308
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
263
309
|
ownedByViewer: z.ZodBoolean;
|
|
264
|
-
|
|
310
|
+
runs: z.ZodObject<{
|
|
311
|
+
1: z.ZodNumber;
|
|
312
|
+
7: z.ZodNumber;
|
|
313
|
+
30: z.ZodNumber;
|
|
314
|
+
90: z.ZodNumber;
|
|
315
|
+
}, z.core.$strict>;
|
|
265
316
|
title: z.ZodString;
|
|
266
317
|
totalRuns: z.ZodNumber;
|
|
267
318
|
kind: z.ZodLiteral<"scheduled">;
|
|
@@ -290,7 +341,12 @@ export declare const taskExecutionListSchema: z.ZodObject<{
|
|
|
290
341
|
lastConversationId: z.ZodOptional<z.ZodString>;
|
|
291
342
|
lastRunAt: z.ZodOptional<z.ZodString>;
|
|
292
343
|
ownedByViewer: z.ZodBoolean;
|
|
293
|
-
|
|
344
|
+
runs: z.ZodObject<{
|
|
345
|
+
1: z.ZodNumber;
|
|
346
|
+
7: z.ZodNumber;
|
|
347
|
+
30: z.ZodNumber;
|
|
348
|
+
90: z.ZodNumber;
|
|
349
|
+
}, z.core.$strict>;
|
|
294
350
|
title: z.ZodString;
|
|
295
351
|
totalRuns: z.ZodNumber;
|
|
296
352
|
events: z.ZodArray<z.ZodString>;
|
|
@@ -303,6 +359,8 @@ export declare const taskExecutionListSchema: z.ZodObject<{
|
|
|
303
359
|
}, z.core.$strict>;
|
|
304
360
|
export declare const taskRunSchema: z.ZodObject<{
|
|
305
361
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
362
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
363
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
306
364
|
executedAt: z.ZodString;
|
|
307
365
|
executionId: z.ZodString;
|
|
308
366
|
status: z.ZodEnum<{
|
|
@@ -311,6 +369,7 @@ export declare const taskRunSchema: z.ZodObject<{
|
|
|
311
369
|
blocked: "blocked";
|
|
312
370
|
}>;
|
|
313
371
|
title: z.ZodOptional<z.ZodString>;
|
|
372
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
314
373
|
kind: z.ZodEnum<{
|
|
315
374
|
scheduled: "scheduled";
|
|
316
375
|
event: "event";
|
|
@@ -321,6 +380,8 @@ export declare const taskRunSchema: z.ZodObject<{
|
|
|
321
380
|
export declare const taskRunListSchema: z.ZodObject<{
|
|
322
381
|
runs: z.ZodArray<z.ZodObject<{
|
|
323
382
|
conversationId: z.ZodOptional<z.ZodString>;
|
|
383
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
384
|
+
durationMs: z.ZodOptional<z.ZodNumber>;
|
|
324
385
|
executedAt: z.ZodString;
|
|
325
386
|
executionId: z.ZodString;
|
|
326
387
|
status: z.ZodEnum<{
|
|
@@ -329,6 +390,7 @@ export declare const taskRunListSchema: z.ZodObject<{
|
|
|
329
390
|
blocked: "blocked";
|
|
330
391
|
}>;
|
|
331
392
|
title: z.ZodOptional<z.ZodString>;
|
|
393
|
+
totalTokens: z.ZodOptional<z.ZodNumber>;
|
|
332
394
|
kind: z.ZodEnum<{
|
|
333
395
|
scheduled: "scheduled";
|
|
334
396
|
event: "event";
|
|
@@ -344,5 +406,6 @@ export type TaskExecution = z.output<typeof taskExecutionSchema>;
|
|
|
344
406
|
export type TaskExecutionList = z.output<typeof taskExecutionListSchema>;
|
|
345
407
|
export type TaskRun = z.output<typeof taskRunSchema>;
|
|
346
408
|
export type TaskRunList = z.output<typeof taskRunListSchema>;
|
|
409
|
+
export type TaskRunWindows = z.output<typeof taskRunWindowsSchema>;
|
|
347
410
|
export type TaskSummary = z.output<typeof taskSummarySchema>;
|
|
348
411
|
export type TaskList = z.output<typeof taskListSchema>;
|
package/dist/api/schema.d.ts
CHANGED
|
@@ -14,8 +14,8 @@ export { createPersonalTokenBodySchema, createdPersonalTokenSchema, personalToke
|
|
|
14
14
|
export type { PersonalTokenMetadata } from "./schema/personal-token";
|
|
15
15
|
export { baselineSnapshotSchema, deleteWorkspaceResponseSchema, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema, } from "./schema/workspace";
|
|
16
16
|
export type { BaselineSnapshotReport, WorkspaceReport, } from "./schema/workspace";
|
|
17
|
-
export { eventTaskSummarySchema, scheduledTaskSummarySchema, taskExecutionListSchema, taskExecutionSchema, taskExecutionStatusDaySchema, taskExecutionStatusSchema, taskListSchema, taskParamsSchema, taskRunListSchema, taskRunSchema, taskSummarySchema, } from "./schema/task";
|
|
18
|
-
export type { TaskExecution, TaskExecutionDay, TaskExecutionList, TaskExecutionStatusDay, TaskList, TaskRun, TaskRunList, TaskSummary, } from "./schema/task";
|
|
17
|
+
export { eventTaskSummarySchema, scheduledTaskSummarySchema, taskExecutionListSchema, taskExecutionSchema, taskExecutionStatusDaySchema, taskExecutionStatusSchema, taskListSchema, taskParamsSchema, taskRunListSchema, taskRunSchema, taskRunWindowsSchema, taskSummarySchema, } from "./schema/task";
|
|
18
|
+
export type { TaskExecution, TaskExecutionDay, TaskExecutionList, TaskExecutionStatusDay, TaskList, TaskRun, TaskRunList, TaskRunWindows, TaskSummary, } from "./schema/task";
|
|
19
19
|
export { statSchema, statsReportSchema } from "./schema/stats";
|
|
20
20
|
export type { StatReport, StatsReport } from "./schema/stats";
|
|
21
21
|
export { healthReportSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, runtimeInfoReportSchema, skillReportSchema, skillReportsSchema, } from "../reporting-schema";
|
package/dist/api/schema.js
CHANGED
|
@@ -59,13 +59,14 @@ import {
|
|
|
59
59
|
taskParamsSchema,
|
|
60
60
|
taskRunListSchema,
|
|
61
61
|
taskRunSchema,
|
|
62
|
+
taskRunWindowsSchema,
|
|
62
63
|
taskSummarySchema,
|
|
63
64
|
workspaceBodySchema,
|
|
64
65
|
workspaceListSchema,
|
|
65
66
|
workspaceParamsSchema,
|
|
66
67
|
workspaceRepoSchema,
|
|
67
68
|
workspaceSchema
|
|
68
|
-
} from "../chunk-
|
|
69
|
+
} from "../chunk-YSLIB7ER.js";
|
|
69
70
|
import {
|
|
70
71
|
healthReportSchema,
|
|
71
72
|
pluginOperationalReportFeedSchema,
|
|
@@ -158,6 +159,7 @@ export {
|
|
|
158
159
|
taskParamsSchema,
|
|
159
160
|
taskRunListSchema,
|
|
160
161
|
taskRunSchema,
|
|
162
|
+
taskRunWindowsSchema,
|
|
161
163
|
taskSummarySchema,
|
|
162
164
|
workspaceBodySchema,
|
|
163
165
|
workspaceListSchema,
|