@sentry/junior 0.222.0 → 0.223.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 (58) hide show
  1. package/dist/{agent-7kKtDe-6.js → agent-Bzbf92vv.js} +87 -52
  2. package/dist/{agent-hooks-DkriF84n.js → agent-hooks-DZU5nsd1.js} +60 -16
  3. package/dist/{agent-runner-D0ImXS7U.js → agent-runner-2VQ9WhkG.js} +5 -5
  4. package/dist/api/schema.d.ts +160 -11
  5. package/dist/api/schema.js +2 -2
  6. package/dist/api.js +16 -16
  7. package/dist/{app-C0zbsnr7.d.ts → app-BbSD6EtD.d.ts} +1 -1
  8. package/dist/app.d.ts +1 -1
  9. package/dist/app.js +120 -39
  10. package/dist/{auth-pause-state-3OT67TA8.js → auth-pause-state-Bn2vX4PA.js} +14 -25
  11. package/dist/{briefs-CNH1ztn5.js → briefs-BJPfCrlT.js} +6 -6
  12. package/dist/{catalog-runtime-XH_LFA_7.js → catalog-runtime-BthunUDD.js} +1 -1
  13. package/dist/{checkpoint-CRod8es5.js → checkpoint-Deu-OVb3.js} +11 -8
  14. package/dist/cli/chat.js +13 -13
  15. package/dist/cli/check.js +3 -3
  16. package/dist/cli/main.js +1 -1
  17. package/dist/cli/plugins.js +3 -3
  18. package/dist/cli/snapshot-create.js +3 -3
  19. package/dist/cli/upgrade.js +3 -3
  20. package/dist/{client-CcSboWx_.js → client-DjC6-6iU.js} +56 -6
  21. package/dist/{config-CGYv-YPE.js → config-CtoUVs72.js} +6 -7
  22. package/dist/{conversation-BBDt88di.js → conversation-1HUoZr2l.js} +33 -5
  23. package/dist/{conversation-privacy-BGjdDVWD.js → conversation-privacy-xS1t92xa.js} +1 -1
  24. package/dist/{credential-sync-BfzGNruT.js → credential-sync-CKdXEUDO.js} +77 -23
  25. package/dist/{execution-stats-D97ePWuM.js → execution-stats-CrXs9vSH.js} +3 -3
  26. package/dist/{executor-BLBZ-UB8.js → executor-AOhG9X1t.js} +1 -1
  27. package/dist/{history-CaV8Ww7M.d.ts → history-yaSjGMD_.d.ts} +18 -0
  28. package/dist/instrumentation.js +2 -2
  29. package/dist/{job-queue-_8gxwDzt.js → job-queue-CNd9cpIy.js} +1 -1
  30. package/dist/{logging-qmsMdU0y.js → logging-DiN3o3nB.js} +1 -1
  31. package/dist/nitro.d.ts +1 -1
  32. package/dist/nitro.js +3 -3
  33. package/dist/{oauth-callback-server-Mjfm46A5.js → oauth-callback-server-Ca0VLUEw.js} +2 -2
  34. package/dist/{pending-auth-_1Ry-_Bw.js → pending-auth-D7vmttn_.js} +2 -2
  35. package/dist/{profile-DbG8AlNd.js → profile-BsNrw8lj.js} +4 -4
  36. package/dist/{prompt-B8rCQI7K.js → prompt-90miy8VV.js} +1 -1
  37. package/dist/{registry-DGyQCsiy.js → registry-Dankt-Pl.js} +1 -1
  38. package/dist/{resolve-D5SqDbCA.js → resolve-B38CpJe2.js} +2 -2
  39. package/dist/{runner-BRAFjJhe.js → runner-Ck5rEjCm.js} +10 -10
  40. package/dist/{sandbox-egress-signals-CdI1aVHT.js → sandbox-egress-signals-BOfFkvly.js} +1 -1
  41. package/dist/{schema-CTOODa3L.js → schema-RpbW5Od2.js} +1 -1
  42. package/dist/{short-title-CB2fxEyx.js → short-title-BHd_jUFX.js} +2 -2
  43. package/dist/{skills-BoS3b8cg.js → skills-DbP4TDft.js} +2 -2
  44. package/dist/{spawn-BXCU1udr.js → spawn-DzXc_PKO.js} +2 -2
  45. package/dist/{stats-qUXQZq-w.js → stats-pNGp3G5q.js} +19 -17
  46. package/dist/{task-queue-Di_q8922.js → task-queue-Cy9y1foT.js} +3 -3
  47. package/dist/{task-runner-4rCppQMo.js → task-runner-DI1FBJFJ.js} +8 -8
  48. package/dist/{thread-state-2Paza8DV.js → thread-state-DXgxOYpZ.js} +5 -5
  49. package/dist/{turn-execution--F7a9kEU.js → turn-execution-BNOXrZ-M.js} +3 -3
  50. package/dist/{turn-lifecycle-f-y0Irpi.js → turn-lifecycle-Bjf6y2GO.js} +1 -1
  51. package/dist/{validation-Be9lSORU.js → validation-D5CIslEu.js} +1 -1
  52. package/dist/{version-BydrOZMQ.js → version-_ZQFlslB.js} +1 -1
  53. package/dist/version.js +1 -1
  54. package/dist/{web-authorization-BdfOkTuG.js → web-authorization-6mmfS_o-.js} +1 -1
  55. package/dist/{web-input-DegYUyKU.js → web-input-BJpWm6go.js} +7 -7
  56. package/dist/{work-Citqpnfc.js → work-DvIlJR3C.js} +9 -9
  57. package/dist/{worker-Bn_HFyvM.js → worker-D1qidg-Y.js} +5 -5
  58. package/package.json +4 -4
