@sentry/junior 0.238.1 → 0.240.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.
- package/dist/{admin-leAJ2k0P.js → admin-D6fRPRgC.js} +1 -1
- package/dist/{agent-hooks-p3UA9FI1.js → agent-hooks-JFbgedMZ.js} +116 -10
- package/dist/{agent-runner-DjQSEVuD.js → agent-runner-0IjJxsL1.js} +60 -121
- package/dist/api/schema.d.ts +43 -4
- package/dist/api/schema.js +2 -2
- package/dist/api.d.ts +1 -1
- package/dist/api.js +21 -20
- package/dist/{app-FB2hmHpZ.d.ts → app-MEd7wbF0.d.ts} +1 -1
- package/dist/app.d.ts +1 -1
- package/dist/app.js +24 -23
- package/dist/{automation-CrQGQ2MT.js → automation-B5_c8hEb.js} +2 -253
- package/dist/{briefs-mzUaJkBX.js → briefs-BGWTp-nz.js} +2 -2
- package/dist/cadence-D00SCzT1.js +256 -0
- package/dist/{catalog-runtime-xq-njrMs.js → catalog-runtime-DdigNl7s.js} +1 -1
- package/dist/{checkpoint-C37Xgtj-.js → checkpoint-C1ZnSz7r.js} +15 -11
- package/dist/cli/chat.js +12 -12
- package/dist/cli/check.js +3 -3
- package/dist/cli/main.js +2 -2
- package/dist/cli/plugins.js +4 -4
- package/dist/cli/snapshot-create.js +3 -3
- package/dist/cli/upgrade.d.ts +1 -1
- package/dist/cli/upgrade.js +3 -3
- package/dist/{client-BZdqKg6S.js → client-Cn73E7br.js} +2 -2
- package/dist/{config-CGK_VplU.js → config-B0S86yw9.js} +2 -2
- package/dist/{conversation-privacy-Ci3QLNOb.js → conversation-privacy-BKlX7D_R.js} +1 -1
- package/dist/{credential-sync-BBeYpK4k.js → credential-sync-DeNQm7st.js} +14 -14
- package/dist/{db-CWZP77Ex.d.ts → db-Ca9Nt5ci.d.ts} +1 -1
- package/dist/{executor-DmIad4GI.js → executor-BQ-A5nov.js} +2 -2
- package/dist/{images-1xUjTHGf.js → images-C7OKd6uy.js} +2 -2
- package/dist/instrumentation.js +2 -2
- package/dist/{job-queue-CXpx6KfD.js → job-queue-DgXLqoeB.js} +1 -1
- package/dist/{logging-Bne7JUXI.js → logging-BSNF167N.js} +1 -1
- package/dist/nitro.d.ts +1 -1
- package/dist/nitro.js +3 -3
- package/dist/{oauth-authorization-O8N3knp9.js → oauth-authorization-BM7g61od.js} +1 -1
- package/dist/{oauth-callback-server-Cb-HPZPS.js → oauth-callback-server-Dw-BwI6x.js} +2 -2
- package/dist/{pending-auth-C6w4Gwve.js → pending-auth-Chn_EA1_.js} +2 -2
- package/dist/{profile-DIcHBAxe.js → profile-3t9H_IwL.js} +4 -4
- package/dist/{registry-VSrEYeaD.js → registry-DLZlAhdP.js} +1 -1
- package/dist/{resolve-BkpWmZgN.js → resolve-9_cIPQsq.js} +2 -2
- package/dist/{runner-52ezCnZF.js → runner-C_eUbFyp.js} +9 -9
- package/dist/{sandbox-egress-signals-Cmhf3P6Y.js → sandbox-egress-signals-C1ycxTNA.js} +1 -1
- package/dist/{schema-CxWAN2zq.js → schema-C4XwHTY4.js} +1 -1
- package/dist/{skills-PHvy-ZgH.js → skills-Dqgjr_Tl.js} +2 -2
- package/dist/{spawn-CY34_HCm.js → spawn-BfEr3t7b.js} +2 -2
- package/dist/{store-BxxbxBlm.d.ts → store-DoewL5mG.d.ts} +0 -7
- package/dist/{task-queue-B9uJqkal.js → task-queue-CuFZDOXn.js} +3 -3
- package/dist/{task-runner-BZUoctJ1.js → task-runner-c7gwV8dj.js} +10 -10
- package/dist/{thread-state-SnFcB9Rk.js → thread-state-exTu-G1w.js} +6 -6
- package/dist/{turn-failure-response-CrSc1Vtn.js → turn-failure-response-DFp99ziF.js} +8 -8
- package/dist/{turn-lifecycle-D49hJbjm.js → turn-lifecycle-C4TjuOzG.js} +1 -1
- package/dist/{turn-session-routing-cMvumCLK.js → turn-session-routing-Vpg8jUD1.js} +1 -1
- package/dist/{validation-DsLyiOfn.js → validation-D2lULEG9.js} +1 -1
- package/dist/{version-Dayi_ng2.js → version-BjBMCc2o.js} +1 -1
- package/dist/version.js +1 -1
- package/dist/{viewer-DF3HTfW5.js → viewer-XE3nFqKM.js} +9 -11
- package/dist/{web-authorization-Dg_R1tMc.js → web-authorization-8E8IrWOj.js} +6 -6
- package/dist/{web-input-qVi8134S.js → web-input-DF4GGJrf.js} +28 -44
- package/dist/{work-BbcghZZp.js → work-Dt_JjfbX.js} +7 -7
- package/dist/{worker-B-uRQzKw.js → worker-BrbnLmD3.js} +5 -5
- package/package.json +5 -5
package/dist/api/schema.d.ts
CHANGED
|
@@ -540,6 +540,7 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
540
540
|
code_change: "code_change";
|
|
541
541
|
task: "task";
|
|
542
542
|
deployment: "deployment";
|
|
543
|
+
calendar_event: "calendar_event";
|
|
543
544
|
automation: "automation";
|
|
544
545
|
item: "item";
|
|
545
546
|
}>>;
|
|
@@ -562,6 +563,7 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
562
563
|
code_change: "code_change";
|
|
563
564
|
task: "task";
|
|
564
565
|
deployment: "deployment";
|
|
566
|
+
calendar_event: "calendar_event";
|
|
565
567
|
automation: "automation";
|
|
566
568
|
item: "item";
|
|
567
569
|
}>;
|
|
@@ -607,6 +609,10 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
607
609
|
environment: z.ZodOptional<z.ZodString>;
|
|
608
610
|
revision: z.ZodOptional<z.ZodString>;
|
|
609
611
|
branch: z.ZodOptional<z.ZodString>;
|
|
612
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
613
|
+
type: z.ZodLiteral<"calendar_event">;
|
|
614
|
+
when: z.ZodOptional<z.ZodString>;
|
|
615
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
610
616
|
}, z.core.$strict>], "type">>;
|
|
611
617
|
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
612
618
|
plugin: z.ZodString;
|
|
@@ -626,6 +632,7 @@ export declare const conversationSummaryReportSchema: z.ZodObject<{
|
|
|
626
632
|
code_change: "code_change";
|
|
627
633
|
task: "task";
|
|
628
634
|
deployment: "deployment";
|
|
635
|
+
calendar_event: "calendar_event";
|
|
629
636
|
automation: "automation";
|
|
630
637
|
item: "item";
|
|
631
638
|
}>>;
|
|
@@ -662,6 +669,7 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
662
669
|
code_change: "code_change";
|
|
663
670
|
task: "task";
|
|
664
671
|
deployment: "deployment";
|
|
672
|
+
calendar_event: "calendar_event";
|
|
665
673
|
automation: "automation";
|
|
666
674
|
item: "item";
|
|
667
675
|
}>>;
|
|
@@ -778,13 +786,13 @@ export declare const conversationReportEventDataSchema: z.ZodDiscriminatedUnion<
|
|
|
778
786
|
}, z.core.$strict>>>;
|
|
779
787
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
780
788
|
check: "check";
|
|
789
|
+
calendar: "calendar";
|
|
781
790
|
warning: "warning";
|
|
782
791
|
info: "info";
|
|
783
792
|
key: "key";
|
|
784
793
|
link: "link";
|
|
785
794
|
activity: "activity";
|
|
786
795
|
brain: "brain";
|
|
787
|
-
calendar: "calendar";
|
|
788
796
|
database: "database";
|
|
789
797
|
sparkles: "sparkles";
|
|
790
798
|
}>>;
|
|
@@ -897,6 +905,7 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
897
905
|
code_change: "code_change";
|
|
898
906
|
task: "task";
|
|
899
907
|
deployment: "deployment";
|
|
908
|
+
calendar_event: "calendar_event";
|
|
900
909
|
automation: "automation";
|
|
901
910
|
item: "item";
|
|
902
911
|
}>>;
|
|
@@ -1013,13 +1022,13 @@ export declare const conversationReportEventSchema: z.ZodObject<{
|
|
|
1013
1022
|
}, z.core.$strict>>>;
|
|
1014
1023
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
1015
1024
|
check: "check";
|
|
1025
|
+
calendar: "calendar";
|
|
1016
1026
|
warning: "warning";
|
|
1017
1027
|
info: "info";
|
|
1018
1028
|
key: "key";
|
|
1019
1029
|
link: "link";
|
|
1020
1030
|
activity: "activity";
|
|
1021
1031
|
brain: "brain";
|
|
1022
|
-
calendar: "calendar";
|
|
1023
1032
|
database: "database";
|
|
1024
1033
|
sparkles: "sparkles";
|
|
1025
1034
|
}>>;
|
|
@@ -1247,6 +1256,7 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1247
1256
|
code_change: "code_change";
|
|
1248
1257
|
task: "task";
|
|
1249
1258
|
deployment: "deployment";
|
|
1259
|
+
calendar_event: "calendar_event";
|
|
1250
1260
|
automation: "automation";
|
|
1251
1261
|
item: "item";
|
|
1252
1262
|
}>>;
|
|
@@ -1269,6 +1279,7 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1269
1279
|
code_change: "code_change";
|
|
1270
1280
|
task: "task";
|
|
1271
1281
|
deployment: "deployment";
|
|
1282
|
+
calendar_event: "calendar_event";
|
|
1272
1283
|
automation: "automation";
|
|
1273
1284
|
item: "item";
|
|
1274
1285
|
}>;
|
|
@@ -1314,6 +1325,10 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1314
1325
|
environment: z.ZodOptional<z.ZodString>;
|
|
1315
1326
|
revision: z.ZodOptional<z.ZodString>;
|
|
1316
1327
|
branch: z.ZodOptional<z.ZodString>;
|
|
1328
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
1329
|
+
type: z.ZodLiteral<"calendar_event">;
|
|
1330
|
+
when: z.ZodOptional<z.ZodString>;
|
|
1331
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
1317
1332
|
}, z.core.$strict>], "type">>;
|
|
1318
1333
|
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
1319
1334
|
plugin: z.ZodString;
|
|
@@ -1333,6 +1348,7 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1333
1348
|
code_change: "code_change";
|
|
1334
1349
|
task: "task";
|
|
1335
1350
|
deployment: "deployment";
|
|
1351
|
+
calendar_event: "calendar_event";
|
|
1336
1352
|
automation: "automation";
|
|
1337
1353
|
item: "item";
|
|
1338
1354
|
}>>;
|
|
@@ -1469,6 +1485,7 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1469
1485
|
code_change: "code_change";
|
|
1470
1486
|
task: "task";
|
|
1471
1487
|
deployment: "deployment";
|
|
1488
|
+
calendar_event: "calendar_event";
|
|
1472
1489
|
automation: "automation";
|
|
1473
1490
|
item: "item";
|
|
1474
1491
|
}>>;
|
|
@@ -1585,13 +1602,13 @@ export declare const conversationDetailReportSchema: z.ZodObject<{
|
|
|
1585
1602
|
}, z.core.$strict>>>;
|
|
1586
1603
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
1587
1604
|
check: "check";
|
|
1605
|
+
calendar: "calendar";
|
|
1588
1606
|
warning: "warning";
|
|
1589
1607
|
info: "info";
|
|
1590
1608
|
key: "key";
|
|
1591
1609
|
link: "link";
|
|
1592
1610
|
activity: "activity";
|
|
1593
1611
|
brain: "brain";
|
|
1594
|
-
calendar: "calendar";
|
|
1595
1612
|
database: "database";
|
|
1596
1613
|
sparkles: "sparkles";
|
|
1597
1614
|
}>>;
|
|
@@ -1752,6 +1769,7 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1752
1769
|
code_change: "code_change";
|
|
1753
1770
|
task: "task";
|
|
1754
1771
|
deployment: "deployment";
|
|
1772
|
+
calendar_event: "calendar_event";
|
|
1755
1773
|
automation: "automation";
|
|
1756
1774
|
item: "item";
|
|
1757
1775
|
}>>;
|
|
@@ -1868,13 +1886,13 @@ export declare const conversationEventPageSchema: z.ZodObject<{
|
|
|
1868
1886
|
}, z.core.$strict>>>;
|
|
1869
1887
|
icon: z.ZodOptional<z.ZodEnum<{
|
|
1870
1888
|
check: "check";
|
|
1889
|
+
calendar: "calendar";
|
|
1871
1890
|
warning: "warning";
|
|
1872
1891
|
info: "info";
|
|
1873
1892
|
key: "key";
|
|
1874
1893
|
link: "link";
|
|
1875
1894
|
activity: "activity";
|
|
1876
1895
|
brain: "brain";
|
|
1877
|
-
calendar: "calendar";
|
|
1878
1896
|
database: "database";
|
|
1879
1897
|
sparkles: "sparkles";
|
|
1880
1898
|
}>>;
|
|
@@ -2080,6 +2098,7 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
2080
2098
|
code_change: "code_change";
|
|
2081
2099
|
task: "task";
|
|
2082
2100
|
deployment: "deployment";
|
|
2101
|
+
calendar_event: "calendar_event";
|
|
2083
2102
|
automation: "automation";
|
|
2084
2103
|
item: "item";
|
|
2085
2104
|
}>>;
|
|
@@ -2102,6 +2121,7 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
2102
2121
|
code_change: "code_change";
|
|
2103
2122
|
task: "task";
|
|
2104
2123
|
deployment: "deployment";
|
|
2124
|
+
calendar_event: "calendar_event";
|
|
2105
2125
|
automation: "automation";
|
|
2106
2126
|
item: "item";
|
|
2107
2127
|
}>;
|
|
@@ -2147,6 +2167,10 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
2147
2167
|
environment: z.ZodOptional<z.ZodString>;
|
|
2148
2168
|
revision: z.ZodOptional<z.ZodString>;
|
|
2149
2169
|
branch: z.ZodOptional<z.ZodString>;
|
|
2170
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2171
|
+
type: z.ZodLiteral<"calendar_event">;
|
|
2172
|
+
when: z.ZodOptional<z.ZodString>;
|
|
2173
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2150
2174
|
}, z.core.$strict>], "type">>;
|
|
2151
2175
|
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
2152
2176
|
plugin: z.ZodString;
|
|
@@ -2166,6 +2190,7 @@ export declare const conversationFeedSchema: z.ZodObject<{
|
|
|
2166
2190
|
code_change: "code_change";
|
|
2167
2191
|
task: "task";
|
|
2168
2192
|
deployment: "deployment";
|
|
2193
|
+
calendar_event: "calendar_event";
|
|
2169
2194
|
automation: "automation";
|
|
2170
2195
|
item: "item";
|
|
2171
2196
|
}>>;
|
|
@@ -2651,6 +2676,7 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
2651
2676
|
code_change: "code_change";
|
|
2652
2677
|
task: "task";
|
|
2653
2678
|
deployment: "deployment";
|
|
2679
|
+
calendar_event: "calendar_event";
|
|
2654
2680
|
automation: "automation";
|
|
2655
2681
|
item: "item";
|
|
2656
2682
|
}>>;
|
|
@@ -2673,6 +2699,7 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
2673
2699
|
code_change: "code_change";
|
|
2674
2700
|
task: "task";
|
|
2675
2701
|
deployment: "deployment";
|
|
2702
|
+
calendar_event: "calendar_event";
|
|
2676
2703
|
automation: "automation";
|
|
2677
2704
|
item: "item";
|
|
2678
2705
|
}>;
|
|
@@ -2718,6 +2745,10 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
2718
2745
|
environment: z.ZodOptional<z.ZodString>;
|
|
2719
2746
|
revision: z.ZodOptional<z.ZodString>;
|
|
2720
2747
|
branch: z.ZodOptional<z.ZodString>;
|
|
2748
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
2749
|
+
type: z.ZodLiteral<"calendar_event">;
|
|
2750
|
+
when: z.ZodOptional<z.ZodString>;
|
|
2751
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
2721
2752
|
}, z.core.$strict>], "type">>;
|
|
2722
2753
|
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
2723
2754
|
plugin: z.ZodString;
|
|
@@ -2737,6 +2768,7 @@ export declare const actorProfileReportSchema: z.ZodObject<{
|
|
|
2737
2768
|
code_change: "code_change";
|
|
2738
2769
|
task: "task";
|
|
2739
2770
|
deployment: "deployment";
|
|
2771
|
+
calendar_event: "calendar_event";
|
|
2740
2772
|
automation: "automation";
|
|
2741
2773
|
item: "item";
|
|
2742
2774
|
}>>;
|
|
@@ -3037,6 +3069,7 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3037
3069
|
code_change: "code_change";
|
|
3038
3070
|
task: "task";
|
|
3039
3071
|
deployment: "deployment";
|
|
3072
|
+
calendar_event: "calendar_event";
|
|
3040
3073
|
automation: "automation";
|
|
3041
3074
|
item: "item";
|
|
3042
3075
|
}>>;
|
|
@@ -3059,6 +3092,7 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3059
3092
|
code_change: "code_change";
|
|
3060
3093
|
task: "task";
|
|
3061
3094
|
deployment: "deployment";
|
|
3095
|
+
calendar_event: "calendar_event";
|
|
3062
3096
|
automation: "automation";
|
|
3063
3097
|
item: "item";
|
|
3064
3098
|
}>;
|
|
@@ -3104,6 +3138,10 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3104
3138
|
environment: z.ZodOptional<z.ZodString>;
|
|
3105
3139
|
revision: z.ZodOptional<z.ZodString>;
|
|
3106
3140
|
branch: z.ZodOptional<z.ZodString>;
|
|
3141
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
3142
|
+
type: z.ZodLiteral<"calendar_event">;
|
|
3143
|
+
when: z.ZodOptional<z.ZodString>;
|
|
3144
|
+
attendees: z.ZodOptional<z.ZodArray<z.ZodString>>;
|
|
3107
3145
|
}, z.core.$strict>], "type">>;
|
|
3108
3146
|
}, z.core.$strict>], "kind">, z.ZodObject<{
|
|
3109
3147
|
plugin: z.ZodString;
|
|
@@ -3123,6 +3161,7 @@ export declare const locationDetailReportSchema: z.ZodObject<{
|
|
|
3123
3161
|
code_change: "code_change";
|
|
3124
3162
|
task: "task";
|
|
3125
3163
|
deployment: "deployment";
|
|
3164
|
+
calendar_event: "calendar_event";
|
|
3126
3165
|
automation: "automation";
|
|
3127
3166
|
item: "item";
|
|
3128
3167
|
}>>;
|
package/dist/api/schema.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { a as conversationTurnFailureReasonSchema, i as conversationTurnFailureCodeSchema } from "../history-BLTUgFYO.js";
|
|
2
2
|
import { A as forkConversationResponseSchema, C as conversationReportEventSchema, D as createConversationBodySchema, E as conversationSummaryReportSchema, K as resolveMessageCards, M as MAX_INPUT_IMAGE_BYTES, O as createConversationMessageBodySchema, P as INPUT_IMAGE_TYPES, S as conversationReportEventDataSchema, T as conversationStatsReportSchema, U as messageCardText, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, b as conversationPendingMessageSchema, d as conversationDetailReportSchema, f as conversationEventHistorySchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, j as MAX_INPUT_IMAGES, k as forkConversationBodySchema, 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-DwD-vquD.js";
|
|
3
|
-
import { C as eventAutomationSummarySchema, S as automationVersionSchema, _ as automationSummarySchema, a as automationExecutionSchema, b as automationVersionListSchema, d as automationParamsSchema, f as automationRunListSchema, g as automationSchedulePreviewSchema, h as automationScheduleIntentSchema, i as automationExecutionListSchema, l as automationListQuerySchema, m as automationRunWindowsSchema, n as automationEditSchema, o as automationExecutionStatusDaySchema, p as automationRunSchema, r as automationEventCatalogSchema, s as automationExecutionStatusSchema, t as automationEditErrorSchema, u as automationListSchema, v as automationUpdateSchema, w as scheduledAutomationSummarySchema, x as automationVersionParamsSchema, y as automationVersionActivateSchema } from "../automation-
|
|
3
|
+
import { C as eventAutomationSummarySchema, S as automationVersionSchema, _ as automationSummarySchema, a as automationExecutionSchema, b as automationVersionListSchema, d as automationParamsSchema, f as automationRunListSchema, g as automationSchedulePreviewSchema, h as automationScheduleIntentSchema, i as automationExecutionListSchema, l as automationListQuerySchema, m as automationRunWindowsSchema, n as automationEditSchema, o as automationExecutionStatusDaySchema, p as automationRunSchema, r as automationEventCatalogSchema, s as automationExecutionStatusSchema, t as automationEditErrorSchema, u as automationListSchema, v as automationUpdateSchema, w as scheduledAutomationSummarySchema, x as automationVersionParamsSchema, y as automationVersionActivateSchema } from "../automation-B5_c8hEb.js";
|
|
4
4
|
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";
|
|
5
|
-
import { A as codeChangeSummarySchema, C as locationParamsSchema, D as dailyConversationActivitySchema, F as codeRepositorySummarySchema, I as apiErrorSchema, M as codePersonReportSchema, N as codeRepositoryParamsSchema, O as codeActivityDaySchema, P as codeRepositoryReportSchema, S as locationDirectoryReportSchema, _ as actorProfileReportSchema, a as workspaceBodySchema, b as locationActivityDayReportSchema, c as workspaceRepoSchema, d as createdPersonalTokenSchema, f as personalTokenListSchema, g as actorDirectoryReportSchema, h as revokePersonalTokenResponseSchema, i as deleteWorkspaceResponseSchema, j as codeOverviewReportSchema, k as codeChangeSummaryReportSchema, l as workspaceSchema, m as personalTokenParamsSchema, n as statsReportSchema, o as workspaceListSchema, p as personalTokenMetadataSchema, r as baselineSnapshotSchema, s as workspaceParamsSchema, t as statSchema, u as createPersonalTokenBodySchema, v as personParamsSchema, x as locationDetailReportSchema, y as personalSpendReportSchema } from "../schema-
|
|
5
|
+
import { A as codeChangeSummarySchema, C as locationParamsSchema, D as dailyConversationActivitySchema, F as codeRepositorySummarySchema, I as apiErrorSchema, M as codePersonReportSchema, N as codeRepositoryParamsSchema, O as codeActivityDaySchema, P as codeRepositoryReportSchema, S as locationDirectoryReportSchema, _ as actorProfileReportSchema, a as workspaceBodySchema, b as locationActivityDayReportSchema, c as workspaceRepoSchema, d as createdPersonalTokenSchema, f as personalTokenListSchema, g as actorDirectoryReportSchema, h as revokePersonalTokenResponseSchema, i as deleteWorkspaceResponseSchema, j as codeOverviewReportSchema, k as codeChangeSummaryReportSchema, l as workspaceSchema, m as personalTokenParamsSchema, n as statsReportSchema, o as workspaceListSchema, p as personalTokenMetadataSchema, r as baselineSnapshotSchema, s as workspaceParamsSchema, t as statSchema, u as createPersonalTokenBodySchema, v as personParamsSchema, x as locationDetailReportSchema, y as personalSpendReportSchema } from "../schema-C4XwHTY4.js";
|
|
6
6
|
export { INPUT_IMAGE_TYPES, MAX_INPUT_IMAGES, MAX_INPUT_IMAGE_BYTES, acceptedConversationMessageSchema, actorDirectoryReportSchema, actorProfileReportSchema, apiErrorSchema, archiveConversationBodySchema, archiveConversationResponseSchema, automationEditErrorSchema, automationEditSchema, automationEventCatalogSchema, automationExecutionListSchema, automationExecutionSchema, automationExecutionStatusDaySchema, automationExecutionStatusSchema, automationListQuerySchema, automationListSchema, automationParamsSchema, automationRunListSchema, automationRunSchema, automationRunWindowsSchema, automationScheduleIntentSchema, automationSchedulePreviewSchema, automationSummarySchema, automationUpdateSchema, automationVersionActivateSchema, automationVersionListSchema, automationVersionParamsSchema, automationVersionSchema, baselineSnapshotSchema, cancelConversationPendingMessagesBodySchema, cancelConversationPendingMessagesResponseSchema, codeActivityDaySchema, codeChangeSummaryReportSchema, codeChangeSummarySchema, codeOverviewReportSchema, codePersonReportSchema, codeRepositoryParamsSchema, codeRepositoryReportSchema, 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, forkConversationBodySchema, forkConversationResponseSchema, 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.d.ts
CHANGED
package/dist/api.js
CHANGED
|
@@ -1,23 +1,24 @@
|
|
|
1
|
-
import {
|
|
2
|
-
import { d as logException, p as logWarn } from "./logging-
|
|
1
|
+
import { At as cancelHumanFacingPendingMessages, B as readScheduledAutomation, Bt as getConversation, Ct as getEventCatalog, G as editEventAutomation, K as AutomationEditError, O as parseSlackThreadId, P as editScheduledAutomation, Q as eventAutomationBelongsToUser, T as readLiveAttachment, Tt as pluginEventCatalog, V as saveScheduledAutomation, Y as resolveTaskOutcomes, at as automationDefinition, ct as sameDefinitionValue, dt as requireAutomationRevision, et as getEventAutomation, g as readStats, it as setEventAutomationStatus, lt as AutomationConflictError, q as eventAutomationTriggerAvailable, rt as saveEventAutomation, st as readAutomationVersion, ut as automationRevision } from "./agent-runner-0IjJxsL1.js";
|
|
2
|
+
import { d as logException, p as logWarn } from "./logging-BSNF167N.js";
|
|
3
3
|
import { d as parseSlackTeamId, g as parseSlackMessageTs, l as parseSlackChannelId } from "./actor-BTtLaeWy.js";
|
|
4
|
-
import {
|
|
4
|
+
import { E as resolveRootConversationId, T as hasAgentTurnUsage, _ as locationFromRow, b as parseSessionSource, c as getConversationEventStore, d as getDb, f as getSqlExecutor, i as resolveViewerUser, m as withConversationEventLock, o as updateViewerDisplayName, t as findUserByEmail, u as getConversationStore, w as agentTurnUsageSchema } from "./viewer-XE3nFqKM.js";
|
|
5
5
|
import { n as juniorDestinations } from "./destinations-BeBiJeEM.js";
|
|
6
|
-
import { C as juniorCodeChanges, D as juniorConversations, E as conversationReadColumns, O as juniorIdentities, _ as juniorConversationBriefs, b as juniorConversationEvents, h as juniorConversationParticipants, k as juniorUsers, w as juniorCodeRepositories, x as juniorApiTokens, y as juniorConversationMetrics } from "./executor-
|
|
6
|
+
import { C as juniorCodeChanges, D as juniorConversations, E as conversationReadColumns, O as juniorIdentities, _ as juniorConversationBriefs, b as juniorConversationEvents, h as juniorConversationParticipants, k as juniorUsers, w as juniorCodeRepositories, x as juniorApiTokens, y as juniorConversationMetrics } from "./executor-BQ-A5nov.js";
|
|
7
7
|
import { u as contextProvenance } from "./history-BLTUgFYO.js";
|
|
8
|
-
import { F as loadTurnProjection, vt as piMessageFromHistoryItem } from "./checkpoint-
|
|
9
|
-
import { At as viewerConversationMembership, C as WorkspaceValidationError, Ct as conversationArchiveTimes, Dt as conversationHasParticipantUser, Et as conversationHasParticipantEmail, Ht as listConversationAnnotations, M as workspaceRepoCheckoutPath, Mt as readLatestConversationBrief, Nt as readConversationEventPage, O as SANDBOX_RUNTIME, Ot as conversationNotArchivedForEmail, Pt as buildSentryConversationUrl, S as updateWorkspace, St as readConversationAccessFromSql, Tt as conversationArchivedForUser, Ut as listConversationAnnotationsById, _ as deleteWorkspace, at as getSlackClient, b as listWorkspaces, g as createWorkspace, kt as conversationNotArchivedForUser, u as getPlugins, ut as withSlackRetries, v as getWorkspace, wt as conversationArchivedForEmail, x as listWorkspacesByRepository, xt as createPluginLogger } from "./agent-hooks-
|
|
8
|
+
import { F as loadTurnProjection, vt as piMessageFromHistoryItem } from "./checkpoint-C1ZnSz7r.js";
|
|
9
|
+
import { At as viewerConversationMembership, C as WorkspaceValidationError, Ct as conversationArchiveTimes, Dt as conversationHasParticipantUser, Et as conversationHasParticipantEmail, Ht as listConversationAnnotations, Kt as lookupSlackUser, M as workspaceRepoCheckoutPath, Mt as readLatestConversationBrief, Nt as readConversationEventPage, O as SANDBOX_RUNTIME, Ot as conversationNotArchivedForEmail, Pt as buildSentryConversationUrl, S as updateWorkspace, St as readConversationAccessFromSql, Tt as conversationArchivedForUser, Ut as listConversationAnnotationsById, _ as deleteWorkspace, at as getSlackClient, b as listWorkspaces, g as createWorkspace, kt as conversationNotArchivedForUser, u as getPlugins, ut as withSlackRetries, v as getWorkspace, wt as conversationArchivedForEmail, x as listWorkspacesByRepository, xt as createPluginLogger } from "./agent-hooks-JFbgedMZ.js";
|
|
10
10
|
import { A as forkConversationResponseSchema, D as createConversationBodySchema, N as readMessageAttachments, O as createConversationMessageBodySchema, P as INPUT_IMAGE_TYPES, T as conversationStatsReportSchema, _ as conversationParamsSchema, a as cancelConversationPendingMessagesBodySchema, c as conversationAttachmentParamsSchema, d as conversationDetailReportSchema, g as conversationFeedSchema, h as conversationFeedQuerySchema, i as archiveConversationResponseSchema, k as forkConversationBodySchema, m as conversationEventsQuerySchema, o as cancelConversationPendingMessagesResponseSchema, p as conversationEventPageSchema, r as archiveConversationBodySchema, t as acceptedConversationMessageSchema, u as conversationDetailQuerySchema, x as conversationPendingMessagesReportSchema } from "./conversation-DwD-vquD.js";
|
|
11
|
-
import { n as hash, t as create } from "./profile-
|
|
12
|
-
import { t as
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
11
|
+
import { n as hash, t as create } from "./profile-3t9H_IwL.js";
|
|
12
|
+
import { t as getFirstRunAtMs } from "./cadence-D00SCzT1.js";
|
|
13
|
+
import { t as getCachedSnapshot } from "./resolve-9_cIPQsq.js";
|
|
14
|
+
import { a as getVercelConversationWorkQueue } from "./job-queue-DgXLqoeB.js";
|
|
15
|
+
import { M as compileScheduleIntent, P as weekdaySchema, _ as automationSummarySchema, b as automationVersionListSchema, c as automationLifecycleSchema, d as automationParamsSchema, f as automationRunListSchema, g as automationSchedulePreviewSchema, h as automationScheduleIntentSchema, i as automationExecutionListSchema, j as ScheduleIntentError, l as automationListQuerySchema, n as automationEditSchema, r as automationEventCatalogSchema, t as automationEditErrorSchema, u as automationListSchema, v as automationUpdateSchema, x as automationVersionParamsSchema, y as automationVersionActivateSchema } from "./automation-B5_c8hEb.js";
|
|
15
16
|
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";
|
|
16
|
-
import { B as readHealthReport, C as clearSlackPendingReactions, I as createVercelAttachmentStorage, _ as readViewerAutomationSummary, a as recordWebConversationActivity, b as resolveViewerTaskCandidate, d as resolveSlackConversationContextFromThreadId, f as ViewerTaskNotFoundError, g as readViewerAutomationRuns, h as readViewerAutomationExecutions, i as createConversationId, j as legacyWebMailboxMetadataSchema, l as getProductionSlackAdapter, m as readConversationSourceTask, o as webActorFromEmail, p as deleteViewerTask, r as createAndEnqueueConversation, t as appendAndEnqueueWebMessage, u as formatSlackConversationRedactedLabel, v as readViewerAutomationVersions, y as readViewerAutomations } from "./web-input-
|
|
17
|
-
import { A as conversationAggregateColumns, j as conversationRangeColumns, k as conversationActiveDaysColumn } from "./task-runner-
|
|
18
|
-
import { r as getWebAuthorization } from "./web-authorization-
|
|
19
|
-
import { t as decodeInputImages } from "./images-
|
|
20
|
-
import { C as locationParamsSchema, E as activitySixHours$1, I as apiErrorSchema, M as codePersonReportSchema, N as codeRepositoryParamsSchema, P as codeRepositoryReportSchema, S as locationDirectoryReportSchema, T as activityHours$1, _ as actorProfileReportSchema, a as workspaceBodySchema, d as createdPersonalTokenSchema, f as personalTokenListSchema, g as actorDirectoryReportSchema, h as revokePersonalTokenResponseSchema, i as deleteWorkspaceResponseSchema, j as codeOverviewReportSchema, l as workspaceSchema, m as personalTokenParamsSchema, n as statsReportSchema, o as workspaceListSchema, s as workspaceParamsSchema, u as createPersonalTokenBodySchema, v as personParamsSchema, w as activityDays$1, x as locationDetailReportSchema, y as personalSpendReportSchema } from "./schema-
|
|
17
|
+
import { B as readHealthReport, C as clearSlackPendingReactions, I as createVercelAttachmentStorage, _ as readViewerAutomationSummary, a as recordWebConversationActivity, b as resolveViewerTaskCandidate, d as resolveSlackConversationContextFromThreadId, f as ViewerTaskNotFoundError, g as readViewerAutomationRuns, h as readViewerAutomationExecutions, i as createConversationId, j as legacyWebMailboxMetadataSchema, l as getProductionSlackAdapter, m as readConversationSourceTask, o as webActorFromEmail, p as deleteViewerTask, r as createAndEnqueueConversation, t as appendAndEnqueueWebMessage, u as formatSlackConversationRedactedLabel, v as readViewerAutomationVersions, y as readViewerAutomations } from "./web-input-DF4GGJrf.js";
|
|
18
|
+
import { A as conversationAggregateColumns, j as conversationRangeColumns, k as conversationActiveDaysColumn } from "./task-runner-c7gwV8dj.js";
|
|
19
|
+
import { r as getWebAuthorization } from "./web-authorization-8E8IrWOj.js";
|
|
20
|
+
import { t as decodeInputImages } from "./images-C7OKd6uy.js";
|
|
21
|
+
import { C as locationParamsSchema, E as activitySixHours$1, I as apiErrorSchema, M as codePersonReportSchema, N as codeRepositoryParamsSchema, P as codeRepositoryReportSchema, S as locationDirectoryReportSchema, T as activityHours$1, _ as actorProfileReportSchema, a as workspaceBodySchema, d as createdPersonalTokenSchema, f as personalTokenListSchema, g as actorDirectoryReportSchema, h as revokePersonalTokenResponseSchema, i as deleteWorkspaceResponseSchema, j as codeOverviewReportSchema, l as workspaceSchema, m as personalTokenParamsSchema, n as statsReportSchema, o as workspaceListSchema, s as workspaceParamsSchema, u as createPersonalTokenBodySchema, v as personParamsSchema, w as activityDays$1, x as locationDetailReportSchema, y as personalSpendReportSchema } from "./schema-C4XwHTY4.js";
|
|
21
22
|
import { Hono } from "hono";
|
|
22
23
|
import path from "node:path";
|
|
23
24
|
import { z } from "zod";
|
|
@@ -3356,7 +3357,7 @@ async function readPeoplePluginReports(args) {
|
|
|
3356
3357
|
reports: [],
|
|
3357
3358
|
source: "plugins"
|
|
3358
3359
|
});
|
|
3359
|
-
const { getPluginProfileReports } = await import("./agent-hooks-
|
|
3360
|
+
const { getPluginProfileReports } = await import("./agent-hooks-JFbgedMZ.js").then((n) => n.t);
|
|
3360
3361
|
return pluginOperationalReportFeedSchema.parse({
|
|
3361
3362
|
generatedAt: new Date(nowMs).toISOString(),
|
|
3362
3363
|
reports: await getPluginProfileReports({
|
|
@@ -4324,7 +4325,7 @@ function readDescriptionText(home) {
|
|
|
4324
4325
|
}
|
|
4325
4326
|
/** Read discovered skill names for authenticated runtime diagnostics. */
|
|
4326
4327
|
async function readSkillReports() {
|
|
4327
|
-
const { discoverSkills } = await import("./skills-
|
|
4328
|
+
const { discoverSkills } = await import("./skills-Dqgjr_Tl.js").then((n) => n.o);
|
|
4328
4329
|
const skills = await discoverSkills();
|
|
4329
4330
|
return skillReportsSchema.parse(skills.map((skill) => ({
|
|
4330
4331
|
name: skill.name,
|
|
@@ -4333,7 +4334,7 @@ async function readSkillReports() {
|
|
|
4333
4334
|
}
|
|
4334
4335
|
/** Read safe configured plugin metadata for authenticated runtime diagnostics. */
|
|
4335
4336
|
async function readPlugins() {
|
|
4336
|
-
const { pluginCatalogRuntime } = await import("./catalog-runtime-
|
|
4337
|
+
const { pluginCatalogRuntime } = await import("./catalog-runtime-DdigNl7s.js").then((n) => n.t);
|
|
4337
4338
|
return pluginsSchema.parse(pluginCatalogRuntime.getProviders().map((plugin) => ({
|
|
4338
4339
|
configKeys: plugin.manifest.configKeys ?? [],
|
|
4339
4340
|
description: plugin.manifest.description,
|
|
@@ -4345,7 +4346,7 @@ async function readPlugins() {
|
|
|
4345
4346
|
async function readRuntimeInfoReport() {
|
|
4346
4347
|
const [{ homeDir }, { pluginCatalogRuntime }, plugins, skills] = await Promise.all([
|
|
4347
4348
|
import("./package-discovery-BVvSnQBB.js").then((n) => n.r),
|
|
4348
|
-
import("./catalog-runtime-
|
|
4349
|
+
import("./catalog-runtime-DdigNl7s.js").then((n) => n.t),
|
|
4349
4350
|
readPlugins(),
|
|
4350
4351
|
readSkillReports()
|
|
4351
4352
|
]);
|
|
@@ -4362,7 +4363,7 @@ async function readRuntimeInfoReport() {
|
|
|
4362
4363
|
/** Read sanitized operational summaries contributed by plugins. */
|
|
4363
4364
|
async function readPluginOperationalReportFeed() {
|
|
4364
4365
|
const nowMs = Date.now();
|
|
4365
|
-
const { getPluginOperationalReports } = await import("./agent-hooks-
|
|
4366
|
+
const { getPluginOperationalReports } = await import("./agent-hooks-JFbgedMZ.js").then((n) => n.t);
|
|
4366
4367
|
return pluginOperationalReportFeedSchema.parse({
|
|
4367
4368
|
source: "plugins",
|
|
4368
4369
|
generatedAt: new Date(nowMs).toISOString(),
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { n as ConversationWorkQueue, t as ConversationQueueMessage } from "./queue-B5SnqRln.js";
|
|
2
|
-
import { t as ConversationStore } from "./store-
|
|
2
|
+
import { t as ConversationStore } from "./store-DoewL5mG.js";
|
|
3
3
|
import "./history-DvqWZlYX.js";
|
|
4
4
|
import { n as JuniorPluginSet } from "./plugins-CjfUP5gJ.js";
|
|
5
5
|
import { Hono } from "hono";
|
package/dist/app.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { i as ModelProfileInput, n as createApp, r as JuniorDashboardOptions, t as JuniorAppOptions } from "./app-
|
|
1
|
+
import { i as ModelProfileInput, n as createApp, r as JuniorDashboardOptions, t as JuniorAppOptions } from "./app-MEd7wbF0.js";
|
|
2
2
|
import { i as defineJuniorPlugins, n as JuniorPluginSet, r as JuniorPluginSetOptions, t as JuniorPluginInput } from "./plugins-CjfUP5gJ.js";
|
|
3
3
|
import { t as JUNIOR_VERSION } from "./version-CnXZ614E.js";
|
|
4
4
|
export { JUNIOR_VERSION, JuniorAppOptions, type JuniorDashboardOptions, type JuniorPluginInput, type JuniorPluginSet, type JuniorPluginSetOptions, type ModelProfileInput, createApp, defineJuniorPlugins };
|
package/dist/app.js
CHANGED
|
@@ -1,32 +1,33 @@
|
|
|
1
|
-
import {
|
|
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-
|
|
1
|
+
import { $ as findMatchingEventAutomations, $t as CONVERSATION_WORK_STALE_ENQUEUE_MS, An as slackExternalRefIdSchema, B as readScheduledAutomation, Bt as getConversation, Ct as getEventCatalog, E as requestAttachmentDeletion, F as logScheduledAutomationRunSkipped, H as saveScheduledAutomationInLock, Ht as hasRunnableConversationWork, I as scheduledAutomationRunAttributes, J as effectiveTaskOutcomes, L as listScheduledAutomations, Nt as clearExpiredConversationLease, O as parseSlackThreadId, Ot as appendAndEnqueueInboundMessage, R as listScheduledAutomationsForTeam, Rn as getConfigDefaults, U as scheduledRunId, Ut as listActiveConversationIds, Vt as getConversationWorkState, W as withScheduledAutomationLock, X as collectEventAutomationMatchKeys, Yt as requestConversationWork, Zt as stopConversationWork, b as unpublishedArtifactHeaders, c as deleteMcpAuthSessionsForUserProvider, cn as normalizeSandboxEgressTracePropagationDomains, dn as clearSandboxEgressSignals, fn as consumeSandboxEgressAuthRequiredSignal, gn as formatProviderLabel, i as executeCredentialedEgressRequest, in as renderTaskInput, jn as createUserTokenStore, kn as slackEntitySchema, l as deleteMcpServerSessionId, ln as shouldPropagateSandboxEgressTrace, mn as parseSandboxEgressCredentialToken, n as executeAgentRun, pn as consumeSandboxEgressPermissionDeniedSignal, qt as removeActiveConversation, rn as isInvalidConversationRecordError, sn as resolveSandboxEgressProviderForHost, t as createAgentRunner, tn as hasRunnableConversationWork$1, u as deleteMcpStoredOAuthCredentials, un as SANDBOX_EGRESS_PROXY_PATH, v as publicArtifactHeaders, vt as processWorkspaceSnapshotJob, w as collectAttachmentGarbage, wn as slackMention, wt as eventGuidance, x as lookupSlackUserProfile, y as readPublicArtifact, yn as startOAuthFlow, yt as ingestEvent, zn as setConfigDefaults, zt as ensureConversationWake } from "./agent-runner-0IjJxsL1.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-BSNF167N.js";
|
|
3
3
|
import { r as continueTrace } from "./sentry-CgWZM_kV.js";
|
|
4
|
-
import { t as JUNIOR_VERSION } from "./version-
|
|
5
|
-
import { _ as snapshotRuntimeConfig, d as restoreRuntimeConfig, f as setBotModelConfig, g as setSlackReactionConfig, h as setRuntimeLimits, i as getChatConfig, m as setProfiles, n as botConfig, o as getSlackBotToken, p as setCrossActorMidRunMode, u as resetRuntimeConfig } from "./config-
|
|
4
|
+
import { t as JUNIOR_VERSION } from "./version-BjBMCc2o.js";
|
|
5
|
+
import { _ as snapshotRuntimeConfig, d as restoreRuntimeConfig, f as setBotModelConfig, g as setSlackReactionConfig, h as setRuntimeLimits, i as getChatConfig, m as setProfiles, n as botConfig, o as getSlackBotToken, p as setCrossActorMidRunMode, u as resetRuntimeConfig } from "./config-B0S86yw9.js";
|
|
6
6
|
import { _ as slackMessageTsSchema, d as parseSlackTeamId, f as parseSlackUserId, h as slackUserIdSchema, m as slackTeamIdSchema, o as parseActorUserId, p as slackChannelIdSchema } from "./actor-BTtLaeWy.js";
|
|
7
|
-
import {
|
|
7
|
+
import { D as deleteProviderIdentityForSlackUser, c as getConversationEventStore, d as getDb, f as getSqlExecutor, g as withConversationMutationLock, m as withConversationEventLock, r as readActorIdentity, u as getConversationStore } from "./viewer-XE3nFqKM.js";
|
|
8
8
|
import { n as juniorDestinations } from "./destinations-BeBiJeEM.js";
|
|
9
|
-
import { D as juniorConversations, _ as juniorConversationBriefs, a as juniorSchedulerRuns, b as juniorConversationEvents, m as juniorAgentInvocations, o as juniorSchedulerTasks, p as juniorAgentBindings } from "./executor-
|
|
10
|
-
import { n as pluginCatalogRuntime } from "./catalog-runtime-
|
|
11
|
-
import { J as appendConversationMessages, Z as projectConversationMessages, et as settleConversationTitleWork } from "./checkpoint-
|
|
12
|
-
import { $ as verifySlackDirectCredentialSubject, G as findMatchingWatches, Ht as listConversationAnnotations, J as bindEventAutomationCredentialSubject, Q as verifyScheduledAutomationCredentialSubject, St as readConversationAccessFromSql, V as collectEventMatchKeys, X as bindSlackDirectCredentialSubject, Y as bindScheduledAutomationCredentialSubject, Z as verifyEventAutomationCredentialSubject, _t as setDashboardConversationLinkOptions, a as getPluginRoutes, at as getSlackClient, d as setPlugins, dt as getWorkspaceTeamId, f as validatePlugins, ft as runWithWorkspaceTeamId, gt as getDashboardTaskLink, h as setBriefsConfig, i as getPluginApiRoutes, mt as getDashboardConversationLink, q as takeDueTimerWatches, st as isDmChannel, u as getPlugins, vt as createPluginState, xt as createPluginLogger, z as cancelSubscriptions, zt as resolveRootVisibility } from "./agent-hooks-
|
|
9
|
+
import { D as juniorConversations, _ as juniorConversationBriefs, a as juniorSchedulerRuns, b as juniorConversationEvents, m as juniorAgentInvocations, o as juniorSchedulerTasks, p as juniorAgentBindings } from "./executor-BQ-A5nov.js";
|
|
10
|
+
import { n as pluginCatalogRuntime } from "./catalog-runtime-DdigNl7s.js";
|
|
11
|
+
import { J as appendConversationMessages, Z as projectConversationMessages, et as settleConversationTitleWork } from "./checkpoint-C1ZnSz7r.js";
|
|
12
|
+
import { $ as verifySlackDirectCredentialSubject, G as findMatchingWatches, Ht as listConversationAnnotations, J as bindEventAutomationCredentialSubject, Q as verifyScheduledAutomationCredentialSubject, St as readConversationAccessFromSql, V as collectEventMatchKeys, X as bindSlackDirectCredentialSubject, Y as bindScheduledAutomationCredentialSubject, Z as verifyEventAutomationCredentialSubject, _t as setDashboardConversationLinkOptions, a as getPluginRoutes, at as getSlackClient, d as setPlugins, dt as getWorkspaceTeamId, f as validatePlugins, ft as runWithWorkspaceTeamId, gt as getDashboardTaskLink, h as setBriefsConfig, i as getPluginApiRoutes, mt as getDashboardConversationLink, q as takeDueTimerWatches, st as isDmChannel, u as getPlugins, vt as createPluginState, xt as createPluginLogger, z as cancelSubscriptions, zt as resolveRootVisibility } from "./agent-hooks-JFbgedMZ.js";
|
|
13
13
|
import { V as annotationCard } from "./conversation-DwD-vquD.js";
|
|
14
|
-
import { O as withLock$1, w as getStateAdapter } from "./profile-
|
|
15
|
-
import { c as getThreadStopDecision } from "./pending-auth-
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
14
|
+
import { O as withLock$1, w as getStateAdapter } from "./profile-3t9H_IwL.js";
|
|
15
|
+
import { c as getThreadStopDecision } from "./pending-auth-Chn_EA1_.js";
|
|
16
|
+
import { n as getNextRunAtMs } from "./cadence-D00SCzT1.js";
|
|
17
|
+
import { f as setSandboxResourceConfig, u as getSandboxResourceConfig } from "./resolve-9_cIPQsq.js";
|
|
18
|
+
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-DgXLqoeB.js";
|
|
19
|
+
import { D as scheduledRunSchema } from "./automation-B5_c8hEb.js";
|
|
19
20
|
import { i as setExperimentalFeatures, n as getExperimentalFeatures, r as isExperimentalFeatureEnabled } from "./experimental-Qn9rKLgx.js";
|
|
20
|
-
import { n as validatePluginRegistrations, t as validatePluginEgressCredentialHooks } from "./validation-
|
|
21
|
+
import { n as validatePluginRegistrations, t as validatePluginEgressCredentialHooks } from "./validation-D2lULEG9.js";
|
|
21
22
|
import { a as pluginRuntimeRegistrationsFromPluginSet, n as pluginCatalogConfigFromEnv, r as pluginCatalogConfigFromPluginSet, t as defineJuniorPlugins } from "./plugins-egKWjgue.js";
|
|
22
|
-
import { A as getAuthPausedConversationTurnId, C as clearSlackPendingReactions, D as stopSlackThread, E as isSlackMessageStopped, F as renderSlackObjectCard, I as createVercelAttachmentStorage, M as THREAD_OPTOUT_ACK, N as startProcessingReaction, O as normalizeIncomingSlackThreadId, P as parseContent, R as enqueueAgentDispatch, S as buildSlackInboundMessage, T as verifySlackSignature, _ as readViewerAutomationSummary, a as recordWebConversationActivity, c as createProductionSlackWebhookServices, k as withNormalizedThreadId, l as getProductionSlackAdapter, n as conversationTurnIdForMessage, o as webActorFromEmail, s as createProductionConversationWorkOptions, t as appendAndEnqueueWebMessage, w as runWithSlackInstallation, x as recordSkippedConversationMessage, z as GET$3 } from "./web-input-
|
|
23
|
-
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, t as processPluginTask } from "./task-runner-
|
|
24
|
-
import { c as listPendingAgentInvocationMailboxAppends, r as enqueueAgentInvocation } from "./work-
|
|
25
|
-
import { s as coerceThreadConversationState } from "./thread-state-
|
|
26
|
-
import { a as GET$4, i as publishAppHomeView, r as GET$5, t as receiveLocalOAuthCredential } from "./credential-sync-
|
|
27
|
-
import { a as registerVercelPluginTaskDevConsumer, n as createVercelPluginTaskCallback, s as queueCallback } from "./task-queue-
|
|
28
|
-
import { t as processConversationWork } from "./worker-
|
|
29
|
-
import { t as bindSpawnAgent } from "./spawn-
|
|
23
|
+
import { A as getAuthPausedConversationTurnId, C as clearSlackPendingReactions, D as stopSlackThread, E as isSlackMessageStopped, F as renderSlackObjectCard, I as createVercelAttachmentStorage, M as THREAD_OPTOUT_ACK, N as startProcessingReaction, O as normalizeIncomingSlackThreadId, P as parseContent, R as enqueueAgentDispatch, S as buildSlackInboundMessage, T as verifySlackSignature, _ as readViewerAutomationSummary, a as recordWebConversationActivity, c as createProductionSlackWebhookServices, k as withNormalizedThreadId, l as getProductionSlackAdapter, n as conversationTurnIdForMessage, o as webActorFromEmail, s as createProductionConversationWorkOptions, t as appendAndEnqueueWebMessage, w as runWithSlackInstallation, x as recordSkippedConversationMessage, z as GET$3 } from "./web-input-DF4GGJrf.js";
|
|
24
|
+
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, t as processPluginTask } from "./task-runner-c7gwV8dj.js";
|
|
25
|
+
import { c as listPendingAgentInvocationMailboxAppends, r as enqueueAgentInvocation } from "./work-Dt_JjfbX.js";
|
|
26
|
+
import { s as coerceThreadConversationState } from "./thread-state-exTu-G1w.js";
|
|
27
|
+
import { a as GET$4, i as publishAppHomeView, r as GET$5, t as receiveLocalOAuthCredential } from "./credential-sync-DeNQm7st.js";
|
|
28
|
+
import { a as registerVercelPluginTaskDevConsumer, n as createVercelPluginTaskCallback, s as queueCallback } from "./task-queue-CuFZDOXn.js";
|
|
29
|
+
import { t as processConversationWork } from "./worker-BrbnLmD3.js";
|
|
30
|
+
import { t as bindSpawnAgent } from "./spawn-BfEr3t7b.js";
|
|
30
31
|
import { createRequire } from "node:module";
|
|
31
32
|
import { Hono } from "hono";
|
|
32
33
|
import { z } from "zod";
|