@alicloud/agentcore20260804 3.0.0 → 3.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (129) hide show
  1. package/dist/client.d.ts +370 -188
  2. package/dist/client.js +413 -188
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateCustomAgentRequest.d.ts +155 -53
  5. package/dist/models/CreateCustomAgentRequest.js +61 -1
  6. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  7. package/dist/models/CreateCustomAgentResponseBody.d.ts +305 -58
  8. package/dist/models/CreateCustomAgentResponseBody.js +153 -1
  9. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  10. package/dist/models/CreateIdentityProviderRequest.d.ts +12 -15
  11. package/dist/models/CreateIdentityProviderRequest.js.map +1 -1
  12. package/dist/models/CreateIdentityProviderResponseBody.d.ts +19 -22
  13. package/dist/models/CreateIdentityProviderResponseBody.js.map +1 -1
  14. package/dist/models/CreateManagedAgentRequest.d.ts +80 -45
  15. package/dist/models/CreateManagedAgentRequest.js +29 -1
  16. package/dist/models/CreateManagedAgentRequest.js.map +1 -1
  17. package/dist/models/CreateManagedAgentResponseBody.d.ts +98 -65
  18. package/dist/models/CreateManagedAgentResponseBody.js +29 -1
  19. package/dist/models/CreateManagedAgentResponseBody.js.map +1 -1
  20. package/dist/models/CreateManagedAgentShrinkRequest.d.ts +1 -1
  21. package/dist/models/DeleteIdentityProviderResponseBody.d.ts +10 -10
  22. package/dist/models/DeleteIdentityProviderScimcredentialResponseBody.d.ts +5 -5
  23. package/dist/models/FindCustomAgentImagePreparationRequest.d.ts +23 -0
  24. package/dist/models/FindCustomAgentImagePreparationRequest.js +58 -0
  25. package/dist/models/FindCustomAgentImagePreparationRequest.js.map +1 -0
  26. package/dist/models/FindCustomAgentImagePreparationResponse.d.ts +19 -0
  27. package/dist/models/FindCustomAgentImagePreparationResponse.js +69 -0
  28. package/dist/models/FindCustomAgentImagePreparationResponse.js.map +1 -0
  29. package/dist/models/FindCustomAgentImagePreparationResponseBody.d.ts +135 -0
  30. package/dist/models/FindCustomAgentImagePreparationResponseBody.js +122 -0
  31. package/dist/models/FindCustomAgentImagePreparationResponseBody.js.map +1 -0
  32. package/dist/models/GetCustomAgentImagePreparationRequest.d.ts +13 -0
  33. package/dist/models/GetCustomAgentImagePreparationRequest.js +54 -0
  34. package/dist/models/GetCustomAgentImagePreparationRequest.js.map +1 -0
  35. package/dist/models/GetCustomAgentImagePreparationResponse.d.ts +19 -0
  36. package/dist/models/GetCustomAgentImagePreparationResponse.js +69 -0
  37. package/dist/models/GetCustomAgentImagePreparationResponse.js.map +1 -0
  38. package/dist/models/GetCustomAgentImagePreparationResponseBody.d.ts +135 -0
  39. package/dist/models/GetCustomAgentImagePreparationResponseBody.js +122 -0
  40. package/dist/models/GetCustomAgentImagePreparationResponseBody.js.map +1 -0
  41. package/dist/models/GetCustomAgentResponseBody.d.ts +304 -51
  42. package/dist/models/GetCustomAgentResponseBody.js +153 -1
  43. package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
  44. package/dist/models/GetIdentityProviderResponseBody.d.ts +30 -30
  45. package/dist/models/GetIdentityProviderScimresponseBody.d.ts +29 -17
  46. package/dist/models/GetIdentityProviderScimresponseBody.js +2 -0
  47. package/dist/models/GetIdentityProviderScimresponseBody.js.map +1 -1
  48. package/dist/models/GetIdentityProviderServiceProviderRequest.d.ts +1 -1
  49. package/dist/models/GetIdentityProviderServiceProviderResponseBody.d.ts +10 -10
  50. package/dist/models/GetManagedAgentResponseBody.d.ts +106 -75
  51. package/dist/models/GetManagedAgentResponseBody.js +29 -1
  52. package/dist/models/GetManagedAgentResponseBody.js.map +1 -1
  53. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +2 -2
  54. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +1 -1
  55. package/dist/models/ListCustomAgentsRequest.d.ts +2 -2
  56. package/dist/models/ListCustomAgentsResponseBody.d.ts +24 -22
  57. package/dist/models/ListCustomAgentsResponseBody.js.map +1 -1
  58. package/dist/models/ListIdentityProvidersRequest.d.ts +1 -1
  59. package/dist/models/ListIdentityProvidersResponseBody.d.ts +30 -18
  60. package/dist/models/ListIdentityProvidersResponseBody.js.map +1 -1
  61. package/dist/models/PrepareIdentityProviderScimresponseBody.d.ts +10 -10
  62. package/dist/models/UpdateCustomAgentRequest.d.ts +154 -75
  63. package/dist/models/UpdateCustomAgentRequest.js +61 -1
  64. package/dist/models/UpdateCustomAgentRequest.js.map +1 -1
  65. package/dist/models/UpdateCustomAgentResponseBody.d.ts +310 -65
  66. package/dist/models/UpdateCustomAgentResponseBody.js +153 -1
  67. package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
  68. package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +1 -1
  69. package/dist/models/UpdateIdentityProviderRequest.d.ts +20 -20
  70. package/dist/models/UpdateIdentityProviderResponseBody.d.ts +19 -19
  71. package/dist/models/UpdateIdentityProviderScimrequest.d.ts +2 -2
  72. package/dist/models/UpdateIdentityProviderScimresponseBody.d.ts +42 -26
  73. package/dist/models/UpdateIdentityProviderScimresponseBody.js +4 -0
  74. package/dist/models/UpdateIdentityProviderScimresponseBody.js.map +1 -1
  75. package/dist/models/UpdateIdentityProviderScimshrinkRequest.d.ts +1 -1
  76. package/dist/models/UpdateIdentityProviderShrinkRequest.d.ts +1 -1
  77. package/dist/models/UpdateManagedAgentRequest.d.ts +83 -46
  78. package/dist/models/UpdateManagedAgentRequest.js +29 -1
  79. package/dist/models/UpdateManagedAgentRequest.js.map +1 -1
  80. package/dist/models/UpdateManagedAgentResponseBody.d.ts +98 -65
  81. package/dist/models/UpdateManagedAgentResponseBody.js +29 -1
  82. package/dist/models/UpdateManagedAgentResponseBody.js.map +1 -1
  83. package/dist/models/UpdateManagedAgentShrinkRequest.d.ts +1 -1
  84. package/dist/models/model.d.ts +34 -0
  85. package/dist/models/model.js +267 -198
  86. package/dist/models/model.js.map +1 -1
  87. package/package.json +1 -1
  88. package/src/client.ts +418 -188
  89. package/src/models/CreateCustomAgentRequest.ts +197 -53
  90. package/src/models/CreateCustomAgentResponseBody.ts +412 -58
  91. package/src/models/CreateIdentityProviderRequest.ts +12 -15
  92. package/src/models/CreateIdentityProviderResponseBody.ts +19 -22
  93. package/src/models/CreateManagedAgentRequest.ts +99 -45
  94. package/src/models/CreateManagedAgentResponseBody.ts +117 -65
  95. package/src/models/CreateManagedAgentShrinkRequest.ts +1 -1
  96. package/src/models/DeleteIdentityProviderResponseBody.ts +10 -10
  97. package/src/models/DeleteIdentityProviderScimcredentialResponseBody.ts +5 -5
  98. package/src/models/FindCustomAgentImagePreparationRequest.ts +36 -0
  99. package/src/models/FindCustomAgentImagePreparationResponse.ts +40 -0
  100. package/src/models/FindCustomAgentImagePreparationResponseBody.ts +194 -0
  101. package/src/models/GetCustomAgentImagePreparationRequest.ts +24 -0
  102. package/src/models/GetCustomAgentImagePreparationResponse.ts +40 -0
  103. package/src/models/GetCustomAgentImagePreparationResponseBody.ts +194 -0
  104. package/src/models/GetCustomAgentResponseBody.ts +411 -51
  105. package/src/models/GetIdentityProviderResponseBody.ts +30 -30
  106. package/src/models/GetIdentityProviderScimresponseBody.ts +31 -17
  107. package/src/models/GetIdentityProviderServiceProviderRequest.ts +1 -1
  108. package/src/models/GetIdentityProviderServiceProviderResponseBody.ts +10 -10
  109. package/src/models/GetManagedAgentResponseBody.ts +125 -75
  110. package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +2 -2
  111. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +1 -1
  112. package/src/models/ListCustomAgentsRequest.ts +2 -2
  113. package/src/models/ListCustomAgentsResponseBody.ts +24 -22
  114. package/src/models/ListIdentityProvidersRequest.ts +1 -1
  115. package/src/models/ListIdentityProvidersResponseBody.ts +30 -18
  116. package/src/models/PrepareIdentityProviderScimresponseBody.ts +10 -10
  117. package/src/models/UpdateCustomAgentRequest.ts +196 -75
  118. package/src/models/UpdateCustomAgentResponseBody.ts +417 -65
  119. package/src/models/UpdateCustomAgentShrinkRequest.ts +1 -1
  120. package/src/models/UpdateIdentityProviderRequest.ts +20 -20
  121. package/src/models/UpdateIdentityProviderResponseBody.ts +19 -19
  122. package/src/models/UpdateIdentityProviderScimrequest.ts +2 -2
  123. package/src/models/UpdateIdentityProviderScimresponseBody.ts +46 -26
  124. package/src/models/UpdateIdentityProviderScimshrinkRequest.ts +1 -1
  125. package/src/models/UpdateIdentityProviderShrinkRequest.ts +1 -1
  126. package/src/models/UpdateManagedAgentRequest.ts +102 -46
  127. package/src/models/UpdateManagedAgentResponseBody.ts +117 -65
  128. package/src/models/UpdateManagedAgentShrinkRequest.ts +1 -1
  129. package/src/models/model.ts +34 -0
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class GetManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * The subdirectory under /mnt/agenticfs/ in the container. This field is required for each mount item as validated by the backend. Mount targets must not be duplicated or have parent-child overlaps.
5
+ * The subdirectory under /mnt/agenticfs/ in the container. This parameter is required and validated by the backend. Mount targets cannot be duplicated or overlap in parent-child relationships.
6
6
  *
