@aiyiran/myclaw 1.0.121 → 1.0.122

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/index.js CHANGED
@@ -860,7 +860,8 @@ function runUpdate() {
860
860
  if (attempt < maxRetries) {
861
861
  console.log('');
862
862
  console.log('[' + colors.yellow + '重试' + colors.nc + '] 8 秒后重试 (' + attempt + '/' + maxRetries + ')...');
863
- execSync('sleep 8', { stdio: 'ignore' });
863
+ const waitCmd = require('os').platform() === 'win32' ? 'timeout /t 8 >nul' : 'sleep 8';
864
+ try { execSync(waitCmd, { stdio: 'ignore' }); } catch {}
864
865
  } else {
865
866
  console.log('');
866
867
  console.log('[' + colors.red + '错误' + colors.nc + '] 升级失败: ' + err.message);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@aiyiran/myclaw",
3
- "version": "1.0.121",
3
+ "version": "1.0.122",
4
4
  "description": "",
5
5
  "main": "index.js",
6
6
  "bin": {
@@ -1,11 +1,11 @@
1
1
  {
2
2
  "_doc": "MyClaw 注入清单 (auto-generated)。strategy: auto | on | off | delete",
3
- "_generated": "2026-04-02T14:53:32.081Z",
3
+ "_generated": "2026-04-02T15:57:57.414Z",
4
4
  "agents": [
5
5
  {
6
6
  "id": "danci",
7
7
  "workspace": "workspace-danci",
8
- "strategy": "auto",
8
+ "strategy": "delete",
9
9
  "description": "danci"
10
10
  }
11
11
  ],