ylib-syim 0.0.5 → 0.0.6

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/bridges/main.ts +2 -10
  2. package/package.json +2 -2
package/bridges/main.ts CHANGED
@@ -106,11 +106,7 @@ function applyRemoteRuntimeConfigToPluginHome(): void {
106
106
  } else {
107
107
  console.log(`[bridges/main] plugin temp HOME syim dir exists: ${syimDir}`);
108
108
  }
109
- if (!fs.existsSync(syimPath)) {
110
- fs.writeFileSync(syimPath, payload, "utf-8");
111
- } else {
112
- console.log(`[bridges/main] plugin temp HOME syim dir exists: ${syimPath}`);
113
- }
109
+ fs.writeFileSync(syimPath, payload, "utf-8");
114
110
  const openclawDir = path.join(pluginTempHomeDir, ".openclaw");
115
111
  const openclawPath = path.join(openclawDir, "openclaw.json");
116
112
  if (!fs.existsSync(openclawDir)) {
@@ -118,11 +114,7 @@ function applyRemoteRuntimeConfigToPluginHome(): void {
118
114
  } else {
119
115
  console.log(`[bridges/main] plugin temp HOME openclaw dir exists: ${openclawDir}`);
120
116
  }
121
- if (!fs.existsSync(openclawPath)) {
122
- fs.writeFileSync(openclawPath, payload, "utf-8");
123
- } else {
124
- console.log(`[bridges/main] plugin temp HOME openclaw dir exists: ${openclawPath}`);
125
- }
117
+ fs.writeFileSync(openclawPath, payload, "utf-8");
126
118
  process.env.HOME = pluginTempHomeDir;
127
119
  if (process.platform === "win32") process.env.USERPROFILE = pluginTempHomeDir;
128
120
  console.log(
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "ylib-syim",
3
- "version": "0.0.5",
3
+ "version": "0.0.6",
4
4
  "description": "多 IM / 多 Agent 的会话路由与上下文管理(支持 /new)",
5
5
  "type": "module",
6
6
  "exports": {
@@ -41,7 +41,7 @@
41
41
  "dependencies": {
42
42
  "@ffmpeg-installer/ffmpeg": "^1.1.0",
43
43
  "ylib-dingtalk-connector": "0.7.10-beata.2",
44
- "ylib-openclaw-lark": "2026.3.17-beata.4",
44
+ "ylib-openclaw-lark": "2026.3.17-beata.5",
45
45
  "axios": "^1.6.0",
46
46
  "dingtalk-stream": "^2.1.4",
47
47
  "fluent-ffmpeg": "^2.1.3",