@fa-software/semi2-dsh 0.0.11-preview.20260921110536 → 0.0.11
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.
|
@@ -108,7 +108,8 @@ export type ConfigurationReadFilter = {
|
|
|
108
108
|
export type ConfigurationReadPage = {
|
|
109
109
|
__typename?: 'ConfigurationReadPage';
|
|
110
110
|
items: Array<ConfigurationRead>;
|
|
111
|
-
|
|
111
|
+
/** 与本次 filter 同口径的读取记录总数。 */
|
|
112
|
+
total: Scalars['Int']['output'];
|
|
112
113
|
};
|
|
113
114
|
export type CreateCnbAccessKeyInput = {
|
|
114
115
|
/** 省略 = 默认名「CNB 接入密钥」。 */
|
|
@@ -249,10 +250,22 @@ export type ModelConnection = {
|
|
|
249
250
|
provider?: Maybe<Scalars['String']['output']>;
|
|
250
251
|
revision: Scalars['Int']['output'];
|
|
251
252
|
};
|
|
253
|
+
/**
|
|
254
|
+
* 条件:hasProvider = 预设连接(provider 非空);
|
|
255
|
+
* excludeDiscoveryError 排除该错误码(DISCOVERY_UNSUPPORTED = 上游不支持读取,不算读取失败)。
|
|
256
|
+
*/
|
|
257
|
+
export type ModelConnectionFilter = {
|
|
258
|
+
discoveryStatus?: InputMaybe<DiscoveryStatus>;
|
|
259
|
+
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
260
|
+
excludeDiscoveryError?: InputMaybe<DiscoveryErrorCode>;
|
|
261
|
+
hasProvider?: InputMaybe<Scalars['Boolean']['input']>;
|
|
262
|
+
keyConfigured?: InputMaybe<Scalars['Boolean']['input']>;
|
|
263
|
+
};
|
|
252
264
|
export type ModelConnectionPage = {
|
|
253
265
|
__typename?: 'ModelConnectionPage';
|
|
254
266
|
items: Array<ModelConnection>;
|
|
255
|
-
|
|
267
|
+
/** 与本次 filter 同口径的连接总数。 */
|
|
268
|
+
total: Scalars['Int']['output'];
|
|
256
269
|
};
|
|
257
270
|
export type ModelCredentialInput = {
|
|
258
271
|
apiKey?: InputMaybe<SecretInput>;
|
|
@@ -270,12 +283,20 @@ export type ModelDefaultSelection = {
|
|
|
270
283
|
modelId?: Maybe<Scalars['ID']['output']>;
|
|
271
284
|
reasoningLevel?: Maybe<ReasoningLevel>;
|
|
272
285
|
};
|
|
273
|
-
/**
|
|
286
|
+
/**
|
|
287
|
+
* 条件:connectionId 限定某连接的目录;protocol 按所属连接的协议过滤;
|
|
288
|
+
* ids 按模型 id 批查(≤100,用于显示名解析);search 匹配显示名 / 上游 id;
|
|
289
|
+
* missingOnly = 既不在上游发现也不在手工保留里;availableOnly = 连接启用 ∧ 密钥齐备 ∧ 模型启用 ∧ 存在(运行面可选池)。
|
|
290
|
+
*/
|
|
274
291
|
export type ModelFilter = {
|
|
292
|
+
availableOnly?: InputMaybe<Scalars['Boolean']['input']>;
|
|
275
293
|
connectionId?: InputMaybe<Scalars['ID']['input']>;
|
|
276
294
|
discoveryStatus?: InputMaybe<DiscoveryStatus>;
|
|
277
295
|
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
296
|
+
ids?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
297
|
+
missingOnly?: InputMaybe<Scalars['Boolean']['input']>;
|
|
278
298
|
protocol?: InputMaybe<ModelProtocol>;
|
|
299
|
+
search?: InputMaybe<Scalars['String']['input']>;
|
|
279
300
|
};
|
|
280
301
|
export type ModelMetadata = {
|
|
281
302
|
__typename?: 'ModelMetadata';
|
|
@@ -287,7 +308,8 @@ export type ModelMetadata = {
|
|
|
287
308
|
export type ModelPage = {
|
|
288
309
|
__typename?: 'ModelPage';
|
|
289
310
|
items: Array<Model>;
|
|
290
|
-
|
|
311
|
+
/** 与本次 filter 同口径的模型总数。 */
|
|
312
|
+
total: Scalars['Int']['output'];
|
|
291
313
|
};
|
|
292
314
|
export declare enum ModelProtocol {
|
|
293
315
|
Anthropic = "ANTHROPIC",
|
|
@@ -487,13 +509,13 @@ export type Project = {
|
|
|
487
509
|
upstreamStatus: UpstreamStatus;
|
|
488
510
|
webUrl?: Maybe<Scalars['String']['output']>;
|
|
489
511
|
};
|
|
490
|
-
/** 条件:search 匹配 slug / name;accessibleBy 限定某用户没被撤销访问的项目。 */
|
|
512
|
+
/** 条件:search 匹配 slug / name;upstreamStatuses 命中任一即保留;accessibleBy 限定某用户没被撤销访问的项目。 */
|
|
491
513
|
export type ProjectFilter = {
|
|
492
514
|
accessibleBy?: InputMaybe<Scalars['ID']['input']>;
|
|
493
515
|
enabled?: InputMaybe<Scalars['Boolean']['input']>;
|
|
494
516
|
kind?: InputMaybe<ProjectKind>;
|
|
495
517
|
search?: InputMaybe<Scalars['String']['input']>;
|
|
496
|
-
|
|
518
|
+
upstreamStatuses?: InputMaybe<Array<UpstreamStatus>>;
|
|
497
519
|
};
|
|
498
520
|
export declare enum ProjectKind {
|
|
499
521
|
Cnb = "CNB",
|
|
@@ -508,7 +530,8 @@ export type ProjectMember = {
|
|
|
508
530
|
export type ProjectPage = {
|
|
509
531
|
__typename?: 'ProjectPage';
|
|
510
532
|
items: Array<Project>;
|
|
511
|
-
|
|
533
|
+
/** 与本次 filter 同口径的项目总数。 */
|
|
534
|
+
total: Scalars['Int']['output'];
|
|
512
535
|
};
|
|
513
536
|
export type Query = {
|
|
514
537
|
__typename?: 'Query';
|
|
@@ -592,9 +615,9 @@ export type QueryBuiltinModelCatalogArgs = {
|
|
|
592
615
|
connectionId: Scalars['ID']['input'];
|
|
593
616
|
};
|
|
594
617
|
export type QueryConfigurationReadsArgs = {
|
|
595
|
-
after?: InputMaybe<Scalars['String']['input']>;
|
|
596
618
|
filter?: InputMaybe<ConfigurationReadFilter>;
|
|
597
619
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
620
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
598
621
|
};
|
|
599
622
|
export type QueryEffectiveModelDefaultsArgs = {
|
|
600
623
|
userId?: InputMaybe<Scalars['ID']['input']>;
|
|
@@ -603,26 +626,27 @@ export type QueryModelConnectionArgs = {
|
|
|
603
626
|
id: Scalars['ID']['input'];
|
|
604
627
|
};
|
|
605
628
|
export type QueryModelConnectionsArgs = {
|
|
606
|
-
|
|
629
|
+
filter?: InputMaybe<ModelConnectionFilter>;
|
|
607
630
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
631
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
608
632
|
};
|
|
609
633
|
export type QueryModelsArgs = {
|
|
610
|
-
after?: InputMaybe<Scalars['String']['input']>;
|
|
611
634
|
filter?: InputMaybe<ModelFilter>;
|
|
612
635
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
636
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
613
637
|
};
|
|
614
638
|
export type QueryMyProjectsArgs = {
|
|
615
|
-
after?: InputMaybe<Scalars['String']['input']>;
|
|
616
639
|
filter?: InputMaybe<ProjectFilter>;
|
|
617
640
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
641
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
618
642
|
};
|
|
619
643
|
export type QueryProjectArgs = {
|
|
620
644
|
id: Scalars['ID']['input'];
|
|
621
645
|
};
|
|
622
646
|
export type QueryProjectsArgs = {
|
|
623
|
-
after?: InputMaybe<Scalars['String']['input']>;
|
|
624
647
|
filter?: InputMaybe<ProjectFilter>;
|
|
625
648
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
649
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
626
650
|
};
|
|
627
651
|
export type QueryRuntimeModelCredentialsArgs = {
|
|
628
652
|
connectionIds?: InputMaybe<Array<Scalars['ID']['input']>>;
|
|
@@ -645,9 +669,9 @@ export type QuerySkillVersionsArgs = {
|
|
|
645
669
|
skillId: Scalars['ID']['input'];
|
|
646
670
|
};
|
|
647
671
|
export type QuerySkillsArgs = {
|
|
648
|
-
after?: InputMaybe<Scalars['String']['input']>;
|
|
649
672
|
filter?: InputMaybe<SkillFilter>;
|
|
650
673
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
674
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
651
675
|
};
|
|
652
676
|
export type QueryUpstreamModelCatalogArgs = {
|
|
653
677
|
connectionId: Scalars['ID']['input'];
|
|
@@ -662,9 +686,9 @@ export type QueryUserModelCredentialsArgs = {
|
|
|
662
686
|
userId: Scalars['ID']['input'];
|
|
663
687
|
};
|
|
664
688
|
export type QueryUsersArgs = {
|
|
665
|
-
after?: InputMaybe<Scalars['String']['input']>;
|
|
666
689
|
filter?: InputMaybe<UserFilter>;
|
|
667
690
|
first?: InputMaybe<Scalars['Int']['input']>;
|
|
691
|
+
offset?: InputMaybe<Scalars['Int']['input']>;
|
|
668
692
|
};
|
|
669
693
|
export declare enum ReasoningLevel {
|
|
670
694
|
High = "HIGH",
|
|
@@ -940,7 +964,8 @@ export type SkillFilter = {
|
|
|
940
964
|
export type SkillPage = {
|
|
941
965
|
__typename?: 'SkillPage';
|
|
942
966
|
items: Array<Skill>;
|
|
943
|
-
|
|
967
|
+
/** 与本次 filter 同口径的技能总数。 */
|
|
968
|
+
total: Scalars['Int']['output'];
|
|
944
969
|
};
|
|
945
970
|
/** 一个不可变历史快照。作者用扁平字段(同 ConfigurationRead 口径),不构造完整 User。 */
|
|
946
971
|
export type SkillVersion = {
|
|
@@ -1045,7 +1070,8 @@ export type UserFilter = {
|
|
|
1045
1070
|
export type UserPage = {
|
|
1046
1071
|
__typename?: 'UserPage';
|
|
1047
1072
|
items: Array<User>;
|
|
1048
|
-
|
|
1073
|
+
/** 与本次 filter 同口径的账户总数;offset 越界时 items 为空但它仍是真值。 */
|
|
1074
|
+
total: Scalars['Int']['output'];
|
|
1049
1075
|
};
|
|
1050
1076
|
export declare enum UserStatus {
|
|
1051
1077
|
Active = "ACTIVE",
|