@sentry/junior 0.159.0 → 0.161.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 (82) hide show
  1. package/dist/{agent-hooks-IAD3AANZ.js → agent-hooks-O75UJNC6.js} +13 -10
  2. package/dist/api/conversations/events.d.ts +1 -1
  3. package/dist/api/locations/detail.d.ts +17 -0
  4. package/dist/api/people/plugin-reports.d.ts +7 -0
  5. package/dist/api/schema/conversation.d.ts +109 -8
  6. package/dist/api/schema/location.d.ts +29 -0
  7. package/dist/api/schema/person.d.ts +29 -0
  8. package/dist/api/schema.js +1 -1
  9. package/dist/api.js +137 -27
  10. package/dist/app.js +73 -42
  11. package/dist/{catalog-runtime-6VANKLH5.js → catalog-runtime-Z3FHU4ZY.js} +5 -5
  12. package/dist/chat/artifacts/store.d.ts +42 -0
  13. package/dist/chat/conversations/history.d.ts +31 -1
  14. package/dist/chat/conversations/projection.d.ts +13 -0
  15. package/dist/chat/plugins/agent-hooks.d.ts +9 -1
  16. package/dist/chat/plugins/annotations.d.ts +3 -0
  17. package/dist/chat/plugins/conversation-sidebar.d.ts +3 -0
  18. package/dist/chat/plugins/viewer.d.ts +4 -0
  19. package/dist/chat/slack/mrkdwn.d.ts +3 -4
  20. package/dist/chat/slack/tools/send-files.d.ts +2 -2
  21. package/dist/chat/tool-support/action-review.d.ts +5 -4
  22. package/dist/chat/tools/publish-image.d.ts +44 -0
  23. package/dist/chat/tools/search-conversation-events.d.ts +1 -1
  24. package/dist/chat/tools/unpublish-image.d.ts +35 -0
  25. package/dist/{chunk-YSMAMSOU.js → chunk-4WAZ6DGX.js} +10 -10
  26. package/dist/{chunk-AIQKUJKK.js → chunk-6ILVZOF6.js} +4 -4
  27. package/dist/{chunk-YCBZ47LC.js → chunk-6WTDZKFR.js} +1 -1
  28. package/dist/{chunk-CNHELV2P.js → chunk-CGAIDDLD.js} +1 -1
  29. package/dist/{chunk-U7D4VLUF.js → chunk-DGKLYDX7.js} +2 -2
  30. package/dist/{chunk-TD7ZQZ5W.js → chunk-DNSIU27S.js} +1 -1
  31. package/dist/{chunk-PT7B6A3O.js → chunk-EAIQBR66.js} +1 -1
  32. package/dist/{chunk-O2DZWUPQ.js → chunk-FLMD25Y5.js} +239 -199
  33. package/dist/{chunk-FWDN67U3.js → chunk-G35DUPNB.js} +4 -4
  34. package/dist/{chunk-UG673UVL.js → chunk-HSFYTIS2.js} +1 -1
  35. package/dist/{chunk-WTQ3CKC3.js → chunk-IRHX2S46.js} +1 -1
  36. package/dist/{chunk-DXSZJAVZ.js → chunk-IW7C5C7E.js} +19 -21
  37. package/dist/{chunk-Q5X37U6G.js → chunk-IYFKONIL.js} +1 -1
  38. package/dist/{chunk-EBP6IS66.js → chunk-MNY5M7RB.js} +537 -27
  39. package/dist/{chunk-6IADZQJR.js → chunk-MVG5UPLM.js} +1 -1
  40. package/dist/{chunk-27UQ7UB3.js → chunk-O7JTSJPU.js} +6 -6
  41. package/dist/{chunk-NCJV265M.js → chunk-OPIJ6HY3.js} +9 -9
  42. package/dist/{chunk-X7AIXRVJ.js → chunk-OY2DBUV4.js} +5 -5
  43. package/dist/{chunk-SQOVZSWF.js → chunk-OYQEO72I.js} +480 -125
  44. package/dist/{chunk-UP6KQVF5.js → chunk-QHXT7LLF.js} +1 -1
  45. package/dist/{chunk-UKKOKMRE.js → chunk-QQ7SY5IZ.js} +5 -5
  46. package/dist/{chunk-PQWWCKNB.js → chunk-RULQD7OX.js} +4 -4
  47. package/dist/{chunk-L2PEQ2PY.js → chunk-RVENVPNO.js} +2 -2
  48. package/dist/{chunk-EQXVKNLM.js → chunk-SA6BEEAB.js} +27 -9
  49. package/dist/{chunk-54O6IKUS.js → chunk-STZVUVMS.js} +40 -4
  50. package/dist/{chunk-QODFNKQS.js → chunk-U2XOBFDK.js} +17 -3
  51. package/dist/{chunk-AZW5HKC5.js → chunk-V67ORYKQ.js} +8 -10
  52. package/dist/{chunk-DJZPA72K.js → chunk-VXFDVY4C.js} +8 -36
  53. package/dist/{chunk-LUIKMY35.js → chunk-WKN4ZQTZ.js} +1 -1
  54. package/dist/{chunk-OGMHLKNO.js → chunk-WVSQ2SCS.js} +1 -1
  55. package/dist/{chunk-IJ6KWS3V.js → chunk-YSWHAOPQ.js} +1 -1
  56. package/dist/{chunk-NT6V5WEE.js → chunk-ZBCLWBMV.js} +5 -5
  57. package/dist/cli/chat.js +29 -30
  58. package/dist/cli/check.js +6 -6
  59. package/dist/cli/plugins.js +12 -13
  60. package/dist/cli/snapshot-create.js +9 -9
  61. package/dist/cli/upgrade.js +7 -7
  62. package/dist/db/schema/artifacts.d.ts +178 -0
  63. package/dist/db/schema.d.ts +179 -1
  64. package/dist/{db-BIIMAPFB.js → db-KKOZRE62.js} +7 -7
  65. package/dist/handlers/artifacts.d.ts +8 -0
  66. package/dist/instrumentation.js +4 -4
  67. package/dist/nitro.js +2 -2
  68. package/dist/{oauth-callback-server-4BENCPP3.js → oauth-callback-server-5AUZDWXA.js} +22 -23
  69. package/dist/{runner-TUBJLEYO.js → runner-K5H5NDEC.js} +12 -13
  70. package/dist/{skills-MBRLNBRV.js → skills-OZGPB6G4.js} +6 -6
  71. package/dist/spawn-RCQSC2L5.js +37 -0
  72. package/dist/{validation-YTJGRJYT.js → validation-TVHCNCYL.js} +6 -6
  73. package/dist/version.js +1 -1
  74. package/dist/{work-5MRHKA54.js → work-DXCQMJ5U.js} +17 -17
  75. package/dist/worker-24HZ5HRI.js +24 -0
  76. package/migrations/0028_artifacts.sql +16 -0
  77. package/migrations/meta/0028_snapshot.json +2685 -0
  78. package/migrations/meta/_journal.json +8 -1
  79. package/package.json +4 -4
  80. package/dist/chunk-K2LAI7RW.js +0 -441
  81. package/dist/spawn-ZWIXA46E.js +0 -37
  82. package/dist/worker-S2V7HZJ4.js +0 -24
