@sentry/junior 0.272.0 → 0.274.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (71) hide show
  1. package/dist/{adapter-BDYDi1F9.js → adapter-4qThDhgF.js} +1 -1
  2. package/dist/{admin-Dj7EFycG.js → admin-c7ASvs6x.js} +1 -1
  3. package/dist/{agent-runner-Cl6Usx2Y.js → agent-runner-CLHM48dh.js} +780 -396
  4. package/dist/api/schema.d.ts +1 -1
  5. package/dist/api/schema.js +5 -5
  6. package/dist/api.d.ts +1 -1
  7. package/dist/api.js +58 -575
  8. package/dist/{app-DjZblE2J.d.ts → app-BlmPpPoR.d.ts} +4 -9
  9. package/dist/app.d.ts +1 -1
  10. package/dist/app.js +673 -127
  11. package/dist/{assistant-reply-DN2w6JL_.js → assistant-reply-2IwdFWuQ.js} +1 -1
  12. package/dist/{automation-CV7g5h3A.js → automation-BGrd03QO.js} +1 -1
  13. package/dist/{briefs-PysAqnjV.js → briefs-C1-NOh8m.js} +4 -4
  14. package/dist/{catalog-runtime-BNeCWIaF.js → catalog-runtime-BnIJimKZ.js} +1 -1
  15. package/dist/cli/chat.js +15 -15
  16. package/dist/cli/check.js +3 -3
  17. package/dist/cli/init.js +1 -1
  18. package/dist/cli/main.js +3 -3
  19. package/dist/cli/plugins.js +4 -4
  20. package/dist/cli/snapshot-create.js +4 -4
  21. package/dist/cli/upgrade.d.ts +1 -1
  22. package/dist/cli/upgrade.js +3 -3
  23. package/dist/{client-FRphcDWW.js → client-C0ZIxoDr.js} +63 -5
  24. package/dist/{reporting-schema-CZREhYc-.js → common-Eu6sx09c.js} +4 -1
  25. package/dist/{config-BUP9wjiR.js → config-DS-QLVSL.js} +6 -14
  26. package/dist/{connections-CesHau9u.js → connections-Djb6ANAh.js} +11 -11
  27. package/dist/{conversation-BtQzLoK8.js → conversation-BjTo9ZFL.js} +11 -1
  28. package/dist/{conversation-privacy-DiGvA9a3.js → conversation-privacy-3IMUZSHC.js} +1 -1
  29. package/dist/{credential-sync-D2odJC30.js → credential-sync-ig88EB_v.js} +15 -16
  30. package/dist/{db-BPLmOwXf.d.ts → db-BMZhoYKj.d.ts} +1 -1
  31. package/dist/{executor-DGDpyegI.js → executor-C2moGIHS.js} +2 -2
  32. package/dist/instrumentation.js +114 -3
  33. package/dist/{job-queue-CjB97sii.js → job-queue-Bh9sFO9t.js} +3 -3
  34. package/dist/{logging-CjkDr-jP.js → logging-DYRS7E8s.js} +14 -2
  35. package/dist/{media-U6Tuz6Mi.js → media-DstkkoNP.js} +21 -2
  36. package/dist/{message-D9y8PKA1.js → message-CicNrhCv.js} +9 -9
  37. package/dist/nitro.d.ts +1 -1
  38. package/dist/nitro.js +3 -3
  39. package/dist/{oauth-callback-server-02Pej6hj.js → oauth-callback-server-BXyrepfY.js} +2 -2
  40. package/dist/{credentialed-CgTulRDH.js → projection-CMRrv9Pt.js} +4595 -51
  41. package/dist/{prompt-vfceH0c-.js → prompt-JEWUUpLW.js} +1 -1
  42. package/dist/{registry-7XgwNgQe.js → registry-D92WLl5I.js} +2 -2
  43. package/dist/{resolve-CuuxNfWG.js → resolve-C-Dh14ps.js} +3 -3
  44. package/dist/{result-BRhb6iN1.js → result-DZ8TCQkd.js} +9 -9
  45. package/dist/{runner-DaWCofuS.js → runner-BBmhrQTM.js} +11 -11
  46. package/dist/{sandbox-egress-signals-Bn6FA1UC.js → sandbox-egress-signals-Cehpq6hC.js} +1 -1
  47. package/dist/{schema-D5VLF4NT.js → schema-CX9XGKCm.js} +18 -9
  48. package/dist/{schema-CNjAzYOw.d.ts → schema-DfdHlBnb.d.ts} +22 -2
  49. package/dist/{service-account-H45LIAG2.js → service-account-Bapo6l0R.js} +3 -3
  50. package/dist/{service-account-D9vrsi8d.js → service-account-Ce1465Fn.js} +3 -3
  51. package/dist/{session-stop-HKl0ECX0.js → session-stop-CI5qJU7a.js} +11 -11
  52. package/dist/{skills-CsiKu3-g.js → skills-D-d79XQ6.js} +2 -2
  53. package/dist/{spawn-DqjBxqWh.js → spawn-C_FETz5x.js} +2 -2
  54. package/dist/{list-JZUP1yog.js → stop-CmwFHwiN.js} +1003 -436
  55. package/dist/{store-DyVKH0QB.js → store-BIQYXvoV.js} +4 -4
  56. package/dist/{store-CPF2kzbu.js → store-BvI3yBGS.js} +3 -3
  57. package/dist/{task-queue-BbQXCcNX.js → task-queue-BdB0pab8.js} +4 -4
  58. package/dist/{task-runner-ChzW5E7R.js → task-runner-DQr2QfvJ.js} +7 -7
  59. package/dist/{thread-state-Ds8JTsX6.js → thread-state-ngCvtWNa.js} +4 -5
  60. package/dist/{turn-failure-response-DCMvjsA0.js → turn-failure-response-BDT3sT2v.js} +7 -8
  61. package/dist/{turn-lifecycle-DM_77q33.js → turn-lifecycle-B7O6rZEX.js} +1 -1
  62. package/dist/turn-session-routing-DIeqG2pO.js +1625 -0
  63. package/dist/{validation-DcGelbBi.js → validation-D3Xik64v.js} +1 -1
  64. package/dist/{version-C48azPKq.js → version-BoWLhNzj.js} +1 -1
  65. package/dist/version.js +1 -1
  66. package/dist/{viewer-BCRuO8Wg.js → viewer-D25XOUHc.js} +41 -20
  67. package/dist/{work-zxkmbJAp.js → work-D12-wcf4.js} +11 -39
  68. package/dist/{worker-CNNxHF1V.js → worker-DGxfDtES.js} +6 -6
  69. package/package.json +4 -4
  70. package/dist/turn-session-routing-BV_gX7n3.js +0 -6072
  71. 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-BtQzLoK8.js";
