@alicloud/agentloop20260520 2.5.2 → 2.6.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 (73) hide show
  1. package/dist/client.d.ts +56 -2
  2. package/dist/client.js +168 -2
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/GetExperimentPlanResponseBody.d.ts +3 -0
  5. package/dist/models/GetExperimentPlanResponseBody.js.map +1 -1
  6. package/dist/models/ListEvaluationTasksRequest.d.ts +6 -6
  7. package/dist/models/ListEvaluationTasksResponseBody.d.ts +10 -10
  8. package/dist/models/ListTagResourcesRequest.d.ts +72 -0
  9. package/dist/models/ListTagResourcesRequest.js +91 -0
  10. package/dist/models/ListTagResourcesRequest.js.map +1 -0
  11. package/dist/models/ListTagResourcesResponse.d.ts +19 -0
  12. package/dist/models/ListTagResourcesResponse.js +69 -0
  13. package/dist/models/ListTagResourcesResponse.js.map +1 -0
  14. package/dist/models/ListTagResourcesResponseBody.d.ts +86 -0
  15. package/dist/models/ListTagResourcesResponseBody.js +90 -0
  16. package/dist/models/ListTagResourcesResponseBody.js.map +1 -0
  17. package/dist/models/ListTagResourcesShrinkRequest.d.ts +44 -0
  18. package/dist/models/ListTagResourcesShrinkRequest.js +64 -0
  19. package/dist/models/ListTagResourcesShrinkRequest.js.map +1 -0
  20. package/dist/models/RunStrategies.d.ts +9 -0
  21. package/dist/models/RunStrategies.js +6 -0
  22. package/dist/models/RunStrategies.js.map +1 -1
  23. package/dist/models/SearchContextRequest.d.ts +10 -10
  24. package/dist/models/SearchContextResponseBody.d.ts +32 -6
  25. package/dist/models/SearchContextResponseBody.js.map +1 -1
  26. package/dist/models/SelectedDataStrategy.d.ts +39 -0
  27. package/dist/models/SelectedDataStrategy.js +65 -0
  28. package/dist/models/SelectedDataStrategy.js.map +1 -0
  29. package/dist/models/TagResourcesRequest.d.ts +79 -0
  30. package/dist/models/TagResourcesRequest.js +89 -0
  31. package/dist/models/TagResourcesRequest.js.map +1 -0
  32. package/dist/models/TagResourcesResponse.d.ts +19 -0
  33. package/dist/models/TagResourcesResponse.js +69 -0
  34. package/dist/models/TagResourcesResponse.js.map +1 -0
  35. package/dist/models/TagResourcesResponseBody.d.ts +21 -0
  36. package/dist/models/TagResourcesResponseBody.js +58 -0
  37. package/dist/models/TagResourcesResponseBody.js.map +1 -0
  38. package/dist/models/UntagResourcesRequest.d.ts +49 -0
  39. package/dist/models/UntagResourcesRequest.js +70 -0
  40. package/dist/models/UntagResourcesRequest.js.map +1 -0
  41. package/dist/models/UntagResourcesResponse.d.ts +19 -0
  42. package/dist/models/UntagResourcesResponse.js +69 -0
  43. package/dist/models/UntagResourcesResponse.js.map +1 -0
  44. package/dist/models/UntagResourcesResponseBody.d.ts +21 -0
  45. package/dist/models/UntagResourcesResponseBody.js +58 -0
  46. package/dist/models/UntagResourcesResponseBody.js.map +1 -0
  47. package/dist/models/UntagResourcesShrinkRequest.d.ts +49 -0
  48. package/dist/models/UntagResourcesShrinkRequest.js +64 -0
  49. package/dist/models/UntagResourcesShrinkRequest.js.map +1 -0
  50. package/dist/models/model.d.ts +15 -0
  51. package/dist/models/model.js +38 -7
  52. package/dist/models/model.js.map +1 -1
  53. package/package.json +1 -1
  54. package/src/client.ts +189 -2
  55. package/src/models/GetExperimentPlanResponseBody.ts +3 -0
  56. package/src/models/ListEvaluationTasksRequest.ts +6 -6
  57. package/src/models/ListEvaluationTasksResponseBody.ts +10 -10
  58. package/src/models/ListTagResourcesRequest.ts +109 -0
  59. package/src/models/ListTagResourcesResponse.ts +40 -0
  60. package/src/models/ListTagResourcesResponseBody.ts +122 -0
  61. package/src/models/ListTagResourcesShrinkRequest.ts +63 -0
  62. package/src/models/RunStrategies.ts +14 -0
  63. package/src/models/SearchContextRequest.ts +10 -10
  64. package/src/models/SearchContextResponseBody.ts +32 -6
  65. package/src/models/SelectedDataStrategy.ts +59 -0
  66. package/src/models/TagResourcesRequest.ts +114 -0
  67. package/src/models/TagResourcesResponse.ts +40 -0
  68. package/src/models/TagResourcesResponseBody.ts +34 -0
  69. package/src/models/UntagResourcesRequest.ts +74 -0
  70. package/src/models/UntagResourcesResponse.ts +40 -0
  71. package/src/models/UntagResourcesResponseBody.ts +34 -0
  72. package/src/models/UntagResourcesShrinkRequest.ts +68 -0
  73. package/src/models/model.ts +15 -0
