@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
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The subdirectory under /mnt/agenticfs/ in the container. This field is validated as required by the backend for each mount entry. Mount targets must not be duplicated or have parent-child overlaps.
8
+ * The subdirectory under /mnt/agenticfs/ in the container. Required for each mount item as validated by the backend. Mount targets must not be duplicated or have parent-child overlaps.
9
9
  *
10
10
  * @example
11
11
  * /mnt/agenticfs/data
@@ -13,7 +13,7 @@ export class CreateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Mod
13
13
  mountPath?: string;
14
14
  /**
15
15
  * @remarks
16
- * A non-empty relative directory that exists under the AccessPoint. This field is validated as required by the backend for each mount entry. Root directories, absolute paths, and parent directory segments are not allowed.
16
+ * The non-empty relative directory that exists under the AccessPoint. Required for each mount item as validated by the backend. Root directories, absolute paths, and parent directory segments are not allowed.
17
17
  *
18
18
  * @example
19
19
  * workspace/data
@@ -29,7 +29,7 @@ export class CreateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Mod
29
29
  readOnly?: boolean;
30
30
  /**
31
31
  * @remarks
32
- * The AccessPoint domain name. This field is validated as required by the backend for each mount entry. Do not include the protocol, port, or path. Use the DomainName value from the NAS ListAccessPoints response.
32
+ * The AccessPoint domain name. Required for each mount item as validated by the backend. Do not include the protocol, port, or path. Use the DomainName from the NAS ListAccessPoints response.
33
33
  *
34
34
  * @example
35
35
  * ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
@@ -64,11 +64,19 @@ export class CreateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Mod
64
64
 
65
65
  export class CreateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector extends $dara.Model {
66
66
  /**
67
+ * @remarks
68
+ * The version selector type. Valid values:
69
+ * - LABEL: select by label.
70
+ * - VERSION: select by specific version.
71
+ *
67
72
  * @example
68
73
  * LABEL
69
74
  */
70
75
  type?: string;
71
76
  /**
77
+ * @remarks
78
+ * The selector value. When the type is LABEL, specify a label name such as latest. When the type is VERSION, specify a specific version number.
79
+ *
72
80
  * @example
73
81
  * latest
74
82
  */
