@glodon-aiot/apis 3.26.0-alpha.21 → 3.26.0-alpha.24

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.
@@ -22,6 +22,21 @@ export interface IArrange {
22
22
  thinkingModeOpen?: boolean;
23
23
  thinkingTextOpen?: boolean;
24
24
  autoGenerateSessionTitle?: boolean;
25
+ /** 编排绑定的 MCP。本地服务可以不带 funcs。 */
26
+ mcps?: {
27
+ id?: string;
28
+ name?: string;
29
+ /** 1 广场,2 自建。 */
30
+ type?: number;
31
+ /** cloud 云端,local 本地。缺省视为 cloud。 */
32
+ runtime?: string;
33
+ description?: string;
34
+ funcs?: {
35
+ funcId?: string;
36
+ funcCode?: string;
37
+ funcSummary?: string;
38
+ }[];
39
+ }[];
25
40
  }
26
41
  export interface IApplication {
27
42
  id: string;
@@ -331,6 +331,23 @@ export interface IArrange {
331
331
  autoGenerateSessionTitle?: boolean;
332
332
  /** 编排绑定的平台技能。缺省或空数组表示没有技能。 */
333
333
  skills?: IArrangeSkill[];
334
+ /** 编排绑定的 MCP。本地服务可以不带 funcs。 */
335
+ mcps?: IArrangeMcp[];
336
+ }
337
+ export interface IArrangeMcp {
338
+ id?: string;
339
+ name?: string;
340
+ /** 1 广场,2 自建。 */
341
+ type?: number;
342
+ /** cloud 云端,local 本地。缺省视为 cloud。 */
343
+ runtime?: string;
344
+ description?: string;
345
+ funcs?: IArrangeMcpFunc[];
346
+ }
347
+ export interface IArrangeMcpFunc {
348
+ funcId?: string;
349
+ funcCode?: string;
350
+ funcSummary?: string;
334
351
  }
335
352
  export interface IApplication {
336
353
  id: string;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@glodon-aiot/apis",
3
- "version": "3.26.0-alpha.21",
3
+ "version": "3.26.0-alpha.24",
4
4
  "author": "glodoncv",
5
5
  "description": "aiot apis",
6
6
  "type": "module",