ylib-syim 0.0.14 → 0.0.15
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/bridges/main.ts
CHANGED
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "ylib-syim",
|
|
3
|
-
"version": "0.0.
|
|
3
|
+
"version": "0.0.15",
|
|
4
4
|
"description": "多 IM / 多 Agent 的会话路由与上下文管理(支持 /new)",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -32,20 +32,21 @@
|
|
|
32
32
|
"start:connector": "tsx src/connector-host.ts",
|
|
33
33
|
"start:stdio-bridge": "tsx bridges/dingtalk-stdio-bridge.ts",
|
|
34
34
|
"start:lark-bridge": "tsx bridges/lark-stdio-bridge.ts",
|
|
35
|
-
"start:bridges": "tsx
|
|
35
|
+
"start:bridges": "tsx bridges/main.ts",
|
|
36
|
+
"start:bridges:inspect": "tsx --inspect-brk bridges/main.ts",
|
|
36
37
|
"start:feishu-bridge": "tsx scripts/feishu-yuce-bridge.ts",
|
|
37
38
|
"build:bridge": "node scripts/build-bridge.mjs",
|
|
38
39
|
"build:bridge:all": "node scripts/build-bridge.mjs --all",
|
|
39
40
|
"build:bridge:debug": "node scripts/build-bridge.mjs --no-minify",
|
|
40
41
|
"start:stdio-bridge:bundle": "node dist/dingtalk-stdio-bridge.cjs",
|
|
41
|
-
"local": "export RESTART_ALL_EXIT_PROCESS=\"0\" && export RUNTIME_CONFIG_PULL_URL=\"http://127.0.0.1:4999/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:4999/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"
|
|
42
|
+
"local": "export RESTART_ALL_EXIT_PROCESS=\"0\" && export RUNTIME_CONFIG_PULL_URL=\"http://127.0.0.1:4999/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:inspect",
|
|
43
|
+
"remote": "export RESTART_ALL_EXIT_PROCESS=\"0\" && export RUNTIME_CONFIG_PULL_URL=\"http://127.0.0.1:4999/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:inspect"
|
|
43
44
|
},
|
|
44
45
|
"dependencies": {
|
|
45
46
|
"@ffmpeg-installer/ffmpeg": "^1.1.0",
|
|
46
47
|
"ylib-dingtalk-connector": "0.7.10-beata.9",
|
|
47
48
|
"ylib-openclaw-lark": "2026.3.17-beata.13",
|
|
48
|
-
"ylib-openclaw-weixin": "2.1.7",
|
|
49
|
+
"ylib-openclaw-weixin": "2.1.7-beat.1",
|
|
49
50
|
"axios": "^1.6.0",
|
|
50
51
|
"dingtalk-stream": "^2.1.4",
|
|
51
52
|
"fluent-ffmpeg": "^2.1.3",
|
|
@@ -423,6 +423,7 @@ async function stopAllAccounts(reason: string): Promise<void> {
|
|
|
423
423
|
}
|
|
424
424
|
|
|
425
425
|
async function startConfiguredAccounts(): Promise<void> {
|
|
426
|
+
debugger
|
|
426
427
|
if (!bridgeCfg || !bridgeStartAccount) return;
|
|
427
428
|
const cfg = bridgeCfg;
|
|
428
429
|
const startAccount = bridgeStartAccount;
|