@sentry/junior 0.148.0 → 0.150.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.
Files changed (84) hide show
  1. package/dist/{agent-hooks-VAUYT6PD.js → agent-hooks-SEOGOGKX.js} +10 -10
  2. package/dist/api/conversations/aggregate.d.ts +2 -0
  3. package/dist/api/conversations/create.d.ts +1 -1
  4. package/dist/api/conversations/pending-messages.d.ts +15 -0
  5. package/dist/api/people/shared.d.ts +2 -0
  6. package/dist/api/schema/conversation.d.ts +78 -4
  7. package/dist/api/schema.d.ts +2 -2
  8. package/dist/api/schema.js +7 -1
  9. package/dist/api.d.ts +1 -1
  10. package/dist/api.js +186 -35
  11. package/dist/app.js +152 -186
  12. package/dist/{catalog-runtime-WADOZVTB.js → catalog-runtime-HA7RIWYT.js} +5 -5
  13. package/dist/chat/agent/index.d.ts +5 -4
  14. package/dist/chat/agent/prompt.d.ts +8 -5
  15. package/dist/chat/agent/resume.d.ts +2 -2
  16. package/dist/chat/agent/tools.d.ts +4 -7
  17. package/dist/chat/agent/{request.d.ts → types.d.ts} +138 -129
  18. package/dist/chat/agent-dispatch/types.d.ts +2 -2
  19. package/dist/chat/agent-invocations/spawn.d.ts +2 -2
  20. package/dist/chat/api-turns/work.d.ts +6 -1
  21. package/dist/chat/app/services.d.ts +1 -1
  22. package/dist/chat/plugins/viewer.d.ts +4 -0
  23. package/dist/chat/runtime/agent-runner.d.ts +7 -5
  24. package/dist/chat/runtime/reply-executor.d.ts +0 -2
  25. package/dist/chat/runtime/slack-resume.d.ts +3 -3
  26. package/dist/chat/services/conversation-memory.d.ts +2 -2
  27. package/dist/chat/services/conversation-title.d.ts +20 -0
  28. package/dist/chat/slack/assistant-thread/title.d.ts +10 -27
  29. package/dist/chat/state/conversation.d.ts +1 -0
  30. package/dist/chat/task-execution/paused-turn.d.ts +2 -2
  31. package/dist/chat/tools/types.d.ts +1 -1
  32. package/dist/{chunk-QOWHHM3F.js → chunk-3GL327SC.js} +1 -1
  33. package/dist/{chunk-45LOR4PU.js → chunk-3JVUWLR7.js} +45 -1
  34. package/dist/{chunk-4GXJUYJV.js → chunk-3ZMKDHCT.js} +2 -2
  35. package/dist/{chunk-DUY5CDAM.js → chunk-4KAYAIBV.js} +1 -1
  36. package/dist/{chunk-ULAU5ZGU.js → chunk-4VH7KLGC.js} +106 -113
  37. package/dist/{chunk-V2FXMOEA.js → chunk-64K7GKRW.js} +2 -2
  38. package/dist/{chunk-2B3PT3V2.js → chunk-6PFDWAK2.js} +1 -1
  39. package/dist/{chunk-LNVEIJ2L.js → chunk-7D4GNUV2.js} +5 -5
  40. package/dist/{chunk-ZPL2RR7F.js → chunk-7GOP6VFJ.js} +40 -36
  41. package/dist/{chunk-HWQGBIH7.js → chunk-7NLW2NF5.js} +1 -1
  42. package/dist/{chunk-55F4QU2V.js → chunk-7QB2CKCW.js} +1 -1
  43. package/dist/{chunk-WCN4YSH7.js → chunk-DWETNV66.js} +6 -6
  44. package/dist/{chunk-D3WPMGEX.js → chunk-F5NMSEBL.js} +1 -1
  45. package/dist/{chunk-IL4EDBMV.js → chunk-FEFEIA3Z.js} +5 -5
  46. package/dist/{chunk-WOONT5ZP.js → chunk-H2RLIJ7G.js} +1 -1
  47. package/dist/{chunk-VRHTNBA6.js → chunk-ILYL6YFD.js} +3 -3
  48. package/dist/{chunk-VCYSOXON.js → chunk-IPGNWXA3.js} +545 -7
  49. package/dist/{chunk-LAZGHEYU.js → chunk-IZRSLANA.js} +1 -1
  50. package/dist/{chunk-EAI67NTM.js → chunk-JQXJ2E53.js} +1 -1
  51. package/dist/{chunk-HLPLT3NY.js → chunk-M5OZSVJI.js} +8 -4
  52. package/dist/{chunk-XJ42NBP5.js → chunk-MCNP7A7T.js} +8 -8
  53. package/dist/{chunk-OJCP3C3J.js → chunk-NCGVQXX5.js} +22 -26
  54. package/dist/{chunk-4AQZYNHM.js → chunk-NNOCRVQO.js} +2 -2
  55. package/dist/{chunk-GXYDVZKM.js → chunk-P43QM7JY.js} +5 -5
  56. package/dist/{chunk-EINWQFXI.js → chunk-QPIPYVGE.js} +5 -5
  57. package/dist/{chunk-GDFF3BQG.js → chunk-RF6J3DIO.js} +34 -36
  58. package/dist/{chunk-D6YX4NNN.js → chunk-SH6ZKJFZ.js} +4 -4
  59. package/dist/{chunk-LE5H7LMT.js → chunk-SHDREBGC.js} +1 -1
  60. package/dist/{chunk-VMNRXKAH.js → chunk-TZLYAO2J.js} +191 -134
  61. package/dist/{chunk-RRJV5UR5.js → chunk-UIMBNY6O.js} +11 -337
  62. package/dist/{chunk-ZCHIC2GM.js → chunk-UOFQEVR5.js} +15 -6
  63. package/dist/{chunk-7OEIXFC3.js → chunk-Y2VZ54CQ.js} +12 -12
  64. package/dist/{chunk-VY6W3T43.js → chunk-ZBOGYZ53.js} +4 -4
  65. package/dist/{chunk-POSZWRGL.js → chunk-ZUQT35YC.js} +1 -1
  66. package/dist/cli/chat.js +31 -32
  67. package/dist/cli/check.js +6 -6
  68. package/dist/cli/plugins.js +13 -13
  69. package/dist/cli/snapshot-create.js +9 -9
  70. package/dist/cli/upgrade.js +7 -7
  71. package/dist/{db-XUKZRFFK.js → db-HUW75QG7.js} +7 -7
  72. package/dist/instrumentation.js +4 -4
  73. package/dist/nitro.js +2 -2
  74. package/dist/{oauth-callback-server-LPZMMGFI.js → oauth-callback-server-DP7NIZPQ.js} +24 -25
  75. package/dist/{runner-DGKUTMPX.js → runner-AINV7K3M.js} +47 -45
  76. package/dist/{skills-P7YUFSXM.js → skills-PKS37E6B.js} +6 -6
  77. package/dist/spawn-NJCDEPPL.js +38 -0
  78. package/dist/{validation-S7U5M5NR.js → validation-PDC3MVMM.js} +6 -6
  79. package/dist/version.js +1 -1
  80. package/dist/{work-GAA7TVAD.js → work-KJLJRPXS.js} +17 -17
  81. package/dist/{worker-JXPJH3QB.js → worker-TYQ7YVIR.js} +11 -11
  82. package/package.json +5 -5
  83. package/dist/chunk-4EA2SFK2.js +0 -137
  84. package/dist/spawn-DSK3ZEVD.js +0 -38
