@yuntijs/arcadia-bff-sdk 1.2.34 → 1.2.35

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/sdk.d.ts CHANGED
@@ -170,6 +170,10 @@ export type AgentMetadata = {
170
170
  * - ConfigError: 应用配置错误,比如写了多个Output节点,比如节点名称重复等其他错误
171
171
  */
172
172
  notReadyReasonCode?: Maybe<Scalars['String']['output']>;
173
+ /** 智能体在每个平台的发布情况,true表示已经发布,false未发布 */
174
+ platformStatus?: Maybe<Scalars['Map']['output']>;
175
+ /** 智能体支持发布的平台列表 */
176
+ platforms?: Maybe<Array<Platform>>;
173
177
  /** 应用状态 */
174
178
  status?: Maybe<Scalars['String']['output']>;
175
179
  /** 更新时间 */
@@ -203,7 +207,7 @@ export type AgentMutationDeleteAgentPromptArgs = {
203
207
  namespacedname: Scalars['String']['input'];
204
208
  };
205
209
  export type AgentMutationReleaseAgentArgs = {
206
- isPublic: Scalars['Boolean']['input'];
210
+ input: ReleaseAgentInput;
207
211
  name: Scalars['String']['input'];
208
212
  namespace: Scalars['String']['input'];
209
213
  };
@@ -239,6 +243,8 @@ export type AgentPromptInput = {
239
243
  export type AgentQuery = {
240
244
  __typename?: 'AgentQuery';
241
245
  getAgent: Agent;
246
+ getAgentLatestReleaseInEachPlatform: PaginatedResult;
247
+ getAgentReleaseHistory: PaginatedResult;
242
248
  getGPTStore: GptStore;
243
249
  listAgentMetadata: PaginatedResult;
244
250
  listAgentPrompt: PaginatedResult;
@@ -249,6 +255,16 @@ export type AgentQueryGetAgentArgs = {
249
255
  name: Scalars['String']['input'];
250
256
  namespace: Scalars['String']['input'];
251
257
  };
258
+ export type AgentQueryGetAgentLatestReleaseInEachPlatformArgs = {
259
+ name: Scalars['String']['input'];
260
+ namespace: Scalars['String']['input'];
261
+ };
262
+ export type AgentQueryGetAgentReleaseHistoryArgs = {
263
+ name: Scalars['String']['input'];
264
+ namespace: Scalars['String']['input'];
265
+ page?: InputMaybe<Scalars['Int']['input']>;
266
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
267
+ };
252
268
  export type AgentQueryListAgentMetadataArgs = {
253
269
  input: ListCommonInput;
254
270
  };
@@ -257,6 +273,43 @@ export type AgentQueryListAgentPromptArgs = {
257
273
  page?: InputMaybe<Scalars['Int']['input']>;
258
274
  size?: InputMaybe<Scalars['Int']['input']>;
259
275
  };
276
+ export type AgentRelease = {
277
+ __typename?: 'AgentRelease';
278
+ /** 发布时间 */
279
+ createdAt?: Maybe<Scalars['Time']['output']>;
280
+ /** 发布记录的id */
281
+ id: Scalars['String']['output'];
282
+ /** 发布日志 */
283
+ log?: Maybe<Scalars['String']['output']>;
284
+ /** 智能体名字 */
285
+ name: Scalars['String']['output'];
286
+ /** 智能体所在namespace */
287
+ namesapce: Scalars['String']['output'];
288
+ /** 发布到的平台 */
289
+ platform: Scalars['String']['output'];
290
+ /** 智能体在平台的发布状态 */
291
+ status?: Maybe<Scalars['String']['output']>;
292
+ /** 发布用户 */
293
+ username?: Maybe<Scalars['String']['output']>;
294
+ };
295
+ export type AgentReleaseHistory = {
296
+ __typename?: 'AgentReleaseHistory';
297
+ /** 发布日期 */
298
+ date: Scalars['String']['output'];
299
+ /** 子项 */
300
+ items?: Maybe<Array<AgentReleaseHistoryItem>>;
301
+ };
302
+ export type AgentReleaseHistoryItem = {
303
+ __typename?: 'AgentReleaseHistoryItem';
304
+ /** 发布日志 */
305
+ log?: Maybe<Scalars['String']['output']>;
306
+ /** 发布的平台信息,以及发布状态 */
307
+ platforms?: Maybe<Array<PlatformWithStatus>>;
308
+ /** 发布时间 */
309
+ time?: Maybe<Scalars['String']['output']>;
310
+ /** 发布者 */
311
+ username?: Maybe<Scalars['String']['output']>;
312
+ };
260
313
  export type AllDataProcessListByCountInput = {
261
314
  keyword: Scalars['String']['input'];
262
315
  namespace: Scalars['String']['input'];
@@ -1786,7 +1839,7 @@ export type OssInput = {
1786
1839
  bucket: Scalars['String']['input'];
1787
1840
  object?: InputMaybe<Scalars['String']['input']>;
1788
1841
  };
1789
- export type PageNode = AgentMetadata | AgentPrompt | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | VersionedDataset | Worker;
1842
+ export type PageNode = AgentMetadata | AgentPrompt | AgentRelease | AgentReleaseHistory | Dataset | Datasource | Embedder | F | KnowledgeBase | Llm | Model | ModelService | Node | Plugin | Rag | RayCluster | VersionedDataset | Worker;
1790
1843
  export type PaginatedDataProcessItem = {
1791
1844
  __typename?: 'PaginatedDataProcessItem';
1792
1845
  data?: Maybe<Array<DataProcessItem>>;
@@ -1840,6 +1893,32 @@ export type Pg = {
1840
1893
  export type PgInput = {
1841
1894
  database: Scalars['String']['input'];
1842
1895
  };
1896
+ export type Platform = {
1897
+ __typename?: 'Platform';
1898
+ /** 平台的展示名称 */
1899
+ displayName?: Maybe<Scalars['String']['output']>;
1900
+ /**
1901
+ * 平台的icon, 也是放到公共的图片存储下面, 可以指定具体名字
1902
+ * 可以没有
1903
+ */
1904
+ icon?: Maybe<Scalars['String']['output']>;
1905
+ /** 平台的唯一名称 */
1906
+ name: Scalars['String']['output'];
1907
+ };
1908
+ export type PlatformWithStatus = {
1909
+ __typename?: 'PlatformWithStatus';
1910
+ /** 平台的展示名称 */
1911
+ displayName?: Maybe<Scalars['String']['output']>;
1912
+ /**
1913
+ * 平台的icon, 也是放到公共的图片存储下面, 可以指定具体名字
1914
+ * 可以没有
1915
+ */
1916
+ icon?: Maybe<Scalars['String']['output']>;
1917
+ /** 平台的唯一名称 */
1918
+ name: Scalars['String']['output'];
1919
+ /** 智能体在该平台的发布状态 */
1920
+ status: Scalars['String']['output'];
1921
+ };
1843
1922
  export type Plugin = {
1844
1923
  __typename?: 'Plugin';
1845
1924
  /** 添加一些辅助性记录信息 */
@@ -2105,6 +2184,17 @@ export type RayClusterQuery = {
2105
2184
  export type RayClusterQueryListRayClustersArgs = {
2106
2185
  input: ListCommonInput;
2107
2186
  };
2187
+ export type ReleaseAgentInput = {
2188
+ /** 发布的时候,发布日志是必须填写的 */
2189
+ Log?: InputMaybe<Scalars['String']['input']>;
2190
+ Platforms?: InputMaybe<Array<ReleaseAgentInputItem>>;
2191
+ };
2192
+ export type ReleaseAgentInputItem = {
2193
+ /** 是否发布 */
2194
+ IsPublic: Scalars['Boolean']['input'];
2195
+ /** 发布的平台 */
2196
+ Platform: Scalars['String']['input'];
2197
+ };
2108
2198
  export type RemoveDuplicateConfig = {
2109
2199
  embedding_model: Scalars['String']['input'];
2110
2200
  embedding_name: Scalars['String']['input'];
@@ -2882,6 +2972,13 @@ export type UpdateAgentMutation = {
2882
2972
  status?: string | null;
2883
2973
  category?: Array<string | null> | null;
2884
2974
  notReadyReasonCode?: string | null;
2975
+ platformStatus?: any | null;
2976
+ platforms?: Array<{
2977
+ __typename?: 'Platform';
2978
+ icon?: string | null;
2979
+ name: string;
2980
+ displayName?: string | null;
2981
+ }> | null;
2885
2982
  };
2886
2983
  } | null;
2887
2984
  };
@@ -2898,7 +2995,7 @@ export type DeleteAgentMutation = {
2898
2995
  export type ReleaseAgentMutationVariables = Exact<{
2899
2996
  name: Scalars['String']['input'];
2900
2997
  namespace: Scalars['String']['input'];
2901
- isPublic: Scalars['Boolean']['input'];
2998
+ input: ReleaseAgentInput;
2902
2999
  }>;
2903
3000
  export type ReleaseAgentMutation = {
2904
3001
  __typename?: 'Mutation';
@@ -2923,6 +3020,13 @@ export type ReleaseAgentMutation = {
2923
3020
  status?: string | null;
2924
3021
  category?: Array<string | null> | null;
2925
3022
  notReadyReasonCode?: string | null;
3023
+ platformStatus?: any | null;
3024
+ platforms?: Array<{
3025
+ __typename?: 'Platform';
3026
+ icon?: string | null;
3027
+ name: string;
3028
+ displayName?: string | null;
3029
+ }> | null;
2926
3030
  };
2927
3031
  } | null;
2928
3032
  };
@@ -2988,6 +3092,31 @@ export type DeleteAgentPromptMutation = {
2988
3092
  deleteAgentPrompt?: any | null;
2989
3093
  } | null;
2990
3094
  };
3095
+ export type GetAgentReleaseStatusQueryVariables = Exact<{
3096
+ name: Scalars['String']['input'];
3097
+ namespace: Scalars['String']['input'];
3098
+ }>;
3099
+ export type GetAgentReleaseStatusQuery = {
3100
+ __typename?: 'Query';
3101
+ Agent?: {
3102
+ __typename?: 'AgentQuery';
3103
+ getAgent: {
3104
+ __typename?: 'Agent';
3105
+ metadata?: {
3106
+ __typename?: 'AgentMetadata';
3107
+ name: string;
3108
+ namespace: string;
3109
+ platformStatus?: any | null;
3110
+ platforms?: Array<{
3111
+ __typename?: 'Platform';
3112
+ icon?: string | null;
3113
+ name: string;
3114
+ displayName?: string | null;
3115
+ }> | null;
3116
+ } | null;
3117
+ };
3118
+ } | null;
3119
+ };
2991
3120
  export type GetAgentQueryVariables = Exact<{
2992
3121
  name: Scalars['String']['input'];
2993
3122
  namespace: Scalars['String']['input'];
@@ -3031,6 +3160,13 @@ export type GetAgentQuery = {
3031
3160
  status?: string | null;
3032
3161
  category?: Array<string | null> | null;
3033
3162
  notReadyReasonCode?: string | null;
3163
+ platformStatus?: any | null;
3164
+ platforms?: Array<{
3165
+ __typename?: 'Platform';
3166
+ icon?: string | null;
3167
+ name: string;
3168
+ displayName?: string | null;
3169
+ }> | null;
3034
3170
  } | null;
3035
3171
  knowledgebases?: Array<{
3036
3172
  __typename?: 'TypedObjectReference';
@@ -3045,6 +3181,134 @@ export type GetAgentQuery = {
3045
3181
  };
3046
3182
  } | null;
3047
3183
  };
3184
+ export type GetAgentLatestReleaseInEachPlatformQueryVariables = Exact<{
3185
+ name: Scalars['String']['input'];
3186
+ namespace: Scalars['String']['input'];
3187
+ }>;
3188
+ export type GetAgentLatestReleaseInEachPlatformQuery = {
3189
+ __typename?: 'Query';
3190
+ Agent?: {
3191
+ __typename?: 'AgentQuery';
3192
+ getAgentLatestReleaseInEachPlatform: {
3193
+ __typename?: 'PaginatedResult';
3194
+ hasNextPage: boolean;
3195
+ totalCount: number;
3196
+ nodes?: Array<{
3197
+ __typename?: 'AgentMetadata';
3198
+ } | {
3199
+ __typename?: 'AgentPrompt';
3200
+ } | {
3201
+ __typename?: 'AgentRelease';
3202
+ id: string;
3203
+ platform: string;
3204
+ name: string;
3205
+ namesapce: string;
3206
+ status?: string | null;
3207
+ log?: string | null;
3208
+ createdAt?: any | null;
3209
+ username?: string | null;
3210
+ } | {
3211
+ __typename?: 'AgentReleaseHistory';
3212
+ } | {
3213
+ __typename?: 'Dataset';
3214
+ } | {
3215
+ __typename?: 'Datasource';
3216
+ } | {
3217
+ __typename?: 'Embedder';
3218
+ } | {
3219
+ __typename?: 'F';
3220
+ } | {
3221
+ __typename?: 'KnowledgeBase';
3222
+ } | {
3223
+ __typename?: 'LLM';
3224
+ } | {
3225
+ __typename?: 'Model';
3226
+ } | {
3227
+ __typename?: 'ModelService';
3228
+ } | {
3229
+ __typename?: 'Node';
3230
+ } | {
3231
+ __typename?: 'Plugin';
3232
+ } | {
3233
+ __typename?: 'RAG';
3234
+ } | {
3235
+ __typename?: 'RayCluster';
3236
+ } | {
3237
+ __typename?: 'VersionedDataset';
3238
+ } | {
3239
+ __typename?: 'Worker';
3240
+ }> | null;
3241
+ };
3242
+ } | null;
3243
+ };
3244
+ export type GetAgentReleaseHistoryQueryVariables = Exact<{
3245
+ name: Scalars['String']['input'];
3246
+ namespace: Scalars['String']['input'];
3247
+ page?: InputMaybe<Scalars['Int']['input']>;
3248
+ pageSize?: InputMaybe<Scalars['Int']['input']>;
3249
+ }>;
3250
+ export type GetAgentReleaseHistoryQuery = {
3251
+ __typename?: 'Query';
3252
+ Agent?: {
3253
+ __typename?: 'AgentQuery';
3254
+ getAgentReleaseHistory: {
3255
+ __typename?: 'PaginatedResult';
3256
+ hasNextPage: boolean;
3257
+ totalCount: number;
3258
+ nodes?: Array<{
3259
+ __typename?: 'AgentMetadata';
3260
+ } | {
3261
+ __typename?: 'AgentPrompt';
3262
+ } | {
3263
+ __typename?: 'AgentRelease';
3264
+ } | {
3265
+ __typename?: 'AgentReleaseHistory';
3266
+ date: string;
3267
+ items?: Array<{
3268
+ __typename?: 'AgentReleaseHistoryItem';
3269
+ log?: string | null;
3270
+ time?: string | null;
3271
+ username?: string | null;
3272
+ platforms?: Array<{
3273
+ __typename?: 'PlatformWithStatus';
3274
+ name: string;
3275
+ displayName?: string | null;
3276
+ icon?: string | null;
3277
+ status: string;
3278
+ }> | null;
3279
+ }> | null;
3280
+ } | {
3281
+ __typename?: 'Dataset';
3282
+ } | {
3283
+ __typename?: 'Datasource';
3284
+ } | {
3285
+ __typename?: 'Embedder';
3286
+ } | {
3287
+ __typename?: 'F';
3288
+ } | {
3289
+ __typename?: 'KnowledgeBase';
3290
+ } | {
3291
+ __typename?: 'LLM';
3292
+ } | {
3293
+ __typename?: 'Model';
3294
+ } | {
3295
+ __typename?: 'ModelService';
3296
+ } | {
3297
+ __typename?: 'Node';
3298
+ } | {
3299
+ __typename?: 'Plugin';
3300
+ } | {
3301
+ __typename?: 'RAG';
3302
+ } | {
3303
+ __typename?: 'RayCluster';
3304
+ } | {
3305
+ __typename?: 'VersionedDataset';
3306
+ } | {
3307
+ __typename?: 'Worker';
3308
+ }> | null;
3309
+ };
3310
+ } | null;
3311
+ };
3048
3312
  export type ListAgentsQueryVariables = Exact<{
3049
3313
  input: ListCommonInput;
3050
3314
  }>;
@@ -3079,6 +3343,10 @@ export type ListAgentsQuery = {
3079
3343
  notReadyReasonCode?: string | null;
3080
3344
  } | {
3081
3345
  __typename?: 'AgentPrompt';
3346
+ } | {
3347
+ __typename?: 'AgentRelease';
3348
+ } | {
3349
+ __typename?: 'AgentReleaseHistory';
3082
3350
  } | {
3083
3351
  __typename?: 'Dataset';
3084
3352
  } | {
@@ -3134,6 +3402,10 @@ export type ListAgentPromptQuery = {
3134
3402
  content: string;
3135
3403
  createdAt: any;
3136
3404
  updatedAt: any;
3405
+ } | {
3406
+ __typename?: 'AgentRelease';
3407
+ } | {
3408
+ __typename?: 'AgentReleaseHistory';
3137
3409
  } | {
3138
3410
  __typename?: 'Dataset';
3139
3411
  } | {
@@ -3476,6 +3748,10 @@ export type ListDatasetsQuery = {
3476
3748
  __typename?: 'AgentMetadata';
3477
3749
  } | {
3478
3750
  __typename?: 'AgentPrompt';
3751
+ } | {
3752
+ __typename?: 'AgentRelease';
3753
+ } | {
3754
+ __typename?: 'AgentReleaseHistory';
3479
3755
  } | {
3480
3756
  __typename?: 'Dataset';
3481
3757
  name: string;
@@ -3494,6 +3770,10 @@ export type ListDatasetsQuery = {
3494
3770
  __typename?: 'AgentMetadata';
3495
3771
  } | {
3496
3772
  __typename?: 'AgentPrompt';
3773
+ } | {
3774
+ __typename?: 'AgentRelease';
3775
+ } | {
3776
+ __typename?: 'AgentReleaseHistory';
3497
3777
  } | {
3498
3778
  __typename?: 'Dataset';
3499
3779
  } | {
@@ -3595,6 +3875,10 @@ export type GetDatasetQuery = {
3595
3875
  __typename?: 'AgentMetadata';
3596
3876
  } | {
3597
3877
  __typename?: 'AgentPrompt';
3878
+ } | {
3879
+ __typename?: 'AgentRelease';
3880
+ } | {
3881
+ __typename?: 'AgentReleaseHistory';
3598
3882
  } | {
3599
3883
  __typename?: 'Dataset';
3600
3884
  } | {
@@ -3798,6 +4082,10 @@ export type ListDatasourcesQuery = {
3798
4082
  __typename: 'AgentMetadata';
3799
4083
  } | {
3800
4084
  __typename: 'AgentPrompt';
4085
+ } | {
4086
+ __typename: 'AgentRelease';
4087
+ } | {
4088
+ __typename: 'AgentReleaseHistory';
3801
4089
  } | {
3802
4090
  __typename: 'Dataset';
3803
4091
  } | {
@@ -4002,6 +4290,10 @@ export type ListEmbeddersQuery = {
4002
4290
  __typename?: 'AgentMetadata';
4003
4291
  } | {
4004
4292
  __typename?: 'AgentPrompt';
4293
+ } | {
4294
+ __typename?: 'AgentRelease';
4295
+ } | {
4296
+ __typename?: 'AgentReleaseHistory';
4005
4297
  } | {
4006
4298
  __typename?: 'Dataset';
4007
4299
  } | {
@@ -4086,6 +4378,10 @@ export type ListKnowledgeBasesQuery = {
4086
4378
  __typename?: 'AgentMetadata';
4087
4379
  } | {
4088
4380
  __typename?: 'AgentPrompt';
4381
+ } | {
4382
+ __typename?: 'AgentRelease';
4383
+ } | {
4384
+ __typename?: 'AgentReleaseHistory';
4089
4385
  } | {
4090
4386
  __typename?: 'Dataset';
4091
4387
  } | {
@@ -4376,6 +4672,10 @@ export type ListLlMsQuery = {
4376
4672
  __typename?: 'AgentMetadata';
4377
4673
  } | {
4378
4674
  __typename?: 'AgentPrompt';
4675
+ } | {
4676
+ __typename?: 'AgentRelease';
4677
+ } | {
4678
+ __typename?: 'AgentReleaseHistory';
4379
4679
  } | {
4380
4680
  __typename?: 'Dataset';
4381
4681
  } | {
@@ -4463,6 +4763,10 @@ export type ListModelsQuery = {
4463
4763
  __typename: 'AgentMetadata';
4464
4764
  } | {
4465
4765
  __typename: 'AgentPrompt';
4766
+ } | {
4767
+ __typename: 'AgentRelease';
4768
+ } | {
4769
+ __typename: 'AgentReleaseHistory';
4466
4770
  } | {
4467
4771
  __typename: 'Dataset';
4468
4772
  } | {
@@ -4503,6 +4807,10 @@ export type ListModelsQuery = {
4503
4807
  __typename?: 'AgentMetadata';
4504
4808
  } | {
4505
4809
  __typename?: 'AgentPrompt';
4810
+ } | {
4811
+ __typename?: 'AgentRelease';
4812
+ } | {
4813
+ __typename?: 'AgentReleaseHistory';
4506
4814
  } | {
4507
4815
  __typename?: 'Dataset';
4508
4816
  } | {
@@ -4594,6 +4902,10 @@ export type GetModelQuery = {
4594
4902
  __typename?: 'AgentMetadata';
4595
4903
  } | {
4596
4904
  __typename?: 'AgentPrompt';
4905
+ } | {
4906
+ __typename?: 'AgentRelease';
4907
+ } | {
4908
+ __typename?: 'AgentReleaseHistory';
4597
4909
  } | {
4598
4910
  __typename?: 'Dataset';
4599
4911
  } | {
@@ -4819,6 +5131,10 @@ export type ListModelServicesQuery = {
4819
5131
  __typename: 'AgentMetadata';
4820
5132
  } | {
4821
5133
  __typename: 'AgentPrompt';
5134
+ } | {
5135
+ __typename: 'AgentRelease';
5136
+ } | {
5137
+ __typename: 'AgentReleaseHistory';
4822
5138
  } | {
4823
5139
  __typename: 'Dataset';
4824
5140
  } | {
@@ -4900,6 +5216,10 @@ export type ListNodesQuery = {
4900
5216
  __typename: 'AgentMetadata';
4901
5217
  } | {
4902
5218
  __typename: 'AgentPrompt';
5219
+ } | {
5220
+ __typename: 'AgentRelease';
5221
+ } | {
5222
+ __typename: 'AgentReleaseHistory';
4903
5223
  } | {
4904
5224
  __typename: 'Dataset';
4905
5225
  } | {
@@ -4949,6 +5269,10 @@ export type ListPluginsQuery = {
4949
5269
  __typename: 'AgentMetadata';
4950
5270
  } | {
4951
5271
  __typename: 'AgentPrompt';
5272
+ } | {
5273
+ __typename: 'AgentRelease';
5274
+ } | {
5275
+ __typename: 'AgentReleaseHistory';
4952
5276
  } | {
4953
5277
  __typename: 'Dataset';
4954
5278
  } | {
@@ -5150,6 +5474,10 @@ export type ListRagQuery = {
5150
5474
  __typename?: 'AgentMetadata';
5151
5475
  } | {
5152
5476
  __typename?: 'AgentPrompt';
5477
+ } | {
5478
+ __typename?: 'AgentRelease';
5479
+ } | {
5480
+ __typename?: 'AgentReleaseHistory';
5153
5481
  } | {
5154
5482
  __typename?: 'Dataset';
5155
5483
  } | {
@@ -5546,6 +5874,10 @@ export type ListRayClustersQuery = {
5546
5874
  __typename: 'AgentMetadata';
5547
5875
  } | {
5548
5876
  __typename: 'AgentPrompt';
5877
+ } | {
5878
+ __typename: 'AgentRelease';
5879
+ } | {
5880
+ __typename: 'AgentReleaseHistory';
5549
5881
  } | {
5550
5882
  __typename: 'Dataset';
5551
5883
  } | {
@@ -5662,6 +5994,10 @@ export type GetVersionedDatasetQuery = {
5662
5994
  __typename?: 'AgentMetadata';
5663
5995
  } | {
5664
5996
  __typename?: 'AgentPrompt';
5997
+ } | {
5998
+ __typename?: 'AgentRelease';
5999
+ } | {
6000
+ __typename?: 'AgentReleaseHistory';
5665
6001
  } | {
5666
6002
  __typename?: 'Dataset';
5667
6003
  } | {
@@ -5719,6 +6055,10 @@ export type ListVersionedDatasetsQuery = {
5719
6055
  __typename?: 'AgentMetadata';
5720
6056
  } | {
5721
6057
  __typename?: 'AgentPrompt';
6058
+ } | {
6059
+ __typename?: 'AgentRelease';
6060
+ } | {
6061
+ __typename?: 'AgentReleaseHistory';
5722
6062
  } | {
5723
6063
  __typename?: 'Dataset';
5724
6064
  } | {
@@ -5767,6 +6107,10 @@ export type ListVersionedDatasetsQuery = {
5767
6107
  __typename?: 'AgentMetadata';
5768
6108
  } | {
5769
6109
  __typename?: 'AgentPrompt';
6110
+ } | {
6111
+ __typename?: 'AgentRelease';
6112
+ } | {
6113
+ __typename?: 'AgentReleaseHistory';
5770
6114
  } | {
5771
6115
  __typename?: 'Dataset';
5772
6116
  } | {
@@ -5826,6 +6170,10 @@ export type ListWorkersQuery = {
5826
6170
  __typename: 'AgentMetadata';
5827
6171
  } | {
5828
6172
  __typename: 'AgentPrompt';
6173
+ } | {
6174
+ __typename: 'AgentRelease';
6175
+ } | {
6176
+ __typename: 'AgentReleaseHistory';
5829
6177
  } | {
5830
6178
  __typename: 'Dataset';
5831
6179
  } | {
@@ -6079,7 +6427,10 @@ export declare const UpdateAgentModelDocument: import("../node_modules/.pnpm/gra
6079
6427
  export declare const UpdateAgentPluginDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6080
6428
  export declare const UpdateAgentKnowledgeBaseDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6081
6429
  export declare const DeleteAgentPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6430
+ export declare const GetAgentReleaseStatusDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6082
6431
  export declare const GetAgentDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6432
+ export declare const GetAgentLatestReleaseInEachPlatformDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6433
+ export declare const GetAgentReleaseHistoryDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6083
6434
  export declare const ListAgentsDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6084
6435
  export declare const ListAgentPromptDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
6085
6436
  export declare const ListGptCategoryDocument: import("../node_modules/.pnpm/graphql@16.8.1/node_modules/graphql/index.d.ts").DocumentNode;
@@ -6163,7 +6514,10 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
6163
6514
  updateAgentPlugin(variables: UpdateAgentPluginMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentPluginMutation>;
6164
6515
  updateAgentKnowledgeBase(variables: UpdateAgentKnowledgeBaseMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<UpdateAgentKnowledgeBaseMutation>;
6165
6516
  deleteAgentPrompt(variables: DeleteAgentPromptMutationVariables, requestHeaders?: RequestConfig['headers']): Promise<DeleteAgentPromptMutation>;
6517
+ getAgentReleaseStatus(variables: GetAgentReleaseStatusQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentReleaseStatusQuery>;
6166
6518
  getAgent(variables: GetAgentQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentQuery>;
6519
+ getAgentLatestReleaseInEachPlatform(variables: GetAgentLatestReleaseInEachPlatformQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentLatestReleaseInEachPlatformQuery>;
6520
+ getAgentReleaseHistory(variables: GetAgentReleaseHistoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<GetAgentReleaseHistoryQuery>;
6167
6521
  listAgents(variables: ListAgentsQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListAgentsQuery>;
6168
6522
  listAgentPrompt(variables: ListAgentPromptQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListAgentPromptQuery>;
6169
6523
  listGPTCategory(variables?: ListGptCategoryQueryVariables, requestHeaders?: RequestConfig['headers']): Promise<ListGptCategoryQuery>;
@@ -6238,7 +6592,10 @@ export declare function getSdk(client: GraphQLClient, withWrapper?: SdkFunctionW
6238
6592
  };
6239
6593
  export type Sdk = ReturnType<typeof getSdk>;
6240
6594
  export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: SdkFunctionWrapper): {
6595
+ useGetAgentReleaseStatus(variables: GetAgentReleaseStatusQueryVariables, config?: SWRConfigInterface<GetAgentReleaseStatusQuery, ClientError>): import("./useSWR").SWRResponsePro<GetAgentReleaseStatusQuery, ClientError>;
6241
6596
  useGetAgent(variables: GetAgentQueryVariables, config?: SWRConfigInterface<GetAgentQuery, ClientError>): import("./useSWR").SWRResponsePro<GetAgentQuery, ClientError>;
6597
+ useGetAgentLatestReleaseInEachPlatform(variables: GetAgentLatestReleaseInEachPlatformQueryVariables, config?: SWRConfigInterface<GetAgentLatestReleaseInEachPlatformQuery, ClientError>): import("./useSWR").SWRResponsePro<GetAgentLatestReleaseInEachPlatformQuery, ClientError>;
6598
+ useGetAgentReleaseHistory(variables: GetAgentReleaseHistoryQueryVariables, config?: SWRConfigInterface<GetAgentReleaseHistoryQuery, ClientError>): import("./useSWR").SWRResponsePro<GetAgentReleaseHistoryQuery, ClientError>;
6242
6599
  useListAgents(variables: ListAgentsQueryVariables, config?: SWRConfigInterface<ListAgentsQuery, ClientError>): import("./useSWR").SWRResponsePro<ListAgentsQuery, ClientError>;
6243
6600
  useListAgentPrompt(variables: ListAgentPromptQueryVariables, config?: SWRConfigInterface<ListAgentPromptQuery, ClientError>): import("./useSWR").SWRResponsePro<ListAgentPromptQuery, ClientError>;
6244
6601
  useListGptCategory(variables?: ListGptCategoryQueryVariables, config?: SWRConfigInterface<ListGptCategoryQuery, ClientError>): import("./useSWR").SWRResponsePro<ListGptCategoryQuery, ClientError>;
@@ -6290,7 +6647,7 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
6290
6647
  releaseAgent(variables: Exact<{
6291
6648
  name: string;
6292
6649
  namespace: string;
6293
- isPublic: boolean;
6650
+ input: ReleaseAgentInput;
6294
6651
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ReleaseAgentMutation>;
6295
6652
  createOrUpdateAgentPrompt(variables: Exact<{
6296
6653
  namespacedname: string;
@@ -6312,10 +6669,24 @@ export declare function getSdkWithHooks(client: GraphQLClient, withWrapper?: Sdk
6312
6669
  namespacedname: string;
6313
6670
  ids?: InputMaybe<string | string[]> | undefined;
6314
6671
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<DeleteAgentPromptMutation>;
6672
+ getAgentReleaseStatus(variables: Exact<{
6673
+ name: string;
6674
+ namespace: string;
6675
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentReleaseStatusQuery>;
6315
6676
  getAgent(variables: Exact<{
6316
6677
  name: string;
6317
6678
  namespace: string;
6318
6679
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentQuery>;
6680
+ getAgentLatestReleaseInEachPlatform(variables: Exact<{
6681
+ name: string;
6682
+ namespace: string;
6683
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentLatestReleaseInEachPlatformQuery>;
6684
+ getAgentReleaseHistory(variables: Exact<{
6685
+ name: string;
6686
+ namespace: string;
6687
+ page?: InputMaybe<number> | undefined;
6688
+ pageSize?: InputMaybe<number> | undefined;
6689
+ }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<GetAgentReleaseHistoryQuery>;
6319
6690
  listAgents(variables: Exact<{
6320
6691
  input: ListCommonInput;
6321
6692
  }>, requestHeaders?: import("graphql-request/src/types").MaybeFunction<(import("graphql-request/src/types.dom").Headers | Record<string, string> | string[][]) | undefined>): Promise<ListAgentsQuery>;