@sentry/junior 0.184.0 → 0.185.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-XTZVALGQ.js → agent-hooks-NGZQLL5O.js} +13 -11
- package/dist/api/acp/schema.d.ts +20 -2
- package/dist/api/code/overview.d.ts +39 -0
- package/dist/api/locations/detail.d.ts +1 -1
- package/dist/api/people/code.d.ts +22 -0
- package/dist/api/schema/code.d.ts +46 -0
- package/dist/api/schema/conversation.d.ts +100 -20
- package/dist/api/schema/location.d.ts +1 -1
- package/dist/api/schema/person.d.ts +1 -1
- package/dist/api/schema.d.ts +4 -4
- package/dist/api/schema.js +12 -1
- package/dist/api.js +358 -76
- package/dist/app.js +406 -377
- package/dist/{catalog-runtime-5357XR4F.js → catalog-runtime-AAEAO2RL.js} +4 -4
- package/dist/chat/api-turns/accepted-reply.d.ts +11 -0
- package/dist/chat/api-turns/cancellation.d.ts +3 -5
- package/dist/chat/api-turns/work.d.ts +4 -9
- package/dist/chat/app/conversation-work.d.ts +1 -1
- package/dist/chat/app/factory.d.ts +4 -0
- package/dist/chat/app/services.d.ts +4 -3
- package/dist/chat/conversations/history.d.ts +83 -9
- package/dist/chat/conversations/turn-lifecycle.d.ts +4 -3
- package/dist/chat/providers/slack/input.d.ts +32 -0
- package/dist/chat/{runtime → providers/slack}/processing-reaction.d.ts +6 -8
- package/dist/chat/{runtime/slack-resume.d.ts → providers/slack/resume.d.ts} +16 -19
- package/dist/chat/providers/slack/runtime.d.ts +1 -10
- package/dist/chat/providers/slack/turn.d.ts +11 -24
- package/dist/chat/resource-events/store.d.ts +1 -1
- package/dist/chat/resource-events/tool-support.d.ts +0 -5
- package/dist/chat/runtime/turn-execution.d.ts +7 -2
- package/dist/chat/sandbox/egress/credentials.d.ts +3 -3
- package/dist/chat/sandbox/egress/session.d.ts +5 -6
- package/dist/chat/scheduled-tasks/tool-support.d.ts +5 -5
- package/dist/chat/scheduled-tasks/tools/create.d.ts +2 -2
- package/dist/chat/scheduled-tasks/tools/delete.d.ts +2 -2
- package/dist/chat/scheduled-tasks/tools/list.d.ts +2 -2
- package/dist/chat/scheduled-tasks/tools/run-now.d.ts +2 -2
- package/dist/chat/scheduled-tasks/tools/update.d.ts +2 -2
- package/dist/chat/scheduled-tasks/types.d.ts +1 -1
- package/dist/chat/services/provider-retry.d.ts +2 -0
- package/dist/chat/services/turn-failure-response.d.ts +4 -0
- package/dist/chat/task-execution/paused-turn.d.ts +0 -2
- package/dist/chat/task-execution/state.d.ts +2 -2
- package/dist/chat/task-execution/store.d.ts +1 -1
- package/dist/chat/task-execution/turn-wake.d.ts +12 -0
- package/dist/chat/tool-support/action-review.d.ts +1 -1
- package/dist/chat/tools/resource-events.d.ts +1 -1
- package/dist/chat/tools/search-conversation-events.d.ts +1 -1
- package/dist/chat/tools/types.d.ts +1 -1
- package/dist/chat/tools/watch-resource-events.d.ts +2 -2
- package/dist/{chunk-FKEZZMXS.js → chunk-4HA36IWS.js} +9 -94
- package/dist/{chunk-WVIA7V3M.js → chunk-4K25ODAO.js} +27 -1
- package/dist/{chunk-UF6BUA5W.js → chunk-4S47VHJR.js} +3 -3
- package/dist/{chunk-JNO2GUDS.js → chunk-6DOAUXLD.js} +231 -198
- package/dist/{chunk-M3QYTBQ6.js → chunk-6Q7YZLCL.js} +2 -1
- package/dist/{chunk-6VOYP4M6.js → chunk-7GAP2XG4.js} +1 -1
- package/dist/{chunk-LHXIZLFF.js → chunk-7MHNIGHP.js} +1 -1
- package/dist/{chunk-IZDYYYGP.js → chunk-ABAX75GG.js} +10 -384
- package/dist/{chunk-WQFEWULF.js → chunk-ATUWN6Z3.js} +2 -2
- package/dist/{chunk-4RONS3WR.js → chunk-C6TS47CQ.js} +4 -4
- package/dist/chunk-D4YV5TDV.js +45 -0
- package/dist/{chunk-Z3QAXJR7.js → chunk-D63IUQQE.js} +4 -4
- package/dist/{chunk-M5YWNMTE.js → chunk-DAPC2HTM.js} +24 -6
- package/dist/{chunk-BHYRYYLY.js → chunk-EIJCPJOY.js} +1 -1
- package/dist/{chunk-SHJK75Z2.js → chunk-EJYP3NQ4.js} +4 -4
- package/dist/{chunk-K7VDC2QW.js → chunk-EWEH2PJW.js} +6 -6
- package/dist/{chunk-6WGC3SO4.js → chunk-FFHXG2FX.js} +13 -11
- package/dist/{chunk-MLSQX2EX.js → chunk-FTVMXDNN.js} +1 -1
- package/dist/chunk-GFBR4S3Q.js +406 -0
- package/dist/{chunk-PJPRXO2T.js → chunk-GJTIZQGJ.js} +1 -1
- package/dist/{chunk-BT53RIGJ.js → chunk-HJPC32TQ.js} +12 -50
- package/dist/{chunk-RF6J3DIO.js → chunk-INQHUE72.js} +84 -1
- package/dist/{chunk-6UDPINOX.js → chunk-LRI5IRGY.js} +19 -44
- package/dist/{chunk-BCHYQS4B.js → chunk-LVK4WJKM.js} +1 -1
- package/dist/{chunk-UBOIHNTH.js → chunk-MWOH6CIK.js} +178 -148
- package/dist/{chunk-3S7ULUWW.js → chunk-OMQ2J6F6.js} +1 -1
- package/dist/{chunk-DUKIDPF6.js → chunk-PNYJOEVV.js} +1 -1
- package/dist/{chunk-MAPJFUMV.js → chunk-QCT4226Q.js} +3 -3
- package/dist/{chunk-HIPUIPJM.js → chunk-QZKHHG3B.js} +34 -8
- package/dist/{chunk-QABCY33S.js → chunk-TVVAMOLS.js} +2 -2
- package/dist/{chunk-JA43DV4Y.js → chunk-U4CTAVWN.js} +1 -1
- package/dist/{chunk-LCP4EDKR.js → chunk-UUULGCKK.js} +1 -1
- package/dist/{chunk-4CNDGK25.js → chunk-VH4IU3UC.js} +928 -984
- package/dist/chunk-W7GCLNIV.js +58 -0
- package/dist/{chunk-2ZQPVX7C.js → chunk-WLKWN4CD.js} +22 -12
- package/dist/{chunk-ACPDVEJO.js → chunk-X2SS6BF7.js} +198 -209
- package/dist/{chunk-YKX6MTLU.js → chunk-X7NCJQAA.js} +1 -1
- package/dist/{chunk-E57WPXWY.js → chunk-Y5G23T2D.js} +5 -5
- package/dist/{chunk-HUXFMDBZ.js → chunk-ZIF2S464.js} +1 -1
- package/dist/{chunk-JM2COLGC.js → chunk-ZKKGFUWM.js} +6 -6
- package/dist/cli/chat.js +35 -33
- package/dist/cli/check.js +5 -5
- package/dist/cli/plugins.js +14 -12
- package/dist/cli/snapshot-create.js +10 -9
- package/dist/cli/upgrade.js +7 -6
- package/dist/{db-MA52H62H.js → db-TRJ77FAU.js} +8 -6
- package/dist/instrumentation.js +3 -3
- package/dist/nitro.js +7 -6
- package/dist/{oauth-callback-server-DXGHKN6S.js → oauth-callback-server-XD5SV3MS.js} +30 -27
- package/dist/{runner-4IXUAQNK.js → runner-KFX7NG6D.js} +24 -19
- package/dist/{skills-X3DY7AXO.js → skills-J2AH26CW.js} +5 -5
- package/dist/spawn-VU3CSRI6.js +41 -0
- package/dist/task-runner-5JG3VIIY.js +34 -0
- package/dist/{validation-Z6JXSTJS.js → validation-O5J4VOPF.js} +5 -5
- package/dist/version.js +1 -1
- package/dist/{work-OKWRFBDW.js → work-ECPQTG3U.js} +24 -19
- package/dist/worker-RS3DXUDO.js +24 -0
- package/package.json +4 -4
- package/dist/spawn-43WGS6CH.js +0 -37
- package/dist/task-runner-VDRKITPV.js +0 -32
- package/dist/worker-B236AE72.js +0 -22
|
@@ -13,24 +13,26 @@ import {
|
|
|
13
13
|
getPlugins,
|
|
14
14
|
setPlugins,
|
|
15
15
|
validatePlugins
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-VH4IU3UC.js";
|
|
17
17
|
import "./chunk-3Y47VMHV.js";
|
|
18
|
-
import "./chunk-
|
|
19
|
-
import "./chunk-
|
|
20
|
-
import "./chunk-
|
|
21
|
-
import "./chunk-
|
|
18
|
+
import "./chunk-ABAX75GG.js";
|
|
19
|
+
import "./chunk-LVK4WJKM.js";
|
|
20
|
+
import "./chunk-EJYP3NQ4.js";
|
|
21
|
+
import "./chunk-PNYJOEVV.js";
|
|
22
|
+
import "./chunk-GFBR4S3Q.js";
|
|
22
23
|
import "./chunk-VFUK3X5B.js";
|
|
23
|
-
import "./chunk-
|
|
24
|
-
import "./chunk-
|
|
25
|
-
import "./chunk-
|
|
26
|
-
import "./chunk-
|
|
24
|
+
import "./chunk-LRI5IRGY.js";
|
|
25
|
+
import "./chunk-D4YV5TDV.js";
|
|
26
|
+
import "./chunk-EIJCPJOY.js";
|
|
27
|
+
import "./chunk-GJTIZQGJ.js";
|
|
28
|
+
import "./chunk-7MHNIGHP.js";
|
|
27
29
|
import "./chunk-CEMMLV5L.js";
|
|
28
30
|
import "./chunk-N7TMSOZH.js";
|
|
29
31
|
import "./chunk-DWPN6SCH.js";
|
|
30
32
|
import "./chunk-TXKUKMVO.js";
|
|
31
|
-
import "./chunk-
|
|
33
|
+
import "./chunk-OMQ2J6F6.js";
|
|
32
34
|
import "./chunk-PEQXYSSE.js";
|
|
33
|
-
import "./chunk-
|
|
35
|
+
import "./chunk-7GAP2XG4.js";
|
|
34
36
|
export {
|
|
35
37
|
PluginHookDeniedError,
|
|
36
38
|
applyPluginFormatMarkdown,
|
package/dist/api/acp/schema.d.ts
CHANGED
|
@@ -69,7 +69,7 @@ export declare const loadSessionParamsSchema: z.ZodObject<{
|
|
|
69
69
|
}, z.core.$strict>;
|
|
70
70
|
export declare const promptParamsSchema: z.ZodObject<{
|
|
71
71
|
_meta: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
72
|
-
prompt: z.ZodArray<z.ZodObject<{
|
|
72
|
+
prompt: z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
73
73
|
_meta: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
74
74
|
annotations: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
75
75
|
_meta: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
@@ -82,7 +82,25 @@ export declare const promptParamsSchema: z.ZodObject<{
|
|
|
82
82
|
}, z.core.$strict>>>;
|
|
83
83
|
text: z.ZodString;
|
|
84
84
|
type: z.ZodLiteral<"text">;
|
|
85
|
-
}, z.core.$strict
|
|
85
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
86
|
+
_meta: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
87
|
+
annotations: z.ZodOptional<z.ZodNullable<z.ZodObject<{
|
|
88
|
+
_meta: z.ZodOptional<z.ZodNullable<z.ZodRecord<z.ZodString, z.ZodUnknown>>>;
|
|
89
|
+
audience: z.ZodOptional<z.ZodNullable<z.ZodArray<z.ZodEnum<{
|
|
90
|
+
user: "user";
|
|
91
|
+
assistant: "assistant";
|
|
92
|
+
}>>>>;
|
|
93
|
+
lastModified: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
94
|
+
priority: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
95
|
+
}, z.core.$strict>>>;
|
|
96
|
+
description: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
97
|
+
mimeType: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
98
|
+
name: z.ZodString;
|
|
99
|
+
size: z.ZodOptional<z.ZodNullable<z.ZodNumber>>;
|
|
100
|
+
title: z.ZodOptional<z.ZodNullable<z.ZodString>>;
|
|
101
|
+
type: z.ZodLiteral<"resource_link">;
|
|
102
|
+
uri: z.ZodString;
|
|
103
|
+
}, z.core.$strict>], "type">>;
|
|
86
104
|
sessionId: z.ZodString;
|
|
87
105
|
}, z.core.$strict>;
|
|
88
106
|
export declare const cancelParamsSchema: z.ZodObject<{
|
|
@@ -1,5 +1,11 @@
|
|
|
1
1
|
/** Read code activity created by Junior across installed code plugins. */
|
|
2
2
|
export declare function readCodeOverview(nowMs?: number): Promise<{
|
|
3
|
+
activityDays: {
|
|
4
|
+
closed: number;
|
|
5
|
+
created: number;
|
|
6
|
+
date: string;
|
|
7
|
+
merged: number;
|
|
8
|
+
}[];
|
|
3
9
|
changes: {
|
|
4
10
|
id: string;
|
|
5
11
|
number: number;
|
|
@@ -21,6 +27,8 @@ export declare function readCodeOverview(nowMs?: number): Promise<{
|
|
|
21
27
|
name: string;
|
|
22
28
|
open: number;
|
|
23
29
|
provider: string;
|
|
30
|
+
medianCostUsd?: number | undefined;
|
|
31
|
+
mergeRate?: number | undefined;
|
|
24
32
|
url?: string | undefined;
|
|
25
33
|
}[];
|
|
26
34
|
summary: {
|
|
@@ -28,6 +36,37 @@ export declare function readCodeOverview(nowMs?: number): Promise<{
|
|
|
28
36
|
created: number;
|
|
29
37
|
merged: number;
|
|
30
38
|
open: number;
|
|
39
|
+
costUsd?: number | undefined;
|
|
40
|
+
medianCostUsd?: number | undefined;
|
|
41
|
+
medianMergeTimeMs?: number | undefined;
|
|
42
|
+
mergeRate?: number | undefined;
|
|
43
|
+
};
|
|
44
|
+
windowEnd: string;
|
|
45
|
+
windowStart: string;
|
|
46
|
+
}>;
|
|
47
|
+
/**
|
|
48
|
+
* Read person-scoped code activity linked through conversation actors on
|
|
49
|
+
* Junior-owned code changes.
|
|
50
|
+
*/
|
|
51
|
+
export declare function readPersonCodeOverview(args: {
|
|
52
|
+
nowMs?: number;
|
|
53
|
+
userId: string;
|
|
54
|
+
}): Promise<{
|
|
55
|
+
activityDays: {
|
|
56
|
+
closed: number;
|
|
57
|
+
created: number;
|
|
58
|
+
date: string;
|
|
59
|
+
merged: number;
|
|
60
|
+
}[];
|
|
61
|
+
generatedAt: string;
|
|
62
|
+
summary: {
|
|
63
|
+
closed: number;
|
|
64
|
+
created: number;
|
|
65
|
+
merged: number;
|
|
66
|
+
open: number;
|
|
67
|
+
costUsd?: number | undefined;
|
|
68
|
+
medianCostUsd?: number | undefined;
|
|
69
|
+
medianMergeTimeMs?: number | undefined;
|
|
31
70
|
mergeRate?: number | undefined;
|
|
32
71
|
};
|
|
33
72
|
windowEnd: string;
|
|
@@ -48,7 +48,7 @@ export declare function readLocationDetail(locationId: string, options?: {
|
|
|
48
48
|
startedAt: string;
|
|
49
49
|
lastSeenAt: string;
|
|
50
50
|
lastProgressAt: string;
|
|
51
|
-
surface: "slack" | "api" | "
|
|
51
|
+
surface: "slack" | "api" | "scheduler" | "internal";
|
|
52
52
|
cumulativeUsage?: {
|
|
53
53
|
inputTokens?: number | undefined;
|
|
54
54
|
outputTokens?: number | undefined;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/** Read person-scoped native code activity for one People profile. */
|
|
2
|
+
export declare function readPeopleCode(email: string): Promise<{
|
|
3
|
+
activityDays: {
|
|
4
|
+
closed: number;
|
|
5
|
+
created: number;
|
|
6
|
+
date: string;
|
|
7
|
+
merged: number;
|
|
8
|
+
}[];
|
|
9
|
+
generatedAt: string;
|
|
10
|
+
summary: {
|
|
11
|
+
closed: number;
|
|
12
|
+
created: number;
|
|
13
|
+
merged: number;
|
|
14
|
+
open: number;
|
|
15
|
+
costUsd?: number | undefined;
|
|
16
|
+
medianCostUsd?: number | undefined;
|
|
17
|
+
medianMergeTimeMs?: number | undefined;
|
|
18
|
+
mergeRate?: number | undefined;
|
|
19
|
+
};
|
|
20
|
+
windowEnd: string;
|
|
21
|
+
windowStart: string;
|
|
22
|
+
}>;
|
|
@@ -1,16 +1,27 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
2
|
export declare const codeChangeSummarySchema: z.ZodObject<{
|
|
3
3
|
closed: z.ZodNumber;
|
|
4
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
4
5
|
created: z.ZodNumber;
|
|
6
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
7
|
+
medianMergeTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
5
8
|
merged: z.ZodNumber;
|
|
6
9
|
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
7
10
|
open: z.ZodNumber;
|
|
8
11
|
}, z.core.$strict>;
|
|
12
|
+
export declare const codeActivityDaySchema: z.ZodObject<{
|
|
13
|
+
closed: z.ZodNumber;
|
|
14
|
+
created: z.ZodNumber;
|
|
15
|
+
date: z.ZodString;
|
|
16
|
+
merged: z.ZodNumber;
|
|
17
|
+
}, z.core.$strict>;
|
|
9
18
|
export declare const codeRepositorySummarySchema: z.ZodObject<{
|
|
10
19
|
closed: z.ZodNumber;
|
|
11
20
|
created: z.ZodNumber;
|
|
12
21
|
id: z.ZodString;
|
|
22
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
13
23
|
merged: z.ZodNumber;
|
|
24
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
14
25
|
name: z.ZodString;
|
|
15
26
|
open: z.ZodNumber;
|
|
16
27
|
provider: z.ZodString;
|
|
@@ -33,6 +44,12 @@ export declare const codeChangeSummaryReportSchema: z.ZodObject<{
|
|
|
33
44
|
url: z.ZodOptional<z.ZodString>;
|
|
34
45
|
}, z.core.$strict>;
|
|
35
46
|
export declare const codeOverviewReportSchema: z.ZodObject<{
|
|
47
|
+
activityDays: z.ZodArray<z.ZodObject<{
|
|
48
|
+
closed: z.ZodNumber;
|
|
49
|
+
created: z.ZodNumber;
|
|
50
|
+
date: z.ZodString;
|
|
51
|
+
merged: z.ZodNumber;
|
|
52
|
+
}, z.core.$strict>>;
|
|
36
53
|
changes: z.ZodArray<z.ZodObject<{
|
|
37
54
|
closedAt: z.ZodOptional<z.ZodString>;
|
|
38
55
|
id: z.ZodString;
|
|
@@ -54,7 +71,9 @@ export declare const codeOverviewReportSchema: z.ZodObject<{
|
|
|
54
71
|
closed: z.ZodNumber;
|
|
55
72
|
created: z.ZodNumber;
|
|
56
73
|
id: z.ZodString;
|
|
74
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
57
75
|
merged: z.ZodNumber;
|
|
76
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
58
77
|
name: z.ZodString;
|
|
59
78
|
open: z.ZodNumber;
|
|
60
79
|
provider: z.ZodString;
|
|
@@ -62,7 +81,32 @@ export declare const codeOverviewReportSchema: z.ZodObject<{
|
|
|
62
81
|
}, z.core.$strict>>;
|
|
63
82
|
summary: z.ZodObject<{
|
|
64
83
|
closed: z.ZodNumber;
|
|
84
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
85
|
+
created: z.ZodNumber;
|
|
86
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
87
|
+
medianMergeTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
88
|
+
merged: z.ZodNumber;
|
|
89
|
+
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
90
|
+
open: z.ZodNumber;
|
|
91
|
+
}, z.core.$strict>;
|
|
92
|
+
windowEnd: z.ZodString;
|
|
93
|
+
windowStart: z.ZodString;
|
|
94
|
+
}, z.core.$strict>;
|
|
95
|
+
/** Person-scoped code activity for one People profile. */
|
|
96
|
+
export declare const codePersonReportSchema: z.ZodObject<{
|
|
97
|
+
activityDays: z.ZodArray<z.ZodObject<{
|
|
98
|
+
closed: z.ZodNumber;
|
|
99
|
+
created: z.ZodNumber;
|
|
100
|
+
date: z.ZodString;
|
|
101
|
+
merged: z.ZodNumber;
|
|
102
|
+
}, z.core.$strict>>;
|
|
103
|
+
generatedAt: z.ZodString;
|
|
104
|
+
summary: z.ZodObject<{
|
|
105
|
+
closed: z.ZodNumber;
|
|
106
|
+
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
65
107
|
created: z.ZodNumber;
|
|
108
|
+
medianCostUsd: z.ZodOptional<z.ZodNumber>;
|
|
109
|
+
medianMergeTimeMs: z.ZodOptional<z.ZodNumber>;
|
|
66
110
|
merged: z.ZodNumber;
|
|
67
111
|
mergeRate: z.ZodOptional<z.ZodNumber>;
|
|
68
112
|
open: z.ZodNumber;
|
|
@@ -70,6 +114,8 @@ export declare const codeOverviewReportSchema: z.ZodObject<{
|
|
|
70
114
|
windowEnd: z.ZodString;
|
|
71
115
|
windowStart: z.ZodString;
|
|
72
116
|
}, z.core.$strict>;
|
|
117
|
+
export type CodeActivityDay = z.infer<typeof codeActivityDaySchema>;
|
|
73
118
|
export type CodeChangeSummaryReport = z.infer<typeof codeChangeSummaryReportSchema>;
|
|
74
119
|
export type CodeOverviewReport = z.infer<typeof codeOverviewReportSchema>;
|
|
120
|
+
export type CodePersonReport = z.infer<typeof codePersonReportSchema>;
|
|
75
121
|
export type CodeRepositorySummary = z.infer<typeof codeRepositorySummarySchema>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
import { z } from "zod";
|
|
2
|
+
import { conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema } from "@/chat/conversations/history";
|
|
3
|
+
export { conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, };
|
|
2
4
|
export declare const conversationReportStatusSchema: z.ZodEnum<{
|
|
3
5
|
completed: "completed";
|
|
4
6
|
failed: "failed";
|
|
@@ -7,8 +9,8 @@ export declare const conversationReportStatusSchema: z.ZodEnum<{
|
|
|
7
9
|
export declare const conversationSurfaceSchema: z.ZodEnum<{
|
|
8
10
|
slack: "slack";
|
|
9
11
|
api: "api";
|
|
10
|
-
internal: "internal";
|
|
11
12
|
scheduler: "scheduler";
|
|
13
|
+
internal: "internal";
|
|
12
14
|
}>;
|
|
13
15
|
export declare const conversationCostSchema: z.ZodObject<{
|
|
14
16
|
input: z.ZodOptional<z.ZodNumber>;
|
|
@@ -228,8 +230,8 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
228
230
|
surface: z.ZodEnum<{
|
|
229
231
|
slack: "slack";
|
|
230
232
|
api: "api";
|
|
231
|
-
internal: "internal";
|
|
232
233
|
scheduler: "scheduler";
|
|
234
|
+
internal: "internal";
|
|
233
235
|
}>;
|
|
234
236
|
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
235
237
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -342,8 +344,8 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
342
344
|
type: z.ZodLiteral<"turn_lifecycle">;
|
|
343
345
|
turnId: z.ZodString;
|
|
344
346
|
state: z.ZodEnum<{
|
|
345
|
-
succeeded: "succeeded";
|
|
346
347
|
no_reply: "no_reply";
|
|
348
|
+
succeeded: "succeeded";
|
|
347
349
|
}>;
|
|
348
350
|
}, z.core.$strict>, z.ZodObject<{
|
|
349
351
|
type: z.ZodLiteral<"turn_lifecycle">;
|
|
@@ -354,10 +356,29 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
354
356
|
type: z.ZodLiteral<"turn_lifecycle">;
|
|
355
357
|
turnId: z.ZodString;
|
|
356
358
|
state: z.ZodLiteral<"failed">;
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
359
|
+
failureCode: z.ZodEnum<{
|
|
360
|
+
agent_run_failed: "agent_run_failed";
|
|
361
|
+
delivery_failed: "delivery_failed";
|
|
362
|
+
model_execution_failed: "model_execution_failed";
|
|
363
|
+
persistence_failed: "persistence_failed";
|
|
360
364
|
}>;
|
|
365
|
+
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
366
|
+
unknown: "unknown";
|
|
367
|
+
auth: "auth";
|
|
368
|
+
permission: "permission";
|
|
369
|
+
rate_limit: "rate_limit";
|
|
370
|
+
capacity: "capacity";
|
|
371
|
+
timeout: "timeout";
|
|
372
|
+
network: "network";
|
|
373
|
+
server: "server";
|
|
374
|
+
invalid_request: "invalid_request";
|
|
375
|
+
invalid_response: "invalid_response";
|
|
376
|
+
quota: "quota";
|
|
377
|
+
content_policy: "content_policy";
|
|
378
|
+
empty_output: "empty_output";
|
|
379
|
+
tool_errors: "tool_errors";
|
|
380
|
+
suppressed_output: "suppressed_output";
|
|
381
|
+
}>>;
|
|
361
382
|
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
362
383
|
type: z.ZodLiteral<"turn_context">;
|
|
363
384
|
turnId: z.ZodString;
|
|
@@ -537,8 +558,8 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
537
558
|
type: z.ZodLiteral<"turn_lifecycle">;
|
|
538
559
|
turnId: z.ZodString;
|
|
539
560
|
state: z.ZodEnum<{
|
|
540
|
-
succeeded: "succeeded";
|
|
541
561
|
no_reply: "no_reply";
|
|
562
|
+
succeeded: "succeeded";
|
|
542
563
|
}>;
|
|
543
564
|
}, z.core.$strict>, z.ZodObject<{
|
|
544
565
|
type: z.ZodLiteral<"turn_lifecycle">;
|
|
@@ -549,10 +570,29 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
549
570
|
type: z.ZodLiteral<"turn_lifecycle">;
|
|
550
571
|
turnId: z.ZodString;
|
|
551
572
|
state: z.ZodLiteral<"failed">;
|
|
552
|
-
|
|
553
|
-
|
|
554
|
-
|
|
573
|
+
failureCode: z.ZodEnum<{
|
|
574
|
+
agent_run_failed: "agent_run_failed";
|
|
575
|
+
delivery_failed: "delivery_failed";
|
|
576
|
+
model_execution_failed: "model_execution_failed";
|
|
577
|
+
persistence_failed: "persistence_failed";
|
|
555
578
|
}>;
|
|
579
|
+
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
580
|
+
unknown: "unknown";
|
|
581
|
+
auth: "auth";
|
|
582
|
+
permission: "permission";
|
|
583
|
+
rate_limit: "rate_limit";
|
|
584
|
+
capacity: "capacity";
|
|
585
|
+
timeout: "timeout";
|
|
586
|
+
network: "network";
|
|
587
|
+
server: "server";
|
|
588
|
+
invalid_request: "invalid_request";
|
|
589
|
+
invalid_response: "invalid_response";
|
|
590
|
+
quota: "quota";
|
|
591
|
+
content_policy: "content_policy";
|
|
592
|
+
empty_output: "empty_output";
|
|
593
|
+
tool_errors: "tool_errors";
|
|
594
|
+
suppressed_output: "suppressed_output";
|
|
595
|
+
}>>;
|
|
556
596
|
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
557
597
|
type: z.ZodLiteral<"turn_context">;
|
|
558
598
|
turnId: z.ZodString;
|
|
@@ -740,8 +780,8 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
740
780
|
surface: z.ZodEnum<{
|
|
741
781
|
slack: "slack";
|
|
742
782
|
api: "api";
|
|
743
|
-
internal: "internal";
|
|
744
783
|
scheduler: "scheduler";
|
|
784
|
+
internal: "internal";
|
|
745
785
|
}>;
|
|
746
786
|
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
747
787
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -873,8 +913,8 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
873
913
|
type: z.ZodLiteral<"turn_lifecycle">;
|
|
874
914
|
turnId: z.ZodString;
|
|
875
915
|
state: z.ZodEnum<{
|
|
876
|
-
succeeded: "succeeded";
|
|
877
916
|
no_reply: "no_reply";
|
|
917
|
+
succeeded: "succeeded";
|
|
878
918
|
}>;
|
|
879
919
|
}, z.core.$strict>, z.ZodObject<{
|
|
880
920
|
type: z.ZodLiteral<"turn_lifecycle">;
|
|
@@ -885,10 +925,29 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
885
925
|
type: z.ZodLiteral<"turn_lifecycle">;
|
|
886
926
|
turnId: z.ZodString;
|
|
887
927
|
state: z.ZodLiteral<"failed">;
|
|
888
|
-
|
|
889
|
-
|
|
890
|
-
|
|
928
|
+
failureCode: z.ZodEnum<{
|
|
929
|
+
agent_run_failed: "agent_run_failed";
|
|
930
|
+
delivery_failed: "delivery_failed";
|
|
931
|
+
model_execution_failed: "model_execution_failed";
|
|
932
|
+
persistence_failed: "persistence_failed";
|
|
891
933
|
}>;
|
|
934
|
+
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
935
|
+
unknown: "unknown";
|
|
936
|
+
auth: "auth";
|
|
937
|
+
permission: "permission";
|
|
938
|
+
rate_limit: "rate_limit";
|
|
939
|
+
capacity: "capacity";
|
|
940
|
+
timeout: "timeout";
|
|
941
|
+
network: "network";
|
|
942
|
+
server: "server";
|
|
943
|
+
invalid_request: "invalid_request";
|
|
944
|
+
invalid_response: "invalid_response";
|
|
945
|
+
quota: "quota";
|
|
946
|
+
content_policy: "content_policy";
|
|
947
|
+
empty_output: "empty_output";
|
|
948
|
+
tool_errors: "tool_errors";
|
|
949
|
+
suppressed_output: "suppressed_output";
|
|
950
|
+
}>>;
|
|
892
951
|
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
893
952
|
type: z.ZodLiteral<"turn_context">;
|
|
894
953
|
turnId: z.ZodString;
|
|
@@ -1091,8 +1150,8 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1091
1150
|
type: z.ZodLiteral<"turn_lifecycle">;
|
|
1092
1151
|
turnId: z.ZodString;
|
|
1093
1152
|
state: z.ZodEnum<{
|
|
1094
|
-
succeeded: "succeeded";
|
|
1095
1153
|
no_reply: "no_reply";
|
|
1154
|
+
succeeded: "succeeded";
|
|
1096
1155
|
}>;
|
|
1097
1156
|
}, z.core.$strict>, z.ZodObject<{
|
|
1098
1157
|
type: z.ZodLiteral<"turn_lifecycle">;
|
|
@@ -1103,10 +1162,29 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1103
1162
|
type: z.ZodLiteral<"turn_lifecycle">;
|
|
1104
1163
|
turnId: z.ZodString;
|
|
1105
1164
|
state: z.ZodLiteral<"failed">;
|
|
1106
|
-
|
|
1107
|
-
|
|
1108
|
-
|
|
1165
|
+
failureCode: z.ZodEnum<{
|
|
1166
|
+
agent_run_failed: "agent_run_failed";
|
|
1167
|
+
delivery_failed: "delivery_failed";
|
|
1168
|
+
model_execution_failed: "model_execution_failed";
|
|
1169
|
+
persistence_failed: "persistence_failed";
|
|
1109
1170
|
}>;
|
|
1171
|
+
failureReason: z.ZodOptional<z.ZodEnum<{
|
|
1172
|
+
unknown: "unknown";
|
|
1173
|
+
auth: "auth";
|
|
1174
|
+
permission: "permission";
|
|
1175
|
+
rate_limit: "rate_limit";
|
|
1176
|
+
capacity: "capacity";
|
|
1177
|
+
timeout: "timeout";
|
|
1178
|
+
network: "network";
|
|
1179
|
+
server: "server";
|
|
1180
|
+
invalid_request: "invalid_request";
|
|
1181
|
+
invalid_response: "invalid_response";
|
|
1182
|
+
quota: "quota";
|
|
1183
|
+
content_policy: "content_policy";
|
|
1184
|
+
empty_output: "empty_output";
|
|
1185
|
+
tool_errors: "tool_errors";
|
|
1186
|
+
suppressed_output: "suppressed_output";
|
|
1187
|
+
}>>;
|
|
1110
1188
|
}, z.core.$strict>], "state">, z.ZodObject<{
|
|
1111
1189
|
type: z.ZodLiteral<"turn_context">;
|
|
1112
1190
|
turnId: z.ZodString;
|
|
@@ -1279,8 +1357,8 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
1279
1357
|
surface: z.ZodEnum<{
|
|
1280
1358
|
slack: "slack";
|
|
1281
1359
|
api: "api";
|
|
1282
|
-
internal: "internal";
|
|
1283
1360
|
scheduler: "scheduler";
|
|
1361
|
+
internal: "internal";
|
|
1284
1362
|
}>;
|
|
1285
1363
|
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
1286
1364
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -1432,6 +1510,8 @@ export declare const conversationStatsReportSchema: z.ZodObject<{
|
|
|
1432
1510
|
windowStart: z.ZodString;
|
|
1433
1511
|
}, z.core.$strict>;
|
|
1434
1512
|
export type ConversationReportStatus = z.infer<typeof conversationReportStatusSchema>;
|
|
1513
|
+
export type ConversationTurnFailureCode = z.infer<typeof conversationTurnFailureCodeSchema>;
|
|
1514
|
+
export type ConversationTurnFailureReason = z.infer<typeof conversationTurnFailureReasonSchema>;
|
|
1435
1515
|
export type ConversationSurface = z.infer<typeof conversationSurfaceSchema>;
|
|
1436
1516
|
export type ConversationCost = z.infer<typeof conversationCostSchema>;
|
|
1437
1517
|
export type ConversationUsage = z.infer<typeof conversationUsageSchema>;
|
|
@@ -178,8 +178,8 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
178
178
|
surface: z.ZodEnum<{
|
|
179
179
|
slack: "slack";
|
|
180
180
|
api: "api";
|
|
181
|
-
internal: "internal";
|
|
182
181
|
scheduler: "scheduler";
|
|
182
|
+
internal: "internal";
|
|
183
183
|
}>;
|
|
184
184
|
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
185
185
|
email: z.ZodOptional<z.ZodString>;
|
|
@@ -145,8 +145,8 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
145
145
|
surface: z.ZodEnum<{
|
|
146
146
|
slack: "slack";
|
|
147
147
|
api: "api";
|
|
148
|
-
internal: "internal";
|
|
149
148
|
scheduler: "scheduler";
|
|
149
|
+
internal: "internal";
|
|
150
150
|
}>;
|
|
151
151
|
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
152
152
|
email: z.ZodOptional<z.ZodString>;
|
package/dist/api/schema.d.ts
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
export { dailyConversationActivitySchema } from "./activity";
|
|
2
2
|
export type { DailyConversationActivity } from "./activity";
|
|
3
|
-
export { codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codeRepositorySummarySchema, } from "./schema/code";
|
|
4
|
-
export type { CodeChangeSummaryReport, CodeOverviewReport, CodeRepositorySummary, } from "./schema/code";
|
|
5
|
-
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";
|
|
6
|
-
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";
|
|
3
|
+
export { codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositorySummarySchema, } from "./schema/code";
|
|
4
|
+
export type { CodeActivityDay, CodeChangeSummaryReport, CodeOverviewReport, CodePersonReport, CodeRepositorySummary, } from "./schema/code";
|
|
5
|
+
export { acceptedConversationMessageSchema, archiveConversationBodySchema, archiveConversationResponseSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, conversationAuxiliaryCostsSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventPageSchema, conversationEventHistorySchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, conversationStatsReportSchema, conversationSummaryReportSchema, createConversationBodySchema, createConversationMessageBodySchema, } from "./schema/conversation";
|
|
6
|
+
export type { AcceptedConversationMessage, ArchiveConversationBody, ArchiveConversationResponse, CancelConversationPendingMessagesBody, CancelConversationPendingMessagesResponse, ActorIdentity, ConversationAuxiliaryCosts, ConversationCost, ConversationDetailReport, ConversationEventPage, ConversationEventHistory, ConversationFeed, ConversationPendingMessage, ConversationPendingMessageDelivery, ConversationPendingMessagesReport, ConversationReportEvent, ConversationReportEventData, ConversationReportStatus, ConversationTurnFailureCode, ConversationTurnFailureReason, ConversationMetricDay, ConversationModelUsage, ConversationParams, ConversationSourceTask, ConversationStatsItem, ConversationStatsReport, ConversationSummaryReport, ConversationSurface, ConversationUsage, CreateConversationBody, CreateConversationMessageBody, GuardianMetricDay, GuardianStats, } from "./schema/conversation";
|
|
7
7
|
export { actorDirectoryReportSchema, actorProfileReportSchema, personalSpendReportSchema, personParamsSchema, } from "./schema/person";
|
|
8
8
|
export { locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, } from "./schema/location";
|
|
9
9
|
export type { LocationActorSummaryReport, LocationActivityDayReport, LocationDetailReport, LocationDirectoryReport, LocationSummaryReport, LocationParams, } from "./schema/location";
|
package/dist/api/schema.js
CHANGED
|
@@ -8,9 +8,11 @@ import {
|
|
|
8
8
|
baselineSnapshotSchema,
|
|
9
9
|
cancelConversationPendingMessagesBodySchema,
|
|
10
10
|
cancelConversationPendingMessagesResponseSchema,
|
|
11
|
+
codeActivityDaySchema,
|
|
11
12
|
codeChangeSummaryReportSchema,
|
|
12
13
|
codeChangeSummarySchema,
|
|
13
14
|
codeOverviewReportSchema,
|
|
15
|
+
codePersonReportSchema,
|
|
14
16
|
codeRepositorySummarySchema,
|
|
15
17
|
conversationAuxiliaryCostsSchema,
|
|
16
18
|
conversationDetailQuerySchema,
|
|
@@ -63,7 +65,7 @@ import {
|
|
|
63
65
|
workspaceParamsSchema,
|
|
64
66
|
workspaceRepoSchema,
|
|
65
67
|
workspaceSchema
|
|
66
|
-
} from "../chunk-
|
|
68
|
+
} from "../chunk-4K25ODAO.js";
|
|
67
69
|
import {
|
|
68
70
|
healthReportSchema,
|
|
69
71
|
pluginOperationalReportFeedSchema,
|
|
@@ -77,7 +79,12 @@ import {
|
|
|
77
79
|
skillReportsSchema
|
|
78
80
|
} from "../chunk-UTL3MHPC.js";
|
|
79
81
|
import "../chunk-PDO5BLNM.js";
|
|
82
|
+
import {
|
|
83
|
+
conversationTurnFailureCodeSchema,
|
|
84
|
+
conversationTurnFailureReasonSchema
|
|
85
|
+
} from "../chunk-GFBR4S3Q.js";
|
|
80
86
|
import "../chunk-VFUK3X5B.js";
|
|
87
|
+
import "../chunk-D4YV5TDV.js";
|
|
81
88
|
export {
|
|
82
89
|
acceptedConversationMessageSchema,
|
|
83
90
|
actorDirectoryReportSchema,
|
|
@@ -88,9 +95,11 @@ export {
|
|
|
88
95
|
baselineSnapshotSchema,
|
|
89
96
|
cancelConversationPendingMessagesBodySchema,
|
|
90
97
|
cancelConversationPendingMessagesResponseSchema,
|
|
98
|
+
codeActivityDaySchema,
|
|
91
99
|
codeChangeSummaryReportSchema,
|
|
92
100
|
codeChangeSummarySchema,
|
|
93
101
|
codeOverviewReportSchema,
|
|
102
|
+
codePersonReportSchema,
|
|
94
103
|
codeRepositorySummarySchema,
|
|
95
104
|
conversationAuxiliaryCostsSchema,
|
|
96
105
|
conversationDetailQuerySchema,
|
|
@@ -109,6 +118,8 @@ export {
|
|
|
109
118
|
conversationReportEventSchema,
|
|
110
119
|
conversationStatsReportSchema,
|
|
111
120
|
conversationSummaryReportSchema,
|
|
121
|
+
conversationTurnFailureCodeSchema,
|
|
122
|
+
conversationTurnFailureReasonSchema,
|
|
112
123
|
createConversationBodySchema,
|
|
113
124
|
createConversationMessageBodySchema,
|
|
114
125
|
createPersonalTokenBodySchema,
|