7
7
  * @example
8
8
  * /mnt/agenticfs/data
@@ -10,7 +10,7 @@ export declare class GetManagedAgentResponseBodyDataAgenticFsMounts extends $dar
10
10
  mountPath?: string;
11
11
  /**
12
12
  * @remarks
13
- * The non-empty relative directory that exists under the AccessPoint. This field is required for each mount item as validated by the backend. Root directories, absolute paths, and parent directory segments are not allowed.
13
+ * The existing non-empty relative directory under the access point. This parameter is required and validated by the backend. Root directories, absolute paths, and parent directory segments are not allowed.
14
14
  *
15
15
  * @example
16
16
  * workspace/data
@@ -18,7 +18,7 @@ export declare class GetManagedAgentResponseBodyDataAgenticFsMounts extends $dar
18
18
  path?: string;
19
19
  /**
20
20
  * @remarks
21
- * Specifies whether to mount in read-only mode. Default value: false. This is not a RAM role read-only policy.
21
+ * Specifies whether the mount is read-only. Default value: false. This does not represent a read-only policy for a RAM role.
22
22
  *
23
23
  * @example
24
24
  * false
@@ -26,7 +26,7 @@ export declare class GetManagedAgentResponseBodyDataAgenticFsMounts extends $dar
26
26
  readOnly?: boolean;
27
27
  /**
28
28
  * @remarks
29
- * The AccessPoint domain name. This field is required for each mount item as validated by the backend. The value does not include protocol, port, or path. Use the DomainName from the NAS ListAccessPoints response.
29
+ * The domain name of the access point. This parameter is required and validated by the backend. Do not include the protocol, port, or path. Use the DomainName value from the NAS ListAccessPoints response.
30
30
  *
31
31
  * @example
32
32
  * ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
@@ -46,9 +46,7 @@ export declare class GetManagedAgentResponseBodyDataAgenticFsMounts extends $dar
46
46
  export declare class GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector extends $dara.Model {
47
47
  /**
48
48
  * @remarks
49
- * The version selector type. Valid values:
50
- * - LABEL: selects by label.
51
- * - VERSION: selects by specific version.
49
+ * The type of the version selector. Valid values: LABEL (by tag) and VERSION (by specific version).
52
50
  *
53
51
  * @example
54
52
  * LABEL
@@ -56,7 +54,7 @@ export declare class GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelec
56
54
  type?: string;
57
55
  /**
58
56
  * @remarks
59
- * The selector value. When the type is LABEL, this is the label name (such as latest). When the type is VERSION, this is the specific version number.
57
+ * The value of the selector. If the type is LABEL, this is the tag name, such as latest. If the type is VERSION, this is the specific version number.
60
58
  *
61
59
  * @example
62
60
  * latest
@@ -76,7 +74,7 @@ export declare class GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelec
76
74
  export declare class GetManagedAgentResponseBodyDataConfiguredSkills extends $dara.Model {
77
75
  /**
78
76
  * @remarks
79
- * The skill name in the Workspace AI Registry.
77
+ * The name of the skill in the Workspace AI Registry.
80
78
  *
81
79
  * This parameter is required.
82
80
  *
@@ -86,9 +84,7 @@ export declare class GetManagedAgentResponseBodyDataConfiguredSkills extends $da
86
84
  name?: string;
87
85
  /**
88
86
  * @remarks
89
- * The skill source type. Valid values:
90
- * - REFERENCE: references the AI Registry.
91
- * - STATIC: statically provided with the package.
87
+ * The source type of the skill. Valid values: REFERENCE (references the AI Registry) and STATIC (provided statically with the package).
92
88
  *
93
89
  * @example
94
90
  * REFERENCE
@@ -96,7 +92,7 @@ export declare class GetManagedAgentResponseBodyDataConfiguredSkills extends $da
96
92
  sourceType?: string;
97
93
  /**
98
94
  * @remarks
99
- * **[Deprecated]** Legacy compatibility field. Use sourceType and versionSelector for new requests.
95
+ * The legacy compatibility field. For new requests, use sourceType and versionSelector.
100
96
  *
101
97
  * @example
102
98
  * 1.0.0
@@ -104,7 +100,7 @@ export declare class GetManagedAgentResponseBodyDataConfiguredSkills extends $da
104
100
  version?: string;
105
101
  /**
106
102
  * @remarks
107
- * The version selector for the referenced skill. If omitted, the default value is LABEL/latest. Currently, only LABEL/latest is supported.
103
+ * The version selector for the reference. If omitted, the default value is LABEL/latest. Currently, only LABEL/latest is supported.
108
104
  */
