@sentry/junior 0.229.0 → 0.231.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 (57) hide show
  1. package/dist/{agent-hooks-BfjhfMIy.js → agent-hooks-BxL23rrY.js} +10 -10
  2. package/dist/{agent-runner-DtrpkWV5.js → agent-runner-mpzfRAEr.js} +120 -115
  3. package/dist/api/schema.d.ts +18 -267
  4. package/dist/api/schema.js +3 -3
  5. package/dist/api.js +18 -18
  6. package/dist/{app-BRZB3MuD.d.ts → app-xk2-Id1T.d.ts} +2 -2
  7. package/dist/app.d.ts +1 -1
  8. package/dist/app.js +22 -21
  9. package/dist/{briefs-B6KfFLRA.js → briefs-CTIZORAN.js} +4 -4
  10. package/dist/{catalog-runtime-Byr3trKF.js → catalog-runtime-RSgQS4lp.js} +1 -1
  11. package/dist/{checkpoint-DEYb3Fqm.js → checkpoint-Q4FG2BQc.js} +7 -9
  12. package/dist/cli/chat.js +13 -13
  13. package/dist/cli/check.js +3 -3
  14. package/dist/cli/main.js +1 -1
  15. package/dist/cli/plugins.js +3 -3
  16. package/dist/cli/snapshot-create.js +3 -3
  17. package/dist/cli/upgrade.js +3 -3
  18. package/dist/{client-BN5U3CGw.js → client-Mj9HEEKf.js} +3 -2
  19. package/dist/{config-C4xZrx7G.js → config-CkmcoWGB.js} +2 -2
  20. package/dist/{conversation-DOI6Y60M.js → conversation-DsuDtoYR.js} +96 -74
  21. package/dist/{conversation-privacy-CB7wx_tP.js → conversation-privacy-DGj6F9tc.js} +1 -1
  22. package/dist/{credential-sync-CuEwdxwY.js → credential-sync-CHL297BH.js} +13 -13
  23. package/dist/{executor-DUqeOd8y.js → executor-_eMyydh0.js} +1 -1
  24. package/dist/history-DvqWZlYX.d.ts +86 -0
  25. package/dist/{images-B5JLFwJR.js → images-D9gA15-3.js} +3 -3
  26. package/dist/instrumentation.js +2 -2
  27. package/dist/{job-queue-C1AJ5uJt.js → job-queue-Dl1lTGqq.js} +1 -1
  28. package/dist/{logging-Muw6EXro.js → logging-9VpmxvdL.js} +1 -1
  29. package/dist/nitro.d.ts +1 -1
  30. package/dist/nitro.js +3 -3
  31. package/dist/{oauth-authorization-CrD-xb8a.js → oauth-authorization-DYZeyL50.js} +1 -1
  32. package/dist/{oauth-callback-server-DfQos1K1.js → oauth-callback-server-BcVrxzcd.js} +2 -2
  33. package/dist/{pending-auth-pYQpJmtu.js → pending-auth-mB93uu9V.js} +1 -1
  34. package/dist/{profile-25NkcK4S.js → profile-CK1KKKfj.js} +4 -4
  35. package/dist/{prompt-9C-wUwwx.js → prompt-D5RPLy92.js} +1 -1
  36. package/dist/{registry-DrcbAs8o.js → registry-BzD2Rftl.js} +1 -1
  37. package/dist/{resolve-D9kl_rkl.js → resolve-C3UI1gHN.js} +2 -2
  38. package/dist/{runner-D3rf-_hT.js → runner-BETWa1Bq.js} +9 -9
  39. package/dist/{sandbox-egress-signals-BfQQz6cs.js → sandbox-egress-signals-pjWtc_9b.js} +1 -1
  40. package/dist/{schema-CXmCvVLn.js → schema-B-Taar1W.js} +1 -1
  41. package/dist/{skills-rwWf3XjQ.js → skills-B5o4x78h.js} +2 -2
  42. package/dist/{spawn-z0fRvZH9.js → spawn-pwMuB53X.js} +2 -2
  43. package/dist/{task-queue-BGo6K-BX.js → task-queue-Bb71mssX.js} +3 -3
  44. package/dist/{task-runner-DH8M0m7l.js → task-runner-DkaEXCEP.js} +9 -9
  45. package/dist/{thread-state-CS67FjfN.js → thread-state-HHHiwpYG.js} +5 -5
  46. package/dist/{turn-failure-response-DcaALKfm.js → turn-failure-response-CtWGQ0fz.js} +17 -15
  47. package/dist/{turn-lifecycle-DHcpS20C.js → turn-lifecycle-Cosdai_3.js} +1 -1
  48. package/dist/{turn-session-routing-DlaCHHlu.js → turn-session-routing-DDo6JGTB.js} +1 -1
  49. package/dist/{validation-CNUPIKMW.js → validation-DoceK2VV.js} +1 -1
  50. package/dist/{version-B0eXuHqw.js → version-wZ8kdUu1.js} +1 -1
  51. package/dist/version.js +1 -1
  52. package/dist/{web-authorization-DrXlSd3Y.js → web-authorization-C1coqBWn.js} +6 -6
  53. package/dist/{web-input-WFoSdz8L.js → web-input-clQr4P53.js} +49 -31
  54. package/dist/{work-B0cAo7nv.js → work-BW27hKZB.js} +7 -7
  55. package/dist/{worker-DNklqmhH.js → worker-DQ-0LzAC.js} +5 -5
  56. package/package.json +5 -4
  57. package/dist/history-H-SI5Dej.d.ts +0 -128
@@ -1,4 +1,4 @@
1
- import { a as InputImage, c as MessageAttachment, i as messageCardText, n as conversationTurnFailureReasonSchema, o as MAX_INPUT_IMAGES, r as MessageCard, s as MAX_INPUT_IMAGE_BYTES, t as conversationTurnFailureCodeSchema } from "../history-H-SI5Dej.js";
1
+ import { a as resolveMessageCards, c as MAX_INPUT_IMAGES, i as messageCardText, l as MAX_INPUT_IMAGE_BYTES, n as conversationTurnFailureReasonSchema, o as AutomationCard, r as MessageCard, s as InputImage, t as conversationTurnFailureCodeSchema, u as MessageAttachment } from "../history-DvqWZlYX.js";
2
2
  import { z } from "zod";
3
3
  import { OwnedObjectAnnotation } from "@sentry/junior-plugin-api";
4
4
  //#region src/chat/attachments/media.d.ts
@@ -14,19 +14,6 @@ export declare function webMessageId(args: {
14
14
  idempotencyKey: string;
15
15
  }): Promise<string>;
16
16
  //#endregion
17
- //#region src/chat/automations/card.d.ts
18
- /** Saved automation facts shown with a Message, not a live status view. */
19
- declare const automationCardSchema: z.ZodObject<{
20
- kind: z.ZodLiteral<"automation">;
21
- id: z.ZodString;
22
- title: z.ZodString;
23
- url: z.ZodNullable<z.ZodString>;
24
- instruction: z.ZodString;
25
- trigger: z.ZodString;
26
- warning: z.ZodNullable<z.ZodString>;
27
- }, z.core.$strict>;
28
- type AutomationCard = z.output<typeof automationCardSchema>;
29
- //#endregion
30
17
  //#region src/api/activity.d.ts
31
18
  export declare const dailyConversationActivitySchema: z.ZodObject<{
32
19
  active: z.ZodNumber;
@@ -615,70 +602,11 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
615
602
  }>>;
