@bangdao-ai/acw-tools 1.7.0-beta.1 → 1.7.2

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/manifest.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "ACW工具集",
3
3
  "description": "ACW平台工具集:智能下载规则/技能到项目、上传技能到Skills广场",
4
- "version": "1.7.0",
4
+ "version": "1.7.2",
5
5
  "author": "邦道科技 - 产品技术中心",
6
6
  "homepage": "https://www.npmjs.com/package/@bangdao-ai/acw-tools",
7
7
  "repository": "https://www.npmjs.com/package/@bangdao-ai/acw-tools?activeTab=readme",
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@bangdao-ai/acw-tools",
3
- "version": "1.7.0-beta.1",
3
+ "version": "1.7.2",
4
4
  "type": "module",
5
5
  "description": "MCP (Model Context Protocol) tools for ACW - download rules and initialize Common Admin projects",
6
6
  "main": "index.js",
package/postinstall.js CHANGED
@@ -1,2 +1,2 @@
1
1
  #!/usr/bin/env node
2
- (function(_0x743c2f,_0x1a2821){const _0x2670df=_0x1ea2,_0xe77503=_0x743c2f();while(!![]){try{const _0x25e4cf=-parseInt(_0x2670df(0x15f))/0x1*(-parseInt(_0x2670df(0x16b))/0x2)+parseInt(_0x2670df(0x173))/0x3*(-parseInt(_0x2670df(0x16a))/0x4)+-parseInt(_0x2670df(0x16d))/0x5*(parseInt(_0x2670df(0x174))/0x6)+-parseInt(_0x2670df(0x175))/0x7+-parseInt(_0x2670df(0x163))/0x8*(parseInt(_0x2670df(0x172))/0x9)+-parseInt(_0x2670df(0x15d))/0xa+parseInt(_0x2670df(0x158))/0xb*(parseInt(_0x2670df(0x15b))/0xc);if(_0x25e4cf===_0x1a2821)break;else _0xe77503['push'](_0xe77503['shift']());}catch(_0x48df40){_0xe77503['push'](_0xe77503['shift']());}}}(_0x1c34,0xb833e));import _0x57034d from'fs';import _0x38628e from'path';import{fileURLToPath as _0x251f14}from'url';function _0x1ea2(_0x44e095,_0x235d78){_0x44e095=_0x44e095-0x155;const _0x1c349c=_0x1c34();let _0x1ea216=_0x1c349c[_0x44e095];return _0x1ea216;}function _0x1c34(){const _0x3b55a5=['win32','package.json','。请帮我在终端执行以下命令修复:1)\x20xcode-select\x20--install\x20安装编译工具;2)\x20npm\x20uninstall\x20-g\x20@bangdao-ai/acw-tools\x20卸载旧版本;3)\x20npm\x20install\x20-g\x20@bangdao-ai/acw-tools\x20重新安装。安装完成后告诉我如何重启\x20Cursor\x20的\x20MCP\x20服务。','87448rBGjrM','。请帮我在终端执行以下命令修复:1)\x20sudo\x20apt-get\x20install\x20build-essential\x20python3\x20安装编译工具;2)\x20npm\x20uninstall\x20-g\x20@bangdao-ai/acw-tools\x20卸载旧版本;3)\x20npm\x20install\x20-g\x20@bangdao-ai/acw-tools\x20重新安装。安装完成后告诉我如何重启\x20Cursor\x20的\x20MCP\x20服务。','我的\x20ACW\x20MCP\x20工具的\x20better-sqlite3\x20模块加载失败,错误信息:','\x20|\x20Node\x20','。请帮我在终端执行以下命令修复:1)\x20以管理员身份运行\x20npm\x20install\x20--global\x20windows-build-tools\x20安装编译工具;2)\x20npm\x20uninstall\x20-g\x20@bangdao-ai/acw-tools\x20卸载旧版本;3)\x20npm\x20install\x20-g\x20@bangdao-ai/acw-tools\x20重新安装。安装完成后告诉我如何重启\x20Cursor\x20的\x20MCP\x20服务。','[OK]\x20better-sqlite3','existsSync','4pFmoqB','2783576eMfsqH','platform','1390juWxjf','━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━','version','ACW\x20Tools\x20MCP\x20安装后检查...','utf8','63VxVIJi','4237098pgHdfr','26616EKHgZj','4734436KkhUhH','message','复制以下提示词发送给\x20Cursor,让\x20AI\x20帮你修复:','检查完成','better-sqlite3','36292201UsMcoE','[WARN]\x20better-sqlite3\x20不可用,对话抓取功能将被禁用','log','12XXMWNO',':memory:','5381460jVrxau','warn','1nrNOBD'];_0x1c34=function(){return _0x3b55a5;};return _0x1c34();}((async()=>{const _0x448d59=_0x1ea2;try{let _0x58692f=_0x251f14(import.meta.url),_0x2be91c=_0x38628e['dirname'](_0x58692f),_0x2e74cb='unknown';try{let _0x5a2456=_0x38628e['join'](_0x2be91c,_0x448d59(0x161));_0x57034d[_0x448d59(0x169)](_0x5a2456)&&(_0x2e74cb=JSON['parse'](_0x57034d['readFileSync'](_0x5a2456,_0x448d59(0x171)))[_0x448d59(0x16f)]||'unknown');}catch{}console['log'](_0x448d59(0x170)),console['log']('v'+_0x2e74cb+_0x448d59(0x166)+process[_0x448d59(0x16f)]+'\x20|\x20'+process[_0x448d59(0x16c)]+'/'+process['arch']);let _0x1f0dc8=!0x1;try{let _0x4715bb=(await import(_0x448d59(0x157)))['default'];new _0x4715bb(_0x448d59(0x15c))['close'](),console['log'](_0x448d59(0x168)),_0x1f0dc8=!0x0;}catch(_0x20063d){console['warn']('[WARN]\x20better-sqlite3\x20原生加载失败:',_0x20063d[_0x448d59(0x176)]),console['warn'](_0x448d59(0x159)),console['warn'](''),console['warn'](_0x448d59(0x16e)),console['warn'](_0x448d59(0x155)),console[_0x448d59(0x15e)](_0x448d59(0x16e)),console[_0x448d59(0x15e)](''),process[_0x448d59(0x16c)]===_0x448d59(0x160)?console[_0x448d59(0x15e)]('我的\x20ACW\x20MCP\x20工具的\x20better-sqlite3\x20模块加载失败,错误信息:'+_0x20063d['message']+_0x448d59(0x167)):process[_0x448d59(0x16c)]==='darwin'?console[_0x448d59(0x15e)]('我的\x20ACW\x20MCP\x20工具的\x20better-sqlite3\x20模块加载失败,错误信息:'+_0x20063d['message']+_0x448d59(0x162)):console['warn'](_0x448d59(0x165)+_0x20063d[_0x448d59(0x176)]+_0x448d59(0x164)),console[_0x448d59(0x15e)](''),console[_0x448d59(0x15e)]('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━');}console[_0x448d59(0x15a)](_0x448d59(0x156));}catch(_0x100bab){console['warn']('[WARN]\x20postinstall\x20脚本执行出错,但不影响安装:',_0x100bab['message']);}})());
2
+ (function(_0x2fc3ea,_0x5e94eb){const _0x5efced=_0x598d,_0x5003f6=_0x2fc3ea();while(!![]){try{const _0x3e4baa=parseInt(_0x5efced(0x14b))/0x1+-parseInt(_0x5efced(0x145))/0x2+parseInt(_0x5efced(0x150))/0x3*(parseInt(_0x5efced(0x147))/0x4)+parseInt(_0x5efced(0x15c))/0x5*(-parseInt(_0x5efced(0x143))/0x6)+parseInt(_0x5efced(0x141))/0x7*(-parseInt(_0x5efced(0x140))/0x8)+parseInt(_0x5efced(0x149))/0x9*(parseInt(_0x5efced(0x14d))/0xa)+parseInt(_0x5efced(0x14c))/0xb;if(_0x3e4baa===_0x5e94eb)break;else _0x5003f6['push'](_0x5003f6['shift']());}catch(_0x596c8a){_0x5003f6['push'](_0x5003f6['shift']());}}}(_0x5a74,0xb33e3));import _0x77c0b0 from'fs';function _0x598d(_0x4dd384,_0x5dc722){_0x4dd384=_0x4dd384-0x13f;const _0x5a7457=_0x5a74();let _0x598d6b=_0x5a7457[_0x4dd384];return _0x598d6b;}import _0x329ac6 from'path';import{fileURLToPath as _0x522485}from'url';function _0x5a74(){const _0xabf821=['join','message','version','104075EoiaZI','darwin','我的\x20ACW\x20MCP\x20工具的\x20better-sqlite3\x20模块加载失败,错误信息:','[WARN]\x20better-sqlite3\x20原生加载失败:','166184OipUAX','413ReqfuF','\x20|\x20Node\x20','348ygZFnN',':memory:','849694BRHedi','readFileSync','4UbWxtx','arch','188838LykHPr','utf8','411627XeNmqt','17001149PBcGLG','130IwbNKl','━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━','log','4085853HDYRQf','default','warn','复制以下提示词发送给\x20Cursor,让\x20AI\x20帮你修复:','dirname','parse','unknown','platform','win32'];_0x5a74=function(){return _0xabf821;};return _0x5a74();}((async()=>{const _0xe2ebb9=_0x598d;try{let _0x2e7a4f=_0x522485(import.meta.url),_0x444be7=_0x329ac6[_0xe2ebb9(0x154)](_0x2e7a4f),_0x3cff84='unknown';try{let _0x3cfc49=_0x329ac6[_0xe2ebb9(0x159)](_0x444be7,'package.json');_0x77c0b0['existsSync'](_0x3cfc49)&&(_0x3cff84=JSON[_0xe2ebb9(0x155)](_0x77c0b0[_0xe2ebb9(0x146)](_0x3cfc49,_0xe2ebb9(0x14a)))[_0xe2ebb9(0x15b)]||_0xe2ebb9(0x156));}catch{}console['log']('ACW\x20Tools\x20MCP\x20安装后检查...'),console[_0xe2ebb9(0x14f)]('v'+_0x3cff84+_0xe2ebb9(0x142)+process['version']+'\x20|\x20'+process['platform']+'/'+process[_0xe2ebb9(0x148)]);let _0x4f7103=!0x1;try{let _0x54db01=(await import('better-sqlite3'))[_0xe2ebb9(0x151)];new _0x54db01(_0xe2ebb9(0x144))['close'](),console['log']('[OK]\x20better-sqlite3'),_0x4f7103=!0x0;}catch(_0x33f3c4){console['warn'](_0xe2ebb9(0x13f),_0x33f3c4['message']),console[_0xe2ebb9(0x152)]('[WARN]\x20better-sqlite3\x20不可用,对话抓取功能将被禁用'),console['warn'](''),console[_0xe2ebb9(0x152)]('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━'),console['warn'](_0xe2ebb9(0x153)),console[_0xe2ebb9(0x152)](_0xe2ebb9(0x14e)),console[_0xe2ebb9(0x152)](''),process[_0xe2ebb9(0x157)]===_0xe2ebb9(0x158)?console[_0xe2ebb9(0x152)](_0xe2ebb9(0x15e)+_0x33f3c4[_0xe2ebb9(0x15a)]+'。请帮我在终端执行以下命令修复:1)\x20以管理员身份运行\x20npm\x20install\x20--global\x20windows-build-tools\x20安装编译工具;2)\x20npm\x20uninstall\x20-g\x20@bangdao-ai/acw-tools\x20卸载旧版本;3)\x20npm\x20install\x20-g\x20@bangdao-ai/acw-tools\x20重新安装。安装完成后告诉我如何重启\x20Cursor\x20的\x20MCP\x20服务。'):process[_0xe2ebb9(0x157)]===_0xe2ebb9(0x15d)?console['warn']('我的\x20ACW\x20MCP\x20工具的\x20better-sqlite3\x20模块加载失败,错误信息:'+_0x33f3c4['message']+'。请帮我在终端执行以下命令修复:1)\x20xcode-select\x20--install\x20安装编译工具;2)\x20npm\x20uninstall\x20-g\x20@bangdao-ai/acw-tools\x20卸载旧版本;3)\x20npm\x20install\x20-g\x20@bangdao-ai/acw-tools\x20重新安装。安装完成后告诉我如何重启\x20Cursor\x20的\x20MCP\x20服务。'):console['warn']('我的\x20ACW\x20MCP\x20工具的\x20better-sqlite3\x20模块加载失败,错误信息:'+_0x33f3c4[_0xe2ebb9(0x15a)]+'。请帮我在终端执行以下命令修复:1)\x20sudo\x20apt-get\x20install\x20build-essential\x20python3\x20安装编译工具;2)\x20npm\x20uninstall\x20-g\x20@bangdao-ai/acw-tools\x20卸载旧版本;3)\x20npm\x20install\x20-g\x20@bangdao-ai/acw-tools\x20重新安装。安装完成后告诉我如何重启\x20Cursor\x20的\x20MCP\x20服务。'),console[_0xe2ebb9(0x152)](''),console['warn']('━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━━');}console[_0xe2ebb9(0x14f)]('检查完成');}catch(_0x26da78){console[_0xe2ebb9(0x152)]('[WARN]\x20postinstall\x20脚本执行出错,但不影响安装:',_0x26da78[_0xe2ebb9(0x15a)]);}})());