@deepraxis/sdk 0.1.1-dev.1538445 → 0.1.1-dev.2990b29
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/core/client.d.ts +5 -1
- package/dist/core/client.js +10 -0
- package/dist/generated/sdk.gen.d.ts +5 -5
- package/dist/generated/sdk.gen.js +5 -5
- package/dist/generated/types.gen.d.ts +1700 -1535
- package/dist/helpers/application-build.d.ts +10 -0
- package/dist/helpers/application-build.js +98 -0
- package/dist/helpers/application-publish.d.ts +8 -0
- package/dist/helpers/application-publish.js +26 -9
- package/dist/helpers/browser-connect.d.ts +78 -0
- package/dist/helpers/browser-connect.js +161 -0
- package/dist/helpers/browser-decisions.d.ts +44 -0
- package/dist/helpers/browser-decisions.js +84 -0
- package/dist/helpers/browser-documentation.d.ts +2 -0
- package/dist/helpers/browser-documentation.js +47 -0
- package/dist/index.d.ts +4 -0
- package/dist/index.js +2 -0
- package/dist/operations.generated.d.ts +14 -13
- package/dist/operations.generated.js +15 -14
- package/dist/resources.generated.d.ts +74 -218
- package/package.json +1 -1
|
@@ -1,6 +1,261 @@
|
|
|
1
1
|
export type ClientOptions = {
|
|
2
2
|
baseUrl: 'https://api.deepraxis.com' | (string & {});
|
|
3
3
|
};
|
|
4
|
+
/**
|
|
5
|
+
* Praxis extension: Streamable HTTP, SSE or trusted stdio MCP servers, persisted with the agent version. Optional fields remain omitted when not supplied.
|
|
6
|
+
*/
|
|
7
|
+
export type AgentManaged36 = {
|
|
8
|
+
/**
|
|
9
|
+
* Streamable HTTP transport.
|
|
10
|
+
*/
|
|
11
|
+
type: 'url';
|
|
12
|
+
/**
|
|
13
|
+
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
14
|
+
*/
|
|
15
|
+
name: string;
|
|
16
|
+
/**
|
|
17
|
+
* HTTP or HTTPS MCP server endpoint.
|
|
18
|
+
*/
|
|
19
|
+
url: string;
|
|
20
|
+
/**
|
|
21
|
+
* Praxis extension: request headers. Platform identity headers take precedence, case-insensitively.
|
|
22
|
+
*/
|
|
23
|
+
headers?: {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
28
|
+
*/
|
|
29
|
+
timeout_ms?: number;
|
|
30
|
+
} | {
|
|
31
|
+
/**
|
|
32
|
+
* Legacy SSE transport.
|
|
33
|
+
*/
|
|
34
|
+
type: 'sse';
|
|
35
|
+
/**
|
|
36
|
+
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
37
|
+
*/
|
|
38
|
+
name: string;
|
|
39
|
+
/**
|
|
40
|
+
* HTTP or HTTPS MCP server endpoint.
|
|
41
|
+
*/
|
|
42
|
+
url: string;
|
|
43
|
+
/**
|
|
44
|
+
* Praxis extension: request headers. Platform identity headers take precedence, case-insensitively.
|
|
45
|
+
*/
|
|
46
|
+
headers?: {
|
|
47
|
+
[key: string]: string;
|
|
48
|
+
};
|
|
49
|
+
/**
|
|
50
|
+
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
51
|
+
*/
|
|
52
|
+
timeout_ms?: number;
|
|
53
|
+
} | {
|
|
54
|
+
/**
|
|
55
|
+
* Run a command on the agent computer.
|
|
56
|
+
*/
|
|
57
|
+
type: 'stdio';
|
|
58
|
+
/**
|
|
59
|
+
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
60
|
+
*/
|
|
61
|
+
name: string;
|
|
62
|
+
/**
|
|
63
|
+
* Executable command on the agent computer.
|
|
64
|
+
*/
|
|
65
|
+
command: string;
|
|
66
|
+
/**
|
|
67
|
+
* Command arguments; omitted means no arguments.
|
|
68
|
+
*/
|
|
69
|
+
args?: Array<string>;
|
|
70
|
+
/**
|
|
71
|
+
* Praxis extension: environment variables for the command on the agent computer.
|
|
72
|
+
*/
|
|
73
|
+
env?: {
|
|
74
|
+
[key: string]: string;
|
|
75
|
+
};
|
|
76
|
+
/**
|
|
77
|
+
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
78
|
+
*/
|
|
79
|
+
timeout_ms?: number;
|
|
80
|
+
};
|
|
81
|
+
/**
|
|
82
|
+
* Free-form string key/value pairs stored with the agent for your own bookkeeping.
|
|
83
|
+
*/
|
|
84
|
+
export type AgentManaged37 = {
|
|
85
|
+
[key: string]: string;
|
|
86
|
+
};
|
|
87
|
+
export type AgentManaged2 = {
|
|
88
|
+
/**
|
|
89
|
+
* Always `low`. Lowest reasoning effort of the supported levels.
|
|
90
|
+
*/
|
|
91
|
+
type: 'low';
|
|
92
|
+
};
|
|
93
|
+
export type AgentManaged3 = {
|
|
94
|
+
/**
|
|
95
|
+
* Always `medium`. Middle reasoning effort.
|
|
96
|
+
*/
|
|
97
|
+
type: 'medium';
|
|
98
|
+
};
|
|
99
|
+
export type AgentManaged4 = {
|
|
100
|
+
/**
|
|
101
|
+
* Always `high`. High reasoning effort.
|
|
102
|
+
*/
|
|
103
|
+
type: 'high';
|
|
104
|
+
};
|
|
105
|
+
export type AgentManaged5 = {
|
|
106
|
+
/**
|
|
107
|
+
* Always `xhigh`. Extra-high reasoning effort, above high; only models that list it in thinking.efforts accept it.
|
|
108
|
+
*/
|
|
109
|
+
type: 'xhigh';
|
|
110
|
+
};
|
|
111
|
+
export type AgentManaged6 = {
|
|
112
|
+
/**
|
|
113
|
+
* Always `max`. Maximum effort level of the Managed Agents shape, above xhigh.
|
|
114
|
+
*/
|
|
115
|
+
type: 'max';
|
|
116
|
+
};
|
|
117
|
+
export type AgentManaged39 = {
|
|
118
|
+
/**
|
|
119
|
+
* Agents the coordinator may spawn as session threads, each resolved to a specific
|
|
120
|
+
* version.
|
|
121
|
+
*/
|
|
122
|
+
agents: Array<AgentManaged40 | AgentManaged41>;
|
|
123
|
+
/**
|
|
124
|
+
* Always `coordinator`. The agent coordinates the roster in agents and can delegate to its members.
|
|
125
|
+
*/
|
|
126
|
+
type: 'coordinator';
|
|
127
|
+
};
|
|
128
|
+
export type AgentManaged42 = {
|
|
129
|
+
/**
|
|
130
|
+
* Id of the skill to attach.
|
|
131
|
+
*/
|
|
132
|
+
skill_id: string;
|
|
133
|
+
/**
|
|
134
|
+
* Always `anthropic`. A skill provided by Anthropic, identified by skill_id.
|
|
135
|
+
*/
|
|
136
|
+
type: 'anthropic';
|
|
137
|
+
/**
|
|
138
|
+
* Version of the skill: omit or `latest` to follow the newest version at each new session; give a version id to pin it.
|
|
139
|
+
*/
|
|
140
|
+
version: string;
|
|
141
|
+
};
|
|
142
|
+
export type AgentManaged43 = {
|
|
143
|
+
/**
|
|
144
|
+
* Id of the skill to attach.
|
|
145
|
+
*/
|
|
146
|
+
skill_id: string;
|
|
147
|
+
/**
|
|
148
|
+
* Always `custom`. A skill created by you, identified by skill_id.
|
|
149
|
+
*/
|
|
150
|
+
type: 'custom';
|
|
151
|
+
/**
|
|
152
|
+
* Version of the skill: omit or `latest` to follow the newest version at each new session; give a version id to pin it.
|
|
153
|
+
*/
|
|
154
|
+
version: string;
|
|
155
|
+
};
|
|
156
|
+
export type AgentManaged44 = {
|
|
157
|
+
/**
|
|
158
|
+
* Per-tool settings that override default_config. Tools that are not listed follow default_config.
|
|
159
|
+
*/
|
|
160
|
+
configs: Array<AgentManaged45 | AgentManaged46 | AgentManaged47 | AgentManaged48 | AgentManaged49 | AgentManaged50 | AgentManaged51 | AgentManaged52 | {
|
|
161
|
+
/**
|
|
162
|
+
* Name of the native tool this entry configures.
|
|
163
|
+
*/
|
|
164
|
+
name: 'task_output' | 'task_stop' | 'monitor' | 'agent' | 'send_message' | 'codemode' | 'skill';
|
|
165
|
+
/**
|
|
166
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
167
|
+
*/
|
|
168
|
+
enabled: boolean;
|
|
169
|
+
/**
|
|
170
|
+
* Whether a call to this tool runs automatically (always_allow) or waits for user.tool_confirmation (always_ask). Omitted means the toolset default.
|
|
171
|
+
*/
|
|
172
|
+
permission_policy: {
|
|
173
|
+
/**
|
|
174
|
+
* Permission policy kind.
|
|
175
|
+
*/
|
|
176
|
+
type: 'always_allow' | 'always_ask';
|
|
177
|
+
};
|
|
178
|
+
}>;
|
|
179
|
+
/**
|
|
180
|
+
* Resolved default configuration for agent tools.
|
|
181
|
+
*/
|
|
182
|
+
default_config: AgentManaged53;
|
|
183
|
+
/**
|
|
184
|
+
* Always `agent_toolset_20260401`. The native toolset entry (bash, edit, glob, grep, read, write, web_search, web_fetch, task_output, task_stop, monitor, agent, send_message).
|
|
185
|
+
*/
|
|
186
|
+
type: 'agent_toolset_20260401';
|
|
187
|
+
};
|
|
188
|
+
/**
|
|
189
|
+
* Exactly one toolset per declared MCP server. Tools default to enabled and always_ask; per-tool overrides inherit omitted settings.
|
|
190
|
+
*/
|
|
191
|
+
export type AgentManaged54 = {
|
|
192
|
+
/**
|
|
193
|
+
* Always `mcp_toolset`. An entry that exposes the tools of one MCP server from mcp_servers.
|
|
194
|
+
*/
|
|
195
|
+
type: 'mcp_toolset';
|
|
196
|
+
/**
|
|
197
|
+
* Name of the MCP server in mcp_servers whose tools this entry exposes.
|
|
198
|
+
*/
|
|
199
|
+
mcp_server_name: string;
|
|
200
|
+
/**
|
|
201
|
+
* Settings applied to every tool of this toolset that configs does not name. When omitted, tools are enabled with the always_allow policy.
|
|
202
|
+
*/
|
|
203
|
+
default_config?: {
|
|
204
|
+
/**
|
|
205
|
+
* Whether tools of the toolset are offered to the model when configs does not name them. Null or omitted means enabled.
|
|
206
|
+
*/
|
|
207
|
+
enabled?: boolean | null;
|
|
208
|
+
/**
|
|
209
|
+
* Permission policy for tools that configs does not name: always_allow runs calls automatically, always_ask waits for user.tool_confirmation.
|
|
210
|
+
*/
|
|
211
|
+
permission_policy?: null | {
|
|
212
|
+
/**
|
|
213
|
+
* Permission policy kind.
|
|
214
|
+
*/
|
|
215
|
+
type: 'always_allow' | 'always_ask';
|
|
216
|
+
};
|
|
217
|
+
} | null;
|
|
218
|
+
/**
|
|
219
|
+
* Per-tool settings that override default_config. Tools that are not listed follow default_config.
|
|
220
|
+
*/
|
|
221
|
+
configs?: Array<{
|
|
222
|
+
/**
|
|
223
|
+
* Bare tool name reported by the MCP server.
|
|
224
|
+
*/
|
|
225
|
+
name: string;
|
|
226
|
+
/**
|
|
227
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
228
|
+
*/
|
|
229
|
+
enabled?: boolean | null;
|
|
230
|
+
/**
|
|
231
|
+
* Whether a call to this tool runs automatically (always_allow) or waits for user.tool_confirmation (always_ask). Omitted means the toolset default.
|
|
232
|
+
*/
|
|
233
|
+
permission_policy?: null | {
|
|
234
|
+
/**
|
|
235
|
+
* Permission policy kind.
|
|
236
|
+
*/
|
|
237
|
+
type: 'always_allow' | 'always_ask';
|
|
238
|
+
};
|
|
239
|
+
}> | null;
|
|
240
|
+
};
|
|
241
|
+
export type AgentManaged57 = {
|
|
242
|
+
/**
|
|
243
|
+
* What the custom tool does and when the model should call it.
|
|
244
|
+
*/
|
|
245
|
+
description: string;
|
|
246
|
+
/**
|
|
247
|
+
* JSON Schema for custom tool input parameters.
|
|
248
|
+
*/
|
|
249
|
+
input_schema: AgentManaged33;
|
|
250
|
+
/**
|
|
251
|
+
* Name of the custom tool, as the model sees and calls it.
|
|
252
|
+
*/
|
|
253
|
+
name: string;
|
|
254
|
+
/**
|
|
255
|
+
* Always `custom`. A custom tool defined by name, description and input_schema; its calls are answered by the client with user.custom_tool_result.
|
|
256
|
+
*/
|
|
257
|
+
type: 'custom';
|
|
258
|
+
};
|
|
4
259
|
export type AgentError = {
|
|
5
260
|
type: 'error';
|
|
6
261
|
error: {
|
|
@@ -279,7 +534,7 @@ export type BrowserError = {
|
|
|
279
534
|
statusCode: number;
|
|
280
535
|
error: string;
|
|
281
536
|
message: string;
|
|
282
|
-
code: 'INVALID_PARAMS' | 'UNAUTHENTICATED' | 'CONNECT_SIGNATURE_INVALID' | 'SESSION_NOT_FOUND' | 'SESSION_ENDED' | 'SESSION_INVALID_STATE' | 'CONTEXT_NOT_FOUND' | 'CONTEXT_LOCKED' | 'HANDOFF_NOT_PENDING' | 'CONCURRENCY_LIMIT' | 'RATE_LIMITED' | 'INSUFFICIENT_BALANCE' | 'PROVIDER_UNSUPPORTED' | 'PROVIDER_CAPACITY' | 'PROVIDER_FAILED';
|
|
537
|
+
code: 'INVALID_PARAMS' | 'PERMISSION_DENIED' | 'NOT_IMPLEMENTED' | 'INTERNAL' | 'UNAUTHENTICATED' | 'CONNECT_SIGNATURE_INVALID' | 'SESSION_NOT_FOUND' | 'SESSION_ENDED' | 'SESSION_INVALID_STATE' | 'CONTEXT_NOT_FOUND' | 'CONTEXT_LOCKED' | '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';
|
|
283
538
|
};
|
|
284
539
|
export type BrowserSession = {
|
|
285
540
|
/**
|
|
@@ -648,9 +903,21 @@ export type BrowserContextCreateResult = {
|
|
|
648
903
|
* 当前登录态写入租约的持有者标识;无有效租约时省略。
|
|
649
904
|
*/
|
|
650
905
|
lockedBy?: string;
|
|
906
|
+
/**
|
|
907
|
+
* UTC timestamp when a session last started with this context; absent if it has never been used.
|
|
908
|
+
*/
|
|
651
909
|
lastUsedAt?: string;
|
|
910
|
+
/**
|
|
911
|
+
* Empty compatibility field; context encryption keys are held by the server.
|
|
912
|
+
*/
|
|
652
913
|
publicKey: string;
|
|
914
|
+
/**
|
|
915
|
+
* Compatibility encryption algorithm name; creation returns AES-256-CBC.
|
|
916
|
+
*/
|
|
653
917
|
cipherAlgorithm: 'AES-256-CBC';
|
|
918
|
+
/**
|
|
919
|
+
* Compatibility initialization-vector size in bytes; creation returns 16.
|
|
920
|
+
*/
|
|
654
921
|
initializationVectorSize: number;
|
|
655
922
|
};
|
|
656
923
|
export type BrowserContext = {
|
|
@@ -696,6 +963,9 @@ export type BrowserContext = {
|
|
|
696
963
|
* 当前登录态写入租约的持有者标识;无有效租约时省略。
|
|
697
964
|
*/
|
|
698
965
|
lockedBy?: string;
|
|
966
|
+
/**
|
|
967
|
+
* UTC timestamp when a session last started with this context; absent if it has never been used.
|
|
968
|
+
*/
|
|
699
969
|
lastUsedAt?: string;
|
|
700
970
|
};
|
|
701
971
|
export type BrowserStreamMessage = {
|
|
@@ -731,6 +1001,9 @@ export type BrowserStreamMessage = {
|
|
|
731
1001
|
url?: string;
|
|
732
1002
|
x?: number;
|
|
733
1003
|
y?: number;
|
|
1004
|
+
/**
|
|
1005
|
+
* UTC timestamp when a session last started with this context; absent if it has never been used.
|
|
1006
|
+
*/
|
|
734
1007
|
at: string;
|
|
735
1008
|
actor: 'client' | 'human';
|
|
736
1009
|
};
|
|
@@ -3966,113 +4239,6 @@ export type AgentManaged184 = {
|
|
|
3966
4239
|
*/
|
|
3967
4240
|
type: 'session_deleted';
|
|
3968
4241
|
};
|
|
3969
|
-
/**
|
|
3970
|
-
* Praxis extension: Streamable HTTP, SSE or trusted stdio MCP servers, persisted with the agent version. Optional fields remain omitted when not supplied.
|
|
3971
|
-
*/
|
|
3972
|
-
export type AgentManaged36 = {
|
|
3973
|
-
/**
|
|
3974
|
-
* Streamable HTTP transport.
|
|
3975
|
-
*/
|
|
3976
|
-
type: 'url';
|
|
3977
|
-
/**
|
|
3978
|
-
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
3979
|
-
*/
|
|
3980
|
-
name: string;
|
|
3981
|
-
/**
|
|
3982
|
-
* HTTP or HTTPS MCP server endpoint.
|
|
3983
|
-
*/
|
|
3984
|
-
url: string;
|
|
3985
|
-
/**
|
|
3986
|
-
* Praxis extension: request headers. Platform identity headers take precedence, case-insensitively.
|
|
3987
|
-
*/
|
|
3988
|
-
headers?: {
|
|
3989
|
-
[key: string]: string;
|
|
3990
|
-
};
|
|
3991
|
-
/**
|
|
3992
|
-
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
3993
|
-
*/
|
|
3994
|
-
timeout_ms?: number;
|
|
3995
|
-
} | {
|
|
3996
|
-
/**
|
|
3997
|
-
* Legacy SSE transport.
|
|
3998
|
-
*/
|
|
3999
|
-
type: 'sse';
|
|
4000
|
-
/**
|
|
4001
|
-
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
4002
|
-
*/
|
|
4003
|
-
name: string;
|
|
4004
|
-
/**
|
|
4005
|
-
* HTTP or HTTPS MCP server endpoint.
|
|
4006
|
-
*/
|
|
4007
|
-
url: string;
|
|
4008
|
-
/**
|
|
4009
|
-
* Praxis extension: request headers. Platform identity headers take precedence, case-insensitively.
|
|
4010
|
-
*/
|
|
4011
|
-
headers?: {
|
|
4012
|
-
[key: string]: string;
|
|
4013
|
-
};
|
|
4014
|
-
/**
|
|
4015
|
-
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
4016
|
-
*/
|
|
4017
|
-
timeout_ms?: number;
|
|
4018
|
-
} | {
|
|
4019
|
-
/**
|
|
4020
|
-
* Run a command on the agent computer.
|
|
4021
|
-
*/
|
|
4022
|
-
type: 'stdio';
|
|
4023
|
-
/**
|
|
4024
|
-
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
4025
|
-
*/
|
|
4026
|
-
name: string;
|
|
4027
|
-
/**
|
|
4028
|
-
* Executable command on the agent computer.
|
|
4029
|
-
*/
|
|
4030
|
-
command: string;
|
|
4031
|
-
/**
|
|
4032
|
-
* Command arguments; omitted means no arguments.
|
|
4033
|
-
*/
|
|
4034
|
-
args?: Array<string>;
|
|
4035
|
-
/**
|
|
4036
|
-
* Praxis extension: environment variables for the command on the agent computer.
|
|
4037
|
-
*/
|
|
4038
|
-
env?: {
|
|
4039
|
-
[key: string]: string;
|
|
4040
|
-
};
|
|
4041
|
-
/**
|
|
4042
|
-
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
4043
|
-
*/
|
|
4044
|
-
timeout_ms?: number;
|
|
4045
|
-
};
|
|
4046
|
-
export type AgentManaged2 = {
|
|
4047
|
-
/**
|
|
4048
|
-
* Always `low`. Lowest reasoning effort of the supported levels.
|
|
4049
|
-
*/
|
|
4050
|
-
type: 'low';
|
|
4051
|
-
};
|
|
4052
|
-
export type AgentManaged3 = {
|
|
4053
|
-
/**
|
|
4054
|
-
* Always `medium`. Middle reasoning effort.
|
|
4055
|
-
*/
|
|
4056
|
-
type: 'medium';
|
|
4057
|
-
};
|
|
4058
|
-
export type AgentManaged4 = {
|
|
4059
|
-
/**
|
|
4060
|
-
* Always `high`. High reasoning effort.
|
|
4061
|
-
*/
|
|
4062
|
-
type: 'high';
|
|
4063
|
-
};
|
|
4064
|
-
export type AgentManaged5 = {
|
|
4065
|
-
/**
|
|
4066
|
-
* Always `xhigh`. Extra-high reasoning effort, above high; only models that list it in thinking.efforts accept it.
|
|
4067
|
-
*/
|
|
4068
|
-
type: 'xhigh';
|
|
4069
|
-
};
|
|
4070
|
-
export type AgentManaged6 = {
|
|
4071
|
-
/**
|
|
4072
|
-
* Always `max`. Maximum effort level of the Managed Agents shape, above xhigh.
|
|
4073
|
-
*/
|
|
4074
|
-
type: 'max';
|
|
4075
|
-
};
|
|
4076
4242
|
export type AgentManaged171 = {
|
|
4077
4243
|
/**
|
|
4078
4244
|
* Full `agent` definitions the coordinator may spawn as session threads.
|
|
@@ -4083,137 +4249,6 @@ export type AgentManaged171 = {
|
|
|
4083
4249
|
*/
|
|
4084
4250
|
type: 'coordinator';
|
|
4085
4251
|
};
|
|
4086
|
-
export type AgentManaged42 = {
|
|
4087
|
-
/**
|
|
4088
|
-
* Id of the skill to attach.
|
|
4089
|
-
*/
|
|
4090
|
-
skill_id: string;
|
|
4091
|
-
/**
|
|
4092
|
-
* Always `anthropic`. A skill provided by Anthropic, identified by skill_id.
|
|
4093
|
-
*/
|
|
4094
|
-
type: 'anthropic';
|
|
4095
|
-
/**
|
|
4096
|
-
* Version of the skill: omit or `latest` to follow the newest version at each new session; give a version id to pin it.
|
|
4097
|
-
*/
|
|
4098
|
-
version: string;
|
|
4099
|
-
};
|
|
4100
|
-
export type AgentManaged43 = {
|
|
4101
|
-
/**
|
|
4102
|
-
* Id of the skill to attach.
|
|
4103
|
-
*/
|
|
4104
|
-
skill_id: string;
|
|
4105
|
-
/**
|
|
4106
|
-
* Always `custom`. A skill created by you, identified by skill_id.
|
|
4107
|
-
*/
|
|
4108
|
-
type: 'custom';
|
|
4109
|
-
/**
|
|
4110
|
-
* Version of the skill: omit or `latest` to follow the newest version at each new session; give a version id to pin it.
|
|
4111
|
-
*/
|
|
4112
|
-
version: string;
|
|
4113
|
-
};
|
|
4114
|
-
export type AgentManaged44 = {
|
|
4115
|
-
/**
|
|
4116
|
-
* Per-tool settings that override default_config. Tools that are not listed follow default_config.
|
|
4117
|
-
*/
|
|
4118
|
-
configs: Array<AgentManaged45 | AgentManaged46 | AgentManaged47 | AgentManaged48 | AgentManaged49 | AgentManaged50 | AgentManaged51 | AgentManaged52 | {
|
|
4119
|
-
/**
|
|
4120
|
-
* Name of the native tool this entry configures.
|
|
4121
|
-
*/
|
|
4122
|
-
name: 'task_output' | 'task_stop' | 'monitor' | 'agent' | 'send_message' | 'codemode' | 'skill';
|
|
4123
|
-
/**
|
|
4124
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
4125
|
-
*/
|
|
4126
|
-
enabled: boolean;
|
|
4127
|
-
/**
|
|
4128
|
-
* Whether a call to this tool runs automatically (always_allow) or waits for user.tool_confirmation (always_ask). Omitted means the toolset default.
|
|
4129
|
-
*/
|
|
4130
|
-
permission_policy: {
|
|
4131
|
-
/**
|
|
4132
|
-
* Permission policy kind.
|
|
4133
|
-
*/
|
|
4134
|
-
type: 'always_allow' | 'always_ask';
|
|
4135
|
-
};
|
|
4136
|
-
}>;
|
|
4137
|
-
/**
|
|
4138
|
-
* Resolved default configuration for agent tools.
|
|
4139
|
-
*/
|
|
4140
|
-
default_config: AgentManaged53;
|
|
4141
|
-
/**
|
|
4142
|
-
* Always `agent_toolset_20260401`. The native toolset entry (bash, edit, glob, grep, read, write, web_search, web_fetch, task_output, task_stop, monitor, agent, send_message).
|
|
4143
|
-
*/
|
|
4144
|
-
type: 'agent_toolset_20260401';
|
|
4145
|
-
};
|
|
4146
|
-
/**
|
|
4147
|
-
* Exactly one toolset per declared MCP server. Tools default to enabled and always_ask; per-tool overrides inherit omitted settings.
|
|
4148
|
-
*/
|
|
4149
|
-
export type AgentManaged54 = {
|
|
4150
|
-
/**
|
|
4151
|
-
* Always `mcp_toolset`. An entry that exposes the tools of one MCP server from mcp_servers.
|
|
4152
|
-
*/
|
|
4153
|
-
type: 'mcp_toolset';
|
|
4154
|
-
/**
|
|
4155
|
-
* Name of the MCP server in mcp_servers whose tools this entry exposes.
|
|
4156
|
-
*/
|
|
4157
|
-
mcp_server_name: string;
|
|
4158
|
-
/**
|
|
4159
|
-
* Settings applied to every tool of this toolset that configs does not name. When omitted, tools are enabled with the always_allow policy.
|
|
4160
|
-
*/
|
|
4161
|
-
default_config?: {
|
|
4162
|
-
/**
|
|
4163
|
-
* Whether tools of the toolset are offered to the model when configs does not name them. Null or omitted means enabled.
|
|
4164
|
-
*/
|
|
4165
|
-
enabled?: boolean | null;
|
|
4166
|
-
/**
|
|
4167
|
-
* Permission policy for tools that configs does not name: always_allow runs calls automatically, always_ask waits for user.tool_confirmation.
|
|
4168
|
-
*/
|
|
4169
|
-
permission_policy?: null | {
|
|
4170
|
-
/**
|
|
4171
|
-
* Permission policy kind.
|
|
4172
|
-
*/
|
|
4173
|
-
type: 'always_allow' | 'always_ask';
|
|
4174
|
-
};
|
|
4175
|
-
} | null;
|
|
4176
|
-
/**
|
|
4177
|
-
* Per-tool settings that override default_config. Tools that are not listed follow default_config.
|
|
4178
|
-
*/
|
|
4179
|
-
configs?: Array<{
|
|
4180
|
-
/**
|
|
4181
|
-
* Bare tool name reported by the MCP server.
|
|
4182
|
-
*/
|
|
4183
|
-
name: string;
|
|
4184
|
-
/**
|
|
4185
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
4186
|
-
*/
|
|
4187
|
-
enabled?: boolean | null;
|
|
4188
|
-
/**
|
|
4189
|
-
* Whether a call to this tool runs automatically (always_allow) or waits for user.tool_confirmation (always_ask). Omitted means the toolset default.
|
|
4190
|
-
*/
|
|
4191
|
-
permission_policy?: null | {
|
|
4192
|
-
/**
|
|
4193
|
-
* Permission policy kind.
|
|
4194
|
-
*/
|
|
4195
|
-
type: 'always_allow' | 'always_ask';
|
|
4196
|
-
};
|
|
4197
|
-
}> | null;
|
|
4198
|
-
};
|
|
4199
|
-
export type AgentManaged57 = {
|
|
4200
|
-
/**
|
|
4201
|
-
* What the custom tool does and when the model should call it.
|
|
4202
|
-
*/
|
|
4203
|
-
description: string;
|
|
4204
|
-
/**
|
|
4205
|
-
* JSON Schema for custom tool input parameters.
|
|
4206
|
-
*/
|
|
4207
|
-
input_schema: AgentManaged33;
|
|
4208
|
-
/**
|
|
4209
|
-
* Name of the custom tool, as the model sees and calls it.
|
|
4210
|
-
*/
|
|
4211
|
-
name: string;
|
|
4212
|
-
/**
|
|
4213
|
-
* Always `custom`. A custom tool defined by name, description and input_schema; its calls are answered by the client with user.custom_tool_result.
|
|
4214
|
-
*/
|
|
4215
|
-
type: 'custom';
|
|
4216
|
-
};
|
|
4217
4252
|
/**
|
|
4218
4253
|
* Session spending limit, {type: "limit", max_list_cost: {amount, currency}}; null when unlimited. amount is in US dollars: send an integer or up to 2 decimals ("0.50"), and responses carry exactly 2 decimals ("20.00"). Creation defaults to USD 20.00 when omitted. More decimals, zero or a number return 400. Removing the limit with null prevents setting it again for that session.
|
|
4219
4254
|
*/
|
|
@@ -4397,7 +4432,7 @@ export type AgentManaged179 = {
|
|
|
4397
4432
|
*/
|
|
4398
4433
|
input_tokens?: number;
|
|
4399
4434
|
/**
|
|
4400
|
-
*
|
|
4435
|
+
* Session total list-price cost in USD as a decimal string with exactly 6 decimals. Includes models, runtime and all other charged products attributed to this session; child-thread model cost is already included. The budget reads the same total. In-flight work may finish after the limit is reached.
|
|
4401
4436
|
*/
|
|
4402
4437
|
list_cost?: null | AgentManaged77;
|
|
4403
4438
|
/**
|
|
@@ -4409,39 +4444,19 @@ export type AgentManaged179 = {
|
|
|
4409
4444
|
*/
|
|
4410
4445
|
server_tool_use?: null | AgentManaged181;
|
|
4411
4446
|
/**
|
|
4412
|
-
*
|
|
4447
|
+
* USD list-price cost by product, as decimal strings with exactly 6 decimals. Values sum to list_cost.amount. router.llm is the larger of the live model meter and charged model facts; all other products use charged facts only.
|
|
4413
4448
|
*/
|
|
4414
|
-
|
|
4415
|
-
|
|
4416
|
-
* Runtime cost in US dollars, decimal string with exactly 6 decimals.
|
|
4417
|
-
*/
|
|
4418
|
-
amount: string;
|
|
4419
|
-
/**
|
|
4420
|
-
* Always USD.
|
|
4421
|
-
*/
|
|
4422
|
-
currency: 'USD';
|
|
4449
|
+
cost_by_product?: {
|
|
4450
|
+
[key: string]: string;
|
|
4423
4451
|
};
|
|
4452
|
+
/**
|
|
4453
|
+
* Child-thread model cost in integer micro-USD, already included in list_cost. This is a subset, not an additional charge; it excludes child-thread runtime.
|
|
4454
|
+
*/
|
|
4455
|
+
subagent_cost_micro_usd?: number;
|
|
4424
4456
|
};
|
|
4425
4457
|
export type AgentManaged183 = {
|
|
4426
4458
|
[key: string]: null | string;
|
|
4427
4459
|
};
|
|
4428
|
-
/**
|
|
4429
|
-
* Free-form string key/value pairs stored with the agent for your own bookkeeping.
|
|
4430
|
-
*/
|
|
4431
|
-
export type AgentManaged37 = {
|
|
4432
|
-
[key: string]: string;
|
|
4433
|
-
};
|
|
4434
|
-
export type AgentManaged39 = {
|
|
4435
|
-
/**
|
|
4436
|
-
* Agents the coordinator may spawn as session threads, each resolved to a specific
|
|
4437
|
-
* version.
|
|
4438
|
-
*/
|
|
4439
|
-
agents: Array<AgentManaged40 | AgentManaged41>;
|
|
4440
|
-
/**
|
|
4441
|
-
* Always `coordinator`. The agent coordinates the roster in agents and can delegate to its members.
|
|
4442
|
-
*/
|
|
4443
|
-
type: 'coordinator';
|
|
4444
|
-
};
|
|
4445
4460
|
/**
|
|
4446
4461
|
* Praxis extension: Streamable HTTP, SSE or trusted stdio MCP servers, persisted with the agent version. Optional fields remain omitted when not supplied.
|
|
4447
4462
|
*/
|
|
@@ -4864,7 +4879,11 @@ export type AgentManaged186 = {
|
|
|
4864
4879
|
*/
|
|
4865
4880
|
session_thread_id?: null | string;
|
|
4866
4881
|
};
|
|
4867
|
-
export type AgentManaged187 = {
|
|
4882
|
+
export type AgentManaged187 = unknown & {
|
|
4883
|
+
/**
|
|
4884
|
+
* With result=allow and full_access_available=true, switch this session to full access before allowing this call. Other values or ineligible active requests return 400. Repeated or late replies are successful no-ops.
|
|
4885
|
+
*/
|
|
4886
|
+
permission_mode?: 'yolo';
|
|
4868
4887
|
/**
|
|
4869
4888
|
* Unique identifier for this event.
|
|
4870
4889
|
*/
|
|
@@ -4885,10 +4904,9 @@ export type AgentManaged187 = {
|
|
|
4885
4904
|
*/
|
|
4886
4905
|
type: 'user.tool_confirmation';
|
|
4887
4906
|
/**
|
|
4888
|
-
*
|
|
4889
|
-
* result is 'deny'.
|
|
4907
|
+
* Feedback for a deny result, at most 4000 characters. Appended to the model-visible refusal and persisted on the confirmation; ExitPlanMode keeps its plan-feedback flow. Omit when no feedback is needed.
|
|
4890
4908
|
*/
|
|
4891
|
-
deny_message?:
|
|
4909
|
+
deny_message?: string;
|
|
4892
4910
|
/**
|
|
4893
4911
|
* A timestamp in RFC 3339 format
|
|
4894
4912
|
*/
|
|
@@ -5614,7 +5632,11 @@ export type AgentManaged250 = {
|
|
|
5614
5632
|
*/
|
|
5615
5633
|
session_thread_id?: null | string;
|
|
5616
5634
|
};
|
|
5617
|
-
export type AgentManaged251 = {
|
|
5635
|
+
export type AgentManaged251 = unknown & {
|
|
5636
|
+
/**
|
|
5637
|
+
* With result=allow and full_access_available=true, switch this session to full access before allowing this call. Other values or ineligible active requests return 400. Repeated or late replies are successful no-ops.
|
|
5638
|
+
*/
|
|
5639
|
+
permission_mode?: 'yolo';
|
|
5618
5640
|
/**
|
|
5619
5641
|
* UserToolConfirmationResult enum
|
|
5620
5642
|
*/
|
|
@@ -5631,10 +5653,39 @@ export type AgentManaged251 = {
|
|
|
5631
5653
|
*/
|
|
5632
5654
|
type: 'user.tool_confirmation';
|
|
5633
5655
|
/**
|
|
5634
|
-
*
|
|
5635
|
-
|
|
5656
|
+
* Feedback for a deny result, at most 4000 characters. Appended to the model-visible refusal and persisted on the confirmation; ExitPlanMode keeps its plan-feedback flow. Omit when no feedback is needed.
|
|
5657
|
+
*/
|
|
5658
|
+
deny_message?: string;
|
|
5659
|
+
/**
|
|
5660
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
5636
5661
|
*/
|
|
5637
|
-
|
|
5662
|
+
updated_permissions?: Array<{
|
|
5663
|
+
/**
|
|
5664
|
+
* add_rules adds the offered allow rules.
|
|
5665
|
+
*/
|
|
5666
|
+
type: 'add_rules';
|
|
5667
|
+
/**
|
|
5668
|
+
* allow grants permission for matching calls.
|
|
5669
|
+
*/
|
|
5670
|
+
behavior: 'allow';
|
|
5671
|
+
/**
|
|
5672
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
5673
|
+
*/
|
|
5674
|
+
destination: 'agent' | 'session';
|
|
5675
|
+
/**
|
|
5676
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
5677
|
+
*/
|
|
5678
|
+
rules: Array<{
|
|
5679
|
+
/**
|
|
5680
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
5681
|
+
*/
|
|
5682
|
+
tool_name: string;
|
|
5683
|
+
/**
|
|
5684
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
5685
|
+
*/
|
|
5686
|
+
rule_content: string;
|
|
5687
|
+
}>;
|
|
5688
|
+
}>;
|
|
5638
5689
|
};
|
|
5639
5690
|
export type AgentManaged252 = {
|
|
5640
5691
|
/**
|
|
@@ -6098,6 +6149,18 @@ export type AgentSseEvent = ({
|
|
|
6098
6149
|
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
6099
6150
|
*/
|
|
6100
6151
|
data?: {
|
|
6152
|
+
/**
|
|
6153
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
6154
|
+
*/
|
|
6155
|
+
permission_mode_version?: number;
|
|
6156
|
+
/**
|
|
6157
|
+
* The permission mode before this change, or null when none was selected.
|
|
6158
|
+
*/
|
|
6159
|
+
previous_permission_mode?: string | null;
|
|
6160
|
+
/**
|
|
6161
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
6162
|
+
*/
|
|
6163
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
6101
6164
|
/**
|
|
6102
6165
|
* Unique identifier for this event.
|
|
6103
6166
|
*/
|
|
@@ -6270,6 +6333,10 @@ export type AgentSseEvent = ({
|
|
|
6270
6333
|
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
6271
6334
|
*/
|
|
6272
6335
|
data?: {
|
|
6336
|
+
/**
|
|
6337
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
6338
|
+
*/
|
|
6339
|
+
full_access_available?: boolean;
|
|
6273
6340
|
/**
|
|
6274
6341
|
* Unique identifier for this event.
|
|
6275
6342
|
*/
|
|
@@ -6312,6 +6379,44 @@ export type AgentSseEvent = ({
|
|
|
6312
6379
|
* Run that produced this event; null when no run identity was recorded.
|
|
6313
6380
|
*/
|
|
6314
6381
|
run_id: string | null;
|
|
6382
|
+
/**
|
|
6383
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
6384
|
+
*/
|
|
6385
|
+
user_once?: true;
|
|
6386
|
+
/**
|
|
6387
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
6388
|
+
*/
|
|
6389
|
+
guarded_rule?: string;
|
|
6390
|
+
/**
|
|
6391
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
6392
|
+
*/
|
|
6393
|
+
permission_suggestions?: Array<{
|
|
6394
|
+
/**
|
|
6395
|
+
* add_rules adds the offered allow rules.
|
|
6396
|
+
*/
|
|
6397
|
+
type: 'add_rules';
|
|
6398
|
+
/**
|
|
6399
|
+
* allow grants permission for matching calls.
|
|
6400
|
+
*/
|
|
6401
|
+
behavior: 'allow';
|
|
6402
|
+
/**
|
|
6403
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
6404
|
+
*/
|
|
6405
|
+
destination: 'agent' | 'session';
|
|
6406
|
+
/**
|
|
6407
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
6408
|
+
*/
|
|
6409
|
+
rules: Array<{
|
|
6410
|
+
/**
|
|
6411
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
6412
|
+
*/
|
|
6413
|
+
tool_name: string;
|
|
6414
|
+
/**
|
|
6415
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
6416
|
+
*/
|
|
6417
|
+
rule_content: string;
|
|
6418
|
+
}>;
|
|
6419
|
+
}>;
|
|
6315
6420
|
};
|
|
6316
6421
|
} | {
|
|
6317
6422
|
/**
|
|
@@ -6360,6 +6465,10 @@ export type AgentSseEvent = ({
|
|
|
6360
6465
|
* Decoded JSON payload of this frame; its shape is selected by the event name.
|
|
6361
6466
|
*/
|
|
6362
6467
|
data?: {
|
|
6468
|
+
/**
|
|
6469
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
6470
|
+
*/
|
|
6471
|
+
full_access_available?: boolean;
|
|
6363
6472
|
/**
|
|
6364
6473
|
* Unique identifier for this event.
|
|
6365
6474
|
*/
|
|
@@ -6438,6 +6547,44 @@ export type AgentSseEvent = ({
|
|
|
6438
6547
|
* Praxis extension (MCP Apps, SEP-1865): present when `source` is `codemode`; the id of the codemode tool use whose program made this call. Absent otherwise.
|
|
6439
6548
|
*/
|
|
6440
6549
|
parent_tool_use_id?: string;
|
|
6550
|
+
/**
|
|
6551
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
6552
|
+
*/
|
|
6553
|
+
user_once?: true;
|
|
6554
|
+
/**
|
|
6555
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
6556
|
+
*/
|
|
6557
|
+
guarded_rule?: string;
|
|
6558
|
+
/**
|
|
6559
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
6560
|
+
*/
|
|
6561
|
+
permission_suggestions?: Array<{
|
|
6562
|
+
/**
|
|
6563
|
+
* add_rules adds the offered allow rules.
|
|
6564
|
+
*/
|
|
6565
|
+
type: 'add_rules';
|
|
6566
|
+
/**
|
|
6567
|
+
* allow grants permission for matching calls.
|
|
6568
|
+
*/
|
|
6569
|
+
behavior: 'allow';
|
|
6570
|
+
/**
|
|
6571
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
6572
|
+
*/
|
|
6573
|
+
destination: 'agent' | 'session';
|
|
6574
|
+
/**
|
|
6575
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
6576
|
+
*/
|
|
6577
|
+
rules: Array<{
|
|
6578
|
+
/**
|
|
6579
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
6580
|
+
*/
|
|
6581
|
+
tool_name: string;
|
|
6582
|
+
/**
|
|
6583
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
6584
|
+
*/
|
|
6585
|
+
rule_content: string;
|
|
6586
|
+
}>;
|
|
6587
|
+
}>;
|
|
6441
6588
|
/**
|
|
6442
6589
|
* Human-readable tool name from MCP 2025-06-18 Tool.title, falling back to annotations.title. Trimmed and truncated to 200 characters; omitted when blank or absent. Present only for model-initiated calls on /agent/v1; use name when absent.
|
|
6443
6590
|
*/
|
|
@@ -11541,7 +11688,7 @@ export type MediaLibrary = {
|
|
|
11541
11688
|
};
|
|
11542
11689
|
export type MediaMediaError = {
|
|
11543
11690
|
error: {
|
|
11544
|
-
code: 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED';
|
|
11691
|
+
code: 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'BINDING_READ_ONLY';
|
|
11545
11692
|
message: string;
|
|
11546
11693
|
details: string | null;
|
|
11547
11694
|
};
|
|
@@ -11674,6 +11821,9 @@ export type MediaAsset = {
|
|
|
11674
11821
|
* Source audio or video duration in seconds, when known.
|
|
11675
11822
|
*/
|
|
11676
11823
|
duration?: number;
|
|
11824
|
+
/**
|
|
11825
|
+
* Number of pages recorded for the asset; omitted when no page count is stored.
|
|
11826
|
+
*/
|
|
11677
11827
|
pages?: number;
|
|
11678
11828
|
/**
|
|
11679
11829
|
* True for audio-only media, which uses resource_type video.
|
|
@@ -11714,6 +11864,9 @@ export type MediaAsset = {
|
|
|
11714
11864
|
* False because this response represents stored source content.
|
|
11715
11865
|
*/
|
|
11716
11866
|
placeholder: false;
|
|
11867
|
+
/**
|
|
11868
|
+
* True when overwrite is false and the public_id already exists; the existing resource is returned.
|
|
11869
|
+
*/
|
|
11717
11870
|
existing?: boolean;
|
|
11718
11871
|
/**
|
|
11719
11872
|
* Progress of understanding and embedding tasks for the asset.
|
|
@@ -13304,6 +13457,232 @@ export type TicketRepository = {
|
|
|
13304
13457
|
*/
|
|
13305
13458
|
update_time: string;
|
|
13306
13459
|
};
|
|
13460
|
+
/**
|
|
13461
|
+
* Agent definition the session uses after the change; null when unchanged.
|
|
13462
|
+
*/
|
|
13463
|
+
export type AgentManaged40 = {
|
|
13464
|
+
/**
|
|
13465
|
+
* Agent id (agent_...). Pass it as agent when creating a session and as agent_id in agent calls.
|
|
13466
|
+
*/
|
|
13467
|
+
id: string;
|
|
13468
|
+
/**
|
|
13469
|
+
* Always `agent`. A roster member that refers to an agent by id and pinned version.
|
|
13470
|
+
*/
|
|
13471
|
+
type: 'agent';
|
|
13472
|
+
/**
|
|
13473
|
+
* The latest saved version of the agent, the editable head; it differs from active_version after a save with apply false. Starts at 1 and increments each time the agent is modified.
|
|
13474
|
+
*/
|
|
13475
|
+
version: number;
|
|
13476
|
+
};
|
|
13477
|
+
export type AgentManaged41 = {
|
|
13478
|
+
/**
|
|
13479
|
+
* The advisor model id.
|
|
13480
|
+
*/
|
|
13481
|
+
model: string;
|
|
13482
|
+
/**
|
|
13483
|
+
* Always `advisor`. An advisor whose model is consulted for advice in a separate thread (at most one per coordinator).
|
|
13484
|
+
*/
|
|
13485
|
+
type: 'advisor';
|
|
13486
|
+
};
|
|
13487
|
+
export type AgentManaged45 = {
|
|
13488
|
+
/**
|
|
13489
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
13490
|
+
*/
|
|
13491
|
+
enabled: boolean;
|
|
13492
|
+
/**
|
|
13493
|
+
* Name of the native tool this entry configures.
|
|
13494
|
+
*/
|
|
13495
|
+
name: 'bash';
|
|
13496
|
+
/**
|
|
13497
|
+
* Permission policy for tool execution.
|
|
13498
|
+
*/
|
|
13499
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
13500
|
+
/**
|
|
13501
|
+
* Always `bash`. Selects the bash tool, which runs shell commands in the session's machine.
|
|
13502
|
+
*/
|
|
13503
|
+
type: 'bash';
|
|
13504
|
+
};
|
|
13505
|
+
export type AgentManaged46 = {
|
|
13506
|
+
/**
|
|
13507
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
13508
|
+
*/
|
|
13509
|
+
enabled: boolean;
|
|
13510
|
+
/**
|
|
13511
|
+
* Name of the native tool this entry configures.
|
|
13512
|
+
*/
|
|
13513
|
+
name: 'edit';
|
|
13514
|
+
/**
|
|
13515
|
+
* Permission policy for tool execution.
|
|
13516
|
+
*/
|
|
13517
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
13518
|
+
/**
|
|
13519
|
+
* Always `edit`. Selects the edit tool, which changes an existing file.
|
|
13520
|
+
*/
|
|
13521
|
+
type: 'edit';
|
|
13522
|
+
};
|
|
13523
|
+
export type AgentManaged47 = {
|
|
13524
|
+
/**
|
|
13525
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
13526
|
+
*/
|
|
13527
|
+
enabled: boolean;
|
|
13528
|
+
/**
|
|
13529
|
+
* Name of the native tool this entry configures.
|
|
13530
|
+
*/
|
|
13531
|
+
name: 'read';
|
|
13532
|
+
/**
|
|
13533
|
+
* Permission policy for tool execution.
|
|
13534
|
+
*/
|
|
13535
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
13536
|
+
/**
|
|
13537
|
+
* Always `read`. Selects the read tool, which reads a file.
|
|
13538
|
+
*/
|
|
13539
|
+
type: 'read';
|
|
13540
|
+
};
|
|
13541
|
+
export type AgentManaged48 = {
|
|
13542
|
+
/**
|
|
13543
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
13544
|
+
*/
|
|
13545
|
+
enabled: boolean;
|
|
13546
|
+
/**
|
|
13547
|
+
* Name of the native tool this entry configures.
|
|
13548
|
+
*/
|
|
13549
|
+
name: 'write';
|
|
13550
|
+
/**
|
|
13551
|
+
* Permission policy for tool execution.
|
|
13552
|
+
*/
|
|
13553
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
13554
|
+
/**
|
|
13555
|
+
* Always `write`. Selects the write tool, which writes a file.
|
|
13556
|
+
*/
|
|
13557
|
+
type: 'write';
|
|
13558
|
+
};
|
|
13559
|
+
export type AgentManaged49 = {
|
|
13560
|
+
/**
|
|
13561
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
13562
|
+
*/
|
|
13563
|
+
enabled: boolean;
|
|
13564
|
+
/**
|
|
13565
|
+
* Name of the native tool this entry configures.
|
|
13566
|
+
*/
|
|
13567
|
+
name: 'glob';
|
|
13568
|
+
/**
|
|
13569
|
+
* Permission policy for tool execution.
|
|
13570
|
+
*/
|
|
13571
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
13572
|
+
/**
|
|
13573
|
+
* Always `glob`. Selects the glob tool, which finds files by name pattern.
|
|
13574
|
+
*/
|
|
13575
|
+
type: 'glob';
|
|
13576
|
+
};
|
|
13577
|
+
export type AgentManaged50 = {
|
|
13578
|
+
/**
|
|
13579
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
13580
|
+
*/
|
|
13581
|
+
enabled: boolean;
|
|
13582
|
+
/**
|
|
13583
|
+
* Name of the native tool this entry configures.
|
|
13584
|
+
*/
|
|
13585
|
+
name: 'grep';
|
|
13586
|
+
/**
|
|
13587
|
+
* Permission policy for tool execution.
|
|
13588
|
+
*/
|
|
13589
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
13590
|
+
/**
|
|
13591
|
+
* Always `grep`. Selects the grep tool, which searches file contents.
|
|
13592
|
+
*/
|
|
13593
|
+
type: 'grep';
|
|
13594
|
+
};
|
|
13595
|
+
export type AgentManaged51 = {
|
|
13596
|
+
/**
|
|
13597
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
13598
|
+
*/
|
|
13599
|
+
enabled: boolean;
|
|
13600
|
+
/**
|
|
13601
|
+
* Name of the native tool this entry configures.
|
|
13602
|
+
*/
|
|
13603
|
+
name: 'web_fetch';
|
|
13604
|
+
/**
|
|
13605
|
+
* Permission policy for tool execution.
|
|
13606
|
+
*/
|
|
13607
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
13608
|
+
/**
|
|
13609
|
+
* Always `web_fetch`. Selects the web_fetch tool, which fetches a web page.
|
|
13610
|
+
*/
|
|
13611
|
+
type: 'web_fetch';
|
|
13612
|
+
/**
|
|
13613
|
+
* Hosts the tool may fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with blocked_domains.
|
|
13614
|
+
*/
|
|
13615
|
+
allowed_domains?: Array<string>;
|
|
13616
|
+
/**
|
|
13617
|
+
* Hosts the tool must never fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with allowed_domains.
|
|
13618
|
+
*/
|
|
13619
|
+
blocked_domains?: Array<string>;
|
|
13620
|
+
/**
|
|
13621
|
+
* Maximum number of tokens of fetched text content included in context per call; does not apply to binary content such as PDFs. Null for no explicit limit.
|
|
13622
|
+
*/
|
|
13623
|
+
max_content_tokens?: null | number;
|
|
13624
|
+
};
|
|
13625
|
+
export type AgentManaged52 = {
|
|
13626
|
+
/**
|
|
13627
|
+
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
13628
|
+
*/
|
|
13629
|
+
enabled: boolean;
|
|
13630
|
+
/**
|
|
13631
|
+
* Name of the native tool this entry configures.
|
|
13632
|
+
*/
|
|
13633
|
+
name: 'web_search';
|
|
13634
|
+
/**
|
|
13635
|
+
* Permission policy for tool execution.
|
|
13636
|
+
*/
|
|
13637
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
13638
|
+
/**
|
|
13639
|
+
* Always `web_search`. Selects the web_search tool, which searches the web.
|
|
13640
|
+
*/
|
|
13641
|
+
type: 'web_search';
|
|
13642
|
+
/**
|
|
13643
|
+
* Hosts the tool may fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with blocked_domains.
|
|
13644
|
+
*/
|
|
13645
|
+
allowed_domains?: Array<string>;
|
|
13646
|
+
/**
|
|
13647
|
+
* Hosts the tool must never fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with allowed_domains.
|
|
13648
|
+
*/
|
|
13649
|
+
blocked_domains?: Array<string>;
|
|
13650
|
+
/**
|
|
13651
|
+
* Approximate user location for search result localization.
|
|
13652
|
+
*/
|
|
13653
|
+
user_location?: null | AgentManaged27;
|
|
13654
|
+
};
|
|
13655
|
+
/**
|
|
13656
|
+
* Settings applied to every tool of this toolset that configs does not name. When omitted, tools are enabled with the always_allow policy.
|
|
13657
|
+
*/
|
|
13658
|
+
export type AgentManaged53 = {
|
|
13659
|
+
/**
|
|
13660
|
+
* Whether tools of the toolset are offered to the model when configs does not name them. Null or omitted means enabled.
|
|
13661
|
+
*/
|
|
13662
|
+
enabled: boolean;
|
|
13663
|
+
/**
|
|
13664
|
+
* Permission policy for tool execution.
|
|
13665
|
+
*/
|
|
13666
|
+
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
13667
|
+
};
|
|
13668
|
+
/**
|
|
13669
|
+
* JSON Schema of the custom tool's input object, passed to the model as the tool's parameters.
|
|
13670
|
+
*/
|
|
13671
|
+
export type AgentManaged33 = {
|
|
13672
|
+
/**
|
|
13673
|
+
* Always `object`. The input is a JSON object.
|
|
13674
|
+
*/
|
|
13675
|
+
type: 'object';
|
|
13676
|
+
/**
|
|
13677
|
+
* JSON Schema of each input property, keyed by property name.
|
|
13678
|
+
*/
|
|
13679
|
+
properties?: null | AgentManaged34;
|
|
13680
|
+
/**
|
|
13681
|
+
* Names of the input properties the model must supply.
|
|
13682
|
+
*/
|
|
13683
|
+
required?: null | Array<string>;
|
|
13684
|
+
[key: string]: unknown;
|
|
13685
|
+
};
|
|
13307
13686
|
/**
|
|
13308
13687
|
* File expiration policy
|
|
13309
13688
|
*
|
|
@@ -17863,16 +18242,6 @@ export type SandboxError = {
|
|
|
17863
18242
|
*/
|
|
17864
18243
|
message: string;
|
|
17865
18244
|
};
|
|
17866
|
-
export type AgentManaged41 = {
|
|
17867
|
-
/**
|
|
17868
|
-
* The advisor model id.
|
|
17869
|
-
*/
|
|
17870
|
-
model: string;
|
|
17871
|
-
/**
|
|
17872
|
-
* Always `advisor`. An advisor whose model is consulted for advice in a separate thread (at most one per coordinator).
|
|
17873
|
-
*/
|
|
17874
|
-
type: 'advisor';
|
|
17875
|
-
};
|
|
17876
18245
|
export type AgentManaged172 = {
|
|
17877
18246
|
/**
|
|
17878
18247
|
* Agent id (agent_...). Pass it as agent when creating a session and as agent_id in agent calls.
|
|
@@ -17915,205 +18284,6 @@ export type AgentManaged172 = {
|
|
|
17915
18284
|
*/
|
|
17916
18285
|
version: number;
|
|
17917
18286
|
};
|
|
17918
|
-
export type AgentManaged45 = {
|
|
17919
|
-
/**
|
|
17920
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
17921
|
-
*/
|
|
17922
|
-
enabled: boolean;
|
|
17923
|
-
/**
|
|
17924
|
-
* Name of the native tool this entry configures.
|
|
17925
|
-
*/
|
|
17926
|
-
name: 'bash';
|
|
17927
|
-
/**
|
|
17928
|
-
* Permission policy for tool execution.
|
|
17929
|
-
*/
|
|
17930
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
17931
|
-
/**
|
|
17932
|
-
* Always `bash`. Selects the bash tool, which runs shell commands in the session's machine.
|
|
17933
|
-
*/
|
|
17934
|
-
type: 'bash';
|
|
17935
|
-
};
|
|
17936
|
-
export type AgentManaged46 = {
|
|
17937
|
-
/**
|
|
17938
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
17939
|
-
*/
|
|
17940
|
-
enabled: boolean;
|
|
17941
|
-
/**
|
|
17942
|
-
* Name of the native tool this entry configures.
|
|
17943
|
-
*/
|
|
17944
|
-
name: 'edit';
|
|
17945
|
-
/**
|
|
17946
|
-
* Permission policy for tool execution.
|
|
17947
|
-
*/
|
|
17948
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
17949
|
-
/**
|
|
17950
|
-
* Always `edit`. Selects the edit tool, which changes an existing file.
|
|
17951
|
-
*/
|
|
17952
|
-
type: 'edit';
|
|
17953
|
-
};
|
|
17954
|
-
export type AgentManaged47 = {
|
|
17955
|
-
/**
|
|
17956
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
17957
|
-
*/
|
|
17958
|
-
enabled: boolean;
|
|
17959
|
-
/**
|
|
17960
|
-
* Name of the native tool this entry configures.
|
|
17961
|
-
*/
|
|
17962
|
-
name: 'read';
|
|
17963
|
-
/**
|
|
17964
|
-
* Permission policy for tool execution.
|
|
17965
|
-
*/
|
|
17966
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
17967
|
-
/**
|
|
17968
|
-
* Always `read`. Selects the read tool, which reads a file.
|
|
17969
|
-
*/
|
|
17970
|
-
type: 'read';
|
|
17971
|
-
};
|
|
17972
|
-
export type AgentManaged48 = {
|
|
17973
|
-
/**
|
|
17974
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
17975
|
-
*/
|
|
17976
|
-
enabled: boolean;
|
|
17977
|
-
/**
|
|
17978
|
-
* Name of the native tool this entry configures.
|
|
17979
|
-
*/
|
|
17980
|
-
name: 'write';
|
|
17981
|
-
/**
|
|
17982
|
-
* Permission policy for tool execution.
|
|
17983
|
-
*/
|
|
17984
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
17985
|
-
/**
|
|
17986
|
-
* Always `write`. Selects the write tool, which writes a file.
|
|
17987
|
-
*/
|
|
17988
|
-
type: 'write';
|
|
17989
|
-
};
|
|
17990
|
-
export type AgentManaged49 = {
|
|
17991
|
-
/**
|
|
17992
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
17993
|
-
*/
|
|
17994
|
-
enabled: boolean;
|
|
17995
|
-
/**
|
|
17996
|
-
* Name of the native tool this entry configures.
|
|
17997
|
-
*/
|
|
17998
|
-
name: 'glob';
|
|
17999
|
-
/**
|
|
18000
|
-
* Permission policy for tool execution.
|
|
18001
|
-
*/
|
|
18002
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
18003
|
-
/**
|
|
18004
|
-
* Always `glob`. Selects the glob tool, which finds files by name pattern.
|
|
18005
|
-
*/
|
|
18006
|
-
type: 'glob';
|
|
18007
|
-
};
|
|
18008
|
-
export type AgentManaged50 = {
|
|
18009
|
-
/**
|
|
18010
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
18011
|
-
*/
|
|
18012
|
-
enabled: boolean;
|
|
18013
|
-
/**
|
|
18014
|
-
* Name of the native tool this entry configures.
|
|
18015
|
-
*/
|
|
18016
|
-
name: 'grep';
|
|
18017
|
-
/**
|
|
18018
|
-
* Permission policy for tool execution.
|
|
18019
|
-
*/
|
|
18020
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
18021
|
-
/**
|
|
18022
|
-
* Always `grep`. Selects the grep tool, which searches file contents.
|
|
18023
|
-
*/
|
|
18024
|
-
type: 'grep';
|
|
18025
|
-
};
|
|
18026
|
-
export type AgentManaged51 = {
|
|
18027
|
-
/**
|
|
18028
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
18029
|
-
*/
|
|
18030
|
-
enabled: boolean;
|
|
18031
|
-
/**
|
|
18032
|
-
* Name of the native tool this entry configures.
|
|
18033
|
-
*/
|
|
18034
|
-
name: 'web_fetch';
|
|
18035
|
-
/**
|
|
18036
|
-
* Permission policy for tool execution.
|
|
18037
|
-
*/
|
|
18038
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
18039
|
-
/**
|
|
18040
|
-
* Always `web_fetch`. Selects the web_fetch tool, which fetches a web page.
|
|
18041
|
-
*/
|
|
18042
|
-
type: 'web_fetch';
|
|
18043
|
-
/**
|
|
18044
|
-
* Hosts the tool may fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with blocked_domains.
|
|
18045
|
-
*/
|
|
18046
|
-
allowed_domains?: Array<string>;
|
|
18047
|
-
/**
|
|
18048
|
-
* Hosts the tool must never fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with allowed_domains.
|
|
18049
|
-
*/
|
|
18050
|
-
blocked_domains?: Array<string>;
|
|
18051
|
-
/**
|
|
18052
|
-
* Maximum number of tokens of fetched text content included in context per call; does not apply to binary content such as PDFs. Null for no explicit limit.
|
|
18053
|
-
*/
|
|
18054
|
-
max_content_tokens?: null | number;
|
|
18055
|
-
};
|
|
18056
|
-
export type AgentManaged52 = {
|
|
18057
|
-
/**
|
|
18058
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
18059
|
-
*/
|
|
18060
|
-
enabled: boolean;
|
|
18061
|
-
/**
|
|
18062
|
-
* Name of the native tool this entry configures.
|
|
18063
|
-
*/
|
|
18064
|
-
name: 'web_search';
|
|
18065
|
-
/**
|
|
18066
|
-
* Permission policy for tool execution.
|
|
18067
|
-
*/
|
|
18068
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
18069
|
-
/**
|
|
18070
|
-
* Always `web_search`. Selects the web_search tool, which searches the web.
|
|
18071
|
-
*/
|
|
18072
|
-
type: 'web_search';
|
|
18073
|
-
/**
|
|
18074
|
-
* Hosts the tool may fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with blocked_domains.
|
|
18075
|
-
*/
|
|
18076
|
-
allowed_domains?: Array<string>;
|
|
18077
|
-
/**
|
|
18078
|
-
* Hosts the tool must never fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with allowed_domains.
|
|
18079
|
-
*/
|
|
18080
|
-
blocked_domains?: Array<string>;
|
|
18081
|
-
/**
|
|
18082
|
-
* Approximate user location for search result localization.
|
|
18083
|
-
*/
|
|
18084
|
-
user_location?: null | AgentManaged27;
|
|
18085
|
-
};
|
|
18086
|
-
/**
|
|
18087
|
-
* Settings applied to every tool of this toolset that configs does not name. When omitted, tools are enabled with the always_allow policy.
|
|
18088
|
-
*/
|
|
18089
|
-
export type AgentManaged53 = {
|
|
18090
|
-
/**
|
|
18091
|
-
* Whether tools of the toolset are offered to the model when configs does not name them. Null or omitted means enabled.
|
|
18092
|
-
*/
|
|
18093
|
-
enabled: boolean;
|
|
18094
|
-
/**
|
|
18095
|
-
* Permission policy for tool execution.
|
|
18096
|
-
*/
|
|
18097
|
-
permission_policy: AgentManaged17 | AgentManaged18 | AgentManaged19;
|
|
18098
|
-
};
|
|
18099
|
-
/**
|
|
18100
|
-
* JSON Schema of the custom tool's input object, passed to the model as the tool's parameters.
|
|
18101
|
-
*/
|
|
18102
|
-
export type AgentManaged33 = {
|
|
18103
|
-
/**
|
|
18104
|
-
* Always `object`. The input is a JSON object.
|
|
18105
|
-
*/
|
|
18106
|
-
type: 'object';
|
|
18107
|
-
/**
|
|
18108
|
-
* JSON Schema of each input property, keyed by property name.
|
|
18109
|
-
*/
|
|
18110
|
-
properties?: null | AgentManaged34;
|
|
18111
|
-
/**
|
|
18112
|
-
* Names of the input properties the model must supply.
|
|
18113
|
-
*/
|
|
18114
|
-
required?: null | Array<string>;
|
|
18115
|
-
[key: string]: unknown;
|
|
18116
|
-
};
|
|
18117
18287
|
/**
|
|
18118
18288
|
* Largest list-price cost the session may reach, as {amount, currency}. amount is in US dollars with at most 2 decimals, not cents.
|
|
18119
18289
|
*/
|
|
@@ -18173,23 +18343,6 @@ export type AgentManaged181 = {
|
|
|
18173
18343
|
*/
|
|
18174
18344
|
web_search_requests?: number;
|
|
18175
18345
|
};
|
|
18176
|
-
/**
|
|
18177
|
-
* Agent definition the session uses after the change; null when unchanged.
|
|
18178
|
-
*/
|
|
18179
|
-
export type AgentManaged40 = {
|
|
18180
|
-
/**
|
|
18181
|
-
* Agent id (agent_...). Pass it as agent when creating a session and as agent_id in agent calls.
|
|
18182
|
-
*/
|
|
18183
|
-
id: string;
|
|
18184
|
-
/**
|
|
18185
|
-
* Always `agent`. A roster member that refers to an agent by id and pinned version.
|
|
18186
|
-
*/
|
|
18187
|
-
type: 'agent';
|
|
18188
|
-
/**
|
|
18189
|
-
* The latest saved version of the agent, the editable head; it differs from active_version after a save with apply false. Starts at 1 and increments each time the agent is modified.
|
|
18190
|
-
*/
|
|
18191
|
-
version: number;
|
|
18192
|
-
};
|
|
18193
18346
|
export type AgentManaged11 = {
|
|
18194
18347
|
/**
|
|
18195
18348
|
* Reference to the agent being created or updated as a member of its own roster.
|
|
@@ -18799,7 +18952,7 @@ export type AgentManaged249 = {
|
|
|
18799
18952
|
*/
|
|
18800
18953
|
input_tokens?: number;
|
|
18801
18954
|
/**
|
|
18802
|
-
*
|
|
18955
|
+
* Session total list-price cost in USD as a decimal string with exactly 6 decimals. Includes models, runtime and all other charged products attributed to this session; child-thread model cost is already included. The budget reads the same total. In-flight work may finish after the limit is reached.
|
|
18803
18956
|
*/
|
|
18804
18957
|
list_cost?: AgentManaged77;
|
|
18805
18958
|
/**
|
|
@@ -19127,6 +19280,18 @@ export type AgentSseData = {
|
|
|
19127
19280
|
*/
|
|
19128
19281
|
stopped: boolean;
|
|
19129
19282
|
} | {
|
|
19283
|
+
/**
|
|
19284
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
19285
|
+
*/
|
|
19286
|
+
permission_mode_version?: number;
|
|
19287
|
+
/**
|
|
19288
|
+
* The permission mode before this change, or null when none was selected.
|
|
19289
|
+
*/
|
|
19290
|
+
previous_permission_mode?: string | null;
|
|
19291
|
+
/**
|
|
19292
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
19293
|
+
*/
|
|
19294
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
19130
19295
|
/**
|
|
19131
19296
|
* Unique identifier for this event.
|
|
19132
19297
|
*/
|
|
@@ -19254,6 +19419,10 @@ export type AgentSseData = {
|
|
|
19254
19419
|
*/
|
|
19255
19420
|
type: 'span.model_request_end';
|
|
19256
19421
|
} | {
|
|
19422
|
+
/**
|
|
19423
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
19424
|
+
*/
|
|
19425
|
+
full_access_available?: boolean;
|
|
19257
19426
|
/**
|
|
19258
19427
|
* Unique identifier for this event.
|
|
19259
19428
|
*/
|
|
@@ -19296,6 +19465,44 @@ export type AgentSseData = {
|
|
|
19296
19465
|
* Run that produced this event; null when no run identity was recorded.
|
|
19297
19466
|
*/
|
|
19298
19467
|
run_id: string | null;
|
|
19468
|
+
/**
|
|
19469
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
19470
|
+
*/
|
|
19471
|
+
user_once?: true;
|
|
19472
|
+
/**
|
|
19473
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
19474
|
+
*/
|
|
19475
|
+
guarded_rule?: string;
|
|
19476
|
+
/**
|
|
19477
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
19478
|
+
*/
|
|
19479
|
+
permission_suggestions?: Array<{
|
|
19480
|
+
/**
|
|
19481
|
+
* add_rules adds the offered allow rules.
|
|
19482
|
+
*/
|
|
19483
|
+
type: 'add_rules';
|
|
19484
|
+
/**
|
|
19485
|
+
* allow grants permission for matching calls.
|
|
19486
|
+
*/
|
|
19487
|
+
behavior: 'allow';
|
|
19488
|
+
/**
|
|
19489
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
19490
|
+
*/
|
|
19491
|
+
destination: 'agent' | 'session';
|
|
19492
|
+
/**
|
|
19493
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
19494
|
+
*/
|
|
19495
|
+
rules: Array<{
|
|
19496
|
+
/**
|
|
19497
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
19498
|
+
*/
|
|
19499
|
+
tool_name: string;
|
|
19500
|
+
/**
|
|
19501
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
19502
|
+
*/
|
|
19503
|
+
rule_content: string;
|
|
19504
|
+
}>;
|
|
19505
|
+
}>;
|
|
19299
19506
|
} | {
|
|
19300
19507
|
/**
|
|
19301
19508
|
* Unique identifier for this event.
|
|
@@ -19326,6 +19533,10 @@ export type AgentSseData = {
|
|
|
19326
19533
|
*/
|
|
19327
19534
|
run_id: string | null;
|
|
19328
19535
|
} | {
|
|
19536
|
+
/**
|
|
19537
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
19538
|
+
*/
|
|
19539
|
+
full_access_available?: boolean;
|
|
19329
19540
|
/**
|
|
19330
19541
|
* Unique identifier for this event.
|
|
19331
19542
|
*/
|
|
@@ -19404,6 +19615,44 @@ export type AgentSseData = {
|
|
|
19404
19615
|
* Praxis extension (MCP Apps, SEP-1865): present when `source` is `codemode`; the id of the codemode tool use whose program made this call. Absent otherwise.
|
|
19405
19616
|
*/
|
|
19406
19617
|
parent_tool_use_id?: string;
|
|
19618
|
+
/**
|
|
19619
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
19620
|
+
*/
|
|
19621
|
+
user_once?: true;
|
|
19622
|
+
/**
|
|
19623
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
19624
|
+
*/
|
|
19625
|
+
guarded_rule?: string;
|
|
19626
|
+
/**
|
|
19627
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
19628
|
+
*/
|
|
19629
|
+
permission_suggestions?: Array<{
|
|
19630
|
+
/**
|
|
19631
|
+
* add_rules adds the offered allow rules.
|
|
19632
|
+
*/
|
|
19633
|
+
type: 'add_rules';
|
|
19634
|
+
/**
|
|
19635
|
+
* allow grants permission for matching calls.
|
|
19636
|
+
*/
|
|
19637
|
+
behavior: 'allow';
|
|
19638
|
+
/**
|
|
19639
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
19640
|
+
*/
|
|
19641
|
+
destination: 'agent' | 'session';
|
|
19642
|
+
/**
|
|
19643
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
19644
|
+
*/
|
|
19645
|
+
rules: Array<{
|
|
19646
|
+
/**
|
|
19647
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
19648
|
+
*/
|
|
19649
|
+
tool_name: string;
|
|
19650
|
+
/**
|
|
19651
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
19652
|
+
*/
|
|
19653
|
+
rule_content: string;
|
|
19654
|
+
}>;
|
|
19655
|
+
}>;
|
|
19407
19656
|
/**
|
|
19408
19657
|
* Human-readable tool name from MCP 2025-06-18 Tool.title, falling back to annotations.title. Trimmed and truncated to 200 characters; omitted when blank or absent. Present only for model-initiated calls on /agent/v1; use name when absent.
|
|
19409
19658
|
*/
|
|
@@ -21595,243 +21844,9 @@ export type MediaCloudinaryResource = {
|
|
|
21595
21844
|
* Source audio or video duration in seconds, when known.
|
|
21596
21845
|
*/
|
|
21597
21846
|
duration?: number;
|
|
21598
|
-
pages?: number;
|
|
21599
|
-
/**
|
|
21600
|
-
* True for audio-only media, which uses resource_type video.
|
|
21601
|
-
*/
|
|
21602
|
-
is_audio?: boolean;
|
|
21603
|
-
/**
|
|
21604
|
-
* Original or overridden source filename with its final extension removed.
|
|
21605
|
-
*/
|
|
21606
|
-
original_filename?: string;
|
|
21607
|
-
/**
|
|
21608
|
-
* Labels attached to the asset.
|
|
21609
|
-
*/
|
|
21610
|
-
tags: Array<string>;
|
|
21611
21847
|
/**
|
|
21612
|
-
*
|
|
21613
|
-
*/
|
|
21614
|
-
context?: {
|
|
21615
|
-
/**
|
|
21616
|
-
* Caller-supplied metadata entries with string values.
|
|
21617
|
-
*/
|
|
21618
|
-
custom: {
|
|
21619
|
-
[key: string]: string;
|
|
21620
|
-
};
|
|
21621
|
-
};
|
|
21622
|
-
/**
|
|
21623
|
-
* Time this asset identity was created, in UTC.
|
|
21624
|
-
*/
|
|
21625
|
-
created_at: MediaIsoTimestamp;
|
|
21626
|
-
/**
|
|
21627
|
-
* URL for retrieving this version of the asset’s original content.
|
|
21628
|
-
*/
|
|
21629
|
-
url: string;
|
|
21630
|
-
/**
|
|
21631
|
-
* HTTPS delivery URL for this asset version; equal to url.
|
|
21632
|
-
*/
|
|
21633
|
-
secure_url: string;
|
|
21634
|
-
/**
|
|
21635
|
-
* False because this response represents stored source content.
|
|
21636
|
-
*/
|
|
21637
|
-
placeholder: false;
|
|
21638
|
-
/**
|
|
21639
|
-
* True when overwrite=false returns the asset already stored under the requested public_id.
|
|
21640
|
-
*/
|
|
21641
|
-
existing?: boolean;
|
|
21642
|
-
/**
|
|
21643
|
-
* Processing progress, included when auto_tagging was requested.
|
|
21644
|
-
*/
|
|
21645
|
-
processing?: MediaProcessing;
|
|
21646
|
-
};
|
|
21647
|
-
/**
|
|
21648
|
-
* Acknowledgement of an accepted upload chunk before the complete asset is available.
|
|
21649
|
-
*/
|
|
21650
|
-
export type MediaChunkPending = {
|
|
21651
|
-
/**
|
|
21652
|
-
* False while more chunks are needed before the asset is complete.
|
|
21653
|
-
*/
|
|
21654
|
-
done: false;
|
|
21655
|
-
/**
|
|
21656
|
-
* Upload session identifier supplied in X-Unique-Upload-Id; reuse it for subsequent chunks.
|
|
21657
|
-
*/
|
|
21658
|
-
upload_id: string;
|
|
21659
|
-
};
|
|
21660
|
-
export type MediaChunkComplete = MediaCloudinaryResource & {
|
|
21661
|
-
/**
|
|
21662
|
-
* True when the final chunk has completed the asset upload.
|
|
21663
|
-
*/
|
|
21664
|
-
done: true;
|
|
21665
|
-
};
|
|
21666
|
-
/**
|
|
21667
|
-
* Public asset delivery mode; upload is the only supported value.
|
|
21668
|
-
*/
|
|
21669
|
-
export type MediaDeliveryType = 'upload';
|
|
21670
|
-
/**
|
|
21671
|
-
* Per-task processing progress and its aggregate state for the asset.
|
|
21672
|
-
*/
|
|
21673
|
-
export type MediaProcessing = {
|
|
21674
|
-
state: MediaProcessingState;
|
|
21675
|
-
/**
|
|
21676
|
-
* Processing states by kind. tagging is present when auto_tagging was requested and follows visual understanding.
|
|
21677
|
-
*/
|
|
21678
|
-
kinds: {
|
|
21679
|
-
[key: string]: MediaKindState;
|
|
21680
|
-
};
|
|
21681
|
-
/**
|
|
21682
|
-
* Time the processing state was last updated, in UTC.
|
|
21683
|
-
*/
|
|
21684
|
-
updated_at: MediaIsoTimestamp;
|
|
21685
|
-
};
|
|
21686
|
-
/**
|
|
21687
|
-
* Preview sprite sheet with tile dimensions and sample spacing.
|
|
21688
|
-
*/
|
|
21689
|
-
export type MediaStoryboard = {
|
|
21690
|
-
/**
|
|
21691
|
-
* Delivery URL of the storyboard sprite sheet.
|
|
21692
|
-
*/
|
|
21693
|
-
url: string;
|
|
21694
|
-
/**
|
|
21695
|
-
* Number of frame tiles in the sprite sheet.
|
|
21696
|
-
*/
|
|
21697
|
-
tiles: number;
|
|
21698
|
-
/**
|
|
21699
|
-
* Source-time interval between storyboard samples, in milliseconds.
|
|
21700
|
-
*/
|
|
21701
|
-
interval_ms: number;
|
|
21702
|
-
/**
|
|
21703
|
-
* Width of each frame tile in pixels.
|
|
21704
|
-
*/
|
|
21705
|
-
tile_width: number;
|
|
21706
|
-
/**
|
|
21707
|
-
* Height of each frame tile in pixels.
|
|
21848
|
+
* Number of pages recorded for the asset; omitted when no page count is stored.
|
|
21708
21849
|
*/
|
|
21709
|
-
tile_height: number;
|
|
21710
|
-
};
|
|
21711
|
-
/**
|
|
21712
|
-
* An immutable understanding result for an asset version, including superseded history when requested.
|
|
21713
|
-
*/
|
|
21714
|
-
export type MediaUnderstanding = {
|
|
21715
|
-
/**
|
|
21716
|
-
* Generated identifier of this understanding result.
|
|
21717
|
-
*/
|
|
21718
|
-
id: MediaUnderstandingId;
|
|
21719
|
-
/**
|
|
21720
|
-
* Identifier of the asset from which this result was produced.
|
|
21721
|
-
*/
|
|
21722
|
-
asset_id: MediaAssetId;
|
|
21723
|
-
/**
|
|
21724
|
-
* Asset version processed to produce this result; compare with the asset’s current version.
|
|
21725
|
-
*/
|
|
21726
|
-
asset_version: number;
|
|
21727
|
-
/**
|
|
21728
|
-
* Result kind: caption is a visual description, tags are recognized labels, ocr is text recognized in the image, transcript is speech text, and frame is a description of a video segment.
|
|
21729
|
-
*/
|
|
21730
|
-
kind: MediaUnderstandingKind;
|
|
21731
|
-
/**
|
|
21732
|
-
* Producer model identifier; a failure may use the configured model when no model response is available.
|
|
21733
|
-
*/
|
|
21734
|
-
producer: string;
|
|
21735
|
-
producer_version: string;
|
|
21736
|
-
/**
|
|
21737
|
-
* Source-media time range for a frame or transcript segment; null for results without a segment.
|
|
21738
|
-
*/
|
|
21739
|
-
segment: MediaSegment | null;
|
|
21740
|
-
/**
|
|
21741
|
-
* Result status: ready contains completed output; failed records an error.
|
|
21742
|
-
*/
|
|
21743
|
-
status: 'ready' | 'failed';
|
|
21744
|
-
/**
|
|
21745
|
-
* Text output, such as a caption, recognized text or transcript; null for structured-only or failed results.
|
|
21746
|
-
*/
|
|
21747
|
-
content: string | null;
|
|
21748
|
-
/**
|
|
21749
|
-
* Structured producer output, such as recognized labels or frame details; null when absent.
|
|
21750
|
-
*/
|
|
21751
|
-
data: unknown | null;
|
|
21752
|
-
confidence: number | null;
|
|
21753
|
-
/**
|
|
21754
|
-
* Failure code and message, or null for a successful result.
|
|
21755
|
-
*/
|
|
21756
|
-
error: {
|
|
21757
|
-
/**
|
|
21758
|
-
* Failure code identifying why understanding could not complete.
|
|
21759
|
-
*/
|
|
21760
|
-
code: string;
|
|
21761
|
-
/**
|
|
21762
|
-
* Human-readable explanation of the understanding failure.
|
|
21763
|
-
*/
|
|
21764
|
-
message: string;
|
|
21765
|
-
} | null;
|
|
21766
|
-
/**
|
|
21767
|
-
* Whether a newer result or asset version has replaced this result. Excluded from listing unless include_superseded is true.
|
|
21768
|
-
*/
|
|
21769
|
-
superseded: boolean;
|
|
21770
|
-
/**
|
|
21771
|
-
* Time this immutable result was recorded, in UTC.
|
|
21772
|
-
*/
|
|
21773
|
-
created_at: MediaIsoTimestamp;
|
|
21774
|
-
};
|
|
21775
|
-
/**
|
|
21776
|
-
* A native asset returned by expression search; tags and context are included only when requested in with_field.
|
|
21777
|
-
*/
|
|
21778
|
-
export type MediaSearchAsset = {
|
|
21779
|
-
/**
|
|
21780
|
-
* Generated asset identifier: 32 lowercase hexadecimal characters, preserved across overwrites.
|
|
21781
|
-
*/
|
|
21782
|
-
asset_id: MediaAssetId;
|
|
21783
|
-
/**
|
|
21784
|
-
* Delivery identifier unique within this library, used in asset URLs.
|
|
21785
|
-
*/
|
|
21786
|
-
public_id: string;
|
|
21787
|
-
/**
|
|
21788
|
-
* Human-readable asset name, independent of its delivery identifier.
|
|
21789
|
-
*/
|
|
21790
|
-
display_name: string;
|
|
21791
|
-
/**
|
|
21792
|
-
* Organizational folder path; the empty string denotes the root folder.
|
|
21793
|
-
*/
|
|
21794
|
-
asset_folder: string;
|
|
21795
|
-
/**
|
|
21796
|
-
* Stored media category: image for images, video for video or audio, and raw for other files. Upload also accepts auto for detection.
|
|
21797
|
-
*/
|
|
21798
|
-
resource_type: MediaResourceType;
|
|
21799
|
-
/**
|
|
21800
|
-
* Public asset delivery mode; upload is the only supported value.
|
|
21801
|
-
*/
|
|
21802
|
-
type: MediaDeliveryType;
|
|
21803
|
-
/**
|
|
21804
|
-
* Detected file format used as the delivery URL extension.
|
|
21805
|
-
*/
|
|
21806
|
-
format: string;
|
|
21807
|
-
/**
|
|
21808
|
-
* Monotonically increasing asset version used in delivery URLs; based on upload time in Unix seconds and advanced on overwrite.
|
|
21809
|
-
*/
|
|
21810
|
-
version: number;
|
|
21811
|
-
/**
|
|
21812
|
-
* Identifier for this asset version, regenerated on overwrite.
|
|
21813
|
-
*/
|
|
21814
|
-
version_id: string;
|
|
21815
|
-
/**
|
|
21816
|
-
* Size of the original source content, in bytes.
|
|
21817
|
-
*/
|
|
21818
|
-
bytes: number;
|
|
21819
|
-
/**
|
|
21820
|
-
* MD5 digest of the source bytes, as 32 lowercase hexadecimal characters.
|
|
21821
|
-
*/
|
|
21822
|
-
etag: string;
|
|
21823
|
-
/**
|
|
21824
|
-
* Source image or video width in pixels, when known.
|
|
21825
|
-
*/
|
|
21826
|
-
width?: number;
|
|
21827
|
-
/**
|
|
21828
|
-
* Source image or video height in pixels, when known.
|
|
21829
|
-
*/
|
|
21830
|
-
height?: number;
|
|
21831
|
-
/**
|
|
21832
|
-
* Source audio or video duration in seconds, when known.
|
|
21833
|
-
*/
|
|
21834
|
-
duration?: number;
|
|
21835
21850
|
pages?: number;
|
|
21836
21851
|
/**
|
|
21837
21852
|
* True for audio-only media, which uses resource_type video.
|
|
@@ -21844,7 +21859,7 @@ export type MediaSearchAsset = {
|
|
|
21844
21859
|
/**
|
|
21845
21860
|
* Labels attached to the asset.
|
|
21846
21861
|
*/
|
|
21847
|
-
tags
|
|
21862
|
+
tags: Array<string>;
|
|
21848
21863
|
/**
|
|
21849
21864
|
* Custom string metadata; omitted when empty or excluded by the search projection.
|
|
21850
21865
|
*/
|
|
@@ -21872,6 +21887,255 @@ export type MediaSearchAsset = {
|
|
|
21872
21887
|
* False because this response represents stored source content.
|
|
21873
21888
|
*/
|
|
21874
21889
|
placeholder: false;
|
|
21890
|
+
/**
|
|
21891
|
+
* True when overwrite=false returns the asset already stored under the requested public_id.
|
|
21892
|
+
*/
|
|
21893
|
+
existing?: boolean;
|
|
21894
|
+
/**
|
|
21895
|
+
* Processing progress, included when auto_tagging was requested.
|
|
21896
|
+
*/
|
|
21897
|
+
processing?: MediaProcessing;
|
|
21898
|
+
};
|
|
21899
|
+
/**
|
|
21900
|
+
* Acknowledgement of an accepted upload chunk before the complete asset is available.
|
|
21901
|
+
*/
|
|
21902
|
+
export type MediaChunkPending = {
|
|
21903
|
+
/**
|
|
21904
|
+
* False while more chunks are needed before the asset is complete.
|
|
21905
|
+
*/
|
|
21906
|
+
done: false;
|
|
21907
|
+
/**
|
|
21908
|
+
* Upload session identifier supplied in X-Unique-Upload-Id; reuse it for subsequent chunks.
|
|
21909
|
+
*/
|
|
21910
|
+
upload_id: string;
|
|
21911
|
+
};
|
|
21912
|
+
export type MediaChunkComplete = MediaCloudinaryResource & {
|
|
21913
|
+
/**
|
|
21914
|
+
* True when the final chunk has completed the asset upload.
|
|
21915
|
+
*/
|
|
21916
|
+
done: true;
|
|
21917
|
+
};
|
|
21918
|
+
/**
|
|
21919
|
+
* Public asset delivery mode; upload is the only supported value.
|
|
21920
|
+
*/
|
|
21921
|
+
export type MediaDeliveryType = 'upload';
|
|
21922
|
+
/**
|
|
21923
|
+
* Per-task processing progress and its aggregate state for the asset.
|
|
21924
|
+
*/
|
|
21925
|
+
export type MediaProcessing = {
|
|
21926
|
+
state: MediaProcessingState;
|
|
21927
|
+
/**
|
|
21928
|
+
* Processing states by kind. tagging is present when auto_tagging was requested and follows visual understanding.
|
|
21929
|
+
*/
|
|
21930
|
+
kinds: {
|
|
21931
|
+
[key: string]: MediaKindState;
|
|
21932
|
+
};
|
|
21933
|
+
/**
|
|
21934
|
+
* Time the processing state was last updated, in UTC.
|
|
21935
|
+
*/
|
|
21936
|
+
updated_at: MediaIsoTimestamp;
|
|
21937
|
+
};
|
|
21938
|
+
/**
|
|
21939
|
+
* Preview sprite sheet with tile dimensions and sample spacing.
|
|
21940
|
+
*/
|
|
21941
|
+
export type MediaStoryboard = {
|
|
21942
|
+
/**
|
|
21943
|
+
* Delivery URL of the storyboard sprite sheet.
|
|
21944
|
+
*/
|
|
21945
|
+
url: string;
|
|
21946
|
+
/**
|
|
21947
|
+
* Number of frame tiles in the sprite sheet.
|
|
21948
|
+
*/
|
|
21949
|
+
tiles: number;
|
|
21950
|
+
/**
|
|
21951
|
+
* Source-time interval between storyboard samples, in milliseconds.
|
|
21952
|
+
*/
|
|
21953
|
+
interval_ms: number;
|
|
21954
|
+
/**
|
|
21955
|
+
* Width of each frame tile in pixels.
|
|
21956
|
+
*/
|
|
21957
|
+
tile_width: number;
|
|
21958
|
+
/**
|
|
21959
|
+
* Height of each frame tile in pixels.
|
|
21960
|
+
*/
|
|
21961
|
+
tile_height: number;
|
|
21962
|
+
};
|
|
21963
|
+
/**
|
|
21964
|
+
* An immutable understanding result for an asset version, including superseded history when requested.
|
|
21965
|
+
*/
|
|
21966
|
+
export type MediaUnderstanding = {
|
|
21967
|
+
/**
|
|
21968
|
+
* Generated identifier of this understanding result.
|
|
21969
|
+
*/
|
|
21970
|
+
id: MediaUnderstandingId;
|
|
21971
|
+
/**
|
|
21972
|
+
* Identifier of the asset from which this result was produced.
|
|
21973
|
+
*/
|
|
21974
|
+
asset_id: MediaAssetId;
|
|
21975
|
+
/**
|
|
21976
|
+
* Asset version processed to produce this result; compare with the asset’s current version.
|
|
21977
|
+
*/
|
|
21978
|
+
asset_version: number;
|
|
21979
|
+
/**
|
|
21980
|
+
* Result kind: caption is a visual description, tags are recognized labels, ocr is text recognized in the image, transcript is speech text, and frame is a description of a video segment.
|
|
21981
|
+
*/
|
|
21982
|
+
kind: MediaUnderstandingKind;
|
|
21983
|
+
/**
|
|
21984
|
+
* Producer model identifier; a failure may use the configured model when no model response is available.
|
|
21985
|
+
*/
|
|
21986
|
+
producer: string;
|
|
21987
|
+
/**
|
|
21988
|
+
* Version of the producer that generated this understanding result.
|
|
21989
|
+
*/
|
|
21990
|
+
producer_version: string;
|
|
21991
|
+
/**
|
|
21992
|
+
* Source-media time range for a frame or transcript segment; null for results without a segment.
|
|
21993
|
+
*/
|
|
21994
|
+
segment: MediaSegment | null;
|
|
21995
|
+
/**
|
|
21996
|
+
* Result status: ready contains completed output; failed records an error.
|
|
21997
|
+
*/
|
|
21998
|
+
status: 'ready' | 'failed';
|
|
21999
|
+
/**
|
|
22000
|
+
* Text output, such as a caption, recognized text or transcript; null for structured-only or failed results.
|
|
22001
|
+
*/
|
|
22002
|
+
content: string | null;
|
|
22003
|
+
/**
|
|
22004
|
+
* Structured producer output, such as recognized labels or frame details; null when absent.
|
|
22005
|
+
*/
|
|
22006
|
+
data: unknown | null;
|
|
22007
|
+
/**
|
|
22008
|
+
* Confidence value recorded by the producer; null when no confidence value is recorded.
|
|
22009
|
+
*/
|
|
22010
|
+
confidence: number | null;
|
|
22011
|
+
/**
|
|
22012
|
+
* Failure code and message, or null for a successful result.
|
|
22013
|
+
*/
|
|
22014
|
+
error: {
|
|
22015
|
+
/**
|
|
22016
|
+
* Failure code identifying why understanding could not complete.
|
|
22017
|
+
*/
|
|
22018
|
+
code: string;
|
|
22019
|
+
/**
|
|
22020
|
+
* Human-readable explanation of the understanding failure.
|
|
22021
|
+
*/
|
|
22022
|
+
message: string;
|
|
22023
|
+
} | null;
|
|
22024
|
+
/**
|
|
22025
|
+
* Whether a newer result or asset version has replaced this result. Excluded from listing unless include_superseded is true.
|
|
22026
|
+
*/
|
|
22027
|
+
superseded: boolean;
|
|
22028
|
+
/**
|
|
22029
|
+
* Time this immutable result was recorded, in UTC.
|
|
22030
|
+
*/
|
|
22031
|
+
created_at: MediaIsoTimestamp;
|
|
22032
|
+
};
|
|
22033
|
+
/**
|
|
22034
|
+
* A native asset returned by expression search; tags and context are included only when requested in with_field.
|
|
22035
|
+
*/
|
|
22036
|
+
export type MediaSearchAsset = {
|
|
22037
|
+
/**
|
|
22038
|
+
* Generated asset identifier: 32 lowercase hexadecimal characters, preserved across overwrites.
|
|
22039
|
+
*/
|
|
22040
|
+
asset_id: MediaAssetId;
|
|
22041
|
+
/**
|
|
22042
|
+
* Delivery identifier unique within this library, used in asset URLs.
|
|
22043
|
+
*/
|
|
22044
|
+
public_id: string;
|
|
22045
|
+
/**
|
|
22046
|
+
* Human-readable asset name, independent of its delivery identifier.
|
|
22047
|
+
*/
|
|
22048
|
+
display_name: string;
|
|
22049
|
+
/**
|
|
22050
|
+
* Organizational folder path; the empty string denotes the root folder.
|
|
22051
|
+
*/
|
|
22052
|
+
asset_folder: string;
|
|
22053
|
+
/**
|
|
22054
|
+
* Stored media category: image for images, video for video or audio, and raw for other files. Upload also accepts auto for detection.
|
|
22055
|
+
*/
|
|
22056
|
+
resource_type: MediaResourceType;
|
|
22057
|
+
/**
|
|
22058
|
+
* Public asset delivery mode; upload is the only supported value.
|
|
22059
|
+
*/
|
|
22060
|
+
type: MediaDeliveryType;
|
|
22061
|
+
/**
|
|
22062
|
+
* Detected file format used as the delivery URL extension.
|
|
22063
|
+
*/
|
|
22064
|
+
format: string;
|
|
22065
|
+
/**
|
|
22066
|
+
* Monotonically increasing asset version used in delivery URLs; based on upload time in Unix seconds and advanced on overwrite.
|
|
22067
|
+
*/
|
|
22068
|
+
version: number;
|
|
22069
|
+
/**
|
|
22070
|
+
* Identifier for this asset version, regenerated on overwrite.
|
|
22071
|
+
*/
|
|
22072
|
+
version_id: string;
|
|
22073
|
+
/**
|
|
22074
|
+
* Size of the original source content, in bytes.
|
|
22075
|
+
*/
|
|
22076
|
+
bytes: number;
|
|
22077
|
+
/**
|
|
22078
|
+
* MD5 digest of the source bytes, as 32 lowercase hexadecimal characters.
|
|
22079
|
+
*/
|
|
22080
|
+
etag: string;
|
|
22081
|
+
/**
|
|
22082
|
+
* Source image or video width in pixels, when known.
|
|
22083
|
+
*/
|
|
22084
|
+
width?: number;
|
|
22085
|
+
/**
|
|
22086
|
+
* Source image or video height in pixels, when known.
|
|
22087
|
+
*/
|
|
22088
|
+
height?: number;
|
|
22089
|
+
/**
|
|
22090
|
+
* Source audio or video duration in seconds, when known.
|
|
22091
|
+
*/
|
|
22092
|
+
duration?: number;
|
|
22093
|
+
/**
|
|
22094
|
+
* Number of pages recorded for the asset; omitted when no page count is stored.
|
|
22095
|
+
*/
|
|
22096
|
+
pages?: number;
|
|
22097
|
+
/**
|
|
22098
|
+
* True for audio-only media, which uses resource_type video.
|
|
22099
|
+
*/
|
|
22100
|
+
is_audio?: boolean;
|
|
22101
|
+
/**
|
|
22102
|
+
* Original or overridden source filename with its final extension removed.
|
|
22103
|
+
*/
|
|
22104
|
+
original_filename?: string;
|
|
22105
|
+
/**
|
|
22106
|
+
* Labels attached to the asset.
|
|
22107
|
+
*/
|
|
22108
|
+
tags?: Array<string>;
|
|
22109
|
+
/**
|
|
22110
|
+
* Custom string metadata; omitted when empty or excluded by the search projection.
|
|
22111
|
+
*/
|
|
22112
|
+
context?: {
|
|
22113
|
+
/**
|
|
22114
|
+
* Caller-supplied metadata entries with string values.
|
|
22115
|
+
*/
|
|
22116
|
+
custom: {
|
|
22117
|
+
[key: string]: string;
|
|
22118
|
+
};
|
|
22119
|
+
};
|
|
22120
|
+
/**
|
|
22121
|
+
* Time this asset identity was created, in UTC.
|
|
22122
|
+
*/
|
|
22123
|
+
created_at: MediaIsoTimestamp;
|
|
22124
|
+
/**
|
|
22125
|
+
* URL for retrieving this version of the asset’s original content.
|
|
22126
|
+
*/
|
|
22127
|
+
url: string;
|
|
22128
|
+
/**
|
|
22129
|
+
* HTTPS delivery URL for this asset version; equal to url.
|
|
22130
|
+
*/
|
|
22131
|
+
secure_url: string;
|
|
22132
|
+
/**
|
|
22133
|
+
* False because this response represents stored source content.
|
|
22134
|
+
*/
|
|
22135
|
+
placeholder: false;
|
|
22136
|
+
/**
|
|
22137
|
+
* True when overwrite is false and the public_id already exists; the existing resource is returned.
|
|
22138
|
+
*/
|
|
21875
22139
|
existing?: boolean;
|
|
21876
22140
|
/**
|
|
21877
22141
|
* Progress of understanding and embedding tasks for the asset.
|
|
@@ -21932,7 +22196,7 @@ export type MediaSemanticHit = {
|
|
|
21932
22196
|
* Identifier returned when a batch job is created.
|
|
21933
22197
|
*/
|
|
21934
22198
|
export type MediaJobId = string;
|
|
21935
|
-
export type MediaMediaErrorCode = 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED';
|
|
22199
|
+
export type MediaMediaErrorCode = 'LIBRARY_NOT_FOUND' | 'ASSET_NOT_FOUND' | 'JOB_NOT_FOUND' | 'UNDERSTANDING_NOT_FOUND' | 'LIBRARY_INVALID_STATE' | 'INVALID_PARAMS' | 'INVALID_EXPRESSION' | 'UNSUPPORTED' | 'NOT_IMPLEMENTED' | 'FILE_TOO_LARGE' | 'FILE_EMPTY' | 'UNSUPPORTED_MEDIA' | 'FETCH_FAILED' | 'LIMIT_EXCEEDED' | 'CHUNK_INVALID' | 'RATE_LIMITED' | 'CAPACITY' | 'UPSTREAM_FAILED' | 'BINDING_READ_ONLY';
|
|
21936
22200
|
/**
|
|
21937
22201
|
* A recorded library event with a monotonically increasing sequence within that library.
|
|
21938
22202
|
*/
|
|
@@ -22175,6 +22439,49 @@ export type VaultVaultTemplate = {
|
|
|
22175
22439
|
*/
|
|
22176
22440
|
value_hint: string | null;
|
|
22177
22441
|
};
|
|
22442
|
+
export type AgentManaged17 = {
|
|
22443
|
+
/**
|
|
22444
|
+
* Permission policy that allows a tool call without confirmation, subject to the session permission mode and rules.
|
|
22445
|
+
*/
|
|
22446
|
+
type: 'always_allow';
|
|
22447
|
+
};
|
|
22448
|
+
export type AgentManaged18 = {
|
|
22449
|
+
/**
|
|
22450
|
+
* Permission policy that requests confirmation before a tool call, subject to the session permission mode and rules.
|
|
22451
|
+
*/
|
|
22452
|
+
type: 'always_ask';
|
|
22453
|
+
};
|
|
22454
|
+
export type AgentManaged19 = {
|
|
22455
|
+
/**
|
|
22456
|
+
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
22457
|
+
*/
|
|
22458
|
+
type: 'auto';
|
|
22459
|
+
};
|
|
22460
|
+
export type AgentManaged27 = {
|
|
22461
|
+
/**
|
|
22462
|
+
* Approximate user location for localizing web search results.
|
|
22463
|
+
*/
|
|
22464
|
+
type: 'approximate';
|
|
22465
|
+
/**
|
|
22466
|
+
* City name.
|
|
22467
|
+
*/
|
|
22468
|
+
city?: null | string;
|
|
22469
|
+
/**
|
|
22470
|
+
* Two-letter ISO 3166-1 country code, uppercase.
|
|
22471
|
+
*/
|
|
22472
|
+
country?: null | string;
|
|
22473
|
+
/**
|
|
22474
|
+
* Region or state name.
|
|
22475
|
+
*/
|
|
22476
|
+
region?: null | string;
|
|
22477
|
+
/**
|
|
22478
|
+
* IANA timezone identifier, e.g. "America/Los_Angeles".
|
|
22479
|
+
*/
|
|
22480
|
+
timezone?: null | string;
|
|
22481
|
+
};
|
|
22482
|
+
export type AgentManaged34 = {
|
|
22483
|
+
[key: string]: unknown;
|
|
22484
|
+
};
|
|
22178
22485
|
export type OwnFileMisalignmentErrorDetailsResource = {
|
|
22179
22486
|
/**
|
|
22180
22487
|
* An optional classification; clients must accept additional values.
|
|
@@ -25832,49 +26139,6 @@ export type AnthropicServerToolUsage = {
|
|
|
25832
26139
|
* Action taken when the sandbox times out.
|
|
25833
26140
|
*/
|
|
25834
26141
|
export type SandboxSandboxOnTimeout = 'kill' | 'pause';
|
|
25835
|
-
export type AgentManaged17 = {
|
|
25836
|
-
/**
|
|
25837
|
-
* Permission policy that allows a tool call without confirmation, subject to the session permission mode and rules.
|
|
25838
|
-
*/
|
|
25839
|
-
type: 'always_allow';
|
|
25840
|
-
};
|
|
25841
|
-
export type AgentManaged18 = {
|
|
25842
|
-
/**
|
|
25843
|
-
* Permission policy that requests confirmation before a tool call, subject to the session permission mode and rules.
|
|
25844
|
-
*/
|
|
25845
|
-
type: 'always_ask';
|
|
25846
|
-
};
|
|
25847
|
-
export type AgentManaged19 = {
|
|
25848
|
-
/**
|
|
25849
|
-
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
25850
|
-
*/
|
|
25851
|
-
type: 'auto';
|
|
25852
|
-
};
|
|
25853
|
-
export type AgentManaged27 = {
|
|
25854
|
-
/**
|
|
25855
|
-
* Approximate user location for localizing web search results.
|
|
25856
|
-
*/
|
|
25857
|
-
type: 'approximate';
|
|
25858
|
-
/**
|
|
25859
|
-
* City name.
|
|
25860
|
-
*/
|
|
25861
|
-
city?: null | string;
|
|
25862
|
-
/**
|
|
25863
|
-
* Two-letter ISO 3166-1 country code, uppercase.
|
|
25864
|
-
*/
|
|
25865
|
-
country?: null | string;
|
|
25866
|
-
/**
|
|
25867
|
-
* Region or state name.
|
|
25868
|
-
*/
|
|
25869
|
-
region?: null | string;
|
|
25870
|
-
/**
|
|
25871
|
-
* IANA timezone identifier, e.g. "America/Los_Angeles".
|
|
25872
|
-
*/
|
|
25873
|
-
timezone?: null | string;
|
|
25874
|
-
};
|
|
25875
|
-
export type AgentManaged34 = {
|
|
25876
|
-
[key: string]: unknown;
|
|
25877
|
-
};
|
|
25878
26142
|
export type AgentManaged213 = {
|
|
25879
26143
|
/**
|
|
25880
26144
|
* Always `retrying`. The server retries automatically.
|
|
@@ -26002,6 +26266,9 @@ export type KnowledgeSearchExplain = {
|
|
|
26002
26266
|
*/
|
|
26003
26267
|
matched_terms: Array<string>;
|
|
26004
26268
|
};
|
|
26269
|
+
/**
|
|
26270
|
+
* Aggregate processing state across the asset processing tasks.
|
|
26271
|
+
*/
|
|
26005
26272
|
export type MediaProcessingState = 'pending' | 'processing' | 'ready' | 'partial' | 'failed';
|
|
26006
26273
|
/**
|
|
26007
26274
|
* Task state: pending awaits execution; running is executing; ready succeeded; failed terminated unsuccessfully; unsupported cannot process this input; skipped was disabled or does not apply.
|
|
@@ -27070,6 +27337,12 @@ export type PraxisSdkSseGetAutomationV1RunsIdLogs = ({
|
|
|
27070
27337
|
[key: string]: unknown;
|
|
27071
27338
|
};
|
|
27072
27339
|
};
|
|
27340
|
+
/**
|
|
27341
|
+
* Free-form string key/value pairs stored with the agent for your own bookkeeping.
|
|
27342
|
+
*/
|
|
27343
|
+
export type AgentManaged37Writable = {
|
|
27344
|
+
[key: string]: string;
|
|
27345
|
+
};
|
|
27073
27346
|
/**
|
|
27074
27347
|
* Models to use for completion
|
|
27075
27348
|
*/
|
|
@@ -27083,12 +27356,6 @@ export type AgentManaged173Writable = {
|
|
|
27083
27356
|
export type AgentManaged183Writable = {
|
|
27084
27357
|
[key: string]: null | string;
|
|
27085
27358
|
};
|
|
27086
|
-
/**
|
|
27087
|
-
* Free-form string key/value pairs stored with the agent for your own bookkeeping.
|
|
27088
|
-
*/
|
|
27089
|
-
export type AgentManaged37Writable = {
|
|
27090
|
-
[key: string]: string;
|
|
27091
|
-
};
|
|
27092
27359
|
/**
|
|
27093
27360
|
* Free-form string key/value pairs.
|
|
27094
27361
|
*/
|
|
@@ -27325,7 +27592,7 @@ export type ApplyAgentVersionErrors = {
|
|
|
27325
27592
|
export type ApplyAgentVersionError = ApplyAgentVersionErrors[keyof ApplyAgentVersionErrors];
|
|
27326
27593
|
export type ApplyAgentVersionResponses = {
|
|
27327
27594
|
/**
|
|
27328
|
-
*
|
|
27595
|
+
* Effective agent configuration and newest saved version number; no new version was created.
|
|
27329
27596
|
*/
|
|
27330
27597
|
200: {
|
|
27331
27598
|
/**
|
|
@@ -27345,88 +27612,10 @@ export type ApplyAgentVersionResponses = {
|
|
|
27345
27612
|
*/
|
|
27346
27613
|
description: null | string;
|
|
27347
27614
|
/**
|
|
27348
|
-
* Praxis extension:
|
|
27349
|
-
*/
|
|
27350
|
-
mcp_servers: Array<{
|
|
27351
|
-
/**
|
|
27352
|
-
* Streamable HTTP transport.
|
|
27353
|
-
*/
|
|
27354
|
-
type: 'url';
|
|
27355
|
-
/**
|
|
27356
|
-
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
27357
|
-
*/
|
|
27358
|
-
name: string;
|
|
27359
|
-
/**
|
|
27360
|
-
* HTTP or HTTPS MCP server endpoint.
|
|
27361
|
-
*/
|
|
27362
|
-
url: string;
|
|
27363
|
-
/**
|
|
27364
|
-
* Praxis extension: request headers. Platform identity headers take precedence, case-insensitively.
|
|
27365
|
-
*/
|
|
27366
|
-
headers?: {
|
|
27367
|
-
[key: string]: string;
|
|
27368
|
-
};
|
|
27369
|
-
/**
|
|
27370
|
-
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
27371
|
-
*/
|
|
27372
|
-
timeout_ms?: number;
|
|
27373
|
-
} | {
|
|
27374
|
-
/**
|
|
27375
|
-
* Legacy SSE transport.
|
|
27376
|
-
*/
|
|
27377
|
-
type: 'sse';
|
|
27378
|
-
/**
|
|
27379
|
-
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
27380
|
-
*/
|
|
27381
|
-
name: string;
|
|
27382
|
-
/**
|
|
27383
|
-
* HTTP or HTTPS MCP server endpoint.
|
|
27384
|
-
*/
|
|
27385
|
-
url: string;
|
|
27386
|
-
/**
|
|
27387
|
-
* Praxis extension: request headers. Platform identity headers take precedence, case-insensitively.
|
|
27388
|
-
*/
|
|
27389
|
-
headers?: {
|
|
27390
|
-
[key: string]: string;
|
|
27391
|
-
};
|
|
27392
|
-
/**
|
|
27393
|
-
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
27394
|
-
*/
|
|
27395
|
-
timeout_ms?: number;
|
|
27396
|
-
} | {
|
|
27397
|
-
/**
|
|
27398
|
-
* Run a command on the agent computer.
|
|
27399
|
-
*/
|
|
27400
|
-
type: 'stdio';
|
|
27401
|
-
/**
|
|
27402
|
-
* Name of the MCP server; the mcp_toolset entry that refers to it uses the same name in mcp_server_name.
|
|
27403
|
-
*/
|
|
27404
|
-
name: string;
|
|
27405
|
-
/**
|
|
27406
|
-
* Executable command on the agent computer.
|
|
27407
|
-
*/
|
|
27408
|
-
command: string;
|
|
27409
|
-
/**
|
|
27410
|
-
* Command arguments; omitted means no arguments.
|
|
27411
|
-
*/
|
|
27412
|
-
args?: Array<string>;
|
|
27413
|
-
/**
|
|
27414
|
-
* Praxis extension: environment variables for the command on the agent computer.
|
|
27415
|
-
*/
|
|
27416
|
-
env?: {
|
|
27417
|
-
[key: string]: string;
|
|
27418
|
-
};
|
|
27419
|
-
/**
|
|
27420
|
-
* Praxis extension: timeout in milliseconds. Applied to stdio; HTTP/SSE currently use the connection SDK default.
|
|
27421
|
-
*/
|
|
27422
|
-
timeout_ms?: number;
|
|
27423
|
-
}>;
|
|
27424
|
-
/**
|
|
27425
|
-
* Free-form string key/value pairs stored with the agent for your own bookkeeping.
|
|
27615
|
+
* Praxis extension: HTTP, SSE or trusted stdio MCP servers paired with mcp_toolset entries and saved with the agent version.
|
|
27426
27616
|
*/
|
|
27427
|
-
|
|
27428
|
-
|
|
27429
|
-
};
|
|
27617
|
+
mcp_servers: Array<AgentManaged36>;
|
|
27618
|
+
metadata: AgentManaged37;
|
|
27430
27619
|
/**
|
|
27431
27620
|
* Model identifier and configuration.
|
|
27432
27621
|
*/
|
|
@@ -27439,32 +27628,7 @@ export type ApplyAgentVersionResponses = {
|
|
|
27439
27628
|
* How hard Claude works on each turn. Sets `output_config.effort` on every
|
|
27440
27629
|
* Messages call the session makes.
|
|
27441
27630
|
*/
|
|
27442
|
-
effort?:
|
|
27443
|
-
/**
|
|
27444
|
-
* Always `low`. Lowest reasoning effort of the supported levels.
|
|
27445
|
-
*/
|
|
27446
|
-
type: 'low';
|
|
27447
|
-
} | {
|
|
27448
|
-
/**
|
|
27449
|
-
* Always `medium`. Middle reasoning effort.
|
|
27450
|
-
*/
|
|
27451
|
-
type: 'medium';
|
|
27452
|
-
} | {
|
|
27453
|
-
/**
|
|
27454
|
-
* Always `high`. High reasoning effort.
|
|
27455
|
-
*/
|
|
27456
|
-
type: 'high';
|
|
27457
|
-
} | {
|
|
27458
|
-
/**
|
|
27459
|
-
* Always `xhigh`. Extra-high reasoning effort, above high; only models that list it in thinking.efforts accept it.
|
|
27460
|
-
*/
|
|
27461
|
-
type: 'xhigh';
|
|
27462
|
-
} | {
|
|
27463
|
-
/**
|
|
27464
|
-
* Always `max`. Maximum effort level of the Managed Agents shape, above xhigh.
|
|
27465
|
-
*/
|
|
27466
|
-
type: 'max';
|
|
27467
|
-
};
|
|
27631
|
+
effort?: AgentManaged2 | AgentManaged3 | AgentManaged4 | AgentManaged5 | AgentManaged6;
|
|
27468
27632
|
/**
|
|
27469
27633
|
* Geographic region for model inference. When unset, requests fall through to the
|
|
27470
27634
|
* workspace's default_inference_geo.
|
|
@@ -27487,41 +27651,9 @@ export type ApplyAgentVersionResponses = {
|
|
|
27487
27651
|
};
|
|
27488
27652
|
};
|
|
27489
27653
|
/**
|
|
27490
|
-
*
|
|
27654
|
+
* Coordinator roster. A bare string agent id is equivalent to {type: "agent", id}; omitting its version pins the referenced agent's current saved version when this roster is saved. {type: "self"} refers to this agent. Specify a concrete version to pin it explicitly.
|
|
27491
27655
|
*/
|
|
27492
|
-
multiagent: null |
|
|
27493
|
-
/**
|
|
27494
|
-
* Agents the coordinator may spawn as session threads, each resolved to a specific
|
|
27495
|
-
* version.
|
|
27496
|
-
*/
|
|
27497
|
-
agents: Array<{
|
|
27498
|
-
/**
|
|
27499
|
-
* Agent id (agent_...). Pass it as agent when creating a session and as agent_id in agent calls.
|
|
27500
|
-
*/
|
|
27501
|
-
id: string;
|
|
27502
|
-
/**
|
|
27503
|
-
* Always `agent`. A roster member that refers to an agent by id and pinned version.
|
|
27504
|
-
*/
|
|
27505
|
-
type: 'agent';
|
|
27506
|
-
/**
|
|
27507
|
-
* The latest saved version of the agent, the editable head; it differs from active_version after a save with apply false. Starts at 1 and increments each time the agent is modified.
|
|
27508
|
-
*/
|
|
27509
|
-
version: number;
|
|
27510
|
-
} | {
|
|
27511
|
-
/**
|
|
27512
|
-
* The advisor model id.
|
|
27513
|
-
*/
|
|
27514
|
-
model: string;
|
|
27515
|
-
/**
|
|
27516
|
-
* Always `advisor`. An advisor whose model is consulted for advice in a separate thread (at most one per coordinator).
|
|
27517
|
-
*/
|
|
27518
|
-
type: 'advisor';
|
|
27519
|
-
}>;
|
|
27520
|
-
/**
|
|
27521
|
-
* Always `coordinator`. The agent coordinates the roster in agents and can delegate to its members.
|
|
27522
|
-
*/
|
|
27523
|
-
type: 'coordinator';
|
|
27524
|
-
};
|
|
27656
|
+
multiagent: null | AgentManaged39;
|
|
27525
27657
|
/**
|
|
27526
27658
|
* Display name of the agent, as set on create or update. It is a label, not a unique key.
|
|
27527
27659
|
*/
|
|
@@ -27529,33 +27661,7 @@ export type ApplyAgentVersionResponses = {
|
|
|
27529
27661
|
/**
|
|
27530
27662
|
* Custom skills attached to the agent, each {type: "custom", skill_id, version?}: skill_id comes from skills.create or skills.list, at most 20 skills, no repeated skill_id. Omit version, or send "latest", to use the skill's newest version at the moment a session starts; a pinned version stays fixed. type anthropic returns 400: upload the skill and attach it as custom. On update, omit the field to keep the list, send an array to replace it, or send [] or null to clear it.
|
|
27531
27663
|
*/
|
|
27532
|
-
skills: Array<
|
|
27533
|
-
/**
|
|
27534
|
-
* Id of the skill to attach.
|
|
27535
|
-
*/
|
|
27536
|
-
skill_id: string;
|
|
27537
|
-
/**
|
|
27538
|
-
* Always `anthropic`. A skill provided by Anthropic, identified by skill_id.
|
|
27539
|
-
*/
|
|
27540
|
-
type: 'anthropic';
|
|
27541
|
-
/**
|
|
27542
|
-
* Version of the skill: omit or `latest` to follow the newest version at each new session; give a version id to pin it.
|
|
27543
|
-
*/
|
|
27544
|
-
version: string;
|
|
27545
|
-
} | {
|
|
27546
|
-
/**
|
|
27547
|
-
* Id of the skill to attach.
|
|
27548
|
-
*/
|
|
27549
|
-
skill_id: string;
|
|
27550
|
-
/**
|
|
27551
|
-
* Always `custom`. A skill created by you, identified by skill_id.
|
|
27552
|
-
*/
|
|
27553
|
-
type: 'custom';
|
|
27554
|
-
/**
|
|
27555
|
-
* Version of the skill: omit or `latest` to follow the newest version at each new session; give a version id to pin it.
|
|
27556
|
-
*/
|
|
27557
|
-
version: string;
|
|
27558
|
-
}>;
|
|
27664
|
+
skills: Array<AgentManaged42 | AgentManaged43>;
|
|
27559
27665
|
/**
|
|
27560
27666
|
* System prompt given to the model at the start of every session of this agent; null when none was set.
|
|
27561
27667
|
*/
|
|
@@ -27563,445 +27669,7 @@ export type ApplyAgentVersionResponses = {
|
|
|
27563
27669
|
/**
|
|
27564
27670
|
* Tools of the agent: one agent_toolset_20260401 entry for the native tools (all resolved settings are returned, ready to send back on update), plus mcp_toolset entries and custom tool definitions. Custom calls emit agent.custom_tool_use and wait for user.custom_tool_result. Keep bash enabled to use codemode, skill and subagents.
|
|
27565
27671
|
*/
|
|
27566
|
-
tools: Array<
|
|
27567
|
-
/**
|
|
27568
|
-
* Per-tool settings that override default_config. Tools that are not listed follow default_config.
|
|
27569
|
-
*/
|
|
27570
|
-
configs: Array<{
|
|
27571
|
-
/**
|
|
27572
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
27573
|
-
*/
|
|
27574
|
-
enabled: boolean;
|
|
27575
|
-
/**
|
|
27576
|
-
* Name of the native tool this entry configures.
|
|
27577
|
-
*/
|
|
27578
|
-
name: 'bash';
|
|
27579
|
-
/**
|
|
27580
|
-
* Permission policy for tool execution.
|
|
27581
|
-
*/
|
|
27582
|
-
permission_policy: {
|
|
27583
|
-
/**
|
|
27584
|
-
* Always `always_allow`. Calls run without asking.
|
|
27585
|
-
*/
|
|
27586
|
-
type: 'always_allow';
|
|
27587
|
-
} | {
|
|
27588
|
-
/**
|
|
27589
|
-
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
27590
|
-
*/
|
|
27591
|
-
type: 'always_ask';
|
|
27592
|
-
} | {
|
|
27593
|
-
/**
|
|
27594
|
-
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
27595
|
-
*/
|
|
27596
|
-
type: 'auto';
|
|
27597
|
-
};
|
|
27598
|
-
/**
|
|
27599
|
-
* Always `bash`. Selects the bash tool, which runs shell commands in the session's machine.
|
|
27600
|
-
*/
|
|
27601
|
-
type: 'bash';
|
|
27602
|
-
} | {
|
|
27603
|
-
/**
|
|
27604
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
27605
|
-
*/
|
|
27606
|
-
enabled: boolean;
|
|
27607
|
-
/**
|
|
27608
|
-
* Name of the native tool this entry configures.
|
|
27609
|
-
*/
|
|
27610
|
-
name: 'edit';
|
|
27611
|
-
/**
|
|
27612
|
-
* Permission policy for tool execution.
|
|
27613
|
-
*/
|
|
27614
|
-
permission_policy: {
|
|
27615
|
-
/**
|
|
27616
|
-
* Always `always_allow`. Calls run without asking.
|
|
27617
|
-
*/
|
|
27618
|
-
type: 'always_allow';
|
|
27619
|
-
} | {
|
|
27620
|
-
/**
|
|
27621
|
-
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
27622
|
-
*/
|
|
27623
|
-
type: 'always_ask';
|
|
27624
|
-
} | {
|
|
27625
|
-
/**
|
|
27626
|
-
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
27627
|
-
*/
|
|
27628
|
-
type: 'auto';
|
|
27629
|
-
};
|
|
27630
|
-
/**
|
|
27631
|
-
* Always `edit`. Selects the edit tool, which changes an existing file.
|
|
27632
|
-
*/
|
|
27633
|
-
type: 'edit';
|
|
27634
|
-
} | {
|
|
27635
|
-
/**
|
|
27636
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
27637
|
-
*/
|
|
27638
|
-
enabled: boolean;
|
|
27639
|
-
/**
|
|
27640
|
-
* Name of the native tool this entry configures.
|
|
27641
|
-
*/
|
|
27642
|
-
name: 'read';
|
|
27643
|
-
/**
|
|
27644
|
-
* Permission policy for tool execution.
|
|
27645
|
-
*/
|
|
27646
|
-
permission_policy: {
|
|
27647
|
-
/**
|
|
27648
|
-
* Always `always_allow`. Calls run without asking.
|
|
27649
|
-
*/
|
|
27650
|
-
type: 'always_allow';
|
|
27651
|
-
} | {
|
|
27652
|
-
/**
|
|
27653
|
-
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
27654
|
-
*/
|
|
27655
|
-
type: 'always_ask';
|
|
27656
|
-
} | {
|
|
27657
|
-
/**
|
|
27658
|
-
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
27659
|
-
*/
|
|
27660
|
-
type: 'auto';
|
|
27661
|
-
};
|
|
27662
|
-
/**
|
|
27663
|
-
* Always `read`. Selects the read tool, which reads a file.
|
|
27664
|
-
*/
|
|
27665
|
-
type: 'read';
|
|
27666
|
-
} | {
|
|
27667
|
-
/**
|
|
27668
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
27669
|
-
*/
|
|
27670
|
-
enabled: boolean;
|
|
27671
|
-
/**
|
|
27672
|
-
* Name of the native tool this entry configures.
|
|
27673
|
-
*/
|
|
27674
|
-
name: 'write';
|
|
27675
|
-
/**
|
|
27676
|
-
* Permission policy for tool execution.
|
|
27677
|
-
*/
|
|
27678
|
-
permission_policy: {
|
|
27679
|
-
/**
|
|
27680
|
-
* Always `always_allow`. Calls run without asking.
|
|
27681
|
-
*/
|
|
27682
|
-
type: 'always_allow';
|
|
27683
|
-
} | {
|
|
27684
|
-
/**
|
|
27685
|
-
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
27686
|
-
*/
|
|
27687
|
-
type: 'always_ask';
|
|
27688
|
-
} | {
|
|
27689
|
-
/**
|
|
27690
|
-
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
27691
|
-
*/
|
|
27692
|
-
type: 'auto';
|
|
27693
|
-
};
|
|
27694
|
-
/**
|
|
27695
|
-
* Always `write`. Selects the write tool, which writes a file.
|
|
27696
|
-
*/
|
|
27697
|
-
type: 'write';
|
|
27698
|
-
} | {
|
|
27699
|
-
/**
|
|
27700
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
27701
|
-
*/
|
|
27702
|
-
enabled: boolean;
|
|
27703
|
-
/**
|
|
27704
|
-
* Name of the native tool this entry configures.
|
|
27705
|
-
*/
|
|
27706
|
-
name: 'glob';
|
|
27707
|
-
/**
|
|
27708
|
-
* Permission policy for tool execution.
|
|
27709
|
-
*/
|
|
27710
|
-
permission_policy: {
|
|
27711
|
-
/**
|
|
27712
|
-
* Always `always_allow`. Calls run without asking.
|
|
27713
|
-
*/
|
|
27714
|
-
type: 'always_allow';
|
|
27715
|
-
} | {
|
|
27716
|
-
/**
|
|
27717
|
-
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
27718
|
-
*/
|
|
27719
|
-
type: 'always_ask';
|
|
27720
|
-
} | {
|
|
27721
|
-
/**
|
|
27722
|
-
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
27723
|
-
*/
|
|
27724
|
-
type: 'auto';
|
|
27725
|
-
};
|
|
27726
|
-
/**
|
|
27727
|
-
* Always `glob`. Selects the glob tool, which finds files by name pattern.
|
|
27728
|
-
*/
|
|
27729
|
-
type: 'glob';
|
|
27730
|
-
} | {
|
|
27731
|
-
/**
|
|
27732
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
27733
|
-
*/
|
|
27734
|
-
enabled: boolean;
|
|
27735
|
-
/**
|
|
27736
|
-
* Name of the native tool this entry configures.
|
|
27737
|
-
*/
|
|
27738
|
-
name: 'grep';
|
|
27739
|
-
/**
|
|
27740
|
-
* Permission policy for tool execution.
|
|
27741
|
-
*/
|
|
27742
|
-
permission_policy: {
|
|
27743
|
-
/**
|
|
27744
|
-
* Always `always_allow`. Calls run without asking.
|
|
27745
|
-
*/
|
|
27746
|
-
type: 'always_allow';
|
|
27747
|
-
} | {
|
|
27748
|
-
/**
|
|
27749
|
-
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
27750
|
-
*/
|
|
27751
|
-
type: 'always_ask';
|
|
27752
|
-
} | {
|
|
27753
|
-
/**
|
|
27754
|
-
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
27755
|
-
*/
|
|
27756
|
-
type: 'auto';
|
|
27757
|
-
};
|
|
27758
|
-
/**
|
|
27759
|
-
* Always `grep`. Selects the grep tool, which searches file contents.
|
|
27760
|
-
*/
|
|
27761
|
-
type: 'grep';
|
|
27762
|
-
} | {
|
|
27763
|
-
/**
|
|
27764
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
27765
|
-
*/
|
|
27766
|
-
enabled: boolean;
|
|
27767
|
-
/**
|
|
27768
|
-
* Name of the native tool this entry configures.
|
|
27769
|
-
*/
|
|
27770
|
-
name: 'web_fetch';
|
|
27771
|
-
/**
|
|
27772
|
-
* Permission policy for tool execution.
|
|
27773
|
-
*/
|
|
27774
|
-
permission_policy: {
|
|
27775
|
-
/**
|
|
27776
|
-
* Always `always_allow`. Calls run without asking.
|
|
27777
|
-
*/
|
|
27778
|
-
type: 'always_allow';
|
|
27779
|
-
} | {
|
|
27780
|
-
/**
|
|
27781
|
-
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
27782
|
-
*/
|
|
27783
|
-
type: 'always_ask';
|
|
27784
|
-
} | {
|
|
27785
|
-
/**
|
|
27786
|
-
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
27787
|
-
*/
|
|
27788
|
-
type: 'auto';
|
|
27789
|
-
};
|
|
27790
|
-
/**
|
|
27791
|
-
* Always `web_fetch`. Selects the web_fetch tool, which fetches a web page.
|
|
27792
|
-
*/
|
|
27793
|
-
type: 'web_fetch';
|
|
27794
|
-
/**
|
|
27795
|
-
* Hosts the tool may fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with blocked_domains.
|
|
27796
|
-
*/
|
|
27797
|
-
allowed_domains?: Array<string>;
|
|
27798
|
-
/**
|
|
27799
|
-
* Hosts the tool must never fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with allowed_domains.
|
|
27800
|
-
*/
|
|
27801
|
-
blocked_domains?: Array<string>;
|
|
27802
|
-
/**
|
|
27803
|
-
* Maximum number of tokens of fetched text content included in context per call; does not apply to binary content such as PDFs. Null for no explicit limit.
|
|
27804
|
-
*/
|
|
27805
|
-
max_content_tokens?: null | number;
|
|
27806
|
-
} | {
|
|
27807
|
-
/**
|
|
27808
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
27809
|
-
*/
|
|
27810
|
-
enabled: boolean;
|
|
27811
|
-
/**
|
|
27812
|
-
* Name of the native tool this entry configures.
|
|
27813
|
-
*/
|
|
27814
|
-
name: 'web_search';
|
|
27815
|
-
/**
|
|
27816
|
-
* Permission policy for tool execution.
|
|
27817
|
-
*/
|
|
27818
|
-
permission_policy: {
|
|
27819
|
-
/**
|
|
27820
|
-
* Always `always_allow`. Calls run without asking.
|
|
27821
|
-
*/
|
|
27822
|
-
type: 'always_allow';
|
|
27823
|
-
} | {
|
|
27824
|
-
/**
|
|
27825
|
-
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
27826
|
-
*/
|
|
27827
|
-
type: 'always_ask';
|
|
27828
|
-
} | {
|
|
27829
|
-
/**
|
|
27830
|
-
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
27831
|
-
*/
|
|
27832
|
-
type: 'auto';
|
|
27833
|
-
};
|
|
27834
|
-
/**
|
|
27835
|
-
* Always `web_search`. Selects the web_search tool, which searches the web.
|
|
27836
|
-
*/
|
|
27837
|
-
type: 'web_search';
|
|
27838
|
-
/**
|
|
27839
|
-
* Hosts the tool may fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with blocked_domains.
|
|
27840
|
-
*/
|
|
27841
|
-
allowed_domains?: Array<string>;
|
|
27842
|
-
/**
|
|
27843
|
-
* Hosts the tool must never fetch or search, as plain hostnames (no scheme, port or path); a listed domain also covers its subdomains. At most 64 entries, and it cannot be combined with allowed_domains.
|
|
27844
|
-
*/
|
|
27845
|
-
blocked_domains?: Array<string>;
|
|
27846
|
-
/**
|
|
27847
|
-
* Approximate user location for search result localization.
|
|
27848
|
-
*/
|
|
27849
|
-
user_location?: null | {
|
|
27850
|
-
/**
|
|
27851
|
-
* Location precision. Only "approximate" is supported.
|
|
27852
|
-
*/
|
|
27853
|
-
type: 'approximate';
|
|
27854
|
-
/**
|
|
27855
|
-
* City name.
|
|
27856
|
-
*/
|
|
27857
|
-
city?: null | string;
|
|
27858
|
-
/**
|
|
27859
|
-
* Two-letter ISO 3166-1 country code, uppercase.
|
|
27860
|
-
*/
|
|
27861
|
-
country?: null | string;
|
|
27862
|
-
/**
|
|
27863
|
-
* Region or state name.
|
|
27864
|
-
*/
|
|
27865
|
-
region?: null | string;
|
|
27866
|
-
/**
|
|
27867
|
-
* IANA timezone identifier, e.g. "America/Los_Angeles".
|
|
27868
|
-
*/
|
|
27869
|
-
timezone?: null | string;
|
|
27870
|
-
};
|
|
27871
|
-
} | {
|
|
27872
|
-
/**
|
|
27873
|
-
* Name of the native tool this entry configures.
|
|
27874
|
-
*/
|
|
27875
|
-
name: 'task_output' | 'task_stop' | 'monitor' | 'agent' | 'send_message' | 'codemode' | 'skill';
|
|
27876
|
-
/**
|
|
27877
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
27878
|
-
*/
|
|
27879
|
-
enabled: boolean;
|
|
27880
|
-
/**
|
|
27881
|
-
* Whether a call to this tool runs automatically (always_allow) or waits for user.tool_confirmation (always_ask). Omitted means the toolset default.
|
|
27882
|
-
*/
|
|
27883
|
-
permission_policy: {
|
|
27884
|
-
/**
|
|
27885
|
-
* Permission policy kind.
|
|
27886
|
-
*/
|
|
27887
|
-
type: 'always_allow' | 'always_ask';
|
|
27888
|
-
};
|
|
27889
|
-
}>;
|
|
27890
|
-
/**
|
|
27891
|
-
* Resolved default configuration for agent tools.
|
|
27892
|
-
*/
|
|
27893
|
-
default_config: {
|
|
27894
|
-
/**
|
|
27895
|
-
* Whether tools of the toolset are offered to the model when configs does not name them. Null or omitted means enabled.
|
|
27896
|
-
*/
|
|
27897
|
-
enabled: boolean;
|
|
27898
|
-
/**
|
|
27899
|
-
* Permission policy for tool execution.
|
|
27900
|
-
*/
|
|
27901
|
-
permission_policy: {
|
|
27902
|
-
/**
|
|
27903
|
-
* Always `always_allow`. Calls run without asking.
|
|
27904
|
-
*/
|
|
27905
|
-
type: 'always_allow';
|
|
27906
|
-
} | {
|
|
27907
|
-
/**
|
|
27908
|
-
* Always `always_ask`. Calls wait for user.tool_confirmation before running.
|
|
27909
|
-
*/
|
|
27910
|
-
type: 'always_ask';
|
|
27911
|
-
} | {
|
|
27912
|
-
/**
|
|
27913
|
-
* Always `auto`. Reserved: a server-side judgement per call. Not yet supported; sending it returns 400.
|
|
27914
|
-
*/
|
|
27915
|
-
type: 'auto';
|
|
27916
|
-
};
|
|
27917
|
-
};
|
|
27918
|
-
/**
|
|
27919
|
-
* Always `agent_toolset_20260401`. The native toolset entry (bash, edit, glob, grep, read, write, web_search, web_fetch, task_output, task_stop, monitor, agent, send_message).
|
|
27920
|
-
*/
|
|
27921
|
-
type: 'agent_toolset_20260401';
|
|
27922
|
-
} | {
|
|
27923
|
-
/**
|
|
27924
|
-
* Always `mcp_toolset`. An entry that exposes the tools of one MCP server from mcp_servers.
|
|
27925
|
-
*/
|
|
27926
|
-
type: 'mcp_toolset';
|
|
27927
|
-
/**
|
|
27928
|
-
* Name of the MCP server in mcp_servers whose tools this entry exposes.
|
|
27929
|
-
*/
|
|
27930
|
-
mcp_server_name: string;
|
|
27931
|
-
/**
|
|
27932
|
-
* Settings applied to every tool of this toolset that configs does not name. When omitted, tools are enabled with the always_allow policy.
|
|
27933
|
-
*/
|
|
27934
|
-
default_config?: {
|
|
27935
|
-
/**
|
|
27936
|
-
* Whether tools of the toolset are offered to the model when configs does not name them. Null or omitted means enabled.
|
|
27937
|
-
*/
|
|
27938
|
-
enabled?: boolean | null;
|
|
27939
|
-
/**
|
|
27940
|
-
* Permission policy for tools that configs does not name: always_allow runs calls automatically, always_ask waits for user.tool_confirmation.
|
|
27941
|
-
*/
|
|
27942
|
-
permission_policy?: null | {
|
|
27943
|
-
/**
|
|
27944
|
-
* Permission policy kind.
|
|
27945
|
-
*/
|
|
27946
|
-
type: 'always_allow' | 'always_ask';
|
|
27947
|
-
};
|
|
27948
|
-
} | null;
|
|
27949
|
-
/**
|
|
27950
|
-
* Per-tool settings that override default_config. Tools that are not listed follow default_config.
|
|
27951
|
-
*/
|
|
27952
|
-
configs?: Array<{
|
|
27953
|
-
/**
|
|
27954
|
-
* Bare tool name reported by the MCP server.
|
|
27955
|
-
*/
|
|
27956
|
-
name: string;
|
|
27957
|
-
/**
|
|
27958
|
-
* Whether the tool is offered to the model. Null or omitted means the toolset default applies (enabled unless default_config says otherwise).
|
|
27959
|
-
*/
|
|
27960
|
-
enabled?: boolean | null;
|
|
27961
|
-
/**
|
|
27962
|
-
* Whether a call to this tool runs automatically (always_allow) or waits for user.tool_confirmation (always_ask). Omitted means the toolset default.
|
|
27963
|
-
*/
|
|
27964
|
-
permission_policy?: null | {
|
|
27965
|
-
/**
|
|
27966
|
-
* Permission policy kind.
|
|
27967
|
-
*/
|
|
27968
|
-
type: 'always_allow' | 'always_ask';
|
|
27969
|
-
};
|
|
27970
|
-
}> | null;
|
|
27971
|
-
} | {
|
|
27972
|
-
/**
|
|
27973
|
-
* What the custom tool does and when the model should call it.
|
|
27974
|
-
*/
|
|
27975
|
-
description: string;
|
|
27976
|
-
/**
|
|
27977
|
-
* JSON Schema for custom tool input parameters.
|
|
27978
|
-
*/
|
|
27979
|
-
input_schema: {
|
|
27980
|
-
/**
|
|
27981
|
-
* Always `object`. The input is a JSON object.
|
|
27982
|
-
*/
|
|
27983
|
-
type: 'object';
|
|
27984
|
-
/**
|
|
27985
|
-
* JSON Schema of each input property, keyed by property name.
|
|
27986
|
-
*/
|
|
27987
|
-
properties?: null | {
|
|
27988
|
-
[key: string]: unknown;
|
|
27989
|
-
};
|
|
27990
|
-
/**
|
|
27991
|
-
* Names of the input properties the model must supply.
|
|
27992
|
-
*/
|
|
27993
|
-
required?: null | Array<string>;
|
|
27994
|
-
[key: string]: unknown;
|
|
27995
|
-
};
|
|
27996
|
-
/**
|
|
27997
|
-
* Name of the custom tool, as the model sees and calls it.
|
|
27998
|
-
*/
|
|
27999
|
-
name: string;
|
|
28000
|
-
/**
|
|
28001
|
-
* Always `custom`. A custom tool defined by name, description and input_schema; its calls are answered by the client with user.custom_tool_result.
|
|
28002
|
-
*/
|
|
28003
|
-
type: 'custom';
|
|
28004
|
-
}>;
|
|
27672
|
+
tools: Array<AgentManaged44 | AgentManaged54 | AgentManaged57>;
|
|
28005
27673
|
/**
|
|
28006
27674
|
* Always `agent`. An agent definition.
|
|
28007
27675
|
*/
|
|
@@ -28011,12 +27679,15 @@ export type ApplyAgentVersionResponses = {
|
|
|
28011
27679
|
*/
|
|
28012
27680
|
updated_at: string;
|
|
28013
27681
|
/**
|
|
28014
|
-
*
|
|
28015
|
-
* modified.
|
|
27682
|
+
* Version of this returned configuration. Default retrieve returns the effective version; an explicit version query or a version-history item returns that saved version.
|
|
28016
27683
|
*/
|
|
28017
27684
|
version: number;
|
|
28018
27685
|
/**
|
|
28019
|
-
*
|
|
27686
|
+
* Newest saved version number, including an unapplied save. Returned by default retrieve, update and apply; use it for optimistic concurrency when updating.
|
|
27687
|
+
*/
|
|
27688
|
+
latest_version?: number;
|
|
27689
|
+
/**
|
|
27690
|
+
* Agent-level currently effective version used by new sessions and newly issued embed tokens. This same value appears on every history item; it is not that item's version. Saving with apply false leaves it unchanged. Existing sessions and tokens retain their version.
|
|
28020
27691
|
*/
|
|
28021
27692
|
active_version: number;
|
|
28022
27693
|
/**
|
|
@@ -28672,7 +28343,7 @@ export type UnarchiveAgentResponses = {
|
|
|
28672
28343
|
};
|
|
28673
28344
|
};
|
|
28674
28345
|
/**
|
|
28675
|
-
*
|
|
28346
|
+
* Coordinator roster. A bare string agent id is equivalent to {type: "agent", id}; omitting its version pins the referenced agent's current saved version when this roster is saved. {type: "self"} refers to this agent. Specify a concrete version to pin it explicitly.
|
|
28676
28347
|
*/
|
|
28677
28348
|
multiagent: null | {
|
|
28678
28349
|
/**
|
|
@@ -29196,12 +28867,15 @@ export type UnarchiveAgentResponses = {
|
|
|
29196
28867
|
*/
|
|
29197
28868
|
updated_at: string;
|
|
29198
28869
|
/**
|
|
29199
|
-
*
|
|
29200
|
-
* modified.
|
|
28870
|
+
* Version of this returned configuration. Default retrieve returns the effective version; an explicit version query or a version-history item returns that saved version.
|
|
29201
28871
|
*/
|
|
29202
28872
|
version: number;
|
|
29203
28873
|
/**
|
|
29204
|
-
*
|
|
28874
|
+
* Newest saved version number, including an unapplied save. Returned by default retrieve, update and apply; use it for optimistic concurrency when updating.
|
|
28875
|
+
*/
|
|
28876
|
+
latest_version?: number;
|
|
28877
|
+
/**
|
|
28878
|
+
* Agent-level currently effective version used by new sessions and newly issued embed tokens. This same value appears on every history item; it is not that item's version. Saving with apply false leaves it unchanged. Existing sessions and tokens retain their version.
|
|
29205
28879
|
*/
|
|
29206
28880
|
active_version: number;
|
|
29207
28881
|
/**
|
|
@@ -36028,7 +35702,7 @@ export type ForkSessionResponses = {
|
|
|
36028
35702
|
*/
|
|
36029
35703
|
input_tokens?: number;
|
|
36030
35704
|
/**
|
|
36031
|
-
*
|
|
35705
|
+
* Session total list-price cost in USD as a decimal string with exactly 6 decimals. Includes models, runtime and all other charged products attributed to this session; child-thread model cost is already included. The budget reads the same total. In-flight work may finish after the limit is reached.
|
|
36032
35706
|
*/
|
|
36033
35707
|
list_cost?: null | {
|
|
36034
35708
|
/**
|
|
@@ -36062,18 +35736,15 @@ export type ForkSessionResponses = {
|
|
|
36062
35736
|
web_search_requests?: number;
|
|
36063
35737
|
};
|
|
36064
35738
|
/**
|
|
36065
|
-
*
|
|
35739
|
+
* USD list-price cost by product, as decimal strings with exactly 6 decimals. Values sum to list_cost.amount. router.llm is the larger of the live model meter and charged model facts; all other products use charged facts only.
|
|
36066
35740
|
*/
|
|
36067
|
-
|
|
36068
|
-
|
|
36069
|
-
* Runtime cost in US dollars, decimal string with exactly 6 decimals.
|
|
36070
|
-
*/
|
|
36071
|
-
amount: string;
|
|
36072
|
-
/**
|
|
36073
|
-
* Always USD.
|
|
36074
|
-
*/
|
|
36075
|
-
currency: 'USD';
|
|
35741
|
+
cost_by_product?: {
|
|
35742
|
+
[key: string]: string;
|
|
36076
35743
|
};
|
|
35744
|
+
/**
|
|
35745
|
+
* Child-thread model cost in integer micro-USD, already included in list_cost. This is a subset, not an additional charge; it excludes child-thread runtime.
|
|
35746
|
+
*/
|
|
35747
|
+
subagent_cost_micro_usd?: number;
|
|
36077
35748
|
};
|
|
36078
35749
|
/**
|
|
36079
35750
|
* Vault IDs attached to the session at creation. Empty when no vaults were
|
|
@@ -36789,7 +36460,7 @@ export type BrowserListSessionsData = {
|
|
|
36789
36460
|
};
|
|
36790
36461
|
export type BrowserListSessionsErrors = {
|
|
36791
36462
|
/**
|
|
36792
|
-
* INVALID_PARAMS
|
|
36463
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36793
36464
|
*/
|
|
36794
36465
|
400: BrowserError;
|
|
36795
36466
|
/**
|
|
@@ -36797,11 +36468,15 @@ export type BrowserListSessionsErrors = {
|
|
|
36797
36468
|
*/
|
|
36798
36469
|
401: BrowserError;
|
|
36799
36470
|
/**
|
|
36800
|
-
* INSUFFICIENT_BALANCE
|
|
36471
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36801
36472
|
*/
|
|
36802
36473
|
402: BrowserError;
|
|
36803
36474
|
/**
|
|
36804
|
-
*
|
|
36475
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36476
|
+
*/
|
|
36477
|
+
403: BrowserError;
|
|
36478
|
+
/**
|
|
36479
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36805
36480
|
*/
|
|
36806
36481
|
404: BrowserError;
|
|
36807
36482
|
/**
|
|
@@ -36813,13 +36488,21 @@ export type BrowserListSessionsErrors = {
|
|
|
36813
36488
|
*/
|
|
36814
36489
|
429: BrowserError;
|
|
36815
36490
|
/**
|
|
36816
|
-
*
|
|
36491
|
+
* INTERNAL
|
|
36492
|
+
*/
|
|
36493
|
+
500: BrowserError;
|
|
36494
|
+
/**
|
|
36495
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36817
36496
|
*/
|
|
36818
36497
|
501: BrowserError;
|
|
36819
36498
|
/**
|
|
36820
36499
|
* PROVIDER_FAILED
|
|
36821
36500
|
*/
|
|
36822
36501
|
502: BrowserError;
|
|
36502
|
+
/**
|
|
36503
|
+
* SERVICE_UNAVAILABLE
|
|
36504
|
+
*/
|
|
36505
|
+
503: BrowserError;
|
|
36823
36506
|
};
|
|
36824
36507
|
export type BrowserListSessionsError = BrowserListSessionsErrors[keyof BrowserListSessionsErrors];
|
|
36825
36508
|
export type BrowserListSessionsResponses = {
|
|
@@ -36846,7 +36529,7 @@ export type BrowserCreateSessionData = {
|
|
|
36846
36529
|
};
|
|
36847
36530
|
export type BrowserCreateSessionErrors = {
|
|
36848
36531
|
/**
|
|
36849
|
-
* INVALID_PARAMS
|
|
36532
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36850
36533
|
*/
|
|
36851
36534
|
400: BrowserError;
|
|
36852
36535
|
/**
|
|
@@ -36854,11 +36537,15 @@ export type BrowserCreateSessionErrors = {
|
|
|
36854
36537
|
*/
|
|
36855
36538
|
401: BrowserError;
|
|
36856
36539
|
/**
|
|
36857
|
-
* INSUFFICIENT_BALANCE
|
|
36540
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36858
36541
|
*/
|
|
36859
36542
|
402: BrowserError;
|
|
36860
36543
|
/**
|
|
36861
|
-
*
|
|
36544
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36545
|
+
*/
|
|
36546
|
+
403: BrowserError;
|
|
36547
|
+
/**
|
|
36548
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36862
36549
|
*/
|
|
36863
36550
|
404: BrowserError;
|
|
36864
36551
|
/**
|
|
@@ -36870,13 +36557,21 @@ export type BrowserCreateSessionErrors = {
|
|
|
36870
36557
|
*/
|
|
36871
36558
|
429: BrowserError;
|
|
36872
36559
|
/**
|
|
36873
|
-
*
|
|
36560
|
+
* INTERNAL
|
|
36561
|
+
*/
|
|
36562
|
+
500: BrowserError;
|
|
36563
|
+
/**
|
|
36564
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36874
36565
|
*/
|
|
36875
36566
|
501: BrowserError;
|
|
36876
36567
|
/**
|
|
36877
36568
|
* PROVIDER_FAILED
|
|
36878
36569
|
*/
|
|
36879
36570
|
502: BrowserError;
|
|
36571
|
+
/**
|
|
36572
|
+
* SERVICE_UNAVAILABLE
|
|
36573
|
+
*/
|
|
36574
|
+
503: BrowserError;
|
|
36880
36575
|
};
|
|
36881
36576
|
export type BrowserCreateSessionError = BrowserCreateSessionErrors[keyof BrowserCreateSessionErrors];
|
|
36882
36577
|
export type BrowserCreateSessionResponses = {
|
|
@@ -36904,7 +36599,7 @@ export type BrowserGetSessionData = {
|
|
|
36904
36599
|
};
|
|
36905
36600
|
export type BrowserGetSessionErrors = {
|
|
36906
36601
|
/**
|
|
36907
|
-
* INVALID_PARAMS
|
|
36602
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36908
36603
|
*/
|
|
36909
36604
|
400: BrowserError;
|
|
36910
36605
|
/**
|
|
@@ -36912,11 +36607,15 @@ export type BrowserGetSessionErrors = {
|
|
|
36912
36607
|
*/
|
|
36913
36608
|
401: BrowserError;
|
|
36914
36609
|
/**
|
|
36915
|
-
* INSUFFICIENT_BALANCE
|
|
36610
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36916
36611
|
*/
|
|
36917
36612
|
402: BrowserError;
|
|
36918
36613
|
/**
|
|
36919
|
-
*
|
|
36614
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36615
|
+
*/
|
|
36616
|
+
403: BrowserError;
|
|
36617
|
+
/**
|
|
36618
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36920
36619
|
*/
|
|
36921
36620
|
404: BrowserError;
|
|
36922
36621
|
/**
|
|
@@ -36928,13 +36627,21 @@ export type BrowserGetSessionErrors = {
|
|
|
36928
36627
|
*/
|
|
36929
36628
|
429: BrowserError;
|
|
36930
36629
|
/**
|
|
36931
|
-
*
|
|
36630
|
+
* INTERNAL
|
|
36631
|
+
*/
|
|
36632
|
+
500: BrowserError;
|
|
36633
|
+
/**
|
|
36634
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36932
36635
|
*/
|
|
36933
36636
|
501: BrowserError;
|
|
36934
36637
|
/**
|
|
36935
36638
|
* PROVIDER_FAILED
|
|
36936
36639
|
*/
|
|
36937
36640
|
502: BrowserError;
|
|
36641
|
+
/**
|
|
36642
|
+
* SERVICE_UNAVAILABLE
|
|
36643
|
+
*/
|
|
36644
|
+
503: BrowserError;
|
|
36938
36645
|
};
|
|
36939
36646
|
export type BrowserGetSessionError = BrowserGetSessionErrors[keyof BrowserGetSessionErrors];
|
|
36940
36647
|
export type BrowserGetSessionResponses = {
|
|
@@ -36962,7 +36669,7 @@ export type BrowserCloseSessionData = {
|
|
|
36962
36669
|
};
|
|
36963
36670
|
export type BrowserCloseSessionErrors = {
|
|
36964
36671
|
/**
|
|
36965
|
-
* INVALID_PARAMS
|
|
36672
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
36966
36673
|
*/
|
|
36967
36674
|
400: BrowserError;
|
|
36968
36675
|
/**
|
|
@@ -36970,11 +36677,15 @@ export type BrowserCloseSessionErrors = {
|
|
|
36970
36677
|
*/
|
|
36971
36678
|
401: BrowserError;
|
|
36972
36679
|
/**
|
|
36973
|
-
* INSUFFICIENT_BALANCE
|
|
36680
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
36974
36681
|
*/
|
|
36975
36682
|
402: BrowserError;
|
|
36976
36683
|
/**
|
|
36977
|
-
*
|
|
36684
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36685
|
+
*/
|
|
36686
|
+
403: BrowserError;
|
|
36687
|
+
/**
|
|
36688
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
36978
36689
|
*/
|
|
36979
36690
|
404: BrowserError;
|
|
36980
36691
|
/**
|
|
@@ -36986,13 +36697,21 @@ export type BrowserCloseSessionErrors = {
|
|
|
36986
36697
|
*/
|
|
36987
36698
|
429: BrowserError;
|
|
36988
36699
|
/**
|
|
36989
|
-
*
|
|
36700
|
+
* INTERNAL
|
|
36701
|
+
*/
|
|
36702
|
+
500: BrowserError;
|
|
36703
|
+
/**
|
|
36704
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
36990
36705
|
*/
|
|
36991
36706
|
501: BrowserError;
|
|
36992
36707
|
/**
|
|
36993
36708
|
* PROVIDER_FAILED
|
|
36994
36709
|
*/
|
|
36995
36710
|
502: BrowserError;
|
|
36711
|
+
/**
|
|
36712
|
+
* SERVICE_UNAVAILABLE
|
|
36713
|
+
*/
|
|
36714
|
+
503: BrowserError;
|
|
36996
36715
|
};
|
|
36997
36716
|
export type BrowserCloseSessionError = BrowserCloseSessionErrors[keyof BrowserCloseSessionErrors];
|
|
36998
36717
|
export type BrowserCloseSessionResponses = {
|
|
@@ -37015,7 +36734,7 @@ export type BrowserGetDebugData = {
|
|
|
37015
36734
|
};
|
|
37016
36735
|
export type BrowserGetDebugErrors = {
|
|
37017
36736
|
/**
|
|
37018
|
-
* INVALID_PARAMS
|
|
36737
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37019
36738
|
*/
|
|
37020
36739
|
400: BrowserError;
|
|
37021
36740
|
/**
|
|
@@ -37023,11 +36742,15 @@ export type BrowserGetDebugErrors = {
|
|
|
37023
36742
|
*/
|
|
37024
36743
|
401: BrowserError;
|
|
37025
36744
|
/**
|
|
37026
|
-
* INSUFFICIENT_BALANCE
|
|
36745
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37027
36746
|
*/
|
|
37028
36747
|
402: BrowserError;
|
|
37029
36748
|
/**
|
|
37030
|
-
*
|
|
36749
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36750
|
+
*/
|
|
36751
|
+
403: BrowserError;
|
|
36752
|
+
/**
|
|
36753
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37031
36754
|
*/
|
|
37032
36755
|
404: BrowserError;
|
|
37033
36756
|
/**
|
|
@@ -37039,13 +36762,21 @@ export type BrowserGetDebugErrors = {
|
|
|
37039
36762
|
*/
|
|
37040
36763
|
429: BrowserError;
|
|
37041
36764
|
/**
|
|
37042
|
-
*
|
|
36765
|
+
* INTERNAL
|
|
36766
|
+
*/
|
|
36767
|
+
500: BrowserError;
|
|
36768
|
+
/**
|
|
36769
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37043
36770
|
*/
|
|
37044
36771
|
501: BrowserError;
|
|
37045
36772
|
/**
|
|
37046
36773
|
* PROVIDER_FAILED
|
|
37047
36774
|
*/
|
|
37048
36775
|
502: BrowserError;
|
|
36776
|
+
/**
|
|
36777
|
+
* SERVICE_UNAVAILABLE
|
|
36778
|
+
*/
|
|
36779
|
+
503: BrowserError;
|
|
37049
36780
|
};
|
|
37050
36781
|
export type BrowserGetDebugError = BrowserGetDebugErrors[keyof BrowserGetDebugErrors];
|
|
37051
36782
|
export type BrowserGetDebugResponses = {
|
|
@@ -37081,7 +36812,7 @@ export type BrowserListEventsData = {
|
|
|
37081
36812
|
};
|
|
37082
36813
|
export type BrowserListEventsErrors = {
|
|
37083
36814
|
/**
|
|
37084
|
-
* INVALID_PARAMS
|
|
36815
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37085
36816
|
*/
|
|
37086
36817
|
400: BrowserError;
|
|
37087
36818
|
/**
|
|
@@ -37089,11 +36820,15 @@ export type BrowserListEventsErrors = {
|
|
|
37089
36820
|
*/
|
|
37090
36821
|
401: BrowserError;
|
|
37091
36822
|
/**
|
|
37092
|
-
* INSUFFICIENT_BALANCE
|
|
36823
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37093
36824
|
*/
|
|
37094
36825
|
402: BrowserError;
|
|
37095
36826
|
/**
|
|
37096
|
-
*
|
|
36827
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36828
|
+
*/
|
|
36829
|
+
403: BrowserError;
|
|
36830
|
+
/**
|
|
36831
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37097
36832
|
*/
|
|
37098
36833
|
404: BrowserError;
|
|
37099
36834
|
/**
|
|
@@ -37105,13 +36840,21 @@ export type BrowserListEventsErrors = {
|
|
|
37105
36840
|
*/
|
|
37106
36841
|
429: BrowserError;
|
|
37107
36842
|
/**
|
|
37108
|
-
*
|
|
36843
|
+
* INTERNAL
|
|
36844
|
+
*/
|
|
36845
|
+
500: BrowserError;
|
|
36846
|
+
/**
|
|
36847
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37109
36848
|
*/
|
|
37110
36849
|
501: BrowserError;
|
|
37111
36850
|
/**
|
|
37112
36851
|
* PROVIDER_FAILED
|
|
37113
36852
|
*/
|
|
37114
36853
|
502: BrowserError;
|
|
36854
|
+
/**
|
|
36855
|
+
* SERVICE_UNAVAILABLE
|
|
36856
|
+
*/
|
|
36857
|
+
503: BrowserError;
|
|
37115
36858
|
};
|
|
37116
36859
|
export type BrowserListEventsError = BrowserListEventsErrors[keyof BrowserListEventsErrors];
|
|
37117
36860
|
export type BrowserListEventsResponses = {
|
|
@@ -37152,7 +36895,7 @@ export type BrowserRequestHandoffData = {
|
|
|
37152
36895
|
};
|
|
37153
36896
|
export type BrowserRequestHandoffErrors = {
|
|
37154
36897
|
/**
|
|
37155
|
-
* INVALID_PARAMS
|
|
36898
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37156
36899
|
*/
|
|
37157
36900
|
400: BrowserError;
|
|
37158
36901
|
/**
|
|
@@ -37160,11 +36903,15 @@ export type BrowserRequestHandoffErrors = {
|
|
|
37160
36903
|
*/
|
|
37161
36904
|
401: BrowserError;
|
|
37162
36905
|
/**
|
|
37163
|
-
* INSUFFICIENT_BALANCE
|
|
36906
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37164
36907
|
*/
|
|
37165
36908
|
402: BrowserError;
|
|
37166
36909
|
/**
|
|
37167
|
-
*
|
|
36910
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36911
|
+
*/
|
|
36912
|
+
403: BrowserError;
|
|
36913
|
+
/**
|
|
36914
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37168
36915
|
*/
|
|
37169
36916
|
404: BrowserError;
|
|
37170
36917
|
/**
|
|
@@ -37176,20 +36923,28 @@ export type BrowserRequestHandoffErrors = {
|
|
|
37176
36923
|
*/
|
|
37177
36924
|
429: BrowserError;
|
|
37178
36925
|
/**
|
|
37179
|
-
*
|
|
36926
|
+
* INTERNAL
|
|
36927
|
+
*/
|
|
36928
|
+
500: BrowserError;
|
|
36929
|
+
/**
|
|
36930
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37180
36931
|
*/
|
|
37181
36932
|
501: BrowserError;
|
|
37182
36933
|
/**
|
|
37183
36934
|
* PROVIDER_FAILED
|
|
37184
36935
|
*/
|
|
37185
36936
|
502: BrowserError;
|
|
36937
|
+
/**
|
|
36938
|
+
* SERVICE_UNAVAILABLE
|
|
36939
|
+
*/
|
|
36940
|
+
503: BrowserError;
|
|
37186
36941
|
};
|
|
37187
36942
|
export type BrowserRequestHandoffError = BrowserRequestHandoffErrors[keyof BrowserRequestHandoffErrors];
|
|
37188
36943
|
export type BrowserRequestHandoffResponses = {
|
|
37189
36944
|
/**
|
|
37190
36945
|
* 请求成功。
|
|
37191
36946
|
*/
|
|
37192
|
-
|
|
36947
|
+
201: BrowserEventRecord;
|
|
37193
36948
|
};
|
|
37194
36949
|
export type BrowserRequestHandoffResponse = BrowserRequestHandoffResponses[keyof BrowserRequestHandoffResponses];
|
|
37195
36950
|
export type BrowserCompleteHandoffData = {
|
|
@@ -37205,7 +36960,7 @@ export type BrowserCompleteHandoffData = {
|
|
|
37205
36960
|
};
|
|
37206
36961
|
export type BrowserCompleteHandoffErrors = {
|
|
37207
36962
|
/**
|
|
37208
|
-
* INVALID_PARAMS
|
|
36963
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37209
36964
|
*/
|
|
37210
36965
|
400: BrowserError;
|
|
37211
36966
|
/**
|
|
@@ -37213,11 +36968,15 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
37213
36968
|
*/
|
|
37214
36969
|
401: BrowserError;
|
|
37215
36970
|
/**
|
|
37216
|
-
* INSUFFICIENT_BALANCE
|
|
36971
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37217
36972
|
*/
|
|
37218
36973
|
402: BrowserError;
|
|
37219
36974
|
/**
|
|
37220
|
-
*
|
|
36975
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
36976
|
+
*/
|
|
36977
|
+
403: BrowserError;
|
|
36978
|
+
/**
|
|
36979
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37221
36980
|
*/
|
|
37222
36981
|
404: BrowserError;
|
|
37223
36982
|
/**
|
|
@@ -37229,13 +36988,21 @@ export type BrowserCompleteHandoffErrors = {
|
|
|
37229
36988
|
*/
|
|
37230
36989
|
429: BrowserError;
|
|
37231
36990
|
/**
|
|
37232
|
-
*
|
|
36991
|
+
* INTERNAL
|
|
36992
|
+
*/
|
|
36993
|
+
500: BrowserError;
|
|
36994
|
+
/**
|
|
36995
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37233
36996
|
*/
|
|
37234
36997
|
501: BrowserError;
|
|
37235
36998
|
/**
|
|
37236
36999
|
* PROVIDER_FAILED
|
|
37237
37000
|
*/
|
|
37238
37001
|
502: BrowserError;
|
|
37002
|
+
/**
|
|
37003
|
+
* SERVICE_UNAVAILABLE
|
|
37004
|
+
*/
|
|
37005
|
+
503: BrowserError;
|
|
37239
37006
|
};
|
|
37240
37007
|
export type BrowserCompleteHandoffError = BrowserCompleteHandoffErrors[keyof BrowserCompleteHandoffErrors];
|
|
37241
37008
|
export type BrowserCompleteHandoffResponses = {
|
|
@@ -37263,7 +37030,7 @@ export type BrowserViewerHeartbeatData = {
|
|
|
37263
37030
|
};
|
|
37264
37031
|
export type BrowserViewerHeartbeatErrors = {
|
|
37265
37032
|
/**
|
|
37266
|
-
* INVALID_PARAMS
|
|
37033
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37267
37034
|
*/
|
|
37268
37035
|
400: BrowserError;
|
|
37269
37036
|
/**
|
|
@@ -37271,11 +37038,15 @@ export type BrowserViewerHeartbeatErrors = {
|
|
|
37271
37038
|
*/
|
|
37272
37039
|
401: BrowserError;
|
|
37273
37040
|
/**
|
|
37274
|
-
* INSUFFICIENT_BALANCE
|
|
37041
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37275
37042
|
*/
|
|
37276
37043
|
402: BrowserError;
|
|
37277
37044
|
/**
|
|
37278
|
-
*
|
|
37045
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37046
|
+
*/
|
|
37047
|
+
403: BrowserError;
|
|
37048
|
+
/**
|
|
37049
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37279
37050
|
*/
|
|
37280
37051
|
404: BrowserError;
|
|
37281
37052
|
/**
|
|
@@ -37287,13 +37058,21 @@ export type BrowserViewerHeartbeatErrors = {
|
|
|
37287
37058
|
*/
|
|
37288
37059
|
429: BrowserError;
|
|
37289
37060
|
/**
|
|
37290
|
-
*
|
|
37061
|
+
* INTERNAL
|
|
37062
|
+
*/
|
|
37063
|
+
500: BrowserError;
|
|
37064
|
+
/**
|
|
37065
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37291
37066
|
*/
|
|
37292
37067
|
501: BrowserError;
|
|
37293
37068
|
/**
|
|
37294
37069
|
* PROVIDER_FAILED
|
|
37295
37070
|
*/
|
|
37296
37071
|
502: BrowserError;
|
|
37072
|
+
/**
|
|
37073
|
+
* SERVICE_UNAVAILABLE
|
|
37074
|
+
*/
|
|
37075
|
+
503: BrowserError;
|
|
37297
37076
|
};
|
|
37298
37077
|
export type BrowserViewerHeartbeatError = BrowserViewerHeartbeatErrors[keyof BrowserViewerHeartbeatErrors];
|
|
37299
37078
|
export type BrowserViewerHeartbeatResponses = {
|
|
@@ -37325,7 +37104,7 @@ export type BrowserListContextsData = {
|
|
|
37325
37104
|
};
|
|
37326
37105
|
export type BrowserListContextsErrors = {
|
|
37327
37106
|
/**
|
|
37328
|
-
* INVALID_PARAMS
|
|
37107
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37329
37108
|
*/
|
|
37330
37109
|
400: BrowserError;
|
|
37331
37110
|
/**
|
|
@@ -37333,11 +37112,15 @@ export type BrowserListContextsErrors = {
|
|
|
37333
37112
|
*/
|
|
37334
37113
|
401: BrowserError;
|
|
37335
37114
|
/**
|
|
37336
|
-
* INSUFFICIENT_BALANCE
|
|
37115
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37337
37116
|
*/
|
|
37338
37117
|
402: BrowserError;
|
|
37339
37118
|
/**
|
|
37340
|
-
*
|
|
37119
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37120
|
+
*/
|
|
37121
|
+
403: BrowserError;
|
|
37122
|
+
/**
|
|
37123
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37341
37124
|
*/
|
|
37342
37125
|
404: BrowserError;
|
|
37343
37126
|
/**
|
|
@@ -37349,13 +37132,21 @@ export type BrowserListContextsErrors = {
|
|
|
37349
37132
|
*/
|
|
37350
37133
|
429: BrowserError;
|
|
37351
37134
|
/**
|
|
37352
|
-
*
|
|
37135
|
+
* INTERNAL
|
|
37136
|
+
*/
|
|
37137
|
+
500: BrowserError;
|
|
37138
|
+
/**
|
|
37139
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37353
37140
|
*/
|
|
37354
37141
|
501: BrowserError;
|
|
37355
37142
|
/**
|
|
37356
37143
|
* PROVIDER_FAILED
|
|
37357
37144
|
*/
|
|
37358
37145
|
502: BrowserError;
|
|
37146
|
+
/**
|
|
37147
|
+
* SERVICE_UNAVAILABLE
|
|
37148
|
+
*/
|
|
37149
|
+
503: BrowserError;
|
|
37359
37150
|
};
|
|
37360
37151
|
export type BrowserListContextsError = BrowserListContextsErrors[keyof BrowserListContextsErrors];
|
|
37361
37152
|
export type BrowserListContextsResponses = {
|
|
@@ -37397,7 +37188,7 @@ export type BrowserCreateContextData = {
|
|
|
37397
37188
|
};
|
|
37398
37189
|
export type BrowserCreateContextErrors = {
|
|
37399
37190
|
/**
|
|
37400
|
-
* INVALID_PARAMS
|
|
37191
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37401
37192
|
*/
|
|
37402
37193
|
400: BrowserError;
|
|
37403
37194
|
/**
|
|
@@ -37405,11 +37196,15 @@ export type BrowserCreateContextErrors = {
|
|
|
37405
37196
|
*/
|
|
37406
37197
|
401: BrowserError;
|
|
37407
37198
|
/**
|
|
37408
|
-
* INSUFFICIENT_BALANCE
|
|
37199
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37409
37200
|
*/
|
|
37410
37201
|
402: BrowserError;
|
|
37411
37202
|
/**
|
|
37412
|
-
*
|
|
37203
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37204
|
+
*/
|
|
37205
|
+
403: BrowserError;
|
|
37206
|
+
/**
|
|
37207
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37413
37208
|
*/
|
|
37414
37209
|
404: BrowserError;
|
|
37415
37210
|
/**
|
|
@@ -37421,13 +37216,21 @@ export type BrowserCreateContextErrors = {
|
|
|
37421
37216
|
*/
|
|
37422
37217
|
429: BrowserError;
|
|
37423
37218
|
/**
|
|
37424
|
-
*
|
|
37219
|
+
* INTERNAL
|
|
37220
|
+
*/
|
|
37221
|
+
500: BrowserError;
|
|
37222
|
+
/**
|
|
37223
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37425
37224
|
*/
|
|
37426
37225
|
501: BrowserError;
|
|
37427
37226
|
/**
|
|
37428
37227
|
* PROVIDER_FAILED
|
|
37429
37228
|
*/
|
|
37430
37229
|
502: BrowserError;
|
|
37230
|
+
/**
|
|
37231
|
+
* SERVICE_UNAVAILABLE
|
|
37232
|
+
*/
|
|
37233
|
+
503: BrowserError;
|
|
37431
37234
|
};
|
|
37432
37235
|
export type BrowserCreateContextError = BrowserCreateContextErrors[keyof BrowserCreateContextErrors];
|
|
37433
37236
|
export type BrowserCreateContextResponses = {
|
|
@@ -37450,7 +37253,7 @@ export type BrowserDeleteContextData = {
|
|
|
37450
37253
|
};
|
|
37451
37254
|
export type BrowserDeleteContextErrors = {
|
|
37452
37255
|
/**
|
|
37453
|
-
* INVALID_PARAMS
|
|
37256
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37454
37257
|
*/
|
|
37455
37258
|
400: BrowserError;
|
|
37456
37259
|
/**
|
|
@@ -37458,11 +37261,15 @@ export type BrowserDeleteContextErrors = {
|
|
|
37458
37261
|
*/
|
|
37459
37262
|
401: BrowserError;
|
|
37460
37263
|
/**
|
|
37461
|
-
* INSUFFICIENT_BALANCE
|
|
37264
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37462
37265
|
*/
|
|
37463
37266
|
402: BrowserError;
|
|
37464
37267
|
/**
|
|
37465
|
-
*
|
|
37268
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37269
|
+
*/
|
|
37270
|
+
403: BrowserError;
|
|
37271
|
+
/**
|
|
37272
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37466
37273
|
*/
|
|
37467
37274
|
404: BrowserError;
|
|
37468
37275
|
/**
|
|
@@ -37474,13 +37281,21 @@ export type BrowserDeleteContextErrors = {
|
|
|
37474
37281
|
*/
|
|
37475
37282
|
429: BrowserError;
|
|
37476
37283
|
/**
|
|
37477
|
-
*
|
|
37284
|
+
* INTERNAL
|
|
37285
|
+
*/
|
|
37286
|
+
500: BrowserError;
|
|
37287
|
+
/**
|
|
37288
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37478
37289
|
*/
|
|
37479
37290
|
501: BrowserError;
|
|
37480
37291
|
/**
|
|
37481
37292
|
* PROVIDER_FAILED
|
|
37482
37293
|
*/
|
|
37483
37294
|
502: BrowserError;
|
|
37295
|
+
/**
|
|
37296
|
+
* SERVICE_UNAVAILABLE
|
|
37297
|
+
*/
|
|
37298
|
+
503: BrowserError;
|
|
37484
37299
|
};
|
|
37485
37300
|
export type BrowserDeleteContextError = BrowserDeleteContextErrors[keyof BrowserDeleteContextErrors];
|
|
37486
37301
|
export type BrowserDeleteContextResponses = {
|
|
@@ -37508,7 +37323,7 @@ export type BrowserGetContextData = {
|
|
|
37508
37323
|
};
|
|
37509
37324
|
export type BrowserGetContextErrors = {
|
|
37510
37325
|
/**
|
|
37511
|
-
* INVALID_PARAMS
|
|
37326
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37512
37327
|
*/
|
|
37513
37328
|
400: BrowserError;
|
|
37514
37329
|
/**
|
|
@@ -37516,11 +37331,15 @@ export type BrowserGetContextErrors = {
|
|
|
37516
37331
|
*/
|
|
37517
37332
|
401: BrowserError;
|
|
37518
37333
|
/**
|
|
37519
|
-
* INSUFFICIENT_BALANCE
|
|
37334
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37520
37335
|
*/
|
|
37521
37336
|
402: BrowserError;
|
|
37522
37337
|
/**
|
|
37523
|
-
*
|
|
37338
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37339
|
+
*/
|
|
37340
|
+
403: BrowserError;
|
|
37341
|
+
/**
|
|
37342
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37524
37343
|
*/
|
|
37525
37344
|
404: BrowserError;
|
|
37526
37345
|
/**
|
|
@@ -37532,13 +37351,21 @@ export type BrowserGetContextErrors = {
|
|
|
37532
37351
|
*/
|
|
37533
37352
|
429: BrowserError;
|
|
37534
37353
|
/**
|
|
37535
|
-
*
|
|
37354
|
+
* INTERNAL
|
|
37355
|
+
*/
|
|
37356
|
+
500: BrowserError;
|
|
37357
|
+
/**
|
|
37358
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37536
37359
|
*/
|
|
37537
37360
|
501: BrowserError;
|
|
37538
37361
|
/**
|
|
37539
37362
|
* PROVIDER_FAILED
|
|
37540
37363
|
*/
|
|
37541
37364
|
502: BrowserError;
|
|
37365
|
+
/**
|
|
37366
|
+
* SERVICE_UNAVAILABLE
|
|
37367
|
+
*/
|
|
37368
|
+
503: BrowserError;
|
|
37542
37369
|
};
|
|
37543
37370
|
export type BrowserGetContextError = BrowserGetContextErrors[keyof BrowserGetContextErrors];
|
|
37544
37371
|
export type BrowserGetContextResponses = {
|
|
@@ -37572,7 +37399,7 @@ export type BrowserUpdateContextData = {
|
|
|
37572
37399
|
};
|
|
37573
37400
|
export type BrowserUpdateContextErrors = {
|
|
37574
37401
|
/**
|
|
37575
|
-
* INVALID_PARAMS
|
|
37402
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37576
37403
|
*/
|
|
37577
37404
|
400: BrowserError;
|
|
37578
37405
|
/**
|
|
@@ -37580,11 +37407,15 @@ export type BrowserUpdateContextErrors = {
|
|
|
37580
37407
|
*/
|
|
37581
37408
|
401: BrowserError;
|
|
37582
37409
|
/**
|
|
37583
|
-
* INSUFFICIENT_BALANCE
|
|
37410
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37584
37411
|
*/
|
|
37585
37412
|
402: BrowserError;
|
|
37586
37413
|
/**
|
|
37587
|
-
*
|
|
37414
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37415
|
+
*/
|
|
37416
|
+
403: BrowserError;
|
|
37417
|
+
/**
|
|
37418
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37588
37419
|
*/
|
|
37589
37420
|
404: BrowserError;
|
|
37590
37421
|
/**
|
|
@@ -37596,13 +37427,21 @@ export type BrowserUpdateContextErrors = {
|
|
|
37596
37427
|
*/
|
|
37597
37428
|
429: BrowserError;
|
|
37598
37429
|
/**
|
|
37599
|
-
*
|
|
37430
|
+
* INTERNAL
|
|
37431
|
+
*/
|
|
37432
|
+
500: BrowserError;
|
|
37433
|
+
/**
|
|
37434
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37600
37435
|
*/
|
|
37601
37436
|
501: BrowserError;
|
|
37602
37437
|
/**
|
|
37603
37438
|
* PROVIDER_FAILED
|
|
37604
37439
|
*/
|
|
37605
37440
|
502: BrowserError;
|
|
37441
|
+
/**
|
|
37442
|
+
* SERVICE_UNAVAILABLE
|
|
37443
|
+
*/
|
|
37444
|
+
503: BrowserError;
|
|
37606
37445
|
};
|
|
37607
37446
|
export type BrowserUpdateContextError = BrowserUpdateContextErrors[keyof BrowserUpdateContextErrors];
|
|
37608
37447
|
export type BrowserUpdateContextResponses = {
|
|
@@ -37657,7 +37496,7 @@ export type BrowserConnectData = {
|
|
|
37657
37496
|
};
|
|
37658
37497
|
export type BrowserConnectErrors = {
|
|
37659
37498
|
/**
|
|
37660
|
-
* INVALID_PARAMS
|
|
37499
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37661
37500
|
*/
|
|
37662
37501
|
400: BrowserError;
|
|
37663
37502
|
/**
|
|
@@ -37665,11 +37504,15 @@ export type BrowserConnectErrors = {
|
|
|
37665
37504
|
*/
|
|
37666
37505
|
401: BrowserError;
|
|
37667
37506
|
/**
|
|
37668
|
-
* INSUFFICIENT_BALANCE
|
|
37507
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37669
37508
|
*/
|
|
37670
37509
|
402: BrowserError;
|
|
37671
37510
|
/**
|
|
37672
|
-
*
|
|
37511
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37512
|
+
*/
|
|
37513
|
+
403: BrowserError;
|
|
37514
|
+
/**
|
|
37515
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37673
37516
|
*/
|
|
37674
37517
|
404: BrowserError;
|
|
37675
37518
|
/**
|
|
@@ -37681,13 +37524,21 @@ export type BrowserConnectErrors = {
|
|
|
37681
37524
|
*/
|
|
37682
37525
|
429: BrowserError;
|
|
37683
37526
|
/**
|
|
37684
|
-
*
|
|
37527
|
+
* INTERNAL
|
|
37528
|
+
*/
|
|
37529
|
+
500: BrowserError;
|
|
37530
|
+
/**
|
|
37531
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37685
37532
|
*/
|
|
37686
37533
|
501: BrowserError;
|
|
37687
37534
|
/**
|
|
37688
37535
|
* PROVIDER_FAILED
|
|
37689
37536
|
*/
|
|
37690
37537
|
502: BrowserError;
|
|
37538
|
+
/**
|
|
37539
|
+
* SERVICE_UNAVAILABLE
|
|
37540
|
+
*/
|
|
37541
|
+
503: BrowserError;
|
|
37691
37542
|
};
|
|
37692
37543
|
export type BrowserConnectError = BrowserConnectErrors[keyof BrowserConnectErrors];
|
|
37693
37544
|
export type BrowserLiveViewData = {
|
|
@@ -37712,7 +37563,7 @@ export type BrowserLiveViewData = {
|
|
|
37712
37563
|
};
|
|
37713
37564
|
export type BrowserLiveViewErrors = {
|
|
37714
37565
|
/**
|
|
37715
|
-
* INVALID_PARAMS
|
|
37566
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37716
37567
|
*/
|
|
37717
37568
|
400: BrowserError;
|
|
37718
37569
|
/**
|
|
@@ -37720,11 +37571,15 @@ export type BrowserLiveViewErrors = {
|
|
|
37720
37571
|
*/
|
|
37721
37572
|
401: BrowserError;
|
|
37722
37573
|
/**
|
|
37723
|
-
* INSUFFICIENT_BALANCE
|
|
37574
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37724
37575
|
*/
|
|
37725
37576
|
402: BrowserError;
|
|
37726
37577
|
/**
|
|
37727
|
-
*
|
|
37578
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37579
|
+
*/
|
|
37580
|
+
403: BrowserError;
|
|
37581
|
+
/**
|
|
37582
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37728
37583
|
*/
|
|
37729
37584
|
404: BrowserError;
|
|
37730
37585
|
/**
|
|
@@ -37736,13 +37591,21 @@ export type BrowserLiveViewErrors = {
|
|
|
37736
37591
|
*/
|
|
37737
37592
|
429: BrowserError;
|
|
37738
37593
|
/**
|
|
37739
|
-
*
|
|
37594
|
+
* INTERNAL
|
|
37595
|
+
*/
|
|
37596
|
+
500: BrowserError;
|
|
37597
|
+
/**
|
|
37598
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37740
37599
|
*/
|
|
37741
37600
|
501: BrowserError;
|
|
37742
37601
|
/**
|
|
37743
37602
|
* PROVIDER_FAILED
|
|
37744
37603
|
*/
|
|
37745
37604
|
502: BrowserError;
|
|
37605
|
+
/**
|
|
37606
|
+
* SERVICE_UNAVAILABLE
|
|
37607
|
+
*/
|
|
37608
|
+
503: BrowserError;
|
|
37746
37609
|
};
|
|
37747
37610
|
export type BrowserLiveViewError = BrowserLiveViewErrors[keyof BrowserLiveViewErrors];
|
|
37748
37611
|
export type BrowserStreamSessionData = {
|
|
@@ -37758,7 +37621,7 @@ export type BrowserStreamSessionData = {
|
|
|
37758
37621
|
};
|
|
37759
37622
|
export type BrowserStreamSessionErrors = {
|
|
37760
37623
|
/**
|
|
37761
|
-
* INVALID_PARAMS
|
|
37624
|
+
* INVALID_PARAMS / INVALID_FILTER / INVALID_PAGE_TOKEN
|
|
37762
37625
|
*/
|
|
37763
37626
|
400: BrowserError;
|
|
37764
37627
|
/**
|
|
@@ -37766,11 +37629,15 @@ export type BrowserStreamSessionErrors = {
|
|
|
37766
37629
|
*/
|
|
37767
37630
|
401: BrowserError;
|
|
37768
37631
|
/**
|
|
37769
|
-
* INSUFFICIENT_BALANCE
|
|
37632
|
+
* INSUFFICIENT_BALANCE / QUOTA_EXHAUSTED
|
|
37770
37633
|
*/
|
|
37771
37634
|
402: BrowserError;
|
|
37772
37635
|
/**
|
|
37773
|
-
*
|
|
37636
|
+
* PERMISSION_DENIED / ACCOUNT_SUSPENDED
|
|
37637
|
+
*/
|
|
37638
|
+
403: BrowserError;
|
|
37639
|
+
/**
|
|
37640
|
+
* SESSION_NOT_FOUND / CONTEXT_NOT_FOUND / PARENT_NOT_FOUND
|
|
37774
37641
|
*/
|
|
37775
37642
|
404: BrowserError;
|
|
37776
37643
|
/**
|
|
@@ -37782,13 +37649,21 @@ export type BrowserStreamSessionErrors = {
|
|
|
37782
37649
|
*/
|
|
37783
37650
|
429: BrowserError;
|
|
37784
37651
|
/**
|
|
37785
|
-
*
|
|
37652
|
+
* INTERNAL
|
|
37653
|
+
*/
|
|
37654
|
+
500: BrowserError;
|
|
37655
|
+
/**
|
|
37656
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37786
37657
|
*/
|
|
37787
37658
|
501: BrowserError;
|
|
37788
37659
|
/**
|
|
37789
37660
|
* PROVIDER_FAILED
|
|
37790
37661
|
*/
|
|
37791
37662
|
502: BrowserError;
|
|
37663
|
+
/**
|
|
37664
|
+
* SERVICE_UNAVAILABLE
|
|
37665
|
+
*/
|
|
37666
|
+
503: BrowserError;
|
|
37792
37667
|
};
|
|
37793
37668
|
export type BrowserStreamSessionError = BrowserStreamSessionErrors[keyof BrowserStreamSessionErrors];
|
|
37794
37669
|
export type BrowserStreamSessionResponses = {
|
|
@@ -37806,7 +37681,7 @@ export type BrowserSeleniumUnsupportedData = {
|
|
|
37806
37681
|
};
|
|
37807
37682
|
export type BrowserSeleniumUnsupportedErrors = {
|
|
37808
37683
|
/**
|
|
37809
|
-
* PROVIDER_UNSUPPORTED
|
|
37684
|
+
* NOT_IMPLEMENTED / PROVIDER_UNSUPPORTED
|
|
37810
37685
|
*/
|
|
37811
37686
|
501: BrowserError;
|
|
37812
37687
|
};
|
|
@@ -44926,7 +44801,7 @@ export type AgentsListResponses = {
|
|
|
44926
44801
|
};
|
|
44927
44802
|
};
|
|
44928
44803
|
/**
|
|
44929
|
-
*
|
|
44804
|
+
* Coordinator roster. A bare string agent id is equivalent to {type: "agent", id}; omitting its version pins the referenced agent's current saved version when this roster is saved. {type: "self"} refers to this agent. Specify a concrete version to pin it explicitly.
|
|
44930
44805
|
*/
|
|
44931
44806
|
multiagent: null | AgentManaged39;
|
|
44932
44807
|
/**
|
|
@@ -44954,12 +44829,11 @@ export type AgentsListResponses = {
|
|
|
44954
44829
|
*/
|
|
44955
44830
|
updated_at: string;
|
|
44956
44831
|
/**
|
|
44957
|
-
*
|
|
44958
|
-
* modified.
|
|
44832
|
+
* Version of this returned configuration. Default retrieve returns the effective version; an explicit version query or a version-history item returns that saved version.
|
|
44959
44833
|
*/
|
|
44960
44834
|
version: number;
|
|
44961
44835
|
/**
|
|
44962
|
-
*
|
|
44836
|
+
* Agent-level currently effective version used by new sessions and newly issued embed tokens. This same value appears on every history item; it is not that item's version. Saving with apply false leaves it unchanged. Existing sessions and tokens retain their version.
|
|
44963
44837
|
*/
|
|
44964
44838
|
active_version: number;
|
|
44965
44839
|
/**
|
|
@@ -45486,9 +45360,7 @@ export type AgentsCreateData = {
|
|
|
45486
45360
|
*/
|
|
45487
45361
|
metadata?: AgentManaged8Writable;
|
|
45488
45362
|
/**
|
|
45489
|
-
* A
|
|
45490
|
-
* work by spawning session threads, each running an agent drawn from the `agents`
|
|
45491
|
-
* roster.
|
|
45363
|
+
* Coordinator roster. A bare string agent id is equivalent to {type: "agent", id}; omitting its version pins the referenced agent's current saved version when this roster is saved. {type: "self"} refers to this agent. Specify a concrete version to pin it explicitly.
|
|
45492
45364
|
*/
|
|
45493
45365
|
multiagent?: null | AgentManaged9;
|
|
45494
45366
|
/**
|
|
@@ -46011,7 +45883,7 @@ export type AgentsCreateResponses = {
|
|
|
46011
45883
|
};
|
|
46012
45884
|
};
|
|
46013
45885
|
/**
|
|
46014
|
-
*
|
|
45886
|
+
* Coordinator roster. A bare string agent id is equivalent to {type: "agent", id}; omitting its version pins the referenced agent's current saved version when this roster is saved. {type: "self"} refers to this agent. Specify a concrete version to pin it explicitly.
|
|
46015
45887
|
*/
|
|
46016
45888
|
multiagent: null | AgentManaged39;
|
|
46017
45889
|
/**
|
|
@@ -46039,12 +45911,11 @@ export type AgentsCreateResponses = {
|
|
|
46039
45911
|
*/
|
|
46040
45912
|
updated_at: string;
|
|
46041
45913
|
/**
|
|
46042
|
-
*
|
|
46043
|
-
* modified.
|
|
45914
|
+
* Version of this returned configuration. Default retrieve returns the effective version; an explicit version query or a version-history item returns that saved version.
|
|
46044
45915
|
*/
|
|
46045
45916
|
version: number;
|
|
46046
45917
|
/**
|
|
46047
|
-
*
|
|
45918
|
+
* Agent-level currently effective version used by new sessions and newly issued embed tokens. This same value appears on every history item; it is not that item's version. Saving with apply false leaves it unchanged. Existing sessions and tokens retain their version.
|
|
46048
45919
|
*/
|
|
46049
45920
|
active_version: number;
|
|
46050
45921
|
/**
|
|
@@ -46520,8 +46391,8 @@ export type AgentsRetrieveData = {
|
|
|
46520
46391
|
};
|
|
46521
46392
|
query?: {
|
|
46522
46393
|
/**
|
|
46523
|
-
* Agent version. Omit for the
|
|
46524
|
-
*
|
|
46394
|
+
* Agent version to read. Omit, or pass active, for the effective version.
|
|
46395
|
+
* Pass an integer of at least 1 to read that saved version.
|
|
46525
46396
|
*/
|
|
46526
46397
|
version?: number;
|
|
46527
46398
|
};
|
|
@@ -46607,7 +46478,7 @@ export type AgentsRetrieveResponses = {
|
|
|
46607
46478
|
};
|
|
46608
46479
|
};
|
|
46609
46480
|
/**
|
|
46610
|
-
*
|
|
46481
|
+
* Coordinator roster. A bare string agent id is equivalent to {type: "agent", id}; omitting its version pins the referenced agent's current saved version when this roster is saved. {type: "self"} refers to this agent. Specify a concrete version to pin it explicitly.
|
|
46611
46482
|
*/
|
|
46612
46483
|
multiagent: null | AgentManaged39;
|
|
46613
46484
|
/**
|
|
@@ -46635,12 +46506,15 @@ export type AgentsRetrieveResponses = {
|
|
|
46635
46506
|
*/
|
|
46636
46507
|
updated_at: string;
|
|
46637
46508
|
/**
|
|
46638
|
-
*
|
|
46639
|
-
* modified.
|
|
46509
|
+
* Version of this returned configuration. Default retrieve returns the effective version; an explicit version query or a version-history item returns that saved version.
|
|
46640
46510
|
*/
|
|
46641
46511
|
version: number;
|
|
46642
46512
|
/**
|
|
46643
|
-
*
|
|
46513
|
+
* Newest saved version number, including an unapplied save. Returned by default retrieve, update and apply; use it for optimistic concurrency when updating.
|
|
46514
|
+
*/
|
|
46515
|
+
latest_version?: number;
|
|
46516
|
+
/**
|
|
46517
|
+
* Agent-level currently effective version used by new sessions and newly issued embed tokens. This same value appears on every history item; it is not that item's version. Saving with apply false leaves it unchanged. Existing sessions and tokens retain their version.
|
|
46644
46518
|
*/
|
|
46645
46519
|
active_version: number;
|
|
46646
46520
|
/**
|
|
@@ -47159,9 +47033,7 @@ export type AgentsUpdateData = {
|
|
|
47159
47033
|
};
|
|
47160
47034
|
};
|
|
47161
47035
|
/**
|
|
47162
|
-
* A
|
|
47163
|
-
* work by spawning session threads, each running an agent drawn from the `agents`
|
|
47164
|
-
* roster.
|
|
47036
|
+
* Coordinator roster. A bare string agent id is equivalent to {type: "agent", id}; omitting its version pins the referenced agent's current saved version when this roster is saved. {type: "self"} refers to this agent. Specify a concrete version to pin it explicitly.
|
|
47165
47037
|
*/
|
|
47166
47038
|
multiagent?: null | AgentManaged9;
|
|
47167
47039
|
/**
|
|
@@ -47183,20 +47055,17 @@ export type AgentsUpdateData = {
|
|
|
47183
47055
|
*/
|
|
47184
47056
|
tools?: null | Array<AgentManaged15 | AgentManaged29 | AgentManaged32>;
|
|
47185
47057
|
/**
|
|
47186
|
-
*
|
|
47187
|
-
* Obtain this value from a create or retrieve response. Must be at least 1 if
|
|
47188
|
-
* specified. When supplied, the request fails if it does not match the server's
|
|
47189
|
-
* current version; omit to apply the update unconditionally.
|
|
47058
|
+
* Newest saved version used for optimistic concurrency. Obtain latest_version from the default retrieve or update response, or version from versions.list. A stale value returns 409; omit for an unconditional update.
|
|
47190
47059
|
*/
|
|
47191
47060
|
version?: number;
|
|
47192
47061
|
/**
|
|
47193
|
-
* Defaults to true: apply
|
|
47062
|
+
* Defaults to true: apply a newly saved configuration version. Set false to save without changing active_version. An unchanged configuration is a no-op, including note-only updates; use versions.apply to activate a saved version.
|
|
47194
47063
|
*/
|
|
47195
47064
|
apply?: boolean;
|
|
47196
47065
|
/**
|
|
47197
|
-
* Optional change explanation
|
|
47066
|
+
* Optional change explanation, at most 280 characters. Recorded only when a configuration change creates a new immutable version. A note-only update is a no-op returning 200 and the current effective version. Null is equivalent to omission.
|
|
47198
47067
|
*/
|
|
47199
|
-
version_note?: string;
|
|
47068
|
+
version_note?: string | null;
|
|
47200
47069
|
/**
|
|
47201
47070
|
* Replace the whole bindings list; omission preserves it, and null or [] clears it. Additions apply only to new sessions; once this version is applied, disabling, removing or downgrading a binding revokes it immediately in running sessions on older versions, while apply=false changes no access. Only service agents accept a nonempty list.
|
|
47202
47071
|
*/
|
|
@@ -47713,7 +47582,7 @@ export type AgentsUpdateResponses = {
|
|
|
47713
47582
|
};
|
|
47714
47583
|
};
|
|
47715
47584
|
/**
|
|
47716
|
-
*
|
|
47585
|
+
* Coordinator roster. A bare string agent id is equivalent to {type: "agent", id}; omitting its version pins the referenced agent's current saved version when this roster is saved. {type: "self"} refers to this agent. Specify a concrete version to pin it explicitly.
|
|
47717
47586
|
*/
|
|
47718
47587
|
multiagent: null | AgentManaged39;
|
|
47719
47588
|
/**
|
|
@@ -47741,12 +47610,15 @@ export type AgentsUpdateResponses = {
|
|
|
47741
47610
|
*/
|
|
47742
47611
|
updated_at: string;
|
|
47743
47612
|
/**
|
|
47744
|
-
*
|
|
47745
|
-
* modified.
|
|
47613
|
+
* Version of this returned configuration. Default retrieve returns the effective version; an explicit version query or a version-history item returns that saved version.
|
|
47746
47614
|
*/
|
|
47747
47615
|
version: number;
|
|
47748
47616
|
/**
|
|
47749
|
-
*
|
|
47617
|
+
* Newest saved version number, including an unapplied save. Returned by default retrieve, update and apply; use it for optimistic concurrency when updating.
|
|
47618
|
+
*/
|
|
47619
|
+
latest_version?: number;
|
|
47620
|
+
/**
|
|
47621
|
+
* Agent-level currently effective version used by new sessions and newly issued embed tokens. This same value appears on every history item; it is not that item's version. Saving with apply false leaves it unchanged. Existing sessions and tokens retain their version.
|
|
47750
47622
|
*/
|
|
47751
47623
|
active_version: number;
|
|
47752
47624
|
/**
|
|
@@ -48299,7 +48171,7 @@ export type AgentsArchiveResponses = {
|
|
|
48299
48171
|
};
|
|
48300
48172
|
};
|
|
48301
48173
|
/**
|
|
48302
|
-
*
|
|
48174
|
+
* Coordinator roster. A bare string agent id is equivalent to {type: "agent", id}; omitting its version pins the referenced agent's current saved version when this roster is saved. {type: "self"} refers to this agent. Specify a concrete version to pin it explicitly.
|
|
48303
48175
|
*/
|
|
48304
48176
|
multiagent: null | AgentManaged39;
|
|
48305
48177
|
/**
|
|
@@ -48327,12 +48199,11 @@ export type AgentsArchiveResponses = {
|
|
|
48327
48199
|
*/
|
|
48328
48200
|
updated_at: string;
|
|
48329
48201
|
/**
|
|
48330
|
-
*
|
|
48331
|
-
* modified.
|
|
48202
|
+
* Version of this returned configuration. Default retrieve returns the effective version; an explicit version query or a version-history item returns that saved version.
|
|
48332
48203
|
*/
|
|
48333
48204
|
version: number;
|
|
48334
48205
|
/**
|
|
48335
|
-
*
|
|
48206
|
+
* Agent-level currently effective version used by new sessions and newly issued embed tokens. This same value appears on every history item; it is not that item's version. Saving with apply false leaves it unchanged. Existing sessions and tokens retain their version.
|
|
48336
48207
|
*/
|
|
48337
48208
|
active_version: number;
|
|
48338
48209
|
/**
|
|
@@ -48840,7 +48711,7 @@ export type AgentsVersionsListResponses = {
|
|
|
48840
48711
|
*/
|
|
48841
48712
|
200: {
|
|
48842
48713
|
/**
|
|
48843
|
-
*
|
|
48714
|
+
* Saved agent configurations in ascending version number, oldest first. Each own-face item carries the same agent-level active_version.
|
|
48844
48715
|
*/
|
|
48845
48716
|
data: Array<{
|
|
48846
48717
|
/**
|
|
@@ -48899,7 +48770,7 @@ export type AgentsVersionsListResponses = {
|
|
|
48899
48770
|
};
|
|
48900
48771
|
};
|
|
48901
48772
|
/**
|
|
48902
|
-
*
|
|
48773
|
+
* Coordinator roster. A bare string agent id is equivalent to {type: "agent", id}; omitting its version pins the referenced agent's current saved version when this roster is saved. {type: "self"} refers to this agent. Specify a concrete version to pin it explicitly.
|
|
48903
48774
|
*/
|
|
48904
48775
|
multiagent: null | AgentManaged39;
|
|
48905
48776
|
/**
|
|
@@ -48927,12 +48798,11 @@ export type AgentsVersionsListResponses = {
|
|
|
48927
48798
|
*/
|
|
48928
48799
|
updated_at: string;
|
|
48929
48800
|
/**
|
|
48930
|
-
*
|
|
48931
|
-
* modified.
|
|
48801
|
+
* Version of this returned configuration. Default retrieve returns the effective version; an explicit version query or a version-history item returns that saved version.
|
|
48932
48802
|
*/
|
|
48933
48803
|
version: number;
|
|
48934
48804
|
/**
|
|
48935
|
-
*
|
|
48805
|
+
* Agent-level currently effective version used by new sessions and newly issued embed tokens. This same value appears on every history item; it is not that item's version. Saving with apply false leaves it unchanged. Existing sessions and tokens retain their version.
|
|
48936
48806
|
*/
|
|
48937
48807
|
active_version: number;
|
|
48938
48808
|
/**
|
|
@@ -50505,6 +50375,10 @@ export type SessionsEventsListResponses = {
|
|
|
50505
50375
|
*/
|
|
50506
50376
|
message_id?: string;
|
|
50507
50377
|
} | {
|
|
50378
|
+
/**
|
|
50379
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
50380
|
+
*/
|
|
50381
|
+
full_access_available?: boolean;
|
|
50508
50382
|
/**
|
|
50509
50383
|
* Unique identifier for this event.
|
|
50510
50384
|
*/
|
|
@@ -50583,6 +50457,44 @@ export type SessionsEventsListResponses = {
|
|
|
50583
50457
|
* Praxis extension (MCP Apps, SEP-1865): present when `source` is `codemode`; the id of the codemode tool use whose program made this call. Absent otherwise.
|
|
50584
50458
|
*/
|
|
50585
50459
|
parent_tool_use_id?: string;
|
|
50460
|
+
/**
|
|
50461
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
50462
|
+
*/
|
|
50463
|
+
user_once?: true;
|
|
50464
|
+
/**
|
|
50465
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
50466
|
+
*/
|
|
50467
|
+
guarded_rule?: string;
|
|
50468
|
+
/**
|
|
50469
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
50470
|
+
*/
|
|
50471
|
+
permission_suggestions?: Array<{
|
|
50472
|
+
/**
|
|
50473
|
+
* add_rules adds the offered allow rules.
|
|
50474
|
+
*/
|
|
50475
|
+
type: 'add_rules';
|
|
50476
|
+
/**
|
|
50477
|
+
* allow grants permission for matching calls.
|
|
50478
|
+
*/
|
|
50479
|
+
behavior: 'allow';
|
|
50480
|
+
/**
|
|
50481
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
50482
|
+
*/
|
|
50483
|
+
destination: 'agent' | 'session';
|
|
50484
|
+
/**
|
|
50485
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
50486
|
+
*/
|
|
50487
|
+
rules: Array<{
|
|
50488
|
+
/**
|
|
50489
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
50490
|
+
*/
|
|
50491
|
+
tool_name: string;
|
|
50492
|
+
/**
|
|
50493
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
50494
|
+
*/
|
|
50495
|
+
rule_content: string;
|
|
50496
|
+
}>;
|
|
50497
|
+
}>;
|
|
50586
50498
|
/**
|
|
50587
50499
|
* Human-readable tool name from MCP 2025-06-18 Tool.title, falling back to annotations.title. Trimmed and truncated to 200 characters; omitted when blank or absent. Present only for model-initiated calls on /agent/v1; use name when absent.
|
|
50588
50500
|
*/
|
|
@@ -50637,6 +50549,10 @@ export type SessionsEventsListResponses = {
|
|
|
50637
50549
|
*/
|
|
50638
50550
|
source?: 'app' | 'codemode';
|
|
50639
50551
|
} | {
|
|
50552
|
+
/**
|
|
50553
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
50554
|
+
*/
|
|
50555
|
+
full_access_available?: boolean;
|
|
50640
50556
|
/**
|
|
50641
50557
|
* Unique identifier for this event.
|
|
50642
50558
|
*/
|
|
@@ -50679,6 +50595,44 @@ export type SessionsEventsListResponses = {
|
|
|
50679
50595
|
* Run that produced this event; null when no run identity was recorded.
|
|
50680
50596
|
*/
|
|
50681
50597
|
run_id: string | null;
|
|
50598
|
+
/**
|
|
50599
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
50600
|
+
*/
|
|
50601
|
+
user_once?: true;
|
|
50602
|
+
/**
|
|
50603
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
50604
|
+
*/
|
|
50605
|
+
guarded_rule?: string;
|
|
50606
|
+
/**
|
|
50607
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
50608
|
+
*/
|
|
50609
|
+
permission_suggestions?: Array<{
|
|
50610
|
+
/**
|
|
50611
|
+
* add_rules adds the offered allow rules.
|
|
50612
|
+
*/
|
|
50613
|
+
type: 'add_rules';
|
|
50614
|
+
/**
|
|
50615
|
+
* allow grants permission for matching calls.
|
|
50616
|
+
*/
|
|
50617
|
+
behavior: 'allow';
|
|
50618
|
+
/**
|
|
50619
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
50620
|
+
*/
|
|
50621
|
+
destination: 'agent' | 'session';
|
|
50622
|
+
/**
|
|
50623
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
50624
|
+
*/
|
|
50625
|
+
rules: Array<{
|
|
50626
|
+
/**
|
|
50627
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
50628
|
+
*/
|
|
50629
|
+
tool_name: string;
|
|
50630
|
+
/**
|
|
50631
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
50632
|
+
*/
|
|
50633
|
+
rule_content: string;
|
|
50634
|
+
}>;
|
|
50635
|
+
}>;
|
|
50682
50636
|
} | {
|
|
50683
50637
|
/**
|
|
50684
50638
|
* Unique identifier for this event.
|
|
@@ -50747,6 +50701,18 @@ export type SessionsEventsListResponses = {
|
|
|
50747
50701
|
*/
|
|
50748
50702
|
run_id: string | null;
|
|
50749
50703
|
} | AgentManaged230 | AgentManaged231 | AgentManaged232 | AgentManaged233 | AgentManaged235 | AgentManaged236 | AgentManaged237 | AgentManaged238 | AgentManaged239 | AgentManaged240 | AgentManaged241 | AgentManaged242 | AgentManaged243 | AgentManaged244 | {
|
|
50704
|
+
/**
|
|
50705
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
50706
|
+
*/
|
|
50707
|
+
permission_mode_version?: number;
|
|
50708
|
+
/**
|
|
50709
|
+
* The permission mode before this change, or null when none was selected.
|
|
50710
|
+
*/
|
|
50711
|
+
previous_permission_mode?: string | null;
|
|
50712
|
+
/**
|
|
50713
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
50714
|
+
*/
|
|
50715
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
50750
50716
|
/**
|
|
50751
50717
|
* Unique identifier for this event.
|
|
50752
50718
|
*/
|
|
@@ -51622,6 +51588,10 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
51622
51588
|
*/
|
|
51623
51589
|
message_id?: string;
|
|
51624
51590
|
} | {
|
|
51591
|
+
/**
|
|
51592
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
51593
|
+
*/
|
|
51594
|
+
full_access_available?: boolean;
|
|
51625
51595
|
/**
|
|
51626
51596
|
* Unique identifier for this event.
|
|
51627
51597
|
*/
|
|
@@ -51700,6 +51670,44 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
51700
51670
|
* Praxis extension (MCP Apps, SEP-1865): `app` when the call was made by an MCP Apps view, `codemode` when a program run by the codemode tool called an MCP tool that declares a view (the event pair exists so a client can render that view; the model already has the result in the codemode tool result); absent for the model's own calls.
|
|
51701
51671
|
*/
|
|
51702
51672
|
source?: 'app' | 'codemode';
|
|
51673
|
+
/**
|
|
51674
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
51675
|
+
*/
|
|
51676
|
+
user_once?: true;
|
|
51677
|
+
/**
|
|
51678
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
51679
|
+
*/
|
|
51680
|
+
guarded_rule?: string;
|
|
51681
|
+
/**
|
|
51682
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
51683
|
+
*/
|
|
51684
|
+
permission_suggestions?: Array<{
|
|
51685
|
+
/**
|
|
51686
|
+
* add_rules adds the offered allow rules.
|
|
51687
|
+
*/
|
|
51688
|
+
type: 'add_rules';
|
|
51689
|
+
/**
|
|
51690
|
+
* allow grants permission for matching calls.
|
|
51691
|
+
*/
|
|
51692
|
+
behavior: 'allow';
|
|
51693
|
+
/**
|
|
51694
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
51695
|
+
*/
|
|
51696
|
+
destination: 'agent' | 'session';
|
|
51697
|
+
/**
|
|
51698
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
51699
|
+
*/
|
|
51700
|
+
rules: Array<{
|
|
51701
|
+
/**
|
|
51702
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
51703
|
+
*/
|
|
51704
|
+
tool_name: string;
|
|
51705
|
+
/**
|
|
51706
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
51707
|
+
*/
|
|
51708
|
+
rule_content: string;
|
|
51709
|
+
}>;
|
|
51710
|
+
}>;
|
|
51703
51711
|
/**
|
|
51704
51712
|
* Human-readable tool name from MCP 2025-06-18 Tool.title, falling back to annotations.title. Trimmed and truncated to 200 characters; omitted when blank or absent. Present only for model-initiated calls on /agent/v1; use name when absent.
|
|
51705
51713
|
*/
|
|
@@ -51754,6 +51762,10 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
51754
51762
|
*/
|
|
51755
51763
|
source?: 'app' | 'codemode';
|
|
51756
51764
|
} | {
|
|
51765
|
+
/**
|
|
51766
|
+
* True only for a native primary-session approval in build, edit or guarded mode that is neither user-once nor an intrinsic always-ask or user-interaction gate. When true, allow with permission_mode=yolo to grant full access.
|
|
51767
|
+
*/
|
|
51768
|
+
full_access_available?: boolean;
|
|
51757
51769
|
/**
|
|
51758
51770
|
* Unique identifier for this event.
|
|
51759
51771
|
*/
|
|
@@ -51796,6 +51808,44 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
51796
51808
|
* Run that produced this event; null when no run identity was recorded.
|
|
51797
51809
|
*/
|
|
51798
51810
|
run_id: string | null;
|
|
51811
|
+
/**
|
|
51812
|
+
* When present, this dangerous shell call requires approval for this execution only; offer allow once or deny.
|
|
51813
|
+
*/
|
|
51814
|
+
user_once?: true;
|
|
51815
|
+
/**
|
|
51816
|
+
* Deterministic dangerous-command rule that requires single-execution approval; present only for guarded matches.
|
|
51817
|
+
*/
|
|
51818
|
+
guarded_rule?: string;
|
|
51819
|
+
/**
|
|
51820
|
+
* On an allow confirmation, copy this call's permission_suggestions unchanged. Personal agents accept agent (shared across their sessions) or session; service agents accept session only. Rules must match the offered update exactly. A failed save leaves the call waiting for approval.
|
|
51821
|
+
*/
|
|
51822
|
+
permission_suggestions?: Array<{
|
|
51823
|
+
/**
|
|
51824
|
+
* add_rules adds the offered allow rules.
|
|
51825
|
+
*/
|
|
51826
|
+
type: 'add_rules';
|
|
51827
|
+
/**
|
|
51828
|
+
* allow grants permission for matching calls.
|
|
51829
|
+
*/
|
|
51830
|
+
behavior: 'allow';
|
|
51831
|
+
/**
|
|
51832
|
+
* agent shares the grant across a personal agent's sessions; session keeps it in this session. Service agents reject agent with 400.
|
|
51833
|
+
*/
|
|
51834
|
+
destination: 'agent' | 'session';
|
|
51835
|
+
/**
|
|
51836
|
+
* The complete set of rules from one offered suggestion, without changes.
|
|
51837
|
+
*/
|
|
51838
|
+
rules: Array<{
|
|
51839
|
+
/**
|
|
51840
|
+
* The offered tool name, including the full mcp__server__tool name for an MCP tool.
|
|
51841
|
+
*/
|
|
51842
|
+
tool_name: string;
|
|
51843
|
+
/**
|
|
51844
|
+
* The offered command, stable command prefix, exact file path, domain or whole-tool wildcard.
|
|
51845
|
+
*/
|
|
51846
|
+
rule_content: string;
|
|
51847
|
+
}>;
|
|
51848
|
+
}>;
|
|
51799
51849
|
} | {
|
|
51800
51850
|
/**
|
|
51801
51851
|
* Unique identifier for this event.
|
|
@@ -51864,6 +51914,18 @@ export type SessionsThreadsEventsListResponses = {
|
|
|
51864
51914
|
*/
|
|
51865
51915
|
run_id: string | null;
|
|
51866
51916
|
} | AgentManaged230 | AgentManaged231 | AgentManaged232 | AgentManaged233 | AgentManaged235 | AgentManaged236 | AgentManaged237 | AgentManaged238 | AgentManaged239 | AgentManaged240 | AgentManaged241 | AgentManaged242 | AgentManaged243 | AgentManaged244 | {
|
|
51917
|
+
/**
|
|
51918
|
+
* Monotone permission-mode version, incremented once per mode update.
|
|
51919
|
+
*/
|
|
51920
|
+
permission_mode_version?: number;
|
|
51921
|
+
/**
|
|
51922
|
+
* The permission mode before this change, or null when none was selected.
|
|
51923
|
+
*/
|
|
51924
|
+
previous_permission_mode?: string | null;
|
|
51925
|
+
/**
|
|
51926
|
+
* The new native session permission mode; null restores configured tool policies.
|
|
51927
|
+
*/
|
|
51928
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
51867
51929
|
/**
|
|
51868
51930
|
* Unique identifier for this event.
|
|
51869
51931
|
*/
|
|
@@ -52402,7 +52464,7 @@ export type SessionsResourcesListData = {
|
|
|
52402
52464
|
};
|
|
52403
52465
|
query?: {
|
|
52404
52466
|
/**
|
|
52405
|
-
* Number of
|
|
52467
|
+
* Number of resources per page, from 1 to 100; defaults to 100.
|
|
52406
52468
|
*/
|
|
52407
52469
|
limit?: number;
|
|
52408
52470
|
page?: null | string;
|
|
@@ -52679,7 +52741,7 @@ export type DeploymentsListResponses = {
|
|
|
52679
52741
|
/**
|
|
52680
52742
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
52681
52743
|
*/
|
|
52682
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
52744
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
52683
52745
|
/**
|
|
52684
52746
|
* Working directory for each new session; omitted uses the session default.
|
|
52685
52747
|
*/
|
|
@@ -52809,7 +52871,7 @@ export type DeploymentsCreateData = {
|
|
|
52809
52871
|
/**
|
|
52810
52872
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
52811
52873
|
*/
|
|
52812
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
52874
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
52813
52875
|
/**
|
|
52814
52876
|
* Working directory for each new session; omitted uses the session default.
|
|
52815
52877
|
*/
|
|
@@ -52949,7 +53011,7 @@ export type DeploymentsCreateResponses = {
|
|
|
52949
53011
|
/**
|
|
52950
53012
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
52951
53013
|
*/
|
|
52952
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
53014
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
52953
53015
|
/**
|
|
52954
53016
|
* Working directory for each new session; omitted uses the session default.
|
|
52955
53017
|
*/
|
|
@@ -53118,7 +53180,7 @@ export type DeploymentsRetrieveResponses = {
|
|
|
53118
53180
|
/**
|
|
53119
53181
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
53120
53182
|
*/
|
|
53121
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
53183
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
53122
53184
|
/**
|
|
53123
53185
|
* Working directory for each new session; omitted uses the session default.
|
|
53124
53186
|
*/
|
|
@@ -53243,7 +53305,7 @@ export type DeploymentsUpdateData = {
|
|
|
53243
53305
|
/**
|
|
53244
53306
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
53245
53307
|
*/
|
|
53246
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
53308
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
53247
53309
|
/**
|
|
53248
53310
|
* Working directory for each new session; omitted uses the session default.
|
|
53249
53311
|
*/
|
|
@@ -53398,7 +53460,7 @@ export type DeploymentsUpdateResponses = {
|
|
|
53398
53460
|
/**
|
|
53399
53461
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
53400
53462
|
*/
|
|
53401
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
53463
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
53402
53464
|
/**
|
|
53403
53465
|
* Working directory for each new session; omitted uses the session default.
|
|
53404
53466
|
*/
|
|
@@ -53567,7 +53629,7 @@ export type DeploymentsArchiveResponses = {
|
|
|
53567
53629
|
/**
|
|
53568
53630
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
53569
53631
|
*/
|
|
53570
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
53632
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
53571
53633
|
/**
|
|
53572
53634
|
* Working directory for each new session; omitted uses the session default.
|
|
53573
53635
|
*/
|
|
@@ -53740,7 +53802,7 @@ export type DeploymentsPauseResponses = {
|
|
|
53740
53802
|
/**
|
|
53741
53803
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
53742
53804
|
*/
|
|
53743
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
53805
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
53744
53806
|
/**
|
|
53745
53807
|
* Working directory for each new session; omitted uses the session default.
|
|
53746
53808
|
*/
|
|
@@ -53913,7 +53975,7 @@ export type DeploymentsUnpauseResponses = {
|
|
|
53913
53975
|
/**
|
|
53914
53976
|
* Permission mode for each new session; omitted or null inherits the agent policies.
|
|
53915
53977
|
*/
|
|
53916
|
-
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | null;
|
|
53978
|
+
permission_mode?: 'build' | 'edit' | 'plan' | 'yolo' | 'guarded' | null;
|
|
53917
53979
|
/**
|
|
53918
53980
|
* Working directory for each new session; omitted uses the session default.
|
|
53919
53981
|
*/
|
|
@@ -61866,6 +61928,10 @@ export type MediaListLibrariesErrors = {
|
|
|
61866
61928
|
* Request failed; see the error code reference.
|
|
61867
61929
|
*/
|
|
61868
61930
|
400: MediaMediaError;
|
|
61931
|
+
/**
|
|
61932
|
+
* Request failed; see the error code reference.
|
|
61933
|
+
*/
|
|
61934
|
+
403: MediaMediaError;
|
|
61869
61935
|
/**
|
|
61870
61936
|
* Request failed; see the error code reference.
|
|
61871
61937
|
*/
|
|
@@ -61953,6 +62019,10 @@ export type MediaCreateLibraryErrors = {
|
|
|
61953
62019
|
* Request failed; see the error code reference.
|
|
61954
62020
|
*/
|
|
61955
62021
|
400: MediaMediaError;
|
|
62022
|
+
/**
|
|
62023
|
+
* Request failed; see the error code reference.
|
|
62024
|
+
*/
|
|
62025
|
+
403: MediaMediaError;
|
|
61956
62026
|
/**
|
|
61957
62027
|
* Request failed; see the error code reference.
|
|
61958
62028
|
*/
|
|
@@ -62010,6 +62080,10 @@ export type MediaDeleteLibraryErrors = {
|
|
|
62010
62080
|
* Request failed; see the error code reference.
|
|
62011
62081
|
*/
|
|
62012
62082
|
400: MediaMediaError;
|
|
62083
|
+
/**
|
|
62084
|
+
* Request failed; see the error code reference.
|
|
62085
|
+
*/
|
|
62086
|
+
403: MediaMediaError;
|
|
62013
62087
|
/**
|
|
62014
62088
|
* Request failed; see the error code reference.
|
|
62015
62089
|
*/
|
|
@@ -62067,6 +62141,10 @@ export type MediaGetLibraryErrors = {
|
|
|
62067
62141
|
* Request failed; see the error code reference.
|
|
62068
62142
|
*/
|
|
62069
62143
|
400: MediaMediaError;
|
|
62144
|
+
/**
|
|
62145
|
+
* Request failed; see the error code reference.
|
|
62146
|
+
*/
|
|
62147
|
+
403: MediaMediaError;
|
|
62070
62148
|
/**
|
|
62071
62149
|
* Request failed; see the error code reference.
|
|
62072
62150
|
*/
|
|
@@ -62159,6 +62237,10 @@ export type MediaUpdateLibraryErrors = {
|
|
|
62159
62237
|
* Request failed; see the error code reference.
|
|
62160
62238
|
*/
|
|
62161
62239
|
400: MediaMediaError;
|
|
62240
|
+
/**
|
|
62241
|
+
* Request failed; see the error code reference.
|
|
62242
|
+
*/
|
|
62243
|
+
403: MediaMediaError;
|
|
62162
62244
|
/**
|
|
62163
62245
|
* Request failed; see the error code reference.
|
|
62164
62246
|
*/
|
|
@@ -62216,6 +62298,10 @@ export type MediaRestoreLibraryErrors = {
|
|
|
62216
62298
|
* Request failed; see the error code reference.
|
|
62217
62299
|
*/
|
|
62218
62300
|
400: MediaMediaError;
|
|
62301
|
+
/**
|
|
62302
|
+
* Request failed; see the error code reference.
|
|
62303
|
+
*/
|
|
62304
|
+
403: MediaMediaError;
|
|
62219
62305
|
/**
|
|
62220
62306
|
* Request failed; see the error code reference.
|
|
62221
62307
|
*/
|
|
@@ -62273,6 +62359,10 @@ export type MediaPurgeLibraryErrors = {
|
|
|
62273
62359
|
* Request failed; see the error code reference.
|
|
62274
62360
|
*/
|
|
62275
62361
|
400: MediaMediaError;
|
|
62362
|
+
/**
|
|
62363
|
+
* Request failed; see the error code reference.
|
|
62364
|
+
*/
|
|
62365
|
+
403: MediaMediaError;
|
|
62276
62366
|
/**
|
|
62277
62367
|
* Request failed; see the error code reference.
|
|
62278
62368
|
*/
|
|
@@ -62347,6 +62437,10 @@ export type MediaListAssetsErrors = {
|
|
|
62347
62437
|
* Request failed; see the error code reference.
|
|
62348
62438
|
*/
|
|
62349
62439
|
400: MediaMediaError;
|
|
62440
|
+
/**
|
|
62441
|
+
* Request failed; see the error code reference.
|
|
62442
|
+
*/
|
|
62443
|
+
403: MediaMediaError;
|
|
62350
62444
|
/**
|
|
62351
62445
|
* Request failed; see the error code reference.
|
|
62352
62446
|
*/
|
|
@@ -62476,6 +62570,10 @@ export type MediaUploadAssetErrors = {
|
|
|
62476
62570
|
* Request failed; see the error code reference.
|
|
62477
62571
|
*/
|
|
62478
62572
|
400: MediaMediaError;
|
|
62573
|
+
/**
|
|
62574
|
+
* Request failed; see the error code reference.
|
|
62575
|
+
*/
|
|
62576
|
+
403: MediaMediaError;
|
|
62479
62577
|
/**
|
|
62480
62578
|
* Request failed; see the error code reference.
|
|
62481
62579
|
*/
|
|
@@ -62522,6 +62620,9 @@ export type MediaImportAssetData = {
|
|
|
62522
62620
|
* Source and upload options for copying content into the library.
|
|
62523
62621
|
*/
|
|
62524
62622
|
body: {
|
|
62623
|
+
/**
|
|
62624
|
+
* File ID to copy into this library; passed as the upload source instead of file bytes.
|
|
62625
|
+
*/
|
|
62525
62626
|
file_id: string;
|
|
62526
62627
|
/**
|
|
62527
62628
|
* Explicit delivery identifier. If omitted, a random value is generated unless use_filename is true.
|
|
@@ -62592,6 +62693,10 @@ export type MediaImportAssetErrors = {
|
|
|
62592
62693
|
* Request failed; see the error code reference.
|
|
62593
62694
|
*/
|
|
62594
62695
|
400: MediaMediaError;
|
|
62696
|
+
/**
|
|
62697
|
+
* Request failed; see the error code reference.
|
|
62698
|
+
*/
|
|
62699
|
+
403: MediaMediaError;
|
|
62595
62700
|
/**
|
|
62596
62701
|
* Request failed; see the error code reference.
|
|
62597
62702
|
*/
|
|
@@ -62653,6 +62758,10 @@ export type MediaDeleteAssetErrors = {
|
|
|
62653
62758
|
* Request failed; see the error code reference.
|
|
62654
62759
|
*/
|
|
62655
62760
|
400: MediaMediaError;
|
|
62761
|
+
/**
|
|
62762
|
+
* Request failed; see the error code reference.
|
|
62763
|
+
*/
|
|
62764
|
+
403: MediaMediaError;
|
|
62656
62765
|
/**
|
|
62657
62766
|
* Request failed; see the error code reference.
|
|
62658
62767
|
*/
|
|
@@ -62714,6 +62823,10 @@ export type MediaGetAssetErrors = {
|
|
|
62714
62823
|
* Request failed; see the error code reference.
|
|
62715
62824
|
*/
|
|
62716
62825
|
400: MediaMediaError;
|
|
62826
|
+
/**
|
|
62827
|
+
* Request failed; see the error code reference.
|
|
62828
|
+
*/
|
|
62829
|
+
403: MediaMediaError;
|
|
62717
62830
|
/**
|
|
62718
62831
|
* Request failed; see the error code reference.
|
|
62719
62832
|
*/
|
|
@@ -62797,6 +62910,10 @@ export type MediaUpdateAssetErrors = {
|
|
|
62797
62910
|
* Request failed; see the error code reference.
|
|
62798
62911
|
*/
|
|
62799
62912
|
400: MediaMediaError;
|
|
62913
|
+
/**
|
|
62914
|
+
* Request failed; see the error code reference.
|
|
62915
|
+
*/
|
|
62916
|
+
403: MediaMediaError;
|
|
62800
62917
|
/**
|
|
62801
62918
|
* Request failed; see the error code reference.
|
|
62802
62919
|
*/
|
|
@@ -62866,6 +62983,10 @@ export type MediaReprocessAssetErrors = {
|
|
|
62866
62983
|
* Request failed; see the error code reference.
|
|
62867
62984
|
*/
|
|
62868
62985
|
400: MediaMediaError;
|
|
62986
|
+
/**
|
|
62987
|
+
* Request failed; see the error code reference.
|
|
62988
|
+
*/
|
|
62989
|
+
403: MediaMediaError;
|
|
62869
62990
|
/**
|
|
62870
62991
|
* Request failed; see the error code reference.
|
|
62871
62992
|
*/
|
|
@@ -62944,6 +63065,10 @@ export type MediaListUnderstandingsErrors = {
|
|
|
62944
63065
|
* Request failed; see the error code reference.
|
|
62945
63066
|
*/
|
|
62946
63067
|
400: MediaMediaError;
|
|
63068
|
+
/**
|
|
63069
|
+
* Request failed; see the error code reference.
|
|
63070
|
+
*/
|
|
63071
|
+
403: MediaMediaError;
|
|
62947
63072
|
/**
|
|
62948
63073
|
* Request failed; see the error code reference.
|
|
62949
63074
|
*/
|
|
@@ -63031,6 +63156,10 @@ export type MediaExpressionSearchErrors = {
|
|
|
63031
63156
|
* Request failed; see the error code reference.
|
|
63032
63157
|
*/
|
|
63033
63158
|
400: MediaMediaError;
|
|
63159
|
+
/**
|
|
63160
|
+
* Request failed; see the error code reference.
|
|
63161
|
+
*/
|
|
63162
|
+
403: MediaMediaError;
|
|
63034
63163
|
/**
|
|
63035
63164
|
* Request failed; see the error code reference.
|
|
63036
63165
|
*/
|
|
@@ -63114,6 +63243,10 @@ export type MediaVisualSearchErrors = {
|
|
|
63114
63243
|
* Request failed; see the error code reference.
|
|
63115
63244
|
*/
|
|
63116
63245
|
400: MediaMediaError;
|
|
63246
|
+
/**
|
|
63247
|
+
* Request failed; see the error code reference.
|
|
63248
|
+
*/
|
|
63249
|
+
403: MediaMediaError;
|
|
63117
63250
|
/**
|
|
63118
63251
|
* Request failed; see the error code reference.
|
|
63119
63252
|
*/
|
|
@@ -63191,6 +63324,10 @@ export type MediaSemanticSearchErrors = {
|
|
|
63191
63324
|
* Request failed; see the error code reference.
|
|
63192
63325
|
*/
|
|
63193
63326
|
400: MediaMediaError;
|
|
63327
|
+
/**
|
|
63328
|
+
* Request failed; see the error code reference.
|
|
63329
|
+
*/
|
|
63330
|
+
403: MediaMediaError;
|
|
63194
63331
|
/**
|
|
63195
63332
|
* Request failed; see the error code reference.
|
|
63196
63333
|
*/
|
|
@@ -63268,6 +63405,10 @@ export type MediaSearchErrors = {
|
|
|
63268
63405
|
* Request failed; see the error code reference.
|
|
63269
63406
|
*/
|
|
63270
63407
|
400: MediaMediaError;
|
|
63408
|
+
/**
|
|
63409
|
+
* Request failed; see the error code reference.
|
|
63410
|
+
*/
|
|
63411
|
+
403: MediaMediaError;
|
|
63271
63412
|
/**
|
|
63272
63413
|
* Request failed; see the error code reference.
|
|
63273
63414
|
*/
|
|
@@ -63330,6 +63471,10 @@ export type MediaListFoldersErrors = {
|
|
|
63330
63471
|
* Request failed; see the error code reference.
|
|
63331
63472
|
*/
|
|
63332
63473
|
400: MediaMediaError;
|
|
63474
|
+
/**
|
|
63475
|
+
* Request failed; see the error code reference.
|
|
63476
|
+
*/
|
|
63477
|
+
403: MediaMediaError;
|
|
63333
63478
|
/**
|
|
63334
63479
|
* Request failed; see the error code reference.
|
|
63335
63480
|
*/
|
|
@@ -63395,6 +63540,10 @@ export type MediaCreateBatchErrors = {
|
|
|
63395
63540
|
* Request failed; see the error code reference.
|
|
63396
63541
|
*/
|
|
63397
63542
|
400: MediaMediaError;
|
|
63543
|
+
/**
|
|
63544
|
+
* Request failed; see the error code reference.
|
|
63545
|
+
*/
|
|
63546
|
+
403: MediaMediaError;
|
|
63398
63547
|
/**
|
|
63399
63548
|
* Request failed; see the error code reference.
|
|
63400
63549
|
*/
|
|
@@ -63456,6 +63605,10 @@ export type MediaGetBatchErrors = {
|
|
|
63456
63605
|
* Request failed; see the error code reference.
|
|
63457
63606
|
*/
|
|
63458
63607
|
400: MediaMediaError;
|
|
63608
|
+
/**
|
|
63609
|
+
* Request failed; see the error code reference.
|
|
63610
|
+
*/
|
|
63611
|
+
403: MediaMediaError;
|
|
63459
63612
|
/**
|
|
63460
63613
|
* Request failed; see the error code reference.
|
|
63461
63614
|
*/
|
|
@@ -63521,6 +63674,10 @@ export type MediaBatchAssetsErrors = {
|
|
|
63521
63674
|
* Request failed; see the error code reference.
|
|
63522
63675
|
*/
|
|
63523
63676
|
400: MediaMediaError;
|
|
63677
|
+
/**
|
|
63678
|
+
* Request failed; see the error code reference.
|
|
63679
|
+
*/
|
|
63680
|
+
403: MediaMediaError;
|
|
63524
63681
|
/**
|
|
63525
63682
|
* Request failed; see the error code reference.
|
|
63526
63683
|
*/
|
|
@@ -63582,6 +63739,10 @@ export type MediaGetJobErrors = {
|
|
|
63582
63739
|
* Request failed; see the error code reference.
|
|
63583
63740
|
*/
|
|
63584
63741
|
400: MediaMediaError;
|
|
63742
|
+
/**
|
|
63743
|
+
* Request failed; see the error code reference.
|
|
63744
|
+
*/
|
|
63745
|
+
403: MediaMediaError;
|
|
63585
63746
|
/**
|
|
63586
63747
|
* Request failed; see the error code reference.
|
|
63587
63748
|
*/
|
|
@@ -63656,6 +63817,10 @@ export type MediaListEventsErrors = {
|
|
|
63656
63817
|
* Request failed; see the error code reference.
|
|
63657
63818
|
*/
|
|
63658
63819
|
400: MediaMediaError;
|
|
63820
|
+
/**
|
|
63821
|
+
* Request failed; see the error code reference.
|
|
63822
|
+
*/
|
|
63823
|
+
403: MediaMediaError;
|
|
63659
63824
|
/**
|
|
63660
63825
|
* Request failed; see the error code reference.
|
|
63661
63826
|
*/
|