@@ -0,0 +1,114 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class TagResourcesRequestTag extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The tag key. Format requirements:
9
+ *
10
+ * - The length must be 1 to 128 characters.
11
+ * - The key cannot contain "http://" or "https://".
12
+ * - The key cannot start with "acs:" or "aliyun".
13
+ *
14
+ * @example
15
+ * key1
16
+ */
17
+ key?: string;
18
+ /**
19
+ * @remarks
20
+ * The tag value. Format requirements:
21
+ *
22
+ * - The length must be 1 to 128 characters.
23
+ * - The value cannot contain "http://" or "https://".
24
+ *
25
+ * @example
26
+ * value1
27
+ */
28
+ value?: string;
29
+ static names(): { [key: string]: string } {
30
+ return {
31
+ key: 'key',
32
+ value: 'value',
33
+ };
34
+ }
35
+
36
+ static types(): { [key: string]: any } {
37
+ return {
38
+ key: 'string',
39
+ value: 'string',
40
+ };
41
+ }
42
+
43
+ validate() {
44
+ super.validate();
45
+ }
46
+
47
+ constructor(map?: { [key: string]: any }) {
48
+ super(map);
49
+ }
50
+ }
51
+
52
+ export class TagResourcesRequest extends $dara.Model {
53
+ /**
54
+ * @remarks
55
+ * The list of resource IDs.
56
+ *
57
+ * This parameter is required.
58
+ *
59
+ * @example
60
+ * ["space-a","space-b"]
61
+ */
62
+ resourceId?: string[];
63
+ /**
64
+ * @remarks
65
+ * The resource type. Set the value to agentspace.
66
+ *
67
+ * This parameter is required.
68
+ *
69
+ * @example
70
+ * agentspace
71
+ */
72
+ resourceType?: string;
73
+ /**
74
+ * @remarks
75
+ * The list of tags. Up to 20 tag key-value pairs are supported at a time.
76
+ *
77
+ * @example
78
+ * [{
79
+ * "key": "key1",
80
+ * "value": "value1"
81
+ * }]
82
+ */
83
+ tag?: TagResourcesRequestTag[];
84
+ static names(): { [key: string]: string } {
85
+ return {
86
+ resourceId: 'resourceId',
87
+ resourceType: 'resourceType',
88
+ tag: 'tag',
89
+ };
90
+ }
91
+
92
+ static types(): { [key: string]: any } {
93
+ return {
94
+ resourceId: { 'type': 'array', 'itemType': 'string' },
95
+ resourceType: 'string',
96
+ tag: { 'type': 'array', 'itemType': TagResourcesRequestTag },
97
+ };
98
+ }
99
+
100
+ validate() {
101
+ if(Array.isArray(this.resourceId)) {
102
+ $dara.Model.validateArray(this.resourceId);
103
+ }
104
+ if(Array.isArray(this.tag)) {
105
+ $dara.Model.validateArray(this.tag);
106
+ }
107
+ super.validate();
108
+ }
109
+
110
+ constructor(map?: { [key: string]: any }) {
111
+ super(map);
112
+ }
113
+ }
114
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { TagResourcesResponseBody } from "./TagResourcesResponseBody";
4
+
5
+
6
+ export class TagResourcesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: TagResourcesResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: TagResourcesResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class TagResourcesResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The request ID.
9
+ *
10
+ * @example
11
+ * 01A11E6F-1216-5ED6-918C-668BAF39022B
12
+ */
13
+ requestId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ requestId: 'requestId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ requestId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -0,0 +1,74 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UntagResourcesRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Specifies whether to remove all custom tags. Valid values: true, false, and an empty string. If this parameter is not specified or is set to an empty string, the value is treated as false. The value true takes effect only when the tagKey parameter is not specified or is an empty array.
9
+ *
10
+ * @example
11
+ * true
12
+ */
13
+ all?: string;
14
+ /**
15
+ * @remarks
16
+ * The list of resource IDs.
17
+ *
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * ["space-a","space-b"]
22
+ */
23
+ resourceId?: string[];
24
+ /**
25
+ * @remarks
26
+ * The resource type. Set the value to agentspace.
27
+ *
28
+ * This parameter is required.
29
+ *
30
+ * @example
31
+ * agentspace
32
+ */
33
+ resourceType?: string;
34
+ /**
35
+ * @remarks
36
+ * The list of tag keys to remove. You can specify up to 20 tag keys. The tag keys must be unique. If this parameter is not empty, it takes precedence over the all parameter.
37
+ *
38
+ * @example
39
+ * ["key1", "key2", "key3"]
40
+ */
41
+ tagKey?: string[];
42
+ static names(): { [key: string]: string } {
43
+ return {
44
+ all: 'all',
45
+ resourceId: 'resourceId',
46
+ resourceType: 'resourceType',
47
+ tagKey: 'tagKey',
48
+ };
49
+ }
50
+
51
+ static types(): { [key: string]: any } {
52
+ return {
53
+ all: 'string',
54
+ resourceId: { 'type': 'array', 'itemType': 'string' },
55
+ resourceType: 'string',
56
+ tagKey: { 'type': 'array', 'itemType': 'string' },
57
+ };
58
+ }
59
+
60
+ validate() {
61
+ if(Array.isArray(this.resourceId)) {
62
+ $dara.Model.validateArray(this.resourceId);
63
+ }
64
+ if(Array.isArray(this.tagKey)) {
65
+ $dara.Model.validateArray(this.tagKey);
66
+ }
67
+ super.validate();
68
+ }
69
+
70
+ constructor(map?: { [key: string]: any }) {
71
+ super(map);
72
+ }
73
+ }
74
+
@@ -0,0 +1,40 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+ import { UntagResourcesResponseBody } from "./UntagResourcesResponseBody";
4
+
5
+
6
+ export class UntagResourcesResponse extends $dara.Model {
7
+ headers?: { [key: string]: string };
8
+ statusCode?: number;
9
+ body?: UntagResourcesResponseBody;
10
+ static names(): { [key: string]: string } {
11
+ return {
12
+ headers: 'headers',
13
+ statusCode: 'statusCode',
14
+ body: 'body',
15
+ };
16
+ }
17
+
18
+ static types(): { [key: string]: any } {
19
+ return {
20
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
21
+ statusCode: 'number',
22
+ body: UntagResourcesResponseBody,
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ if(this.headers) {
28
+ $dara.Model.validateMap(this.headers);
29
+ }
30
+ if(this.body && typeof (this.body as any).validate === 'function') {
31
+ (this.body as any).validate();
32
+ }
33
+ super.validate();
34
+ }
35
+
36
+ constructor(map?: { [key: string]: any }) {
37
+ super(map);
38
+ }
39
+ }
40
+
@@ -0,0 +1,34 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UntagResourcesResponseBody extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * The request ID.
9
+ *
10
+ * @example
11
+ * 01A0033F-8E61-570B-BBDB-4D5A64898F54
12
+ */
13
+ requestId?: string;
14
+ static names(): { [key: string]: string } {
15
+ return {
16
+ requestId: 'requestId',
17
+ };
18
+ }
19
+
20
+ static types(): { [key: string]: any } {
21
+ return {
22
+ requestId: 'string',
23
+ };
24
+ }
25
+
26
+ validate() {
27
+ super.validate();
28
+ }
29
+
30
+ constructor(map?: { [key: string]: any }) {
31
+ super(map);
32
+ }
33
+ }
34
+
@@ -0,0 +1,68 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class UntagResourcesShrinkRequest extends $dara.Model {
6
+ /**
7
+ * @remarks
8
+ * Specifies whether to remove all custom tags. Valid values: true, false, and an empty string. If this parameter is not specified or is set to an empty string, the value is treated as false. The value true takes effect only when the tagKey parameter is not specified or is an empty array.
9
+ *
10
+ * @example
11
+ * true
12
+ */
13
+ all?: string;
14
+ /**
15
+ * @remarks
16
+ * The list of resource IDs.
17
+ *
18
+ * This parameter is required.
19
+ *
20
+ * @example
21
+ * ["space-a","space-b"]
22
+ */
23
+ resourceIdShrink?: string;
24
+ /**
25
+ * @remarks
26
+ * The resource type. Set the value to agentspace.
27
+ *
28
+ * This parameter is required.
29
+ *
30
+ * @example
31
+ * agentspace
32
+ */
33
+ resourceType?: string;
34
+ /**
35
+ * @remarks
36
+ * The list of tag keys to remove. You can specify up to 20 tag keys. The tag keys must be unique. If this parameter is not empty, it takes precedence over the all parameter.
37
+ *
38
+ * @example
39
+ * ["key1", "key2", "key3"]
40
+ */
41
+ tagKeyShrink?: string;
42
+ static names(): { [key: string]: string } {
43
+ return {
44
+ all: 'all',
45
+ resourceIdShrink: 'resourceId',
46
+ resourceType: 'resourceType',
47
+ tagKeyShrink: 'tagKey',
48
+ };
49
+ }
50
+
51
+ static types(): { [key: string]: any } {
52
+ return {
53
+ all: 'string',
54
+ resourceIdShrink: 'string',
55
+ resourceType: 'string',
56
+ tagKeyShrink: 'string',
57
+ };
58
+ }
59
+
60
+ validate() {
61
+ super.validate();
62
+ }
63
+
64
+ constructor(map?: { [key: string]: any }) {
65
+ super(map);
66
+ }
67
+ }
68
+
@@ -132,6 +132,8 @@ export { ListPipelinesResponseBodyPipelinesSourceTrajectoryEnrich } from './List
132
132
  export { ListPipelinesResponseBodyPipelinesSourceTrajectory } from './ListPipelinesResponseBody';
