@alicloud/agentcore20260804 2.2.1 → 2.3.1
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.
- package/dist/client.d.ts +148 -2
- package/dist/client.js +284 -2
- package/dist/client.js.map +1 -1
- package/dist/models/CreateCustomAgentRequest.d.ts +765 -0
- package/dist/models/CreateCustomAgentRequest.js +591 -0
- package/dist/models/CreateCustomAgentRequest.js.map +1 -0
- package/dist/models/CreateCustomAgentResponse.d.ts +19 -0
- package/dist/models/CreateCustomAgentResponse.js +69 -0
- package/dist/models/CreateCustomAgentResponse.js.map +1 -0
- package/dist/models/CreateCustomAgentResponseBody.d.ts +923 -0
- package/dist/models/CreateCustomAgentResponseBody.js +652 -0
- package/dist/models/CreateCustomAgentResponseBody.js.map +1 -0
- package/dist/models/CreateCustomAgentShrinkRequest.d.ts +26 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js +60 -0
- package/dist/models/CreateCustomAgentShrinkRequest.js.map +1 -0
- package/dist/models/CreateExternalAgentRequest.d.ts +61 -14
- package/dist/models/CreateExternalAgentRequest.js +29 -1
- package/dist/models/CreateExternalAgentRequest.js.map +1 -1
- package/dist/models/CreateExternalAgentResponseBody.d.ts +171 -39
- package/dist/models/CreateExternalAgentResponseBody.js +89 -1
- package/dist/models/CreateExternalAgentResponseBody.js.map +1 -1
- package/dist/models/CreateExternalAgentShrinkRequest.d.ts +1 -1
- package/dist/models/DeleteCustomAgentRequest.d.ts +13 -0
- package/dist/models/DeleteCustomAgentRequest.js +54 -0
- package/dist/models/DeleteCustomAgentRequest.js.map +1 -0
- package/dist/models/DeleteCustomAgentResponse.d.ts +19 -0
- package/dist/models/DeleteCustomAgentResponse.js +69 -0
- package/dist/models/DeleteCustomAgentResponse.js.map +1 -0
- package/dist/models/DeleteCustomAgentResponseBody.d.ts +155 -0
- package/dist/models/DeleteCustomAgentResponseBody.js +110 -0
- package/dist/models/DeleteCustomAgentResponseBody.js.map +1 -0
- package/dist/models/GetCustomAgentRequest.d.ts +13 -0
- package/dist/models/GetCustomAgentRequest.js +54 -0
- package/dist/models/GetCustomAgentRequest.js.map +1 -0
- package/dist/models/GetCustomAgentResponse.d.ts +19 -0
- package/dist/models/GetCustomAgentResponse.js +69 -0
- package/dist/models/GetCustomAgentResponse.js.map +1 -0
- package/dist/models/GetCustomAgentResponseBody.d.ts +655 -0
- package/dist/models/GetCustomAgentResponseBody.js +652 -0
- package/dist/models/GetCustomAgentResponseBody.js.map +1 -0
- package/dist/models/GetExternalAgentResponseBody.d.ts +164 -43
- package/dist/models/GetExternalAgentResponseBody.js +89 -1
- package/dist/models/GetExternalAgentResponseBody.js.map +1 -1
- package/dist/models/ListCustomAgentsRequest.d.ts +29 -0
- package/dist/models/ListCustomAgentsRequest.js +60 -0
- package/dist/models/ListCustomAgentsRequest.js.map +1 -0
- package/dist/models/ListCustomAgentsResponse.d.ts +19 -0
- package/dist/models/ListCustomAgentsResponse.js +69 -0
- package/dist/models/ListCustomAgentsResponse.js.map +1 -0
- package/dist/models/ListCustomAgentsResponseBody.d.ts +248 -0
- package/dist/models/ListCustomAgentsResponseBody.js +171 -0
- package/dist/models/ListCustomAgentsResponseBody.js.map +1 -0
- package/dist/models/ListUsersRequest.d.ts +12 -4
- package/dist/models/ListUsersRequest.js +2 -0
- package/dist/models/ListUsersRequest.js.map +1 -1
- package/dist/models/ListUsersResponseBody.d.ts +14 -14
- package/dist/models/UpdateCustomAgentRequest.d.ts +757 -0
- package/dist/models/UpdateCustomAgentRequest.js +591 -0
- package/dist/models/UpdateCustomAgentRequest.js.map +1 -0
- package/dist/models/UpdateCustomAgentResponse.d.ts +19 -0
- package/dist/models/UpdateCustomAgentResponse.js +69 -0
- package/dist/models/UpdateCustomAgentResponse.js.map +1 -0
- package/dist/models/UpdateCustomAgentResponseBody.d.ts +910 -0
- package/dist/models/UpdateCustomAgentResponseBody.js +652 -0
- package/dist/models/UpdateCustomAgentResponseBody.js.map +1 -0
- package/dist/models/UpdateCustomAgentShrinkRequest.d.ts +26 -0
- package/dist/models/UpdateCustomAgentShrinkRequest.js +60 -0
- package/dist/models/UpdateCustomAgentShrinkRequest.js.map +1 -0
- package/dist/models/UpdateExternalAgentRequest.d.ts +59 -12
- package/dist/models/UpdateExternalAgentRequest.js +29 -1
- package/dist/models/UpdateExternalAgentRequest.js.map +1 -1
- package/dist/models/UpdateExternalAgentResponseBody.d.ts +175 -34
- package/dist/models/UpdateExternalAgentResponseBody.js +89 -1
- package/dist/models/UpdateExternalAgentResponseBody.js.map +1 -1
- package/dist/models/model.d.ts +135 -0
- package/dist/models/model.js +337 -65
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +303 -2
- package/src/models/CreateCustomAgentRequest.ts +1129 -0
- package/src/models/CreateCustomAgentResponse.ts +40 -0
- package/src/models/CreateCustomAgentResponseBody.ts +1337 -0
- package/src/models/CreateCustomAgentShrinkRequest.ts +41 -0
- package/src/models/CreateExternalAgentRequest.ts +80 -14
- package/src/models/CreateExternalAgentResponseBody.ts +232 -39
- package/src/models/CreateExternalAgentShrinkRequest.ts +1 -1
- package/src/models/DeleteCustomAgentRequest.ts +24 -0
- package/src/models/DeleteCustomAgentResponse.ts +40 -0
- package/src/models/DeleteCustomAgentResponseBody.ts +211 -0
- package/src/models/GetCustomAgentRequest.ts +24 -0
- package/src/models/GetCustomAgentResponse.ts +40 -0
- package/src/models/GetCustomAgentResponseBody.ts +1069 -0
- package/src/models/GetExternalAgentResponseBody.ts +225 -43
- package/src/models/ListCustomAgentsRequest.ts +44 -0
- package/src/models/ListCustomAgentsResponse.ts +40 -0
- package/src/models/ListCustomAgentsResponseBody.ts +345 -0
- package/src/models/ListUsersRequest.ts +14 -4
- package/src/models/ListUsersResponseBody.ts +14 -14
- package/src/models/UpdateCustomAgentRequest.ts +1121 -0
- package/src/models/UpdateCustomAgentResponse.ts +40 -0
- package/src/models/UpdateCustomAgentResponseBody.ts +1324 -0
- package/src/models/UpdateCustomAgentShrinkRequest.ts +41 -0
- package/src/models/UpdateExternalAgentRequest.ts +78 -12
- package/src/models/UpdateExternalAgentResponseBody.ts +236 -34
- package/src/models/model.ts +135 -0
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class UpdateCustomAgentShrinkRequest extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* 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, specify its required subfields and include any optional configurations that you want to retain. Arrays are replaced in their entirety.
|
|
6
|
+
*/
|
|
7
|
+
bodyShrink?: string;
|
|
8
|
+
/**
|
|
9
|
+
* @remarks
|
|
10
|
+
* Idempotency is not currently guaranteed. Do not rely on this parameter to prevent duplicate requests.
|
|
11
|
+
*
|
|
12
|
+
* @example
|
|
13
|
+
* custom-agent-request-20261010-001
|
|
14
|
+
*/
|
|
15
|
+
clientToken?: string;
|
|
16
|
+
static names(): {
|
|
17
|
+
[key: string]: string;
|
|
18
|
+
};
|
|
19
|
+
static types(): {
|
|
20
|
+
[key: string]: any;
|
|
21
|
+
};
|
|
22
|
+
validate(): void;
|
|
23
|
+
constructor(map?: {
|
|
24
|
+
[key: string]: any;
|
|
25
|
+
});
|
|
26
|
+
}
|
|
@@ -0,0 +1,60 @@
|
|
|
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.UpdateCustomAgentShrinkRequest = void 0;
|
|
37
|
+
// This file is auto-generated, don't edit it
|
|
38
|
+
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
|
+
class UpdateCustomAgentShrinkRequest extends $dara.Model {
|
|
40
|
+
static names() {
|
|
41
|
+
return {
|
|
42
|
+
bodyShrink: 'body',
|
|
43
|
+
clientToken: 'clientToken',
|
|
44
|
+
};
|
|
45
|
+
}
|
|
46
|
+
static types() {
|
|
47
|
+
return {
|
|
48
|
+
bodyShrink: 'string',
|
|
49
|
+
clientToken: 'string',
|
|
50
|
+
};
|
|
51
|
+
}
|
|
52
|
+
validate() {
|
|
53
|
+
super.validate();
|
|
54
|
+
}
|
|
55
|
+
constructor(map) {
|
|
56
|
+
super(map);
|
|
57
|
+
}
|
|
58
|
+
}
|
|
59
|
+
exports.UpdateCustomAgentShrinkRequest = UpdateCustomAgentShrinkRequest;
|
|
60
|
+
//# sourceMappingURL=UpdateCustomAgentShrinkRequest.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"UpdateCustomAgentShrinkRequest.js","sourceRoot":"","sources":["../../src/models/UpdateCustomAgentShrinkRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,8BAA+B,SAAQ,KAAK,CAAC,KAAK;IAc7D,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,MAAM;YAClB,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,UAAU,EAAE,QAAQ;YACpB,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;AAnCD,wEAmCC"}
|
|
@@ -2,7 +2,7 @@ import * as $dara from '@darabonba/typescript';
|
|
|
2
2
|
export declare class UpdateExternalAgentRequestBodyModelQuota extends $dara.Model {
|
|
3
3
|
/**
|
|
4
4
|
* @remarks
|
|
5
|
-
* Specifies whether to enable token quota.
|
|
5
|
+
* Specifies whether to enable the token quota. Default value: true. If set to false, the quota is disabled and existing quota rules are deleted.
|
|
6
6
|
*
|
|
7
7
|
* @example
|
|
8
8
|
* true
|
|
@@ -10,7 +10,7 @@ export declare class UpdateExternalAgentRequestBodyModelQuota extends $dara.Mode
|
|
|
10
10
|
enabled?: boolean;
|
|
11
11
|
/**
|
|
12
12
|
* @remarks
|
|
13
|
-
* The quota limit type. Required by backend
|
|
13
|
+
* The quota limit type. Required and validated by the backend when the quota is enabled. Fixed value: token.
|
|
14
14
|
*
|
|
15
15
|
* @example
|
|
16
16
|
* token
|
|
@@ -18,7 +18,9 @@ export declare class UpdateExternalAgentRequestBodyModelQuota extends $dara.Mode
|
|
|
18
18
|
limitType?: string;
|
|
19
19
|
/**
|
|
20
20
|
* @remarks
|
|
21
|
-
* The
|
|
21
|
+
* The statistical period for the quota. Required and validated by the backend when the quota is enabled. Valid values:
|
|
22
|
+
* - day: Daily.
|
|
23
|
+
* - month: Monthly.
|
|
22
24
|
*
|
|
23
25
|
* @example
|
|
24
26
|
* day
|
|
@@ -26,7 +28,7 @@ export declare class UpdateExternalAgentRequestBodyModelQuota extends $dara.Mode
|
|
|
26
28
|
periodType?: string;
|
|
27
29
|
/**
|
|
28
30
|
* @remarks
|
|
29
|
-
* The maximum number of tokens
|
|
31
|
+
* The maximum number of tokens allowed to be consumed within a single period. Required and validated by the backend when the quota is enabled. The value must be greater than 0.
|
|
30
32
|
*
|
|
31
33
|
* @example
|
|
32
34
|
* 1000000
|
|
@@ -66,7 +68,7 @@ export declare class UpdateExternalAgentRequestBodyModel extends $dara.Model {
|
|
|
66
68
|
modelName?: string;
|
|
67
69
|
/**
|
|
68
70
|
* @remarks
|
|
69
|
-
* The model token quota configuration. If not
|
|
71
|
+
* The model token quota configuration. If not passed, no quota is configured.
|
|
70
72
|
*/
|
|
71
73
|
quota?: UpdateExternalAgentRequestBodyModelQuota;
|
|
72
74
|
static names(): {
|
|
@@ -80,6 +82,36 @@ export declare class UpdateExternalAgentRequestBodyModel extends $dara.Model {
|
|
|
80
82
|
[key: string]: any;
|
|
81
83
|
});
|
|
82
84
|
}
|
|
85
|
+
export declare class UpdateExternalAgentRequestBodySkillsVersionSelector extends $dara.Model {
|
|
86
|
+
/**
|
|
87
|
+
* @remarks
|
|
88
|
+
* The type of the version selector. Valid values:
|
|
89
|
+
* - LABEL: By label.
|
|
90
|
+
* - VERSION: By specific version.
|
|
91
|
+
*
|
|
92
|
+
* @example
|
|
93
|
+
* LABEL
|
|
94
|
+
*/
|
|
95
|
+
type?: string;
|
|
96
|
+
/**
|
|
97
|
+
* @remarks
|
|
98
|
+
* The value of the selector. When the type is LABEL, this is the label name, such as latest. When the type is VERSION, this is the specific version number.
|
|
99
|
+
*
|
|
100
|
+
* @example
|
|
101
|
+
* latest
|
|
102
|
+
*/
|
|
103
|
+
value?: string;
|
|
104
|
+
static names(): {
|
|
105
|
+
[key: string]: string;
|
|
106
|
+
};
|
|
107
|
+
static types(): {
|
|
108
|
+
[key: string]: any;
|
|
109
|
+
};
|
|
110
|
+
validate(): void;
|
|
111
|
+
constructor(map?: {
|
|
112
|
+
[key: string]: any;
|
|
113
|
+
});
|
|
114
|
+
}
|
|
83
115
|
export declare class UpdateExternalAgentRequestBodySkills extends $dara.Model {
|
|
84
116
|
/**
|
|
85
117
|
* @remarks
|
|
@@ -91,6 +123,16 @@ export declare class UpdateExternalAgentRequestBodySkills extends $dara.Model {
|
|
|
91
123
|
* code-analysis
|
|
92
124
|
*/
|
|
93
125
|
name?: string;
|
|
126
|
+
/**
|
|
127
|
+
* @remarks
|
|
128
|
+
* The source type of the skill. Valid values:
|
|
129
|
+
* - REFERENCE: References the AI Registry.
|
|
130
|
+
* - STATIC: Statically provided with the package.
|
|
131
|
+
*
|
|
132
|
+
* @example
|
|
133
|
+
* REFERENCE
|
|
134
|
+
*/
|
|
135
|
+
sourceType?: string;
|
|
94
136
|
/**
|
|
95
137
|
* @remarks
|
|
96
138
|
* The skill version.
|
|
@@ -99,6 +141,11 @@ export declare class UpdateExternalAgentRequestBodySkills extends $dara.Model {
|
|
|
99
141
|
* 1.0.0
|
|
100
142
|
*/
|
|
101
143
|
version?: string;
|
|
144
|
+
/**
|
|
145
|
+
* @remarks
|
|
146
|
+
* The referenced version selector. If omitted, the default is LABEL/latest. Currently, only LABEL/latest is supported.
|
|
147
|
+
*/
|
|
148
|
+
versionSelector?: UpdateExternalAgentRequestBodySkillsVersionSelector;
|
|
102
149
|
static names(): {
|
|
103
150
|
[key: string]: string;
|
|
104
151
|
};
|
|
@@ -113,7 +160,7 @@ export declare class UpdateExternalAgentRequestBodySkills extends $dara.Model {
|
|
|
113
160
|
export declare class UpdateExternalAgentRequestBodyTemplateAiRegistry extends $dara.Model {
|
|
114
161
|
/**
|
|
115
162
|
* @remarks
|
|
116
|
-
* The name of the template in AI Registry.
|
|
163
|
+
* The name of the template in the AI Registry.
|
|
117
164
|
*
|
|
118
165
|
* This parameter is required.
|
|
119
166
|
*
|
|
@@ -123,7 +170,7 @@ export declare class UpdateExternalAgentRequestBodyTemplateAiRegistry extends $d
|
|
|
123
170
|
name?: string;
|
|
124
171
|
/**
|
|
125
172
|
* @remarks
|
|
126
|
-
* The version of the template in AI Registry.
|
|
173
|
+
* The version of the template in the AI Registry.
|
|
127
174
|
*
|
|
128
175
|
* This parameter is required.
|
|
129
176
|
*
|
|
@@ -198,12 +245,12 @@ export declare class UpdateExternalAgentRequestBody extends $dara.Model {
|
|
|
198
245
|
* The description of the external agent.
|
|
199
246
|
*
|
|
200
247
|
* @example
|
|
201
|
-
*
|
|
248
|
+
* Code review agent running in the user environment
|
|
202
249
|
*/
|
|
203
250
|
description?: string;
|
|
204
251
|
/**
|
|
205
252
|
* @remarks
|
|
206
|
-
* The agent
|
|
253
|
+
* The agent instructions used to guide the behavior of the agent.
|
|
207
254
|
*
|
|
208
255
|
* @example
|
|
209
256
|
* You are a code review assistant
|
|
@@ -216,9 +263,9 @@ export declare class UpdateExternalAgentRequestBody extends $dara.Model {
|
|
|
216
263
|
model?: UpdateExternalAgentRequestBodyModel;
|
|
217
264
|
/**
|
|
218
265
|
* @remarks
|
|
219
|
-
* The model configuration
|
|
220
|
-
* - PLATFORM:
|
|
221
|
-
* - RUNTIME:
|
|
266
|
+
* The source of the model configuration. PLATFORM indicates that the platform parses and delivers the model configuration. RUNTIME indicates that the external runtime manages the model independently, and the model parameter cannot be passed at the same time. Valid values:
|
|
267
|
+
* - PLATFORM: Platform model.
|
|
268
|
+
* - RUNTIME: Runtime model.
|
|
222
269
|
*
|
|
223
270
|
* @example
|
|
224
271
|
* PLATFORM
|
|
@@ -33,7 +33,7 @@ var __importStar = (this && this.__importStar) || (function () {
|
|
|
33
33
|
};
|
|
34
34
|
})();
|
|
35
35
|
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
-
exports.UpdateExternalAgentRequest = exports.UpdateExternalAgentRequestBody = exports.UpdateExternalAgentRequestBodyTools = exports.UpdateExternalAgentRequestBodyTemplate = exports.UpdateExternalAgentRequestBodyTemplateAiRegistry = exports.UpdateExternalAgentRequestBodySkills = exports.UpdateExternalAgentRequestBodyModel = exports.UpdateExternalAgentRequestBodyModelQuota = void 0;
|
|
36
|
+
exports.UpdateExternalAgentRequest = exports.UpdateExternalAgentRequestBody = exports.UpdateExternalAgentRequestBodyTools = exports.UpdateExternalAgentRequestBodyTemplate = exports.UpdateExternalAgentRequestBodyTemplateAiRegistry = exports.UpdateExternalAgentRequestBodySkills = exports.UpdateExternalAgentRequestBodySkillsVersionSelector = exports.UpdateExternalAgentRequestBodyModel = exports.UpdateExternalAgentRequestBodyModelQuota = void 0;
|
|
37
37
|
// This file is auto-generated, don't edit it
|
|
38
38
|
const $dara = __importStar(require("@darabonba/typescript"));
|
|
39
39
|
class UpdateExternalAgentRequestBodyModelQuota extends $dara.Model {
|
|
@@ -87,20 +87,48 @@ class UpdateExternalAgentRequestBodyModel extends $dara.Model {
|
|
|
87
87
|
}
|
|
88
88
|
}
|
|
89
89
|
exports.UpdateExternalAgentRequestBodyModel = UpdateExternalAgentRequestBodyModel;
|
|
90
|
+
class UpdateExternalAgentRequestBodySkillsVersionSelector extends $dara.Model {
|
|
91
|
+
static names() {
|
|
92
|
+
return {
|
|
93
|
+
type: 'type',
|
|
94
|
+
value: 'value',
|
|
95
|
+
};
|
|
96
|
+
}
|
|
97
|
+
static types() {
|
|
98
|
+
return {
|
|
99
|
+
type: 'string',
|
|
100
|
+
value: 'string',
|
|
101
|
+
};
|
|
102
|
+
}
|
|
103
|
+
validate() {
|
|
104
|
+
super.validate();
|
|
105
|
+
}
|
|
106
|
+
constructor(map) {
|
|
107
|
+
super(map);
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
exports.UpdateExternalAgentRequestBodySkillsVersionSelector = UpdateExternalAgentRequestBodySkillsVersionSelector;
|
|
90
111
|
class UpdateExternalAgentRequestBodySkills extends $dara.Model {
|
|
91
112
|
static names() {
|
|
92
113
|
return {
|
|
93
114
|
name: 'name',
|
|
115
|
+
sourceType: 'sourceType',
|
|
94
116
|
version: 'version',
|
|
117
|
+
versionSelector: 'versionSelector',
|
|
95
118
|
};
|
|
96
119
|
}
|
|
97
120
|
static types() {
|
|
98
121
|
return {
|
|
99
122
|
name: 'string',
|
|
123
|
+
sourceType: 'string',
|
|
100
124
|
version: 'string',
|
|
125
|
+
versionSelector: UpdateExternalAgentRequestBodySkillsVersionSelector,
|
|
101
126
|
};
|
|
102
127
|
}
|
|
103
128
|
validate() {
|
|
129
|
+
if (this.versionSelector && typeof this.versionSelector.validate === 'function') {
|
|
130
|
+
this.versionSelector.validate();
|
|
131
|
+
}
|
|
104
132
|
super.validate();
|
|
105
133
|
}
|
|
106
134
|
constructor(map) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"UpdateExternalAgentRequest.js","sourceRoot":"","sources":["../../src/models/UpdateExternalAgentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;
|
|
1
|
+
{"version":3,"file":"UpdateExternalAgentRequest.js","sourceRoot":"","sources":["../../src/models/UpdateExternalAgentRequest.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA6C;AAC7C,6DAA+C;AAG/C,MAAa,wCAAyC,SAAQ,KAAK,CAAC,KAAK;IAmCvE,MAAM,CAAC,KAAK;QAC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,KAAK;IAczD,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,MAAM;YACZ,WAAW,EAAE,aAAa;SAC3B,CAAC;IACJ,CAAC;IAED,MAAM,CAAC,KAAK;QACV,OAAO;YACL,IAAI,EAAE,8BAA8B;YACpC,WAAW,EAAE,QAAQ;SACtB,CAAC;IACJ,CAAC;IAED,QAAQ;QACN,IAAG,IAAI,CAAC,IAAI,IAAI,OAAQ,IAAI,CAAC,IAAY,CAAC,QAAQ,KAAK,UAAU,EAAE,CAAC;YACjE,IAAI,CAAC,IAAY,CAAC,QAAQ,EAAE,CAAC;QAChC,CAAC;QACD,KAAK,CAAC,QAAQ,EAAE,CAAC;IACnB,CAAC;IAED,YAAY,GAA4B;QACtC,KAAK,CAAC,GAAG,CAAC,CAAC;IACb,CAAC;CACF;AAtCD,gEAsCC"}
|
|
@@ -1,11 +1,86 @@
|
|
|
1
1
|
import * as $dara from '@darabonba/typescript';
|
|
2
|
+
export declare class UpdateExternalAgentResponseBodyDataConfiguredSkillsVersionSelector extends $dara.Model {
|
|
3
|
+
/**
|
|
4
|
+
* @remarks
|
|
5
|
+
* The type of the version selector. Valid values:
|
|
6
|
+
* - LABEL: By label.
|
|
7
|
+
* - VERSION: By specific version.
|
|
8
|
+
*
|
|
9
|
+
* @example
|
|
10
|
+
* LABEL
|
|
11
|
+
*/
|
|
12
|
+
type?: string;
|
|
13
|
+
/**
|
|
14
|
+
* @remarks
|
|
15
|
+
* The value of the selector. When the type is LABEL, this is the label name, such as latest. When the type is VERSION, this is the specific version number.
|
|
16
|
+
*
|
|
17
|
+
* @example
|
|
18
|
+
* latest
|
|
19
|
+
*/
|
|
20
|
+
value?: string;
|
|
21
|
+
static names(): {
|
|
22
|
+
[key: string]: string;
|
|
23
|
+
};
|
|
24
|
+
static types(): {
|
|
25
|
+
[key: string]: any;
|
|
26
|
+
};
|
|
27
|
+
validate(): void;
|
|
28
|
+
constructor(map?: {
|
|
29
|
+
[key: string]: any;
|
|
30
|
+
});
|
|
31
|
+
}
|
|
32
|
+
export declare class UpdateExternalAgentResponseBodyDataConfiguredSkills extends $dara.Model {
|
|
33
|
+
/**
|
|
34
|
+
* @remarks
|
|
35
|
+
* The name of the skill in the Workspace AI Registry.
|
|
36
|
+
*
|
|
37
|
+
* This parameter is required.
|
|
38
|
+
*
|
|
39
|
+
* @example
|
|
40
|
+
* web-search
|
|
41
|
+
*/
|
|
42
|
+
name?: string;
|
|
43
|
+
/**
|
|
44
|
+
* @remarks
|
|
45
|
+
* The source type of the skill. Valid values:
|
|
46
|
+
* - REFERENCE: References the AI Registry.
|
|
47
|
+
* - STATIC: Statically provided with the package.
|
|
48
|
+
*
|
|
49
|
+
* @example
|
|
50
|
+
* REFERENCE
|
|
51
|
+
*/
|
|
52
|
+
sourceType?: string;
|
|
53
|
+
/**
|
|
54
|
+
* @remarks
|
|
55
|
+
* The legacy compatibility field. Use sourceType and versionSelector for new requests.
|
|
56
|
+
*
|
|
57
|
+
* @example
|
|
58
|
+
* 1.0.0
|
|
59
|
+
*/
|
|
60
|
+
version?: string;
|
|
61
|
+
/**
|
|
62
|
+
* @remarks
|
|
63
|
+
* The referenced version selector. If omitted, the default is LABEL/latest. Currently, only LABEL/latest is supported.
|
|
64
|
+
*/
|
|
65
|
+
versionSelector?: UpdateExternalAgentResponseBodyDataConfiguredSkillsVersionSelector;
|
|
66
|
+
static names(): {
|
|
67
|
+
[key: string]: string;
|
|
68
|
+
};
|
|
69
|
+
static types(): {
|
|
70
|
+
[key: string]: any;
|
|
71
|
+
};
|
|
72
|
+
validate(): void;
|
|
73
|
+
constructor(map?: {
|
|
74
|
+
[key: string]: any;
|
|
75
|
+
});
|
|
76
|
+
}
|
|
2
77
|
export declare class UpdateExternalAgentResponseBodyDataExternalAgentStatus extends $dara.Model {
|
|
3
78
|
/**
|
|
4
79
|
* @remarks
|
|
5
|
-
* The heartbeat status. ONLINE indicates that the
|
|
6
|
-
* - ONLINE:
|
|
7
|
-
* - STALE:
|
|
8
|
-
* - UNKNOWN:
|
|
80
|
+
* The heartbeat status. ONLINE indicates that the latest heartbeat has not exceeded the configured timeout threshold. STALE indicates that the heartbeat has timed out. UNKNOWN indicates that the heartbeat is missing or the format is invalid. Valid values:
|
|
81
|
+
* - ONLINE: online
|
|
82
|
+
* - STALE: heartbeat expired
|
|
83
|
+
* - UNKNOWN: unknown
|
|
9
84
|
*
|
|
10
85
|
* @example
|
|
11
86
|
* ONLINE
|
|
@@ -65,7 +140,7 @@ export declare class UpdateExternalAgentResponseBodyDataModelQuota extends $dara
|
|
|
65
140
|
enabled?: boolean;
|
|
66
141
|
/**
|
|
67
142
|
* @remarks
|
|
68
|
-
* The quota limit type.
|
|
143
|
+
* The quota limit type. Only token is supported.
|
|
69
144
|
*
|
|
70
145
|
* @example
|
|
71
146
|
* token
|
|
@@ -73,7 +148,7 @@ export declare class UpdateExternalAgentResponseBodyDataModelQuota extends $dara
|
|
|
73
148
|
limitType?: string;
|
|
74
149
|
/**
|
|
75
150
|
* @remarks
|
|
76
|
-
* Indicates whether the quota
|
|
151
|
+
* Indicates whether the quota is exceeded for the current cycle. This is a read-only field returned by the backend.
|
|
77
152
|
*
|
|
78
153
|
* @example
|
|
79
154
|
* false
|
|
@@ -81,7 +156,7 @@ export declare class UpdateExternalAgentResponseBodyDataModelQuota extends $dara
|
|
|
81
156
|
overLimit?: boolean;
|
|
82
157
|
/**
|
|
83
158
|
* @remarks
|
|
84
|
-
* The quota statistical period. day indicates a
|
|
159
|
+
* The quota statistical period. A value of day indicates daily, and a value of month indicates monthly.
|
|
85
160
|
*
|
|
86
161
|
* @example
|
|
87
162
|
* day
|
|
@@ -97,7 +172,7 @@ export declare class UpdateExternalAgentResponseBodyDataModelQuota extends $dara
|
|
|
97
172
|
ruleStatus?: string;
|
|
98
173
|
/**
|
|
99
174
|
* @remarks
|
|
100
|
-
* The maximum number of tokens
|
|
175
|
+
* The maximum number of tokens allowed to be consumed in a single cycle.
|
|
101
176
|
*
|
|
102
177
|
* @example
|
|
103
178
|
* 1000000
|
|
@@ -141,7 +216,7 @@ export declare class UpdateExternalAgentResponseBodyDataModel extends $dara.Mode
|
|
|
141
216
|
modelName?: string;
|
|
142
217
|
/**
|
|
143
218
|
* @remarks
|
|
144
|
-
* The model token quota configuration and
|
|
219
|
+
* The model token quota configuration and usage status for the current cycle. This field is empty if no quota is configured.
|
|
145
220
|
*/
|
|
146
221
|
quota?: UpdateExternalAgentResponseBodyDataModelQuota;
|
|
147
222
|
static names(): {
|
|
@@ -155,17 +230,79 @@ export declare class UpdateExternalAgentResponseBodyDataModel extends $dara.Mode
|
|
|
155
230
|
[key: string]: any;
|
|
156
231
|
});
|
|
157
232
|
}
|
|
233
|
+
export declare class UpdateExternalAgentResponseBodyDataSkillsVersionSelector extends $dara.Model {
|
|
234
|
+
/**
|
|
235
|
+
* @remarks
|
|
236
|
+
* The type of the version selector. Valid values:
|
|
237
|
+
* - LABEL: By label.
|
|
238
|
+
* - VERSION: By specific version.
|
|
239
|
+
*
|
|
240
|
+
* @example
|
|
241
|
+
* LABEL
|
|
242
|
+
*/
|
|
243
|
+
type?: string;
|
|
244
|
+
/**
|
|
245
|
+
* @remarks
|
|
246
|
+
* The value of the selector. When the type is LABEL, this is the label name, such as latest. When the type is VERSION, this is the specific version number.
|
|
247
|
+
*
|
|
248
|
+
* @example
|
|
249
|
+
* latest
|
|
250
|
+
*/
|
|
251
|
+
value?: string;
|
|
252
|
+
static names(): {
|
|
253
|
+
[key: string]: string;
|
|
254
|
+
};
|
|
255
|
+
static types(): {
|
|
256
|
+
[key: string]: any;
|
|
257
|
+
};
|
|
258
|
+
validate(): void;
|
|
259
|
+
constructor(map?: {
|
|
260
|
+
[key: string]: any;
|
|
261
|
+
});
|
|
262
|
+
}
|
|
158
263
|
export declare class UpdateExternalAgentResponseBodyDataSkills extends $dara.Model {
|
|
159
264
|
/**
|
|
160
265
|
* @remarks
|
|
161
|
-
* The
|
|
266
|
+
* The applied version in the runtime. This is a read-only field.
|
|
162
267
|
*
|
|
163
|
-
*
|
|
268
|
+
* @example
|
|
269
|
+
* 1.0.0
|
|
270
|
+
*/
|
|
271
|
+
appliedVersion?: string;
|
|
272
|
+
/**
|
|
273
|
+
* @remarks
|
|
274
|
+
* Indicates whether the skill is from a fixed template. This is a read-only field. Template items cannot be removed.
|
|
275
|
+
*
|
|
276
|
+
* @example
|
|
277
|
+
* false
|
|
278
|
+
*/
|
|
279
|
+
fromTemplate?: boolean;
|
|
280
|
+
/**
|
|
281
|
+
* @remarks
|
|
282
|
+
* The skill name.
|
|
164
283
|
*
|
|
165
284
|
* @example
|
|
166
285
|
* code-analysis
|
|
167
286
|
*/
|
|
168
287
|
name?: string;
|
|
288
|
+
/**
|
|
289
|
+
* @remarks
|
|
290
|
+
* The current target version. This is a read-only field.
|
|
291
|
+
*
|
|
292
|
+
* @example
|
|
293
|
+
* 1.0.0
|
|
294
|
+
*/
|
|
295
|
+
resolvedVersion?: string;
|
|
296
|
+
/**
|
|
297
|
+
* @remarks
|
|
298
|
+
* The source type of the skill. Valid values:
|
|
299
|
+
* - REFERENCE: References the AI Registry.
|
|
300
|
+
* - STATIC: Statically provided with the package.
|
|
301
|
+
*
|
|
302
|
+
* @example
|
|
303
|
+
* REFERENCE
|
|
304
|
+
*/
|
|
305
|
+
sourceType?: string;
|
|
169
306
|
/**
|
|
170
307
|
* @remarks
|
|
171
308
|
* The skill version.
|
|
@@ -174,6 +311,11 @@ export declare class UpdateExternalAgentResponseBodyDataSkills extends $dara.Mod
|
|
|
174
311
|
* 1.0.0
|
|
175
312
|
*/
|
|
176
313
|
version?: string;
|
|
314
|
+
/**
|
|
315
|
+
* @remarks
|
|
316
|
+
* The referenced version selector, which defaults to LABEL/latest if omitted.
|
|
317
|
+
*/
|
|
318
|
+
versionSelector?: UpdateExternalAgentResponseBodyDataSkillsVersionSelector;
|
|
177
319
|
static names(): {
|
|
178
320
|
[key: string]: string;
|
|
179
321
|
};
|
|
@@ -188,7 +330,7 @@ export declare class UpdateExternalAgentResponseBodyDataSkills extends $dara.Mod
|
|
|
188
330
|
export declare class UpdateExternalAgentResponseBodyDataTemplateAiRegistry extends $dara.Model {
|
|
189
331
|
/**
|
|
190
332
|
* @remarks
|
|
191
|
-
* The name of the template in AI Registry.
|
|
333
|
+
* The name of the template in the AI Registry.
|
|
192
334
|
*
|
|
193
335
|
* This parameter is required.
|
|
194
336
|
*
|
|
@@ -198,7 +340,7 @@ export declare class UpdateExternalAgentResponseBodyDataTemplateAiRegistry exten
|
|
|
198
340
|
name?: string;
|
|
199
341
|
/**
|
|
200
342
|
* @remarks
|
|
201
|
-
* The version of the template in AI Registry.
|
|
343
|
+
* The version of the template in the AI Registry.
|
|
202
344
|
*
|
|
203
345
|
* This parameter is required.
|
|
204
346
|
*
|
|
@@ -276,6 +418,11 @@ export declare class UpdateExternalAgentResponseBodyData extends $dara.Model {
|
|
|
276
418
|
* agent-1
|
|
277
419
|
*/
|
|
278
420
|
agentId?: string;
|
|
421
|
+
/**
|
|
422
|
+
* @remarks
|
|
423
|
+
* Includes only the skills added or overridden by the user, excluding inherited items from templates. The resource model reads this field to preserve update semantics. Creation and update operations still use the skills in the request.
|
|
424
|
+
*/
|
|
425
|
+
configuredSkills?: UpdateExternalAgentResponseBodyDataConfiguredSkills[];
|
|
279
426
|
/**
|
|
280
427
|
* @remarks
|
|
281
428
|
* The creation mode.
|
|
@@ -305,7 +452,7 @@ export declare class UpdateExternalAgentResponseBodyData extends $dara.Model {
|
|
|
305
452
|
* The description of the external agent.
|
|
306
453
|
*
|
|
307
454
|
* @example
|
|
308
|
-
*
|
|
455
|
+
* Code review agent running in the user environment
|
|
309
456
|
*/
|
|
310
457
|
description?: string;
|
|
311
458
|
/**
|
|
@@ -315,7 +462,7 @@ export declare class UpdateExternalAgentResponseBodyData extends $dara.Model {
|
|
|
315
462
|
externalAgentStatus?: UpdateExternalAgentResponseBodyDataExternalAgentStatus;
|
|
316
463
|
/**
|
|
317
464
|
* @remarks
|
|
318
|
-
* The agent
|
|
465
|
+
* The agent instructions used to guide the behavior of the agent.
|
|
319
466
|
*
|
|
320
467
|
* @example
|
|
321
468
|
* You are a code review assistant
|
|
@@ -332,12 +479,12 @@ export declare class UpdateExternalAgentResponseBodyData extends $dara.Model {
|
|
|
332
479
|
/**
|
|
333
480
|
* @remarks
|
|
334
481
|
* The processing status of the latest specification version. Valid values:
|
|
335
|
-
* - pending:
|
|
336
|
-
* - processing:
|
|
337
|
-
* - waiting_retry:
|
|
338
|
-
* - succeeded:
|
|
339
|
-
* - failed:
|
|
340
|
-
* - superseded:
|
|
482
|
+
* - pending: pending
|
|
483
|
+
* - processing: processing
|
|
484
|
+
* - waiting_retry: waiting for retry
|
|
485
|
+
* - succeeded: succeeded
|
|
486
|
+
* - failed: failed
|
|
487
|
+
* - superseded: superseded by a new version
|
|
341
488
|
*
|
|
342
489
|
* @example
|
|
343
490
|
* pending
|
|
@@ -350,9 +497,9 @@ export declare class UpdateExternalAgentResponseBodyData extends $dara.Model {
|
|
|
350
497
|
model?: UpdateExternalAgentResponseBodyDataModel;
|
|
351
498
|
/**
|
|
352
499
|
* @remarks
|
|
353
|
-
* The model configuration
|
|
354
|
-
* - PLATFORM:
|
|
355
|
-
* - RUNTIME:
|
|
500
|
+
* The source of the model configuration. PLATFORM indicates that the platform parses and delivers the model configuration. RUNTIME indicates that the external runtime manages the model independently, and the model parameter cannot be passed at the same time. Valid values:
|
|
501
|
+
* - PLATFORM: Platform model.
|
|
502
|
+
* - RUNTIME: Runtime model.
|
|
356
503
|
*
|
|
357
504
|
* @example
|
|
358
505
|
* PLATFORM
|
|
@@ -389,13 +536,7 @@ export declare class UpdateExternalAgentResponseBodyData extends $dara.Model {
|
|
|
389
536
|
skills?: UpdateExternalAgentResponseBodyDataSkills[];
|
|
390
537
|
/**
|
|
391
538
|
* @remarks
|
|
392
|
-
* The external agent
|
|
393
|
-
* - Creating: Being created.
|
|
394
|
-
* - Running: Running.
|
|
395
|
-
* - Failed: Failed.
|
|
396
|
-
* - Updating: Being updated.
|
|
397
|
-
* - Deleting: Being deleted.
|
|
398
|
-
* - Deleted: Deleted.
|
|
539
|
+
* The status of the external agent. Valid values: Creating, Running, Failed, Updating, Deleting, and Deleted.
|
|
399
540
|
*
|
|
400
541
|
* @example
|
|
401
542
|
* Running
|
|
@@ -441,7 +582,7 @@ export declare class UpdateExternalAgentResponseBodyData extends $dara.Model {
|
|
|
441
582
|
export declare class UpdateExternalAgentResponseBody extends $dara.Model {
|
|
442
583
|
/**
|
|
443
584
|
* @remarks
|
|
444
|
-
* The business status code. The value is SUCCESS
|
|
585
|
+
* The business status code. The value is SUCCESS if the request is successful.
|
|
445
586
|
*
|
|
446
587
|
* @example
|
|
447
588
|
* SUCCESS
|
|
@@ -454,7 +595,7 @@ export declare class UpdateExternalAgentResponseBody extends $dara.Model {
|
|
|
454
595
|
data?: UpdateExternalAgentResponseBodyData;
|
|
455
596
|
/**
|
|
456
597
|
* @remarks
|
|
457
|
-
* The HTTP status code.
|
|
598
|
+
* The HTTP status code. A value of 200 indicates success.
|
|
458
599
|
*
|
|
459
600
|
* @example
|
|
460
601
|
* 200
|
|
@@ -478,7 +619,7 @@ export declare class UpdateExternalAgentResponseBody extends $dara.Model {
|
|
|
478
619
|
requestId?: string;
|
|
479
620
|
/**
|
|
480
621
|
* @remarks
|
|
481
|
-
* Indicates whether the request
|
|
622
|
+
* Indicates whether the request is successful.
|
|
482
623
|
*/
|
|
483
624
|
success?: boolean;
|
|
484
625
|
static names(): {
|