@deepraxis/sdk 0.1.1-dev.d76350c → 0.1.1-dev.d774271

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.
@@ -61,7 +61,7 @@ export const operations = [
61
61
  "resource": "agent.agents",
62
62
  "method": "create",
63
63
  "summary": "Create agent",
64
- "description": "Create a reusable agent definition, then pass its returned id to sessions.create to start a conversation. The definition includes model, system prompt, tools, MCP servers and an optional multiagent roster. It is saved as version 1; real updates create new versions. skills attaches uploaded custom skills as [{type: \"custom\", skill_id, version?}] (skill_id from skills.create or skills.list; at most 20, no repeated skill_id). Omit version, or send \"latest\", to use the skill's newest version when a session starts. type anthropic returns 400. Use tools: [{type: \"agent_toolset_20260401\"}] for built-in tools including codemode, skill and agent; inspect toolsets.list for names and schemas, and keep bash enabled for native additions. To offer only some tools, set default_config: {enabled: false} and list the tools to keep in configs, e.g. tools: [{type: \"agent_toolset_20260401\", default_config: {enabled: false}, configs: [{name: \"codemode\", enabled: true}, {name: \"bash\", enabled: true, permission_policy: {type: \"always_ask\"}}]}]; every tool not listed, including todo_write, ask_user_question and goal_read, follows default_config, and the response echoes it. codemode runs through bash, so enabling codemode while bash is disabled returns 400. Optional mcp_toolset entries pair with mcp_servers. model accepts platform model IDs such as deepseek-flash, not only the Claude IDs in the protocol examples. model.settings.reasoning sets default thinking; other extra model controls return 400. model and every models.allowed entry must be a catalog model that can run an agent: an unknown id returns 400 \"model <id> is not in the model catalog\" and an embedding, image or speech model returns 400 \"model <id> cannot run an agent\". name is a label, not a unique key: 1 to 256 characters after trimming, no NUL or line breaks. avatar is trimmed, must not contain spaces or point at a loopback, private or internal host, and its scheme is stored in lowercase. script and workflow binding ids are stored in lowercase, the form automation matches; bindings together with environment_id null return 400 because bindings need a machine. Example: {\"name\":\"helper\",\"model\":{\"id\":\"deepseek-flash\"},\"tools\":[{\"type\":\"agent_toolset_20260401\"}]}. kind defaults to service when it is omitted and no computer_id is given, and to general when computer_id is given; it cannot change after creation. For kind assume, provide name without model, models, subagent_model, subagents or multiagent; omit computer_id to register a new computer named after the agent without starting an instance, or provide an existing computer_id; vault_ids are accepted, bindings and environment_id are refused. Drive assume agents over MCP at /agent/v1/agents/{id}/mcp.",
64
+ "description": "Create a reusable agent definition, then pass its returned id to sessions.create to start a conversation. Omit kind to create a service agent (Managed Agents behaviour: a fresh environment per session). Pass kind: \"general\" for an employee-style agent with its own computer, created with it; size and template come from the agent's computers configuration. The definition includes model, system prompt, tools, MCP servers and an optional multiagent roster. It is saved as version 1; real updates create new versions. skills attaches uploaded custom skills as [{type: \"custom\", skill_id, version?}] (skill_id from skills.create or skills.list; at most 20, no repeated skill_id). Omit version, or send \"latest\", to use the skill's newest version when a session starts. type anthropic returns 400. Use tools: [{type: \"agent_toolset_20260401\"}] for built-in tools including codemode, skill and agent; inspect toolsets.list for names and schemas, and keep bash enabled for native additions. To offer only some tools, set default_config: {enabled: false} and list the tools to keep in configs, e.g. tools: [{type: \"agent_toolset_20260401\", default_config: {enabled: false}, configs: [{name: \"codemode\", enabled: true}, {name: \"bash\", enabled: true, permission_policy: {type: \"always_ask\"}}]}]; every tool not listed, including todo_write, ask_user_question and goal_read, follows default_config, and the response echoes it. codemode runs through bash, so enabling codemode while bash is disabled returns 400. Optional mcp_toolset entries pair with mcp_servers. model accepts platform model IDs such as deepseek-flash, not only the Claude IDs in the protocol examples. model.settings.reasoning sets default thinking; other extra model controls return 400. model and every models.allowed entry must be a catalog model that can run an agent: an unknown id returns 400 \"model <id> is not in the model catalog\" and an embedding, image or speech model returns 400 \"model <id> cannot run an agent\". name is a label, not a unique key: 1 to 256 characters after trimming, no NUL or line breaks. avatar is trimmed, must not contain spaces or point at a loopback, private or internal host, and its scheme is stored in lowercase. script and workflow binding ids are stored in lowercase, the form automation matches; bindings together with environment_id null return 400 because bindings need a machine. Example: {\"name\":\"helper\",\"model\":{\"id\":\"deepseek-flash\"},\"tools\":[{\"type\":\"agent_toolset_20260401\"}]}. kind defaults to service when it is omitted and no computer_id is given, and to general when computer_id is given; it cannot change after creation. A general or assume agent created without computer_id gets a new computer registered in the same request, named after the agent; a service agent with computer_id returns 400. For kind assume, provide name without model, models, subagent_model, subagents or multiagent; vault_ids are accepted, bindings and environment_id are refused. Drive assume agents over MCP at /agent/v1/agents/{id}/mcp.",
65
65
  "http": "POST",
66
66
  "path": "/agent/v1/agents",
67
67
  "streaming": "no",
@@ -144,7 +144,7 @@ export const operations = [
144
144
  "assume"
145
145
  ],
146
146
  "required": false,
147
- "description": "Immutable agent kind. general requires computer_id; on creation, assume may omit computer_id to register a new computer named after the agent, without starting an instance; assume has no conversation model and rejects model, models, subagent_model, subagents and multiagent; service cannot bind a computer. Omit on create to infer from computer_id (general with a computer, service without). On update, the same kind is ignored; changing kind or crossing its computer binding returns 400 invalid_request_error."
147
+ "description": "Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session; assume is driven over MCP with a durable computer and no conversation model. Omit on create to infer from computer_id (general with a computer, service without). A general or assume agent created without computer_id registers a new computer named after the agent in the same request; a service agent cannot take computer_id. assume rejects model, models, subagent_model, subagents and multiagent. On update, the same kind is ignored; changing kind or crossing its computer binding returns 400 invalid_request_error."
148
148
  },
