@alicloud/agentcore20260804 2.2.0 → 2.3.0

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.
Files changed (119) hide show
  1. package/dist/client.d.ts +162 -16
  2. package/dist/client.js +295 -16
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateCustomAgentRequest.d.ts +765 -0
  5. package/dist/models/CreateCustomAgentRequest.js +591 -0
  6. package/dist/models/CreateCustomAgentRequest.js.map +1 -0
  7. package/dist/models/CreateCustomAgentResponse.d.ts +19 -0
  8. package/dist/models/CreateCustomAgentResponse.js +69 -0
  9. package/dist/models/CreateCustomAgentResponse.js.map +1 -0
  10. package/dist/models/CreateCustomAgentResponseBody.d.ts +923 -0
  11. package/dist/models/CreateCustomAgentResponseBody.js +652 -0
  12. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -0
  13. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +26 -0
  14. package/dist/models/CreateCustomAgentShrinkRequest.js +60 -0
  15. package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -0
  16. package/dist/models/CreateManagedAgentRequest.d.ts +72 -22
  17. package/dist/models/CreateManagedAgentRequest.js +27 -1
  18. package/dist/models/CreateManagedAgentRequest.js.map +1 -1
  19. package/dist/models/CreateManagedAgentResponseBody.d.ts +109 -28
  20. package/dist/models/CreateManagedAgentResponseBody.js +27 -1
  21. package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
  22. package/dist/models/CreateManagedAgentShrinkRequest.d.ts +1 -1
  23. package/dist/models/CreateSkillDraftRequest.d.ts +1 -1
  24. package/dist/models/CreateSkillDraftResponseBody.d.ts +1 -1
  25. package/dist/models/DeleteCustomAgentRequest.d.ts +13 -0
  26. package/dist/models/DeleteCustomAgentRequest.js +54 -0
  27. package/dist/models/DeleteCustomAgentRequest.js.map +1 -0
  28. package/dist/models/DeleteCustomAgentResponse.d.ts +19 -0
  29. package/dist/models/DeleteCustomAgentResponse.js +69 -0
  30. package/dist/models/DeleteCustomAgentResponse.js.map +1 -0
  31. package/dist/models/DeleteCustomAgentResponseBody.d.ts +155 -0
  32. package/dist/models/DeleteCustomAgentResponseBody.js +110 -0
  33. package/dist/models/DeleteCustomAgentResponseBody.js.map +1 -0
  34. package/dist/models/DownloadSkillVersionViaOssResponseBody.d.ts +1 -1
  35. package/dist/models/GetAgentSpecLatestResponseBody.d.ts +19 -2
  36. package/dist/models/GetAgentSpecLatestResponseBody.js.map +1 -1
  37. package/dist/models/GetCustomAgentRequest.d.ts +13 -0
  38. package/dist/models/GetCustomAgentRequest.js +54 -0
  39. package/dist/models/GetCustomAgentRequest.js.map +1 -0
  40. package/dist/models/GetCustomAgentResponse.d.ts +19 -0
  41. package/dist/models/GetCustomAgentResponse.js +69 -0
  42. package/dist/models/GetCustomAgentResponse.js.map +1 -0
  43. package/dist/models/GetCustomAgentResponseBody.d.ts +655 -0
  44. package/dist/models/GetCustomAgentResponseBody.js +652 -0
  45. package/dist/models/GetCustomAgentResponseBody.js.map +1 -0
  46. package/dist/models/GetManagedAgentResponseBody.d.ts +115 -32
  47. package/dist/models/GetManagedAgentResponseBody.js +27 -1
  48. package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
  49. package/dist/models/ListCustomAgentsRequest.d.ts +29 -0
  50. package/dist/models/ListCustomAgentsRequest.js +60 -0
  51. package/dist/models/ListCustomAgentsRequest.js.map +1 -0
  52. package/dist/models/ListCustomAgentsResponse.d.ts +19 -0
  53. package/dist/models/ListCustomAgentsResponse.js +69 -0
  54. package/dist/models/ListCustomAgentsResponse.js.map +1 -0
  55. package/dist/models/ListCustomAgentsResponseBody.d.ts +248 -0
  56. package/dist/models/ListCustomAgentsResponseBody.js +171 -0
  57. package/dist/models/ListCustomAgentsResponseBody.js.map +1 -0
  58. package/dist/models/ListSkillsRequest.d.ts +2 -2
  59. package/dist/models/ListSkillsResponseBody.d.ts +10 -3
  60. package/dist/models/ListSkillsResponseBody.js.map +1 -1
  61. package/dist/models/ListUsersRequest.d.ts +4 -4
  62. package/dist/models/ListUsersResponseBody.d.ts +15 -15
  63. package/dist/models/UpdateCustomAgentRequest.d.ts +757 -0
  64. package/dist/models/UpdateCustomAgentRequest.js +591 -0
  65. package/dist/models/UpdateCustomAgentRequest.js.map +1 -0
  66. package/dist/models/UpdateCustomAgentResponse.d.ts +19 -0
  67. package/dist/models/UpdateCustomAgentResponse.js +69 -0
  68. package/dist/models/UpdateCustomAgentResponse.js.map +1 -0
  69. package/dist/models/UpdateCustomAgentResponseBody.d.ts +910 -0
  70. package/dist/models/UpdateCustomAgentResponseBody.js +652 -0
  71. package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -0
  72. package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +26 -0
  73. package/dist/models/UpdateCustomAgentShrinkRequest.js +60 -0
  74. package/dist/models/UpdateCustomAgentShrinkRequest.js.map +1 -0
  75. package/dist/models/UpdateManagedAgentRequest.d.ts +61 -30
  76. package/dist/models/UpdateManagedAgentRequest.js +27 -1
  77. package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
  78. package/dist/models/UpdateManagedAgentResponseBody.d.ts +61 -28
  79. package/dist/models/UpdateManagedAgentResponseBody.js +27 -1
  80. package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
  81. package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
  82. package/dist/models/model.d.ts +129 -0
  83. package/dist/models/model.js +316 -56
  84. package/dist/models/model.js.map +1 -1
  85. package/package.json +1 -1
  86. package/src/client.ts +313 -16
  87. package/src/models/CreateCustomAgentRequest.ts +1129 -0
  88. package/src/models/CreateCustomAgentResponse.ts +40 -0
  89. package/src/models/CreateCustomAgentResponseBody.ts +1337 -0
  90. package/src/models/CreateCustomAgentShrinkRequest.ts +41 -0
  91. package/src/models/CreateManagedAgentRequest.ts +89 -22
  92. package/src/models/CreateManagedAgentResponseBody.ts +126 -28
  93. package/src/models/CreateManagedAgentShrinkRequest.ts +1 -1
  94. package/src/models/CreateSkillDraftRequest.ts +1 -1
  95. package/src/models/CreateSkillDraftResponseBody.ts +1 -1
  96. package/src/models/DeleteCustomAgentRequest.ts +24 -0
  97. package/src/models/DeleteCustomAgentResponse.ts +40 -0
  98. package/src/models/DeleteCustomAgentResponseBody.ts +211 -0
  99. package/src/models/DownloadSkillVersionViaOssResponseBody.ts +1 -1
  100. package/src/models/GetAgentSpecLatestResponseBody.ts +19 -2
  101. package/src/models/GetCustomAgentRequest.ts +24 -0
  102. package/src/models/GetCustomAgentResponse.ts +40 -0
  103. package/src/models/GetCustomAgentResponseBody.ts +1069 -0
  104. package/src/models/GetManagedAgentResponseBody.ts +132 -32
  105. package/src/models/ListCustomAgentsRequest.ts +44 -0
  106. package/src/models/ListCustomAgentsResponse.ts +40 -0
  107. package/src/models/ListCustomAgentsResponseBody.ts +345 -0
  108. package/src/models/ListSkillsRequest.ts +2 -2
  109. package/src/models/ListSkillsResponseBody.ts +10 -3
  110. package/src/models/ListUsersRequest.ts +4 -4
  111. package/src/models/ListUsersResponseBody.ts +15 -15
  112. package/src/models/UpdateCustomAgentRequest.ts +1121 -0
  113. package/src/models/UpdateCustomAgentResponse.ts +40 -0
  114. package/src/models/UpdateCustomAgentResponseBody.ts +1324 -0
  115. package/src/models/UpdateCustomAgentShrinkRequest.ts +41 -0
  116. package/src/models/UpdateManagedAgentRequest.ts +78 -30
  117. package/src/models/UpdateManagedAgentResponseBody.ts +78 -28
  118. package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
  119. package/src/models/model.ts +129 -0
