@deepraxis/sdk 0.2.0-dev.bc5a12b → 0.2.0-dev.cd390ba
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 +35 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +54 -6
- package/dist/generated/sdk.gen.js +116 -5
- package/dist/generated/types.gen.d.ts +1350 -267
- package/dist/operations.generated.js +248 -5
- package/dist/resources.generated.d.ts +56 -0
- package/dist/resources.generated.js +20 -0
- package/package.json +1 -1
|
@@ -7584,6 +7584,209 @@ export const operations = [
|
|
|
7584
7584
|
"pathParams": [],
|
|
7585
7585
|
"query": []
|
|
7586
7586
|
},
|
|
7587
|
+
{
|
|
7588
|
+
"resource": "browser.byob.browsers",
|
|
7589
|
+
"method": "list",
|
|
7590
|
+
"summary": "列出自带浏览器",
|
|
7591
|
+
"description": "分页列出当前组织已配对且未断开的自带浏览器,按 ID 升序。将 nextCursor 原样传入读取下一页,直到其为 null。",
|
|
7592
|
+
"http": "GET",
|
|
7593
|
+
"path": "/browser/v1/byob/browsers",
|
|
7594
|
+
"streaming": "no",
|
|
7595
|
+
"pagination": false,
|
|
7596
|
+
"pathParams": [],
|
|
7597
|
+
"query": [
|
|
7598
|
+
{
|
|
7599
|
+
"name": "cursor",
|
|
7600
|
+
"type": "string",
|
|
7601
|
+
"required": false,
|
|
7602
|
+
"description": "上一页返回的 nextCursor,原样传入;省略时读取第一页。"
|
|
7603
|
+
},
|
|
7604
|
+
{
|
|
7605
|
+
"name": "limit",
|
|
7606
|
+
"type": "integer",
|
|
7607
|
+
"required": false,
|
|
7608
|
+
"description": "每页最多返回的浏览器数量;默认 50,范围 1–100。"
|
|
7609
|
+
}
|
|
7610
|
+
]
|
|
7611
|
+
},
|
|
7612
|
+
{
|
|
7613
|
+
"resource": "browser.byob.browsers",
|
|
7614
|
+
"method": "retrieve",
|
|
7615
|
+
"summary": "读取自带浏览器",
|
|
7616
|
+
"description": "读取当前组织的指定自带浏览器,包括已断开的(revoked_at 不为 null)。不存在或不属于当前组织时返回 404 BROWSER_NOT_FOUND。",
|
|
7617
|
+
"http": "GET",
|
|
7618
|
+
"path": "/browser/v1/byob/browsers/{browser_id}",
|
|
7619
|
+
"streaming": "no",
|
|
7620
|
+
"pagination": false,
|
|
7621
|
+
"pathParams": [
|
|
7622
|
+
{
|
|
7623
|
+
"name": "browser_id",
|
|
7624
|
+
"sdkName": "browser_id",
|
|
7625
|
+
"description": "自带浏览器 ID,以 byb_ 开头;使用配对认领或列出自带浏览器返回的 id。"
|
|
7626
|
+
}
|
|
7627
|
+
],
|
|
7628
|
+
"query": []
|
|
7629
|
+
},
|
|
7630
|
+
{
|
|
7631
|
+
"resource": "browser.byob.browsers",
|
|
7632
|
+
"method": "update",
|
|
7633
|
+
"summary": "更新自带浏览器的名称、授权智能体与允许站点",
|
|
7634
|
+
"description": "更新自带浏览器的名称、授权智能体或允许站点,只改请求里出现的字段;granted_agents 和 allowed_sites 整体替换原列表。已断开的浏览器返回 410 BROWSER_REVOKED,需要重新配对。",
|
|
7635
|
+
"http": "PATCH",
|
|
7636
|
+
"path": "/browser/v1/byob/browsers/{browser_id}",
|
|
7637
|
+
"streaming": "no",
|
|
7638
|
+
"pagination": false,
|
|
7639
|
+
"pathParams": [
|
|
7640
|
+
{
|
|
7641
|
+
"name": "browser_id",
|
|
7642
|
+
"sdkName": "browser_id",
|
|
7643
|
+
"description": "自带浏览器 ID,以 byb_ 开头;使用配对认领或列出自带浏览器返回的 id。"
|
|
7644
|
+
}
|
|
7645
|
+
],
|
|
7646
|
+
"query": [],
|
|
7647
|
+
"body": {
|
|
7648
|
+
"required": true,
|
|
7649
|
+
"fields": [
|
|
7650
|
+
{
|
|
7651
|
+
"name": "name",
|
|
7652
|
+
"type": "string",
|
|
7653
|
+
"required": false,
|
|
7654
|
+
"description": "新的显示名称,1–80 个字符。"
|
|
7655
|
+
},
|
|
7656
|
+
{
|
|
7657
|
+
"name": "granted_agents",
|
|
7658
|
+
"type": "array",
|
|
7659
|
+
"itemType": "string",
|
|
7660
|
+
"required": false,
|
|
7661
|
+
"description": "整体替换被授权的智能体 ID 列表;传空数组撤销全部授权。"
|
|
7662
|
+
},
|
|
7663
|
+
{
|
|
7664
|
+
"name": "allowed_sites",
|
|
7665
|
+
"type": "array",
|
|
7666
|
+
"itemType": "string",
|
|
7667
|
+
"required": false,
|
|
7668
|
+
"description": "整体替换允许站点列表;传空数组表示不限制。"
|
|
7669
|
+
}
|
|
7670
|
+
]
|
|
7671
|
+
}
|
|
7672
|
+
},
|
|
7673
|
+
{
|
|
7674
|
+
"resource": "browser.byob.browsers.disconnect",
|
|
7675
|
+
"method": "create",
|
|
7676
|
+
"summary": "断开自带浏览器",
|
|
7677
|
+
"description": "断开自带浏览器:撤销它的授权,之后没有任何智能体能再驱动它,要用必须重新配对。可重复调用,结果相同;功能开关关闭时也能断开。",
|
|
7678
|
+
"http": "POST",
|
|
7679
|
+
"path": "/browser/v1/byob/browsers/{browser_id}/disconnect",
|
|
7680
|
+
"streaming": "no",
|
|
7681
|
+
"pagination": false,
|
|
7682
|
+
"pathParams": [
|
|
7683
|
+
{
|
|
7684
|
+
"name": "browser_id",
|
|
7685
|
+
"sdkName": "browser_id",
|
|
7686
|
+
"description": "自带浏览器 ID,以 byb_ 开头;使用配对认领或列出自带浏览器返回的 id。"
|
|
7687
|
+
}
|
|
7688
|
+
],
|
|
7689
|
+
"query": []
|
|
7690
|
+
},
|
|
7691
|
+
{
|
|
7692
|
+
"resource": "browser.byob.pairings",
|
|
7693
|
+
"method": "create",
|
|
7694
|
+
"summary": "创建浏览器配对码",
|
|
7695
|
+
"description": "为一个要接入的 Chrome 或 Edge 创建 8 位配对码,一次性、10 分钟有效;把它交给用户,由用户在浏览器扩展里输入或由 Console 直接交给扩展,用户点「允许」后配对完成。需要组织已开通 BYOB,否则返回 501 PROVIDER_UNSUPPORTED。",
|
|
7696
|
+
"http": "POST",
|
|
7697
|
+
"path": "/browser/v1/byob/pairings",
|
|
7698
|
+
"streaming": "no",
|
|
7699
|
+
"pagination": false,
|
|
7700
|
+
"pathParams": [],
|
|
7701
|
+
"query": []
|
|
7702
|
+
},
|
|
7703
|
+
{
|
|
7704
|
+
"resource": "browser.byob.pairings",
|
|
7705
|
+
"method": "retrieve",
|
|
7706
|
+
"summary": "读取浏览器配对授权页信息",
|
|
7707
|
+
"description": "扩展的授权页读取配对码对应的组织与发起人,让用户确认后再点「允许」。不需要 API Key,配对码就是凭证;码不存在、已过期、已使用一律返回 404 PAIRING_NOT_FOUND,不区分原因。",
|
|
7708
|
+
"http": "GET",
|
|
7709
|
+
"path": "/browser/v1/byob/pairings/{code}",
|
|
7710
|
+
"streaming": "no",
|
|
7711
|
+
"pagination": false,
|
|
7712
|
+
"pathParams": [
|
|
7713
|
+
{
|
|
7714
|
+
"name": "code",
|
|
7715
|
+
"sdkName": "code",
|
|
7716
|
+
"description": "8 位配对码,来自创建配对码的结果。"
|
|
7717
|
+
}
|
|
7718
|
+
],
|
|
7719
|
+
"query": []
|
|
7720
|
+
},
|
|
7721
|
+
{
|
|
7722
|
+
"resource": "browser.byob.pairings.claim",
|
|
7723
|
+
"method": "create",
|
|
7724
|
+
"summary": "认领浏览器配对码",
|
|
7725
|
+
"description": "用户点「允许」后,扩展用配对码认领一次,登记这个浏览器并取得 browser_id 和要拨入的 link_url。不需要 API Key,配对码就是凭证,只能使用一次;码不存在、已过期、已使用一律返回 404 PAIRING_NOT_FOUND。请求体不合格时返回 400 且不消耗配对码。",
|
|
7726
|
+
"http": "POST",
|
|
7727
|
+
"path": "/browser/v1/byob/pairings/{code}/claim",
|
|
7728
|
+
"streaming": "no",
|
|
7729
|
+
"pagination": false,
|
|
7730
|
+
"pathParams": [
|
|
7731
|
+
{
|
|
7732
|
+
"name": "code",
|
|
7733
|
+
"sdkName": "code",
|
|
7734
|
+
"description": "8 位配对码,来自创建配对码的结果。"
|
|
7735
|
+
}
|
|
7736
|
+
],
|
|
7737
|
+
"query": [],
|
|
7738
|
+
"body": {
|
|
7739
|
+
"required": true,
|
|
7740
|
+
"fields": [
|
|
7741
|
+
{
|
|
7742
|
+
"name": "browser",
|
|
7743
|
+
"type": "string",
|
|
7744
|
+
"enum": [
|
|
7745
|
+
"chrome",
|
|
7746
|
+
"edge"
|
|
7747
|
+
],
|
|
7748
|
+
"required": true,
|
|
7749
|
+
"description": "要登记的浏览器种类,只支持 Chrome 和 Edge。"
|
|
7750
|
+
},
|
|
7751
|
+
{
|
|
7752
|
+
"name": "version",
|
|
7753
|
+
"type": "string",
|
|
7754
|
+
"required": true,
|
|
7755
|
+
"description": "浏览器版本号,1–64 个字符。"
|
|
7756
|
+
},
|
|
7757
|
+
{
|
|
7758
|
+
"name": "os",
|
|
7759
|
+
"type": "string",
|
|
7760
|
+
"required": true,
|
|
7761
|
+
"description": "操作系统,1–64 个字符。"
|
|
7762
|
+
},
|
|
7763
|
+
{
|
|
7764
|
+
"name": "name",
|
|
7765
|
+
"type": "string",
|
|
7766
|
+
"required": true,
|
|
7767
|
+
"description": "浏览器的显示名称,1–80 个字符。"
|
|
7768
|
+
},
|
|
7769
|
+
{
|
|
7770
|
+
"name": "public_key",
|
|
7771
|
+
"type": "string",
|
|
7772
|
+
"required": true,
|
|
7773
|
+
"description": "扩展用 WebCrypto 生成的不可导出 ECDSA P-256 密钥对的公钥;平台只保存公钥。"
|
|
7774
|
+
},
|
|
7775
|
+
{
|
|
7776
|
+
"name": "extension_id",
|
|
7777
|
+
"type": "string",
|
|
7778
|
+
"required": true,
|
|
7779
|
+
"description": "扩展 ID,1–64 个字符。"
|
|
7780
|
+
},
|
|
7781
|
+
{
|
|
7782
|
+
"name": "install_key",
|
|
7783
|
+
"type": "string",
|
|
7784
|
+
"required": false,
|
|
7785
|
+
"description": "扩展保存的随机安装密钥,8–128 个字母、数字、_ 或 -;同一个 profile 带同一密钥重新配对会复用原来的浏览器,平台只保存它的哈希。省略则每次认领都是新浏览器。"
|
|
7786
|
+
}
|
|
7787
|
+
]
|
|
7788
|
+
}
|
|
7789
|
+
},
|
|
7587
7790
|
{
|
|
7588
7791
|
"resource": "browser.connect",
|
|
7589
7792
|
"method": "retrieve",
|
|
@@ -7890,7 +8093,7 @@ export const operations = [
|
|
|
7890
8093
|
"resource": "browser.sessions",
|
|
7891
8094
|
"method": "create",
|
|
7892
8095
|
"summary": "创建浏览器会话",
|
|
7893
|
-
"description": "创建云端 Chrome,返回自带凭证的 connectUrl
|
|
8096
|
+
"description": "创建云端 Chrome,返回自带凭证的 connectUrl;带 name 时按名字幂等:本账户已有同名且 RUNNING(未在释放中)、挂载的登录态与本次相同(都没挂也算相同)的会话,就直接返回这个会话(HTTP 200,reused=true,不新开、不计费),同名但登录态不同返回 409 SESSION_NAME_IN_USE(消息写明已有会话的 id),同名会话已在释放或已结束则新开;不带 name 时每次都新开(HTTP 201,reused=false)。同一件事请固定一个会话名并复用,不要每步新开再关闭:频繁新开会话对网站来说像同一账号不断换新设备登录,容易触发风控。persist 写入租约仍只属于这一个会话。它是一条完整 CDP 连接,真指针事件(触摸、拖拽、按坐标点击)从那里发送,页面动作接口只做按 ref 的语义动作。API 会话默认断开后结束;最长 6 小时。运行中服务每 60 秒做一次健康检查(Browser.getVersion,超时 10 秒),连续 2 次失败即以 closeReason=watchdog 结束会话,keepAlive=true 也不豁免;该事件记录判据读数。",
|
|
7894
8097
|
"http": "POST",
|
|
7895
8098
|
"path": "/browser/v1/sessions",
|
|
7896
8099
|
"streaming": "no",
|
|
@@ -14994,7 +15197,7 @@ export const operations = [
|
|
|
14994
15197
|
"resource": "devops.changes",
|
|
14995
15198
|
"method": "openPullRequest",
|
|
14996
15199
|
"summary": "Open a change's pull request",
|
|
14997
|
-
"description": "Open the pull request for a change: its branch into the project's default branch, opened by DevOps's own GitHub App. A cloud workspace holds no GitHub credential, so this is how work pushed with the unit push becomes a pull request; `praxis devops change pr` calls it from the workspace. Push first: a branch with no commits beyond the default branch is refused with PULL_REQUEST_REFUSED and GitHub's words. A branch that already has an open pull request answers that one with created=false, so calling again is safe; when the call passes a title or a body, those fields are written onto that pull request (GitHub PATCH /pulls/{number}) and the answer says updated=true, while a field not passed is left as it is — which is how a wrong or missing description is corrected, and how the merge gate's exposure-declared check is re-evaluated from the new body. Only an open pull request can be rewritten: once it is merged or closed its head branch is usually deleted with it, so a call that names a title or a body is refused with PULL_REQUEST_NOT_OPEN, naming that pull request and the branch, instead of trying to open a second one. The pull request then appears on the change and runs its merge gate as usual. The id is the branch name; give it as it comes back (fix/expired-links) — the SDK and the CLI encode the slash themselves, and only a hand-written HTTP request sends fix%2Fexpired-links.",
|
|
15200
|
+
"description": "Open the pull request for a change: its branch into the project's default branch, opened by DevOps's own GitHub App. A cloud workspace holds no GitHub credential, so this is how work pushed with the unit push becomes a pull request; `praxis devops change pr` calls it from the workspace. Push first: a branch with no commits beyond the default branch is refused with PULL_REQUEST_REFUSED and GitHub's words. A branch that already has an open pull request answers that one with created=false, so calling again is safe; when the call passes a title or a body, those fields are written onto that pull request (GitHub PATCH /pulls/{number}) and the answer says updated=true, while a field not passed is left as it is — which is how a wrong or missing description is corrected, and how the merge gate's exposure-declared check is re-evaluated from the new body. Only an open pull request can be rewritten: once it is merged or closed its head branch is usually deleted with it, so a call that names a title or a body is refused with PULL_REQUEST_NOT_OPEN, naming that pull request and the branch, instead of trying to open a second one. The pull request then appears on the change and runs its merge gate as usual. For a later slice opened with `slices.create`, pass head set to that slice's branch (<id>--<n>): the pull request is opened from it instead of the change's own branch, and a branch that belongs to another change is refused with INVALID_ARGUMENT. The id is the branch name; give it as it comes back (fix/expired-links) — the SDK and the CLI encode the slash themselves, and only a hand-written HTTP request sends fix%2Fexpired-links.",
|
|
14998
15201
|
"http": "POST",
|
|
14999
15202
|
"path": "/devops/v1/changes/{id}:openPullRequest",
|
|
15000
15203
|
"streaming": "no",
|
|
@@ -15027,6 +15230,12 @@ export const operations = [
|
|
|
15027
15230
|
"type": "boolean",
|
|
15028
15231
|
"required": false,
|
|
15029
15232
|
"description": "Open it as a draft. Defaults to false."
|
|
15233
|
+
},
|
|
15234
|
+
{
|
|
15235
|
+
"name": "head",
|
|
15236
|
+
"type": "string",
|
|
15237
|
+
"required": false,
|
|
15238
|
+
"description": "The branch the pull request is opened from, for a later slice of the change: <change id>--<n>, as `slices.create` answered it; omit it for the change's own branch. A branch that belongs to another change is refused with INVALID_ARGUMENT."
|
|
15030
15239
|
}
|
|
15031
15240
|
]
|
|
15032
15241
|
}
|
|
@@ -15945,6 +16154,40 @@ export const operations = [
|
|
|
15945
16154
|
}
|
|
15946
16155
|
}
|
|
15947
16156
|
},
|
|
16157
|
+
{
|
|
16158
|
+
"resource": "devops.changes.slices",
|
|
16159
|
+
"method": "create",
|
|
16160
|
+
"summary": "Open a new slice",
|
|
16161
|
+
"description": "Open one more slice of a change: another pull request on the same change, developed beside the ones already open. Use it when a second piece of the change can be built in parallel; for the change's first pull request there is nothing to open — work on the branch `praxis devops change checkout` gave you. The call cuts the next slice branch, named <id>--<n> where n is one more than the highest slice number the change's pull requests and its workspace already hold (so two calls give two different slices), and gives it its own git worktree in the change's workspace. If the change has no live workspace one is opened. Everything after that is automatic: the branch name, the worktree, removing the worktree once its pull request merges, and restacking a slice cut from another onto the default branch when that slice merges. A restack that conflicts is aborted and reported with the conflicting files; resolve those by hand on the slice branch, nothing is resolved for you. Without from the slice is cut from the default branch; with from set to another branch of the same change it is cut from that slice (the right choice when it builds on it). An abandoned change is refused with INVALID_ARGUMENT. The change id is the branch name <type>/<slug>; give it as it comes back — the SDK and the CLI encode the slash themselves. The workspace may still be starting when the call returns: directory is the path the worktree will have once it is available, and exists at once when the workspace is already running. From a terminal: `praxis devops changes slice <change>`.",
|
|
16162
|
+
"http": "POST",
|
|
16163
|
+
"path": "/devops/v1/projects/{project}/changes/{change}/slices",
|
|
16164
|
+
"streaming": "no",
|
|
16165
|
+
"pagination": false,
|
|
16166
|
+
"pathParams": [
|
|
16167
|
+
{
|
|
16168
|
+
"name": "project",
|
|
16169
|
+
"sdkName": "project",
|
|
16170
|
+
"description": "Identifies the project whose data you are reading, from the project list or create answer."
|
|
16171
|
+
},
|
|
16172
|
+
{
|
|
16173
|
+
"name": "change",
|
|
16174
|
+
"sdkName": "change",
|
|
16175
|
+
"description": "The change whose slice you are opening: its id, which is its branch name <type>/<slug> from a change list or create answer. Give it as it comes back — `feat/run-page-v2`; the SDK and the CLI encode the slash themselves."
|
|
16176
|
+
}
|
|
16177
|
+
],
|
|
16178
|
+
"query": [],
|
|
16179
|
+
"body": {
|
|
16180
|
+
"required": false,
|
|
16181
|
+
"fields": [
|
|
16182
|
+
{
|
|
16183
|
+
"name": "from",
|
|
16184
|
+
"type": "string",
|
|
16185
|
+
"required": false,
|
|
16186
|
+
"description": "Another branch of the same change to cut the slice from, such as feat/run-page-v2--2; omit it to cut from the default branch. A slice cut from a branch is restacked onto the default branch when that branch merges."
|
|
16187
|
+
}
|
|
16188
|
+
]
|
|
16189
|
+
}
|
|
16190
|
+
},
|
|
15948
16191
|
{
|
|
15949
16192
|
"resource": "devops.projects.cleanups",
|
|
15950
16193
|
"method": "list",
|
|
@@ -18886,7 +19129,7 @@ export const operations = [
|
|
|
18886
19129
|
"resource": "file.uploads",
|
|
18887
19130
|
"method": "createSigned",
|
|
18888
19131
|
"summary": "Create a one-time upload URL",
|
|
18889
|
-
"description": "Upload a local file of up to 20 GiB from a coding agent without sending bytes through the model. Provide filename (the stored basename), exact byte count and MIME type. Up to 104857600 bytes, PUT the file to url with curl -T photo.png -H 'Content-Type: image/png' '<url>'; success returns 201 with the file object, and reuse returns 410 CAPABILITY_USED. Above that threshold, split the file into part_size chunks (default 64000000 bytes) and PUT each chunk to its numbered parts[].url in any order; an interrupted client GETs status_url to see the received parts and resends only what is missing, then POSTs complete_url without a body. Part PUTs return 200; completion returns 201 with the file object, including its state, or 400 if a part is missing. A processing file can be polled with files.retrieve until active. Identical part bytes may be retried; changed bytes at the same number return 400. Completion reuse returns
|
|
19132
|
+
"description": "Upload a local file of up to 20 GiB from a coding agent without sending bytes through the model. Provide filename (the stored basename), exact byte count and MIME type. Up to 104857600 bytes, PUT the file to url with curl -T photo.png -H 'Content-Type: image/png' '<url>'; success returns 201 with the file object, and reuse returns 410 CAPABILITY_USED. Above that threshold, split the file into part_size chunks (default 64000000 bytes) and PUT each chunk to its numbered parts[].url in any order; an interrupted client GETs status_url to see the received parts and resends only what is missing, then POSTs complete_url without a body. Part PUTs return 200; completion returns 201 with the file object, including its state, or 400 if a part is missing. A processing file can be polled with files.retrieve until active. Identical part bytes may be retried; changed bytes at the same number return 400. Completion reuse returns 201 with the same file, because a lost answer must not cost the file. Each PUT requires the exact signed Content-Length; single-PUT Content-Type must match content_type or be omitted. An expired upload answers 410 UPLOAD_EXPIRED on its status_url and complete_url while the upload still exists in the caller's organization; revoked, invalid, cross-organization or unknown URLs return 404, including a link whose upload record no longer exists. A signed URL used for another action answers 403 CAPABILITY_MISMATCH, judged before expiry, so a status link posted to complete_url answers it and so does a completion link fetched as status_url. URL lifetime defaults to 900 seconds for single PUT or 604800 (7 days) for multipart, at most 604800; all multipart URLs, including status_url, share an expiry. Multipart creation reserves storage quota. Issuance requires the same unscoped credential as direct file creation. Each issuance creates a new upload and is not idempotent. Example body: {\"filename\":\"photo.png\",\"bytes\":2048,\"content_type\":\"image/png\"}.",
|
|
18890
19133
|
"http": "POST",
|
|
18891
19134
|
"path": "/file/v1/uploads/signed",
|
|
18892
19135
|
"streaming": "no",
|
|
@@ -22558,7 +22801,7 @@ export const operations = [
|
|
|
22558
22801
|
"resource": "media.streams.outputs",
|
|
22559
22802
|
"method": "list",
|
|
22560
22803
|
"summary": "List a stream's re-broadcast targets",
|
|
22561
|
-
"description": "List every output of one stream, oldest first, with the status of each (idle, starting, broadcasting or errored) and the
|
|
22804
|
+
"description": "List every output of one stream, oldest first, with the status of each (idle, starting, broadcasting or errored) and the reason of one that is errored or trying again. Use it to see at a glance which targets are live; to change one use streams.outputs.update and to follow status changes as they happen read streams.events.list. A stream has at most 5 outputs, so the list is one page. Example: GET /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/outputs.",
|
|
22562
22805
|
"http": "GET",
|
|
22563
22806
|
"path": "/media/v1/streams/{stream_id}/outputs",
|
|
22564
22807
|
"streaming": "no",
|
|
@@ -22634,7 +22877,7 @@ export const operations = [
|
|
|
22634
22877
|
"resource": "media.streams.outputs",
|
|
22635
22878
|
"method": "retrieve",
|
|
22636
22879
|
"summary": "Read one re-broadcast target",
|
|
22637
|
-
"description": "Read one output: its address, whether a key is set (the key itself is never returned), its status and, when it is errored, why. Use it to check a target after streams.outputs.create or after an output.status event; status broadcasting means the target accepted the stream and is receiving it. Example: GET /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/outputs/mso_zpnqd7a2kxwg3vhr5tj4bfm6ec.",
|
|
22880
|
+
"description": "Read one output: its address, whether a key is set (the key itself is never returned), its status and, when it is errored or trying again, why. Use it to check a target after streams.outputs.create or after an output.status event; status broadcasting means the target accepted the stream and is receiving it. Example: GET /media/v1/streams/mst_zpnqd7a2kxwg3vhr5tj4bfm6ec/outputs/mso_zpnqd7a2kxwg3vhr5tj4bfm6ec.",
|
|
22638
22881
|
"http": "GET",
|
|
22639
22882
|
"path": "/media/v1/streams/{stream_id}/outputs/{output_id}",
|
|
22640
22883
|
"streaming": "no",
|
|
@@ -833,6 +833,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
833
833
|
reason?: "project_removed";
|
|
834
834
|
message_id?: string;
|
|
835
835
|
session_thread_id?: string | null;
|
|
836
|
+
} | {
|
|
837
|
+
id: string;
|
|
838
|
+
type: "session.status_preparing";
|
|
839
|
+
processed_at: string;
|
|
840
|
+
stage: "launching" | "loading" | "ready";
|
|
841
|
+
message_id?: string;
|
|
842
|
+
session_thread_id?: string | null;
|
|
836
843
|
}>;
|
|
837
844
|
next_page: string | null;
|
|
838
845
|
}>;
|
|
@@ -4080,6 +4087,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
4080
4087
|
reason?: "project_removed";
|
|
4081
4088
|
message_id?: string;
|
|
4082
4089
|
session_thread_id?: string | null;
|
|
4090
|
+
} | {
|
|
4091
|
+
id: string;
|
|
4092
|
+
type: "session.status_preparing";
|
|
4093
|
+
processed_at: string;
|
|
4094
|
+
stage: "launching" | "loading" | "ready";
|
|
4095
|
+
message_id?: string;
|
|
4096
|
+
session_thread_id?: string | null;
|
|
4083
4097
|
}>;
|
|
4084
4098
|
next_page: string | null;
|
|
4085
4099
|
}>;
|
|
@@ -5810,6 +5824,13 @@ export declare function createAgent(transport: Transport): {
|
|
|
5810
5824
|
reason?: "project_removed";
|
|
5811
5825
|
message_id?: string;
|
|
5812
5826
|
session_thread_id?: string | null;
|
|
5827
|
+
} | {
|
|
5828
|
+
id: string;
|
|
5829
|
+
type: "session.status_preparing";
|
|
5830
|
+
processed_at: string;
|
|
5831
|
+
stage: "launching" | "loading" | "ready";
|
|
5832
|
+
message_id?: string;
|
|
5833
|
+
session_thread_id?: string | null;
|
|
5813
5834
|
}>;
|
|
5814
5835
|
next_page: string | null;
|
|
5815
5836
|
}>;
|
|
@@ -6231,6 +6252,26 @@ export declare function createBilling(transport: Transport): {
|
|
|
6231
6252
|
};
|
|
6232
6253
|
};
|
|
6233
6254
|
export declare function createBrowser(transport: Transport): {
|
|
6255
|
+
byob: {
|
|
6256
|
+
browsers: {
|
|
6257
|
+
disconnect: {
|
|
6258
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BrowserDisconnectByobBrowserData>) => Promise<Types.BrowserByobBrowser>;
|
|
6259
|
+
};
|
|
6260
|
+
list: (options?: import("./core/transport.js").CallOptions<Types.BrowserListByobBrowsersData> | undefined) => Promise<{
|
|
6261
|
+
data: Array<Types.BrowserByobBrowser>;
|
|
6262
|
+
nextCursor: string | null;
|
|
6263
|
+
}>;
|
|
6264
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserGetByobBrowserData>) => Promise<Types.BrowserByobBrowser>;
|
|
6265
|
+
update: (options: import("./core/transport.js").CallOptions<Types.BrowserUpdateByobBrowserData>) => Promise<Types.BrowserByobBrowser>;
|
|
6266
|
+
};
|
|
6267
|
+
pairings: {
|
|
6268
|
+
claim: {
|
|
6269
|
+
create: (options: import("./core/transport.js").CallOptions<Types.BrowserClaimByobPairingData>) => Promise<Types.BrowserByobClaimResult>;
|
|
6270
|
+
};
|
|
6271
|
+
create: (options?: import("./core/transport.js").CallOptions<Types.BrowserCreateByobPairingData> | undefined) => Promise<Types.BrowserByobPairing>;
|
|
6272
|
+
retrieve: (options: import("./core/transport.js").CallOptions<Types.BrowserReadByobPairingData>) => Promise<Types.BrowserByobPairingView>;
|
|
6273
|
+
};
|
|
6274
|
+
};
|
|
6234
6275
|
connect: {
|
|
6235
6276
|
retrieve: (options?: import("./core/transport.js").CallOptions<Types.BrowserConnectData> | undefined) => Promise<unknown>;
|
|
6236
6277
|
};
|
|
@@ -6687,6 +6728,9 @@ export declare function createDevops(transport: Transport): {
|
|
|
6687
6728
|
markLastSlice: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesMarkLastSliceData>) => Promise<Types.DevopsChange>;
|
|
6688
6729
|
openPullRequest: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesOpenPullRequestData>) => Promise<Types.DevopsChangePullRequestOpened>;
|
|
6689
6730
|
retrieve: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesGetData>) => Promise<Types.DevopsChange>;
|
|
6731
|
+
slices: {
|
|
6732
|
+
create: (options: import("./core/transport.js").CallOptions<Types.DevopsChangesSlicesCreateData>) => Promise<Types.DevopsChangeSliceOpened>;
|
|
6733
|
+
};
|
|
6690
6734
|
};
|
|
6691
6735
|
connections: {
|
|
6692
6736
|
complete: (options: import("./core/transport.js").CallOptions<Types.DevopsConnectionsCompleteData>) => Promise<Types.DevopsConnection>;
|
|
@@ -8167,6 +8211,10 @@ export declare function createSandbox(transport: Transport): {
|
|
|
8167
8211
|
created_at: string;
|
|
8168
8212
|
capabilities: Array<"display" | "agent">;
|
|
8169
8213
|
agent_dirs: Array<string>;
|
|
8214
|
+
agent_bindings: Array<{
|
|
8215
|
+
dir: string;
|
|
8216
|
+
agent: string;
|
|
8217
|
+
}>;
|
|
8170
8218
|
allow_bypass: boolean;
|
|
8171
8219
|
}>;
|
|
8172
8220
|
}>;
|
|
@@ -8182,6 +8230,10 @@ export declare function createSandbox(transport: Transport): {
|
|
|
8182
8230
|
created_at: string;
|
|
8183
8231
|
capabilities: Array<"display" | "agent">;
|
|
8184
8232
|
agent_dirs: Array<string>;
|
|
8233
|
+
agent_bindings: Array<{
|
|
8234
|
+
dir: string;
|
|
8235
|
+
agent: string;
|
|
8236
|
+
}>;
|
|
8185
8237
|
allow_bypass: boolean;
|
|
8186
8238
|
}>;
|
|
8187
8239
|
update: (options: import("./core/transport.js").CallOptions<Types.UpdateByodDeviceData>) => Promise<{
|
|
@@ -8196,6 +8248,10 @@ export declare function createSandbox(transport: Transport): {
|
|
|
8196
8248
|
created_at: string;
|
|
8197
8249
|
capabilities: Array<"display" | "agent">;
|
|
8198
8250
|
agent_dirs: Array<string>;
|
|
8251
|
+
agent_bindings: Array<{
|
|
8252
|
+
dir: string;
|
|
8253
|
+
agent: string;
|
|
8254
|
+
}>;
|
|
8199
8255
|
allow_bypass: boolean;
|
|
8200
8256
|
}>;
|
|
8201
8257
|
};
|
|
@@ -509,6 +509,23 @@ export function createBilling(transport) {
|
|
|
509
509
|
}
|
|
510
510
|
export function createBrowser(transport) {
|
|
511
511
|
return {
|
|
512
|
+
byob: {
|
|
513
|
+
browsers: {
|
|
514
|
+
disconnect: {
|
|
515
|
+
create: bind(transport, sdk.browserDisconnectByobBrowser),
|
|
516
|
+
},
|
|
517
|
+
list: bind(transport, sdk.browserListByobBrowsers),
|
|
518
|
+
retrieve: bind(transport, sdk.browserGetByobBrowser),
|
|
519
|
+
update: bind(transport, sdk.browserUpdateByobBrowser),
|
|
520
|
+
},
|
|
521
|
+
pairings: {
|
|
522
|
+
claim: {
|
|
523
|
+
create: bind(transport, sdk.browserClaimByobPairing),
|
|
524
|
+
},
|
|
525
|
+
create: bind(transport, sdk.browserCreateByobPairing),
|
|
526
|
+
retrieve: bind(transport, sdk.browserReadByobPairing),
|
|
527
|
+
},
|
|
528
|
+
},
|
|
512
529
|
connect: {
|
|
513
530
|
retrieve: bind(transport, sdk.browserConnect),
|
|
514
531
|
},
|
|
@@ -890,6 +907,9 @@ export function createDevops(transport) {
|
|
|
890
907
|
markLastSlice: bind(transport, sdk.devopsChangesMarkLastSlice),
|
|
891
908
|
openPullRequest: bind(transport, sdk.devopsChangesOpenPullRequest),
|
|
892
909
|
retrieve: bind(transport, sdk.devopsChangesGet),
|
|
910
|
+
slices: {
|
|
911
|
+
create: bind(transport, sdk.devopsChangesSlicesCreate),
|
|
912
|
+
},
|
|
893
913
|
},
|
|
894
914
|
connections: {
|
|
895
915
|
complete: bind(transport, sdk.devopsConnectionsComplete),
|