109
105
  versionSelector?: GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector;
110
106
  static names(): {
@@ -197,7 +193,7 @@ export declare class GetManagedAgentResponseBodyDataEnvironment extends $dara.Mo
197
193
  export declare class GetManagedAgentResponseBodyDataHarnessConfiguration extends $dara.Model {
198
194
  /**
199
195
  * @remarks
200
- * The Connector Service Account Key.
196
+ * The connector service account key.
201
197
  *
202
198
  * @example
203
199
  * key-xxxx
@@ -205,7 +201,7 @@ export declare class GetManagedAgentResponseBodyDataHarnessConfiguration extends
205
201
  connectorServiceAccountKey?: string;
206
202
  /**
207
203
  * @remarks
208
- * The Connector Service Account Name.
204
+ * The connector service account name.
209
205
  *
210
206
  * @example
211
207
  * my-connector-key
@@ -225,12 +221,12 @@ export declare class GetManagedAgentResponseBodyDataHarnessConfiguration extends
225
221
  export declare class GetManagedAgentResponseBodyDataHarness extends $dara.Model {
226
222
  /**
227
223
  * @remarks
228
- * The runtime harness configuration.
224
+ * The configuration of the runtime framework.
229
225
  */
230
226
  configuration?: GetManagedAgentResponseBodyDataHarnessConfiguration;
231
227
  /**
232
228
  * @remarks
233
- * The runtime harness type.
229
+ * The type of the runtime framework.
234
230
  *
235
231
  * @example
236
232
  * qodercli
@@ -266,7 +262,7 @@ export declare class GetManagedAgentResponseBodyDataModelQuota extends $dara.Mod
266
262
  limitType?: string;
267
263
  /**
268
264
  * @remarks
269
- * Indicates whether the quota has been exceeded in the current period. This field is read-only and returned by the backend.
265
+ * Indicates whether the quota has been exceeded in the current period. This is a read-only field returned by the backend.
270
266
  *
271
267
  * @example
272
268
  * false
@@ -274,9 +270,7 @@ export declare class GetManagedAgentResponseBodyDataModelQuota extends $dara.Mod
274
270
  overLimit?: boolean;
275
271
  /**
276
272
  * @remarks
277
- * The quota statistical period. Valid values:
278
- * - day: daily.
279
- * - month: monthly.
273
+ * The statistical period for the quota. Valid values: day (daily) and month (monthly).
280
274
  *
281
275
  * @example
282
276
  * day
@@ -284,7 +278,7 @@ export declare class GetManagedAgentResponseBodyDataModelQuota extends $dara.Mod
284
278
  periodType?: string;
285
279
  /**
286
280
  * @remarks
287
- * The gateway quota rule status. This field is read-only and returned by the backend.
281
+ * The status of the gateway quota rule. This is a read-only field returned by the backend.
288
282
  *
289
283
  * @example
290
284
  * ACTIVE
@@ -292,7 +286,7 @@ export declare class GetManagedAgentResponseBodyDataModelQuota extends $dara.Mod
292
286
  ruleStatus?: string;
293
287
  /**
294
288
  * @remarks
295
- * The maximum number of tokens that can be consumed in a single period.
289
+ * The maximum number of tokens allowed to be consumed in a single period.
296
290
  *
297
291
  * @example
298
292
  * 1000000
@@ -300,7 +294,7 @@ export declare class GetManagedAgentResponseBodyDataModelQuota extends $dara.Mod
300
294
  usageLimit?: number;
301
295
  /**
302
296
  * @remarks
303
- * The number of tokens consumed in the current period. This field is read-only and returned by the backend.
297
+ * The number of tokens consumed in the current period. This is a read-only field returned by the backend.
304
298
  *
305
299
  * @example
306
300
  * 12345
@@ -328,7 +322,7 @@ export declare class GetManagedAgentResponseBodyDataModel extends $dara.Model {
328
322
  modelConnectionId?: string;
329
323
  /**
330
324
  * @remarks
331
- * The upstream model name.
325
+ * The name of the upstream model.
332
326
  *
333
327
  * @example
334
328
  * qwen-max
@@ -353,7 +347,7 @@ export declare class GetManagedAgentResponseBodyDataModel extends $dara.Model {
353
347
  export declare class GetManagedAgentResponseBodyDataNetworkAccessInternet extends $dara.Model {
354
348
  /**
355
349
  * @remarks
356
- * Specifies whether public network access is allowed.
350
+ * Specifies whether Internet access is allowed.
357
351
  *
358
352
  * @example
359
353
  * false
@@ -415,7 +409,7 @@ export declare class GetManagedAgentResponseBodyDataNetwork extends $dara.Model
415
409
  export declare class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
416
410
  /**
417
411
  * @remarks
418
- * The OSS bucket name. This field is required for each mount item as validated by the backend.
412
+ * The name of the OSS bucket. This parameter is required and validated by the backend for each mount.
419
413
  *
420
414
  * @example
421
415
  * bucket-001
@@ -423,7 +417,7 @@ export declare class GetManagedAgentResponseBodyDataOssMounts extends $dara.Mode
423
417
  bucketName?: string;
424
418
  /**
425
419
  * @remarks
426
- * The absolute mount path inside the container. This field is validated as required by the backend for each mount entry.
420
+ * The absolute mount path in the container. Each mount item is validated as required by the backend.
427
421
  *
428
422
  * @example
429
423
  * /mnt/oss/datasets
@@ -431,7 +425,7 @@ export declare class GetManagedAgentResponseBodyDataOssMounts extends $dara.Mode
431
425
  mountPath?: string;
432
426
  /**
433
427
  * @remarks
434
- * The relative object prefix within the bucket. If not specified, the entire bucket is mounted.
428
+ * The relative object prefix in the bucket. If not specified, the entire bucket is mounted.
435
429
  *
436
430
  * @example
437
431
  * datasets
@@ -439,7 +433,7 @@ export declare class GetManagedAgentResponseBodyDataOssMounts extends $dara.Mode
439
433
  path?: string;
440
434
  /**
441
435
  * @remarks
442
- * Specifies whether to mount as read-only. Default value: false.
436
+ * Specifies whether the mount is read-only. Default value: false.
443
437
  */
444
438
  readOnly?: boolean;
445
439
  static names(): {
@@ -453,10 +447,46 @@ export declare class GetManagedAgentResponseBodyDataOssMounts extends $dara.Mode
453
447
  [key: string]: any;
454
448
  });
455
449
  }
