@kya-os/contracts 1.5.1 → 1.5.2-canary.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.
@@ -11,17 +11,23 @@ import { z } from 'zod';
11
11
  * Identity configuration schema
12
12
  */
13
13
  export declare const identityConfigSchema: z.ZodObject<{
14
- agentDid: z.ZodString;
14
+ /**
15
+ * @deprecated Use serverDid instead. Will be removed in v2.0
16
+ */
17
+ agentDid: z.ZodOptional<z.ZodString>;
18
+ serverDid: z.ZodString;
15
19
  environment: z.ZodEnum<["development", "production"]>;
16
20
  storageLocation: z.ZodEnum<["cloudflare-kv", "file-system", "env-vars"]>;
17
21
  }, "strip", z.ZodTypeAny, {
18
- agentDid: string;
22
+ serverDid: string;
19
23
  environment: "development" | "production";
20
24
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
25
+ agentDid?: string | undefined;
21
26
  }, {
22
- agentDid: string;
27
+ serverDid: string;
23
28
  environment: "development" | "production";
24
29
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
30
+ agentDid?: string | undefined;
25
31
  }>;
26
32
  /**
27
33
  * Proofing configuration schema
@@ -90,11 +96,11 @@ export declare const delegationConfigSchema: z.ZodObject<{
90
96
  apiUrl: z.ZodOptional<z.ZodString>;
91
97
  cacheTtl: z.ZodOptional<z.ZodNumber>;
92
98
  }, "strip", z.ZodTypeAny, {
93
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
99
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
94
100
  apiUrl?: string | undefined;
95
101
  cacheTtl?: number | undefined;
96
102
  }, {
97
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
103
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
98
104
  apiUrl?: string | undefined;
99
105
  cacheTtl?: number | undefined;
100
106
  }>;
@@ -118,7 +124,7 @@ export declare const delegationConfigSchema: z.ZodObject<{
118
124
  enabled: boolean;
119
125
  enforceStrictly: boolean;
120
126
  verifier: {
121
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
127
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
122
128
  apiUrl?: string | undefined;
123
129
  cacheTtl?: number | undefined;
124
130
  };
@@ -132,7 +138,7 @@ export declare const delegationConfigSchema: z.ZodObject<{
132
138
  enabled: boolean;
133
139
  enforceStrictly: boolean;
134
140
  verifier: {
135
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
141
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
136
142
  apiUrl?: string | undefined;
137
143
  cacheTtl?: number | undefined;
138
144
  };
@@ -218,12 +224,12 @@ export declare const sessionConfigSchema: z.ZodObject<{
218
224
  ttlMinutes: z.ZodDefault<z.ZodNumber>;
219
225
  absoluteLifetime: z.ZodOptional<z.ZodNumber>;
220
226
  }, "strip", z.ZodTypeAny, {
221
- timestampSkewSeconds: number;
222
227
  ttlMinutes: number;
228
+ timestampSkewSeconds: number;
223
229
  absoluteLifetime?: number | undefined;
224
230
  }, {
225
- timestampSkewSeconds?: number | undefined;
226
231
  ttlMinutes?: number | undefined;
232
+ timestampSkewSeconds?: number | undefined;
227
233
  absoluteLifetime?: number | undefined;
228
234
  }>;
229
235
  /**
@@ -256,12 +262,12 @@ export declare const cloudflarePlatformConfigSchema: z.ZodObject<{
256
262
  source: z.ZodEnum<["wrangler.toml", "secrets", ".dev.vars"]>;
257
263
  }, "strip", z.ZodTypeAny, {
258
264
  value: string;
259
- name: string;
260
265
  source: "wrangler.toml" | "secrets" | ".dev.vars";
266
+ name: string;
261
267
  }, {
262
268
  value: string;
263
- name: string;
264
269
  source: "wrangler.toml" | "secrets" | ".dev.vars";
270
+ name: string;
265
271
  }>, "many">;
266
272
  }, "strip", z.ZodTypeAny, {
267
273
  workers: {
@@ -274,8 +280,8 @@ export declare const cloudflarePlatformConfigSchema: z.ZodObject<{
274
280
  }[];
275
281
  environmentVariables: {
276
282
  value: string;
277
- name: string;
278
283
  source: "wrangler.toml" | "secrets" | ".dev.vars";
284
+ name: string;
279
285
  }[];
280
286
  }, {
281
287
  workers: {
@@ -288,8 +294,8 @@ export declare const cloudflarePlatformConfigSchema: z.ZodObject<{
288
294
  }[];
289
295
  environmentVariables: {
290
296
  value: string;
291
- name: string;
292
297
  source: "wrangler.toml" | "secrets" | ".dev.vars";
298
+ name: string;
293
299
  }[];
294
300
  }>;
295
301
  /**
@@ -383,12 +389,12 @@ export declare const vercelPlatformConfigSchema: z.ZodObject<{
383
389
  source: z.ZodEnum<["vercel-dashboard", ".env.local"]>;
384
390
  }, "strip", z.ZodTypeAny, {
385
391
  value: string;
386
- name: string;
387
392
  source: "vercel-dashboard" | ".env.local";
393
+ name: string;
388
394
  }, {
389
395
  value: string;
390
- name: string;
391
396
  source: "vercel-dashboard" | ".env.local";
397
+ name: string;
392
398
  }>, "many">;
393
399
  edgeRuntime: z.ZodOptional<z.ZodObject<{
394
400
  maxDuration: z.ZodOptional<z.ZodNumber>;
@@ -403,8 +409,8 @@ export declare const vercelPlatformConfigSchema: z.ZodObject<{
403
409
  }, "strip", z.ZodTypeAny, {
404
410
  environmentVariables: {
405
411
  value: string;
406
- name: string;
407
412
  source: "vercel-dashboard" | ".env.local";
413
+ name: string;
408
414
  }[];
409
415
  edgeRuntime?: {
410
416
  maxDuration?: number | undefined;
@@ -413,8 +419,8 @@ export declare const vercelPlatformConfigSchema: z.ZodObject<{
413
419
  }, {
414
420
  environmentVariables: {
415
421
  value: string;
416
- name: string;
417
422
  source: "vercel-dashboard" | ".env.local";
423
+ name: string;
418
424
  }[];
419
425
  edgeRuntime?: {
420
426
  maxDuration?: number | undefined;
@@ -453,12 +459,12 @@ export declare const platformConfigSchema: z.ZodObject<{
453
459
  source: z.ZodEnum<["wrangler.toml", "secrets", ".dev.vars"]>;
454
460
  }, "strip", z.ZodTypeAny, {
455
461
  value: string;
456
- name: string;
457
462
  source: "wrangler.toml" | "secrets" | ".dev.vars";
463
+ name: string;
458
464
  }, {
459
465
  value: string;
460
- name: string;
461
466
  source: "wrangler.toml" | "secrets" | ".dev.vars";
467
+ name: string;
462
468
  }>, "many">;
463
469
  }, "strip", z.ZodTypeAny, {
464
470
  workers: {
@@ -471,8 +477,8 @@ export declare const platformConfigSchema: z.ZodObject<{
471
477
  }[];
472
478
  environmentVariables: {
473
479
  value: string;
474
- name: string;
475
480
  source: "wrangler.toml" | "secrets" | ".dev.vars";
481
+ name: string;
476
482
  }[];
477
483
  }, {
478
484
  workers: {
@@ -485,8 +491,8 @@ export declare const platformConfigSchema: z.ZodObject<{
485
491
  }[];
486
492
  environmentVariables: {
487
493
  value: string;
488
- name: string;
489
494
  source: "wrangler.toml" | "secrets" | ".dev.vars";
495
+ name: string;
490
496
  }[];
491
497
  }>>;
492
498
  node: z.ZodOptional<z.ZodObject<{
@@ -574,12 +580,12 @@ export declare const platformConfigSchema: z.ZodObject<{
574
580
  source: z.ZodEnum<["vercel-dashboard", ".env.local"]>;
575
581
  }, "strip", z.ZodTypeAny, {
576
582
  value: string;
577
- name: string;
578
583
  source: "vercel-dashboard" | ".env.local";
584
+ name: string;
579
585
  }, {
580
586
  value: string;
581
- name: string;
582
587
  source: "vercel-dashboard" | ".env.local";
588
+ name: string;
583
589
  }>, "many">;
584
590
  edgeRuntime: z.ZodOptional<z.ZodObject<{
585
591
  maxDuration: z.ZodOptional<z.ZodNumber>;
@@ -594,8 +600,8 @@ export declare const platformConfigSchema: z.ZodObject<{
594
600
  }, "strip", z.ZodTypeAny, {
595
601
  environmentVariables: {
596
602
  value: string;
597
- name: string;
598
603
  source: "vercel-dashboard" | ".env.local";
604
+ name: string;
599
605
  }[];
600
606
  edgeRuntime?: {
601
607
  maxDuration?: number | undefined;
@@ -604,8 +610,8 @@ export declare const platformConfigSchema: z.ZodObject<{
604
610
  }, {
605
611
  environmentVariables: {
606
612
  value: string;
607
- name: string;
608
613
  source: "vercel-dashboard" | ".env.local";
614
+ name: string;
609
615
  }[];
610
616
  edgeRuntime?: {
611
617
  maxDuration?: number | undefined;
@@ -625,8 +631,8 @@ export declare const platformConfigSchema: z.ZodObject<{
625
631
  }[];
626
632
  environmentVariables: {
627
633
  value: string;
628
- name: string;
629
634
  source: "wrangler.toml" | "secrets" | ".dev.vars";
635
+ name: string;
630
636
  }[];
631
637
  } | undefined;
632
638
  node?: {
@@ -648,8 +654,8 @@ export declare const platformConfigSchema: z.ZodObject<{
648
654
  vercel?: {
649
655
  environmentVariables: {
650
656
  value: string;
651
- name: string;
652
657
  source: "vercel-dashboard" | ".env.local";
658
+ name: string;
653
659
  }[];
654
660
  edgeRuntime?: {
655
661
  maxDuration?: number | undefined;
@@ -669,8 +675,8 @@ export declare const platformConfigSchema: z.ZodObject<{
669
675
  }[];
670
676
  environmentVariables: {
671
677
  value: string;
672
- name: string;
673
678
  source: "wrangler.toml" | "secrets" | ".dev.vars";
679
+ name: string;
674
680
  }[];
675
681
  } | undefined;
676
682
  node?: {
@@ -692,8 +698,8 @@ export declare const platformConfigSchema: z.ZodObject<{
692
698
  vercel?: {
693
699
  environmentVariables: {
694
700
  value: string;
695
- name: string;
696
701
  source: "vercel-dashboard" | ".env.local";
702
+ name: string;
697
703
  }[];
698
704
  edgeRuntime?: {
699
705
  maxDuration?: number | undefined;
@@ -711,34 +717,40 @@ export declare const configMetadataSchema: z.ZodObject<{
711
717
  serverUrl: z.ZodOptional<z.ZodString>;
712
718
  deploymentStatus: z.ZodOptional<z.ZodEnum<["active", "inactive", "error"]>>;
713
719
  }, "strip", z.ZodTypeAny, {
714
- version: string;
715
720
  source: "code" | "dashboard" | "mixed";
721
+ version: string;
716
722
  lastUpdated: string;
717
723
  serverUrl?: string | undefined;
718
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
724
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
719
725
  }, {
720
- version: string;
721
726
  source: "code" | "dashboard" | "mixed";
727
+ version: string;
722
728
  lastUpdated: string;
723
729
  serverUrl?: string | undefined;
724
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
730
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
725
731
  }>;
726
732
  /**
727
733
  * Complete MCP-I Server Configuration schema
728
734
  */
729
735
  export declare const mcpIServerConfigSchema: z.ZodObject<{
730
736
  identity: z.ZodObject<{
731
- agentDid: z.ZodString;
737
+ /**
738
+ * @deprecated Use serverDid instead. Will be removed in v2.0
739
+ */
740
+ agentDid: z.ZodOptional<z.ZodString>;
741
+ serverDid: z.ZodString;
732
742
  environment: z.ZodEnum<["development", "production"]>;
733
743
  storageLocation: z.ZodEnum<["cloudflare-kv", "file-system", "env-vars"]>;
734
744
  }, "strip", z.ZodTypeAny, {
735
- agentDid: string;
745
+ serverDid: string;
736
746
  environment: "development" | "production";
737
747
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
748
+ agentDid?: string | undefined;
738
749
  }, {
739
- agentDid: string;
750
+ serverDid: string;
740
751
  environment: "development" | "production";
741
752
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
753
+ agentDid?: string | undefined;
742
754
  }>;
743
755
  proofing: z.ZodObject<{
744
756
  enabled: z.ZodBoolean;
@@ -801,11 +813,11 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
801
813
  apiUrl: z.ZodOptional<z.ZodString>;
802
814
  cacheTtl: z.ZodOptional<z.ZodNumber>;
803
815
  }, "strip", z.ZodTypeAny, {
804
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
816
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
805
817
  apiUrl?: string | undefined;
806
818
  cacheTtl?: number | undefined;
807
819
  }, {
808
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
820
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
809
821
  apiUrl?: string | undefined;
810
822
  cacheTtl?: number | undefined;
811
823
  }>;
@@ -829,7 +841,7 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
829
841
  enabled: boolean;
830
842
  enforceStrictly: boolean;
831
843
  verifier: {
832
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
844
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
833
845
  apiUrl?: string | undefined;
834
846
  cacheTtl?: number | undefined;
835
847
  };
@@ -843,7 +855,7 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
843
855
  enabled: boolean;
844
856
  enforceStrictly: boolean;
845
857
  verifier: {
846
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
858
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
847
859
  apiUrl?: string | undefined;
848
860
  cacheTtl?: number | undefined;
849
861
  };
@@ -920,12 +932,12 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
920
932
  ttlMinutes: z.ZodDefault<z.ZodNumber>;
921
933
  absoluteLifetime: z.ZodOptional<z.ZodNumber>;
922
934
  }, "strip", z.ZodTypeAny, {
923
- timestampSkewSeconds: number;
924
935
  ttlMinutes: number;
936
+ timestampSkewSeconds: number;
925
937
  absoluteLifetime?: number | undefined;
926
938
  }, {
927
- timestampSkewSeconds?: number | undefined;
928
939
  ttlMinutes?: number | undefined;
940
+ timestampSkewSeconds?: number | undefined;
929
941
  absoluteLifetime?: number | undefined;
930
942
  }>;