@@ -1,8 +1,10 @@
1
1
  import {
2
2
  PluginHookDeniedError,
3
+ applyPluginFormatMarkdown,
3
4
  createPluginHookRunner,
4
5
  getPluginApiRoutes,
5
6
  getPluginOperationalReports,
7
+ getPluginProfileReports,
6
8
  getPluginRoutes,
7
9
  getPluginSlackConversationLink,
8
10
  getPluginSystemPromptContributions,
@@ -11,26 +13,27 @@ import {
11
13
  getPlugins,
12
14
  setPlugins,
13
15
  validatePlugins
14
- } from "./chunk-EBP6IS66.js";
15
- import "./chunk-K2LAI7RW.js";
16
- import "./chunk-QODFNKQS.js";
17
- import "./chunk-O2DZWUPQ.js";
16
+ } from "./chunk-MNY5M7RB.js";
17
+ import "./chunk-U2XOBFDK.js";
18
+ import "./chunk-FLMD25Y5.js";
18
19
  import "./chunk-EM225ITJ.js";
19
- import "./chunk-Q5X37U6G.js";
20
- import "./chunk-L2PEQ2PY.js";
20
+ import "./chunk-IYFKONIL.js";
21
+ import "./chunk-RVENVPNO.js";
21
22
  import "./chunk-VFUK3X5B.js";
22
- import "./chunk-PT7B6A3O.js";
23
+ import "./chunk-EAIQBR66.js";
23
24
  import "./chunk-V7YE4WCP.js";
24
- import "./chunk-TD7ZQZ5W.js";
25
+ import "./chunk-DNSIU27S.js";
25
26
  import "./chunk-6GWA276C.js";
