@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
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class UpdateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The subdirectory under /mnt/agenticfs/ in the container. Required for each mount item as validated by the backend. Mount targets must not be duplicated or have parent-child overlaps.
8
+ * 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.
9
9
  *
10
10
  * @example
11
11
  * /mnt/agenticfs/data
@@ -13,7 +13,7 @@ export class UpdateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Mod
13
13
  mountPath?: string;
14
14
  /**
15
15
  * @remarks
16
- * A 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.
16
+ * 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.
17
17
  *
18
18
  * @example
19
19
  * workspace/data
@@ -21,7 +21,7 @@ export class UpdateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Mod
21
21
  path?: string;
22
22
  /**
23
23
  * @remarks
24
- * Specifies whether to mount in read-only mode. Default value: false. This is not a RAM role read-only policy.
24
+ * Specifies whether to mount the file system in read-only mode. If omitted, the default value is false. This parameter does not represent a read-only policy for a RAM role.
25
25
  *
26
26
  * @example
27
27
  * false
@@ -29,7 +29,7 @@ export class UpdateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Mod
29
29
  readOnly?: boolean;
30
30
  /**
31
31
  * @remarks
32
- * The AccessPoint domain name. Required for each mount item as validated by the backend. Do not include the protocol, port, or path. Use the DomainName value from the NAS ListAccessPoints response.
32
+ * 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.
33
33
  *
34
34
  * @example
35
35
  * ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
@@ -65,9 +65,7 @@ export class UpdateManagedAgentResponseBodyDataAgenticFsMounts extends $dara.Mod
65
65
  export class UpdateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector extends $dara.Model {
66
66
  /**
67
67
  * @remarks
68
- * The version selector type. Valid values:
69
- * - LABEL: select by label.
70
- * - VERSION: select by specific version.
68
+ * The version selector type. Valid values: LABEL (selects by tag) and VERSION (selects by specific version).
71
69
  *
72
70
  * @example
73
71
  * LABEL
@@ -75,7 +73,7 @@ export class UpdateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector e
75
73
  type?: string;
76
74
  /**
77
75
  * @remarks
78
- * The selector value. If the type is LABEL, specify a label name such as latest. If the type is VERSION, specify a specific version number.
76
+ * The value of the selector. When the type is LABEL, this is the tag name, such as latest. When the type is VERSION, this is the specific version number.
79
77
  *
80
78
  * @example
81
79
  * latest
@@ -107,7 +105,7 @@ export class UpdateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector e
107
105
  export class UpdateManagedAgentResponseBodyDataConfiguredSkills extends $dara.Model {
108
106
  /**
109
107
  * @remarks
110
- * The skill name in the Workspace AI Registry.
108
+ * The name of the skill in the Workspace AI Registry.
111
109
  *
112
110
  * This parameter is required.
113
111
  *
@@ -117,9 +115,7 @@ export class UpdateManagedAgentResponseBodyDataConfiguredSkills extends $dara.Mo
117
115
  name?: string;
118
116
  /**
119
117
  * @remarks
120
- * The skill source type. Valid values:
121
- * - REFERENCE: referenced from AI Registry.
122
- * - STATIC: statically bundled with the package.
118
+ * The skill source type. Valid values: REFERENCE (references the AI Registry) and STATIC (statically provided with the package).
123
119
  *
124
120
  * @example
125
121
  * REFERENCE
@@ -127,7 +123,7 @@ export class UpdateManagedAgentResponseBodyDataConfiguredSkills extends $dara.Mo
127
123
  sourceType?: string;
128
124
  /**
129
125
  * @remarks
130
- * A legacy compatibility field. Use sourceType and versionSelector for new requests.
126
+ * The legacy compatibility field. Use sourceType and versionSelector for new requests.
131
127
  *
132
128
  * @example
133
129
  * 1.0.0
@@ -135,7 +131,7 @@ export class UpdateManagedAgentResponseBodyDataConfiguredSkills extends $dara.Mo
135
131
  version?: string;
136
132
  /**
137
133
  * @remarks
138
- * The version selector for the reference. Defaults to LABEL/latest if omitted. Currently supports LABEL/latest.
134
+ * The referenced version selector. If omitted, the default value is LABEL/latest. Currently, only LABEL/latest is supported.
139
135
  */
