@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.
- package/dist/client.d.ts +14 -14
- package/dist/client.js +31 -14
- package/dist/client.js.map +1 -1
- package/dist/models/CreateContextStoreRequest.d.ts +364 -2
- package/dist/models/CreateContextStoreRequest.js +365 -1
- package/dist/models/CreateContextStoreRequest.js.map +1 -1
- package/dist/models/CreateContextStoreResponseBody.d.ts +5 -0
- package/dist/models/CreateContextStoreResponseBody.js +2 -0
- package/dist/models/CreateContextStoreResponseBody.js.map +1 -1
- package/dist/models/CreatePipelineRequest.d.ts +148 -39
- package/dist/models/CreatePipelineRequest.js +76 -1
- package/dist/models/CreatePipelineRequest.js.map +1 -1
- package/dist/models/CreatePipelineResponseBody.d.ts +1 -1
- package/dist/models/DeleteContextStoreRequest.d.ts +8 -0
- package/dist/models/DeleteContextStoreRequest.js +6 -2
- package/dist/models/DeleteContextStoreRequest.js.map +1 -1
- package/dist/models/DeleteContextStoreResponseBody.d.ts +1 -1
- package/dist/models/GetContextStoreResponseBody.d.ts +489 -0
- package/dist/models/GetContextStoreResponseBody.js +486 -1
- package/dist/models/GetContextStoreResponseBody.js.map +1 -1
- package/dist/models/GetPipelineResponseBody.d.ts +157 -42
- package/dist/models/GetPipelineResponseBody.js +78 -1
- package/dist/models/GetPipelineResponseBody.js.map +1 -1
- package/dist/models/ListContextStoresRequest.d.ts +5 -0
- package/dist/models/ListContextStoresRequest.js +2 -0
- package/dist/models/ListContextStoresRequest.js.map +1 -1
- package/dist/models/ListContextStoresResponseBody.d.ts +10 -0
- package/dist/models/ListContextStoresResponseBody.js +4 -0
- package/dist/models/ListContextStoresResponseBody.js.map +1 -1
- package/dist/models/ListPipelinesResponseBody.d.ts +111 -0
- package/dist/models/ListPipelinesResponseBody.js +102 -1
- package/dist/models/ListPipelinesResponseBody.js.map +1 -1
- package/dist/models/MetaSchemaValue.d.ts +21 -0
- package/dist/models/MetaSchemaValue.js +58 -0
- package/dist/models/MetaSchemaValue.js.map +1 -0
- package/dist/models/PreviewPipelineRequest.d.ts +91 -17
- package/dist/models/PreviewPipelineRequest.js +52 -1
- package/dist/models/PreviewPipelineRequest.js.map +1 -1
- package/dist/models/PreviewPipelineResponseBody.d.ts +45 -16
- package/dist/models/PreviewPipelineResponseBody.js +6 -0
- package/dist/models/PreviewPipelineResponseBody.js.map +1 -1
- package/dist/models/SearchContextRequest.d.ts +38 -0
- package/dist/models/SearchContextRequest.js +33 -1
- package/dist/models/SearchContextRequest.js.map +1 -1
- package/dist/models/SearchContextResponseBody.d.ts +10 -0
- package/dist/models/SearchContextResponseBody.js +4 -0
- package/dist/models/SearchContextResponseBody.js.map +1 -1
- package/dist/models/UpdateContextStoreRequest.d.ts +479 -9
- package/dist/models/UpdateContextStoreRequest.js +331 -1
- package/dist/models/UpdateContextStoreRequest.js.map +1 -1
- package/dist/models/UpdateContextStoreResponseBody.d.ts +8 -0
- package/dist/models/UpdateContextStoreResponseBody.js +2 -0
- package/dist/models/UpdateContextStoreResponseBody.js.map +1 -1
- package/dist/models/UpdatePipelineRequest.d.ts +140 -32
- package/dist/models/UpdatePipelineRequest.js +76 -1
- package/dist/models/UpdatePipelineRequest.js.map +1 -1
- package/dist/models/UpdatePipelineResponseBody.d.ts +1 -1
- package/dist/models/model.d.ts +56 -0
- package/dist/models/model.js +211 -98
- package/dist/models/model.js.map +1 -1
- package/package.json +1 -1
- package/src/client.ts +36 -14
- package/src/models/CreateContextStoreRequest.ts +620 -2
- package/src/models/CreateContextStoreResponseBody.ts +7 -0
- package/src/models/CreatePipelineRequest.ts +196 -39
- package/src/models/CreatePipelineResponseBody.ts +1 -1
- package/src/models/DeleteContextStoreRequest.ts +10 -0
- package/src/models/DeleteContextStoreResponseBody.ts +1 -1
- package/src/models/GetContextStoreResponseBody.ts +828 -0
- package/src/models/GetPipelineResponseBody.ts +207 -42
- package/src/models/ListContextStoresRequest.ts +7 -0
- package/src/models/ListContextStoresResponseBody.ts +14 -0
- package/src/models/ListPipelinesResponseBody.ts +176 -0
- package/src/models/MetaSchemaValue.ts +34 -0
- package/src/models/PreviewPipelineRequest.ts +124 -17
- package/src/models/PreviewPipelineResponseBody.ts +48 -16
- package/src/models/SearchContextRequest.ts +61 -0
- package/src/models/SearchContextResponseBody.ts +14 -0
- package/src/models/UpdateContextStoreRequest.ts +710 -9
- package/src/models/UpdateContextStoreResponseBody.ts +10 -0
- package/src/models/UpdatePipelineRequest.ts +188 -32
- package/src/models/UpdatePipelineResponseBody.ts +1 -1
- 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.
|
|
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
|
-
* ##
|
|
1004
|
-
* - **agentSpace** must be an AgentSpace instance
|
|
1005
|
-
* - **source.type** currently supports only the `logstore` type
|
|
1006
|
-
* - **pipeline.nodes** must contain at least one
|
|
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
|
|
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.
|
|
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
|
-
* ##
|
|
1023
|
-
* - **agentSpace** must be an AgentSpace instance
|
|
1024
|
-
* - **source.type** currently supports only the `logstore` type
|
|
1025
|
-
* - **pipeline.nodes** must contain at least one
|
|
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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
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.
|
|
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
|
-
* ##
|
|
2595
|
-
* - **agentSpace** must be an AgentSpace instance
|
|
2596
|
-
* - **source.type** currently supports only the `logstore` type
|
|
2597
|
-
* - **pipeline.nodes** must contain at least one
|
|
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
|
|
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.
|
|
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
|
-
* ##
|
|
2643
|
-
* - **agentSpace** must be an AgentSpace instance
|
|
2644
|
-
* - **source.type** currently supports only the `logstore` type
|
|
2645
|
-
* - **pipeline.nodes** must contain at least one
|
|
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
|
|
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
|
-
*
|
|
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
|
-
*
|
|
2954
|
+
* Updates the context store configuration.
|
|
2938
2955
|
*
|
|
2939
2956
|
* @param request - UpdateContextStoreRequest
|
|
2940
2957
|
* @returns UpdateContextStoreResponse
|