@alicloud/agentcore20260804 3.0.1 → 3.1.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 (126) hide show
  1. package/dist/client.d.ts +370 -188
  2. package/dist/client.js +413 -188
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateCustomAgentRequest.d.ts +155 -53
  5. package/dist/models/CreateCustomAgentRequest.js +61 -1
  6. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  7. package/dist/models/CreateCustomAgentResponseBody.d.ts +305 -58
  8. package/dist/models/CreateCustomAgentResponseBody.js +153 -1
  9. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  10. package/dist/models/CreateIdentityProviderRequest.d.ts +12 -15
  11. package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
  12. package/dist/models/CreateIdentityProviderResponseBody.d.ts +19 -22
  13. package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
  14. package/dist/models/CreateManagedAgentRequest.d.ts +80 -45
  15. package/dist/models/CreateManagedAgentRequest.js +29 -1
  16. package/dist/models/CreateManagedAgentRequest.js.map +1 -1
  17. package/dist/models/CreateManagedAgentResponseBody.d.ts +98 -65
  18. package/dist/models/CreateManagedAgentResponseBody.js +29 -1
  19. package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
  20. package/dist/models/CreateManagedAgentShrinkRequest.d.ts +1 -1
  21. package/dist/models/DeleteIdentityProviderResponseBody.d.ts +10 -10
  22. package/dist/models/DeleteIdentityProviderScimcredentialResponseBody.d.ts +5 -5
  23. package/dist/models/FindCustomAgentImagePreparationRequest.d.ts +23 -0
  24. package/dist/models/FindCustomAgentImagePreparationRequest.js +58 -0
  25. package/dist/models/FindCustomAgentImagePreparationRequest.js.map +1 -0
  26. package/dist/models/FindCustomAgentImagePreparationResponse.d.ts +19 -0
  27. package/dist/models/FindCustomAgentImagePreparationResponse.js +69 -0
  28. package/dist/models/FindCustomAgentImagePreparationResponse.js.map +1 -0
  29. package/dist/models/FindCustomAgentImagePreparationResponseBody.d.ts +135 -0
  30. package/dist/models/FindCustomAgentImagePreparationResponseBody.js +122 -0
  31. package/dist/models/FindCustomAgentImagePreparationResponseBody.js.map +1 -0
  32. package/dist/models/GetCustomAgentImagePreparationRequest.d.ts +13 -0
  33. package/dist/models/GetCustomAgentImagePreparationRequest.js +54 -0
  34. package/dist/models/GetCustomAgentImagePreparationRequest.js.map +1 -0
  35. package/dist/models/GetCustomAgentImagePreparationResponse.d.ts +19 -0
  36. package/dist/models/GetCustomAgentImagePreparationResponse.js +69 -0
  37. package/dist/models/GetCustomAgentImagePreparationResponse.js.map +1 -0
  38. package/dist/models/GetCustomAgentImagePreparationResponseBody.d.ts +135 -0
  39. package/dist/models/GetCustomAgentImagePreparationResponseBody.js +122 -0
  40. package/dist/models/GetCustomAgentImagePreparationResponseBody.js.map +1 -0
  41. package/dist/models/GetCustomAgentResponseBody.d.ts +304 -51
  42. package/dist/models/GetCustomAgentResponseBody.js +153 -1
  43. package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
  44. package/dist/models/GetIdentityProviderResponseBody.d.ts +30 -30
  45. package/dist/models/GetIdentityProviderScimresponseBody.d.ts +22 -18
  46. package/dist/models/GetIdentityProviderScimresponseBody.js.map +1 -1
  47. package/dist/models/GetIdentityProviderServiceProviderRequest.d.ts +1 -1
  48. package/dist/models/GetIdentityProviderServiceProviderResponseBody.d.ts +10 -10
  49. package/dist/models/GetManagedAgentResponseBody.d.ts +106 -75
  50. package/dist/models/GetManagedAgentResponseBody.js +29 -1
  51. package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
  52. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +2 -2
  53. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +1 -1
  54. package/dist/models/ListCustomAgentsRequest.d.ts +2 -2
  55. package/dist/models/ListCustomAgentsResponseBody.d.ts +24 -22
  56. package/dist/models/ListCustomAgentsResponseBody.js.map +1 -1
  57. package/dist/models/ListIdentityProvidersRequest.d.ts +1 -1
  58. package/dist/models/ListIdentityProvidersResponseBody.d.ts +30 -18
  59. package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
  60. package/dist/models/PrepareIdentityProviderScimresponseBody.d.ts +10 -10
  61. package/dist/models/UpdateCustomAgentRequest.d.ts +154 -75
  62. package/dist/models/UpdateCustomAgentRequest.js +61 -1
  63. package/dist/models/UpdateCustomAgentRequest.js.map +1 -1
  64. package/dist/models/UpdateCustomAgentResponseBody.d.ts +310 -65
  65. package/dist/models/UpdateCustomAgentResponseBody.js +153 -1
  66. package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
  67. package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +1 -1
  68. package/dist/models/UpdateIdentityProviderRequest.d.ts +20 -20
  69. package/dist/models/UpdateIdentityProviderResponseBody.d.ts +19 -19
  70. package/dist/models/UpdateIdentityProviderScimrequest.d.ts +2 -2
  71. package/dist/models/UpdateIdentityProviderScimresponseBody.d.ts +28 -28
  72. package/dist/models/UpdateIdentityProviderScimshrinkRequest.d.ts +1 -1
  73. package/dist/models/UpdateIdentityProviderShrinkRequest.d.ts +1 -1
  74. package/dist/models/UpdateManagedAgentRequest.d.ts +83 -46
  75. package/dist/models/UpdateManagedAgentRequest.js +29 -1
  76. package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
  77. package/dist/models/UpdateManagedAgentResponseBody.d.ts +98 -65
  78. package/dist/models/UpdateManagedAgentResponseBody.js +29 -1
  79. package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
  80. package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
  81. package/dist/models/model.d.ts +34 -0
  82. package/dist/models/model.js +267 -198
  83. package/dist/models/model.js.map +1 -1
  84. package/package.json +1 -1
  85. package/src/client.ts +418 -188
  86. package/src/models/CreateCustomAgentRequest.ts +197 -53
  87. package/src/models/CreateCustomAgentResponseBody.ts +412 -58
  88. package/src/models/CreateIdentityProviderRequest.ts +12 -15
  89. package/src/models/CreateIdentityProviderResponseBody.ts +19 -22
  90. package/src/models/CreateManagedAgentRequest.ts +99 -45
  91. package/src/models/CreateManagedAgentResponseBody.ts +117 -65
  92. package/src/models/CreateManagedAgentShrinkRequest.ts +1 -1
  93. package/src/models/DeleteIdentityProviderResponseBody.ts +10 -10
  94. package/src/models/DeleteIdentityProviderScimcredentialResponseBody.ts +5 -5
  95. package/src/models/FindCustomAgentImagePreparationRequest.ts +36 -0
  96. package/src/models/FindCustomAgentImagePreparationResponse.ts +40 -0
  97. package/src/models/FindCustomAgentImagePreparationResponseBody.ts +194 -0
  98. package/src/models/GetCustomAgentImagePreparationRequest.ts +24 -0
  99. package/src/models/GetCustomAgentImagePreparationResponse.ts +40 -0
  100. package/src/models/GetCustomAgentImagePreparationResponseBody.ts +194 -0
  101. package/src/models/GetCustomAgentResponseBody.ts +411 -51
  102. package/src/models/GetIdentityProviderResponseBody.ts +30 -30
  103. package/src/models/GetIdentityProviderScimresponseBody.ts +22 -18
  104. package/src/models/GetIdentityProviderServiceProviderRequest.ts +1 -1
  105. package/src/models/GetIdentityProviderServiceProviderResponseBody.ts +10 -10
  106. package/src/models/GetManagedAgentResponseBody.ts +125 -75
  107. package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +2 -2
  108. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +1 -1
  109. package/src/models/ListCustomAgentsRequest.ts +2 -2
  110. package/src/models/ListCustomAgentsResponseBody.ts +24 -22
  111. package/src/models/ListIdentityProvidersRequest.ts +1 -1
  112. package/src/models/ListIdentityProvidersResponseBody.ts +30 -18
  113. package/src/models/PrepareIdentityProviderScimresponseBody.ts +10 -10
  114. package/src/models/UpdateCustomAgentRequest.ts +196 -75
  115. package/src/models/UpdateCustomAgentResponseBody.ts +417 -65
  116. package/src/models/UpdateCustomAgentShrinkRequest.ts +1 -1
  117. package/src/models/UpdateIdentityProviderRequest.ts +20 -20
  118. package/src/models/UpdateIdentityProviderResponseBody.ts +19 -19
  119. package/src/models/UpdateIdentityProviderScimrequest.ts +2 -2
  120. package/src/models/UpdateIdentityProviderScimresponseBody.ts +28 -28
  121. package/src/models/UpdateIdentityProviderScimshrinkRequest.ts +1 -1
  122. package/src/models/UpdateIdentityProviderShrinkRequest.ts +1 -1
  123. package/src/models/UpdateManagedAgentRequest.ts +102 -46
  124. package/src/models/UpdateManagedAgentResponseBody.ts +117 -65
  125. package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
  126. package/src/models/model.ts +34 -0