140
136
  versionSelector?: UpdateManagedAgentResponseBodyDataConfiguredSkillsVersionSelector;
141
137
  static names(): { [key: string]: string } {
@@ -287,7 +283,7 @@ export class UpdateManagedAgentResponseBodyDataEnvironment extends $dara.Model {
287
283
  export class UpdateManagedAgentResponseBodyDataHarnessConfiguration extends $dara.Model {
288
284
  /**
289
285
  * @remarks
290
- * The Connector Service Account Key.
286
+ * The connector service account key.
291
287
  *
292
288
  * @example
293
289
  * key-xxxx
@@ -295,7 +291,7 @@ export class UpdateManagedAgentResponseBodyDataHarnessConfiguration extends $dar
295
291
  connectorServiceAccountKey?: string;
296
292
  /**
297
293
  * @remarks
298
- * The Connector Service Account Name.
294
+ * The connector service account name.
299
295
  *
300
296
  * @example
301
297
  * my-connector-key
@@ -327,12 +323,12 @@ export class UpdateManagedAgentResponseBodyDataHarnessConfiguration extends $dar
327
323
  export class UpdateManagedAgentResponseBodyDataHarness extends $dara.Model {
328
324
  /**
329
325
  * @remarks
330
- * The runtime harness configuration.
326
+ * The runtime framework configuration.
331
327
  */
332
328
  configuration?: UpdateManagedAgentResponseBodyDataHarnessConfiguration;
333
329
  /**
334
330
  * @remarks
335
- * The runtime harness type.
331
+ * The type of the runtime framework.
336
332
  *
337
333
  * @example
338
334
  * qodercli
@@ -383,7 +379,7 @@ export class UpdateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
383
379
  limitType?: string;
384
380
  /**
385
381
  * @remarks
386
- * Indicates whether the quota has been exceeded in the current period. This field is read-only and returned by the backend.
382
+ * Indicates whether the quota is exceeded for the current period. This is a read-only field returned by the backend.
387
383
  *
388
384
  * @example
389
385
  * false
@@ -391,7 +387,7 @@ export class UpdateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
391
387
  overLimit?: boolean;
392
388
  /**
393
389
  * @remarks
394
- * The quota statistical period. Valid values: day (daily) and month (monthly).
390
+ * The quota statistical period. A value of day indicates a daily period, and a value of month indicates a monthly period.
395
391
  *
396
392
  * @example
397
393
  * day
@@ -399,7 +395,7 @@ export class UpdateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
399
395
  periodType?: string;
400
396
  /**
401
397
  * @remarks
402
- * The gateway quota rule status. This field is read-only and returned by the backend.
398
+ * The status of the gateway quota rule. This is a read-only field returned by the backend.
403
399
  *
404
400
  * @example
405
401
  * ACTIVE
@@ -415,7 +411,7 @@ export class UpdateManagedAgentResponseBodyDataModelQuota extends $dara.Model {
415
411
  usageLimit?: number;
416
412
  /**
417
413
  * @remarks
418
- * The number of tokens consumed in the current period. This field is read-only and returned by the backend.
414
+ * The number of tokens consumed in the current period. This is a read-only field returned by the backend.
419
415
  *
420
416
  * @example
421
417
  * 12345
@@ -507,7 +503,7 @@ export class UpdateManagedAgentResponseBodyDataModel extends $dara.Model {
507
503
  export class UpdateManagedAgentResponseBodyDataNetworkAccessInternet extends $dara.Model {
508
504
  /**
509
505
  * @remarks
510
- * Specifies whether to allow public network access.
506
+ * Specifies whether to allow access to the Internet.
511
507
  *
512
508
  * @example
513
509
  * false
@@ -537,7 +533,7 @@ export class UpdateManagedAgentResponseBodyDataNetworkAccessInternet extends $da
537
533
  export class UpdateManagedAgentResponseBodyDataNetworkAccessVpc extends $dara.Model {
538
534
  /**
539
535
  * @remarks
540
- * Specifies whether to allow VPC access.
536
+ * Specifies whether to allow access to the VPC.
541
537
  *
542
538
  * @example
543
539
  * true
@@ -607,7 +603,7 @@ export class UpdateManagedAgentResponseBodyDataNetwork extends $dara.Model {
607
603
  export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
608
604
  /**
609
605
  * @remarks
610
- * The OSS bucket name. Required for each mount item as validated by the backend.
606
+ * The name of the OSS bucket. This parameter is required and validated by the backend for each mount item.
611
607
  *
612
608
  * @example
613
609
  * bucket-001
@@ -615,7 +611,7 @@ export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
615
611
  bucketName?: string;
616
612
  /**
617
613
  * @remarks
618
- * The absolute mount path in the container. Required for each mount item as validated by the backend.
614
+ * The absolute mount path in the container. This parameter is required and validated by the backend for each mount item.
619
615
  *
620
616
  * @example
621
617
  * /mnt/oss/datasets
@@ -623,7 +619,7 @@ export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
623
619
  mountPath?: string;
624
620
  /**
625
621
  * @remarks
626
- * The relative object prefix within the bucket. If not specified, the entire bucket is mounted.
622
+ * The relative object prefix in the bucket. If not specified, the entire bucket is mounted.
627
623
  *
628
624
  * @example
629
625
  * datasets
@@ -631,7 +627,7 @@ export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
631
627
  path?: string;
632
628
  /**
633
629
  * @remarks
634
- * Specifies whether to mount in read-only mode. Default value: false.
630
+ * Specifies whether to mount the bucket in read-only mode. If not specified, the default value is false.
635
631
  */
636
632
  readOnly?: boolean;
637
633
  static names(): { [key: string]: string } {
@@ -661,6 +657,56 @@ export class UpdateManagedAgentResponseBodyDataOssMounts extends $dara.Model {
661
657
  }
662
658
  }
663
659
 
660
+ export class UpdateManagedAgentResponseBodyDataPromptVariables extends $dara.Model {
661
+ /**
662
+ * @remarks
663
+ * The default value.
664
+ *
665
+ * @example
666
+ * default
667
+ */
668
+ defaultValue?: string;
669
+ /**
670
+ * @remarks
671
+ * The description of the variable.
672
+ *
673
+ * @example
674
+ * desc
675
+ */
676
+ description?: string;
677
+ /**
678
+ * @remarks
679
+ * The name of the variable.
680
+ *
681
+ * @example
682
+ * brand
683
+ */
684
+ name?: string;
685
+ static names(): { [key: string]: string } {
686
+ return {
687
+ defaultValue: 'defaultValue',
688
+ description: 'description',
689
+ name: 'name',
690
+ };
691
+ }
692
+
693
+ static types(): { [key: string]: any } {
694
+ return {
695
+ defaultValue: 'string',
696
+ description: 'string',
697
+ name: 'string',
698
+ };
699
+ }
700
+
701
+ validate() {
702
+ super.validate();
703
+ }
704
+
705
+ constructor(map?: { [key: string]: any }) {
706
+ super(map);
707
+ }
708
+ }
709
+
664
710
  export class UpdateManagedAgentResponseBodyDataRuntimeCompute extends $dara.Model {
665
711
  /**
666
712
  * @remarks
@@ -696,12 +742,12 @@ export class UpdateManagedAgentResponseBodyDataRuntimeCompute extends $dara.Mode
696
742
  export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
697
743
  /**
698
744
  * @remarks
699
- * Specifies whether to enable auto scaling. Required when hpa is present, as validated by the backend.
745
+ * Specifies whether auto-scaling is enabled. This parameter is required and validated by the backend when HPA is configured.
700
746
  */
701
747
  enabled?: boolean;
702
748
  /**
703
749
  * @remarks
704
- * The maximum number of active sessions per Sandbox. Required when hpa is present, as validated by the backend.
750
+ * The maximum number of active sessions per sandbox. This parameter is required and validated by the backend when HPA is configured.
705
751
  *
706
752
  * @example
707
753
  * 5
@@ -709,7 +755,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
709
755
  maxConcurrentSessionsPerSandbox?: number;
710
756
  /**
711
757
  * @remarks
712
- * The maximum number of Sandboxes. Required when HPA is enabled and must be greater than or equal to the minimum value.
758
+ * The maximum number of sandboxes. This parameter is required when HPA is enabled and must not be less than the minimum value.
713
759
  *
714
760
  * @example
715
761
  * 3
@@ -717,7 +763,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
717
763
  maxSandboxCount?: number;
718
764
  /**
719
765
  * @remarks
720
- * The minimum number of Sandboxes. Required when HPA is enabled.
766
+ * The minimum number of sandboxes. This parameter is required when HPA is enabled.
721
767
  *
722
768
  * @example
723
769
  * 1
@@ -725,7 +771,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
725
771
  minSandboxCount?: number;
726
772
  /**
727
773
  * @remarks
728
- * The time-to-live (TTL) for a session after inactivity, in seconds. Required when hpa is present, as validated by the backend.
774
+ * The time in seconds before an inactive session is reclaimed. This parameter is required and validated by the backend when HPA is configured.
729
775
  *
730
776
  * @example
731
777
  * 3600
@@ -763,7 +809,7 @@ export class UpdateManagedAgentResponseBodyDataRuntimeHpa extends $dara.Model {
763
809
  export class UpdateManagedAgentResponseBodyDataRuntimeSessionPolicy extends $dara.Model {
764
810
  /**
765
811
  * @remarks
766
- * The name of the HTTP header used for session affinity. This parameter takes effect only when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
812
+ * The name of the HTTP header used for session affinity. This parameter takes effect when sessionPolicy.type is set to ISOLATED_HEADER_FIELD.
767
813
  *
768
814
  * @example
769
815
  * X-Session-Id
@@ -812,7 +858,7 @@ export class UpdateManagedAgentResponseBodyDataRuntime extends $dara.Model {
812
858
  compute?: UpdateManagedAgentResponseBodyDataRuntimeCompute;
813
859
  /**
814
860
  * @remarks
815
- * The Sandbox auto scaling and session configuration.
861
+ * The sandbox auto-scaling and session configuration.
816
862
  */
817
863
  hpa?: UpdateManagedAgentResponseBodyDataRuntimeHpa;
818
864
  /**
@@ -859,9 +905,7 @@ export class UpdateManagedAgentResponseBodyDataRuntime extends $dara.Model {
859
905
  export class UpdateManagedAgentResponseBodyDataSkillsVersionSelector extends $dara.Model {
860
906
  /**
861
907
  * @remarks
862
- * The version selector type. Valid values:
863
- * - LABEL: select by label.
864
- * - VERSION: select by specific version.
908
+ * The version selector type. Valid values: LABEL (selects by tag) and VERSION (selects by specific version).
865
909
  *
866
910
  * @example
867
911
  * LABEL
@@ -869,7 +913,7 @@ export class UpdateManagedAgentResponseBodyDataSkillsVersionSelector extends $da
869
913
  type?: string;
870
914
  /**
871
915
  * @remarks
872
- * The selector value. If the type is LABEL, specify a label name such as latest. If the type is VERSION, specify a specific version number.
916
+ * The value of the selector. When the type is LABEL, this is the tag name, such as latest. When the type is VERSION, this is the specific version number.
873
917
  *
874
918
  * @example
875
919
  * latest
@@ -901,7 +945,7 @@ export class UpdateManagedAgentResponseBodyDataSkillsVersionSelector extends $da
901
945
  export class UpdateManagedAgentResponseBodyDataSkills extends $dara.Model {
902
946
  /**
903
947
  * @remarks
904
- * The version that has taken effect at runtime. This field is read-only.
948
+ * The applied runtime version. This field is read-only.
905
949
  *
906
950
  * @example
907
951
  * 1.0.0
@@ -909,7 +953,7 @@ export class UpdateManagedAgentResponseBodyDataSkills extends $dara.Model {
909
953
  appliedVersion?: string;
910
954
  /**
911
955
  * @remarks
912
- * Indicates whether the skill originates from a fixed template. This field is read-only. Template items cannot be removed.
956
+ * Indicates whether the skill is from a fixed template. This field is read-only, and template items cannot be removed.
913
957
  *
914
958
  * @example
915
959
  * false
@@ -933,9 +977,7 @@ export class UpdateManagedAgentResponseBodyDataSkills extends $dara.Model {
933
977
  resolvedVersion?: string;
934
978
  /**
935
979
  * @remarks
936
- * The skill source type. Valid values:
937
- * - REFERENCE: referenced from AI Registry.
938
- * - STATIC: statically bundled with the package.
980
+ * The skill source type. Valid values: REFERENCE (references the AI Registry) and STATIC (statically provided with the package).
939
981
  *
940
982
  * @example
941
983
  * REFERENCE
@@ -951,7 +993,7 @@ export class UpdateManagedAgentResponseBodyDataSkills extends $dara.Model {
951
993
  version?: string;
952
994
  /**
953
995
  * @remarks
954
- * The referenced version selector. Defaults to LABEL/latest if omitted.
996
+ * The referenced version selector. If omitted, the default value is LABEL/latest.
955
997
  */
956
998
  versionSelector?: UpdateManagedAgentResponseBodyDataSkillsVersionSelector;
957
999
  static names(): { [key: string]: string } {
@@ -993,7 +1035,7 @@ export class UpdateManagedAgentResponseBodyDataSkills extends $dara.Model {
993
1035
  export class UpdateManagedAgentResponseBodyDataSubAgentsSkills extends $dara.Model {
994
1036
  /**
995
1037
  * @remarks
996
- * The skill name used by the sub-agent. Declared as optional for compatibility, but the backend validates that each entry is required.
1038
+ * The skill name.
997
1039
  *
998
1040
  * @example
999
1041
  * web-search
@@ -1001,7 +1043,7 @@ export class UpdateManagedAgentResponseBodyDataSubAgentsSkills extends $dara.Mod
1001
1043
  name?: string;
1002
1044
  /**
1003
1045
  * @remarks
1004
- * The optional version number. If omitted, set to null, or left blank, the latest version is resolved.
1046
+ * The skill version.
1005
1047
  *
1006
1048
  * @example
1007
1049
  * 1.0.0
@@ -1038,7 +1080,7 @@ export class UpdateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
1038
1080
  * This parameter is required.
1039
1081
  *
1040
1082
  * @example
1041
- * Please review the code
1083
+ * Review the code
1042
1084
  */
1043
1085
  instruction?: string;
1044
1086
  /**
@@ -1053,7 +1095,7 @@ export class UpdateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
1053
1095
  name?: string;
1054
1096
  /**
1055
1097
  * @remarks
1056
- * The skills used by the child agent and their actual versions. The version field is not returned if the template package does not contain version information.
1098
+ * The list of sub-agent skills.
1057
1099
  */
1058
1100
  skills?: UpdateManagedAgentResponseBodyDataSubAgentsSkills[];
1059
1101
  static names(): { [key: string]: string } {
@@ -1087,7 +1129,7 @@ export class UpdateManagedAgentResponseBodyDataSubAgents extends $dara.Model {
1087
1129
  export class UpdateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.Model {
1088
1130
  /**
1089
1131
  * @remarks
1090
- * The name of the template in AI Registry.
1132
+ * The name of the template in the AI registry.
1091
1133
  *
1092
1134
  * This parameter is required.
1093
1135
  *
@@ -1097,7 +1139,7 @@ export class UpdateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.
1097
1139
  name?: string;
1098
1140
  /**
1099
1141
  * @remarks
1100
- * The version of the template in AI Registry.
1142
+ * The version of the template in the AI registry.
1101
1143
  *
1102
1144
  * @example
1103
1145
  * 1.0.0
@@ -1129,7 +1171,7 @@ export class UpdateManagedAgentResponseBodyDataTemplateAiRegistry extends $dara.
1129
1171
  export class UpdateManagedAgentResponseBodyDataTemplate extends $dara.Model {
1130
1172
  /**
1131
1173
  * @remarks
1132
- * The AI Registry template configuration.
1174
+ * The AI registry template configuration.
1133
1175
  */
1134
1176
  aiRegistry?: UpdateManagedAgentResponseBodyDataTemplateAiRegistry;
1135
1177
  static names(): { [key: string]: string } {
@@ -1211,12 +1253,12 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
1211
1253
  agentId?: string;
1212
1254
  /**
1213
1255
  * @remarks
1214
- * The AgenticFS additional mount list. The total number of items combined with ossMounts cannot exceed 10.
1256
+ * The list of additional AgenticFS mounts. The total number of AgenticFS mounts and OSS mounts cannot exceed 10.
1215
1257
  */
1216
1258
  agenticFsMounts?: UpdateManagedAgentResponseBodyDataAgenticFsMounts[];
1217
1259
  /**
1218
1260
  * @remarks
1219
- * The skills that are explicitly configured. This field contains only skills that the user appended or overrode, excluding skills inherited from templates. The resource model reads this field to preserve update semantics. The skills field in the request is still used for creation and update operations.
1261
+ * The explicitly configured skills.
1220
1262
  */
1221
1263
  configuredSkills?: UpdateManagedAgentResponseBodyDataConfiguredSkills[];
1222
1264
  /**
@@ -1248,7 +1290,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
1248
1290
  * The description of the managed agent.
1249
1291
  *
1250
1292
  * @example
1251
- * An agent for code review
1293
+ * Agent for code review
1252
1294
  */
1253
1295
  description?: string;
1254
1296
  /**
@@ -1258,12 +1300,12 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
1258
1300
  environment?: UpdateManagedAgentResponseBodyDataEnvironment;
1259
1301
  /**
1260
1302
  * @remarks
1261
- * The agent runtime harness.
1303
+ * The agent runtime framework.
1262
1304
  */
1263
1305
  harness?: UpdateManagedAgentResponseBodyDataHarness;
1264
1306
  /**
1265
1307
  * @remarks
1266
- * The agent instruction that guides the behavior of the agent.
1308
+ * The agent instructions used to guide the behavior of the agent.
1267
1309
  *
1268
1310
  * @example
1269
1311
  * You are a code review assistant
@@ -1279,7 +1321,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
1279
1321
  latestSpecVersion?: number;
1280
1322
  /**
1281
1323
  * @remarks
1282
- * The latest version status.
1324
+ * The status of the latest version.
1283
1325
  *
1284
1326
  * @example
1285
1327
  * succeeded
@@ -1305,9 +1347,14 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
1305
1347
  network?: UpdateManagedAgentResponseBodyDataNetwork;
1306
1348
  /**
1307
1349
  * @remarks
1308
- * The OSS mount list. A maximum of 10 items are supported.
1350
+ * The list of OSS mounts. A maximum of 10 items are supported.
1309
1351
  */
1310
1352
  ossMounts?: UpdateManagedAgentResponseBodyDataOssMounts[];
1353
+ /**
1354
+ * @remarks
1355
+ * The prompt variable declarations.
1356
+ */
1357
+ promptVariables?: UpdateManagedAgentResponseBodyDataPromptVariables[];
1311
1358
  /**
1312
1359
  * @remarks
1313
1360
  * The region ID.
@@ -1323,7 +1370,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
1323
1370
  runtime?: UpdateManagedAgentResponseBodyDataRuntime;
1324
1371
  /**
1325
1372
  * @remarks
1326
- * The instance counts of the managed agent grouped by sandbox phase. Current keys: PENDING (being created or initialized), RUNNING (running), HIBERNATING (entering hibernation), HIBERNATED (hibernated), RESUMING (resuming), TERMINATING (being terminated), and FAILED (runtime failure). Only phases that actually occur are returned. Missing keys are treated as 0. This field is a dynamic map and new keys may be added in the future. You can use FAILED > 0 to determine whether abnormal instances exist.
1373
+ * The instance counts of managed agents by sandbox phase. Current keys include 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, and missing keys are treated as 0. This field is a dynamic mapping and new keys may be added in the future. The frontend can use FAILED > 0 to determine whether abnormal instances exist.
1327
1374
  */
1328
1375
  sandboxPhaseCounts?: { [key: string]: number };
1329
1376
  /**
@@ -1356,7 +1403,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
1356
1403
  tools?: UpdateManagedAgentResponseBodyDataTools[];
1357
1404
  /**
1358
1405
  * @remarks
1359
- * The time when the managed agent was last updated, in RFC 3339 format.
1406
+ * The update time in RFC 3339 format.
1360
1407
  *
1361
1408
  * @example
1362
1409
  * 2026-01-01T00:00:00Z
@@ -1388,6 +1435,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
1388
1435
  name: 'name',
1389
1436
  network: 'network',
1390
1437
  ossMounts: 'ossMounts',
1438
+ promptVariables: 'promptVariables',
1391
1439
  regionId: 'regionId',
1392
1440
  runtime: 'runtime',
1393
1441
  sandboxPhaseCounts: 'sandboxPhaseCounts',
@@ -1419,6 +1467,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
1419
1467
  name: 'string',
1420
1468
  network: UpdateManagedAgentResponseBodyDataNetwork,
1421
1469
  ossMounts: { 'type': 'array', 'itemType': UpdateManagedAgentResponseBodyDataOssMounts },
1470
+ promptVariables: { 'type': 'array', 'itemType': UpdateManagedAgentResponseBodyDataPromptVariables },
1422
1471
  regionId: 'string',
1423
1472
  runtime: UpdateManagedAgentResponseBodyDataRuntime,
1424
1473
  sandboxPhaseCounts: { 'type': 'map', 'keyType': 'string', 'valueType': 'number' },
@@ -1454,6 +1503,9 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
1454
1503
  if(Array.isArray(this.ossMounts)) {
1455
1504
  $dara.Model.validateArray(this.ossMounts);
1456
1505
  }
1506
+ if(Array.isArray(this.promptVariables)) {
1507
+ $dara.Model.validateArray(this.promptVariables);
1508
+ }
1457
1509
  if(this.runtime && typeof (this.runtime as any).validate === 'function') {
1458
1510
  (this.runtime as any).validate();
1459
1511
  }
@@ -1483,7 +1535,7 @@ export class UpdateManagedAgentResponseBodyData extends $dara.Model {
1483
1535
  export class UpdateManagedAgentResponseBody extends $dara.Model {
1484
1536
  /**
1485
1537
  * @remarks
1486
- * The business status code. The value is SUCCESS when the operation succeeds.
1538
+ * The business status code. The value is SUCCESS if the operation is successful.
1487
1539
  *
1488
1540
  * @example
1489
1541
  * SUCCESS
@@ -1496,7 +1548,7 @@ export class UpdateManagedAgentResponseBody extends $dara.Model {
1496
1548
  data?: UpdateManagedAgentResponseBodyData;
1497
1549
  /**
1498
1550
  * @remarks
1499
- * The HTTP status code. The value 200 indicates success.
1551
+ * The HTTP status code. A value of 200 indicates success.
1500
1552
  *
1501
1553
  * @example
1502
1554
  * 200
@@ -1504,7 +1556,7 @@ export class UpdateManagedAgentResponseBody extends $dara.Model {
1504
1556
  httpStatusCode?: number;
1505
1557
  /**
1506
1558
  * @remarks
1507
- * The message returned for the request.
1559
+ * The message about the request processing result.
1508
1560
  *
1509
1561
  * @example
1510
1562
  * success
@@ -1520,7 +1572,7 @@ export class UpdateManagedAgentResponseBody extends $dara.Model {
1520
1572
  requestId?: string;
1521
1573
  /**
1522
1574
  * @remarks
1523
- * Indicates whether the request was successful.
1575
+ * Indicates whether the request is successful.
1524
1576
  *
1525
1577
  * @example
1526
1578
  * true
@@ -10,7 +10,7 @@ export class UpdateManagedAgentShrinkRequest extends $dara.Model {
10
10
  bodyShrink?: string;
11
11
  /**
12
12
  * @remarks
13
- * The reserved idempotency token. The backend does not provide idempotency guarantees in the current release.
13
+ * The reserved idempotency token. The backend does not provide idempotency guarantees in the current phase.
14
14
  *
15
15
  * @example
16
16
  * client-token-1