@1claw/sdk 0.59.6 → 0.59.7

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.
@@ -2391,7 +2391,15 @@ export interface paths {
2391
2391
  put?: never;
2392
2392
  /**
2393
2393
  * Provision MCP onboarding bundle
2394
- * @description Creates welcome vault + sample secret, MCP agent, and default ** policy. Returns one-time API key and stdio MCP config.
2394
+ * @description Creates welcome vault + sample secret, MCP agent, and a policy on the
2395
+ * vault. Returns one-time API key and stdio MCP config.
2396
+ *
2397
+ * The grant is `**` only when the welcome vault is newly created. If an
2398
+ * org already has a vault named `default`, it is reused and the agent is
2399
+ * granted `examples/**` instead — enough to read the sample it is asked to
2400
+ * verify with, without exposing secrets already kept there.
2401
+ *
2402
+ * Subject to `agent.create` control-plane consensus; see `approval_id`.
2395
2403
  */
2396
2404
  post: operations["provisionOnboarding"];
2397
2405
  delete?: never;
@@ -5963,9 +5971,12 @@ export interface paths {
5963
5971
  put?: never;
5964
5972
  /**
5965
5973
  * Verify email OTP and get JWT
5966
- * @description Verifies the 6-digit code sent to the user's email. If the user does not
5967
- * exist, a new account is created. Optionally auto-provisions treasury wallets
5968
- * for the specified chains. Returns a JWT for subsequent API calls.
5974
+ * @description Verifies the 6-digit code sent to the user's email. Optionally
5975
+ * auto-provisions treasury wallets for the specified chains. Returns a JWT
5976
+ * for subsequent API calls.
5977
+ *
5978
+ * An unrecognized address is rejected unless the request carries
5979
+ * `platform_app_id` or sets `allow_signup`.
5969
5980
  */
5970
5981
  post: operations["verifyEmailOtp"];
5971
5982
  delete?: never;
@@ -9840,8 +9851,15 @@ export interface components {
9840
9851
  transactions: components["schemas"]["SimulateTransactionRequest"][];
9841
9852
  };
9842
9853
  CreateSigningKeyRequest: {
9843
- /** @enum {string} */
9844
- chain: "ethereum" | "bitcoin" | "solana" | "xrp" | "cardano" | "tron";
9854
+ /**
9855
+ * @description `midnight` is Preprod-only and requires the midnight-signer
9856
+ * sidecar. Note it can be provisioned but not rotated or
9857
+ * imported: derivation happens in the sidecar, so there is no
9858
+ * local keygen and no raw private key to import. Both of
9859
+ * those endpoints refuse it before consuming an approval.
9860
+ * @enum {string}
9861
+ */
9862
+ chain: "ethereum" | "bitcoin" | "solana" | "xrp" | "cardano" | "tron" | "midnight";
9845
9863
  };
9846
9864
  SigningKeyResponse: {
9847
9865
  /** Format: uuid */
@@ -10266,6 +10284,14 @@ export interface components {
10266
10284
  OnboardingProvisionRequest: {
10267
10285
  agent_name?: string;
10268
10286
  client?: string;
10287
+ /**
10288
+ * Format: uuid
10289
+ * @description Approval satisfying an `agent.create` control-plane consensus policy,
10290
+ * if the org has one. Same field and meaning as on `POST /v1/agents`:
10291
+ * the first call returns 202 with the approval to collect, and the
10292
+ * retry passes its id here.
10293
+ */
10294
+ approval_id?: string;
10269
10295
  };
10270
10296
  OnboardingProvisionResponse: {
10271
10297
  /** Format: uuid */
@@ -14694,6 +14720,14 @@ export interface operations {
14694
14720
  require_passkey_for_vaults?: boolean;
14695
14721
  require_passkey_for_mfa?: boolean;
14696
14722
  passkey_count?: number;
14723
+ /**
14724
+ * @description True while this account carries a passkey requirement
14725
+ * that the 1claw.xyz → 1claw.co move cleared on its
14726
+ * behalf. The two flags above read false, but that was
14727
+ * not the user's choice: registering a passkey on the
14728
+ * canonical domain restores them.
14729
+ */
14730
+ passkey_requirements_downgraded?: boolean;
14697
14731
  };
14698
14732
  };
14699
14733
  };
@@ -21701,6 +21735,16 @@ export interface operations {
21701
21735
  platform_app_id?: string;
21702
21736
  /** @description Chains to auto-generate wallets for (e.g. ["ethereum", "base"]) */
21703
21737
  auto_provision_chains?: string[];
21738
+ /**
21739
+ * @description Opt in to creating an account when the address is not
21740
+ * recognized. Without it an unknown address is rejected
21741
+ * rather than silently given a new user and org — a valid
21742
+ * code proves control of an inbox, not consent to sign up.
21743
+ * Not required when `platform_app_id` is present: creating
21744
+ * the end user on first login is the embedded-wallet flow.
21745
+ * @default false
21746
+ */
21747
+ allow_signup?: boolean;
21704
21748
  };
21705
21749
  };
21706
21750
  };