1
+ import { J as briefOutcomeStatusSchema, X as parseBriefInput, Y as conversationBriefSchema } from "./conversation-BjTo9ZFL.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-CjkDr-jP.js";
1
+ import { b as setSpanAttributes, h as logWarn, m as logInfo } from "./logging-DYRS7E8s.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 { E as withSpan, b as setSpanAttributes } from "./logging-CjkDr-jP.js";
2
- import { Kn as runNonInteractiveCommand, Nn as sleep, Qn as SANDBOX_WORKSPACE_ROOT, it as isStale, nt as create, ot as getSandboxProvider, qn as SANDBOX_COMMAND_PATH } from "./credentialed-CgTulRDH.js";
3
- import { r as getStateAdapter } from "./adapter-BDYDi1F9.js";
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-CMRrv9Pt.js";
2
+ import { E as withSpan, b as setSpanAttributes } from "./logging-DYRS7E8s.js";
3
+ import { r as getStateAdapter } from "./adapter-4qThDhgF.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 { On as getTurnRecord, kn as listTurnSummaries } from "./turn-session-routing-BV_gX7n3.js";
2
+ import { at as listTurnSummaries, it as getTurnRecord } from "./projection-CMRrv9Pt.js";
3
3
  import { t as createActor } from "./actor-B4DYygOB.js";
