@1claw/sdk 0.43.0 → 0.43.2
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/generated/api-types.d.ts +404 -44
- package/dist/generated/api-types.d.ts.map +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.d.ts.map +1 -1
- package/dist/resources/automations.d.ts +5 -0
- package/dist/resources/automations.d.ts.map +1 -1
- package/dist/resources/automations.js +4 -0
- package/dist/resources/automations.js.map +1 -1
- package/dist/resources/runtimes.d.ts +17 -1
- package/dist/resources/runtimes.d.ts.map +1 -1
- package/dist/resources/runtimes.js +16 -0
- package/dist/resources/runtimes.js.map +1 -1
- package/dist/types.d.ts +25 -0
- package/dist/types.d.ts.map +1 -1
- package/package.json +53 -53
|
@@ -4767,6 +4767,74 @@ export interface paths {
|
|
|
4767
4767
|
patch?: never;
|
|
4768
4768
|
trace?: never;
|
|
4769
4769
|
};
|
|
4770
|
+
"/v1/automations/assist/draft": {
|
|
4771
|
+
parameters: {
|
|
4772
|
+
query?: never;
|
|
4773
|
+
header?: never;
|
|
4774
|
+
path?: never;
|
|
4775
|
+
cookie?: never;
|
|
4776
|
+
};
|
|
4777
|
+
get?: never;
|
|
4778
|
+
put?: never;
|
|
4779
|
+
/** Draft automation from natural language */
|
|
4780
|
+
post: operations["assistDraftAutomation"];
|
|
4781
|
+
delete?: never;
|
|
4782
|
+
options?: never;
|
|
4783
|
+
head?: never;
|
|
4784
|
+
patch?: never;
|
|
4785
|
+
trace?: never;
|
|
4786
|
+
};
|
|
4787
|
+
"/v1/automations/assist/session": {
|
|
4788
|
+
parameters: {
|
|
4789
|
+
query?: never;
|
|
4790
|
+
header?: never;
|
|
4791
|
+
path?: never;
|
|
4792
|
+
cookie?: never;
|
|
4793
|
+
};
|
|
4794
|
+
get?: never;
|
|
4795
|
+
put?: never;
|
|
4796
|
+
/** Mint short-lived Assist session token */
|
|
4797
|
+
post: operations["assistAutomationSession"];
|
|
4798
|
+
delete?: never;
|
|
4799
|
+
options?: never;
|
|
4800
|
+
head?: never;
|
|
4801
|
+
patch?: never;
|
|
4802
|
+
trace?: never;
|
|
4803
|
+
};
|
|
4804
|
+
"/v1/automations/webhook/{automationId}/{token}": {
|
|
4805
|
+
parameters: {
|
|
4806
|
+
query?: never;
|
|
4807
|
+
header?: never;
|
|
4808
|
+
path?: never;
|
|
4809
|
+
cookie?: never;
|
|
4810
|
+
};
|
|
4811
|
+
get?: never;
|
|
4812
|
+
put?: never;
|
|
4813
|
+
/** Public webhook trigger */
|
|
4814
|
+
post: operations["webhookTriggerAutomation"];
|
|
4815
|
+
delete?: never;
|
|
4816
|
+
options?: never;
|
|
4817
|
+
head?: never;
|
|
4818
|
+
patch?: never;
|
|
4819
|
+
trace?: never;
|
|
4820
|
+
};
|
|
4821
|
+
"/v1/automations/{automationId}/rotate-webhook-token": {
|
|
4822
|
+
parameters: {
|
|
4823
|
+
query?: never;
|
|
4824
|
+
header?: never;
|
|
4825
|
+
path?: never;
|
|
4826
|
+
cookie?: never;
|
|
4827
|
+
};
|
|
4828
|
+
get?: never;
|
|
4829
|
+
put?: never;
|
|
4830
|
+
/** Rotate webhook token */
|
|
4831
|
+
post: operations["rotateAutomationWebhookToken"];
|
|
4832
|
+
delete?: never;
|
|
4833
|
+
options?: never;
|
|
4834
|
+
head?: never;
|
|
4835
|
+
patch?: never;
|
|
4836
|
+
trace?: never;
|
|
4837
|
+
};
|
|
4770
4838
|
"/v1/runtimes": {
|
|
4771
4839
|
parameters: {
|
|
4772
4840
|
query?: never;
|
|
@@ -4872,6 +4940,53 @@ export interface paths {
|
|
|
4872
4940
|
patch?: never;
|
|
4873
4941
|
trace?: never;
|
|
4874
4942
|
};
|
|
4943
|
+
"/v1/runtimes/{runtimeId}/shell/session": {
|
|
4944
|
+
parameters: {
|
|
4945
|
+
query?: never;
|
|
4946
|
+
header?: never;
|
|
4947
|
+
path?: never;
|
|
4948
|
+
cookie?: never;
|
|
4949
|
+
};
|
|
4950
|
+
get?: never;
|
|
4951
|
+
put?: never;
|
|
4952
|
+
/**
|
|
4953
|
+
* Create interactive shell session
|
|
4954
|
+
* @description Human-only. Creates a short-lived WebSocket session token for the
|
|
4955
|
+
* runtime's PTY terminal. Requires step-up auth via `password`,
|
|
4956
|
+
* `totp_code`, `passkey_credential`, or `reauth_token` (from
|
|
4957
|
+
* `POST /v1/auth/reauth` with purpose `runtime_shell`).
|
|
4958
|
+
* Runtime must have `shell_access_enabled` and be running.
|
|
4959
|
+
* Enabling shell on a running runtime may require stop/start, or
|
|
4960
|
+
* the server may auto-reconcile the sidecar on connect.
|
|
4961
|
+
*/
|
|
4962
|
+
post: operations["createShellSession"];
|
|
4963
|
+
delete?: never;
|
|
4964
|
+
options?: never;
|
|
4965
|
+
head?: never;
|
|
4966
|
+
patch?: never;
|
|
4967
|
+
trace?: never;
|
|
4968
|
+
};
|
|
4969
|
+
"/v1/runtimes/{runtimeId}/shell/passkey/begin": {
|
|
4970
|
+
parameters: {
|
|
4971
|
+
query?: never;
|
|
4972
|
+
header?: never;
|
|
4973
|
+
path?: never;
|
|
4974
|
+
cookie?: never;
|
|
4975
|
+
};
|
|
4976
|
+
get?: never;
|
|
4977
|
+
put?: never;
|
|
4978
|
+
/**
|
|
4979
|
+
* Begin shell passkey assertion
|
|
4980
|
+
* @description Human-only. Starts a WebAuthn assertion ceremony for shell
|
|
4981
|
+
* step-up auth (social/Google users without a password).
|
|
4982
|
+
*/
|
|
4983
|
+
post: operations["beginShellPasskey"];
|
|
4984
|
+
delete?: never;
|
|
4985
|
+
options?: never;
|
|
4986
|
+
head?: never;
|
|
4987
|
+
patch?: never;
|
|
4988
|
+
trace?: never;
|
|
4989
|
+
};
|
|
4875
4990
|
"/v1/agents/{agent_id}/memory": {
|
|
4876
4991
|
parameters: {
|
|
4877
4992
|
query?: never;
|
|
@@ -8292,35 +8407,54 @@ export interface components {
|
|
|
8292
8407
|
/** Format: date-time */
|
|
8293
8408
|
created_at: string;
|
|
8294
8409
|
};
|
|
8410
|
+
/**
|
|
8411
|
+
* @description Create an automation. `workflow_spec` is required and must be either
|
|
8412
|
+
* a JSON array of steps or `{ "steps": [...] }`. Dashboard `schedule`
|
|
8413
|
+
* trigger_type is accepted and normalized to `cron`. For cron triggers,
|
|
8414
|
+
* `cron_expr` is required.
|
|
8415
|
+
*/
|
|
8295
8416
|
CreateAutomationRequest: {
|
|
8296
8417
|
name: string;
|
|
8297
|
-
description?: string;
|
|
8298
8418
|
/** Format: uuid */
|
|
8299
|
-
agent_id
|
|
8300
|
-
/**
|
|
8301
|
-
|
|
8302
|
-
|
|
8419
|
+
agent_id: string;
|
|
8420
|
+
/**
|
|
8421
|
+
* @description cron | event | webhook | manual (alias schedule → cron)
|
|
8422
|
+
* @enum {string}
|
|
8423
|
+
*/
|
|
8424
|
+
trigger_type: "cron" | "event" | "webhook" | "manual" | "schedule";
|
|
8425
|
+
/**
|
|
8426
|
+
* @description Required when trigger_type is cron (or schedule)
|
|
8427
|
+
* @example 0 *\/6 * * *
|
|
8428
|
+
*/
|
|
8429
|
+
cron_expr?: string;
|
|
8430
|
+
/**
|
|
8431
|
+
* @default UTC
|
|
8432
|
+
* @example UTC
|
|
8433
|
+
*/
|
|
8434
|
+
timezone: string;
|
|
8435
|
+
event_filter?: {
|
|
8303
8436
|
[key: string]: unknown;
|
|
8304
|
-
};
|
|
8305
|
-
|
|
8306
|
-
|
|
8437
|
+
} | null;
|
|
8438
|
+
/**
|
|
8439
|
+
* @description Workflow steps. Accepts a bare array `[...]` or
|
|
8440
|
+
* `{ "steps": [...] }` (dashboard / preset shape).
|
|
8441
|
+
*/
|
|
8442
|
+
workflow_spec: {
|
|
8443
|
+
[key: string]: unknown;
|
|
8444
|
+
}[] | {
|
|
8307
8445
|
[key: string]: unknown;
|
|
8308
8446
|
};
|
|
8309
|
-
/** @default true */
|
|
8310
|
-
is_active: boolean;
|
|
8311
8447
|
};
|
|
8312
8448
|
UpdateAutomationRequest: {
|
|
8313
8449
|
name?: string;
|
|
8314
|
-
|
|
8315
|
-
|
|
8316
|
-
|
|
8317
|
-
/** @enum {string} */
|
|
8318
|
-
trigger_type?: "schedule" | "webhook" | "event" | "manual";
|
|
8319
|
-
trigger_config?: {
|
|
8450
|
+
cron_expr?: string | null;
|
|
8451
|
+
timezone?: string;
|
|
8452
|
+
event_filter?: {
|
|
8320
8453
|
[key: string]: unknown;
|
|
8321
|
-
};
|
|
8322
|
-
|
|
8323
|
-
|
|
8454
|
+
} | null;
|
|
8455
|
+
workflow_spec?: {
|
|
8456
|
+
[key: string]: unknown;
|
|
8457
|
+
}[] | {
|
|
8324
8458
|
[key: string]: unknown;
|
|
8325
8459
|
};
|
|
8326
8460
|
is_active?: boolean;
|
|
@@ -8328,31 +8462,56 @@ export interface components {
|
|
|
8328
8462
|
AutomationResponse: {
|
|
8329
8463
|
/** Format: uuid */
|
|
8330
8464
|
id: string;
|
|
8331
|
-
name: string;
|
|
8332
|
-
description?: string | null;
|
|
8333
8465
|
/** Format: uuid */
|
|
8334
|
-
agent_id
|
|
8466
|
+
agent_id: string;
|
|
8467
|
+
name: string;
|
|
8335
8468
|
/** @enum {string} */
|
|
8336
|
-
trigger_type: "
|
|
8337
|
-
|
|
8469
|
+
trigger_type: "cron" | "event" | "webhook" | "manual";
|
|
8470
|
+
cron_expr?: string | null;
|
|
8471
|
+
timezone: string;
|
|
8472
|
+
event_filter?: {
|
|
8338
8473
|
[key: string]: unknown;
|
|
8339
8474
|
} | null;
|
|
8340
|
-
|
|
8341
|
-
action_config?: {
|
|
8475
|
+
workflow_spec: {
|
|
8342
8476
|
[key: string]: unknown;
|
|
8343
|
-
} |
|
|
8477
|
+
}[] | {
|
|
8478
|
+
[key: string]: unknown;
|
|
8479
|
+
};
|
|
8344
8480
|
is_active: boolean;
|
|
8345
|
-
webhook_url?: string | null;
|
|
8346
|
-
schedule_expression?: string | null;
|
|
8347
|
-
/** Format: date-time */
|
|
8348
|
-
next_run_at?: string | null;
|
|
8349
8481
|
/** Format: date-time */
|
|
8350
8482
|
last_run_at?: string | null;
|
|
8351
8483
|
/** Format: date-time */
|
|
8484
|
+
next_run_at?: string | null;
|
|
8485
|
+
/** Format: date-time */
|
|
8352
8486
|
created_at: string;
|
|
8353
8487
|
/** Format: date-time */
|
|
8354
8488
|
updated_at: string;
|
|
8355
8489
|
};
|
|
8490
|
+
AutomationCreatedResponse: components["schemas"]["AutomationResponse"] & {
|
|
8491
|
+
/** @description Full POST URL including token (one-time on create) */
|
|
8492
|
+
webhook_url?: string;
|
|
8493
|
+
/** @description whk_ token segment (one-time on create) */
|
|
8494
|
+
webhook_token?: string;
|
|
8495
|
+
};
|
|
8496
|
+
WebhookTokenRotatedResponse: {
|
|
8497
|
+
webhook_url: string;
|
|
8498
|
+
webhook_token: string;
|
|
8499
|
+
};
|
|
8500
|
+
AssistDraftResponse: {
|
|
8501
|
+
draft: {
|
|
8502
|
+
[key: string]: unknown;
|
|
8503
|
+
};
|
|
8504
|
+
reply: string;
|
|
8505
|
+
};
|
|
8506
|
+
AssistSessionResponse: {
|
|
8507
|
+
access_token: string;
|
|
8508
|
+
expires_in: number;
|
|
8509
|
+
scopes: string[];
|
|
8510
|
+
/** Format: uuid */
|
|
8511
|
+
runtime_id?: string | null;
|
|
8512
|
+
runtime_status?: string | null;
|
|
8513
|
+
cli_hint: string;
|
|
8514
|
+
};
|
|
8356
8515
|
AutomationListResponse: {
|
|
8357
8516
|
automations: components["schemas"]["AutomationResponse"][];
|
|
8358
8517
|
};
|
|
@@ -8361,16 +8520,19 @@ export interface components {
|
|
|
8361
8520
|
id: string;
|
|
8362
8521
|
/** Format: uuid */
|
|
8363
8522
|
automation_id: string;
|
|
8523
|
+
/** Format: uuid */
|
|
8524
|
+
agent_id: string;
|
|
8364
8525
|
/** @enum {string} */
|
|
8365
|
-
status: "pending" | "running" | "completed" | "failed";
|
|
8526
|
+
status: "pending" | "running" | "completed" | "failed" | "denied";
|
|
8527
|
+
step_results?: unknown;
|
|
8528
|
+
error?: string | null;
|
|
8529
|
+
trigger_source?: string | null;
|
|
8366
8530
|
/** Format: date-time */
|
|
8367
8531
|
started_at: string;
|
|
8368
8532
|
/** Format: date-time */
|
|
8369
|
-
|
|
8370
|
-
|
|
8371
|
-
|
|
8372
|
-
} | null;
|
|
8373
|
-
error?: string | null;
|
|
8533
|
+
finished_at?: string | null;
|
|
8534
|
+
tokens_used: number;
|
|
8535
|
+
cost_cents: number;
|
|
8374
8536
|
};
|
|
8375
8537
|
AutomationRunListResponse: {
|
|
8376
8538
|
runs: components["schemas"]["AutomationRunResponse"][];
|
|
@@ -8392,6 +8554,11 @@ export interface components {
|
|
|
8392
8554
|
slug?: string;
|
|
8393
8555
|
/** @enum {string} */
|
|
8394
8556
|
inbound_auth?: "api_key" | "jwt" | "public";
|
|
8557
|
+
/** @default false */
|
|
8558
|
+
shell_access_enabled: boolean;
|
|
8559
|
+
/** @description Step-up auth policy for shell (e.g. password, passkey, totp) */
|
|
8560
|
+
shell_auth_policy?: string;
|
|
8561
|
+
shell_max_session_minutes?: number;
|
|
8395
8562
|
};
|
|
8396
8563
|
UpdateRuntimeRequest: {
|
|
8397
8564
|
name?: string;
|
|
@@ -8407,6 +8574,9 @@ export interface components {
|
|
|
8407
8574
|
slug?: string;
|
|
8408
8575
|
/** @enum {string} */
|
|
8409
8576
|
inbound_auth?: "api_key" | "jwt" | "public";
|
|
8577
|
+
shell_access_enabled?: boolean;
|
|
8578
|
+
shell_auth_policy?: string;
|
|
8579
|
+
shell_max_session_minutes?: number;
|
|
8410
8580
|
};
|
|
8411
8581
|
RuntimeResponse: {
|
|
8412
8582
|
/** Format: uuid */
|
|
@@ -8430,6 +8600,9 @@ export interface components {
|
|
|
8430
8600
|
http_port?: number | null;
|
|
8431
8601
|
/** @enum {string|null} */
|
|
8432
8602
|
inbound_auth?: "api_key" | "jwt" | "public" | null;
|
|
8603
|
+
shell_access_enabled?: boolean;
|
|
8604
|
+
shell_auth_policy?: string;
|
|
8605
|
+
shell_max_session_minutes?: number;
|
|
8433
8606
|
monthly_hours_used?: number | null;
|
|
8434
8607
|
/** Format: date-time */
|
|
8435
8608
|
created_at: string;
|
|
@@ -8444,6 +8617,29 @@ export interface components {
|
|
|
8444
8617
|
slug: string;
|
|
8445
8618
|
reason?: string | null;
|
|
8446
8619
|
};
|
|
8620
|
+
/**
|
|
8621
|
+
* @description Step-up credentials for an interactive shell session.
|
|
8622
|
+
* Provide one of password, totp_code, passkey_credential, or reauth_token.
|
|
8623
|
+
*/
|
|
8624
|
+
ShellSessionRequest: {
|
|
8625
|
+
password?: string;
|
|
8626
|
+
totp_code?: string;
|
|
8627
|
+
passkey_credential?: {
|
|
8628
|
+
[key: string]: unknown;
|
|
8629
|
+
};
|
|
8630
|
+
/** @description Single-use `rat_` token from POST /v1/auth/reauth (purpose runtime_shell) */
|
|
8631
|
+
reauth_token?: string;
|
|
8632
|
+
};
|
|
8633
|
+
ShellSessionResponse: {
|
|
8634
|
+
session_token: string;
|
|
8635
|
+
/** @description WebSocket URL for the PTY terminal */
|
|
8636
|
+
ws_url: string;
|
|
8637
|
+
/** Format: int64 */
|
|
8638
|
+
expires_in: number;
|
|
8639
|
+
/** Format: uuid */
|
|
8640
|
+
runtime_id: string;
|
|
8641
|
+
max_session_minutes: number;
|
|
8642
|
+
};
|
|
8447
8643
|
MemoryEntry: {
|
|
8448
8644
|
/** Format: uuid */
|
|
8449
8645
|
id: string;
|
|
@@ -14761,13 +14957,13 @@ export interface operations {
|
|
|
14761
14957
|
};
|
|
14762
14958
|
};
|
|
14763
14959
|
responses: {
|
|
14764
|
-
/** @description Automation created */
|
|
14960
|
+
/** @description Automation created (includes one-time webhook credentials when trigger_type is webhook) */
|
|
14765
14961
|
201: {
|
|
14766
14962
|
headers: {
|
|
14767
14963
|
[name: string]: unknown;
|
|
14768
14964
|
};
|
|
14769
14965
|
content: {
|
|
14770
|
-
"application/json": components["schemas"]["
|
|
14966
|
+
"application/json": components["schemas"]["AutomationCreatedResponse"];
|
|
14771
14967
|
};
|
|
14772
14968
|
};
|
|
14773
14969
|
400: components["responses"]["BadRequest"];
|
|
@@ -14900,6 +15096,114 @@ export interface operations {
|
|
|
14900
15096
|
404: components["responses"]["NotFound"];
|
|
14901
15097
|
};
|
|
14902
15098
|
};
|
|
15099
|
+
assistDraftAutomation: {
|
|
15100
|
+
parameters: {
|
|
15101
|
+
query?: never;
|
|
15102
|
+
header?: never;
|
|
15103
|
+
path?: never;
|
|
15104
|
+
cookie?: never;
|
|
15105
|
+
};
|
|
15106
|
+
requestBody: {
|
|
15107
|
+
content: {
|
|
15108
|
+
"application/json": {
|
|
15109
|
+
message: string;
|
|
15110
|
+
/** Format: uuid */
|
|
15111
|
+
agent_id?: string;
|
|
15112
|
+
timezone?: string;
|
|
15113
|
+
};
|
|
15114
|
+
};
|
|
15115
|
+
};
|
|
15116
|
+
responses: {
|
|
15117
|
+
/** @description Reviewable automation draft */
|
|
15118
|
+
200: {
|
|
15119
|
+
headers: {
|
|
15120
|
+
[name: string]: unknown;
|
|
15121
|
+
};
|
|
15122
|
+
content: {
|
|
15123
|
+
"application/json": components["schemas"]["AssistDraftResponse"];
|
|
15124
|
+
};
|
|
15125
|
+
};
|
|
15126
|
+
401: components["responses"]["Unauthorized"];
|
|
15127
|
+
};
|
|
15128
|
+
};
|
|
15129
|
+
assistAutomationSession: {
|
|
15130
|
+
parameters: {
|
|
15131
|
+
query?: never;
|
|
15132
|
+
header?: never;
|
|
15133
|
+
path?: never;
|
|
15134
|
+
cookie?: never;
|
|
15135
|
+
};
|
|
15136
|
+
requestBody?: {
|
|
15137
|
+
content: {
|
|
15138
|
+
"application/json": {
|
|
15139
|
+
/** Format: uuid */
|
|
15140
|
+
runtime_id?: string;
|
|
15141
|
+
};
|
|
15142
|
+
};
|
|
15143
|
+
};
|
|
15144
|
+
responses: {
|
|
15145
|
+
/** @description Assist session token */
|
|
15146
|
+
200: {
|
|
15147
|
+
headers: {
|
|
15148
|
+
[name: string]: unknown;
|
|
15149
|
+
};
|
|
15150
|
+
content: {
|
|
15151
|
+
"application/json": components["schemas"]["AssistSessionResponse"];
|
|
15152
|
+
};
|
|
15153
|
+
};
|
|
15154
|
+
401: components["responses"]["Unauthorized"];
|
|
15155
|
+
};
|
|
15156
|
+
};
|
|
15157
|
+
webhookTriggerAutomation: {
|
|
15158
|
+
parameters: {
|
|
15159
|
+
query?: never;
|
|
15160
|
+
header?: never;
|
|
15161
|
+
path: {
|
|
15162
|
+
automationId: string;
|
|
15163
|
+
token: string;
|
|
15164
|
+
};
|
|
15165
|
+
cookie?: never;
|
|
15166
|
+
};
|
|
15167
|
+
requestBody?: never;
|
|
15168
|
+
responses: {
|
|
15169
|
+
/** @description Automation run queued */
|
|
15170
|
+
201: {
|
|
15171
|
+
headers: {
|
|
15172
|
+
[name: string]: unknown;
|
|
15173
|
+
};
|
|
15174
|
+
content: {
|
|
15175
|
+
"application/json": components["schemas"]["AutomationRunResponse"];
|
|
15176
|
+
};
|
|
15177
|
+
};
|
|
15178
|
+
401: components["responses"]["Unauthorized"];
|
|
15179
|
+
404: components["responses"]["NotFound"];
|
|
15180
|
+
};
|
|
15181
|
+
};
|
|
15182
|
+
rotateAutomationWebhookToken: {
|
|
15183
|
+
parameters: {
|
|
15184
|
+
query?: never;
|
|
15185
|
+
header?: never;
|
|
15186
|
+
path: {
|
|
15187
|
+
automationId: string;
|
|
15188
|
+
};
|
|
15189
|
+
cookie?: never;
|
|
15190
|
+
};
|
|
15191
|
+
requestBody?: never;
|
|
15192
|
+
responses: {
|
|
15193
|
+
/** @description New one-time webhook URL and token */
|
|
15194
|
+
200: {
|
|
15195
|
+
headers: {
|
|
15196
|
+
[name: string]: unknown;
|
|
15197
|
+
};
|
|
15198
|
+
content: {
|
|
15199
|
+
"application/json": components["schemas"]["WebhookTokenRotatedResponse"];
|
|
15200
|
+
};
|
|
15201
|
+
};
|
|
15202
|
+
400: components["responses"]["BadRequest"];
|
|
15203
|
+
401: components["responses"]["Unauthorized"];
|
|
15204
|
+
404: components["responses"]["NotFound"];
|
|
15205
|
+
};
|
|
15206
|
+
};
|
|
14903
15207
|
listRuntimes: {
|
|
14904
15208
|
parameters: {
|
|
14905
15209
|
query?: never;
|
|
@@ -15073,9 +15377,8 @@ export interface operations {
|
|
|
15073
15377
|
getRuntimeLogs: {
|
|
15074
15378
|
parameters: {
|
|
15075
15379
|
query?: {
|
|
15076
|
-
/** @description
|
|
15077
|
-
|
|
15078
|
-
limit?: number;
|
|
15380
|
+
/** @description Number of recent log lines to return */
|
|
15381
|
+
tail?: number;
|
|
15079
15382
|
};
|
|
15080
15383
|
header?: never;
|
|
15081
15384
|
path: {
|
|
@@ -15092,10 +15395,10 @@ export interface operations {
|
|
|
15092
15395
|
};
|
|
15093
15396
|
content: {
|
|
15094
15397
|
"application/json": {
|
|
15095
|
-
|
|
15398
|
+
entries: {
|
|
15096
15399
|
/** Format: date-time */
|
|
15097
15400
|
timestamp?: string;
|
|
15098
|
-
message
|
|
15401
|
+
message: string;
|
|
15099
15402
|
level?: string;
|
|
15100
15403
|
}[];
|
|
15101
15404
|
};
|
|
@@ -15128,6 +15431,63 @@ export interface operations {
|
|
|
15128
15431
|
401: components["responses"]["Unauthorized"];
|
|
15129
15432
|
};
|
|
15130
15433
|
};
|
|
15434
|
+
createShellSession: {
|
|
15435
|
+
parameters: {
|
|
15436
|
+
query?: never;
|
|
15437
|
+
header?: never;
|
|
15438
|
+
path: {
|
|
15439
|
+
runtimeId: string;
|
|
15440
|
+
};
|
|
15441
|
+
cookie?: never;
|
|
15442
|
+
};
|
|
15443
|
+
requestBody: {
|
|
15444
|
+
content: {
|
|
15445
|
+
"application/json": components["schemas"]["ShellSessionRequest"];
|
|
15446
|
+
};
|
|
15447
|
+
};
|
|
15448
|
+
responses: {
|
|
15449
|
+
/** @description Shell session created */
|
|
15450
|
+
200: {
|
|
15451
|
+
headers: {
|
|
15452
|
+
[name: string]: unknown;
|
|
15453
|
+
};
|
|
15454
|
+
content: {
|
|
15455
|
+
"application/json": components["schemas"]["ShellSessionResponse"];
|
|
15456
|
+
};
|
|
15457
|
+
};
|
|
15458
|
+
400: components["responses"]["BadRequest"];
|
|
15459
|
+
401: components["responses"]["Unauthorized"];
|
|
15460
|
+
403: components["responses"]["Forbidden"];
|
|
15461
|
+
404: components["responses"]["NotFound"];
|
|
15462
|
+
};
|
|
15463
|
+
};
|
|
15464
|
+
beginShellPasskey: {
|
|
15465
|
+
parameters: {
|
|
15466
|
+
query?: never;
|
|
15467
|
+
header?: never;
|
|
15468
|
+
path: {
|
|
15469
|
+
runtimeId: string;
|
|
15470
|
+
};
|
|
15471
|
+
cookie?: never;
|
|
15472
|
+
};
|
|
15473
|
+
requestBody?: never;
|
|
15474
|
+
responses: {
|
|
15475
|
+
/** @description Passkey challenge for shell session */
|
|
15476
|
+
200: {
|
|
15477
|
+
headers: {
|
|
15478
|
+
[name: string]: unknown;
|
|
15479
|
+
};
|
|
15480
|
+
content: {
|
|
15481
|
+
"application/json": {
|
|
15482
|
+
[key: string]: unknown;
|
|
15483
|
+
};
|
|
15484
|
+
};
|
|
15485
|
+
};
|
|
15486
|
+
401: components["responses"]["Unauthorized"];
|
|
15487
|
+
403: components["responses"]["Forbidden"];
|
|
15488
|
+
404: components["responses"]["NotFound"];
|
|
15489
|
+
};
|
|
15490
|
+
};
|
|
15131
15491
|
listMemoryNamespaces: {
|
|
15132
15492
|
parameters: {
|
|
15133
15493
|
query?: never;
|