@alicloud/agentcore20260804 2.4.0 → 2.5.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 (109) hide show
  1. package/dist/client.d.ts +144 -24
  2. package/dist/client.js +335 -24
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateCustomAgentRequest.d.ts +63 -33
  5. package/dist/models/CreateCustomAgentRequest.js +27 -1
  6. package/dist/models/CreateCustomAgentRequest.js.map +1 -1
  7. package/dist/models/CreateCustomAgentResponseBody.d.ts +193 -41
  8. package/dist/models/CreateCustomAgentResponseBody.js +59 -1
  9. package/dist/models/CreateCustomAgentResponseBody.js.map +1 -1
  10. package/dist/models/CreateCustomAgentShrinkRequest.d.ts +1 -1
  11. package/dist/models/CreateImageCacheRequest.d.ts +122 -0
  12. package/dist/models/CreateImageCacheRequest.js +96 -0
  13. package/dist/models/CreateImageCacheRequest.js.map +1 -0
  14. package/dist/models/CreateImageCacheResponse.d.ts +19 -0
  15. package/dist/models/CreateImageCacheResponse.js +69 -0
  16. package/dist/models/CreateImageCacheResponse.js.map +1 -0
  17. package/dist/models/CreateImageCacheResponseBody.d.ts +260 -0
  18. package/dist/models/CreateImageCacheResponseBody.js +140 -0
  19. package/dist/models/CreateImageCacheResponseBody.js.map +1 -0
  20. package/dist/models/CreateImageCacheShrinkRequest.d.ts +50 -0
  21. package/dist/models/CreateImageCacheShrinkRequest.js +64 -0
  22. package/dist/models/CreateImageCacheShrinkRequest.js.map +1 -0
  23. package/dist/models/DeleteImageCacheRequest.d.ts +33 -0
  24. package/dist/models/DeleteImageCacheRequest.js +60 -0
  25. package/dist/models/DeleteImageCacheRequest.js.map +1 -0
  26. package/dist/models/DeleteImageCacheResponse.d.ts +19 -0
  27. package/dist/models/DeleteImageCacheResponse.js +69 -0
  28. package/dist/models/DeleteImageCacheResponse.js.map +1 -0
  29. package/dist/models/DeleteImageCacheResponseBody.d.ts +102 -0
  30. package/dist/models/DeleteImageCacheResponseBody.js +92 -0
  31. package/dist/models/DeleteImageCacheResponseBody.js.map +1 -0
  32. package/dist/models/GetCustomAgentResponseBody.d.ts +130 -66
  33. package/dist/models/GetCustomAgentResponseBody.js +31 -1
  34. package/dist/models/GetCustomAgentResponseBody.js.map +1 -1
  35. package/dist/models/GetImageCacheRequest.d.ts +33 -0
  36. package/dist/models/GetImageCacheRequest.js +60 -0
  37. package/dist/models/GetImageCacheRequest.js.map +1 -0
  38. package/dist/models/GetImageCacheResponse.d.ts +19 -0
  39. package/dist/models/GetImageCacheResponse.js +69 -0
  40. package/dist/models/GetImageCacheResponse.js.map +1 -0
  41. package/dist/models/GetImageCacheResponseBody.d.ts +264 -0
  42. package/dist/models/GetImageCacheResponseBody.js +140 -0
  43. package/dist/models/GetImageCacheResponseBody.js.map +1 -0
  44. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlRequest.d.ts +2 -2
  45. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.d.ts +23 -1
  46. package/dist/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.js.map +1 -1
  47. package/dist/models/ListImageCachesRequest.d.ts +113 -0
  48. package/dist/models/ListImageCachesRequest.js +80 -0
  49. package/dist/models/ListImageCachesRequest.js.map +1 -0
  50. package/dist/models/ListImageCachesResponse.d.ts +19 -0
  51. package/dist/models/ListImageCachesResponse.js +69 -0
  52. package/dist/models/ListImageCachesResponse.js.map +1 -0
  53. package/dist/models/ListImageCachesResponseBody.d.ts +290 -0
  54. package/dist/models/ListImageCachesResponseBody.js +146 -0
  55. package/dist/models/ListImageCachesResponseBody.js.map +1 -0
  56. package/dist/models/RetryImageCacheRequest.d.ts +60 -0
  57. package/dist/models/RetryImageCacheRequest.js +82 -0
  58. package/dist/models/RetryImageCacheRequest.js.map +1 -0
  59. package/dist/models/RetryImageCacheResponse.d.ts +19 -0
  60. package/dist/models/RetryImageCacheResponse.js +69 -0
  61. package/dist/models/RetryImageCacheResponse.js.map +1 -0
  62. package/dist/models/RetryImageCacheResponseBody.d.ts +264 -0
  63. package/dist/models/RetryImageCacheResponseBody.js +140 -0
  64. package/dist/models/RetryImageCacheResponseBody.js.map +1 -0
  65. package/dist/models/RetryImageCacheShrinkRequest.d.ts +48 -0
  66. package/dist/models/RetryImageCacheShrinkRequest.js +64 -0
  67. package/dist/models/RetryImageCacheShrinkRequest.js.map +1 -0
  68. package/dist/models/UpdateCustomAgentRequest.d.ts +68 -35
  69. package/dist/models/UpdateCustomAgentRequest.js +27 -1
  70. package/dist/models/UpdateCustomAgentRequest.js.map +1 -1
  71. package/dist/models/UpdateCustomAgentResponseBody.d.ts +184 -49
  72. package/dist/models/UpdateCustomAgentResponseBody.js +59 -1
  73. package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -1
  74. package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +2 -2
  75. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.d.ts +33 -3
  76. package/dist/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.js.map +1 -1
  77. package/dist/models/model.d.ts +35 -0
  78. package/dist/models/model.js +157 -86
  79. package/dist/models/model.js.map +1 -1
  80. package/package.json +1 -1
  81. package/src/client.ts +371 -24
  82. package/src/models/CreateCustomAgentRequest.ts +80 -33
  83. package/src/models/CreateCustomAgentResponseBody.ts +233 -41
  84. package/src/models/CreateCustomAgentShrinkRequest.ts +1 -1
  85. package/src/models/CreateImageCacheRequest.ts +164 -0
  86. package/src/models/CreateImageCacheResponse.ts +40 -0
  87. package/src/models/CreateImageCacheResponseBody.ts +337 -0
  88. package/src/models/CreateImageCacheShrinkRequest.ts +69 -0
  89. package/src/models/DeleteImageCacheRequest.ts +48 -0
  90. package/src/models/DeleteImageCacheResponse.ts +40 -0
  91. package/src/models/DeleteImageCacheResponseBody.ts +140 -0
  92. package/src/models/GetCustomAgentResponseBody.ts +151 -66
  93. package/src/models/GetImageCacheRequest.ts +48 -0
  94. package/src/models/GetImageCacheResponse.ts +40 -0
  95. package/src/models/GetImageCacheResponseBody.ts +341 -0
  96. package/src/models/GetWorkspaceAcrRamAuthorizeUrlRequest.ts +2 -2
  97. package/src/models/GetWorkspaceAcrRamAuthorizeUrlResponseBody.ts +23 -1
  98. package/src/models/ListImageCachesRequest.ts +148 -0
  99. package/src/models/ListImageCachesResponse.ts +40 -0
  100. package/src/models/ListImageCachesResponseBody.ts +373 -0
  101. package/src/models/RetryImageCacheRequest.ts +90 -0
  102. package/src/models/RetryImageCacheResponse.ts +40 -0
  103. package/src/models/RetryImageCacheResponseBody.ts +341 -0
  104. package/src/models/RetryImageCacheShrinkRequest.ts +67 -0
  105. package/src/models/UpdateCustomAgentRequest.ts +85 -35
  106. package/src/models/UpdateCustomAgentResponseBody.ts +224 -49
  107. package/src/models/UpdateCustomAgentShrinkRequest.ts +2 -2
  108. package/src/models/VerifyWorkspaceAcrRamAuthorizationResponseBody.ts +33 -3
  109. package/src/models/model.ts +35 -0
