@alicloud/agentloop20260520 2.7.0 → 2.8.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (112) hide show
  1. package/dist/client.d.ts +120 -12
  2. package/dist/client.js +183 -12
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/AddAuditConversionSourceRequest.d.ts +13 -0
  5. package/dist/models/AddAuditConversionSourceRequest.js +54 -0
  6. package/dist/models/AddAuditConversionSourceRequest.js.map +1 -0
  7. package/dist/models/AddAuditConversionSourceResponse.d.ts +17 -0
  8. package/dist/models/AddAuditConversionSourceResponse.js +63 -0
  9. package/dist/models/AddAuditConversionSourceResponse.js.map +1 -0
  10. package/dist/models/CreateEvaluatorRequest.d.ts +42 -18
  11. package/dist/models/CreateEvaluatorRequest.js.map +1 -1
  12. package/dist/models/CreateEvaluatorResponseBody.d.ts +2 -2
  13. package/dist/models/CreateEvaluatorSkillRequest.d.ts +10 -7
  14. package/dist/models/CreateEvaluatorSkillRequest.js.map +1 -1
  15. package/dist/models/CreatePipelineRequest.d.ts +41 -33
  16. package/dist/models/CreatePipelineRequest.js +2 -0
  17. package/dist/models/CreatePipelineRequest.js.map +1 -1
  18. package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
  19. package/dist/models/DeleteEvaluatorSkillRequest.d.ts +4 -1
  20. package/dist/models/DeleteEvaluatorSkillRequest.js.map +1 -1
  21. package/dist/models/ExperimentConfig.d.ts +3 -0
  22. package/dist/models/ExperimentConfig.js.map +1 -1
  23. package/dist/models/GetAuditConversionSourceRequest.d.ts +13 -0
  24. package/dist/models/GetAuditConversionSourceRequest.js +54 -0
  25. package/dist/models/GetAuditConversionSourceRequest.js.map +1 -0
  26. package/dist/models/GetAuditConversionSourceResponse.d.ts +19 -0
  27. package/dist/models/GetAuditConversionSourceResponse.js +69 -0
  28. package/dist/models/GetAuditConversionSourceResponse.js.map +1 -0
  29. package/dist/models/GetAuditConversionSourceResponseBody.d.ts +35 -0
  30. package/dist/models/GetAuditConversionSourceResponseBody.js +60 -0
  31. package/dist/models/GetAuditConversionSourceResponseBody.js.map +1 -0
  32. package/dist/models/GetContextStoreResponseBody.d.ts +49 -49
  33. package/dist/models/GetEvaluatorResponseBody.d.ts +45 -12
  34. package/dist/models/GetEvaluatorResponseBody.js.map +1 -1
  35. package/dist/models/GetEvaluatorSkillRequest.d.ts +5 -2
  36. package/dist/models/GetEvaluatorSkillRequest.js.map +1 -1
  37. package/dist/models/GetEvaluatorSkillResponseBody.d.ts +8 -8
  38. package/dist/models/GetPipelineResponseBody.d.ts +66 -34
  39. package/dist/models/GetPipelineResponseBody.js +8 -0
  40. package/dist/models/GetPipelineResponseBody.js.map +1 -1
  41. package/dist/models/GetPipelineRunResponseBody.d.ts +546 -6
  42. package/dist/models/GetPipelineRunResponseBody.js +244 -1
  43. package/dist/models/GetPipelineRunResponseBody.js.map +1 -1
  44. package/dist/models/ListContextStoresRequest.d.ts +3 -3
  45. package/dist/models/ListContextStoresResponseBody.d.ts +8 -8
  46. package/dist/models/ListEvaluatorSkillsRequest.d.ts +4 -1
  47. package/dist/models/ListEvaluatorSkillsRequest.js.map +1 -1
  48. package/dist/models/ListEvaluatorSkillsResponseBody.d.ts +8 -8
  49. package/dist/models/ListEvaluatorsRequest.d.ts +1 -1
  50. package/dist/models/ListEvaluatorsResponseBody.d.ts +10 -4
  51. package/dist/models/ListEvaluatorsResponseBody.js.map +1 -1
  52. package/dist/models/ListPipelineRunsRequest.d.ts +5 -5
  53. package/dist/models/ListPipelineRunsResponseBody.d.ts +25 -9
  54. package/dist/models/ListPipelineRunsResponseBody.js +4 -0
  55. package/dist/models/ListPipelineRunsResponseBody.js.map +1 -1
  56. package/dist/models/ListPipelinesRequest.d.ts +25 -5
  57. package/dist/models/ListPipelinesRequest.js +2 -0
  58. package/dist/models/ListPipelinesRequest.js.map +1 -1
  59. package/dist/models/ListPipelinesResponseBody.d.ts +153 -37
  60. package/dist/models/ListPipelinesResponseBody.js +68 -1
  61. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  62. package/dist/models/RemoveAuditConversionSourceRequest.d.ts +13 -0
  63. package/dist/models/RemoveAuditConversionSourceRequest.js +54 -0
  64. package/dist/models/RemoveAuditConversionSourceRequest.js.map +1 -0
  65. package/dist/models/RemoveAuditConversionSourceResponse.d.ts +17 -0
  66. package/dist/models/RemoveAuditConversionSourceResponse.js +63 -0
  67. package/dist/models/RemoveAuditConversionSourceResponse.js.map +1 -0
  68. package/dist/models/UpdateEvaluatorRequest.d.ts +40 -10
  69. package/dist/models/UpdateEvaluatorRequest.js.map +1 -1
  70. package/dist/models/UpdateEvaluatorSkillRequest.d.ts +7 -4
  71. package/dist/models/UpdateEvaluatorSkillRequest.js.map +1 -1
  72. package/dist/models/UpdateEvaluatorVersionStatusRequest.d.ts +5 -3
  73. package/dist/models/UpdateEvaluatorVersionStatusRequest.js.map +1 -1
  74. package/dist/models/model.d.ts +15 -0
  75. package/dist/models/model.js +57 -27
  76. package/dist/models/model.js.map +1 -1
  77. package/package.json +1 -1
  78. package/src/client.ts +191 -12
  79. package/src/models/AddAuditConversionSourceRequest.ts +24 -0
  80. package/src/models/AddAuditConversionSourceResponse.ts +33 -0
  81. package/src/models/CreateEvaluatorRequest.ts +42 -18
  82. package/src/models/CreateEvaluatorResponseBody.ts +2 -2
  83. package/src/models/CreateEvaluatorSkillRequest.ts +10 -7
  84. package/src/models/CreatePipelineRequest.ts +43 -33
  85. package/src/models/CreatePipelineResponseBody.ts +1 -1
  86. package/src/models/DeleteEvaluatorSkillRequest.ts +4 -1
  87. package/src/models/ExperimentConfig.ts +3 -0
  88. package/src/models/GetAuditConversionSourceRequest.ts +24 -0
  89. package/src/models/GetAuditConversionSourceResponse.ts +40 -0
  90. package/src/models/GetAuditConversionSourceResponseBody.ts +50 -0
  91. package/src/models/GetContextStoreResponseBody.ts +49 -49
  92. package/src/models/GetEvaluatorResponseBody.ts +45 -12
  93. package/src/models/GetEvaluatorSkillRequest.ts +5 -2
  94. package/src/models/GetEvaluatorSkillResponseBody.ts +8 -8
  95. package/src/models/GetPipelineResponseBody.ts +74 -34
  96. package/src/models/GetPipelineRunResponseBody.ts +733 -6
  97. package/src/models/ListContextStoresRequest.ts +3 -3
  98. package/src/models/ListContextStoresResponseBody.ts +8 -8
  99. package/src/models/ListEvaluatorSkillsRequest.ts +4 -1
  100. package/src/models/ListEvaluatorSkillsResponseBody.ts +8 -8
  101. package/src/models/ListEvaluatorsRequest.ts +1 -1
  102. package/src/models/ListEvaluatorsResponseBody.ts +10 -4
  103. package/src/models/ListPipelineRunsRequest.ts +5 -5
  104. package/src/models/ListPipelineRunsResponseBody.ts +29 -9
  105. package/src/models/ListPipelinesRequest.ts +27 -5
  106. package/src/models/ListPipelinesResponseBody.ts +200 -37
  107. package/src/models/RemoveAuditConversionSourceRequest.ts +24 -0
  108. package/src/models/RemoveAuditConversionSourceResponse.ts +33 -0
  109. package/src/models/UpdateEvaluatorRequest.ts +40 -10
  110. package/src/models/UpdateEvaluatorSkillRequest.ts +7 -4
  111. package/src/models/UpdateEvaluatorVersionStatusRequest.ts +5 -3
  112. package/src/models/model.ts +15 -0
