@deepraxis/sdk 0.2.0-dev.72cb989 → 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/dist/generated/index.d.ts +1 -1
- package/dist/generated/sdk.gen.d.ts +12 -12
- package/dist/generated/sdk.gen.js +12 -12
- package/dist/generated/types.gen.d.ts +505 -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 +46 -36
- package/dist/resources.generated.d.ts +3 -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
|
*/
|
|
@@ -55681,7 +56038,7 @@ export type ApplyAgentVersionResponses = {
|
|
|
55681
56038
|
*/
|
|
55682
56039
|
environment_id?: string | null;
|
|
55683
56040
|
/**
|
|
55684
|
-
* 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.
|
|
55685
56042
|
*/
|
|
55686
56043
|
vault_ids?: Array<string>;
|
|
55687
56044
|
/**
|
|
@@ -56941,7 +57298,7 @@ export type UnarchiveAgentResponses = {
|
|
|
56941
57298
|
*/
|
|
56942
57299
|
environment_id?: string | null;
|
|
56943
57300
|
/**
|
|
56944
|
-
* 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.
|
|
56945
57302
|
*/
|
|
56946
57303
|
vault_ids?: Array<string>;
|
|
56947
57304
|
/**
|
|
@@ -59410,9 +59767,13 @@ export type ComputersRetrieveResponse = ComputersRetrieveResponses[keyof Compute
|
|
|
59410
59767
|
export type ComputersUpdateData = {
|
|
59411
59768
|
body: {
|
|
59412
59769
|
/**
|
|
59413
|
-
*
|
|
59770
|
+
* New display name, 1 to 255 characters after trimming. Omit to keep the current name.
|
|
59414
59771
|
*/
|
|
59415
|
-
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;
|
|
59416
59777
|
};
|
|
59417
59778
|
path: {
|
|
59418
59779
|
/**
|
|
@@ -61582,7 +61943,7 @@ export type ComputersFilesConvertResponse = ComputersFilesConvertResponses[keyof
|
|
|
61582
61943
|
export type ConnectComputerData = {
|
|
61583
61944
|
body?: {
|
|
61584
61945
|
/**
|
|
61585
|
-
*
|
|
61946
|
+
* Accepted for compatibility and ignored: light and heavy both reach the same machine, because a Computer is one machine. Omit it.
|
|
61586
61947
|
*/
|
|
61587
61948
|
need?: 'light' | 'heavy';
|
|
61588
61949
|
};
|
|
@@ -69186,7 +69547,7 @@ export type BrowserListSessionsErrors = {
|
|
|
69186
69547
|
*/
|
|
69187
69548
|
402: BrowserError;
|
|
69188
69549
|
/**
|
|
69189
|
-
* PERMISSION_DENIED /
|
|
69550
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69190
69551
|
*/
|
|
69191
69552
|
403: BrowserError;
|
|
69192
69553
|
/**
|
|
@@ -69267,7 +69628,7 @@ export type BrowserCreateSessionErrors = {
|
|
|
69267
69628
|
*/
|
|
69268
69629
|
402: BrowserError;
|
|
69269
69630
|
/**
|
|
69270
|
-
* PERMISSION_DENIED /
|
|
69631
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69271
69632
|
*/
|
|
69272
69633
|
403: BrowserError;
|
|
69273
69634
|
/**
|
|
@@ -69353,7 +69714,7 @@ export type BrowserGetSessionErrors = {
|
|
|
69353
69714
|
*/
|
|
69354
69715
|
402: BrowserError;
|
|
69355
69716
|
/**
|
|
69356
|
-
* PERMISSION_DENIED /
|
|
69717
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69357
69718
|
*/
|
|
69358
69719
|
403: BrowserError;
|
|
69359
69720
|
/**
|
|
@@ -69435,7 +69796,7 @@ export type BrowserCloseSessionErrors = {
|
|
|
69435
69796
|
*/
|
|
69436
69797
|
402: BrowserError;
|
|
69437
69798
|
/**
|
|
69438
|
-
* PERMISSION_DENIED /
|
|
69799
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69439
69800
|
*/
|
|
69440
69801
|
403: BrowserError;
|
|
69441
69802
|
/**
|
|
@@ -69512,7 +69873,7 @@ export type BrowserGetDebugErrors = {
|
|
|
69512
69873
|
*/
|
|
69513
69874
|
402: BrowserError;
|
|
69514
69875
|
/**
|
|
69515
|
-
* PERMISSION_DENIED /
|
|
69876
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69516
69877
|
*/
|
|
69517
69878
|
403: BrowserError;
|
|
69518
69879
|
/**
|
|
@@ -69602,7 +69963,7 @@ export type BrowserListEventsErrors = {
|
|
|
69602
69963
|
*/
|
|
69603
69964
|
402: BrowserError;
|
|
69604
69965
|
/**
|
|
69605
|
-
* PERMISSION_DENIED /
|
|
69966
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69606
69967
|
*/
|
|
69607
69968
|
403: BrowserError;
|
|
69608
69969
|
/**
|
|
@@ -69885,7 +70246,7 @@ export type BrowserRunPageActionErrors = {
|
|
|
69885
70246
|
*/
|
|
69886
70247
|
402: BrowserError;
|
|
69887
70248
|
/**
|
|
69888
|
-
* PERMISSION_DENIED /
|
|
70249
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69889
70250
|
*/
|
|
69890
70251
|
403: BrowserError;
|
|
69891
70252
|
/**
|
|
@@ -70107,7 +70468,7 @@ export type BrowserRequestHandoffErrors = {
|
|
|
70107
70468
|
*/
|
|
70108
70469
|
402: BrowserError;
|
|
70109
70470
|
/**
|
|
70110
|
-
* PERMISSION_DENIED /
|
|
70471
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70111
70472
|
*/
|
|
70112
70473
|
403: BrowserError;
|
|
70113
70474
|
/**
|
|
@@ -70184,7 +70545,7 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
70184
70545
|
*/
|
|
70185
70546
|
402: BrowserError;
|
|
70186
70547
|
/**
|
|
70187
|
-
* PERMISSION_DENIED /
|
|
70548
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70188
70549
|
*/
|
|
70189
70550
|
403: BrowserError;
|
|
70190
70551
|
/**
|
|
@@ -70270,7 +70631,7 @@ export type BrowserViewerHeartbeatErrors = {
|
|
|
70270
70631
|
*/
|
|
70271
70632
|
402: BrowserError;
|
|
70272
70633
|
/**
|
|
70273
|
-
* PERMISSION_DENIED /
|
|
70634
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70274
70635
|
*/
|
|
70275
70636
|
403: BrowserError;
|
|
70276
70637
|
/**
|
|
@@ -70352,7 +70713,7 @@ export type BrowserGetSessionFrameErrors = {
|
|
|
70352
70713
|
*/
|
|
70353
70714
|
402: BrowserError;
|
|
70354
70715
|
/**
|
|
70355
|
-
* PERMISSION_DENIED /
|
|
70716
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70356
70717
|
*/
|
|
70357
70718
|
403: BrowserError;
|
|
70358
70719
|
/**
|
|
@@ -70437,7 +70798,7 @@ export type BrowserListContextsErrors = {
|
|
|
70437
70798
|
*/
|
|
70438
70799
|
402: BrowserError;
|
|
70439
70800
|
/**
|
|
70440
|
-
* PERMISSION_DENIED /
|
|
70801
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70441
70802
|
*/
|
|
70442
70803
|
403: BrowserError;
|
|
70443
70804
|
/**
|
|
@@ -70514,6 +70875,36 @@ export type BrowserCreateContextData = {
|
|
|
70514
70875
|
labels?: {
|
|
70515
70876
|
[key: string]: string;
|
|
70516
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
|
+
};
|
|
70517
70908
|
};
|
|
70518
70909
|
path?: never;
|
|
70519
70910
|
query?: never;
|
|
@@ -70533,7 +70924,7 @@ export type BrowserCreateContextErrors = {
|
|
|
70533
70924
|
*/
|
|
70534
70925
|
402: BrowserError;
|
|
70535
70926
|
/**
|
|
70536
|
-
* PERMISSION_DENIED /
|
|
70927
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70537
70928
|
*/
|
|
70538
70929
|
403: BrowserError;
|
|
70539
70930
|
/**
|
|
@@ -70610,7 +71001,7 @@ export type BrowserDeleteContextErrors = {
|
|
|
70610
71001
|
*/
|
|
70611
71002
|
402: BrowserError;
|
|
70612
71003
|
/**
|
|
70613
|
-
* PERMISSION_DENIED /
|
|
71004
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70614
71005
|
*/
|
|
70615
71006
|
403: BrowserError;
|
|
70616
71007
|
/**
|
|
@@ -70692,7 +71083,7 @@ export type BrowserGetContextErrors = {
|
|
|
70692
71083
|
*/
|
|
70693
71084
|
402: BrowserError;
|
|
70694
71085
|
/**
|
|
70695
|
-
* PERMISSION_DENIED /
|
|
71086
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70696
71087
|
*/
|
|
70697
71088
|
403: BrowserError;
|
|
70698
71089
|
/**
|
|
@@ -70756,6 +71147,36 @@ export type BrowserUpdateContextData = {
|
|
|
70756
71147
|
labels?: {
|
|
70757
71148
|
[key: string]: string;
|
|
70758
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;
|
|
70759
71180
|
};
|
|
70760
71181
|
path: {
|
|
70761
71182
|
/**
|
|
@@ -70780,7 +71201,7 @@ export type BrowserUpdateContextErrors = {
|
|
|
70780
71201
|
*/
|
|
70781
71202
|
402: BrowserError;
|
|
70782
71203
|
/**
|
|
70783
|
-
* PERMISSION_DENIED /
|
|
71204
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70784
71205
|
*/
|
|
70785
71206
|
403: BrowserError;
|
|
70786
71207
|
/**
|
|
@@ -70852,7 +71273,7 @@ export type BrowserCreateByobPairingErrors = {
|
|
|
70852
71273
|
*/
|
|
70853
71274
|
402: BrowserError;
|
|
70854
71275
|
/**
|
|
70855
|
-
* PERMISSION_DENIED /
|
|
71276
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70856
71277
|
*/
|
|
70857
71278
|
403: BrowserError;
|
|
70858
71279
|
/**
|
|
@@ -70933,7 +71354,7 @@ export type BrowserListByobBrowsersErrors = {
|
|
|
70933
71354
|
*/
|
|
70934
71355
|
402: BrowserError;
|
|
70935
71356
|
/**
|
|
70936
|
-
* PERMISSION_DENIED /
|
|
71357
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70937
71358
|
*/
|
|
70938
71359
|
403: BrowserError;
|
|
70939
71360
|
/**
|
|
@@ -71019,7 +71440,7 @@ export type BrowserGetByobBrowserErrors = {
|
|
|
71019
71440
|
*/
|
|
71020
71441
|
402: BrowserError;
|
|
71021
71442
|
/**
|
|
71022
|
-
* PERMISSION_DENIED /
|
|
71443
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71023
71444
|
*/
|
|
71024
71445
|
403: BrowserError;
|
|
71025
71446
|
/**
|
|
@@ -71077,14 +71498,6 @@ export type BrowserUpdateByobBrowserData = {
|
|
|
71077
71498
|
* 新的显示名称,1–80 个字符。
|
|
71078
71499
|
*/
|
|
71079
71500
|
name?: string;
|
|
71080
|
-
/**
|
|
71081
|
-
* 整体替换被授权的智能体 ID 列表;传空数组撤销全部授权。
|
|
71082
|
-
*/
|
|
71083
|
-
granted_agents?: Array<string>;
|
|
71084
|
-
/**
|
|
71085
|
-
* 整体替换允许站点列表;传空数组表示不限制。
|
|
71086
|
-
*/
|
|
71087
|
-
allowed_sites?: Array<string>;
|
|
71088
71501
|
};
|
|
71089
71502
|
path: {
|
|
71090
71503
|
/**
|
|
@@ -71109,7 +71522,7 @@ export type BrowserUpdateByobBrowserErrors = {
|
|
|
71109
71522
|
*/
|
|
71110
71523
|
402: BrowserError;
|
|
71111
71524
|
/**
|
|
71112
|
-
* PERMISSION_DENIED /
|
|
71525
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71113
71526
|
*/
|
|
71114
71527
|
403: BrowserError;
|
|
71115
71528
|
/**
|
|
@@ -71186,7 +71599,7 @@ export type BrowserDisconnectByobBrowserErrors = {
|
|
|
71186
71599
|
*/
|
|
71187
71600
|
402: BrowserError;
|
|
71188
71601
|
/**
|
|
71189
|
-
* PERMISSION_DENIED /
|
|
71602
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71190
71603
|
*/
|
|
71191
71604
|
403: BrowserError;
|
|
71192
71605
|
/**
|
|
@@ -71263,7 +71676,7 @@ export type BrowserReadByobPairingErrors = {
|
|
|
71263
71676
|
*/
|
|
71264
71677
|
402: BrowserError;
|
|
71265
71678
|
/**
|
|
71266
|
-
* PERMISSION_DENIED /
|
|
71679
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71267
71680
|
*/
|
|
71268
71681
|
403: BrowserError;
|
|
71269
71682
|
/**
|
|
@@ -71340,7 +71753,7 @@ export type BrowserClaimByobPairingErrors = {
|
|
|
71340
71753
|
*/
|
|
71341
71754
|
402: BrowserError;
|
|
71342
71755
|
/**
|
|
71343
|
-
* PERMISSION_DENIED /
|
|
71756
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71344
71757
|
*/
|
|
71345
71758
|
403: BrowserError;
|
|
71346
71759
|
/**
|
|
@@ -71449,7 +71862,7 @@ export type BrowserConnectErrors = {
|
|
|
71449
71862
|
*/
|
|
71450
71863
|
402: BrowserError;
|
|
71451
71864
|
/**
|
|
71452
|
-
* PERMISSION_DENIED /
|
|
71865
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71453
71866
|
*/
|
|
71454
71867
|
403: BrowserError;
|
|
71455
71868
|
/**
|
|
@@ -71528,7 +71941,7 @@ export type BrowserLiveViewErrors = {
|
|
|
71528
71941
|
*/
|
|
71529
71942
|
402: BrowserError;
|
|
71530
71943
|
/**
|
|
71531
|
-
* PERMISSION_DENIED /
|
|
71944
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71532
71945
|
*/
|
|
71533
71946
|
403: BrowserError;
|
|
71534
71947
|
/**
|
|
@@ -71598,7 +72011,7 @@ export type BrowserStreamSessionErrors = {
|
|
|
71598
72011
|
*/
|
|
71599
72012
|
402: BrowserError;
|
|
71600
72013
|
/**
|
|
71601
|
-
* PERMISSION_DENIED /
|
|
72014
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71602
72015
|
*/
|
|
71603
72016
|
403: BrowserError;
|
|
71604
72017
|
/**
|
|
@@ -71675,7 +72088,7 @@ export type BrowserStreamSessionFramesErrors = {
|
|
|
71675
72088
|
*/
|
|
71676
72089
|
402: BrowserError;
|
|
71677
72090
|
/**
|
|
71678
|
-
* PERMISSION_DENIED /
|
|
72091
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71679
72092
|
*/
|
|
71680
72093
|
403: BrowserError;
|
|
71681
72094
|
/**
|
|
@@ -78412,7 +78825,7 @@ export type ListOrganizationCostsData = {
|
|
|
78412
78825
|
*/
|
|
78413
78826
|
bucket_width: '1h' | '1d';
|
|
78414
78827
|
/**
|
|
78415
|
-
* 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.
|
|
78416
78829
|
*
|
|
78417
78830
|
*/
|
|
78418
78831
|
time_zone?: string;
|
|
@@ -78530,7 +78943,7 @@ export type ListOrganizationUsageData = {
|
|
|
78530
78943
|
*/
|
|
78531
78944
|
bucket_width: '1h' | '1d';
|
|
78532
78945
|
/**
|
|
78533
|
-
* 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.
|
|
78534
78947
|
*
|
|
78535
78948
|
*/
|
|
78536
78949
|
time_zone?: string;
|
|
@@ -80860,7 +81273,7 @@ export type ListByodDevicesResponses = {
|
|
|
80860
81273
|
*/
|
|
80861
81274
|
id: string;
|
|
80862
81275
|
/**
|
|
80863
|
-
* 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.
|
|
80864
81277
|
*/
|
|
80865
81278
|
platform: 'android' | 'macos' | 'linux';
|
|
80866
81279
|
/**
|
|
@@ -80908,6 +81321,10 @@ export type ListByodDevicesResponses = {
|
|
|
80908
81321
|
*/
|
|
80909
81322
|
agent: string;
|
|
80910
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;
|
|
80911
81328
|
/**
|
|
80912
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.
|
|
80913
81330
|
*/
|
|
@@ -80955,7 +81372,7 @@ export type GetByodDeviceResponses = {
|
|
|
80955
81372
|
*/
|
|
80956
81373
|
id: string;
|
|
80957
81374
|
/**
|
|
80958
|
-
* 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.
|
|
80959
81376
|
*/
|
|
80960
81377
|
platform: 'android' | 'macos' | 'linux';
|
|
80961
81378
|
/**
|
|
@@ -81003,6 +81420,10 @@ export type GetByodDeviceResponses = {
|
|
|
81003
81420
|
*/
|
|
81004
81421
|
agent: string;
|
|
81005
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;
|
|
81006
81427
|
/**
|
|
81007
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.
|
|
81008
81429
|
*/
|
|
@@ -81061,7 +81482,7 @@ export type UpdateByodDeviceResponses = {
|
|
|
81061
81482
|
*/
|
|
81062
81483
|
id: string;
|
|
81063
81484
|
/**
|
|
81064
|
-
* 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.
|
|
81065
81486
|
*/
|
|
81066
81487
|
platform: 'android' | 'macos' | 'linux';
|
|
81067
81488
|
/**
|
|
@@ -81109,6 +81530,10 @@ export type UpdateByodDeviceResponses = {
|
|
|
81109
81530
|
*/
|
|
81110
81531
|
agent: string;
|
|
81111
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;
|
|
81112
81537
|
/**
|
|
81113
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.
|
|
81114
81539
|
*/
|
|
@@ -81200,7 +81625,7 @@ export type ClaimByodPairingData = {
|
|
|
81200
81625
|
*/
|
|
81201
81626
|
body: {
|
|
81202
81627
|
/**
|
|
81203
|
-
* 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.
|
|
81204
81629
|
*/
|
|
81205
81630
|
platform: 'android' | 'macos' | 'linux';
|
|
81206
81631
|
/**
|
|
@@ -81231,7 +81656,7 @@ export type ClaimByodPairingData = {
|
|
|
81231
81656
|
};
|
|
81232
81657
|
export type ClaimByodPairingErrors = {
|
|
81233
81658
|
/**
|
|
81234
|
-
* 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.
|
|
81235
81660
|
*/
|
|
81236
81661
|
400: unknown;
|
|
81237
81662
|
/**
|
|
@@ -83854,8 +84279,7 @@ export type SessionsUpdateData = {
|
|
|
83854
84279
|
*/
|
|
83855
84280
|
title?: null | string;
|
|
83856
84281
|
/**
|
|
83857
|
-
*
|
|
83858
|
-
* 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.
|
|
83859
84283
|
*/
|
|
83860
84284
|
vault_ids?: Array<string>;
|
|
83861
84285
|
/**
|
|
@@ -84796,7 +85220,7 @@ export type AgentsListResponses = {
|
|
|
84796
85220
|
*/
|
|
84797
85221
|
environment_id?: string | null;
|
|
84798
85222
|
/**
|
|
84799
|
-
* 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.
|
|
84800
85224
|
*/
|
|
84801
85225
|
vault_ids?: Array<string>;
|
|
84802
85226
|
/**
|
|
@@ -85335,7 +85759,7 @@ export type AgentsCreateData = {
|
|
|
85335
85759
|
*/
|
|
85336
85760
|
environment_id?: string | null;
|
|
85337
85761
|
/**
|
|
85338
|
-
* 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.
|
|
85339
85763
|
*/
|
|
85340
85764
|
vault_ids?: Array<string>;
|
|
85341
85765
|
/**
|
|
@@ -86018,7 +86442,7 @@ export type AgentsCreateResponses = {
|
|
|
86018
86442
|
*/
|
|
86019
86443
|
environment_id?: string | null;
|
|
86020
86444
|
/**
|
|
86021
|
-
* 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.
|
|
86022
86446
|
*/
|
|
86023
86447
|
vault_ids?: Array<string>;
|
|
86024
86448
|
/**
|
|
@@ -86689,7 +87113,7 @@ export type AgentsRetrieveResponses = {
|
|
|
86689
87113
|
*/
|
|
86690
87114
|
environment_id?: string | null;
|
|
86691
87115
|
/**
|
|
86692
|
-
* 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.
|
|
86693
87117
|
*/
|
|
86694
87118
|
vault_ids?: Array<string>;
|
|
86695
87119
|
/**
|
|
@@ -87237,7 +87661,7 @@ export type AgentsUpdateData = {
|
|
|
87237
87661
|
*/
|
|
87238
87662
|
environment_id?: string | null;
|
|
87239
87663
|
/**
|
|
87240
|
-
* 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.
|
|
87241
87665
|
*/
|
|
87242
87666
|
vault_ids?: Array<string>;
|
|
87243
87667
|
/**
|
|
@@ -87933,7 +88357,7 @@ export type AgentsUpdateResponses = {
|
|
|
87933
88357
|
*/
|
|
87934
88358
|
environment_id?: string | null;
|
|
87935
88359
|
/**
|
|
87936
|
-
* 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.
|
|
87937
88361
|
*/
|
|
87938
88362
|
vault_ids?: Array<string>;
|
|
87939
88363
|
/**
|
|
@@ -88559,7 +88983,7 @@ export type AgentsArchiveResponses = {
|
|
|
88559
88983
|
*/
|
|
88560
88984
|
environment_id?: string | null;
|
|
88561
88985
|
/**
|
|
88562
|
-
* 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.
|
|
88563
88987
|
*/
|
|
88564
88988
|
vault_ids?: Array<string>;
|
|
88565
88989
|
/**
|
|
@@ -89230,7 +89654,7 @@ export type AgentsVersionsListResponses = {
|
|
|
89230
89654
|
*/
|
|
89231
89655
|
environment_id?: string | null;
|
|
89232
89656
|
/**
|
|
89233
|
-
* 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.
|
|
89234
89658
|
*/
|
|
89235
89659
|
vault_ids?: Array<string>;
|
|
89236
89660
|
/**
|
|
@@ -113638,7 +114062,7 @@ export type DevopsUnitsPushErrors = {
|
|
|
113638
114062
|
*/
|
|
113639
114063
|
404: DevopsDevOpsError;
|
|
113640
114064
|
/**
|
|
113641
|
-
* 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.
|
|
113642
114066
|
*/
|
|
113643
114067
|
409: DevopsDevOpsError;
|
|
113644
114068
|
/**
|
|
@@ -121353,7 +121777,7 @@ export type GetSandboxV1SandboxesResponses = {
|
|
|
121353
121777
|
};
|
|
121354
121778
|
export type GetSandboxV1SandboxesResponse = GetSandboxV1SandboxesResponses[keyof GetSandboxV1SandboxesResponses];
|
|
121355
121779
|
export type PostSandboxV1SandboxesData = {
|
|
121356
|
-
body:
|
|
121780
|
+
body: SandboxNewSandboxV2Writable;
|
|
121357
121781
|
path?: never;
|
|
121358
121782
|
query?: never;
|
|
121359
121783
|
url: '/sandbox/v1/sandboxes';
|