@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 CreateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
3
3
  /**
4
4
  * @remarks
5
- * 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.
5
+ * The subdirectory under /mnt/agenticfs/ in the container. This parameter is required and validated by the backend for each mount item. Mount targets must not 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 CreateManagedAgentResponseBodyDataAgenticFsMounts extends $
10
10
  mountPath?: string;
11
11
  /**
12
12
  * @remarks
13
- * 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.
13
+ * The existing non-empty relative directory under the access point. This parameter is required and validated by the backend for each mount item. 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 CreateManagedAgentResponseBodyDataAgenticFsMounts extends $
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 parameter 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 CreateManagedAgentResponseBodyDataAgenticFsMounts extends $
26
26
  readOnly?: boolean;
27
27
  /**
28
28
  * @remarks
29
- * 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.
29
+ * The domain name of the access point. This parameter is required and validated by the backend for each mount item. 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 CreateManagedAgentResponseBodyDataAgenticFsMounts extends $
46
46
  export declare class CreateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector extends $dara.Model {
47
47
  /**
48
48
  * @remarks
49
- * The version selector type. Valid values:
50
- * - LABEL: select by label.
51
- * - VERSION: select by specific version.
49
+ * The version selector type. Valid values: LABEL: selects by label. VERSION: selects by specific version.
52
50
  *
53
51
  * @example
54
52
  * LABEL
@@ -56,7 +54,7 @@ export declare class CreateManagedAgentResponseBodyDataConfiguredSkillsVersionSe
56
54
  type?: string;
57
55
  /**
58
56
  * @remarks
59
- * 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.
57
+ * 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.
60
58
  *
61
59
  * @example
62
60
  * latest
@@ -76,7 +74,7 @@ export declare class CreateManagedAgentResponseBodyDataConfiguredSkillsVersionSe
76
74
  export declare class CreateManagedAgentResponseBodyDataConfiguredSkills 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 CreateManagedAgentResponseBodyDataConfiguredSkills extends
86
84
  name?: string;
87
85
  /**
88
86
  * @remarks
89
- * The skill source type. Valid values:
90
- * - REFERENCE: referenced from AI Registry.
91
- * - STATIC: statically bundled with the package.
87
+ * The skill source type. Valid values: REFERENCE: references the AI registry. STATIC: statically provided with the package.
92
88
  *
93
89
  * @example
94
90
  * REFERENCE
@@ -96,7 +92,7 @@ export declare class CreateManagedAgentResponseBodyDataConfiguredSkills extends
96
92
  sourceType?: string;
97
93
  /**
98
94
  * @remarks
99
- * A legacy compatibility field. Use sourceType and versionSelector for new requests.
95
+ * The legacy compatibility field. Use sourceType and versionSelector for new requests.
100
96
  *
101
97
  * @example
102
98
  * 1.0.0
@@ -104,7 +100,7 @@ export declare class CreateManagedAgentResponseBodyDataConfiguredSkills extends
104
100
  version?: string;
105
101
  /**
106
102
  * @remarks
107
- * The version selector for the reference. Defaults to LABEL/latest if omitted. Currently supports LABEL/latest.
103
+ * The referenced version selector. If omitted, the default value is LABEL/latest. Currently, only LABEL/latest is supported.
108
104
  */
109
105
  versionSelector?: CreateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector;
