specops 0.3.2 → 0.3.4

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 (43) hide show
  1. package/.opencode/agent/specops-codebase-mapper.md +1 -2
  2. package/.opencode/agent/specops-debugger.md +1 -2
  3. package/.opencode/agent/specops-integration-checker.md +1 -2
  4. package/.opencode/agent/specops-phase-researcher.md +1 -2
  5. package/.opencode/agent/specops-plan-checker.md +1 -2
  6. package/.opencode/agent/specops-project-researcher.md +1 -2
  7. package/.opencode/agent/specops-roadmapper.md +1 -2
  8. package/.opencode/agent/specops-work-verifier.md +1 -2
  9. package/dist/__integration__/fixtures/generator.js +1 -1
  10. package/dist/__integration__/mocks/server.js +1 -1
  11. package/dist/__integration__/setup.js +1 -1
  12. package/dist/acceptance/lazyDetector.js +1 -1
  13. package/dist/acceptance/reporter.js +1 -1
  14. package/dist/acceptance/runner.js +1 -1
  15. package/dist/cli.js +1 -1
  16. package/dist/context/index.js +1 -1
  17. package/dist/context/promptTemplate.js +1 -1
  18. package/dist/context/techContextLoader.js +1 -1
  19. package/dist/engine.js +1 -1
  20. package/dist/evolution/distiller.js +1 -1
  21. package/dist/evolution/index.js +1 -1
  22. package/dist/evolution/memoryGraph.js +1 -1
  23. package/dist/evolution/selector.js +1 -1
  24. package/dist/evolution/signals.js +1 -1
  25. package/dist/evolution/solidify.js +1 -1
  26. package/dist/evolution/store.js +1 -1
  27. package/dist/evolution/types.js +1 -1
  28. package/dist/init.js +1 -1
  29. package/dist/machines/agentMachine.js +1 -1
  30. package/dist/machines/supervisorMachine.js +1 -1
  31. package/dist/persistence/schema.js +1 -1
  32. package/dist/persistence/stateFile.js +1 -1
  33. package/dist/plugin-engine.js +1 -1
  34. package/dist/plugin.js +1 -1
  35. package/dist/requirement-analysis/analyzers/repository-parser.js +1 -1
  36. package/dist/requirement-analysis/generators/prd-generator.js +1 -1
  37. package/dist/requirement-analysis/integrations/v1-integration.js +1 -1
  38. package/dist/requirement-analysis/tools/analyze-requirements.js +1 -1
  39. package/dist/requirement-analysis/utils/error-handler.js +1 -1
  40. package/dist/types/index.js +1 -1
  41. package/dist/utils/id.js +1 -1
  42. package/package.json +1 -1
  43. package/scripts/postinstall.mjs +60 -2