@@ -0,0 +1,140 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.RetryImageCacheResponseBody = exports.RetryImageCacheResponseBodyData = exports.RetryImageCacheResponseBodyDataError = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class RetryImageCacheResponseBodyDataError extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ code: 'code',
43
+ message: 'message',
44
+ };
45
+ }
46
+ static types() {
47
+ return {
48
+ code: 'string',
49
+ message: 'string',
50
+ };
51
+ }
52
+ validate() {
53
+ super.validate();
54
+ }
55
+ constructor(map) {
56
+ super(map);
57
+ }
58
+ }
59
+ exports.RetryImageCacheResponseBodyDataError = RetryImageCacheResponseBodyDataError;
60
+ class RetryImageCacheResponseBodyData extends $dara.Model {
61
+ static names() {
62
+ return {
63
+ acrInstanceId: 'acrInstanceId',
64
+ agentCount: 'agentCount',
65
+ cacheSizeBytes: 'cacheSizeBytes',
66
+ canDelete: 'canDelete',
67
+ createdAt: 'createdAt',
68
+ deleteBlockReason: 'deleteBlockReason',
69
+ digest: 'digest',
70
+ error: 'error',
71
+ imageId: 'imageId',
72
+ registry: 'registry',
73
+ repository: 'repository',
74
+ status: 'status',
75
+ tag: 'tag',
76
+ workspaceId: 'workspaceId',
77
+ };
78
+ }
79
+ static types() {
80
+ return {
81
+ acrInstanceId: 'string',
82
+ agentCount: 'number',
83
+ cacheSizeBytes: 'number',
84
+ canDelete: 'boolean',
85
+ createdAt: 'string',
86
+ deleteBlockReason: 'string',
87
+ digest: 'string',
88
+ error: RetryImageCacheResponseBodyDataError,
89
+ imageId: 'string',
90
+ registry: 'string',
91
+ repository: 'string',
92
+ status: 'string',
93
+ tag: 'string',
94
+ workspaceId: 'string',
95
+ };
96
+ }
97
+ validate() {
98
+ if (this.error && typeof this.error.validate === 'function') {
99
+ this.error.validate();
100
+ }
101
+ super.validate();
102
+ }
103
+ constructor(map) {
104
+ super(map);
105
+ }
106
+ }
107
+ exports.RetryImageCacheResponseBodyData = RetryImageCacheResponseBodyData;
108
+ class RetryImageCacheResponseBody extends $dara.Model {
109
+ static names() {
110
+ return {
111
+ code: 'code',
112
+ data: 'data',
113
+ httpStatusCode: 'httpStatusCode',
114
+ message: 'message',
115
+ requestId: 'requestId',
116
+ success: 'success',
117
+ };
118
+ }
119
+ static types() {
120
+ return {
121
+ code: 'string',
122
+ data: RetryImageCacheResponseBodyData,
123
+ httpStatusCode: 'number',
124
+ message: 'string',
125
+ requestId: 'string',
126
+ success: 'boolean',
127
+ };
128
+ }
129
+ validate() {
130
+ if (this.data && typeof this.data.validate === 'function') {
131
+ this.data.validate();
132
+ }
133
+ super.validate();
134
+ }
135
+ constructor(map) {
136
+ super(map);
137
+ }
138
+ }
139
+ exports.RetryImageCacheResponseBody = RetryImageCacheResponseBody;
140
+ //# sourceMappingURL=RetryImageCacheResponseBody.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RetryImageCacheResponseBody.js","sourceRoot":"","sources":["../../src/models/RetryImageCacheResponseBody.ts"],"names":[],"mappings":"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"}
@@ -0,0 +1,48 @@
1
+ import * as $dara from '@darabonba/typescript';
2
+ export declare class RetryImageCacheShrinkRequest extends $dara.Model {
3
+ /**
4
+ * @remarks
5
+ * The request body is a fixed empty object {}. WorkspaceId is passed as a query parameter. Do not pass the Pool, role, Digest, or network parameters.
6
+ */
7
+ bodyShrink?: string;
8
+ /**
9
+ * @remarks
10
+ * This parameter is required and cannot be empty. It is reserved to keep the API compatible. This field does not currently deduplicate requests or recover the original result. If a timeout occurs or the result is not confirmed, query the query cache status first before deciding whether to commit again.
11
+ *
12
+ * This parameter is required.
13
+ *
14
+ * @example
15
+ * 550e8400-e29b-41d4-a716-446655440000
16
+ */
17
+ clientToken?: string;
18
+ /**
19
+ * @remarks
20
+ * The product entry region, which is determined by the selected region endpoint.
21
+ *
22
+ * This parameter is required.
23
+ *
24
+ * @example
25
+ * cn-hangzhou
26
+ */
27
+ regionId?: string;
28
+ /**
29
+ * @remarks
30
+ * The current routed workspace. The server verifies the account, region, and resource ownership. You cannot omit this parameter or use it to access other workspaces.
31
+ *
32
+ * This parameter is required.
33
+ *
34
+ * @example
35
+ * ws-example
36
+ */
37
+ workspaceId?: string;
38
+ static names(): {
39
+ [key: string]: string;
40
+ };
41
+ static types(): {
42
+ [key: string]: any;
43
+ };
44
+ validate(): void;
45
+ constructor(map?: {
46
+ [key: string]: any;
47
+ });
48
+ }
@@ -0,0 +1,64 @@
1
+ "use strict";
2
+ var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
+ if (k2 === undefined) k2 = k;
4
+ var desc = Object.getOwnPropertyDescriptor(m, k);
5
+ if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
6
+ desc = { enumerable: true, get: function() { return m[k]; } };
7
+ }
8
+ Object.defineProperty(o, k2, desc);
9
+ }) : (function(o, m, k, k2) {
10
+ if (k2 === undefined) k2 = k;
11
+ o[k2] = m[k];
12
+ }));
13
+ var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
14
+ Object.defineProperty(o, "default", { enumerable: true, value: v });
15
+ }) : function(o, v) {
16
+ o["default"] = v;
17
+ });
18
+ var __importStar = (this && this.__importStar) || (function () {
19
+ var ownKeys = function(o) {
20
+ ownKeys = Object.getOwnPropertyNames || function (o) {
21
+ var ar = [];
22
+ for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
23
+ return ar;
24
+ };
25
+ return ownKeys(o);
26
+ };
27
+ return function (mod) {
28
+ if (mod && mod.__esModule) return mod;
29
+ var result = {};
30
+ if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
31
+ __setModuleDefault(result, mod);
32
+ return result;
33
+ };
34
+ })();
35
+ Object.defineProperty(exports, "__esModule", { value: true });
36
+ exports.RetryImageCacheShrinkRequest = void 0;
37
+ // This file is auto-generated, don't edit it
38
+ const $dara = __importStar(require("@darabonba/typescript"));
39
+ class RetryImageCacheShrinkRequest extends $dara.Model {
40
+ static names() {
41
+ return {
42
+ bodyShrink: 'body',
43
+ clientToken: 'clientToken',
44
+ regionId: 'regionId',
45
+ workspaceId: 'workspaceId',
46
+ };
47
+ }
48
+ static types() {
49
+ return {
50
+ bodyShrink: 'string',
51
+ clientToken: 'string',
52
+ regionId: 'string',
53
+ workspaceId: 'string',
54
+ };
55
+ }
56
+ validate() {
57
+ super.validate();
58
+ }
59
+ constructor(map) {
60
+ super(map);
61
+ }
62
+ }
63
+ exports.RetryImageCacheShrinkRequest = RetryImageCacheShrinkRequest;
64
+ //# sourceMappingURL=RetryImageCacheShrinkRequest.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"RetryImageCacheShrinkRequest.js","sourceRoot":"","sources":["../../src/models/RetryImageCacheShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,4BAA6B,SAAQ,KAAK,CAAC,KAAK;IAoC3D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,MAAM;YAClB,WAAW,EAAE,aAAa;YAC1B,QAAQ,EAAE,UAAU;YACpB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,WAAW,EAAE,QAAQ;YACrB,QAAQ,EAAE,QAAQ;YAClB,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AA7DD,oEA6DC"}
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
2
2
  export declare class UpdateCustomAgentRequestBodyAgenticFsMounts 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 and is validated by the backend. Mount targets cannot be duplicated or overlap in a parent-child relationship.