931
943
  platform: z.ZodObject<{
@@ -957,12 +969,12 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
957
969
  source: z.ZodEnum<["wrangler.toml", "secrets", ".dev.vars"]>;
958
970
  }, "strip", z.ZodTypeAny, {
959
971
  value: string;
960
- name: string;
961
972
  source: "wrangler.toml" | "secrets" | ".dev.vars";
973
+ name: string;
962
974
  }, {
963
975
  value: string;
964
- name: string;
965
976
  source: "wrangler.toml" | "secrets" | ".dev.vars";
977
+ name: string;
966
978
  }>, "many">;
967
979
  }, "strip", z.ZodTypeAny, {
968
980
  workers: {
@@ -975,8 +987,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
975
987
  }[];
976
988
  environmentVariables: {
977
989
  value: string;
978
- name: string;
979
990
  source: "wrangler.toml" | "secrets" | ".dev.vars";
991
+ name: string;
980
992
  }[];
981
993
  }, {
982
994
  workers: {
@@ -989,8 +1001,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
989
1001
  }[];
990
1002
  environmentVariables: {
991
1003
  value: string;
992
- name: string;
993
1004
  source: "wrangler.toml" | "secrets" | ".dev.vars";
1005
+ name: string;
994
1006
  }[];
995
1007
  }>>;
996
1008
  node: z.ZodOptional<z.ZodObject<{
@@ -1078,12 +1090,12 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1078
1090
  source: z.ZodEnum<["vercel-dashboard", ".env.local"]>;
1079
1091
  }, "strip", z.ZodTypeAny, {
1080
1092
  value: string;
1081
- name: string;
1082
1093
  source: "vercel-dashboard" | ".env.local";
1094
+ name: string;
1083
1095
  }, {
1084
1096
  value: string;
1085
- name: string;
1086
1097
  source: "vercel-dashboard" | ".env.local";
1098
+ name: string;
1087
1099
  }>, "many">;
