@sentry/junior 0.268.0 → 0.269.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/README.md +2 -9
- package/dist/{adapter-04AcD2SO.js → adapter-2-CG25be.js} +3 -49
- package/dist/{admin-DIU1QyG3.js → admin-DSs8S5Uy.js} +1 -1
- package/dist/{agent-runner-CAYfFmU7.js → agent-runner-CrDrPUtY.js} +3208 -2826
- package/dist/api/schema.d.ts +2 -3
- package/dist/api/schema.js +7 -7
- package/dist/api.d.ts +3 -1
- package/dist/api.js +157 -298
- package/dist/{app-z6Uuyq3j.d.ts → app-BrMMzjYm.d.ts} +8 -2
- package/dist/app.d.ts +1 -1
- package/dist/app.js +121 -207
- package/dist/{automation-CmeFBSEh.js → automation-p87hg_AV.js} +74 -74
- package/dist/{briefs-DQbV2jNr.js → briefs-PtODdLNu.js} +4 -4
- package/dist/{catalog-runtime-BD9GSpc6.js → catalog-runtime-BsoSmTM0.js} +1 -1
- package/dist/cli/chat.js +16 -26
- package/dist/cli/check.js +3 -3
- package/dist/cli/main.js +5 -3
- package/dist/cli/plugins.js +4 -4
- package/dist/cli/snapshot-create.js +4 -4
- package/dist/cli/upgrade.d.ts +1 -1
- package/dist/cli/upgrade.js +3 -3
- package/dist/{client-C1yDYjoS.js → client-Cqf4TboL.js} +20 -15
- package/dist/{config-DrTeF80T.js → config-CPsE4T5L.js} +2 -2
- package/dist/{connections-D46f8vvi.js → connections-upFXLmhG.js} +10 -10
- package/dist/{conversation-DSo310Ps.js → conversation-CTpD_PGk.js} +7 -84
- package/dist/{conversation-privacy-CxlOCiUo.js → conversation-privacy-D6zJc8ff.js} +1 -1
- package/dist/{credential-sync-sm9fegLY.js → credential-sync-CS_6IC-f.js} +15 -14
- package/dist/{credentialed-lukuD-cc.js → credentialed-BU-OW7HP.js} +548 -71
- package/dist/{store-xMuuXRE0.d.ts → db-BzOCzVb1.d.ts} +4 -0
- package/dist/{executor-4vhvsMZJ.js → executor-CNS7ONt-.js} +6 -6
- package/dist/instrumentation.js +2 -2
- package/dist/{interruption-marker-CkncDT8d.js → interruption-marker-g6Xup3Fk.js} +1 -1
- package/dist/{job-queue-In9QKz-I.js → job-queue-DI-k-Bbk.js} +2 -2
- package/dist/{list-BkgnXEEB.js → list-CGoQdXTp.js} +193 -656
- package/dist/locks-D-0h111u.js +48 -0
- package/dist/{logging-DLSpkSSr.js → logging-n7knse-O.js} +1 -1
- package/dist/{history-C84mlAwO.js → media-85PDJxO_.js} +83 -1
- package/dist/{message-BObyg59s.js → message-BpaWd8TT.js} +4 -4
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +3 -3
- package/dist/{oauth-callback-server-B-WbSdoH.js → oauth-callback-server-CpGmEw_i.js} +2 -2
- package/dist/{prompt-BW9jFsqZ.js → prompt-BlQB0QQt.js} +1 -1
- package/dist/{registry-BgecKva0.js → registry-By36_xsm.js} +1 -1
- package/dist/reporting-schema-CZREhYc-.js +104 -0
- package/dist/{web-message-id-DlHNANtd.js → reporting-window-CVarfId9.js} +130 -7
- package/dist/{resolve-Cpa4Bu1O.js → resolve-CUIBcdPd.js} +3 -3
- package/dist/{result-D3TSmZZ8.js → result-BemsOMOO.js} +30 -11
- package/dist/{runner-DS5OKhEp.js → runner-BVok7PAA.js} +12 -11
- package/dist/{sandbox-egress-signals-CnDjY5rx.js → sandbox-egress-signals-BSUWQI95.js} +1 -1
- package/dist/{schema-0050HFnB.js → schema-ChnFo5f2.js} +36 -20
- package/dist/{schema-ZngqcOWM.d.ts → schema-jK4-1u_H.d.ts} +126 -12
- package/dist/{service-account-CKV2WTY7.js → service-account-DHvlLnZw.js} +4 -3
- package/dist/{service-account-DGjnDw9y.js → service-account-hMmESDcr.js} +3 -3
- package/dist/{session-stop-Dam1EI7B.js → session-stop-BQW_iFcd.js} +15 -15
- package/dist/{skills-CfAnfImD.js → skills-DmJJIuLF.js} +2 -2
- package/dist/{spawn-cmq9p4Ly.js → spawn-ChCm46i-.js} +2 -2
- package/dist/{store-C5PN02QO.js → store-1DVhoKOL.js} +3 -3
- package/dist/{store-zPEoJPBB.js → store-DCo2n5iJ.js} +3 -3
- package/dist/{task-queue-_mf28dSu.js → task-queue-HMC4QjFm.js} +3 -3
- package/dist/task-runner-cA6yjn_E.js +269 -0
- package/dist/{thread-state-BbbPh0Sn.js → thread-state-CHy8LS0C.js} +5 -5
- package/dist/{turn-failure-response-BKKmnMB5.js → turn-failure-response-Dr7erLWs.js} +9 -9
- package/dist/{turn-lifecycle-oP0kVeGz.js → turn-lifecycle-bf2fIYi_.js} +1 -1
- package/dist/{tasks-SB9z-VTU.js → turn-session-routing-BqO0qXLk.js} +928 -116
- package/dist/{validation--JsAGLwc.js → validation-DHR1ivfh.js} +1 -1
- package/dist/{version-jHwJp4hC.js → version-CXCHLgWm.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-CpXTGlep.js → viewer-DSbD6DF6.js} +201 -27
- package/dist/{work-3N-GHY9m.js → work-BE_qTYGi.js} +17 -36
- package/dist/{worker-CCdbcItd.js → worker-Cm9_sWXg.js} +15 -7
- package/migrations/0069_system_identity.sql +25 -0
- package/migrations/0070_review_item_foreign_keys.sql +5 -0
- package/migrations/AGENTS.md +17 -0
- package/migrations/meta/0069_snapshot.json +3979 -0
- package/migrations/meta/0070_snapshot.json +3997 -0
- package/migrations/meta/_journal.json +15 -1
- package/package.json +4 -4
- package/dist/db-BU4LQD8s.d.ts +0 -6
- package/dist/history-BgI33Kie.d.ts +0 -78
- package/dist/reporting-window-DVCD_10C.js +0 -227
- package/dist/task-runner-DMI2prDO.js +0 -1073
- package/migrations/README.md +0 -30
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { r as AGENT_INVOCATION_STATUSES, u as juniorDestinationKindSchema } from "./agent-invocations-C1RNOCs8.js";
|
|
2
|
-
import { E as conversationSummaryReportSchema, F as conversationChildAgentTotalsSchema, O as conversationUsageSchema, l as conversationAuxiliaryCostsSchema, n as actorIdentitySchema } from "./conversation-
|
|
3
|
-
import { s as userInputRequestSchema } from "./
|
|
4
|
-
import "./automation-
|
|
5
|
-
import
|
|
2
|
+
import { E as conversationSummaryReportSchema, F as conversationChildAgentTotalsSchema, O as conversationUsageSchema, l as conversationAuxiliaryCostsSchema, n as actorIdentitySchema } from "./conversation-CTpD_PGk.js";
|
|
3
|
+
import { i as fillUtcHours, r as fillUtcDays, s as sumUtcHoursIntoSixHours, v as userInputRequestSchema } from "./reporting-window-CVarfId9.js";
|
|
4
|
+
import "./automation-p87hg_AV.js";
|
|
5
|
+
import "./reporting-schema-CZREhYc-.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import { codeChangeStateSchema, eventMatchSchema } from "@sentry/junior-plugin-api";
|
|
8
8
|
// src/api/schema/common.ts
|
|
@@ -362,6 +362,8 @@ const locationDetailReportSchema = locationSummaryReportSchema.extend({
|
|
|
362
362
|
}).strict();
|
|
363
363
|
// src/api/schema/person.ts
|
|
364
364
|
const personParamsSchema = z.object({ email: z.string().trim().min(1) }).strict();
|
|
365
|
+
/** Route parameters for the photo of one Identity. */
|
|
366
|
+
const avatarParamsSchema = z.object({ identityId: z.string().min(1).max(200) }).strict();
|
|
365
367
|
const peopleConversationStatsItemSchema = conversationStatsItemSchema.omit({ costUsd: true });
|
|
366
368
|
/** UTC day (`YYYY-MM-DD`) or hour (`YYYY-MM-DDTHH`) activity bucket key. */
|
|
367
369
|
const peopleMetricBucketSchema = z.string().regex(/^\d{4}-\d{2}-\d{2}(T\d{2})?$/);
|
|
@@ -514,24 +516,38 @@ const reviewItemSchema = z.object({
|
|
|
514
516
|
updatedAt: z.string().datetime(),
|
|
515
517
|
visibility: z.enum(["public", "private"])
|
|
516
518
|
}).strict();
|
|
517
|
-
/**
|
|
519
|
+
/**
|
|
520
|
+
* Review desk list filters. The list has the open items that the viewer can
|
|
521
|
+
* see, one page at a time. A search also finds done and dismissed items,
|
|
522
|
+
* after the open ones.
|
|
523
|
+
*/
|
|
518
524
|
const reviewItemListQuerySchema = z.object({
|
|
519
|
-
/** `true` lists done and dismissed items instead of open ones. */
|
|
520
|
-
archived: z.enum(["true", "false"]).optional(),
|
|
521
525
|
conversationId: z.string().min(1).optional(),
|
|
522
|
-
|
|
523
|
-
|
|
524
|
-
|
|
525
|
-
|
|
526
|
-
|
|
527
|
-
|
|
528
|
-
|
|
529
|
-
|
|
530
|
-
|
|
526
|
+
/** `nextCursor` of the page before. */
|
|
527
|
+
cursor: z.string().min(1).max(1e3).optional(),
|
|
528
|
+
/** The number of open items on one page. */
|
|
529
|
+
limit: z.coerce.number().int().min(1).max(100).default(50),
|
|
530
|
+
q: z.string().trim().max(200).optional()
|
|
531
|
+
}).strict();
|
|
532
|
+
/**
|
|
533
|
+
* One page of the review desk list. Open items come first, newest change
|
|
534
|
+
* first. The first page of a search also has the newest archived matches.
|
|
535
|
+
*/
|
|
536
|
+
const reviewItemListSchema = z.object({
|
|
537
|
+
items: z.array(reviewItemSchema),
|
|
538
|
+
/** Set when more archived items match than the list shows. */
|
|
539
|
+
moreArchived: z.boolean().optional(),
|
|
540
|
+
/** Set when more open items follow. Pass it as `cursor` to read them. */
|
|
541
|
+
nextCursor: z.string().min(1).optional()
|
|
542
|
+
}).strict();
|
|
543
|
+
/** The count of Review items for the nav. */
|
|
531
544
|
const reviewItemCountSchema = z.object({
|
|
532
|
-
/**
|
|
533
|
-
|
|
534
|
-
|
|
545
|
+
/**
|
|
546
|
+
* Open action items assigned to the viewer as a User
|
|
547
|
+
* (`reviewItemNeedsUser`). Notices and items for Everyone do not count.
|
|
548
|
+
*/
|
|
549
|
+
needsViewer: z.number().int().nonnegative() }).strict();
|
|
550
|
+
/** Conversations linked to an open action item assigned to the viewer. */
|
|
535
551
|
const reviewItemWaitingConversationsSchema = z.object({ conversationIds: z.array(z.string().min(1)) }).strict();
|
|
536
552
|
const reviewItemParamsSchema = z.object({ id: z.string().min(1) }).strict();
|
|
537
553
|
/** One person action on a Review item. */
|
|
@@ -603,4 +619,4 @@ const statsReportSchema = z.object({
|
|
|
603
619
|
windowEnd: z.string(),
|
|
604
620
|
windowStart: z.string()
|
|
605
621
|
}).strict();
|
|
606
|
-
export {
|
|
622
|
+
export { codeRepositorySummarySchema as $, avatarParamsSchema as A, dailyConversationActivitySchema as B, createdPersonalTokenSchema as C, revokePersonalTokenResponseSchema as D, personalTokenParamsSchema as E, locationDirectoryReportSchema as F, startConnectionResponseSchema as G, connectionParamsSchema as H, locationParamsSchema as I, codeChangeSummarySchema as J, codeActivityDaySchema as K, activityDays as L, personalSpendReportSchema as M, locationActivityDayReportSchema as N, actorDirectoryReportSchema as O, locationDetailReportSchema as P, codeRepositoryReportSchema as Q, activityHours as R, createPersonalTokenBodySchema as S, personalTokenMetadataSchema as T, connectionSchema as U, connectionListSchema as V, disconnectConnectionResponseSchema as W, codePersonReportSchema as X, codeOverviewReportSchema as Y, codeRepositoryParamsSchema as Z, disconnectServiceAccountResponseSchema as _, workspaceBodySchema as a, conversationStatsReportSchema as at, serviceAccountSchema as b, workspaceRepoSchema as c, reviewItemCountSchema as d, conversationWatchSchema as et, reviewItemListQuerySchema as f, reviewItemWaitingConversationsSchema as g, reviewItemSchema as h, deleteWorkspaceResponseSchema as i, stopConversationTurnResponseSchema as it, personParamsSchema as j, actorProfileReportSchema as k, workspaceSchema as l, reviewItemParamsSchema as m, statsReportSchema as n, conversationChildAgentSchema as nt, workspaceListSchema as o, apiErrorSchema as ot, reviewItemListSchema as p, codeChangeSummaryReportSchema as q, baselineSnapshotSchema as r, conversationChildAgentsReportSchema as rt, workspaceParamsSchema as s, statSchema as t, conversationWatchesReportSchema as tt, reviewItemActionSchema as u, serviceAccountListSchema as v, personalTokenListSchema as w, startServiceAccountSignInResponseSchema as x, serviceAccountParamsSchema as y, activitySixHours as z };
|
|
@@ -1,7 +1,29 @@
|
|
|
1
|
-
import { n as conversationTurnFailureReasonSchema, t as conversationTurnFailureCodeSchema } from "./history-BgI33Kie.js";
|
|
2
1
|
import { z } from "zod";
|
|
3
|
-
import { OwnedObjectAnnotation as OwnedObjectAnnotation$1 } from "@sentry/junior-plugin-api";
|
|
2
|
+
import { ConversationAnnotation, OwnedObjectAnnotation, OwnedObjectAnnotation as OwnedObjectAnnotation$1 } from "@sentry/junior-plugin-api";
|
|
4
3
|
declare const INPUT_IMAGE_TYPES: readonly ["image/png", "image/jpeg", "image/gif", "image/webp"];
|
|
4
|
+
/** Bound JSON image input below the hosting platform's request size limit. */
|
|
5
|
+
declare const MAX_INPUT_IMAGE_BYTES: number;
|
|
6
|
+
declare const MAX_INPUT_IMAGES = 3;
|
|
7
|
+
/** Image bytes accepted with a web message, never stored in its mailbox row. */
|
|
8
|
+
declare const inputImageSchema: z.ZodObject<{
|
|
9
|
+
filename: z.ZodString;
|
|
10
|
+
contentType: z.ZodEnum<{
|
|
11
|
+
"image/gif": "image/gif";
|
|
12
|
+
"image/jpeg": "image/jpeg";
|
|
13
|
+
"image/png": "image/png";
|
|
14
|
+
"image/webp": "image/webp";
|
|
15
|
+
}>;
|
|
16
|
+
data: z.ZodString;
|
|
17
|
+
}, z.core.$strict>;
|
|
18
|
+
type InputImage = z.output<typeof inputImageSchema>;
|
|
19
|
+
/** Safe attachment facts shared by mailbox input and transcript messages. */
|
|
20
|
+
declare const messageAttachmentSchema: z.ZodObject<{
|
|
21
|
+
id: z.ZodString;
|
|
22
|
+
filename: z.ZodString;
|
|
23
|
+
contentType: z.ZodString;
|
|
24
|
+
bytes: z.ZodNumber;
|
|
25
|
+
}, z.core.$strict>;
|
|
26
|
+
type MessageAttachment = z.output<typeof messageAttachmentSchema>;
|
|
5
27
|
/**
|
|
6
28
|
* Build the retry-stable Message id shared by web ingress and browser sends.
|
|
7
29
|
* Keep the existing hash and prefix so retries still address stored Messages.
|
|
@@ -89,12 +111,30 @@ declare function buttonUserInputField(request: UserInputRequest): Extract<UserIn
|
|
|
89
111
|
declare function normalizeUserInputAnswer(request: UserInputRequest, answer: UserInputAnswer): UserInputAnswer;
|
|
90
112
|
/** Return true when an answer has no value and no free text. */
|
|
91
113
|
declare function isEmptyUserInputAnswer(answer: UserInputAnswer): boolean;
|
|
92
|
-
/**
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
114
|
+
/** Saved automation facts shown with a Message, not a live status view. */
|
|
115
|
+
declare const automationCardSchema: z.ZodObject<{
|
|
116
|
+
kind: z.ZodLiteral<"automation">;
|
|
117
|
+
id: z.ZodString;
|
|
118
|
+
title: z.ZodString;
|
|
119
|
+
url: z.ZodNullable<z.ZodString>;
|
|
120
|
+
instruction: z.ZodString;
|
|
121
|
+
trigger: z.ZodString;
|
|
122
|
+
warning: z.ZodNullable<z.ZodString>;
|
|
123
|
+
}, z.core.$strict>;
|
|
124
|
+
type AutomationCard = z.output<typeof automationCardSchema>;
|
|
125
|
+
/** Facts for delivery and display. Messages store only references. */
|
|
126
|
+
type MessageCard = OwnedObjectAnnotation | AutomationCard;
|
|
127
|
+
/** Render each built-in card with its own text format. */
|
|
128
|
+
declare function messageCardText(card: MessageCard): string;
|
|
129
|
+
/** Store only the annotation identity with a Message. */
|
|
130
|
+
declare const messageCardRefSchema: z.ZodObject<{
|
|
131
|
+
plugin: z.ZodString;
|
|
132
|
+
key: z.ZodString;
|
|
133
|
+
kind: z.ZodLiteral<"object">;
|
|
134
|
+
}, z.core.$strict>;
|
|
135
|
+
type MessageCardRef = z.output<typeof messageCardRefSchema>;
|
|
136
|
+
/** Resolve current saved facts without fetching providers or changing history. */
|
|
137
|
+
declare function resolveMessageCards(refs: readonly MessageCardRef[], annotations: readonly ConversationAnnotation[]): OwnedObjectAnnotation[];
|
|
98
138
|
declare const dailyConversationActivitySchema: z.ZodObject<{
|
|
99
139
|
active: z.ZodNumber;
|
|
100
140
|
conversations: z.ZodNumber;
|
|
@@ -354,6 +394,34 @@ type CodeOverviewReport = z.infer<typeof codeOverviewReportSchema>;
|
|
|
354
394
|
type CodePersonReport = z.infer<typeof codePersonReportSchema>;
|
|
355
395
|
type CodeRepositoryReport = z.infer<typeof codeRepositoryReportSchema>;
|
|
356
396
|
type CodeRepositorySummary = z.infer<typeof codeRepositorySummarySchema>;
|
|
397
|
+
/** Where a failed turn stopped. */
|
|
398
|
+
declare const conversationTurnFailureCodeSchema: z.ZodEnum<{
|
|
399
|
+
agent_run_failed: "agent_run_failed";
|
|
400
|
+
delivery_failed: "delivery_failed";
|
|
401
|
+
model_execution_failed: "model_execution_failed";
|
|
402
|
+
persistence_failed: "persistence_failed";
|
|
403
|
+
}>;
|
|
404
|
+
/**
|
|
405
|
+
* Why a failed turn stopped.
|
|
406
|
+
* Values are fixed labels only. Do not store raw exception text.
|
|
407
|
+
*/
|
|
408
|
+
declare const conversationTurnFailureReasonSchema: z.ZodEnum<{
|
|
409
|
+
auth: "auth";
|
|
410
|
+
capacity: "capacity";
|
|
411
|
+
content_policy: "content_policy";
|
|
412
|
+
empty_output: "empty_output";
|
|
413
|
+
invalid_request: "invalid_request";
|
|
414
|
+
invalid_response: "invalid_response";
|
|
415
|
+
network: "network";
|
|
416
|
+
permission: "permission";
|
|
417
|
+
quota: "quota";
|
|
418
|
+
rate_limit: "rate_limit";
|
|
419
|
+
server: "server";
|
|
420
|
+
suppressed_output: "suppressed_output";
|
|
421
|
+
timeout: "timeout";
|
|
422
|
+
tool_errors: "tool_errors";
|
|
423
|
+
unknown: "unknown";
|
|
424
|
+
}>;
|
|
357
425
|
declare const conversationReportStatusSchema: z.ZodEnum<{
|
|
358
426
|
active: "active";
|
|
359
427
|
completed: "completed";
|
|
@@ -454,6 +522,7 @@ declare const acceptedConversationMessageSchema: z.ZodObject<{
|
|
|
454
522
|
}>;
|
|
455
523
|
}, z.core.$strict>;
|
|
456
524
|
declare const actorIdentitySchema: z.ZodObject<{
|
|
525
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
457
526
|
email: z.ZodOptional<z.ZodString>;
|
|
458
527
|
fullName: z.ZodOptional<z.ZodString>;
|
|
459
528
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -467,6 +536,7 @@ declare const conversationPendingMessageDeliverySchema: z.ZodEnum<{
|
|
|
467
536
|
/** One accepted mailbox message that has not reached durable history yet. */
|
|
468
537
|
declare const conversationPendingMessageSchema: z.ZodObject<{
|
|
469
538
|
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
539
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
470
540
|
email: z.ZodOptional<z.ZodString>;
|
|
471
541
|
fullName: z.ZodOptional<z.ZodString>;
|
|
472
542
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -511,6 +581,7 @@ declare const conversationPendingMessagesReportSchema: z.ZodObject<{
|
|
|
511
581
|
generatedAt: z.ZodString;
|
|
512
582
|
messages: z.ZodArray<z.ZodObject<{
|
|
513
583
|
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
584
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
514
585
|
email: z.ZodOptional<z.ZodString>;
|
|
515
586
|
fullName: z.ZodOptional<z.ZodString>;
|
|
516
587
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -588,6 +659,7 @@ declare const conversationSourceTaskSchema: z.ZodObject<{
|
|
|
588
659
|
declare const conversationActivityPreviewSchema: z.ZodObject<{
|
|
589
660
|
createdAt: z.ZodString;
|
|
590
661
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
662
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
591
663
|
email: z.ZodOptional<z.ZodString>;
|
|
592
664
|
fullName: z.ZodOptional<z.ZodString>;
|
|
593
665
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -604,6 +676,7 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
604
676
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
605
677
|
createdAt: z.ZodString;
|
|
606
678
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
679
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
607
680
|
email: z.ZodOptional<z.ZodString>;
|
|
608
681
|
fullName: z.ZodOptional<z.ZodString>;
|
|
609
682
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -681,12 +754,14 @@ declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
681
754
|
slack: "slack";
|
|
682
755
|
}>;
|
|
683
756
|
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
757
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
684
758
|
email: z.ZodOptional<z.ZodString>;
|
|
685
759
|
fullName: z.ZodOptional<z.ZodString>;
|
|
686
760
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
687
761
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
688
762
|
}, z.core.$strict>>;
|
|
689
763
|
participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
764
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
690
765
|
email: z.ZodOptional<z.ZodString>;
|
|
691
766
|
fullName: z.ZodOptional<z.ZodString>;
|
|
692
767
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -839,6 +914,7 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
839
914
|
web: "web";
|
|
840
915
|
}>>;
|
|
841
916
|
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
917
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
842
918
|
email: z.ZodOptional<z.ZodString>;
|
|
843
919
|
fullName: z.ZodOptional<z.ZodString>;
|
|
844
920
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -1094,6 +1170,7 @@ declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1094
1170
|
web: "web";
|
|
1095
1171
|
}>>;
|
|
1096
1172
|
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
1173
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
1097
1174
|
email: z.ZodOptional<z.ZodString>;
|
|
1098
1175
|
fullName: z.ZodOptional<z.ZodString>;
|
|
1099
1176
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -1333,6 +1410,7 @@ declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1333
1410
|
}>;
|
|
1334
1411
|
}, z.core.$strict>], "type">;
|
|
1335
1412
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1413
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
1336
1414
|
email: z.ZodOptional<z.ZodString>;
|
|
1337
1415
|
fullName: z.ZodOptional<z.ZodString>;
|
|
1338
1416
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -1410,6 +1488,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1410
1488
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
1411
1489
|
createdAt: z.ZodString;
|
|
1412
1490
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1491
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
1413
1492
|
email: z.ZodOptional<z.ZodString>;
|
|
1414
1493
|
fullName: z.ZodOptional<z.ZodString>;
|
|
1415
1494
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -1487,12 +1566,14 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1487
1566
|
slack: "slack";
|
|
1488
1567
|
}>;
|
|
1489
1568
|
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
1569
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
1490
1570
|
email: z.ZodOptional<z.ZodString>;
|
|
1491
1571
|
fullName: z.ZodOptional<z.ZodString>;
|
|
1492
1572
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1493
1573
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1494
1574
|
}, z.core.$strict>>;
|
|
1495
1575
|
participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1576
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
1496
1577
|
email: z.ZodOptional<z.ZodString>;
|
|
1497
1578
|
fullName: z.ZodOptional<z.ZodString>;
|
|
1498
1579
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -1699,6 +1780,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1699
1780
|
keywords: z.ZodArray<z.ZodString>;
|
|
1700
1781
|
}, z.core.$strict>;
|
|
1701
1782
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
1783
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
1702
1784
|
email: z.ZodOptional<z.ZodString>;
|
|
1703
1785
|
fullName: z.ZodOptional<z.ZodString>;
|
|
1704
1786
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -1741,6 +1823,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1741
1823
|
web: "web";
|
|
1742
1824
|
}>>;
|
|
1743
1825
|
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
1826
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
1744
1827
|
email: z.ZodOptional<z.ZodString>;
|
|
1745
1828
|
fullName: z.ZodOptional<z.ZodString>;
|
|
1746
1829
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -1980,6 +2063,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1980
2063
|
}>;
|
|
1981
2064
|
}, z.core.$strict>], "type">;
|
|
1982
2065
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2066
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
1983
2067
|
email: z.ZodOptional<z.ZodString>;
|
|
1984
2068
|
fullName: z.ZodOptional<z.ZodString>;
|
|
1985
2069
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -2057,6 +2141,7 @@ declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
2057
2141
|
web: "web";
|
|
2058
2142
|
}>>;
|
|
2059
2143
|
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
2144
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
2060
2145
|
email: z.ZodOptional<z.ZodString>;
|
|
2061
2146
|
fullName: z.ZodOptional<z.ZodString>;
|
|
2062
2147
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -2296,6 +2381,7 @@ declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
2296
2381
|
}>;
|
|
2297
2382
|
}, z.core.$strict>], "type">;
|
|
2298
2383
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2384
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
2299
2385
|
email: z.ZodOptional<z.ZodString>;
|
|
2300
2386
|
fullName: z.ZodOptional<z.ZodString>;
|
|
2301
2387
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -2345,6 +2431,7 @@ declare const conversationFeedSchema: z.ZodObject<{
|
|
|
2345
2431
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
2346
2432
|
createdAt: z.ZodString;
|
|
2347
2433
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2434
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
2348
2435
|
email: z.ZodOptional<z.ZodString>;
|
|
2349
2436
|
fullName: z.ZodOptional<z.ZodString>;
|
|
2350
2437
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -2422,12 +2509,14 @@ declare const conversationFeedSchema: z.ZodObject<{
|
|
|
2422
2509
|
slack: "slack";
|
|
2423
2510
|
}>;
|
|
2424
2511
|
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
2512
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
2425
2513
|
email: z.ZodOptional<z.ZodString>;
|
|
2426
2514
|
fullName: z.ZodOptional<z.ZodString>;
|
|
2427
2515
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
2428
2516
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
2429
2517
|
}, z.core.$strict>>;
|
|
2430
2518
|
participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
2519
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
2431
2520
|
email: z.ZodOptional<z.ZodString>;
|
|
2432
2521
|
fullName: z.ZodOptional<z.ZodString>;
|
|
2433
2522
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -3019,6 +3108,7 @@ declare const actorSummaryReportSchema: z.ZodObject<{
|
|
|
3019
3108
|
firstSeenAt: z.ZodString;
|
|
3020
3109
|
lastSeenAt: z.ZodString;
|
|
3021
3110
|
actor: z.ZodObject<{
|
|
3111
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
3022
3112
|
fullName: z.ZodOptional<z.ZodString>;
|
|
3023
3113
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
3024
3114
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
@@ -3078,6 +3168,7 @@ declare const actorDirectoryReportSchema: z.ZodObject<{
|
|
|
3078
3168
|
firstSeenAt: z.ZodString;
|
|
3079
3169
|
lastSeenAt: z.ZodString;
|
|
3080
3170
|
actor: z.ZodObject<{
|
|
3171
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
3081
3172
|
fullName: z.ZodOptional<z.ZodString>;
|
|
3082
3173
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
3083
3174
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
@@ -3156,6 +3247,7 @@ declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
3156
3247
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
3157
3248
|
createdAt: z.ZodString;
|
|
3158
3249
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3250
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
3159
3251
|
email: z.ZodOptional<z.ZodString>;
|
|
3160
3252
|
fullName: z.ZodOptional<z.ZodString>;
|
|
3161
3253
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -3233,12 +3325,14 @@ declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
3233
3325
|
slack: "slack";
|
|
3234
3326
|
}>;
|
|
3235
3327
|
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
3328
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
3236
3329
|
email: z.ZodOptional<z.ZodString>;
|
|
3237
3330
|
fullName: z.ZodOptional<z.ZodString>;
|
|
3238
3331
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
3239
3332
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
3240
3333
|
}, z.core.$strict>>;
|
|
3241
3334
|
participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3335
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
3242
3336
|
email: z.ZodOptional<z.ZodString>;
|
|
3243
3337
|
fullName: z.ZodOptional<z.ZodString>;
|
|
3244
3338
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -3364,6 +3458,7 @@ declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
3364
3458
|
unfinishedWork: z.ZodOptional<z.ZodBoolean>;
|
|
3365
3459
|
}, z.core.$strict>>;
|
|
3366
3460
|
actor: z.ZodObject<{
|
|
3461
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
3367
3462
|
fullName: z.ZodOptional<z.ZodString>;
|
|
3368
3463
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
3369
3464
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
@@ -3442,6 +3537,7 @@ declare const locationActorSummaryReportSchema: z.ZodObject<{
|
|
|
3442
3537
|
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
3443
3538
|
tokens: z.ZodOptional<z.ZodNumber>;
|
|
3444
3539
|
actor: z.ZodObject<{
|
|
3540
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
3445
3541
|
email: z.ZodOptional<z.ZodString>;
|
|
3446
3542
|
fullName: z.ZodOptional<z.ZodString>;
|
|
3447
3543
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -3561,6 +3657,7 @@ declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3561
3657
|
costUsd: z.ZodOptional<z.ZodNumber>;
|
|
3562
3658
|
tokens: z.ZodOptional<z.ZodNumber>;
|
|
3563
3659
|
actor: z.ZodObject<{
|
|
3660
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
3564
3661
|
email: z.ZodOptional<z.ZodString>;
|
|
3565
3662
|
fullName: z.ZodOptional<z.ZodString>;
|
|
3566
3663
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -3573,6 +3670,7 @@ declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3573
3670
|
activityPreview: z.ZodOptional<z.ZodObject<{
|
|
3574
3671
|
createdAt: z.ZodString;
|
|
3575
3672
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3673
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
3576
3674
|
email: z.ZodOptional<z.ZodString>;
|
|
3577
3675
|
fullName: z.ZodOptional<z.ZodString>;
|
|
3578
3676
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -3650,12 +3748,14 @@ declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3650
3748
|
slack: "slack";
|
|
3651
3749
|
}>;
|
|
3652
3750
|
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
3751
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
3653
3752
|
email: z.ZodOptional<z.ZodString>;
|
|
3654
3753
|
fullName: z.ZodOptional<z.ZodString>;
|
|
3655
3754
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
3656
3755
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
3657
3756
|
}, z.core.$strict>>;
|
|
3658
3757
|
participants: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3758
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
3659
3759
|
email: z.ZodOptional<z.ZodString>;
|
|
3660
3760
|
fullName: z.ZodOptional<z.ZodString>;
|
|
3661
3761
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -4005,6 +4105,7 @@ declare const scheduledAutomationSummarySchema: z.ZodObject<{
|
|
|
4005
4105
|
id: z.ZodString;
|
|
4006
4106
|
instruction: z.ZodString;
|
|
4007
4107
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4108
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
4008
4109
|
email: z.ZodOptional<z.ZodString>;
|
|
4009
4110
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4010
4111
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -4074,6 +4175,7 @@ declare const eventAutomationSummarySchema: z.ZodObject<{
|
|
|
4074
4175
|
id: z.ZodString;
|
|
4075
4176
|
instruction: z.ZodString;
|
|
4076
4177
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4178
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
4077
4179
|
email: z.ZodOptional<z.ZodString>;
|
|
4078
4180
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4079
4181
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -4146,6 +4248,7 @@ declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4146
4248
|
id: z.ZodString;
|
|
4147
4249
|
instruction: z.ZodString;
|
|
4148
4250
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4251
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
4149
4252
|
email: z.ZodOptional<z.ZodString>;
|
|
4150
4253
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4151
4254
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -4214,6 +4317,7 @@ declare const automationSummarySchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
4214
4317
|
id: z.ZodString;
|
|
4215
4318
|
instruction: z.ZodString;
|
|
4216
4319
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4320
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
4217
4321
|
email: z.ZodOptional<z.ZodString>;
|
|
4218
4322
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4219
4323
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -4343,6 +4447,7 @@ declare const automationListSchema: z.ZodObject<{
|
|
|
4343
4447
|
id: z.ZodString;
|
|
4344
4448
|
instruction: z.ZodString;
|
|
4345
4449
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4450
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
4346
4451
|
email: z.ZodOptional<z.ZodString>;
|
|
4347
4452
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4348
4453
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -4411,6 +4516,7 @@ declare const automationListSchema: z.ZodObject<{
|
|
|
4411
4516
|
id: z.ZodString;
|
|
4412
4517
|
instruction: z.ZodString;
|
|
4413
4518
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4519
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
4414
4520
|
email: z.ZodOptional<z.ZodString>;
|
|
4415
4521
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4416
4522
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -4579,6 +4685,7 @@ declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
4579
4685
|
id: z.ZodString;
|
|
4580
4686
|
instruction: z.ZodString;
|
|
4581
4687
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4688
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
4582
4689
|
email: z.ZodOptional<z.ZodString>;
|
|
4583
4690
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4584
4691
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -4647,6 +4754,7 @@ declare const automationExecutionListSchema: z.ZodObject<{
|
|
|
4647
4754
|
id: z.ZodString;
|
|
4648
4755
|
instruction: z.ZodString;
|
|
4649
4756
|
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
4757
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
4650
4758
|
email: z.ZodOptional<z.ZodString>;
|
|
4651
4759
|
fullName: z.ZodOptional<z.ZodString>;
|
|
4652
4760
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
@@ -5710,6 +5818,10 @@ declare const reviewItemSchema: z.ZodObject<{
|
|
|
5710
5818
|
}>;
|
|
5711
5819
|
}, z.core.$strict>;
|
|
5712
5820
|
type ReviewItemPayload = z.output<typeof reviewItemSchema>;
|
|
5821
|
+
/**
|
|
5822
|
+
* One page of the review desk list. Open items come first, newest change
|
|
5823
|
+
* first. The first page of a search also has the newest archived matches.
|
|
5824
|
+
*/
|
|
5713
5825
|
declare const reviewItemListSchema: z.ZodObject<{
|
|
5714
5826
|
items: z.ZodArray<z.ZodObject<{
|
|
5715
5827
|
addedByConversationId: z.ZodString;
|
|
@@ -5786,12 +5898,14 @@ declare const reviewItemListSchema: z.ZodObject<{
|
|
|
5786
5898
|
public: "public";
|
|
5787
5899
|
}>;
|
|
5788
5900
|
}, z.core.$strict>>;
|
|
5901
|
+
moreArchived: z.ZodOptional<z.ZodBoolean>;
|
|
5902
|
+
nextCursor: z.ZodOptional<z.ZodString>;
|
|
5789
5903
|
}, z.core.$strict>;
|
|
5790
|
-
/**
|
|
5904
|
+
/** The count of Review items for the nav. */
|
|
5791
5905
|
declare const reviewItemCountSchema: z.ZodObject<{
|
|
5792
|
-
|
|
5906
|
+
needsViewer: z.ZodNumber;
|
|
5793
5907
|
}, z.core.$strict>;
|
|
5794
|
-
/** Conversations
|
|
5908
|
+
/** Conversations linked to an open action item assigned to the viewer. */
|
|
5795
5909
|
declare const reviewItemWaitingConversationsSchema: z.ZodObject<{
|
|
5796
5910
|
conversationIds: z.ZodArray<z.ZodString>;
|
|
5797
5911
|
}, z.core.$strict>;
|
|
@@ -5810,4 +5924,4 @@ declare const reviewItemActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
5810
5924
|
}, z.core.$strict>;
|
|
5811
5925
|
}, z.core.$strict>], "action">;
|
|
5812
5926
|
type ReviewItemActionBody = z.output<typeof reviewItemActionSchema>;
|
|
5813
|
-
export { automationExecutionStatusDaySchema as $, ConversationReportEvent as $n,
|
|
5927
|
+
export { automationExecutionStatusDaySchema as $, ConversationReportEvent as $n, codePersonReportSchema as $r, LocationSummaryReport as $t, StatsReport as A, ConversationStatsReport as An, conversationPendingMessageSchema as Ar, createPersonalTokenBodySchema as At, AutomationRun as B, ConversationActivityPreview as Bn, steerConversationPendingMessagesResponseSchema as Br, startServiceAccountSignInResponseSchema as Bt, pluginPackageContentReportSchema as C, ConversationChildAgentsReport as Cn, conversationEventPageSchema as Cr, workspaceListSchema as Ct, skillReportSchema as D, stopConversationTurnResponseSchema as Dn, conversationParamsSchema as Dr, USER_CUSTOMIZATION_MAX_CHARS as Dt, runtimeInfoReportSchema as E, StopConversationTurnResponse as En, conversationFeedSchema as Er, workspaceSchema as Et, AutomationExecutionDay as F, ActorIdentity as Fn, createConversationBodySchema as Fr, revokePersonalTokenResponseSchema as Ft, AutomationUpdate as G, ConversationEventHistory as Gn, CodeOverviewReport as Gr, startConnectionResponseSchema as Gt, AutomationRunWindows as H, ConversationAuxiliaryCosts as Hn, conversationTurnFailureReasonSchema as Hr, connectionParamsSchema as Ht, AutomationExecutionList as I, ArchiveConversationBody as In, createConversationMessageBodySchema as Ir, disconnectServiceAccountResponseSchema as It, automationEditErrorSchema as J, ConversationModelUsage as Jn, CodeRepositorySummary as Jr, LocationActivityDayReport as Jt, AutomationVersionList as K, ConversationEventPage as Kn, CodePersonReport as Kr, ApiError as Kt, AutomationExecutionStatusDay as L, ArchiveConversationResponse as Ln, forkConversationBodySchema as Lr, serviceAccountListSchema as Lt, statsReportSchema as M, GuardianStats as Mn, conversationReportEventDataSchema as Mr, personalTokenListSchema as Mt, AutomationEdit as N, conversationStatsReportSchema as Nn, conversationReportEventSchema as Nr, personalTokenMetadataSchema as Nt, skillReportsSchema as O, ConversationMetricDay as On, conversationPendingAuthorizationSchema as Or, userCustomizationSchema as Ot, AutomationExecution as P, AcceptedConversationMessage as Pn, conversationSummaryReportSchema as Pr, personalTokenParamsSchema as Pt, automationExecutionSchema as Q, ConversationPendingMessagesReport as Qn, codeOverviewReportSchema as Qr, LocationParams as Qt, AutomationList as R, CancelConversationPendingMessagesBody as Rn, forkConversationResponseSchema as Rr, serviceAccountParamsSchema as Rt, pluginPackageContentItemReportSchema as S, INPUT_IMAGE_TYPES as Si, ConversationChildAgent as Sn, conversationEventHistorySchema as Sr, workspaceBodySchema as St, pluginsSchema as T, conversationChildAgentsReportSchema as Tn, conversationFeedQuerySchema as Tr, workspaceRepoSchema as Tt, AutomationScheduleIntent as U, ConversationCost as Un, CodeActivityDay as Ur, connectionSchema as Ut, AutomationRunList as V, ConversationAgentTreeNode as Vn, conversationTurnFailureCodeSchema as Vr, connectionListSchema as Vt, AutomationSummary as W, ConversationDetailReport as Wn, CodeChangeSummaryReport as Wr, disconnectConnectionResponseSchema as Wt, automationEventCatalogSchema as X, ConversationPendingMessage as Xn, codeChangeSummaryReportSchema as Xr, LocationDetailReport as Xt, automationEditSchema as Y, ConversationParams as Yn, codeActivityDaySchema as Yr, LocationActorSummaryReport as Yt, automationExecutionListSchema as Z, ConversationPendingMessageDelivery as Zn, codeChangeSummarySchema as Zr, LocationDirectoryReport as Zt, SkillReport as _, webMessageId as _i, personalSpendReportSchema as _n, cancelConversationPendingMessagesResponseSchema as _r, BaselineSnapshotReport as _t, reviewItemCountSchema as a, DailyConversationActivity as ai, ActorDirectoryReport as an, ConversationSurface as ar, automationRunSchema as at, pluginOperationalReportFeedSchema as b, MAX_INPUT_IMAGE_BYTES as bi, conversationWatchSchema as bn, conversationDetailQuerySchema as br, baselineSnapshotSchema as bt, reviewItemWaitingConversationsSchema as c, messageCardText as ci, ActorSummaryReport as cn, ConversationUsage as cr, automationSchedulePreviewSchema as ct, PluginOperationalReport as d, UserInputAnswer as di, PeopleActivityDayReport as dn, SteerConversationPendingMessagesBody as dr, automationVersionActivateSchema as dt, codeRepositoryParamsSchema as ei, locationActivityDayReportSchema as en, ConversationReportEventData as er, automationExecutionStatusSchema as et, PluginOperationalReportFeed as f, UserInputField as fi, PersonParams as fn, SteerConversationPendingMessagesResponse as fr, automationVersionListSchema as ft, RuntimeInfoReport as g, normalizeUserInputAnswer as gi, personParamsSchema as gn, cancelConversationPendingMessagesBodySchema as gr, scheduledAutomationSummarySchema as gt, Plugins as h, isEmptyUserInputAnswer as hi, actorProfileReportSchema as hn, archiveConversationResponseSchema as hr, eventAutomationSummarySchema as ht, reviewItemActionSchema as i, conversationChildAgentTotalsSchema as ii, ActorActivityDayReport as in, ConversationSummaryReport as ir, automationRunListSchema as it, statSchema as j, GuardianMetricDay as jn, conversationPendingMessagesReportSchema as jr, createdPersonalTokenSchema as jt, StatReport as k, ConversationStatsItem as kn, conversationPendingMessageDeliverySchema as kr, PersonalTokenMetadata as kt, HealthReport as l, resolveMessageCards as li, ActorTotalsReport as ln, CreateConversationBody as lr, automationSummarySchema as lt, PluginPackageContentReport as m, buttonUserInputField as mi, actorDirectoryReportSchema as mn, archiveConversationBodySchema as mr, automationVersionSchema as mt, ReviewItemActionBody as n, codeRepositorySummarySchema as ni, locationDirectoryReportSchema as nn, ConversationReportStatus as nr, automationListSchema as nt, reviewItemListSchema as o, dailyConversationActivitySchema as oi, ActorDirectoryWindows as on, ConversationTurnFailureCode as or, automationRunWindowsSchema as ot, PluginPackageContentItemReport as p, UserInputRequest as pi, PersonalSpendReport as pn, acceptedConversationMessageSchema as pr, automationVersionParamsSchema as pt, ListedAutomationVersion as q, ConversationFeed as qn, CodeRepositoryReport as qr, apiErrorSchema as qt, ReviewItemPayload as r, ConversationChildAgentTotals as ri, locationParamsSchema as rn, ConversationSourceTask as rr, automationParamsSchema as rt, reviewItemSchema as s, MessageCard as si, ActorProfileReport as sn, ConversationTurnFailureReason as sr, automationScheduleIntentSchema as st, OwnedObjectAnnotation$1 as t, codeRepositoryReportSchema as ti, locationDetailReportSchema as tn, ConversationReportMessageEvent as tr, automationListQuerySchema as tt, Plugin as u, AutomationCard as ui, ActorWindowMetrics as un, CreateConversationMessageBody as ur, automationUpdateSchema as ut, SkillReports as v, InputImage as vi, ConversationWatch as vn, conversationActivityPreviewSchema as vr, WorkspaceListReport as vt, pluginSchema as w, conversationChildAgentSchema as wn, conversationEventsQuerySchema as wr, workspaceParamsSchema as wt, pluginOperationalReportSchema as x, MessageAttachment as xi, conversationWatchesReportSchema as xn, conversationDetailReportSchema as xr, deleteWorkspaceResponseSchema as xt, healthReportSchema as y, MAX_INPUT_IMAGES as yi, ConversationWatchesReport as yn, conversationAuxiliaryCostsSchema as yr, WorkspaceReport as yt, AutomationListQuery as z, CancelConversationPendingMessagesResponse as zn, steerConversationPendingMessagesBodySchema as zr, serviceAccountSchema as zt };
|
|
@@ -1,6 +1,7 @@
|
|
|
1
|
-
import { B as isRecord, b as setSpanAttributes, h as logWarn } from "./logging-
|
|
2
|
-
import { c as fetchWithBoundedOAuthErrorBodies, i as resolvePluginHeaderEnvRefs } from "./registry-
|
|
3
|
-
import { a as
|
|
1
|
+
import { B as isRecord, b as setSpanAttributes, h as logWarn } from "./logging-n7knse-O.js";
|
|
2
|
+
import { c as fetchWithBoundedOAuthErrorBodies, i as resolvePluginHeaderEnvRefs } from "./registry-By36_xsm.js";
|
|
3
|
+
import { a as withLock, i as fenceLock, n as MUTATION_LOCK_TTL_MS } from "./locks-D-0h111u.js";
|
|
4
|
+
import { r as getStateAdapter } from "./adapter-2-CG25be.js";
|
|
4
5
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
5
6
|
import { randomUUID } from "node:crypto";
|
|
6
7
|
import { UnauthorizedError, auth } from "@modelcontextprotocol/sdk/client/auth.js";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
2
|
-
import { t as disconnectStateAdapter } from "./adapter-
|
|
3
|
-
import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-
|
|
1
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-BsoSmTM0.js";
|
|
2
|
+
import { t as disconnectStateAdapter } from "./adapter-2-CG25be.js";
|
|
3
|
+
import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-DHvlLnZw.js";
|
|
4
4
|
import { CLI_USAGE } from "./cli/run.js";
|
|
5
5
|
import { createServer } from "node:http";
|
|
6
6
|
// src/cli/service-account.ts
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-nwUcYXjP.js";
|
|
2
|
-
import {
|
|
3
|
-
import { n as botConfig } from "./config-
|
|
4
|
-
import { h as logWarn, m as logInfo, p as logException } from "./logging-
|
|
5
|
-
import {
|
|
2
|
+
import { Er as normalizeToolNameFromResult, Sr as isAssistantMessage, Tr as isToolResultMessage, dt as CORE_EVENT_NAMESPACE, ht as eventGuidance, mt as eventCatalogEntry, wr as isToolResultError } from "./turn-session-routing-BqO0qXLk.js";
|
|
3
|
+
import { n as botConfig } from "./config-CPsE4T5L.js";
|
|
4
|
+
import { h as logWarn, m as logInfo, p as logException } from "./logging-n7knse-O.js";
|
|
5
|
+
import { C as getSqlExecutor, j as SYSTEM_IDENTITY_ID, x as getConversationStore } from "./viewer-DSbD6DF6.js";
|
|
6
6
|
import { s as juniorConversations } from "./agent-invocations-C1RNOCs8.js";
|
|
7
|
-
import "./executor-
|
|
8
|
-
import { h as credentialSubjectSchema } from "./registry-
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { r as EVENT_AUTHOR_ID } from "./prompt-
|
|
12
|
-
import { i as sanitizeAssistantText, t as getInterruptionMarker } from "./interruption-marker-
|
|
13
|
-
import { r as appendAndEnqueueInboundMessage } from "./store-
|
|
7
|
+
import "./executor-CNS7ONt-.js";
|
|
8
|
+
import { h as credentialSubjectSchema } from "./registry-By36_xsm.js";
|
|
9
|
+
import { Et as postSlackMessage, Hn as ToolInputError, In as JUNIOR_THREAD_STATE_TTL_MS, Ln as getDashboardConversationLink, Rn as getDashboardObjectIconLink, Sn as verifyTimerWatchCredentialSubject, gt as normalizeSlackReplyMarkdown, ht as formatSlackLink, l as getPluginSlackConversationLink, mt as escapeSlackMrkdwnText, p as getPlugins, vr as buildSentryConversationUrl } from "./credentialed-BU-OW7HP.js";
|
|
10
|
+
import { r as getStateAdapter } from "./adapter-2-CG25be.js";
|
|
11
|
+
import { r as EVENT_AUTHOR_ID } from "./prompt-BlQB0QQt.js";
|
|
12
|
+
import { i as sanitizeAssistantText, t as getInterruptionMarker } from "./interruption-marker-g6Xup3Fk.js";
|
|
13
|
+
import { r as appendAndEnqueueInboundMessage } from "./store-DCo2n5iJ.js";
|
|
14
14
|
import { z } from "zod";
|
|
15
15
|
import { eq, inArray } from "drizzle-orm";
|
|
16
16
|
import { eventMatchFieldsSchema, objectFactFields, objectPresentation, objectTypeSchema } from "@sentry/junior-plugin-api";
|
|
@@ -834,8 +834,7 @@ function doneByLine(doneBy, people) {
|
|
|
834
834
|
/**
|
|
835
835
|
* Render agent input for a task run.
|
|
836
836
|
*
|
|
837
|
-
*
|
|
838
|
-
* input. Empty optional fields are omitted.
|
|
837
|
+
* The job comes before Event data. Empty optional fields are omitted.
|
|
839
838
|
*/
|
|
840
839
|
function renderTaskInput(args) {
|
|
841
840
|
const instructions = args.instructions.trim();
|
|
@@ -876,7 +875,7 @@ function pushEventFacts(lines, event, people) {
|
|
|
876
875
|
* Render one task input for several Watch Events that arrived together.
|
|
877
876
|
*
|
|
878
877
|
* Each group states its instructions once, then lists its Events. Section
|
|
879
|
-
* rules match `renderTaskInput
|
|
878
|
+
* rules match `renderTaskInput`. The outcome rule appears once, at the end.
|
|
880
879
|
*/
|
|
881
880
|
function renderTaskBatchInput(args) {
|
|
882
881
|
const total = args.groups.reduce((count, group) => count + group.events.length, 0);
|
|
@@ -1020,7 +1019,7 @@ function slackChannelMessageEvents() {
|
|
|
1020
1019
|
} },
|
|
1021
1020
|
limits: { [CHANNEL_RESOURCE_TYPE]: {
|
|
1022
1021
|
watch: false,
|
|
1023
|
-
watchUnavailableMessage: "Slack channel messages can trigger only an event automation in that channel. Use
|
|
1022
|
+
watchUnavailableMessage: "Slack channel messages can trigger only an event automation in that channel. Use createAutomation with an event trigger."
|
|
1024
1023
|
} }
|
|
1025
1024
|
};
|
|
1026
1025
|
}
|
|
@@ -1305,6 +1304,7 @@ function createEventInboundMessage(input) {
|
|
|
1305
1304
|
input: {
|
|
1306
1305
|
text: input.text,
|
|
1307
1306
|
authorId: EVENT_AUTHOR_ID,
|
|
1307
|
+
authorIdentityId: SYSTEM_IDENTITY_ID,
|
|
1308
1308
|
metadata
|
|
1309
1309
|
}
|
|
1310
1310
|
};
|