@alicloud/agentloop20260520 2.3.7 → 2.3.9

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 (83) hide show
  1. package/dist/client.d.ts +14 -14
  2. package/dist/client.js +31 -14
  3. package/dist/client.js.map +1 -1
  4. package/dist/models/CreateContextStoreRequest.d.ts +364 -2
  5. package/dist/models/CreateContextStoreRequest.js +365 -1
  6. package/dist/models/CreateContextStoreRequest.js.map +1 -1
  7. package/dist/models/CreateContextStoreResponseBody.d.ts +5 -0
  8. package/dist/models/CreateContextStoreResponseBody.js +2 -0
  9. package/dist/models/CreateContextStoreResponseBody.js.map +1 -1
  10. package/dist/models/CreatePipelineRequest.d.ts +148 -39
  11. package/dist/models/CreatePipelineRequest.js +76 -1
  12. package/dist/models/CreatePipelineRequest.js.map +1 -1
  13. package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
  14. package/dist/models/DeleteContextStoreRequest.d.ts +8 -0
  15. package/dist/models/DeleteContextStoreRequest.js +6 -2
  16. package/dist/models/DeleteContextStoreRequest.js.map +1 -1
  17. package/dist/models/DeleteContextStoreResponseBody.d.ts +1 -1
  18. package/dist/models/GetContextStoreResponseBody.d.ts +489 -0
  19. package/dist/models/GetContextStoreResponseBody.js +486 -1
  20. package/dist/models/GetContextStoreResponseBody.js.map +1 -1
  21. package/dist/models/GetPipelineResponseBody.d.ts +157 -42
  22. package/dist/models/GetPipelineResponseBody.js +78 -1
  23. package/dist/models/GetPipelineResponseBody.js.map +1 -1
  24. package/dist/models/ListContextStoresRequest.d.ts +5 -0
  25. package/dist/models/ListContextStoresRequest.js +2 -0
  26. package/dist/models/ListContextStoresRequest.js.map +1 -1
  27. package/dist/models/ListContextStoresResponseBody.d.ts +10 -0
  28. package/dist/models/ListContextStoresResponseBody.js +4 -0
  29. package/dist/models/ListContextStoresResponseBody.js.map +1 -1
  30. package/dist/models/ListPipelinesResponseBody.d.ts +111 -0
  31. package/dist/models/ListPipelinesResponseBody.js +102 -1
  32. package/dist/models/ListPipelinesResponseBody.js.map +1 -1
  33. package/dist/models/MetaSchemaValue.d.ts +21 -0
  34. package/dist/models/MetaSchemaValue.js +58 -0
  35. package/dist/models/MetaSchemaValue.js.map +1 -0
  36. package/dist/models/PreviewPipelineRequest.d.ts +91 -17
  37. package/dist/models/PreviewPipelineRequest.js +52 -1
  38. package/dist/models/PreviewPipelineRequest.js.map +1 -1
  39. package/dist/models/PreviewPipelineResponseBody.d.ts +45 -16
  40. package/dist/models/PreviewPipelineResponseBody.js +6 -0
  41. package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
  42. package/dist/models/SearchContextRequest.d.ts +38 -0
  43. package/dist/models/SearchContextRequest.js +33 -1
  44. package/dist/models/SearchContextRequest.js.map +1 -1
  45. package/dist/models/SearchContextResponseBody.d.ts +10 -0
  46. package/dist/models/SearchContextResponseBody.js +4 -0
  47. package/dist/models/SearchContextResponseBody.js.map +1 -1
  48. package/dist/models/UpdateContextStoreRequest.d.ts +479 -9
  49. package/dist/models/UpdateContextStoreRequest.js +331 -1
  50. package/dist/models/UpdateContextStoreRequest.js.map +1 -1
  51. package/dist/models/UpdateContextStoreResponseBody.d.ts +8 -0
  52. package/dist/models/UpdateContextStoreResponseBody.js +2 -0
  53. package/dist/models/UpdateContextStoreResponseBody.js.map +1 -1
  54. package/dist/models/UpdatePipelineRequest.d.ts +140 -32
  55. package/dist/models/UpdatePipelineRequest.js +76 -1
  56. package/dist/models/UpdatePipelineRequest.js.map +1 -1
  57. package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
  58. package/dist/models/model.d.ts +56 -0
  59. package/dist/models/model.js +211 -98
  60. package/dist/models/model.js.map +1 -1
  61. package/package.json +1 -1
  62. package/src/client.ts +36 -14
  63. package/src/models/CreateContextStoreRequest.ts +620 -2
  64. package/src/models/CreateContextStoreResponseBody.ts +7 -0
  65. package/src/models/CreatePipelineRequest.ts +196 -39
  66. package/src/models/CreatePipelineResponseBody.ts +1 -1
  67. package/src/models/DeleteContextStoreRequest.ts +10 -0
  68. package/src/models/DeleteContextStoreResponseBody.ts +1 -1
  69. package/src/models/GetContextStoreResponseBody.ts +828 -0
  70. package/src/models/GetPipelineResponseBody.ts +207 -42
  71. package/src/models/ListContextStoresRequest.ts +7 -0
  72. package/src/models/ListContextStoresResponseBody.ts +14 -0
  73. package/src/models/ListPipelinesResponseBody.ts +176 -0
  74. package/src/models/MetaSchemaValue.ts +34 -0
  75. package/src/models/PreviewPipelineRequest.ts +124 -17
  76. package/src/models/PreviewPipelineResponseBody.ts +48 -16
  77. package/src/models/SearchContextRequest.ts +61 -0
  78. package/src/models/SearchContextResponseBody.ts +14 -0
  79. package/src/models/UpdateContextStoreRequest.ts +710 -9
  80. package/src/models/UpdateContextStoreResponseBody.ts +10 -0
  81. package/src/models/UpdatePipelineRequest.ts +188 -32
  82. package/src/models/UpdatePipelineResponseBody.ts +1 -1
  83. package/src/models/model.ts +56 -0
