@alicloud/agentcore20260804 2.4.0 → 2.5.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 (109) hide show
  1. package/dist/client.d.ts +144 -24
  2. package/dist/client.js +335 -24
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateCustomAgentRequest.d.ts +63 -33
  5. package/dist/models/CreateCustomAgentRequest.js +27 -1
  6. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  7. package/dist/models/CreateCustomAgentResponseBody.d.ts +193 -41
  8. package/dist/models/CreateCustomAgentResponseBody.js +59 -1
  9. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  10. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +1 -1
  11. package/dist/models/CreateImageCacheRequest.d.ts +122 -0
  12. package/dist/models/CreateImageCacheRequest.js +96 -0
  13. package/dist/models/CreateImageCacheRequest.js.map +1 -0
  14. package/dist/models/CreateImageCacheResponse.d.ts +19 -0
  15. package/dist/models/CreateImageCacheResponse.js +69 -0
  16. package/dist/models/CreateImageCacheResponse.js.map +1 -0
  17. package/dist/models/CreateImageCacheResponseBody.d.ts +260 -0
  18. package/dist/models/CreateImageCacheResponseBody.js +140 -0
  19. package/dist/models/CreateImageCacheResponseBody.js.map +1 -0
  20. package/dist/models/CreateImageCacheShrinkRequest.d.ts +50 -0
  21. package/dist/models/CreateImageCacheShrinkRequest.js +64 -0
  22. package/dist/models/CreateImageCacheShrinkRequest.js.map +1 -0
  23. package/dist/models/DeleteImageCacheRequest.d.ts +33 -0
  24. package/dist/models/DeleteImageCacheRequest.js +60 -0
  25. package/dist/models/DeleteImageCacheRequest.js.map +1 -0
  26. package/dist/models/DeleteImageCacheResponse.d.ts +19 -0
  27. package/dist/models/DeleteImageCacheResponse.js +69 -0
  28. package/dist/models/DeleteImageCacheResponse.js.map +1 -0
  29. package/dist/models/DeleteImageCacheResponseBody.d.ts +102 -0
  30. package/dist/models/DeleteImageCacheResponseBody.js +92 -0
  31. package/dist/models/DeleteImageCacheResponseBody.js.map +1 -0
  32. package/dist/models/GetCustomAgentResponseBody.d.ts +130 -66
  33. package/dist/models/GetCustomAgentResponseBody.js +31 -1
  34. package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
  35. package/dist/models/GetImageCacheRequest.d.ts +33 -0
  36. package/dist/models/GetImageCacheRequest.js +60 -0
  37. package/dist/models/GetImageCacheRequest.js.map +1 -0
  38. package/dist/models/GetImageCacheResponse.d.ts +19 -0
  39. package/dist/models/GetImageCacheResponse.js +69 -0
  40. package/dist/models/GetImageCacheResponse.js.map +1 -0
  41. package/dist/models/GetImageCacheResponseBody.d.ts +264 -0
  42. package/dist/models/GetImageCacheResponseBody.js +140 -0
  43. package/dist/models/GetImageCacheResponseBody.js.map +1 -0
  44. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +2 -2
  45. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +23 -1
  46. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js.map +1 -1
  47. package/dist/models/ListImageCachesRequest.d.ts +113 -0
  48. package/dist/models/ListImageCachesRequest.js +80 -0
  49. package/dist/models/ListImageCachesRequest.js.map +1 -0
  50. package/dist/models/ListImageCachesResponse.d.ts +19 -0
  51. package/dist/models/ListImageCachesResponse.js +69 -0
  52. package/dist/models/ListImageCachesResponse.js.map +1 -0
  53. package/dist/models/ListImageCachesResponseBody.d.ts +290 -0
  54. package/dist/models/ListImageCachesResponseBody.js +146 -0
  55. package/dist/models/ListImageCachesResponseBody.js.map +1 -0
  56. package/dist/models/RetryImageCacheRequest.d.ts +60 -0
  57. package/dist/models/RetryImageCacheRequest.js +82 -0
  58. package/dist/models/RetryImageCacheRequest.js.map +1 -0
  59. package/dist/models/RetryImageCacheResponse.d.ts +19 -0
  60. package/dist/models/RetryImageCacheResponse.js +69 -0
  61. package/dist/models/RetryImageCacheResponse.js.map +1 -0
  62. package/dist/models/RetryImageCacheResponseBody.d.ts +264 -0
  63. package/dist/models/RetryImageCacheResponseBody.js +140 -0
  64. package/dist/models/RetryImageCacheResponseBody.js.map +1 -0
  65. package/dist/models/RetryImageCacheShrinkRequest.d.ts +48 -0
  66. package/dist/models/RetryImageCacheShrinkRequest.js +64 -0
  67. package/dist/models/RetryImageCacheShrinkRequest.js.map +1 -0
  68. package/dist/models/UpdateCustomAgentRequest.d.ts +68 -35
  69. package/dist/models/UpdateCustomAgentRequest.js +27 -1
  70. package/dist/models/UpdateCustomAgentRequest.js.map +1 -1
  71. package/dist/models/UpdateCustomAgentResponseBody.d.ts +184 -49
  72. package/dist/models/UpdateCustomAgentResponseBody.js +59 -1
  73. package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
  74. package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +2 -2
  75. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.d.ts +33 -3
  76. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js.map +1 -1
  77. package/dist/models/model.d.ts +35 -0
  78. package/dist/models/model.js +157 -86
  79. package/dist/models/model.js.map +1 -1
  80. package/package.json +1 -1
  81. package/src/client.ts +371 -24
  82. package/src/models/CreateCustomAgentRequest.ts +80 -33
  83. package/src/models/CreateCustomAgentResponseBody.ts +233 -41
  84. package/src/models/CreateCustomAgentShrinkRequest.ts +1 -1
  85. package/src/models/CreateImageCacheRequest.ts +164 -0
  86. package/src/models/CreateImageCacheResponse.ts +40 -0
  87. package/src/models/CreateImageCacheResponseBody.ts +337 -0
  88. package/src/models/CreateImageCacheShrinkRequest.ts +69 -0
  89. package/src/models/DeleteImageCacheRequest.ts +48 -0
  90. package/src/models/DeleteImageCacheResponse.ts +40 -0
  91. package/src/models/DeleteImageCacheResponseBody.ts +140 -0
  92. package/src/models/GetCustomAgentResponseBody.ts +151 -66
  93. package/src/models/GetImageCacheRequest.ts +48 -0
  94. package/src/models/GetImageCacheResponse.ts +40 -0
  95. package/src/models/GetImageCacheResponseBody.ts +341 -0
  96. package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +2 -2
  97. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +23 -1
  98. package/src/models/ListImageCachesRequest.ts +148 -0
  99. package/src/models/ListImageCachesResponse.ts +40 -0
  100. package/src/models/ListImageCachesResponseBody.ts +373 -0
  101. package/src/models/RetryImageCacheRequest.ts +90 -0
  102. package/src/models/RetryImageCacheResponse.ts +40 -0
  103. package/src/models/RetryImageCacheResponseBody.ts +341 -0
  104. package/src/models/RetryImageCacheShrinkRequest.ts +67 -0
  105. package/src/models/UpdateCustomAgentRequest.ts +85 -35
  106. package/src/models/UpdateCustomAgentResponseBody.ts +224 -49
  107. package/src/models/UpdateCustomAgentShrinkRequest.ts +2 -2
  108. package/src/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.ts +33 -3
  109. package/src/models/model.ts +35 -0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The subdirectory under /mnt/agenticfs/ in the container. This parameter is required for each mount item. Mount targets must not be duplicated or overlap in a parent-child relationship.
