@alicloud/agentloop20260520 2.8.0 → 2.8.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.
Files changed (55) hide show
  1. package/dist/client.d.ts +62 -18
  2. package/dist/client.js +62 -18
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreatePipelineRequest.d.ts +41 -32
  5. package/dist/models/CreatePipelineRequest.js +6 -0
  6. package/dist/models/CreatePipelineRequest.js.map +1 -1
  7. package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
  8. package/dist/models/GetPipelineResponseBody.d.ts +51 -42
  9. package/dist/models/GetPipelineResponseBody.js +6 -0
  10. package/dist/models/GetPipelineResponseBody.js.map +1 -1
  11. package/dist/models/GetPipelineRunResponseBody.d.ts +7 -7
  12. package/dist/models/ListPipelineRunsRequest.d.ts +1 -1
  13. package/dist/models/ListPipelineRunsResponseBody.d.ts +8 -6
  14. package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
  15. package/dist/models/ListPipelinesRequest.d.ts +5 -17
  16. package/dist/models/ListPipelinesRequest.js.map +1 -1
  17. package/dist/models/ListPipelinesResponseBody.d.ts +45 -33
  18. package/dist/models/ListPipelinesResponseBody.js +6 -0
  19. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  20. package/dist/models/PipelineOssSource.d.ts +69 -0
  21. package/dist/models/PipelineOssSource.js +69 -0
  22. package/dist/models/PipelineOssSource.js.map +1 -0
  23. package/dist/models/PreviewPipelineRequest.d.ts +24 -15
  24. package/dist/models/PreviewPipelineRequest.js +6 -0
  25. package/dist/models/PreviewPipelineRequest.js.map +1 -1
  26. package/dist/models/PreviewPipelineResponseBody.d.ts +28 -12
  27. package/dist/models/PreviewPipelineResponseBody.js +4 -0
  28. package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
  29. package/dist/models/RunPipelineRequest.d.ts +3 -3
  30. package/dist/models/RunPipelineResponseBody.d.ts +1 -1
  31. package/dist/models/UpdatePipelineRequest.d.ts +44 -36
  32. package/dist/models/UpdatePipelineRequest.js +6 -0
  33. package/dist/models/UpdatePipelineRequest.js.map +1 -1
  34. package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
  35. package/dist/models/model.d.ts +1 -0
  36. package/dist/models/model.js +8 -6
  37. package/dist/models/model.js.map +1 -1
  38. package/package.json +1 -1
  39. package/src/client.ts +62 -18
  40. package/src/models/CreatePipelineRequest.ts +46 -32
  41. package/src/models/CreatePipelineResponseBody.ts +1 -1
  42. package/src/models/GetPipelineResponseBody.ts +56 -42
  43. package/src/models/GetPipelineRunResponseBody.ts +7 -7
  44. package/src/models/ListPipelineRunsRequest.ts +1 -1
  45. package/src/models/ListPipelineRunsResponseBody.ts +8 -6
  46. package/src/models/ListPipelinesRequest.ts +5 -17
  47. package/src/models/ListPipelinesResponseBody.ts +50 -33
  48. package/src/models/PipelineOssSource.ts +91 -0
  49. package/src/models/PreviewPipelineRequest.ts +29 -15
  50. package/src/models/PreviewPipelineResponseBody.ts +32 -12
  51. package/src/models/RunPipelineRequest.ts +3 -3
  52. package/src/models/RunPipelineResponseBody.ts +1 -1
  53. package/src/models/UpdatePipelineRequest.ts +49 -36
  54. package/src/models/UpdatePipelineResponseBody.ts +1 -1
  55. package/src/models/model.ts +1 -0
