@alicloud/agentloop20260520 2.5.0 → 2.5.2

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 (86) hide show
  1. package/dist/client.d.ts +36 -24
  2. package/dist/client.js +36 -24
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateDatasetVersionRequest.d.ts +3 -3
  5. package/dist/models/CreateExperimentPlanRequest.d.ts +11 -8
  6. package/dist/models/CreateExperimentPlanRequest.js.map +1 -1
  7. package/dist/models/CreateExperimentPlanResponseBody.d.ts +1 -1
  8. package/dist/models/CreatePipelineRequest.d.ts +32 -29
  9. package/dist/models/CreatePipelineRequest.js.map +1 -1
  10. package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
  11. package/dist/models/DescribeRegionsRequest.d.ts +1 -1
  12. package/dist/models/DescribeRegionsResponseBody.d.ts +3 -3
  13. package/dist/models/GetAgentSpaceResponseBody.d.ts +11 -2
  14. package/dist/models/GetAgentSpaceResponseBody.js.map +1 -1
  15. package/dist/models/GetEvaluationRunResponseBody.d.ts +27 -17
  16. package/dist/models/GetEvaluationRunResponseBody.js +5 -0
  17. package/dist/models/GetEvaluationRunResponseBody.js.map +1 -1
  18. package/dist/models/GetEvaluationTaskResponseBody.d.ts +23 -13
  19. package/dist/models/GetEvaluationTaskResponseBody.js +5 -0
  20. package/dist/models/GetEvaluationTaskResponseBody.js.map +1 -1
  21. package/dist/models/GetOptimizeTaskResponseBody.d.ts +14 -5
  22. package/dist/models/GetOptimizeTaskResponseBody.js.map +1 -1
  23. package/dist/models/GetPipelineRunResponseBody.d.ts +25 -21
  24. package/dist/models/GetPipelineRunResponseBody.js.map +1 -1
  25. package/dist/models/ListAgentSpacesRequest.d.ts +2 -2
  26. package/dist/models/ListAgentSpacesResponseBody.d.ts +5 -5
  27. package/dist/models/ListAgentSpacesShrinkRequest.d.ts +2 -2
  28. package/dist/models/ListDatasetVersionsRequest.d.ts +1 -1
  29. package/dist/models/ListEvaluatorsRequest.d.ts +2 -2
  30. package/dist/models/ListEvaluatorsResponseBody.d.ts +7 -7
  31. package/dist/models/ListExperimentPlansRequest.d.ts +5 -5
  32. package/dist/models/ListExperimentPlansResponseBody.d.ts +3 -3
  33. package/dist/models/ListOptimizeRunsRequest.d.ts +6 -6
  34. package/dist/models/ListOptimizeRunsResponseBody.d.ts +25 -8
  35. package/dist/models/ListOptimizeRunsResponseBody.js.map +1 -1
  36. package/dist/models/ListOptimizeTasksRequest.d.ts +2 -2
  37. package/dist/models/ListOptimizeTasksResponseBody.d.ts +17 -8
  38. package/dist/models/ListOptimizeTasksResponseBody.js.map +1 -1
  39. package/dist/models/ListPipelineRunsRequest.d.ts +5 -5
  40. package/dist/models/ListPipelineRunsResponseBody.d.ts +18 -9
  41. package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
  42. package/dist/models/MetaSchemaValue.d.ts +1 -1
  43. package/dist/models/PreviewPipelineRequest.d.ts +13 -10
  44. package/dist/models/PreviewPipelineRequest.js.map +1 -1
  45. package/dist/models/PreviewPipelineResponseBody.d.ts +12 -12
  46. package/dist/models/UpdateContextStoreRequest.d.ts +59 -45
  47. package/dist/models/UpdateContextStoreRequest.js.map +1 -1
  48. package/dist/models/UpdateContextStoreResponseBody.d.ts +5 -5
  49. package/dist/models/UpdateEvaluatorSkillRequest.d.ts +11 -11
  50. package/dist/models/UpdateExperimentPlanRequest.d.ts +7 -4
  51. package/dist/models/UpdateExperimentPlanRequest.js.map +1 -1
  52. package/package.json +1 -1
  53. package/src/client.ts +36 -24
  54. package/src/models/CreateDatasetVersionRequest.ts +3 -3
  55. package/src/models/CreateExperimentPlanRequest.ts +11 -8
  56. package/src/models/CreateExperimentPlanResponseBody.ts +1 -1
  57. package/src/models/CreatePipelineRequest.ts +32 -29
  58. package/src/models/CreatePipelineResponseBody.ts +1 -1
  59. package/src/models/DescribeRegionsRequest.ts +1 -1
  60. package/src/models/DescribeRegionsResponseBody.ts +3 -3
  61. package/src/models/GetAgentSpaceResponseBody.ts +11 -2
  62. package/src/models/GetEvaluationRunResponseBody.ts +30 -17
  63. package/src/models/GetEvaluationTaskResponseBody.ts +26 -13
  64. package/src/models/GetOptimizeTaskResponseBody.ts +14 -5
  65. package/src/models/GetPipelineRunResponseBody.ts +25 -21
  66. package/src/models/ListAgentSpacesRequest.ts +2 -2
  67. package/src/models/ListAgentSpacesResponseBody.ts +5 -5
  68. package/src/models/ListAgentSpacesShrinkRequest.ts +2 -2
  69. package/src/models/ListDatasetVersionsRequest.ts +1 -1
  70. package/src/models/ListEvaluatorsRequest.ts +2 -2
  71. package/src/models/ListEvaluatorsResponseBody.ts +7 -7
  72. package/src/models/ListExperimentPlansRequest.ts +5 -5
  73. package/src/models/ListExperimentPlansResponseBody.ts +3 -3
  74. package/src/models/ListOptimizeRunsRequest.ts +6 -6
  75. package/src/models/ListOptimizeRunsResponseBody.ts +25 -8
  76. package/src/models/ListOptimizeTasksRequest.ts +2 -2
  77. package/src/models/ListOptimizeTasksResponseBody.ts +17 -8
  78. package/src/models/ListPipelineRunsRequest.ts +5 -5
  79. package/src/models/ListPipelineRunsResponseBody.ts +18 -9
  80. package/src/models/MetaSchemaValue.ts +1 -1
  81. package/src/models/PreviewPipelineRequest.ts +13 -10
  82. package/src/models/PreviewPipelineResponseBody.ts +12 -12
  83. package/src/models/UpdateContextStoreRequest.ts +59 -45
  84. package/src/models/UpdateContextStoreResponseBody.ts +5 -5
  85. package/src/models/UpdateEvaluatorSkillRequest.ts +11 -11
  86. package/src/models/UpdateExperimentPlanRequest.ts +7 -4
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class ListPipelineRunsRequest extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The upper bound for filtering by trigger time (triggered_at <= endTime), in UNIX seconds.
8
+ * The upper bound of the trigger time filter (triggered_at <= endTime). The value is a UNIX timestamp in seconds.
9
9
  *