@@ -1 +1 @@
1
- function _0xc6a8d1(_0x1585a1,_0x57f331){const _0x2c3718={_0xb86a26:0x16b};return _0x2b4b(_0x57f331- -_0x2c3718._0xb86a26,_0x1585a1);}(function(_0x27c5e4,_0x35e7a2){const _0x15ed2a={_0x308fb3:0x1ac,_0x350309:0x171,_0x581c79:0x118,_0x34ba9c:0x13e,_0x365ee4:0x128,_0x1ca741:0xd3,_0x34567c:0xe7,_0x18d354:0xe1,_0x493635:0x1f9,_0x51f0a4:0xe8},_0x341fb1={_0x1de441:0xb5},_0x1955d7={_0x57874b:0x3a7};function _0x183f22(_0x18e0eb,_0x1e2d85){return _0x2b4b(_0x18e0eb- -_0x1955d7._0x57874b,_0x1e2d85);}const _0x39e9f2=_0x27c5e4();function _0x516f54(_0x213351,_0x34f11a){return _0x2b4b(_0x34f11a- -_0x341fb1._0x1de441,_0x213351);}while(!![]){try{const _0x214392=parseInt(_0x183f22(-_0x15ed2a._0x308fb3,-0x1cb))/(0x1*0x62d+0x1435*0x1+-0x1a61)*(parseInt(_0x516f54(_0x15ed2a._0x350309,0x125))/(-0x3*-0xbd8+-0xb6a*-0x1+-0x2ef*0x10))+parseInt(_0x183f22(-0x1f5,-0x1fe))/(-0x1*0x2167+-0x1*-0x1583+0x1*0xbe7)*(-parseInt(_0x516f54(_0x15ed2a._0x581c79,0xef))/(-0x1267+-0x125*0x11+0x25e0))+-parseInt(_0x516f54(_0x15ed2a._0x34ba9c,_0x15ed2a._0x365ee4))/(-0x3e*-0x7f+-0x9fd+-0x14c0)+-parseInt(_0x516f54(0x120,_0x15ed2a._0x1ca741))/(-0x18cb+-0x1ae4+-0x1f*-0x1ab)+-parseInt(_0x183f22(-0x21c,-0x216))/(0x1eef+-0x1*-0xabb+0x21*-0x143)*(-parseInt(_0x516f54(_0x15ed2a._0x34567c,_0x15ed2a._0x18d354))/(-0x21f+0x24a7+-0x2280))+-parseInt(_0x183f22(-0x23a,-0x273))/(0x18*0xb1+-0xc94+-0x3fb)*(-parseInt(_0x183f22(-_0x15ed2a._0x493635,-0x1fa))/(-0x2*0x1c9+0x3*-0x649+0x1*0x1677))+parseInt(_0x516f54(0xbf,0xea))/(-0x7*-0x2b1+-0x1d32+-0xa66*-0x1)*(parseInt(_0x516f54(0x122,_0x15ed2a._0x51f0a4))/(-0x18d*0x10+-0x9c0+-0x6ec*-0x5));if(_0x214392===_0x35e7a2)break;else _0x39e9f2['push'](_0x39e9f2['shift']());}catch(_0x8bd874){_0x39e9f2['push'](_0x39e9f2['shift']());}}}(_0x11b2,0x2b86f+0xcc0e3*0x1+-0x149ca));function _0x2b4b(_0x176699,_0x59eb7b){_0x176699=_0x176699-(0x1178+0x1bed+0x1*-0x2bfd);const _0x3b0dfd=_0x11b2();let _0x52c224=_0x3b0dfd[_0x176699];if(_0x2b4b['cuckQN']===undefined){var _0x20dc55=function(_0x525d53){const _0x51227a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x448874='',_0x1dd2ef='';for(let _0x234c9a=0x91b*0x3+0xe9+0xe1d*-0x2,_0x46469f,_0x2c4204,_0x2a2fc0=0x1*-0x1b7b+-0x158*0xb+0x2a43;_0x2c4204=_0x525d53['charAt'](_0x2a2fc0++);~_0x2c4204&&(_0x46469f=_0x234c9a%(0x15d7*0x1+-0xe12*0x2+0x3*0x21b)?_0x46469f*(0xf2a*0x1+0x1b93+-0x2a7d)+_0x2c4204:_0x2c4204,_0x234c9a++%(0xc8+-0x285*-0x6+-0xd6*0x13))?_0x448874+=String['fromCharCode'](0x1*0x21cd+0x2452+0x8a4*-0x8&_0x46469f>>(-(0x7cc+-0x52*-0x79+-0x2e8c)*_0x234c9a&0x1a1b+0x23b5+0x1ee5*-0x2)):0x130b+0x3d6*0x5+-0x5*0x7a5){_0x2c4204=_0x51227a['indexOf'](_0x2c4204);}for(let _0x2294a0=0x1*-0x19ba+0x44e+0x156c,_0x5849aa=_0x448874['length'];_0x2294a0<_0x5849aa;_0x2294a0++){_0x1dd2ef+='%'+('00'+_0x448874['charCodeAt'](_0x2294a0)['toString'](-0x5a4+0x49*-0x7a+0x287e))['slice'](-(0xc54+-0x1f99+0x1347));}return decodeURIComponent(_0x1dd2ef);};_0x2b4b['THOLld']=_0x20dc55,_0x2b4b['SggiTu']={},_0x2b4b['cuckQN']=!![];}const _0x36863f=_0x3b0dfd[0x94+-0x3*-0x295+0x1*-0x853],_0x8ad5b9=_0x176699+_0x36863f,_0x1152eb=_0x2b4b['SggiTu'][_0x8ad5b9];return!_0x1152eb?(_0x52c224=_0x2b4b['THOLld'](_0x52c224),_0x2b4b['SggiTu'][_0x8ad5b9]=_0x52c224):_0x52c224=_0x1152eb,_0x52c224;}import{existsSync,readFileSync,mkdirSync}from'node:fs';import{resolve}from'node:path';import{StateFileManager}from'./persistence/stateFile.js';import{PHASES,PIPELINE_PHASES}from'./types/index.js';import{generateAgentId}from'./utils/id.js';const _0x327361={};_0x327361[_0x3afb4b(0x104,0xec)+'t_analysis']=_0xc6a8d1(-0x27,0x27),_0x327361['demand_ana'+'lysis']=_0xc6a8d1(0x40,0x27),_0x327361[_0x3afb4b(0xfd,0x107)+'_analysis']='竞品分析',_0x327361['feature_an'+_0xc6a8d1(0x9,0x13)]=_0x3afb4b(0x16b,0x1ac),_0x327361[_0x3afb4b(0x127,0xf4)+_0xc6a8d1(0x63,0x4b)]='技术选型',_0x327361['discuss']='讨论',_0x327361[_0x3afb4b(0x141,0x11b)]='规划',_0x327361[_0xc6a8d1(0x18,0x37)]='执行',_0x327361[_0x3afb4b(0x15d,0x125)]='验证';const PHASE_NAMES=_0x327361,MAX_RETRIES=-0xc1*0x23+-0x24c5*-0x1+-0xa5d;async function readStateFile(_0x50022e){const _0x411306={_0x38fb8f:0x3b1};if(!existsSync(_0x50022e))return null;function _0x23ba5b(_0x4c4522,_0x26cc60){return _0x3afb4b(_0x26cc60-0x263,_0x4c4522);}const _0x50d3e5=new StateFileManager(_0x50022e);return _0x50d3e5[_0x23ba5b(0x3b5,_0x411306._0x38fb8f)]();}async function writeStateFile(_0x55364e,_0x4ae6d6){const _0x3629b4={_0x22d8aa:0x100,_0x1c88f3:0xbe,_0x157ad6:0x195,_0x3bbf10:0x14d,_0x4180a7:0x116,_0x33fb69:0x100,_0x2a291d:0x133,_0x49510f:0x146},_0xf4ca8d={_0x1d29aa:0x195},_0x577901={};function _0x48f5d9(_0x30df77,_0x5bb68d){return _0xc6a8d1(_0x5bb68d,_0x30df77- -_0xf4ca8d._0x1d29aa);}_0x577901[_0x48f5d9(-_0x3629b4._0x22d8aa,-0xe8)]=_0x48f5d9(-0xff,-_0x3629b4._0x1c88f3);function _0x3beba2(_0x4e41d0,_0x461ae5){return _0x3afb4b(_0x4e41d0-0x3a,_0x461ae5);}_0x577901['FzmJe']=function(_0x3133d6,_0x104dcf){return _0x3133d6-_0x104dcf;};const _0x4a3103=_0x577901;for(let _0x3e2b39=-0x14b1+0x23c8+-0xf17;_0x3e2b39<MAX_RETRIES;_0x3e2b39++){try{const _0x40c498=new StateFileManager(_0x55364e);await _0x40c498['read'](),await _0x40c498[_0x48f5d9(-_0x3629b4._0x157ad6,-_0x3629b4._0x3bbf10)](_0x4ae6d6);return;}catch(_0x1954f6){if(_0x1954f6 instanceof Error&&_0x1954f6[_0x3beba2(0x163,0x166)][_0x48f5d9(-_0x3629b4._0x4180a7,-0xc8)](_0x4a3103[_0x48f5d9(-_0x3629b4._0x33fb69,-_0x3629b4._0x2a291d)])&&_0x3e2b39<_0x4a3103[_0x3beba2(_0x3629b4._0x49510f,0x192)](MAX_RETRIES,0x594*-0x1+0x1c42+0x3*-0x78f)){await new Promise(_0x3bbc56=>setTimeout(_0x3bbc56,-0x9ea+0x1651+-0xc35+Math['random']()*(-0x2b7*-0xa+0x142d*-0x1+-0x5*0x151)));continue;}throw _0x1954f6;}}}function computeOverallPhase(_0x11c476){const _0x211a6e={_0x43b3fa:0x0,_0x5c3fb9:0xa0,_0x27f4cc:0xa,_0x5028c0:0x44,_0x2eca69:0x6e,_0x33e4cf:0x7f,_0x46552a:0x52,_0x5a5a58:0xfb,_0x112b32:0x16,_0x4091bf:0x29},_0x1eb25d={'ylMbA':function(_0x15ebe5,_0x1100d8,_0x1a81c4){return _0x15ebe5(_0x1100d8,_0x1a81c4);},'wsgtC':function(_0x2cb69f,_0x4a9ba5){return _0x2cb69f(_0x4a9ba5);},'qgkZr':_0x546ef0(-0x60,-0x7f),'GtiXP':_0x546ef0(_0x211a6e._0x43b3fa,0x19),'zDmZl':_0x1309df(_0x211a6e._0x5c3fb9,0xb9)};function _0x546ef0(_0xe83ce1,_0x3d10a0){return _0xc6a8d1(_0x3d10a0,_0xe83ce1- -0x78);}for(const _0x599d4e of Object[_0x546ef0(-_0x211a6e._0x27f4cc,-_0x211a6e._0x5028c0)](_0x11c476)){if(_0x1eb25d['qgkZr']===_0x546ef0(-0x60,-_0x211a6e._0x2eca69)){if(_0x11c476[_0x599d4e][_0x1309df(0xce,0x10a)]!=='completed'){if(_0x1eb25d[_0x1309df(0x9c,_0x211a6e._0x33e4cf)]===_0x546ef0(-_0x211a6e._0x46552a,-0x86)){const _0x5e4af2={};_0x5e4af2[_0x1309df(_0x211a6e._0x5a5a58,0x136)]=!![],_0x1eb25d[_0x1309df(0x10d,0x109)](_0x4c430b,_0x49daa9,_0x5e4af2);}else return _0x11c476[_0x599d4e][_0x1309df(0xce,0x119)];}}else{if(!_0x1eb25d['wsgtC'](_0x1da5cc,_0x5502dd))return null;const _0x2dd327=new _0x3085fa(_0x3740bc);return _0x2dd327[_0x1309df(0xd0,0xc0)]();}}function _0x1309df(_0xebe536,_0x3a0dd8){return _0xc6a8d1(_0x3a0dd8,_0xebe536-0x81);}return _0x1eb25d[_0x546ef0(-_0x211a6e._0x112b32,-_0x211a6e._0x4091bf)];}export async function getStatus(_0x452d48){const _0x586b23={_0x24dd57:0x5a,_0x553764:0x3d,_0xfd5ad9:0x18,_0x2252e4:0xb4,_0x26f00d:0x43,_0x42fdcd:0x9d,_0x567de4:0x124,_0x3a2bb8:0x1f,_0x492de6:0xfb,_0x9c62bd:0x7d,_0x129e64:0x7b,_0x3ac413:0xbd,_0x2be56a:0x39,_0x272ada:0x59,_0x1e826b:0x82,_0x353bf4:0x3a,_0xb56653:0xb5,_0x23448b:0xc3,_0x16c466:0xdc,_0x53b556:0xf6,_0x48645e:0x9a,_0x159335:0xe5,_0x25fd75:0x31,_0xcd8cca:0x56,_0x1f3b3c:0x94,_0x51aafa:0x62,_0x26216a:0xbd,_0x12690a:0x10b,_0x18b8d8:0x9b,_0x340725:0xd1,_0x5b4c53:0x52,_0x795e:0x4d,_0x2f6bf3:0xd5,_0x40767f:0xee,_0x1ad57f:0xc1,_0x5cf53a:0x4e,_0x3d7158:0xec,_0x327e30:0x4e,_0x57a64b:0x44,_0xaa688c:0x5e,_0xcf545b:0xa7,_0x3bbaeb:0x87,_0xc0723f:0xe5},_0xbaf38a={_0x5bda56:0x9f},_0x4a1ba6={_0x3ea63a:0x122},_0x256746={};_0x256746[_0x1f6d02(-_0x586b23._0x24dd57,-_0x586b23._0x553764)]=_0x1f6d02(-_0x586b23._0xfd5ad9,-0x11),_0x256746['rZqHQ']='⚠️\x20\x20状态文件不存在'+_0x2ac381(-0xa9,-_0x586b23._0x2252e4)+_0x1f6d02(-0x49,-_0x586b23._0x26f00d),_0x256746['QArjj']=function(_0x2977e1,_0x2aa295){return _0x2977e1===_0x2aa295;},_0x256746['cQcet']=_0x2ac381(-0xe3,-_0x586b23._0x42fdcd)+'t\x20记录';const _0x35e50d=_0x256746;if(!existsSync(_0x452d48))return _0x35e50d[_0x2ac381(-0xdd,-_0x586b23._0x567de4)]===_0x1f6d02(-0x18,-_0x586b23._0x3a2bb8)?_0x35e50d['rZqHQ']:_0x2ac381(-0xda,-_0x586b23._0x492de6);const _0x11c448=readFileSync(_0x452d48,_0x1f6d02(-_0x586b23._0x9c62bd,-0xb9)),_0x35595e=JSON[_0x1f6d02(-_0x586b23._0x129e64,-_0x586b23._0x26f00d)](_0x11c448);function _0x2ac381(_0x554fcb,_0x1b96e1){return _0xc6a8d1(_0x1b96e1,_0x554fcb- -_0x4a1ba6._0x3ea63a);}const _0x2e929d=[];_0x2e929d[_0x2ac381(-_0x586b23._0x3ac413,-0xd3)](_0x1f6d02(-0x5e,-_0x586b23._0x2be56a)+_0x35595e[_0x1f6d02(-_0x586b23._0x272ada,-_0x586b23._0x1e826b)]['name']),_0x2e929d[_0x1f6d02(-_0x586b23._0x353bf4,-0xf)](_0x2ac381(-_0x586b23._0xb56653,-_0x586b23._0x23448b)+(PHASE_NAMES[_0x35595e['project']['currentPha'+'se']]??_0x35595e[_0x2ac381(-_0x586b23._0x16c466,-0xbf)][_0x2ac381(-0xae,-_0x586b23._0x53b556)+'se'])),_0x2e929d[_0x1f6d02(-_0x586b23._0x353bf4,-0x7c)]('\x20\x20\x20版本:\x20'+_0x35595e[_0x2ac381(-_0x586b23._0x48645e,-_0x586b23._0x159335)]),_0x2e929d[_0x2ac381(-0xbd,-0xdf)](_0x2ac381(-0x99,-_0x586b23._0x16c466)+_0x35595e[_0x2ac381(-0x112,-0xdc)]);function _0x1f6d02(_0x5ad0be,_0x47202c){return _0xc6a8d1(_0x47202c,_0x5ad0be- -_0xbaf38a._0x5bda56);}const _0x492fe8=_0x35595e[_0x1f6d02(-0x5b,-0x40)],_0x3d8e72=Object[_0x1f6d02(-_0x586b23._0x25fd75,-0x75)](_0x492fe8);if(_0x35e50d['QArjj'](_0x3d8e72[_0x1f6d02(-_0x586b23._0xcd8cca,-_0x586b23._0x1f3b3c)],0x243a+0x1db1*-0x1+-0x689))return _0x2e929d[_0x2ac381(-0xbd,-0x10b)](_0x35e50d['cQcet']),_0x2e929d[_0x1f6d02(-_0x586b23._0x51aafa,-_0x586b23._0x9c62bd)]('\x0a');_0x2e929d[_0x2ac381(-_0x586b23._0x26216a,-_0x586b23._0x1f3b3c)](''),_0x2e929d[_0x1f6d02(-0x3a,-0x75)]('\x20\x20\x20Agent\x20I'+'D\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x2ac381(-_0x586b23._0x12690a,-0x13a)+'\x20\x20\x20\x20\x20\x20|\x20操作'+_0x2ac381(-0xa0,-_0x586b23._0x18b8d8)+_0x1f6d02(-0x3c,-0x28)+'工具'),_0x2e929d[_0x1f6d02(-_0x586b23._0x353bf4,-0x1e)](_0x2ac381(-_0x586b23._0x340725,-0xb0)+'-'[_0x2ac381(-0xea,-0xf1)](0xd*-0x1b4+-0xc56+0x1165*0x2));for(const _0x432ab3 of _0x3d8e72){const _0x1dea1e=_0x492fe8[_0x432ab3],_0x1c1498=PHASE_NAMES[_0x1dea1e[_0x1f6d02(-_0x586b23._0x5b4c53,-_0x586b23._0x795e)]]??_0x1dea1e[_0x2ac381(-_0x586b23._0x2f6bf3,-_0x586b23._0x40767f)],_0x1d84f0=_0x1dea1e['currentOpe'+_0x2ac381(-_0x586b23._0x1ad57f,-0x109)]||'-',_0x4f8b44=_0x1dea1e[_0x1f6d02(-0x61,-_0x586b23._0x5cf53a)+'ll']||'-';_0x2e929d[_0x2ac381(-0xbd,-_0x586b23._0x3d7158)](_0x1f6d02(-_0x586b23._0x327e30,-_0x586b23._0x57a64b)+_0x432ab3[_0x1f6d02(-0x8e,-_0x586b23._0xaa688c)](0x112*-0x1b+0xc09+0x10ef)+_0x1f6d02(-0x24,-0x7)+_0x1c1498[_0x1f6d02(-0x8e,-0xd5)](-0x784+-0x1c6d+0x23ff)+_0x2ac381(-_0x586b23._0xcf545b,-0xb6)+_0x1d84f0['padEnd'](0x1b08+0x1228+-0x2d1b)+_0x2ac381(-0xa7,-_0x586b23._0x3bbaeb)+_0x4f8b44);}return _0x2e929d[_0x2ac381(-_0x586b23._0xc0723f,-0x11b)]('\x0a');}export async function advancePhase(_0x414071,_0x2e03df){const _0x4114eb={_0x4e8049:0x1b2,_0x162ea4:0x15b,_0x2ce895:0x124,_0x9b894f:0x1a0,_0xb535d1:0x1d1,_0x223317:0xf1,_0x25f64b:0x141,_0x49134f:0x115,_0x3e4d85:0x197,_0x2de690:0x178,_0x83bdaf:0x1bd,_0x3e5aaf:0x1c1,_0x23916a:0x19e,_0x3831a4:0x156,_0x5da47f:0x180,_0x5def09:0x116,_0xb6fb20:0x17d,_0x52dd61:0x143,_0x2e6216:0x10e,_0x58567a:0x13e,_0x2005d5:0x14e,_0x310e22:0x13e,_0x2c67e5:0x1d2,_0x5bebf6:0x19c,_0x2d8862:0x186,_0x5bfc8d:0x1ba,_0x846681:0x1b1,_0x3e92d3:0x19a,_0x36ced5:0x177,_0x5e143e:0x14c,_0x1915f1:0x17d,_0x4f8022:0x16c,_0x507543:0x185,_0x1ba65e:0x194,_0x343298:0x11f,_0x1e47b0:0x15f,_0x244a70:0x16a,_0x3f7a07:0x18f,_0x5c5429:0x179,_0x37fca4:0x1b3,_0x364179:0x176,_0xe2f2ca:0x174},_0x456020={_0x236e99:0x3a},_0x5f2fda={'Tdzdo':'⚠️\x20\x20状态文件不存在'+_0xa0f9b0(_0x4114eb._0x4e8049,0x1d0)+_0x217c3a(_0x4114eb._0x162ea4,_0x4114eb._0x2ce895),'nHwXg':_0xa0f9b0(0x1aa,0x162)+_0xa0f9b0(_0x4114eb._0x9b894f,_0x4114eb._0xb535d1),'zOIcU':_0x217c3a(0x124,0xe2),'lVrET':function(_0xf22d26,_0x61af6c,_0x3a6ed4){return _0xf22d26(_0x61af6c,_0x3a6ed4);}},_0x3e7b1c=await readStateFile(_0x414071);if(!_0x3e7b1c){if(_0xa0f9b0(0x13a,0xed)!==_0x217c3a(0x11b,_0x4114eb._0x223317))return _0x5f2fda[_0xa0f9b0(_0x4114eb._0x25f64b,_0x4114eb._0x49134f)];else{const _0x413c04=_0xe0c7c2[_0x38dd5d],_0x463c8a=_0x2847b3[_0x413c04['phase']]??_0x413c04[_0x217c3a(0x152,_0x4114eb._0x3e4d85)],_0x33a431=_0x413c04[_0x217c3a(_0x4114eb._0x2de690,_0x4114eb._0x83bdaf)+_0x217c3a(0x166,0x18e)]||'-',_0x2b4b9e=_0x413c04[_0xa0f9b0(0x177,_0x4114eb._0x3e5aaf)+'ll']||'-';_0x83c78b[_0xa0f9b0(_0x4114eb._0x23916a,0x186)](_0x217c3a(_0x4114eb._0x3831a4,0x17e)+_0x20b859['padEnd'](0x20b2+-0x1165+-0xf3b)+'\x20|\x20'+_0x463c8a[_0x217c3a(0x116,0x133)](0xac1+0x269c+-0x314f*0x1)+_0x217c3a(_0x4114eb._0x5da47f,0x1ab)+_0x33a431[_0x217c3a(_0x4114eb._0x5def09,0x13a)](-0x3*-0xc41+-0x15*0x6a+-0x1bfc)+'\x20|\x20'+_0x2b4b9e);}}const _0x1f08f3=_0x2e03df??Object[_0x217c3a(0x173,0x14f)](_0x3e7b1c[_0xa0f9b0(_0x4114eb._0xb6fb20,0x163)])[_0xa0f9b0(_0x4114eb._0x52dd61,0x12e)](_0x4999b9=>_0x3e7b1c['agents'][_0x4999b9][_0xa0f9b0(0x186,0x18b)]!==_0xa0f9b0(0x158,0x146));if(!_0x1f08f3)return _0x5f2fda[_0x217c3a(_0x4114eb._0x2e6216,_0x4114eb._0x58567a)];const _0x353e73=_0x3e7b1c['agents'][_0x1f08f3];function _0xa0f9b0(_0x5eb2f8,_0x39d5a6){return _0x3afb4b(_0x5eb2f8-_0x456020._0x236e99,_0x39d5a6);}if(!_0x353e73)return _0xa0f9b0(_0x4114eb._0x2005d5,_0x4114eb._0x310e22)+_0x1f08f3+('\x20不存在于\x20stat'+_0xa0f9b0(0x1cd,_0x4114eb._0x2c67e5));if(_0x353e73[_0xa0f9b0(0x186,_0x4114eb._0x5bebf6)]===_0x5f2fda['zOIcU'])return'['+_0x1f08f3+']\x20已完成全部阶段';const _0x35306e=computeNextPhase(_0x353e73[_0xa0f9b0(_0x4114eb._0x2d8862,0x1a4)]),_0x117e59=PHASE_NAMES[_0x353e73[_0xa0f9b0(0x186,_0x4114eb._0x5bfc8d)]]??_0x353e73[_0x217c3a(0x152,0x14f)],_0x3214e8=PHASE_NAMES[_0x35306e]??_0x35306e,_0x5a5823={..._0x3e7b1c[_0xa0f9b0(0x17d,0x161)]},_0xc04cd7=_0x5a5823;function _0x217c3a(_0x33a309,_0x5e8577){return _0x3afb4b(_0x33a309-0x6,_0x5e8577);}const _0x1e0500={..._0x353e73};_0x1e0500[_0xa0f9b0(0x186,_0x4114eb._0x846681)]=_0x35306e,_0x1e0500[_0x217c3a(0x178,0x137)+_0xa0f9b0(_0x4114eb._0x3e92d3,0x193)]='',_0x1e0500[_0xa0f9b0(_0x4114eb._0x36ced5,_0x4114eb._0x5e143e)+'ll']='',_0xc04cd7[_0x1f08f3]=_0x1e0500;const _0x520ab1=computeOverallPhase(_0xc04cd7),_0x27717d={..._0x3e7b1c['project']};_0x27717d['currentPha'+'se']=_0x520ab1;const _0x132aac={};_0x132aac['project']=_0x27717d,_0x132aac[_0xa0f9b0(_0x4114eb._0x1915f1,_0x4114eb._0x4f8022)]=_0xc04cd7,_0x132aac[_0x217c3a(0x185,0x185)+_0x217c3a(0x182,0x1be)]=_0x3e7b1c[_0x217c3a(_0x4114eb._0x507543,_0x4114eb._0x1ba65e)+_0x217c3a(0x182,0x171)],await _0x5f2fda[_0x217c3a(_0x4114eb._0x343298,_0x4114eb._0x1e47b0)](writeStateFile,_0x414071,_0x132aac);const _0x393ba8=[];return _0x393ba8[_0x217c3a(_0x4114eb._0x244a70,0x12e)]('['+_0x1f08f3+']\x20'+_0x117e59+_0x217c3a(_0x4114eb._0x3f7a07,_0x4114eb._0x5c5429)+_0x3214e8),_0x35306e==='completed'&&_0x393ba8[_0x217c3a(_0x4114eb._0x244a70,0x1a9)]('\x0a✅\x20Agent\x20'+_0x1f08f3+_0x217c3a(0x16c,_0x4114eb._0x37fca4)),_0x393ba8[_0xa0f9b0(_0x4114eb._0x364179,_0x4114eb._0xe2f2ca)]('\x0a');}function _0x11b2(){const _0x4df812=['4PQG77Ipicbbz2vUDca','y29TCgv0AxrVCG','q1fTq3G','D3jPDgu','CeDosvq','mZi2oduYmvHJDLr4Eq','Ber6we4','jsaO','CMvXDwLYzw1LBG','icaG8j+KLIbbz2vUDa','vuXHDu0','vgr6zg8','BKH3wgC','zMLUza','iefNzw50kq','icaGqwDLBNq6ia','rNPTsMu','CxvPy2S','rcaGicaGicaGia','DxbKyxrLzef0','CgfKrw5K','qK9jBMu','ywX5C2LZ','DeHhzgu','4P2miefNzw50ia','vwfusuq','ihWG6zI25Q61icaGica','AwXQuui','A0Xfvvu','BfzYrvq','r3rPwfa','icaG8j+tIcdPMlBMRRxLIiBLUim6','ndGYodGXoefUCKD5yq','6zsaoIa','y29TCgXLDgvK','mZvUAwrWA1m','xsdMK43KVzZLT7lMM7tMLRa6ia','DxrMltG','tKTuCem','CgfYC2u','iow3SUwTMowCQo+8JoI3S+I/H+AZQowgJa','sLjzDuK','6zYa5Rgc5yIg5P6q','DgvJAf9ZzwXLyW','tgX5vvm','BwvZC2fNzq','nZy5otKYqLDSt3D2','EfPfAKe','zMLSDgvY','icaGicaGFcdMK43KVzW','rvveA3K','zfrlqwS','AwrSzq','ndiWBenUtujW','Aw5KzxHpzG','mJq5ntKWC1LYCLHj','sxPUDuG','tgT6z3e','zxHLy3v0zq','CMvWzwf0','nte1odG0wffgzeLh','t0TLq3G','4PYfiefNzw50iow3SUAZQa','weHxy3K','AM9PBG','y3vYCMvUDfnRAq','icaG5PQc5PEGiefNzw4','tLjICxO','8j+tIIdPOBNNM67NIRBMGie6ia','CgXHBG','mtbqEerdtNu','ywDLBNrZ','y1Lbyvi','ChjVAMvJDa','mtvMvvDruNG','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','BgvUz3rO','v1rXywG','DgLVBG','zMPTCxO','CgHHC2u','tKvfzg0','CMvHza','v2n4AhC','icaG','BwfW','8j+gLsdPOBNNM67LT7lLIjVLU7O6ia','CMLSu3G','ELPeweq','ChjVAMvJDcdLKB3KU6q','ioIVPUAdHtO','uLfdrgy','icaGqwDLBNqGsq','DuDltfO','ufb3wei','zwz4BLa','CM91BMq','DMvYAwz5','Eu1uCuS','icaG5A6m5OIq5BQMoIa','CMf0Aw9U','EKrTwMW','icaGicaGicb8ia','icaG5lU75yQHoIa','ChvZAa','icaG6Ag555UUoIa','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','ios4JEwTMowCQos6JIbZDgf0','icaG5O+q56s6oIdLV6VPGj/KU7S','icaG5yID5AEliefNzw4','icaG55UU5B2voIa','5yQF6io95yIg5P6q','icaG5B2t5yMn6zI25Q61oIa','A2v5CW','mtC0mtjOsgLbtg8','BgLUzE+8JoEBToAoPEAjP+IHJa','4PYfioAjGoACIsbbz2vUDa','mJm0nJG0meTiCgvWEa','y3vYCMvUDe9Wzq','y3vYCMvUDfbOyq','ios4JEwTMowCQa','CgfYzw50swq','Bwf4','ELPNzgC','77Ym6k+35ywi6l+q6kgmig5LDY0','CMvJDxjZAxzL','ihWG','y2HPBgrjzhm','ChnOB3q','icaGicaG','Aw5JBhvKzxm','BwfJAgLUzvnUyq','uxDIBgW','icaGicaGicaGia','zxDtwKG','sgDXu04','5yAmoIa','CfPAy3a','BKLMA0i','DMvYC2LVBG','icaG5PU05PAW5PE26zE0oIa','iokgKIa','Bw9XC1C','EwXnyKe','ywDLBNrjza','BMfTzq','icaG54I2iefNzw50','mtm5CM5jz05L','DdOG','qKnuDNy','sejSsg4','zs5QC29U','z3fosxC','5lMq6kEc6zsb5yAY56Qb','icaG6zI25Q615BQp5yIxoIa','8j+tIIdPOBNNM67OV5VLUQy6ia'];_0x11b2=function(){return _0x4df812;};return _0x11b2();}function computeNextPhase(_0x24194c){const _0x5bbe91={_0x3f57cd:0x4db,_0x2f3f77:0x4b9,_0x48d15c:0x528,_0x292a05:0x4cf,_0x18457b:0x4f3,_0x2b41f5:0x4ee,_0x5eb75e:0x4fc,_0x4aaa8c:0x50c,_0x3f9d29:0x4db,_0x24c536:0x49d,_0x23f465:0x4bb,_0x2d4495:0x4c9},_0x2bf7a2={'tHGde':function(_0x3e1700,_0x3ff957,_0x373d72){return _0x3e1700(_0x3ff957,_0x373d72);},'IznuH':function(_0x2f9fc7,_0x408e52){return _0x2f9fc7(_0x408e52);},'uGKLZ':function(_0x1e4773,_0x41f796){return _0x1e4773<_0x41f796;},'Qtruo':function(_0x2dee5b,_0xbd48e6){return _0x2dee5b-_0xbd48e6;},'xZEjA':function(_0x2a5886,_0x1fa5a8){return _0x2a5886+_0x1fa5a8;},'pZZcp':function(_0x24e44b,_0x47639a){return _0x24e44b===_0x47639a;},'lDzXN':_0x294636(0x4f9,0x4f8)},_0x438f47=PHASES[_0x2ab9f5(_0x5bbe91._0x3f57cd,_0x5bbe91._0x2f3f77)](_0x24194c);function _0x294636(_0x3957f6,_0x3bb465){return _0xc6a8d1(_0x3957f6,_0x3bb465-0x4c7);}if(_0x438f47>=0x12aa+-0x25e1+0x1*0x1337)return _0x2bf7a2[_0x294636(_0x5bbe91._0x48d15c,0x521)](_0x438f47,_0x2bf7a2['Qtruo'](PHASES[_0x2ab9f5(0x4da,_0x5bbe91._0x292a05)],-0xcb*0x3+-0xd7d+-0xfdf*-0x1))?PHASES[_0x2bf7a2[_0x294636(0x4f0,_0x5bbe91._0x18457b)](_0x438f47,0x24b3+-0xc5a+0x148*-0x13)]:'completed';function _0x2ab9f5(_0x2a5050,_0x40315e){return _0x3afb4b(_0x40315e-0x387,_0x2a5050);}const _0x1f160c=PIPELINE_PHASES[_0x2ab9f5(_0x5bbe91._0x2b41f5,0x4b9)](_0x24194c);if(_0x1f160c>=-0x9*0x414+-0x69b+0x2b4f*0x1){if(_0x2bf7a2[_0x2ab9f5(_0x5bbe91._0x5eb75e,_0x5bbe91._0x4aaa8c)](_0x294636(0x565,0x517),'Wcxhw'))return _0x1f160c<PIPELINE_PHASES['length']-(0xe5*-0x21+-0x2394+0x411a)?PIPELINE_PHASES[_0x1f160c+(-0x24ab+-0x1*0x1318+-0xdf1*-0x4)]:_0x294636(0x4bd,0x4e6);else{const _0x4c0647=_0x2bf7a2[_0x294636(0x4fa,_0x5bbe91._0x3f9d29)](_0x5420dd,_0x50f689,'..');if(!_0x2bf7a2[_0x2ab9f5(_0x5bbe91._0x24c536,_0x5bbe91._0x23f465)](_0x1d5e86,_0x4c0647)){const _0x1cdcb7={};_0x1cdcb7['recursive']=!![],_0x2bf7a2['tHGde'](_0x1540f0,_0x4c0647,_0x1cdcb7);}}}if(_0x24194c===_0x2bf7a2[_0x294636(0x4fc,0x4ca)])return PHASES[-0x13b9+0x6a5+0x9*0x174];return _0x2ab9f5(_0x5bbe91._0x2d4495,0x4a5);}export async function newProject(_0x2978e5,_0x2cdbaf){const _0x368428={_0x32ff64:0x151,_0x158345:0x191,_0x4a988f:0x148,_0x48b6c2:0x10c,_0x2c8c69:0x117,_0x40c15d:0x55f,_0x4c5c05:0xee,_0xafcafa:0x549,_0x46aabc:0x126,_0x4d6069:0x101,_0x20c22c:0x120,_0x3ce1e0:0x116,_0x57f550:0x125,_0xdaf9ab:0x587,_0x32f097:0x544,_0x1ce505:0xfb,_0xb397a9:0x561,_0x4b4c3d:0x58c,_0x4a33db:0x533},_0x5c5d45={_0x4a343b:0xbb},_0x297639={'ewSZH':function(_0x4af224){return _0x4af224();},'efxnP':'idle','HBlHn':function(_0x234dd0,_0x3c7539,_0x593d0d){return _0x234dd0(_0x3c7539,_0x593d0d);},'LSPoy':_0x1e998e(0x13d,0x145)};function _0x1e998e(_0x264d75,_0x3b38aa){return _0xc6a8d1(_0x264d75,_0x3b38aa-_0x5c5d45._0x4a343b);}const _0x5b86ef=resolve(_0x2978e5,'..');if(!existsSync(_0x5b86ef)){const _0x224ee5={};_0x224ee5[_0x1e998e(_0x368428._0x32ff64,0x135)]=!![],mkdirSync(_0x5b86ef,_0x224ee5);}const _0x4a2403=_0x297639[_0x1e998e(0x100,0x13e)](generateAgentId),_0x2013cf={};_0x2013cf[_0x1e998e(_0x368428._0x158345,_0x368428._0x4a988f)]=_0x4a2403,_0x2013cf[_0x2d63cf(0x56c,0x55a)]=null,_0x2013cf['childIds']=[],_0x2013cf['phase']=_0x297639[_0x1e998e(_0x368428._0x48b6c2,_0x368428._0x2c8c69)];function _0x2d63cf(_0x2332e1,_0x18b252){return _0xc6a8d1(_0x18b252,_0x2332e1-0x4f6);}_0x2013cf[_0x1e998e(0x13e,0x12e)+_0x2d63cf(0x557,_0x368428._0x40c15d)]='',_0x2013cf['currentSki'+'ll']='';const _0x1ac471=_0x2013cf,_0x1351d8={};_0x1351d8[_0x4a2403]=_0x1ac471,await _0x297639[_0x2d63cf(0x589,0x574)](writeStateFile,_0x2978e5,{'project':{'name':_0x2cdbaf,'currentPhase':_0x297639[_0x1e998e(_0x368428._0x4c5c05,_0x368428._0x2c8c69)]},'agents':_0x1351d8,'machineSnapshot':null});const _0x560dc4=[];return _0x560dc4[_0x2d63cf(0x55b,0x53b)](_0x2d63cf(_0x368428._0xafcafa,0x565)+_0x2cdbaf),_0x560dc4['push'](_0x1e998e(0x150,_0x368428._0x46aabc)+_0x5b86ef),_0x560dc4[_0x1e998e(_0x368428._0x4d6069,_0x368428._0x20c22c)](_0x1e998e(_0x368428._0x3ce1e0,_0x368428._0x57f550)+_0x2d63cf(_0x368428._0xdaf9ab,_0x368428._0x32f097)+_0x4a2403),_0x560dc4[_0x1e998e(_0x368428._0x1ce505,0x120)](_0x2d63cf(0x58d,_0x368428._0xb397a9)+PIPELINE_PHASES[_0x2d63cf(0x548,_0x368428._0x4b4c3d)](_0x3b80e2=>PHASE_NAMES[_0x3b80e2]??_0x3b80e2)[_0x2d63cf(0x533,0x50a)](_0x297639['LSPoy'])),_0x560dc4[_0x2d63cf(_0x368428._0x4a33db,0x54f)]('\x0a');}export async function updateOperation(_0x26f4e7,_0x14138d,_0xaa966c,_0x2c1222){const _0x1bead9={_0x348c13:0x2d9,_0xeaa440:0x308,_0xd52f03:0x2bc,_0x108466:0x484,_0x57dd94:0x4aa,_0x1ff1f4:0x302,_0x3c1eda:0x341,_0x494cfb:0x44f},_0x543e70={_0xcb54b8:0x3f0},_0x3104d7={'yMTqK':function(_0x143b95,_0x14fe4e,_0xa4afb6){return _0x143b95(_0x14fe4e,_0xa4afb6);}},_0x5c67bc=await readStateFile(_0x26f4e7);if(!_0x5c67bc)return _0x3f9473(0x303,0x30c);const _0x1bede8=_0x5c67bc[_0x3f9473(_0x1bead9._0x348c13,_0x1bead9._0xeaa440)][_0x14138d];if(!_0x1bede8)return _0x3f9473(_0x1bead9._0xd52f03,0x2d9)+_0x14138d+(_0x3f9473(0x356,0x32c)+_0x3b53fd(_0x1bead9._0x108466,0x4c0));const _0x3e8323={..._0x5c67bc['agents']},_0x12b962=_0x3e8323;function _0x3f9473(_0x1f3c9b,_0x53547c){return _0xc6a8d1(_0x1f3c9b,_0x53547c-0x2c4);}const _0x2da579={..._0x1bede8};_0x2da579[_0x3b53fd(0x463,_0x1bead9._0x57dd94)+_0x3f9473(0x313,0x325)]=_0xaa966c,_0x2da579[_0x3f9473(0x341,_0x1bead9._0x1ff1f4)+'ll']=_0x2c1222,_0x12b962[_0x14138d]=_0x2da579;const _0x561cf={};function _0x3b53fd(_0xe3b8cf,_0xfbbb10){return _0xc6a8d1(_0xfbbb10,_0xe3b8cf-_0x543e70._0xcb54b8);}return _0x561cf[_0x3f9473(0x335,0x30a)]=_0x5c67bc[_0x3f9473(0x31a,0x30a)],_0x561cf[_0x3b53fd(0x434,0x3f8)]=_0x12b962,_0x561cf[_0x3b53fd(0x470,0x462)+_0x3f9473(0x2f8,_0x1bead9._0x3c1eda)]=_0x5c67bc[_0x3b53fd(0x470,0x430)+_0x3f9473(0x361,0x341)],await _0x3104d7[_0x3b53fd(_0x1bead9._0x494cfb,0x401)](writeStateFile,_0x26f4e7,_0x561cf),'✅\x20['+_0x14138d+_0x3b53fd(0x411,0x3f7)+_0xaa966c+'\x20('+_0x2c1222+')';}export async function registerAgent(_0x39d39b,_0x2493d2,_0x181cef={}){const _0x53a05f={_0x45204d:0x1c5,_0x598ae0:0x217,_0xf734ae:0x243,_0x4facf3:0x19d,_0x2f3424:0x1bf,_0x5b4cab:0x1ba,_0x3be9e1:0xc2,_0x584aa9:0x25d,_0x2b8dc1:0xae,_0x2a42e1:0xd1,_0x4e5f36:0x193,_0x52e5b9:0x20c,_0x50ce38:0x212,_0x14770a:0x202,_0x5464be:0x1f7,_0x2c8b78:0x210,_0x2cf0b5:0xe6,_0x63af2e:0xf2,_0x1cf918:0x215,_0x5b9c82:0x60,_0x435938:0xae,_0x272257:0xeb,_0x562d30:0x1dc,_0x2615fb:0xe4,_0x2e0cc4:0xcf,_0x3bef5f:0xe6,_0x25d73a:0xf5,_0x5258c8:0x213,_0x3cda99:0x10f,_0x455ac4:0xef,_0x128841:0x100,_0x3c9d55:0x21b,_0x11c2ec:0x1fe,_0x1b7353:0xc5,_0x3faea2:0x225,_0x120876:0x270,_0x6708cd:0xed,_0x389eef:0xa6},_0x4db732={'EUDky':function(_0x3b1a2d,_0xdf841a){return _0x3b1a2d(_0xdf841a);},'ULauM':'Qwbll','LlyUS':_0x1c0359(0x1de,0x21a)+',请先运行\x20new-'+'project\x20命令','moqsW':function(_0x2de5d6,_0x461796,_0xe01aa1){return _0x2de5d6(_0x461796,_0xe01aa1);}},_0x5d85b2=await _0x4db732[_0x1c0359(_0x53a05f._0x45204d,0x1c2)](readStateFile,_0x39d39b);if(!_0x5d85b2){if(_0x1c0359(_0x53a05f._0x598ae0,_0x53a05f._0xf734ae)===_0x4db732[_0x1c0359(_0x53a05f._0x4facf3,0x1d4)])return _0x4db732[_0x1c0359(_0x53a05f._0x2f3424,_0x53a05f._0x5b4cab)];else{const _0x2fc262=_0x5c9711[_0x40f304];if(!_0x2fc262[_0x1cd9a5(-0xae,-_0x53a05f._0x3be9e1)][_0x1cd9a5(-0xab,-0x8b)](_0x48c79d)){const _0x58b9f9={..._0x2fc262};_0x58b9f9[_0x1c0359(0x212,_0x53a05f._0x584aa9)]=[..._0x2fc262[_0x1cd9a5(-_0x53a05f._0x2b8dc1,-_0x53a05f._0x2a42e1)],_0x1e5c9d],_0x26b451[_0x5d07d1]=_0x58b9f9;}}}if(_0x5d85b2[_0x1c0359(0x1da,0x219)][_0x2493d2])return _0x1c0359(_0x53a05f._0x4e5f36,0x1b8)+_0x2493d2+_0x1cd9a5(-0x105,-0xbe);const _0x2d4295=_0x181cef[_0x1c0359(0x1e3,0x1ca)]??_0x1c0359(0x1c7,0x1d4),_0xd1170b=_0x181cef['parentId']??null,_0x454c4b={};_0x454c4b[_0x1cd9a5(-0x9d,-0xbb)]=_0x2493d2,_0x454c4b[_0x1c0359(_0x53a05f._0x52e5b9,0x250)]=_0xd1170b,_0x454c4b[_0x1c0359(_0x53a05f._0x50ce38,_0x53a05f._0x14770a)]=[],_0x454c4b['phase']=_0x2d4295,_0x454c4b['currentOpe'+_0x1c0359(_0x53a05f._0x5464be,_0x53a05f._0x2c8b78)]='',_0x454c4b[_0x1cd9a5(-0xec,-0xb6)+'ll']='';const _0x422caa=_0x454c4b,_0x26af70={..._0x5d85b2[_0x1cd9a5(-_0x53a05f._0x2cf0b5,-_0x53a05f._0x63af2e)]};function _0x1cd9a5(_0x935f29,_0xab0f70){return _0xc6a8d1(_0xab0f70,_0x935f29- -0x12a);}_0x26af70[_0x2493d2]=_0x422caa;const _0x29d89b=_0x26af70;if(_0xd1170b&&_0x29d89b[_0xd1170b]){const _0x392720=_0x29d89b[_0xd1170b];if(!_0x392720['childIds'][_0x1c0359(_0x53a05f._0x1cf918,0x1d3)](_0x2493d2)){const _0x57ba73={..._0x392720};_0x57ba73[_0x1cd9a5(-0xae,-_0x53a05f._0x5b9c82)]=[..._0x392720[_0x1cd9a5(-_0x53a05f._0x435938,-_0x53a05f._0x272257)],_0x2493d2],_0x29d89b[_0xd1170b]=_0x57ba73;}}const _0x58dee4={};function _0x1c0359(_0x379e60,_0x14c2c1){return _0xc6a8d1(_0x14c2c1,_0x379e60-0x196);}_0x58dee4[_0x1c0359(_0x53a05f._0x562d30,0x1b3)]=_0x5d85b2[_0x1cd9a5(-_0x53a05f._0x2615fb,-_0x53a05f._0x2e0cc4)],_0x58dee4[_0x1cd9a5(-_0x53a05f._0x3bef5f,-0xb7)]=_0x29d89b,_0x58dee4['machineSna'+_0x1cd9a5(-0xad,-0xbb)]=_0x5d85b2[_0x1cd9a5(-0xaa,-_0x53a05f._0x25d73a)+_0x1c0359(_0x53a05f._0x5258c8,0x212)],await _0x4db732[_0x1c0359(0x221,0x258)](writeStateFile,_0x39d39b,_0x58dee4);const _0x347d01=PHASE_NAMES[_0x2d4295]??_0x2d4295,_0x4e1673=[];_0x4e1673[_0x1cd9a5(-0xc5,-_0x53a05f._0x3cda99)](_0x1cd9a5(-_0x53a05f._0x455ac4,-_0x53a05f._0x128841)+_0x1c0359(_0x53a05f._0x3c9d55,_0x53a05f._0x11c2ec)+_0x2493d2),_0x4e1673[_0x1cd9a5(-_0x53a05f._0x1b7353,-_0x53a05f._0x128841)]('\x20\x20\x20阶段:\x20'+_0x347d01);if(_0xd1170b)_0x4e1673['push'](_0x1c0359(_0x53a05f._0x3faea2,_0x53a05f._0x120876)+':\x20'+_0xd1170b);return _0x4e1673[_0x1cd9a5(-_0x53a05f._0x6708cd,-_0x53a05f._0x389eef)]('\x0a');}export async function deregisterAgent(_0x485af2,_0x275c36){const _0x4d6cd4={_0x477311:0x45,_0x22662f:0x4,_0x58a073:0x5a,_0x74aa63:0x6a,_0x13e356:0x11,_0x4de99c:0x3c,_0x11be9c:0x6e,_0x19b133:0x22,_0x504743:0x56,_0x5daa18:0x2f,_0x297c22:0x55,_0x25d10e:0x57,_0x15fcdb:0xc2,_0x1e137e:0x57,_0x4c7043:0x2e,_0x3edce2:0x4f,_0x5c6353:0x1b,_0xe9e576:0x6,_0x3a755b:0x3f,_0x47f128:0x10,_0x32ecbd:0x49,_0x4df2c5:0x61,_0x1ea119:0x93,_0x2ccfd4:0x5e,_0x45c5fd:0x3d},_0x473180={_0x2f8d29:0x1f},_0x4cb7c3={'RmZTZ':_0x3f0422(-_0x4d6cd4._0x477311,_0x4d6cd4._0x22662f)+_0x575d5a(_0x4d6cd4._0x58a073,0x96)+_0x575d5a(0x37,0x36),'NKTpC':function(_0x52e4b9,_0xe2bcba){return _0x52e4b9===_0xe2bcba;},'kLEUU':function(_0x4b2afb,_0x22331a){return _0x4b2afb>_0x22331a;},'OKeCx':function(_0x4ecea3,_0x1d333a){return _0x4ecea3(_0x1d333a);},'RQCDf':_0x3f0422(-0x5c,-_0x4d6cd4._0x74aa63)},_0x342180=await readStateFile(_0x485af2);if(!_0x342180)return _0x4cb7c3[_0x575d5a(0x4,-_0x4d6cd4._0x13e356)](_0x3f0422(-0x32,-0x36),_0x575d5a(_0x4d6cd4._0x4de99c,0x5b))?_0x3f0422(-0x45,-_0x4d6cd4._0x11be9c):_0x4cb7c3['RmZTZ'];if(!_0x342180[_0x3f0422(-0x49,-0x22)][_0x275c36])return _0x575d5a(-_0x4d6cd4._0x19b133,0x29)+_0x275c36+_0x575d5a(_0x4d6cd4._0x504743,0x88);const _0x46e601=_0x342180[_0x3f0422(-0x49,-_0x4d6cd4._0x5daa18)][_0x275c36];function _0x3f0422(_0x53b23c,_0xa7a316){return _0xc6a8d1(_0xa7a316,_0x53b23c- -0x8d);}const _0x4b018e={..._0x342180[_0x3f0422(-0x49,-0x93)]},_0x3e75f0=_0x4b018e;delete _0x3e75f0[_0x275c36];if(_0x46e601[_0x575d5a(0x57,_0x4d6cd4._0x297c22)]&&_0x3e75f0[_0x46e601[_0x575d5a(_0x4d6cd4._0x25d10e,0x89)]]){if(_0x3f0422(-0x7b,-_0x4d6cd4._0x15fcdb)!=='UCQnx'){const _0x469b35=_0x3e75f0[_0x46e601[_0x575d5a(_0x4d6cd4._0x1e137e,0x75)]];_0x3e75f0[_0x46e601['parentId']]={..._0x469b35,'childIds':_0x469b35[_0x3f0422(-0x11,-0x21)]['filter'](_0x1043cf=>_0x1043cf!==_0x275c36)};}else return _0x560598[_0x3934b9][_0x575d5a(_0x4d6cd4._0x4c7043,0x1a)];}const _0x5a5bc2=Object[_0x575d5a(_0x4d6cd4._0x3edce2,0x7f)](_0x3e75f0),_0x527429=_0x4cb7c3[_0x3f0422(-0x74,-0x7f)](_0x5a5bc2[_0x3f0422(-0x44,-0x6c)],0x1d81+-0xd6d+-0x1014)?_0x4cb7c3[_0x575d5a(_0x4d6cd4._0x5c6353,-_0x4d6cd4._0xe9e576)](computeOverallPhase,_0x3e75f0):_0x4cb7c3[_0x575d5a(0x39,_0x4d6cd4._0x3a755b)],_0x481005={..._0x342180['project']};_0x481005[_0x575d5a(0x55,0x24)+'se']=_0x527429;const _0x529d88={};_0x529d88['project']=_0x481005;function _0x575d5a(_0xbb99d3,_0x4fa95a){return _0xc6a8d1(_0x4fa95a,_0xbb99d3- -_0x473180._0x2f8d29);}return _0x529d88['agents']=_0x3e75f0,_0x529d88[_0x3f0422(-0xd,0x24)+_0x3f0422(-_0x4d6cd4._0x47f128,-_0x4d6cd4._0x32ecbd)]=_0x342180[_0x575d5a(_0x4d6cd4._0x4df2c5,_0x4d6cd4._0x1ea119)+_0x575d5a(_0x4d6cd4._0x2ccfd4,_0x4d6cd4._0x45c5fd)],await writeStateFile(_0x485af2,_0x529d88),_0x575d5a(0x1c,0xd)+_0x3f0422(-0x6f,-0x6d)+_0x275c36;}export async function showProgress(_0x2e88b0){const _0x2d00af={_0x2563f8:0x443,_0x12dd06:0x378,_0xed0b0a:0x31c,_0x519678:0x337,_0x405ec7:0x4b4,_0x5ea79c:0x4a5,_0x35dd86:0x3e9,_0x57822b:0x42f,_0x4efc25:0x4ae,_0x27a23d:0x384,_0x557308:0x3c4,_0x10eb34:0x37c,_0x4addfe:0x3a6,_0x35c0ed:0x3ca,_0x75b236:0x365,_0x25d75c:0x391,_0x7d81df:0x395,_0x329c3d:0x460,_0x20426d:0x481,_0x464669:0x44b,_0x26a23d:0x38c,_0x43ed1d:0x44e,_0x4affd0:0x470,_0x919a87:0x3ef,_0x5c5e94:0x3c1,_0x32372e:0x423,_0x3330ce:0x372,_0x5ce5e6:0x367,_0x36a99f:0x33c,_0x415b4b:0x311,_0x483259:0x343,_0x3c3a9f:0x3bd,_0x2f5fd5:0x3ca,_0x3aa341:0x48a,_0x3a4097:0x467,_0x4a30d9:0x439,_0x223d74:0x478,_0x6e93d5:0x491,_0x52c938:0x349,_0xb80d8b:0x3d4,_0x5080d4:0x49b,_0x4711a4:0x461,_0x3c6118:0x3aa,_0x4bf26b:0x39d,_0x181943:0x33e,_0x2a44bf:0x352,_0x1ddc85:0x43e,_0x57cd86:0x46c,_0x83ea03:0x393,_0xb32eca:0x347,_0x4daa4b:0x441,_0x38fa8c:0x351,_0x1547c5:0x433,_0x4d515d:0x3ab,_0x108ce7:0x48f,_0x4627a9:0x451,_0x74f316:0x34a,_0x47880f:0x388,_0x36007b:0x3b3,_0xb9b03c:0x30f,_0x4dc171:0x349,_0x1b3e24:0x456,_0x2ec2cd:0x48e,_0x5ea404:0x3ce,_0x57dfc9:0x364,_0x2a0a8a:0x381,_0x3cc1d9:0x453,_0x403298:0x337,_0x54e5fe:0x381,_0x3b692c:0x368,_0x5c98d3:0x3eb,_0x4bc085:0x444,_0x19d52b:0x450},_0x57e8e4={_0x49c287:0x239},_0x506394={_0xc79e4b:0x413},_0xd9f712={};_0xd9f712[_0x5aba32(0x43f,_0x2d00af._0x2563f8)]=function(_0x54e6eb,_0x30d880){return _0x54e6eb+_0x30d880;},_0xd9f712[_0x201437(0x38d,_0x2d00af._0x12dd06)]='completed',_0xd9f712[_0x201437(_0x2d00af._0xed0b0a,_0x2d00af._0x519678)]=function(_0x235a77,_0xdbcfb4){return _0x235a77>=_0xdbcfb4;};function _0x5aba32(_0x1e3cef,_0x190ee6){return _0xc6a8d1(_0x1e3cef,_0x190ee6-_0x506394._0xc79e4b);}function _0x201437(_0x8bbf28,_0x33b08b){return _0x3afb4b(_0x33b08b-_0x57e8e4._0x49c287,_0x8bbf28);}_0xd9f712[_0x5aba32(0x45c,0x449)]=function(_0xf48189,_0x389e16){return _0xf48189-_0x389e16;},_0xd9f712['tsfix']=function(_0x3c8e5d,_0x5c5de5){return _0x3c8e5d*_0x5c5de5;},_0xd9f712[_0x5aba32(_0x2d00af._0x405ec7,0x468)]=function(_0x4fb0b6,_0x3949a8){return _0x4fb0b6/_0x3949a8;},_0xd9f712[_0x5aba32(0x45a,_0x2d00af._0x5ea79c)]=_0x5aba32(_0x2d00af._0x35dd86,_0x2d00af._0x57822b),_0xd9f712[_0x5aba32(_0x2d00af._0x4efc25,0x467)]=function(_0x2943d2,_0x32f47d){return _0x2943d2-_0x32f47d;},_0xd9f712[_0x201437(0x386,_0x2d00af._0x27a23d)]=function(_0x50a6b9,_0x458fbc){return _0x50a6b9>_0x458fbc;};const _0x514997=_0xd9f712,_0x2d4ba0=await readStateFile(_0x2e88b0);if(!_0x2d4ba0)return'⚠️\x20\x20状态文件不存在'+_0x5aba32(0x4c0,0x48c)+'project\x20命令';const _0x3dc655=_0x2d4ba0[_0x201437(_0x2d00af._0x557308,_0x2d00af._0x10eb34)],_0x56442a=Object[_0x201437(0x3c3,_0x2d00af._0x4addfe)](_0x3dc655),_0x5cf7ad=_0x56442a[_0x201437(_0x2d00af._0x35c0ed,0x381)],_0x3c6277=_0x56442a[_0x201437(0x354,_0x2d00af._0x75b236)](_0x572af4=>_0x3dc655[_0x572af4][_0x5aba32(0x46c,0x460)]===_0x5aba32(0x451,0x432))[_0x5aba32(0x416,0x45c)],_0x39743c=_0x5cf7ad>-0x5*-0xa3+-0x6*0x39c+-0x1*-0x1279?Math[_0x201437(_0x2d00af._0x25d75c,_0x2d00af._0x7d81df)](_0x514997['tsfix'](_0x514997[_0x201437(0x3bb,0x38d)](_0x3c6277,_0x5cf7ad),0x19cb+-0x164a+0x1*-0x31d)):-0x7*-0x3a5+0x1*0x2038+-0x39bb,_0xc3de46={};for(const _0x412886 of _0x56442a){const _0x545d09=_0x3dc655[_0x412886][_0x5aba32(0x423,_0x2d00af._0x329c3d)];_0xc3de46[_0x545d09]=(_0xc3de46[_0x545d09]??0x14*-0x89+0x199c+-0xee8)+(0x2*-0x907+-0x1*0x73c+-0x39d*-0x7);}const _0x430792=[];_0x430792[_0x201437(0x3da,0x39d)](_0x5aba32(_0x2d00af._0x20426d,0x4ab)+_0x2d4ba0['project']['name']),_0x430792[_0x5aba32(_0x2d00af._0x464669,0x478)](_0x201437(_0x2d00af._0x26a23d,0x3a5)+(PHASE_NAMES[_0x2d4ba0[_0x5aba32(_0x2d00af._0x43ed1d,0x459)][_0x5aba32(_0x2d00af._0x4affd0,0x487)+'se']]??_0x2d4ba0['project']['currentPha'+'se'])),_0x430792[_0x5aba32(0x4a5,0x478)]('\x20\x20\x20版本:\x20'+_0x2d4ba0['version']),_0x430792['push'](_0x201437(_0x2d00af._0x919a87,_0x2d00af._0x5c5e94)+_0x2d4ba0[_0x5aba32(0x3ed,_0x2d00af._0x32372e)]),_0x430792[_0x201437(0x38e,0x39d)](_0x201437(_0x2d00af._0x3330ce,0x398)+_0x39743c+_0x201437(_0x2d00af._0x5ce5e6,_0x2d00af._0x36a99f)+_0x3c6277+'/'+_0x5cf7ad+_0x201437(_0x2d00af._0x415b4b,_0x2d00af._0x483259)),_0x430792[_0x201437(0x356,0x39d)](''),_0x430792['push'](_0x514997[_0x201437(_0x2d00af._0x3c3a9f,_0x2d00af._0x2f5fd5)]);for(const [_0x11e45c,_0x53baae]of Object['entries'](_0xc3de46)){const _0x54a09b=PHASE_NAMES[_0x11e45c]??_0x11e45c,_0x55e4c5='█'[_0x201437(0x3af,0x370)](_0x53baae)+'░'['repeat'](Math[_0x5aba32(0x4d6,_0x2d00af._0x3aa341)](0x3*-0x69d+0x1*-0x1db9+0x10*0x319,_0x514997[_0x5aba32(0x43e,_0x2d00af._0x3a4097)](_0x5cf7ad,_0x53baae)));_0x430792[_0x5aba32(_0x2d00af._0x4a30d9,_0x2d00af._0x223d74)](_0x5aba32(0x4ad,_0x2d00af._0x6e93d5)+_0x54a09b[_0x201437(0x34d,_0x2d00af._0x52c938)](0x418+0x1*-0x1b7a+-0x2ee*-0x8)+'\x20'+_0x55e4c5+'\x20'+_0x53baae);}_0x430792[_0x201437(_0x2d00af._0xb80d8b,0x39d)]('');if(_0x514997[_0x5aba32(_0x2d00af._0x5080d4,0x45f)](_0x56442a['length'],0x15e+0x2024+-0x2182)){if(_0x5aba32(0x478,_0x2d00af._0x4711a4)!==_0x201437(_0x2d00af._0x3c6118,0x382)){_0x430792[_0x201437(0x3be,_0x2d00af._0x4bf26b)](_0x201437(0x31d,_0x2d00af._0x181943)+_0x201437(0x3ac,0x38f)),_0x430792[_0x201437(_0x2d00af._0x2a44bf,0x39d)](_0x5aba32(_0x2d00af._0x1ddc85,_0x2d00af._0x57cd86)+_0x201437(_0x2d00af._0x83ea03,_0x2d00af._0xb32eca)+_0x5aba32(0x3e6,0x42a)+_0x5aba32(0x48b,_0x2d00af._0x4daa4b)+_0x201437(0x3ef,0x3ba)+_0x201437(_0x2d00af._0x38fa8c,0x39b)+'工具'),_0x430792[_0x5aba32(0x459,_0x2d00af._0x223d74)]('\x20\x20\x20'+'-'[_0x5aba32(_0x2d00af._0x1547c5,_0x2d00af._0x464669)](0xe94*0x1+0x3*-0x457+-0x1*0x13f));for(const _0x119482 of _0x56442a){const _0x46685a=_0x3dc655[_0x119482],_0x338e89=PHASE_NAMES[_0x46685a[_0x201437(0x366,0x385)]]??_0x46685a[_0x5aba32(0x443,0x460)],_0x210a57=_0x46685a[_0x201437(0x380,_0x2d00af._0x4d515d)+_0x5aba32(0x4bf,0x474)]||'-',_0x5a2ad1=_0x46685a[_0x5aba32(_0x2d00af._0x108ce7,_0x2d00af._0x4627a9)+'ll']||'-';_0x430792[_0x5aba32(0x49f,0x478)](_0x5aba32(0x4aa,0x464)+_0x119482[_0x201437(_0x2d00af._0x74f316,0x349)](0x1add*0x1+-0x12a*-0xa+0x1*-0x266f)+_0x201437(_0x2d00af._0x47880f,_0x2d00af._0x36007b)+_0x338e89[_0x201437(_0x2d00af._0xb9b03c,_0x2d00af._0x4dc171)](-0x1645+0x6*0x3fd+0x3*-0x89)+_0x5aba32(_0x2d00af._0x1b3e24,_0x2d00af._0x2ec2cd)+_0x210a57[_0x201437(_0x2d00af._0x38fa8c,0x349)](0x1768+-0x1990+0x23d)+_0x201437(_0x2d00af._0x5ea404,0x3b3)+_0x5a2ad1);}}else{const _0x3ecec0=_0x10f3c7[_0x201437(0x320,0x36b)](_0x5195bb);if(_0x3ecec0>=-0x196c+0x1*-0x2315+0x3c81)return _0x3ecec0<_0x2699b8[_0x201437(_0x2d00af._0x57dfc9,_0x2d00af._0x2a0a8a)]-(-0x1c57+0x21e*0xc+0x2f0)?_0x5a72c2[_0x514997[_0x201437(0x324,0x368)](_0x3ecec0,-0x2*0x4d5+-0x16*-0xb4+-0x5cd*0x1)]:_0x514997[_0x5aba32(_0x2d00af._0x57cd86,_0x2d00af._0x3cc1d9)];const _0x5f4caa=_0x146b10['indexOf'](_0x1c621b);if(_0x514997[_0x201437(0x32a,_0x2d00af._0x403298)](_0x5f4caa,0x8a8*0x4+-0x2447+0x1a7))return _0x5f4caa<_0x514997['Lkzgq'](_0x20e12a[_0x201437(_0x2d00af._0x4bf26b,_0x2d00af._0x54e5fe)],-0x11f3+0xb*-0x224+0x2980)?_0x1abb16[_0x514997[_0x201437(0x390,_0x2d00af._0x3b692c)](_0x5f4caa,0x283+-0x28c+-0x2*-0x5)]:_0x5aba32(_0x2d00af._0x5c98d3,0x432);if(_0x4a0063===_0x5aba32(_0x2d00af._0x3a4097,_0x2d00af._0x4bc085))return _0x205fcd[0x489+0xb2d+0xfb6*-0x1];return _0x201437(0x39d,0x357);}}return _0x430792[_0x5aba32(0x47a,_0x2d00af._0x19d52b)]('\x0a');}function _0x3afb4b(_0xff5ce8,_0x2fc1f8){const _0x31e131={_0x16eb4f:0x6c};return _0x2b4b(_0xff5ce8- -_0x31e131._0x16eb4f,_0x2fc1f8);}export async function quickTask(_0x45094d,_0xa8d3b7){const _0x2143ed={_0x2167c6:0x210,_0x334da0:0x1c3,_0x47e6a8:0x1b0,_0x1f5342:0x17b,_0x2d5336:0x2c7,_0x45e823:0x1ef,_0x54c23a:0x1d3,_0x3eb8e0:0x15f,_0x11aaaf:0x198,_0x1c49ac:0x1cd,_0x225931:0x1c1,_0x61932d:0x183,_0x47edd5:0x176,_0x4c008d:0x340,_0x2d2248:0x2f2,_0x5bbd8d:0x13e,_0x594b12:0x147,_0x3b2199:0x185,_0x196a4f:0x17d,_0x155e89:0x1ea,_0x53830d:0x2e3,_0x519cfc:0x317,_0x2c3dc8:0x316,_0x2a2673:0x2ce,_0x194510:0x317,_0x1905ff:0x1a8},_0x5964e9={_0xc9034c:0x13f},_0x36ac83={'HgqSN':function(_0x1ecb34,_0x1e0fb4){return _0x1ecb34===_0x1e0fb4;},'Zcnel':function(_0x188023,_0x210701){return _0x188023(_0x210701);}},_0x3feaf3=await readStateFile(_0x45094d);if(!_0x3feaf3){if(_0x36ac83[_0x229d32(_0x2143ed._0x2167c6,_0x2143ed._0x334da0)]('XHWcy',_0x229d32(_0x2143ed._0x47e6a8,_0x2143ed._0x1f5342))){const _0x585816=resolve(_0x45094d,'..');if(!_0x36ac83['Zcnel'](existsSync,_0x585816)){const _0x1a23e0={};_0x1a23e0['recursive']=!![],mkdirSync(_0x585816,_0x1a23e0);}}else return _0x5468aa(0x2c3,_0x2143ed._0x2d5336)+_0x36863f+(_0x5468aa(0x2db,0x31a)+_0x229d32(_0x2143ed._0x45e823,_0x2143ed._0x54c23a));}const _0x121edb=_0x3feaf3?.[_0x229d32(_0x2143ed._0x3eb8e0,0x185)][_0x229d32(_0x2143ed._0x11aaaf,_0x2143ed._0x1c49ac)]??'quick-task',_0x25a236=_0x3feaf3?Object[_0x5468aa(0x34b,0x320)](_0x3feaf3[_0x229d32(_0x2143ed._0x225931,_0x2143ed._0x61932d)])[0x2*-0x66b+-0x155+0xe2b]??generateAgentId():generateAgentId(),_0x50acdb={'agentId':_0x25a236,'parentId':null,'childIds':[],'phase':_0x229d32(0x17f,_0x2143ed._0x47edd5),'currentOperation':_0xa8d3b7['slice'](0xdec+0x1*-0x855+0x597*-0x1,0x1a89*-0x1+0x1*-0xec0+0x29ad),'currentSkill':'quick'},_0x137d18={};function _0x229d32(_0x1147b6,_0x5c0c17){return _0xc6a8d1(_0x1147b6,_0x5c0c17-_0x5964e9._0xc9034c);}_0x137d18[_0x5468aa(0x317,_0x2143ed._0x4c008d)]=_0x121edb,_0x137d18[_0x5468aa(_0x2143ed._0x2d2248,0x326)+'se']=_0x229d32(_0x2143ed._0x5bbd8d,0x14d);const _0x35b7d9={};_0x35b7d9[_0x25a236]=_0x50acdb;const _0x295958={};function _0x5468aa(_0x548a9a,_0x1ff7a8){return _0x3afb4b(_0x1ff7a8-0x1b3,_0x548a9a);}_0x295958[_0x229d32(_0x2143ed._0x594b12,_0x2143ed._0x3b2199)]=_0x137d18,_0x295958[_0x229d32(_0x2143ed._0x196a4f,_0x2143ed._0x61932d)]=_0x35b7d9,_0x295958['machineSna'+_0x229d32(_0x2143ed._0x155e89,0x1bc)]=null,await writeStateFile(_0x45094d,_0x295958);const _0x315393=[];return _0x315393[_0x5468aa(_0x2143ed._0x53830d,_0x2143ed._0x519cfc)]('⚡\x20快速任务模式'),_0x315393[_0x229d32(0x1c0,0x1a4)](_0x229d32(0x179,0x1a5)+_0x121edb),_0x315393[_0x229d32(0x15b,0x1a4)](_0x5468aa(0x359,_0x2143ed._0x2c3dc8)+_0xa8d3b7),_0x315393[_0x5468aa(_0x2143ed._0x2a2673,0x317)](_0x229d32(0x122,0x14b)+_0x25a236),_0x315393[_0x5468aa(0x30b,_0x2143ed._0x194510)](_0x229d32(0x16e,_0x2143ed._0x1905ff)+'务不走完整\x20Pipe'+_0x229d32(0x1d3,0x1af)),_0x315393[_0x5468aa(0x2bc,0x2ef)]('\x0a');}
1
+ (function(_0x4d2e55,_0x59739c){const _0x417007={_0xa2f555:0x486,_0xdd7f79:0x47b,_0x2a4c51:0x44f,_0x59a8c1:0x492,_0x8a41c0:0x494,_0xa73d6b:0x45a,_0x458afb:0x46a,_0x2f5d08:0x3e4,_0x260a1a:0x483,_0x1c09d8:0x43d},_0x1f71f2=_0x4d2e55();function _0x257cda(_0x75a1d0,_0x51348c){return _0x57e3(_0x75a1d0-0x23c,_0x51348c);}function _0x27ca85(_0x284f23,_0x45aaaf){return _0x57e3(_0x45aaaf-0x29d,_0x284f23);}while(!![]){try{const _0x5c6528=parseInt(_0x27ca85(0x443,0x440))/(-0x1629+0xb39+0x1*0xaf1)+-parseInt(_0x27ca85(_0x417007._0xa2f555,0x465))/(-0xfbd+-0x1*-0x22df+-0x24*0x88)+parseInt(_0x257cda(_0x417007._0xdd7f79,_0x417007._0x2a4c51))/(0x213a+0x1567+0x369e*-0x1)+parseInt(_0x27ca85(_0x417007._0x59a8c1,_0x417007._0x8a41c0))/(0x4d*-0x1c+-0x4a+-0x8ba*-0x1)+parseInt(_0x257cda(_0x417007._0xa73d6b,_0x417007._0x458afb))/(0x4eb*0x6+-0x1b36+-0x1*0x247)+-parseInt(_0x27ca85(0x47a,0x46d))/(-0x143f*0x1+0xbe1*0x3+-0x7af*0x2)+parseInt(_0x257cda(_0x417007._0x2f5d08,0x3ff))/(0xf7b+0xc3b*-0x1+0x3*-0x113)*(-parseInt(_0x27ca85(_0x417007._0x260a1a,_0x417007._0x1c09d8))/(-0x1f3c+0x484+0x8*0x358));if(_0x5c6528===_0x59739c)break;else _0x1f71f2['push'](_0x1f71f2['shift']());}catch(_0x318f05){_0x1f71f2['push'](_0x1f71f2['shift']());}}}(_0x1ba6,-0x76a38+0xdaee8+0x3dfa*0x7));import{existsSync,readFileSync,mkdirSync}from'node:fs';import{resolve}from'node:path';import{StateFileManager}from'./persistence/stateFile.js';import{PHASES,PIPELINE_PHASES}from'./types/index.js';import{generateAgentId}from'./utils/id.js';const _0x159453={};function _0x268d05(_0x3e773b,_0x1d69a4){const _0x22a0ab={_0x4d8a3a:0x1dd};return _0x57e3(_0x1d69a4- -_0x22a0ab._0x4d8a3a,_0x3e773b);}_0x159453[_0x363875(0x541,0x538)+_0x268d05(-0x63,-0x2a)]='需求分析',_0x159453[_0x268d05(0x8a,0x3d)+_0x268d05(0x57,0x21)]=_0x268d05(0x47,0x3f),_0x159453[_0x268d05(-0x83,-0x31)+_0x363875(0x547,0x4f4)]=_0x268d05(-0x3c,-0x40),_0x159453[_0x268d05(-0x14,0x26)+_0x363875(0x548,0x559)]=_0x268d05(-0x14,-0x42),_0x159453['tech_selec'+_0x268d05(-0x18,0x23)]=_0x268d05(0x18,0x12),_0x159453[_0x268d05(-0x2b,-0x8)]='讨论',_0x159453['plan']='规划',_0x159453[_0x268d05(-0x28,0x1e)]='执行',_0x159453[_0x363875(0x521,0x4f9)]='验证';const PHASE_NAMES=_0x159453,MAX_RETRIES=0x57*0x3+-0xc*-0x2a7+-0x16*0x17e;async function readStateFile(_0x471f4e){const _0x2c9c40={_0x5b94dc:0x57a};function _0x19ed5d(_0x3801c7,_0x2f6266){return _0x268d05(_0x2f6266,_0x3801c7-0x5c3);}if(!existsSync(_0x471f4e))return null;const _0x168653=new StateFileManager(_0x471f4e);return _0x168653[_0x19ed5d(0x5b8,_0x2c9c40._0x5b94dc)]();}async function writeStateFile(_0x4199cf,_0xfbe7d){const _0x8ff0e3={_0x52b671:0x548,_0x3ea1ef:0x56f,_0x349b3c:0x589,_0x4c7aad:0x5de,_0x4ae5b7:0x2eb,_0x480eb1:0x2bf,_0x10eb4f:0x2a9,_0x317927:0x622,_0x405b15:0x594},_0xcfbadc={_0x4fe441:0x7e},_0x1cd004={};function _0x4c5497(_0x2c1723,_0x49dc60){return _0x363875(_0x49dc60-_0xcfbadc._0x4fe441,_0x2c1723);}_0x1cd004[_0x4c5497(_0x8ff0e3._0x52b671,_0x8ff0e3._0x3ea1ef)]=function(_0x583f1d,_0x2f360){return _0x583f1d<_0x2f360;},_0x1cd004['uFxtu']=_0x4c5497(_0x8ff0e3._0x349b3c,_0x8ff0e3._0x4c7aad),_0x1cd004['pRHZt']=function(_0xbc6ff8,_0x11cc2c){return _0xbc6ff8!==_0x11cc2c;},_0x1cd004[_0x485181(0x2d3,_0x8ff0e3._0x4ae5b7)]=function(_0x219071,_0x3f5745){return _0x219071<_0x3f5745;};function _0x485181(_0x2a8573,_0x3ea06d){return _0x363875(_0x2a8573- -0x2ab,_0x3ea06d);}const _0xdf2a1f=_0x1cd004;for(let _0x21b949=-0x1f32+-0x128*-0x2+-0x1*-0x1ce2;_0xdf2a1f['LohJN'](_0x21b949,MAX_RETRIES);_0x21b949++){try{if(_0xdf2a1f[_0x4c5497(0x599,0x5b5)]===_0x485181(0x2b6,0x300))return _0x485181(_0x8ff0e3._0x480eb1,0x2f9)+_0x4fd51d+'\x20已存在,跳过注册';else{const _0xdb81f4=new StateFileManager(_0x4199cf);await _0xdb81f4[_0x4c5497(0x58b,0x5a3)](),await _0xdb81f4[_0x4c5497(0x5d8,0x60a)](_0xfbe7d);return;}}catch(_0x4cd52d){if(_0xdf2a1f[_0x4c5497(0x5bb,0x576)]('jQszI',_0x485181(0x2e0,_0x8ff0e3._0x10eb4f))){if(_0x4cd52d instanceof Error&&_0x4cd52d[_0x4c5497(_0x8ff0e3._0x317927,0x5ee)][_0x4c5497(_0x8ff0e3._0x405b15,0x5e7)]('乐观锁冲突')&&_0xdf2a1f['udBMl'](_0x21b949,MAX_RETRIES-(0x3*0xf9+0x14*-0xc9+0xcca))){await new Promise(_0x3267db=>setTimeout(_0x3267db,-0x191a+-0x3*0x951+0x353f+Math[_0x4c5497(0x534,0x581)]()*(0xd*0x22d+0x1*0xc8f+-0x2874)));continue;}throw _0x4cd52d;}else return'❌\x20Agent\x20'+_0x5c347f+(_0x4c5497(0x59c,0x5d6)+'e.json');}}}function computeOverallPhase(_0x20b057){const _0x452828={_0x13ab79:0x75,_0x1c76b6:0x12d,_0x536241:0x1e4,_0x4cbc98:0x1de,_0x4cc6ad:0x90,_0x5573a7:0x9b,_0x53f899:0x1b9,_0x10431c:0x132},_0x5cb9c5={_0x3339a2:0x1b5},_0x322077={_0x28450e:0xc6},_0x202d58={};_0x202d58[_0x2de827(-0xb0,-_0x452828._0x13ab79)]=function(_0x5a1a3b,_0x36e0f8){return _0x5a1a3b+_0x36e0f8;},_0x202d58[_0x2de827(-0x7e,-0xb7)]=_0x64c595(-0x1e4,-0x205);function _0x2de827(_0x3f094d,_0x452f0e){return _0x268d05(_0x452f0e,_0x3f094d- -_0x322077._0x28450e);}const _0x26751c=_0x202d58;for(const _0x2028d5 of Object[_0x2de827(-0xfd,-_0x452828._0x1c76b6)](_0x20b057)){if(_0x26751c['kGqFy']!==_0x64c595(-_0x452828._0x536241,-_0x452828._0x4cbc98)){const _0xaffd8d=_0x1def1d[_0x38c800]['phase'];_0x2c15e6[_0xaffd8d]=_0x26751c[_0x2de827(-0xb0,-_0x452828._0x4cc6ad)](_0x58234f[_0xaffd8d]??0xb5b+-0x1eb*0xb+-0x2b*-0x3a,0x1620+0x11*-0x1ff+0xbd0);}else{if(_0x20b057[_0x2028d5][_0x2de827(-0xa4,-_0x452828._0x5573a7)]!=='completed')return _0x20b057[_0x2028d5][_0x64c595(-0x193,-_0x452828._0x53f899)];}}function _0x64c595(_0x4df688,_0x31506d){return _0x268d05(_0x31506d,_0x4df688- -_0x5cb9c5._0x3339a2);}return _0x2de827(-0xf6,-_0x452828._0x10431c);}export async function getStatus(_0x334ea9){const _0x596c66={_0x1ab3ee:0xd7,_0x5c4f7a:0x51d,_0x1a7299:0x5a9,_0x27e2c0:0x5e4,_0x395449:0x94,_0x271d39:0x80,_0x17dc3f:0xce,_0x372b8a:0x526,_0x3302f0:0x56a,_0x1aea27:0x590,_0x1f5f0b:0x586,_0x1f8596:0x57f,_0x4710ac:0x104,_0x96fa54:0x57d,_0x19ed53:0x56f,_0x511be2:0x132,_0x50fd43:0xe8,_0x1558de:0x4c4,_0x40234d:0x524,_0x7ce69d:0xd9,_0x2bc620:0x56e,_0x3a8222:0x557,_0x4dbdbb:0xa9,_0x2cdb06:0x11b,_0xe5f2ff:0x125,_0xcfa907:0x97,_0x328307:0xb6,_0x40d58c:0x59b,_0x4815b3:0x13c,_0x48ba64:0x11b,_0x346169:0xe1,_0x239ddf:0x126,_0x34ba13:0x568,_0xf363ab:0x52d,_0x16346e:0x5a8,_0x4ef64b:0x572,_0x1df9e8:0x12f,_0x38ee22:0x50c,_0xef9d34:0x52a,_0x133c2b:0xf9,_0x3ace40:0x52a,_0xab5509:0x5c5,_0x31996f:0xbf,_0x1eba92:0xf1,_0x5ed74a:0xb9,_0x48b8a0:0xe2,_0x1d308b:0xb6,_0x1f15a2:0x52a,_0x4d2382:0xd9,_0x273b64:0x565,_0x2663cb:0x58b,_0x1c7923:0xf1,_0x4bf8a2:0xbd,_0x43a1c9:0xe9,_0x1774de:0xcd,_0x1b8421:0x82,_0x35e1c5:0x122,_0x4d0254:0x588,_0x2bee6f:0x588,_0x30f01b:0x532,_0x9bd34b:0x51f,_0x347892:0xa3},_0x558d01={_0x53db36:0x461},_0x515c22={};_0x515c22[_0xa69ba3(0xbb,_0x596c66._0x1ab3ee)]=function(_0x4fed73,_0x5e01f9){return _0x4fed73===_0x5e01f9;},_0x515c22['GPVCo']=_0x5c344b(_0x596c66._0x5c4f7a,0x54c),_0x515c22['zXnLF']=_0x5c344b(_0x596c66._0x1a7299,_0x596c66._0x27e2c0)+_0xa69ba3(0xbe,_0x596c66._0x395449)+_0xa69ba3(_0x596c66._0x271d39,_0x596c66._0x17dc3f),_0x515c22[_0x5c344b(_0x596c66._0x372b8a,_0x596c66._0x3302f0)]=_0x5c344b(_0x596c66._0x1aea27,0x5b1),_0x515c22['XeYIb']=function(_0x1922d7,_0x2c1c51){return _0x1922d7===_0x2c1c51;},_0x515c22['wovIc']=_0x5c344b(_0x596c66._0x1f5f0b,_0x596c66._0x1f8596),_0x515c22[_0xa69ba3(0x145,_0x596c66._0x4710ac)]='\x20\x20\x20暂无\x20Agen'+_0xa69ba3(0x6d,0xbd),_0x515c22[_0x5c344b(0x55e,_0x596c66._0x96fa54)]=_0x5c344b(_0x596c66._0x19ed53,0x540)+_0x5c344b(0x54f,0x55f)+_0x5c344b(0x53d,0x55b)+_0xa69ba3(_0x596c66._0x511be2,_0x596c66._0x50fd43)+_0x5c344b(0x50f,_0x596c66._0x1558de)+_0x5c344b(_0x596c66._0x40234d,0x523)+'工具',_0x515c22[_0xa69ba3(0xf8,_0x596c66._0x7ce69d)]=_0x5c344b(_0x596c66._0x2bc620,_0x596c66._0x3a8222);const _0x4c2de7=_0x515c22;if(!existsSync(_0x334ea9))return _0x4c2de7['LdCEO'](_0xa69ba3(0xec,_0x596c66._0x4dbdbb),_0x4c2de7[_0xa69ba3(_0x596c66._0x2cdb06,0x103)])?_0x4c2de7[_0xa69ba3(0xd7,_0x596c66._0xe5f2ff)]:_0xa69ba3(0x14e,0x135);function _0xa69ba3(_0x4d4a31,_0x5c2d4f){return _0x363875(_0x5c2d4f- -_0x558d01._0x53db36,_0x4d4a31);}function _0x5c344b(_0x4fc969,_0x338f81){return _0x363875(_0x4fc969-0x13,_0x338f81);}const _0x3d7eb2=readFileSync(_0x334ea9,_0x4c2de7['LhpZK']),_0x46497d=JSON[_0x5c344b(0x522,0x516)](_0x3d7eb2),_0x17863e=[];_0x17863e[_0xa69ba3(_0x596c66._0xcfa907,_0x596c66._0x328307)]('📊\x20项目状态:\x20'+_0x46497d[_0x5c344b(0x59a,_0x596c66._0x40d58c)]['name']),_0x17863e['push'](_0xa69ba3(0xbf,0x8c)+(PHASE_NAMES[_0x46497d[_0xa69ba3(_0x596c66._0x4815b3,0x126)][_0xa69ba3(0xeb,_0x596c66._0x48ba64)+'se']]??_0x46497d[_0xa69ba3(_0x596c66._0x346169,_0x596c66._0x239ddf)][_0x5c344b(0x58f,_0x596c66._0x34ba13)+'se'])),_0x17863e[_0x5c344b(0x52a,0x55e)](_0x5c344b(_0x596c66._0xf363ab,_0x596c66._0x3302f0)+_0x46497d[_0x5c344b(_0x596c66._0x16346e,_0x596c66._0x4ef64b)]),_0x17863e[_0xa69ba3(0x79,_0x596c66._0x328307)]('\x20\x20\x20更新时间:\x20'+_0x46497d['updatedAt']);const _0x491770=_0x46497d[_0xa69ba3(0x126,_0x596c66._0x1df9e8)],_0x4760bc=Object[_0x5c344b(_0x596c66._0x38ee22,0x505)](_0x491770);if(_0x4760bc[_0x5c344b(0x557,_0x596c66._0xef9d34)]===-0x1*0x2263+0x39*0x1+0x222a)return _0x4c2de7[_0xa69ba3(0x11f,_0x596c66._0x133c2b)](_0x4c2de7[_0xa69ba3(0xf0,0xaa)],_0x4c2de7[_0x5c344b(0x51e,0x4d9)])?(_0x17863e[_0x5c344b(_0x596c66._0x3ace40,0x541)](_0x4c2de7[_0x5c344b(0x578,_0x596c66._0xab5509)]),_0x17863e['join']('\x0a')):_0x13f0f9[_0x29c498][_0xa69ba3(_0x596c66._0x31996f,_0x596c66._0x1eba92)];_0x17863e[_0xa69ba3(_0x596c66._0x5ed74a,0xb6)](''),_0x17863e[_0xa69ba3(_0x596c66._0x48b8a0,_0x596c66._0x1d308b)](_0x4c2de7['iwfmL']),_0x17863e[_0x5c344b(_0x596c66._0x1f15a2,0x53c)](_0x4c2de7[_0xa69ba3(0x93,_0x596c66._0x4d2382)]+'-'[_0xa69ba3(0x16b,0x121)](-0xf1*-0x13+-0x11fd+0x6a));for(const _0x241596 of _0x4760bc){const _0x1bacd7=_0x491770[_0x241596],_0x1629ac=PHASE_NAMES[_0x1bacd7[_0x5c344b(_0x596c66._0x273b64,_0x596c66._0x2663cb)]]??_0x1bacd7[_0xa69ba3(0xa5,_0x596c66._0x1c7923)],_0x4ab916=_0x1bacd7[_0xa69ba3(0xac,0xfc)+_0xa69ba3(_0x596c66._0x4bf8a2,0xde)]||'-',_0x26a744=_0x1bacd7[_0xa69ba3(_0x596c66._0x43a1c9,_0x596c66._0x1774de)+'ll']||'-';_0x17863e[_0xa69ba3(_0x596c66._0x1b8421,_0x596c66._0x1d308b)](_0xa69ba3(_0x596c66._0x35e1c5,0xfa)+_0x241596[_0x5c344b(_0x596c66._0x4d0254,0x57a)](0x1a*0xe8+0x51d*-0x7+-0xc4d*-0x1)+'\x20|\x20'+_0x1629ac[_0xa69ba3(0x125,0x114)](-0x1c8f*-0x1+0x65*0x41+-0xef*0x3a)+_0x5c344b(0x532,0x538)+_0x4ab916[_0x5c344b(_0x596c66._0x2bee6f,_0x596c66._0x16346e)](0x1290+-0x1dfa*0x1+0xb7f)+_0x5c344b(_0x596c66._0x30f01b,_0x596c66._0x9bd34b)+_0x26a744);}return _0x17863e[_0xa69ba3(0x6e,_0x596c66._0x347892)]('\x0a');}export async function advancePhase(_0x1b73df,_0x842bd7){const _0x45e1f3={_0x56bfcb:0x400,_0x94bcac:0x404,_0x2190da:0x453,_0x2fb49c:0x38d,_0x1140db:0x3b2,_0x117ca7:0x44d,_0x1edeca:0x412,_0xd231c8:0x412,_0x3d6946:0x466,_0x416022:0x461,_0x36d208:0x42d,_0x2569b9:0x3f1,_0xcec777:0x3b6,_0x5758d0:0x3d5,_0x82c90f:0x3ef,_0xbceed7:0x40f,_0x2e8de4:0x42e,_0x569591:0x3c3,_0x3fc4a5:0x3d9,_0xfd0bf1:0x41a,_0x405a74:0x434,_0x86ca68:0x425,_0x448e20:0x3d3,_0x325d7c:0x42f,_0x52dea3:0x444,_0x180d97:0x3f3,_0x444464:0x3ec,_0x33a9a7:0x3f2,_0x4fd9cc:0x3d4,_0x327669:0x3a3,_0x320327:0x3ba,_0x3f1220:0x437,_0xb828a7:0x3af,_0xabe9c5:0x3d4,_0x4c6f40:0x44a,_0x4a37bf:0x3c1},_0x12b0ac={_0x5a8de4:0x3ed},_0x2b1dac={_0x5e726f:0x3ce},_0x31ef78={'HVhxg':function(_0x167ef0,_0x4d2609){return _0x167ef0(_0x4d2609);},'sFJBk':'✅\x20所有\x20Agent'+_0x5e2b61(_0x45e1f3._0x56bfcb,0x44a),'nXIRK':function(_0x41ce84,_0x4eb7bc){return _0x41ce84===_0x4eb7bc;},'dPKpw':function(_0x28edae,_0x384752){return _0x28edae(_0x384752);},'IBogh':function(_0x133bcf,_0x50e6a7){return _0x133bcf===_0x50e6a7;},'PFBkx':_0x20a63b(0x39e,0x3a8)},_0x21ef2c=await _0x31ef78[_0x20a63b(_0x45e1f3._0x94bcac,0x448)](readStateFile,_0x1b73df);if(!_0x21ef2c)return _0x5e2b61(0x413,_0x45e1f3._0x2190da)+_0x5e2b61(_0x45e1f3._0x2fb49c,_0x45e1f3._0x1140db)+'project\x20命令';const _0x507163=_0x842bd7??Object[_0x20a63b(0x397,0x357)](_0x21ef2c[_0x5e2b61(0x40a,_0x45e1f3._0x117ca7)])[_0x20a63b(0x427,_0x45e1f3._0x1edeca)](_0x5bde0c=>_0x21ef2c[_0x5e2b61(0x487,0x44d)][_0x5bde0c]['phase']!=='completed');if(!_0x507163)return _0x31ef78[_0x20a63b(_0x45e1f3._0xd231c8,_0x45e1f3._0x3d6946)];const _0x491cdf=_0x21ef2c[_0x5e2b61(_0x45e1f3._0x416022,0x44d)][_0x507163];if(!_0x491cdf)return _0x20a63b(0x40a,_0x45e1f3._0x36d208)+_0x507163+(_0x20a63b(0x3f6,_0x45e1f3._0x2569b9)+'e.json');function _0x20a63b(_0x353b4b,_0x57125b){return _0x268d05(_0x57125b,_0x353b4b-_0x2b1dac._0x5e726f);}if(_0x31ef78['nXIRK'](_0x491cdf[_0x5e2b61(0x41f,0x40f)],_0x5e2b61(0x38c,0x3bd)))return'['+_0x507163+_0x20a63b(_0x45e1f3._0xcec777,_0x45e1f3._0x5758d0);const _0x2d23c8=computeNextPhase(_0x491cdf[_0x5e2b61(_0x45e1f3._0x82c90f,_0x45e1f3._0xbceed7)]),_0x3a069d=PHASE_NAMES[_0x491cdf['phase']]??_0x491cdf['phase'],_0x4230b3=PHASE_NAMES[_0x2d23c8]??_0x2d23c8,_0xd0af4e={..._0x21ef2c[_0x20a63b(_0x45e1f3._0x2e8de4,0x3f5)]},_0x32c879=_0xd0af4e,_0x388a5e={..._0x491cdf};_0x388a5e[_0x20a63b(0x3f0,_0x45e1f3._0x569591)]=_0x2d23c8,_0x388a5e[_0x5e2b61(_0x45e1f3._0x3fc4a5,_0x45e1f3._0xfd0bf1)+'ration']='',_0x388a5e['currentSki'+'ll']='',_0x32c879[_0x507163]=_0x388a5e;const _0x252acf=_0x31ef78[_0x5e2b61(0x474,_0x45e1f3._0x405a74)](computeOverallPhase,_0x32c879),_0x2ea385={..._0x21ef2c[_0x20a63b(_0x45e1f3._0x86ca68,_0x45e1f3._0x448e20)]};_0x2ea385[_0x5e2b61(0x48a,0x439)+'se']=_0x252acf;function _0x5e2b61(_0x561608,_0x3fa980){return _0x268d05(_0x561608,_0x3fa980-_0x12b0ac._0x5a8de4);}const _0x3f58b8={};_0x3f58b8[_0x5e2b61(_0x45e1f3._0x325d7c,_0x45e1f3._0x52dea3)]=_0x2ea385,_0x3f58b8[_0x5e2b61(0x401,0x44d)]=_0x32c879,_0x3f58b8[_0x5e2b61(0x40a,_0x45e1f3._0x180d97)+_0x5e2b61(_0x45e1f3._0x444464,_0x45e1f3._0x33a9a7)]=_0x21ef2c[_0x20a63b(_0x45e1f3._0x4fd9cc,_0x45e1f3._0x327669)+_0x5e2b61(0x3db,0x3f2)],await writeStateFile(_0x1b73df,_0x3f58b8);const _0x1c6cf4=[];return _0x1c6cf4[_0x5e2b61(_0x45e1f3._0x320327,0x3d4)]('['+_0x507163+']\x20'+_0x3a069d+'\x20→\x20'+_0x4230b3),_0x31ef78['IBogh'](_0x2d23c8,_0x31ef78[_0x5e2b61(0x3ee,_0x45e1f3._0x3f1220)])&&_0x1c6cf4[_0x5e2b61(_0x45e1f3._0xb828a7,_0x45e1f3._0xabe9c5)]('\x0a✅\x20Agent\x20'+_0x507163+_0x5e2b61(0x412,_0x45e1f3._0x4c6f40)),_0x1c6cf4[_0x5e2b61(0x379,_0x45e1f3._0x4a37bf)]('\x0a');}function _0x363875(_0x3ef7f5,_0x217e1b){return _0x57e3(_0x3ef7f5-0x353,_0x217e1b);}function computeNextPhase(_0x3b47fd){const _0x2e5604={_0x5c58eb:0x3e8,_0x14cb38:0x3c6,_0x4001e1:0x35c,_0x65505:0x118,_0x16a4f5:0x160,_0x3a41b5:0x3a3,_0xaa1cf9:0xc5,_0x4956d4:0x37d,_0x4b2eab:0x318,_0x103216:0x34d,_0x36bf92:0x39f,_0x278ea8:0x364,_0x23a202:0x344,_0x224f32:0x169,_0x59c032:0x37c,_0x4e2190:0x370,_0x598944:0x3bf,_0x2e8c5a:0x382,_0x351936:0xe9,_0x25c4cf:0xfe,_0x5caa44:0x3d2,_0x115d83:0x37f,_0x43c088:0x3ad,_0x1200ee:0x105,_0x295dd0:0x356,_0x18b710:0x1b3,_0x5ed0f7:0x3b7,_0x5c0446:0x100,_0x552905:0xbd,_0x24b8ab:0xd6,_0x16b6b8:0x38c,_0x452509:0x3b7,_0x334b1e:0x1a1,_0x26461f:0x165,_0x47cd57:0x352,_0xe65b8:0x361,_0x39399f:0xd2,_0x5e77a3:0x100,_0x35603a:0xec,_0x56843e:0x31b,_0x37c344:0x103,_0x55c9b0:0x33a,_0x2151da:0x341,_0x20a809:0x100,_0x2fcb3a:0x144,_0x261fdd:0x12e,_0x7624a5:0x402,_0x529dbc:0x3b2,_0x17acb5:0x3a0,_0x24dae1:0x117,_0x46ae74:0x332,_0x4ce000:0x34f,_0x25f819:0x3a6,_0xe79093:0x3a5,_0x35220b:0xe1,_0x280ffe:0x374,_0x59b320:0x334,_0x3056e2:0x148,_0x271f42:0x147,_0x3736e7:0x32d,_0x48d945:0x330},_0x444545={'mQFCw':_0x2cdae8(_0x2e5604._0x5c58eb,_0x2e5604._0x14cb38)+_0x2cdae8(_0x2e5604._0x4001e1,0x325)+_0x4a7d77(_0x2e5604._0x65505,_0x2e5604._0x16a4f5),'hwkoF':function(_0x154518,_0x2e8856,_0x10a6ff){return _0x154518(_0x2e8856,_0x10a6ff);},'pJErR':function(_0x4374d1,_0x2b38cf){return _0x4374d1===_0x2b38cf;},'rSImh':'\x20\x20\x20暂无\x20Agen'+_0x2cdae8(_0x2e5604._0x3a41b5,0x34e),'OVXsn':function(_0x3b42b3,_0x290d3b){return _0x3b42b3+_0x290d3b;},'rurGm':_0x4a7d77(0xe9,_0x2e5604._0xaa1cf9),'Vothe':function(_0x2889ef,_0x11d97e){return _0x2889ef>=_0x11d97e;},'EEaYq':function(_0x58a55f,_0x1a93a1){return _0x58a55f!==_0x1a93a1;},'wcNWj':function(_0x633893,_0x1b5be1){return _0x633893<_0x1b5be1;},'vMZYU':function(_0x4c722d,_0x1fd8cb){return _0x4c722d-_0x1fd8cb;},'GQEZg':function(_0x1d6ce9,_0x4ab082){return _0x1d6ce9===_0x4ab082;}};function _0x4a7d77(_0xbbf6a5,_0xfccf3e){return _0x268d05(_0xfccf3e,_0xbbf6a5-0x119);}const _0x2ffce1=PHASES[_0x2cdae8(0x3bc,_0x2e5604._0x4956d4)](_0x3b47fd);if(_0x2ffce1>=0x24ad+0x1372+-0x381f)return _0x2ffce1<PHASES['length']-(-0xb4a+0x1ad7+-0xf8c)?PHASES[_0x444545[_0x2cdae8(_0x2e5604._0x4b2eab,_0x2e5604._0x103216)](_0x2ffce1,-0x2629+0x16*0x51+0x7cd*0x4)]:_0x444545[_0x2cdae8(_0x2e5604._0x36bf92,_0x2e5604._0x278ea8)];const _0xb66221=PIPELINE_PHASES['indexOf'](_0x3b47fd);function _0x2cdae8(_0x56249e,_0x189b8a){return _0x268d05(_0x56249e,_0x189b8a-0x360);}if(_0x444545[_0x4a7d77(0x168,0x16f)](_0xb66221,0x1e52+0x1652+-0x118c*0x3)){if(_0x444545[_0x2cdae8(0x30d,_0x2e5604._0x23a202)](_0x4a7d77(_0x2e5604._0x224f32,0x113),_0x4a7d77(0xdd,0xa6)))return _0x444545[_0x2cdae8(0x35f,_0x2e5604._0x59c032)](_0xb66221,_0x444545[_0x2cdae8(_0x2e5604._0x4e2190,_0x2e5604._0x598944)](PIPELINE_PHASES[_0x2cdae8(_0x2e5604._0x2e8c5a,0x374)],0x1*-0xa4c+0x6*0x611+-0x189*0x11))?PIPELINE_PHASES[_0xb66221+(0x189e+0x1af9*0x1+-0x3396)]:_0x4a7d77(_0x2e5604._0x351936,0xf3);else{if(!_0x5d0882(_0x3d09ce))return _0x444545[_0x4a7d77(_0x2e5604._0x25c4cf,0x114)];const _0x3ecbdb=_0x444545[_0x2cdae8(_0x2e5604._0x5caa44,_0x2e5604._0x115d83)](_0x12fa19,_0x1844d9,_0x2cdae8(0x373,_0x2e5604._0x43c088)),_0x4f6245=_0x5d193e[_0x4a7d77(0xf8,_0x2e5604._0x1200ee)](_0x3ecbdb),_0x599a1c=[];_0x599a1c[_0x2cdae8(_0x2e5604._0x295dd0,0x347)](_0x4a7d77(0x16c,_0x2e5604._0x18b710)+_0x4f6245[_0x2cdae8(0x3aa,_0x2e5604._0x5ed0f7)][_0x2cdae8(0x39d,0x3b1)]),_0x599a1c[_0x4a7d77(_0x2e5604._0x5c0446,_0x2e5604._0x552905)](_0x4a7d77(_0x2e5604._0x24b8ab,0xd4)+(_0x2b770a[_0x4f6245[_0x2cdae8(_0x2e5604._0x16b6b8,_0x2e5604._0x452509)][_0x4a7d77(0x165,_0x2e5604._0x334b1e)+'se']]??_0x4f6245['project'][_0x4a7d77(_0x2e5604._0x26461f,0x1b0)+'se'])),_0x599a1c['push']('\x20\x20\x20版本:\x20'+_0x4f6245[_0x2cdae8(0x3ad,0x3c5)]),_0x599a1c['push']('\x20\x20\x20更新时间:\x20'+_0x4f6245[_0x2cdae8(_0x2e5604._0x47cd57,_0x2e5604._0xe65b8)]);const _0x343798=_0x4f6245['agents'],_0x5a8f9d=_0x2c3428[_0x4a7d77(0xe2,_0x2e5604._0x39399f)](_0x343798);if(_0x444545['pJErR'](_0x5a8f9d['length'],0x1f81+-0x102f+-0xf52))return _0x599a1c[_0x4a7d77(_0x2e5604._0x5e77a3,_0x2e5604._0x35603a)](_0x444545[_0x2cdae8(0x34f,_0x2e5604._0x56843e)]),_0x599a1c[_0x2cdae8(0x347,0x334)]('\x0a');_0x599a1c['push'](''),_0x599a1c[_0x4a7d77(0x100,0x144)]('\x20\x20\x20Agent\x20I'+'D\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x4a7d77(0x113,_0x2e5604._0x37c344)+'\x20\x20\x20\x20\x20\x20|\x20操作'+_0x4a7d77(0xe5,0xa5)+_0x2cdae8(_0x2e5604._0x55c9b0,_0x2e5604._0x2151da)+'工具'),_0x599a1c[_0x4a7d77(_0x2e5604._0x20a809,0x11e)](_0x4a7d77(_0x2e5604._0x2fcb3a,_0x2e5604._0x261fdd)+'-'[_0x2cdae8(_0x2e5604._0x7624a5,_0x2e5604._0x529dbc)](0x1*0x25ab+0x1f5*0x1+0x11*-0x250));for(const _0x511dae of _0x5a8f9d){const _0x48fa24=_0x343798[_0x511dae],_0x2608be=_0x404fa2[_0x48fa24[_0x4a7d77(0x13b,0xfc)]]??_0x48fa24[_0x2cdae8(_0x2e5604._0x17acb5,_0x2e5604._0x2e8c5a)],_0x4fc58e=_0x48fa24['currentOpe'+_0x2cdae8(0x392,0x36f)]||'-',_0x342b9f=_0x48fa24[_0x4a7d77(_0x2e5604._0x24dae1,0x149)+'ll']||'-';_0x599a1c['push'](_0x4a7d77(0x144,0x121)+_0x511dae[_0x4a7d77(0x15e,0x189)](0x20d8+-0x4d2+-0x1bf4*0x1)+_0x2cdae8(_0x2e5604._0x46ae74,_0x2e5604._0x4ce000)+_0x2608be[_0x2cdae8(_0x2e5604._0x25f819,_0x2e5604._0xe79093)](-0x711+0x847+-0x128)+'\x20|\x20'+_0x4fc58e['padEnd'](-0x53*-0x6a+0x359*0x5+-0x3306)+_0x4a7d77(0x108,_0x2e5604._0x35220b)+_0x342b9f);}return _0x599a1c[_0x2cdae8(_0x2e5604._0x280ffe,_0x2e5604._0x59b320)]('\x0a');}}if(_0x444545[_0x4a7d77(_0x2e5604._0x3056e2,_0x2e5604._0x271f42)](_0x3b47fd,'idle'))return PHASES[0x2521+-0x506+-0x201b];return _0x2cdae8(_0x2e5604._0x3736e7,_0x2e5604._0x48d945);}export async function newProject(_0x27a69b,_0x551009){const _0x3991a1={_0x371095:0x3ba,_0x329252:0x60a,_0x3088c5:0x539,_0x113304:0x53e,_0x2dddb1:0x43a,_0xb10a94:0x3bd,_0x2c5436:0x55b,_0x2013d5:0x549,_0x9368:0x571,_0x3ac521:0x37a,_0x44bcad:0x3c5,_0x383c80:0x5dc,_0x14f887:0x5ae,_0x2994a8:0x37f,_0x2c1114:0x5a4,_0x46e8e3:0x507,_0x8d6ea3:0x54b,_0x2c55bc:0x570,_0x110fde:0x3e8,_0x15d792:0x56b,_0x2107cf:0x597,_0x13ac40:0x3f0,_0x4ffcd7:0x3b9,_0x1dd411:0x536,_0x540ff5:0x421},_0x94ee3c={_0x50a639:0x562},_0x43031a={'TJKUt':function(_0x499c43,_0x55e70a,_0x20e026){return _0x499c43(_0x55e70a,_0x20e026);},'SDzON':function(_0x82aab,_0x3846f3){return _0x82aab(_0x3846f3);},'AXRpW':function(_0x5f3f53,_0x3be18c,_0x42491a){return _0x5f3f53(_0x3be18c,_0x42491a);}},_0x4752e5=_0x43031a['TJKUt'](resolve,_0x27a69b,'..');function _0x2be17e(_0x56f83e,_0x2c7250){return _0x268d05(_0x56f83e,_0x2c7250-_0x94ee3c._0x50a639);}if(!_0x43031a[_0x461392(_0x3991a1._0x371095,0x39c)](existsSync,_0x4752e5)){const _0x3cf154={};_0x3cf154[_0x2be17e(_0x3991a1._0x329252,0x5b6)]=!![],_0x43031a[_0x2be17e(_0x3991a1._0x3088c5,_0x3991a1._0x113304)](mkdirSync,_0x4752e5,_0x3cf154);}const _0x5157ca=generateAgentId(),_0x44ab67={};_0x44ab67[_0x461392(_0x3991a1._0x2dddb1,0x3ee)]=_0x5157ca,_0x44ab67[_0x2be17e(0x585,0x5a4)]=null,_0x44ab67[_0x461392(0x39a,_0x3991a1._0xb10a94)]=[],_0x44ab67['phase']=_0x2be17e(0x51e,_0x3991a1._0x2c5436),_0x44ab67['currentOpe'+_0x2be17e(_0x3991a1._0x2013d5,_0x3991a1._0x9368)]='',_0x44ab67[_0x461392(_0x3991a1._0x3ac521,_0x3991a1._0x44bcad)+'ll']='';const _0x4e6ac5=_0x44ab67,_0x4e5a1f={};_0x4e5a1f[_0x461392(0x3c8,0x418)]=_0x551009,_0x4e5a1f[_0x2be17e(_0x3991a1._0x383c80,_0x3991a1._0x14f887)+'se']=_0x461392(_0x3991a1._0x2994a8,0x3c0);const _0x59f6ac={};_0x59f6ac[_0x5157ca]=_0x4e6ac5;const _0x1b1b2d={};_0x1b1b2d['project']=_0x4e5a1f,_0x1b1b2d['agents']=_0x59f6ac,_0x1b1b2d[_0x2be17e(_0x3991a1._0x2c1114,0x568)+'pshot']=null;function _0x461392(_0x1af763,_0x231306){return _0x268d05(_0x1af763,_0x231306-0x3c7);}await _0x43031a[_0x2be17e(0x562,0x548)](writeStateFile,_0x27a69b,_0x1b1b2d);const _0x1b533d=[];return _0x1b533d[_0x2be17e(_0x3991a1._0x46e8e3,0x549)]('🆕\x20项目已创建:\x20'+_0x551009),_0x1b533d['push'](_0x2be17e(_0x3991a1._0x8d6ea3,_0x3991a1._0x2c55bc)+_0x4752e5),_0x1b533d[_0x2be17e(0x513,_0x3991a1._0x2013d5)](_0x461392(_0x3991a1._0x110fde,0x3b0)+_0x2be17e(0x5b2,_0x3991a1._0x15d792)+_0x5157ca),_0x1b533d[_0x2be17e(_0x3991a1._0x2107cf,0x549)](_0x461392(0x3b4,_0x3991a1._0x13ac40)+PIPELINE_PHASES[_0x461392(0x3c0,_0x3991a1._0x4ffcd7)](_0x615c06=>PHASE_NAMES[_0x615c06]??_0x615c06)[_0x2be17e(_0x3991a1._0x3088c5,_0x3991a1._0x1dd411)](_0x461392(0x437,_0x3991a1._0x540ff5))),_0x1b533d['join']('\x0a');}function _0x1ba6(){const _0x256145=['D2nov2O','Aw5KzxHpzG','zxHLy3v0zq','AhDRB0y','icaG5PU05PAW5PE26zE0oIa','BhLZAxm','CgHHC2u','DgLVBG','yxLiEuq','4PQHiow/Q+MaN+s7U+wkOEAOOEw8JW','zMvHDhvYzv9HBG','ywDLBNrjza','ios4JEwTMowCQos6JIbZDgf0','icaG6zI25Q615BQp5yIxoIa','wgvzswi','icaG','icaGqwDLBNqGsq','y3vYCMvUDe9Wzq','sg5ODeO','r1ffwMC','vwzAyNe','q3rmEfy','Bwf4','iow3SUwTMowCQo+8JoI3S+I/H+AZQowgJa','r1bwq28','t0n1DNu','sfzOEgC','AvfLA2O','xsdMK43KVzZLT7lMM7tMLRa6ia','Aw5JBhvKzxm','4PQG77Ipicbbz2vUDca','zMLSDgvY','4P2miefNzw50ia','zgvTyw5Kx2fUyq','y3b2whu','6zYa5Rgc5yIg5P6q','BwvZC2fNzq','ndm2mtKYmhfPA1nmqG','CgfYzw50swq','r1noAeK','C0zkqMS','CgfKrw5K','icaG6Ag555UUoIa','zfblChC','A0DXrNK','EvLqrwm','uezcA3G','icaG5A6m5OIq5BQMoIa','y3vYCMvUDfbOyq','DxrMltG','DwrctwW','vM90Agu','ugTwEgC','BMfTzq','CMvWzwf0','8j+tIIdPOBNNM67NIRBMGie6ia','CMvJDxjZAxzL','zs5QC29U','ELHUtey','ChjVAMvJDa','BgLUzE+8JoEBToAoPEAjP+IHJa','zMLUza','iokgKIa','vKTnBgC','D3jPDgu','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','vKj2DNO','DK1Awvu','ywDLBNrZ','CM91BMq','nJCXmtK5DxvmwvzN','icaG54I2iefNzw50','zw50CMLLCW','DMvYC2LVBG','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','vK11Dgm','CLnjBwG','5yQH5lIn6lwW5A6m5Pw0ifbPCgu','icaG5B2t5yMn6zI25Q61oIa','5yQF6io95yIg5P6q','AND1sMC','56UE5zob5yIg5P6q','tg9OsK4','DNnksvu','ogzsCNP3sq','ufrMsgu','77Ym6k+35ywi6l+q6kgmig5LDY0','mZy1mteZqufAueLU','icaGqwDLBNq6ia','CfjiwNq','A2v5CW','5yAmoIa','ntKWndeWmvfswg1RtG','icaGicaGicaGia','icaGicaG','CxvPy2S','y29TCgv0AxrVCG','y29TCgXLDgvK','s3jLwum','y0HKuw0','CMfUzg9T','AM9PBG','u0r6t04','Df9HBMfSExnPCW','icaG5O+q56s6oIdLV6VPGj/KU7S','C0jws3a','jsaO','CfLyrei','D292swm','qvHsCfC','CM54BNO','rNznAxO','CgfYC2u','C1zNtM4','icaGicaGicb8ia','ENnIEK0','tgHWwKS','ruvHwxe','Bvfgq3C','vePlvxq','ChvZAa','xsdLT7lLROZMIjdLHAJPG6JPMlBMRRu','icaG5yID5AEliefNzw4','icaG54Mi5PYSoIa','mZC5mtG4AgHIwfHl','EunoDLm','t1zyC24','DcdORRdLVzu','ihWG','icaG5lU75yQHoIa','DMvYAwz5','BwfW','nJu4ndC2C0PHwMrQ','ELrMzMu','CMvHza','y2HPBgrjzhm','C3rIEfu','zgLZy3vZCW','AwrSzq','ihWG6zI25Q61icaGica','DNvls1G','A05KyM0','6zsaoIa','y3vYCMvUDfnRAq','ChjVAMvJDcdLKB3KU6q','renRrfa','DxbKyxrLzef0','r1jjANO','8j+tIIdPOBNNM67OV5VLUQy6ia','CNvYr20','ChnOB3q','BwfJAgLUzvnUyq','Duz4Dhu','tgrdru8','DdOG','wfjXDxK','zfjQCNi','rcaGicaGicaGia','4PYfiefNzw50iow3SUAZQa','icaG55UU5B2voIa','CMf0Aw9U','ios4JEwTMowCQa','CMvXDwLYzw1LBG','5OQa5PYV6ycj5z6l','wg5Lsxy','BgvUz3rO','icaG8j+tIcdPMlBMRRxLIiBLUim6','DevZquW','x2fUywX5C2LZ','ywX5C2LZ','icaGicaGFcdMK43KVzW','odeZnJyWvePHruvZ','AxDMBuW'];_0x1ba6=function(){return _0x256145;};return _0x1ba6();}function _0x57e3(_0x351fab,_0x5d0128){_0x351fab=_0x351fab-(-0x143a+-0x3*-0x9c5+-0x1*0x77e);const _0x3ccf6c=_0x1ba6();let _0x133b20=_0x3ccf6c[_0x351fab];if(_0x57e3['rtXFjX']===undefined){var _0xabba4e=function(_0x191cfc){const _0x43dd68='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x567f51='',_0x464cc4='';for(let _0x257c0c=0x11*0x1eb+0x21a3+-0x423e,_0x203934,_0x1d87af,_0x1d963d=-0x1197+-0x7*-0x4d3+-0x102e;_0x1d87af=_0x191cfc['charAt'](_0x1d963d++);~_0x1d87af&&(_0x203934=_0x257c0c%(-0x2435+-0x1*0x1de+0x2617)?_0x203934*(-0x132d*-0x1+0x1*-0x553+0x1*-0xd9a)+_0x1d87af:_0x1d87af,_0x257c0c++%(-0x18fb*0x1+-0xbff+-0x5*-0x766))?_0x567f51+=String['fromCharCode'](0x6fc+0xf21+-0x6*0x385&_0x203934>>(-(-0x1713+-0x1e5*0xc+0x2dd1)*_0x257c0c&0x1*0xf25+-0x1335+0x2*0x20b)):-0x1*0x1786+-0x1330+-0xb*-0x3e2){_0x1d87af=_0x43dd68['indexOf'](_0x1d87af);}for(let _0x30490d=0xd9f+-0x23*-0xf5+-0x2f1e,_0x17ac91=_0x567f51['length'];_0x30490d<_0x17ac91;_0x30490d++){_0x464cc4+='%'+('00'+_0x567f51['charCodeAt'](_0x30490d)['toString'](-0xeb+0x1*0x1aaa+-0x19af))['slice'](-(0x2*0xf5f+-0x35d*0xa+0x2e6));}return decodeURIComponent(_0x464cc4);};_0x57e3['KgTRgH']=_0xabba4e,_0x57e3['lDyzBQ']={},_0x57e3['rtXFjX']=!![];}const _0x5c347f=_0x3ccf6c[0x24+-0x1c*0x4c+0x82c],_0x3c4050=_0x351fab+_0x5c347f,_0x25d02c=_0x57e3['lDyzBQ'][_0x3c4050];return!_0x25d02c?(_0x133b20=_0x57e3['KgTRgH'](_0x133b20),_0x57e3['lDyzBQ'][_0x3c4050]=_0x133b20):_0x133b20=_0x25d02c,_0x133b20;}export async function updateOperation(_0x36691e,_0x38d8f9,_0x147410,_0x1c33a2){const _0x4af6a6={_0x2fb87a:0xc5,_0x5a5e2d:0x7e,_0x441846:0x3ee,_0x3e6a4f:0xb6,_0x471703:0x446,_0x1dae47:0x9c,_0x1df924:0xad,_0x7ec73d:0x3f5,_0x4aa672:0x1c,_0xd15013:0x5b,_0x5f0a88:0xc9,_0x3226d7:0x8e},_0x31dade={_0x2e7e6c:0x4da},_0x268a3c={'nxtHY':function(_0x394ed1,_0x43680f,_0x2d83c7){return _0x394ed1(_0x43680f,_0x2d83c7);}},_0x5dbc15=await readStateFile(_0x36691e);if(!_0x5dbc15)return _0x396bfc(0x48e,0x455);const _0x1c32e3=_0x5dbc15[_0x396bfc(0x422,0x44f)][_0x38d8f9];if(!_0x1c32e3)return _0x47dcfc(_0x4af6a6._0x2fb87a,0x92)+_0x38d8f9+(_0x47dcfc(0xa1,_0x4af6a6._0x5a5e2d)+_0x396bfc(_0x4af6a6._0x441846,0x444));const _0x434193={..._0x5dbc15[_0x47dcfc(0x106,_0x4af6a6._0x3e6a4f)]},_0x3c6ff0=_0x434193,_0x1bb683={..._0x1c32e3};_0x1bb683[_0x47dcfc(0xc9,0x83)+'ration']=_0x147410,_0x1bb683['currentSki'+'ll']=_0x1c33a2,_0x3c6ff0[_0x38d8f9]=_0x1bb683;const _0xd2512f={};function _0x47dcfc(_0x51d7bc,_0x3113a9){return _0x363875(_0x3113a9- -_0x31dade._0x2e7e6c,_0x51d7bc);}_0xd2512f[_0x396bfc(0x462,_0x4af6a6._0x471703)]=_0x5dbc15[_0x47dcfc(_0x4af6a6._0x1dae47,_0x4af6a6._0x1df924)];function _0x396bfc(_0xf33db0,_0x368ac7){return _0x363875(_0x368ac7- -0x141,_0xf33db0);}return _0xd2512f[_0x47dcfc(0x85,0xb6)]=_0x3c6ff0,_0xd2512f[_0x396bfc(0x424,_0x4af6a6._0x7ec73d)+_0x47dcfc(0x45,0x5b)]=_0x5dbc15['machineSna'+_0x47dcfc(_0x4af6a6._0x4aa672,_0x4af6a6._0xd15013)],await _0x268a3c['nxtHY'](writeStateFile,_0x36691e,_0xd2512f),'✅\x20['+_0x38d8f9+_0x47dcfc(_0x4af6a6._0x5f0a88,_0x4af6a6._0x3226d7)+_0x147410+'\x20('+_0x1c33a2+')';}export async function registerAgent(_0x4271bf,_0x5acd59,_0xae32d={}){const _0x160ab2={_0x4fa924:0x483,_0x238a93:0x2ab,_0x35060a:0x424,_0x87e3f:0x45e,_0x4c28e9:0x418,_0x1b6af7:0x456,_0x2835e2:0x232,_0x10c011:0x26a,_0x3579bc:0x255,_0x239965:0x25e,_0x32894e:0x43f,_0x1e33f0:0x2a5,_0x508044:0x46f,_0x24121b:0x472,_0x541bab:0x4e8,_0x3f0715:0x267,_0x3b85f5:0x458,_0x2968b9:0x287,_0x185980:0x441,_0x605b0b:0x486,_0x4be81f:0x27f,_0x5b4038:0x455,_0x57da93:0x23b,_0x3e923b:0x23a,_0x18c5f6:0x1ff,_0x162ede:0x48b,_0x181367:0x24a,_0x38f804:0x270,_0x21ddf5:0x46c,_0xa2f38f:0x20f,_0x4db455:0x244,_0x50c840:0x44a,_0xf44737:0x446,_0x2f1957:0x479,_0x2f3c81:0x4c2,_0x146fc5:0x3e8,_0x59dbb7:0x433},_0x18144a={_0x120783:0xd1},_0x12c45b={'sBVKp':function(_0x42f1da,_0x1ef5b5,_0x1d7e24){return _0x42f1da(_0x1ef5b5,_0x1d7e24);},'stbxU':function(_0x516d84,_0x4dd6a5){return _0x516d84(_0x4dd6a5);},'zTffe':_0x2c034f(0x4c9,_0x160ab2._0x4fa924),'sVgNn':_0x23af84(_0x160ab2._0x238a93,0x25d)+_0x2c034f(0x41f,_0x160ab2._0x35060a)+_0x2c034f(0x437,_0x160ab2._0x87e3f),'XneIv':'MxmNn','KYVbJ':function(_0x2e303f,_0x561e43){return _0x2e303f!==_0x561e43;},'GRIjz':_0x2c034f(_0x160ab2._0x4c28e9,0x46a),'mEfzX':function(_0x3d06e6,_0x5ab27d,_0x4a8e52){return _0x3d06e6(_0x5ab27d,_0x4a8e52);}},_0x2b4c96=await _0x12c45b[_0x2c034f(0x447,_0x160ab2._0x1b6af7)](readStateFile,_0x4271bf);function _0x2c034f(_0x34322a,_0x20b863){return _0x363875(_0x20b863- -_0x18144a._0x120783,_0x34322a);}if(!_0x2b4c96)return _0x12c45b[_0x2c034f(0x446,0x453)]!==_0x23af84(0x269,_0x160ab2._0x2835e2)?_0x23af84(0x27f,_0x160ab2._0x10c011)+_0x193bcd+_0x23af84(_0x160ab2._0x3579bc,_0x160ab2._0x239965):_0x12c45b[_0x2c034f(0x462,_0x160ab2._0x32894e)];if(_0x2b4c96[_0x23af84(_0x160ab2._0x1e33f0,0x2d9)][_0x5acd59])return _0x12c45b[_0x2c034f(_0x160ab2._0x508044,_0x160ab2._0x24121b)]===_0x2c034f(0x420,0x43d)?_0x3dbf56[-0x95e*0x1+-0x6*-0x56d+-0x1730]:_0x23af84(0x27f,0x28a)+_0x5acd59+_0x2c034f(_0x160ab2._0x541bab,0x492);const _0x5c497c=_0xae32d[_0x23af84(_0x160ab2._0x3f0715,0x285)]??_0x2c034f(0x430,_0x160ab2._0x3b85f5),_0x20b59e=_0xae32d[_0x23af84(_0x160ab2._0x2968b9,0x261)]??null,_0x44eca5={};_0x44eca5[_0x2c034f(_0x160ab2._0x185980,_0x160ab2._0x605b0b)]=_0x5acd59,_0x44eca5[_0x23af84(_0x160ab2._0x2968b9,_0x160ab2._0x4be81f)]=_0x20b59e,_0x44eca5[_0x2c034f(0x45f,_0x160ab2._0x5b4038)]=[],_0x44eca5['phase']=_0x5c497c,_0x44eca5[_0x23af84(0x272,0x221)+'ration']='',_0x44eca5[_0x23af84(0x243,0x1ec)+'ll']='';const _0x134036=_0x44eca5,_0x55e682={..._0x2b4c96[_0x2c034f(0x514,0x4bf)]};_0x55e682[_0x5acd59]=_0x134036;function _0x23af84(_0x28a6ad,_0x26ea4a){return _0x268d05(_0x26ea4a,_0x28a6ad-0x245);}const _0x89a23=_0x55e682;if(_0x20b59e&&_0x89a23[_0x20b59e]){const _0x3db7e8=_0x89a23[_0x20b59e];if(!_0x3db7e8[_0x23af84(_0x160ab2._0x57da93,_0x160ab2._0x3e923b)]['includes'](_0x5acd59)){if(_0x12c45b['KYVbJ'](_0x12c45b[_0x2c034f(0x43e,0x461)],_0x12c45b[_0x23af84(0x247,_0x160ab2._0x18c5f6)])){const _0x3773b7={};_0x3773b7[_0x23af84(0x299,0x294)]=!![],_0x12c45b[_0x2c034f(_0x160ab2._0x162ede,0x437)](_0x210d85,_0x2c483c,_0x3773b7);}else{const _0x1a5cc3={..._0x3db7e8};_0x1a5cc3[_0x2c034f(0x45e,_0x160ab2._0x5b4038)]=[..._0x3db7e8[_0x23af84(_0x160ab2._0x57da93,0x21f)],_0x5acd59],_0x89a23[_0x20b59e]=_0x1a5cc3;}}}const _0x38d7e7={};_0x38d7e7[_0x2c034f(0x49f,0x4b6)]=_0x2b4c96[_0x2c034f(_0x160ab2._0x4fa924,0x4b6)],_0x38d7e7[_0x23af84(_0x160ab2._0x1e33f0,0x25c)]=_0x89a23,_0x38d7e7['machineSna'+'pshot']=_0x2b4c96['machineSna'+_0x23af84(_0x160ab2._0x181367,0x236)],await _0x12c45b['mEfzX'](writeStateFile,_0x4271bf,_0x38d7e7);const _0x5eb1e0=PHASE_NAMES[_0x5c497c]??_0x5c497c,_0x128dc6=[];_0x128dc6[_0x23af84(0x22c,_0x160ab2._0x38f804)](_0x2c034f(0x45f,_0x160ab2._0x21ddf5)+_0x23af84(_0x160ab2._0xa2f38f,_0x160ab2._0x4db455)+_0x5acd59),_0x128dc6[_0x2c034f(_0x160ab2._0x50c840,0x446)]('\x20\x20\x20阶段:\x20'+_0x5eb1e0);if(_0x20b59e)_0x128dc6[_0x2c034f(0x44c,_0x160ab2._0xf44737)](_0x2c034f(_0x160ab2._0x2f1957,_0x160ab2._0x2f3c81)+':\x20'+_0x20b59e);return _0x128dc6[_0x2c034f(_0x160ab2._0x146fc5,_0x160ab2._0x59dbb7)]('\x0a');}export async function deregisterAgent(_0x4ef089,_0x122d28){const _0x228994={_0x14fdcd:0x5f,_0x279c00:0x3a8,_0x5d1070:0x353,_0x594d9d:0x34b,_0xa46795:0x3f4,_0x227647:0x20,_0x395956:0xc,_0x335290:0x364,_0x1898ea:0x45,_0x2cd68:0x3cd,_0x4eac55:0x3d1,_0xa4455f:0x3d3,_0x5ad69c:0x387,_0x3ea4f4:0xf,_0x48c12c:0x7,_0x14dd2f:0x3fc,_0x4e6806:0x14,_0x2ebd7e:0x15,_0x77fb96:0x1d,_0x2e4ec0:0x3c},_0x27b0a2={'vsJIU':function(_0x7ba3f4,_0x220e90){return _0x7ba3f4(_0x220e90);},'VMutc':_0x2b9ddd(0x4c,_0x228994._0x14fdcd),'ahxvi':function(_0xc9f2cc,_0x23e74e,_0x52a007){return _0xc9f2cc(_0x23e74e,_0x52a007);}},_0x52a67a=await _0x27b0a2[_0x1d0870(_0x228994._0x279c00,_0x228994._0x5d1070)](readStateFile,_0x4ef089);if(!_0x52a67a)return _0x27b0a2[_0x1d0870(0x384,_0x228994._0x594d9d)];if(!_0x52a67a[_0x1d0870(_0x228994._0xa46795,0x3f1)][_0x122d28])return _0x2b9ddd(_0x228994._0x227647,_0x228994._0x395956)+_0x122d28+_0x1d0870(_0x228994._0x335290,0x3a1);const _0x11c348=_0x52a67a[_0x2b9ddd(0x46,_0x228994._0x1898ea)][_0x122d28],_0x7e6fb9={..._0x52a67a['agents']},_0x2b510a=_0x7e6fb9;function _0x2b9ddd(_0x1b8efd,_0x35b5d0){return _0x268d05(_0x35b5d0,_0x1b8efd- -0x1a);}delete _0x2b510a[_0x122d28];if(_0x11c348[_0x1d0870(_0x228994._0x2cd68,0x3d3)]&&_0x2b510a[_0x11c348[_0x1d0870(_0x228994._0x4eac55,_0x228994._0xa4455f)]]){const _0x9368e1=_0x2b510a[_0x11c348[_0x2b9ddd(0x28,0x77)]];_0x2b510a[_0x11c348['parentId']]={..._0x9368e1,'childIds':_0x9368e1[_0x1d0870(0x37a,_0x228994._0x5ad69c)][_0x2b9ddd(0x21,_0x228994._0x3ea4f4)](_0xfc8bd=>_0xfc8bd!==_0x122d28)};}const _0x387814=Object[_0x2b9ddd(-0x51,-0x8f)](_0x2b510a);function _0x1d0870(_0x1bd83e,_0xe7f869){return _0x268d05(_0x1bd83e,_0xe7f869-0x391);}const _0x447357=_0x387814[_0x1d0870(0x3db,0x3a5)]>-0x1*-0x71+0x5d0+0x1*-0x641?computeOverallPhase(_0x2b510a):_0x2b9ddd(-0x21,_0x228994._0x48c12c),_0x5708fc={..._0x52a67a[_0x2b9ddd(0x3d,0x49)]};_0x5708fc['currentPha'+'se']=_0x447357;const _0x5e020f={};return _0x5e020f['project']=_0x5708fc,_0x5e020f[_0x1d0870(_0x228994._0x14dd2f,0x3f1)]=_0x2b510a,_0x5e020f['machineSna'+'pshot']=_0x52a67a[_0x2b9ddd(-_0x228994._0x4e6806,-0x69)+_0x2b9ddd(-_0x228994._0x2ebd7e,0x35)],await _0x27b0a2['ahxvi'](writeStateFile,_0x4ef089,_0x5e020f),'✅\x20Agent\x20已注'+_0x2b9ddd(-_0x228994._0x77fb96,-_0x228994._0x2e4ec0)+_0x122d28;}export async function showProgress(_0x12b878){const _0x27e5ac={_0x198535:0x619,_0x4b41cb:0x5af,_0x319c97:0xa3,_0x26cf9b:0x8a,_0x5ac31c:0x30,_0xde7464:0x6a,_0x185d8f:0x51,_0x1d1d1d:0x6b,_0x4254a1:0x2a,_0x6da1b0:0x5de,_0x3b2ff0:0x629,_0x3157bb:0x57c,_0x1568a0:0x565,_0x333c2a:0x5d,_0x59a90e:0x585,_0x505b4b:0x593,_0x2acdf1:0x80,_0x4a165c:0x45,_0x351677:0x5b6,_0x5cd2b5:0x575,_0x105c10:0x5d4,_0x4cab27:0x7f,_0x16bc33:0xb5,_0xc03d48:0xf1,_0x1343c0:0xf9,_0x121d97:0xc3,_0x4feb15:0x34,_0x2856de:0x45,_0x4bc77:0xce,_0x5b8635:0x7e,_0x17e10f:0xa7,_0x596659:0x5f,_0x402cac:0xa9,_0x5d36c6:0x58c,_0xc8c359:0x542,_0x4ca597:0x5e6,_0x43192d:0x622,_0x4f3216:0x110,_0x4491d2:0x5fd,_0x5a4824:0x3,_0x4c32f9:0x6a,_0x5537d5:0xa3,_0x1f688f:0x566,_0x2a8531:0x3c,_0x24813f:0x59,_0x2fc29b:0x91,_0x29b728:0x595,_0x4cddf0:0x59f,_0x53de45:0x57e,_0x3c7b43:0x1d,_0x1281d9:0xa8,_0x21621f:0xbc,_0x1d4db9:0x80,_0x1362be:0x5c2,_0x1ec6a4:0x59a,_0x5ca15d:0x5c8,_0x57f740:0x5de,_0x21a37e:0xf5,_0x1e4592:0xa3,_0x3ca343:0x9c,_0x43749d:0x4d,_0x728ba2:0x53c},_0x2c1775={_0x2f8d67:0x5b3};function _0x8c997b(_0x19e5f9,_0x1bd714){return _0x268d05(_0x1bd714,_0x19e5f9-_0x2c1775._0x2f8d67);}function _0x499568(_0x233251,_0x1c8fc3){return _0x363875(_0x1c8fc3- -0x4d2,_0x233251);}const _0x302173={'XNdFB':function(_0x3d0d62,_0x21e90a){return _0x3d0d62(_0x21e90a);},'mLfER':_0x8c997b(_0x27e5ac._0x198535,0x61c)+_0x8c997b(0x578,_0x27e5ac._0x4b41cb)+'project\x20命令','cHdQm':function(_0x3705e1,_0x34074c){return _0x3705e1*_0x34074c;},'rnxnz':function(_0xe2465e,_0x2e4158){return _0xe2465e+_0x2e4158;},'yYPEc':_0x499568(0x83,0x73),'vuKKX':function(_0x3d9bdc,_0x551b59){return _0x3d9bdc>_0x551b59;},'zsbzM':'\x20\x20\x20🤖\x20Agent'+'\x20详情:','yCNvS':_0x499568(_0x27e5ac._0x319c97,_0x27e5ac._0x26cf9b)+_0x499568(_0x27e5ac._0x5ac31c,_0x27e5ac._0xde7464)+_0x499568(_0x27e5ac._0x185d8f,0x58)+_0x499568(_0x27e5ac._0x1d1d1d,0x77)+_0x499568(0x1a,_0x27e5ac._0x4254a1)+_0x8c997b(0x594,0x54c)+'工具','IESvs':_0x8c997b(_0x27e5ac._0x6da1b0,_0x27e5ac._0x3b2ff0)},_0xe7ac9=await _0x302173['XNdFB'](readStateFile,_0x12b878);if(!_0xe7ac9)return _0x302173['mLfER'];const _0x2c88d9=_0xe7ac9['agents'],_0x483ade=Object[_0x8c997b(_0x27e5ac._0x3157bb,_0x27e5ac._0x1568a0)](_0x2c88d9),_0xdd0ab7=_0x483ade[_0x499568(_0x27e5ac._0x333c2a,0x72)],_0x454b3c=_0x483ade[_0x499568(0xec,0x99)](_0x5945c1=>_0x2c88d9[_0x5945c1][_0x8c997b(0x5d5,0x583)]===_0x499568(0x4c,0x2e))['length'],_0x2e72ce=_0xdd0ab7>-0x1*-0x1f12+0xf11+-0x3*0xf61?Math[_0x8c997b(0x614,0x65f)](_0x302173[_0x8c997b(_0x27e5ac._0x59a90e,_0x27e5ac._0x505b4b)](_0x454b3c/_0xdd0ab7,0xcf8+-0x1e0*0x12+-0xa*-0x21e)):-0x1c81+0xa5+-0xdee*-0x2,_0x514b78={};for(const _0x13f552 of _0x483ade){const _0x4471d8=_0x2c88d9[_0x13f552][_0x499568(0x8e,_0x27e5ac._0x2acdf1)];_0x514b78[_0x4471d8]=_0x302173[_0x8c997b(0x590,0x5cf)](_0x514b78[_0x4471d8]??-0x2111*0x1+0x1*0x133+0x2*0xfef,0x1dff+0x259a+0x873*-0x8);}const _0x40d274=[];_0x40d274[_0x499568(0x7e,_0x27e5ac._0x4a165c)](_0x8c997b(_0x27e5ac._0x351677,_0x27e5ac._0x5cd2b5)+_0xe7ac9[_0x8c997b(0x60a,_0x27e5ac._0x105c10)][_0x8c997b(0x604,0x627)]),_0x40d274[_0x499568(0x2d,_0x27e5ac._0x4a165c)]('\x20\x20\x20当前阶段:\x20'+(PHASE_NAMES[_0xe7ac9[_0x499568(_0x27e5ac._0x4cab27,_0x27e5ac._0x16bc33)]['currentPha'+'se']]??_0xe7ac9[_0x499568(_0x27e5ac._0xc03d48,_0x27e5ac._0x16bc33)]['currentPha'+'se'])),_0x40d274[_0x499568(0x1e,_0x27e5ac._0x4a165c)]('\x20\x20\x20版本:\x20'+_0xe7ac9[_0x499568(_0x27e5ac._0x1343c0,_0x27e5ac._0x121d97)]),_0x40d274[_0x499568(_0x27e5ac._0x4feb15,_0x27e5ac._0x2856de)](_0x499568(_0x27e5ac._0x4bc77,_0x27e5ac._0x5b8635)+_0xe7ac9[_0x499568(_0x27e5ac._0x17e10f,_0x27e5ac._0x596659)]),_0x40d274['push'](_0x499568(0xd5,_0x27e5ac._0x402cac)+_0x2e72ce+_0x8c997b(_0x27e5ac._0x5d36c6,_0x27e5ac._0xc8c359)+_0x454b3c+'/'+_0xdd0ab7+'\x20Agent)'),_0x40d274['push'](''),_0x40d274[_0x8c997b(0x59a,_0x27e5ac._0x4ca597)](_0x302173[_0x8c997b(0x5fc,_0x27e5ac._0x43192d)]);for(const [_0x1bc52c,_0x2d9d4b]of Object[_0x499568(_0x27e5ac._0x4f3216,0xc2)](_0x514b78)){const _0x3970ee=PHASE_NAMES[_0x1bc52c]??_0x1bc52c,_0x597320=_0x302173['rnxnz']('█'[_0x8c997b(0x605,_0x27e5ac._0x4491d2)](_0x2d9d4b),'░'['repeat'](Math[_0x8c997b(0x5e5,0x5cd)](0x16fe+0xec7*0x1+0x3*-0xc97,_0xdd0ab7-_0x2d9d4b)));_0x40d274['push'](_0x499568(-_0x27e5ac._0x5a4824,0x2b)+_0x3970ee[_0x499568(_0x27e5ac._0x4c32f9,_0x27e5ac._0x5537d5)](-0xc2b+0x180c+-0xbd3)+'\x20'+_0x597320+'\x20'+_0x2d9d4b);}_0x40d274[_0x8c997b(0x59a,_0x27e5ac._0x1f688f)]('');if(_0x302173[_0x499568(_0x27e5ac._0x2a8531,_0x27e5ac._0x24813f)](_0x483ade[_0x499568(_0x27e5ac._0x2fc29b,0x72)],0xd6b*0x1+0xc33+-0x199e)){_0x40d274['push'](_0x302173[_0x8c997b(_0x27e5ac._0x29b728,0x5a9)]),_0x40d274['push'](_0x302173[_0x8c997b(_0x27e5ac._0x4cddf0,_0x27e5ac._0x53de45)]),_0x40d274[_0x499568(_0x27e5ac._0x3c7b43,0x45)](_0x302173['rnxnz'](_0x302173['IESvs'],'-'[_0x499568(_0x27e5ac._0x1281d9,0xb0)](-0x44a+0x381*0xa+-0x10*0x1e7)));for(const _0x283eab of _0x483ade){const _0xf964c6=_0x2c88d9[_0x283eab],_0x33270b=PHASE_NAMES[_0xf964c6[_0x499568(_0x27e5ac._0x21621f,_0x27e5ac._0x1d4db9)]]??_0xf964c6[_0x499568(0x54,0x80)],_0x417a8f=_0xf964c6['currentOpe'+_0x8c997b(_0x27e5ac._0x1362be,0x5dc)]||'-',_0x57f9e6=_0xf964c6['currentSki'+'ll']||'-';_0x40d274[_0x8c997b(_0x27e5ac._0x1ec6a4,_0x27e5ac._0x5ca15d)](_0x8c997b(_0x27e5ac._0x57f740,0x609)+_0x283eab[_0x499568(_0x27e5ac._0x21a37e,0xa3)](0x1b80+-0x2*0x7e5+-0x95*0x14)+'\x20|\x20'+_0x33270b[_0x499568(0x6b,_0x27e5ac._0x1e4592)](-0x2b7*-0x9+0x1721+-0x2f82)+_0x499568(_0x27e5ac._0x3ca343,_0x27e5ac._0x43749d)+_0x417a8f['padEnd'](0x1*-0xb3+0xaaf+0x9e7*-0x1)+'\x20|\x20'+_0x57f9e6);}}return _0x40d274[_0x8c997b(0x587,_0x27e5ac._0x728ba2)]('\x0a');}export async function quickTask(_0xec4b3e,_0xeaed6b){const _0x437a55={_0x2a3744:0x13f,_0x500249:0xe8,_0x5030b4:0x157,_0x408059:0x33,_0x310e6f:0x6e,_0x29e701:0xc,_0x1559d3:0xa5,_0x1a6100:0x52,_0x8d5f30:0x24,_0x8907a7:0x70,_0x2ad54d:0x2e,_0x524018:0x15a,_0x536665:0x175,_0x37d05d:0x1b2,_0xca52a:0x110,_0x11d947:0x180,_0x1ed5aa:0xc3,_0x5c2991:0x145,_0x5b7a24:0x1c,_0x410448:0x14e,_0x3b0f4a:0x17b,_0x5cfe12:0xac,_0x2ae311:0x56,_0x126945:0x110,_0x12915a:0x0,_0xe3e9f:0x14d,_0x4a2555:0xf5,_0x286ae0:0x93,_0x47762c:0xfd},_0x585d18={_0x1739fd:0x407},_0x2dc800={_0x4d8e32:0x520},_0x3dd703={'DCkDP':function(_0x58d97c,_0x3f8309){return _0x58d97c(_0x3f8309);},'jwuJg':_0x579672(0x160,0x130),'VBvvz':function(_0x134cd7,_0x2dc4b8,_0xf36bb5){return _0x134cd7(_0x2dc4b8,_0xf36bb5);},'cpvXu':'quick-task','LRNpH':_0x579672(0xf7,_0x437a55._0x2a3744)},_0x3b983b=await _0x3dd703[_0x21fb70(0x5a,0x10)](readStateFile,_0xec4b3e);if(!_0x3b983b){if(_0x3dd703[_0x579672(_0x437a55._0x500249,0x10c)]===_0x579672(_0x437a55._0x5030b4,0x13d))return'['+_0x25d02c+_0x21fb70(-0x1,-0x8);else{const _0x2eb53c=_0x3dd703[_0x21fb70(_0x437a55._0x408059,_0x437a55._0x310e6f)](resolve,_0xec4b3e,'..');if(!_0x3dd703['DCkDP'](existsSync,_0x2eb53c)){if(_0x21fb70(-0x17,_0x437a55._0x29e701)!=='wNviS'){const _0x3051fa={};_0x3051fa['recursive']=!![],mkdirSync(_0x2eb53c,_0x3051fa);}else{const _0x4c21f3=_0x105192[_0x4826e2[_0x21fb70(_0x437a55._0x1559d3,_0x437a55._0x1a6100)]];_0x292bcd[_0x4106e4['parentId']]={..._0x4c21f3,'childIds':_0x4c21f3[_0x21fb70(-0x10,0x6)]['filter'](_0x27a526=>_0x27a526!==_0xd0898b)};}}}}const _0x200e82=_0x3b983b?.['project'][_0x579672(0x17a,0x1b4)]??_0x3dd703[_0x21fb70(_0x437a55._0x8d5f30,0x4e)],_0x4d7ef5=_0x3b983b?Object[_0x21fb70(-0x4b,-0x27)](_0x3b983b[_0x21fb70(0x5b,_0x437a55._0x8907a7)])[0x1*-0x144d+0x1*0x1e51+-0xa04]??generateAgentId():generateAgentId(),_0xc7aeac={'agentId':_0x4d7ef5,'parentId':null,'childIds':[],'phase':_0x21fb70(0x49,_0x437a55._0x2ad54d),'currentOperation':_0xeaed6b['slice'](-0x131*-0x1e+0x6*-0x216+-0x173a*0x1,-0x1fe1*0x1+0x953*0x1+0x16f2),'currentSkill':_0x3dd703['LRNpH']},_0x4aa4af={};_0x4aa4af[_0x579672(0x17a,_0x437a55._0x524018)]=_0x200e82,_0x4aa4af[_0x579672(_0x437a55._0x536665,_0x437a55._0x37d05d)+'se']=_0x579672(0xf7,_0x437a55._0xca52a);function _0x21fb70(_0x6d1259,_0x2bc070){return _0x363875(_0x2bc070- -_0x2dc800._0x4d8e32,_0x6d1259);}const _0x55f4ce={};function _0x579672(_0x2233d0,_0x144732){return _0x363875(_0x2233d0- -_0x585d18._0x1739fd,_0x144732);}_0x55f4ce[_0x4d7ef5]=_0xc7aeac;const _0x27ff40={};_0x27ff40[_0x579672(_0x437a55._0x11d947,0x194)]=_0x4aa4af,_0x27ff40[_0x21fb70(_0x437a55._0x1ed5aa,0x70)]=_0x55f4ce,_0x27ff40[_0x579672(0x12f,_0x437a55._0x5c2991)+_0x21fb70(-_0x437a55._0x5b7a24,0x15)]=null,await writeStateFile(_0xec4b3e,_0x27ff40);const _0x18b13c=[];return _0x18b13c[_0x579672(0x110,0x13c)](_0x579672(_0x437a55._0x410448,_0x437a55._0x3b0f4a)),_0x18b13c['push'](_0x21fb70(_0x437a55._0x5cfe12,_0x437a55._0x2ae311)+_0x200e82),_0x18b13c[_0x579672(_0x437a55._0x126945,0xcd)](_0x21fb70(0x34,_0x437a55._0x12915a)+_0xeaed6b),_0x18b13c[_0x579672(0x110,_0x437a55._0xe3e9f)](_0x579672(0xf0,0x104)+_0x4d7ef5),_0x18b13c['push'](_0x579672(0x100,_0x437a55._0x4a2555)+_0x579672(0xe5,_0x437a55._0x286ae0)+_0x21fb70(0xb1,0x68)),_0x18b13c[_0x579672(_0x437a55._0x47762c,0xf2)]('\x0a');}
package/dist/plugin.js CHANGED
@@ -1 +1 @@
1
- (function(_0x26c4b0,_0x5c34f9){const _0x4e556e={_0x5d1819:0x447,_0x197829:0x168,_0x83573e:0x13b,_0x4e2f5b:0x1b7,_0x58fca6:0x189,_0x46ad10:0x161,_0xf52b9a:0x40a,_0x2a09cf:0x1ad,_0x53517d:0x172,_0x31206f:0x17a,_0x2cc310:0x46c},_0x26353b={_0x5efc4d:0x381};function _0x561521(_0xc40281,_0x1177ba){return _0x30ee(_0xc40281-_0x26353b._0x5efc4d,_0x1177ba);}const _0x5cc9aa=_0x26c4b0();function _0x5855e0(_0x2d080c,_0x1b7f7e){return _0x30ee(_0x2d080c- -0x236,_0x1b7f7e);}while(!![]){try{const _0x4657d5=-parseInt(_0x561521(_0x4e556e._0x5d1819,0x457))/(0x1106+0x1*-0x1f3+0x506*-0x3)+parseInt(_0x5855e0(-_0x4e556e._0x197829,-_0x4e556e._0x83573e))/(-0x617*-0x5+0x1*-0x26f6+-0x3*-0x2d7)+-parseInt(_0x5855e0(-_0x4e556e._0x4e2f5b,-_0x4e556e._0x58fca6))/(-0x332+-0x337+0x66c)+-parseInt(_0x5855e0(-0x188,-_0x4e556e._0x46ad10))/(0x26d5+0xd*-0x18d+-0x12a8)+parseInt(_0x561521(0x42a,_0x4e556e._0xf52b9a))/(-0x942+0x1a68+-0x5*0x36d)+-parseInt(_0x5855e0(-_0x4e556e._0x2a09cf,-_0x4e556e._0x53517d))/(-0x1f35*-0x1+-0xf*-0x47+-0x2358)*(-parseInt(_0x5855e0(-_0x4e556e._0x31206f,-0x14f))/(0x8bf*0x3+0x1*-0x1b67+0x131))+parseInt(_0x561521(_0x4e556e._0x2cc310,0x435))/(0x2*0x1337+-0x1946+-0xd20);if(_0x4657d5===_0x5c34f9)break;else _0x5cc9aa['push'](_0x5cc9aa['shift']());}catch(_0x4dca38){_0x5cc9aa['push'](_0x5cc9aa['shift']());}}}(_0x4c33,0x37483+0x1*0x36845+0x5d11*-0xd));import{tool}from'@opencode-ai/plugin';import{resolve}from'node:path';import*as _0x635478 from'./plugin-engine.js';import{createAnalyzeRequirementsTool}from'./requirement-analysis/tools/analyze-requirements.js';function getStateFilePath(_0x3bdd9c){const _0x165a44={_0x5d3adc:0x241,_0x12499c:0x441},_0x2a205b={'OIySK':function(_0x40e64d,_0x3a1ec9,_0x5571cc,_0x3de327){return _0x40e64d(_0x3a1ec9,_0x5571cc,_0x3de327);},'TcZHu':'.specops','MITPg':_0x198294(-0x289,-0x276)};function _0x68df06(_0x10341c,_0x30ff08){return _0x30ee(_0x30ff08-0x358,_0x10341c);}function _0x198294(_0x1c48b3,_0x14ca5d){return _0x30ee(_0x1c48b3- -0x334,_0x14ca5d);}return _0x2a205b[_0x198294(-0x247,-_0x165a44._0x5d3adc)](resolve,_0x3bdd9c,_0x2a205b[_0x68df06(0x41a,0x419)],_0x2a205b[_0x68df06(0x416,_0x165a44._0x12499c)]);}function _0x30ee(_0x36d2c7,_0x36e354){_0x36d2c7=_0x36d2c7-(-0x1328*-0x1+-0xa70+0x2*-0x421);const _0x38b7d1=_0x4c33();let _0x2150fd=_0x38b7d1[_0x36d2c7];if(_0x30ee['MsjOiS']===undefined){var _0x116cee=function(_0x3232c3){const _0x47e862='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x492ff7='',_0xfd8cae='';for(let _0x33715a=0x11*-0x1cd+-0x19a1+0x383e,_0x332591,_0x5cf3e8,_0x22de6=0x5*0x705+-0x5cf+-0x146*0x17;_0x5cf3e8=_0x3232c3['charAt'](_0x22de6++);~_0x5cf3e8&&(_0x332591=_0x33715a%(0x23b6+-0x960+0x463*-0x6)?_0x332591*(-0xda6+-0x2*-0x1171+-0x13c*0x11)+_0x5cf3e8:_0x5cf3e8,_0x33715a++%(-0x157f*0x1+0x26cf*-0x1+-0x2*-0x1e29))?_0x492ff7+=String['fromCharCode'](-0x11cc+0x2081+-0x186*0x9&_0x332591>>(-(0xef7+-0x761*0x2+-0x33)*_0x33715a&-0x4*-0x89+0x79*-0x45+-0x1e7f*-0x1)):0x35*0x52+0x6*-0xfd+0x194*-0x7){_0x5cf3e8=_0x47e862['indexOf'](_0x5cf3e8);}for(let _0x121736=0x1c11+-0x1343+-0x8ce,_0x49eb50=_0x492ff7['length'];_0x121736<_0x49eb50;_0x121736++){_0xfd8cae+='%'+('00'+_0x492ff7['charCodeAt'](_0x121736)['toString'](0x2648+0x1b41+0x15d3*-0x3))['slice'](-(-0x1a78+0x2b2+0x17c8));}return decodeURIComponent(_0xfd8cae);};_0x30ee['YFabtg']=_0x116cee,_0x30ee['ugWedY']={},_0x30ee['MsjOiS']=!![];}const _0x19202f=_0x38b7d1[0xbc*-0x28+-0x19*-0x125+0x5*0x27],_0x9c3109=_0x36d2c7+_0x19202f,_0x55749a=_0x30ee['ugWedY'][_0x9c3109];return!_0x55749a?(_0x2150fd=_0x30ee['YFabtg'](_0x2150fd),_0x30ee['ugWedY'][_0x9c3109]=_0x2150fd):_0x2150fd=_0x55749a,_0x2150fd;}function createStatusTool(_0x5e2999){const _0x37dd46={_0x41e5bb:0x3cb,_0x1c6825:0x42e,_0x52b214:0x412},_0x506291={_0x7ced8d:0x1a1,_0x27ad52:0x19d,_0x1620bc:0x29b,_0x3efb16:0x251,_0x3c2564:0x232,_0x2b7870:0x248,_0x41a314:0x25e,_0x1403b0:0x264},_0x4a3be9={_0x25d3f9:0x270},_0x291271={'TWkWv':function(_0xa208ce,_0x52b858){return _0xa208ce===_0x52b858;},'lkJmV':'TRsTg','BXbSG':function(_0x26b8fe,_0x35be0c){return _0x26b8fe instanceof _0x35be0c;},'GGnPQ':function(_0x2b0cac,_0x36543e){return _0x2b0cac(_0x36543e);}};function _0x530552(_0x396de5,_0x2c84fb){return _0x30ee(_0x2c84fb-0x33e,_0x396de5);}function _0x41c551(_0x2ba982,_0x4ca91e){return _0x30ee(_0x4ca91e- -0x3c6,_0x2ba982);}const _0x36bbbf=_0x291271[_0x530552(_0x37dd46._0x41e5bb,0x400)](getStateFilePath,_0x5e2999);return tool({'description':_0x530552(_0x37dd46._0x1c6825,0x3f1)+'\x20项目当前状态。\x0a显'+_0x530552(0x445,_0x37dd46._0x52b214)+'、所有\x20Agent\x20'+_0x530552(_0x37dd46._0x41e5bb,0x3f4),'args':{},async 'execute'(){function _0x13cc31(_0x698c15,_0x50c8a3){return _0x530552(_0x50c8a3,_0x698c15- -_0x4a3be9._0x25d3f9);}const _0x3ab3ce={};_0x3ab3ce[_0x13cc31(_0x506291._0x7ced8d,_0x506291._0x27ad52)]=function(_0x12f9e6,_0x15c7ff){return _0x12f9e6 instanceof _0x15c7ff;};const _0x3999b7=_0x3ab3ce;function _0x1db543(_0x534f96,_0x54fc18){return _0x41c551(_0x534f96,_0x54fc18-0x557);}if(_0x291271[_0x1db543(_0x506291._0x1620bc,0x281)]('TRsTg',_0x291271['lkJmV']))try{return await _0x635478[_0x1db543(_0x506291._0x3efb16,0x245)](_0x36bbbf);}catch(_0x11d57c){return _0x1db543(_0x506291._0x3c2564,0x243)+(_0x291271[_0x13cc31(0x156,0x172)](_0x11d57c,Error)?_0x11d57c[_0x1db543(0x212,_0x506291._0x2b7870)]:String(_0x11d57c));}else return _0x1db543(0x227,0x227)+_0x1db543(_0x506291._0x41a314,0x237)+(_0x3999b7[_0x1db543(0x250,_0x506291._0x1403b0)](_0x5721e8,_0x61bc5b)?_0x446868[_0x13cc31(0x185,0x1a5)]:_0x2873a1(_0x372147));}});}function createAdvanceTool(_0x4ab58f){const _0x98397a={_0x3f8d3b:0x190,_0x57b38c:0x194,_0x470150:0x1da,_0x3057de:0x1a3,_0x376c02:0x16f,_0xbcea06:0x1ea,_0xb7bfd1:0x65,_0x20d1f1:0x97,_0x3aa0e8:0xa0,_0x44f39e:0x8b,_0x4d3a10:0x90,_0x476046:0x189,_0x6921af:0x187,_0x5a517e:0x74,_0x14ca2b:0x9f,_0x58fb68:0x81,_0x4d4845:0x18e},_0x380b8d={_0x1be737:0xce,_0x3762eb:0x73,_0x376542:0x20,_0x35e941:0x2f,_0x4a0fc2:0x115,_0xf7c057:0x10d,_0x253b8c:0x135},_0x5849bd={_0x116163:0x3ee},_0x26fb99={_0x44a209:0x2},_0x364af3={'SdSht':function(_0x59a894,_0x344357){return _0x59a894(_0x344357);},'kfqEX':function(_0x50a833,_0x471f45){return _0x50a833===_0x471f45;},'fvXZF':_0x142b39(0x168,_0x98397a._0x3f8d3b),'qLTRX':function(_0x507f91,_0x364c41){return _0x507f91(_0x364c41);},'DMRmf':_0x142b39(0x188,_0x98397a._0x57b38c)+_0x142b39(_0x98397a._0x470150,0x1c1)+_0x142b39(_0x98397a._0x3057de,0x17d)};function _0x142b39(_0x3dc9bd,_0x4a522){return _0x30ee(_0x4a522-0xf9,_0x3dc9bd);}function _0x1231ec(_0x9c401,_0xdc6692){return _0x30ee(_0x9c401- -_0x26fb99._0x44a209,_0xdc6692);}const _0x3d0bba=_0x364af3[_0x142b39(_0x98397a._0x376c02,0x193)](getStateFilePath,_0x4ab58f);return _0x364af3[_0x142b39(0x1ec,_0x98397a._0xbcea06)](tool,{'description':_0x1231ec(0x8d,_0x98397a._0xb7bfd1)+'\x20阶段。将指定\x20Ag'+_0x1231ec(_0x98397a._0x20d1f1,_0x98397a._0x3aa0e8)+'成的\x20Agent)推'+'进到下一个阶段。\x0a阶'+'段序列:\x20讨论\x20→\x20'+_0x1231ec(_0x98397a._0x44f39e,0x9a)+_0x1231ec(0xa3,0xa2)+_0x1231ec(_0x98397a._0x4d3a10,0x92),'args':{'agent_id':tool[_0x142b39(0x1e6,0x1b6)][_0x142b39(_0x98397a._0x476046,_0x98397a._0x6921af)]()[_0x1231ec(_0x98397a._0x5a517e,_0x98397a._0x14ca2b)]()[_0x1231ec(_0x98397a._0x58fb68,0x94)](_0x364af3[_0x142b39(_0x98397a._0x4d4845,0x174)])},async 'execute'(_0x4617cd){function _0x4eb826(_0x1a0fa2,_0x185e97){return _0x1231ec(_0x1a0fa2- -0x108,_0x185e97);}const _0x53f0f2={'VVnnO':function(_0x1193cb,_0x46cbf1){function _0x9116df(_0x2c983a,_0x4764fd){return _0x30ee(_0x2c983a-0x2ec,_0x4764fd);}return _0x364af3[_0x9116df(0x3dd,_0x5849bd._0x116163)](_0x1193cb,_0x46cbf1);}};function _0x3ac4fb(_0x36ab6f,_0x5457ce){return _0x1231ec(_0x36ab6f- -0x1bf,_0x5457ce);}try{return _0x364af3['kfqEX'](_0x364af3[_0x3ac4fb(-0xde,-_0x380b8d._0x1be737)],_0x4eb826(-_0x380b8d._0x3762eb,-0x97))?await _0x635478[_0x4eb826(-_0x380b8d._0x376542,-_0x380b8d._0x35e941)+'se'](_0x3d0bba,_0x4617cd['agent_id']):_0x3ac4fb(-_0x380b8d._0x4a0fc2,-0x11b)+(_0x400995 instanceof _0x2b4665?_0x3b484e['message']:_0x53f0f2[_0x3ac4fb(-0xfe,-_0x380b8d._0xf7c057)](_0xe67bc7,_0x1573d0));}catch(_0x2d8696){return _0x4eb826(-0x5e,-0x78)+(_0x2d8696 instanceof Error?_0x2d8696[_0x4eb826(-0x53,-0x24)]:_0x364af3[_0x3ac4fb(-0x127,-_0x380b8d._0x253b8c)](String,_0x2d8696));}}});}function _0x4c33(){const _0x3274c5=['zw50','77Yi5y+V6ycj77Yj','DMLfBw0','ENPnseG','BNqG6k6W5B2v77Ym5zcm5PE25PU05PAW','5yIg5BId5zU+44cbqwDLBNqG','5P6q6zYa5Rgc5PAh5QgJiU+8Iq','sevfz2u','ChjVAMvJDf9Uyq','6AQm6k+biokgKIbJB21WBa','iowKSEI0PtOG','svLqAeS','5PE277Ym5Q+p5lIQigfNzw50','mtiYody0nxPIsMf2EG','4P2mioIoT+wpLUI/M+w6PUwKSEI0PtOG','C3rHDguUANnVBG','4P2mioAoQoI/M+MyTUAUTEwKSEI0PtOG','6Ag555UU5zcn56EW','nZq0oty4Bhf1EfbK','A2P2C2W','cUMaGUEuQos6JUwWJ+wEI+oaGEAyJUEHRUEAHa','5zcR5A6m5OIq5BQM55M+5yIg5Q+u44cb6zI25Q61','4P2mioIoT+wpLUEkTUAaGEwKSEI0PtOG','6i635y+wihnWzwnVChm','z2v0u3rHDhvZ','yxrPB24','55Qe54Q25Ocb6kgO5Qc844cc','BwvZC2fNzq','C3bLy29WCW','ChmG6Ag555UU44cc5yID5AEl5yYwia','CxvPy2TuyxnR','D3PqEhm','mJHSB3Deze8','C2nOzw1H','zgvYzwDPC3rLCG','5lUoihnWzwnVChmG','yxndze8','vgnAshu','r0DUufe','vLzUBK8','5PU05PAW5OYh5A6AiefNzw50','ioEAHow9K+wjJEAtJEs9NoApJ+I/SowsJos9VW','mty3oda5tw1wv05T','Dgf0zs5QC29U77Ym','ieLe77Yi5lIn5OYh5A6A5yIz6iEQ5yQO','BNtJGiik56E76zMKiefNzq','6kAb5RoO6zsa55QeiefNzw50','EwzMr08','y2HPBgrjzhpJGii','54I2iefNzw50ieLe','mZCXmta2Afr5tKHn','ieLe','ioEkTUAaGEEZU+E7N+oaGGRNLkJKUO7LUBy','4P2mioAZQoMuGcbbz2vUDa','CvLNAvG','AxfwBvG','56s66Ag555UU5zcn56EW44cb5B2t5yMn6zI25Q61','5yIB5BU65yID5AEliefNzw50','z0LuvKW','5yIB5BU65PAW55QeihnWzwnV','q2zdv3a','tKfjwwe','5y+rigfNzw50ioE8LUAoKG','5zcn56EW77Yi5AAciMv4CgXV','5lQo5A6E5PE26l+96lIQiefNzw4','sxrYtLq','sKn0v1y','qwDLBNq','4P2mioABToAwSoAtJEs9NowKSEI0PtOG','yMLmyKm','4P2miow/Q+MaN+s7U+wkOEwKSEI0PtOG','zNzywKy','qwDLBNqGsuq','DcdMRApLNkJLGzRKU4dKUyJJGii','ioAZQowgJoIhQUw3SEEAHoEkTUAaGEoaGG','DM9gAxy','5RoO5yAm5PAW55QeiefNzw50','tuLuugC','ywr2yw5JzvbOyq','mtGZnZK4nfPgDLbKsG','DxbKyxrLt3bLCG','t0L5u0S','5B2t5yMn5l2/55sO55Qe5BEL5yw3l+AkGoIdVq','54Q25Ocb57o757UF5RoO6zsaiefNzq','vfDRv3y','u2rtAhq','B3b0Aw9UywW','77Ym55U05O6L6l+B5ywL5OMN6kgm6zI25Q6144cc','5yID5AEl6zI25Q6177Yi6BUy6k6KoIbP','54I2iefNzw50ioEAHca','4P2miowiM+w7UUMHUEEBRUwKSEI0PtOG','re1sBwy','ywDLBNrFAwq','v1bSvKK','vMfOugO','ntGZodm2AgXWC0zp','6k+M5Oof6kgO5Qc844cc','zgLYzwn0B3j5','zgXL77Yj','zgvZy3jPyMu','6ycj5OUP56YS5lIa5lIQ5PYQ5A6m5OIq55Qe77Yj','B3bLCMf0Aw9U','5B2t5yMn5Pon5l2C5O+p6l+W77Yi5AAciUwiHG','ioMHUEEBRUIVPUE7HUI/M+w6PUoaGGRLJiu','qLHIu0C','nde0nJzmuujrrvO','CMvNAxn0zxjbzW','DgfZAW','5B+R6ycF5lU75yQH5QIH5BYp44cc6lEZ6l+h5A6m','6kEe5yIsiokgKIdMIAFOOyWG4OAsia','C3rYAw5N','5O6O6l+BihnWzwnVChm','55sO55Qe5BEL5yw3l+AkGoIdVEoaGGRNLkG','suvIAKG','zxrLza','BMv3uhjVAMvJDa','vMzUswe','C2TPBgW','4P2mioAZQowgJcbbz2vUDa','vgXhufi','u09psNK','zw5077Yi5OIw56YS5lIa5lIQ5PYQ5A6m','CuXuuLG','6kAb5O6O6l+B55QeiefNzw50'];_0x4c33=function(){return _0x3274c5;};return _0x4c33();}function createNewProjectTool(_0x336c61){const _0x397da0={_0x30a52c:0x308,_0x1ddef4:0x2cf,_0xe252c1:0x2c4,_0xbd18aa:0x2b8,_0x2e8532:0x2eb,_0x58b567:0x1f},_0x1b8d7b={_0x21a147:0x39a,_0x4e41ea:0x11d,_0x30cb7e:0x126,_0x5e1046:0x114,_0x37abca:0x127,_0xd17616:0x33f,_0x1ea1de:0x37c},_0x3df931={_0x4135d6:0xc7},_0x50fe11={_0x226f05:0x216},_0x98ce2e={_0x319950:0xad},_0x1a335f={'zzMHH':function(_0x5db31c,_0x53fc1d){return _0x5db31c(_0x53fc1d);}};function _0x213770(_0x3771f5,_0x305626){return _0x30ee(_0x3771f5- -_0x98ce2e._0x319950,_0x305626);}const _0x1f8bc0=getStateFilePath(_0x336c61);function _0x53ed0d(_0x576a2e,_0x471ac2){return _0x30ee(_0x576a2e-_0x50fe11._0x226f05,_0x471ac2);}return tool({'description':_0x53ed0d(0x2ed,_0x397da0._0x30a52c)+_0x53ed0d(_0x397da0._0x1ddef4,_0x397da0._0xe252c1)+'.specops/s'+_0x53ed0d(0x2dd,_0x397da0._0xbd18aa)+_0x53ed0d(_0x397da0._0x2e8532,0x31c)+'。','args':{'project_name':tool['schema'][_0x213770(-_0x397da0._0x58b567,-0x22)]()['describe'](_0x213770(0x0,-0x1b))},async 'execute'(_0xfed223){function _0x3559a1(_0x288545,_0x5427e4){return _0x53ed0d(_0x5427e4- -0x17c,_0x288545);}function _0x4ea0a1(_0x1943ed,_0x20ad51){return _0x53ed0d(_0x20ad51-_0x3df931._0x4135d6,_0x1943ed);}try{return await _0x635478[_0x4ea0a1(_0x1b8d7b._0x21a147,0x370)](_0x1f8bc0,_0xfed223[_0x3559a1(_0x1b8d7b._0x4e41ea,0x13e)+'me']);}catch(_0x3fc1a3){return _0x3559a1(_0x1b8d7b._0x30cb7e,_0x1b8d7b._0x5e1046)+(_0x3fc1a3 instanceof Error?_0x3fc1a3[_0x3559a1(_0x1b8d7b._0x37abca,0x151)]:_0x1a335f[_0x4ea0a1(_0x1b8d7b._0xd17616,_0x1b8d7b._0x1ea1de)](String,_0x3fc1a3));}}});}function createUpdateOperationTool(_0x13a14d){const _0x3ed81f={_0x654e1f:0x6a,_0x34c91d:0x61,_0x4ac972:0xce,_0x207b45:0xc4,_0xd907ce:0xae,_0x4ffdf3:0xbf,_0x5a65d3:0x45,_0x33c6da:0xc9,_0x1d8629:0xc1,_0x19ba50:0x42,_0x185883:0xb6,_0x33cf52:0xfe,_0xa377b1:0x95},_0x177a8e={_0x4c27a9:0x331,_0x12e52d:0x2f7,_0x5e15d5:0x1bc,_0xa3d517:0x19d,_0xdd26ba:0x361,_0x41d3cd:0x347,_0x384868:0x1f4,_0x5c5dc0:0x306,_0x5731b4:0x319,_0x18f1cc:0x2e6,_0x4870cd:0x32f,_0x16d00d:0x33b},_0x3a281c={_0x153cbc:0x2b3},_0x3b489e={_0x362768:0x173};function _0x163deb(_0x3ec1c6,_0x523ce8){return _0x30ee(_0x523ce8- -_0x3b489e._0x362768,_0x3ec1c6);}const _0x1e6486={'gITVL':function(_0x5446e1,_0x1dd2cb){return _0x5446e1 instanceof _0x1dd2cb;},'NAIYa':function(_0x29b40f,_0x10d7dc){return _0x29b40f(_0x10d7dc);},'VfnIa':function(_0x5c9cc5,_0x553794){return _0x5c9cc5(_0x553794);},'AmNhS':_0x4f5543(-0x5e,-_0x3ed81f._0x654e1f)+_0x163deb(-0x66,-0x98)+'rer\x22)'},_0x4811b7=_0x1e6486[_0x163deb(-_0x3ed81f._0x34c91d,-0x9a)](getStateFilePath,_0x13a14d);function _0x4f5543(_0x3401d8,_0xfdf826){return _0x30ee(_0xfdf826- -0x158,_0x3401d8);}return _0x1e6486[_0x4f5543(-_0x3ed81f._0x4ac972,-_0x3ed81f._0x207b45)](tool,{'description':_0x4f5543(-0x90,-0x94)+_0x163deb(-0x7f,-_0x3ed81f._0xd907ce)+_0x4f5543(-_0x3ed81f._0x4ffdf3,-0xc8)+_0x4f5543(-0x4f,-0x7c)+_0x4f5543(-_0x3ed81f._0x5a65d3,-0x73),'args':{'agent_id':tool[_0x163deb(-_0x3ed81f._0x33c6da,-0xb6)][_0x163deb(-_0x3ed81f._0x1d8629,-0xe5)]()['describe'](_0x4f5543(-_0x3ed81f._0x19ba50,-0x74)),'operation':tool[_0x163deb(-0x87,-_0x3ed81f._0x185883)][_0x4f5543(-0xeb,-0xca)]()[_0x163deb(-_0x3ed81f._0x33cf52,-0xf0)](_0x4f5543(-_0x3ed81f._0xa377b1,-0xd2)+_0x163deb(-0xd2,-0xd1)),'skill':tool['schema']['string']()[_0x4f5543(-0xde,-0xd5)](_0x1e6486['AmNhS'])},async 'execute'(_0x4d9c8f){function _0x272294(_0x50b21c,_0x8dbbe8){return _0x163deb(_0x8dbbe8,_0x50b21c- -0x273);}function _0x1d4e3f(_0x3d5a4f,_0x1eed2b){return _0x163deb(_0x1eed2b,_0x3d5a4f-_0x3a281c._0x153cbc);}try{return await _0x635478[_0x272294(-0x2fa,-0x310)+_0x272294(-_0x177a8e._0x4c27a9,-_0x177a8e._0x12e52d)](_0x4811b7,_0x4d9c8f[_0x1d4e3f(_0x177a8e._0x5e15d5,_0x177a8e._0xa3d517)],_0x4d9c8f[_0x272294(-_0x177a8e._0xdd26ba,-_0x177a8e._0x41d3cd)],_0x4d9c8f[_0x1d4e3f(0x1d5,_0x177a8e._0x384868)]);}catch(_0x1207f4){return _0x272294(-_0x177a8e._0x5c5dc0,-_0x177a8e._0x5731b4)+(_0x1e6486[_0x272294(-0x310,-_0x177a8e._0x18f1cc)](_0x1207f4,Error)?_0x1207f4[_0x272294(-_0x177a8e._0x4870cd,-_0x177a8e._0x16d00d)]:String(_0x1207f4));}}});}function createRegisterAgentTool(_0x7eda77){const _0x30b9d2={_0x42c23b:0x175,_0x3de714:0x157,_0xca38b0:0x162,_0x67c440:0x129,_0x3f8c37:0x1cc,_0x4ab4dc:0x1e9,_0x2a1736:0x1b0,_0x37d50f:0x1ce,_0x2a17fb:0x193,_0xe6e213:0x16a,_0x11ac06:0x14f,_0x5cd4f5:0x12c,_0xf986f6:0x159,_0x8dddc6:0x1aa,_0x4325ec:0xf7,_0x5105da:0x191,_0x3c5e2a:0x184,_0x5a26bb:0x148,_0x2fe95e:0x156,_0x150763:0x171,_0x44b63f:0x17d,_0x54b14e:0x156,_0x45a5f4:0x163},_0x2a133f={_0x47343d:0x23a,_0x5b9aab:0x26f,_0x3ed5cd:0x25d,_0x3bb1b4:0x305,_0x5c8bd4:0x228,_0x317443:0x2c5,_0x361aa0:0x24a},_0x2b852c={_0x44b999:0xe7},_0x4bef67={_0x4e210a:0xe0},_0x589b6b={'asCdO':function(_0x15d453,_0x358e47){return _0x15d453 instanceof _0x358e47;},'kjvsl':function(_0x1686e0,_0x444ac3){return _0x1686e0(_0x444ac3);},'voFiv':function(_0xbd4d56,_0x30705b){return _0xbd4d56(_0x30705b);},'qKsan':_0x47de50(_0x30b9d2._0x42c23b,0x158)+_0x47de50(_0x30b9d2._0x3de714,_0x30b9d2._0xca38b0)};function _0x39dc7b(_0x29ec4a,_0x2ba8d7){return _0x30ee(_0x2ba8d7- -0x212,_0x29ec4a);}function _0x47de50(_0x24443a,_0x38beb7){return _0x30ee(_0x38beb7-_0x4bef67._0x4e210a,_0x24443a);}const _0x5856dc=getStateFilePath(_0x7eda77);return _0x589b6b[_0x39dc7b(-_0x30b9d2._0x67c440,-0x12b)](tool,{'description':_0x47de50(_0x30b9d2._0x3f8c37,0x1c8)+'\x20到\x20specops'+_0x47de50(_0x30b9d2._0x4ab4dc,_0x30b9d2._0x2a1736)+_0x47de50(_0x30b9d2._0x37d50f,0x1ba)+_0x39dc7b(-_0x30b9d2._0x2a17fb,-_0x30b9d2._0xe6e213)+_0x39dc7b(-_0x30b9d2._0x11ac06,-_0x30b9d2._0x5cd4f5),'args':{'agent_id':tool[_0x39dc7b(-_0x30b9d2._0xf986f6,-0x155)][_0x39dc7b(-_0x30b9d2._0x8dddc6,-0x184)]()[_0x47de50(0x126,0x163)](_0x39dc7b(-_0x30b9d2._0x4325ec,-0x12e)),'parent_id':tool['schema'][_0x39dc7b(-_0x30b9d2._0x5105da,-_0x30b9d2._0x3c5e2a)]()[_0x47de50(_0x30b9d2._0x5a26bb,_0x30b9d2._0x2fe95e)]()['describe'](_0x47de50(_0x30b9d2._0x150763,0x1ad)+_0x47de50(0x19c,_0x30b9d2._0x44b63f)),'phase':tool['schema'][_0x39dc7b(-0x18a,-_0x30b9d2._0x3c5e2a)]()[_0x47de50(0x123,_0x30b9d2._0x54b14e)]()[_0x47de50(0x16d,_0x30b9d2._0x45a5f4)](_0x589b6b['qKsan'])},async 'execute'(_0x4ab3a9){function _0x132700(_0x60affc,_0xcc2588){return _0x39dc7b(_0x60affc,_0xcc2588- -_0x2b852c._0x44b999);}function _0x4966a(_0x106261,_0x16ca06){return _0x39dc7b(_0x106261,_0x16ca06- -0x16a);}try{return await _0x635478[_0x132700(-_0x2a133f._0x47343d,-_0x2a133f._0x5b9aab)+_0x132700(-0x27a,-_0x2a133f._0x3ed5cd)](_0x5856dc,_0x4ab3a9[_0x4966a(-_0x2a133f._0x3bb1b4,-0x300)],{'parentId':_0x4ab3a9['parent_id'],'phase':_0x4ab3a9['phase']});}catch(_0x3c5660){return'❌\x20注册\x20Agent'+_0x132700(-_0x2a133f._0x5c8bd4,-0x253)+(_0x589b6b[_0x4966a(-0x287,-0x2bc)](_0x3c5660,Error)?_0x3c5660[_0x4966a(-0x2bd,-_0x2a133f._0x317443)]:_0x589b6b[_0x132700(-0x260,-_0x2a133f._0x361aa0)](String,_0x3c5660));}}});}function createDeregisterAgentTool(_0x569ee9){const _0x138bdc={_0x93f4e4:0xa2,_0x517c8b:0xe3,_0x4856ef:0xa7,_0x1a0e42:0x93,_0x21e1d0:0x9b,_0x190ddf:0xa3,_0x4247f9:0xdd,_0xb1cf20:0xd9,_0x44e89f:0x87,_0x1777db:0x95,_0x54ed9c:0x5b},_0xf7f221={_0x11eeb9:0x1d9,_0x195bd4:0x1f8,_0x46ff1f:0x1b1,_0x30cd02:0x1d4,_0xbdc81c:0x1a9,_0x5090b1:0x18b,_0x4d8172:0x19c},_0x58c9f9={_0x2f3496:0x28},_0x36d8ef={_0x10efbf:0x156},_0x24bc46={'biLbC':_0x339c1a(0xd4,0xb5),'JCtWV':function(_0x48f178,_0x953cbe){return _0x48f178 instanceof _0x953cbe;},'wzPxs':function(_0x4be581,_0x12054d){return _0x4be581(_0x12054d);},'IYPhK':function(_0x52f1e4,_0x5e3e48){return _0x52f1e4(_0x5e3e48);},'eGrfQ':_0x339c1a(_0x138bdc._0x93f4e4,0xa2)+_0x339c1a(_0x138bdc._0x517c8b,_0x138bdc._0x4856ef)},_0x230f40=_0x24bc46[_0x339c1a(0x88,_0x138bdc._0x1a0e42)](getStateFilePath,_0x569ee9);function _0x34b3e9(_0x4ffc25,_0xc6e60c){return _0x30ee(_0x4ffc25- -_0x36d8ef._0x10efbf,_0xc6e60c);}function _0x339c1a(_0x8e7140,_0x2925bc){return _0x30ee(_0x2925bc- -_0x58c9f9._0x2f3496,_0x8e7140);}return _0x24bc46[_0x34b3e9(-0xaf,-_0x138bdc._0x21e1d0)](tool,{'description':_0x34b3e9(-0x97,-0xbf)+_0x34b3e9(-0x67,-0x82)+_0x339c1a(0x69,0xa1)+_0x34b3e9(-0xb6,-_0x138bdc._0x190ddf)+_0x34b3e9(-_0x138bdc._0x4247f9,-_0x138bdc._0xb1cf20)+_0x34b3e9(-0x8a,-_0x138bdc._0x44e89f),'args':{'agent_id':tool[_0x339c1a(0xca,_0x138bdc._0x1777db)][_0x339c1a(_0x138bdc._0x1a0e42,0x66)]()[_0x339c1a(0x3f,_0x138bdc._0x54ed9c)](_0x24bc46['eGrfQ'])},async 'execute'(_0x39343d){function _0x4edc78(_0x9e4147,_0x3d609d){return _0x34b3e9(_0x9e4147-0x2b3,_0x3d609d);}function _0x2b9f60(_0x876577,_0x5369bf){return _0x34b3e9(_0x5369bf- -0x124,_0x876577);}try{return await _0x635478[_0x4edc78(0x21b,0x21f)+_0x2b9f60(-0x1b3,-0x19b)](_0x230f40,_0x39343d[_0x4edc78(_0xf7f221._0x11eeb9,0x1de)]);}catch(_0x2c56e4){return _0x4edc78(0x228,_0xf7f221._0x195bd4)===_0x24bc46[_0x2b9f60(-0x166,-0x199)]?_0x2b9f60(-_0xf7f221._0x46ff1f,-0x1a9)+_0x2b9f60(-0x20d,-_0xf7f221._0x30cd02)+(_0x51f15d instanceof _0x182deb?_0x1aa1c4[_0x2b9f60(-0x18d,-0x1c3)]:_0x532d22(_0x829a22)):_0x2b9f60(-0x1b0,-_0xf7f221._0xbdc81c)+'\x20失败:\x20'+(_0x24bc46[_0x2b9f60(-_0xf7f221._0x5090b1,-_0xf7f221._0x4d8172)](_0x2c56e4,Error)?_0x2c56e4['message']:String(_0x2c56e4));}}});}function createProgressTool(_0x3caaed){const _0x7282d6={_0x1f0d97:0xee,_0x50c765:0xef,_0x36279e:0x12d,_0x1839d2:0x108,_0x19f493:0xe0,_0x168a82:0x115,_0x488008:0xf3},_0x5eea77={_0xbe2451:0x20f},_0x20eb70={_0x5982f4:0x191};function _0xe411f1(_0x3c56ff,_0x43d195){return _0x30ee(_0x3c56ff- -_0x20eb70._0x5982f4,_0x43d195);}function _0x396df9(_0x4d9855,_0x58cd91){return _0x30ee(_0x58cd91- -0x18f,_0x4d9855);}const _0x4d6b09={'HEEge':function(_0x353229,_0x556b8a){return _0x353229(_0x556b8a);},'SOOJy':function(_0x5d7113,_0x443ac7){return _0x5d7113(_0x443ac7);}},_0x2f32e0=_0x4d6b09[_0xe411f1(-_0x7282d6._0x1f0d97,-_0x7282d6._0x50c765)](getStateFilePath,_0x3caaed);return _0x4d6b09[_0xe411f1(-0xf9,-_0x7282d6._0x36279e)](tool,{'description':'显示\x20specops'+_0x396df9(-0xe7,-_0x7282d6._0x1839d2)+_0xe411f1(-_0x7282d6._0x19f493,-0xd2)+_0x396df9(-_0x7282d6._0x168a82,-_0x7282d6._0x1f0d97)+_0x396df9(-_0x7282d6._0x488008,-0x10f),'args':{},async 'execute'(){function _0x392160(_0x739852,_0x327a40){return _0xe411f1(_0x327a40-0x331,_0x739852);}try{return await _0x635478['showProgre'+'ss'](_0x2f32e0);}catch(_0x5d5177){return _0x392160(_0x5eea77._0xbe2451,0x24a)+(_0x5d5177 instanceof Error?_0x5d5177['message']:String(_0x5d5177));}}});}function createQuickTool(_0x2a7608){const _0x529003={_0x4e432b:0x1b4,_0x3ad286:0x1ec,_0x1c9a94:0x1c8,_0x597e97:0x1ee,_0x3ac757:0x221,_0x27d5c5:0x163,_0x3addc4:0x18d},_0x128fc8={_0x416e09:0xd2,_0x326ae2:0x109,_0x1c4129:0xe2,_0x1b955b:0xbc},_0x352eb9={_0x1f2024:0x52},_0x42c9e5={_0xdc3085:0x1e6},_0x3a8c80={_0x550eea:0x278},_0x3040cd={'VahPj':function(_0x4638b1,_0x29d304){return _0x4638b1(_0x29d304);},'viEmm':function(_0x7e87ae,_0x28a26b){return _0x7e87ae(_0x28a26b);}};function _0xb02f9c(_0x3906b1,_0x431874){return _0x30ee(_0x3906b1- -_0x3a8c80._0x550eea,_0x431874);}function _0x5797fd(_0x4cf632,_0x42682f){return _0x30ee(_0x4cf632- -_0x42c9e5._0xdc3085,_0x42682f);}const _0x2a2779=getStateFilePath(_0x2a7608);return _0x3040cd[_0xb02f9c(-0x1da,-_0x529003._0x4e432b)](tool,{'description':_0xb02f9c(-_0x529003._0x3ad286,-0x1b2)+'整\x20Pipeline'+_0xb02f9c(-0x201,-0x236)+_0xb02f9c(-_0x529003._0x1c9a94,-_0x529003._0x597e97)+'任务。','args':{'task':tool['schema'][_0xb02f9c(-0x1ea,-_0x529003._0x3ac757)]()[_0x5797fd(-_0x529003._0x27d5c5,-_0x529003._0x3addc4)]('任务描述')},async 'execute'(_0x151b42){const _0x14c17c={_0x4ede47:0x54},_0x4fd04b={_0x3d70fd:0x12f},_0x4d5aa4={'WCJNB':function(_0x1957cd,_0x43c8c8){return _0x1957cd instanceof _0x43c8c8;},'WPlVI':function(_0x2a4350,_0xd9f49c){function _0x4dacb6(_0x278bec,_0x14b15a){return _0x30ee(_0x14b15a- -_0x4fd04b._0x3d70fd,_0x278bec);}return _0x3040cd[_0x4dacb6(-0x87,-0xb1)](_0x2a4350,_0xd9f49c);}};function _0x41bd16(_0x298be2,_0x300b8a){return _0x5797fd(_0x298be2-_0x14c17c._0x4ede47,_0x300b8a);}function _0x48f344(_0x3ffe47,_0x4876d0){return _0x5797fd(_0x3ffe47-_0x352eb9._0x1f2024,_0x4876d0);}try{return'UFzRZ'!==_0x41bd16(-0xba,-_0x128fc8._0x416e09)?await _0x635478[_0x48f344(-0xda,-0xd6)](_0x2a2779,_0x151b42[_0x48f344(-_0x128fc8._0x326ae2,-0x10a)]):_0x48f344(-_0x128fc8._0x1c4129,-0x105)+(_0x4d5aa4['WCJNB'](_0x10d13d,_0x5b468d)?_0x243f0f[_0x48f344(-0xdd,-_0x128fc8._0x1b955b)]:_0x4d5aa4[_0x41bd16(-0x115,-0x128)](_0x19d548,_0x1a467f));}catch(_0x2058fa){return _0x48f344(-0xb2,-0x9f)+(_0x2058fa instanceof Error?_0x2058fa[_0x48f344(-0xdd,-0xe4)]:String(_0x2058fa));}}});}const SpecOpsPlugin=async _0x446f9f=>{const _0x17d01b={_0x4af5e9:0x2ce,_0x47025e:0x29d,_0x43a4f4:0x17f,_0x530413:0x17b,_0x114ce4:0x165},_0x4b20e6={_0x365238:0x20c},_0x5cd98d={'IEbjH':function(_0x3754fb,_0x1efb74){return _0x3754fb(_0x1efb74);},'GNxGw':function(_0x835fe,_0x336fe6){return _0x835fe(_0x336fe6);},'qYgiX':function(_0x4eca76,_0x382f05){return _0x4eca76(_0x382f05);},'koyNT':function(_0x1a7b89,_0x3e0c6f){return _0x1a7b89(_0x3e0c6f);}};function _0xdd9fb1(_0x52cce8,_0x4fa0e1){return _0x30ee(_0x4fa0e1- -_0x4b20e6._0x365238,_0x52cce8);}const _0x4fbbc7=_0x446f9f[_0xdd9fb1(-0x1c6,-0x18b)];function _0x5c71ed(_0x2791ca,_0x55c5a9){return _0x30ee(_0x2791ca-0x216,_0x55c5a9);}return{'name':_0x5c71ed(_0x17d01b._0x4af5e9,_0x17d01b._0x47025e),'tool':{'specops_status':_0x5cd98d[_0xdd9fb1(-_0x17d01b._0x43a4f4,-_0x17d01b._0x530413)](createStatusTool,_0x4fbbc7),'specops_advance':createAdvanceTool(_0x4fbbc7),'specops_new_project':_0x5cd98d[_0xdd9fb1(-0x199,-_0x17d01b._0x530413)](createNewProjectTool,_0x4fbbc7),'specops_update_operation':createUpdateOperationTool(_0x4fbbc7),'specops_register_agent':_0x5cd98d['GNxGw'](createRegisterAgentTool,_0x4fbbc7),'specops_deregister_agent':createDeregisterAgentTool(_0x4fbbc7),'specops_progress':_0x5cd98d[_0xdd9fb1(-_0x17d01b._0x114ce4,-0x13a)](createProgressTool,_0x4fbbc7),'specops_quick':createQuickTool(_0x4fbbc7),'specops_analyze_requirements':_0x5cd98d['koyNT'](createAnalyzeRequirementsTool,_0x4fbbc7)},'event':async _0x3ca45f=>{}};};export default SpecOpsPlugin;
1
+ function _0x5c89(){const _0x59f130=['CgHHC2u','mtiZmdK1uujqtwXQ','6kAb5RoO6zsa55QeiefNzw50','ioMyTUAUTEoaGUwWHUAmH+wUMIbbzW','t3DvqwG','s1fns3G','y2HPBgrjzhpJGii','6k+M5Oof6kgO5Qc844cc','4P2mioIoT+wpLUEkTUAaGEwKSEI0PtOG','DgzVv1e','5B2t5yMn5l2/55sO55Qe5BEL5yw3l+AkGoIdVq','4P2mioAoQoI/M+MyTUAUTEwKSEI0PtOG','5zcn56EW77Yi5AAciMv4CgXV','5B2t5yMn5Pon5l2C5O+p6l+W77Yi5AAciUwiHG','ywDLBNrFAwq','AgH2v0G','ChmG6Ag555UU44cc5yID5AEl5yYwia','wgP5zey','4P2mioIoT+wpLUI/M+w6PUwKSEI0PtOG','uLftrvi','ieLe','55Qe54Q25Ocb6kgO5Qc844cc','ioAZQowgJoIhQUw3SEEAHoEkTUAaGEoaGG','5lUoihnWzwnVChmG','BMv3uhjVAMvJDa','yMnZA0e','sKP0CwO','ioMHUEEBRUIVPUE7HUI/M+w6PUoaGGRLJiu','5yIB5BU65PAW55QeihnWzwnV','BNqG6k6W5B2v77Ym5zcm5PE25PU05PAW','qwDLBNq','tKHhu2i','sK9Ny2m','zgvZy3jPyMu','C3bLy29WCW','C3rHDguUANnVBG','4P2mioAZQoMuGcbbz2vUDa','5lU75yQH5O+p6l+W','B3b0Aw9UywW','qMHSq00','DcdMRApLNkJLGzRKU4dKUyJJGii','tLvxwhq','qMLVr1y','mte5tw5nvgDh','zw5077Yi5OIw56YS5lIa5lIQ5PYQ5A6m','C2T2A2q','5RoO5yAm5PAW55QeiefNzw50','DgfZAW','zgvYzwDPC3rLCG','5PE277Ym5Q+p5lIQigfNzw50','BwvZC2fNzq','vLP3ANG','zgLYzwn0B3j5','lNnWzwnVChm','C2DcwLm','CMvNAxn0zxjbzW','EwXvDLe','iowiScbZCgvJB3bZ','6i635y+wihnWzwnVChm','mtqYndmYogXHrMrxBW','Dw1qu0G','DKDuDK0','ChjVAMvJDf9Uyq','54Q25Ocb57o757UF5RoO6zsaiefNzq','wMzKv1O','ioEAHow9K+wjJEAtJEs9NoApJ+I/SowsJos9VW','5yIB5BU65yID5AEliefNzw50','5PU05PAW5OYh5A6AiefNzw50','r29VvM4','zw50','cUMaGUEuQos6JUwWJ+wEI+oaGEAyJUEHRUEAHa','CgfYzw50x2LK','DKfArKq','ioMHUEEBRUw9K+wjJEEkTUAaGEoaGGRMMl4','nZy0otmWveLKCKnV','vfrWDwi','m3vVCgXruq','56s66Ag555UU5zcn56EW44cb5B2t5yMn6zI25Q61','DevSwM0','C2nOzw1H','ohjXDgXuuq','5Pw0ifbPCgvSAw5L','mJGYnZiZm1vJCxjmzq','D1PnEg8','ieLe77Yi5lIn5OYh5A6A5yIz6iEQ5yQO','A2jdshm','mZeWEhrZBuXy','77Ym55U05O6L6l+B5ywL5OMN6kgm6zI25Q6144cc','Exz4AxK','5O6O6l+BihnWzwnVChm','s2rvyNq','v1P0zeC','C2HVD1bYB2DYzq','5lQo5A6E5PE26l+96lIQiefNzw4','qwDLBNqGsuq','C3rYAw5N','zgXL77Yj','5y+rigfNzw50ioE8LUAoKG','zfnmAhy','A2LqA0W','ELLYywq','otG0mZLyDhHqthG','5yID5AEl6zI25Q6177Yi6BUy6k6KoIbP','iowKSEI0PtOG','ioEkTUAaGEEZU+E7N+oaGGRNLkJKUO7LUBy','CezQAe4','mtCXndyYDLDbCvLd','mJa3mtu2ugP1v3vk','z25mqM4','Dgf0zs5QC29U77Ym','zxrLza','6kEe5yIsiokgKIdMIAFOOyWG4OAsia','C2TPBgW','77Yi5y+V6ycj77Yj','5yIg5BId5zU+44cbqwDLBNqG','55sO55Qe5BEL5yw3l+AkGoIdVEoaGGRNLkG','sxv3ufm','5PI+56s6ihnWzwnVChm','lNnWzwnVChmVCW','5P6q6zYa5Rgc5PAh5QgJiU+8Iq','5Q615BQp5yIxoIdORQJORROG4OAsia','6Ag555UU5zcn56EW','5OIq55QeiefNzw5077Yj5O6O'];_0x5c89=function(){return _0x59f130;};return _0x5c89();}(function(_0x2bb605,_0x405bc1){const _0x4d1915={_0xa28e55:0x39,_0xf7324c:0x4a,_0x433ccc:0x172,_0xcb6d7:0x163,_0x1b1f24:0x176,_0x3ebc43:0x6b,_0x228778:0x189,_0x304f3c:0x190,_0x4e69de:0x8a,_0x1a9f23:0xb0,_0x43b262:0x7a,_0x2bf393:0x5f,_0x1df1a8:0x63,_0x5d4e54:0x50,_0x168449:0x1a},_0x3b81d2={_0x41f35c:0x231},_0x4682ec=_0x2bb605();function _0x22ec2e(_0x27488e,_0x5ba9cd){return _0x1a99(_0x27488e- -_0x3b81d2._0x41f35c,_0x5ba9cd);}function _0x4e67ca(_0x4ea1fc,_0x17e476){return _0x1a99(_0x17e476- -0x56,_0x4ea1fc);}while(!![]){try{const _0x5af56a=parseInt(_0x22ec2e(-_0x4d1915._0xa28e55,-0x53))/(-0x3*0x10c+-0x1d60+-0x14d*-0x19)+parseInt(_0x22ec2e(-_0x4d1915._0xf7324c,-0x37))/(0xc1*0x33+0x1f87+-0x45f8)*(parseInt(_0x4e67ca(0x143,_0x4d1915._0x433ccc))/(0x1e9*0x6+0x202+-0xd75))+parseInt(_0x4e67ca(_0x4d1915._0xcb6d7,_0x4d1915._0x1b1f24))/(-0xb*-0x2b9+-0x5c*0x15+0xb*-0x209)*(parseInt(_0x22ec2e(-_0x4d1915._0x3ebc43,-0x43))/(0xed8+0x26*-0x10+-0xc73))+-parseInt(_0x4e67ca(_0x4d1915._0x228778,_0x4d1915._0x304f3c))/(0x20d+-0x1af*0xb+0x2*0x83f)*(-parseInt(_0x22ec2e(-_0x4d1915._0x4e69de,-_0x4d1915._0x1a9f23))/(-0x17aa*0x1+0xb75+-0x6*-0x20a))+-parseInt(_0x22ec2e(-_0x4d1915._0x43b262,-_0x4d1915._0x2bf393))/(0x1957+0x2615+-0x3f64*0x1)+-parseInt(_0x22ec2e(-_0x4d1915._0x1df1a8,-0x62))/(-0x2422+-0x203*-0x6+0x1819)+-parseInt(_0x4e67ca(0x165,0x17c))/(0xaf4+0x2206+-0x2cf0)*(parseInt(_0x22ec2e(-_0x4d1915._0x5d4e54,-_0x4d1915._0x168449))/(0x132c+0x20af+-0x33d0));if(_0x5af56a===_0x405bc1)break;else _0x4682ec['push'](_0x4682ec['shift']());}catch(_0x26651a){_0x4682ec['push'](_0x4682ec['shift']());}}}(_0x5c89,-0x5c6e7+-0x14a2b*-0x1+0x1*0x848d5));import{tool}from'@opencode-ai/plugin';import{resolve}from'node:path';import*as _0x1a8608 from'./plugin-engine.js';import{createAnalyzeRequirementsTool}from'./requirement-analysis/tools/analyze-requirements.js';function getStateFilePath(_0xbab13c){const _0x3c1cc5={_0x199c82:0x137,_0x5586d9:0x450,_0x554d85:0x47c,_0x22e21c:0x41e},_0x550552={_0x56d356:0x94},_0x31537d={_0x357aa7:0x27f};function _0x887202(_0x27f8c0,_0x3ec720){return _0x1a99(_0x27f8c0-_0x31537d._0x357aa7,_0x3ec720);}const _0x2d605f={'ngEQv':function(_0xbb0dac,_0x71f553,_0x76fbbe,_0x354044){return _0xbb0dac(_0x71f553,_0x76fbbe,_0x354044);},'kbCHs':_0x2da1df(0x11d,_0x3c1cc5._0x199c82)};function _0x2da1df(_0xbee673,_0x1ed59c){return _0x1a99(_0xbee673- -_0x550552._0x56d356,_0x1ed59c);}return _0x2d605f['ngEQv'](resolve,_0xbab13c,_0x2d605f[_0x887202(_0x3c1cc5._0x5586d9,_0x3c1cc5._0x554d85)],_0x887202(_0x3c1cc5._0x22e21c,0x428));}function createStatusTool(_0x4ae716){const _0x34db14={_0x12f383:0x137,_0x2c3a37:0x52a,_0x41d521:0x563,_0xbeb5a9:0x572,_0x35543f:0x15a},_0x3bcef8={_0x3fb01f:0x612},_0x22e4bd={_0x4aa671:0x3de},_0x19a471={'NUWXt':function(_0xd4fc2c,_0x38b2a0){return _0xd4fc2c instanceof _0x38b2a0;},'BioGV':function(_0x106bf9,_0x5a7563){return _0x106bf9(_0x5a7563);}},_0x5807d4=_0x19a471[_0x2d8e1f(0x13b,_0x34db14._0x12f383)](getStateFilePath,_0x4ae716);function _0x28c0c2(_0x49df17,_0x575902){return _0x1a99(_0x575902-0x3ad,_0x49df17);}function _0x2d8e1f(_0x1b26ba,_0x45e2c3){return _0x1a99(_0x45e2c3- -0x6f,_0x1b26ba);}return tool({'description':_0x28c0c2(_0x34db14._0x2c3a37,_0x34db14._0x41d521)+_0x28c0c2(0x573,_0x34db14._0xbeb5a9)+_0x2d8e1f(0x146,_0x34db14._0x35543f)+'、所有\x20Agent\x20'+_0x28c0c2(0x5c4,0x5b9),'args':{},async 'execute'(){function _0x5c53ab(_0x78d80a,_0x50b713){return _0x28c0c2(_0x50b713,_0x78d80a- -_0x22e4bd._0x4aa671);}function _0x291230(_0x3d4472,_0x2e6fa9){return _0x28c0c2(_0x2e6fa9,_0x3d4472- -_0x3bcef8._0x3fb01f);}try{return await _0x1a8608['getStatus'](_0x5807d4);}catch(_0x4d7cc3){return _0x5c53ab(0x1ce,0x1ab)+(_0x19a471[_0x291230(-0xc0,-0xb0)](_0x4d7cc3,Error)?_0x4d7cc3['message']:String(_0x4d7cc3));}}});}function createAdvanceTool(_0x4c898c){const _0x19767b={_0xf779e2:0x486,_0x491daf:0x310,_0x5cefbb:0x33d,_0xb30211:0x474,_0x5130bc:0x339,_0x1f3bc2:0x4aa,_0x9c5fa3:0x4a1,_0x2eb0fc:0x49d,_0x50a9ac:0x307,_0x208aac:0x458,_0x2320a0:0x34b},_0x333795={_0x4f0245:0x312,_0x48bea7:0x371,_0x3d16df:0x352,_0x209d3a:0x369,_0x4ea473:0x33e,_0x554fd4:0x311,_0x13ebe7:0x30b,_0x2ef887:0x2ff},_0x4e8d04={_0x22fd4b:0x2b6},_0x3b044a={_0x8157b8:0x143};function _0xef3c64(_0x5c6936,_0xedd00d){return _0x1a99(_0x5c6936-_0x3b044a._0x8157b8,_0xedd00d);}const _0x55cf48={'kiPkL':function(_0x5efa7b,_0x3b2f24){return _0x5efa7b instanceof _0x3b2f24;},'lbUmp':function(_0x191901,_0x27f96c){return _0x191901(_0x27f96c);},'XjydF':'要推进的\x20Agent'+_0xd6f11a(_0x19767b._0xf779e2,0x449)+'选择第一个未完成的)'},_0x34d6aa=getStateFilePath(_0x4c898c);function _0xd6f11a(_0x2d3303,_0x345cc7){return _0x1a99(_0x2d3303-_0x4e8d04._0x22fd4b,_0x345cc7);}return tool({'description':_0xef3c64(0x318,_0x19767b._0x491daf)+_0xef3c64(_0x19767b._0x5cefbb,0x35f)+_0xd6f11a(0x45e,_0x19767b._0xb30211)+_0xef3c64(_0x19767b._0x5130bc,0x348)+'进到下一个阶段。\x0a阶'+_0xd6f11a(_0x19767b._0x1f3bc2,0x481)+_0xd6f11a(_0x19767b._0x9c5fa3,_0x19767b._0x2eb0fc)+'验证\x20→\x20compl'+_0xef3c64(0x32d,_0x19767b._0x50a9ac),'args':{'agent_id':tool['schema']['string']()[_0xd6f11a(_0x19767b._0x208aac,0x462)]()['describe'](_0x55cf48[_0xef3c64(_0x19767b._0x2320a0,0x314)])},async 'execute'(_0x1f164e){function _0xbb358a(_0x36d8df,_0x5ac638){return _0xd6f11a(_0x5ac638- -0x156,_0x36d8df);}function _0x388f52(_0x578dab,_0x523756){return _0xd6f11a(_0x523756- -0x47c,_0x578dab);}const _0x18b98={'DuLhL':function(_0x389790,_0x157a4f,_0x1c7420,_0x3b9291){return _0x389790(_0x157a4f,_0x1c7420,_0x3b9291);}};if(_0xbb358a(0x2fc,_0x333795._0x4f0245)===_0x388f52(-0x3b,-0x14))try{return await _0x1a8608['advancePha'+'se'](_0x34d6aa,_0x1f164e['agent_id']);}catch(_0x55b953){return _0xbb358a(0x368,_0x333795._0x48bea7)!=='kjoLV'?_0xbb358a(_0x333795._0x3d16df,0x362)+(_0x55b953 instanceof Error?_0x55b953['message']:String(_0x55b953)):_0xbb358a(0x334,_0x333795._0x209d3a)+(_0x55cf48[_0x388f52(0x2a,0x19)](_0x23b512,_0x27841d)?_0x3f3ef2[_0xbb358a(_0x333795._0x4ea473,0x30e)]:_0x55cf48['lbUmp'](_0x435868,_0x138ee9));}else return _0x18b98['DuLhL'](_0x4c068c,_0x2cd4e5,_0xbb358a(0x30c,_0x333795._0x554fd4),_0xbb358a(_0x333795._0x13ebe7,_0x333795._0x2ef887));}});}function createNewProjectTool(_0x2c1da6){const _0x47521b={_0x38172e:0x41a,_0x33e272:0x445,_0x4c77b3:0x292,_0x53cff1:0x29d,_0x3b4ed0:0x270,_0x2f6e9e:0x2aa,_0x4bc6f7:0x3fd},_0x16590a={_0x72f231:0x38b,_0x2dc396:0x2c4,_0x4ec2c4:0x2f9},_0x280a7c={'YGBKH':function(_0x20427d,_0x4fbac9){return _0x20427d instanceof _0x4fbac9;},'tElZm':function(_0x1ffe6f,_0x4f9ef0){return _0x1ffe6f(_0x4f9ef0);}};function _0x37b79d(_0x2e562b,_0x5324cf){return _0x1a99(_0x2e562b-0x250,_0x5324cf);}const _0x24befd=_0x280a7c[_0x37b79d(_0x47521b._0x38172e,_0x47521b._0x33e272)](getStateFilePath,_0x2c1da6);function _0x5e970d(_0x15fdb9,_0x3960ae){return _0x1a99(_0x3960ae-0xdf,_0x15fdb9);}return _0x280a7c['tElZm'](tool,{'description':_0x5e970d(0x2fb,0x2f2)+_0x37b79d(0x457,0x41e)+_0x5e970d(0x2df,0x2d1)+_0x5e970d(_0x47521b._0x4c77b3,0x2c8)+_0x5e970d(0x2c2,_0x47521b._0x53cff1)+'。','args':{'project_name':tool[_0x5e970d(_0x47521b._0x3b4ed0,_0x47521b._0x2f6e9e)][_0x37b79d(0x42b,_0x47521b._0x4bc6f7)]()['describe'](_0x37b79d(0x445,0x44d))},async 'execute'(_0x716a33){function _0x59c27b(_0x44a932,_0x46b090){return _0x37b79d(_0x44a932- -0x111,_0x46b090);}function _0x934b39(_0x4725e8,_0xec08d2){return _0x5e970d(_0x4725e8,_0xec08d2-0x60);}try{return await _0x1a8608[_0x59c27b(0x34e,_0x16590a._0x72f231)](_0x24befd,_0x716a33[_0x934b39(_0x16590a._0x2dc396,_0x16590a._0x4ec2c4)+'me']);}catch(_0x698a09){return'❌\x20创建项目失败:\x20'+(_0x280a7c['YGBKH'](_0x698a09,Error)?_0x698a09[_0x59c27b(0x2ed,0x2db)]:String(_0x698a09));}}});}function createUpdateOperationTool(_0x4bd6de){const _0x16ba71={_0x3bf929:0x511,_0x5b6510:0x56e,_0x103f34:0x52a,_0xbad7a9:0x1cc,_0x2d552a:0x188,_0x208a6c:0x1af,_0x36447d:0x507,_0x17df9d:0x540,_0x525aab:0x1e2,_0x5f480c:0x523,_0x470183:0x197,_0x50c50f:0x1ce,_0x67541a:0x1f3,_0x5e57bb:0x190,_0x2d36f0:0x1e5,_0x164f90:0x536,_0x42efad:0x504},_0x3d369b={_0x1882a0:0x173,_0x202ff2:0x80,_0x1e372b:0x4f,_0x71da7c:0x67,_0x140ed7:0x3a,_0x4aa958:0x1d7,_0xac9837:0x19a,_0x2821ac:0x76,_0x5f25a8:0x48,_0x37ed2b:0x29,_0x15a651:0xd,_0x2445d9:0x1b,_0x9b8b75:0x1ed,_0x57f154:0x1c7,_0x300232:0x92,_0x2257a8:0x20d},_0x3f347e={_0x846e39:0x34a},_0x212821={'bcskA':'wRXvy','ZfdWZ':function(_0x589fd6,_0x13085c){return _0x589fd6(_0x13085c);},'uvOxL':_0x218072(0x1cd,0x1f7),'dSLhv':_0x252607(0x54e,_0x16ba71._0x3bf929)+_0x252607(0x53d,_0x16ba71._0x5b6510),'hhvWH':_0x252607(0x54b,_0x16ba71._0x103f34)+_0x218072(0x1f6,_0x16ba71._0xbad7a9)+'rer\x22)'};function _0x218072(_0x560d4e,_0x1b6eed){return _0x1a99(_0x560d4e- -0xd,_0x1b6eed);}const _0x2bfdba=_0x212821[_0x218072(0x1af,_0x16ba71._0x2d552a)](getStateFilePath,_0x4bd6de);function _0x252607(_0x2a0dd7,_0x5f161b){return _0x1a99(_0x2a0dd7-_0x3f347e._0x846e39,_0x5f161b);}return tool({'description':_0x218072(0x1b2,_0x16ba71._0x208a6c)+_0x252607(_0x16ba71._0x36447d,_0x16ba71._0x17df9d)+_0x218072(_0x16ba71._0x525aab,0x1d5)+_0x252607(_0x16ba71._0x5f480c,0x518)+_0x218072(_0x16ba71._0x470183,0x1ac),'args':{'agent_id':tool['schema'][_0x218072(0x1ce,_0x16ba71._0x50c50f)]()[_0x218072(0x190,0x194)](_0x212821['uvOxL']),'operation':tool[_0x218072(0x1be,_0x16ba71._0x67541a)][_0x218072(0x1ce,0x1ec)]()[_0x218072(_0x16ba71._0x5e57bb,0x190)](_0x212821[_0x218072(0x1d1,_0x16ba71._0x2d36f0)]),'skill':tool[_0x252607(0x515,_0x16ba71._0x164f90)][_0x252607(0x525,_0x16ba71._0x42efad)]()[_0x218072(_0x16ba71._0x5e57bb,0x166)](_0x212821[_0x218072(0x1f9,0x212)])},async 'execute'(_0x1ee961){function _0x1ac6a6(_0x48d6ce,_0x446ab0){return _0x218072(_0x446ab0- -0x39d,_0x48d6ce);}const _0x31ecc2={};function _0x1dab8f(_0x1c8d33,_0x109553){return _0x218072(_0x1c8d33- -0x178,_0x109553);}_0x31ecc2[_0x1ac6a6(-_0x3d369b._0x1882a0,-0x1ae)]=function(_0x24585a,_0x25b384){return _0x24585a instanceof _0x25b384;};const _0x307f94=_0x31ecc2;try{return await _0x1a8608['updateOper'+'ation'](_0x2bfdba,_0x1ee961[_0x1dab8f(_0x3d369b._0x202ff2,_0x3d369b._0x1e372b)],_0x1ee961['operation'],_0x1ee961[_0x1dab8f(_0x3d369b._0x71da7c,_0x3d369b._0x140ed7)]);}catch(_0x332362){return _0x212821[_0x1ac6a6(-_0x3d369b._0x4aa958,-_0x3d369b._0xac9837)]!==_0x1dab8f(_0x3d369b._0x2821ac,_0x3d369b._0x5f25a8)?'❌\x20更新操作失败:\x20'+(_0x332362 instanceof Error?_0x332362[_0x1dab8f(_0x3d369b._0x37ed2b,-_0x3d369b._0x15a651)]:String(_0x332362)):_0x1dab8f(_0x3d369b._0x2445d9,0xf)+_0x1ac6a6(-_0x3d369b._0x9b8b75,-_0x3d369b._0x57f154)+(_0x307f94[_0x1dab8f(0x77,_0x3d369b._0x300232)](_0x359039,_0x380b84)?_0x4c4c71[_0x1ac6a6(-_0x3d369b._0x2257a8,-0x1fc)]:_0x38cd7f(_0x509793));}}});}function createRegisterAgentTool(_0x7b25ce){const _0x2e790e={_0x125829:0x1c2,_0x1ef92f:0xcf,_0x478ecb:0xf7,_0x3da914:0xd2,_0x2aede6:0x1aa,_0x2529c4:0x184,_0x3e71c5:0xb8,_0x2fa061:0xc2,_0x4cf014:0x142,_0x5dc319:0x174,_0x256ab4:0x96,_0x2d7f14:0xc7,_0x2561c2:0x18d,_0x6521af:0xf1,_0x4ed7d0:0xaa},_0x5ccca3={_0x3db355:0x340,_0x109738:0x37a,_0x151796:0x3f3,_0x3a6893:0x3e4,_0x37ad82:0x375},_0x358360={_0x578efe:0x57};function _0x39f7fa(_0x4cd9a0,_0x1564eb){return _0x1a99(_0x1564eb- -_0x358360._0x578efe,_0x4cd9a0);}function _0x2ea6e2(_0x48fe73,_0x3eb6b8){return _0x1a99(_0x3eb6b8- -0xdb,_0x48fe73);}const _0x175757={'RQSER':function(_0x1df656,_0xfa7349){return _0x1df656(_0xfa7349);},'zYrad':'父\x20Agent\x20ID'+_0x39f7fa(_0x2e790e._0x125829,0x196),'gkwwh':_0x2ea6e2(0x125,0x107)+_0x39f7fa(0x156,0x185)},_0x34adaa=getStateFilePath(_0x7b25ce);return _0x175757[_0x39f7fa(0x1cf,0x1b3)](tool,{'description':_0x2ea6e2(0xec,_0x2e790e._0x1ef92f)+_0x2ea6e2(_0x2e790e._0x478ecb,0xda)+_0x39f7fa(0x1ad,0x18d)+_0x2ea6e2(0x11d,0x102)+_0x2ea6e2(0xf9,_0x2e790e._0x3da914)+_0x2ea6e2(0xff,0x132),'args':{'agent_id':tool[_0x39f7fa(_0x2e790e._0x2aede6,0x174)][_0x39f7fa(0x1ba,_0x2e790e._0x2529c4)]()[_0x2ea6e2(_0x2e790e._0x3e71c5,_0x2e790e._0x2fa061)](_0x39f7fa(0x155,0x183)),'parent_id':tool[_0x39f7fa(_0x2e790e._0x4cf014,_0x2e790e._0x5dc319)][_0x39f7fa(0x1bc,0x184)]()[_0x2ea6e2(_0x2e790e._0x256ab4,_0x2e790e._0x2d7f14)]()['describe'](_0x175757[_0x2ea6e2(0xfb,0x105)]),'phase':tool[_0x39f7fa(0x196,_0x2e790e._0x5dc319)][_0x39f7fa(_0x2e790e._0x2561c2,0x184)]()[_0x2ea6e2(_0x2e790e._0x6521af,0xc7)]()[_0x2ea6e2(_0x2e790e._0x4ed7d0,0xc2)](_0x175757['gkwwh'])},async 'execute'(_0x159307){const _0x3b4554={_0xfede4d:0x21e};function _0x1a4116(_0x389902,_0xe81c96){return _0x39f7fa(_0x389902,_0xe81c96-_0x3b4554._0xfede4d);}function _0x40540e(_0x359b1c,_0x35ff03){return _0x2ea6e2(_0x359b1c,_0x35ff03- -0x26);}try{return await _0x1a8608[_0x1a4116(_0x5ccca3._0x3db355,_0x5ccca3._0x109738)+_0x40540e(0xf9,0xc0)](_0x34adaa,_0x159307[_0x1a4116(_0x5ccca3._0x151796,0x3cc)],{'parentId':_0x159307[_0x40540e(0xe1,0xc2)],'phase':_0x159307[_0x1a4116(_0x5ccca3._0x3a6893,0x3be)]});}catch(_0x46eac6){return'❌\x20注册\x20Agent'+_0x40540e(0x11f,0xe2)+(_0x46eac6 instanceof Error?_0x46eac6[_0x1a4116(0x345,_0x5ccca3._0x37ad82)]:String(_0x46eac6));}}});}function createDeregisterAgentTool(_0x52d253){const _0xae539b={_0x46ffc0:0x54e,_0x17d51c:0x54e,_0x10142e:0x126,_0xfb3505:0x556,_0x546ce7:0x55a,_0x10c02c:0x115,_0xea877b:0xd9,_0x1a1e40:0x53c},_0x4d31bc={_0x2bec82:0x1bf,_0x45a66e:0x1be,_0x306d51:0x1ae,_0x83046b:0x169,_0x2991e3:0x154},_0x5bae67={_0x3276b1:0x6f},_0x1150d6={_0x3b973b:0x38c};function _0x47b4cf(_0x5e97f8,_0x24556f){return _0x1a99(_0x24556f-0x39f,_0x5e97f8);}const _0x3a2e51={'BhlCM':function(_0x5c35c6,_0x7bb5db){return _0x5c35c6(_0x7bb5db);},'VZwjx':function(_0x5afad6,_0x9f38e4){return _0x5afad6(_0x9f38e4);}};function _0x20d8e1(_0x5d9081,_0x28e0e0){return _0x1a99(_0x5d9081- -0xc6,_0x28e0e0);}const _0x31c461=_0x3a2e51[_0x47b4cf(0x547,_0xae539b._0x46ffc0)](getStateFilePath,_0x52d253);return _0x3a2e51[_0x47b4cf(0x539,_0xae539b._0x17d51c)](tool,{'description':_0x20d8e1(0x148,_0xae539b._0x10142e)+_0x47b4cf(_0xae539b._0xfb3505,_0xae539b._0x546ce7)+'nt。\x0a移除\x20Age'+_0x47b4cf(0x588,0x5b3)+'父\x20Agent\x20的\x20'+_0x47b4cf(0x5c2,0x59c),'args':{'agent_id':tool[_0x20d8e1(0x105,0xcf)][_0x20d8e1(_0xae539b._0x10c02c,_0xae539b._0xea877b)]()[_0x47b4cf(0x502,_0xae539b._0x1a1e40)](_0x20d8e1(0x133,0x15b)+_0x47b4cf(0x5d2,0x5aa))},async 'execute'(_0x35cfb1){function _0xfdc25(_0x169e0c,_0x1f18c2){return _0x47b4cf(_0x1f18c2,_0x169e0c- -_0x1150d6._0x3b973b);}function _0x16f839(_0x52cf2c,_0x1a763e){return _0x20d8e1(_0x1a763e-_0x5bae67._0x3276b1,_0x52cf2c);}try{return await _0x1a8608[_0xfdc25(_0x4d31bc._0x2bec82,0x190)+_0x16f839(0x1b2,_0x4d31bc._0x45a66e)](_0x31c461,_0x35cfb1[_0x16f839(0x1cf,_0x4d31bc._0x306d51)]);}catch(_0x5d4bf0){return _0xfdc25(0x1b3,0x1a0)+_0x16f839(_0x4d31bc._0x83046b,0x18c)+(_0x5d4bf0 instanceof Error?_0x5d4bf0['message']:_0x3a2e51[_0x16f839(_0x4d31bc._0x2991e3,0x14c)](String,_0x5d4bf0));}}});}function createProgressTool(_0x2c55fa){const _0x527d35={_0xeb0192:0xb5,_0x3eb5d5:0x2de,_0x16ad27:0x30c,_0x309aea:0x31a,_0x2fbfff:0x32d,_0x56f1fa:0x31f,_0xe03fbf:0x309,_0x5e2ba8:0x55},_0x6e928b={_0x159bc9:0x3b,_0x3bfd4b:0x13,_0x2f0e9f:0x23,_0x25cfa0:0xe2,_0x2c261d:0x1f,_0x3f1655:0x3f,_0x3880bf:0x3e,_0x1d9169:0x64,_0x221a1c:0x12,_0x25432a:0xa,_0x2f80c0:0x80,_0x10f873:0x65},_0x33af6a={_0x1d0d11:0x40},_0x307428={_0x92078d:0x11b},_0x24033b={'pFjhN':_0x80d51e(-_0x527d35._0xeb0192,-0xd5),'TTpub':function(_0x5d7f1c,_0x4a0b1a){return _0x5d7f1c(_0x4a0b1a);},'ylUvQ':function(_0x2465f5,_0x5d4659){return _0x2465f5(_0x5d4659);},'yvxiy':function(_0x5d2bac,_0xe9cb02){return _0x5d2bac(_0xe9cb02);}};function _0x41d1f9(_0x432422,_0x11f037){return _0x1a99(_0x11f037-_0x307428._0x92078d,_0x432422);}const _0x261b40=getStateFilePath(_0x2c55fa);function _0x80d51e(_0x414fdb,_0xa58b79){return _0x1a99(_0x414fdb- -0x253,_0xa58b79);}return tool({'description':_0x41d1f9(_0x527d35._0x3eb5d5,_0x527d35._0x16ad27)+_0x41d1f9(_0x527d35._0x309aea,_0x527d35._0x2fbfff)+'含完成度百分比、阶段'+_0x41d1f9(_0x527d35._0x56f1fa,_0x527d35._0xe03fbf)+_0x80d51e(-_0x527d35._0x5e2ba8,-0x68),'args':{},async 'execute'(){function _0xeb356(_0x210161,_0x2d619f){return _0x80d51e(_0x210161- -0x81,_0x2d619f);}function _0x264350(_0x3b93e3,_0x26a4c4){return _0x80d51e(_0x26a4c4-_0x33af6a._0x1d0d11,_0x3b93e3);}try{return await _0x1a8608[_0x264350(-0x67,-_0x6e928b._0x159bc9)+'ss'](_0x261b40);}catch(_0x2d7ba0){if(_0x264350(-_0x6e928b._0x3bfd4b,-_0x6e928b._0x2f0e9f)!==_0xeb356(-0xe4,-0xc1)){const _0x368cfa=_0x3dbc0f[_0xeb356(-0x124,-0x11e)];return{'name':_0x24033b[_0xeb356(-0xef,-_0x6e928b._0x25cfa0)],'tool':{'specops_status':_0x3e5289(_0x368cfa),'specops_advance':_0x24033b[_0x264350(-0x74,-0x4c)](_0x24f79b,_0x368cfa),'specops_new_project':_0x24033b['ylUvQ'](_0x1e402d,_0x368cfa),'specops_update_operation':_0x24033b[_0x264350(-_0x6e928b._0x2c261d,-_0x6e928b._0x3f1655)](_0x378c93,_0x368cfa),'specops_register_agent':_0x289df2(_0x368cfa),'specops_deregister_agent':_0x24033b[_0x264350(-_0x6e928b._0x3880bf,-_0x6e928b._0x3f1655)](_0x3e4ae7,_0x368cfa),'specops_progress':_0x24033b['yvxiy'](_0x4f2609,_0x368cfa),'specops_quick':_0x265faa(_0x368cfa),'specops_analyze_requirements':_0x24033b[_0x264350(-_0x6e928b._0x1d9169,-0x5f)](_0x55b1cd,_0x368cfa)},'event':async _0x266f4b=>{}};}else return _0x264350(_0x6e928b._0x221a1c,-_0x6e928b._0x25432a)+(_0x2d7ba0 instanceof Error?_0x2d7ba0[_0x264350(-_0x6e928b._0x2f80c0,-_0x6e928b._0x10f873)]:String(_0x2d7ba0));}}});}function createQuickTool(_0x28029c){const _0x21460c={_0x4d2596:0x4dc,_0x4edab9:0x4be,_0x4397f0:0x144,_0x691415:0x4af,_0x384a9e:0x4d9,_0x11ac1e:0x14f,_0xce9322:0x119,_0x43ff6b:0x4d1,_0x279632:0x170,_0x5751cf:0x16d},_0x3cc684={_0x2c8381:0xb7,_0x22101d:0xc1,_0xbde587:0x7a,_0x256007:0x94,_0x583d03:0xbd,_0x374d2a:0x4b,_0x3524eb:0x6d,_0x268a88:0xa8,_0x1c36a9:0x88,_0x1e2e09:0x31,_0x33bdac:0x42,_0x4f1da2:0x61,_0x3b8c25:0x5c,_0x5c0b9d:0x1f},_0x3f2142={_0x46eae0:0x311},_0x1b5ef9={_0x14a791:0x306},_0x47e9cd={'NHGSb':function(_0x172a7b,_0x1b420d){return _0x172a7b(_0x1b420d);},'gnLBn':_0x2297af(_0x21460c._0x4d2596,_0x21460c._0x4edab9),'WZtdG':function(_0x19a67b,_0x27d7d0){return _0x19a67b instanceof _0x27d7d0;}},_0x165230=getStateFilePath(_0x28029c);function _0x2297af(_0x2f28fe,_0x1b3cb6){return _0x1a99(_0x1b3cb6-_0x1b5ef9._0x14a791,_0x2f28fe);}function _0x451edd(_0x31c320,_0xd05b74){return _0x1a99(_0x31c320- -_0x3f2142._0x46eae0,_0xd05b74);}return tool({'description':'快速任务模式。跳过完'+_0x451edd(-_0x21460c._0x4397f0,-0x11f)+_0x2297af(_0x21460c._0x691415,_0x21460c._0x384a9e)+_0x451edd(-_0x21460c._0x11ac1e,-_0x21460c._0xce9322)+'任务。','args':{'task':tool[_0x2297af(0x4ea,_0x21460c._0x43ff6b)][_0x2297af(0x4d9,0x4e1)]()['describe'](_0x451edd(-_0x21460c._0x279632,-_0x21460c._0x5751cf))},async 'execute'(_0x33a570){const _0x537398={_0x4d6edf:0x57d};function _0x177789(_0x421d44,_0x1a2c05){return _0x2297af(_0x421d44,_0x1a2c05- -_0x537398._0x4d6edf);}const _0x520dee={'KdUbt':function(_0x306d71,_0x144423){return _0x306d71(_0x144423);}};function _0x5f3922(_0x1669dc,_0x37a673){return _0x451edd(_0x1669dc-0xde,_0x37a673);}if(_0x177789(-0xc9,-_0x3cc684._0x2c8381)===_0x5f3922(-0x8a,-_0x3cc684._0x22101d))return'❌\x20注册\x20Agent'+_0x177789(-_0x3cc684._0xbde587,-_0x3cc684._0x256007)+(_0x4cb80a instanceof _0x39a52d?_0x3dbd5e[_0x5f3922(-0x85,-0x7c)]:_0x520dee[_0x177789(-_0x3cc684._0x583d03,-0xa1)](_0x1eee02,_0x9f2f5f));else try{return _0x47e9cd[_0x5f3922(-_0x3cc684._0x374d2a,-0x4e)]!==_0x177789(-_0x3cc684._0x3524eb,-_0x3cc684._0x268a88)?await _0x1a8608['quickTask'](_0x165230,_0x33a570[_0x5f3922(-_0x3cc684._0x1c36a9,-0x7f)]):_0x5f3922(-_0x3cc684._0x1e2e09,-_0x3cc684._0x33bdac)+(_0x4e970b instanceof _0x59ef74?_0x4cdb29[_0x5f3922(-0x85,-0x8a)]:_0x47e9cd[_0x177789(-0x65,-_0x3cc684._0x4f1da2)](_0x209f2b,_0x5ce9bc));}catch(_0x5e4859){return'❌\x20快速任务失败:\x20'+(_0x47e9cd[_0x5f3922(-_0x3cc684._0x3b8c25,-0x20)](_0x5e4859,Error)?_0x5e4859[_0x5f3922(-0x85,-0x9e)]:_0x47e9cd[_0x5f3922(-0x1d,-_0x3cc684._0x5c0b9d)](String,_0x5e4859));}}});}function _0x1a99(_0x3aaed9,_0x1169fd){_0x3aaed9=_0x3aaed9-(-0x2d*0x39+0xc*0x246+-0xfa6);const _0x407e7f=_0x5c89();let _0x237b91=_0x407e7f[_0x3aaed9];if(_0x1a99['ZBBSTz']===undefined){var _0x296fd3=function(_0x445737){const _0x3dbc0f='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3e5289='',_0x24f79b='';for(let _0x1e402d=-0x1c99*-0x1+0x63d*0x6+-0x4207,_0x378c93,_0x289df2,_0x3e4ae7=-0x2*0x8c3+0x1*0x1ec7+0x105*-0xd;_0x289df2=_0x445737['charAt'](_0x3e4ae7++);~_0x289df2&&(_0x378c93=_0x1e402d%(0x131d*-0x1+-0x32d*0x4+0x1fd5)?_0x378c93*(-0x1*-0x1951+-0x1*-0x229d+-0x3bae)+_0x289df2:_0x289df2,_0x1e402d++%(0x1*-0xb29+-0x15f7+0x3*0xb0c))?_0x3e5289+=String['fromCharCode'](0x251b+-0x4*-0x59b+0x3a88*-0x1&_0x378c93>>(-(-0xe64+0x7a4+-0x15a*-0x5)*_0x1e402d&0x92*0x1a+0x7*-0x2de+0x544)):0x7bb*-0x4+0x20f4+-0x208){_0x289df2=_0x3dbc0f['indexOf'](_0x289df2);}for(let _0x4f2609=0x7*0xb0+0x1*0x6d9+-0xba9,_0x265faa=_0x3e5289['length'];_0x4f2609<_0x265faa;_0x4f2609++){_0x24f79b+='%'+('00'+_0x3e5289['charCodeAt'](_0x4f2609)['toString'](0x1a93+-0x19eb+-0x98))['slice'](-(0xcbf+-0x13*-0xd9+0x1a*-0x11c));}return decodeURIComponent(_0x24f79b);};_0x1a99['UQvMuR']=_0x296fd3,_0x1a99['dRTLEu']={},_0x1a99['ZBBSTz']=!![];}const _0x2d2d44=_0x407e7f[-0x5*0x403+-0x347*0xb+0x381c],_0x5b0dba=_0x3aaed9+_0x2d2d44,_0x2c9106=_0x1a99['dRTLEu'][_0x5b0dba];return!_0x2c9106?(_0x237b91=_0x1a99['UQvMuR'](_0x237b91),_0x1a99['dRTLEu'][_0x5b0dba]=_0x237b91):_0x237b91=_0x2c9106,_0x237b91;}const SpecOpsPlugin=async _0x4459a2=>{const _0x30295a={_0xa410a1:0x126,_0x20d264:0x114,_0x1687d8:0x141,_0x5ade6a:0x13a,_0x4d7913:0x176,_0x4969b7:0x16a,_0x46f22e:0x18d,_0x3b6e01:0x162,_0x1454d7:0x12f,_0x46342f:0x3f4,_0x5ca16a:0x3c8},_0x1a9fc6={_0x3138ef:0x8a},_0xc36d18={'vAZFD':function(_0x1c8114,_0x298696){return _0x1c8114(_0x298696);},'TyVyN':function(_0xc56aa0,_0x136b59){return _0xc56aa0(_0x136b59);},'tfoWQ':function(_0x1b44f2,_0x1de20a){return _0x1b44f2(_0x1de20a);},'JOgcc':function(_0x1c091a,_0x51b04a){return _0x1c091a(_0x51b04a);},'vGTvM':function(_0x3b9073,_0x57ff8d){return _0x3b9073(_0x57ff8d);}};function _0x1cfbad(_0x5da6ef,_0xf6be53){return _0x1a99(_0xf6be53- -_0x1a9fc6._0x3138ef,_0x5da6ef);}const _0x2d1be7=_0x4459a2[_0x1cfbad(0xeb,_0x30295a._0xa410a1)];function _0x2d7a1d(_0x4be4c1,_0x276af9){return _0x1a99(_0x4be4c1-0x1f4,_0x276af9);}return{'name':_0x1cfbad(0x145,_0x30295a._0x20d264),'tool':{'specops_status':_0xc36d18[_0x1cfbad(_0x30295a._0x1687d8,_0x30295a._0x5ade6a)](createStatusTool,_0x2d1be7),'specops_advance':createAdvanceTool(_0x2d1be7),'specops_new_project':_0xc36d18['TyVyN'](createNewProjectTool,_0x2d1be7),'specops_update_operation':_0xc36d18[_0x1cfbad(0x1b1,_0x30295a._0x4d7913)](createUpdateOperationTool,_0x2d1be7),'specops_register_agent':_0xc36d18[_0x1cfbad(_0x30295a._0x4969b7,_0x30295a._0x46f22e)](createRegisterAgentTool,_0x2d1be7),'specops_deregister_agent':_0xc36d18[_0x1cfbad(_0x30295a._0x3b6e01,_0x30295a._0x1454d7)](createDeregisterAgentTool,_0x2d1be7),'specops_progress':_0xc36d18[_0x2d7a1d(_0x30295a._0x46342f,_0x30295a._0x5ca16a)](createProgressTool,_0x2d1be7),'specops_quick':createQuickTool(_0x2d1be7),'specops_analyze_requirements':createAnalyzeRequirementsTool(_0x2d1be7)},'event':async _0x1e042f=>{}};};export default SpecOpsPlugin;