@kya-os/checkpoint-shared 1.4.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/CHANGELOG.md +41 -0
- package/dist/beacon-types/index.d.mts +448 -432
- package/dist/beacon-types/index.d.mts.map +1 -0
- package/dist/beacon-types/index.d.ts +448 -432
- package/dist/beacon-types/index.d.ts.map +1 -0
- package/dist/beacon-types/index.js +286 -182
- package/dist/beacon-types/index.mjs +284 -180
- 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 +48 -44
- package/dist/browser-posture-report.d.mts.map +1 -0
- package/dist/browser-posture-report.d.ts +48 -44
- 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 +82 -75
- package/dist/browser-posture.d.mts.map +1 -0
- package/dist/browser-posture.d.ts +82 -75
- package/dist/browser-posture.d.ts.map +1 -0
- package/dist/browser-posture.js +167 -18993
- package/dist/browser-posture.mjs +166 -18990
- 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 +339 -339
- package/dist/deploy/index.d.mts.map +1 -0
- package/dist/deploy/index.d.ts +339 -339
- 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 +138 -132
- package/dist/gateway/index.d.mts.map +1 -0
- package/dist/gateway/index.d.ts +138 -132
- 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 +14901 -14246
- package/dist/index.d.mts.map +1 -0
- package/dist/index.d.ts +14901 -14246
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +15180 -31025
- package/dist/index.mjs +15065 -30942
- 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 +2323 -2318
- package/dist/mcpi/dashboard-config/index.d.mts.map +1 -0
- package/dist/mcpi/dashboard-config/index.d.ts +2323 -2318
- 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 +343 -343
- package/dist/tool-protection/index.d.mts.map +1 -0
- package/dist/tool-protection/index.d.ts +343 -343
- 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 +20 -6
package/dist/deploy/index.d.mts
CHANGED
|
@@ -1,392 +1,392 @@
|
|
|
1
|
-
import { z } from
|
|
2
|
-
|
|
3
|
-
declare const KYA_OS_EVENTS_PATH = "/api/v1/kya-os/events";
|
|
4
|
-
declare const DidStringSchema: z.ZodString;
|
|
5
|
-
declare const FlyRegionSchema: z.ZodEnum<{
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
1
|
+
import { z } from "zod";
|
|
2
|
+
//#region src/deploy/index.d.ts
|
|
3
|
+
export declare const KYA_OS_EVENTS_PATH = "/api/v1/kya-os/events";
|
|
4
|
+
export declare const DidStringSchema: z.ZodString;
|
|
5
|
+
export declare const FlyRegionSchema: z.ZodEnum<{
|
|
6
|
+
ams: "ams";
|
|
7
|
+
arn: "arn";
|
|
8
|
+
atl: "atl";
|
|
9
|
+
bog: "bog";
|
|
10
|
+
bos: "bos";
|
|
11
|
+
cdg: "cdg";
|
|
12
|
+
den: "den";
|
|
13
|
+
dfw: "dfw";
|
|
14
|
+
ewr: "ewr";
|
|
15
|
+
eze: "eze";
|
|
16
|
+
fra: "fra";
|
|
17
|
+
gdl: "gdl";
|
|
18
|
+
gig: "gig";
|
|
19
|
+
gru: "gru";
|
|
20
|
+
hkg: "hkg";
|
|
21
|
+
iad: "iad";
|
|
22
|
+
jnb: "jnb";
|
|
23
|
+
lax: "lax";
|
|
24
|
+
lhr: "lhr";
|
|
25
|
+
mad: "mad";
|
|
26
|
+
mia: "mia";
|
|
27
|
+
nrt: "nrt";
|
|
28
|
+
ord: "ord";
|
|
29
|
+
otp: "otp";
|
|
30
|
+
phx: "phx";
|
|
31
|
+
qro: "qro";
|
|
32
|
+
scl: "scl";
|
|
33
|
+
sea: "sea";
|
|
34
|
+
sin: "sin";
|
|
35
|
+
sjc: "sjc";
|
|
36
|
+
syd: "syd";
|
|
37
|
+
waw: "waw";
|
|
38
|
+
yul: "yul";
|
|
39
|
+
yyz: "yyz";
|
|
40
40
|
}>;
|
|
41
|
-
type FlyRegion = z.infer<typeof FlyRegionSchema>;
|
|
42
|
-
declare const HostingModeSchema: z.ZodEnum<{
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
41
|
+
export type FlyRegion = z.infer<typeof FlyRegionSchema>;
|
|
42
|
+
export declare const HostingModeSchema: z.ZodEnum<{
|
|
43
|
+
byok: "byok";
|
|
44
|
+
managed: "managed";
|
|
45
|
+
"managed-byoa": "managed-byoa";
|
|
46
|
+
}>;
|
|
47
|
+
export type HostingMode = z.infer<typeof HostingModeSchema>;
|
|
48
|
+
export declare const AuditAssuranceProfileSchema: z.ZodEnum<{
|
|
49
|
+
"AAP-0": "AAP-0";
|
|
50
|
+
"AAP-1": "AAP-1";
|
|
51
|
+
"AAP-2": "AAP-2";
|
|
52
|
+
"AAP-3": "AAP-3";
|
|
53
|
+
"AAP-4": "AAP-4";
|
|
46
54
|
}>;
|
|
47
|
-
|
|
48
|
-
|
|
55
|
+
export declare const AuditDeliveryModeSchema: z.ZodEnum<{
|
|
56
|
+
"best-effort": "best-effort";
|
|
57
|
+
buffered: "buffered";
|
|
58
|
+
required: "required";
|
|
59
|
+
}>;
|
|
60
|
+
export declare const AuditDeploymentConfigSchema: z.ZodObject<{
|
|
61
|
+
enabled: z.ZodBoolean;
|
|
62
|
+
requestedProfile: z.ZodEnum<{
|
|
49
63
|
"AAP-0": "AAP-0";
|
|
50
64
|
"AAP-1": "AAP-1";
|
|
51
65
|
"AAP-2": "AAP-2";
|
|
52
66
|
"AAP-3": "AAP-3";
|
|
53
67
|
"AAP-4": "AAP-4";
|
|
54
|
-
}>;
|
|
55
|
-
|
|
68
|
+
}>;
|
|
69
|
+
delivery: z.ZodEnum<{
|
|
56
70
|
"best-effort": "best-effort";
|
|
57
71
|
buffered: "buffered";
|
|
58
72
|
required: "required";
|
|
59
|
-
}>;
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
73
|
+
}>;
|
|
74
|
+
evidenceMode: z.ZodEnum<{
|
|
75
|
+
none: "none";
|
|
76
|
+
"encrypted-separate": "encrypted-separate";
|
|
77
|
+
"encrypted-inline": "encrypted-inline";
|
|
78
|
+
}>;
|
|
79
|
+
retentionClass: z.ZodString;
|
|
80
|
+
retentionDays: z.ZodNumber;
|
|
81
|
+
residency: z.ZodEnum<{
|
|
82
|
+
"inherit-project": "inherit-project";
|
|
83
|
+
us: "us";
|
|
84
|
+
eu: "eu";
|
|
85
|
+
global: "global";
|
|
86
|
+
}>;
|
|
87
|
+
keyCustody: z.ZodEnum<{
|
|
88
|
+
none: "none";
|
|
89
|
+
"checkpoint-managed": "checkpoint-managed";
|
|
90
|
+
"customer-managed-kms": "customer-managed-kms";
|
|
91
|
+
}>;
|
|
92
|
+
recorderTopology: z.ZodEnum<{
|
|
93
|
+
managed: "managed";
|
|
94
|
+
none: "none";
|
|
95
|
+
"self-hosted": "self-hosted";
|
|
96
|
+
"verified-mirror": "verified-mirror";
|
|
97
|
+
}>;
|
|
98
|
+
}, z.core.$strict>;
|
|
99
|
+
export type AuditDeploymentConfig = z.infer<typeof AuditDeploymentConfigSchema>;
|
|
100
|
+
export type AuditAssuranceProfile = z.infer<typeof AuditAssuranceProfileSchema>;
|
|
101
|
+
export declare const NEW_MANAGED_AUDIT_DEPLOYMENT_DEFAULT: Readonly<AuditDeploymentConfig>;
|
|
102
|
+
export declare const ABSENT_AUDIT_DEPLOYMENT_CONFIG: Readonly<AuditDeploymentConfig>;
|
|
103
|
+
export declare const AuditRuntimeCapabilitiesSchema: z.ZodObject<{
|
|
104
|
+
recorderTopology: z.ZodEnum<{
|
|
105
|
+
managed: "managed";
|
|
106
|
+
none: "none";
|
|
107
|
+
"self-hosted": "self-hosted";
|
|
108
|
+
"verified-mirror": "verified-mirror";
|
|
109
|
+
}>;
|
|
110
|
+
delivery: z.ZodEnum<{
|
|
111
|
+
"best-effort": "best-effort";
|
|
112
|
+
buffered: "buffered";
|
|
113
|
+
required: "required";
|
|
114
|
+
}>;
|
|
115
|
+
journalDurability: z.ZodEnum<{
|
|
116
|
+
none: "none";
|
|
117
|
+
ephemeral: "ephemeral";
|
|
118
|
+
durable: "durable";
|
|
119
|
+
}>;
|
|
120
|
+
atomicAppend: z.ZodBoolean;
|
|
121
|
+
sourceHighWater: z.ZodBoolean;
|
|
122
|
+
merkleCheckpoints: z.ZodBoolean;
|
|
123
|
+
independentObservation: z.ZodBoolean;
|
|
124
|
+
supportingAnchors: z.ZodArray<z.ZodEnum<{
|
|
125
|
+
worm: "worm";
|
|
126
|
+
rfc3161: "rfc3161";
|
|
127
|
+
scitt: "scitt";
|
|
128
|
+
}>>;
|
|
129
|
+
evidenceRetention: z.ZodEnum<{
|
|
130
|
+
none: "none";
|
|
131
|
+
inline: "inline";
|
|
132
|
+
separate: "separate";
|
|
133
|
+
}>;
|
|
134
|
+
}, z.core.$strict>;
|
|
135
|
+
export type AuditRuntimeCapabilities = z.infer<typeof AuditRuntimeCapabilitiesSchema>;
|
|
136
|
+
export declare const AuditRuntimeCanaryResultSchema: z.ZodObject<{
|
|
137
|
+
passed: z.ZodBoolean;
|
|
138
|
+
observedAt: z.ZodNumber;
|
|
139
|
+
capabilities: z.ZodObject<{
|
|
140
|
+
recorderTopology: z.ZodEnum<{
|
|
141
|
+
managed: "managed";
|
|
142
|
+
none: "none";
|
|
143
|
+
"self-hosted": "self-hosted";
|
|
144
|
+
"verified-mirror": "verified-mirror";
|
|
68
145
|
}>;
|
|
69
146
|
delivery: z.ZodEnum<{
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
147
|
+
"best-effort": "best-effort";
|
|
148
|
+
buffered: "buffered";
|
|
149
|
+
required: "required";
|
|
73
150
|
}>;
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
}>;
|
|
79
|
-
retentionClass: z.ZodString;
|
|
80
|
-
retentionDays: z.ZodNumber;
|
|
81
|
-
residency: z.ZodEnum<{
|
|
82
|
-
"inherit-project": "inherit-project";
|
|
83
|
-
us: "us";
|
|
84
|
-
eu: "eu";
|
|
85
|
-
global: "global";
|
|
86
|
-
}>;
|
|
87
|
-
keyCustody: z.ZodEnum<{
|
|
88
|
-
none: "none";
|
|
89
|
-
"checkpoint-managed": "checkpoint-managed";
|
|
90
|
-
"customer-managed-kms": "customer-managed-kms";
|
|
151
|
+
journalDurability: z.ZodEnum<{
|
|
152
|
+
none: "none";
|
|
153
|
+
ephemeral: "ephemeral";
|
|
154
|
+
durable: "durable";
|
|
91
155
|
}>;
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
156
|
+
atomicAppend: z.ZodBoolean;
|
|
157
|
+
sourceHighWater: z.ZodBoolean;
|
|
158
|
+
merkleCheckpoints: z.ZodBoolean;
|
|
159
|
+
independentObservation: z.ZodBoolean;
|
|
160
|
+
supportingAnchors: z.ZodArray<z.ZodEnum<{
|
|
161
|
+
worm: "worm";
|
|
162
|
+
rfc3161: "rfc3161";
|
|
163
|
+
scitt: "scitt";
|
|
164
|
+
}>>;
|
|
165
|
+
evidenceRetention: z.ZodEnum<{
|
|
166
|
+
none: "none";
|
|
167
|
+
inline: "inline";
|
|
168
|
+
separate: "separate";
|
|
97
169
|
}>;
|
|
170
|
+
}, z.core.$strict>;
|
|
171
|
+
checks: z.ZodArray<z.ZodObject<{
|
|
172
|
+
id: z.ZodString;
|
|
173
|
+
passed: z.ZodBoolean;
|
|
174
|
+
}, z.core.$strict>>;
|
|
175
|
+
bundleHash: z.ZodOptional<z.ZodString>;
|
|
98
176
|
}, z.core.$strict>;
|
|
99
|
-
type
|
|
100
|
-
|
|
101
|
-
declare const
|
|
102
|
-
|
|
103
|
-
|
|
177
|
+
export type AuditRuntimeCanaryResult = z.infer<typeof AuditRuntimeCanaryResultSchema>;
|
|
178
|
+
export declare function requiredAuditRuntimeCanaryChecks(capabilities: AuditRuntimeCapabilities): string[];
|
|
179
|
+
export declare const AuditDeploymentReadinessSchema: z.ZodObject<{
|
|
180
|
+
requestedProfile: z.ZodEnum<{
|
|
181
|
+
"AAP-0": "AAP-0";
|
|
182
|
+
"AAP-1": "AAP-1";
|
|
183
|
+
"AAP-2": "AAP-2";
|
|
184
|
+
"AAP-3": "AAP-3";
|
|
185
|
+
"AAP-4": "AAP-4";
|
|
186
|
+
}>;
|
|
187
|
+
effectiveProfile: z.ZodEnum<{
|
|
188
|
+
"AAP-0": "AAP-0";
|
|
189
|
+
"AAP-1": "AAP-1";
|
|
190
|
+
"AAP-2": "AAP-2";
|
|
191
|
+
"AAP-3": "AAP-3";
|
|
192
|
+
"AAP-4": "AAP-4";
|
|
193
|
+
}>;
|
|
194
|
+
status: z.ZodEnum<{
|
|
195
|
+
disabled: "disabled";
|
|
196
|
+
ready: "ready";
|
|
197
|
+
degraded: "degraded";
|
|
198
|
+
}>;
|
|
199
|
+
capabilities: z.ZodNullable<z.ZodObject<{
|
|
104
200
|
recorderTopology: z.ZodEnum<{
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
201
|
+
managed: "managed";
|
|
202
|
+
none: "none";
|
|
203
|
+
"self-hosted": "self-hosted";
|
|
204
|
+
"verified-mirror": "verified-mirror";
|
|
109
205
|
}>;
|
|
110
206
|
delivery: z.ZodEnum<{
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
207
|
+
"best-effort": "best-effort";
|
|
208
|
+
buffered: "buffered";
|
|
209
|
+
required: "required";
|
|
114
210
|
}>;
|
|
115
211
|
journalDurability: z.ZodEnum<{
|
|
116
|
-
|
|
117
|
-
|
|
118
|
-
|
|
212
|
+
none: "none";
|
|
213
|
+
ephemeral: "ephemeral";
|
|
214
|
+
durable: "durable";
|
|
119
215
|
}>;
|
|
120
216
|
atomicAppend: z.ZodBoolean;
|
|
121
217
|
sourceHighWater: z.ZodBoolean;
|
|
122
218
|
merkleCheckpoints: z.ZodBoolean;
|
|
123
219
|
independentObservation: z.ZodBoolean;
|
|
124
220
|
supportingAnchors: z.ZodArray<z.ZodEnum<{
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
221
|
+
worm: "worm";
|
|
222
|
+
rfc3161: "rfc3161";
|
|
223
|
+
scitt: "scitt";
|
|
128
224
|
}>>;
|
|
129
225
|
evidenceRetention: z.ZodEnum<{
|
|
130
|
-
|
|
131
|
-
|
|
132
|
-
|
|
226
|
+
none: "none";
|
|
227
|
+
inline: "inline";
|
|
228
|
+
separate: "separate";
|
|
133
229
|
}>;
|
|
134
|
-
}, z.core.$strict
|
|
135
|
-
|
|
136
|
-
declare const AuditRuntimeCanaryResultSchema: z.ZodObject<{
|
|
230
|
+
}, z.core.$strict>>;
|
|
231
|
+
canary: z.ZodNullable<z.ZodObject<{
|
|
137
232
|
passed: z.ZodBoolean;
|
|
138
233
|
observedAt: z.ZodNumber;
|
|
139
234
|
capabilities: z.ZodObject<{
|
|
140
|
-
|
|
141
|
-
|
|
142
|
-
|
|
143
|
-
|
|
144
|
-
|
|
145
|
-
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
235
|
+
recorderTopology: z.ZodEnum<{
|
|
236
|
+
managed: "managed";
|
|
237
|
+
none: "none";
|
|
238
|
+
"self-hosted": "self-hosted";
|
|
239
|
+
"verified-mirror": "verified-mirror";
|
|
240
|
+
}>;
|
|
241
|
+
delivery: z.ZodEnum<{
|
|
242
|
+
"best-effort": "best-effort";
|
|
243
|
+
buffered: "buffered";
|
|
244
|
+
required: "required";
|
|
245
|
+
}>;
|
|
246
|
+
journalDurability: z.ZodEnum<{
|
|
247
|
+
none: "none";
|
|
248
|
+
ephemeral: "ephemeral";
|
|
249
|
+
durable: "durable";
|
|
250
|
+
}>;
|
|
251
|
+
atomicAppend: z.ZodBoolean;
|
|
252
|
+
sourceHighWater: z.ZodBoolean;
|
|
253
|
+
merkleCheckpoints: z.ZodBoolean;
|
|
254
|
+
independentObservation: z.ZodBoolean;
|
|
255
|
+
supportingAnchors: z.ZodArray<z.ZodEnum<{
|
|
256
|
+
worm: "worm";
|
|
257
|
+
rfc3161: "rfc3161";
|
|
258
|
+
scitt: "scitt";
|
|
259
|
+
}>>;
|
|
260
|
+
evidenceRetention: z.ZodEnum<{
|
|
261
|
+
none: "none";
|
|
262
|
+
inline: "inline";
|
|
263
|
+
separate: "separate";
|
|
264
|
+
}>;
|
|
170
265
|
}, z.core.$strict>;
|
|
171
266
|
checks: z.ZodArray<z.ZodObject<{
|
|
172
|
-
|
|
173
|
-
|
|
267
|
+
id: z.ZodString;
|
|
268
|
+
passed: z.ZodBoolean;
|
|
174
269
|
}, z.core.$strict>>;
|
|
175
270
|
bundleHash: z.ZodOptional<z.ZodString>;
|
|
271
|
+
}, z.core.$strict>>;
|
|
272
|
+
reasonCodes: z.ZodArray<z.ZodString>;
|
|
176
273
|
}, z.core.$strict>;
|
|
177
|
-
type
|
|
178
|
-
declare function
|
|
179
|
-
declare const
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
"AAP-4": "AAP-4";
|
|
186
|
-
}>;
|
|
187
|
-
effectiveProfile: z.ZodEnum<{
|
|
188
|
-
"AAP-0": "AAP-0";
|
|
189
|
-
"AAP-1": "AAP-1";
|
|
190
|
-
"AAP-2": "AAP-2";
|
|
191
|
-
"AAP-3": "AAP-3";
|
|
192
|
-
"AAP-4": "AAP-4";
|
|
193
|
-
}>;
|
|
194
|
-
status: z.ZodEnum<{
|
|
195
|
-
disabled: "disabled";
|
|
196
|
-
ready: "ready";
|
|
197
|
-
degraded: "degraded";
|
|
198
|
-
}>;
|
|
199
|
-
capabilities: z.ZodNullable<z.ZodObject<{
|
|
200
|
-
recorderTopology: z.ZodEnum<{
|
|
201
|
-
managed: "managed";
|
|
202
|
-
none: "none";
|
|
203
|
-
"self-hosted": "self-hosted";
|
|
204
|
-
"verified-mirror": "verified-mirror";
|
|
205
|
-
}>;
|
|
206
|
-
delivery: z.ZodEnum<{
|
|
207
|
-
"best-effort": "best-effort";
|
|
208
|
-
buffered: "buffered";
|
|
209
|
-
required: "required";
|
|
210
|
-
}>;
|
|
211
|
-
journalDurability: z.ZodEnum<{
|
|
212
|
-
none: "none";
|
|
213
|
-
ephemeral: "ephemeral";
|
|
214
|
-
durable: "durable";
|
|
215
|
-
}>;
|
|
216
|
-
atomicAppend: z.ZodBoolean;
|
|
217
|
-
sourceHighWater: z.ZodBoolean;
|
|
218
|
-
merkleCheckpoints: z.ZodBoolean;
|
|
219
|
-
independentObservation: z.ZodBoolean;
|
|
220
|
-
supportingAnchors: z.ZodArray<z.ZodEnum<{
|
|
221
|
-
worm: "worm";
|
|
222
|
-
rfc3161: "rfc3161";
|
|
223
|
-
scitt: "scitt";
|
|
224
|
-
}>>;
|
|
225
|
-
evidenceRetention: z.ZodEnum<{
|
|
226
|
-
none: "none";
|
|
227
|
-
inline: "inline";
|
|
228
|
-
separate: "separate";
|
|
229
|
-
}>;
|
|
230
|
-
}, z.core.$strict>>;
|
|
231
|
-
canary: z.ZodNullable<z.ZodObject<{
|
|
232
|
-
passed: z.ZodBoolean;
|
|
233
|
-
observedAt: z.ZodNumber;
|
|
234
|
-
capabilities: z.ZodObject<{
|
|
235
|
-
recorderTopology: z.ZodEnum<{
|
|
236
|
-
managed: "managed";
|
|
237
|
-
none: "none";
|
|
238
|
-
"self-hosted": "self-hosted";
|
|
239
|
-
"verified-mirror": "verified-mirror";
|
|
240
|
-
}>;
|
|
241
|
-
delivery: z.ZodEnum<{
|
|
242
|
-
"best-effort": "best-effort";
|
|
243
|
-
buffered: "buffered";
|
|
244
|
-
required: "required";
|
|
245
|
-
}>;
|
|
246
|
-
journalDurability: z.ZodEnum<{
|
|
247
|
-
none: "none";
|
|
248
|
-
ephemeral: "ephemeral";
|
|
249
|
-
durable: "durable";
|
|
250
|
-
}>;
|
|
251
|
-
atomicAppend: z.ZodBoolean;
|
|
252
|
-
sourceHighWater: z.ZodBoolean;
|
|
253
|
-
merkleCheckpoints: z.ZodBoolean;
|
|
254
|
-
independentObservation: z.ZodBoolean;
|
|
255
|
-
supportingAnchors: z.ZodArray<z.ZodEnum<{
|
|
256
|
-
worm: "worm";
|
|
257
|
-
rfc3161: "rfc3161";
|
|
258
|
-
scitt: "scitt";
|
|
259
|
-
}>>;
|
|
260
|
-
evidenceRetention: z.ZodEnum<{
|
|
261
|
-
none: "none";
|
|
262
|
-
inline: "inline";
|
|
263
|
-
separate: "separate";
|
|
264
|
-
}>;
|
|
265
|
-
}, z.core.$strict>;
|
|
266
|
-
checks: z.ZodArray<z.ZodObject<{
|
|
267
|
-
id: z.ZodString;
|
|
268
|
-
passed: z.ZodBoolean;
|
|
269
|
-
}, z.core.$strict>>;
|
|
270
|
-
bundleHash: z.ZodOptional<z.ZodString>;
|
|
271
|
-
}, z.core.$strict>>;
|
|
272
|
-
reasonCodes: z.ZodArray<z.ZodString>;
|
|
273
|
-
}, z.core.$strict>;
|
|
274
|
-
type AuditDeploymentReadiness = z.infer<typeof AuditDeploymentReadinessSchema>;
|
|
275
|
-
declare function resolveAuditDeploymentReadiness(config: AuditDeploymentConfig | undefined, capabilities: AuditRuntimeCapabilities | undefined, canary?: AuditRuntimeCanaryResult): AuditDeploymentReadiness;
|
|
276
|
-
declare const ManagedDeployStepStatusSchema: z.ZodEnum<{
|
|
277
|
-
pending: "pending";
|
|
278
|
-
in_progress: "in_progress";
|
|
279
|
-
completed: "completed";
|
|
280
|
-
failed: "failed";
|
|
281
|
-
skipped: "skipped";
|
|
274
|
+
export type AuditDeploymentReadiness = z.infer<typeof AuditDeploymentReadinessSchema>;
|
|
275
|
+
export declare function resolveAuditDeploymentReadiness(config: AuditDeploymentConfig | undefined, capabilities: AuditRuntimeCapabilities | undefined, canary?: AuditRuntimeCanaryResult): AuditDeploymentReadiness;
|
|
276
|
+
export declare const ManagedDeployStepStatusSchema: z.ZodEnum<{
|
|
277
|
+
pending: "pending";
|
|
278
|
+
in_progress: "in_progress";
|
|
279
|
+
completed: "completed";
|
|
280
|
+
failed: "failed";
|
|
281
|
+
skipped: "skipped";
|
|
282
282
|
}>;
|
|
283
|
-
type ManagedDeployStepStatus = z.infer<typeof ManagedDeployStepStatusSchema>;
|
|
284
|
-
declare const HeartbeatRequestSchema: z.ZodObject<{
|
|
285
|
-
|
|
286
|
-
|
|
287
|
-
|
|
288
|
-
|
|
289
|
-
|
|
290
|
-
|
|
291
|
-
|
|
292
|
-
|
|
293
|
-
|
|
294
|
-
|
|
295
|
-
|
|
296
|
-
|
|
283
|
+
export type ManagedDeployStepStatus = z.infer<typeof ManagedDeployStepStatusSchema>;
|
|
284
|
+
export declare const HeartbeatRequestSchema: z.ZodObject<{
|
|
285
|
+
agentDid: z.ZodString;
|
|
286
|
+
status: z.ZodEnum<{
|
|
287
|
+
error: "error";
|
|
288
|
+
starting: "starting";
|
|
289
|
+
running: "running";
|
|
290
|
+
stopping: "stopping";
|
|
291
|
+
}>;
|
|
292
|
+
computeVersion: z.ZodString;
|
|
293
|
+
openclawVersion: z.ZodOptional<z.ZodString>;
|
|
294
|
+
machineId: z.ZodOptional<z.ZodString>;
|
|
295
|
+
uptimeSeconds: z.ZodOptional<z.ZodNumber>;
|
|
296
|
+
memoryMb: z.ZodOptional<z.ZodNumber>;
|
|
297
297
|
}, z.core.$strip>;
|
|
298
|
-
type HeartbeatRequest = z.infer<typeof HeartbeatRequestSchema>;
|
|
299
|
-
declare const StopCommandSchema: z.ZodObject<{
|
|
300
|
-
|
|
298
|
+
export type HeartbeatRequest = z.infer<typeof HeartbeatRequestSchema>;
|
|
299
|
+
export declare const StopCommandSchema: z.ZodObject<{
|
|
300
|
+
type: z.ZodLiteral<"stop">;
|
|
301
301
|
}, z.core.$strict>;
|
|
302
|
-
declare const RestartCommandSchema: z.ZodObject<{
|
|
303
|
-
|
|
302
|
+
export declare const RestartCommandSchema: z.ZodObject<{
|
|
303
|
+
type: z.ZodLiteral<"restart">;
|
|
304
304
|
}, z.core.$strict>;
|
|
305
|
-
declare const UpdateConfigCommandSchema: z.ZodObject<{
|
|
306
|
-
|
|
305
|
+
export declare const UpdateConfigCommandSchema: z.ZodObject<{
|
|
306
|
+
type: z.ZodLiteral<"update_config">;
|
|
307
307
|
}, z.core.$strict>;
|
|
308
|
-
declare const UpdateVersionCommandSchema: z.ZodObject<{
|
|
309
|
-
|
|
310
|
-
|
|
311
|
-
|
|
312
|
-
|
|
308
|
+
export declare const UpdateVersionCommandSchema: z.ZodObject<{
|
|
309
|
+
type: z.ZodLiteral<"update_version">;
|
|
310
|
+
payload: z.ZodObject<{
|
|
311
|
+
version: z.ZodString;
|
|
312
|
+
}, z.core.$strip>;
|
|
313
313
|
}, z.core.$strict>;
|
|
314
|
-
declare const ComputeCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
315
|
-
|
|
314
|
+
export declare const ComputeCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
315
|
+
type: z.ZodLiteral<"stop">;
|
|
316
316
|
}, z.core.$strict>, z.ZodObject<{
|
|
317
|
-
|
|
317
|
+
type: z.ZodLiteral<"restart">;
|
|
318
318
|
}, z.core.$strict>, z.ZodObject<{
|
|
319
|
-
|
|
319
|
+
type: z.ZodLiteral<"update_config">;
|
|
320
320
|
}, z.core.$strict>, z.ZodObject<{
|
|
321
|
+
type: z.ZodLiteral<"update_version">;
|
|
322
|
+
payload: z.ZodObject<{
|
|
323
|
+
version: z.ZodString;
|
|
324
|
+
}, z.core.$strip>;
|
|
325
|
+
}, z.core.$strict>], "type">;
|
|
326
|
+
export type ComputeCommand = z.infer<typeof ComputeCommandSchema>;
|
|
327
|
+
export declare const HeartbeatResponseSchema: z.ZodObject<{
|
|
328
|
+
ack: z.ZodLiteral<true>;
|
|
329
|
+
commands: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
330
|
+
type: z.ZodLiteral<"stop">;
|
|
331
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
332
|
+
type: z.ZodLiteral<"restart">;
|
|
333
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
334
|
+
type: z.ZodLiteral<"update_config">;
|
|
335
|
+
}, z.core.$strict>, z.ZodObject<{
|
|
321
336
|
type: z.ZodLiteral<"update_version">;
|
|
322
337
|
payload: z.ZodObject<{
|
|
323
|
-
|
|
338
|
+
version: z.ZodString;
|
|
324
339
|
}, z.core.$strip>;
|
|
325
|
-
}, z.core.$strict>], "type"
|
|
326
|
-
|
|
327
|
-
declare const HeartbeatResponseSchema: z.ZodObject<{
|
|
328
|
-
ack: z.ZodLiteral<true>;
|
|
329
|
-
commands: z.ZodDefault<z.ZodArray<z.ZodDiscriminatedUnion<[z.ZodObject<{
|
|
330
|
-
type: z.ZodLiteral<"stop">;
|
|
331
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
332
|
-
type: z.ZodLiteral<"restart">;
|
|
333
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
334
|
-
type: z.ZodLiteral<"update_config">;
|
|
335
|
-
}, z.core.$strict>, z.ZodObject<{
|
|
336
|
-
type: z.ZodLiteral<"update_version">;
|
|
337
|
-
payload: z.ZodObject<{
|
|
338
|
-
version: z.ZodString;
|
|
339
|
-
}, z.core.$strip>;
|
|
340
|
-
}, z.core.$strict>], "type">>>;
|
|
341
|
-
configUpdatedAt: z.ZodOptional<z.ZodString>;
|
|
340
|
+
}, z.core.$strict>], "type">>>;
|
|
341
|
+
configUpdatedAt: z.ZodOptional<z.ZodString>;
|
|
342
342
|
}, z.core.$strip>;
|
|
343
|
-
type HeartbeatResponse = z.infer<typeof HeartbeatResponseSchema>;
|
|
344
|
-
declare const ConfigBundleSchema: z.ZodObject<{
|
|
345
|
-
|
|
346
|
-
|
|
347
|
-
|
|
348
|
-
|
|
349
|
-
|
|
350
|
-
|
|
351
|
-
|
|
352
|
-
|
|
353
|
-
|
|
354
|
-
|
|
355
|
-
|
|
356
|
-
|
|
357
|
-
|
|
358
|
-
|
|
359
|
-
|
|
360
|
-
|
|
361
|
-
|
|
362
|
-
|
|
363
|
-
|
|
364
|
-
|
|
365
|
-
|
|
366
|
-
|
|
367
|
-
|
|
368
|
-
|
|
369
|
-
|
|
370
|
-
|
|
371
|
-
|
|
372
|
-
|
|
373
|
-
|
|
374
|
-
|
|
375
|
-
|
|
376
|
-
|
|
377
|
-
|
|
378
|
-
|
|
343
|
+
export type HeartbeatResponse = z.infer<typeof HeartbeatResponseSchema>;
|
|
344
|
+
export declare const ConfigBundleSchema: z.ZodObject<{
|
|
345
|
+
version: z.ZodNumber;
|
|
346
|
+
killed: z.ZodBoolean;
|
|
347
|
+
openclawVersion: z.ZodString;
|
|
348
|
+
soulFile: z.ZodNullable<z.ZodString>;
|
|
349
|
+
gatewayToken: z.ZodString;
|
|
350
|
+
channels: z.ZodObject<{
|
|
351
|
+
telegram: z.ZodOptional<z.ZodObject<{
|
|
352
|
+
enabled: z.ZodBoolean;
|
|
353
|
+
token: z.ZodOptional<z.ZodString>;
|
|
354
|
+
}, z.core.$strip>>;
|
|
355
|
+
discord: z.ZodOptional<z.ZodObject<{
|
|
356
|
+
enabled: z.ZodBoolean;
|
|
357
|
+
token: z.ZodOptional<z.ZodString>;
|
|
358
|
+
}, z.core.$strip>>;
|
|
359
|
+
slack: z.ZodOptional<z.ZodObject<{
|
|
360
|
+
enabled: z.ZodBoolean;
|
|
361
|
+
token: z.ZodOptional<z.ZodString>;
|
|
362
|
+
appToken: z.ZodOptional<z.ZodString>;
|
|
363
|
+
}, z.core.$strip>>;
|
|
364
|
+
whatsapp: z.ZodOptional<z.ZodObject<{
|
|
365
|
+
enabled: z.ZodBoolean;
|
|
366
|
+
}, z.core.$strict>>;
|
|
367
|
+
}, z.core.$strip>;
|
|
368
|
+
aiProvider: z.ZodObject<{
|
|
369
|
+
type: z.ZodEnum<{
|
|
370
|
+
anthropic: "anthropic";
|
|
371
|
+
openai: "openai";
|
|
372
|
+
}>;
|
|
373
|
+
apiKey: z.ZodString;
|
|
374
|
+
baseUrl: z.ZodOptional<z.ZodString>;
|
|
375
|
+
}, z.core.$strip>;
|
|
376
|
+
heartbeatEvery: z.ZodOptional<z.ZodString>;
|
|
377
|
+
modelOverride: z.ZodOptional<z.ZodString>;
|
|
378
|
+
updatedAt: z.ZodString;
|
|
379
379
|
}, z.core.$strip>;
|
|
380
|
-
type ConfigBundle = z.infer<typeof ConfigBundleSchema>;
|
|
381
|
-
declare const ControlStatusSchema: z.ZodObject<{
|
|
382
|
-
|
|
383
|
-
|
|
384
|
-
|
|
385
|
-
|
|
386
|
-
|
|
387
|
-
|
|
388
|
-
|
|
380
|
+
export type ConfigBundle = z.infer<typeof ConfigBundleSchema>;
|
|
381
|
+
export declare const ControlStatusSchema: z.ZodObject<{
|
|
382
|
+
healthy: z.ZodBoolean;
|
|
383
|
+
uptimeSeconds: z.ZodNumber;
|
|
384
|
+
openclawVersion: z.ZodString;
|
|
385
|
+
computeVersion: z.ZodString;
|
|
386
|
+
activeConnections: z.ZodNumber;
|
|
387
|
+
memoryMb: z.ZodNumber;
|
|
388
|
+
cpuPercent: z.ZodNumber;
|
|
389
389
|
}, z.core.$strip>;
|
|
390
|
-
type ControlStatus = z.infer<typeof ControlStatusSchema>;
|
|
391
|
-
|
|
392
|
-
|
|
390
|
+
export type ControlStatus = z.infer<typeof ControlStatusSchema>;
|
|
391
|
+
//#endregion
|
|
392
|
+
//# sourceMappingURL=index.d.mts.map
|