@@ -1,5 +1,6 @@
1
- import { i as messageCardText, n as conversationTurnFailureReasonSchema, r as MessageCard, t as conversationTurnFailureCodeSchema } from "../history-CaV8Ww7M.js";
1
+ import { i as messageCardText, n as conversationTurnFailureReasonSchema, r as MessageCard, t as conversationTurnFailureCodeSchema } from "../history-yaSjGMD_.js";
2
2
  import { z } from "zod";
3
+ import { OwnedObjectAnnotation } from "@sentry/junior-plugin-api";
3
4
  //#region src/chat/automations/card.d.ts
4
5
  /** Saved automation facts shown with a Message, not a live status view. */
5
6
  declare const automationCardSchema: z.ZodObject<{
@@ -443,12 +444,28 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
443
444
  url: z.ZodString;
444
445
  description: z.ZodOptional<z.ZodString>;
445
446
  status: z.ZodOptional<z.ZodEnum<{
447
+ warning: "warning";
446
448
  open: "open";
447
449
  draft: "draft";
448
450
  closed: "closed";
449
451
  merged: "merged";
450
- warning: "warning";
451
452
  }>>;
453
+ }, z.core.$strict>, z.ZodObject<{
454
+ kind: z.ZodLiteral<"object">;
455
+ key: z.ZodString;
456
+ label: z.ZodString;
457
+ objectType: z.ZodEnum<{
458
+ task: "task";
459
+ code_change: "code_change";
460
+ automation: "automation";
461
+ item: "item";
462
+ }>;
463
+ title: z.ZodString;
464
+ url: z.ZodNullable<z.ZodURL>;
465
+ description: z.ZodOptional<z.ZodString>;
466
+ status: z.ZodOptional<z.ZodString>;
467
+ trigger: z.ZodOptional<z.ZodString>;
468
+ warning: z.ZodOptional<z.ZodString>;
452
469
  }, z.core.$strict>], "kind">, z.ZodObject<{
453
470
  plugin: z.ZodString;
454
471
  createdAt: z.ZodString;
@@ -501,6 +518,23 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
501
518
  instruction: z.ZodString;
502
519
  trigger: z.ZodString;
503
520
  warning: z.ZodNullable<z.ZodString>;
521
+ }, z.core.$strict>, z.ZodObject<{
522
+ kind: z.ZodLiteral<"object">;
523
+ key: z.ZodString;
524
+ label: z.ZodString;
525
+ objectType: z.ZodEnum<{
526
+ task: "task";
527
+ code_change: "code_change";
528
+ automation: "automation";
529
+ item: "item";
530
+ }>;
531
+ title: z.ZodString;
532
+ url: z.ZodNullable<z.ZodURL>;
533
+ description: z.ZodOptional<z.ZodString>;
534
+ status: z.ZodOptional<z.ZodString>;
535
+ trigger: z.ZodOptional<z.ZodString>;
536
+ warning: z.ZodOptional<z.ZodString>;
537
+ plugin: z.ZodString;
504
538
  }, z.core.$strict>], "kind">>>;
505
539
  text: z.ZodOptional<z.ZodString>;
506
540
  redacted: z.ZodOptional<z.ZodLiteral<true>>;
@@ -603,8 +637,8 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
603
637
  icon: z.ZodOptional<z.ZodEnum<{
604
638
  check: "check";
605
639
  key: "key";
606
- link: "link";
607
640
  warning: "warning";
641
+ link: "link";
608
642
  activity: "activity";
609
643
  brain: "brain";
610
644
  calendar: "calendar";
@@ -727,6 +761,23 @@ export declare const conversationReportEventSchema: z.ZodObject<{
727
761
  instruction: z.ZodString;
728
762
  trigger: z.ZodString;
729
763
  warning: z.ZodNullable<z.ZodString>;
764
+ }, z.core.$strict>, z.ZodObject<{
765
+ kind: z.ZodLiteral<"object">;
766
+ key: z.ZodString;
767
+ label: z.ZodString;
768
+ objectType: z.ZodEnum<{
769
+ task: "task";
770
+ code_change: "code_change";
771
+ automation: "automation";
772
+ item: "item";
773
+ }>;
774
+ title: z.ZodString;
775
+ url: z.ZodNullable<z.ZodURL>;
776
+ description: z.ZodOptional<z.ZodString>;
777
+ status: z.ZodOptional<z.ZodString>;
778
+ trigger: z.ZodOptional<z.ZodString>;
779
+ warning: z.ZodOptional<z.ZodString>;
780
+ plugin: z.ZodString;
730
781
  }, z.core.$strict>], "kind">>>;
731
782
  text: z.ZodOptional<z.ZodString>;
732
783
  redacted: z.ZodOptional<z.ZodLiteral<true>>;
