@deepraxis/sdk 0.1.1-dev.a9f73d6 → 0.1.1-dev.ab0271b
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/METHODS.md +21 -1
- package/dist/core/binary-operations.d.ts +3 -0
- package/dist/core/binary-operations.js +14 -0
- package/dist/core/transport.js +8 -4
- package/dist/generated/binary-operations.gen.d.ts +3 -0
- package/dist/generated/binary-operations.gen.js +14 -0
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +45 -13
- package/dist/generated/sdk.gen.js +96 -12
- package/dist/generated/types.gen.d.ts +814 -13
- package/dist/helpers/application-publish.js +16 -2
- package/dist/helpers/browser-connect-error.d.ts +28 -0
- package/dist/helpers/browser-connect-error.js +74 -0
- package/dist/helpers/browser-connect.d.ts +2 -0
- package/dist/helpers/browser-connect.js +36 -42
- package/dist/helpers/browser-decisions.d.ts +13 -0
- package/dist/helpers/browser-decisions.js +11 -0
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +4 -2
- package/dist/operations.generated.js +208 -15
- package/dist/resources.generated.d.ts +93 -0
- package/dist/resources.generated.js +14 -0
- package/package.json +1 -1
|
@@ -1013,6 +1013,42 @@ export const operations = [
|
|
|
1013
1013
|
}
|
|
1014
1014
|
]
|
|
1015
1015
|
},
|
|
1016
|
+
{
|
|
1017
|
+
"resource": "agent.agents.phone",
|
|
1018
|
+
"method": "retrieve",
|
|
1019
|
+
"summary": "Retrieve agent phone",
|
|
1020
|
+
"description": "Read the agent's cloud phone, or learn that it has none: use it before driving the phone or to show its state in a settings page. configured says whether a phone block is saved at all (false is not an error: the phone is off), and state is one of none, starting, booting, restoring, running, archiving or releasing — none means no instance exists (never built, already released, or gone), archiving means its app state is being packed, and releasing means a release was asked for and the cron has not finished. sku and name come from the configuration when one exists. When the phone is reachable, sandbox_id is the public sandbox id of its running instance: take the phone over with it through POST /sandbox/v1/sandboxes/{id}/act, or open the sandbox page's screen tab in the Console; lease_ends_at is when that instance's lease runs out and the sandbox kills it. archived_at and archive_error describe the last app-state archive, which a fresh instance restores on the next use. Reading never builds a phone. Only a general or assume agent may have one: a service agent, an agent of another organization and a missing agent all answer 404 AGENT_NOT_FOUND. This operation is for people and their tools — the model cannot call it; an agent drives its own phone only through its phone tool, which can act on the device but cannot read this state or release it.",
|
|
1021
|
+
"http": "GET",
|
|
1022
|
+
"path": "/agent/v1/agents/{agent_id}/phone",
|
|
1023
|
+
"streaming": "no",
|
|
1024
|
+
"pagination": false,
|
|
1025
|
+
"pathParams": [
|
|
1026
|
+
{
|
|
1027
|
+
"name": "agent_id",
|
|
1028
|
+
"sdkName": "agent_id",
|
|
1029
|
+
"description": "Agent id from agent creation or listing, the eight character identity number or the handle. A service agent never has a phone and answers not found. Also accepts an 8-character identity number (0–9, A–Z); malformed, absent and foreign references return 404, and response ids always use agent_…."
|
|
1030
|
+
}
|
|
1031
|
+
],
|
|
1032
|
+
"query": []
|
|
1033
|
+
},
|
|
1034
|
+
{
|
|
1035
|
+
"resource": "agent.agents.phone",
|
|
1036
|
+
"method": "release",
|
|
1037
|
+
"summary": "Release agent phone",
|
|
1038
|
+
"description": "Ask for the agent's cloud phone to go, and answer its state afterwards. The phone is not killed here: its app state is packed first (state archiving), then the instance is killed and the row cleared, so the state answers releasing until that sweep finishes and the next use builds a fresh instance and restores the archive. The configuration is never deleted — the phone block stays and turning the phone off is agents.update with phone null, a different door. With no phone configured, or one that was never built (state none), the call changes nothing and answers none, so it is safe to repeat; repeating it while a release is pending is idempotent. Only a general or assume agent may have a phone: a service agent, an agent of another organization and a missing agent all answer 404 AGENT_NOT_FOUND. This operation is for people and their tools — the model cannot call it.",
|
|
1039
|
+
"http": "POST",
|
|
1040
|
+
"path": "/agent/v1/agents/{agent_id}/phone/release",
|
|
1041
|
+
"streaming": "no",
|
|
1042
|
+
"pagination": false,
|
|
1043
|
+
"pathParams": [
|
|
1044
|
+
{
|
|
1045
|
+
"name": "agent_id",
|
|
1046
|
+
"sdkName": "agent_id",
|
|
1047
|
+
"description": "Agent id from agent creation or listing, the eight character identity number or the handle. A service agent never has a phone and answers not found. Also accepts an 8-character identity number (0–9, A–Z); malformed, absent and foreign references return 404, and response ids always use agent_…."
|
|
1048
|
+
}
|
|
1049
|
+
],
|
|
1050
|
+
"query": []
|
|
1051
|
+
},
|
|
1016
1052
|
{
|
|
1017
1053
|
"resource": "agent.agents.unarchive",
|
|
1018
1054
|
"method": "create",
|
|
@@ -1610,7 +1646,7 @@ export const operations = [
|
|
|
1610
1646
|
"resource": "agent.deployments",
|
|
1611
1647
|
"method": "create",
|
|
1612
1648
|
"summary": "Create deployment",
|
|
1613
|
-
"description": "Freeze session parameters as a deployment; this operation does not open a session. Pass an agent id or versioned reference, a name, 1–50 user.message initial events and an environment_id from environments.list. Unlike Anthropic Managed Agents, /agent/v1 also accepts agent_with_overrides (model, permission_mode and cwd) and target=computer for general agents, with environment_id omitted. Cron schedules use five POSIX fields and an IANA timezone. File resources are accepted. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Active schedules run every minute when due; session creation errors pause the deployment. Unsupported tools, mcp_servers, system and skills overrides return 400.",
|
|
1649
|
+
"description": "Freeze session parameters as a deployment; this operation does not open a session. Pass an agent id or versioned reference, a name, 1–50 user.message initial events and an environment_id from environments.list. Unlike Anthropic Managed Agents, /agent/v1 also accepts agent_with_overrides (model, permission_mode and cwd) and target=computer for general agents, with environment_id omitted. Cron schedules use five POSIX fields and an IANA timezone. File resources are accepted. Supports vault_ids, up to 50, owned by the current organization and not archived; credential injection is deferred to a later version. Active schedules run every minute when due; session creation errors pause the deployment. Unsupported tools, mcp_servers, system and skills overrides return 400. Example, a weekly cron deployment on the agent's computer: {\"agent\":\"agent_123\",\"name\":\"weekly report\",\"initial_events\":[{\"type\":\"user.message\",\"content\":[{\"type\":\"text\",\"text\":\"Write the weekly report.\"}]}],\"target\":{\"type\":\"computer\"},\"schedule\":{\"type\":\"cron\",\"expression\":\"0 9 * * 1\",\"timezone\":\"America/Los_Angeles\"}}.",
|
|
1614
1650
|
"http": "POST",
|
|
1615
1651
|
"path": "/agent/v1/deployments",
|
|
1616
1652
|
"streaming": "no",
|
|
@@ -2229,6 +2265,16 @@ export const operations = [
|
|
|
2229
2265
|
"required": false,
|
|
2230
2266
|
"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."
|
|
2231
2267
|
},
|
|
2268
|
+
{
|
|
2269
|
+
"name": "workspace",
|
|
2270
|
+
"type": "string",
|
|
2271
|
+
"enum": [
|
|
2272
|
+
"shared",
|
|
2273
|
+
"isolated"
|
|
2274
|
+
],
|
|
2275
|
+
"required": false,
|
|
2276
|
+
"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."
|
|
2277
|
+
},
|
|
2232
2278
|
{
|
|
2233
2279
|
"name": "computer_id",
|
|
2234
2280
|
"type": "string",
|
|
@@ -4153,7 +4199,7 @@ export const operations = [
|
|
|
4153
4199
|
"resource": "application.workers.versions",
|
|
4154
4200
|
"method": "create",
|
|
4155
4201
|
"summary": "Create version",
|
|
4156
|
-
"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.",
|
|
4202
|
+
"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.",
|
|
4157
4203
|
"http": "POST",
|
|
4158
4204
|
"path": "/application/v1/workers/{worker_id}/versions",
|
|
4159
4205
|
"streaming": "no",
|
|
@@ -7341,6 +7387,18 @@ export const operations = [
|
|
|
7341
7387
|
]
|
|
7342
7388
|
}
|
|
7343
7389
|
},
|
|
7390
|
+
{
|
|
7391
|
+
"resource": "billing.prices",
|
|
7392
|
+
"method": "list",
|
|
7393
|
+
"summary": "List current prices",
|
|
7394
|
+
"description": "Read every open price item with the amount in force now, in USD and CNY, for example to show a pricing page or check what a meter costs before using it. No credential: the response is the public price book, not an organization's prices, so customer-specific prices and cost floors are not part of it (the source does not carry them). Each entry names the item id, the product (the id's namespace such as router, sandbox or search), the meter's unit and how many units one amount covers (per is 1000000 for per-million-token meters). A model with one amount has one entry; a price that varies by tier or by dimensions has one entry per tier or cell, told apart by variant: tier carries up_to, cell carries when, and a matrix default is kind default. Only versions already in force are shown, so an announced price never appears before its effective_from. usd and cny are decimal strings of major units copied from the price book; a currency the item does not price is null and must be shown as \"—\", never as 0. pricing_version and effective_at identify the catalog this body came from, and the ETag is derived from both: send it as If-None-Match to get 304 until either changes. Cache-Control is public, max-age=60, so revalidate rather than keeping a copy longer. Reading is free.",
|
|
7395
|
+
"http": "GET",
|
|
7396
|
+
"path": "/billing/v1/prices",
|
|
7397
|
+
"streaming": "no",
|
|
7398
|
+
"pagination": false,
|
|
7399
|
+
"pathParams": [],
|
|
7400
|
+
"query": []
|
|
7401
|
+
},
|
|
7344
7402
|
{
|
|
7345
7403
|
"resource": "browser.connect",
|
|
7346
7404
|
"method": "retrieve",
|
|
@@ -12612,7 +12670,7 @@ export const operations = [
|
|
|
12612
12670
|
"resource": "devops.changes",
|
|
12613
12671
|
"method": "abandon",
|
|
12614
12672
|
"summary": "Abandon a change",
|
|
12615
|
-
"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).
|
|
12673
|
+
"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.",
|
|
12616
12674
|
"http": "POST",
|
|
12617
12675
|
"path": "/devops/v1/changes/{id}:abandon",
|
|
12618
12676
|
"streaming": "no",
|
|
@@ -15224,7 +15282,7 @@ export const operations = [
|
|
|
15224
15282
|
"resource": "devops.promotions",
|
|
15225
15283
|
"method": "retry",
|
|
15226
15284
|
"summary": "Retry a promotion",
|
|
15227
|
-
"description": "Continue a promotion that stopped part-way
|
|
15285
|
+
"description": "Continue a promotion that stopped part-way: one in halted (some targets deployed, some failed, some never started) or one in failed. The answer is a NEW promotion whose plan names only the targets that did not reach the release, so a partially deployed environment is completed rather than redeployed from the start. A halted promotion is stopped first — its run is asked to cancel and the executor is read back until the run is no longer running — because a new plan that starts while the old run still deploys the same targets would deploy them twice; when the run will not stop, the call is refused with PROMOTION_RUN_STILL_RUNNING and creates nothing. Once that run is over the halt is closed as the partial deploy it is (the targets that really deployed move their checkpoints) and the new promotion is planned from those checkpoints. Any other state is refused with PROMOTION_NOT_RETRYABLE, whose message names the state and what to do instead: a promotion that is still deploying has nothing to continue (cancel it to stop it), and a succeeded, cancelled or superseded one has nothing left — promote the release again if this environment must take it. The retry is attributed to the credential that sends it and is recorded on the promotion.",
|
|
15228
15286
|
"http": "POST",
|
|
15229
15287
|
"path": "/devops/v1/promotions/{id}:retry",
|
|
15230
15288
|
"streaming": "no",
|
|
@@ -15294,6 +15352,35 @@ export const operations = [
|
|
|
15294
15352
|
}
|
|
15295
15353
|
]
|
|
15296
15354
|
},
|
|
15355
|
+
{
|
|
15356
|
+
"resource": "devops.pullRequests",
|
|
15357
|
+
"method": "close",
|
|
15358
|
+
"summary": "Close a pull request without merging it",
|
|
15359
|
+
"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.",
|
|
15360
|
+
"http": "POST",
|
|
15361
|
+
"path": "/devops/v1/pull-requests/{id}:close",
|
|
15362
|
+
"streaming": "no",
|
|
15363
|
+
"pagination": false,
|
|
15364
|
+
"pathParams": [
|
|
15365
|
+
{
|
|
15366
|
+
"name": "id",
|
|
15367
|
+
"sdkName": "id",
|
|
15368
|
+
"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."
|
|
15369
|
+
}
|
|
15370
|
+
],
|
|
15371
|
+
"query": [],
|
|
15372
|
+
"body": {
|
|
15373
|
+
"required": true,
|
|
15374
|
+
"fields": [
|
|
15375
|
+
{
|
|
15376
|
+
"name": "reason",
|
|
15377
|
+
"type": "string",
|
|
15378
|
+
"required": true,
|
|
15379
|
+
"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."
|
|
15380
|
+
}
|
|
15381
|
+
]
|
|
15382
|
+
}
|
|
15383
|
+
},
|
|
15297
15384
|
{
|
|
15298
15385
|
"resource": "devops.pullRequests",
|
|
15299
15386
|
"method": "merge",
|
|
@@ -18325,7 +18412,7 @@ export const operations = [
|
|
|
18325
18412
|
"resource": "media.speech",
|
|
18326
18413
|
"method": "create",
|
|
18327
18414
|
"summary": "Create speech",
|
|
18328
|
-
"description": "Synthesise speech from text and store the recording straight into the library. Use library_id from creation or listing; the path segment {library_id} also accepts the literal default, which resolves to the organization’s default library before the credential check, so an agent that has never listed a library can still synthesise. input is the text to speak. voice is optional and may be omitted, in which case the model’s default voice is used; when it is given it must be one of the voices of the model being used — read them from the types.speech list of GET /media/v1/generation/capabilities, which gives each voice an id, a name, a gender, a language and a style, or pass a voice material id of this same library — and a voice that is neither is refused with INVALID_PARAMS in the voice field before any job exists, so a wrong name is free to try but reading the capabilities first is free without trying. Do not use OpenAI voice names such as alloy or aura: they are not valid here. speed is passed to the provider unchanged, and instructions and language are refused with OPERATION_NOT_SUPPORTED in this release. Cloning a voice from recordings is not available yet. The provider caps one request at a short stretch of text, so a long input is cut into segments at paragraph and sentence boundaries and synthesised in order, then joined into the single recording the library receives: nothing is spoken twice and nothing is dropped. Because the segments are joined byte for byte, a multi-segment input accepts only response_format mp3 (the default) or pcm; opus is available for a single-segment input. A speech job has one result however many segments it took. Synthesis is billed by the model usage it consumes, at the same prices as the model API, and the job reports the charge in usage (US dollars, six decimals, the sum over every segment) and the recording carries it in provenance.cost; a request refused before it starts costs nothing. When the job is done, tell the person the usage amount and give them the output’s viewer_url. The response is 202 with a queued Job whose type is speech and whose operation is generate; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until its status is completed or failed, then read the produced asset from the library — the recording carries material_type audio, audio_role voice, ai_generated true, and provenance naming this job, the text spoken and the model. Send Idempotency-Key, or idempotency_key in the body, to retry without synthesising and charging twice. Example: POST /media/v1/libraries/default/audio/speech with {\"input\":\"A red kite above a calm sea at sunrise.\"}, or with {\"input\":\"A red kite above a calm sea at sunrise.\",\"voice\":\"zh_female_wenroumama_uranus_bigtts\"} for a gentle female voice.",
|
|
18415
|
+
"description": "Synthesise speech from text and store the recording straight into the library. Use library_id from creation or listing; the path segment {library_id} also accepts the literal default, which resolves to the organization’s default library before the credential check, so an agent that has never listed a library can still synthesise. input is the text to speak. voice is optional and may be omitted, in which case the model’s default voice is used; when it is given it must be one of the voices of the model being used — read them from the types.speech list of GET /media/v1/generation/capabilities, which gives each voice an id, a name, a gender, a language and a style, or pass a voice material id of this same library — and a voice that is neither is refused with INVALID_PARAMS in the voice field before any job exists, so a wrong name is free to try but reading the capabilities first is free without trying. Do not use OpenAI voice names such as alloy or aura: they are not valid here. tier chooses which speech model speaks, instead of naming one: economy is the cheapest and fastest, balanced the best value and quality the best result, and the tier picks among the models that carry the voice you name — a voice a model does not offer is never selected and then refused. model is the transition-window parameter and names the same choice, so send only one of the two; omitting both speaks with the library’s speech model, or by its default tier once the platform turns the media-tier-defaults switch on. speed is passed to the provider unchanged, and instructions and language are refused with OPERATION_NOT_SUPPORTED in this release. Cloning a voice from recordings is not available yet. The provider caps one request at a short stretch of text, so a long input is cut into segments at paragraph and sentence boundaries and synthesised in order, then joined into the single recording the library receives: nothing is spoken twice and nothing is dropped. Because the segments are joined byte for byte, a multi-segment input accepts only response_format mp3 (the default) or pcm; opus is available for a single-segment input. A speech job has one result however many segments it took. Synthesis is billed by the model usage it consumes, at the same prices as the model API, and the job reports the charge in usage (US dollars, six decimals, the sum over every segment) and the recording carries it in provenance.cost; a request refused before it starts costs nothing. When the job is done, tell the person the usage amount and give them the output’s viewer_url. The response is 202 with a queued Job whose type is speech and whose operation is generate; poll GET /media/v1/libraries/{library_id}/jobs/{job_id} until its status is completed or failed, then read the produced asset from the library — the recording carries material_type audio, audio_role voice, ai_generated true, and provenance naming this job, the text spoken and the model. Send Idempotency-Key, or idempotency_key in the body, to retry without synthesising and charging twice. Example: POST /media/v1/libraries/default/audio/speech with {\"input\":\"A red kite above a calm sea at sunrise.\"}, or with {\"input\":\"A red kite above a calm sea at sunrise.\",\"voice\":\"zh_female_wenroumama_uranus_bigtts\"} for a gentle female voice.",
|
|
18329
18416
|
"http": "POST",
|
|
18330
18417
|
"path": "/media/v1/libraries/{library_id}/audio/speech",
|
|
18331
18418
|
"streaming": "no",
|
|
@@ -18384,6 +18471,23 @@ export const operations = [
|
|
|
18384
18471
|
"type": "string",
|
|
18385
18472
|
"required": false,
|
|
18386
18473
|
"description": "Language of the text, when the voice supports several."
|
|
18474
|
+
},
|
|
18475
|
+
{
|
|
18476
|
+
"name": "model",
|
|
18477
|
+
"type": "string",
|
|
18478
|
+
"required": false,
|
|
18479
|
+
"description": "Speech model that synthesises the recording; omit it to use the library’s speech model (models.speech). 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."
|
|
18480
|
+
},
|
|
18481
|
+
{
|
|
18482
|
+
"name": "tier",
|
|
18483
|
+
"type": "string",
|
|
18484
|
+
"enum": [
|
|
18485
|
+
"economy",
|
|
18486
|
+
"balanced",
|
|
18487
|
+
"quality"
|
|
18488
|
+
],
|
|
18489
|
+
"required": false,
|
|
18490
|
+
"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."
|
|
18387
18491
|
}
|
|
18388
18492
|
]
|
|
18389
18493
|
}
|
|
@@ -19451,7 +19555,7 @@ export const operations = [
|
|
|
19451
19555
|
"resource": "media.libraries.voices",
|
|
19452
19556
|
"method": "create",
|
|
19453
19557
|
"summary": "Create voice",
|
|
19454
|
-
"description": "Create a voice for this library
|
|
19558
|
+
"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.",
|
|
19455
19559
|
"http": "POST",
|
|
19456
19560
|
"path": "/media/v1/libraries/{library_id}/voices",
|
|
19457
19561
|
"streaming": "no",
|
|
@@ -22987,7 +23091,7 @@ export const operations = [
|
|
|
22987
23091
|
"resource": "organization.events",
|
|
22988
23092
|
"method": "list",
|
|
22989
23093
|
"summary": "List Organization Usage Events",
|
|
22990
|
-
"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",
|
|
23094
|
+
"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",
|
|
22991
23095
|
"http": "GET",
|
|
22992
23096
|
"path": "/organization/v1/events",
|
|
22993
23097
|
"streaming": "no",
|
|
@@ -24630,7 +24734,7 @@ export const operations = [
|
|
|
24630
24734
|
"resource": "registry.packages.git.files",
|
|
24631
24735
|
"method": "retrieve",
|
|
24632
24736
|
"summary": "Download a file from a ref",
|
|
24633
|
-
"description": "
|
|
24737
|
+
"description": "按引用读一个文件的原始字节,边读边发(流式),没有大小上限。path 是仓库内相对路径,可以含斜杠;ref 不给就是默认分支。路径不是文件或引用不存在返回 404。",
|
|
24634
24738
|
"http": "GET",
|
|
24635
24739
|
"path": "/registry/v1/packages/{package_id}/git/files/{path}",
|
|
24636
24740
|
"streaming": "no",
|
|
@@ -25333,7 +25437,7 @@ export const operations = [
|
|
|
25333
25437
|
"resource": "sandbox.sandboxes",
|
|
25334
25438
|
"method": "create",
|
|
25335
25439
|
"summary": "Create sandbox (v2)",
|
|
25336
|
-
"description": "Create a sandbox from a template. Every sandbox declares its lifecycle at creation. On the own face (X-Praxis-Face: own-v1) send ephemeral: true for an ephemeral sandbox (never pauses, cannot be snapshotted, deleted when it ends; for jobs such as transcodes, scripts and builds) or ephemeral: false for a persistent one (pauses and resumes, snapshots, mounts volumes, kept after it stops; for long-lived computers). Leaving ephemeral out returns INVALID_PARAMS. autoPause: true, onExpire: pause, autoPauseMemory, autoResume, idleTimeout, retention and volumes belong to persistent sandboxes and need ephemeral: false. Choose persistent only for long-lived computers. On the E2B-compatible face autoPause is the declaration: true is persistent, false or absent is ephemeral and ends at its timeout. Responses carry ephemeral. When a sandbox's machine has ended (timeout, kill, retention, provider loss), reaching it returns SANDBOX_EXPIRED (410) with terminationReason in the message: its files are gone, create a new sandbox. To keep results, declare outputs: [{ path }] on the own face (up to eight absolute paths, a directory or a file): when the sandbox ends for any reason except provider loss or a failed start, each path is packed as .tar.gz and stored in File, and the killed event of GET /sandbox/v1/events/sandboxes/{sandboxID} lists each fileId or the reason it was not kept. Paths not declared are not kept. The E2B face refuses outputs.",
|
|
25440
|
+
"description": "Create a sandbox from a template. Every sandbox declares its lifecycle at creation. On the own face (X-Praxis-Face: own-v1) send ephemeral: true for an ephemeral sandbox (never pauses, cannot be snapshotted, deleted when it ends; for jobs such as transcodes, scripts and builds) or ephemeral: false for a persistent one (pauses and resumes, snapshots, mounts volumes, kept after it stops; for long-lived computers). Leaving ephemeral out returns INVALID_PARAMS. autoPause: true, onExpire: pause, autoPauseMemory, autoResume, idleTimeout, retention and volumes belong to persistent sandboxes and need ephemeral: false. Choose persistent only for long-lived computers. On the E2B-compatible face autoPause is the declaration: true is persistent, false or absent is ephemeral and ends at its timeout. Responses carry ephemeral. When a sandbox's machine has ended (timeout, kill, retention, provider loss), reaching it returns SANDBOX_EXPIRED (410) with terminationReason in the message: its files are gone, create a new sandbox. To keep results, declare outputs: [{ path }] on the own face (up to eight absolute paths, a directory or a file): when the sandbox ends for any reason except provider loss or a failed start, each path is packed as .tar.gz and stored in File, and the killed event of GET /sandbox/v1/events/sandboxes/{sandboxID} lists each fileId or the reason it was not kept. Paths not declared are not kept. The E2B face refuses outputs. On the own face an android phone accepts waitForReady: true, an own-face-only option: the create then waits until the phone program has connected (state running) or 55 seconds have passed since the request arrived (the vendor create itself takes about 48 s, so this is often not enough), and answers with the state it reached — a timeout is not an error; omit it (the default) and the create answers at once, before the phone connects, with state starting or booting, which you follow with the detail read or the act socket.",
|
|
25337
25441
|
"http": "POST",
|
|
25338
25442
|
"path": "/sandbox/v1/sandboxes",
|
|
25339
25443
|
"streaming": "no",
|
|
@@ -25415,6 +25519,73 @@ export const operations = [
|
|
|
25415
25519
|
"itemType": "object",
|
|
25416
25520
|
"required": false,
|
|
25417
25521
|
"description": "Volumes to mount into the sandbox, each with the volume name and the path inside the sandbox."
|
|
25522
|
+
},
|
|
25523
|
+
{
|
|
25524
|
+
"name": "ephemeral",
|
|
25525
|
+
"type": "boolean",
|
|
25526
|
+
"required": false,
|
|
25527
|
+
"description": "Own face, required: true for an ephemeral sandbox (ends at its timeout, never pauses, cannot be snapshotted), false for a persistent one (pauses, resumes, snapshots, mounts volumes). Leaving it out returns INVALID_PARAMS."
|
|
25528
|
+
},
|
|
25529
|
+
{
|
|
25530
|
+
"name": "size",
|
|
25531
|
+
"type": "string",
|
|
25532
|
+
"required": false,
|
|
25533
|
+
"description": "Own face: the machine size, a SKU id such as base-2c4g or, for an android phone, android-2c4g. Omitted, the template's default size is used."
|
|
25534
|
+
},
|
|
25535
|
+
{
|
|
25536
|
+
"name": "name",
|
|
25537
|
+
"type": "string",
|
|
25538
|
+
"required": false,
|
|
25539
|
+
"description": "Own face: a display name for the sandbox, 1 to 64 characters. Omitted, one is generated from the template."
|
|
25540
|
+
},
|
|
25541
|
+
{
|
|
25542
|
+
"name": "waitForReady",
|
|
25543
|
+
"type": "boolean",
|
|
25544
|
+
"required": false,
|
|
25545
|
+
"description": "Own face, android phones only: keep the create open until the phone is running or 55 seconds have passed since the request arrived; running out is not an error and answers the state reached."
|
|
25546
|
+
},
|
|
25547
|
+
{
|
|
25548
|
+
"name": "onExpire",
|
|
25549
|
+
"type": "string",
|
|
25550
|
+
"enum": [
|
|
25551
|
+
"kill",
|
|
25552
|
+
"pause"
|
|
25553
|
+
],
|
|
25554
|
+
"required": false,
|
|
25555
|
+
"description": "Own face: what happens at the timeout. pause needs ephemeral: false; must agree with autoPause when both are sent."
|
|
25556
|
+
},
|
|
25557
|
+
{
|
|
25558
|
+
"name": "idleTimeout",
|
|
25559
|
+
"type": "integer",
|
|
25560
|
+
"required": false,
|
|
25561
|
+
"description": "Own face, persistent sandboxes only: pause after this many milliseconds without activity; null turns the idle pause off."
|
|
25562
|
+
},
|
|
25563
|
+
{
|
|
25564
|
+
"name": "idleActivity",
|
|
25565
|
+
"type": "string",
|
|
25566
|
+
"enum": [
|
|
25567
|
+
"traffic",
|
|
25568
|
+
"caller"
|
|
25569
|
+
],
|
|
25570
|
+
"required": false,
|
|
25571
|
+
"description": "Own face, persistent sandboxes only: whose activity resets idleTimeout. traffic (default) counts data-plane calls, preview traffic and live processes; caller counts only your own control-plane calls."
|
|
25572
|
+
},
|
|
25573
|
+
{
|
|
25574
|
+
"name": "onLoss",
|
|
25575
|
+
"type": "string",
|
|
25576
|
+
"enum": [
|
|
25577
|
+
"fail",
|
|
25578
|
+
"rebuild"
|
|
25579
|
+
],
|
|
25580
|
+
"required": false,
|
|
25581
|
+
"description": "Own face, persistent sandboxes only: what happens when the provider loses the machine. fail (default) ends the sandbox; rebuild starts a new machine under the same id with its state lost."
|
|
25582
|
+
},
|
|
25583
|
+
{
|
|
25584
|
+
"name": "outputs",
|
|
25585
|
+
"type": "array",
|
|
25586
|
+
"itemType": "object",
|
|
25587
|
+
"required": false,
|
|
25588
|
+
"description": "Own face: up to eight absolute paths to keep when the sandbox ends; each is packed as .tar.gz into File and listed on the killed event."
|
|
25418
25589
|
}
|
|
25419
25590
|
]
|
|
25420
25591
|
}
|
|
@@ -25484,6 +25655,28 @@ export const operations = [
|
|
|
25484
25655
|
]
|
|
25485
25656
|
}
|
|
25486
25657
|
},
|
|
25658
|
+
{
|
|
25659
|
+
"resource": "sandbox.sandboxes",
|
|
25660
|
+
"method": "act",
|
|
25661
|
+
"summary": "Act on a phone sandbox's screen",
|
|
25662
|
+
"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.\n\nThe same path is the caller's action socket: send GET with the standard WebSocket upgrade headers instead of POST and drive many actions over one connection. The server answers {\"type\":\"ready\",\"instanceId\":\"<id>\"} first, then every frame {\"id\":\"<your correlation id>\",\"action\":{…}} (an action of the same shape as this operation's body, at most 64 characters of id) is answered by its own id, in submission order, as {\"id\":\"…\",\"result\":{…}} or {\"id\":\"…\",\"error\":{\"code\":\"…\",\"message\":\"…\",\"retryable\":true}}. At most 8 actions may be in flight on one connection (the next answers RATE_LIMITED), and 10 malformed frames in a row close the connection 1008. Authentication is the caller's own (an organization API key), never the phone's token. Closing the connection ends only that client's view: actions already accepted are answered, and the phone stays connected. Before the handshake, a phone that is still being built or has not connected yet answers 503 DEVICE_NOT_READY with the state it is in and Retry-After: 2.",
|
|
25663
|
+
"http": "POST",
|
|
25664
|
+
"path": "/sandbox/v1/sandboxes/{sandboxID}/act",
|
|
25665
|
+
"streaming": "no",
|
|
25666
|
+
"pagination": false,
|
|
25667
|
+
"pathParams": [
|
|
25668
|
+
{
|
|
25669
|
+
"name": "sandboxID",
|
|
25670
|
+
"sdkName": "sandboxID",
|
|
25671
|
+
"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."
|
|
25672
|
+
}
|
|
25673
|
+
],
|
|
25674
|
+
"query": [],
|
|
25675
|
+
"body": {
|
|
25676
|
+
"required": true,
|
|
25677
|
+
"fields": []
|
|
25678
|
+
}
|
|
25679
|
+
},
|
|
25487
25680
|
{
|
|
25488
25681
|
"resource": "sandbox.sandboxes",
|
|
25489
25682
|
"method": "connect",
|
|
@@ -25996,7 +26189,7 @@ export const operations = [
|
|
|
25996
26189
|
"resource": "sandbox.sandboxes.commands",
|
|
25997
26190
|
"method": "run",
|
|
25998
26191
|
"summary": "Run a command in the sandbox",
|
|
25999
|
-
"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\"}.",
|
|
26192
|
+
"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\"}.",
|
|
26000
26193
|
"http": "POST",
|
|
26001
26194
|
"path": "/sandbox/v1/sandboxes/{sandbox_id}/commands",
|
|
26002
26195
|
"streaming": "no",
|
|
@@ -31327,7 +31520,7 @@ export const operations = [
|
|
|
31327
31520
|
"name": "duplicate_of",
|
|
31328
31521
|
"type": "integer",
|
|
31329
31522
|
"required": false,
|
|
31330
|
-
"description": "
|
|
31523
|
+
"description": "The original ticket's number; required when state_reason is duplicate."
|
|
31331
31524
|
}
|
|
31332
31525
|
]
|
|
31333
31526
|
}
|
|
@@ -32436,7 +32629,7 @@ export const operations = [
|
|
|
32436
32629
|
"resource": "vault.vaults.secrets",
|
|
32437
32630
|
"method": "create",
|
|
32438
32631
|
"summary": "Create secret",
|
|
32439
|
-
"description": "Store a manually supplied token in an active vault.
|
|
32632
|
+
"description": "Store a manually supplied token in an active vault. Declare allowed_hosts (1–16 domains) to let the value be redeemed for those destinations; omit it to store an empty list, which name-based resolution still returns but no destination can redeem, and which a service agent's session environment never receives either way. MCP credential matching reads the same declarations, so a `*.` entry covers subdomains there too. Unlike Anthropic credentials, this native operation takes name and value directly and creates only static secrets; use praxis.vault.authorizations.create for OAuth. Its name must be unused by any non-archived secret in that vault; the response contains metadata but never the supplied value. Application praxis_vault_ref bindings declare vault_id and secret (the secret name), but currently return 501; do not copy the value into a plain-text binding or metadata as a substitute.",
|
|
32440
32633
|
"http": "POST",
|
|
32441
32634
|
"path": "/vault/v1/vaults/{vault_id}/secrets",
|
|
32442
32635
|
"streaming": "no",
|
|
@@ -32469,7 +32662,7 @@ export const operations = [
|
|
|
32469
32662
|
"type": "array",
|
|
32470
32663
|
"itemType": "string",
|
|
32471
32664
|
"required": false,
|
|
32472
|
-
"description": "Allowed destinations for the secret.
|
|
32665
|
+
"description": "Allowed destinations for the secret; checked at write and enforced when a value is redeemed for a destination host, which an empty list never satisfies. Omit it on creation to store an empty list: the value stays readable by name-based resolution only. 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. A service agent's session environment never receives a credential that declares hosts."
|
|
32473
32666
|
},
|
|
32474
32667
|
{
|
|
32475
32668
|
"name": "description",
|
|
@@ -32589,7 +32782,7 @@ export const operations = [
|
|
|
32589
32782
|
"type": "array",
|
|
32590
32783
|
"itemType": "string",
|
|
32591
32784
|
"required": false,
|
|
32592
|
-
"description": "Allowed destinations for the secret.
|
|
32785
|
+
"description": "Allowed destinations for the secret; checked at write and enforced when a value is redeemed for a destination host. Omit it to keep the current list; an empty list removes the declaration, so every redemption is denied and only name-based resolution still returns the value. 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. A service agent's session environment never receives a credential that declares hosts."
|
|
32593
32786
|
},
|
|
32594
32787
|
{
|
|
32595
32788
|
"name": "description",
|
|
@@ -32693,7 +32886,7 @@ export const operations = [
|
|
|
32693
32886
|
"resource": "vault.vaults.secrets",
|
|
32694
32887
|
"method": "import",
|
|
32695
32888
|
"summary": "Import secrets",
|
|
32696
|
-
"description": "Import lines or dotenv text into an active vault, reporting success or failure for each entry. Existing names have their values replaced; their hosts change only when that line supplies allowed_hosts. Shared hosts apply only to newly created secrets; if neither shared nor per-line hosts are supplied, new secrets
|
|
32889
|
+
"description": "Import lines or dotenv text into an active vault, reporting success or failure for each entry. Existing names have their values replaced; their hosts change only when that line supplies allowed_hosts. Shared hosts apply only to newly created secrets; if neither shared nor per-line hosts are supplied, new secrets get an empty host list, which name-based resolution still returns but no destination can redeem. Imported entries carry the same host rules as Create secret, and a service agent's session environment never receives a credential that declares hosts.",
|
|
32697
32890
|
"http": "POST",
|
|
32698
32891
|
"path": "/vault/v1/vaults/{vault_id}/secrets:import",
|
|
32699
32892
|
"streaming": "no",
|
|
@@ -904,6 +904,32 @@ export declare function createAgent(transport: Transport): {
|
|
|
904
904
|
}>;
|
|
905
905
|
next_page: string | null;
|
|
906
906
|
}>;
|
|
907
|
+
phone: {
|
|
908
|
+
release: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneReleaseData>) => Promise<{
|
|
909
|
+
object: "agent_phone";
|
|
910
|
+
agent_id: string;
|
|
911
|
+
configured: boolean;
|
|
912
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing";
|
|
913
|
+
sku: string | null;
|
|
914
|
+
name: string | null;
|
|
915
|
+
sandbox_id: string | null;
|
|
916
|
+
lease_ends_at: string | null;
|
|
917
|
+
archived_at: string | null;
|
|
918
|
+
archive_error: string | null;
|
|
919
|
+
}>;
|
|
920
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsPhoneRetrieveData>) => Promise<{
|
|
921
|
+
object: "agent_phone";
|
|
922
|
+
agent_id: string;
|
|
923
|
+
configured: boolean;
|
|
924
|
+
state: "none" | "starting" | "booting" | "restoring" | "running" | "archiving" | "releasing";
|
|
925
|
+
sku: string | null;
|
|
926
|
+
name: string | null;
|
|
927
|
+
sandbox_id: string | null;
|
|
928
|
+
lease_ends_at: string | null;
|
|
929
|
+
archived_at: string | null;
|
|
930
|
+
archive_error: string | null;
|
|
931
|
+
}>;
|
|
932
|
+
};
|
|
907
933
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.AgentsRetrieveData>) => Promise<{
|
|
908
934
|
id: string;
|
|
909
935
|
archived_at: null | string;
|
|
@@ -3234,6 +3260,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3234
3260
|
vault_ids: Array<string>;
|
|
3235
3261
|
deployment_id?: null | string;
|
|
3236
3262
|
cwd: string;
|
|
3263
|
+
workspace?: {
|
|
3264
|
+
kind: "shared" | "isolated";
|
|
3265
|
+
path?: string;
|
|
3266
|
+
branch?: string;
|
|
3267
|
+
};
|
|
3237
3268
|
computer_id?: string;
|
|
3238
3269
|
model?: {
|
|
3239
3270
|
id: string;
|
|
@@ -3294,6 +3325,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3294
3325
|
vault_ids: Array<string>;
|
|
3295
3326
|
deployment_id?: null | string;
|
|
3296
3327
|
cwd: string;
|
|
3328
|
+
workspace?: {
|
|
3329
|
+
kind: "shared" | "isolated";
|
|
3330
|
+
path?: string;
|
|
3331
|
+
branch?: string;
|
|
3332
|
+
};
|
|
3297
3333
|
computer_id?: string;
|
|
3298
3334
|
model?: {
|
|
3299
3335
|
id: string;
|
|
@@ -3456,6 +3492,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
3456
3492
|
vault_ids: Array<string>;
|
|
3457
3493
|
deployment_id?: null | string;
|
|
3458
3494
|
cwd: string;
|
|
3495
|
+
workspace?: {
|
|
3496
|
+
kind: "shared" | "isolated";
|
|
3497
|
+
path?: string;
|
|
3498
|
+
branch?: string;
|
|
3499
|
+
};
|
|
3459
3500
|
computer_id?: string;
|
|
3460
3501
|
model?: {
|
|
3461
3502
|
id: string;
|
|
@@ -4242,6 +4283,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4242
4283
|
vault_ids: Array<string>;
|
|
4243
4284
|
deployment_id?: null | string;
|
|
4244
4285
|
cwd: string;
|
|
4286
|
+
workspace?: {
|
|
4287
|
+
kind: "shared" | "isolated";
|
|
4288
|
+
path?: string;
|
|
4289
|
+
branch?: string;
|
|
4290
|
+
};
|
|
4245
4291
|
computer_id?: string;
|
|
4246
4292
|
model?: {
|
|
4247
4293
|
id: string;
|
|
@@ -4302,6 +4348,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4302
4348
|
vault_ids: Array<string>;
|
|
4303
4349
|
deployment_id?: null | string;
|
|
4304
4350
|
cwd: string;
|
|
4351
|
+
workspace?: {
|
|
4352
|
+
kind: "shared" | "isolated";
|
|
4353
|
+
path?: string;
|
|
4354
|
+
branch?: string;
|
|
4355
|
+
};
|
|
4305
4356
|
computer_id?: string;
|
|
4306
4357
|
model?: {
|
|
4307
4358
|
id: string;
|
|
@@ -4835,6 +4886,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4835
4886
|
vault_ids: Array<string>;
|
|
4836
4887
|
deployment_id?: null | string;
|
|
4837
4888
|
cwd: string;
|
|
4889
|
+
workspace?: {
|
|
4890
|
+
kind: "shared" | "isolated";
|
|
4891
|
+
path?: string;
|
|
4892
|
+
branch?: string;
|
|
4893
|
+
};
|
|
4838
4894
|
computer_id?: string;
|
|
4839
4895
|
model?: {
|
|
4840
4896
|
id: string;
|
|
@@ -4926,6 +4982,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
4926
4982
|
vault_ids: Array<string>;
|
|
4927
4983
|
deployment_id?: null | string;
|
|
4928
4984
|
cwd: string;
|
|
4985
|
+
workspace?: {
|
|
4986
|
+
kind: "shared" | "isolated";
|
|
4987
|
+
path?: string;
|
|
4988
|
+
branch?: string;
|
|
4989
|
+
};
|
|
4929
4990
|
computer_id?: string;
|
|
4930
4991
|
model?: {
|
|
4931
4992
|
id: string;
|
|
@@ -5292,6 +5353,11 @@ export declare function createAgent(transport: Transport): {
|
|
|
5292
5353
|
vault_ids: Array<string>;
|
|
5293
5354
|
deployment_id?: null | string;
|
|
5294
5355
|
cwd: string;
|
|
5356
|
+
workspace?: {
|
|
5357
|
+
kind: "shared" | "isolated";
|
|
5358
|
+
path?: string;
|
|
5359
|
+
branch?: string;
|
|
5360
|
+
};
|
|
5295
5361
|
computer_id?: string;
|
|
5296
5362
|
model?: {
|
|
5297
5363
|
id: string;
|
|
@@ -5643,6 +5709,11 @@ export declare function createAutomation(transport: Transport): {
|
|
|
5643
5709
|
};
|
|
5644
5710
|
};
|
|
5645
5711
|
};
|
|
5712
|
+
export declare function createBilling(transport: Transport): {
|
|
5713
|
+
prices: {
|
|
5714
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.ListPublicPricesData> | undefined) => Promise<Types.BillingPriceList>;
|
|
5715
|
+
};
|
|
5716
|
+
};
|
|
5646
5717
|
export declare function createBrowser(transport: Transport): {
|
|
5647
5718
|
connect: {
|
|
5648
5719
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
@@ -6089,6 +6160,7 @@ export declare function createDevops(transport: Transport): {
|
|
|
6089
6160
|
};
|
|
6090
6161
|
};
|
|
6091
6162
|
pullRequests: {
|
|
6163
|
+
close: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsCloseData>) => Promise<Types.DevopsPullRequest>;
|
|
6092
6164
|
merge: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsMergeData>) => Promise<Types.DevopsPullRequest>;
|
|
6093
6165
|
recordVerdict: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRecordVerdictData>) => Promise<Types.DevopsPullRequest>;
|
|
6094
6166
|
rerunGate: (options: import("./core/transport.js").CallOptions<Types.DevopsPullRequestsRerunGateData>) => Promise<Types.DevopsPullRequest>;
|
|
@@ -7363,6 +7435,26 @@ export declare function createSandbox(transport: Transport): {
|
|
|
7363
7435
|
};
|
|
7364
7436
|
};
|
|
7365
7437
|
sandboxes: {
|
|
7438
|
+
act: (options: import("./core/transport.js").CallOptions<Types.ActOnSandboxDisplayData>) => Promise<{
|
|
7439
|
+
type: "snapshot";
|
|
7440
|
+
snapshot: string;
|
|
7441
|
+
refs: number;
|
|
7442
|
+
truncated: boolean;
|
|
7443
|
+
package: string;
|
|
7444
|
+
} | {
|
|
7445
|
+
type: "screenshot";
|
|
7446
|
+
mediaType: string;
|
|
7447
|
+
data: string;
|
|
7448
|
+
width: number;
|
|
7449
|
+
height: number;
|
|
7450
|
+
bytes: number;
|
|
7451
|
+
} | {
|
|
7452
|
+
type: "ok";
|
|
7453
|
+
ms?: number;
|
|
7454
|
+
} | {
|
|
7455
|
+
type: "wait";
|
|
7456
|
+
ms: number;
|
|
7457
|
+
}>;
|
|
7366
7458
|
commands: {
|
|
7367
7459
|
run: (options: import("./core/transport.js").CallOptions<Types.RunSandboxCommandData>) => Promise<{
|
|
7368
7460
|
stdout: string;
|
|
@@ -7891,6 +7983,7 @@ export declare const resourceFactories: {
|
|
|
7891
7983
|
agent: typeof createAgent;
|
|
7892
7984
|
application: typeof createApplication;
|
|
7893
7985
|
automation: typeof createAutomation;
|
|
7986
|
+
billing: typeof createBilling;
|
|
7894
7987
|
browser: typeof createBrowser;
|
|
7895
7988
|
canvas: typeof createCanvas;
|
|
7896
7989
|
content: typeof createContent;
|