4
- import { j as SYSTEM_IDENTITY_ID } from "./viewer-BCRuO8Wg.js";
5
- import { f as credentialContextForActor } from "./registry-7XgwNgQe.js";
6
- import { St as listUnreportedSiblingAgents } from "./agent-runner-Cl6Usx2Y.js";
7
- import { a as EVENT_SYSTEM_ACTOR, i as EVENT_MESSAGE_AUTHOR, o as isEventConversationMessage } from "./prompt-vfceH0c-.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-DyVKH0QB.js";
9
- import { a as EVENT_WAIT_MS, c as isEventMailboxMetadata, l as renderEventBatchText, u as timerWatchCredentialSubject } from "./session-stop-HKl0ECX0.js";
10
- import { r as appendAndEnqueueInboundMessage } from "./store-CPF2kzbu.js";
11
- import { i as resolveAgentInvocationId, r as enqueueAgentInvocation, t as createAgentInvocationWorker } from "./work-zxkmbJAp.js";
4
+ import { M as SYSTEM_IDENTITY_ID } from "./viewer-D25XOUHc.js";
5
+ import { f as credentialContextForActor } from "./registry-D92WLl5I.js";
6
+ import { Ct as listUnreportedSiblingAgents } from "./agent-runner-CLHM48dh.js";
7
+ import { a as EVENT_SYSTEM_ACTOR, i as EVENT_MESSAGE_AUTHOR, o as isEventConversationMessage } from "./prompt-JEWUUpLW.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-BIQYXvoV.js";
9
+ import { a as EVENT_WAIT_MS, c as isEventMailboxMetadata, l as renderEventBatchText, u as timerWatchCredentialSubject } from "./session-stop-CI5qJU7a.js";
10
+ import { r as appendAndEnqueueInboundMessage } from "./store-BvI3yBGS.js";
11
+ import { i as resolveAgentInvocationId, r as enqueueAgentInvocation, t as createAgentInvocationWorker } from "./work-D12-wcf4.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 { At as loadProjection, Gt as hydrateConversationMessages, Kt as persistConversationMessages, Lt as recordAuthorizationCompleted, Tt as commitAcceptedReply, an as markConversationMessage, en as buildConversationContext, gr as persistWithRetry, ln as upsertConversationMessage, on as normalizeConversationText, pn as authorizationId, sn as recordDeliveredAssistantMessage, wn as saveTurnCheckpoint } from "./turn-session-routing-BV_gX7n3.js";
2
- import { S as setTags, T as withLogContext, p as logException } from "./logging-CjkDr-jP.js";
3
- import { j as SYSTEM_IDENTITY_ID, x as getConversationStore, y as getConversationEventStore } from "./viewer-BCRuO8Wg.js";
4
- import { f as credentialContextForActor } from "./registry-7XgwNgQe.js";
5
- import { z as messageCardText } from "./conversation-BtQzLoK8.js";
6
- import { $ as startActiveTurn, Q as markTurnFailed } from "./store-DyVKH0QB.js";
7
- import { n as getAssistantReplyText } from "./assistant-reply-DN2w6JL_.js";
8
- import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-DM_77q33.js";
9
- import { a as persistThreadStateById, n as getPersistedSandboxState, o as coerceThreadConversationState, r as getPersistedThreadState } from "./thread-state-Ds8JTsX6.js";
10
- import { n as scheduleSessionCompletedPluginTasks, t as processPluginTask } from "./task-runner-ChzW5E7R.js";
11
- import { i as completeAuthPauseTurn, l as buildDeliveredTurnStatePatch, t as finalizeFailedTurnReplyWithEvent, u as loadPendingMessageCards } from "./turn-failure-response-DCMvjsA0.js";
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-CMRrv9Pt.js";
2
+ import { S as setTags, T as withLogContext, p as logException } from "./logging-DYRS7E8s.js";
3
+ import { M as SYSTEM_IDENTITY_ID, x as getConversationStore, y as getConversationEventStore } from "./viewer-D25XOUHc.js";
4
+ import { f as credentialContextForActor } from "./registry-D92WLl5I.js";
5
+ import { z as messageCardText } from "./conversation-BjTo9ZFL.js";
6
+ import { $ as startActiveTurn, Q as markTurnFailed } from "./store-BIQYXvoV.js";
7
+ import { n as getAssistantReplyText } from "./assistant-reply-2IwdFWuQ.js";
8
+ import { t as ConversationTurnLifecycleService } from "./turn-lifecycle-B7O6rZEX.js";
9
+ import { a as persistThreadStateById, n as getPersistedSandboxState, o as coerceThreadConversationState, r as getPersistedThreadState } from "./thread-state-ngCvtWNa.js";
10
+ import { n as scheduleSessionCompletedPluginTasks, t as processPluginTask } from "./task-runner-DQr2QfvJ.js";
11
+ import { i as completeAuthPauseTurn, l as buildDeliveredTurnStatePatch, t as finalizeFailedTurnReplyWithEvent, u as loadPendingMessageCards } from "./turn-failure-response-BDT3sT2v.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 { Kt as sandboxEgressSignalsResponseSchema } from "./credentialed-CgTulRDH.js";
1
+ import { di as sandboxEgressSignalsResponseSchema } from "./projection-CMRrv9Pt.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-BtQzLoK8.js";
2
+ import { E as conversationSummaryReportSchema, F as conversationChildAgentTotalsSchema, O as conversationUsageSchema, l as conversationAuxiliaryCostsSchema, n as actorIdentitySchema } from "./conversation-BjTo9ZFL.js";
3
3
  import { i as fillUtcHours, r as fillUtcDays, s as sumUtcHoursIntoSixHours, y as userInputRequestSchema } from "./reporting-window-DgHgwQB3.js";