@@ -99,6 +107,8 @@ export class CreateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector e
99
107
  export class CreateManagedAgentResponseBodyDataConfiguredSkills extends $dara.Model {
100
108
  /**
101
109
  * @remarks
110
+ * The skill name in the Workspace AI Registry.
111
+ *
102
112
  * This parameter is required.
103
113
  *
104
114
  * @example
@@ -106,15 +116,27 @@ export class CreateManagedAgentResponseBodyDataConfiguredSkills extends $dara.Mo
106
116
  */
107
117
  name?: string;
108
118
  /**
119
+ * @remarks
120
+ * The skill source type. Valid values:
121
+ * - REFERENCE: referenced from AI Registry.
122
+ * - STATIC: statically bundled with the package.
123
+ *
109
124
  * @example
110
125
  * REFERENCE
111
126
  */
112
127
  sourceType?: string;
113
128
  /**
129
+ * @remarks
130
+ * A legacy compatibility field. Use sourceType and versionSelector for new requests.
131
+ *
114
132
  * @example
115
133
  * 1.0.0
116
134
  */
117
135
  version?: string;
136
+ /**
137
+ * @remarks
138
+ * The version selector for the reference. Defaults to LABEL/latest if omitted. Currently supports LABEL/latest.
139
+ */
118
140
  versionSelector?: CreateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector;
119
141
  static names(): { [key: string]: string } {
120
142
  return {
@@ -369,7 +391,7 @@ export class CreateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
369
391
  overLimit?: boolean;
370
392
  /**
371
393
  * @remarks
372
- * The quota statistical period. A value of day indicates daily and a value of month indicates monthly.
394
+ * The statistical period of the quota. A value of day indicates daily, and a value of month indicates monthly.
373
395
  *
374
396
  * @example
375
397
  * day
@@ -385,7 +407,7 @@ export class CreateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
385
407
  ruleStatus?: string;
386
408
  /**
387
409
  * @remarks
388
- * The maximum number of tokens that can be consumed within a single period.
410
+ * The maximum number of tokens that can be consumed in a single period.
389
411
  *
390
412
  * @example
391
413
  * 1000000
@@ -451,7 +473,7 @@ export class CreateManagedAgentResponseBodyDataModel extends $dara.Model {
451
473
  modelName?: string;
452
474
  /**
453
475
  * @remarks
454
- * The model token quota configuration and quota usage status for the current period. This field is empty if no quota is configured.
476
+ * The model token quota configuration and the quota usage status in the current period. This field is empty if no quota is configured.
455
477
  */
456
478
  quota?: CreateManagedAgentResponseBodyDataModelQuota;
457
479
  static names(): { [key: string]: string } {
@@ -585,7 +607,7 @@ export class CreateManagedAgentResponseBodyDataNetwork extends $dara.Model {
585
607
  export class CreateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
586
608
  /**
587
609
  * @remarks
588
- * The OSS bucket name. This field is validated as required by the backend for each mount entry.
610
+ * The OSS bucket name. Required for each mount item as validated by the backend.
589
611
  *
590
612
  * @example
591
613
  * bucket-001
@@ -593,7 +615,7 @@ export class CreateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
593
615
  bucketName?: string;
594
616
  /**
595
617
  * @remarks
596
- * The absolute mount path in the container. This field is validated as required by the backend for each mount entry.
618
+ * The absolute mount path in the container. Required for each mount item as validated by the backend.
597
619
  *
598
620
  * @example
599
621
  * /mnt/oss/datasets
@@ -674,12 +696,12 @@ export class CreateManagedAgentResponseBodyDataRuntimeCompute extends $dara.Mode
674
696
  export class CreateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
675
697
  /**
676
698
  * @remarks
677
- * Specifies whether to enable auto-scaling. This field is validated as required by the backend when hpa is present.
699
+ * Specifies whether to enable auto scaling. Required when hpa is present, as validated by the backend.
678
700
  */
679
701
  enabled?: boolean;
680
702
  /**
681
703
  * @remarks
682
- * The maximum number of active sessions per sandbox. This field is validated as required by the backend when hpa is present.
704
+ * The maximum number of active sessions per sandbox. Required when hpa is present, as validated by the backend.
683
705
  *
684
706
  * @example
685
707
  * 5
@@ -687,7 +709,7 @@ export class CreateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
687
709
  maxConcurrentSessionsPerSandbox?: number;
688
710
  /**
689
711
  * @remarks
690
- * The maximum number of sandboxes. Required when HPA is enabled. The value must be greater than or equal to the minimum value.
712
+ * The maximum number of sandboxes. Required when HPA is enabled and must be greater than or equal to the minimum value.
691
713
  *
692
714
  * @example
693
715
  * 3
@@ -703,7 +725,7 @@ export class CreateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
703
725
  minSandboxCount?: number;
704
726
  /**
705
727
  * @remarks
706
- * The time-to-live (TTL) for a session after inactivity, in seconds. This field is validated as required by the backend when hpa is present.
728
+ * The time-to-live for an inactive session, in seconds. Required when hpa is present, as validated by the backend.
707
729
  *
708
730
  * @example
709
731
  * 3600
@@ -741,7 +763,7 @@ export class CreateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
741
763
  export class CreateManagedAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
742
764
  /**
743
765
  * @remarks
744
- * The name of the HTTP header used for session affinity. This parameter takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
766
+ * The name of the HTTP header used for session affinity. This parameter takes effect only when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
745
767
  *
746
768
  * @example
747
769
  * X-Session-Id
@@ -790,7 +812,7 @@ export class CreateManagedAgentResponseBodyDataRuntime extends $dara.Model {
790
812
  compute?: CreateManagedAgentResponseBodyDataRuntimeCompute;
791
813
  /**
792
814
  * @remarks
793
- * The sandbox auto-scaling and session configuration.
815
+ * The sandbox auto scaling and session configuration.
794
816
  */
795
817
  hpa?: CreateManagedAgentResponseBodyDataRuntimeHpa;
796
818
  /**
@@ -836,11 +858,19 @@ export class CreateManagedAgentResponseBodyDataRuntime extends $dara.Model {
836
858
 
837
859
  export class CreateManagedAgentResponseBodyDataSkillsVersionSelector extends $dara.Model {
838
860
  /**
861
+ * @remarks
862
+ * The version selector type. Valid values:
863
+ * - LABEL: select by label.
864
+ * - VERSION: select by specific version.
865
+ *
839
866
  * @example
840
867
  * LABEL
841
868
  */
842
869
  type?: string;
843
870
  /**
871
+ * @remarks
872
+ * The selector value. When the type is LABEL, specify a label name such as latest. When the type is VERSION, specify a specific version number.
873
+ *
844
874
  * @example
845
875
  * latest
846
876
  */
@@ -870,11 +900,17 @@ export class CreateManagedAgentResponseBodyDataSkillsVersionSelector extends $da
870
900
 
871
901
  export class CreateManagedAgentResponseBodyDataSkills extends $dara.Model {
872
902
  /**
903
+ * @remarks
904
+ * The version that has taken effect at runtime. This field is read-only.
905
+ *
873
906
  * @example
874
907
  * 1.0.0
875
908
  */
876
909
  appliedVersion?: string;
877
910
  /**
911
+ * @remarks
912
+ * Indicates whether the skill originates from a fixed template. This field is read-only. Template items cannot be removed.
913
+ *
878
914
  * @example
879
915
  * false
880
916
  */
@@ -888,11 +924,19 @@ export class CreateManagedAgentResponseBodyDataSkills extends $dara.Model {
888
924
  */
889
925
  name?: string;
890
926
  /**
927
+ * @remarks
928
+ * The current target version. This field is read-only.
929
+ *
891
930
  * @example
892
931
  * 1.0.0
893
932
  */
894
933
  resolvedVersion?: string;
895
934
  /**
935
+ * @remarks
936
+ * The skill source type. Valid values:
937
+ * - REFERENCE: referenced from AI Registry.
938
+ * - STATIC: statically bundled with the package.
939
+ *
896
940
  * @example
897
941
  * REFERENCE
898
942
  */
@@ -905,6 +949,10 @@ export class CreateManagedAgentResponseBodyDataSkills extends $dara.Model {
905
949
  * 1.0.0
906
950
  */
907
951
  version?: string;
952
+ /**
953
+ * @remarks
954
+ * The referenced version selector. Defaults to LABEL/latest if omitted.
955
+ */
908
956
  versionSelector?: CreateManagedAgentResponseBodyDataSkillsVersionSelector;
909
957
  static names(): { [key: string]: string } {
910
958
  return {
@@ -942,6 +990,46 @@ export class CreateManagedAgentResponseBodyDataSkills extends $dara.Model {
942
990
  }
943
991
  }
944
992
 
993
+ export class CreateManagedAgentResponseBodyDataSubAgentsSkills extends $dara.Model {
994
+ /**
995
+ * @remarks
996
+ * The skill name used by the sub-agent. Declared as optional for compatibility, but the backend validates that each entry is required.
997
+ *
998
+ * @example
999
+ * web-search
1000
+ */
1001
+ name?: string;
1002
+ /**
1003
+ * @remarks
1004
+ * The optional version number. If omitted, set to null, or left blank, the latest version is resolved.
1005
+ *
1006
+ * @example
1007
+ * 1.0.0
1008
+ */
1009
+ version?: string;
1010
+ static names(): { [key: string]: string } {
1011
+ return {
1012
+ name: 'name',
1013
+ version: 'version',
1014
+ };
1015
+ }
1016
+
1017
+ static types(): { [key: string]: any } {
1018
+ return {
1019
+ name: 'string',
1020
+ version: 'string',
1021
+ };
1022
+ }
1023
+
1024
+ validate() {
1025
+ super.validate();
1026
+ }
1027
+
1028
+ constructor(map?: { [key: string]: any }) {
1029
+ super(map);
1030
+ }
1031
+ }
1032
+
945
1033
  export class CreateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
946
1034
  /**
947
1035
  * @remarks
@@ -950,7 +1038,7 @@ export class CreateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
950
1038
  * This parameter is required.
951
1039
  *
952
1040
  * @example
953
- * Review the code
1041
+ * Please review the code
954
1042
  */
955
1043
  instruction?: string;
956
1044
  /**
@@ -963,10 +1051,16 @@ export class CreateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
963
1051
  * reviewer-agent
964
1052
  */
965
1053
  name?: string;
1054
+ /**
1055
+ * @remarks
1056
+ * The skills used by the child agent and their actual versions. The version field is not returned if the template package does not contain version information.
1057
+ */
1058
+ skills?: CreateManagedAgentResponseBodyDataSubAgentsSkills[];
966
1059
  static names(): { [key: string]: string } {
967
1060
  return {
968
1061
  instruction: 'instruction',
969
1062
  name: 'name',
1063
+ skills: 'skills',
970
1064
  };
971
1065
  }
972
1066
 
@@ -974,10 +1068,14 @@ export class CreateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
974
1068
  return {
975
1069
  instruction: 'string',
976
1070
  name: 'string',
1071
+ skills: { 'type': 'array', 'itemType': CreateManagedAgentResponseBodyDataSubAgentsSkills },
977
1072
  };
978
1073
  }
979
1074
 
980
1075
  validate() {
1076
+ if(Array.isArray(this.skills)) {
1077
+ $dara.Model.validateArray(this.skills);
1078
+ }
981
1079
  super.validate();
982
1080
  }
983
1081
 
@@ -989,7 +1087,7 @@ export class CreateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
989
1087
  export class CreateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.Model {
990
1088
  /**
991
1089
  * @remarks
992
- * The name of the template in the AI registry.
1090
+ * The name of the template in AI Registry.
993
1091
  *
994
1092
  * This parameter is required.
995
1093
  *
@@ -999,7 +1097,7 @@ export class CreateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.
999
1097
  name?: string;
1000
1098
  /**
1001
1099
  * @remarks
1002
- * The version of the template in the AI registry.
1100
+ * The version of the template in AI Registry.
1003
1101
  *
1004
1102
  * @example
1005
1103
  * 1.0.0
@@ -1031,7 +1129,7 @@ export class CreateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.
1031
1129
  export class CreateManagedAgentResponseBodyDataTemplate extends $dara.Model {
1032
1130
  /**
1033
1131
  * @remarks
1034
- * The AI registry template configuration.
1132
+ * The AI Registry template configuration.
1035
1133
  */
1036
1134
  aiRegistry?: CreateManagedAgentResponseBodyDataTemplateAiRegistry;
1037
1135
  static names(): { [key: string]: string } {
@@ -1113,12 +1211,12 @@ export class CreateManagedAgentResponseBodyData extends $dara.Model {
1113
1211
  agentId?: string;
1114
1212
  /**
1115
1213
  * @remarks
1116
- * The AgenticFS additional mount list. The total number of items combined with ossMounts cannot exceed 10.
1214
+ * The AgenticFS additional mount list. The total number of items in this list and ossMounts cannot exceed 10.
1117
1215
  */
1118
1216
  agenticFsMounts?: CreateManagedAgentResponseBodyDataAgenticFsMounts[];
1119
1217
  /**
1120
1218
  * @remarks
1121
- * 仅包含用户追加或覆盖的 Skill,不包含模板继承项。资源模型读取此字段以保留更新语义;创建和更新仍使用请求中的 skills。
1219
+ * Contains only the skills that are added or overridden by the user, excluding skills inherited from the template. The resource model reads this field to preserve update semantics. The skills field in the request is still used for creation and update operations.
1122
1220
  */
1123
1221
  configuredSkills?: CreateManagedAgentResponseBodyDataConfiguredSkills[];
1124
1222
  /**
@@ -1155,7 +1253,7 @@ export class CreateManagedAgentResponseBodyData extends $dara.Model {
1155
1253
  description?: string;
1156
1254
  /**
1157
1255
  * @remarks
1158
- * The environment configuration information.
1256
+ * The environment configuration.
1159
1257
  */
1160
1258
  environment?: CreateManagedAgentResponseBodyDataEnvironment;
1161
1259
  /**
@@ -1189,7 +1287,7 @@ export class CreateManagedAgentResponseBodyData extends $dara.Model {
1189
1287
  latestVersionStatus?: string;
1190
1288
  /**
1191
1289
  * @remarks
1192
- * The model configuration information.
1290
+ * The model configuration.
1193
1291
  */
1194
1292
  model?: CreateManagedAgentResponseBodyDataModel;
1195
1293
  /**
@@ -1202,12 +1300,12 @@ export class CreateManagedAgentResponseBodyData extends $dara.Model {
1202
1300
  name?: string;
1203
1301
  /**
1204
1302
  * @remarks
1205
- * The network configuration information.
1303
+ * The network configuration.
1206
1304
  */
1207
1305
  network?: CreateManagedAgentResponseBodyDataNetwork;
1208
1306
  /**
1209
1307
  * @remarks
1210
- * The OSS mount list. A maximum of 10 entries are allowed.
1308
+ * The OSS mount list. A maximum of 10 items are allowed.
1211
1309
  */
1212
1310
  ossMounts?: CreateManagedAgentResponseBodyDataOssMounts[];
1213
1311
  /**
@@ -1225,7 +1323,7 @@ export class CreateManagedAgentResponseBodyData extends $dara.Model {
1225
1323
  runtime?: CreateManagedAgentResponseBodyDataRuntime;
1226
1324
  /**
1227
1325
  * @remarks
1228
- * The instance counts of the managed agent grouped by sandbox phase. Current keys: PENDING (being created or initialized), RUNNING (running), HIBERNATING (entering hibernation), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (being terminated), FAILED (runtime failure). Only phases that actually occur are returned. Missing keys are treated as 0. This field is a dynamic mapping and new keys may be added in the future. The frontend can use FAILED > 0 to determine whether abnormal instances exist.
1326
+ * The instance counts of the managed agent grouped by sandbox phase. Current keys: PENDING (being created or initialized), RUNNING (running), HIBERNATING (entering hibernation), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (being terminated), and FAILED (runtime failure). Only phases that actually occur are returned. Missing keys are treated as 0. This field is a dynamic map and new keys may be added in the future. The frontend can use FAILED > 0 to determine whether abnormal instances exist.
1229
1327
  */
1230
1328
  sandboxPhaseCounts?: { [key: string]: number };
1231
1329
  /**
@@ -1248,7 +1346,7 @@ export class CreateManagedAgentResponseBodyData extends $dara.Model {
1248
1346
  subAgents?: CreateManagedAgentResponseBodyDataSubAgents[];
1249
1347
  /**
1250
1348
  * @remarks
1251
- * The template configuration.
1349
+ * The template configuration information.
1252
1350
  */
1253
1351
  template?: CreateManagedAgentResponseBodyDataTemplate;
1254
1352
  /**
@@ -1258,7 +1356,7 @@ export class CreateManagedAgentResponseBodyData extends $dara.Model {
1258
1356
  tools?: CreateManagedAgentResponseBodyDataTools[];
1259
1357
  /**
1260
1358
  * @remarks
1261
- * The update time in RFC 3339 format.
1359
+ * The time when the managed agent was last updated, in RFC 3339 format.
1262
1360
  *
1263
1361
  * @example
1264
1362
  * 2026-01-01T00:00:00Z
@@ -1406,7 +1504,7 @@ export class CreateManagedAgentResponseBody extends $dara.Model {
1406
1504
  httpStatusCode?: number;
1407
1505
  /**
1408
1506
  * @remarks
1409
- * The message that indicates the result of the request.
1507
+ * The message returned for the request.
1410
1508
  *
1411
1509
  * @example
1412
1510
  * success
@@ -10,7 +10,7 @@ export class CreateManagedAgentShrinkRequest extends $dara.Model {
10
10
  bodyShrink?: string;
11
11
  /**
12
12
  * @remarks
13
- * The reserved idempotency token. The backend does not provide idempotency guarantees in the current version.
13
+ * The reserved idempotency token. The backend does not provide idempotency guarantees in the current release.
14
14
  *
15
15
  * @example
16
16
  * client-token-1
@@ -39,7 +39,7 @@ export class CreateSkillDraftRequestBody extends $dara.Model {
39
39
  skillName?: string;
40
40
  /**
41
41
  * @remarks
42
- * The draft version number to assign. If not specified, the version number is automatically incremented.
42
+ * The draft version number. If not specified, the version number is automatically incremented.
43
43
  *
44
44
  * @example
45
45
  * 0.0.2
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateSkillDraftResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The response data.
8
+ * The returned data.
9
9
  *
10
10
  * @example
11
11
  * skill-1234567890abcdef
@@ -0,0 +1,24 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class DeleteCustomAgentRequest extends $dara.Model {
6
+ static names(): { [key: string]: string } {
7
+ return {
8
+ };
9
+ }
10
+
11
+ static types(): { [key: string]: any } {
12
+ return {
13
+ };
14
+ }
15
+
16
+ validate() {
17
+ super.validate();
18
+ }
19
+
20
+ constructor(map?: { [key: string]: any }) {
21
+ super(map);
22
+ }
23
+ }
24
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { DeleteCustomAgentResponseBody } from "./DeleteCustomAgentResponseBody";
4
+
5
+
6
+ export class DeleteCustomAgentResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: DeleteCustomAgentResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: DeleteCustomAgentResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+