@yuntijs/arcadia-bff-sdk 1.2.174 → 1.2.176
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/cjs/index.d.ts +7 -7
- package/dist/cjs/sdk.d.ts +26 -4
- package/dist/cjs/sdk.js +1 -1
- package/dist/cjs/taro.d.ts +5 -5
- package/dist/esm/index.d.ts +7 -7
- package/dist/esm/sdk.d.ts +26 -4
- package/dist/esm/sdk.js +1 -1
- package/dist/esm/taro.d.ts +5 -5
- package/dist/umd/index.min.js +1 -1
- package/dist/umd/index.min.js.map +1 -1
- package/package.json +1 -1
package/dist/cjs/index.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export declare const sdk: {
|
|
|
30
30
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
31
31
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
32
32
|
useListAgents(variables: import("./sdk").Exact<{
|
|
33
|
-
input: import("./sdk").
|
|
33
|
+
input: import("./sdk").ListAgentInput;
|
|
34
34
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
35
35
|
useListAgentPrompt(variables: import("./sdk").Exact<{
|
|
36
36
|
namespacedname: string;
|
|
@@ -342,7 +342,7 @@ export declare const sdk: {
|
|
|
342
342
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
343
343
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
344
344
|
listAgents(variables: import("./sdk").Exact<{
|
|
345
|
-
input: import("./sdk").
|
|
345
|
+
input: import("./sdk").ListAgentInput;
|
|
346
346
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
347
347
|
listAgentPrompt(variables: import("./sdk").Exact<{
|
|
348
348
|
namespacedname: string;
|
|
@@ -901,7 +901,7 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
901
901
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
902
902
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
903
903
|
listAgents(variables: import("./sdk").Exact<{
|
|
904
|
-
input: import("./sdk").
|
|
904
|
+
input: import("./sdk").ListAgentInput;
|
|
905
905
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
906
906
|
listAgentPrompt(variables: import("./sdk").Exact<{
|
|
907
907
|
namespacedname: string;
|
|
@@ -1375,7 +1375,7 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1375
1375
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
1376
1376
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
1377
1377
|
useListAgents(variables: import("./sdk").Exact<{
|
|
1378
|
-
input: import("./sdk").
|
|
1378
|
+
input: import("./sdk").ListAgentInput;
|
|
1379
1379
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
1380
1380
|
useListAgentPrompt(variables: import("./sdk").Exact<{
|
|
1381
1381
|
namespacedname: string;
|
|
@@ -1687,7 +1687,7 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1687
1687
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
1688
1688
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
1689
1689
|
listAgents(variables: import("./sdk").Exact<{
|
|
1690
|
-
input: import("./sdk").
|
|
1690
|
+
input: import("./sdk").ListAgentInput;
|
|
1691
1691
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
1692
1692
|
listAgentPrompt(variables: import("./sdk").Exact<{
|
|
1693
1693
|
namespacedname: string;
|
|
@@ -2161,7 +2161,7 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2161
2161
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
2162
2162
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
2163
2163
|
useListAgents(variables: import("./sdk").Exact<{
|
|
2164
|
-
input: import("./sdk").
|
|
2164
|
+
input: import("./sdk").ListAgentInput;
|
|
2165
2165
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
2166
2166
|
useListAgentPrompt(variables: import("./sdk").Exact<{
|
|
2167
2167
|
namespacedname: string;
|
|
@@ -2473,7 +2473,7 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2473
2473
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
2474
2474
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
2475
2475
|
listAgents(variables: import("./sdk").Exact<{
|
|
2476
|
-
input: import("./sdk").
|
|
2476
|
+
input: import("./sdk").ListAgentInput;
|
|
2477
2477
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
2478
2478
|
listAgentPrompt(variables: import("./sdk").Exact<{
|
|
2479
2479
|
namespacedname: string;
|
package/dist/cjs/sdk.d.ts
CHANGED
|
@@ -439,7 +439,7 @@ export type AgentQueryListAgentInvocationLogsArgs = {
|
|
|
439
439
|
input?: InputMaybe<ListAgentInvocationLogsInput>;
|
|
440
440
|
};
|
|
441
441
|
export type AgentQueryListAgentMetadataArgs = {
|
|
442
|
-
input:
|
|
442
|
+
input: ListAgentInput;
|
|
443
443
|
};
|
|
444
444
|
export type AgentQueryListAgentPromptArgs = {
|
|
445
445
|
namespacedname: Scalars['String']['input'];
|
|
@@ -1952,6 +1952,28 @@ export type LabelSelectorRequirementInput = {
|
|
|
1952
1952
|
operator?: InputMaybe<Scalars['String']['input']>;
|
|
1953
1953
|
values?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1954
1954
|
};
|
|
1955
|
+
export type ListAgentInput = {
|
|
1956
|
+
/** 分类 */
|
|
1957
|
+
category?: InputMaybe<Scalars['String']['input']>;
|
|
1958
|
+
/** 是否已有发布 */
|
|
1959
|
+
isPublish?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1960
|
+
/** 是否推荐 */
|
|
1961
|
+
isRecommended?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1962
|
+
/** 关键词: 模糊匹配 */
|
|
1963
|
+
keyword?: InputMaybe<Scalars['String']['input']>;
|
|
1964
|
+
/** 资源所在的命名空间 */
|
|
1965
|
+
namespace: Scalars['String']['input'];
|
|
1966
|
+
/**
|
|
1967
|
+
* 分页页码,
|
|
1968
|
+
* 规则: 从1开始,默认是1
|
|
1969
|
+
*/
|
|
1970
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1971
|
+
/**
|
|
1972
|
+
* 每页数量,
|
|
1973
|
+
* 规则: -1,返回全部
|
|
1974
|
+
*/
|
|
1975
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1976
|
+
};
|
|
1955
1977
|
export type ListAgentInvocationLogTagsResult = {
|
|
1956
1978
|
__typename?: 'ListAgentInvocationLogTagsResult';
|
|
1957
1979
|
data?: Maybe<Array<AgentInvocationLogTag>>;
|
|
@@ -3578,7 +3600,7 @@ export type UpdateAgentMetadataInput = {
|
|
|
3578
3600
|
/** 描述信息 */
|
|
3579
3601
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
3580
3602
|
/** 展示名,别名 */
|
|
3581
|
-
displayName
|
|
3603
|
+
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
3582
3604
|
/** 空搜索回复 */
|
|
3583
3605
|
docNullReturn?: InputMaybe<Scalars['String']['input']>;
|
|
3584
3606
|
/** 是否启用在线搜索 */
|
|
@@ -5089,7 +5111,7 @@ export type GetAgentReleaseHistoryQuery = {
|
|
|
5089
5111
|
} | null;
|
|
5090
5112
|
};
|
|
5091
5113
|
export type ListAgentsQueryVariables = Exact<{
|
|
5092
|
-
input:
|
|
5114
|
+
input: ListAgentInput;
|
|
5093
5115
|
}>;
|
|
5094
5116
|
export type ListAgentsQuery = {
|
|
5095
5117
|
__typename?: 'Query';
|
|
@@ -11728,7 +11750,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
11728
11750
|
pageSize?: InputMaybe<number> | undefined;
|
|
11729
11751
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentReleaseHistoryQuery>;
|
|
11730
11752
|
listAgents(variables: Exact<{
|
|
11731
|
-
input:
|
|
11753
|
+
input: ListAgentInput;
|
|
11732
11754
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListAgentsQuery>;
|
|
11733
11755
|
listAgentPrompt(variables: Exact<{
|
|
11734
11756
|
namespacedname: string;
|
package/dist/cjs/sdk.js
CHANGED
|
@@ -639,7 +639,7 @@ var GetAgentReleaseHistoryDocument = import_graphql_tag.default`
|
|
|
639
639
|
}
|
|
640
640
|
`;
|
|
641
641
|
var ListAgentsDocument = import_graphql_tag.default`
|
|
642
|
-
query listAgents($input:
|
|
642
|
+
query listAgents($input: ListAgentInput!) {
|
|
643
643
|
Agent {
|
|
644
644
|
listAgentMetadata(input: $input) {
|
|
645
645
|
page
|
package/dist/cjs/taro.d.ts
CHANGED
|
@@ -118,7 +118,7 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
118
118
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
119
119
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
120
120
|
listAgents(variables: import("./sdk").Exact<{
|
|
121
|
-
input: import("./sdk").
|
|
121
|
+
input: import("./sdk").ListAgentInput;
|
|
122
122
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
123
123
|
listAgentPrompt(variables: import("./sdk").Exact<{
|
|
124
124
|
namespacedname: string;
|
|
@@ -592,7 +592,7 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
592
592
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
593
593
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
594
594
|
useListAgents(variables: import("./sdk").Exact<{
|
|
595
|
-
input: import("./sdk").
|
|
595
|
+
input: import("./sdk").ListAgentInput;
|
|
596
596
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
597
597
|
useListAgentPrompt(variables: import("./sdk").Exact<{
|
|
598
598
|
namespacedname: string;
|
|
@@ -904,7 +904,7 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
904
904
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
905
905
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
906
906
|
listAgents(variables: import("./sdk").Exact<{
|
|
907
|
-
input: import("./sdk").
|
|
907
|
+
input: import("./sdk").ListAgentInput;
|
|
908
908
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
909
909
|
listAgentPrompt(variables: import("./sdk").Exact<{
|
|
910
910
|
namespacedname: string;
|
|
@@ -1378,7 +1378,7 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1378
1378
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
1379
1379
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
1380
1380
|
useListAgents(variables: import("./sdk").Exact<{
|
|
1381
|
-
input: import("./sdk").
|
|
1381
|
+
input: import("./sdk").ListAgentInput;
|
|
1382
1382
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
1383
1383
|
useListAgentPrompt(variables: import("./sdk").Exact<{
|
|
1384
1384
|
namespacedname: string;
|
|
@@ -1690,7 +1690,7 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1690
1690
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
1691
1691
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
1692
1692
|
listAgents(variables: import("./sdk").Exact<{
|
|
1693
|
-
input: import("./sdk").
|
|
1693
|
+
input: import("./sdk").ListAgentInput;
|
|
1694
1694
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
1695
1695
|
listAgentPrompt(variables: import("./sdk").Exact<{
|
|
1696
1696
|
namespacedname: string;
|
package/dist/esm/index.d.ts
CHANGED
|
@@ -30,7 +30,7 @@ export declare const sdk: {
|
|
|
30
30
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
31
31
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
32
32
|
useListAgents(variables: import("./sdk").Exact<{
|
|
33
|
-
input: import("./sdk").
|
|
33
|
+
input: import("./sdk").ListAgentInput;
|
|
34
34
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
35
35
|
useListAgentPrompt(variables: import("./sdk").Exact<{
|
|
36
36
|
namespacedname: string;
|
|
@@ -342,7 +342,7 @@ export declare const sdk: {
|
|
|
342
342
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
343
343
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
344
344
|
listAgents(variables: import("./sdk").Exact<{
|
|
345
|
-
input: import("./sdk").
|
|
345
|
+
input: import("./sdk").ListAgentInput;
|
|
346
346
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
347
347
|
listAgentPrompt(variables: import("./sdk").Exact<{
|
|
348
348
|
namespacedname: string;
|
|
@@ -901,7 +901,7 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
901
901
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
902
902
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
903
903
|
listAgents(variables: import("./sdk").Exact<{
|
|
904
|
-
input: import("./sdk").
|
|
904
|
+
input: import("./sdk").ListAgentInput;
|
|
905
905
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
906
906
|
listAgentPrompt(variables: import("./sdk").Exact<{
|
|
907
907
|
namespacedname: string;
|
|
@@ -1375,7 +1375,7 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1375
1375
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
1376
1376
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
1377
1377
|
useListAgents(variables: import("./sdk").Exact<{
|
|
1378
|
-
input: import("./sdk").
|
|
1378
|
+
input: import("./sdk").ListAgentInput;
|
|
1379
1379
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
1380
1380
|
useListAgentPrompt(variables: import("./sdk").Exact<{
|
|
1381
1381
|
namespacedname: string;
|
|
@@ -1687,7 +1687,7 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
1687
1687
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
1688
1688
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
1689
1689
|
listAgents(variables: import("./sdk").Exact<{
|
|
1690
|
-
input: import("./sdk").
|
|
1690
|
+
input: import("./sdk").ListAgentInput;
|
|
1691
1691
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
1692
1692
|
listAgentPrompt(variables: import("./sdk").Exact<{
|
|
1693
1693
|
namespacedname: string;
|
|
@@ -2161,7 +2161,7 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2161
2161
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
2162
2162
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
2163
2163
|
useListAgents(variables: import("./sdk").Exact<{
|
|
2164
|
-
input: import("./sdk").
|
|
2164
|
+
input: import("./sdk").ListAgentInput;
|
|
2165
2165
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
2166
2166
|
useListAgentPrompt(variables: import("./sdk").Exact<{
|
|
2167
2167
|
namespacedname: string;
|
|
@@ -2473,7 +2473,7 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
2473
2473
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
2474
2474
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
2475
2475
|
listAgents(variables: import("./sdk").Exact<{
|
|
2476
|
-
input: import("./sdk").
|
|
2476
|
+
input: import("./sdk").ListAgentInput;
|
|
2477
2477
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
2478
2478
|
listAgentPrompt(variables: import("./sdk").Exact<{
|
|
2479
2479
|
namespacedname: string;
|
package/dist/esm/sdk.d.ts
CHANGED
|
@@ -439,7 +439,7 @@ export type AgentQueryListAgentInvocationLogsArgs = {
|
|
|
439
439
|
input?: InputMaybe<ListAgentInvocationLogsInput>;
|
|
440
440
|
};
|
|
441
441
|
export type AgentQueryListAgentMetadataArgs = {
|
|
442
|
-
input:
|
|
442
|
+
input: ListAgentInput;
|
|
443
443
|
};
|
|
444
444
|
export type AgentQueryListAgentPromptArgs = {
|
|
445
445
|
namespacedname: Scalars['String']['input'];
|
|
@@ -1952,6 +1952,28 @@ export type LabelSelectorRequirementInput = {
|
|
|
1952
1952
|
operator?: InputMaybe<Scalars['String']['input']>;
|
|
1953
1953
|
values?: InputMaybe<Array<InputMaybe<Scalars['String']['input']>>>;
|
|
1954
1954
|
};
|
|
1955
|
+
export type ListAgentInput = {
|
|
1956
|
+
/** 分类 */
|
|
1957
|
+
category?: InputMaybe<Scalars['String']['input']>;
|
|
1958
|
+
/** 是否已有发布 */
|
|
1959
|
+
isPublish?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1960
|
+
/** 是否推荐 */
|
|
1961
|
+
isRecommended?: InputMaybe<Scalars['Boolean']['input']>;
|
|
1962
|
+
/** 关键词: 模糊匹配 */
|
|
1963
|
+
keyword?: InputMaybe<Scalars['String']['input']>;
|
|
1964
|
+
/** 资源所在的命名空间 */
|
|
1965
|
+
namespace: Scalars['String']['input'];
|
|
1966
|
+
/**
|
|
1967
|
+
* 分页页码,
|
|
1968
|
+
* 规则: 从1开始,默认是1
|
|
1969
|
+
*/
|
|
1970
|
+
page?: InputMaybe<Scalars['Int']['input']>;
|
|
1971
|
+
/**
|
|
1972
|
+
* 每页数量,
|
|
1973
|
+
* 规则: -1,返回全部
|
|
1974
|
+
*/
|
|
1975
|
+
pageSize?: InputMaybe<Scalars['Int']['input']>;
|
|
1976
|
+
};
|
|
1955
1977
|
export type ListAgentInvocationLogTagsResult = {
|
|
1956
1978
|
__typename?: 'ListAgentInvocationLogTagsResult';
|
|
1957
1979
|
data?: Maybe<Array<AgentInvocationLogTag>>;
|
|
@@ -3578,7 +3600,7 @@ export type UpdateAgentMetadataInput = {
|
|
|
3578
3600
|
/** 描述信息 */
|
|
3579
3601
|
description?: InputMaybe<Scalars['String']['input']>;
|
|
3580
3602
|
/** 展示名,别名 */
|
|
3581
|
-
displayName
|
|
3603
|
+
displayName?: InputMaybe<Scalars['String']['input']>;
|
|
3582
3604
|
/** 空搜索回复 */
|
|
3583
3605
|
docNullReturn?: InputMaybe<Scalars['String']['input']>;
|
|
3584
3606
|
/** 是否启用在线搜索 */
|
|
@@ -5089,7 +5111,7 @@ export type GetAgentReleaseHistoryQuery = {
|
|
|
5089
5111
|
} | null;
|
|
5090
5112
|
};
|
|
5091
5113
|
export type ListAgentsQueryVariables = Exact<{
|
|
5092
|
-
input:
|
|
5114
|
+
input: ListAgentInput;
|
|
5093
5115
|
}>;
|
|
5094
5116
|
export type ListAgentsQuery = {
|
|
5095
5117
|
__typename?: 'Query';
|
|
@@ -11728,7 +11750,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
|
|
|
11728
11750
|
pageSize?: InputMaybe<number> | undefined;
|
|
11729
11751
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentReleaseHistoryQuery>;
|
|
11730
11752
|
listAgents(variables: Exact<{
|
|
11731
|
-
input:
|
|
11753
|
+
input: ListAgentInput;
|
|
11732
11754
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListAgentsQuery>;
|
|
11733
11755
|
listAgentPrompt(variables: Exact<{
|
|
11734
11756
|
namespacedname: string;
|
package/dist/esm/sdk.js
CHANGED
|
@@ -196,7 +196,7 @@ export var GetAgentReleaseStatusDocument = gql(_templateObject21 || (_templateOb
|
|
|
196
196
|
export var GetAgentDocument = gql(_templateObject22 || (_templateObject22 = _taggedTemplateLiteral(["\n query getAgent($name: String!, $namespace: String!) {\n Agent {\n getAgent(name: $name, namespace: $namespace) {\n metadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n background\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n isRecommended\n status\n category\n notReadyReasonCode\n platformStatus\n platforms {\n icon\n name\n displayName\n }\n modeConfig {\n mode\n workflow {\n name\n namespace\n }\n workflowInputVar\n }\n }\n prologue\n model\n llm {\n name\n namespace\n kind\n apiGroup\n }\n llmConnectID\n temperature\n maxLength\n maxTokens\n conversionWindowSize\n knowledgebases {\n name\n namespace\n }\n onDemand\n enableThinkingSwitch\n searchMode\n scoreThreshold\n numDocuments\n docNullReturn\n userPrompt\n systemPrompt\n showRetrievalInfo\n showNextGuide\n enableOnlineSearch\n plugins {\n name\n namespace\n }\n pluginConfigs {\n ... on PluginConfig {\n plugin {\n name\n namespace\n }\n toolConfigs {\n ... on ToolConfig {\n toolName\n params\n }\n }\n }\n }\n workflows {\n name\n namespace\n }\n mcpServerToolConfigs {\n ... on MCPServerToolConfig {\n mcpServerName\n mcpServerNamespace\n toolName\n params\n }\n }\n audioConfig {\n ttsReferenceID\n }\n rerankerModel\n rerankerName\n rerankerNamespace\n boxEngineConfig {\n enable\n enableFileUploadsOnly\n }\n metadata_filter {\n join\n conditions {\n ... on MetadataFilterCondition {\n field\n op\n value {\n int_value\n str_value\n time_value\n }\n type\n }\n }\n }\n }\n }\n}\n "])));
|
|
197
197
|
export var GetAgentLatestReleaseInEachPlatformDocument = gql(_templateObject23 || (_templateObject23 = _taggedTemplateLiteral(["\n query getAgentLatestReleaseInEachPlatform($name: String!, $namespace: String!) {\n Agent {\n getAgentLatestReleaseInEachPlatform(name: $name, namespace: $namespace) {\n hasNextPage\n totalCount\n nodes {\n ... on AgentRelease {\n id\n platform\n name\n namesapce\n status\n log\n createdAt\n username\n extra\n version\n }\n }\n }\n }\n}\n "])));
|
|
198
198
|
export var GetAgentReleaseHistoryDocument = gql(_templateObject24 || (_templateObject24 = _taggedTemplateLiteral(["\n query getAgentReleaseHistory($name: String!, $namespace: String!, $page: Int, $pageSize: Int) {\n Agent {\n getAgentReleaseHistory(\n name: $name\n namespace: $namespace\n page: $page\n pageSize: $pageSize\n ) {\n hasNextPage\n totalCount\n nodes {\n ... on AgentReleaseHistory {\n date\n items {\n log\n time\n username\n platforms {\n name\n displayName\n icon\n status\n }\n version\n }\n }\n }\n }\n }\n}\n "])));
|
|
199
|
-
export var ListAgentsDocument = gql(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n query listAgents($input:
|
|
199
|
+
export var ListAgentsDocument = gql(_templateObject25 || (_templateObject25 = _taggedTemplateLiteral(["\n query listAgents($input: ListAgentInput!) {\n Agent {\n listAgentMetadata(input: $input) {\n page\n pageSize\n totalCount\n hasNextPage\n nodes {\n ... on AgentMetadata {\n name\n namespace\n id\n labels\n annotations\n displayName\n description\n icon\n background\n creator\n creationTimestamp\n updateTimestamp\n isPublic\n isRecommended\n status\n category\n notReadyReasonCode\n modeConfig {\n mode\n workflow {\n name\n namespace\n }\n workflowInputVar\n }\n }\n }\n }\n }\n}\n "])));
|
|
200
200
|
export var ListAgentPromptDocument = gql(_templateObject26 || (_templateObject26 = _taggedTemplateLiteral(["\n query listAgentPrompt($namespacedname: String!, $page: Int, $size: Int) {\n Agent {\n listAgentPrompt(namespacedname: $namespacedname, page: $page, size: $size) {\n totalCount\n page\n pageSize\n nodes {\n ... on AgentPrompt {\n id\n namespacedname\n content\n createdAt\n updatedAt\n }\n }\n }\n }\n}\n "])));
|
|
201
201
|
export var ListGptCategoryDocument = gql(_templateObject27 || (_templateObject27 = _taggedTemplateLiteral(["\n query listGPTCategory {\n Agent {\n listGPTCategory {\n id\n name\n nameEn\n }\n }\n}\n "])));
|
|
202
202
|
export var GetGptStoreDocument = gql(_templateObject28 || (_templateObject28 = _taggedTemplateLiteral(["\n query getGPTStore {\n Agent {\n getGPTStore {\n url\n public_namespace\n }\n }\n}\n "])));
|
package/dist/esm/taro.d.ts
CHANGED
|
@@ -118,7 +118,7 @@ export declare const initSdk: (options?: SdkOptions) => {
|
|
|
118
118
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
119
119
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
120
120
|
listAgents(variables: import("./sdk").Exact<{
|
|
121
|
-
input: import("./sdk").
|
|
121
|
+
input: import("./sdk").ListAgentInput;
|
|
122
122
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
123
123
|
listAgentPrompt(variables: import("./sdk").Exact<{
|
|
124
124
|
namespacedname: string;
|
|
@@ -592,7 +592,7 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
592
592
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
593
593
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
594
594
|
useListAgents(variables: import("./sdk").Exact<{
|
|
595
|
-
input: import("./sdk").
|
|
595
|
+
input: import("./sdk").ListAgentInput;
|
|
596
596
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
597
597
|
useListAgentPrompt(variables: import("./sdk").Exact<{
|
|
598
598
|
namespacedname: string;
|
|
@@ -904,7 +904,7 @@ export declare const initSdkWithHooks: (options?: SdkOptions) => {
|
|
|
904
904
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
905
905
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
906
906
|
listAgents(variables: import("./sdk").Exact<{
|
|
907
|
-
input: import("./sdk").
|
|
907
|
+
input: import("./sdk").ListAgentInput;
|
|
908
908
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
909
909
|
listAgentPrompt(variables: import("./sdk").Exact<{
|
|
910
910
|
namespacedname: string;
|
|
@@ -1378,7 +1378,7 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1378
1378
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
1379
1379
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").GetAgentReleaseHistoryQuery, import("graphql-request/src/types").ClientError>;
|
|
1380
1380
|
useListAgents(variables: import("./sdk").Exact<{
|
|
1381
|
-
input: import("./sdk").
|
|
1381
|
+
input: import("./sdk").ListAgentInput;
|
|
1382
1382
|
}>, config?: Partial<import("swr/_internal").PublicConfiguration<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError, import("swr/_internal").BareFetcher<any>>> | undefined): import("./useSWR").SWRResponsePro<import("./sdk").ListAgentsQuery, import("graphql-request/src/types").ClientError>;
|
|
1383
1383
|
useListAgentPrompt(variables: import("./sdk").Exact<{
|
|
1384
1384
|
namespacedname: string;
|
|
@@ -1690,7 +1690,7 @@ export declare const useSdk: (options?: SdkOptions) => {
|
|
|
1690
1690
|
pageSize?: import("./sdk").InputMaybe<number> | undefined;
|
|
1691
1691
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").GetAgentReleaseHistoryQuery>;
|
|
1692
1692
|
listAgents(variables: import("./sdk").Exact<{
|
|
1693
|
-
input: import("./sdk").
|
|
1693
|
+
input: import("./sdk").ListAgentInput;
|
|
1694
1694
|
}>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<import("./sdk").ListAgentsQuery>;
|
|
1695
1695
|
listAgentPrompt(variables: import("./sdk").Exact<{
|
|
1696
1696
|
namespacedname: string;
|