@alicloud/agentloop20260520 2.3.4 → 2.3.6

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 (85) hide show
  1. package/dist/client.d.ts +26 -20
  2. package/dist/client.js +29 -20
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/ConnectorProperties.d.ts +64 -0
  5. package/dist/models/ConnectorProperties.js +6 -0
  6. package/dist/models/ConnectorProperties.js.map +1 -1
  7. package/dist/models/CreateAgentSpaceRequest.d.ts +12 -1
  8. package/dist/models/CreateAgentSpaceRequest.js.map +1 -1
  9. package/dist/models/CreateEvaluationTaskRequest.d.ts +7 -7
  10. package/dist/models/CreateEvaluatorRequest.d.ts +10 -11
  11. package/dist/models/CreateEvaluatorRequest.js.map +1 -1
  12. package/dist/models/CreateEvaluatorSkillRequest.d.ts +9 -9
  13. package/dist/models/CreateExperimentPlanRequest.d.ts +6 -6
  14. package/dist/models/CreateExperimentPlanResponseBody.d.ts +1 -1
  15. package/dist/models/CreateExperimentRunRequest.d.ts +7 -7
  16. package/dist/models/CreateExperimentRunResponseBody.d.ts +3 -3
  17. package/dist/models/DeleteExperimentPlanResponseBody.d.ts +1 -1
  18. package/dist/models/ExperimentConfig.d.ts +44 -0
  19. package/dist/models/ExperimentConfig.js +2 -0
  20. package/dist/models/ExperimentConfig.js.map +1 -1
  21. package/dist/models/GetEvaluationRunResponseBody.d.ts +10 -10
  22. package/dist/models/GetEvaluationTaskResponseBody.d.ts +8 -8
  23. package/dist/models/GetEvaluatorResponseBody.d.ts +7 -7
  24. package/dist/models/GetEvaluatorSkillResponseBody.d.ts +10 -10
  25. package/dist/models/GetExperimentPlanResponseBody.d.ts +4 -4
  26. package/dist/models/IndexJsonKey.d.ts +16 -0
  27. package/dist/models/IndexJsonKey.js.map +1 -1
  28. package/dist/models/IndexKey.d.ts +35 -0
  29. package/dist/models/IndexKey.js +2 -0
  30. package/dist/models/IndexKey.js.map +1 -1
  31. package/dist/models/ListAgentSpacesRequest.d.ts +7 -0
  32. package/dist/models/ListAgentSpacesRequest.js.map +1 -1
  33. package/dist/models/ListEvaluationRunsResponseBody.d.ts +1 -1
  34. package/dist/models/ListEvaluationTasksResponseBody.d.ts +3 -3
  35. package/dist/models/ListEvaluatorSkillsResponseBody.d.ts +5 -5
  36. package/dist/models/ListExperimentPlansRequest.d.ts +2 -2
  37. package/dist/models/ListExperimentPlansResponseBody.d.ts +2 -2
  38. package/dist/models/ListPipelinesRequest.d.ts +29 -0
  39. package/dist/models/ListPipelinesRequest.js +2 -0
  40. package/dist/models/ListPipelinesRequest.js.map +1 -1
  41. package/dist/models/ListPipelinesResponseBody.d.ts +405 -1
  42. package/dist/models/ListPipelinesResponseBody.js +279 -1
  43. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  44. package/dist/models/UpdateEvaluatorRequest.d.ts +7 -7
  45. package/dist/models/UpdateExperimentPlanRequest.d.ts +3 -3
  46. package/dist/models/UpdateExperimentPlanResponseBody.d.ts +1 -1
  47. package/dist/models/UpdateExperimentRunRequest.d.ts +3 -3
  48. package/dist/models/UpdateExperimentRunResponseBody.d.ts +1 -1
  49. package/dist/models/model.d.ts +11 -0
  50. package/dist/models/model.js +31 -9
  51. package/dist/models/model.js.map +1 -1
  52. package/package.json +1 -1
  53. package/src/client.ts +30 -20
  54. package/src/models/ConnectorProperties.ts +70 -0
  55. package/src/models/CreateAgentSpaceRequest.ts +12 -1
  56. package/src/models/CreateEvaluationTaskRequest.ts +7 -7
  57. package/src/models/CreateEvaluatorRequest.ts +10 -11
  58. package/src/models/CreateEvaluatorSkillRequest.ts +9 -9
  59. package/src/models/CreateExperimentPlanRequest.ts +6 -6
  60. package/src/models/CreateExperimentPlanResponseBody.ts +1 -1
  61. package/src/models/CreateExperimentRunRequest.ts +7 -7
  62. package/src/models/CreateExperimentRunResponseBody.ts +3 -3
  63. package/src/models/DeleteExperimentPlanResponseBody.ts +1 -1
  64. package/src/models/ExperimentConfig.ts +46 -0
  65. package/src/models/GetEvaluationRunResponseBody.ts +10 -10
  66. package/src/models/GetEvaluationTaskResponseBody.ts +8 -8
  67. package/src/models/GetEvaluatorResponseBody.ts +7 -7
  68. package/src/models/GetEvaluatorSkillResponseBody.ts +10 -10
  69. package/src/models/GetExperimentPlanResponseBody.ts +4 -4
  70. package/src/models/IndexJsonKey.ts +16 -0
  71. package/src/models/IndexKey.ts +37 -0
  72. package/src/models/ListAgentSpacesRequest.ts +7 -0
  73. package/src/models/ListEvaluationRunsResponseBody.ts +1 -1
  74. package/src/models/ListEvaluationTasksResponseBody.ts +3 -3
  75. package/src/models/ListEvaluatorSkillsResponseBody.ts +5 -5
  76. package/src/models/ListExperimentPlansRequest.ts +2 -2
  77. package/src/models/ListExperimentPlansResponseBody.ts +2 -2
  78. package/src/models/ListPipelinesRequest.ts +31 -0
  79. package/src/models/ListPipelinesResponseBody.ts +584 -1
  80. package/src/models/UpdateEvaluatorRequest.ts +7 -7
  81. package/src/models/UpdateExperimentPlanRequest.ts +3 -3
  82. package/src/models/UpdateExperimentPlanResponseBody.ts +1 -1
  83. package/src/models/UpdateExperimentRunRequest.ts +3 -3
  84. package/src/models/UpdateExperimentRunResponseBody.ts +1 -1
  85. package/src/models/model.ts +11 -0
