@alicloud/agentloop20260520 2.3.2 → 2.3.4

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 (69) hide show
  1. package/dist/client.d.ts +26 -18
  2. package/dist/client.js +29 -29
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateEvaluationTaskRequest.d.ts +11 -11
  5. package/dist/models/CreateExperimentPlanRequest.d.ts +10 -6
  6. package/dist/models/CreateExperimentPlanRequest.js.map +1 -1
  7. package/dist/models/CreateExperimentPlanResponseBody.d.ts +2 -2
  8. package/dist/models/CreatePipelineRequest.d.ts +251 -9
  9. package/dist/models/CreatePipelineRequest.js +203 -1
  10. package/dist/models/CreatePipelineRequest.js.map +1 -1
  11. package/dist/models/Evaluator.d.ts +11 -3
  12. package/dist/models/Evaluator.js +6 -0
  13. package/dist/models/Evaluator.js.map +1 -1
  14. package/dist/models/EvaluatorVariableExtractorMappingValue.d.ts +37 -0
  15. package/dist/models/EvaluatorVariableExtractorMappingValue.js +62 -0
  16. package/dist/models/EvaluatorVariableExtractorMappingValue.js.map +1 -0
  17. package/dist/models/ExecuteQueryRequest.d.ts +100 -0
  18. package/dist/models/ExecuteQueryRequest.js +51 -1
  19. package/dist/models/ExecuteQueryRequest.js.map +1 -1
  20. package/dist/models/ExecuteQueryResponseBody.d.ts +13 -1
  21. package/dist/models/ExecuteQueryResponseBody.js.map +1 -1
  22. package/dist/models/GetEvaluationTaskResponseBody.d.ts +3 -3
  23. package/dist/models/GetExperimentPlanResponseBody.d.ts +8 -4
  24. package/dist/models/GetExperimentPlanResponseBody.js.map +1 -1
  25. package/dist/models/GetPipelineResponseBody.d.ts +358 -4
  26. package/dist/models/GetPipelineResponseBody.js +203 -1
  27. package/dist/models/GetPipelineResponseBody.js.map +1 -1
  28. package/dist/models/ListExperimentRunsRequest.d.ts +1 -1
  29. package/dist/models/PreviewPipelineRequest.d.ts +68 -2
  30. package/dist/models/PreviewPipelineRequest.js +53 -1
  31. package/dist/models/PreviewPipelineRequest.js.map +1 -1
  32. package/dist/models/PreviewPipelineResponseBody.d.ts +6 -6
  33. package/dist/models/RunPipelineRequest.d.ts +16 -0
  34. package/dist/models/RunPipelineRequest.js.map +1 -1
  35. package/dist/models/RunPipelineResponseBody.d.ts +15 -0
  36. package/dist/models/RunPipelineResponseBody.js.map +1 -1
  37. package/dist/models/UpdateEvaluationTaskRequest.d.ts +5 -5
  38. package/dist/models/UpdateExperimentPlanRequest.d.ts +10 -6
  39. package/dist/models/UpdateExperimentPlanRequest.js.map +1 -1
  40. package/dist/models/UpdateExperimentPlanResponseBody.d.ts +3 -3
  41. package/dist/models/UpdatePipelineRequest.d.ts +267 -13
  42. package/dist/models/UpdatePipelineRequest.js +205 -1
  43. package/dist/models/UpdatePipelineRequest.js.map +1 -1
  44. package/dist/models/model.d.ts +29 -0
  45. package/dist/models/model.js +89 -30
  46. package/dist/models/model.js.map +1 -1
  47. package/package.json +1 -1
  48. package/src/client.ts +30 -29
  49. package/src/models/CreateEvaluationTaskRequest.ts +11 -11
  50. package/src/models/CreateExperimentPlanRequest.ts +10 -6
  51. package/src/models/CreateExperimentPlanResponseBody.ts +2 -2
  52. package/src/models/CreatePipelineRequest.ts +381 -9
  53. package/src/models/Evaluator.ts +14 -3
  54. package/src/models/EvaluatorVariableExtractorMappingValue.ts +54 -0
  55. package/src/models/ExecuteQueryRequest.ts +132 -0
  56. package/src/models/ExecuteQueryResponseBody.ts +13 -1
  57. package/src/models/GetEvaluationTaskResponseBody.ts +3 -3
  58. package/src/models/GetExperimentPlanResponseBody.ts +8 -4
  59. package/src/models/GetPipelineResponseBody.ts +488 -4
  60. package/src/models/ListExperimentRunsRequest.ts +1 -1
  61. package/src/models/PreviewPipelineRequest.ts +102 -2
  62. package/src/models/PreviewPipelineResponseBody.ts +6 -6
  63. package/src/models/RunPipelineRequest.ts +16 -0
  64. package/src/models/RunPipelineResponseBody.ts +15 -0
  65. package/src/models/UpdateEvaluationTaskRequest.ts +5 -5
  66. package/src/models/UpdateExperimentPlanRequest.ts +10 -6
  67. package/src/models/UpdateExperimentPlanResponseBody.ts +3 -3
  68. package/src/models/UpdatePipelineRequest.ts +399 -13
  69. package/src/models/model.ts +29 -0
