@onkernel/sdk 0.101.0 → 0.103.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 (47) hide show
  1. package/CHANGELOG.md +29 -0
  2. package/package.json +1 -1
  3. package/resources/auth/connections.d.mts +14 -0
  4. package/resources/auth/connections.d.mts.map +1 -1
  5. package/resources/auth/connections.d.ts +14 -0
  6. package/resources/auth/connections.d.ts.map +1 -1
  7. package/resources/browsers/computer.d.mts +6 -2
  8. package/resources/browsers/computer.d.mts.map +1 -1
  9. package/resources/browsers/computer.d.ts +6 -2
  10. package/resources/browsers/computer.d.ts.map +1 -1
  11. package/resources/config-registry/config-registry.d.mts +54 -1
  12. package/resources/config-registry/config-registry.d.mts.map +1 -1
  13. package/resources/config-registry/config-registry.d.ts +54 -1
  14. package/resources/config-registry/config-registry.d.ts.map +1 -1
  15. package/resources/config-registry/config-registry.js.map +1 -1
  16. package/resources/config-registry/config-registry.mjs.map +1 -1
  17. package/resources/vaults/index.d.mts +1 -1
  18. package/resources/vaults/index.d.mts.map +1 -1
  19. package/resources/vaults/index.d.ts +1 -1
  20. package/resources/vaults/index.d.ts.map +1 -1
  21. package/resources/vaults/index.js.map +1 -1
  22. package/resources/vaults/index.mjs.map +1 -1
  23. package/resources/vaults/items.d.mts +814 -49
  24. package/resources/vaults/items.d.mts.map +1 -1
  25. package/resources/vaults/items.d.ts +814 -49
  26. package/resources/vaults/items.d.ts.map +1 -1
  27. package/resources/vaults/items.js +52 -20
  28. package/resources/vaults/items.js.map +1 -1
  29. package/resources/vaults/items.mjs +52 -20
  30. package/resources/vaults/items.mjs.map +1 -1
  31. package/resources/vaults/vaults.d.mts +2 -2
  32. package/resources/vaults/vaults.d.mts.map +1 -1
  33. package/resources/vaults/vaults.d.ts +2 -2
  34. package/resources/vaults/vaults.d.ts.map +1 -1
  35. package/resources/vaults/vaults.js.map +1 -1
  36. package/resources/vaults/vaults.mjs.map +1 -1
  37. package/src/resources/auth/connections.ts +17 -0
  38. package/src/resources/browsers/computer.ts +6 -2
  39. package/src/resources/config-registry/config-registry.ts +68 -1
  40. package/src/resources/vaults/index.ts +24 -0
  41. package/src/resources/vaults/items.ts +1009 -49
  42. package/src/resources/vaults/vaults.ts +48 -0
  43. package/src/version.ts +1 -1
  44. package/version.d.mts +1 -1
  45. package/version.d.ts +1 -1
  46. package/version.js +1 -1
  47. package/version.mjs +1 -1
@@ -152,6 +152,34 @@ export interface ConfigRegistryResponse {
152
152
  recommendation: RecommendationResult | null;
153
153
 
154
154
  target: Target;
155
+
156
+ /**
157
+ * Working configurations for the target, ordered with the recommended
158
+ * configuration first.
159
+ */
160
+ working_configurations: Array<Recommendation>;
161
+
162
+ /**
163
+ * Short advisory markdown to facilitate navigating this target. Returned even when
164
+ * no configuration reached the target, since knowing what prevented success is
165
+ * useful without a configuration. Not verified against this target. Null when
166
+ * nothing applicable was observed or no notes exist.
167
+ */
168
+ guidance?: string | null;
169
+
170
+ /**
171
+ * How far the workload pass got, when an intent was supplied and a pass ran. A run
172
+ * outcome rather than advice, so it is reported whether or not any guidance could
173
+ * be assembled. Null when no intent was supplied or no pass ran.
174
+ */
175
+ workload_outcome?:
176
+ | 'completed'
177
+ | 'turn_limit'
178
+ | 'auth_required'
179
+ | 'payment_required'
180
+ | 'blocked'
181
+ | 'error'
182
+ | null;
155
183
  }
156
184
 