133
133
  export { ListPipelinesResponseBodyPipelinesSource } from './ListPipelinesResponseBody';
134
134
  export { ListPipelinesResponseBodyPipelines } from './ListPipelinesResponseBody';
135
+ export { ListTagResourcesRequestTag } from './ListTagResourcesRequest';
136
+ export { ListTagResourcesResponseBodyTagResources } from './ListTagResourcesResponseBody';
135
137
  export { PreviewPipelineRequestPipelineNodes } from './PreviewPipelineRequest';
136
138
  export { PreviewPipelineRequestPipeline } from './PreviewPipelineRequest';
137
139
  export { PreviewPipelineRequestSourceDataset } from './PreviewPipelineRequest';
@@ -143,6 +145,7 @@ export { PreviewPipelineRequestSource } from './PreviewPipelineRequest';
143
145
  export { PreviewPipelineResponseBodyMeta } from './PreviewPipelineResponseBody';
144
146
  export { RunPipelineRequestOutput } from './RunPipelineRequest';
145
147
  export { SearchContextRequestScope } from './SearchContextRequest';
148
+ export { TagResourcesRequestTag } from './TagResourcesRequest';
146
149
  export { UpdateContextStoreRequestConfigAudit } from './UpdateContextStoreRequest';
147
150
  export { UpdateContextStoreRequestConfigExtractionPoliciesModel } from './UpdateContextStoreRequest';