5
+ * The subdirectory under /mnt/agenticfs/ in the container. This field is required for each mount item. Mount targets must not be duplicated or form parent-child overrides.
6
6
  *
7
7
  * @example
8
8
  * /mnt/agenticfs/data
@@ -10,7 +10,7 @@ export declare class UpdateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
10
10
  mountPath?: string;
11
11
  /**
12
12
  * @remarks
13
- * The existing non-empty relative directory under the access point. This field is required for each mount item and is validated by the backend. Root directories, absolute paths, and parent directory traversals are not allowed.
13
+ * The existing non-empty relative directory under the access point. This field is required for each mount item. Root directories, absolute paths, and parent directory traversals are not allowed.
14
14
  *
15
15
  * @example
16
16
  * workspace/data
@@ -18,7 +18,7 @@ export declare class UpdateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
18
18
  path?: string;
19
19
  /**
20
20
  * @remarks
21
- * Specifies whether the mount is read-only. A value of true indicates read-only, and false indicates read/write. If omitted, the default value is false.
21
+ * Specifies whether the mount is read-only. A value of true indicates read-only, and false indicates read and write. If omitted, the default value is false.
22
22
  *
23
23
  * @example
24
24
  * false
@@ -26,7 +26,7 @@ export declare class UpdateCustomAgentRequestBodyAgenticFsMounts extends $dara.M
26
26
  readOnly?: boolean;
27
27
  /**
28
28
  * @remarks
29
- * The domain name of the access point. This field is required for each mount item and is validated by the backend. Use the DomainName value from the response of the NAS ListAccessPoints operation. Do not include the protocol, port, or path.
29
+ * The domain name of the access point. This field is required for each mount item. Use the DomainName value from the response of the NAS ListAccessPoints operation. Do not include the protocol, port, or path.
30
30
  *
31
31
  * @example
32
32
  * ap-0123456789abcdef0.0123456789-vlm36.cn-hangzhou.nas.aliyuncs.com
@@ -88,7 +88,7 @@ export declare class UpdateCustomAgentRequestBodyArtifactCode extends $dara.Mode
88
88
  export declare class UpdateCustomAgentRequestBodyArtifactContainer extends $dara.Model {
89
89
  /**
90
90
  * @remarks
91
- * The optional executable program and startup parameters. If specified, this must be a non-empty string. When updating the artifact, omitting this field uses the default startup method of the image. To retain the original custom startup command, provide this field together.
91
+ * The optional executable program and startup parameters. If specified, this must be a non-empty string. When updating the artifact, omitting this field uses the default startup method of the image. To retain the original custom startup command, provide this field as well.
92
92
  *
93
93
  * @example
94
94
  * python app.py
@@ -136,7 +136,7 @@ export declare class UpdateCustomAgentRequestBodyArtifactContainer extends $dara
136
136
  tag?: string;
137
137
  /**
138
138
  * @remarks
139
- * The image source type. Currently, only acr is supported, which indicates Alibaba Cloud Container Registry (ACR).
139
+ * The source type of the image. Currently, only acr is supported, which indicates Alibaba Cloud Container Registry (ACR).
140
140
  *
141
141
  * This parameter is required.
142
142
  *
@@ -168,7 +168,7 @@ export declare class UpdateCustomAgentRequestBodyArtifact extends $dara.Model {
168
168
  container?: UpdateCustomAgentRequestBodyArtifactContainer;
169
169
  /**
170
170
  * @remarks
171
- * The TCP port that the agent service listens on. Valid values: 1 to 65535.
171
+ * The TCP port listened by the agent service. Valid values: 1 to 65535.
172
172
  *
173
173
  * This parameter is required.
174
174
  *
@@ -263,7 +263,7 @@ export declare class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model
263
263
  path?: string;
264
264
  /**
265
265
  * @remarks
266
- * The port accessed by the health check. This field is required when configuring a health check. Valid values: 1 to 65535.
266
+ * The port accessed for health checks. This field is required when configuring a health check. Valid values: 1 to 65535.
267
267
  *
268
268
  * @example
269
269
  * 8080
@@ -279,7 +279,7 @@ export declare class UpdateCustomAgentRequestBodyHealthCheck extends $dara.Model
279
279
  timeoutSeconds?: number;
280
280
  /**
281
281
  * @remarks
282
- * The number of consecutive health check failures required to mark the agent as unhealthy. This must be a positive integer. If omitted, the default value is 3.
282
+ * The number of consecutive health check failures before the instance is considered unhealthy. This must be a positive integer. If omitted, the default value is 3.
283
283
  *
284
284
  * @example
285
285
  * 3
@@ -397,10 +397,27 @@ export declare class UpdateCustomAgentRequestBodyNetwork extends $dara.Model {
397
397
  [key: string]: any;
398
398
  });
399
399
  }
400
+ export declare class UpdateCustomAgentRequestBodyObservability extends $dara.Model {
401
+ /**
402
+ * @remarks
403
+ * Specifies whether to enable agent observability. Default value: true. If set to false, the platform Python probe is not loaded at runtime, and you must collect observability data yourself.
404
+ */
405
+ enabled?: boolean;
406
+ static names(): {
407
+ [key: string]: string;
408
+ };
409
+ static types(): {
410
+ [key: string]: any;
411
+ };
412
+ validate(): void;
413
+ constructor(map?: {
414
+ [key: string]: any;
415
+ });
416
+ }
400
417
  export declare class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