26
- import "./chunk-OGMHLKNO.js";
27
- import "./chunk-LUIKMY35.js";
27
+ import "./chunk-WVSQ2SCS.js";
28
+ import "./chunk-WKN4ZQTZ.js";
28
29
  import "./chunk-MLKGABMK.js";
29
30
  export {
30
31
  PluginHookDeniedError,
32
+ applyPluginFormatMarkdown,
31
33
  createPluginHookRunner,
32
34
  getPluginApiRoutes,
33
35
  getPluginOperationalReports,
36
+ getPluginProfileReports,
34
37
  getPluginRoutes,
35
38
  getPluginSlackConversationLink,
36
39
  getPluginSystemPromptContributions,
@@ -1,7 +1,7 @@
1
1
  import type { ConversationEvent } from "@/chat/conversations/history";
2
2
  import { type ConversationReportEvent } from "../schema/conversation";
3
3
  /** Canonical event types that can contribute to the reporting projection. */
4
- export declare const conversationReportSourceEventTypes: readonly ["message", "message_handled", "assistant_message", "tool_result", "tool_execution_started", "guardian_action_reviewed", "turn_started", "turn_context", "structured_event", "turn_routed", "turn_completed", "turn_failed", "compaction", "handoff", "subagent_started", "subagent_ended"];
4
+ export declare const conversationReportSourceEventTypes: readonly ["message", "message_handled", "assistant_message", "tool_result", "tool_execution_started", "guardian_action_reviewed", "turn_started", "turn_context", "structured_event", "attachments_delivered", "turn_routed", "turn_completed", "turn_failed", "compaction", "handoff", "subagent_started", "subagent_ended"];
5
5
  /** Return tool result ids that may need start metadata from outside a page. */
6
6
  export declare function conversationReportToolResultIds(events: ConversationEvent[]): string[];
7
7
  /**
@@ -88,6 +88,23 @@ export declare function readLocationDetail(locationId: string, options?: {
88
88
  sentryTraceUrl?: string | undefined;
89
89
  sourceUrl?: string | undefined;
90
90
  traceId?: string | undefined;
91
+ annotations?: ({
92
+ kind: "resource_link";
93
+ key: string;
94
+ label: string;
95
+ url: string;
96
+ description?: string | undefined;
97
+ status?: "open" | "draft" | "closed" | "merged" | "warning" | undefined;
98
+ } & {
99
+ plugin: string;
100
+ createdAt: string;
101
+ updatedAt: string;
102
+ })[] | undefined;
103
+ sidebarAnnotations?: {
104
+ key: string;
105
+ label: string;
106
+ icon?: "circle-dot" | "circle-dashed" | "circle-x" | "git-merge" | "triangle-alert" | undefined;
107
+ }[] | undefined;
91
108
  assignedWork?: boolean | undefined;
92
109
  finishedWorkAt?: string | undefined;
93
110
  isPriority?: boolean | undefined;
@@ -0,0 +1,7 @@
1
+ import type { User } from "@sentry/junior-plugin-api";
2
+ import { type PluginOperationalReportFeed } from "@/reporting-schema";
3
+ /** Read sanitized person-scoped plugin reports for one profile subject. */
4
+ export declare function readPeoplePluginReports(args: {
5
+ email: string;
6
+ viewer: User;
7
+ }): Promise<PluginOperationalReportFeed>;
@@ -241,6 +241,35 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
241
241
  sentryTraceUrl: z.ZodOptional<z.ZodString>;
242
242
  sourceUrl: z.ZodOptional<z.ZodString>;
243
243
  traceId: z.ZodOptional<z.ZodString>;
244
+ annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
245
+ kind: z.ZodLiteral<"resource_link">;
246
+ key: z.ZodString;
247
+ label: z.ZodString;
248
+ url: z.ZodString;
249
+ description: z.ZodOptional<z.ZodString>;
250
+ status: z.ZodOptional<z.ZodEnum<{
251
+ open: "open";
252
+ draft: "draft";
253
+ closed: "closed";
254
+ merged: "merged";
255
+ warning: "warning";
256
+ }>>;
257
+ }, z.core.$strict>], "kind">, z.ZodObject<{
258
+ plugin: z.ZodString;
259
+ createdAt: z.ZodString;
260
+ updatedAt: z.ZodString;
261
+ }, z.core.$strip>>>>;
262
+ sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
263
+ icon: z.ZodOptional<z.ZodEnum<{
264
+ "circle-dot": "circle-dot";
265
+ "circle-dashed": "circle-dashed";
266
+ "circle-x": "circle-x";
267
+ "git-merge": "git-merge";
268
+ "triangle-alert": "triangle-alert";
269
+ }>>;
270
+ key: z.ZodString;
271
+ label: z.ZodString;
272
+ }, z.core.$strict>>>;
244
273
  assignedWork: z.ZodOptional<z.ZodBoolean>;