148
151
  export { UpdateContextStoreRequestConfigExtractionPoliciesStoragePolicy } from './UpdateContextStoreRequest';
@@ -199,6 +202,7 @@ export { ModelParameters } from './ModelParameters';
199
202
  export { OfflineExperimentConfig } from './OfflineExperimentConfig';
200
203
  export { PromptTemplateItem } from './PromptTemplateItem';
201
204
  export { RunStrategies } from './RunStrategies';
205
+ export { SelectedDataStrategy } from './SelectedDataStrategy';
202
206
  export { EvaluatorVariableExtractorMappingValue } from './EvaluatorVariableExtractorMappingValue';
203
207
  export { MetaSchemaValue } from './MetaSchemaValue';
204
208
  export { AddDatasetDataRequest } from './AddDatasetDataRequest';
@@ -383,6 +387,10 @@ export { ListPipelineRunsResponse } from './ListPipelineRunsResponse';
383
387
  export { ListPipelinesRequest } from './ListPipelinesRequest';
384
388
  export { ListPipelinesResponseBody } from './ListPipelinesResponseBody';
385
389
  export { ListPipelinesResponse } from './ListPipelinesResponse';
390
+ export { ListTagResourcesRequest } from './ListTagResourcesRequest';
391
+ export { ListTagResourcesShrinkRequest } from './ListTagResourcesShrinkRequest';
392
+ export { ListTagResourcesResponseBody } from './ListTagResourcesResponseBody';
393
+ export { ListTagResourcesResponse } from './ListTagResourcesResponse';
386
394
  export { PausePipelineRequest } from './PausePipelineRequest';
