@rudderhq/shared 0.6.5 → 0.6.6-canary.1
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/auth-runtime-policy.test.d.ts +2 -0
- package/dist/auth-runtime-policy.test.d.ts.map +1 -0
- package/dist/auth-runtime-policy.test.js +11 -0
- package/dist/auth-runtime-policy.test.js.map +1 -0
- package/dist/chat-subagents.d.ts +14 -0
- package/dist/chat-subagents.d.ts.map +1 -0
- package/dist/chat-subagents.js +234 -0
- package/dist/chat-subagents.js.map +1 -0
- package/dist/chat-subagents.test.d.ts +2 -0
- package/dist/chat-subagents.test.d.ts.map +1 -0
- package/dist/chat-subagents.test.js +214 -0
- package/dist/chat-subagents.test.js.map +1 -0
- package/dist/constants.d.ts +6 -0
- package/dist/constants.d.ts.map +1 -1
- package/dist/constants.js +8 -0
- package/dist/constants.js.map +1 -1
- package/dist/index.d.ts +4 -2
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +3 -1
- package/dist/index.js.map +1 -1
- package/dist/types/chat.d.ts +24 -0
- package/dist/types/chat.d.ts.map +1 -1
- package/dist/types/index.d.ts +1 -1
- package/dist/types/index.d.ts.map +1 -1
- package/dist/validators/adapter-skills.d.ts +2 -2
- package/dist/validators/automation.d.ts +21 -21
- package/dist/validators/chat.d.ts +346 -346
- package/dist/validators/cost.d.ts +4 -4
- package/dist/validators/custom-integration.d.ts +4 -4
- package/dist/validators/finance.d.ts +4 -4
- package/dist/validators/index.d.ts +1 -0
- package/dist/validators/index.d.ts.map +1 -1
- package/dist/validators/index.js +1 -0
- package/dist/validators/index.js.map +1 -1
- package/dist/validators/local-account-auth.d.ts +95 -0
- package/dist/validators/local-account-auth.d.ts.map +1 -0
- package/dist/validators/local-account-auth.js +21 -0
- package/dist/validators/local-account-auth.js.map +1 -0
- package/dist/validators/mcp.d.ts +48 -48
- package/dist/validators/organization-portability.d.ts +26 -26
- package/dist/validators/organization-skill.d.ts +22 -22
- package/dist/validators/work-product.d.ts +8 -8
- package/package.json +1 -1
package/dist/validators/mcp.d.ts
CHANGED
|
@@ -425,6 +425,7 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
425
425
|
bearerToken?: string | undefined;
|
|
426
426
|
}>>;
|
|
427
427
|
}, "strict", z.ZodTypeAny, {
|
|
428
|
+
required: boolean;
|
|
428
429
|
scope: "organization" | "agent";
|
|
429
430
|
displayName: string;
|
|
430
431
|
name: string;
|
|
@@ -459,7 +460,6 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
459
460
|
provider: "supabase" | "linear" | "notion" | "custom";
|
|
460
461
|
startupTimeoutMs: number;
|
|
461
462
|
toolTimeoutMs: number;
|
|
462
|
-
required: boolean;
|
|
463
463
|
ownerAgentId?: string | null | undefined;
|
|
464
464
|
accessMode?: "provider_default" | "read_only" | "read_write" | undefined;
|
|
465
465
|
secrets?: {
|
|
@@ -474,6 +474,7 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
474
474
|
name: string;
|
|
475
475
|
transport: "stdio" | "streamable_http" | "legacy_manual";
|
|
476
476
|
provider: "supabase" | "linear" | "notion" | "custom";
|
|
477
|
+
required?: boolean | undefined;
|
|
477
478
|
ownerAgentId?: string | null | undefined;
|
|
478
479
|
accessMode?: "provider_default" | "read_only" | "read_write" | undefined;
|
|
479
480
|
safeConfig?: {
|
|
@@ -511,8 +512,8 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
511
512
|
externalScope?: string | null | undefined;
|
|
512
513
|
startupTimeoutMs?: number | undefined;
|
|
513
514
|
toolTimeoutMs?: number | undefined;
|
|
514
|
-
required?: boolean | undefined;
|
|
515
515
|
}>, {
|
|
516
|
+
required: boolean;
|
|
516
517
|
scope: "organization" | "agent";
|
|
517
518
|
displayName: string;
|
|
518
519
|
name: string;
|
|
@@ -547,7 +548,6 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
547
548
|
provider: "supabase" | "linear" | "notion" | "custom";
|
|
548
549
|
startupTimeoutMs: number;
|
|
549
550
|
toolTimeoutMs: number;
|
|
550
|
-
required: boolean;
|
|
551
551
|
ownerAgentId?: string | null | undefined;
|
|
552
552
|
accessMode?: "provider_default" | "read_only" | "read_write" | undefined;
|
|
553
553
|
secrets?: {
|
|
@@ -562,6 +562,7 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
562
562
|
name: string;
|
|
563
563
|
transport: "stdio" | "streamable_http" | "legacy_manual";
|
|
564
564
|
provider: "supabase" | "linear" | "notion" | "custom";
|
|
565
|
+
required?: boolean | undefined;
|
|
565
566
|
ownerAgentId?: string | null | undefined;
|
|
566
567
|
accessMode?: "provider_default" | "read_only" | "read_write" | undefined;
|
|
567
568
|
safeConfig?: {
|
|
@@ -599,8 +600,8 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
599
600
|
externalScope?: string | null | undefined;
|
|
600
601
|
startupTimeoutMs?: number | undefined;
|
|
601
602
|
toolTimeoutMs?: number | undefined;
|
|
602
|
-
required?: boolean | undefined;
|
|
603
603
|
}>, {
|
|
604
|
+
required: boolean;
|
|
604
605
|
scope: "organization" | "agent";
|
|
605
606
|
displayName: string;
|
|
606
607
|
name: string;
|
|
@@ -635,7 +636,6 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
635
636
|
provider: "supabase" | "linear" | "notion" | "custom";
|
|
636
637
|
startupTimeoutMs: number;
|
|
637
638
|
toolTimeoutMs: number;
|
|
638
|
-
required: boolean;
|
|
639
639
|
ownerAgentId?: string | null | undefined;
|
|
640
640
|
accessMode?: "provider_default" | "read_only" | "read_write" | undefined;
|
|
641
641
|
secrets?: {
|
|
@@ -650,6 +650,7 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
650
650
|
name: string;
|
|
651
651
|
transport: "stdio" | "streamable_http" | "legacy_manual";
|
|
652
652
|
provider: "supabase" | "linear" | "notion" | "custom";
|
|
653
|
+
required?: boolean | undefined;
|
|
653
654
|
ownerAgentId?: string | null | undefined;
|
|
654
655
|
accessMode?: "provider_default" | "read_only" | "read_write" | undefined;
|
|
655
656
|
safeConfig?: {
|
|
@@ -687,8 +688,8 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
687
688
|
externalScope?: string | null | undefined;
|
|
688
689
|
startupTimeoutMs?: number | undefined;
|
|
689
690
|
toolTimeoutMs?: number | undefined;
|
|
690
|
-
required?: boolean | undefined;
|
|
691
691
|
}>, {
|
|
692
|
+
required: boolean;
|
|
692
693
|
scope: "organization" | "agent";
|
|
693
694
|
displayName: string;
|
|
694
695
|
name: string;
|
|
@@ -723,7 +724,6 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
723
724
|
provider: "supabase" | "linear" | "notion" | "custom";
|
|
724
725
|
startupTimeoutMs: number;
|
|
725
726
|
toolTimeoutMs: number;
|
|
726
|
-
required: boolean;
|
|
727
727
|
ownerAgentId?: string | null | undefined;
|
|
728
728
|
accessMode?: "provider_default" | "read_only" | "read_write" | undefined;
|
|
729
729
|
secrets?: {
|
|
@@ -738,6 +738,7 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
738
738
|
name: string;
|
|
739
739
|
transport: "stdio" | "streamable_http" | "legacy_manual";
|
|
740
740
|
provider: "supabase" | "linear" | "notion" | "custom";
|
|
741
|
+
required?: boolean | undefined;
|
|
741
742
|
ownerAgentId?: string | null | undefined;
|
|
742
743
|
accessMode?: "provider_default" | "read_only" | "read_write" | undefined;
|
|
743
744
|
safeConfig?: {
|
|
@@ -775,8 +776,8 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
775
776
|
externalScope?: string | null | undefined;
|
|
776
777
|
startupTimeoutMs?: number | undefined;
|
|
777
778
|
toolTimeoutMs?: number | undefined;
|
|
778
|
-
required?: boolean | undefined;
|
|
779
779
|
}>, {
|
|
780
|
+
required: boolean;
|
|
780
781
|
scope: "organization" | "agent";
|
|
781
782
|
displayName: string;
|
|
782
783
|
name: string;
|
|
@@ -811,7 +812,6 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
811
812
|
provider: "supabase" | "linear" | "notion" | "custom";
|
|
812
813
|
startupTimeoutMs: number;
|
|
813
814
|
toolTimeoutMs: number;
|
|
814
|
-
required: boolean;
|
|
815
815
|
ownerAgentId?: string | null | undefined;
|
|
816
816
|
accessMode?: "provider_default" | "read_only" | "read_write" | undefined;
|
|
817
817
|
secrets?: {
|
|
@@ -826,6 +826,7 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
826
826
|
name: string;
|
|
827
827
|
transport: "stdio" | "streamable_http" | "legacy_manual";
|
|
828
828
|
provider: "supabase" | "linear" | "notion" | "custom";
|
|
829
|
+
required?: boolean | undefined;
|
|
829
830
|
ownerAgentId?: string | null | undefined;
|
|
830
831
|
accessMode?: "provider_default" | "read_only" | "read_write" | undefined;
|
|
831
832
|
safeConfig?: {
|
|
@@ -863,9 +864,9 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
863
864
|
externalScope?: string | null | undefined;
|
|
864
865
|
startupTimeoutMs?: number | undefined;
|
|
865
866
|
toolTimeoutMs?: number | undefined;
|
|
866
|
-
required?: boolean | undefined;
|
|
867
867
|
}>, {
|
|
868
868
|
accessMode: "provider_default" | "read_only" | "read_write";
|
|
869
|
+
required: boolean;
|
|
869
870
|
scope: "organization" | "agent";
|
|
870
871
|
displayName: string;
|
|
871
872
|
name: string;
|
|
@@ -900,7 +901,6 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
900
901
|
provider: "supabase" | "linear" | "notion" | "custom";
|
|
901
902
|
startupTimeoutMs: number;
|
|
902
903
|
toolTimeoutMs: number;
|
|
903
|
-
required: boolean;
|
|
904
904
|
ownerAgentId?: string | null | undefined;
|
|
905
905
|
secrets?: {
|
|
906
906
|
env?: Record<string, string> | undefined;
|
|
@@ -914,6 +914,7 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
914
914
|
name: string;
|
|
915
915
|
transport: "stdio" | "streamable_http" | "legacy_manual";
|
|
916
916
|
provider: "supabase" | "linear" | "notion" | "custom";
|
|
917
|
+
required?: boolean | undefined;
|
|
917
918
|
ownerAgentId?: string | null | undefined;
|
|
918
919
|
accessMode?: "provider_default" | "read_only" | "read_write" | undefined;
|
|
919
920
|
safeConfig?: {
|
|
@@ -951,7 +952,6 @@ export declare const createMcpConnectionSchema: z.ZodEffects<z.ZodEffects<z.ZodE
|
|
|
951
952
|
externalScope?: string | null | undefined;
|
|
952
953
|
startupTimeoutMs?: number | undefined;
|
|
953
954
|
toolTimeoutMs?: number | undefined;
|
|
954
|
-
required?: boolean | undefined;
|
|
955
955
|
}>;
|
|
956
956
|
export declare const updateMcpConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
957
957
|
displayName: z.ZodOptional<z.ZodString>;
|
|
@@ -1101,6 +1101,7 @@ export declare const updateMcpConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1101
1101
|
bearerToken?: string | undefined;
|
|
1102
1102
|
}>>;
|
|
1103
1103
|
}, "strict", z.ZodTypeAny, {
|
|
1104
|
+
required?: boolean | undefined;
|
|
1104
1105
|
displayName?: string | undefined;
|
|
1105
1106
|
accessMode?: "provider_default" | "read_only" | "read_write" | undefined;
|
|
1106
1107
|
safeConfig?: {
|
|
@@ -1138,8 +1139,8 @@ export declare const updateMcpConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1138
1139
|
externalScope?: string | null | undefined;
|
|
1139
1140
|
startupTimeoutMs?: number | undefined;
|
|
1140
1141
|
toolTimeoutMs?: number | undefined;
|
|
1141
|
-
required?: boolean | undefined;
|
|
1142
1142
|
}, {
|
|
1143
|
+
required?: boolean | undefined;
|
|
1143
1144
|
displayName?: string | undefined;
|
|
1144
1145
|
accessMode?: "provider_default" | "read_only" | "read_write" | undefined;
|
|
1145
1146
|
safeConfig?: {
|
|
@@ -1177,8 +1178,8 @@ export declare const updateMcpConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1177
1178
|
externalScope?: string | null | undefined;
|
|
1178
1179
|
startupTimeoutMs?: number | undefined;
|
|
1179
1180
|
toolTimeoutMs?: number | undefined;
|
|
1180
|
-
required?: boolean | undefined;
|
|
1181
1181
|
}>, {
|
|
1182
|
+
required?: boolean | undefined;
|
|
1182
1183
|
displayName?: string | undefined;
|
|
1183
1184
|
accessMode?: "provider_default" | "read_only" | "read_write" | undefined;
|
|
1184
1185
|
safeConfig?: {
|
|
@@ -1216,8 +1217,8 @@ export declare const updateMcpConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1216
1217
|
externalScope?: string | null | undefined;
|
|
1217
1218
|
startupTimeoutMs?: number | undefined;
|
|
1218
1219
|
toolTimeoutMs?: number | undefined;
|
|
1219
|
-
required?: boolean | undefined;
|
|
1220
1220
|
}, {
|
|
1221
|
+
required?: boolean | undefined;
|
|
1221
1222
|
displayName?: string | undefined;
|
|
1222
1223
|
accessMode?: "provider_default" | "read_only" | "read_write" | undefined;
|
|
1223
1224
|
safeConfig?: {
|
|
@@ -1255,7 +1256,6 @@ export declare const updateMcpConnectionSchema: z.ZodEffects<z.ZodObject<{
|
|
|
1255
1256
|
externalScope?: string | null | undefined;
|
|
1256
1257
|
startupTimeoutMs?: number | undefined;
|
|
1257
1258
|
toolTimeoutMs?: number | undefined;
|
|
1258
|
-
required?: boolean | undefined;
|
|
1259
1259
|
}>;
|
|
1260
1260
|
export declare const mcpConnectionMergedConfigSchema: z.ZodEffects<z.ZodObject<{
|
|
1261
1261
|
provider: z.ZodEnum<["supabase", "linear", "notion", "custom"]>;
|
|
@@ -2013,13 +2013,14 @@ export declare const mcpConnectionSummarySchema: z.ZodObject<{
|
|
|
2013
2013
|
updatedAt: z.ZodString;
|
|
2014
2014
|
}, "strict", z.ZodTypeAny, {
|
|
2015
2015
|
status: "active" | "disabled" | "error" | "revoked" | "draft" | "authorizing" | "selecting_scope" | "needs_reauth";
|
|
2016
|
+
required: boolean;
|
|
2016
2017
|
id: string;
|
|
2018
|
+
updatedAt: string;
|
|
2017
2019
|
orgId: string;
|
|
2018
2020
|
ownerAgentId: string | null;
|
|
2019
2021
|
scope: "organization" | "agent";
|
|
2020
2022
|
displayName: string;
|
|
2021
2023
|
createdAt: string;
|
|
2022
|
-
updatedAt: string;
|
|
2023
2024
|
revokedAt: string | null;
|
|
2024
2025
|
name: string;
|
|
2025
2026
|
accessMode: "provider_default" | "read_only" | "read_write";
|
|
@@ -2055,20 +2056,20 @@ export declare const mcpConnectionSummarySchema: z.ZodObject<{
|
|
|
2055
2056
|
externalScope: string | null;
|
|
2056
2057
|
startupTimeoutMs: number;
|
|
2057
2058
|
toolTimeoutMs: number;
|
|
2058
|
-
required: boolean;
|
|
2059
2059
|
hasCredentials: boolean;
|
|
2060
2060
|
lastDiscoveredAt: string | null;
|
|
2061
2061
|
activatedAt: string | null;
|
|
2062
2062
|
disabledAt: string | null;
|
|
2063
2063
|
}, {
|
|
2064
2064
|
status: "active" | "disabled" | "error" | "revoked" | "draft" | "authorizing" | "selecting_scope" | "needs_reauth";
|
|
2065
|
+
required: boolean;
|
|
2065
2066
|
id: string;
|
|
2067
|
+
updatedAt: string;
|
|
2066
2068
|
orgId: string;
|
|
2067
2069
|
ownerAgentId: string | null;
|
|
2068
2070
|
scope: "organization" | "agent";
|
|
2069
2071
|
displayName: string;
|
|
2070
2072
|
createdAt: string;
|
|
2071
|
-
updatedAt: string;
|
|
2072
2073
|
revokedAt: string | null;
|
|
2073
2074
|
name: string;
|
|
2074
2075
|
accessMode: "provider_default" | "read_only" | "read_write";
|
|
@@ -2104,7 +2105,6 @@ export declare const mcpConnectionSummarySchema: z.ZodObject<{
|
|
|
2104
2105
|
externalScope: string | null;
|
|
2105
2106
|
startupTimeoutMs: number;
|
|
2106
2107
|
toolTimeoutMs: number;
|
|
2107
|
-
required: boolean;
|
|
2108
2108
|
hasCredentials: boolean;
|
|
2109
2109
|
lastDiscoveredAt: string | null;
|
|
2110
2110
|
activatedAt: string | null;
|
|
@@ -2299,8 +2299,8 @@ export declare const mcpOAuthGrantSummarySchema: z.ZodObject<{
|
|
|
2299
2299
|
}, "strict", z.ZodTypeAny, {
|
|
2300
2300
|
status: "active" | "error" | "revoked" | "needs_reauth";
|
|
2301
2301
|
id: string;
|
|
2302
|
-
createdAt: string;
|
|
2303
2302
|
updatedAt: string;
|
|
2303
|
+
createdAt: string;
|
|
2304
2304
|
revokedAt: string | null;
|
|
2305
2305
|
hasCredentials: boolean;
|
|
2306
2306
|
connectionId: string;
|
|
@@ -2312,8 +2312,8 @@ export declare const mcpOAuthGrantSummarySchema: z.ZodObject<{
|
|
|
2312
2312
|
}, {
|
|
2313
2313
|
status: "active" | "error" | "revoked" | "needs_reauth";
|
|
2314
2314
|
id: string;
|
|
2315
|
-
createdAt: string;
|
|
2316
2315
|
updatedAt: string;
|
|
2316
|
+
createdAt: string;
|
|
2317
2317
|
revokedAt: string | null;
|
|
2318
2318
|
hasCredentials: boolean;
|
|
2319
2319
|
connectionId: string;
|
|
@@ -2532,13 +2532,14 @@ export declare const mcpAgentConnectionSummarySchema: z.ZodObject<{
|
|
|
2532
2532
|
updatedAt: z.ZodString;
|
|
2533
2533
|
}, "strict", z.ZodTypeAny, {
|
|
2534
2534
|
status: "active" | "disabled" | "error" | "revoked" | "draft" | "authorizing" | "selecting_scope" | "needs_reauth";
|
|
2535
|
+
required: boolean;
|
|
2535
2536
|
id: string;
|
|
2537
|
+
updatedAt: string;
|
|
2536
2538
|
orgId: string;
|
|
2537
2539
|
ownerAgentId: string | null;
|
|
2538
2540
|
scope: "organization" | "agent";
|
|
2539
2541
|
displayName: string;
|
|
2540
2542
|
createdAt: string;
|
|
2541
|
-
updatedAt: string;
|
|
2542
2543
|
revokedAt: string | null;
|
|
2543
2544
|
name: string;
|
|
2544
2545
|
accessMode: "provider_default" | "read_only" | "read_write";
|
|
@@ -2574,20 +2575,20 @@ export declare const mcpAgentConnectionSummarySchema: z.ZodObject<{
|
|
|
2574
2575
|
externalScope: string | null;
|
|
2575
2576
|
startupTimeoutMs: number;
|
|
2576
2577
|
toolTimeoutMs: number;
|
|
2577
|
-
required: boolean;
|
|
2578
2578
|
hasCredentials: boolean;
|
|
2579
2579
|
lastDiscoveredAt: string | null;
|
|
2580
2580
|
activatedAt: string | null;
|
|
2581
2581
|
disabledAt: string | null;
|
|
2582
2582
|
}, {
|
|
2583
2583
|
status: "active" | "disabled" | "error" | "revoked" | "draft" | "authorizing" | "selecting_scope" | "needs_reauth";
|
|
2584
|
+
required: boolean;
|
|
2584
2585
|
id: string;
|
|
2586
|
+
updatedAt: string;
|
|
2585
2587
|
orgId: string;
|
|
2586
2588
|
ownerAgentId: string | null;
|
|
2587
2589
|
scope: "organization" | "agent";
|
|
2588
2590
|
displayName: string;
|
|
2589
2591
|
createdAt: string;
|
|
2590
|
-
updatedAt: string;
|
|
2591
2592
|
revokedAt: string | null;
|
|
2592
2593
|
name: string;
|
|
2593
2594
|
accessMode: "provider_default" | "read_only" | "read_write";
|
|
@@ -2623,7 +2624,6 @@ export declare const mcpAgentConnectionSummarySchema: z.ZodObject<{
|
|
|
2623
2624
|
externalScope: string | null;
|
|
2624
2625
|
startupTimeoutMs: number;
|
|
2625
2626
|
toolTimeoutMs: number;
|
|
2626
|
-
required: boolean;
|
|
2627
2627
|
hasCredentials: boolean;
|
|
2628
2628
|
lastDiscoveredAt: string | null;
|
|
2629
2629
|
activatedAt: string | null;
|
|
@@ -2712,13 +2712,14 @@ export declare const mcpAgentConnectionSummarySchema: z.ZodObject<{
|
|
|
2712
2712
|
}[];
|
|
2713
2713
|
connection: {
|
|
2714
2714
|
status: "active" | "disabled" | "error" | "revoked" | "draft" | "authorizing" | "selecting_scope" | "needs_reauth";
|
|
2715
|
+
required: boolean;
|
|
2715
2716
|
id: string;
|
|
2717
|
+
updatedAt: string;
|
|
2716
2718
|
orgId: string;
|
|
2717
2719
|
ownerAgentId: string | null;
|
|
2718
2720
|
scope: "organization" | "agent";
|
|
2719
2721
|
displayName: string;
|
|
2720
2722
|
createdAt: string;
|
|
2721
|
-
updatedAt: string;
|
|
2722
2723
|
revokedAt: string | null;
|
|
2723
2724
|
name: string;
|
|
2724
2725
|
accessMode: "provider_default" | "read_only" | "read_write";
|
|
@@ -2754,7 +2755,6 @@ export declare const mcpAgentConnectionSummarySchema: z.ZodObject<{
|
|
|
2754
2755
|
externalScope: string | null;
|
|
2755
2756
|
startupTimeoutMs: number;
|
|
2756
2757
|
toolTimeoutMs: number;
|
|
2757
|
-
required: boolean;
|
|
2758
2758
|
hasCredentials: boolean;
|
|
2759
2759
|
lastDiscoveredAt: string | null;
|
|
2760
2760
|
activatedAt: string | null;
|
|
@@ -2787,13 +2787,14 @@ export declare const mcpAgentConnectionSummarySchema: z.ZodObject<{
|
|
|
2787
2787
|
}[];
|
|
2788
2788
|
connection: {
|
|
2789
2789
|
status: "active" | "disabled" | "error" | "revoked" | "draft" | "authorizing" | "selecting_scope" | "needs_reauth";
|
|
2790
|
+
required: boolean;
|
|
2790
2791
|
id: string;
|
|
2792
|
+
updatedAt: string;
|
|
2791
2793
|
orgId: string;
|
|
2792
2794
|
ownerAgentId: string | null;
|
|
2793
2795
|
scope: "organization" | "agent";
|
|
2794
2796
|
displayName: string;
|
|
2795
2797
|
createdAt: string;
|
|
2796
|
-
updatedAt: string;
|
|
2797
2798
|
revokedAt: string | null;
|
|
2798
2799
|
name: string;
|
|
2799
2800
|
accessMode: "provider_default" | "read_only" | "read_write";
|
|
@@ -2829,7 +2830,6 @@ export declare const mcpAgentConnectionSummarySchema: z.ZodObject<{
|
|
|
2829
2830
|
externalScope: string | null;
|
|
2830
2831
|
startupTimeoutMs: number;
|
|
2831
2832
|
toolTimeoutMs: number;
|
|
2832
|
-
required: boolean;
|
|
2833
2833
|
hasCredentials: boolean;
|
|
2834
2834
|
lastDiscoveredAt: string | null;
|
|
2835
2835
|
activatedAt: string | null;
|
|
@@ -2906,10 +2906,10 @@ export declare const managedExternalMcpBindingSchema: z.ZodObject<{
|
|
|
2906
2906
|
startupTimeoutMs: z.ZodNumber;
|
|
2907
2907
|
toolTimeoutMs: z.ZodNumber;
|
|
2908
2908
|
}, "strict", z.ZodTypeAny, {
|
|
2909
|
+
required: boolean;
|
|
2909
2910
|
accessMode: "read_only" | "read_write" | "none" | "provider_granted" | "full";
|
|
2910
2911
|
startupTimeoutMs: number;
|
|
2911
2912
|
toolTimeoutMs: number;
|
|
2912
|
-
required: boolean;
|
|
2913
2913
|
bindingId: string;
|
|
2914
2914
|
serverName: string;
|
|
2915
2915
|
toolPolicy: {
|
|
@@ -2917,10 +2917,10 @@ export declare const managedExternalMcpBindingSchema: z.ZodObject<{
|
|
|
2917
2917
|
allowedToolNames: string[];
|
|
2918
2918
|
};
|
|
2919
2919
|
}, {
|
|
2920
|
+
required: boolean;
|
|
2920
2921
|
accessMode: "read_only" | "read_write" | "none" | "provider_granted" | "full";
|
|
2921
2922
|
startupTimeoutMs: number;
|
|
2922
2923
|
toolTimeoutMs: number;
|
|
2923
|
-
required: boolean;
|
|
2924
2924
|
bindingId: string;
|
|
2925
2925
|
serverName: string;
|
|
2926
2926
|
toolPolicy: {
|
|
@@ -2946,10 +2946,10 @@ export declare const managedExternalMcpBindingsSchema: z.ZodArray<z.ZodObject<{
|
|
|
2946
2946
|
startupTimeoutMs: z.ZodNumber;
|
|
2947
2947
|
toolTimeoutMs: z.ZodNumber;
|
|
2948
2948
|
}, "strict", z.ZodTypeAny, {
|
|
2949
|
+
required: boolean;
|
|
2949
2950
|
accessMode: "read_only" | "read_write" | "none" | "provider_granted" | "full";
|
|
2950
2951
|
startupTimeoutMs: number;
|
|
2951
2952
|
toolTimeoutMs: number;
|
|
2952
|
-
required: boolean;
|
|
2953
2953
|
bindingId: string;
|
|
2954
2954
|
serverName: string;
|
|
2955
2955
|
toolPolicy: {
|
|
@@ -2957,10 +2957,10 @@ export declare const managedExternalMcpBindingsSchema: z.ZodArray<z.ZodObject<{
|
|
|
2957
2957
|
allowedToolNames: string[];
|
|
2958
2958
|
};
|
|
2959
2959
|
}, {
|
|
2960
|
+
required: boolean;
|
|
2960
2961
|
accessMode: "read_only" | "read_write" | "none" | "provider_granted" | "full";
|
|
2961
2962
|
startupTimeoutMs: number;
|
|
2962
2963
|
toolTimeoutMs: number;
|
|
2963
|
-
required: boolean;
|
|
2964
2964
|
bindingId: string;
|
|
2965
2965
|
serverName: string;
|
|
2966
2966
|
toolPolicy: {
|
|
@@ -2980,8 +2980,8 @@ export declare const mcpProviderAvailabilitySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2980
2980
|
agentConnectionCount: z.ZodOptional<z.ZodNumber>;
|
|
2981
2981
|
historicalGrantConnectionIds: z.ZodOptional<z.ZodArray<z.ZodString, "many">>;
|
|
2982
2982
|
}, "strict", z.ZodTypeAny, {
|
|
2983
|
-
connectionId: string | null;
|
|
2984
2983
|
state: "not_connected" | "connecting" | "connected" | "needs_attention" | "disconnected";
|
|
2984
|
+
connectionId: string | null;
|
|
2985
2985
|
maxAccess: "read_only" | "read_write" | "provider_granted" | null;
|
|
2986
2986
|
scopeMode: "account" | "workspace" | "legacy_project" | null;
|
|
2987
2987
|
revision: number | null;
|
|
@@ -2989,8 +2989,8 @@ export declare const mcpProviderAvailabilitySchema: z.ZodEffects<z.ZodObject<{
|
|
|
2989
2989
|
agentConnectionCount?: number | undefined;
|
|
2990
2990
|
historicalGrantConnectionIds?: string[] | undefined;
|
|
2991
2991
|
}, {
|
|
2992
|
-
connectionId: string | null;
|
|
2993
2992
|
state: "not_connected" | "connecting" | "connected" | "needs_attention" | "disconnected";
|
|
2993
|
+
connectionId: string | null;
|
|
2994
2994
|
maxAccess: "read_only" | "read_write" | "provider_granted" | null;
|
|
2995
2995
|
scopeMode: "account" | "workspace" | "legacy_project" | null;
|
|
2996
2996
|
revision: number | null;
|
|
@@ -3007,13 +3007,13 @@ export declare const mcpProviderAvailabilitySchema: z.ZodEffects<z.ZodObject<{
|
|
|
3007
3007
|
maxAccess: z.ZodEnum<["read_only", "read_write", "provider_granted"]>;
|
|
3008
3008
|
revision: z.ZodNumber;
|
|
3009
3009
|
}, "strict", z.ZodTypeAny, {
|
|
3010
|
-
connectionId: string;
|
|
3011
3010
|
state: "not_connected" | "connecting" | "connected" | "needs_attention" | "disconnected";
|
|
3011
|
+
connectionId: string;
|
|
3012
3012
|
maxAccess: "read_only" | "read_write" | "provider_granted";
|
|
3013
3013
|
revision: number;
|
|
3014
3014
|
}, {
|
|
3015
|
-
connectionId: string;
|
|
3016
3015
|
state: "not_connected" | "connecting" | "connected" | "needs_attention" | "disconnected";
|
|
3016
|
+
connectionId: string;
|
|
3017
3017
|
maxAccess: "read_only" | "read_write" | "provider_granted";
|
|
3018
3018
|
revision: number;
|
|
3019
3019
|
}>>>;
|
|
@@ -3022,8 +3022,8 @@ export declare const mcpProviderAvailabilitySchema: z.ZodEffects<z.ZodObject<{
|
|
|
3022
3022
|
explicitlyDisabled: z.ZodDefault<z.ZodBoolean>;
|
|
3023
3023
|
}, "strict", z.ZodTypeAny, {
|
|
3024
3024
|
connection: {
|
|
3025
|
-
connectionId: string;
|
|
3026
3025
|
state: "not_connected" | "connecting" | "connected" | "needs_attention" | "disconnected";
|
|
3026
|
+
connectionId: string;
|
|
3027
3027
|
maxAccess: "read_only" | "read_write" | "provider_granted";
|
|
3028
3028
|
revision: number;
|
|
3029
3029
|
} | null;
|
|
@@ -3036,8 +3036,8 @@ export declare const mcpProviderAvailabilitySchema: z.ZodEffects<z.ZodObject<{
|
|
|
3036
3036
|
access: "read_only" | "read_write" | "none" | "provider_granted" | "full";
|
|
3037
3037
|
activeRunUsesOlderPolicy: boolean;
|
|
3038
3038
|
connection?: {
|
|
3039
|
-
connectionId: string;
|
|
3040
3039
|
state: "not_connected" | "connecting" | "connected" | "needs_attention" | "disconnected";
|
|
3040
|
+
connectionId: string;
|
|
3041
3041
|
maxAccess: "read_only" | "read_write" | "provider_granted";
|
|
3042
3042
|
revision: number;
|
|
3043
3043
|
} | null | undefined;
|
|
@@ -3047,8 +3047,8 @@ export declare const mcpProviderAvailabilitySchema: z.ZodEffects<z.ZodObject<{
|
|
|
3047
3047
|
}>>;
|
|
3048
3048
|
}, "strict", z.ZodTypeAny, {
|
|
3049
3049
|
organization: {
|
|
3050
|
-
connectionId: string | null;
|
|
3051
3050
|
state: "not_connected" | "connecting" | "connected" | "needs_attention" | "disconnected";
|
|
3051
|
+
connectionId: string | null;
|
|
3052
3052
|
maxAccess: "read_only" | "read_write" | "provider_granted" | null;
|
|
3053
3053
|
scopeMode: "account" | "workspace" | "legacy_project" | null;
|
|
3054
3054
|
revision: number | null;
|
|
@@ -3059,8 +3059,8 @@ export declare const mcpProviderAvailabilitySchema: z.ZodEffects<z.ZodObject<{
|
|
|
3059
3059
|
provider: "supabase" | "linear" | "notion";
|
|
3060
3060
|
agent?: {
|
|
3061
3061
|
connection: {
|
|
3062
|
-
connectionId: string;
|
|
3063
3062
|
state: "not_connected" | "connecting" | "connected" | "needs_attention" | "disconnected";
|
|
3063
|
+
connectionId: string;
|
|
3064
3064
|
maxAccess: "read_only" | "read_write" | "provider_granted";
|
|
3065
3065
|
revision: number;
|
|
3066
3066
|
} | null;
|
|
@@ -3072,8 +3072,8 @@ export declare const mcpProviderAvailabilitySchema: z.ZodEffects<z.ZodObject<{
|
|
|
3072
3072
|
} | undefined;
|
|
3073
3073
|
}, {
|
|
3074
3074
|
organization: {
|
|
3075
|
-
connectionId: string | null;
|
|
3076
3075
|
state: "not_connected" | "connecting" | "connected" | "needs_attention" | "disconnected";
|
|
3076
|
+
connectionId: string | null;
|
|
3077
3077
|
maxAccess: "read_only" | "read_write" | "provider_granted" | null;
|
|
3078
3078
|
scopeMode: "account" | "workspace" | "legacy_project" | null;
|
|
3079
3079
|
revision: number | null;
|
|
@@ -3086,8 +3086,8 @@ export declare const mcpProviderAvailabilitySchema: z.ZodEffects<z.ZodObject<{
|
|
|
3086
3086
|
access: "read_only" | "read_write" | "none" | "provider_granted" | "full";
|
|
3087
3087
|
activeRunUsesOlderPolicy: boolean;
|
|
3088
3088
|
connection?: {
|
|
3089
|
-
connectionId: string;
|
|
3090
3089
|
state: "not_connected" | "connecting" | "connected" | "needs_attention" | "disconnected";
|
|
3090
|
+
connectionId: string;
|
|
3091
3091
|
maxAccess: "read_only" | "read_write" | "provider_granted";
|
|
3092
3092
|
revision: number;
|
|
3093
3093
|
} | null | undefined;
|
|
@@ -3097,8 +3097,8 @@ export declare const mcpProviderAvailabilitySchema: z.ZodEffects<z.ZodObject<{
|
|
|
3097
3097
|
} | undefined;
|
|
3098
3098
|
}>, {
|
|
3099
3099
|
organization: {
|
|
3100
|
-
connectionId: string | null;
|
|
3101
3100
|
state: "not_connected" | "connecting" | "connected" | "needs_attention" | "disconnected";
|
|
3101
|
+
connectionId: string | null;
|
|
3102
3102
|
maxAccess: "read_only" | "read_write" | "provider_granted" | null;
|
|
3103
3103
|
scopeMode: "account" | "workspace" | "legacy_project" | null;
|
|
3104
3104
|
revision: number | null;
|
|
@@ -3109,8 +3109,8 @@ export declare const mcpProviderAvailabilitySchema: z.ZodEffects<z.ZodObject<{
|
|
|
3109
3109
|
provider: "supabase" | "linear" | "notion";
|
|
3110
3110
|
agent?: {
|
|
3111
3111
|
connection: {
|
|
3112
|
-
connectionId: string;
|
|
3113
3112
|
state: "not_connected" | "connecting" | "connected" | "needs_attention" | "disconnected";
|
|
3113
|
+
connectionId: string;
|
|
3114
3114
|
maxAccess: "read_only" | "read_write" | "provider_granted";
|
|
3115
3115
|
revision: number;
|
|
3116
3116
|
} | null;
|
|
@@ -3122,8 +3122,8 @@ export declare const mcpProviderAvailabilitySchema: z.ZodEffects<z.ZodObject<{
|
|
|
3122
3122
|
} | undefined;
|
|
3123
3123
|
}, {
|
|
3124
3124
|
organization: {
|
|
3125
|
-
connectionId: string | null;
|
|
3126
3125
|
state: "not_connected" | "connecting" | "connected" | "needs_attention" | "disconnected";
|
|
3126
|
+
connectionId: string | null;
|
|
3127
3127
|
maxAccess: "read_only" | "read_write" | "provider_granted" | null;
|
|
3128
3128
|
scopeMode: "account" | "workspace" | "legacy_project" | null;
|
|
3129
3129
|
revision: number | null;
|
|
@@ -3136,8 +3136,8 @@ export declare const mcpProviderAvailabilitySchema: z.ZodEffects<z.ZodObject<{
|
|
|
3136
3136
|
access: "read_only" | "read_write" | "none" | "provider_granted" | "full";
|
|
3137
3137
|
activeRunUsesOlderPolicy: boolean;
|
|
3138
3138
|
connection?: {
|
|
3139
|
-
connectionId: string;
|
|
3140
3139
|
state: "not_connected" | "connecting" | "connected" | "needs_attention" | "disconnected";
|
|
3140
|
+
connectionId: string;
|
|
3141
3141
|
maxAccess: "read_only" | "read_write" | "provider_granted";
|
|
3142
3142
|
revision: number;
|
|
3143
3143
|
} | null | undefined;
|