codai-sdk 0.74.0 → 0.74.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/dist/index.d.ts +8 -8
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -19242,7 +19242,7 @@ type components$1 = {
|
|
|
19242
19242
|
readonly nonce: string;
|
|
19243
19243
|
};
|
|
19244
19244
|
readonly VaultDeviceEnroll: {
|
|
19245
|
-
/** @description Required for `android_keystore` (certificate chain, leaf first, attestation challenge = nonce bytes). Optional for `windows_hello`: a TPM attestation gives `tpm`, none gives `hello-unattested`. Must be absent for `cli_ed25519` (surface `cli`, stored as `software`). */
|
|
19245
|
+
/** @description Required for `android_keystore` (certificate chain, leaf first, attestation challenge = nonce bytes). Optional for `windows_hello`: a TPM attestation gives `tpm`, none gives `hello-unattested`. Must be absent for `cli_ed25519` (surface `cli`, stored as `software`) and for `ios_secure_enclave` (surface `phone`, stored as `ios-unattested`). */
|
|
19246
19246
|
readonly attestation?: {
|
|
19247
19247
|
readonly android_chain: readonly string[];
|
|
19248
19248
|
} | {
|
|
@@ -19252,10 +19252,10 @@ type components$1 = {
|
|
|
19252
19252
|
};
|
|
19253
19253
|
};
|
|
19254
19254
|
readonly device_id: string;
|
|
19255
|
-
/** @description The device key over the same message (ECDSA P-256 DER on Android
|
|
19255
|
+
/** @description The device key over the same message (ECDSA P-256 DER on Android and for `ios_secure_enclave`, RSASSA-PKCS1-v1_5 SHA-256 for Windows Hello, raw 64-byte Ed25519 for `cli_ed25519`), base64url. */
|
|
19256
19256
|
readonly device_signature: string;
|
|
19257
19257
|
/** @enum {string} */
|
|
19258
|
-
readonly kind: 'android_keystore' | 'windows_hello' | 'cli_ed25519';
|
|
19258
|
+
readonly kind: 'android_keystore' | 'windows_hello' | 'cli_ed25519' | 'ios_secure_enclave';
|
|
19259
19259
|
readonly name: string;
|
|
19260
19260
|
/** @description Nonce from `POST /v1/vault/devices/challenge`. */
|
|
19261
19261
|
readonly nonce: string;
|
|
@@ -19268,23 +19268,23 @@ type components$1 = {
|
|
|
19268
19268
|
};
|
|
19269
19269
|
readonly VaultDeviceKey: {
|
|
19270
19270
|
/**
|
|
19271
|
-
* @description What the gateway verified at enrolment: Google key attestation (StrongBox or TEE), a TPM attestation of the Windows Hello key, an unattested Windows Hello key,
|
|
19271
|
+
* @description What the gateway verified at enrolment: Google key attestation (StrongBox or TEE), a TPM attestation of the Windows Hello key, an unattested Windows Hello key, `software` for a `cli_ed25519` key (no hardware proof), or `ios-unattested` for an iPhone Secure Enclave key without App Attest (tier-3 approvals only; a tier-4 approve answers `step_up_required`).
|
|
19272
19272
|
* @enum {string}
|
|
19273
19273
|
*/
|
|
19274
|
-
readonly attestation: 'android-strongbox' | 'android-tee' | 'tpm' | 'hello-unattested' | 'software';
|
|
19274
|
+
readonly attestation: 'android-strongbox' | 'android-tee' | 'tpm' | 'hello-unattested' | 'software' | 'ios-unattested';
|
|
19275
19275
|
/** @description Attestation details (security level, OS patch level, verified boot state…). No secrets. */
|
|
19276
19276
|
readonly attestation_info: {
|
|
19277
19277
|
readonly [key: string]: unknown;
|
|
19278
19278
|
};
|
|
19279
19279
|
/** Format: date-time */
|
|
19280
19280
|
readonly created_at: string;
|
|
19281
|
-
/** @description Device id (`android-…`, `wear-…`, `desktop-…` or `cli-…`), chosen by the client. */
|
|
19281
|
+
/** @description Device id (`android-…`, `wear-…`, `desktop-…`, `ios-…` or `cli-…`), chosen by the client. */
|
|
19282
19282
|
readonly id: string;
|
|
19283
19283
|
/**
|
|
19284
|
-
* @description `cli_ed25519` is the software key of `codaid`: it proves `POST /v1/vault/resolve` requests only and can never decide approvals or unlock the vault.
|
|
19284
|
+
* @description `cli_ed25519` is the software key of `codaid`: it proves `POST /v1/vault/resolve` requests only and can never decide approvals or unlock the vault. `ios_secure_enclave` is the iPhone Secure Enclave P-256 key (device id `ios-…`, surface `phone`).
|
|
19285
19285
|
* @enum {string}
|
|
19286
19286
|
*/
|
|
19287
|
-
readonly kind: 'android_keystore' | 'windows_hello' | 'cli_ed25519';
|
|
19287
|
+
readonly kind: 'android_keystore' | 'windows_hello' | 'cli_ed25519' | 'ios_secure_enclave';
|
|
19288
19288
|
/** Format: date-time */
|
|
19289
19289
|
readonly last_used_at: string | null;
|
|
19290
19290
|
readonly name: string;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "codai-sdk",
|
|
3
|
-
"version": "0.74.
|
|
3
|
+
"version": "0.74.1",
|
|
4
4
|
"description": "Official TypeScript SDK for the codai AI gateway - chat, messages, responses, streaming, agents, tasks, sessions, devices, hosts, orgs, account.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|