@sentry/junior 0.124.2 → 0.126.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-HJQTURNC.js → agent-hooks-HDSNWDQM.js} +9 -10
- package/dist/api/conversations/auxiliary-costs.d.ts +6 -0
- package/dist/api/conversations/detail.d.ts +10 -0
- package/dist/api/conversations/list.d.ts +11 -0
- package/dist/api/conversations/projection.d.ts +2 -1
- package/dist/api/locations/detail.d.ts +20 -0
- package/dist/api/people/profile.d.ts +10 -0
- package/dist/api/people/shared.d.ts +36 -0
- package/dist/api/plugin-reports.d.ts +1 -0
- package/dist/api/schema/conversation.d.ts +40 -0
- package/dist/api/schema/location.d.ts +10 -0
- package/dist/api/schema/person.d.ts +10 -0
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +4 -2
- package/dist/api.js +339 -180
- package/dist/app.js +52 -41
- package/dist/{catalog-runtime-F356WNZS.js → catalog-runtime-BDC3UWPG.js} +5 -6
- package/dist/chat/agent/prompt.d.ts +1 -0
- package/dist/chat/agent/request.d.ts +2 -1
- package/dist/chat/agent/resume.d.ts +2 -0
- package/dist/chat/agent-dispatch/types.d.ts +2 -1
- package/dist/chat/conversation-privacy.d.ts +7 -12
- package/dist/chat/conversations/destination-visibility.d.ts +7 -0
- package/dist/chat/conversations/history.d.ts +4 -2
- package/dist/chat/conversations/sql/conversation-row.d.ts +7 -4
- package/dist/chat/conversations/sql/store.d.ts +2 -1
- package/dist/chat/conversations/store.d.ts +12 -4
- package/dist/chat/pi/client.d.ts +1 -0
- package/dist/chat/plugins/agent-hooks.d.ts +1 -0
- package/dist/chat/plugins/conversation-event-stats.d.ts +3 -0
- package/dist/chat/plugins/conversation-events.d.ts +1 -1
- package/dist/chat/services/turn-session-record.d.ts +4 -1
- package/dist/chat/slack/conversation-context.d.ts +4 -7
- package/dist/chat/slack/footer.d.ts +10 -1
- package/dist/chat/slack/reply.d.ts +9 -2
- package/dist/chat/slack/source-link.d.ts +5 -0
- package/dist/chat/source.d.ts +16 -0
- package/dist/chat/state/turn-session.d.ts +2 -6
- package/dist/{chunk-L7EZRQ2J.js → chunk-4PV73JHH.js} +11 -13
- package/dist/{chunk-IXTIJQ7Z.js → chunk-6KWO5DU3.js} +167 -20
- package/dist/{chunk-AYQZCJZJ.js → chunk-6ZBSTNYN.js} +14 -0
- package/dist/chunk-72SDEHFP.js +102 -0
- package/dist/{chunk-SMTAXLX4.js → chunk-ACJZZY5W.js} +2 -2
- package/dist/{chunk-KYKLQYSU.js → chunk-APYVVX2Y.js} +1 -1
- package/dist/{chunk-EOSC6JOC.js → chunk-EFQX6XBW.js} +1 -1
- package/dist/{chunk-IMLJE2NY.js → chunk-EQMSKORN.js} +2 -2
- package/dist/{chunk-ZO6E537B.js → chunk-GHNO2WUH.js} +1 -1
- package/dist/{chunk-WKBPFZ25.js → chunk-GK55KLEH.js} +1 -1
- package/dist/{chunk-PR3M62LK.js → chunk-HX236W2U.js} +6 -4
- package/dist/{chunk-7LDOW4QA.js → chunk-JFW62B3Y.js} +1 -1
- package/dist/{chunk-ASK74NM6.js → chunk-JP2ZOSQK.js} +15 -5
- package/dist/{chunk-NNKVDYXN.js → chunk-KISG7E24.js} +57 -36
- package/dist/{chunk-DW6SLS5F.js → chunk-KP7E267S.js} +83 -24
- package/dist/{chunk-VMRKIKGO.js → chunk-LCRWDMCH.js} +1 -1
- package/dist/{chunk-AQKVWIPR.js → chunk-LIDEU7QS.js} +4 -4
- package/dist/{chunk-GCGJGSQL.js → chunk-S4PUICSB.js} +2 -0
- package/dist/{chunk-SS7MAJF5.js → chunk-TUHUIBDX.js} +60 -40
- package/dist/{chunk-PE44LDDQ.js → chunk-UTL3MHPC.js} +1 -0
- package/dist/{chunk-S7G34U75.js → chunk-VUBUFT66.js} +5 -121
- package/dist/{chunk-CMYDYVOD.js → chunk-WRH7DWFO.js} +15 -12
- package/dist/{chunk-574YK7QW.js → chunk-XLIAQRDI.js} +25 -10
- package/dist/{chunk-7P7YVJKH.js → chunk-XVKJJXHF.js} +17 -15
- package/dist/{chunk-4JW3YNQZ.js → chunk-YMSVBWBY.js} +9 -11
- package/dist/cli/chat.js +25 -25
- package/dist/cli/check.js +6 -7
- package/dist/cli/plugins.js +12 -13
- package/dist/cli/snapshot-create.js +9 -10
- package/dist/cli/upgrade.js +7 -8
- package/dist/db/schema/conversations.d.ts +20 -0
- package/dist/db/schema.d.ts +19 -0
- package/dist/{db-4SU2HJSV.js → db-AZB6AGJL.js} +7 -8
- package/dist/instrumentation.js +4 -5
- package/dist/nitro.js +2 -2
- package/dist/{oauth-callback-server-MMCH5QV6.js → oauth-callback-server-XK4QJLPZ.js} +18 -19
- package/dist/reporting-schema.d.ts +2 -0
- package/dist/{runner-ZDSNVGYA.js → runner-DSGDSATN.js} +13 -15
- package/dist/{skills-7G7LBHLK.js → skills-CO6E3BQJ.js} +6 -7
- package/dist/{validation-2ETDADPB.js → validation-IHLISKM5.js} +6 -7
- package/dist/version.js +1 -1
- package/migrations/0013_conversation_session_source.sql +38 -0
- package/migrations/0014_source_visibility.sql +8 -0
- package/migrations/meta/0013_snapshot.json +1250 -0
- package/migrations/meta/0014_snapshot.json +1201 -0
- package/migrations/meta/_journal.json +14 -0
- package/package.json +6 -6
- package/dist/chunk-BA5KHLPQ.js +0 -55
- package/dist/chunk-OB42YVAE.js +0 -16
|
@@ -11,20 +11,19 @@ import {
|
|
|
11
11
|
getPlugins,
|
|
12
12
|
setPlugins,
|
|
13
13
|
validatePlugins
|
|
14
|
-
} from "./chunk-
|
|
15
|
-
import "./chunk-
|
|
16
|
-
import "./chunk-
|
|
17
|
-
import "./chunk-
|
|
18
|
-
import "./chunk-
|
|
14
|
+
} from "./chunk-6KWO5DU3.js";
|
|
15
|
+
import "./chunk-KP7E267S.js";
|
|
16
|
+
import "./chunk-S4PUICSB.js";
|
|
17
|
+
import "./chunk-APYVVX2Y.js";
|
|
18
|
+
import "./chunk-XLIAQRDI.js";
|
|
19
19
|
import "./chunk-VFUK3X5B.js";
|
|
20
|
-
import "./chunk-
|
|
20
|
+
import "./chunk-VUBUFT66.js";
|
|
21
21
|
import "./chunk-HZF5P5UN.js";
|
|
22
|
-
import "./chunk-ASK74NM6.js";
|
|
23
|
-
import "./chunk-OB42YVAE.js";
|
|
24
22
|
import "./chunk-F3B2YJ76.js";
|
|
23
|
+
import "./chunk-JP2ZOSQK.js";
|
|
25
24
|
import "./chunk-6GWA276C.js";
|
|
26
|
-
import "./chunk-
|
|
27
|
-
import "./chunk-
|
|
25
|
+
import "./chunk-LCRWDMCH.js";
|
|
26
|
+
import "./chunk-JFW62B3Y.js";
|
|
28
27
|
import "./chunk-MLKGABMK.js";
|
|
29
28
|
export {
|
|
30
29
|
PluginHookDeniedError,
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import type { JuniorDatabase } from "@/db/db";
|
|
2
|
+
import type { ConversationAuxiliaryCosts } from "../schema/conversation";
|
|
3
|
+
/** Aggregate additive event costs by namespaced operation for conversations. */
|
|
4
|
+
export declare function readConversationAuxiliaryCostsFromSql(db: JuniorDatabase, conversationIds: readonly string[], options: {
|
|
5
|
+
includeDescendants: boolean;
|
|
6
|
+
}): Promise<Map<string, ConversationAuxiliaryCosts>>;
|
|
@@ -23,6 +23,15 @@ declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
|
23
23
|
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
24
24
|
}, import("zod/v4/core").$strict>>;
|
|
25
25
|
}, import("zod/v4/core").$strict>>;
|
|
26
|
+
auxiliaryCosts: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
27
|
+
costUsd: import("zod").ZodNumber;
|
|
28
|
+
operations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
29
|
+
costUsd: import("zod").ZodNumber;
|
|
30
|
+
events: import("zod").ZodNumber;
|
|
31
|
+
name: import("zod").ZodString;
|
|
32
|
+
namespace: import("zod").ZodString;
|
|
33
|
+
}, import("zod/v4/core").$strict>>;
|
|
34
|
+
}, import("zod/v4/core").$strict>>;
|
|
26
35
|
conversationId: import("zod").ZodString;
|
|
27
36
|
isParticipant: import("zod").ZodBoolean;
|
|
28
37
|
status: import("zod").ZodEnum<{
|
|
@@ -51,6 +60,7 @@ declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
|
51
60
|
channelNameRedacted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
52
61
|
locationId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
53
62
|
sentryTraceUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
63
|
+
sourceUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
54
64
|
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
55
65
|
annotations: import("zod").ZodOptional<import("zod").ZodArray<import("zod").ZodIntersection<import("zod").ZodDiscriminatedUnion<[import("zod").ZodObject<{
|
|
56
66
|
kind: import("zod").ZodLiteral<"resource_link">;
|
|
@@ -6,6 +6,7 @@ declare function conversationRows(db: JuniorDatabase, limit: number, actorEmail?
|
|
|
6
6
|
conversationId: string;
|
|
7
7
|
schemaVersion: number;
|
|
8
8
|
source: import("@/chat/conversations/store").ConversationSource | null;
|
|
9
|
+
sessionSource: import("@/chat/source").SessionSource | null;
|
|
9
10
|
originType: string | null;
|
|
10
11
|
originId: string | null;
|
|
11
12
|
originRunId: string | null;
|
|
@@ -133,6 +134,15 @@ declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
|
133
134
|
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
134
135
|
}, import("zod/v4/core").$strict>>;
|
|
135
136
|
}, import("zod/v4/core").$strict>>;
|
|
137
|
+
auxiliaryCosts: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
138
|
+
costUsd: import("zod").ZodNumber;
|
|
139
|
+
operations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
140
|
+
costUsd: import("zod").ZodNumber;
|
|
141
|
+
events: import("zod").ZodNumber;
|
|
142
|
+
name: import("zod").ZodString;
|
|
143
|
+
namespace: import("zod").ZodString;
|
|
144
|
+
}, import("zod/v4/core").$strict>>;
|
|
145
|
+
}, import("zod/v4/core").$strict>>;
|
|
136
146
|
conversationId: import("zod").ZodString;
|
|
137
147
|
isParticipant: import("zod").ZodBoolean;
|
|
138
148
|
status: import("zod").ZodEnum<{
|
|
@@ -161,6 +171,7 @@ declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
|
161
171
|
channelNameRedacted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
162
172
|
locationId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
163
173
|
sentryTraceUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
174
|
+
sourceUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
164
175
|
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
165
176
|
}, import("zod/v4/core").$strict>>;
|
|
166
177
|
source: import("zod").ZodLiteral<"conversation_index">;
|
|
@@ -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" | "archivedAtMs" | "channelName" | "conversationId" | "createdAtMs" | "execution" | "lastActivityAtMs" | "source" | "title" | "updatedAtMs">;
|
|
4
|
+
type ConversationProjectionSource = Pick<StoredConversation, "actor" | "archivedAtMs" | "channelName" | "conversationId" | "createdAtMs" | "execution" | "lastActivityAtMs" | "source" | "sessionSource" | "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;
|
|
@@ -10,6 +10,7 @@ export declare function conversationEventHistory(args: {
|
|
|
10
10
|
/** Project one durable conversation and its SQL metrics into the REST summary. */
|
|
11
11
|
export declare function conversationSummaryFromStoredConversation(args: {
|
|
12
12
|
access?: ConversationAccess;
|
|
13
|
+
auxiliaryCosts?: ConversationSummaryReport["auxiliaryCosts"];
|
|
13
14
|
conversation: ConversationProjectionSource;
|
|
14
15
|
durationMs: number;
|
|
15
16
|
locationId?: string;
|
|
@@ -63,6 +63,15 @@ export declare function readLocationDetail(locationId: string, options?: {
|
|
|
63
63
|
total?: number | undefined;
|
|
64
64
|
} | undefined;
|
|
65
65
|
} | undefined;
|
|
66
|
+
auxiliaryCosts?: {
|
|
67
|
+
costUsd: number;
|
|
68
|
+
operations: {
|
|
69
|
+
costUsd: number;
|
|
70
|
+
events: number;
|
|
71
|
+
name: string;
|
|
72
|
+
namespace: string;
|
|
73
|
+
}[];
|
|
74
|
+
} | undefined;
|
|
66
75
|
actorIdentity?: {
|
|
67
76
|
email?: string | undefined;
|
|
68
77
|
fullName?: string | undefined;
|
|
@@ -75,6 +84,7 @@ export declare function readLocationDetail(locationId: string, options?: {
|
|
|
75
84
|
channelNameRedacted?: boolean | undefined;
|
|
76
85
|
locationId?: string | undefined;
|
|
77
86
|
sentryTraceUrl?: string | undefined;
|
|
87
|
+
sourceUrl?: string | undefined;
|
|
78
88
|
traceId?: string | undefined;
|
|
79
89
|
}[];
|
|
80
90
|
source: "conversation_index";
|
|
@@ -148,6 +158,15 @@ declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
|
148
158
|
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
149
159
|
}, import("zod/v4/core").$strict>>;
|
|
150
160
|
}, import("zod/v4/core").$strict>>;
|
|
161
|
+
auxiliaryCosts: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
162
|
+
costUsd: import("zod").ZodNumber;
|
|
163
|
+
operations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
164
|
+
costUsd: import("zod").ZodNumber;
|
|
165
|
+
events: import("zod").ZodNumber;
|
|
166
|
+
name: import("zod").ZodString;
|
|
167
|
+
namespace: import("zod").ZodString;
|
|
168
|
+
}, import("zod/v4/core").$strict>>;
|
|
169
|
+
}, import("zod/v4/core").$strict>>;
|
|
151
170
|
conversationId: import("zod").ZodString;
|
|
152
171
|
isParticipant: import("zod").ZodBoolean;
|
|
153
172
|
status: import("zod").ZodEnum<{
|
|
@@ -176,6 +195,7 @@ declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
|
176
195
|
channelNameRedacted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
177
196
|
locationId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
178
197
|
sentryTraceUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
198
|
+
sourceUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
179
199
|
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
180
200
|
}, import("zod/v4/core").$strict>>;
|
|
181
201
|
source: import("zod").ZodLiteral<"conversation_index">;
|
|
@@ -41,6 +41,15 @@ declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
|
41
41
|
total: import("zod").ZodOptional<import("zod").ZodNumber>;
|
|
42
42
|
}, import("zod/v4/core").$strict>>;
|
|
43
43
|
}, import("zod/v4/core").$strict>>;
|
|
44
|
+
auxiliaryCosts: import("zod").ZodOptional<import("zod").ZodObject<{
|
|
45
|
+
costUsd: import("zod").ZodNumber;
|
|
46
|
+
operations: import("zod").ZodArray<import("zod").ZodObject<{
|
|
47
|
+
costUsd: import("zod").ZodNumber;
|
|
48
|
+
events: import("zod").ZodNumber;
|
|
49
|
+
name: import("zod").ZodString;
|
|
50
|
+
namespace: import("zod").ZodString;
|
|
51
|
+
}, import("zod/v4/core").$strict>>;
|
|
52
|
+
}, import("zod/v4/core").$strict>>;
|
|
44
53
|
conversationId: import("zod").ZodString;
|
|
45
54
|
isParticipant: import("zod").ZodBoolean;
|
|
46
55
|
status: import("zod").ZodEnum<{
|
|
@@ -69,6 +78,7 @@ declare const _default: import("../route").ApiRoute<import("zod").ZodObject<{
|
|
|
69
78
|
channelNameRedacted: import("zod").ZodOptional<import("zod").ZodBoolean>;
|
|
70
79
|
locationId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
71
80
|
sentryTraceUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
81
|
+
sourceUrl: import("zod").ZodOptional<import("zod").ZodString>;
|
|
72
82
|
traceId: import("zod").ZodOptional<import("zod").ZodString>;
|
|
73
83
|
}, import("zod/v4/core").$strict>>;
|
|
74
84
|
actor: import("zod").ZodObject<{
|
|
@@ -58,6 +58,25 @@ export declare const peopleTreeConversation: import("drizzle-orm/pg-core").PgTab
|
|
|
58
58
|
}, {}, {
|
|
59
59
|
$type: import("../../chat/conversations/store").ConversationSource;
|
|
60
60
|
}>;
|
|
61
|
+
sessionSource: import("drizzle-orm/pg-core").PgColumn<{
|
|
62
|
+
name: "source_json";
|
|
63
|
+
tableName: "junior_conversations";
|
|
64
|
+
dataType: "json";
|
|
65
|
+
columnType: "PgJsonb";
|
|
66
|
+
data: import("../../chat/source").SessionSource;
|
|
67
|
+
driverParam: unknown;
|
|
68
|
+
notNull: false;
|
|
69
|
+
hasDefault: false;
|
|
70
|
+
isPrimaryKey: false;
|
|
71
|
+
isAutoincrement: false;
|
|
72
|
+
hasRuntimeDefault: false;
|
|
73
|
+
enumValues: undefined;
|
|
74
|
+
baseColumn: never;
|
|
75
|
+
identity: undefined;
|
|
76
|
+
generated: undefined;
|
|
77
|
+
}, {}, {
|
|
78
|
+
$type: import("../../chat/source").SessionSource;
|
|
79
|
+
}>;
|
|
61
80
|
originType: import("drizzle-orm/pg-core").PgColumn<{
|
|
62
81
|
name: "origin_type";
|
|
63
82
|
tableName: "junior_conversations";
|
|
@@ -684,6 +703,23 @@ export declare const peopleTreeConversation: import("drizzle-orm/pg-core").PgTab
|
|
|
684
703
|
identity: undefined;
|
|
685
704
|
generated: undefined;
|
|
686
705
|
}, {}, {}>;
|
|
706
|
+
sessionSource: import("drizzle-orm/pg-core").PgColumn<{
|
|
707
|
+
name: "source_json";
|
|
708
|
+
tableName: "people_tree_conversation";
|
|
709
|
+
dataType: "json";
|
|
710
|
+
columnType: "PgJsonb";
|
|
711
|
+
data: import("../../chat/source").SessionSource;
|
|
712
|
+
driverParam: unknown;
|
|
713
|
+
notNull: false;
|
|
714
|
+
hasDefault: false;
|
|
715
|
+
isPrimaryKey: false;
|
|
716
|
+
isAutoincrement: false;
|
|
717
|
+
hasRuntimeDefault: false;
|
|
718
|
+
enumValues: undefined;
|
|
719
|
+
baseColumn: never;
|
|
720
|
+
identity: undefined;
|
|
721
|
+
generated: undefined;
|
|
722
|
+
}, {}, {}>;
|
|
687
723
|
originType: import("drizzle-orm/pg-core").PgColumn<{
|
|
688
724
|
name: "origin_type";
|
|
689
725
|
tableName: "people_tree_conversation";
|
|
@@ -43,6 +43,7 @@ declare const _default: import("./route").ApiRoute<import("zod").ZodObject<{
|
|
|
43
43
|
emptyText: import("zod").ZodOptional<import("zod").ZodString>;
|
|
44
44
|
id: import("zod").ZodString;
|
|
45
45
|
series: import("zod").ZodArray<import("zod").ZodObject<{
|
|
46
|
+
format: import("zod").ZodOptional<import("zod").ZodLiteral<"usd">>;
|
|
46
47
|
key: import("zod").ZodString;
|
|
47
48
|
label: import("zod").ZodString;
|
|
48
49
|
tone: import("zod").ZodOptional<import("zod").ZodEnum<{
|
|
@@ -58,6 +58,15 @@ export declare const actorIdentitySchema: z.ZodObject<{
|
|
|
58
58
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
59
59
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
60
60
|
}, z.core.$strict>;
|
|
61
|
+
export declare const conversationAuxiliaryCostsSchema: z.ZodObject<{
|
|
62
|
+
costUsd: z.ZodNumber;
|
|
63
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
64
|
+
costUsd: z.ZodNumber;
|
|
65
|
+
events: z.ZodNumber;
|
|
66
|
+
name: z.ZodString;
|
|
67
|
+
namespace: z.ZodString;
|
|
68
|
+
}, z.core.$strict>>;
|
|
69
|
+
}, z.core.$strict>;
|
|
61
70
|
export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
62
71
|
displayTitle: z.ZodString;
|
|
63
72
|
cumulativeDurationMs: z.ZodNumber;
|
|
@@ -76,6 +85,15 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
76
85
|
total: z.ZodOptional<z.ZodNumber>;
|
|
77
86
|
}, z.core.$strict>>;
|
|
78
87
|
}, z.core.$strict>>;
|
|
88
|
+
auxiliaryCosts: z.ZodOptional<z.ZodObject<{
|
|
89
|
+
costUsd: z.ZodNumber;
|
|
90
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
91
|
+
costUsd: z.ZodNumber;
|
|
92
|
+
events: z.ZodNumber;
|
|
93
|
+
name: z.ZodString;
|
|
94
|
+
namespace: z.ZodString;
|
|
95
|
+
}, z.core.$strict>>;
|
|
96
|
+
}, z.core.$strict>>;
|
|
79
97
|
conversationId: z.ZodString;
|
|
80
98
|
isParticipant: z.ZodBoolean;
|
|
81
99
|
status: z.ZodEnum<{
|
|
@@ -104,6 +122,7 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
104
122
|
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
105
123
|
locationId: z.ZodOptional<z.ZodString>;
|
|
106
124
|
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
125
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
107
126
|
traceId: z.ZodOptional<z.ZodString>;
|
|
108
127
|
}, z.core.$strict>;
|
|
109
128
|
/** Privacy-safe event variants owned by the conversation reporting API. */
|
|
@@ -502,6 +521,15 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
502
521
|
total: z.ZodOptional<z.ZodNumber>;
|
|
503
522
|
}, z.core.$strict>>;
|
|
504
523
|
}, z.core.$strict>>;
|
|
524
|
+
auxiliaryCosts: z.ZodOptional<z.ZodObject<{
|
|
525
|
+
costUsd: z.ZodNumber;
|
|
526
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
527
|
+
costUsd: z.ZodNumber;
|
|
528
|
+
events: z.ZodNumber;
|
|
529
|
+
name: z.ZodString;
|
|
530
|
+
namespace: z.ZodString;
|
|
531
|
+
}, z.core.$strict>>;
|
|
532
|
+
}, z.core.$strict>>;
|
|
505
533
|
conversationId: z.ZodString;
|
|
506
534
|
isParticipant: z.ZodBoolean;
|
|
507
535
|
status: z.ZodEnum<{
|
|
@@ -530,6 +558,7 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
530
558
|
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
531
559
|
locationId: z.ZodOptional<z.ZodString>;
|
|
532
560
|
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
561
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
533
562
|
traceId: z.ZodOptional<z.ZodString>;
|
|
534
563
|
annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
535
564
|
kind: z.ZodLiteral<"resource_link">;
|
|
@@ -964,6 +993,15 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
964
993
|
total: z.ZodOptional<z.ZodNumber>;
|
|
965
994
|
}, z.core.$strict>>;
|
|
966
995
|
}, z.core.$strict>>;
|
|
996
|
+
auxiliaryCosts: z.ZodOptional<z.ZodObject<{
|
|
997
|
+
costUsd: z.ZodNumber;
|
|
998
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
999
|
+
costUsd: z.ZodNumber;
|
|
1000
|
+
events: z.ZodNumber;
|
|
1001
|
+
name: z.ZodString;
|
|
1002
|
+
namespace: z.ZodString;
|
|
1003
|
+
}, z.core.$strict>>;
|
|
1004
|
+
}, z.core.$strict>>;
|
|
967
1005
|
conversationId: z.ZodString;
|
|
968
1006
|
isParticipant: z.ZodBoolean;
|
|
969
1007
|
status: z.ZodEnum<{
|
|
@@ -992,6 +1030,7 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
992
1030
|
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
993
1031
|
locationId: z.ZodOptional<z.ZodString>;
|
|
994
1032
|
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
1033
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
995
1034
|
traceId: z.ZodOptional<z.ZodString>;
|
|
996
1035
|
}, z.core.$strict>>;
|
|
997
1036
|
source: z.ZodLiteral<"conversation_index">;
|
|
@@ -1090,6 +1129,7 @@ export type ConversationReportStatus = z.infer<typeof conversationReportStatusSc
|
|
|
1090
1129
|
export type ConversationSurface = z.infer<typeof conversationSurfaceSchema>;
|
|
1091
1130
|
export type ConversationCost = z.infer<typeof conversationCostSchema>;
|
|
1092
1131
|
export type ConversationUsage = z.infer<typeof conversationUsageSchema>;
|
|
1132
|
+
export type ConversationAuxiliaryCosts = z.infer<typeof conversationAuxiliaryCostsSchema>;
|
|
1093
1133
|
export type ActorIdentity = z.infer<typeof actorIdentitySchema>;
|
|
1094
1134
|
export type ConversationSummaryReport = z.infer<typeof conversationSummaryReportSchema>;
|
|
1095
1135
|
export type ConversationModelUsage = z.infer<typeof conversationModelUsageSchema>;
|
|
@@ -152,6 +152,15 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
152
152
|
total: z.ZodOptional<z.ZodNumber>;
|
|
153
153
|
}, z.core.$strict>>;
|
|
154
154
|
}, z.core.$strict>>;
|
|
155
|
+
auxiliaryCosts: z.ZodOptional<z.ZodObject<{
|
|
156
|
+
costUsd: z.ZodNumber;
|
|
157
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
158
|
+
costUsd: z.ZodNumber;
|
|
159
|
+
events: z.ZodNumber;
|
|
160
|
+
name: z.ZodString;
|
|
161
|
+
namespace: z.ZodString;
|
|
162
|
+
}, z.core.$strict>>;
|
|
163
|
+
}, z.core.$strict>>;
|
|
155
164
|
conversationId: z.ZodString;
|
|
156
165
|
isParticipant: z.ZodBoolean;
|
|
157
166
|
status: z.ZodEnum<{
|
|
@@ -180,6 +189,7 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
180
189
|
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
181
190
|
locationId: z.ZodOptional<z.ZodString>;
|
|
182
191
|
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
192
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
183
193
|
traceId: z.ZodOptional<z.ZodString>;
|
|
184
194
|
}, z.core.$strict>>;
|
|
185
195
|
source: z.ZodLiteral<"conversation_index">;
|
|
@@ -119,6 +119,15 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
119
119
|
total: z.ZodOptional<z.ZodNumber>;
|
|
120
120
|
}, z.core.$strict>>;
|
|
121
121
|
}, z.core.$strict>>;
|
|
122
|
+
auxiliaryCosts: z.ZodOptional<z.ZodObject<{
|
|
123
|
+
costUsd: z.ZodNumber;
|
|
124
|
+
operations: z.ZodArray<z.ZodObject<{
|
|
125
|
+
costUsd: z.ZodNumber;
|
|
126
|
+
events: z.ZodNumber;
|
|
127
|
+
name: z.ZodString;
|
|
128
|
+
namespace: z.ZodString;
|
|
129
|
+
}, z.core.$strict>>;
|
|
130
|
+
}, z.core.$strict>>;
|
|
122
131
|
conversationId: z.ZodString;
|
|
123
132
|
isParticipant: z.ZodBoolean;
|
|
124
133
|
status: z.ZodEnum<{
|
|
@@ -147,6 +156,7 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
147
156
|
channelNameRedacted: z.ZodOptional<z.ZodBoolean>;
|
|
148
157
|
locationId: z.ZodOptional<z.ZodString>;
|
|
149
158
|
sentryTraceUrl: z.ZodOptional<z.ZodString>;
|
|
159
|
+
sourceUrl: z.ZodOptional<z.ZodString>;
|
|
150
160
|
traceId: z.ZodOptional<z.ZodString>;
|
|
151
161
|
}, z.core.$strict>>;
|
|
152
162
|
actor: z.ZodObject<{
|
package/dist/api/schema.d.ts
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
export { dailyConversationActivitySchema } from "./activity";
|
|
2
2
|
export type { DailyConversationActivity } from "./activity";
|
|
3
|
-
export { archiveConversationBodySchema, archiveConversationResponseSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventPageSchema, conversationEventHistorySchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, } from "./schema/conversation";
|
|
4
|
-
export type { ArchiveConversationBody, ArchiveConversationResponse, ActorIdentity, ConversationCost, ConversationDetailReport, ConversationEventPage, ConversationEventHistory, ConversationFeed, ConversationReportEvent, ConversationReportEventData, ConversationReportStatus, ConversationMetricDay, ConversationModelUsage, ConversationParams, ConversationStatsItem, ConversationStatsReport, ConversationSummaryReport, ConversationSurface, ConversationUsage, GuardianMetricDay, GuardianStats, } from "./schema/conversation";
|
|
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";
|
|
5
5
|
export { actorDirectoryReportSchema, actorProfileReportSchema, personParamsSchema, } from "./schema/person";
|
|
6
6
|
export { locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, } from "./schema/location";
|
|
7
7
|
export type { LocationActorSummaryReport, LocationActivityDayReport, LocationDetailReport, LocationDirectoryReport, LocationSummaryReport, LocationParams, } from "./schema/location";
|
package/dist/api/schema.js
CHANGED
|
@@ -4,6 +4,7 @@ import {
|
|
|
4
4
|
apiErrorSchema,
|
|
5
5
|
archiveConversationBodySchema,
|
|
6
6
|
archiveConversationResponseSchema,
|
|
7
|
+
conversationAuxiliaryCostsSchema,
|
|
7
8
|
conversationDetailQuerySchema,
|
|
8
9
|
conversationDetailReportSchema,
|
|
9
10
|
conversationEventHistorySchema,
|
|
@@ -30,7 +31,7 @@ import {
|
|
|
30
31
|
revokePersonalTokenResponseSchema,
|
|
31
32
|
statSchema,
|
|
32
33
|
statsReportSchema
|
|
33
|
-
} from "../chunk-
|
|
34
|
+
} from "../chunk-6ZBSTNYN.js";
|
|
34
35
|
import {
|
|
35
36
|
healthReportSchema,
|
|
36
37
|
pluginOperationalReportFeedSchema,
|
|
@@ -42,7 +43,7 @@ import {
|
|
|
42
43
|
runtimeInfoReportSchema,
|
|
43
44
|
skillReportSchema,
|
|
44
45
|
skillReportsSchema
|
|
45
|
-
} from "../chunk-
|
|
46
|
+
} from "../chunk-UTL3MHPC.js";
|
|
46
47
|
import "../chunk-PDO5BLNM.js";
|
|
47
48
|
import "../chunk-VFUK3X5B.js";
|
|
48
49
|
import "../chunk-MLKGABMK.js";
|
|
@@ -52,6 +53,7 @@ export {
|
|
|
52
53
|
apiErrorSchema,
|
|
53
54
|
archiveConversationBodySchema,
|
|
54
55
|
archiveConversationResponseSchema,
|
|
56
|
+
conversationAuxiliaryCostsSchema,
|
|
55
57
|
conversationDetailQuerySchema,
|
|
56
58
|
conversationDetailReportSchema,
|
|
57
59
|
conversationEventHistorySchema,
|