@@ -1,11 +1,17 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class GetPipelineResponseBodyExecutePolicyRunOnce extends $dara.Model {
3
3
  /**
4
+ * @remarks
5
+ * The start time for data processing. The value is a UNIX timestamp in milliseconds.
6
+ *
4
7
  * @example
5
8
  * 1735660800000
6
9
  */
7
10
  fromTime?: number;
8
11
  /**
12
+ * @remarks
13
+ * The end time for data processing. The value is a UNIX timestamp in milliseconds.
14
+ *
9
15
  * @example
10
16
  * 1735747200000
11
17
  */
@@ -23,11 +29,17 @@ export declare class GetPipelineResponseBodyExecutePolicyRunOnce extends $dara.M
23
29
  }
24
30
  export declare class GetPipelineResponseBodyExecutePolicyScheduled extends $dara.Model {
25
31
  /**
32
+ * @remarks
33
+ * The scheduling start time. The value is a UNIX timestamp in milliseconds.
34
+ *
26
35
  * @example
27
36
  * 1735660800000
28
37
  */
29
38
  fromTime?: number;
30
39
  /**
40
+ * @remarks
41
+ * The scheduling interval. For example, 1h.
42
+ *
31
43
  * @example
32
44
  * 1h
33
45
  */
@@ -45,11 +57,22 @@ export declare class GetPipelineResponseBodyExecutePolicyScheduled extends $dara
45
57
  }
