@kya-os/checkpoint-shared 1.4.0 → 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.
Files changed (161) hide show
  1. package/CHANGELOG.md +32 -0
  2. package/dist/beacon-types/index.d.mts +441 -432
  3. package/dist/beacon-types/index.d.mts.map +1 -0
  4. package/dist/beacon-types/index.d.ts +441 -432
  5. package/dist/beacon-types/index.d.ts.map +1 -0
  6. package/dist/beacon-types/index.js +198 -182
  7. package/dist/beacon-types/index.mjs +197 -179
  8. package/dist/beacon-types/index.mjs.map +1 -0
  9. package/dist/browser-posture-cookie-Dmq9Brf_.d.mts +5 -0
  10. package/dist/browser-posture-cookie-Dmq9Brf_.d.mts.map +1 -0
  11. package/dist/browser-posture-cookie-Dmq9Brf_.d.ts +5 -0
  12. package/dist/browser-posture-cookie-Dmq9Brf_.d.ts.map +1 -0
  13. package/dist/browser-posture-cookie.d.mts +2 -0
  14. package/dist/browser-posture-cookie.d.ts +2 -0
  15. package/dist/browser-posture-cookie.js +1 -0
  16. package/dist/browser-posture-cookie.mjs +2 -0
  17. package/dist/browser-posture-cookie.mjs.map +1 -0
  18. package/dist/browser-posture-report.d.mts +48 -44
  19. package/dist/browser-posture-report.d.mts.map +1 -0
  20. package/dist/browser-posture-report.d.ts +48 -44
  21. package/dist/browser-posture-report.d.ts.map +1 -0
  22. package/dist/browser-posture-report.js +1 -1
  23. package/dist/browser-posture-report.mjs +2 -1
  24. package/dist/browser-posture-report.mjs.map +1 -0
  25. package/dist/browser-posture.d.mts +80 -75
  26. package/dist/browser-posture.d.mts.map +1 -0
  27. package/dist/browser-posture.d.ts +80 -75
  28. package/dist/browser-posture.d.ts.map +1 -0
  29. package/dist/browser-posture.js +159 -18993
  30. package/dist/browser-posture.mjs +158 -18990
  31. package/dist/browser-posture.mjs.map +1 -0
  32. package/dist/browser.d.mts +323 -316
  33. package/dist/browser.d.mts.map +1 -0
  34. package/dist/browser.d.ts +323 -316
  35. package/dist/browser.d.ts.map +1 -0
  36. package/dist/browser.js +1 -1
  37. package/dist/browser.mjs +2 -1
  38. package/dist/browser.mjs.map +1 -0
  39. package/dist/canonical-signer/index.d.mts +38 -33
  40. package/dist/canonical-signer/index.d.mts.map +1 -0
  41. package/dist/canonical-signer/index.d.ts +38 -33
  42. package/dist/canonical-signer/index.d.ts.map +1 -0
  43. package/dist/canonical-signer/index.js +411 -181
  44. package/dist/canonical-signer/index.mjs +383 -175
  45. package/dist/canonical-signer/index.mjs.map +1 -0
  46. package/dist/clearance.d.mts +30 -0
  47. package/dist/clearance.d.mts.map +1 -0
  48. package/dist/clearance.d.ts +30 -0
  49. package/dist/clearance.d.ts.map +1 -0
  50. package/dist/clearance.js +120 -0
  51. package/dist/clearance.mjs +112 -0
  52. package/dist/clearance.mjs.map +1 -0
  53. package/dist/client-ip-1y2iXAYW.js +237 -0
  54. package/dist/client-ip-HOfe6ucV.mjs +215 -0
  55. package/dist/client-ip-HOfe6ucV.mjs.map +1 -0
  56. package/dist/deploy/index.d.mts +339 -339
  57. package/dist/deploy/index.d.mts.map +1 -0
  58. package/dist/deploy/index.d.ts +339 -339
  59. package/dist/deploy/index.d.ts.map +1 -0
  60. package/dist/deploy/index.js +505 -413
  61. package/dist/deploy/index.mjs +504 -410
  62. package/dist/deploy/index.mjs.map +1 -0
  63. package/dist/errors/index.d.mts +101 -101
  64. package/dist/errors/index.d.mts.map +1 -0
  65. package/dist/errors/index.d.ts +101 -101
  66. package/dist/errors/index.d.ts.map +1 -0
  67. package/dist/errors/index.js +341 -314
  68. package/dist/errors/index.mjs +340 -311
  69. package/dist/errors/index.mjs.map +1 -0
  70. package/dist/external-jr_S4iSS.d.mts +4187 -0
  71. package/dist/external-jr_S4iSS.d.mts.map +1 -0
  72. package/dist/external-jr_S4iSS.d.ts +4187 -0
  73. package/dist/external-jr_S4iSS.d.ts.map +1 -0
  74. package/dist/gateway/index.d.mts +138 -132
  75. package/dist/gateway/index.d.mts.map +1 -0
  76. package/dist/gateway/index.d.ts +138 -132
  77. package/dist/gateway/index.d.ts.map +1 -0
  78. package/dist/gateway/index.js +117 -81
  79. package/dist/gateway/index.mjs +116 -78
  80. package/dist/gateway/index.mjs.map +1 -0
  81. package/dist/gateway-client-ip.d.mts +59 -0
  82. package/dist/gateway-client-ip.d.mts.map +1 -0
  83. package/dist/gateway-client-ip.d.ts +59 -0
  84. package/dist/gateway-client-ip.d.ts.map +1 -0
  85. package/dist/gateway-client-ip.js +149 -0
  86. package/dist/gateway-client-ip.mjs +139 -0
  87. package/dist/gateway-client-ip.mjs.map +1 -0
  88. package/dist/index.d.mts +14895 -14240
  89. package/dist/index.d.mts.map +1 -0
  90. package/dist/index.d.ts +14895 -14240
  91. package/dist/index.d.ts.map +1 -0
  92. package/dist/index.js +15180 -31025
  93. package/dist/index.mjs +15065 -30942
  94. package/dist/index.mjs.map +1 -0
  95. package/dist/mcpi/agentshield-api/index.d.mts +45 -44
  96. package/dist/mcpi/agentshield-api/index.d.mts.map +1 -0
  97. package/dist/mcpi/agentshield-api/index.d.ts +45 -44
  98. package/dist/mcpi/agentshield-api/index.d.ts.map +1 -0
  99. package/dist/mcpi/agentshield-api/index.js +0 -2
  100. package/dist/mcpi/agentshield-api/index.mjs +1 -1
  101. package/dist/mcpi/approval-grant/index.d.mts +63 -61
  102. package/dist/mcpi/approval-grant/index.d.mts.map +1 -0
  103. package/dist/mcpi/approval-grant/index.d.ts +63 -61
  104. package/dist/mcpi/approval-grant/index.d.ts.map +1 -0
  105. package/dist/mcpi/approval-grant/index.js +220 -140
  106. package/dist/mcpi/approval-grant/index.mjs +219 -137
  107. package/dist/mcpi/approval-grant/index.mjs.map +1 -0
  108. package/dist/mcpi/dashboard-config/index.d.mts +2323 -2318
  109. package/dist/mcpi/dashboard-config/index.d.mts.map +1 -0
  110. package/dist/mcpi/dashboard-config/index.d.ts +2323 -2318
  111. package/dist/mcpi/dashboard-config/index.d.ts.map +1 -0
  112. package/dist/mcpi/dashboard-config/index.js +605 -458
  113. package/dist/mcpi/dashboard-config/index.mjs +604 -455
  114. package/dist/mcpi/dashboard-config/index.mjs.map +1 -0
  115. package/dist/mcpi/multibase-ed25519.d.mts +10 -8
  116. package/dist/mcpi/multibase-ed25519.d.mts.map +1 -0
  117. package/dist/mcpi/multibase-ed25519.d.ts +10 -8
  118. package/dist/mcpi/multibase-ed25519.d.ts.map +1 -0
  119. package/dist/mcpi/multibase-ed25519.js +182 -106
  120. package/dist/mcpi/multibase-ed25519.mjs +181 -103
  121. package/dist/mcpi/multibase-ed25519.mjs.map +1 -0
  122. package/dist/patterns-CkRVOdtV.js +243 -0
  123. package/dist/patterns-DzkGy_qk.mjs +173 -0
  124. package/dist/patterns-DzkGy_qk.mjs.map +1 -0
  125. package/dist/project-verification-key-C3L5rd8a.js +41 -0
  126. package/dist/project-verification-key-CgSVX9_m.mjs +37 -0
  127. package/dist/project-verification-key-CgSVX9_m.mjs.map +1 -0
  128. package/dist/rolldown-runtime-iY2fYEqi.mjs +19 -0
  129. package/dist/schemas-BmjNLAE7.js +5677 -0
  130. package/dist/schemas-DxY-dk9y.mjs +5511 -0
  131. package/dist/schemas-DxY-dk9y.mjs.map +1 -0
  132. package/dist/signals/index.d.mts +125 -115
  133. package/dist/signals/index.d.mts.map +1 -0
  134. package/dist/signals/index.d.ts +125 -115
  135. package/dist/signals/index.d.ts.map +1 -0
  136. package/dist/signals/index.js +1693 -1536
  137. package/dist/signals/index.mjs +1692 -1533
  138. package/dist/signals/index.mjs.map +1 -0
  139. package/dist/test-fixtures/index.d.mts +124 -119
  140. package/dist/test-fixtures/index.d.mts.map +1 -0
  141. package/dist/test-fixtures/index.d.ts +124 -119
  142. package/dist/test-fixtures/index.d.ts.map +1 -0
  143. package/dist/test-fixtures/index.js +460 -228
  144. package/dist/test-fixtures/index.mjs +459 -225
  145. package/dist/test-fixtures/index.mjs.map +1 -0
  146. package/dist/tool-protection/index.d.mts +343 -343
  147. package/dist/tool-protection/index.d.mts.map +1 -0
  148. package/dist/tool-protection/index.d.ts +343 -343
  149. package/dist/tool-protection/index.d.ts.map +1 -0
  150. package/dist/tool-protection/index.js +366 -285
  151. package/dist/tool-protection/index.mjs +365 -282
  152. package/dist/tool-protection/index.mjs.map +1 -0
  153. package/fixtures/bot-signal-resolution.json +142 -0
  154. package/fixtures/browser-posture-claims.json +421 -0
  155. package/fixtures/browser-posture-headers.json +46 -0
  156. package/fixtures/detection/reason-codes.json +10 -1
  157. package/fixtures/kya-http/challenge.delegation.fetcher-200.json +9 -3
  158. package/fixtures/kya-http/challenge.delegation.full.json +9 -3
  159. package/fixtures/kya-http/challenge.delegation.minimal.json +9 -3
  160. package/fixtures/kya-http/error-codes.json +7 -2
  161. package/package.json +20 -6
