@sentry/junior 0.109.0 → 0.110.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-FHHVLNPA.js → agent-hooks-ELT4ODFF.js} +12 -13
- package/dist/api/conversations/access.d.ts +9 -0
- package/dist/api/conversations/aggregate.d.ts +12 -1
- package/dist/api/conversations/archive.d.ts +3 -5
- package/dist/api/conversations/detail.d.ts +156 -7
- package/dist/api/conversations/events.d.ts +1 -1
- package/dist/api/conversations/list.d.ts +57 -6
- package/dist/api/conversations/projection.d.ts +6 -7
- package/dist/api/conversations/reporting.d.ts +10 -4
- package/dist/api/conversations/routes.d.ts +2 -1
- package/dist/api/conversations/shared.d.ts +1 -1
- package/dist/api/conversations/stats.d.ts +37 -6
- package/dist/api/conversations/stats.query.d.ts +1 -1
- package/dist/api/conversations/usage.d.ts +9 -0
- package/dist/api/http.d.ts +7 -0
- package/dist/api/locations/detail.d.ts +102 -6
- package/dist/api/locations/list.d.ts +43 -5
- package/dist/api/locations/query.d.ts +4 -2
- package/dist/api/locations/routes.d.ts +2 -1
- package/dist/api/people/list.d.ts +28 -6
- package/dist/api/people/list.query.d.ts +1 -1
- package/dist/api/people/profile.d.ts +96 -7
- package/dist/api/people/profile.query.d.ts +4 -2
- package/dist/api/people/routes.d.ts +2 -1
- package/dist/api/people/shared.d.ts +1219 -2
- package/dist/api/route.d.ts +18 -4
- package/dist/api/schema/common.d.ts +6 -0
- package/dist/api/{conversations/schema.d.ts → schema/conversation.d.ts} +31 -3
- package/dist/api/{locations/schema.d.ts → schema/location.d.ts} +5 -0
- package/dist/api/{people/schema.d.ts → schema/person.d.ts} +37 -45
- package/dist/api/schema.d.ts +8 -22
- package/dist/api/schema.js +10 -2
- package/dist/api.d.ts +5 -1
- package/dist/api.js +767 -384
- package/dist/app.js +87 -70
- package/dist/catalog-runtime-4GI22PXK.js +16 -0
- package/dist/chat/agent/resume.d.ts +11 -12
- package/dist/chat/conversations/history.d.ts +3 -0
- package/dist/chat/conversations/sql/privacy.d.ts +3 -15
- package/dist/chat/pi/messages.d.ts +2 -2
- package/dist/chat/pi/sql-model-usage.d.ts +4 -1
- package/dist/chat/services/auth-pause.d.ts +4 -0
- package/dist/chat/services/context-compaction.d.ts +1 -0
- package/dist/chat/task-execution/queue-signing.d.ts +10 -8
- package/dist/chat/task-execution/queue.d.ts +9 -7
- package/dist/chat/task-execution/slack-work.d.ts +6 -6
- package/dist/{chunk-QY636HZU.js → chunk-2T7TIEXI.js} +90 -7
- package/dist/{chunk-CEA3A3UA.js → chunk-2ZTTXTSZ.js} +24 -1
- package/dist/{chunk-FWJRXN4F.js → chunk-3S7YYHBI.js} +3 -139
- package/dist/{chunk-3SXUV423.js → chunk-3TV7OEHL.js} +1 -1
- package/dist/{chunk-MXW4GL53.js → chunk-3UBQI73J.js} +7 -7
- package/dist/{chunk-IVVGFRQQ.js → chunk-42WRQLJ6.js} +10 -38
- package/dist/{chunk-FENLIFJD.js → chunk-4QU44P7Q.js} +69 -10
- package/dist/{chunk-O3JMSZLI.js → chunk-6Y5L4BOM.js} +3 -5
- package/dist/{chunk-PLB7MRCQ.js → chunk-C4MZ3GP5.js} +1 -1
- package/dist/{chunk-72OMGPDS.js → chunk-C5XAFTHY.js} +7 -9
- package/dist/{chunk-HHVY4SMP.js → chunk-FPK7XY3F.js} +98 -92
- package/dist/{chunk-OUHNWH46.js → chunk-GK47NBDE.js} +1 -1
- package/dist/{chunk-ISMWX44P.js → chunk-IYKPU7H6.js} +2 -2
- package/dist/{chunk-TMBRFULF.js → chunk-JQFJO5WH.js} +7 -1
- package/dist/{chunk-RGX4V75M.js → chunk-L5XQPJ7T.js} +3 -3
- package/dist/{chunk-7Q6WCISF.js → chunk-MIAKQNYX.js} +43 -31
- package/dist/{chunk-IXKSQGIO.js → chunk-RHHRKSPI.js} +178 -142
- package/dist/{chunk-WHMOBKT7.js → chunk-SBOBTS27.js} +2 -2
- package/dist/{chunk-HO5NT6OE.js → chunk-W6RJZG7F.js} +4 -4
- package/dist/chunk-W75ZPAGG.js +44 -0
- package/dist/{chunk-JNAVF45E.js → chunk-WNOVRQ67.js} +2 -2
- package/dist/{chunk-TT6GMXNA.js → chunk-Y3H2DN6F.js} +2 -2
- package/dist/{chunk-MGUMR35T.js → chunk-Y5FK3CNG.js} +1 -1
- package/dist/{chunk-OCD3OZRK.js → chunk-ZKIOWEFL.js} +1 -1
- package/dist/cli/chat.js +23 -24
- package/dist/cli/check.js +8 -8
- package/dist/cli/plugins.js +15 -16
- package/dist/cli/snapshot-warmup.js +11 -11
- package/dist/cli/upgrade.js +9 -9
- package/dist/db/schema/conversations.d.ts +17 -0
- package/dist/db/schema.d.ts +17 -0
- package/dist/{db-V3NU72O2.js → db-Y6W6CWWW.js} +8 -9
- package/dist/instrumentation.js +4 -4
- package/dist/nitro.js +3 -4
- package/dist/reporting-schema.d.ts +46 -0
- package/dist/{runner-JYBCQBLK.js → runner-BBFV5GLR.js} +14 -15
- package/dist/{skills-U6MDAST7.js → skills-AR4AF32L.js} +8 -8
- package/dist/{validation-72N3JVRU.js → validation-FBIEPTC2.js} +8 -8
- package/dist/version.js +1 -1
- package/migrations/0007_thick_sugar_man.sql +23 -0
- package/migrations/meta/0007_snapshot.json +1013 -0
- package/migrations/meta/_journal.json +7 -0
- package/package.json +5 -5
- package/dist/catalog-runtime-DMGJSLV2.js +0 -16
- package/dist/chunk-OB42YVAE.js +0 -16
- package/dist/chunk-SYAQIR5Z.js +0 -53
|
@@ -36,9 +36,47 @@ export declare function readLocationDirectory(): Promise<{
|
|
|
36
36
|
windowStart: string;
|
|
37
37
|
}>;
|
|
38
38
|
/** Serve the public location directory endpoint. */
|
|
39
|
-
declare const _default: {
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
39
|
+
declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
40
|
+
activityDays: import("zod").ZodArray<import("zod").ZodObject<{
|
|
41
|
+
date: import("zod").ZodString;
|
|
42
|
+
privateConversations: import("zod").ZodNumber;
|
|
43
|
+
publicConversations: import("zod").ZodNumber;
|
|
44
|
+
}, import("zod/v4/core").$strict>>;
|
|
45
|
+
generatedAt: import("zod").ZodString;
|
|
46
|
+
locations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
47
|
+
active: import("zod").ZodNumber;
|
|
48
|
+
conversations: import("zod").ZodNumber;
|
|
49
|
+
durationMs: import("zod").ZodNumber;
|
|
50
|
+
failed: import("zod").ZodNumber;
|
|
51
|
+
label: import("zod").ZodString;
|
|
52
|
+
costUsd: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
53
|
+
tokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
54
|
+
id: import("zod").ZodString;
|
|
55
|
+
firstSeenAt: import("zod").ZodString;
|
|
56
|
+
kind: import("zod").ZodEnum<{
|
|
57
|
+
channel: "channel";
|
|
58
|
+
dm: "dm";
|
|
59
|
+
group: "group";
|
|
60
|
+
local_conversation: "local_conversation";
|
|
61
|
+
thread: "thread";
|
|
62
|
+
web_session: "web_session";
|
|
63
|
+
}>;
|
|
64
|
+
lastSeenAt: import("zod").ZodString;
|
|
65
|
+
provider: import("zod").ZodString;
|
|
66
|
+
providerDestinationId: import("zod").ZodString;
|
|
67
|
+
visibility: import("zod").ZodLiteral<"public">;
|
|
68
|
+
}, import("zod/v4/core").$strict>>;
|
|
69
|
+
privateActivity: import("zod").ZodObject<{
|
|
70
|
+
active: import("zod").ZodNumber;
|
|
71
|
+
conversations: import("zod").ZodNumber;
|
|
72
|
+
durationMs: import("zod").ZodNumber;
|
|
73
|
+
failed: import("zod").ZodNumber;
|
|
74
|
+
label: import("zod").ZodString;
|
|
75
|
+
costUsd: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
76
|
+
tokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
77
|
+
}, import("zod/v4/core").$strict>;
|
|
78
|
+
source: import("zod").ZodLiteral<"conversation_index">;
|
|
79
|
+
windowEnd: import("zod").ZodString;
|
|
80
|
+
windowStart: import("zod").ZodString;
|
|
81
|
+
}, import("zod/v4/core").$strict>>;
|
|
44
82
|
export default _default;
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import type { LocationDetailReport, LocationDirectoryReport } from "
|
|
1
|
+
import type { LocationDetailReport, LocationDirectoryReport } from "../schema/location";
|
|
2
2
|
/** Load public locations plus one complete privacy-safe aggregate for non-public activity. */
|
|
3
3
|
export declare function readLocationDirectoryFromSql(): Promise<LocationDirectoryReport>;
|
|
4
4
|
/** Load one public location's complete activity while bounding only recent conversations. */
|
|
5
|
-
export declare function readLocationDetailFromSql(locationId: string
|
|
5
|
+
export declare function readLocationDetailFromSql(locationId: string, options?: {
|
|
6
|
+
verifiedViewerEmail?: string;
|
|
7
|
+
}): Promise<LocationDetailReport | undefined>;
|
|
@@ -1,10 +1,32 @@
|
|
|
1
|
-
import type { ActorDirectoryReport } from "
|
|
1
|
+
import type { ActorDirectoryReport } from "../schema/person";
|
|
2
2
|
/** Load the people list from verified user identities in SQL. */
|
|
3
3
|
export declare function readPeopleList(): Promise<ActorDirectoryReport>;
|
|
4
4
|
/** Serve the People directory endpoint. */
|
|
5
|
-
declare const _default: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
5
|
+
declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
6
|
+
activityDays: import("zod").ZodArray<import("zod").ZodObject<{
|
|
7
|
+
activePeople: import("zod").ZodNumber;
|
|
8
|
+
conversations: import("zod").ZodNumber;
|
|
9
|
+
date: import("zod").ZodString;
|
|
10
|
+
}, import("zod/v4/core").$strict>>;
|
|
11
|
+
generatedAt: import("zod").ZodString;
|
|
12
|
+
people: import("zod").ZodArray<import("zod").ZodObject<{
|
|
13
|
+
active: import("zod").ZodNumber;
|
|
14
|
+
activeDays: import("zod").ZodNumber;
|
|
15
|
+
conversations: import("zod").ZodNumber;
|
|
16
|
+
durationMs: import("zod").ZodNumber;
|
|
17
|
+
failed: import("zod").ZodNumber;
|
|
18
|
+
tokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
19
|
+
firstSeenAt: import("zod").ZodString;
|
|
20
|
+
lastSeenAt: import("zod").ZodString;
|
|
21
|
+
actor: import("zod").ZodObject<{
|
|
22
|
+
fullName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
23
|
+
slackUserId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
24
|
+
slackUserName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
25
|
+
email: import("zod").ZodString;
|
|
26
|
+
}, import("zod/v4/core").$strict>;
|
|
27
|
+
}, import("zod/v4/core").$strict>>;
|
|
28
|
+
source: import("zod").ZodLiteral<"conversation_index">;
|
|
29
|
+
windowEnd: import("zod").ZodString;
|
|
30
|
+
windowStart: import("zod").ZodString;
|
|
31
|
+
}, import("zod/v4/core").$strict>>;
|
|
10
32
|
export default _default;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import type { ActorDirectoryReport } from "
|
|
1
|
+
import type { ActorDirectoryReport } from "../schema/person";
|
|
2
2
|
/** Load the complete People directory with grouping and metrics owned by SQL. */
|
|
3
3
|
export declare function readPeopleListFromSql(): Promise<ActorDirectoryReport>;
|
|
@@ -1,10 +1,99 @@
|
|
|
1
|
-
import type { ActorProfileReport } from "
|
|
1
|
+
import type { ActorProfileReport } from "../schema/person";
|
|
2
2
|
/** Load one person profile from verified user identities in SQL. */
|
|
3
|
-
export declare function readPeopleProfile(email: string
|
|
3
|
+
export declare function readPeopleProfile(email: string, options?: {
|
|
4
|
+
verifiedViewerEmail?: string;
|
|
5
|
+
}): Promise<ActorProfileReport>;
|
|
4
6
|
/** Serve one People profile endpoint. */
|
|
5
|
-
declare const _default: {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
7
|
+
declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
8
|
+
activityDays: import("zod").ZodArray<import("zod").ZodObject<{
|
|
9
|
+
active: import("zod").ZodNumber;
|
|
10
|
+
conversations: import("zod").ZodNumber;
|
|
11
|
+
date: import("zod").ZodString;
|
|
12
|
+
durationMs: import("zod").ZodNumber;
|
|
13
|
+
failed: import("zod").ZodNumber;
|
|
14
|
+
tokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
15
|
+
}, import("zod/v4/core").$strict>>;
|
|
16
|
+
generatedAt: import("zod").ZodString;
|
|
17
|
+
locations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
18
|
+
failed: import("zod").ZodNumber;
|
|
19
|
+
label: import("zod").ZodString;
|
|
20
|
+
durationMs: import("zod").ZodNumber;
|
|
21
|
+
active: import("zod").ZodNumber;
|
|
22
|
+
conversations: import("zod").ZodNumber;
|
|
23
|
+
tokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
24
|
+
}, import("zod/v4/core").$strict>>;
|
|
25
|
+
recentConversations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
26
|
+
displayTitle: import("zod").ZodString;
|
|
27
|
+
cumulativeDurationMs: import("zod").ZodNumber;
|
|
28
|
+
cumulativeUsage: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
29
|
+
inputTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
30
|
+
outputTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
31
|
+
cachedInputTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
32
|
+
cacheCreationTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
33
|
+
reasoningTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
34
|
+
totalTokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
35
|
+
cost: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
36
|
+
input: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
37
|
+
output: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
38
|
+
cacheRead: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
39
|
+
cacheWrite: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
40
|
+
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
41
|
+
}, import("zod/v4/core").$strict>>;
|
|
42
|
+
}, import("zod/v4/core").$strict>>;
|
|
43
|
+
conversationId: import("zod").ZodString;
|
|
44
|
+
isParticipant: import("zod").ZodBoolean;
|
|
45
|
+
status: import("zod").ZodEnum<{
|
|
46
|
+
completed: "completed";
|
|
47
|
+
failed: "failed";
|
|
48
|
+
active: "active";
|
|
49
|
+
}>;
|
|
50
|
+
startedAt: import("zod").ZodString;
|
|
51
|
+
lastSeenAt: import("zod").ZodString;
|
|
52
|
+
lastProgressAt: import("zod").ZodString;
|
|
53
|
+
surface: import("zod").ZodEnum<{
|
|
54
|
+
slack: "slack";
|
|
55
|
+
api: "api";
|
|
56
|
+
internal: "internal";
|
|
57
|
+
scheduler: "scheduler";
|
|
58
|
+
}>;
|
|
59
|
+
actorIdentity: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
60
|
+
email: import("zod").ZodOptional<import("zod").ZodString>;
|
|
61
|
+
fullName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
62
|
+
slackUserId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
63
|
+
slackUserName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
64
|
+
}, import("zod/v4/core").$strict>>;
|
|
65
|
+
archivedAt: import("zod").ZodOptional<import("zod").ZodString>;
|
|
66
|
+
channel: import("zod").ZodOptional<import("zod").ZodString>;
|
|
67
|
+
channelName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
68
|
+
channelNameRedacted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
69
|
+
locationId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
70
|
+
sentryTraceUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
71
|
+
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
72
|
+
}, import("zod/v4/core").$strict>>;
|
|
73
|
+
actor: import("zod").ZodObject<{
|
|
74
|
+
fullName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
75
|
+
slackUserId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
76
|
+
slackUserName: import("zod").ZodOptional<import("zod").ZodString>;
|
|
77
|
+
email: import("zod").ZodString;
|
|
78
|
+
}, import("zod/v4/core").$strict>;
|
|
79
|
+
source: import("zod").ZodLiteral<"conversation_index">;
|
|
80
|
+
surfaces: import("zod").ZodArray<import("zod").ZodObject<{
|
|
81
|
+
failed: import("zod").ZodNumber;
|
|
82
|
+
label: import("zod").ZodString;
|
|
83
|
+
durationMs: import("zod").ZodNumber;
|
|
84
|
+
active: import("zod").ZodNumber;
|
|
85
|
+
conversations: import("zod").ZodNumber;
|
|
86
|
+
tokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
87
|
+
}, import("zod/v4/core").$strict>>;
|
|
88
|
+
totals: import("zod").ZodObject<{
|
|
89
|
+
active: import("zod").ZodNumber;
|
|
90
|
+
activeDays: import("zod").ZodNumber;
|
|
91
|
+
conversations: import("zod").ZodNumber;
|
|
92
|
+
durationMs: import("zod").ZodNumber;
|
|
93
|
+
failed: import("zod").ZodNumber;
|
|
94
|
+
tokens: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
95
|
+
}, import("zod/v4/core").$strict>;
|
|
96
|
+
windowEnd: import("zod").ZodString;
|
|
97
|
+
windowStart: import("zod").ZodString;
|
|
98
|
+
}, import("zod/v4/core").$strict>>;
|
|
10
99
|
export default _default;
|
|
@@ -1,3 +1,5 @@
|
|
|
1
|
-
import type { ActorProfileReport } from "
|
|
1
|
+
import type { ActorProfileReport } from "../schema/person";
|
|
2
2
|
/** Load one complete person profile while bounding only its recent-conversation list. */
|
|
3
|
-
export declare function readPeopleProfileFromSql(email: string
|
|
3
|
+
export declare function readPeopleProfileFromSql(email: string, options?: {
|
|
4
|
+
verifiedViewerEmail?: string;
|
|
5
|
+
}): Promise<ActorProfileReport>;
|