@shun-js/vicvic-server 0.2.0 → 0.4.0

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/app.js CHANGED
@@ -16,8 +16,9 @@ const { parseServerConfig } = require("@shun-js/shun-config");
16
16
  // options cros
17
17
  options.cros = true;
18
18
 
19
- // options config
19
+ // options mysql
20
20
  options.config = config;
21
+ options.mysql = require("qiao-mysql");
21
22
 
22
23
  // options redis
23
24
  options.redis = require("qiao-redis");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shun-js/vicvic-server",
3
- "version": "0.2.0",
3
+ "version": "0.4.0",
4
4
  "license": "MIT",
5
5
  "author": "uikoo9 <uikoo9@qq.com>",
6
6
  "homepage": "https://github.com/uikoo9/shun-js",
@@ -19,10 +19,11 @@
19
19
  "@shun-js/shun-config": "^0.3.1",
20
20
  "@shun-js/shun-service": "^0.3.1",
21
21
  "qiao-log": "^6.0.0",
22
+ "qiao-mysql": "^6.0.0",
22
23
  "qiao-rate-limit": "^6.0.0",
23
24
  "qiao-redis": "^6.0.0",
24
25
  "qiao-z": "^6.0.0",
25
- "qiao-z-nuser": "^6.0.2",
26
+ "qiao-z-nuser": "^6.0.3",
26
27
  "qiao-z-service": "^6.0.1",
27
28
  "viho-llm": "^1.1.0",
28
29
  "ws": "^8.20.1"
@@ -31,5 +32,5 @@
31
32
  "access": "public",
32
33
  "registry": "https://registry.npmjs.org/"
33
34
  },
34
- "gitHead": "f046b0693bd259b26956d1da8b3efaf8f7c32ae8"
35
+ "gitHead": "e56d48e22bf8c607ab04f5a7ab7f6f129f083509"
35
36
  }
@@ -0,0 +1,11 @@
1
+ -- 国内模型
2
+ insert into t_model_item (model_name, model_slug, provider, provider_region, avatar_url, description, api_endpoint, api_model_id, is_active, sort_order) values
3
+ ('通义千问', 'qwen-tongyi', 'alibaba', 'cn', null, '阿里云出品,高性能大语言模型', null, null, 1, 10),
4
+ ('豆包', 'doubao', 'bytedance', 'cn', null, '字节跳动出品,轻快好用的 AI 助手', null, null, 1, 20),
5
+ ('DeepSeek', 'deepseek-v3', 'deepseek', 'cn', null, '深度求索出品,性价比之王', null, null, 1, 30);
6
+
7
+ -- 海外模型
8
+ insert into t_model_item (model_name, model_slug, provider, provider_region, avatar_url, description, api_endpoint, api_model_id, is_active, sort_order) values
9
+ ('GPT-4o', 'gpt-4o', 'openai', 'global', null, 'OpenAI 旗舰多模态模型', null, null, 1, 40),
10
+ ('Gemini', 'gemini-2.5-pro', 'google', 'global', null, 'Google 出品,搜索生态深度整合', null, null, 1, 50),
11
+ ('Claude', 'claude-opus-4-7', 'anthropic', 'global', null, 'Anthropic 出品,安全可靠的 AI 伙伴', null, null, 1, 60);