@sentry/junior 0.91.0 → 0.92.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 (128) hide show
  1. package/dist/{agent-hooks-MXAF7RQL.js → agent-hooks-BYSSWCNW.js} +7 -7
  2. package/dist/api/people/list.d.ts +3 -3
  3. package/dist/api/people/list.js +15 -15
  4. package/dist/api/people/list.query.d.ts +2 -2
  5. package/dist/api/people/profile.d.ts +3 -3
  6. package/dist/api/people/profile.js +12 -12
  7. package/dist/api/people/profile.query.d.ts +2 -2
  8. package/dist/api/people/shared.d.ts +13 -13
  9. package/dist/api/people/types.d.ts +12 -12
  10. package/dist/api-reference.d.ts +1 -1
  11. package/dist/app.js +334 -263
  12. package/dist/{catalog-runtime-DXE6NXHT.js → catalog-runtime-NZHMSMYC.js} +2 -2
  13. package/dist/chat/actor.d.ts +75 -0
  14. package/dist/chat/agent/prompt.d.ts +2 -2
  15. package/dist/chat/agent/request.d.ts +13 -13
  16. package/dist/chat/agent/resume.d.ts +5 -4
  17. package/dist/chat/agent/tools.d.ts +2 -2
  18. package/dist/chat/capabilities/jr-rpc-command.d.ts +1 -1
  19. package/dist/chat/conversation-privacy.d.ts +11 -0
  20. package/dist/chat/conversations/sql/migrations.d.ts +1 -1
  21. package/dist/chat/conversations/sql/schema/conversations.d.ts +2 -19
  22. package/dist/chat/conversations/sql/schema.d.ts +2 -19
  23. package/dist/chat/conversations/sql/store.d.ts +3 -3
  24. package/dist/chat/conversations/store.d.ts +4 -4
  25. package/dist/chat/credentials/context.d.ts +4 -4
  26. package/dist/chat/logging.d.ts +2 -2
  27. package/dist/chat/no-reply.d.ts +1 -1
  28. package/dist/chat/oauth-flow.d.ts +1 -1
  29. package/dist/chat/pi/messages.d.ts +2 -2
  30. package/dist/chat/pi/transcript.d.ts +15 -0
  31. package/dist/chat/plugins/agent-hooks.d.ts +3 -3
  32. package/dist/chat/plugins/credential-hooks.d.ts +2 -8
  33. package/dist/chat/prompt.d.ts +3 -6
  34. package/dist/chat/runtime/reply-executor.d.ts +1 -1
  35. package/dist/chat/runtime/turn-input.d.ts +1 -1
  36. package/dist/chat/sandbox/egress/schemas.d.ts +2 -2
  37. package/dist/chat/sandbox/egress/session.d.ts +1 -1
  38. package/dist/chat/services/context-compaction.d.ts +1 -1
  39. package/dist/chat/services/conversation-memory.d.ts +1 -1
  40. package/dist/chat/services/mcp-auth-orchestration.d.ts +1 -1
  41. package/dist/chat/services/message-actor-identity.d.ts +4 -4
  42. package/dist/chat/services/pending-auth.d.ts +2 -2
  43. package/dist/chat/services/plugin-auth-orchestration.d.ts +1 -1
  44. package/dist/chat/services/provider-default-config.d.ts +1 -1
  45. package/dist/chat/services/subscribed-decision.d.ts +1 -1
  46. package/dist/chat/services/turn-result.d.ts +1 -1
  47. package/dist/chat/services/turn-session-record.d.ts +11 -8
  48. package/dist/chat/services/turn-thinking-level.d.ts +1 -1
  49. package/dist/chat/slack/assistant-thread/title.d.ts +1 -1
  50. package/dist/chat/slack/tools/canvas/create.d.ts +41 -1
  51. package/dist/chat/slack/tools/canvas/edit.d.ts +60 -1
  52. package/dist/chat/slack/tools/canvas/read.d.ts +60 -1
  53. package/dist/chat/slack/tools/canvas/write.d.ts +41 -1
  54. package/dist/chat/slack/tools/channel-list-messages.d.ts +45 -1
  55. package/dist/chat/slack/tools/context.d.ts +3 -3
  56. package/dist/chat/slack/tools/list/add-items.d.ts +42 -1
  57. package/dist/chat/slack/tools/list/create.d.ts +40 -1
  58. package/dist/chat/slack/tools/list/get-items.d.ts +40 -1
  59. package/dist/chat/slack/tools/list/update-item.d.ts +46 -1
  60. package/dist/chat/slack/tools/message-add-reaction.d.ts +40 -1
  61. package/dist/chat/slack/tools/send-message.d.ts +45 -1
  62. package/dist/chat/slack/tools/thread-read.d.ts +44 -1
  63. package/dist/chat/slack/tools/user-lookup.d.ts +45 -1
  64. package/dist/chat/slack/user.d.ts +3 -3
  65. package/dist/chat/slack/vision-context.d.ts +2 -2
  66. package/dist/chat/sql/schema.d.ts +2 -19
  67. package/dist/chat/state/conversation-details.d.ts +4 -4
  68. package/dist/chat/state/conversation.d.ts +1 -1
  69. package/dist/chat/state/session-log.d.ts +140 -26
  70. package/dist/chat/state/turn-session.d.ts +18 -5
  71. package/dist/chat/task-execution/slack-work.d.ts +2 -2
  72. package/dist/chat/task-execution/state.d.ts +4 -4
  73. package/dist/chat/tool-support/zod-tool.d.ts +16 -4
  74. package/dist/chat/tools/advisor/tool.d.ts +41 -1
  75. package/dist/chat/tools/definition.d.ts +10 -0
  76. package/dist/chat/tools/execute-tool.d.ts +41 -1
  77. package/dist/chat/tools/resource-events.d.ts +124 -3
  78. package/dist/chat/tools/runtime/report-progress.d.ts +40 -1
  79. package/dist/chat/tools/sandbox/bash.d.ts +41 -1
  80. package/dist/chat/tools/sandbox/edit-file.d.ts +44 -1
  81. package/dist/chat/tools/sandbox/find-files.d.ts +42 -1
  82. package/dist/chat/tools/sandbox/grep.d.ts +46 -1
  83. package/dist/chat/tools/sandbox/list-dir.d.ts +41 -1
  84. package/dist/chat/tools/sandbox/read-file.d.ts +42 -1
  85. package/dist/chat/tools/sandbox/write-file.d.ts +41 -1
  86. package/dist/chat/tools/search-tools.d.ts +102 -1
  87. package/dist/chat/tools/skill/call-mcp-tool.d.ts +10 -1
  88. package/dist/chat/tools/skill/load-skill.d.ts +40 -1
  89. package/dist/chat/tools/skill/search-mcp-tools.d.ts +100 -1
  90. package/dist/chat/tools/system-time.d.ts +38 -1
  91. package/dist/chat/tools/types.d.ts +4 -4
  92. package/dist/chat/tools/web/fetch-tool.d.ts +41 -1
  93. package/dist/chat/tools/web/image-generate.d.ts +62 -1
  94. package/dist/chat/tools/web/search.d.ts +41 -1
  95. package/dist/{chunk-HXL2ZV74.js → chunk-3F54A3YM.js} +82 -11
  96. package/dist/{chunk-ZGDTBSQ7.js → chunk-7DVIELX3.js} +405 -136
  97. package/dist/{chunk-GCWD2VHP.js → chunk-7FS3K243.js} +284 -124
  98. package/dist/{chunk-AOISHLSF.js → chunk-ACJENBVF.js} +143 -20
  99. package/dist/{chunk-IRRMABQD.js → chunk-APIVR44P.js} +10 -10
  100. package/dist/{chunk-PIB4EOW6.js → chunk-BMQ5DXHV.js} +19 -72
  101. package/dist/{chunk-XP7F4LYB.js → chunk-BTH37NCU.js} +4 -4
  102. package/dist/{chunk-5GBUZI6M.js → chunk-H7KUZAMZ.js} +4 -4
  103. package/dist/{chunk-TYUXD3FN.js → chunk-MC4ZZE4Q.js} +1 -1
  104. package/dist/{chunk-QCKGI74V.js → chunk-N25HRI6B.js} +10 -10
  105. package/dist/{chunk-2S7M37HY.js → chunk-NIFONS4W.js} +86 -47
  106. package/dist/{chunk-ONFOWI2D.js → chunk-OJP53WIU.js} +16 -15
  107. package/dist/{chunk-NW7AXDA5.js → chunk-OZJXGX4U.js} +2 -2
  108. package/dist/{chunk-KC42JAAQ.js → chunk-PFXC67GJ.js} +3 -3
  109. package/dist/{chunk-ZUK7BL63.js → chunk-S6QKIGRM.js} +66 -54
  110. package/dist/{chunk-IX76WFJV.js → chunk-TF5VLGA7.js} +10 -10
  111. package/dist/{chunk-DACFZ5CI.js → chunk-VY7TVOIK.js} +16 -12
  112. package/dist/{chunk-AN2437E3.js → chunk-YTNPU7I2.js} +2 -2
  113. package/dist/{chunk-3MPOMK3K.js → chunk-YYBX2BD5.js} +61 -3
  114. package/dist/{chunk-RS6ANWVT.js → chunk-ZATRYQLR.js} +1 -1
  115. package/dist/cli/chat.js +20 -20
  116. package/dist/cli/check.js +3 -3
  117. package/dist/cli/plugins.js +9 -9
  118. package/dist/cli/snapshot-warmup.js +6 -6
  119. package/dist/cli/upgrade.js +9 -9
  120. package/dist/{db-CXI7PR5U.js → db-GCK43OO3.js} +4 -4
  121. package/dist/instrumentation.js +1 -1
  122. package/dist/reporting/conversations.d.ts +3 -3
  123. package/dist/reporting.d.ts +1 -1
  124. package/dist/reporting.js +48 -50
  125. package/dist/{runner-FKL3RAHA.js → runner-XWTFA26U.js} +20 -18
  126. package/dist/{validation-I7GD2YWS.js → validation-KYAWETI4.js} +3 -3
  127. package/package.json +6 -6
  128. package/dist/chat/requester.d.ts +0 -68