616
603
  explicitMention: z.ZodOptional<z.ZodBoolean>;
617
604
  trustedSummary: z.ZodOptional<z.ZodString>;
618
- cards: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
619
- kind: z.ZodLiteral<"automation">;
620
- id: z.ZodString;
621
- title: z.ZodString;
622
- url: z.ZodNullable<z.ZodString>;
623
- instruction: z.ZodString;
624
- trigger: z.ZodString;
625
- warning: z.ZodNullable<z.ZodString>;
626
- }, z.core.$strict>, z.ZodObject<{
627
- kind: z.ZodLiteral<"object">;
628
- key: z.ZodString;
629
- label: z.ZodString;
630
- objectType: z.ZodEnum<{
631
- code_change: "code_change";
632
- task: "task";
633
- deployment: "deployment";
634
- automation: "automation";
635
- item: "item";
636
- }>;
637
- title: z.ZodString;
638
- url: z.ZodNullable<z.ZodURL>;
639
- description: z.ZodOptional<z.ZodString>;
640
- status: z.ZodOptional<z.ZodString>;
641
- trigger: z.ZodOptional<z.ZodString>;
642
- warning: z.ZodOptional<z.ZodString>;
643
- displayType: z.ZodOptional<z.ZodString>;
644
- sourceUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
645
- facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
646
- type: z.ZodLiteral<"code_change">;
647
- author: z.ZodOptional<z.ZodString>;
648
- sourceBranch: z.ZodOptional<z.ZodString>;
649
- targetBranch: z.ZodOptional<z.ZodString>;
650
- reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
651
- review: z.ZodOptional<z.ZodEnum<{
652
- required: "required";
653
- approved: "approved";
654
- changes_requested: "changes_requested";
655
- }>>;
656
- checks: z.ZodOptional<z.ZodObject<{
657
- passed: z.ZodNumber;
658
- failed: z.ZodNumber;
659
- pending: z.ZodNumber;
660
- }, z.core.$strict>>;
661
- mergeable: z.ZodOptional<z.ZodBoolean>;
662
- changedFiles: z.ZodOptional<z.ZodNumber>;
663
- additions: z.ZodOptional<z.ZodNumber>;
664
- deletions: z.ZodOptional<z.ZodNumber>;
665
- }, z.core.$strict>, z.ZodObject<{
666
- type: z.ZodLiteral<"task">;
667
- assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
668
- priority: z.ZodOptional<z.ZodString>;
669
- project: z.ZodOptional<z.ZodString>;
670
- cycle: z.ZodOptional<z.ZodString>;
671
- dueDate: z.ZodOptional<z.ZodISODate>;
672
- labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
673
- }, z.core.$strict>, z.ZodObject<{
674
- type: z.ZodLiteral<"deployment">;
675
- project: z.ZodOptional<z.ZodString>;
676
- environment: z.ZodOptional<z.ZodString>;
677
- revision: z.ZodOptional<z.ZodString>;
678
- branch: z.ZodOptional<z.ZodString>;
679
- }, z.core.$strict>], "type">>;
605
+ cards: z.ZodOptional<z.ZodArray<z.ZodObject<{
680
606
  plugin: z.ZodString;
681
- }, z.core.$strict>], "kind">>>;
607
+ key: z.ZodString;
608
+ kind: z.ZodLiteral<"object">;
609
+ }, z.core.$strict>>>;
682
610
  text: z.ZodOptional<z.ZodString>;
683
611
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
684
612
  id: z.ZodString;
@@ -909,70 +837,11 @@ export declare const conversationReportEventSchema: z.ZodObject<{
909
837
  }>>;
910
838
  explicitMention: z.ZodOptional<z.ZodBoolean>;
911
839
  trustedSummary: z.ZodOptional<z.ZodString>;
912
- cards: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
913
- kind: z.ZodLiteral<"automation">;
914
- id: z.ZodString;
915
- title: z.ZodString;
916
- url: z.ZodNullable<z.ZodString>;
917
- instruction: z.ZodString;
918
- trigger: z.ZodString;
919
- warning: z.ZodNullable<z.ZodString>;
920
- }, z.core.$strict>, z.ZodObject<{
921
- kind: z.ZodLiteral<"object">;
922
- key: z.ZodString;
923
- label: z.ZodString;
924
- objectType: z.ZodEnum<{
925
- code_change: "code_change";
926
- task: "task";
927
- deployment: "deployment";
928
- automation: "automation";
929
- item: "item";
930
- }>;
931
- title: z.ZodString;
932
- url: z.ZodNullable<z.ZodURL>;
933
- description: z.ZodOptional<z.ZodString>;
934
- status: z.ZodOptional<z.ZodString>;
935
- trigger: z.ZodOptional<z.ZodString>;
936
- warning: z.ZodOptional<z.ZodString>;
937
- displayType: z.ZodOptional<z.ZodString>;
938
- sourceUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
939
- facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
940
- type: z.ZodLiteral<"code_change">;
941
- author: z.ZodOptional<z.ZodString>;
942
- sourceBranch: z.ZodOptional<z.ZodString>;
943
- targetBranch: z.ZodOptional<z.ZodString>;
944
- reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
945
- review: z.ZodOptional<z.ZodEnum<{
946
- required: "required";
947
- approved: "approved";
948
- changes_requested: "changes_requested";
949
- }>>;
950
- checks: z.ZodOptional<z.ZodObject<{
951
- passed: z.ZodNumber;
952
- failed: z.ZodNumber;
953
- pending: z.ZodNumber;
954
- }, z.core.$strict>>;
955
- mergeable: z.ZodOptional<z.ZodBoolean>;
956
- changedFiles: z.ZodOptional<z.ZodNumber>;
957
- additions: z.ZodOptional<z.ZodNumber>;
958
- deletions: z.ZodOptional<z.ZodNumber>;
959
- }, z.core.$strict>, z.ZodObject<{
960
- type: z.ZodLiteral<"task">;
961
- assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
962
- priority: z.ZodOptional<z.ZodString>;
963
- project: z.ZodOptional<z.ZodString>;
964
- cycle: z.ZodOptional<z.ZodString>;
965
- dueDate: z.ZodOptional<z.ZodISODate>;
966
- labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
967
- }, z.core.$strict>, z.ZodObject<{
968
- type: z.ZodLiteral<"deployment">;
969
- project: z.ZodOptional<z.ZodString>;
970
- environment: z.ZodOptional<z.ZodString>;
971
- revision: z.ZodOptional<z.ZodString>;
972
- branch: z.ZodOptional<z.ZodString>;
973
- }, z.core.$strict>], "type">>;
840
+ cards: z.ZodOptional<z.ZodArray<z.ZodObject<{
974
841
  plugin: z.ZodString;
975
- }, z.core.$strict>], "kind">>>;
842
+ key: z.ZodString;
843
+ kind: z.ZodLiteral<"object">;
844
+ }, z.core.$strict>>>;
976
845
  text: z.ZodOptional<z.ZodString>;
977
846
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
978
847
  id: z.ZodString;
@@ -1504,70 +1373,11 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
1504
1373
  }>>;
1505
1374
  explicitMention: z.ZodOptional<z.ZodBoolean>;
1506
1375
  trustedSummary: z.ZodOptional<z.ZodString>;