@@ -829,8 +880,8 @@ export declare const conversationReportEventSchema: z.ZodObject<{
829
880
  icon: z.ZodOptional<z.ZodEnum<{
830
881
  check: "check";
831
882
  key: "key";
832
- link: "link";
833
883
  warning: "warning";
884
+ link: "link";
834
885
  activity: "activity";
835
886
  brain: "brain";
836
887
  calendar: "calendar";
@@ -1031,12 +1082,28 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1031
1082
  url: z.ZodString;
1032
1083
  description: z.ZodOptional<z.ZodString>;
1033
1084
  status: z.ZodOptional<z.ZodEnum<{
1085
+ warning: "warning";
1034
1086
  open: "open";
1035
1087
  draft: "draft";
1036
1088
  closed: "closed";
1037
1089
  merged: "merged";
1038
- warning: "warning";
1039
1090
  }>>;
1091
+ }, z.core.$strict>, z.ZodObject<{
1092
+ kind: z.ZodLiteral<"object">;
1093
+ key: z.ZodString;
1094
+ label: z.ZodString;
1095
+ objectType: z.ZodEnum<{
1096
+ task: "task";
1097
+ code_change: "code_change";
1098
+ automation: "automation";
1099
+ item: "item";
1100
+ }>;
1101
+ title: z.ZodString;
1102
+ url: z.ZodNullable<z.ZodURL>;
1103
+ description: z.ZodOptional<z.ZodString>;
1104
+ status: z.ZodOptional<z.ZodString>;
1105
+ trigger: z.ZodOptional<z.ZodString>;
1106
+ warning: z.ZodOptional<z.ZodString>;
1040
1107
  }, z.core.$strict>], "kind">, z.ZodObject<{
1041
1108
  plugin: z.ZodString;
1042
1109
  createdAt: z.ZodString;
@@ -1185,6 +1252,23 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1185
1252
  instruction: z.ZodString;
1186
1253
  trigger: z.ZodString;
1187
1254
  warning: z.ZodNullable<z.ZodString>;
1255
+ }, z.core.$strict>, z.ZodObject<{
1256
+ kind: z.ZodLiteral<"object">;
1257
+ key: z.ZodString;
1258
+ label: z.ZodString;
1259
+ objectType: z.ZodEnum<{
1260
+ task: "task";
1261
+ code_change: "code_change";
1262
+ automation: "automation";
1263
+ item: "item";
1264
+ }>;
1265
+ title: z.ZodString;
1266
+ url: z.ZodNullable<z.ZodURL>;
1267
+ description: z.ZodOptional<z.ZodString>;
1268
+ status: z.ZodOptional<z.ZodString>;
1269
+ trigger: z.ZodOptional<z.ZodString>;
1270
+ warning: z.ZodOptional<z.ZodString>;
1271
+ plugin: z.ZodString;
1188
1272
  }, z.core.$strict>], "kind">>>;
1189
1273
  text: z.ZodOptional<z.ZodString>;
1190
1274
  redacted: z.ZodOptional<z.ZodLiteral<true>>;
@@ -1287,8 +1371,8 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1287
1371
  icon: z.ZodOptional<z.ZodEnum<{
1288
1372
  check: "check";
1289
1373
  key: "key";
1290
- link: "link";
1291
1374
  warning: "warning";
1375
+ link: "link";
1292
1376
  activity: "activity";
1293
1377
  brain: "brain";
1294
1378
  calendar: "calendar";
@@ -1434,6 +1518,23 @@ export declare const conversationEventPageSchema: z.ZodObject<{
1434
1518
  instruction: z.ZodString;
1435
1519
  trigger: z.ZodString;
1436
1520
  warning: z.ZodNullable<z.ZodString>;
1521
+ }, z.core.$strict>, z.ZodObject<{
1522
+ kind: z.ZodLiteral<"object">;
1523
+ key: z.ZodString;
1524
+ label: z.ZodString;
1525
+ objectType: z.ZodEnum<{
1526
+ task: "task";
1527
+ code_change: "code_change";
1528
+ automation: "automation";
1529
+ item: "item";
1530
+ }>;
1531
+ title: z.ZodString;
1532
+ url: z.ZodNullable<z.ZodURL>;
1533
+ description: z.ZodOptional<z.ZodString>;
1534
+ status: z.ZodOptional<z.ZodString>;
1535
+ trigger: z.ZodOptional<z.ZodString>;
1536
+ warning: z.ZodOptional<z.ZodString>;
1537
+ plugin: z.ZodString;
1437
1538
  }, z.core.$strict>], "kind">>>;
1438
1539
  text: z.ZodOptional<z.ZodString>;
1439
1540
  redacted: z.ZodOptional<z.ZodLiteral<true>>;