46
58
  export declare class GetPipelineResponseBodyExecutePolicy extends $dara.Model {
47
59
  /**
60
+ * @remarks
61
+ * The scheduling mode. For example, scheduled (timed scheduling) or runOnce (one-time execution).
62
+ *
48
63
  * @example
49
- * Scheduled
64
+ * scheduled
50
65
  */
51
66
  mode?: string;
67
+ /**
68
+ * @remarks
69
+ * The configuration for one-time execution.
70
+ */
52
71
  runOnce?: GetPipelineResponseBodyExecutePolicyRunOnce;
72
+ /**
73
+ * @remarks
74
+ * The timed scheduling configuration.
75
+ */
53
76
  scheduled?: GetPipelineResponseBodyExecutePolicyScheduled;
54
77
  static names(): {
55
78
  [key: string]: string;
@@ -64,14 +87,24 @@ export declare class GetPipelineResponseBodyExecutePolicy extends $dara.Model {
64
87
  }
65
88
  export declare class GetPipelineResponseBodyPipelineNodes extends $dara.Model {
66
89
  /**
90
+ * @remarks
91
+ * The node ID.
92
+ *
67
93
  * @example
68
94
  * node-1
69
95
  */
70
96
  id?: string;
97
+ /**
98
+ * @remarks
99
+ * The node parameters in key-value structure, which vary depending on the node type.
100
+ */
71
101
  parameters?: {
72
102
  [key: string]: any;
73
103
  };
74
104
  /**
105
+ * @remarks
106
+ * The node type.
107
+ *
75
108
  * @example
76
109
  * transform
77
110
  */
@@ -88,6 +121,10 @@ export declare class GetPipelineResponseBodyPipelineNodes extends $dara.Model {
88
121
  });
89
122
  }
90
123
  export declare class GetPipelineResponseBodyPipeline extends $dara.Model {
124
+ /**
125
+ * @remarks
126
+ * The list of nodes.
127
+ */
91
128
  nodes?: GetPipelineResponseBodyPipelineNodes[];
92
129
  static names(): {
93
130
  [key: string]: string;
@@ -100,13 +137,188 @@ export declare class GetPipelineResponseBodyPipeline extends $dara.Model {
100
137
  [key: string]: any;
101
138
  });
102
139
  }
140
+ export declare class GetPipelineResponseBodySinkConditionDefaultSinkDataset extends $dara.Model {
141
+ /**
142
+ * @remarks
143
+ * The name of the AgentSpace to which the default destination dataset belongs.
144
+ *
145
+ * @example
146
+ * my-agent-space
147
+ */
148
+ agentSpace?: string;
149
+ /**
150
+ * @remarks
151
+ * The name of the default destination dataset.
152
+ *
153
+ * @example
154
+ * other-result
155
+ */
156
+ dataset?: string;
157
+ static names(): {
158
+ [key: string]: string;
159
+ };
160
+ static types(): {
161
+ [key: string]: any;
162
+ };
163
+ validate(): void;
164
+ constructor(map?: {
165
+ [key: string]: any;
166
+ });
167
+ }
168
+ export declare class GetPipelineResponseBodySinkConditionDefaultSink extends $dara.Model {
169
+ /**
170
+ * @remarks
171
+ * The default destination dataset.
172
+ */
173
+ dataset?: GetPipelineResponseBodySinkConditionDefaultSinkDataset;
174
+ /**
175
+ * @remarks
176
+ * The default destination type. Currently, only dataset is supported.
177
+ *
178
+ * @example
179
+ * dataset
180
+ */
181
+ type?: string;
182
+ static names(): {
183
+ [key: string]: string;
184
+ };
185
+ static types(): {
186
+ [key: string]: any;
187
+ };
188
+ validate(): void;
189
+ constructor(map?: {
190
+ [key: string]: any;
191
+ });
192
+ }
193
+ export declare class GetPipelineResponseBodySinkConditionRoutesSinkDataset extends $dara.Model {
194
+ /**
195
+ * @remarks
196
+ * The name of the AgentSpace to which the destination dataset belongs.
197
+ *
198
+ * @example
199
+ * my-agent-space
200
+ */
201
+ agentSpace?: string;
202
+ /**
203
+ * @remarks
204
+ * The name of the destination dataset.
205
+ *
206
+ * @example
207
+ * refund-result
208
+ */
209
+ dataset?: string;
210
+ static names(): {
211
+ [key: string]: string;
212
+ };
213
+ static types(): {
214
+ [key: string]: any;
215
+ };
216
+ validate(): void;
217
+ constructor(map?: {
218
+ [key: string]: any;
219
+ });
220
+ }
221
+ export declare class GetPipelineResponseBodySinkConditionRoutesSink extends $dara.Model {
222
+ /**
223
+ * @remarks
224
+ * The route destination dataset.
225
+ */
226
+ dataset?: GetPipelineResponseBodySinkConditionRoutesSinkDataset;
227
+ /**
228
+ * @remarks
229
+ * The route destination type. Currently, only dataset is supported.
230
+ *
231
+ * @example
232
+ * dataset
233
+ */
234
+ type?: string;
235
+ static names(): {
236
+ [key: string]: string;
237
+ };
238
+ static types(): {
239
+ [key: string]: any;
240
+ };
241
+ validate(): void;
242
+ constructor(map?: {
243
+ [key: string]: any;
244
+ });
245
+ }
246
+ export declare class GetPipelineResponseBodySinkConditionRoutes extends $dara.Model {
247
+ /**
248
+ * @remarks
249
+ * The route expression in SPL. Only where, project, and extend are supported.
250
+ *
251
+ * @example
252
+ * * | where intent = \\"refund\\"
253
+ */
254
+ expression?: string;
255
+ /**
256
+ * @remarks
257
+ * The route ID.
258
+ *
259
+ * @example
260
+ * refund
261
+ */
262
+ id?: string;
263
+ /**
264
+ * @remarks
265
+ * The route write destination.
266
+ */
267
+ sink?: GetPipelineResponseBodySinkConditionRoutesSink;
268
+ static names(): {
269
+ [key: string]: string;
270
+ };
271
+ static types(): {
272
+ [key: string]: any;
273
+ };
274
+ validate(): void;
275
+ constructor(map?: {
276
+ [key: string]: any;
277
+ });
278
+ }
279
+ export declare class GetPipelineResponseBodySinkCondition extends $dara.Model {
280
+ /**
281
+ * @remarks
282
+ * The default write destination used when no conditional route is matched.
283
+ */
284
+ defaultSink?: GetPipelineResponseBodySinkConditionDefaultSink;
285
+ /**
286
+ * @remarks
287
+ * The route match mode. Currently, only all is supported.
288
+ *
289
+ * @example
290
+ * all
291
+ */
292
+ matchMode?: string;
293
+ /**
294
+ * @remarks
295
+ * The list of conditional routes.
296
+ */
297
+ routes?: GetPipelineResponseBodySinkConditionRoutes[];
298
+ static names(): {
299
+ [key: string]: string;
300
+ };
301
+ static types(): {
302
+ [key: string]: any;
303
+ };
304
+ validate(): void;
305
+ constructor(map?: {
306
+ [key: string]: any;
307
+ });
308
+ }
103
309
  export declare class GetPipelineResponseBodySinkDataset extends $dara.Model {
104
310
  /**
311
+ * @remarks
312
+ * The name of the AgentSpace to which the target dataset belongs.
313
+ *
105
314
  * @example
106
315
  * my-agent-space
107
316
  */
108
317
  agentSpace?: string;
109
318
  /**
319
+ * @remarks
320
+ * The target dataset name.
321
+ *
110
322
  * @example
111
323
  * my-dataset
112
324
  */
@@ -123,10 +335,78 @@ export declare class GetPipelineResponseBodySinkDataset extends $dara.Model {
123
335
  });
124
336
  }