package/src/client.ts CHANGED
@@ -1112,6 +1112,23 @@ export default class Client extends OpenApi {
1112
1112
  /**
1113
1113
  * Creates a pipeline.
1114
1114
  *
1115
+ * @remarks
1116
+ * ## OSS import
1117
+ * - When `source.type` is `oss`, `format`, `region`, `roleArn`, and `uri` in `source.oss` are required. You can omit `formatOptions` or pass an empty object `{}`. The initial version has no available configuration keys. Non-empty objects and other JSON types return a parameter error. Omit `source.inputFields`. When LeRobot has no processing nodes, you can pass `pipeline.nodes: []`. For MCAP, you must pass an empty array.
1118
+ * - `sink.type` must be `dataset`, and `sink.dataset` must point to an existing dataset.
1119
+ * - `executePolicy.mode` must be `RunOnce`. You can omit `runOnce`. OSS ignores time windows. If a time field is passed, the value must be an integer.
1120
+ * - A successful creation indicates that the submission has been accepted. Call `ListPipelineRuns` by using the pipeline name to query the import progress. A formal submission independently discovers the OSS input scope.
1121
+ * ### Sample OSS creation request
1122
+ * ```json
1123
+ * {
1124
+ * "pipelineName": "robot_import_example",
1125
+ * "pipeline": {"nodes": []},
1126
+ * "source": {"type": "oss", "oss": {"format": "lerobot", "region": "cn-beijing", "roleArn": "acs:ram::1234567890123456:role/oss-reader", "uri": "oss://example-bucket/robot-datasets/"}},
1127
+ * "sink": {"type": "dataset", "dataset": {"agentSpace": "my-agent-space", "dataset": "robot-import-target"}},
1128
+ * "executePolicy": {"mode": "RunOnce"}
1129
+ * }
1130
+ * ```
1131
+ *
1115
1132
  * @param request - CreatePipelineRequest
1116
1133
  * @param headers - map
1117
1134
  * @param runtime - runtime options for this request RuntimeOptions
@@ -1175,6 +1192,23 @@ export default class Client extends OpenApi {
1175
1192
  /**
1176
1193
  * Creates a pipeline.
1177
1194
  *
1195
+ * @remarks
1196
+ * ## OSS import
1197
+ * - When `source.type` is `oss`, `format`, `region`, `roleArn`, and `uri` in `source.oss` are required. You can omit `formatOptions` or pass an empty object `{}`. The initial version has no available configuration keys. Non-empty objects and other JSON types return a parameter error. Omit `source.inputFields`. When LeRobot has no processing nodes, you can pass `pipeline.nodes: []`. For MCAP, you must pass an empty array.
1198
+ * - `sink.type` must be `dataset`, and `sink.dataset` must point to an existing dataset.
1199
+ * - `executePolicy.mode` must be `RunOnce`. You can omit `runOnce`. OSS ignores time windows. If a time field is passed, the value must be an integer.
1200
+ * - A successful creation indicates that the submission has been accepted. Call `ListPipelineRuns` by using the pipeline name to query the import progress. A formal submission independently discovers the OSS input scope.
1201
+ * ### Sample OSS creation request
1202
+ * ```json
1203
+ * {
1204
+ * "pipelineName": "robot_import_example",
1205
+ * "pipeline": {"nodes": []},
1206
+ * "source": {"type": "oss", "oss": {"format": "lerobot", "region": "cn-beijing", "roleArn": "acs:ram::1234567890123456:role/oss-reader", "uri": "oss://example-bucket/robot-datasets/"}},
1207
+ * "sink": {"type": "dataset", "dataset": {"agentSpace": "my-agent-space", "dataset": "robot-import-target"}},
1208
+ * "executePolicy": {"mode": "RunOnce"}
1209
+ * }
1210
+ * ```
1211
+ *
1178
1212
  * @param request - CreatePipelineRequest
1179
1213
  * @returns CreatePipelineResponse
1180
1214
  */
@@ -2484,10 +2518,12 @@ export default class Client extends OpenApi {
2484
2518
  }
2485
2519
 
2486
2520
  /**
2487
- * Queries the details of a single run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
2521
+ * Queries the details of a single run, including the data window, execution status, retry information, run statistics, and fault information.
2488
2522
  *
2489
2523
  * @remarks
2490
- * Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
2524
+ * Calls GetPipelineRun to query the details of a single pipeline run, including the data window, execution status, retry information, run statistics, and fault information.
2525
+ * - For OSS imports, use `status` to query the run status, and use `work_total`, `work_success`, `work_failed`, and `work_skipped` under `stats` to view the processed row counts and results.
2526
+ * - If an import fails, check `errorCode` and `errorMessage`. The `errorMessage` can contain the package path or object path, the cause, and up to three failure examples. When only package-level failures occur, `work_failed` may still be 0.
2491
2527
  *
2492
2528
  * @param request - GetPipelineRunRequest
2493
2529
  * @param headers - map
@@ -2514,10 +2550,12 @@ export default class Client extends OpenApi {
2514
2550
  }
2515
2551
 
2516
2552
  /**
2517
- * Queries the details of a single run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
2553
+ * Queries the details of a single run, including the data window, execution status, retry information, run statistics, and fault information.
2518
2554
  *
2519
2555
  * @remarks
2520
- * Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and the error message for the fault.
2556
+ * Calls GetPipelineRun to query the details of a single pipeline run, including the data window, execution status, retry information, run statistics, and fault information.
2557
+ * - For OSS imports, use `status` to query the run status, and use `work_total`, `work_success`, `work_failed`, and `work_skipped` under `stats` to view the processed row counts and results.
2558
+ * - If an import fails, check `errorCode` and `errorMessage`. The `errorMessage` can contain the package path or object path, the cause, and up to three failure examples. When only package-level failures occur, `work_failed` may still be 0.
2521
2559
  *
2522
2560
  * @param request - GetPipelineRunRequest
2523
2561
  * @returns GetPipelineRunResponse
@@ -3397,7 +3435,7 @@ export default class Client extends OpenApi {
3397
3435
  }
3398
3436
 
3399
3437
  /**
3400
- * Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
3438
+ * Queries the run history and supports filtering by status, trigger type, and time range with cursor-based pagination.
3401
3439
  *
3402
3440
  * @remarks
3403
3441
  * Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
@@ -3453,7 +3491,7 @@ export default class Client extends OpenApi {
3453
3491
  }
3454
3492
 
3455
3493
  /**
3456
- * Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
3494
+ * Queries the run history and supports filtering by status, trigger type, and time range with cursor-based pagination.
3457
3495
  *
3458
3496
  * @remarks
3459
3497
  * Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
@@ -3468,7 +3506,10 @@ export default class Client extends OpenApi {
3468
3506
  }
3469
3507
 
3470
3508
  /**
3471
- * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
3509
+ * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, with cursor-based pagination.
3510
+ *
3511
+ * @remarks
3512
+ * Calls the ListPipelines operation to query a list of pipelines. You can filter pipelines by name, schedule type, and schedule status, and use cursor-based pagination.
3472
3513
  *
3473
3514
  * @param request - ListPipelinesRequest
3474
3515
  * @param headers - map
@@ -3525,7 +3566,10 @@ export default class Client extends OpenApi {
3525
3566
  }
3526
3567
 
3527
3568
  /**
3528
- * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
3569
+ * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, with cursor-based pagination.
3570
+ *
3571
+ * @remarks
3572
+ * Calls the ListPipelines operation to query a list of pipelines. You can filter pipelines by name, schedule type, and schedule status, and use cursor-based pagination.
3529
3573
  *
3530
3574
  * @param request - ListPipelinesRequest
3531
3575
  * @returns ListPipelinesResponse
@@ -3653,11 +3697,11 @@ export default class Client extends OpenApi {
3653
3697
  *
3654
3698
  * @remarks
3655
3699
  * ## Request description
3656
- * - **agentSpace** must be an existing AgentSpace instance under the current account.
3657
- * - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and reside in the same region.
3658
- * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
3659
- * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
3660
- * - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
3700
+ * - agentSpace must be an AgentSpace created under the current account.
3701
+ * - source.type supports logstore, dataset, trace, and oss. If logstore is selected, the project and Logstore used must be authorized in the AgentSpace and reside in the same region.
3702
+ * - If oss is selected, configure source.oss and omit source.inputFields. The server derives the schema from the source. For LeRobot, you can pass pipeline.nodes: [] to preview directly. For MCAP, you must pass an empty array. OSS preview ignores fromTime and toTime.
3703
+ * - For other sources, you must pass a non-empty pipeline.nodes array and provide fromTime and toTime in UNIX seconds. fromTime must be less than toTime.
3704
+ * - The preview returns up to 5 samples and filters out internal fields of the data source. For OSS, up to 5 candidates are attempted per batch. Failed candidates or those filtered out by the processing chain also count towards the limit. If the samples are empty but the schema can be derived, meta.schema is still returned.
3661
3705
  *
3662
3706
  * @param request - PreviewPipelineRequest
3663
3707
  * @param headers - map
@@ -3706,11 +3750,11 @@ export default class Client extends OpenApi {
3706
3750
  *
3707
3751
  * @remarks
3708
3752
  * ## Request description
3709
- * - **agentSpace** must be an existing AgentSpace instance under the current account.
3710
- * - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and reside in the same region.
3711
- * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
3712
- * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
3713
- * - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
3753
+ * - agentSpace must be an AgentSpace created under the current account.
3754
+ * - source.type supports logstore, dataset, trace, and oss. If logstore is selected, the project and Logstore used must be authorized in the AgentSpace and reside in the same region.
3755
+ * - If oss is selected, configure source.oss and omit source.inputFields. The server derives the schema from the source. For LeRobot, you can pass pipeline.nodes: [] to preview directly. For MCAP, you must pass an empty array. OSS preview ignores fromTime and toTime.
3756
+ * - For other sources, you must pass a non-empty pipeline.nodes array and provide fromTime and toTime in UNIX seconds. fromTime must be less than toTime.
3757
+ * - The preview returns up to 5 samples and filters out internal fields of the data source. For OSS, up to 5 candidates are attempted per batch. Failed candidates or those filtered out by the processing chain also count towards the limit. If the samples are empty but the schema can be derived, meta.schema is still returned.
3714
3758
  *
3715
3759
  * @param request - PreviewPipelineRequest
3716
3760
  * @returns PreviewPipelineResponse
@@ -1,11 +1,12 @@
1
1
  // This file is auto-generated, don't edit it
2
2
  import * as $dara from '@darabonba/typescript';
3
+ import { PipelineOssSource } from "./PipelineOssSource";
3
4
 
4
5
 
5
6
  export class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
6
7
  /**
7
8
  * @remarks
8
- * The historical starting point for bootstrap, specified as a Unix timestamp in seconds. It shares the same precision as runOnce/scheduled.fromTime, and millisecond values greater than or equal to 1e12 are automatically converted for compatibility. The cursor starts from this time, aligns to the time grid, and catches up window by window. After catching up, it switches to minute intervals. By default, it starts from the current time and processes only incremental data.
9
+ * The bootstrap history start time. The value is a UNIX timestamp in seconds, which has the same precision as runOnce/scheduled.fromTime. Millisecond values greater than or equal to 1e12 are automatically converted. The cursor starts from this time aligned to the grid and catches up window by window. After catching up, it switches to minute intervals. By default, it starts from the current time and processes only incremental data.
9
10
  *
10
11
  * @example
11
12
  * 1735660800
@@ -35,7 +36,7 @@ export class CreatePipelineRequestExecutePolicyContinuous extends $dara.Model {
35
36
  export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
36
37
  /**
37
38
  * @remarks
38
- * The start time of the data processing window. The value is a UNIX timestamp in seconds and must be less than the value of toTime.
39
+ * The start time of the data processing window. The value is a UNIX timestamp in seconds and must be less than toTime.
39
40
  *
40
41
  * @example
41
42
  * 1735660800
@@ -43,7 +44,7 @@ export class CreatePipelineRequestExecutePolicyRunOnce extends $dara.Model {
43
44
  fromTime?: number;
44
45
  /**
45
46
  * @remarks
46
- * The end time of the data processing window. The value is a UNIX timestamp in seconds and must be greater than the value of fromTime.
47
+ * The end time of the data processing window. The value is a UNIX timestamp in seconds and must be greater than fromTime.
47
48
  *
48
49
  * @example
49
50
  * 1735747200
@@ -123,7 +124,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
123
124
  continuous?: CreatePipelineRequestExecutePolicyContinuous;
124
125
  /**
125
126
  * @remarks
126
- * The scheduling mode. Valid values: RunOnce (single execution) and Scheduled (periodic scheduling).
127
+ * The execution mode. Valid values: RunOnce (single execution) and Scheduled (periodic scheduling).
127
128
  *
128
129
  * @example
129
130
  * RunOnce
@@ -131,7 +132,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
131
132
  mode?: string;
132
133
  /**
133
134
  * @remarks
134
- * The single execution configuration. This parameter is required only when mode is set to RunOnce.
135
+ * The RunOnce configuration. This parameter is required only when mode is set to RunOnce.
135
136
  *
136
137
  * @example
137
138
  * {"fromTime":1735660800,"toTime":1735664400}
@@ -139,7 +140,7 @@ export class CreatePipelineRequestExecutePolicy extends $dara.Model {
139
140
  runOnce?: CreatePipelineRequestExecutePolicyRunOnce;
140
141
  /**
141
142
  * @remarks
142
- * The periodic scheduling configuration. This parameter is required only when mode is set to Scheduled.
143
+ * The scheduled execution configuration. This parameter is required only when mode is set to Scheduled.
143
144
  *
144
145
  * @example
145
146
  * {"interval":"1h","fromTime":1735660800}
@@ -192,7 +193,7 @@ export class CreatePipelineRequestPipelineNodes extends $dara.Model {
192
193
  id?: string;
193
194
  /**
194
195
  * @remarks
195
- * The parameters of the node. The parameters are in key-value pairs and vary based on the node type.
196
+ * The parameters of the node. The parameters use a key-value structure and vary based on the node type.
196
197
  *
197
198
  * @example
198
199
  * {"ID": "ID"}
@@ -237,7 +238,7 @@ export class CreatePipelineRequestPipelineNodes extends $dara.Model {
237
238
  export class CreatePipelineRequestPipeline extends $dara.Model {
238
239
  /**
239
240
  * @remarks
240
- * The list of nodes.
241
+ * The list of nodes. For non-OSS sources, you must pass a non-empty array. For LeRobot sources, you can pass an empty array for direct import. For MCAP sources, you must pass an empty array.
241
242
  *
242
243
  * @example
243
244
  * [{"id":"select-fields","type":"project","parameters":{}}]
@@ -315,7 +316,7 @@ export class CreatePipelineRequestSinkConditionDefaultSink extends $dara.Model {
315
316
  dataset?: CreatePipelineRequestSinkConditionDefaultSinkDataset;
316
317
  /**
317
318
  * @remarks
318
- * The default destination type. Valid values: dataset.
319
+ * The default sink type. Currently, only dataset is supported.
319
320
  *
320
321
  * @example
321
322
  * dataset
@@ -390,12 +391,12 @@ export class CreatePipelineRequestSinkConditionRoutesSinkDataset extends $dara.M
390
391
  export class CreatePipelineRequestSinkConditionRoutesSink extends $dara.Model {
391
392
  /**
392
393
  * @remarks
393
- * The route destination dataset.
394
+ * The destination dataset for the route.
394
395
  */
395
396
  dataset?: CreatePipelineRequestSinkConditionRoutesSinkDataset;
396
397
  /**
397
398
  * @remarks
398
- * The route destination type. Valid values: dataset.
399
+ * The sink type for the route. Currently, only dataset is supported.
399
400
  *
400
401
  * @example
401
402
  * dataset
@@ -446,7 +447,7 @@ export class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
446
447
  id?: string;
447
448
  /**
448
449
  * @remarks
449
- * The destination for the route.
450
+ * The sink for the route.
450
451
  */
451
452
  sink?: CreatePipelineRequestSinkConditionRoutesSink;
452
453
  static names(): { [key: string]: string } {
@@ -480,12 +481,12 @@ export class CreatePipelineRequestSinkConditionRoutes extends $dara.Model {
480
481
  export class CreatePipelineRequestSinkCondition extends $dara.Model {
481
482
  /**
482
483
  * @remarks
483
- * The default destination used when no conditional route is matched.
484
+ * The default sink used when no conditional route is matched.
484
485
  */
485
486
  defaultSink?: CreatePipelineRequestSinkConditionDefaultSink;
486
487
  /**
487
488
  * @remarks
488
- * The route matching mode. Valid values: all.
489
+ * The route matching mode. Currently, only all is supported.
489
490
  *
490
491
  * @example
491
492
  * all
@@ -580,7 +581,7 @@ export class CreatePipelineRequestSink extends $dara.Model {
580
581
  dataset?: CreatePipelineRequestSinkDataset;
581
582
  /**
582
583
  * @remarks
583
- * The destination type. Valid values: dataset.
584
+ * The sink type. Currently, only dataset is supported.
584
585
  *
585
586
  * @example
586
587
  * Dataset
@@ -628,7 +629,7 @@ export class CreatePipelineRequestSourceDataset extends $dara.Model {
628
629
  dataset?: string;
629
630
  /**
630
631
  * @remarks
631
- * The filter condition for the dataset data.
632
+ * The data filtering condition for the dataset.
632
633
  *
633
634
  * @example
634
635
  * status = \"pending\"
@@ -668,7 +669,7 @@ export class CreatePipelineRequestSourceInputFields extends $dara.Model {
668
669
  name?: string;
669
670
  /**
670
671
  * @remarks
671
- * The data type of the field. Valid values: text, long, double, and json.
672
+ * The type of the field. Valid values: `text`, `long`, `double`, and `json`.
672
673
  *
673
674
  * @example
674
675
  * text
@@ -716,7 +717,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
716
717
  project?: string;
717
718
  /**
718
719
  * @remarks
719
- * The filtered query statement (SLS query and analysis syntax).
720
+ * The filtered query statement (SLS query/analysis syntax).
720
721
  *
721
722
  * @example
722
723
  * * | SELECT *
@@ -750,7 +751,7 @@ export class CreatePipelineRequestSourceLogstore extends $dara.Model {
750
751
  export class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
751
752
  /**
752
753
  * @remarks
753
- * The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs a single fixed column named agent_trajectory, and this parameter no longer affects the output.
754
+ * The list of enrichment columns. This parameter is retained for compatibility. The current implementation outputs a fixed single column `agent_trajectory`, and this parameter no longer affects the output.
754
755
  *
755
756
  * @example
756
757
  * ["input","output","session_id"]
@@ -793,7 +794,7 @@ export class CreatePipelineRequestSourceTrajectoryEnrich extends $dara.Model {
793
794
  export class CreatePipelineRequestSourceTrajectory extends $dara.Model {
794
795
  /**
795
796
  * @remarks
796
- * The trajectory enrichment configuration. It mounts trajectory data into the cleansing result based on the trace_id. When writing to the dataset, the data is stored in the fixed column agent_trajectory, where the column value is the JSON content of the trajectory.
797
+ * Trajectory enrichment: mounts trajectory data into the cleaning result by `trace_id`. When writing to a dataset, the data is stored in the fixed column `agent_trajectory`, and the column value is the JSON content of the trajectory.
797
798
  *
798
799
  * @example
799
800
  * {"enabled":true,"columns":["input","output"]}
@@ -826,7 +827,7 @@ export class CreatePipelineRequestSourceTrajectory extends $dara.Model {
826
827
  export class CreatePipelineRequestSource extends $dara.Model {
827
828
  /**
828
829
  * @remarks
829
- * The Dataset datasource config in the current AgentSpace.
830
+ * The datasource config for the dataset under the current AgentSpace.
830
831
  *
831
832
  * @example
832
833
  * {"dataset":"my-dataset","filter":"status = \"pending\""}
@@ -834,7 +835,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
834
835
  dataset?: CreatePipelineRequestSourceDataset;
835
836
  /**
836
837
  * @remarks
837
- * The input fields and their data types. This applies to all data source types.
838
+ * The input fields and their types. For OSS sources, the server derives the input fields from metadata. Omit `source.inputFields`.
838
839
  *
839
840
  * @example
840
841
  * [{"name":"question","type":"text"}]
@@ -842,7 +843,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
842
843
  inputFields?: CreatePipelineRequestSourceInputFields[];
843
844
  /**
844
845
  * @remarks
845
- * The SLS Logstore datasource config.
846
+ * The datasource config for SLS Logstore.
846
847
  *
847
848
  * @example
848
849
  * {"project":"my-sls-project","logstore":"agent-logs"}
@@ -850,7 +851,15 @@ export class CreatePipelineRequestSource extends $dara.Model {
850
851
  logstore?: CreatePipelineRequestSourceLogstore;
851
852
  /**
852
853
  * @remarks
853
- * The configuration of the trajectory data. This parameter is optional and takes effect only when the type is set to trace. It obtains ATIF standard trajectory data from the trajectory cleansing service and extends it based on features.
854
+ * When `source.type` is `oss`, `format`, `region`, `roleArn`, and `uri` in `source.oss` are required. You can omit `formatOptions` or pass an empty object `{}`. The initial version has no available configuration keys. Non-empty objects and other JSON types return a parameter error.
855
+ *
856
+ * @example
857
+ * {"format":"lerobot","region":"cn-beijing","roleArn":"acs:ram::1234567890123456:role/oss-reader","uri":"oss://example-bucket/robot-datasets/example/"}
858
+ */
859
+ oss?: PipelineOssSource;
860
+ /**
861
+ * @remarks
862
+ * The trajectory data configuration. This parameter is optional and takes effect only when `type` is `trace`. It obtains ATIF standard trajectory data from the trajectory cleaning service and extends the data based on features.
854
863
  *
855
864
  * @example
856
865
  * {"enrich":{"enabled":true,"columns":["input","output"]}}
@@ -858,10 +867,10 @@ export class CreatePipelineRequestSource extends $dara.Model {
858
867
  trajectory?: CreatePipelineRequestSourceTrajectory;
859
868
  /**
860
869
  * @remarks
861
- * The type of the data source. Currently, only SLS is supported.
870
+ * The type of the data source. Valid values: `logstore`, `dataset`, `trace`, and `oss`. If you select `oss`, configure `source.oss`.
862
871
  *
863
872
  * @example
864
- * SLS
873
+ * oss
865
874
  */
866
875
  type?: string;
867
876
  static names(): { [key: string]: string } {
@@ -869,6 +878,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
869
878
  dataset: 'dataset',
870
879
  inputFields: 'inputFields',
871
880
  logstore: 'logstore',
881
+ oss: 'oss',
872
882
  trajectory: 'trajectory',
873
883
  type: 'type',
874
884
  };
@@ -879,6 +889,7 @@ export class CreatePipelineRequestSource extends $dara.Model {
879
889
  dataset: CreatePipelineRequestSourceDataset,
880
890
  inputFields: { 'type': 'array', 'itemType': CreatePipelineRequestSourceInputFields },
881
891
  logstore: CreatePipelineRequestSourceLogstore,
892
+ oss: PipelineOssSource,
882
893
  trajectory: CreatePipelineRequestSourceTrajectory,
883
894
  type: 'string',
884
895
  };
@@ -894,6 +905,9 @@ export class CreatePipelineRequestSource extends $dara.Model {
894
905
  if(this.logstore && typeof (this.logstore as any).validate === 'function') {
895
906
  (this.logstore as any).validate();
896
907
  }
908
+ if(this.oss && typeof (this.oss as any).validate === 'function') {
909
+ (this.oss as any).validate();
910
+ }
897
911
  if(this.trajectory && typeof (this.trajectory as any).validate === 'function') {
898
912
  (this.trajectory as any).validate();
899
913
  }
@@ -911,12 +925,12 @@ export class CreatePipelineRequest extends $dara.Model {
911
925
  * The description of the pipeline. The description can be up to 256 characters in length.
912
926
  *
913
927
  * @example
914
- * Collect trace data from SLS and perform data cleaning into a dataset
928
+ * Collect trace data from SLS for data cleaning into a dataset
915
929
  */
916
930
  description?: string;
917
931
  /**
918
932
  * @remarks
919
- * The scheduling policy.
933
+ * The execution policy.
920
934
  *
921
935
  * @example
922
936
  * {"mode":"RunOnce","runOnce":{"fromTime":1735660800,"toTime":1735664400}}
@@ -924,7 +938,7 @@ export class CreatePipelineRequest extends $dara.Model {
924
938
  executePolicy?: CreatePipelineRequestExecutePolicy;
925
939
  /**
926
940
  * @remarks
927
- * The pipeline configuration, including node orchestration.
941
+ * The pipeline configuration for node orchestration.
928
942
  *
929
943
  * @example
930
944
  * {"nodes":[{"id":"select-fields","type":"project","parameters":{"question":"user_query"}}]}
@@ -932,7 +946,7 @@ export class CreatePipelineRequest extends $dara.Model {
932
946
  pipeline?: CreatePipelineRequestPipeline;
933
947
  /**
934
948
  * @remarks
935
- * The pipeline type. Valid values: PROCESSING (data processing) and ORCHESTRATION (orchestration task).
949
+ * The pipeline kind. Valid values: PROCESSING (data processing) and ORCHESTRATION (orchestration task).
936
950
  *
937
951
  * @example
938
952
  * ORCHESTRATION
@@ -948,7 +962,7 @@ export class CreatePipelineRequest extends $dara.Model {
948
962
  pipelineName?: string;
949
963
  /**
950
964
  * @remarks
951
- * The pipeline destination for writing data.
965
+ * The pipeline sink, which is the data write destination.
952
966
  */
953
967
  sink?: CreatePipelineRequestSink;
954
968
  /**
@@ -961,7 +975,7 @@ export class CreatePipelineRequest extends $dara.Model {
961
975
  source?: CreatePipelineRequestSource;
962
976
  /**
963
977
  * @remarks
964
- * The client token that is used to ensure the idempotency of the request. The token is a unique string generated by the client.
978
+ * The idempotency token. It is a unique string generated by the client to ensure the idempotency of the create operation.
965
979
  *
966
980
  * @example
967
981
  * a1b2c3d4-1234-5678-90ab-cdef12345678
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreatePipelineResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The request ID. You can use the ID to troubleshoot issues and locate the request.
8
+ * The request ID, which is used to locate the request for troubleshooting.
9
9
  *
10
10
  * @example
11
11
  * 9ACFB10A-1B2C-3D4E-5F6G-7H8I9J0K1L2M