8
+ * The subdirectory under /mnt/agenticfs/ in the container. This parameter is required for each mount item. Mount targets must not be duplicated or overlap in parent-child relationships.
9
9
  *
10
10
  * @example
11
11
  * /mnt/agenticfs/data
@@ -21,7 +21,7 @@ export class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
21
21
  path?: string;
22
22
  /**
23
23
  * @remarks
24
- * Specifies whether the mount is read-only. A value of true indicates read-only, and false indicates read and write. If omitted, the default value is false.
24
+ * Specifies whether the mount is read-only. A value of true indicates read-only, and a value of false indicates read and write. If this parameter is omitted, the default value is false.
25
25
  *
26
26
  * @example
27
27
  * false
@@ -29,7 +29,7 @@ export class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
29
29
  readOnly?: boolean;
30
30
  /**
31
31
  * @remarks
32
- * The access point domain name. This parameter is required for each mount item. Use the DomainName from the NAS ListAccessPoints response. Do not include the protocol, port, or path.
32
+ * The domain name of the access point. This parameter is required for each mount item. Use the DomainName from the NAS ListAccessPoints response. Do not include the protocol, port, or path.
33
33
  *
34
34
  * @example
35
35
  * ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
@@ -65,7 +65,7 @@ export class CreateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
65
65
  export class CreateCustomAgentRequestBodyArtifactCode extends $dara.Model {
66
66
  /**
67
67
  * @remarks
68
- * The startup entry point of the code package. Code package deployment is not currently supported. Omit this parameter.
68
+ * The startup entry point for the code package. Code package deployment is not currently supported. Omit this parameter.
69
69
  *
70
70
  * This parameter is required.
71
71
  *
@@ -75,7 +75,7 @@ export class CreateCustomAgentRequestBodyArtifactCode extends $dara.Model {
75
75
  entrypoint?: string;
76
76
  /**
77
77
  * @remarks
78
- * The language runtime identifier of the code package. Code package deployment is not currently supported. Omit this parameter.
78
+ * The language runtime identifier for the code package. Code package deployment is not currently supported. Omit this parameter.
79
79
  *
80
80
  * This parameter is required.
81
81
  *
@@ -345,7 +345,7 @@ export class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model {
345
345
  healthyThreshold?: number;
346
346
  /**
347
347
  * @remarks
348
- * The interval between two health checks, in seconds. It must be a positive integer. If omitted, the default value is 10.
348
+ * The interval between two health checks, in seconds. It must be a positive integer. If this parameter is omitted, the default value is 10.
349
349
  *
350
350
  * @example
351
351
  * 10
@@ -353,7 +353,7 @@ export class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model {
353
353
  intervalSeconds?: number;
354
354
  /**
355
355
  * @remarks
356
- * The HTTP health check path. It must start with a forward slash (/). If omitted, the default value is /healthz.
356
+ * The HTTP health check path. It must start with a forward slash (/). If this parameter is omitted, the default value is /healthz.
357
357
  *
358
358
  * @example
359
359
  * /healthz
@@ -369,7 +369,7 @@ export class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model {
369
369
  port?: number;
370
370
  /**
371
371
  * @remarks
372
- * The timeout period for a single health check, in seconds. It must be a positive integer and less than intervalSeconds. If omitted, the default value is 2.
372
+ * The timeout period for a single health check, in seconds. It must be a positive integer and less than intervalSeconds. If this parameter is omitted, the default value is 2.
373
373
  *
374
374
  * @example
375
375
  * 2
@@ -377,7 +377,7 @@ export class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model {
377
377
  timeoutSeconds?: number;
378
378
  /**
379
379
  * @remarks
380
- * The number of consecutive health check failures required to mark the instance as unhealthy. It must be a positive integer. If omitted, the default value is 3.
380
+ * The number of consecutive health check failures required to mark the agent as unhealthy. It must be a positive integer. If this parameter is omitted, the default value is 3.
381
381
  *
382
382
  * @example
383
383
  * 3
@@ -417,7 +417,7 @@ export class CreateCustomAgentRequestBodyHealthCheck extends $dara.Model {
417
417
  export class CreateCustomAgentRequestBodyLoggingSls extends $dara.Model {
418
418
  /**
419
419
  * @remarks
420
- * The name of the Simple Log Service Logstore that receives the agent logs.
420
+ * The name of the Simple Log Service Logstore that receives agent logs.
421
421
  *
422
422
  * @example
423
423
  * agent-runtime
@@ -425,7 +425,7 @@ export class CreateCustomAgentRequestBodyLoggingSls extends $dara.Model {
425
425
  logstore?: string;
426
426
  /**
427
427
  * @remarks
428
- * The name of the Simple Log Service project that receives the agent logs.
428
+ * The name of the Simple Log Service project that receives agent logs.
429
429
  *
430
430
  * @example
431
431
  * my-agent-logs
@@ -487,7 +487,7 @@ export class CreateCustomAgentRequestBodyLogging extends $dara.Model {
487
487
  export class CreateCustomAgentRequestBodyNetworkAccessInternet extends $dara.Model {
488
488
  /**
489
489
  * @remarks
490
- * Specifies whether to allow the agent to access the Internet. A Boolean value is required when configuring accessInternet. For this to take effect, the workspace must also allow Internet access.
490
+ * Specifies whether to allow the agent to access the Internet. A Boolean value must be provided when configuring accessInternet. For this to take effect, the workspace must also allow Internet access.
491
491
  */