149
149
  {
150
150
  "name": "computer_id",
@@ -372,7 +372,7 @@ export const operations = [
372
372
  "assume"
373
373
  ],
374
374
  "required": false,
375
- "description": "Immutable agent kind. general requires computer_id; on creation, assume may omit computer_id to register a new computer named after the agent, without starting an instance; assume has no conversation model and rejects model, models, subagent_model, subagents and multiagent; service cannot bind a computer. Omit on create to infer from computer_id (general with a computer, service without). On update, the same kind is ignored; changing kind or crossing its computer binding returns 400 invalid_request_error."
375
+ "description": "Immutable agent kind. general uses a durable computer and acts for its owner; service uses a clean environment per session; assume is driven over MCP with a durable computer and no conversation model. Omit on create to infer from computer_id (general with a computer, service without). A general or assume agent created without computer_id registers a new computer named after the agent in the same request; a service agent cannot take computer_id. assume rejects model, models, subagent_model, subagents and multiagent. On update, the same kind is ignored; changing kind or crossing its computer binding returns 400 invalid_request_error."
376
376
  },
377
377
  {
378
378
  "name": "computer_id",
@@ -1090,7 +1090,7 @@ export const operations = [
1090
1090
  "resource": "agent.computers",
1091
1091
  "method": "list",
1092
1092
  "summary": "List Computers",
1093
- "description": "List the computers of your organization, archived ones included.\n\nPraxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; computers start with a light sandbox and expose the public SDK sandbox_id. Lists include archived computers.",
1093
+ "description": "List the computers of your organization, archived ones included.\n\nPraxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers.",
1094
1094
  "http": "GET",
1095
1095
  "path": "/agent/v1/computers",
1096
1096
  "streaming": "no",
@@ -1115,7 +1115,7 @@ export const operations = [
1115
1115
  "resource": "agent.computers",
1116
1116
  "method": "create",
1117
1117
  "summary": "Create Computer",
1118
- "description": "Create a durable computer: a named machine whose files outlive sessions, for general agents.\n\nPraxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; computers start with a light sandbox and expose the public SDK sandbox_id. Lists include archived computers.",
1118
+ "description": "Create a durable computer: a named machine whose files outlive sessions, for general agents.\n\nPraxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers.",
1119
1119
  "http": "POST",
1120
1120
  "path": "/agent/v1/computers",
1121
1121
  "streaming": "no",
@@ -1162,7 +1162,7 @@ export const operations = [
1162
1162
  "resource": "agent.computers",
1163
1163
  "method": "retrieve",
1164
1164
  "summary": "Get Computer",
1165
- "description": "Read one computer's status, storage use and sandbox id.\n\nPraxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; computers start with a light sandbox and expose the public SDK sandbox_id. Lists include archived computers.",
1165
+ "description": "Read one computer's status, storage use and sandbox id.\n\nPraxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers.",
1166
1166
  "http": "GET",
1167
1167
  "path": "/agent/v1/computers/{computer_id}",
1168
1168
  "streaming": "no",
@@ -1180,7 +1180,7 @@ export const operations = [
1180
1180
  "resource": "agent.computers",
1181
1181
  "method": "update",
1182
1182
  "summary": "Update Computer",
1183
- "description": "Rename a computer.\n\nPraxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; computers start with a light sandbox and expose the public SDK sandbox_id. Lists include archived computers.",
1183
+ "description": "Rename a computer.\n\nPraxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers.",
1184
1184
  "http": "POST",
1185
1185
  "path": "/agent/v1/computers/{computer_id}",
1186
1186
  "streaming": "no",
@@ -1209,7 +1209,7 @@ export const operations = [
1209
1209
  "resource": "agent.computers",
1210
1210
  "method": "archive",
1211
1211
  "summary": "Archive Computer",
1212
- "description": "Archive a computer: its files stay readable but new sessions cannot use it.\n\nPraxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; computers start with a light sandbox and expose the public SDK sandbox_id. Lists include archived computers.",
1212
+ "description": "Archive a computer: its files stay readable but new sessions cannot use it.\n\nPraxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers. A computer an active agent holds is refused with 409 COMPUTER_IN_USE; archive the agent first.",
1213
1213
  "http": "POST",
1214
1214
  "path": "/agent/v1/computers/{computer_id}/archive",
1215
1215
  "streaming": "no",
@@ -1289,7 +1289,7 @@ export const operations = [
1289
1289
  "resource": "agent.computers.files",
1290
1290
  "method": "list",
1291
1291
  "summary": "List Computer Files",
1292
- "description": "List the entries of one directory on a computer.\n\nPraxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; computers start with a light sandbox and expose the public SDK sandbox_id. Lists include archived computers.",
1292
+ "description": "List the entries of one directory on a computer.\n\nPraxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers.",
1293
1293
  "http": "GET",
1294
1294
  "path": "/agent/v1/computers/{computer_id}/files",
1295
1295
  "streaming": "no",
@@ -1314,7 +1314,7 @@ export const operations = [
1314
1314
  "resource": "agent.computers.files",
1315
1315
  "method": "retrieveContent",
1316
1316
  "summary": "Get Computer File Content",
1317
- "description": "Download the bytes of one file on a computer, up to 16 MiB, with single-range support.\n\nPraxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; computers start with a light sandbox and expose the public SDK sandbox_id. Lists include archived computers.",
1317
+ "description": "Download the bytes of one file on a computer, up to 16 MiB, with single-range support.\n\nPraxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. Archived files remain readable, but new sessions cannot bind them. environment_id is an optional recipe reference; a computer starts on first use and exposes the public SDK sandbox_id. Lists include archived computers.",
1318
1318
  "http": "GET",
1319
1319
  "path": "/agent/v1/computers/{computer_id}/files/content",
1320
1320
  "streaming": "no",
@@ -1360,6 +1360,50 @@ export const operations = [
1360
1360
  }
1361
1361
  ]
1362
1362
  },
1363
+ {
1364
+ "resource": "agent.computers.files",
1365
+ "method": "retrievePreview",
1366
+ "summary": "Preview a computer file",
1367
+ "description": "The preview product of one version of one computer file: an image becomes a 1600 px WebP, an Office document a linearized PDF, text and source the first 64 KiB, and PDF, xlsx, epub, GIF, SVG and unknown types their original bytes. Products live in the File service and are keyed by computer, path, size, mtime, variant and format version. A request that pins `v` answers from that registry without stat'ing or waking the computer; without `v` the file is read and the product generated once. A file over the size threshold, or a deployment without the File service, answers `fallback: \"content\"` so the caller keeps the ordinary content door.",
1368
+ "http": "GET",
1369
+ "path": "/agent/v1/computers/{computer_id}/files/preview",
1370
+ "streaming": "no",
1371
+ "pagination": false,
1372
+ "pathParams": [
1373
+ {
1374
+ "name": "computer_id",
1375
+ "sdkName": "computer_id",
1376
+ "description": "Computer id from computer creation or listing; a computer another tenant owns is not found."
1377
+ }
1378
+ ],
1379
+ "query": [
1380
+ {
1381
+ "name": "path",
1382
+ "type": "string",
1383
+ "required": true,
1384
+ "description": "Absolute path of the file on the computer, or a /workspace/ relative path."
1385
+ },
1386
+ {
1387
+ "name": "v",
1388
+ "type": "string",
1389
+ "required": false,
1390
+ "description": "The file version to answer for: the file listing's version (<size>-<mtimeMs>), or the full product version (<size>-<mtimeMs>-<variant>-fmt<N>) a previous answer returned. A pinned version answers from the product registry without a stat or a wake."
1391
+ },
1392
+ {
1393
+ "name": "variant",
1394
+ "type": "string",
1395
+ "enum": [
1396
+ "auto",
1397
+ "image",
1398
+ "pdf",
1399
+ "text",
1400
+ "original"
1401
+ ],
1402
+ "required": false,
1403
+ "description": "The product to answer; auto picks the kind's own (image, pdf, text or original). A variant the file cannot produce answers 400 PREVIEW_VARIANT_UNAVAILABLE."
1404
+ }
1405
+ ]
1406
+ },
1363
1407
  {
1364
1408
  "resource": "agent.computers.leases",
1365
1409
  "method": "delete",
@@ -2185,6 +2229,16 @@ export const operations = [
2185
2229
  "required": false,
2186
2230
  "description": "Session working directory on any machine. Must be an absolute path within /home/user with no . or .. segments. Repeated and trailing slashes are normalized. Invalid values return 400 invalid_request_error with Invalid cwd."
2187
2231
  },
2232
+ {
2233
+ "name": "workspace",
2234
+ "type": "string",
2235
+ "enum": [
2236
+ "shared",
2237
+ "isolated"
2238
+ ],
2239
+ "required": false,
2240
+ "description": "Praxis extension: where the session's work happens. shared (default) opens it in the project's own folder; isolated asks for a session-owned git worktree when a named project's folder is a git repository, so concurrent desks in one project never touch each other's files. An explicit cwd is always taken as given, and a project that is not a git repository is always shared."
2241
+ },
2188
2242
  {
2189
2243
  "name": "computer_id",
2190
2244
  "type": "string",
@@ -2742,6 +2796,35 @@ export const operations = [
2742
2796
  ]
2743
2797
  }
2744
2798
  },
2799
+ {
2800
+ "resource": "agent.sessions.name",
2801
+ "method": "create",
2802
+ "summary": "Rename Session (Extension)",
2803
+ "description": "Give a session a short, branch-like name; the main session is always main and cannot be renamed.\n\nAvailable only on /agent/v1. The name is normalized first (surrounding whitespace trimmed, upper case folded to lowercase, runs of whitespace become one hyphen, characters the rule does not admit dropped, and no hyphen left hanging at either end) and then validated: non-empty, at most 32 display columns wide (a Han character counts as two), made only of Han characters, lowercase ASCII letters, digits and hyphens, and never the reserved word main. A name another of the caller's own sessions already holds is not an error: the answer carries a numeric suffix (base-2, base-3, …). Renaming the main session returns 400; a missing session, one that belongs to another caller, or one the caller cannot write returns 404. Returns 200 with the same Session shape as retrieval, name set to the new name; one rename writes a session.renamed event. Example: POST /agent/v1/sessions/sesn_login/name with body {\"name\":\"login-fix\"}.",
2804
+ "http": "POST",
2805
+ "path": "/agent/v1/sessions/{session_id}/name",
2806
+ "streaming": "no",
2807
+ "pagination": false,
2808
+ "pathParams": [
2809
+ {
2810
+ "name": "session_id",
2811
+ "sdkName": "session_id",
2812
+ "description": "Session id from session creation or listing. The reserved name main is not renameable."
2813
+ }
2814
+ ],
2815
+ "query": [],
2816
+ "body": {
2817
+ "required": true,
2818
+ "fields": [
2819
+ {
2820
+ "name": "name",
2821
+ "type": "string",
2822
+ "required": true,
2823
+ "description": "The session's new short name: Han characters, lowercase ASCII letters, digits and hyphens, at most 32 columns (a Han character counts as two), never the reserved word main. Surrounding whitespace is trimmed and uppercase is folded to lowercase."
2824
+ }
2825
+ ]
2826
+ }
2827
+ },
2745
2828
  {
2746
2829
  "resource": "agent.sessions.requests",
2747
2830
  "method": "list",
@@ -4080,7 +4163,7 @@ export const operations = [
4080
4163
  "resource": "application.workers.versions",
4081
4164
  "method": "create",
4082
4165
  "summary": "Create version",
4083
- "description": "Upload code and bindings as a new version; a version serves nothing until deployed. Set deploy true to create the pending deployment in the same call. Rejected binding types return UNSUPPORTED.",
4166
+ "description": "Upload code and bindings as a new version; a version serves nothing until deployed. Set deploy true to create the pending deployment in the same call. Rejected binding types return UNSUPPORTED. Send an Idempotency-Key to make a create safe to retry: within 24 hours the same key with the same body answers the first version (and its deployment) again instead of creating a second one, and the same key with a different body is refused.",
4084
4167
  "http": "POST",
4085
4168
  "path": "/application/v1/workers/{worker_id}/versions",
4086
4169
  "streaming": "no",
@@ -12539,7 +12622,7 @@ export const operations = [
12539
12622
  "resource": "devops.changes",
12540
12623
  "method": "abandon",
12541
12624
  "summary": "Abandon a change",
12542
- "description": "Stop a change for good: it no longer moves forward and its stage becomes abandoned. reason is required and is kept with the change. Pull requests that were already merged are not undone — the system cleans them up, or a new change reverts them — so abandoning is a statement about the change, not a rollback of code. The id is the branch name and its slash must be percent-encoded in the path (feat%2Frun-page-v2). A change that is already abandoned is refused with INVALID_ARGUMENT, which is how a caller tells an earlier abandon apart from a call that had no effect.",
12625
+ "description": "Stop a change for good: it no longer moves forward and its stage becomes abandoned. reason is required and is kept with the change. Pull requests it has not merged are closed with it: each one is closed on GitHub with a note naming the change and this reason, so an abandoned change never leaves an open pull request behind for someone else to clean up — a change with no open pull request makes no GitHub call at all. That close happens BEFORE the change is marked, so an abandon that cannot close them is refused with GITHUB_UNAVAILABLE and nothing has changed; send it again. Pull requests that were already merged are not undone — the system cleans them up, or a new change reverts them — so abandoning is a statement about the change, not a rollback of code. The id is the branch name and its slash must be percent-encoded in the path (feat%2Frun-page-v2). Repeating the call on a change that is already abandoned answers the change as it stands instead of refusing it: the first abandon is the fact, and a caller that lost the answer gets it back.",
12543
12626
  "http": "POST",
12544
12627
  "path": "/devops/v1/changes/{id}:abandon",
12545
12628
  "streaming": "no",
@@ -15221,6 +15304,35 @@ export const operations = [
15221
15304
  }
15222
15305
  ]
15223
15306
  },
15307
+ {
15308
+ "resource": "devops.pullRequests",
15309
+ "method": "close",
15310
+ "summary": "Close a pull request without merging it",
15311
+ "description": "End a pull request that will never land, without abandoning the change it belongs to. DevOps closes it on GitHub through the project's own App installation, after writing this reason on the pull request, so it leaves the review queue instead of waiting for a merge that is not coming and whoever finds it later sees who ended it and why. Use it when one slice of a change is dropped while the change continues; abandoning the CHANGE closes its unmerged pull requests on its own and needs no second call. Only an open pull request can be closed: a merged one is refused with PULL_REQUEST_NOT_OPEN, because closing does not undo a merge and GitHub will not move a merged pull request back to closed, and one that is already closed answers itself unchanged, so repeating the call is safe. A pull request GitHub no longer has open is refused the same way — nothing was closed, and the platform's record catches up with GitHub on its next delivery.",
15312
+ "http": "POST",
15313
+ "path": "/devops/v1/pull-requests/{id}:close",
15314
+ "streaming": "no",
15315
+ "pagination": false,
15316
+ "pathParams": [
15317
+ {
15318
+ "name": "id",
15319
+ "sdkName": "id",
15320
+ "description": "The pull request's platform id (pr_…) from a pull request list, not GitHub's pull request number; the retrieve, rerunGate, merge and recordVerdict calls all address the pull request by it."
15321
+ }
15322
+ ],
15323
+ "query": [],
15324
+ "body": {
15325
+ "required": true,
15326
+ "fields": [
15327
+ {
15328
+ "name": "reason",
15329
+ "type": "string",
15330
+ "required": true,
15331
+ "description": "Why, in a sentence the next reader of the pull request can act on. It is posted as a note on the pull request before it is closed, and the note names the change when the head branch is one."
15332
+ }
15333
+ ]
15334
+ }
15335
+ },
15224
15336
  {
15225
15337
  "resource": "devops.pullRequests",
15226
15338
  "method": "merge",
@@ -17262,6 +17374,17 @@ export const operations = [
17262
17374
  "required": false,
17263
17375
  "description": "Model role overrides. Omitted roles keep their current values on update and use defaults on creation; null restores all defaults, and a null role restores that role’s default. Changing embedding is rejected while the library contains assets."
17264
17376
  },
17377
+ {
17378
+ "name": "default_tier",
17379
+ "type": "string",
17380
+ "enum": [
17381
+ "economy",
17382
+ "balanced",
17383
+ "quality"
17384
+ ],
17385
+ "required": false,
17386
+ "description": "Performance tier to run this request in, an alternative to naming a model: economy is the cheapest and fastest, balanced is the best value, quality puts the result first. Send tier or model, never both — a request that carries both is refused with INVALID_PARAMS in the tier field. A capability with no model for the exact tier answers the nearest declared tier, and a tie goes to the cheaper one, so a request never pays more than it asked for; a capability that has only one model answers every tier with that model. The job and the produced asset’s provenance report the tier that actually served the request."
17387
+ },
17265
17388
  {
17266
17389
  "name": "name",
17267
17390
  "type": "string",
@@ -17393,6 +17516,17 @@ export const operations = [
17393
17516
  "required": false,
17394
17517
  "description": "Model role overrides. Omitted roles keep their current values on update and use defaults on creation; null restores all defaults, and a null role restores that role’s default. Changing embedding is rejected while the library contains assets."
17395
17518
  },
17519
+ {
17520
+ "name": "default_tier",
17521
+ "type": "string",
17522
+ "enum": [
17523
+ "economy",
17524
+ "balanced",
17525
+ "quality"
17526
+ ],
17527
+ "required": false,
17528
+ "description": "Performance tier to run this request in, an alternative to naming a model: economy is the cheapest and fastest, balanced is the best value, quality puts the result first. Send tier or model, never both — a request that carries both is refused with INVALID_PARAMS in the tier field. A capability with no model for the exact tier answers the nearest declared tier, and a tie goes to the cheaper one, so a request never pays more than it asked for; a capability that has only one model answers every tier with that model. The job and the produced asset’s provenance report the tier that actually served the request."
17529
+ },
17396
17530
  {
17397
17531
  "name": "name",
17398
17532
  "type": "string",
@@ -17860,7 +17994,7 @@ export const operations = [
17860
17994
  "resource": "media.assets",
17861
17995
  "method": "edit",
17862
17996
  "summary": "Edit asset",
17863
- "description": "Change an existing asset and store the result as a new asset; the source is never overwritten. {library_id} also accepts default, the organization’s default library. The body is operation (its type selects the edit and carries that edit’s own fields) plus optional model, asset_folder, understanding and idempotency_key. Edits by material: on an image, variations (near copies of a take you like), inpaint (mask, a PNG File id beginning with file-, whose transparent area is replaced by what prompt describes), erase, replace_object, recolor, replace_background, remove_background, upscale and talking_avatar (the portrait speaks a recording of the same library); on a video, upscale, reframe, redact, trim, mute, crop, erase (removes burned-in subtitles, captions and corner watermarks, found automatically or inside the boxes given), replace_person (puts the person of an image of the same library in place of the video’s person), lip_sync (re-syncs the lips to a recording of the same library), animate_person (an image of the same library performs the video’s motion) and remove_background; on a recording or a video’s audio, enhance_voice; and to_video, frame and resynthesize on the material each takes. Any other type answers OPERATION_NOT_SUPPORTED, and an edit that does not fit the source’s material answers REFERENCE_TYPE_MISMATCH. Video and audio edits take their model from the platform catalogue (override with operation.model); an edit whose catalogue is empty answers OPERATION_NOT_SUPPORTED, 尚未上架. remove_background on a video makes a portrait matte: output mask is a small black-and-white video to use as a Cut track mask (the choice for compositing), output alpha (the default) a transparent ProRes 4444 file of about 870 MB per 15 s of 1080p, for when the transparent file itself is the deliverable; pick model from types.matting.models of the generation capabilities. output and model on an image source answer INVALID_PARAMS. The new asset records the source in derived_from; assets.lineage reads the whole edit chain. Charges are at the model API prices (video and audio edits per second of input) and appear in the Job’s usage; repeating the same edit of the same source answers the asset already made instead of paying again. The response is 202 with a queued Job whose source_asset_id is the edited asset; poll GET /media/v1/libraries/{library_id}/jobs/{job_id}, give the output’s viewer_url to the person and tell them usage.",
17997
+ "description": "Change an existing asset and store the result as a new asset; the source is never overwritten. {library_id} also accepts default, the organization’s default library. The body is operation (its type selects the edit and carries that edit’s own fields) plus optional model, asset_folder, understanding and idempotency_key. Edits by material: on an image, variations (near copies of a take you like), inpaint (mask, a PNG File id beginning with file-, whose transparent area is replaced by what prompt describes), erase, replace_object, recolor, replace_background, remove_background, upscale and talking_avatar (the portrait speaks a recording of the same library); on a video, upscale, reframe, redact, trim, mute, crop, extract_audio (pulls the sound out of a video as its own audio asset), erase (removes burned-in subtitles, captions and corner watermarks, found automatically or inside the boxes given), replace_person (puts the person of an image of the same library in place of the video’s person), lip_sync (re-syncs the lips to a recording of the same library), animate_person (an image of the same library performs the video’s motion), edit_video (the video changed by a one-line instruction, optionally guided by one image of the same library) and remove_background; on a recording or a video’s audio, enhance_voice; and to_video, frame and resynthesize on the material each takes. Any other type answers OPERATION_NOT_SUPPORTED, and an edit that does not fit the source’s material answers REFERENCE_TYPE_MISMATCH. Video and audio edits take their model from the platform catalogue (override with operation.model; extract_audio takes no model, it has exactly one function); an edit whose catalogue is empty answers OPERATION_NOT_SUPPORTED, 尚未上架. remove_background on a video makes a portrait matte: output mask is a small black-and-white video to use as a Cut track mask (the choice for compositing), output alpha (the default) a transparent ProRes 4444 file of about 870 MB per 15 s of 1080p, for when the transparent file itself is the deliverable; pick model from types.matting.models of the generation capabilities. output and model on an image source answer INVALID_PARAMS. The new asset records the source in derived_from; assets.lineage reads the whole edit chain. Charges are at the model API prices (video and audio edits per second of input) and appear in the Job’s usage; repeating the same edit of the same source answers the asset already made instead of paying again. The response is 202 with a queued Job whose source_asset_id is the edited asset; poll GET /media/v1/libraries/{library_id}/jobs/{job_id}, give the output’s viewer_url to the person and tell them usage.",
17864
17998
  "http": "POST",
17865
17999
  "path": "/media/v1/libraries/{library_id}/assets/{asset_id}/edits",
17866
18000
  "streaming": "no",
@@ -17885,13 +18019,24 @@ export const operations = [
17885
18019
  "name": "operation",
17886
18020
  "type": "object",
17887
18021
  "required": true,
17888
- "description": "One edit to apply to the source asset. type selects the operation and the discriminating branch carries that operation’s fields. This release performs variations, inpaint, erase, replace_object, recolor and replace_background on images, remove_background on an image or a video, upscale, enhance_voice, reframe, redact, trim, mute and crop through Media’s processing lane (upscale on a picture or a video; enhance_voice on a recording or a video, whose audio is used; reframe, redact, trim, mute and crop on a video), erase, replace_person, lip_sync and animate_person on a video and talking_avatar on an image through the same lane, and to_video, frame and resynthesize on the material each takes; every other type here describes the operation vocabulary and is refused with OPERATION_NOT_SUPPORTED. align is not an edit — it compares two assets and has its own endpoint, POST /media/v1/libraries/{library_id}/assets/{asset_id}/align."
18022
+ "description": "One edit to apply to the source asset. type selects the operation and the discriminating branch carries that operation’s fields. This release performs variations, inpaint, erase, replace_object, recolor and replace_background on images, remove_background on an image or a video, upscale, enhance_voice, reframe, redact, trim, mute, crop and extract_audio through Media’s processing lane (upscale on a picture or a video; enhance_voice on a recording or a video, whose audio is used; reframe, redact, trim, mute, crop and extract_audio on a video), erase, replace_person, lip_sync, animate_person and edit_video on a video and talking_avatar on an image through the same lane, and to_video, frame and resynthesize on the material each takes; every other type here describes the operation vocabulary and is refused with OPERATION_NOT_SUPPORTED. align is not an edit — it compares two assets and has its own endpoint, POST /media/v1/libraries/{library_id}/assets/{asset_id}/align."
17889
18023
  },
17890
18024
  {
17891
18025
  "name": "model",
17892
18026
  "type": "string",
17893
18027
  "required": false,
17894
- "description": "Model that performs the edit; omit it to use the library default image model."
18028
+ "description": "Model that performs the edit; omit it to use the library default image model. This is the transition-window parameter; prefer tier, and send only one of the two. A value that is exactly a tier name (economy, balanced or quality) is read as that tier; any other value is a real model id, which keeps working only during the transition and is refused once the platform retires the parameter."
18029
+ },
18030
+ {
18031
+ "name": "tier",
18032
+ "type": "string",
18033
+ "enum": [
18034
+ "economy",
18035
+ "balanced",
18036
+ "quality"
18037
+ ],
18038
+ "required": false,
18039
+ "description": "Performance tier to run this request in, an alternative to naming a model: economy is the cheapest and fastest, balanced is the best value, quality puts the result first. Send tier or model, never both — a request that carries both is refused with INVALID_PARAMS in the tier field. A capability with no model for the exact tier answers the nearest declared tier, and a tie goes to the cheaper one, so a request never pays more than it asked for; a capability that has only one model answers every tier with that model. The job and the produced asset’s provenance report the tier that actually served the request."
17895
18040
  },
17896
18041
  {
17897
18042
  "name": "asset_folder",
@@ -18545,7 +18690,18 @@ export const operations = [
18545
18690
  "name": "model",
18546
18691
  "type": "string",
18547
18692
  "required": false,
18548
- "description": "Model with image-generation capability; omit it to use the library default image model."
18693
+ "description": "Model with image-generation capability; omit it to use the library default image model. This is the transition-window parameter; prefer tier, and send only one of the two. A value that is exactly a tier name (economy, balanced or quality) is read as that tier; any other value is a real model id, which keeps working only during the transition and is refused once the platform retires the parameter."
18694
+ },
18695
+ {
18696
+ "name": "tier",
18697
+ "type": "string",
18698
+ "enum": [
18699
+ "economy",
18700
+ "balanced",
18701
+ "quality"
18702
+ ],
18703
+ "required": false,
18704
+ "description": "Performance tier to run this request in, an alternative to naming a model: economy is the cheapest and fastest, balanced is the best value, quality puts the result first. Send tier or model, never both — a request that carries both is refused with INVALID_PARAMS in the tier field. A capability with no model for the exact tier answers the nearest declared tier, and a tie goes to the cheaper one, so a request never pays more than it asked for; a capability that has only one model answers every tier with that model. The job and the produced asset’s provenance report the tier that actually served the request."
18549
18705
  },
18550
18706
  {
18551
18707
  "name": "asset_folder",
@@ -19292,7 +19448,18 @@ export const operations = [
19292
19448
  "name": "model",
19293
19449
  "type": "string",
19294
19450
  "required": false,
19295
- "description": "Model with video-generation capability; omit it to use the library default video model."
19451
+ "description": "Model with video-generation capability; omit it to use the library default video model. This is the transition-window parameter; prefer tier, and send only one of the two. A value that is exactly a tier name (economy, balanced or quality) is read as that tier; any other value is a real model id, which keeps working only during the transition and is refused once the platform retires the parameter."
19452
+ },
19453
+ {
19454
+ "name": "tier",
19455
+ "type": "string",
19456
+ "enum": [
19457
+ "economy",
19458
+ "balanced",
19459
+ "quality"
19460
+ ],
19461
+ "required": false,
19462
+ "description": "Performance tier to run this request in, an alternative to naming a model: economy is the cheapest and fastest, balanced is the best value, quality puts the result first. Send tier or model, never both — a request that carries both is refused with INVALID_PARAMS in the tier field. A capability with no model for the exact tier answers the nearest declared tier, and a tie goes to the cheaper one, so a request never pays more than it asked for; a capability that has only one model answers every tier with that model. The job and the produced asset’s provenance report the tier that actually served the request."
19296
19463
  },
19297
19464
  {
19298
19465
  "name": "asset_folder",
@@ -19319,6 +19486,79 @@ export const operations = [
19319
19486
  ]
19320
19487
  }
19321
19488
  },
19489
+ {
19490
+ "resource": "media.libraries.voices",
19491
+ "method": "create",
19492
+ "summary": "Create voice",
19493
+ "description": "Create a voice for this library. Send exactly one of the two shapes: consent_id with samples (a real person’s recordings, a consented voice, cloned before it can speak) or design_asset_id (a preview the voice-design run produced in this library, a generated voice). A generated voice is not cloned: it is ready when the call answers, its job already completed, and it speaks only through the speech model recorded on it, so speech naming another model is refused with INVALID_PARAMS. Each preview builds at most one voice, and building one gives back the design’s other previews, which then cannot be used. Sending both shapes, or neither, is refused with INVALID_PARAMS, and origin is written by the platform only. Answers 202 with a job.",
19494
+ "http": "POST",
19495
+ "path": "/media/v1/libraries/{library_id}/voices",
19496
+ "streaming": "no",
19497
+ "pagination": false,
19498
+ "pathParams": [
19499
+ {
19500
+ "name": "library_id",
19501
+ "sdkName": "library_id",
19502
+ "description": "Library ID returned by creation."
19503
+ }
19504
+ ],
19505
+ "query": [],
19506
+ "body": {
19507
+ "required": true,
19508
+ "fields": []
19509
+ }
19510
+ },
19511
+ {
19512
+ "resource": "media.libraries.voices.designs",
19513
+ "method": "create",
19514
+ "summary": "Design a voice",
19515
+ "description": "Design a voice from a text description. The model makes count preview recordings (default 3), each stored in this library as an audio asset; listen, then create a voice whose design_asset_id names the preview you chose. Send description (1 to 500 characters), preview_text (15 to 200 characters, the line each preview speaks), language (zh or en) and optionally count (1 to 3). A description that fails review fails the slot with CONTENT_REJECTED and is never retried, so changing the words is the fix. Answers 202 with a job to poll.",
19516
+ "http": "POST",
19517
+ "path": "/media/v1/libraries/{library_id}/voices/designs",
19518
+ "streaming": "no",
19519
+ "pagination": false,
19520
+ "pathParams": [
19521
+ {
19522
+ "name": "library_id",
19523
+ "sdkName": "library_id",
19524
+ "description": "Library ID returned by creation."
19525
+ }
19526
+ ],
19527
+ "query": [],
19528
+ "body": {
19529
+ "required": true,
19530
+ "fields": [
19531
+ {
19532
+ "name": "description",
19533
+ "type": "string",
19534
+ "required": true,
19535
+ "description": "Text description of the voice to design, 1 to 500 characters. The model makes every preview from it; a description that fails review answers CONTENT_REJECTED."
19536
+ },
19537
+ {
19538
+ "name": "preview_text",
19539
+ "type": "string",
19540
+ "required": true,
19541
+ "description": "Line each preview speaks, 15 to 200 characters: long enough to hear the voice, short enough for one model call."
19542
+ },
19543
+ {
19544
+ "name": "language",
19545
+ "type": "string",
19546
+ "enum": [
19547
+ "zh",
19548
+ "en"
19549
+ ],
19550
+ "required": true,
19551
+ "description": "Language the previews speak: zh or en only."
19552
+ },
19553
+ {
19554
+ "name": "count",
19555
+ "type": "number",
19556
+ "required": false,
19557
+ "description": "How many preview recordings to design, 1 to 3; defaults to 3. Each one is stored as an audio asset."
19558
+ }
19559
+ ]
19560
+ }
19561
+ },
19322
19562
  {
19323
19563
  "resource": "meta.docs",
19324
19564
  "method": "search",
@@ -20772,6 +21012,7 @@ export const operations = [
20772
21012
  "enum": [
20773
21013
  "anthropic.messages",
20774
21014
  "cohere.rerank",
21015
+ "dashscope.voice_design",
20775
21016
  "google.generateContent",
20776
21017
  "mistral.ocr",
20777
21018
  "openai.audio.speech",
@@ -22785,7 +23026,7 @@ export const operations = [
22785
23026
  "resource": "organization.events",
22786
23027
  "method": "list",
22787
23028
  "summary": "List Organization Usage Events",
22788
- "description": "Usage events newest first, one opaque cursor page at a time; a page never duplicates or skips an event. Every item carries its metering lines (meter, display name, consumed quantity and unit, mapped from the billing measurements); the per-line price split (list unit price, pricing unit, billed cost) rides only the single event — fetch /organization/v1/events/{id} for it.\n",
23029
+ "description": "Usage events newest first by occurrence time (occurred_at, when the usage happened), one opaque cursor page at a time; a page never duplicates or skips an event. Every item carries its metering lines (meter, display name, consumed quantity and unit, mapped from the billing measurements); the per-line price split (list unit price, pricing unit, billed cost) rides only the single event — fetch /organization/v1/events/{id} for it. A cursor belongs to the order it was issued under: one obtained before this occurrence-time ordering, or used under the other sort direction, is refused with 400 INVALID_PARAMS instead of being reused — restart the listing.\n",
22789
23030
  "http": "GET",
22790
23031
  "path": "/organization/v1/events",
22791
23032
  "streaming": "no",
@@ -24387,7 +24628,7 @@ export const operations = [
24387
24628
  "resource": "registry.packages",
24388
24629
  "method": "retrieve",
24389
24630
  "summary": "Retrieve package",
24390
- "description": "读一个包的元数据:种类、所属库、当前 latest_version、作者、标签和累计下载量。package_id 来自 packages.list 或 packages.create;另一个组织或不存在都返回 404。",
24631
+ "description": "读一个包的元数据:种类、所属库、当前 latest_version、作者、标签和累计下载量。package_id 来自 packages.list 或 packages.create;另一个组织或不存在都返回 404。软删期间这个包一律 404,恢复后才重新出现。",
24391
24632
  "http": "GET",
24392
24633
  "path": "/registry/v1/packages/{package_id}",
24393
24634
  "streaming": "no",
@@ -24401,6 +24642,119 @@ export const operations = [
24401
24642
  ],
24402
24643
  "query": []
24403
24644
  },
24645
+ {
24646
+ "resource": "registry.packages.git.commits",
24647
+ "method": "retrieve",
24648
+ "summary": "Read a commit",
24649
+ "description": "按对象 id 读一个提交(完整 sha,不解析缩写)。返回提交信息、作者、提交时间与父提交。仓库里没有这个对象返回 404。",
24650
+ "http": "GET",
24651
+ "path": "/registry/v1/packages/{package_id}/git/commits/{sha}",
24652
+ "streaming": "no",
24653
+ "pagination": false,
24654
+ "pathParams": [
24655
+ {
24656
+ "name": "package_id",
24657
+ "sdkName": "package_id",
24658
+ "description": "包的标识,来自 repositories.packages.list 或 repositories.packages.create 返回的 id;不要传包名。"
24659
+ },
24660
+ {
24661
+ "name": "sha",
24662
+ "sdkName": "sha",
24663
+ "description": "完整的 git 对象 id(40 或 64 位十六进制),不接受缩写。"
24664
+ }
24665
+ ],
24666
+ "query": []
24667
+ },
24668
+ {
24669
+ "resource": "registry.packages.git.files",
24670
+ "method": "retrieve",
24671
+ "summary": "Download a file from a ref",
24672
+ "description": "按引用读一个文件的原始字节,边读边发(流式),没有大小上限。path 是仓库内相对路径,可以含斜杠;ref 不给就是默认分支。路径不是文件或引用不存在返回 404。",
24673
+ "http": "GET",
24674
+ "path": "/registry/v1/packages/{package_id}/git/files/{path}",
24675
+ "streaming": "no",
24676
+ "pagination": false,
24677
+ "pathParams": [
24678
+ {
24679
+ "name": "package_id",
24680
+ "sdkName": "package_id",
24681
+ "description": "包的标识,来自 repositories.packages.list 或 repositories.packages.create 返回的 id;不要传包名。"
24682
+ },
24683
+ {
24684
+ "name": "path",
24685
+ "sdkName": "path",
24686
+ "description": "仓库内的相对文件路径,可以含斜杠(例如 src/main.ts);不要以 / 开头,不能含 ..。"
24687
+ }
24688
+ ],
24689
+ "query": [
24690
+ {
24691
+ "name": "ref",
24692
+ "type": "string",
24693
+ "required": false,
24694
+ "description": "分支名、标签名、refs/… 全名或完整对象 id;不给就是包的默认分支。"
24695
+ }
24696
+ ]
24697
+ },
24698
+ {
24699
+ "resource": "registry.packages.git",
24700
+ "method": "retrieveLog",
24701
+ "summary": "List commits",
24702
+ "description": "列出一个 git 包的提交历史,最新的在前。ref 不给就是包的默认分支;limit 与 offset 分页,has_more 为 true 表示还有下一页。只读:提交只能通过 git 协议推送(clone 地址在包的 clone_url)。OCI 包没有 git 读接口,返回 404。",
24703
+ "http": "GET",
24704
+ "path": "/registry/v1/packages/{package_id}/git/log",
24705
+ "streaming": "no",
24706
+ "pagination": false,
24707
+ "pathParams": [
24708
+ {
24709
+ "name": "package_id",
24710
+ "sdkName": "package_id",
24711
+ "description": "包的标识,来自 repositories.packages.list 或 repositories.packages.create 返回的 id;不要传包名。"
24712
+ }
24713
+ ],
24714
+ "query": [
24715
+ {
24716
+ "name": "ref",
24717
+ "type": "string",
24718
+ "required": false,
24719
+ "description": "分支名、标签名、refs/… 全名或完整对象 id;不给就是包的默认分支。"
24720
+ },
24721
+ {
24722
+ "name": "limit",
24723
+ "type": "integer",
24724
+ "required": false,
24725
+ "description": "这一页最多返回多少个提交,1 到 100,默认 20。"
24726
+ },
24727
+ {
24728
+ "name": "offset",
24729
+ "type": "integer",
24730
+ "required": false,
24731
+ "description": "从历史开头跳过多少个提交,用来翻页;非负整数,默认 0。"
24732
+ }
24733
+ ]
24734
+ },
24735
+ {
24736
+ "resource": "registry.packages.git.trees",
24737
+ "method": "retrieve",
24738
+ "summary": "List a tree",
24739
+ "description": "读一个树对象(或一个提交的根树)的条目:名字、类型(blob / tree / commit)、模式、对象 id,以及已知时的大小。只列这一层,不递归。",
24740
+ "http": "GET",
24741
+ "path": "/registry/v1/packages/{package_id}/git/trees/{sha}",
24742
+ "streaming": "no",
24743
+ "pagination": false,
24744
+ "pathParams": [
24745
+ {
24746
+ "name": "package_id",
24747
+ "sdkName": "package_id",
24748
+ "description": "包的标识,来自 repositories.packages.list 或 repositories.packages.create 返回的 id;不要传包名。"
24749
+ },
24750
+ {
24751
+ "name": "sha",
24752
+ "sdkName": "sha",
24753
+ "description": "完整的 git 对象 id(40 或 64 位十六进制),不接受缩写。"
24754
+ }
24755
+ ],
24756
+ "query": []
24757
+ },
24404
24758
  {
24405
24759
  "resource": "registry.packages.installations",
24406
24760
  "method": "list",
@@ -25169,6 +25523,28 @@ export const operations = [
25169
25523
  ]
25170
25524
  }
25171
25525
  },
25526
+ {
25527
+ "resource": "sandbox.sandboxes",
25528
+ "method": "act",
25529
+ "summary": "Act on a phone sandbox's screen",
25530
+ "description": "See and operate an android sandbox's phone screen: take a screenshot, read the UI hierarchy to get a ref for each node, then tap a node or a screen point, long-press, swipe, scroll, type text, press a key, open or close an app, open a URL, or wait. Use it to drive and automate a mobile app on a phone sandbox created with templateID \"android\"; those machines have no terminal or file API, so drive the screen with this operation and run shell commands with commands.run. Start with a snapshot to learn what is on screen and to mint the refs the tap-like actions use; a ref names a node in the latest snapshot only, so after a newer snapshot, or after an action that changed the screen, take a fresh snapshot — a stale ref is refused with INVALID_PARAMS. The phone runs one action at a time, so actions on one sandbox are serial: send the next only after the previous call returns. A phone that has just been created may not have connected yet and answers 503 SERVICE_UNAVAILABLE with Retry-After: 2; retry after that delay (measured on develop: the sandbox is created in about 45 s and the phone program connects about 15 s later). Text is entered through the phone's own input, which supports ASCII only, so typing non-ASCII text into a Chinese app is not supported and answers INVALID_PARAMS. A linux sandbox has no screen and answers CAPABILITY_UNSUPPORTED.",
25531
+ "http": "POST",
25532
+ "path": "/sandbox/v1/sandboxes/{sandboxID}/act",
25533
+ "streaming": "no",
25534
+ "pagination": false,
25535
+ "pathParams": [
25536
+ {
25537
+ "name": "sandboxID",
25538
+ "sdkName": "sandboxID",
25539
+ "description": "Id of the sandbox, the `sandboxID` returned by the create call (or listed by listSandboxes). Another team's sandbox and an unknown id both answer 404."
25540
+ }
25541
+ ],
25542
+ "query": [],
25543
+ "body": {
25544
+ "required": true,
25545
+ "fields": []
25546
+ }
25547
+ },
25172
25548
  {
25173
25549
  "resource": "sandbox.sandboxes",
25174
25550
  "method": "connect",
@@ -25681,7 +26057,7 @@ export const operations = [
25681
26057
  "resource": "sandbox.sandboxes.commands",
25682
26058
  "method": "run",
25683
26059
  "summary": "Run a command in the sandbox",
25684
- "description": "Execute a shell command and wait for stdout, stderr and exitCode. Supply cmd, optional cwd and envs, and timeoutMs (1–3600000 milliseconds, default 600000, that is 10 minutes; E2B defaults to 60000). Unlike E2B, this endpoint is synchronous only: no background mode, callbacks or unlimited timeout (timeoutMs 0); output is bounded to 1 MiB including stream framing. Nonzero exit codes return 200 with the result. A timeout returns COMMAND_TIMEOUT (504); transport timeout does not confirm process termination, so do not blindly retry commands with side effects. Example body: {\"cmd\":\"echo hi\"}.",
26060
+ "description": "Execute a shell command and wait for stdout, stderr and exitCode. Supply cmd, optional cwd and envs, and timeoutMs (1–3600000 milliseconds, default 600000, that is 10 minutes; E2B defaults to 60000). Unlike E2B, this endpoint is synchronous only: no background mode, callbacks or unlimited timeout (timeoutMs 0); output is bounded to 1 MiB including stream framing. Nonzero exit codes return 200 with the result. A timeout returns COMMAND_TIMEOUT (504); transport timeout does not confirm process termination, so do not blindly retry commands with side effects. On an android sandbox the command runs in the phone's root shell, its stderr is merged into stdout (read stdout and expect stderr to come back empty), and background mode is unavailable. Example body: {\"cmd\":\"echo hi\"}.",
25685
26061
  "http": "POST",
25686
26062
  "path": "/sandbox/v1/sandboxes/{sandbox_id}/commands",
25687
26063
  "streaming": "no",
@@ -31012,7 +31388,7 @@ export const operations = [
31012
31388
  "name": "duplicate_of",
31013
31389
  "type": "integer",
31014
31390
  "required": false,
31015
- "description": "Repository-local number returned by create or list; distinct from the object's id."
31391
+ "description": "The original ticket's number; required when state_reason is duplicate."
31016
31392
  }
31017
31393
  ]
31018
31394
  }
@@ -32274,7 +32650,7 @@ export const operations = [
32274
32650
  "type": "array",
32275
32651
  "itemType": "string",
32276
32652
  "required": false,
32277
- "description": "Allowed destinations for the secret. Omitting allowed_hosts on creation stores an empty list for name-based resolution only: host-based redemption never matches. When supplied, list 1–16 bare domain names, dotted-decimal IPv4 addresses or leading *. domain wildcards. A wildcard matches subdomains, not the domain itself. URLs, ports, paths, IPv6, local/private and platform hosts are rejected. Entries are lowercased, one trailing dot is removed, internationalized domains use Punycode, and duplicates are removed."
32653
+ "description": "Allowed destinations for the secret. Omit it to keep the current list; an empty list removes the declaration, leaving the credential for name-based resolution only — host-based redemption never matches. When supplied with entries, list 1–16 bare domain names, dotted-decimal IPv4 addresses or leading *. domain wildcards. A wildcard matches subdomains, not the domain itself. URLs, ports, paths, IPv6, local/private and platform hosts are rejected. Entries are lowercased, one trailing dot is removed, internationalized domains use Punycode, and duplicates are removed."
32278
32654
  },
32279
32655
  {
32280
32656
  "name": "description",