245
274
  finishedWorkAt: z.ZodOptional<z.ZodString>;
246
275
  isPriority: z.ZodOptional<z.ZodBoolean>;
@@ -347,18 +376,26 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
347
376
  icon: z.ZodOptional<z.ZodEnum<{
348
377
  check: "check";
349
378
  key: "key";
379
+ link: "link";
350
380
  warning: "warning";
351
381
  activity: "activity";
352
382
  brain: "brain";
353
383
  calendar: "calendar";
354
384
  database: "database";
355
385
  info: "info";
356
- link: "link";
357
386
  sparkles: "sparkles";
358
387
  }>>;
359
388
  preview: z.ZodOptional<z.ZodString>;
360
389
  title: z.ZodString;
361
390
  }, z.core.$strict>;
391
+ }, z.core.$strict>, z.ZodObject<{
392
+ type: z.ZodLiteral<"attachments_delivered">;
393
+ attachments: z.ZodArray<z.ZodObject<{
394
+ id: z.ZodString;
395
+ filename: z.ZodString;
396
+ contentType: z.ZodString;
397
+ bytes: z.ZodNumber;
398
+ }, z.core.$strict>>;
362
399
  }, z.core.$strict>, z.ZodObject<{
363
400
  type: z.ZodLiteral<"turn_routed">;
364
401
  turnId: z.ZodString;
@@ -534,18 +571,26 @@ export declare const conversationReportEventSchema: z.ZodObject<{
534
571
  icon: z.ZodOptional<z.ZodEnum<{
535
572
  check: "check";
536
573
  key: "key";
574
+ link: "link";
537
575
  warning: "warning";
538
576
  activity: "activity";
539
577
  brain: "brain";
540
578
  calendar: "calendar";
541
579
  database: "database";
542
580
  info: "info";
543
- link: "link";
544
581
  sparkles: "sparkles";
545
582
  }>>;
546
583
  preview: z.ZodOptional<z.ZodString>;
547
584
  title: z.ZodString;
548
585
  }, z.core.$strict>;
586
+ }, z.core.$strict>, z.ZodObject<{
587
+ type: z.ZodLiteral<"attachments_delivered">;
588
+ attachments: z.ZodArray<z.ZodObject<{
589
+ id: z.ZodString;
590
+ filename: z.ZodString;
591
+ contentType: z.ZodString;
592
+ bytes: z.ZodNumber;
593
+ }, z.core.$strict>>;
549
594
  }, z.core.$strict>, z.ZodObject<{
550
595
  type: z.ZodLiteral<"turn_routed">;
551
596
  turnId: z.ZodString;
@@ -707,10 +752,6 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
707
752
  sentryTraceUrl: z.ZodOptional<z.ZodString>;
708
753
  sourceUrl: z.ZodOptional<z.ZodString>;
709
754
  traceId: z.ZodOptional<z.ZodString>;
710
- assignedWork: z.ZodOptional<z.ZodBoolean>;
711
- finishedWorkAt: z.ZodOptional<z.ZodString>;
712
- isPriority: z.ZodOptional<z.ZodBoolean>;
713
- unfinishedWork: z.ZodOptional<z.ZodBoolean>;
714
755
  annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
715
756
  kind: z.ZodLiteral<"resource_link">;
716
757
  key: z.ZodString;
@@ -729,6 +770,21 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
729
770
  createdAt: z.ZodString;
730
771
  updatedAt: z.ZodString;
731
772
  }, z.core.$strip>>>>;