@@ -11,15 +11,15 @@ import {
11
11
  getPlugins,
12
12
  setPlugins,
13
13
  validatePlugins
14
- } from "./chunk-DACFZ5CI.js";
15
- import "./chunk-NW7AXDA5.js";
14
+ } from "./chunk-VY7TVOIK.js";
15
+ import "./chunk-OZJXGX4U.js";
16
16
  import "./chunk-G3E7SCME.js";
17
- import "./chunk-RS6ANWVT.js";
18
- import "./chunk-2S7M37HY.js";
19
- import "./chunk-HXL2ZV74.js";
20
- import "./chunk-3MPOMK3K.js";
17
+ import "./chunk-ZATRYQLR.js";
18
+ import "./chunk-NIFONS4W.js";
19
+ import "./chunk-3F54A3YM.js";
20
+ import "./chunk-YYBX2BD5.js";
21
21
  import "./chunk-GHGPTPBL.js";
22
- import "./chunk-ZUK7BL63.js";
22
+ import "./chunk-S6QKIGRM.js";
23
23
  import "./chunk-OB42YVAE.js";
24
24
  import "./chunk-3DA7X2U3.js";
25
25
  import "./chunk-LFLTJQVR.js";
@@ -1,4 +1,4 @@
1
- import type { RequesterDirectoryReport } from "./types";
1
+ import type { ActorDirectoryReport } from "./types";
2
2
  /** Load the people list from verified user identities in SQL. */