110
106
  static names(): {
@@ -225,12 +221,12 @@ export declare class CreateManagedAgentResponseBodyDataHarnessConfiguration exte
225
221
  export declare class CreateManagedAgentResponseBodyDataHarness extends $dara.Model {
226
222
  /**
227
223
  * @remarks
228
- * The runtime harness configuration.
224
+ * The runtime framework configuration.
229
225
  */
230
226
  configuration?: CreateManagedAgentResponseBodyDataHarnessConfiguration;
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 CreateManagedAgentResponseBodyDataModelQuota extends $dara.
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 is exceeded in the current period. This is a read-only field returned by the backend.
270
266
  *
271
267
  * @example
272
268
  * false
@@ -274,7 +270,7 @@ export declare class CreateManagedAgentResponseBodyDataModelQuota extends $dara.
274
270
  overLimit?: boolean;
275
271
  /**
276
272
  * @remarks
277
- * The statistical period of the quota. A value of day indicates daily, and a value of month indicates monthly.
273
+ * The quota statistical period. A value of day indicates a daily period, and a value of month indicates a monthly period.
278
274
  *
279
275
  * @example
280
276
  * day
@@ -282,7 +278,7 @@ export declare class CreateManagedAgentResponseBodyDataModelQuota extends $dara.
282
278
  periodType?: string;
283
279
  /**
284
280
  * @remarks
285
- * The gateway quota rule status. This field is read-only and returned by the backend.
281
+ * The gateway quota rule status. This is a read-only field returned by the backend.
286
282
  *
287
283
  * @example
288
284
  * ACTIVE
@@ -298,7 +294,7 @@ export declare class CreateManagedAgentResponseBodyDataModelQuota extends $dara.
298
294
  usageLimit?: number;
299
295
  /**
300
296
  * @remarks
301
- * 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.
302
298
  *
303
299
  * @example
304
300
  * 12345
@@ -334,7 +330,7 @@ export declare class CreateManagedAgentResponseBodyDataModel extends $dara.Model
334
330
  modelName?: string;
335
331
  /**
336
332
  * @remarks
337
- * The model token quota configuration and the quota usage status in the current period. This field is empty if no quota is configured.
333
+ * The model token quota configuration and the quota usage status for the current period. This field is empty if no quota is configured.
338
334
  */
339
335
  quota?: CreateManagedAgentResponseBodyDataModelQuota;
340
336
  static names(): {
@@ -351,7 +347,7 @@ export declare class CreateManagedAgentResponseBodyDataModel extends $dara.Model
351
347
  export declare class CreateManagedAgentResponseBodyDataNetworkAccessInternet extends $dara.Model {
352
348
  /**
353
349
  * @remarks
354
- * Specifies whether to allow public network access.
350
+ * Specifies whether to allow Internet access.
355
351
  *
356
352
  * @example
357
353
  * false
@@ -413,7 +409,7 @@ export declare class CreateManagedAgentResponseBodyDataNetwork extends $dara.Mod
413
409
  export declare class CreateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
414
410
  /**
415
411
  * @remarks
416
- * The OSS bucket name. 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 item.
417
413
  *
418
414
  * @example
419
415
  * bucket-001
@@ -421,7 +417,7 @@ export declare class CreateManagedAgentResponseBodyDataOssMounts extends $dara.M
421
417
  bucketName?: string;
422
418
  /**
423
419
  * @remarks
424
- * The absolute mount path in the container. Required for each mount item as validated by the backend.
420
+ * The absolute mount path in the container. This parameter is required and validated by the backend for each mount item.
425
421
  *
426
422
  * @example
427
423
  * /mnt/oss/datasets
@@ -429,7 +425,7 @@ export declare class CreateManagedAgentResponseBodyDataOssMounts extends $dara.M
429
425
  mountPath?: string;
430
426
  /**
431
427
  * @remarks
432
- * The relative object prefix within the bucket. If not specified, the entire bucket is mounted.
428
+ * The relative object prefix in the bucket. If this parameter is not specified, the entire bucket is mounted.
433
429
  *
434
430
  * @example
435
431
  * datasets
@@ -437,7 +433,7 @@ export declare class CreateManagedAgentResponseBodyDataOssMounts extends $dara.M
437
433
  path?: string;
438
434
  /**
439
435
  * @remarks
440
- * Specifies whether to mount in read-only mode. Default value: false.
436
+ * Specifies whether the mount is read-only. Default value: false.
441
437
  */
442
438
  readOnly?: boolean;
443
439
  static names(): {
@@ -451,6 +447,42 @@ export declare class CreateManagedAgentResponseBodyDataOssMounts extends $dara.M
451
447
  [key: string]: any;
452
448
  });
453
449
  }
450
+ export declare class CreateManagedAgentResponseBodyDataPromptVariables extends $dara.Model {
451
+ /**
452
+ * @remarks
453
+ * The default value.
454
+ *
455
+ * @example
456
+ * default
457
+ */
458
+ defaultValue?: string;
459
+ /**
460
+ * @remarks
461
+ * The description of the variable.
462
+ *
463
+ * @example
464
+ * desc
465
+ */
466
+ description?: string;
467
+ /**
468
+ * @remarks
469
+ * The name of the variable.
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
+ }
454
486
  export declare class CreateManagedAgentResponseBodyDataRuntimeCompute extends $dara.Model {
455
487
  /**
456
488
  * @remarks
@@ -476,12 +508,12 @@ export declare class CreateManagedAgentResponseBodyDataRuntimeCompute extends $d
476
508
  export declare class CreateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
477
509
  /**
478
510
  * @remarks
479
- * Specifies whether to enable auto scaling. Required when hpa is present, as validated by the backend.
511
+ * Specifies whether auto-scaling is enabled. This parameter is required and validated by the backend when HPA is present.
480
512
  */
481
513
  enabled?: boolean;
482
514
  /**
483
515
  * @remarks
484
- * The maximum number of active sessions per sandbox. Required when hpa is present, as validated by the backend.
516
+ * The maximum number of active sessions per sandbox. This parameter is required and validated by the backend when HPA is present.
485
517
  *
486
518
  * @example
487
519
  * 5
@@ -489,7 +521,7 @@ export declare class CreateManagedAgentResponseBodyDataRuntimeHpa extends $dara.
489
521
  maxConcurrentSessionsPerSandbox?: number;
490
522
  /**
491
523
  * @remarks
492
- * The maximum number of sandboxes. Required when HPA is enabled and must be greater than or equal to 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.
493
525
  *
494
526
  * @example
495
527
  * 3
@@ -497,7 +529,7 @@ export declare class CreateManagedAgentResponseBodyDataRuntimeHpa extends $dara.
497
529
  maxSandboxCount?: number;
498
530
  /**
499
531
  * @remarks
500
- * The minimum number of sandboxes. Required when HPA is enabled.
532
+ * The minimum number of sandboxes. This parameter is required when HPA is enabled.
501
533
  *
502
534
  * @example
503
535
  * 1
@@ -505,7 +537,7 @@ export declare class CreateManagedAgentResponseBodyDataRuntimeHpa extends $dara.
505
537
  minSandboxCount?: number;
506
538
  /**
507
539
  * @remarks
508
- * The time-to-live for an inactive session, in seconds. Required when hpa is present, as validated by the backend.
540
+ * The timeout period in seconds for reclaiming an inactive session. This parameter is required and validated by the backend when HPA is present.
509
541
  *
510
542
  * @example
511
543
  * 3600
@@ -525,7 +557,7 @@ export declare class CreateManagedAgentResponseBodyDataRuntimeHpa extends $dara.
525
557
  export declare class CreateManagedAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
526
558
  /**
527
559
  * @remarks
528
- * The name of the HTTP header used for session affinity. This parameter takes effect only when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
560
+ * The name of the HTTP header used for session affinity. This parameter takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
529
561
  *
530
562
  * @example
531
563
  * X-Session-Id
@@ -562,7 +594,7 @@ export declare class CreateManagedAgentResponseBodyDataRuntime extends $dara.Mod
562
594
  compute?: CreateManagedAgentResponseBodyDataRuntimeCompute;
563
595
  /**
564
596
  * @remarks
565
- * The sandbox auto scaling and session configuration.
597
+ * The sandbox auto-scaling and session configuration.
566
598
  */
567
599
  hpa?: CreateManagedAgentResponseBodyDataRuntimeHpa;
568
600
  /**
@@ -586,9 +618,7 @@ export declare class CreateManagedAgentResponseBodyDataRuntime extends $dara.Mod
586
618
  export declare class CreateManagedAgentResponseBodyDataSkillsVersionSelector extends $dara.Model {
587
619
  /**
588
620
  * @remarks
589
- * The version selector type. Valid values:
590
- * - LABEL: select by label.
591
- * - VERSION: select by specific version.
621
+ * The version selector type. Valid values: LABEL: selects by label. VERSION: selects by specific version.
592
622
  *
593
623
  * @example
594
624
  * LABEL
@@ -596,7 +626,7 @@ export declare class CreateManagedAgentResponseBodyDataSkillsVersionSelector ext
596
626
  type?: string;
597
627
  /**
598
628
  * @remarks
599
- * 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.
629
+ * 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.
600
630
  *
601
631
  * @example
602
632
  * latest
@@ -616,7 +646,7 @@ export declare class CreateManagedAgentResponseBodyDataSkillsVersionSelector ext
616
646
  export declare class CreateManagedAgentResponseBodyDataSkills extends $dara.Model {
617
647
  /**
618
648
  * @remarks
619
- * The version that has taken effect at runtime. This field is read-only.
649
+ * The applied runtime version. This field is read-only.
620
650
  *
621
651
  * @example
622
652
  * 1.0.0
@@ -624,7 +654,7 @@ export declare class CreateManagedAgentResponseBodyDataSkills extends $dara.Mode
624
654
  appliedVersion?: string;
625
655
  /**
626
656
  * @remarks
627
- * Indicates whether the skill originates from a fixed template. This field is read-only. Template items cannot be removed.
657
+ * Indicates whether the skill is from a fixed template. This field is read-only. Template items cannot be removed.
628
658
  *
629
659
  * @example
630
660
  * false
@@ -648,9 +678,7 @@ export declare class CreateManagedAgentResponseBodyDataSkills extends $dara.Mode
648
678
  resolvedVersion?: string;
649
679
  /**
650
680
  * @remarks
651
- * The skill source type. Valid values:
652
- * - REFERENCE: referenced from AI Registry.
653
- * - STATIC: statically bundled with the package.
681
+ * The skill source type. Valid values: REFERENCE: references the AI registry. STATIC: statically provided with the package.
654
682
  *
655
683
  * @example
656
684
  * REFERENCE
@@ -666,7 +694,7 @@ export declare class CreateManagedAgentResponseBodyDataSkills extends $dara.Mode
666
694
  version?: string;
667
695
  /**
668
696
  * @remarks
669
- * The referenced version selector. Defaults to LABEL/latest if omitted.
697
+ * The referenced version selector. If omitted, the default value is LABEL/latest.
670
698
  */
671
699
  versionSelector?: CreateManagedAgentResponseBodyDataSkillsVersionSelector;
672
700
  static names(): {
@@ -683,7 +711,7 @@ export declare class CreateManagedAgentResponseBodyDataSkills extends $dara.Mode
683
711
  export declare class CreateManagedAgentResponseBodyDataSubAgentsSkills extends $dara.Model {
684
712
  /**
685
713
  * @remarks
686
- * The skill name used by the sub-agent. Declared as optional for compatibility, but the backend validates that each entry is required.
714
+ * The skill name.
687
715
  *
688
716
  * @example
689
717
  * web-search
@@ -691,7 +719,7 @@ export declare class CreateManagedAgentResponseBodyDataSubAgentsSkills extends $
691
719
  name?: string;
692
720
  /**
693
721
  * @remarks
694
- * The optional version number. If omitted, set to null, or left blank, the latest version is resolved.
722
+ * The skill version.
695
723
  *
696
724
  * @example
697
725
  * 1.0.0
@@ -731,7 +759,7 @@ export declare class CreateManagedAgentResponseBodyDataSubAgents extends $dara.M
731
759
  name?: string;
732
760
  /**
733
761
  * @remarks
734
- * 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.
762
+ * The list of sub-agent skills.
735
763
  */
736
764
  skills?: CreateManagedAgentResponseBodyDataSubAgentsSkills[];
737
765
  static names(): {
@@ -748,7 +776,7 @@ export declare class CreateManagedAgentResponseBodyDataSubAgents extends $dara.M
748
776
  export declare class CreateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.Model {
749
777
  /**
750
778
  * @remarks
751
- * The name of the template in AI Registry.
779
+ * The name of the template in the AI registry.
752
780
  *
753
781
  * This parameter is required.
754
782
  *
@@ -758,7 +786,7 @@ export declare class CreateManagedAgentResponseBodyDataTemplateAiRegistry extend
758
786
  name?: string;
759
787
  /**
760
788
  * @remarks
761
- * The version of the template in AI Registry.
789
+ * The version of the template in the AI registry.
762
790
  *
763
791
  * @example
764
792
  * 1.0.0
@@ -778,7 +806,7 @@ export declare class CreateManagedAgentResponseBodyDataTemplateAiRegistry extend
778
806
  export declare class CreateManagedAgentResponseBodyDataTemplate extends $dara.Model {
779
807
  /**
780
808
  * @remarks
781
- * The AI Registry template configuration.
809
+ * The AI registry template configuration.
782
810
  */
783
811
  aiRegistry?: CreateManagedAgentResponseBodyDataTemplateAiRegistry;
784
812
  static names(): {
@@ -827,7 +855,7 @@ export declare class CreateManagedAgentResponseBodyDataTools extends $dara.Model
827
855
  export declare class CreateManagedAgentResponseBodyData extends $dara.Model {
828
856
  /**
829
857
  * @remarks
830
- * The managed agent ID.
858
+ * The ID of the managed agent.
831
859
  *
832
860
  * @example
833
861
  * agent-1
@@ -835,12 +863,12 @@ export declare class CreateManagedAgentResponseBodyData extends $dara.Model {
835
863
  agentId?: string;
836
864
  /**
837
865
  * @remarks
838
- * The AgenticFS additional mount list. The total number of items in this list and ossMounts cannot exceed 10.
866
+ * The list of additional AgenticFS mounts. The total number of AgenticFS mounts and ossMounts cannot exceed 10.
839
867
  */
840
868
  agenticFsMounts?: CreateManagedAgentResponseBodyDataAgenticFsMounts[];
841
869
  /**
842
870
  * @remarks
843
- * 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.
871
+ * The explicitly configured skills.
844
872
  */
845
873
  configuredSkills?: CreateManagedAgentResponseBodyDataConfiguredSkills[];
846
874
  /**
@@ -872,22 +900,22 @@ export declare class CreateManagedAgentResponseBodyData extends $dara.Model {
872
900
  * The description of the managed agent.
873
901
  *
874
902
  * @example
875
- * An agent for code review
903
+ * Agent for code review
876
904
  */
877
905
  description?: string;
878
906
  /**
879
907
  * @remarks
880
- * The environment configuration.
908
+ * The environment configuration information.
881
909
  */
882
910
  environment?: CreateManagedAgentResponseBodyDataEnvironment;
883
911
  /**
884
912
  * @remarks
885
- * The agent runtime harness.
913
+ * The agent runtime framework.
886
914
  */
887
915
  harness?: CreateManagedAgentResponseBodyDataHarness;
888
916
  /**
889
917
  * @remarks
890
- * The agent instruction that guides the behavior of the agent.
918
+ * The agent instruction used to guide the behavior of the agent.
891
919
  *
892
920
  * @example
893
921
  * You are a code review assistant
@@ -911,7 +939,7 @@ export declare class CreateManagedAgentResponseBodyData extends $dara.Model {
911
939
  latestVersionStatus?: string;
912
940
  /**
913
941
  * @remarks
914
- * The model configuration.
942
+ * The model configuration information.
915
943
  */
916
944
  model?: CreateManagedAgentResponseBodyDataModel;
917
945
  /**
@@ -924,14 +952,19 @@ export declare class CreateManagedAgentResponseBodyData extends $dara.Model {
924
952
  name?: string;
925
953
  /**
926
954
  * @remarks
927
- * The network configuration.
955
+ * The network configuration information.
928
956
  */
929
957
  network?: CreateManagedAgentResponseBodyDataNetwork;
930
958
  /**
931
959
  * @remarks
932
- * The OSS mount list. A maximum of 10 items are allowed.
960
+ * The list of OSS mounts. A maximum of 10 items are allowed.
933
961
  */
934
962
  ossMounts?: CreateManagedAgentResponseBodyDataOssMounts[];
963
+ /**
964
+ * @remarks
965
+ * The prompt variable declarations.
966
+ */
967
+ promptVariables?: CreateManagedAgentResponseBodyDataPromptVariables[];
935
968
  /**
936
969
  * @remarks
937
970
  * The region ID.
@@ -947,7 +980,7 @@ export declare class CreateManagedAgentResponseBodyData extends $dara.Model {
947
980
  runtime?: CreateManagedAgentResponseBodyDataRuntime;
948
981
  /**
949
982
  * @remarks
950
- * 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.
983
+ * The number of managed agent instances by sandbox phase. Valid keys: PENDING (creating or initializing), RUNNING (running), HIBERNATING (hibernating), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (terminating), and 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. You can use FAILED > 0 to determine whether abnormal instances exist.
951
984
  */
952
985
  sandboxPhaseCounts?: {
953
986
  [key: string]: number;
@@ -982,7 +1015,7 @@ export declare class CreateManagedAgentResponseBodyData extends $dara.Model {
982
1015
  tools?: CreateManagedAgentResponseBodyDataTools[];
983
1016
  /**
984
1017
  * @remarks
985
- * The time when the managed agent was last updated, in RFC 3339 format.
1018
+ * The update time in RFC 3339 format.
986
1019
  *
987
1020
  * @example
988
1021
  * 2026-01-01T00:00:00Z
@@ -1010,7 +1043,7 @@ export declare class CreateManagedAgentResponseBodyData extends $dara.Model {
1010
1043
  export declare class CreateManagedAgentResponseBody extends $dara.Model {
1011
1044
  /**
1012
1045
  * @remarks
1013
- * The business status code. The value is SUCCESS when the operation succeeds.
1046
+ * The business status code. The value is SUCCESS if the operation is successful.
1014
1047
  *
1015
1048
  * @example
1016
1049
  * SUCCESS
@@ -1023,7 +1056,7 @@ export declare class CreateManagedAgentResponseBody extends $dara.Model {
1023
1056
  data?: CreateManagedAgentResponseBodyData;
1024
1057
  /**
1025
1058
  * @remarks
1026
- * The HTTP status code. The value 200 indicates success.
1059
+ * The HTTP status code. A value of 200 indicates success.
1027
1060
  *
1028
1061
  * @example
1029
1062
  * 200
@@ -1031,7 +1064,7 @@ export declare class CreateManagedAgentResponseBody extends $dara.Model {
1031
1064
  httpStatusCode?: number;
1032
1065
  /**
1033
1066
  * @remarks
1034
- * The message returned for the request.
1067
+ * The message about the request processing result.
1035
1068
  *
1036
1069
  * @example
1037
1070
  * success
@@ -1047,7 +1080,7 @@ export declare class CreateManagedAgentResponseBody extends $dara.Model {
1047
1080
  requestId?: string;
1048
1081
  /**
1049
1082
  * @remarks
1050
- * Indicates whether the request was successful.
1083
+ * Indicates whether the request is successful.
1051
1084
  *
1052
1085
  * @example
1053
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.CreateManagedAgentResponseBody = exports.CreateManagedAgentResponseBodyData = exports.CreateManagedAgentResponseBodyDataTools = exports.CreateManagedAgentResponseBodyDataTemplate = exports.CreateManagedAgentResponseBodyDataTemplateAiRegistry = exports.CreateManagedAgentResponseBodyDataSubAgents = exports.CreateManagedAgentResponseBodyDataSubAgentsSkills = exports.CreateManagedAgentResponseBodyDataSkills = exports.CreateManagedAgentResponseBodyDataSkillsVersionSelector = exports.CreateManagedAgentResponseBodyDataRuntime = exports.CreateManagedAgentResponseBodyDataRuntimeSessionPolicy = exports.CreateManagedAgentResponseBodyDataRuntimeHpa = exports.CreateManagedAgentResponseBodyDataRuntimeCompute = exports.CreateManagedAgentResponseBodyDataOssMounts = exports.CreateManagedAgentResponseBodyDataNetwork = exports.CreateManagedAgentResponseBodyDataNetworkAccessVpc = exports.CreateManagedAgentResponseBodyDataNetworkAccessInternet = exports.CreateManagedAgentResponseBodyDataModel = exports.CreateManagedAgentResponseBodyDataModelQuota = exports.CreateManagedAgentResponseBodyDataHarness = exports.CreateManagedAgentResponseBodyDataHarnessConfiguration = exports.CreateManagedAgentResponseBodyDataEnvironment = exports.CreateManagedAgentResponseBodyDataEnvironmentVariables = exports.CreateManagedAgentResponseBodyDataEnvironmentCredentialReferences = exports.CreateManagedAgentResponseBodyDataConfiguredSkills = exports.CreateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector = exports.CreateManagedAgentResponseBodyDataAgenticFsMounts = void 0;
36
+ exports.CreateManagedAgentResponseBody = exports.CreateManagedAgentResponseBodyData = exports.CreateManagedAgentResponseBodyDataTools = exports.CreateManagedAgentResponseBodyDataTemplate = exports.CreateManagedAgentResponseBodyDataTemplateAiRegistry = exports.CreateManagedAgentResponseBodyDataSubAgents = exports.CreateManagedAgentResponseBodyDataSubAgentsSkills = exports.CreateManagedAgentResponseBodyDataSkills = exports.CreateManagedAgentResponseBodyDataSkillsVersionSelector = exports.CreateManagedAgentResponseBodyDataRuntime = exports.CreateManagedAgentResponseBodyDataRuntimeSessionPolicy = exports.CreateManagedAgentResponseBodyDataRuntimeHpa = exports.CreateManagedAgentResponseBodyDataRuntimeCompute = exports.CreateManagedAgentResponseBodyDataPromptVariables = exports.CreateManagedAgentResponseBodyDataOssMounts = exports.CreateManagedAgentResponseBodyDataNetwork = exports.CreateManagedAgentResponseBodyDataNetworkAccessVpc = exports.CreateManagedAgentResponseBodyDataNetworkAccessInternet = exports.CreateManagedAgentResponseBodyDataModel = exports.CreateManagedAgentResponseBodyDataModelQuota = exports.CreateManagedAgentResponseBodyDataHarness = exports.CreateManagedAgentResponseBodyDataHarnessConfiguration = exports.CreateManagedAgentResponseBodyDataEnvironment = exports.CreateManagedAgentResponseBodyDataEnvironmentVariables = exports.CreateManagedAgentResponseBodyDataEnvironmentCredentialReferences = exports.CreateManagedAgentResponseBodyDataConfiguredSkills = exports.CreateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector = exports.CreateManagedAgentResponseBodyDataAgenticFsMounts = void 0;
37
37
  // This file is auto-generated, don't edit it
38
38
  const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class CreateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
@@ -369,6 +369,29 @@ class CreateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
369
369
  }
370
370
  }
371
371
  exports.CreateManagedAgentResponseBodyDataOssMounts = CreateManagedAgentResponseBodyDataOssMounts;
372
+ class CreateManagedAgentResponseBodyDataPromptVariables 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.CreateManagedAgentResponseBodyDataPromptVariables = CreateManagedAgentResponseBodyDataPromptVariables;
372
395
  class CreateManagedAgentResponseBodyDataRuntimeCompute extends $dara.Model {
373
396
  static names() {
374
397
  return {
@@ -653,6 +676,7 @@ class CreateManagedAgentResponseBodyData 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 CreateManagedAgentResponseBodyData extends $dara.Model {
683
707
  name: 'string',
684
708
  network: CreateManagedAgentResponseBodyDataNetwork,
685
709
  ossMounts: { 'type': 'array', 'itemType': CreateManagedAgentResponseBodyDataOssMounts },
710
+ promptVariables: { 'type': 'array', 'itemType': CreateManagedAgentResponseBodyDataPromptVariables },
686
711
  regionId: 'string',
687
712
  runtime: CreateManagedAgentResponseBodyDataRuntime,
688
713
  sandboxPhaseCounts: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
@@ -717,6 +742,9 @@ class CreateManagedAgentResponseBodyData 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
  }