773
+ sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
774
+ icon: z.ZodOptional<z.ZodEnum<{
775
+ "circle-dot": "circle-dot";
776
+ "circle-dashed": "circle-dashed";
777
+ "circle-x": "circle-x";
778
+ "git-merge": "git-merge";
779
+ "triangle-alert": "triangle-alert";
780
+ }>>;
781
+ key: z.ZodString;
782
+ label: z.ZodString;
783
+ }, z.core.$strict>>>;
784
+ assignedWork: z.ZodOptional<z.ZodBoolean>;
785
+ finishedWorkAt: z.ZodOptional<z.ZodString>;
786
+ isPriority: z.ZodOptional<z.ZodBoolean>;
787
+ unfinishedWork: z.ZodOptional<z.ZodBoolean>;
732
788
  modelUsage: z.ZodOptional<z.ZodArray<z.ZodObject<{
733
789
  modelId: z.ZodString;
734
790
  usage: z.ZodObject<{
@@ -850,18 +906,26 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
850
906
  icon: z.ZodOptional<z.ZodEnum<{
851
907
  check: "check";
852
908
  key: "key";
909
+ link: "link";
853
910
  warning: "warning";
854
911
  activity: "activity";
855
912
  brain: "brain";
856
913
  calendar: "calendar";
857
914
  database: "database";
858
915
  info: "info";
859
- link: "link";
860
916
  sparkles: "sparkles";
861
917
  }>>;
862
918
  preview: z.ZodOptional<z.ZodString>;
863
919
  title: z.ZodString;
864
920
  }, z.core.$strict>;
921
+ }, z.core.$strict>, z.ZodObject<{
922
+ type: z.ZodLiteral<"attachments_delivered">;
923
+ attachments: z.ZodArray<z.ZodObject<{
924
+ id: z.ZodString;
925
+ filename: z.ZodString;
926
+ contentType: z.ZodString;
927
+ bytes: z.ZodNumber;
928
+ }, z.core.$strict>>;
865
929
  }, z.core.$strict>, z.ZodObject<{
866
930
  type: z.ZodLiteral<"turn_routed">;
867
931
  turnId: z.ZodString;
@@ -1060,18 +1124,26 @@ export declare const conversationEventPageSchema: z.ZodObject<{
1060
1124
  icon: z.ZodOptional<z.ZodEnum<{
1061
1125
  check: "check";
1062
1126
  key: "key";
1127
+ link: "link";
1063
1128
  warning: "warning";
1064
1129
  activity: "activity";
1065
1130
  brain: "brain";
1066
1131
  calendar: "calendar";
1067
1132
  database: "database";
1068
1133
  info: "info";
1069
- link: "link";
1070
1134
  sparkles: "sparkles";
1071
1135
  }>>;
1072
1136
  preview: z.ZodOptional<z.ZodString>;
1073
1137
  title: z.ZodString;
1074
1138
  }, z.core.$strict>;
1139
+ }, z.core.$strict>, z.ZodObject<{
1140
+ type: z.ZodLiteral<"attachments_delivered">;
1141
+ attachments: z.ZodArray<z.ZodObject<{
1142
+ id: z.ZodString;
1143
+ filename: z.ZodString;
1144
+ contentType: z.ZodString;
1145
+ bytes: z.ZodNumber;
1146
+ }, z.core.$strict>>;
1075
1147
  }, z.core.$strict>, z.ZodObject<{
1076
1148
  type: z.ZodLiteral<"turn_routed">;
1077
1149
  turnId: z.ZodString;
@@ -1218,6 +1290,35 @@ export declare const conversationFeedSchema: z.ZodObject<{
1218
1290
  sentryTraceUrl: z.ZodOptional<z.ZodString>;
1219
1291
  sourceUrl: z.ZodOptional<z.ZodString>;
1220
1292
  traceId: z.ZodOptional<z.ZodString>;
1293
+ annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
1294
+ kind: z.ZodLiteral<"resource_link">;
1295
+ key: z.ZodString;
1296
+ label: z.ZodString;
1297
+ url: z.ZodString;
1298
+ description: z.ZodOptional<z.ZodString>;
1299
+ status: z.ZodOptional<z.ZodEnum<{
1300
+ open: "open";
1301
+ draft: "draft";
1302
+ closed: "closed";
1303
+ merged: "merged";
1304
+ warning: "warning";
1305
+ }>>;
1306
+ }, z.core.$strict>], "kind">, z.ZodObject<{
1307
+ plugin: z.ZodString;
1308
+ createdAt: z.ZodString;
1309
+ updatedAt: z.ZodString;
1310
+ }, z.core.$strip>>>>;
1311
+ sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
1312
+ icon: z.ZodOptional<z.ZodEnum<{
1313
+ "circle-dot": "circle-dot";
1314
+ "circle-dashed": "circle-dashed";
1315
+ "circle-x": "circle-x";
1316
+ "git-merge": "git-merge";
1317
+ "triangle-alert": "triangle-alert";
1318
+ }>>;
1319
+ key: z.ZodString;
1320
+ label: z.ZodString;
1321
+ }, z.core.$strict>>>;
1221
1322
  assignedWork: z.ZodOptional<z.ZodBoolean>;
