@alicloud/agentcore20260804 2.0.0 → 2.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 (206) hide show
  1. package/dist/client.d.ts +118 -70
  2. package/dist/client.js +178 -70
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateAgentImchannelRequest.d.ts +4 -5
  5. package/dist/models/CreateAgentImchannelRequest.js.map +1 -1
  6. package/dist/models/CreateAgentImchannelResponseBody.d.ts +5 -7
  7. package/dist/models/CreateAgentImchannelResponseBody.js.map +1 -1
  8. package/dist/models/CreateAgentImchannelShrinkRequest.d.ts +1 -1
  9. package/dist/models/CreateAgentSpecVersionRequest.d.ts +2 -2
  10. package/dist/models/CreateExternalAgentBootstrapTokenResponseBody.d.ts +6 -6
  11. package/dist/models/CreateExternalAgentRequest.d.ts +53 -6
  12. package/dist/models/CreateExternalAgentRequest.js +31 -1
  13. package/dist/models/CreateExternalAgentRequest.js.map +1 -1
  14. package/dist/models/CreateExternalAgentResponseBody.d.ts +79 -12
  15. package/dist/models/CreateExternalAgentResponseBody.js +37 -1
  16. package/dist/models/CreateExternalAgentResponseBody.js.map +1 -1
  17. package/dist/models/CreateExternalAgentShrinkRequest.d.ts +1 -1
  18. package/dist/models/CreateIdentityProviderRequest.d.ts +7 -5
  19. package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
  20. package/dist/models/CreateIdentityProviderResponseBody.d.ts +4 -2
  21. package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
  22. package/dist/models/CreateManagedAgentRequest.d.ts +89 -17
  23. package/dist/models/CreateManagedAgentRequest.js +31 -1
  24. package/dist/models/CreateManagedAgentRequest.js.map +1 -1
  25. package/dist/models/CreateManagedAgentResponseBody.d.ts +116 -24
  26. package/dist/models/CreateManagedAgentResponseBody.js +37 -1
  27. package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
  28. package/dist/models/CreateManagedAgentShrinkRequest.d.ts +1 -1
  29. package/dist/models/CreateUserRequest.d.ts +4 -4
  30. package/dist/models/CreateUserResponseBody.d.ts +7 -7
  31. package/dist/models/CreateWorkspaceRequest.d.ts +9 -0
  32. package/dist/models/CreateWorkspaceRequest.js.map +1 -1
  33. package/dist/models/CreateWorkspaceResponseBody.d.ts +13 -4
  34. package/dist/models/CreateWorkspaceResponseBody.js.map +1 -1
  35. package/dist/models/DeleteAgentImchannelRequest.d.ts +1 -1
  36. package/dist/models/DisableConnectorResponseBody.d.ts +2 -2
  37. package/dist/models/DownloadAgentSpecViaOssRequest.d.ts +1 -1
  38. package/dist/models/DownloadAgentSpecViaOssResponseBody.d.ts +1 -1
  39. package/dist/models/EnableConnectorRequest.d.ts +1 -1
  40. package/dist/models/EnableConnectorResponseBody.d.ts +4 -4
  41. package/dist/models/GetExternalAgentResponseBody.d.ts +79 -10
  42. package/dist/models/GetExternalAgentResponseBody.js +37 -1
  43. package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
  44. package/dist/models/GetManagedAgentResponseBody.d.ts +112 -20
  45. package/dist/models/GetManagedAgentResponseBody.js +37 -1
  46. package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
  47. package/dist/models/GetServiceEndpointResponseBody.d.ts +8 -12
  48. package/dist/models/GetServiceEndpointResponseBody.js.map +1 -1
  49. package/dist/models/GetUserResponseBody.d.ts +15 -9
  50. package/dist/models/GetUserResponseBody.js.map +1 -1
  51. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +43 -0
  52. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.js +62 -0
  53. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.js.map +1 -0
  54. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.d.ts +19 -0
  55. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.js +69 -0
  56. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponse.js.map +1 -0
  57. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +110 -0
  58. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js +98 -0
  59. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js.map +1 -0
  60. package/dist/models/GetWorkspaceResponseBody.d.ts +16 -12
  61. package/dist/models/GetWorkspaceResponseBody.js.map +1 -1
  62. package/dist/models/ListAgentImchannelsRequest.d.ts +6 -6
  63. package/dist/models/ListAgentImchannelsResponseBody.d.ts +13 -13
  64. package/dist/models/ListAgentTeamsResponseBody.d.ts +3 -3
  65. package/dist/models/ListConnectorModelsRequest.d.ts +3 -3
  66. package/dist/models/ListConnectorModelsResponseBody.d.ts +7 -9
  67. package/dist/models/ListConnectorModelsResponseBody.js.map +1 -1
  68. package/dist/models/ListConnectorsRequest.d.ts +2 -2
  69. package/dist/models/ListConnectorsResponseBody.d.ts +6 -6
  70. package/dist/models/ListCredentialsResponseBody.d.ts +2 -2
  71. package/dist/models/ListIdentityProvidersResponseBody.d.ts +12 -23
  72. package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
  73. package/dist/models/ListManagedAgentsResponseBody.d.ts +3 -9
  74. package/dist/models/ListManagedAgentsResponseBody.js.map +1 -1
  75. package/dist/models/ListSandboxSessionsRequest.d.ts +4 -1
  76. package/dist/models/ListSandboxSessionsRequest.js.map +1 -1
  77. package/dist/models/ListSandboxSessionsResponseBody.d.ts +80 -0
  78. package/dist/models/ListSandboxSessionsResponseBody.js.map +1 -1
  79. package/dist/models/ListSandboxesRequest.d.ts +6 -3
  80. package/dist/models/ListSandboxesRequest.js.map +1 -1
  81. package/dist/models/ListSandboxesResponseBody.d.ts +108 -0
  82. package/dist/models/ListSandboxesResponseBody.js.map +1 -1
  83. package/dist/models/ListServiceEndpointsRequest.d.ts +1 -1
  84. package/dist/models/ListServiceEndpointsResponseBody.d.ts +9 -9
  85. package/dist/models/ListTeamsRequest.d.ts +2 -2
  86. package/dist/models/ListTeamsResponseBody.d.ts +5 -5
  87. package/dist/models/ListUsersRequest.d.ts +12 -0
  88. package/dist/models/ListUsersRequest.js.map +1 -1
  89. package/dist/models/ListUsersResponseBody.d.ts +64 -2
  90. package/dist/models/ListUsersResponseBody.js.map +1 -1
  91. package/dist/models/ResetUserPasswordResponseBody.d.ts +1 -1
  92. package/dist/models/UpdateAgentSpecResponseBody.d.ts +1 -1
  93. package/dist/models/UpdateConnectorRequest.d.ts +1 -1
  94. package/dist/models/UpdateConnectorResponseBody.d.ts +3 -3
  95. package/dist/models/UpdateCredentialResponseBody.d.ts +1 -1
  96. package/dist/models/UpdateExternalAgentRequest.d.ts +53 -4
  97. package/dist/models/UpdateExternalAgentRequest.js +31 -1
  98. package/dist/models/UpdateExternalAgentRequest.js.map +1 -1
  99. package/dist/models/UpdateExternalAgentResponseBody.d.ts +77 -8
  100. package/dist/models/UpdateExternalAgentResponseBody.js +37 -1
  101. package/dist/models/UpdateExternalAgentResponseBody.js.map +1 -1
  102. package/dist/models/UpdateExternalAgentShrinkRequest.d.ts +1 -1
  103. package/dist/models/UpdateManagedAgentRequest.d.ts +92 -20
  104. package/dist/models/UpdateManagedAgentRequest.js +31 -1
  105. package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
  106. package/dist/models/UpdateManagedAgentResponseBody.d.ts +121 -29
  107. package/dist/models/UpdateManagedAgentResponseBody.js +37 -1
  108. package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
  109. package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
  110. package/dist/models/UpdateUserResponseBody.d.ts +1 -1
  111. package/dist/models/UpdateWorkspaceRequest.d.ts +2 -2
  112. package/dist/models/UpdateWorkspaceResponseBody.d.ts +13 -4
  113. package/dist/models/UpdateWorkspaceResponseBody.js.map +1 -1
  114. package/dist/models/VerifyConnectorRequest.d.ts +1 -1
  115. package/dist/models/VerifyConnectorResponseBody.d.ts +2 -2
  116. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.d.ts +43 -0
  117. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.js +62 -0
  118. package/dist/models/VerifyWorkspaceAcrRamAuthorizationRequest.js.map +1 -0
  119. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.d.ts +19 -0
  120. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.js +69 -0
  121. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponse.js.map +1 -0
  122. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.d.ts +134 -0
  123. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js +104 -0
  124. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js.map +1 -0
  125. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.d.ts +4 -1
  126. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationRequest.js.map +1 -1
  127. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.d.ts +15 -0
  128. package/dist/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.js.map +1 -1
  129. package/dist/models/model.d.ts +18 -0
  130. package/dist/models/model.js +181 -145
  131. package/dist/models/model.js.map +1 -1
  132. package/package.json +1 -1
  133. package/src/client.ts +188 -70
  134. package/src/models/CreateAgentImchannelRequest.ts +4 -5
  135. package/src/models/CreateAgentImchannelResponseBody.ts +5 -7
  136. package/src/models/CreateAgentImchannelShrinkRequest.ts +1 -1
  137. package/src/models/CreateAgentSpecVersionRequest.ts +2 -2
  138. package/src/models/CreateExternalAgentBootstrapTokenResponseBody.ts +6 -6
  139. package/src/models/CreateExternalAgentRequest.ts +74 -6
  140. package/src/models/CreateExternalAgentResponseBody.ts +106 -12
  141. package/src/models/CreateExternalAgentShrinkRequest.ts +1 -1
  142. package/src/models/CreateIdentityProviderRequest.ts +7 -5
  143. package/src/models/CreateIdentityProviderResponseBody.ts +4 -2
  144. package/src/models/CreateManagedAgentRequest.ts +110 -17
  145. package/src/models/CreateManagedAgentResponseBody.ts +143 -24
  146. package/src/models/CreateManagedAgentShrinkRequest.ts +1 -1
  147. package/src/models/CreateUserRequest.ts +4 -4
  148. package/src/models/CreateUserResponseBody.ts +7 -7
  149. package/src/models/CreateWorkspaceRequest.ts +9 -0
  150. package/src/models/CreateWorkspaceResponseBody.ts +13 -4
  151. package/src/models/DeleteAgentImchannelRequest.ts +1 -1
  152. package/src/models/DisableConnectorResponseBody.ts +2 -2
  153. package/src/models/DownloadAgentSpecViaOssRequest.ts +1 -1
  154. package/src/models/DownloadAgentSpecViaOssResponseBody.ts +1 -1
  155. package/src/models/EnableConnectorRequest.ts +1 -1
  156. package/src/models/EnableConnectorResponseBody.ts +4 -4
  157. package/src/models/GetExternalAgentResponseBody.ts +106 -10
  158. package/src/models/GetManagedAgentResponseBody.ts +139 -20
  159. package/src/models/GetServiceEndpointResponseBody.ts +8 -12
  160. package/src/models/GetUserResponseBody.ts +15 -9
  161. package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +60 -0
  162. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponse.ts +40 -0
  163. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +154 -0
  164. package/src/models/GetWorkspaceResponseBody.ts +16 -12
  165. package/src/models/ListAgentImchannelsRequest.ts +6 -6
  166. package/src/models/ListAgentImchannelsResponseBody.ts +13 -13
  167. package/src/models/ListAgentTeamsResponseBody.ts +3 -3
  168. package/src/models/ListConnectorModelsRequest.ts +3 -3
  169. package/src/models/ListConnectorModelsResponseBody.ts +7 -9
  170. package/src/models/ListConnectorsRequest.ts +2 -2
  171. package/src/models/ListConnectorsResponseBody.ts +6 -6
  172. package/src/models/ListCredentialsResponseBody.ts +2 -2
  173. package/src/models/ListIdentityProvidersResponseBody.ts +12 -23
  174. package/src/models/ListManagedAgentsResponseBody.ts +3 -9
  175. package/src/models/ListSandboxSessionsRequest.ts +4 -1
  176. package/src/models/ListSandboxSessionsResponseBody.ts +80 -0
  177. package/src/models/ListSandboxesRequest.ts +6 -3
  178. package/src/models/ListSandboxesResponseBody.ts +108 -0
  179. package/src/models/ListServiceEndpointsRequest.ts +1 -1
  180. package/src/models/ListServiceEndpointsResponseBody.ts +9 -9
  181. package/src/models/ListTeamsRequest.ts +2 -2
  182. package/src/models/ListTeamsResponseBody.ts +5 -5
  183. package/src/models/ListUsersRequest.ts +12 -0
  184. package/src/models/ListUsersResponseBody.ts +64 -2
  185. package/src/models/ResetUserPasswordResponseBody.ts +1 -1
  186. package/src/models/UpdateAgentSpecResponseBody.ts +1 -1
  187. package/src/models/UpdateConnectorRequest.ts +1 -1
  188. package/src/models/UpdateConnectorResponseBody.ts +3 -3
  189. package/src/models/UpdateCredentialResponseBody.ts +1 -1
  190. package/src/models/UpdateExternalAgentRequest.ts +74 -4
  191. package/src/models/UpdateExternalAgentResponseBody.ts +104 -8
  192. package/src/models/UpdateExternalAgentShrinkRequest.ts +1 -1
  193. package/src/models/UpdateManagedAgentRequest.ts +113 -20
  194. package/src/models/UpdateManagedAgentResponseBody.ts +148 -29
  195. package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
  196. package/src/models/UpdateUserResponseBody.ts +1 -1
  197. package/src/models/UpdateWorkspaceRequest.ts +2 -2
  198. package/src/models/UpdateWorkspaceResponseBody.ts +13 -4
  199. package/src/models/VerifyConnectorRequest.ts +1 -1
  200. package/src/models/VerifyConnectorResponseBody.ts +2 -2
  201. package/src/models/VerifyWorkspaceAcrRamAuthorizationRequest.ts +60 -0
  202. package/src/models/VerifyWorkspaceAcrRamAuthorizationResponse.ts +40 -0
  203. package/src/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.ts +184 -0
  204. package/src/models/VerifyWorkspaceOssMountRamAuthorizationRequest.ts +4 -1
  205. package/src/models/VerifyWorkspaceOssMountRamAuthorizationResponseBody.ts +15 -0
  206. package/src/models/model.ts +18 -0
