@1claw/sdk 0.40.1 → 0.41.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.
@@ -7243,6 +7243,22 @@ export interface components {
7243
7243
  HoneytokenListResponse: {
7244
7244
  honeytokens: components["schemas"]["Honeytoken"][];
7245
7245
  };
7246
+ /** @description Credential source — inline value (stored in __agent-keys) or live pointer to a vault secret (resolved at execution time). */
7247
+ CredentialSource: {
7248
+ /** @enum {string} */
7249
+ type: "inline" | "vault_ref";
7250
+ /** @description For inline — the credential value object. */
7251
+ value?: {
7252
+ [key: string]: unknown;
7253
+ };
7254
+ /**
7255
+ * Format: uuid
7256
+ * @description For vault_ref — the vault containing the referenced secret.
7257
+ */
7258
+ vault_id?: string;
7259
+ /** @description For vault_ref — the secret path in the vault. */
7260
+ path?: string;
7261
+ };
7246
7262
  CreateBindingRequest: {
7247
7263
  name: string;
7248
7264
  /** @enum {string} */
@@ -7253,9 +7269,11 @@ export interface components {
7253
7269
  guardrails?: {
7254
7270
  [key: string]: unknown;
7255
7271
  };
7272
+ /** @description Legacy: inline credential value. Use credential_source for new integrations. */
7256
7273
  credential?: {
7257
7274
  [key: string]: unknown;
7258
7275
  };
7276
+ credential_source?: components["schemas"]["CredentialSource"];
7259
7277
  };
7260
7278
  UpdateBindingRequest: {
7261
7279
  config?: {
@@ -7265,9 +7283,11 @@ export interface components {
7265
7283
  [key: string]: unknown;
7266
7284
  };
7267
7285
  is_active?: boolean;
7286
+ /** @description Legacy: inline credential value. */
7268
7287
  credential?: {
7269
7288
  [key: string]: unknown;
7270
7289
  };
7290
+ credential_source?: components["schemas"]["CredentialSource"];
7271
7291
  };
7272
7292
  BindingResponse: {
7273
7293
  /** Format: uuid */
@@ -7286,6 +7306,18 @@ export interface components {
7286
7306
  is_active: boolean;
7287
7307
  /** @description Whether a credential is stored for this binding. The value itself is never returned. */
7288
7308
  credential_set?: boolean;
7309
+ /**
7310
+ * @description How the credential is sourced — inline (HSM-encrypted copy) or vault_ref (live pointer).
7311
+ * @enum {string|null}
7312
+ */
7313
+ credential_source_type?: "inline" | "vault_ref" | null;
7314
+ /**
7315
+ * Format: uuid
7316
+ * @description For vault_ref credentials — the vault containing the referenced secret.
7317
+ */
7318
+ credential_vault_id?: string | null;
7319
+ /** @description For vault_ref credentials — the secret path in the referenced vault. */
7320
+ credential_path?: string | null;
7289
7321
  /** Format: date-time */
7290
7322
  created_at: string;
7291
7323
  /** Format: date-time */