@@ -1,11 +1,17 @@
1
1
  import * as $dara from '@darabonba/typescript';
2
2
  export declare class ListPipelinesResponseBodyPipelinesExecutePolicyRunOnce extends $dara.Model {
3
3
  /**
4
+ * @remarks
5
+ * The start of the time slice, in UNIX millisecond timestamp format.
6
+ *
4
7
  * @example
5
8
  * 1735660800000
6
9
  */
7
10
  fromTime?: number;
8
11
  /**
12
+ * @remarks
13
+ * The end of the time slice, in UNIX millisecond timestamp format.
14
+ *
9
15
  * @example
10
16
  * 1735747200000
11
17
  */
@@ -23,11 +29,17 @@ export declare class ListPipelinesResponseBodyPipelinesExecutePolicyRunOnce exte
23
29
  }
24
30
  export declare class ListPipelinesResponseBodyPipelinesExecutePolicyScheduled extends $dara.Model {
25
31
  /**
32
+ * @remarks
33
+ * The scheduling start time, in UNIX millisecond timestamp format.
34
+ *
26
35
  * @example
27
36
  * 1735660800000
28
37
  */
29
38
  fromTime?: number;
30
39
  /**
40
+ * @remarks
41
+ * The scheduling interval, such as 1h or 30m.
42
+ *
31
43
  * @example
32
44
  * 1h
33
45
  */
@@ -45,11 +57,24 @@ export declare class ListPipelinesResponseBodyPipelinesExecutePolicyScheduled ex
45
57
  }