4
- import "./automation-CV7g5h3A.js";
5
- import "./reporting-schema-CZREhYc-.js";
4
+ import "./automation-BGrd03QO.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. */
@@ -552,8 +554,15 @@ const reviewItemCountSchema = z.object({
552
554
  * (`reviewItemNeedsUser`). Notices and items for Everyone do not count.
553
555
  */
554
556
  needsViewer: z.number().int().nonnegative() }).strict();
555
- /** Conversations linked to an open action item assigned to the viewer. */
556
- const reviewItemWaitingConversationsSchema = z.object({ conversationIds: z.array(z.string().min(1)) }).strict();
557
+ /**
558
+ * Conversations linked to an open action item assigned to the viewer. `title`
559
+ * is the newest such item; `count` is how many there are.
560
+ */
561
+ const reviewItemWaitingConversationsSchema = z.object({ conversations: z.array(z.object({
562
+ conversationId: z.string().min(1),
563
+ title: z.string().min(1),
564
+ count: z.number().int().positive()
565
+ }).strict()) }).strict();
557
566
  const reviewItemParamsSchema = z.object({ id: z.string().min(1) }).strict();
558
567
  /** One person action on a Review item. */
559
568
  const reviewItemActionSchema = z.discriminatedUnion("action", [
@@ -623,4 +632,4 @@ const statsReportSchema = z.object({
623
632
  windowEnd: z.string(),
624
633
  windowStart: z.string()
625
634
  }).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, 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 };
635
+ 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<{
@@ -5953,9 +5966,16 @@ declare const reviewItemListSchema: z.ZodObject<{
5953
5966
  declare const reviewItemCountSchema: z.ZodObject<{
5954
5967
  needsViewer: z.ZodNumber;
5955
5968
  }, z.core.$strict>;
5956
- /** Conversations linked to an open action item assigned to the viewer. */
5969
+ /**
5970
+ * Conversations linked to an open action item assigned to the viewer. `title`
5971
+ * is the newest such item; `count` is how many there are.
5972
+ */
5957
5973
  declare const reviewItemWaitingConversationsSchema: z.ZodObject<{
5958
- conversationIds: z.ZodArray<z.ZodString>;
5974
+ conversations: z.ZodArray<z.ZodObject<{
5975
+ conversationId: z.ZodString;
5976
+ title: z.ZodString;
5977
+ count: z.ZodNumber;
5978
+ }, z.core.$strict>>;
5959
5979
  }, z.core.$strict>;
5960
5980
  /** One person action on a Review item. */
5961
5981
  declare const reviewItemActionSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
@@ -1,7 +1,7 @@
1
- import { B as isRecord, b as setSpanAttributes, h as logWarn } from "./logging-CjkDr-jP.js";
2
- import { c as fetchWithBoundedOAuthErrorBodies, i as resolvePluginHeaderEnvRefs } from "./registry-7XgwNgQe.js";
1
+ import { V as isRecord, b as setSpanAttributes, h as logWarn } from "./logging-DYRS7E8s.js";
2
+ import { c as fetchWithBoundedOAuthErrorBodies, i as resolvePluginHeaderEnvRefs } from "./registry-D92WLl5I.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-BDYDi1F9.js";
4
+ import { r as getStateAdapter } from "./adapter-4qThDhgF.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-BNeCWIaF.js";
2
- import { t as disconnectStateAdapter } from "./adapter-BDYDi1F9.js";
3
- import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-H45LIAG2.js";
1
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-BnIJimKZ.js";
2
+ import { t as disconnectStateAdapter } from "./adapter-4qThDhgF.js";
3
+ import { n as finishServiceAccountSignIn, o as serviceAccountPlugins, r as getServiceAccountStatus, s as startServiceAccountSignIn, t as disconnectServiceAccount } from "./service-account-Bapo6l0R.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 { Cr as isAssistantMessage, Dr as normalizeToolNameFromResult, Er as isToolResultMessage, Tr as isToolResultError, dt as CORE_EVENT_NAMESPACE, ht as eventGuidance, mt as eventCatalogEntry } from "./turn-session-routing-BV_gX7n3.js";
3
- import { n as botConfig } from "./config-BUP9wjiR.js";
4
- import { h as logWarn, m as logInfo, p as logException } from "./logging-CjkDr-jP.js";
5
- import { C as getSqlExecutor, j as SYSTEM_IDENTITY_ID, x as getConversationStore } from "./viewer-BCRuO8Wg.js";
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-CMRrv9Pt.js";
3
+ import { n as botConfig } from "./config-DS-QLVSL.js";
4
+ import { h as logWarn, m as logInfo, p as logException } from "./logging-DYRS7E8s.js";
5
+ import { C as getSqlExecutor, M as SYSTEM_IDENTITY_ID, x as getConversationStore } from "./viewer-D25XOUHc.js";
6
6
  import { s as juniorConversations } from "./agent-invocations-C1RNOCs8.js";
7
- import "./executor-DGDpyegI.js";
8
- import { h as credentialSubjectSchema } from "./registry-7XgwNgQe.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-CgTulRDH.js";
10
- import { r as getStateAdapter } from "./adapter-BDYDi1F9.js";
11
- import { r as EVENT_AUTHOR_ID } from "./prompt-vfceH0c-.js";
12
- import { r as sanitizeAssistantText } from "./assistant-reply-DN2w6JL_.js";
13
- import { r as appendAndEnqueueInboundMessage } from "./store-CPF2kzbu.js";
7
+ import "./executor-C2moGIHS.js";
8
+ import { h as credentialSubjectSchema } from "./registry-D92WLl5I.js";
9
+ import { r as getStateAdapter } from "./adapter-4qThDhgF.js";
10
+ import { r as EVENT_AUTHOR_ID } from "./prompt-JEWUUpLW.js";
11
+ import { r as sanitizeAssistantText } from "./assistant-reply-2IwdFWuQ.js";
12
+ import { r as appendAndEnqueueInboundMessage } from "./store-BvI3yBGS.js";
13
+ import { dt as CORE_EVENT_NAMESPACE, ht as eventGuidance, mt as eventCatalogEntry } from "./turn-session-routing-DIeqG2pO.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-CjkDr-jP.js";
2
+ import { h as logWarn } from "./logging-DYRS7E8s.js";
3
3
  import { s as skillRoots } from "./package-discovery-DJBompdd.js";
4
- import { n as pluginCatalogRuntime } from "./catalog-runtime-BNeCWIaF.js";
4
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-BnIJimKZ.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-Cl6Usx2Y.js";
3
- import { n as createAndEnqueueAgentInvocation } from "./work-zxkmbJAp.js";
2
+ import { Nt as actorFromRun, Pt as toolInvocationDestination } from "./agent-runner-CLHM48dh.js";
3
+ import { n as createAndEnqueueAgentInvocation } from "./work-D12-wcf4.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. */