@@ -10,7 +10,7 @@ export declare class CreateCustomAgentResponseBodyDataAgenticFsMounts extends $d
10
10
  mountPath?: string;
11
11
  /**
12
12
  * @remarks
13
- * The relative directory within the mounted access point.
13
+ * The relative directory in the mounted access point.
14
14
  *
15
15
  * @example
16
16
  * workspace/data
@@ -20,7 +20,7 @@ export declare class CreateCustomAgentResponseBodyDataAgenticFsMounts extends $d
20
20
  * @remarks
21
21
  * Specifies whether the mount is read-only. Valid values:
22
22
  * - true: Read-only.
23
- * - false: Readable and writable.
23
+ * - false: Read and write.
24
24
  *
25
25
  * @example
26
26
  * false
@@ -48,7 +48,7 @@ export declare class CreateCustomAgentResponseBodyDataAgenticFsMounts extends $d
48
48
  export declare class CreateCustomAgentResponseBodyDataArtifactCode extends $dara.Model {
49
49
  /**
50
50
  * @remarks
51
- * The startup command for the code package. This parameter is required in code package mode. The working directory is the root directory of the extracted code, which is /code. Example: python main.py. Quotes and escapes are supported. Environment variables, pipes, and logical operations are not automatically expanded. For complex commands, use a script within the package.
51
+ * The startup command for the code package. This parameter is required in code package mode. The working directory is the extracted code root directory /code, such as python main.py. Quotes and escapes are supported. Environment variables, pipes, and logical operations are not automatically expanded. Use scripts within the package for complex commands.
52
52
  *
53
53
  * This parameter is required.
54
54
  *
@@ -68,7 +68,7 @@ export declare class CreateCustomAgentResponseBodyDataArtifactCode extends $dara
68
68
  languageRuntime?: string;
69
69
  /**
70
70
  * @remarks
71
- * The oss:// address of the platform-fixed code package referenced in the currently saved configuration. This address does not include the signature parameters of the source HTTPS link. You can use this address to reuse an existing code package. To download the content, call GetAgentCodePackageDownloadUrl.
71
+ * The oss:// address of the platform-fixed code package referenced by the currently saved configuration. This address does not include the signature parameters of the source HTTPS link. You can use this address to reuse an existing code package. To download the content, call GetAgentCodePackageDownloadUrl.
72
72
  *
73
73
  * This parameter is required.
74
74
  *
@@ -100,8 +100,6 @@ export declare class CreateCustomAgentResponseBodyDataArtifactContainer extends
100
100
  * @remarks
101
101
  * The ID of the ACR instance to which the image repository belongs.
102
102
  *
103
- * This parameter is required.
104
- *
105
103
  * @example
106
104
  * cri-a1b2c3d4e5f6
107
105
  */
