ylib-syim 0.0.8 → 0.0.9

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.
Files changed (2) hide show
  1. package/install-ylib.sh +28 -0
  2. package/package.json +12 -5
@@ -0,0 +1,28 @@
1
+ #!/bin/bash
2
+ set -e
3
+
4
+ NODE_OPTIONS="--max-old-space-size=512"
5
+
6
+ echo "清理缓存..."
7
+ npm cache clean --force
8
+ rm -rf ~/.npm/_cacache
9
+
10
+ echo "设置优化配置..."
11
+ npm config set maxsockets 1
12
+ npm config set fetch-retry-mintimeout 20000
13
+ npm config set fetch-retry-maxtimeout 120000
14
+ npm config set fund false
15
+ npm config set audit false
16
+ npm config set loglevel=verbose
17
+
18
+ echo "开始安装..."
19
+ # 使用最小化安装
20
+ npm i ylib-syim -g \
21
+ --registry=https://registry.npmmirror.com \
22
+ --ignore-engines \
23
+ --no-optional \
24
+ --no-audit \
25
+ --no-fund \
26
+ --prefer-offline \
27
+ --legacy-peer-deps \
28
+ --verbose
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ylib-syim",
3
- "version": "0.0.8",
3
+ "version": "0.0.9",
4
4
  "description": "多 IM / 多 Agent 的会话路由与上下文管理(支持 /new)",
5
5
  "type": "module",
6
6
  "exports": {
@@ -18,7 +18,8 @@
18
18
  "scripts",
19
19
  "README.md",
20
20
  "syim.json.bak",
21
- "ecosystem.config.cjs"
21
+ "ecosystem.config.cjs",
22
+ "install-ylib.sh"
22
23
  ],
23
24
  "sideEffects": false,
24
25
  "scripts": {
@@ -37,12 +38,13 @@
37
38
  "build:bridge:all": "node scripts/build-bridge.mjs --all",
38
39
  "build:bridge:debug": "node scripts/build-bridge.mjs --no-minify",
39
40
  "start:stdio-bridge:bundle": "node dist/dingtalk-stdio-bridge.cjs",
40
- "local": "export LOCAL_CONFIG_ONLY=1 && npm run start:bridges"
41
+ "local": "export RESTART_ALL_EXIT_PROCESS=\"0\" && export RUNTIME_CONFIG_PULL_URL=\"http://127.0.0.1:3999/api/v1/yucegpt/im/runtime/config/full\" && export ENABLE_INTERNAL_API=\"1\" && export INTERNAL_CONTROL_PORT=\"18999\" && export INTERNAL_FIXED_TOKEN=\"syim_runtime\" && export LOCAL_CONFIG_ONLY=1 && npm run start:bridges",
42
+ "remote": "export RESTART_ALL_EXIT_PROCESS=\"0\" && export RUNTIME_CONFIG_PULL_URL=\"http://127.0.0.1:3999/api/v1/yucegpt/im/runtime/config/full\" && export ENABLE_INTERNAL_API=\"1\" && export INTERNAL_CONTROL_PORT=\"18999\" && export INTERNAL_FIXED_TOKEN=\"syim_runtime\" && npm run start:bridges"
41
43
  },
42
44
  "dependencies": {
43
45
  "@ffmpeg-installer/ffmpeg": "^1.1.0",
44
- "ylib-dingtalk-connector": "0.7.10-beata.3",
45
- "ylib-openclaw-lark": "2026.3.17-beata.7",
46
+ "ylib-dingtalk-connector": "0.7.10-beata.4",
47
+ "ylib-openclaw-lark": "2026.3.17-beata.8",
46
48
  "axios": "^1.6.0",
47
49
  "dingtalk-stream": "^2.1.4",
48
50
  "fluent-ffmpeg": "^2.1.3",
@@ -51,6 +53,11 @@
51
53
  "pdf-parse": "^1.1.1",
52
54
  "tsx": "^4.21.0"
53
55
  },
56
+ "overrides": {
57
+ "@hono/node-server": "^1.19.10",
58
+ "@xmldom/xmldom": "^0.8.12",
59
+ "tar": "^7.5.11"
60
+ },
54
61
  "devDependencies": {
55
62
  "esbuild": "^0.27.4"
56
63
  }