10
10
  * @example
11
11
  * 1735660800
@@ -21,7 +21,7 @@ export class ListPipelineRunsRequest extends $dara.Model {
21
21
  maxResults?: number;
22
22
  /**
23
23
  * @remarks
24
- * The pagination token. Pass the nextToken value from the previous response to retrieve the next page. Do not specify this parameter for the first request.
24
+ * The pagination token. To retrieve the next page of results, pass the nextToken value from the previous response. Do not specify this parameter for the first request.
25
25
  *
26
26
  * @example
27
27
  * MTIzNDU2Nzg5MA==
@@ -29,7 +29,7 @@ export class ListPipelineRunsRequest extends $dara.Model {
29
29
  nextToken?: string;
30
30
  /**
31
31
  * @remarks
32
- * The lower bound for filtering by trigger time (triggered_at >= startTime), in UNIX seconds.
32
+ * The lower bound of the trigger time filter (triggered_at >= startTime). The value is a UNIX timestamp in seconds.
33
33
  *
34
34
  * @example
35
35
  * 1735574400
@@ -37,7 +37,7 @@ export class ListPipelineRunsRequest extends $dara.Model {
37
37
  startTime?: number;
38
38
  /**
39
39
  * @remarks
40
- * Filters runs by status. Valid values: Pending, Running, Succeeded, Failed, and Cancelled. If you do not specify this parameter, no filtering is applied.
40
+ * Filters the results by run status. Valid values: Pending, Running, Succeeded, Failed, and Cancelled. If you do not specify this parameter, the results are not filtered by status.
41
41
  *
42
42
  * @example
43
43
  * Succeeded
@@ -45,7 +45,7 @@ export class ListPipelineRunsRequest extends $dara.Model {
45
45
  status?: string;
46
46
  /**
47
47
  * @remarks
48
- * Filters runs by trigger type. Valid values: Continuous, RunOnce, and Scheduled. If you do not specify this parameter, no filtering is applied.
48
+ * Filters the results by trigger type. Valid values: Manual, Scheduled, and RunOnce. If you do not specify this parameter, the results are not filtered by trigger type.
49
49
  *
50
50
  * @example
51
51
  * Scheduled
@@ -13,7 +13,7 @@ export class ListPipelineRunsResponseBodyRuns extends $dara.Model {
13
13
  agentSpaceName?: string;
14
14
  /**
15
15
  * @remarks
16
- * The current number of retries.
16
+ * The current attempt number.
17
17
  *
18
18
  * @example
19
19
  * 0
@@ -22,11 +22,17 @@ export class ListPipelineRunsResponseBodyRuns extends $dara.Model {
22
22
  /**
23
23
  * @remarks
24
24
  * The semantic error code.
25
+ *
26
+ * @example
27
+ * ExpressionEvaluationError
25
28
  */
26
29
  errorCode?: string;
27
30
  /**
28
31
  * @remarks
29
32
  * The error message.
33
+ *
34
+ * @example
35
+ * Failed to evaluate filter expression in node \\"node-1\\": column \\"score\\" does not exist.
30
36
  */
31
37
  errorMessage?: string;
32
38
  /**
@@ -41,7 +47,7 @@ export class ListPipelineRunsResponseBodyRuns extends $dara.Model {
41
47
  finishTime?: string;
42
48
  /**
43
49
  * @remarks
44
- * The start time of the data window, in UNIX seconds.
50
+ * The start time of the data window. The value is a UNIX timestamp in seconds.
45
51
  *
46
52
  * @example
47
53
  * 1735660800
@@ -49,7 +55,7 @@ export class ListPipelineRunsResponseBodyRuns extends $dara.Model {
49
55
  fromTime?: number;
50
56
  /**
51
57
  * @remarks
52
- * The maximum number of retries.
58
+ * The maximum number of attempts.
53
59
  *
54
60
  * @example
55
61
  * 3
@@ -83,7 +89,7 @@ export class ListPipelineRunsResponseBodyRuns extends $dara.Model {
83
89
  runId?: string;
84
90
  /**
85
91
  * @remarks
86
- * The execution start time in ISO 8601 UTC format.
92
+ * The start time of the execution in ISO 8601 UTC format.
87
93
  *
88
94
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ss.SSSZ
89
95
  *
@@ -93,7 +99,10 @@ export class ListPipelineRunsResponseBodyRuns extends $dara.Model {
93
99
  startTime?: string;
94
100
  /**
95
101
  * @remarks
96
- * The run statistics, including processedRows (number of processed rows), processedBytes (number of processed bytes), outputRows (number of output rows), outputBytes (number of output bytes), elapsedMs (elapsed time in milliseconds), cpuSec (CPU seconds), cpuCores (number of CPU cores), and tokenCount (number of consumed tokens).
102
+ * The run statistics metrics, including processedRows (number of processed rows), processedBytes (number of processed bytes), outputRows (number of output rows), outputBytes (number of output bytes), elapsedMs (elapsed time in milliseconds), cpuSec (CPU seconds), cpuCores (number of CPU cores), and tokenCount (number of consumed tokens).
103
+ *
104
+ * @example
105
+ * {"processedRows":1000,"elapsedMs":2500}
97
106
  */
98
107
  stats?: { [key: string]: any };
99
108
  /**
@@ -106,7 +115,7 @@ export class ListPipelineRunsResponseBodyRuns extends $dara.Model {
106
115
  status?: string;
107
116
  /**
108
117
  * @remarks
109
- * The end time of the data window, in UNIX seconds.
118
+ * The end time of the data window. The value is a UNIX timestamp in seconds.
110
119
  *
111
120
  * @example
112
121
  * 1735747200
@@ -124,7 +133,7 @@ export class ListPipelineRunsResponseBodyRuns extends $dara.Model {
124
133
  triggerTime?: string;
125
134
  /**
126
135
  * @remarks
127
- * The trigger type. Valid values: Scheduled, Manual, RunOnce, and Continuous (continuous micro-batch execution).
136
+ * The trigger type. Valid values: Scheduled, Manual, and RunOnce.
128
137
  *
129
138
  * @example
130
139
  * Scheduled
@@ -187,7 +196,7 @@ export class ListPipelineRunsResponseBodyRuns extends $dara.Model {
187
196
  export class ListPipelineRunsResponseBody extends $dara.Model {
188
197
  /**
189
198
  * @remarks
190
- * The maximum number of entries per page specified in the request, echoed in the response.
199
+ * The maximum number of entries per page specified in the request. This value is echoed in the response.
191
200
  *
192
201
  * @example
193
202
  * 50
@@ -203,7 +212,7 @@ export class ListPipelineRunsResponseBody extends $dara.Model {
203
212
  nextToken?: string;
204
213
  /**
205
214
  * @remarks
206
- * The request ID, which is used to locate the request during troubleshooting.
215
+ * The request ID. You can use this ID to locate the request when troubleshooting issues.
207
216
  *
208
217
  * @example
209
218
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class MetaSchemaValue extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The dataset field types. Valid values: text, long, double, and json.
8
+ * The dataset field type. Valid values: text, long, double, and json.
9
9
  *
10
10
  * @example
11
11
  * text
@@ -14,6 +14,9 @@ export class PreviewPipelineRequestPipelineNodes extends $dara.Model {
14
14
  /**
15
15
  * @remarks
16
16
  * The parameters of the node. The parameters are in key-value format and vary based on the node type.
17
+ *
18
+ * @example
19
+ * {"ID":"ID"}
17
20
  */
18
21
  parameters?: { [key: string]: any };
19
22
  /**
@@ -96,7 +99,7 @@ export class PreviewPipelineRequestSourceDataset extends $dara.Model {
96
99
  dataset?: string;
97
100
  /**
98
101
  * @remarks
99
- * The filter condition for the dataset data.
102
+ * The data filter condition for the dataset.
100
103
  *
101
104
  * @example
102
105
  * status = \\"pending\\"
@@ -136,7 +139,7 @@ export class PreviewPipelineRequestSourceInputFields extends $dara.Model {
136
139
  name?: string;
137
140
  /**
138
141
  * @remarks
139
- * The type of the field. Valid values: text, long, double, and json.
142
+ * The data type of the field. Valid values: text, long, double, and json.
140
143
  *
141
144
  * @example
142
145
  * text
@@ -168,7 +171,7 @@ export class PreviewPipelineRequestSourceInputFields extends $dara.Model {
168
171
  export class PreviewPipelineRequestSourceLogstore extends $dara.Model {
169
172
  /**
170
173
  * @remarks
171
- * The name of the Simple Log Service Logstore.
174
+ * The name of the SLS Logstore.
172
175
  *
173
176
  * @example
174
177
  * my-sls-logstore
@@ -176,7 +179,7 @@ export class PreviewPipelineRequestSourceLogstore extends $dara.Model {
176
179
  logstore?: string;
177
180
  /**
178
181
  * @remarks
179
- * The name of the Simple Log Service project.
182
+ * The name of the SLS project.
180
183
  *
181
184
  * @example
182
185
  * my-sls-project
@@ -184,7 +187,7 @@ export class PreviewPipelineRequestSourceLogstore extends $dara.Model {
184
187
  project?: string;
185
188
  /**
186
189
  * @remarks
187
- * The filtered query statement (Simple Log Service query and analysis syntax).
190
+ * The filtered query statement (SLS query and analysis syntax).
188
191
  *
189
192
  * @example
190
193
  * * | SELECT *
@@ -218,7 +221,7 @@ export class PreviewPipelineRequestSourceLogstore extends $dara.Model {
218
221
  export class PreviewPipelineRequestSourceTrajectoryEnrich extends $dara.Model {
219
222
  /**
220
223
  * @remarks
221
- * The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs only the fixed agent_trajectory column, and this parameter no longer affects the output.
224
+ * The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs only the fixed column agent_trajectory, and this parameter no longer affects the output.
222
225
  *
223
226
  * @example
224
227
  * ["input","output","session_id"]
@@ -261,7 +264,7 @@ export class PreviewPipelineRequestSourceTrajectoryEnrich extends $dara.Model {
261
264
  export class PreviewPipelineRequestSourceTrajectory extends $dara.Model {
262
265
  /**
263
266
  * @remarks
264
- * Trajectory enrichment: mounts trajectory data into the cleaning results based on the trace_id. When writing data to a dataset, the data is stored in the fixed agent_trajectory column, and the column value is the JSON content of the trajectory.
267
+ * The trajectory enrichment configuration. Trajectory data is mounted into the cleaning results based on trace_id. When data is written to the dataset, it is stored in the fixed column agent_trajectory, where the column value is the trajectory JSON content.
265
268
  *
266
269
  * @example
267
270
  * {"enabled":true,"columns":["input","output"]}
@@ -310,7 +313,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
310
313
  inputFields?: PreviewPipelineRequestSourceInputFields[];
311
314
  /**
312
315
  * @remarks
313
- * The Simple Log Service Logstore datasource config.
316
+ * The Simple Log Service (SLS) Logstore datasource config.
314
317
  *
315
318
  * @example
316
319
  * {"project":"my-sls-project","logstore":"agent-logs"}
@@ -318,7 +321,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
318
321
  logstore?: PreviewPipelineRequestSourceLogstore;
319
322
  /**
320
323
  * @remarks
321
- * The configuration of trajectory data. This parameter is optional and takes effect only when the type is set to trace. It retrieves ATIF standard trajectory data from the trajectory cleaning service and extends the data based on features.
324
+ * The trajectory data configuration. This parameter is optional and takes effect only when the type is trace. It obtains ATIF standard trajectory data from the trajectory cleaning service and extends it based on features.
322
325
  *
323
326
  * @example
324
327
  * {"enrich":{"enabled":true,"columns":["input","output"]}}
@@ -326,7 +329,7 @@ export class PreviewPipelineRequestSource extends $dara.Model {
326
329
  trajectory?: PreviewPipelineRequestSourceTrajectory;
327
330
  /**
328
331
  * @remarks
329
- * The type of the data source. Simple Log Service is currently supported.
332
+ * The type of the data source. Currently, SLS is supported.
330
333
  *
331
334
  * @example
332
335
  * SLS
@@ -14,7 +14,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
14
14
  aggQuery?: string;
15
15
  /**
16
16
  * @remarks
17
- * The list of data types for each column. This field provides a mapping from column names to data types, such as string, long, double, and json.
17
+ * The mapping from column names to data types, such as string, long, double, or json.
18
18
  *
19
19
  * @example
20
20
  * ["long","string"]
@@ -54,7 +54,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
54
54
  elapsedMillisecond?: number;
55
55
  /**
56
56
  * @remarks
57
- * Specifies whether an SQL query is used.
57
+ * Indicates whether an SQL query is used.
58
58
  *
59
59
  * @example
60
60
  * true
@@ -62,7 +62,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
62
62
  hasSQL?: boolean;
63
63
  /**
64
64
  * @remarks
65
- * Specifies whether nanosecond-level ordering is enabled.
65
+ * Indicates whether nanosecond-level ordering is enabled.
66
66
  *
67
67
  * @example
68
68
  * true
@@ -78,7 +78,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
78
78
  keys?: string[];
79
79
  /**
80
80
  * @remarks
81
- * The maximum number of rows returned in the result.
81
+ * The maximum number of returned rows.
82
82
  *
83
83
  * @example
84
84
  * 5
@@ -86,7 +86,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
86
86
  limited?: number;
87
87
  /**
88
88
  * @remarks
89
- * The identifier of the query mode.
89
+ * The query mode identifier.
90
90
  *
91
91
  * @example
92
92
  * 1
@@ -94,7 +94,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
94
94
  mode?: number;
95
95
  /**
96
96
  * @remarks
97
- * The number of bytes of processed data.
97
+ * The number of processed data bytes.
98
98
  *
99
99
  * @example
100
100
  * 524288
@@ -110,7 +110,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
110
110
  processedRows?: number;
111
111
  /**
112
112
  * @remarks
113
- * The Simple Log Service (SLS) query progress. A value of Complete indicates that the query is completed.
113
+ * The Simple Log Service (SLS) query progress. A value of Complete indicates that the query is finished.
114
114
  *
115
115
  * @example
116
116
  * Complete
@@ -118,7 +118,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
118
118
  progress?: string;
119
119
  /**
120
120
  * @remarks
121
- * The number of bytes of scanned raw data.
121
+ * The number of scanned raw data bytes.
122
122
  *
123
123
  * @example
124
124
  * 1048576
@@ -126,7 +126,7 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
126
126
  scanBytes?: number;
127
127
  /**
128
128
  * @remarks
129
- * The dataset schema of the final pipeline output. The keys are field names, and the type in the values supports text, long, double, and json. The field order is determined by the keys.
129
+ * The dataset schema for the final output of the pipeline. The keys are field names, and the type in the values supports text, long, double, and json. The field order is determined by the keys field.
130
130
  *
131
131
  * @example
132
132
  * {"status":{"type":"long"}}
@@ -218,10 +218,10 @@ export class PreviewPipelineResponseBodyMeta extends $dara.Model {
218
218
  export class PreviewPipelineResponseBody extends $dara.Model {
219
219
  /**
220
220
  * @remarks
221
- * The collection of sample rows for the preview result. Each row is a key-value structure. The array contains only the first N rows, up to 5 rows by default, and does not reflect the complete write plan.
221
+ * The collection of sample rows. This array of maps includes only the first N rows (up to 5 rows by default) and does not reflect the complete write plan.
222
222
  *
223
223
  * @example
224
- * [{"status":"200","method":"POST"}]
224
+ * [{\\"type\\": \\"saturation\\", \\"value\\": 0}, {\\"type\\": \\"load\\", \\"value\\": 0}, {\\"type\\": \\"latency\\", \\"value\\": 1}, {\\"type\\": \\"error\\", \\"value\\": 0}]
225
225
  */
226
226
  data?: { [key: string]: string }[];
227
227
  /**
@@ -231,7 +231,7 @@ export class PreviewPipelineResponseBody extends $dara.Model {
231
231
  meta?: PreviewPipelineResponseBodyMeta;
232
232
  /**
233
233
  * @remarks
234
- * The request ID. You can use this ID to locate the request when you troubleshoot issues.
234
+ * The request ID used to locate the request during troubleshooting.
235
235
  *
236
236
  * @example
237
237
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M