@@ -110,8 +108,6 @@ export declare class CreateCustomAgentResponseBodyDataArtifactContainer extends
110
108
  * @remarks
111
109
  * The namespace to which the ACR image repository belongs.
112
110
  *
113
- * This parameter is required.
114
- *
115
111
  * @example
116
112
  * my-agent
117
113
  */
@@ -120,8 +116,6 @@ export declare class CreateCustomAgentResponseBodyDataArtifactContainer extends
120
116
  * @remarks
121
117
  * The name of the image repository in the ACR namespace.
122
118
  *
123
- * This parameter is required.
124
- *
125
119
  * @example
126
120
  * chat-agent
127
121
  */
@@ -130,15 +124,13 @@ export declare class CreateCustomAgentResponseBodyDataArtifactContainer extends
130
124
  * @remarks
131
125
  * The latest submitted image tag.
132
126
  *
133
- * This parameter is required.
134
- *
135
127
  * @example
136
128
  * v1.0.0
137
129
  */
138
130
  tag?: string;
139
131
  /**
140
132
  * @remarks
141
- * The source type of the image. A value of acr indicates Alibaba Cloud Container Registry (ACR).
133
+ * The image source type. A value of acr indicates Alibaba Cloud Container Registry (ACR).
142
134
  *
143
135
  * This parameter is required.
144
136
  *
@@ -192,7 +184,7 @@ export declare class CreateCustomAgentResponseBodyDataArtifact extends $dara.Mod
192
184
  export declare class CreateCustomAgentResponseBodyDataCodePackageInfo extends $dara.Model {
193
185
  /**
194
186
  * @remarks
195
- * The CRC64 checksum of the code package object.
187
+ * The CRC64 value of the code package object.
196
188
  *
197
189
  * @example
198
190
  * 456
@@ -241,6 +233,216 @@ export declare class CreateCustomAgentResponseBodyDataCodePackageInfo extends $d
241
233
  [key: string]: any;
242
234
  });
243
235
  }
236
+ export declare class CreateCustomAgentResponseBodyDataCurrentImagePullNetwork extends $dara.Model {
237
+ /**
238
+ * @remarks
239
+ * The ID of the security group. This parameter is required when type is set to vpc. The security group must belong to the selected VPC.
240
+ *
241
+ * @example
242
+ * sg-example
243
+ */
244
+ securityGroupId?: string;
245
+ /**
246
+ * @remarks
247
+ * The type of the pull network. This parameter is required when you submit pullNetwork and is verified by the backend. The default value is public network, which is independent of the agent runtime network.
248
+ *
249
+ * @example
250
+ * public
251
+ */
252
+ type?: string;
253
+ /**
254
+ * @remarks
255
+ * The ID of the security group. This parameter is required when type is set to vpc. The security group must belong to the selected VPC.
256
+ *
257
+ * @example
258
+ * vsw-example
259
+ */
260
+ vSwitchId?: string;
261
+ /**
262
+ * @remarks
263
+ * The ID of the VPC. This parameter is required when type is set to vpc. The account and region to which the VPC belongs are verified by the backend.
264
+ *
265
+ * @example
266
+ * vpc-example
267
+ */
268
+ vpcId?: string;
269
+ static names(): {
270
+ [key: string]: string;
271
+ };
272
+ static types(): {
273
+ [key: string]: any;
274
+ };
275
+ validate(): void;
276
+ constructor(map?: {
277
+ [key: string]: any;
278
+ });
279
+ }
280
+ export declare class CreateCustomAgentResponseBodyDataCurrentImage extends $dara.Model {
281
+ /**
282
+ * @remarks
283
+ * The original image address for the custom source.
284
+ *
285
+ * @example
286
+ * registry.example.com/team/agent:v1
287
+ */
288
+ image?: string;
289
+ /**
290
+ * @remarks
291
+ * The instance ID for the ACR source.
292
+ *
293
+ * @example
294
+ * cri-example
295
+ */
296
+ instanceId?: string;
297
+ /**
298
+ * @remarks
299
+ * The namespace for the ACR source.
300
+ *
301
+ * @example
302
+ * team
303
+ */
304
+ namespace?: string;
305
+ /**
306
+ * @remarks
307
+ * The dedicated pull network for the custom source.
308
+ */
309
+ pullNetwork?: CreateCustomAgentResponseBodyDataCurrentImagePullNetwork;
310
+ /**
311
+ * @remarks
312
+ * The repository name for the ACR source.
313
+ *
314
+ * @example
315
+ * agent
316
+ */
317
+ repo?: string;
318
+ /**
319
+ * @remarks
320
+ * The certificate exception option for the custom source.
321
+ *
322
+ * @example
323
+ * false
324
+ */
325
+ skipTlsVerify?: boolean;
326
+ /**
327
+ * @remarks
328
+ * The image source type of the current active version.
329
+ *
330
+ * @example
331
+ * custom
332
+ */
333
+ sourceType?: string;
334
+ /**
335
+ * @remarks
336
+ * The tag of the ACR source.
337
+ *
338
+ * @example
339
+ * v1
340
+ */
341
+ tag?: string;
342
+ /**
343
+ * @remarks
344
+ * The source snapshot from the current active configuration version. Omitted for anonymous sources. A new source failure does not overwrite this username, and the password is not returned.
345
+ *
346
+ * @example
347
+ * reader
348
+ */
349
+ username?: string;
350
+ static names(): {
351
+ [key: string]: string;
352
+ };
353
+ static types(): {
354
+ [key: string]: any;
355
+ };
356
+ validate(): void;
357
+ constructor(map?: {
358
+ [key: string]: any;
359
+ });
360
+ }
361
+ export declare class CreateCustomAgentResponseBodyDataCustomImagePullNetwork extends $dara.Model {
362
+ /**
363
+ * @remarks
364
+ * The ID of the security group. This parameter is required when type is set to vpc. The security group must belong to the selected VPC.
365
+ *
366
+ * @example
367
+ * sg-example
368
+ */
369
+ securityGroupId?: string;
370
+ /**
371
+ * @remarks
372
+ * The type of the pull network. This parameter is required when you submit pullNetwork and is verified by the backend. The default value is public network, which is independent of the agent runtime network.
373
+ *
374
+ * @example
375
+ * public
376
+ */
377
+ type?: string;
378
+ /**
379
+ * @remarks
380
+ * The ID of the security group. This parameter is required when type is set to vpc. The security group must belong to the selected VPC.
381
+ *
382
+ * @example
383
+ * vsw-example
384
+ */
385
+ vSwitchId?: string;
386
+ /**
387
+ * @remarks
388
+ * The ID of the VPC. This parameter is required when type is set to vpc. The account and region to which the VPC belongs are verified by the backend.
389
+ *
390
+ * @example
391
+ * vpc-example
392
+ */
393
+ vpcId?: string;
394
+ static names(): {
395
+ [key: string]: string;
396
+ };
397
+ static types(): {
398
+ [key: string]: any;
399
+ };
400
+ validate(): void;
401
+ constructor(map?: {
402
+ [key: string]: any;
403
+ });
404
+ }
405
+ export declare class CreateCustomAgentResponseBodyDataCustomImage extends $dara.Model {
406
+ /**
407
+ * @remarks
408
+ * The latest saved source address, which may still be in preparation.
409
+ *
410
+ * @example
411
+ * registry.example.com/team/agent:v1
412
+ */
413
+ image?: string;
414
+ /**
415
+ * @remarks
416
+ * The saved dedicated pull network.
417
+ */
418
+ pullNetwork?: CreateCustomAgentResponseBodyDataCustomImagePullNetwork;
419
+ /**
420
+ * @remarks
421
+ * The saved HTTPS certificate exception option.
422
+ *
423
+ * @example
424
+ * false
425
+ */
426
+ skipTlsVerify?: boolean;
427
+ /**
428
+ * @remarks
429
+ * The username saved after the source is successfully prepared. Omitted for anonymous or unverified sources. This does not indicate the existence of a reusable password.
430
+ *
431
+ * @example
432
+ * reader
433
+ */
434
+ username?: string;
435
+ static names(): {
436
+ [key: string]: string;
437
+ };
438
+ static types(): {
439
+ [key: string]: any;
440
+ };
441
+ validate(): void;
442
+ constructor(map?: {
443
+ [key: string]: any;
444
+ });
445
+ }
244
446
  export declare class CreateCustomAgentResponseBodyDataEnvironmentVariables extends $dara.Model {
245
447
  /**
246
448
  * @remarks
@@ -276,7 +478,7 @@ export declare class CreateCustomAgentResponseBodyDataEnvironmentVariables exten
276
478
  export declare class CreateCustomAgentResponseBodyDataEnvironment extends $dara.Model {
277
479
  /**
278
480
  * @remarks
279
- * The latest submitted list of environment variables.
481
+ * The list of recently submitted environment variables.
280
482
  */
281
483
  variables?: CreateCustomAgentResponseBodyDataEnvironmentVariables[];
282
484
  static names(): {
@@ -297,11 +499,13 @@ export declare class CreateCustomAgentResponseBodyDataHealthCheck extends $dara.
297
499
  *
298
500
  * @example
299
501
  * 1
502
+ *
503
+ * @deprecated
300
504
  */
301
505
  healthyThreshold?: number;
302
506
  /**
303
507
  * @remarks
304
- * The interval between two consecutive health checks, in seconds.
508
+ * The interval between two health checks, in seconds.
305
509
  *
306
510
  * @example
307
511
  * 10
@@ -309,7 +513,7 @@ export declare class CreateCustomAgentResponseBodyDataHealthCheck extends $dara.
309
513
  intervalSeconds?: number;
310
514
  /**
311
515
  * @remarks
312
- * The HTTP Health Check Path.
516
+ * The HTTP health check path.
313
517
  *
314
518
  * @example
315
519
  * /healthz
@@ -392,10 +596,38 @@ export declare class CreateCustomAgentResponseBodyDataImageCachePreparation exte
392
596
  [key: string]: any;
393
597
  });
394
598
  }
599
+ export declare class CreateCustomAgentResponseBodyDataImagePreparation extends $dara.Model {
600
+ /**
601
+ * @remarks
602
+ * The image preparation phase for this request. Configuration acceptance does not mean successful deployment.
603
+ *
604
+ * @example
605
+ * QUEUED
606
+ */
607
+ phase?: string;
608
+ /**
609
+ * @remarks
610
+ * The ID of the task submitted from the console. This is not the RM operationId.
611
+ *
612
+ * @example
613
+ * agent-example:1
614
+ */
615
+ preparationId?: string;
616
+ static names(): {
617
+ [key: string]: string;
618
+ };
619
+ static types(): {
620
+ [key: string]: any;
621
+ };
622
+ validate(): void;
623
+ constructor(map?: {
624
+ [key: string]: any;
625
+ });
626
+ }
395
627
  export declare class CreateCustomAgentResponseBodyDataLatestExecutionError extends $dara.Model {
396
628
  /**
397
629
  * @remarks
398
- * The reason code for the wait or execution failure of the latest configuration, which is used to determine the subsequent handling method.
630
+ * The reason code for the wait or execution failure of the latest configuration, used to determine subsequent processing methods.
399
631
  *
400
632
  * This parameter is required.
401
633
  *
@@ -405,7 +637,7 @@ export declare class CreateCustomAgentResponseBodyDataLatestExecutionError exten
405
637
  code?: string;
406
638
  /**
407
639
  * @remarks
408
- * The description of the reason why the latest configuration failed to wait or execute. Use this field along with the code and retryable fields to determine What to do next.
640
+ * The description of the reason why the latest configuration is waiting or failed to execute. Refer to the code and retryable fields to determine what to do next.
409
641
  *
410
642
  * This parameter is required.
411
643
  *
@@ -415,7 +647,7 @@ export declare class CreateCustomAgentResponseBodyDataLatestExecutionError exten
415
647
  message?: string;
416
648
  /**
417
649
  * @remarks
418
- * Specifies whether the system automatically retries the operation. If the value is true, you can query the status again later. If the value is false, check and fix the configuration based on the failure reason, and then resubmit the request.
650
+ * Specifies whether the system automatically retries the operation. If the value is true, you can query again later. If the value is false, check and fix the configuration based on the reason, and then resubmit.
419
651
  *
420
652
  * This parameter is required.
421
653
  */
@@ -434,7 +666,7 @@ export declare class CreateCustomAgentResponseBodyDataLatestExecutionError exten
434
666
  export declare class CreateCustomAgentResponseBodyDataLoggingSls extends $dara.Model {
435
667
  /**
436
668
  * @remarks
437
- * The name of the Simple Log Service Logstore that receives agent logs.
669
+ * The name of the SLS Logstore that receives agent logs.
438
670
  *
439
671
  * @example
440
672
  * agent-runtime
@@ -442,7 +674,7 @@ export declare class CreateCustomAgentResponseBodyDataLoggingSls extends $dara.M
442
674
  logstore?: string;
443
675
  /**
444
676
  * @remarks
445
- * The name of the Simple Log Service project that receives agent logs.
677
+ * The name of the SLS project that receives agent logs.
446
678
  *
447
679
  * @example
448
680
  * my-agent-logs
@@ -513,12 +745,12 @@ export declare class CreateCustomAgentResponseBodyDataNetworkAccessVpc extends $
513
745
  export declare class CreateCustomAgentResponseBodyDataNetwork extends $dara.Model {
514
746
  /**
515
747
  * @remarks
516
- * The Internet access configuration of the agent. If this field is not configured, Internet access is allowed on the agent side but is still restricted by the workspace.
748
+ * The Internet access configuration of the agent. If this parameter is not configured, Internet access is allowed on the agent side but is still restricted by the workspace.
517
749
  */
518
750
  accessInternet?: CreateCustomAgentResponseBodyDataNetworkAccessInternet;
519
751
  /**
520
752
  * @remarks
521
- * The user VPC access configuration of the agent. If this field is not configured, user VPC access is allowed on the agent side but is still restricted by the workspace.
753
+ * The user VPC access configuration of the agent. If this parameter is not configured, user VPC access is allowed on the agent side but is still restricted by the workspace.
522
754
  */
523
755
  accessVpc?: CreateCustomAgentResponseBodyDataNetworkAccessVpc;
524
756
  static names(): {
@@ -578,7 +810,7 @@ export declare class CreateCustomAgentResponseBodyDataOssMounts extends $dara.Mo
578
810
  * @remarks
579
811
  * Specifies whether the mount is read-only. Valid values:
580
812
  * - true: Read-only.
581
- * - false: Readable and writable.
813
+ * - false: Read and write.
582
814
  */
583
815
  readOnly?: boolean;
584
816
  static names(): {
@@ -595,7 +827,7 @@ export declare class CreateCustomAgentResponseBodyDataOssMounts extends $dara.Mo
595
827
  export declare class CreateCustomAgentResponseBodyDataProtocolPaths extends $dara.Model {
596
828
  /**
597
829
  * @remarks
598
- * The usage description of the current API path.
830
+ * The purpose description of the current API path.
599
831
  *
600
832
  * @example
601
833
  * AG-UI conversation API
@@ -625,7 +857,7 @@ export declare class CreateCustomAgentResponseBodyDataProtocolPaths extends $dar
625
857
  export declare class CreateCustomAgentResponseBodyDataProtocol extends $dara.Model {
626
858
  /**
627
859
  * @remarks
628
- * The request header configuration for the current protocol. The key is the header name, and the value is a string.
860
+ * The request header configuration for the current protocol. The key is the header name and the value is a string.
629
861
  */
630
862
  headers?: {
631
863
  [key: string]: string;
@@ -637,7 +869,10 @@ export declare class CreateCustomAgentResponseBodyDataProtocol extends $dara.Mod
637
869
  paths?: CreateCustomAgentResponseBodyDataProtocolPaths[];
638
870
  /**
639
871
  * @remarks
640
- * The invocation protocol type. Valid values: agui: AG-UI protocol. openai-chat-completion: OpenAI Chat Completions compatible protocol. custom: Custom protocol.
872
+ * The invocation protocol type. Valid values:
873
+ * - agui: AG-UI protocol.
874
+ * - openai-chat-completion: OpenAI Chat Completions compatible protocol.
875
+ * - custom: Custom protocol.
641
876
  *
642
877
  * This parameter is required.
643
878
  *
@@ -659,7 +894,10 @@ export declare class CreateCustomAgentResponseBodyDataProtocol extends $dara.Mod
659
894
  export declare class CreateCustomAgentResponseBodyDataRuntimeCompute extends $dara.Model {
660
895
  /**
661
896
  * @remarks
662
- * The compute specification. Valid values: INTERACTIVE: 1 vCPU and 2 GiB of memory. STANDARD: 2 vCPUs and 4 GiB of memory. HEAVY: 4 vCPUs and 8 GiB of memory.
897
+ * The compute specification. Valid values:
898
+ * - INTERACTIVE: 1 vCPU and 2 GiB of memory.
899
+ * - STANDARD: 2 vCPUs and 4 GiB of memory.
900
+ * - HEAVY: 4 vCPUs and 8 GiB of memory.
663
901
  *
664
902
  * This parameter is required.
665
903
  *
@@ -714,7 +952,7 @@ export declare class CreateCustomAgentResponseBodyDataRuntimeHpa extends $dara.M
714
952
  minSandboxCount?: number;
715
953
  /**
716
954
  * @remarks
717
- * The maximum idle time for a session, in seconds.
955
+ * The maximum idle time configured for a session, in seconds.
718
956
  *
719
957
  * @example
720
958
  * 600
@@ -744,7 +982,7 @@ export declare class CreateCustomAgentResponseBodyDataRuntimeSessionPolicy exten
744
982
  * @remarks
745
983
  * The type of the session policy. Valid values:
746
984
  * - AFFINITY: Session affinity.
747
- * - ISOLATED_HEADER_FIELD: Associates sessions by using the request header specified by headerName.
985
+ * - ISOLATED_HEADER_FIELD: Uses the request header specified by headerName to associate sessions.
748
986
  * ISOLATED_COOKIE is not recommended. The compatible value DISABLED in a request is returned as AFFINITY.
749
987
  *
750
988
  * This parameter is required.
@@ -823,7 +1061,7 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
823
1061
  codePackageInfo?: CreateCustomAgentResponseBodyDataCodePackageInfo;
824
1062
  /**
825
1063
  * @remarks
826
- * The creation method of the agent. For custom agents, the value is CUSTOM.
1064
+ * The creation method of the agent. The value is CUSTOM for custom agents.
827
1065
  *
828
1066
  * @example
829
1067
  * CUSTOM
@@ -831,7 +1069,7 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
831
1069
  createMode?: string;
832
1070
  /**
833
1071
  * @remarks
834
- * The time when the agent was created. The time is in ISO 8601 format. The trailing Z indicates the UTC time zone. Fractional seconds may be included.
1072
+ * 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.
835
1073
  *
836
1074
  * @example
837
1075
  * 2026-10-10T06:00:00Z
@@ -839,7 +1077,17 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
839
1077
  createdAt?: string;
840
1078
  /**
841
1079
  * @remarks
842
- * The deployment method of the agent. Custom agents are deployed and managed by the platform. The value is MANAGED.
1080
+ * The image source snapshot of the current active configuration version. The value is null before the first configuration takes effect. This field does not indicate the health status.
1081
+ */
1082
+ currentImage?: CreateCustomAgentResponseBodyDataCurrentImage;
1083
+ /**
1084
+ * @remarks
1085
+ * The recently saved source and the verified username for this source. The source may be in preparation or failed, and the password is not returned.
1086
+ */
1087
+ customImage?: CreateCustomAgentResponseBodyDataCustomImage;
1088
+ /**
1089
+ * @remarks
1090
+ * The deployment method of the agent. Custom agents are deployed and managed by the platform, and MANAGED is returned.
843
1091
  *
844
1092
  * @example
845
1093
  * MANAGED
@@ -847,7 +1095,7 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
847
1095
  deployType?: string;
848
1096
  /**
849
1097
  * @remarks
850
- * The description of the agent.
1098
+ * The description of the agent\\"s purpose.
851
1099
  *
852
1100
  * @example
853
1101
  * Custom agent that provides conversation services
@@ -855,7 +1103,7 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
855
1103
  description?: string;
856
1104
  /**
857
1105
  * @remarks
858
- * The effective configuration version.
1106
+ * The active configuration version.
859
1107
  *
860
1108
  * This parameter is required.
861
1109
  *
@@ -873,7 +1121,7 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
873
1121
  environment?: CreateCustomAgentResponseBodyDataEnvironment;
874
1122
  /**
875
1123
  * @remarks
876
- * The HTTP health check configuration of the agent. This field is empty if no health check is configured.
1124
+ * The HTTP health check configuration for the agent. Empty if not configured.
877
1125
  */
878
1126
  healthCheck?: CreateCustomAgentResponseBodyDataHealthCheck;
879
1127
  /**
@@ -891,17 +1139,22 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
891
1139
  imageCacheId?: string;
892
1140
  /**
893
1141
  * @remarks
894
- * The cache preparation acceptance summary for this request.
1142
+ * The acceptance summary for the current cache preparation.
895
1143
  */
896
1144
  imageCachePreparation?: CreateCustomAgentResponseBodyDataImageCachePreparation;
897
1145
  /**
898
1146
  * @remarks
899
- * The wait 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.
1147
+ * The currently associated image preparation task. The phase indicates acceptance. Query the preparation API for real-time progress. A regular save does not create an image preparation task.
1148
+ */
1149
+ imagePreparation?: CreateCustomAgentResponseBodyDataImagePreparation;
1150
+ /**
1151
+ * @remarks
1152
+ * The wait or execution error of the latest configuration version. Returned only when this version is waiting for a retry or has failed to execute.
900
1153
  */
901
1154
  latestExecutionError?: CreateCustomAgentResponseBodyDataLatestExecutionError;
902
1155
  /**
903
1156
  * @remarks
904
- * The current latest configuration version number. Updates to the same configuration may retain the original version number. This field does not indicate that the configuration has taken effect.
1157
+ * 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.
905
1158
  *
906
1159
  * This parameter is required.
907
1160
  *
@@ -911,13 +1164,7 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
911
1164
  latestSpecVersion?: number;
912
1165
  /**
913
1166
  * @remarks
914
- * The execution status corresponding to the latestSpecVersion. Valid values:
915
- * - pending: Waiting for execution.
916
- * - processing: Executing.
917
- * - waiting_retry: Waiting for a retry.
918
- * - succeeded: Execution succeeded.
919
- * - failed: Execution failed.
920
- * - superseded: Superseded by a subsequent version.
1167
+ * The execution status corresponding to latestSpecVersion. pending indicates waiting for execution. processing indicates executing. waiting_retry indicates waiting for a retry. succeeded indicates execution succeeded. failed indicates execution failed. superseded indicates replaced by a subsequent version.
921
1168
  *
922
1169
  * @example
923
1170
  * succeeded
@@ -928,12 +1175,12 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
928
1175
  latestVersionStatus?: string;
929
1176
  /**
930
1177
  * @remarks
931
- * The latest submitted log delivery configuration.
1178
+ * The recently submitted log delivery configuration.
932
1179
  */
933
1180
  logging?: CreateCustomAgentResponseBodyDataLogging;
934
1181
  /**
935
1182
  * @remarks
936
- * The custom agent name.
1183
+ * The name of the custom agent.
937
1184
  *
938
1185
  * This parameter is required.
939
1186
  *
@@ -953,7 +1200,7 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
953
1200
  observability?: CreateCustomAgentResponseBodyDataObservability;
954
1201
  /**
955
1202
  * @remarks
956
- * The latest submitted list of OSS directory mounts.
1203
+ * The list of OSS directory mounts in the latest submission.
957
1204
  */
958
1205
  ossMounts?: CreateCustomAgentResponseBodyDataOssMounts[];
959
1206
  /**
@@ -971,7 +1218,7 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
971
1218
  regionId?: string;
972
1219
  /**
973
1220
  * @remarks
974
- * The Alibaba Cloud Resource Name (ARN) of the RAM role used by the agent to access user cloud resources.
1221
+ * The ARN of the RAM role used by the agent to access user cloud resources.
975
1222
  *
976
1223
  * @example
977
1224
  * acs:ram::1234567890123456:role/agentcore-runtime-role
@@ -979,12 +1226,12 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
979
1226
  roleArn?: string;
980
1227
  /**
981
1228
  * @remarks
982
- * The runtime configuration of the latest commit, including compute specifications, session policy, and elastic policy.
1229
+ * The runtime configuration in the latest commit, including compute specifications, session policy, and elastic policy.
983
1230
  */
984
1231
  runtime?: CreateCustomAgentResponseBodyDataRuntime;
985
1232
  /**
986
1233
  * @remarks
987
- * The instance counts by sandbox 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.
1234
+ * The number of instances counted by running 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.
988
1235
  */
989
1236
  sandboxPhaseCounts?: {
990
1237
  [key: string]: number;
@@ -1016,7 +1263,7 @@ export declare class CreateCustomAgentResponseBodyData extends $dara.Model {
1016
1263
  updatedAt?: string;
1017
1264
  /**
1018
1265
  * @remarks
1019
- * Specifies whether the image cache is enabled.
1266
+ * The image cache toggle.
1020
1267
  *
1021
1268
  * This parameter is required.
1022
1269
  *
@@ -1058,7 +1305,7 @@ export declare class CreateCustomAgentResponseBody extends $dara.Model {
1058
1305
  code?: string;
1059
1306
  /**
1060
1307
  * @remarks
1061
- * 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.
1308
+ * 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.
1062
1309
  *
1063
1310
  * This parameter is required.
1064
1311
  */
@@ -1075,7 +1322,7 @@ export declare class CreateCustomAgentResponseBody extends $dara.Model {
1075
1322
  httpStatusCode?: number;
1076
1323
  /**
1077
1324
  * @remarks
1078
- * The result message of the request. The value is success if the request succeeds.
1325
+ * The description of the processing result for the request. The value is success if the request is successful.
1079
1326
  *
1080
1327
  * This parameter is required.
1081
1328
  *
@@ -1085,7 +1332,7 @@ export declare class CreateCustomAgentResponseBody extends $dara.Model {
1085
1332
  message?: string;
1086
1333
  /**
1087
1334
  * @remarks
1088
- * The unique identifier of the request. You can use this ID to locate and troubleshoot issues.
1335
+ * The unique identifier of the request, which is used to locate and troubleshoot issues.
1089
1336
  *
1090
1337
  * This parameter is required.
1091
1338
  *
@@ -1095,7 +1342,7 @@ export declare class CreateCustomAgentResponseBody extends $dara.Model {
1095
1342
  requestId?: string;
1096
1343
  /**
1097
1344
  * @remarks
1098
- * Indicates whether the request is successful. A value of true indicates success. A successful creation, update, or deletion does not mean that the background operation is complete.
1345
+ * Indicates whether the request was processed successfully. A value of true indicates that the request was processed successfully. A successful creation, update, or deletion does not mean that the background operation is complete.
1099
1346
  *
1100
1347
  * This parameter is required.
1101
1348
  */