@@ -11,21 +11,21 @@ import {
11
11
  getPlugins,
12
12
  setPlugins,
13
13
  validatePlugins
14
- } from "./chunk-ZCHIC2GM.js";
15
- import "./chunk-V2FXMOEA.js";
16
- import "./chunk-VRHTNBA6.js";
17
- import "./chunk-D3WPMGEX.js";
14
+ } from "./chunk-UOFQEVR5.js";
15
+ import "./chunk-64K7GKRW.js";
16
+ import "./chunk-ILYL6YFD.js";
17
+ import "./chunk-F5NMSEBL.js";
18
18
  import "./chunk-EM225ITJ.js";
19
- import "./chunk-2B3PT3V2.js";
20
- import "./chunk-4GXJUYJV.js";
19
+ import "./chunk-6PFDWAK2.js";
20
+ import "./chunk-3ZMKDHCT.js";
21
21
  import "./chunk-VFUK3X5B.js";
22
- import "./chunk-LE5H7LMT.js";
22
+ import "./chunk-SHDREBGC.js";
23
23
  import "./chunk-HZF5P5UN.js";
24
24
  import "./chunk-F3B2YJ76.js";
25
- import "./chunk-EAI67NTM.js";
25
+ import "./chunk-JQXJ2E53.js";
26
26
  import "./chunk-6GWA276C.js";
