@kya-os/checkpoint-shared 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.d.mts CHANGED
@@ -89,8 +89,8 @@ export declare const DetectionSignalSchema: ZodObject<{
89
89
  signalType: ZodEnum<{
90
90
  behavioral: "behavioral";
91
91
  pattern: "pattern";
92
- signature: "signature";
93
92
  network: "network";
93
+ signature: "signature";
94
94
  fingerprint: "fingerprint";
95
95
  }>;
96
96
  confidence: ZodNumber;
@@ -264,8 +264,8 @@ export declare const DetectionDetailSchema: ZodObject<{
264
264
  signalType: ZodEnum<{
265
265
  behavioral: "behavioral";
266
266
  pattern: "pattern";
267
- signature: "signature";
268
267
  network: "network";
268
+ signature: "signature";
269
269
  fingerprint: "fingerprint";
270
270
  }>;
271
271
  confidence: ZodNumber;
@@ -303,18 +303,18 @@ export declare const DetectionDetailSchema: ZodObject<{
303
303
  botType: ZodOptional<ZodString>;
304
304
  agentType: ZodOptional<ZodString>;
305
305
  verificationMethod: ZodOptional<ZodEnum<{
306
- error: "error";
307
306
  behavioral: "behavioral";
307
+ error: "error";
308
308
  pattern: "pattern";
309
- signature: "signature";
309
+ none: "none";
310
310
  network: "network";
311
+ signature: "signature";
311
312
  mcp_i_handshake: "mcp_i_handshake";
312
313
  kyaos_handshake: "kyaos_handshake";
313
314
  "kya-http": "kya-http";
314
315
  "kya-http-delegated": "kya-http-delegated";
315
316
  tier1_rfc9421: "tier1_rfc9421";
316
317
  a2a: "a2a";
317
- none: "none";
318
318
  }>>;
319
319
  riskLevel: ZodOptional<ZodString>;
320
320
  forgeabilityRisk: ZodOptional<ZodEnum<{
@@ -445,8 +445,8 @@ export declare const DetectionResultSchema: ZodObject<{
445
445
  signalType: ZodEnum<{
446
446
  behavioral: "behavioral";
447
447
  pattern: "pattern";
448
- signature: "signature";
449
448
  network: "network";
449
+ signature: "signature";
450
450
  fingerprint: "fingerprint";
451
451
  }>;
452
452
  confidence: ZodNumber;
@@ -484,18 +484,18 @@ export declare const DetectionResultSchema: ZodObject<{
484
484
  botType: ZodOptional<ZodString>;
485
485
  agentType: ZodOptional<ZodString>;
486
486
  verificationMethod: ZodOptional<ZodEnum<{
487
- error: "error";
488
487
  behavioral: "behavioral";
488
+ error: "error";
489
489
  pattern: "pattern";
490
- signature: "signature";
490
+ none: "none";
491
491
  network: "network";
492
+ signature: "signature";
492
493
  mcp_i_handshake: "mcp_i_handshake";
493
494
  kyaos_handshake: "kyaos_handshake";
494
495
  "kya-http": "kya-http";
495
496
  "kya-http-delegated": "kya-http-delegated";
496
497
  tier1_rfc9421: "tier1_rfc9421";
497
498
  a2a: "a2a";
498
- none: "none";
499
499
  }>>;
500
500
  riskLevel: ZodOptional<ZodString>;
501
501
  forgeabilityRisk: ZodOptional<ZodEnum<{
@@ -902,8 +902,8 @@ export declare const VerdictEvidenceSchema: ZodObject<{
902
902
  plane: ZodEnum<{
903
903
  behavioral: "behavioral";
904
904
  pattern: "pattern";
905
- signature: "signature";
906
905
  network: "network";
906
+ signature: "signature";
907
907
  fingerprint: "fingerprint";
908
908
  }>;
909
909
  weight: ZodNumber;
@@ -1019,8 +1019,8 @@ export declare const NetworkConfigSchema: ZodObject<{
1019
1019
  name: ZodString;
1020
1020
  ranges: ZodArray<ZodString>;
1021
1021
  action: ZodEnum<{
1022
- allow: "allow";
1023
1022
  block: "block";
1023
+ allow: "allow";
1024
1024
  flag: "flag";
1025
1025
  }>;
1026
1026
  }, $strip>>>;
@@ -1087,8 +1087,8 @@ export declare const AgentShieldConfigSchema: ZodObject<{
1087
1087
  name: ZodString;
1088
1088
  ranges: ZodArray<ZodString>;
1089
1089
  action: ZodEnum<{
1090
- allow: "allow";
1091
1090
  block: "block";
1091
+ allow: "allow";
1092
1092
  flag: "flag";
1093
1093
  }>;
1094
1094
  }, $strip>>>;
@@ -1139,19 +1139,19 @@ export declare const MiddlewareSessionConfigSchema: ZodObject<{
1139
1139
  httpOnly: ZodDefault<ZodBoolean>;
1140
1140
  secure: ZodDefault<ZodBoolean>;
1141
1141
  sameSite: ZodDefault<ZodEnum<{
1142
- none: "none";
1143
1142
  strict: "strict";
1144
1143
  lax: "lax";
1144
+ none: "none";
1145
1145
  }>>;
1146
1146
  maxAge: ZodOptional<ZodNumber>;
1147
1147
  }, $strip>>;
1148
1148
  }, $strip>;
1149
1149
  export type MiddlewareSessionConfig = output<typeof MiddlewareSessionConfigSchema>;
1150
1150
  export declare const MiddlewareActionSchema: ZodEnum<{
1151
- allow: "allow";
1152
1151
  block: "block";
1153
1152
  redirect: "redirect";
1154
1153
  rewrite: "rewrite";
1154
+ allow: "allow";
1155
1155
  log: "log";
1156
1156
  }>;
1157
1157
  export type MiddlewareAction = output<typeof MiddlewareActionSchema>;
@@ -1209,8 +1209,8 @@ export declare const ExpressMiddlewareOptionsSchema: ZodObject<{
1209
1209
  name: ZodString;
1210
1210
  ranges: ZodArray<ZodString>;
1211
1211
  action: ZodEnum<{
1212
- allow: "allow";
1213
1212
  block: "block";
1213
+ allow: "allow";
1214
1214
  flag: "flag";
1215
1215
  }>;
1216
1216
  }, $strip>>>;
@@ -1256,9 +1256,9 @@ export declare const ExpressMiddlewareOptionsSchema: ZodObject<{
1256
1256
  httpOnly: ZodDefault<ZodBoolean>;
1257
1257
  secure: ZodDefault<ZodBoolean>;
1258
1258
  sameSite: ZodDefault<ZodEnum<{
1259
- none: "none";
1260
1259
  strict: "strict";
1261
1260
  lax: "lax";
1261
+ none: "none";
1262
1262
  }>>;
1263
1263
  maxAge: ZodOptional<ZodNumber>;
1264
1264
  }, $strip>>;
@@ -1319,8 +1319,8 @@ export declare const NextMiddlewareOptionsSchema: ZodObject<{
1319
1319
  name: ZodString;
1320
1320
  ranges: ZodArray<ZodString>;
1321
1321
  action: ZodEnum<{
1322
- allow: "allow";
1323
1322
  block: "block";
1323
+ allow: "allow";
1324
1324
  flag: "flag";
1325
1325
  }>;
1326
1326
  }, $strip>>>;
@@ -1366,9 +1366,9 @@ export declare const NextMiddlewareOptionsSchema: ZodObject<{
1366
1366
  httpOnly: ZodDefault<ZodBoolean>;
1367
1367
  secure: ZodDefault<ZodBoolean>;
1368
1368
  sameSite: ZodDefault<ZodEnum<{
1369
- none: "none";
1370
1369
  strict: "strict";
1371
1370
  lax: "lax";
1371
+ none: "none";
1372
1372
  }>>;
1373
1373
  maxAge: ZodOptional<ZodNumber>;
1374
1374
  }, $strip>>;
@@ -1413,10 +1413,10 @@ export declare const MiddlewareSessionDataSchema: ZodObject<{
1413
1413
  export type MiddlewareSessionData = output<typeof MiddlewareSessionDataSchema>;
1414
1414
  export declare const MiddlewareConfigSchema: ZodObject<{
1415
1415
  action: ZodDefault<ZodEnum<{
1416
- allow: "allow";
1417
1416
  block: "block";
1418
1417
  redirect: "redirect";
1419
1418
  rewrite: "rewrite";
1419
+ allow: "allow";
1420
1420
  log: "log";
1421
1421
  }>>;
1422
1422
  session: ZodOptional<ZodObject<{
@@ -1432,9 +1432,9 @@ export declare const MiddlewareConfigSchema: ZodObject<{
1432
1432
  httpOnly: ZodDefault<ZodBoolean>;
1433
1433
  secure: ZodDefault<ZodBoolean>;
1434
1434
  sameSite: ZodDefault<ZodEnum<{
1435
- none: "none";
1436
1435
  strict: "strict";
1437
1436
  lax: "lax";
1437
+ none: "none";
1438
1438
  }>>;
1439
1439
  maxAge: ZodOptional<ZodNumber>;
1440
1440
  }, $strip>>;
@@ -1978,8 +1978,8 @@ export declare const PixelEventSchema: ZodObject<{
1978
1978
  signalType: ZodEnum<{
1979
1979
  behavioral: "behavioral";
1980
1980
  pattern: "pattern";
1981
- signature: "signature";
1982
1981
  network: "network";
1982
+ signature: "signature";
1983
1983
  fingerprint: "fingerprint";
1984
1984
  }>;
1985
1985
  confidence: ZodNumber;
@@ -2017,18 +2017,18 @@ export declare const PixelEventSchema: ZodObject<{
2017
2017
  botType: ZodOptional<ZodString>;
2018
2018
  agentType: ZodOptional<ZodString>;
2019
2019
  verificationMethod: ZodOptional<ZodEnum<{
2020
- error: "error";
2021
2020
  behavioral: "behavioral";
2021
+ error: "error";
2022
2022
  pattern: "pattern";
2023
- signature: "signature";
2023
+ none: "none";
2024
2024
  network: "network";
2025
+ signature: "signature";
2025
2026
  mcp_i_handshake: "mcp_i_handshake";
2026
2027
  kyaos_handshake: "kyaos_handshake";
2027
2028
  "kya-http": "kya-http";
2028
2029
  "kya-http-delegated": "kya-http-delegated";
2029
2030
  tier1_rfc9421: "tier1_rfc9421";
2030
2031
  a2a: "a2a";
2031
- none: "none";
2032
2032
  }>>;
2033
2033
  riskLevel: ZodOptional<ZodString>;
2034
2034
  forgeabilityRisk: ZodOptional<ZodEnum<{
@@ -2214,8 +2214,8 @@ export declare const BatchPixelEventRequestSchema: ZodObject<{
2214
2214
  signalType: ZodEnum<{
2215
2215
  behavioral: "behavioral";
2216
2216
  pattern: "pattern";
2217
- signature: "signature";
2218
2217
  network: "network";
2218
+ signature: "signature";
2219
2219
  fingerprint: "fingerprint";
2220
2220
  }>;
2221
2221
  confidence: ZodNumber;
@@ -2253,18 +2253,18 @@ export declare const BatchPixelEventRequestSchema: ZodObject<{
2253
2253
  botType: ZodOptional<ZodString>;
2254
2254
  agentType: ZodOptional<ZodString>;
2255
2255
  verificationMethod: ZodOptional<ZodEnum<{
2256
- error: "error";
2257
2256
  behavioral: "behavioral";
2257
+ error: "error";
2258
2258
  pattern: "pattern";
2259
- signature: "signature";
2259
+ none: "none";
2260
2260
  network: "network";
2261
+ signature: "signature";
2261
2262
  mcp_i_handshake: "mcp_i_handshake";
2262
2263
  kyaos_handshake: "kyaos_handshake";
2263
2264
  "kya-http": "kya-http";
2264
2265
  "kya-http-delegated": "kya-http-delegated";
2265
2266
  tier1_rfc9421: "tier1_rfc9421";
2266
2267
  a2a: "a2a";
2267
- none: "none";
2268
2268
  }>>;
2269
2269
  riskLevel: ZodOptional<ZodString>;
2270
2270
  forgeabilityRisk: ZodOptional<ZodEnum<{
@@ -2646,8 +2646,8 @@ export declare const PixelTrackingResponseSchema: ZodObject<{
2646
2646
  signalType: ZodEnum<{
2647
2647
  behavioral: "behavioral";
2648
2648
  pattern: "pattern";
2649
- signature: "signature";
2650
2649
  network: "network";
2650
+ signature: "signature";
2651
2651
  fingerprint: "fingerprint";
2652
2652
  }>;
2653
2653
  confidence: ZodNumber;
@@ -2685,18 +2685,18 @@ export declare const PixelTrackingResponseSchema: ZodObject<{
2685
2685
  botType: ZodOptional<ZodString>;
2686
2686
  agentType: ZodOptional<ZodString>;
2687
2687
  verificationMethod: ZodOptional<ZodEnum<{
2688
- error: "error";
2689
2688
  behavioral: "behavioral";
2689
+ error: "error";
2690
2690
  pattern: "pattern";
2691
- signature: "signature";
2691
+ none: "none";
2692
2692
  network: "network";
2693
+ signature: "signature";
2693
2694
  mcp_i_handshake: "mcp_i_handshake";
2694
2695
  kyaos_handshake: "kyaos_handshake";
2695
2696
  "kya-http": "kya-http";
2696
2697
  "kya-http-delegated": "kya-http-delegated";
2697
2698
  tier1_rfc9421: "tier1_rfc9421";
2698
2699
  a2a: "a2a";
2699
- none: "none";
2700
2700
  }>>;
2701
2701
  riskLevel: ZodOptional<ZodString>;
2702
2702
  forgeabilityRisk: ZodOptional<ZodEnum<{
@@ -2977,8 +2977,8 @@ export declare const SessionDataSchema: ZodObject<{
2977
2977
  signalType: ZodEnum<{
2978
2978
  behavioral: "behavioral";
2979
2979
  pattern: "pattern";
2980
- signature: "signature";
2981
2980
  network: "network";
2981
+ signature: "signature";
2982
2982
  fingerprint: "fingerprint";
2983
2983
  }>;
2984
2984
  confidence: ZodNumber;
@@ -3016,18 +3016,18 @@ export declare const SessionDataSchema: ZodObject<{
3016
3016
  botType: ZodOptional<ZodString>;
3017
3017
  agentType: ZodOptional<ZodString>;
3018
3018
  verificationMethod: ZodOptional<ZodEnum<{
3019
- error: "error";
3020
3019
  behavioral: "behavioral";
3020
+ error: "error";
3021
3021
  pattern: "pattern";
3022
- signature: "signature";
3022
+ none: "none";
3023
3023
  network: "network";
3024
+ signature: "signature";
3024
3025
  mcp_i_handshake: "mcp_i_handshake";
3025
3026
  kyaos_handshake: "kyaos_handshake";
3026
3027
  "kya-http": "kya-http";
3027
3028
  "kya-http-delegated": "kya-http-delegated";
3028
3029
  tier1_rfc9421: "tier1_rfc9421";
3029
3030
  a2a: "a2a";
3030
- none: "none";
3031
3031
  }>>;
3032
3032
  riskLevel: ZodOptional<ZodString>;
3033
3033
  forgeabilityRisk: ZodOptional<ZodEnum<{
@@ -3197,8 +3197,8 @@ export declare const SessionUpdateRequestSchema: ZodObject<{
3197
3197
  signalType: ZodEnum<{
3198
3198
  behavioral: "behavioral";
3199
3199
  pattern: "pattern";
3200
- signature: "signature";
3201
3200
  network: "network";
3201
+ signature: "signature";
3202
3202
  fingerprint: "fingerprint";
3203
3203
  }>;
3204
3204
  confidence: ZodNumber;
@@ -3236,18 +3236,18 @@ export declare const SessionUpdateRequestSchema: ZodObject<{
3236
3236
  botType: ZodOptional<ZodString>;
3237
3237
  agentType: ZodOptional<ZodString>;
3238
3238
  verificationMethod: ZodOptional<ZodEnum<{
3239
- error: "error";
3240
3239
  behavioral: "behavioral";
3240
+ error: "error";
3241
3241
  pattern: "pattern";
3242
- signature: "signature";
3242
+ none: "none";
3243
3243
  network: "network";
3244
+ signature: "signature";
3244
3245
  mcp_i_handshake: "mcp_i_handshake";
3245
3246
  kyaos_handshake: "kyaos_handshake";
3246
3247
  "kya-http": "kya-http";
3247
3248
  "kya-http-delegated": "kya-http-delegated";
3248
3249
  tier1_rfc9421: "tier1_rfc9421";
3249
3250
  a2a: "a2a";
3250
- none: "none";
3251
3251
  }>>;
3252
3252
  riskLevel: ZodOptional<ZodString>;
3253
3253
  forgeabilityRisk: ZodOptional<ZodEnum<{
@@ -3382,9 +3382,9 @@ export declare const SessionConfigSchema: ZodObject<{
3382
3382
  regenerateOnLogin: ZodDefault<ZodBoolean>;
3383
3383
  secure: ZodDefault<ZodBoolean>;
3384
3384
  sameSite: ZodDefault<ZodEnum<{
3385
- none: "none";
3386
3385
  strict: "strict";
3387
3386
  lax: "lax";
3387
+ none: "none";
3388
3388
  }>>;
3389
3389
  httpOnly: ZodDefault<ZodBoolean>;
3390
3390
  domain: ZodOptional<ZodString>;
@@ -3679,8 +3679,8 @@ export declare const WorkerMetricsSchema: ZodObject<{
3679
3679
  export type WorkerMetrics = output<typeof WorkerMetricsSchema>;
3680
3680
  export declare const WorkerErrorTypeSchema: ZodEnum<{
3681
3681
  unknown: "unknown";
3682
- network: "network";
3683
3682
  memory: "memory";
3683
+ network: "network";
3684
3684
  timeout: "timeout";
3685
3685
  initialization: "initialization";
3686
3686
  communication: "communication";
@@ -3692,8 +3692,8 @@ export type WorkerErrorType = output<typeof WorkerErrorTypeSchema>;
3692
3692
  export declare const WorkerErrorSchema: ZodObject<{
3693
3693
  type: ZodEnum<{
3694
3694
  unknown: "unknown";
3695
- network: "network";
3696
3695
  memory: "memory";
3696
+ network: "network";
3697
3697
  timeout: "timeout";
3698
3698
  initialization: "initialization";
3699
3699
  communication: "communication";
@@ -3749,8 +3749,8 @@ export declare const WorkerTaskSchema: ZodObject<{
3749
3749
  error: ZodOptional<ZodObject<{
3750
3750
  type: ZodEnum<{
3751
3751
  unknown: "unknown";
3752
- network: "network";
3753
3752
  memory: "memory";
3753
+ network: "network";
3754
3754
  timeout: "timeout";
3755
3755
  initialization: "initialization";
3756
3756
  communication: "communication";
@@ -4070,8 +4070,8 @@ export declare const DetectionResponseSchema: ZodObject<{
4070
4070
  signalType: ZodEnum<{
4071
4071
  behavioral: "behavioral";
4072
4072
  pattern: "pattern";
4073
- signature: "signature";
4074
4073
  network: "network";
4074
+ signature: "signature";
4075
4075
  fingerprint: "fingerprint";
4076
4076
  }>;
4077
4077
  confidence: ZodNumber;
@@ -4109,18 +4109,18 @@ export declare const DetectionResponseSchema: ZodObject<{
4109
4109
  botType: ZodOptional<ZodString>;
4110
4110
  agentType: ZodOptional<ZodString>;
4111
4111
  verificationMethod: ZodOptional<ZodEnum<{
4112
- error: "error";
4113
4112
  behavioral: "behavioral";
4113
+ error: "error";
4114
4114
  pattern: "pattern";
4115
- signature: "signature";
4115
+ none: "none";
4116
4116
  network: "network";
4117
+ signature: "signature";
4117
4118
  mcp_i_handshake: "mcp_i_handshake";
4118
4119
  kyaos_handshake: "kyaos_handshake";
4119
4120
  "kya-http": "kya-http";
4120
4121
  "kya-http-delegated": "kya-http-delegated";
4121
4122
  tier1_rfc9421: "tier1_rfc9421";
4122
4123
  a2a: "a2a";
4123
- none: "none";
4124
4124
  }>>;
4125
4125
  riskLevel: ZodOptional<ZodString>;
4126
4126
  forgeabilityRisk: ZodOptional<ZodEnum<{
@@ -4280,8 +4280,8 @@ export declare const BatchDetectionResponseSchema: ZodObject<{
4280
4280
  signalType: ZodEnum<{
4281
4281
  behavioral: "behavioral";
4282
4282
  pattern: "pattern";
4283
- signature: "signature";
4284
4283
  network: "network";
4284
+ signature: "signature";
4285
4285
  fingerprint: "fingerprint";
4286
4286
  }>;
4287
4287
  confidence: ZodNumber;
@@ -4319,18 +4319,18 @@ export declare const BatchDetectionResponseSchema: ZodObject<{
4319
4319
  botType: ZodOptional<ZodString>;
4320
4320
  agentType: ZodOptional<ZodString>;
4321
4321
  verificationMethod: ZodOptional<ZodEnum<{
4322
- error: "error";
4323
4322
  behavioral: "behavioral";
4323
+ error: "error";
4324
4324
  pattern: "pattern";
4325
- signature: "signature";
4325
+ none: "none";
4326
4326
  network: "network";
4327
+ signature: "signature";
4327
4328
  mcp_i_handshake: "mcp_i_handshake";
4328
4329
  kyaos_handshake: "kyaos_handshake";
4329
4330
  "kya-http": "kya-http";
4330
4331
  "kya-http-delegated": "kya-http-delegated";
4331
4332
  tier1_rfc9421: "tier1_rfc9421";
4332
4333
  a2a: "a2a";
4333
- none: "none";
4334
4334
  }>>;
4335
4335
  riskLevel: ZodOptional<ZodString>;
4336
4336
  forgeabilityRisk: ZodOptional<ZodEnum<{
@@ -4667,8 +4667,8 @@ export declare const EventTrackingResponseSchema: ZodObject<{
4667
4667
  signalType: ZodEnum<{
4668
4668
  behavioral: "behavioral";
4669
4669
  pattern: "pattern";
4670
- signature: "signature";
4671
4670
  network: "network";
4671
+ signature: "signature";
4672
4672
  fingerprint: "fingerprint";
4673
4673
  }>;
4674
4674
  confidence: ZodNumber;
@@ -4706,18 +4706,18 @@ export declare const EventTrackingResponseSchema: ZodObject<{
4706
4706
  botType: ZodOptional<ZodString>;
4707
4707
  agentType: ZodOptional<ZodString>;
4708
4708
  verificationMethod: ZodOptional<ZodEnum<{
4709
- error: "error";
4710
4709
  behavioral: "behavioral";
4710
+ error: "error";
4711
4711
  pattern: "pattern";
4712
- signature: "signature";
4712
+ none: "none";
4713
4713
  network: "network";
4714
+ signature: "signature";
4714
4715
  mcp_i_handshake: "mcp_i_handshake";
4715
4716
  kyaos_handshake: "kyaos_handshake";
4716
4717
  "kya-http": "kya-http";
4717
4718
  "kya-http-delegated": "kya-http-delegated";
4718
4719
  tier1_rfc9421: "tier1_rfc9421";
4719
4720
  a2a: "a2a";
4720
- none: "none";
4721
4721
  }>>;
4722
4722
  riskLevel: ZodOptional<ZodString>;
4723
4723
  forgeabilityRisk: ZodOptional<ZodEnum<{
@@ -5026,8 +5026,8 @@ export declare const BatchEventResponseSchema: ZodObject<{
5026
5026
  signalType: ZodEnum<{
5027
5027
  behavioral: "behavioral";
5028
5028
  pattern: "pattern";
5029
- signature: "signature";
5030
5029
  network: "network";
5030
+ signature: "signature";
5031
5031
  fingerprint: "fingerprint";
5032
5032
  }>;
5033
5033
  confidence: ZodNumber;
@@ -5065,18 +5065,18 @@ export declare const BatchEventResponseSchema: ZodObject<{
5065
5065
  botType: ZodOptional<ZodString>;
5066
5066
  agentType: ZodOptional<ZodString>;
5067
5067
  verificationMethod: ZodOptional<ZodEnum<{
5068
- error: "error";
5069
5068
  behavioral: "behavioral";
5069
+ error: "error";
5070
5070
  pattern: "pattern";
5071
- signature: "signature";
5071
+ none: "none";
5072
5072
  network: "network";
5073
+ signature: "signature";
5073
5074
  mcp_i_handshake: "mcp_i_handshake";
5074
5075
  kyaos_handshake: "kyaos_handshake";
5075
5076
  "kya-http": "kya-http";
5076
5077
  "kya-http-delegated": "kya-http-delegated";
5077
5078
  tier1_rfc9421: "tier1_rfc9421";
5078
5079
  a2a: "a2a";
5079
- none: "none";
5080
5080
  }>>;
5081
5081
  riskLevel: ZodOptional<ZodString>;
5082
5082
  forgeabilityRisk: ZodOptional<ZodEnum<{
@@ -5557,8 +5557,8 @@ export declare const DetectionEventSchema: ZodObject<{
5557
5557
  signalType: ZodEnum<{
5558
5558
  behavioral: "behavioral";
5559
5559
  pattern: "pattern";
5560
- signature: "signature";
5561
5560
  network: "network";
5561
+ signature: "signature";
5562
5562
  fingerprint: "fingerprint";
5563
5563
  }>;
5564
5564
  confidence: ZodNumber;
@@ -5596,18 +5596,18 @@ export declare const DetectionEventSchema: ZodObject<{
5596
5596
  botType: ZodOptional<ZodString>;
5597
5597
  agentType: ZodOptional<ZodString>;
5598
5598
  verificationMethod: ZodOptional<ZodEnum<{
5599
- error: "error";
5600
5599
  behavioral: "behavioral";
5600
+ error: "error";
5601
5601
  pattern: "pattern";
5602
- signature: "signature";
5602
+ none: "none";
5603
5603
  network: "network";
5604
+ signature: "signature";
5604
5605
  mcp_i_handshake: "mcp_i_handshake";
5605
5606
  kyaos_handshake: "kyaos_handshake";
5606
5607
  "kya-http": "kya-http";
5607
5608
  "kya-http-delegated": "kya-http-delegated";
5608
5609
  tier1_rfc9421: "tier1_rfc9421";
5609
5610
  a2a: "a2a";
5610
- none: "none";
5611
5611
  }>>;
5612
5612
  riskLevel: ZodOptional<ZodString>;
5613
5613
  forgeabilityRisk: ZodOptional<ZodEnum<{
@@ -6174,8 +6174,8 @@ export declare const DatabaseDetectionMetadataSchema: ZodObject<{
6174
6174
  }, $strip>>;
6175
6175
  verificationMethod: ZodOptional<ZodEnum<{
6176
6176
  pattern: "pattern";
6177
- signature: "signature";
6178
6177
  none: "none";
6178
+ signature: "signature";
6179
6179
  mcp_i: "mcp_i";
6180
6180
  }>>;
6181
6181
  riskLevel: ZodOptional<ZodEnum<{
@@ -6707,8 +6707,8 @@ export declare const DetectionRuleSchema: ZodObject<{
6707
6707
  category: ZodEnum<{
6708
6708
  behavioral: "behavioral";
6709
6709
  pattern: "pattern";
6710
- signature: "signature";
6711
6710
  network: "network";
6711
+ signature: "signature";
6712
6712
  fingerprint: "fingerprint";
6713
6713
  }>;
6714
6714
  conditions: ZodArray<ZodObject<{
@@ -6784,8 +6784,8 @@ export declare const AgentProfileSchema: ZodObject<{
6784
6784
  category: ZodEnum<{
6785
6785
  behavioral: "behavioral";
6786
6786
  pattern: "pattern";
6787
- signature: "signature";
6788
6787
  network: "network";
6788
+ signature: "signature";
6789
6789
  fingerprint: "fingerprint";
6790
6790
  }>;
6791
6791
  conditions: ZodArray<ZodObject<{
@@ -6914,8 +6914,8 @@ export declare const FingerprintSearchQuerySchema: ZodObject<{
6914
6914
  limit: ZodDefault<ZodNumber>;
6915
6915
  offset: ZodDefault<ZodNumber>;
6916
6916
  sortBy: ZodDefault<ZodEnum<{
6917
- timestamp: "timestamp";
6918
6917
  confidence: "confidence";
6918
+ timestamp: "timestamp";
6919
6919
  testId: "testId";
6920
6920
  }>>;
6921
6921
  sortOrder: ZodDefault<ZodEnum<{
@@ -10792,8 +10792,8 @@ export declare const DetectionSignalExposureSchema: ZodObject<{
10792
10792
  signalType: ZodEnum<{
10793
10793
  behavioral: "behavioral";
10794
10794
  pattern: "pattern";
10795
- signature: "signature";
10796
10795
  network: "network";
10796
+ signature: "signature";
10797
10797
  fingerprint: "fingerprint";
10798
10798
  }>;
10799
10799
  confidence: ZodNumber;
@@ -12294,10 +12294,10 @@ export declare const OAuthConnectionStatusSchema: ZodEnum<{
12294
12294
  }>;
12295
12295
  type OAuthConnectionStatus = output<typeof OAuthConnectionStatusSchema>;
12296
12296
  export declare const AuthProviderTypeSchema: ZodPipe<ZodEnum<{
12297
+ credential: "credential";
12297
12298
  password: "password";
12298
12299
  oauth2: "oauth2";
12299
- credential: "credential";
12300
- }>, ZodTransform<"password" | "oauth2", "password" | "oauth2" | "credential">>;
12300
+ }>, ZodTransform<"password" | "oauth2", "credential" | "password" | "oauth2">>;
12301
12301
  type AuthProviderTypeInput = 'oauth2' | 'credential' | 'password';
12302
12302
  type AuthProviderType = 'oauth2' | 'password';
12303
12303
  type LegacyAuthProviderType = 'oauth2' | 'credential';
@@ -13365,8 +13365,8 @@ export declare const RefreshScopesRequestSchema: ZodObject<{
13365
13365
  }, $strict>;
13366
13366
  type RefreshScopesRequest = output<typeof RefreshScopesRequestSchema>;
13367
13367
  export declare const DelegationStatusSchema: ZodEnum<{
13368
- active: "active";
13369
13368
  revoked: "revoked";
13369
+ active: "active";
13370
13370
  expired: "expired";
13371
13371
  }>;
13372
13372
  type DelegationStatus = output<typeof DelegationStatusSchema>;
@@ -13381,8 +13381,8 @@ export declare const DelegationSchema: ZodObject<{
13381
13381
  scopes: ZodArray<ZodString>;
13382
13382
  constraints: ZodOptional<ZodNullable<ZodRecord<ZodString, ZodUnknown>>>;
13383
13383
  status: ZodDefault<ZodEnum<{
13384
- active: "active";
13385
13384
  revoked: "revoked";
13385
+ active: "active";
13386
13386
  expired: "expired";
13387
13387
  }>>;
13388
13388
  issuedAt: ZodString;
@@ -13539,10 +13539,10 @@ type OAuthTokensResponse = output<typeof OAuthTokensResponseSchema>;
13539
13539
  export declare const ProviderDefinitionSchema: ZodObject<{
13540
13540
  id: ZodString;
13541
13541
  type: ZodPipe<ZodEnum<{
13542
+ credential: "credential";
13542
13543
  password: "password";
13543
13544
  oauth2: "oauth2";
13544
- credential: "credential";
13545
- }>, ZodTransform<"password" | "oauth2", "password" | "oauth2" | "credential">>;
13545
+ }>, ZodTransform<"password" | "oauth2", "credential" | "password" | "oauth2">>;
13546
13546
  displayName: ZodOptional<ZodString>;
13547
13547
  configured: ZodDefault<ZodBoolean>;
13548
13548
  authorizationUrl: ZodOptional<ZodString>;
@@ -13596,8 +13596,8 @@ export declare const upstreamServerSchema: ZodObject<{
13596
13596
  staticHeadersEncrypted: ZodOptional<ZodNullable<ZodString>>;
13597
13597
  staticHeaderKeys: ZodOptional<ZodArray<ZodString>>;
13598
13598
  supportedAuthMethods: ZodDefault<ZodArray<ZodEnum<{
13599
- paste: "paste";
13600
13599
  oauth: "oauth";
13600
+ paste: "paste";
13601
13601
  }>>>;
13602
13602
  oauthProvider: ZodOptional<ZodEnum<{
13603
13603
  github: "github";
@@ -13622,8 +13622,8 @@ export declare const upstreamServerSchema: ZodObject<{
13622
13622
  ktaReputationScore: ZodOptional<ZodNullable<ZodNumber>>;
13623
13623
  ktaFlaggedIssues: ZodOptional<ZodNullable<ZodArray<ZodObject<{
13624
13624
  severity: ZodEnum<{
13625
- critical: "critical";
13626
13625
  info: "info";
13626
+ critical: "critical";
13627
13627
  warning: "warning";
13628
13628
  }>;
13629
13629
  category: ZodString;
@@ -13637,8 +13637,8 @@ type UpstreamServer = output<typeof upstreamServerSchema>;
13637
13637
  export declare const upstreamServerInputSchema: ZodObject<{
13638
13638
  url: ZodString;
13639
13639
  projectId: ZodOptional<ZodNullable<ZodString>>;
13640
- name: ZodString;
13641
13640
  enabled: ZodDefault<ZodBoolean>;
13641
+ name: ZodString;
13642
13642
  authorizationHost: ZodOptional<ZodNullable<ZodString>>;
13643
13643
  transport: ZodDefault<ZodEnum<{
13644
13644
  http: "http";
@@ -13652,8 +13652,8 @@ export declare const upstreamServerInputSchema: ZodObject<{
13652
13652
  envVarNames: ZodOptional<ZodArray<ZodString>>;
13653
13653
  staticHeaders: ZodOptional<ZodRecord<ZodString, ZodString>>;
13654
13654
  supportedAuthMethods: ZodDefault<ZodArray<ZodEnum<{
13655
- paste: "paste";
13656
13655
  oauth: "oauth";
13656
+ paste: "paste";
13657
13657
  }>>>;
13658
13658
  oauthProvider: ZodOptional<ZodEnum<{
13659
13659
  github: "github";
@@ -13677,8 +13677,8 @@ export declare const upstreamServerInputSchema: ZodObject<{
13677
13677
  ktaReputationScore: ZodOptional<ZodNullable<ZodNumber>>;
13678
13678
  ktaFlaggedIssues: ZodOptional<ZodNullable<ZodArray<ZodObject<{
13679
13679
  severity: ZodEnum<{
13680
- critical: "critical";
13681
13680
  info: "info";
13681
+ critical: "critical";
13682
13682
  warning: "warning";
13683
13683
  }>;
13684
13684
  category: ZodString;
@@ -13715,8 +13715,8 @@ export declare const gatewayConfigSchema: ZodObject<{
13715
13715
  staticHeadersEncrypted: ZodOptional<ZodNullable<ZodString>>;
13716
13716
  staticHeaderKeys: ZodOptional<ZodArray<ZodString>>;
13717
13717
  supportedAuthMethods: ZodDefault<ZodArray<ZodEnum<{
13718
- paste: "paste";
13719
13718
  oauth: "oauth";
13719
+ paste: "paste";
13720
13720
  }>>>;
13721
13721
  oauthProvider: ZodOptional<ZodEnum<{
13722
13722
  github: "github";
@@ -13741,8 +13741,8 @@ export declare const gatewayConfigSchema: ZodObject<{
13741
13741
  ktaReputationScore: ZodOptional<ZodNullable<ZodNumber>>;
13742
13742
  ktaFlaggedIssues: ZodOptional<ZodNullable<ZodArray<ZodObject<{
13743
13743
  severity: ZodEnum<{
13744
- critical: "critical";
13745
13744
  info: "info";
13745
+ critical: "critical";
13746
13746
  warning: "warning";
13747
13747
  }>;
13748
13748
  category: ZodString;
@@ -13789,8 +13789,8 @@ export declare const gatewayConfigInputSchema: ZodObject<{
13789
13789
  upstreamServers: ZodDefault<ZodArray<ZodObject<{
13790
13790
  url: ZodString;
13791
13791
  projectId: ZodOptional<ZodNullable<ZodString>>;
13792
- name: ZodString;
13793
13792
  enabled: ZodDefault<ZodBoolean>;
13793
+ name: ZodString;
13794
13794
  authorizationHost: ZodOptional<ZodNullable<ZodString>>;
13795
13795
  transport: ZodDefault<ZodEnum<{
13796
13796
  http: "http";
@@ -13804,8 +13804,8 @@ export declare const gatewayConfigInputSchema: ZodObject<{
13804
13804
  envVarNames: ZodOptional<ZodArray<ZodString>>;
13805
13805
  staticHeaders: ZodOptional<ZodRecord<ZodString, ZodString>>;
13806
13806
  supportedAuthMethods: ZodDefault<ZodArray<ZodEnum<{
13807
- paste: "paste";
13808
13807
  oauth: "oauth";
13808
+ paste: "paste";
13809
13809
  }>>>;
13810
13810
  oauthProvider: ZodOptional<ZodEnum<{
13811
13811
  github: "github";
@@ -13829,8 +13829,8 @@ export declare const gatewayConfigInputSchema: ZodObject<{
13829
13829
  ktaReputationScore: ZodOptional<ZodNullable<ZodNumber>>;
13830
13830
  ktaFlaggedIssues: ZodOptional<ZodNullable<ZodArray<ZodObject<{
13831
13831
  severity: ZodEnum<{
13832
- critical: "critical";
13833
13832
  info: "info";
13833
+ critical: "critical";
13834
13834
  warning: "warning";
13835
13835
  }>;
13836
13836
  category: ZodString;
@@ -13945,8 +13945,8 @@ export declare const AnalyticsAgentSourcesQuerySchema: ZodObject<{
13945
13945
  }>>>;
13946
13946
  limit: ZodDefault<ZodOptional<ZodCoercedNumber<unknown>>>;
13947
13947
  sortBy: ZodDefault<ZodOptional<ZodEnum<{
13948
- confidence: "confidence";
13949
13948
  name: "name";
13949
+ confidence: "confidence";
13950
13950
  count: "count";
13951
13951
  }>>>;
13952
13952
  order: ZodDefault<ZodOptional<ZodEnum<{
@@ -14306,8 +14306,8 @@ export declare const RuleLoadOptionsSchema: ZodObject<{
14306
14306
  forceRefresh: ZodOptional<ZodBoolean>;
14307
14307
  cacheDuration: ZodOptional<ZodNumber>;
14308
14308
  validationMode: ZodOptional<ZodEnum<{
14309
- none: "none";
14310
14309
  strict: "strict";
14310
+ none: "none";
14311
14311
  loose: "loose";
14312
14312
  }>>;
14313
14313
  }, $strip>;
@@ -14339,8 +14339,8 @@ export declare const RuleMatchResultSchema: ZodObject<{
14339
14339
  category: ZodOptional<ZodEnum<{
14340
14340
  behavioral: "behavioral";
14341
14341
  userAgent: "userAgent";
14342
- signature: "signature";
14343
14342
  header: "header";
14343
+ signature: "signature";
14344
14344
  ipRange: "ipRange";
14345
14345
  }>>;
14346
14346
  confidence: ZodOptional<ZodNumber>;
@@ -14414,9 +14414,9 @@ export declare function assertVendorRangesFresh(vendors: VendorFreshnessInput[],
14414
14414
  //#endregion
14415
14415
  //#region src/policy/schemas.d.ts
14416
14416
  export declare const EnforcementActionSchema: ZodEnum<{
14417
- allow: "allow";
14418
14417
  block: "block";
14419
14418
  redirect: "redirect";
14419
+ allow: "allow";
14420
14420
  log: "log";
14421
14421
  challenge: "challenge";
14422
14422
  permit: "permit";
@@ -14628,9 +14628,9 @@ type Decision = output<typeof DecisionSchema>;
14628
14628
  export declare const ThresholdConfigSchema: ZodObject<{
14629
14629
  confidenceThreshold: ZodDefault<ZodNumber>;
14630
14630
  confidenceAction: ZodDefault<ZodEnum<{
14631
- allow: "allow";
14632
14631
  block: "block";
14633
14632
  redirect: "redirect";
14633
+ allow: "allow";
14634
14634
  log: "log";
14635
14635
  challenge: "challenge";
14636
14636
  permit: "permit";
@@ -14638,9 +14638,9 @@ export declare const ThresholdConfigSchema: ZodObject<{
14638
14638
  }>>;
14639
14639
  minReputationScore: ZodDefault<ZodNumber>;
14640
14640
  lowReputationAction: ZodDefault<ZodEnum<{
14641
- allow: "allow";
14642
14641
  block: "block";
14643
14642
  redirect: "redirect";
14643
+ allow: "allow";
14644
14644
  log: "log";
14645
14645
  challenge: "challenge";
14646
14646
  permit: "permit";
@@ -14685,12 +14685,12 @@ export declare const ConditionOperatorSchema: ZodEnum<{
14685
14685
  notIn: "notIn";
14686
14686
  }>;
14687
14687
  export declare const ConditionFieldSchema: ZodEnum<{
14688
- path: "path";
14689
14688
  origin: "origin";
14690
- agentType: "agentType";
14689
+ path: "path";
14690
+ confidence: "confidence";
14691
14691
  userAgent: "userAgent";
14692
+ agentType: "agentType";
14692
14693
  method: "method";
14693
- confidence: "confidence";
14694
14694
  riskLevel: "riskLevel";
14695
14695
  agentDid: "agentDid";
14696
14696
  clientDid: "clientDid";
@@ -14704,12 +14704,12 @@ export declare const ConditionFieldSchema: ZodEnum<{
14704
14704
  export declare const ConditionValueSchema: ZodUnion<readonly [ZodString, ZodNumber, ZodBoolean, ZodArray<ZodString>]>;
14705
14705
  export declare const PolicyConditionSchema: ZodObject<{
14706
14706
  field: ZodEnum<{
14707
- path: "path";
14708
14707
  origin: "origin";
14709
- agentType: "agentType";
14708
+ path: "path";
14709
+ confidence: "confidence";
14710
14710
  userAgent: "userAgent";
14711
+ agentType: "agentType";
14711
14712
  method: "method";
14712
- confidence: "confidence";
14713
14713
  riskLevel: "riskLevel";
14714
14714
  agentDid: "agentDid";
14715
14715
  clientDid: "clientDid";
@@ -14750,12 +14750,12 @@ export declare const PolicyRuleSchema: ZodObject<{
14750
14750
  priority: ZodDefault<ZodNumber>;
14751
14751
  conditions: ZodArray<ZodObject<{
14752
14752
  field: ZodEnum<{
14753
- path: "path";
14754
14753
  origin: "origin";
14755
- agentType: "agentType";
14754
+ path: "path";
14755
+ confidence: "confidence";
14756
14756
  userAgent: "userAgent";
14757
+ agentType: "agentType";
14757
14758
  method: "method";
14758
- confidence: "confidence";
14759
14759
  riskLevel: "riskLevel";
14760
14760
  agentDid: "agentDid";
14761
14761
  clientDid: "clientDid";
@@ -14785,9 +14785,9 @@ export declare const PolicyRuleSchema: ZodObject<{
14785
14785
  caseInsensitive: ZodOptional<ZodBoolean>;
14786
14786
  }, $strip>>;
14787
14787
  action: ZodEnum<{
14788
- allow: "allow";
14789
14788
  block: "block";
14790
14789
  redirect: "redirect";
14790
+ allow: "allow";
14791
14791
  log: "log";
14792
14792
  challenge: "challenge";
14793
14793
  permit: "permit";
@@ -14811,9 +14811,9 @@ export declare const PolicyConfigSchema: ZodObject<{
14811
14811
  version: ZodDefault<ZodString>;
14812
14812
  enabled: ZodDefault<ZodBoolean>;
14813
14813
  defaultAction: ZodDefault<ZodEnum<{
14814
- allow: "allow";
14815
14814
  block: "block";
14816
14815
  redirect: "redirect";
14816
+ allow: "allow";
14817
14817
  log: "log";
14818
14818
  challenge: "challenge";
14819
14819
  permit: "permit";
@@ -14823,9 +14823,9 @@ export declare const PolicyConfigSchema: ZodObject<{
14823
14823
  thresholds: ZodPrefault<ZodObject<{
14824
14824
  confidenceThreshold: ZodDefault<ZodNumber>;
14825
14825
  confidenceAction: ZodDefault<ZodEnum<{
14826
- allow: "allow";
14827
14826
  block: "block";
14828
14827
  redirect: "redirect";
14828
+ allow: "allow";
14829
14829
  log: "log";
14830
14830
  challenge: "challenge";
14831
14831
  permit: "permit";
@@ -14833,9 +14833,9 @@ export declare const PolicyConfigSchema: ZodObject<{
14833
14833
  }>>;
14834
14834
  minReputationScore: ZodDefault<ZodNumber>;
14835
14835
  lowReputationAction: ZodDefault<ZodEnum<{
14836
- allow: "allow";
14837
14836
  block: "block";
14838
14837
  redirect: "redirect";
14838
+ allow: "allow";
14839
14839
  log: "log";
14840
14840
  challenge: "challenge";
14841
14841
  permit: "permit";
@@ -14871,12 +14871,12 @@ export declare const PolicyConfigSchema: ZodObject<{
14871
14871
  priority: ZodDefault<ZodNumber>;
14872
14872
  conditions: ZodArray<ZodObject<{
14873
14873
  field: ZodEnum<{
14874
- path: "path";
14875
14874
  origin: "origin";
14876
- agentType: "agentType";
14875
+ path: "path";
14876
+ confidence: "confidence";
14877
14877
  userAgent: "userAgent";
14878
+ agentType: "agentType";
14878
14879
  method: "method";
14879
- confidence: "confidence";
14880
14880
  riskLevel: "riskLevel";
14881
14881
  agentDid: "agentDid";
14882
14882
  clientDid: "clientDid";
@@ -14906,9 +14906,9 @@ export declare const PolicyConfigSchema: ZodObject<{
14906
14906
  caseInsensitive: ZodOptional<ZodBoolean>;
14907
14907
  }, $strip>>;
14908
14908
  action: ZodEnum<{
14909
- allow: "allow";
14910
14909
  block: "block";
14911
14910
  redirect: "redirect";
14911
+ allow: "allow";
14912
14912
  log: "log";
14913
14913
  challenge: "challenge";
14914
14914
  permit: "permit";
@@ -14962,9 +14962,9 @@ export declare const PolicyMatchTypeSchema: ZodEnum<{
14962
14962
  }>;
14963
14963
  export declare const PolicyEvaluationResultSchema: ZodObject<{
14964
14964
  action: ZodEnum<{
14965
- allow: "allow";
14966
14965
  block: "block";
14967
14966
  redirect: "redirect";
14967
+ allow: "allow";
14968
14968
  log: "log";
14969
14969
  challenge: "challenge";
14970
14970
  permit: "permit";