package/dist/client.d.ts CHANGED
@@ -997,15 +997,15 @@ export default class Client extends OpenApi {
997
997
  */
998
998
  pausePipeline(agentSpace: string, pipelineName: string, request: $_model.PausePipelineRequest): Promise<$_model.PausePipelineResponse>;
999
999
  /**
1000
- * Previews a pipeline. Without creating pipeline resources, this operation performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records to authenticate parameter settings and preview processing results.
1000
+ * Previews a pipeline. Runs a trial query based on the specified data source, node orchestration, and time range without creating pipeline resources, and returns a small amount of sample data to authenticate parameter settings and preview processing results.
1001
1001
  *
1002
1002
  * @remarks
1003
- * ## Operation description
1004
- * - **agentSpace** must be an AgentSpace instance that has been created under the current account.
1005
- * - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and located in the same region.
1006
- * - **pipeline.nodes** must contain at least one node of the `Source` type and cannot be empty.
1003
+ * ## Request description
1004
+ * - **agentSpace** must be an AgentSpace instance created under the current account.
1005
+ * - **source.type** currently supports only the `logstore` type, and `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and reside in the same region.
1006
+ * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
1007
1007
  * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
1008
- * - A maximum of 5 records are returned. Internal fields of the data source system are automatically filtered out.
1008
+ * - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
1009
1009
  *
1010
1010
  * @param request - PreviewPipelineRequest
1011
1011
  * @param headers - map
@@ -1016,15 +1016,15 @@ export default class Client extends OpenApi {
1016
1016
  [key: string]: string;
1017
1017
  }, runtime: $dara.RuntimeOptions): Promise<$_model.PreviewPipelineResponse>;
1018
1018
  /**
1019
- * Previews a pipeline. Without creating pipeline resources, this operation performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records to authenticate parameter settings and preview processing results.
1019
+ * Previews a pipeline. Runs a trial query based on the specified data source, node orchestration, and time range without creating pipeline resources, and returns a small amount of sample data to authenticate parameter settings and preview processing results.
1020
1020
  *
1021
1021
  * @remarks
1022
- * ## Operation description
1023
- * - **agentSpace** must be an AgentSpace instance that has been created under the current account.
1024
- * - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and located in the same region.
1025
- * - **pipeline.nodes** must contain at least one node of the `Source` type and cannot be empty.
1022
+ * ## Request description
1023
+ * - **agentSpace** must be an AgentSpace instance created under the current account.
1024
+ * - **source.type** currently supports only the `logstore` type, and `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and reside in the same region.
1025
+ * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
1026
1026
  * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
1027
- * - A maximum of 5 records are returned. Internal fields of the data source system are automatically filtered out.
1027
+ * - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
1028
1028
  *
1029
1029
  * @param request - PreviewPipelineRequest
1030
1030
  * @returns PreviewPipelineResponse
@@ -1121,7 +1121,7 @@ export default class Client extends OpenApi {
1121
1121
  */
1122
1122
  updateAgentSpace(agentSpace: string, request: $_model.UpdateAgentSpaceRequest): Promise<$_model.UpdateAgentSpaceResponse>;
1123
1123
  /**
1124
- * Modifies the configuration of a context store.
1124
+ * Updates the context store configuration.
1125
1125
  *
1126
1126
  * @param request - UpdateContextStoreRequest
1127
1127
  * @param headers - map
@@ -1132,7 +1132,7 @@ export default class Client extends OpenApi {
1132
1132
  [key: string]: string;
1133
1133
  }, runtime: $dara.RuntimeOptions): Promise<$_model.UpdateContextStoreResponse>;
1134
1134
  /**
1135
- * Modifies the configuration of a context store.
1135
+ * Updates the context store configuration.
1136
1136
  *
1137
1137
  * @param request - UpdateContextStoreRequest
1138
1138
  * @returns UpdateContextStoreResponse
package/dist/client.js CHANGED
@@ -850,8 +850,13 @@ class Client extends openapi_core_1.default {
850
850
  */
851
851
  async deleteContextStoreWithOptions(agentSpace, contextStoreName, request, headers, runtime) {
852
852
  request.validate();
853
+ let query = {};
854
+ if (!$dara.isNull(request.deleteOutputDataset)) {
855
+ query["deleteOutputDataset"] = request.deleteOutputDataset;
856
+ }
853
857
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
854
858
  headers: headers,
859
+ query: openapi_core_2.OpenApiUtil.query(query),
855
860
  });