package/src/client.ts CHANGED
@@ -33,6 +33,65 @@ export default class Client extends OpenApi {
33
33
  return OpenApiUtil.getEndpointRules(productId, regionId, endpointRule, network, suffix);
34
34
  }
35
35
 
36
+ /**
37
+ * Adds an audit transformation object to the list.
38
+ *
39
+ * @remarks
40
+ * ## Request description
41
+ * - PUT /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters and no JSON request body or query parameters.
42
+ * - Data is isolated by the complete tenant key consisting of user_id, agent_space, and region_id. The agentSpace parameter is obtained from the path. The user ID and region are obtained from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the access permissions for the AgentSpace and the region matching.
43
+ * - If type is set to gateway, only configJson.audit_enabled_gateway_instances is modified. If type is set to trace, only configJson.audit_enabled_trace_apps is modified. Other fields in the configuration remain unchanged.
44
+ * - Each list can contain a maximum of 100 distinct objects. The total number of UTF-8 bytes for all IDs after normalization cannot exceed 8,192. If the list limit is exceeded after the addition, a 400 InvalidParameter.Config error is returned. This limit is verified by the backend.
45
+ * - An HTTP 204 response with no response body indicates that the member is already in the selected state. The configuration is written upon the first addition. Repeated additions also return a 204 response without duplicate writes.
46
+ * - The addition operation only modifies the list membership and does not synchronously start the transformation task. The coordinator processes task changes asynchronously afterward. A 204 response does not indicate that the task has been started or is running properly.
47
+ * - The error response is an ErrorResponse object that includes requestId (the value of the request ID header, which may be an empty string if missing), code, and message. The HTTP status code and response body for errors are passed through exactly as returned by the backend.
48
+ *
49
+ * @param request - AddAuditConversionSourceRequest
50
+ * @param headers - map
51
+ * @param runtime - runtime options for this request RuntimeOptions
52
+ * @returns AddAuditConversionSourceResponse
53
+ */
54
+ async addAuditConversionSourceWithOptions(agentSpace: string, type: string, instanceID: string, request: $_model.AddAuditConversionSourceRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.AddAuditConversionSourceResponse> {
55
+ request.validate();
56
+ let req = new $OpenApiUtil.OpenApiRequest({
57
+ headers: headers,
58
+ });
59
+ let params = new $OpenApiUtil.Params({
60
+ action: "AddAuditConversionSource",
61
+ version: "2026-05-20",
62
+ protocol: "HTTPS",
63
+ pathname: `/agentspace/${$dara.URL.percentEncode(agentSpace)}/audit/sources/${$dara.URL.percentEncode(type)}/${$dara.URL.percentEncode(instanceID)}`,
64
+ method: "PUT",
65
+ authType: "AK",
66
+ style: "ROA",
67
+ reqBodyType: "json",
68
+ bodyType: "none",
69
+ });
70
+ return $dara.cast<$_model.AddAuditConversionSourceResponse>(await this.callApi(params, req, runtime), new $_model.AddAuditConversionSourceResponse({}));
71
+ }
72
+
73
+ /**
74
+ * Adds an audit transformation object to the list.
75
+ *
76
+ * @remarks
77
+ * ## Request description
78
+ * - PUT /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters and no JSON request body or query parameters.
79
+ * - Data is isolated by the complete tenant key consisting of user_id, agent_space, and region_id. The agentSpace parameter is obtained from the path. The user ID and region are obtained from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the access permissions for the AgentSpace and the region matching.
80
+ * - If type is set to gateway, only configJson.audit_enabled_gateway_instances is modified. If type is set to trace, only configJson.audit_enabled_trace_apps is modified. Other fields in the configuration remain unchanged.
81
+ * - Each list can contain a maximum of 100 distinct objects. The total number of UTF-8 bytes for all IDs after normalization cannot exceed 8,192. If the list limit is exceeded after the addition, a 400 InvalidParameter.Config error is returned. This limit is verified by the backend.
82
+ * - An HTTP 204 response with no response body indicates that the member is already in the selected state. The configuration is written upon the first addition. Repeated additions also return a 204 response without duplicate writes.
83
+ * - The addition operation only modifies the list membership and does not synchronously start the transformation task. The coordinator processes task changes asynchronously afterward. A 204 response does not indicate that the task has been started or is running properly.
84
+ * - The error response is an ErrorResponse object that includes requestId (the value of the request ID header, which may be an empty string if missing), code, and message. The HTTP status code and response body for errors are passed through exactly as returned by the backend.
85
+ *
86
+ * @param request - AddAuditConversionSourceRequest
87
+ * @returns AddAuditConversionSourceResponse
88
+ */
89
+ async addAuditConversionSource(agentSpace: string, type: string, instanceID: string, request: $_model.AddAuditConversionSourceRequest): Promise<$_model.AddAuditConversionSourceResponse> {
90
+ let runtime = new $dara.RuntimeOptions({ });
91
+ let headers : {[key: string ]: string} = { };
92
+ return await this.addAuditConversionSourceWithOptions(agentSpace, type, instanceID, request, headers, runtime);
93
+ }
94
+
36
95
  /**
37
96
  * Appends structured data rows to a specified dataset without requiring the client to construct SQL statements.
38
97
  *
@@ -1078,6 +1137,10 @@ export default class Client extends OpenApi {
1078
1137
  body["pipeline"] = request.pipeline;
1079
1138
  }
1080
1139
 
1140
+ if (!$dara.isNull(request.pipelineKind)) {
1141
+ body["pipelineKind"] = request.pipelineKind;
1142
+ }
1143
+
1081
1144
  if (!$dara.isNull(request.pipelineName)) {
1082
1145
  body["pipelineName"] = request.pipelineName;
1083
1146
  }
@@ -1859,6 +1922,61 @@ export default class Client extends OpenApi {
1859
1922
  return await this.getAgentSpaceWithOptions(agentSpace, request, headers, runtime);
1860
1923
  }
1861
1924
 
1925
+ /**
1926
+ * Queries whether an audit transformation object is selected.
1927
+ *
1928
+ * @remarks
1929
+ * ## Request description
1930
+ * - GET /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters, with no JSON request body or query parameters.
1931
+ * - Isolated by the complete tenant key of user_id + agent_space + region_id. The agentSpace parameter comes from the path. The user ID and region come from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the AgentSpace access permissions and region matching.
1932
+ * - Reads only the transformation list of the corresponding type. It does not create audit configurations or check whether the transformation object is online or the transformation task is healthy.
1933
+ * - An HTTP 200 response returns id and selected, excluding requestId. If the object is not selected or the current AgentSpace has no audit configuration, selected is false, and a 404 error is not returned.
1934
+ * - The error response is ErrorResponse: requestId (the value of the request ID header, which may be an empty string if missing), code, and message. Error HTTP status codes and response bodies are passed through as-is from the backend.
1935
+ *
1936
+ * @param request - GetAuditConversionSourceRequest
1937
+ * @param headers - map
1938
+ * @param runtime - runtime options for this request RuntimeOptions
1939
+ * @returns GetAuditConversionSourceResponse
1940
+ */
1941
+ async getAuditConversionSourceWithOptions(agentSpace: string, type: string, instanceID: string, request: $_model.GetAuditConversionSourceRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.GetAuditConversionSourceResponse> {
1942
+ request.validate();
1943
+ let req = new $OpenApiUtil.OpenApiRequest({
1944
+ headers: headers,
1945
+ });
1946
+ let params = new $OpenApiUtil.Params({
1947
+ action: "GetAuditConversionSource",
1948
+ version: "2026-05-20",
1949
+ protocol: "HTTPS",
1950
+ pathname: `/agentspace/${$dara.URL.percentEncode(agentSpace)}/audit/sources/${$dara.URL.percentEncode(type)}/${$dara.URL.percentEncode(instanceID)}`,
1951
+ method: "GET",
1952
+ authType: "AK",
1953
+ style: "ROA",
1954
+ reqBodyType: "json",
1955
+ bodyType: "json",
1956
+ });
1957
+ return $dara.cast<$_model.GetAuditConversionSourceResponse>(await this.callApi(params, req, runtime), new $_model.GetAuditConversionSourceResponse({}));
1958
+ }
1959
+
1960
+ /**
1961
+ * Queries whether an audit transformation object is selected.
1962
+ *
1963
+ * @remarks
1964
+ * ## Request description
1965
+ * - GET /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} contains only three required path parameters, with no JSON request body or query parameters.
1966
+ * - Isolated by the complete tenant key of user_id + agent_space + region_id. The agentSpace parameter comes from the path. The user ID and region come from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the AgentSpace access permissions and region matching.
1967
+ * - Reads only the transformation list of the corresponding type. It does not create audit configurations or check whether the transformation object is online or the transformation task is healthy.
1968
+ * - An HTTP 200 response returns id and selected, excluding requestId. If the object is not selected or the current AgentSpace has no audit configuration, selected is false, and a 404 error is not returned.
1969
+ * - The error response is ErrorResponse: requestId (the value of the request ID header, which may be an empty string if missing), code, and message. Error HTTP status codes and response bodies are passed through as-is from the backend.
1970
+ *
1971
+ * @param request - GetAuditConversionSourceRequest
1972
+ * @returns GetAuditConversionSourceResponse
1973
+ */
1974
+ async getAuditConversionSource(agentSpace: string, type: string, instanceID: string, request: $_model.GetAuditConversionSourceRequest): Promise<$_model.GetAuditConversionSourceResponse> {
1975
+ let runtime = new $dara.RuntimeOptions({ });
1976
+ let headers : {[key: string ]: string} = { };
1977
+ return await this.getAuditConversionSourceWithOptions(agentSpace, type, instanceID, request, headers, runtime);
1978
+ }
1979
+
1862
1980
  /**
1863
1981
  * Queries the context store.
1864
1982
  *
@@ -2366,10 +2484,10 @@ export default class Client extends OpenApi {
2366
2484
  }
2367
2485
 
2368
2486
  /**
2369
- * Queries the details of a single run, including the data window, execute status, retry information, run statistics, and fault message.
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.
2370
2488
  *
2371
2489
  * @remarks
2372
- * Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and fault message.
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.
2373
2491
  *
2374
2492
  * @param request - GetPipelineRunRequest
2375
2493
  * @param headers - map
@@ -2396,10 +2514,10 @@ export default class Client extends OpenApi {
2396
2514
  }
2397
2515
 
2398
2516
  /**
2399
- * Queries the details of a single run, including the data window, execute status, retry information, run statistics, and fault message.
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.
2400
2518
  *
2401
2519
  * @remarks
2402
- * Invokes GetPipelineRun to retrieve the details of a single pipeline run, including the data window, execute status, retry information, run statistics, and fault message.
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.
2403
2521
  *
2404
2522
  * @param request - GetPipelineRunRequest
2405
2523
  * @returns GetPipelineRunResponse
@@ -2586,7 +2704,7 @@ export default class Client extends OpenApi {
2586
2704
  }
2587
2705
 
2588
2706
  /**
2589
- * Queries the list of context stores.
2707
+ * Queries a list of context stores.
2590
2708
  *
2591
2709
  * @param request - ListContextStoresRequest
2592
2710
  * @param headers - map
@@ -2635,7 +2753,7 @@ export default class Client extends OpenApi {
2635
2753
  }
2636
2754
 
2637
2755
  /**
2638
- * Queries the list of context stores.
2756
+ * Queries a list of context stores.
2639
2757
  *
2640
2758
  * @param request - ListContextStoresRequest
2641
2759
  * @returns ListContextStoresResponse
@@ -2889,7 +3007,7 @@ export default class Client extends OpenApi {
2889
3007
  }
2890
3008
 
2891
3009
  /**
2892
- * Queries the list of skills for an evaluator.
3010
+ * Queries the list of evaluator skills.
2893
3011
  *
2894
3012
  * @param request - ListEvaluatorSkillsRequest
2895
3013
  * @param headers - map
@@ -2934,7 +3052,7 @@ export default class Client extends OpenApi {
2934
3052
  }
2935
3053
 
2936
3054
  /**
2937
- * Queries the list of skills for an evaluator.
3055
+ * Queries the list of evaluator skills.
2938
3056
  *
2939
3057
  * @param request - ListEvaluatorSkillsRequest
2940
3058
  * @returns ListEvaluatorSkillsResponse
@@ -3282,7 +3400,7 @@ export default class Client extends OpenApi {
3282
3400
  * Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
3283
3401
  *
3284
3402
  * @remarks
3285
- * Calls the ListPipelineRuns operation to query the pipeline run history. You can filter the results by status, trigger type, and time range, and use cursor-based pagination.
3403
+ * Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
3286
3404
  *
3287
3405
  * @param request - ListPipelineRunsRequest
3288
3406
  * @param headers - map
@@ -3338,7 +3456,7 @@ export default class Client extends OpenApi {
3338
3456
  * Queries the run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
3339
3457
  *
3340
3458
  * @remarks
3341
- * Calls the ListPipelineRuns operation to query the pipeline run history. You can filter the results by status, trigger type, and time range, and use cursor-based pagination.
3459
+ * Calls ListPipelineRuns to query the pipeline run history. Supports filtering by status, trigger type, and time range, and uses cursor-based pagination.
3342
3460
  *
3343
3461
  * @param request - ListPipelineRunsRequest
3344
3462
  * @returns ListPipelineRunsResponse
@@ -3350,7 +3468,7 @@ export default class Client extends OpenApi {
3350
3468
  }
3351
3469
 
3352
3470
  /**
3353
- * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and cursor-based pagination.
3471
+ * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
3354
3472
  *
3355
3473
  * @param request - ListPipelinesRequest
3356
3474
  * @param headers - map
@@ -3368,6 +3486,10 @@ export default class Client extends OpenApi {
3368
3486
  query["nextToken"] = request.nextToken;
3369
3487
  }
3370
3488
 
3489
+ if (!$dara.isNull(request.pipelineKind)) {
3490
+ query["pipelineKind"] = request.pipelineKind;
3491
+ }
3492
+
3371
3493
  if (!$dara.isNull(request.pipelineName)) {
3372
3494
  query["pipelineName"] = request.pipelineName;
3373
3495
  }
@@ -3403,7 +3525,7 @@ export default class Client extends OpenApi {
3403
3525
  }
3404
3526
 
3405
3527
  /**
3406
- * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and cursor-based pagination.
3528
+ * Queries a list of pipelines. Supports filtering by name, schedule type, and schedule status, and uses cursor-based pagination.
3407
3529
  *
3408
3530
  * @param request - ListPipelinesRequest
3409
3531
  * @returns ListPipelinesResponse
@@ -3599,6 +3721,63 @@ export default class Client extends OpenApi {
3599
3721
  return await this.previewPipelineWithOptions(agentSpace, request, headers, runtime);
3600
3722
  }
3601
3723
 
3724
+ /**
3725
+ * Removes an audit transformation object from the list.
3726
+ *
3727
+ * @remarks
3728
+ * ## Request description
3729
+ * - The DELETE /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} operation includes only three required path parameters and does not contain a JSON request body or query parameters.
3730
+ * - Isolation is based on the complete tenant key that consists of user_id, agent_space, and region_id. The agentSpace parameter is obtained from the path. The user ID and region are obtained from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the access permissions and region matching for the AgentSpace.
3731
+ * - If type is set to gateway, only the ID in configJson.audit_enabled_gateway_instances is removed. If type is set to trace, only the ID in configJson.audit_enabled_trace_apps is removed, and other configuration fields are retained.
3732
+ * - An HTTP 204 response with no response body indicates that the member is already in the unselected state. Repeated calls when the member is unselected also return 204 instead of 404. If the current AgentSpace does not have an audit configuration, no new configuration is created for the delete operation.
3733
+ * - The removal operation only modifies the list membership and does not synchronously stop the transformation task. After the actual change occurs, the coordinator asynchronously processes the task changes.
3734
+ * - The error response is an ErrorResponse object, which includes requestId (the value of the request ID header, which may be an empty string if missing), code, and message. Error HTTP status codes and response bodies are passed through as-is from the backend.
3735
+ *
3736
+ * @param request - RemoveAuditConversionSourceRequest
3737
+ * @param headers - map
3738
+ * @param runtime - runtime options for this request RuntimeOptions
3739
+ * @returns RemoveAuditConversionSourceResponse
3740
+ */
3741
+ async removeAuditConversionSourceWithOptions(agentSpace: string, type: string, instanceID: string, request: $_model.RemoveAuditConversionSourceRequest, headers: {[key: string ]: string}, runtime: $dara.RuntimeOptions): Promise<$_model.RemoveAuditConversionSourceResponse> {
3742
+ request.validate();
3743
+ let req = new $OpenApiUtil.OpenApiRequest({
3744
+ headers: headers,
3745
+ });
3746
+ let params = new $OpenApiUtil.Params({
3747
+ action: "RemoveAuditConversionSource",
3748
+ version: "2026-05-20",
3749
+ protocol: "HTTPS",
3750
+ pathname: `/agentspace/${$dara.URL.percentEncode(agentSpace)}/audit/sources/${$dara.URL.percentEncode(type)}/${$dara.URL.percentEncode(instanceID)}`,
3751
+ method: "DELETE",
3752
+ authType: "AK",
3753
+ style: "ROA",
3754
+ reqBodyType: "json",
3755
+ bodyType: "none",
3756
+ });
3757
+ return $dara.cast<$_model.RemoveAuditConversionSourceResponse>(await this.callApi(params, req, runtime), new $_model.RemoveAuditConversionSourceResponse({}));
3758
+ }
3759
+
3760
+ /**
3761
+ * Removes an audit transformation object from the list.
3762
+ *
3763
+ * @remarks
3764
+ * ## Request description
3765
+ * - The DELETE /agentspace/{agentSpace}/audit/sources/{type}/{instanceID} operation includes only three required path parameters and does not contain a JSON request body or query parameters.
3766
+ * - Isolation is based on the complete tenant key that consists of user_id, agent_space, and region_id. The agentSpace parameter is obtained from the path. The user ID and region are obtained from the trusted identity headers of the gateway. The region header is X-Acs-System-Region-Id and cannot be overridden by the request body or query parameters. The service verifies the access permissions and region matching for the AgentSpace.
3767
+ * - If type is set to gateway, only the ID in configJson.audit_enabled_gateway_instances is removed. If type is set to trace, only the ID in configJson.audit_enabled_trace_apps is removed, and other configuration fields are retained.
3768
+ * - An HTTP 204 response with no response body indicates that the member is already in the unselected state. Repeated calls when the member is unselected also return 204 instead of 404. If the current AgentSpace does not have an audit configuration, no new configuration is created for the delete operation.
3769
+ * - The removal operation only modifies the list membership and does not synchronously stop the transformation task. After the actual change occurs, the coordinator asynchronously processes the task changes.
3770
+ * - The error response is an ErrorResponse object, which includes requestId (the value of the request ID header, which may be an empty string if missing), code, and message. Error HTTP status codes and response bodies are passed through as-is from the backend.
3771
+ *
3772
+ * @param request - RemoveAuditConversionSourceRequest
3773
+ * @returns RemoveAuditConversionSourceResponse
3774
+ */
3775
+ async removeAuditConversionSource(agentSpace: string, type: string, instanceID: string, request: $_model.RemoveAuditConversionSourceRequest): Promise<$_model.RemoveAuditConversionSourceResponse> {
3776
+ let runtime = new $dara.RuntimeOptions({ });
3777
+ let headers : {[key: string ]: string} = { };
3778
+ return await this.removeAuditConversionSourceWithOptions(agentSpace, type, instanceID, request, headers, runtime);
3779
+ }
3780
+
3602
3781
  /**
3603
3782
  * Resumes a pipeline.
3604
3783
  *
@@ -0,0 +1,24 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class AddAuditConversionSourceRequest extends $dara.Model {
6
+ static names(): { [key: string]: string } {
7
+ return {
8
+ };
9
+ }
10
+
11
+ static types(): { [key: string]: any } {
12
+ return {
13
+ };
14
+ }
15
+
16
+ validate() {
17
+ super.validate();
18
+ }
19
+
20
+ constructor(map?: { [key: string]: any }) {
21
+ super(map);
22
+ }
23
+ }
24
+
@@ -0,0 +1,33 @@
1
+ // This file is auto-generated, don't edit it
2
+ import * as $dara from '@darabonba/typescript';
3
+
4
+
5
+ export class AddAuditConversionSourceResponse extends $dara.Model {
6
+ headers?: { [key: string]: string };
7
+ statusCode?: number;
8
+ static names(): { [key: string]: string } {
9
+ return {
10
+ headers: 'headers',
11
+ statusCode: 'statusCode',
12
+ };
13
+ }
14
+
15
+ static types(): { [key: string]: any } {
16
+ return {
17
+ headers: { 'type': 'map', 'keyType': 'string', 'valueType': 'string' },
18
+ statusCode: 'number',
19
+ };
20
+ }
21
+
22
+ validate() {
23
+ if(this.headers) {
24
+ $dara.Model.validateMap(this.headers);
25
+ }
26
+ super.validate();
27
+ }
28
+
29
+ constructor(map?: { [key: string]: any }) {
30
+ super(map);
31
+ }
32
+ }
33
+
@@ -4,15 +4,21 @@ import * as $dara from '@darabonba/typescript';
4
4
 
5
5
  export class CreateEvaluatorRequestSkillsFiles extends $dara.Model {
6
6
  /**
7
+ * @remarks
8
+ * The text content of the file.
9
+ *
7
10
  * @example
8
11
  * ---
9
12
  * name: fact-check
10
- * description: 核对回答中的事实依据
13
+ * description: Verify the factual basis in the response
11
14
  * ---
12
- * 逐项核对回答中的事实,并列出依据。
15
+ * Verify the facts in the response item by item and list the evidence
13
16
  */
14
17
  content?: string;
15
18
  /**
19
+ * @remarks
20
+ * The path of the file relative to the root directory of the skill.
21
+ *
16
22
  * @example
17
23
  * SKILL.md
18
24
  */
@@ -42,26 +48,41 @@ export class CreateEvaluatorRequestSkillsFiles extends $dara.Model {
42
48
 
43
49
  export class CreateEvaluatorRequestSkills extends $dara.Model {
44
50
  /**
51
+ * @remarks
52
+ * The description of the skill purpose.
53
+ *
45
54
  * @example
46
- * 核对回答中的事实依据
55
+ * Verify the factual basis in the response
47
56
  */
48
57
  description?: string;
49
58
  /**
59
+ * @remarks
60
+ * The display name of the skill.
61
+ *
50
62
  * @example
51
- * 事实核查
63
+ * Fact check
52
64
  */
53
65
  displayName?: string;
54
66
  /**
67
+ * @remarks
68
+ * Specifies whether to enable the skill. Default value: true.
69
+ *
55
70
  * @example
56
71
  * true
57
72
  */
58
73
  enable?: boolean;
59
74
  /**
75
+ * @remarks
76
+ * The complete list of files for the skill. The list must include SKILL.md in the root directory.
77
+ *
60
78
  * @example
61
- * [{"name":"SKILL.md","content":"---\nname: fact-check\ndescription: 核对回答中的事实依据\n---\n逐项核对回答中的事实,并列出依据。"}]
79
+ * [{"name":"SKILL.md","content":"---\nname: fact-check\ndescription: Verify the factual basis in the response\n---\nVerify the facts in the response item by item and list the evidence."}]
62
80
  */
63
81
  files?: CreateEvaluatorRequestSkillsFiles[];
64
82
  /**
83
+ * @remarks
84
+ * The name of the skill. The name must be unique in the list of skills submitted in this request.
85
+ *
65
86
  * @example
66
87
  * fact-check
67
88
  */
@@ -109,23 +130,23 @@ export class CreateEvaluatorRequest extends $dara.Model {
109
130
  annotations?: string[];
110
131
  /**
111
132
  * @remarks
112
- * The evaluator configuration. LLM/AGENT types typically include prompt, variables, and outputSchema. CODE types typically include codeType, faasConfig, variables, and parameters.
133
+ * The evaluator configuration. For LLM or AGENT evaluators, the configuration typically includes prompt, variables, and outputSchema. For CODE evaluators, it typically includes codeType, faasConfig, variables, and parameters.
113
134
  *
114
135
  * @example
115
- * {"prompt":"Please evaluate task completion","variables":[{"name":"input"}]}
136
+ * {"prompt":"Please evaluate the task completion","variables":[{"name":"input"}]}
116
137
  */
117
138
  config?: { [key: string]: any };
118
139
  /**
119
140
  * @remarks
120
- * The description of the evaluator. Maximum length: 256 characters.
141
+ * The description of the evaluator. The description can be up to 256 characters in length.
121
142
  *
122
143
  * @example
123
- * Determines whether the Agent completed the user task
144
+ * Determines whether the agent completes the user task
124
145
  */
125
146
  description?: string;
126
147
  /**
127
148
  * @remarks
128
- * The display name. Maximum length: 128 characters.
149
+ * The display name. The name can be up to 128 characters in length.
129
150
  *
130
151
  * @example
131
152
  * Trace task completion
@@ -133,7 +154,7 @@ export class CreateEvaluatorRequest extends $dara.Model {
133
154
  displayName?: string;
134
155
  /**
135
156
  * @remarks
136
- * The evaluation metric name.
157
+ * The name of the evaluation metric.
137
158
  *
138
159
  * This parameter is required.
139
160
  *
@@ -143,7 +164,7 @@ export class CreateEvaluatorRequest extends $dara.Model {
143
164
  metricName?: string;
144
165
  /**
145
166
  * @remarks
146
- * The evaluator name. The name cannot start with a system-reserved prefix. Maximum length: 128 characters.
167
+ * The name of the evaluator. The name cannot start with a system-reserved prefix and can be up to 128 characters in length.
147
168
  *
148
169
  * This parameter is required.
149
170
  *
@@ -160,21 +181,24 @@ export class CreateEvaluatorRequest extends $dara.Model {
160
181
  */
161
182
  properties?: { [key: string]: any };
162
183
  /**
184
+ * @remarks
185
+ * The list of business skills for the initial version of a standard agent evaluator.
186
+ *
163
187
  * @example
164
- * [{"skillName":"fact-check","files":[{"name":"SKILL.md","content":"---\nname: fact-check\ndescription: 核对回答中的事实依据\n---\n逐项核对回答中的事实,并列出依据。"}]}]
188
+ * [{"skillName":"fact-check","files":[{"name":"SKILL.md","content":"---\nname: fact-check\ndescription: Verify the factual basis in the response\n---\nVerify the facts in the response item by item and list the evidence."}]}]
165
189
  */
166
190
  skills?: CreateEvaluatorRequestSkills[];
167
191
  /**
192
+ * @remarks
193
+ * The initial version status. Set this parameter to DRAFT to save the evaluator as a draft. If you omit this parameter, the initial version is directly published.
194
+ *
168
195
  * @example
169
196
  * DRAFT
170
197
  */
171
198
  status?: string;
172
199
  /**
173
200
  * @remarks
174
- * The evaluator type. Valid values:
175
- * - LLM: an inner join large language model evaluation evaluator.
176
- * - AGENT: a StarOps digital worker evaluator.
177
- * - CODE: a code evaluator.
201
+ * The type of the evaluator. `LLM` indicates an inner join model evaluation tool for large language models, `AGENT` indicates a StarOps digital employee evaluator, and `CODE` indicates a code evaluator.
178
202
  *
179
203
  * This parameter is required.
180
204
  *
@@ -202,7 +226,7 @@ export class CreateEvaluatorRequest extends $dara.Model {
202
226
  versionDescription?: string;
203
227
  /**
204
228
  * @remarks
205
- * The idempotency token. This is a unique string generated by the client to ensure idempotence of the create operation. CloudSpec declares this query parameter, but the backend does not currently perform idempotency checks.
229
+ * The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency checks.
206
230
  *
207
231
  * @example
208
232
  * a1b2c3d4-1234-5678-90ab-cdef12345678
@@ -5,7 +5,7 @@ import * as $dara from '@darabonba/typescript';
5
5
  export class CreateEvaluatorResponseBody extends $dara.Model {
6
6
  /**
7
7
  * @remarks
8
- * The evaluator name.
8
+ * The name of the evaluator.
9
9
  *
10
10
  * @example
11
11
  * trace_task_completion
@@ -21,7 +21,7 @@ export class CreateEvaluatorResponseBody extends $dara.Model {
21
21
  requestId?: string;
22
22
  /**
23
23
  * @remarks
24
- * The version number that is created.
24
+ * The created version number.
25
25
  *
26
26
  * @example
27
27
  * 1.0.0
@@ -25,7 +25,7 @@ export class CreateEvaluatorSkillRequestFiles extends $dara.Model {
25
25
  name?: string;
26
26
  /**
27
27
  * @remarks
28
- * The remark for the file.
28
+ * The remark of the file.
29
29
  *
30
30
  * @example
31
31
  * Main skill description
@@ -59,7 +59,7 @@ export class CreateEvaluatorSkillRequestFiles extends $dara.Model {
59
59
  export class CreateEvaluatorSkillRequest extends $dara.Model {
60
60
  /**
61
61
  * @remarks
62
- * The AgentSpace name.
62
+ * The name of the AgentSpace.
63
63
  *
64
64
  * This parameter is required.
65
65
  *
@@ -69,10 +69,10 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
69
69
  agentSpace?: string;
70
70
  /**
71
71
  * @remarks
72
- * The skill description.
72
+ * The description of the skill.
73
73
  *
74
74
  * @example
75
- * Reads trace context to assist evaluation
75
+ * Read trace context to assist evaluation
76
76
  */
77
77
  description?: string;
78
78
  /**
@@ -80,7 +80,7 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
80
80
  * The display name of the skill.
81
81
  *
82
82
  * @example
83
- * Trace Context Loader
83
+ * Read Trace Context
84
84
  */
85
85
  displayName?: string;
86
86
  /**
@@ -92,6 +92,9 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
92
92
  */
93
93
  enable?: boolean;
94
94
  /**
95
+ * @remarks
96
+ * The target evaluator version number for creating the skill. If omitted, the latestVersion of the evaluator is used.
97
+ *
95
98
  * @example
96
99
  * v2
97
100
  */
@@ -108,7 +111,7 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
108
111
  files?: CreateEvaluatorSkillRequestFiles[];
109
112
  /**
110
113
  * @remarks
111
- * The skill name.
114
+ * The name of the skill.
112
115
  *
113
116
  * This parameter is required.
114
117
  *
@@ -118,7 +121,7 @@ export class CreateEvaluatorSkillRequest extends $dara.Model {
118
121
  skillName?: string;
119
122
  /**
120
123
  * @remarks
121
- * The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency comparison.
124
+ * The idempotency token. CloudSpec declares this query parameter, but the backend does not currently perform idempotency checks.
122
125
  *
123
126
  * @example
124
127
  * a1b2c3d4-1234-5678-90ab-cdef12345678