1222
1323
  finishedWorkAt: z.ZodOptional<z.ZodString>;
1223
1324
  isPriority: z.ZodOptional<z.ZodBoolean>;
@@ -195,6 +195,35 @@ export declare const locationDetailReportSchema: z.ZodObject<{
195
195
  sentryTraceUrl: z.ZodOptional<z.ZodString>;
196
196
  sourceUrl: z.ZodOptional<z.ZodString>;
197
197
  traceId: z.ZodOptional<z.ZodString>;
198
+ annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
199
+ kind: z.ZodLiteral<"resource_link">;
200
+ key: z.ZodString;
201
+ label: z.ZodString;
202
+ url: z.ZodString;
203
+ description: z.ZodOptional<z.ZodString>;
204
+ status: z.ZodOptional<z.ZodEnum<{
205
+ open: "open";
206
+ draft: "draft";
207
+ closed: "closed";
208
+ merged: "merged";
209
+ warning: "warning";
210
+ }>>;
211
+ }, z.core.$strict>], "kind">, z.ZodObject<{
212
+ plugin: z.ZodString;
213
+ createdAt: z.ZodString;
214
+ updatedAt: z.ZodString;
215
+ }, z.core.$strip>>>>;
216
+ sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
217
+ icon: z.ZodOptional<z.ZodEnum<{
218
+ "circle-dot": "circle-dot";
219
+ "circle-dashed": "circle-dashed";
220
+ "circle-x": "circle-x";
221
+ "git-merge": "git-merge";
222
+ "triangle-alert": "triangle-alert";
223
+ }>>;
224
+ key: z.ZodString;
225
+ label: z.ZodString;
226
+ }, z.core.$strict>>>;
198
227
  assignedWork: z.ZodOptional<z.ZodBoolean>;
199
228
  finishedWorkAt: z.ZodOptional<z.ZodString>;
200
229
  isPriority: z.ZodOptional<z.ZodBoolean>;
@@ -162,6 +162,35 @@ export declare const actorProfileReportSchema: z.ZodObject<{
162
162
  sentryTraceUrl: z.ZodOptional<z.ZodString>;
163
163
  sourceUrl: z.ZodOptional<z.ZodString>;
164
164
  traceId: z.ZodOptional<z.ZodString>;
165
+ annotations: z.ZodOptional<z.ZodArray<z.ZodIntersection<z.ZodDiscriminatedUnion<[z.ZodObject<{
166
+ kind: z.ZodLiteral<"resource_link">;
167
+ key: z.ZodString;
168
+ label: z.ZodString;
169
+ url: z.ZodString;
170
+ description: z.ZodOptional<z.ZodString>;
171
+ status: z.ZodOptional<z.ZodEnum<{
172
+ open: "open";
173
+ draft: "draft";
174
+ closed: "closed";
175
+ merged: "merged";
176
+ warning: "warning";
177
+ }>>;
178
+ }, z.core.$strict>], "kind">, z.ZodObject<{
179
+ plugin: z.ZodString;
180
+ createdAt: z.ZodString;
181
+ updatedAt: z.ZodString;
182
+ }, z.core.$strip>>>>;
183
+ sidebarAnnotations: z.ZodOptional<z.ZodArray<z.ZodObject<{
184
+ icon: z.ZodOptional<z.ZodEnum<{
185
+ "circle-dot": "circle-dot";
186
+ "circle-dashed": "circle-dashed";
187
+ "circle-x": "circle-x";
188
+ "git-merge": "git-merge";
189
+ "triangle-alert": "triangle-alert";
190
+ }>>;
191
+ key: z.ZodString;
192
+ label: z.ZodString;
193
+ }, z.core.$strict>>>;
165
194
  assignedWork: z.ZodOptional<z.ZodBoolean>;
166
195
  finishedWorkAt: z.ZodOptional<z.ZodString>;
167
196
  isPriority: z.ZodOptional<z.ZodBoolean>;
@@ -52,7 +52,7 @@ import {
52
52
  taskRunListSchema,
53
53
  taskRunSchema,
54
54
  taskSummarySchema
55
- } from "../chunk-EQXVKNLM.js";
55
+ } from "../chunk-SA6BEEAB.js";
56
56
  import {
57
57
  healthReportSchema,
58
58
  pluginOperationalReportFeedSchema,