3
- export declare function readPeopleList(): Promise<RequesterDirectoryReport>;
4
- export type { RequesterDirectoryReport, RequesterIdentity, RequesterSummaryReport, RequesterTotalsReport, } from "./types";
3
+ export declare function readPeopleList(): Promise<ActorDirectoryReport>;
4
+ export type { ActorDirectoryReport, ActorIdentity, ActorSummaryReport, ActorTotalsReport, } from "./types";
@@ -1,20 +1,20 @@
1
1
  import {
2
2
  SAMPLE_LIMIT,
3
+ actorRows,
3
4
  addSignals,
4
5
  emptyTotals,
5
6
  identityWithEmail,
6
7
  mergeIdentity,
7
8
  reportDate,
8
9
  reportTime,
9
- requesterRows,
10
10
  signals,
11
11
  summaryFromRow
12
- } from "../../chunk-IRRMABQD.js";
13
- import "../../chunk-2S7M37HY.js";
14
- import "../../chunk-HXL2ZV74.js";
15
- import "../../chunk-3MPOMK3K.js";
12
+ } from "../../chunk-APIVR44P.js";
13
+ import "../../chunk-NIFONS4W.js";
14
+ import "../../chunk-3F54A3YM.js";
15
+ import "../../chunk-YYBX2BD5.js";
16
16
  import "../../chunk-GHGPTPBL.js";