492
492
  enabled?: boolean;
493
493
  static names(): { [key: string]: string } {
@@ -514,7 +514,7 @@ export class CreateCustomAgentRequestBodyNetworkAccessInternet extends $dara.Mod
514
514
  export class CreateCustomAgentRequestBodyNetworkAccessVpc extends $dara.Model {
515
515
  /**
516
516
  * @remarks
517
- * Specifies whether to allow the agent to access the user VPC configured for the workspace. A Boolean value is required when configuring accessVpc. For this to take effect, the workspace must also allow VPC access.
517
+ * Specifies whether to allow the agent to access the user VPC configured for the workspace. A Boolean value must be provided when configuring accessVpc. For this to take effect, the workspace must also allow VPC access.
518
518
  */
519
519
  enabled?: boolean;
520
520
  static names(): { [key: string]: string } {
@@ -578,6 +578,33 @@ export class CreateCustomAgentRequestBodyNetwork extends $dara.Model {
578
578
  }
579
579
  }
580
580
 
581
+ export class CreateCustomAgentRequestBodyObservability extends $dara.Model {
582
+ /**
583
+ * @remarks
584
+ * Default value: true. If set to false, the platform Python probe is not loaded at runtime, and you must collect observability data yourself.
585
+ */
586
+ enabled?: boolean;
587
+ static names(): { [key: string]: string } {
588
+ return {
589
+ enabled: 'enabled',
590
+ };
591
+ }
592
+
593
+ static types(): { [key: string]: any } {
594
+ return {
595
+ enabled: 'boolean',
596
+ };
597
+ }
598
+
599
+ validate() {
600
+ super.validate();
601
+ }
602
+
603
+ constructor(map?: { [key: string]: any }) {
604
+ super(map);
605
+ }
606
+ }
607
+
581
608
  export class CreateCustomAgentRequestBodyOssMounts extends $dara.Model {
582
609
  /**
583
610
  * @remarks
@@ -589,7 +616,7 @@ export class CreateCustomAgentRequestBodyOssMounts extends $dara.Model {
589
616
  bucketName?: string;
590
617
  /**
591
618
  * @remarks
592
- * The subdirectory under /mnt/oss/ in the container. This parameter is required for each mount item. Mount targets must not be duplicated or overlap in a parent-child relationship.
619
+ * The subdirectory under /mnt/oss/ in the container. This parameter is required for each mount item. Mount targets must not be duplicated or form parent-child overlaps.
593
620
  *
594
621
  * @example
595
622
  * /mnt/oss/train
@@ -597,7 +624,7 @@ export class CreateCustomAgentRequestBodyOssMounts extends $dara.Model {
597
624
  mountPath?: string;
598
625
  /**
599
626
  * @remarks
600
- * The non-empty object directory prefix in the bucket, such as datasets/train. Leading and trailing forward slashes (/) are removed. Root directories are not supported. Do not use parent directory references.
627
+ * The non-empty object directory prefix in the bucket, such as datasets/train. Leading and trailing slashes (/) are removed. The root directory is not supported. Do not use parent directory traversal.
601
628
  *
602
629
  * @example
603
630
  * datasets/train
@@ -605,7 +632,7 @@ export class CreateCustomAgentRequestBodyOssMounts extends $dara.Model {
605
632
  path?: string;
606
633
  /**
607
634
  * @remarks
608
- * Specifies whether the mount is read-only. A value of true indicates read-only, and false indicates read and write. If omitted, the default value is false.
635
+ * Specifies whether the mount is read-only. A value of true indicates read-only, and a value of false indicates read and write. If this parameter is omitted, the default value is false.
609
636
  */
610
637
  readOnly?: boolean;
611
638
  static names(): { [key: string]: string } {
@@ -638,7 +665,7 @@ export class CreateCustomAgentRequestBodyOssMounts extends $dara.Model {
638
665
  export class CreateCustomAgentRequestBodyProtocolPaths extends $dara.Model {
639
666
  /**
640
667
  * @remarks
641
- * The usage description of the current API path.
668
+ * The purpose description of the current API path.
642
669
  *
643
670
  * @example
644
671
  * AG-UI conversation API
@@ -764,14 +791,14 @@ export class CreateCustomAgentRequestBodyRuntimeCompute extends $dara.Model {
764
791
  export class CreateCustomAgentRequestBodyRuntimeHpa extends $dara.Model {
765
792
  /**
766
793
  * @remarks
767
- * Specifies whether to enable elastic scaling. A value of true indicates that elastic scaling is enabled. A value of false indicates that elastic scaling is disabled. When runtime is provided, if this field is omitted, the default value is false.
794
+ * Specifies whether to enable elastic scaling. A value of true indicates that elastic scaling is enabled. A value of false indicates that elastic scaling is disabled. When runtime is provided, if this field is omitted, the default value false is used.
768
795
  *
769
796
  * This parameter is required.
770
797
  */
771
798
  enabled?: boolean;
772
799
  /**
773
800
  * @remarks
774
- * The maximum number of concurrent sessions for a single runtime instance. Valid values: 1 to 100. When runtime is provided, if this field is omitted, the default value is 100.
801
+ * The maximum number of concurrent sessions for a single runtime instance. Valid values: 1 to 100. When runtime is provided, if this field is omitted, the default value 100 is used.
775
802
  *
776
803
  * @example
777
804
  * 100
@@ -779,7 +806,7 @@ export class CreateCustomAgentRequestBodyRuntimeHpa extends $dara.Model {
779
806
  maxConcurrentSessionsPerSandbox?: number;
780
807
  /**
781
808
  * @remarks
782
- * The maximum number of runtime instances. Valid values: 1 to 100. The value cannot be less than minSandboxCount. When runtime is provided, if this field is omitted, the default value is 10.
809
+ * The maximum number of runtime instances. Valid values: 1 to 100. The value cannot be less than minSandboxCount. When runtime is provided, if this field is omitted, the default value 10 is used.
783
810
  *
784
811
  * @example
785
812
  * 10
@@ -787,7 +814,7 @@ export class CreateCustomAgentRequestBodyRuntimeHpa extends $dara.Model {
787
814
  maxSandboxCount?: number;
788
815
  /**
789
816
  * @remarks
790
- * The minimum number of runtime instances. Valid values: 1 to 100. The value cannot be greater than maxSandboxCount. When runtime is provided, if this field is omitted, the default value is 1.
817
+ * The minimum number of runtime instances. Valid values: 1 to 100. The value cannot be greater than maxSandboxCount. When runtime is provided, if this field is omitted, the default value 1 is used.
791
818
  *
792
819
  * @example
793
820
  * 1
@@ -795,7 +822,7 @@ export class CreateCustomAgentRequestBodyRuntimeHpa extends $dara.Model {
795
822
  minSandboxCount?: number;
796
823
  /**
797
824
  * @remarks
798
- * The session idle timeout in seconds. Valid values: 60 to 86400. When runtime is provided, if this field is omitted, the default value is 600.
825
+ * The session idle timeout in seconds. Valid values: 60 to 86400. When runtime is provided, if this field is omitted, the default value 600 is used.
799
826
  *
800
827
  * @example
801
828
  * 600
@@ -841,7 +868,7 @@ export class CreateCustomAgentRequestBodyRuntimeSessionPolicy extends $dara.Mode
841
868
  headerName?: string;
842
869
  /**
843
870
  * @remarks
844
- * The session policy type. Valid values: AFFINITY: session affinity; ISOLATED_HEADER_FIELD: associates sessions by using the request header specified by headerName. ISOLATED_COOKIE is not recommended. DISABLED is a compatibility option, and the response returns AFFINITY.
871
+ * The session policy type. Valid values: AFFINITY: session affinity. ISOLATED_HEADER_FIELD: uses the request header specified by headerName to associate sessions. ISOLATED_COOKIE: not recommended for now. DISABLED: compatibility option, and the response returns AFFINITY.
845
872
  *
846
873
  * This parameter is required.
847
874
  *
@@ -929,12 +956,12 @@ export class CreateCustomAgentRequestBodyRuntime extends $dara.Model {
929
956
  export class CreateCustomAgentRequestBody extends $dara.Model {
930
957
  /**
931
958
  * @remarks
932
- * The list of additional AgenticFS mounts. The total number of AgenticFS and OSS mounts cannot exceed 10. If you omit this parameter or pass an empty array [] during creation, no additional mounts are configured. If you omit this parameter during an update, the original value is retained. If you pass an empty array [], the mounts are cleared. You cannot pass null.
959
+ * The list of additional AgenticFS mounts. The total number of AgenticFS mounts and ossMounts cannot exceed 10. If you omit this parameter or pass an empty array [] during creation, no additional mounts are configured. If you omit this parameter during an update, the original value is retained. If you pass an empty array [], the mounts are cleared. You cannot pass null.
933
960
  */
934
961
  agenticFsMounts?: CreateCustomAgentRequestBodyAgenticFsMounts[];
935
962
  /**
936
963
  * @remarks
937
- * The deployment artifact configuration. Currently, only ACR container images are supported. Specify container and the service listening port port. Omit code.
964
+ * The deployment artifact configuration. Currently, only ACR container images are supported. Specify container and the service listening port in port, and omit code.
938
965
  *
939
966
  * This parameter is required.
940
967
  */
@@ -944,7 +971,7 @@ export class CreateCustomAgentRequestBody extends $dara.Model {
944
971
  * The description of the agent\\"s purpose. The maximum length is 1,024 characters after leading and trailing whitespace is removed.
945
972
  *
946
973
  * @example
947
- * Custom agent that provides conversation services
974
+ * Custom agent that provides conversational services
948
975
  */
949
976
  description?: string;
950
977
  /**
@@ -954,12 +981,12 @@ export class CreateCustomAgentRequestBody extends $dara.Model {
954
981
  environment?: CreateCustomAgentRequestBodyEnvironment;
955
982
  /**
956
983
  * @remarks
957
- * The optional HTTP health check configuration. If this object is provided, port is required, and unspecified items use default values. If omitted during creation, no health check is configured. If this top-level field is omitted during an update, the original configuration is retained. If null is passed, the health check is removed.
984
+ * The optional HTTP health check configuration. If this object is provided, you must specify port. Unspecified items use default values. If omitted during creation, no health check is configured. If this top-level field is omitted during an update, the original configuration is retained. If null is passed, the health check is removed.
958
985
  */
959
986
  healthCheck?: CreateCustomAgentRequestBodyHealthCheck;
960
987
  /**
961
988
  * @remarks
962
- * The agent log delivery configuration. You can specify the Simple Log Service project and Logstore. After a successful creation or update, verify that logs are delivered properly.
989
+ * The agent log delivery configuration. You can specify the Simple Log Service project and Logstore. After a successful creation or update, verify whether logs are delivered properly.
963
990
  */
964
991
  logging?: CreateCustomAgentRequestBodyLogging;
965
992
  /**
@@ -974,17 +1001,22 @@ export class CreateCustomAgentRequestBody extends $dara.Model {
974
1001
  name?: string;
975
1002
  /**
976
1003
  * @remarks
977
- * The network access configuration of the agent. If this object is provided, omitted access items are treated as allowed. The actual accessible range is still limited by the workspace network configuration. To retain the original restrictions during an update, specify both accessInternet and accessVpc.
1004
+ * The network access configuration of the agent. If this object is provided, omitted access items are treated as allowed. The actual accessible scope is still limited by the workspace network configuration. To retain the original restrictions during an update, specify both accessInternet and accessVpc.
978
1005
  */
979
1006
  network?: CreateCustomAgentRequestBodyNetwork;
980
1007
  /**
981
1008
  * @remarks
982
- * The list of OSS mounts. The total number of OSS and AgenticFS mounts cannot exceed 10. For each item, you must specify bucketName, path, and mountPath. Mount targets must not be duplicated or overlap. The entire list is replaced during an update. Pass an empty array [] to clear the list.
1009
+ * The high-code agent observability configuration.
1010
+ */
1011
+ observability?: CreateCustomAgentRequestBodyObservability;
1012
+ /**
1013
+ * @remarks
1014
+ * The list of OSS mounts. A maximum of 10 items are allowed in total with agenticFsMounts. Each item must specify bucketName, path, and mountPath. Mount targets must not be duplicated or overlap with each other. When you update the agent, the entire list is replaced. Pass an empty array [] to clear the list.
983
1015
  */
984
1016
  ossMounts?: CreateCustomAgentRequestBodyOssMounts[];
985
1017
  /**
986
1018
  * @remarks
987
- * The list of invocation protocols supported by the agent. Each item includes the protocol type and optional paths and request headers. When updating, replace the entire list.
1019
+ * The list of invocation protocols supported by the agent. Each item includes the protocol type and optional paths and request headers. When you update the agent, the entire list is replaced.
988
1020
  */
989
1021
  protocol?: CreateCustomAgentRequestBodyProtocol[];
990
1022
  /**
@@ -999,11 +1031,19 @@ export class CreateCustomAgentRequestBody extends $dara.Model {
999
1031
  roleArn?: string;
1000
1032
  /**
1001
1033
  * @remarks
1002
- * The runtime configuration, including compute specifications, session policies, and an optional elastic policy. compute and sessionPolicy must be specified together.
1034
+ * The runtime configuration, including compute specifications, session policies, and optional elastic policy. Both compute and sessionPolicy must be specified at the same time.
1003
1035
  *
1004
1036
  * This parameter is required.
1005
1037
  */
1006
1038
  runtime?: CreateCustomAgentRequestBodyRuntime;
1039
+ /**
1040
+ * @remarks
1041
+ * Specifies whether to use the image cache. If omitted during creation, the default value is false. You can explicitly set it to true or false. The new contract rejects null and invalid types. Existing compatibility endpoints are processed according to migration agreements.
1042
+ *
1043
+ * @example
1044
+ * true
1045
+ */
1046
+ useImageCache?: boolean;
1007
1047
  static names(): { [key: string]: string } {
1008
1048
  return {
1009
1049
  agenticFsMounts: 'agenticFsMounts',
@@ -1014,10 +1054,12 @@ export class CreateCustomAgentRequestBody extends $dara.Model {
1014
1054
  logging: 'logging',
1015
1055
  name: 'name',
1016
1056
  network: 'network',
1057
+ observability: 'observability',
1017
1058
  ossMounts: 'ossMounts',
1018
1059
  protocol: 'protocol',
1019
1060
  roleArn: 'roleArn',
1020
1061
  runtime: 'runtime',
1062
+ useImageCache: 'useImageCache',
1021
1063
  };
1022
1064
  }
1023
1065
 
@@ -1031,10 +1073,12 @@ export class CreateCustomAgentRequestBody extends $dara.Model {
1031
1073
  logging: CreateCustomAgentRequestBodyLogging,
1032
1074
  name: 'string',
1033
1075
  network: CreateCustomAgentRequestBodyNetwork,
1076
+ observability: CreateCustomAgentRequestBodyObservability,
1034
1077
  ossMounts: { 'type': 'array', 'itemType': CreateCustomAgentRequestBodyOssMounts },
1035
1078
  protocol: { 'type': 'array', 'itemType': CreateCustomAgentRequestBodyProtocol },
1036
1079
  roleArn: 'string',
1037
1080
  runtime: CreateCustomAgentRequestBodyRuntime,
1081
+ useImageCache: 'boolean',
1038
1082
  };
1039
1083
  }
1040
1084
 
@@ -1057,6 +1101,9 @@ export class CreateCustomAgentRequestBody extends $dara.Model {
1057
1101
  if(this.network && typeof (this.network as any).validate === 'function') {
1058
1102
  (this.network as any).validate();
1059
1103
  }
1104
+ if(this.observability && typeof (this.observability as any).validate === 'function') {
1105
+ (this.observability as any).validate();
1106
+ }
1060
1107
  if(Array.isArray(this.ossMounts)) {
1061
1108
  $dara.Model.validateArray(this.ossMounts);
1062
1109
  }
@@ -1082,7 +1129,7 @@ export class CreateCustomAgentRequest extends $dara.Model {
1082
1129
  body?: CreateCustomAgentRequestBody;
1083
1130
  /**
1084
1131
  * @remarks
1085
- * Idempotency is not currently guaranteed. Do not rely on this parameter to prevent duplicate requests.
1132
+ * Idempotence is not currently guaranteed. Do not rely on this parameter to prevent duplicate requests.
1086
1133
  *
1087
1134
  * @example
1088
1135
  * custom-agent-request-20261010-001