856
861
  let params = new openapi_core_2.$OpenApiUtil.Params({
857
862
  action: "DeleteContextStore",
@@ -1996,6 +2001,9 @@ class Client extends openapi_core_1.default {
1996
2001
  if (!$dara.isNull(request.nextToken)) {
1997
2002
  query["nextToken"] = request.nextToken;
1998
2003
  }
2004
+ if (!$dara.isNull(request.sourceType)) {
2005
+ query["sourceType"] = request.sourceType;
2006
+ }
1999
2007
  let req = new openapi_core_2.$OpenApiUtil.OpenApiRequest({
2000
2008
  headers: headers,
2001
2009
  query: openapi_core_2.OpenApiUtil.query(query),
@@ -2588,15 +2596,15 @@ class Client extends openapi_core_1.default {
2588
2596
  return await this.pausePipelineWithOptions(agentSpace, pipelineName, request, headers, runtime);
2589
2597
  }
2590
2598
  /**
2591
- * Previews a pipeline. Without creating pipeline resources, this operation performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records to authenticate parameter settings and preview processing results.
2599
+ * Previews a pipeline. Runs a trial query based on the specified data source, node orchestration, and time range without creating pipeline resources, and returns a small amount of sample data to authenticate parameter settings and preview processing results.
2592
2600
  *
2593
2601
  * @remarks
2594
- * ## Operation description
2595
- * - **agentSpace** must be an AgentSpace instance that has been created under the current account.
2596
- * - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and located in the same region.
2597
- * - **pipeline.nodes** must contain at least one node of the `Source` type and cannot be empty.
2602
+ * ## Request description
2603
+ * - **agentSpace** must be an AgentSpace instance created under the current account.
2604
+ * - **source.type** currently supports only the `logstore` type, and `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and reside in the same region.
2605
+ * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
2598
2606
  * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
2599
- * - A maximum of 5 records are returned. Internal fields of the data source system are automatically filtered out.
2607
+ * - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
2600
2608
  *
2601
2609
  * @param request - PreviewPipelineRequest
2602
2610
  * @param headers - map
@@ -2636,15 +2644,15 @@ class Client extends openapi_core_1.default {
2636
2644
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.PreviewPipelineResponse({}));
2637
2645
  }
2638
2646
  /**
2639
- * Previews a pipeline. Without creating pipeline resources, this operation performs a trial query based on the specified data source, node orchestration, and time range, and returns a small number of sample data records to authenticate parameter settings and preview processing results.
2647
+ * Previews a pipeline. Runs a trial query based on the specified data source, node orchestration, and time range without creating pipeline resources, and returns a small amount of sample data to authenticate parameter settings and preview processing results.
2640
2648
  *
2641
2649
  * @remarks
2642
- * ## Operation description
2643
- * - **agentSpace** must be an AgentSpace instance that has been created under the current account.
2644
- * - **source.type** currently supports only the `logstore` type. The `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and located in the same region.
2645
- * - **pipeline.nodes** must contain at least one node of the `Source` type and cannot be empty.
2650
+ * ## Request description
2651
+ * - **agentSpace** must be an AgentSpace instance created under the current account.
2652
+ * - **source.type** currently supports only the `logstore` type, and `logstore.project` and `logstore.logstore` must be authorized within the AgentSpace and reside in the same region.
2653
+ * - **pipeline.nodes** must contain at least one `Source` node and cannot be empty.
2646
2654
  * - **fromTime** and **toTime** are UNIX timestamps in seconds. **fromTime** must be earlier than **toTime**.
2647
- * - A maximum of 5 records are returned. Internal fields of the data source system are automatically filtered out.
2655
+ * - A maximum of 5 records are returned, and internal fields of the data source system are automatically filtered out.
2648
2656
  *
2649
2657
  * @param request - PreviewPipelineRequest
2650
2658
  * @returns PreviewPipelineResponse
@@ -2756,6 +2764,9 @@ class Client extends openapi_core_1.default {
2756
2764
  if (!$dara.isNull(request.formatted)) {
2757
2765
  body["formatted"] = request.formatted;
2758
2766
  }
2767
+ if (!$dara.isNull(request.includeInactive)) {
2768
+ body["includeInactive"] = request.includeInactive;
2769
+ }
2759
2770
  if (!$dara.isNull(request.limit)) {
2760
2771
  body["limit"] = request.limit;
2761
2772
  }
@@ -2765,6 +2776,9 @@ class Client extends openapi_core_1.default {
2765
2776
  if (!$dara.isNull(request.retrievalOption)) {
2766
2777
  body["retrievalOption"] = request.retrievalOption;
2767
2778
  }
2779
+ if (!$dara.isNull(request.scope)) {
2780
+ body["scope"] = request.scope;
2781
+ }
2768
2782
  if (!$dara.isNull(request.threshold)) {
2769
2783
  body["threshold"] = request.threshold;
2770
2784
  }
@@ -2889,7 +2903,7 @@ class Client extends openapi_core_1.default {
2889
2903
  return await this.updateAgentSpaceWithOptions(agentSpace, request, headers, runtime);
2890
2904
  }
2891
2905
  /**
2892
- * Modifies the configuration of a context store.
2906
+ * Updates the context store configuration.
2893
2907
  *
2894
2908
  * @param request - UpdateContextStoreRequest
2895
2909
  * @param headers - map
@@ -2903,6 +2917,9 @@ class Client extends openapi_core_1.default {
2903
2917
  query["clientToken"] = request.clientToken;
2904
2918
  }
2905
2919
  let body = {};
2920
+ if (!$dara.isNull(request.changeNote)) {
2921
+ body["changeNote"] = request.changeNote;
2922
+ }
2906
2923
  if (!$dara.isNull(request.config)) {
2907
2924
  body["config"] = request.config;
2908
2925
  }
@@ -2934,7 +2951,7 @@ class Client extends openapi_core_1.default {
2934
2951
  return $dara.cast(await this.callApi(params, req, runtime), new $_model.UpdateContextStoreResponse({}));
2935
2952
  }
2936
2953
  /**
2937
- * Modifies the configuration of a context store.
2954
+ * Updates the context store configuration.
2938
2955
  *
2939
2956
  * @param request - UpdateContextStoreRequest
2940
2957
  * @returns UpdateContextStoreResponse