1507
- cards: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1508
- kind: z.ZodLiteral<"automation">;
1509
- id: z.ZodString;
1510
- title: z.ZodString;
1511
- url: z.ZodNullable<z.ZodString>;
1512
- instruction: z.ZodString;
1513
- trigger: z.ZodString;
1514
- warning: z.ZodNullable<z.ZodString>;
1515
- }, z.core.$strict>, z.ZodObject<{
1516
- kind: z.ZodLiteral<"object">;
1517
- key: z.ZodString;
1518
- label: z.ZodString;
1519
- objectType: z.ZodEnum<{
1520
- code_change: "code_change";
1521
- task: "task";
1522
- deployment: "deployment";
1523
- automation: "automation";
1524
- item: "item";
1525
- }>;
1526
- title: z.ZodString;
1527
- url: z.ZodNullable<z.ZodURL>;
1528
- description: z.ZodOptional<z.ZodString>;
1529
- status: z.ZodOptional<z.ZodString>;
1530
- trigger: z.ZodOptional<z.ZodString>;
1531
- warning: z.ZodOptional<z.ZodString>;
1532
- displayType: z.ZodOptional<z.ZodString>;
1533
- sourceUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
1534
- facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1535
- type: z.ZodLiteral<"code_change">;
1536
- author: z.ZodOptional<z.ZodString>;
1537
- sourceBranch: z.ZodOptional<z.ZodString>;
1538
- targetBranch: z.ZodOptional<z.ZodString>;
1539
- reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1540
- review: z.ZodOptional<z.ZodEnum<{
1541
- required: "required";
1542
- approved: "approved";
1543
- changes_requested: "changes_requested";
1544
- }>>;
1545
- checks: z.ZodOptional<z.ZodObject<{
1546
- passed: z.ZodNumber;
1547
- failed: z.ZodNumber;
1548
- pending: z.ZodNumber;
1549
- }, z.core.$strict>>;
1550
- mergeable: z.ZodOptional<z.ZodBoolean>;
1551
- changedFiles: z.ZodOptional<z.ZodNumber>;
1552
- additions: z.ZodOptional<z.ZodNumber>;
1553
- deletions: z.ZodOptional<z.ZodNumber>;
1554
- }, z.core.$strict>, z.ZodObject<{
1555
- type: z.ZodLiteral<"task">;
1556
- assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
1557
- priority: z.ZodOptional<z.ZodString>;
1558
- project: z.ZodOptional<z.ZodString>;
1559
- cycle: z.ZodOptional<z.ZodString>;
1560
- dueDate: z.ZodOptional<z.ZodISODate>;
1561
- labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
1562
- }, z.core.$strict>, z.ZodObject<{
1563
- type: z.ZodLiteral<"deployment">;
1564
- project: z.ZodOptional<z.ZodString>;
1565
- environment: z.ZodOptional<z.ZodString>;
1566
- revision: z.ZodOptional<z.ZodString>;
1567
- branch: z.ZodOptional<z.ZodString>;
1568
- }, z.core.$strict>], "type">>;
1376
+ cards: z.ZodOptional<z.ZodArray<z.ZodObject<{
1569
1377
  plugin: z.ZodString;
1570
- }, z.core.$strict>], "kind">>>;
1378
+ key: z.ZodString;
1379
+ kind: z.ZodLiteral<"object">;
1380
+ }, z.core.$strict>>>;
1571
1381
  text: z.ZodOptional<z.ZodString>;
1572
1382
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1573
1383
  id: z.ZodString;
@@ -1821,70 +1631,11 @@ export declare const conversationEventPageSchema: z.ZodObject<{
1821
1631
  }>>;
1822
1632
  explicitMention: z.ZodOptional<z.ZodBoolean>;
1823
1633
  trustedSummary: z.ZodOptional<z.ZodString>;
1824
- cards: z.ZodOptional<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
1825
- kind: z.ZodLiteral<"automation">;
1826
- id: z.ZodString;
1827
- title: z.ZodString;
1828
- url: z.ZodNullable<z.ZodString>;
1829
- instruction: z.ZodString;
1830
- trigger: z.ZodString;
1831
- warning: z.ZodNullable<z.ZodString>;
1832
- }, z.core.$strict>, z.ZodObject<{
1833
- kind: z.ZodLiteral<"object">;
1834
- key: z.ZodString;
1835
- label: z.ZodString;
1836
- objectType: z.ZodEnum<{
1837
- code_change: "code_change";
1838
- task: "task";
1839
- deployment: "deployment";
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>;
1849
- displayType: z.ZodOptional<z.ZodString>;
1850
- sourceUpdatedAt: z.ZodOptional<z.ZodISODateTime>;
1851
- facts: z.ZodOptional<z.ZodDiscriminatedUnion<[z.ZodObject<{
1852
- type: z.ZodLiteral<"code_change">;
1853
- author: z.ZodOptional<z.ZodString>;
1854
- sourceBranch: z.ZodOptional<z.ZodString>;
1855
- targetBranch: z.ZodOptional<z.ZodString>;
1856
- reviewers: z.ZodOptional<z.ZodArray<z.ZodString>>;
1857
- review: z.ZodOptional<z.ZodEnum<{
1858
- required: "required";
1859
- approved: "approved";
1860
- changes_requested: "changes_requested";
1861
- }>>;
1862
- checks: z.ZodOptional<z.ZodObject<{
1863
- passed: z.ZodNumber;
1864
- failed: z.ZodNumber;
1865
- pending: z.ZodNumber;
1866
- }, z.core.$strict>>;
1867
- mergeable: z.ZodOptional<z.ZodBoolean>;
1868
- changedFiles: z.ZodOptional<z.ZodNumber>;
1869
- additions: z.ZodOptional<z.ZodNumber>;
1870
- deletions: z.ZodOptional<z.ZodNumber>;
1871
- }, z.core.$strict>, z.ZodObject<{
1872
- type: z.ZodLiteral<"task">;
1873
- assignees: z.ZodOptional<z.ZodArray<z.ZodString>>;
1874
- priority: z.ZodOptional<z.ZodString>;
1875
- project: z.ZodOptional<z.ZodString>;
1876
- cycle: z.ZodOptional<z.ZodString>;
1877
- dueDate: z.ZodOptional<z.ZodISODate>;
1878
- labels: z.ZodOptional<z.ZodArray<z.ZodString>>;
1879
- }, z.core.$strict>, z.ZodObject<{
1880
- type: z.ZodLiteral<"deployment">;
1881
- project: z.ZodOptional<z.ZodString>;
1882
- environment: z.ZodOptional<z.ZodString>;
1883
- revision: z.ZodOptional<z.ZodString>;
1884
- branch: z.ZodOptional<z.ZodString>;
1885
- }, z.core.$strict>], "type">>;
1634
+ cards: z.ZodOptional<z.ZodArray<z.ZodObject<{
1886
1635
  plugin: z.ZodString;
1887
- }, z.core.$strict>], "kind">>>;
1636
+ key: z.ZodString;
1637
+ kind: z.ZodLiteral<"object">;
1638
+ }, z.core.$strict>>>;
1888
1639
  text: z.ZodOptional<z.ZodString>;