27
- import "./chunk-LAZGHEYU.js";
28
- import "./chunk-55F4QU2V.js";
27
+ import "./chunk-IZRSLANA.js";
28
+ import "./chunk-7QB2CKCW.js";
29
29
  import "./chunk-MLKGABMK.js";
30
30
  export {
31
31
  PluginHookDeniedError,
@@ -12,9 +12,11 @@ export declare function conversationAggregateColumns(sources?: {
12
12
  }): {
13
13
  active: import("drizzle-orm").SQL<number>;
14
14
  conversations: import("drizzle-orm").SQL<number>;
15
+ cachedInputTokens: import("drizzle-orm").SQL<number | null>;
15
16
  costUsd: import("drizzle-orm").SQL<number | null>;
16
17
  durationMs: import("drizzle-orm").SQL<number>;
17
18
  failed: import("drizzle-orm").SQL<number>;
19
+ inputTokens: import("drizzle-orm").SQL<number | null>;
18
20
  tokens: import("drizzle-orm").SQL<number | null>;
19
21
  };
20
22
  /** Select the complete first/last activity range for a grouped conversation aggregate. */
@@ -1,6 +1,6 @@
1
1
  import type { User } from "@sentry/junior-plugin-api";
2
2
  import type { AcceptedConversationMessage, CreateConversationBody, CreateConversationMessageBody } from "../schema/conversation";
3
- /** Create a public root conversation and enqueue its first message. */
3
+ /** Create a dashboard root conversation and enqueue its first message. */
4
4
  export declare function createConversationForViewer(viewer: User, body: CreateConversationBody): Promise<AcceptedConversationMessage>;
5
5
  /** Append one dashboard message to an existing conversation. */
6
6
  export declare function appendConversationMessageForViewer(viewer: User, conversationId: string, body: CreateConversationMessageBody): Promise<AcceptedConversationMessage>;
@@ -0,0 +1,15 @@
1
+ import type { User } from "@sentry/junior-plugin-api";
2
+ import { type ConversationPendingMessagesReport } from "../schema/conversation";
3
+ /**
4
+ * Read accepted mailbox messages that have not reached durable history yet.
5
+ *
6
+ * Returns only human-facing web and Slack rows. Internal mailbox work stays
7
+ * hidden from the transcript.
8
+ */
9
+ export declare function readConversationPendingMessages(conversationId: string, options?: {
10
+ viewer?: User;
11
+ }): Promise<ConversationPendingMessagesReport | undefined>;
12
+ /** Load pending mailbox messages or throw a standard API not-found error. */
13
+ export declare function requireConversationPendingMessages(conversationId: string, options?: {
14
+ viewer?: User;
15
+ }): Promise<ConversationPendingMessagesReport>;
@@ -1243,9 +1243,11 @@ export declare const peopleTreeConversation: import("drizzle-orm/pg-core").PgTab
1243
1243
  export declare const peopleTreeAggregateColumns: {
1244
1244
  active: import("drizzle-orm").SQL<number>;
1245
1245
  conversations: import("drizzle-orm").SQL<number>;
1246
+ cachedInputTokens: import("drizzle-orm").SQL<number | null>;
1246
1247
  costUsd: import("drizzle-orm").SQL<number | null>;
1247
1248
  durationMs: import("drizzle-orm").SQL<number>;
1248
1249
  failed: import("drizzle-orm").SQL<number>;
1250
+ inputTokens: import("drizzle-orm").SQL<number | null>;
1249
1251
  tokens: import("drizzle-orm").SQL<number | null>;
1250
1252
  };
1251
1253
  /**
@@ -55,6 +55,10 @@ export declare const archiveConversationResponseSchema: z.ZodObject<{
55
55
  export declare const createConversationBodySchema: z.ZodObject<{
56
56
  idempotencyKey: z.ZodString;
57
57
  message: z.ZodString;
58
+ visibility: z.ZodOptional<z.ZodEnum<{
59
+ public: "public";
60
+ private: "private";
61
+ }>>;
58
62
  }, z.core.$strict>;
59
63
  export declare const createConversationMessageBodySchema: z.ZodObject<{
60
64
  idempotencyKey: z.ZodString;
@@ -74,6 +78,63 @@ export declare const actorIdentitySchema: z.ZodObject<{
74
78
  slackUserId: z.ZodOptional<z.ZodString>;
75
79
  slackUserName: z.ZodOptional<z.ZodString>;
76
80
  }, z.core.$strict>;
81
+ /** Mailbox delivery mode for one accepted inbound message. */
82
+ export declare const conversationPendingMessageDeliverySchema: z.ZodEnum<{
83
+ defer: "defer";
84
+ interrupt: "interrupt";
85
+ }>;
86
+ /** One accepted mailbox message that has not reached durable history yet. */
87
+ export declare const conversationPendingMessageSchema: z.ZodObject<{
88
+ actorIdentity: z.ZodOptional<z.ZodObject<{
89
+ email: z.ZodOptional<z.ZodString>;
90
+ fullName: z.ZodOptional<z.ZodString>;
91
+ slackUserId: z.ZodOptional<z.ZodString>;
92
+ slackUserName: z.ZodOptional<z.ZodString>;
93
+ }, z.core.$strict>>;
94
+ createdAt: z.ZodString;
95
+ delivery: z.ZodEnum<{
96
+ defer: "defer";
97
+ interrupt: "interrupt";
98
+ }>;
99
+ inboundMessageId: z.ZodString;
100
+ messageId: z.ZodString;
101
+ receivedAt: z.ZodString;
102
+ role: z.ZodLiteral<"user">;
103
+ source: z.ZodEnum<{
104
+ slack: "slack";
105
+ web: "web";
106
+ }>;
107
+ text: z.ZodOptional<z.ZodString>;
108
+ redacted: z.ZodOptional<z.ZodLiteral<true>>;
109
+ }, z.core.$strict>;
110
+ /** Bounded mailbox snapshot for one conversation transcript. */
111
+ export declare const conversationPendingMessagesReportSchema: z.ZodObject<{
112
+ conversationId: z.ZodString;
113
+ generatedAt: z.ZodString;
114
+ messages: z.ZodArray<z.ZodObject<{
115
+ actorIdentity: z.ZodOptional<z.ZodObject<{
116
+ email: z.ZodOptional<z.ZodString>;
117
+ fullName: z.ZodOptional<z.ZodString>;
118
+ slackUserId: z.ZodOptional<z.ZodString>;
119
+ slackUserName: z.ZodOptional<z.ZodString>;
120
+ }, z.core.$strict>>;
121
+ createdAt: z.ZodString;
122
+ delivery: z.ZodEnum<{
123
+ defer: "defer";
124
+ interrupt: "interrupt";
125
+ }>;
126
+ inboundMessageId: z.ZodString;
127
+ messageId: z.ZodString;
128
+ receivedAt: z.ZodString;
129
+ role: z.ZodLiteral<"user">;
130
+ source: z.ZodEnum<{
131
+ slack: "slack";
132
+ web: "web";
133
+ }>;
134
+ text: z.ZodOptional<z.ZodString>;
135
+ redacted: z.ZodOptional<z.ZodLiteral<true>>;
136
+ }, z.core.$strict>>;
137
+ }, z.core.$strict>;
77
138
  export declare const conversationAuxiliaryCostsSchema: z.ZodObject<{
78
139
  costUsd: z.ZodNumber;
79
140
  operations: z.ZodArray<z.ZodObject<{
@@ -164,6 +225,7 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
164
225
  system: "system";
165
226
  assistant: "assistant";
166
227
  }>;
228
+ source: z.ZodOptional<z.ZodLiteral<"web">>;
167
229
  actorIdentity: z.ZodOptional<z.ZodObject<{
168
230
  email: z.ZodOptional<z.ZodString>;
169
231
  fullName: z.ZodOptional<z.ZodString>;
@@ -221,8 +283,8 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
221
283
  turnId: z.ZodString;
222
284
  state: z.ZodLiteral<"failed">;
223
285
  failureKind: z.ZodEnum<{
224
- agent: "agent";
225
286
  delivery: "delivery";
287
+ agent: "agent";
226
288
  }>;
227
289
  }, z.core.$strict>], "state">, z.ZodObject<{
228
290
  type: z.ZodLiteral<"turn_context">;
@@ -342,6 +404,7 @@ export declare const conversationReportEventSchema: z.ZodObject<{
342
404
  system: "system";
343
405
  assistant: "assistant";
344
406
  }>;
407
+ source: z.ZodOptional<z.ZodLiteral<"web">>;
345
408
  actorIdentity: z.ZodOptional<z.ZodObject<{
346
409
  email: z.ZodOptional<z.ZodString>;
347
410
  fullName: z.ZodOptional<z.ZodString>;
@@ -399,8 +462,8 @@ export declare const conversationReportEventSchema: z.ZodObject<{
399
462
  turnId: z.ZodString;
400
463
  state: z.ZodLiteral<"failed">;
401
464
  failureKind: z.ZodEnum<{
402
- agent: "agent";
403
465
  delivery: "delivery";
466
+ agent: "agent";
404
467
  }>;
405
468
  }, z.core.$strict>], "state">, z.ZodObject<{
406
469
  type: z.ZodLiteral<"turn_context">;
@@ -645,6 +708,7 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
645
708
  system: "system";
646
709
  assistant: "assistant";
647
710
  }>;
711
+ source: z.ZodOptional<z.ZodLiteral<"web">>;
648
712
  actorIdentity: z.ZodOptional<z.ZodObject<{
649
713
  email: z.ZodOptional<z.ZodString>;
650
714
  fullName: z.ZodOptional<z.ZodString>;
@@ -702,8 +766,8 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
702
766
  turnId: z.ZodString;
703
767
  state: z.ZodLiteral<"failed">;
704
768
  failureKind: z.ZodEnum<{
705
- agent: "agent";
706
769
  delivery: "delivery";
770
+ agent: "agent";
707
771
  }>;
708
772
  }, z.core.$strict>], "state">, z.ZodObject<{
709
773
  type: z.ZodLiteral<"turn_context">;
@@ -846,6 +910,7 @@ export declare const conversationEventPageSchema: z.ZodObject<{
846
910
  system: "system";
847
911
  assistant: "assistant";
848
912
  }>;
913
+ source: z.ZodOptional<z.ZodLiteral<"web">>;
849
914
  actorIdentity: z.ZodOptional<z.ZodObject<{
850
915
  email: z.ZodOptional<z.ZodString>;
851
916
  fullName: z.ZodOptional<z.ZodString>;
@@ -903,8 +968,8 @@ export declare const conversationEventPageSchema: z.ZodObject<{
903
968
  turnId: z.ZodString;
904
969
  state: z.ZodLiteral<"failed">;
905
970
  failureKind: z.ZodEnum<{
906
- agent: "agent";
907
971
  delivery: "delivery";
972
+ agent: "agent";
908
973
  }>;
909
974
  }, z.core.$strict>], "state">, z.ZodObject<{
910
975
  type: z.ZodLiteral<"turn_context">;
@@ -1101,10 +1166,12 @@ export declare const conversationStatsItemSchema: z.ZodObject<{
1101
1166
  tokens: z.ZodOptional<z.ZodNumber>;
1102
1167
  }, z.core.$strict>;
1103
1168
  export declare const conversationMetricDaySchema: z.ZodObject<{
1169
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
1104
1170
  conversations: z.ZodNumber;
1105
1171
  costUsd: z.ZodOptional<z.ZodNumber>;
1106
1172
  date: z.ZodString;
1107
1173
  durationMs: z.ZodNumber;
1174
+ inputTokens: z.ZodOptional<z.ZodNumber>;
1108
1175
  tokens: z.ZodOptional<z.ZodNumber>;
1109
1176
  }, z.core.$strict>;
1110
1177
  export declare const guardianMetricDaySchema: z.ZodObject<{
@@ -1132,6 +1199,7 @@ export declare const guardianStatsSchema: z.ZodObject<{
1132
1199
  }, z.core.$strict>;
1133
1200
  export declare const conversationStatsReportSchema: z.ZodObject<{
1134
1201
  active: z.ZodNumber;
1202
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
1135
1203
  conversations: z.ZodNumber;
1136
1204
  durationMs: z.ZodNumber;
1137
1205
  failed: z.ZodNumber;
@@ -1152,10 +1220,12 @@ export declare const conversationStatsReportSchema: z.ZodObject<{
1152
1220
  requests: z.ZodNumber;
1153
1221
  }, z.core.$strict>;
1154
1222
  metricDays: z.ZodArray<z.ZodObject<{
1223
+ cachedInputTokens: z.ZodOptional<z.ZodNumber>;
1155
1224
  conversations: z.ZodNumber;
1156
1225
  costUsd: z.ZodOptional<z.ZodNumber>;
1157
1226
  date: z.ZodString;
1158
1227
  durationMs: z.ZodNumber;
1228
+ inputTokens: z.ZodOptional<z.ZodNumber>;
1159
1229
  tokens: z.ZodOptional<z.ZodNumber>;
1160
1230
  }, z.core.$strict>>;
1161
1231
  locations: z.ZodArray<z.ZodObject<{
@@ -1178,6 +1248,7 @@ export declare const conversationStatsReportSchema: z.ZodObject<{
1178
1248
  }, z.core.$strict>>;
1179
1249
  source: z.ZodLiteral<"conversation_index">;
1180
1250
  costUsd: z.ZodOptional<z.ZodNumber>;
1251
+ inputTokens: z.ZodOptional<z.ZodNumber>;
1181
1252
  tokens: z.ZodOptional<z.ZodNumber>;
1182
1253
  windowEnd: z.ZodString;
1183
1254
  windowStart: z.ZodString;
@@ -1208,3 +1279,6 @@ export type ArchiveConversationResponse = z.infer<typeof archiveConversationResp
1208
1279
  export type CreateConversationBody = z.infer<typeof createConversationBodySchema>;
1209
1280
  export type CreateConversationMessageBody = z.infer<typeof createConversationMessageBodySchema>;
1210
1281
  export type AcceptedConversationMessage = z.infer<typeof acceptedConversationMessageSchema>;
1282
+ export type ConversationPendingMessageDelivery = z.infer<typeof conversationPendingMessageDeliverySchema>;
1283
+ export type ConversationPendingMessage = z.infer<typeof conversationPendingMessageSchema>;
1284
+ export type ConversationPendingMessagesReport = z.infer<typeof conversationPendingMessagesReportSchema>;
@@ -1,7 +1,7 @@
1
1
  export { dailyConversationActivitySchema } from "./activity";
2
2
  export type { DailyConversationActivity } from "./activity";
3
- export { acceptedConversationMessageSchema, archiveConversationBodySchema, archiveConversationResponseSchema, conversationAuxiliaryCostsSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventPageSchema, conversationEventHistorySchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, createConversationBodySchema, createConversationMessageBodySchema, } from "./schema/conversation";
4
- export type { AcceptedConversationMessage, ArchiveConversationBody, ArchiveConversationResponse, ActorIdentity, ConversationAuxiliaryCosts, ConversationCost, ConversationDetailReport, ConversationEventPage, ConversationEventHistory, ConversationFeed, ConversationReportEvent, ConversationReportEventData, ConversationReportStatus, ConversationMetricDay, ConversationModelUsage, ConversationParams, ConversationSourceTask, ConversationStatsItem, ConversationStatsReport, ConversationSummaryReport, ConversationSurface, ConversationUsage, CreateConversationBody, CreateConversationMessageBody, GuardianMetricDay, GuardianStats, } from "./schema/conversation";
3
+ export { acceptedConversationMessageSchema, archiveConversationBodySchema, archiveConversationResponseSchema, conversationAuxiliaryCostsSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventPageSchema, conversationEventHistorySchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, createConversationBodySchema, createConversationMessageBodySchema, } from "./schema/conversation";
4
+ export type { AcceptedConversationMessage, ArchiveConversationBody, ArchiveConversationResponse, 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";
5
5
  export { actorDirectoryReportSchema, actorProfileReportSchema, personalSpendReportSchema, personParamsSchema, } from "./schema/person";
6
6
  export { locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, } from "./schema/location";
7
7
  export type { LocationActorSummaryReport, LocationActivityDayReport, LocationDetailReport, LocationDirectoryReport, LocationSummaryReport, LocationParams, } from "./schema/location";
@@ -14,6 +14,9 @@ import {
14
14
  conversationFeedQuerySchema,
15
15
  conversationFeedSchema,
16
16
  conversationParamsSchema,
17
+ conversationPendingMessageDeliverySchema,
18
+ conversationPendingMessageSchema,
19
+ conversationPendingMessagesReportSchema,
17
20
  conversationReportEventDataSchema,
18
21
  conversationReportEventSchema,
19
22
  conversationStatsReportSchema,
@@ -46,7 +49,7 @@ import {
46
49
  taskRunListSchema,
47
50
  taskRunSchema,
48
51
  taskSummarySchema
49
- } from "../chunk-45LOR4PU.js";
52
+ } from "../chunk-3JVUWLR7.js";
50
53
  import {
51
54
  healthReportSchema,
52
55
  pluginOperationalReportFeedSchema,
@@ -78,6 +81,9 @@ export {
78
81
  conversationFeedQuerySchema,
79
82
  conversationFeedSchema,
80
83
  conversationParamsSchema,
84
+ conversationPendingMessageDeliverySchema,
85
+ conversationPendingMessageSchema,
86
+ conversationPendingMessagesReportSchema,
81
87
  conversationReportEventDataSchema,
82
88
  conversationReportEventSchema,
83
89
  conversationStatsReportSchema,
package/dist/api.d.ts CHANGED
@@ -2,7 +2,7 @@ import { Hono } from "hono";
2
2
  import { jsonResponse } from "./api/http";
3
3
  import type { JuniorApiEnv, JuniorApiVariables } from "./api/route";
4
4
  export { authenticatePersonalToken } from "./personal-tokens/store";
5
- export { resolveViewerUser } from "./chat/plugins/viewer";
5
+ export { resolveViewerUser, updateViewerDisplayName, } from "./chat/plugins/viewer";
6
6
  export type { JuniorApiVariables };
7
7
  export { jsonResponse };
8
8
  /** Create Junior's production REST API for authenticated dashboard consumers. */