@sentry/junior 0.279.0 → 0.281.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/{actor-B4DYygOB.js → actor-6jsm_v96.js} +1 -1
- package/dist/{adapter-phTTgw7H.js → adapter-RVQGEa98.js} +1 -1
- package/dist/{admin-PcpJDugZ.js → admin-DQpHx6Og.js} +1 -1
- package/dist/{agent-runner-DwvT1BY0.js → agent-runner-B229gXUY.js} +1002 -980
- package/dist/api/schema.d.ts +2 -2
- package/dist/api/schema.js +7 -7
- package/dist/api.d.ts +3 -3
- package/dist/api.js +188 -86
- package/dist/{app-DVs6noo7.d.ts → app-BQ9RZS43.d.ts} +4 -4
- package/dist/app.d.ts +1 -1
- package/dist/app.js +45 -38
- package/dist/{assistant-reply-BXfxczd7.js → assistant-reply-DQbtwc6j.js} +1 -1
- package/dist/{automation-BehArCcq.js → automation-sIsmIXH7.js} +2 -2
- package/dist/{background-compaction-queue-CcbuLJrZ.js → background-compaction-queue-oegyrxSe.js} +3 -3
- package/dist/{briefs-Dd_ezwED.js → briefs-BwzGWJgR.js} +5 -9
- package/dist/{catalog-runtime-BWVMeZhW.js → catalog-runtime-ClKzLvbN.js} +1 -1
- package/dist/cli/chat.js +15 -15
- package/dist/cli/check.js +3 -3
- package/dist/cli/main.js +3 -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-Bpxe4vKa.js → client-DkG0Tj53.js} +2 -2
- package/dist/{config-C_bmRhrJ.js → config-3AZ11aSM.js} +2 -2
- package/dist/{connections-B2rHe5W5.js → connections-C0ut_6RW.js} +11 -11
- package/dist/{conversation-CIiJtx5q.js → conversation-DNtcULyX.js} +45 -14
- package/dist/{conversation-pending-messages-CnBvE6-6.js → conversation-pending-messages-LlFnr9-m.js} +11 -3
- package/dist/{conversation-privacy-CzOfcz0U.js → conversation-privacy-DAgeBGLN.js} +1 -1
- package/dist/{credential-sync-Dal_unpv.js → credential-sync-Bg8NPuvj.js} +16 -16
- package/dist/{db-CyLrV9C7.d.ts → db-BCFM0CUX.d.ts} +2 -2
- package/dist/{executor-BfYH-Wws.js → executor-DLKnzP6S.js} +149 -6
- package/dist/instrumentation.js +2 -2
- package/dist/{logging-CkT3_Xxp.js → logging-DHzrobea.js} +1 -1
- package/dist/{media-DTAA8Qs_.js → media-Dq9_svfQ.js} +1 -1
- package/dist/{message-Q5dkgaJ5.js → message-LR8z5jXJ.js} +9 -9
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +3 -3
- package/dist/{oauth-callback-server-BDRaqe8O.js → oauth-callback-server-EWdpj0_y.js} +2 -2
- package/dist/{oauth-relay-D0G3T16m.js → oauth-relay-D6xxVywK.js} +1 -1
- package/dist/{projection-DWxX7pb1.js → projection-Bhz1tp0G.js} +194 -119
- package/dist/{prompt--dwus7Y-.js → prompt-DI6KCtwb.js} +6 -27
- package/dist/{queue-C37RbDVc.d.ts → queue-CZyYgPF0.d.ts} +1 -1
- package/dist/{registry-DnrdeO4s.js → registry-EjhulgQW.js} +3 -3
- package/dist/{reporting-window-DgHgwQB3.js → reporting-window-B-QP9zX1.js} +28 -2
- package/dist/{resolve-C_QXfqD_.js → resolve-Cw6OW4Fj.js} +4 -4
- package/dist/{result-DNmOxT-N.js → result-BoD0jevy.js} +11 -11
- package/dist/{runner-zd_noJ1l.js → runner-D22bsBDS.js} +11 -11
- package/dist/{sandbox-egress-signals-DQjv-nbG.js → sandbox-egress-signals-BG5GYacQ.js} +1 -1
- package/dist/{schema-CNJNzvr8.js → schema-BN34Jy-U.js} +30 -7
- package/dist/{schema-e90H5FIN.d.ts → schema-CsqJzkP5.d.ts} +95 -13
- package/dist/{service-account-CCH2Hv4h.js → service-account-Dd1nnAQZ.js} +3 -3
- package/dist/{service-account-BK26XlHo.js → service-account-xo-CeMqI.js} +3 -3
- package/dist/{session-stop-6Tf--T7G.js → session-stop-CHSYB2uw.js} +13 -14
- package/dist/{skills-BNrk8gi4.js → skills-BGJr6xtW.js} +3 -3
- package/dist/{spawn-C75hAB9l.js → spawn-Cl8WS7zi.js} +2 -2
- package/dist/{stop-RYbf7PWi.js → stop-C9lHWpvl.js} +332 -149
- package/dist/{store-G3h2djJU.js → store-C4z8gOgZ.js} +3 -3
- package/dist/{store-CO5vGjwD.js → store-DeTnwVJt.js} +6 -6
- package/dist/{task-queue-DlN58XeM.js → task-queue-BBos68l0.js} +4 -4
- package/dist/{task-runner-B-Bdm23d.js → task-runner-BSF9zO-H.js} +8 -8
- package/dist/{thread-state-Cj_7Slru.js → thread-state-DGq1o5JX.js} +4 -4
- package/dist/{turn-failure-response-CE7gaoC7.js → turn-failure-response--9bA4uLP.js} +8 -8
- package/dist/{turn-lifecycle-7sXwXLJ6.js → turn-lifecycle-t5fimxwQ.js} +1 -1
- package/dist/{turn-session-routing-FBdaH1zf.js → turn-session-routing-RBtUe-3y.js} +10 -11
- package/dist/{validation-DLWxEzWW.js → validation-DrR0leBT.js} +1 -1
- package/dist/{version-DtQ8WFIZ.js → version-D_HFt_Dq.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-vsM8_90o.js → viewer-DWlpSFdj.js} +9 -8
- package/dist/{work-DsoFRO_0.js → work-pPoqtRea.js} +12 -12
- package/dist/{worker-6kZEsCXs.js → worker-CoVKgJ-O.js} +6 -6
- package/package.json +5 -5
- package/dist/agent-invocations-CUg_SODU.js +0 -181
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { b as setSpanAttributes, h as logWarn, m as logInfo } from "./logging-
|
|
2
|
-
import { o as isUserActor, s as parseActorUserId } from "./actor-
|
|
1
|
+
import { b as setSpanAttributes, h as logWarn, m as logInfo } from "./logging-DHzrobea.js";
|
|
2
|
+
import { o as isUserActor, s as parseActorUserId } from "./actor-6jsm_v96.js";
|
|
3
3
|
import { n as normalizePluginPackageNames, o as pluginRoots, t as discoverInstalledPluginPackageContent } from "./package-discovery-DJhGdS4c.js";
|
|
4
4
|
import path from "node:path";
|
|
5
5
|
import { randomUUID } from "node:crypto";
|
|
6
|
-
import
|
|
6
|
+
import * as z from "zod";
|
|
7
7
|
import { parse } from "yaml";
|
|
8
8
|
import { readFileSync, readdirSync, statSync } from "node:fs";
|
|
9
9
|
// src/chat/plugins/inline-manifest-source.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as z from "zod";
|
|
2
2
|
// src/api/schema/user-customization.ts
|
|
3
3
|
/** Longest customization text one user can save. */
|
|
4
4
|
const USER_CUSTOMIZATION_MAX_CHARS = 1e3;
|
|
@@ -6,6 +6,32 @@ const USER_CUSTOMIZATION_MAX_CHARS = 1e3;
|
|
|
6
6
|
const userCustomizationTextSchema = z.string().trim().max(USER_CUSTOMIZATION_MAX_CHARS);
|
|
7
7
|
/** Request and response body for the viewer's customization. */
|
|
8
8
|
const userCustomizationSchema = z.object({ customization: userCustomizationTextSchema }).strict();
|
|
9
|
+
// src/chat/agent-invocations/statuses.ts
|
|
10
|
+
const AGENT_INVOCATION_STATUSES = [
|
|
11
|
+
"pending",
|
|
12
|
+
"running",
|
|
13
|
+
"paused",
|
|
14
|
+
"blocked",
|
|
15
|
+
"completed",
|
|
16
|
+
"failed",
|
|
17
|
+
"stopped"
|
|
18
|
+
];
|
|
19
|
+
const AGENT_INVOCATION_MAILBOX_STATUSES = ["pending", "appended"];
|
|
20
|
+
/**
|
|
21
|
+
* Parent mailbox append state. Only terminal invocations have a value.
|
|
22
|
+
* `replaced` means the child still had open work, so a later agent invocation
|
|
23
|
+
* on the same child sends the result instead. `skipped` means a stop ended
|
|
24
|
+
* the work, so the result is never used. `steered` means the agent invocation
|
|
25
|
+
* that was running read the input as a steering message, so its result covers
|
|
26
|
+
* this one.
|
|
27
|
+
*/
|
|
28
|
+
const AGENT_INVOCATION_PARENT_MAILBOX_STATUSES = [
|
|
29
|
+
"pending",
|
|
30
|
+
"appended",
|
|
31
|
+
"replaced",
|
|
32
|
+
"skipped",
|
|
33
|
+
"steered"
|
|
34
|
+
];
|
|
9
35
|
// src/chat/conversations/web-message-id.ts
|
|
10
36
|
/**
|
|
11
37
|
* Build the retry-stable Message id shared by web ingress and browser sends.
|
|
@@ -266,4 +292,4 @@ function sumUtcHoursIntoSixHours(args) {
|
|
|
266
292
|
rows: bySix
|
|
267
293
|
});
|
|
268
294
|
}
|
|
269
|
-
export {
|
|
295
|
+
export { AGENT_INVOCATION_STATUSES as C, userCustomizationTextSchema as E, AGENT_INVOCATION_PARENT_MAILBOX_STATUSES as S, userCustomizationSchema as T, isEmptyUserInputAnswer as _, fillUtcSixHours as a, webMessageId as b, trailingUtcDayWindow as c, utcDayKey as d, utcHourKey as f, formatUserInputAnswer as g, buttonUserInputField as h, fillUtcHours as i, trailingUtcHourWindow as l, USER_INPUT_NOTE as m, HOUR_MS as n, startOfUtcHour as o, USER_INPUT_LIMITS as p, fillUtcDays as r, sumUtcHoursIntoSixHours as s, DAY_MS as t, trailingUtcSixHourWindow as u, normalizeUserInputAnswer as v, USER_CUSTOMIZATION_MAX_CHARS as w, AGENT_INVOCATION_MAILBOX_STATUSES as x, userInputRequestSchema as y };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { Oa as runNonInteractiveCommand, Sa as SANDBOX_WORKSPACE_ROOT, _a as SANDBOX_COMMAND_PATH, ai as create, da as sleep, li as getSandboxProvider, si as isStale } from "./projection-
|
|
2
|
-
import { E as withSpan, b as setSpanAttributes } from "./logging-
|
|
3
|
-
import { r as getStateAdapter } from "./adapter-
|
|
4
|
-
import
|
|
1
|
+
import { Oa as runNonInteractiveCommand, Sa as SANDBOX_WORKSPACE_ROOT, _a as SANDBOX_COMMAND_PATH, ai as create, da as sleep, li as getSandboxProvider, si as isStale } from "./projection-Bhz1tp0G.js";
|
|
2
|
+
import { E as withSpan, b as setSpanAttributes } from "./logging-DHzrobea.js";
|
|
3
|
+
import { r as getStateAdapter } from "./adapter-RVQGEa98.js";
|
|
4
|
+
import * as z from "zod";
|
|
5
5
|
// src/chat/sandbox/resources.ts
|
|
6
6
|
let configuredResources;
|
|
7
7
|
function resourcesFromEnv() {
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
import { v as __exportAll } from "./sentry-BRTJqumy.js";
|
|
2
|
-
import { nt as listTurnSummaries, tt as getTurnRecord } from "./projection-
|
|
3
|
-
import { t as createActor } from "./actor-
|
|
4
|
-
import { F as SYSTEM_IDENTITY_ID } from "./viewer-
|
|
5
|
-
import { f as credentialContextForActor } from "./registry-
|
|
6
|
-
import { wt as listUnreportedSiblingAgents } from "./agent-runner-
|
|
7
|
-
import { a as EVENT_SYSTEM_ACTOR, i as EVENT_MESSAGE_AUTHOR, o as isEventConversationMessage } from "./prompt
|
|
8
|
-
import { _ as getLatestAgentInvocationForConversation, c as getAgentInvocation, d as getAgentInvocationIdForResult, l as getAgentInvocationIdForEvents, o as createAgentInvocationFromLatest, p as getAgentInvocationResultMessageId, u as getAgentInvocationIdForMessage, w as markAgentInvocationParentMailboxAppended, y as isTerminalAgentInvocation } from "./store-
|
|
9
|
-
import { a as EVENT_WAIT_MS, c as isEventMailboxMetadata, l as renderEventBatchText, u as timerWatchCredentialSubject } from "./session-stop-
|
|
10
|
-
import { r as appendAndEnqueueInboundMessage } from "./store-
|
|
11
|
-
import { a as resolveAgentInvocationId, i as enqueueAgentInvocation, t as createAgentInvocationWorker } from "./work-
|
|
12
|
-
import
|
|
2
|
+
import { nt as listTurnSummaries, tt as getTurnRecord } from "./projection-Bhz1tp0G.js";
|
|
3
|
+
import { t as createActor } from "./actor-6jsm_v96.js";
|
|
4
|
+
import { F as SYSTEM_IDENTITY_ID } from "./viewer-DWlpSFdj.js";
|
|
5
|
+
import { f as credentialContextForActor } from "./registry-EjhulgQW.js";
|
|
6
|
+
import { wt as listUnreportedSiblingAgents } from "./agent-runner-B229gXUY.js";
|
|
7
|
+
import { a as EVENT_SYSTEM_ACTOR, i as EVENT_MESSAGE_AUTHOR, o as isEventConversationMessage } from "./prompt-DI6KCtwb.js";
|
|
8
|
+
import { _ as getLatestAgentInvocationForConversation, c as getAgentInvocation, d as getAgentInvocationIdForResult, l as getAgentInvocationIdForEvents, o as createAgentInvocationFromLatest, p as getAgentInvocationResultMessageId, u as getAgentInvocationIdForMessage, w as markAgentInvocationParentMailboxAppended, y as isTerminalAgentInvocation } from "./store-DeTnwVJt.js";
|
|
9
|
+
import { a as EVENT_WAIT_MS, c as isEventMailboxMetadata, l as renderEventBatchText, u as timerWatchCredentialSubject } from "./session-stop-CHSYB2uw.js";
|
|
10
|
+
import { r as appendAndEnqueueInboundMessage } from "./store-C4z8gOgZ.js";
|
|
11
|
+
import { a as resolveAgentInvocationId, i as enqueueAgentInvocation, t as createAgentInvocationWorker } from "./work-pPoqtRea.js";
|
|
12
|
+
import * as z from "zod";
|
|
13
13
|
import { createEventSource, createLocalSource, createWebSource } from "@sentry/junior-plugin-api";
|
|
14
14
|
// src/chat/conversations/web-mailbox.ts
|
|
15
15
|
/** Parse web mailbox metadata written before Source and Actor were complete. */
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import { B as authorizationId, D as buildConversationContext, I as upsertConversationMessage, M as markConversationMessage, N as normalizeConversationText, P as recordDeliveredAssistantMessage, Ut as persistWithRetry, Z as saveTurnCheckpoint, a as loadProjection, d as recordAuthorizationCompleted, t as commitAcceptedReply, v as hydrateConversationMessages, y as persistConversationMessages } from "./projection-
|
|
2
|
-
import { S as setTags, T as withLogContext, p as logException } from "./logging-
|
|
3
|
-
import { F as SYSTEM_IDENTITY_ID, x as getConversationStore, y as getConversationEventStore } from "./viewer-
|
|
4
|
-
import { f as credentialContextForActor } from "./registry-
|
|
5
|
-
import { j as messageCardText } from "./conversation-
|
|
6
|
-
import { $ as markTurnFailed, et as startActiveTurn } from "./store-
|
|
7
|
-
import { n as getAssistantReplyText } from "./assistant-reply-
|
|
8
|
-
import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-
|
|
9
|
-
import { a as persistThreadStateById, n as getPersistedSandboxState, o as coerceThreadConversationState, r as getPersistedThreadState } from "./thread-state-
|
|
10
|
-
import { n as scheduleSessionCompletedPluginTasks, t as processPluginTask } from "./task-runner-
|
|
11
|
-
import { i as completeAuthPauseTurn, l as buildDeliveredTurnStatePatch, t as finalizeFailedTurnReplyWithEvent, u as loadPendingMessageCards } from "./turn-failure-response
|
|
1
|
+
import { B as authorizationId, D as buildConversationContext, I as upsertConversationMessage, M as markConversationMessage, N as normalizeConversationText, P as recordDeliveredAssistantMessage, Ut as persistWithRetry, Z as saveTurnCheckpoint, a as loadProjection, d as recordAuthorizationCompleted, t as commitAcceptedReply, v as hydrateConversationMessages, y as persistConversationMessages } from "./projection-Bhz1tp0G.js";
|
|
2
|
+
import { S as setTags, T as withLogContext, p as logException } from "./logging-DHzrobea.js";
|
|
3
|
+
import { F as SYSTEM_IDENTITY_ID, x as getConversationStore, y as getConversationEventStore } from "./viewer-DWlpSFdj.js";
|
|
4
|
+
import { f as credentialContextForActor } from "./registry-EjhulgQW.js";
|
|
5
|
+
import { j as messageCardText } from "./conversation-DNtcULyX.js";
|
|
6
|
+
import { $ as markTurnFailed, et as startActiveTurn } from "./store-DeTnwVJt.js";
|
|
7
|
+
import { n as getAssistantReplyText } from "./assistant-reply-DQbtwc6j.js";
|
|
8
|
+
import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-t5fimxwQ.js";
|
|
9
|
+
import { a as persistThreadStateById, n as getPersistedSandboxState, o as coerceThreadConversationState, r as getPersistedThreadState } from "./thread-state-DGq1o5JX.js";
|
|
10
|
+
import { n as scheduleSessionCompletedPluginTasks, t as processPluginTask } from "./task-runner-BSF9zO-H.js";
|
|
11
|
+
import { i as completeAuthPauseTurn, l as buildDeliveredTurnStatePatch, t as finalizeFailedTurnReplyWithEvent, u as loadPendingMessageCards } from "./turn-failure-response--9bA4uLP.js";
|
|
12
12
|
import { randomUUID } from "node:crypto";
|
|
13
13
|
import { createLocalSource, localDestinationSchema } from "@sentry/junior-plugin-api";
|
|
14
14
|
// src/chat/local/runner.ts
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { oa as sandboxEgressSignalsResponseSchema } from "./projection-
|
|
1
|
+
import { oa as sandboxEgressSignalsResponseSchema } from "./projection-Bhz1tp0G.js";
|
|
2
2
|
// src/chat/local/sandbox-egress-signals.ts
|
|
3
3
|
const SANDBOX_EGRESS_SIGNALS_PATH = "/api/internal/sandbox-egress/signals";
|
|
4
4
|
const LOCAL_DEV_SERVER_TIMEOUT_MS = 1e3;
|
|
@@ -1,10 +1,24 @@
|
|
|
1
|
-
import { r as
|
|
2
|
-
import {
|
|
3
|
-
import
|
|
4
|
-
import "./
|
|
5
|
-
import "
|
|
6
|
-
import { z } from "zod";
|
|
1
|
+
import { E as conversationChildAgentTotalsSchema, o as conversationAuxiliaryCostsSchema, r as actorIdentitySchema, x as conversationUsageSchema, y as conversationSummaryReportSchema } from "./conversation-DNtcULyX.js";
|
|
2
|
+
import { C as AGENT_INVOCATION_STATUSES, i as fillUtcHours, r as fillUtcDays, s as sumUtcHoursIntoSixHours, y as userInputRequestSchema } from "./reporting-window-B-QP9zX1.js";
|
|
3
|
+
import "./automation-sIsmIXH7.js";
|
|
4
|
+
import "./conversation-pending-messages-LlFnr9-m.js";
|
|
5
|
+
import * as z from "zod";
|
|
7
6
|
import { codeChangeStateSchema, eventMatchSchema } from "@sentry/junior-plugin-api";
|
|
7
|
+
// src/api/schema/conversation-catch-up.ts
|
|
8
|
+
/**
|
|
9
|
+
* The unread rows to summarize: every event after `afterSeq`, through
|
|
10
|
+
* `throughSeq`. The dashboard sends the range from when the Conversation
|
|
11
|
+
* opened, so rows that arrive later do not change the summary.
|
|
12
|
+
*/
|
|
13
|
+
const conversationCatchUpBodySchema = z.object({
|
|
14
|
+
afterSeq: z.number().int().nonnegative(),
|
|
15
|
+
throughSeq: z.number().int().nonnegative()
|
|
16
|
+
}).strict().refine((range) => range.throughSeq > range.afterSeq, { message: "throughSeq must be after afterSeq." });
|
|
17
|
+
/** A short summary of the unread rows, and what waits on the reader. */
|
|
18
|
+
const conversationCatchUpSchema = z.object({
|
|
19
|
+
needsYou: z.string().min(1).optional(),
|
|
20
|
+
summary: z.string().min(1)
|
|
21
|
+
}).strict();
|
|
8
22
|
// src/api/schema/conversation-pin.ts
|
|
9
23
|
/** Pin or unpin one Conversation for the signed-in viewer. */
|
|
10
24
|
const pinConversationBodySchema = z.object({ pinned: z.boolean() }).strict();
|
|
@@ -333,6 +347,15 @@ function activitySixHours(hours, nowMs) {
|
|
|
333
347
|
nowMs
|
|
334
348
|
});
|
|
335
349
|
}
|
|
350
|
+
// src/db/schema/destination-kind.ts
|
|
351
|
+
const juniorDestinationKindSchema = z.enum([
|
|
352
|
+
"channel",
|
|
353
|
+
"dm",
|
|
354
|
+
"group",
|
|
355
|
+
"local_conversation",
|
|
356
|
+
"thread",
|
|
357
|
+
"web_session"
|
|
358
|
+
]);
|
|
336
359
|
// src/api/schema/location.ts
|
|
337
360
|
const locationParamsSchema = z.object({ locationId: z.string().min(1) }).strict();
|
|
338
361
|
const locationSummaryReportSchema = conversationStatsItemSchema.extend({
|
|
@@ -649,4 +672,4 @@ const statsReportSchema = z.object({
|
|
|
649
672
|
windowEnd: z.string(),
|
|
650
673
|
windowStart: z.string()
|
|
651
674
|
}).strict();
|
|
652
|
-
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, archiveDoneConversationsResponseSchema as ct, reviewItemCountSchema as d, pinConversationResponseSchema as dt, 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, conversationAutoArchiveSchema as lt, reviewItemParamsSchema as m, statsReportSchema as n, conversationChildAgentSchema as nt, workspaceListSchema as o, archiveConversationBodySchema as ot, reviewItemListSchema as p, codeChangeSummaryReportSchema as q, baselineSnapshotSchema as r, conversationChildAgentsReportSchema as rt, workspaceParamsSchema as s, archiveConversationResponseSchema as st, statSchema as t, conversationWatchesReportSchema as tt, reviewItemActionSchema as u, pinConversationBodySchema as ut, serviceAccountListSchema as v, personalTokenListSchema as w, startServiceAccountSignInResponseSchema as x, serviceAccountParamsSchema as y, activitySixHours as z };
|
|
675
|
+
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, archiveDoneConversationsResponseSchema as ct, reviewItemCountSchema as d, pinConversationResponseSchema as dt, conversationWatchSchema as et, reviewItemListQuerySchema as f, conversationCatchUpBodySchema as ft, reviewItemWaitingConversationsSchema as g, reviewItemSchema as h, deleteWorkspaceResponseSchema as i, stopConversationTurnResponseSchema as it, personParamsSchema as j, actorProfileReportSchema as k, workspaceSchema as l, conversationAutoArchiveSchema as lt, reviewItemParamsSchema as m, statsReportSchema as n, conversationChildAgentSchema as nt, workspaceListSchema as o, archiveConversationBodySchema as ot, reviewItemListSchema as p, conversationCatchUpSchema as pt, codeChangeSummaryReportSchema as q, baselineSnapshotSchema as r, conversationChildAgentsReportSchema as rt, workspaceParamsSchema as s, archiveConversationResponseSchema as st, statSchema as t, conversationWatchesReportSchema as tt, reviewItemActionSchema as u, pinConversationBodySchema as ut, serviceAccountListSchema as v, personalTokenListSchema as w, startServiceAccountSignInResponseSchema as x, serviceAccountParamsSchema as y, activitySixHours as z };
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import
|
|
1
|
+
import * as z from "zod";
|
|
2
2
|
import { ConversationAnnotation, OwnedObjectAnnotation, OwnedObjectAnnotation as OwnedObjectAnnotation$1 } from "@sentry/junior-plugin-api";
|
|
3
3
|
declare const INPUT_IMAGE_TYPES: readonly ["image/png", "image/jpeg", "image/gif", "image/webp"];
|
|
4
4
|
/** Bound JSON image input below the hosting platform's request size limit. */
|
|
@@ -472,13 +472,15 @@ declare const conversationParamsSchema: z.ZodObject<{
|
|
|
472
472
|
conversationId: z.ZodString;
|
|
473
473
|
}, z.core.$strict>;
|
|
474
474
|
declare const conversationDetailQuerySchema: z.ZodObject<{
|
|
475
|
-
limit: z.
|
|
475
|
+
limit: z.ZodOptional<z.ZodCoercedNumber<unknown>>;
|
|
476
476
|
unreadPage: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodBoolean>>;
|
|
477
477
|
mailbox: z.ZodOptional<z.ZodCodec<z.ZodString, z.ZodBoolean>>;
|
|
478
|
+
after: z.ZodOptional<z.ZodString>;
|
|
478
479
|
}, z.core.$strict>;
|
|
479
480
|
/**
|
|
480
481
|
* Page toward the start with `before`, toward the latest with `after`, or
|
|
481
|
-
* both ways from one event with `around`.
|
|
482
|
+
* both ways from one event with `around`. A link target asks for the page
|
|
483
|
+
* around one event by its `event` seq, or around the start of a `turn`.
|
|
482
484
|
*/
|
|
483
485
|
declare const conversationEventsQuerySchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
484
486
|
before: z.ZodString;
|
|
@@ -489,6 +491,12 @@ declare const conversationEventsQuerySchema: z.ZodUnion<readonly [z.ZodObject<{
|
|
|
489
491
|
}, z.core.$strict>, z.ZodObject<{
|
|
490
492
|
around: z.ZodString;
|
|
491
493
|
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
494
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
495
|
+
event: z.ZodCoercedNumber<unknown>;
|
|
496
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
497
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
498
|
+
turn: z.ZodString;
|
|
499
|
+
limit: z.ZodDefault<z.ZodCoercedNumber<unknown>>;
|
|
492
500
|
}, z.core.$strict>]>;
|
|
493
501
|
declare const conversationFeedQuerySchema: z.ZodObject<{
|
|
494
502
|
actorEmail: z.ZodOptional<z.ZodPipe<z.ZodString, z.ZodTransform<string, string>>>;
|
|
@@ -2248,10 +2256,6 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2248
2256
|
stated: "stated";
|
|
2249
2257
|
}>;
|
|
2250
2258
|
}, z.core.$strict>>;
|
|
2251
|
-
openDecisions: z.ZodArray<z.ZodObject<{
|
|
2252
|
-
text: z.ZodString;
|
|
2253
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
2254
|
-
}, z.core.$strict>>;
|
|
2255
2259
|
facts: z.ZodArray<z.ZodString>;
|
|
2256
2260
|
links: z.ZodArray<z.ZodObject<{
|
|
2257
2261
|
kind: z.ZodEnum<{
|
|
@@ -2575,6 +2579,8 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
2575
2579
|
}, z.core.$strict>>;
|
|
2576
2580
|
}, z.core.$strict>>;
|
|
2577
2581
|
}, z.core.$strict>>;
|
|
2582
|
+
appended: z.ZodOptional<z.ZodLiteral<true>>;
|
|
2583
|
+
appendCursor: z.ZodOptional<z.ZodString>;
|
|
2578
2584
|
eventHistory: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
2579
2585
|
status: z.ZodLiteral<"available">;
|
|
2580
2586
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3536,10 +3542,6 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3536
3542
|
stated: "stated";
|
|
3537
3543
|
}>;
|
|
3538
3544
|
}, z.core.$strict>>;
|
|
3539
|
-
openDecisions: z.ZodArray<z.ZodObject<{
|
|
3540
|
-
text: z.ZodString;
|
|
3541
|
-
owner: z.ZodOptional<z.ZodString>;
|
|
3542
|
-
}, z.core.$strict>>;
|
|
3543
3545
|
facts: z.ZodArray<z.ZodString>;
|
|
3544
3546
|
links: z.ZodArray<z.ZodObject<{
|
|
3545
3547
|
kind: z.ZodEnum<{
|
|
@@ -3863,6 +3865,8 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3863
3865
|
}, z.core.$strict>>;
|
|
3864
3866
|
}, z.core.$strict>>;
|
|
3865
3867
|
}, z.core.$strict>>;
|
|
3868
|
+
appended: z.ZodOptional<z.ZodLiteral<true>>;
|
|
3869
|
+
appendCursor: z.ZodOptional<z.ZodString>;
|
|
3866
3870
|
eventHistory: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
3867
3871
|
status: z.ZodLiteral<"available">;
|
|
3868
3872
|
}, z.core.$strict>, z.ZodObject<{
|
|
@@ -3947,6 +3951,68 @@ declare const conversationDetailWithMailboxReportSchema: z.ZodObject<{
|
|
|
3947
3951
|
}, z.core.$strict>>;
|
|
3948
3952
|
}, z.core.$strict>;
|
|
3949
3953
|
}, z.core.$strict>;
|
|
3954
|
+
/**
|
|
3955
|
+
* Answer to a `mailbox=true` poll whose detail version still matches. The
|
|
3956
|
+
* client keeps its cached detail and takes the new mailbox.
|
|
3957
|
+
*/
|
|
3958
|
+
declare const conversationUnchangedDetailWithMailboxSchema: z.ZodObject<{
|
|
3959
|
+
mailbox: z.ZodObject<{
|
|
3960
|
+
authorization: z.ZodOptional<z.ZodObject<{
|
|
3961
|
+
authorizationUrl: z.ZodString;
|
|
3962
|
+
completionText: z.ZodString;
|
|
3963
|
+
label: z.ZodString;
|
|
3964
|
+
}, z.core.$strict>>;
|
|
3965
|
+
conversationId: z.ZodString;
|
|
3966
|
+
generatedAt: z.ZodString;
|
|
3967
|
+
messages: z.ZodArray<z.ZodObject<{
|
|
3968
|
+
actorIdentity: z.ZodOptional<z.ZodObject<{
|
|
3969
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
3970
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3971
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
3972
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
3973
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
3974
|
+
}, z.core.$strict>>;
|
|
3975
|
+
actorIdentityId: z.ZodOptional<z.ZodString>;
|
|
3976
|
+
createdAt: z.ZodString;
|
|
3977
|
+
delivery: z.ZodEnum<{
|
|
3978
|
+
defer: "defer";
|
|
3979
|
+
interrupt: "interrupt";
|
|
3980
|
+
}>;
|
|
3981
|
+
inboundMessageId: z.ZodString;
|
|
3982
|
+
messageId: z.ZodString;
|
|
3983
|
+
receivedAt: z.ZodString;
|
|
3984
|
+
role: z.ZodLiteral<"user">;
|
|
3985
|
+
source: z.ZodEnum<{
|
|
3986
|
+
slack: "slack";
|
|
3987
|
+
web: "web";
|
|
3988
|
+
}>;
|
|
3989
|
+
text: z.ZodOptional<z.ZodString>;
|
|
3990
|
+
mentions: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3991
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
3992
|
+
email: z.ZodOptional<z.ZodString>;
|
|
3993
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
3994
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
3995
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
3996
|
+
}, z.core.$strict>>>;
|
|
3997
|
+
attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
|
|
3998
|
+
id: z.ZodString;
|
|
3999
|
+
filename: z.ZodString;
|
|
4000
|
+
contentType: z.ZodString;
|
|
4001
|
+
bytes: z.ZodNumber;
|
|
4002
|
+
}, z.core.$strict>>>;
|
|
4003
|
+
reviewItemChange: z.ZodOptional<z.ZodObject<{
|
|
4004
|
+
kind: z.ZodEnum<{
|
|
4005
|
+
dismissed: "dismissed";
|
|
4006
|
+
submitted: "submitted";
|
|
4007
|
+
taken: "taken";
|
|
4008
|
+
}>;
|
|
4009
|
+
reviewItemId: z.ZodString;
|
|
4010
|
+
}, z.core.$strict>>;
|
|
4011
|
+
redacted: z.ZodOptional<z.ZodLiteral<true>>;
|
|
4012
|
+
}, z.core.$strict>>;
|
|
4013
|
+
}, z.core.$strict>;
|
|
4014
|
+
unchanged: z.ZodLiteral<true>;
|
|
4015
|
+
}, z.core.$strict>;
|
|
3950
4016
|
/** Optional filters for cancelling accepted mailbox rows. */
|
|
3951
4017
|
declare const cancelConversationPendingMessagesBodySchema: z.ZodObject<{
|
|
3952
4018
|
inboundMessageIds: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
@@ -4174,12 +4240,28 @@ type StopConversationTurnResponse = z.infer<typeof stopConversationTurnResponseS
|
|
|
4174
4240
|
*
|
|
4175
4241
|
* `lastReadSeq` is the event sequence of the last transcript row the viewer
|
|
4176
4242
|
* saw. The server keeps the highest value it receives, so it only moves
|
|
4177
|
-
* forward.
|
|
4243
|
+
* forward. It is never before the viewer's own latest Message.
|
|
4178
4244
|
*/
|
|
4179
4245
|
declare const conversationReadPositionSchema: z.ZodObject<{
|
|
4180
4246
|
lastReadSeq: z.ZodNumber;
|
|
4181
4247
|
}, z.core.$strict>;
|
|
4182
4248
|
type ConversationReadPosition = z.infer<typeof conversationReadPositionSchema>;
|
|
4249
|
+
/**
|
|
4250
|
+
* The unread rows to summarize: every event after `afterSeq`, through
|
|
4251
|
+
* `throughSeq`. The dashboard sends the range from when the Conversation
|
|
4252
|
+
* opened, so rows that arrive later do not change the summary.
|
|
4253
|
+
*/
|
|
4254
|
+
declare const conversationCatchUpBodySchema: z.ZodObject<{
|
|
4255
|
+
afterSeq: z.ZodNumber;
|
|
4256
|
+
throughSeq: z.ZodNumber;
|
|
4257
|
+
}, z.core.$strict>;
|
|
4258
|
+
/** A short summary of the unread rows, and what waits on the reader. */
|
|
4259
|
+
declare const conversationCatchUpSchema: z.ZodObject<{
|
|
4260
|
+
needsYou: z.ZodOptional<z.ZodString>;
|
|
4261
|
+
summary: z.ZodString;
|
|
4262
|
+
}, z.core.$strict>;
|
|
4263
|
+
type ConversationCatchUpBody = z.infer<typeof conversationCatchUpBodySchema>;
|
|
4264
|
+
type ConversationCatchUp = z.infer<typeof conversationCatchUpSchema>;
|
|
4183
4265
|
/** Pin or unpin one Conversation for the signed-in viewer. */
|
|
4184
4266
|
declare const pinConversationBodySchema: z.ZodObject<{
|
|
4185
4267
|
pinned: z.ZodBoolean;
|
|
@@ -7292,4 +7374,4 @@ declare const reviewItemActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
|
7292
7374
|
}, z.core.$strict>;
|
|
7293
7375
|
}, z.core.$strict>], "action">;
|
|
7294
7376
|
type ReviewItemActionBody = z.output<typeof reviewItemActionSchema>;
|
|
7295
|
-
export { automationExecutionSchema as $,
|
|
7377
|
+
export { automationExecutionSchema as $, CancelConversationPendingMessagesResponse as $n, conversationSummaryReportSchema as $r, LocationParams as $t, StatReport as A, UserInputField as Ai, pinConversationResponseSchema as An, ConversationReportMessageEvent as Ar, PersonalTokenMetadata as At, AutomationListQuery as B, INPUT_IMAGE_TYPES as Bi, ConversationStatsItem as Bn, acceptedConversationMessageSchema as Br, serviceAccountSchema as Bt, pluginPackageContentItemReportSchema as C, dailyConversationActivitySchema as Ci, ConversationChildAgent as Cn, ConversationEventHistory as Cr, workspaceBodySchema as Ct, runtimeInfoReportSchema as D, AutomationCard as Di, PinConversationBody as Dn, ConversationParams as Dr, workspaceSchema as Dt, pluginsSchema as E, resolveMessageCards as Ei, conversationChildAgentsReportSchema as En, ConversationModelUsage as Er, workspaceRepoSchema as Et, AutomationExecution as F, webMessageId as Fi, ConversationReadPosition as Fn, ConversationTurnFailureCode as Fr, personalTokenParamsSchema as Ft, AutomationSummary as G, ArchiveConversationBody as Gn, conversationEventHistorySchema as Gr, disconnectConnectionResponseSchema as Gt, AutomationRunList as H, GuardianMetricDay as Hn, conversationAuxiliaryCostsSchema as Hr, connectionListSchema as Ht, AutomationExecutionDay as I, InputImage as Ii, conversationReadPositionSchema as In, ConversationTurnFailureReason as Ir, revokePersonalTokenResponseSchema as It, ListedAutomationVersion as J, archiveConversationBodySchema as Jn, conversationFeedQuerySchema as Jr, apiErrorSchema as Jt, AutomationUpdate as K, ArchiveConversationResponse as Kn, conversationEventPageSchema as Kr, startConnectionResponseSchema as Kt, AutomationExecutionList as L, MAX_INPUT_IMAGES as Li, StopConversationTurnResponse as Ln, ConversationUsage as Lr, disconnectServiceAccountResponseSchema as Lt, statSchema as M, buttonUserInputField as Mi, ConversationCatchUpBody as Mn, ConversationSourceTask as Mr, createdPersonalTokenSchema as Mt, statsReportSchema as N, isEmptyUserInputAnswer as Ni, conversationCatchUpBodySchema as Nn, ConversationSummaryReport as Nr, personalTokenListSchema as Nt, skillReportSchema as O, USER_INPUT_NOTE as Oi, PinConversationResponse as On, ConversationReportEvent as Or, USER_CUSTOMIZATION_MAX_CHARS as Ot, AutomationEdit as P, normalizeUserInputAnswer as Pi, conversationCatchUpSchema as Pn, ConversationSurface as Pr, personalTokenMetadataSchema as Pt, automationExecutionListSchema as Q, CancelConversationPendingMessagesBody as Qn, conversationReportEventSchema as Qr, LocationDirectoryReport as Qt, AutomationExecutionStatusDay as R, MAX_INPUT_IMAGE_BYTES as Ri, stopConversationTurnResponseSchema as Rn, CreateConversationBody as Rr, serviceAccountListSchema as Rt, pluginOperationalReportSchema as S, DailyConversationActivity as Si, conversationWatchesReportSchema as Sn, ConversationDetailReport as Sr, deleteWorkspaceResponseSchema as St, pluginSchema as T, messageCardText as Ti, conversationChildAgentSchema as Tn, ConversationFeed as Tr, workspaceParamsSchema as Tt, AutomationRunWindows as U, GuardianStats as Un, conversationDetailQuerySchema as Ur, connectionParamsSchema as Ut, AutomationRun as V, ConversationStatsReport as Vn, conversationActivityPreviewSchema as Vr, startServiceAccountSignInResponseSchema as Vt, AutomationScheduleIntent as W, conversationStatsReportSchema as Wn, conversationDetailReportSchema as Wr, connectionSchema as Wt, automationEditSchema as X, archiveDoneConversationsResponseSchema as Xn, conversationParamsSchema as Xr, LocationActorSummaryReport as Xt, automationEditErrorSchema as Y, archiveConversationResponseSchema as Yn, conversationFeedSchema as Yr, LocationActivityDayReport as Yt, automationEventCatalogSchema as Z, conversationAutoArchiveSchema as Zn, conversationReportEventDataSchema as Zr, LocationDetailReport as Zt, RuntimeInfoReport as _, codeRepositoryParamsSchema as _i, personParamsSchema as _n, CONVERSATION_DETAIL_VERSION_HEADER as _r, scheduledAutomationSummarySchema as _t, reviewItemCountSchema as a, conversationTurnFailureReasonSchema as ai, ActorActivityDayReport as an, cancelConversationPendingMessagesBodySchema as ar, automationRunListSchema as at, healthReportSchema as b, ConversationChildAgentTotals as bi, ConversationWatchesReport as bn, ConversationAuxiliaryCosts as br, WorkspaceReport as bt, reviewItemWaitingConversationsSchema as c, CodeOverviewReport as ci, ActorProfileReport as cn, conversationPendingAuthorizationSchema as cr, automationScheduleIntentSchema as ct, Plugin as d, CodeRepositorySummary as di, ActorWindowMetrics as dn, conversationPendingMessagesReportSchema as dr, automationUpdateSchema as dt, createConversationBodySchema as ei, LocationSummaryReport as en, ConversationPendingMessage as er, automationExecutionStatusDaySchema as et, PluginOperationalReport as f, codeActivityDaySchema as fi, PeopleActivityDayReport as fn, conversationUnchangedDetailWithMailboxSchema as fr, automationVersionActivateSchema as ft, Plugins as g, codePersonReportSchema as gi, actorProfileReportSchema as gn, ActorIdentity as gr, eventAutomationSummarySchema as gt, PluginPackageContentReport as h, codeOverviewReportSchema as hi, actorDirectoryReportSchema as hn, AcceptedConversationMessage as hr, automationVersionSchema as ht, reviewItemActionSchema as i, conversationTurnFailureCodeSchema as ii, locationParamsSchema as in, SteerConversationPendingMessagesResponse as ir, automationParamsSchema as it, StatsReport as j, UserInputRequest as ji, ConversationCatchUp as jn, ConversationReportStatus as jr, createPersonalTokenBodySchema as jt, skillReportsSchema as k, UserInputAnswer as ki, pinConversationBodySchema as kn, ConversationReportEventData as kr, userCustomizationSchema as kt, ReviewItemChangeRecord as l, CodePersonReport as li, ActorSummaryReport as ln, conversationPendingMessageDeliverySchema as lr, automationSchedulePreviewSchema as lt, PluginPackageContentItemReport as m, codeChangeSummarySchema as mi, PersonalSpendReport as mn, steerConversationPendingMessagesResponseSchema as mr, automationVersionParamsSchema as mt, ReviewItemActionBody as n, forkConversationBodySchema as ni, locationDetailReportSchema as nn, ConversationPendingMessagesReport as nr, automationListQuerySchema as nt, reviewItemListSchema as o, CodeActivityDay as oi, ActorDirectoryReport as on, cancelConversationPendingMessagesResponseSchema as or, automationRunSchema as ot, PluginOperationalReportFeed as p, codeChangeSummaryReportSchema as pi, PersonParams as pn, steerConversationPendingMessagesBodySchema as pr, automationVersionListSchema as pt, AutomationVersionList as q, ConversationAutoArchive as qn, conversationEventsQuerySchema as qr, ApiError as qt, ReviewItemPayload as r, forkConversationResponseSchema as ri, locationDirectoryReportSchema as rn, SteerConversationPendingMessagesBody as rr, automationListSchema as rt, reviewItemSchema as s, CodeChangeSummaryReport as si, ActorDirectoryWindows as sn, conversationDetailWithMailboxReportSchema as sr, automationRunWindowsSchema as st, OwnedObjectAnnotation$1 as t, createConversationMessageBodySchema as ti, locationActivityDayReportSchema as tn, ConversationPendingMessageDelivery as tr, automationExecutionStatusSchema as tt, HealthReport as u, CodeRepositoryReport as ui, ActorTotalsReport as un, conversationPendingMessageSchema as ur, automationSummarySchema as ut, SkillReport as v, codeRepositoryReportSchema as vi, personalSpendReportSchema as vn, ConversationActivityPreview as vr, BaselineSnapshotReport as vt, pluginPackageContentReportSchema as w, MessageCard as wi, ConversationChildAgentsReport as wn, ConversationEventPage as wr, workspaceListSchema as wt, pluginOperationalReportFeedSchema as x, conversationChildAgentTotalsSchema as xi, conversationWatchSchema as xn, ConversationCost as xr, baselineSnapshotSchema as xt, SkillReports as y, codeRepositorySummarySchema as yi, ConversationWatch as yn, ConversationAgentTreeNode as yr, WorkspaceListReport as yt, AutomationList as z, MessageAttachment as zi, ConversationMetricDay as zn, CreateConversationMessageBody as zr, serviceAccountParamsSchema as zt };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { W as isRecord, b as setSpanAttributes, h as logWarn } from "./logging-
|
|
2
|
-
import { c as fetchWithBoundedOAuthErrorBodies, i as resolvePluginHeaderEnvRefs } from "./registry-
|
|
1
|
+
import { W as isRecord, b as setSpanAttributes, h as logWarn } from "./logging-DHzrobea.js";
|
|
2
|
+
import { c as fetchWithBoundedOAuthErrorBodies, i as resolvePluginHeaderEnvRefs } from "./registry-EjhulgQW.js";
|
|
3
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-
|
|
4
|
+
import { r as getStateAdapter } from "./adapter-RVQGEa98.js";
|
|
5
5
|
import { AsyncLocalStorage } from "node:async_hooks";
|
|
6
6
|
import { randomUUID } from "node:crypto";
|
|
7
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-ClKzLvbN.js";
|
|
2
|
+
import { t as disconnectStateAdapter } from "./adapter-RVQGEa98.js";
|
|
3
|
+
import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-Dd1nnAQZ.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,18 +1,17 @@
|
|
|
1
1
|
import { v as __exportAll } from "./sentry-BRTJqumy.js";
|
|
2
|
-
import { Br as getDashboardObjectIconLink, Ln as getPlugins, Lr as verifyTimerWatchCredentialSubject, N as normalizeConversationText, Nn as getPluginSlackConversationLink, Rr as JUNIOR_THREAD_STATE_TTL_MS, Wr as ToolInputError,
|
|
3
|
-
import { n as botConfig } from "./config-
|
|
4
|
-
import { h as logWarn, m as logInfo, p as logException } from "./logging-
|
|
5
|
-
import { C as getSqlExecutor, F as SYSTEM_IDENTITY_ID, J as nextDetailVersion, x as getConversationStore } from "./viewer-
|
|
6
|
-
import {
|
|
7
|
-
import "./
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { r as
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import
|
|
15
|
-
import { z } from "zod";
|
|
2
|
+
import { Br as getDashboardObjectIconLink, Ln as getPlugins, Lr as verifyTimerWatchCredentialSubject, N as normalizeConversationText, Nn as getPluginSlackConversationLink, Rr as JUNIOR_THREAD_STATE_TTL_MS, Wr as ToolInputError, Za as buildSentryConversationUrl, Zt as isAssistantMessage, _i as escapeSlackMrkdwnText, en as isToolResultError, ki as postSlackMessage, nn as normalizeToolNameFromResult, tn as isToolResultMessage, vi as formatSlackLink, yi as normalizeSlackReplyMarkdown, zr as getDashboardConversationLink } from "./projection-Bhz1tp0G.js";
|
|
3
|
+
import { n as botConfig } from "./config-3AZ11aSM.js";
|
|
4
|
+
import { h as logWarn, m as logInfo, p as logException } from "./logging-DHzrobea.js";
|
|
5
|
+
import { C as getSqlExecutor, F as SYSTEM_IDENTITY_ID, J as nextDetailVersion, x as getConversationStore } from "./viewer-DWlpSFdj.js";
|
|
6
|
+
import { k as juniorConversations } from "./executor-DLKnzP6S.js";
|
|
7
|
+
import { h as credentialSubjectSchema } from "./registry-EjhulgQW.js";
|
|
8
|
+
import { r as getStateAdapter } from "./adapter-RVQGEa98.js";
|
|
9
|
+
import { R as readMessageAttachments } from "./conversation-DNtcULyX.js";
|
|
10
|
+
import { r as EVENT_AUTHOR_ID } from "./prompt-DI6KCtwb.js";
|
|
11
|
+
import { a as QUIET_MARKER, r as sanitizeAssistantText } from "./assistant-reply-DQbtwc6j.js";
|
|
12
|
+
import { r as appendAndEnqueueInboundMessage } from "./store-C4z8gOgZ.js";
|
|
13
|
+
import { dt as CORE_EVENT_NAMESPACE, ht as eventGuidance, mt as eventCatalogEntry } from "./turn-session-routing-RBtUe-3y.js";
|
|
14
|
+
import * as z from "zod";
|
|
16
15
|
import { eq, inArray } from "drizzle-orm";
|
|
17
16
|
import { agentEventKeys, eventMatchFieldsSchema, objectFactFields, objectPresentation, objectTypeSchema } from "@sentry/junior-plugin-api";
|
|
18
17
|
// src/chat/automation-result.ts
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { v as __exportAll } from "./sentry-BRTJqumy.js";
|
|
2
|
-
import { h as logWarn } from "./logging-
|
|
2
|
+
import { h as logWarn } from "./logging-DHzrobea.js";
|
|
3
3
|
import { s as skillRoots } from "./package-discovery-DJhGdS4c.js";
|
|
4
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
4
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-ClKzLvbN.js";
|
|
5
5
|
import path from "node:path";
|
|
6
|
-
import
|
|
6
|
+
import * as z from "zod";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
8
8
|
import { parse } from "yaml";
|
|
9
9
|
// src/chat/skills.ts
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { v as __exportAll } from "./sentry-BRTJqumy.js";
|
|
2
|
-
import { Ft as toolInvocationDestination, Pt as actorFromRun } from "./agent-runner-
|
|
3
|
-
import { n as createAndEnqueueAgentInvocation } from "./work-
|
|
2
|
+
import { Ft as toolInvocationDestination, Pt as actorFromRun } from "./agent-runner-B229gXUY.js";
|
|
3
|
+
import { n as createAndEnqueueAgentInvocation } from "./work-pPoqtRea.js";
|
|
4
4
|
// src/chat/agent-invocations/spawn.ts
|
|
5
5
|
var spawn_exports = /* @__PURE__ */ __exportAll({ bindSpawnAgent: () => bindSpawnAgent });
|
|
6
6
|
/** Bind a Run's Actor and credentials to new Agent invocations. */
|