@1claw/sdk 0.58.0 → 0.59.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.
@@ -4147,7 +4147,11 @@ export interface paths {
4147
4147
  path?: never;
4148
4148
  cookie?: never;
4149
4149
  };
4150
- get?: never;
4150
+ /**
4151
+ * Get a bootstrap template
4152
+ * @description Returns the full template spec for a platform app. plt_ or user JWT.
4153
+ */
4154
+ get: operations["getPlatformTemplate"];
4151
4155
  put?: never;
4152
4156
  post?: never;
4153
4157
  /** Delete a bootstrap template */
@@ -4349,7 +4353,9 @@ export interface paths {
4349
4353
  [name: string]: unknown;
4350
4354
  };
4351
4355
  content: {
4352
- "application/json": components["schemas"]["PlatformConnectedUserResponse"][];
4356
+ "application/json": {
4357
+ users: components["schemas"]["PlatformConnectedUserResponse"][];
4358
+ };
4353
4359
  };
4354
4360
  };
4355
4361
  };
@@ -5120,9 +5126,10 @@ export interface paths {
5120
5126
  get: operations["getConnectionSpendPolicy"];
5121
5127
  /**
5122
5128
  * Set per-user spend policy override
5123
- * @description Override the app-wide spend policy for a specific connected user. This
5124
- * policy takes precedence over the app default. Remove by deleting the
5125
- * connection-level policy.
5129
+ * @description Replace the per-user spend policy for a connected user (deactivates the
5130
+ * previous active row, then inserts). Requires plt_ platform auth.
5131
+ * Optional `Idempotency-Key` header must cover the full request body — reusing
5132
+ * the same key with different parameters returns 409.
5126
5133
  */
5127
5134
  put: operations["setUserSpendPolicy"];
5128
5135
  post?: never;
@@ -5192,6 +5199,191 @@ export interface paths {
5192
5199
  patch?: never;
5193
5200
  trace?: never;
5194
5201
  };
5202
+ "/v1/platform/connections/{connectionId}/pending-approvals/{approvalId}": {
5203
+ parameters: {
5204
+ query?: never;
5205
+ header?: never;
5206
+ path?: never;
5207
+ cookie?: never;
5208
+ };
5209
+ /** Get a connection-scoped pending approval (with payload_hash) */
5210
+ get: operations["getConnectionPendingApproval"];
5211
+ put?: never;
5212
+ post?: never;
5213
+ delete?: never;
5214
+ options?: never;
5215
+ head?: never;
5216
+ patch?: never;
5217
+ trace?: never;
5218
+ };
5219
+ "/v1/platform/connections/{connectionId}/pending-approvals/{approvalId}/decide": {
5220
+ parameters: {
5221
+ query?: never;
5222
+ header?: never;
5223
+ path?: never;
5224
+ cookie?: never;
5225
+ };
5226
+ get?: never;
5227
+ put?: never;
5228
+ /**
5229
+ * Decide a pending approval for a connection user
5230
+ * @description Platform apps vote on behalf of the connected user after verifying intent
5231
+ * out-of-band (e.g. wallet mandate). Requires `payload_hash` matching the
5232
+ * pending row. Accepts `decision`: `approve` or `reject` (aliases `approved` /
5233
+ * `rejected`). plt_ auth only; scoped to agents on the connection.
5234
+ */
5235
+ post: operations["decideConnectionPendingApproval"];
5236
+ delete?: never;
5237
+ options?: never;
5238
+ head?: never;
5239
+ patch?: never;
5240
+ trace?: never;
5241
+ };
5242
+ "/v1/platform/connections/{connectionId}/approvals/{approvalId}/decide": {
5243
+ parameters: {
5244
+ query?: never;
5245
+ header?: never;
5246
+ path?: never;
5247
+ cookie?: never;
5248
+ };
5249
+ get?: never;
5250
+ put?: never;
5251
+ /**
5252
+ * Decide a mobile/agent approval for a connection user
5253
+ * @description Platform apps decide agent approval requests on behalf of the connected user.
5254
+ * Accepts `decision`: `approved` or `rejected` (aliases `approve` / `reject`).
5255
+ * plt_ auth only.
5256
+ */
5257
+ post: operations["decideConnectionApproval"];
5258
+ delete?: never;
5259
+ options?: never;
5260
+ head?: never;
5261
+ patch?: never;
5262
+ trace?: never;
5263
+ };
5264
+ "/v1/platform/connections/{connectionId}/signing-keys/{chain}": {
5265
+ parameters: {
5266
+ query?: never;
5267
+ header?: never;
5268
+ path?: never;
5269
+ cookie?: never;
5270
+ };
5271
+ get?: never;
5272
+ put?: never;
5273
+ post?: never;
5274
+ /**
5275
+ * Deactivate a signing key for a connection agent
5276
+ * @description Deactivates the signing key for an agent provisioned on the connection.
5277
+ * When multiple agents exist, pass `agent_id` query param. plt_ auth only.
5278
+ */
5279
+ delete: operations["deactivateConnectionSigningKey"];
5280
+ options?: never;
5281
+ head?: never;
5282
+ patch?: never;
5283
+ trace?: never;
5284
+ };
5285
+ "/v1/platform/connections/{connectionId}/runtimes": {
5286
+ parameters: {
5287
+ query?: never;
5288
+ header?: never;
5289
+ path?: never;
5290
+ cookie?: never;
5291
+ };
5292
+ get?: never;
5293
+ put?: never;
5294
+ /**
5295
+ * Create a runtime for a connection agent
5296
+ * @description Creates a Cloud Runtime in the end-user's org for an agent on this connection.
5297
+ * Use instead of `POST /v1/runtimes` with a plt_ key (which resolves to the platform org).
5298
+ * App must verify user intent out-of-band (e.g. wallet mandate) before calling.
5299
+ */
5300
+ post: operations["createConnectionRuntime"];
5301
+ delete?: never;
5302
+ options?: never;
5303
+ head?: never;
5304
+ patch?: never;
5305
+ trace?: never;
5306
+ };
5307
+ "/v1/platform/connections/{connectionId}/runtimes/{runtimeId}": {
5308
+ parameters: {
5309
+ query?: never;
5310
+ header?: never;
5311
+ path?: never;
5312
+ cookie?: never;
5313
+ };
5314
+ /**
5315
+ * Get a connection runtime (plt_ scoped)
5316
+ * @description Returns a runtime provisioned on this connection. Use instead of
5317
+ * `GET /v1/runtimes/{id}` with a plt_ key (which resolves to the platform org).
5318
+ */
5319
+ get: operations["getConnectionRuntime"];
5320
+ put?: never;
5321
+ post?: never;
5322
+ delete?: never;
5323
+ options?: never;
5324
+ head?: never;
5325
+ patch?: never;
5326
+ trace?: never;
5327
+ };
5328
+ "/v1/platform/connections/{connectionId}/passkeys/enroll/begin": {
5329
+ parameters: {
5330
+ query?: never;
5331
+ header?: never;
5332
+ path?: never;
5333
+ cookie?: never;
5334
+ };
5335
+ get?: never;
5336
+ put?: never;
5337
+ /**
5338
+ * Begin passkey enrollment for a connected user
5339
+ * @description Starts WebAuthn registration for the end-user on this connection.
5340
+ * Platform apps use this instead of `POST /v1/auth/passkeys/register/begin` (user JWT only).
5341
+ */
5342
+ post: operations["connectionPasskeyEnrollBegin"];
5343
+ delete?: never;
5344
+ options?: never;
5345
+ head?: never;
5346
+ patch?: never;
5347
+ trace?: never;
5348
+ };
5349
+ "/v1/platform/connections/{connectionId}/passkeys/enroll/complete": {
5350
+ parameters: {
5351
+ query?: never;
5352
+ header?: never;
5353
+ path?: never;
5354
+ cookie?: never;
5355
+ };
5356
+ get?: never;
5357
+ put?: never;
5358
+ /** Complete passkey enrollment for a connected user */
5359
+ post: operations["connectionPasskeyEnrollComplete"];
5360
+ delete?: never;
5361
+ options?: never;
5362
+ head?: never;
5363
+ patch?: never;
5364
+ trace?: never;
5365
+ };
5366
+ "/v1/platform/connections/{connectionId}/agents/{agentId}/chat": {
5367
+ parameters: {
5368
+ query?: never;
5369
+ header?: never;
5370
+ path?: never;
5371
+ cookie?: never;
5372
+ };
5373
+ get?: never;
5374
+ put?: never;
5375
+ /**
5376
+ * Chat with a connection agent (plt_ scoped)
5377
+ * @description Send a chat message to an agent provisioned on this connection, acting as the
5378
+ * connected end-user. Use instead of `POST /v1/agents/{id}/chat` with a plt_ key.
5379
+ */
5380
+ post: operations["connectionAgentChat"];
5381
+ delete?: never;
5382
+ options?: never;
5383
+ head?: never;
5384
+ patch?: never;
5385
+ trace?: never;
5386
+ };
5195
5387
  "/v1/approvals": {
5196
5388
  parameters: {
5197
5389
  query?: never;
@@ -6190,6 +6382,29 @@ export interface paths {
6190
6382
  patch?: never;
6191
6383
  trace?: never;
6192
6384
  };
6385
+ "/v1/agents/{agent_id}/automations": {
6386
+ parameters: {
6387
+ query?: never;
6388
+ header?: never;
6389
+ path?: never;
6390
+ cookie?: never;
6391
+ };
6392
+ get?: never;
6393
+ put?: never;
6394
+ /**
6395
+ * Create agent automation (agent-only)
6396
+ * @description Agent-scoped create for simple manual or webhook automations from chat/runtime tools.
6397
+ * Allowed step types: log, notify, memory_get, memory_put, wait (max 10).
6398
+ * Cron, swap, http, and transaction steps require human dashboard setup.
6399
+ * Requires agent JWT; agent_id in path must match the caller.
6400
+ */
6401
+ post: operations["createAgentAutomation"];
6402
+ delete?: never;
6403
+ options?: never;
6404
+ head?: never;
6405
+ patch?: never;
6406
+ trace?: never;
6407
+ };
6193
6408
  "/v1/runtimes": {
6194
6409
  parameters: {
6195
6410
  query?: never;
@@ -8381,6 +8596,8 @@ export interface components {
8381
8596
  */
8382
8597
  shroud_enabled: boolean;
8383
8598
  shroud_config?: components["schemas"]["ShroudConfig"];
8599
+ /** @description Default system prompt for agent chat when requests do not override it. */
8600
+ system_prompt?: string;
8384
8601
  /**
8385
8602
  * @description Enable Execution Intents (bindings and execute endpoint) for this agent
8386
8603
  * @default false
@@ -8542,6 +8759,8 @@ export interface components {
8542
8759
  /** @description Enable/disable Shroud LLM Proxy */
8543
8760
  shroud_enabled?: boolean;
8544
8761
  shroud_config?: components["schemas"]["ShroudConfig"];
8762
+ /** @description Default system prompt for agent chat (null clears). */
8763
+ system_prompt?: string | null;
8545
8764
  /** @description Enable/disable Execution Intents for this agent */
8546
8765
  execution_intents_enabled?: boolean;
8547
8766
  /** @description Guardrails applied to all execution intents for this agent */
@@ -8722,6 +8941,8 @@ export interface components {
8722
8941
  /** @description Whether this agent routes LLM traffic through the Shroud TEE proxy */
8723
8942
  shroud_enabled: boolean;
8724
8943
  shroud_config?: components["schemas"]["ShroudConfig"];
8944
+ /** @description Default system prompt for agent chat when requests do not override it. */
8945
+ system_prompt?: string;
8725
8946
  /** @description Whether Execution Intents (bindings and execute endpoint) are enabled for this agent */
8726
8947
  execution_intents_enabled?: boolean;
8727
8948
  /** @description Guardrails applied to all execution intents for this agent */
@@ -11117,9 +11338,16 @@ export interface components {
11117
11338
  user_id: string;
11118
11339
  status: string;
11119
11340
  entitlement_status: string;
11341
+ /**
11342
+ * @description Billing tier granted to the end-user org when billing_model is platform_pays
11343
+ * (from template plan at bootstrap). Null when not provisioned.
11344
+ */
11345
+ provisioned_tier?: string | null;
11120
11346
  wallet_address?: string | null;
11121
11347
  vault_ids: string[];
11122
11348
  agent_ids: string[];
11349
+ runtime_ids?: string[];
11350
+ automation_ids?: string[];
11123
11351
  /** Format: date-time */
11124
11352
  claimed_at?: string | null;
11125
11353
  claim: components["schemas"]["ClaimStatusResponse"];
@@ -11234,6 +11462,30 @@ export interface components {
11234
11462
  /** @description Number of WebAuthn passkeys registered for the calling user. */
11235
11463
  registered_passkeys: number;
11236
11464
  };
11465
+ PasskeyRegisterBeginResponse: {
11466
+ challenge?: string;
11467
+ rp_id?: string;
11468
+ rp_name?: string;
11469
+ user_id?: string;
11470
+ user_name?: string;
11471
+ user_display_name?: string;
11472
+ attestation?: string;
11473
+ authenticator_selection?: Record<string, never>;
11474
+ pub_key_cred_params?: Record<string, never>[];
11475
+ };
11476
+ PasskeyRegisterCompleteRequest: {
11477
+ credential_id: string;
11478
+ attestation_object: string;
11479
+ client_data_json: string;
11480
+ transports?: string[];
11481
+ name?: string;
11482
+ };
11483
+ PasskeyRegisterCompleteResponse: {
11484
+ /** Format: uuid */
11485
+ passkey_id?: string;
11486
+ credential_id?: string;
11487
+ name?: string;
11488
+ };
11237
11489
  PasskeyTxAssertBeginRequest: {
11238
11490
  /** @description 64-char hex SHA-256 of canonical send or swap params */
11239
11491
  tx_digest: string;
@@ -11615,6 +11867,28 @@ export interface components {
11615
11867
  [key: string]: unknown;
11616
11868
  };
11617
11869
  };
11870
+ /**
11871
+ * @description Agent-scoped automation create. Defaults to manual trigger.
11872
+ * workflow_spec must use only agent-allowed step types (log, notify, memory_get, memory_put, wait).
11873
+ */
11874
+ AgentCreateAutomationRequest: {
11875
+ name: string;
11876
+ /**
11877
+ * @default manual
11878
+ * @enum {string}
11879
+ */
11880
+ trigger_type: "manual" | "webhook";
11881
+ workflow_spec: {
11882
+ [key: string]: unknown;
11883
+ }[] | {
11884
+ [key: string]: unknown;
11885
+ };
11886
+ /**
11887
+ * @description When true (manual trigger only), start a run immediately after creation
11888
+ * @default false
11889
+ */
11890
+ auto_trigger: boolean;
11891
+ };
11618
11892
  UpdateAutomationRequest: {
11619
11893
  name?: string;
11620
11894
  cron_expr?: string | null;
@@ -11660,6 +11934,11 @@ export interface components {
11660
11934
  success_rate?: number | null;
11661
11935
  /** @description Resolved agent display name (enriched list field) */
11662
11936
  agent_name?: string | null;
11937
+ /**
11938
+ * @description Whether the automation was created by a human or agent (chat-native create)
11939
+ * @enum {string}
11940
+ */
11941
+ created_by_type?: "user" | "agent";
11663
11942
  /** Format: date-time */
11664
11943
  created_at: string;
11665
11944
  /** Format: date-time */
@@ -11731,6 +12010,25 @@ export interface components {
11731
12010
  };
11732
12011
  }[];
11733
12012
  };
12013
+ CreateConnectionRuntimeRequest: {
12014
+ name: string;
12015
+ /**
12016
+ * Format: uuid
12017
+ * @description Required when multiple agents on the connection; defaults to sole agent
12018
+ */
12019
+ agent_id?: string;
12020
+ template?: string;
12021
+ /** @default medium */
12022
+ preset: string;
12023
+ env_public?: {
12024
+ [key: string]: unknown;
12025
+ };
12026
+ idle_timeout_secs?: number;
12027
+ expose_http?: boolean;
12028
+ slug?: string;
12029
+ inbound_auth?: string;
12030
+ startup_command?: string;
12031
+ };
11734
12032
  CreateRuntimeRequest: {
11735
12033
  name: string;
11736
12034
  /** Format: uuid */
@@ -11947,13 +12245,26 @@ export interface components {
11947
12245
  public_tags?: string[];
11948
12246
  };
11949
12247
  SendChatMessageRequest: {
11950
- message: string;
12248
+ /** @description User message text. Optional when `messages` includes a user turn. */
12249
+ message?: string;
11951
12250
  /** Format: uuid */
11952
12251
  conversation_id?: string;
11953
12252
  mode?: string;
11954
12253
  model?: string;
11955
12254
  provider?: string;
12255
+ /** @description Stored on new conversations when `conversation_id` is omitted. */
11956
12256
  system_prompt?: string;
12257
+ /** @description Per-request system prompt alias (same precedence as `system_prompt_override`). */
12258
+ system?: string;
12259
+ /** @description Per-request override; highest precedence except inline `messages` system role. */
12260
+ system_prompt_override?: string;
12261
+ /** @description Optional OpenAI-shaped history. When set, used for LLM context instead of DB history. */
12262
+ messages?: {
12263
+ role: string;
12264
+ content: string;
12265
+ }[];
12266
+ llm_api_key_vault_id?: string;
12267
+ llm_api_key_path?: string;
11957
12268
  };
11958
12269
  ChatMessageResponse: {
11959
12270
  /** Format: uuid */
@@ -12738,7 +13049,7 @@ export interface components {
12738
13049
  };
12739
13050
  ApprovePendingApprovalRequest: {
12740
13051
  /** @enum {string} */
12741
- decision: "approve" | "reject";
13052
+ decision: "approve" | "reject" | "approved" | "rejected";
12742
13053
  payload_hash: string;
12743
13054
  reason?: string;
12744
13055
  /**
@@ -19407,6 +19718,30 @@ export interface operations {
19407
19718
  404: components["responses"]["NotFound"];
19408
19719
  };
19409
19720
  };
19721
+ getPlatformTemplate: {
19722
+ parameters: {
19723
+ query?: never;
19724
+ header?: never;
19725
+ path: {
19726
+ appId: string;
19727
+ template_id: string;
19728
+ };
19729
+ cookie?: never;
19730
+ };
19731
+ requestBody?: never;
19732
+ responses: {
19733
+ /** @description Template details */
19734
+ 200: {
19735
+ headers: {
19736
+ [name: string]: unknown;
19737
+ };
19738
+ content: {
19739
+ "application/json": components["schemas"]["PlatformTemplateResponse"];
19740
+ };
19741
+ };
19742
+ 404: components["responses"]["NotFound"];
19743
+ };
19744
+ };
19410
19745
  deletePlatformTemplate: {
19411
19746
  parameters: {
19412
19747
  query?: never;
@@ -19786,6 +20121,275 @@ export interface operations {
19786
20121
  404: components["responses"]["NotFound"];
19787
20122
  };
19788
20123
  };
20124
+ getConnectionPendingApproval: {
20125
+ parameters: {
20126
+ query?: never;
20127
+ header?: never;
20128
+ path: {
20129
+ connectionId: string;
20130
+ approvalId: string;
20131
+ };
20132
+ cookie?: never;
20133
+ };
20134
+ requestBody?: never;
20135
+ responses: {
20136
+ /** @description Pending approval detail including action_payload and payload_hash */
20137
+ 200: {
20138
+ headers: {
20139
+ [name: string]: unknown;
20140
+ };
20141
+ content: {
20142
+ "application/json": components["schemas"]["PendingApprovalResponse"];
20143
+ };
20144
+ };
20145
+ 404: components["responses"]["NotFound"];
20146
+ };
20147
+ };
20148
+ decideConnectionPendingApproval: {
20149
+ parameters: {
20150
+ query?: never;
20151
+ header?: never;
20152
+ path: {
20153
+ connectionId: string;
20154
+ approvalId: string;
20155
+ };
20156
+ cookie?: never;
20157
+ };
20158
+ requestBody: {
20159
+ content: {
20160
+ "application/json": components["schemas"]["ApprovePendingApprovalRequest"];
20161
+ };
20162
+ };
20163
+ responses: {
20164
+ /** @description Updated pending approval */
20165
+ 200: {
20166
+ headers: {
20167
+ [name: string]: unknown;
20168
+ };
20169
+ content: {
20170
+ "application/json": components["schemas"]["PendingApprovalResponse"];
20171
+ };
20172
+ };
20173
+ 400: components["responses"]["BadRequest"];
20174
+ 403: components["responses"]["Forbidden"];
20175
+ 404: components["responses"]["NotFound"];
20176
+ /** @description Already voted */
20177
+ 409: {
20178
+ headers: {
20179
+ [name: string]: unknown;
20180
+ };
20181
+ content?: never;
20182
+ };
20183
+ };
20184
+ };
20185
+ decideConnectionApproval: {
20186
+ parameters: {
20187
+ query?: never;
20188
+ header?: never;
20189
+ path: {
20190
+ connectionId: string;
20191
+ approvalId: string;
20192
+ };
20193
+ cookie?: never;
20194
+ };
20195
+ requestBody: {
20196
+ content: {
20197
+ "application/json": {
20198
+ /** @enum {string} */
20199
+ decision: "approved" | "rejected" | "approve" | "reject";
20200
+ reason?: string;
20201
+ };
20202
+ };
20203
+ };
20204
+ responses: {
20205
+ /** @description Decided approval */
20206
+ 200: {
20207
+ headers: {
20208
+ [name: string]: unknown;
20209
+ };
20210
+ content: {
20211
+ "application/json": components["schemas"]["ApprovalResponse"];
20212
+ };
20213
+ };
20214
+ 403: components["responses"]["Forbidden"];
20215
+ 404: components["responses"]["NotFound"];
20216
+ /** @description Already decided */
20217
+ 409: {
20218
+ headers: {
20219
+ [name: string]: unknown;
20220
+ };
20221
+ content?: never;
20222
+ };
20223
+ };
20224
+ };
20225
+ deactivateConnectionSigningKey: {
20226
+ parameters: {
20227
+ query?: {
20228
+ agent_id?: string;
20229
+ };
20230
+ header?: never;
20231
+ path: {
20232
+ connectionId: string;
20233
+ chain: string;
20234
+ };
20235
+ cookie?: never;
20236
+ };
20237
+ requestBody?: never;
20238
+ responses: {
20239
+ /** @description Key deactivated */
20240
+ 204: {
20241
+ headers: {
20242
+ [name: string]: unknown;
20243
+ };
20244
+ content?: never;
20245
+ };
20246
+ /** @description Multiple agents — agent_id required */
20247
+ 400: {
20248
+ headers: {
20249
+ [name: string]: unknown;
20250
+ };
20251
+ content?: never;
20252
+ };
20253
+ 404: components["responses"]["NotFound"];
20254
+ };
20255
+ };
20256
+ createConnectionRuntime: {
20257
+ parameters: {
20258
+ query?: never;
20259
+ header?: never;
20260
+ path: {
20261
+ connectionId: string;
20262
+ };
20263
+ cookie?: never;
20264
+ };
20265
+ requestBody: {
20266
+ content: {
20267
+ "application/json": components["schemas"]["CreateConnectionRuntimeRequest"];
20268
+ };
20269
+ };
20270
+ responses: {
20271
+ /** @description Runtime created */
20272
+ 201: {
20273
+ headers: {
20274
+ [name: string]: unknown;
20275
+ };
20276
+ content: {
20277
+ "application/json": components["schemas"]["RuntimeResponse"];
20278
+ };
20279
+ };
20280
+ 403: components["responses"]["Forbidden"];
20281
+ 404: components["responses"]["NotFound"];
20282
+ };
20283
+ };
20284
+ getConnectionRuntime: {
20285
+ parameters: {
20286
+ query?: never;
20287
+ header?: never;
20288
+ path: {
20289
+ connectionId: string;
20290
+ runtimeId: string;
20291
+ };
20292
+ cookie?: never;
20293
+ };
20294
+ requestBody?: never;
20295
+ responses: {
20296
+ /** @description Runtime details */
20297
+ 200: {
20298
+ headers: {
20299
+ [name: string]: unknown;
20300
+ };
20301
+ content: {
20302
+ "application/json": components["schemas"]["RuntimeResponse"];
20303
+ };
20304
+ };
20305
+ 404: components["responses"]["NotFound"];
20306
+ };
20307
+ };
20308
+ connectionPasskeyEnrollBegin: {
20309
+ parameters: {
20310
+ query?: never;
20311
+ header?: never;
20312
+ path: {
20313
+ connectionId: string;
20314
+ };
20315
+ cookie?: never;
20316
+ };
20317
+ requestBody?: never;
20318
+ responses: {
20319
+ /** @description WebAuthn registration ceremony options */
20320
+ 200: {
20321
+ headers: {
20322
+ [name: string]: unknown;
20323
+ };
20324
+ content: {
20325
+ "application/json": components["schemas"]["PasskeyRegisterBeginResponse"];
20326
+ };
20327
+ };
20328
+ 404: components["responses"]["NotFound"];
20329
+ };
20330
+ };
20331
+ connectionPasskeyEnrollComplete: {
20332
+ parameters: {
20333
+ query?: never;
20334
+ header?: never;
20335
+ path: {
20336
+ connectionId: string;
20337
+ };
20338
+ cookie?: never;
20339
+ };
20340
+ requestBody: {
20341
+ content: {
20342
+ "application/json": components["schemas"]["PasskeyRegisterCompleteRequest"];
20343
+ };
20344
+ };
20345
+ responses: {
20346
+ /** @description Passkey registered */
20347
+ 201: {
20348
+ headers: {
20349
+ [name: string]: unknown;
20350
+ };
20351
+ content: {
20352
+ "application/json": components["schemas"]["PasskeyRegisterCompleteResponse"];
20353
+ };
20354
+ };
20355
+ 400: components["responses"]["BadRequest"];
20356
+ 404: components["responses"]["NotFound"];
20357
+ };
20358
+ };
20359
+ connectionAgentChat: {
20360
+ parameters: {
20361
+ query?: never;
20362
+ header?: never;
20363
+ path: {
20364
+ connectionId: string;
20365
+ agentId: string;
20366
+ };
20367
+ cookie?: never;
20368
+ };
20369
+ requestBody: {
20370
+ content: {
20371
+ "application/json": components["schemas"]["SendChatMessageRequest"];
20372
+ };
20373
+ };
20374
+ responses: {
20375
+ /** @description Message sent (JSON or SSE stream) */
20376
+ 200: {
20377
+ headers: {
20378
+ [name: string]: unknown;
20379
+ };
20380
+ content?: never;
20381
+ };
20382
+ /** @description Payment required (LLM billing / inference allowance) */
20383
+ 402: {
20384
+ headers: {
20385
+ [name: string]: unknown;
20386
+ };
20387
+ content?: never;
20388
+ };
20389
+ 403: components["responses"]["Forbidden"];
20390
+ 404: components["responses"]["NotFound"];
20391
+ };
20392
+ };
19789
20393
  listApprovals: {
19790
20394
  parameters: {
19791
20395
  query?: {
@@ -21428,6 +22032,36 @@ export interface operations {
21428
22032
  };
21429
22033
  };
21430
22034
  };
22035
+ createAgentAutomation: {
22036
+ parameters: {
22037
+ query?: never;
22038
+ header?: never;
22039
+ path: {
22040
+ agent_id: string;
22041
+ };
22042
+ cookie?: never;
22043
+ };
22044
+ requestBody: {
22045
+ content: {
22046
+ "application/json": components["schemas"]["AgentCreateAutomationRequest"];
22047
+ };
22048
+ };
22049
+ responses: {
22050
+ /** @description Automation created (includes one-time webhook credentials when trigger_type is webhook) */
22051
+ 201: {
22052
+ headers: {
22053
+ [name: string]: unknown;
22054
+ };
22055
+ content: {
22056
+ "application/json": components["schemas"]["AutomationCreatedResponse"];
22057
+ };
22058
+ };
22059
+ 400: components["responses"]["BadRequest"];
22060
+ 401: components["responses"]["Unauthorized"];
22061
+ 403: components["responses"]["Forbidden"];
22062
+ 404: components["responses"]["NotFound"];
22063
+ };
22064
+ };
21431
22065
  listRuntimes: {
21432
22066
  parameters: {
21433
22067
  query?: never;