1889
1640
  attachments: z.ZodOptional<z.ZodArray<z.ZodObject<{
1890
1641
  id: z.ZodString;
@@ -4075,4 +3826,4 @@ type PluginPackageContentReport = z.infer<typeof pluginPackageContentReportSchem
4075
3826
  type PluginOperationalReport = z.infer<typeof pluginOperationalReportSchema>;
4076
3827
  type PluginOperationalReportFeed = z.infer<typeof pluginOperationalReportFeedSchema>;
4077
3828
  //#endregion
4078
- 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 InputImage, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, 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 };
3829
+ 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 InputImage, type LocationActivityDayReport, type LocationActorSummaryReport, type LocationDetailReport, type LocationDirectoryReport, type LocationParams, type LocationSummaryReport, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, type MessageAttachment, 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, resolveMessageCards };
@@ -1,4 +1,4 @@
1
- import { C as conversationReportEventSchema, D as createConversationBodySchema, E as conversationSummaryReportSchema, F as MAX_INPUT_IMAGE_BYTES, J as conversationTurnFailureReasonSchema, L as INPUT_IMAGE_TYPES, M as messageCardText, O as createConversationMessageBodySchema, P as MAX_INPUT_IMAGES, S as conversationReportEventDataSchema, T as conversationStatsReportSchema, _ 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, q as conversationTurnFailureCodeSchema, r as archiveConversationBodySchema, s as conversationActivityPreviewSchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, v as conversationPendingAuthorizationSchema, x as conversationPendingMessagesReportSchema, y as conversationPendingMessageDeliverySchema } from "../conversation-DOI6Y60M.js";
1
+ import { A as MAX_INPUT_IMAGE_BYTES, C as conversationReportEventSchema, D as createConversationBodySchema, E as conversationSummaryReportSchema, J as conversationTurnFailureCodeSchema, M as INPUT_IMAGE_TYPES, O as createConversationMessageBodySchema, S as conversationReportEventDataSchema, T as conversationStatsReportSchema, V as messageCardText, W as resolveMessageCards, Y 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 MAX_INPUT_IMAGES, 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-DsuDtoYR.js";
2
2
  import { C as skillReportsSchema, S as skillReportSchema, _ as pluginPackageContentItemReportSchema, b as pluginsSchema, g as pluginOperationalReportSchema, h as pluginOperationalReportFeedSchema, m as healthReportSchema, t as webMessageId, v as pluginPackageContentReportSchema, x as runtimeInfoReportSchema, y as pluginSchema } from "../web-message-id-xPI_EFSC.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-CXmCvVLn.js";
4
- export { INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, 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, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
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-B-Taar1W.js";
4
+ export { INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, 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, resolveMessageCards, revokePersonalTokenResponseSchema, runtimeInfoReportSchema, scheduledAutomationSummarySchema, skillReportSchema, skillReportsSchema, statSchema, statsReportSchema, webMessageId, workspaceBodySchema, workspaceListSchema, workspaceParamsSchema, workspaceRepoSchema, workspaceSchema };
package/dist/api.js CHANGED
@@ -1,19 +1,19 @@
1
- import { Ct as cancelHumanFacingPendingMessages, M as parseSlackThreadId, Nt as getConversation, b as readStats, k as readLiveAttachment } from "./agent-runner-DtrpkWV5.js";
2
- import { d as logException, p as logWarn } from "./logging-Muw6EXro.js";
1
+ import { Ct as cancelHumanFacingPendingMessages, M as parseSlackThreadId, Nt as getConversation, b as readStats, k as readLiveAttachment } from "./agent-runner-mpzfRAEr.js";
2
+ import { d as logException, p as logWarn } from "./logging-9VpmxvdL.js";
3
3
  import { b as parseSlackMessageTs, h as parseSlackTeamId, p as parseSlackChannelId } from "./context-0Et9iVSB.js";
4
- import { $ as resolveViewerUser, $t as getConversationStore, At as conversationNotArchivedForEmail, Ct as createPluginLogger, D as SANDBOX_RUNTIME, Dt as conversationArchivedForUser, Et as conversationArchivedForEmail, Ft as readConversationEventPage, Gt as listConversationAnnotationsById, It as buildSentryConversationUrl, J as withSlackRetries, Mt as viewerConversationMembership, Ot as conversationHasParticipantEmail, Pt as readLatestConversationBrief, S as WorkspaceValidationError, Tt as conversationArchiveTimes, U as getSlackClient, Wt as listConversationAnnotations, Z as findUserByEmail, _ as deleteWorkspace, an as locationFromRow, b as listWorkspaces, dn as agentTurnUsageSchema, en as getDb, et as updateViewerDisplayName, fn as hasAgentTurnUsage, g as createWorkspace, j as workspaceRepoCheckoutPath, jt as conversationNotArchivedForUser, kt as conversationHasParticipantUser, pn as resolveRootConversationId, sn as parseSessionSource, tn as getSqlExecutor, u as getPlugins, v as getWorkspace, wt as readConversationAccessFromSql, x as updateWorkspace } from "./agent-hooks-BfjhfMIy.js";
4
+ import { $ as resolveViewerUser, $t as getConversationStore, At as conversationNotArchivedForEmail, Ct as createPluginLogger, D as SANDBOX_RUNTIME, Dt as conversationArchivedForUser, Et as conversationArchivedForEmail, Ft as readConversationEventPage, Gt as listConversationAnnotationsById, It as buildSentryConversationUrl, J as withSlackRetries, Mt as viewerConversationMembership, Ot as conversationHasParticipantEmail, Pt as readLatestConversationBrief, S as WorkspaceValidationError, Tt as conversationArchiveTimes, U as getSlackClient, Wt as listConversationAnnotations, Z as findUserByEmail, _ as deleteWorkspace, an as locationFromRow, b as listWorkspaces, dn as agentTurnUsageSchema, en as getDb, et as updateViewerDisplayName, fn as hasAgentTurnUsage, g as createWorkspace, j as workspaceRepoCheckoutPath, jt as conversationNotArchivedForUser, kt as conversationHasParticipantUser, pn as resolveRootConversationId, sn as parseSessionSource, tn as getSqlExecutor, u as getPlugins, v as getWorkspace, wt as readConversationAccessFromSql, x as updateWorkspace } from "./agent-hooks-BxL23rrY.js";
5
5
  import { n as juniorDestinations } from "./destinations-BeBiJeEM.js";
6
- 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-DUqeOd8y.js";
7
- import { D as createConversationBodySchema, I as readMessageAttachments, L as INPUT_IMAGE_TYPES, 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-DOI6Y60M.js";
8
- import { n as hash, t as create } from "./profile-25NkcK4S.js";
9
- import { t as getCachedSnapshot } from "./resolve-D9kl_rkl.js";
10
- import { a as getVercelConversationWorkQueue } from "./job-queue-C1AJ5uJt.js";
6
+ 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-_eMyydh0.js";
7
+ import { D as createConversationBodySchema, M as INPUT_IMAGE_TYPES, 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, j as readMessageAttachments, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, x as conversationPendingMessagesReportSchema } from "./conversation-DsuDtoYR.js";
8
+ import { n as hash, t as create } from "./profile-CK1KKKfj.js";
9
+ import { t as getCachedSnapshot } from "./resolve-C3UI1gHN.js";
10
+ import { a as getVercelConversationWorkQueue } from "./job-queue-Dl1lTGqq.js";
11
11
  import { C as skillReportsSchema, a as fillUtcHours, b as pluginsSchema, c as sumUtcHoursIntoSixHours, d as trailingUtcSixHourWindow, f as utcDayKey, h as pluginOperationalReportFeedSchema, i as fillUtcDays, l as trailingUtcDayWindow, m as healthReportSchema, n as DAY_MS$1, o as fillUtcSixHours, p as utcHourKey, r as HOUR_MS$1, s as startOfUtcHour, u as trailingUtcHourWindow, x as runtimeInfoReportSchema } from "./web-message-id-xPI_EFSC.js";
12
- import { F as createVercelAttachmentStorage, _ as readViewerAutomations, a as webActorFromEmail, b as clearSlackPendingReactions, c as getProductionSlackAdapter, d as ViewerTaskNotFoundError, f as deleteViewerTask, h as readViewerAutomationRuns, k as legacyWebMailboxMetadataSchema, l as formatSlackConversationRedactedLabel, m as readViewerAutomationExecutions, p as readConversationSourceTask, r as createAndEnqueueConversation, t as appendAndEnqueueWebMessage, u as resolveSlackConversationContextFromThreadId, x as lookupSlackUser, z as readHealthReport } from "./web-input-WFoSdz8L.js";
13
- import { A as conversationAggregateColumns, j as conversationRangeColumns, k as conversationActiveDaysColumn } from "./task-runner-DH8M0m7l.js";
14
- import { r as getWebAuthorization } from "./web-authorization-DrXlSd3Y.js";
15
- import { t as decodeInputImages } from "./images-B5JLFwJR.js";
16
- 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-CXmCvVLn.js";
12
+ import { F as createVercelAttachmentStorage, _ as readViewerAutomations, a as webActorFromEmail, b as clearSlackPendingReactions, c as getProductionSlackAdapter, d as ViewerTaskNotFoundError, f as deleteViewerTask, h as readViewerAutomationRuns, k as legacyWebMailboxMetadataSchema, l as formatSlackConversationRedactedLabel, m as readViewerAutomationExecutions, p as readConversationSourceTask, r as createAndEnqueueConversation, t as appendAndEnqueueWebMessage, u as resolveSlackConversationContextFromThreadId, x as lookupSlackUser, z as readHealthReport } from "./web-input-clQr4P53.js";
13
+ import { A as conversationAggregateColumns, j as conversationRangeColumns, k as conversationActiveDaysColumn } from "./task-runner-DkaEXCEP.js";
14
+ import { r as getWebAuthorization } from "./web-authorization-C1coqBWn.js";
15
+ import { t as decodeInputImages } from "./images-D9gA15-3.js";
16
+ 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-B-Taar1W.js";
17
17
  import { Hono } from "hono";
18
18
  import path from "node:path";
19
19
  import { z } from "zod";
@@ -3059,7 +3059,7 @@ async function readPeoplePluginReports(args) {
3059
3059
  reports: [],
3060
3060
  source: "plugins"
3061
3061
  });
3062
- const { getPluginProfileReports } = await import("./agent-hooks-BfjhfMIy.js").then((n) => n.t);
3062
+ const { getPluginProfileReports } = await import("./agent-hooks-BxL23rrY.js").then((n) => n.t);
3063
3063
  return pluginOperationalReportFeedSchema.parse({
3064
3064
  generatedAt: new Date(nowMs).toISOString(),
3065
3065
  reports: await getPluginProfileReports({
@@ -3668,7 +3668,7 @@ function readDescriptionText(home) {
3668
3668
  }
3669
3669
  /** Read discovered skill names for authenticated runtime diagnostics. */
3670
3670
  async function readSkillReports() {
3671
- const { discoverSkills } = await import("./skills-rwWf3XjQ.js").then((n) => n.o);
3671
+ const { discoverSkills } = await import("./skills-B5o4x78h.js").then((n) => n.o);
3672
3672
  const skills = await discoverSkills();
3673
3673
  return skillReportsSchema.parse(skills.map((skill) => ({
3674
3674
  name: skill.name,
@@ -3677,7 +3677,7 @@ async function readSkillReports() {
3677
3677
  }
3678
3678
  /** Read safe configured plugin metadata for authenticated runtime diagnostics. */
3679
3679
  async function readPlugins() {
3680
- const { pluginCatalogRuntime } = await import("./catalog-runtime-Byr3trKF.js").then((n) => n.t);
3680
+ const { pluginCatalogRuntime } = await import("./catalog-runtime-RSgQS4lp.js").then((n) => n.t);
3681
3681
  return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
3682
3682
  configKeys: plugin.manifest.configKeys ?? [],
3683
3683
  description: plugin.manifest.description,
@@ -3689,7 +3689,7 @@ async function readPlugins() {
3689
3689
  async function readRuntimeInfoReport() {
3690
3690
  const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
3691
3691
  import("./package-discovery-7a9YqLhE.js").then((n) => n.r),
3692
- import("./catalog-runtime-Byr3trKF.js").then((n) => n.t),
3692
+ import("./catalog-runtime-RSgQS4lp.js").then((n) => n.t),
3693
3693
  readPlugins(),
3694
3694
  readSkillReports()
3695
3695
  ]);
@@ -3706,7 +3706,7 @@ async function readRuntimeInfoReport() {
3706
3706
  /** Read sanitized operational summaries contributed by plugins. */
3707
3707
  async function readPluginOperationalReportFeed() {
3708
3708
  const nowMs = Date.now();
3709
- const { getPluginOperationalReports } = await import("./agent-hooks-BfjhfMIy.js").then((n) => n.t);
3709
+ const { getPluginOperationalReports } = await import("./agent-hooks-BxL23rrY.js").then((n) => n.t);
3710
3710
  return pluginOperationalReportFeedSchema.parse({
3711
3711
  source: "plugins",
3712
3712
  generatedAt: new Date(nowMs).toISOString(),
@@ -1,11 +1,11 @@
1
1
  import { t as ConversationStore } from "./store-DoewL5mG.js";
2
- import "./history-H-SI5Dej.js";
2
+ import "./history-DvqWZlYX.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";
6
6
  import "@earendil-works/pi-ai/api/anthropic-messages";
7
7
  import { z } from "zod";
8
- import { Destination, Source, User } from "@sentry/junior-plugin-api";
8
+ import { Destination, OwnedObjectAnnotation, Source, User } from "@sentry/junior-plugin-api";
9
9
  import "@earendil-works/pi-agent-core";
10
10
  import "@earendil-works/pi-ai";
11
11
  import { Sandbox } from "@vercel/sandbox";
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-BRZB3MuD.js";
1
+ import { i as ModelProfileInput, n as JuniorDashboardOptions, r as createApp, t as JuniorAppOptions } from "./app-xk2-Id1T.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 };
package/dist/app.js CHANGED
@@ -1,28 +1,28 @@
1
- import { $ as collectEventAutomationMatchKeys, A as requestAttachmentDeletion, An as getConfigDefaults, Bt as removeActiveConversation, C as readPublicArtifact, Cn as createUserTokenStore, Et as clearExpiredConversationLease, Ft as hasRunnableConversationWork, G as readScheduledAutomation, H as listScheduledAutomations, Ht as requestConversationWork, It as listActiveConversationIds, J as scheduledRunId, Jt as hasRunnableConversationWork$1, Kt as CONVERSATION_WORK_STALE_ENQUEUE_MS, L as logScheduledAutomationRunSkipped, M as parseSlackThreadId, Mt as ensureConversationWake, Nt as getConversation, O as collectAttachmentGarbage, Pt as getConversationWorkState, Q as effectiveTaskOutcomes, R as scheduledAutomationRunAttributes, S as publicArtifactHeaders, Sn as slackExternalRefIdSchema, T as lookupSlackUserProfile, U as listScheduledAutomationsForTeam, Wt as stopConversationWork, X as scheduledRunSchema, Xt as isInvalidConversationRecordError, Y as withScheduledAutomationLock, Zt as renderTaskInput, _t as getEventCatalog, a as isExperimentalFeatureEnabled, an as consumeSandboxEgressAuthRequiredSignal, en as resolveSandboxEgressProviderForHost, f as deleteMcpAuthSessionsForUserProvider, fn as startOAuthFlow, i as getExperimentalFeatures, in as clearSandboxEgressSignals, jn as setConfigDefaults, l as executeCredentialedEgressRequest, ln as formatProviderLabel, m as deleteMcpStoredOAuthCredentials, mt as ingestEvent, nn as shouldPropagateSandboxEgressTrace, nt as findMatchingEventAutomations, o as setExperimentalFeatures, on as consumeSandboxEgressPermissionDeniedSignal, p as deleteMcpServerSessionId, pt as processWorkspaceSnapshotJob, q as saveScheduledAutomationInLock, rn as SANDBOX_EGRESS_PROXY_PATH, s as executeAgentRun, sn as parseSandboxEgressCredentialToken, t as createAgentRunner, tn as normalizeSandboxEgressTracePropagationDomains, vt as eventGuidance, w as unpublishedArtifactHeaders, xn as slackEntitySchema, xt as appendAndEnqueueInboundMessage, z as getNextRunAtMs } from "./agent-runner-DtrpkWV5.js";
2
- import { C as withLogContext, O as JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE, S as withContext, d as logException, f as logInfo, j as JUNIOR_WORKSPACE_SNAPSHOT_JOB_CALLBACK_ROUTE, p as logWarn, r as createRequestContext, v as setSpanAttributes, w as withSpan, y as setSpanStatus } from "./logging-Muw6EXro.js";
1
+ import { $ as collectEventAutomationMatchKeys, A as requestAttachmentDeletion, An as getConfigDefaults, Bt as removeActiveConversation, C as readPublicArtifact, Cn as createUserTokenStore, Et as clearExpiredConversationLease, Ft as hasRunnableConversationWork, G as readScheduledAutomation, H as listScheduledAutomations, Ht as requestConversationWork, It as listActiveConversationIds, J as scheduledRunId, Jt as hasRunnableConversationWork$1, Kt as CONVERSATION_WORK_STALE_ENQUEUE_MS, L as logScheduledAutomationRunSkipped, M as parseSlackThreadId, Mt as ensureConversationWake, Nt as getConversation, O as collectAttachmentGarbage, Pt as getConversationWorkState, Q as effectiveTaskOutcomes, R as scheduledAutomationRunAttributes, S as publicArtifactHeaders, Sn as slackExternalRefIdSchema, T as lookupSlackUserProfile, U as listScheduledAutomationsForTeam, Wt as stopConversationWork, X as scheduledRunSchema, Xt as isInvalidConversationRecordError, Y as withScheduledAutomationLock, Zt as renderTaskInput, _t as getEventCatalog, a as isExperimentalFeatureEnabled, an as consumeSandboxEgressAuthRequiredSignal, en as resolveSandboxEgressProviderForHost, f as deleteMcpAuthSessionsForUserProvider, fn as startOAuthFlow, i as getExperimentalFeatures, in as clearSandboxEgressSignals, jn as setConfigDefaults, l as executeCredentialedEgressRequest, ln as formatProviderLabel, m as deleteMcpStoredOAuthCredentials, mt as ingestEvent, nn as shouldPropagateSandboxEgressTrace, nt as findMatchingEventAutomations, o as setExperimentalFeatures, on as consumeSandboxEgressPermissionDeniedSignal, p as deleteMcpServerSessionId, pt as processWorkspaceSnapshotJob, q as saveScheduledAutomationInLock, rn as SANDBOX_EGRESS_PROXY_PATH, s as executeAgentRun, sn as parseSandboxEgressCredentialToken, t as createAgentRunner, tn as normalizeSandboxEgressTracePropagationDomains, vt as eventGuidance, w as unpublishedArtifactHeaders, xn as slackEntitySchema, xt as appendAndEnqueueInboundMessage, z as getNextRunAtMs } from "./agent-runner-mpzfRAEr.js";
2
+ import { C as withLogContext, O as JUNIOR_PLUGIN_TASK_CALLBACK_ROUTE, S as withContext, d as logException, f as logInfo, j as JUNIOR_WORKSPACE_SNAPSHOT_JOB_CALLBACK_ROUTE, p as logWarn, r as createRequestContext, v as setSpanAttributes, w as withSpan, y as setSpanStatus } from "./logging-9VpmxvdL.js";
3
3
  import { r as continueTrace } from "./sentry-CgWZM_kV.js";
4
- import { t as JUNIOR_VERSION } from "./version-B0eXuHqw.js";
5
- import { a as getChatConfig, f as setBotModelConfig, i as configureFunctionMaxDurationSeconds, m as setSlackReactionConfig, n as botConfig, p as setProfiles, s as getSlackBotToken, u as getSlackReactionConfig } from "./config-C4xZrx7G.js";
4
+ import { t as JUNIOR_VERSION } from "./version-wZ8kdUu1.js";
5
+ import { a as getChatConfig, f as setBotModelConfig, i as configureFunctionMaxDurationSeconds, m as setSlackReactionConfig, n as botConfig, p as setProfiles, s as getSlackBotToken, u as getSlackReactionConfig } from "./config-CkmcoWGB.js";
6
6
  import { _ as slackChannelIdSchema, g as parseSlackUserId, h as parseSlackTeamId, u as parseActorUserId, v as slackTeamIdSchema, x as slackMessageTsSchema, y as slackUserIdSchema } from "./context-0Et9iVSB.js";
7
- import { $t as getConversationStore, Ct as createPluginLogger, F as bindSlackDirectCredentialSubject, G as isDmChannel, I as verifyEventAutomationCredentialSubject, L as verifyScheduledAutomationCredentialSubject, N as bindEventAutomationCredentialSubject, P as bindScheduledAutomationCredentialSubject, Q as readActorIdentity, R as verifySlackDirectCredentialSubject, U as getSlackClient, Vt as resolveRootVisibility, Wt as listConversationAnnotations, X as runWithWorkspaceTeamId, Y as getWorkspaceTeamId, Zt as getConversationEventStore, a as getPluginRoutes, bt as createPluginState, ct as collectEventMatchKeys, d as setPlugins, en as getDb, f as validatePlugins, ft as findMatchingWatches, gt as getDashboardConversationLink, h as setBriefsConfig, i as getPluginApiRoutes, in as withConversationMutationLock, mn as deleteProviderIdentityForSlackUser, mt as takeDueTimerWatches, ot as cancelSubscriptions, rn as withConversationEventLock, tn as getSqlExecutor, u as getPlugins, vt as getDashboardTaskLink, wt as readConversationAccessFromSql, yt as setDashboardConversationLinkOptions } from "./agent-hooks-BfjhfMIy.js";
7
+ import { $t as getConversationStore, Ct as createPluginLogger, F as bindSlackDirectCredentialSubject, G as isDmChannel, I as verifyEventAutomationCredentialSubject, L as verifyScheduledAutomationCredentialSubject, N as bindEventAutomationCredentialSubject, P as bindScheduledAutomationCredentialSubject, Q as readActorIdentity, R as verifySlackDirectCredentialSubject, U as getSlackClient, Vt as resolveRootVisibility, Wt as listConversationAnnotations, X as runWithWorkspaceTeamId, Y as getWorkspaceTeamId, Zt as getConversationEventStore, a as getPluginRoutes, bt as createPluginState, ct as collectEventMatchKeys, d as setPlugins, en as getDb, f as validatePlugins, ft as findMatchingWatches, gt as getDashboardConversationLink, h as setBriefsConfig, i as getPluginApiRoutes, in as withConversationMutationLock, mn as deleteProviderIdentityForSlackUser, mt as takeDueTimerWatches, ot as cancelSubscriptions, rn as withConversationEventLock, tn as getSqlExecutor, u as getPlugins, vt as getDashboardTaskLink, wt as readConversationAccessFromSql, yt as setDashboardConversationLinkOptions } from "./agent-hooks-BxL23rrY.js";
8
8
  import { n as juniorDestinations } from "./destinations-BeBiJeEM.js";
9
- import { E as juniorConversations, a as juniorSchedulerRuns, f as juniorAgentBindings, g as juniorConversationBriefs, o as juniorSchedulerTasks, p as juniorAgentInvocations, y as juniorConversationEvents } from "./executor-DUqeOd8y.js";
10
- import { k as annotationCard } from "./conversation-DOI6Y60M.js";
11
- import { n as pluginCatalogRuntime } from "./catalog-runtime-Byr3trKF.js";
12
- import { X as projectConversationMessages, q as appendConversationMessages } from "./checkpoint-DEYb3Fqm.js";
13
- import { O as withLock$1, w as getStateAdapter } from "./profile-25NkcK4S.js";
14
- import { f as setSandboxResourceConfig, u as getSandboxResourceConfig } from "./resolve-D9kl_rkl.js";
15
- import { a as getVercelConversationWorkQueue, g as isConversationQueueMessageRejectedError, h as conversationQueueMessageSchema, i as verifyWorkspaceSnapshotJobMessage, o as resolveConversationWorkQueueTopic, s as verifyConversationQueueMessage, t as WORKSPACE_SNAPSHOT_JOB_QUEUE_TOPIC } from "./job-queue-C1AJ5uJt.js";
16
- import { n as validatePluginRegistrations, t as validatePluginEgressCredentialHooks } from "./validation-CNUPIKMW.js";
9
+ import { E as juniorConversations, a as juniorSchedulerRuns, f as juniorAgentBindings, g as juniorConversationBriefs, o as juniorSchedulerTasks, p as juniorAgentInvocations, y as juniorConversationEvents } from "./executor-_eMyydh0.js";
10
+ import { z as annotationCard } from "./conversation-DsuDtoYR.js";
11
+ import { n as pluginCatalogRuntime } from "./catalog-runtime-RSgQS4lp.js";
12
+ import { X as projectConversationMessages, q as appendConversationMessages } from "./checkpoint-Q4FG2BQc.js";
13
+ import { O as withLock$1, w as getStateAdapter } from "./profile-CK1KKKfj.js";
14
+ import { f as setSandboxResourceConfig, u as getSandboxResourceConfig } from "./resolve-C3UI1gHN.js";
15
+ import { a as getVercelConversationWorkQueue, g as isConversationQueueMessageRejectedError, h as conversationQueueMessageSchema, i as verifyWorkspaceSnapshotJobMessage, o as resolveConversationWorkQueueTopic, s as verifyConversationQueueMessage, t as WORKSPACE_SNAPSHOT_JOB_QUEUE_TOPIC } from "./job-queue-Dl1lTGqq.js";
16
+ import { n as validatePluginRegistrations, t as validatePluginEgressCredentialHooks } from "./validation-DoceK2VV.js";
17
17
  import { a as pluginRuntimeRegistrationsFromPluginSet, n as pluginCatalogConfigFromEnv, r as pluginCatalogConfigFromPluginSet, t as defineJuniorPlugins } from "./plugins-egKWjgue.js";
18
- import { A as THREAD_OPTOUT_ACK, C as verifySlackSignature, D as withNormalizedThreadId, E as normalizeIncomingSlackThreadId, F as createVercelAttachmentStorage, L as enqueueAgentDispatch, M as parseContent, N as getThreadStopDecision, O as getAuthPausedConversationTurnId, P as renderSlackObjectCard, R as GET$3, S as runWithSlackInstallation, T as stopSlackThread, a as webActorFromEmail, b as clearSlackPendingReactions, c as getProductionSlackAdapter, g as readViewerAutomationSummary, i as recordWebConversationActivity, j as startProcessingReaction, n as conversationTurnIdForMessage, o as createProductionConversationWorkOptions, s as createProductionSlackWebhookServices, t as appendAndEnqueueWebMessage, v as recordSkippedConversationMessage, w as isSlackMessageStopped, y as buildSlackInboundMessage } from "./web-input-WFoSdz8L.js";
19
- import { O as recordAutomationExecution, _ as markDispatchFailed, a as confirmDispatchMailboxAppend, d as getPluginDispatchProjection, f as isTerminalDispatchStatus, l as getDispatchRecord, o as createOrGetDispatch, p as listPendingDispatchMailboxAppends, s as getDispatchConversationId } from "./task-runner-DH8M0m7l.js";
20
- import { c as listPendingAgentInvocationMailboxAppends, r as enqueueAgentInvocation } from "./work-B0cAo7nv.js";
21
- import { s as coerceThreadConversationState } from "./thread-state-CS67FjfN.js";
22
- import { a as GET$4, i as publishAppHomeView, r as GET$5, t as receiveLocalOAuthCredential } from "./credential-sync-CuEwdxwY.js";
23
- import { a as registerVercelPluginTaskDevConsumer, n as createVercelPluginTaskCallback, s as queueCallback } from "./task-queue-BGo6K-BX.js";
24
- import { t as processConversationWork } from "./worker-DNklqmhH.js";
25
- import { t as bindSpawnAgent } from "./spawn-z0fRvZH9.js";
18
+ import { A as THREAD_OPTOUT_ACK, C as verifySlackSignature, D as withNormalizedThreadId, E as normalizeIncomingSlackThreadId, F as createVercelAttachmentStorage, L as enqueueAgentDispatch, M as parseContent, N as getThreadStopDecision, O as getAuthPausedConversationTurnId, P as renderSlackObjectCard, R as GET$3, S as runWithSlackInstallation, T as stopSlackThread, a as webActorFromEmail, b as clearSlackPendingReactions, c as getProductionSlackAdapter, g as readViewerAutomationSummary, i as recordWebConversationActivity, j as startProcessingReaction, n as conversationTurnIdForMessage, o as createProductionConversationWorkOptions, s as createProductionSlackWebhookServices, t as appendAndEnqueueWebMessage, v as recordSkippedConversationMessage, w as isSlackMessageStopped, y as buildSlackInboundMessage } from "./web-input-clQr4P53.js";
19
+ import { O as recordAutomationExecution, _ as markDispatchFailed, a as confirmDispatchMailboxAppend, d as getPluginDispatchProjection, f as isTerminalDispatchStatus, l as getDispatchRecord, o as createOrGetDispatch, p as listPendingDispatchMailboxAppends, s as getDispatchConversationId } from "./task-runner-DkaEXCEP.js";
20
+ import { c as listPendingAgentInvocationMailboxAppends, r as enqueueAgentInvocation } from "./work-BW27hKZB.js";
21
+ import { s as coerceThreadConversationState } from "./thread-state-HHHiwpYG.js";
22
+ import { a as GET$4, i as publishAppHomeView, r as GET$5, t as receiveLocalOAuthCredential } from "./credential-sync-CHL297BH.js";
23
+ import { a as registerVercelPluginTaskDevConsumer, n as createVercelPluginTaskCallback, s as queueCallback } from "./task-queue-Bb71mssX.js";
24
+ import { t as processConversationWork } from "./worker-DQ-0LzAC.js";
25
+ import { t as bindSpawnAgent } from "./spawn-pwMuB53X.js";
26
26
  import { createRequire } from "node:module";
27
27
  import { pathToFileURL } from "node:url";
28
28
  import { Hono } from "hono";
@@ -4937,6 +4937,7 @@ function dashboardHostRoutePaths(dashboard, authenticatedRoutes = []) {
4937
4937
  "/_junior/dashboard/avatar.png",
4938
4938
  "/_junior/dashboard/object-icons/*",
4939
4939
  "/_junior/dashboard/client.js",
4940
+ "/_junior/dashboard/chunks/*",
4940
4941
  "/_junior/dashboard/icon-512.png",
4941
4942
  "/_junior/dashboard/manifest.webmanifest",
4942
4943
  loginPath,
@@ -1,7 +1,7 @@
1
- import { r as completeObject } from "./client-BN5U3CGw.js";
1
+ import { r as completeObject } from "./client-Mj9HEEKf.js";
2
2
  import { r as defaultModelId } from "./model-profile-BwU8mqwD.js";
3
- import { U as parseBriefInput, d as conversationDetailReportSchema, p as conversationEventPageSchema, z as briefCodeChangeSchema } from "./conversation-DOI6Y60M.js";
4
- import { n as briefEntriesFromReportEvents, s as generateBrief, t as BRIEF_PROMPT } from "./prompt-9C-wUwwx.js";
3
+ import { P as briefCodeChangeSchema, R as parseBriefInput, d as conversationDetailReportSchema, p as conversationEventPageSchema } from "./conversation-DsuDtoYR.js";
4
+ import { n as briefEntriesFromReportEvents, s as generateBrief, t as BRIEF_PROMPT } from "./prompt-D5RPLy92.js";
5
5
  import { CLI_USAGE } from "./cli/run.js";
6
6
  import path from "node:path";
7
7
  import { z } from "zod";
@@ -269,7 +269,7 @@ async function parseRunOptions(argv) {
269
269
  * `DATABASE_URL` at import, and `briefs pull` must work with only a token.
270
270
  */
271
271
  async function configuredDefaultModelId() {
272
- const { botConfig } = await import("./config-C4xZrx7G.js").then((n) => n.r);
272
+ const { botConfig } = await import("./config-CkmcoWGB.js").then((n) => n.r);
273
273
  return defaultModelId(botConfig);
274
274
  }
275
275
  function apiUrl(baseUrl, pathname) {
@@ -1,5 +1,5 @@
1
1
  import { t as __exportAll } from "./rolldown-runtime-B4FMCO8f.js";
2
- import { t as createPluginCatalogRuntime } from "./registry-DrcbAs8o.js";
2
+ import { t as createPluginCatalogRuntime } from "./registry-BzD2Rftl.js";
3
3
  //#region src/chat/plugins/catalog-runtime.ts
4
4
  var catalog_runtime_exports = /* @__PURE__ */ __exportAll({ pluginCatalogRuntime: () => pluginCatalogRuntime });
5
5
  const pluginCatalogRuntime = createPluginCatalogRuntime();
@@ -1,10 +1,10 @@
1
- import { d as unwrapCurrentInstruction, f as escapeXml, i as completeText, o as resolveGatewayModel } from "./client-BN5U3CGw.js";
2
- import { d as logException, o as getActiveTraceId, p as logWarn, t as buildTurnFailureResponse, v as setSpanAttributes } from "./logging-Muw6EXro.js";
3
- import { n as botConfig } from "./config-C4xZrx7G.js";
1
+ import { d as unwrapCurrentInstruction, f as escapeXml, i as completeText, o as resolveGatewayModel } from "./client-Mj9HEEKf.js";
2
+ import { d as logException, o as getActiveTraceId, p as logWarn, t as buildTurnFailureResponse, v as setSpanAttributes } from "./logging-9VpmxvdL.js";
3
+ import { n as botConfig } from "./config-CkmcoWGB.js";
4
4
  import { b as parseSlackMessageTs, f as toStoredSlackActor } from "./context-0Et9iVSB.js";
5
- import { $t as getConversationStore, Jt as authenticationLinkedEvent, Kt as JUNIOR_NATIVE_EVENT_NAMESPACE, Yt as authenticationUnlinkedEvent, Zt as getConversationEventStore, cn as addAgentTurnUsage, nn as createSqlConversationEventStore, on as bindProviderConversation, qt as agentsInstructionsUpdatedEvent, rn as withConversationEventLock, tn as getSqlExecutor } from "./agent-hooks-BfjhfMIy.js";
6
- import { $ as contextProvenance, G as agentHistoryItemSchema, et as instructionActors, tt as instructionProvenanceFor } from "./conversation-DOI6Y60M.js";
7
- import { D as fenceLock, O as withLock, T as MUTATION_LOCK_TTL_MS, k as sleep, w as getStateAdapter } from "./profile-25NkcK4S.js";
5
+ import { $t as getConversationStore, Jt as authenticationLinkedEvent, Kt as JUNIOR_NATIVE_EVENT_NAMESPACE, Yt as authenticationUnlinkedEvent, Zt as getConversationEventStore, cn as addAgentTurnUsage, nn as createSqlConversationEventStore, on as bindProviderConversation, qt as agentsInstructionsUpdatedEvent, rn as withConversationEventLock, tn as getSqlExecutor } from "./agent-hooks-BxL23rrY.js";
6
+ import { B as messageCardRef, K as agentHistoryItemSchema, et as contextProvenance, nt as instructionProvenanceFor, tt as instructionActors } from "./conversation-DsuDtoYR.js";
7
+ import { D as fenceLock, O as withLock, T as MUTATION_LOCK_TTL_MS, k as sleep, w as getStateAdapter } from "./profile-CK1KKKfj.js";
8
8
  import { isDeepStrictEqual } from "node:util";
9
9
  import { z } from "zod";
10
10
  import { createHash } from "node:crypto";
@@ -236,8 +236,7 @@ function recordDeliveredAssistantMessage(args) {
236
236
  replied: true,
237
237
  skippedReason: void 0
238
238
  });
239
- const cards = args.cards?.filter((card) => card.kind === "automation");
240
- const objectCards = args.cards?.filter((card) => card.kind === "object");
239
+ const objectCards = args.cards?.map(messageCardRef);
241
240
  upsertConversationMessage(args.conversation, {
242
241
  id: messageId,
243
242
  role: "assistant",
@@ -248,7 +247,6 @@ function recordDeliveredAssistantMessage(args) {
248
247
  isBot: true
249
248
  },
250
249
  meta: {
251
- ...cards?.length ? { cards } : void 0,
252
250
  ...objectCards?.length ? { objectCards } : void 0,
253
251
  replied: true,
254
252
  ...args.source ? { source: args.source } : void 0