@@ -1,392 +1,392 @@
1
- import { z } from 'zod';
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
- 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";
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
- byok: "byok";
44
- managed: "managed";
45
- "managed-byoa": "managed-byoa";
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
- type HostingMode = z.infer<typeof HostingModeSchema>;
48
- declare const AuditAssuranceProfileSchema: z.ZodEnum<{
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
- declare const AuditDeliveryModeSchema: z.ZodEnum<{
68
+ }>;
69
+ delivery: z.ZodEnum<{
56
70
  "best-effort": "best-effort";
57
71
  buffered: "buffered";
58
72
  required: "required";
59
- }>;
60
- declare const AuditDeploymentConfigSchema: z.ZodObject<{
61
- enabled: z.ZodBoolean;
62
- requestedProfile: z.ZodEnum<{
63
- "AAP-0": "AAP-0";
64
- "AAP-1": "AAP-1";
65
- "AAP-2": "AAP-2";
66
- "AAP-3": "AAP-3";
67
- "AAP-4": "AAP-4";
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
- "best-effort": "best-effort";
71
- buffered: "buffered";
72
- required: "required";
147
+ "best-effort": "best-effort";
148
+ buffered: "buffered";
149
+ required: "required";
73
150
  }>;
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";
151
+ journalDurability: z.ZodEnum<{
152
+ none: "none";
153
+ ephemeral: "ephemeral";
154
+ durable: "durable";
91
155
  }>;
92
- recorderTopology: z.ZodEnum<{
93
- managed: "managed";
94
- none: "none";
95
- "self-hosted": "self-hosted";
96
- "verified-mirror": "verified-mirror";
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 AuditDeploymentConfig = z.infer<typeof AuditDeploymentConfigSchema>;
100
- type AuditAssuranceProfile = z.infer<typeof AuditAssuranceProfileSchema>;
101
- declare const NEW_MANAGED_AUDIT_DEPLOYMENT_DEFAULT: Readonly<AuditDeploymentConfig>;
102
- declare const ABSENT_AUDIT_DEPLOYMENT_CONFIG: Readonly<AuditDeploymentConfig>;
103
- declare const AuditRuntimeCapabilitiesSchema: z.ZodObject<{
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
- managed: "managed";
106
- none: "none";
107
- "self-hosted": "self-hosted";
108
- "verified-mirror": "verified-mirror";
201
+ managed: "managed";
202
+ none: "none";
203
+ "self-hosted": "self-hosted";
204
+ "verified-mirror": "verified-mirror";
109
205
  }>;
110
206
  delivery: z.ZodEnum<{
111
- "best-effort": "best-effort";
112
- buffered: "buffered";
113
- required: "required";
207
+ "best-effort": "best-effort";
208
+ buffered: "buffered";
209
+ required: "required";
114
210
  }>;
115
211
  journalDurability: z.ZodEnum<{
116
- none: "none";
117
- ephemeral: "ephemeral";
118
- durable: "durable";
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
- worm: "worm";
126
- rfc3161: "rfc3161";
127
- scitt: "scitt";
221
+ worm: "worm";
222
+ rfc3161: "rfc3161";
223
+ scitt: "scitt";
128
224
  }>>;
129
225
  evidenceRetention: z.ZodEnum<{
130
- none: "none";
131
- inline: "inline";
132
- separate: "separate";
226
+ none: "none";
227
+ inline: "inline";
228
+ separate: "separate";
133
229
  }>;
134
- }, z.core.$strict>;
135
- type AuditRuntimeCapabilities = z.infer<typeof AuditRuntimeCapabilitiesSchema>;
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
- recorderTopology: z.ZodEnum<{
141
- managed: "managed";
142
- none: "none";
143
- "self-hosted": "self-hosted";
144
- "verified-mirror": "verified-mirror";
145
- }>;
146
- delivery: z.ZodEnum<{
147
- "best-effort": "best-effort";
148
- buffered: "buffered";
149
- required: "required";
150
- }>;
151
- journalDurability: z.ZodEnum<{
152
- none: "none";
153
- ephemeral: "ephemeral";
154
- durable: "durable";
155
- }>;
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";
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
- id: z.ZodString;
173
- passed: z.ZodBoolean;
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 AuditRuntimeCanaryResult = z.infer<typeof AuditRuntimeCanaryResultSchema>;
178
- declare function requiredAuditRuntimeCanaryChecks(capabilities: AuditRuntimeCapabilities): string[];
179
- 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<{
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
- 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>;
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
- type: z.ZodLiteral<"stop">;
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
- type: z.ZodLiteral<"restart">;
302
+ export declare const RestartCommandSchema: z.ZodObject<{
303
+ type: z.ZodLiteral<"restart">;
304
304
  }, z.core.$strict>;
305
- declare const UpdateConfigCommandSchema: z.ZodObject<{
306
- type: z.ZodLiteral<"update_config">;
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
- type: z.ZodLiteral<"update_version">;
310
- payload: z.ZodObject<{
311
- version: z.ZodString;
312
- }, z.core.$strip>;
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
- type: z.ZodLiteral<"stop">;
314
+ export declare const ComputeCommandSchema: z.ZodDiscriminatedUnion<[z.ZodObject<{
315
+ type: z.ZodLiteral<"stop">;
316
316
  }, z.core.$strict>, z.ZodObject<{
317
- type: z.ZodLiteral<"restart">;
317
+ type: z.ZodLiteral<"restart">;
318
318
  }, z.core.$strict>, z.ZodObject<{
319
- type: z.ZodLiteral<"update_config">;
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
- version: z.ZodString;
338
+ version: z.ZodString;
324
339
  }, z.core.$strip>;
325
- }, z.core.$strict>], "type">;
326
- type ComputeCommand = z.infer<typeof ComputeCommandSchema>;
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
- 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;
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
- 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;
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
- export { ABSENT_AUDIT_DEPLOYMENT_CONFIG, type AuditAssuranceProfile, AuditAssuranceProfileSchema, AuditDeliveryModeSchema, type AuditDeploymentConfig, AuditDeploymentConfigSchema, type AuditDeploymentReadiness, AuditDeploymentReadinessSchema, type AuditRuntimeCanaryResult, AuditRuntimeCanaryResultSchema, type AuditRuntimeCapabilities, AuditRuntimeCapabilitiesSchema, type ComputeCommand, ComputeCommandSchema, type ConfigBundle, ConfigBundleSchema, type ControlStatus, ControlStatusSchema, DidStringSchema, type FlyRegion, FlyRegionSchema, type HeartbeatRequest, HeartbeatRequestSchema, type HeartbeatResponse, HeartbeatResponseSchema, type HostingMode, HostingModeSchema, KYA_OS_EVENTS_PATH, type ManagedDeployStepStatus, ManagedDeployStepStatusSchema, NEW_MANAGED_AUDIT_DEPLOYMENT_DEFAULT, RestartCommandSchema, StopCommandSchema, UpdateConfigCommandSchema, UpdateVersionCommandSchema, requiredAuditRuntimeCanaryChecks, resolveAuditDeploymentReadiness };
390
+ export type ControlStatus = z.infer<typeof ControlStatusSchema>;
391
+ //#endregion
392
+ //# sourceMappingURL=index.d.ts.map