@kya-os/checkpoint-shared 1.8.0 → 1.10.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +61 -0
- package/README.md +1 -1
- package/dist/agent-catalog.d.mts +12 -0
- package/dist/agent-catalog.d.mts.map +1 -0
- package/dist/agent-catalog.d.ts +12 -0
- package/dist/agent-catalog.d.ts.map +1 -0
- package/dist/agent-catalog.js +105 -0
- package/dist/agent-catalog.mjs +105 -0
- package/dist/agent-catalog.mjs.map +1 -0
- package/dist/beacon-types/index.d.mts +18 -0
- package/dist/beacon-types/index.d.mts.map +1 -1
- package/dist/beacon-types/index.d.ts +18 -0
- package/dist/beacon-types/index.d.ts.map +1 -1
- package/dist/beacon-types/index.js +116 -12
- package/dist/beacon-types/index.mjs +105 -13
- package/dist/beacon-types/index.mjs.map +1 -1
- package/dist/browser-posture-5fPrsxx7.d.mts.map +1 -1
- package/dist/browser-posture-CCR1kh5e.d.ts.map +1 -1
- package/dist/browser-posture-cookie.js +1 -1
- package/dist/browser-posture-cookie.mjs +1 -1
- package/dist/browser-posture-cookie.mjs.map +1 -1
- package/dist/browser-posture-proof-verifier-DvsOmFrM.js +202 -0
- package/dist/browser-posture-proof-verifier-I0HP2Ics.mjs +180 -0
- package/dist/browser-posture-proof-verifier-I0HP2Ics.mjs.map +1 -0
- package/dist/browser-posture-proof-verifier.d.mts +25 -0
- package/dist/browser-posture-proof-verifier.d.mts.map +1 -0
- package/dist/browser-posture-proof-verifier.d.ts +25 -0
- package/dist/browser-posture-proof-verifier.d.ts.map +1 -0
- package/dist/browser-posture-proof-verifier.js +7 -0
- package/dist/browser-posture-proof-verifier.mjs +3 -0
- package/dist/browser-posture-proof.d.mts +3 -18
- package/dist/browser-posture-proof.d.mts.map +1 -1
- package/dist/browser-posture-proof.d.ts +3 -18
- package/dist/browser-posture-proof.d.ts.map +1 -1
- package/dist/browser-posture-proof.js +6 -131
- package/dist/browser-posture-proof.mjs +1 -126
- package/dist/browser-posture-proof.mjs.map +1 -1
- package/dist/browser-posture.js +36 -5
- package/dist/browser-posture.mjs +36 -5
- package/dist/browser-posture.mjs.map +1 -1
- package/dist/browser.d.mts +0 -282
- package/dist/browser.d.mts.map +1 -1
- package/dist/browser.d.ts +0 -282
- package/dist/browser.d.ts.map +1 -1
- package/dist/browser.js +1 -1
- package/dist/browser.mjs +1 -1
- package/dist/browser.mjs.map +1 -1
- package/dist/canonical-signer/index.mjs.map +1 -1
- package/dist/consent-handoff.d.mts +0 -3
- package/dist/consent-handoff.d.mts.map +1 -1
- package/dist/consent-handoff.d.ts +0 -3
- package/dist/consent-handoff.d.ts.map +1 -1
- package/dist/consent-handoff.mjs.map +1 -1
- package/dist/default-sign-in-host.d.mts +10 -0
- package/dist/default-sign-in-host.d.mts.map +1 -0
- package/dist/default-sign-in-host.d.ts +10 -0
- package/dist/default-sign-in-host.d.ts.map +1 -0
- package/dist/default-sign-in-host.js +72 -0
- package/dist/default-sign-in-host.mjs +66 -0
- package/dist/default-sign-in-host.mjs.map +1 -0
- package/dist/deploy/index.d.mts +1 -0
- package/dist/deploy/index.d.mts.map +1 -1
- package/dist/deploy/index.d.ts +1 -0
- package/dist/deploy/index.d.ts.map +1 -1
- package/dist/deploy/index.js +9 -1
- package/dist/deploy/index.mjs +9 -1
- package/dist/deploy/index.mjs.map +1 -1
- package/dist/errors/index.d.mts +1 -0
- package/dist/errors/index.d.mts.map +1 -1
- package/dist/errors/index.d.ts +1 -0
- package/dist/errors/index.d.ts.map +1 -1
- package/dist/errors/index.js +5 -2
- package/dist/errors/index.mjs +5 -2
- package/dist/errors/index.mjs.map +1 -1
- package/dist/{fetcher-CivUCbhL.d.ts → fetcher-CCw4Q95g.d.ts} +2 -2
- package/dist/{fetcher-CivUCbhL.d.ts.map → fetcher-CCw4Q95g.d.ts.map} +1 -1
- package/dist/{fetcher-cXQsbm6s.d.mts → fetcher-CZfLcbRZ.d.mts} +2 -2
- package/dist/{fetcher-cXQsbm6s.d.mts.map → fetcher-CZfLcbRZ.d.mts.map} +1 -1
- package/dist/gateway-client-ip.d.mts +0 -2
- package/dist/gateway-client-ip.d.mts.map +1 -1
- package/dist/gateway-client-ip.d.ts +0 -2
- package/dist/gateway-client-ip.d.ts.map +1 -1
- package/dist/gateway-client-ip.mjs.map +1 -1
- package/dist/host-adapter/index.d.mts +1 -1
- package/dist/host-adapter/index.d.ts +1 -1
- package/dist/host-adapter/index.js +1 -1
- package/dist/host-adapter/index.mjs +1 -1
- package/dist/{host-adapter-DHyISsIf.mjs → host-adapter-BKdQHwbi.mjs} +2 -2
- package/dist/{host-adapter-DHyISsIf.mjs.map → host-adapter-BKdQHwbi.mjs.map} +1 -1
- package/dist/{host-adapter-0F8EpbD6.js → host-adapter-bWftXA9T.js} +1 -1
- package/dist/{index-CXbOY7gB.d.ts → index-Cdv_FH0H.d.ts} +3 -3
- package/dist/{index-CXbOY7gB.d.ts.map → index-Cdv_FH0H.d.ts.map} +1 -1
- package/dist/{index-B3cHxr3O.d.mts → index-DL_dmQBY.d.mts} +3 -3
- package/dist/{index-B3cHxr3O.d.mts.map → index-DL_dmQBY.d.mts.map} +1 -1
- package/dist/index.d.mts +124 -463
- package/dist/index.d.mts.map +1 -1
- package/dist/index.d.ts +124 -463
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +52 -468
- package/dist/index.mjs +40 -435
- package/dist/index.mjs.map +1 -1
- package/dist/{kya-http-error-codes-UYb1zpGM.js → kya-http-error-codes-B4rUmUEI.js} +2 -0
- package/dist/{kya-http-error-codes-7ewV5RuK.d.ts → kya-http-error-codes-C14E4gi3.d.mts} +2 -1
- package/dist/kya-http-error-codes-C14E4gi3.d.mts.map +1 -0
- package/dist/{kya-http-error-codes-7ewV5RuK.d.mts → kya-http-error-codes-C14E4gi3.d.ts} +2 -1
- package/dist/kya-http-error-codes-C14E4gi3.d.ts.map +1 -0
- package/dist/{kya-http-error-codes-C2JiWPsi.mjs → kya-http-error-codes-DSBrxNry.mjs} +3 -1
- package/dist/kya-http-error-codes-DSBrxNry.mjs.map +1 -0
- package/dist/kya-http.d.mts +3 -3
- package/dist/kya-http.d.ts +3 -3
- package/dist/kya-http.js +7 -3
- package/dist/kya-http.mjs +3 -3
- package/dist/mcpi/dashboard-config/index.d.mts.map +1 -1
- package/dist/mcpi/dashboard-config/index.d.ts.map +1 -1
- package/dist/mcpi/dashboard-config/index.mjs.map +1 -1
- package/dist/{patterns-B2r7M9wR.js → patterns-CiMpbdAF.js} +1 -1
- package/dist/{patterns-B7dQoeE3.mjs → patterns-D4OAsNQY.mjs} +2 -2
- package/dist/{patterns-B7dQoeE3.mjs.map → patterns-D4OAsNQY.mjs.map} +1 -1
- package/dist/patterns.js +1 -1
- package/dist/patterns.mjs +1 -1
- package/dist/policy/fetcher.d.mts +1 -1
- package/dist/policy/fetcher.d.ts +1 -1
- package/dist/policy/schemas.d.mts +1 -1
- package/dist/policy/schemas.d.ts +1 -1
- package/dist/{registered-sid-DVGTSH0L.js → registered-sid-BZfDOfXy.js} +107 -4
- package/dist/{registered-sid-26hNxp6t.mjs → registered-sid-CS9V8nPr.mjs} +85 -6
- package/dist/registered-sid-CS9V8nPr.mjs.map +1 -0
- package/dist/{registered-sid-D6KCaT1E.d.ts → registered-sid-CnWIU_l1.d.mts} +13 -2
- package/dist/registered-sid-CnWIU_l1.d.mts.map +1 -0
- package/dist/{registered-sid-D6KCaT1E.d.mts → registered-sid-CnWIU_l1.d.ts} +13 -2
- package/dist/registered-sid-CnWIU_l1.d.ts.map +1 -0
- package/dist/{schemas-02CI7jgm.d.mts → schemas-BhC88D1-.d.mts} +17 -17
- package/dist/{schemas-02CI7jgm.d.mts.map → schemas-BhC88D1-.d.mts.map} +1 -1
- package/dist/{schemas-C_3C72SR.d.ts → schemas-DZa1ouGs.d.ts} +17 -17
- package/dist/{schemas-C_3C72SR.d.ts.map → schemas-DZa1ouGs.d.ts.map} +1 -1
- package/dist/signals/index.d.mts.map +1 -1
- package/dist/signals/index.d.ts.map +1 -1
- package/dist/signals/index.js +4 -0
- package/dist/signals/index.mjs +4 -0
- package/dist/signals/index.mjs.map +1 -1
- package/dist/tool-protection/index.d.mts +12 -0
- package/dist/tool-protection/index.d.mts.map +1 -1
- package/dist/tool-protection/index.d.ts +12 -0
- package/dist/tool-protection/index.d.ts.map +1 -1
- package/dist/tool-protection/index.js +46 -0
- package/dist/tool-protection/index.mjs +44 -1
- package/dist/tool-protection/index.mjs.map +1 -1
- package/fixtures/kya-http/error-codes.json +2 -1
- package/package.json +19 -3
- package/dist/kya-http-error-codes-7ewV5RuK.d.mts.map +0 -1
- package/dist/kya-http-error-codes-7ewV5RuK.d.ts.map +0 -1
- package/dist/kya-http-error-codes-C2JiWPsi.mjs.map +0 -1
- package/dist/registered-sid-26hNxp6t.mjs.map +0 -1
- package/dist/registered-sid-D6KCaT1E.d.mts.map +0 -1
- package/dist/registered-sid-D6KCaT1E.d.ts.map +0 -1
package/dist/index.js
CHANGED
|
@@ -31,16 +31,18 @@ const require_schemas = require('./schemas-BlScS1it.js');
|
|
|
31
31
|
const require_detection_reason_mapping = require('./detection-reason-mapping-B9RSkOs8.js');
|
|
32
32
|
const require_ruleset_hash = require('./ruleset-hash-Cmv8MSO5.js');
|
|
33
33
|
const require_verification = require('./verification-BAw9N8Pt.js');
|
|
34
|
-
const
|
|
34
|
+
const require_agent_catalog = require('./agent-catalog.js');
|
|
35
|
+
const require_patterns = require('./patterns-CiMpbdAF.js');
|
|
35
36
|
const require_posture_origins = require('./posture-origins-Ci6k4Zh1.js');
|
|
36
|
-
const require_host_adapter = require('./host-adapter-
|
|
37
|
+
const require_host_adapter = require('./host-adapter-bWftXA9T.js');
|
|
37
38
|
const require_client_ip = require('./client-ip-B8wFzJ5f.js');
|
|
38
39
|
const require_schemas$1 = require('./schemas-Cm4C4Z5G.js');
|
|
39
40
|
const require_engine_enforcing = require('./engine-enforcing-AYEcgNsb.js');
|
|
40
41
|
const require_step_up = require('./step-up-Bp8RAQwv.js');
|
|
41
42
|
const require_policy_fetcher = require('./policy/fetcher.js');
|
|
42
|
-
const require_kya_http_error_codes = require('./kya-http-error-codes-
|
|
43
|
-
const require_registered_sid = require('./registered-sid-
|
|
43
|
+
const require_kya_http_error_codes = require('./kya-http-error-codes-B4rUmUEI.js');
|
|
44
|
+
const require_registered_sid = require('./registered-sid-BZfDOfXy.js');
|
|
45
|
+
const require_default_sign_in_host = require('./default-sign-in-host.js');
|
|
44
46
|
let _noble_hashes_sha2_js = require("@noble/hashes/sha2.js");
|
|
45
47
|
let _noble_hashes_utils_js = require("@noble/hashes/utils.js");
|
|
46
48
|
let js_yaml = require("js-yaml");
|
|
@@ -209,8 +211,8 @@ function mapProxyAssertions(proxyAssertions, nowSeconds, collectionState, compat
|
|
|
209
211
|
* live-cutover semantics — this module does not change without a matching
|
|
210
212
|
* decision recorded there.
|
|
211
213
|
*/
|
|
212
|
-
/** Wire shape: 0-1, two decimals, `null` when
|
|
213
|
-
const RiskScoreSchema = require_schemas.number().min(0).max(1).nullable().describe("
|
|
214
|
+
/** Wire shape: 0-1, two decimals, `null` when no score was computed. */
|
|
215
|
+
const RiskScoreSchema = require_schemas.number().min(0).max(1).nullable().describe("How likely the request is to be automated, from 0 to 1 with two decimals; riskScoreSource says whether it is calibrated. Null when no score was computed for the request. Independent of confidence: neither is derived from the other.");
|
|
214
216
|
/**
|
|
215
217
|
* Which metadata key `riskScore` was derived from. Always `'uncalibrated'`
|
|
216
218
|
* today: `riskScoreFromMetadata` reads only `shadow_noisy_or_confidence`,
|
|
@@ -221,7 +223,7 @@ const RiskScoreSchema = require_schemas.number().min(0).max(1).nullable().descri
|
|
|
221
223
|
* PR makes explicitly (bestbrian, PR #4999); this field exists so that
|
|
222
224
|
* switch is an observable wire change the day it happens, not a silent one.
|
|
223
225
|
*/
|
|
224
|
-
const RiskScoreSourceSchema = require_schemas._enum(["uncalibrated", "calibrated"]).nullable().describe("
|
|
226
|
+
const RiskScoreSourceSchema = require_schemas._enum(["uncalibrated", "calibrated"]).nullable().describe("How riskScore was produced: 'uncalibrated' (a relative score: higher means more likely automated, but it is not an observed frequency) or 'calibrated' (mapped to observed outcomes, so it reads as a probability). Null exactly when riskScore is null.");
|
|
225
227
|
/** The `detectionDetail.metadata` key `riskScore` derives from. */
|
|
226
228
|
const SHADOW_NOISY_OR_CONFIDENCE_KEY = "shadow_noisy_or_confidence";
|
|
227
229
|
/**
|
|
@@ -587,14 +589,12 @@ const DetectionDetailSchema = require_schemas.object({
|
|
|
587
589
|
*/
|
|
588
590
|
confidence: require_schemas.number().min(0).max(100),
|
|
589
591
|
/**
|
|
590
|
-
*
|
|
591
|
-
*
|
|
592
|
-
*
|
|
593
|
-
* `riskScoreFromMetadata` — always additive, never derived from or fed
|
|
594
|
-
* back into `confidence` above.
|
|
592
|
+
* How likely the request is to be automated (0-1, two decimals), or
|
|
593
|
+
* `null` when no score was computed. See `RiskScoreSchema` — never
|
|
594
|
+
* derived from or fed back into `confidence` above.
|
|
595
595
|
*/
|
|
596
596
|
riskScore: RiskScoreSchema.optional(),
|
|
597
|
-
/**
|
|
597
|
+
/** Whether `riskScore` is calibrated. See `RiskScoreSourceSchema`. */
|
|
598
598
|
riskScoreSource: RiskScoreSourceSchema.optional(),
|
|
599
599
|
detectionClass: DetectionClassSchema,
|
|
600
600
|
confidenceLevel: require_schemas._enum([
|
|
@@ -2019,7 +2019,8 @@ const INTERNAL_ERRORS = {
|
|
|
2019
2019
|
SERVICE_UNAVAILABLE_TRANSIENT: "SERVICE_UNAVAILABLE_TRANSIENT",
|
|
2020
2020
|
TRANSACTION_FAILED: "TRANSACTION_FAILED",
|
|
2021
2021
|
DELETE_FAILED: "DELETE_FAILED",
|
|
2022
|
-
PARTITION_RETIREMENT_IN_PROGRESS: "PARTITION_RETIREMENT_IN_PROGRESS"
|
|
2022
|
+
PARTITION_RETIREMENT_IN_PROGRESS: "PARTITION_RETIREMENT_IN_PROGRESS",
|
|
2023
|
+
FLY_CLEANUP_FAILED: "FLY_CLEANUP_FAILED"
|
|
2023
2024
|
};
|
|
2024
2025
|
/**
|
|
2025
2026
|
* Session Error Codes
|
|
@@ -2430,9 +2431,10 @@ const ERROR_MESSAGES = {
|
|
|
2430
2431
|
[INTERNAL_ERRORS.PROCESSING_ERROR]: "Processing error",
|
|
2431
2432
|
[INTERNAL_ERRORS.UNKNOWN_ERROR]: "An unknown error occurred",
|
|
2432
2433
|
[INTERNAL_ERRORS.SERVICE_UNAVAILABLE_TRANSIENT]: "A dependency is temporarily unavailable. Retry shortly.",
|
|
2433
|
-
[INTERNAL_ERRORS.TRANSACTION_FAILED]: "The deletion failed because of a database error.
|
|
2434
|
+
[INTERNAL_ERRORS.TRANSACTION_FAILED]: "The deletion failed because of a database error. The project was not deleted.",
|
|
2434
2435
|
[INTERNAL_ERRORS.DELETE_FAILED]: "Failed to delete project",
|
|
2435
2436
|
[INTERNAL_ERRORS.PARTITION_RETIREMENT_IN_PROGRESS]: "The project data is being archived. Retry shortly.",
|
|
2437
|
+
[INTERNAL_ERRORS.FLY_CLEANUP_FAILED]: "Couldn't stop a managed agent's machine, so the delete was refused. Retry the delete.",
|
|
2436
2438
|
[SESSION_ERRORS.SESSION_NOT_FOUND]: "Session not found",
|
|
2437
2439
|
[SESSION_ERRORS.SESSION_EXPIRED]: "Session has expired",
|
|
2438
2440
|
[SESSION_ERRORS.SESSION_INVALID]: "Session is invalid",
|
|
@@ -2771,6 +2773,7 @@ const ERROR_STATUS_CODES = {
|
|
|
2771
2773
|
[AUDIT_PROTOCOL_ERRORS.AUDIT_MIRROR_OUT_OF_ORDER]: 500,
|
|
2772
2774
|
[GATEWAY_VAULT_ERRORS.GATEWAY_NOT_CONFIGURED]: 500,
|
|
2773
2775
|
[NETWORK_ERRORS.UPSTREAM_ERROR]: 502,
|
|
2776
|
+
[INTERNAL_ERRORS.FLY_CLEANUP_FAILED]: 502,
|
|
2774
2777
|
[INTERNAL_ERRORS.INITIALIZATION_ERROR]: 503,
|
|
2775
2778
|
[INTERNAL_ERRORS.SERVICE_UNAVAILABLE_TRANSIENT]: 503,
|
|
2776
2779
|
[INTERNAL_ERRORS.PARTITION_RETIREMENT_IN_PROGRESS]: 503,
|
|
@@ -3485,6 +3488,8 @@ const ClientDetectionSchema = require_schemas.object({
|
|
|
3485
3488
|
keyDwellCount: require_schemas.number().optional(),
|
|
3486
3489
|
keyDwellUnder5: require_schemas.number().optional(),
|
|
3487
3490
|
keyDwellSumMs: require_schemas.number().optional(),
|
|
3491
|
+
keyDwellCongested: require_schemas.number().int().nonnegative().optional(),
|
|
3492
|
+
keyDwellStampFlat: require_schemas.number().int().nonnegative().optional(),
|
|
3488
3493
|
keyGapCount: require_schemas.number().optional(),
|
|
3489
3494
|
keyGapUnder5: require_schemas.number().optional(),
|
|
3490
3495
|
pressCount: require_schemas.number().optional(),
|
|
@@ -3492,6 +3497,8 @@ const ClientDetectionSchema = require_schemas.object({
|
|
|
3492
3497
|
pressAdjacentUnder5: require_schemas.number().int().nonnegative().optional(),
|
|
3493
3498
|
pressUnder10: require_schemas.number().optional(),
|
|
3494
3499
|
pressSumMs: require_schemas.number().optional(),
|
|
3500
|
+
pressCongested: require_schemas.number().int().nonnegative().optional(),
|
|
3501
|
+
pressStampFlat: require_schemas.number().int().nonnegative().optional(),
|
|
3495
3502
|
mouseClicks: require_schemas.number().optional(),
|
|
3496
3503
|
zeroTrailClicks: require_schemas.number().optional(),
|
|
3497
3504
|
kinematicsVersion: require_schemas.number().optional(),
|
|
@@ -5593,6 +5600,7 @@ const CredentialProviderSchema = BaseAuthProviderSchema.extend({
|
|
|
5593
5600
|
type: require_schemas.literal("credential"),
|
|
5594
5601
|
authEndpoint: require_schemas.string().max(500),
|
|
5595
5602
|
requestBodyTemplate: require_schemas.record(require_schemas.string(), require_schemas.string()).optional(),
|
|
5603
|
+
requestEncoding: require_schemas._enum(["json", "form"]).optional(),
|
|
5596
5604
|
responseFields: require_schemas.object({
|
|
5597
5605
|
sessionToken: require_schemas.string(),
|
|
5598
5606
|
userId: require_schemas.string().optional(),
|
|
@@ -5865,16 +5873,6 @@ const ConsentConfigSchema = require_schemas.object({
|
|
|
5865
5873
|
scopeLabels: ConsentScopeLabelsSchema.optional()
|
|
5866
5874
|
});
|
|
5867
5875
|
/**
|
|
5868
|
-
* Tool Consent Overrides (CRED-002)
|
|
5869
|
-
* Per-tool customization for consent pages
|
|
5870
|
-
*/
|
|
5871
|
-
const ToolConsentOverridesSchema = require_schemas.object({
|
|
5872
|
-
branding: ConsentBrandingSchema.partial().optional(),
|
|
5873
|
-
terms: ConsentTermsSchema.partial().optional(),
|
|
5874
|
-
headerText: require_schemas.string().max(255).optional(),
|
|
5875
|
-
description: require_schemas.string().max(1e3).optional()
|
|
5876
|
-
}).optional();
|
|
5877
|
-
/**
|
|
5878
5876
|
* Bouncer Config (for GET response)
|
|
5879
5877
|
*/
|
|
5880
5878
|
const BouncerConfigSchema = require_schemas.object({
|
|
@@ -5937,85 +5935,13 @@ const UpdateBouncerConfigSchema = require_schemas.object({
|
|
|
5937
5935
|
* Refresh Scopes Request
|
|
5938
5936
|
*/
|
|
5939
5937
|
const RefreshScopesRequestSchema = require_schemas.object({ mcpServerUrl: httpUrlSchema().optional() }).strict();
|
|
5940
|
-
|
|
5941
|
-
* Delegation Status
|
|
5942
|
-
*/
|
|
5943
|
-
const DelegationStatusSchema = require_schemas._enum([
|
|
5944
|
-
"active",
|
|
5945
|
-
"expired",
|
|
5946
|
-
"revoked"
|
|
5947
|
-
]);
|
|
5948
|
-
/**
|
|
5949
|
-
* Delegation (for GET response)
|
|
5950
|
-
*/
|
|
5951
|
-
const DelegationSchema = require_schemas.object({
|
|
5952
|
-
id: require_schemas.string().uuid(),
|
|
5953
|
-
projectId: require_schemas.string().uuid(),
|
|
5954
|
-
agentDid: require_schemas.string().max(500),
|
|
5955
|
-
agentName: require_schemas.string().max(255).nullable().optional(),
|
|
5956
|
-
userDid: require_schemas.string().max(500).nullable().optional(),
|
|
5957
|
-
userId: require_schemas.string().max(500).nullable().optional(),
|
|
5958
|
-
userIdentifier: require_schemas.string().max(500).nullable().optional(),
|
|
5959
|
-
scopes: require_schemas.array(require_schemas.string()),
|
|
5960
|
-
constraints: require_schemas.record(require_schemas.string(), require_schemas.unknown()).nullable().optional(),
|
|
5961
|
-
status: DelegationStatusSchema.default("active"),
|
|
5962
|
-
issuedAt: require_schemas.string().datetime(),
|
|
5963
|
-
expiresAt: require_schemas.string().datetime().nullable().optional(),
|
|
5964
|
-
revokedAt: require_schemas.string().datetime().nullable().optional(),
|
|
5965
|
-
revocationReason: require_schemas.string().max(500).nullable().optional(),
|
|
5966
|
-
credentialJwt: require_schemas.string().nullable().optional(),
|
|
5967
|
-
metadata: require_schemas.record(require_schemas.string(), require_schemas.unknown()).default({}),
|
|
5968
|
-
createdAt: require_schemas.string().datetime(),
|
|
5969
|
-
updatedAt: require_schemas.string().datetime()
|
|
5970
|
-
});
|
|
5971
|
-
/**
|
|
5972
|
-
* Bouncer Proof Outcome
|
|
5973
|
-
*/
|
|
5974
|
-
const BouncerOutcomeSchema = require_schemas._enum([
|
|
5938
|
+
require_schemas._enum([
|
|
5975
5939
|
"success",
|
|
5976
5940
|
"failed",
|
|
5977
5941
|
"blocked",
|
|
5978
5942
|
"error"
|
|
5979
5943
|
]);
|
|
5980
5944
|
/**
|
|
5981
|
-
* Bouncer Proof (for GET response)
|
|
5982
|
-
*/
|
|
5983
|
-
const BouncerProofSchema = require_schemas.object({
|
|
5984
|
-
id: require_schemas.string().uuid(),
|
|
5985
|
-
projectId: require_schemas.string().uuid(),
|
|
5986
|
-
delegationId: require_schemas.string().uuid().nullable().optional(),
|
|
5987
|
-
sessionId: require_schemas.string().max(100),
|
|
5988
|
-
agentDid: require_schemas.string().max(500),
|
|
5989
|
-
userIdentifier: require_schemas.string().max(500).nullable().optional(),
|
|
5990
|
-
toolName: require_schemas.string().max(255),
|
|
5991
|
-
toolArgs: require_schemas.record(require_schemas.string(), require_schemas.unknown()).nullable().optional(),
|
|
5992
|
-
toolResult: require_schemas.record(require_schemas.string(), require_schemas.unknown()).nullable().optional(),
|
|
5993
|
-
scopes: require_schemas.array(require_schemas.string()).nullable().optional(),
|
|
5994
|
-
signature: require_schemas.string(),
|
|
5995
|
-
publicKey: require_schemas.string(),
|
|
5996
|
-
timestamp: require_schemas.number().int(),
|
|
5997
|
-
nonce: require_schemas.string().max(100),
|
|
5998
|
-
crispDelta: require_schemas.record(require_schemas.string(), require_schemas.unknown()).nullable().optional(),
|
|
5999
|
-
outcome: BouncerOutcomeSchema.default("success"),
|
|
6000
|
-
errorMessage: require_schemas.string().nullable().optional(),
|
|
6001
|
-
createdAt: require_schemas.string().datetime()
|
|
6002
|
-
});
|
|
6003
|
-
/**
|
|
6004
|
-
* Delegation Polling Status
|
|
6005
|
-
*/
|
|
6006
|
-
const DelegationPollingStatusSchema = require_schemas.object({
|
|
6007
|
-
status: require_schemas._enum([
|
|
6008
|
-
"pending",
|
|
6009
|
-
"completed",
|
|
6010
|
-
"expired",
|
|
6011
|
-
"error"
|
|
6012
|
-
]),
|
|
6013
|
-
delegationJwt: require_schemas.string().optional(),
|
|
6014
|
-
authUrl: httpUrlSchema().optional(),
|
|
6015
|
-
errorMessage: require_schemas.string().optional(),
|
|
6016
|
-
expiresAt: require_schemas.string().datetime().optional()
|
|
6017
|
-
});
|
|
6018
|
-
/**
|
|
6019
5945
|
* Custom URL validator that allows:
|
|
6020
5946
|
* - Valid URLs (standard URL format)
|
|
6021
5947
|
* - Empty strings (for optional endpoints)
|
|
@@ -6113,9 +6039,6 @@ const OAuthTokensResponseSchema = require_schemas.object({
|
|
|
6113
6039
|
* | tokenUrl | oauthConfig.tokenEndpoint | Nested in registry |
|
|
6114
6040
|
* | userInfoUrl | oauthConfig.userInfoEndpoint | Nested in registry |
|
|
6115
6041
|
*
|
|
6116
|
-
* For mapping between formats, use `toProviderRegistryFormat()` and
|
|
6117
|
-
* `fromProviderRegistryFormat()` helper functions.
|
|
6118
|
-
*
|
|
6119
6042
|
* SECURITY: This schema NEVER contains actual secret values.
|
|
6120
6043
|
* Only metadata.clientSecretName (reference to secure storage) is included.
|
|
6121
6044
|
*
|
|
@@ -6167,94 +6090,6 @@ const ProvidersConfigEnvelopeSchema = require_schemas.object({
|
|
|
6167
6090
|
signature: require_schemas.string().regex(/^[a-f0-9]{64}$/).optional(),
|
|
6168
6091
|
signedFields: require_schemas.array(require_schemas.string()).optional()
|
|
6169
6092
|
});
|
|
6170
|
-
/**
|
|
6171
|
-
* Convert Checkpoint ProviderDefinition to canonical @kya-os/provider-registry format.
|
|
6172
|
-
*
|
|
6173
|
-
* Use this when sending provider config to KYA-OS agents that expect the canonical format.
|
|
6174
|
-
*
|
|
6175
|
-
* @example
|
|
6176
|
-
* ```typescript
|
|
6177
|
-
* const agentShieldProvider: ProviderDefinition = { ... };
|
|
6178
|
-
* const canonicalProvider = toProviderRegistryFormat(agentShieldProvider);
|
|
6179
|
-
* // Now canonicalProvider has nested oauthConfig structure
|
|
6180
|
-
* ```
|
|
6181
|
-
*/
|
|
6182
|
-
function toProviderRegistryFormat(provider) {
|
|
6183
|
-
const { type, authorizationUrl, tokenUrl, userInfoUrl, ...rest } = provider;
|
|
6184
|
-
const authType = type;
|
|
6185
|
-
const result = {
|
|
6186
|
-
id: rest.id,
|
|
6187
|
-
authType,
|
|
6188
|
-
displayName: rest.displayName,
|
|
6189
|
-
defaultScopes: rest.defaultScopes || rest.scopes,
|
|
6190
|
-
metadata: rest.metadata
|
|
6191
|
-
};
|
|
6192
|
-
if (authType === "oauth2" && (authorizationUrl || tokenUrl)) result.oauthConfig = {
|
|
6193
|
-
authorizationEndpoint: authorizationUrl || "",
|
|
6194
|
-
tokenEndpoint: tokenUrl || "",
|
|
6195
|
-
userInfoEndpoint: userInfoUrl,
|
|
6196
|
-
supportsPKCE: rest.supportsPKCE,
|
|
6197
|
-
requiresClientSecret: rest.requiresClientSecret,
|
|
6198
|
-
defaultScopes: rest.defaultScopes || rest.scopes
|
|
6199
|
-
};
|
|
6200
|
-
return result;
|
|
6201
|
-
}
|
|
6202
|
-
/**
|
|
6203
|
-
* Check if a provider auth type is supported by Checkpoint.
|
|
6204
|
-
*/
|
|
6205
|
-
function isSupportedAuthType(authType) {
|
|
6206
|
-
return authType === "oauth2" || authType === "password";
|
|
6207
|
-
}
|
|
6208
|
-
/**
|
|
6209
|
-
* Convert canonical @kya-os/provider-registry format to Checkpoint ProviderDefinition.
|
|
6210
|
-
*
|
|
6211
|
-
* Use this when receiving provider config from external sources in canonical format.
|
|
6212
|
-
*
|
|
6213
|
-
* **Note:** Only 'oauth2' and 'password' auth types are currently supported.
|
|
6214
|
-
* Providers with other auth types (passkey, magic_link, otp, etc.) will throw an error.
|
|
6215
|
-
* Use `isSupportedAuthType()` to check before calling this function.
|
|
6216
|
-
*
|
|
6217
|
-
* @throws {Error} If the provider's auth type is not supported
|
|
6218
|
-
*
|
|
6219
|
-
* @example
|
|
6220
|
-
* ```typescript
|
|
6221
|
-
* import { defaultProviderRegistry } from '@kya-os/provider-registry';
|
|
6222
|
-
*
|
|
6223
|
-
* const canonicalProvider = defaultProviderRegistry.getProvider('github');
|
|
6224
|
-
* if (canonicalProvider && isSupportedAuthType(canonicalProvider.authType)) {
|
|
6225
|
-
* const agentShieldProvider = fromProviderRegistryFormat(canonicalProvider);
|
|
6226
|
-
* // Now agentShieldProvider has flat structure for Checkpoint APIs
|
|
6227
|
-
* }
|
|
6228
|
-
* ```
|
|
6229
|
-
*/
|
|
6230
|
-
function fromProviderRegistryFormat(provider) {
|
|
6231
|
-
if (!isSupportedAuthType(provider.authType)) throw new Error(`Auth type '${provider.authType}' is not yet supported in AgentShield. Provider '${provider.id}' cannot be converted. Supported types: 'oauth2', 'password'.`);
|
|
6232
|
-
return {
|
|
6233
|
-
id: provider.id,
|
|
6234
|
-
type: provider.authType,
|
|
6235
|
-
displayName: provider.displayName,
|
|
6236
|
-
configured: false,
|
|
6237
|
-
authorizationUrl: provider.oauthConfig?.authorizationEndpoint,
|
|
6238
|
-
tokenUrl: provider.oauthConfig?.tokenEndpoint,
|
|
6239
|
-
userInfoUrl: provider.oauthConfig?.userInfoEndpoint,
|
|
6240
|
-
supportsPKCE: provider.oauthConfig?.supportsPKCE,
|
|
6241
|
-
requiresClientSecret: provider.oauthConfig?.requiresClientSecret,
|
|
6242
|
-
clientId: null,
|
|
6243
|
-
hasClientSecret: false,
|
|
6244
|
-
scopes: provider.defaultScopes,
|
|
6245
|
-
defaultScopes: provider.defaultScopes,
|
|
6246
|
-
metadata: provider.metadata
|
|
6247
|
-
};
|
|
6248
|
-
}
|
|
6249
|
-
/**
|
|
6250
|
-
* Safely convert canonical format to Checkpoint format, returning null for unsupported types.
|
|
6251
|
-
*
|
|
6252
|
-
* Use this when you want to gracefully skip unsupported providers instead of throwing.
|
|
6253
|
-
*/
|
|
6254
|
-
function fromProviderRegistryFormatSafe(provider) {
|
|
6255
|
-
if (!isSupportedAuthType(provider.authType)) return null;
|
|
6256
|
-
return fromProviderRegistryFormat(provider);
|
|
6257
|
-
}
|
|
6258
6093
|
|
|
6259
6094
|
//#endregion
|
|
6260
6095
|
//#region src/types/organization.ts
|
|
@@ -6830,7 +6665,7 @@ const UpdateOrganizationSchema = UpdateOrganizationInputSchema;
|
|
|
6830
6665
|
/**
|
|
6831
6666
|
* Analytics Schemas
|
|
6832
6667
|
*/
|
|
6833
|
-
const AnalyticsQuerySchema
|
|
6668
|
+
const AnalyticsQuerySchema = require_schemas.object({
|
|
6834
6669
|
projectId: ProjectIdSchema.optional(),
|
|
6835
6670
|
pixelId: require_schemas.string().uuid().optional(),
|
|
6836
6671
|
organizationId: require_schemas.string().uuid().optional(),
|
|
@@ -6973,8 +6808,8 @@ const DetectionSignalExposureSchema = require_schemas.object({
|
|
|
6973
6808
|
reasonCodes: require_schemas.array(DetectionReasonCodeSchema).min(1).describe("Ordered detection/* reason codes, most-significant-evidence first, derived by the same mapDetectionToReasonCodes projection that feeds the gateway KYA-Reason-Codes header. Never empty: an assumed verdict carries a zero-evidence fallback code."),
|
|
6974
6809
|
confidenceLevel: ConfidenceLevelSchema.optional().describe("The engine's banded confidence level (low | medium | high | very_high). Omitted when the engine did not produce one (engine fault, skipDetection, or a demoted forged-credential verdict)."),
|
|
6975
6810
|
isAiCrawler: require_schemas.boolean().optional().describe("True when the engine classified the client as an AI training crawler (GPTBot, ClaudeBot, …) rather than an interactive agent. Omitted when the engine did not run."),
|
|
6976
|
-
riskScore: RiskScoreSchema.optional().describe("
|
|
6977
|
-
riskScoreSource: RiskScoreSourceSchema.optional().describe("
|
|
6811
|
+
riskScore: RiskScoreSchema.optional().describe("How likely the request is to be automated, from 0 to 1 with two decimals; riskScoreSource says whether it is calibrated. Null when no score was computed for the request. Distinct from `confidence` above, which is never derived from it."),
|
|
6812
|
+
riskScoreSource: RiskScoreSourceSchema.optional().describe("How riskScore was produced: 'uncalibrated' (a relative score: higher means more likely automated, but it is not an observed frequency) or 'calibrated' (mapped to observed outcomes, so it reads as a probability). Null exactly when riskScore is null.")
|
|
6978
6813
|
});
|
|
6979
6814
|
|
|
6980
6815
|
//#endregion
|
|
@@ -7544,7 +7379,15 @@ const HeartbeatRequestSchema = require_schemas.object({
|
|
|
7544
7379
|
/** Seconds since compute process started */
|
|
7545
7380
|
uptimeSeconds: require_schemas.number().nonnegative().optional(),
|
|
7546
7381
|
/** Current RSS memory in MB */
|
|
7547
|
-
memoryMb: require_schemas.number().nonnegative().optional()
|
|
7382
|
+
memoryMb: require_schemas.number().nonnegative().optional(),
|
|
7383
|
+
/**
|
|
7384
|
+
* ISO 8601 time (UTC, or with an offset) of the agent's last real user or channel message: the
|
|
7385
|
+
* newest `lastInteractionAt` across its OpenClaw session stores. Omitted while no session has
|
|
7386
|
+
* one. Checkpoint records it as user activity for the agent's tier. A value that isn't such a
|
|
7387
|
+
* time parses as absent instead of failing the heartbeat, which also carries `stop` and
|
|
7388
|
+
* `update_config`.
|
|
7389
|
+
*/
|
|
7390
|
+
lastUserActivityAt: require_schemas.string().datetime({ offset: true }).optional().catch(void 0)
|
|
7548
7391
|
});
|
|
7549
7392
|
/**
|
|
7550
7393
|
* Stop command — graceful shutdown, no payload accepted.
|
|
@@ -9076,29 +8919,6 @@ function deriveCorrelationId(headers, fallback) {
|
|
|
9076
8919
|
*/
|
|
9077
8920
|
const passwordSchema = require_schemas.string().min(8, "Password must be at least 8 characters long").max(128, "Password must not exceed 128 characters").regex(/^(?=.*[a-z])(?=.*[A-Z])(?=.*\d)/, "Password must contain at least one lowercase letter, one uppercase letter, and one number");
|
|
9078
8921
|
/**
|
|
9079
|
-
* Sign in validation schema
|
|
9080
|
-
*/
|
|
9081
|
-
const signInSchema = require_schemas.object({
|
|
9082
|
-
email: require_schemas.string().email("Invalid email address"),
|
|
9083
|
-
password: require_schemas.string().min(1, "Password is required")
|
|
9084
|
-
});
|
|
9085
|
-
/**
|
|
9086
|
-
* Sign up validation schema
|
|
9087
|
-
*/
|
|
9088
|
-
const signUpSchema = require_schemas.object({
|
|
9089
|
-
email: require_schemas.string().email("Invalid email address"),
|
|
9090
|
-
name: require_schemas.string().optional(),
|
|
9091
|
-
password: passwordSchema,
|
|
9092
|
-
confirmPassword: require_schemas.string()
|
|
9093
|
-
}).refine((data) => data.password === data.confirmPassword, {
|
|
9094
|
-
message: "Passwords don't match",
|
|
9095
|
-
path: ["confirmPassword"]
|
|
9096
|
-
});
|
|
9097
|
-
/**
|
|
9098
|
-
* Password reset request validation schema
|
|
9099
|
-
*/
|
|
9100
|
-
const forgotPasswordSchema = require_schemas.object({ email: require_schemas.string().email("Invalid email address") });
|
|
9101
|
-
/**
|
|
9102
8922
|
* Password reset confirmation validation schema
|
|
9103
8923
|
* Validates token and ensures passwords match
|
|
9104
8924
|
*/
|
|
@@ -9110,22 +8930,6 @@ const resetPasswordSchema = require_schemas.object({
|
|
|
9110
8930
|
message: "Passwords don't match",
|
|
9111
8931
|
path: ["confirmPassword"]
|
|
9112
8932
|
});
|
|
9113
|
-
/**
|
|
9114
|
-
* Change password validation schema
|
|
9115
|
-
* For authenticated users changing their password
|
|
9116
|
-
*/
|
|
9117
|
-
const changePasswordSchema = require_schemas.object({
|
|
9118
|
-
currentPassword: require_schemas.string().optional(),
|
|
9119
|
-
newPassword: passwordSchema,
|
|
9120
|
-
confirmPassword: require_schemas.string()
|
|
9121
|
-
}).refine((data) => data.newPassword === data.confirmPassword, {
|
|
9122
|
-
message: "Passwords don't match",
|
|
9123
|
-
path: ["confirmPassword"]
|
|
9124
|
-
});
|
|
9125
|
-
/**
|
|
9126
|
-
* Email verification validation schema
|
|
9127
|
-
*/
|
|
9128
|
-
const verifyEmailSchema = require_schemas.object({ token: require_schemas.string().min(1, "Token is required") });
|
|
9129
8933
|
|
|
9130
8934
|
//#endregion
|
|
9131
8935
|
//#region src/schemas/admin.ts
|
|
@@ -9742,190 +9546,6 @@ function strict(schema) {
|
|
|
9742
9546
|
return schema.strict();
|
|
9743
9547
|
}
|
|
9744
9548
|
|
|
9745
|
-
//#endregion
|
|
9746
|
-
//#region src/schemas/analytics.ts
|
|
9747
|
-
/**
|
|
9748
|
-
* Analytics Schemas
|
|
9749
|
-
*
|
|
9750
|
-
* Schemas for analytics API endpoints
|
|
9751
|
-
* Used for validation and type safety in analytics routes
|
|
9752
|
-
*/
|
|
9753
|
-
/**
|
|
9754
|
-
* Base Analytics Query Schema
|
|
9755
|
-
* Extended by specific analytics endpoints
|
|
9756
|
-
*/
|
|
9757
|
-
const AnalyticsQuerySchema = require_schemas.object({
|
|
9758
|
-
duration: require_schemas._enum([
|
|
9759
|
-
"week",
|
|
9760
|
-
"month",
|
|
9761
|
-
"quarter",
|
|
9762
|
-
"year"
|
|
9763
|
-
]).optional().default("week"),
|
|
9764
|
-
groupBy: require_schemas._enum([
|
|
9765
|
-
"day",
|
|
9766
|
-
"hour",
|
|
9767
|
-
"week",
|
|
9768
|
-
"month"
|
|
9769
|
-
]).optional().default("day"),
|
|
9770
|
-
startDate: require_schemas.string().datetime().optional(),
|
|
9771
|
-
endDate: require_schemas.string().datetime().optional()
|
|
9772
|
-
});
|
|
9773
|
-
/**
|
|
9774
|
-
* Sessions Analytics Query Schema
|
|
9775
|
-
* Used for session-specific analytics endpoints
|
|
9776
|
-
*/
|
|
9777
|
-
const AnalyticsSessionsQuerySchema = require_schemas.object({
|
|
9778
|
-
duration: require_schemas._enum(["week", "month"]).optional().default("week"),
|
|
9779
|
-
groupBy: require_schemas._enum(["day", "hour"]).optional().default("day")
|
|
9780
|
-
});
|
|
9781
|
-
/**
|
|
9782
|
-
* Agent Sources Analytics Query Schema
|
|
9783
|
-
* Used for agent source analytics endpoints
|
|
9784
|
-
*/
|
|
9785
|
-
const AnalyticsAgentSourcesQuerySchema = require_schemas.object({
|
|
9786
|
-
duration: require_schemas._enum([
|
|
9787
|
-
"week",
|
|
9788
|
-
"month",
|
|
9789
|
-
"quarter"
|
|
9790
|
-
]).optional().default("week"),
|
|
9791
|
-
limit: number().min(1).max(100).optional().default(10),
|
|
9792
|
-
sortBy: require_schemas._enum([
|
|
9793
|
-
"count",
|
|
9794
|
-
"name",
|
|
9795
|
-
"confidence"
|
|
9796
|
-
]).optional().default("count"),
|
|
9797
|
-
order: require_schemas._enum(["asc", "desc"]).optional().default("desc")
|
|
9798
|
-
});
|
|
9799
|
-
/**
|
|
9800
|
-
* Agent Types Analytics Query Schema
|
|
9801
|
-
* Used for agent type analytics endpoints
|
|
9802
|
-
*/
|
|
9803
|
-
const AnalyticsAgentTypesQuerySchema = require_schemas.object({
|
|
9804
|
-
duration: require_schemas._enum([
|
|
9805
|
-
"week",
|
|
9806
|
-
"month",
|
|
9807
|
-
"quarter"
|
|
9808
|
-
]).optional().default("week"),
|
|
9809
|
-
limit: number().min(1).max(100).optional().default(10),
|
|
9810
|
-
includeRaw: boolean().optional().default(false)
|
|
9811
|
-
});
|
|
9812
|
-
/**
|
|
9813
|
-
* Analytics Export Query Schema
|
|
9814
|
-
* Used for data export endpoints
|
|
9815
|
-
*/
|
|
9816
|
-
const AnalyticsExportQuerySchema = require_schemas.object({
|
|
9817
|
-
format: require_schemas._enum([
|
|
9818
|
-
"csv",
|
|
9819
|
-
"json",
|
|
9820
|
-
"excel"
|
|
9821
|
-
]).optional().default("csv"),
|
|
9822
|
-
startDate: require_schemas.string().datetime(),
|
|
9823
|
-
endDate: require_schemas.string().datetime(),
|
|
9824
|
-
includeMetadata: boolean().optional().default(false),
|
|
9825
|
-
includeRawData: boolean().optional().default(false)
|
|
9826
|
-
});
|
|
9827
|
-
/**
|
|
9828
|
-
* Real-time Analytics Query Schema
|
|
9829
|
-
* Used for real-time analytics endpoints
|
|
9830
|
-
*/
|
|
9831
|
-
const AnalyticsRealtimeQuerySchema = require_schemas.object({
|
|
9832
|
-
timeWindow: require_schemas._enum([
|
|
9833
|
-
"1h",
|
|
9834
|
-
"6h",
|
|
9835
|
-
"24h"
|
|
9836
|
-
]).optional().default("1h"),
|
|
9837
|
-
refreshInterval: number().min(5).max(300).optional().default(30)
|
|
9838
|
-
});
|
|
9839
|
-
/**
|
|
9840
|
-
* Analytics Time Series Data Schema
|
|
9841
|
-
* Response schema for time series data
|
|
9842
|
-
*/
|
|
9843
|
-
const AnalyticsTimeSeriesSchema = require_schemas.object({
|
|
9844
|
-
timestamp: require_schemas.string().datetime(),
|
|
9845
|
-
totalDetections: require_schemas.number().nonnegative(),
|
|
9846
|
-
agentDetections: require_schemas.number().nonnegative(),
|
|
9847
|
-
humanDetections: require_schemas.number().nonnegative(),
|
|
9848
|
-
uniqueSessions: require_schemas.number().nonnegative(),
|
|
9849
|
-
avgConfidence: require_schemas.number().min(0).max(1)
|
|
9850
|
-
});
|
|
9851
|
-
/**
|
|
9852
|
-
* Analytics Summary Stats Schema
|
|
9853
|
-
* Response schema for summary statistics
|
|
9854
|
-
*/
|
|
9855
|
-
const AnalyticsSummarySchema = require_schemas.object({
|
|
9856
|
-
totalAgentDetections: require_schemas.number().nonnegative(),
|
|
9857
|
-
totalDetections: require_schemas.number().nonnegative(),
|
|
9858
|
-
uniqueAgentSessions: require_schemas.number().nonnegative(),
|
|
9859
|
-
totalSessions: require_schemas.number().nonnegative(),
|
|
9860
|
-
avgConfidence: require_schemas.number().min(0).max(1),
|
|
9861
|
-
agentDetectionsChange: require_schemas.number(),
|
|
9862
|
-
agentDetectionsChangeCount: require_schemas.number(),
|
|
9863
|
-
totalDetectionsChange: require_schemas.number(),
|
|
9864
|
-
totalDetectionsChangeCount: require_schemas.number(),
|
|
9865
|
-
agentSessionsChange: require_schemas.number(),
|
|
9866
|
-
agentSessionsChangeCount: require_schemas.number()
|
|
9867
|
-
});
|
|
9868
|
-
/**
|
|
9869
|
-
* Analytics Chart Data Schema
|
|
9870
|
-
* Response schema for chart data points
|
|
9871
|
-
*/
|
|
9872
|
-
const AnalyticsChartDataSchema = require_schemas.object({
|
|
9873
|
-
month: require_schemas.string(),
|
|
9874
|
-
timestamp: require_schemas.string().datetime(),
|
|
9875
|
-
agentDetections: require_schemas.number().nonnegative(),
|
|
9876
|
-
totalDetections: require_schemas.number().nonnegative(),
|
|
9877
|
-
humanDetections: require_schemas.number().nonnegative(),
|
|
9878
|
-
uniqueSessions: require_schemas.number().nonnegative(),
|
|
9879
|
-
avgConfidence: require_schemas.number().min(0).max(1)
|
|
9880
|
-
});
|
|
9881
|
-
/**
|
|
9882
|
-
* Analytics Sessions Response Schema
|
|
9883
|
-
* Complete response schema for sessions analytics
|
|
9884
|
-
*/
|
|
9885
|
-
const AnalyticsSessionsResponseSchema = require_schemas.object({
|
|
9886
|
-
success: require_schemas.literal(true),
|
|
9887
|
-
data: require_schemas.object({
|
|
9888
|
-
chartData: require_schemas.array(AnalyticsChartDataSchema),
|
|
9889
|
-
stats: AnalyticsSummarySchema,
|
|
9890
|
-
period: require_schemas._enum(["week", "month"]),
|
|
9891
|
-
dateRange: require_schemas.object({
|
|
9892
|
-
start: require_schemas.string().datetime(),
|
|
9893
|
-
end: require_schemas.string().datetime()
|
|
9894
|
-
})
|
|
9895
|
-
})
|
|
9896
|
-
});
|
|
9897
|
-
/**
|
|
9898
|
-
* Agent Type Distribution Schema
|
|
9899
|
-
* Used for agent type analytics
|
|
9900
|
-
*/
|
|
9901
|
-
const AgentTypeDistributionSchema = require_schemas.object({
|
|
9902
|
-
agentType: require_schemas.string(),
|
|
9903
|
-
count: require_schemas.number().nonnegative(),
|
|
9904
|
-
uniqueSessions: require_schemas.number().nonnegative(),
|
|
9905
|
-
avgConfidence: require_schemas.number().min(0).max(1),
|
|
9906
|
-
percentage: require_schemas.number().min(0).max(100)
|
|
9907
|
-
});
|
|
9908
|
-
/**
|
|
9909
|
-
* Agent Source Distribution Schema
|
|
9910
|
-
* Used for agent source analytics
|
|
9911
|
-
*/
|
|
9912
|
-
const AgentSourceDistributionSchema = require_schemas.object({
|
|
9913
|
-
source: require_schemas.string(),
|
|
9914
|
-
count: require_schemas.number().nonnegative(),
|
|
9915
|
-
avgConfidence: require_schemas.number().min(0).max(1),
|
|
9916
|
-
percentage: require_schemas.number().min(0).max(100),
|
|
9917
|
-
userAgents: require_schemas.array(require_schemas.string()).optional()
|
|
9918
|
-
});
|
|
9919
|
-
/**
|
|
9920
|
-
* Confidence Distribution Schema
|
|
9921
|
-
* Used for confidence distribution analytics
|
|
9922
|
-
*/
|
|
9923
|
-
const ConfidenceDistributionSchema = require_schemas.object({
|
|
9924
|
-
range: require_schemas.string(),
|
|
9925
|
-
count: require_schemas.number().nonnegative(),
|
|
9926
|
-
percentage: require_schemas.number().min(0).max(100)
|
|
9927
|
-
});
|
|
9928
|
-
|
|
9929
9549
|
//#endregion
|
|
9930
9550
|
//#region src/schemas/rules.ts
|
|
9931
9551
|
/**
|
|
@@ -10060,10 +9680,7 @@ const DetectionRulesSchema = require_schemas.object({
|
|
|
10060
9680
|
headers: HeaderRulesSchema
|
|
10061
9681
|
})
|
|
10062
9682
|
});
|
|
10063
|
-
|
|
10064
|
-
* Rule load options schema
|
|
10065
|
-
*/
|
|
10066
|
-
const RuleLoadOptionsSchema = require_schemas.object({
|
|
9683
|
+
require_schemas.object({
|
|
10067
9684
|
/** @deprecated Refused at runtime; see `RuleLoader.loadRules`. */
|
|
10068
9685
|
cdnUrl: require_schemas.string().url().optional(),
|
|
10069
9686
|
forceRefresh: require_schemas.boolean().optional(),
|
|
@@ -10089,10 +9706,7 @@ const RuleValidationResultSchema = require_schemas.object({
|
|
|
10089
9706
|
message: require_schemas.string()
|
|
10090
9707
|
})).optional()
|
|
10091
9708
|
});
|
|
10092
|
-
|
|
10093
|
-
* Rule update event schema
|
|
10094
|
-
*/
|
|
10095
|
-
const RuleUpdateEventSchema = require_schemas.object({
|
|
9709
|
+
require_schemas.object({
|
|
10096
9710
|
previousVersion: require_schemas.string(),
|
|
10097
9711
|
newVersion: require_schemas.string(),
|
|
10098
9712
|
timestamp: require_schemas.string(),
|
|
@@ -10102,10 +9716,7 @@ const RuleUpdateEventSchema = require_schemas.object({
|
|
|
10102
9716
|
removed: require_schemas.array(require_schemas.string())
|
|
10103
9717
|
}).optional()
|
|
10104
9718
|
});
|
|
10105
|
-
|
|
10106
|
-
* Rule match result schema
|
|
10107
|
-
*/
|
|
10108
|
-
const RuleMatchResultSchema = require_schemas.object({
|
|
9719
|
+
require_schemas.object({
|
|
10109
9720
|
matched: require_schemas.boolean(),
|
|
10110
9721
|
rule: require_schemas.string().optional(),
|
|
10111
9722
|
category: require_schemas._enum([
|
|
@@ -10145,12 +9756,6 @@ function validateRules(rules) {
|
|
|
10145
9756
|
}
|
|
10146
9757
|
}
|
|
10147
9758
|
/**
|
|
10148
|
-
* Validate and parse rules with type safety
|
|
10149
|
-
*/
|
|
10150
|
-
function parseRules(rules) {
|
|
10151
|
-
return DetectionRulesSchema.parse(rules);
|
|
10152
|
-
}
|
|
10153
|
-
/**
|
|
10154
9759
|
* Validate rules with loose mode (allows extra fields)
|
|
10155
9760
|
*/
|
|
10156
9761
|
function validateRulesLoose(rules) {
|
|
@@ -13922,6 +13527,7 @@ exports.ADMIN_OVERVIEW_LIST_LIMIT_MAX = ADMIN_OVERVIEW_LIST_LIMIT_MAX;
|
|
|
13922
13527
|
exports.ADMIN_OVERVIEW_SECTIONS = ADMIN_OVERVIEW_SECTIONS;
|
|
13923
13528
|
exports.ADMIN_OVERVIEW_WINDOWS = ADMIN_OVERVIEW_WINDOWS;
|
|
13924
13529
|
exports.ADMIN_TRUSTED_METRICS = ADMIN_TRUSTED_METRICS;
|
|
13530
|
+
exports.AGENT_CATALOG = require_agent_catalog.AGENT_CATALOG;
|
|
13925
13531
|
exports.AGENT_CATEGORY_META = AGENT_CATEGORY_META;
|
|
13926
13532
|
exports.AI_AGENT_HEADERS = AI_AGENT_HEADERS;
|
|
13927
13533
|
exports.ANALYTICS_ERRORS = ANALYTICS_ERRORS;
|
|
@@ -13932,6 +13538,7 @@ exports.ATTESTED_BEARER_MAX_TTL_SECONDS = ATTESTED_BEARER_MAX_TTL_SECONDS;
|
|
|
13932
13538
|
exports.AUDIT_ERRORS = AUDIT_ERRORS;
|
|
13933
13539
|
exports.AUDIT_PROTOCOL_ERRORS = AUDIT_PROTOCOL_ERRORS;
|
|
13934
13540
|
exports.AUTHORIZATION_MODES = AUTHORIZATION_MODES;
|
|
13541
|
+
exports.AUTH_DOMAIN = require_default_sign_in_host.AUTH_DOMAIN;
|
|
13935
13542
|
exports.AUTH_ERRORS = AUTH_ERRORS;
|
|
13936
13543
|
exports.AcceptanceWithdrawalSchema = AcceptanceWithdrawalSchema;
|
|
13937
13544
|
exports.AcceptedArtifactRevisionSchema = AcceptedArtifactRevisionSchema;
|
|
@@ -13945,23 +13552,13 @@ exports.AgentClassificationResultSchema = AgentClassificationResultSchema;
|
|
|
13945
13552
|
exports.AgentClassificationSchema = AgentClassificationSchema;
|
|
13946
13553
|
exports.AgentInfoSchema = AgentInfoSchema;
|
|
13947
13554
|
exports.AgentPatternSchema = AgentPatternSchema;
|
|
13948
|
-
exports.AgentSourceDistributionSchema = AgentSourceDistributionSchema;
|
|
13949
13555
|
exports.AgentStatisticsSchema = AgentStatisticsSchema;
|
|
13950
13556
|
exports.AgentTypeDefinitionSchema = AgentTypeDefinitionSchema;
|
|
13951
13557
|
exports.AgentTypeSchema = AgentTypeSchema;
|
|
13952
13558
|
exports.AllowListEntrySchema = require_schemas$1.AllowListEntrySchema;
|
|
13953
13559
|
exports.AllowedDomainsSchema = AllowedDomainsSchema;
|
|
13954
|
-
exports.AnalyticsAgentSourcesQuerySchema = AnalyticsAgentSourcesQuerySchema;
|
|
13955
|
-
exports.AnalyticsAgentTypesQuerySchema = AnalyticsAgentTypesQuerySchema;
|
|
13956
|
-
exports.AnalyticsChartDataSchema = AnalyticsChartDataSchema;
|
|
13957
13560
|
exports.AnalyticsExportParamsSchema = AnalyticsExportParamsSchema;
|
|
13958
|
-
exports.AnalyticsExportQuerySchema = AnalyticsExportQuerySchema;
|
|
13959
13561
|
exports.AnalyticsQuerySchema = AnalyticsQuerySchema;
|
|
13960
|
-
exports.AnalyticsRealtimeQuerySchema = AnalyticsRealtimeQuerySchema;
|
|
13961
|
-
exports.AnalyticsSessionsQuerySchema = AnalyticsSessionsQuerySchema;
|
|
13962
|
-
exports.AnalyticsSessionsResponseSchema = AnalyticsSessionsResponseSchema;
|
|
13963
|
-
exports.AnalyticsSessionsSummarySchema = AnalyticsSummarySchema;
|
|
13964
|
-
exports.AnalyticsTimeSeriesSchema = AnalyticsTimeSeriesSchema;
|
|
13965
13562
|
exports.ApiKeyPermissionSchema = ApiKeyPermissionSchema;
|
|
13966
13563
|
exports.ApiKeyRateLimitsSchema = ApiKeyRateLimitsSchema;
|
|
13967
13564
|
exports.ApiKeySchema = ApiKeySchema;
|
|
@@ -13977,7 +13574,6 @@ exports.ApprovedTaskPublicationSchema = ApprovedTaskPublicationSchema;
|
|
|
13977
13574
|
exports.ArtifactIdentitySchema = ArtifactIdentitySchema;
|
|
13978
13575
|
exports.AssuranceTierSchema = require_schemas$1.AssuranceTierSchema;
|
|
13979
13576
|
exports.AuthErrorType = AuthErrorType;
|
|
13980
|
-
exports.AuthProviderTypeSchema = AuthProviderTypeSchema;
|
|
13981
13577
|
exports.BARE_ERRORS = BARE_ERRORS;
|
|
13982
13578
|
exports.BASELINE_ALLOW_POLICY_ID = require_step_up.BASELINE_ALLOW_POLICY_ID;
|
|
13983
13579
|
exports.BESPOKE_POLICY_IDS = require_step_up.BESPOKE_POLICY_IDS;
|
|
@@ -14005,8 +13601,6 @@ exports.BlockReasonSchema = require_schemas$1.BlockReasonSchema;
|
|
|
14005
13601
|
exports.BotPatternSchema = BotPatternSchema;
|
|
14006
13602
|
exports.BotTypeSchema = BotTypeSchema;
|
|
14007
13603
|
exports.BouncerConfigSchema = BouncerConfigSchema;
|
|
14008
|
-
exports.BouncerOutcomeSchema = BouncerOutcomeSchema;
|
|
14009
|
-
exports.BouncerProofSchema = BouncerProofSchema;
|
|
14010
13604
|
exports.BulkDeletePreviewStatsSchema = BulkDeletePreviewStatsSchema;
|
|
14011
13605
|
exports.BulkDeleteResponseSchema = BulkDeleteResponseSchema;
|
|
14012
13606
|
exports.BulkOperationOptionsSchema = BulkOperationOptionsSchema;
|
|
@@ -14110,12 +13704,9 @@ exports.DelegationListStatusFilterSchema = DelegationListStatusFilterSchema;
|
|
|
14110
13704
|
exports.DelegationManagementDetailSchema = DelegationManagementDetailSchema;
|
|
14111
13705
|
exports.DelegationManagementItemSchema = DelegationManagementItemSchema;
|
|
14112
13706
|
exports.DelegationManagementListSchema = DelegationManagementListSchema;
|
|
14113
|
-
exports.DelegationPollingStatusSchema = DelegationPollingStatusSchema;
|
|
14114
13707
|
exports.DelegationResultSchema = DelegationResultSchema;
|
|
14115
13708
|
exports.DelegationRevokeRequestSchema = DelegationRevokeRequestSchema;
|
|
14116
13709
|
exports.DelegationRevokeResponseSchema = DelegationRevokeResponseSchema;
|
|
14117
|
-
exports.DelegationSchema = DelegationSchema;
|
|
14118
|
-
exports.DelegationStatusSchema = DelegationStatusSchema;
|
|
14119
13710
|
exports.DelegationStoredStatusSchema = DelegationStoredStatusSchema;
|
|
14120
13711
|
exports.DelegationVerifiedBySchema = DelegationVerifiedBySchema;
|
|
14121
13712
|
exports.DeleteAccountSchema = DeleteAccountSchema;
|
|
@@ -14207,6 +13798,7 @@ exports.KYA_HTTP_ERROR = require_kya_http_error_codes.KYA_HTTP_ERROR;
|
|
|
14207
13798
|
exports.KYA_HTTP_ERROR_STATUS = require_kya_http_error_codes.KYA_HTTP_ERROR_STATUS;
|
|
14208
13799
|
exports.KYA_OS_HANDSHAKE_METHODS = require_verification.KYA_OS_HANDSHAKE_METHODS;
|
|
14209
13800
|
exports.KYA_OS_WIRE_METHODS = require_verification.KYA_OS_WIRE_METHODS;
|
|
13801
|
+
exports.KYA_SIGNED_BODY_MAX_BYTES = require_registered_sid.KYA_SIGNED_BODY_MAX_BYTES;
|
|
14210
13802
|
exports.KeyboardEventSchema = KeyboardEventSchema;
|
|
14211
13803
|
exports.LOWERCASE_ERRORS = LOWERCASE_ERRORS;
|
|
14212
13804
|
exports.LinearActivityGateSchema = LinearActivityGateSchema;
|
|
@@ -14348,7 +13940,6 @@ exports.ProjectsBulkDeleteItemSchema = ProjectsBulkDeleteItemSchema;
|
|
|
14348
13940
|
exports.ProjectsBulkRequestSchema = ProjectsBulkRequestSchema;
|
|
14349
13941
|
exports.ProjectsBulkUpdateItemSchema = ProjectsBulkUpdateItemSchema;
|
|
14350
13942
|
exports.ProjectsQuerySchema = ProjectsQuerySchema;
|
|
14351
|
-
exports.ProviderDefinitionSchema = ProviderDefinitionSchema;
|
|
14352
13943
|
exports.ProvidersResponseSchema = ProvidersResponseSchema;
|
|
14353
13944
|
exports.ProvisionKeyRequestSchema = ProvisionKeyRequestSchema;
|
|
14354
13945
|
exports.ProvisionKeyResponseSchema = ProvisionKeyResponseSchema;
|
|
@@ -14403,12 +13994,9 @@ exports.RiskScoreSourceSchema = RiskScoreSourceSchema;
|
|
|
14403
13994
|
exports.RotateModelCredentialSchema = RotateModelCredentialSchema;
|
|
14404
13995
|
exports.RotateWorkloadEnrollmentSchema = RotateWorkloadEnrollmentSchema;
|
|
14405
13996
|
exports.RoutingTypeSchema = RoutingTypeSchema;
|
|
14406
|
-
exports.RuleLoadOptionsSchema = RuleLoadOptionsSchema;
|
|
14407
13997
|
exports.RuleLoader = RuleLoader;
|
|
14408
|
-
exports.RuleMatchResultSchema = RuleMatchResultSchema;
|
|
14409
13998
|
exports.RuleMetadataSchema = require_schemas$1.RuleMetadataSchema;
|
|
14410
13999
|
exports.RuleParser = RuleParser;
|
|
14411
|
-
exports.RuleUpdateEventSchema = RuleUpdateEventSchema;
|
|
14412
14000
|
exports.RuleValidationResultSchema = RuleValidationResultSchema;
|
|
14413
14001
|
exports.RuleValidator = RuleValidator;
|
|
14414
14002
|
exports.SECURITY_LIMITS = SECURITY_LIMITS;
|
|
@@ -14424,8 +14012,6 @@ exports.ScopeSchema = ScopeSchema;
|
|
|
14424
14012
|
exports.ScrollEventSchema = ScrollEventSchema;
|
|
14425
14013
|
exports.SdkSessionDataSchema = SdkSessionDataSchema;
|
|
14426
14014
|
exports.SessionSchema = SessionSchema;
|
|
14427
|
-
exports.SharedAgentTypeDistributionSchema = AgentTypeDistributionSchema;
|
|
14428
|
-
exports.SharedConfidenceDistributionSchema = ConfidenceDistributionSchema;
|
|
14429
14015
|
exports.ShopifyProjectProvisionRequestSchema = ShopifyProjectProvisionRequestSchema;
|
|
14430
14016
|
exports.ShopifyProjectProvisionResultSchema = ShopifyProjectProvisionResultSchema;
|
|
14431
14017
|
exports.ShopifyProjectSettingsUpdateSchema = ShopifyProjectSettingsUpdateSchema;
|
|
@@ -14502,7 +14088,6 @@ exports.TaskStatusProjectionListSchema = TaskStatusProjectionListSchema;
|
|
|
14502
14088
|
exports.TaskStatusProjectionSchema = TaskStatusProjectionSchema;
|
|
14503
14089
|
exports.TestDetectionRequestSchema = TestDetectionRequestSchema;
|
|
14504
14090
|
exports.ThresholdConfigSchema = require_schemas$1.ThresholdConfigSchema;
|
|
14505
|
-
exports.ToolConsentOverridesSchema = ToolConsentOverridesSchema;
|
|
14506
14091
|
exports.TouchEventSchema = TouchEventSchema;
|
|
14507
14092
|
exports.TraceStepSchema = TraceStepSchema;
|
|
14508
14093
|
exports.TrackDependencyV2Schema = TrackDependencyV2Schema;
|
|
@@ -14566,7 +14151,6 @@ exports.buildKnownPatternLookup = buildKnownPatternLookup;
|
|
|
14566
14151
|
exports.buildVerdictEvidence = buildVerdictEvidence;
|
|
14567
14152
|
exports.calculateDeployProgress = calculateDeployProgress;
|
|
14568
14153
|
exports.cedarQuotedValueRegExp = require_step_up.cedarQuotedValueRegExp;
|
|
14569
|
-
exports.changePasswordSchema = changePasswordSchema;
|
|
14570
14154
|
exports.classifyAgentTaxonomy = classifyAgentTaxonomy;
|
|
14571
14155
|
exports.classifyResponseShape = require_host_adapter.classifyResponseShape;
|
|
14572
14156
|
exports.claudeRuntimeLabel = claudeRuntimeLabel;
|
|
@@ -14579,6 +14163,8 @@ exports.decisionPolicyId = require_step_up.decisionPolicyId;
|
|
|
14579
14163
|
exports.decodeDidKeyEd25519 = decodeDidKeyEd25519;
|
|
14580
14164
|
exports.decodeDidKeyP256 = decodeDidKeyP256;
|
|
14581
14165
|
exports.decodeEd25519PublicKeyMultibaseTolerant = decodeEd25519PublicKeyMultibaseTolerant;
|
|
14166
|
+
exports.defaultSignInHost = require_default_sign_in_host.defaultSignInHost;
|
|
14167
|
+
exports.defaultSignInHostLabel = require_default_sign_in_host.defaultSignInHostLabel;
|
|
14582
14168
|
exports.deriveConflictId = deriveConflictId;
|
|
14583
14169
|
exports.deriveCorrelationId = deriveCorrelationId;
|
|
14584
14170
|
exports.deriveDelegationPickupUri = require_host_adapter.deriveDelegationPickupUri;
|
|
@@ -14598,13 +14184,10 @@ exports.extractCorrelationIdFromHeaders = extractCorrelationIdFromHeaders;
|
|
|
14598
14184
|
exports.extractMatch = require_patterns.extractMatch;
|
|
14599
14185
|
exports.findMatchingPattern = require_patterns.findMatchingPattern;
|
|
14600
14186
|
exports.findStaleVendorRanges = findStaleVendorRanges;
|
|
14601
|
-
exports.forgotPasswordSchema = forgotPasswordSchema;
|
|
14602
14187
|
exports.formatAgentCategory = formatAgentCategory;
|
|
14603
14188
|
exports.formatAgentCategoryInline = formatAgentCategoryInline;
|
|
14604
14189
|
exports.formatConfidence = formatConfidence;
|
|
14605
14190
|
exports.formatReasonCodesHeader = require_detection_reason_mapping.formatReasonCodesHeader;
|
|
14606
|
-
exports.fromProviderRegistryFormat = fromProviderRegistryFormat;
|
|
14607
|
-
exports.fromProviderRegistryFormatSafe = fromProviderRegistryFormatSafe;
|
|
14608
14191
|
exports.gatewayConfigInputSchema = gatewayConfigInputSchema;
|
|
14609
14192
|
exports.gatewayConfigSchema = gatewayConfigSchema;
|
|
14610
14193
|
exports.gatewayConnectedAgentSchema = gatewayConnectedAgentSchema;
|
|
@@ -14636,6 +14219,8 @@ exports.isAuthorizedLead = isAuthorizedLead;
|
|
|
14636
14219
|
exports.isBespokePolicyId = require_step_up.isBespokePolicyId;
|
|
14637
14220
|
exports.isBlockingAction = isBlockingAction;
|
|
14638
14221
|
exports.isClaudeProductLabel = isClaudeProductLabel;
|
|
14222
|
+
exports.isDefaultSignInHostLabel = require_default_sign_in_host.isDefaultSignInHostLabel;
|
|
14223
|
+
exports.isDnsLabel = require_default_sign_in_host.isDnsLabel;
|
|
14639
14224
|
exports.isEngineEnforcing = require_engine_enforcing.isEngineEnforcing;
|
|
14640
14225
|
exports.isHighConfidenceVerification = require_verification.isHighConfidenceVerification;
|
|
14641
14226
|
exports.isKnownAiCrawler = isKnownAiCrawler;
|
|
@@ -14648,8 +14233,8 @@ exports.isMcpiOrgKeyId = isMcpiOrgKeyId;
|
|
|
14648
14233
|
exports.isNonNavigablePolicyId = require_step_up.isNonNavigablePolicyId;
|
|
14649
14234
|
exports.isPolicyUnavailableError = require_policy_fetcher.isPolicyUnavailableError;
|
|
14650
14235
|
exports.isPrivateOrReservedHost = isPrivateOrReservedHost;
|
|
14651
|
-
exports.isSupportedAuthType = isSupportedAuthType;
|
|
14652
14236
|
exports.isTraditionalBot = isTraditionalBot;
|
|
14237
|
+
exports.isUnderAuthDomain = require_default_sign_in_host.isUnderAuthDomain;
|
|
14653
14238
|
exports.isValidAuthorizationHost = isValidAuthorizationHost;
|
|
14654
14239
|
exports.isValidMcpiOrgSlug = isValidMcpiOrgSlug;
|
|
14655
14240
|
exports.lintMissingBaselinePermit = lintMissingBaselinePermit;
|
|
@@ -14686,20 +14271,22 @@ exports.parseImportIssueV2 = parseImportIssueV2;
|
|
|
14686
14271
|
exports.parseIpv6 = require_client_ip.parseIpv6;
|
|
14687
14272
|
exports.parseJafarFeed = parseJafarFeed;
|
|
14688
14273
|
exports.parseMaterializationPlan = parseMaterializationPlan;
|
|
14689
|
-
exports.parseRules = parseRules;
|
|
14690
14274
|
exports.partial = partial;
|
|
14691
14275
|
exports.passwordSchema = passwordSchema;
|
|
14692
14276
|
exports.pathHasUnnarrowedDenyRuleFor = require_step_up.pathHasUnnarrowedDenyRuleFor;
|
|
14693
14277
|
exports.pathLiteralsInBlock = require_step_up.pathLiteralsInBlock;
|
|
14694
14278
|
exports.permitDelegationVerdict = permitDelegationVerdict;
|
|
14695
14279
|
exports.projectResetRequestSchema = projectResetRequestSchema;
|
|
14280
|
+
exports.readBodyBounded = require_registered_sid.readBodyBounded;
|
|
14696
14281
|
exports.readPostureReportPathsSetting = readPostureReportPathsSetting;
|
|
14697
14282
|
exports.readableText = readableText;
|
|
14698
14283
|
exports.reconstructConfidenceFromEvidence = reconstructConfidenceFromEvidence;
|
|
14699
14284
|
exports.refineClaudeDisplayLabel = refineClaudeDisplayLabel;
|
|
14700
14285
|
exports.refineSessionGrainClaudeLabel = refineSessionGrainClaudeLabel;
|
|
14701
14286
|
exports.requestCarriesDelegationProof = require_registered_sid.requestCarriesDelegationProof;
|
|
14287
|
+
exports.requestDeclaresBody = require_registered_sid.requestDeclaresBody;
|
|
14702
14288
|
exports.requestPresentedCredential = require_registered_sid.requestPresentedCredential;
|
|
14289
|
+
exports.requestPresentsKyaSignature = require_registered_sid.requestPresentsKyaSignature;
|
|
14703
14290
|
exports.requiredScopesForRequest = require_step_up.requiredScopesForRequest;
|
|
14704
14291
|
exports.resetPasswordSchema = resetPasswordSchema;
|
|
14705
14292
|
exports.resolveAuthorizationHost = resolveAuthorizationHost;
|
|
@@ -14715,8 +14302,6 @@ exports.safeParsePolicyConfig = require_schemas$1.safeParsePolicyConfig;
|
|
|
14715
14302
|
exports.safeUrl = safeUrl;
|
|
14716
14303
|
exports.selectBodyReadable200 = require_host_adapter.selectBodyReadable200;
|
|
14717
14304
|
exports.serveBodyReadable200 = require_host_adapter.serveBodyReadable200;
|
|
14718
|
-
exports.signInSchema = signInSchema;
|
|
14719
|
-
exports.signUpSchema = signUpSchema;
|
|
14720
14305
|
exports.splitCedarBlocks = require_step_up.splitCedarBlocks;
|
|
14721
14306
|
exports.statementApplies = require_step_up.statementApplies;
|
|
14722
14307
|
exports.statementId = require_step_up.statementId;
|
|
@@ -14730,7 +14315,6 @@ exports.testPatterns = require_patterns.testPatterns;
|
|
|
14730
14315
|
exports.toBareHost = toBareHost;
|
|
14731
14316
|
exports.toCoarseReasonKind = toCoarseReasonKind;
|
|
14732
14317
|
exports.toPercent = toPercent;
|
|
14733
|
-
exports.toProviderRegistryFormat = toProviderRegistryFormat;
|
|
14734
14318
|
exports.toStoredCorrelationId = toStoredCorrelationId;
|
|
14735
14319
|
exports.unescapeCedarString = require_step_up.unescapeCedarString;
|
|
14736
14320
|
exports.updateStepsState = updateStepsState;
|
|
@@ -14749,5 +14333,5 @@ exports.vaultResolveMetaSchema = vaultResolveMetaSchema;
|
|
|
14749
14333
|
exports.vaultResolveResponseSchema = vaultResolveResponseSchema;
|
|
14750
14334
|
exports.vaultResolveSuccessSchema = vaultResolveSuccessSchema;
|
|
14751
14335
|
exports.verifyContractRecordIdentity = verifyContractRecordIdentity;
|
|
14752
|
-
exports.
|
|
14753
|
-
exports.
|
|
14336
|
+
exports.withNoEvidenceExclusion = require_step_up.withNoEvidenceExclusion;
|
|
14337
|
+
exports.withoutTrailingDots = require_default_sign_in_host.withoutTrailingDots;
|