@@ -1536,8 +1637,8 @@ export declare const conversationEventPageSchema: z.ZodObject<{
1536
1637
  icon: z.ZodOptional<z.ZodEnum<{
1537
1638
  check: "check";
1538
1639
  key: "key";
1539
- link: "link";
1540
1640
  warning: "warning";
1641
+ link: "link";
1541
1642
  activity: "activity";
1542
1643
  brain: "brain";
1543
1644
  calendar: "calendar";
@@ -1723,12 +1824,28 @@ export declare const conversationFeedSchema: z.ZodObject<{
1723
1824
  url: z.ZodString;
1724
1825
  description: z.ZodOptional<z.ZodString>;
1725
1826
  status: z.ZodOptional<z.ZodEnum<{
1827
+ warning: "warning";
1726
1828
  open: "open";
1727
1829
  draft: "draft";
1728
1830
  closed: "closed";
1729
1831
  merged: "merged";
1730
- warning: "warning";
1731
1832
  }>>;
1833
+ }, z.core.$strict>, z.ZodObject<{
1834
+ kind: z.ZodLiteral<"object">;
1835
+ key: z.ZodString;
1836
+ label: z.ZodString;
1837
+ objectType: z.ZodEnum<{
1838
+ task: "task";
1839
+ code_change: "code_change";
1840
+ automation: "automation";
1841
+ item: "item";
1842
+ }>;
1843
+ title: z.ZodString;
1844
+ url: z.ZodNullable<z.ZodURL>;
1845
+ description: z.ZodOptional<z.ZodString>;
1846
+ status: z.ZodOptional<z.ZodString>;
1847
+ trigger: z.ZodOptional<z.ZodString>;
1848
+ warning: z.ZodOptional<z.ZodString>;
1732
1849
  }, z.core.$strict>], "kind">, z.ZodObject<{
1733
1850
  plugin: z.ZodString;
1734
1851
  createdAt: z.ZodString;
@@ -2225,12 +2342,28 @@ export declare const actorProfileReportSchema: z.ZodObject<{
2225
2342
  url: z.ZodString;
2226
2343
  description: z.ZodOptional<z.ZodString>;
2227
2344
  status: z.ZodOptional<z.ZodEnum<{
2345
+ warning: "warning";
2228
2346
  open: "open";
2229
2347
  draft: "draft";
2230
2348
  closed: "closed";
2231
2349
  merged: "merged";
2232
- warning: "warning";
2233
2350
  }>>;
2351
+ }, z.core.$strict>, z.ZodObject<{
2352
+ kind: z.ZodLiteral<"object">;
2353
+ key: z.ZodString;
2354
+ label: z.ZodString;
2355
+ objectType: z.ZodEnum<{
2356
+ task: "task";
2357
+ code_change: "code_change";
2358
+ automation: "automation";
2359
+ item: "item";
2360
+ }>;
2361
+ title: z.ZodString;
2362
+ url: z.ZodNullable<z.ZodURL>;
2363
+ description: z.ZodOptional<z.ZodString>;
2364
+ status: z.ZodOptional<z.ZodString>;
2365
+ trigger: z.ZodOptional<z.ZodString>;
2366
+ warning: z.ZodOptional<z.ZodString>;
2234
2367
  }, z.core.$strict>], "kind">, z.ZodObject<{
2235
2368
  plugin: z.ZodString;
2236
2369
  createdAt: z.ZodString;
@@ -2542,12 +2675,28 @@ export declare const locationDetailReportSchema: z.ZodObject<{
2542
2675
  url: z.ZodString;
2543
2676
  description: z.ZodOptional<z.ZodString>;
2544
2677
  status: z.ZodOptional<z.ZodEnum<{
2678
+ warning: "warning";
2545
2679
  open: "open";
2546
2680
  draft: "draft";
2547
2681
  closed: "closed";
2548
2682
  merged: "merged";
2549
- warning: "warning";
2550
2683
  }>>;
2684
+ }, z.core.$strict>, z.ZodObject<{
2685
+ kind: z.ZodLiteral<"object">;
2686
+ key: z.ZodString;
2687
+ label: z.ZodString;
2688
+ objectType: z.ZodEnum<{
2689
+ task: "task";
2690
+ code_change: "code_change";
2691
+ automation: "automation";
2692
+ item: "item";
2693
+ }>;
2694
+ title: z.ZodString;
2695
+ url: z.ZodNullable<z.ZodURL>;
2696
+ description: z.ZodOptional<z.ZodString>;
2697
+ status: z.ZodOptional<z.ZodString>;
2698
+ trigger: z.ZodOptional<z.ZodString>;
2699
+ warning: z.ZodOptional<z.ZodString>;
2551
2700
  }, z.core.$strict>], "kind">, z.ZodObject<{
2552
2701
  plugin: z.ZodString;
2553
2702
  createdAt: z.ZodString;
@@ -3412,4 +3561,4 @@ type PluginPackageContentReport = z.infer<typeof pluginPackageContentReportSchem
3412
3561
  type PluginOperationalReport = z.infer<typeof pluginOperationalReportSchema>;
3413
3562
  type PluginOperationalReportFeed = z.infer<typeof pluginOperationalReportFeedSchema>;
3414
3563
  //#endregion
3415
- export { type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AutomationCard, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationSummary, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAuxiliaryCosts, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, type MessageCard, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type WorkspaceReport, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, messageCardText };
3564
+ export { type AcceptedConversationMessage, type ActorActivityDayReport, type ActorDirectoryReport, type ActorDirectoryWindows, type ActorIdentity, type ActorProfileReport, type ActorSummaryReport, type ActorTotalsReport, type ActorWindowMetrics, type ApiError, type ArchiveConversationBody, type ArchiveConversationResponse, type AutomationCard, type AutomationExecution, type AutomationExecutionDay, type AutomationExecutionList, type AutomationExecutionStatusDay, type AutomationList, type AutomationRun, type AutomationRunList, type AutomationRunWindows, type AutomationSummary, type BaselineSnapshotReport, type CancelConversationPendingMessagesBody, type CancelConversationPendingMessagesResponse, type CodeActivityDay, type CodeChangeSummaryReport, type CodeOverviewReport, type CodePersonReport, type CodeRepositorySummary, type ConversationActivityPreview, type ConversationAuxiliaryCosts, type ConversationCost, type ConversationDetailReport, type ConversationEventHistory, type ConversationEventPage, type ConversationFeed, type ConversationMetricDay, type ConversationModelUsage, type ConversationParams, type ConversationPendingMessage, type ConversationPendingMessageDelivery, type ConversationPendingMessagesReport, type ConversationReportEvent, type ConversationReportEventData, type ConversationReportStatus, type ConversationSourceTask, type ConversationStatsItem, type ConversationStatsReport, type ConversationSummaryReport, type ConversationSurface, type ConversationTurnFailureCode, type ConversationTurnFailureReason, type ConversationUsage, type CreateConversationBody, type CreateConversationMessageBody, type DailyConversationActivity, type GuardianMetricDay, type GuardianStats, type HealthReport, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, type MessageCard, type OwnedObjectAnnotation, type PeopleActivityDayReport, type PersonParams, type PersonalSpendReport, type PersonalTokenMetadata, type Plugin, type PluginOperationalReport, type PluginOperationalReportFeed, type PluginPackageContentItemReport, type PluginPackageContentReport, type Plugins, type RuntimeInfoReport, type SkillReport, type SkillReports, type StatReport, type StatsReport, type WorkspaceReport, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, messageCardText };
@@ -1,4 +1,4 @@
1
- import { B as conversationTurnFailureCodeSchema, C as conversationReportEventSchema, D as createConversationBodySchema, E as conversationSummaryReportSchema, O as createConversationMessageBodySchema, S as conversationReportEventDataSchema, T as conversationStatsReportSchema, V as conversationTurnFailureReasonSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, k as messageCardText, l as conversationAuxiliaryCostsSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, s as conversationActivityPreviewSchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, v as conversationPendingAuthorizationSchema, x as conversationPendingMessagesReportSchema, y as conversationPendingMessageDeliverySchema } from "../conversation-BBDt88di.js";
1
+ import { C as conversationReportEventSchema, D as createConversationBodySchema, E as conversationSummaryReportSchema, H as conversationTurnFailureCodeSchema, M as messageCardText, O as createConversationMessageBodySchema, S as conversationReportEventDataSchema, T as conversationStatsReportSchema, U as conversationTurnFailureReasonSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, l as conversationAuxiliaryCostsSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, s as conversationActivityPreviewSchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, v as conversationPendingAuthorizationSchema, x as conversationPendingMessagesReportSchema, y as conversationPendingMessageDeliverySchema } from "../conversation-1HUoZr2l.js";
2
2
  import { S as skillReportsSchema, _ as pluginPackageContentReportSchema, b as runtimeInfoReportSchema, g as pluginPackageContentItemReportSchema, h as pluginOperationalReportSchema, m as pluginOperationalReportFeedSchema, p as healthReportSchema, v as pluginSchema, x as skillReportSchema, y as pluginsSchema } from "../reporting-window-DbUqng0P.js";
3
- import { A as actorProfileReportSchema, B as dailyConversationActivitySchema, C as createPersonalTokenBodySchema, D as personalTokenParamsSchema, E as personalTokenMetadataSchema, F as locationDirectoryReportSchema, G as codePersonReportSchema, H as codeChangeSummaryReportSchema, I as locationParamsSchema, K as codeRepositorySummarySchema, M as personalSpendReportSchema, N as locationActivityDayReportSchema, O as revokePersonalTokenResponseSchema, P as locationDetailReportSchema, S as scheduledAutomationSummarySchema, T as personalTokenListSchema, U as codeChangeSummarySchema, V as codeActivityDaySchema, W as codeOverviewReportSchema, _ as automationRunListSchema, a as workspaceBodySchema, b as automationSummarySchema, c as workspaceRepoSchema, d as automationExecutionSchema, f as automationExecutionStatusDaySchema, g as automationParamsSchema, h as automationListSchema, i as deleteWorkspaceResponseSchema, j as personParamsSchema, k as actorDirectoryReportSchema, l as workspaceSchema, m as automationListQuerySchema, n as statsReportSchema, o as workspaceListSchema, p as automationExecutionStatusSchema, q as apiErrorSchema, r as baselineSnapshotSchema, s as workspaceParamsSchema, t as statSchema, u as automationExecutionListSchema, v as automationRunSchema, w as createdPersonalTokenSchema, x as eventAutomationSummarySchema, y as automationRunWindowsSchema } from "../schema-CTOODa3L.js";
3
+ import { A as actorProfileReportSchema, B as dailyConversationActivitySchema, C as createPersonalTokenBodySchema, D as personalTokenParamsSchema, E as personalTokenMetadataSchema, F as locationDirectoryReportSchema, G as codePersonReportSchema, H as codeChangeSummaryReportSchema, I as locationParamsSchema, K as codeRepositorySummarySchema, M as personalSpendReportSchema, N as locationActivityDayReportSchema, O as revokePersonalTokenResponseSchema, P as locationDetailReportSchema, S as scheduledAutomationSummarySchema, T as personalTokenListSchema, U as codeChangeSummarySchema, V as codeActivityDaySchema, W as codeOverviewReportSchema, _ as automationRunListSchema, a as workspaceBodySchema, b as automationSummarySchema, c as workspaceRepoSchema, d as automationExecutionSchema, f as automationExecutionStatusDaySchema, g as automationParamsSchema, h as automationListSchema, i as deleteWorkspaceResponseSchema, j as personParamsSchema, k as actorDirectoryReportSchema, l as workspaceSchema, m as automationListQuerySchema, n as statsReportSchema, o as workspaceListSchema, p as automationExecutionStatusSchema, q as apiErrorSchema, r as baselineSnapshotSchema, s as workspaceParamsSchema, t as statSchema, u as automationExecutionListSchema, v as automationRunSchema, w as createdPersonalTokenSchema, x as eventAutomationSummarySchema, y as automationRunWindowsSchema } from "../schema-RpbW5Od2.js";
4
4
  export { acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationSummarySchema, baselineSnapshotSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositorySummarySchema, conversationActivityPreviewSchema, conversationAuxiliaryCostsSchema, conversationDetailQuerySchema, conversationDetailReportSchema, conversationEventHistorySchema, conversationEventPageSchema, conversationEventsQuerySchema, conversationFeedQuerySchema, conversationFeedSchema, conversationParamsSchema, conversationPendingAuthorizationSchema, conversationPendingMessageDeliverySchema, conversationPendingMessageSchema, conversationPendingMessagesReportSchema, conversationReportEventDataSchema, conversationReportEventSchema, conversationStatsReportSchema, conversationSummaryReportSchema, conversationTurnFailureCodeSchema, conversationTurnFailureReasonSchema, createConversationBodySchema, createConversationMessageBodySchema, createPersonalTokenBodySchema, createdPersonalTokenSchema, dailyConversationActivitySchema, deleteWorkspaceResponseSchema, eventAutomationSummarySchema, healthReportSchema, locationActivityDayReportSchema, locationDetailReportSchema, locationDirectoryReportSchema, locationParamsSchema, messageCardText, personParamsSchema, personalSpendReportSchema, personalTokenListSchema, personalTokenMetadataSchema, personalTokenParamsSchema, pluginOperationalReportFeedSchema, pluginOperationalReportSchema, pluginPackageContentItemReportSchema, pluginPackageContentReportSchema, pluginSchema, pluginsSchema, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, skillReportSchema, skillReportsSchema, statSchema, statsReportSchema, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
package/dist/api.js CHANGED
@@ -1,18 +1,18 @@
1
- import { f as logWarn, u as logException } from "./logging-qmsMdU0y.js";
1
+ import { f as logWarn, u as logException } from "./logging-DiN3o3nB.js";
2
2
  import { _ as parseSlackMessageTs, h as parseSlackTeamId, p as parseSlackChannelId } from "./context-Bplcgypl.js";
3
- import { $ as resolveViewerUser, $t as parseSessionSource, Ct as conversationArchivedForEmail, D as SANDBOX_RUNTIME, Dt as conversationNotArchivedForEmail, Et as conversationHasParticipantUser, Ft as listConversationAnnotations, Gt as getDb, It as listConversationAnnotationsById, J as withSlackRetries, Kt as getSqlExecutor, Mt as readConversationEventPage, Nt as buildSentryConversationUrl, Ot as conversationNotArchivedForUser, S as WorkspaceValidationError, St as conversationArchiveTimes, Tt as conversationHasParticipantEmail, U as getSlackClient, Wt as getConversationStore, Z as findUserByEmail, Zt as locationFromRow, _ as deleteWorkspace, an as resolveRootConversationId, b as listWorkspaces, bt as createPluginLogger, et as updateViewerDisplayName, g as createWorkspace, in as hasAgentTurnUsage, j as workspaceRepoCheckoutPath, jt as readLatestConversationBrief, kt as viewerConversationMembership, rn as agentTurnUsageSchema, u as getPlugins, v as getWorkspace, wt as conversationArchivedForUser, x as updateWorkspace, xt as readConversationAccessFromSql } from "./agent-hooks-DkriF84n.js";
3
+ import { $ as resolveViewerUser, $t as locationFromRow, Ct as conversationArchivedForEmail, D as SANDBOX_RUNTIME, Dt as conversationNotArchivedForEmail, Et as conversationHasParticipantUser, J as withSlackRetries, Jt as getSqlExecutor, Kt as getConversationStore, Lt as listConversationAnnotations, Mt as readConversationEventPage, Nt as buildSentryConversationUrl, Ot as conversationNotArchivedForUser, Rt as listConversationAnnotationsById, S as WorkspaceValidationError, St as conversationArchiveTimes, Tt as conversationHasParticipantEmail, U as getSlackClient, Z as findUserByEmail, _ as deleteWorkspace, an as agentTurnUsageSchema, b as listWorkspaces, bt as createPluginLogger, et as updateViewerDisplayName, g as createWorkspace, j as workspaceRepoCheckoutPath, jt as readLatestConversationBrief, kt as viewerConversationMembership, on as hasAgentTurnUsage, qt as getDb, sn as resolveRootConversationId, tn as parseSessionSource, u as getPlugins, v as getWorkspace, wt as conversationArchivedForUser, x as updateWorkspace, xt as readConversationAccessFromSql } from "./agent-hooks-DZU5nsd1.js";
4
4
  import { n as juniorDestinations } from "./destinations-BeBiJeEM.js";
5
- import { C as juniorCodeRepositories, D as juniorIdentities, E as juniorConversations, O as juniorUsers, S as juniorCodeChanges, T as conversationReadColumns, b as juniorApiTokens, g as juniorConversationBriefs, m as juniorConversationParticipants, v as juniorConversationMetrics, y as juniorConversationEvents } from "./executor-BLBZ-UB8.js";
6
- import { D as createConversationBodySchema, O as createConversationMessageBodySchema, T as conversationStatsReportSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, c as conversationAttachmentParamsSchema, d as conversationDetailReportSchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, x as conversationPendingMessagesReportSchema } from "./conversation-BBDt88di.js";
7
- import { n as hash, t as create } from "./profile-DbG8AlNd.js";
8
- import { Tt as getConversation, c as parseSlackThreadId, ht as cancelHumanFacingPendingMessages, i as readLiveAttachment, n as readStats } from "./stats-qUXQZq-w.js";
9
- import { t as getCachedSnapshot } from "./resolve-D5SqDbCA.js";
5
+ import { C as juniorCodeRepositories, D as juniorIdentities, E as juniorConversations, O as juniorUsers, S as juniorCodeChanges, T as conversationReadColumns, b as juniorApiTokens, g as juniorConversationBriefs, m as juniorConversationParticipants, v as juniorConversationMetrics, y as juniorConversationEvents } from "./executor-AOhG9X1t.js";
6
+ import { D as createConversationBodySchema, O as createConversationMessageBodySchema, T as conversationStatsReportSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, c as conversationAttachmentParamsSchema, d as conversationDetailReportSchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, x as conversationPendingMessagesReportSchema } from "./conversation-1HUoZr2l.js";
7
+ import { n as hash, t as create } from "./profile-BsNrw8lj.js";
8
+ import { Tt as getConversation, c as parseSlackThreadId, ht as cancelHumanFacingPendingMessages, i as readLiveAttachment, n as readStats } from "./stats-pNGp3G5q.js";
9
+ import { t as getCachedSnapshot } from "./resolve-B38CpJe2.js";
10
10
  import { t as getVercelConversationWorkQueue } from "./vercel-queue-DIkVcfK4.js";
11
11
  import { S as skillReportsSchema, a as fillUtcSixHours, b as runtimeInfoReportSchema, c as trailingUtcDayWindow, d as utcDayKey, f as utcHourKey, i as fillUtcHours, l as trailingUtcHourWindow, m as pluginOperationalReportFeedSchema, n as HOUR_MS$1, o as startOfUtcHour, p as healthReportSchema, r as fillUtcDays, s as sumUtcHoursIntoSixHours, t as DAY_MS$1, u as trailingUtcSixHourWindow, y as pluginsSchema } from "./reporting-window-DbUqng0P.js";
12
- import { C as readHealthReport, a as webActorFromEmail, b as legacyWebMailboxMetadataSchema, c as formatSlackConversationRedactedLabel, d as resolveSlackConversationContextFromThreadId, f as ViewerTaskNotFoundError, g as readViewerAutomationRuns, h as readViewerAutomationExecutions, m as readConversationSourceTask, p as deleteViewerTask, r as createAndEnqueueConversation, t as appendAndEnqueueWebMessage, v as readViewerAutomations, x as createVercelAttachmentStorage, y as lookupSlackUser } from "./web-input-DegYUyKU.js";
13
- import { d as conversationActiveDaysColumn, f as conversationAggregateColumns, p as conversationRangeColumns } from "./execution-stats-D97ePWuM.js";
14
- import { r as getWebAuthorization } from "./web-authorization-BdfOkTuG.js";
15
- import { A as actorProfileReportSchema, C as createPersonalTokenBodySchema, D as personalTokenParamsSchema, F as locationDirectoryReportSchema, G as codePersonReportSchema, I as locationParamsSchema, L as activityDays$1, M as personalSpendReportSchema, O as revokePersonalTokenResponseSchema, P as locationDetailReportSchema, R as activityHours$1, T as personalTokenListSchema, W as codeOverviewReportSchema, _ as automationRunListSchema, a as workspaceBodySchema, g as automationParamsSchema, h as automationListSchema, i as deleteWorkspaceResponseSchema, j as personParamsSchema, k as actorDirectoryReportSchema, l as workspaceSchema, m as automationListQuerySchema, n as statsReportSchema, o as workspaceListSchema, q as apiErrorSchema, s as workspaceParamsSchema, u as automationExecutionListSchema, w as createdPersonalTokenSchema, z as activitySixHours$1 } from "./schema-CTOODa3L.js";
12
+ import { C as readHealthReport, a as webActorFromEmail, b as legacyWebMailboxMetadataSchema, c as formatSlackConversationRedactedLabel, d as resolveSlackConversationContextFromThreadId, f as ViewerTaskNotFoundError, g as readViewerAutomationRuns, h as readViewerAutomationExecutions, m as readConversationSourceTask, p as deleteViewerTask, r as createAndEnqueueConversation, t as appendAndEnqueueWebMessage, v as readViewerAutomations, x as createVercelAttachmentStorage, y as lookupSlackUser } from "./web-input-BJpWm6go.js";
13
+ import { d as conversationActiveDaysColumn, f as conversationAggregateColumns, p as conversationRangeColumns } from "./execution-stats-CrXs9vSH.js";
14
+ import { r as getWebAuthorization } from "./web-authorization-6mmfS_o-.js";
15
+ import { A as actorProfileReportSchema, C as createPersonalTokenBodySchema, D as personalTokenParamsSchema, F as locationDirectoryReportSchema, G as codePersonReportSchema, I as locationParamsSchema, L as activityDays$1, M as personalSpendReportSchema, O as revokePersonalTokenResponseSchema, P as locationDetailReportSchema, R as activityHours$1, T as personalTokenListSchema, W as codeOverviewReportSchema, _ as automationRunListSchema, a as workspaceBodySchema, g as automationParamsSchema, h as automationListSchema, i as deleteWorkspaceResponseSchema, j as personParamsSchema, k as actorDirectoryReportSchema, l as workspaceSchema, m as automationListQuerySchema, n as statsReportSchema, o as workspaceListSchema, q as apiErrorSchema, s as workspaceParamsSchema, u as automationExecutionListSchema, w as createdPersonalTokenSchema, z as activitySixHours$1 } from "./schema-RpbW5Od2.js";
16
16
  import { Hono } from "hono";
17
17
  import path from "node:path";
18
18
  import { z } from "zod";
@@ -3017,7 +3017,7 @@ async function readPeoplePluginReports(args) {
3017
3017
  reports: [],
3018
3018
  source: "plugins"
3019
3019
  });
3020
- const { getPluginProfileReports } = await import("./agent-hooks-DkriF84n.js").then((n) => n.t);
3020
+ const { getPluginProfileReports } = await import("./agent-hooks-DZU5nsd1.js").then((n) => n.t);
3021
3021
  return pluginOperationalReportFeedSchema.parse({
3022
3022
  generatedAt: new Date(nowMs).toISOString(),
3023
3023
  reports: await getPluginProfileReports({
@@ -3626,7 +3626,7 @@ function readDescriptionText(home) {
3626
3626
  }
3627
3627
  /** Read discovered skill names for authenticated runtime diagnostics. */
3628
3628
  async function readSkillReports() {
3629
- const { discoverSkills } = await import("./skills-BoS3b8cg.js").then((n) => n.o);
3629
+ const { discoverSkills } = await import("./skills-DbP4TDft.js").then((n) => n.o);
3630
3630
  const skills = await discoverSkills();
3631
3631
  return skillReportsSchema.parse(skills.map((skill) => ({
3632
3632
  name: skill.name,
@@ -3635,7 +3635,7 @@ async function readSkillReports() {
3635
3635
  }
3636
3636
  /** Read safe configured plugin metadata for authenticated runtime diagnostics. */
3637
3637
  async function readPlugins() {
3638
- const { pluginCatalogRuntime } = await import("./catalog-runtime-XH_LFA_7.js").then((n) => n.t);
3638
+ const { pluginCatalogRuntime } = await import("./catalog-runtime-BthunUDD.js").then((n) => n.t);
3639
3639
  return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
3640
3640
  configKeys: plugin.manifest.configKeys ?? [],
3641
3641
  description: plugin.manifest.description,
@@ -3647,7 +3647,7 @@ async function readPlugins() {
3647
3647
  async function readRuntimeInfoReport() {
3648
3648
  const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
3649
3649
  import("./package-discovery-7a9YqLhE.js").then((n) => n.r),
3650
- import("./catalog-runtime-XH_LFA_7.js").then((n) => n.t),
3650
+ import("./catalog-runtime-BthunUDD.js").then((n) => n.t),
3651
3651
  readPlugins(),
3652
3652
  readSkillReports()
3653
3653
  ]);
@@ -3664,7 +3664,7 @@ async function readRuntimeInfoReport() {
3664
3664
  /** Read sanitized operational summaries contributed by plugins. */
3665
3665
  async function readPluginOperationalReportFeed() {
3666
3666
  const nowMs = Date.now();
3667
- const { getPluginOperationalReports } = await import("./agent-hooks-DkriF84n.js").then((n) => n.t);
3667
+ const { getPluginOperationalReports } = await import("./agent-hooks-DZU5nsd1.js").then((n) => n.t);
3668
3668
  return pluginOperationalReportFeedSchema.parse({
3669
3669
  source: "plugins",
3670
3670
  generatedAt: new Date(nowMs).toISOString(),
@@ -1,5 +1,5 @@
1
1
  import { t as ConversationStore } from "./store-DoewL5mG.js";
2
- import "./history-CaV8Ww7M.js";
2
+ import "./history-yaSjGMD_.js";
3
3
  import { n as JuniorPluginSet } from "./plugins-BT2l4We3.js";
4
4
  import { Hono } from "hono";
5
5
  import "@earendil-works/pi-ai/compat";
package/dist/app.d.ts CHANGED
@@ -1,4 +1,4 @@
1
- import { i as ModelProfileInput, n as JuniorDashboardOptions, r as createApp, t as JuniorAppOptions } from "./app-C0zbsnr7.js";
1
+ import { i as ModelProfileInput, n as JuniorDashboardOptions, r as createApp, t as JuniorAppOptions } from "./app-BbSD6EtD.js";
2
2
  import { i as defineJuniorPlugins, n as JuniorPluginSet, r as JuniorPluginSetOptions, t as JuniorPluginInput } from "./plugins-BT2l4We3.js";
3
3
  import { t as JUNIOR_VERSION } from "./version-CnXZ614E.js";
4
4
  export { JUNIOR_VERSION, JuniorAppOptions, JuniorDashboardOptions, type JuniorPluginInput, type JuniorPluginSet, type JuniorPluginSetOptions, type ModelProfileInput, createApp, defineJuniorPlugins };