@alicloud/agentcore20260804 2.2.1 → 2.3.1
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/client.d.ts +148 -2
- package/dist/client.js +284 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +765 -0
- package/dist/models/CreateCustomAgentRequest.js +591 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -0
- package/dist/models/CreateCustomAgentResponse.d.ts +19 -0
- package/dist/models/CreateCustomAgentResponse.js +69 -0
- package/dist/models/CreateCustomAgentResponse.js.map +1 -0
- package/dist/models/CreateCustomAgentResponseBody.d.ts +923 -0
- package/dist/models/CreateCustomAgentResponseBody.js +652 -0
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -0
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +26 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js +60 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -0
- package/dist/models/CreateExternalAgentRequest.d.ts +61 -14
- package/dist/models/CreateExternalAgentRequest.js +29 -1
- package/dist/models/CreateExternalAgentRequest.js.map +1 -1
- package/dist/models/CreateExternalAgentResponseBody.d.ts +171 -39
- package/dist/models/CreateExternalAgentResponseBody.js +89 -1
- package/dist/models/CreateExternalAgentResponseBody.js.map +1 -1
- package/dist/models/CreateExternalAgentShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteCustomAgentRequest.d.ts +13 -0
- package/dist/models/DeleteCustomAgentRequest.js +54 -0
- package/dist/models/DeleteCustomAgentRequest.js.map +1 -0
- package/dist/models/DeleteCustomAgentResponse.d.ts +19 -0
- package/dist/models/DeleteCustomAgentResponse.js +69 -0
- package/dist/models/DeleteCustomAgentResponse.js.map +1 -0
- package/dist/models/DeleteCustomAgentResponseBody.d.ts +155 -0
- package/dist/models/DeleteCustomAgentResponseBody.js +110 -0
- package/dist/models/DeleteCustomAgentResponseBody.js.map +1 -0
- package/dist/models/GetCustomAgentRequest.d.ts +13 -0
- package/dist/models/GetCustomAgentRequest.js +54 -0
- package/dist/models/GetCustomAgentRequest.js.map +1 -0
- package/dist/models/GetCustomAgentResponse.d.ts +19 -0
- package/dist/models/GetCustomAgentResponse.js +69 -0
- package/dist/models/GetCustomAgentResponse.js.map +1 -0
- package/dist/models/GetCustomAgentResponseBody.d.ts +655 -0
- package/dist/models/GetCustomAgentResponseBody.js +652 -0
- package/dist/models/GetCustomAgentResponseBody.js.map +1 -0
- package/dist/models/GetExternalAgentResponseBody.d.ts +164 -43
- package/dist/models/GetExternalAgentResponseBody.js +89 -1
- package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
- package/dist/models/ListCustomAgentsRequest.d.ts +29 -0
- package/dist/models/ListCustomAgentsRequest.js +60 -0
- package/dist/models/ListCustomAgentsRequest.js.map +1 -0
- package/dist/models/ListCustomAgentsResponse.d.ts +19 -0
- package/dist/models/ListCustomAgentsResponse.js +69 -0
- package/dist/models/ListCustomAgentsResponse.js.map +1 -0
- package/dist/models/ListCustomAgentsResponseBody.d.ts +248 -0
- package/dist/models/ListCustomAgentsResponseBody.js +171 -0
- package/dist/models/ListCustomAgentsResponseBody.js.map +1 -0
- package/dist/models/ListUsersRequest.d.ts +12 -4
- package/dist/models/ListUsersRequest.js +2 -0
- package/dist/models/ListUsersRequest.js.map +1 -1
- package/dist/models/ListUsersResponseBody.d.ts +14 -14
- package/dist/models/UpdateCustomAgentRequest.d.ts +757 -0
- package/dist/models/UpdateCustomAgentRequest.js +591 -0
- package/dist/models/UpdateCustomAgentRequest.js.map +1 -0
- package/dist/models/UpdateCustomAgentResponse.d.ts +19 -0
- package/dist/models/UpdateCustomAgentResponse.js +69 -0
- package/dist/models/UpdateCustomAgentResponse.js.map +1 -0
- package/dist/models/UpdateCustomAgentResponseBody.d.ts +910 -0
- package/dist/models/UpdateCustomAgentResponseBody.js +652 -0
- package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -0
- package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +26 -0
- package/dist/models/UpdateCustomAgentShrinkRequest.js +60 -0
- package/dist/models/UpdateCustomAgentShrinkRequest.js.map +1 -0
- package/dist/models/UpdateExternalAgentRequest.d.ts +59 -12
- package/dist/models/UpdateExternalAgentRequest.js +29 -1
- package/dist/models/UpdateExternalAgentRequest.js.map +1 -1
- package/dist/models/UpdateExternalAgentResponseBody.d.ts +175 -34
- package/dist/models/UpdateExternalAgentResponseBody.js +89 -1
- package/dist/models/UpdateExternalAgentResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +135 -0
- package/dist/models/model.js +337 -65
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +303 -2
- package/src/models/CreateCustomAgentRequest.ts +1129 -0
- package/src/models/CreateCustomAgentResponse.ts +40 -0
- package/src/models/CreateCustomAgentResponseBody.ts +1337 -0
- package/src/models/CreateCustomAgentShrinkRequest.ts +41 -0
- package/src/models/CreateExternalAgentRequest.ts +80 -14
- package/src/models/CreateExternalAgentResponseBody.ts +232 -39
- package/src/models/CreateExternalAgentShrinkRequest.ts +1 -1
- package/src/models/DeleteCustomAgentRequest.ts +24 -0
- package/src/models/DeleteCustomAgentResponse.ts +40 -0
- package/src/models/DeleteCustomAgentResponseBody.ts +211 -0
- package/src/models/GetCustomAgentRequest.ts +24 -0
- package/src/models/GetCustomAgentResponse.ts +40 -0
- package/src/models/GetCustomAgentResponseBody.ts +1069 -0
- package/src/models/GetExternalAgentResponseBody.ts +225 -43
- package/src/models/ListCustomAgentsRequest.ts +44 -0
- package/src/models/ListCustomAgentsResponse.ts +40 -0
- package/src/models/ListCustomAgentsResponseBody.ts +345 -0
- package/src/models/ListUsersRequest.ts +14 -4
- package/src/models/ListUsersResponseBody.ts +14 -14
- package/src/models/UpdateCustomAgentRequest.ts +1121 -0
- package/src/models/UpdateCustomAgentResponse.ts +40 -0
- package/src/models/UpdateCustomAgentResponseBody.ts +1324 -0
- package/src/models/UpdateCustomAgentShrinkRequest.ts +41 -0
- package/src/models/UpdateExternalAgentRequest.ts +78 -12
- package/src/models/UpdateExternalAgentResponseBody.ts +236 -34
- package/src/models/model.ts +135 -0
|
@@ -0,0 +1,655 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class GetCustomAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @example
|
|
5
|
+
* /mnt/agenticfs/data
|
|
6
|
+
*/
|
|
7
|
+
mountPath?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @example
|
|
10
|
+
* workspace/data
|
|
11
|
+
*/
|
|
12
|
+
path?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @example
|
|
15
|
+
* false
|
|
16
|
+
*/
|
|
17
|
+
readOnly?: boolean;
|
|
18
|
+
/**
|
|
19
|
+
* @example
|
|
20
|
+
* ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
|
|
21
|
+
*/
|
|
22
|
+
server?: string;
|
|
23
|
+
static names(): {
|
|
24
|
+
[key: string]: string;
|
|
25
|
+
};
|
|
26
|
+
static types(): {
|
|
27
|
+
[key: string]: any;
|
|
28
|
+
};
|
|
29
|
+
validate(): void;
|
|
30
|
+
constructor(map?: {
|
|
31
|
+
[key: string]: any;
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
export declare class GetCustomAgentResponseBodyDataArtifactCode extends $dara.Model {
|
|
35
|
+
/**
|
|
36
|
+
* @remarks
|
|
37
|
+
* This parameter is required.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* python app.py
|
|
41
|
+
*/
|
|
42
|
+
entrypoint?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* This parameter is required.
|
|
46
|
+
*
|
|
47
|
+
* @example
|
|
48
|
+
* python
|
|
49
|
+
*/
|
|
50
|
+
languageRuntime?: string;
|
|
51
|
+
/**
|
|
52
|
+
* @remarks
|
|
53
|
+
* This parameter is required.
|
|
54
|
+
*
|
|
55
|
+
* @example
|
|
56
|
+
* oss://my-agent-bucket/packages/agent.zip
|
|
57
|
+
*/
|
|
58
|
+
sourceUri?: string;
|
|
59
|
+
static names(): {
|
|
60
|
+
[key: string]: string;
|
|
61
|
+
};
|
|
62
|
+
static types(): {
|
|
63
|
+
[key: string]: any;
|
|
64
|
+
};
|
|
65
|
+
validate(): void;
|
|
66
|
+
constructor(map?: {
|
|
67
|
+
[key: string]: any;
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
export declare class GetCustomAgentResponseBodyDataArtifactContainer extends $dara.Model {
|
|
71
|
+
/**
|
|
72
|
+
* @example
|
|
73
|
+
* python app.py
|
|
74
|
+
*/
|
|
75
|
+
entrypoint?: string;
|
|
76
|
+
/**
|
|
77
|
+
* @remarks
|
|
78
|
+
* This parameter is required.
|
|
79
|
+
*
|
|
80
|
+
* @example
|
|
81
|
+
* cri-a1b2c3d4e5f6
|
|
82
|
+
*/
|
|
83
|
+
instanceId?: string;
|
|
84
|
+
/**
|
|
85
|
+
* @remarks
|
|
86
|
+
* This parameter is required.
|
|
87
|
+
*
|
|
88
|
+
* @example
|
|
89
|
+
* my-agent
|
|
90
|
+
*/
|
|
91
|
+
namespace?: string;
|
|
92
|
+
/**
|
|
93
|
+
* @remarks
|
|
94
|
+
* This parameter is required.
|
|
95
|
+
*
|
|
96
|
+
* @example
|
|
97
|
+
* chat-agent
|
|
98
|
+
*/
|
|
99
|
+
repo?: string;
|
|
100
|
+
/**
|
|
101
|
+
* @remarks
|
|
102
|
+
* This parameter is required.
|
|
103
|
+
*
|
|
104
|
+
* @example
|
|
105
|
+
* v1.0.0
|
|
106
|
+
*/
|
|
107
|
+
tag?: string;
|
|
108
|
+
/**
|
|
109
|
+
* @remarks
|
|
110
|
+
* This parameter is required.
|
|
111
|
+
*
|
|
112
|
+
* @example
|
|
113
|
+
* acr
|
|
114
|
+
*/
|
|
115
|
+
type?: string;
|
|
116
|
+
static names(): {
|
|
117
|
+
[key: string]: string;
|
|
118
|
+
};
|
|
119
|
+
static types(): {
|
|
120
|
+
[key: string]: any;
|
|
121
|
+
};
|
|
122
|
+
validate(): void;
|
|
123
|
+
constructor(map?: {
|
|
124
|
+
[key: string]: any;
|
|
125
|
+
});
|
|
126
|
+
}
|
|
127
|
+
export declare class GetCustomAgentResponseBodyDataArtifact extends $dara.Model {
|
|
128
|
+
code?: GetCustomAgentResponseBodyDataArtifactCode;
|
|
129
|
+
container?: GetCustomAgentResponseBodyDataArtifactContainer;
|
|
130
|
+
/**
|
|
131
|
+
* @remarks
|
|
132
|
+
* This parameter is required.
|
|
133
|
+
*
|
|
134
|
+
* @example
|
|
135
|
+
* 8080
|
|
136
|
+
*/
|
|
137
|
+
port?: number;
|
|
138
|
+
static names(): {
|
|
139
|
+
[key: string]: string;
|
|
140
|
+
};
|
|
141
|
+
static types(): {
|
|
142
|
+
[key: string]: any;
|
|
143
|
+
};
|
|
144
|
+
validate(): void;
|
|
145
|
+
constructor(map?: {
|
|
146
|
+
[key: string]: any;
|
|
147
|
+
});
|
|
148
|
+
}
|
|
149
|
+
export declare class GetCustomAgentResponseBodyDataEnvironmentVariables extends $dara.Model {
|
|
150
|
+
/**
|
|
151
|
+
* @remarks
|
|
152
|
+
* This parameter is required.
|
|
153
|
+
*
|
|
154
|
+
* @example
|
|
155
|
+
* LOG_LEVEL
|
|
156
|
+
*/
|
|
157
|
+
name?: string;
|
|
158
|
+
/**
|
|
159
|
+
* @remarks
|
|
160
|
+
* This parameter is required.
|
|
161
|
+
*
|
|
162
|
+
* @example
|
|
163
|
+
* info
|
|
164
|
+
*/
|
|
165
|
+
value?: string;
|
|
166
|
+
static names(): {
|
|
167
|
+
[key: string]: string;
|
|
168
|
+
};
|
|
169
|
+
static types(): {
|
|
170
|
+
[key: string]: any;
|
|
171
|
+
};
|
|
172
|
+
validate(): void;
|
|
173
|
+
constructor(map?: {
|
|
174
|
+
[key: string]: any;
|
|
175
|
+
});
|
|
176
|
+
}
|
|
177
|
+
export declare class GetCustomAgentResponseBodyDataEnvironment extends $dara.Model {
|
|
178
|
+
variables?: GetCustomAgentResponseBodyDataEnvironmentVariables[];
|
|
179
|
+
static names(): {
|
|
180
|
+
[key: string]: string;
|
|
181
|
+
};
|
|
182
|
+
static types(): {
|
|
183
|
+
[key: string]: any;
|
|
184
|
+
};
|
|
185
|
+
validate(): void;
|
|
186
|
+
constructor(map?: {
|
|
187
|
+
[key: string]: any;
|
|
188
|
+
});
|
|
189
|
+
}
|
|
190
|
+
export declare class GetCustomAgentResponseBodyDataHealthCheck extends $dara.Model {
|
|
191
|
+
/**
|
|
192
|
+
* @example
|
|
193
|
+
* 1
|
|
194
|
+
*/
|
|
195
|
+
healthyThreshold?: number;
|
|
196
|
+
/**
|
|
197
|
+
* @example
|
|
198
|
+
* 10
|
|
199
|
+
*/
|
|
200
|
+
intervalSeconds?: number;
|
|
201
|
+
/**
|
|
202
|
+
* @example
|
|
203
|
+
* /healthz
|
|
204
|
+
*/
|
|
205
|
+
path?: string;
|
|
206
|
+
/**
|
|
207
|
+
* @example
|
|
208
|
+
* 8080
|
|
209
|
+
*/
|
|
210
|
+
port?: number;
|
|
211
|
+
/**
|
|
212
|
+
* @example
|
|
213
|
+
* 2
|
|
214
|
+
*/
|
|
215
|
+
timeoutSeconds?: number;
|
|
216
|
+
/**
|
|
217
|
+
* @example
|
|
218
|
+
* 3
|
|
219
|
+
*/
|
|
220
|
+
unhealthyThreshold?: number;
|
|
221
|
+
static names(): {
|
|
222
|
+
[key: string]: string;
|
|
223
|
+
};
|
|
224
|
+
static types(): {
|
|
225
|
+
[key: string]: any;
|
|
226
|
+
};
|
|
227
|
+
validate(): void;
|
|
228
|
+
constructor(map?: {
|
|
229
|
+
[key: string]: any;
|
|
230
|
+
});
|
|
231
|
+
}
|
|
232
|
+
export declare class GetCustomAgentResponseBodyDataLatestExecutionError extends $dara.Model {
|
|
233
|
+
/**
|
|
234
|
+
* @example
|
|
235
|
+
* AgentExecutionFailed
|
|
236
|
+
*/
|
|
237
|
+
code?: string;
|
|
238
|
+
/**
|
|
239
|
+
* @example
|
|
240
|
+
* Agent 执行失败,请检查配置后重新提交。
|
|
241
|
+
*/
|
|
242
|
+
message?: string;
|
|
243
|
+
retryable?: boolean;
|
|
244
|
+
static names(): {
|
|
245
|
+
[key: string]: string;
|
|
246
|
+
};
|
|
247
|
+
static types(): {
|
|
248
|
+
[key: string]: any;
|
|
249
|
+
};
|
|
250
|
+
validate(): void;
|
|
251
|
+
constructor(map?: {
|
|
252
|
+
[key: string]: any;
|
|
253
|
+
});
|
|
254
|
+
}
|
|
255
|
+
export declare class GetCustomAgentResponseBodyDataLoggingSls extends $dara.Model {
|
|
256
|
+
/**
|
|
257
|
+
* @example
|
|
258
|
+
* agent-runtime
|
|
259
|
+
*/
|
|
260
|
+
logstore?: string;
|
|
261
|
+
/**
|
|
262
|
+
* @example
|
|
263
|
+
* my-agent-logs
|
|
264
|
+
*/
|
|
265
|
+
project?: string;
|
|
266
|
+
static names(): {
|
|
267
|
+
[key: string]: string;
|
|
268
|
+
};
|
|
269
|
+
static types(): {
|
|
270
|
+
[key: string]: any;
|
|
271
|
+
};
|
|
272
|
+
validate(): void;
|
|
273
|
+
constructor(map?: {
|
|
274
|
+
[key: string]: any;
|
|
275
|
+
});
|
|
276
|
+
}
|
|
277
|
+
export declare class GetCustomAgentResponseBodyDataLogging extends $dara.Model {
|
|
278
|
+
sls?: GetCustomAgentResponseBodyDataLoggingSls;
|
|
279
|
+
static names(): {
|
|
280
|
+
[key: string]: string;
|
|
281
|
+
};
|
|
282
|
+
static types(): {
|
|
283
|
+
[key: string]: any;
|
|
284
|
+
};
|
|
285
|
+
validate(): void;
|
|
286
|
+
constructor(map?: {
|
|
287
|
+
[key: string]: any;
|
|
288
|
+
});
|
|
289
|
+
}
|
|
290
|
+
export declare class GetCustomAgentResponseBodyDataNetworkAccessInternet extends $dara.Model {
|
|
291
|
+
enabled?: boolean;
|
|
292
|
+
static names(): {
|
|
293
|
+
[key: string]: string;
|
|
294
|
+
};
|
|
295
|
+
static types(): {
|
|
296
|
+
[key: string]: any;
|
|
297
|
+
};
|
|
298
|
+
validate(): void;
|
|
299
|
+
constructor(map?: {
|
|
300
|
+
[key: string]: any;
|
|
301
|
+
});
|
|
302
|
+
}
|
|
303
|
+
export declare class GetCustomAgentResponseBodyDataNetworkAccessVpc extends $dara.Model {
|
|
304
|
+
enabled?: boolean;
|
|
305
|
+
static names(): {
|
|
306
|
+
[key: string]: string;
|
|
307
|
+
};
|
|
308
|
+
static types(): {
|
|
309
|
+
[key: string]: any;
|
|
310
|
+
};
|
|
311
|
+
validate(): void;
|
|
312
|
+
constructor(map?: {
|
|
313
|
+
[key: string]: any;
|
|
314
|
+
});
|
|
315
|
+
}
|
|
316
|
+
export declare class GetCustomAgentResponseBodyDataNetwork extends $dara.Model {
|
|
317
|
+
accessInternet?: GetCustomAgentResponseBodyDataNetworkAccessInternet;
|
|
318
|
+
accessVpc?: GetCustomAgentResponseBodyDataNetworkAccessVpc;
|
|
319
|
+
static names(): {
|
|
320
|
+
[key: string]: string;
|
|
321
|
+
};
|
|
322
|
+
static types(): {
|
|
323
|
+
[key: string]: any;
|
|
324
|
+
};
|
|
325
|
+
validate(): void;
|
|
326
|
+
constructor(map?: {
|
|
327
|
+
[key: string]: any;
|
|
328
|
+
});
|
|
329
|
+
}
|
|
330
|
+
export declare class GetCustomAgentResponseBodyDataOssMounts extends $dara.Model {
|
|
331
|
+
/**
|
|
332
|
+
* @example
|
|
333
|
+
* my-agent-data
|
|
334
|
+
*/
|
|
335
|
+
bucketName?: string;
|
|
336
|
+
/**
|
|
337
|
+
* @example
|
|
338
|
+
* /mnt/oss/train
|
|
339
|
+
*/
|
|
340
|
+
mountPath?: string;
|
|
341
|
+
/**
|
|
342
|
+
* @example
|
|
343
|
+
* datasets/train
|
|
344
|
+
*/
|
|
345
|
+
path?: string;
|
|
346
|
+
readOnly?: boolean;
|
|
347
|
+
static names(): {
|
|
348
|
+
[key: string]: string;
|
|
349
|
+
};
|
|
350
|
+
static types(): {
|
|
351
|
+
[key: string]: any;
|
|
352
|
+
};
|
|
353
|
+
validate(): void;
|
|
354
|
+
constructor(map?: {
|
|
355
|
+
[key: string]: any;
|
|
356
|
+
});
|
|
357
|
+
}
|
|
358
|
+
export declare class GetCustomAgentResponseBodyDataProtocolPaths extends $dara.Model {
|
|
359
|
+
/**
|
|
360
|
+
* @example
|
|
361
|
+
* AG-UI 对话接口
|
|
362
|
+
*/
|
|
363
|
+
description?: string;
|
|
364
|
+
/**
|
|
365
|
+
* @remarks
|
|
366
|
+
* This parameter is required.
|
|
367
|
+
*
|
|
368
|
+
* @example
|
|
369
|
+
* /agui
|
|
370
|
+
*/
|
|
371
|
+
name?: string;
|
|
372
|
+
static names(): {
|
|
373
|
+
[key: string]: string;
|
|
374
|
+
};
|
|
375
|
+
static types(): {
|
|
376
|
+
[key: string]: any;
|
|
377
|
+
};
|
|
378
|
+
validate(): void;
|
|
379
|
+
constructor(map?: {
|
|
380
|
+
[key: string]: any;
|
|
381
|
+
});
|
|
382
|
+
}
|
|
383
|
+
export declare class GetCustomAgentResponseBodyDataProtocol extends $dara.Model {
|
|
384
|
+
headers?: {
|
|
385
|
+
[key: string]: string;
|
|
386
|
+
};
|
|
387
|
+
paths?: GetCustomAgentResponseBodyDataProtocolPaths[];
|
|
388
|
+
/**
|
|
389
|
+
* @remarks
|
|
390
|
+
* This parameter is required.
|
|
391
|
+
*
|
|
392
|
+
* @example
|
|
393
|
+
* agui
|
|
394
|
+
*/
|
|
395
|
+
type?: string;
|
|
396
|
+
static names(): {
|
|
397
|
+
[key: string]: string;
|
|
398
|
+
};
|
|
399
|
+
static types(): {
|
|
400
|
+
[key: string]: any;
|
|
401
|
+
};
|
|
402
|
+
validate(): void;
|
|
403
|
+
constructor(map?: {
|
|
404
|
+
[key: string]: any;
|
|
405
|
+
});
|
|
406
|
+
}
|
|
407
|
+
export declare class GetCustomAgentResponseBodyDataRuntimeCompute extends $dara.Model {
|
|
408
|
+
/**
|
|
409
|
+
* @remarks
|
|
410
|
+
* This parameter is required.
|
|
411
|
+
*
|
|
412
|
+
* @example
|
|
413
|
+
* STANDARD
|
|
414
|
+
*/
|
|
415
|
+
computeClass?: string;
|
|
416
|
+
static names(): {
|
|
417
|
+
[key: string]: string;
|
|
418
|
+
};
|
|
419
|
+
static types(): {
|
|
420
|
+
[key: string]: any;
|
|
421
|
+
};
|
|
422
|
+
validate(): void;
|
|
423
|
+
constructor(map?: {
|
|
424
|
+
[key: string]: any;
|
|
425
|
+
});
|
|
426
|
+
}
|
|
427
|
+
export declare class GetCustomAgentResponseBodyDataRuntimeHpa extends $dara.Model {
|
|
428
|
+
/**
|
|
429
|
+
* @remarks
|
|
430
|
+
* This parameter is required.
|
|
431
|
+
*/
|
|
432
|
+
enabled?: boolean;
|
|
433
|
+
/**
|
|
434
|
+
* @remarks
|
|
435
|
+
* 正整数,必须与 sessionTtlSeconds 同时配置。
|
|
436
|
+
*
|
|
437
|
+
* @example
|
|
438
|
+
* 100
|
|
439
|
+
*/
|
|
440
|
+
maxConcurrentSessionsPerSandbox?: number;
|
|
441
|
+
/**
|
|
442
|
+
* @remarks
|
|
443
|
+
* 开启时为正整数,关闭时为非负整数;不得小于 minSandboxCount。
|
|
444
|
+
*
|
|
445
|
+
* @example
|
|
446
|
+
* 10
|
|
447
|
+
*/
|
|
448
|
+
maxSandboxCount?: number;
|
|
449
|
+
/**
|
|
450
|
+
* @remarks
|
|
451
|
+
* 非负整数。开启弹性时必填;关闭时如提供上下限,必须成对提供。
|
|
452
|
+
*
|
|
453
|
+
* @example
|
|
454
|
+
* 1
|
|
455
|
+
*/
|
|
456
|
+
minSandboxCount?: number;
|
|
457
|
+
/**
|
|
458
|
+
* @remarks
|
|
459
|
+
* 正整数,必须与 maxConcurrentSessionsPerSandbox 同时配置。
|
|
460
|
+
*
|
|
461
|
+
* @example
|
|
462
|
+
* 600
|
|
463
|
+
*/
|
|
464
|
+
sessionTtlSeconds?: number;
|
|
465
|
+
static names(): {
|
|
466
|
+
[key: string]: string;
|
|
467
|
+
};
|
|
468
|
+
static types(): {
|
|
469
|
+
[key: string]: any;
|
|
470
|
+
};
|
|
471
|
+
validate(): void;
|
|
472
|
+
constructor(map?: {
|
|
473
|
+
[key: string]: any;
|
|
474
|
+
});
|
|
475
|
+
}
|
|
476
|
+
export declare class GetCustomAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
|
|
477
|
+
/**
|
|
478
|
+
* @example
|
|
479
|
+
* X-Session-Id
|
|
480
|
+
*/
|
|
481
|
+
headerName?: string;
|
|
482
|
+
/**
|
|
483
|
+
* @remarks
|
|
484
|
+
* This parameter is required.
|
|
485
|
+
*
|
|
486
|
+
* @example
|
|
487
|
+
* AFFINITY
|
|
488
|
+
*/
|
|
489
|
+
type?: string;
|
|
490
|
+
static names(): {
|
|
491
|
+
[key: string]: string;
|
|
492
|
+
};
|
|
493
|
+
static types(): {
|
|
494
|
+
[key: string]: any;
|
|
495
|
+
};
|
|
496
|
+
validate(): void;
|
|
497
|
+
constructor(map?: {
|
|
498
|
+
[key: string]: any;
|
|
499
|
+
});
|
|
500
|
+
}
|
|
501
|
+
export declare class GetCustomAgentResponseBodyDataRuntime extends $dara.Model {
|
|
502
|
+
/**
|
|
503
|
+
* @remarks
|
|
504
|
+
* This parameter is required.
|
|
505
|
+
*/
|
|
506
|
+
compute?: GetCustomAgentResponseBodyDataRuntimeCompute;
|
|
507
|
+
/**
|
|
508
|
+
* @remarks
|
|
509
|
+
* Agent 当前 spec 版本的 HPA 配置,与 Managed Agent 一致。开启时必须提供最小和最大 Sandbox 数;并发会话上限与会话空闲超时必须一起配置。
|
|
510
|
+
*/
|
|
511
|
+
hpa?: GetCustomAgentResponseBodyDataRuntimeHpa;
|
|
512
|
+
/**
|
|
513
|
+
* @remarks
|
|
514
|
+
* This parameter is required.
|
|
515
|
+
*/
|
|
516
|
+
sessionPolicy?: GetCustomAgentResponseBodyDataRuntimeSessionPolicy;
|
|
517
|
+
static names(): {
|
|
518
|
+
[key: string]: string;
|
|
519
|
+
};
|
|
520
|
+
static types(): {
|
|
521
|
+
[key: string]: any;
|
|
522
|
+
};
|
|
523
|
+
validate(): void;
|
|
524
|
+
constructor(map?: {
|
|
525
|
+
[key: string]: any;
|
|
526
|
+
});
|
|
527
|
+
}
|
|
528
|
+
export declare class GetCustomAgentResponseBodyData extends $dara.Model {
|
|
529
|
+
/**
|
|
530
|
+
* @example
|
|
531
|
+
* agent-550e8400e29b41d4a716446655440000
|
|
532
|
+
*/
|
|
533
|
+
agentId?: string;
|
|
534
|
+
agenticFsMounts?: GetCustomAgentResponseBodyDataAgenticFsMounts[];
|
|
535
|
+
artifact?: GetCustomAgentResponseBodyDataArtifact;
|
|
536
|
+
/**
|
|
537
|
+
* @example
|
|
538
|
+
* CUSTOM
|
|
539
|
+
*/
|
|
540
|
+
createMode?: string;
|
|
541
|
+
/**
|
|
542
|
+
* @example
|
|
543
|
+
* 2026-10-10T06:00:00Z
|
|
544
|
+
*/
|
|
545
|
+
createdAt?: string;
|
|
546
|
+
/**
|
|
547
|
+
* @example
|
|
548
|
+
* MANAGED
|
|
549
|
+
*/
|
|
550
|
+
deployType?: string;
|
|
551
|
+
/**
|
|
552
|
+
* @example
|
|
553
|
+
* 提供对话服务的自定义智能体
|
|
554
|
+
*/
|
|
555
|
+
description?: string;
|
|
556
|
+
environment?: GetCustomAgentResponseBodyDataEnvironment;
|
|
557
|
+
healthCheck?: GetCustomAgentResponseBodyDataHealthCheck;
|
|
558
|
+
/**
|
|
559
|
+
* @remarks
|
|
560
|
+
* 可选。仅解释同一响应 latestSpecVersion/latestVersionStatus 的等待或失败;正常待处理、执行中或成功时省略。消息由 Console 白名单映射,不返回原始运行时诊断、Checkpoint 或凭证。
|
|
561
|
+
*/
|
|
562
|
+
latestExecutionError?: GetCustomAgentResponseBodyDataLatestExecutionError;
|
|
563
|
+
/**
|
|
564
|
+
* @example
|
|
565
|
+
* 1
|
|
566
|
+
*/
|
|
567
|
+
latestSpecVersion?: number;
|
|
568
|
+
/**
|
|
569
|
+
* @example
|
|
570
|
+
* succeeded
|
|
571
|
+
*/
|
|
572
|
+
latestVersionStatus?: string;
|
|
573
|
+
logging?: GetCustomAgentResponseBodyDataLogging;
|
|
574
|
+
/**
|
|
575
|
+
* @example
|
|
576
|
+
* my-custom-agent
|
|
577
|
+
*/
|
|
578
|
+
name?: string;
|
|
579
|
+
network?: GetCustomAgentResponseBodyDataNetwork;
|
|
580
|
+
ossMounts?: GetCustomAgentResponseBodyDataOssMounts[];
|
|
581
|
+
protocol?: GetCustomAgentResponseBodyDataProtocol[];
|
|
582
|
+
/**
|
|
583
|
+
* @example
|
|
584
|
+
* cn-hangzhou
|
|
585
|
+
*/
|
|
586
|
+
regionId?: string;
|
|
587
|
+
/**
|
|
588
|
+
* @example
|
|
589
|
+
* acs:ram::1234567890123456:role/agentcore-runtime-role
|
|
590
|
+
*/
|
|
591
|
+
roleArn?: string;
|
|
592
|
+
runtime?: GetCustomAgentResponseBodyDataRuntime;
|
|
593
|
+
sandboxPhaseCounts?: {
|
|
594
|
+
[key: string]: number;
|
|
595
|
+
};
|
|
596
|
+
/**
|
|
597
|
+
* @example
|
|
598
|
+
* Running
|
|
599
|
+
*/
|
|
600
|
+
status?: string;
|
|
601
|
+
/**
|
|
602
|
+
* @example
|
|
603
|
+
* 2026-10-10T06:05:00Z
|
|
604
|
+
*/
|
|
605
|
+
updatedAt?: string;
|
|
606
|
+
/**
|
|
607
|
+
* @example
|
|
608
|
+
* ws-a1b2c3d4e5f6
|
|
609
|
+
*/
|
|
610
|
+
workspaceId?: string;
|
|
611
|
+
static names(): {
|
|
612
|
+
[key: string]: string;
|
|
613
|
+
};
|
|
614
|
+
static types(): {
|
|
615
|
+
[key: string]: any;
|
|
616
|
+
};
|
|
617
|
+
validate(): void;
|
|
618
|
+
constructor(map?: {
|
|
619
|
+
[key: string]: any;
|
|
620
|
+
});
|
|
621
|
+
}
|
|
622
|
+
export declare class GetCustomAgentResponseBody extends $dara.Model {
|
|
623
|
+
/**
|
|
624
|
+
* @example
|
|
625
|
+
* SUCCESS
|
|
626
|
+
*/
|
|
627
|
+
code?: string;
|
|
628
|
+
data?: GetCustomAgentResponseBodyData;
|
|
629
|
+
/**
|
|
630
|
+
* @example
|
|
631
|
+
* 200
|
|
632
|
+
*/
|
|
633
|
+
httpStatusCode?: number;
|
|
634
|
+
/**
|
|
635
|
+
* @example
|
|
636
|
+
* success
|
|
637
|
+
*/
|
|
638
|
+
message?: string;
|
|
639
|
+
/**
|
|
640
|
+
* @example
|
|
641
|
+
* 550E8400-E29B-41D4-A716-446655440000
|
|
642
|
+
*/
|
|
643
|
+
requestId?: string;
|
|
644
|
+
success?: boolean;
|
|
645
|
+
static names(): {
|
|
646
|
+
[key: string]: string;
|
|
647
|
+
};
|
|
648
|
+
static types(): {
|
|
649
|
+
[key: string]: any;
|
|
650
|
+
};
|
|
651
|
+
validate(): void;
|
|
652
|
+
constructor(map?: {
|
|
653
|
+
[key: string]: any;
|
|
654
|
+
});
|
|
655
|
+
}
|