@sentry/junior 0.272.0 → 0.273.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/{adapter-BDYDi1F9.js → adapter-umap1cth.js} +1 -1
- package/dist/{admin-Dj7EFycG.js → admin-0o6E_3lo.js} +1 -1
- package/dist/{agent-runner-Cl6Usx2Y.js → agent-runner-D7Qz-lGO.js} +517 -298
- package/dist/api/schema.d.ts +1 -1
- package/dist/api/schema.js +4 -4
- package/dist/api.d.ts +1 -1
- package/dist/api.js +56 -573
- package/dist/{app-DjZblE2J.d.ts → app-BcyhJq8x.d.ts} +4 -9
- package/dist/app.d.ts +1 -1
- package/dist/app.js +673 -127
- package/dist/{assistant-reply-DN2w6JL_.js → assistant-reply-wZ7i4OFa.js} +1 -1
- package/dist/{automation-CV7g5h3A.js → automation-yffXcZt9.js} +1 -1
- package/dist/{briefs-PysAqnjV.js → briefs-CgMnlpIp.js} +4 -4
- package/dist/{catalog-runtime-BNeCWIaF.js → catalog-runtime-TygDsPOU.js} +1 -1
- package/dist/cli/chat.js +15 -15
- package/dist/cli/check.js +3 -3
- package/dist/cli/init.js +1 -1
- 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-FRphcDWW.js → client-DhqbV0Fe.js} +63 -5
- package/dist/{reporting-schema-CZREhYc-.js → common-Eu6sx09c.js} +4 -1
- package/dist/{config-BUP9wjiR.js → config-C6FTd7PX.js} +6 -14
- package/dist/{connections-CesHau9u.js → connections-Dq72KajR.js} +11 -11
- package/dist/{conversation-BtQzLoK8.js → conversation-T4oabbBi.js} +10 -0
- package/dist/{conversation-privacy-DiGvA9a3.js → conversation-privacy-BeRgrsph.js} +1 -1
- package/dist/{credential-sync-D2odJC30.js → credential-sync-BmCbHAp4.js} +15 -16
- package/dist/{db-BPLmOwXf.d.ts → db-DOzBGLn5.d.ts} +1 -1
- package/dist/{executor-DGDpyegI.js → executor-BafgvQcc.js} +2 -2
- package/dist/instrumentation.js +114 -3
- package/dist/{job-queue-CjB97sii.js → job-queue-C4lphW9Y.js} +3 -3
- package/dist/{logging-CjkDr-jP.js → logging-CNs1e04n.js} +6 -1
- package/dist/{message-D9y8PKA1.js → message-CETC5lsl.js} +9 -9
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +3 -3
- package/dist/{oauth-callback-server-02Pej6hj.js → oauth-callback-server-DcQZsKMm.js} +2 -2
- package/dist/{credentialed-CgTulRDH.js → projection-BOpi891B.js} +4576 -49
- package/dist/{prompt-vfceH0c-.js → prompt-B1ySjUyf.js} +1 -1
- package/dist/{registry-7XgwNgQe.js → registry-B-yUrv3h.js} +2 -2
- package/dist/{resolve-CuuxNfWG.js → resolve-DqVtd4Q9.js} +3 -3
- package/dist/{result-BRhb6iN1.js → result-DQwTiLTw.js} +9 -9
- package/dist/{runner-DaWCofuS.js → runner-Dco5qMq6.js} +11 -11
- package/dist/{sandbox-egress-signals-Bn6FA1UC.js → sandbox-egress-signals-DFc_9Mcv.js} +1 -1
- package/dist/{schema-D5VLF4NT.js → schema-5xHDGlBW.js} +9 -7
- package/dist/{schema-CNjAzYOw.d.ts → schema-9OGdsaxF.d.ts} +13 -0
- package/dist/{service-account-D9vrsi8d.js → service-account-CWfk9Cs-.js} +3 -3
- package/dist/{service-account-H45LIAG2.js → service-account-smdPFWNy.js} +3 -3
- package/dist/{session-stop-HKl0ECX0.js → session-stop-DaT_7tYa.js} +11 -11
- package/dist/{skills-CsiKu3-g.js → skills-BbtJSF2-.js} +2 -2
- package/dist/{spawn-DqjBxqWh.js → spawn-Ceikdjkp.js} +2 -2
- package/dist/{list-JZUP1yog.js → stop-dKUc-x2K.js} +996 -432
- package/dist/{store-DyVKH0QB.js → store-C1xuZcLd.js} +4 -4
- package/dist/{store-CPF2kzbu.js → store-DaxUuOmD.js} +3 -3
- package/dist/{task-queue-BbQXCcNX.js → task-queue-ymAh_-P1.js} +4 -4
- package/dist/{task-runner-ChzW5E7R.js → task-runner-vlH6pEm3.js} +6 -6
- package/dist/{thread-state-Ds8JTsX6.js → thread-state-BkUpE9Ae.js} +4 -5
- package/dist/{turn-failure-response-DCMvjsA0.js → turn-failure-response-DIsD7ip_.js} +7 -8
- package/dist/{turn-lifecycle-DM_77q33.js → turn-lifecycle-BdPKdPS8.js} +1 -1
- package/dist/turn-session-routing-BdCTDq9m.js +1625 -0
- package/dist/{validation-DcGelbBi.js → validation-BQjCfh84.js} +1 -1
- package/dist/{version-C48azPKq.js → version-BpiFGZZW.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-BCRuO8Wg.js → viewer-C6Y1aXjZ.js} +27 -15
- package/dist/{work-zxkmbJAp.js → work-ChPh_YEh.js} +10 -38
- package/dist/{worker-CNNxHF1V.js → worker-Be_sK_ou.js} +6 -6
- package/package.json +4 -4
- package/dist/turn-session-routing-BV_gX7n3.js +0 -6072
- package/dist/{oauth-relay-CTygMkNx.js → oauth-relay-C6ZAyJgf.js} +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { J as briefOutcomeStatusSchema, X as parseBriefInput, Y as conversationBriefSchema } from "./conversation-
|
|
1
|
+
import { J as briefOutcomeStatusSchema, X as parseBriefInput, Y as conversationBriefSchema } from "./conversation-T4oabbBi.js";
|
|
2
2
|
import { z } from "zod";
|
|
3
3
|
// src/chat/briefs/generate.ts
|
|
4
4
|
const MAX_INPUT_CHARS = 6e4;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { b as setSpanAttributes, h as logWarn, m as logInfo } from "./logging-
|
|
1
|
+
import { b as setSpanAttributes, h as logWarn, m as logInfo } from "./logging-CNs1e04n.js";
|
|
2
2
|
import { o as isUserActor, s as parseActorUserId } from "./actor-B4DYygOB.js";
|
|
3
3
|
import { n as normalizePluginPackageNames, o as pluginRoots, t as discoverInstalledPluginPackageContent } from "./package-discovery-DJBompdd.js";
|
|
4
4
|
import path from "node:path";
|
|
5
|
-
import { z } from "zod";
|
|
6
5
|
import { randomUUID } from "node:crypto";
|
|
6
|
+
import { 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,6 +1,6 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import {
|
|
3
|
-
import { r as getStateAdapter } from "./adapter-
|
|
1
|
+
import { Er as getSandboxProvider, Sr as create, Zi as sleep, da as SANDBOX_COMMAND_PATH, ga as SANDBOX_WORKSPACE_ROOT, ua as runNonInteractiveCommand, wr as isStale } from "./projection-BOpi891B.js";
|
|
2
|
+
import { E as withSpan, b as setSpanAttributes } from "./logging-CNs1e04n.js";
|
|
3
|
+
import { r as getStateAdapter } from "./adapter-umap1cth.js";
|
|
4
4
|
import { z } from "zod";
|
|
5
5
|
// src/chat/sandbox/resources.ts
|
|
6
6
|
let configuredResources;
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-nwUcYXjP.js";
|
|
2
|
-
import {
|
|
2
|
+
import { at as listTurnSummaries, it as getTurnRecord } from "./projection-BOpi891B.js";
|
|
3
3
|
import { t as createActor } from "./actor-B4DYygOB.js";
|
|
4
|
-
import {
|
|
5
|
-
import { f as credentialContextForActor } from "./registry-
|
|
6
|
-
import { St as listUnreportedSiblingAgents } from "./agent-runner-
|
|
7
|
-
import { a as EVENT_SYSTEM_ACTOR, i as EVENT_MESSAGE_AUTHOR, o as isEventConversationMessage } from "./prompt-
|
|
8
|
-
import { C as markAgentInvocationParentMailboxAppended, a as createAgentInvocationFromLatest, c as getAgentInvocationIdForEvents, f as getAgentInvocationResultMessageId, g as getLatestAgentInvocationForConversation, l as getAgentInvocationIdForMessage, s as getAgentInvocation, u as getAgentInvocationIdForResult, v 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 { i as resolveAgentInvocationId, r as enqueueAgentInvocation, t as createAgentInvocationWorker } from "./work-
|
|
4
|
+
import { M as SYSTEM_IDENTITY_ID } from "./viewer-C6Y1aXjZ.js";
|
|
5
|
+
import { f as credentialContextForActor } from "./registry-B-yUrv3h.js";
|
|
6
|
+
import { St as listUnreportedSiblingAgents } from "./agent-runner-D7Qz-lGO.js";
|
|
7
|
+
import { a as EVENT_SYSTEM_ACTOR, i as EVENT_MESSAGE_AUTHOR, o as isEventConversationMessage } from "./prompt-B1ySjUyf.js";
|
|
8
|
+
import { C as markAgentInvocationParentMailboxAppended, a as createAgentInvocationFromLatest, c as getAgentInvocationIdForEvents, f as getAgentInvocationResultMessageId, g as getLatestAgentInvocationForConversation, l as getAgentInvocationIdForMessage, s as getAgentInvocation, u as getAgentInvocationIdForResult, v as isTerminalAgentInvocation } from "./store-C1xuZcLd.js";
|
|
9
|
+
import { a as EVENT_WAIT_MS, c as isEventMailboxMetadata, l as renderEventBatchText, u as timerWatchCredentialSubject } from "./session-stop-DaT_7tYa.js";
|
|
10
|
+
import { r as appendAndEnqueueInboundMessage } from "./store-DaxUuOmD.js";
|
|
11
|
+
import { i as resolveAgentInvocationId, r as enqueueAgentInvocation, t as createAgentInvocationWorker } from "./work-ChPh_YEh.js";
|
|
12
12
|
import { z } from "zod";
|
|
13
13
|
import { createEventSource, createLocalSource, createWebSource } from "@sentry/junior-plugin-api";
|
|
14
14
|
// src/chat/conversations/web-mailbox.ts
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { S as setTags, T as withLogContext, p as logException } from "./logging-
|
|
3
|
-
import {
|
|
4
|
-
import { f as credentialContextForActor } from "./registry-
|
|
5
|
-
import { z as messageCardText } from "./conversation-
|
|
6
|
-
import { $ as startActiveTurn, Q as markTurnFailed } 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 { A as buildConversationContext, F as markConversationMessage, I as normalizeConversationText, Kt as persistWithRetry, L as recordDeliveredAssistantMessage, S as persistConversationMessages, U as authorizationId, et as saveTurnCheckpoint, o as loadProjection, p as recordAuthorizationCompleted, t as commitAcceptedReply, x as hydrateConversationMessages, z as upsertConversationMessage } from "./projection-BOpi891B.js";
|
|
2
|
+
import { S as setTags, T as withLogContext, p as logException } from "./logging-CNs1e04n.js";
|
|
3
|
+
import { M as SYSTEM_IDENTITY_ID, x as getConversationStore, y as getConversationEventStore } from "./viewer-C6Y1aXjZ.js";
|
|
4
|
+
import { f as credentialContextForActor } from "./registry-B-yUrv3h.js";
|
|
5
|
+
import { z as messageCardText } from "./conversation-T4oabbBi.js";
|
|
6
|
+
import { $ as startActiveTurn, Q as markTurnFailed } from "./store-C1xuZcLd.js";
|
|
7
|
+
import { n as getAssistantReplyText } from "./assistant-reply-wZ7i4OFa.js";
|
|
8
|
+
import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-BdPKdPS8.js";
|
|
9
|
+
import { a as persistThreadStateById, n as getPersistedSandboxState, o as coerceThreadConversationState, r as getPersistedThreadState } from "./thread-state-BkUpE9Ae.js";
|
|
10
|
+
import { n as scheduleSessionCompletedPluginTasks, t as processPluginTask } from "./task-runner-vlH6pEm3.js";
|
|
11
|
+
import { i as completeAuthPauseTurn, l as buildDeliveredTurnStatePatch, t as finalizeFailedTurnReplyWithEvent, u as loadPendingMessageCards } from "./turn-failure-response-DIsD7ip_.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 {
|
|
1
|
+
import { di as sandboxEgressSignalsResponseSchema } from "./projection-BOpi891B.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,13 +1,10 @@
|
|
|
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-
|
|
2
|
+
import { E as conversationSummaryReportSchema, F as conversationChildAgentTotalsSchema, O as conversationUsageSchema, l as conversationAuxiliaryCostsSchema, n as actorIdentitySchema } from "./conversation-T4oabbBi.js";
|
|
3
3
|
import { i as fillUtcHours, r as fillUtcDays, s as sumUtcHoursIntoSixHours, y as userInputRequestSchema } from "./reporting-window-DgHgwQB3.js";
|
|
4
|
-
import "./automation-
|
|
5
|
-
import "./
|
|
4
|
+
import "./automation-yffXcZt9.js";
|
|
5
|
+
import "./common-Eu6sx09c.js";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import { codeChangeStateSchema, eventMatchSchema } from "@sentry/junior-plugin-api";
|
|
8
|
-
// src/api/schema/common.ts
|
|
9
|
-
/** Stable error body returned by Junior-owned REST endpoints. */
|
|
10
|
-
const apiErrorSchema = z.object({ error: z.string().min(1) }).strict();
|
|
11
8
|
// src/api/schema/conversation-stats.ts
|
|
12
9
|
const conversationStatsItemSchema = z.object({
|
|
13
10
|
active: z.number(),
|
|
@@ -527,6 +524,11 @@ const reviewItemListQuerySchema = z.object({
|
|
|
527
524
|
conversationId: z.string().min(1).optional(),
|
|
528
525
|
/** `nextCursor` of the page before. */
|
|
529
526
|
cursor: z.string().min(1).max(1e3).optional(),
|
|
527
|
+
/**
|
|
528
|
+
* `viewer` drops the items that are assigned only to other people. The
|
|
529
|
+
* list keeps items assigned to the viewer, to Everyone, or to no one.
|
|
530
|
+
*/
|
|
531
|
+
for: z.enum(["viewer"]).optional(),
|
|
530
532
|
/** The number of open items on one page. */
|
|
531
533
|
limit: z.coerce.number().int().min(1).max(100).default(50),
|
|
532
534
|
/** Also list the newest done and dismissed items, with the first page. */
|
|
@@ -623,4 +625,4 @@ const statsReportSchema = z.object({
|
|
|
623
625
|
windowEnd: z.string(),
|
|
624
626
|
windowStart: z.string()
|
|
625
627
|
}).strict();
|
|
626
|
-
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,
|
|
628
|
+
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, 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 };
|
|
@@ -555,6 +555,7 @@ declare const conversationPendingMessageSchema: z.ZodObject<{
|
|
|
555
555
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
556
556
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
557
557
|
}, z.core.$strict>>;
|
|
558
|
+
actorIdentityId: z.ZodOptional<z.ZodString>;
|
|
558
559
|
createdAt: z.ZodString;
|
|
559
560
|
delivery: z.ZodEnum<{
|
|
560
561
|
defer: "defer";
|
|
@@ -607,6 +608,7 @@ declare const conversationPendingMessagesReportSchema: z.ZodObject<{
|
|
|
607
608
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
608
609
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
609
610
|
}, z.core.$strict>>;
|
|
611
|
+
actorIdentityId: z.ZodOptional<z.ZodString>;
|
|
610
612
|
createdAt: z.ZodString;
|
|
611
613
|
delivery: z.ZodEnum<{
|
|
612
614
|
defer: "defer";
|
|
@@ -947,6 +949,7 @@ declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<[z.ZodO
|
|
|
947
949
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
948
950
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
949
951
|
}, z.core.$strict>>;
|
|
952
|
+
actorIdentityId: z.ZodOptional<z.ZodString>;
|
|
950
953
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
951
954
|
eventType: z.ZodOptional<z.ZodString>;
|
|
952
955
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1203,6 +1206,7 @@ declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1203
1206
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1204
1207
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1205
1208
|
}, z.core.$strict>>;
|
|
1209
|
+
actorIdentityId: z.ZodOptional<z.ZodString>;
|
|
1206
1210
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
1207
1211
|
eventType: z.ZodOptional<z.ZodString>;
|
|
1208
1212
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -1837,6 +1841,13 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1837
1841
|
}, z.core.$strict>>;
|
|
1838
1842
|
}, z.core.$strict>;
|
|
1839
1843
|
}, z.core.$strict>>>;
|
|
1844
|
+
authors: z.ZodOptional<z.ZodRecord<z.ZodString, z.ZodObject<{
|
|
1845
|
+
avatarUrl: z.ZodOptional<z.ZodString>;
|
|
1846
|
+
email: z.ZodOptional<z.ZodString>;
|
|
1847
|
+
fullName: z.ZodOptional<z.ZodString>;
|
|
1848
|
+
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1849
|
+
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1850
|
+
}, z.core.$strict>>>;
|
|
1840
1851
|
events: z.ZodArray<z.ZodObject<{
|
|
1841
1852
|
seq: z.ZodNumber;
|
|
1842
1853
|
createdAt: z.ZodString;
|
|
@@ -1859,6 +1870,7 @@ declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1859
1870
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
1860
1871
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
1861
1872
|
}, z.core.$strict>>;
|
|
1873
|
+
actorIdentityId: z.ZodOptional<z.ZodString>;
|
|
1862
1874
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
1863
1875
|
eventType: z.ZodOptional<z.ZodString>;
|
|
1864
1876
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -2177,6 +2189,7 @@ declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
2177
2189
|
slackUserId: z.ZodOptional<z.ZodString>;
|
|
2178
2190
|
slackUserName: z.ZodOptional<z.ZodString>;
|
|
2179
2191
|
}, z.core.$strict>>;
|
|
2192
|
+
actorIdentityId: z.ZodOptional<z.ZodString>;
|
|
2180
2193
|
agentInvocationId: z.ZodOptional<z.ZodString>;
|
|
2181
2194
|
eventType: z.ZodOptional<z.ZodString>;
|
|
2182
2195
|
eventObjectType: z.ZodOptional<z.ZodEnum<{
|
|
@@ -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-TygDsPOU.js";
|
|
2
|
+
import { t as disconnectStateAdapter } from "./adapter-umap1cth.js";
|
|
3
|
+
import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-smdPFWNy.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,7 +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-
|
|
1
|
+
import { B as isRecord, b as setSpanAttributes, h as logWarn } from "./logging-CNs1e04n.js";
|
|
2
|
+
import { c as fetchWithBoundedOAuthErrorBodies, i as resolvePluginHeaderEnvRefs } from "./registry-B-yUrv3h.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-umap1cth.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,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 { C as getSqlExecutor,
|
|
2
|
+
import { $t as isAssistantMessage, Bi as verifyTimerWatchCredentialSubject, Fr as formatSlackLink, Ia as buildSentryConversationUrl, Ir as normalizeSlackReplyMarkdown, Kr as postSlackMessage, Nn as getPlugins, Pr as escapeSlackMrkdwnText, ea as JUNIOR_THREAD_STATE_TTL_MS, kn as getPluginSlackConversationLink, na as getDashboardObjectIconLink, nn as isToolResultMessage, oa as ToolInputError, rn as normalizeToolNameFromResult, ta as getDashboardConversationLink, tn as isToolResultError } from "./projection-BOpi891B.js";
|
|
3
|
+
import { n as botConfig } from "./config-C6FTd7PX.js";
|
|
4
|
+
import { h as logWarn, m as logInfo, p as logException } from "./logging-CNs1e04n.js";
|
|
5
|
+
import { C as getSqlExecutor, M as SYSTEM_IDENTITY_ID, x as getConversationStore } from "./viewer-C6Y1aXjZ.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 { r as
|
|
11
|
-
import { r as
|
|
12
|
-
import { r as
|
|
13
|
-
import {
|
|
7
|
+
import "./executor-BafgvQcc.js";
|
|
8
|
+
import { h as credentialSubjectSchema } from "./registry-B-yUrv3h.js";
|
|
9
|
+
import { r as getStateAdapter } from "./adapter-umap1cth.js";
|
|
10
|
+
import { r as EVENT_AUTHOR_ID } from "./prompt-B1ySjUyf.js";
|
|
11
|
+
import { r as sanitizeAssistantText } from "./assistant-reply-wZ7i4OFa.js";
|
|
12
|
+
import { r as appendAndEnqueueInboundMessage } from "./store-DaxUuOmD.js";
|
|
13
|
+
import { dt as CORE_EVENT_NAMESPACE, ht as eventGuidance, mt as eventCatalogEntry } from "./turn-session-routing-BdCTDq9m.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";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-nwUcYXjP.js";
|
|
2
|
-
import { h as logWarn } from "./logging-
|
|
2
|
+
import { h as logWarn } from "./logging-CNs1e04n.js";
|
|
3
3
|
import { s as skillRoots } from "./package-discovery-DJBompdd.js";
|
|
4
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
4
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-TygDsPOU.js";
|
|
5
5
|
import path from "node:path";
|
|
6
6
|
import { z } from "zod";
|
|
7
7
|
import fs from "node:fs/promises";
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { t as __exportAll } from "./rolldown-runtime-nwUcYXjP.js";
|
|
2
|
-
import { Mt as actorFromRun, Nt as toolInvocationDestination } from "./agent-runner-
|
|
3
|
-
import { n as createAndEnqueueAgentInvocation } from "./work-
|
|
2
|
+
import { Mt as actorFromRun, Nt as toolInvocationDestination } from "./agent-runner-D7Qz-lGO.js";
|
|
3
|
+
import { n as createAndEnqueueAgentInvocation } from "./work-ChPh_YEh.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. */
|