@opentiny/next-remoter 0.2.2 → 0.2.4

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.
@@ -1,6 +1,18 @@
1
1
  import { Component } from 'vue';
2
2
  import { ICustomAgentModelProviderLlmConfig } from './type';
3
3
 
4
+ /**
5
+ * 多模态能力配置
6
+ * Multimodal capability configuration
7
+ */
8
+ export interface MultimodalCapability {
9
+ /** 是否支持图片 Support images */
10
+ supportImages?: boolean;
11
+ /** 最大文件大小(MB) Max file size in MB */
12
+ maxFileSize?: number;
13
+ /** 支持的MIME类型 Supported MIME types */
14
+ supportedMimeTypes?: string[];
15
+ }
4
16
  /**
5
17
  * 统一模型配置接口
6
18
  * 基于 ICustomAgentModelProviderLlmConfig,额外添加了 UI 展示相关的字段
@@ -18,4 +30,6 @@ export type UnifiedModelConfig = ICustomAgentModelProviderLlmConfig & {
18
30
  isDefault?: boolean;
19
31
  /** 模型描述(可选)Description (optional) */
20
32
  description?: string;
33
+ /** 多模态能力配置 Multimodal capability configuration */
34
+ multimodal?: MultimodalCapability;
21
35
  };
package/package.json CHANGED
@@ -1,7 +1,24 @@
1
1
  {
2
2
  "name": "@opentiny/next-remoter",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "type": "module",
5
+ "homepage": "https://docs.opentiny.design/next-sdk/guide/tiny-robot-remoter.html",
6
+ "repository": {
7
+ "type": "git",
8
+ "url": "git@github.com:opentiny/next-sdk.git"
9
+ },
10
+ "bugs": {
11
+ "url": "https://github.com/opentiny/next-sdk/issues"
12
+ },
13
+ "keywords": [
14
+ "next-remoter",
15
+ "opentiny",
16
+ "mcp",
17
+ "sdk",
18
+ "agent"
19
+ ],
20
+ "license": "MIT",
21
+ "description": "An AI chat component for rapidly building AI agents and integrating with web MCP",
5
22
  "files": [
6
23
  "dist"
7
24
  ],
@@ -12,14 +29,15 @@
12
29
  },
13
30
  "dependencies": {
14
31
  "@modelcontextprotocol/sdk": "~1.25.2",
15
- "@opentiny/genui-sdk": "0.0.1-alpha.0",
16
- "@opentiny/genui-sdk-vue": "0.0.1-alpha.8",
32
+ "@opentiny/genui-sdk": "0.0.1-alpha.2",
33
+ "@opentiny/genui-sdk-vue": "1.0.0-beta.1",
17
34
  "@opentiny/tiny-robot": "0.3.1-alpha.6",
18
35
  "@opentiny/tiny-robot-kit": "0.3.1-alpha.6",
19
36
  "@opentiny/tiny-robot-svgs": "0.3.1-alpha.6",
20
37
  "@opentiny/vue": "^3.27.0",
21
38
  "@opentiny/vue-icon": "^3.27.0",
22
- "ai": "5.0.106",
39
+ "@built-in-ai/core": "^2.1.0",
40
+ "ai": "^6.0.0",
23
41
  "dayjs": "^1.11.15",
24
42
  "html5-qrcode": "^2.3.8",
25
43
  "vant": "^4.9.21",
@@ -27,9 +45,10 @@
27
45
  "zod": "^3.25.76",
28
46
  "@vueuse/core": "^14.1.0",
29
47
  "@ai-sdk/deepseek": "1.0.30",
30
- "@ai-sdk/openai": "^2.0.76",
31
- "@ai-sdk/provider": "^2.0.0",
32
- "@opentiny/next-sdk": "0.2.2"
48
+ "@ai-sdk/openai": "^3.0.0",
49
+ "@ai-sdk/provider": "^3.0.0",
50
+ "@ai-sdk/provider-utils": "^4.0.14",
51
+ "@opentiny/next-sdk": "0.2.4"
33
52
  },
34
53
  "devDependencies": {
35
54
  "@opentiny/unplugin-tiny-vue": "^1.0.0",