450
+ export declare class GetManagedAgentResponseBodyDataPromptVariables extends $dara.Model {
451
+ /**
452
+ * @remarks
453
+ * The default value.
454
+ *
455
+ * @example
456
+ * default
457
+ */
458
+ defaultValue?: string;
459
+ /**
460
+ * @remarks
461
+ * The variable description.
462
+ *
463
+ * @example
464
+ * desc
465
+ */
466
+ description?: string;
467
+ /**
468
+ * @remarks
469
+ * The variable name.
470
+ *
471
+ * @example
472
+ * brand
473
+ */
474
+ name?: string;
475
+ static names(): {
476
+ [key: string]: string;
477
+ };
478
+ static types(): {
479
+ [key: string]: any;
480
+ };
481
+ validate(): void;
482
+ constructor(map?: {
483
+ [key: string]: any;
484
+ });
485
+ }
456
486
  export declare class GetManagedAgentResponseBodyDataRuntimeCompute extends $dara.Model {
457
487
  /**
458
488
  * @remarks
459
- * The compute specification.
489
+ * The compute class.
460
490
  *
461
491
  * This parameter is required.
462
492
  *
@@ -478,12 +508,12 @@ export declare class GetManagedAgentResponseBodyDataRuntimeCompute extends $dara
478
508
  export declare class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
479
509
  /**
480
510
  * @remarks
481
- * Specifies whether to enable auto scaling. This field is validated as required by the backend when hpa is present.
511
+ * Specifies whether to enable auto scaling. This parameter is required and validated by the backend when HPA is present.
482
512
  */
483
513
  enabled?: boolean;
484
514
  /**
485
515
  * @remarks
486
- * The maximum number of active sessions per sandbox. This field is validated as required by the backend when hpa is present.
516
+ * The maximum number of active sessions per sandbox. This parameter is required and validated by the backend when HPA is present.
487
517
  *
488
518
  * @example
489
519
  * 5
@@ -491,7 +521,7 @@ export declare class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Mod
491
521
  maxConcurrentSessionsPerSandbox?: number;
492
522
  /**
493
523
  * @remarks
494
- * The maximum number of sandboxes. This field is required when HPA is enabled and must be no less than the minimum value.
524
+ * The maximum number of sandboxes. This parameter is required and must not be less than the minimum value when HPA is enabled.
495
525
  *
496
526
  * @example
497
527
  * 3
@@ -499,7 +529,7 @@ export declare class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Mod
499
529
  maxSandboxCount?: number;
500
530
  /**
501
531
  * @remarks
502
- * The minimum number of sandboxes. This field is required when HPA is enabled.
532
+ * The minimum number of sandboxes. This parameter is required when HPA is enabled.
503
533
  *
504
534
  * @example
505
535
  * 1
@@ -507,7 +537,7 @@ export declare class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Mod
507
537
  minSandboxCount?: number;
508
538
  /**
509
539
  * @remarks
510
- * The time-to-live in seconds for a session after inactivity. This field is validated as required by the backend when hpa is present.
540
+ * The time-to-live (TTL) in seconds for a session after it becomes inactive. This parameter is required and validated by the backend when HPA is present.
511
541
  *
512
542
  * @example
513
543
  * 3600
@@ -527,7 +557,7 @@ export declare class GetManagedAgentResponseBodyDataRuntimeHpa extends $dara.Mod
527
557
  export declare class GetManagedAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
528
558
  /**
529
559
  * @remarks
530
- * The HTTP header name used for session affinity. This field takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
560
+ * The HTTP header name used for session affinity. This parameter takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
531
561
  *
532
562
  * @example
533
563
  * X-Session-Id
@@ -588,9 +618,7 @@ export declare class GetManagedAgentResponseBodyDataRuntime extends $dara.Model
588
618
  export declare class GetManagedAgentResponseBodyDataSkillsVersionSelector extends $dara.Model {
589
619
  /**
590
620
  * @remarks
591
- * The version selector type. Valid values:
592
- * - LABEL: selects by label.
593
- * - VERSION: selects by specific version.
621
+ * The type of the version selector. Valid values: LABEL (by tag) and VERSION (by specific version).
594
622
  *
595
623
  * @example
596
624
  * LABEL
@@ -598,7 +626,7 @@ export declare class GetManagedAgentResponseBodyDataSkillsVersionSelector extend
598
626
  type?: string;
599
627
  /**
600
628
  * @remarks
601
- * The selector value. When the type is LABEL, this is the label name (such as latest). When the type is VERSION, this is the specific version number.
629
+ * The value of the selector. If the type is LABEL, this is the tag name, such as latest. If the type is VERSION, this is the specific version number.
602
630
  *
603
631
  * @example
604
632
  * latest
@@ -618,7 +646,7 @@ export declare class GetManagedAgentResponseBodyDataSkillsVersionSelector extend
618
646
  export declare class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
619
647
  /**
620
648
  * @remarks
621
- * The version currently in effect at runtime. This field is read-only.
649
+ * The applied runtime version. This field is read-only.
622
650
  *
623
651
  * @example
624
652
  * 1.0.0
@@ -626,7 +654,7 @@ export declare class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
626
654
  appliedVersion?: string;
627
655
  /**
628
656
  * @remarks
629
- * Indicates whether the skill originates from a fixed template. This field is read-only. Template items cannot be removed.
657
+ * Specifies whether the skill is from a fixed template. This field is read-only and template items cannot be removed.
630
658
  *
631
659
  * @example
632
660
  * false
@@ -650,9 +678,7 @@ export declare class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
650
678
  resolvedVersion?: string;
651
679
  /**
652
680
  * @remarks
653
- * The skill source type. Valid values:
654
- * - REFERENCE: references the AI Registry.
655
- * - STATIC: statically provided with the package.
681
+ * The source type of the skill. Valid values: REFERENCE (references the AI Registry) and STATIC (provided statically with the package).
656
682
  *
657
683
  * @example
658
684
  * REFERENCE
@@ -668,7 +694,7 @@ export declare class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
668
694
  version?: string;
669
695
  /**
670
696
  * @remarks
671
- * The referenced version selector. Defaults to LABEL/latest if omitted.
697
+ * The referenced version selector. If omitted, the default value is LABEL/latest.
672
698
  */
673
699
  versionSelector?: GetManagedAgentResponseBodyDataSkillsVersionSelector;
674
700
  static names(): {
@@ -685,7 +711,7 @@ export declare class GetManagedAgentResponseBodyDataSkills extends $dara.Model {
685
711
  export declare class GetManagedAgentResponseBodyDataSubAgentsSkills extends $dara.Model {
686
712
  /**
687
713
  * @remarks
688
- * The skill name used by the child agent. Declared as optional for compatibility, but validated as required by the backend for each entry.
714
+ * The skill name.
689
715
  *
690
716
  * @example
691
717
  * web-search
@@ -693,7 +719,7 @@ export declare class GetManagedAgentResponseBodyDataSubAgentsSkills extends $dar
693
719
  name?: string;
694
720
  /**
695
721
  * @remarks
696
- * The optional version number. If omitted, null, or blank, the latest version is resolved.
722
+ * The skill version.
697
723
  *
698
724
  * @example
699
725
  * 1.0.0
@@ -713,17 +739,17 @@ export declare class GetManagedAgentResponseBodyDataSubAgentsSkills extends $dar
713
739
  export declare class GetManagedAgentResponseBodyDataSubAgents extends $dara.Model {
714
740
  /**
715
741
  * @remarks
716
- * The child agent instruction.
742
+ * The sub-agent instruction.
717
743
  *
718
744
  * This parameter is required.
719
745
  *
720
746
  * @example
721
- * Review the code
747
+ * Please review the code
722
748
  */
723
749
  instruction?: string;
724
750
  /**
725
751
  * @remarks
726
- * The child agent name.
752
+ * The sub-agent name.
727
753
  *
728
754
  * This parameter is required.
729
755
  *
@@ -733,7 +759,7 @@ export declare class GetManagedAgentResponseBodyDataSubAgents extends $dara.Mode
733
759
  name?: string;
734
760
  /**
735
761
  * @remarks
736
- * The skills and actual versions used by the child agent. The version field is not returned when the template package does not contain version information.
762
+ * The sub-agent skill list.
737
763
  */
738
764
  skills?: GetManagedAgentResponseBodyDataSubAgentsSkills[];
739
765
  static names(): {
@@ -829,7 +855,7 @@ export declare class GetManagedAgentResponseBodyDataTools extends $dara.Model {
829
855
  export declare class GetManagedAgentResponseBodyData extends $dara.Model {
830
856
  /**
831
857
  * @remarks
832
- * The managed agent ID.
858
+ * The ID of the managed agent.
833
859
  *
834
860
  * @example
835
861
  * agent-1
@@ -837,12 +863,12 @@ export declare class GetManagedAgentResponseBodyData extends $dara.Model {
837
863
  agentId?: string;
838
864
  /**
839
865
  * @remarks
840
- * The list of additional AgenticFS mounts. The total number of AgenticFS mounts and OSS mounts cannot exceed 10.
866
+ * The list of additional AgenticFS mounts. The total number of AgenticFS and OSS mounts cannot exceed 10.
841
867
  */
842
868
  agenticFsMounts?: GetManagedAgentResponseBodyDataAgenticFsMounts[];
843
869
  /**
844
870
  * @remarks
845
- * The skills that are explicitly added or overridden by the user. This field does not include 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 create and update operations.
871
+ * The explicitly configured skills.
846
872
  */
847
873
  configuredSkills?: GetManagedAgentResponseBodyDataConfiguredSkills[];
848
874
  /**
@@ -874,22 +900,22 @@ export declare class GetManagedAgentResponseBodyData extends $dara.Model {
874
900
  * The description of the managed agent.
875
901
  *
876
902
  * @example
877
- * An agent for code review
903
+ * Agent for code review
878
904
  */
879
905
  description?: string;
880
906
  /**
881
907
  * @remarks
882
- * The environment configuration.
908
+ * The environment configuration information.
883
909
  */
884
910
  environment?: GetManagedAgentResponseBodyDataEnvironment;
885
911
  /**
886
912
  * @remarks
887
- * The agent runtime harness.
913
+ * The runtime framework of the agent.
888
914
  */
889
915
  harness?: GetManagedAgentResponseBodyDataHarness;
890
916
  /**
891
917
  * @remarks
892
- * The agent instruction that guides the behavior of the agent.
918
+ * The agent instructions used to guide the behavior of the agent.
893
919
  *
894
920
  * @example
895
921
  * You are a code review assistant
@@ -913,7 +939,7 @@ export declare class GetManagedAgentResponseBodyData extends $dara.Model {
913
939
  latestVersionStatus?: string;
914
940
  /**
915
941
  * @remarks
916
- * The model configuration.
942
+ * The model configuration information.
917
943
  */
918
944
  model?: GetManagedAgentResponseBodyDataModel;
919
945
  /**
@@ -926,14 +952,19 @@ export declare class GetManagedAgentResponseBodyData extends $dara.Model {
926
952
  name?: string;
927
953
  /**
928
954
  * @remarks
929
- * The network configuration.
955
+ * The network configuration information.
930
956
  */
931
957
  network?: GetManagedAgentResponseBodyDataNetwork;
932
958
  /**
933
959
  * @remarks
934
- * The list of OSS mounts. A maximum of 10 items are allowed.
960
+ * The list of OSS mounts. A maximum of 10 mounts are allowed.
935
961
  */
936
962
  ossMounts?: GetManagedAgentResponseBodyDataOssMounts[];
963
+ /**
964
+ * @remarks
965
+ * The prompt variable declarations.
966
+ */
967
+ promptVariables?: GetManagedAgentResponseBodyDataPromptVariables[];
937
968
  /**
938
969
  * @remarks
939
970
  * The region ID.
@@ -944,24 +975,24 @@ export declare class GetManagedAgentResponseBodyData extends $dara.Model {
944
975
  regionId?: string;
945
976
  /**
946
977
  * @remarks
947
- * The runtime configuration.
978
+ * The runtime configuration information.
948
979
  */
949
980
  runtime?: GetManagedAgentResponseBodyDataRuntime;
950
981
  /**
951
982
  * @remarks
952
- * The instance counts of the managed agent grouped by sandbox phase. Current keys: PENDING (creating or initializing), RUNNING (running), HIBERNATING (hibernating), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (terminating), 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. Use FAILED > 0 to determine whether abnormal instances exist.
983
+ * The number of managed agent instances grouped by sandbox phase. Current keys include PENDING (creating or initializing), RUNNING (running), HIBERNATING (hibernating), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (terminating), and FAILED (failed at runtime). 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.
953
984
  */
954
985
  sandboxPhaseCounts?: {
955
986
  [key: string]: number;
956
987
  };
957
988
  /**
958
989
  * @remarks
959
- * The list of skill configurations.
990
+ * The skill configuration list.
960
991
  */
961
992
  skills?: GetManagedAgentResponseBodyDataSkills[];
962
993
  /**
963
994
  * @remarks
964
- * The status of the managed agent.
995
+ * The managed agent status.
965
996
  *
966
997
  * @example
967
998
  * Running
@@ -969,22 +1000,22 @@ export declare class GetManagedAgentResponseBodyData extends $dara.Model {
969
1000
  status?: string;
970
1001
  /**
971
1002
  * @remarks
972
- * The list of child agent configurations.
1003
+ * The sub-agent configuration list.
973
1004
  */
974
1005
  subAgents?: GetManagedAgentResponseBodyDataSubAgents[];
975
1006
  /**
976
1007
  * @remarks
977
- * The template configuration.
1008
+ * The template configuration information.
978
1009
  */
979
1010
  template?: GetManagedAgentResponseBodyDataTemplate;
980
1011
  /**
981
1012
  * @remarks
982
- * The list of tool configurations.
1013
+ * The tool configuration list.
983
1014
  */
984
1015
  tools?: GetManagedAgentResponseBodyDataTools[];
985
1016
  /**
986
1017
  * @remarks
987
- * The time when the resource was last updated, in RFC 3339 format.
1018
+ * The update time in RFC 3339 format.
988
1019
  *
989
1020
  * @example
990
1021
  * 2026-01-01T00:00:00Z
@@ -1012,7 +1043,7 @@ export declare class GetManagedAgentResponseBodyData extends $dara.Model {
1012
1043
  export declare class GetManagedAgentResponseBody extends $dara.Model {
1013
1044
  /**
1014
1045
  * @remarks
1015
- * The business status code. The value is SUCCESS when the operation succeeds.
1046
+ * The business status code. The value is SUCCESS when the request succeeds.
1016
1047
  *
1017
1048
  * @example
1018
1049
  * SUCCESS
@@ -1033,7 +1064,7 @@ export declare class GetManagedAgentResponseBody extends $dara.Model {
1033
1064
  httpStatusCode?: number;
1034
1065
  /**
1035
1066
  * @remarks
1036
- * The result message of the request.
1067
+ * The request processing result message.
1037
1068
  *
1038
1069
  * @example
1039
1070
  * success
@@ -1049,7 +1080,7 @@ export declare class GetManagedAgentResponseBody extends $dara.Model {
1049
1080
  requestId?: string;
1050
1081
  /**
1051
1082
  * @remarks
1052
- * Indicates whether the request was successful.
1083
+ * Indicates whether the request is successful.
1053
1084
  *
1054
1085
  * @example
1055
1086
  * true
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.GetManagedAgentResponseBody = exports.GetManagedAgentResponseBodyData = exports.GetManagedAgentResponseBodyDataTools = exports.GetManagedAgentResponseBodyDataTemplate = exports.GetManagedAgentResponseBodyDataTemplateAiRegistry = exports.GetManagedAgentResponseBodyDataSubAgents = exports.GetManagedAgentResponseBodyDataSubAgentsSkills = exports.GetManagedAgentResponseBodyDataSkills = exports.GetManagedAgentResponseBodyDataSkillsVersionSelector = exports.GetManagedAgentResponseBodyDataRuntime = exports.GetManagedAgentResponseBodyDataRuntimeSessionPolicy = exports.GetManagedAgentResponseBodyDataRuntimeHpa = exports.GetManagedAgentResponseBodyDataRuntimeCompute = exports.GetManagedAgentResponseBodyDataOssMounts = exports.GetManagedAgentResponseBodyDataNetwork = exports.GetManagedAgentResponseBodyDataNetworkAccessVpc = exports.GetManagedAgentResponseBodyDataNetworkAccessInternet = exports.GetManagedAgentResponseBodyDataModel = exports.GetManagedAgentResponseBodyDataModelQuota = exports.GetManagedAgentResponseBodyDataHarness = exports.GetManagedAgentResponseBodyDataHarnessConfiguration = exports.GetManagedAgentResponseBodyDataEnvironment = exports.GetManagedAgentResponseBodyDataEnvironmentVariables = exports.GetManagedAgentResponseBodyDataEnvironmentCredentialReferences = exports.GetManagedAgentResponseBodyDataConfiguredSkills = exports.GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector = exports.GetManagedAgentResponseBodyDataAgenticFsMounts = void 0;
36
+ exports.GetManagedAgentResponseBody = exports.GetManagedAgentResponseBodyData = exports.GetManagedAgentResponseBodyDataTools = exports.GetManagedAgentResponseBodyDataTemplate = exports.GetManagedAgentResponseBodyDataTemplateAiRegistry = exports.GetManagedAgentResponseBodyDataSubAgents = exports.GetManagedAgentResponseBodyDataSubAgentsSkills = exports.GetManagedAgentResponseBodyDataSkills = exports.GetManagedAgentResponseBodyDataSkillsVersionSelector = exports.GetManagedAgentResponseBodyDataRuntime = exports.GetManagedAgentResponseBodyDataRuntimeSessionPolicy = exports.GetManagedAgentResponseBodyDataRuntimeHpa = exports.GetManagedAgentResponseBodyDataRuntimeCompute = exports.GetManagedAgentResponseBodyDataPromptVariables = exports.GetManagedAgentResponseBodyDataOssMounts = exports.GetManagedAgentResponseBodyDataNetwork = exports.GetManagedAgentResponseBodyDataNetworkAccessVpc = exports.GetManagedAgentResponseBodyDataNetworkAccessInternet = exports.GetManagedAgentResponseBodyDataModel = exports.GetManagedAgentResponseBodyDataModelQuota = exports.GetManagedAgentResponseBodyDataHarness = exports.GetManagedAgentResponseBodyDataHarnessConfiguration = exports.GetManagedAgentResponseBodyDataEnvironment = exports.GetManagedAgentResponseBodyDataEnvironmentVariables = exports.GetManagedAgentResponseBodyDataEnvironmentCredentialReferences = exports.GetManagedAgentResponseBodyDataConfiguredSkills = exports.GetManagedAgentResponseBodyDataConfiguredSkillsVersionSelector = exports.GetManagedAgentResponseBodyDataAgenticFsMounts = void 0;
37
37
  // This file is auto-generated, don't edit it
38
38
  const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class GetManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
@@ -369,6 +369,29 @@ class GetManagedAgentResponseBodyDataOssMounts extends $dara.Model {
369
369
  }
370
370
  }
371
371
  exports.GetManagedAgentResponseBodyDataOssMounts = GetManagedAgentResponseBodyDataOssMounts;
372
+ class GetManagedAgentResponseBodyDataPromptVariables extends $dara.Model {
373
+ static names() {
374
+ return {
375
+ defaultValue: 'defaultValue',
376
+ description: 'description',
377
+ name: 'name',
378
+ };
379
+ }
380
+ static types() {
381
+ return {
382
+ defaultValue: 'string',
383
+ description: 'string',
384
+ name: 'string',
385
+ };
386
+ }
387
+ validate() {
388
+ super.validate();
389
+ }
390
+ constructor(map) {
391
+ super(map);
392
+ }
393
+ }
394
+ exports.GetManagedAgentResponseBodyDataPromptVariables = GetManagedAgentResponseBodyDataPromptVariables;
372
395
  class GetManagedAgentResponseBodyDataRuntimeCompute extends $dara.Model {
373
396
  static names() {
374
397
  return {
@@ -653,6 +676,7 @@ class GetManagedAgentResponseBodyData extends $dara.Model {
653
676
  name: 'name',
654
677
  network: 'network',
655
678
  ossMounts: 'ossMounts',
679
+ promptVariables: 'promptVariables',
656
680
  regionId: 'regionId',
657
681
  runtime: 'runtime',
658
682
  sandboxPhaseCounts: 'sandboxPhaseCounts',
@@ -683,6 +707,7 @@ class GetManagedAgentResponseBodyData extends $dara.Model {
683
707
  name: 'string',
684
708
  network: GetManagedAgentResponseBodyDataNetwork,
685
709
  ossMounts: { 'type': 'array', 'itemType': GetManagedAgentResponseBodyDataOssMounts },
710
+ promptVariables: { 'type': 'array', 'itemType': GetManagedAgentResponseBodyDataPromptVariables },
686
711
  regionId: 'string',
687
712
  runtime: GetManagedAgentResponseBodyDataRuntime,
688
713
  sandboxPhaseCounts: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
@@ -717,6 +742,9 @@ class GetManagedAgentResponseBodyData extends $dara.Model {
717
742
  if (Array.isArray(this.ossMounts)) {
718
743
  $dara.Model.validateArray(this.ossMounts);
719
744
  }
745
+ if (Array.isArray(this.promptVariables)) {
746
+ $dara.Model.validateArray(this.promptVariables);
747
+ }
720
748
  if (this.runtime && typeof this.runtime.validate === 'function') {
721
749
  this.runtime.validate();
722
750
  }