157
185
  export interface Evidence {
@@ -201,9 +229,26 @@ export interface LookupRequest {
201
229
  }
202
230
 
203
231
  export interface LookupResponse {
204
- recommendation: Recommendation | null;
232
+ /**
233
+ * A recommendation or a structured no-recommendation result.
234
+ */
235
+ recommendation: RecommendationResult | null;
205
236
 
206
237
  target: Target;
238
+
239
+ /**
240
+ * Working configurations for the target, ordered with the recommended
241
+ * configuration first.
242
+ */
243
+ working_configurations: Array<Recommendation>;
244
+
245
+ /**
246
+ * Short advisory markdown to facilitate navigating this target. Returned even when
247
+ * no configuration reached the target, since knowing what prevented success is
248
+ * useful without a configuration. Not verified against this target. Null when
249
+ * nothing applicable was observed or no notes exist.
250
+ */
251
+ guidance?: string | null;
207
252
  }
208
253
 
209
254
  export interface NoRecommendation {
@@ -490,6 +535,17 @@ export interface ResolveRequest {
490
535
  * Kernel uses its default country selection.
491
536
  */
492
537
  allowed_proxy_countries?: Array<string>;
538
+
539
+ /**
540
+ * Plain-language description of the workload you intend to run against this
541
+ * target, in a sentence or two. Requires an https target, because the pass treats
542
+ * any non-HTTPS destination as off-site and will not drive an http one. Kernel
543
+ * uses it to drive the browser further into the site, where it can observe
544
+ * protections that only appear once a session interacts. When this target already
545
+ * has a verified configuration, the run confirms that one instead of re-deriving
546
+ * the whole matrix, so supplying an intent narrows what can be recommended.
547
+ */
548
+ intent?: string;
493
549
  }
494
550
 
495
551
  export interface Target {
@@ -546,6 +602,17 @@ export interface ConfigRegistryResolveParams {
546
602
  * Kernel uses its default country selection.
547
603
  */
548
604
  allowed_proxy_countries?: Array<string>;
605
+
606
+ /**
607
+ * Plain-language description of the workload you intend to run against this
608
+ * target, in a sentence or two. Requires an https target, because the pass treats
609
+ * any non-HTTPS destination as off-site and will not drive an http one. Kernel
610
+ * uses it to drive the browser further into the site, where it can observe
611
+ * protections that only appear once a session interacts. When this target already
612
+ * has a verified configuration, the run confirms that one instead of re-deriving
613
+ * the whole matrix, so supplying an intent narrows what can be recommended.
614
+ */
615
+ intent?: string;
549
616
  }
550
617
 
551
618
  ConfigRegistry.Analyses = Analyses;
@@ -3,12 +3,36 @@
3
3
  export {
4
4
  Items,
5
5
  type AgentcardCheckoutAuthorization,
6
+ type AgentcardCheckoutPreparation,
7
+ type AuthorizeVaultItemOperationRequest,
6
8
  type CardVaultItemSpec,
7
9
  type CardVaultItemState,
10
+ type CollectVaultItemOperationRequest,
11
+ type CredentialCollectionAction,
12
+ type CredentialVaultFieldDefinition,
13
+ type CredentialVaultFieldInput,
14
+ type CredentialVaultFieldState,
15
+ type CredentialVaultFieldType,
16
+ type CredentialVaultFieldUpdate,
17
+ type CredentialVaultItem,
18
+ type CredentialVaultItemRequest,
19
+ type CredentialVaultItemSpec,
20
+ type CredentialVaultItemSpecInput,
21
+ type CredentialVaultItemSpecUpdate,
22
+ type CredentialVaultItemState,
23
+ type CredentialVaultItemUpdateRequest,
24
+ type FillVaultItemOperationRequest,
25
+ type FillVaultItemOperationResult,
26
+ type PrepareCheckoutVaultItemOperationRequest,
8
27
  type VaultCardAliases,
28
+ type VaultCardFillField,
29
+ type VaultCheckoutContext,
30
+ type VaultFillField,
31
+ type VaultFillFieldResult,
9
32
  type VaultItem,
10
33
  type VaultItemAction,
11
34
  type VaultItemEvent,
35
+ type VaultItemOperationResponse,
12
36
  type VaultPaymentMethod,
13
37
  type WalletVaultItemSpec,
14
38
  type WalletVaultItemState,