@@ -0,0 +1,923 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class CreateCustomAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The AgenticFS mount directory in the container, located under /mnt/agenticfs/.
6
+ *
7
+ * @example
8
+ * /mnt/agenticfs/data
9
+ */
10
+ mountPath?: string;
11
+ /**
12
+ * @remarks
13
+ * The relative directory within the mounted access point.
14
+ *
15
+ * @example
16
+ * workspace/data
17
+ */
18
+ path?: string;
19
+ /**
20
+ * @remarks
21
+ * Specifies whether the mount is read-only. A value of true indicates that the mount is read-only. A value of false indicates that the mount is readable and writable.
22
+ *
23
+ * @example
24
+ * false
25
+ */
26
+ readOnly?: boolean;
27
+ /**
28
+ * @remarks
29
+ * The domain name of the AgenticFS access point used for the mount.
30
+ *
31
+ * @example
32
+ * ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
33
+ */
34
+ server?: string;
35
+ static names(): {
36
+ [key: string]: string;
37
+ };
38
+ static types(): {
39
+ [key: string]: any;
40
+ };
41
+ validate(): void;
42
+ constructor(map?: {
43
+ [key: string]: any;
44
+ });
45
+ }
46
+ export declare class CreateCustomAgentResponseBodyDataArtifactCode extends $dara.Model {
47
+ /**
48
+ * @remarks
49
+ * The startup entry point of the code package. Code package deployment is not supported.
50
+ *
51
+ * This parameter is required.
52
+ *
53
+ * @example
54
+ * python app.py
55
+ */
56
+ entrypoint?: string;
57
+ /**
58
+ * @remarks
59
+ * The language runtime identifier of the code package. Code package deployment is not supported.
60
+ *
61
+ * This parameter is required.
62
+ *
63
+ * @example
64
+ * python
65
+ */
66
+ languageRuntime?: string;
67
+ /**
68
+ * @remarks
69
+ * The source URI of the code package. Code package deployment is not supported.
70
+ *
71
+ * This parameter is required.
72
+ *
73
+ * @example
74
+ * oss://my-agent-bucket/packages/agent.zip
75
+ */
76
+ sourceUri?: string;
77
+ static names(): {
78
+ [key: string]: string;
79
+ };
80
+ static types(): {
81
+ [key: string]: any;
82
+ };
83
+ validate(): void;
84
+ constructor(map?: {
85
+ [key: string]: any;
86
+ });
87
+ }
88
+ export declare class CreateCustomAgentResponseBodyDataArtifactContainer extends $dara.Model {
89
+ /**
90
+ * @remarks
91
+ * The custom executable program and startup parameters. If not configured, the default startup method of the image is used.
92
+ *
93
+ * @example
94
+ * python app.py
95
+ */
96
+ entrypoint?: string;
97
+ /**
98
+ * @remarks
99
+ * The ID of the ACR instance to which the image repository belongs.
100
+ *
101
+ * This parameter is required.
102
+ *
103
+ * @example
104
+ * cri-a1b2c3d4e5f6
105
+ */
106
+ instanceId?: string;
107
+ /**
108
+ * @remarks
109
+ * The namespace to which the ACR image repository belongs.
110
+ *
111
+ * This parameter is required.
112
+ *
113
+ * @example
114
+ * my-agent
115
+ */
116
+ namespace?: string;
117
+ /**
118
+ * @remarks
119
+ * The name of the image repository in the ACR namespace.
120
+ *
121
+ * This parameter is required.
122
+ *
123
+ * @example
124
+ * chat-agent
125
+ */
126
+ repo?: string;
127
+ /**
128
+ * @remarks
129
+ * The latest submitted image tag.
130
+ *
131
+ * This parameter is required.
132
+ *
133
+ * @example
134
+ * v1.0.0
135
+ */
136
+ tag?: string;
137
+ /**
138
+ * @remarks
139
+ * The image source type. A value of acr indicates Alibaba Cloud Container Registry.
140
+ *
141
+ * This parameter is required.
142
+ *
143
+ * @example
144
+ * acr
145
+ */
146
+ type?: string;
147
+ static names(): {
148
+ [key: string]: string;
149
+ };
150
+ static types(): {
151
+ [key: string]: any;
152
+ };
153
+ validate(): void;
154
+ constructor(map?: {
155
+ [key: string]: any;
156
+ });
157
+ }
158
+ export declare class CreateCustomAgentResponseBodyDataArtifact extends $dara.Model {
159
+ /**
160
+ * @remarks
161
+ * The code package configuration field. Code package deployment is not supported.
162
+ */
163
+ code?: CreateCustomAgentResponseBodyDataArtifactCode;
164
+ /**
165
+ * @remarks
166
+ * The latest submitted ACR container image configuration.
167
+ */
168
+ container?: CreateCustomAgentResponseBodyDataArtifactContainer;
169
+ /**
170
+ * @remarks
171
+ * The TCP port listened on by the agent service.
172
+ *
173
+ * This parameter is required.
174
+ *
175
+ * @example
176
+ * 8080
177
+ */
178
+ port?: number;
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 CreateCustomAgentResponseBodyDataEnvironmentVariables extends $dara.Model {
191
+ /**
192
+ * @remarks
193
+ * The name of the environment variable.
194
+ *
195
+ * This parameter is required.
196
+ *
197
+ * @example
198
+ * LOG_LEVEL
199
+ */
200
+ name?: string;
201
+ /**
202
+ * @remarks
203
+ * The string value of the environment variable. Empty strings are allowed.
204
+ *
205
+ * This parameter is required.
206
+ *
207
+ * @example
208
+ * info
209
+ */
210
+ value?: string;
211
+ static names(): {
212
+ [key: string]: string;
213
+ };
214
+ static types(): {
215
+ [key: string]: any;
216
+ };
217
+ validate(): void;
218
+ constructor(map?: {
219
+ [key: string]: any;
220
+ });
221
+ }
222
+ export declare class CreateCustomAgentResponseBodyDataEnvironment extends $dara.Model {
223
+ /**
224
+ * @remarks
225
+ * The latest submitted list of environment variables.
226
+ */
227
+ variables?: CreateCustomAgentResponseBodyDataEnvironmentVariables[];
228
+ static names(): {
229
+ [key: string]: string;
230
+ };
231
+ static types(): {
232
+ [key: string]: any;
233
+ };
234
+ validate(): void;
235
+ constructor(map?: {
236
+ [key: string]: any;
237
+ });
238
+ }
239
+ export declare class CreateCustomAgentResponseBodyDataHealthCheck extends $dara.Model {
240
+ /**
241
+ * @remarks
242
+ * This parameter does not take effect.
243
+ *
244
+ * @example
245
+ * 1
246
+ */
247
+ healthyThreshold?: number;
248
+ /**
249
+ * @remarks
250
+ * The interval between two consecutive health checks, in seconds.
251
+ *
252
+ * @example
253
+ * 10
254
+ */
255
+ intervalSeconds?: number;
256
+ /**
257
+ * @remarks
258
+ * The HTTP Health Check Path.
259
+ *
260
+ * @example
261
+ * /healthz
262
+ */
263
+ path?: string;
264
+ /**
265
+ * @remarks
266
+ * The port accessed for the HTTP health check.
267
+ *
268
+ * @example
269
+ * 8080
270
+ */
271
+ port?: number;
272
+ /**
273
+ * @remarks
274
+ * The timeout period for a single health check, in seconds.
275
+ *
276
+ * @example
277
+ * 2
278
+ */
279
+ timeoutSeconds?: number;
280
+ /**
281
+ * @remarks
282
+ * The number of consecutive health check failures required to mark the agent as unhealthy.
283
+ *
284
+ * @example
285
+ * 3
286
+ */
287
+ unhealthyThreshold?: number;
288
+ static names(): {
289
+ [key: string]: string;
290
+ };
291
+ static types(): {
292
+ [key: string]: any;
293
+ };
294
+ validate(): void;
295
+ constructor(map?: {
296
+ [key: string]: any;
297
+ });
298
+ }
299
+ export declare class CreateCustomAgentResponseBodyDataLatestExecutionError extends $dara.Model {
300
+ /**
301
+ * @remarks
302
+ * The reason code for the waiting or execution failure of the latest configuration. This code is used to determine the subsequent handling method.
303
+ *
304
+ * @example
305
+ * AgentExecutionFailed
306
+ */
307
+ code?: string;
308
+ /**
309
+ * @remarks
310
+ * The description of the reason why the latest configuration is waiting or has failed to execute. Refer to the code and retryable fields to determine what to do next.
311
+ *
312
+ * @example
313
+ * The agent execution failed. Check the configuration and resubmit
314
+ */
315
+ message?: string;
316
+ /**
317
+ * @remarks
318
+ * Specifies whether the operation is automatically retried. A value of true indicates that you can query again later. A value of false indicates that you must check and fix the configuration based on the reason, and then resubmit the request.
319
+ */
320
+ retryable?: boolean;
321
+ static names(): {
322
+ [key: string]: string;
323
+ };
324
+ static types(): {
325
+ [key: string]: any;
326
+ };
327
+ validate(): void;
328
+ constructor(map?: {
329
+ [key: string]: any;
330
+ });
331
+ }
332
+ export declare class CreateCustomAgentResponseBodyDataLoggingSls extends $dara.Model {
333
+ /**
334
+ * @remarks
335
+ * The name of the Simple Log Service Logstore that receives agent logs.
336
+ *
337
+ * @example
338
+ * agent-runtime
339
+ */
340
+ logstore?: string;
341
+ /**
342
+ * @remarks
343
+ * The name of the Simple Log Service project that receives agent logs.
344
+ *
345
+ * @example
346
+ * my-agent-logs
347
+ */
348
+ project?: string;
349
+ static names(): {
350
+ [key: string]: string;
351
+ };
352
+ static types(): {
353
+ [key: string]: any;
354
+ };
355
+ validate(): void;
356
+ constructor(map?: {
357
+ [key: string]: any;
358
+ });
359
+ }
360
+ export declare class CreateCustomAgentResponseBodyDataLogging extends $dara.Model {
361
+ /**
362
+ * @remarks
363
+ * The Simple Log Service (SLS) log delivery destination.
364
+ */
365
+ sls?: CreateCustomAgentResponseBodyDataLoggingSls;
366
+ static names(): {
367
+ [key: string]: string;
368
+ };
369
+ static types(): {
370
+ [key: string]: any;
371
+ };
372
+ validate(): void;
373
+ constructor(map?: {
374
+ [key: string]: any;
375
+ });
376
+ }
377
+ export declare class CreateCustomAgentResponseBodyDataNetworkAccessInternet extends $dara.Model {
378
+ /**
379
+ * @remarks
380
+ * Specifies whether Internet access is allowed on the agent side. The actual access is still restricted by the workspace.
381
+ */
382
+ enabled?: boolean;
383
+ static names(): {
384
+ [key: string]: string;
385
+ };
386
+ static types(): {
387
+ [key: string]: any;
388
+ };
389
+ validate(): void;
390
+ constructor(map?: {
391
+ [key: string]: any;
392
+ });
393
+ }
394
+ export declare class CreateCustomAgentResponseBodyDataNetworkAccessVpc extends $dara.Model {
395
+ /**
396
+ * @remarks
397
+ * Specifies whether access to the user VPC configured for the workspace is allowed on the agent side. The actual access is still restricted by the workspace.
398
+ */
399
+ enabled?: boolean;
400
+ static names(): {
401
+ [key: string]: string;
402
+ };
403
+ static types(): {
404
+ [key: string]: any;
405
+ };
406
+ validate(): void;
407
+ constructor(map?: {
408
+ [key: string]: any;
409
+ });
410
+ }
411
+ export declare class CreateCustomAgentResponseBodyDataNetwork extends $dara.Model {
412
+ /**
413
+ * @remarks
414
+ * The Internet access configuration of the agent. If this field is not configured, Internet access is allowed on the agent side, but it is still restricted by the workspace.
415
+ */
416
+ accessInternet?: CreateCustomAgentResponseBodyDataNetworkAccessInternet;
417
+ /**
418
+ * @remarks
419
+ * The user VPC access configuration of the agent. If this field is not configured, user VPC access is allowed on the agent side, but it is still restricted by the workspace.
420
+ */
421
+ accessVpc?: CreateCustomAgentResponseBodyDataNetworkAccessVpc;
422
+ static names(): {
423
+ [key: string]: string;
424
+ };
425
+ static types(): {
426
+ [key: string]: any;
427
+ };
428
+ validate(): void;
429
+ constructor(map?: {
430
+ [key: string]: any;
431
+ });
432
+ }
433
+ export declare class CreateCustomAgentResponseBodyDataOssMounts extends $dara.Model {
434
+ /**
435
+ * @remarks
436
+ * The name of the mounted OSS bucket.
437
+ *
438
+ * @example
439
+ * my-agent-data
440
+ */
441
+ bucketName?: string;
442
+ /**
443
+ * @remarks
444
+ * The OSS mount directory in the container, located under /mnt/oss/.
445
+ *
446
+ * @example
447
+ * /mnt/oss/train
448
+ */
449
+ mountPath?: string;
450
+ /**
451
+ * @remarks
452
+ * The prefix of the object directory in the mounted bucket.
453
+ *
454
+ * @example
455
+ * datasets/train
456
+ */
457
+ path?: string;
458
+ /**
459
+ * @remarks
460
+ * Specifies whether the mount is read-only. A value of true indicates that the mount is read-only. A value of false indicates that the mount is readable and writable.
461
+ */
462
+ readOnly?: boolean;
463
+ static names(): {
464
+ [key: string]: string;
465
+ };
466
+ static types(): {
467
+ [key: string]: any;
468
+ };
469
+ validate(): void;
470
+ constructor(map?: {
471
+ [key: string]: any;
472
+ });
473
+ }
474
+ export declare class CreateCustomAgentResponseBodyDataProtocolPaths extends $dara.Model {
475
+ /**
476
+ * @remarks
477
+ * The usage description of the current API path.
478
+ *
479
+ * @example
480
+ * AG-UI conversation API
481
+ */
482
+ description?: string;
483
+ /**
484
+ * @remarks
485
+ * The API path corresponding to the current protocol.
486
+ *
487
+ * This parameter is required.
488
+ *
489
+ * @example
490
+ * /agui
491
+ */
492
+ name?: string;
493
+ static names(): {
494
+ [key: string]: string;
495
+ };
496
+ static types(): {
497
+ [key: string]: any;
498
+ };
499
+ validate(): void;
500
+ constructor(map?: {
501
+ [key: string]: any;
502
+ });
503
+ }
504
+ export declare class CreateCustomAgentResponseBodyDataProtocol extends $dara.Model {
505
+ /**
506
+ * @remarks
507
+ * The request header configurations for the current protocol. The key is the header name and the value is a string.
508
+ */
509
+ headers?: {
510
+ [key: string]: string;
511
+ };
512
+ /**
513
+ * @remarks
514
+ * The list of API paths corresponding to the current protocol.
515
+ */
516
+ paths?: CreateCustomAgentResponseBodyDataProtocolPaths[];
517
+ /**
518
+ * @remarks
519
+ * The invocation protocol type. Valid values:
520
+ * - agui: AG-UI protocol.
521
+ * - openai-chat-completion: OpenAI Chat Completions compatible protocol.
522
+ * - custom: Custom protocol.
523
+ *
524
+ * This parameter is required.
525
+ *
526
+ * @example
527
+ * agui
528
+ */
529
+ type?: string;
530
+ static names(): {
531
+ [key: string]: string;
532
+ };
533
+ static types(): {
534
+ [key: string]: any;
535
+ };
536
+ validate(): void;
537
+ constructor(map?: {
538
+ [key: string]: any;
539
+ });
540
+ }
541
+ export declare class CreateCustomAgentResponseBodyDataRuntimeCompute extends $dara.Model {
542
+ /**
543
+ * @remarks
544
+ * The compute specification. Valid values:
545
+ * - INTERACTIVE: 1 vCPU and 2 GiB of memory.
546
+ * - STANDARD: 2 vCPUs and 4 GiB of memory.
547
+ * - HEAVY: 4 vCPUs and 8 GiB of memory.
548
+ *
549
+ * This parameter is required.
550
+ *
551
+ * @example
552
+ * STANDARD
553
+ */
554
+ computeClass?: string;
555
+ static names(): {
556
+ [key: string]: string;
557
+ };
558
+ static types(): {
559
+ [key: string]: any;
560
+ };
561
+ validate(): void;
562
+ constructor(map?: {
563
+ [key: string]: any;
564
+ });
565
+ }
566
+ export declare class CreateCustomAgentResponseBodyDataRuntimeHpa extends $dara.Model {
567
+ /**
568
+ * @remarks
569
+ * Specifies whether elastic scaling is enabled. Valid values:
570
+ * - true: Enabled.
571
+ * - false: Disabled.
572
+ *
573
+ * This parameter is required.
574
+ */
575
+ enabled?: boolean;
576
+ /**
577
+ * @remarks
578
+ * The maximum number of concurrent sessions configured for a single runtime instance.
579
+ *
580
+ * @example
581
+ * 100
582
+ */
583
+ maxConcurrentSessionsPerSandbox?: number;
584
+ /**
585
+ * @remarks
586
+ * The maximum number of runtime instances configured.
587
+ *
588
+ * @example
589
+ * 10
590
+ */
591
+ maxSandboxCount?: number;
592
+ /**
593
+ * @remarks
594
+ * The minimum number of runtime instances configured.
595
+ *
596
+ * @example
597
+ * 1
598
+ */
599
+ minSandboxCount?: number;
600
+ /**
601
+ * @remarks
602
+ * The maximum idle time configured for a session, in seconds.
603
+ *
604
+ * @example
605
+ * 600
606
+ */
607
+ sessionTtlSeconds?: number;
608
+ static names(): {
609
+ [key: string]: string;
610
+ };
611
+ static types(): {
612
+ [key: string]: any;
613
+ };
614
+ validate(): void;
615
+ constructor(map?: {
616
+ [key: string]: any;
617
+ });
618
+ }
619
+ export declare class CreateCustomAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
620
+ /**
621
+ * @remarks
622
+ * The name of the HTTP request header used by the session policy. This parameter applies to ISOLATED_HEADER_FIELD.
623
+ *
624
+ * @example
625
+ * X-Session-Id
626
+ */
627
+ headerName?: string;
628
+ /**
629
+ * @remarks
630
+ * The session policy type. Valid values:
631
+ * - AFFINITY: Session affinity.
632
+ * - ISOLATED_HEADER_FIELD: Associates sessions by using the request header specified by headerName.
633
+ * - ISOLATED_COOKIE: Not recommended.
634
+ * Note: The compatibility value DISABLED in a request is returned as AFFINITY.
635
+ *
636
+ * This parameter is required.
637
+ *
638
+ * @example
639
+ * AFFINITY
640
+ */
641
+ type?: string;
642
+ static names(): {
643
+ [key: string]: string;
644
+ };
645
+ static types(): {
646
+ [key: string]: any;
647
+ };
648
+ validate(): void;
649
+ constructor(map?: {
650
+ [key: string]: any;
651
+ });
652
+ }
653
+ export declare class CreateCustomAgentResponseBodyDataRuntime extends $dara.Model {
654
+ /**
655
+ * @remarks
656
+ * The compute resource configuration for the agent runtime instance.
657
+ *
658
+ * This parameter is required.
659
+ */
660
+ compute?: CreateCustomAgentResponseBodyDataRuntimeCompute;
661
+ /**
662
+ * @remarks
663
+ * The elastic policy configurations for the agent.
664
+ */
665
+ hpa?: CreateCustomAgentResponseBodyDataRuntimeHpa;
666
+ /**
667
+ * @remarks
668
+ * The session policy configurations for the agent.
669
+ *
670
+ * This parameter is required.
671
+ */
672
+ sessionPolicy?: CreateCustomAgentResponseBodyDataRuntimeSessionPolicy;
673
+ static names(): {
674
+ [key: string]: string;
675
+ };
676
+ static types(): {
677
+ [key: string]: any;
678
+ };
679
+ validate(): void;
680
+ constructor(map?: {
681
+ [key: string]: any;
682
+ });
683
+ }
684
+ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
685
+ /**
686
+ * @remarks
687
+ * The unique identifier of the custom agent. You can obtain this ID from the response of the CreateCustomAgent or ListCustomAgents operation.
688
+ *
689
+ * @example
690
+ * agent-550e8400e29b41d4a716446655440000
691
+ */
692
+ agentId?: string;
693
+ /**
694
+ * @remarks
695
+ * The latest submitted list of additional AgenticFS mounts.
696
+ */
697
+ agenticFsMounts?: CreateCustomAgentResponseBodyDataAgenticFsMounts[];
698
+ /**
699
+ * @remarks
700
+ * The latest submitted deployment artifact configuration, including the service listening port and the ACR container image. To check whether the configuration has taken effect, refer to the latestVersionStatus field.
701
+ */
702
+ artifact?: CreateCustomAgentResponseBodyDataArtifact;
703
+ /**
704
+ * @remarks
705
+ * The creation method of the agent. The value is CUSTOM for custom agents.
706
+ *
707
+ * @example
708
+ * CUSTOM
709
+ */
710
+ createMode?: string;
711
+ /**
712
+ * @remarks
713
+ * The creation time of the agent. The time is in ISO 8601 format. The trailing Z indicates the UTC time zone. Fractional seconds may be included.
714
+ *
715
+ * @example
716
+ * 2026-10-10T06:00:00Z
717
+ */
718
+ createdAt?: string;
719
+ /**
720
+ * @remarks
721
+ * The deployment method of the agent. Custom agents are deployed and managed by the platform. The value is MANAGED for custom agents.
722
+ *
723
+ * @example
724
+ * MANAGED
725
+ */
726
+ deployType?: string;
727
+ /**
728
+ * @remarks
729
+ * The description of the agent.
730
+ *
731
+ * @example
732
+ * Custom agent that provides conversation services
733
+ */
734
+ description?: string;
735
+ /**
736
+ * @remarks
737
+ * The environment variable configuration for the agent process.
738
+ */
739
+ environment?: CreateCustomAgentResponseBodyDataEnvironment;
740
+ /**
741
+ * @remarks
742
+ * The HTTP health check configuration of the agent. This field is empty if no health check is configured.
743
+ */
744
+ healthCheck?: CreateCustomAgentResponseBodyDataHealthCheck;
745
+ /**
746
+ * @remarks
747
+ * The waiting or execution error of the latest configuration version. This field is returned only when the version is waiting for a retry or fails to execute.
748
+ */
749
+ latestExecutionError?: CreateCustomAgentResponseBodyDataLatestExecutionError;
750
+ /**
751
+ * @remarks
752
+ * The latest configuration version number. Updates with the same configuration may retain the original version number. This field does not indicate that the configuration has taken effect.
753
+ *
754
+ * @example
755
+ * 1
756
+ */
757
+ latestSpecVersion?: number;
758
+ /**
759
+ * @remarks
760
+ * The execution status corresponding to latestSpecVersion. Valid values:
761
+ * - pending: Waiting for execution.
762
+ * - processing: Executing.
763
+ * - waiting_retry: Waiting for a retry.
764
+ * - succeeded: Execution succeeded.
765
+ * - failed: Execution failed.
766
+ * - superseded: Superseded by a subsequent version.
767
+ *
768
+ * @example
769
+ * succeeded
770
+ */
771
+ latestVersionStatus?: string;
772
+ /**
773
+ * @remarks
774
+ * The latest submitted log delivery configuration.
775
+ */
776
+ logging?: CreateCustomAgentResponseBodyDataLogging;
777
+ /**
778
+ * @remarks
779
+ * The name of the custom agent.
780
+ *
781
+ * @example
782
+ * my-custom-agent
783
+ */
784
+ name?: string;
785
+ /**
786
+ * @remarks
787
+ * The network access configuration of the agent. The actual access scope is also restricted by the network configuration of the workspace.
788
+ */
789
+ network?: CreateCustomAgentResponseBodyDataNetwork;
790
+ /**
791
+ * @remarks
792
+ * The latest submitted list of OSS directory mounts.
793
+ */
794
+ ossMounts?: CreateCustomAgentResponseBodyDataOssMounts[];
795
+ /**
796
+ * @remarks
797
+ * The list of invocation protocol configurations for the agent.
798
+ */
799
+ protocol?: CreateCustomAgentResponseBodyDataProtocol[];
800
+ /**
801
+ * @remarks
802
+ * The region ID of the workspace to which the agent belongs.
803
+ *
804
+ * @example
805
+ * cn-hangzhou
806
+ */
807
+ regionId?: string;
808
+ /**
809
+ * @remarks
810
+ * The ARN of the RAM role used by the agent to access user cloud resources.
811
+ *
812
+ * @example
813
+ * acs:ram::1234567890123456:role/agentcore-runtime-role
814
+ */
815
+ roleArn?: string;
816
+ /**
817
+ * @remarks
818
+ * The runtime configurations of the latest commit, including compute specifications, session policy, and elastic policy.
819
+ */
820
+ runtime?: CreateCustomAgentResponseBodyDataRuntime;
821
+ /**
822
+ * @remarks
823
+ * The instance counts grouped by runtime instance phase. Keys include PENDING (creating or initializing), RUNNING (running), HIBERNATING (hibernating), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (terminating), and FAILED (failed). Only phases that actually occur are returned. Missing keys are treated as 0.
824
+ */
825
+ sandboxPhaseCounts?: {
826
+ [key: string]: number;
827
+ };
828
+ /**
829
+ * @remarks
830
+ * The overall status of the agent. Valid values:
831
+ * - Creating: The agent is being created.
832
+ * - Running: The agent is running.
833
+ * - Failed: The agent failed.
834
+ * - Updating: The agent is being updated.
835
+ * - Deleting: The agent is being deleted.
836
+ * - Deleted: The agent is deleted.
837
+ * To query the execution progress of the latest configuration, check latestVersionStatus.
838
+ *
839
+ * @example
840
+ * Running
841
+ */
842
+ status?: string;
843
+ /**
844
+ * @remarks
845
+ * The time when the agent was last updated. The time is in ISO 8601 format. A trailing Z indicates the UTC time zone. Fractional seconds may be included.
846
+ *
847
+ * @example
848
+ * 2026-10-10T06:05:00Z
849
+ */
850
+ updatedAt?: string;
851
+ /**
852
+ * @remarks
853
+ * The ID of the workspace to which the custom agent belongs.
854
+ *
855
+ * @example
856
+ * ws-a1b2c3d4e5f6
857
+ */
858
+ workspaceId?: string;
859
+ static names(): {
860
+ [key: string]: string;
861
+ };
862
+ static types(): {
863
+ [key: string]: any;
864
+ };
865
+ validate(): void;
866
+ constructor(map?: {
867
+ [key: string]: any;
868
+ });
869
+ }
870
+ export declare class CreateCustomAgentResponseBody extends $dara.Model {
871
+ /**
872
+ * @remarks
873
+ * The request result code. The value is SUCCESS when the request is successful.
874
+ *
875
+ * @example
876
+ * SUCCESS
877
+ */
878
+ code?: string;
879
+ /**
880
+ * @remarks
881
+ * The latest submitted configuration and status of the custom agent. A successful response indicates that the request is accepted, but the configuration may not have taken effect yet.
882
+ */
883
+ data?: CreateCustomAgentResponseBodyData;
884
+ /**
885
+ * @remarks
886
+ * The HTTP status code of the request. A value of 200 indicates success.
887
+ *
888
+ * @example
889
+ * 200
890
+ */
891
+ httpStatusCode?: number;
892
+ /**
893
+ * @remarks
894
+ * The description of the processing result for the request. A value of success indicates that the request was processed successfully.
895
+ *
896
+ * @example
897
+ * success
898
+ */
899
+ message?: string;
900
+ /**
901
+ * @remarks
902
+ * The unique identifier of the request. You can use this ID to locate and troubleshoot issues.
903
+ *
904
+ * @example
905
+ * 550E8400-E29B-41D4-A716-446655440000
906
+ */
907
+ requestId?: string;
908
+ /**
909
+ * @remarks
910
+ * Indicates whether the request was processed successfully. A value of true indicates that the request was processed successfully. Note that a successful creation, update, or deletion does not mean that the background operation is complete.
911
+ */
912
+ success?: boolean;
913
+ static names(): {
914
+ [key: string]: string;
915
+ };
916
+ static types(): {
917
+ [key: string]: any;
918
+ };
919
+ validate(): void;
920
+ constructor(map?: {
921
+ [key: string]: any;
922
+ });
923
+ }