17
- import "../../chunk-ZUK7BL63.js";
17
+ import "../../chunk-S6QKIGRM.js";
18
18
  import "../../chunk-OB42YVAE.js";
19
19
  import "../../chunk-3DA7X2U3.js";
20
20
  import "../../chunk-LFLTJQVR.js";
@@ -31,41 +31,41 @@ function directoryItem(accumulator) {
31
31
  firstSeenAt: new Date(accumulator.firstSeenMs).toISOString(),
32
32
  hung: accumulator.hung,
33
33
  lastSeenAt: new Date(accumulator.lastSeenMs).toISOString(),
34
- requester: accumulator.requester,
34
+ actor: accumulator.actor,
35
35
  runs: accumulator.runs
36
36
  };
37
37
  }
38
38
  async function readPeopleListFromSql(options = {}) {
39
39
  const nowMs = Date.now();
40
- const { rows, truncated } = await requesterRows(options);
40
+ const { rows, truncated } = await actorRows(options);
41
41
  const people = /* @__PURE__ */ new Map();
42
42
  for (const row of rows) {
43
43
  const summary = summaryFromRow(row, nowMs);
44
- const requester = identityWithEmail(summary.requesterIdentity);
45
- if (!requester) continue;
44
+ const actor = identityWithEmail(summary.actorIdentity);
45
+ if (!actor) continue;
46
46
  const firstSeenMs = reportTime(summary.startedAt) ?? row.createdAt.getTime();
47
47
  const lastSeenMs = reportTime(summary.lastSeenAt) ?? row.lastActivityAt.getTime();
48
48
  const date = reportDate(summary.lastSeenAt);
49
- const accumulator = people.get(requester.email) ?? {
49
+ const accumulator = people.get(actor.email) ?? {
50
50
  ...emptyTotals(),
51
51
  activeDates: /* @__PURE__ */ new Set(),
52
52
  firstSeenMs,
53
53
  lastSeenMs,
54
- requester
54
+ actor
55
55
  };
56
- accumulator.requester = mergeIdentity(accumulator.requester, requester);
56
+ accumulator.actor = mergeIdentity(accumulator.actor, actor);
57
57
  accumulator.conversations += 1;
58
58
  accumulator.runs += 1;
59
59
  addSignals(accumulator, signals(summary));
60
60
  accumulator.firstSeenMs = Math.min(accumulator.firstSeenMs, firstSeenMs);
61
61
  accumulator.lastSeenMs = Math.max(accumulator.lastSeenMs, lastSeenMs);
62
62
  if (date) accumulator.activeDates.add(date);
63
- people.set(requester.email, accumulator);
63
+ people.set(actor.email, accumulator);
64
64
  }
65
65
  return {
66
66
  generatedAt: new Date(nowMs).toISOString(),
67
67
  people: [...people.values()].map(directoryItem).sort(
68
- (left, right) => (reportTime(right.lastSeenAt) ?? 0) - (reportTime(left.lastSeenAt) ?? 0) || right.conversations - left.conversations || left.requester.email.localeCompare(right.requester.email)
68
+ (left, right) => (reportTime(right.lastSeenAt) ?? 0) - (reportTime(left.lastSeenAt) ?? 0) || right.conversations - left.conversations || left.actor.email.localeCompare(right.actor.email)
69
69
  ),
70
70
  sampleLimit: SAMPLE_LIMIT,
71
71
  sampleSize: rows.length,
@@ -1,4 +1,4 @@
1
- import type { RequesterDirectoryReport } from "./types";
1
+ import type { ActorDirectoryReport } from "./types";
2
2
  import { type PeopleApiQueryOptions } from "./shared";
3
3
  /** Load the people list from the configured or injected SQL database. */
4
- export declare function readPeopleListFromSql(options?: PeopleApiQueryOptions): Promise<RequesterDirectoryReport>;
4
+ export declare function readPeopleListFromSql(options?: PeopleApiQueryOptions): Promise<ActorDirectoryReport>;
@@ -1,4 +1,4 @@
1
- import type { RequesterProfileReport } from "./types";
1
+ import type { ActorProfileReport } from "./types";
2
2
  /** Load one person profile from verified user identities in SQL. */
3
- export declare function readPeopleProfile(email: string): Promise<RequesterProfileReport>;
4
- export type { ConversationStatsItem, ConversationSummaryReport, PeopleConversationStatus, PeopleConversationSurface, RequesterActivityDayReport, RequesterIdentity, RequesterProfileReport, RequesterTotalsReport, } from "./types";
3
+ export declare function readPeopleProfile(email: string): Promise<ActorProfileReport>;
4
+ export type { ConversationStatsItem, ConversationSummaryReport, PeopleConversationStatus, PeopleConversationSurface, ActorActivityDayReport, ActorIdentity, ActorProfileReport, ActorTotalsReport, } from "./types";
@@ -3,6 +3,7 @@ import {
3
3
  RECENT_LIMIT,
4
4
  SAMPLE_LIMIT,
5
5
  activityDays,
6
+ actorRows,
6
7
  addSignals,
7
8
  emptyActivityDay,
8
9
  emptyStatsItem,
@@ -12,18 +13,17 @@ import {
12
13
  normalizeEmail,
13
14
  reportDate,
14
15
  reportTime,
15
- requesterRows,
16
16
  signals,
17
17
  slackLocationLabel,
18
18
  statsItems,
19
19
  summaryFromRow,
20
20
  surfaceLabel
21
- } from "../../chunk-IRRMABQD.js";
22
- import "../../chunk-2S7M37HY.js";
23
- import "../../chunk-HXL2ZV74.js";
24
- import "../../chunk-3MPOMK3K.js";
21
+ } from "../../chunk-APIVR44P.js";
22
+ import "../../chunk-NIFONS4W.js";
23
+ import "../../chunk-3F54A3YM.js";
24
+ import "../../chunk-YYBX2BD5.js";
25
25
  import "../../chunk-GHGPTPBL.js";
26
- import "../../chunk-ZUK7BL63.js";
26
+ import "../../chunk-S6QKIGRM.js";
27
27
  import "../../chunk-OB42YVAE.js";
28
28
  import "../../chunk-3DA7X2U3.js";
29
29
  import "../../chunk-LFLTJQVR.js";
@@ -40,7 +40,7 @@ function emptyProfile(email, nowMs) {
40
40
  generatedAt: new Date(nowMs).toISOString(),
41
41
  locations: [],
42
42
  recentConversations: [],
43
- requester: { email },
43
+ actor: { email },
44
44
  sampleLimit: SAMPLE_LIMIT,
45
45
  sampleSize: 0,
46
46
  source: "conversation_index",
@@ -57,8 +57,8 @@ async function readPeopleProfileFromSql(email, options = {}) {
57
57
  if (!normalizedEmail) {
58
58
  return emptyProfile("", nowMs);
59
59
  }
60
- const { rows, truncated } = await requesterRows(options, normalizedEmail);
61
- let requester;
60
+ const { rows, truncated } = await actorRows(options, normalizedEmail);
61
+ let actor;
62
62
  const totals = emptyTotals();
63
63
  const activeDates = /* @__PURE__ */ new Set();
64
64
  const days = /* @__PURE__ */ new Map();
@@ -67,9 +67,9 @@ async function readPeopleProfileFromSql(email, options = {}) {
67
67
  const recentConversations = [];
68
68
  for (const row of rows) {
69
69
  const summary = summaryFromRow(row, nowMs);
70
- const identity = identityWithEmail(summary.requesterIdentity);
70
+ const identity = identityWithEmail(summary.actorIdentity);
71
71
  if (identity) {
72
- requester = requester ? mergeIdentity(requester, identity) : identity;
72
+ actor = actor ? mergeIdentity(actor, identity) : identity;
73
73
  }
74
74
  recentConversations.push(summary);
75
75
  const value = signals(summary);
@@ -110,7 +110,7 @@ async function readPeopleProfileFromSql(email, options = {}) {
110
110
  recentConversations: recentConversations.sort(
111
111
  (left, right) => (reportTime(right.lastSeenAt) ?? 0) - (reportTime(left.lastSeenAt) ?? 0) || right.conversationId.localeCompare(left.conversationId)
112
112
  ).slice(0, RECENT_LIMIT),
113
- requester: requester ?? { email: normalizedEmail },
113
+ actor: actor ?? { email: normalizedEmail },
114
114
  sampleLimit: SAMPLE_LIMIT,
115
115
  sampleSize: rows.length,
116
116
  source: "conversation_index",
@@ -1,4 +1,4 @@
1
- import type { RequesterProfileReport } from "./types";
1
+ import type { ActorProfileReport } from "./types";
2
2
  import { type PeopleApiQueryOptions } from "./shared";
3
3
  /** Load one person profile from the configured or injected SQL database. */
4
- export declare function readPeopleProfileFromSql(email: string, options?: PeopleApiQueryOptions): Promise<RequesterProfileReport>;
4
+ export declare function readPeopleProfileFromSql(email: string, options?: PeopleApiQueryOptions): Promise<ActorProfileReport>;
@@ -1,5 +1,5 @@
1
1
  import type { JuniorDatabase } from "@/chat/sql/db";
2
- import type { ConversationStatsItem, ConversationSummaryReport, PeopleConversationSurface, RequesterActivityDayReport, RequesterIdentity, RequesterTotalsReport } from "./types";
2
+ import type { ConversationStatsItem, ConversationSummaryReport, PeopleConversationSurface, ActorActivityDayReport, ActorIdentity, ActorTotalsReport } from "./types";
3
3
  export declare const SAMPLE_LIMIT = 5000;
4
4
  export declare const RECENT_LIMIT = 25;
5
5
  export declare const ACTIVITY_DAYS = 366;
@@ -23,11 +23,11 @@ export declare function slackLocationLabel(args: {
23
23
  /** Project one SQL conversation row into the people API conversation summary. */
24
24
  export declare function summaryFromRow(row: PeopleConversationRow, nowMs: number): ConversationSummaryReport;
25
25
  /** Build a zeroed totals object for people API aggregations. */
26
- export declare function emptyTotals(): RequesterTotalsReport;
26
+ export declare function emptyTotals(): ActorTotalsReport;
27
27
  /** Build a zeroed labeled stats row for people API aggregations. */
28
28
  export declare function emptyStatsItem(label: string): ConversationStatsItem;
29
29
  /** Build a zeroed activity day for the people profile window. */
30
- export declare function emptyActivityDay(date: string): RequesterActivityDayReport;
30
+ export declare function emptyActivityDay(date: string): ActorActivityDayReport;
31
31
  /** Collapse a conversation summary status into aggregate counters. */
32
32
  export declare function signals(summary: ConversationSummaryReport): {
33
33
  active: boolean;
@@ -35,25 +35,25 @@ export declare function signals(summary: ConversationSummaryReport): {
35
35
  hung: boolean;
36
36
  };
37
37
  /** Add status counters into a people API aggregate row. */
38
- export declare function addSignals(target: Pick<RequesterTotalsReport, "active" | "failed" | "hung">, value: ReturnType<typeof signals>): void;
39
- /** Return only requester identities that can be grouped by normalized email. */
40
- export declare function identityWithEmail(requester: RequesterIdentity | undefined): (RequesterIdentity & {
38
+ export declare function addSignals(target: Pick<ActorTotalsReport, "active" | "failed" | "hung">, value: ReturnType<typeof signals>): void;
39
+ /** Return only actor identities that can be grouped by normalized email. */
40
+ export declare function identityWithEmail(actor: ActorIdentity | undefined): (ActorIdentity & {
41
41
  email: string;
42
42
  }) | undefined;
43
43
  /** Preserve the first observed person fields while filling missing details. */
44
- export declare function mergeIdentity(current: RequesterIdentity & {
44
+ export declare function mergeIdentity(current: ActorIdentity & {
45
45
  email: string;
46
- }, next: RequesterIdentity & {
46
+ }, next: ActorIdentity & {
47
47
  email: string;
48
- }): RequesterIdentity & {
48
+ }): ActorIdentity & {
49
49
  email: string;
50
50
  };
51
51
  /** Fill the fixed people profile activity window from sparse day totals. */
52
- export declare function activityDays(days: Map<string, RequesterActivityDayReport>, nowMs: number): RequesterActivityDayReport[];
52
+ export declare function activityDays(days: Map<string, ActorActivityDayReport>, nowMs: number): ActorActivityDayReport[];
53
53
  /** Return deterministic stats rows for people API responses. */
54
54
  export declare function statsItems(map: Map<string, ConversationStatsItem>): ConversationStatsItem[];
55
- /** Read verified requester conversation rows directly from the SQL identity model. */
56
- export declare function requesterRows(options?: PeopleApiQueryOptions, email?: string): Promise<{
55
+ /** Read verified actor conversation rows directly from the SQL identity model. */
56
+ export declare function actorRows(options?: PeopleApiQueryOptions, email?: string): Promise<{
57
57
  rows: {
58
58
  channelName: string | null;
59
59
  conversationId: string;
@@ -73,4 +73,4 @@ export declare function requesterRows(options?: PeopleApiQueryOptions, email?: s
73
73
  }[];
74
74
  truncated: boolean;
75
75
  }>;
76
- export type PeopleConversationRow = Awaited<ReturnType<typeof requesterRows>>["rows"][number];
76
+ export type PeopleConversationRow = Awaited<ReturnType<typeof actorRows>>["rows"][number];
@@ -1,6 +1,6 @@
1
1
  export type PeopleConversationStatus = "active" | "completed" | "failed" | "hung";
2
2
  export type PeopleConversationSurface = "api" | "internal" | "scheduler" | "slack";
3
- export interface RequesterIdentity {
3
+ export interface ActorIdentity {
4
4
  email?: string;
5
5
  fullName?: string;
6
6
  slackUserId?: string;
@@ -19,7 +19,7 @@ export interface ConversationSummaryReport {
19
19
  channel?: string;
20
20
  channelName?: string;
21
21
  channelNameRedacted?: boolean;
22
- requesterIdentity?: RequesterIdentity;
22
+ actorIdentity?: ActorIdentity;
23
23
  }
24
24
  export interface ConversationStatsItem {
25
25
  active: number;
@@ -31,7 +31,7 @@ export interface ConversationStatsItem {
31
31
  runs: number;
32
32
  tokens?: number;
33
33
  }
34
- export interface RequesterActivityDayReport {
34
+ export interface ActorActivityDayReport {
35
35
  active: number;
36
36
  conversations: number;
37
37
  date: string;
@@ -41,7 +41,7 @@ export interface RequesterActivityDayReport {
41
41
  runs: number;
42
42
  tokens?: number;
43
43
  }
44
- export interface RequesterTotalsReport {
44
+ export interface ActorTotalsReport {
45
45
  active: number;
46
46
  activeDays: number;
47
47
  conversations: number;
@@ -51,34 +51,34 @@ export interface RequesterTotalsReport {
51
51
  runs: number;
52
52
  tokens?: number;
53
53
  }
54
- export interface RequesterSummaryReport extends RequesterTotalsReport {
54
+ export interface ActorSummaryReport extends ActorTotalsReport {
55
55
  firstSeenAt: string;
56
56
  lastSeenAt: string;
57
- requester: RequesterIdentity & {
57
+ actor: ActorIdentity & {
58
58
  email: string;
59
59
  };
60
60
  }
61
- export interface RequesterDirectoryReport {
61
+ export interface ActorDirectoryReport {
62
62
  generatedAt: string;
63
- people: RequesterSummaryReport[];
63
+ people: ActorSummaryReport[];
64
64
  sampleLimit: number;
65
65
  sampleSize: number;
66
66
  source: "conversation_index";
67
67
  truncated: boolean;
68
68
  }
69
- export interface RequesterProfileReport {
70
- activityDays: RequesterActivityDayReport[];
69
+ export interface ActorProfileReport {
70
+ activityDays: ActorActivityDayReport[];
71
71
  generatedAt: string;
72
72
  locations: ConversationStatsItem[];
73
73
  recentConversations: ConversationSummaryReport[];
74
- requester: RequesterIdentity & {
74
+ actor: ActorIdentity & {
75
75
  email: string;
76
76
  };
77
77
  sampleLimit: number;
78
78
  sampleSize: number;
79
79
  source: "conversation_index";
80
80
  surfaces: ConversationStatsItem[];
81
- totals: RequesterTotalsReport;
81
+ totals: ActorTotalsReport;
82
82
  truncated: boolean;
83
83
  windowEnd: string;
84
84
  windowStart: string;
@@ -8,6 +8,6 @@ export type { JuniorPluginInput, JuniorPluginSet, JuniorPluginSetOptions, } from
8
8
  export type { PluginRunContext, PluginRunTranscriptEntry, PluginTaskContext, PluginTaskDefinition, PluginTasks, SubscribableResource, } from "@sentry/junior-plugin-api";
9
9
  export { definePluginTool, pluginRunContextSchema, pluginRunTranscriptEntrySchema, } from "@sentry/junior-plugin-api";
10
10
  export { createJuniorReporting } from "./reporting";
11
- export type { PluginConversationStatus, PluginConversations, PluginConversationSummary, ConversationActivityReport, ConversationActivityStatus, ConversationFeed, ConversationReport, ConversationReportStatus, ConversationRunReport, ConversationSubagentActivityReport, ConversationStatsItem, ConversationStatsReport, ConversationSummaryReport, ConversationSurface, ConversationToolActivityReport, ConversationUsage, HealthReport, JuniorReporting, PluginOperationalReport, PluginOperationalReportFeed, PluginPackageContentItemReport, PluginPackageContentReport, PluginReport, RequesterIdentity, RuntimeInfoReport, SkillReport, TranscriptMessage, TranscriptPart, TranscriptPartType, TranscriptRole, } from "./reporting";
11
+ export type { PluginConversationStatus, PluginConversations, PluginConversationSummary, ConversationActivityReport, ConversationActivityStatus, ConversationFeed, ConversationReport, ConversationReportStatus, ConversationRunReport, ConversationSubagentActivityReport, ConversationStatsItem, ConversationStatsReport, ConversationSummaryReport, ConversationSurface, ConversationToolActivityReport, ConversationUsage, HealthReport, JuniorReporting, PluginOperationalReport, PluginOperationalReportFeed, PluginPackageContentItemReport, PluginPackageContentReport, PluginReport, ActorIdentity, RuntimeInfoReport, SkillReport, TranscriptMessage, TranscriptPart, TranscriptPartType, TranscriptRole, } from "./reporting";
12
12
  export { juniorVercelConfig } from "./vercel";
13
13
  export type { JuniorVercelConfigOptions } from "./vercel";