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.
Files changed (42) hide show
  1. package/.opencode/agent/specops-codebase-mapper.md +1 -2
  2. package/.opencode/agent/specops-debugger.md +1 -2
  3. package/.opencode/agent/specops-integration-checker.md +1 -2
  4. package/.opencode/agent/specops-phase-researcher.md +1 -2
  5. package/.opencode/agent/specops-plan-checker.md +1 -2
  6. package/.opencode/agent/specops-project-researcher.md +1 -2
  7. package/.opencode/agent/specops-roadmapper.md +1 -2
  8. package/.opencode/agent/specops-work-verifier.md +1 -2
  9. package/dist/__integration__/fixtures/generator.js +1 -1
  10. package/dist/__integration__/mocks/server.js +1 -1
  11. package/dist/__integration__/setup.js +1 -1
  12. package/dist/acceptance/lazyDetector.js +1 -1
  13. package/dist/acceptance/reporter.js +1 -1
  14. package/dist/acceptance/runner.js +1 -1
  15. package/dist/cli.js +1 -1
  16. package/dist/context/index.js +1 -1
  17. package/dist/context/promptTemplate.js +1 -1
  18. package/dist/context/techContextLoader.js +1 -1
  19. package/dist/engine.js +1 -1
  20. package/dist/evolution/distiller.js +1 -1
  21. package/dist/evolution/index.js +1 -1
  22. package/dist/evolution/memoryGraph.js +1 -1
  23. package/dist/evolution/selector.js +1 -1
  24. package/dist/evolution/signals.js +1 -1
  25. package/dist/evolution/solidify.js +1 -1
  26. package/dist/evolution/store.js +1 -1
  27. package/dist/evolution/types.js +1 -1
  28. package/dist/init.js +1 -1
  29. package/dist/machines/agentMachine.js +1 -1
  30. package/dist/machines/supervisorMachine.js +1 -1
  31. package/dist/persistence/schema.js +1 -1
  32. package/dist/persistence/stateFile.js +1 -1
  33. package/dist/plugin-engine.js +1 -1
  34. package/dist/plugin.js +1 -1
  35. package/dist/requirement-analysis/analyzers/repository-parser.js +1 -1
  36. package/dist/requirement-analysis/generators/prd-generator.js +1 -1
  37. package/dist/requirement-analysis/integrations/v1-integration.js +1 -1
  38. package/dist/requirement-analysis/tools/analyze-requirements.js +1 -1
  39. package/dist/requirement-analysis/utils/error-handler.js +1 -1
  40. package/dist/types/index.js +1 -1
  41. package/dist/utils/id.js +1 -1
  42. package/package.json +1 -1
package/dist/engine.js CHANGED
@@ -1 +1 @@
1
- (function(_0x40a2ad,_0xf9af9d){const _0x36ca90={_0x42aac4:0x326,_0x16a987:0x3fb,_0x1eae1c:0x515,_0x471e26:0x3e0,_0x1fd781:0x378,_0x4fb067:0x3aa,_0x4203d8:0x400,_0x2e8901:0x36f};function _0x4d1172(_0x5d76d2,_0x226242){return _0x10b2(_0x226242-0x136,_0x5d76d2);}function _0xfd93f3(_0x2a6adf,_0x5894d9){return _0x10b2(_0x5894d9-0x1bb,_0x2a6adf);}const _0x197aca=_0x40a2ad();while(!![]){try{const _0x266d4f=-parseInt(_0xfd93f3(0x474,0x4e8))/(-0x18a0+-0x1851*0x1+0x30f2)+parseInt(_0xfd93f3(0x4ec,0x433))/(0x123d+-0x3b*0x4+-0x114f)*(-parseInt(_0xfd93f3(_0x36ca90._0x42aac4,0x3ae))/(-0x331*0xa+0xcb5+0x99c*0x2))+parseInt(_0x4d1172(0x3ee,_0x36ca90._0x16a987))/(-0x5a2*-0x4+-0xb9b+-0xae9)+parseInt(_0xfd93f3(_0x36ca90._0x1eae1c,0x4d6))/(-0x3*0x218+0x125f*-0x1+0x18ac)*(parseInt(_0xfd93f3(0x4a9,0x496))/(-0x30*0x1a+-0x137*-0x1a+0x356*-0x8))+parseInt(_0x4d1172(_0x36ca90._0x471e26,0x3c7))/(-0x5*-0x5f1+0x1cd9+-0x3a87*0x1)*(-parseInt(_0xfd93f3(_0x36ca90._0x1fd781,_0x36ca90._0x4fb067))/(-0x26ca+-0x170a*0x1+0x3ddc))+-parseInt(_0x4d1172(_0x36ca90._0x4203d8,0x3d1))/(-0x1*0x243c+0x1bc7+0x87e*0x1)+-parseInt(_0xfd93f3(_0x36ca90._0x2e8901,0x3b6))/(-0x1*-0x109d+-0x1*0x24f9+-0x175*-0xe)*(-parseInt(_0x4d1172(0x32a,0x3b6))/(0x1f56+-0x939+-0x1612));if(_0x266d4f===_0xf9af9d)break;else _0x197aca['push'](_0x197aca['shift']());}catch(_0x5463c0){_0x197aca['push'](_0x197aca['shift']());}}}(_0xf4a7,-0x10bba3+0xf7fd2+0xe74f5));import{createActor}from'xstate';import{agentMachine}from'./machines/agentMachine.js';import{supervisorMachine}from'./machines/supervisorMachine.js';import{StateFileManager}from'./persistence/stateFile.js';import{PHASES,PIPELINE_PHASES}from'./types/index.js';function _0x256afd(_0x1d6ce2,_0x29b30d){const _0xff5abe={_0x3e39fa:0x6d};return _0x10b2(_0x29b30d-_0xff5abe._0x3e39fa,_0x1d6ce2);}import{loadTechContext}from'./context/index.js';import{generateAgentId}from'./utils/id.js';import{readFileSync,existsSync,mkdirSync}from'node:fs';import{resolve}from'node:path';const _0x8f02bc={};_0x8f02bc[_0x45296c(0x3fa,0x3c5)+_0x256afd(0x2da,0x2c9)]=_0x256afd(0x3b9,0x3a0),_0x8f02bc[_0x256afd(0x2da,0x2d8)+'_analysis']=_0x256afd(0x221,0x26a),_0x8f02bc[_0x256afd(0x279,0x2cd)+_0x256afd(0x3ec,0x37f)]='功能分析',_0x8f02bc[_0x45296c(0x2fa,0x2d0)+'tion']=_0x256afd(0x226,0x264),_0x8f02bc[_0x45296c(0x3f7,0x375)]='讨论',_0x8f02bc[_0x45296c(0x42a,0x433)]='规划',_0x8f02bc[_0x256afd(0x2a7,0x351)]='执行',_0x8f02bc[_0x45296c(0x3f4,0x443)]='验证';const PHASE_NAMES=_0x8f02bc,STATE_FILE_PATH=resolve(process[_0x45296c(0x3ee,0x3f2)](),'.specops',_0x45296c(0x3ba,0x3db));function _0x45296c(_0x6a0f33,_0xce9410){const _0x5a2ae3={_0x5b965c:0x10c};return _0x10b2(_0x6a0f33-_0x5a2ae3._0x5b965c,_0xce9410);}let activeEngine=null;export async function startEngine(_0xf742e6){const _0xc6eb94={_0x1e2867:0x250,_0x58e2ca:0x29a,_0x1177cf:0x27b,_0x20ccc6:0x255,_0x5b5bb1:0x72,_0x116db6:0x245,_0x5cf282:0x29c,_0x19a1e0:0x60,_0x1a05fa:0x6,_0x2e0fc7:0x24d,_0xafb02f:0x215,_0x5d44be:0xf,_0x56c27d:0xae,_0x4990d8:0x2f,_0xf06fee:0x1c,_0x4e5f41:0x4b,_0x5a4b8f:0x190,_0x13ce25:0x213,_0x118f60:0x2b,_0x10c6f8:0x33,_0x1381e5:0x28,_0x1c1e20:0xf5,_0x1713d2:0x59,_0x502281:0x2c3,_0x33c43d:0x1de,_0x34f840:0x1e5,_0x20d990:0x1bc,_0x5a78c9:0x2f,_0x48c0d7:0x54,_0x162937:0xd6,_0x2f00ee:0x202,_0x3913cc:0x22a,_0x404ec8:0x97,_0x4ad4e7:0x24,_0x20122e:0x301,_0x2d4824:0x356,_0x5497e1:0x1d5,_0x1eed40:0x261,_0x512894:0x36,_0x276875:0x240,_0x3fa722:0x2d6,_0x238b99:0x156,_0x1ad038:0xf1,_0x5a8436:0xba,_0x2a7016:0x151,_0xa7ded3:0x1e9,_0x505bdf:0x1c6,_0x5ab4ea:0x2f,_0x35af47:0x214,_0x230d6f:0x254,_0x576201:0x4c,_0x5a36be:0x6d,_0x4d5bce:0x27a},_0x30b807={_0x5d5720:0x3c4},_0x8df688={'PMyeK':_0x58f9d4(0x20f,_0xc6eb94._0x1e2867)+_0x58f9d4(_0xc6eb94._0x58e2ca,_0xc6eb94._0x1177cf),'TlNjq':_0x58f9d4(0x253,_0xc6eb94._0x20ccc6)+_0x370c1f(0x29,_0xc6eb94._0x5b5bb1),'ptzMm':function(_0x1b6110,_0x3f3a74){return _0x1b6110>_0x3f3a74;},'zSLuR':function(_0x579082,_0x328137,_0x50bd37){return _0x579082(_0x328137,_0x50bd37);},'yzKzL':'START_PHAS'+'E','JJnjP':function(_0x5e3d84){return _0x5e3d84();},'gSKVD':_0x58f9d4(_0xc6eb94._0x116db6,0x26d)+_0x58f9d4(0x1f6,0x265),'vPscw':function(_0xb7104b,_0x446276){return _0xb7104b+_0x446276;},'FkcrZ':function(_0x14049d,_0x486543,_0x57a9e9){return _0x14049d(_0x486543,_0x57a9e9);},'qrxlc':function(_0x4ea8b4,_0x35540c){return _0x4ea8b4!==_0x35540c;},'mTVYs':'WPlkH','gAXbS':_0x58f9d4(_0xc6eb94._0x5cf282,0x26c)+_0x370c1f(-_0xc6eb94._0x19a1e0,-0xe6)+_0x370c1f(-_0xc6eb94._0x1a05fa,-0x63)+_0x370c1f(0x12,0x4b)+'段'},{projectName:_0x234733,agentCount:agentCount=-0x301+0x45*0x7f+-0x1f39,phases:phases=PHASES}=_0xf742e6,_0x2fd398=new Map();console[_0x58f9d4(_0xc6eb94._0x2e0fc7,_0xc6eb94._0xafb02f)](_0x370c1f(-_0xc6eb94._0x5d44be,-_0xc6eb94._0x56c27d)+'an\x20Agent\x20引'+'擎'),console['log'](_0x370c1f(-0xd3,-0x1a)+_0x234733),console[_0x370c1f(-_0xc6eb94._0x4990d8,-0xc6)](_0x58f9d4(0x1fe,0x173)+_0x370c1f(-_0xc6eb94._0xf06fee,-0xd4)+agentCount),console[_0x370c1f(-_0xc6eb94._0x4990d8,-_0xc6eb94._0x4e5f41)]('\x20\x20\x20阶段序列:\x20'+phases[_0x370c1f(-0x32,-0x71)](_0x413c0d=>PHASE_NAMES[_0x413c0d]??_0x413c0d)[_0x58f9d4(_0xc6eb94._0x5a4b8f,0xe4)](_0x58f9d4(0x293,0x2f4))+'\x0a');let _0x17a76d=null;try{_0x17a76d=loadTechContext(),_0x17a76d&&console[_0x58f9d4(0x24d,_0xc6eb94._0x13ce25)](_0x370c1f(_0xc6eb94._0x118f60,_0xc6eb94._0x10c6f8));}catch(_0x592fb0){console[_0x370c1f(-0x31,-_0xc6eb94._0x1381e5)](_0x8df688[_0x370c1f(-0x90,-_0xc6eb94._0x1c1e20)],_0x592fb0);}let _0x444a78=null;if(_0x8df688['ptzMm'](agentCount,0x16ac+-0x3e6*0x3+-0xaf9)){const _0x34da31=generateAgentId(),_0x48b58e={};_0x48b58e[_0x370c1f(-0x7a,-0x1a)]=_0x34da31;const _0x1dbca3={};_0x1dbca3['input']=_0x48b58e,_0x444a78=_0x8df688['zSLuR'](createActor,supervisorMachine,_0x1dbca3),_0x444a78[_0x370c1f(-_0xc6eb94._0x1713d2,-0xa4)]();const _0x36d861={};_0x36d861['type']=_0x8df688[_0x58f9d4(_0xc6eb94._0x502281,0x20e)],_0x36d861[_0x58f9d4(_0xc6eb94._0x1177cf,_0xc6eb94._0x33c43d)]=phases[0x3*-0x775+0x253+0x140c],_0x444a78[_0x58f9d4(_0xc6eb94._0x34f840,_0xc6eb94._0x20d990)](_0x36d861),console[_0x370c1f(-_0xc6eb94._0x5a78c9,0x22)]('['+_0x34da31+(']\x20Supervis'+_0x370c1f(_0xc6eb94._0x48c0d7,0x9e)));for(let _0x389f10=-0x157*0xe+-0x13f9*-0x1+-0x137;_0x389f10<agentCount;_0x389f10++){const _0x1ea867=_0x8df688[_0x370c1f(-_0xc6eb94._0x162937,-0x13f)](generateAgentId);_0x444a78['send']({'type':_0x8df688['gSKVD'],'childId':_0x1ea867,'task':'子任务\x20'+_0x8df688['vPscw'](_0x389f10,-0x388+-0x9*0xf3+0xc14)});const _0x24ed25={};_0x24ed25[_0x58f9d4(_0xc6eb94._0x2f00ee,0x248)]=_0x1ea867,_0x24ed25[_0x58f9d4(0x18f,_0xc6eb94._0x3913cc)]=_0x34da31,_0x24ed25[_0x370c1f(-0xb9,-0xeb)]=phases;const _0x235681={};_0x235681['input']=_0x24ed25;const _0x280a3b=_0x8df688[_0x58f9d4(0x27d,_0xc6eb94._0x1177cf)](createActor,agentMachine,_0x235681);_0x280a3b[_0x370c1f(-_0xc6eb94._0x1713d2,-0xc7)]();const _0x38128a={};_0x38128a[_0x58f9d4(0x246,0x298)]='START',_0x280a3b[_0x370c1f(-_0xc6eb94._0x404ec8,-_0xc6eb94._0x4ad4e7)](_0x38128a),_0x2fd398[_0x370c1f(-0xb6,-0xfe)](_0x1ea867,_0x280a3b),console[_0x58f9d4(0x24d,0x20f)]('['+_0x34da31+(']\x20派发子\x20Agen'+_0x58f9d4(_0xc6eb94._0x20122e,_0xc6eb94._0x2d4824))+_0x1ea867);}}else{if(_0x8df688[_0x58f9d4(0x1ca,_0xc6eb94._0x5497e1)](_0x58f9d4(_0xc6eb94._0x1eed40,0x2df),_0x8df688['mTVYs'])){const _0x376089={};_0x376089[_0x370c1f(-_0xc6eb94._0x512894,-0x35)]=_0x8df688[_0x58f9d4(_0xc6eb94._0x276875,_0xc6eb94._0x3fa722)],_0x4566b6[_0x58f9d4(_0xc6eb94._0x34f840,0x165)](_0x376089);}else{const _0x463d4a=_0x8df688['JJnjP'](generateAgentId),_0x1baa78={};_0x1baa78['agentId']=_0x463d4a,_0x1baa78[_0x370c1f(-0xb9,-_0xc6eb94._0x238b99)]=phases;const _0x316262={};_0x316262[_0x370c1f(-_0xc6eb94._0x1ad038,-_0xc6eb94._0x5a8436)]=_0x1baa78;const _0x58a561=_0x8df688[_0x370c1f(-0xd2,-_0xc6eb94._0x2a7016)](createActor,agentMachine,_0x316262);_0x58a561[_0x58f9d4(0x223,_0xc6eb94._0xa7ded3)]();const _0x5ed55a={};_0x5ed55a[_0x370c1f(-0x36,0x35)]=_0x370c1f(0x74,0x10c),_0x58a561[_0x370c1f(-_0xc6eb94._0x404ec8,-0x11b)](_0x5ed55a),_0x2fd398[_0x58f9d4(_0xc6eb94._0x505bdf,0x15f)](_0x463d4a,_0x58a561),console[_0x370c1f(-_0xc6eb94._0x5ab4ea,0x15)]('['+_0x463d4a+(_0x370c1f(-0x74,-0xc6)+_0x58f9d4(_0xc6eb94._0x35af47,0x192)));}}const _0x21ede6={};function _0x370c1f(_0x1504ac,_0x4632b8){return _0x45296c(_0x1504ac- -_0x30b807._0x5d5720,_0x4632b8);}_0x21ede6['projectNam'+'e']=_0x234733,_0x21ede6[_0x58f9d4(0x1c3,_0xc6eb94._0x230d6f)]=phases,_0x21ede6[_0x370c1f(-0x3b,_0xc6eb94._0x576201)]=_0x2fd398,_0x21ede6[_0x58f9d4(0x1a5,0x23a)+_0x58f9d4(0x1f8,0x233)]=_0x444a78,_0x21ede6[_0x370c1f(0x10,-_0xc6eb94._0x5a36be)+'t']=_0x17a76d;function _0x58f9d4(_0xe070e5,_0x22531e){return _0x45296c(_0xe070e5- -0x148,_0x22531e);}activeEngine=_0x21ede6,await persistCurrentState(),console[_0x58f9d4(0x24d,0x2a0)](_0x8df688[_0x58f9d4(_0xc6eb94._0x4d5bce,0x233)]);}export async function advancePhase(_0x1dd1a5){const _0x123687={_0x5eee7f:0x400,_0x4433dc:0x544,_0x11e811:0x4a0,_0x2b5c86:0x372,_0x8fbf5c:0x384,_0x15d6e9:0x470,_0x2c1d8e:0x1,_0x6c8bd1:0x46b,_0xe25d2c:0x44e,_0x240647:0x449,_0x4c1a9a:0x35,_0x357945:0x425,_0x456859:0x32a,_0x4b0a4d:0x3d9,_0x50c699:0x3,_0x40779a:0xd8,_0x53d9c2:0xb2,_0x2a89c7:0x4a2,_0x3be155:0x78,_0x524638:0x6c,_0x386744:0xae,_0x4d2752:0x4,_0x6bf12a:0x46c,_0x1b0949:0x46d,_0x54b471:0x3ae,_0x565a6e:0x2a,_0x27c669:0x4a0,_0x5ca2f0:0x8b,_0x48a0d8:0x3ea,_0x2364bc:0x4fc,_0x2166eb:0x496,_0x4cfe6b:0x407,_0x38ace9:0x453,_0x5acdf7:0x4a,_0x11a9e9:0xe8,_0x452fc1:0x4c4,_0x309d58:0x4b4,_0x508f53:0x309,_0x260f7a:0x12e,_0x197998:0x405},_0x342df6={'llQXk':_0x48fe5b(0x3ae,_0x123687._0x5eee7f)+_0x42ebb0(-0x4c,-0x85),'aChzb':'completed','elZCW':function(_0x22b9fc,_0x558903){return _0x22b9fc(_0x558903);},'YNZPN':function(_0x4508a7,_0x3e7223){return _0x4508a7===_0x3e7223;},'KkEHu':'GdWXT','ufHUQ':function(_0x56ebd0){return _0x56ebd0();},'Qyggx':_0x48fe5b(_0x123687._0x4433dc,_0x123687._0x11e811),'FnjtC':'qmOXK'};function _0x42ebb0(_0x30e30e,_0x4b309b){return _0x45296c(_0x4b309b- -0x3df,_0x30e30e);}if(activeEngine){const {actors:_0x24e72f}=activeEngine,_0x15d710=_0x1dd1a5??findFirstIncompleteAgent(_0x24e72f);if(!_0x15d710){if(_0x1dd1a5){await _0x342df6[_0x48fe5b(0x37f,_0x123687._0x2b5c86)](advancePhaseViaFile,_0x1dd1a5);return;}console[_0x42ebb0(-0x9,-0x4a)](_0x342df6['llQXk']);return;}const _0x2b2455=_0x24e72f[_0x48fe5b(_0x123687._0x8fbf5c,0x39f)](_0x15d710);if(!_0x2b2455){await advancePhaseViaFile(_0x15d710);return;}const _0xdc7688=_0x2b2455['getSnapsho'+'t'](),_0x51b714=typeof _0xdc7688[_0x48fe5b(0x41f,_0x123687._0x15d6e9)]===_0x42ebb0(-0x35,-0x6c)?_0xdc7688[_0x42ebb0(-0x6e,_0x123687._0x2c1d8e)]:_0x48fe5b(_0x123687._0x6c8bd1,0x468);if(_0x51b714==='completed'){if(_0x342df6[_0x48fe5b(_0x123687._0xe25d2c,_0x123687._0x240647)](_0x42ebb0(0x68,0x16),_0x342df6[_0x42ebb0(-_0x123687._0x4c1a9a,0x19)])){_0x27e208[_0x48fe5b(0x4bb,0x425)](_0x342df6[_0x48fe5b(0x4bd,0x459)]);return;}else{console[_0x48fe5b(0x3ef,_0x123687._0x357945)]('['+_0x15d710+_0x48fe5b(_0x123687._0x456859,_0x123687._0x4b0a4d));return;}}const _0x13872c={};_0x13872c[_0x42ebb0(-0xc0,-0x51)]='PHASE_COMP'+_0x42ebb0(0x7c,_0x123687._0x50c699),_0x2b2455[_0x42ebb0(-_0x123687._0x40779a,-_0x123687._0x53d9c2)](_0x13872c);const _0x2e9553=_0x2b2455[_0x48fe5b(0x466,_0x123687._0x2a89c7)+'t'](),_0x20b0b6=typeof _0x2e9553[_0x42ebb0(_0x123687._0x3be155,0x1)]===_0x42ebb0(-0x116,-_0x123687._0x524638)?_0x2e9553[_0x48fe5b(0x500,_0x123687._0x15d6e9)]:_0x42ebb0(-0x8e,-0x7),_0x231f1f=PHASE_NAMES[_0x51b714]??_0x51b714,_0x269102=PHASE_NAMES[_0x20b0b6]??_0x20b0b6;console[_0x48fe5b(0x4aa,0x425)]('['+_0x15d710+']\x20'+_0x231f1f+_0x42ebb0(-_0x123687._0x386744,-_0x123687._0x4d2752)+_0x269102),await _0x342df6[_0x48fe5b(_0x123687._0x6bf12a,_0x123687._0x1b0949)](persistCurrentState);_0x342df6[_0x42ebb0(-0xf,-0x26)](_0x20b0b6,_0x48fe5b(_0x123687._0x54b471,0x458))&&(_0x342df6[_0x42ebb0(0x7c,_0x123687._0x565a6e)]===_0x48fe5b(0x4f3,_0x123687._0x27c669)?(console[_0x42ebb0(-0x9d,-0x4a)](_0x42ebb0(-0x90,-_0x123687._0x5ca2f0)+_0x15d710+_0x48fe5b(0x40a,_0x123687._0x48a0d8)),_0x342df6['ufHUQ'](checkAllComplete)):_0x3d3f7c=_0x342df6[_0x48fe5b(_0x123687._0x2364bc,_0x123687._0x2166eb)]);return;}function _0x48fe5b(_0x5c8155,_0x3602cd){return _0x45296c(_0x3602cd-0x90,_0x5c8155);}if(_0x1dd1a5)await advancePhaseViaFile(_0x1dd1a5);else{const _0x41d1db=await _0x342df6['ufHUQ'](readStateFile);if(!_0x41d1db){if(_0x48fe5b(_0x123687._0x4cfe6b,0x3a9)===_0x342df6[_0x42ebb0(-0xfd,-0xff)]){if(_0x18d28e[_0x2c50dc]['phase']!=='completed'){const _0x11e99b={..._0x1f4eb6[_0x3016cb]};_0x11e99b[_0x48fe5b(0x3e5,_0x123687._0x38ace9)]=_0x404fd5,_0x526eea[_0x157059]=_0x11e99b;}}else{console[_0x42ebb0(-0x103,-_0x123687._0x5acdf7)](_0x42ebb0(-0x3e,-_0x123687._0x11a9e9)+_0x48fe5b(_0x123687._0x452fc1,_0x123687._0x309d58)+'行\x20start\x20或\x20'+'new-projec'+_0x48fe5b(_0x123687._0x508f53,0x388));return;}}const _0x15e999=Object[_0x48fe5b(0x395,0x3f0)](_0x41d1db['agents'])[_0x42ebb0(-_0x123687._0x260f7a,-0xdb)](_0x54725e=>_0x41d1db['agents'][_0x54725e][_0x48fe5b(0x475,0x453)]!==_0x42ebb0(0x30,-0x17));if(!_0x15e999){console[_0x48fe5b(_0x123687._0x197998,0x425)](_0x342df6['llQXk']);return;}await _0x342df6['elZCW'](advancePhaseViaFile,_0x15e999);}}async function advancePhaseViaFile(_0x5e4ba9){const _0x38dfab={_0x198c04:0x1a0,_0x59dab9:0xfe,_0x54a39c:0xaf,_0x11b608:0xde,_0x57382a:0x5e,_0x33a717:0xe2,_0x3e5d84:0x5b,_0x1fd441:0x15d,_0x4f5b0a:0x139,_0x426150:0x162,_0x3436b7:0x5,_0x567d1b:0x6b,_0x2fea73:0x1df,_0x1429f4:0x5c,_0x4b92cb:0x99,_0x3416bb:0x56,_0x394a91:0x8a,_0x42e142:0xfb,_0x2935c0:0xe6,_0xeb5341:0x114,_0x4c8296:0x7a,_0xfc4e8f:0x75,_0x547f76:0xb0,_0x207bed:0x47,_0x13d6d0:0xf,_0x59ca14:0x159,_0x5329a2:0x93,_0x116ccc:0xd8,_0x29ee4e:0xab,_0x71e80e:0x37,_0x4c35e5:0x11d,_0xfc2297:0x2f,_0x2a068a:0xde,_0x42a672:0x4f,_0x17fd82:0x6e,_0x3d65da:0x6d,_0x27b05f:0x1d2,_0x590b19:0x164,_0x20c2e6:0x3c,_0x60aed6:0x38,_0x59b7c0:0x32,_0x232c5d:0x19d,_0x118993:0x83,_0x7dd475:0x0,_0x314b17:0xcc,_0x197a69:0x15d,_0x2d0be5:0x178,_0x217847:0x8,_0x21f2a5:0x181,_0x4256ce:0x15,_0x21a96d:0x168,_0x9dc9f7:0x14b,_0x15bbeb:0x99,_0x1d9ea7:0x4e,_0x1b134c:0x71,_0x4d1ee4:0x70,_0x42ca37:0x11,_0x294464:0x13d,_0x4349e6:0x113,_0x13114b:0x79,_0x9f7fbd:0x12f,_0xe0d196:0xa0,_0x52a654:0xb1,_0x278ab0:0x109,_0x538728:0x9e,_0x532150:0x5e},_0x308449={'czWTH':function(_0xdfffb6,_0x405067){return _0xdfffb6+_0x405067;},'kOwfy':function(_0x1e1f18,_0x412315,_0x1f7283){return _0x1e1f18(_0x412315,_0x1f7283);},'cAtbN':function(_0xbf6c55){return _0xbf6c55();},'uCwOX':function(_0x414273,_0x29a116){return _0x414273===_0x29a116;},'VXooq':function(_0x445d90,_0x4145d0){return _0x445d90>=_0x4145d0;},'qHaMv':function(_0x4772d4,_0x113bde){return _0x4772d4<_0x113bde;},'RPoin':function(_0x5a12be,_0x580751){return _0x5a12be!==_0x580751;},'ORtVh':function(_0x42fc0f,_0x426aec){return _0x42fc0f-_0x426aec;},'YcitH':function(_0x53b0c9,_0x15442e){return _0x53b0c9>=_0x15442e;},'omsho':function(_0x28132c,_0x18f9ed){return _0x28132c===_0x18f9ed;},'XqIcb':_0x3b2e59(_0x38dfab._0x198c04,_0x38dfab._0x59dab9),'qcxgW':function(_0x422b4e,_0x3b7539){return _0x422b4e-_0x3b7539;},'ArdBD':_0x3b2e59(-0xbe,-0x4b),'VeEtJ':_0x3b2e59(0x70,-0x36),'OGDVi':function(_0x4a85ec,_0x15046c){return _0x4a85ec===_0x15046c;},'dwiAr':'completed','TKQlQ':_0x5d11a2(_0x38dfab._0x54a39c,_0x38dfab._0x11b608),'TngHV':function(_0x444b97,_0x4c0f26){return _0x444b97===_0x4c0f26;}},_0x29a1b5=await readStateFile();if(!_0x29a1b5){console['log'](_0x3b2e59(-_0x38dfab._0x57382a,0x7));return;}function _0x5d11a2(_0x1c9cf3,_0xe6f14a){return _0x45296c(_0x1c9cf3- -0x266,_0xe6f14a);}const _0x1a0981=_0x29a1b5['agents'][_0x5e4ba9];if(!_0x1a0981){console['log'](_0x5d11a2(0x15a,0x133)+_0x5e4ba9+(_0x5d11a2(_0x38dfab._0x33a717,0xc3)+'e.json'));return;}if(_0x308449[_0x3b2e59(0xd3,_0x38dfab._0x3e5d84)](_0x1a0981[_0x5d11a2(_0x38dfab._0x1fd441,_0x38dfab._0x4f5b0a)],_0x5d11a2(_0x38dfab._0x426150,0x159))){console[_0x3b2e59(_0x38dfab._0x3436b7,_0x38dfab._0x567d1b)]('['+_0x5e4ba9+']\x20已完成全部阶段');return;}const _0xdb16e3=[...PHASES,...PIPELINE_PHASES],_0x173689=_0xdb16e3['indexOf'](_0x1a0981[_0x5d11a2(_0x38dfab._0x1fd441,_0x38dfab._0x2fea73)]);let _0x2db4a7;if(_0x308449['VXooq'](_0x173689,0x10*-0x85+-0x2503+0x2d53)&&_0x308449['qHaMv'](_0x173689,_0xdb16e3[_0x5d11a2(0xfb,0xfb)]-(0xd23+0x616+-0x1338))){const _0x433d81=PHASES[_0x5d11a2(0x160,0x1bd)](_0x1a0981[_0x5d11a2(_0x38dfab._0x1fd441,0xbc)]),_0x48154b=PIPELINE_PHASES['indexOf'](_0x1a0981[_0x3b2e59(_0x38dfab._0x1429f4,_0x38dfab._0x4b92cb)]);if(_0x308449[_0x3b2e59(0xe1,_0x38dfab._0x3416bb)](_0x433d81,-0x1ee3*0x1+-0x1*-0xdf+0x1e04))_0x308449['RPoin'](_0x3b2e59(0x9e,_0x38dfab._0x394a91),_0x5d11a2(_0x38dfab._0x11b608,0x194))?_0x433d81<_0x308449[_0x5d11a2(0xd6,0x18b)](PHASES[_0x5d11a2(_0x38dfab._0x42e142,_0x38dfab._0x2935c0)],-0x2551+-0x21b6+-0x8e1*-0x8)?_0x2db4a7=PHASES[_0x433d81+(0x579+-0x1a85+0x11*0x13d)]:_0x2db4a7=_0x3b2e59(0x131,0x9e):_0x8f42c2[_0x5d11a2(_0x38dfab._0xeb5341,_0x38dfab._0x4c8296)](_0x3b2e59(-0x4e,0x2e)+(_0x41e34c instanceof _0x6ea7e8?_0xef168c['message']:_0x306b51(_0x25020f)));else{if(_0x308449[_0x3b2e59(0x119,_0x38dfab._0xfc4e8f)](_0x48154b,-0x21e*-0x6+0x6*0x517+0x29*-0x10e)){if(_0x308449[_0x5d11a2(0x146,_0x38dfab._0x547f76)](_0x308449[_0x3b2e59(-_0x38dfab._0x207bed,-_0x38dfab._0x13d6d0)],_0x308449[_0x5d11a2(0xb5,_0x38dfab._0x59ca14)])){if(_0x308449['qHaMv'](_0x48154b,_0x308449[_0x3b2e59(_0x38dfab._0x5329a2,_0x38dfab._0x116ccc)](PIPELINE_PHASES[_0x3b2e59(_0x38dfab._0x29ee4e,_0x38dfab._0x71e80e)],0x26*-0xfb+-0x13a1+0x38e4)))_0x308449[_0x3b2e59(_0x38dfab._0x4c35e5,0x6e)]===_0x5d11a2(0x9c,0xff)?_0x1c2c60=_0x5b172b[_0x308449['czWTH'](_0x44c4b8,-0xe*-0x16c+0x12*-0x142+0x1*0x2bd)]:_0x2db4a7=PIPELINE_PHASES[_0x48154b+(-0x146*0x7+-0x196a*-0x1+-0x107f)];else{if(_0x308449['VeEtJ']===_0x3b2e59(_0x38dfab._0xfc2297,_0x38dfab._0x2a068a)){const _0xd365ff=_0x4232c6(),_0x1063fc={};_0x1063fc[_0x3b2e59(_0x38dfab._0x42a672,0x20)]=_0xd365ff,_0x1063fc[_0x3b2e59(_0x38dfab._0x17fd82,-0x1f)]=_0x2ee622;const _0x5d48ed={};_0x5d48ed[_0x5d11a2(_0x38dfab._0x3d65da,-0xb)]=_0x1063fc;const _0x136d80=_0x308449['kOwfy'](_0x5dedac,_0x1977e0,_0x5d48ed);_0x136d80[_0x3b2e59(0xc9,0x41)]();const _0x121c1e={};_0x121c1e['type']=_0x5d11a2(_0x38dfab._0x27b05f,_0x38dfab._0x590b19),_0x136d80[_0x3b2e59(_0x38dfab._0x54a39c,0x3)](_0x121c1e),_0x532f68[_0x3b2e59(0x2d,-0x1c)](_0xd365ff,_0x136d80),_0x175228[_0x5d11a2(0x12f,0x108)]('['+_0xd365ff+(_0x3b2e59(-_0x38dfab._0x20c2e6,0x26)+_0x3b2e59(-_0x38dfab._0x60aed6,_0x38dfab._0x59b7c0)));}else _0x2db4a7='completed';}}else _0x26fd5e=_0x308449['cAtbN'](_0x32694f);}else _0x2db4a7=_0x5d11a2(0x162,_0x38dfab._0x232c5d);}}else _0x308449[_0x3b2e59(_0x38dfab._0x118993,0x11)](_0x1a0981[_0x3b2e59(0x2d,0x99)],'idle')?_0x2db4a7=PHASES[-0xd*0x187+-0x213e+0x3*0x11b3]:_0x2db4a7=_0x308449[_0x3b2e59(_0x38dfab._0x7dd475,-0x19)];const _0x26f9d9=PHASE_NAMES[_0x1a0981[_0x5d11a2(0x15d,_0x38dfab._0x314b17)]]??_0x1a0981[_0x5d11a2(_0x38dfab._0x197a69,_0x38dfab._0x2d0be5)],_0x305566=PHASE_NAMES[_0x2db4a7]??_0x2db4a7,_0x68b2b2={..._0x29a1b5[_0x3b2e59(0x85,0x4a)]},_0x107064=_0x68b2b2,_0x2875e3={..._0x1a0981};_0x2875e3[_0x3b2e59(0x86,_0x38dfab._0x4b92cb)]=_0x2db4a7,_0x2875e3['currentOpe'+'ration']='';function _0x3b2e59(_0x1b6dd8,_0xf2c2da){return _0x256afd(_0x1b6dd8,_0xf2c2da- -0x28b);}_0x2875e3['currentSki'+'ll']='',_0x107064[_0x5e4ba9]=_0x2875e3;let _0x2848ae='completed';for(const _0x1f0037 of Object[_0x3b2e59(_0x38dfab._0x217847,0x36)](_0x107064)){if(_0x308449[_0x3b2e59(_0x38dfab._0x21f2a5,0x102)](_0x107064[_0x1f0037]['phase'],_0x308449['dwiAr'])){if(_0x308449[_0x3b2e59(0x41,0x11)](_0x3b2e59(-0x95,-_0x38dfab._0x4256ce),_0x308449[_0x5d11a2(0x10c,_0x38dfab._0x21a96d)])){_0x2848ae=_0x107064[_0x1f0037][_0x3b2e59(_0x38dfab._0x9dc9f7,_0x38dfab._0x15bbeb)];break;}else{_0x20b1ae[_0x3b2e59(0x10,_0x38dfab._0x567d1b)]('⚠️\x20\x20Agent\x20'+_0x267458+_0x3b2e59(0xcd,0xf8));return;}}}const _0xca071b={..._0x29a1b5[_0x3b2e59(-0xe3,-_0x38dfab._0x1d9ea7)]};_0xca071b[_0x3b2e59(_0x38dfab._0x1b134c,_0x38dfab._0x4d1ee4)+'se']=_0x2848ae;const _0xfa80f1={};_0xfa80f1[_0x3b2e59(-_0x38dfab._0x42ca37,-0x4e)]=_0xca071b,_0xfa80f1[_0x5d11a2(0x10e,0x17a)]=_0x107064,_0xfa80f1['machineSna'+_0x5d11a2(_0x38dfab._0x294464,_0x38dfab._0x4349e6)]=_0x29a1b5[_0x5d11a2(0x1e4,0x134)+_0x3b2e59(0x4c,_0x38dfab._0x13114b)],await writeStateFile(_0xfa80f1),console[_0x5d11a2(_0x38dfab._0x9f7fbd,0x16c)]('['+_0x5e4ba9+']\x20'+_0x26f9d9+_0x3b2e59(_0x38dfab._0xe0d196,_0x38dfab._0x52a654)+_0x305566),_0x308449[_0x3b2e59(0x8c,0xd5)](_0x2db4a7,_0x3b2e59(_0x38dfab._0x278ab0,_0x38dfab._0x538728))&&console[_0x3b2e59(0x24,0x6b)](_0x5d11a2(0xee,_0x38dfab._0x532150)+_0x5e4ba9+_0x5d11a2(0xf4,_0x38dfab._0x5329a2));}export async function updateOperation(_0x1fae5c,_0x5c6c6d,_0x2374ab){const _0x26847c={_0x16417c:0x37,_0x57eebe:0x6a,_0x4f86d4:0xac,_0x921ba:0x140,_0x4c288e:0x13b},_0xa21ab2={_0x7ee8a7:0x2fd};function _0x48bc46(_0xb6ec6,_0x1ce737){return _0x256afd(_0x1ce737,_0xb6ec6- -_0xa21ab2._0x7ee8a7);}function _0x405555(_0x19e0fb,_0x4fb427){return _0x256afd(_0x19e0fb,_0x4fb427- -0x184);}const _0x124f99={'gAxYZ':_0x405555(0x200,0x1bb)+_0x48bc46(-_0x26847c._0x16417c,_0x26847c._0x57eebe),'Dqlro':function(_0x30505d){return _0x30505d();},'ZYWZR':function(_0x1e6e6a,_0x1eade5,_0x50d4db,_0x36753d){return _0x1e6e6a(_0x1eade5,_0x50d4db,_0x36753d);}};if(activeEngine){const _0x3e9ab8=activeEngine['actors'][_0x48bc46(-0x8d,-0x133)](_0x1fae5c);if(_0x3e9ab8){const _0x5172f2={};_0x5172f2['type']=_0x124f99[_0x405555(0x196,0x146)],_0x5172f2[_0x48bc46(-_0x26847c._0x4f86d4,-0xe0)]=_0x5c6c6d,_0x5172f2[_0x405555(_0x26847c._0x921ba,0x1be)]=_0x2374ab,_0x3e9ab8[_0x405555(_0x26847c._0x4c288e,0x10a)](_0x5172f2),await _0x124f99['Dqlro'](persistCurrentState);return;}}await _0x124f99['ZYWZR'](updateOperationViaFile,_0x1fae5c,_0x5c6c6d,_0x2374ab);}async function updateOperationViaFile(_0x552d51,_0x3cdf77,_0x3687f7){const _0xb2ddc9={_0x49e3e7:0x21e,_0xd6e21e:0x3d8,_0x45731b:0x4ac,_0xaeae12:0x3fe,_0x84de08:0x3b5,_0x5e8fe1:0x386,_0x46d455:0x169,_0x3f2659:0xef,_0x3fe795:0xf8,_0xe7c564:0x201,_0x58dfbd:0x488,_0x311411:0x465,_0x3f8f44:0x47e,_0x36028e:0x3e0},_0x2d7b25={_0x309e0c:0x4dd},_0x5db9f7={'GalgH':_0x52ee6d(-0x1ac,-_0xb2ddc9._0x49e3e7),'TTQgX':function(_0xfe96e0,_0xaeab35){return _0xfe96e0(_0xaeab35);}};function _0x52ee6d(_0x9c70d9,_0x373ace){return _0x45296c(_0x9c70d9- -_0x2d7b25._0x309e0c,_0x373ace);}const _0x26cf97=await readStateFile();if(!_0x26cf97){console['log'](_0x5db9f7[_0x52ee6d(-0x98,-0x48)]);return;}const _0x5e8fe9=_0x26cf97[_0x4bfe63(_0xb2ddc9._0xd6e21e,0x3b2)][_0x552d51];if(!_0x5e8fe9){console[_0x4bfe63(0x446,0x3d3)](_0x4bfe63(_0xb2ddc9._0x45731b,_0xb2ddc9._0xaeae12)+_0x552d51+(_0x4bfe63(_0xb2ddc9._0x84de08,_0xb2ddc9._0x5e8fe1)+'e.json'));return;}const _0x1b4027={..._0x26cf97[_0x52ee6d(-_0xb2ddc9._0x46d455,-_0xb2ddc9._0x3f2659)]},_0x25a376=_0x1b4027,_0x36abd3={..._0x5e8fe9};_0x36abd3['currentOpe'+_0x52ee6d(-0x16f,-0x108)]=_0x3cdf77;function _0x4bfe63(_0x591719,_0x1db6a5){return _0x45296c(_0x1db6a5-0x3e,_0x591719);}_0x36abd3[_0x52ee6d(-0xd9,-_0xb2ddc9._0x3fe795)+'ll']=_0x3687f7,_0x25a376[_0x552d51]=_0x36abd3;const _0x5354b7={};_0x5354b7['project']=_0x26cf97[_0x52ee6d(-_0xb2ddc9._0xe7c564,-0x22b)],_0x5354b7['agents']=_0x25a376,_0x5354b7[_0x4bfe63(0x439,_0xb2ddc9._0x58dfbd)+'pshot']=_0x26cf97[_0x4bfe63(_0xb2ddc9._0x311411,_0xb2ddc9._0x58dfbd)+_0x4bfe63(0x472,0x3e1)],await _0x5db9f7[_0x4bfe63(_0xb2ddc9._0x3f8f44,_0xb2ddc9._0x36028e)](writeStateFile,_0x5354b7);}export async function getStatus(){const _0x376481={_0x5d849b:0x57c,_0x19d399:0x546,_0x2051bb:0x571,_0x110bbc:0x568,_0x4078ab:0x2c6,_0x12d3d2:0x59a,_0x1612a3:0x59d,_0x50d122:0x5e3,_0x55462d:0x64d,_0x42882b:0x5ef,_0x30aa77:0x5ef,_0x8d9296:0x4c2,_0x5827f8:0x5bd,_0x357837:0x343,_0x3f06a1:0x2f5,_0x441cc9:0x2fa,_0x41a747:0x34f,_0x2c4b37:0x665,_0x3fbb9d:0x5c2,_0x2240ce:0x2ac,_0x113e40:0x3a0,_0x80ac1:0x38b,_0x2c9070:0x2f9,_0x3f9edf:0x2d9,_0x39f51b:0x3d7,_0x2824eb:0x2d2,_0x806f7:0x323,_0x4ab586:0x611,_0x37c72d:0x361,_0x53fd89:0x67b,_0x4dc470:0x303,_0x3bf24f:0x54f,_0x454a41:0x329,_0x5198ef:0x3a6,_0x4532a2:0x417,_0x3b742a:0x245,_0x26f618:0x36d,_0x34c2fd:0x245},_0x548243={_0x4a3153:0x24e},_0x5b03fb={'XHssl':'⚠️\x20\x20状态文件不存在'+',请先运行\x20star'+_0x3d49bb(_0x376481._0x5d849b,_0x376481._0x19d399),'QFJCn':function(_0x197bc1,_0x556c7a,_0x421814){return _0x197bc1(_0x556c7a,_0x421814);},'bIXHD':'\x20\x20\x20暂无\x20Agen'+_0x3003ba(0x27c,0x268),'oHOWc':_0x3d49bb(_0x376481._0x2051bb,_0x376481._0x110bbc)+_0x3003ba(0x2e5,_0x376481._0x4078ab)+'\x20|\x20阶段\x20\x20\x20\x20\x20'+_0x3d49bb(_0x376481._0x12d3d2,0x625)+_0x3d49bb(0x522,_0x376481._0x1612a3)+_0x3d49bb(0x535,0x535)+'工具','ZRbnQ':function(_0x1b7bb2,_0x57dafb){return _0x1b7bb2+_0x57dafb;},'kMqVZ':'\x20\x20\x20','RQRJp':'BCidt'};if(!existsSync(STATE_FILE_PATH)){console[_0x3d49bb(0x580,_0x376481._0x50d122)](_0x5b03fb[_0x3d49bb(_0x376481._0x55462d,0x689)]);return;}const _0x3ce960=_0x5b03fb[_0x3d49bb(0x638,0x67b)](readFileSync,STATE_FILE_PATH,_0x3d49bb(_0x376481._0x42882b,_0x376481._0x30aa77)),_0x2a7287=JSON[_0x3d49bb(_0x376481._0x8d9296,0x575)](_0x3ce960);console['log'](_0x3d49bb(0x5a7,_0x376481._0x5827f8)+_0x2a7287['project'][_0x3003ba(_0x376481._0x357837,0x367)]),console[_0x3003ba(0x28a,_0x376481._0x3f06a1)]('\x20\x20\x20当前阶段:\x20'+_0x2a7287['project'][_0x3003ba(0x385,_0x376481._0x441cc9)+'se']),console['log'](_0x3d49bb(0x5c6,0x59f)+_0x2a7287[_0x3003ba(0x281,0x28f)]);function _0x3003ba(_0x1054c2,_0x401053){return _0x256afd(_0x1054c2,_0x401053- -0x1);}console[_0x3003ba(_0x376481._0x41a747,_0x376481._0x3f06a1)](_0x3d49bb(0x5fd,0x5f2)+_0x2a7287[_0x3003ba(0x1d5,0x24c)]+'\x0a');const _0x1bbadd=_0x2a7287[_0x3d49bb(_0x376481._0x2c4b37,_0x376481._0x3fbb9d)],_0x288351=Object[_0x3003ba(_0x376481._0x2240ce,0x2c0)](_0x1bbadd);if(_0x288351[_0x3d49bb(0x548,0x5af)]===-0x16b6+-0x3*-0x28+-0xdb*-0x1a){console[_0x3003ba(_0x376481._0x113e40,0x2f5)](_0x5b03fb[_0x3003ba(0x386,0x3a8)]);return;}console[_0x3003ba(0x354,0x2f5)](_0x5b03fb[_0x3003ba(_0x376481._0x80ac1,_0x376481._0x2c9070)]),console[_0x3d49bb(0x68c,0x5e3)](_0x5b03fb[_0x3003ba(_0x376481._0x3f9edf,0x244)](_0x5b03fb[_0x3003ba(0x25a,0x2f6)],'-'[_0x3003ba(_0x376481._0x39f51b,0x32a)](0x789+0xca1*-0x1+0x568)));for(const _0x3961a2 of _0x288351){if(_0x5b03fb['RQRJp']===_0x3003ba(0x329,0x30d))_0x44c7bf=_0x3da1a9[_0x3003ba(_0x376481._0x2824eb,_0x376481._0x806f7)];else{const _0x4905eb=_0x1bbadd[_0x3961a2],_0x2b4de8=PHASE_NAMES[_0x4905eb[_0x3d49bb(0x5f2,_0x376481._0x4ab586)]]??_0x4905eb[_0x3003ba(_0x376481._0x37c72d,_0x376481._0x806f7)],_0x59380d=_0x4905eb[_0x3d49bb(_0x376481._0x53fd89,0x638)+'ration']||'-',_0x257c36=_0x4905eb[_0x3003ba(_0x376481._0x4dc470,0x364)+'ll']||'-';console['log'](_0x3d49bb(_0x376481._0x3bf24f,0x56d)+_0x3961a2[_0x3003ba(_0x376481._0x454a41,_0x376481._0x5198ef)](-0x111c+-0x1230+0x5e5*0x6)+_0x3003ba(0x281,0x245)+_0x2b4de8[_0x3003ba(_0x376481._0x4532a2,0x3a6)](0x186c+-0x74f*-0x1+0xa8f*-0x3)+_0x3003ba(0x2d2,_0x376481._0x3b742a)+_0x59380d[_0x3003ba(_0x376481._0x26f618,0x3a6)](0x5*0x169+0x680+-0x8*0x1af)+_0x3003ba(0x266,_0x376481._0x34c2fd)+_0x257c36);}}function _0x3d49bb(_0x456fdd,_0x5932b8){return _0x45296c(_0x5932b8-_0x548243._0x4a3153,_0x456fdd);}console[_0x3d49bb(0x648,_0x376481._0x50d122)]();}function _0x10b2(_0x27a717,_0x55b9c5){_0x27a717=_0x27a717-(0xf5c+-0x15c8+0x833);const _0x5fe7b4=_0xf4a7();let _0x3309d6=_0x5fe7b4[_0x27a717];if(_0x10b2['SlPDai']===undefined){var _0x282b7a=function(_0x32759b){const _0x57c762='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3828d2='',_0x214907='';for(let _0x2e348f=0x45*-0x7f+-0xb7e*0x2+-0x97*-0x61,_0x43be08,_0x6d995e,_0x3d9918=0x168d+0x6*0x36e+0x2b21*-0x1;_0x6d995e=_0x32759b['charAt'](_0x3d9918++);~_0x6d995e&&(_0x43be08=_0x2e348f%(0xb07*-0x3+0xe85+0x1*0x1294)?_0x43be08*(-0x1971+0xbb*0x23+0x1*0x20)+_0x6d995e:_0x6d995e,_0x2e348f++%(0x15d7*-0x1+-0xf3f*-0x2+-0x8a3))?_0x3828d2+=String['fromCharCode'](0x11b1+-0x2681+0x15cf&_0x43be08>>(-(-0x196b+0xc48*0x1+0xd25)*_0x2e348f&0x16ee+0x3*0xacb+-0x3749)):0x14*-0x3d+0x1898+-0x13d4){_0x6d995e=_0x57c762['indexOf'](_0x6d995e);}for(let _0x4232c6=-0x25*0x4f+0x4*0x445+-0x5a9,_0x5dedac=_0x3828d2['length'];_0x4232c6<_0x5dedac;_0x4232c6++){_0x214907+='%'+('00'+_0x3828d2['charCodeAt'](_0x4232c6)['toString'](0xce5+-0x1b7e+-0x8b*-0x1b))['slice'](-(0x1f62+0x10a4+0x6dc*-0x7));}return decodeURIComponent(_0x214907);};_0x10b2['FjkTkK']=_0x282b7a,_0x10b2['HUdgJQ']={},_0x10b2['SlPDai']=!![];}const _0xdfdc11=_0x5fe7b4[0x1b34+0xcf7+-0x282b],_0x2f02ee=_0x27a717+_0xdfdc11,_0x32d8db=_0x10b2['HUdgJQ'][_0x2f02ee];return!_0x32d8db?(_0x3309d6=_0x10b2['FjkTkK'](_0x3309d6),_0x10b2['HUdgJQ'][_0x2f02ee]=_0x3309d6):_0x3309d6=_0x32d8db,_0x3309d6;}export async function resumeEngine(){const _0x1997da={_0x357f97:0x608,_0x1b625f:0x60a,_0x46166c:0x126,_0x4ec72b:0x573,_0x5623fe:0x5f8,_0x35f9d3:0x1b6,_0x13fc80:0x14b,_0x566831:0x1b2,_0x5d07aa:0x497,_0x4b137e:0x4c7,_0x4ca98d:0x58c,_0x51eec3:0x5bc,_0x202c2b:0x55b,_0xf8a52:0x199,_0x15fa79:0xdd,_0x1a86a6:0xf9,_0x54d6f0:0x1ea,_0x3dad33:0x5d7,_0x189d3c:0x526,_0x4cd69f:0x206,_0xa30f66:0x18e,_0x46e283:0x122,_0x2d5bec:0x532,_0x2bb664:0x509,_0x57b2ca:0xf6,_0x21a69b:0x505,_0xbc3909:0x163,_0x2548a5:0x12f,_0x3710fc:0xe9,_0x40b539:0x130,_0x26c466:0x47c,_0x5ec05c:0x501,_0x4e5754:0x522,_0x5d88cb:0x12c,_0x419ee9:0x4fe,_0xea6c3d:0x598,_0x509251:0x156,_0x3dc05d:0x188,_0x24b057:0x557,_0x5ac009:0x4bf,_0x252c4b:0x158,_0x5ed495:0x4db,_0xc6a921:0x468,_0x45e61e:0x3c4,_0x576512:0x468,_0x254936:0xdd,_0x5ed8ba:0x51f,_0x25b007:0x56a,_0x3ec26c:0x5aa,_0x2ee2e7:0x5ed,_0x3a7807:0x5c,_0xad854d:0xfc,_0x3c7110:0x124,_0x3858c9:0x4be,_0x53f8fc:0x463,_0x34386b:0x1a7,_0x49f7f8:0x164,_0x2db163:0x56,_0x1d119f:0x50d,_0x4f9e50:0x547,_0xf2ed58:0x109,_0x2d78af:0x3d4,_0x3aa5f6:0x54b,_0x47a1fe:0x51f,_0x36f417:0x4e5,_0x18bdcf:0x128,_0x4d5456:0xc2,_0x24c6a0:0x4e8,_0x49367c:0x4f5,_0x145ab7:0x52a,_0x42a855:0x3f2,_0x3360af:0x11b,_0x47fff1:0x598,_0x376f13:0x4ca,_0x4899cb:0x137,_0x1aff24:0x565,_0x3bbdd7:0x4cb,_0x14e750:0x1f7,_0x21aa2a:0x17d},_0x5560e1={_0x6d4b3b:0x231},_0x304b53={_0x5ccac2:0x230},_0x5caafe={'gSMKl':function(_0x1d0efe,_0x104041){return _0x1d0efe+_0x104041;},'HtuvU':function(_0x1b0d0b,_0x34bd1b){return _0x1b0d0b-_0x34bd1b;},'RmnAV':function(_0x4b6d84,_0x21a396){return _0x4b6d84(_0x21a396);},'IgbRw':function(_0x4a4290,_0x58ec32){return _0x4a4290!==_0x58ec32;},'FwEvT':_0x46196a(0x574,_0x1997da._0x357f97),'AdzHB':function(_0x3872cb,_0x20b1a3,_0x39701d){return _0x3872cb(_0x20b1a3,_0x39701d);},'GXOQu':function(_0x5f35b7,_0xa4abfc){return _0x5f35b7===_0xa4abfc;},'PvaiC':_0x46196a(0x5c9,_0x1997da._0x1b625f),'AwOgD':_0x2b956f(0x80,_0x1997da._0x46166c)+_0x46196a(_0x1997da._0x4ec72b,_0x1997da._0x5623fe),'eMpWH':_0x2b956f(_0x1997da._0x35f9d3,0xfb),'hWYpt':function(_0x313c94,_0x4e2541){return _0x313c94<_0x4e2541;}};function _0x46196a(_0x4a671d,_0x3ff253){return _0x256afd(_0x3ff253,_0x4a671d-_0x304b53._0x5ccac2);}if(!_0x5caafe[_0x2b956f(_0x1997da._0x13fc80,0x1ae)](existsSync,STATE_FILE_PATH)){if(_0x5caafe['IgbRw'](_0x2b956f(0x163,_0x1997da._0x566831),_0x5caafe[_0x46196a(_0x1997da._0x5d07aa,_0x1997da._0x4b137e)])){const _0x3b2dfd=_0x125faf[_0x541f50]??_0x1462f2,_0x164efb=_0x5caafe[_0x46196a(_0x1997da._0x4ca98d,_0x1997da._0x51eec3)]('█'[_0x46196a(_0x1997da._0x202c2b,0x4bf)](_0x42c827),'░'[_0x2b956f(0x195,_0x1997da._0xf8a52)](_0x10c77f[_0x2b956f(_0x1997da._0x15fa79,_0x1997da._0x1a86a6)](0x22cc+-0xc18+-0x16b4,_0x5caafe['HtuvU'](_0x22aa43,_0x2eda2c))));_0x2a7e8e[_0x2b956f(0xc6,0x164)](_0x2b956f(_0x1997da._0x54d6f0,0x190)+_0x3b2dfd[_0x46196a(_0x1997da._0x3dad33,0x552)](0x6*-0x8a+-0xc7+0x411*0x1)+'\x20'+_0x164efb+'\x20'+_0x98f395);}else{console[_0x46196a(_0x1997da._0x189d3c,0x4d0)]('⚠️\x20\x20状态文件不存在'+_0x2b956f(_0x1997da._0x4cd69f,0x1b7)+_0x2b956f(0x18f,0x1ec));return;}}const _0x35ea9a=_0x5caafe[_0x2b956f(_0x1997da._0xa30f66,_0x1997da._0x46e283)](readFileSync,STATE_FILE_PATH,_0x46196a(_0x1997da._0x2d5bec,_0x1997da._0x2bb664));function _0x2b956f(_0x5ee0de,_0x1fea71){return _0x45296c(_0x1fea71- -_0x5560e1._0x6d4b3b,_0x5ee0de);}const _0x393779=JSON[_0x2b956f(0x57,_0x1997da._0x57b2ca)](_0x35ea9a),_0x4ac92d=_0x393779[_0x46196a(_0x1997da._0x21a69b,0x491)],_0x40375b=Object[_0x2b956f(_0x1997da._0xbc3909,_0x1997da._0x2548a5)](_0x4ac92d),_0x5f5130=_0x40375b[_0x2b956f(_0x1997da._0x3710fc,0x18c)](_0x49b338=>_0x4ac92d[_0x49b338][_0x2b956f(0x233,0x192)]!=='completed');if(_0x5caafe['GXOQu'](_0x5f5130[_0x2b956f(0x1e3,_0x1997da._0x40b539)],-0xf*-0x27b+-0x1896+-0x3*0x435)){console[_0x46196a(_0x1997da._0x189d3c,_0x1997da._0x26c466)](_0x46196a(_0x1997da._0x5ec05c,0x577)+_0x46196a(_0x1997da._0x4e5754,0x57a));return;}console[_0x2b956f(_0x1997da._0x5d88cb,0x164)](_0x2b956f(0x213,0x213)),console[_0x46196a(0x526,_0x1997da._0x419ee9)]('\x20\x20\x20项目:\x20'+_0x393779[_0x46196a(0x46d,0x41b)][_0x46196a(_0x1997da._0xea6c3d,0x5a2)]),console[_0x46196a(0x526,0x5c3)](_0x2b956f(_0x1997da._0x509251,0x159)+_0x2b956f(0x163,0x19c)+_0x5f5130[_0x2b956f(_0x1997da._0x3dc05d,_0x1997da._0x40b539)]+'\x0a');const _0x3e4965=new Map();let _0x4c2197=null;try{_0x4c2197=loadTechContext();}catch{}for(const _0x546ebd of _0x5f5130){const _0x4b5127=_0x4ac92d[_0x546ebd],_0x2b8f28=PHASES[_0x46196a(_0x1997da._0x24b057,0x4a1)](_0x4b5127[_0x2b956f(0x160,0x192)]);if(_0x5caafe[_0x2b956f(0x225,0x203)](_0x2b8f28,-(0x1328+-0xbf*-0x11+-0x1fd6))){console[_0x46196a(0x526,_0x1997da._0x5ac009)]('['+_0x546ebd+_0x2b956f(0x1eb,0x1f2)+_0x4b5127['phase']+_0x2b956f(_0x1997da._0x252c4b,0xdb));continue;}const _0x273b5b={};_0x273b5b[_0x46196a(_0x1997da._0x5ed495,0x42a)]=_0x546ebd,_0x273b5b[_0x46196a(_0x1997da._0xc6a921,_0x1997da._0x45e61e)]=_0x4b5127[_0x46196a(_0x1997da._0x576512,0x4f8)]??undefined;const _0x39668d={};_0x39668d['input']=_0x273b5b;const _0xd02ad7=createActor(agentMachine,_0x39668d);_0xd02ad7[_0x2b956f(0xda,0x13a)](),_0x3e4965[_0x2b956f(0x154,_0x1997da._0x254936)](_0x546ebd,_0xd02ad7);const _0x2d6bc0={};_0x2d6bc0[_0x46196a(_0x1997da._0x5ed8ba,_0x1997da._0x25b007)]=_0x5caafe[_0x46196a(_0x1997da._0x3ec26c,_0x1997da._0x2ee2e7)],_0xd02ad7[_0x2b956f(_0x1997da._0x3a7807,_0x1997da._0xad854d)](_0x2d6bc0);for(let _0x5887d5=-0x264a+0x1828+0xe22;_0x5887d5<_0x2b8f28;_0x5887d5++){const _0x305a52={};_0x305a52['type']=_0x5caafe[_0x2b956f(0xa7,_0x1997da._0x3c7110)],_0xd02ad7[_0x46196a(_0x1997da._0x3858c9,_0x1997da._0x53f8fc)](_0x305a52);}console[_0x2b956f(_0x1997da._0x34386b,_0x1997da._0x49f7f8)]('['+_0x546ebd+_0x2b956f(_0x1997da._0x2db163,0xb5)+(PHASE_NAMES[_0x4b5127['phase']]??_0x4b5127[_0x2b956f(0x1b8,0x192)])+_0x46196a(_0x1997da._0x1d119f,0x52f));}for(const _0x4629b4 of _0x40375b){if(_0x5caafe[_0x46196a(0x584,0x5b7)]!==_0x46196a(0x4bd,0x451))_0x3ec7f0[_0x577e93]=_0x302f14;else{if(!_0x3e4965['has'](_0x4629b4)){const _0x3cb831=_0x4ac92d[_0x4629b4],_0x5294c0={};_0x5294c0[_0x46196a(0x4db,_0x1997da._0x4f9e50)]=_0x4629b4,_0x5294c0['parentId']=_0x3cb831[_0x2b956f(_0x1997da._0xf2ed58,0xa6)]??undefined;const _0x27fbf0={};_0x27fbf0[_0x46196a(0x464,_0x1997da._0x2d78af)]=_0x5294c0;const _0x568807=createActor(agentMachine,_0x27fbf0);_0x568807[_0x46196a(0x4fc,_0x1997da._0x3aa5f6)]();const _0x2272a4={};_0x2272a4[_0x46196a(_0x1997da._0x47a1fe,_0x1997da._0x36f417)]='START',_0x568807[_0x46196a(0x4be,0x518)](_0x2272a4);for(let _0x5004d3=-0x1881+0x2*0x375+0x1197;_0x5caafe[_0x2b956f(_0x1997da._0x18bdcf,_0x1997da._0x4d5456)](_0x5004d3,PHASES['length']);_0x5004d3++){const _0x1fba4a={};_0x1fba4a[_0x2b956f(0x19c,0x15d)]=_0x46196a(_0x1997da._0x24c6a0,_0x1997da._0x49367c)+_0x46196a(_0x1997da._0x4ec72b,_0x1997da._0x145ab7),_0x568807['send'](_0x1fba4a);}_0x3e4965[_0x46196a(0x49f,_0x1997da._0x42a855)](_0x4629b4,_0x568807);}}}const _0x1ef7fb={};_0x1ef7fb['projectNam'+'e']=_0x393779[_0x2b956f(_0x1997da._0x3360af,0xab)][_0x46196a(_0x1997da._0x47fff1,0x5d3)],_0x1ef7fb[_0x46196a(0x49c,_0x1997da._0x376f13)]=PHASES,_0x1ef7fb[_0x2b956f(_0x1997da._0x4899cb,_0x1997da._0x252c4b)]=_0x3e4965,_0x1ef7fb['supervisor'+_0x46196a(0x4d1,0x4f8)]=null,_0x1ef7fb[_0x46196a(_0x1997da._0x1aff24,_0x1997da._0x3bbdd7)+'t']=_0x4c2197,activeEngine=_0x1ef7fb,await persistCurrentState(),console['log'](_0x2b956f(0x209,0x1f8)+_0x46196a(0x48e,0x3e1)+_0x2b956f(_0x1997da._0x14e750,_0x1997da._0x21aa2a));}export function stopEngine(){const _0x358bef={_0x5087b1:0x6e1,_0x137151:0x65e,_0x3bc35f:0x236,_0x2249fe:0x5b7,_0x69464d:0x19b,_0x4c3208:0x18c,_0x20e1c4:0x60e,_0x1a0097:0x63f,_0x44b514:0x60e},_0x7eb762={_0x5a5aa6:0xc2},_0x5d4752={'VnZrx':function(_0x29b5a9,_0x37b68e,_0x40c10d){return _0x29b5a9(_0x37b68e,_0x40c10d);}};if(!activeEngine)return;for(const [,_0xe291fc]of activeEngine['actors']){if('OiYLS'===_0x533320(_0x358bef._0x5087b1,_0x358bef._0x137151)){const _0x79a009={};_0x79a009[_0x14d107(0x2c0,_0x358bef._0x3bc35f)]=!![],_0x5d4752[_0x533320(0x64f,0x5c4)](_0x1cdaad,_0x52884f,_0x79a009);}else _0xe291fc[_0x533320(0x5e2,_0x358bef._0x2249fe)]();}activeEngine[_0x14d107(_0x358bef._0x69464d,_0x358bef._0x4c3208)+_0x533320(0x611,_0x358bef._0x20e1c4)]&&activeEngine[_0x533320(0x5fc,0x5bb)+_0x533320(_0x358bef._0x1a0097,_0x358bef._0x44b514)][_0x533320(0x5ea,0x5b7)]();activeEngine=null;function _0x533320(_0x1268a0,_0x7aeb26){return _0x256afd(_0x1268a0,_0x7aeb26-0x36d);}function _0x14d107(_0x4a4f24,_0x4f4c06){return _0x256afd(_0x4a4f24,_0x4f4c06- -_0x7eb762._0x5a5aa6);}console[_0x533320(0x650,0x663)](_0x14d107(0x248,0x218));}export function getEngine(){return activeEngine;}export async function registerAgent(_0x3c9cdd,_0x1f2aea={}){const _0x4ad78c={_0x5253d8:0x69e,_0x35bf64:0x5c5,_0x5f18dc:0x564,_0x351877:0xbf,_0x4ead9d:0x266,_0x154b2c:0x1fc,_0x531afb:0x575,_0x54a822:0x50d,_0x105e23:0x22b,_0xc4f6c1:0x6d7,_0x10c366:0x5b8,_0x5445a0:0x518,_0x10e63f:0x685,_0x4eb0ec:0x666,_0x1cf3dd:0x1d9,_0x4f80e3:0x1ad,_0x3c8eb0:0x17b,_0x24a79f:0x51b,_0x5ca161:0x529,_0x1287b8:0x226,_0x92e16:0x1eb,_0x18014e:0x24d,_0x1cc8f8:0x2f4,_0x35a1ce:0x168,_0x3fb10e:0x566,_0x83ccb6:0x5ea,_0x1bf65f:0x614,_0x5d3587:0x5ea,_0x374c67:0x5fb,_0x4ff0c8:0x23d,_0x563114:0x29a,_0x334772:0x21a,_0x26e907:0x13f,_0x51d402:0xf2,_0x5b4ef4:0x222,_0x2a47e4:0x2ad,_0x523be8:0x52e,_0x2bf5ee:0x572,_0x48291c:0x5d9,_0x15d3f0:0x562,_0x1665bd:0x551,_0x3c50d3:0x5bd,_0x36884a:0x1f2,_0x3ea8ae:0x1f8,_0x464e4c:0x265,_0x4a1791:0x1d4,_0x25ab31:0x17c},_0x3d2b83={_0x332ba1:0x2e3};function _0x32f7c6(_0x4d4983,_0x577516){return _0x256afd(_0x577516,_0x4d4983- -0xfe);}const _0x54094c={'WUGSv':function(_0x2e1895){return _0x2e1895();},'LycnH':function(_0x37be50,_0x293d9e){return _0x37be50!==_0x293d9e;},'wCfTM':'mnzVK','bhLjP':_0x3d8160(0x644,_0x4ad78c._0x5253d8),'CpXct':'idle','Wnfxv':_0x3d8160(0x640,_0x4ad78c._0x35bf64),'ywhfI':function(_0x45e38d,_0x3af0ef){return _0x45e38d(_0x3af0ef);}},_0x5e9eb9=await _0x54094c[_0x3d8160(_0x4ad78c._0x5f18dc,0x60d)](readStateFile);if(!_0x5e9eb9){if(_0x54094c[_0x32f7c6(0x212,0x17f)](_0x32f7c6(0x144,_0x4ad78c._0x351877),_0x54094c[_0x32f7c6(_0x4ad78c._0x4ead9d,_0x4ad78c._0x154b2c)])){console['log'](_0x3d8160(_0x4ad78c._0x531afb,0x4be)+_0x3d8160(0x581,_0x4ad78c._0x54a822)+'project\x20命令');return;}else _0x74f3b7[_0x32f7c6(0x1f8,_0x4ad78c._0x105e23)](_0x3d8160(0x633,_0x4ad78c._0xc4f6c1));}if(_0x5e9eb9[_0x3d8160(_0x4ad78c._0x10c366,_0x4ad78c._0x5445a0)][_0x3c9cdd]){if('uuWWN'===_0x54094c[_0x3d8160(_0x4ad78c._0x10e63f,0x67b)]){console['log'](_0x3d8160(0x5a2,0x618)+_0x3c9cdd+_0x3d8160(_0x4ad78c._0x4eb0ec,0x5f5));return;}else _0x2c17cd['stop']();}const _0x34676d=_0x1f2aea['phase']??_0x54094c[_0x32f7c6(_0x4ad78c._0x1cf3dd,0x1e3)];function _0x3d8160(_0x45bcc0,_0x92166){return _0x256afd(_0x92166,_0x45bcc0-_0x3d2b83._0x332ba1);}const _0x172dfe=_0x1f2aea['parentId']??null,_0x46fdbc={};_0x46fdbc[_0x32f7c6(_0x4ad78c._0x4f80e3,_0x4ad78c._0x3c8eb0)]=_0x3c9cdd,_0x46fdbc[_0x3d8160(_0x4ad78c._0x24a79f,_0x4ad78c._0x5ca161)]=_0x172dfe,_0x46fdbc['childIds']=[],_0x46fdbc[_0x32f7c6(_0x4ad78c._0x1287b8,_0x4ad78c._0x92e16)]=_0x34676d,_0x46fdbc[_0x32f7c6(_0x4ad78c._0x18014e,_0x4ad78c._0x1cc8f8)+_0x32f7c6(0x1d1,_0x4ad78c._0x35a1ce)]='',_0x46fdbc['currentSki'+'ll']='';const _0x4d3ebd=_0x46fdbc,_0x1d6bb5={..._0x5e9eb9[_0x3d8160(0x5b8,_0x4ad78c._0x3fb10e)]};_0x1d6bb5[_0x3c9cdd]=_0x4d3ebd;const _0x1496bc=_0x1d6bb5;if(_0x172dfe&&_0x1496bc[_0x172dfe]){if(_0x54094c[_0x3d8160(_0x4ad78c._0x83ccb6,_0x4ad78c._0x1bf65f)]!==_0x54094c[_0x3d8160(_0x4ad78c._0x5d3587,0x645)]){_0x10e2c9['log']('\x20\x20\x20暂无\x20Agen'+'t\x20记录');return;}else{const _0x465e12=_0x1496bc[_0x172dfe];if(!_0x465e12[_0x3d8160(_0x4ad78c._0x374c67,0x61a)][_0x32f7c6(_0x4ad78c._0x4ff0c8,_0x4ad78c._0x563114)](_0x3c9cdd)){const _0x3100d8={..._0x465e12};_0x3100d8['childIds']=[..._0x465e12[_0x32f7c6(_0x4ad78c._0x334772,0x18f)],_0x3c9cdd],_0x1496bc[_0x172dfe]=_0x3100d8;}}}const _0x434bbe={};_0x434bbe[_0x32f7c6(_0x4ad78c._0x26e907,_0x4ad78c._0x51d402)]=_0x5e9eb9[_0x32f7c6(0x13f,0x194)],_0x434bbe['agents']=_0x1496bc,_0x434bbe[_0x32f7c6(0x2ad,_0x4ad78c._0x5b4ef4)+'pshot']=_0x5e9eb9[_0x32f7c6(_0x4ad78c._0x2a47e4,0x2f3)+'pshot'],await _0x54094c[_0x3d8160(_0x4ad78c._0x523be8,_0x4ad78c._0x2bf5ee)](writeStateFile,_0x434bbe);const _0x3a57f3=PHASE_NAMES[_0x34676d]??_0x34676d;console[_0x3d8160(_0x4ad78c._0x48291c,_0x4ad78c._0x15d3f0)](_0x3d8160(_0x4ad78c._0x1665bd,_0x4ad78c._0x3c50d3)+_0x32f7c6(_0x4ad78c._0x36884a,0x27a)+_0x3c9cdd),console[_0x32f7c6(_0x4ad78c._0x3ea8ae,_0x4ad78c._0x464e4c)](_0x32f7c6(_0x4ad78c._0x4a1791,_0x4ad78c._0x25ab31)+_0x3a57f3);if(_0x172dfe)console[_0x3d8160(_0x4ad78c._0x48291c,0x57d)](_0x3d8160(0x591,0x609)+':\x20'+_0x172dfe);}export async function deregisterAgent(_0x444f6b){const _0x18e4b5={_0x43b3be:0x95,_0x302dac:0x30,_0x1a9117:0x2b2,_0x36bfef:0x36d,_0x8c0ac1:0x87,_0xd16235:0x22c,_0xd2bad5:0x29,_0x24580a:0x8e,_0x36837c:0x4a,_0x27cda3:0x56,_0x3dacb9:0xb3,_0x5194b5:0x78,_0x508c06:0x2aa,_0xb1a5d9:0x28c,_0x599b89:0x316,_0x31cf58:0xd8,_0x5e49d8:0x7d,_0x56a5d2:0xbe,_0x2b0887:0x11c,_0x2d9b08:0x25b,_0x525058:0xf,_0x5492b7:0x65,_0x55f8a2:0x7d,_0x1d3358:0xc5,_0x3dada5:0x223,_0x50a6b6:0xb4,_0x52da67:0x1ce,_0x36a4a4:0x1dd,_0x1d10fb:0x250,_0x162dd0:0x13b,_0x2c17db:0x189,_0x2c7965:0x2b4,_0xd76563:0x257,_0xef4b71:0x28e,_0x4da179:0x4a,_0x16822c:0x4f,_0x45da60:0xe,_0x14dbff:0x2e0,_0x14b78c:0x28b,_0x436e2b:0x2f8,_0x566b2f:0x380,_0x356662:0xc9,_0xa32aa9:0x226,_0x288ce9:0x38,_0x486f76:0x57,_0x14afd8:0x6f,_0x55390c:0x2c7},_0x7d8796={_0x282018:0x373},_0x199ca4={};_0x199ca4['nlSpQ']=_0x12626f(0x2c,_0x18e4b5._0x43b3be),_0x199ca4[_0x12626f(_0x18e4b5._0x302dac,0xc)]='xaITd',_0x199ca4[_0x49e6e1(_0x18e4b5._0x1a9117,_0x18e4b5._0x36bfef)]=function(_0x463037,_0x4d43e6){return _0x463037!==_0x4d43e6;},_0x199ca4[_0x12626f(0xf,-_0x18e4b5._0x8c0ac1)]=_0x49e6e1(_0x18e4b5._0xd16235,0x2aa);function _0x12626f(_0x9c86bd,_0x15ba5f){return _0x256afd(_0x15ba5f,_0x9c86bd- -_0x7d8796._0x282018);}_0x199ca4[_0x12626f(-_0x18e4b5._0xd2bad5,-_0x18e4b5._0x24580a)]=_0x12626f(-_0x18e4b5._0x36837c,_0x18e4b5._0x27cda3),_0x199ca4[_0x49e6e1(0x2f8,0x326)]='JEJWt';function _0x49e6e1(_0x52bb58,_0x140a64){return _0x256afd(_0x140a64,_0x52bb58- -0x6a);}_0x199ca4[_0x12626f(-_0x18e4b5._0x3dacb9,-_0x18e4b5._0x5194b5)]=function(_0x3c0149,_0x17f2c2){return _0x3c0149>_0x17f2c2;};const _0x2bf3dd=_0x199ca4,_0x24a0c2=await readStateFile();if(!_0x24a0c2){if(_0x2bf3dd[_0x49e6e1(_0x18e4b5._0x508c06,0x296)]!==_0x2bf3dd[_0x49e6e1(0x339,0x2b8)]){console[_0x49e6e1(_0x18e4b5._0xb1a5d9,_0x18e4b5._0x599b89)](_0x12626f(-0xe1,-_0x18e4b5._0x31cf58));return;}else _0x3c966e[_0x12626f(-_0x18e4b5._0x5e49d8,-0xb3)](_0x12626f(-_0x18e4b5._0x56a5d2,-0xc)+_0x25a358+'\x20已完成全部阶段');}if(!_0x24a0c2[_0x12626f(-0x9e,-_0x18e4b5._0x2b0887)][_0x444f6b]){if(_0x2bf3dd[_0x49e6e1(0x2b2,_0x18e4b5._0x2d9b08)](_0x2bf3dd[_0x12626f(0xf,-0x5)],_0x2bf3dd[_0x12626f(_0x18e4b5._0x525058,-_0x18e4b5._0x5492b7)])){_0x802ef[_0x12626f(-_0x18e4b5._0x55f8a2,-_0x18e4b5._0x1d3358)]('['+_0x1fd847+']\x20已完成全部阶段');return;}else{console[_0x49e6e1(0x28c,_0x18e4b5._0x3dada5)](_0x12626f(-_0x18e4b5._0x50a6b6,-_0x18e4b5._0x27cda3)+_0x444f6b+'\x20不存在');return;}}const _0x58243e=_0x24a0c2['agents'][_0x444f6b],_0x43a777={..._0x24a0c2['agents']},_0xa952e9=_0x43a777;delete _0xa952e9[_0x444f6b];if(_0x58243e['parentId']&&_0xa952e9[_0x58243e[_0x49e6e1(_0x18e4b5._0x52da67,_0x18e4b5._0x36a4a4)]]){const _0x2b498c=_0xa952e9[_0x58243e[_0x49e6e1(0x1ce,_0x18e4b5._0x1d10fb)]];_0xa952e9[_0x58243e[_0x12626f(-_0x18e4b5._0x162dd0,-_0x18e4b5._0x2c17db)]]={..._0x2b498c,'childIds':_0x2b498c['childIds'][_0x49e6e1(_0x18e4b5._0x2c7965,0x284)](_0x359ce8=>_0x359ce8!==_0x444f6b)};}const _0x3cb6e3=Object[_0x49e6e1(_0x18e4b5._0xd76563,_0x18e4b5._0xef4b71)](_0xa952e9);let _0x42404b=_0x12626f(-_0x18e4b5._0x4da179,0x3a);for(const _0x126e79 of _0x3cb6e3){if(_0xa952e9[_0x126e79][_0x12626f(-_0x18e4b5._0x16822c,-_0x18e4b5._0x45da60)]!==_0x2bf3dd[_0x49e6e1(_0x18e4b5._0x14dbff,_0x18e4b5._0x14b78c)]){if(_0x2bf3dd['PfLYK']!==_0x2bf3dd[_0x49e6e1(_0x18e4b5._0x436e2b,_0x18e4b5._0x566b2f)]){const _0x5b3620={};_0x5b3620[_0x49e6e1(_0x18e4b5._0xef4b71,0x33c)]=!![],_0xdd2518(_0x4b9e3a,_0x5b3620);}else{_0x42404b=_0xa952e9[_0x126e79][_0x12626f(-_0x18e4b5._0x16822c,-_0x18e4b5._0x27cda3)];break;}}}await writeStateFile({'project':{..._0x24a0c2['project'],'currentPhase':_0x2bf3dd[_0x12626f(-_0x18e4b5._0x3dacb9,-_0x18e4b5._0x356662)](_0x3cb6e3[_0x49e6e1(0x258,0x2c1)],0x224d+-0x1*-0x170f+-0x395c)?_0x42404b:_0x49e6e1(0x21a,_0x18e4b5._0xa32aa9)},'agents':_0xa952e9,'machineSnapshot':_0x24a0c2[_0x12626f(_0x18e4b5._0x288ce9,-_0x18e4b5._0x486f76)+_0x12626f(-_0x18e4b5._0x14afd8,-0xb3)]}),console[_0x49e6e1(_0x18e4b5._0xb1a5d9,_0x18e4b5._0x55390c)]('✅\x20Agent\x20已注'+'销:\x20'+_0x444f6b);}function detectInputType(_0x21fc46){const _0x465bfd={_0x4b3119:0xc8,_0x24ded3:0x9,_0x2cf237:0x3d,_0x356c7a:0xfd,_0x340d5a:0x9d,_0x24e9e5:0x153,_0x161d1f:0x9d,_0xac78ac:0xb6,_0x5cabf4:0xc9,_0x475242:0xfe,_0x493607:0xe8,_0x5c5f55:0x12d},_0x24b50b={_0x89763a:0x415},_0x561536={};_0x561536['ZnBAi']=_0x217d62(0x160,_0x465bfd._0x4b3119)+'l';function _0x217d62(_0x126733,_0x9a2a07){return _0x45296c(_0x9a2a07- -0x279,_0x126733);}_0x561536[_0x217d62(0x4a,0x97)]=_0x41ede7(-_0x465bfd._0x24ded3,-_0x465bfd._0x2cf237);const _0x188c42=_0x561536;function _0x41ede7(_0x3bcd75,_0x57fd55){return _0x45296c(_0x57fd55- -_0x24b50b._0x89763a,_0x3bcd75);}if(/^https?:\/\/github\.com\//[_0x41ede7(-_0x465bfd._0x356c7a,-_0x465bfd._0x340d5a)](_0x21fc46))return _0x217d62(_0x465bfd._0x24e9e5,0xc1);if(/^https?:\/\//[_0x41ede7(-0x152,-_0x465bfd._0x161d1f)](_0x21fc46))return _0x188c42[_0x41ede7(-_0x465bfd._0xac78ac,-_0x465bfd._0x5cabf4)];if(_0x21fc46[_0x217d62(_0x465bfd._0x475242,_0x465bfd._0x493607)]>0x1f13+-0x146e+-0x21f*0x5)return'requiremen'+'t';return _0x188c42[_0x217d62(_0x465bfd._0x5c5f55,0x97)];}const _0x38a57b={};_0x38a57b['requiremen'+'t']=_0x45296c(0x3fe,0x429),_0x38a57b[_0x45296c(0x33a,0x339)]=_0x256afd(0x3a2,0x36b),_0x38a57b['website_ur'+'l']=_0x256afd(0x301,0x3a1),_0x38a57b[_0x45296c(0x3d8,0x3ac)]='未知类型';const INPUT_TYPE_NAMES=_0x38a57b;async function readStateFile(){const _0x19b7e0={_0x2f406a:0x4fa,_0x2d1ae1:0x549,_0x2db8f2:0x60e},_0x4b9926={_0x3d99d7:0x4d};function _0x36bf96(_0x111a2b,_0x2f9bdc){return _0x45296c(_0x2f9bdc-_0x4b9926._0x3d99d7,_0x111a2b);}const _0x2c715d={'NtVmA':function(_0x3084ef,_0x1ff39b){return _0x3084ef(_0x1ff39b);}};if(!_0x2c715d[_0x2f9758(_0x19b7e0._0x2f406a,_0x19b7e0._0x2d1ae1)](existsSync,STATE_FILE_PATH))return null;function _0x2f9758(_0x23d441,_0x34c45c){return _0x45296c(_0x23d441-0x21d,_0x34c45c);}const _0x16709e=new StateFileManager(STATE_FILE_PATH);return _0x16709e[_0x2f9758(_0x19b7e0._0x2db8f2,0x679)]();}async function writeStateFile(_0x4bd81a){const _0x831eb={_0x58c935:0x293,_0x3acd09:0x2b8,_0x3e0c32:0x277,_0x3ff889:0x1e5,_0x36351b:0x2a1,_0xa87757:0x65e},_0x15acfc={_0x45b55b:0x9a},_0x2f6ed9={};_0x2f6ed9[_0x4eb276(0x555,0x5de)]='乐观锁冲突',_0x2f6ed9['snPyd']=function(_0x5e0ced,_0x2d93e9){return _0x5e0ced-_0x2d93e9;};const _0x577362=_0x2f6ed9;function _0x43860(_0x14a21a,_0x43746c){return _0x256afd(_0x14a21a,_0x43746c- -_0x15acfc._0x45b55b);}function _0x4eb276(_0x28c9dc,_0x590ee8){return _0x45296c(_0x590ee8-0x2b9,_0x28c9dc);}for(let _0x2580d5=-0xa51+0x11*0x206+-0x1815;_0x2580d5<MAX_RETRIES;_0x2580d5++){try{const _0x3bde42=new StateFileManager(STATE_FILE_PATH);await _0x3bde42[_0x43860(_0x831eb._0x58c935,_0x831eb._0x3acd09)](),await _0x3bde42[_0x43860(0x1c1,_0x831eb._0x3e0c32)](_0x4bd81a);return;}catch(_0x56faa7){if(_0x56faa7 instanceof Error&&_0x56faa7[_0x43860(0x2f3,0x252)][_0x43860(_0x831eb._0x3ff889,_0x831eb._0x36351b)](_0x577362[_0x4eb276(_0x831eb._0xa87757,0x5de)])&&_0x2580d5<_0x577362[_0x4eb276(0x623,0x688)](MAX_RETRIES,-0x220d*-0x1+0xac2*-0x1+-0xb*0x21e)){await new Promise(_0x3c4f5c=>setTimeout(_0x3c4f5c,-0x164b+0x9d*-0x18+0x19*0x17d+Math[_0x43860(0x2e3,0x2e7)]()*(0x61c+0x56a*0x3+0x2*-0xafb)));continue;}throw _0x56faa7;}}}export async function newProject(_0x486381){const _0x518671={_0x1cf08f:0x90,_0x4a68f0:0x257,_0x3798ef:0x122,_0x33c0b8:0x96,_0x47526a:0x1c,_0x3b2c29:0x117,_0x26b789:0x123,_0x3c42df:0xdc,_0x177aca:0x4,_0x6d971:0x37,_0x3182a3:0x10,_0xf7c4dd:0xb5,_0x3635af:0x16f,_0x18b210:0x1e0,_0x26e418:0x144,_0x2bb567:0x5d,_0x192958:0x97,_0x411b2d:0x26,_0x3d2706:0x10,_0x4c0427:0x16e,_0x534475:0x7,_0x146688:0x1e,_0x5ebd37:0x132,_0x4ca8d7:0x1b7,_0x3f1533:0xb1,_0x488ef9:0x28},_0x3ed5a1={_0x1482e7:0x314},_0x47a9cf={'RMAuV':function(_0x599cb7,_0x202ab4,_0x1160a0){return _0x599cb7(_0x202ab4,_0x1160a0);},'RrvpV':function(_0x1b2f48,_0x2b22f4){return _0x1b2f48(_0x2b22f4);},'TLxeV':_0x545703(-0x13,-_0x518671._0x1cf08f)},_0x50e5d5=_0x47a9cf[_0x36cd3d(0x12f,0x73)](resolve,process[_0x36cd3d(0x1c7,_0x518671._0x4a68f0)](),_0x545703(-_0x518671._0x3798ef,-_0x518671._0x33c0b8));if(!_0x47a9cf[_0x36cd3d(0x1e5,0x23d)](existsSync,_0x50e5d5)){const _0x4124be={};_0x4124be[_0x545703(-0x46,-_0x518671._0x47526a)]=!![],_0x47a9cf[_0x545703(-_0x518671._0x3b2c29,-0x5d)](mkdirSync,_0x50e5d5,_0x4124be);}const _0x4b5e00=generateAgentId();function _0x36cd3d(_0x1184f3,_0x2c046c){return _0x45296c(_0x1184f3- -0x227,_0x2c046c);}const _0x2fac52={};_0x2fac52[_0x36cd3d(_0x518671._0x26b789,0x8c)]=_0x4b5e00,_0x2fac52[_0x545703(-0x41,-_0x518671._0x3c42df)]=null,_0x2fac52[_0x545703(-_0x518671._0x177aca,0x4)]=[],_0x2fac52[_0x545703(-_0x518671._0x6d971,_0x518671._0x3182a3)]=_0x47a9cf[_0x545703(-0x9d,-_0x518671._0xf7c4dd)],_0x2fac52[_0x545703(0xad,0x37)+'ration']='',_0x2fac52[_0x36cd3d(0x1dd,_0x518671._0x3635af)+'ll']='';const _0x2c887e=_0x2fac52,_0x236c3d={};_0x236c3d[_0x36cd3d(_0x518671._0x18b210,_0x518671._0x26e418)]=_0x486381;function _0x545703(_0x1719e0,_0x5d890a){return _0x256afd(_0x1719e0,_0x5d890a- -_0x3ed5a1._0x1482e7);}_0x236c3d[_0x36cd3d(0x173,0x110)+'se']=_0x545703(-0x1a,-_0x518671._0x1cf08f);const _0x40c4bc={};_0x40c4bc[_0x4b5e00]=_0x2c887e;const _0x213e83={};_0x213e83['project']=_0x236c3d,_0x213e83['agents']=_0x40c4bc,_0x213e83[_0x545703(_0x518671._0x2bb567,_0x518671._0x192958)+_0x545703(-_0x518671._0x411b2d,-_0x518671._0x3d2706)]=null,await writeStateFile(_0x213e83),console[_0x36cd3d(_0x518671._0x4c0427,0xd3)](_0x545703(0x3e,0x69)+_0x486381),console[_0x545703(-_0x518671._0x534475,-_0x518671._0x146688)]('\x20\x20\x20目录:\x20'+_0x50e5d5),console['log']('\x20\x20\x20初始\x20Agen'+_0x36cd3d(0x222,0x274)+_0x4b5e00),console[_0x545703(0x52,-0x1e)](_0x36cd3d(0x134,_0x518671._0x5ebd37)+PIPELINE_PHASES[_0x36cd3d(0x16b,_0x518671._0x4ca8d7)](_0x3b0fdc=>PHASE_NAMES[_0x3b0fdc]??_0x3b0fdc)[_0x36cd3d(_0x518671._0x3f1533,0x76)](_0x545703(-0x89,_0x518671._0x488ef9))+'\x0a');}function _0xf4a7(){const _0x3422d1=['DdOG','BwfJAgLUzvnUyq','Aw5WDxq','EMvjCMq','rM9izg0','uvf0rMW','CgfYzw50swq','AM9PBG','zw50lwfUywX5CW','uhjLBvK','lI4U','ChjVAMvJDa','tNrwBue','wxrcCgi','DMrWtvK','rM5QDem','tLzst1a','zwXAq1C','AxvUv20','wLjIBLe','ihWG','xsdKU44G','icaGicaGicb8ia','5Rgc5yIg5P6qcG','C3rVCa','ExDOzKK','BxzPEuK','DxbKyxrLzef0','C3vWzxj2AxnVCG','sKPUALa','4P2mioMCGoAXGUwiHUAEKowKSEI0PtOG','B3bLCMf0Aw9U','icaG6Ag555UUoIa','ELnmDvi','AfDzChq','CwTTswO','zhPouKe','vM5ACNG','4PQG77IpicdML6dMTlVOT4pLVjxMK47KUjtNIRy','DcdLKB3KU6q','ihWG6zI25Q61icaGica','DgvJAf9ZzwXLyW','mtu0mZm4ng9yB25usa','ANHsywC','55sOigfKDMfUy2uG','veX4zvy','nLfoC3vSzW','t2XNEvC','CuvfvfC','vxLOq2S','5OQa5PYV6ycj5z6l','zMLUza','zwXWAuu','rNDfDLq','mJe5mdm5mfHzsxLKCG','DcdORRdLVzu','56UE5zob5yIg5P6q','zfHTwLm','CgHHC2vZ','77Ym6lEZ6l+h','4PYfiefNzw50iow3SUAZQa','C2v0','z2v0','sLrxs1K','zhDPqxi','Cxj4Bgm','xsbtDxbLCNzPCW','CxvPy2STDgfZAW','zKztDMK','ueTMtNq','y2HPBgrjza','BuHSDMO','rvzdCfG','icaGqwDLBNqGsq','whfjy2i','EwjJr0m','lNnWzwnVChm','icaG8j+KLIbbz2vUDa','icaG','v1vhu3y','ru5Fre9orq','wNv6Bei','AwrSzq','cUkAOsdLV6VPGj/KU7VLIQhMQkhLVi8','DgrQBLy','icaG6l6t5ywL5RQqoIa','CgfYC2u','u3fXEgq','C1jkBxi','Bwf4','icaG5B2t5yMn6zI25Q61oIdPNia','y3zbB1a','C2vUza','t3DhEve','DMvYC2LVBG','ALPQAhC','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','DNfIzwq','CMvZDwX0','vgXoANe','qLbdvey','Ewz1CKS','xsdMTl7LJ5hLRzaGqwDLBG','vNHVDMu','lI9Yzxf1AxjLBq','z2L0AhvIx3vYBa','t0DevMK','t1j0vMG','77Ym6k+35ywi6l+q6kgmig5LDY0','qvnl','5Q615OMN6kgm5yw35l2t5lU75yQHcG','qwn0B3i','D2vIC2L0zv91CG','EvjdvNu','BwfpwgG','vLnAqMu','icaG5B2t5yMn6zI25Q61oIa','icaGqwDLBNqG5PwW','vwTSvgO','ios4JEwTMowCQos6JIbZDgf0','xsdLT7lLROZMIjdLHAJPG6JPMlBMRRu','ywDLBNrjza','icaG57g75z6loIa','wM5cqwK','icaG54I2iefNzw50','CgTNt3O','icaGicaGicaGia','xsbbz2vUDcdLT7lLKk8','icaG54Mi5PYSoIa','A1b1Be4','qwr6sei','cUkCHsbbz2vUDca','qxDpz0q','uK1bDvy','ueHbu0vFq09nua','4P2miowiHUAEKowKSEI0PtOG','Cvf4ENi','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','icaG6zI25Q615BQp5yIxoIa','5yQO77Ym562j5B6f6zI25Q615O6O6l+B','swDrs1K','4PQG77Ipicbbz2vUDca','BMzftNq','A2v5CW','BgvUz3rO','Be5OA24','icaG6l6t5yE6oIa','55sOigfKDMfUy2uV','uKfusu9o','rcaGicaGicaGia','tvfiqu8','BhLZAxm','z0f4wvO','qM9cEwe','C3rHCNq','zMvHDhvYzv9HBG','EgjKzge','CMf0Aw9U','cVcFK4OG6Ag555UU54Q25OcboIa','4PYfioAjGoACIsbbz2vUDa','icaG6zI25Q61oIa','veTrBfe','C3rYAw5N','ywDLBNrZ','5Q615Ps26zUg6zYa5Rgc44cb6k6O6k665PA55Qgi','q3byy3q','y29TCgv0AxrVCG','DgvZDa','8j+BKsdLVjxMK47LT7lLGzZMRAi','zxjYB3i','CM91BMq','ioAbOUwKJq','zw5NAw5L','qNHzD0K','C3LuAxu','vLHVB3e','cVcFK4OG6Ag555UU6l+B5BQMoIa','CvjKrui','cUkAOsdOV5VLHAxMIAFOOyZPMlBMRRu6','nJa5nZjuEKHrA3q','Dun3t1G','5Q615yIg6kEJ5lU75yQH44cb5yI25A6A6k6H5yIs','icaG8j+tIcdPMlBMRRxLIiBLUim6','ue15zuS','ywn0B3jZ','icaG5PYQ5A6m5OIqiefNzq','BwvZC2fNzq','ntv5CvnnCM4','reLtuefuq0HFva','DhLWzq','5yAmoIa','uff3uei','iow3SUwUJoAiKo+8JoAxOoMCGoAbOUwKJq','BwfW','D2fYBG','5Q616AQm6k+b5OIq5P6C44cb6l+q6kgm5Rwl6k+v','Bg9N','A01XvLO','CMvJDxjZAxzL','qxjKqKq','B0Hpv2m','y3vYCMvUDfbOyq','4PQG77IpicdLIQdOVB3MIOdMNk/KUiRKUiVMLOC','icaG5lU75yQHoIa','n2fnu1nRqW','Bw5xt3q','wwnPDeG','5yQH5lIn6lwW5A6m5Pw0ifbPCgu','DxrMltG','vfrrz1G','ChnOB3q','icaG5PU05PAW5PE26zE0oIa','sLHPwKW','v25MEhy','mte0ndq1mdHsBvzODNe','6yEpoIa','v1bSA0G','EfLgAu0','zMz1C1i','B21ZAg8','tvniCvi','5O6O6l+B6zI25Q61','thLJBKG','D3jPDgu','AfD2u1m','t3rQDKy','BMXtCfe','zenTz0O','cVcFMOaG5zcV5yQOieTHBMi','y29UDgv4Da','y2HPBgrjzhm','shnrwgO','wu5Aue4','C3rHDguUANnVBG','DNnVqNy','AfrXrLC','zMLSDgvY','DxbKyxrLlw9Wzq','D21Owuu','4P2miefNzw50ia','icaGicaG','z0fyyLm','CgHHC2u','zw50CMLLCW','rMTJCLO','Aw5KzxHpzG','ChHhu2u','y29TCgXLDgvK','BgXrwgS','CMvWzwf0','yxv0BW','sw1IuuO','BNq6ia','ChjVAMvJDcdLKB3KU6q','C25qEwq','BhHTtu4','odaZmZi4CeDLuNLb','yw12CNy','BgLUzE+8JoEBToAoPEAjP+IHJaO','DgvJAenVBNrLEa','B3v0Chv0','CMf0Aw9UioAoQoI/M+MyTG','icaGicaGFcdMK43KVzW','Dw5RBM93BG','BMfSExPLlxjLCq','Aw5JBhvKzxm','iokgKIa','CxvPy2S','Dwzivve','vvbeqvrfx09qrq','uM1Uqvy','DMfSDwu','C2TPBgW','tevurq','rvrqwxy','cUkCHsdLVjxMK47LT7lLKk/LIQJVViZKVB8','qxrowwC','CMrzEg4','ndG2sNj3z0jL','77Ym5PEG5Rov5OgI5Asn44cc6k+35ywi6l+q6kgm','ugzizeO','y3vYCMvUDe9Wzq','te1AAvG','vNHLDuu','5AsX6lsL77Ym57UN57UT5OMN6kgm','y3DK','8j+tIYdLT7lLIQdOVB3MIOdMNk/KUiRKUiVMLOC','zxHLy3v0zq','CMvHza','iefNzw50kqO','zu1Wv0G','DMvYAwz5','AezJtMW','tg9jwha','zgLZy3vZCW','s2Tfshu','q1fsEfG','zgvTyw5Kx2fUyq','z1nns2W','C29jqvO','ueDTvLu','6zYa5Rgc5PAh5PYS','vg5Nsfy','Dxvxv04','ugzmwuS','Cwn4z1C','D0nMve0','y3vYCMvUDfnRAq','5A2q5lU75yQHia','yunOEMi','BMfTzq','DKDoq1O','uxLNz3G','r2L0shvIios7K+w6KW','ExPlEKW','uNj2Cfy','sMrmte4','icaGqwDLBNq6ia','zxHPDa','wvfMEwW','DwLYzw1LBNrZlG','z2v0u25HChnOBW','icaG5O+q56s6oIdLNkJMRAtPMly','t3reCge','zM96Bvq','cVcFMOaG6zYa5Rgc5yIg5P6q5BYv5Poo','icaG6l6t5ywL57g75z6loIa','B3iG5BEY5zcV5yQO','uhzHAum','wgDZufK','icaG5O+q56s6oIdLV6VPGj/KU7S','cVcFHPuG6Ag555UU5BEY5yIB5BU6oIa','ihn0yxj0iowrVEs7Pa','ywX5C2LZ','icaG5A6m5OIq5BQMoIa','CMfUzg9T','s0nKy1G','iow3SUwTMowCQo+8JoI3S+I/H+AZQowgJa','xsdNIRBMGihLVilLUlG6ia','5Ocb5PAh5lU25lIn5A2y5zYO77Ym6k+35ywi6l+q','ug5dCxG','icaG6l6t5ywL5yAf5A65oIa','mta1mZy1AwzUuhPy','CLn4D3e','cUkCHsdLVjxMK47LT7lMGAlLPi3VViZKVB8','CgXHBG','C3rHDhvZ','uLbVAw4','uuzkq24','z2f2ENG','AxmVDg9VBhmVyq','EuHUre4','DcdLT7lLROZMIjdLHAJPG6JPMlBMRRu','DeHVzNG','EunHy2q','r1Hpuxu','u1rbuLrFueHbuW','q0D3txq','DvfjzKe','u1rbuLq','nJeWodm3txDSA0Dn','C2LNBMfS','weHZC2W','CxvIqxG','r2HhqLu','B0HZt08','6zYa5Rgc5yIg5P6q','572r56Uzifvsta','yMHmALa','t25YD28','rM5hqMS','cVcFLiqG5OgI5Asn5BYv5Poo','r2fSz0G','CgfKrw5K','tMfjte0','yKLyseq'];_0xf4a7=function(){return _0x3422d1;};return _0xf4a7();}export async function discussPhase(_0x3e0808){const _0x5d1a44={_0x106170:0x4c5,_0x1288e6:0x40b,_0x57069a:0x466,_0x576f3b:0x3b1,_0x72ff7f:0x26a,_0x676773:0x1d9,_0x254462:0x463,_0x5a62c1:0x442,_0xa5a65d:0x3b3,_0x272107:0x42e,_0x58b1f0:0x40f,_0x2a5d85:0x491,_0x5579d3:0x496,_0x25fad8:0x526,_0x30f42d:0x214,_0x22e104:0x4d5,_0x4d9e8a:0x468,_0x2901e8:0x3b9,_0x1c76d9:0x65,_0x2ca7bb:0xa1,_0x27c430:0x20f,_0x4342c3:0x40a,_0x390f84:0x25e,_0x20ac3f:0x1dd,_0x173e54:0x15a,_0x3427c1:0x200,_0x140cd1:0x4e1,_0x1eee94:0x47a},_0x1e4f8b={_0x3cd736:0x16d};function _0x21bc47(_0x5b1909,_0x4104e7){return _0x256afd(_0x5b1909,_0x4104e7- -0x19c);}function _0x5bb90d(_0x4a753f,_0x3b2afe){return _0x256afd(_0x3b2afe,_0x4a753f-_0x1e4f8b._0x3cd736);}const _0x5fc415={'sRJmr':function(_0x23295c,_0x36e57a){return _0x23295c??_0x36e57a;},'iunWm':_0x5bb90d(_0x5d1a44._0x106170,0x511),'OtDpa':function(_0x5df218){return _0x5df218();},'QYyud':_0x21bc47(0x42,0xf6)+_0x5bb90d(_0x5d1a44._0x1288e6,0x441)+_0x5bb90d(0x49c,_0x5d1a44._0x57069a),'YDkNk':function(_0x30171a,_0x5432d4){return _0x30171a!==_0x5432d4;}},_0x19e7c2=_0x5fc415[_0x21bc47(0x144,0xee)](_0x3e0808,_0x5fc415[_0x5bb90d(_0x5d1a44._0x576f3b,0x2f7)]),_0x3ebba=await _0x5fc415[_0x21bc47(_0x5d1a44._0x72ff7f,_0x5d1a44._0x676773)](readStateFile);if(!_0x3ebba){console[_0x5bb90d(_0x5d1a44._0x254462,0x489)](_0x5fc415['QYyud']);return;}const _0x4136ba=_0x3ebba[_0x5bb90d(_0x5d1a44._0x5a62c1,_0x5d1a44._0xa5a65d)];for(const _0xb033eb of Object[_0x5bb90d(_0x5d1a44._0x272107,_0x5d1a44._0x58b1f0)](_0x4136ba)){if(_0x4136ba[_0xb033eb][_0x5bb90d(_0x5d1a44._0x2a5d85,0x4b7)]!==_0x5bb90d(_0x5d1a44._0x5579d3,0x40c)){if(_0x5fc415['YDkNk'](_0x5bb90d(0x486,_0x5d1a44._0x25fad8),'Vmgbj'))_0x4136ba[_0xb033eb]={..._0x4136ba[_0xb033eb],'phase':_0x19e7c2};else{const _0x56015d={..._0x235eea[_0x4a59ae]};_0x56015d['phase']=_0x19ad1b,_0x3908fc[_0x3c48df]=_0x56015d;}}}const _0x1b7f01={};_0x1b7f01[_0x21bc47(_0x5d1a44._0x30f42d,0x1cc)]=_0x3ebba[_0x5bb90d(0x3aa,0x31a)][_0x5bb90d(_0x5d1a44._0x22e104,0x4f7)],_0x1b7f01[_0x5bb90d(_0x5d1a44._0x4d9e8a,_0x5d1a44._0x2901e8)+'se']=_0x19e7c2;const _0xf7c814={};_0xf7c814[_0x21bc47(_0x5d1a44._0x1c76d9,_0x5d1a44._0x2ca7bb)]=_0x1b7f01,_0xf7c814[_0x5bb90d(0x442,0x479)]=_0x4136ba,_0xf7c814[_0x21bc47(0x2ab,_0x5d1a44._0x27c430)+_0x5bb90d(0x471,0x4df)]=null,await writeStateFile(_0xf7c814);const _0x573c69=PHASE_NAMES[_0x19e7c2]??_0x19e7c2;console[_0x5bb90d(0x463,_0x5d1a44._0x4342c3)]('\x0a💬\x20进入讨论阶段:'+'\x20'+_0x573c69),console['log']('\x20\x20\x20项目:\x20'+_0x3ebba[_0x5bb90d(0x3aa,0x3c2)][_0x21bc47(_0x5d1a44._0x390f84,0x1cc)]),console[_0x21bc47(_0x5d1a44._0x20ac3f,_0x5d1a44._0x173e54)](_0x21bc47(0x13b,0x10a)+_0x573c69),console[_0x21bc47(_0x5d1a44._0x3427c1,0x15a)](_0x5bb90d(_0x5d1a44._0x140cd1,0x578)+_0x5bb90d(0x443,_0x5d1a44._0x1eee94)+'\x0a');}export async function planPhase(_0x1c887e){const _0x255667={_0x36ab52:0x75,_0x28798e:0x444,_0x32f58b:0x3b7,_0x4ceedd:0x457,_0xcd039b:0x3f6,_0x1c160d:0x38,_0x51b0a5:0x3d,_0x12d713:0x2c,_0x2f1150:0x490,_0x6537d4:0x3d8,_0x473391:0x9,_0x4fee9a:0x2d,_0x497e98:0x4d,_0x137640:0x2f4,_0x1feddd:0x9e,_0x4022b9:0x45c,_0x4cf139:0x39e,_0x62c465:0x40a,_0x17386d:0xe1,_0x1e98c4:0x5b,_0x369bf0:0x3c6,_0xbf90dc:0x24,_0x540ace:0x457,_0x583a0b:0x4d5,_0x570091:0x554,_0x484398:0x406},_0x11dac3={_0x2b2b66:0x161},_0x78c5d7={_0x54a1db:0x2ca},_0x4d56ed={};_0x4d56ed['gavzx']=function(_0x4b5360,_0x205fc1){return _0x4b5360!==_0x205fc1;};const _0x3b6d12=_0x4d56ed,_0x5ec361=_0x1c887e??_0x566336(0xc1,_0x255667._0x36ab52),_0x41e10d=await readStateFile();if(!_0x41e10d){if(_0x59903a(_0x255667._0x28798e,_0x255667._0x32f58b)==='eLBaM')return _0xf1527a;else{console[_0x59903a(_0x255667._0x4ceedd,_0x255667._0xcd039b)](_0x566336(-_0x255667._0x1c160d,-_0x255667._0x51b0a5)+_0x566336(-_0x255667._0x12d713,0x3)+_0x59903a(_0x255667._0x2f1150,0x44b));return;}}const _0x559c2f=_0x41e10d[_0x59903a(0x436,_0x255667._0x6537d4)];for(const _0x12bbc3 of Object[_0x566336(-_0x255667._0x473391,0x74)](_0x559c2f)){_0x3b6d12[_0x566336(0xc5,_0x255667._0x4fee9a)](_0x559c2f[_0x12bbc3][_0x566336(0x5a,0x107)],_0x566336(0x5f,_0x255667._0x497e98))&&(_0x559c2f[_0x12bbc3]={..._0x559c2f[_0x12bbc3],'phase':_0x5ec361});}const _0x193b2c={};_0x193b2c['name']=_0x41e10d[_0x59903a(0x39e,_0x255667._0x137640)][_0x566336(_0x255667._0x1feddd,0x26)],_0x193b2c[_0x59903a(_0x255667._0x4022b9,0x47a)+'se']=_0x5ec361;const _0x335d83={};_0x335d83[_0x59903a(_0x255667._0x4cf139,_0x255667._0x62c465)]=_0x193b2c;function _0x566336(_0x2a36ad,_0x367266){return _0x256afd(_0x367266,_0x2a36ad- -_0x78c5d7._0x54a1db);}_0x335d83['agents']=_0x559c2f,_0x335d83[_0x566336(_0x255667._0x17386d,0x6b)+_0x566336(0x3a,0xbc)]=null;function _0x59903a(_0x434408,_0xdbf7ab){return _0x256afd(_0xdbf7ab,_0x434408-_0x11dac3._0x2b2b66);}await writeStateFile(_0x335d83);const _0x50d36=PHASE_NAMES[_0x5ec361]??_0x5ec361;console['log']('\x0a📝\x20进入规划阶段:'+'\x20'+_0x50d36),console[_0x566336(_0x255667._0x12d713,-_0x255667._0x1e98c4)](_0x59903a(0x3b3,_0x255667._0x369bf0)+_0x41e10d[_0x59903a(_0x255667._0x4cf139,0x310)][_0x59903a(0x4c9,0x4d7)]),console['log'](_0x566336(-_0x255667._0xbf90dc,0x70)+_0x50d36),console[_0x59903a(_0x255667._0x540ace,0x4a2)](_0x59903a(_0x255667._0x583a0b,_0x255667._0x570091)+_0x59903a(0x448,_0x255667._0x484398)+'\x0a');}export async function executePhase(_0xfb7114){const _0x29e91a={_0x581c16:0x666,_0x6ca127:0x64f,_0x2f224b:0x5a8,_0x5c3c04:0x573,_0x5b261d:0x60b,_0x3eee4d:0x665,_0x11d09e:0x538,_0x444877:0x667,_0x176833:0x632,_0x50491d:0x5fa,_0x5252c1:0x5ea,_0x29f326:0x53a,_0x428f45:0x661,_0x493ec3:0x601,_0x1013bd:0x578,_0x4cde0f:0x569,_0x556a20:0x7a0,_0xf201c0:0x5bf,_0x5c6aca:0x59f,_0x439be6:0x6a5,_0xa11f57:0x67b,_0x351477:0x633,_0x5d9363:0x62f},_0x15ba81={_0x305b59:0x21c},_0x19cca3={_0x2f7444:0x33d},_0x234cae={'BxYwI':_0x133f68(0x69d,_0x29e91a._0x581c16),'FoHdm':function(_0x3569eb,_0x1e6e00){return _0x3569eb??_0x1e6e00;},'xbdda':_0x133f68(_0x29e91a._0x6ca127,0x68e),'uIQKe':function(_0x4a9f6a){return _0x4a9f6a();},'pxGSe':function(_0xf9e0a9,_0x47f1d3){return _0xf9e0a9!==_0x47f1d3;},'stSyc':_0x3faa94(0x53e,_0x29e91a._0x2f224b),'OlgyW':function(_0x1d0415,_0x4959f7){return _0x1d0415===_0x4959f7;}},_0x109f2b=_0x234cae[_0x133f68(0x5ab,_0x29e91a._0x5c3c04)](_0xfb7114,_0x234cae[_0x133f68(0x5f5,_0x29e91a._0x5b261d)]),_0x289f9f=await _0x234cae['uIQKe'](readStateFile);if(!_0x289f9f){if(_0x234cae[_0x133f68(0x6ac,_0x29e91a._0x3eee4d)](_0x133f68(_0x29e91a._0x11d09e,0x5c0),_0x234cae['stSyc']))_0xc7a5eb=_0x234cae[_0x3faa94(0x59a,0x569)];else{console['log'](_0x3faa94(0x54d,0x57a)+_0x133f68(_0x29e91a._0x444877,0x5db)+_0x3faa94(0x5ea,0x684));return;}}const _0x79dcf6=_0x289f9f[_0x133f68(0x5a8,0x612)];for(const _0x2a9c20 of Object['keys'](_0x79dcf6)){if(_0x234cae[_0x133f68(0x51c,0x59e)]('QfKpH',_0x133f68(_0x29e91a._0x176833,0x6e1))){_0x4b977a[_0x3faa94(0x5b1,_0x29e91a._0x50491d)]('⚠️\x20\x20状态文件不存在'+',请先运行\x20new-'+_0x3faa94(_0x29e91a._0x5252c1,_0x29e91a._0x29f326));return;}else _0x79dcf6[_0x2a9c20][_0x133f68(0x5c3,_0x29e91a._0x428f45)]!==_0x234cae[_0x133f68(_0x29e91a._0x493ec3,0x61c)]&&(_0x79dcf6[_0x2a9c20]={..._0x79dcf6[_0x2a9c20],'phase':_0x109f2b});}function _0x133f68(_0x36fb89,_0x78f32){return _0x256afd(_0x36fb89,_0x78f32-_0x19cca3._0x2f7444);}const _0x13a974={};_0x13a974['name']=_0x289f9f[_0x3faa94(0x4f8,_0x29e91a._0x1013bd)][_0x3faa94(0x623,_0x29e91a._0x4cde0f)],_0x13a974['currentPha'+'se']=_0x109f2b;const _0x4b0cd0={};_0x4b0cd0[_0x3faa94(0x4f8,0x4a1)]=_0x13a974,_0x4b0cd0['agents']=_0x79dcf6,_0x4b0cd0[_0x133f68(_0x29e91a._0x556a20,0x6e8)+_0x3faa94(_0x29e91a._0xf201c0,0x5f4)]=null,await writeStateFile(_0x4b0cd0);function _0x3faa94(_0x531741,_0x3612e6){return _0x45296c(_0x531741-_0x15ba81._0x305b59,_0x3612e6);}const _0x545947=PHASE_NAMES[_0x109f2b]??_0x109f2b;console[_0x133f68(_0x29e91a._0x5c6aca,0x633)](_0x3faa94(0x59f,0x629)+'\x20'+_0x545947),console[_0x3faa94(0x5b1,0x61f)]('\x20\x20\x20项目:\x20'+_0x289f9f[_0x3faa94(0x4f8,0x583)][_0x133f68(0x5f5,_0x29e91a._0x439be6)]),console[_0x133f68(_0x29e91a._0xa11f57,_0x29e91a._0x351477)](_0x133f68(0x661,0x5e3)+_0x545947),console['log'](_0x3faa94(_0x29e91a._0x5d9363,0x5ad)+_0x133f68(0x60d,0x5dd));}export async function verifyPhase(_0x1ad0cf){const _0x3b23fb={_0x117fbc:0x129,_0x2467c3:0x1a3,_0x362305:0x15b,_0x33aaa0:0xb9,_0x1b92e8:0xdc,_0x32103f:0x162,_0x112e65:0xbb,_0x3b14bd:0x156,_0x28c435:0x1c2,_0xee68c2:0xc5,_0x2df779:0x11f,_0x1f1aef:0xd6,_0x58a04f:0x191,_0x2a76eb:0xd0,_0x24f2ca:0x113,_0x5e3903:0x12a,_0x2f14d7:0x15d,_0x5d4c96:0x13a,_0x5dcc1a:0xdc,_0xf6766f:0xeb,_0x310277:0xd2,_0x68cd9d:0xe3,_0x3dbb3d:0x157,_0x641ea3:0xfe,_0xaaa521:0xa5,_0xd0f09f:0xea,_0x27b672:0x14e,_0x21ccf7:0x92,_0x47c399:0xfe,_0x22f319:0xdb,_0x610aa6:0x80,_0x191fc8:0xf,_0x117001:0x8e},_0x64b8fc={_0xe42bd7:0x452},_0x5e92c2={'qIAek':function(_0x592756,_0x47cf06){return _0x592756??_0x47cf06;},'Vxove':_0x51f5b4(-0xed,-0xfd),'qubAx':function(_0x23cd35){return _0x23cd35();},'PKfNt':_0x51f5b4(-0x1b8,-_0x3b23fb._0x117fbc),'fSBqd':function(_0x13293c,_0x58a25f){return _0x13293c!==_0x58a25f;},'lxmMN':_0x51f5b4(-0x228,-_0x3b23fb._0x2467c3)},_0x273b1c=_0x5e92c2['qIAek'](_0x1ad0cf,_0x5e92c2[_0x52d844(-_0x3b23fb._0x362305,-_0x3b23fb._0x33aaa0)]),_0x2ed486=await _0x5e92c2[_0x52d844(-0x57,0x38)](readStateFile);if(!_0x2ed486){console[_0x52d844(-0xfe,-_0x3b23fb._0x1b92e8)](_0x52d844(-_0x3b23fb._0x32103f,-_0x3b23fb._0x112e65)+_0x52d844(-_0x3b23fb._0x3b14bd,-_0x3b23fb._0x28c435)+_0x52d844(-_0x3b23fb._0xee68c2,-0x16b));return;}function _0x51f5b4(_0x477b27,_0x13a992){return _0x256afd(_0x477b27,_0x13a992- -_0x64b8fc._0xe42bd7);}const _0x224c07=_0x2ed486[_0x52d844(-_0x3b23fb._0x2df779,-0xd4)];for(const _0x579b32 of Object[_0x51f5b4(-_0x3b23fb._0x1f1aef,-_0x3b23fb._0x58a04f)](_0x224c07)){if(_0x224c07[_0x579b32][_0x52d844(-_0x3b23fb._0x2a76eb,-_0x3b23fb._0x24f2ca)]!==_0x5e92c2[_0x51f5b4(-_0x3b23fb._0x5e3903,-0x1db)]){if(_0x5e92c2['fSBqd'](_0x5e92c2[_0x51f5b4(-_0x3b23fb._0x2f14d7,-0x121)],'pkgOz')){const _0x25381c={..._0x4a2c40};_0x25381c[_0x51f5b4(-0x1b1,-_0x3b23fb._0x5d4c96)]=[..._0x4d96df[_0x52d844(-_0x3b23fb._0x5dcc1a,-_0x3b23fb._0xf6766f)],_0xe555da],_0x2f012d[_0x595b05]=_0x25381c;}else _0x224c07[_0x579b32]={..._0x224c07[_0x579b32],'phase':_0x273b1c};}}const _0x5763c4={};_0x5763c4[_0x51f5b4(-0xd9,-0xea)]=_0x2ed486[_0x51f5b4(-0x1c5,-0x215)][_0x52d844(-0x8c,-_0x3b23fb._0x310277)],_0x5763c4[_0x51f5b4(-_0x3b23fb._0x68cd9d,-_0x3b23fb._0x3dbb3d)+'se']=_0x273b1c;const _0x27eea4={};_0x27eea4['project']=_0x5763c4,_0x27eea4['agents']=_0x224c07,_0x27eea4[_0x51f5b4(-0x7d,-0xa7)+_0x52d844(-0xf0,-0x1ac)]=null,await writeStateFile(_0x27eea4);const _0x182e3e=PHASE_NAMES[_0x273b1c]??_0x273b1c;console['log']('\x0a✅\x20进入验证阶段:'+'\x20'+_0x182e3e),console[_0x52d844(-_0x3b23fb._0x641ea3,-_0x3b23fb._0xaaa521)](_0x51f5b4(-0x160,-0x200)+_0x2ed486[_0x51f5b4(-0x1af,-0x215)][_0x51f5b4(-0x6e,-_0x3b23fb._0xd0f09f)]),console['log'](_0x52d844(-_0x3b23fb._0x27b672,-_0x3b23fb._0x21ccf7)+_0x182e3e);function _0x52d844(_0xa8ac8d,_0x3808aa){return _0x45296c(_0xa8ac8d- -0x493,_0x3808aa);}console[_0x52d844(-_0x3b23fb._0x47c399,-_0x3b23fb._0x22f319)](_0x52d844(-_0x3b23fb._0x610aa6,-_0x3b23fb._0x191fc8)+_0x52d844(-0xff,-_0x3b23fb._0x117001)+'\x0a');}export async function analyzeInput(_0x150f4c){const _0x5b2a14={_0x33e0fe:0x483,_0x41a24c:0x505,_0x10812b:0x57f,_0x56ced5:0x511,_0x356285:0x4af,_0xbf3e16:0x4be,_0x2585d4:0x46d,_0x1e754c:0x50a,_0x2093f9:0x625,_0x5dfcc9:0x593,_0x4a336c:0x569,_0x3a3b39:0x5db,_0x189629:0x5fc,_0x2b2478:0x58c,_0x401af4:0x4cf,_0x44e57b:0x59b,_0x3b6db8:0x56e,_0x2a5b40:0x569,_0x17887a:0x492,_0x54124d:0x4a0,_0x164a59:0x52d,_0x4d7eb3:0x5cf,_0x3c4569:0x603,_0x300799:0x56d,_0x4de39f:0x54e,_0x3a56e2:0x4ca,_0xd9b18d:0x5c2,_0x1e0cef:0x4c7,_0x2e76a4:0x503,_0x472f30:0x535,_0x5019ef:0x594,_0x15ae13:0x563,_0x29c6ed:0x4cc,_0xf2b7b9:0x4e4,_0x2a311b:0x569,_0x462b12:0x4ef},_0x961329={_0xbd8dcc:0x273},_0x384edb={_0x593d46:0x175},_0x54ba0c={'wmhYE':_0x4aee91(_0x5b2a14._0x33e0fe,_0x5b2a14._0x41a24c)+_0x4aee91(_0x5b2a14._0x10812b,_0x5b2a14._0x56ced5)+_0x4aee91(0x5bc,0x5a2),'jvZCr':function(_0x88eb54,_0x29d4f0){return _0x88eb54(_0x29d4f0);},'AtNYg':function(_0x50bec2,_0x3befca){return _0x50bec2>_0x3befca;},'PGmVU':function(_0x4cfe27,_0x4a5b4b){return _0x4cfe27+_0x4a5b4b;},'CQRxX':_0x4aee91(0x4aa,_0x5b2a14._0x356285),'BJixE':_0x1ca689(_0x5b2a14._0xbf3e16,0x540)},_0x22da99=await readStateFile();if(!_0x22da99){console[_0x1ca689(_0x5b2a14._0x2585d4,_0x5b2a14._0x1e754c)](_0x54ba0c[_0x4aee91(_0x5b2a14._0x2093f9,_0x5b2a14._0x5dfcc9)]);return;}function _0x1ca689(_0x41144b,_0x302d06){return _0x45296c(_0x302d06-_0x384edb._0x593d46,_0x41144b);}const _0x18aa62=_0x54ba0c['jvZCr'](detectInputType,_0x150f4c);function _0x4aee91(_0x591c74,_0x13121f){return _0x256afd(_0x591c74,_0x13121f-_0x961329._0xbd8dcc);}const _0x59cf1a=INPUT_TYPE_NAMES[_0x18aa62];console[_0x4aee91(0x5cd,_0x5b2a14._0x4a336c)]('\x0a🔍\x20开始分析'),console[_0x1ca689(0x4fb,0x50a)]('\x20\x20\x20项目:\x20'+_0x22da99[_0x4aee91(0x483,0x4b0)][_0x4aee91(0x5d6,_0x5b2a14._0x3a3b39)]),console['log'](_0x1ca689(_0x5b2a14._0x189629,_0x5b2a14._0x2b2478)+_0x59cf1a),console[_0x4aee91(_0x5b2a14._0x401af4,0x569)](_0x1ca689(0x5af,_0x5b2a14._0x44e57b)+(_0x54ba0c[_0x1ca689(0x5cf,0x55a)](_0x150f4c['length'],-0x1d71+-0x22ab+-0x2036*-0x2)?_0x54ba0c[_0x4aee91(0x5c8,0x5d1)](_0x150f4c['slice'](0x1*0xb4d+-0x4*-0x76b+-0x28f9,-0x126b+-0xcdd+0x1f98),_0x54ba0c[_0x1ca689(0x603,_0x5b2a14._0x3b6db8)]):_0x150f4c)),console[_0x4aee91(0x5e2,_0x5b2a14._0x2a5b40)](_0x1ca689(_0x5b2a14._0x17887a,_0x5b2a14._0x54124d)+_0x1ca689(0x4ce,0x45d));try{const {createAnalyzeRequirementsTool:_0x55e669}=await import(_0x1ca689(_0x5b2a14._0x164a59,0x4ae)+'ent-analys'+_0x4aee91(_0x5b2a14._0x4d7eb3,_0x5b2a14._0x3c4569)+_0x1ca689(_0x5b2a14._0x300799,_0x5b2a14._0x4de39f)+_0x1ca689(_0x5b2a14._0x3a56e2,0x586)+'js'),_0x485d89=_0x55e669(process[_0x4aee91(0x54f,_0x5b2a14._0xd9b18d)]()),_0x3feaea={};_0x3feaea['input']=_0x150f4c,_0x3feaea[_0x1ca689(_0x5b2a14._0x1e0cef,_0x5b2a14._0x2e76a4)]=_0x54ba0c['BJixE'];const _0x558ced=await _0x485d89[_0x4aee91(0x61d,0x5c4)](_0x3feaea,{'sessionID':'','messageID':'','agent':_0x1ca689(_0x5b2a14._0x472f30,0x4f2),'directory':process[_0x1ca689(_0x5b2a14._0x5019ef,_0x5b2a14._0x15ae13)](),'worktree':process[_0x1ca689(_0x5b2a14._0x29c6ed,_0x5b2a14._0x15ae13)](),'abort':new AbortController()['signal'],'metadata':()=>{},'ask':async()=>{}});console[_0x4aee91(_0x5b2a14._0xf2b7b9,_0x5b2a14._0x2a311b)](_0x558ced);}catch(_0x490f57){console[_0x1ca689(0x4da,_0x5b2a14._0x462b12)]('❌\x20分析失败:\x20'+(_0x490f57 instanceof Error?_0x490f57[_0x1ca689(0x4c2,0x500)]:String(_0x490f57)));}}export async function showProgress(){const _0x36293f={_0x4f4f78:0x303,_0x1be02a:0x339,_0x20db10:0x36,_0x188818:0x2e,_0x4c4c1f:0x2bf,_0x3ab168:0x212,_0x30a86f:0x2cb,_0x5dbe89:0x361,_0x207f25:0x35c,_0x5bd432:0x1f,_0x250770:0xb,_0x1ba23b:0xc,_0x388531:0x1e,_0x311dd1:0x32a,_0x4c0575:0x2e4,_0x3814c8:0x2ef,_0x1a314c:0x39b,_0x4136bc:0x3b3,_0x18faa5:0xd0,_0x37300f:0x40,_0x40247a:0x9a,_0x574407:0x64,_0x307859:0xc,_0x5d8d40:0x2c,_0xdc62a9:0x79,_0x61b2e8:0xa7,_0x5388b1:0x14c,_0x289326:0x40,_0x2469cd:0x2d3,_0x3e0887:0xef,_0x588623:0x4,_0x2c3f7a:0x375,_0x14225f:0x332,_0x55a895:0x362,_0x3460a8:0x323,_0x6f019f:0x368,_0x2823e9:0x75,_0x58327d:0x269,_0x493706:0x2b8,_0x595aa9:0x41,_0x324c79:0x2fe,_0x3c1638:0x279,_0x32bae0:0x8b,_0xa4e4df:0x3be,_0x150323:0x16,_0x1a51b1:0x25,_0x1851ff:0x2ed,_0x2e8a32:0x42,_0x19af9f:0x60,_0x2c9569:0x28,_0x1d5255:0x80,_0x256efd:0x3dc,_0x3203df:0xa6,_0x2adea6:0x7e,_0x18e4f0:0x1fc,_0x9269f:0x299,_0x39f06e:0x3e,_0x54a25e:0x39,_0x1e0a38:0x289,_0x128d31:0x323,_0x5d89fe:0x34e,_0x66efb9:0xf4,_0xe6c5e0:0x40,_0x1a7fc1:0x3b,_0x4ac116:0x37,_0x276a1b:0x11,_0x1cfee8:0x5c,_0x30987d:0x19,_0xed6df8:0x2dd,_0xad23db:0x32c,_0x4474a8:0x275,_0x55a614:0x2e1,_0x30e0a8:0x333,_0x4bbe6b:0x7d,_0x49c1da:0xb6,_0x3928bc:0x1e3,_0x1836bb:0x6e,_0x4e91e7:0x1d,_0x32c4b6:0x32d,_0x4f7ef5:0x30f,_0x2931e7:0x37a,_0xf5110a:0x392,_0x1527e7:0x20,_0x2299af:0xf1,_0x2cbbc3:0x15d,_0x3c606d:0x47e,_0x2b403a:0x5d},_0x665c3f={'mviyI':function(_0x5a899c){return _0x5a899c();},'yHnDN':function(_0x465250,_0x11c362,_0x5ce3f2){return _0x465250(_0x11c362,_0x5ce3f2);},'qQxzr':function(_0x241a32,_0x180355){return _0x241a32+_0x180355;},'hgWGh':_0x36a8e7(0x323,0x3c6),'lvYhh':function(_0x394b0a,_0x4c67ff){return _0x394b0a>_0x4c67ff;},'JdLLN':function(_0x540ea,_0xf0436f){return _0x540ea*_0xf0436f;},'mQFAP':function(_0x4a12f2,_0x2a4be3){return _0x4a12f2+_0x2a4be3;},'OtjvF':_0x36a8e7(_0x36293f._0x4f4f78,_0x36293f._0x1be02a),'JXiZL':_0x5d5008(-_0x36293f._0x20db10,_0x36293f._0x188818),'amvrv':'MPvFI'};function _0x36a8e7(_0x467202,_0x12a6dc){return _0x256afd(_0x467202,_0x12a6dc-0x2d);}const _0x6a129=await readStateFile();if(!_0x6a129){console[_0x5d5008(0x40,-0x4a)](_0x36a8e7(0x316,_0x36293f._0x4c4c1f)+_0x36a8e7(_0x36293f._0x3ab168,_0x36293f._0x30a86f)+_0x36a8e7(_0x36293f._0x5dbe89,_0x36293f._0x207f25));return;}const _0x5839a7=_0x6a129[_0x5d5008(_0x36293f._0x5bd432,0xd3)];function _0x5d5008(_0x6b4d,_0x5dca34){return _0x256afd(_0x5dca34,_0x6b4d- -0x2b6);}const _0x509d65=Object[_0x5d5008(_0x36293f._0x250770,-0x6c)](_0x5839a7),_0x1c559c=_0x509d65[_0x5d5008(_0x36293f._0x1ba23b,-_0x36293f._0x388531)],_0x5c3831=_0x509d65[_0x36a8e7(_0x36293f._0x311dd1,0x34b)](_0x307f5e=>_0x5839a7[_0x307f5e][_0x5d5008(0x6e,-0x22)]===_0x5d5008(0x73,0x125))[_0x36a8e7(_0x36293f._0x4c0575,_0x36293f._0x3814c8)],_0x347c7e=_0x665c3f['lvYhh'](_0x1c559c,-0x1c5f+0x13b0+-0xd*-0xab)?Math[_0x5d5008(0x26,-0x55)](_0x665c3f[_0x36a8e7(0x452,_0x36293f._0x1a314c)](_0x5c3831/_0x1c559c,0xf6c+-0x22f1+0x1*0x13e9)):-0x417*0x2+0x493+0x39b,_0x14aae1={};for(const _0x42887b of _0x509d65){if(_0x36a8e7(0x394,_0x36293f._0x4136bc)!==_0x5d5008(_0x36293f._0x18faa5,0x61)){_0x3654bf[_0x5d5008(_0x36293f._0x37300f,_0x36293f._0x40247a)]('['+_0x4f507e+_0x5d5008(-0xc,-_0x36293f._0x574407));return;}else{const _0x3b6138=_0x5839a7[_0x42887b][_0x36a8e7(0x3e4,0x351)];_0x14aae1[_0x3b6138]=_0x665c3f['mQFAP'](_0x14aae1[_0x3b6138]??-0x2*-0x6aa+0x16dc+-0x8*0x486,0x1709+0xd6+-0xeb*0x1a);}}console[_0x5d5008(0x40,-_0x36293f._0x307859)](_0x5d5008(_0x36293f._0x5d8d40,0xda)+_0x6a129[_0x5d5008(-_0x36293f._0xdc62a9,-_0x36293f._0x61b2e8)][_0x5d5008(0xb2,_0x36293f._0x5388b1)]),console[_0x5d5008(_0x36293f._0x289326,-0x42)](_0x36a8e7(0x369,_0x36293f._0x2469cd)+(PHASE_NAMES[_0x6a129['project']['currentPha'+'se']]??_0x6a129['project'][_0x5d5008(0x45,_0x36293f._0x3e0887)+'se'])),console['log'](_0x5d5008(-_0x36293f._0x588623,0x39)+_0x6a129['version']),console['log'](_0x36a8e7(_0x36293f._0x2c3f7a,_0x36293f._0x14225f)+_0x6a129['updatedAt']),console[_0x36a8e7(_0x36293f._0x55a895,_0x36293f._0x3460a8)](_0x36a8e7(0x392,0x3ad)+_0x347c7e+'%\x20('+_0x5c3831+'/'+_0x1c559c+_0x36a8e7(_0x36293f._0x6f019f,0x380)),console[_0x36a8e7(0x304,0x323)](_0x36a8e7(0x28f,0x315));for(const [_0x3f1223,_0x318a08]of Object[_0x36a8e7(0x2e1,0x352)](_0x14aae1)){if(_0x665c3f[_0x5d5008(0x5d,0x56)]===_0x665c3f['OtjvF']){const _0x382eb1=PHASE_NAMES[_0x3f1223]??_0x3f1223,_0x413cd8='█'[_0x36a8e7(0x359,0x358)](_0x318a08)+'░'[_0x5d5008(_0x36293f._0x2823e9,0xdf)](Math[_0x36a8e7(_0x36293f._0x58327d,_0x36293f._0x493706)](0x1*0x1b4f+0x10cc+-0x2c1b,_0x1c559c-_0x318a08));console[_0x5d5008(0x40,-0x5b)](_0x5d5008(0x6c,_0x36293f._0x595aa9)+_0x382eb1[_0x5d5008(0xf1,0xac)](0x894+-0x21fb+-0x85*-0x31)+'\x20'+_0x413cd8+'\x20'+_0x318a08);}else{const _0x299363=_0x665c3f[_0x36a8e7(_0x36293f._0x324c79,_0x36293f._0x3c1638)](_0x454797),_0x180063={};_0x180063[_0x5d5008(-0xb,-_0x36293f._0x32bae0)]=_0x299363;const _0x18131c={};_0x18131c['input']=_0x180063,_0xb1eaf=_0x665c3f[_0x36a8e7(0x323,_0x36293f._0xa4e4df)](_0x55466a,_0x27f788,_0x18131c),_0x2f4d93[_0x5d5008(_0x36293f._0x150323,_0x36293f._0x1a51b1)]();const _0x4db545={};_0x4db545['type']=_0x5d5008(0xe0,_0x36293f._0x574407)+'E',_0x4db545[_0x36a8e7(_0x36293f._0x1851ff,0x351)]=_0x3ead26[0x1*-0x1925+-0x283*-0x5+0xc96],_0x10aa83['send'](_0x4db545),_0xa97039[_0x5d5008(_0x36293f._0x289326,-0x43)]('['+_0x299363+(_0x5d5008(-_0x36293f._0x2e8a32,-_0x36293f._0x19af9f)+'or\x20已启动'));for(let _0x213c40=-0x9c7*-0x3+-0x108c+-0xcc9;_0x213c40<_0xb584d6;_0x213c40++){const _0x4b2c08=_0x44881b();_0x55dd32[_0x5d5008(-_0x36293f._0x2c9569,-_0x36293f._0x1d5255)]({'type':'DISPATCH_T'+'ASK','childId':_0x4b2c08,'task':_0x36a8e7(_0x36293f._0x256efd,0x393)+_0x665c3f[_0x5d5008(_0x36293f._0x588623,-_0x36293f._0x3203df)](_0x213c40,0x2375+-0x1*0xc8+-0x4*0x8ab)});const _0x371fb1={};_0x371fb1[_0x5d5008(-_0x36293f._0x250770,0xae)]=_0x4b2c08,_0x371fb1[_0x5d5008(-_0x36293f._0x2adea6,-0x3)]=_0x299363,_0x371fb1[_0x36a8e7(_0x36293f._0x18e4f0,_0x36293f._0x9269f)]=_0x3ffd04;const _0x5a5a38={};_0x5a5a38['input']=_0x371fb1;const _0x5071f9=_0x1f8856(_0x56430b,_0x5a5a38);_0x5071f9[_0x5d5008(0x16,-_0x36293f._0x39f06e)]();const _0x41284d={};_0x41284d[_0x5d5008(_0x36293f._0x54a25e,0xe8)]=_0x665c3f['hgWGh'],_0x5071f9[_0x36a8e7(_0x36293f._0x1e0a38,0x2bb)](_0x41284d),_0x26f130[_0x5d5008(-0x47,-0xa0)](_0x4b2c08,_0x5071f9),_0x3f6d2f[_0x36a8e7(0x341,_0x36293f._0x128d31)]('['+_0x299363+(_0x36a8e7(_0x36293f._0x5d89fe,0x2c5)+_0x5d5008(_0x36293f._0x66efb9,0x4d))+_0x4b2c08);}}}console[_0x5d5008(_0x36293f._0xe6c5e0,0xf9)]();if(_0x665c3f['lvYhh'](_0x509d65['length'],-0x1*-0x239+0x101f+-0x1258)){console[_0x5d5008(0x40,-_0x36293f._0x1a7fc1)](_0x5d5008(-_0x36293f._0x4ac116,-0x46)+'\x20详情:'),console['log'](_0x5d5008(-_0x36293f._0x1a7fc1,-0x87)+_0x5d5008(_0x36293f._0x276a1b,-0x1a)+_0x5d5008(-_0x36293f._0x1cfee8,-_0x36293f._0x30987d)+_0x5d5008(0x82,0x9d)+_0x36a8e7(0x24e,_0x36293f._0xed6df8)+_0x36a8e7(_0x36293f._0xad23db,_0x36293f._0x4474a8)+'工具'),console['log'](_0x665c3f['qQxzr'](_0x665c3f[_0x36a8e7(_0x36293f._0x55a614,_0x36293f._0x30e0a8)],'-'['repeat'](-0x1*-0x1dad+-0x15+-0x1d48)));for(const _0x278544 of _0x509d65){if(_0x665c3f[_0x5d5008(_0x36293f._0x4bbe6b,_0x36293f._0x49c1da)]!==_0x36a8e7(_0x36293f._0x3928bc,0x293)){const _0x518efa=_0x5839a7[_0x278544],_0x24c03c=PHASE_NAMES[_0x518efa['phase']]??_0x518efa[_0x5d5008(_0x36293f._0x1836bb,_0x36293f._0x4e91e7)],_0x124da7=_0x518efa[_0x36a8e7(_0x36293f._0x32c4b6,0x378)+_0x36a8e7(_0x36293f._0x4f7ef5,0x2fc)]||'-',_0x482773=_0x518efa[_0x36a8e7(_0x36293f._0x2931e7,_0x36293f._0xf5110a)+'ll']||'-';console[_0x5d5008(_0x36293f._0x37300f,_0x36293f._0x1527e7)]('\x20\x20\x20'+_0x278544[_0x5d5008(_0x36293f._0x2299af,_0x36293f._0x2cbbc3)](0x22dd+-0x1*0x13d3+-0xef8)+'\x20|\x20'+_0x24c03c[_0x36a8e7(_0x36293f._0x3c606d,0x3d4)](0x9cb+0x41*0xe+0xd4b*-0x1)+_0x5d5008(-0x70,_0x36293f._0x250770)+_0x124da7[_0x36a8e7(0x32b,0x3d4)](0x1d*0x83+0x18a8+-0x7e2*0x5)+_0x36a8e7(0x2e0,0x273)+_0x482773);}else _0xa2ff9c=_0x36a53a[_0x2a8fe6+(-0x1979+0x2599+-0x1d*0x6b)];}console[_0x5d5008(0x40,_0x36293f._0x2b403a)]();}}export async function quickTask(_0x19c960){const _0x540cad={_0x3e4ece:0x2,_0xee847e:0x88,_0x2ce857:0x80,_0x2c3656:0x567,_0x1e8251:0x553,_0x5968fa:0xf,_0xcea851:0x22,_0x5933a0:0x128,_0x555a40:0x17b,_0x3fc46d:0x4a7,_0x1cd9ac:0x173,_0x112981:0xcc,_0xd553c0:0x5ae,_0x339a53:0x455,_0xf4ad71:0x4c2,_0x21c740:0x4be,_0x53ddc5:0x453,_0x64ae75:0x51,_0x1eaa27:0x5d,_0x1bcd1c:0x513,_0x3591bd:0x1b8,_0x5cddb8:0x12a,_0x362d40:0x4db},_0x443d4f={_0x301384:0x1f5},_0x3ecbcf={_0x48a945:0x216},_0x225fc0={'mHlvj':function(_0x1ba8c3){return _0x1ba8c3();},'jZjhw':'📋\x20已加载技术上下文','aMFaE':function(_0x2c7025,_0x3572a9,_0xcea332){return _0x2c7025(_0x3572a9,_0xcea332);},'maOXh':_0x4d4af9(-_0x540cad._0x3e4ece,0x89),'YtBpb':function(_0x184ffa,_0x59fc74){return _0x184ffa(_0x59fc74);},'hTqFW':function(_0x591f49,_0x2eeedc){return _0x591f49!==_0x2eeedc;},'mnWOt':_0x4d4af9(0x2f,_0x540cad._0xee847e),'wUGXl':_0x4d4af9(0x62,_0x540cad._0x2ce857),'uQIfA':_0x52af5e(_0x540cad._0x2c3656,0x5e2),'UklTj':_0x52af5e(_0x540cad._0x1e8251,0x5cc)};function _0x52af5e(_0x1b2f5f,_0xfb1b1b){return _0x256afd(_0xfb1b1b,_0x1b2f5f-_0x3ecbcf._0x48a945);}const _0x96211c=await _0x225fc0[_0x4d4af9(0x7a,0x84)](readStateFile);if(!_0x96211c){const _0x4360ca=_0x225fc0['aMFaE'](resolve,process['cwd'](),_0x225fc0[_0x4d4af9(_0x540cad._0x5968fa,0xaf)]);if(!_0x225fc0[_0x4d4af9(_0x540cad._0xcea851,0x4a)](existsSync,_0x4360ca)){if(_0x225fc0[_0x4d4af9(0x157,_0x540cad._0x5933a0)](_0x225fc0[_0x4d4af9(0x10d,0x10a)],_0x225fc0[_0x4d4af9(_0x540cad._0x555a40,0x10a)]))_0x48ce23=_0x225fc0['mHlvj'](_0x86ddae),_0x3f351d&&_0x5216f2[_0x52af5e(0x50c,0x48d)](_0x225fc0[_0x52af5e(_0x540cad._0x3fc46d,0x497)]);else{const _0x2cab35={};_0x2cab35['recursive']=!![],mkdirSync(_0x4360ca,_0x2cab35);}}}const _0x604e33=_0x96211c?.['project'][_0x4d4af9(0x15e,_0x540cad._0x1cd9ac)]??_0x225fc0['wUGXl'],_0xeba83e=_0x96211c?Object[_0x4d4af9(0x10b,_0x540cad._0x112981)](_0x96211c[_0x4d4af9(0x181,0xe0)])[0x23c4+0xcf4+-0x30b8]??generateAgentId():generateAgentId(),_0x3ba808={'agentId':_0xeba83e,'parentId':null,'childIds':[],'phase':_0x225fc0[_0x52af5e(_0x540cad._0xd553c0,0x5be)],'currentOperation':_0x19c960['slice'](-0x7e1+0x61e+0x1*0x1c3,-0x43*-0x53+-0x53b+-0x55e*0x3),'currentSkill':_0x225fc0[_0x52af5e(0x4be,_0x540cad._0x339a53)]},_0x37cc93={};_0x37cc93[_0xeba83e]=_0x3ba808,await _0x225fc0[_0x52af5e(0x455,_0x540cad._0xf4ad71)](writeStateFile,{'project':{'name':_0x604e33,'currentPhase':_0x225fc0[_0x52af5e(_0x540cad._0x21c740,_0x540cad._0x53ddc5)]},'agents':_0x37cc93,'machineSnapshot':null});function _0x4d4af9(_0x49781b,_0x682d1c){return _0x256afd(_0x49781b,_0x682d1c- -_0x443d4f._0x301384);}console['log'](_0x52af5e(0x49b,0x51c)),console[_0x52af5e(0x50c,0x55b)](_0x4d4af9(_0x540cad._0x64ae75,_0x540cad._0x1eaa27)+_0x604e33),console['log'](_0x52af5e(_0x540cad._0x1bcd1c,0x58d)+_0x19c960),console[_0x52af5e(0x50c,0x584)](_0x4d4af9(_0x540cad._0x3591bd,0x17a)+_0xeba83e),console['log'](_0x4d4af9(_0x540cad._0x5cddb8,0x187)+_0x52af5e(0x517,_0x540cad._0x362d40)+_0x4d4af9(0xa9,0x13f));}function findFirstIncompleteAgent(_0x5d5b29){const _0x1f977e={_0x7bed2b:0x735,_0x380bf2:0x626,_0x473452:0x580,_0x33c3cf:0x725,_0x3f6201:0x67e,_0x17c4d5:0x6b8,_0x3ffd74:0x46e,_0x1807b3:0x686,_0x32c4ac:0x63e,_0x5cad4f:0x6e5,_0x3eb809:0x4f3},_0x659477={_0x27b49f:0x175},_0x35ab8a={};_0x35ab8a[_0x4aa38f(_0x1f977e._0x7bed2b,0x6d8)]=function(_0xb695d3,_0x542a21){return _0xb695d3===_0x542a21;},_0x35ab8a[_0x4aa38f(_0x1f977e._0x380bf2,_0x1f977e._0x473452)]=_0x4aa38f(_0x1f977e._0x33c3cf,_0x1f977e._0x3f6201),_0x35ab8a['UHvHn']='completed';function _0x4aa38f(_0x3121c5,_0x37c7da){return _0x256afd(_0x3121c5,_0x37c7da-0x345);}const _0x3d0ef0=_0x35ab8a;function _0x3f8eac(_0x4d143b,_0x58366b){return _0x256afd(_0x58366b,_0x4d143b-_0x659477._0x27b49f);}for(const [_0x14ed8c,_0x3a5228]of _0x5d5b29){const _0x298e5f=_0x3a5228[_0x4aa38f(0x65d,_0x1f977e._0x17c4d5)+'t'](),_0x57bf6d=_0x3d0ef0[_0x3f8eac(0x508,_0x1f977e._0x3ffd74)](typeof _0x298e5f[_0x4aa38f(0x734,_0x1f977e._0x1807b3)],_0x4aa38f(_0x1f977e._0x32c4ac,0x619))?_0x298e5f[_0x4aa38f(_0x1f977e._0x5cad4f,0x686)]:_0x3d0ef0[_0x4aa38f(_0x1f977e._0x3eb809,_0x1f977e._0x473452)];if(_0x57bf6d!==_0x3d0ef0['UHvHn'])return _0x14ed8c;}return null;}function checkAllComplete(){const _0x1e0308={_0x548aa5:0x5d,_0x5d02a1:0xf8,_0x151adf:0x66,_0x429bab:0x2d,_0x2c6a40:0x10f,_0x3acf89:0x100,_0x1709d5:0x73,_0xde4be9:0xd4,_0x5bfc96:0xe8,_0x56b00d:0x131,_0x398310:0xfc,_0x4b5d9a:0x114,_0x2c9a02:0x106,_0xebf60b:0x89,_0x268a73:0xde,_0x240de0:0xa7,_0x214c48:0x4a,_0x45955d:0x4d,_0x486673:0x3b,_0x114eae:0x17,_0x15100b:0x47,_0x27d7f0:0xbc,_0x4adb17:0x1a7,_0x46ed4f:0x1c,_0x29d9a6:0x105,_0x59c14a:0x134,_0x48115d:0x3c,_0x3c79e7:0xe3,_0x37191c:0xa3,_0x17f54f:0x137,_0x15db88:0xbc,_0x3eb89c:0xa1,_0x330462:0x42,_0x30975f:0x144,_0x5ec6ef:0x146,_0x273234:0xe3,_0x9d1f19:0x85,_0x7089b9:0x81,_0x1802a3:0xe3,_0x277ff2:0x182,_0x49babf:0x17e},_0xc3bb30={_0x30d997:0x3c8},_0xa2c5d3={};_0xa2c5d3[_0x7a6818(-0x73,-0x4d)]=_0xa99cf0(-_0x1e0308._0x548aa5,-_0x1e0308._0x5d02a1),_0xa2c5d3[_0xa99cf0(_0x1e0308._0x151adf,_0x1e0308._0x429bab)]=_0x7a6818(-_0x1e0308._0x2c6a40,-0x8f),_0xa2c5d3[_0x7a6818(-0x87,-_0x1e0308._0x3acf89)]=function(_0x407cb9,_0x552d33){return _0x407cb9!==_0x552d33;},_0xa2c5d3[_0xa99cf0(-_0x1e0308._0x1709d5,0x10)]=_0x7a6818(-0x84,-0x9f),_0xa2c5d3[_0xa99cf0(-_0x1e0308._0xde4be9,-0x149)]=function(_0x406257,_0x1b591a){return _0x406257!==_0x1b591a;},_0xa2c5d3[_0x7a6818(-0x186,-_0x1e0308._0x5bfc96)]=_0x7a6818(-0x1e6,-_0x1e0308._0x56b00d),_0xa2c5d3[_0xa99cf0(0x1c,0x95)]='CHILD_COMP'+_0x7a6818(-0x15,-0x85),_0xa2c5d3[_0xa99cf0(-_0x1e0308._0x398310,-_0x1e0308._0x4b5d9a)]='done',_0xa2c5d3[_0x7a6818(-_0x1e0308._0x2c9a02,-0x139)]=_0xa99cf0(-0x79,-_0x1e0308._0xebf60b)+_0x7a6818(0x21,-0x85);function _0xa99cf0(_0x5162aa,_0x2a1d21){return _0x256afd(_0x2a1d21,_0x5162aa- -0x331);}const _0x122fca=_0xa2c5d3;function _0x7a6818(_0x3b6ca1,_0x1c084c){return _0x256afd(_0x3b6ca1,_0x1c084c- -_0xc3bb30._0x30d997);}if(!activeEngine)return;for(const [,_0xd1359a]of activeEngine[_0x7a6818(-0x107,-_0x1e0308._0x268a73)]){const _0x5d4d24=_0xd1359a[_0x7a6818(-_0x1e0308._0x240de0,-0x55)+'t'](),_0x1a0d47=typeof _0x5d4d24[_0xa99cf0(0x10,0x52)]===_0x122fca[_0x7a6818(-_0x1e0308._0x214c48,-_0x1e0308._0x45955d)]?_0x5d4d24['value']:_0x122fca['CGwMt'];if(_0x122fca['MQHAO'](_0x1a0d47,_0x122fca['IgQKY']))return;}console[_0xa99cf0(-_0x1e0308._0x486673,_0x1e0308._0x114eae)]('\x0a🎉\x20所有\x20Agen'+_0xa99cf0(0x61,0x6f));if(activeEngine['supervisor'+_0xa99cf0(-0x90,-0xa0)]){for(const [_0x4556b8]of activeEngine[_0xa99cf0(-_0x1e0308._0x15100b,-_0x1e0308._0x27d7f0)]){if(_0x122fca[_0xa99cf0(-0xd4,-0x14f)](_0x122fca[_0xa99cf0(-0x51,-_0x1e0308._0x3acf89)],_0x7a6818(-_0x1e0308._0x4adb17,-0x135))){const _0x3f09b7={};_0x3f09b7['type']=_0x122fca[_0xa99cf0(_0x1e0308._0x46ed4f,0xca)],_0x3f09b7[_0xa99cf0(-0xb9,-0xb6)]=_0x4556b8,_0x3f09b7[_0x7a6818(-_0x1e0308._0x29d9a6,-_0x1e0308._0x59c14a)]={},_0x3f09b7[_0x7a6818(-_0x1e0308._0x29d9a6,-_0x1e0308._0x59c14a)][_0x7a6818(-0x61,-_0x1e0308._0x48115d)]=_0x122fca[_0xa99cf0(-_0x1e0308._0x398310,-0xd0)],activeEngine[_0xa99cf0(-_0x1e0308._0x3c79e7,-0x78)+'Actor'][_0xa99cf0(-_0x1e0308._0x37191c,-_0x1e0308._0x17f54f)](_0x3f09b7);}else{_0x4fd1d4[_0xa99cf0(-0x3b,0x4f)](_0x7a6818(-_0x1e0308._0x15db88,-0x136)+_0x7a6818(-_0x1e0308._0x3eb89c,-0x12a)+'project\x20命令');return;}}const _0x4c6436={};_0x4c6436[_0xa99cf0(-_0x1e0308._0x330462,-0xbd)]='ALL_CHILDR'+_0x7a6818(-_0x1e0308._0x30975f,-_0x1e0308._0x5ec6ef),activeEngine[_0xa99cf0(-_0x1e0308._0x273234,-0x19d)+'Actor'][_0x7a6818(-_0x1e0308._0x9d1f19,-0x13a)](_0x4c6436);const _0x5bfab6={};_0x5bfab6[_0x7a6818(-_0x1e0308._0x7089b9,-0xd9)]=_0x122fca['OwGyQ'],activeEngine[_0xa99cf0(-_0x1e0308._0x1802a3,-_0x1e0308._0x277ff2)+_0x7a6818(-_0x1e0308._0x49babf,-0x127)]['send'](_0x5bfab6);}}const MAX_RETRIES=0x5bb*0x6+0x6d9*-0x2+-0x1e1*0xb;async function persistCurrentState(){const _0x57eb55={_0x30264c:0xcf,_0x10ff0b:0x1f3,_0x214e70:0x367,_0x16894e:0x45,_0x5c1c65:0x28f,_0x519672:0x28f,_0x1234e6:0x31b,_0x1c3730:0x76,_0x1aa003:0x1bd,_0x237f60:0x26,_0x6f222:0x3a,_0x1025c7:0x310,_0x47c833:0x2b1,_0x295720:0x2d6,_0x5cd309:0x226,_0x18f550:0xc1,_0x5c19d4:0x25b,_0x4f4dc1:0x2cf,_0x3309bf:0x4d,_0x8dd835:0x1ba,_0x35f353:0x25a,_0x482e0f:0x1f8,_0x2bbcff:0x27c,_0x4f491f:0x2b3,_0x1f4d30:0x19,_0x2387e1:0x7c,_0x32ef14:0x35f,_0x5b1d41:0x1,_0xb8ffea:0x2b,_0x1b642c:0x132,_0x4185b4:0x2f0,_0x404595:0x305,_0x172574:0x324,_0xf4ca43:0x27,_0x25383c:0xb9,_0x341205:0x2b0,_0x48b912:0x1fc,_0x2de6d1:0x240,_0x1bd70b:0x2dc,_0x45b2b7:0x71,_0x3b62e5:0x2db,_0x955aac:0x329,_0x2f50d9:0xcb,_0x52e73a:0xb4,_0x3f4cab:0x2b,_0x344bd3:0x2e8,_0x31be22:0x24d,_0xe05b80:0x2e1,_0x49525b:0x55,_0x234f43:0x2e8,_0x1b4913:0xc6,_0x836513:0x60,_0xb0a8c2:0x83,_0x46440f:0xc7,_0x5e25ef:0x2c8,_0x16791f:0xea,_0x150a76:0x98,_0x190fea:0x42},_0x4e2615={};_0x4e2615[_0x2a1d5d(_0x57eb55._0x30264c,0x134)]='START',_0x4e2615['NaILM']=function(_0x3cd5b9,_0x401ce7){return _0x3cd5b9<_0x401ce7;};function _0x5ee9df(_0x30f616,_0x7289e4){return _0x45296c(_0x7289e4- -0xdb,_0x30f616);}_0x4e2615[_0x5ee9df(_0x57eb55._0x10ff0b,0x24d)]=_0x5ee9df(_0x57eb55._0x214e70,0x2ed),_0x4e2615[_0x5ee9df(0x17e,0x22f)]=function(_0x554bda,_0x58492c){return _0x554bda===_0x58492c;},_0x4e2615[_0x2a1d5d(_0x57eb55._0x16894e,-0x15)]=_0x5ee9df(0x268,_0x57eb55._0x5c1c65),_0x4e2615[_0x5ee9df(_0x57eb55._0x519672,_0x57eb55._0x1234e6)]=_0x2a1d5d(_0x57eb55._0x1c3730,-0x3c),_0x4e2615[_0x5ee9df(_0x57eb55._0x1aa003,0x1fb)]=_0x2a1d5d(_0x57eb55._0x237f60,-_0x57eb55._0x6f222),_0x4e2615[_0x5ee9df(0x28a,_0x57eb55._0x1025c7)]=function(_0x45bbb3,_0x1d3fcd){return _0x45bbb3!==_0x1d3fcd;},_0x4e2615[_0x5ee9df(_0x57eb55._0x47c833,_0x57eb55._0x295720)]=_0x5ee9df(0x2e5,0x358),_0x4e2615['kPulN']=_0x5ee9df(_0x57eb55._0x5cd309,0x21a),_0x4e2615['qEETW']=function(_0x5ea606,_0x4de354){return _0x5ea606 instanceof _0x4de354;};const _0x20c105=_0x4e2615;if(!activeEngine)return;const {projectName:_0x79c530,actors:_0x20ca6c}=activeEngine,_0x348b52=await readStateFile(),_0x38022a={};if(_0x348b52)for(const [_0x54866d,_0x106ae4]of Object[_0x5ee9df(0x28c,0x2e9)](_0x348b52[_0x2a1d5d(0x77,_0x57eb55._0x18f550)])){if(_0x20c105['dXmZS'](_0x5ee9df(_0x57eb55._0x5c19d4,_0x57eb55._0x4f4dc1),_0x20c105[_0x5ee9df(0x2ff,0x267)])){const _0x3479d5=_0x262a2b[_0x2bb30a],_0x207a35={};_0x207a35[_0x2a1d5d(_0x57eb55._0x3309bf,0x66)]=_0x3305a1,_0x207a35[_0x2a1d5d(-0x26,-0xca)]=_0x3479d5[_0x5ee9df(_0x57eb55._0x8dd835,0x1fc)]??_0x38a544;const _0x2596b1={};_0x2596b1[_0x5ee9df(_0x57eb55._0x35f353,_0x57eb55._0x482e0f)]=_0x207a35;const _0x2ece3e=_0x8c18d9(_0x5e51fd,_0x2596b1);_0x2ece3e[_0x5ee9df(_0x57eb55._0x2bbcff,0x290)]();const _0xdba296={};_0xdba296[_0x5ee9df(_0x57eb55._0x519672,_0x57eb55._0x4f491f)]=_0x20c105[_0x2a1d5d(_0x57eb55._0x30264c,_0x57eb55._0x1f4d30)],_0x2ece3e[_0x2a1d5d(0x30,-_0x57eb55._0x2387e1)](_0xdba296);for(let _0x52ebe5=-0xe53+0xff4*-0x2+0x2e3b;_0x20c105[_0x2a1d5d(0x14a,0x17e)](_0x52ebe5,_0x117948[_0x5ee9df(0x202,0x286)]);_0x52ebe5++){const _0x17c9f4={};_0x17c9f4[_0x5ee9df(_0x57eb55._0x32ef14,0x2b3)]=_0x5ee9df(0x2f5,0x27c)+'LETE',_0x2ece3e['send'](_0x17c9f4);}_0x3759c7[_0x2a1d5d(0x11,-_0x57eb55._0x5b1d41)](_0x304562,_0x2ece3e);}else!_0x20ca6c['has'](_0x54866d)&&(_0x38022a[_0x54866d]=_0x106ae4);}const _0x533c9f={};let _0x151cbf=_0x20c105[_0x2a1d5d(_0x57eb55._0xb8ffea,-0x5d)];for(const [_0x1dc125,_0x1e10b]of _0x20ca6c){const _0x54cefe=_0x1e10b[_0x2a1d5d(0x115,_0x57eb55._0x1b642c)+'t'](),_0x2d1942=typeof _0x54cefe[_0x5ee9df(_0x57eb55._0x4185b4,_0x57eb55._0x404595)]===_0x20c105[_0x5ee9df(0x27d,0x31b)]?_0x54cefe[_0x5ee9df(_0x57eb55._0x172574,_0x57eb55._0x404595)]:_0x20c105[_0x2a1d5d(-_0x57eb55._0xf4ca43,0x4f)];_0x533c9f[_0x1dc125]={'agentId':_0x1dc125,'parentId':_0x54cefe[_0x2a1d5d(_0x57eb55._0x25383c,0x13b)]?.[_0x5ee9df(_0x57eb55._0x341205,_0x57eb55._0x48b912)]??null,'childIds':_0x54cefe[_0x2a1d5d(0xb9,0x12a)]?.[_0x5ee9df(_0x57eb55._0x2de6d1,_0x57eb55._0x1bd70b)]??[],'phase':_0x2d1942,'currentOperation':_0x54cefe[_0x2a1d5d(_0x57eb55._0x25383c,0x109)]?.['currentOpe'+_0x2a1d5d(_0x57eb55._0x45b2b7,0x3d)]??'','currentSkill':_0x54cefe[_0x5ee9df(0x27d,_0x57eb55._0x3b62e5)]?.[_0x5ee9df(0x373,_0x57eb55._0x955aac)+'ll']??''},_0x20c105['LMZiX'](_0x2d1942,_0x2a1d5d(_0x57eb55._0x2f50d9,0x5b))&&(_0x151cbf=_0x2d1942);}const _0x33aa86={..._0x38022a,..._0x533c9f},_0x36db31=_0x33aa86;function _0x2a1d5d(_0x1779b3,_0x34ae98){return _0x45296c(_0x1779b3- -0x2fd,_0x34ae98);}for(const [,_0x21b378]of Object['entries'](_0x38022a)){if(_0x20c105['dXmZS']('qabyC',_0x20c105[_0x2a1d5d(_0x57eb55._0x52e73a,0x146)]))_0x435da5=_0x20c105[_0x2a1d5d(_0x57eb55._0x3f4cab,0x2a)];else{if(_0x21b378[_0x5ee9df(0x2d3,_0x57eb55._0x344bd3)]!==_0x20c105[_0x5ee9df(_0x57eb55._0x1aa003,_0x57eb55._0x31be22)]){if(_0x5ee9df(_0x57eb55._0xe05b80,0x362)===_0x20c105[_0x2a1d5d(_0x57eb55._0x49525b,0x2)]){const _0x39a0a7={..._0x3c2dbb[_0x51db9b]};_0x39a0a7[_0x5ee9df(0x319,_0x57eb55._0x234f43)]=_0x1b24e0,_0x2f73f7[_0x9cf8f]=_0x39a0a7;}else _0x151cbf=_0x21b378[_0x2a1d5d(_0x57eb55._0x1b4913,0xff)];}}}for(let _0x3f0ef0=-0x1f09+0x4*0x109+-0x51*-0x55;_0x3f0ef0<MAX_RETRIES;_0x3f0ef0++){try{if(_0x5ee9df(0x308,0x30b)==='rdYxn'){const _0x25319d=new StateFileManager(STATE_FILE_PATH);await _0x25319d[_0x2a1d5d(0xf4,_0x57eb55._0x836513)]();const _0x273549={};_0x273549['name']=_0x79c530,_0x273549[_0x2a1d5d(0x9d,0xda)+'se']=_0x151cbf;const _0x4036e9={};_0x4036e9[_0x5ee9df(0x165,0x201)]=_0x273549,_0x4036e9[_0x2a1d5d(0x77,_0x57eb55._0xb0a8c2)]=_0x36db31,_0x4036e9[_0x2a1d5d(0x14d,_0x57eb55._0x46440f)+_0x5ee9df(0x249,_0x57eb55._0x5e25ef)]=null,await _0x25319d[_0x2a1d5d(0xb3,_0x57eb55._0x16791f)](_0x4036e9);return;}else{_0x4a2103[_0x2a1d5d(_0x57eb55._0x150a76,0x145)]('❌\x20Agent\x20'+_0x348426+(_0x2a1d5d(0x4b,-_0x57eb55._0x190fea)+'e.json'));return;}}catch(_0x37aa01){if(_0x20c105[_0x5ee9df(0x28d,_0x57eb55._0x5cd309)](_0x37aa01,Error)&&_0x37aa01[_0x5ee9df(0x2d5,0x2b0)]['includes']('乐观锁冲突')&&_0x20c105[_0x5ee9df(0x2b9,0x36c)](_0x3f0ef0,MAX_RETRIES-(-0x29*0x9b+-0x1b4+-0xc*-0x236))){await new Promise(_0x1d7f09=>setTimeout(_0x1d7f09,0x1a*-0xa7+0x1241*-0x1+0x2369+Math[_0x2a1d5d(0x123,0x16b)]()*(0x2139+-0x1da6+0x32f*-0x1)));continue;}throw _0x37aa01;}}}export async function analyzeRequirements(_0x29871c,_0x327715=_0x256afd(0x3d8,0x32c),_0x47a76f){const _0x22bea9={_0x7e8ebd:0x2f,_0x862f0b:0x244,_0x5a773e:0x40d,_0x3ac703:0x391,_0x42afef:0x6c,_0x46c1bd:0x17,_0x88aa80:0x448,_0x80eee4:0xdb,_0x73bdb:0xa3,_0x48a6a7:0x2cf,_0x4f0b12:0x38a,_0x27e041:0x351,_0x29f4ee:0x379,_0x3516a5:0x3ea,_0x426dd4:0x35,_0x4542e9:0xb9},_0x18c38a={_0x49decc:0x4},_0x1c8125={'fozmT':_0x55772c(0x7f,_0x22bea9._0x7e8ebd)+_0x5683ef(0x2d5,_0x22bea9._0x862f0b)+_0x55772c(0x175,0x18a)+'nalyze-req'+_0x5683ef(_0x22bea9._0x5a773e,0x44f)+'js','lNhkn':function(_0x405918,_0x96c16e){return _0x405918(_0x96c16e);}};function _0x5683ef(_0x1db5bb,_0x3cf521){return _0x45296c(_0x1db5bb- -_0x18c38a._0x49decc,_0x3cf521);}console[_0x5683ef(_0x22bea9._0x3ac703,0x31a)](_0x5683ef(0x412,0x3b2)),console[_0x55772c(0xdb,0xfc)](_0x55772c(_0x22bea9._0x42afef,-_0x22bea9._0x46c1bd)+_0x29871c);function _0x55772c(_0x99abf1,_0x2725cb){return _0x256afd(_0x2725cb,_0x99abf1- -0x21b);}console[_0x5683ef(0x391,_0x22bea9._0x88aa80)](_0x55772c(0x91,0xae)+_0x327715);if(_0x47a76f)console[_0x55772c(_0x22bea9._0x80eee4,0xbf)](_0x55772c(0xa9,0x11c)+_0x47a76f);console[_0x5683ef(0x391,0x371)]();try{const {createAnalyzeRequirementsTool:_0x3756c4}=await import(_0x1c8125[_0x55772c(0x15b,_0x22bea9._0x73bdb)]),_0xc9b8de=_0x3756c4(process['cwd']()),_0x5ef77d={};_0x5ef77d[_0x5683ef(_0x22bea9._0x48a6a7,0x2b0)]=_0x29871c,_0x5ef77d[_0x5683ef(_0x22bea9._0x4f0b12,0x3b5)]=_0x327715,_0x5ef77d[_0x55772c(0x11b,0xc7)]=_0x47a76f;const _0x1fd497=await _0xc9b8de[_0x5683ef(0x3ec,_0x22bea9._0x27e041)](_0x5ef77d,{'sessionID':'','messageID':'','agent':_0x5683ef(_0x22bea9._0x29f4ee,0x346),'directory':process[_0x5683ef(_0x22bea9._0x3516a5,0x400)](),'worktree':process[_0x5683ef(_0x22bea9._0x3516a5,0x377)](),'abort':new AbortController()[_0x55772c(0x180,0x1f9)],'metadata':()=>{},'ask':async()=>{}});console['log'](_0x1fd497);}catch(_0x5f2303){console['error'](_0x55772c(_0x22bea9._0x426dd4,_0x22bea9._0x4542e9)+(_0x5f2303 instanceof Error?_0x5f2303[_0x55772c(0xd1,0x176)]:_0x1c8125[_0x55772c(0xa8,0xe4)](String,_0x5f2303))),process[_0x55772c(0x155,0x1f6)](0x787+-0x25d7+-0x255*-0xd);}}
1
+ (function(_0x4f8c7c,_0x2374d2){const _0x53b26c={_0xe39987:0x20e,_0x3c21f6:0x11c,_0x5f042f:0x60,_0x3e95df:0xb7,_0x266cd1:0xfd,_0x582bf2:0x134,_0x108b4a:0xa5,_0x50ec4a:0x2c3,_0x26ead7:0x1bf,_0x4840c8:0x1e6,_0x207daf:0xe7,_0x37d897:0x144},_0x4afe4e={_0x2aa9a6:0x328},_0xf1b89e=_0x4f8c7c();function _0x29ee49(_0x31ef9d,_0x5aeaaf){return _0x2bc7(_0x5aeaaf- -_0x4afe4e._0x2aa9a6,_0x31ef9d);}function _0x24f803(_0x153d55,_0x1a0b1d){return _0x2bc7(_0x1a0b1d- -0xf6,_0x153d55);}while(!![]){try{const _0xee3f74=parseInt(_0x29ee49(-_0x53b26c._0xe39987,-0x183))/(0x1a33+-0x86+-0x19ac)*(parseInt(_0x29ee49(-0x29,-0x1f))/(0x2*0x5fd+-0x3*0x24+-0xb8c))+parseInt(_0x29ee49(-_0x53b26c._0x3c21f6,-0xca))/(0xb*0x15b+0x223+-0x1109)+parseInt(_0x29ee49(-_0x53b26c._0x5f042f,-0x12))/(0x381*-0xb+0x3*0x8+0x2b*0xe5)*(-parseInt(_0x24f803(_0x53b26c._0x3e95df,0x12a))/(-0x1cff+0x10e1+-0xc23*-0x1))+-parseInt(_0x24f803(_0x53b26c._0x266cd1,_0x53b26c._0x582bf2))/(0x98c+0x23c0+-0x2d46)*(-parseInt(_0x29ee49(-_0x53b26c._0x108b4a,-0x117))/(0xe25+0x1cc9*0x1+0x20b*-0x15))+-parseInt(_0x24f803(_0x53b26c._0x50ec4a,0x203))/(-0x1*-0x808+-0x4b*0x7+-0x5f3)*(-parseInt(_0x24f803(0x269,0x1ce))/(0x1*0x283+-0x2b6+0x3c))+-parseInt(_0x29ee49(-_0x53b26c._0x26ead7,-0x16c))/(-0x76*-0x2f+-0x1*-0x2c2+-0x1862*0x1)*(-parseInt(_0x29ee49(-0x1ef,-0x14d))/(-0x2a2+-0x63+0x1c*0x1c))+parseInt(_0x24f803(0x1a5,_0x53b26c._0x4840c8))/(-0x1*-0xb29+-0xd5a+0x1*0x23d)*(-parseInt(_0x29ee49(-_0x53b26c._0x207daf,-_0x53b26c._0x37d897))/(0x242d+-0x1903+-0xb1d));if(_0xee3f74===_0x2374d2)break;else _0xf1b89e['push'](_0xf1b89e['shift']());}catch(_0x100551){_0xf1b89e['push'](_0xf1b89e['shift']());}}}(_0x2529,-0x6*0xe9ef+0x1569d+-0x3a49*-0x40));import{createActor}from'xstate';import{agentMachine}from'./machines/agentMachine.js';function _0x300e91(_0xa7bbde,_0x38f732){const _0x29b9a1={_0xefd3fd:0x142};return _0x2bc7(_0xa7bbde- -_0x29b9a1._0xefd3fd,_0x38f732);}import{supervisorMachine}from'./machines/supervisorMachine.js';import{StateFileManager}from'./persistence/stateFile.js';import{PHASES,PIPELINE_PHASES}from'./types/index.js';import{loadTechContext}from'./context/index.js';import{generateAgentId}from'./utils/id.js';import{readFileSync,existsSync,mkdirSync}from'node:fs';import{resolve}from'node:path';function _0x34d38f(_0x2baf00,_0x307383){const _0x19fbb0={_0x1be5db:0x37f};return _0x2bc7(_0x2baf00- -_0x19fbb0._0x1be5db,_0x307383);}const _0x55959f={};_0x55959f[_0x300e91(0x84,-0x2d)+'lysis']=_0x300e91(0x1b9,0x264),_0x55959f[_0x34d38f(-0x1be,-0x26a)+_0x34d38f(-0x125,-0x1d9)]=_0x34d38f(-0x1d2,-0x1f9),_0x55959f[_0x34d38f(-0xdd,-0xdd)+'alysis']=_0x300e91(0x1a5,0x169),_0x55959f[_0x34d38f(-0x53,-0x9a)+_0x300e91(0x15d,0x1e1)]=_0x300e91(0xe3,0x3b),_0x55959f['discuss']='讨论',_0x55959f[_0x34d38f(-0x183,-0x230)]='规划',_0x55959f[_0x300e91(0x10a,0x1b8)]='执行',_0x55959f[_0x34d38f(-0x8a,-0x2d)]='验证';const PHASE_NAMES=_0x55959f,STATE_FILE_PATH=resolve(process[_0x300e91(0x89,0x17)](),_0x34d38f(-0x182,-0x139),'state.json');let activeEngine=null;export async function startEngine(_0x3ea2c8){const _0x5bc075={_0x4b6adb:0x3bc,_0x4cf9c9:0x3dc,_0x440281:0x1e0,_0x3c7be7:0x2c7,_0x1eec3a:0x376,_0x4032fd:0x1be,_0x4c30d9:0x1b6,_0x5bd3f8:0x2f1,_0x117a38:0x30c,_0x246dea:0x2fe,_0x545cd9:0x34d,_0x8a106e:0x349,_0x42f751:0x341,_0x4506e3:0x362,_0x57f4af:0x2c2,_0x28b455:0x39e,_0x5e00f2:0x358,_0x4b0f94:0x295,_0x514359:0x4a2,_0x13ba17:0x402,_0x571e1e:0x464,_0x1a9901:0x2a1,_0x49fd82:0x472,_0x4217c9:0x3c4,_0x25e470:0x3a1,_0x7351cd:0x238,_0x4527c8:0x1b7,_0x49d863:0x425,_0x1d7bd3:0x42d,_0x5cd044:0x40f,_0x6e6309:0x3fb,_0x1ed890:0x410,_0x4217b7:0x2fd,_0x1dd9a1:0x255,_0x2e5803:0x34f,_0x2c5d06:0x4fb,_0x1829bc:0x3d1,_0x1f030b:0x3bd,_0x5651fd:0x1ae,_0x596c28:0x221,_0x162c59:0x234,_0x1c942f:0x2e4,_0x5e58bc:0x366,_0x42dd76:0x3df,_0x5ab037:0x3a8,_0x2c7d99:0x396,_0x12836f:0x35c,_0x509179:0xec,_0x2baba2:0x2a9,_0x33329a:0x394,_0x2f32dd:0x3aa,_0x49e174:0x44d,_0x2af563:0x340,_0x1338d6:0x2e7,_0x572129:0x1fd,_0x5e82b1:0x2ad,_0x1047fd:0x2a6,_0x49b2e4:0x45d,_0x28dc51:0x44d,_0x7389c0:0x253,_0x47a83e:0x318,_0x445a8a:0x32d,_0xfb784b:0x3de,_0x1cf0a6:0x3a9,_0x4821fd:0x324,_0x229b0b:0x274,_0x30948d:0x47f,_0x4a8bdf:0x240,_0x2e3b68:0x407},_0x49f720={_0x1c96a4:0x4c1},_0xfd50d9={_0x47fb16:0x357},_0x2cdc67={'KaOxD':function(_0x21b921,_0x46d2b0){return _0x21b921===_0x46d2b0;},'BvReT':_0x479109(_0x5bc075._0x4b6adb,0x3a7),'BiWXv':_0x479109(0x448,_0x5bc075._0x4cf9c9),'RDptr':_0x7e9c04(0x12e,_0x5bc075._0x440281),'EdYBQ':_0x7e9c04(0x11c,0x1c9),'dPIQV':_0x7e9c04(_0x5bc075._0x3c7be7,0x248)+'失败,继续执行','xyqZF':function(_0x2db3a6){return _0x2db3a6();},'SWUdZ':function(_0x34c1c2,_0x39bad5,_0x1c5cdb){return _0x34c1c2(_0x39bad5,_0x1c5cdb);},'pwDeR':_0x479109(_0x5bc075._0x1eec3a,0x388)+'E','csZLP':'DISPATCH_T'+_0x479109(0x4c7,0x46d),'rwAHp':_0x7e9c04(_0x5bc075._0x4032fd,_0x5bc075._0x4c30d9),'cANOn':_0x479109(_0x5bc075._0x5bd3f8,_0x5bc075._0x117a38)+_0x479109(_0x5bc075._0x246dea,_0x5bc075._0x545cd9)+_0x479109(_0x5bc075._0x8a106e,_0x5bc075._0x42f751)+'ration\x20推进阶'+'段'},{projectName:_0x268643,agentCount:agentCount=-0xda7+-0x130a+0x20b2,phases:phases=PHASES}=_0x3ea2c8,_0x537d05=new Map();function _0x7e9c04(_0xc615e1,_0x4643d2){return _0x34d38f(_0x4643d2-_0xfd50d9._0x47fb16,_0xc615e1);}console[_0x479109(_0x5bc075._0x4506e3,0x39e)](_0x7e9c04(0x20c,0x1d1)+'an\x20Agent\x20引'+'擎'),console['log'](_0x7e9c04(0x2e6,_0x5bc075._0x57f4af)+_0x268643),console[_0x479109(0x33a,_0x5bc075._0x28b455)](_0x7e9c04(0x1e8,0x211)+_0x7e9c04(_0x5bc075._0x5e00f2,_0x5bc075._0x4b0f94)+agentCount),console[_0x7e9c04(0x175,0x234)](_0x479109(_0x5bc075._0x514359,_0x5bc075._0x13ba17)+phases['map'](_0x5d31de=>PHASE_NAMES[_0x5d31de]??_0x5d31de)[_0x479109(_0x5bc075._0x571e1e,0x3ef)](_0x479109(0x4b0,0x461))+'\x0a');let _0x4f05d5=null;try{if('urtCm'===_0x2cdc67[_0x7e9c04(0x1f8,0x18d)])_0x4f05d5=loadTechContext(),_0x4f05d5&&console[_0x7e9c04(_0x5bc075._0x1a9901,0x234)](_0x2cdc67[_0x479109(0x3cf,_0x5bc075._0x49fd82)]);else{const _0x42a729=_0x439317[_0x479109(_0x5bc075._0x4217c9,_0x5bc075._0x25e470)+'t'](),_0x31c2a4=_0x2cdc67['KaOxD'](typeof _0x42a729[_0x7e9c04(_0x5bc075._0x7351cd,0x22b)],_0x2cdc67[_0x7e9c04(0x219,_0x5bc075._0x4527c8)])?_0x42a729[_0x479109(_0x5bc075._0x49d863,0x395)]:_0x479109(0x4ca,_0x5bc075._0x1d7bd3);if(_0x31c2a4!==_0x2cdc67[_0x479109(0x41b,_0x5bc075._0x5cd044)])return;}}catch(_0xba994f){console['warn'](_0x2cdc67[_0x479109(0x454,_0x5bc075._0x6e6309)],_0xba994f);}function _0x479109(_0x4df47e,_0x591e57){return _0x34d38f(_0x591e57-_0x49f720._0x1c96a4,_0x4df47e);}let _0x3e3f0f=null;if(agentCount>0xc16+0x1*-0x1ca0+0x108b){const _0x4d24f8=_0x2cdc67[_0x479109(0x42c,_0x5bc075._0x1ed890)](generateAgentId),_0x3fb4a3={};_0x3fb4a3[_0x7e9c04(_0x5bc075._0x4217b7,_0x5bc075._0x1dd9a1)]=_0x4d24f8;const _0x3f82e8={};_0x3f82e8[_0x7e9c04(_0x5bc075._0x2e5803,0x2e3)]=_0x3fb4a3,_0x3e3f0f=_0x2cdc67[_0x479109(_0x5bc075._0x2c5d06,0x45a)](createActor,supervisorMachine,_0x3f82e8),_0x3e3f0f[_0x7e9c04(0x184,0x242)]();const _0x4a3ff2={};_0x4a3ff2[_0x479109(_0x5bc075._0x1829bc,_0x5bc075._0x1f030b)]=_0x2cdc67['pwDeR'],_0x4a3ff2['phase']=phases[-0x11d4+-0x26f*0x2+0x16b2],_0x3e3f0f[_0x7e9c04(0x25e,_0x5bc075._0x5651fd)](_0x4a3ff2),console[_0x7e9c04(_0x5bc075._0x596c28,_0x5bc075._0x162c59)]('['+_0x4d24f8+(_0x7e9c04(0x1f4,0x1b1)+_0x479109(_0x5bc075._0x1c942f,_0x5bc075._0x5e58bc)));for(let _0x31b199=-0x526+-0x175d+0x1c83;_0x31b199<agentCount;_0x31b199++){const _0x1a410d=generateAgentId(),_0x25b93b={};_0x25b93b[_0x479109(0x351,_0x5bc075._0x1f030b)]=_0x2cdc67[_0x479109(_0x5bc075._0x42dd76,0x470)],_0x25b93b[_0x479109(_0x5bc075._0x5ab037,0x305)]=_0x1a410d,_0x25b93b[_0x479109(_0x5bc075._0x2c7d99,_0x5bc075._0x12836f)]='子任务\x20'+(_0x31b199+(0x7a2*0x2+0xff7+-0x1*0x1f3a)),_0x3e3f0f[_0x7e9c04(_0x5bc075._0x509179,_0x5bc075._0x5651fd)](_0x25b93b);const _0x5490e2={};_0x5490e2[_0x7e9c04(_0x5bc075._0x2baba2,0x255)]=_0x1a410d,_0x5490e2[_0x479109(0x441,_0x5bc075._0x33329a)]=_0x4d24f8,_0x5490e2[_0x479109(0x437,0x3de)]=phases;const _0x14e5fd={};_0x14e5fd[_0x479109(_0x5bc075._0x2f32dd,_0x5bc075._0x49e174)]=_0x5490e2;const _0x47f4c3=createActor(agentMachine,_0x14e5fd);_0x47f4c3[_0x7e9c04(0x1c9,0x242)]();const _0x1bdddd={};_0x1bdddd['type']=_0x2cdc67[_0x7e9c04(0x26e,0x260)],_0x47f4c3['send'](_0x1bdddd),_0x537d05['set'](_0x1a410d,_0x47f4c3),console['log']('['+_0x4d24f8+(_0x7e9c04(_0x5bc075._0x2af563,_0x5bc075._0x1338d6)+_0x7e9c04(_0x5bc075._0x572129,_0x5bc075._0x5e82b1))+_0x1a410d);}}else{const _0x2a340d=_0x2cdc67[_0x7e9c04(0x2ea,_0x5bc075._0x1047fd)](generateAgentId),_0x29a8ca={};_0x29a8ca[_0x479109(_0x5bc075._0x49b2e4,0x3bf)]=_0x2a340d,_0x29a8ca[_0x7e9c04(0x300,0x274)]=phases;const _0x5d20c1={};_0x5d20c1[_0x479109(0x507,_0x5bc075._0x28dc51)]=_0x29a8ca;const _0x1a337b=createActor(agentMachine,_0x5d20c1);_0x1a337b[_0x7e9c04(0x2dd,0x242)]();const _0x2729fa={};_0x2729fa[_0x7e9c04(0x18e,_0x5bc075._0x7389c0)]=_0x479109(0x2c7,0x320),_0x1a337b[_0x479109(0x329,_0x5bc075._0x47a83e)](_0x2729fa),_0x537d05[_0x479109(0x37e,_0x5bc075._0x445a8a)](_0x2a340d,_0x1a337b),console[_0x7e9c04(0x259,0x234)]('['+_0x2a340d+(_0x479109(_0x5bc075._0xfb784b,_0x5bc075._0x1cf0a6)+'动,等待阶段推进'));}const _0x463c71={};_0x463c71[_0x479109(_0x5bc075._0x4217b7,_0x5bc075._0x4821fd)+'e']=_0x268643,_0x463c71[_0x7e9c04(0x2b4,_0x5bc075._0x229b0b)]=phases,_0x463c71[_0x479109(_0x5bc075._0x30948d,0x3c2)]=_0x537d05,_0x463c71[_0x7e9c04(0x1d6,0x297)+_0x7e9c04(0x1c5,_0x5bc075._0x4a8bdf)]=_0x3e3f0f,_0x463c71[_0x479109(0x3ef,_0x5bc075._0x2e3b68)+'t']=_0x4f05d5,activeEngine=_0x463c71,await persistCurrentState(),console[_0x7e9c04(0x1ab,0x234)](_0x2cdc67[_0x7e9c04(0x234,0x2e2)]);}export async function advancePhase(_0xc6a8a1){const _0x50688c={_0x18f0a4:0x664,_0x158784:0x60f,_0x13a3d5:0x5eb,_0x338deb:0x609,_0x3c216e:0x5a2,_0x1861c8:0x501,_0x196d68:0x516,_0xf23ad0:0x228,_0x861e5b:0x55f,_0x1e0dc6:0x16b,_0x50fd8d:0x5d1,_0x519fdd:0x52d,_0xa0b4c7:0x221,_0x79cc68:0x1cc,_0x40a501:0x223,_0x2fd811:0x5ad,_0xa9c343:0x511,_0x3e9c6c:0x5a7,_0x5c0e49:0x51f,_0x1a5366:0x58b,_0x3515fc:0x627,_0x29078b:0x186,_0x94079e:0x218,_0xe97986:0x1dd,_0x53461a:0x10c,_0x2e80f3:0x15e,_0x33de5d:0x527,_0x2bf526:0x1f8,_0x337135:0x1c3,_0x509e3e:0x1cf,_0x2b39b8:0x258,_0x45c1f1:0x1b7,_0x798b8d:0x63c,_0x276827:0x147,_0x415114:0x19c,_0x45288b:0x501,_0x340f6b:0x4a0,_0x2b66e1:0x1a0,_0x21a46d:0x21c,_0x143758:0x247,_0x24e8f0:0x199,_0x18a5ec:0x1cb,_0x371beb:0x19f,_0x39dc56:0x274,_0x3475bc:0x553,_0x1326e5:0x532,_0x3b96fa:0x18e,_0x5d406a:0x137,_0x52877f:0x1c0,_0x295bf8:0x8d,_0x2d6e0f:0x1fe},_0x48b0b2={_0x47b9e1:0x2e3},_0x301682={_0x3067ae:0x6d0};function _0xa0ae9d(_0x26e28f,_0x1b1739){return _0x34d38f(_0x26e28f-_0x301682._0x3067ae,_0x1b1739);}const _0x4244f5={'NlCTv':function(_0x23510e,_0x1aa7c7){return _0x23510e(_0x1aa7c7);},'CYhDO':function(_0x3ce581,_0x390d9e){return _0x3ce581!==_0x390d9e;},'FOxlk':_0xa0ae9d(0x55f,0x4c7),'LooIM':function(_0x554163,_0x60f749){return _0x554163===_0x60f749;},'VNHyv':_0xa0ae9d(0x5b6,0x561),'WPoua':function(_0x4b0a13,_0x16d981){return _0x4b0a13!==_0x16d981;},'GgndZ':'uLFOm','ZDmHi':_0xa0ae9d(_0x50688c._0x18f0a4,_0x50688c._0x158784)+'LETE','RmAhK':function(_0x120549){return _0x120549();},'zIidg':_0xa0ae9d(_0x50688c._0x13a3d5,0x662),'CnvGg':function(_0x14214b){return _0x14214b();}};if(activeEngine){const {actors:_0x14812e}=activeEngine,_0x64f04f=_0xc6a8a1??_0x4244f5[_0x2a4e7e(0x224,0x21c)](findFirstIncompleteAgent,_0x14812e);if(!_0x64f04f){if(_0xc6a8a1){await _0x4244f5[_0xa0ae9d(_0x50688c._0x338deb,_0x50688c._0x3c216e)](advancePhaseViaFile,_0xc6a8a1);return;}console[_0xa0ae9d(0x5ad,0x64c)](_0xa0ae9d(0x580,0x5f0)+_0xa0ae9d(_0x50688c._0x1861c8,_0x50688c._0x196d68));return;}const _0x3b4953=_0x14812e['get'](_0x64f04f);if(!_0x3b4953){if(_0x4244f5[_0x2a4e7e(_0x50688c._0xf23ad0,0x1a4)](_0xa0ae9d(_0x50688c._0x861e5b,0x574),_0x4244f5[_0x2a4e7e(0xdd,_0x50688c._0x1e0dc6)])){if(!_0x115bb2)return;for(const [,_0x4389ed]of _0x28db08[_0xa0ae9d(_0x50688c._0x50fd8d,_0x50688c._0x519fdd)]){_0x4389ed[_0x2a4e7e(0x297,0x27b)]();}_0x293596[_0xa0ae9d(0x610,0x60d)+_0x2a4e7e(_0x50688c._0xa0b4c7,_0x50688c._0x79cc68)]&&_0x62ce58[_0x2a4e7e(0x27a,_0x50688c._0x40a501)+'Actor']['stop'](),_0x49e7bd=null,_0x65b44e[_0xa0ae9d(_0x50688c._0x2fd811,_0x50688c._0xa9c343)]('🛑\x20引擎已停止');}else{await advancePhaseViaFile(_0x64f04f);return;}}const _0x43fc5a=_0x3b4953[_0x2a4e7e(0x1bc,0x1c3)+'t'](),_0x2628dc=_0x4244f5[_0xa0ae9d(_0x50688c._0x3e9c6c,_0x50688c._0x5c0e49)](typeof _0x43fc5a[_0xa0ae9d(0x5a4,_0x50688c._0x1a5366)],_0x4244f5[_0xa0ae9d(_0x50688c._0x3515fc,0x64c)])?_0x43fc5a[_0xa0ae9d(0x5a4,0x550)]:_0xa0ae9d(0x63c,0x65b);if(_0x2628dc==='completed'){if(_0x4244f5[_0x2a4e7e(_0x50688c._0x29078b,0x20e)](_0x4244f5[_0x2a4e7e(_0x50688c._0x94079e,0x255)],_0x2a4e7e(0x232,_0x50688c._0xe97986))){_0x52f7f1[_0xa0ae9d(0x5ad,0x4e9)]('⚠️\x20\x20Agent\x20'+_0x134de7+_0x2a4e7e(_0x50688c._0x53461a,_0x50688c._0x2e80f3));return;}else{console['log']('['+_0x64f04f+_0x2a4e7e(0x25e,0x199));return;}}const _0x56f8d9={};_0x56f8d9[_0x2a4e7e(0x229,0x1df)]=_0x4244f5[_0x2a4e7e(0x222,0x227)],_0x3b4953[_0xa0ae9d(_0x50688c._0x33de5d,0x515)](_0x56f8d9);const _0x588198=_0x3b4953[_0x2a4e7e(_0x50688c._0x2bf526,_0x50688c._0x337135)+'t'](),_0x10ecc4=typeof _0x588198['value']===_0x4244f5[_0x2a4e7e(_0x50688c._0x509e3e,0x23a)]?_0x588198[_0x2a4e7e(_0x50688c._0x2b39b8,_0x50688c._0x45c1f1)]:_0xa0ae9d(_0x50688c._0x798b8d,0x5b3),_0x3bc865=PHASE_NAMES[_0x2628dc]??_0x2628dc,_0x45554a=PHASE_NAMES[_0x10ecc4]??_0x10ecc4;console['log']('['+_0x64f04f+']\x20'+_0x3bc865+'\x20→\x20'+_0x45554a),await _0x4244f5[_0x2a4e7e(_0x50688c._0x276827,0x1a0)](persistCurrentState);_0x10ecc4===_0x4244f5['zIidg']&&(console[_0x2a4e7e(_0x50688c._0x415114,0x1c0)]('\x0a✅\x20Agent\x20'+_0x64f04f+_0xa0ae9d(_0x50688c._0x45288b,_0x50688c._0x340f6b)),_0x4244f5[_0x2a4e7e(0x11e,_0x50688c._0x2b66e1)](checkAllComplete));return;}function _0x2a4e7e(_0x2c3116,_0x79a97c){return _0x34d38f(_0x79a97c-_0x48b0b2._0x47b9e1,_0x2c3116);}if(_0xc6a8a1)await _0x4244f5[_0x2a4e7e(0x1e8,_0x50688c._0x21a46d)](advancePhaseViaFile,_0xc6a8a1);else{if(_0x2a4e7e(_0x50688c._0x143758,0x261)!==_0x2a4e7e(0x207,0x261)){_0x5be752[_0xa0ae9d(0x5ad,0x618)]('['+_0x26d7cd+_0x2a4e7e(0x1cb,_0x50688c._0x24e8f0));return;}else{const _0x316639=await _0x4244f5[_0x2a4e7e(0x2ac,0x258)](readStateFile);if(!_0x316639){console[_0x2a4e7e(_0x50688c._0x18a5ec,0x1c0)]('⚠️\x20\x20无活跃引擎且状'+'态文件不存在,请先运'+'行\x20start\x20或\x20'+'new-projec'+_0x2a4e7e(0x262,_0x50688c._0x371beb));return;}const _0x446eb0=Object[_0x2a4e7e(0x1b4,_0x50688c._0x39dc56)](_0x316639[_0x2a4e7e(0x265,0x1f0)])[_0xa0ae9d(_0x50688c._0x3475bc,0x5d9)](_0x5f192a=>_0x316639[_0xa0ae9d(0x5dd,0x675)][_0x5f192a][_0x2a4e7e(0x31c,0x25a)]!=='completed');if(!_0x446eb0){if(_0xa0ae9d(0x524,_0x50688c._0x1326e5)===_0x2a4e7e(_0x50688c._0x3b96fa,_0x50688c._0x5d406a)){console[_0x2a4e7e(0x14b,_0x50688c._0x52877f)]('✅\x20所有\x20Agent'+_0x2a4e7e(_0x50688c._0x295bf8,0x114));return;}else _0x5bb788=_0x2a4e7e(0x146,_0x50688c._0x2d6e0f);}await advancePhaseViaFile(_0x446eb0);}}}async function advancePhaseViaFile(_0x56b92e){const _0x5bf971={_0x563a:0x725,_0x419668:0x681,_0xe63e48:0x587,_0x2aa228:0x345,_0x14a3a7:0x3b0,_0x52d627:0x706,_0x2c7449:0x662,_0x951a0e:0x46e,_0x2e9b2e:0x4a0,_0x16576b:0x46c,_0x2eadd8:0x462,_0x4f85d0:0x362,_0x2c2345:0x2b5,_0x50b7f1:0x5a7,_0x4f5b18:0x66e,_0x2d8906:0x67f,_0x235859:0x605,_0x3a5f25:0x4fd,_0x56d241:0x43d,_0x281a73:0x328,_0x476768:0x381,_0x74ef5f:0x407,_0x457f1b:0x5cc,_0x2fad5f:0x4aa,_0x5547c4:0x33e,_0xd32df8:0x3bb,_0x4d8214:0x4ba,_0x4ea970:0x447,_0x20b41a:0x3e2,_0xb1bc8:0x449,_0x57150b:0x43c,_0xa34950:0x47a,_0x2240bd:0x47c,_0x14dcb7:0x458,_0x51f4f9:0x46c,_0x5c5722:0x591,_0x5a5054:0x5cb,_0x47966e:0x668,_0x476457:0x62d,_0x2da9ab:0x59f,_0x583214:0x3f6,_0x40d4c2:0x4b0,_0x565592:0x4fd,_0x4fcd2f:0x363,_0x1ed9ba:0x56c,_0x2ebc5d:0x4a3,_0x32aa7e:0x4bc,_0x12dc27:0x553,_0x517b73:0x49a,_0x1c148d:0x46d,_0x1af193:0x3ba,_0x500a26:0x507,_0x47f899:0x57d,_0x55d005:0x643,_0x2598d7:0x49f,_0x1d8f4a:0x4d5,_0x4eeb08:0x57e,_0x33d1f5:0x419,_0x96f52c:0x49d,_0x359d93:0x3d7,_0x3419c9:0x533,_0x27d181:0x579,_0x57ea3f:0x523,_0x40e5b1:0x60c,_0x10cc26:0x41f,_0xfac8d3:0x5d9,_0x532bb9:0x3b2,_0x394472:0x5f8,_0x5b59e7:0x5e7,_0x4c44b5:0x4ba,_0x5d846b:0x4a7,_0x57482c:0x4ed,_0x402584:0x55f,_0x5f4ba6:0x5a6,_0xe33c85:0x55e,_0x8b2bf:0x3d3,_0x2241ec:0x422,_0x20a77c:0x3c0,_0x13099c:0x49a,_0x41a6e8:0x578,_0x532529:0x5e7,_0xe6a1de:0x386,_0x213988:0x41a,_0x1db34a:0x525,_0x34e4b1:0x657},_0x14162f={_0x123995:0x48f},_0x1cf5a7={};_0x1cf5a7[_0x58c0a3(_0x5bf971._0x563a,_0x5bf971._0x419668)]=_0x58c0a3(_0x5bf971._0xe63e48,0x5e7),_0x1cf5a7[_0x3f3519(_0x5bf971._0x2aa228,_0x5bf971._0x14a3a7)]=_0x58c0a3(0x5c1,0x5f8)+_0x58c0a3(_0x5bf971._0x52d627,_0x5bf971._0x2c7449)+_0x3f3519(_0x5bf971._0x951a0e,_0x5bf971._0x2e9b2e),_0x1cf5a7['KcWNz']=function(_0x3c4b85,_0x1a7912){return _0x3c4b85===_0x1a7912;},_0x1cf5a7[_0x3f3519(_0x5bf971._0x16576b,_0x5bf971._0x2eadd8)]=function(_0x459f7d,_0x25ae40){return _0x459f7d>=_0x25ae40;},_0x1cf5a7[_0x3f3519(0x390,0x359)]=function(_0x305a42,_0x323831){return _0x305a42<_0x323831;},_0x1cf5a7['jbMQW']=function(_0x252480,_0x12afd6){return _0x252480-_0x12afd6;},_0x1cf5a7[_0x3f3519(_0x5bf971._0x4f85d0,_0x5bf971._0x2c2345)]=function(_0x4f3321,_0x4de059){return _0x4f3321!==_0x4de059;},_0x1cf5a7[_0x58c0a3(_0x5bf971._0x50b7f1,_0x5bf971._0x4f5b18)]=_0x58c0a3(_0x5bf971._0x2d8906,0x5c7),_0x1cf5a7[_0x3f3519(0x4b0,0x4d9)]=function(_0x2f0fa7,_0x4ea30c){return _0x2f0fa7-_0x4ea30c;},_0x1cf5a7[_0x58c0a3(0x4fd,0x52a)]=function(_0x3c2871,_0xd75aee){return _0x3c2871+_0xd75aee;},_0x1cf5a7[_0x58c0a3(_0x5bf971._0x235859,0x631)]=_0x3f3519(0x369,0x2ff),_0x1cf5a7['qOtuY']=_0x58c0a3(_0x5bf971._0x3a5f25,0x541),_0x1cf5a7['QJwfh']='awugM',_0x1cf5a7['LtHfj']=_0x3f3519(0x45d,_0x5bf971._0x56d241),_0x1cf5a7[_0x58c0a3(0x556,0x54d)]=_0x3f3519(0x3a9,_0x5bf971._0x281a73),_0x1cf5a7['cupbC']=_0x3f3519(_0x5bf971._0x476768,0x3f0);const _0x3f7dd9=_0x1cf5a7,_0x33f2bf=await readStateFile();if(!_0x33f2bf){console[_0x3f3519(0x3e2,0x425)](_0x3f3519(0x431,_0x5bf971._0x74ef5f));return;}const _0x3f07d0=_0x33f2bf[_0x3f3519(0x412,0x40e)][_0x56b92e];if(!_0x3f07d0){console[_0x58c0a3(_0x5bf971._0x457f1b,0x5a9)](_0x3f3519(_0x5bf971._0x2fad5f,0x469)+_0x56b92e+('\x20不存在于\x20stat'+_0x3f3519(_0x5bf971._0x5547c4,_0x5bf971._0xd32df8)));return;}function _0x3f3519(_0x43e035,_0x52e2e9){return _0x300e91(_0x43e035-0x2c8,_0x52e2e9);}function _0x58c0a3(_0x16db76,_0x4d4e8b){return _0x300e91(_0x4d4e8b-_0x14162f._0x123995,_0x16db76);}if(_0x3f7dd9['KcWNz'](_0x3f07d0[_0x3f3519(0x47c,0x53a)],_0x3f7dd9[_0x3f3519(_0x5bf971._0x4d8214,_0x5bf971._0x4ea970)])){console[_0x3f3519(_0x5bf971._0x20b41a,_0x5bf971._0xb1bc8)]('['+_0x56b92e+_0x3f3519(0x3bb,_0x5bf971._0x57150b));return;}const _0xc79c74=[...PHASES,...PIPELINE_PHASES],_0x3855fe=_0xc79c74[_0x3f3519(0x42c,_0x5bf971._0xa34950)](_0x3f07d0[_0x3f3519(_0x5bf971._0x2240bd,_0x5bf971._0x14dcb7)]);let _0xd3e3db;if(_0x3f7dd9[_0x3f3519(_0x5bf971._0x51f4f9,0x51f)](_0x3855fe,-0xc3e+-0x200*-0x5+0x23e)&&_0x3f7dd9['cOnrh'](_0x3855fe,_0x3f7dd9['jbMQW'](_0xc79c74[_0x58c0a3(_0x5bf971._0x5c5722,_0x5bf971._0x5a5054)],-0x10*-0xcf+-0x244d+0x1*0x175e))){const _0x505066=PHASES['indexOf'](_0x3f07d0['phase']),_0x1d3a36=PIPELINE_PHASES[_0x58c0a3(0x574,0x5f3)](_0x3f07d0[_0x58c0a3(_0x5bf971._0x47966e,0x643)]);if(_0x505066>=0x1fe9+-0x2280+-0x33*-0xd){if(_0x3f7dd9[_0x3f3519(0x362,0x3bb)](_0x3f7dd9[_0x58c0a3(_0x5bf971._0x476457,0x66e)],_0x3f7dd9[_0x58c0a3(0x70d,0x66e)])){const _0x32632b=_0x22686d[_0x4702c9[_0x58c0a3(0x62a,_0x5bf971._0x2da9ab)]];_0x29a3e8[_0x55d5b6['parentId']]={..._0x32632b,'childIds':_0x32632b[_0x58c0a3(0x517,0x515)][_0x3f3519(0x452,_0x5bf971._0x583214)](_0x230014=>_0x230014!==_0x23d963)};}else{if(_0x505066<_0x3f7dd9[_0x3f3519(_0x5bf971._0x40d4c2,_0x5bf971._0x565592)](PHASES['length'],-0xe78+-0x29*-0xf1+0x1820*-0x1)){if('dOKyq'===_0x3f3519(0x497,0x535))_0xd3e3db=PHASES[_0x3f7dd9[_0x3f3519(_0x5bf971._0x4fcd2f,0x334)](_0x505066,0x157*-0x11+0x11dd*-0x2+0x1*0x3a82)];else{_0x2cf075[_0x3f3519(0x3e2,0x38d)](_0x58c0a3(_0x5bf971._0x1ed9ba,0x5b1)+_0x3f3519(_0x5bf971._0x2ebc5d,_0x5bf971._0x32aa7e));return;}}else _0xd3e3db=_0x3f7dd9[_0x3f3519(0x4ba,_0x5bf971._0x12dc27)];}}else{if(_0x1d3a36>=-0x862*-0x1+0x1bd9+-0x19*0x173)_0x1d3a36<PIPELINE_PHASES[_0x3f3519(0x404,_0x5bf971._0x517b73)]-(-0x591+0x85*0xa+0x60)?_0xd3e3db=PIPELINE_PHASES[_0x1d3a36+(0x4e4+-0xf2*-0xa+-0xe57)]:_0xd3e3db=_0x3f3519(0x420,_0x5bf971._0x1c148d);else{if(_0x3f3519(0x337,_0x5bf971._0x1af193)===_0x3f7dd9[_0x58c0a3(0x58d,0x631)]){if(_0x3cef18[_0x4c8714]['phase']!==_0x3f7dd9[_0x3f3519(_0x5bf971._0x4d8214,_0x5bf971._0x500a26)]){const _0x3349eb={..._0x46b9b6[_0x3e688c]};_0x3349eb[_0x58c0a3(_0x5bf971._0x47f899,_0x5bf971._0x55d005)]=_0x29c795,_0x3a9bc5[_0xd5637]=_0x3349eb;}}else _0xd3e3db=_0x3f7dd9[_0x3f3519(0x4ba,_0x5bf971._0x2598d7)];}}}else{if(_0x3f07d0[_0x3f3519(0x47c,_0x5bf971._0x1d8f4a)]===_0x58c0a3(0x4e8,_0x5bf971._0x4eeb08))_0x58c0a3(0x5f5,0x592)!==_0x3f7dd9[_0x3f3519(0x39c,_0x5bf971._0x33d1f5)]?_0xd3e3db=PHASES[0x52c+0x1*0xfe5+-0x1511*0x1]:_0x2534d5[_0x3f3519(_0x5bf971._0x96f52c,_0x5bf971._0x359d93)]();else{if(_0x3f7dd9['SNbNJ'](_0x3f7dd9[_0x58c0a3(_0x5bf971._0x3419c9,0x52e)],_0x3f7dd9[_0x58c0a3(_0x5bf971._0x27d181,0x5ba)]))_0xd3e3db=_0x3f7dd9[_0x3f3519(0x4ba,0x4e3)];else{_0x515029[_0x58c0a3(0x5b9,0x5a9)](_0x3f7dd9[_0x58c0a3(_0x5bf971._0x57ea3f,0x50c)]);return;}}}const _0x3258b3=PHASE_NAMES[_0x3f07d0[_0x58c0a3(_0x5bf971._0x40e5b1,0x643)]]??_0x3f07d0[_0x3f3519(_0x5bf971._0x2240bd,_0x5bf971._0x10cc26)],_0x35cf68=PHASE_NAMES[_0xd3e3db]??_0xd3e3db,_0xc2e4cb={..._0x33f2bf[_0x58c0a3(0x6a1,_0x5bf971._0xfac8d3)]},_0x10be17=_0xc2e4cb,_0x248865={..._0x3f07d0};_0x248865[_0x3f3519(_0x5bf971._0x2240bd,0x4a1)]=_0xd3e3db,_0x248865[_0x3f3519(0x498,0x4da)+'ration']='',_0x248865[_0x3f3519(_0x5bf971._0x532bb9,0x336)+'ll']='',_0x10be17[_0x56b92e]=_0x248865;let _0x547c79=_0x58c0a3(_0x5bf971._0x394472,_0x5bf971._0x5b59e7);for(const _0x2b7073 of Object[_0x3f3519(0x496,0x456)](_0x10be17)){if(_0x10be17[_0x2b7073][_0x3f3519(0x47c,0x3e4)]!==_0x3f7dd9[_0x3f3519(_0x5bf971._0x4c44b5,_0x5bf971._0x5d846b)]){_0x547c79=_0x10be17[_0x2b7073][_0x3f3519(0x47c,_0x5bf971._0x57482c)];break;}}const _0x2717b3={..._0x33f2bf[_0x58c0a3(0x5f1,0x5f1)]};_0x2717b3[_0x58c0a3(_0x5bf971._0x402584,_0x5bf971._0x5f4ba6)+'se']=_0x547c79;const _0x4f0c5f={};_0x4f0c5f['project']=_0x2717b3,_0x4f0c5f[_0x58c0a3(0x5cb,0x5d9)]=_0x10be17,_0x4f0c5f[_0x58c0a3(_0x5bf971._0xe33c85,0x587)+_0x3f3519(_0x5bf971._0x8b2bf,_0x5bf971._0x2241ec)]=_0x33f2bf[_0x3f3519(_0x5bf971._0x20a77c,0x3d3)+_0x3f3519(0x3d3,_0x5bf971._0x13099c)],await writeStateFile(_0x4f0c5f),console[_0x3f3519(0x3e2,0x457)]('['+_0x56b92e+']\x20'+_0x3258b3+_0x3f3519(0x4a5,0x409)+_0x35cf68);if(_0xd3e3db===_0x58c0a3(_0x5bf971._0x41a6e8,_0x5bf971._0x532529)){if(_0x3f7dd9[_0x3f3519(_0x5bf971._0xe6a1de,_0x5bf971._0x213988)]!==_0x3f7dd9[_0x58c0a3(0x551,_0x5bf971._0x1db34a)])console[_0x3f3519(_0x5bf971._0x20b41a,0x3e0)](_0x58c0a3(_0x5bf971._0x34e4b1,0x5da)+_0x56b92e+_0x58c0a3(0x5bc,0x4fd));else return _0x1a68ff;}}export async function updateOperation(_0x36fd31,_0xa9d5b0,_0x351d3b){const _0xc2e85a={_0x3871e6:0x168,_0x4f0b5d:0x1bb,_0x16fd32:0x1,_0x4485c7:0x1f,_0x2e2a55:0x1a5,_0x12cc2b:0x1e6,_0x15c9c6:0xb7,_0x3e3906:0x117,_0x32f7b0:0x145,_0x20c1e2:0x183,_0x13bd3e:0x45,_0x5f3f16:0x100,_0x1ab06f:0xd8,_0x4b9e10:0x167},_0x4f9ae3={_0x10f70b:0x15b},_0x526355={'jZzkH':_0x5da03c(-0xf1,-_0xc2e85a._0x3871e6)+_0xde43a1(_0xc2e85a._0x4f0b5d,0x22f),'HTnPg':function(_0x457a08){return _0x457a08();},'yvicw':function(_0x2609ba,_0x3a5940,_0x2bc7fc,_0x5e1dd0){return _0x2609ba(_0x3a5940,_0x2bc7fc,_0x5e1dd0);}};if(activeEngine){const _0x48046b=activeEngine['actors'][_0x5da03c(0x51,0x4f)](_0x36fd31);if(_0x48046b){if(_0x5da03c(0x1f,-_0xc2e85a._0x16fd32)!==_0x5da03c(_0xc2e85a._0x4485c7,0xc1)){if(!_0x45228f(_0x8194fb))return null;const _0x287175=new _0x2760b7(_0x427b47);return _0x287175['read']();}else{const _0x4445fc={};_0x4445fc[_0xde43a1(_0xc2e85a._0x2e2a55,_0xc2e85a._0x12cc2b)]=_0x526355[_0x5da03c(-_0xc2e85a._0x15c9c6,-_0xc2e85a._0x3e3906)],_0x4445fc[_0xde43a1(_0xc2e85a._0x32f7b0,_0xc2e85a._0x20c1e2)]=_0xa9d5b0,_0x4445fc[_0x5da03c(-_0xc2e85a._0x13bd3e,-0x39)]=_0x351d3b,_0x48046b[_0xde43a1(_0xc2e85a._0x5f3f16,_0xc2e85a._0x1ab06f)](_0x4445fc),await _0x526355[_0xde43a1(_0xc2e85a._0x4b9e10,0x196)](persistCurrentState);return;}}}function _0x5da03c(_0xacb92,_0x5de89c){return _0x300e91(_0xacb92- -_0x4f9ae3._0x10f70b,_0x5de89c);}function _0xde43a1(_0x54591c,_0x1d12b9){return _0x34d38f(_0x54591c-0x2a9,_0x1d12b9);}await _0x526355[_0xde43a1(0x1af,0x224)](updateOperationViaFile,_0x36fd31,_0xa9d5b0,_0x351d3b);}async function updateOperationViaFile(_0x248848,_0x19fb26,_0x1301ec){const _0xea795d={_0x2716ee:0x4b3,_0x44c14d:0x43a,_0x1e8736:0x47b,_0x57d8ab:0x455,_0x184c63:0x3ba,_0x5703e3:0x444,_0x5f1f93:0x4f6,_0x410212:0x531,_0x5919ba:0x37c,_0x4e24c4:0x473,_0xf363f8:0x3cf,_0x18e832:0x43c,_0x5d4508:0x559,_0x1b5caf:0x51f,_0x5cd62f:0x40e,_0x344dd8:0x450,_0x7748a1:0x486,_0x5b247f:0x3d2,_0x462f89:0x47d,_0x316c1:0x490,_0x548ed7:0x47e,_0x1bb7b5:0x4b0,_0x3e6735:0x468,_0x4f5d41:0x49f,_0x39c9dc:0x414,_0x40cadc:0x522,_0x5d51b9:0x426,_0x4fe863:0x4a6,_0x57c35a:0x407,_0x54b4e3:0x582,_0x34c64f:0x5ae,_0x5e3c12:0x506,_0x5338f1:0x42a,_0x58b856:0x503,_0xfe13e3:0x498,_0x234ccd:0x441,_0x533530:0x489,_0x3feb2b:0x386,_0x17ef5d:0x441,_0x17df8b:0x4ab},_0x34ccc6={_0x5135a2:0x5ce},_0xaaf91a={'ZWvUh':_0x25ad43(_0xea795d._0x2716ee,_0xea795d._0x44c14d)+'E','nnQNW':function(_0x4aec25){return _0x4aec25();},'wAcoD':function(_0x20af7d,_0x5c8176){return _0x20af7d(_0x5c8176);}},_0x1bd031=await _0xaaf91a['nnQNW'](readStateFile);if(!_0x1bd031){if(_0x25ad43(_0xea795d._0x1e8736,_0xea795d._0x57d8ab)===_0x25ad43(_0xea795d._0x184c63,_0xea795d._0x5703e3)){const _0x4c2572=_0x30c2ab(),_0xcd70ed={};_0xcd70ed[_0x21e0b8(0x4cc,_0xea795d._0x5f1f93)]=_0x4c2572;const _0x3f4c0f={};_0x3f4c0f[_0x21e0b8(0x55a,0x5ec)]=_0xcd70ed,_0x24dc34=_0x4a3518(_0x7f5442,_0x3f4c0f),_0xb3a1f6['start']();const _0x5e183a={};_0x5e183a[_0x21e0b8(0x4ca,0x4a2)]=_0xaaf91a[_0x25ad43(_0xea795d._0x410212,0x4e3)],_0x5e183a['phase']=_0xfb0f4b[-0x1476+0x1*-0x257f+0x39f5],_0x502d7e['send'](_0x5e183a),_0x34a860['log']('['+_0x4c2572+(_0x21e0b8(0x428,_0xea795d._0x5919ba)+_0x21e0b8(_0xea795d._0x4e24c4,0x3db)));for(let _0x2c304f=0xe4a*-0x1+0x70f+-0x3*-0x269;_0x2c304f<_0x35fbb0;_0x2c304f++){const _0x572a91=_0x5057fa(),_0x5c1ca8={};_0x5c1ca8['type']=_0x25ad43(_0xea795d._0xf363f8,_0xea795d._0x18e832)+_0x25ad43(_0xea795d._0x5d4508,_0xea795d._0x1b5caf),_0x5c1ca8['childId']=_0x572a91,_0x5c1ca8[_0x25ad43(0x34a,_0xea795d._0x5cd62f)]='子任务\x20'+(_0x2c304f+(0x24*-0x115+-0x1f82+0x3*0x177d)),_0x379c2a[_0x25ad43(_0xea795d._0xf363f8,0x3ca)](_0x5c1ca8);const _0x164f65={};_0x164f65[_0x21e0b8(0x4cc,0x43c)]=_0x572a91,_0x164f65['parentId']=_0x4c2572,_0x164f65[_0x25ad43(_0xea795d._0x344dd8,0x490)]=_0x1c0e7e;const _0x23dab0={};_0x23dab0[_0x25ad43(_0xea795d._0x7748a1,0x4ff)]=_0x164f65;const _0x16a7b6=_0x728f5d(_0x80d50a,_0x23dab0);_0x16a7b6[_0x25ad43(0x39b,0x45e)]();const _0x149ad5={};_0x149ad5['type']=_0x25ad43(0x450,_0xea795d._0x5b247f),_0x16a7b6[_0x25ad43(_0xea795d._0x462f89,0x3ca)](_0x149ad5),_0x133e52[_0x25ad43(_0xea795d._0x316c1,0x3df)](_0x572a91,_0x16a7b6),_0x586745[_0x21e0b8(0x4ab,_0xea795d._0x548ed7)]('['+_0x4c2572+(']\x20派发子\x20Agen'+_0x25ad43(0x50b,0x4c9))+_0x572a91);}}else{console[_0x21e0b8(0x4ab,_0xea795d._0x1bb7b5)](_0x25ad43(_0xea795d._0x3e6735,_0xea795d._0x4f5d41));return;}}const _0x598989=_0x1bd031['agents'][_0x248848];if(!_0x598989){console[_0x25ad43(_0xea795d._0x39c9dc,0x450)](_0x21e0b8(0x573,_0xea795d._0x40cadc)+_0x248848+(_0x25ad43(_0xea795d._0x5d51b9,_0xea795d._0x4fe863)+_0x21e0b8(_0xea795d._0x57c35a,0x427)));return;}const _0x54c9cc={..._0x1bd031[_0x21e0b8(0x4db,_0xea795d._0x54b4e3)]},_0x30bd67=_0x54c9cc,_0x307114={..._0x598989};_0x307114[_0x25ad43(_0xea795d._0x34c64f,_0xea795d._0x5e3c12)+_0x25ad43(0x4eb,_0xea795d._0x5338f1)]=_0x19fb26;function _0x21e0b8(_0x559237,_0x360b7d){return _0x34d38f(_0x559237-_0x34ccc6._0x5135a2,_0x360b7d);}_0x307114['currentSki'+'ll']=_0x1301ec,_0x30bd67[_0x248848]=_0x307114;function _0x25ad43(_0xfc3fc3,_0x1081fd){return _0x34d38f(_0x1081fd-0x573,_0xfc3fc3);}const _0x13e20b={};_0x13e20b['project']=_0x1bd031[_0x25ad43(_0xea795d._0x58b856,_0xea795d._0xfe13e3)],_0x13e20b['agents']=_0x30bd67,_0x13e20b['machineSna'+_0x25ad43(0x3f1,_0xea795d._0x234ccd)]=_0x1bd031[_0x21e0b8(_0xea795d._0x533530,0x409)+_0x25ad43(_0xea795d._0x3feb2b,_0xea795d._0x17ef5d)],await _0xaaf91a[_0x25ad43(0x4c1,_0xea795d._0x17df8b)](writeStateFile,_0x13e20b);}function _0x2bc7(_0x16fcc8,_0x485fb2){_0x16fcc8=_0x16fcc8-(0x1731+-0xd7f+-0x80e);const _0x40721b=_0x2529();let _0x56f58e=_0x40721b[_0x16fcc8];if(_0x2bc7['uuWMhx']===undefined){var _0x10cad5=function(_0x35061f){const _0x939a65='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x4bb7d2='',_0x1e817a='';for(let _0x3536e6=-0x3*-0x87b+0x10b6+0x63*-0x6d,_0x426ef9,_0x767f41,_0x4bedf9=0x82*0x29+-0x234a+0xe78;_0x767f41=_0x35061f['charAt'](_0x4bedf9++);~_0x767f41&&(_0x426ef9=_0x3536e6%(-0x209e+-0xbca+-0x1*-0x2c6c)?_0x426ef9*(0x228c+0xbea+-0x2e36)+_0x767f41:_0x767f41,_0x3536e6++%(0x2d5*-0x9+0x522+0x145f))?_0x4bb7d2+=String['fromCharCode'](-0x22ed*0x1+0x23d4+0x1*0x18&_0x426ef9>>(-(-0x8df+0x15ba+-0xcd9)*_0x3536e6&-0x1*0x1a37+-0x2*-0x209+0x162b)):0x2*-0x8e4+0x3d3*-0x5+0x24e7){_0x767f41=_0x939a65['indexOf'](_0x767f41);}for(let _0x3a1f3b=-0x1*0x18d+0x1*0x6bf+-0x532,_0x2c5400=_0x4bb7d2['length'];_0x3a1f3b<_0x2c5400;_0x3a1f3b++){_0x1e817a+='%'+('00'+_0x4bb7d2['charCodeAt'](_0x3a1f3b)['toString'](-0x207a+0x3a*-0x47+0x30a*0x10))['slice'](-(-0x1b15+-0x137f+0x2e96));}return decodeURIComponent(_0x1e817a);};_0x2bc7['IfDQmL']=_0x10cad5,_0x2bc7['eGbnQn']={},_0x2bc7['uuWMhx']=!![];}const _0x502570=_0x40721b[-0x1ada+0x1*-0x107a+0x2b54],_0x9e2245=_0x16fcc8+_0x502570,_0x24c183=_0x2bc7['eGbnQn'][_0x9e2245];return!_0x24c183?(_0x56f58e=_0x2bc7['IfDQmL'](_0x56f58e),_0x2bc7['eGbnQn'][_0x9e2245]=_0x56f58e):_0x56f58e=_0x24c183,_0x56f58e;}export async function getStatus(){const _0x530c88={_0x5a25e9:0x58d,_0x34668c:0x642,_0x117e77:0x230,_0x378154:0x181,_0x5efc5e:0x634,_0x3c8b0e:0x53c,_0x421ed2:0x49d,_0x348f93:0x5ba,_0x467d3e:0x80,_0xa2ea6a:0x113,_0x3847fc:0x580,_0x2cc4f3:0x577,_0x35b30:0x573,_0x2602b4:0x115,_0x3fb54d:0x51b,_0x36c309:0x50f,_0x538460:0x65c,_0x3a6421:0x5ef,_0x3bc994:0x627,_0x46576f:0x595,_0x2be15e:0x5b0,_0x2b6d4e:0x175,_0x7b97ef:0x19c,_0x218179:0x1ad,_0x39686d:0x5af,_0x1de9ea:0x4d2,_0x2f4971:0x4ed,_0x3fbec4:0x594,_0x2183f3:0x1a3,_0x883bbb:0x1ed,_0x457adf:0x6e0,_0x5b4445:0x622,_0x1978f3:0x1bb,_0x13db0d:0x592,_0x588797:0x502,_0x22817e:0x55f,_0x4500c9:0x1ed,_0x408da0:0x226,_0x477228:0x5a6,_0x4dd0e3:0x610,_0x2b9496:0x5e0,_0x3b94d6:0xc6,_0x2ddd5b:0x165,_0x1ff18d:0x572,_0x202323:0x5a1,_0x42fac4:0x63f,_0x4a2411:0x573,_0x413b34:0xd5,_0x159eaf:0x1df,_0x561a8b:0x247,_0x8e027f:0x247,_0x10b9a1:0x6db,_0x1b6912:0x629,_0xec4af4:0x51a,_0x5b9245:0x14f,_0x1f3f41:0x58e,_0x5deb34:0x494,_0x255905:0x5c1},_0x46f033={'tqJDw':function(_0x51bd5c){return _0x51bd5c();},'wXeoO':'DISPATCH_T'+_0x41b7b6(_0x530c88._0x5a25e9,_0x530c88._0x34668c),'idJHk':function(_0x1f29b4,_0x275c77){return _0x1f29b4+_0x275c77;},'xxaYj':function(_0x1da515,_0x23993b,_0x7323c7){return _0x1da515(_0x23993b,_0x7323c7);},'fufAE':'START','yNLBD':function(_0x53baa0,_0x54d475,_0x5a0afb){return _0x53baa0(_0x54d475,_0x5a0afb);},'BehKT':_0x5836a0(_0x530c88._0x117e77,_0x530c88._0x378154),'Hastr':_0x41b7b6(0x643,0x57b)+_0x41b7b6(0x5cc,_0x530c88._0x5efc5e),'mbnWe':function(_0x4b853f,_0x5ee2c2){return _0x4b853f+_0x5ee2c2;},'lUehB':'\x20\x20\x20'};function _0x41b7b6(_0x3407b4,_0x23eda1){return _0x34d38f(_0x23eda1-0x696,_0x3407b4);}if(!existsSync(STATE_FILE_PATH)){console['log'](_0x41b7b6(_0x530c88._0x3c8b0e,0x5c2)+',请先运行\x20star'+_0x41b7b6(_0x530c88._0x421ed2,0x552));return;}const _0x5c949d=_0x46f033[_0x41b7b6(0x5d5,_0x530c88._0x348f93)](readFileSync,STATE_FILE_PATH,_0x46f033[_0x5836a0(_0x530c88._0x467d3e,_0x530c88._0xa2ea6a)]),_0x5e554b=JSON['parse'](_0x5c949d);console[_0x41b7b6(0x5e6,0x573)]('\x0a📊\x20项目状态:\x20'+_0x5e554b[_0x5836a0(0x1c5,0x1f5)]['name']),console[_0x41b7b6(0x5ac,0x573)](_0x41b7b6(_0x530c88._0x3847fc,_0x530c88._0x2cc4f3)+_0x5e554b[_0x5836a0(0x174,0x1f5)]['currentPha'+'se']),console[_0x41b7b6(0x4c8,_0x530c88._0x35b30)](_0x5836a0(0x67,_0x530c88._0x2602b4)+_0x5e554b[_0x41b7b6(0x534,_0x530c88._0x3fb54d)]);function _0x5836a0(_0x485d79,_0x3cf4a2){return _0x34d38f(_0x3cf4a2-0x2d0,_0x485d79);}console[_0x41b7b6(_0x530c88._0x36c309,_0x530c88._0x35b30)](_0x5836a0(0x1b4,0x248)+_0x5e554b[_0x41b7b6(_0x530c88._0x538460,_0x530c88._0x3a6421)]+'\x0a');const _0x6597a0=_0x5e554b[_0x5836a0(0x171,0x1dd)],_0x15fa00=Object[_0x41b7b6(0x62c,_0x530c88._0x3bc994)](_0x6597a0);if(_0x15fa00[_0x41b7b6(0x5bd,_0x530c88._0x46576f)]===-0xa6f+-0x8ad+-0x1*-0x131c){if(_0x41b7b6(_0x530c88._0x2be15e,0x509)!==_0x5836a0(_0x530c88._0x2b6d4e,_0x530c88._0x7b97ef)){console[_0x5836a0(0x10f,_0x530c88._0x218179)](_0x46f033[_0x41b7b6(0x537,_0x530c88._0x39686d)]);return;}else{const _0x7f1166=_0x46f033[_0x41b7b6(0x5ec,0x5a9)](_0x16fcc8);_0x485fb2[_0x41b7b6(_0x530c88._0x1de9ea,_0x530c88._0x2f4971)]({'type':_0x46f033['wXeoO'],'childId':_0x7f1166,'task':_0x41b7b6(0x59f,0x64a)+_0x46f033[_0x41b7b6(0x500,0x582)](_0x40721b,0x1428+0xe*0x185+0x7*-0x5eb)});const _0x3f2af5={};_0x3f2af5[_0x41b7b6(0x500,_0x530c88._0x3fbec4)]=_0x7f1166,_0x3f2af5[_0x5836a0(0x12c,_0x530c88._0x2183f3)]=_0x502570,_0x3f2af5[_0x5836a0(0x15c,_0x530c88._0x883bbb)]=_0x9e2245;const _0x466842={};_0x466842[_0x41b7b6(_0x530c88._0x457adf,_0x530c88._0x5b4445)]=_0x3f2af5;const _0x3fac14=_0x46f033[_0x5836a0(0x17e,0x1b4)](_0x56f58e,_0x10cad5,_0x466842);_0x3fac14[_0x5836a0(0x110,_0x530c88._0x1978f3)]();const _0x36673a={};_0x36673a[_0x41b7b6(0x60e,_0x530c88._0x13db0d)]=_0x46f033['fufAE'],_0x3fac14['send'](_0x36673a),_0x24c183[_0x41b7b6(0x574,_0x530c88._0x588797)](_0x7f1166,_0x3fac14),_0x35061f[_0x5836a0(0x12d,0x1ad)]('['+_0x939a65+(_0x41b7b6(_0x530c88._0x22817e,0x626)+_0x5836a0(_0x530c88._0x4500c9,_0x530c88._0x408da0))+_0x7f1166);}}console[_0x5836a0(0x1ca,0x1ad)](_0x41b7b6(_0x530c88._0x477228,0x5d9)+_0x41b7b6(_0x530c88._0x4dd0e3,_0x530c88._0x2b9496)+'\x20|\x20阶段\x20\x20\x20\x20\x20'+_0x5836a0(_0x530c88._0x3b94d6,_0x530c88._0x2ddd5b)+_0x41b7b6(0x5b8,_0x530c88._0x1ff18d)+_0x41b7b6(_0x530c88._0x202323,_0x530c88._0x42fac4)+'工具'),console[_0x41b7b6(0x5d1,_0x530c88._0x4a2411)](_0x46f033['mbnWe'](_0x46f033[_0x5836a0(_0x530c88._0xa2ea6a,0x1b3)],'-'[_0x5836a0(_0x530c88._0x413b34,0x163)](-0xd0f+-0x4*-0x99e+-0x1919)));for(const _0xabfa0f of _0x15fa00){const _0x4617a9=_0x6597a0[_0xabfa0f],_0x2d5ac4=PHASE_NAMES[_0x4617a9[_0x5836a0(_0x530c88._0x159eaf,_0x530c88._0x561a8b)]]??_0x4617a9[_0x5836a0(0x26c,_0x530c88._0x8e027f)],_0xbeaab6=_0x4617a9[_0x41b7b6(_0x530c88._0x10b9a1,_0x530c88._0x1b6912)+_0x41b7b6(_0x530c88._0xec4af4,0x54d)]||'-',_0x1160e7=_0x4617a9['currentSki'+'ll']||'-';console['log'](_0x41b7b6(0x554,0x5f5)+_0xabfa0f[_0x5836a0(0x142,_0x530c88._0x5b9245)](-0x14ce+-0x2650+0x3b30)+_0x41b7b6(_0x530c88._0x1f3f41,0x5e9)+_0x2d5ac4[_0x41b7b6(_0x530c88._0x5deb34,0x515)](0x1*-0x3fd+-0x1*-0x9e9+-0x5de)+'\x20|\x20'+_0xbeaab6['padEnd'](-0xe0f+0x931+0x4f3)+_0x41b7b6(_0x530c88._0x255905,0x5e9)+_0x1160e7);}console[_0x41b7b6(0x594,0x573)]();}export async function resumeEngine(){const _0x72f9fd={_0xc13708:0x4db,_0x590716:0x49b,_0x3aff5f:0x19c,_0x1fb335:0x475,_0x18db91:0x3e9,_0x8c2a6b:0x484,_0x594963:0x119,_0x2057dd:0x566,_0x3f8c29:0x596,_0x5dbf0a:0x15c,_0x575689:0x4d4,_0x22b215:0x479,_0x1080b6:0x4e9,_0x165e79:0x556,_0x52af3e:0x547,_0x3dcc81:0x4d2,_0x55b086:0x1f6,_0x477375:0x5ba,_0x1b4343:0x267,_0xeb0a01:0x508,_0x433fe9:0x5ac,_0x545880:0x506,_0x3734cb:0x4b9,_0x326390:0x254,_0x14ec53:0x4c6,_0x372a39:0x54e,_0xcde3a8:0x1ac,_0x4b85fc:0x1a7,_0x4441c8:0x60f,_0x338437:0x189,_0x95f2b2:0x55f,_0x1db6e6:0x550,_0x23cafd:0x4ef,_0x377f54:0x2ac,_0x91f3e9:0x260,_0x37b9b2:0x1e7,_0x24ced6:0x275,_0x103059:0x5be,_0x2ba373:0x525,_0x8724b7:0x505,_0x367a4d:0x635,_0x198338:0x62f,_0x310625:0x59a,_0x3d5637:0x1f1,_0x7a3d8f:0x131,_0x2ceb7e:0x139,_0x23a6f6:0x527,_0x235012:0x4fc,_0x49caaa:0x1bc,_0xa354e:0x488,_0x4326db:0x140,_0x2ac193:0x13a,_0x3007df:0x4a1,_0x3954bb:0x4cb,_0x28a336:0x17e,_0x583ccd:0x1c6,_0x485a3f:0x476,_0x1463d9:0x4d7,_0x3dbb20:0xa8,_0x23ca1a:0x140,_0x533a98:0x14c,_0x1d55a1:0x152,_0x493b9f:0x20e,_0x59804f:0x2c1,_0xfb93cd:0x206,_0xe4de4d:0x52a,_0x2291fd:0x47a,_0x2191cd:0x4ce,_0xcaf98a:0x513,_0x1edc3f:0x1b5},_0x19b396={'NoAAm':function(_0x9f5f35,_0x62d3f9){return _0x9f5f35(_0x62d3f9);},'pyRfL':_0x375520(_0x72f9fd._0xc13708,_0x72f9fd._0x590716),'NYBtV':function(_0x1f3efe,_0x368116,_0x215799){return _0x1f3efe(_0x368116,_0x215799);},'vaJFD':'utf-8','TVeou':function(_0x4e0afc,_0x561927){return _0x4e0afc===_0x561927;},'lkuil':function(_0x145ae3,_0x1e76a4){return _0x145ae3!==_0x1e76a4;},'YMncN':_0x375520(0x450,0x4d8),'OgEsJ':_0x2296c9(0x211,_0x72f9fd._0x3aff5f),'Dwwgv':function(_0x105135){return _0x105135();},'ZoSIo':_0x375520(0x4c2,0x4e2),'Khsjy':_0x375520(0x52e,0x5bd)+_0x375520(_0x72f9fd._0x1fb335,0x4a2),'yrGio':'HTtMO','JWxed':_0x375520(_0x72f9fd._0x18db91,_0x72f9fd._0x8c2a6b),'aRHWB':function(_0x55a248){return _0x55a248();},'okWgE':_0x375520(0x5b2,0x5b1)+_0x2296c9(_0x72f9fd._0x594963,0x188)+_0x375520(_0x72f9fd._0x2057dd,_0x72f9fd._0x3f8c29)};if(!_0x19b396[_0x2296c9(0xc9,0x139)](existsSync,STATE_FILE_PATH)){console[_0x2296c9(_0x72f9fd._0x5dbf0a,0x1c6)](_0x375520(_0x72f9fd._0x575689,0x555)+_0x375520(_0x72f9fd._0x22b215,0x463)+_0x375520(_0x72f9fd._0x1080b6,_0x72f9fd._0x165e79));return;}const _0x57d204=_0x19b396[_0x375520(_0x72f9fd._0x52af3e,0x4a1)](readFileSync,STATE_FILE_PATH,_0x19b396[_0x375520(0x423,_0x72f9fd._0x3dcc81)]),_0x1f84df=JSON['parse'](_0x57d204),_0x589f24=_0x1f84df[_0x2296c9(0x247,_0x72f9fd._0x55b086)],_0x49127f=Object[_0x375520(0x5c6,_0x72f9fd._0x477375)](_0x589f24),_0x4afda6=_0x49127f[_0x375520(0x62f,0x576)](_0xfaf7b=>_0x589f24[_0xfaf7b][_0x375520(0x571,0x5a0)]!==_0x2296c9(0x1bf,0x204));if(_0x19b396['TVeou'](_0x4afda6['length'],-0x1bef*-0x1+0x13ee+-0x2fdd)){if(_0x19b396[_0x2296c9(_0x72f9fd._0x1b4343,0x1ed)](_0x375520(_0x72f9fd._0xeb0a01,0x587),_0x2296c9(0x209,0x247)))_0x37d20b[_0x3ead3d]=_0x48361e;else{console[_0x375520(_0x72f9fd._0x433fe9,_0x72f9fd._0x545880)](_0x375520(0x440,0x4d9)+'\x20已完成,无需恢复');return;}}console[_0x2296c9(0x18a,0x1c6)](_0x375520(_0x72f9fd._0x3734cb,0x4f1)),console['log'](_0x2296c9(0x24e,_0x72f9fd._0x326390)+_0x1f84df[_0x375520(_0x72f9fd._0x14ec53,_0x72f9fd._0x372a39)]['name']),console[_0x375520(0x4cd,_0x72f9fd._0x545880)](_0x2296c9(0x213,_0x72f9fd._0xcde3a8)+_0x2296c9(_0x72f9fd._0x4b85fc,0x15a)+_0x4afda6['length']+'\x0a');const _0x3d1e76=new Map();function _0x375520(_0x5a4f26,_0x5646e5){return _0x34d38f(_0x5646e5-0x629,_0x5a4f26);}let _0x4b10d4=null;try{_0x19b396[_0x375520(_0x72f9fd._0x4441c8,0x5c5)]===_0x19b396['OgEsJ']?_0x25a2ee=_0xf058a0[0x2*-0x57b+0x1282+-0xe*0x8a]:_0x4b10d4=_0x19b396['Dwwgv'](loadTechContext);}catch{}for(const _0x177943 of _0x4afda6){if(_0x19b396['lkuil'](_0x19b396[_0x2296c9(_0x72f9fd._0x338437,0x1ee)],'nBbUs')){const _0x58d52f=_0x589f24[_0x177943],_0x5cad7e=PHASES[_0x375520(_0x72f9fd._0x95f2b2,_0x72f9fd._0x1db6e6)](_0x58d52f[_0x375520(_0x72f9fd._0x23cafd,0x5a0)]);if(_0x5cad7e===-(0x65d*0x6+0x74+-0x1*0x26a1)){console[_0x2296c9(0x28e,0x1c6)]('['+_0x177943+_0x375520(0x65d,0x5af)+_0x58d52f[_0x2296c9(_0x72f9fd._0x377f54,_0x72f9fd._0x91f3e9)]+_0x2296c9(0x299,0x278));continue;}const _0x5c614e={};_0x5c614e[_0x2296c9(0x208,_0x72f9fd._0x37b9b2)]=_0x177943,_0x5c614e['parentId']=_0x58d52f['parentId']??undefined;const _0xc5ba95={};_0xc5ba95[_0x2296c9(0x240,_0x72f9fd._0x24ced6)]=_0x5c614e;const _0x41a7ef=createActor(agentMachine,_0xc5ba95);_0x41a7ef[_0x2296c9(0x21b,0x1d4)](),_0x3d1e76[_0x2296c9(0x218,0x155)](_0x177943,_0x41a7ef);const _0x553c0a={};_0x553c0a[_0x375520(_0x72f9fd._0x103059,0x525)]=_0x375520(0x45a,0x488),_0x41a7ef['send'](_0x553c0a);for(let _0x488173=0x4*-0x8e2+-0xbb9*-0x1+0x17cf;_0x488173<_0x5cad7e;_0x488173++){const _0x2934b5={};_0x2934b5[_0x375520(0x52a,_0x72f9fd._0x2ba373)]=_0x19b396[_0x375520(0x565,0x4d7)],_0x41a7ef['send'](_0x2934b5);}console[_0x375520(_0x72f9fd._0x8724b7,0x506)]('['+_0x177943+_0x2296c9(0x99,0x15f)+(PHASE_NAMES[_0x58d52f[_0x2296c9(0x314,0x260)]]??_0x58d52f[_0x375520(_0x72f9fd._0x367a4d,0x5a0)])+'\x20恢复');}else _0x22d00d[_0x375520(_0x72f9fd._0x198338,_0x72f9fd._0x310625)](_0x2296c9(0x273,_0x72f9fd._0x3d5637)+(_0xdfb809 instanceof _0x143814?_0x488da8['message']:_0x19b396[_0x2296c9(_0x72f9fd._0x7a3d8f,_0x72f9fd._0x2ceb7e)](_0x5a0787,_0x4654ba)));}for(const _0x89f06d of _0x49127f){if(!_0x3d1e76['has'](_0x89f06d)){const _0x2b5e37=_0x589f24[_0x89f06d],_0x5bd91c={};_0x5bd91c[_0x375520(0x508,_0x72f9fd._0x23a6f6)]=_0x89f06d,_0x5bd91c[_0x375520(0x5b3,_0x72f9fd._0x235012)]=_0x2b5e37[_0x2296c9(0x22e,_0x72f9fd._0x49caaa)]??undefined;const _0x2434f6={};_0x2434f6['input']=_0x5bd91c;const _0x1c207a=createActor(agentMachine,_0x2434f6);_0x1c207a['start']();const _0xec130a={};_0xec130a[_0x375520(0x4cb,0x525)]=_0x375520(0x450,_0x72f9fd._0xa354e),_0x1c207a[_0x2296c9(0x1dc,_0x72f9fd._0x4326db)](_0xec130a);for(let _0xadc63d=-0xc6f*0x2+-0x3*0x817+0x705*0x7;_0xadc63d<PHASES['length'];_0xadc63d++){if(_0x19b396[_0x2296c9(0x104,_0x72f9fd._0x2ac193)]===_0x19b396[_0x375520(_0x72f9fd._0x3007df,_0x72f9fd._0x3954bb)])_0xbfba43[_0x2296c9(_0x72f9fd._0x28a336,_0x72f9fd._0x583ccd)](_0x19b396[_0x375520(0x4d5,_0x72f9fd._0x485a3f)]);else{const _0x2ff4af={};_0x2ff4af['type']=_0x19b396[_0x375520(0x569,_0x72f9fd._0x1463d9)],_0x1c207a[_0x2296c9(_0x72f9fd._0x3dbb20,_0x72f9fd._0x23ca1a)](_0x2ff4af);}}_0x3d1e76[_0x375520(0x4aa,0x495)](_0x89f06d,_0x1c207a);}}const _0x4dc9bb={};_0x4dc9bb[_0x2296c9(0x202,_0x72f9fd._0x533a98)+'e']=_0x1f84df[_0x2296c9(_0x72f9fd._0x1d55a1,_0x72f9fd._0x493b9f)][_0x375520(0x4d4,0x45c)],_0x4dc9bb[_0x2296c9(_0x72f9fd._0x59804f,_0x72f9fd._0xfb93cd)]=PHASES,_0x4dc9bb[_0x375520(0x57b,_0x72f9fd._0xe4de4d)]=_0x3d1e76,_0x4dc9bb['supervisor'+_0x375520(_0x72f9fd._0x2291fd,0x512)]=null,_0x4dc9bb[_0x375520(0x566,0x56f)+'t']=_0x4b10d4,activeEngine=_0x4dc9bb;function _0x2296c9(_0x429569,_0x11e9c6){return _0x34d38f(_0x11e9c6-0x2e9,_0x429569);}await _0x19b396[_0x375520(_0x72f9fd._0x2191cd,_0x72f9fd._0xcaf98a)](persistCurrentState),console[_0x2296c9(_0x72f9fd._0x1edc3f,0x1c6)](_0x19b396[_0x2296c9(0x207,0x208)]);}export function stopEngine(){const _0x48f7f0={_0x1e73bc:0x3b,_0x30be3d:0xd6,_0x3c956b:0x182,_0x24adf9:0x164,_0x3d7fb7:0x12d,_0x3098ba:0x115,_0x358907:0xbe,_0x5968c9:0x13f,_0x484318:0x16d,_0xacf7e1:0xb2,_0x5ca7bb:0x125,_0x4acaf4:0x111},_0x4ff47d={_0x1df75c:0x1d5},_0x130097={_0x21c2cf:0x1cc},_0x302e1d={};function _0x4e8132(_0x1c0c70,_0x2646df){return _0x34d38f(_0x2646df-_0x130097._0x21c2cf,_0x1c0c70);}_0x302e1d[_0x536fd8(_0x48f7f0._0x1e73bc,-0x44)]=function(_0x149f4a,_0x41de65){return _0x149f4a===_0x41de65;},_0x302e1d[_0x536fd8(0x125,0x5d)]=_0x536fd8(0xd7,0xd1);const _0x219e2b=_0x302e1d;function _0x536fd8(_0x4ced22,_0x3f4090){return _0x34d38f(_0x4ced22-_0x4ff47d._0x1df75c,_0x3f4090);}if(!activeEngine)return;for(const [,_0x9c8cbb]of activeEngine[_0x536fd8(_0x48f7f0._0x30be3d,0x101)]){_0x9c8cbb[_0x4e8132(_0x48f7f0._0x3c956b,_0x48f7f0._0x24adf9)]();}if(activeEngine[_0x536fd8(0x115,0x93)+'Actor']){if(_0x219e2b['GAxJm'](_0x536fd8(0xfd,_0x48f7f0._0x3d7fb7),'pIoIT'))activeEngine[_0x536fd8(_0x48f7f0._0x3098ba,0xfa)+_0x536fd8(_0x48f7f0._0x358907,_0x48f7f0._0x5968c9)][_0x536fd8(_0x48f7f0._0x484318,0x1bb)]();else{const _0x50b16=_0x291adc[_0xd5310][_0x4e8132(0x199,0x143)];_0x32938e[_0x50b16]=(_0x3d2a70[_0x50b16]??0x2150+-0x393*-0x9+-0x417b)+(-0x11*-0xb5+-0x19d8+0xdd4);}}activeEngine=null,console[_0x536fd8(_0x48f7f0._0xacf7e1,0x92)](_0x219e2b[_0x536fd8(_0x48f7f0._0x5ca7bb,_0x48f7f0._0x4acaf4)]);}export function getEngine(){return activeEngine;}export async function registerAgent(_0x4958f1,_0x3d83c5={}){const _0x2c52b6={_0x5f22c2:0xda,_0x14a53b:0x18,_0x2bec41:0x55,_0x2d36f6:0x413,_0x1f8347:0x4a6,_0x48c5fd:0x388,_0x2de88a:0x8f,_0x7ec83a:0x422,_0x42a1a1:0xbf,_0x37390a:0x3bc,_0x3f78d7:0x363,_0xc2187:0x3d2,_0x1bb23b:0x178,_0x40052a:0x3db,_0x58a351:0x15,_0xc5ac53:0xcf,_0x4e712e:0x2ce,_0x281bd4:0x39e,_0x161c38:0x3ad,_0x593d33:0x44b,_0x323e42:0xab,_0x404d29:0x153,_0x1153a7:0x48c,_0x198fb7:0x4ca,_0xe4ce2c:0xc7,_0x479762:0x6b,_0x1e695b:0x71,_0x1c9926:0x12f,_0x70c827:0x1f,_0x1b4bd9:0x2da,_0x473a6f:0x362,_0x535876:0x135,_0x54a7c5:0x1e5,_0x139343:0x2a,_0x48b4af:0x37,_0x2fcc18:0x2f8,_0x3ac6ba:0x2f8,_0xe5729e:0x3b6,_0x23b9df:0x64,_0x31f324:0x3df,_0x51f375:0x402,_0x222efe:0x59,_0x569eae:0x113,_0x59de1c:0xb0,_0x4dfc37:0x10a,_0x4faea1:0x128,_0x521154:0xa1,_0x299e67:0x44a,_0x2f28e5:0x38c,_0x49f53e:0x3a2,_0x1b68a1:0x3c,_0x1acf9a:0x167},_0x2f6933={_0x978414:0x1bb},_0x3a9dec={_0x655d5b:0x272},_0x495dc2={'ltIVm':function(_0x18d0d0,_0x820f72,_0x1bbebb){return _0x18d0d0(_0x820f72,_0x1bbebb);},'hgDBK':_0x59a077(-0x52,-_0x2c52b6._0x5f22c2)+_0x59a077(_0x2c52b6._0x14a53b,-_0x2c52b6._0x2bec41)+_0x849aee(0x418,0x476),'lbjsF':_0x849aee(_0x2c52b6._0x2d36f6,_0x2c52b6._0x1f8347),'qAiiZ':_0x849aee(0x3c9,_0x2c52b6._0x48c5fd),'vcukL':function(_0x291838,_0x39456f){return _0x291838===_0x39456f;},'KhgFo':_0x59a077(-_0x2c52b6._0x2de88a,-0x14),'LInDQ':function(_0x151631,_0x1d70f9){return _0x151631!==_0x1d70f9;},'Yywyz':_0x849aee(_0x2c52b6._0x7ec83a,0x3e4),'AZfzk':_0x59a077(-_0x2c52b6._0x42a1a1,-0x11b),'jnMYF':function(_0x2040a6,_0x2ec8b5){return _0x2040a6(_0x2ec8b5);}},_0x306103=await readStateFile();if(!_0x306103){console['log'](_0x495dc2[_0x59a077(-0x68,-0xfa)]);return;}if(_0x306103[_0x849aee(_0x2c52b6._0x37390a,0x396)][_0x4958f1]){if(_0x495dc2[_0x849aee(0x2e7,0x24c)]!==_0x495dc2[_0x849aee(_0x2c52b6._0x3f78d7,_0x2c52b6._0xc2187)]){console['log'](_0x59a077(-0x142,-_0x2c52b6._0x1bb23b)+_0x4958f1+'\x20已存在,跳过注册');return;}else{_0xff0eae['log'](_0x849aee(_0x2c52b6._0x40052a,0x439)+_0x59a077(0x18,-0x9e)+_0x59a077(-_0x2c52b6._0x58a351,-_0x2c52b6._0xc5ac53));return;}}const _0x3e5dc1=_0x3d83c5['phase']??_0x849aee(0x361,_0x2c52b6._0x4e712e),_0x556a45=_0x3d83c5[_0x849aee(0x382,_0x2c52b6._0x281bd4)]??null,_0x1fc06d={};_0x1fc06d[_0x849aee(_0x2c52b6._0x161c38,_0x2c52b6._0x593d33)]=_0x4958f1,_0x1fc06d[_0x59a077(-_0x2c52b6._0x323e42,-_0x2c52b6._0x404d29)]=_0x556a45,_0x1fc06d[_0x59a077(-0x135,-0xad)]=[],_0x1fc06d[_0x849aee(0x426,_0x2c52b6._0x1153a7)]=_0x3e5dc1,_0x1fc06d[_0x849aee(0x442,_0x2c52b6._0x198fb7)+_0x59a077(-_0x2c52b6._0xe4ce2c,-_0x2c52b6._0x479762)]='',_0x1fc06d[_0x59a077(-0xd1,-0x181)+'ll']='';const _0x511717=_0x1fc06d,_0x1bf8de={..._0x306103[_0x59a077(-_0x2c52b6._0x1e695b,-0x5d)]};_0x1bf8de[_0x4958f1]=_0x511717;const _0x42d126=_0x1bf8de;if(_0x556a45&&_0x42d126[_0x556a45]){if(_0x495dc2['vcukL'](_0x59a077(-_0x2c52b6._0x1c9926,-0x195),_0x495dc2[_0x59a077(_0x2c52b6._0x70c827,0x88)])){_0x4a3048[_0x849aee(0x38c,0x3b0)]('⚠️\x20\x20状态文件不存在'+_0x849aee(_0x2c52b6._0x1b4bd9,_0x2c52b6._0x473a6f)+'t\x20命令');return;}else{const _0x25723d=_0x42d126[_0x556a45];if(!_0x25723d[_0x59a077(-_0x2c52b6._0x535876,-_0x2c52b6._0x54a7c5)][_0x59a077(-0xd6,-0xc6)](_0x4958f1)){if(_0x495dc2[_0x59a077(-0x97,-0x148)](_0x495dc2[_0x59a077(-_0x2c52b6._0x139343,-0x8f)],_0x495dc2[_0x59a077(0x6,-_0x2c52b6._0x48b4af)])){const _0x1d9e05={..._0x25723d};_0x1d9e05[_0x849aee(_0x2c52b6._0x2fcc18,0x35c)]=[..._0x25723d[_0x849aee(_0x2c52b6._0x3ac6ba,_0x2c52b6._0xe5729e)],_0x4958f1],_0x42d126[_0x556a45]=_0x1d9e05;}else{const _0x4719eb={};_0x4719eb[_0x59a077(-0x4d,_0x2c52b6._0x23b9df)]=!![],_0x495dc2[_0x849aee(_0x2c52b6._0x31f324,_0x2c52b6._0x51f375)](_0x19d7de,_0x5f18ae,_0x4719eb);}}}}function _0x849aee(_0x9b10b1,_0x4bdc11){return _0x300e91(_0x9b10b1-_0x3a9dec._0x655d5b,_0x4bdc11);}const _0x5843c8={};_0x5843c8['project']=_0x306103[_0x59a077(-_0x2c52b6._0x222efe,-0x95)];function _0x59a077(_0x303845,_0x1c116c){return _0x300e91(_0x303845- -_0x2f6933._0x978414,_0x1c116c);}_0x5843c8[_0x59a077(-0x71,-_0x2c52b6._0x569eae)]=_0x42d126,_0x5843c8['machineSna'+_0x59a077(-0xb0,-0x55)]=_0x306103[_0x59a077(-0xc3,-0x142)+_0x59a077(-_0x2c52b6._0x59de1c,-0x2a)],await _0x495dc2[_0x59a077(-_0x2c52b6._0x4dfc37,-_0x2c52b6._0x4faea1)](writeStateFile,_0x5843c8);const _0x20680c=PHASE_NAMES[_0x3e5dc1]??_0x3e5dc1;console[_0x59a077(-_0x2c52b6._0x521154,-0x2e)]('✅\x20Agent\x20已注'+_0x849aee(_0x2c52b6._0x299e67,0x3ba)+_0x4958f1),console[_0x849aee(_0x2c52b6._0x2f28e5,_0x2c52b6._0x49f53e)]('\x20\x20\x20阶段:\x20'+_0x20680c);if(_0x556a45)console[_0x59a077(-_0x2c52b6._0x521154,-_0x2c52b6._0x1b68a1)](_0x59a077(-0xaf,-_0x2c52b6._0x1acf9a)+':\x20'+_0x556a45);}export async function deregisterAgent(_0x1aec97){const _0x1ac1ea={_0x139c5b:0x46c,_0x232541:0x3c8,_0x175b5a:0x32d,_0x15b883:0x288,_0x358b84:0x389,_0x29e9e2:0x207,_0x5c05b7:0x3bd,_0x5226d1:0x457,_0x1a63c9:0x3e1,_0xb5bbef:0x2d6,_0x1b635a:0x2fa,_0x2b318b:0x3a2,_0x1f1319:0x362,_0x2e3cec:0x225,_0x331176:0x3d2,_0x23dbc3:0x3e3,_0x5b23f5:0x1db,_0x385651:0x1d3,_0x354e40:0x27d,_0x1fcb66:0x1f6,_0x4b847b:0x2f7,_0x544ecb:0x461,_0x260b57:0x321,_0x43fa70:0x421,_0x281ce8:0x336,_0x509f86:0x439,_0x2234e9:0x414,_0xc259ca:0x392,_0x2ba798:0x3f0,_0xf88fb6:0x39f,_0x3725fa:0x2a9,_0x1cb176:0x340,_0x58dc57:0x2cf,_0x41544e:0x279,_0x5ce8ff:0x278,_0x50fe8f:0x18c,_0x23e39e:0x3b7,_0x463da1:0x2f9},_0x1bc1ad={};_0x1bc1ad['rekTS']=function(_0x17dc5f,_0x3483e8){return _0x17dc5f<_0x3483e8;},_0x1bc1ad[_0x4c2279(_0x1ac1ea._0x139c5b,0x4ac)]=function(_0x4da21f,_0x1a369b){return _0x4da21f-_0x1a369b;},_0x1bc1ad[_0x4c2279(_0x1ac1ea._0x232541,_0x1ac1ea._0x175b5a)]=function(_0x1acb04,_0x4a686a){return _0x1acb04+_0x4a686a;},_0x1bc1ad[_0x4f9f7e(_0x1ac1ea._0x15b883,0x2ec)]=_0x4c2279(0x3e0,_0x1ac1ea._0x358b84),_0x1bc1ad[_0x4f9f7e(0x1cf,_0x1ac1ea._0x29e9e2)]=function(_0x4ad587,_0x158126){return _0x4ad587===_0x158126;};function _0x4c2279(_0x4ad713,_0x48722e){return _0x34d38f(_0x4ad713-0x4c5,_0x48722e);}_0x1bc1ad[_0x4c2279(_0x1ac1ea._0x5c05b7,_0x1ac1ea._0x5226d1)]=_0x4c2279(0x377,_0x1ac1ea._0x1a63c9);const _0x198138=_0x1bc1ad,_0xe5f6e2=await readStateFile();function _0x4f9f7e(_0x309d08,_0x20230a){return _0x300e91(_0x309d08-0x16d,_0x20230a);}if(!_0xe5f6e2){console[_0x4f9f7e(0x287,0x1fe)](_0x4f9f7e(_0x1ac1ea._0xb5bbef,_0x1ac1ea._0x1b635a));return;}if(!_0xe5f6e2[_0x4f9f7e(0x2b7,0x259)][_0x1aec97]){console[_0x4c2279(_0x1ac1ea._0x2b318b,_0x1ac1ea._0x1f1319)](_0x4f9f7e(0x1e6,0x218)+_0x1aec97+_0x4f9f7e(_0x1ac1ea._0x2e3cec,0x181));return;}const _0x1c1c15=_0xe5f6e2[_0x4c2279(_0x1ac1ea._0x331176,_0x1ac1ea._0x23dbc3)][_0x1aec97],_0x428bad={..._0xe5f6e2[_0x4c2279(0x3d2,0x420)]},_0x13c7df=_0x428bad;delete _0x13c7df[_0x1aec97];if(_0x1c1c15['parentId']&&_0x13c7df[_0x1c1c15[_0x4f9f7e(0x27d,0x2cf)]]){if('TVAYs'!==_0x4c2279(0x3fc,0x43a))_0x246fee['log'](_0x4c2279(0x3d3,0x3f0)+_0x686d6e+_0x4f9f7e(_0x1ac1ea._0x5b23f5,_0x1ac1ea._0x385651));else{const _0x4676e6=_0x13c7df[_0x1c1c15[_0x4f9f7e(0x27d,0x319)]];_0x13c7df[_0x1c1c15[_0x4f9f7e(_0x1ac1ea._0x354e40,_0x1ac1ea._0x1fcb66)]]={..._0x4676e6,'childIds':_0x4676e6['childIds'][_0x4f9f7e(_0x1ac1ea._0x4b847b,0x27e)](_0x5d386f=>_0x5d386f!==_0x1aec97)};}}const _0x2b61d3=Object[_0x4f9f7e(0x33b,0x3a8)](_0x13c7df);let _0x12e3c2=_0x4c2279(0x3e0,_0x1ac1ea._0x544ecb);for(const _0x31f012 of _0x2b61d3){if(_0x13c7df[_0x31f012][_0x4f9f7e(_0x1ac1ea._0x260b57,0x3c2)]!==_0x198138[_0x4c2279(0x3a3,0x42a)]){if(_0x198138[_0x4f9f7e(0x1cf,0x1df)](_0x4c2279(0x3cf,0x3ed),_0x4c2279(0x3cf,_0x1ac1ea._0x43fa70))){_0x12e3c2=_0x13c7df[_0x31f012][_0x4f9f7e(_0x1ac1ea._0x260b57,_0x1ac1ea._0x281ce8)];break;}else _0x198138[_0x4c2279(_0x1ac1ea._0x509f86,_0x1ac1ea._0x2234e9)](_0x1a508d,_0x198138[_0x4c2279(_0x1ac1ea._0x139c5b,0x423)](_0x67ae80['length'],-0x851+0xa9*-0x29+0x1*0x2363))?_0x158eba=_0x567c06[_0x198138[_0x4c2279(0x3c8,_0x1ac1ea._0xc259ca)](_0x4b7277,0x1*0x19c1+-0xdf*-0x13+0x27d*-0x11)]:_0x25c401=_0x198138['dzUSq'];}}const _0x47705f={..._0xe5f6e2[_0x4c2279(0x3ea,_0x1ac1ea._0x2ba798)]};_0x47705f[_0x4c2279(_0x1ac1ea._0xf88fb6,0x467)+'se']=_0x2b61d3[_0x4f9f7e(_0x1ac1ea._0x3725fa,_0x1ac1ea._0x1cb176)]>0x2042+0x68f+-0x26d1?_0x12e3c2:_0x198138['LisTe'];const _0x26130b={};_0x26130b[_0x4f9f7e(_0x1ac1ea._0x58dc57,_0x1ac1ea._0x41544e)]=_0x47705f,_0x26130b[_0x4f9f7e(0x2b7,0x2a6)]=_0x13c7df,_0x26130b[_0x4c2279(0x380,0x327)+_0x4f9f7e(_0x1ac1ea._0x5ce8ff,0x1f8)]=_0xe5f6e2['machineSna'+'pshot'],await writeStateFile(_0x26130b),console[_0x4f9f7e(0x287,0x2ca)](_0x4f9f7e(0x244,_0x1ac1ea._0x50fe8f)+_0x4c2279(_0x1ac1ea._0x23e39e,_0x1ac1ea._0x463da1)+_0x1aec97);}function detectInputType(_0xc6951d){const _0x26cf5d={_0x3b9459:0xe5,_0xdc1508:0x330,_0x41d65b:0x36a,_0x45e3dc:0x355,_0x25ee53:0x370,_0x369888:0x29,_0x49f2de:0x3de,_0x12b13d:0x3b5,_0x13bf42:0x406,_0x331c86:0x42a};function _0x25d0f6(_0x3cccf5,_0x44f9e7){return _0x34d38f(_0x3cccf5-0x244,_0x44f9e7);}const _0x25b937={};_0x25b937[_0x25d0f6(0xb4,_0x26cf5d._0x3b9459)]=_0x49f32d(_0x26cf5d._0xdc1508,0x38b)+'l',_0x25b937[_0x49f32d(_0x26cf5d._0x41d65b,0x3e6)]=function(_0x49b946,_0x1920aa){return _0x49b946>_0x1920aa;};const _0x2f8660=_0x25b937;function _0x49f32d(_0x4299be,_0x35cb19){return _0x300e91(_0x4299be-0x28a,_0x35cb19);}if(/^https?:\/\/github\.com\//['test'](_0xc6951d))return _0x49f32d(_0x26cf5d._0x45e3dc,_0x26cf5d._0x25ee53);if(/^https?:\/\//[_0x25d0f6(0x190,0x101)](_0xc6951d))return _0x2f8660[_0x25d0f6(0xb4,_0x26cf5d._0x369888)];if(_0x2f8660[_0x49f32d(0x36a,_0x26cf5d._0x49f2de)](_0xc6951d[_0x49f32d(0x3c6,_0x26cf5d._0x12b13d)],-0x1517+-0x1e25+0x19a3*0x2))return _0x49f32d(0x351,_0x26cf5d._0x13bf42)+'t';return _0x49f32d(0x433,_0x26cf5d._0x331c86);}const _0xf8769f={};_0xf8769f['requiremen'+'t']=_0x34d38f(-0x61,0x1b),_0xf8769f['github_url']=_0x300e91(0xb4,0x130),_0xf8769f[_0x34d38f(-0x197,-0x162)+'l']=_0x34d38f(-0x1d7,-0x170),_0xf8769f[_0x34d38f(-0x94,-0xd3)]='未知类型';const INPUT_TYPE_NAMES=_0xf8769f;async function readStateFile(){function _0x2564a2(_0x5db4a5,_0x20a871){return _0x300e91(_0x20a871-0x314,_0x5db4a5);}if(!existsSync(STATE_FILE_PATH))return null;const _0x3f0554=new StateFileManager(STATE_FILE_PATH);return _0x3f0554[_0x2564a2(0x412,0x3e5)]();}async function writeStateFile(_0x35a307){const _0x34cf69={_0xb38b79:0x4fe,_0x88ba97:0x406,_0x3062b1:0x39c,_0x4d7e5b:0x40c,_0x5a64a1:0x4ce,_0x5395a2:0x4ab,_0x2dd0bc:0x302,_0x37f56d:0x3fd,_0x27172d:0x484,_0x25ffd0:0x453,_0x4c1812:0x3b0,_0x202461:0x391,_0x8377e1:0x3e3,_0x1e49a2:0x56a,_0x247fcc:0x40f,_0x3457ba:0x3e9,_0x6c0243:0x432,_0x481bc4:0x491,_0x456bb5:0x3c2,_0x5a2ea1:0x4b3,_0x16c45d:0x302,_0xb0188a:0x45d,_0x16139b:0x485,_0x157f71:0x4ca,_0x653ee7:0x45e},_0x59533a={};_0x59533a[_0x53a207(0x438,_0x34cf69._0xb38b79)]='QECkS';function _0x2ff666(_0x33f0f7,_0x284daa){return _0x300e91(_0x284daa-0x2f5,_0x33f0f7);}_0x59533a[_0x53a207(0x4ca,_0x34cf69._0x88ba97)]=function(_0x57e93c,_0x210c36){return _0x57e93c-_0x210c36;},_0x59533a['djqXU']=function(_0x53c8fd,_0x5913ba){return _0x53c8fd===_0x5913ba;},_0x59533a[_0x53a207(0x3b0,_0x34cf69._0x3062b1)]='lEdIC';function _0x53a207(_0x5bfe8d,_0x2b4e8e){return _0x300e91(_0x5bfe8d-0x306,_0x2b4e8e);}const _0x34501e=_0x59533a;for(let _0x117e47=0x1*-0x1145+-0x1047+0x4c*0x71;_0x117e47<MAX_RETRIES;_0x117e47++){try{const _0x457b0a=new StateFileManager(STATE_FILE_PATH);await _0x457b0a[_0x2ff666(_0x34cf69._0x4d7e5b,0x3c6)](),await _0x457b0a[_0x2ff666(_0x34cf69._0x5a64a1,_0x34cf69._0x5395a2)](_0x35a307);return;}catch(_0x158124){if(_0x34501e['yHgvi']===_0x2ff666(_0x34cf69._0x2dd0bc,0x35c)){if(_0x158124 instanceof Error&&_0x158124[_0x2ff666(0x3c7,_0x34cf69._0x37f56d)]['includes'](_0x2ff666(0x415,_0x34cf69._0x27172d))&&_0x117e47<_0x34501e['zkQzV'](MAX_RETRIES,0x7c1+0x549+-0xd09)){if(_0x34501e[_0x53a207(_0x34cf69._0x25ffd0,0x3ff)](_0x34501e['oDLMo'],_0x34501e[_0x53a207(_0x34cf69._0x4c1812,_0x34cf69._0x202461)])){await new Promise(_0x395bf3=>setTimeout(_0x395bf3,0x5*-0xdc+0x170b+-0x3*0x62f+Math[_0x2ff666(0x55c,0x494)]()*(-0x26f*0x1+-0x2d6*0x8+0x1*0x1983)));continue;}else{const _0x12dfb7=_0x10cd69[_0x59e951],_0x3a7771=_0x14f891[_0x12dfb7[_0x2ff666(_0x34cf69._0x8377e1,0x4a9)]]??_0x12dfb7[_0x2ff666(_0x34cf69._0x1e49a2,0x4a9)],_0xa15d12=_0x12dfb7[_0x53a207(0x4d6,_0x34cf69._0x247fcc)+_0x2ff666(0x37a,_0x34cf69._0x3457ba)]||'-',_0x1afd72=_0x12dfb7['currentSki'+'ll']||'-';_0x1918f2[_0x2ff666(_0x34cf69._0x6c0243,_0x34cf69._0x247fcc)](_0x2ff666(0x472,_0x34cf69._0x481bc4)+_0x325089[_0x53a207(_0x34cf69._0x456bb5,0x3fa)](0x1d5f+-0x15c9+-0x784)+_0x2ff666(_0x34cf69._0x5a2ea1,0x485)+_0x3a7771[_0x53a207(0x3c2,_0x34cf69._0x16c45d)](-0x2*0xe2c+0x2311+-0x6ab)+_0x2ff666(0x447,0x485)+_0xa15d12[_0x53a207(0x3c2,0x41f)](-0x121*-0x9+0x1985+-0x2399)+_0x2ff666(_0x34cf69._0xb0188a,_0x34cf69._0x16139b)+_0x1afd72);}}throw _0x158124;}else for(const [_0x4b8b37,_0x3ed9e4]of _0x28bb1e[_0x2ff666(_0x34cf69._0x157f71,0x483)](_0x477bcc[_0x53a207(0x450,_0x34cf69._0xb38b79)])){!_0x49b418[_0x53a207(0x4d8,_0x34cf69._0x653ee7)](_0x4b8b37)&&(_0x232ec8[_0x4b8b37]=_0x3ed9e4);}}}}export async function newProject(_0x17b3c6){const _0x4a20be={_0x5d00bd:0xa1,_0x75042c:0x494,_0x44d3c0:0xd3,_0x36137f:0x3df,_0x33b2da:0x92,_0x4c2a60:0x3b2,_0x31394e:0x35,_0x5a0a78:0x4c,_0x19ba7e:0x483,_0x4d545e:0x46b,_0x2e1281:0x27,_0x2da55f:0x434,_0x387b4d:0x3ce,_0x4311a9:0x3a6,_0x1b3065:0x3bb,_0x4ea388:0x3af,_0x4e71e7:0x40f,_0x2d696e:0x3c2,_0x5c68b0:0xa3,_0x574c9a:0x47,_0x57a339:0x19},_0x4e2b85={'WedQR':_0x118345(-0x92,-_0x4a20be._0x5d00bd),'hcxwA':function(_0x20cb62,_0x2eab76){return _0x20cb62!==_0x2eab76;},'DYIYO':'idle','DOerz':function(_0x21f6fc,_0x1a82ec){return _0x21f6fc(_0x1a82ec);},'AfPct':_0x108637(0x475,_0x4a20be._0x75042c)},_0x36a2ea=resolve(process[_0x118345(-0xcb,-_0x4a20be._0x44d3c0)](),_0x4e2b85[_0x108637(_0x4a20be._0x36137f,0x3ff)]);if(!existsSync(_0x36a2ea)){if(_0x4e2b85['hcxwA'](_0x118345(0xf,-_0x4a20be._0x33b2da),_0x118345(-0x1f,-0xd5))){const _0x5f4568={};_0x5f4568[_0x108637(0x3ac,0x425)]=!![],mkdirSync(_0x36a2ea,_0x5f4568);}else return _0x4644f4;}const _0x2f7106=generateAgentId(),_0x18ebef={};_0x18ebef[_0x108637(_0x4a20be._0x4c2a60,0x3f2)]=_0x2f7106,_0x18ebef[_0x118345(-_0x4a20be._0x31394e,-_0x4a20be._0x5a0a78)]=null,_0x18ebef[_0x108637(0x33f,0x33d)]=[],_0x18ebef[_0x108637(_0x4a20be._0x19ba7e,_0x4a20be._0x4d545e)]=_0x4e2b85[_0x118345(_0x4a20be._0x2e1281,0x61)],_0x18ebef['currentOpe'+_0x118345(-0x5c,-0x68)]='',_0x18ebef[_0x118345(-0x10a,-0x72)+'ll']='';function _0x118345(_0x4e59af,_0x292d08){return _0x300e91(_0x292d08- -0x15c,_0x4e59af);}const _0x354bb5=_0x18ebef,_0x2c99d5={};_0x2c99d5['name']=_0x17b3c6,_0x2c99d5[_0x108637(_0x4a20be._0x2da55f,_0x4a20be._0x387b4d)+'se']=_0x108637(0x40a,_0x4a20be._0x4311a9);function _0x108637(_0xfee5d9,_0x119800){return _0x34d38f(_0x119800-0x4f4,_0xfee5d9);}const _0x1d4609={};_0x1d4609[_0x2f7106]=_0x354bb5;const _0x1443ba={};_0x1443ba['project']=_0x2c99d5,_0x1443ba[_0x118345(-0x6a,-0x12)]=_0x1d4609,_0x1443ba[_0x108637(_0x4a20be._0x1b3065,_0x4a20be._0x4ea388)+_0x108637(_0x4a20be._0x4e71e7,_0x4a20be._0x2d696e)]=null,await _0x4e2b85[_0x118345(_0x4a20be._0x5c68b0,_0x4a20be._0x574c9a)](writeStateFile,_0x1443ba),console[_0x118345(-0xf0,-0x42)](_0x118345(_0x4a20be._0x57a339,-0x1)+_0x17b3c6),console[_0x108637(0x40c,0x3d1)]('\x20\x20\x20目录:\x20'+_0x36a2ea),console['log'](_0x108637(0x3a4,0x450)+'t:\x20'+_0x2f7106),console['log'](_0x118345(-0x75,0x22)+PIPELINE_PHASES['map'](_0x2b6b22=>PHASE_NAMES[_0x2b6b22]??_0x2b6b22)[_0x118345(-0x44,0xf)](_0x4e2b85['AfPct'])+'\x0a');}export async function discussPhase(_0x8bf0c9){const _0x4fed4d={_0x252723:0x133,_0x4fbaf4:0xc9,_0x15b2a8:0x3b,_0x13c7d8:0x1d0,_0x5a70ac:0x105,_0x49f78c:0x152,_0x5539e0:0x157,_0x41e058:0xce,_0xf55946:0x2ae,_0x270671:0x32e,_0x2bab90:0x244,_0x5026c7:0x2b6,_0x4ada65:0x2a3,_0x5ab468:0x2df,_0x2ad563:0x23d,_0x3dff9d:0x2ea,_0x586312:0x1fe,_0x137c5e:0x209,_0x5d8317:0xe0,_0x292a3d:0x1a7,_0x13f011:0x206,_0x5d6a85:0x251,_0x26924a:0x207,_0x5f4344:0x1a4,_0x22b4bf:0x1a0,_0x307950:0x27f,_0x3641ea:0x220,_0x2321fa:0x1fd,_0x49bf87:0x1bf,_0x396502:0x22c,_0x126316:0x2e0,_0x3601bf:0x17e,_0xbdbb71:0x1f1,_0x10ff75:0x26b,_0x4afe7b:0x2dc},_0x8a26f={'VhGTU':function(_0xca1f9a){return _0xca1f9a();},'hCrLG':_0x3c9f59(-_0x4fed4d._0x252723,-0x12f)+_0x3c9f59(-_0x4fed4d._0x4fbaf4,-_0x4fed4d._0x15b2a8)+_0x3c9f59(-0xf6,-0xba),'ipEar':function(_0x287afc,_0x57c1b3){return _0x287afc===_0x57c1b3;},'eeDuq':_0x3c9f59(-0x18f,-_0x4fed4d._0x13c7d8),'WlxBw':function(_0x4cb14d,_0x2236ec){return _0x4cb14d!==_0x2236ec;},'sIBEi':_0xa6a6f6(0x247,0x274)},_0x231dfb=_0x8bf0c9??'discuss',_0x4d7ff6=await _0x8a26f[_0xa6a6f6(0x18d,_0x4fed4d._0x5a70ac)](readStateFile);if(!_0x4d7ff6){console[_0x3c9f59(-0x182,-0x235)](_0x8a26f[_0xa6a6f6(0x241,0x179)]);return;}function _0xa6a6f6(_0x2b96d4,_0x225a46){return _0x34d38f(_0x2b96d4-0x32c,_0x225a46);}const _0x17d0cd=_0x4d7ff6[_0x3c9f59(-_0x4fed4d._0x49f78c,-_0x4fed4d._0x5539e0)];for(const _0x552546 of Object[_0x3c9f59(-_0x4fed4d._0x41e058,-0x4f)](_0x17d0cd)){_0x8a26f[_0xa6a6f6(_0x4fed4d._0xf55946,_0x4fed4d._0x270671)](_0x8a26f['eeDuq'],_0x8a26f[_0x3c9f59(-0x116,-0x110)])?_0x8a26f[_0xa6a6f6(_0x4fed4d._0x2bab90,_0x4fed4d._0x5026c7)](_0x17d0cd[_0x552546][_0xa6a6f6(_0x4fed4d._0x4ada65,0x20d)],_0x8a26f[_0xa6a6f6(0x252,_0x4fed4d._0x5ab468)])&&(_0x3c9f59(-0x14e,-0x1e8)===_0xa6a6f6(_0x4fed4d._0x2ad563,_0x4fed4d._0x3dff9d)?_0x17d0cd[_0x552546]={..._0x17d0cd[_0x552546],'phase':_0x231dfb}:_0x162344=_0x3c38bb()):(_0x386dd2=_0x8a26f[_0x3c9f59(-_0x4fed4d._0x586312,-0x1c3)](_0x4b1cec),_0x2850db&&_0x7e0ae9[_0xa6a6f6(_0x4fed4d._0x137c5e,0x1a3)](_0xa6a6f6(0x19e,0xe1)));}const _0x2ddcd1={};_0x2ddcd1[_0xa6a6f6(0x15f,_0x4fed4d._0x5d8317)]=_0x4d7ff6[_0x3c9f59(-0x13a,-0x178)][_0xa6a6f6(0x15f,_0x4fed4d._0x292a3d)],_0x2ddcd1[_0xa6a6f6(_0x4fed4d._0x13f011,0x1e3)+'se']=_0x231dfb;const _0x369618={};_0x369618[_0xa6a6f6(_0x4fed4d._0x5d6a85,_0x4fed4d._0x26924a)]=_0x2ddcd1,_0x369618[_0x3c9f59(-0x152,-0xf0)]=_0x17d0cd,_0x369618[_0x3c9f59(-_0x4fed4d._0x5f4344,-_0x4fed4d._0x22b4bf)+'pshot']=null;function _0x3c9f59(_0x41ee00,_0x465b75){return _0x300e91(_0x41ee00- -0x29c,_0x465b75);}await writeStateFile(_0x369618);const _0x5d6bde=PHASE_NAMES[_0x231dfb]??_0x231dfb;console[_0xa6a6f6(0x209,_0x4fed4d._0x307950)](_0x3c9f59(-_0x4fed4d._0x3641ea,-_0x4fed4d._0x2321fa)+'\x20'+_0x5d6bde),console['log']('\x20\x20\x20项目:\x20'+_0x4d7ff6[_0x3c9f59(-0x13a,-_0x4fed4d._0x49bf87)][_0x3c9f59(-_0x4fed4d._0x396502,-_0x4fed4d._0x126316)]),console['log'](_0x3c9f59(-_0x4fed4d._0x3601bf,-0xe2)+_0x5d6bde),console[_0xa6a6f6(_0x4fed4d._0x137c5e,_0x4fed4d._0x137c5e)](_0xa6a6f6(_0x4fed4d._0xbdbb71,0x192)+_0xa6a6f6(_0x4fed4d._0x10ff75,_0x4fed4d._0x4afe7b)+'\x0a');}export async function planPhase(_0x22ae02){const _0x51d69e={_0x5d8f7d:0x28c,_0x5b1c97:0x2cc,_0x3dd7af:0x2bb,_0x407e60:0x2c7,_0x18ae31:0x1a6,_0x2df11e:0x193,_0x438e07:0x21e,_0x25e61a:0x22d,_0x1e638b:0x2ca,_0xb6c3a3:0x2e7,_0x223055:0x1b3,_0x195954:0x340,_0x4cdbcf:0x3b7,_0x23afef:0x1c8,_0x5ee3e0:0x1e2,_0x5adff7:0x2a5,_0x589d03:0x238,_0x315b51:0x1f0,_0x18cc1c:0x233,_0x35bd1a:0x1fa,_0x6185e1:0x371,_0x438162:0x205,_0x21ad20:0x219,_0x4cfd74:0x290,_0x3a7476:0x296,_0x7ee30c:0x27f,_0x37b758:0x276},_0x3c3e6f={_0x5d3477:0x35e},_0x49e1ba={'Yydeq':_0x49c1a3(0x1db,_0x51d69e._0x5d8f7d),'ZaDCj':function(_0x583abe){return _0x583abe();},'TzCco':function(_0xe93b13,_0x43a9e7){return _0xe93b13!==_0x43a9e7;},'ayMMg':_0x49c1a3(_0x51d69e._0x5b1c97,_0x51d69e._0x3dd7af),'CLPXo':'⚠️\x20\x20状态文件不存在'+_0x26e42f(0x345,0x309)+_0x49c1a3(_0x51d69e._0x407e60,0x386),'iCswW':function(_0x2d2ca1,_0x58fc7e){return _0x2d2ca1===_0x58fc7e;},'gOPrt':'NfING','ncZfh':_0x26e42f(0x1e4,0x295)};function _0x26e42f(_0x204959,_0x252f7f){return _0x300e91(_0x204959-0x172,_0x252f7f);}const _0x56035f=_0x22ae02??_0x49e1ba['Yydeq'],_0x2b45a0=await _0x49e1ba[_0x49c1a3(_0x51d69e._0x18ae31,_0x51d69e._0x2df11e)](readStateFile);if(!_0x2b45a0){if(_0x49e1ba[_0x49c1a3(0x26a,0x1fd)](_0x49e1ba[_0x49c1a3(_0x51d69e._0x438e07,0x268)],'bwonS')){const _0x17d25d=_0x1dc825[_0x26e42f(0x28f,0x25b)+'t'](),_0x31a4f8=typeof _0x17d25d['value']===_0x26e42f(0x295,_0x51d69e._0x25e61a)?_0x17d25d[_0x26e42f(0x283,0x311)]:_0x49c1a3(0x2ca,0x25d);if(_0x31a4f8!==_0x26e42f(_0x51d69e._0x1e638b,_0x51d69e._0xb6c3a3))return _0x557b13;}else{console[_0x49c1a3(0x23b,0x2ee)](_0x49e1ba[_0x49c1a3(_0x51d69e._0x223055,0x1a7)]);return;}}const _0x531f8a=_0x2b45a0['agents'];for(const _0x16c3a9 of Object[_0x26e42f(_0x51d69e._0x195954,0x2e6)](_0x531f8a)){_0x531f8a[_0x16c3a9][_0x26e42f(0x326,_0x51d69e._0x4cdbcf)]!=='completed'&&(_0x49e1ba[_0x49c1a3(0x1f6,0x176)](_0x49e1ba[_0x26e42f(0x353,0x395)],_0x49e1ba[_0x49c1a3(_0x51d69e._0x23afef,0x254)])?_0x192d36=_0x2d7a8e[_0x431411+(-0x3*-0x332+0x103*-0x3+-0x68c*0x1)]:_0x531f8a[_0x16c3a9]={..._0x531f8a[_0x16c3a9],'phase':_0x56035f});}const _0x13b2b0={};_0x13b2b0[_0x26e42f(_0x51d69e._0x5ee3e0,0x17a)]=_0x2b45a0[_0x26e42f(0x2d4,_0x51d69e._0x5adff7)][_0x26e42f(_0x51d69e._0x5ee3e0,0x1ac)],_0x13b2b0[_0x49c1a3(_0x51d69e._0x589d03,0x207)+'se']=_0x56035f;const _0x3bb59a={};_0x3bb59a['project']=_0x13b2b0,_0x3bb59a[_0x49c1a3(0x26b,_0x51d69e._0x315b51)]=_0x531f8a,_0x3bb59a['machineSna'+'pshot']=null,await writeStateFile(_0x3bb59a);const _0xb7bdf5=PHASE_NAMES[_0x56035f]??_0x56035f;console[_0x26e42f(_0x51d69e._0x5d8f7d,0x238)](_0x26e42f(_0x51d69e._0x18cc1c,_0x51d69e._0x35bd1a)+'\x20'+_0xb7bdf5),console[_0x26e42f(_0x51d69e._0x5d8f7d,0x336)](_0x49c1a3(0x2c9,_0x51d69e._0x6185e1)+_0x2b45a0[_0x49c1a3(0x283,_0x51d69e._0x438162)][_0x26e42f(0x1e2,_0x51d69e._0x21ad20)]),console['log'](_0x26e42f(_0x51d69e._0x4cfd74,_0x51d69e._0x3a7476)+_0xb7bdf5);function _0x49c1a3(_0x350d95,_0x1dbc1f){return _0x34d38f(_0x350d95-_0x3c3e6f._0x5d3477,_0x1dbc1f);}console['log']('\x20\x20\x20提示:\x20在此阶'+_0x49c1a3(_0x51d69e._0x7ee30c,_0x51d69e._0x37b758)+'\x0a');}export async function executePhase(_0x422f94){const _0x5f41d8={_0x38377b:0x1cb,_0x281270:0x243,_0x9a87ca:0x6f4,_0x11ff81:0x6c7,_0x1baef7:0x5b6,_0xb4f1ec:0x6e7,_0x4a6f55:0x6d5,_0x2a8165:0x19d,_0x32b8a1:0x24d,_0x1e390c:0x13a,_0x18e2f6:0x1ea,_0xb0a4e4:0x277,_0x1a803d:0x24e,_0x5c46d2:0x306,_0x1d0db1:0x23f,_0x41dd2c:0x1e8,_0x5a7606:0x683,_0x3108ed:0x165,_0x3a23e7:0x588,_0x259636:0x19a,_0x2f3eb1:0x290,_0x912ea6:0x62c,_0x2550ac:0x6d9,_0x31f08b:0x29d,_0x3384d0:0x235,_0x56644c:0x257,_0x588f0c:0x693,_0x41d100:0x63b,_0x57ef24:0x623},_0x29eaaf={_0x2ed18d:0x521},_0x4522c4={'yIWNG':function(_0xa67520,_0x3ccf21){return _0xa67520??_0x3ccf21;},'BqnKP':'execute','qOkyd':function(_0x31f8d0){return _0x31f8d0();},'CORET':function(_0x11148b,_0x13dc78){return _0x11148b!==_0x13dc78;},'Odivi':function(_0x50fdf3,_0x399acd){return _0x50fdf3!==_0x399acd;},'YKMby':'yCIFH'},_0x530997=_0x4522c4[_0x2aceb0(0x14e,_0x5f41d8._0x38377b)](_0x422f94,_0x4522c4['BqnKP']),_0x3e9d83=await _0x4522c4[_0x2aceb0(_0x5f41d8._0x281270,0x19a)](readStateFile);if(!_0x3e9d83){console['log']('⚠️\x20\x20状态文件不存在'+_0x3411b6(0x7ae,0x6f4)+_0x3411b6(_0x5f41d8._0x9a87ca,_0x5f41d8._0x11ff81));return;}const _0x598691=_0x3e9d83[_0x3411b6(_0x5f41d8._0x1baef7,0x66b)];function _0x3411b6(_0x5d99ef,_0x53007e){return _0x300e91(_0x53007e-_0x29eaaf._0x2ed18d,_0x5d99ef);}for(const _0x34330d of Object['keys'](_0x598691)){if(_0x4522c4[_0x3411b6(0x65e,_0x5f41d8._0xb4f1ec)](_0x598691[_0x34330d][_0x3411b6(0x6df,_0x5f41d8._0x4a6f55)],_0x2aceb0(_0x5f41d8._0x2a8165,_0x5f41d8._0x32b8a1))){if(_0x4522c4[_0x2aceb0(_0x5f41d8._0x1e390c,_0x5f41d8._0x18e2f6)](_0x4522c4[_0x2aceb0(_0x5f41d8._0xb0a4e4,_0x5f41d8._0x1a803d)],_0x4522c4[_0x2aceb0(_0x5f41d8._0x5c46d2,0x24e)])){_0x6d925[_0x3411b6(0x657,0x63b)]('['+_0x31a985+_0x2aceb0(_0x5f41d8._0x1d0db1,_0x5f41d8._0x41dd2c));return;}else _0x598691[_0x34330d]={..._0x598691[_0x34330d],'phase':_0x530997};}}const _0x5d0ad4={};_0x5d0ad4['name']=_0x3e9d83[_0x3411b6(0x70b,_0x5f41d8._0x5a7606)][_0x2aceb0(0x20b,_0x5f41d8._0x3108ed)],_0x5d0ad4[_0x3411b6(_0x5f41d8._0x3a23e7,0x638)+'se']=_0x530997;const _0x1b9527={};_0x1b9527[_0x2aceb0(_0x5f41d8._0x259636,0x257)]=_0x5d0ad4;function _0x2aceb0(_0x11d0a5,_0x5a5ff8){return _0x300e91(_0x5a5ff8-0xf5,_0x11d0a5);}_0x1b9527[_0x2aceb0(_0x5f41d8._0x2f3eb1,_0x5f41d8._0x1d0db1)]=_0x598691,_0x1b9527[_0x3411b6(0x637,0x619)+_0x3411b6(0x669,_0x5f41d8._0x912ea6)]=null,await writeStateFile(_0x1b9527);const _0x54d68a=PHASE_NAMES[_0x530997]??_0x530997;console[_0x2aceb0(0x1a1,0x20f)](_0x3411b6(_0x5f41d8._0x2550ac,0x6d9)+'\x20'+_0x54d68a),console[_0x2aceb0(0x19e,0x20f)](_0x2aceb0(_0x5f41d8._0x281270,_0x5f41d8._0x31f08b)+_0x3e9d83[_0x2aceb0(_0x5f41d8._0x3384d0,_0x5f41d8._0x56644c)][_0x2aceb0(0x171,0x165)]),console[_0x3411b6(_0x5f41d8._0x588f0c,_0x5f41d8._0x41d100)]('\x20\x20\x20当前阶段:\x20'+_0x54d68a),console[_0x3411b6(0x6be,0x63b)](_0x3411b6(0x59f,_0x5f41d8._0x57ef24)+_0x3411b6(0x6dc,0x636));}export async function verifyPhase(_0x15b71f){const _0x3039f2={_0x5b53d7:0x5a7,_0x431bed:0xc6,_0x449a69:0x59a,_0x515f80:0x1,_0x3116ed:0x50e,_0x209744:0x3,_0x2f1f34:0x54c,_0x152422:0x40b,_0x59db15:0x36,_0x130104:0x8b,_0x34c8a6:0x4bc,_0x57e13b:0x466,_0x506ce4:0x33,_0x5ad60d:0x5,_0x246baa:0x4b,_0x461b2f:0xe0},_0x260892={_0x21f29c:0x631},_0x55e85e={'OVBLw':function(_0x3b1d4c,_0x4eba5d){return _0x3b1d4c??_0x4eba5d;},'pEuHd':_0x4d0968(0x521,_0x3039f2._0x5b53d7),'xPiFG':_0x1ff8cc(0x1c,_0x3039f2._0x431bed)+',请先运行\x20new-'+_0x4d0968(0x53d,_0x3039f2._0x449a69),'sEBor':function(_0x10915a,_0x49f1da){return _0x10915a!==_0x49f1da;},'IfYgt':function(_0x50abbd,_0x5b47dc){return _0x50abbd(_0x5b47dc);}},_0x34e6f4=_0x55e85e[_0x1ff8cc(-0xb8,-_0x3039f2._0x515f80)](_0x15b71f,_0x55e85e[_0x1ff8cc(0x1a,0xc8)]),_0x7218aa=await readStateFile();if(!_0x7218aa){console[_0x4d0968(0x4d9,_0x3039f2._0x3116ed)](_0x55e85e['xPiFG']);return;}const _0x5aa568=_0x7218aa[_0x1ff8cc(-_0x3039f2._0x209744,0x20)];for(const _0x5d4813 of Object['keys'](_0x5aa568)){_0x55e85e['sEBor'](_0x5aa568[_0x5d4813]['phase'],_0x4d0968(0x4e7,_0x3039f2._0x2f1f34))&&(_0x5aa568[_0x5d4813]={..._0x5aa568[_0x5d4813],'phase':_0x34e6f4});}const _0x4aed08={};_0x4aed08[_0x4d0968(_0x3039f2._0x152422,0x464)]=_0x7218aa[_0x4d0968(0x5e1,0x556)]['name'],_0x4aed08[_0x1ff8cc(-_0x3039f2._0x59db15,-_0x3039f2._0x130104)+'se']=_0x34e6f4;const _0x3b025d={};_0x3b025d['project']=_0x4aed08;function _0x4d0968(_0x5e6c15,_0x50384e){return _0x34d38f(_0x50384e-_0x260892._0x21f29c,_0x5e6c15);}_0x3b025d['agents']=_0x5aa568,_0x3b025d['machineSna'+'pshot']=null;function _0x1ff8cc(_0x36a3f5,_0x3792b9){return _0x300e91(_0x36a3f5- -0x14d,_0x3792b9);}await _0x55e85e['IfYgt'](writeStateFile,_0x3b025d);const _0x2068d0=PHASE_NAMES[_0x34e6f4]??_0x34e6f4;console[_0x1ff8cc(-0x33,-0x60)](_0x4d0968(0x58b,0x592)+'\x20'+_0x2068d0),console[_0x4d0968(_0x3039f2._0x34c8a6,0x50e)]('\x20\x20\x20项目:\x20'+_0x7218aa[_0x1ff8cc(0x15,0x58)][_0x4d0968(0x413,0x464)]),console[_0x1ff8cc(-0x33,0x28)](_0x4d0968(_0x3039f2._0x57e13b,0x512)+_0x2068d0),console[_0x1ff8cc(-_0x3039f2._0x506ce4,_0x3039f2._0x5ad60d)](_0x1ff8cc(-_0x3039f2._0x246baa,-0xa4)+_0x1ff8cc(-_0x3039f2._0x461b2f,-0x107)+'\x0a');}export async function analyzeInput(_0x3b0f81){const _0x5e9bb0={_0x32d616:0x62f,_0x4ca436:0x697,_0x16bf70:0x685,_0x10a9ab:0x68e,_0x4c258a:0xd9,_0x2f02ea:0x6b5,_0x163fe3:0x737,_0x44cf78:0x1d6,_0x56211d:0x633,_0x16626f:0x636,_0x5ede33:0x5fb,_0xf696c3:0x658,_0x330aed:0x617,_0x1fa8bb:0x60e,_0x596141:0x59f,_0x3b41f7:0x722,_0x4850ec:0x6dc,_0x4db1d3:0x276,_0x4d3270:0x584,_0x831dda:0x5a5,_0x148ee5:0x1ad,_0x514844:0x259,_0x174c83:0x620,_0x4592e1:0xcf,_0x249be0:0x676,_0x434559:0x18b,_0x235289:0x222,_0x170e0c:0x62e,_0x3588e7:0x17c},_0x33299c={_0x498214:0x74},_0x4a6e0d={'jVUWy':function(_0x48ec5e,_0x2478b1){return _0x48ec5e(_0x2478b1);},'dMGhX':function(_0x783c61,_0x2e8427){return _0x783c61>_0x2e8427;},'nrkmQ':function(_0x33eea5,_0x4dc1ee){return _0x33eea5+_0x4dc1ee;},'pPdaq':'./requirem'+_0x5132c6(0x4f0,0x59a)+'is/tools/a'+_0x5132c6(0x63e,_0x5e9bb0._0x32d616)+'uirements.'+'js','QnGoW':function(_0x233fb1,_0x2c0926){return _0x233fb1 instanceof _0x2c0926;}},_0xb74dad=await readStateFile();if(!_0xb74dad){console['log'](_0x5132c6(_0x5e9bb0._0x4ca436,_0x5e9bb0._0x16bf70)+_0x5132c6(_0x5e9bb0._0x10a9ab,0x6ef)+'project\x20命令');return;}const _0x349407=_0x4a6e0d[_0x50dafa(0x1c8,0x23e)](detectInputType,_0x3b0f81),_0xe74f5d=INPUT_TYPE_NAMES[_0x349407];function _0x50dafa(_0x40d3c0,_0x36c14a){return _0x300e91(_0x36c14a-_0x33299c._0x498214,_0x40d3c0);}console[_0x50dafa(_0x5e9bb0._0x4c258a,0x18e)](_0x5132c6(0x791,0x6e7)),console[_0x5132c6(_0x5e9bb0._0x2f02ea,0x636)](_0x5132c6(_0x5e9bb0._0x163fe3,0x6c4)+_0xb74dad[_0x50dafa(0x21e,_0x5e9bb0._0x44cf78)][_0x5132c6(_0x5e9bb0._0x56211d,0x58c)]),console[_0x5132c6(0x5d5,_0x5e9bb0._0x16626f)]('\x20\x20\x20输入类型:\x20'+_0xe74f5d),console[_0x5132c6(0x6c2,0x636)]('\x20\x20\x20输入内容:\x20'+(_0x4a6e0d[_0x5132c6(0x664,0x6f3)](_0x3b0f81[_0x5132c6(_0x5e9bb0._0x5ede33,_0x5e9bb0._0xf696c3)],0xbc3+0x6*0x31f+-0x203*0xf)?_0x4a6e0d[_0x5132c6(_0x5e9bb0._0x330aed,_0x5e9bb0._0x1fa8bb)](_0x3b0f81[_0x5132c6(0x4ef,_0x5e9bb0._0x596141)](-0x9*0x162+-0x2541+0x31b3*0x1,-0x2055+-0x17ee+0x3893),'...'):_0x3b0f81));function _0x5132c6(_0x55bce6,_0x26060c){return _0x34d38f(_0x26060c-0x759,_0x55bce6);}console['log'](_0x5132c6(_0x5e9bb0._0x3b41f7,_0x5e9bb0._0x4850ec)+'求分析\x0a');try{const {createAnalyzeRequirementsTool:_0x54c352}=await import(_0x4a6e0d[_0x50dafa(_0x5e9bb0._0x4db1d3,0x1e3)]),_0xedea17=_0x54c352(process[_0x5132c6(_0x5e9bb0._0x4d3270,_0x5e9bb0._0x831dda)]()),_0x59c393={};_0x59c393['input']=_0x3b0f81,_0x59c393[_0x50dafa(0x167,_0x5e9bb0._0x148ee5)]=_0x50dafa(0x2d4,_0x5e9bb0._0x514844);const _0x5a0d32=await _0xedea17['execute'](_0x59c393,{'sessionID':'','messageID':'','agent':_0x5132c6(_0x5e9bb0._0x174c83,0x6a0),'directory':process['cwd'](),'worktree':process[_0x50dafa(_0x5e9bb0._0x4592e1,0xfd)](),'abort':new AbortController()[_0x5132c6(_0x5e9bb0._0x249be0,0x64f)],'metadata':()=>{},'ask':async()=>{}});console['log'](_0x5a0d32);}catch(_0x1357cd){console[_0x50dafa(_0x5e9bb0._0x434559,_0x5e9bb0._0x235289)](_0x50dafa(0x119,0x1b9)+(_0x4a6e0d[_0x5132c6(_0x5e9bb0._0x170e0c,0x6b3)](_0x1357cd,Error)?_0x1357cd[_0x50dafa(0x1a4,_0x5e9bb0._0x3588e7)]:String(_0x1357cd)));}}export async function showProgress(){const _0x448707={_0x3b0e09:0x62c,_0x389c14:0x5d1,_0x6db3fc:0x539,_0x2dc83f:0x4a0,_0xd8e057:0x4be,_0x129819:0x559,_0x402bc4:0x567,_0x41ba33:0x5d0,_0x227253:0x525,_0x2b2612:0x685,_0xcf13dc:0x531,_0x264f26:0x5d0,_0x7db526:0x617,_0x8e6827:0x6e4,_0x27b1a2:0x618,_0x4975c7:0x5af,_0x2a2913:0x64e,_0x150af6:0x5bb,_0x548461:0x51d,_0xc2ea5d:0x5df,_0x376bde:0x5ce,_0x44dc0c:0x67e,_0x2eb3bf:0x5bd,_0x1c85be:0x693,_0x227576:0x696,_0x1a4c6c:0x591,_0x489d5c:0x615,_0x10776a:0x460,_0x433d7f:0x5b3,_0x138f08:0x40a,_0x4e373f:0x4fb,_0x1aefb4:0x563,_0x2dff65:0x688,_0x59af19:0x5f4,_0x2c48f9:0x55b,_0xd10721:0x4f8,_0x4fbab8:0x463,_0x427c60:0x667,_0x4ad7ff:0x694,_0x373acd:0x4ea,_0x322831:0x55a,_0x9cf3f9:0x5dc,_0x1f4c48:0x792,_0x22a104:0x6ed,_0x5b7bb5:0x506,_0x34aa26:0x5ce,_0x1eede7:0x4ac,_0x56ae98:0x570,_0x40013b:0x5d8,_0xd636c8:0x486,_0x58fa5b:0x51d,_0x178bb3:0x433,_0x35ec89:0x5d9,_0x2d58ae:0x56f,_0x5ab378:0x4fb,_0x5eb6f4:0x523,_0x607093:0x595,_0x280f1e:0x5e8,_0x47eff0:0x6e0,_0x125127:0x6f3,_0x32a88c:0x68e,_0x2da4ad:0x5a5,_0xd952e7:0x5ba,_0x310f7d:0x51e,_0x27beb9:0x5b8,_0x2bcbe2:0x618},_0x274b4d={_0x395a1d:0x73b},_0x57fec4={};_0x57fec4[_0x13e487(_0x448707._0x3b0e09,0x60d)]=function(_0x7269f8,_0x1312e4){return _0x7269f8!==_0x1312e4;},_0x57fec4['okzGx']=_0x33e342(_0x448707._0x389c14,_0x448707._0x6db3fc),_0x57fec4['PZmFu']=function(_0x2194b1,_0x5ba390){return _0x2194b1>_0x5ba390;},_0x57fec4[_0x33e342(0x499,_0x448707._0x2dc83f)]=function(_0x54ceab,_0x1512ef){return _0x54ceab/_0x1512ef;};function _0x33e342(_0x324c9a,_0x1070c1){return _0x34d38f(_0x1070c1-0x61e,_0x324c9a);}_0x57fec4[_0x13e487(0x669,0x696)]=_0x33e342(0x4b5,_0x448707._0xd8e057),_0x57fec4['wlcee']=function(_0x142c8b,_0x1c9157){return _0x142c8b+_0x1c9157;},_0x57fec4[_0x13e487(_0x448707._0x129819,_0x448707._0x402bc4)]=_0x13e487(0x590,0x58d),_0x57fec4[_0x33e342(0x68e,_0x448707._0x41ba33)]=function(_0x386166,_0x7aa9c0){return _0x386166+_0x7aa9c0;},_0x57fec4[_0x33e342(0x547,_0x448707._0x227253)]='\x20\x20\x20Agent\x20I'+_0x13e487(0x66a,_0x448707._0x2b2612)+_0x33e342(_0x448707._0xcf13dc,0x4c5)+_0x13e487(0x60b,_0x448707._0x264f26)+_0x13e487(0x58e,_0x448707._0x7db526)+_0x13e487(0x77a,_0x448707._0x8e6827)+'工具',_0x57fec4[_0x33e342(0x448,0x4e8)]=function(_0x125fd7,_0x580a94){return _0x125fd7+_0x580a94;};const _0x1ceeaf=_0x57fec4,_0x360728=await readStateFile();if(!_0x360728){console[_0x13e487(0x6ad,_0x448707._0x27b1a2)](_0x13e487(0x5f4,0x667)+',请先运行\x20new-'+'project\x20命令');return;}const _0x5e3599=_0x360728['agents'],_0x1088ff=Object[_0x33e342(0x58c,_0x448707._0x4975c7)](_0x5e3599),_0x2d4a61=_0x1088ff[_0x13e487(_0x448707._0x2a2913,0x63a)],_0x56f142=_0x1088ff['filter'](_0x56a7b2=>_0x5e3599[_0x56a7b2]['phase']==='completed')[_0x33e342(_0x448707._0x150af6,_0x448707._0x548461)],_0x401a9e=_0x1ceeaf[_0x33e342(_0x448707._0xc2ea5d,_0x448707._0x376bde)](_0x2d4a61,-0x97*0x3+0x1*-0x7ed+0x9b2)?Math[_0x33e342(0x4e0,0x5a3)](_0x1ceeaf[_0x13e487(_0x448707._0x44dc0c,_0x448707._0x2eb3bf)](_0x56f142,_0x2d4a61)*(0x2*0xa49+-0xc9*-0xf+0x38d*-0x9)):0xb58+0x9*-0x3da+0x7c6*0x3;function _0x13e487(_0x5aa274,_0x4370fa){return _0x34d38f(_0x4370fa-_0x274b4d._0x395a1d,_0x5aa274);}const _0x57c79b={};for(const _0x42d41d of _0x1088ff){if(_0x1ceeaf[_0x13e487(_0x448707._0x1c85be,_0x448707._0x227576)]===_0x13e487(0x68e,0x6de)){if(_0x1ceeaf['XSPjO'](_0xda4eb1[_0x4bf2d3][_0x33e342(_0x448707._0x1a4c6c,0x595)],_0x1ceeaf[_0x33e342(_0x448707._0x489d5c,0x566)])){const _0x26fa27={..._0x50bd85[_0x464d5b]};_0x26fa27['phase']=_0x408bd4,_0x4c5704[_0x45aa50]=_0x26fa27;}}else{const _0x584d1d=_0x5e3599[_0x42d41d]['phase'];_0x57c79b[_0x584d1d]=_0x1ceeaf[_0x33e342(_0x448707._0x10776a,0x45c)](_0x57c79b[_0x584d1d]??0x6f3*0x1+0x1*0x14fe+0x137*-0x17,-0x2033*-0x1+-0x377*0x1+-0x1cbb);}}console[_0x13e487(_0x448707._0x433d7f,0x618)](_0x33e342(0x4ed,0x4c8)+_0x360728['project'][_0x33e342(_0x448707._0x138f08,0x451)]),console[_0x33e342(_0x448707._0xcf13dc,_0x448707._0x4e373f)](_0x13e487(_0x448707._0x1aefb4,0x61c)+(PHASE_NAMES[_0x360728[_0x33e342(0x5a8,0x543)][_0x13e487(_0x448707._0x2dff65,0x615)+'se']]??_0x360728[_0x13e487(_0x448707._0x59af19,0x660)][_0x33e342(_0x448707._0x2c48f9,_0x448707._0xd10721)+'se'])),console['log'](_0x33e342(0x417,_0x448707._0x4fbab8)+_0x360728['version']),console[_0x33e342(0x4de,_0x448707._0x4e373f)](_0x13e487(0x76b,0x6b3)+_0x360728[_0x13e487(_0x448707._0x427c60,_0x448707._0x4ad7ff)]),console['log'](_0x13e487(0x6ed,0x6ee)+_0x401a9e+_0x33e342(_0x448707._0x373acd,_0x448707._0x322831)+_0x56f142+'/'+_0x2d4a61+'\x20Agent)\x0a'),console['log'](_0x1ceeaf[_0x13e487(_0x448707._0x9cf3f9,0x567)]);for(const [_0x59338a,_0x4c3116]of Object['entries'](_0x57c79b)){const _0x535e7f=PHASE_NAMES[_0x59338a]??_0x59338a,_0x589a83=_0x1ceeaf[_0x13e487(_0x448707._0x1f4c48,_0x448707._0x22a104)]('█'[_0x13e487(_0x448707._0x5b7bb5,_0x448707._0x34aa26)](_0x4c3116),'░'[_0x33e342(_0x448707._0x1eede7,0x4b1)](Math['max'](0x40f+-0x1130+-0xd21*-0x1,_0x2d4a61-_0x4c3116)));console[_0x13e487(0x62a,0x618)](_0x13e487(_0x448707._0x56ae98,_0x448707._0x40013b)+_0x535e7f[_0x33e342(_0x448707._0xd636c8,0x49d)](-0x8d8+-0x1a6*-0xc+-0xae2)+'\x20'+_0x589a83+'\x20'+_0x4c3116);}console['log']();if(_0x1088ff[_0x33e342(0x4a0,_0x448707._0x58fa5b)]>-0x2*-0x251+-0x1*-0x1063+0x1*-0x1505){console[_0x33e342(0x4a1,0x4fb)](_0x13e487(0x62a,0x64a)+'\x20详情:'),console[_0x33e342(_0x448707._0x178bb3,0x4fb)](_0x1ceeaf[_0x13e487(_0x448707._0x35ec89,0x642)]),console[_0x33e342(_0x448707._0x2d58ae,_0x448707._0x5ab378)](_0x1ceeaf[_0x33e342(0x595,0x4e8)](_0x13e487(0x738,0x69a),'-'['repeat'](0x4ac+-0x13c0+0xf64)));for(const _0x4dbd3f of _0x1088ff){const _0x2e79a4=_0x5e3599[_0x4dbd3f],_0xe87836=PHASE_NAMES[_0x2e79a4[_0x33e342(_0x448707._0x5eb6f4,_0x448707._0x607093)]]??_0x2e79a4['phase'],_0x2522ff=_0x2e79a4[_0x33e342(0x542,0x5b1)+'ration']||'-',_0x462c85=_0x2e79a4[_0x13e487(0x679,_0x448707._0x280f1e)+'ll']||'-';console[_0x13e487(_0x448707._0x47eff0,_0x448707._0x27b1a2)]('\x20\x20\x20'+_0x4dbd3f['padEnd'](0x61*0x45+0x251d+0x544*-0xc)+_0x13e487(_0x448707._0x125127,_0x448707._0x32a88c)+_0xe87836[_0x13e487(_0x448707._0x2da4ad,_0x448707._0xd952e7)](0x1870+-0x931+-0xf31)+'\x20|\x20'+_0x2522ff[_0x13e487(_0x448707._0x310f7d,0x5ba)](0x1fa6+-0x245c+0x4cb)+_0x33e342(_0x448707._0x27beb9,0x571)+_0x462c85);}console[_0x13e487(0x63a,_0x448707._0x2bcbe2)]();}}export async function quickTask(_0x224a34){const _0x4ab6da={_0x1ee57e:0x125,_0xe74352:0x10f,_0x27cbf1:0xa3,_0x3ed1c5:0x3a0,_0x439388:0x367,_0x4c64cd:0x13f,_0x33bb78:0x3bd,_0x53be2d:0x3da,_0x5c40cf:0x2dc,_0x1334df:0x4c6,_0x47586e:0x43a,_0x3accb6:0x3b6,_0x27bb5f:0x3eb,_0x5d3cbd:0x274,_0x2a0fd7:0x369,_0x594c4f:0xa,_0x9927f:0x156,_0x324e62:0x1df,_0x463039:0x35e},_0x5bf089={_0x1ccd14:0x26c},_0x5401d3={'FwKBI':function(_0x2f9681){return _0x2f9681();},'GeoaA':function(_0x2cd1ce,_0x21b295,_0x2b12cc){return _0x2cd1ce(_0x21b295,_0x2b12cc);},'NkubV':_0x4d222f(0xc0,_0x4ab6da._0x1ee57e),'oGPSg':function(_0x206dbb,_0x4d1e28){return _0x206dbb(_0x4d1e28);},'yRdta':'quick-task','ntTQp':_0x4d222f(_0x4ab6da._0xe74352,_0x4ab6da._0x27cbf1),'uZduR':_0x166634(0x34d,_0x4ab6da._0x3ed1c5)},_0x2d1273=await _0x5401d3[_0x4d222f(0x98,-0x2c)](readStateFile);if(!_0x2d1273){const _0xcff436=_0x5401d3[_0x166634(0x374,0x3eb)](resolve,process[_0x166634(_0x4ab6da._0x439388,0x2f5)](),_0x5401d3[_0x4d222f(_0x4ab6da._0x4c64cd,0x1fd)]);if(!_0x5401d3['oGPSg'](existsSync,_0xcff436)){const _0x3ce8ea={};_0x3ce8ea[_0x166634(_0x4ab6da._0x33bb78,_0x4ab6da._0x53be2d)]=!![],mkdirSync(_0xcff436,_0x3ce8ea);}}const _0x5001d1=_0x2d1273?.['project'][_0x166634(0x23d,_0x4ab6da._0x5c40cf)]??_0x5401d3['yRdta'],_0x43967b=_0x2d1273?Object[_0x166634(_0x4ab6da._0x1334df,_0x4ab6da._0x47586e)](_0x2d1273[_0x166634(0x3d4,_0x4ab6da._0x3accb6)])[-0x1*-0x1449+0x226a+0x1*-0x36b3]??_0x5401d3['FwKBI'](generateAgentId):generateAgentId(),_0x220c6b={'agentId':_0x43967b,'parentId':null,'childIds':[],'phase':_0x5401d3['ntTQp'],'currentOperation':_0x224a34[_0x4d222f(0x88,0x5e)](-0x21db+0x11c*-0xc+0x2f2b,0x7*-0x32e+-0x419*-0x3+0xa5b),'currentSkill':'quick'},_0x5e6d83={};_0x5e6d83[_0x43967b]=_0x220c6b,await _0x5401d3[_0x166634(0x2a8,0x330)](writeStateFile,{'project':{'name':_0x5001d1,'currentPhase':_0x5401d3[_0x166634(_0x4ab6da._0x27bb5f,0x339)]},'agents':_0x5e6d83,'machineSnapshot':null}),console['log']('\x0a⚡\x20快速任务模式');function _0x166634(_0x527c9b,_0xc5b2b8){return _0x300e91(_0xc5b2b8-_0x5bf089._0x1ccd14,_0x527c9b);}console[_0x4d222f(0x11f,0x98)](_0x4d222f(0x1ad,_0x4ab6da._0x5d3cbd)+_0x5001d1),console[_0x166634(_0x4ab6da._0x2a0fd7,0x386)](_0x4d222f(0xc8,_0x4ab6da._0x594c4f)+_0x224a34),console[_0x4d222f(0x11f,0x14e)](_0x4d222f(_0x4ab6da._0x9927f,_0x4ab6da._0x324e62)+_0x43967b);function _0x4d222f(_0x5f4400,_0x41717e){return _0x300e91(_0x5f4400-0x5,_0x41717e);}console[_0x166634(_0x4ab6da._0x463039,0x386)](_0x4d222f(0x117,0x171)+_0x166634(0x4f0,0x453)+_0x4d222f(0xad,0xe));}function findFirstIncompleteAgent(_0x53d1d6){const _0x42069e={_0x408feb:0x636,_0x114450:0x605,_0x21347d:0x588,_0x4f072a:0x5ee,_0x48ca2e:0x533,_0x10cfab:0xc5,_0x421ba2:0x5b3,_0x51960b:0x636,_0x2b44f7:0x5b9,_0x13e0d4:0x610,_0x3adea1:0x5c0},_0x583702={_0x22fbf2:0x6d3},_0x41d141={};_0x41d141[_0x31a676(_0x42069e._0x408feb,0x6ec)]=function(_0x2c690f,_0x5aad25){return _0x2c690f===_0x5aad25;};function _0x17bae6(_0x3deca1,_0x848fb5){return _0x34d38f(_0x3deca1-0x19f,_0x848fb5);}_0x41d141['AOpGh']=_0x31a676(0x63f,_0x42069e._0x114450),_0x41d141[_0x31a676(0x650,_0x42069e._0x21347d)]=function(_0x205e3a,_0x1e1b1f){return _0x205e3a!==_0x1e1b1f;},_0x41d141['oLnZf']=_0x31a676(_0x42069e._0x4f072a,_0x42069e._0x48ca2e);function _0x31a676(_0x2f189b,_0xfa59b8){return _0x34d38f(_0x2f189b-_0x583702._0x22fbf2,_0xfa59b8);}_0x41d141[_0x17bae6(0xd,_0x42069e._0x10cfab)]=_0x17bae6(0xf4,0x4b);const _0x8c3ec3=_0x41d141;for(const [_0x25c528,_0x364ec0]of _0x53d1d6){const _0x4cbaa5=_0x364ec0[_0x31a676(_0x42069e._0x421ba2,0x559)+'t'](),_0x291b5d=_0x8c3ec3[_0x31a676(_0x42069e._0x51960b,0x624)](typeof _0x4cbaa5[_0x17bae6(0x73,0x5f)],_0x31a676(_0x42069e._0x2b44f7,_0x42069e._0x13e0d4))?_0x4cbaa5['value']:_0x8c3ec3['AOpGh'];if(_0x8c3ec3[_0x31a676(0x650,0x680)](_0x291b5d,_0x8c3ec3[_0x31a676(0x595,_0x42069e._0x3adea1)])){if(_0x17bae6(-0x2a,0x53)!==_0x8c3ec3[_0x31a676(0x541,0x487)])return _0x25c528;else{_0x1c481b['log'](_0x17bae6(0xcb,0xaf));return;}}}return null;}function checkAllComplete(){const _0x40060a={_0x516090:0x76,_0x5c452b:0x580,_0x5f028c:0x617,_0x514846:0xc9,_0x539c88:0x8f,_0x357600:0x5aa,_0x175476:0x54c,_0x1d632d:0x11e,_0x5a5cc0:0x5b6,_0x24122f:0x65f,_0x4d32f2:0x79,_0x5a543c:0x6e,_0x92e1b:0xde,_0x35f452:0x4b,_0x2e8784:0x6a,_0x248f63:0x6a4,_0x188df6:0x6a6,_0x123df5:0x2a,_0x2952df:0x47,_0x621e3d:0x30,_0xfdcfeb:0xab,_0x380307:0x5f8,_0x427338:0x577,_0x4291e8:0x597,_0x1ce115:0x601,_0x116216:0x7f,_0x1d14df:0x34,_0x1d92bf:0x601,_0x927bfc:0x5a0,_0x573041:0x5b2,_0x22ade2:0x664,_0xc8d0af:0x33,_0x430ab6:0x1f,_0xe9b12c:0x4a,_0x1280d1:0xa4,_0x98047c:0x46,_0x13f9f9:0xb1,_0x330316:0x675,_0x5c118c:0x3d,_0xe3fea0:0x9b,_0x22a5e8:0x568,_0x247984:0x64e,_0x1d129f:0xfb,_0x38ef11:0xbd,_0x4ad252:0xae,_0x2e7606:0x122,_0xb64d7b:0x8a,_0x38d74c:0x33},_0x1dd66e={_0x5f4aaa:0x4e7},_0x3bdb83={};function _0x148d2e(_0xd883b6,_0x4330d6){return _0x300e91(_0x4330d6-_0x1dd66e._0x5f4aaa,_0xd883b6);}_0x3bdb83[_0x148d2e(0x66b,0x659)]=_0xa8c932(_0x40060a._0x516090,0xf1);function _0xa8c932(_0x4012c7,_0x28bf65){return _0x300e91(_0x4012c7- -0xf3,_0x28bf65);}_0x3bdb83[_0x148d2e(_0x40060a._0x5c452b,_0x40060a._0x5f028c)]='✅\x20所有\x20Agent'+_0xa8c932(_0x40060a._0x514846,_0x40060a._0x539c88),_0x3bdb83[_0x148d2e(0x57b,0x611)]=_0x148d2e(_0x40060a._0x357600,_0x40060a._0x175476),_0x3bdb83[_0xa8c932(0x6c,0xc0)]='lnMJi',_0x3bdb83['ehwtM']=function(_0x35e411,_0x34ffea){return _0x35e411===_0x34ffea;},_0x3bdb83['noTJz']=_0xa8c932(0xb6,_0x40060a._0x1d632d),_0x3bdb83[_0x148d2e(0x546,0x577)]=function(_0x413356,_0x2abd71){return _0x413356!==_0x2abd71;},_0x3bdb83[_0x148d2e(_0x40060a._0x5a5cc0,_0x40060a._0x24122f)]=function(_0x168372,_0x39ca4a){return _0x168372===_0x39ca4a;},_0x3bdb83[_0x148d2e(0x639,0x64d)]=_0xa8c932(0xe,0x99),_0x3bdb83[_0xa8c932(_0x40060a._0x4d32f2,_0x40060a._0x5a543c)]=_0xa8c932(_0x40060a._0x92e1b,0x165)+'LETE';const _0x55fd4f=_0x3bdb83;if(!activeEngine)return;for(const [,_0x6f97e9]of activeEngine[_0xa8c932(_0x40060a._0x35f452,_0x40060a._0x2e8784)]){if(_0x55fd4f[_0x148d2e(_0x40060a._0x248f63,0x611)]!==_0x55fd4f[_0x148d2e(_0x40060a._0x188df6,0x646)]){const _0x5d9bf8=_0x6f97e9[_0xa8c932(_0x40060a._0x123df5,0x2d)+'t'](),_0x3882c9=_0x55fd4f[_0xa8c932(-_0x40060a._0x2952df,_0x40060a._0x516090)](typeof _0x5d9bf8['value'],_0xa8c932(_0x40060a._0x621e3d,_0x40060a._0xfdcfeb))?_0x5d9bf8[_0x148d2e(0x6b1,_0x40060a._0x380307)]:_0x55fd4f['noTJz'];if(_0x55fd4f[_0x148d2e(0x5bf,_0x40060a._0x427338)](_0x3882c9,'completed'))return;}else{_0x5cd6fb[_0x148d2e(_0x40060a._0x4291e8,_0x40060a._0x1ce115)](_0x55fd4f[_0xa8c932(_0x40060a._0x116216,_0x40060a._0x1d14df)]);return;}}console[_0x148d2e(0x63b,_0x40060a._0x1d92bf)]('\x0a🎉\x20所有\x20Agen'+_0x148d2e(_0x40060a._0x927bfc,0x5b5));if(activeEngine[_0x148d2e(_0x40060a._0x573041,_0x40060a._0x22ade2)+_0xa8c932(_0x40060a._0xc8d0af,_0x40060a._0x430ab6)]){for(const [_0x1bb677]of activeEngine[_0x148d2e(0x695,0x625)]){if(_0x55fd4f[_0x148d2e(0x6da,0x65f)](_0xa8c932(_0x40060a._0xe9b12c,_0x40060a._0x1280d1),_0x148d2e(0x63f,0x624))){const _0xc5d53e={};_0xc5d53e['status']=_0x55fd4f['yTpNp'];const _0x198eb3={};_0x198eb3[_0xa8c932(_0x40060a._0x98047c,_0x40060a._0x13f9f9)]=_0x148d2e(_0x40060a._0x330316,0x66f)+_0xa8c932(-_0x40060a._0x5c118c,-_0x40060a._0xe3fea0),_0x198eb3[_0x148d2e(0x526,_0x40060a._0x22a5e8)]=_0x1bb677,_0x198eb3[_0xa8c932(0xeb,0x2c)]=_0xc5d53e,activeEngine[_0x148d2e(0x727,_0x40060a._0x22ade2)+_0x148d2e(_0x40060a._0x247984,0x60d)][_0xa8c932(-0x5f,-_0x40060a._0x1d129f)](_0x198eb3);}else{_0x3bf60b[_0xa8c932(0x27,_0x40060a._0x38ef11)](_0x55fd4f[_0x148d2e(0x694,_0x40060a._0x5f028c)]);return;}}const _0x26cd29={};_0x26cd29[_0xa8c932(0x46,_0x40060a._0x4ad252)]=_0xa8c932(-0x7b,-0xc5)+_0xa8c932(-0x87,-_0x40060a._0x2e7606),activeEngine[_0xa8c932(_0x40060a._0xb64d7b,0xf9)+_0xa8c932(_0x40060a._0xc8d0af,-_0x40060a._0x38d74c)][_0xa8c932(-0x5f,-0x6f)](_0x26cd29);const _0x562087={};_0x562087[_0x148d2e(0x6a8,0x620)]=_0x55fd4f['xzRpv'],activeEngine['supervisor'+'Actor'][_0x148d2e(0x4c4,0x57b)](_0x562087);}}function _0x2529(){const _0x5f5b95=['zgvTyw5Kx2fUyq','wMfeq2O','y2HPBgrjzhm','rxjlBxm','cUkCHsdLVjxMK47LT7lLKk/LIQJVViZKVB8','y3DK','ChLszKW','z05Tz2u','tLHHyK0','tM9bqw0','ExjhAw8','icaG8j+tIcdPMlBMRRxLIiBLUim6','uMrjvfy','we5OtKO','q0Xqwg8','rNDlqKK','C2vUza','t1zcthC','y3vWyKm','xsbtDxbLCNzPCW','zNz2wuK','mtfor0LUD2m','u05ItKO','wwPIq2K','u1rbuLq','qNzszvq','vMHhvfu','uuP3zMG','ChjVAMvJDe5HBq','s0HwAhe','mJK5vNHeCfzh','r0f4sM0','ALP6A0G','Cu9REwq','D2vIC2L0zv91CG','BMnAzMG','BgLUzE+8JoEBToAoPEAjP+IHJaO','C2v0','B0rmtw8','twfxqLm','zwH3De0','zM5ezKC','BNq6ia','8j+tIYdLT7lLIQdOVB3MIOdMNk/KUiRKUiVMLOC','CxHpsNK','AM5nwuy','AwnhBhO','xsdKU44G','r2L0shvIios7K+w6KW','tLLcDfy','tevurq','cVcFMOaG5zcV5yQOieTHBMi','ios4JEwTMowCQa','BfzHr3K','CgXHBG','lNnWzwnVChm','CgfKrw5K','DxbKyxrLlw9Wzq','uKj1DeO','wvfZweW','zMLUza','cVcFK50G6l+B5ywL6kEe5yIs6zI25Q61oG','DMvYC2LVBG','icaG5lU75yQHoIa','B0Dqu2C','rK94BgS','Dxj0q20','CMvXDwLYzw1LBG','y09UCMG','55sOigfKDMfUy2uV','wxDlBui','z2L0AhvIx3vYBa','EfPIDMO','DvPKDvi','DcdLT7lLROZMIjdLHAJPG6JPMlBMRRu','ody3mJKZEu11vg5s','CMvWzwf0','CMvHza','icaGicaGFcdMK43KVzW','rhj4uue','Cu90DvK','AunZD1C','EuLxtKC','4PYfiefNzw50iow3SUAZQa','DgfZAW','B3bLCMf0Aw9U','icaGicaG','rM5etKS','55sOigfKDMfUy2uG','zfb3y1e','otyWotbqEMnougu','sLD4zwq','Ew9jwfe','AwD4BwC','B3iG5BEY5zcV5yQO','5OQa5PYV6ycj5z6l','ihWG6zI25Q61icaGica','Aw5JBhvKzxm','DMfkrKq','cVcFK4OG6Ag555UU6l+B5BQMoIa','mZb0AvvNyLa','lI9Yzxf1AxjLBq','y3vYCMvUDfnRAq','s2HZANK','CvjLrK4','4PYfioAjGoACIsbbz2vUDa','DxrMltG','AwrSzq','z2zrrhO','CufPAvO','BNjRBve','xsdLT7lLROZMIjdLHAJPG6JPMlBMRRu','CMf0Aw9U','t2rPDMK','qKv3y3q','icaGqwDLBNqG5PwW','BwfJAgLUzvnUyq','DcdLKB3KU6q','uM1bAeS','sfrUugC','A1zOCu0','yxLntwC','q1LOre8','B0XUwMy','icaG5PYQ5A6m5OIqiefNzq','zg9Uzq','icaG5O+q56s6oIdLNkJMRAtPMly','AwvzuKu','u1rbuLrFueHbuW','cVcFLiqG5OgI5Asn5BYv5Poo','reLtuefuq0HFva','zMzXz0G','BwvZC2fNzq','vw5wuK8','zxHLy3v0zq','ChnOB3q','icaG54I2iefNzw50','s0rbDei','zg50C2q','wfnqAK8','CgfYzw50swq','DMfSDwu','icaG5O+q56s6oIdLV6VPGj/KU7S','BMfSExPLlxjLCq','tg9Vsu0','5Q615OMN6kgm5yw35l2t5lU75yQHcG','C2TPBgW','y3vYCMvUDfbOyq','x2fUywX5C2LZ','icaGicaGicaGia','Bg9N','zhPvu3e','mJC0oty1nNr1vxfeAW','z2v0u25HChnOBW','icaG5B2t5yMn6zI25Q61oIa','vuLeuuS','BfvLAei','EhHHwwO','icaG5PQc5PEGiefNzw4','C3rYAw5N','teLUrfe','xsbbz2vUDcdLT7lLKk8','qwn0B3i','yvjiv0i','C3rHCNq','AwrksgS','ENLWwLO','thrizMO','BKHerhq','cVcFMOaG6zYa5Rgc5yIg5P6q5BYv5Poo','4PQG77IpicdLIQdOVB3MIOdMNk/KUiRKUiVMLOC','6zsaoIa','wLztDgu','y29UDgv4Da','EuHNDMK','C2LNBMfS','CxvPy2S','tgLZvgu','icaG57g75z6loIa','DuXgt20','r3nUrLy','DhLWzq','tMT1yLy','ywDLBNrjza','BgvUz3rO','tvbXDui','ywn0B3jZ','8j+BKsdLVjxMK47LT7lLGzZMRAi','tKjIwhC','BgT1AwW','wM9tsw8','ExzPy3C','zu9jqxO','4P2miowiHUAEKowKSEI0PtOG','CNDbsha','seTJDLm','v2vKuvi','vhPdy28','ywDLBNrZ','cUkCHsbbz2vUDca','icaG8j+KLIbbz2vUDa','zgPXwfu','A2jtywm','uKfusu9o','DhfkrhC','icaGqwDLBNq6ia','AenYteC','AgDeqKS','icaG6l6t5yE6oIa','v2X4qNC','sgfZDhi','twPYsKC','y29TCgXLDgvK','wuTnyNK','CgHHC2vZ','cVcFHPuG6Ag555UU5BEY5yIB5BU6oIa','B2Txz0u','DgLVBG','5Q615yIg6kEJ5lU75yQH44cb5yI25A6A6k6H5yIs','EerJsLG','zMvHDhvYzv9HBG','Eu5mqKq','ChjVAMvJDa','C0LcrwK','Aw5KzxHpzG','CeLVsvq','EvrWtNa','Cev1sgq','v1bVDwe','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','ihn0yxj0iowrVEs7Pa','AM9PBG','EhPsChy','BhrjvM0','CMvJDxjZAxzL','CfbKyxe','ios4JEwTMowCQos6JIbZDgf0','zxHPDa','AuHfBLO','B3v0Chv0','vfzbwxm','D0fJB0q','tMXdvhy','zfbjuvy','tu9OB2K','jsaO','twrwt1a','6yEpoIa','5Q615Ps26zUg6zYa5Rgc44cb6k6O6k665PA55Qgi','C3vWzxj2AxnVCG','icaG6zI25Q615BQp5yIxoIa','r2vVyue','icaGqwDLBNqGsq','wKrTsgK','mJDnvMzVy3G','DgvJAenVBNrLEa','zw5NAw5L','B2T6r3G','zwveDxe','rcaGicaGicaGia','q0HjterFq09nua','DgvZDa','zMLSDgvY','qMLxwhy','EhLXwKy','BwryugW','zw50CMLLCW','5lMq6kEc6zsb5yAY56Qb','ihWG','wxL3ExO','zNPmu0W','DdOG','vK5iExy','sK1qr1e','DxbKyxrLzef0','uw5hB1C','sKT3B3G','icaG5yID5AEliefNzw4','mtCYmZi4ngPgzeTsuW','s1Loq2i','icaG','z0vus2m','cUkCHsdOV5VLHAxPQOZOR4hPMlBMRRu6','CMfUzg9T','yLfQveW','DwTYvhq','AvHhELu','re9LCNO','vwrWDxC','5yQF6io95yIg5P6q','ChjVAMvJDcdLKB3KU6q','D2Dlwui','icaG6Ag555UUoIa','Dw5RBM93BG','5O6O6l+B6zI25Q61','yNDVBLm','z2v0','wLD2vwG','zxjYB3i','r2DUzfO','uej4vhC','CMvRvfm','q252r2C','DMvYAwz5','CgHHC2u','icaG5PU05PAW5PE26zE0oIa','D3jPDgu','mti2mdu5mMj0t3jfqq','cUkAOsdOV5VLHAxMIAFOOyZPMlBMRRu6','6zYa5Rgc5yIg5P6q','sgDyr1m','zMTRy04','iow3SUwUJoAiKo+8JoAxOoMCGoAbOUwKJq','rfLjwu8','q0PMC2S','Axbfyxi','icaG5B2t5yMn6zI25Q61oIdPNia','qvPMEMS','CM91BMq','xsdNIRBMGihLVilLUlG6ia','EMTrELy','cUkCHsdLVjxMK47LT7lMGAlLPi3VViZKVB8','q09srvq','mtjjBeL6uLm','y0fot24','Aw5WDxq','ALzvv3K','cVcFLi0G5BYa5AEl5yIg5P6q','77Ym6lEZ6l+h','xsdMTl7LJ5hLRzaGqwDLBG','A2v5CW','ze9lExe','y3vYCMvUDe9Wzq','ueHbu0vFq09nua','AgfZ','77Ym6k+35ywi6l+q6kgmig5LDY0','mJHvz0HxEK4','C3rVCa','u1DvzfO','ze1hAfG','5yAmoIa','wu1Uy04','s2HNrM8','DcdORRdLVzu','6zYa5Rgc5PAh5PYS','iokgKIa','CMvZDwX0','AwzfEKy','ruLHvxq','z09qCNq','4P2miefNzw50ia','CK5JD1y','s1fNqvG','yxv0BW','icaGicaGicb8ia','5yQH5lIn6lwW5A6m5Pw0ifbPCgu','q3jvu2C','qvnl','DgvJAf9ZzwXLyW','DwLYzw1LBNrZlG','y3nAtfa','ufPTrNu','rwrzqLe','weXXuhm','icaG5A6m5OIq5BQMoIa','5A2q5lU75yQHia','rgfhDLu','BxrbEwC','mtG3ndiYD3bgsKPy','C2Xuy1K','tMnsD0i','572r56Uzifvsta','uuvdA1m','77Ym6k+35ywi6l+q6kgmihn0yxi','BgLnrLO','vvbeqvrfx09qrq','56UE5zob5yIg5P6q','ru5Fre9orq','5Q616AQm6k+b5OIq5P6C44cb6l+q6kgm5Rwl6k+v','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','CLHoBgK','BMfTzq','AxmVDg9VBhmVyq','sM93Dgm','uKrWDhi','t2jswvq','BgjQC0y','zs5QC29U','77Ym5PEG5Rov5OgI5Asn44cc6k+35ywi6l+q6kgm','quXmx0nisuXeuG','4PQG77Ipicbbz2vUDca','otG3nte3mgHtuMPutq','D2XJzwu','cVcFKQWG6l+B5ywL6k6O6k666zI25Q61oG','v21RAfa','zw50lwfUywX5CW','y29TCgv0AxrVCG','qMvOs1q','y2HPBgrjza','icaG54Mi5PYSoIa','C2XPy2u'];_0x2529=function(){return _0x5f5b95;};return _0x2529();}const MAX_RETRIES=0x107*0x25+-0xb9*0xd+-0x1*0x1c99;async function persistCurrentState(){const _0x3482b8={_0x2234d0:0x3e6,_0x393c3b:0xa3,_0x52248b:0xa4,_0x575b36:0x330,_0x5d609e:0x60,_0x53bf2c:0xd1,_0x5c1e89:0x115,_0x5c982c:0x75,_0x53cac3:0x24a,_0x10c0ba:0x228,_0x421109:0x121,_0x59cb5a:0x2f7,_0x94cc79:0x311,_0x442a68:0x101,_0x5415f0:0x159,_0x5aa4b7:0x317,_0x3fa640:0x101,_0xa1ed10:0xa0,_0x2baff5:0x13e,_0x539f55:0x2dc,_0x1e96a4:0x1c2,_0x43bffe:0x1c9,_0x18bb73:0x2de,_0x11ed30:0x127,_0x210b1f:0x190,_0x2e07b4:0xc,_0x19ad0a:0x12a,_0x256c35:0x1eb,_0x49832e:0x2cb,_0x28e92c:0x389,_0x3ad80f:0x3c9,_0x2386fe:0x3b7,_0xbded34:0x74,_0x4fd84b:0x39a,_0x1fee52:0x2ff},_0x40c089={'CJfsk':'completed','uRmjt':function(_0x168c99){return _0x168c99();},'gETKc':_0x3938e4(0x38d,_0x3482b8._0x2234d0),'slTcY':function(_0x27d270,_0x35f532){return _0x27d270===_0x35f532;},'gylLj':_0x37b3b6(-0x10f,-0x65),'JaVwN':function(_0x5d7008,_0x52680f){return _0x5d7008 instanceof _0x52680f;},'rNcwV':_0x37b3b6(-_0x3482b8._0x393c3b,-0x4d),'DrxQA':function(_0x58300d,_0x32046b){return _0x58300d<_0x32046b;}};function _0x37b3b6(_0x58686f,_0x8e093){return _0x34d38f(_0x58686f-0xb,_0x8e093);}function _0x3938e4(_0x4d4ece,_0x3fcab4){return _0x300e91(_0x4d4ece-0x1e6,_0x3fcab4);}if(!activeEngine)return;const {projectName:_0x838bcd,actors:_0x14ba41}=activeEngine,_0x132097=await _0x40c089['uRmjt'](readStateFile),_0x2a646d={};if(_0x132097)for(const [_0x3d0516,_0x2d0662]of Object[_0x37b3b6(-_0x3482b8._0x52248b,-0x153)](_0x132097[_0x3938e4(_0x3482b8._0x575b36,0x342)])){_0x40c089[_0x37b3b6(-0x95,-0x2b)]===_0x37b3b6(-0x1a7,-0x155)?!_0x5bb9a4['has'](_0x2f7481)&&(_0x12d4ac[_0x200eb3]=_0xadb12f):!_0x14ba41[_0x37b3b6(-_0x3482b8._0x5d609e,-_0x3482b8._0x53bf2c)](_0x3d0516)&&(_0x2a646d[_0x3d0516]=_0x2d0662);}const _0x404ccc={};let _0x1ff6f3=_0x3938e4(0x33e,0x312);for(const [_0x311624,_0x182994]of _0x14ba41){const _0x2e19ad=_0x182994[_0x37b3b6(-_0x3482b8._0x5c1e89,-_0x3482b8._0x5c982c)+'t'](),_0x299083=_0x40c089[_0x3938e4(_0x3482b8._0x53cac3,_0x3482b8._0x10c0ba)](typeof _0x2e19ad[_0x37b3b6(-_0x3482b8._0x421109,-0x15d)],_0x40c089['gylLj'])?_0x2e19ad[_0x3938e4(_0x3482b8._0x59cb5a,_0x3482b8._0x94cc79)]:'idle';_0x404ccc[_0x311624]={'agentId':_0x311624,'parentId':_0x2e19ad[_0x37b3b6(-_0x3482b8._0x442a68,-0x62)]?.[_0x37b3b6(-0x122,-_0x3482b8._0x5415f0)]??null,'childIds':_0x2e19ad[_0x3938e4(_0x3482b8._0x5aa4b7,0x392)]?.[_0x37b3b6(-0x1ac,-0x24c)]??[],'phase':_0x299083,'currentOperation':_0x2e19ad[_0x37b3b6(-_0x3482b8._0x3fa640,-_0x3482b8._0xa1ed10)]?.['currentOpe'+_0x37b3b6(-_0x3482b8._0x2baff5,-0xee)]??'','currentSkill':_0x2e19ad[_0x3938e4(0x317,_0x3482b8._0x539f55)]?.[_0x3938e4(0x2d0,0x325)+'ll']??''},_0x299083!==_0x40c089['CJfsk']&&(_0x1ff6f3=_0x299083);}const _0x3487f5={..._0x2a646d,..._0x404ccc},_0x3c5f63=_0x3487f5;for(const [,_0x4b431e]of Object['entries'](_0x2a646d)){_0x4b431e[_0x3938e4(0x39a,0x371)]!=='completed'&&(_0x1ff6f3=_0x4b431e[_0x37b3b6(-0x7e,-0x106)]);}for(let _0xd73f0c=0xfcf+0xfd+-0x10cc;_0xd73f0c<MAX_RETRIES;_0xd73f0c++){try{const _0x4613d8=new StateFileManager(STATE_FILE_PATH);await _0x4613d8['read']();const _0x1b9de2={};_0x1b9de2[_0x37b3b6(-_0x3482b8._0x1e96a4,-_0x3482b8._0x43bffe)]=_0x838bcd,_0x1b9de2['currentPha'+'se']=_0x1ff6f3;const _0x284e2c={};_0x284e2c[_0x37b3b6(-0xd0,-0x46)]=_0x1b9de2,_0x284e2c[_0x37b3b6(-0xe8,-0x67)]=_0x3c5f63,_0x284e2c[_0x3938e4(_0x3482b8._0x18bb73,0x29d)+_0x37b3b6(-_0x3482b8._0x11ed30,-_0x3482b8._0x210b1f)]=null,await _0x4613d8[_0x37b3b6(-0x7c,_0x3482b8._0x2e07b4)](_0x284e2c);return;}catch(_0x24a9d5){if('dCbML'!=='dslFs'){if(_0x40c089['JaVwN'](_0x24a9d5,Error)&&_0x24a9d5[_0x37b3b6(-_0x3482b8._0x19ad0a,-_0x3482b8._0x256c35)][_0x3938e4(_0x3482b8._0x49832e,_0x3482b8._0x28e92c)](_0x40c089[_0x3938e4(_0x3482b8._0x3ad80f,_0x3482b8._0x2386fe)])&&_0x40c089[_0x3938e4(0x2b9,0x271)](_0xd73f0c,MAX_RETRIES-(0x41e+0xe63+-0x940*0x2))){await new Promise(_0x4c6dd1=>setTimeout(_0x4c6dd1,-0xc7f+0x390*0x7+-0xc3f+Math[_0x3938e4(0x385,0x32a)]()*(-0xe88+-0x1f2*0x2+-0x1*-0x12d0)));continue;}throw _0x24a9d5;}else{if(_0x479898[_0x387e23][_0x3938e4(0x39a,0x3b7)]!==_0x40c089[_0x37b3b6(-_0x3482b8._0xbded34,-0xd1)]){const _0x48398f={..._0x3815d1[_0x349743]};_0x48398f[_0x3938e4(_0x3482b8._0x4fd84b,_0x3482b8._0x1fee52)]=_0x4c6378,_0x25e3fa[_0x1d7884]=_0x48398f;}}}}}export async function analyzeRequirements(_0x730ec6,_0x267865=_0x300e91(0x1e5,0x140),_0x1fbcc5){const _0x2a7810={_0xf03573:0x181,_0x5bcd9b:0x51,_0x3ef9ec:0x14,_0x5b5dc3:0x149,_0x13f468:0x186,_0x3aa23b:0x116,_0x3a823a:0x4,_0x50aa21:0x45,_0x1203a5:0xca,_0x54a6bc:0x62,_0x41d8bc:0x142,_0x13f7ca:0xb7,_0x29e750:0x6,_0x4f62c2:0x123,_0xf2519a:0x11,_0xce468b:0x9e,_0x5e5a4e:0x152,_0x22e403:0x1d3,_0x3bc098:0x258,_0xe328a5:0x5e,_0x4f6734:0x1a3,_0x539756:0xd3,_0x54ce59:0x154},_0x11b570={_0x5d4198:0x25c},_0x3b7b97={};function _0x1734dc(_0x42478b,_0x525c1b){return _0x300e91(_0x525c1b- -0xd5,_0x42478b);}_0x3b7b97[_0x12db61(-_0x2a7810._0xf03573,-0x1b4)]=_0x1734dc(-_0x2a7810._0x5bcd9b,_0x2a7810._0x3ef9ec)+_0x1734dc(-0x4d,-0x57)+_0x12db61(-0x1eb,-0x278)+_0x12db61(-_0x2a7810._0x5b5dc3,-_0x2a7810._0x13f468)+_0x1734dc(0x190,_0x2a7810._0x3aa23b)+'js';function _0x12db61(_0x5676d5,_0x1d6440){return _0x300e91(_0x5676d5- -_0x11b570._0x5d4198,_0x1d6440);}const _0x4028a3=_0x3b7b97;console[_0x1734dc(-_0x2a7810._0x3a823a,_0x2a7810._0x50aa21)](_0x12db61(-0x12f,-0x1dd)),console[_0x1734dc(_0x2a7810._0x1203a5,0x45)]('\x20\x20\x20输入源:\x20'+_0x730ec6),console[_0x12db61(-0x142,-0x167)](_0x12db61(-0x126,-_0x2a7810._0x54a6bc)+_0x267865);if(_0x1fbcc5)console[_0x12db61(-_0x2a7810._0x41d8bc,-0x1a5)](_0x1734dc(0x32,0x7f)+_0x1fbcc5);console[_0x12db61(-0x142,-_0x2a7810._0x13f7ca)]();try{const {createAnalyzeRequirementsTool:_0x22b5e9}=await import(_0x4028a3[_0x1734dc(-0xf,_0x2a7810._0x29e750)]),_0x48b193=_0x22b5e9(process['cwd']()),_0x1eb5de={};_0x1eb5de[_0x12db61(-0x93,-0x3e)]=_0x730ec6,_0x1eb5de[_0x12db61(-_0x2a7810._0x4f62c2,-0x157)]=_0x267865,_0x1eb5de[_0x1734dc(_0x2a7810._0xf2519a,_0x2a7810._0xce468b)]=_0x1fbcc5;const _0x616c27=await _0x48b193[_0x12db61(-_0x2a7810._0x5e5a4e,-0x180)](_0x1eb5de,{'sessionID':'','messageID':'','agent':'engine','directory':process[_0x12db61(-_0x2a7810._0x22e403,-_0x2a7810._0x3bc098)](),'worktree':process['cwd'](),'abort':new AbortController()[_0x1734dc(0x90,_0x2a7810._0xe328a5)],'metadata':()=>{},'ask':async()=>{}});console[_0x12db61(-_0x2a7810._0x41d8bc,-_0x2a7810._0x4f6734)](_0x616c27);}catch(_0x3d69b6){console[_0x12db61(-0xae,-_0x2a7810._0x539756)]('❌\x20需求分析失败:\x20'+(_0x3d69b6 instanceof Error?_0x3d69b6[_0x12db61(-_0x2a7810._0x54ce59,-0xa3)]:String(_0x3d69b6))),process[_0x1734dc(0xeb,0x9c)](0x20da+0x21b6+0x1*-0x428f);}}