specops 0.3.2 → 0.3.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.opencode/agent/specops-codebase-mapper.md +1 -2
- package/.opencode/agent/specops-debugger.md +1 -2
- package/.opencode/agent/specops-integration-checker.md +1 -2
- package/.opencode/agent/specops-phase-researcher.md +1 -2
- package/.opencode/agent/specops-plan-checker.md +1 -2
- package/.opencode/agent/specops-project-researcher.md +1 -2
- package/.opencode/agent/specops-roadmapper.md +1 -2
- package/.opencode/agent/specops-work-verifier.md +1 -2
- package/dist/__integration__/fixtures/generator.js +1 -1
- package/dist/__integration__/mocks/server.js +1 -1
- package/dist/__integration__/setup.js +1 -1
- package/dist/acceptance/lazyDetector.js +1 -1
- package/dist/acceptance/reporter.js +1 -1
- package/dist/acceptance/runner.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/context/index.js +1 -1
- package/dist/context/promptTemplate.js +1 -1
- package/dist/context/techContextLoader.js +1 -1
- package/dist/engine.js +1 -1
- package/dist/evolution/distiller.js +1 -1
- package/dist/evolution/index.js +1 -1
- package/dist/evolution/memoryGraph.js +1 -1
- package/dist/evolution/selector.js +1 -1
- package/dist/evolution/signals.js +1 -1
- package/dist/evolution/solidify.js +1 -1
- package/dist/evolution/store.js +1 -1
- package/dist/evolution/types.js +1 -1
- package/dist/init.js +1 -1
- package/dist/machines/agentMachine.js +1 -1
- package/dist/machines/supervisorMachine.js +1 -1
- package/dist/persistence/schema.js +1 -1
- package/dist/persistence/stateFile.js +1 -1
- package/dist/plugin-engine.js +1 -1
- package/dist/plugin.js +1 -1
- package/dist/requirement-analysis/analyzers/repository-parser.js +1 -1
- package/dist/requirement-analysis/generators/prd-generator.js +1 -1
- package/dist/requirement-analysis/integrations/v1-integration.js +1 -1
- package/dist/requirement-analysis/tools/analyze-requirements.js +1 -1
- package/dist/requirement-analysis/utils/error-handler.js +1 -1
- package/dist/types/index.js +1 -1
- package/dist/utils/id.js +1 -1
- package/package.json +1 -1
package/dist/plugin-engine.js
CHANGED
|
@@ -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(_0x36a638,_0x4b46c3){const _0x165ebf={_0x5d0bcd:0x506,_0x235529:0x532,_0x5f44e4:0x236,_0x5acc55:0x27d,_0x10ed25:0x4d3,_0x446b95:0x4a4,_0x597a33:0x497,_0x14b004:0x2e3,_0x1c59ce:0x47a,_0x5e4232:0x498,_0x4c6b7f:0x4ec,_0x1d66c6:0x4a2,_0x6c2f95:0x2b1},_0x35c604={_0x37c7c3:0xf5};function _0x4419c5(_0x536ad1,_0x23b228){return _0x36b0(_0x23b228-_0x35c604._0x37c7c3,_0x536ad1);}const _0x470d80=_0x36a638();function _0x52b9ff(_0x4d92a9,_0x5a5337){return _0x36b0(_0x4d92a9-0x2fd,_0x5a5337);}while(!![]){try{const _0x3dd02d=parseInt(_0x52b9ff(_0x165ebf._0x5d0bcd,_0x165ebf._0x235529))/(0x9b3+-0x1*0x165c+0xcaa)+-parseInt(_0x4419c5(_0x165ebf._0x5f44e4,_0x165ebf._0x5acc55))/(0x1ca2+-0xe4*-0x11+-0x2bc4)*(parseInt(_0x52b9ff(0x4c7,_0x165ebf._0x10ed25))/(0xbe7*-0x3+-0x1bb*-0xa+0x935*0x2))+-parseInt(_0x52b9ff(_0x165ebf._0x446b95,_0x165ebf._0x597a33))/(0x1f58+-0x1c1*0xa+-0xdca)*(parseInt(_0x52b9ff(0x4bf,0x480))/(0x1c2b+-0xb97+-0x9d*0x1b))+parseInt(_0x4419c5(0x30f,_0x165ebf._0x14b004))/(0x1*-0xe6b+-0x7cd*0x1+0x163e)+-parseInt(_0x52b9ff(0x4ac,_0x165ebf._0x1c59ce))/(0x9*0x100+0xf20+-0x1819)*(parseInt(_0x52b9ff(0x4e4,_0x165ebf._0x5e4232))/(0xd2e+0x25c*0x2+0x8ef*-0x2))+-parseInt(_0x52b9ff(0x4fb,0x524))/(-0x16e4+0xdaf+0x5b*0x1a)+-parseInt(_0x52b9ff(_0x165ebf._0x4c6b7f,_0x165ebf._0x1d66c6))/(-0x1*0x527+0x667*-0x1+-0x1a8*-0x7)*(-parseInt(_0x4419c5(_0x165ebf._0x6c2f95,0x273))/(-0x1fe0+-0x462+-0x1*-0x244d));if(_0x3dd02d===_0x4b46c3)break;else _0x470d80['push'](_0x470d80['shift']());}catch(_0x15b720){_0x470d80['push'](_0x470d80['shift']());}}}(_0xbe48,-0x2dd75+0x260c5+-0x13*-0x2351));import{existsSync,readFileSync,mkdirSync}from'node:fs';function _0xbe48(){const _0x5b72ff=['DxrMltG','zeDbCLi','rcaGicaGicaGia','5OQa5PYV6ycj5z6l','yvHKreW','ntzcDMHxuLq','tfnUAxe','zffRtui','AKrjBe4','icaG5PQc5PEGiefNzw4','z25WyNG','zKT6C1e','mJe3nJa4AujbEuXl','mZyWnZb1Bw1WrNi','wvHOBM4','4PQHiow/Q+MaN+s7U+wkOEAOOEw8JW','D3jPDgu','B2TWBNa','AKPbAva','AwrSzq','CMvHza','CMvXDwLYzw1LBG','icaG5yID5AEliefNzw4','ChvZAa','q0vqwNK','zMLSDgvY','uNHNtfu','rLDYEwG','mtm2mZK1zerbueDH','yu9ywfG','ihWG6zI25Q61icaGica','CxvPy2S','56UE5zob5yIg5P6q','DgHez08','4PYfioAjGoACIsbbz2vUDa','icaG6zI25Q61oIa','Cvj5uMu','5yQH5lIn6lwW5A6m5Pw0ifbPCgu','5yQF6io95yIg5P6q','mtKYnJqWwenfCwHN','BMfTzq','y29TCgXLDgvK','Aw5KzxHpzG','BwfW','zgvTyw5Kx2fUyq','AKX6wMi','BuLZALy','AgvuEMe','xsdMK43KVzZLT7lMM7tMLRa6ia','Bg10rfu','zeLUALu','4P2miefNzw50ia','77Ym6k+35ywi6l+q6kgmig5LDY0','icaGicaG','ody5zKT5uwTr','ios4JEwTMowCQos6JIbZDgf0','zMvHDhvYzv9HBG','Aw5JBhvKzxm','BgvUz3rO','y3vYCMvUDe9Wzq','5yAmoIa','qNb6B3y','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','iokgKIa','mMzpqKTYza','v25vrhK','CgfYzw50swq','icaG5PU05PAW5PE26zE0oIa','zwnwwfy','4PYfiefNzw50iow3SUAZQa','qKTQB00','CMf0Aw9U','icaG6zI25Q615BQp5yIxoIa','Eev0CKO','t3LhCKG','ChjVAMvJDa','iow3SUwTMowCQo+8JoI3S+I/H+AZQowgJa','icaGicaGicaGia','tuL5rve','rNjPy2K','y2HPBgrjzhm','ChDzz1y','ioIVPUAdHtO','6zYa5Rgc5yIg5P6q','EwTxBuC','zgLZy3vZCW','AwPzqwG','CMvJDxjZAxzL','icaG54Mi5PYSoIa','icaG5lU75yQHoIa','CxvPy2STDgfZAW','8j+gLsdPOBNNM67LT7lLIjVLU7O6ia','DxvNs2y','B2Llquu','icaGicaGFcdMK43KVzW','mte3mZu2twDYqwvx','jsaO','icaG8j+tIcdPMlBMRRxLIiBLUim6','4PYfifS','CMvWzwf0','icaGicaGicb8ia','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','s3LZzKW','mJC1otmZzvrxBhjT','y3vYCMvUDfnRAq','uvP2CLa','zw50CMLLCW','DMvYAwz5','BwfJAgLUzvnUyq','ze90Dvq','iefNzw50kq','xsdLT7lLROZMIjdLHAJPG6JPMlBMRRu','ChjVAMvJDcdLKB3KU6q','DcdORRdLVzu','ywDLBNrZ','DNvOvKG','Df9HBMfSExnPCW','icaG8j+KLIbbz2vUDa','5lMq6kEc6zsb5yAY56Qb','icaGqwDLBNqGsq','icaG5B2t5yMn6zI25Q61oIa','A2v5CW','mtbSrgTdwKi','icaG54I2iefNzw50','ChnOB3q','icaG','DgvJAf9ZzwXLyW','4PQG77Ipicbbz2vUDca','BhLZAxm','DMvYC2LVBG','nZi3mdH2v2z5yu8','zeDNCvi','ihWG','DxbKyxrLzef0','DgLVBG','zxHLy3v0zq','ios4JEwTMowCQa','8j+tIIdPOBNNM67OV5VLUQy6ia','sfDpwMq','AM9PBG','cUkCHsbbz2vUDca','CM91BMq','y29TCgv0AxrVCG','y3vYCMvUDfbOyq','CgfKrw5K','x2fUywX5C2LZ','vfPOvLq','icaGqwDLBNq6ia','CgXHBG','CMfUzg9T','Bwf4','zs5QC29U','CgHHC2u','ywDLBNrjza'];_0xbe48=function(){return _0x5b72ff;};return _0xbe48();}import{resolve}from'node:path';function _0x995840(_0x51eede,_0x3eb8f3){return _0x36b0(_0x51eede-0x384,_0x3eb8f3);}import{StateFileManager}from'./persistence/stateFile.js';import{PHASES,PIPELINE_PHASES}from'./types/index.js';import{generateAgentId}from'./utils/id.js';const _0x1edb20={};_0x1edb20[_0x562d75(0x48f,0x484)+_0x562d75(0x403,0x449)]=_0x995840(0x51f,0x4e2),_0x1edb20[_0x562d75(0x49a,0x49b)+_0x995840(0x54c,0x552)]=_0x562d75(0x3f9,0x428),_0x1edb20[_0x562d75(0x420,0x463)+_0x995840(0x55d,0x5aa)]=_0x995840(0x586,0x56c),_0x1edb20[_0x562d75(0x434,0x40d)+'alysis']=_0x562d75(0x4db,0x495),_0x1edb20[_0x995840(0x54a,0x591)+_0x562d75(0x420,0x45b)]=_0x562d75(0x4aa,0x472),_0x1edb20[_0x562d75(0x412,0x42a)]='讨论',_0x1edb20[_0x562d75(0x48b,0x469)]='规划',_0x1edb20[_0x562d75(0x475,0x45c)]='执行',_0x1edb20[_0x562d75(0x3f6,0x440)]='验证';const PHASE_NAMES=_0x1edb20,MAX_RETRIES=0x1490+-0x9*0x2c6+0x1*0x46b;async function readStateFile(_0x18f40a){const _0x1dedc3={'jLzZb':function(_0x5bad26,_0x198152){return _0x5bad26(_0x198152);}};if(!_0x1dedc3[_0x26d1da(-0x74,-0x6b)](existsSync,_0x18f40a))return null;function _0x26d1da(_0xe64181,_0x3d003f){return _0x995840(_0xe64181- -0x607,_0x3d003f);}function _0xf136ec(_0x246283,_0x1a6fd9){return _0x995840(_0x246283- -0x67a,_0x1a6fd9);}const _0x557334=new StateFileManager(_0x18f40a);return _0x557334[_0xf136ec(-0x100,-0x14d)]();}async function writeStateFile(_0x58aa4f,_0x1ca6a7){const _0x42d100={_0x57575a:0xb8,_0x5d1ee2:0x90,_0x5aa0d5:0xea,_0x5f5b80:0x6a,_0x65a0:0x82,_0x22e2c6:0x2f,_0x56ab03:0x75,_0x1593c4:0x88},_0x5758e7={_0x47f76f:0x490},_0x3fe110={};function _0x7fc6d9(_0x12cf78,_0x527ad7){return _0x995840(_0x12cf78- -0x5ca,_0x527ad7);}function _0x41cd71(_0x198649,_0x444bde){return _0x995840(_0x444bde- -_0x5758e7._0x47f76f,_0x198649);}_0x3fe110[_0x7fc6d9(-_0x42d100._0x57575a,-_0x42d100._0x5d1ee2)]=function(_0x311d9c,_0x97a963){return _0x311d9c instanceof _0x97a963;};const _0x317abd=_0x3fe110;for(let _0x100fc8=-0x1*0x1265+0xb*-0x2b9+0x2*0x182c;_0x100fc8<MAX_RETRIES;_0x100fc8++){try{const _0x489917=new StateFileManager(_0x58aa4f);await _0x489917[_0x41cd71(0xcc,_0x42d100._0x5aa0d5)](),await _0x489917[_0x7fc6d9(-0x54,-0x1e)](_0x1ca6a7);return;}catch(_0x5b2a90){if(_0x317abd[_0x41cd71(_0x42d100._0x5f5b80,_0x42d100._0x65a0)](_0x5b2a90,Error)&&_0x5b2a90['message'][_0x41cd71(_0x42d100._0x22e2c6,_0x42d100._0x56ab03)](_0x7fc6d9(-_0x42d100._0x1593c4,-0xc0))&&_0x100fc8<MAX_RETRIES-(0x4*0x188+-0x2291*0x1+0x1c72)){await new Promise(_0x5a15fa=>setTimeout(_0x5a15fa,-0x53*-0x10+0x11a7*-0x1+0xca9+Math[_0x7fc6d9(-0x69,-0x2e)]()*(-0x1987+-0x4cf*-0x4+-0x1d*-0x3b)));continue;}throw _0x5b2a90;}}}function computeOverallPhase(_0x341c90){const _0x4eed15={_0x14b48b:0x509,_0x4c5561:0x50e,_0x102b17:0x4da,_0x2c41c9:0x4dc,_0x12d277:0xd8,_0x34c7a5:0x103,_0x2f4707:0x4f9,_0x395749:0xe8,_0x179c2d:0x120},_0x4ae071={_0x1aee5b:0x8c},_0x273046={};function _0x40e5e6(_0x419417,_0x11f657){return _0x562d75(_0x11f657,_0x419417- -0x395);}_0x273046[_0x1c6a60(_0x4eed15._0x14b48b,_0x4eed15._0x4c5561)]='completed';const _0xad6cfd=_0x273046;for(const _0xe486e3 of Object[_0x1c6a60(_0x4eed15._0x102b17,_0x4eed15._0x2c41c9)](_0x341c90)){if(_0x341c90[_0xe486e3][_0x40e5e6(_0x4eed15._0x12d277,0x11c)]!==_0x40e5e6(_0x4eed15._0x34c7a5,0xd0))return _0x341c90[_0xe486e3][_0x1c6a60(_0x4eed15._0x2f4707,0x4b8)];}function _0x1c6a60(_0x56d10b,_0x5793d6){return _0x562d75(_0x5793d6,_0x56d10b-_0x4ae071._0x1aee5b);}return _0xad6cfd[_0x40e5e6(_0x4eed15._0x395749,_0x4eed15._0x179c2d)];}export async function getStatus(_0x28c003){const _0x249b20={_0x4b5213:0x366,_0x17b711:0x34e,_0x3c1a98:0x346,_0x47da41:0x301,_0x430a85:0x2fe,_0x28d00f:0x33b,_0x10db17:0x347,_0x2a3e14:0x2f0,_0x6353ce:0xe3,_0x5809e6:0xda,_0x2317bf:0x7b,_0x47ae7b:0x376,_0x203333:0x305,_0x4592f4:0x30b,_0x47caf2:0xe6,_0x1e2365:0xba,_0x345ad3:0xea,_0x59f7b2:0x89,_0x539811:0xa7,_0x118ed5:0xa7,_0x20e781:0xc6,_0x569d30:0x66,_0x2097e1:0x32e,_0x3b9d84:0x55,_0x178216:0x3f,_0x4560e6:0x88,_0x3a42b1:0x100,_0xfb5b74:0xcc,_0x21e6b6:0x70,_0x4e3913:0x88,_0x4973df:0x352,_0x4f1c3e:0xa5,_0x567201:0x8e,_0x57584b:0x8d,_0x2d57f8:0xa8,_0x303ba7:0x90,_0x3167ae:0x83,_0x25640f:0x2e7,_0x2af834:0x2ea,_0x15e761:0xa4,_0x277e09:0x9a,_0x5da921:0x310,_0x6c0412:0x2f4,_0x3e8356:0x66,_0x155679:0x32a,_0x5537a2:0x93,_0x5926e6:0x92,_0x3c220d:0x93,_0x2b27b1:0x33d,_0x336ca5:0x344,_0x377950:0x331,_0x1c37d3:0x55,_0x253efd:0x8c},_0x56542a={_0xf5d153:0x21f},_0x4c720d={};_0x4c720d[_0x15c037(_0x249b20._0x4b5213,_0x249b20._0x17b711)]=_0x15c037(_0x249b20._0x3c1a98,0x350)+_0x15c037(_0x249b20._0x47da41,0x31e),_0x4c720d[_0x15c037(0x2ca,_0x249b20._0x430a85)]=_0x15c037(_0x249b20._0x28d00f,_0x249b20._0x10db17),_0x4c720d[_0x15c037(_0x249b20._0x2a3e14,0x337)]=function(_0x596832,_0x360523){return _0x596832===_0x360523;},_0x4c720d[_0xf7c52e(-_0x249b20._0x6353ce,-_0x249b20._0x5809e6)]='\x20\x20\x20Agent\x20I'+_0xf7c52e(-0x33,-_0x249b20._0x2317bf)+_0x15c037(_0x249b20._0x47ae7b,0x365)+_0x15c037(_0x249b20._0x203333,_0x249b20._0x4592f4)+_0xf7c52e(-_0x249b20._0x47caf2,-0xca)+'\x20\x20\x20\x20\x20\x20\x20\x20|\x20'+'工具';const _0x119d48=_0x4c720d;if(!existsSync(_0x28c003))return _0xf7c52e(-0xac,-_0x249b20._0x1e2365)===_0xf7c52e(-_0x249b20._0x345ad3,-0xe6)?(_0x46647f['push'](_0x119d48[_0xf7c52e(-_0x249b20._0x59f7b2,-0x76)]),_0x282b3f['join']('\x0a')):'⚠️\x20\x20状态文件不存在'+',请先运行\x20new-'+_0xf7c52e(-_0x249b20._0x1e2365,-_0x249b20._0x539811);const _0xfeed59=readFileSync(_0x28c003,_0x119d48[_0xf7c52e(-_0x249b20._0x118ed5,-_0x249b20._0x20e781)]),_0xba2b8c=JSON['parse'](_0xfeed59),_0x1bc5cd=[];_0x1bc5cd[_0xf7c52e(-0x5c,-_0x249b20._0x569d30)]('📊\x20项目状态:\x20'+_0xba2b8c[_0x15c037(_0x249b20._0x2097e1,0x2f8)][_0xf7c52e(-0x41,-_0x249b20._0x3b9d84)]),_0x1bc5cd['push']('\x20\x20\x20当前阶段:\x20'+(PHASE_NAMES[_0xba2b8c['project'][_0xf7c52e(-_0x249b20._0x178216,-_0x249b20._0x4560e6)+'se']]??_0xba2b8c[_0xf7c52e(-_0x249b20._0x3a42b1,-_0x249b20._0xfb5b74)][_0xf7c52e(-_0x249b20._0x21e6b6,-_0x249b20._0x4e3913)+'se'])),_0x1bc5cd[_0xf7c52e(-0x81,-0x66)]('\x20\x20\x20版本:\x20'+_0xba2b8c[_0x15c037(_0x249b20._0x4973df,0x32e)]),_0x1bc5cd['push'](_0x15c037(0x2db,0x2f0)+_0xba2b8c[_0xf7c52e(-0xcd,-0x92)]);const _0x115dcb=_0xba2b8c[_0xf7c52e(-0xde,-_0x249b20._0x4f1c3e)];function _0x15c037(_0x2a2f13,_0x20e4cd){return _0x995840(_0x20e4cd- -_0x56542a._0xf5d153,_0x2a2f13);}const _0x139aa9=Object[_0x15c037(0x366,0x326)](_0x115dcb);if(_0x119d48[_0xf7c52e(-_0x249b20._0x567201,-_0x249b20._0x57584b)](_0x139aa9['length'],0x190b+-0x20d*0x9+0x2*-0x34b))return _0x1bc5cd[_0xf7c52e(-_0x249b20._0x2d57f8,-0x66)](_0x119d48[_0xf7c52e(-0x83,-0x76)]),_0x1bc5cd[_0xf7c52e(-_0x249b20._0x303ba7,-0x8c)]('\x0a');_0x1bc5cd[_0xf7c52e(-_0x249b20._0x3167ae,-0x66)]('');function _0xf7c52e(_0x358a23,_0x1f0378){return _0x995840(_0x1f0378- -0x5e3,_0x358a23);}_0x1bc5cd['push'](_0x119d48[_0x15c037(_0x249b20._0x25640f,_0x249b20._0x2af834)]),_0x1bc5cd[_0xf7c52e(-_0x249b20._0x15e761,-_0x249b20._0x569d30)](_0xf7c52e(-0xc5,-_0x249b20._0x277e09)+'-'[_0x15c037(0x32f,_0x249b20._0x5da921)](0x3*0x12d+0x1bf8+-0x1f2f));for(const _0x29b73f of _0x139aa9){const _0x28ac9d=_0x115dcb[_0x29b73f],_0x274673=PHASE_NAMES[_0x28ac9d['phase']]??_0x28ac9d[_0xf7c52e(-0x9a,-0x7f)],_0x2a85f3=_0x28ac9d['currentOpe'+_0x15c037(0x2a9,_0x249b20._0x6c0412)]||'-',_0x427633=_0x28ac9d['currentSki'+'ll']||'-';_0x1bc5cd[_0xf7c52e(-0x22,-_0x249b20._0x3e8356)](_0x15c037(0x353,_0x249b20._0x155679)+_0x29b73f['padEnd'](0xe65+-0x13e5+0x1f*0x2e)+_0xf7c52e(-0x68,-_0x249b20._0x5537a2)+_0x274673[_0x15c037(0x31f,0x33d)](-0xa*0xae+0x16eb+-0x1011)+_0xf7c52e(-_0x249b20._0x5926e6,-_0x249b20._0x3c220d)+_0x2a85f3[_0x15c037(0x317,_0x249b20._0x2b27b1)](-0xb*-0x246+-0x57d*-0x3+-0x2964)+_0x15c037(_0x249b20._0x336ca5,_0x249b20._0x377950)+_0x427633);}return _0x1bc5cd[_0xf7c52e(-_0x249b20._0x1c37d3,-_0x249b20._0x253efd)]('\x0a');}export async function advancePhase(_0x326265,_0x513c67){const _0x3d32bb={_0x3be0bb:0x356,_0x3e2bd6:0x340,_0x1e394d:0x36d,_0x2d0081:0x3be,_0x42a74c:0x382,_0x4cf30e:0x32d,_0x1f0c05:0x349,_0x4df262:0x391,_0x4c84b8:0x324,_0x214f24:0x3a0,_0x518d47:0x397,_0x318fa5:0x35e,_0xd62bf4:0x393,_0x449aec:0x331,_0x3fb4e7:0x33f,_0x3a49b6:0x397,_0x1c0d92:0x368,_0x2134bd:0x389,_0x113dda:0x32c,_0x588e93:0x341,_0x454827:0x317,_0x4de1a6:0x359,_0x5890bd:0x387,_0x9af0f2:0x342,_0x3ef6f7:0x34c,_0x2aabe0:0x31d,_0x249462:0x36f,_0x5cd5c7:0x381,_0x3fcb2c:0x2ff,_0x505715:0x3c8,_0x2aa838:0x371},_0x11e01b={_0x2ae8c0:0x1db},_0x301af4={'CEPZy':function(_0x4e55ed,_0x4dc0ea){return _0x4e55ed(_0x4dc0ea);},'dOtuT':_0x5b0ce1(_0x3d32bb._0x3be0bb,0x34e)+_0x559f41(0x2ca,0x304)+_0x559f41(0x304,_0x3d32bb._0x3e2bd6),'jDIlN':_0x559f41(_0x3d32bb._0x1e394d,0x38c)+_0x559f41(0x2f4,0x30e),'dInjU':function(_0x3a751c,_0x889d3b){return _0x3a751c===_0x889d3b;},'heTza':_0x559f41(_0x3d32bb._0x2d0081,0x393)};function _0x559f41(_0x1d97db,_0x3a0c6f){return _0x995840(_0x3a0c6f- -0x1fc,_0x1d97db);}const _0x248f6a=await _0x301af4[_0x559f41(0x398,_0x3d32bb._0x42a74c)](readStateFile,_0x326265);if(!_0x248f6a)return _0x301af4[_0x559f41(_0x3d32bb._0x4cf30e,0x33d)];const _0x34a8a0=_0x513c67??Object[_0x559f41(0x381,_0x3d32bb._0x1f0c05)](_0x248f6a['agents'])['find'](_0x441354=>_0x248f6a[_0x559f41(0x37c,0x342)][_0x441354][_0x5b0ce1(0x389,0x386)]!=='completed');if(!_0x34a8a0)return _0x301af4[_0x559f41(_0x3d32bb._0x4df262,0x372)];function _0x5b0ce1(_0x45a731,_0xba9c9c){return _0x995840(_0x45a731- -_0x11e01b._0x2ae8c0,_0xba9c9c);}const _0xa426d5=_0x248f6a[_0x5b0ce1(0x363,_0x3d32bb._0x4c84b8)][_0x34a8a0];if(!_0xa426d5)return'❌\x20Agent\x20'+_0x34a8a0+('\x20不存在于\x20stat'+_0x5b0ce1(0x388,_0x3d32bb._0x214f24));if(_0xa426d5[_0x559f41(_0x3d32bb._0x518d47,0x368)]===_0x559f41(_0x3d32bb._0x318fa5,_0x3d32bb._0xd62bf4))return'['+_0x34a8a0+_0x559f41(_0x3d32bb._0x449aec,_0x3d32bb._0x3fb4e7);const _0x1171f3=computeNextPhase(_0xa426d5[_0x559f41(_0x3d32bb._0x3a49b6,_0x3d32bb._0x1c0d92)]),_0x331c7f=PHASE_NAMES[_0xa426d5[_0x5b0ce1(_0x3d32bb._0x2134bd,0x3b3)]]??_0xa426d5[_0x559f41(0x361,0x368)],_0x6d9b4b=PHASE_NAMES[_0x1171f3]??_0x1171f3,_0x3caa2c={..._0x248f6a['agents']},_0x35ba70=_0x3caa2c,_0x42af0e={..._0xa426d5};_0x42af0e[_0x5b0ce1(_0x3d32bb._0x2134bd,0x358)]=_0x1171f3,_0x42af0e[_0x5b0ce1(_0x3d32bb._0x113dda,0x347)+_0x559f41(_0x3d32bb._0x588e93,_0x3d32bb._0x454827)]='',_0x42af0e[_0x5b0ce1(_0x3d32bb._0x4de1a6,_0x3d32bb._0x454827)+'ll']='',_0x35ba70[_0x34a8a0]=_0x42af0e;const _0x7c832f=computeOverallPhase(_0x35ba70),_0xa65c05={..._0x248f6a[_0x559f41(0x33a,0x31b)]};_0xa65c05[_0x5b0ce1(0x380,_0x3d32bb._0x5890bd)+'se']=_0x7c832f;const _0x48361d={};_0x48361d['project']=_0xa65c05,_0x48361d[_0x559f41(0x370,_0x3d32bb._0x9af0f2)]=_0x35ba70,_0x48361d[_0x559f41(0x327,0x33c)+_0x559f41(0x394,_0x3d32bb._0x3ef6f7)]=_0x248f6a['machineSna'+_0x559f41(_0x3d32bb._0x2aabe0,_0x3d32bb._0x3ef6f7)],await writeStateFile(_0x326265,_0x48361d);const _0x39be68=[];return _0x39be68[_0x559f41(_0x3d32bb._0x249462,_0x3d32bb._0x5cd5c7)]('['+_0x34a8a0+']\x20'+_0x331c7f+'\x20→\x20'+_0x6d9b4b),_0x301af4[_0x5b0ce1(0x323,0x34f)](_0x1171f3,_0x301af4[_0x559f41(0x302,_0x3d32bb._0x3fcb2c)])&&_0x39be68[_0x559f41(0x384,0x381)](_0x5b0ce1(0x37d,_0x3d32bb._0x505715)+_0x34a8a0+_0x5b0ce1(0x32f,_0x3d32bb._0x2aa838)),_0x39be68['join']('\x0a');}function computeNextPhase(_0x24b92c){const _0x1e921a={_0x61233c:0x13,_0x29415d:0x49,_0x286e2d:0x88,_0x299e7b:0x64,_0x29562f:0x49c,_0x2a660f:0x2c,_0x1dd10c:0xf,_0x2f15fa:0x455,_0xfe45a3:0x422,_0x1ec7d4:0x3fd,_0x159471:0x427,_0x28facd:0x412},_0xc6fe82={};_0xc6fe82[_0x1b788a(_0x1e921a._0x61233c,0x25)]=function(_0x30ed69,_0x342d68){return _0x30ed69<_0x342d68;},_0xc6fe82[_0x1b788a(0x1,-0x9)]=_0x331881(0x453,0x49b),_0xc6fe82[_0x331881(0x458,0x427)]=function(_0x4feb47,_0x95802f){return _0x4feb47<_0x95802f;},_0xc6fe82[_0x1b788a(_0x1e921a._0x29415d,_0x1e921a._0x286e2d)]=function(_0x31c5d2,_0x8aebed){return _0x31c5d2-_0x8aebed;},_0xc6fe82['cYaWu']=_0x1b788a(_0x1e921a._0x299e7b,0xa8);const _0x143cfd=_0xc6fe82,_0x3b1456=PHASES[_0x331881(0x4a9,_0x1e921a._0x29562f)](_0x24b92c);if(_0x3b1456>=-0x24a2+0x1252+0x1250)return _0x3b1456<PHASES[_0x331881(0x458,0x412)]-(0x223*-0x1+0x3*0x463+-0xb05)?PHASES[_0x3b1456+(0x18ba+-0x1*-0x2329+0x16d*-0x2a)]:'completed';const _0x2c79b9=PIPELINE_PHASES['indexOf'](_0x24b92c);function _0x331881(_0x429b1a,_0x2e18e6){return _0x995840(_0x2e18e6- -0xf4,_0x429b1a);}function _0x1b788a(_0x5cdf45,_0x1db9f6){return _0x562d75(_0x1db9f6,_0x5cdf45- -0x41e);}if(_0x2c79b9>=0x2*0xdb7+-0xf1*-0x1+-0x1b*0x10d)return'ochtB'!=='ochtB'?_0x143cfd[_0x1b788a(0x13,_0x1e921a._0x2a660f)](_0x53c2ac,_0x1cc2dc[_0x1b788a(-_0x1e921a._0x1dd10c,-0x1f)]-(0x1*-0x9d6+0x165a+0x1*-0xc83))?_0x553a8b[_0x44e94d+(0x897*-0x3+-0x1d0f+0x36d5)]:_0x143cfd[_0x331881(_0x1e921a._0x2f15fa,_0x1e921a._0xfe45a3)]:_0x143cfd[_0x331881(_0x1e921a._0x1ec7d4,_0x1e921a._0x159471)](_0x2c79b9,_0x143cfd[_0x331881(0x480,0x46a)](PIPELINE_PHASES[_0x331881(0x45a,_0x1e921a._0x28facd)],-0x669+-0x1*0xb1e+0x1188))?PIPELINE_PHASES[_0x2c79b9+(0x4e7*-0x1+-0x13fb+0x18e3)]:_0x143cfd[_0x331881(0x414,0x422)];if(_0x24b92c===_0x143cfd['cYaWu'])return PHASES[0x31*-0xb+-0x9aa*0x1+0xbc5];return _0x143cfd['OyGrH'];}export async function newProject(_0x1ee724,_0x389c52){const _0x1385b3={_0x3e7084:0x303,_0x1e428a:0x2dd,_0xd9894a:0x424,_0x2adf37:0x36d,_0x336eae:0x332,_0x297b4c:0x40f,_0x1a8469:0x465,_0x22a7f2:0x355,_0x53e998:0x3d1,_0x507da1:0x408,_0x38f682:0x3aa,_0x4c96e5:0x360,_0x445f6c:0x31b,_0x4f7c56:0x4a4,_0x514af0:0x439,_0x1d20e4:0x30d,_0x6c77c1:0x467,_0x2a552d:0x452,_0x29faad:0x331,_0x5dc5e1:0x41b},_0x257c3c={_0x1474f4:0xff},_0x380d57={_0x2df044:0x137},_0x2cda81={'aSTUS':function(_0x53ce9a,_0x28b7e2,_0x5494ef){return _0x53ce9a(_0x28b7e2,_0x5494ef);},'ijYAh':function(_0xa4ebea,_0xe1f881,_0x196b40){return _0xa4ebea(_0xe1f881,_0x196b40);},'FWryh':function(_0x281752){return _0x281752();},'aOXXX':_0x10bf10(0x353,0x34b),'MIyEQ':_0x10bf10(_0x1385b3._0x3e7084,_0x1385b3._0x1e428a)},_0x3f7885=_0x2cda81['aSTUS'](resolve,_0x1ee724,'..');if(!existsSync(_0x3f7885)){const _0x2cde7a={};_0x2cde7a[_0x333ee9(0x3de,_0x1385b3._0xd9894a)]=!![],_0x2cda81[_0x333ee9(0x434,0x423)](mkdirSync,_0x3f7885,_0x2cde7a);}const _0x2ecdd2=_0x2cda81[_0x10bf10(_0x1385b3._0x2adf37,0x353)](generateAgentId),_0x2f9b86={};_0x2f9b86[_0x10bf10(_0x1385b3._0x336eae,0x337)]=_0x2ecdd2,_0x2f9b86[_0x333ee9(0x412,_0x1385b3._0x297b4c)]=null,_0x2f9b86[_0x10bf10(0x2fc,0x2ee)]=[],_0x2f9b86[_0x333ee9(0x41c,_0x1385b3._0x1a8469)]=_0x2cda81[_0x10bf10(0x36a,_0x1385b3._0x22a7f2)],_0x2f9b86[_0x333ee9(_0x1385b3._0x53e998,_0x1385b3._0x507da1)+_0x333ee9(0x3e0,0x414)]='',_0x2f9b86[_0x333ee9(0x423,0x435)+'ll']='';function _0x10bf10(_0x28553c,_0x1ae588){return _0x562d75(_0x28553c,_0x1ae588- -_0x380d57._0x2df044);}const _0x584553=_0x2f9b86,_0xc5f29d={};_0xc5f29d[_0x10bf10(_0x1385b3._0x38f682,_0x1385b3._0x4c96e5)]=_0x389c52,_0xc5f29d[_0x10bf10(_0x1385b3._0x445f6c,0x32d)+'se']=_0x2cda81[_0x333ee9(_0x1385b3._0x4f7c56,0x484)];const _0x137ba6={};_0x137ba6[_0x2ecdd2]=_0x584553;function _0x333ee9(_0x22a34d,_0x511710){return _0x995840(_0x511710- -_0x257c3c._0x1474f4,_0x22a34d);}const _0x5c0f05={};_0x5c0f05[_0x10bf10(0x2ac,0x2e9)]=_0xc5f29d,_0x5c0f05[_0x333ee9(0x42c,0x43f)]=_0x137ba6,_0x5c0f05[_0x333ee9(0x43c,_0x1385b3._0x514af0)+_0x10bf10(_0x1385b3._0x1d20e4,0x31a)]=null,await writeStateFile(_0x1ee724,_0x5c0f05);const _0x26be67=[];return _0x26be67['push'](_0x333ee9(0x462,0x428)+_0x389c52),_0x26be67['push']('\x20\x20\x20目录:\x20'+_0x3f7885),_0x26be67['push'](_0x333ee9(_0x1385b3._0x6c77c1,0x47d)+'t:\x20'+_0x2ecdd2),_0x26be67['push'](_0x10bf10(0x309,0x2e6)+PIPELINE_PHASES[_0x333ee9(_0x1385b3._0x2a552d,0x492)](_0x140c4f=>PHASE_NAMES[_0x140c4f]??_0x140c4f)[_0x10bf10(_0x1385b3._0x29faad,0x329)](_0x2cda81[_0x333ee9(0x444,_0x1385b3._0x5dc5e1)])),_0x26be67[_0x10bf10(0x334,0x329)]('\x0a');}function _0x562d75(_0xb48ee,_0xcc3bab){return _0x36b0(_0xcc3bab-0x28d,_0xb48ee);}export async function updateOperation(_0x461231,_0x15b7f1,_0x894c4c,_0x2f1a32){const _0x25010e={_0x501a82:0x52c,_0x38b532:0x54e,_0x5535de:0x530,_0x4b6b4e:0x588,_0x14e63f:0x3a9,_0x4e5e30:0x565,_0x4ef646:0x525,_0x4b6e36:0x565,_0x447865:0x595,_0x380c37:0x575,_0x1a6e39:0x55b,_0x5c0382:0x584},_0x2167e0={_0x4e610d:0x182},_0xe7a80c={'dSSMq':function(_0x297a59,_0x55dfa8){return _0x297a59(_0x55dfa8);}},_0x2f3ec8=await _0xe7a80c['dSSMq'](readStateFile,_0x461231);if(!_0x2f3ec8)return'⚠️\x20\x20状态文件不存在';const _0x25391d=_0x2f3ec8[_0x463659(0x3bc,0x3c0)][_0x15b7f1];if(!_0x25391d)return _0x59fa94(_0x25010e._0x501a82,_0x25010e._0x38b532)+_0x15b7f1+(_0x59fa94(_0x25010e._0x5535de,0x55f)+'e.json');const _0xdbcf38={..._0x2f3ec8[_0x59fa94(0x56b,_0x25010e._0x4b6b4e)]},_0x32ca37=_0xdbcf38,_0x5cca3d={..._0x25391d};_0x5cca3d['currentOpe'+'ration']=_0x894c4c;function _0x59fa94(_0x544075,_0x1e5090){return _0x562d75(_0x1e5090,_0x544075-0x124);}_0x5cca3d[_0x59fa94(0x561,0x5ad)+'ll']=_0x2f1a32,_0x32ca37[_0x15b7f1]=_0x5cca3d;const _0x32b96e={};function _0x463659(_0x45a5c1,_0x97f5ae){return _0x995840(_0x45a5c1- -_0x2167e0._0x4e610d,_0x97f5ae);}return _0x32b96e[_0x463659(0x395,_0x25010e._0x14e63f)]=_0x2f3ec8['project'],_0x32b96e['agents']=_0x32ca37,_0x32b96e[_0x59fa94(_0x25010e._0x4e5e30,_0x25010e._0x4ef646)+_0x59fa94(0x575,0x533)]=_0x2f3ec8[_0x59fa94(_0x25010e._0x4b6e36,_0x25010e._0x447865)+_0x59fa94(_0x25010e._0x380c37,0x529)],await writeStateFile(_0x461231,_0x32b96e),_0x59fa94(_0x25010e._0x1a6e39,_0x25010e._0x5c0382)+_0x15b7f1+_0x59fa94(0x529,0x4e2)+_0x894c4c+'\x20('+_0x2f1a32+')';}function _0x36b0(_0x5407b9,_0x1a9828){_0x5407b9=_0x5407b9-(-0x20c6+0x5ba*-0x4+0x3924);const _0x43a8a9=_0xbe48();let _0x17fabf=_0x43a8a9[_0x5407b9];if(_0x36b0['jCCZKA']===undefined){var _0x581cc3=function(_0x56d75d){const _0xc1d8fa='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x32ae91='',_0x972ddb='';for(let _0x220138=0x68d+-0x1db*-0xf+0x1*-0x2262,_0x491114,_0xc3c50e,_0x1416ee=-0xc8c+-0x2*0x293+0x11b2;_0xc3c50e=_0x56d75d['charAt'](_0x1416ee++);~_0xc3c50e&&(_0x491114=_0x220138%(0x167c+0x9*-0x3d3+0xbf3*0x1)?_0x491114*(0x571*-0x5+-0x2221+-0x1*-0x3d96)+_0xc3c50e:_0xc3c50e,_0x220138++%(0x182+-0x1*-0x103f+-0x11bd*0x1))?_0x32ae91+=String['fromCharCode'](0x4*-0x68f+0xd*0x13f+-0x2*-0x584&_0x491114>>(-(0x10b8*0x2+0x8f6+-0x2a64)*_0x220138&-0x26a0+0x976+0x2*0xe98)):-0x266+0x1a62+-0x17fc){_0xc3c50e=_0xc1d8fa['indexOf'](_0xc3c50e);}for(let _0x58303f=0x17e*-0x4+0x3*0x1b1+0x1*0xe5,_0x3ea944=_0x32ae91['length'];_0x58303f<_0x3ea944;_0x58303f++){_0x972ddb+='%'+('00'+_0x32ae91['charCodeAt'](_0x58303f)['toString'](-0x1ee7+-0x4*0x40+0x1ff7))['slice'](-(0x129a+-0x629+-0xc6f));}return decodeURIComponent(_0x972ddb);};_0x36b0['knrzPi']=_0x581cc3,_0x36b0['SqVQCR']={},_0x36b0['jCCZKA']=!![];}const _0x4e8019=_0x43a8a9[-0x2601+-0xf1d+0x351e*0x1],_0x46cede=_0x5407b9+_0x4e8019,_0x4ded70=_0x36b0['SqVQCR'][_0x46cede];return!_0x4ded70?(_0x17fabf=_0x36b0['knrzPi'](_0x17fabf),_0x36b0['SqVQCR'][_0x46cede]=_0x17fabf):_0x17fabf=_0x4ded70,_0x17fabf;}export async function registerAgent(_0x67749e,_0x16198d,_0x97603e={}){const _0x5f5ae1={_0x4590fc:0x2fb,_0x56df50:0x2c7,_0xd364e1:0x2ca,_0x531934:0x316,_0x4fd044:0x37a,_0xe3a2ad:0x315,_0x51fc28:0x329,_0x36e4e2:0x359,_0x4be464:0x317,_0x501c99:0x2d8,_0x3d495c:0x320,_0x57aae7:0x368,_0x1846a7:0x310,_0x1e951f:0x2cf,_0x1a532e:0x2b8,_0x3400e4:0x35a,_0x3e9a0f:0x347,_0x4a7c76:0x322,_0x34c00f:0x303,_0x47b213:0x2d4,_0x48fec5:0x2e6,_0x17b08f:0x308,_0x44cdae:0x2cd,_0x4dd9f6:0x386,_0xfff9b8:0x347,_0x99073:0x37e,_0x53717e:0x392,_0x7a6b4b:0x378,_0x472d6a:0x311,_0x1c34f0:0x358},_0x3ce743={'gnpbx':function(_0x5a8ab5,_0x23f1cc){return _0x5a8ab5(_0x23f1cc);},'eFLdW':_0x3d257f(_0x5f5ae1._0x4590fc,_0x5f5ae1._0x56df50)+_0x3d257f(_0x5f5ae1._0xd364e1,0x311)+_0x3d257f(0x306,0x313),'jJAiP':_0x372029(0x303,_0x5f5ae1._0x531934)},_0x367ffd=await _0x3ce743[_0x3d257f(0x33a,0x334)](readStateFile,_0x67749e);if(!_0x367ffd)return _0x3ce743['eFLdW'];if(_0x367ffd[_0x372029(_0x5f5ae1._0x4fd044,0x347)][_0x16198d])return _0x3d257f(_0x5f5ae1._0xe3a2ad,_0x5f5ae1._0x51fc28)+_0x16198d+'\x20已存在,跳过注册';const _0x338105=_0x97603e['phase']??_0x3d257f(0x343,0x380),_0x302e42=_0x97603e[_0x372029(_0x5f5ae1._0x36e4e2,_0x5f5ae1._0x4be464)]??null,_0x14a0a7={};_0x14a0a7['agentId']=_0x16198d,_0x14a0a7[_0x3d257f(_0x5f5ae1._0x501c99,_0x5f5ae1._0x3d495c)]=_0x302e42;function _0x372029(_0x40e448,_0xae0aea){return _0x995840(_0xae0aea- -0x1f7,_0x40e448);}_0x14a0a7[_0x372029(0x2de,0x325)]=[],_0x14a0a7[_0x372029(_0x5f5ae1._0x57aae7,0x36d)]=_0x338105,_0x14a0a7[_0x372029(0x2e9,_0x5f5ae1._0x1846a7)+'ration']='',_0x14a0a7[_0x3d257f(0x2fe,0x2ca)+'ll']='';const _0x2a43eb=_0x14a0a7,_0x1c4580={..._0x367ffd[_0x372029(0x32b,0x347)]};_0x1c4580[_0x16198d]=_0x2a43eb;const _0x395bd1=_0x1c4580;if(_0x302e42&&_0x395bd1[_0x302e42]){const _0x32ef9c=_0x395bd1[_0x302e42];if(!_0x32ef9c[_0x3d257f(0x2e6,0x2c6)][_0x3d257f(_0x5f5ae1._0x1e951f,_0x5f5ae1._0x1a532e)](_0x16198d)){if(_0x3ce743[_0x372029(_0x5f5ae1._0x3400e4,0x381)]!==_0x3ce743['jJAiP'])_0x972ddb[_0x3d257f(_0x5f5ae1._0x3e9a0f,_0x5f5ae1._0xe3a2ad)](_0x3d257f(_0x5f5ae1._0x4a7c76,_0x5f5ae1._0x34c00f)+_0x220138+_0x3d257f(_0x5f5ae1._0x47b213,0x2c4));else{const _0x2482db={..._0x32ef9c};_0x2482db[_0x372029(0x32e,0x325)]=[..._0x32ef9c[_0x3d257f(_0x5f5ae1._0x48fec5,0x310)],_0x16198d],_0x395bd1[_0x302e42]=_0x2482db;}}}const _0x175493={};_0x175493['project']=_0x367ffd['project'];function _0x3d257f(_0x3ddeee,_0x33d462){return _0x562d75(_0x33d462,_0x3ddeee- -0x13f);}_0x175493[_0x3d257f(_0x5f5ae1._0x17b08f,_0x5f5ae1._0x44cdae)]=_0x395bd1,_0x175493['machineSna'+'pshot']=_0x367ffd[_0x3d257f(0x302,0x2d9)+'pshot'],await writeStateFile(_0x67749e,_0x175493);const _0x294fe9=PHASE_NAMES[_0x338105]??_0x338105,_0x463760=[];_0x463760[_0x372029(0x3cd,_0x5f5ae1._0x4dd9f6)]('✅\x20Agent\x20已注'+_0x3d257f(0x2d2,0x319)+_0x16198d),_0x463760[_0x3d257f(_0x5f5ae1._0xfff9b8,0x30d)](_0x372029(_0x5f5ae1._0x99073,_0x5f5ae1._0x53717e)+_0x294fe9);if(_0x302e42)_0x463760[_0x372029(_0x5f5ae1._0x7a6b4b,0x386)](_0x3d257f(_0x5f5ae1._0x472d6a,_0x5f5ae1._0x1c34f0)+':\x20'+_0x302e42);return _0x463760['join']('\x0a');}export async function deregisterAgent(_0x284495,_0x3feaac){const _0x29f067={_0x4bdd3f:0x3f0,_0x3d7fd7:0x3bf,_0x1a3d35:0xd5,_0x112b25:0xc5,_0x4c8b10:0x90,_0x4cc85e:0xea,_0x29d80e:0x81,_0x2aa930:0x37a,_0x4c2cce:0x343,_0x595bac:0x9c,_0x2e6a6f:0xb7,_0x4eff32:0x3ca,_0x159654:0x6c,_0x41a2a0:0x371,_0x31e2b2:0x38b,_0x32fc3e:0x3a2,_0x53a092:0x393,_0x1b3812:0xa9,_0x2bdb46:0xe6,_0xa26d4e:0x76,_0x3b961a:0x89,_0x4a8492:0x3bc,_0x510ca9:0x9b,_0x34083d:0x6e,_0x291d75:0x40,_0x118aa8:0xad,_0x577774:0x73,_0x1f4925:0x79,_0x4730af:0xb9,_0x1139c5:0x9d,_0x12b1a0:0x353,_0x50b5f8:0x3a0,_0xacab7f:0x3bf,_0x14df92:0x40c,_0x15286b:0x6b},_0x3a62df={'okpnp':'⚠️\x20\x20状态文件不存在','dGArR':function(_0x4e6514,_0xe92bfc){return _0x4e6514===_0xe92bfc;},'yHeBh':_0x4d6f38(0x90,0x66),'vuhVH':function(_0x370500,_0x1564c4){return _0x370500>_0x1564c4;},'ecVXV':function(_0x3d3859,_0x46aab0){return _0x3d3859(_0x46aab0);},'dGgqR':_0x4e0933(_0x29f067._0x4bdd3f,_0x29f067._0x3d7fd7)},_0x5617a6=await readStateFile(_0x284495);if(!_0x5617a6)return _0x3a62df[_0x4d6f38(_0x29f067._0x1a3d35,0x117)];if(!_0x5617a6[_0x4e0933(0x3b5,0x3dd)][_0x3feaac])return _0x3a62df[_0x4d6f38(_0x29f067._0x112b25,0x99)](_0x3a62df['yHeBh'],_0x4d6f38(_0x29f067._0x4c8b10,0x8e))?'⚠️\x20\x20Agent\x20'+_0x3feaac+_0x4d6f38(0xb2,_0x29f067._0x4cc85e):_0x4d6f38(0x5d,_0x29f067._0x29d80e)+_0x46cede+(_0x4e0933(_0x29f067._0x2aa930,_0x29f067._0x4c2cce)+'e.json');const _0x450eb3=_0x5617a6[_0x4d6f38(_0x29f067._0x595bac,_0x29f067._0x2e6a6f)][_0x3feaac],_0x13aab6={..._0x5617a6['agents']};function _0x4d6f38(_0x51db29,_0x453fc8){return _0x995840(_0x51db29- -0x4a2,_0x453fc8);}const _0x5ab645=_0x13aab6;delete _0x5ab645[_0x3feaac];if(_0x450eb3[_0x4e0933(0x385,_0x29f067._0x4eff32)]&&_0x5ab645[_0x450eb3[_0x4d6f38(_0x29f067._0x159654,0x1f)]]){if(_0x4e0933(_0x29f067._0x41a2a0,_0x29f067._0x31e2b2)===_0x4e0933(0x371,_0x29f067._0x32fc3e)){const _0x41d547=_0x5ab645[_0x450eb3[_0x4e0933(0x385,0x3c0)]];_0x5ab645[_0x450eb3['parentId']]={..._0x41d547,'childIds':_0x41d547[_0x4e0933(_0x29f067._0x53a092,0x348)][_0x4d6f38(0xdd,0xb0)](_0x17bc15=>_0x17bc15!==_0x3feaac)};}else return _0x4d6f38(_0x29f067._0x1b3812,_0x29f067._0x2bdb46)+_0x2e4a8a+_0x4d6f38(_0x29f067._0xa26d4e,_0x29f067._0x3b961a);}const _0x2793b1=Object[_0x4e0933(_0x29f067._0x4a8492,0x3c1)](_0x5ab645),_0x22b401=_0x3a62df[_0x4e0933(0x3b6,0x3ba)](_0x2793b1[_0x4d6f38(0x64,_0x29f067._0x510ca9)],0x66b+-0x944*-0x2+-0x3*0x851)?_0x3a62df[_0x4d6f38(_0x29f067._0x34083d,_0x29f067._0x291d75)](computeOverallPhase,_0x5ab645):_0x3a62df[_0x4d6f38(_0x29f067._0x118aa8,_0x29f067._0x577774)],_0x212285={..._0x5617a6[_0x4d6f38(0x75,_0x29f067._0x1f4925)]};_0x212285[_0x4d6f38(_0x29f067._0x4730af,_0x29f067._0x1139c5)+'se']=_0x22b401;const _0x31cd15={};function _0x4e0933(_0x2b3981,_0x63dd9c){return _0x562d75(_0x63dd9c,_0x2b3981- -0x92);}return _0x31cd15[_0x4e0933(0x38e,_0x29f067._0x12b1a0)]=_0x212285,_0x31cd15['agents']=_0x5ab645,_0x31cd15[_0x4e0933(0x3af,_0x29f067._0x50b5f8)+_0x4e0933(_0x29f067._0xacab7f,_0x29f067._0x14df92)]=_0x5617a6['machineSna'+'pshot'],await writeStateFile(_0x284495,_0x31cd15),_0x4d6f38(0x6f,_0x29f067._0x15286b)+'销:\x20'+_0x3feaac;}export async function showProgress(_0x639117){const _0x129066={_0x324a19:0x2f7,_0x2b9e86:0x2c6,_0xe736e4:0x2d5,_0x4db624:0x302,_0x529354:0x2fc,_0x20183e:0x3eb,_0x316aaf:0x42f,_0x33303d:0x385,_0x27c756:0x34d,_0x49f74:0x362,_0x29b82f:0x2cc,_0x5e333c:0x3f3,_0x3020bf:0x31b,_0x133765:0x3c1,_0x4bc2df:0x37c,_0x38f2fd:0x343,_0xfac625:0x30d,_0x609ced:0x2ea,_0x586cc7:0x313,_0x954079:0x337,_0x1a8ed4:0x416,_0x375e70:0x3b9,_0x49f5bc:0x3c5,_0x2421ed:0x300,_0x408067:0x427,_0x1be153:0x43b,_0x83b25:0x2db,_0x1dbb78:0x2eb,_0x12cbef:0x3e0,_0xc01b3a:0x2f2,_0x3a04df:0x3d9,_0x18d6fa:0x422,_0x278405:0x446,_0x57386f:0x2c7,_0x3cd3de:0x44b,_0x10f1f2:0x3e0,_0x73b831:0x450,_0x211f70:0x339,_0x2a9ac4:0x343,_0x2278f8:0x3ed,_0xdedfba:0x456,_0x3d600e:0x34a,_0x5b30bd:0x2f0,_0x399733:0x31e,_0x3908f3:0x3c3,_0xd18cf9:0x3da,_0x2cdf85:0x3ca,_0x315c9e:0x419,_0x55cdac:0x40e,_0x1914ae:0x3ea,_0x125120:0x36d,_0x2c7398:0x3de,_0x5d2ab6:0x3dc,_0x3d8f28:0x2f3,_0x431b37:0x316},_0x58358b={'thDgO':function(_0x2ff251,_0x2d7200){return _0x2ff251(_0x2d7200);},'aXdDL':_0x3b8615(_0x129066._0x324a19,0x2f5)+_0x3b8615(_0x129066._0x2b9e86,_0x129066._0xe736e4)+_0x3b8615(_0x129066._0x4db624,_0x129066._0x529354),'FdVtD':function(_0x5ad636,_0x31cdfe){return _0x5ad636+_0x31cdfe;},'xEtrJ':_0x3b8615(0x2f3,0x314),'LSniq':function(_0xf199ae,_0x38de95){return _0xf199ae+_0x38de95;},'kvYrH':function(_0x5cc8c7,_0x202575){return _0x5cc8c7>_0x202575;},'QZvrP':_0x203746(_0x129066._0x20183e,_0x129066._0x316aaf)+_0x203746(0x3c8,_0x129066._0x33303d),'ykWmG':'\x20\x20\x20'},_0x43b0e1=await _0x58358b[_0x3b8615(_0x129066._0x27c756,0x395)](readStateFile,_0x639117);function _0x203746(_0x2ee165,_0x596688){return _0x995840(_0x2ee165- -0x156,_0x596688);}if(!_0x43b0e1)return _0x58358b[_0x3b8615(0x330,_0x129066._0x49f74)];const _0xa0f51e=_0x43b0e1[_0x3b8615(0x304,0x321)],_0x5096d8=Object['keys'](_0xa0f51e),_0x1b50b1=_0x5096d8[_0x3b8615(_0x129066._0x29b82f,0x2e4)],_0x4033de=_0x5096d8['filter'](_0x5481c5=>_0xa0f51e[_0x5481c5][_0x203746(0x40e,0x3d1)]===_0x203746(0x439,0x43e))[_0x203746(0x3b0,0x3f7)];function _0x3b8615(_0x570307,_0x1c058b){return _0x995840(_0x570307- -0x23a,_0x1c058b);}const _0x4e14cc=_0x1b50b1>-0x2*-0x1145+0x2a*-0x5d+-0x1348?Math[_0x203746(0x403,_0x129066._0x5e333c)](_0x4033de/_0x1b50b1*(0x18c2*0x1+0x1395+0x2bf3*-0x1)):-0x1065+-0x29*-0x5d+0x180,_0x5052f5={};for(const _0xcf1840 of _0x5096d8){const _0x5ab9d8=_0xa0f51e[_0xcf1840][_0x203746(0x40e,0x3fd)];_0x5052f5[_0x5ab9d8]=_0x58358b['FdVtD'](_0x5052f5[_0x5ab9d8]??-0xa46+0xa3c+0xa,0x1296+-0x2*-0xa3+-0x13db);}const _0x302e5a=[];_0x302e5a['push'](_0x3b8615(_0x129066._0x3020bf,0x328)+_0x43b0e1[_0x3b8615(0x2dd,0x299)][_0x3b8615(0x354,0x34b)]),_0x302e5a[_0x3b8615(0x343,0x324)](_0x3b8615(0x30a,0x323)+(PHASE_NAMES[_0x43b0e1['project'][_0x3b8615(0x321,0x36a)+'se']]??_0x43b0e1[_0x203746(_0x129066._0x133765,_0x129066._0x4bc2df)][_0x203746(0x405,0x3d1)+'se'])),_0x302e5a[_0x3b8615(_0x129066._0x38f2fd,_0x129066._0xfac625)](_0x3b8615(_0x129066._0x609ced,0x2a2)+_0x43b0e1[_0x3b8615(_0x129066._0x586cc7,_0x129066._0x954079)]),_0x302e5a[_0x203746(0x427,_0x129066._0x1a8ed4)](_0x203746(_0x129066._0x375e70,_0x129066._0x49f5bc)+_0x43b0e1['updatedAt']),_0x302e5a['push']('\x20\x20\x20完成度:\x20'+_0x4e14cc+_0x3b8615(0x2f2,0x308)+_0x4033de+'/'+_0x1b50b1+_0x3b8615(_0x129066._0x2421ed,0x2dd)),_0x302e5a[_0x203746(_0x129066._0x408067,_0x129066._0x1be153)](''),_0x302e5a[_0x203746(0x427,0x41f)](_0x58358b[_0x3b8615(_0x129066._0x83b25,_0x129066._0x1dbb78)]);for(const [_0x2a54b7,_0x41319b]of Object[_0x203746(_0x129066._0x12cbef,0x3b3)](_0x5052f5)){const _0xb0addc=PHASE_NAMES[_0x2a54b7]??_0x2a54b7,_0x3bef95=_0x58358b[_0x3b8615(0x332,_0x129066._0xc01b3a)]('█'['repeat'](_0x41319b),'░'[_0x203746(_0x129066._0x3a04df,_0x129066._0x18d6fa)](Math[_0x203746(0x40c,0x458)](-0x1f2b+-0x51*0x17+0x2672,_0x1b50b1-_0x41319b)));_0x302e5a[_0x203746(0x427,_0x129066._0x278405)](_0x3b8615(_0x129066._0x57386f,0x2fc)+_0xb0addc[_0x203746(0x406,_0x129066._0x3cd3de)](-0x418+0x11*0x8e+0x152*-0x4)+'\x20'+_0x3bef95+'\x20'+_0x41319b);}_0x302e5a['push']('');if(_0x58358b['kvYrH'](_0x5096d8[_0x203746(0x3b0,_0x129066._0x10f1f2)],0x161f+0x2*0xf28+-0x1f*0x1b1)){_0x302e5a[_0x203746(0x427,_0x129066._0x73b831)](_0x58358b[_0x3b8615(0x2fb,_0x129066._0x211f70)]),_0x302e5a[_0x3b8615(_0x129066._0x2a9ac4,0x322)](_0x203746(_0x129066._0x2278f8,0x3b2)+_0x203746(0x412,_0x129066._0xdedfba)+_0x3b8615(_0x129066._0x3d600e,0x393)+_0x3b8615(_0x129066._0x5b30bd,_0x129066._0x399733)+_0x203746(_0x129066._0x3908f3,0x38f)+_0x203746(_0x129066._0xd18cf9,0x40c)+'工具'),_0x302e5a[_0x3b8615(0x343,0x364)](_0x58358b[_0x3b8615(0x332,0x315)](_0x58358b[_0x203746(_0x129066._0x2cdf85,0x408)],'-'['repeat'](0x1*0xbf6+0x1*-0x19e4+0x2*0x71f)));for(const _0x3bc351 of _0x5096d8){const _0x344739=_0xa0f51e[_0x3bc351],_0x413935=PHASE_NAMES[_0x344739[_0x203746(0x40e,_0x129066._0x315c9e)]]??_0x344739[_0x203746(_0x129066._0x55cdac,_0x129066._0x1914ae)],_0x5810ac=_0x344739[_0x203746(0x3b1,_0x129066._0x125120)+_0x3b8615(0x2d9,0x2f7)]||'-',_0x3ea22a=_0x344739[_0x203746(_0x129066._0x2c7398,0x3fd)+'ll']||'-';_0x302e5a[_0x203746(0x427,0x457)](_0x3b8615(0x30f,_0x129066._0x5b30bd)+_0x3bc351[_0x3b8615(0x322,_0x129066._0x5b30bd)](0x1472+-0x1023+-0x43d*0x1)+_0x203746(0x3fa,0x3b5)+_0x413935[_0x3b8615(0x322,0x313)](0x1c80+0x8d1+-0x2543)+_0x203746(0x3fa,_0x129066._0x5d2ab6)+_0x5810ac[_0x3b8615(0x322,_0x129066._0x3d8f28)](0x23db+0x1*-0x4d6+-0x1ef0)+'\x20|\x20'+_0x3ea22a);}}return _0x302e5a[_0x3b8615(0x31d,_0x129066._0x431b37)]('\x0a');}export async function quickTask(_0x8d4452,_0x171f1a){const _0xb8b09e={_0xd49369:0x126,_0xbf72f8:0x20,_0x43e8d8:0x4d,_0x109086:0x42,_0xe9adff:0x85,_0x502c0a:0x100,_0x43d447:0x13b,_0x3ebcdc:0x5,_0x372c62:0x160,_0x5ca28f:0x183,_0x3eef53:0x180,_0x19175b:0xe8,_0x1aa356:0x128,_0x39cadc:0x77,_0xcd856c:0x5f,_0x257c81:0x59,_0x168e8a:0x51};function _0x1d4c2f(_0x7721a1,_0x39676f){return _0x562d75(_0x7721a1,_0x39676f- -0x306);}const _0x10ba7b={'RxgLU':function(_0x5663d1,_0x1effef,_0x273438){return _0x5663d1(_0x1effef,_0x273438);},'qRyRe':function(_0x413e73){return _0x413e73();},'fKzsQ':'execute'},_0x420103=await readStateFile(_0x8d4452);if(!_0x420103){const _0x5e5d44=_0x10ba7b[_0xe6a1cb(0x7a,0xc0)](resolve,_0x8d4452,'..');if(!existsSync(_0x5e5d44)){const _0x39a4ee={};_0x39a4ee[_0x1d4c2f(0xeb,_0xb8b09e._0xd49369)]=!![],mkdirSync(_0x5e5d44,_0x39a4ee);}}function _0xe6a1cb(_0x2640c0,_0x331b8e){return _0x562d75(_0x331b8e,_0x2640c0- -0x40f);}const _0x3168b6=_0x420103?.[_0xe6a1cb(0x11,-0x4)]['name']??_0xe6a1cb(_0xb8b09e._0xbf72f8,-0x21),_0x5f3505=_0x420103?Object[_0xe6a1cb(0x3f,0x66)](_0x420103['agents'])[0x558+-0xe*-0x203+0x2182*-0x1]??_0x10ba7b[_0xe6a1cb(0x84,_0xb8b09e._0x43e8d8)](generateAgentId):_0x10ba7b['qRyRe'](generateAgentId),_0x3bfb3b={'agentId':_0x5f3505,'parentId':null,'childIds':[],'phase':_0x10ba7b[_0xe6a1cb(0x6b,0x3d)],'currentOperation':_0x171f1a['slice'](-0x42*0x19+0x1*0xdbd+0x74b*-0x1,-0x42d*0x1+0x15be+-0x112d),'currentSkill':'quick'},_0x148772={};_0x148772[_0xe6a1cb(0x88,_0xb8b09e._0x109086)]=_0x3168b6,_0x148772[_0xe6a1cb(0x55,_0xb8b09e._0xe9adff)+'se']=_0x1d4c2f(0x169,0x188);const _0x44d995={};_0x44d995[_0x5f3505]=_0x3bfb3b;const _0x192267={};_0x192267['project']=_0x148772,_0x192267['agents']=_0x44d995,_0x192267[_0x1d4c2f(_0xb8b09e._0x502c0a,_0xb8b09e._0x43d447)+_0xe6a1cb(_0xb8b09e._0x109086,_0xb8b09e._0x3ebcdc)]=null,await _0x10ba7b[_0x1d4c2f(_0xb8b09e._0x372c62,_0xb8b09e._0x5ca28f)](writeStateFile,_0x8d4452,_0x192267);const _0x5f0990=[];return _0x5f0990[_0x1d4c2f(0x133,_0xb8b09e._0x3eef53)](_0xe6a1cb(0x6f,0xa1)),_0x5f0990[_0xe6a1cb(0x77,0x64)]('\x20\x20\x20项目:\x20'+_0x3168b6),_0x5f0990[_0xe6a1cb(0x77,0x5b)](_0x1d4c2f(_0xb8b09e._0x19175b,_0xb8b09e._0x1aa356)+_0x171f1a),_0x5f0990[_0xe6a1cb(_0xb8b09e._0x39cadc,_0xb8b09e._0xcd856c)](_0xe6a1cb(_0xb8b09e._0x257c81,0x8d)+_0x5f3505),_0x5f0990[_0x1d4c2f(0x182,0x180)]('\x20\x20\x20提示:\x20快速任'+_0x1d4c2f(0x1d0,0x18e)+'line,直接执行'),_0x5f0990[_0xe6a1cb(_0xb8b09e._0x168e8a,0x7)]('\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(_0x223415,_0x7f90e4){const _0x1f5ac5={_0x4afb3a:0x164,_0x47a519:0x177,_0x447bf4:0x55b,_0x46b202:0x116,_0xa49817:0x15b,_0xa86c8:0x1cf,_0x1fd81b:0x1a1,_0x4a7e99:0x125,_0x1a2503:0x191,_0x3dc9b5:0x1c9,_0x456fdf:0x197,_0x25462f:0x1ac,_0x5310ec:0x1da,_0x4b0728:0x1bf,_0x527f9e:0x1b9,_0x53490e:0x1b5,_0x8a8ce:0x5b1},_0x53e784={_0x2a481f:0x33f},_0xc72262={_0x50762c:0x3a7};function _0x46c6d0(_0x4110ca,_0x180021){return _0x5c96(_0x180021- -_0xc72262._0x50762c,_0x4110ca);}const _0x547583=_0x223415();function _0x3b1a76(_0x27b7dd,_0x19bbef){return _0x5c96(_0x27b7dd-_0x53e784._0x2a481f,_0x19bbef);}while(!![]){try{const _0x22f58c=parseInt(_0x46c6d0(-_0x1f5ac5._0x4afb3a,-_0x1f5ac5._0x47a519))/(-0x1096+-0x38e+0x1425)+-parseInt(_0x3b1a76(_0x1f5ac5._0x447bf4,0x52b))/(-0x2430+-0x2*0xb8d+0xf*0x3f4)*(parseInt(_0x46c6d0(-_0x1f5ac5._0x46b202,-_0x1f5ac5._0xa49817))/(0xa4f+-0x982*0x4+0x163*0x14))+-parseInt(_0x46c6d0(-_0x1f5ac5._0xa86c8,-_0x1f5ac5._0x1fd81b))/(-0xabf+0x5*-0x281+0x1748)+-parseInt(_0x46c6d0(-_0x1f5ac5._0x4a7e99,-0x161))/(0x1656+0x110+-0x1761)*(-parseInt(_0x46c6d0(-0x18a,-_0x1f5ac5._0x1a2503))/(0x217d+0x1*-0x767+0x4*-0x684))+parseInt(_0x46c6d0(-_0x1f5ac5._0x3dc9b5,-_0x1f5ac5._0x456fdf))/(0xef9+-0x176d+0x87b)*(parseInt(_0x46c6d0(-_0x1f5ac5._0x25462f,-_0x1f5ac5._0x5310ec))/(0x1a88+0x425*0x4+-0x2b14))+-parseInt(_0x46c6d0(-0x198,-_0x1f5ac5._0x4b0728))/(-0x1073*0x2+-0x1384+0x3473)*(parseInt(_0x46c6d0(-0x1c7,-_0x1f5ac5._0x527f9e))/(0x1bd7*-0x1+-0xd01*-0x3+-0x1*0xb22))+parseInt(_0x46c6d0(-_0x1f5ac5._0x53490e,-0x1b1))/(-0x1ef2+0x496*0x7+-0x13*0xf)*(parseInt(_0x3b1a76(0x58e,_0x1f5ac5._0x8a8ce))/(0x2*-0xf08+-0x3*-0x7ed+0x1*0x655));if(_0x22f58c===_0x7f90e4)break;else _0x547583['push'](_0x547583['shift']());}catch(_0x46b2a2){_0x547583['push'](_0x547583['shift']());}}}(_0x5988,0xa3*0x112+-0x5282d+0x24*0x36e3));function _0x5988(){const _0x5790db=['C3rYAw5N','54I2iefNzw50ieLe','ndq4mtbiCfDfqNm','s0nOzMW','ioAZQowgJoIhQUw3SEEAHoEkTUAaGEoaGG','CgHHC2u','qwDLBNqGsuq','BwvZC2fNzq','zNfhzfK','iowKSEI0PtOG','mJjjAMP2sKy','DcdMRApLNkJLGzRKU4dKUyJJGii','qvHtyuy','5B2t5yMn5l2/55sO55Qe5BEL5yw3l+AkGoIdVq','zgvYzwDPC3rLCG','55Qe54Q25Ocb6kgO5Qc844cc','77Yi5y+V6ycj77Yj','ywDLBNrFAwq','rNrQBMO','DK9nz2K','wwHrseW','5zcn56EW77Yi5AAciMv4CgXV','vhbcuKC','yuLnt24','5zcR5A6m5OIq5BQM55M+5yIg5Q+u44cb6zI25Q61','AgnuBuC','nda4mdq0wev2AxbM','DxbKyxrLt3bLCG','4P2mioAZQoMuGcbbz2vUDa','CMvNAxn0zxjbzW','BNtJGiik56E76zMKiefNzq','ChmG6Ag555UU44cc5yID5AEl5yYwia','5OIq55QeiefNzw5077Yj5O6O','5yIg5BId5zU+44cbqwDLBNqG','zgvZy3jPyMu','BMDPzuq','mZvgqLj0ANO','AhHmCvu','wen4zu0','uKvTtNu','lNnWzwnVChmVCW','zw5077Yi5OIw56YS5lIa5lIQ5PYQ5A6m','nJzUC3jrvvO','44cb5OMa5PYjiefNzw50ia','wvzhsKO','zgLYzwn0B3j5','C2TPBgW','DKr0A1e','mtqZmZy4Auf2uhHh','u1jhzhi','4P2mioAZQowgJcbbz2vUDa','ieLe77Yi5lIn5OYh5A6A5yIz6iEQ5yQO','y2HPBgrjzhpJGii','BNqG6k6W5B2v77Ym5zcm5PE25PU05PAW','BMv3uhjVAMvJDa','z2v0u3rHDhvZ','ioEkTUAaGEEZU+E7N+oaGGRNLkJKUO7LUBy','qwDLBNq','z3HorNy','77Ym55U05O6L6l+B5ywL5OMN6kgm6zI25Q6144cc','CvjyzxK','5PE277Ym5Q+p5lIQigfNzw50','uvf5rfa','sgXSr00','CKrJseO','B3b0Aw9UywW','5yIB5BU65yID5AEliefNzw50','s0HxqKK','mtCYntu0zNHkthHv','B05erKC','4P2mioAoQoI/M+MyTUAUTEwKSEI0PtOG','6kAb5O6O6l+B55QeiefNzw50','6l+B5yIW5lIl5lIa5lIQ6zI25Q6144cccUMyTG','yxrPB24','lNnWzwnVChm','Dgf0zs5QC29U77Ym','DgfZAW','ugPSD2i','ioEAHow9K+wjJEAtJEs9NoApJ+I/SowsJos9VW','ieLe','ioMyTUAUTEoaGUwWHUAmH+wUMIbbzW','4P2mioIoT+wpLUEkTUAaGEwKSEI0PtOG','ywr2yw5JzvbOyq','y3zJrMO','tNv6Avu','CgfYzw50x2LK','Bu1ysvu','tuHeC1a','u0LrzNe','4P2mioABToAwSoAtJEs9NowKSEI0PtOG','otC0nZboAe9Rz3O','C2HVD1bYB2DYzq','v01WrNK','5lU75yQH44cc','54Q25Ocb57o757UF5RoO6zsaiefNzq','5lU75yQH5O+p6l+W','mtjfyvrOD1m','swPzsue','5lUoihnWzwnVChmG','mZaZntyXnLnmuuf0sG','CK5ovwW','5B+R6ycF5lU75yQH5QIH5BYp44cc6lEZ6l+h5A6m','z3LqB1C','CxvPy2TuyxnR','5PU05PAW5OYh5A6AiefNzw50','CKTLD2O','zw50','mJa3mZeYz09yuLP3','6i635y+wihnWzwnVChm','6kAb5RoO6zsa55QeiefNzw50','D3HtufG','5Pw0ifbPCgvSAw5L','54I2iefNzw50ioEAHca','C2nOzw1H','B052y0y','zxrLza','5y+rigfNzw50ioE8LUAoKG','rhfmwLq','5RoO5yAm5PAW55QeiefNzw50','sgLlAuq','6Ag555UU5zcn56EW','BKjAC00','zunhqw4','cUMaGUEuQos6JUwWJ+wEI+oaGEAyJUEHRUEAHa','C3rHDguUANnVBG','zgXL77Yj','surMCxq','5yIB5BU65PAW55QeihnWzwnV','DKvRs2S','5B2t5yMn5Pon5l2C5O+p6l+W77Yi5AAciUwiHG','5P6q6zYa5Rgc5PAh5QgJiU+8Iq','swnnDLy','B3bLCMf0Aw9U','5yID5AEl6zI25Q6177Yi6BUy6k6KoIbP','odq2sernrezt','C3bLy29WCW','5PI+56s6ihnWzwnVChm','6AQm6k+biokgKIbJB21WBa'];_0x5988=function(){return _0x5790db;};return _0x5988();}import{tool}from'@opencode-ai/plugin';import{resolve}from'node:path';import*as _0x30e2ab from'./plugin-engine.js';import{createAnalyzeRequirementsTool}from'./requirement-analysis/tools/analyze-requirements.js';function getStateFilePath(_0x2c6ff3){const _0x487c1e={_0x5a08ca:0x19e,_0x51c87f:0x1af,_0xb0433d:0x534},_0x15f48f={_0x210a7a:0x2e2};function _0x39359d(_0x1d58e1,_0x3527e0){return _0x5c96(_0x1d58e1- -0xb4,_0x3527e0);}function _0x35c128(_0x2664c6,_0x2d5c37){return _0x5c96(_0x2664c6-_0x15f48f._0x210a7a,_0x2d5c37);}const _0x18757b={};_0x18757b[_0x39359d(_0x487c1e._0x5a08ca,_0x487c1e._0x51c87f)]='.specops';const _0x59a527=_0x18757b;return resolve(_0x2c6ff3,_0x59a527[_0x35c128(_0x487c1e._0xb0433d,0x572)],'state.json');}function createStatusTool(_0x1ab2c6){const _0x5c2bb3={_0x1a6191:0xc,_0x10695c:0x5a,_0x519bb1:0x116},_0x532d1a={_0x22d34c:0x63,_0x1a32bd:0x8a,_0x649a8d:0x182},_0x65ac4c={_0x3af62e:0x19b},_0x33e92c={_0x2593df:0xe5},_0x49c605={'sVtNP':function(_0x5707b8,_0xeed626){return _0x5707b8(_0xeed626);}};function _0x1b59c8(_0x4f0907,_0x468ece){return _0x5c96(_0x468ece- -_0x33e92c._0x2593df,_0x4f0907);}const _0x4b01d1=_0x49c605['sVtNP'](getStateFilePath,_0x1ab2c6);function _0xd36ec6(_0x2841c0,_0x128871){return _0x5c96(_0x128871- -_0x65ac4c._0x3af62e,_0x2841c0);}return tool({'description':_0xd36ec6(-_0x5c2bb3._0x1a6191,0x33)+'\x20项目当前状态。\x0a显'+'示项目名称、当前阶段'+_0xd36ec6(_0x5c2bb3._0x10695c,0x7c)+_0x1b59c8(0x139,_0x5c2bb3._0x519bb1),'args':{},async 'execute'(){function _0x3cbf6d(_0x2cd6be,_0x1bfce3){return _0x1b59c8(_0x2cd6be,_0x1bfce3-0x74);}function _0x50fe94(_0x2ca03d,_0x44a8ed){return _0x1b59c8(_0x2ca03d,_0x44a8ed- -0x1e2);}try{return await _0x30e2ab[_0x50fe94(-_0x532d1a._0x22d34c,-0xa4)](_0x4b01d1);}catch(_0x214f14){return _0x50fe94(-0xa0,-_0x532d1a._0x1a32bd)+(_0x214f14 instanceof Error?_0x214f14[_0x3cbf6d(0x141,_0x532d1a._0x649a8d)]:String(_0x214f14));}}});}function createAdvanceTool(_0x302138){const _0x12e60c={_0x521eca:0x93,_0x4abc2f:0x68,_0x4286b2:0x1d,_0x1f9c80:0xc,_0x43695c:0x3a,_0x494002:0x3,_0x529b21:0x5,_0x5be903:0x2b,_0x44d4d6:0xb0,_0x14640f:0x62,_0xfe044f:0x1d,_0x4ac223:0x6e,_0x303fae:0x1a,_0x3fb84d:0x19},_0xc2a358={_0x51bfbe:0x5af,_0x846ebf:0x622,_0xf7c998:0x371,_0x159f3a:0x3ae,_0x55a29b:0x62e,_0x1c40b6:0x34d,_0x3b2d37:0x5f6,_0x4ea3fe:0x61d,_0x1c212b:0x5dc,_0x40fcff:0x5b7,_0x356ddb:0x5d2},_0x310147={};function _0x7f94cb(_0x100df4,_0x56b0e2){return _0x5c96(_0x100df4- -0x29b,_0x56b0e2);}_0x310147[_0x44b021(-0x39,-0x6c)]=function(_0x58fdcc,_0x29cc18){return _0x58fdcc!==_0x29cc18;},_0x310147[_0x7f94cb(-0x99,-_0x12e60c._0x521eca)]='YhQHL';function _0x44b021(_0x26557f,_0x173a37){return _0x5c96(_0x26557f- -0x209,_0x173a37);}_0x310147['KChfl']=_0x7f94cb(-_0x12e60c._0x4abc2f,-0xa2)+_0x44b021(0x16,-0x26)+'选择第一个未完成的)';const _0x162484=_0x310147,_0x5098c6=getStateFilePath(_0x302138);return tool({'description':'推进\x20specops'+_0x7f94cb(-0x5f,-_0x12e60c._0x4286b2)+_0x44b021(_0x12e60c._0x1f9c80,_0x12e60c._0x43695c)+_0x44b021(_0x12e60c._0x494002,-_0x12e60c._0x529b21)+_0x44b021(_0x12e60c._0x5be903,0xc)+'段序列:\x20讨论\x20→\x20'+'规划\x20→\x20执行\x20→\x20'+_0x7f94cb(-_0x12e60c._0x44d4d6,-0xd6)+_0x44b021(-0x34,-_0x12e60c._0x14640f),'args':{'agent_id':tool['schema'][_0x44b021(-_0x12e60c._0xfe044f,-0xa)]()[_0x7f94cb(-_0x12e60c._0x4ac223,-0x93)]()[_0x7f94cb(-0x8d,-0x9d)](_0x162484[_0x44b021(-_0x12e60c._0x303fae,-_0x12e60c._0x3fb84d)])},async 'execute'(_0x24a62f){const _0x218bbc={_0x2bb43c:0x5e8};function _0x1aa719(_0x13478d,_0x3e6922){return _0x44b021(_0x3e6922-_0x218bbc._0x2bb43c,_0x13478d);}function _0xb4077f(_0x47668e,_0x518a51){return _0x7f94cb(_0x518a51-0x40a,_0x47668e);}const _0x38be39={'cvcFj':function(_0x3c7014,_0x1d97cf,_0x3f2f06,_0x45b81a){return _0x3c7014(_0x1d97cf,_0x3f2f06,_0x45b81a);}};if(_0x162484[_0x1aa719(0x57e,_0xc2a358._0x51bfbe)](_0x1aa719(_0xc2a358._0x846ebf,0x5df),_0x162484[_0xb4077f(0x38c,_0xc2a358._0xf7c998)]))return _0x38be39[_0xb4077f(0x36f,_0xc2a358._0x159f3a)](_0x24f67c,_0x507d76,_0x1aa719(_0xc2a358._0x55a29b,0x615),_0xb4077f(0x347,_0xc2a358._0x1c40b6));else try{return await _0x30e2ab[_0x1aa719(_0xc2a358._0x3b2d37,_0xc2a358._0x4ea3fe)+'se'](_0x5098c6,_0x24a62f[_0x1aa719(0x5f4,_0xc2a358._0x1c212b)]);}catch(_0x1576a9){return _0xb4077f(0x3d2,0x3a1)+(_0x1576a9 instanceof Error?_0x1576a9[_0x1aa719(_0xc2a358._0x40fcff,_0xc2a358._0x356ddb)]:String(_0x1576a9));}}});}function createNewProjectTool(_0x179ee1){const _0x2ed50d={_0x30b05a:0x3b9,_0x188af6:0x34a,_0x434f61:0x592,_0xbe9349:0x5ab,_0x2a5f83:0x380,_0xe68712:0x34c,_0x2dca88:0x604,_0x413daf:0x5b6,_0x1c8066:0x37a,_0x12bb76:0x56b,_0x21cbb7:0x595},_0x19bb5d={_0x390fcb:0x1ef},_0x4aed3a={_0x1a9ef2:0xc2,_0x53e6fb:0xde},_0xd46aad={_0x31accd:0x24c},_0x6ef6fe={_0x4d2b19:0x55},_0xee6ece={'QQyDP':function(_0x1e680f,_0x2802b3){return _0x1e680f(_0x2802b3);},'HiKiD':function(_0x399230,_0x431e62){return _0x399230(_0x431e62);},'Pjlwb':_0x2acc52(_0x2ed50d._0x30b05a,0x3db),'rKewj':_0x2acc52(0x346,_0x2ed50d._0x188af6)};function _0x2acc52(_0x2f8c44,_0x45b0f8){return _0x5c96(_0x2f8c44-0x16c,_0x45b0f8);}function _0x2031c4(_0x3aea65,_0x3739c3){return _0x5c96(_0x3739c3-0x3ca,_0x3aea65);}const _0x46e4f2=getStateFilePath(_0x179ee1);return tool({'description':_0x2031c4(_0x2ed50d._0x434f61,_0x2ed50d._0xbe9349)+_0x2acc52(0x377,0x359)+_0x2acc52(_0x2ed50d._0x2a5f83,_0x2ed50d._0xe68712)+_0x2acc52(0x3a3,0x399)+_0x2031c4(_0x2ed50d._0x2dca88,0x5f8)+'。','args':{'project_name':tool['schema'][_0x2031c4(0x5b6,_0x2ed50d._0x413daf)]()[_0x2acc52(_0x2ed50d._0x1c8066,0x3af)](_0xee6ece[_0x2031c4(_0x2ed50d._0x12bb76,_0x2ed50d._0x21cbb7)])},async 'execute'(_0x397478){function _0x2806e4(_0x2ba34d,_0xb59a00){return _0x2acc52(_0x2ba34d- -_0x6ef6fe._0x4d2b19,_0xb59a00);}const _0x38b6a0={'NtYUn':function(_0x5eba2f,_0x5a8465){function _0x206acb(_0x53ad1a,_0x4b883e){return _0x5c96(_0x4b883e- -0x2cd,_0x53ad1a);}return _0xee6ece[_0x206acb(-0xd9,-0xa3)](_0x5eba2f,_0x5a8465);},'yiEAB':function(_0x1f5b9a,_0x2a4bb4){function _0x16923f(_0x49a626,_0x15f131){return _0x5c96(_0x15f131-0x73,_0x49a626);}return _0xee6ece[_0x16923f(0x21b,_0xd46aad._0x31accd)](_0x1f5b9a,_0x2a4bb4);},'ngieD':function(_0x34a452,_0x1de1a0){return _0xee6ece['HiKiD'](_0x34a452,_0x1de1a0);},'BDmkZ':function(_0x796f53,_0x49f5e3){function _0x55a458(_0x3169dd,_0x3ffbec){return _0x5c96(_0x3169dd- -0x2ec,_0x3ffbec);}return _0xee6ece[_0x55a458(-_0x4aed3a._0x1a9ef2,-_0x4aed3a._0x53e6fb)](_0x796f53,_0x49f5e3);}};function _0x24683c(_0x4416b9,_0x320069){return _0x2acc52(_0x320069- -_0x19bb5d._0x390fcb,_0x4416b9);}try{return await _0x30e2ab[_0x24683c(0x1a2,0x19f)](_0x46e4f2,_0x397478['project_na'+'me']);}catch(_0xca2e3d){if(_0xee6ece[_0x2806e4(0x350,0x37b)]===_0x24683c(0x19a,0x18f)){const _0x1b09b2=_0x544188[_0x2806e4(0x330,0x2f0)];return{'name':_0x24683c(0x141,0x166),'tool':{'specops_status':_0x38b6a0['NtYUn'](_0x523b80,_0x1b09b2),'specops_advance':_0x5c1fdd(_0x1b09b2),'specops_new_project':_0x38b6a0['yiEAB'](_0xfd7fc,_0x1b09b2),'specops_update_operation':_0x38b6a0['yiEAB'](_0xa23809,_0x1b09b2),'specops_register_agent':_0xc3e0ed(_0x1b09b2),'specops_deregister_agent':_0x38b6a0[_0x2806e4(0x326,0x341)](_0x20b4ef,_0x1b09b2),'specops_progress':_0x38b6a0['BDmkZ'](_0x555312,_0x1b09b2),'specops_quick':_0x1b4704(_0x1b09b2),'specops_analyze_requirements':_0x5aa443(_0x1b09b2)},'event':async _0x12e021=>{}};}else return'❌\x20创建项目失败:\x20'+(_0xca2e3d instanceof Error?_0xca2e3d['message']:_0xee6ece['QQyDP'](String,_0xca2e3d));}}});}function _0x5c96(_0x2f3d17,_0x2175ec){_0x2f3d17=_0x2f3d17-(0x220f*0x1+-0x3*0xb69+0x1f7);const _0x4429d8=_0x5988();let _0x337263=_0x4429d8[_0x2f3d17];if(_0x5c96['JObrbg']===undefined){var _0x106dd5=function(_0x5a7ae5){const _0x1d6bd6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xcdc8c3='',_0x439099='';for(let _0x162dde=0xb35+-0x2531+-0x2*-0xcfe,_0x5349b9,_0x3b1a16,_0x544188=0x1ae0+-0x1bc0+-0x1c*-0x8;_0x3b1a16=_0x5a7ae5['charAt'](_0x544188++);~_0x3b1a16&&(_0x5349b9=_0x162dde%(-0xc04+-0xa95+0x169d)?_0x5349b9*(0x162b+0xc4c*-0x1+-0x99f)+_0x3b1a16:_0x3b1a16,_0x162dde++%(0x1af3+-0x1*-0xaa+0x933*-0x3))?_0xcdc8c3+=String['fromCharCode'](0x46*-0x8b+0x5*0xb3+0xa*0x38d&_0x5349b9>>(-(-0x20a6+-0x3*0x1+-0x20ab*-0x1)*_0x162dde&0x97a*0x3+0xc95+-0x28fd)):-0x14f7+-0x1*0x2347+0x2e*0x139){_0x3b1a16=_0x1d6bd6['indexOf'](_0x3b1a16);}for(let _0x523b80=-0x11*0x13d+0x265a+-0x114d,_0x5c1fdd=_0xcdc8c3['length'];_0x523b80<_0x5c1fdd;_0x523b80++){_0x439099+='%'+('00'+_0xcdc8c3['charCodeAt'](_0x523b80)['toString'](0x118f+-0xa*0x52+-0xe4b))['slice'](-(-0x7*0x1bb+0x169e+-0xa7f));}return decodeURIComponent(_0x439099);};_0x5c96['sHDTCP']=_0x106dd5,_0x5c96['NrvPTi']={},_0x5c96['JObrbg']=!![];}const _0x3c434b=_0x4429d8[-0xf3b+0x112a*-0x1+0x2065],_0x2fb4c7=_0x2f3d17+_0x3c434b,_0x239e44=_0x5c96['NrvPTi'][_0x2fb4c7];return!_0x239e44?(_0x337263=_0x5c96['sHDTCP'](_0x337263),_0x5c96['NrvPTi'][_0x2fb4c7]=_0x337263):_0x337263=_0x239e44,_0x337263;}function createUpdateOperationTool(_0x42760e){const _0x216df3={_0x1bb751:0x42,_0x3c6a35:0x10,_0x42974d:0x4df,_0x149c43:0x13,_0x5bb6d2:0x40,_0x31f9c5:0x448,_0x185615:0x36,_0x19da2d:0x2a,_0x489e95:0x48f,_0x1626d6:0x7,_0x2f94f7:0x2c,_0x2f9aab:0x57,_0xbae169:0x4ae,_0x33d63e:0x492,_0xaf8f5d:0x37,_0x21a688:0x48b,_0x3ae436:0x15},_0x3bccf7={_0x512a91:0x335,_0x106144:0x380,_0x407a48:0x36e,_0xbd4885:0x387,_0x5c0b20:0x3c4,_0x4ade3f:0x348,_0x315490:0x38c,_0x5c7875:0x386,_0x3f67db:0x369,_0x80013:0x557,_0x239603:0x540,_0xdccafd:0x574,_0x3f59d8:0x39a,_0x962485:0x354,_0x3ad41f:0x39d,_0x21d518:0x5ad,_0x242ea4:0x348,_0x4f1d0f:0x348,_0x17321a:0x59c,_0x479d95:0x347},_0x38d11e={_0x2b235f:0x14b};function _0x3191a5(_0x3bb061,_0xdaa671){return _0x5c96(_0xdaa671-0x2a0,_0x3bb061);}function _0x2a257a(_0x5ed6be,_0x5d3bb8){return _0x5c96(_0x5d3bb8- -0x223,_0x5ed6be);}const _0x2679d9={'IDfqt':_0x2a257a(-_0x216df3._0x1bb751,-_0x216df3._0x3c6a35),'hxLqU':function(_0x54069c,_0x5cfc41){return _0x54069c===_0x5cfc41;},'oNDFG':_0x3191a5(_0x216df3._0x42974d,0x4e0),'KHWBI':'pqLUK','aCdCz':function(_0xc8aec4,_0x5dc499){return _0xc8aec4(_0x5dc499);},'mIpXB':_0x2a257a(-_0x216df3._0x149c43,-_0x216df3._0x5bb6d2)+_0x3191a5(_0x216df3._0x31f9c5,0x484),'wDtuT':_0x2a257a(-_0x216df3._0x185615,-_0x216df3._0x19da2d)+_0x3191a5(_0x216df3._0x489e95,0x4a1)+'rer\x22)'},_0x33779e=_0x2679d9['aCdCz'](getStateFilePath,_0x42760e);return tool({'description':_0x2a257a(_0x216df3._0x1626d6,0x31)+_0x2a257a(-_0x216df3._0x2f94f7,0x17)+'用的工具/技能。\x0a用'+'于实时追踪\x20Agen'+_0x2a257a(-0x67,-_0x216df3._0x2f94f7),'args':{'agent_id':tool[_0x2a257a(-_0x216df3._0x2f9aab,-0x50)]['string']()[_0x3191a5(0x46d,_0x216df3._0xbae169)](_0x3191a5(0x4cd,_0x216df3._0x33d63e)),'operation':tool[_0x2a257a(-0x77,-0x50)][_0x2a257a(-0xf,-_0x216df3._0xaf8f5d)]()[_0x3191a5(_0x216df3._0x21a688,0x4ae)](_0x2679d9['mIpXB']),'skill':tool[_0x3191a5(0x4b1,0x473)][_0x2a257a(-0x19,-_0x216df3._0xaf8f5d)]()[_0x2a257a(-0x53,-_0x216df3._0x3ae436)](_0x2679d9['wDtuT'])},async 'execute'(_0x1dcf4d){const _0x18b761={'mMXIU':function(_0x37d14c,_0x2ef851){return _0x37d14c(_0x2ef851);}};function _0x3d2c02(_0x9dccbd,_0x560920){return _0x3191a5(_0x560920,_0x9dccbd- -_0x38d11e._0x2b235f);}function _0x15ddf1(_0x1b6374,_0xd760bd){return _0x2a257a(_0xd760bd,_0x1b6374-0x57d);}if(_0x2679d9[_0x3d2c02(_0x3bccf7._0x512a91,0x33e)]===_0x3d2c02(_0x3bccf7._0x106144,_0x3bccf7._0x407a48))return _0x3d2c02(_0x3bccf7._0xbd4885,_0x3bccf7._0x5c0b20)+(_0x5015b5 instanceof _0x5094b2?_0x30801a[_0x3d2c02(_0x3bccf7._0x4ade3f,_0x3bccf7._0x315490)]:_0x18f78d(_0x40d015));else try{return _0x2679d9[_0x3d2c02(0x366,0x347)](_0x2679d9[_0x3d2c02(_0x3bccf7._0x5c7875,_0x3bccf7._0x3f67db)],_0x2679d9['oNDFG'])?await _0x30e2ab[_0x15ddf1(0x561,0x5a0)+_0x3d2c02(0x38a,0x397)](_0x33779e,_0x1dcf4d[_0x15ddf1(_0x3bccf7._0x80013,0x520)],_0x1dcf4d[_0x15ddf1(_0x3bccf7._0x239603,0x524)],_0x1dcf4d[_0x15ddf1(_0x3bccf7._0xdccafd,0x5b1)]):_0x3d2c02(_0x3bccf7._0x3f59d8,0x3ac)+(_0x6b9e07 instanceof _0x39a65f?_0x4d5356[_0x3d2c02(0x348,_0x3bccf7._0x962485)]:_0x526395(_0x3f0b27));}catch(_0x693365){return _0x3d2c02(_0x3bccf7._0x3ad41f,0x3b7)===_0x2679d9[_0x15ddf1(0x589,_0x3bccf7._0x21d518)]?'❌\x20获取进度失败:\x20'+(_0x34dffa instanceof _0x1fe63e?_0x6982eb[_0x3d2c02(_0x3bccf7._0x242ea4,_0x3bccf7._0x4f1d0f)]:_0x18b761[_0x15ddf1(_0x3bccf7._0x17321a,0x562)](_0x5cd6fa,_0x1d1930)):'❌\x20更新操作失败:\x20'+(_0x693365 instanceof Error?_0x693365[_0x3d2c02(0x348,_0x3bccf7._0x479d95)]:String(_0x693365));}}});}function createRegisterAgentTool(_0x59e53b){const _0x54aa29={_0x3d2588:0x45e,_0x280df7:0x21,_0x12c3c3:0x468,_0x5bc787:0x9,_0x14291b:0x29,_0x4add7b:0x4e3,_0x2fffdf:0x45,_0x13ee99:0x482,_0x492550:0x4af,_0x5de77e:0x470,_0x1a3877:0x490,_0x10194c:0x2d,_0x1f7869:0x5,_0x1054a0:0x2e,_0x2be39d:0x3f},_0x278cd1={_0x5ce3f2:0x45d,_0x28dc95:0x440,_0x332072:0x4fb,_0x299bbf:0x4a5},_0x58afee={_0x1f45ba:0x282},_0x527216={'vDtkQ':function(_0x187cf3,_0x55f7b4){return _0x187cf3(_0x55f7b4);},'oNvcF':_0x5b7a6e(0x469,_0x54aa29._0x3d2588)+_0x13f005(_0x54aa29._0x280df7,-0x22)};function _0x5b7a6e(_0x52b7b2,_0x1948f1){return _0x5c96(_0x52b7b2-_0x58afee._0x1f45ba,_0x1948f1);}const _0x3eff34=_0x527216['vDtkQ'](getStateFilePath,_0x59e53b);function _0x13f005(_0x208ae2,_0xc4163c){return _0x5c96(_0xc4163c- -0x201,_0x208ae2);}return _0x527216[_0x5b7a6e(0x49d,_0x54aa29._0x12c3c3)](tool,{'description':_0x13f005(-_0x54aa29._0x5bc787,-_0x54aa29._0x14291b)+'\x20到\x20specops'+_0x5b7a6e(0x4a6,_0x54aa29._0x4add7b)+_0x13f005(-_0x54aa29._0x2fffdf,-0x2b)+_0x5b7a6e(0x4ab,_0x54aa29._0x13ee99)+_0x13f005(-0x31,-0x11),'args':{'agent_id':tool[_0x5b7a6e(0x455,0x488)][_0x5b7a6e(0x46e,0x475)]()['describe'](_0x5b7a6e(0x474,_0x54aa29._0x492550)),'parent_id':tool['schema']['string']()[_0x5b7a6e(0x4af,_0x54aa29._0x5de77e)]()[_0x5b7a6e(_0x54aa29._0x1a3877,0x4ce)](_0x13f005(-0x8,-0x14)+_0x13f005(_0x54aa29._0x10194c,-_0x54aa29._0x1f7869)),'phase':tool[_0x13f005(0x11,-_0x54aa29._0x1054a0)]['string']()['optional']()[_0x13f005(_0x54aa29._0x2be39d,0xd)](_0x527216[_0x13f005(-0xa,-0x2d)])},async 'execute'(_0x1311ce){function _0x5c4e6a(_0x11f97d,_0x528142){return _0x5b7a6e(_0x528142- -0x2e,_0x11f97d);}function _0x173972(_0x13fe64,_0x20a433){return _0x13f005(_0x13fe64,_0x20a433-0x50e);}try{return await _0x30e2ab[_0x5c4e6a(0x45c,_0x278cd1._0x5ce3f2)+_0x5c4e6a(_0x278cd1._0x28dc95,0x420)](_0x3eff34,_0x1311ce[_0x173972(_0x278cd1._0x332072,0x50a)],{'parentId':_0x1311ce[_0x5c4e6a(0x45a,0x495)],'phase':_0x1311ce[_0x173972(0x4c5,0x4fe)]});}catch(_0x52c3bd){return _0x5c4e6a(_0x278cd1._0x299bbf,0x472)+'\x20失败:\x20'+(_0x52c3bd instanceof Error?_0x52c3bd[_0x5c4e6a(0x464,0x447)]:String(_0x52c3bd));}}});}function createDeregisterAgentTool(_0x42296a){const _0x3fdb27={_0x526238:0x1b,_0x194f79:0xe,_0x21e713:0x30,_0x3dfb55:0x5e,_0xfe1171:0x12f,_0x147fa0:0xf0,_0x36b773:0xa2,_0x6a78e1:0x4e,_0x43cc29:0x133,_0x48f1ba:0x138},_0x1c7b67={_0x4227ad:0x135,_0x42da27:0xe4,_0x1e85a0:0xdf,_0xa63d53:0xac,_0xe95455:0x5,_0x4ccae0:0x19,_0x58a092:0xe4,_0x5eac04:0xcf,_0x3c5b4d:0x2f,_0x22daab:0xdd,_0x1b7324:0x1,_0x1509dd:0x3,_0x1bf918:0xca,_0x78caa6:0xda},_0x22be84={_0x382b46:0x30},_0x25c4a4={_0x15cef9:0x302},_0x43dd34={_0x408b12:0x25c},_0x502fe4={'fqGdY':function(_0x265432,_0x4e60ae){return _0x265432 instanceof _0x4e60ae;},'AXSaF':function(_0x48c00f,_0x17181b){return _0x48c00f(_0x17181b);},'aIMOn':function(_0x13fc18,_0x1cd289){return _0x13fc18===_0x1cd289;},'rNNUl':_0x23cdfb(-0x3f,-_0x3fdb27._0x526238),'gxNFv':function(_0x2ba6d2,_0x330aa0){return _0x2ba6d2(_0x330aa0);},'nBZsM':function(_0x527556,_0x2edd95){return _0x527556(_0x2edd95);}};function _0x23cdfb(_0x3cbfbd,_0x4d208c){return _0x5c96(_0x3cbfbd- -_0x43dd34._0x408b12,_0x4d208c);}const _0x4659fd=_0x502fe4[_0x23cdfb(-0x36,-0x6e)](getStateFilePath,_0x42296a);function _0x23676d(_0x4149ef,_0xe2575d){return _0x5c96(_0x4149ef- -_0x25c4a4._0x15cef9,_0xe2575d);}return _0x502fe4[_0x23676d(-0x127,-0x150)](tool,{'description':_0x23cdfb(-_0x3fdb27._0x194f79,0x15)+_0x23cdfb(-0x12,-0x47)+_0x23676d(-0xf8,-0x11f)+_0x23cdfb(-0x3b,-_0x3fdb27._0x21e713)+_0x23cdfb(-0x8a,-0x5f)+_0x23cdfb(-0x3c,-_0x3fdb27._0x3dfb55),'args':{'agent_id':tool[_0x23676d(-_0x3fdb27._0xfe1171,-_0x3fdb27._0x147fa0)][_0x23cdfb(-0x70,-_0x3fdb27._0x36b773)]()[_0x23cdfb(-_0x3fdb27._0x6a78e1,-0x8c)](_0x23676d(-_0x3fdb27._0x43cc29,-_0x3fdb27._0x48f1ba)+_0x23676d(-0xc7,-0x106))},async 'execute'(_0x12d8eb){const _0x2f42da={_0x2fd2a0:0x67};function _0x4a1837(_0x56398b,_0x5268f1){return _0x23cdfb(_0x56398b-_0x2f42da._0x2fd2a0,_0x5268f1);}function _0x24877e(_0x387ec8,_0x1b21b9){return _0x23676d(_0x387ec8-_0x22be84._0x382b46,_0x1b21b9);}try{return _0x24877e(-0xf6,-_0x1c7b67._0x4227ad)!==_0x24877e(-0xf6,-_0x1c7b67._0x42da27)?'❌\x20快速任务失败:\x20'+(_0x2f3d17 instanceof _0x2175ec?_0x4429d8[_0x24877e(-_0x1c7b67._0x1e85a0,-_0x1c7b67._0xa63d53)]:_0x337263(_0x106dd5)):await _0x30e2ab[_0x4a1837(_0x1c7b67._0xe95455,_0x1c7b67._0x4ccae0)+_0x24877e(-0xad,-0xd4)](_0x4659fd,_0x12d8eb[_0x24877e(-0xd5,-_0x1c7b67._0x58a092)]);}catch(_0x49638e){return _0x502fe4[_0x24877e(-_0x1c7b67._0x5eac04,-0x109)](_0x502fe4[_0x4a1837(0x5b,_0x1c7b67._0x3c5b4d)],_0x24877e(-0xba,-0x8f))?'❌\x20注销\x20Agent'+_0x24877e(-_0x1c7b67._0x22daab,-0x110)+(_0x502fe4[_0x4a1837(-_0x1c7b67._0x1b7324,_0x1c7b67._0x3c5b4d)](_0x859a4f,_0x2582ff)?_0x451e4e['message']:_0x502fe4[_0x4a1837(_0x1c7b67._0x1509dd,-_0x1c7b67._0x1b7324)](_0x2bc72d,_0x23065c)):_0x24877e(-_0x1c7b67._0x1bf918,-0xc3)+'\x20失败:\x20'+(_0x49638e instanceof Error?_0x49638e[_0x24877e(-0xdf,-0xe3)]:_0x502fe4[_0x24877e(-_0x1c7b67._0x78caa6,-0xc5)](String,_0x49638e));}}});}function createProgressTool(_0x3fb742){const _0x5adc3f={_0x17639d:0x177,_0x2d0386:0x1fd,_0x4d6a10:0x1c9,_0x695d08:0xb},_0x23b014={_0x25ce6e:0x2ec,_0x5b5bf0:0x269,_0x15603d:0x292,_0x2a5a40:0x2bf,_0x4c6167:0x2a3,_0x560bb9:0x3be},_0x215b0f={_0x26135c:0x3b};function _0x517b9d(_0x32325b,_0x1d69ca){return _0x5c96(_0x1d69ca- -_0x215b0f._0x26135c,_0x32325b);}function _0x35b7e4(_0x2629a2,_0x59d977){return _0x5c96(_0x2629a2- -0x202,_0x59d977);}const _0x3cafec={'vEkKk':function(_0x22a034,_0x344bc0){return _0x22a034 instanceof _0x344bc0;},'IcMvV':function(_0x2f2a85,_0x46b56a){return _0x2f2a85(_0x46b56a);},'hcTmG':function(_0x226a76,_0x407180){return _0x226a76(_0x407180);}},_0x2b453d=_0x3cafec[_0x517b9d(0x1a4,0x1ca)](getStateFilePath,_0x3fb742);return tool({'description':_0x517b9d(_0x5adc3f._0x17639d,0x1af)+'\x20项目详细进度。\x0a包'+_0x517b9d(_0x5adc3f._0x2d0386,_0x5adc3f._0x4d6a10)+_0x35b7e4(_0x5adc3f._0x695d08,0x27)+'详情表格。','args':{},async 'execute'(){const _0x508400={_0x367349:0x41a};function _0x3e8eec(_0x4b88df,_0x263f84){return _0x35b7e4(_0x263f84-0x2b2,_0x4b88df);}function _0x3e9c14(_0x3cd298,_0x82c84){return _0x35b7e4(_0x3cd298-_0x508400._0x367349,_0x82c84);}try{return await _0x30e2ab[_0x3e8eec(_0x23b014._0x25ce6e,0x2f7)+'ss'](_0x2b453d);}catch(_0x2c39b8){return'❌\x20获取进度失败:\x20'+(_0x3cafec[_0x3e8eec(_0x23b014._0x5b5bf0,_0x23b014._0x15603d)](_0x2c39b8,Error)?_0x2c39b8[_0x3e8eec(_0x23b014._0x2a5a40,_0x23b014._0x4c6167)]:_0x3cafec[_0x3e9c14(0x3fd,_0x23b014._0x560bb9)](String,_0x2c39b8));}}});}function createQuickTool(_0x5f526a){const _0x50c121={_0x19e6a2:0x455,_0x2e1573:0x3e,_0x3e3685:0xbe,_0x3d9dcb:0x491,_0x4bfaa4:0x4a0,_0x1b70d5:0xbc,_0x4dfbd8:0x4e4},_0x319b07={_0x341d72:0x184,_0x11a6c9:0x192,_0x354579:0x5a4,_0x25ee67:0x594,_0x1fc1a2:0x58a},_0xb29f30={_0x3d96f1:0x4fd},_0x4291e1={_0x559f70:0x1e9},_0x576a6a={_0xb8aa4a:0x28f},_0x57203e={'SIQfq':function(_0x21aad2,_0x34eb7e){return _0x21aad2 instanceof _0x34eb7e;},'vOMgi':_0x519cdd(_0x50c121._0x19e6a2,0x440),'lPgbL':function(_0x50f42b,_0x401ccc){return _0x50f42b(_0x401ccc);},'NZACB':function(_0x436bb3,_0x5c2897){return _0x436bb3(_0x5c2897);}};function _0x519cdd(_0x2df548,_0x5669c8){return _0x5c96(_0x2df548-0x257,_0x5669c8);}const _0x4890dc=getStateFilePath(_0x5f526a);function _0xa9b030(_0x44cc20,_0xa99193){return _0x5c96(_0x44cc20- -_0x576a6a._0xb8aa4a,_0xa99193);}return _0x57203e['NZACB'](tool,{'description':_0xa9b030(-_0x50c121._0x2e1573,-0x6b)+_0xa9b030(-_0x50c121._0x3e3685,-0xf1)+_0x519cdd(0x47e,_0x50c121._0x3d9dcb)+_0xa9b030(-0xb2,-0xec)+_0x519cdd(0x4a0,_0x50c121._0x4bfaa4),'args':{'task':tool[_0xa9b030(-_0x50c121._0x1b70d5,-0x81)][_0x519cdd(0x443,0x40a)]()['describe'](_0x519cdd(0x4a2,_0x50c121._0x4dfbd8))},async 'execute'(_0x4e6488){const _0x34d537={_0x5951d3:0x2eb};function _0x2e7228(_0x581e4b,_0x235447){return _0xa9b030(_0x235447-_0x4291e1._0x559f70,_0x581e4b);}const _0x3fdb78={'NdUID':function(_0x21d513,_0x425e25){function _0x29ccca(_0x2bfaf9,_0x58eaeb){return _0x5c96(_0x58eaeb-_0x34d537._0x5951d3,_0x2bfaf9);}return _0x57203e[_0x29ccca(_0xb29f30._0x3d96f1,0x52f)](_0x21d513,_0x425e25);}};function _0x51d8c8(_0x2ebb5f,_0x4c5bbe){return _0x519cdd(_0x4c5bbe-0x13e,_0x2ebb5f);}try{return await _0x30e2ab[_0x51d8c8(0x5ce,0x5e8)](_0x4890dc,_0x4e6488[_0x2e7228(_0x319b07._0x341d72,_0x319b07._0x11a6c9)]);}catch(_0x2d2924){return _0x2e7228(0x12a,0x131)===_0x57203e[_0x51d8c8(_0x319b07._0x354579,_0x319b07._0x25ee67)]?_0x2e7228(0x186,0x197)+(_0x3fdb78['NdUID'](_0x21065e,_0x22c602)?_0x3dc1cf['message']:_0x2b18b5(_0x8ae99)):'❌\x20快速任务失败:\x20'+(_0x2d2924 instanceof Error?_0x2d2924[_0x51d8c8(_0x319b07._0x1fc1a2,0x588)]:_0x57203e['lPgbL'](String,_0x2d2924));}}});}const SpecOpsPlugin=async _0x469d32=>{const _0x44263f={_0x1536a0:0x2f6,_0x5c6a9b:0x305,_0x3931ab:0x320},_0x3ef7a6={_0x268f4e:0xdd},_0x11666e={_0x1c1cd4:0x38a},_0x2b2671={'MHDsP':function(_0x2bc544,_0x80afa5){return _0x2bc544(_0x80afa5);},'rDcHJ':function(_0x422bd6,_0x2ab89c){return _0x422bd6(_0x2ab89c);},'qRXey':function(_0x26e126,_0x4483a0){return _0x26e126(_0x4483a0);},'cHnMY':function(_0x231aec,_0x341ded){return _0x231aec(_0x341ded);},'PFBXf':function(_0x1ef153,_0x59acf0){return _0x1ef153(_0x59acf0);}};function _0x5a3118(_0x4a0ce0,_0x5be2a3){return _0x5c96(_0x4a0ce0-_0x11666e._0x1c1cd4,_0x5be2a3);}function _0xaa1416(_0x27ef52,_0x400a18){return _0x5c96(_0x400a18-_0x3ef7a6._0x268f4e,_0x27ef52);}const _0x294e74=_0x469d32[_0xaa1416(0x2eb,_0x44263f._0x1536a0)];return{'name':_0x5a3118(0x573,0x56e),'tool':{'specops_status':_0x2b2671[_0xaa1416(0x330,0x320)](createStatusTool,_0x294e74),'specops_advance':createAdvanceTool(_0x294e74),'specops_new_project':createNewProjectTool(_0x294e74),'specops_update_operation':_0x2b2671[_0x5a3118(0x5b6,0x589)](createUpdateOperationTool,_0x294e74),'specops_register_agent':_0x2b2671[_0xaa1416(0x2ec,_0x44263f._0x5c6a9b)](createRegisterAgentTool,_0x294e74),'specops_deregister_agent':_0x2b2671['cHnMY'](createDeregisterAgentTool,_0x294e74),'specops_progress':_0x2b2671[_0xaa1416(0x33e,_0x44263f._0x3931ab)](createProgressTool,_0x294e74),'specops_quick':createQuickTool(_0x294e74),'specops_analyze_requirements':_0x2b2671['PFBXf'](createAnalyzeRequirementsTool,_0x294e74)},'event':async _0x1bb34a=>{}};};export default SpecOpsPlugin;
|