125
337
  export declare class GetPipelineResponseBodySink extends $dara.Model {
338
+ /**
339
+ * @remarks
340
+ * The conditional routing configuration. This parameter is used only when sink.type is set to condition.
341
+ */
342
+ condition?: GetPipelineResponseBodySinkCondition;
343
+ /**
344
+ * @remarks
345
+ * The target dataset configuration for the dataset sink. This parameter is used only when sink.type is set to dataset.
346
+ */
126
347
  dataset?: GetPipelineResponseBodySinkDataset;
127
348
  /**
349
+ * @remarks
350
+ * The sink type. Valid values: dataset and condition.
351
+ *
352
+ * @example
353
+ * condition
354
+ */
355
+ type?: string;
356
+ static names(): {
357
+ [key: string]: string;
358
+ };
359
+ static types(): {
360
+ [key: string]: any;
361
+ };
362
+ validate(): void;
363
+ constructor(map?: {
364
+ [key: string]: any;
365
+ });
366
+ }
367
+ export declare class GetPipelineResponseBodySourceDataset extends $dara.Model {
368
+ /**
369
+ * @remarks
370
+ * The source dataset name.
371
+ *
372
+ * @example
373
+ * my-dataset
374
+ */
375
+ dataset?: string;
376
+ /**
377
+ * @remarks
378
+ * The dataset data filter condition.
379
+ *
380
+ * @example
381
+ * status = \\"pending\\"
382
+ */
383
+ filter?: string;
384
+ static names(): {
385
+ [key: string]: string;
386
+ };
387
+ static types(): {
388
+ [key: string]: any;
389
+ };
390
+ validate(): void;
391
+ constructor(map?: {
392
+ [key: string]: any;
393
+ });
394
+ }
395
+ export declare class GetPipelineResponseBodySourceInputFields extends $dara.Model {
396
+ /**
397
+ * @remarks
398
+ * The field name.
399
+ *
128
400
  * @example
129
- * Dataset
401
+ * question
402
+ */
403
+ name?: string;
404
+ /**
405
+ * @remarks
406
+ * The field type. Valid values: text, long, double, and json.
407
+ *
408
+ * @example
409
+ * text
130
410
  */
131
411
  type?: string;
132
412
  static names(): {
@@ -142,16 +422,25 @@ export declare class GetPipelineResponseBodySink extends $dara.Model {
142
422
  }
143
423
  export declare class GetPipelineResponseBodySourceLogstore extends $dara.Model {
144
424
  /**
425
+ * @remarks
426
+ * The SLS Logstore name.
427
+ *
145
428
  * @example
146
429
  * my-sls-logstore
147
430
  */
148
431
  logstore?: string;
149
432
  /**
433
+ * @remarks
434
+ * The SLS project name.
435
+ *
150
436
  * @example
151
437
  * my-sls-project
152
438
  */
153
439
  project?: string;
154
440
  /**
441
+ * @remarks
442
+ * The data filtered query statement in SLS query/analysis syntax.
443
+ *
155
444
  * @example
156
445
  * * | SELECT *
157
446
  */
@@ -168,10 +457,27 @@ export declare class GetPipelineResponseBodySourceLogstore extends $dara.Model {
168
457
  });
169
458
  }
170
459
  export declare class GetPipelineResponseBodySource extends $dara.Model {
460
+ /**
461
+ * @remarks
462
+ * The dataset datasource config under the current AgentSpace.
463
+ */
464
+ dataset?: GetPipelineResponseBodySourceDataset;
465
+ /**
466
+ * @remarks
467
+ * The input fields and field types, applicable to all data source types.
468
+ */
469
+ inputFields?: GetPipelineResponseBodySourceInputFields[];
470
+ /**
471
+ * @remarks
472
+ * The SLS Logstore datasource config.
473
+ */
171
474
  logstore?: GetPipelineResponseBodySourceLogstore;
172
475
  /**
476
+ * @remarks
477
+ * The data source type. Valid values: logstore and dataset.
478
+ *
173
479
  * @example
174
- * SLS
480
+ * dataset
175
481
  */
176
482
  type?: string;
177
483
  static names(): {
@@ -187,12 +493,17 @@ export declare class GetPipelineResponseBodySource extends $dara.Model {
187
493
  }
188
494
  export declare class GetPipelineResponseBody extends $dara.Model {
189
495
  /**
496
+ * @remarks
497
+ * The committed watermark. The value is a UNIX timestamp in seconds.
498
+ *
190
499
  * @example
191
500
  * 1735660800
192
501
  */
193
502
  committedWatermark?: number;
194
503
  /**
195
504
  * @remarks
505
+ * The time when the pipeline was created, in ISO 8601 UTC format.
506
+ *
196
507
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
197
508
  *
198
509
  * @example
@@ -200,41 +511,81 @@ export declare class GetPipelineResponseBody extends $dara.Model {
200
511
  */
201
512
  createTime?: string;
202
513
  /**
514
+ * @remarks
515
+ * The pipeline description.
516
+ *
203
517
  * @example
204
- * 我的流水线
518
+ * My pipeline
205
519
  */
206
520
  description?: string;
521
+ /**
522
+ * @remarks
523
+ * The scheduling method.
524
+ */
207
525
  executePolicy?: GetPipelineResponseBodyExecutePolicy;
208
526
  /**
527
+ * @remarks
528
+ * The next scheduling trigger time. The value is a UNIX timestamp in seconds.
529
+ *
209
530
  * @example
210
531
  * 1735661100
211
532
  */
212
533
  nextTriggerTime?: number;
534
+ /**
535
+ * @remarks
536
+ * The pipeline configuration for node orchestration.
537
+ */
213
538
  pipeline?: GetPipelineResponseBodyPipeline;
214
539
  /**
540
+ * @remarks
541
+ * The pipeline name.
542
+ *
215
543
  * @example
216
544
  * my-pipeline
217
545
  */
218
546
  pipelineName?: string;
219
547
  /**
548
+ * @remarks
549
+ * The region ID.
550
+ *
220
551
  * @example
221
552
  * cn-hangzhou
222
553
  */
223
554
  regionId?: string;
224
555
  /**
556
+ * @remarks
557
+ * The request ID, which is used to locate and troubleshoot issues.
558
+ *
225
559
  * @example
226
560
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
227
561
  */
228
562
  requestId?: string;
229
563
  /**
564
+ * @remarks
565
+ * The scheduling status. Valid values:
566
+ * - None: No scheduling.
567
+ * - Active: Active.
568
+ * - Paused: Paused.
569
+ * - Terminated: Terminated.
570
+ *
230
571
  * @example
231
572
  * Active
232
573
  */
233
574
  scheduleStatus?: string;
575
+ /**
576
+ * @remarks
577
+ * The pipeline sink, which is the data write destination.
578
+ */
234
579
  sink?: GetPipelineResponseBodySink;
580
+ /**
581
+ * @remarks
582
+ * The pipeline data source.
583
+ */
235
584
  source?: GetPipelineResponseBodySource;
236
585
  /**
237
586
  * @remarks
587
+ * The time when the pipeline was last updated, in ISO 8601 UTC format.
588
+ *
238
589
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
239
590
  *
240
591
  * @example
@@ -242,6 +593,9 @@ export declare class GetPipelineResponseBody extends $dara.Model {
242
593
  */
243
594
  updateTime?: string;
244
595
  /**
596
+ * @remarks
597
+ * The workspace associated with the pipeline.
598
+ *
245
599
  * @example
246
600
  * my-workspace
247
601
  */