46
58
  export declare class ListPipelinesResponseBodyPipelinesExecutePolicy extends $dara.Model {
47
59
  /**
60
+ * @remarks
61
+ * The scheduling mode. Valid values:
62
+ * - RunOnce: one-time execution.
63
+ * - Scheduled: periodic scheduling.
64
+ *
48
65
  * @example
49
66
  * RunOnce
50
67
  */
51
68
  mode?: string;
69
+ /**
70
+ * @remarks
71
+ * The parameters for one-time execution. This parameter has a value only when mode is set to RunOnce.
72
+ */
52
73
  runOnce?: ListPipelinesResponseBodyPipelinesExecutePolicyRunOnce;
74
+ /**
75
+ * @remarks
76
+ * The parameters for periodic scheduling. This parameter has a value only when mode is set to Scheduled.
77
+ */
53
78
  scheduled?: ListPipelinesResponseBodyPipelinesExecutePolicyScheduled;
54
79
  static names(): {
55
80
  [key: string]: string;
@@ -62,9 +87,332 @@ export declare class ListPipelinesResponseBodyPipelinesExecutePolicy extends $da
62
87
  [key: string]: any;
63
88
  });
64
89
  }
90
+ export declare class ListPipelinesResponseBodyPipelinesSinkConditionDefaultSinkDataset extends $dara.Model {
91
+ /**
92
+ * @remarks
93
+ * The name of the AgentSpace to which the default destination dataset belongs.
94
+ *
95
+ * @example
96
+ * my-agent-space
97
+ */
98
+ agentSpace?: string;
99
+ /**
100
+ * @remarks
101
+ * The name of the default destination dataset.
102
+ *
103
+ * @example
104
+ * other-result
105
+ */
106
+ dataset?: string;
107
+ static names(): {
108
+ [key: string]: string;
109
+ };
110
+ static types(): {
111
+ [key: string]: any;
112
+ };
113
+ validate(): void;
114
+ constructor(map?: {
115
+ [key: string]: any;
116
+ });
117
+ }
118
+ export declare class ListPipelinesResponseBodyPipelinesSinkConditionDefaultSink extends $dara.Model {
119
+ /**
120
+ * @remarks
121
+ * The default destination dataset.
122
+ */
123
+ dataset?: ListPipelinesResponseBodyPipelinesSinkConditionDefaultSinkDataset;
124
+ /**
125
+ * @remarks
126
+ * The type of the default destination. Currently, only dataset is supported.
127
+ *
128
+ * @example
129
+ * dataset
130
+ */
131
+ type?: string;
132
+ static names(): {
133
+ [key: string]: string;
134
+ };
135
+ static types(): {
136
+ [key: string]: any;
137
+ };
138
+ validate(): void;
139
+ constructor(map?: {
140
+ [key: string]: any;
141
+ });
142
+ }
143
+ export declare class ListPipelinesResponseBodyPipelinesSinkConditionRoutesSinkDataset extends $dara.Model {
144
+ /**
145
+ * @remarks
146
+ * The name of the AgentSpace to which the destination dataset belongs.
147
+ *
148
+ * @example
149
+ * my-agent-space
150
+ */
151
+ agentSpace?: string;
152
+ /**
153
+ * @remarks
154
+ * The name of the destination dataset.
155
+ *
156
+ * @example
157
+ * refund-result
158
+ */
159
+ dataset?: string;
160
+ static names(): {
161
+ [key: string]: string;
162
+ };
163
+ static types(): {
164
+ [key: string]: any;
165
+ };
166
+ validate(): void;
167
+ constructor(map?: {
168
+ [key: string]: any;
169
+ });
170
+ }
171
+ export declare class ListPipelinesResponseBodyPipelinesSinkConditionRoutesSink extends $dara.Model {
172
+ /**
173
+ * @remarks
174
+ * The destination dataset of the route.
175
+ */
176
+ dataset?: ListPipelinesResponseBodyPipelinesSinkConditionRoutesSinkDataset;
177
+ /**
178
+ * @remarks
179
+ * The type of the route destination. Currently, only dataset is supported.
180
+ *
181
+ * @example
182
+ * dataset
183
+ */
184
+ type?: string;
185
+ static names(): {
186
+ [key: string]: string;
187
+ };
188
+ static types(): {
189
+ [key: string]: any;
190
+ };
191
+ validate(): void;
192
+ constructor(map?: {
193
+ [key: string]: any;
194
+ });
195
+ }
196
+ export declare class ListPipelinesResponseBodyPipelinesSinkConditionRoutes extends $dara.Model {
197
+ /**
198
+ * @remarks
199
+ * The route expression in SPL. Only where, project, and extend are supported.
200
+ *
201
+ * @example
202
+ * * | where intent = \\"refund\\"
203
+ */
204
+ expression?: string;
205
+ /**
206
+ * @remarks
207
+ * The route ID.
208
+ *
209
+ * @example
210
+ * refund
211
+ */
212
+ id?: string;
213
+ /**
214
+ * @remarks
215
+ * The write destination of the route.
216
+ */
217
+ sink?: ListPipelinesResponseBodyPipelinesSinkConditionRoutesSink;
218
+ static names(): {
219
+ [key: string]: string;
220
+ };
221
+ static types(): {
222
+ [key: string]: any;
223
+ };
224
+ validate(): void;
225
+ constructor(map?: {
226
+ [key: string]: any;
227
+ });
228
+ }
229
+ export declare class ListPipelinesResponseBodyPipelinesSinkCondition extends $dara.Model {
230
+ /**
231
+ * @remarks
232
+ * The default write destination that is used when no condition route is matched.
233
+ */
234
+ defaultSink?: ListPipelinesResponseBodyPipelinesSinkConditionDefaultSink;
235
+ /**
236
+ * @remarks
237
+ * The route matching mode. Currently, only all is supported.
238
+ *
239
+ * @example
240
+ * all
241
+ */
242
+ matchMode?: string;
243
+ /**
244
+ * @remarks
245
+ * The list of condition routes.
246
+ */
247
+ routes?: ListPipelinesResponseBodyPipelinesSinkConditionRoutes[];
248
+ static names(): {
249
+ [key: string]: string;
250
+ };
251
+ static types(): {
252
+ [key: string]: any;
253
+ };
254
+ validate(): void;
255
+ constructor(map?: {
256
+ [key: string]: any;
257
+ });
258
+ }
259
+ export declare class ListPipelinesResponseBodyPipelinesSinkDataset extends $dara.Model {
260
+ /**
261
+ * @remarks
262
+ * The name of the AgentSpace to which the destination dataset belongs.
263
+ *
264
+ * @example
265
+ * my-agent-space
266
+ */
267
+ agentSpace?: string;
268
+ /**
269
+ * @remarks
270
+ * The name of the destination dataset.
271
+ *
272
+ * @example
273
+ * my-dataset
274
+ */
275
+ dataset?: string;
276
+ static names(): {
277
+ [key: string]: string;
278
+ };
279
+ static types(): {
280
+ [key: string]: any;
281
+ };
282
+ validate(): void;
283
+ constructor(map?: {
284
+ [key: string]: any;
285
+ });
286
+ }
287
+ export declare class ListPipelinesResponseBodyPipelinesSink extends $dara.Model {
288
+ /**
289
+ * @remarks
290
+ * The conditional routing configuration. This parameter is used only when sink.type is set to condition.
291
+ */
292
+ condition?: ListPipelinesResponseBodyPipelinesSinkCondition;
293
+ /**
294
+ * @remarks
295
+ * The destination dataset configuration for the dataset sink. This parameter is used only when sink.type is set to dataset.
296
+ */
297
+ dataset?: ListPipelinesResponseBodyPipelinesSinkDataset;
298
+ /**
299
+ * @remarks
300
+ * The destination type. Valid values: dataset or condition.
301
+ *
302
+ * @example
303
+ * condition
304
+ */
305
+ type?: string;
306
+ static names(): {
307
+ [key: string]: string;
308
+ };
309
+ static types(): {
310
+ [key: string]: any;
311
+ };
312
+ validate(): void;
313
+ constructor(map?: {
314
+ [key: string]: any;
315
+ });
316
+ }
317
+ export declare class ListPipelinesResponseBodyPipelinesSourceDataset extends $dara.Model {
318
+ /**
319
+ * @remarks
320
+ * The name of the source dataset.
321
+ *
322
+ * @example
323
+ * my-dataset
324
+ */
325
+ dataset?: string;
326
+ /**
327
+ * @remarks
328
+ * The data filter condition for the dataset.
329
+ *
330
+ * @example
331
+ * status = \\"pending\\"
332
+ */
333
+ filter?: string;
334
+ static names(): {
335
+ [key: string]: string;
336
+ };
337
+ static types(): {
338
+ [key: string]: any;
339
+ };
340
+ validate(): void;
341
+ constructor(map?: {
342
+ [key: string]: any;
343
+ });
344
+ }
345
+ export declare class ListPipelinesResponseBodyPipelinesSourceLogstore extends $dara.Model {
346
+ /**
347
+ * @remarks
348
+ * The name of the SLS Logstore.
349
+ *
350
+ * @example
351
+ * my-sls-logstore
352
+ */
353
+ logstore?: string;
354
+ /**
355
+ * @remarks
356
+ * The name of the SLS project.
357
+ *
358
+ * @example
359
+ * my-sls-project
360
+ */
361
+ project?: string;
362
+ /**
363
+ * @remarks
364
+ * The data filtered query statement in SLS query/analysis syntax.
365
+ *
366
+ * @example
367
+ * * | SELECT *
368
+ */
369
+ query?: string;
370
+ static names(): {
371
+ [key: string]: string;
372
+ };
373
+ static types(): {
374
+ [key: string]: any;
375
+ };
376
+ validate(): void;
377
+ constructor(map?: {
378
+ [key: string]: any;
379
+ });
380
+ }
381
+ export declare class ListPipelinesResponseBodyPipelinesSource extends $dara.Model {
382
+ /**
383
+ * @remarks
384
+ * The dataset datasource config in the current AgentSpace.
385
+ */
386
+ dataset?: ListPipelinesResponseBodyPipelinesSourceDataset;
387
+ /**
388
+ * @remarks
389
+ * The Simple Log Service (SLS) Logstore datasource config.
390
+ */
391
+ logstore?: ListPipelinesResponseBodyPipelinesSourceLogstore;
392
+ /**
393
+ * @remarks
394
+ * The data source type. Valid values: logstore or dataset.
395
+ *
396
+ * @example
397
+ * dataset
398
+ */
399
+ type?: string;
400
+ static names(): {
401
+ [key: string]: string;
402
+ };
403
+ static types(): {
404
+ [key: string]: any;
405
+ };
406
+ validate(): void;
407
+ constructor(map?: {
408
+ [key: string]: any;
409
+ });
410
+ }
65
411
  export declare class ListPipelinesResponseBodyPipelines extends $dara.Model {
66
412
  /**
67
413
  * @remarks
414
+ * The time when the pipeline was created, in ISO 8601 UTC format.
415
+ *
68
416
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
69
417
  *
70
418
  * @example
@@ -72,33 +420,70 @@ export declare class ListPipelinesResponseBodyPipelines extends $dara.Model {
72
420
  */
73
421
  createTime?: string;
74
422
  /**
423
+ * @remarks
424
+ * The description of the pipeline.
425
+ *
75
426
  * @example
76
- * 我的流水线
427
+ * My pipeline
77
428
  */
78
429
  description?: string;
430
+ /**
431
+ * @remarks
432
+ * The execution policy.
433
+ */
79
434
  executePolicy?: ListPipelinesResponseBodyPipelinesExecutePolicy;
80
435
  /**
436
+ * @remarks
437
+ * The name of the pipeline.
438
+ *
81
439
  * @example
82
440
  * my-pipeline
83
441
  */
84
442
  pipelineName?: string;
85
443
  /**
444
+ * @remarks
445
+ * The region ID.
446
+ *
86
447
  * @example
87
448
  * cn-hangzhou
88
449
  */
89
450
  regionId?: string;
90
451
  /**
452
+ * @remarks
453
+ * The scheduling status. Valid values:
454
+ * - None: no scheduling. This value is returned for RunOnce pipelines.
455
+ * - Active: active.
456
+ * - Paused: paused.
457
+ * - Terminated: terminated.
458
+ *
91
459
  * @example
92
460
  * None
93
461
  */
94
462
  scheduleStatus?: string;
95
463
  /**
464
+ * @remarks
465
+ * The scheduling type. Valid values:
466
+ * - RunOnce: one-time execution.
467
+ * - Scheduled: periodic scheduling.
468
+ *
96
469
  * @example
97
470
  * RunOnce
98
471
  */
99
472
  scheduleType?: string;
100
473
  /**
101
474
  * @remarks
475
+ * The pipeline sink (data write destination).
476
+ */
477
+ sink?: ListPipelinesResponseBodyPipelinesSink;
478
+ /**
479
+ * @remarks
480
+ * The pipeline data source.
481
+ */
482
+ source?: ListPipelinesResponseBodyPipelinesSource;
483
+ /**
484
+ * @remarks
485
+ * The time when the pipeline was last updated, in ISO 8601 UTC format.
486
+ *
102
487
  * Use the UTC time format: yyyy-MM-ddTHH:mm:ssZ
103
488
  *
104
489
  * @example
@@ -106,6 +491,9 @@ export declare class ListPipelinesResponseBodyPipelines extends $dara.Model {
106
491
  */
107
492
  updateTime?: string;
108
493
  /**
494
+ * @remarks
495
+ * The workspace associated with the pipeline.
496
+ *
109
497
  * @example
110
498
  * my-workspace
111
499
  */
@@ -123,22 +511,38 @@ export declare class ListPipelinesResponseBodyPipelines extends $dara.Model {
123
511
  }
124
512
  export declare class ListPipelinesResponseBody extends $dara.Model {
125
513
  /**
514
+ * @remarks
515
+ * The maximum number of entries per page that was specified in the request. This value is echoed back.
516
+ *
126
517
  * @example
127
518
  * 20
128
519
  */
129
520
  maxResults?: number;
130
521
  /**
522
+ * @remarks
523
+ * The token for the next page. An empty string indicates that the current page is the last page.
524
+ *
131
525
  * @example
132
526
  * MTIzNDU2Nzg5MA==
133
527
  */
134
528
  nextToken?: string;
529
+ /**
530
+ * @remarks
531
+ * The list of pipelines.
532
+ */
135
533
  pipelines?: ListPipelinesResponseBodyPipelines[];
136
534
  /**
535
+ * @remarks
536
+ * The request ID, which is used to locate and troubleshoot issues.
537
+ *
137
538
  * @example
138
539
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M
139
540
  */
140
541
  requestId?: string;
141
542
  /**
543
+ * @remarks
544
+ * The total number of pipelines that match the filter conditions.
545
+ *
142
546
  * @example
143
547
  * 100
144
548
  */