401
418
  /**
402
419
  * @remarks
403
- * The name of the OSS bucket. This field is required for each mount item. The length is 3 to 63 characters. It can contain only lowercase letters, digits, and hyphens, and cannot start or end with a hyphen.
420
+ * The name of the OSS bucket. This parameter is required for each mount item. The name must be 3 to 63 characters in length and can contain only lowercase letters, digits, and hyphens. It cannot start or end with a hyphen.
404
421
  *
405
422
  * @example
406
423
  * my-agent-data
@@ -408,7 +425,7 @@ export declare class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
408
425
  bucketName?: string;
409
426
  /**
410
427
  * @remarks
411
- * The subdirectory under /mnt/oss/ in the container. This field is required for each mount item. Mount targets cannot be duplicated or overlap in a parent-child relationship.
428
+ * The subdirectory under /mnt/oss/ in the container. This parameter is required for each mount item. Mount targets must not be duplicated or form parent-child overlaps.
412
429
  *
413
430
  * @example
414
431
  * /mnt/oss/train
@@ -416,7 +433,7 @@ export declare class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
416
433
  mountPath?: string;
417
434
  /**
418
435
  * @remarks
419
- * The non-empty object directory prefix in the bucket, such as datasets/train. Leading and trailing forward slashes (/) are removed. Root directories are not supported. Do not use parent directory traversals.
436
+ * The non-empty object directory prefix in the bucket, such as datasets/train. Leading and trailing slashes are removed. The root directory is not supported. Do not use parent directory traversal.
420
437
  *
421
438
  * @example
422
439
  * datasets/train
@@ -424,7 +441,7 @@ export declare class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
424
441
  path?: string;
425
442
  /**
426
443
  * @remarks
427
- * Specifies whether the mount is read-only. A value of true indicates read-only, and false indicates read/write. If omitted, the default value is false.
444
+ * Specifies whether the mount is read-only. A value of true indicates read-only, and false indicates read and write. If omitted, the default value is false.
428
445
  */
