@kya-os/checkpoint-shared 1.3.1 → 1.5.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 +127 -2
- package/dist/beacon-types/index.d.mts +441 -432
- package/dist/beacon-types/index.d.mts.map +1 -0
- package/dist/beacon-types/index.d.ts +441 -432
- package/dist/beacon-types/index.d.ts.map +1 -0
- package/dist/beacon-types/index.js +198 -182
- package/dist/beacon-types/index.mjs +197 -179
- package/dist/beacon-types/index.mjs.map +1 -0
- package/dist/browser-posture-cookie-Dmq9Brf_.d.mts +5 -0
- package/dist/browser-posture-cookie-Dmq9Brf_.d.mts.map +1 -0
- package/dist/browser-posture-cookie-Dmq9Brf_.d.ts +5 -0
- package/dist/browser-posture-cookie-Dmq9Brf_.d.ts.map +1 -0
- package/dist/browser-posture-cookie.d.mts +2 -0
- package/dist/browser-posture-cookie.d.ts +2 -0
- package/dist/browser-posture-cookie.js +1 -0
- package/dist/browser-posture-cookie.mjs +2 -0
- package/dist/browser-posture-cookie.mjs.map +1 -0
- package/dist/browser-posture-report.d.mts +50 -82
- package/dist/browser-posture-report.d.mts.map +1 -0
- package/dist/browser-posture-report.d.ts +50 -82
- package/dist/browser-posture-report.d.ts.map +1 -0
- package/dist/browser-posture-report.js +1 -1
- package/dist/browser-posture-report.mjs +2 -1
- package/dist/browser-posture-report.mjs.map +1 -0
- package/dist/browser-posture.d.mts +80 -111
- package/dist/browser-posture.d.mts.map +1 -0
- package/dist/browser-posture.d.ts +80 -111
- package/dist/browser-posture.d.ts.map +1 -0
- package/dist/browser-posture.js +143 -4164
- package/dist/browser-posture.mjs +142 -4161
- package/dist/browser-posture.mjs.map +1 -0
- package/dist/browser.d.mts +323 -316
- package/dist/browser.d.mts.map +1 -0
- package/dist/browser.d.ts +323 -316
- package/dist/browser.d.ts.map +1 -0
- package/dist/browser.js +1 -1
- package/dist/browser.mjs +2 -1
- package/dist/browser.mjs.map +1 -0
- package/dist/canonical-signer/index.d.mts +38 -33
- package/dist/canonical-signer/index.d.mts.map +1 -0
- package/dist/canonical-signer/index.d.ts +38 -33
- package/dist/canonical-signer/index.d.ts.map +1 -0
- package/dist/canonical-signer/index.js +411 -181
- package/dist/canonical-signer/index.mjs +383 -175
- package/dist/canonical-signer/index.mjs.map +1 -0
- package/dist/clearance.d.mts +30 -0
- package/dist/clearance.d.mts.map +1 -0
- package/dist/clearance.d.ts +30 -0
- package/dist/clearance.d.ts.map +1 -0
- package/dist/clearance.js +120 -0
- package/dist/clearance.mjs +112 -0
- package/dist/clearance.mjs.map +1 -0
- package/dist/client-ip-1y2iXAYW.js +237 -0
- package/dist/client-ip-HOfe6ucV.mjs +215 -0
- package/dist/client-ip-HOfe6ucV.mjs.map +1 -0
- package/dist/deploy/index.d.mts +375 -810
- package/dist/deploy/index.d.mts.map +1 -0
- package/dist/deploy/index.d.ts +375 -810
- package/dist/deploy/index.d.ts.map +1 -0
- package/dist/deploy/index.js +505 -413
- package/dist/deploy/index.mjs +504 -410
- package/dist/deploy/index.mjs.map +1 -0
- package/dist/errors/index.d.mts +101 -101
- package/dist/errors/index.d.mts.map +1 -0
- package/dist/errors/index.d.ts +101 -101
- package/dist/errors/index.d.ts.map +1 -0
- package/dist/errors/index.js +341 -314
- package/dist/errors/index.mjs +340 -311
- package/dist/errors/index.mjs.map +1 -0
- package/dist/external-jr_S4iSS.d.mts +4187 -0
- package/dist/external-jr_S4iSS.d.mts.map +1 -0
- package/dist/external-jr_S4iSS.d.ts +4187 -0
- package/dist/external-jr_S4iSS.d.ts.map +1 -0
- package/dist/gateway/index.d.mts +154 -550
- package/dist/gateway/index.d.mts.map +1 -0
- package/dist/gateway/index.d.ts +154 -550
- package/dist/gateway/index.d.ts.map +1 -0
- package/dist/gateway/index.js +117 -81
- package/dist/gateway/index.mjs +116 -78
- package/dist/gateway/index.mjs.map +1 -0
- package/dist/gateway-client-ip.d.mts +59 -0
- package/dist/gateway-client-ip.d.mts.map +1 -0
- package/dist/gateway-client-ip.d.ts +59 -0
- package/dist/gateway-client-ip.d.ts.map +1 -0
- package/dist/gateway-client-ip.js +149 -0
- package/dist/gateway-client-ip.mjs +139 -0
- package/dist/gateway-client-ip.mjs.map +1 -0
- package/dist/index.d.mts +15523 -38968
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +15523 -38968
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +14950 -16029
- package/dist/index.mjs +14846 -15955
- package/dist/index.mjs.map +1 -0
- package/dist/mcpi/agentshield-api/index.d.mts +45 -44
- package/dist/mcpi/agentshield-api/index.d.mts.map +1 -0
- package/dist/mcpi/agentshield-api/index.d.ts +45 -44
- package/dist/mcpi/agentshield-api/index.d.ts.map +1 -0
- package/dist/mcpi/agentshield-api/index.js +0 -2
- package/dist/mcpi/agentshield-api/index.mjs +1 -1
- package/dist/mcpi/approval-grant/index.d.mts +63 -61
- package/dist/mcpi/approval-grant/index.d.mts.map +1 -0
- package/dist/mcpi/approval-grant/index.d.ts +63 -61
- package/dist/mcpi/approval-grant/index.d.ts.map +1 -0
- package/dist/mcpi/approval-grant/index.js +220 -140
- package/dist/mcpi/approval-grant/index.mjs +219 -137
- package/dist/mcpi/approval-grant/index.mjs.map +1 -0
- package/dist/mcpi/dashboard-config/index.d.mts +2395 -13915
- package/dist/mcpi/dashboard-config/index.d.mts.map +1 -0
- package/dist/mcpi/dashboard-config/index.d.ts +2395 -13915
- package/dist/mcpi/dashboard-config/index.d.ts.map +1 -0
- package/dist/mcpi/dashboard-config/index.js +605 -458
- package/dist/mcpi/dashboard-config/index.mjs +604 -455
- package/dist/mcpi/dashboard-config/index.mjs.map +1 -0
- package/dist/mcpi/multibase-ed25519.d.mts +10 -8
- package/dist/mcpi/multibase-ed25519.d.mts.map +1 -0
- package/dist/mcpi/multibase-ed25519.d.ts +10 -8
- package/dist/mcpi/multibase-ed25519.d.ts.map +1 -0
- package/dist/mcpi/multibase-ed25519.js +182 -106
- package/dist/mcpi/multibase-ed25519.mjs +181 -103
- package/dist/mcpi/multibase-ed25519.mjs.map +1 -0
- package/dist/patterns-CkRVOdtV.js +243 -0
- package/dist/patterns-DzkGy_qk.mjs +173 -0
- package/dist/patterns-DzkGy_qk.mjs.map +1 -0
- package/dist/project-verification-key-C3L5rd8a.js +41 -0
- package/dist/project-verification-key-CgSVX9_m.mjs +37 -0
- package/dist/project-verification-key-CgSVX9_m.mjs.map +1 -0
- package/dist/rolldown-runtime-iY2fYEqi.mjs +19 -0
- package/dist/schemas-BmjNLAE7.js +5677 -0
- package/dist/schemas-DxY-dk9y.mjs +5511 -0
- package/dist/schemas-DxY-dk9y.mjs.map +1 -0
- package/dist/signals/index.d.mts +125 -115
- package/dist/signals/index.d.mts.map +1 -0
- package/dist/signals/index.d.ts +125 -115
- package/dist/signals/index.d.ts.map +1 -0
- package/dist/signals/index.js +1693 -1536
- package/dist/signals/index.mjs +1692 -1533
- package/dist/signals/index.mjs.map +1 -0
- package/dist/test-fixtures/index.d.mts +124 -119
- package/dist/test-fixtures/index.d.mts.map +1 -0
- package/dist/test-fixtures/index.d.ts +124 -119
- package/dist/test-fixtures/index.d.ts.map +1 -0
- package/dist/test-fixtures/index.js +460 -228
- package/dist/test-fixtures/index.mjs +459 -225
- package/dist/test-fixtures/index.mjs.map +1 -0
- package/dist/tool-protection/index.d.mts +368 -1067
- package/dist/tool-protection/index.d.mts.map +1 -0
- package/dist/tool-protection/index.d.ts +368 -1067
- package/dist/tool-protection/index.d.ts.map +1 -0
- package/dist/tool-protection/index.js +366 -285
- package/dist/tool-protection/index.mjs +365 -282
- package/dist/tool-protection/index.mjs.map +1 -0
- package/fixtures/bot-signal-resolution.json +142 -0
- package/fixtures/browser-posture-claims.json +421 -0
- package/fixtures/browser-posture-headers.json +46 -0
- package/fixtures/detection/reason-codes.json +10 -1
- package/fixtures/kya-http/challenge.delegation.fetcher-200.json +9 -3
- package/fixtures/kya-http/challenge.delegation.full.json +9 -3
- package/fixtures/kya-http/challenge.delegation.minimal.json +9 -3
- package/fixtures/kya-http/error-codes.json +7 -2
- package/package.json +21 -7
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
[
|
|
2
|
+
{
|
|
3
|
+
"name": "numeric kid must not be coerced",
|
|
4
|
+
"patch": {
|
|
5
|
+
"kid": 123
|
|
6
|
+
},
|
|
7
|
+
"keyId": "123",
|
|
8
|
+
"valid": false
|
|
9
|
+
},
|
|
10
|
+
{
|
|
11
|
+
"name": "unsupported critical header",
|
|
12
|
+
"patch": {
|
|
13
|
+
"crit": ["custom"],
|
|
14
|
+
"custom": true
|
|
15
|
+
},
|
|
16
|
+
"valid": false
|
|
17
|
+
},
|
|
18
|
+
{
|
|
19
|
+
"name": "empty critical header",
|
|
20
|
+
"patch": {
|
|
21
|
+
"crit": []
|
|
22
|
+
},
|
|
23
|
+
"valid": false
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "explicit b64 header",
|
|
27
|
+
"patch": {
|
|
28
|
+
"b64": true
|
|
29
|
+
},
|
|
30
|
+
"valid": false
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
"name": "numeric type",
|
|
34
|
+
"patch": {
|
|
35
|
+
"typ": 123
|
|
36
|
+
},
|
|
37
|
+
"valid": false
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "wrong algorithm",
|
|
41
|
+
"patch": {
|
|
42
|
+
"alg": "HS256"
|
|
43
|
+
},
|
|
44
|
+
"valid": false
|
|
45
|
+
}
|
|
46
|
+
]
|
|
@@ -9,6 +9,7 @@
|
|
|
9
9
|
"detection/did-signature-verified": "verificationMethod === 'did'",
|
|
10
10
|
"detection/rfc9421-signature-verified": "verificationMethod === 'signature'",
|
|
11
11
|
"detection/tier1-attribution-verified": "verificationMethod starts with 'tier1_'",
|
|
12
|
+
"detection/a2a-verified": "verificationMethod === 'a2a'",
|
|
12
13
|
"detection/verification-error": "verificationMethod === 'error'"
|
|
13
14
|
},
|
|
14
15
|
"signal": {
|
|
@@ -16,13 +17,21 @@
|
|
|
16
17
|
"detection/header-heuristic": "source === 'header_heuristic'",
|
|
17
18
|
"detection/ip-heuristic": "source === 'ip_heuristic'",
|
|
18
19
|
"detection/vendor-ip-corroborated": "source === 'vendor_ip_feed'",
|
|
20
|
+
"detection/ip-intelligence-proxy-signal": "source === 'ip_intelligence'",
|
|
19
21
|
"detection/ja4-fingerprint-match": "source === 'transport.ja4'",
|
|
22
|
+
"detection/client-integrity-failure": "source === 'client_integrity'",
|
|
23
|
+
"detection/ua-tls-mismatch": "source === 'ua_tls_mismatch'",
|
|
20
24
|
"detection/client-attribute-signal": "source === 'client.attributes'",
|
|
21
25
|
"detection/behavioral-signal": "source === 'behavioural.interaction'",
|
|
22
26
|
"detection/mcp-i-signal": "source === 'mcp_i'",
|
|
23
27
|
"detection/kya-http-binding-signal": "source === 'kya_http_binding'",
|
|
24
28
|
"detection/kya-delegation-bearer-signal": "source === 'kya_delegation_bearer'",
|
|
25
|
-
"detection/tier1-attribution-signal": "a signals[] entry whose source starts with 'tier1_'"
|
|
29
|
+
"detection/tier1-attribution-signal": "a signals[] entry whose source starts with 'tier1_'",
|
|
30
|
+
"detection/a2a-card-signal": "source === 'a2a_agent_card'",
|
|
31
|
+
"detection/scanner-misclassification-hint-signal": "source === 'scanner_misclassification_hint'",
|
|
32
|
+
"detection/client-headless-escalation-signal": "source === 'client_headless_escalation'",
|
|
33
|
+
"detection/cloudflare-bot-management-signal": "source === 'transport.cloudflare_bot_management'",
|
|
34
|
+
"detection/session-velocity-signal": "source === 'session_velocity'"
|
|
26
35
|
},
|
|
27
36
|
"flag": {
|
|
28
37
|
"detection/ai-crawler-flag": "isAiCrawler === true"
|
|
@@ -39,11 +39,17 @@
|
|
|
39
39
|
"consent_uri": "https://auth.merchant.com/consent?sid=kya-9f4e7c2a8b1d4e6f",
|
|
40
40
|
"pickup_uri": "https://auth.merchant.com/api/delegation/pickup/kya-9f4e7c2a8b1d4e6f",
|
|
41
41
|
"poll_interval_s": 3,
|
|
42
|
-
"pin": {
|
|
43
|
-
|
|
42
|
+
"pin": {
|
|
43
|
+
"header": "X-KYA-Pickup-Token"
|
|
44
|
+
},
|
|
45
|
+
"retry": {
|
|
46
|
+
"header": "Authorization",
|
|
47
|
+
"scheme": "Bearer",
|
|
48
|
+
"value_from": "delegation"
|
|
49
|
+
}
|
|
44
50
|
}
|
|
45
51
|
},
|
|
46
|
-
"instructions": "This action requires human authorization.
|
|
52
|
+
"instructions": "This action requires human authorization. First establish your pickup binding at https://auth.merchant.com/api/delegation/pickup/kya-9f4e7c2a8b1d4e6f. If you can sign HTTP requests, sign each poll with an ephemeral did:key; otherwise generate one random 32-byte token encoded as unpadded base64url and send it as X-KYA-Pickup-Token on EVERY poll. After receiving 202 pending, show your user this link and ask them to approve: https://auth.merchant.com/consent?sid=kya-9f4e7c2a8b1d4e6f. Continue polling https://auth.merchant.com/api/delegation/pickup/kya-9f4e7c2a8b1d4e6f every 3 seconds with the same binding. When the response status is 200, take the 'delegation' value and retry your original request with header 'Authorization: Bearer <delegation>'."
|
|
47
53
|
}
|
|
48
54
|
},
|
|
49
55
|
"conformance": {
|
|
@@ -48,11 +48,17 @@
|
|
|
48
48
|
"consent_uri": "https://auth.merchant.com/consent?sid=kya-9f4e7c2a8b1d4e6f",
|
|
49
49
|
"pickup_uri": "https://auth.merchant.com/api/delegation/pickup/kya-9f4e7c2a8b1d4e6f",
|
|
50
50
|
"poll_interval_s": 3,
|
|
51
|
-
"pin": {
|
|
52
|
-
|
|
51
|
+
"pin": {
|
|
52
|
+
"header": "X-KYA-Pickup-Token"
|
|
53
|
+
},
|
|
54
|
+
"retry": {
|
|
55
|
+
"header": "Authorization",
|
|
56
|
+
"scheme": "Bearer",
|
|
57
|
+
"value_from": "delegation"
|
|
58
|
+
}
|
|
53
59
|
}
|
|
54
60
|
},
|
|
55
|
-
"instructions": "This action requires human authorization.
|
|
61
|
+
"instructions": "This action requires human authorization. First establish your pickup binding at https://auth.merchant.com/api/delegation/pickup/kya-9f4e7c2a8b1d4e6f. If you can sign HTTP requests, sign each poll with an ephemeral did:key; otherwise generate one random 32-byte token encoded as unpadded base64url and send it as X-KYA-Pickup-Token on EVERY poll. After receiving 202 pending, show your user this link and ask them to approve: https://auth.merchant.com/consent?sid=kya-9f4e7c2a8b1d4e6f. Continue polling https://auth.merchant.com/api/delegation/pickup/kya-9f4e7c2a8b1d4e6f every 3 seconds with the same binding. When the response status is 200, take the 'delegation' value and retry your original request with header 'Authorization: Bearer <delegation>'."
|
|
56
62
|
}
|
|
57
63
|
},
|
|
58
64
|
"retry": {
|
|
@@ -37,11 +37,17 @@
|
|
|
37
37
|
"consent_uri": "https://auth.merchant.com/consent?sid=kya-9f4e7c2a8b1d4e6f",
|
|
38
38
|
"pickup_uri": "https://auth.merchant.com/api/delegation/pickup/kya-9f4e7c2a8b1d4e6f",
|
|
39
39
|
"poll_interval_s": 3,
|
|
40
|
-
"pin": {
|
|
41
|
-
|
|
40
|
+
"pin": {
|
|
41
|
+
"header": "X-KYA-Pickup-Token"
|
|
42
|
+
},
|
|
43
|
+
"retry": {
|
|
44
|
+
"header": "Authorization",
|
|
45
|
+
"scheme": "Bearer",
|
|
46
|
+
"value_from": "delegation"
|
|
47
|
+
}
|
|
42
48
|
}
|
|
43
49
|
},
|
|
44
|
-
"instructions": "This action requires human authorization.
|
|
50
|
+
"instructions": "This action requires human authorization. First establish your pickup binding at https://auth.merchant.com/api/delegation/pickup/kya-9f4e7c2a8b1d4e6f. If you can sign HTTP requests, sign each poll with an ephemeral did:key; otherwise generate one random 32-byte token encoded as unpadded base64url and send it as X-KYA-Pickup-Token on EVERY poll. After receiving 202 pending, show your user this link and ask them to approve: https://auth.merchant.com/consent?sid=kya-9f4e7c2a8b1d4e6f. Continue polling https://auth.merchant.com/api/delegation/pickup/kya-9f4e7c2a8b1d4e6f every 3 seconds with the same binding. When the response status is 200, take the 'delegation' value and retry your original request with header 'Authorization: Bearer <delegation>'."
|
|
45
51
|
}
|
|
46
52
|
},
|
|
47
53
|
"conformance": {
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"$fixture": "kya-http/error-codes",
|
|
3
|
-
"$spec": "
|
|
3
|
+
"$spec": "HTTP binding revision 13 section 12",
|
|
4
4
|
"description": "The kyaos/* registry with HTTP status mapping. Emitters MUST use these exact strings; kya/* legacy names MAY be accepted by consumers for one transition cycle.",
|
|
5
5
|
"401": {
|
|
6
6
|
"kyaos/missing-signature": "No Signature-Input label 'kya' where policy requires one",
|
|
@@ -22,7 +22,12 @@
|
|
|
22
22
|
"kyaos/assurance-insufficient": "Credential verified but achieved assurance tier is below the policy's min_assurance floor; retry with a key-bound signed request (proof-of-possession)"
|
|
23
23
|
},
|
|
24
24
|
"503": {
|
|
25
|
-
"kyaos/
|
|
25
|
+
"kyaos/replay-state-unavailable": "Atomic replay state cannot be read and updated; fail closed",
|
|
26
|
+
"kyaos/status-pending": "Credential declared a credentialStatus but its status list was not supplied / could not be fetched (cold cache, past the 300s status cap); fail-closed but RETRYABLE once the list warms",
|
|
27
|
+
"kyaos/authorization-host-unavailable": "Authorization Host registration or signed challenge failed; no authorization affordance"
|
|
28
|
+
},
|
|
29
|
+
"429": {
|
|
30
|
+
"kyaos/replay-capacity": "Bounded replay admission exhausted; retain live entries and send Retry-After"
|
|
26
31
|
},
|
|
27
32
|
"pickup": {
|
|
28
33
|
"202": "pending",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@kya-os/checkpoint-shared",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.5.0",
|
|
4
4
|
"description": "Checkpoint shared types and schemas (formerly @kya-os/agentshield-shared)",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"ai",
|
|
@@ -106,10 +106,25 @@
|
|
|
106
106
|
"import": "./dist/browser-posture-report.mjs",
|
|
107
107
|
"require": "./dist/browser-posture-report.js"
|
|
108
108
|
},
|
|
109
|
+
"./browser-posture-cookie": {
|
|
110
|
+
"types": "./dist/browser-posture-cookie.d.ts",
|
|
111
|
+
"import": "./dist/browser-posture-cookie.mjs",
|
|
112
|
+
"require": "./dist/browser-posture-cookie.js"
|
|
113
|
+
},
|
|
109
114
|
"./browser-posture": {
|
|
110
115
|
"types": "./dist/browser-posture.d.ts",
|
|
111
116
|
"import": "./dist/browser-posture.mjs",
|
|
112
117
|
"require": "./dist/browser-posture.js"
|
|
118
|
+
},
|
|
119
|
+
"./clearance": {
|
|
120
|
+
"types": "./dist/clearance.d.ts",
|
|
121
|
+
"import": "./dist/clearance.mjs",
|
|
122
|
+
"require": "./dist/clearance.js"
|
|
123
|
+
},
|
|
124
|
+
"./gateway-client-ip": {
|
|
125
|
+
"types": "./dist/gateway-client-ip.d.ts",
|
|
126
|
+
"import": "./dist/gateway-client-ip.mjs",
|
|
127
|
+
"require": "./dist/gateway-client-ip.js"
|
|
113
128
|
}
|
|
114
129
|
},
|
|
115
130
|
"files": [
|
|
@@ -130,14 +145,14 @@
|
|
|
130
145
|
"canonicalize": "^3.0.0",
|
|
131
146
|
"jose": "^5.10.0",
|
|
132
147
|
"js-yaml": "^5.0.0",
|
|
133
|
-
"zod": "^
|
|
148
|
+
"zod": "^4.5.4"
|
|
134
149
|
},
|
|
135
150
|
"devDependencies": {
|
|
136
151
|
"@types/js-yaml": "^4.0.9",
|
|
137
152
|
"@types/node": "^20.11.24",
|
|
138
153
|
"@vitest/coverage-v8": "^3.2.6",
|
|
139
154
|
"rimraf": "^5.0.5",
|
|
140
|
-
"
|
|
155
|
+
"tsdown": "0.23.0",
|
|
141
156
|
"tsx": "^4.7.0",
|
|
142
157
|
"typescript": "^5.4.2",
|
|
143
158
|
"vitest": "^3.2.6",
|
|
@@ -150,16 +165,15 @@
|
|
|
150
165
|
"scripts": {
|
|
151
166
|
"compile-rules": "node ../../scripts/compile-rules.js",
|
|
152
167
|
"build:patterns": "tsx scripts/build-patterns-json.ts",
|
|
153
|
-
"build-wasm": "cd ../../ && ./scripts/build-detection-engine.sh",
|
|
154
168
|
"signals:snapshot": "tsx scripts/signal-registry-snapshot.ts",
|
|
155
169
|
"signals:snapshot:write": "tsx scripts/signal-registry-snapshot.ts --write",
|
|
156
170
|
"signals:docs": "tsx scripts/generate-signal-docs.ts",
|
|
157
171
|
"errors:docs": "tsx scripts/generate-error-docs.ts",
|
|
158
172
|
"reason-codes:docs": "tsx scripts/generate-reason-code-docs.ts",
|
|
159
173
|
"signal-exposure:docs": "tsx scripts/generate-signal-exposure-docs.ts",
|
|
160
|
-
"build": "rimraf dist && pnpm run compile-rules && pnpm run build:patterns &&
|
|
161
|
-
"build:watch": "
|
|
162
|
-
"dev": "
|
|
174
|
+
"build": "rimraf dist && pnpm run compile-rules && pnpm run build:patterns && tsdown",
|
|
175
|
+
"build:watch": "tsdown --watch",
|
|
176
|
+
"dev": "tsdown --watch",
|
|
163
177
|
"clean": "rimraf dist .tsbuildinfo",
|
|
164
178
|
"test": "vitest run",
|
|
165
179
|
"test:unit": "vitest run",
|