1088
1100
  edgeRuntime: z.ZodOptional<z.ZodObject<{
1089
1101
  maxDuration: z.ZodOptional<z.ZodNumber>;
@@ -1098,8 +1110,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1098
1110
  }, "strip", z.ZodTypeAny, {
1099
1111
  environmentVariables: {
1100
1112
  value: string;
1101
- name: string;
1102
1113
  source: "vercel-dashboard" | ".env.local";
1114
+ name: string;
1103
1115
  }[];
1104
1116
  edgeRuntime?: {
1105
1117
  maxDuration?: number | undefined;
@@ -1108,8 +1120,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1108
1120
  }, {
1109
1121
  environmentVariables: {
1110
1122
  value: string;
1111
- name: string;
1112
1123
  source: "vercel-dashboard" | ".env.local";
1124
+ name: string;
1113
1125
  }[];
1114
1126
  edgeRuntime?: {
1115
1127
  maxDuration?: number | undefined;
@@ -1129,8 +1141,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1129
1141
  }[];
1130
1142
  environmentVariables: {
1131
1143
  value: string;
1132
- name: string;
1133
1144
  source: "wrangler.toml" | "secrets" | ".dev.vars";
1145
+ name: string;
1134
1146
  }[];
1135
1147
  } | undefined;
1136
1148
  node?: {
@@ -1152,8 +1164,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1152
1164
  vercel?: {
1153
1165
  environmentVariables: {
1154
1166
  value: string;
1155
- name: string;
1156
1167
  source: "vercel-dashboard" | ".env.local";
1168
+ name: string;
1157
1169
  }[];
1158
1170
  edgeRuntime?: {
1159
1171
  maxDuration?: number | undefined;
@@ -1173,8 +1185,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1173
1185
  }[];
1174
1186
  environmentVariables: {
1175
1187
  value: string;
1176
- name: string;
1177
1188
  source: "wrangler.toml" | "secrets" | ".dev.vars";
1189
+ name: string;
1178
1190
  }[];
1179
1191
  } | undefined;
1180
1192
  node?: {
@@ -1196,8 +1208,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1196
1208
  vercel?: {
1197
1209
  environmentVariables: {
1198
1210
  value: string;
1199
- name: string;
1200
1211
  source: "vercel-dashboard" | ".env.local";
1212
+ name: string;
1201
1213
  }[];
1202
1214
  edgeRuntime?: {
1203
1215
  maxDuration?: number | undefined;
@@ -1212,31 +1224,31 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1212
1224
  serverUrl: z.ZodOptional<z.ZodString>;
1213
1225
  deploymentStatus: z.ZodOptional<z.ZodEnum<["active", "inactive", "error"]>>;
1214
1226
  }, "strip", z.ZodTypeAny, {
1215
- version: string;
1216
1227
  source: "code" | "dashboard" | "mixed";
1228
+ version: string;
1217
1229
  lastUpdated: string;
1218
1230
  serverUrl?: string | undefined;
1219
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
1231
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
1220
1232
  }, {
1221
- version: string;
1222
1233
  source: "code" | "dashboard" | "mixed";
1234
+ version: string;
1223
1235
  lastUpdated: string;
1224
1236
  serverUrl?: string | undefined;
1225
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
1237
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
1226
1238
  }>;
1227
1239
  }, "strip", z.ZodTypeAny, {
1228
1240
  metadata: {
1229
- version: string;
1230
1241
  source: "code" | "dashboard" | "mixed";
1242
+ version: string;
1231
1243
  lastUpdated: string;
1232
1244
  serverUrl?: string | undefined;
1233
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
1245
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
1234
1246
  };
1235
1247
  delegation: {
1236
1248
  enabled: boolean;
1237
1249
  enforceStrictly: boolean;
1238
1250
  verifier: {
1239
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
1251
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
1240
1252
  apiUrl?: string | undefined;
1241
1253
  cacheTtl?: number | undefined;
1242
1254
  };
@@ -1248,9 +1260,10 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1248
1260
  };
1249
1261
  };
1250
1262
  identity: {
1251
- agentDid: string;
1263
+ serverDid: string;
1252
1264
  environment: "development" | "production";
1253
1265
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
1266
+ agentDid?: string | undefined;
1254
1267
  };
1255
1268
  proofing: {
1256
1269
  enabled: boolean;
@@ -1283,8 +1296,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1283
1296
  includePayloads: boolean;
1284
1297
  };
1285
1298
  session: {
1286
- timestampSkewSeconds: number;
1287
1299
  ttlMinutes: number;
1300
+ timestampSkewSeconds: number;
1288
1301
  absoluteLifetime?: number | undefined;
1289
1302
  };
1290
1303
  platform: {
@@ -1300,8 +1313,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1300
1313
  }[];
1301
1314
  environmentVariables: {
1302
1315
  value: string;
1303
- name: string;
1304
1316
  source: "wrangler.toml" | "secrets" | ".dev.vars";
1317
+ name: string;
1305
1318
  }[];
1306
1319
  } | undefined;
1307
1320
  node?: {
@@ -1323,8 +1336,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1323
1336
  vercel?: {
1324
1337
  environmentVariables: {
1325
1338
  value: string;
1326
- name: string;
1327
1339
  source: "vercel-dashboard" | ".env.local";
1340
+ name: string;
1328
1341
  }[];
1329
1342
  edgeRuntime?: {
1330
1343
  maxDuration?: number | undefined;
@@ -1334,17 +1347,17 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1334
1347
  };
1335
1348
  }, {
1336
1349
  metadata: {
1337
- version: string;
1338
1350
  source: "code" | "dashboard" | "mixed";
1351
+ version: string;
1339
1352
  lastUpdated: string;
1340
1353
  serverUrl?: string | undefined;
1341
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
1354
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
1342
1355
  };
1343
1356
  delegation: {
1344
1357
  enabled: boolean;
1345
1358
  enforceStrictly: boolean;
1346
1359
  verifier: {
1347
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
1360
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
1348
1361
  apiUrl?: string | undefined;
1349
1362
  cacheTtl?: number | undefined;
1350
1363
  };
@@ -1356,9 +1369,10 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1356
1369
  };
1357
1370
  };
1358
1371
  identity: {
1359
- agentDid: string;
1372
+ serverDid: string;
1360
1373
  environment: "development" | "production";
1361
1374
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
1375
+ agentDid?: string | undefined;
1362
1376
  };
1363
1377
  proofing: {
1364
1378
  enabled: boolean;
@@ -1391,8 +1405,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1391
1405
  includePayloads: boolean;
1392
1406
  };
1393
1407
  session: {
1394
- timestampSkewSeconds?: number | undefined;
1395
1408
  ttlMinutes?: number | undefined;
1409
+ timestampSkewSeconds?: number | undefined;
1396
1410
  absoluteLifetime?: number | undefined;
1397
1411
  };
1398
1412
  platform: {
@@ -1408,8 +1422,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1408
1422
  }[];
1409
1423
  environmentVariables: {
1410
1424
  value: string;
1411
- name: string;
1412
1425
  source: "wrangler.toml" | "secrets" | ".dev.vars";
1426
+ name: string;
1413
1427
  }[];
1414
1428
  } | undefined;
1415
1429
  node?: {
@@ -1431,8 +1445,8 @@ export declare const mcpIServerConfigSchema: z.ZodObject<{
1431
1445
  vercel?: {
1432
1446
  environmentVariables: {
1433
1447
  value: string;
1434
- name: string;
1435
1448
  source: "vercel-dashboard" | ".env.local";
1449
+ name: string;
1436
1450
  }[];
1437
1451
  edgeRuntime?: {
1438
1452
  maxDuration?: number | undefined;
@@ -1459,17 +1473,23 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1459
1473
  data: z.ZodObject<{
1460
1474
  config: z.ZodObject<{
1461
1475
  identity: z.ZodObject<{
1462
- agentDid: z.ZodString;
1476
+ /**
1477
+ * @deprecated Use serverDid instead. Will be removed in v2.0
1478
+ */
1479
+ agentDid: z.ZodOptional<z.ZodString>;
1480
+ serverDid: z.ZodString;
1463
1481
  environment: z.ZodEnum<["development", "production"]>;
1464
1482
  storageLocation: z.ZodEnum<["cloudflare-kv", "file-system", "env-vars"]>;
1465
1483
  }, "strip", z.ZodTypeAny, {
1466
- agentDid: string;
1484
+ serverDid: string;
1467
1485
  environment: "development" | "production";
1468
1486
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
1487
+ agentDid?: string | undefined;
1469
1488
  }, {
1470
- agentDid: string;
1489
+ serverDid: string;
1471
1490
  environment: "development" | "production";
1472
1491
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
1492
+ agentDid?: string | undefined;
1473
1493
  }>;
1474
1494
  proofing: z.ZodObject<{
1475
1495
  enabled: z.ZodBoolean;
@@ -1532,11 +1552,11 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1532
1552
  apiUrl: z.ZodOptional<z.ZodString>;
1533
1553
  cacheTtl: z.ZodOptional<z.ZodNumber>;
1534
1554
  }, "strip", z.ZodTypeAny, {
1535
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
1555
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
1536
1556
  apiUrl?: string | undefined;
1537
1557
  cacheTtl?: number | undefined;
1538
1558
  }, {
1539
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
1559
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
1540
1560
  apiUrl?: string | undefined;
1541
1561
  cacheTtl?: number | undefined;
1542
1562
  }>;
@@ -1560,7 +1580,7 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1560
1580
  enabled: boolean;
1561
1581
  enforceStrictly: boolean;
1562
1582
  verifier: {
1563
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
1583
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
1564
1584
  apiUrl?: string | undefined;
1565
1585
  cacheTtl?: number | undefined;
1566
1586
  };
@@ -1574,7 +1594,7 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1574
1594
  enabled: boolean;
1575
1595
  enforceStrictly: boolean;
1576
1596
  verifier: {
1577
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
1597
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
1578
1598
  apiUrl?: string | undefined;
1579
1599
  cacheTtl?: number | undefined;
1580
1600
  };
@@ -1651,12 +1671,12 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1651
1671
  ttlMinutes: z.ZodDefault<z.ZodNumber>;
1652
1672
  absoluteLifetime: z.ZodOptional<z.ZodNumber>;
1653
1673
  }, "strip", z.ZodTypeAny, {
1654
- timestampSkewSeconds: number;
1655
1674
  ttlMinutes: number;
1675
+ timestampSkewSeconds: number;
1656
1676
  absoluteLifetime?: number | undefined;
1657
1677
  }, {
1658
- timestampSkewSeconds?: number | undefined;
1659
1678
  ttlMinutes?: number | undefined;
1679
+ timestampSkewSeconds?: number | undefined;
1660
1680
  absoluteLifetime?: number | undefined;
1661
1681
  }>;
1662
1682
  platform: z.ZodObject<{
@@ -1688,12 +1708,12 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1688
1708
  source: z.ZodEnum<["wrangler.toml", "secrets", ".dev.vars"]>;
1689
1709
  }, "strip", z.ZodTypeAny, {
1690
1710
  value: string;
1691
- name: string;
1692
1711
  source: "wrangler.toml" | "secrets" | ".dev.vars";
1712
+ name: string;
1693
1713
  }, {
1694
1714
  value: string;
1695
- name: string;
1696
1715
  source: "wrangler.toml" | "secrets" | ".dev.vars";
1716
+ name: string;
1697
1717
  }>, "many">;
1698
1718
  }, "strip", z.ZodTypeAny, {
1699
1719
  workers: {
@@ -1706,8 +1726,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1706
1726
  }[];
1707
1727
  environmentVariables: {
1708
1728
  value: string;
1709
- name: string;
1710
1729
  source: "wrangler.toml" | "secrets" | ".dev.vars";
1730
+ name: string;
1711
1731
  }[];
1712
1732
  }, {
1713
1733
  workers: {
@@ -1720,8 +1740,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1720
1740
  }[];
1721
1741
  environmentVariables: {
1722
1742
  value: string;
1723
- name: string;
1724
1743
  source: "wrangler.toml" | "secrets" | ".dev.vars";
1744
+ name: string;
1725
1745
  }[];
1726
1746
  }>>;
1727
1747
  node: z.ZodOptional<z.ZodObject<{
@@ -1809,12 +1829,12 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1809
1829
  source: z.ZodEnum<["vercel-dashboard", ".env.local"]>;
1810
1830
  }, "strip", z.ZodTypeAny, {
1811
1831
  value: string;
1812
- name: string;
1813
1832
  source: "vercel-dashboard" | ".env.local";
1833
+ name: string;
1814
1834
  }, {
1815
1835
  value: string;
1816
- name: string;
1817
1836
  source: "vercel-dashboard" | ".env.local";
1837
+ name: string;
1818
1838
  }>, "many">;
1819
1839
  edgeRuntime: z.ZodOptional<z.ZodObject<{
1820
1840
  maxDuration: z.ZodOptional<z.ZodNumber>;
@@ -1829,8 +1849,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1829
1849
  }, "strip", z.ZodTypeAny, {
1830
1850
  environmentVariables: {
1831
1851
  value: string;
1832
- name: string;
1833
1852
  source: "vercel-dashboard" | ".env.local";
1853
+ name: string;
1834
1854
  }[];
1835
1855
  edgeRuntime?: {
1836
1856
  maxDuration?: number | undefined;
@@ -1839,8 +1859,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1839
1859
  }, {
1840
1860
  environmentVariables: {
1841
1861
  value: string;
1842
- name: string;
1843
1862
  source: "vercel-dashboard" | ".env.local";
1863
+ name: string;
1844
1864
  }[];
1845
1865
  edgeRuntime?: {
1846
1866
  maxDuration?: number | undefined;
@@ -1860,8 +1880,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1860
1880
  }[];
1861
1881
  environmentVariables: {
1862
1882
  value: string;
1863
- name: string;
1864
1883
  source: "wrangler.toml" | "secrets" | ".dev.vars";
1884
+ name: string;
1865
1885
  }[];
1866
1886
  } | undefined;
1867
1887
  node?: {
@@ -1883,8 +1903,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1883
1903
  vercel?: {
1884
1904
  environmentVariables: {
1885
1905
  value: string;
1886
- name: string;
1887
1906
  source: "vercel-dashboard" | ".env.local";
1907
+ name: string;
1888
1908
  }[];
1889
1909
  edgeRuntime?: {
1890
1910
  maxDuration?: number | undefined;
@@ -1904,8 +1924,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1904
1924
  }[];
1905
1925
  environmentVariables: {
1906
1926
  value: string;
1907
- name: string;
1908
1927
  source: "wrangler.toml" | "secrets" | ".dev.vars";
1928
+ name: string;
1909
1929
  }[];
1910
1930
  } | undefined;
1911
1931
  node?: {
@@ -1927,8 +1947,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1927
1947
  vercel?: {
1928
1948
  environmentVariables: {
1929
1949
  value: string;
1930
- name: string;
1931
1950
  source: "vercel-dashboard" | ".env.local";
1951
+ name: string;
1932
1952
  }[];
1933
1953
  edgeRuntime?: {
1934
1954
  maxDuration?: number | undefined;
@@ -1943,31 +1963,31 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1943
1963
  serverUrl: z.ZodOptional<z.ZodString>;
1944
1964
  deploymentStatus: z.ZodOptional<z.ZodEnum<["active", "inactive", "error"]>>;
1945
1965
  }, "strip", z.ZodTypeAny, {
1946
- version: string;
1947
1966
  source: "code" | "dashboard" | "mixed";
1967
+ version: string;
1948
1968
  lastUpdated: string;
1949
1969
  serverUrl?: string | undefined;
1950
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
1970
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
1951
1971
  }, {
1952
- version: string;
1953
1972
  source: "code" | "dashboard" | "mixed";
1973
+ version: string;
1954
1974
  lastUpdated: string;
1955
1975
  serverUrl?: string | undefined;
1956
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
1976
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
1957
1977
  }>;
1958
1978
  }, "strip", z.ZodTypeAny, {
1959
1979
  metadata: {
1960
- version: string;
1961
1980
  source: "code" | "dashboard" | "mixed";
1981
+ version: string;
1962
1982
  lastUpdated: string;
1963
1983
  serverUrl?: string | undefined;
1964
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
1984
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
1965
1985
  };
1966
1986
  delegation: {
1967
1987
  enabled: boolean;
1968
1988
  enforceStrictly: boolean;
1969
1989
  verifier: {
1970
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
1990
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
1971
1991
  apiUrl?: string | undefined;
1972
1992
  cacheTtl?: number | undefined;
1973
1993
  };
@@ -1979,9 +1999,10 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
1979
1999
  };
1980
2000
  };
1981
2001
  identity: {
1982
- agentDid: string;
2002
+ serverDid: string;
1983
2003
  environment: "development" | "production";
1984
2004
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
2005
+ agentDid?: string | undefined;
1985
2006
  };
1986
2007
  proofing: {
1987
2008
  enabled: boolean;
@@ -2014,8 +2035,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2014
2035
  includePayloads: boolean;
2015
2036
  };
2016
2037
  session: {
2017
- timestampSkewSeconds: number;
2018
2038
  ttlMinutes: number;
2039
+ timestampSkewSeconds: number;
2019
2040
  absoluteLifetime?: number | undefined;
2020
2041
  };
2021
2042
  platform: {
@@ -2031,8 +2052,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2031
2052
  }[];
2032
2053
  environmentVariables: {
2033
2054
  value: string;
2034
- name: string;
2035
2055
  source: "wrangler.toml" | "secrets" | ".dev.vars";
2056
+ name: string;
2036
2057
  }[];
2037
2058
  } | undefined;
2038
2059
  node?: {
@@ -2054,8 +2075,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2054
2075
  vercel?: {
2055
2076
  environmentVariables: {
2056
2077
  value: string;
2057
- name: string;
2058
2078
  source: "vercel-dashboard" | ".env.local";
2079
+ name: string;
2059
2080
  }[];
2060
2081
  edgeRuntime?: {
2061
2082
  maxDuration?: number | undefined;
@@ -2065,17 +2086,17 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2065
2086
  };
2066
2087
  }, {
2067
2088
  metadata: {
2068
- version: string;
2069
2089
  source: "code" | "dashboard" | "mixed";
2090
+ version: string;
2070
2091
  lastUpdated: string;
2071
2092
  serverUrl?: string | undefined;
2072
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
2093
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
2073
2094
  };
2074
2095
  delegation: {
2075
2096
  enabled: boolean;
2076
2097
  enforceStrictly: boolean;
2077
2098
  verifier: {
2078
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
2099
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
2079
2100
  apiUrl?: string | undefined;
2080
2101
  cacheTtl?: number | undefined;
2081
2102
  };
@@ -2087,9 +2108,10 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2087
2108
  };
2088
2109
  };
2089
2110
  identity: {
2090
- agentDid: string;
2111
+ serverDid: string;
2091
2112
  environment: "development" | "production";
2092
2113
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
2114
+ agentDid?: string | undefined;
2093
2115
  };
2094
2116
  proofing: {
2095
2117
  enabled: boolean;
@@ -2122,8 +2144,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2122
2144
  includePayloads: boolean;
2123
2145
  };
2124
2146
  session: {
2125
- timestampSkewSeconds?: number | undefined;
2126
2147
  ttlMinutes?: number | undefined;
2148
+ timestampSkewSeconds?: number | undefined;
2127
2149
  absoluteLifetime?: number | undefined;
2128
2150
  };
2129
2151
  platform: {
@@ -2139,8 +2161,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2139
2161
  }[];
2140
2162
  environmentVariables: {
2141
2163
  value: string;
2142
- name: string;
2143
2164
  source: "wrangler.toml" | "secrets" | ".dev.vars";
2165
+ name: string;
2144
2166
  }[];
2145
2167
  } | undefined;
2146
2168
  node?: {
@@ -2162,8 +2184,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2162
2184
  vercel?: {
2163
2185
  environmentVariables: {
2164
2186
  value: string;
2165
- name: string;
2166
2187
  source: "vercel-dashboard" | ".env.local";
2188
+ name: string;
2167
2189
  }[];
2168
2190
  edgeRuntime?: {
2169
2191
  maxDuration?: number | undefined;
@@ -2175,17 +2197,17 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2175
2197
  }, "strip", z.ZodTypeAny, {
2176
2198
  config: {
2177
2199
  metadata: {
2178
- version: string;
2179
2200
  source: "code" | "dashboard" | "mixed";
2201
+ version: string;
2180
2202
  lastUpdated: string;
2181
2203
  serverUrl?: string | undefined;
2182
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
2204
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
2183
2205
  };
2184
2206
  delegation: {
2185
2207
  enabled: boolean;
2186
2208
  enforceStrictly: boolean;
2187
2209
  verifier: {
2188
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
2210
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
2189
2211
  apiUrl?: string | undefined;
2190
2212
  cacheTtl?: number | undefined;
2191
2213
  };
@@ -2197,9 +2219,10 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2197
2219
  };
2198
2220
  };
2199
2221
  identity: {
2200
- agentDid: string;
2222
+ serverDid: string;
2201
2223
  environment: "development" | "production";
2202
2224
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
2225
+ agentDid?: string | undefined;
2203
2226
  };
2204
2227
  proofing: {
2205
2228
  enabled: boolean;
@@ -2232,8 +2255,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2232
2255
  includePayloads: boolean;
2233
2256
  };
2234
2257
  session: {
2235
- timestampSkewSeconds: number;
2236
2258
  ttlMinutes: number;
2259
+ timestampSkewSeconds: number;
2237
2260
  absoluteLifetime?: number | undefined;
2238
2261
  };
2239
2262
  platform: {
@@ -2249,8 +2272,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2249
2272
  }[];
2250
2273
  environmentVariables: {
2251
2274
  value: string;
2252
- name: string;
2253
2275
  source: "wrangler.toml" | "secrets" | ".dev.vars";
2276
+ name: string;
2254
2277
  }[];
2255
2278
  } | undefined;
2256
2279
  node?: {
@@ -2272,8 +2295,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2272
2295
  vercel?: {
2273
2296
  environmentVariables: {
2274
2297
  value: string;
2275
- name: string;
2276
2298
  source: "vercel-dashboard" | ".env.local";
2299
+ name: string;
2277
2300
  }[];
2278
2301
  edgeRuntime?: {
2279
2302
  maxDuration?: number | undefined;
@@ -2285,17 +2308,17 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2285
2308
  }, {
2286
2309
  config: {
2287
2310
  metadata: {
2288
- version: string;
2289
2311
  source: "code" | "dashboard" | "mixed";
2312
+ version: string;
2290
2313
  lastUpdated: string;
2291
2314
  serverUrl?: string | undefined;
2292
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
2315
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
2293
2316
  };
2294
2317
  delegation: {
2295
2318
  enabled: boolean;
2296
2319
  enforceStrictly: boolean;
2297
2320
  verifier: {
2298
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
2321
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
2299
2322
  apiUrl?: string | undefined;
2300
2323
  cacheTtl?: number | undefined;
2301
2324
  };
@@ -2307,9 +2330,10 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2307
2330
  };
2308
2331
  };
2309
2332
  identity: {
2310
- agentDid: string;
2333
+ serverDid: string;
2311
2334
  environment: "development" | "production";
2312
2335
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
2336
+ agentDid?: string | undefined;
2313
2337
  };
2314
2338
  proofing: {
2315
2339
  enabled: boolean;
@@ -2342,8 +2366,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2342
2366
  includePayloads: boolean;
2343
2367
  };
2344
2368
  session: {
2345
- timestampSkewSeconds?: number | undefined;
2346
2369
  ttlMinutes?: number | undefined;
2370
+ timestampSkewSeconds?: number | undefined;
2347
2371
  absoluteLifetime?: number | undefined;
2348
2372
  };
2349
2373
  platform: {
@@ -2359,8 +2383,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2359
2383
  }[];
2360
2384
  environmentVariables: {
2361
2385
  value: string;
2362
- name: string;
2363
2386
  source: "wrangler.toml" | "secrets" | ".dev.vars";
2387
+ name: string;
2364
2388
  }[];
2365
2389
  } | undefined;
2366
2390
  node?: {
@@ -2382,8 +2406,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2382
2406
  vercel?: {
2383
2407
  environmentVariables: {
2384
2408
  value: string;
2385
- name: string;
2386
2409
  source: "vercel-dashboard" | ".env.local";
2410
+ name: string;
2387
2411
  }[];
2388
2412
  edgeRuntime?: {
2389
2413
  maxDuration?: number | undefined;
@@ -2408,17 +2432,17 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2408
2432
  data: {
2409
2433
  config: {
2410
2434
  metadata: {
2411
- version: string;
2412
2435
  source: "code" | "dashboard" | "mixed";
2436
+ version: string;
2413
2437
  lastUpdated: string;
2414
2438
  serverUrl?: string | undefined;
2415
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
2439
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
2416
2440
  };
2417
2441
  delegation: {
2418
2442
  enabled: boolean;
2419
2443
  enforceStrictly: boolean;
2420
2444
  verifier: {
2421
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
2445
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
2422
2446
  apiUrl?: string | undefined;
2423
2447
  cacheTtl?: number | undefined;
2424
2448
  };
@@ -2430,9 +2454,10 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2430
2454
  };
2431
2455
  };
2432
2456
  identity: {
2433
- agentDid: string;
2457
+ serverDid: string;
2434
2458
  environment: "development" | "production";
2435
2459
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
2460
+ agentDid?: string | undefined;
2436
2461
  };
2437
2462
  proofing: {
2438
2463
  enabled: boolean;
@@ -2465,8 +2490,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2465
2490
  includePayloads: boolean;
2466
2491
  };
2467
2492
  session: {
2468
- timestampSkewSeconds: number;
2469
2493
  ttlMinutes: number;
2494
+ timestampSkewSeconds: number;
2470
2495
  absoluteLifetime?: number | undefined;
2471
2496
  };
2472
2497
  platform: {
@@ -2482,8 +2507,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2482
2507
  }[];
2483
2508
  environmentVariables: {
2484
2509
  value: string;
2485
- name: string;
2486
2510
  source: "wrangler.toml" | "secrets" | ".dev.vars";
2511
+ name: string;
2487
2512
  }[];
2488
2513
  } | undefined;
2489
2514
  node?: {
@@ -2505,8 +2530,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2505
2530
  vercel?: {
2506
2531
  environmentVariables: {
2507
2532
  value: string;
2508
- name: string;
2509
2533
  source: "vercel-dashboard" | ".env.local";
2534
+ name: string;
2510
2535
  }[];
2511
2536
  edgeRuntime?: {
2512
2537
  maxDuration?: number | undefined;
@@ -2525,17 +2550,17 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2525
2550
  data: {
2526
2551
  config: {
2527
2552
  metadata: {
2528
- version: string;
2529
2553
  source: "code" | "dashboard" | "mixed";
2554
+ version: string;
2530
2555
  lastUpdated: string;
2531
2556
  serverUrl?: string | undefined;
2532
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
2557
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
2533
2558
  };
2534
2559
  delegation: {
2535
2560
  enabled: boolean;
2536
2561
  enforceStrictly: boolean;
2537
2562
  verifier: {
2538
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
2563
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
2539
2564
  apiUrl?: string | undefined;
2540
2565
  cacheTtl?: number | undefined;
2541
2566
  };
@@ -2547,9 +2572,10 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2547
2572
  };
2548
2573
  };
2549
2574
  identity: {
2550
- agentDid: string;
2575
+ serverDid: string;
2551
2576
  environment: "development" | "production";
2552
2577
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
2578
+ agentDid?: string | undefined;
2553
2579
  };
2554
2580
  proofing: {
2555
2581
  enabled: boolean;
@@ -2582,8 +2608,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2582
2608
  includePayloads: boolean;
2583
2609
  };
2584
2610
  session: {
2585
- timestampSkewSeconds?: number | undefined;
2586
2611
  ttlMinutes?: number | undefined;
2612
+ timestampSkewSeconds?: number | undefined;
2587
2613
  absoluteLifetime?: number | undefined;
2588
2614
  };
2589
2615
  platform: {
@@ -2599,8 +2625,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2599
2625
  }[];
2600
2626
  environmentVariables: {
2601
2627
  value: string;
2602
- name: string;
2603
2628
  source: "wrangler.toml" | "secrets" | ".dev.vars";
2629
+ name: string;
2604
2630
  }[];
2605
2631
  } | undefined;
2606
2632
  node?: {
@@ -2622,8 +2648,8 @@ export declare const getServerConfigResponseSchema: z.ZodObject<{
2622
2648
  vercel?: {
2623
2649
  environmentVariables: {
2624
2650
  value: string;
2625
- name: string;
2626
2651
  source: "vercel-dashboard" | ".env.local";
2652
+ name: string;
2627
2653
  }[];
2628
2654
  edgeRuntime?: {
2629
2655
  maxDuration?: number | undefined;
@@ -2645,17 +2671,23 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
2645
2671
  projectId: z.ZodString;
2646
2672
  config: z.ZodObject<{
2647
2673
  identity: z.ZodOptional<z.ZodObject<{
2648
- agentDid: z.ZodString;
2674
+ /**
2675
+ * @deprecated Use serverDid instead. Will be removed in v2.0
2676
+ */
2677
+ agentDid: z.ZodOptional<z.ZodString>;
2678
+ serverDid: z.ZodString;
2649
2679
  environment: z.ZodEnum<["development", "production"]>;
2650
2680
  storageLocation: z.ZodEnum<["cloudflare-kv", "file-system", "env-vars"]>;
2651
2681
  }, "strip", z.ZodTypeAny, {
2652
- agentDid: string;
2682
+ serverDid: string;
2653
2683
  environment: "development" | "production";
2654
2684
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
2685
+ agentDid?: string | undefined;
2655
2686
  }, {
2656
- agentDid: string;
2687
+ serverDid: string;
2657
2688
  environment: "development" | "production";
2658
2689
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
2690
+ agentDid?: string | undefined;
2659
2691
  }>>;
2660
2692
  proofing: z.ZodOptional<z.ZodObject<{
2661
2693
  enabled: z.ZodBoolean;
@@ -2718,11 +2750,11 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
2718
2750
  apiUrl: z.ZodOptional<z.ZodString>;
2719
2751
  cacheTtl: z.ZodOptional<z.ZodNumber>;
2720
2752
  }, "strip", z.ZodTypeAny, {
2721
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
2753
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
2722
2754
  apiUrl?: string | undefined;
2723
2755
  cacheTtl?: number | undefined;
2724
2756
  }, {
2725
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
2757
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
2726
2758
  apiUrl?: string | undefined;
2727
2759
  cacheTtl?: number | undefined;
2728
2760
  }>;
@@ -2746,7 +2778,7 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
2746
2778
  enabled: boolean;
2747
2779
  enforceStrictly: boolean;
2748
2780
  verifier: {
2749
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
2781
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
2750
2782
  apiUrl?: string | undefined;
2751
2783
  cacheTtl?: number | undefined;
2752
2784
  };
@@ -2760,7 +2792,7 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
2760
2792
  enabled: boolean;
2761
2793
  enforceStrictly: boolean;
2762
2794
  verifier: {
2763
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
2795
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
2764
2796
  apiUrl?: string | undefined;
2765
2797
  cacheTtl?: number | undefined;
2766
2798
  };
@@ -2837,12 +2869,12 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
2837
2869
  ttlMinutes: z.ZodDefault<z.ZodNumber>;
2838
2870
  absoluteLifetime: z.ZodOptional<z.ZodNumber>;
2839
2871
  }, "strip", z.ZodTypeAny, {
2840
- timestampSkewSeconds: number;
2841
2872
  ttlMinutes: number;
2873
+ timestampSkewSeconds: number;
2842
2874
  absoluteLifetime?: number | undefined;
2843
2875
  }, {
2844
- timestampSkewSeconds?: number | undefined;
2845
2876
  ttlMinutes?: number | undefined;
2877
+ timestampSkewSeconds?: number | undefined;
2846
2878
  absoluteLifetime?: number | undefined;
2847
2879
  }>>;
2848
2880
  platform: z.ZodOptional<z.ZodObject<{
@@ -2874,12 +2906,12 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
2874
2906
  source: z.ZodEnum<["wrangler.toml", "secrets", ".dev.vars"]>;
2875
2907
  }, "strip", z.ZodTypeAny, {
2876
2908
  value: string;
2877
- name: string;
2878
2909
  source: "wrangler.toml" | "secrets" | ".dev.vars";
2910
+ name: string;
2879
2911
  }, {
2880
2912
  value: string;
2881
- name: string;
2882
2913
  source: "wrangler.toml" | "secrets" | ".dev.vars";
2914
+ name: string;
2883
2915
  }>, "many">;
2884
2916
  }, "strip", z.ZodTypeAny, {
2885
2917
  workers: {
@@ -2892,8 +2924,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
2892
2924
  }[];
2893
2925
  environmentVariables: {
2894
2926
  value: string;
2895
- name: string;
2896
2927
  source: "wrangler.toml" | "secrets" | ".dev.vars";
2928
+ name: string;
2897
2929
  }[];
2898
2930
  }, {
2899
2931
  workers: {
@@ -2906,8 +2938,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
2906
2938
  }[];
2907
2939
  environmentVariables: {
2908
2940
  value: string;
2909
- name: string;
2910
2941
  source: "wrangler.toml" | "secrets" | ".dev.vars";
2942
+ name: string;
2911
2943
  }[];
2912
2944
  }>>;
2913
2945
  node: z.ZodOptional<z.ZodObject<{
@@ -2995,12 +3027,12 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
2995
3027
  source: z.ZodEnum<["vercel-dashboard", ".env.local"]>;
2996
3028
  }, "strip", z.ZodTypeAny, {
2997
3029
  value: string;
2998
- name: string;
2999
3030
  source: "vercel-dashboard" | ".env.local";
3031
+ name: string;
3000
3032
  }, {
3001
3033
  value: string;
3002
- name: string;
3003
3034
  source: "vercel-dashboard" | ".env.local";
3035
+ name: string;
3004
3036
  }>, "many">;
3005
3037
  edgeRuntime: z.ZodOptional<z.ZodObject<{
3006
3038
  maxDuration: z.ZodOptional<z.ZodNumber>;
@@ -3015,8 +3047,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3015
3047
  }, "strip", z.ZodTypeAny, {
3016
3048
  environmentVariables: {
3017
3049
  value: string;
3018
- name: string;
3019
3050
  source: "vercel-dashboard" | ".env.local";
3051
+ name: string;
3020
3052
  }[];
3021
3053
  edgeRuntime?: {
3022
3054
  maxDuration?: number | undefined;
@@ -3025,8 +3057,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3025
3057
  }, {
3026
3058
  environmentVariables: {
3027
3059
  value: string;
3028
- name: string;
3029
3060
  source: "vercel-dashboard" | ".env.local";
3061
+ name: string;
3030
3062
  }[];
3031
3063
  edgeRuntime?: {
3032
3064
  maxDuration?: number | undefined;
@@ -3046,8 +3078,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3046
3078
  }[];
3047
3079
  environmentVariables: {
3048
3080
  value: string;
3049
- name: string;
3050
3081
  source: "wrangler.toml" | "secrets" | ".dev.vars";
3082
+ name: string;
3051
3083
  }[];
3052
3084
  } | undefined;
3053
3085
  node?: {
@@ -3069,8 +3101,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3069
3101
  vercel?: {
3070
3102
  environmentVariables: {
3071
3103
  value: string;
3072
- name: string;
3073
3104
  source: "vercel-dashboard" | ".env.local";
3105
+ name: string;
3074
3106
  }[];
3075
3107
  edgeRuntime?: {
3076
3108
  maxDuration?: number | undefined;
@@ -3090,8 +3122,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3090
3122
  }[];
3091
3123
  environmentVariables: {
3092
3124
  value: string;
3093
- name: string;
3094
3125
  source: "wrangler.toml" | "secrets" | ".dev.vars";
3126
+ name: string;
3095
3127
  }[];
3096
3128
  } | undefined;
3097
3129
  node?: {
@@ -3113,8 +3145,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3113
3145
  vercel?: {
3114
3146
  environmentVariables: {
3115
3147
  value: string;
3116
- name: string;
3117
3148
  source: "vercel-dashboard" | ".env.local";
3149
+ name: string;
3118
3150
  }[];
3119
3151
  edgeRuntime?: {
3120
3152
  maxDuration?: number | undefined;
@@ -3129,31 +3161,31 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3129
3161
  serverUrl: z.ZodOptional<z.ZodString>;
3130
3162
  deploymentStatus: z.ZodOptional<z.ZodEnum<["active", "inactive", "error"]>>;
3131
3163
  }, "strip", z.ZodTypeAny, {
3132
- version: string;
3133
3164
  source: "code" | "dashboard" | "mixed";
3165
+ version: string;
3134
3166
  lastUpdated: string;
3135
3167
  serverUrl?: string | undefined;
3136
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
3168
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
3137
3169
  }, {
3138
- version: string;
3139
3170
  source: "code" | "dashboard" | "mixed";
3171
+ version: string;
3140
3172
  lastUpdated: string;
3141
3173
  serverUrl?: string | undefined;
3142
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
3174
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
3143
3175
  }>>;
3144
3176
  }, "strip", z.ZodTypeAny, {
3145
3177
  metadata?: {
3146
- version: string;
3147
3178
  source: "code" | "dashboard" | "mixed";
3179
+ version: string;
3148
3180
  lastUpdated: string;
3149
3181
  serverUrl?: string | undefined;
3150
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
3182
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
3151
3183
  } | undefined;
3152
3184
  delegation?: {
3153
3185
  enabled: boolean;
3154
3186
  enforceStrictly: boolean;
3155
3187
  verifier: {
3156
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
3188
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
3157
3189
  apiUrl?: string | undefined;
3158
3190
  cacheTtl?: number | undefined;
3159
3191
  };
@@ -3165,9 +3197,10 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3165
3197
  };
3166
3198
  } | undefined;
3167
3199
  identity?: {
3168
- agentDid: string;
3200
+ serverDid: string;
3169
3201
  environment: "development" | "production";
3170
3202
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
3203
+ agentDid?: string | undefined;
3171
3204
  } | undefined;
3172
3205
  proofing?: {
3173
3206
  enabled: boolean;
@@ -3200,8 +3233,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3200
3233
  includePayloads: boolean;
3201
3234
  } | undefined;
3202
3235
  session?: {
3203
- timestampSkewSeconds: number;
3204
3236
  ttlMinutes: number;
3237
+ timestampSkewSeconds: number;
3205
3238
  absoluteLifetime?: number | undefined;
3206
3239
  } | undefined;
3207
3240
  platform?: {
@@ -3217,8 +3250,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3217
3250
  }[];
3218
3251
  environmentVariables: {
3219
3252
  value: string;
3220
- name: string;
3221
3253
  source: "wrangler.toml" | "secrets" | ".dev.vars";
3254
+ name: string;
3222
3255
  }[];
3223
3256
  } | undefined;
3224
3257
  node?: {
@@ -3240,8 +3273,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3240
3273
  vercel?: {
3241
3274
  environmentVariables: {
3242
3275
  value: string;
3243
- name: string;
3244
3276
  source: "vercel-dashboard" | ".env.local";
3277
+ name: string;
3245
3278
  }[];
3246
3279
  edgeRuntime?: {
3247
3280
  maxDuration?: number | undefined;
@@ -3251,17 +3284,17 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3251
3284
  } | undefined;
3252
3285
  }, {
3253
3286
  metadata?: {
3254
- version: string;
3255
3287
  source: "code" | "dashboard" | "mixed";
3288
+ version: string;
3256
3289
  lastUpdated: string;
3257
3290
  serverUrl?: string | undefined;
3258
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
3291
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
3259
3292
  } | undefined;
3260
3293
  delegation?: {
3261
3294
  enabled: boolean;
3262
3295
  enforceStrictly: boolean;
3263
3296
  verifier: {
3264
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
3297
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
3265
3298
  apiUrl?: string | undefined;
3266
3299
  cacheTtl?: number | undefined;
3267
3300
  };
@@ -3273,9 +3306,10 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3273
3306
  };
3274
3307
  } | undefined;
3275
3308
  identity?: {
3276
- agentDid: string;
3309
+ serverDid: string;
3277
3310
  environment: "development" | "production";
3278
3311
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
3312
+ agentDid?: string | undefined;
3279
3313
  } | undefined;
3280
3314
  proofing?: {
3281
3315
  enabled: boolean;
@@ -3308,8 +3342,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3308
3342
  includePayloads: boolean;
3309
3343
  } | undefined;
3310
3344
  session?: {
3311
- timestampSkewSeconds?: number | undefined;
3312
3345
  ttlMinutes?: number | undefined;
3346
+ timestampSkewSeconds?: number | undefined;
3313
3347
  absoluteLifetime?: number | undefined;
3314
3348
  } | undefined;
3315
3349
  platform?: {
@@ -3325,8 +3359,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3325
3359
  }[];
3326
3360
  environmentVariables: {
3327
3361
  value: string;
3328
- name: string;
3329
3362
  source: "wrangler.toml" | "secrets" | ".dev.vars";
3363
+ name: string;
3330
3364
  }[];
3331
3365
  } | undefined;
3332
3366
  node?: {
@@ -3348,8 +3382,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3348
3382
  vercel?: {
3349
3383
  environmentVariables: {
3350
3384
  value: string;
3351
- name: string;
3352
3385
  source: "vercel-dashboard" | ".env.local";
3386
+ name: string;
3353
3387
  }[];
3354
3388
  edgeRuntime?: {
3355
3389
  maxDuration?: number | undefined;
@@ -3362,17 +3396,17 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3362
3396
  projectId: string;
3363
3397
  config: {
3364
3398
  metadata?: {
3365
- version: string;
3366
3399
  source: "code" | "dashboard" | "mixed";
3400
+ version: string;
3367
3401
  lastUpdated: string;
3368
3402
  serverUrl?: string | undefined;
3369
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
3403
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
3370
3404
  } | undefined;
3371
3405
  delegation?: {
3372
3406
  enabled: boolean;
3373
3407
  enforceStrictly: boolean;
3374
3408
  verifier: {
3375
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
3409
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
3376
3410
  apiUrl?: string | undefined;
3377
3411
  cacheTtl?: number | undefined;
3378
3412
  };
@@ -3384,9 +3418,10 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3384
3418
  };
3385
3419
  } | undefined;
3386
3420
  identity?: {
3387
- agentDid: string;
3421
+ serverDid: string;
3388
3422
  environment: "development" | "production";
3389
3423
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
3424
+ agentDid?: string | undefined;
3390
3425
  } | undefined;
3391
3426
  proofing?: {
3392
3427
  enabled: boolean;
@@ -3419,8 +3454,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3419
3454
  includePayloads: boolean;
3420
3455
  } | undefined;
3421
3456
  session?: {
3422
- timestampSkewSeconds: number;
3423
3457
  ttlMinutes: number;
3458
+ timestampSkewSeconds: number;
3424
3459
  absoluteLifetime?: number | undefined;
3425
3460
  } | undefined;
3426
3461
  platform?: {
@@ -3436,8 +3471,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3436
3471
  }[];
3437
3472
  environmentVariables: {
3438
3473
  value: string;
3439
- name: string;
3440
3474
  source: "wrangler.toml" | "secrets" | ".dev.vars";
3475
+ name: string;
3441
3476
  }[];
3442
3477
  } | undefined;
3443
3478
  node?: {
@@ -3459,8 +3494,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3459
3494
  vercel?: {
3460
3495
  environmentVariables: {
3461
3496
  value: string;
3462
- name: string;
3463
3497
  source: "vercel-dashboard" | ".env.local";
3498
+ name: string;
3464
3499
  }[];
3465
3500
  edgeRuntime?: {
3466
3501
  maxDuration?: number | undefined;
@@ -3473,17 +3508,17 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3473
3508
  projectId: string;
3474
3509
  config: {
3475
3510
  metadata?: {
3476
- version: string;
3477
3511
  source: "code" | "dashboard" | "mixed";
3512
+ version: string;
3478
3513
  lastUpdated: string;
3479
3514
  serverUrl?: string | undefined;
3480
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
3515
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
3481
3516
  } | undefined;
3482
3517
  delegation?: {
3483
3518
  enabled: boolean;
3484
3519
  enforceStrictly: boolean;
3485
3520
  verifier: {
3486
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
3521
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
3487
3522
  apiUrl?: string | undefined;
3488
3523
  cacheTtl?: number | undefined;
3489
3524
  };
@@ -3495,9 +3530,10 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3495
3530
  };
3496
3531
  } | undefined;
3497
3532
  identity?: {
3498
- agentDid: string;
3533
+ serverDid: string;
3499
3534
  environment: "development" | "production";
3500
3535
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
3536
+ agentDid?: string | undefined;
3501
3537
  } | undefined;
3502
3538
  proofing?: {
3503
3539
  enabled: boolean;
@@ -3530,8 +3566,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3530
3566
  includePayloads: boolean;
3531
3567
  } | undefined;
3532
3568
  session?: {
3533
- timestampSkewSeconds?: number | undefined;
3534
3569
  ttlMinutes?: number | undefined;
3570
+ timestampSkewSeconds?: number | undefined;
3535
3571
  absoluteLifetime?: number | undefined;
3536
3572
  } | undefined;
3537
3573
  platform?: {
@@ -3547,8 +3583,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3547
3583
  }[];
3548
3584
  environmentVariables: {
3549
3585
  value: string;
3550
- name: string;
3551
3586
  source: "wrangler.toml" | "secrets" | ".dev.vars";
3587
+ name: string;
3552
3588
  }[];
3553
3589
  } | undefined;
3554
3590
  node?: {
@@ -3570,8 +3606,8 @@ export declare const updateServerConfigRequestSchema: z.ZodObject<{
3570
3606
  vercel?: {
3571
3607
  environmentVariables: {
3572
3608
  value: string;
3573
- name: string;
3574
3609
  source: "vercel-dashboard" | ".env.local";
3610
+ name: string;
3575
3611
  }[];
3576
3612
  edgeRuntime?: {
3577
3613
  maxDuration?: number | undefined;
@@ -3589,17 +3625,23 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
3589
3625
  data: z.ZodObject<{
3590
3626
  config: z.ZodObject<{
3591
3627
  identity: z.ZodObject<{
3592
- agentDid: z.ZodString;
3628
+ /**
3629
+ * @deprecated Use serverDid instead. Will be removed in v2.0
3630
+ */
3631
+ agentDid: z.ZodOptional<z.ZodString>;
3632
+ serverDid: z.ZodString;
3593
3633
  environment: z.ZodEnum<["development", "production"]>;
3594
3634
  storageLocation: z.ZodEnum<["cloudflare-kv", "file-system", "env-vars"]>;
3595
3635
  }, "strip", z.ZodTypeAny, {
3596
- agentDid: string;
3636
+ serverDid: string;
3597
3637
  environment: "development" | "production";
3598
3638
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
3639
+ agentDid?: string | undefined;
3599
3640
  }, {
3600
- agentDid: string;
3641
+ serverDid: string;
3601
3642
  environment: "development" | "production";
3602
3643
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
3644
+ agentDid?: string | undefined;
3603
3645
  }>;
3604
3646
  proofing: z.ZodObject<{
3605
3647
  enabled: z.ZodBoolean;
@@ -3662,11 +3704,11 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
3662
3704
  apiUrl: z.ZodOptional<z.ZodString>;
3663
3705
  cacheTtl: z.ZodOptional<z.ZodNumber>;
3664
3706
  }, "strip", z.ZodTypeAny, {
3665
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
3707
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
3666
3708
  apiUrl?: string | undefined;
3667
3709
  cacheTtl?: number | undefined;
3668
3710
  }, {
3669
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
3711
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
3670
3712
  apiUrl?: string | undefined;
3671
3713
  cacheTtl?: number | undefined;
3672
3714
  }>;
@@ -3690,7 +3732,7 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
3690
3732
  enabled: boolean;
3691
3733
  enforceStrictly: boolean;
3692
3734
  verifier: {
3693
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
3735
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
3694
3736
  apiUrl?: string | undefined;
3695
3737
  cacheTtl?: number | undefined;
3696
3738
  };
@@ -3704,7 +3746,7 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
3704
3746
  enabled: boolean;
3705
3747
  enforceStrictly: boolean;
3706
3748
  verifier: {
3707
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
3749
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
3708
3750
  apiUrl?: string | undefined;
3709
3751
  cacheTtl?: number | undefined;
3710
3752
  };
@@ -3781,12 +3823,12 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
3781
3823
  ttlMinutes: z.ZodDefault<z.ZodNumber>;
3782
3824
  absoluteLifetime: z.ZodOptional<z.ZodNumber>;
3783
3825
  }, "strip", z.ZodTypeAny, {
3784
- timestampSkewSeconds: number;
3785
3826
  ttlMinutes: number;
3827
+ timestampSkewSeconds: number;
3786
3828
  absoluteLifetime?: number | undefined;
3787
3829
  }, {
3788
- timestampSkewSeconds?: number | undefined;
3789
3830
  ttlMinutes?: number | undefined;
3831
+ timestampSkewSeconds?: number | undefined;
3790
3832
  absoluteLifetime?: number | undefined;
3791
3833
  }>;
3792
3834
  platform: z.ZodObject<{
@@ -3818,12 +3860,12 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
3818
3860
  source: z.ZodEnum<["wrangler.toml", "secrets", ".dev.vars"]>;
3819
3861
  }, "strip", z.ZodTypeAny, {
3820
3862
  value: string;
3821
- name: string;
3822
3863
  source: "wrangler.toml" | "secrets" | ".dev.vars";
3864
+ name: string;
3823
3865
  }, {
3824
3866
  value: string;
3825
- name: string;
3826
3867
  source: "wrangler.toml" | "secrets" | ".dev.vars";
3868
+ name: string;
3827
3869
  }>, "many">;
3828
3870
  }, "strip", z.ZodTypeAny, {
3829
3871
  workers: {
@@ -3836,8 +3878,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
3836
3878
  }[];
3837
3879
  environmentVariables: {
3838
3880
  value: string;
3839
- name: string;
3840
3881
  source: "wrangler.toml" | "secrets" | ".dev.vars";
3882
+ name: string;
3841
3883
  }[];
3842
3884
  }, {
3843
3885
  workers: {
@@ -3850,8 +3892,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
3850
3892
  }[];
3851
3893
  environmentVariables: {
3852
3894
  value: string;
3853
- name: string;
3854
3895
  source: "wrangler.toml" | "secrets" | ".dev.vars";
3896
+ name: string;
3855
3897
  }[];
3856
3898
  }>>;
3857
3899
  node: z.ZodOptional<z.ZodObject<{
@@ -3939,12 +3981,12 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
3939
3981
  source: z.ZodEnum<["vercel-dashboard", ".env.local"]>;
3940
3982
  }, "strip", z.ZodTypeAny, {
3941
3983
  value: string;
3942
- name: string;
3943
3984
  source: "vercel-dashboard" | ".env.local";
3985
+ name: string;
3944
3986
  }, {
3945
3987
  value: string;
3946
- name: string;
3947
3988
  source: "vercel-dashboard" | ".env.local";
3989
+ name: string;
3948
3990
  }>, "many">;
3949
3991
  edgeRuntime: z.ZodOptional<z.ZodObject<{
3950
3992
  maxDuration: z.ZodOptional<z.ZodNumber>;
@@ -3959,8 +4001,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
3959
4001
  }, "strip", z.ZodTypeAny, {
3960
4002
  environmentVariables: {
3961
4003
  value: string;
3962
- name: string;
3963
4004
  source: "vercel-dashboard" | ".env.local";
4005
+ name: string;
3964
4006
  }[];
3965
4007
  edgeRuntime?: {
3966
4008
  maxDuration?: number | undefined;
@@ -3969,8 +4011,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
3969
4011
  }, {
3970
4012
  environmentVariables: {
3971
4013
  value: string;
3972
- name: string;
3973
4014
  source: "vercel-dashboard" | ".env.local";
4015
+ name: string;
3974
4016
  }[];
3975
4017
  edgeRuntime?: {
3976
4018
  maxDuration?: number | undefined;
@@ -3990,8 +4032,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
3990
4032
  }[];
3991
4033
  environmentVariables: {
3992
4034
  value: string;
3993
- name: string;
3994
4035
  source: "wrangler.toml" | "secrets" | ".dev.vars";
4036
+ name: string;
3995
4037
  }[];
3996
4038
  } | undefined;
3997
4039
  node?: {
@@ -4013,8 +4055,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4013
4055
  vercel?: {
4014
4056
  environmentVariables: {
4015
4057
  value: string;
4016
- name: string;
4017
4058
  source: "vercel-dashboard" | ".env.local";
4059
+ name: string;
4018
4060
  }[];
4019
4061
  edgeRuntime?: {
4020
4062
  maxDuration?: number | undefined;
@@ -4034,8 +4076,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4034
4076
  }[];
4035
4077
  environmentVariables: {
4036
4078
  value: string;
4037
- name: string;
4038
4079
  source: "wrangler.toml" | "secrets" | ".dev.vars";
4080
+ name: string;
4039
4081
  }[];
4040
4082
  } | undefined;
4041
4083
  node?: {
@@ -4057,8 +4099,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4057
4099
  vercel?: {
4058
4100
  environmentVariables: {
4059
4101
  value: string;
4060
- name: string;
4061
4102
  source: "vercel-dashboard" | ".env.local";
4103
+ name: string;
4062
4104
  }[];
4063
4105
  edgeRuntime?: {
4064
4106
  maxDuration?: number | undefined;
@@ -4073,31 +4115,31 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4073
4115
  serverUrl: z.ZodOptional<z.ZodString>;
4074
4116
  deploymentStatus: z.ZodOptional<z.ZodEnum<["active", "inactive", "error"]>>;
4075
4117
  }, "strip", z.ZodTypeAny, {
4076
- version: string;
4077
4118
  source: "code" | "dashboard" | "mixed";
4119
+ version: string;
4078
4120
  lastUpdated: string;
4079
4121
  serverUrl?: string | undefined;
4080
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
4122
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
4081
4123
  }, {
4082
- version: string;
4083
4124
  source: "code" | "dashboard" | "mixed";
4125
+ version: string;
4084
4126
  lastUpdated: string;
4085
4127
  serverUrl?: string | undefined;
4086
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
4128
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
4087
4129
  }>;
4088
4130
  }, "strip", z.ZodTypeAny, {
4089
4131
  metadata: {
4090
- version: string;
4091
4132
  source: "code" | "dashboard" | "mixed";
4133
+ version: string;
4092
4134
  lastUpdated: string;
4093
4135
  serverUrl?: string | undefined;
4094
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
4136
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
4095
4137
  };
4096
4138
  delegation: {
4097
4139
  enabled: boolean;
4098
4140
  enforceStrictly: boolean;
4099
4141
  verifier: {
4100
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
4142
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
4101
4143
  apiUrl?: string | undefined;
4102
4144
  cacheTtl?: number | undefined;
4103
4145
  };
@@ -4109,9 +4151,10 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4109
4151
  };
4110
4152
  };
4111
4153
  identity: {
4112
- agentDid: string;
4154
+ serverDid: string;
4113
4155
  environment: "development" | "production";
4114
4156
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
4157
+ agentDid?: string | undefined;
4115
4158
  };
4116
4159
  proofing: {
4117
4160
  enabled: boolean;
@@ -4144,8 +4187,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4144
4187
  includePayloads: boolean;
4145
4188
  };
4146
4189
  session: {
4147
- timestampSkewSeconds: number;
4148
4190
  ttlMinutes: number;
4191
+ timestampSkewSeconds: number;
4149
4192
  absoluteLifetime?: number | undefined;
4150
4193
  };
4151
4194
  platform: {
@@ -4161,8 +4204,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4161
4204
  }[];
4162
4205
  environmentVariables: {
4163
4206
  value: string;
4164
- name: string;
4165
4207
  source: "wrangler.toml" | "secrets" | ".dev.vars";
4208
+ name: string;
4166
4209
  }[];
4167
4210
  } | undefined;
4168
4211
  node?: {
@@ -4184,8 +4227,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4184
4227
  vercel?: {
4185
4228
  environmentVariables: {
4186
4229
  value: string;
4187
- name: string;
4188
4230
  source: "vercel-dashboard" | ".env.local";
4231
+ name: string;
4189
4232
  }[];
4190
4233
  edgeRuntime?: {
4191
4234
  maxDuration?: number | undefined;
@@ -4195,17 +4238,17 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4195
4238
  };
4196
4239
  }, {
4197
4240
  metadata: {
4198
- version: string;
4199
4241
  source: "code" | "dashboard" | "mixed";
4242
+ version: string;
4200
4243
  lastUpdated: string;
4201
4244
  serverUrl?: string | undefined;
4202
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
4245
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
4203
4246
  };
4204
4247
  delegation: {
4205
4248
  enabled: boolean;
4206
4249
  enforceStrictly: boolean;
4207
4250
  verifier: {
4208
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
4251
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
4209
4252
  apiUrl?: string | undefined;
4210
4253
  cacheTtl?: number | undefined;
4211
4254
  };
@@ -4217,9 +4260,10 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4217
4260
  };
4218
4261
  };
4219
4262
  identity: {
4220
- agentDid: string;
4263
+ serverDid: string;
4221
4264
  environment: "development" | "production";
4222
4265
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
4266
+ agentDid?: string | undefined;
4223
4267
  };
4224
4268
  proofing: {
4225
4269
  enabled: boolean;
@@ -4252,8 +4296,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4252
4296
  includePayloads: boolean;
4253
4297
  };
4254
4298
  session: {
4255
- timestampSkewSeconds?: number | undefined;
4256
4299
  ttlMinutes?: number | undefined;
4300
+ timestampSkewSeconds?: number | undefined;
4257
4301
  absoluteLifetime?: number | undefined;
4258
4302
  };
4259
4303
  platform: {
@@ -4269,8 +4313,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4269
4313
  }[];
4270
4314
  environmentVariables: {
4271
4315
  value: string;
4272
- name: string;
4273
4316
  source: "wrangler.toml" | "secrets" | ".dev.vars";
4317
+ name: string;
4274
4318
  }[];
4275
4319
  } | undefined;
4276
4320
  node?: {
@@ -4292,8 +4336,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4292
4336
  vercel?: {
4293
4337
  environmentVariables: {
4294
4338
  value: string;
4295
- name: string;
4296
4339
  source: "vercel-dashboard" | ".env.local";
4340
+ name: string;
4297
4341
  }[];
4298
4342
  edgeRuntime?: {
4299
4343
  maxDuration?: number | undefined;
@@ -4318,17 +4362,17 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4318
4362
  }, "strip", z.ZodTypeAny, {
4319
4363
  config: {
4320
4364
  metadata: {
4321
- version: string;
4322
4365
  source: "code" | "dashboard" | "mixed";
4366
+ version: string;
4323
4367
  lastUpdated: string;
4324
4368
  serverUrl?: string | undefined;
4325
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
4369
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
4326
4370
  };
4327
4371
  delegation: {
4328
4372
  enabled: boolean;
4329
4373
  enforceStrictly: boolean;
4330
4374
  verifier: {
4331
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
4375
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
4332
4376
  apiUrl?: string | undefined;
4333
4377
  cacheTtl?: number | undefined;
4334
4378
  };
@@ -4340,9 +4384,10 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4340
4384
  };
4341
4385
  };
4342
4386
  identity: {
4343
- agentDid: string;
4387
+ serverDid: string;
4344
4388
  environment: "development" | "production";
4345
4389
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
4390
+ agentDid?: string | undefined;
4346
4391
  };
4347
4392
  proofing: {
4348
4393
  enabled: boolean;
@@ -4375,8 +4420,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4375
4420
  includePayloads: boolean;
4376
4421
  };
4377
4422
  session: {
4378
- timestampSkewSeconds: number;
4379
4423
  ttlMinutes: number;
4424
+ timestampSkewSeconds: number;
4380
4425
  absoluteLifetime?: number | undefined;
4381
4426
  };
4382
4427
  platform: {
@@ -4392,8 +4437,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4392
4437
  }[];
4393
4438
  environmentVariables: {
4394
4439
  value: string;
4395
- name: string;
4396
4440
  source: "wrangler.toml" | "secrets" | ".dev.vars";
4441
+ name: string;
4397
4442
  }[];
4398
4443
  } | undefined;
4399
4444
  node?: {
@@ -4415,8 +4460,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4415
4460
  vercel?: {
4416
4461
  environmentVariables: {
4417
4462
  value: string;
4418
- name: string;
4419
4463
  source: "vercel-dashboard" | ".env.local";
4464
+ name: string;
4420
4465
  }[];
4421
4466
  edgeRuntime?: {
4422
4467
  maxDuration?: number | undefined;
@@ -4433,17 +4478,17 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4433
4478
  }, {
4434
4479
  config: {
4435
4480
  metadata: {
4436
- version: string;
4437
4481
  source: "code" | "dashboard" | "mixed";
4482
+ version: string;
4438
4483
  lastUpdated: string;
4439
4484
  serverUrl?: string | undefined;
4440
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
4485
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
4441
4486
  };
4442
4487
  delegation: {
4443
4488
  enabled: boolean;
4444
4489
  enforceStrictly: boolean;
4445
4490
  verifier: {
4446
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
4491
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
4447
4492
  apiUrl?: string | undefined;
4448
4493
  cacheTtl?: number | undefined;
4449
4494
  };
@@ -4455,9 +4500,10 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4455
4500
  };
4456
4501
  };
4457
4502
  identity: {
4458
- agentDid: string;
4503
+ serverDid: string;
4459
4504
  environment: "development" | "production";
4460
4505
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
4506
+ agentDid?: string | undefined;
4461
4507
  };
4462
4508
  proofing: {
4463
4509
  enabled: boolean;
@@ -4490,8 +4536,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4490
4536
  includePayloads: boolean;
4491
4537
  };
4492
4538
  session: {
4493
- timestampSkewSeconds?: number | undefined;
4494
4539
  ttlMinutes?: number | undefined;
4540
+ timestampSkewSeconds?: number | undefined;
4495
4541
  absoluteLifetime?: number | undefined;
4496
4542
  };
4497
4543
  platform: {
@@ -4507,8 +4553,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4507
4553
  }[];
4508
4554
  environmentVariables: {
4509
4555
  value: string;
4510
- name: string;
4511
4556
  source: "wrangler.toml" | "secrets" | ".dev.vars";
4557
+ name: string;
4512
4558
  }[];
4513
4559
  } | undefined;
4514
4560
  node?: {
@@ -4530,8 +4576,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4530
4576
  vercel?: {
4531
4577
  environmentVariables: {
4532
4578
  value: string;
4533
- name: string;
4534
4579
  source: "vercel-dashboard" | ".env.local";
4580
+ name: string;
4535
4581
  }[];
4536
4582
  edgeRuntime?: {
4537
4583
  maxDuration?: number | undefined;
@@ -4561,17 +4607,17 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4561
4607
  data: {
4562
4608
  config: {
4563
4609
  metadata: {
4564
- version: string;
4565
4610
  source: "code" | "dashboard" | "mixed";
4611
+ version: string;
4566
4612
  lastUpdated: string;
4567
4613
  serverUrl?: string | undefined;
4568
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
4614
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
4569
4615
  };
4570
4616
  delegation: {
4571
4617
  enabled: boolean;
4572
4618
  enforceStrictly: boolean;
4573
4619
  verifier: {
4574
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
4620
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
4575
4621
  apiUrl?: string | undefined;
4576
4622
  cacheTtl?: number | undefined;
4577
4623
  };
@@ -4583,9 +4629,10 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4583
4629
  };
4584
4630
  };
4585
4631
  identity: {
4586
- agentDid: string;
4632
+ serverDid: string;
4587
4633
  environment: "development" | "production";
4588
4634
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
4635
+ agentDid?: string | undefined;
4589
4636
  };
4590
4637
  proofing: {
4591
4638
  enabled: boolean;
@@ -4618,8 +4665,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4618
4665
  includePayloads: boolean;
4619
4666
  };
4620
4667
  session: {
4621
- timestampSkewSeconds: number;
4622
4668
  ttlMinutes: number;
4669
+ timestampSkewSeconds: number;
4623
4670
  absoluteLifetime?: number | undefined;
4624
4671
  };
4625
4672
  platform: {
@@ -4635,8 +4682,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4635
4682
  }[];
4636
4683
  environmentVariables: {
4637
4684
  value: string;
4638
- name: string;
4639
4685
  source: "wrangler.toml" | "secrets" | ".dev.vars";
4686
+ name: string;
4640
4687
  }[];
4641
4688
  } | undefined;
4642
4689
  node?: {
@@ -4658,8 +4705,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4658
4705
  vercel?: {
4659
4706
  environmentVariables: {
4660
4707
  value: string;
4661
- name: string;
4662
4708
  source: "vercel-dashboard" | ".env.local";
4709
+ name: string;
4663
4710
  }[];
4664
4711
  edgeRuntime?: {
4665
4712
  maxDuration?: number | undefined;
@@ -4683,17 +4730,17 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4683
4730
  data: {
4684
4731
  config: {
4685
4732
  metadata: {
4686
- version: string;
4687
4733
  source: "code" | "dashboard" | "mixed";
4734
+ version: string;
4688
4735
  lastUpdated: string;
4689
4736
  serverUrl?: string | undefined;
4690
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
4737
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
4691
4738
  };
4692
4739
  delegation: {
4693
4740
  enabled: boolean;
4694
4741
  enforceStrictly: boolean;
4695
4742
  verifier: {
4696
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
4743
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
4697
4744
  apiUrl?: string | undefined;
4698
4745
  cacheTtl?: number | undefined;
4699
4746
  };
@@ -4705,9 +4752,10 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4705
4752
  };
4706
4753
  };
4707
4754
  identity: {
4708
- agentDid: string;
4755
+ serverDid: string;
4709
4756
  environment: "development" | "production";
4710
4757
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
4758
+ agentDid?: string | undefined;
4711
4759
  };
4712
4760
  proofing: {
4713
4761
  enabled: boolean;
@@ -4740,8 +4788,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4740
4788
  includePayloads: boolean;
4741
4789
  };
4742
4790
  session: {
4743
- timestampSkewSeconds?: number | undefined;
4744
4791
  ttlMinutes?: number | undefined;
4792
+ timestampSkewSeconds?: number | undefined;
4745
4793
  absoluteLifetime?: number | undefined;
4746
4794
  };
4747
4795
  platform: {
@@ -4757,8 +4805,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4757
4805
  }[];
4758
4806
  environmentVariables: {
4759
4807
  value: string;
4760
- name: string;
4761
4808
  source: "wrangler.toml" | "secrets" | ".dev.vars";
4809
+ name: string;
4762
4810
  }[];
4763
4811
  } | undefined;
4764
4812
  node?: {
@@ -4780,8 +4828,8 @@ export declare const updateServerConfigResponseSchema: z.ZodObject<{
4780
4828
  vercel?: {
4781
4829
  environmentVariables: {
4782
4830
  value: string;
4783
- name: string;
4784
4831
  source: "vercel-dashboard" | ".env.local";
4832
+ name: string;
4785
4833
  }[];
4786
4834
  edgeRuntime?: {
4787
4835
  maxDuration?: number | undefined;
@@ -4808,17 +4856,23 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
4808
4856
  projectId: z.ZodString;
4809
4857
  config: z.ZodObject<{
4810
4858
  identity: z.ZodOptional<z.ZodObject<{
4811
- agentDid: z.ZodString;
4859
+ /**
4860
+ * @deprecated Use serverDid instead. Will be removed in v2.0
4861
+ */
4862
+ agentDid: z.ZodOptional<z.ZodString>;
4863
+ serverDid: z.ZodString;
4812
4864
  environment: z.ZodEnum<["development", "production"]>;
4813
4865
  storageLocation: z.ZodEnum<["cloudflare-kv", "file-system", "env-vars"]>;
4814
4866
  }, "strip", z.ZodTypeAny, {
4815
- agentDid: string;
4867
+ serverDid: string;
4816
4868
  environment: "development" | "production";
4817
4869
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
4870
+ agentDid?: string | undefined;
4818
4871
  }, {
4819
- agentDid: string;
4872
+ serverDid: string;
4820
4873
  environment: "development" | "production";
4821
4874
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
4875
+ agentDid?: string | undefined;
4822
4876
  }>>;
4823
4877
  proofing: z.ZodOptional<z.ZodObject<{
4824
4878
  enabled: z.ZodBoolean;
@@ -4881,11 +4935,11 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
4881
4935
  apiUrl: z.ZodOptional<z.ZodString>;
4882
4936
  cacheTtl: z.ZodOptional<z.ZodNumber>;
4883
4937
  }, "strip", z.ZodTypeAny, {
4884
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
4938
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
4885
4939
  apiUrl?: string | undefined;
4886
4940
  cacheTtl?: number | undefined;
4887
4941
  }, {
4888
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
4942
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
4889
4943
  apiUrl?: string | undefined;
4890
4944
  cacheTtl?: number | undefined;
4891
4945
  }>;
@@ -4909,7 +4963,7 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
4909
4963
  enabled: boolean;
4910
4964
  enforceStrictly: boolean;
4911
4965
  verifier: {
4912
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
4966
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
4913
4967
  apiUrl?: string | undefined;
4914
4968
  cacheTtl?: number | undefined;
4915
4969
  };
@@ -4923,7 +4977,7 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
4923
4977
  enabled: boolean;
4924
4978
  enforceStrictly: boolean;
4925
4979
  verifier: {
4926
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
4980
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
4927
4981
  apiUrl?: string | undefined;
4928
4982
  cacheTtl?: number | undefined;
4929
4983
  };
@@ -5000,12 +5054,12 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5000
5054
  ttlMinutes: z.ZodDefault<z.ZodNumber>;
5001
5055
  absoluteLifetime: z.ZodOptional<z.ZodNumber>;
5002
5056
  }, "strip", z.ZodTypeAny, {
5003
- timestampSkewSeconds: number;
5004
5057
  ttlMinutes: number;
5058
+ timestampSkewSeconds: number;
5005
5059
  absoluteLifetime?: number | undefined;
5006
5060
  }, {
5007
- timestampSkewSeconds?: number | undefined;
5008
5061
  ttlMinutes?: number | undefined;
5062
+ timestampSkewSeconds?: number | undefined;
5009
5063
  absoluteLifetime?: number | undefined;
5010
5064
  }>>;
5011
5065
  platform: z.ZodOptional<z.ZodObject<{
@@ -5037,12 +5091,12 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5037
5091
  source: z.ZodEnum<["wrangler.toml", "secrets", ".dev.vars"]>;
5038
5092
  }, "strip", z.ZodTypeAny, {
5039
5093
  value: string;
5040
- name: string;
5041
5094
  source: "wrangler.toml" | "secrets" | ".dev.vars";
5095
+ name: string;
5042
5096
  }, {
5043
5097
  value: string;
5044
- name: string;
5045
5098
  source: "wrangler.toml" | "secrets" | ".dev.vars";
5099
+ name: string;
5046
5100
  }>, "many">;
5047
5101
  }, "strip", z.ZodTypeAny, {
5048
5102
  workers: {
@@ -5055,8 +5109,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5055
5109
  }[];
5056
5110
  environmentVariables: {
5057
5111
  value: string;
5058
- name: string;
5059
5112
  source: "wrangler.toml" | "secrets" | ".dev.vars";
5113
+ name: string;
5060
5114
  }[];
5061
5115
  }, {
5062
5116
  workers: {
@@ -5069,8 +5123,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5069
5123
  }[];
5070
5124
  environmentVariables: {
5071
5125
  value: string;
5072
- name: string;
5073
5126
  source: "wrangler.toml" | "secrets" | ".dev.vars";
5127
+ name: string;
5074
5128
  }[];
5075
5129
  }>>;
5076
5130
  node: z.ZodOptional<z.ZodObject<{
@@ -5158,12 +5212,12 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5158
5212
  source: z.ZodEnum<["vercel-dashboard", ".env.local"]>;
5159
5213
  }, "strip", z.ZodTypeAny, {
5160
5214
  value: string;
5161
- name: string;
5162
5215
  source: "vercel-dashboard" | ".env.local";
5216
+ name: string;
5163
5217
  }, {
5164
5218
  value: string;
5165
- name: string;
5166
5219
  source: "vercel-dashboard" | ".env.local";
5220
+ name: string;
5167
5221
  }>, "many">;
5168
5222
  edgeRuntime: z.ZodOptional<z.ZodObject<{
5169
5223
  maxDuration: z.ZodOptional<z.ZodNumber>;
@@ -5178,8 +5232,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5178
5232
  }, "strip", z.ZodTypeAny, {
5179
5233
  environmentVariables: {
5180
5234
  value: string;
5181
- name: string;
5182
5235
  source: "vercel-dashboard" | ".env.local";
5236
+ name: string;
5183
5237
  }[];
5184
5238
  edgeRuntime?: {
5185
5239
  maxDuration?: number | undefined;
@@ -5188,8 +5242,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5188
5242
  }, {
5189
5243
  environmentVariables: {
5190
5244
  value: string;
5191
- name: string;
5192
5245
  source: "vercel-dashboard" | ".env.local";
5246
+ name: string;
5193
5247
  }[];
5194
5248
  edgeRuntime?: {
5195
5249
  maxDuration?: number | undefined;
@@ -5209,8 +5263,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5209
5263
  }[];
5210
5264
  environmentVariables: {
5211
5265
  value: string;
5212
- name: string;
5213
5266
  source: "wrangler.toml" | "secrets" | ".dev.vars";
5267
+ name: string;
5214
5268
  }[];
5215
5269
  } | undefined;
5216
5270
  node?: {
@@ -5232,8 +5286,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5232
5286
  vercel?: {
5233
5287
  environmentVariables: {
5234
5288
  value: string;
5235
- name: string;
5236
5289
  source: "vercel-dashboard" | ".env.local";
5290
+ name: string;
5237
5291
  }[];
5238
5292
  edgeRuntime?: {
5239
5293
  maxDuration?: number | undefined;
@@ -5253,8 +5307,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5253
5307
  }[];
5254
5308
  environmentVariables: {
5255
5309
  value: string;
5256
- name: string;
5257
5310
  source: "wrangler.toml" | "secrets" | ".dev.vars";
5311
+ name: string;
5258
5312
  }[];
5259
5313
  } | undefined;
5260
5314
  node?: {
@@ -5276,8 +5330,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5276
5330
  vercel?: {
5277
5331
  environmentVariables: {
5278
5332
  value: string;
5279
- name: string;
5280
5333
  source: "vercel-dashboard" | ".env.local";
5334
+ name: string;
5281
5335
  }[];
5282
5336
  edgeRuntime?: {
5283
5337
  maxDuration?: number | undefined;
@@ -5292,31 +5346,31 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5292
5346
  serverUrl: z.ZodOptional<z.ZodString>;
5293
5347
  deploymentStatus: z.ZodOptional<z.ZodEnum<["active", "inactive", "error"]>>;
5294
5348
  }, "strip", z.ZodTypeAny, {
5295
- version: string;
5296
5349
  source: "code" | "dashboard" | "mixed";
5350
+ version: string;
5297
5351
  lastUpdated: string;
5298
5352
  serverUrl?: string | undefined;
5299
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
5353
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
5300
5354
  }, {
5301
- version: string;
5302
5355
  source: "code" | "dashboard" | "mixed";
5356
+ version: string;
5303
5357
  lastUpdated: string;
5304
5358
  serverUrl?: string | undefined;
5305
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
5359
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
5306
5360
  }>>;
5307
5361
  }, "strip", z.ZodTypeAny, {
5308
5362
  metadata?: {
5309
- version: string;
5310
5363
  source: "code" | "dashboard" | "mixed";
5364
+ version: string;
5311
5365
  lastUpdated: string;
5312
5366
  serverUrl?: string | undefined;
5313
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
5367
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
5314
5368
  } | undefined;
5315
5369
  delegation?: {
5316
5370
  enabled: boolean;
5317
5371
  enforceStrictly: boolean;
5318
5372
  verifier: {
5319
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
5373
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
5320
5374
  apiUrl?: string | undefined;
5321
5375
  cacheTtl?: number | undefined;
5322
5376
  };
@@ -5328,9 +5382,10 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5328
5382
  };
5329
5383
  } | undefined;
5330
5384
  identity?: {
5331
- agentDid: string;
5385
+ serverDid: string;
5332
5386
  environment: "development" | "production";
5333
5387
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
5388
+ agentDid?: string | undefined;
5334
5389
  } | undefined;
5335
5390
  proofing?: {
5336
5391
  enabled: boolean;
@@ -5363,8 +5418,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5363
5418
  includePayloads: boolean;
5364
5419
  } | undefined;
5365
5420
  session?: {
5366
- timestampSkewSeconds: number;
5367
5421
  ttlMinutes: number;
5422
+ timestampSkewSeconds: number;
5368
5423
  absoluteLifetime?: number | undefined;
5369
5424
  } | undefined;
5370
5425
  platform?: {
@@ -5380,8 +5435,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5380
5435
  }[];
5381
5436
  environmentVariables: {
5382
5437
  value: string;
5383
- name: string;
5384
5438
  source: "wrangler.toml" | "secrets" | ".dev.vars";
5439
+ name: string;
5385
5440
  }[];
5386
5441
  } | undefined;
5387
5442
  node?: {
@@ -5403,8 +5458,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5403
5458
  vercel?: {
5404
5459
  environmentVariables: {
5405
5460
  value: string;
5406
- name: string;
5407
5461
  source: "vercel-dashboard" | ".env.local";
5462
+ name: string;
5408
5463
  }[];
5409
5464
  edgeRuntime?: {
5410
5465
  maxDuration?: number | undefined;
@@ -5414,17 +5469,17 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5414
5469
  } | undefined;
5415
5470
  }, {
5416
5471
  metadata?: {
5417
- version: string;
5418
5472
  source: "code" | "dashboard" | "mixed";
5473
+ version: string;
5419
5474
  lastUpdated: string;
5420
5475
  serverUrl?: string | undefined;
5421
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
5476
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
5422
5477
  } | undefined;
5423
5478
  delegation?: {
5424
5479
  enabled: boolean;
5425
5480
  enforceStrictly: boolean;
5426
5481
  verifier: {
5427
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
5482
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
5428
5483
  apiUrl?: string | undefined;
5429
5484
  cacheTtl?: number | undefined;
5430
5485
  };
@@ -5436,9 +5491,10 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5436
5491
  };
5437
5492
  } | undefined;
5438
5493
  identity?: {
5439
- agentDid: string;
5494
+ serverDid: string;
5440
5495
  environment: "development" | "production";
5441
5496
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
5497
+ agentDid?: string | undefined;
5442
5498
  } | undefined;
5443
5499
  proofing?: {
5444
5500
  enabled: boolean;
@@ -5471,8 +5527,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5471
5527
  includePayloads: boolean;
5472
5528
  } | undefined;
5473
5529
  session?: {
5474
- timestampSkewSeconds?: number | undefined;
5475
5530
  ttlMinutes?: number | undefined;
5531
+ timestampSkewSeconds?: number | undefined;
5476
5532
  absoluteLifetime?: number | undefined;
5477
5533
  } | undefined;
5478
5534
  platform?: {
@@ -5488,8 +5544,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5488
5544
  }[];
5489
5545
  environmentVariables: {
5490
5546
  value: string;
5491
- name: string;
5492
5547
  source: "wrangler.toml" | "secrets" | ".dev.vars";
5548
+ name: string;
5493
5549
  }[];
5494
5550
  } | undefined;
5495
5551
  node?: {
@@ -5511,8 +5567,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5511
5567
  vercel?: {
5512
5568
  environmentVariables: {
5513
5569
  value: string;
5514
- name: string;
5515
5570
  source: "vercel-dashboard" | ".env.local";
5571
+ name: string;
5516
5572
  }[];
5517
5573
  edgeRuntime?: {
5518
5574
  maxDuration?: number | undefined;
@@ -5525,17 +5581,17 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5525
5581
  projectId: string;
5526
5582
  config: {
5527
5583
  metadata?: {
5528
- version: string;
5529
5584
  source: "code" | "dashboard" | "mixed";
5585
+ version: string;
5530
5586
  lastUpdated: string;
5531
5587
  serverUrl?: string | undefined;
5532
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
5588
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
5533
5589
  } | undefined;
5534
5590
  delegation?: {
5535
5591
  enabled: boolean;
5536
5592
  enforceStrictly: boolean;
5537
5593
  verifier: {
5538
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
5594
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
5539
5595
  apiUrl?: string | undefined;
5540
5596
  cacheTtl?: number | undefined;
5541
5597
  };
@@ -5547,9 +5603,10 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5547
5603
  };
5548
5604
  } | undefined;
5549
5605
  identity?: {
5550
- agentDid: string;
5606
+ serverDid: string;
5551
5607
  environment: "development" | "production";
5552
5608
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
5609
+ agentDid?: string | undefined;
5553
5610
  } | undefined;
5554
5611
  proofing?: {
5555
5612
  enabled: boolean;
@@ -5582,8 +5639,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5582
5639
  includePayloads: boolean;
5583
5640
  } | undefined;
5584
5641
  session?: {
5585
- timestampSkewSeconds: number;
5586
5642
  ttlMinutes: number;
5643
+ timestampSkewSeconds: number;
5587
5644
  absoluteLifetime?: number | undefined;
5588
5645
  } | undefined;
5589
5646
  platform?: {
@@ -5599,8 +5656,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5599
5656
  }[];
5600
5657
  environmentVariables: {
5601
5658
  value: string;
5602
- name: string;
5603
5659
  source: "wrangler.toml" | "secrets" | ".dev.vars";
5660
+ name: string;
5604
5661
  }[];
5605
5662
  } | undefined;
5606
5663
  node?: {
@@ -5622,8 +5679,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5622
5679
  vercel?: {
5623
5680
  environmentVariables: {
5624
5681
  value: string;
5625
- name: string;
5626
5682
  source: "vercel-dashboard" | ".env.local";
5683
+ name: string;
5627
5684
  }[];
5628
5685
  edgeRuntime?: {
5629
5686
  maxDuration?: number | undefined;
@@ -5636,17 +5693,17 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5636
5693
  projectId: string;
5637
5694
  config: {
5638
5695
  metadata?: {
5639
- version: string;
5640
5696
  source: "code" | "dashboard" | "mixed";
5697
+ version: string;
5641
5698
  lastUpdated: string;
5642
5699
  serverUrl?: string | undefined;
5643
- deploymentStatus?: "error" | "active" | "inactive" | undefined;
5700
+ deploymentStatus?: "active" | "inactive" | "error" | undefined;
5644
5701
  } | undefined;
5645
5702
  delegation?: {
5646
5703
  enabled: boolean;
5647
5704
  enforceStrictly: boolean;
5648
5705
  verifier: {
5649
- type: "custom" | "cloudflare-kv" | "agentshield" | "kta" | "memory" | "redis" | "dynamodb";
5706
+ type: "memory" | "redis" | "dynamodb" | "cloudflare-kv" | "custom" | "agentshield" | "kta";
5650
5707
  apiUrl?: string | undefined;
5651
5708
  cacheTtl?: number | undefined;
5652
5709
  };
@@ -5658,9 +5715,10 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5658
5715
  };
5659
5716
  } | undefined;
5660
5717
  identity?: {
5661
- agentDid: string;
5718
+ serverDid: string;
5662
5719
  environment: "development" | "production";
5663
5720
  storageLocation: "cloudflare-kv" | "file-system" | "env-vars";
5721
+ agentDid?: string | undefined;
5664
5722
  } | undefined;
5665
5723
  proofing?: {
5666
5724
  enabled: boolean;
@@ -5693,8 +5751,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5693
5751
  includePayloads: boolean;
5694
5752
  } | undefined;
5695
5753
  session?: {
5696
- timestampSkewSeconds?: number | undefined;
5697
5754
  ttlMinutes?: number | undefined;
5755
+ timestampSkewSeconds?: number | undefined;
5698
5756
  absoluteLifetime?: number | undefined;
5699
5757
  } | undefined;
5700
5758
  platform?: {
@@ -5710,8 +5768,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5710
5768
  }[];
5711
5769
  environmentVariables: {
5712
5770
  value: string;
5713
- name: string;
5714
5771
  source: "wrangler.toml" | "secrets" | ".dev.vars";
5772
+ name: string;
5715
5773
  }[];
5716
5774
  } | undefined;
5717
5775
  node?: {
@@ -5733,8 +5791,8 @@ export declare const validateServerConfigRequestSchema: z.ZodObject<{
5733
5791
  vercel?: {
5734
5792
  environmentVariables: {
5735
5793
  value: string;
5736
- name: string;
5737
5794
  source: "vercel-dashboard" | ".env.local";
5795
+ name: string;
5738
5796
  }[];
5739
5797
  edgeRuntime?: {
5740
5798
  maxDuration?: number | undefined;
@@ -5757,44 +5815,44 @@ export declare const validateServerConfigResponseSchema: z.ZodObject<{
5757
5815
  code: z.ZodString;
5758
5816
  }, "strip", z.ZodTypeAny, {
5759
5817
  code: string;
5760
- message: string;
5761
5818
  path: string;
5819
+ message: string;
5762
5820
  }, {
5763
5821
  code: string;
5764
- message: string;
5765
5822
  path: string;
5823
+ message: string;
5766
5824
  }>, "many">>;
5767
5825
  warnings: z.ZodOptional<z.ZodArray<z.ZodObject<{
5768
5826
  path: z.ZodString;
5769
5827
  message: z.ZodString;
5770
5828
  }, "strip", z.ZodTypeAny, {
5771
- message: string;
5772
5829
  path: string;
5773
- }, {
5774
5830
  message: string;
5831
+ }, {
5775
5832
  path: string;
5833
+ message: string;
5776
5834
  }>, "many">>;
5777
5835
  }, "strip", z.ZodTypeAny, {
5778
5836
  valid: boolean;
5779
5837
  errors?: {
5780
5838
  code: string;
5781
- message: string;
5782
5839
  path: string;
5840
+ message: string;
5783
5841
  }[] | undefined;
5784
5842
  warnings?: {
5785
- message: string;
5786
5843
  path: string;
5844
+ message: string;
5787
5845
  }[] | undefined;
5788
5846
  }, {
5789
5847
  valid: boolean;
5790
5848
  errors?: {
5791
5849
  code: string;
5792
- message: string;
5793
5850
  path: string;
5851
+ message: string;
5794
5852
  }[] | undefined;
5795
5853
  warnings?: {
5796
- message: string;
5797
5854
  path: string;
5855
+ message: string;
5798
5856
  }[] | undefined;
5799
5857
  }>;
5800
5858
  metadata: z.ZodOptional<z.ZodObject<{
@@ -5813,12 +5871,12 @@ export declare const validateServerConfigResponseSchema: z.ZodObject<{
5813
5871
  valid: boolean;
5814
5872
  errors?: {
5815
5873
  code: string;
5816
- message: string;
5817
5874
  path: string;
5875
+ message: string;
5818
5876
  }[] | undefined;
5819
5877
  warnings?: {
5820
- message: string;
5821
5878
  path: string;
5879
+ message: string;
5822
5880
  }[] | undefined;
5823
5881
  };
5824
5882
  metadata?: {
@@ -5831,12 +5889,12 @@ export declare const validateServerConfigResponseSchema: z.ZodObject<{
5831
5889
  valid: boolean;
5832
5890
  errors?: {
5833
5891
  code: string;
5834
- message: string;
5835
5892
  path: string;
5893
+ message: string;
5836
5894
  }[] | undefined;
5837
5895
  warnings?: {
5838
- message: string;
5839
5896
  path: string;
5897
+ message: string;
5840
5898
  }[] | undefined;
5841
5899
  };
5842
5900
  metadata?: {