@deepraxis/sdk 0.2.0-dev.826472f → 0.2.0-dev.837a8c3
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 +7 -1
- package/dist/generated/index.d.ts +2 -2
- package/dist/generated/index.js +1 -1
- package/dist/generated/sdk.gen.d.ts +19 -13
- package/dist/generated/sdk.gen.js +30 -12
- package/dist/generated/types.gen.d.ts +585 -81
- package/dist/helpers/browser-connect-error.d.ts +1 -1
- package/dist/helpers/browser-connect-error.js +1 -1
- package/dist/helpers/browser-documentation.d.ts +1 -1
- package/dist/helpers/browser-documentation.js +1 -1
- package/dist/operations.generated.js +82 -36
- package/dist/resources.generated.d.ts +13 -0
- package/dist/resources.generated.js +5 -0
- package/package.json +1 -1
|
@@ -3609,7 +3609,7 @@ export type BrowserSessionCreateParams = {
|
|
|
3609
3609
|
*/
|
|
3610
3610
|
projectId?: string;
|
|
3611
3611
|
/**
|
|
3612
|
-
* 谁能看到这个新会话:默认 private 只有创建者;organization
|
|
3612
|
+
* 谁能看到这个新会话:默认 private 只有创建者;organization 允许同组织其他成员只读观看画面。自带浏览器(source.type 为 byob)的会话一律是 organization,传 private 也会被改成 organization,不报错。
|
|
3613
3613
|
*/
|
|
3614
3614
|
visibility?: 'private' | 'organization';
|
|
3615
3615
|
/**
|
|
@@ -3696,9 +3696,74 @@ export type BrowserSessionCreateParams = {
|
|
|
3696
3696
|
ignoreCertificateErrors?: boolean;
|
|
3697
3697
|
};
|
|
3698
3698
|
/**
|
|
3699
|
-
*
|
|
3699
|
+
* 让会话经一个固定的外部 HTTP 代理(如住宅 IP)出网:[{type: 'external', server: 'host:port', username?, password_secret?}];省略、false 或 [{type: 'none'}] 表示不用代理。只能有一个代理条目;密码推荐用 password_secret 引用保管库(只在连接代理主机时兑换),也可以直接给明文 password,二者不能同时出现。带代理的会话一定在我们的 Chrome 容器里运行,需要组织已开通容器后端,否则返回 501 PROVIDER_UNSUPPORTED;不能与 source.type 为 cloud 或 byob 同用,返回 400 INVALID_PARAMS(格式错误、私网地址、用户名没有密码等同样返回 400,reason 写明原因)。其它代理类型和 socks5 返回 501 PROVIDER_UNSUPPORTED。要让某个账号始终从同一个出口地址出去,把代理绑定在登录态上(contexts 的 proxy),不必每次会话重复传。
|
|
3700
3700
|
*/
|
|
3701
|
-
proxies?: boolean |
|
|
3701
|
+
proxies?: boolean | [
|
|
3702
|
+
{
|
|
3703
|
+
/**
|
|
3704
|
+
* 固定为 external:经一个你自己的外部 HTTP 代理出网。
|
|
3705
|
+
*/
|
|
3706
|
+
type: 'external';
|
|
3707
|
+
/**
|
|
3708
|
+
* 代理地址,host:port 或 http://host:port;只支持 HTTP 代理,不接受 socks5:// 等协议,也不接受 localhost 和内网、链路本地地址。
|
|
3709
|
+
*/
|
|
3710
|
+
server: string;
|
|
3711
|
+
/**
|
|
3712
|
+
* 代理用户名;有密码时才能填,填了就必须同时给出密码。
|
|
3713
|
+
*/
|
|
3714
|
+
username?: string;
|
|
3715
|
+
/**
|
|
3716
|
+
* 代理密码明文,只在这次创建中使用,不会保存;推荐改用 password_secret。与 password_secret 二选一。
|
|
3717
|
+
*/
|
|
3718
|
+
password?: string;
|
|
3719
|
+
/**
|
|
3720
|
+
* 推荐:引用保管库里的代理密码,只在连接这个代理的主机时兑换,不会交给网页。与 password 二选一。
|
|
3721
|
+
*/
|
|
3722
|
+
password_secret?: {
|
|
3723
|
+
/**
|
|
3724
|
+
* 保存代理密码的保管库 ID,以 vlt_ 开头。
|
|
3725
|
+
*/
|
|
3726
|
+
vault_id: string;
|
|
3727
|
+
/**
|
|
3728
|
+
* 保管库中该密码的密钥 ID(不是密码本身)。
|
|
3729
|
+
*/
|
|
3730
|
+
secret: string;
|
|
3731
|
+
};
|
|
3732
|
+
} | {
|
|
3733
|
+
/**
|
|
3734
|
+
* 固定为 none:不用代理,与省略 proxies 相同。
|
|
3735
|
+
*/
|
|
3736
|
+
type: 'none';
|
|
3737
|
+
}
|
|
3738
|
+
];
|
|
3739
|
+
/**
|
|
3740
|
+
* 选择浏览器后端,只有 container 支持外部代理:cloud(Browser Run)和 byob 都不能用代理。{type: 'cloud'}:Browser Run,启动最快、不能用代理、自动化特征可被网站发现。{type: 'container'}:我们自己的 Chrome 容器,可带 proxies(或用登录态绑定的代理),也可不带;组织未开通容器后端时返回 501 PROVIDER_UNSUPPORTED。{type: 'byob', browser: 'byb_…'}:用户自己配对的浏览器,不能与 proxies 或登录态同用。简写 {byob: 'byb_…'} 等同最后一种。省略时按旧规则:带 proxies 进容器,否则 Browser Run。cloud 加代理、未知 type、格式错误都返回 400 INVALID_PARAMS。
|
|
3741
|
+
*/
|
|
3742
|
+
source?: {
|
|
3743
|
+
/**
|
|
3744
|
+
* Browser Run。
|
|
3745
|
+
*/
|
|
3746
|
+
type: 'cloud';
|
|
3747
|
+
} | {
|
|
3748
|
+
/**
|
|
3749
|
+
* 自家 Chrome 容器。
|
|
3750
|
+
*/
|
|
3751
|
+
type: 'container';
|
|
3752
|
+
} | {
|
|
3753
|
+
/**
|
|
3754
|
+
* 用户自己的浏览器。
|
|
3755
|
+
*/
|
|
3756
|
+
type: 'byob';
|
|
3757
|
+
/**
|
|
3758
|
+
* 自带浏览器 ID,以 byb_ 开头。
|
|
3759
|
+
*/
|
|
3760
|
+
browser: string;
|
|
3761
|
+
} | {
|
|
3762
|
+
/**
|
|
3763
|
+
* 自带浏览器 ID,type 为 byob 的简写。
|
|
3764
|
+
*/
|
|
3765
|
+
byob: string;
|
|
3766
|
+
};
|
|
3702
3767
|
/**
|
|
3703
3768
|
* 接受但忽略;不能选择区域。
|
|
3704
3769
|
*/
|
|
@@ -3746,9 +3811,9 @@ export type BrowserSessionCreateResult = {
|
|
|
3746
3811
|
*/
|
|
3747
3812
|
region: 'ap-southeast-1';
|
|
3748
3813
|
/**
|
|
3749
|
-
*
|
|
3814
|
+
* 会话经代理链转发的流量字节数(上行与下行之和),容器后端的会话按它计费;Browser Run 和自带浏览器固定为 0,运行中每几分钟更新一次。
|
|
3750
3815
|
*/
|
|
3751
|
-
proxyBytes:
|
|
3816
|
+
proxyBytes: number;
|
|
3752
3817
|
/**
|
|
3753
3818
|
* 会话创建时刻,UTC ISO 8601 时间。
|
|
3754
3819
|
*/
|
|
@@ -3794,17 +3859,34 @@ export type BrowserSessionCreateResult = {
|
|
|
3794
3859
|
*/
|
|
3795
3860
|
origin: 'api' | 'connect' | 'console';
|
|
3796
3861
|
/**
|
|
3797
|
-
*
|
|
3862
|
+
* 会话实际使用的浏览器后端:cloud 是云浏览器(Browser Run),container 是我们自己的 Chrome 容器,byob 是用户自己配对的浏览器(browser 为它的 ID)。type 与 kind 同值,type 是公开名称,kind 为兼容旧读者保留。
|
|
3798
3863
|
*/
|
|
3799
3864
|
source: {
|
|
3800
3865
|
/**
|
|
3801
3866
|
* 云浏览器会话,固定为 cloud。
|
|
3802
3867
|
*/
|
|
3868
|
+
type: 'cloud';
|
|
3869
|
+
/**
|
|
3870
|
+
* 与 type 同值。
|
|
3871
|
+
*/
|
|
3803
3872
|
kind: 'cloud';
|
|
3873
|
+
} | {
|
|
3874
|
+
/**
|
|
3875
|
+
* 自家 Chrome 容器会话,固定为 container。
|
|
3876
|
+
*/
|
|
3877
|
+
type: 'container';
|
|
3878
|
+
/**
|
|
3879
|
+
* 与 type 同值。
|
|
3880
|
+
*/
|
|
3881
|
+
kind: 'container';
|
|
3804
3882
|
} | {
|
|
3805
3883
|
/**
|
|
3806
3884
|
* 用户自己配对的浏览器会话,固定为 byob。
|
|
3807
3885
|
*/
|
|
3886
|
+
type: 'byob';
|
|
3887
|
+
/**
|
|
3888
|
+
* 与 type 同值。
|
|
3889
|
+
*/
|
|
3808
3890
|
kind: 'byob';
|
|
3809
3891
|
/**
|
|
3810
3892
|
* 自带浏览器 ID,以 byb_ 开头。
|
|
@@ -3886,7 +3968,7 @@ export type BrowserError = {
|
|
|
3886
3968
|
statusCode: number;
|
|
3887
3969
|
error: string;
|
|
3888
3970
|
message: string;
|
|
3889
|
-
code: 'INVALID_PARAMS' | 'PERMISSION_DENIED' | 'NOT_IMPLEMENTED' | 'INTERNAL' | 'UNAUTHENTICATED' | 'CONNECT_SIGNATURE_INVALID' | 'SESSION_NOT_FOUND' | 'SESSION_ENDED' | 'SESSION_INVALID_STATE' | 'SESSION_NAME_IN_USE' | 'CONTEXT_NOT_FOUND' | '
|
|
3971
|
+
code: 'INVALID_PARAMS' | 'PERMISSION_DENIED' | 'NOT_IMPLEMENTED' | 'INTERNAL' | 'UNAUTHENTICATED' | 'CONNECT_SIGNATURE_INVALID' | 'SESSION_NOT_FOUND' | 'SESSION_ENDED' | 'SESSION_INVALID_STATE' | 'SESSION_NAME_IN_USE' | 'CONTEXT_NOT_FOUND' | 'BROWSER_OFFLINE' | 'BROWSER_REVOKED' | 'PAIRING_NOT_FOUND' | 'BROWSER_NOT_FOUND' | 'CONTEXT_LOCKED' | 'CONTEXT_READ_ONLY' | 'HANDOFF_NOT_PENDING' | 'CONCURRENCY_LIMIT' | 'RATE_LIMITED' | 'INSUFFICIENT_BALANCE' | 'QUOTA_EXHAUSTED' | 'ACCOUNT_SUSPENDED' | 'PROVIDER_UNSUPPORTED' | 'PROVIDER_CAPACITY' | 'PROVIDER_FAILED' | 'SERVICE_UNAVAILABLE' | 'PARENT_NOT_FOUND' | 'INVALID_FILTER' | 'INVALID_PAGE_TOKEN' | 'ACTION_TAB_NOT_FOUND' | 'ACTION_NO_TAB' | 'ACTION_REF_STALE' | 'ACTION_FAILED' | 'ACTION_TIMEOUT' | 'ACTION_RESULT_TOO_LARGE';
|
|
3890
3972
|
};
|
|
3891
3973
|
export type BrowserSession = {
|
|
3892
3974
|
/**
|
|
@@ -3910,9 +3992,9 @@ export type BrowserSession = {
|
|
|
3910
3992
|
*/
|
|
3911
3993
|
region: 'ap-southeast-1';
|
|
3912
3994
|
/**
|
|
3913
|
-
*
|
|
3995
|
+
* 会话经代理链转发的流量字节数(上行与下行之和),容器后端的会话按它计费;Browser Run 和自带浏览器固定为 0,运行中每几分钟更新一次。
|
|
3914
3996
|
*/
|
|
3915
|
-
proxyBytes:
|
|
3997
|
+
proxyBytes: number;
|
|
3916
3998
|
/**
|
|
3917
3999
|
* 会话创建时刻,UTC ISO 8601 时间。
|
|
3918
4000
|
*/
|
|
@@ -3958,17 +4040,34 @@ export type BrowserSession = {
|
|
|
3958
4040
|
*/
|
|
3959
4041
|
origin: 'api' | 'connect' | 'console';
|
|
3960
4042
|
/**
|
|
3961
|
-
*
|
|
4043
|
+
* 会话实际使用的浏览器后端:cloud 是云浏览器(Browser Run),container 是我们自己的 Chrome 容器,byob 是用户自己配对的浏览器(browser 为它的 ID)。type 与 kind 同值,type 是公开名称,kind 为兼容旧读者保留。
|
|
3962
4044
|
*/
|
|
3963
4045
|
source: {
|
|
3964
4046
|
/**
|
|
3965
4047
|
* 云浏览器会话,固定为 cloud。
|
|
3966
4048
|
*/
|
|
4049
|
+
type: 'cloud';
|
|
4050
|
+
/**
|
|
4051
|
+
* 与 type 同值。
|
|
4052
|
+
*/
|
|
3967
4053
|
kind: 'cloud';
|
|
4054
|
+
} | {
|
|
4055
|
+
/**
|
|
4056
|
+
* 自家 Chrome 容器会话,固定为 container。
|
|
4057
|
+
*/
|
|
4058
|
+
type: 'container';
|
|
4059
|
+
/**
|
|
4060
|
+
* 与 type 同值。
|
|
4061
|
+
*/
|
|
4062
|
+
kind: 'container';
|
|
3968
4063
|
} | {
|
|
3969
4064
|
/**
|
|
3970
4065
|
* 用户自己配对的浏览器会话,固定为 byob。
|
|
3971
4066
|
*/
|
|
4067
|
+
type: 'byob';
|
|
4068
|
+
/**
|
|
4069
|
+
* 与 type 同值。
|
|
4070
|
+
*/
|
|
3972
4071
|
kind: 'byob';
|
|
3973
4072
|
/**
|
|
3974
4073
|
* 自带浏览器 ID,以 byb_ 开头。
|
|
@@ -4052,9 +4151,9 @@ export type BrowserSessionGetResult = {
|
|
|
4052
4151
|
*/
|
|
4053
4152
|
region: 'ap-southeast-1';
|
|
4054
4153
|
/**
|
|
4055
|
-
*
|
|
4154
|
+
* 会话经代理链转发的流量字节数(上行与下行之和),容器后端的会话按它计费;Browser Run 和自带浏览器固定为 0,运行中每几分钟更新一次。
|
|
4056
4155
|
*/
|
|
4057
|
-
proxyBytes:
|
|
4156
|
+
proxyBytes: number;
|
|
4058
4157
|
/**
|
|
4059
4158
|
* 会话创建时刻,UTC ISO 8601 时间。
|
|
4060
4159
|
*/
|
|
@@ -4100,17 +4199,34 @@ export type BrowserSessionGetResult = {
|
|
|
4100
4199
|
*/
|
|
4101
4200
|
origin: 'api' | 'connect' | 'console';
|
|
4102
4201
|
/**
|
|
4103
|
-
*
|
|
4202
|
+
* 会话实际使用的浏览器后端:cloud 是云浏览器(Browser Run),container 是我们自己的 Chrome 容器,byob 是用户自己配对的浏览器(browser 为它的 ID)。type 与 kind 同值,type 是公开名称,kind 为兼容旧读者保留。
|
|
4104
4203
|
*/
|
|
4105
4204
|
source: {
|
|
4106
4205
|
/**
|
|
4107
4206
|
* 云浏览器会话,固定为 cloud。
|
|
4108
4207
|
*/
|
|
4208
|
+
type: 'cloud';
|
|
4209
|
+
/**
|
|
4210
|
+
* 与 type 同值。
|
|
4211
|
+
*/
|
|
4109
4212
|
kind: 'cloud';
|
|
4213
|
+
} | {
|
|
4214
|
+
/**
|
|
4215
|
+
* 自家 Chrome 容器会话,固定为 container。
|
|
4216
|
+
*/
|
|
4217
|
+
type: 'container';
|
|
4218
|
+
/**
|
|
4219
|
+
* 与 type 同值。
|
|
4220
|
+
*/
|
|
4221
|
+
kind: 'container';
|
|
4110
4222
|
} | {
|
|
4111
4223
|
/**
|
|
4112
4224
|
* 用户自己配对的浏览器会话,固定为 byob。
|
|
4113
4225
|
*/
|
|
4226
|
+
type: 'byob';
|
|
4227
|
+
/**
|
|
4228
|
+
* 与 type 同值。
|
|
4229
|
+
*/
|
|
4114
4230
|
kind: 'byob';
|
|
4115
4231
|
/**
|
|
4116
4232
|
* 自带浏览器 ID,以 byb_ 开头。
|
|
@@ -4311,6 +4427,36 @@ export type BrowserContextCreateResult = {
|
|
|
4311
4427
|
* UTC timestamp when a session last started with this context; absent if it has never been used.
|
|
4312
4428
|
*/
|
|
4313
4429
|
lastUsedAt?: string;
|
|
4430
|
+
/**
|
|
4431
|
+
* 登录态绑定的固定外部代理(只含保管库引用,不含密码);没有绑定时省略。
|
|
4432
|
+
*/
|
|
4433
|
+
proxy?: {
|
|
4434
|
+
/**
|
|
4435
|
+
* 固定为 external:经一个你自己的外部 HTTP 代理出网。
|
|
4436
|
+
*/
|
|
4437
|
+
type: 'external';
|
|
4438
|
+
/**
|
|
4439
|
+
* 代理地址,host:port 或 http://host:port;只支持 HTTP 代理,不接受 socks5:// 等协议,也不接受 localhost 和内网、链路本地地址。
|
|
4440
|
+
*/
|
|
4441
|
+
server: string;
|
|
4442
|
+
/**
|
|
4443
|
+
* 代理用户名;有密码时才能填,填了就必须同时给出密码。
|
|
4444
|
+
*/
|
|
4445
|
+
username?: string;
|
|
4446
|
+
/**
|
|
4447
|
+
* 必须用这种形式:引用保管库里的代理密码,只在连接这个代理的主机时兑换,不会交给网页。登录态里只存引用,传明文 password 返回 400 INVALID_PARAMS。
|
|
4448
|
+
*/
|
|
4449
|
+
password_secret?: {
|
|
4450
|
+
/**
|
|
4451
|
+
* 保存代理密码的保管库 ID,以 vlt_ 开头。
|
|
4452
|
+
*/
|
|
4453
|
+
vault_id: string;
|
|
4454
|
+
/**
|
|
4455
|
+
* 保管库中该密码的密钥 ID(不是密码本身)。
|
|
4456
|
+
*/
|
|
4457
|
+
secret: string;
|
|
4458
|
+
};
|
|
4459
|
+
};
|
|
4314
4460
|
/**
|
|
4315
4461
|
* Empty compatibility field; context encryption keys are held by the server.
|
|
4316
4462
|
*/
|
|
@@ -4371,6 +4517,36 @@ export type BrowserContext = {
|
|
|
4371
4517
|
* UTC timestamp when a session last started with this context; absent if it has never been used.
|
|
4372
4518
|
*/
|
|
4373
4519
|
lastUsedAt?: string;
|
|
4520
|
+
/**
|
|
4521
|
+
* 登录态绑定的固定外部代理(只含保管库引用,不含密码);没有绑定时省略。
|
|
4522
|
+
*/
|
|
4523
|
+
proxy?: {
|
|
4524
|
+
/**
|
|
4525
|
+
* 固定为 external:经一个你自己的外部 HTTP 代理出网。
|
|
4526
|
+
*/
|
|
4527
|
+
type: 'external';
|
|
4528
|
+
/**
|
|
4529
|
+
* 代理地址,host:port 或 http://host:port;只支持 HTTP 代理,不接受 socks5:// 等协议,也不接受 localhost 和内网、链路本地地址。
|
|
4530
|
+
*/
|
|
4531
|
+
server: string;
|
|
4532
|
+
/**
|
|
4533
|
+
* 代理用户名;有密码时才能填,填了就必须同时给出密码。
|
|
4534
|
+
*/
|
|
4535
|
+
username?: string;
|
|
4536
|
+
/**
|
|
4537
|
+
* 必须用这种形式:引用保管库里的代理密码,只在连接这个代理的主机时兑换,不会交给网页。登录态里只存引用,传明文 password 返回 400 INVALID_PARAMS。
|
|
4538
|
+
*/
|
|
4539
|
+
password_secret?: {
|
|
4540
|
+
/**
|
|
4541
|
+
* 保存代理密码的保管库 ID,以 vlt_ 开头。
|
|
4542
|
+
*/
|
|
4543
|
+
vault_id: string;
|
|
4544
|
+
/**
|
|
4545
|
+
* 保管库中该密码的密钥 ID(不是密码本身)。
|
|
4546
|
+
*/
|
|
4547
|
+
secret: string;
|
|
4548
|
+
};
|
|
4549
|
+
};
|
|
4374
4550
|
};
|
|
4375
4551
|
export type BrowserByobPairing = {
|
|
4376
4552
|
/**
|
|
@@ -4411,14 +4587,6 @@ export type BrowserByobBrowser = {
|
|
|
4411
4587
|
* 配对用的扩展 ID。
|
|
4412
4588
|
*/
|
|
4413
4589
|
extension_id: string;
|
|
4414
|
-
/**
|
|
4415
|
-
* 被授权驱动这个浏览器的智能体 ID 列表;智能体不在列表里时不能打开它的会话。空数组表示没有智能体被授权。
|
|
4416
|
-
*/
|
|
4417
|
-
granted_agents: Array<string>;
|
|
4418
|
-
/**
|
|
4419
|
-
* 允许智能体访问的站点列表;空数组表示不限制 http(s) 站点。这是护栏,不是数据边界。
|
|
4420
|
-
*/
|
|
4421
|
-
allowed_sites: Array<string>;
|
|
4422
4590
|
/**
|
|
4423
4591
|
* 扩展的连接当前是否在线;连接对象上线之前固定为 false。
|
|
4424
4592
|
*/
|
|
@@ -34932,6 +35100,14 @@ export type SandboxSandboxNetworkConfig = {
|
|
|
34932
35100
|
rules?: {
|
|
34933
35101
|
[key: string]: Array<SandboxSandboxNetworkRule>;
|
|
34934
35102
|
};
|
|
35103
|
+
/**
|
|
35104
|
+
* Own face, persistent sandboxes only (autoPause: true, or ephemeral: false): true gives the sandbox one fixed public egress IP for its whole life, held through pause and resume and released when the sandbox is deleted. Without it the egress IP is not stable: it changes when a spot machine is reclaimed, when a paused machine starts again, and when the machine is rebuilt. An ephemeral sandbox returns INVALID_PARAMS; the E2B face refuses the field; it is placed only on capacity that declares static IPs, and without such capacity the create does not start (it never falls back to a changing IP). Billed as the usage item sandbox:public_ip:hours from allocation to release, paused time included, plus outbound traffic as usual.
|
|
35105
|
+
*/
|
|
35106
|
+
staticEgressIp?: boolean;
|
|
35107
|
+
/**
|
|
35108
|
+
* Own face, read-only: the fixed public egress IP of a sandbox created with staticEgressIp: true, present once the machine has bound it; add this address to the IP allowlist of the service you call (for example a WeCom trusted IP list). Absent on a sandbox that did not ask for a static IP, because its public address can change.
|
|
35109
|
+
*/
|
|
35110
|
+
readonly egressIp?: string;
|
|
34935
35111
|
};
|
|
34936
35112
|
/**
|
|
34937
35113
|
* Sandbox lifecycle policy returned by sandbox info.
|
|
@@ -40205,6 +40381,10 @@ export type DevopsUnitGit = {
|
|
|
40205
40381
|
* The ref holding the unit's work in progress, or null when none was recorded.
|
|
40206
40382
|
*/
|
|
40207
40383
|
wipRef: string | null;
|
|
40384
|
+
/**
|
|
40385
|
+
* The branch's head on the remote as of the last fetch: the value units push wants as expectedHead. Absent before the first observation or when the branch has no upstream. Call fetch first when someone else may have pushed.
|
|
40386
|
+
*/
|
|
40387
|
+
remoteHead?: string;
|
|
40208
40388
|
/**
|
|
40209
40389
|
* RFC 3339 UTC time these facts were observed, or null before the first observation.
|
|
40210
40390
|
*/
|
|
@@ -48068,7 +48248,7 @@ export type DevopsPlannedSkip = {
|
|
|
48068
48248
|
/**
|
|
48069
48249
|
* Why it is left out, which is what tells a deliberate skip apart from an oversight.
|
|
48070
48250
|
*/
|
|
48071
|
-
reason: 'unchanged' | 'newer_checkpoint' | 'not_requested' | 'callee_excluded' | 'artifact_identical';
|
|
48251
|
+
reason: 'unchanged' | 'newer_checkpoint' | 'not_requested' | 'callee_excluded' | 'not_deployed_upstream' | 'artifact_identical';
|
|
48072
48252
|
};
|
|
48073
48253
|
/**
|
|
48074
48254
|
* The migrations one target has pending, as the plan found them.
|
|
@@ -50923,6 +51103,58 @@ export type UpdateMediaPipelineRequestWritable = {
|
|
|
50923
51103
|
* Models to use for completion
|
|
50924
51104
|
*/
|
|
50925
51105
|
export type OpenaiChatModelNamesWritable = Array<OpenaiModelName & unknown>;
|
|
51106
|
+
export type SandboxSandboxDetailWritable = {
|
|
51107
|
+
/**
|
|
51108
|
+
* Identifier of the template from which is the sandbox created
|
|
51109
|
+
*/
|
|
51110
|
+
templateID: string;
|
|
51111
|
+
/**
|
|
51112
|
+
* Alias of the template
|
|
51113
|
+
*/
|
|
51114
|
+
alias?: string;
|
|
51115
|
+
/**
|
|
51116
|
+
* Identifier of the sandbox
|
|
51117
|
+
*/
|
|
51118
|
+
sandboxID: string;
|
|
51119
|
+
/**
|
|
51120
|
+
* Identifier of the client
|
|
51121
|
+
*
|
|
51122
|
+
* @deprecated
|
|
51123
|
+
*/
|
|
51124
|
+
clientID: string;
|
|
51125
|
+
/**
|
|
51126
|
+
* Time when the sandbox was started
|
|
51127
|
+
*/
|
|
51128
|
+
startedAt: string;
|
|
51129
|
+
/**
|
|
51130
|
+
* Time when the sandbox will expire
|
|
51131
|
+
*/
|
|
51132
|
+
endAt: string;
|
|
51133
|
+
envdVersion: SandboxEnvdVersion;
|
|
51134
|
+
/**
|
|
51135
|
+
* Access token used for envd communication
|
|
51136
|
+
*/
|
|
51137
|
+
envdAccessToken?: string;
|
|
51138
|
+
/**
|
|
51139
|
+
* Whether internet access was explicitly enabled or disabled for the sandbox. Null means it was not explicitly set.
|
|
51140
|
+
*/
|
|
51141
|
+
allowInternetAccess?: boolean;
|
|
51142
|
+
/**
|
|
51143
|
+
* Base domain where the sandbox traffic is accessible
|
|
51144
|
+
*/
|
|
51145
|
+
domain?: string;
|
|
51146
|
+
cpuCount: SandboxCpuCount;
|
|
51147
|
+
memoryMB: SandboxMemoryMb;
|
|
51148
|
+
diskSizeMB: SandboxDiskSizeMb;
|
|
51149
|
+
metadata?: SandboxSandboxMetadata;
|
|
51150
|
+
state: SandboxSandboxState;
|
|
51151
|
+
network?: SandboxSandboxNetworkConfigWritable;
|
|
51152
|
+
lifecycle?: SandboxSandboxLifecycle;
|
|
51153
|
+
/**
|
|
51154
|
+
* Volumes mounted into the sandbox.
|
|
51155
|
+
*/
|
|
51156
|
+
volumeMounts?: Array<SandboxSandboxVolumeMount>;
|
|
51157
|
+
};
|
|
50926
51158
|
/**
|
|
50927
51159
|
* Free-form string key/value pairs stored with the session, changed through sessions.update patch semantics.
|
|
50928
51160
|
*/
|
|
@@ -51502,6 +51734,94 @@ export type MediaSemanticSearchResultWritable = {
|
|
|
51502
51734
|
*/
|
|
51503
51735
|
not_ready_excluded: number;
|
|
51504
51736
|
};
|
|
51737
|
+
/**
|
|
51738
|
+
* Sandbox creation request. All system communication with the sandbox is always secured; the template's envd version must support secured access.
|
|
51739
|
+
*/
|
|
51740
|
+
export type SandboxNewSandboxV2Writable = {
|
|
51741
|
+
/**
|
|
51742
|
+
* Identifier of the required template
|
|
51743
|
+
*/
|
|
51744
|
+
templateID: string;
|
|
51745
|
+
/**
|
|
51746
|
+
* Lifetime of the new sandbox in seconds. Defaults to 300 seconds when omitted.
|
|
51747
|
+
*/
|
|
51748
|
+
timeout?: number;
|
|
51749
|
+
/**
|
|
51750
|
+
* Lifecycle declaration on the E2B-compatible face. true creates a persistent sandbox that pauses at its timeout and can be resumed; false or absent creates an ephemeral sandbox that ends at its timeout and keeps nothing. Keep true only for long-lived computers. The own face declares with ephemeral instead.
|
|
51751
|
+
*/
|
|
51752
|
+
autoPause?: boolean;
|
|
51753
|
+
/**
|
|
51754
|
+
* Controls the snapshot kind taken when the sandbox auto-pauses on timeout (only relevant when autoPause is true). When false, the auto-pause drops the in-memory state and persists only the filesystem (a filesystem-only snapshot); resuming it cold-boots (reboots) the sandbox from disk. Such a snapshot cannot be auto-resumed by traffic and must be resumed explicitly, so it cannot be combined with autoResume. Defaults to true (full memory snapshot).
|
|
51755
|
+
*/
|
|
51756
|
+
autoPauseMemory?: boolean;
|
|
51757
|
+
autoResume?: SandboxSandboxAutoResumeConfig;
|
|
51758
|
+
/**
|
|
51759
|
+
* Allow sandbox to access the internet. When set to false, it behaves the same as specifying denyOut to 0.0.0.0/0 in the network config.
|
|
51760
|
+
*/
|
|
51761
|
+
allow_internet_access?: boolean;
|
|
51762
|
+
network?: SandboxSandboxNetworkConfigWritable;
|
|
51763
|
+
metadata?: SandboxSandboxMetadata;
|
|
51764
|
+
envVars?: SandboxEnvVars;
|
|
51765
|
+
mcp?: SandboxMcp;
|
|
51766
|
+
iam?: SandboxSandboxIam;
|
|
51767
|
+
/**
|
|
51768
|
+
* Volumes to mount into the sandbox, each with the volume name and the path inside the sandbox.
|
|
51769
|
+
*/
|
|
51770
|
+
volumeMounts?: Array<SandboxSandboxVolumeMount>;
|
|
51771
|
+
/**
|
|
51772
|
+
* Own face, required unless sku is named: 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.
|
|
51773
|
+
*/
|
|
51774
|
+
ephemeral?: boolean;
|
|
51775
|
+
/**
|
|
51776
|
+
* 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.
|
|
51777
|
+
*/
|
|
51778
|
+
size?: string;
|
|
51779
|
+
/**
|
|
51780
|
+
* Own face: a display name for the sandbox, 1 to 64 characters. Omitted, one is generated from the template.
|
|
51781
|
+
*/
|
|
51782
|
+
name?: string;
|
|
51783
|
+
/**
|
|
51784
|
+
* 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.
|
|
51785
|
+
*/
|
|
51786
|
+
waitForReady?: boolean;
|
|
51787
|
+
/**
|
|
51788
|
+
* Own face: what happens at the timeout. pause needs ephemeral: false; must agree with autoPause when both are sent.
|
|
51789
|
+
*/
|
|
51790
|
+
onExpire?: 'kill' | 'pause';
|
|
51791
|
+
/**
|
|
51792
|
+
* Own face, persistent sandboxes only: pause after this many milliseconds without activity; null turns the idle pause off.
|
|
51793
|
+
*/
|
|
51794
|
+
idleTimeout?: number;
|
|
51795
|
+
/**
|
|
51796
|
+
* 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.
|
|
51797
|
+
*/
|
|
51798
|
+
idleActivity?: 'traffic' | 'caller';
|
|
51799
|
+
/**
|
|
51800
|
+
* Own face: a demand-profile SKU <kind>.<image>.<size>, such as run.document.medium (someone waits; starts fast), job.base.large (background work that must not be cut off), batch.base.large (retried work that may be reclaimed) or computer.base.medium (keeps its disk). It fixes ephemeral, interruptible, size and the template, so those may be left out; any of them you also send must agree with it, otherwise the create fails with INVALID_PARAMS naming the field. The sandbox answers it back as sku and as the read-only label praxis.sku.
|
|
51801
|
+
*/
|
|
51802
|
+
sku?: string;
|
|
51803
|
+
/**
|
|
51804
|
+
* Own face: the kind of sandbox you need, when you do not name a full sku. The sandbox completes <kind>.<image>.<size> from the template you start (its family, or custom for your own environment or snapshot) and the size you send, or medium. run is for work someone waits for (starts fast), job is background work that must not be cut off, batch is retried work that may be reclaimed (spot capacity), computer keeps its disk, and compat is the E2B-compatible persistent series. The kind fixes ephemeral and interruptible, so leave those out; if you also send them, or a sku of another kind, the create fails with INVALID_PARAMS naming the field. The light template always starts the light shell, whatever the kind says.
|
|
51805
|
+
*/
|
|
51806
|
+
kind?: 'run' | 'job' | 'batch' | 'computer' | 'compat';
|
|
51807
|
+
/**
|
|
51808
|
+
* Own face, ephemeral sandboxes only: true says this sandbox may be reclaimed while it runs (a build or test you retry), which lets it run on cheaper spot capacity. A reclaimed sandbox ends with PROVIDER_FAILED; create it again. Absent or false keeps the usual capacity.
|
|
51809
|
+
*/
|
|
51810
|
+
interruptible?: boolean;
|
|
51811
|
+
/**
|
|
51812
|
+
* 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.
|
|
51813
|
+
*/
|
|
51814
|
+
onLoss?: 'fail' | 'rebuild';
|
|
51815
|
+
/**
|
|
51816
|
+
* 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.
|
|
51817
|
+
*/
|
|
51818
|
+
outputs?: Array<{
|
|
51819
|
+
/**
|
|
51820
|
+
* Absolute path of a directory or file inside the sandbox.
|
|
51821
|
+
*/
|
|
51822
|
+
path: string;
|
|
51823
|
+
}>;
|
|
51824
|
+
};
|
|
51505
51825
|
/**
|
|
51506
51826
|
* Arguments the model passed to the tool.
|
|
51507
51827
|
*/
|
|
@@ -51580,6 +51900,43 @@ export type AnthropicAnonymous204Writable = {
|
|
|
51580
51900
|
export type AnthropicAnonymous206Writable = {
|
|
51581
51901
|
[key: string]: unknown;
|
|
51582
51902
|
};
|
|
51903
|
+
/**
|
|
51904
|
+
* Network policy of the sandbox: public access, egress allow and deny lists and proxy.
|
|
51905
|
+
*/
|
|
51906
|
+
export type SandboxSandboxNetworkConfigWritable = {
|
|
51907
|
+
/**
|
|
51908
|
+
* Specify if the sandbox URLs should be accessible only with authentication.
|
|
51909
|
+
*/
|
|
51910
|
+
allowPublicTraffic?: boolean;
|
|
51911
|
+
/**
|
|
51912
|
+
* List of allowed destinations for egress traffic. Each entry can be a CIDR block (e.g. "8.8.8.8/32"), a bare IP address (e.g. "8.8.8.8"), or a domain name (e.g. "example.com", "*.example.com"). Allowed entries always take precedence over denied entries.
|
|
51913
|
+
*/
|
|
51914
|
+
allowOut?: Array<string>;
|
|
51915
|
+
/**
|
|
51916
|
+
* List of denied CIDR blocks or IP addresses for egress traffic. Domain names are not supported for deny rules.
|
|
51917
|
+
*/
|
|
51918
|
+
denyOut?: Array<string>;
|
|
51919
|
+
egressProxy?: SandboxSandboxEgressProxyConfig;
|
|
51920
|
+
/**
|
|
51921
|
+
* Specify host mask which will be used for all sandbox requests
|
|
51922
|
+
*/
|
|
51923
|
+
maskRequestHost?: string;
|
|
51924
|
+
/**
|
|
51925
|
+
* Unlike E2B, network.httpsPorts is rejected; omit it when creating a sandbox.
|
|
51926
|
+
*/
|
|
51927
|
+
httpsPorts?: Array<number>;
|
|
51928
|
+
/**
|
|
51929
|
+
* Per-domain transform rules applied to matching outbound HTTPS requests. Keys may be exact DNS names (for example, "api.example.com") or a leading wildcard (for example, "*.example.com"), and are normalized to lowercase on write. Wildcards match subdomains at any depth but not the apex domain; a bare "*" is invalid. Exact rules take precedence, followed by the longest matching wildcard suffix, and matching rule sets are not merged. Broad wildcards such as "*.com" are allowed and may expose transformed credentials to every matching destination the sandbox contacts. Rules do not grant network access; configure allowOut separately to permit the destination.
|
|
51930
|
+
*
|
|
51931
|
+
*/
|
|
51932
|
+
rules?: {
|
|
51933
|
+
[key: string]: Array<SandboxSandboxNetworkRule>;
|
|
51934
|
+
};
|
|
51935
|
+
/**
|
|
51936
|
+
* Own face, persistent sandboxes only (autoPause: true, or ephemeral: false): true gives the sandbox one fixed public egress IP for its whole life, held through pause and resume and released when the sandbox is deleted. Without it the egress IP is not stable: it changes when a spot machine is reclaimed, when a paused machine starts again, and when the machine is rebuilt. An ephemeral sandbox returns INVALID_PARAMS; the E2B face refuses the field; it is placed only on capacity that declares static IPs, and without such capacity the create does not start (it never falls back to a changing IP). Billed as the usage item sandbox:public_ip:hours from allocation to release, paused time included, plus outbound traffic as usual.
|
|
51937
|
+
*/
|
|
51938
|
+
staticEgressIp?: boolean;
|
|
51939
|
+
};
|
|
51583
51940
|
/**
|
|
51584
51941
|
* Free-form string key/value pairs.
|
|
51585
51942
|
*/
|
|
@@ -54307,6 +54664,86 @@ export type ListAgentInboxLettersResponses = {
|
|
|
54307
54664
|
};
|
|
54308
54665
|
};
|
|
54309
54666
|
export type ListAgentInboxLettersResponse = ListAgentInboxLettersResponses[keyof ListAgentInboxLettersResponses];
|
|
54667
|
+
export type ListAgentDeviceLocalSessionsData = {
|
|
54668
|
+
body?: never;
|
|
54669
|
+
path: {
|
|
54670
|
+
/**
|
|
54671
|
+
* The BYOA agent: its agent_… id, eight character identity number or handle, from agents.list; resolved in your organization. Also accepts an 8-character identity number (0–9, A–Z); malformed, absent and foreign references return 404, and response ids always use agent_….
|
|
54672
|
+
*/
|
|
54673
|
+
agent_id: string;
|
|
54674
|
+
/**
|
|
54675
|
+
* The paired desktop device (byd_ and 26 hex characters) whose sessions to list; you must be the person who paired it.
|
|
54676
|
+
*/
|
|
54677
|
+
device_id: string;
|
|
54678
|
+
};
|
|
54679
|
+
query: {
|
|
54680
|
+
/**
|
|
54681
|
+
* The absolute directory on the device, exactly as the device registered it and bound it to this agent.
|
|
54682
|
+
*/
|
|
54683
|
+
cwd: string;
|
|
54684
|
+
/**
|
|
54685
|
+
* The next_cursor of the previous page; leave it out for the first page.
|
|
54686
|
+
*/
|
|
54687
|
+
cursor?: string;
|
|
54688
|
+
};
|
|
54689
|
+
url: '/agent/v1/agents/{agent_id}/devices/{device_id}/local-sessions';
|
|
54690
|
+
};
|
|
54691
|
+
export type ListAgentDeviceLocalSessionsErrors = {
|
|
54692
|
+
/**
|
|
54693
|
+
* INVALID_PARAMS: cwd is missing, not absolute or not bound to this agent on that device, the device is not one you paired, or a query parameter is unsupported; ASSUME_AGENT_REQUIRED: the agent is not a BYOA agent.
|
|
54694
|
+
*/
|
|
54695
|
+
400: unknown;
|
|
54696
|
+
/**
|
|
54697
|
+
* Authenticate with your own API key or a console session; an agent's or robot's credential cannot list a person's device.
|
|
54698
|
+
*/
|
|
54699
|
+
401: unknown;
|
|
54700
|
+
/**
|
|
54701
|
+
* permission_error: the credential's role or bound resources do not allow this operation. Use a key with access to the agent domain and its resources.
|
|
54702
|
+
*/
|
|
54703
|
+
403: AgentError;
|
|
54704
|
+
/**
|
|
54705
|
+
* AGENT_NOT_FOUND: no agent with this reference exists in your organization; list agents with agents.list.
|
|
54706
|
+
*/
|
|
54707
|
+
404: unknown;
|
|
54708
|
+
/**
|
|
54709
|
+
* DEVICE_NOT_READY: the device is offline; retry once it is connected. DEVICE_TIMEOUT (504) means it is connected but did not answer in time.
|
|
54710
|
+
*/
|
|
54711
|
+
503: unknown;
|
|
54712
|
+
};
|
|
54713
|
+
export type ListAgentDeviceLocalSessionsError = ListAgentDeviceLocalSessionsErrors[keyof ListAgentDeviceLocalSessionsErrors];
|
|
54714
|
+
export type ListAgentDeviceLocalSessionsResponses = {
|
|
54715
|
+
/**
|
|
54716
|
+
* One page of the device's sessions for that directory, newest first.
|
|
54717
|
+
*/
|
|
54718
|
+
200: {
|
|
54719
|
+
/**
|
|
54720
|
+
* The sessions of this page; empty when the directory has none.
|
|
54721
|
+
*/
|
|
54722
|
+
data: Array<{
|
|
54723
|
+
/**
|
|
54724
|
+
* The Claude Code session id on the device; pass it as runtime.resume_session_id when creating a session to continue it.
|
|
54725
|
+
*/
|
|
54726
|
+
id: string;
|
|
54727
|
+
/**
|
|
54728
|
+
* The session's title as Claude Code shows it; empty when it has none.
|
|
54729
|
+
*/
|
|
54730
|
+
title: string;
|
|
54731
|
+
/**
|
|
54732
|
+
* When the session was last written to, RFC 3339; sessions are ordered newest first.
|
|
54733
|
+
*/
|
|
54734
|
+
updated_at: string | null;
|
|
54735
|
+
/**
|
|
54736
|
+
* The directory the session ran in on the device.
|
|
54737
|
+
*/
|
|
54738
|
+
cwd: string | null;
|
|
54739
|
+
}>;
|
|
54740
|
+
/**
|
|
54741
|
+
* Pass as cursor for the next page; null on the last page.
|
|
54742
|
+
*/
|
|
54743
|
+
next_cursor: string | null;
|
|
54744
|
+
};
|
|
54745
|
+
};
|
|
54746
|
+
export type ListAgentDeviceLocalSessionsResponse = ListAgentDeviceLocalSessionsResponses[keyof ListAgentDeviceLocalSessionsResponses];
|
|
54310
54747
|
export type CreateAgentLoginIntentData = {
|
|
54311
54748
|
body?: never;
|
|
54312
54749
|
path?: never;
|
|
@@ -55601,7 +56038,7 @@ export type ApplyAgentVersionResponses = {
|
|
|
55601
56038
|
*/
|
|
55602
56039
|
environment_id?: string | null;
|
|
55603
56040
|
/**
|
|
55604
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
56041
|
+
* Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
|
|
55605
56042
|
*/
|
|
55606
56043
|
vault_ids?: Array<string>;
|
|
55607
56044
|
/**
|
|
@@ -56861,7 +57298,7 @@ export type UnarchiveAgentResponses = {
|
|
|
56861
57298
|
*/
|
|
56862
57299
|
environment_id?: string | null;
|
|
56863
57300
|
/**
|
|
56864
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
57301
|
+
* Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
|
|
56865
57302
|
*/
|
|
56866
57303
|
vault_ids?: Array<string>;
|
|
56867
57304
|
/**
|
|
@@ -59330,9 +59767,13 @@ export type ComputersRetrieveResponse = ComputersRetrieveResponses[keyof Compute
|
|
|
59330
59767
|
export type ComputersUpdateData = {
|
|
59331
59768
|
body: {
|
|
59332
59769
|
/**
|
|
59333
|
-
*
|
|
59770
|
+
* New display name, 1 to 255 characters after trimming. Omit to keep the current name.
|
|
59334
59771
|
*/
|
|
59335
|
-
name
|
|
59772
|
+
name?: string;
|
|
59773
|
+
/**
|
|
59774
|
+
* Environment recipe the computer declares (agent.environments.list or agent.environments.create, or a built-in id). A string sets the declaration and is checked as in computers.create: an unknown, foreign or archived environment is refused. null removes the declaration. Omit to leave it unchanged. Only the record changes: the machine is not touched or restarted, so the new declaration applies from the computer's next start; restart the computer once to apply it at once.
|
|
59775
|
+
*/
|
|
59776
|
+
environment_id?: string | null;
|
|
59336
59777
|
};
|
|
59337
59778
|
path: {
|
|
59338
59779
|
/**
|
|
@@ -61502,7 +61943,7 @@ export type ComputersFilesConvertResponse = ComputersFilesConvertResponses[keyof
|
|
|
61502
61943
|
export type ConnectComputerData = {
|
|
61503
61944
|
body?: {
|
|
61504
61945
|
/**
|
|
61505
|
-
*
|
|
61946
|
+
* Accepted for compatibility and ignored: light and heavy both reach the same machine, because a Computer is one machine. Omit it.
|
|
61506
61947
|
*/
|
|
61507
61948
|
need?: 'light' | 'heavy';
|
|
61508
61949
|
};
|
|
@@ -69106,7 +69547,7 @@ export type BrowserListSessionsErrors = {
|
|
|
69106
69547
|
*/
|
|
69107
69548
|
402: BrowserError;
|
|
69108
69549
|
/**
|
|
69109
|
-
* PERMISSION_DENIED /
|
|
69550
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69110
69551
|
*/
|
|
69111
69552
|
403: BrowserError;
|
|
69112
69553
|
/**
|
|
@@ -69187,7 +69628,7 @@ export type BrowserCreateSessionErrors = {
|
|
|
69187
69628
|
*/
|
|
69188
69629
|
402: BrowserError;
|
|
69189
69630
|
/**
|
|
69190
|
-
* PERMISSION_DENIED /
|
|
69631
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69191
69632
|
*/
|
|
69192
69633
|
403: BrowserError;
|
|
69193
69634
|
/**
|
|
@@ -69273,7 +69714,7 @@ export type BrowserGetSessionErrors = {
|
|
|
69273
69714
|
*/
|
|
69274
69715
|
402: BrowserError;
|
|
69275
69716
|
/**
|
|
69276
|
-
* PERMISSION_DENIED /
|
|
69717
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69277
69718
|
*/
|
|
69278
69719
|
403: BrowserError;
|
|
69279
69720
|
/**
|
|
@@ -69355,7 +69796,7 @@ export type BrowserCloseSessionErrors = {
|
|
|
69355
69796
|
*/
|
|
69356
69797
|
402: BrowserError;
|
|
69357
69798
|
/**
|
|
69358
|
-
* PERMISSION_DENIED /
|
|
69799
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69359
69800
|
*/
|
|
69360
69801
|
403: BrowserError;
|
|
69361
69802
|
/**
|
|
@@ -69432,7 +69873,7 @@ export type BrowserGetDebugErrors = {
|
|
|
69432
69873
|
*/
|
|
69433
69874
|
402: BrowserError;
|
|
69434
69875
|
/**
|
|
69435
|
-
* PERMISSION_DENIED /
|
|
69876
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69436
69877
|
*/
|
|
69437
69878
|
403: BrowserError;
|
|
69438
69879
|
/**
|
|
@@ -69522,7 +69963,7 @@ export type BrowserListEventsErrors = {
|
|
|
69522
69963
|
*/
|
|
69523
69964
|
402: BrowserError;
|
|
69524
69965
|
/**
|
|
69525
|
-
* PERMISSION_DENIED /
|
|
69966
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69526
69967
|
*/
|
|
69527
69968
|
403: BrowserError;
|
|
69528
69969
|
/**
|
|
@@ -69805,7 +70246,7 @@ export type BrowserRunPageActionErrors = {
|
|
|
69805
70246
|
*/
|
|
69806
70247
|
402: BrowserError;
|
|
69807
70248
|
/**
|
|
69808
|
-
* PERMISSION_DENIED /
|
|
70249
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69809
70250
|
*/
|
|
69810
70251
|
403: BrowserError;
|
|
69811
70252
|
/**
|
|
@@ -70027,7 +70468,7 @@ export type BrowserRequestHandoffErrors = {
|
|
|
70027
70468
|
*/
|
|
70028
70469
|
402: BrowserError;
|
|
70029
70470
|
/**
|
|
70030
|
-
* PERMISSION_DENIED /
|
|
70471
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70031
70472
|
*/
|
|
70032
70473
|
403: BrowserError;
|
|
70033
70474
|
/**
|
|
@@ -70104,7 +70545,7 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
70104
70545
|
*/
|
|
70105
70546
|
402: BrowserError;
|
|
70106
70547
|
/**
|
|
70107
|
-
* PERMISSION_DENIED /
|
|
70548
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70108
70549
|
*/
|
|
70109
70550
|
403: BrowserError;
|
|
70110
70551
|
/**
|
|
@@ -70190,7 +70631,7 @@ export type BrowserViewerHeartbeatErrors = {
|
|
|
70190
70631
|
*/
|
|
70191
70632
|
402: BrowserError;
|
|
70192
70633
|
/**
|
|
70193
|
-
* PERMISSION_DENIED /
|
|
70634
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70194
70635
|
*/
|
|
70195
70636
|
403: BrowserError;
|
|
70196
70637
|
/**
|
|
@@ -70272,7 +70713,7 @@ export type BrowserGetSessionFrameErrors = {
|
|
|
70272
70713
|
*/
|
|
70273
70714
|
402: BrowserError;
|
|
70274
70715
|
/**
|
|
70275
|
-
* PERMISSION_DENIED /
|
|
70716
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70276
70717
|
*/
|
|
70277
70718
|
403: BrowserError;
|
|
70278
70719
|
/**
|
|
@@ -70357,7 +70798,7 @@ export type BrowserListContextsErrors = {
|
|
|
70357
70798
|
*/
|
|
70358
70799
|
402: BrowserError;
|
|
70359
70800
|
/**
|
|
70360
|
-
* PERMISSION_DENIED /
|
|
70801
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70361
70802
|
*/
|
|
70362
70803
|
403: BrowserError;
|
|
70363
70804
|
/**
|
|
@@ -70434,6 +70875,36 @@ export type BrowserCreateContextData = {
|
|
|
70434
70875
|
labels?: {
|
|
70435
70876
|
[key: string]: string;
|
|
70436
70877
|
};
|
|
70878
|
+
/**
|
|
70879
|
+
* 给登录态绑定一个固定的外部代理(如住宅 IP),使用这个登录态的会话没有写 proxies 时都经它出网,让同一账号始终从同一个出口地址出去。只存保管库引用(password_secret),不存密码;会话自己写了 proxies 时以会话的为准。需要组织已开通容器后端,否则返回 501 PROVIDER_UNSUPPORTED。
|
|
70880
|
+
*/
|
|
70881
|
+
proxy?: {
|
|
70882
|
+
/**
|
|
70883
|
+
* 固定为 external:经一个你自己的外部 HTTP 代理出网。
|
|
70884
|
+
*/
|
|
70885
|
+
type: 'external';
|
|
70886
|
+
/**
|
|
70887
|
+
* 代理地址,host:port 或 http://host:port;只支持 HTTP 代理,不接受 socks5:// 等协议,也不接受 localhost 和内网、链路本地地址。
|
|
70888
|
+
*/
|
|
70889
|
+
server: string;
|
|
70890
|
+
/**
|
|
70891
|
+
* 代理用户名;有密码时才能填,填了就必须同时给出密码。
|
|
70892
|
+
*/
|
|
70893
|
+
username?: string;
|
|
70894
|
+
/**
|
|
70895
|
+
* 必须用这种形式:引用保管库里的代理密码,只在连接这个代理的主机时兑换,不会交给网页。登录态里只存引用,传明文 password 返回 400 INVALID_PARAMS。
|
|
70896
|
+
*/
|
|
70897
|
+
password_secret?: {
|
|
70898
|
+
/**
|
|
70899
|
+
* 保存代理密码的保管库 ID,以 vlt_ 开头。
|
|
70900
|
+
*/
|
|
70901
|
+
vault_id: string;
|
|
70902
|
+
/**
|
|
70903
|
+
* 保管库中该密码的密钥 ID(不是密码本身)。
|
|
70904
|
+
*/
|
|
70905
|
+
secret: string;
|
|
70906
|
+
};
|
|
70907
|
+
};
|
|
70437
70908
|
};
|
|
70438
70909
|
path?: never;
|
|
70439
70910
|
query?: never;
|
|
@@ -70453,7 +70924,7 @@ export type BrowserCreateContextErrors = {
|
|
|
70453
70924
|
*/
|
|
70454
70925
|
402: BrowserError;
|
|
70455
70926
|
/**
|
|
70456
|
-
* PERMISSION_DENIED /
|
|
70927
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70457
70928
|
*/
|
|
70458
70929
|
403: BrowserError;
|
|
70459
70930
|
/**
|
|
@@ -70530,7 +71001,7 @@ export type BrowserDeleteContextErrors = {
|
|
|
70530
71001
|
*/
|
|
70531
71002
|
402: BrowserError;
|
|
70532
71003
|
/**
|
|
70533
|
-
* PERMISSION_DENIED /
|
|
71004
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70534
71005
|
*/
|
|
70535
71006
|
403: BrowserError;
|
|
70536
71007
|
/**
|
|
@@ -70612,7 +71083,7 @@ export type BrowserGetContextErrors = {
|
|
|
70612
71083
|
*/
|
|
70613
71084
|
402: BrowserError;
|
|
70614
71085
|
/**
|
|
70615
|
-
* PERMISSION_DENIED /
|
|
71086
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70616
71087
|
*/
|
|
70617
71088
|
403: BrowserError;
|
|
70618
71089
|
/**
|
|
@@ -70676,6 +71147,36 @@ export type BrowserUpdateContextData = {
|
|
|
70676
71147
|
labels?: {
|
|
70677
71148
|
[key: string]: string;
|
|
70678
71149
|
};
|
|
71150
|
+
/**
|
|
71151
|
+
* 给登录态绑定一个固定的外部代理(如住宅 IP),使用这个登录态的会话没有写 proxies 时都经它出网,让同一账号始终从同一个出口地址出去。只存保管库引用(password_secret),不存密码;会话自己写了 proxies 时以会话的为准。需要组织已开通容器后端,否则返回 501 PROVIDER_UNSUPPORTED。 更新时传 null 解除绑定,省略则保留原绑定。
|
|
71152
|
+
*/
|
|
71153
|
+
proxy?: {
|
|
71154
|
+
/**
|
|
71155
|
+
* 固定为 external:经一个你自己的外部 HTTP 代理出网。
|
|
71156
|
+
*/
|
|
71157
|
+
type: 'external';
|
|
71158
|
+
/**
|
|
71159
|
+
* 代理地址,host:port 或 http://host:port;只支持 HTTP 代理,不接受 socks5:// 等协议,也不接受 localhost 和内网、链路本地地址。
|
|
71160
|
+
*/
|
|
71161
|
+
server: string;
|
|
71162
|
+
/**
|
|
71163
|
+
* 代理用户名;有密码时才能填,填了就必须同时给出密码。
|
|
71164
|
+
*/
|
|
71165
|
+
username?: string;
|
|
71166
|
+
/**
|
|
71167
|
+
* 必须用这种形式:引用保管库里的代理密码,只在连接这个代理的主机时兑换,不会交给网页。登录态里只存引用,传明文 password 返回 400 INVALID_PARAMS。
|
|
71168
|
+
*/
|
|
71169
|
+
password_secret?: {
|
|
71170
|
+
/**
|
|
71171
|
+
* 保存代理密码的保管库 ID,以 vlt_ 开头。
|
|
71172
|
+
*/
|
|
71173
|
+
vault_id: string;
|
|
71174
|
+
/**
|
|
71175
|
+
* 保管库中该密码的密钥 ID(不是密码本身)。
|
|
71176
|
+
*/
|
|
71177
|
+
secret: string;
|
|
71178
|
+
};
|
|
71179
|
+
} | null;
|
|
70679
71180
|
};
|
|
70680
71181
|
path: {
|
|
70681
71182
|
/**
|
|
@@ -70700,7 +71201,7 @@ export type BrowserUpdateContextErrors = {
|
|
|
70700
71201
|
*/
|
|
70701
71202
|
402: BrowserError;
|
|
70702
71203
|
/**
|
|
70703
|
-
* PERMISSION_DENIED /
|
|
71204
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70704
71205
|
*/
|
|
70705
71206
|
403: BrowserError;
|
|
70706
71207
|
/**
|
|
@@ -70772,7 +71273,7 @@ export type BrowserCreateByobPairingErrors = {
|
|
|
70772
71273
|
*/
|
|
70773
71274
|
402: BrowserError;
|
|
70774
71275
|
/**
|
|
70775
|
-
* PERMISSION_DENIED /
|
|
71276
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70776
71277
|
*/
|
|
70777
71278
|
403: BrowserError;
|
|
70778
71279
|
/**
|
|
@@ -70853,7 +71354,7 @@ export type BrowserListByobBrowsersErrors = {
|
|
|
70853
71354
|
*/
|
|
70854
71355
|
402: BrowserError;
|
|
70855
71356
|
/**
|
|
70856
|
-
* PERMISSION_DENIED /
|
|
71357
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70857
71358
|
*/
|
|
70858
71359
|
403: BrowserError;
|
|
70859
71360
|
/**
|
|
@@ -70939,7 +71440,7 @@ export type BrowserGetByobBrowserErrors = {
|
|
|
70939
71440
|
*/
|
|
70940
71441
|
402: BrowserError;
|
|
70941
71442
|
/**
|
|
70942
|
-
* PERMISSION_DENIED /
|
|
71443
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70943
71444
|
*/
|
|
70944
71445
|
403: BrowserError;
|
|
70945
71446
|
/**
|
|
@@ -70997,14 +71498,6 @@ export type BrowserUpdateByobBrowserData = {
|
|
|
70997
71498
|
* 新的显示名称,1–80 个字符。
|
|
70998
71499
|
*/
|
|
70999
71500
|
name?: string;
|
|
71000
|
-
/**
|
|
71001
|
-
* 整体替换被授权的智能体 ID 列表;传空数组撤销全部授权。
|
|
71002
|
-
*/
|
|
71003
|
-
granted_agents?: Array<string>;
|
|
71004
|
-
/**
|
|
71005
|
-
* 整体替换允许站点列表;传空数组表示不限制。
|
|
71006
|
-
*/
|
|
71007
|
-
allowed_sites?: Array<string>;
|
|
71008
71501
|
};
|
|
71009
71502
|
path: {
|
|
71010
71503
|
/**
|
|
@@ -71029,7 +71522,7 @@ export type BrowserUpdateByobBrowserErrors = {
|
|
|
71029
71522
|
*/
|
|
71030
71523
|
402: BrowserError;
|
|
71031
71524
|
/**
|
|
71032
|
-
* PERMISSION_DENIED /
|
|
71525
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71033
71526
|
*/
|
|
71034
71527
|
403: BrowserError;
|
|
71035
71528
|
/**
|
|
@@ -71106,7 +71599,7 @@ export type BrowserDisconnectByobBrowserErrors = {
|
|
|
71106
71599
|
*/
|
|
71107
71600
|
402: BrowserError;
|
|
71108
71601
|
/**
|
|
71109
|
-
* PERMISSION_DENIED /
|
|
71602
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71110
71603
|
*/
|
|
71111
71604
|
403: BrowserError;
|
|
71112
71605
|
/**
|
|
@@ -71183,7 +71676,7 @@ export type BrowserReadByobPairingErrors = {
|
|
|
71183
71676
|
*/
|
|
71184
71677
|
402: BrowserError;
|
|
71185
71678
|
/**
|
|
71186
|
-
* PERMISSION_DENIED /
|
|
71679
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71187
71680
|
*/
|
|
71188
71681
|
403: BrowserError;
|
|
71189
71682
|
/**
|
|
@@ -71260,7 +71753,7 @@ export type BrowserClaimByobPairingErrors = {
|
|
|
71260
71753
|
*/
|
|
71261
71754
|
402: BrowserError;
|
|
71262
71755
|
/**
|
|
71263
|
-
* PERMISSION_DENIED /
|
|
71756
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71264
71757
|
*/
|
|
71265
71758
|
403: BrowserError;
|
|
71266
71759
|
/**
|
|
@@ -71369,7 +71862,7 @@ export type BrowserConnectErrors = {
|
|
|
71369
71862
|
*/
|
|
71370
71863
|
402: BrowserError;
|
|
71371
71864
|
/**
|
|
71372
|
-
* PERMISSION_DENIED /
|
|
71865
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71373
71866
|
*/
|
|
71374
71867
|
403: BrowserError;
|
|
71375
71868
|
/**
|
|
@@ -71448,7 +71941,7 @@ export type BrowserLiveViewErrors = {
|
|
|
71448
71941
|
*/
|
|
71449
71942
|
402: BrowserError;
|
|
71450
71943
|
/**
|
|
71451
|
-
* PERMISSION_DENIED /
|
|
71944
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71452
71945
|
*/
|
|
71453
71946
|
403: BrowserError;
|
|
71454
71947
|
/**
|
|
@@ -71518,7 +72011,7 @@ export type BrowserStreamSessionErrors = {
|
|
|
71518
72011
|
*/
|
|
71519
72012
|
402: BrowserError;
|
|
71520
72013
|
/**
|
|
71521
|
-
* PERMISSION_DENIED /
|
|
72014
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71522
72015
|
*/
|
|
71523
72016
|
403: BrowserError;
|
|
71524
72017
|
/**
|
|
@@ -71595,7 +72088,7 @@ export type BrowserStreamSessionFramesErrors = {
|
|
|
71595
72088
|
*/
|
|
71596
72089
|
402: BrowserError;
|
|
71597
72090
|
/**
|
|
71598
|
-
* PERMISSION_DENIED /
|
|
72091
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71599
72092
|
*/
|
|
71600
72093
|
403: BrowserError;
|
|
71601
72094
|
/**
|
|
@@ -78332,7 +78825,7 @@ export type ListOrganizationCostsData = {
|
|
|
78332
78825
|
*/
|
|
78333
78826
|
bucket_width: '1h' | '1d';
|
|
78334
78827
|
/**
|
|
78335
|
-
* IANA time zone name (for example Asia/Shanghai) whose local hours or days form the buckets. Defaults to UTC. Offsets such as +08:00 are rejected.
|
|
78828
|
+
* IANA time zone name (for example Asia/Shanghai) whose local hours or days form the buckets. Defaults to UTC. Offsets such as +08:00 are rejected. Only zones whose UTC offset is a whole number of hours across the whole window are supported; zones such as Asia/Kolkata (+05:30) or Asia/Kathmandu (+05:45) are rejected with 400 VALIDATION_ERROR, because Billing buckets in UTC hours and a local hour of those zones straddles two of them. With bucket_width=1d the window widens to whole local days, each bucket carries its real UTC starting_at and ending_at, and a day that crosses a daylight-saving change lasts 23 or 25 hours; the whole window is then answered in one page (has_more is false and page is not accepted). starting_at and ending_at stay UTC instants.
|
|
78336
78829
|
*
|
|
78337
78830
|
*/
|
|
78338
78831
|
time_zone?: string;
|
|
@@ -78450,7 +78943,7 @@ export type ListOrganizationUsageData = {
|
|
|
78450
78943
|
*/
|
|
78451
78944
|
bucket_width: '1h' | '1d';
|
|
78452
78945
|
/**
|
|
78453
|
-
* IANA time zone name (for example Asia/Shanghai) whose local hours or days form the buckets. Defaults to UTC. Offsets such as +08:00 are rejected.
|
|
78946
|
+
* IANA time zone name (for example Asia/Shanghai) whose local hours or days form the buckets. Defaults to UTC. Offsets such as +08:00 are rejected. Only zones whose UTC offset is a whole number of hours across the whole window are supported; zones such as Asia/Kolkata (+05:30) or Asia/Kathmandu (+05:45) are rejected with 400 VALIDATION_ERROR, because Billing buckets in UTC hours and a local hour of those zones straddles two of them. With bucket_width=1d the window widens to whole local days, each bucket carries its real UTC starting_at and ending_at, and a day that crosses a daylight-saving change lasts 23 or 25 hours; the whole window is then answered in one page (has_more is false and page is not accepted). starting_at and ending_at stay UTC instants.
|
|
78454
78947
|
*
|
|
78455
78948
|
*/
|
|
78456
78949
|
time_zone?: string;
|
|
@@ -80780,7 +81273,7 @@ export type ListByodDevicesResponses = {
|
|
|
80780
81273
|
*/
|
|
80781
81274
|
id: string;
|
|
80782
81275
|
/**
|
|
80783
|
-
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs
|
|
81276
|
+
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs like a phone; windows is not supported yet.
|
|
80784
81277
|
*/
|
|
80785
81278
|
platform: 'android' | 'macos' | 'linux';
|
|
80786
81279
|
/**
|
|
@@ -80828,6 +81321,10 @@ export type ListByodDevicesResponses = {
|
|
|
80828
81321
|
*/
|
|
80829
81322
|
agent: string;
|
|
80830
81323
|
}>;
|
|
81324
|
+
/**
|
|
81325
|
+
* The version of the envd on the desktop, as its last hello reported. Null for a phone, for a desktop that has not connected yet, and for an envd that sent no version.
|
|
81326
|
+
*/
|
|
81327
|
+
envd_version: string | null;
|
|
80831
81328
|
/**
|
|
80832
81329
|
* Whether the desktop's envd lets a platform session run in bypassPermissions (all tool calls without asking). True unless the person ran praxis connect agent --no-bypass on that machine; a session create that asks for bypassPermissions on a device where this is false answers 400 INVALID_PARAMS. False for a phone and for a desktop that has not connected yet.
|
|
80833
81330
|
*/
|
|
@@ -80875,7 +81372,7 @@ export type GetByodDeviceResponses = {
|
|
|
80875
81372
|
*/
|
|
80876
81373
|
id: string;
|
|
80877
81374
|
/**
|
|
80878
|
-
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs
|
|
81375
|
+
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs like a phone; windows is not supported yet.
|
|
80879
81376
|
*/
|
|
80880
81377
|
platform: 'android' | 'macos' | 'linux';
|
|
80881
81378
|
/**
|
|
@@ -80923,6 +81420,10 @@ export type GetByodDeviceResponses = {
|
|
|
80923
81420
|
*/
|
|
80924
81421
|
agent: string;
|
|
80925
81422
|
}>;
|
|
81423
|
+
/**
|
|
81424
|
+
* The version of the envd on the desktop, as its last hello reported. Null for a phone, for a desktop that has not connected yet, and for an envd that sent no version.
|
|
81425
|
+
*/
|
|
81426
|
+
envd_version: string | null;
|
|
80926
81427
|
/**
|
|
80927
81428
|
* Whether the desktop's envd lets a platform session run in bypassPermissions (all tool calls without asking). True unless the person ran praxis connect agent --no-bypass on that machine; a session create that asks for bypassPermissions on a device where this is false answers 400 INVALID_PARAMS. False for a phone and for a desktop that has not connected yet.
|
|
80928
81429
|
*/
|
|
@@ -80981,7 +81482,7 @@ export type UpdateByodDeviceResponses = {
|
|
|
80981
81482
|
*/
|
|
80982
81483
|
id: string;
|
|
80983
81484
|
/**
|
|
80984
|
-
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs
|
|
81485
|
+
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs like a phone; windows is not supported yet.
|
|
80985
81486
|
*/
|
|
80986
81487
|
platform: 'android' | 'macos' | 'linux';
|
|
80987
81488
|
/**
|
|
@@ -81029,6 +81530,10 @@ export type UpdateByodDeviceResponses = {
|
|
|
81029
81530
|
*/
|
|
81030
81531
|
agent: string;
|
|
81031
81532
|
}>;
|
|
81533
|
+
/**
|
|
81534
|
+
* The version of the envd on the desktop, as its last hello reported. Null for a phone, for a desktop that has not connected yet, and for an envd that sent no version.
|
|
81535
|
+
*/
|
|
81536
|
+
envd_version: string | null;
|
|
81032
81537
|
/**
|
|
81033
81538
|
* Whether the desktop's envd lets a platform session run in bypassPermissions (all tool calls without asking). True unless the person ran praxis connect agent --no-bypass on that machine; a session create that asks for bypassPermissions on a device where this is false answers 400 INVALID_PARAMS. False for a phone and for a desktop that has not connected yet.
|
|
81034
81539
|
*/
|
|
@@ -81120,7 +81625,7 @@ export type ClaimByodPairingData = {
|
|
|
81120
81625
|
*/
|
|
81121
81626
|
body: {
|
|
81122
81627
|
/**
|
|
81123
|
-
* The device's platform. macos and linux are accepted
|
|
81628
|
+
* The device's platform. macos and linux are accepted for every organization; any other value than android, macos or linux answers INVALID_PARAMS.
|
|
81124
81629
|
*/
|
|
81125
81630
|
platform: 'android' | 'macos' | 'linux';
|
|
81126
81631
|
/**
|
|
@@ -81151,7 +81656,7 @@ export type ClaimByodPairingData = {
|
|
|
81151
81656
|
};
|
|
81152
81657
|
export type ClaimByodPairingErrors = {
|
|
81153
81658
|
/**
|
|
81154
|
-
* INVALID_PARAMS: the body is missing, platform is not android, macos or linux
|
|
81659
|
+
* INVALID_PARAMS: the body is missing, platform is not android, macos or linux. Fix the body and resend; the code is not spent by a refused claim.
|
|
81155
81660
|
*/
|
|
81156
81661
|
400: unknown;
|
|
81157
81662
|
/**
|
|
@@ -83774,8 +84279,7 @@ export type SessionsUpdateData = {
|
|
|
83774
84279
|
*/
|
|
83775
84280
|
title?: null | string;
|
|
83776
84281
|
/**
|
|
83777
|
-
*
|
|
83778
|
-
* requests setting this field are rejected. Reserved for future use.
|
|
84282
|
+
* The vaults this session carries, replacing the whole set it has now, including the vaults it took from its agent when it was created: send those ids again to keep them. At most 50 ids, each a vault of your organization that is not archived. The next command the session runs sees the new set: the secrets of the vaults become environment variables on its machine and are matched against its MCP servers, as sessions.create describes.
|
|
83779
84283
|
*/
|
|
83780
84284
|
vault_ids?: Array<string>;
|
|
83781
84285
|
/**
|
|
@@ -84716,7 +85220,7 @@ export type AgentsListResponses = {
|
|
|
84716
85220
|
*/
|
|
84717
85221
|
environment_id?: string | null;
|
|
84718
85222
|
/**
|
|
84719
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
85223
|
+
* Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
|
|
84720
85224
|
*/
|
|
84721
85225
|
vault_ids?: Array<string>;
|
|
84722
85226
|
/**
|
|
@@ -85255,7 +85759,7 @@ export type AgentsCreateData = {
|
|
|
85255
85759
|
*/
|
|
85256
85760
|
environment_id?: string | null;
|
|
85257
85761
|
/**
|
|
85258
|
-
* Default vaults of
|
|
85762
|
+
* Default vaults of the agent: the vault_ids every new session carries, so the agent's credentials follow the version. A department or organization rule's grants write this list on the agents it reaches (the agent's vaults become exactly the rule's set). Their secrets reach each session's machine as environment variables and match its MCP servers; sessions.create says which are skipped. At most 50 ids without duplicates; each must be a vault of your organization that is not archived, otherwise 400 vault_ids[<index>] <id> was not found. Saved with the agent version like other configuration, so apply=false keeps the previous vaults in effect for new sessions until that version is applied; a session that sets vault_ids itself adds its vaults to these and does not replace them; sessions already open keep the vaults they were created with. Omit on create for []; on update, omit to keep the list and send an array to replace it as a whole. Versions saved before this field existed read as []. Embed tokens use the vault_ids of the version they pin; vault_ids on the embed policy is deprecated, still accepted and ignored. General and assume agents hold vaults on themselves the same way. /agent/v1 only; /anthropic neither accepts nor returns it.
|
|
85259
85763
|
*/
|
|
85260
85764
|
vault_ids?: Array<string>;
|
|
85261
85765
|
/**
|
|
@@ -85938,7 +86442,7 @@ export type AgentsCreateResponses = {
|
|
|
85938
86442
|
*/
|
|
85939
86443
|
environment_id?: string | null;
|
|
85940
86444
|
/**
|
|
85941
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
86445
|
+
* Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
|
|
85942
86446
|
*/
|
|
85943
86447
|
vault_ids?: Array<string>;
|
|
85944
86448
|
/**
|
|
@@ -86609,7 +87113,7 @@ export type AgentsRetrieveResponses = {
|
|
|
86609
87113
|
*/
|
|
86610
87114
|
environment_id?: string | null;
|
|
86611
87115
|
/**
|
|
86612
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
87116
|
+
* Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
|
|
86613
87117
|
*/
|
|
86614
87118
|
vault_ids?: Array<string>;
|
|
86615
87119
|
/**
|
|
@@ -87157,7 +87661,7 @@ export type AgentsUpdateData = {
|
|
|
87157
87661
|
*/
|
|
87158
87662
|
environment_id?: string | null;
|
|
87159
87663
|
/**
|
|
87160
|
-
* Default vaults of
|
|
87664
|
+
* Default vaults of the agent: the vault_ids every new session carries, so the agent's credentials follow the version. A department or organization rule's grants write this list on the agents it reaches (the agent's vaults become exactly the rule's set). Their secrets reach each session's machine as environment variables and match its MCP servers; sessions.create says which are skipped. At most 50 ids without duplicates; each must be a vault of your organization that is not archived, otherwise 400 vault_ids[<index>] <id> was not found. Saved with the agent version like other configuration, so apply=false keeps the previous vaults in effect for new sessions until that version is applied; a session that sets vault_ids itself adds its vaults to these and does not replace them; sessions already open keep the vaults they were created with. Omit on create for []; on update, omit to keep the list and send an array to replace it as a whole. Versions saved before this field existed read as []. Embed tokens use the vault_ids of the version they pin; vault_ids on the embed policy is deprecated, still accepted and ignored. General and assume agents hold vaults on themselves the same way. /agent/v1 only; /anthropic neither accepts nor returns it.
|
|
87161
87665
|
*/
|
|
87162
87666
|
vault_ids?: Array<string>;
|
|
87163
87667
|
/**
|
|
@@ -87853,7 +88357,7 @@ export type AgentsUpdateResponses = {
|
|
|
87853
88357
|
*/
|
|
87854
88358
|
environment_id?: string | null;
|
|
87855
88359
|
/**
|
|
87856
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
88360
|
+
* Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
|
|
87857
88361
|
*/
|
|
87858
88362
|
vault_ids?: Array<string>;
|
|
87859
88363
|
/**
|
|
@@ -88479,7 +88983,7 @@ export type AgentsArchiveResponses = {
|
|
|
88479
88983
|
*/
|
|
88480
88984
|
environment_id?: string | null;
|
|
88481
88985
|
/**
|
|
88482
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
88986
|
+
* Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
|
|
88483
88987
|
*/
|
|
88484
88988
|
vault_ids?: Array<string>;
|
|
88485
88989
|
/**
|
|
@@ -89150,7 +89654,7 @@ export type AgentsVersionsListResponses = {
|
|
|
89150
89654
|
*/
|
|
89151
89655
|
environment_id?: string | null;
|
|
89152
89656
|
/**
|
|
89153
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
89657
|
+
* Default vaults of this service or assume agent version: the vault_ids every new session carries; a session's own vault_ids are added to them. Present for service and assume agents. Follows the version like other configuration: a version saved with apply=false does not change the vaults in effect. Versions saved before this field existed read as []. /agent/v1 only.
|
|
89154
89658
|
*/
|
|
89155
89659
|
vault_ids?: Array<string>;
|
|
89156
89660
|
/**
|
|
@@ -113558,7 +114062,7 @@ export type DevopsUnitsPushErrors = {
|
|
|
113558
114062
|
*/
|
|
113559
114063
|
404: DevopsDevOpsError;
|
|
113560
114064
|
/**
|
|
113561
|
-
* HEAD_MOVED means the change's branch on the remote is no longer the expectedHead that was sent — someone pushed to it since — so nothing was pushed
|
|
114065
|
+
* HEAD_MOVED means the change's branch on the remote is no longer the expectedHead that was sent — someone pushed to it since — so nothing was pushed. The message says where the remote is ("remote is at <sha7> (<full sha>) on <ref>") and details.remoteHead carries the full sha: send it as expectedHead after reconciling your checkout. PUSH_REJECTED_BY_HOOK means the machine's git ran a pre-push hook (lefthook, for example) and the hook refused: details.detail holds the hook's output and details.exitCode git's exit code; fix what the hook names, commit, and push again. PUSH_REJECTED_NON_FAST_FORWARD means the remote branch has commits your checkout lacks; fetch, reconcile and push again. UNIT_INVALID_STATE means the unit is not available (no machine or no checkout yet, or another transition is in flight), so there is nothing to push; read the unit's phase and retry once it has settled.
|
|
113562
114066
|
*/
|
|
113563
114067
|
409: DevopsDevOpsError;
|
|
113564
114068
|
/**
|
|
@@ -121273,7 +121777,7 @@ export type GetSandboxV1SandboxesResponses = {
|
|
|
121273
121777
|
};
|
|
121274
121778
|
export type GetSandboxV1SandboxesResponse = GetSandboxV1SandboxesResponses[keyof GetSandboxV1SandboxesResponses];
|
|
121275
121779
|
export type PostSandboxV1SandboxesData = {
|
|
121276
|
-
body:
|
|
121780
|
+
body: SandboxNewSandboxV2Writable;
|
|
121277
121781
|
path?: never;
|
|
121278
121782
|
query?: never;
|
|
121279
121783
|
url: '/sandbox/v1/sandboxes';
|