@deepraxis/sdk 0.2.0-dev.26c26b8 → 0.2.0-dev.2e29277
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 +15 -9
- package/dist/generated/sdk.gen.js +26 -8
- package/dist/generated/types.gen.d.ts +308 -73
- 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 +68 -28
- package/dist/resources.generated.d.ts +34 -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,37 @@ export type BrowserSessionCreateParams = {
|
|
|
3696
3696
|
ignoreCertificateErrors?: boolean;
|
|
3697
3697
|
};
|
|
3698
3698
|
/**
|
|
3699
|
-
*
|
|
3699
|
+
* 省略、false 或 [{type: 'none'}] 表示不用代理。一条 {type: 'external', server, username?, password? | password_secret?} 让会话在我们的 Chrome 容器里经这个 HTTP 代理出网(需要组织已开通容器后端,否则返回 501 PROVIDER_UNSUPPORTED);不能与 source.type 为 cloud 或 byob 同用,返回 400 INVALID_PARAMS。其它代理类型返回 501。
|
|
3700
3700
|
*/
|
|
3701
3701
|
proxies?: boolean | Array<unknown>;
|
|
3702
|
+
/**
|
|
3703
|
+
* 选择浏览器后端。{type: 'cloud'}:Browser Run,启动最快、不能用代理、自动化特征可被网站发现。{type: 'container'}:我们自己的 Chrome 容器,可带代理也可不带;组织未开通容器后端时返回 501 PROVIDER_UNSUPPORTED。{type: 'byob', browser: 'byb_…'}:用户自己配对的浏览器,不能与 proxies 或登录态同用。简写 {byob: 'byb_…'} 等同最后一种。省略时按旧规则:带 proxies 进容器,否则 Browser Run。cloud 加代理、未知 type、格式错误都返回 400 INVALID_PARAMS。
|
|
3704
|
+
*/
|
|
3705
|
+
source?: {
|
|
3706
|
+
/**
|
|
3707
|
+
* Browser Run。
|
|
3708
|
+
*/
|
|
3709
|
+
type: 'cloud';
|
|
3710
|
+
} | {
|
|
3711
|
+
/**
|
|
3712
|
+
* 自家 Chrome 容器。
|
|
3713
|
+
*/
|
|
3714
|
+
type: 'container';
|
|
3715
|
+
} | {
|
|
3716
|
+
/**
|
|
3717
|
+
* 用户自己的浏览器。
|
|
3718
|
+
*/
|
|
3719
|
+
type: 'byob';
|
|
3720
|
+
/**
|
|
3721
|
+
* 自带浏览器 ID,以 byb_ 开头。
|
|
3722
|
+
*/
|
|
3723
|
+
browser: string;
|
|
3724
|
+
} | {
|
|
3725
|
+
/**
|
|
3726
|
+
* 自带浏览器 ID,type 为 byob 的简写。
|
|
3727
|
+
*/
|
|
3728
|
+
byob: string;
|
|
3729
|
+
};
|
|
3702
3730
|
/**
|
|
3703
3731
|
* 接受但忽略;不能选择区域。
|
|
3704
3732
|
*/
|
|
@@ -3746,9 +3774,9 @@ export type BrowserSessionCreateResult = {
|
|
|
3746
3774
|
*/
|
|
3747
3775
|
region: 'ap-southeast-1';
|
|
3748
3776
|
/**
|
|
3749
|
-
*
|
|
3777
|
+
* 会话经代理转发的流量字节数(上行与下行之和);仅容器后端的会话有值,其余后端固定为 0。
|
|
3750
3778
|
*/
|
|
3751
|
-
proxyBytes:
|
|
3779
|
+
proxyBytes: number;
|
|
3752
3780
|
/**
|
|
3753
3781
|
* 会话创建时刻,UTC ISO 8601 时间。
|
|
3754
3782
|
*/
|
|
@@ -3794,17 +3822,34 @@ export type BrowserSessionCreateResult = {
|
|
|
3794
3822
|
*/
|
|
3795
3823
|
origin: 'api' | 'connect' | 'console';
|
|
3796
3824
|
/**
|
|
3797
|
-
*
|
|
3825
|
+
* 会话实际使用的浏览器后端:cloud 是云浏览器(Browser Run),container 是我们自己的 Chrome 容器,byob 是用户自己配对的浏览器(browser 为它的 ID)。type 与 kind 同值,type 是公开名称,kind 为兼容旧读者保留。
|
|
3798
3826
|
*/
|
|
3799
3827
|
source: {
|
|
3800
3828
|
/**
|
|
3801
3829
|
* 云浏览器会话,固定为 cloud。
|
|
3802
3830
|
*/
|
|
3831
|
+
type: 'cloud';
|
|
3832
|
+
/**
|
|
3833
|
+
* 与 type 同值。
|
|
3834
|
+
*/
|
|
3803
3835
|
kind: 'cloud';
|
|
3836
|
+
} | {
|
|
3837
|
+
/**
|
|
3838
|
+
* 自家 Chrome 容器会话,固定为 container。
|
|
3839
|
+
*/
|
|
3840
|
+
type: 'container';
|
|
3841
|
+
/**
|
|
3842
|
+
* 与 type 同值。
|
|
3843
|
+
*/
|
|
3844
|
+
kind: 'container';
|
|
3804
3845
|
} | {
|
|
3805
3846
|
/**
|
|
3806
3847
|
* 用户自己配对的浏览器会话,固定为 byob。
|
|
3807
3848
|
*/
|
|
3849
|
+
type: 'byob';
|
|
3850
|
+
/**
|
|
3851
|
+
* 与 type 同值。
|
|
3852
|
+
*/
|
|
3808
3853
|
kind: 'byob';
|
|
3809
3854
|
/**
|
|
3810
3855
|
* 自带浏览器 ID,以 byb_ 开头。
|
|
@@ -3886,7 +3931,7 @@ export type BrowserError = {
|
|
|
3886
3931
|
statusCode: number;
|
|
3887
3932
|
error: string;
|
|
3888
3933
|
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' | '
|
|
3934
|
+
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
3935
|
};
|
|
3891
3936
|
export type BrowserSession = {
|
|
3892
3937
|
/**
|
|
@@ -3910,9 +3955,9 @@ export type BrowserSession = {
|
|
|
3910
3955
|
*/
|
|
3911
3956
|
region: 'ap-southeast-1';
|
|
3912
3957
|
/**
|
|
3913
|
-
*
|
|
3958
|
+
* 会话经代理转发的流量字节数(上行与下行之和);仅容器后端的会话有值,其余后端固定为 0。
|
|
3914
3959
|
*/
|
|
3915
|
-
proxyBytes:
|
|
3960
|
+
proxyBytes: number;
|
|
3916
3961
|
/**
|
|
3917
3962
|
* 会话创建时刻,UTC ISO 8601 时间。
|
|
3918
3963
|
*/
|
|
@@ -3958,17 +4003,34 @@ export type BrowserSession = {
|
|
|
3958
4003
|
*/
|
|
3959
4004
|
origin: 'api' | 'connect' | 'console';
|
|
3960
4005
|
/**
|
|
3961
|
-
*
|
|
4006
|
+
* 会话实际使用的浏览器后端:cloud 是云浏览器(Browser Run),container 是我们自己的 Chrome 容器,byob 是用户自己配对的浏览器(browser 为它的 ID)。type 与 kind 同值,type 是公开名称,kind 为兼容旧读者保留。
|
|
3962
4007
|
*/
|
|
3963
4008
|
source: {
|
|
3964
4009
|
/**
|
|
3965
4010
|
* 云浏览器会话,固定为 cloud。
|
|
3966
4011
|
*/
|
|
4012
|
+
type: 'cloud';
|
|
4013
|
+
/**
|
|
4014
|
+
* 与 type 同值。
|
|
4015
|
+
*/
|
|
3967
4016
|
kind: 'cloud';
|
|
4017
|
+
} | {
|
|
4018
|
+
/**
|
|
4019
|
+
* 自家 Chrome 容器会话,固定为 container。
|
|
4020
|
+
*/
|
|
4021
|
+
type: 'container';
|
|
4022
|
+
/**
|
|
4023
|
+
* 与 type 同值。
|
|
4024
|
+
*/
|
|
4025
|
+
kind: 'container';
|
|
3968
4026
|
} | {
|
|
3969
4027
|
/**
|
|
3970
4028
|
* 用户自己配对的浏览器会话,固定为 byob。
|
|
3971
4029
|
*/
|
|
4030
|
+
type: 'byob';
|
|
4031
|
+
/**
|
|
4032
|
+
* 与 type 同值。
|
|
4033
|
+
*/
|
|
3972
4034
|
kind: 'byob';
|
|
3973
4035
|
/**
|
|
3974
4036
|
* 自带浏览器 ID,以 byb_ 开头。
|
|
@@ -4052,9 +4114,9 @@ export type BrowserSessionGetResult = {
|
|
|
4052
4114
|
*/
|
|
4053
4115
|
region: 'ap-southeast-1';
|
|
4054
4116
|
/**
|
|
4055
|
-
*
|
|
4117
|
+
* 会话经代理转发的流量字节数(上行与下行之和);仅容器后端的会话有值,其余后端固定为 0。
|
|
4056
4118
|
*/
|
|
4057
|
-
proxyBytes:
|
|
4119
|
+
proxyBytes: number;
|
|
4058
4120
|
/**
|
|
4059
4121
|
* 会话创建时刻,UTC ISO 8601 时间。
|
|
4060
4122
|
*/
|
|
@@ -4100,17 +4162,34 @@ export type BrowserSessionGetResult = {
|
|
|
4100
4162
|
*/
|
|
4101
4163
|
origin: 'api' | 'connect' | 'console';
|
|
4102
4164
|
/**
|
|
4103
|
-
*
|
|
4165
|
+
* 会话实际使用的浏览器后端:cloud 是云浏览器(Browser Run),container 是我们自己的 Chrome 容器,byob 是用户自己配对的浏览器(browser 为它的 ID)。type 与 kind 同值,type 是公开名称,kind 为兼容旧读者保留。
|
|
4104
4166
|
*/
|
|
4105
4167
|
source: {
|
|
4106
4168
|
/**
|
|
4107
4169
|
* 云浏览器会话,固定为 cloud。
|
|
4108
4170
|
*/
|
|
4171
|
+
type: 'cloud';
|
|
4172
|
+
/**
|
|
4173
|
+
* 与 type 同值。
|
|
4174
|
+
*/
|
|
4109
4175
|
kind: 'cloud';
|
|
4176
|
+
} | {
|
|
4177
|
+
/**
|
|
4178
|
+
* 自家 Chrome 容器会话,固定为 container。
|
|
4179
|
+
*/
|
|
4180
|
+
type: 'container';
|
|
4181
|
+
/**
|
|
4182
|
+
* 与 type 同值。
|
|
4183
|
+
*/
|
|
4184
|
+
kind: 'container';
|
|
4110
4185
|
} | {
|
|
4111
4186
|
/**
|
|
4112
4187
|
* 用户自己配对的浏览器会话,固定为 byob。
|
|
4113
4188
|
*/
|
|
4189
|
+
type: 'byob';
|
|
4190
|
+
/**
|
|
4191
|
+
* 与 type 同值。
|
|
4192
|
+
*/
|
|
4114
4193
|
kind: 'byob';
|
|
4115
4194
|
/**
|
|
4116
4195
|
* 自带浏览器 ID,以 byb_ 开头。
|
|
@@ -4411,14 +4490,6 @@ export type BrowserByobBrowser = {
|
|
|
4411
4490
|
* 配对用的扩展 ID。
|
|
4412
4491
|
*/
|
|
4413
4492
|
extension_id: string;
|
|
4414
|
-
/**
|
|
4415
|
-
* 被授权驱动这个浏览器的智能体 ID 列表;智能体不在列表里时不能打开它的会话。空数组表示没有智能体被授权。
|
|
4416
|
-
*/
|
|
4417
|
-
granted_agents: Array<string>;
|
|
4418
|
-
/**
|
|
4419
|
-
* 允许智能体访问的站点列表;空数组表示不限制 http(s) 站点。这是护栏,不是数据边界。
|
|
4420
|
-
*/
|
|
4421
|
-
allowed_sites: Array<string>;
|
|
4422
4493
|
/**
|
|
4423
4494
|
* 扩展的连接当前是否在线;连接对象上线之前固定为 false。
|
|
4424
4495
|
*/
|
|
@@ -54307,6 +54378,86 @@ export type ListAgentInboxLettersResponses = {
|
|
|
54307
54378
|
};
|
|
54308
54379
|
};
|
|
54309
54380
|
export type ListAgentInboxLettersResponse = ListAgentInboxLettersResponses[keyof ListAgentInboxLettersResponses];
|
|
54381
|
+
export type ListAgentDeviceLocalSessionsData = {
|
|
54382
|
+
body?: never;
|
|
54383
|
+
path: {
|
|
54384
|
+
/**
|
|
54385
|
+
* 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_….
|
|
54386
|
+
*/
|
|
54387
|
+
agent_id: string;
|
|
54388
|
+
/**
|
|
54389
|
+
* The paired desktop device (byd_ and 26 hex characters) whose sessions to list; you must be the person who paired it.
|
|
54390
|
+
*/
|
|
54391
|
+
device_id: string;
|
|
54392
|
+
};
|
|
54393
|
+
query: {
|
|
54394
|
+
/**
|
|
54395
|
+
* The absolute directory on the device, exactly as the device registered it and bound it to this agent.
|
|
54396
|
+
*/
|
|
54397
|
+
cwd: string;
|
|
54398
|
+
/**
|
|
54399
|
+
* The next_cursor of the previous page; leave it out for the first page.
|
|
54400
|
+
*/
|
|
54401
|
+
cursor?: string;
|
|
54402
|
+
};
|
|
54403
|
+
url: '/agent/v1/agents/{agent_id}/devices/{device_id}/local-sessions';
|
|
54404
|
+
};
|
|
54405
|
+
export type ListAgentDeviceLocalSessionsErrors = {
|
|
54406
|
+
/**
|
|
54407
|
+
* 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.
|
|
54408
|
+
*/
|
|
54409
|
+
400: unknown;
|
|
54410
|
+
/**
|
|
54411
|
+
* Authenticate with your own API key or a console session; an agent's or robot's credential cannot list a person's device.
|
|
54412
|
+
*/
|
|
54413
|
+
401: unknown;
|
|
54414
|
+
/**
|
|
54415
|
+
* 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.
|
|
54416
|
+
*/
|
|
54417
|
+
403: AgentError;
|
|
54418
|
+
/**
|
|
54419
|
+
* AGENT_NOT_FOUND: no agent with this reference exists in your organization; list agents with agents.list.
|
|
54420
|
+
*/
|
|
54421
|
+
404: unknown;
|
|
54422
|
+
/**
|
|
54423
|
+
* 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.
|
|
54424
|
+
*/
|
|
54425
|
+
503: unknown;
|
|
54426
|
+
};
|
|
54427
|
+
export type ListAgentDeviceLocalSessionsError = ListAgentDeviceLocalSessionsErrors[keyof ListAgentDeviceLocalSessionsErrors];
|
|
54428
|
+
export type ListAgentDeviceLocalSessionsResponses = {
|
|
54429
|
+
/**
|
|
54430
|
+
* One page of the device's sessions for that directory, newest first.
|
|
54431
|
+
*/
|
|
54432
|
+
200: {
|
|
54433
|
+
/**
|
|
54434
|
+
* The sessions of this page; empty when the directory has none.
|
|
54435
|
+
*/
|
|
54436
|
+
data: Array<{
|
|
54437
|
+
/**
|
|
54438
|
+
* The Claude Code session id on the device; pass it as runtime.resume_session_id when creating a session to continue it.
|
|
54439
|
+
*/
|
|
54440
|
+
id: string;
|
|
54441
|
+
/**
|
|
54442
|
+
* The session's title as Claude Code shows it; empty when it has none.
|
|
54443
|
+
*/
|
|
54444
|
+
title: string;
|
|
54445
|
+
/**
|
|
54446
|
+
* When the session was last written to, RFC 3339; sessions are ordered newest first.
|
|
54447
|
+
*/
|
|
54448
|
+
updated_at: string | null;
|
|
54449
|
+
/**
|
|
54450
|
+
* The directory the session ran in on the device.
|
|
54451
|
+
*/
|
|
54452
|
+
cwd: string | null;
|
|
54453
|
+
}>;
|
|
54454
|
+
/**
|
|
54455
|
+
* Pass as cursor for the next page; null on the last page.
|
|
54456
|
+
*/
|
|
54457
|
+
next_cursor: string | null;
|
|
54458
|
+
};
|
|
54459
|
+
};
|
|
54460
|
+
export type ListAgentDeviceLocalSessionsResponse = ListAgentDeviceLocalSessionsResponses[keyof ListAgentDeviceLocalSessionsResponses];
|
|
54310
54461
|
export type CreateAgentLoginIntentData = {
|
|
54311
54462
|
body?: never;
|
|
54312
54463
|
path?: never;
|
|
@@ -55207,6 +55358,15 @@ export type ApplyAgentVersionResponses = {
|
|
|
55207
55358
|
name: string;
|
|
55208
55359
|
}>;
|
|
55209
55360
|
};
|
|
55361
|
+
/**
|
|
55362
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
55363
|
+
*/
|
|
55364
|
+
browser?: {
|
|
55365
|
+
/**
|
|
55366
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
55367
|
+
*/
|
|
55368
|
+
byob: string;
|
|
55369
|
+
} | null;
|
|
55210
55370
|
/**
|
|
55211
55371
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
55212
55372
|
*/
|
|
@@ -55592,7 +55752,7 @@ export type ApplyAgentVersionResponses = {
|
|
|
55592
55752
|
*/
|
|
55593
55753
|
environment_id?: string | null;
|
|
55594
55754
|
/**
|
|
55595
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
55755
|
+
* 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.
|
|
55596
55756
|
*/
|
|
55597
55757
|
vault_ids?: Array<string>;
|
|
55598
55758
|
/**
|
|
@@ -56458,6 +56618,15 @@ export type UnarchiveAgentResponses = {
|
|
|
56458
56618
|
name: string;
|
|
56459
56619
|
}>;
|
|
56460
56620
|
};
|
|
56621
|
+
/**
|
|
56622
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
56623
|
+
*/
|
|
56624
|
+
browser?: {
|
|
56625
|
+
/**
|
|
56626
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
56627
|
+
*/
|
|
56628
|
+
byob: string;
|
|
56629
|
+
} | null;
|
|
56461
56630
|
/**
|
|
56462
56631
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
56463
56632
|
*/
|
|
@@ -56843,7 +57012,7 @@ export type UnarchiveAgentResponses = {
|
|
|
56843
57012
|
*/
|
|
56844
57013
|
environment_id?: string | null;
|
|
56845
57014
|
/**
|
|
56846
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
57015
|
+
* 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.
|
|
56847
57016
|
*/
|
|
56848
57017
|
vault_ids?: Array<string>;
|
|
56849
57018
|
/**
|
|
@@ -61484,7 +61653,7 @@ export type ComputersFilesConvertResponse = ComputersFilesConvertResponses[keyof
|
|
|
61484
61653
|
export type ConnectComputerData = {
|
|
61485
61654
|
body?: {
|
|
61486
61655
|
/**
|
|
61487
|
-
*
|
|
61656
|
+
* Accepted for compatibility and ignored: light and heavy both reach the same machine, because a Computer is one machine. Omit it.
|
|
61488
61657
|
*/
|
|
61489
61658
|
need?: 'light' | 'heavy';
|
|
61490
61659
|
};
|
|
@@ -69088,7 +69257,7 @@ export type BrowserListSessionsErrors = {
|
|
|
69088
69257
|
*/
|
|
69089
69258
|
402: BrowserError;
|
|
69090
69259
|
/**
|
|
69091
|
-
* PERMISSION_DENIED /
|
|
69260
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69092
69261
|
*/
|
|
69093
69262
|
403: BrowserError;
|
|
69094
69263
|
/**
|
|
@@ -69169,7 +69338,7 @@ export type BrowserCreateSessionErrors = {
|
|
|
69169
69338
|
*/
|
|
69170
69339
|
402: BrowserError;
|
|
69171
69340
|
/**
|
|
69172
|
-
* PERMISSION_DENIED /
|
|
69341
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69173
69342
|
*/
|
|
69174
69343
|
403: BrowserError;
|
|
69175
69344
|
/**
|
|
@@ -69255,7 +69424,7 @@ export type BrowserGetSessionErrors = {
|
|
|
69255
69424
|
*/
|
|
69256
69425
|
402: BrowserError;
|
|
69257
69426
|
/**
|
|
69258
|
-
* PERMISSION_DENIED /
|
|
69427
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69259
69428
|
*/
|
|
69260
69429
|
403: BrowserError;
|
|
69261
69430
|
/**
|
|
@@ -69337,7 +69506,7 @@ export type BrowserCloseSessionErrors = {
|
|
|
69337
69506
|
*/
|
|
69338
69507
|
402: BrowserError;
|
|
69339
69508
|
/**
|
|
69340
|
-
* PERMISSION_DENIED /
|
|
69509
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69341
69510
|
*/
|
|
69342
69511
|
403: BrowserError;
|
|
69343
69512
|
/**
|
|
@@ -69414,7 +69583,7 @@ export type BrowserGetDebugErrors = {
|
|
|
69414
69583
|
*/
|
|
69415
69584
|
402: BrowserError;
|
|
69416
69585
|
/**
|
|
69417
|
-
* PERMISSION_DENIED /
|
|
69586
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69418
69587
|
*/
|
|
69419
69588
|
403: BrowserError;
|
|
69420
69589
|
/**
|
|
@@ -69504,7 +69673,7 @@ export type BrowserListEventsErrors = {
|
|
|
69504
69673
|
*/
|
|
69505
69674
|
402: BrowserError;
|
|
69506
69675
|
/**
|
|
69507
|
-
* PERMISSION_DENIED /
|
|
69676
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69508
69677
|
*/
|
|
69509
69678
|
403: BrowserError;
|
|
69510
69679
|
/**
|
|
@@ -69787,7 +69956,7 @@ export type BrowserRunPageActionErrors = {
|
|
|
69787
69956
|
*/
|
|
69788
69957
|
402: BrowserError;
|
|
69789
69958
|
/**
|
|
69790
|
-
* PERMISSION_DENIED /
|
|
69959
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
69791
69960
|
*/
|
|
69792
69961
|
403: BrowserError;
|
|
69793
69962
|
/**
|
|
@@ -70009,7 +70178,7 @@ export type BrowserRequestHandoffErrors = {
|
|
|
70009
70178
|
*/
|
|
70010
70179
|
402: BrowserError;
|
|
70011
70180
|
/**
|
|
70012
|
-
* PERMISSION_DENIED /
|
|
70181
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70013
70182
|
*/
|
|
70014
70183
|
403: BrowserError;
|
|
70015
70184
|
/**
|
|
@@ -70086,7 +70255,7 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
70086
70255
|
*/
|
|
70087
70256
|
402: BrowserError;
|
|
70088
70257
|
/**
|
|
70089
|
-
* PERMISSION_DENIED /
|
|
70258
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70090
70259
|
*/
|
|
70091
70260
|
403: BrowserError;
|
|
70092
70261
|
/**
|
|
@@ -70172,7 +70341,7 @@ export type BrowserViewerHeartbeatErrors = {
|
|
|
70172
70341
|
*/
|
|
70173
70342
|
402: BrowserError;
|
|
70174
70343
|
/**
|
|
70175
|
-
* PERMISSION_DENIED /
|
|
70344
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70176
70345
|
*/
|
|
70177
70346
|
403: BrowserError;
|
|
70178
70347
|
/**
|
|
@@ -70254,7 +70423,7 @@ export type BrowserGetSessionFrameErrors = {
|
|
|
70254
70423
|
*/
|
|
70255
70424
|
402: BrowserError;
|
|
70256
70425
|
/**
|
|
70257
|
-
* PERMISSION_DENIED /
|
|
70426
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70258
70427
|
*/
|
|
70259
70428
|
403: BrowserError;
|
|
70260
70429
|
/**
|
|
@@ -70339,7 +70508,7 @@ export type BrowserListContextsErrors = {
|
|
|
70339
70508
|
*/
|
|
70340
70509
|
402: BrowserError;
|
|
70341
70510
|
/**
|
|
70342
|
-
* PERMISSION_DENIED /
|
|
70511
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70343
70512
|
*/
|
|
70344
70513
|
403: BrowserError;
|
|
70345
70514
|
/**
|
|
@@ -70435,7 +70604,7 @@ export type BrowserCreateContextErrors = {
|
|
|
70435
70604
|
*/
|
|
70436
70605
|
402: BrowserError;
|
|
70437
70606
|
/**
|
|
70438
|
-
* PERMISSION_DENIED /
|
|
70607
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70439
70608
|
*/
|
|
70440
70609
|
403: BrowserError;
|
|
70441
70610
|
/**
|
|
@@ -70512,7 +70681,7 @@ export type BrowserDeleteContextErrors = {
|
|
|
70512
70681
|
*/
|
|
70513
70682
|
402: BrowserError;
|
|
70514
70683
|
/**
|
|
70515
|
-
* PERMISSION_DENIED /
|
|
70684
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70516
70685
|
*/
|
|
70517
70686
|
403: BrowserError;
|
|
70518
70687
|
/**
|
|
@@ -70594,7 +70763,7 @@ export type BrowserGetContextErrors = {
|
|
|
70594
70763
|
*/
|
|
70595
70764
|
402: BrowserError;
|
|
70596
70765
|
/**
|
|
70597
|
-
* PERMISSION_DENIED /
|
|
70766
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70598
70767
|
*/
|
|
70599
70768
|
403: BrowserError;
|
|
70600
70769
|
/**
|
|
@@ -70682,7 +70851,7 @@ export type BrowserUpdateContextErrors = {
|
|
|
70682
70851
|
*/
|
|
70683
70852
|
402: BrowserError;
|
|
70684
70853
|
/**
|
|
70685
|
-
* PERMISSION_DENIED /
|
|
70854
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70686
70855
|
*/
|
|
70687
70856
|
403: BrowserError;
|
|
70688
70857
|
/**
|
|
@@ -70754,7 +70923,7 @@ export type BrowserCreateByobPairingErrors = {
|
|
|
70754
70923
|
*/
|
|
70755
70924
|
402: BrowserError;
|
|
70756
70925
|
/**
|
|
70757
|
-
* PERMISSION_DENIED /
|
|
70926
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70758
70927
|
*/
|
|
70759
70928
|
403: BrowserError;
|
|
70760
70929
|
/**
|
|
@@ -70835,7 +71004,7 @@ export type BrowserListByobBrowsersErrors = {
|
|
|
70835
71004
|
*/
|
|
70836
71005
|
402: BrowserError;
|
|
70837
71006
|
/**
|
|
70838
|
-
* PERMISSION_DENIED /
|
|
71007
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70839
71008
|
*/
|
|
70840
71009
|
403: BrowserError;
|
|
70841
71010
|
/**
|
|
@@ -70921,7 +71090,7 @@ export type BrowserGetByobBrowserErrors = {
|
|
|
70921
71090
|
*/
|
|
70922
71091
|
402: BrowserError;
|
|
70923
71092
|
/**
|
|
70924
|
-
* PERMISSION_DENIED /
|
|
71093
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
70925
71094
|
*/
|
|
70926
71095
|
403: BrowserError;
|
|
70927
71096
|
/**
|
|
@@ -70979,14 +71148,6 @@ export type BrowserUpdateByobBrowserData = {
|
|
|
70979
71148
|
* 新的显示名称,1–80 个字符。
|
|
70980
71149
|
*/
|
|
70981
71150
|
name?: string;
|
|
70982
|
-
/**
|
|
70983
|
-
* 整体替换被授权的智能体 ID 列表;传空数组撤销全部授权。
|
|
70984
|
-
*/
|
|
70985
|
-
granted_agents?: Array<string>;
|
|
70986
|
-
/**
|
|
70987
|
-
* 整体替换允许站点列表;传空数组表示不限制。
|
|
70988
|
-
*/
|
|
70989
|
-
allowed_sites?: Array<string>;
|
|
70990
71151
|
};
|
|
70991
71152
|
path: {
|
|
70992
71153
|
/**
|
|
@@ -71011,7 +71172,7 @@ export type BrowserUpdateByobBrowserErrors = {
|
|
|
71011
71172
|
*/
|
|
71012
71173
|
402: BrowserError;
|
|
71013
71174
|
/**
|
|
71014
|
-
* PERMISSION_DENIED /
|
|
71175
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71015
71176
|
*/
|
|
71016
71177
|
403: BrowserError;
|
|
71017
71178
|
/**
|
|
@@ -71088,7 +71249,7 @@ export type BrowserDisconnectByobBrowserErrors = {
|
|
|
71088
71249
|
*/
|
|
71089
71250
|
402: BrowserError;
|
|
71090
71251
|
/**
|
|
71091
|
-
* PERMISSION_DENIED /
|
|
71252
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71092
71253
|
*/
|
|
71093
71254
|
403: BrowserError;
|
|
71094
71255
|
/**
|
|
@@ -71165,7 +71326,7 @@ export type BrowserReadByobPairingErrors = {
|
|
|
71165
71326
|
*/
|
|
71166
71327
|
402: BrowserError;
|
|
71167
71328
|
/**
|
|
71168
|
-
* PERMISSION_DENIED /
|
|
71329
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71169
71330
|
*/
|
|
71170
71331
|
403: BrowserError;
|
|
71171
71332
|
/**
|
|
@@ -71242,7 +71403,7 @@ export type BrowserClaimByobPairingErrors = {
|
|
|
71242
71403
|
*/
|
|
71243
71404
|
402: BrowserError;
|
|
71244
71405
|
/**
|
|
71245
|
-
* PERMISSION_DENIED /
|
|
71406
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71246
71407
|
*/
|
|
71247
71408
|
403: BrowserError;
|
|
71248
71409
|
/**
|
|
@@ -71351,7 +71512,7 @@ export type BrowserConnectErrors = {
|
|
|
71351
71512
|
*/
|
|
71352
71513
|
402: BrowserError;
|
|
71353
71514
|
/**
|
|
71354
|
-
* PERMISSION_DENIED /
|
|
71515
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71355
71516
|
*/
|
|
71356
71517
|
403: BrowserError;
|
|
71357
71518
|
/**
|
|
@@ -71430,7 +71591,7 @@ export type BrowserLiveViewErrors = {
|
|
|
71430
71591
|
*/
|
|
71431
71592
|
402: BrowserError;
|
|
71432
71593
|
/**
|
|
71433
|
-
* PERMISSION_DENIED /
|
|
71594
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71434
71595
|
*/
|
|
71435
71596
|
403: BrowserError;
|
|
71436
71597
|
/**
|
|
@@ -71500,7 +71661,7 @@ export type BrowserStreamSessionErrors = {
|
|
|
71500
71661
|
*/
|
|
71501
71662
|
402: BrowserError;
|
|
71502
71663
|
/**
|
|
71503
|
-
* PERMISSION_DENIED /
|
|
71664
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71504
71665
|
*/
|
|
71505
71666
|
403: BrowserError;
|
|
71506
71667
|
/**
|
|
@@ -71577,7 +71738,7 @@ export type BrowserStreamSessionFramesErrors = {
|
|
|
71577
71738
|
*/
|
|
71578
71739
|
402: BrowserError;
|
|
71579
71740
|
/**
|
|
71580
|
-
* PERMISSION_DENIED /
|
|
71741
|
+
* PERMISSION_DENIED / CONTEXT_READ_ONLY / ACCOUNT_SUSPENDED
|
|
71581
71742
|
*/
|
|
71582
71743
|
403: BrowserError;
|
|
71583
71744
|
/**
|
|
@@ -80762,7 +80923,7 @@ export type ListByodDevicesResponses = {
|
|
|
80762
80923
|
*/
|
|
80763
80924
|
id: string;
|
|
80764
80925
|
/**
|
|
80765
|
-
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs
|
|
80926
|
+
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs like a phone; windows is not supported yet.
|
|
80766
80927
|
*/
|
|
80767
80928
|
platform: 'android' | 'macos' | 'linux';
|
|
80768
80929
|
/**
|
|
@@ -80810,6 +80971,10 @@ export type ListByodDevicesResponses = {
|
|
|
80810
80971
|
*/
|
|
80811
80972
|
agent: string;
|
|
80812
80973
|
}>;
|
|
80974
|
+
/**
|
|
80975
|
+
* 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.
|
|
80976
|
+
*/
|
|
80977
|
+
envd_version: string | null;
|
|
80813
80978
|
/**
|
|
80814
80979
|
* 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.
|
|
80815
80980
|
*/
|
|
@@ -80857,7 +81022,7 @@ export type GetByodDeviceResponses = {
|
|
|
80857
81022
|
*/
|
|
80858
81023
|
id: string;
|
|
80859
81024
|
/**
|
|
80860
|
-
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs
|
|
81025
|
+
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs like a phone; windows is not supported yet.
|
|
80861
81026
|
*/
|
|
80862
81027
|
platform: 'android' | 'macos' | 'linux';
|
|
80863
81028
|
/**
|
|
@@ -80905,6 +81070,10 @@ export type GetByodDeviceResponses = {
|
|
|
80905
81070
|
*/
|
|
80906
81071
|
agent: string;
|
|
80907
81072
|
}>;
|
|
81073
|
+
/**
|
|
81074
|
+
* 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.
|
|
81075
|
+
*/
|
|
81076
|
+
envd_version: string | null;
|
|
80908
81077
|
/**
|
|
80909
81078
|
* 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.
|
|
80910
81079
|
*/
|
|
@@ -80963,7 +81132,7 @@ export type UpdateByodDeviceResponses = {
|
|
|
80963
81132
|
*/
|
|
80964
81133
|
id: string;
|
|
80965
81134
|
/**
|
|
80966
|
-
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs
|
|
81135
|
+
* The device's platform, which decides the use faces it answers. A desktop (macos, linux) pairs like a phone; windows is not supported yet.
|
|
80967
81136
|
*/
|
|
80968
81137
|
platform: 'android' | 'macos' | 'linux';
|
|
80969
81138
|
/**
|
|
@@ -81011,6 +81180,10 @@ export type UpdateByodDeviceResponses = {
|
|
|
81011
81180
|
*/
|
|
81012
81181
|
agent: string;
|
|
81013
81182
|
}>;
|
|
81183
|
+
/**
|
|
81184
|
+
* 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.
|
|
81185
|
+
*/
|
|
81186
|
+
envd_version: string | null;
|
|
81014
81187
|
/**
|
|
81015
81188
|
* 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.
|
|
81016
81189
|
*/
|
|
@@ -81102,7 +81275,7 @@ export type ClaimByodPairingData = {
|
|
|
81102
81275
|
*/
|
|
81103
81276
|
body: {
|
|
81104
81277
|
/**
|
|
81105
|
-
* The device's platform. macos and linux are accepted
|
|
81278
|
+
* The device's platform. macos and linux are accepted for every organization; any other value than android, macos or linux answers INVALID_PARAMS.
|
|
81106
81279
|
*/
|
|
81107
81280
|
platform: 'android' | 'macos' | 'linux';
|
|
81108
81281
|
/**
|
|
@@ -81133,7 +81306,7 @@ export type ClaimByodPairingData = {
|
|
|
81133
81306
|
};
|
|
81134
81307
|
export type ClaimByodPairingErrors = {
|
|
81135
81308
|
/**
|
|
81136
|
-
* INVALID_PARAMS: the body is missing, platform is not android, macos or linux
|
|
81309
|
+
* 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.
|
|
81137
81310
|
*/
|
|
81138
81311
|
400: unknown;
|
|
81139
81312
|
/**
|
|
@@ -83756,8 +83929,7 @@ export type SessionsUpdateData = {
|
|
|
83756
83929
|
*/
|
|
83757
83930
|
title?: null | string;
|
|
83758
83931
|
/**
|
|
83759
|
-
*
|
|
83760
|
-
* requests setting this field are rejected. Reserved for future use.
|
|
83932
|
+
* 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.
|
|
83761
83933
|
*/
|
|
83762
83934
|
vault_ids?: Array<string>;
|
|
83763
83935
|
/**
|
|
@@ -84304,6 +84476,15 @@ export type AgentsListResponses = {
|
|
|
84304
84476
|
name: string;
|
|
84305
84477
|
}>;
|
|
84306
84478
|
};
|
|
84479
|
+
/**
|
|
84480
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
84481
|
+
*/
|
|
84482
|
+
browser?: {
|
|
84483
|
+
/**
|
|
84484
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
84485
|
+
*/
|
|
84486
|
+
byob: string;
|
|
84487
|
+
} | null;
|
|
84307
84488
|
/**
|
|
84308
84489
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
84309
84490
|
*/
|
|
@@ -84689,7 +84870,7 @@ export type AgentsListResponses = {
|
|
|
84689
84870
|
*/
|
|
84690
84871
|
environment_id?: string | null;
|
|
84691
84872
|
/**
|
|
84692
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
84873
|
+
* 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.
|
|
84693
84874
|
*/
|
|
84694
84875
|
vault_ids?: Array<string>;
|
|
84695
84876
|
/**
|
|
@@ -85228,7 +85409,7 @@ export type AgentsCreateData = {
|
|
|
85228
85409
|
*/
|
|
85229
85410
|
environment_id?: string | null;
|
|
85230
85411
|
/**
|
|
85231
|
-
* Default vaults of
|
|
85412
|
+
* 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.
|
|
85232
85413
|
*/
|
|
85233
85414
|
vault_ids?: Array<string>;
|
|
85234
85415
|
/**
|
|
@@ -85253,6 +85434,15 @@ export type AgentsCreateData = {
|
|
|
85253
85434
|
name: string;
|
|
85254
85435
|
}>;
|
|
85255
85436
|
};
|
|
85437
|
+
/**
|
|
85438
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
85439
|
+
*/
|
|
85440
|
+
browser?: {
|
|
85441
|
+
/**
|
|
85442
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
85443
|
+
*/
|
|
85444
|
+
byob: string;
|
|
85445
|
+
} | null;
|
|
85256
85446
|
/**
|
|
85257
85447
|
* Optional tool preset. minimal enables read, glob and grep; data-editor also enables write and edit; full uses the default toolset with always_allow. Explicit tools override matching preset entries. codemode requires bash and is absent from data-editor.
|
|
85258
85448
|
*/
|
|
@@ -85508,6 +85698,15 @@ export type AgentsCreateResponses = {
|
|
|
85508
85698
|
name: string;
|
|
85509
85699
|
}>;
|
|
85510
85700
|
};
|
|
85701
|
+
/**
|
|
85702
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
85703
|
+
*/
|
|
85704
|
+
browser?: {
|
|
85705
|
+
/**
|
|
85706
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
85707
|
+
*/
|
|
85708
|
+
byob: string;
|
|
85709
|
+
} | null;
|
|
85511
85710
|
/**
|
|
85512
85711
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
85513
85712
|
*/
|
|
@@ -85893,7 +86092,7 @@ export type AgentsCreateResponses = {
|
|
|
85893
86092
|
*/
|
|
85894
86093
|
environment_id?: string | null;
|
|
85895
86094
|
/**
|
|
85896
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
86095
|
+
* 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.
|
|
85897
86096
|
*/
|
|
85898
86097
|
vault_ids?: Array<string>;
|
|
85899
86098
|
/**
|
|
@@ -86170,6 +86369,15 @@ export type AgentsRetrieveResponses = {
|
|
|
86170
86369
|
name: string;
|
|
86171
86370
|
}>;
|
|
86172
86371
|
};
|
|
86372
|
+
/**
|
|
86373
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
86374
|
+
*/
|
|
86375
|
+
browser?: {
|
|
86376
|
+
/**
|
|
86377
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
86378
|
+
*/
|
|
86379
|
+
byob: string;
|
|
86380
|
+
} | null;
|
|
86173
86381
|
/**
|
|
86174
86382
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
86175
86383
|
*/
|
|
@@ -86555,7 +86763,7 @@ export type AgentsRetrieveResponses = {
|
|
|
86555
86763
|
*/
|
|
86556
86764
|
environment_id?: string | null;
|
|
86557
86765
|
/**
|
|
86558
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
86766
|
+
* 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.
|
|
86559
86767
|
*/
|
|
86560
86768
|
vault_ids?: Array<string>;
|
|
86561
86769
|
/**
|
|
@@ -87103,7 +87311,7 @@ export type AgentsUpdateData = {
|
|
|
87103
87311
|
*/
|
|
87104
87312
|
environment_id?: string | null;
|
|
87105
87313
|
/**
|
|
87106
|
-
* Default vaults of
|
|
87314
|
+
* 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.
|
|
87107
87315
|
*/
|
|
87108
87316
|
vault_ids?: Array<string>;
|
|
87109
87317
|
/**
|
|
@@ -87128,6 +87336,15 @@ export type AgentsUpdateData = {
|
|
|
87128
87336
|
name: string;
|
|
87129
87337
|
}>;
|
|
87130
87338
|
};
|
|
87339
|
+
/**
|
|
87340
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
87341
|
+
*/
|
|
87342
|
+
browser?: {
|
|
87343
|
+
/**
|
|
87344
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
87345
|
+
*/
|
|
87346
|
+
byob: string;
|
|
87347
|
+
} | null;
|
|
87131
87348
|
/**
|
|
87132
87349
|
* Optional tool preset. minimal enables read, glob and grep; data-editor also enables write and edit; full uses the default toolset with always_allow. Explicit tools override matching preset entries. codemode requires bash and is absent from data-editor.
|
|
87133
87350
|
*/
|
|
@@ -87396,6 +87613,15 @@ export type AgentsUpdateResponses = {
|
|
|
87396
87613
|
name: string;
|
|
87397
87614
|
}>;
|
|
87398
87615
|
};
|
|
87616
|
+
/**
|
|
87617
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
87618
|
+
*/
|
|
87619
|
+
browser?: {
|
|
87620
|
+
/**
|
|
87621
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
87622
|
+
*/
|
|
87623
|
+
byob: string;
|
|
87624
|
+
} | null;
|
|
87399
87625
|
/**
|
|
87400
87626
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
87401
87627
|
*/
|
|
@@ -87781,7 +88007,7 @@ export type AgentsUpdateResponses = {
|
|
|
87781
88007
|
*/
|
|
87782
88008
|
environment_id?: string | null;
|
|
87783
88009
|
/**
|
|
87784
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
88010
|
+
* 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.
|
|
87785
88011
|
*/
|
|
87786
88012
|
vault_ids?: Array<string>;
|
|
87787
88013
|
/**
|
|
@@ -88407,7 +88633,7 @@ export type AgentsArchiveResponses = {
|
|
|
88407
88633
|
*/
|
|
88408
88634
|
environment_id?: string | null;
|
|
88409
88635
|
/**
|
|
88410
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
88636
|
+
* 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.
|
|
88411
88637
|
*/
|
|
88412
88638
|
vault_ids?: Array<string>;
|
|
88413
88639
|
/**
|
|
@@ -88684,6 +88910,15 @@ export type AgentsVersionsListResponses = {
|
|
|
88684
88910
|
name: string;
|
|
88685
88911
|
}>;
|
|
88686
88912
|
};
|
|
88913
|
+
/**
|
|
88914
|
+
* ADR-205: which browser the agent drives. {byob: byb_…} names one of your organization's paired browsers (browser.byob.browsers.list), which the agent then drives through connect() instead of a cloud browser; null or absent is the cloud browser. The browser must belong to your organization (otherwise 400) and must grant this agent before a session can open it. Omit on update to keep it, send an object to replace it, or null to go back to the cloud browser. /agent/v1 only.
|
|
88915
|
+
*/
|
|
88916
|
+
browser?: {
|
|
88917
|
+
/**
|
|
88918
|
+
* A paired browser's id (byb_ and 26 lowercase hex characters), from browser.byob.browsers.list.
|
|
88919
|
+
*/
|
|
88920
|
+
byob: string;
|
|
88921
|
+
} | null;
|
|
88687
88922
|
/**
|
|
88688
88923
|
* Praxis extension: MA only has session-scoped temporary containers and memory_stores, not durable browsable computers. computer_id selects a tenant-owned active computer. Session selection overrides the agent default; a sandbox environment_id and computer_id cannot be combined. Omitted when no computer is selected.
|
|
88689
88924
|
*/
|
|
@@ -89069,7 +89304,7 @@ export type AgentsVersionsListResponses = {
|
|
|
89069
89304
|
*/
|
|
89070
89305
|
environment_id?: string | null;
|
|
89071
89306
|
/**
|
|
89072
|
-
* Default vaults of this service or assume agent version: the vault_ids new
|
|
89307
|
+
* 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.
|
|
89073
89308
|
*/
|
|
89074
89309
|
vault_ids?: Array<string>;
|
|
89075
89310
|
/**
|