387
395
  export { PausePipelineResponseBody } from './PausePipelineResponseBody';
388
396
  export { PausePipelineResponse } from './PausePipelineResponse';
@@ -398,9 +406,16 @@ export { RunPipelineResponse } from './RunPipelineResponse';
398
406
  export { SearchContextRequest } from './SearchContextRequest';
399
407
  export { SearchContextResponseBody } from './SearchContextResponseBody';
400
408
  export { SearchContextResponse } from './SearchContextResponse';
409
+ export { TagResourcesRequest } from './TagResourcesRequest';
410
+ export { TagResourcesResponseBody } from './TagResourcesResponseBody';
411
+ export { TagResourcesResponse } from './TagResourcesResponse';
401
412
  export { TerminatePipelineRequest } from './TerminatePipelineRequest';
402
413
  export { TerminatePipelineResponseBody } from './TerminatePipelineResponseBody';
403
414
  export { TerminatePipelineResponse } from './TerminatePipelineResponse';
415
+ export { UntagResourcesRequest } from './UntagResourcesRequest';
416
+ export { UntagResourcesShrinkRequest } from './UntagResourcesShrinkRequest';
417
+ export { UntagResourcesResponseBody } from './UntagResourcesResponseBody';
418
+ export { UntagResourcesResponse } from './UntagResourcesResponse';
404
419
  export { UpdateAgentSpaceRequest } from './UpdateAgentSpaceRequest';
405
420
  export { UpdateAgentSpaceResponseBody } from './UpdateAgentSpaceResponseBody';
406
421
  export { UpdateAgentSpaceResponse } from './UpdateAgentSpaceResponse';