@@ -100,6 +100,15 @@ export class CreateWorkspaceRequestBody extends $dara.Model {
100
100
  * The network configuration of the workspace.
101
101
  */
102
102
  networkConfiguration?: CreateWorkspaceRequestBodyNetworkConfiguration;
103
+ /**
104
+ * @remarks
105
+ * The storage type of the workspace. Valid values:
106
+ * - PLATFORM: Platform-managed storage.
107
+ * - PRIVATE: User-owned private OSS storage.
108
+ *
109
+ * @example
110
+ * PRIVATE
111
+ */
103
112
  storageType?: string;
104
113
  static names(): { [key: string]: string } {
105
114
  return {
@@ -129,7 +129,7 @@ export class CreateWorkspaceResponseBodyDataTags extends $dara.Model {
129
129
  export class CreateWorkspaceResponseBodyData extends $dara.Model {
130
130
  /**
131
131
  * @remarks
132
- * The AI Registry namespace ID. This value is returned after the related resource binding is complete and may be empty during initialization.
132
+ * The AI Registry namespace ID. This value is returned after the related resources are bound. It may be empty during initialization.
133
133
  *
134
134
  * @example
135
135
  * namespace-0123456789abcdef
@@ -141,16 +141,22 @@ export class CreateWorkspaceResponseBodyData extends $dara.Model {
141
141
  /**
142
142
  * @remarks
143
143
  * The OSS storage authorization status.
144
+ *
145
+ * @example
146
+ * AUTHORIZED
144
147
  */
145
148
  authorizationStatus?: string;
146
149
  /**
147
150
  * @remarks
148
151
  * The name of the private OSS bucket.
152
+ *
153
+ * @example
154
+ * bucket-001
149
155
  */
150
156
  bucketName?: string;
151
157
  /**
152
158
  * @remarks
153
- * The CloudMonitor workspace ID. This value is returned after the related resource binding is complete and may be empty during initialization.
159
+ * The CloudMonitor workspace ID. This value is returned after the related resources are bound. It may be empty during initialization.
154
160
  *
155
161
  * @example
156
162
  * cms-ws-0123456789abcdef
@@ -161,7 +167,7 @@ export class CreateWorkspaceResponseBodyData extends $dara.Model {
161
167
  cmsWorkspaceId?: string;
162
168
  /**
163
169
  * @remarks
164
- * The time when the workspace was created, in ISO-8601 format.
170
+ * The time when the workspace was created, in ISO 8601 format.
165
171
  *
166
172
  * This parameter is required.
167
173
  *
@@ -211,7 +217,7 @@ export class CreateWorkspaceResponseBodyData extends $dara.Model {
211
217
  status?: string;
212
218
  /**
213
219
  * @remarks
214
- * The supplementary reason for the current workspace status. This value is used to display the specific reason when initialization fails or authorization is pending, and may be empty under normal conditions.
220
+ * The supplementary reason for the current workspace status. This value is used to display the specific reason when initialization fails or authorization is pending. It may be empty under normal conditions.
215
221
  *
216
222
  * @example
217
223
  * Waiting for OSS RAM authorization
@@ -223,6 +229,9 @@ export class CreateWorkspaceResponseBodyData extends $dara.Model {
223
229
  /**
224
230
  * @remarks
225
231
  * The storage type of the workspace.
232
+ *
233
+ * @example
234
+ * PRIVATE
226
235
  */
227
236
  storageType?: string;
228
237
  /**
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DeleteAgentIMChannelRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * A reserved idempotence token. The backend does not provide persistent idempotence guarantee in the current version.
8
+ * The reserved idempotence token. The backend does not provide persistent idempotence guarantee in the current version.
9
9
  *
10
10
  * @example
11
11
  * client-token-1
@@ -21,7 +21,7 @@ export class DisableConnectorResponseBodyData extends $dara.Model {
21
21
  enabledAt?: string;
22
22
  /**
23
23
  * @remarks
24
- * A JSON string. For qodercli: {"site":"global|cn","organizationId":"...","apiKey":"...","serviceAccountKeys":[{"id":"ckey-xxx","name":"default","serviceAccountKey":"..."}]}. This field is empty when the Connector is not enabled.
24
+ * The Connector configuration JSON string before the Connector was disabled. This is sensitive data.
25
25
  *
26
26
  * @example
27
27
  * {"site":"global","organizationId":"org-xxxx"}
@@ -29,7 +29,7 @@ export class DisableConnectorResponseBodyData extends $dara.Model {
29
29
  metadata?: string;
30
30
  /**
31
31
  * @remarks
32
- * The Connector name.
32
+ * The Connector name. Currently, the value is qodercli.
33
33
  *
34
34
  * @example
35
35
  * qodercli
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DownloadAgentSpecViaOssRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The version number. If not specified, the version corresponding to the latest label is downloaded.
8
+ * The version number. If this parameter is not specified, the version corresponding to the latest label is downloaded.
9
9
  *
10
10
  * @example
11
11
  * 1.0.0
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class DownloadAgentSpecViaOssResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The response data.
8
+ * The returned data.
9
9
  *
10
10
  * @example
11
11
  * https://example.com/artifacts/example.zip
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class EnableConnectorRequestBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * A JSON string. qodercli uses apiKey. This field is write-only and is not returned in responses.
8
+ * The Connector configuration JSON string. Set site to global or cn. apiKey is required. serviceAccountKeys must contain at least one named service account key. organizationId is optional.
9
9
  *
10
10
  * This parameter is required.
11
11
  *
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class EnableConnectorResponseBodyData extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The number of agents attached to the Connector.
8
+ * The number of bound agents.
9
9
  *
10
10
  * @example
11
11
  * 3
@@ -21,7 +21,7 @@ export class EnableConnectorResponseBodyData extends $dara.Model {
21
21
  enabledAt?: string;
22
22
  /**
23
23
  * @remarks
24
- * A JSON string. For qodercli: {"site":"global|cn","organizationId":"...","apiKey":"...","serviceAccountKeys":[{"id":"ckey-xxx","name":"default","serviceAccountKey":"..."}]}. This field is empty when the Connector is not enabled.
24
+ * The Connector configuration JSON string. This is sensitive information.
25
25
  *
26
26
  * @example
27
27
  * {"site":"global","organizationId":"org-xxxx"}
@@ -29,7 +29,7 @@ export class EnableConnectorResponseBodyData extends $dara.Model {
29
29
  metadata?: string;
30
30
  /**
31
31
  * @remarks
32
- * The Connector name.
32
+ * The Connector name. The current value is qodercli.
33
33
  *
34
34
  * @example
35
35
  * qodercli
@@ -112,7 +112,7 @@ export class EnableConnectorResponseBody extends $dara.Model {
112
112
  requestId?: string;
113
113
  /**
114
114
  * @remarks
115
- * Indicates whether the request is successful.
115
+ * Indicates whether the request was successful.
116
116
  *
117
117
  * @example
118
118
  * true
@@ -16,7 +16,7 @@ export class GetExternalAgentResponseBodyDataExternalAgentStatus extends $dara.M
16
16
  heartbeatStatus?: string;
17
17
  /**
18
18
  * @remarks
19
- * The last active time of the external agent in RFC 3339 format.
19
+ * The most recent active time of the external agent in RFC 3339 format.
20
20
  *
21
21
  * @example
22
22
  * 2026-01-01T00:00:00Z
@@ -24,7 +24,7 @@ export class GetExternalAgentResponseBodyDataExternalAgentStatus extends $dara.M
24
24
  lastActiveAt?: string;
25
25
  /**
26
26
  * @remarks
27
- * The last heartbeat time of the external agent in RFC 3339 format.
27
+ * The most recent heartbeat time of the external agent in RFC 3339 format.
28
28
  *
29
29
  * @example
30
30
  * 2026-01-01T00:00:00Z
@@ -75,13 +75,101 @@ export class GetExternalAgentResponseBodyDataExternalAgentStatus extends $dara.M
75
75
  }
76
76
  }
77
77
 
78
+ export class GetExternalAgentResponseBodyDataModelQuota extends $dara.Model {
79
+ /**
80
+ * @remarks
81
+ * Indicates whether the quota is enabled. This parameter is not returned if no quota is configured.
82
+ *
83
+ * @example
84
+ * true
85
+ */
86
+ enabled?: boolean;
87
+ /**
88
+ * @remarks
89
+ * The quota limit type. Currently, only token is supported.
90
+ *
91
+ * @example
92
+ * token
93
+ */
94
+ limitType?: string;
95
+ /**
96
+ * @remarks
97
+ * Indicates whether the quota has been exceeded in the current cycle. This is a read-only field returned by the backend.
98
+ *
99
+ * @example
100
+ * false
101
+ */
102
+ overLimit?: boolean;
103
+ /**
104
+ * @remarks
105
+ * The quota statistical period. day indicates daily and month indicates monthly.
106
+ *
107
+ * @example
108
+ * day
109
+ */
110
+ periodType?: string;
111
+ /**
112
+ * @remarks
113
+ * The gateway quota rule status. This is a read-only field returned by the backend.
114
+ *
115
+ * @example
116
+ * ACTIVE
117
+ */
118
+ ruleStatus?: string;
119
+ /**
120
+ * @remarks
121
+ * The maximum number of tokens that can be consumed within a single cycle.
122
+ *
123
+ * @example
124
+ * 1000000
125
+ */
126
+ usageLimit?: number;
127
+ /**
128
+ * @remarks
129
+ * The number of tokens consumed in the current cycle. This is a read-only field returned by the backend.
130
+ *
131
+ * @example
132
+ * 12345
133
+ */
134
+ usedAmount?: number;
135
+ static names(): { [key: string]: string } {
136
+ return {
137
+ enabled: 'enabled',
138
+ limitType: 'limitType',
139
+ overLimit: 'overLimit',
140
+ periodType: 'periodType',
141
+ ruleStatus: 'ruleStatus',
142
+ usageLimit: 'usageLimit',
143
+ usedAmount: 'usedAmount',
144
+ };
145
+ }
146
+
147
+ static types(): { [key: string]: any } {
148
+ return {
149
+ enabled: 'boolean',
150
+ limitType: 'string',
151
+ overLimit: 'boolean',
152
+ periodType: 'string',
153
+ ruleStatus: 'string',
154
+ usageLimit: 'number',
155
+ usedAmount: 'number',
156
+ };
157
+ }
158
+
159
+ validate() {
160
+ super.validate();
161
+ }
162
+
163
+ constructor(map?: { [key: string]: any }) {
164
+ super(map);
165
+ }
166
+ }
167
+
78
168
  export class GetExternalAgentResponseBodyDataModel extends $dara.Model {
79
169
  /**
80
170
  * @remarks
81
171
  * The model connection ID.
82
172
  *
83
- * This parameter is required.
84
- *
85
173
  * @example
86
174
  * mc-1
87
175
  */
@@ -90,16 +178,20 @@ export class GetExternalAgentResponseBodyDataModel extends $dara.Model {
90
178
  * @remarks
91
179
  * The upstream model name.
92
180
  *
93
- * This parameter is required.
94
- *
95
181
  * @example
96
182
  * qwen-max
97
183
  */
98
184
  modelName?: string;
185
+ /**
186
+ * @remarks
187
+ * The model token quota configuration and the quota usage status in the current cycle. This parameter is empty if no quota is configured.
188
+ */
189
+ quota?: GetExternalAgentResponseBodyDataModelQuota;
99
190
  static names(): { [key: string]: string } {
100
191
  return {
101
192
  modelConnectionId: 'modelConnectionId',
102
193
  modelName: 'modelName',
194
+ quota: 'quota',
103
195
  };
104
196
  }
105
197
 
@@ -107,10 +199,14 @@ export class GetExternalAgentResponseBodyDataModel extends $dara.Model {
107
199
  return {
108
200
  modelConnectionId: 'string',
109
201
  modelName: 'string',
202
+ quota: GetExternalAgentResponseBodyDataModelQuota,
110
203
  };
111
204
  }
112
205
 
113
206
  validate() {
207
+ if(this.quota && typeof (this.quota as any).validate === 'function') {
208
+ (this.quota as any).validate();
209
+ }
114
210
  super.validate();
115
211
  }
116
212
 
@@ -363,7 +459,7 @@ export class GetExternalAgentResponseBodyData extends $dara.Model {
363
459
  model?: GetExternalAgentResponseBodyDataModel;
364
460
  /**
365
461
  * @remarks
366
- * The source of the model configuration. PLATFORM indicates that the model configuration is parsed and delivered by the platform. RUNTIME indicates that the model is managed by the external runtime, and the model parameter cannot be specified at the same time. Valid values:
462
+ * The model configuration source. PLATFORM indicates that the model configuration is parsed and distributed by the platform. RUNTIME indicates that the model is managed by the external runtime, and the model parameter cannot be specified at the same time. Valid values:
367
463
  * - PLATFORM: Platform model.
368
464
  * - RUNTIME: Runtime model.
369
465
  *
@@ -517,7 +613,7 @@ export class GetExternalAgentResponseBodyData extends $dara.Model {
517
613
  export class GetExternalAgentResponseBody extends $dara.Model {
518
614
  /**
519
615
  * @remarks
520
- * The business status code. The value SUCCESS is returned when the request succeeds.
616
+ * The business status code. The value is SUCCESS when the request succeeds.
521
617
  *
522
618
  * @example
523
619
  * SUCCESS
@@ -530,7 +626,7 @@ export class GetExternalAgentResponseBody extends $dara.Model {
530
626
  data?: GetExternalAgentResponseBodyData;
531
627
  /**
532
628
  * @remarks
533
- * The HTTP status code. The value 200 is returned when the request succeeds.
629
+ * The HTTP status code. The value is 200 when the request succeeds.
534
630
  *
535
631
  * @example
536
632
  * 200
@@ -538,7 +634,7 @@ export class GetExternalAgentResponseBody extends $dara.Model {
538
634
  httpStatusCode?: number;
539
635
  /**
540
636
  * @remarks
541
- * The message that indicates the result of the request.
637
+ * The request processing result message.
542
638
  *
543
639
  * @example
544
640
  * success
@@ -121,7 +121,7 @@ export class GetManagedAgentResponseBodyDataEnvironment extends $dara.Model {
121
121
  export class GetManagedAgentResponseBodyDataHarnessConfiguration extends $dara.Model {
122
122
  /**
123
123
  * @remarks
124
- * The Service Account Key bound to the QoderCLI Connector by Key ID. This parameter can be omitted when only one key exists, but is required when multiple keys exist.
124
+ * The connector service account key.
125
125
  *
126
126
  * @example
127
127
  * key-xxxx
@@ -129,7 +129,7 @@ export class GetManagedAgentResponseBodyDataHarnessConfiguration extends $dara.M
129
129
  connectorServiceAccountKey?: string;
130
130
  /**
131
131
  * @remarks
132
- * The Connector Key name populated during queries. This value is not used as a binding reference during writes.
132
+ * The connector service account name.
133
133
  *
134
134
  * @example
135
135
  * my-connector-key
@@ -161,12 +161,12 @@ export class GetManagedAgentResponseBodyDataHarnessConfiguration extends $dara.M
161
161
  export class GetManagedAgentResponseBodyDataHarness extends $dara.Model {
162
162
  /**
163
163
  * @remarks
164
- * The Connector binding configuration for the qodercli harness.
164
+ * The runtime harness configuration.
165
165
  */
166
166
  configuration?: GetManagedAgentResponseBodyDataHarnessConfiguration;
167
167
  /**
168
168
  * @remarks
169
- * The runtime harness type. Valid values: qwenpaw and qodercli. When the type is qodercli, binding is based on configuration.connectorServiceAccountKey, and the name is also populated during queries.
169
+ * The runtime harness type.
170
170
  *
171
171
  * @example
172
172
  * qodercli
@@ -198,13 +198,101 @@ export class GetManagedAgentResponseBodyDataHarness extends $dara.Model {
198
198
  }
199
199
  }
200
200
 
201
+ export class GetManagedAgentResponseBodyDataModelQuota extends $dara.Model {
202
+ /**
203
+ * @remarks
204
+ * Indicates whether the quota is enabled. Not returned if no quota is configured.
205
+ *
206
+ * @example
207
+ * true
208
+ */
209
+ enabled?: boolean;
210
+ /**
211
+ * @remarks
212
+ * The quota limit type. Currently only token is supported.
213
+ *
214
+ * @example
215
+ * token
216
+ */
217
+ limitType?: string;
218
+ /**
219
+ * @remarks
220
+ * Indicates whether the quota has been exceeded in the current period. Read-only, returned by the backend.
221
+ *
222
+ * @example
223
+ * false
224
+ */
225
+ overLimit?: boolean;
226
+ /**
227
+ * @remarks
228
+ * The quota statistical period. Valid values: day (daily) and month (monthly).
229
+ *
230
+ * @example
231
+ * day
232
+ */
233
+ periodType?: string;
234
+ /**
235
+ * @remarks
236
+ * The gateway quota rule status. Read-only, returned by the backend.
237
+ *
238
+ * @example
239
+ * ACTIVE
240
+ */
241
+ ruleStatus?: string;
242
+ /**
243
+ * @remarks
244
+ * The maximum number of tokens allowed per period.
245
+ *
246
+ * @example
247
+ * 1000000
248
+ */
249
+ usageLimit?: number;
250
+ /**
251
+ * @remarks
252
+ * The number of tokens consumed in the current period. Read-only, returned by the backend.
253
+ *
254
+ * @example
255
+ * 12345
256
+ */
257
+ usedAmount?: number;
258
+ static names(): { [key: string]: string } {
259
+ return {
260
+ enabled: 'enabled',
261
+ limitType: 'limitType',
262
+ overLimit: 'overLimit',
263
+ periodType: 'periodType',
264
+ ruleStatus: 'ruleStatus',
265
+ usageLimit: 'usageLimit',
266
+ usedAmount: 'usedAmount',
267
+ };
268
+ }
269
+
270
+ static types(): { [key: string]: any } {
271
+ return {
272
+ enabled: 'boolean',
273
+ limitType: 'string',
274
+ overLimit: 'boolean',
275
+ periodType: 'string',
276
+ ruleStatus: 'string',
277
+ usageLimit: 'number',
278
+ usedAmount: 'number',
279
+ };
280
+ }
281
+
282
+ validate() {
283
+ super.validate();
284
+ }
285
+
286
+ constructor(map?: { [key: string]: any }) {
287
+ super(map);
288
+ }
289
+ }
290
+
201
291
  export class GetManagedAgentResponseBodyDataModel extends $dara.Model {
202
292
  /**
203
293
  * @remarks
204
294
  * The model connection ID.
205
295
  *
206
- * This parameter is required.
207
- *
208
296
  * @example
209
297
  * mc-1
210
298
  */
@@ -217,10 +305,16 @@ export class GetManagedAgentResponseBodyDataModel extends $dara.Model {
217
305
  * qwen-max
218
306
  */
219
307
  modelName?: string;
308
+ /**
309
+ * @remarks
310
+ * The model token quota configuration and usage status for the current period. Empty if no quota is configured.
311
+ */
312
+ quota?: GetManagedAgentResponseBodyDataModelQuota;
220
313
  static names(): { [key: string]: string } {
221
314
  return {
222
315
  modelConnectionId: 'modelConnectionId',
223
316
  modelName: 'modelName',
317
+ quota: 'quota',
224
318
  };
225
319
  }
226
320
 
@@ -228,10 +322,14 @@ export class GetManagedAgentResponseBodyDataModel extends $dara.Model {
228
322
  return {
229
323
  modelConnectionId: 'string',
230
324
  modelName: 'string',
325
+ quota: GetManagedAgentResponseBodyDataModelQuota,
231
326
  };
232
327
  }
233
328
 
234
329
  validate() {
330
+ if(this.quota && typeof (this.quota as any).validate === 'function') {
331
+ (this.quota as any).validate();
332
+ }
235
333
  super.validate();
236
334
  }
237
335
 
@@ -343,17 +441,26 @@ export class GetManagedAgentResponseBodyDataNetwork extends $dara.Model {
343
441
  export class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
344
442
  /**
345
443
  * @remarks
346
- * The OSS bucket name. This parameter is required for each mount entry as validated by the backend.
444
+ * The OSS bucket name. Required for each mount entry, validated by the backend.
445
+ *
446
+ * @example
447
+ * bucket-001
347
448
  */
348
449
  bucketName?: string;
349
450
  /**
350
451
  * @remarks
351
- * The absolute mount path in the container. This parameter is required for each mount entry as validated by the backend.
452
+ * The absolute mount path in the container. Required for each mount entry, validated by the backend.
453
+ *
454
+ * @example
455
+ * /mnt/oss/datasets
352
456
  */
353
457
  mountPath?: string;
354
458
  /**
355
459
  * @remarks
356
460
  * The relative object prefix in the bucket. If not specified, the entire bucket is mounted.
461
+ *
462
+ * @example
463
+ * datasets
357
464
  */
358
465
  path?: string;
359
466
  /**
@@ -391,7 +498,7 @@ export class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
391
498
  export class GetManagedAgentResponseBodyDataRuntimeCompute extends $dara.Model {
392
499
  /**
393
500
  * @remarks
394
- * The compute class.
501
+ * The compute specification.
395
502
  *
396
503
  * This parameter is required.
397
504
  *
@@ -423,27 +530,39 @@ export class GetManagedAgentResponseBodyDataRuntimeCompute extends $dara.Model {
423
530
  export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
424
531
  /**
425
532
  * @remarks
426
- * Specifies whether to enable auto scaling. This parameter is required when hpa is present as validated by the backend.
533
+ * Specifies whether auto-scaling is enabled. Required when hpa is present, validated by the backend.
427
534
  */
428
535
  enabled?: boolean;
429
536
  /**
430
537
  * @remarks
431
- * The maximum number of active sessions per sandbox. This parameter is required when hpa is present as validated by the backend.
538
+ * The maximum number of active sessions per sandbox. Required when hpa is present, validated by the backend.
539
+ *
540
+ * @example
541
+ * 5
432
542
  */
433
543
  maxConcurrentSessionsPerSandbox?: number;
434
544
  /**
435
545
  * @remarks
436
- * The maximum number of sandboxes. This parameter is required when HPA is enabled and must be no less than the minimum value.
546
+ * The maximum number of sandboxes. Required when HPA is enabled and must be no less than the minimum value.
547
+ *
548
+ * @example
549
+ * 3
437
550
  */
438
551
  maxSandboxCount?: number;
439
552
  /**
440
553
  * @remarks
441
- * The minimum number of sandboxes. This parameter is required when HPA is enabled.
554
+ * The minimum number of sandboxes. Required when HPA is enabled.
555
+ *
556
+ * @example
557
+ * 1
442
558
  */
443
559
  minSandboxCount?: number;
444
560
  /**
445
561
  * @remarks
446
- * The session reclamation time after inactivity, in seconds. This parameter is required when hpa is present as validated by the backend.
562
+ * The session reclamation time after inactivity, in seconds. Required when hpa is present, validated by the backend.
563
+ *
564
+ * @example
565
+ * 3600
447
566
  */
448
567
  sessionTtlSeconds?: number;
449
568
  static names(): { [key: string]: string } {
@@ -478,7 +597,7 @@ export class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
478
597
  export class GetManagedAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
479
598
  /**
480
599
  * @remarks
481
- * The HTTP header name used for session affinity. This parameter takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
600
+ * The HTTP header name used for session affinity. Takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
482
601
  *
483
602
  * @example
484
603
  * X-Session-Id
@@ -527,7 +646,7 @@ export class GetManagedAgentResponseBodyDataRuntime extends $dara.Model {
527
646
  compute?: GetManagedAgentResponseBodyDataRuntimeCompute;
528
647
  /**
529
648
  * @remarks
530
- * The sandbox auto scaling and session configuration.
649
+ * The sandbox auto-scaling and session configuration.
531
650
  */
532
651
  hpa?: GetManagedAgentResponseBodyDataRuntimeHpa;
533
652
  /**
@@ -616,7 +735,7 @@ export class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
616
735
  export class GetManagedAgentResponseBodyDataSubAgents extends $dara.Model {
617
736
  /**
618
737
  * @remarks
619
- * The sub-agent instruction.
738
+ * The instruction for the sub-agent.
620
739
  *
621
740
  * This parameter is required.
622
741
  *
@@ -823,7 +942,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
823
942
  environment?: GetManagedAgentResponseBodyDataEnvironment;
824
943
  /**
825
944
  * @remarks
826
- * The runtime harness of the managed agent. Valid values: qwenpaw and qodercli.
945
+ * The agent runtime harness.
827
946
  */
828
947
  harness?: GetManagedAgentResponseBodyDataHarness;
829
948
  /**
@@ -888,7 +1007,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
888
1007
  runtime?: GetManagedAgentResponseBodyDataRuntime;
889
1008
  /**
890
1009
  * @remarks
891
- * The instance count 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 map and new keys may be added in the future. Use FAILED > 0 to determine whether abnormal instances exist.
1010
+ * 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 should be treated as 0. This field is a dynamic map, and new keys may be added in the future. You can use FAILED > 0 to determine whether abnormal instances exist.
892
1011
  */
893
1012
  sandboxPhaseCounts?: { [key: string]: number };
894
1013
  /**
@@ -921,7 +1040,7 @@ export class GetManagedAgentResponseBodyData extends $dara.Model {
921
1040
  tools?: GetManagedAgentResponseBodyDataTools[];
922
1041
  /**
923
1042
  * @remarks
924
- * The update time in RFC 3339 format.
1043
+ * The time when the agent was last updated, in RFC 3339 format.
925
1044
  *
926
1045
  * @example
927
1046
  * 2026-01-01T00:00:00Z