429
446
  readOnly?: boolean;
430
447
  static names(): {
@@ -441,7 +458,7 @@ export declare class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
441
458
  export declare class UpdateCustomAgentRequestBodyProtocolPaths extends $dara.Model {
442
459
  /**
443
460
  * @remarks
444
- * The description of the current API path.
461
+ * The usage description of the current API path.
445
462
  *
446
463
  * @example
447
464
  * AG-UI conversation API
@@ -449,7 +466,7 @@ export declare class UpdateCustomAgentRequestBodyProtocolPaths extends $dara.Mod
449
466
  description?: string;
450
467
  /**
451
468
  * @remarks
452
- * The non-empty API path corresponding to the current protocol.
469
+ * The non-empty API path for the current protocol.
453
470
  *
454
471
  * This parameter is required.
455
472
  *
@@ -478,7 +495,7 @@ export declare class UpdateCustomAgentRequestBodyProtocol extends $dara.Model {
478
495
  };
479
496
  /**
480
497
  * @remarks
481
- * The list of API paths corresponding to the current protocol.
498
+ * The list of API paths for the current protocol.
482
499
  */
483
500
  paths?: UpdateCustomAgentRequestBodyProtocolPaths[];
484
501
  /**
@@ -533,14 +550,17 @@ export declare class UpdateCustomAgentRequestBodyRuntimeCompute extends $dara.Mo
533
550
  export declare class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model {
534
551
  /**
535
552
  * @remarks
536
- * Specifies whether to enable elastic scaling. A value of true indicates that elastic scaling is enabled. A value of false indicates that elastic scaling is disabled. If this field is omitted when runtime is provided, the default value is false.
553
+ * Specifies whether to enable elastic scaling. Valid values:
554
+ * - true: Enabled.
555
+ * - false: Disabled.
556
+ * When runtime is provided, if this field is omitted, the default value is false.
537
557
  *
538
558
  * This parameter is required.
539
559
  */
540
560
  enabled?: boolean;
541
561
  /**
542
562
  * @remarks
543
- * The maximum number of concurrent sessions for a single runtime instance. Valid values: 1 to 100. If this field is omitted when runtime is provided, the default value 100 is used.
563
+ * The maximum number of concurrent sessions for a single runtime instance. Valid values: 1 to 100. When runtime is provided, if this field is omitted, the default value is 100.
544
564
  *
545
565
  * @example
546
566
  * 100
@@ -548,7 +568,7 @@ export declare class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
548
568
  maxConcurrentSessionsPerSandbox?: number;
549
569
  /**
550
570
  * @remarks
551
- * The maximum number of runtime instances. Valid values: 1 to 100. The value cannot be less than minSandboxCount. If this field is omitted when runtime is provided, the default value 10 is used.
571
+ * The maximum number of runtime instances. Valid values: 1 to 100. The value cannot be less than minSandboxCount. When runtime is provided, if this field is omitted, the default value is 10.
552
572
  *
553
573
  * @example
554
574
  * 10
@@ -556,7 +576,7 @@ export declare class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
556
576
  maxSandboxCount?: number;
557
577
  /**
558
578
  * @remarks
559
- * The minimum number of runtime instances. Valid values: 1 to 100. The value cannot be greater than maxSandboxCount. If this field is omitted when runtime is provided, the default value 1 is used.
579
+ * The minimum number of runtime instances. Valid values: 1 to 100. The value cannot be greater than maxSandboxCount. When runtime is provided, if this field is omitted, the default value is 1.
560
580
  *
561
581
  * @example
562
582
  * 1
@@ -564,7 +584,7 @@ export declare class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
564
584
  minSandboxCount?: number;
565
585
  /**
566
586
  * @remarks
567
- * The session idle timeout in seconds. Valid values: 60 to 86400. If this field is omitted when runtime is provided, the default value 600 is used.
587
+ * The session idle timeout in seconds. Valid values: 60 to 86400. When runtime is provided, if this field is omitted, the default value is 600.
568
588
  *
569
589
  * @example
570
590
  * 600
@@ -584,7 +604,7 @@ export declare class UpdateCustomAgentRequestBodyRuntimeHpa extends $dara.Model
584
604
  export declare class UpdateCustomAgentRequestBodyRuntimeSessionPolicy extends $dara.Model {
585
605
  /**
586
606
  * @remarks
587
- * The name of the HTTP request header used by the session policy. This field is required when type is ISOLATED_HEADER_FIELD and must be a valid HTTP request header name. Omit this field for other policies.
607
+ * The name of the HTTP request header used by the session policy. This parameter is required when type is ISOLATED_HEADER_FIELD and must be a valid HTTP request header name. Omit this parameter for other policies.
588
608
  *
589
609
  * @example
590
610
  * X-Session-Id
@@ -594,8 +614,8 @@ export declare class UpdateCustomAgentRequestBodyRuntimeSessionPolicy extends $d
594
614
  * @remarks
595
615
  * The session policy type. Valid values:
596
616
  * - AFFINITY: Session affinity.
597
- * - ISOLATED_HEADER_FIELD: Associates sessions by using the request header specified by headerName.
598
- * - ISOLATED_COOKIE: Cookie-based session option. This value is not recommended.
617
+ * - ISOLATED_HEADER_FIELD: Associates sessions by using the request header specified in headerName.
618
+ * - ISOLATED_COOKIE: Cookie-based session option. Not recommended.
599
619
  * - DISABLED: Compatibility option. The response returns AFFINITY.
600
620
  *
601
621
  * This parameter is required.
@@ -625,12 +645,12 @@ export declare class UpdateCustomAgentRequestBodyRuntime extends $dara.Model {
625
645
  compute?: UpdateCustomAgentRequestBodyRuntimeCompute;
626
646
  /**
627
647
  * @remarks
628
- * The optional elastic policy. When runtime is provided, if hpa or its fields are omitted, the default values are used: enabled is false, the minimum number of instances is 1, the maximum number of instances is 10, the maximum number of concurrent sessions per instance is 100, and the session idle timeout is 600 seconds. To retain the original policy during an update, you must provide the complete hpa configuration.
648
+ * The optional elastic policy. When runtime is provided, if hpa or its fields are omitted, default values are used: enabled is false, the minimum number of instances is 1, the maximum number of instances is 10, the maximum number of concurrent sessions per instance is 100, and the session idle timeout is 600 seconds. To retain the original policy during an update, provide the complete hpa configuration.
629
649
  */
630
650
  hpa?: UpdateCustomAgentRequestBodyRuntimeHpa;
631
651
  /**
632
652
  * @remarks
633
- * The session policy configuration, which is used to set the session association method for requests.
653
+ * The session policy configuration used to set the session association method for requests.
634
654
  *
635
655
  * This parameter is required.
636
656
  */
@@ -649,12 +669,12 @@ export declare class UpdateCustomAgentRequestBodyRuntime extends $dara.Model {
649
669
  export declare class UpdateCustomAgentRequestBody extends $dara.Model {
650
670
  /**
651
671
  * @remarks
652
- * The list of additional AgenticFS mounts. The total number of AgenticFS and OSS mounts cannot exceed 10. If you omit this field or pass an empty array [] during creation, no additional mounts are configured. During an update, omitting this field retains the original value, and passing an empty array [] clears the list. You cannot pass null.
672
+ * The list of additional AgenticFS mounts. The total number of AgenticFS and OSS mounts cannot exceed 10. During creation, omitting this field or passing an empty array [] indicates no additional mounts. During an update, omitting this field retains the original value, and passing an empty array [] clears the list. You cannot pass null.
653
673
  */
654
674
  agenticFsMounts?: UpdateCustomAgentRequestBodyAgenticFsMounts[];
655
675
  /**
656
676
  * @remarks
657
- * The deployment artifact configuration. Currently, only ACR container images are supported. Specify the container field and the service listening port field. Omit the code field. During an update, you must specify all required fields for port and container.
677
+ * The deployment artifact configuration. Currently, only ACR container images are supported. Specify the container field and the service listening port field. Omit the code field. During an update, you must specify the port field and all required fields of the container object.
658
678
  */
659
679
  artifact?: UpdateCustomAgentRequestBodyArtifact;
660
680
  /**
@@ -682,7 +702,7 @@ export declare class UpdateCustomAgentRequestBody extends $dara.Model {
682
702
  logging?: UpdateCustomAgentRequestBodyLogging;
683
703
  /**
684
704
  * @remarks
685
- * The name of the custom agent. The length is 1 to 128 characters after leading and trailing whitespaces are removed. The name must be unique within the same workspace. If omitted, the original value is retained. You cannot pass null or a blank name.
705
+ * The name of the custom agent. The length is 1 to 128 characters after leading and trailing whitespaces are removed. The name must be unique within the same workspace. If omitted, the original value is retained. You cannot pass null or an empty name.
686
706
  *
687
707
  * @example
688
708
  * my-custom-agent
@@ -690,17 +710,22 @@ export declare class UpdateCustomAgentRequestBody extends $dara.Model {
690
710
  name?: string;
691
711
  /**
692
712
  * @remarks
693
- * The network access configuration for the agent. When providing this object, omitted access items are treated as allowed. The actual accessible scope is still restricted by the workspace network configuration. To retain the original restrictions during an update, specify both accessInternet and accessVpc.
713
+ * The network access configuration for the agent. When providing this object, omitted access items are treated as allowed. The actual accessible scope is still subject to the workspace network configuration. To retain the original restrictions during an update, specify both accessInternet and accessVpc.
694
714
  */
695
715
  network?: UpdateCustomAgentRequestBodyNetwork;
696
716
  /**
697
717
  * @remarks
698
- * The list of OSS mounts. The total number of OSS and AgenticFS mounts cannot exceed 10. For each item, you must specify bucketName, path, and mountPath. Mount targets cannot be duplicated or overlap with each other. This list is replaced as a whole during an update. Pass an empty array [] to clear the list.
718
+ * The observability configuration for high-code agents.
719
+ */
720
+ observability?: UpdateCustomAgentRequestBodyObservability;
721
+ /**
722
+ * @remarks
723
+ * The OSS mount list. A maximum of 10 items in total with agenticFsMounts. Each item must include bucketName, path, and mountPath. Mount targets must not be duplicated or overlap. During an update, this list is replaced entirely. Pass an empty array to clear all mounts.
699
724
  */
700
725
  ossMounts?: UpdateCustomAgentRequestBodyOssMounts[];
701
726
  /**
702
727
  * @remarks
703
- * The list of invocation protocols supported by the agent. Each item includes the protocol type, and optional paths and request headers. The entire list is replaced during an update.
728
+ * The list of invocation protocols supported by the agent. Each item includes the protocol type and optional paths and request headers. During an update, this list is replaced entirely.
704
729
  */
705
730
  protocol?: UpdateCustomAgentRequestBodyProtocol[];
706
731
  /**
@@ -713,9 +738,17 @@ export declare class UpdateCustomAgentRequestBody extends $dara.Model {
713
738
  roleArn?: string;
714
739
  /**
715
740
  * @remarks
716
- * The runtime configuration. When this object is provided, both compute and sessionPolicy must be present. To retain the original elastic policy, you must also provide the complete hpa configuration. Omitting the top-level runtime field retains the original configuration.
741
+ * The runtime configuration. When this object is provided, compute and sessionPolicy must be provided together. To retain the original elastic policy, provide the complete hpa configuration. Omitting the top-level runtime field retains the original configuration.
717
742
  */
718
743
  runtime?: UpdateCustomAgentRequestBodyRuntime;
744
+ /**
745
+ * @remarks
746
+ * If not specified during an update, the original value is retained. Explicitly set to true or false. The system does not automatically default to false. New API contracts reject null and invalid types. Existing compatibility endpoints are processed according to migration conventions.
747
+ *
748
+ * @example
749
+ * true
750
+ */
751
+ useImageCache?: boolean;
719
752
  static names(): {
720
753
  [key: string]: string;
721
754
  };
@@ -730,12 +763,12 @@ export declare class UpdateCustomAgentRequestBody extends $dara.Model {
730
763
  export declare class UpdateCustomAgentRequest extends $dara.Model {
731
764
  /**
732
765
  * @remarks
733
- * The update configuration for the custom agent. Provide at least one top-level field. Omitted top-level fields retain their original values. When providing a configuration object, you must specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced as a whole.
766
+ * The update configuration for the custom agent. Specify at least one top-level field. Omitted top-level fields retain their original values. When providing a configuration object, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced as a whole.
734
767
  */
735
768
  body?: UpdateCustomAgentRequestBody;
736
769
  /**
737
770
  * @remarks
738
- * Idempotency is not currently guaranteed. Do not rely on this parameter to prevent duplicate requests.
771
+ * Idempotence is not currently guaranteed. Do not rely on this parameter to prevent duplicate requests.
739
772
  *
740
773
  * @example
741
774
  * custom-agent-request-20261010-001
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
33
33
  };
34
34
  })();
35
35
  Object.defineProperty(exports, "__esModule", { value: true });
36
- exports.UpdateCustomAgentRequest = exports.UpdateCustomAgentRequestBody = exports.UpdateCustomAgentRequestBodyRuntime = exports.UpdateCustomAgentRequestBodyRuntimeSessionPolicy = exports.UpdateCustomAgentRequestBodyRuntimeHpa = exports.UpdateCustomAgentRequestBodyRuntimeCompute = exports.UpdateCustomAgentRequestBodyProtocol = exports.UpdateCustomAgentRequestBodyProtocolPaths = exports.UpdateCustomAgentRequestBodyOssMounts = exports.UpdateCustomAgentRequestBodyNetwork = exports.UpdateCustomAgentRequestBodyNetworkAccessVpc = exports.UpdateCustomAgentRequestBodyNetworkAccessInternet = exports.UpdateCustomAgentRequestBodyLogging = exports.UpdateCustomAgentRequestBodyLoggingSls = exports.UpdateCustomAgentRequestBodyHealthCheck = exports.UpdateCustomAgentRequestBodyEnvironment = exports.UpdateCustomAgentRequestBodyEnvironmentVariables = exports.UpdateCustomAgentRequestBodyArtifact = exports.UpdateCustomAgentRequestBodyArtifactContainer = exports.UpdateCustomAgentRequestBodyArtifactCode = exports.UpdateCustomAgentRequestBodyAgenticFsMounts = void 0;
36
+ exports.UpdateCustomAgentRequest = exports.UpdateCustomAgentRequestBody = exports.UpdateCustomAgentRequestBodyRuntime = exports.UpdateCustomAgentRequestBodyRuntimeSessionPolicy = exports.UpdateCustomAgentRequestBodyRuntimeHpa = exports.UpdateCustomAgentRequestBodyRuntimeCompute = exports.UpdateCustomAgentRequestBodyProtocol = exports.UpdateCustomAgentRequestBodyProtocolPaths = exports.UpdateCustomAgentRequestBodyOssMounts = exports.UpdateCustomAgentRequestBodyObservability = exports.UpdateCustomAgentRequestBodyNetwork = exports.UpdateCustomAgentRequestBodyNetworkAccessVpc = exports.UpdateCustomAgentRequestBodyNetworkAccessInternet = exports.UpdateCustomAgentRequestBodyLogging = exports.UpdateCustomAgentRequestBodyLoggingSls = exports.UpdateCustomAgentRequestBodyHealthCheck = exports.UpdateCustomAgentRequestBodyEnvironment = exports.UpdateCustomAgentRequestBodyEnvironmentVariables = exports.UpdateCustomAgentRequestBodyArtifact = exports.UpdateCustomAgentRequestBodyArtifactContainer = exports.UpdateCustomAgentRequestBodyArtifactCode = exports.UpdateCustomAgentRequestBodyAgenticFsMounts = void 0;
37
37
  // This file is auto-generated, don't edit it
38
38
  const $dara = __importStar(require("@darabonba/typescript"));
39
39
  class UpdateCustomAgentRequestBodyAgenticFsMounts extends $dara.Model {
@@ -322,6 +322,25 @@ class UpdateCustomAgentRequestBodyNetwork extends $dara.Model {
322
322
  }
323
323
  }
324
324
  exports.UpdateCustomAgentRequestBodyNetwork = UpdateCustomAgentRequestBodyNetwork;
325
+ class UpdateCustomAgentRequestBodyObservability extends $dara.Model {
326
+ static names() {
327
+ return {
328
+ enabled: 'enabled',
329
+ };
330
+ }
331
+ static types() {
332
+ return {
333
+ enabled: 'boolean',
334
+ };
335
+ }
336
+ validate() {
337
+ super.validate();
338
+ }
339
+ constructor(map) {
340
+ super(map);
341
+ }
342
+ }
343
+ exports.UpdateCustomAgentRequestBodyObservability = UpdateCustomAgentRequestBodyObservability;
325
344
  class UpdateCustomAgentRequestBodyOssMounts extends $dara.Model {
326
345
  static names() {
327
346
  return {
@@ -507,10 +526,12 @@ class UpdateCustomAgentRequestBody extends $dara.Model {
507
526
  logging: 'logging',
508
527
  name: 'name',
509
528
  network: 'network',
529
+ observability: 'observability',
510
530
  ossMounts: 'ossMounts',
511
531
  protocol: 'protocol',
512
532
  roleArn: 'roleArn',
513
533
  runtime: 'runtime',
534
+ useImageCache: 'useImageCache',
514
535
  };
515
536
  }
516
537
  static types() {
@@ -523,10 +544,12 @@ class UpdateCustomAgentRequestBody extends $dara.Model {
523
544
  logging: UpdateCustomAgentRequestBodyLogging,
524
545
  name: 'string',
525
546
  network: UpdateCustomAgentRequestBodyNetwork,
547
+ observability: UpdateCustomAgentRequestBodyObservability,
526
548
  ossMounts: { 'type': 'array', 'itemType': UpdateCustomAgentRequestBodyOssMounts },
527
549
  protocol: { 'type': 'array', 'itemType': UpdateCustomAgentRequestBodyProtocol },
528
550
  roleArn: 'string',
529
551
  runtime: UpdateCustomAgentRequestBodyRuntime,
552
+ useImageCache: 'boolean',
530
553
  };
531
554
  }
532
555
  validate() {
@@ -548,6 +571,9 @@ class UpdateCustomAgentRequestBody extends $dara.Model {
548
571
  if (this.network && typeof this.network.validate === 'function') {
549
572
  this.network.validate();
550
573
  }
574
+ if (this.observability && typeof this.observability.validate === 'function') {
575
+ this.observability.validate();
576
+ }
551
577
  if (Array.isArray(this.ossMounts)) {
552
578
  $dara.Model.validateArray(this.ossMounts);
553
579
  }