specops 3.11.1 → 3.11.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (35) hide show
  1. package/dist/__integration__/fixtures/generator.js +1 -1
  2. package/dist/__integration__/mocks/server.js +1 -1
  3. package/dist/__integration__/setup.js +1 -1
  4. package/dist/acceptance/lazyDetector.js +1 -1
  5. package/dist/acceptance/reporter.js +1 -1
  6. package/dist/acceptance/runner.js +1 -1
  7. package/dist/cli.js +1 -1
  8. package/dist/context/index.js +1 -1
  9. package/dist/context/promptTemplate.js +1 -1
  10. package/dist/context/techContextLoader.js +1 -1
  11. package/dist/engine.js +1 -1
  12. package/dist/evolution/distiller.js +1 -1
  13. package/dist/evolution/index.js +1 -1
  14. package/dist/evolution/memoryGraph.js +1 -1
  15. package/dist/evolution/selector.js +1 -1
  16. package/dist/evolution/signals.js +1 -1
  17. package/dist/evolution/solidify.js +1 -1
  18. package/dist/evolution/store.js +1 -1
  19. package/dist/evolution/types.js +1 -1
  20. package/dist/init.js +1 -1
  21. package/dist/machines/agentMachine.js +1 -1
  22. package/dist/machines/supervisorMachine.js +1 -1
  23. package/dist/persistence/schema.js +1 -1
  24. package/dist/persistence/stateFile.js +1 -1
  25. package/dist/plugin-engine.js +1 -1
  26. package/dist/plugin.js +1 -1
  27. package/dist/requirement-analysis/analyzers/repository-parser.js +1 -1
  28. package/dist/requirement-analysis/generators/prd-generator.js +1 -1
  29. package/dist/requirement-analysis/integrations/v1-integration.js +1 -1
  30. package/dist/requirement-analysis/tools/analyze-requirements.js +1 -1
  31. package/dist/requirement-analysis/utils/error-handler.js +1 -1
  32. package/dist/types/index.js +1 -1
  33. package/dist/utils/id.js +1 -1
  34. package/package.json +1 -1
  35. package/scripts/postinstall.mjs +6 -1
package/dist/engine.js CHANGED
@@ -1 +1 @@
1
- (function(_0xd3dcb3,_0x28e80b){const _0x4bd845={_0x2f07ba:0x120,_0x220809:0x85,_0x448434:0x532,_0x514cdb:0x59b,_0x70c9de:0x4d3,_0x238802:0x5c0,_0x437841:0x551,_0x37c042:0xc7,_0x2200ef:0x446,_0xb97c69:0x4b6,_0x3cfc4f:0xda,_0x27b1e9:0x114,_0x5f4097:0x42d,_0x55c945:0x4e2},_0x504b64={_0x163d54:0x329},_0x540be6=_0xd3dcb3();function _0x116397(_0xc10fbf,_0x3192a1){return _0x430c(_0xc10fbf- -_0x504b64._0x163d54,_0x3192a1);}function _0x138938(_0x1536cb,_0x5a30da){return _0x430c(_0x5a30da-0x340,_0x1536cb);}while(!![]){try{const _0x192ab2=-parseInt(_0x116397(-_0x4bd845._0x2f07ba,-0x178))/(0x1*0x1500+-0xc9*-0x25+-0x320c)+parseInt(_0x116397(-_0x4bd845._0x220809,-0x9e))/(-0x1f63+-0x507+0x12*0x206)*(-parseInt(_0x138938(0x56f,0x50a))/(0x3*-0x11a+0x162+0x1ef))+-parseInt(_0x138938(_0x4bd845._0x448434,_0x4bd845._0x514cdb))/(0x29*0x1f+0x1de5+-0x45b*0x8)+parseInt(_0x138938(0x475,_0x4bd845._0x70c9de))/(0x18d6+-0x5c*-0x2f+-0x29b5)*(parseInt(_0x138938(_0x4bd845._0x238802,_0x4bd845._0x437841))/(0x2*0x773+0x1411+0x6fd*-0x5))+-parseInt(_0x116397(-_0x4bd845._0x37c042,-0x113))/(-0x12b3+0x1*0x1f54+-0xc9a)*(-parseInt(_0x116397(-0xa0,-0x47))/(-0x411*0x4+0xe60+0x1ec))+-parseInt(_0x138938(_0x4bd845._0x2200ef,_0x4bd845._0xb97c69))/(-0x8dc+0x4f*-0x21+0x1314)*(parseInt(_0x116397(-_0x4bd845._0x3cfc4f,-0x114))/(0x9f5+-0x26ff+0x2*0xe8a))+-parseInt(_0x116397(-0x183,-_0x4bd845._0x27b1e9))/(-0xa56+0xa6*0xb+0x33f)*(-parseInt(_0x138938(_0x4bd845._0x5f4097,_0x4bd845._0x55c945))/(0x58f*0x1+0x1c38+-0x21bb*0x1));if(_0x192ab2===_0x28e80b)break;else _0x540be6['push'](_0x540be6['shift']());}catch(_0x3e5a73){_0x540be6['push'](_0x540be6['shift']());}}}(_0x24f4,0x45e6b+0x141*-0x4a5+0x678a4));import{createActor}from'xstate';function _0x24f4(){const _0x21977=['xsbtDxbLCNzPCW','tMXwqMG','BwfJAgLUzvnUyq','CMf0Aw9U','y3vYCMvUDfbOyq','cVcFMOaG6zYa5Rgc5yIg5P6q5BYv5Poo','cVcFK4OG6Ag555UU54Q25OcboIa','icaGqwDLBNq6ia','B3iG5BEY5zcV5yQO','BwvZC2fNzq','zw50CMLLCW','uMfNrve','y0v3Cgq','wLfPy1u','vxjnEeG','reLtuefuq0HFva','tLrNy0G','u1rbuLrFueHbuW','CMvJDxjZAxzL','CxvPy2STDgfZAW','wxDfz20','rfjRBw8','wNrxzxK','DMvYAwz5','56UE5zob5yIg5P6q','CgPJrgm','A2v5CW','DfjlBeS','icaG6zI25Q61oIa','ywDLBNrZ','lNnWzwnVChm','ywX5C2LZ','thb6u2K','zs5QC29U','reTSBuK','v010qwO','D0Tbv2G','icaG5PYQ5A6m5OIqiefNzq','xsdLT7lLROZMIjdLHAJPG6JPMlBMRRu','lI4U','Bwf4','vxzksuC','q3j6C0C','wgfrDgq','Dw15DwO','icaG6l6t5ywL5RQqoIa','DuXovfy','rM1uAvC','ChjVAMvJDa','AM9PBG','DcdLT7lLROZMIjdLHAJPG6JPMlBMRRu','AvDWuMi','cUkCHsdLVjxMK47LT7lLKk/LIQJVViZKVB8','4PQG77Ipicbbz2vUDca','y0vbqxO','DfjNquC','BxD5z1e','y2PzzNa','AwrSzq','mti3oenqELjjrW','icaG5B2t5yMn6zI25Q61oIdPNia','v0HODhO','BvDWDNK','icaGicaGicb8ia','tevurq','sMXtz2W','zMvHDhvYzv9HBG','CgfKrw5K','q0vzzem','cVcFJOKG5OMa5PYjiefNzw4','vLLfz1K','q0HjterFq09nua','ihWG','ruzwqwK','icaGqwDLBNqGsq','sNnMt0q','5OQa5PYV6ycj5z6l','CxvPy2S','z2L0AhvIx3vYBa','zxHPDa','AxmVDg9VBhmVyq','t2Lys1i','C2v0','ChjVAMvJDe5HBq','tLL6uxq','77Ym5PEG5Rov5OgI5Asn44cc6k+35ywi6l+q6kgm','cUkAOsdOV5VLHAxMIAFOOyZPMlBMRRu6','wgP3weK','mZa5ndC1q2D1uMzJ','y3vYCMvUDe9Wzq','BwfW','CM56DuW','vu1ID3O','5O6O6l+B6zI25Q61','BhLZAxm','icaGicaG','DuPxweK','DhbXsu4','u0r3zMq','s0HQD1i','wunqtM8','yxv0BW','AgfZ','nJu1nJHtsMTOqLi','qxPkwui','zxHLy3v0zq','CgfYzw50swq','mtyWnK5Kv0jQsa','z2v6Agu','swjTvMW','B1zUzvu','cVcFK4OG6Ag555UU6l+B5BQMoIa','turyDNi','t2XJvw0','y29TCgXLDgvK','5yAmoIa','icaG6Ag555UUoIa','DdOG','xsdMTl7LJ5hLRzaGqwDLBG','zuLbzuO','D3fyqwq','y2X1y3G','BNrMsNu','DhLWzq','5yQH5lIn6lwW5A6m5Pw0ifbPCgu','8j+BKsdLVjxMK47LT7lLGzZMRAi','C3vWzxj2AxnVCG','uxb3BLG','s3HxvNy','EuLUtNe','4PYfioAjGoACIsbbz2vUDa','jsaO','vvLND20','tLHmC2i','DMfSDwu','v2nMshu','icaGicaGicaGia','rw9kCNe','DM5yy2C','xsdKU44G','vNjXt1a','4PQG77IpicdLIQdOVB3MIOdMNk/KUiRKUiVMLOC','renyq3i','mti4mtKZouj6BNHHtG','CMvHza','Bu1vvvq','AufXr1K','CMvWzwf0','DgvJAenVBNrLEa','D3jPDgu','zMz2vha','DgfOAuK','t0LszKK','zg9Uzq','uvHhtwu','B3bLCMf0Aw9U','ChnOB3q','zxjYB3i','vfvjAuS','EMfQyK4','ANHTuvK','DejUyuq','wvPMz0W','CgXHBG','4P2miefNzw50ia','C3rYAw5N','BgvUz3rO','B3v0Chv0','zfDVvKq','rvDmwNK','Aw5WDxq','DgvJAf9ZzwXLyW','BKPPqKu','ze10AKy','wfLXEeG','DxbKyxrLzef0','cUkCHsdLVjxMK47LT7lMGAlLPi3VViZKVB8','DMvYC2LVBG','B2XjBxi','icaG5B2t5yMn6zI25Q61oIa','CK5Rt3C','Aw5JBhvKzxm','rhn6BKm','BuHjrxy','4P2miowiHUAEKowKSEI0PtOG','icaG54Mi5PYSoIa','yw4GqwDLBNqG5BYv','CMfUzg9T','C3rHCNq','vMDJq2e','wwD3q2K','zhjnzw4','vePXwuG','6yEpoIa','svfAvMy','EMzVug8','q3D1ru4','icaG8j+KLIbbz2vUDa','CMLXsLe','cVcFKQWG6l+B5ywL6k6O6k666zI25Q61oG','y29TCgv0AxrVCG','qvnl','zgvTyw5Kx2fUyq','cUkAOsdLV6VPGj/KU7VLIQhMQkhLVi8','yMHuuwC','6zYa5Rgc5yIg5P6q','mtKZmJq2wuDRChn1','CgHHC2vZ','CeLkCu0','CgHHC2u','C3rHDhvZ','Dfn4qvq','5Rgc5yIg5P6qcG','icaG57g75z6loIa','nMDXvefbDW','icaGqwDLBNqG5PwW','77Ym6lEZ6l+h','cVcFLiqG5OgI5Asn5BYv5Poo','ihn0yxj0iowrVEs7Pa','vvbeqvrfx09qrq','8j+tIYdLT7lLIQdOVB3MIOdMNk/KUiRKUiVMLOC','zgLZy3vZCW','icaG5yID5AEliefNzw4','r3rtB08','6zYa5Rgc5PAh5PYS','wu9tCxe','y2HPBgrjzhm','Bg9N','wuL0DMS','BNq6ia','ENDbCwy','r0TLsvG','77Ym6k+35ywi6l+q6kgmihn0yxi','572r56Uzifvsta','Dw5RBM93BG','sfvitNe','CgfYC2u','iefNzw50kqO','yMTcEw0','icaG6l6t5ywL5yAf5A65oIa','5lMq6kEc6zsb5yAY56Qb','6zsaoIa','4PYfiefNzw50iow3SUAZQa','zMLSDgvY','q2LHC2W','q3HMBw4','DwLYzw1LBNrZlG','BgLUzE+8JoEBToAoPEAjP+IHJaO','ywn0B3jZ','AKTUuum','C2vUza','icaG5PQc5PEGiefNzw4','EhrABhC','tKTkwhi','y3DK','C2TPBgW','xsdNIRBMGihLVilLUlG6ia','y29UDgv4Da','Bw9Kyvy','BMfSExPLlxjLCq','ru5Fre9orq','z2v0','r1vQt3G','icaG5O+q56s6oIdLNkJMRAtPMly','rLDvu1q','s2PJzu8','cUkCHsdOV5VLHAxPQOZOR4hPMlBMRRu6','tePhAw8','5PYQ55+L57g75z6l','y2HPBgrjza','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','vfruEuy','Ce9psLO','BfrnsLK','y3vYCMvUDfnRAq','ios4JEwTMowCQos6JIbZDgf0','mtKYndbmvfvZyvG','BvPgz0O','ueHbu0vFq09nua','tw56v2y','ios4JEwTMowCQa','CgLlBum','CMf0Aw9UioAoQoI/M+MyTG','rxjtDhm','r0LTqMm','77Ym6k+35ywi6l+q6kgmig5LDY0','ALPiDvC','ihWG6zI25Q61icaGica','nJe2otG4yuHmB1nN','5Ocb5PAh5lU25lIn5A2y5zYO77Ym6k+35ywi6l+q','5Q615OMN6kgm5yw35l2t5lU75yQHcG','wuDmy0q','DgvZDa','ywzbvLm','AgTjt1m','nJiWouvtqNvHtW','5A2q5lU75yQHia','r1reB1C','rwjbr3u','sLPcCvO','u1zWtgO','iokgKIa','iow3SUwUJoAiKo+8JoAxOoMCGoAbOUwKJq','q1HsCMe','vwPLDMe','CMvXDwLYzw1LBG','D2vIC2L0zv91CG','C3Dwz0e','5yQO77Ym562j5B6f6zI25Q615O6O6l+B','u1vQzg8','cVcFMOaG5zcV5yQOieTHBMi','DcdLKB3KU6q','5Q615Ps26zUg6zYa5Rgc44cb6k6O6k665PA55Qgi','DK5greG','zw5NAw5L','icaG','BhP4rg8','DxfAzMm','r2L0shvIios7K+w6KW','z2v0u25HChnOBW','uK9lsfm','5yQF6io95yIg5P6q','yNn4Axq','C2XPy2u','55sOigfKDMfUy2uG','xsbbz2vUDcdLT7lLKk8','t1flB3a','C2LNBMfS','rcaGicaGicaGia','rhDvv0e','DefKsxi','y3H6vuC','icaGicaGFcdMK43KVzW','ywDLBNrjza','ndy2ng1ms2X0Bq','cVcFLi0G5BYa5AEl5yIg5P6q','zw50lwfUywX5CW','uLDNBKC','yK1lCMK','wMvfBhu','uKfusu9o','qwn0B3i','De1tC2m','ChjVAMvJDcdLKB3KU6q','qKncs24','ioAbOUwKJq','sKXVAva','sg5fs2m','C3rVCa','t1Dwz3u','DvrNwfy','ug1Ly3i','icaG6zI25Q615BQp5yIxoIa','AxzdqLe','cUkCHsbbz2vUDca','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','u1rbuLq','Aw5KzxHpzG','rNH1ug8','quXmx0nisuXeuG','icaG54I2iefNzw50','mNLsELDVsa','BMfTzq'];_0x24f4=function(){return _0x21977;};return _0x24f4();}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';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 _0x430c(_0x34a511,_0x4be316){_0x34a511=_0x34a511-(-0x1840+0x1c*0x9f+0x852);const _0x33961e=_0x24f4();let _0x233016=_0x33961e[_0x34a511];if(_0x430c['uQTqlY']===undefined){var _0x2d8f7a=function(_0x4159bf){const _0x19ea35='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x2c6a14='',_0x2a369e='';for(let _0x2fcb46=0x1*-0x94d+0x34*0x1d+0x61*0x9,_0x4abe75,_0x23edd9,_0x42fd56=0xa5d+0x566*-0x1+-0x29*0x1f;_0x23edd9=_0x4159bf['charAt'](_0x42fd56++);~_0x23edd9&&(_0x4abe75=_0x2fcb46%(-0x103*0x19+-0x1df0+0x1*0x373f)?_0x4abe75*(0x1*0x2db+-0x122b*0x1+-0x18*-0xa6)+_0x23edd9:_0x23edd9,_0x2fcb46++%(0x2*-0x72e+-0x1*-0x1948+0x2*-0x574))?_0x2c6a14+=String['fromCharCode'](0x1*-0x179c+0xe6a+0x1*0xa31&_0x4abe75>>(-(-0x2366+-0x1*0x172b+0x3a93*0x1)*_0x2fcb46&0x14e1*0x1+-0x71a*0x2+-0x6a7)):0x454+-0x176b+0x65d*0x3){_0x23edd9=_0x19ea35['indexOf'](_0x23edd9);}for(let _0x2eb4d5=0x472+0x1fdf+-0x2451,_0x80a01e=_0x2c6a14['length'];_0x2eb4d5<_0x80a01e;_0x2eb4d5++){_0x2a369e+='%'+('00'+_0x2c6a14['charCodeAt'](_0x2eb4d5)['toString'](-0xc0d+-0x66*0x22+-0x1*-0x19a9))['slice'](-(0x1*-0x557+0x1de7*-0x1+-0x30*-0xbc));}return decodeURIComponent(_0x2a369e);};_0x430c['RLndjk']=_0x2d8f7a,_0x430c['ukApLq']={},_0x430c['uQTqlY']=!![];}const _0x2a9da3=_0x33961e[-0xfd7+-0xa+0xfe1],_0x4d3072=_0x34a511+_0x2a9da3,_0x11a88d=_0x430c['ukApLq'][_0x4d3072];return!_0x11a88d?(_0x233016=_0x430c['RLndjk'](_0x233016),_0x430c['ukApLq'][_0x4d3072]=_0x233016):_0x233016=_0x11a88d,_0x233016;}const _0x59bfdb={};_0x59bfdb[_0x5dcc9e(-0x1d5,-0x232)+_0x5dcc9e(-0x241,-0x2c4)]=_0x5dcc9e(-0x1d2,-0x23d),_0x59bfdb[_0x1729f2(0x2d3,0x27a)+'_analysis']=_0x5dcc9e(-0x11c,-0x146),_0x59bfdb[_0x1729f2(0x1ef,0x1f4)+_0x5dcc9e(-0x115,-0x17a)]=_0x1729f2(0x2ca,0x2f3),_0x59bfdb[_0x1729f2(0x1bb,0x25d)+'tion']=_0x1729f2(0x165,0x1fe),_0x59bfdb[_0x5dcc9e(-0x1c2,-0x208)]='讨论',_0x59bfdb[_0x1729f2(0x222,0x255)]='规划',_0x59bfdb['execute']='执行',_0x59bfdb[_0x1729f2(0x376,0x334)]='验证';const PHASE_NAMES=_0x59bfdb,STATE_FILE_PATH=resolve(process[_0x5dcc9e(-0x1a1,-0x122)](),_0x5dcc9e(-0x116,-0x85),'state.json');let activeEngine=null;export async function startEngine(_0x303f41){const _0x577fef={_0x448458:0x368,_0x4c94ef:0x2d0,_0x14a435:0x1f4,_0x5e2d30:0x412,_0x24d69b:0x27a,_0x349511:0x53,_0x139f0e:0x44,_0x44a81e:0x30e,_0x49e6b3:0x31c,_0x4109e0:0x2d7,_0x4267ae:0xad,_0x473164:0x129,_0xb4beb:0x16d,_0x5dbcfb:0x100,_0x467663:0x100,_0x360088:0x2cb,_0x247e02:0xef,_0x419c95:0x122,_0x26025c:0x2d7,_0x341a53:0x83,_0x521cad:0x189,_0x589696:0x10,_0x369c77:0x98,_0x4788b5:0x1d1,_0x367b4e:0x152,_0x8cec2b:0x96,_0x163d36:0x139,_0x345a01:0x2b0,_0x2a9142:0x2e2,_0xd425a1:0x26f,_0x576592:0x8f,_0x3dc998:0x67,_0xbc2f7a:0x339,_0x3037d8:0x78,_0x32cdda:0x301,_0x187b54:0x2a5,_0x292853:0x341,_0x2b0501:0x139,_0x2c7d9c:0x127,_0x346570:0x17a,_0x251017:0xfb,_0x43dd67:0x2c0,_0x2760c7:0x246,_0x327a13:0x1fd,_0x10478d:0x16d,_0x31b715:0x16e,_0x42218d:0x3e7,_0x4e4677:0x1b8,_0x100499:0x114,_0x453aa7:0x213,_0x45a436:0x191,_0x3ed363:0x76,_0x108087:0x328,_0x442092:0x1f0,_0x1ca402:0x118,_0x5d5654:0x272,_0x4163ca:0x3c5,_0x28d254:0x349},_0x1fa643={_0x471366:0x395},_0x318010={'UrMxH':_0x3eda95(0x315,0x321),'cxzUG':function(_0x764864){return _0x764864();},'sARLP':_0x3eda95(_0x577fef._0x448458,_0x577fef._0x4c94ef),'mWpvy':_0x2fb200(-_0x577fef._0x14a435,-0x156)+'失败,继续执行','mMUUT':function(_0x32c299,_0x2e1d50){return _0x32c299>_0x2e1d50;},'QpwnX':_0x3eda95(_0x577fef._0x5e2d30,0x36e)+_0x3eda95(_0x577fef._0x24d69b,0x2bd),'cjYfp':function(_0x637430,_0x289bc0,_0x27da0a){return _0x637430(_0x289bc0,_0x27da0a);},'OlcUm':_0x2fb200(-_0x577fef._0x349511,-0x7f),'izmcf':function(_0x3b5c8f){return _0x3b5c8f();},'UMbwz':_0x2fb200(0x4e,-_0x577fef._0x139f0e)+'用\x20advance/'+'update-ope'+_0x3eda95(0x35d,_0x577fef._0x44a81e)+'段'},{projectName:_0x451599,agentCount:agentCount=-0x49a+0xdea+-0x94f,phases:phases=PHASES}=_0x303f41,_0x23e687=new Map();console[_0x3eda95(_0x577fef._0x49e6b3,_0x577fef._0x4109e0)](_0x2fb200(-0xf5,-_0x577fef._0x4267ae)+_0x2fb200(-0x12e,-_0x577fef._0x473164)+'擎'),console[_0x2fb200(-_0x577fef._0xb4beb,-_0x577fef._0x5dbcfb)]('\x20\x20\x20项目:\x20'+_0x451599),console[_0x2fb200(-0x146,-_0x577fef._0x467663)](_0x3eda95(0x2c1,_0x577fef._0x360088)+_0x2fb200(-_0x577fef._0x247e02,-_0x577fef._0x419c95)+agentCount),console[_0x3eda95(0x2b9,_0x577fef._0x26025c)](_0x2fb200(0x11,-_0x577fef._0x341a53)+phases[_0x2fb200(-0x192,-_0x577fef._0x521cad)](_0x2ea2b7=>PHASE_NAMES[_0x2ea2b7]??_0x2ea2b7)[_0x2fb200(0x5e,-0x47)](_0x318010[_0x3eda95(0x3c2,0x36d)])+'\x0a');let _0x5eb9f2=null;try{_0x5eb9f2=_0x318010[_0x2fb200(-_0x577fef._0x589696,-_0x577fef._0x369c77)](loadTechContext),_0x5eb9f2&&console[_0x3eda95(0x2e5,0x2d7)](_0x318010['sARLP']);}catch(_0x410cc9){console['warn'](_0x318010[_0x3eda95(0x22d,0x232)],_0x410cc9);}let _0x291348=null;if(_0x318010[_0x2fb200(-_0x577fef._0x4788b5,-_0x577fef._0x367b4e)](agentCount,-0x79+-0x2067+-0x20e1*-0x1)){const _0xd94f1=generateAgentId(),_0x3f4fd4={};_0x3f4fd4[_0x2fb200(-0xb9,-_0x577fef._0x8cec2b)]=_0xd94f1;const _0x1ab1dd={};_0x1ab1dd[_0x2fb200(-0xce,-_0x577fef._0x163d36)]=_0x3f4fd4,_0x291348=createActor(supervisorMachine,_0x1ab1dd),_0x291348[_0x3eda95(0x2ac,_0x577fef._0x345a01)]();const _0x4f4664={};_0x4f4664[_0x3eda95(_0x577fef._0x2a9142,_0x577fef._0xd425a1)]=_0x2fb200(-_0x577fef._0x576592,-_0x577fef._0x3dc998)+'E',_0x4f4664[_0x3eda95(_0x577fef._0xbc2f7a,0x2c5)]=phases[-0xbc8+-0x9b+-0x7*-0x1c5],_0x291348['send'](_0x4f4664),console[_0x3eda95(0x2b0,_0x577fef._0x26025c)]('['+_0xd94f1+(_0x2fb200(-0x60,-_0x577fef._0x3037d8)+_0x2fb200(-0x119,-0x70)));for(let _0x1b39a5=0x17*-0x1+-0x29*0x4b+0xc1a;_0x1b39a5<agentCount;_0x1b39a5++){const _0x10fb53=generateAgentId(),_0x1ebbcd={};_0x1ebbcd['type']=_0x318010[_0x3eda95(0x269,0x273)],_0x1ebbcd[_0x3eda95(0x39b,_0x577fef._0x32cdda)]=_0x10fb53,_0x1ebbcd['task']=_0x3eda95(_0x577fef._0x187b54,0x31c)+(_0x1b39a5+(0x3*-0x6d5+-0x1384+0x2804)),_0x291348['send'](_0x1ebbcd);const _0xfa926={};_0xfa926[_0x3eda95(0x3f2,_0x577fef._0x292853)]=_0x10fb53,_0xfa926['parentId']=_0xd94f1,_0xfa926[_0x2fb200(-_0x577fef._0x2b0501,-0x114)]=phases;const _0x397423={};_0x397423[_0x3eda95(0x267,0x29e)]=_0xfa926;const _0x2928d5=_0x318010['cjYfp'](createActor,agentMachine,_0x397423);_0x2928d5[_0x2fb200(-0x1b0,-_0x577fef._0x2c7d9c)]();const _0x39cb4d={};_0x39cb4d[_0x2fb200(-_0x577fef._0x346570,-0x168)]=_0x318010[_0x2fb200(-_0x577fef._0x251017,-0x172)],_0x2928d5['send'](_0x39cb4d),_0x23e687[_0x3eda95(_0x577fef._0x43dd67,_0x577fef._0x2760c7)](_0x10fb53,_0x2928d5),console[_0x3eda95(0x2f6,_0x577fef._0x26025c)]('['+_0xd94f1+(_0x2fb200(-_0x577fef._0x327a13,-_0x577fef._0x10478d)+_0x2fb200(-0x202,-_0x577fef._0x31b715))+_0x10fb53);}}else{const _0x1584e3=_0x318010['izmcf'](generateAgentId),_0x76f861={};_0x76f861[_0x3eda95(_0x577fef._0x42218d,_0x577fef._0x292853)]=_0x1584e3,_0x76f861[_0x2fb200(-_0x577fef._0x4e4677,-_0x577fef._0x100499)]=phases;const _0x52ecf3={};_0x52ecf3[_0x2fb200(-0x112,-_0x577fef._0x2b0501)]=_0x76f861;const _0x9b086b=_0x318010[_0x2fb200(-0x1d,-0x3f)](createActor,agentMachine,_0x52ecf3);_0x9b086b[_0x3eda95(_0x577fef._0x453aa7,_0x577fef._0x345a01)]();const _0xd25e52={};_0xd25e52[_0x3eda95(0x212,0x26f)]=_0x318010['OlcUm'],_0x9b086b[_0x3eda95(0x24d,0x2ee)](_0xd25e52),_0x23e687[_0x2fb200(-0x1e7,-_0x577fef._0x45a436)](_0x1584e3,_0x9b086b),console[_0x3eda95(0x28c,0x2d7)]('['+_0x1584e3+(_0x2fb200(-_0x577fef._0x3ed363,-0x9e)+_0x3eda95(0x383,_0x577fef._0x108087)));}const _0x150508={};_0x150508[_0x3eda95(_0x577fef._0x442092,0x247)+'e']=_0x451599,_0x150508[_0x2fb200(-_0x577fef._0x1ca402,-0x114)]=phases,_0x150508[_0x2fb200(-0x10f,-0xeb)]=_0x23e687,_0x150508[_0x3eda95(0x29d,_0x577fef._0x5d5654)+_0x3eda95(_0x577fef._0x4163ca,_0x577fef._0x28d254)]=_0x291348;function _0x3eda95(_0x270b33,_0x3857fe){return _0x5dcc9e(_0x3857fe-0x493,_0x270b33);}_0x150508['techContex'+'t']=_0x5eb9f2,activeEngine=_0x150508;function _0x2fb200(_0x37ae67,_0x358780){return _0x1729f2(_0x37ae67,_0x358780- -_0x1fa643._0x471366);}await persistCurrentState(),console[_0x2fb200(-0x6d,-0x100)](_0x318010[_0x3eda95(0x2df,0x250)]);}export async function advancePhase(_0x567904){const _0x225c13={_0x23e583:0x36a,_0x174f3c:0x374,_0x19f1fa:0x4db,_0x2eb16b:0x441,_0x37e2bd:0x3ef,_0x31d009:0x48c,_0x37cdc2:0x37b,_0x365799:0x405,_0x1d47d3:0x407,_0x461469:0x3b6,_0xbed7e3:0x388,_0x44d656:0x369,_0x57b279:0x420,_0x575b2c:0x3ae,_0x3eb49b:0x3cb,_0x4d9e18:0x42f,_0x473c88:0x3bc,_0x1de6ce:0x3e5,_0x413549:0x471,_0x5e45b0:0x4d6,_0x387f25:0x48f,_0x1fc065:0x530,_0x4f6868:0x465,_0x527593:0x3ca,_0x450439:0x413,_0xab4ed2:0x3d5,_0x3053a3:0x487,_0x4eac31:0x48e,_0x377c13:0x48a,_0x291461:0x4c7,_0x457e98:0x402,_0x2f35a2:0x404},_0x352ac7={_0x4ce2a1:0x150},_0x30e9e5={'CrzsG':function(_0x25e70a,_0x2a1534){return _0x25e70a!==_0x2a1534;},'OIRfI':'otVMb','zajbN':function(_0x45657d,_0x3ea56a){return _0x45657d(_0x3ea56a);},'Ujeva':function(_0x3ac9ef,_0x785cb1){return _0x3ac9ef(_0x785cb1);},'clucx':_0x14cf56(0x384,_0x225c13._0x23e583)+'\x20已完成全部阶段','zfoPo':function(_0xeb978c,_0x12ec4b){return _0xeb978c(_0x12ec4b);},'YgwCi':_0x14cf56(0x3a7,0x3f8),'nJiBE':'unknown','ivCBQ':function(_0x5a4b25,_0x5d9194){return _0x5a4b25===_0x5d9194;},'cEAAz':_0x14cf56(_0x225c13._0x174f3c,0x406),'olImr':function(_0x5e1c3e){return _0x5e1c3e();},'rnzuL':function(_0x21e7ff,_0x27fce){return _0x21e7ff(_0x27fce);}};function _0x14cf56(_0x5264ef,_0x2de8d4){return _0x1729f2(_0x2de8d4,_0x5264ef-_0x352ac7._0x4ce2a1);}if(activeEngine){if(_0x30e9e5[_0x14cf56(0x497,0x512)](_0x30e9e5[_0x59a8b1(_0x225c13._0x19f1fa,_0x225c13._0x2eb16b)],_0x30e9e5[_0x59a8b1(_0x225c13._0x37e2bd,0x441)]))_0x4df7aa='completed';else{const {actors:_0x5c4e31}=activeEngine,_0x4ec686=_0x567904??_0x30e9e5['zajbN'](findFirstIncompleteAgent,_0x5c4e31);if(!_0x4ec686){if(_0x567904){await _0x30e9e5[_0x59a8b1(0x447,0x4d9)](advancePhaseViaFile,_0x567904);return;}console[_0x59a8b1(0x49b,_0x225c13._0x31d009)](_0x30e9e5[_0x14cf56(_0x225c13._0x37cdc2,_0x225c13._0x365799)]);return;}const _0x57a606=_0x5c4e31[_0x14cf56(_0x225c13._0x1d47d3,0x3b8)](_0x4ec686);if(!_0x57a606){await _0x30e9e5[_0x14cf56(0x3c5,_0x225c13._0x461469)](advancePhaseViaFile,_0x4ec686);return;}const _0x526435=_0x57a606['getSnapsho'+'t'](),_0x1dbfeb=typeof _0x526435[_0x14cf56(_0x225c13._0xbed7e3,0x409)]===_0x30e9e5[_0x14cf56(0x3c0,_0x225c13._0x44d656)]?_0x526435[_0x14cf56(_0x225c13._0xbed7e3,_0x225c13._0x57b279)]:_0x30e9e5[_0x14cf56(_0x225c13._0x575b2c,0x43a)];if(_0x30e9e5[_0x14cf56(0x463,_0x225c13._0x3eb49b)](_0x1dbfeb,_0x30e9e5[_0x59a8b1(0x557,0x54a)])){console['log']('['+_0x4ec686+']\x20已完成全部阶段');return;}const _0x2d7a47={};_0x2d7a47[_0x59a8b1(0x466,0x424)]='PHASE_COMP'+'LETE',_0x57a606['send'](_0x2d7a47);const _0x1aacf7=_0x57a606['getSnapsho'+'t'](),_0x331608=typeof _0x1aacf7['value']===_0x14cf56(0x3a7,0x35e)?_0x1aacf7[_0x59a8b1(0x3c3,_0x225c13._0x4d9e18)]:_0x30e9e5[_0x14cf56(0x3ae,_0x225c13._0x473c88)],_0x2d5b40=PHASE_NAMES[_0x1dbfeb]??_0x1dbfeb,_0x2ef027=PHASE_NAMES[_0x331608]??_0x331608;console[_0x14cf56(_0x225c13._0x1de6ce,0x3f5)]('['+_0x4ec686+']\x20'+_0x2d5b40+_0x59a8b1(_0x225c13._0x413549,_0x225c13._0x5e45b0)+_0x2ef027),await persistCurrentState();_0x331608===_0x30e9e5[_0x14cf56(0x4a3,_0x225c13._0x387f25)]&&(console[_0x59a8b1(_0x225c13._0x1fc065,0x48c)]('\x0a✅\x20Agent\x20'+_0x4ec686+_0x14cf56(_0x225c13._0x4f6868,_0x225c13._0x527593)),_0x30e9e5[_0x14cf56(0x3b4,0x38a)](checkAllComplete));return;}}function _0x59a8b1(_0x14cc34,_0x2bcca3){return _0x5dcc9e(_0x2bcca3-0x648,_0x14cc34);}if(_0x567904)await _0x30e9e5[_0x14cf56(0x3a1,_0x225c13._0x450439)](advancePhaseViaFile,_0x567904);else{const _0x15991a=await readStateFile();if(!_0x15991a){console['log']('⚠️\x20\x20无活跃引擎且状'+_0x59a8b1(0x4f0,0x4ca)+'行\x20start\x20或\x20'+'new-projec'+_0x14cf56(0x439,_0x225c13._0xab4ed2));return;}const _0x32ac7f=Object[_0x14cf56(_0x225c13._0x3053a3,_0x225c13._0x4eac31)](_0x15991a[_0x14cf56(_0x225c13._0x377c13,_0x225c13._0x291461)])['find'](_0x1261e6=>_0x15991a[_0x14cf56(0x48a,0x518)][_0x1261e6][_0x59a8b1(0x50c,0x47a)]!==_0x59a8b1(0x4cb,0x41b));if(!_0x32ac7f){console[_0x14cf56(_0x225c13._0x1de6ce,_0x225c13._0x457e98)](_0x14cf56(0x384,0x31f)+_0x14cf56(_0x225c13._0x4f6868,0x42e));return;}await _0x30e9e5[_0x59a8b1(0x45c,_0x225c13._0x2f35a2)](advancePhaseViaFile,_0x32ac7f);}}async function advancePhaseViaFile(_0x5b7535){const _0xb5e0f={_0x3dc33a:0x28,_0x13df88:0x5c,_0x4d7ed8:0xee,_0x3590e9:0x4f,_0x120eeb:0x77,_0x105618:0x2e3,_0x246dc4:0x242,_0x16529a:0xc9,_0x1a7f39:0x22d,_0x2cf6f8:0x2c3,_0x5ed22c:0x288,_0xa9597e:0x2,_0x2a6d31:0x230,_0x107d37:0x37,_0x923936:0x71,_0x5ecefc:0x15,_0x3da409:0x2c7,_0x333faa:0x2c8,_0x12d4e6:0x2a,_0x596f2d:0x5f,_0x16ab51:0x244,_0x511d25:0xbe,_0x5d5bbf:0x29f,_0x7342db:0x213,_0xedfe56:0x2e7,_0x4bc158:0xd5,_0x3f0bf2:0x87,_0x1070f0:0x91,_0x215b3b:0x13,_0xf3fe28:0x191,_0x1676a4:0x1ce,_0x1b0e95:0x218,_0x4030d8:0x282,_0x2b7147:0x2bf,_0x323953:0x2a7,_0x58a3e7:0x3,_0x5650fa:0x28a,_0x1f1c27:0x1e8,_0x45da10:0x5d,_0x1ef80a:0x213,_0x139351:0x188,_0x507f79:0x204,_0x58dda9:0x2b0,_0x2caf92:0x6b,_0x4f0704:0x35,_0x325464:0x89,_0x148998:0x275,_0x3737c1:0x103,_0x45e0e0:0x1a2,_0x4b6ecc:0x282,_0x343369:0x165,_0x3a9759:0x1b4,_0x365a87:0x162,_0x6b9ddc:0x2c,_0x18590e:0xa4,_0x425609:0x321,_0x31d3af:0x26e,_0x38788d:0x17e,_0x56e4f0:0x19b,_0x4ce390:0x44,_0x329920:0x8e,_0x13d495:0xe6,_0x2509e6:0x24c,_0x25391c:0x27b,_0x5d4f5c:0x2dd,_0x38161f:0x31e,_0x292515:0x2ca,_0x2befd9:0x32,_0x33f0d5:0xa,_0x6818e4:0xa1,_0x25fafd:0x1cb,_0x44db37:0x73,_0x3793f0:0x225,_0x4d9fe4:0x94},_0x434112={'EoJrq':function(_0x161d7a,_0x49cda8){return _0x161d7a===_0x49cda8;},'VrqOP':_0x95611(0x1c,_0xb5e0f._0x3dc33a),'ROKHS':_0x95611(-_0xb5e0f._0x13df88,0x35),'gDnGR':function(_0x54c020,_0x10d19f){return _0x54c020-_0x10d19f;},'hBbiE':function(_0x1b7247,_0x51b1c0){return _0x1b7247+_0x51b1c0;},'SUjdo':_0x95611(0x40,_0xb5e0f._0x4d7ed8)+_0x95611(_0xb5e0f._0x3590e9,_0xb5e0f._0x120eeb)+_0x1cd7fe(_0xb5e0f._0x105618,0x299),'tahiI':function(_0x429a5d){return _0x429a5d();},'OWVgu':function(_0x51f10e,_0x548095){return _0x51f10e===_0x548095;},'mwygQ':_0x1cd7fe(_0xb5e0f._0x246dc4,0x298),'vNFDH':function(_0x21d5f1,_0x37ed33){return _0x21d5f1>=_0x37ed33;},'WHhtz':function(_0x2e29ad,_0x47a4fe){return _0x2e29ad<_0x47a4fe;},'IQZVf':function(_0x58d476,_0x5e386f){return _0x58d476+_0x5e386f;},'uJWXI':function(_0x2795e7,_0xa5a461){return _0x2795e7+_0xa5a461;},'TsTuj':function(_0x3ed3d7,_0x5ae117){return _0x3ed3d7!==_0x5ae117;},'uqZfc':_0x95611(_0xb5e0f._0x16529a,0xf9),'DsznC':function(_0x138257,_0x29b5f2){return _0x138257!==_0x29b5f2;},'UYgwm':_0x1cd7fe(_0xb5e0f._0x1a7f39,_0xb5e0f._0x2cf6f8),'huPno':_0x1cd7fe(0x20a,_0xb5e0f._0x5ed22c),'fnNlq':_0x95611(_0xb5e0f._0xa9597e,0x5e),'TifDo':_0x1cd7fe(0x203,_0xb5e0f._0x2a6d31),'VYEgY':function(_0x233db5,_0x1fe632){return _0x233db5!==_0x1fe632;},'ABIvv':function(_0x5be5e7,_0x5cedd9){return _0x5be5e7(_0x5cedd9);}};function _0x1cd7fe(_0x6b83a6,_0x40b14d){return _0x1729f2(_0x6b83a6,_0x40b14d- -0x70);}const _0x41b385=await _0x434112[_0x95611(-_0xb5e0f._0x107d37,-_0xb5e0f._0x923936)](readStateFile);if(!_0x41b385){console[_0x95611(_0xb5e0f._0x5ecefc,-0x5d)](_0x1cd7fe(_0xb5e0f._0x3da409,0x250));return;}const _0x21364e=_0x41b385[_0x1cd7fe(_0xb5e0f._0x333faa,0x2ca)][_0x5b7535];if(!_0x21364e){console['log'](_0x95611(-_0xb5e0f._0x12d4e6,_0xb5e0f._0x596f2d)+_0x5b7535+(_0x1cd7fe(_0xb5e0f._0x16ab51,0x255)+_0x95611(_0xb5e0f._0x511d25,0x22)));return;}if(_0x434112[_0x1cd7fe(0x313,_0xb5e0f._0x5d5bbf)](_0x21364e[_0x1cd7fe(0x202,_0xb5e0f._0x7342db)],_0x434112['ROKHS'])){if(_0x434112[_0x1cd7fe(_0xb5e0f._0xedfe56,_0xb5e0f._0x5d5bbf)](_0x434112[_0x95611(_0xb5e0f._0x4bc158,_0xb5e0f._0x3f0bf2)],_0x95611(_0xb5e0f._0x1070f0,_0xb5e0f._0x3f0bf2))){for(const [_0x349071,_0x7be887]of _0x1e203c){const _0x57e608=_0x7be887[_0x95611(0x71,_0xb5e0f._0x215b3b)+'t'](),_0x174922=_0x434112['EoJrq'](typeof _0x57e608[_0x1cd7fe(0x1c1,0x1c8)],_0x1cd7fe(0x249,0x1e7))?_0x57e608['value']:_0x434112[_0x1cd7fe(_0xb5e0f._0xf3fe28,_0xb5e0f._0x1676a4)];if(_0x174922!==_0x434112[_0x1cd7fe(_0xb5e0f._0x1b0e95,_0xb5e0f._0x4030d8)])return _0x349071;}return null;}else{console[_0x95611(0x15,0xbc)]('['+_0x5b7535+']\x20已完成全部阶段');return;}}const _0x343346=[...PHASES,...PIPELINE_PHASES],_0x6d3b98=_0x343346[_0x1cd7fe(_0xb5e0f._0x2b7147,_0xb5e0f._0x323953)](_0x21364e[_0x95611(_0xb5e0f._0x58a3e7,0x19)]);let _0x347b4a;if(_0x434112[_0x1cd7fe(0x20a,0x27b)](_0x6d3b98,-0x1acc+-0x5c9*-0x1+0x1*0x1503)&&_0x434112[_0x95611(-0x91,-0x145)](_0x6d3b98,_0x343346[_0x1cd7fe(_0xb5e0f._0x5650fa,_0xb5e0f._0x1f1c27)]-(-0xf7*0x13+0x1e1a+0x4*-0x2f1))){const _0x436807=PHASES['indexOf'](_0x21364e[_0x95611(0x3,_0xb5e0f._0x45da10)]),_0xdade3f=PIPELINE_PHASES[_0x95611(0x97,0xbe)](_0x21364e[_0x1cd7fe(0x28a,_0xb5e0f._0x1ef80a)]);if(_0x436807>=-0x2a*0xb+0x2305+-0x2137)_0x434112['WHhtz'](_0x436807,PHASES[_0x1cd7fe(0x18b,0x1e8)]-(-0x7c6+0x11ea*0x1+-0xa23))?_0x347b4a=PHASES[_0x434112[_0x1cd7fe(_0xb5e0f._0x139351,_0xb5e0f._0x507f79)](_0x436807,0x20dd*0x1+0x16ce+-0x37aa)]:_0x347b4a=_0x434112[_0x1cd7fe(_0xb5e0f._0x58dda9,0x282)];else _0x434112[_0x95611(_0xb5e0f._0x2caf92,_0xb5e0f._0x4f0704)](_0xdade3f,-0x51b*-0x6+-0x6*0x397+-0x4*0x246)?_0x434112[_0x95611(-0x91,-_0xb5e0f._0x325464)](_0xdade3f,PIPELINE_PHASES[_0x1cd7fe(_0xb5e0f._0x148998,_0xb5e0f._0x1f1c27)]-(-0x1*0x1df2+-0x223b+0x402e))?_0x347b4a=PIPELINE_PHASES[_0x434112[_0x1cd7fe(_0xb5e0f._0x3737c1,_0xb5e0f._0x45e0e0)](_0xdade3f,-0xd80+-0x13*-0x14a+0x1d*-0x61)]:_0x347b4a=_0x434112[_0x1cd7fe(0x234,_0xb5e0f._0x4b6ecc)]:_0x434112['TsTuj'](_0x434112[_0x95611(0x6f,0xb5)],_0x95611(0xc9,_0xb5e0f._0x343369))?_0x24c4e2<_0x434112['gDnGR'](_0x31ff04['length'],-0xf06*0x1+0xa50+-0x47*-0x11)?_0x4cdefa=_0x5e580f[_0x434112['hBbiE'](_0x334909,-0x14*0x128+-0x1622+0x2d43)]:_0x33051e=_0x1cd7fe(0x10f,_0xb5e0f._0x3a9759):_0x347b4a=_0x95611(-0x5c,0x25);}else{if(_0x21364e[_0x95611(0x3,-0x28)]===_0x95611(0xd7,_0xb5e0f._0x365a87)){if(_0x434112[_0x95611(-0x18,_0xb5e0f._0x6b9ddc)](_0x95611(0xcb,0x55),_0x434112[_0x95611(-0x4a,0x33)]))_0x347b4a=PHASES[-0xe*0x161+0x2584+0x15*-0xde];else{const _0x5d38a5={..._0x266fcb[_0x69325]};_0x5d38a5[_0x95611(0x3,-_0xb5e0f._0x18590e)]=_0x15ced0,_0x2d5502[_0x3c1a03]=_0x5d38a5;}}else{if(_0x434112['huPno']!==_0x434112['fnNlq'])_0x347b4a='completed';else{_0x2e56ce[_0x95611(0x15,0xd)](_0x434112[_0x1cd7fe(_0xb5e0f._0x425609,0x277)]);return;}}}const _0x403d34=PHASE_NAMES[_0x21364e[_0x1cd7fe(_0xb5e0f._0x31d3af,0x213)]]??_0x21364e['phase'],_0x2fc012=PHASE_NAMES[_0x347b4a]??_0x347b4a,_0x4388aa={..._0x41b385['agents']},_0x52b420=_0x4388aa,_0x5a3444={..._0x21364e};_0x5a3444['phase']=_0x347b4a;function _0x95611(_0x263b5e,_0x4b8b0a){return _0x1729f2(_0x4b8b0a,_0x263b5e- -0x280);}_0x5a3444[_0x1cd7fe(_0xb5e0f._0x38788d,_0xb5e0f._0x56e4f0)+'ration']='',_0x5a3444[_0x95611(_0xb5e0f._0x4ce390,-0x4)+'ll']='',_0x52b420[_0x5b7535]=_0x5a3444;let _0x5cc748=_0x434112['ROKHS'];for(const _0x25928c of Object['keys'](_0x52b420)){if(_0x1cd7fe(0x262,0x230)!==_0x434112['TifDo'])_0x586cf2[_0x1cd7fe(0x26c,0x1c0)+_0x1cd7fe(_0xb5e0f._0x7342db,0x297)][_0x95611(_0xb5e0f._0x329920,0xab)]();else{if(_0x434112[_0x1cd7fe(_0xb5e0f._0x13d495,_0xb5e0f._0x139351)](_0x52b420[_0x25928c][_0x95611(_0xb5e0f._0x58a3e7,-0x7)],_0x434112[_0x95611(0x72,0x6f)])){_0x5cc748=_0x52b420[_0x25928c]['phase'];break;}}}const _0x49ec0f={..._0x41b385['project']};_0x49ec0f[_0x1cd7fe(_0xb5e0f._0x2509e6,0x2b1)+'se']=_0x5cc748;const _0x467ca5={};_0x467ca5[_0x1cd7fe(_0xb5e0f._0x25391c,_0xb5e0f._0x5d4f5c)]=_0x49ec0f,_0x467ca5[_0x1cd7fe(_0xb5e0f._0x38161f,_0xb5e0f._0x292515)]=_0x52b420,_0x467ca5['machineSna'+_0x95611(-_0xb5e0f._0x2befd9,_0xb5e0f._0x33f0d5)]=_0x41b385[_0x95611(0x9f,_0xb5e0f._0x6818e4)+_0x95611(-0x32,0x1a)],await _0x434112['ABIvv'](writeStateFile,_0x467ca5),console[_0x95611(_0xb5e0f._0x5ecefc,-0x1f)]('['+_0x5b7535+']\x20'+_0x403d34+'\x20→\x20'+_0x2fc012),_0x434112[_0x1cd7fe(0x122,_0xb5e0f._0x25fafd)](_0x347b4a,_0x434112[_0x95611(0x72,_0xb5e0f._0x44db37)])&&console[_0x1cd7fe(0x21f,_0xb5e0f._0x3793f0)](_0x95611(_0xb5e0f._0x4d9fe4,0xc2)+_0x5b7535+'\x20已完成全部阶段');}export async function updateOperation(_0x126b5d,_0x3a796d,_0x25ad36){const _0x5d9b6b={_0x59b562:0x1d7,_0xb38432:0x1df,_0x2b8299:0x1ee,_0x3d2629:0x1ea,_0x4549bc:0x165,_0x378069:0x269,_0x7b8c2a:0x1b6,_0x428f84:0x1ca,_0x3a658e:0x13d,_0x311db1:0xc6,_0x371bdd:0x199,_0x5b784e:0x1df,_0x4bb80d:0x220,_0x421903:0x27c,_0x2ff91b:0x1ce},_0x23a121={};_0x23a121[_0x15a83c(_0x5d9b6b._0x59b562,_0x5d9b6b._0xb38432)]=_0x15a83c(_0x5d9b6b._0x2b8299,0x13f),_0x23a121[_0x15a83c(_0x5d9b6b._0x3d2629,_0x5d9b6b._0x4549bc)]=_0x15a83c(0x2b0,_0x5d9b6b._0x378069),_0x23a121[_0x15a83c(0x224,0x19b)]=_0x1fbd9d(-_0x5d9b6b._0x7b8c2a,-_0x5d9b6b._0x428f84)+_0x1fbd9d(-_0x5d9b6b._0x3a658e,-_0x5d9b6b._0x311db1);function _0x1fbd9d(_0x5906a8,_0xca4019){return _0x5dcc9e(_0x5906a8-0xe,_0xca4019);}function _0x15a83c(_0x40e180,_0x5f5288){return _0x5dcc9e(_0x5f5288-0x36e,_0x40e180);}const _0x324f4b=_0x23a121;if(activeEngine){const _0x44ffeb=activeEngine[_0x1fbd9d(-_0x5d9b6b._0x371bdd,-0x1f2)][_0x15a83c(0x1ef,0x1d4)](_0x126b5d);if(_0x44ffeb){if(_0x324f4b[_0x15a83c(0x287,_0x5d9b6b._0x5b784e)]!==_0x324f4b['ffvTp']){const _0x11f148={};_0x11f148['type']=_0x324f4b[_0x1fbd9d(-0x1c5,-_0x5d9b6b._0x4bb80d)],_0x11f148[_0x1fbd9d(-0x1f6,-_0x5d9b6b._0x421903)]=_0x3a796d,_0x11f148[_0x15a83c(0x1e2,_0x5d9b6b._0x2ff91b)]=_0x25ad36,_0x44ffeb['send'](_0x11f148),await persistCurrentState();return;}else{const _0x149ffb={};_0x149ffb[_0x15a83c(0x23a,0x24c)]=!![],_0x25995c(_0x4543c4,_0x149ffb);}}}await updateOperationViaFile(_0x126b5d,_0x3a796d,_0x25ad36);}async function updateOperationViaFile(_0x38371a,_0x242774,_0x38db3d){const _0x5c08b1={_0x129437:0x10c,_0x5d5f0c:0xfa,_0x1c8cde:0x371,_0x206c11:0x11f,_0x1b4e04:0x2f,_0x5534a5:0x71,_0x1daab7:0x87,_0x539f2d:0xf8,_0x7818c4:0xf0,_0x352903:0x8c,_0x2159d5:0x4,_0x5bd2fe:0xc7,_0x5180f1:0x24,_0x453d70:0x106,_0x274f18:0x351,_0x6d2f9c:0x3d6,_0x2b7bc6:0x2a7,_0x321a94:0x98,_0xfab735:0x3dc,_0x485a02:0x73,_0x7d715d:0x3d6,_0x557863:0x3bb,_0x394ee0:0x3b1},_0x9e0771={_0x5da9fa:0xf5},_0x9a44a0={};function _0x9b5f97(_0x554ac5,_0x4f17c4){return _0x5dcc9e(_0x554ac5-_0x9e0771._0x5da9fa,_0x4f17c4);}_0x9a44a0[_0x9b5f97(-_0x5c08b1._0x129437,-_0x5c08b1._0x5d5f0c)]=function(_0x44cfe5,_0x3e6b05){return _0x44cfe5!==_0x3e6b05;},_0x9a44a0[_0x9b5f97(-0x2f,0x72)]=_0x2b2dd2(_0x5c08b1._0x1c8cde,0x41c),_0x9a44a0['jZHuW']=_0x9b5f97(-0x9c,-0x111);const _0x2f87af=_0x9a44a0;function _0x2b2dd2(_0xc2845e,_0x385599){return _0x1729f2(_0x385599,_0xc2845e-0x9c);}const _0x25aaeb=await readStateFile();if(!_0x25aaeb){if(_0x2f87af[_0x9b5f97(-0x10c,-_0x5c08b1._0x206c11)](_0x2f87af[_0x9b5f97(-_0x5c08b1._0x1b4e04,_0x5c08b1._0x5534a5)],_0x9b5f97(-_0x5c08b1._0x1daab7,-_0x5c08b1._0x539f2d)))_0x4167e8[_0x9b5f97(-0x4e,-_0x5c08b1._0x7818c4)]();else{console['log'](_0x2f87af[_0x9b5f97(-_0x5c08b1._0x352903,-_0x5c08b1._0x2159d5)]);return;}}const _0x4809d4=_0x25aaeb['agents'][_0x38371a];if(!_0x4809d4){console[_0x9b5f97(-_0x5c08b1._0x5bd2fe,-_0x5c08b1._0x5180f1)](_0x9b5f97(-_0x5c08b1._0x453d70,-0x175)+_0x38371a+('\x20不存在于\x20stat'+_0x2b2dd2(0x3da,_0x5c08b1._0x274f18)));return;}const _0x27cf08={..._0x25aaeb[_0x2b2dd2(_0x5c08b1._0x6d2f9c,0x344)]},_0x489d31=_0x27cf08,_0x33c1d3={..._0x4809d4};_0x33c1d3[_0x2b2dd2(_0x5c08b1._0x2b7bc6,0x270)+'ration']=_0x242774,_0x33c1d3[_0x9b5f97(-_0x5c08b1._0x321a94,-0x11a)+'ll']=_0x38db3d,_0x489d31[_0x38371a]=_0x33c1d3;const _0x599de0={};_0x599de0[_0x2b2dd2(0x3e9,_0x5c08b1._0xfab735)]=_0x25aaeb[_0x9b5f97(-0xf,-_0x5c08b1._0x485a02)],_0x599de0[_0x2b2dd2(_0x5c08b1._0x7d715d,0x3fd)]=_0x489d31,_0x599de0[_0x2b2dd2(_0x5c08b1._0x557863,_0x5c08b1._0x394ee0)+'pshot']=_0x25aaeb[_0x2b2dd2(_0x5c08b1._0x557863,0x340)+'pshot'],await writeStateFile(_0x599de0);}export async function getStatus(){const _0x5c7bbc={_0x59b59e:0x78,_0x47f39e:0x109,_0x133dcc:0x149,_0x29e578:0x54d,_0x5c9858:0x73,_0x34e07b:0x69d,_0xbc25d1:0x62c,_0x49fc4f:0x634,_0x2bd624:0x7c,_0x5a4c55:0xbf,_0x359d32:0x67f,_0xaeb925:0x63f,_0x2d061b:0x73,_0x227d79:0x67d,_0x301b1c:0x5f1,_0x1037bb:0x3f,_0x230d69:0x36,_0xc3c377:0x115,_0x50621:0x28,_0x11a4fa:0x1f,_0x4c97c5:0x73,_0x430ecb:0x73,_0x3d7a19:0x649,_0x5f1e66:0x23,_0x1cadaf:0x5df,_0x53fb43:0x61,_0x27a329:0x17,_0x5de005:0x69d,_0x288dae:0x67c,_0x5148d:0x5ca,_0x4bb89e:0x552,_0x2ceb64:0x71,_0x541cf9:0x73},_0x20ac56={_0x4531d7:0x22f},_0x2d814a={_0x3a75d7:0x35c},_0x53a38f={'BCBKn':function(_0x3dd07e,_0x100001){return _0x3dd07e(_0x100001);},'wKAWh':_0x12d8dd(0x9e,0x66)+_0x12d8dd(_0x5c7bbc._0x59b59e,0x10d)+'t\x20命令','hkIOS':'utf-8','EZvjs':_0x12d8dd(-0x26,-0x3b)+_0x12d8dd(0xd8,_0x5c7bbc._0x47f39e)+_0x12d8dd(0xaf,_0x5c7bbc._0x133dcc)+'\x20\x20\x20\x20\x20\x20|\x20操作'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x5d7503(0x4fc,_0x5c7bbc._0x29e578)+'工具','UfzvW':function(_0x5d46a6,_0x39c2ed){return _0x5d46a6+_0x39c2ed;}};if(!_0x53a38f[_0x12d8dd(0xe8,0xd2)](existsSync,STATE_FILE_PATH)){console[_0x12d8dd(_0x5c7bbc._0x5c9858,0x103)](_0x53a38f[_0x5d7503(0x6cb,_0x5c7bbc._0x34e07b)]);return;}const _0x26a4f7=readFileSync(STATE_FILE_PATH,_0x53a38f[_0x5d7503(_0x5c7bbc._0xbc25d1,_0x5c7bbc._0x49fc4f)]),_0x2c81d3=JSON[_0x12d8dd(_0x5c7bbc._0x2bd624,_0x5c7bbc._0x5a4c55)](_0x26a4f7);function _0x5d7503(_0x1cf630,_0x5c2eaf){return _0x1729f2(_0x1cf630,_0x5c2eaf-_0x2d814a._0x3a75d7);}console[_0x12d8dd(_0x5c7bbc._0x5c9858,0x69)](_0x5d7503(0x615,_0x5c7bbc._0x359d32)+_0x2c81d3[_0x5d7503(0x708,0x6a9)][_0x5d7503(_0x5c7bbc._0xaeb925,0x678)]),console[_0x12d8dd(_0x5c7bbc._0x2d061b,0x117)]('\x20\x20\x20当前阶段:\x20'+_0x2c81d3['project'][_0x5d7503(0x70c,_0x5c7bbc._0x227d79)+'se']),console[_0x5d7503(0x5d2,_0x5c7bbc._0x301b1c)]('\x20\x20\x20版本:\x20'+_0x2c81d3['version']),console['log']('\x20\x20\x20更新时间:\x20'+_0x2c81d3[_0x12d8dd(_0x5c7bbc._0x1037bb,-_0x5c7bbc._0x230d69)]+'\x0a');const _0x5b59f1=_0x2c81d3['agents'],_0xda249=Object[_0x12d8dd(_0x5c7bbc._0xc3c377,0xff)](_0x5b59f1);if(_0xda249['length']===0x9a6+-0xbef+0x41*0x9){console[_0x12d8dd(0x73,_0x5c7bbc._0x50621)](_0x12d8dd(0x8b,-_0x5c7bbc._0x11a4fa)+'t\x20记录');return;}console[_0x12d8dd(_0x5c7bbc._0x4c97c5,0xc6)](_0x53a38f['EZvjs']),console[_0x12d8dd(_0x5c7bbc._0x430ecb,0x118)](_0x53a38f['UfzvW'](_0x5d7503(0x5b9,_0x5c7bbc._0x3d7a19),'-'[_0x12d8dd(_0x5c7bbc._0x5f1e66,0x91)](0x1f21+-0xbf3+-0x96f*0x2)));for(const _0x58ddb4 of _0xda249){const _0xf84e83=_0x5b59f1[_0x58ddb4],_0xe897a4=PHASE_NAMES[_0xf84e83[_0x5d7503(0x665,_0x5c7bbc._0x1cadaf)]]??_0xf84e83[_0x12d8dd(_0x5c7bbc._0x53fb43,-0x4e)],_0x375793=_0xf84e83[_0x12d8dd(-_0x5c7bbc._0x27a329,-0xc4)+_0x5d7503(_0x5c7bbc._0x5de005,_0x5c7bbc._0x288dae)]||'-',_0x5b4a76=_0xf84e83[_0x5d7503(_0x5c7bbc._0x5148d,0x620)+'ll']||'-';console['log'](_0x5d7503(_0x5c7bbc._0x288dae,0x649)+_0x58ddb4[_0x12d8dd(-0x2d,-0x46)](0x17fe+0x1fc*0x9+-0x29c8*0x1)+_0x5d7503(0x4e6,0x556)+_0xe897a4[_0x5d7503(0x53a,0x551)](-0xb56*0x3+-0x68*0x5+-0x5*-0x738)+_0x5d7503(_0x5c7bbc._0x4bb89e,0x556)+_0x375793[_0x12d8dd(-0x2d,0x3c)](0x9a3*0x3+-0xeef+0x1*-0xde5)+_0x12d8dd(-0x28,-_0x5c7bbc._0x2ceb64)+_0x5b4a76);}function _0x12d8dd(_0x242e4a,_0x1c5df6){return _0x5dcc9e(_0x242e4a-_0x20ac56._0x4531d7,_0x1c5df6);}console[_0x12d8dd(_0x5c7bbc._0x541cf9,0xd2)]();}export async function resumeEngine(){const _0x529e31={_0x52f3b1:0x4db,_0x18d6a1:0x533,_0x2fa6fa:0x607,_0x19c9b8:0x5a1,_0x386a79:0x5f0,_0x15e268:0x5db,_0x213496:0x5c4,_0x269527:0x482,_0x42a693:0x507,_0x3b0da5:0x52d,_0x5b7f6d:0x4a3,_0x50a2f5:0x4d1,_0x33a1e0:0x4d8,_0x32d4b6:0x60a,_0x2ac994:0x585,_0x4cbbfc:0x560,_0x3a996e:0x4d3,_0x3bddcf:0x4e5,_0x253382:0x648,_0x4ed8a2:0x535,_0x8e10b2:0x57d,_0x415c20:0x597,_0x224daa:0x55a,_0x18a87c:0x5a6,_0xdde588:0x5f5,_0x12d142:0x516,_0xd2664c:0x5aa,_0x3effe2:0x56b,_0x22bfb0:0x53b,_0x511d73:0x5cd,_0x391005:0x631,_0x133670:0x5eb,_0x1ece29:0x66e,_0xb9153c:0x519,_0x166167:0x521,_0x473885:0x578,_0x2d4022:0x548,_0x3ba24d:0x642,_0x507acd:0x59f,_0x1a108e:0x559,_0x436758:0x4c3,_0x1e914d:0x4e9,_0x5794b7:0x521,_0x598e18:0x4f2,_0x29ee0b:0x4ea,_0x4f98f9:0x58b,_0xb2f574:0x53d,_0x3eb9b2:0x55e,_0x31b703:0x505,_0x358168:0x598,_0x3246bc:0x574,_0x20e885:0x555,_0x399b30:0x549,_0x52e5b5:0x548,_0x212784:0x5ad,_0x50ae12:0x51f,_0x58f1fa:0x55b,_0x42919a:0x614,_0x126410:0x519,_0x335805:0x62b,_0x4f328b:0x571,_0xfa03ee:0x534,_0xb98a57:0x5dd,_0x1db51e:0x4e4,_0x51eb20:0x5be,_0x1404c2:0x4c6,_0x1bd2dd:0x689,_0x4cb329:0x5d5,_0x37a71f:0x63b,_0x1d875a:0x5f5,_0x4c86af:0x596,_0x5dea8d:0x60c,_0x571d6c:0x4cc,_0x5b3c97:0x4cd,_0x27e6da:0x584},_0x564d77={_0x5c2ac5:0x766},_0x212e4e={_0x4c9e5a:0x716},_0x296cdc={'HnEKc':function(_0xea0912){return _0xea0912();},'DCXCr':function(_0x38542d,_0x1ae450){return _0x38542d!==_0x1ae450;},'NKJXr':'completed','tSxAT':function(_0x32338b,_0x252ec8){return _0x32338b(_0x252ec8);},'tpqIN':_0x20ddf2(_0x529e31._0x52f3b1,_0x529e31._0x18d6a1),'oVneU':_0x20ddf2(0x5c3,0x5d5)+_0x20ddf2(0x508,0x51c)+_0x20ddf2(_0x529e31._0x2fa6fa,_0x529e31._0x19c9b8),'ZQicU':'CEYdC','MnzWf':function(_0x2de554,_0x5cb5be){return _0x2de554!==_0x5cb5be;},'YZfgL':_0x20ddf2(0x67b,_0x529e31._0x386a79),'wRRlK':function(_0x1f83aa,_0x114a5b){return _0x1f83aa===_0x114a5b;},'CwuEN':_0x2ae334(0x5c4,_0x529e31._0x15e268),'EbAGu':'YrkXD','QqCCS':_0x2ae334(_0x529e31._0x213496,0x58d)+_0x20ddf2(_0x529e31._0x269527,_0x529e31._0x42a693),'YCPNo':function(_0x2bd9f5,_0x118279){return _0x2bd9f5===_0x118279;},'YItvk':_0x2ae334(0x4e4,0x579),'dvujv':function(_0x59b106,_0x459221){return _0x59b106<_0x459221;}};function _0x2ae334(_0x2c1c78,_0x379855){return _0x5dcc9e(_0x379855-_0x212e4e._0x4c9e5a,_0x2c1c78);}if(!_0x296cdc[_0x20ddf2(_0x529e31._0x3b0da5,0x59a)](existsSync,STATE_FILE_PATH)){if(_0x296cdc[_0x20ddf2(_0x529e31._0x5b7f6d,0x528)]!==_0x296cdc[_0x2ae334(_0x529e31._0x50a2f5,_0x529e31._0x33a1e0)]){_0x2613fb[_0x20ddf2(0x611,0x5aa)](_0x2ae334(_0x529e31._0x32d4b6,_0x529e31._0x2ac994));return;}else{console[_0x2ae334(_0x529e31._0x4cbbfc,0x55a)](_0x296cdc[_0x2ae334(_0x529e31._0x3a996e,_0x529e31._0x3bddcf)]);return;}}const _0x22fdf8=readFileSync(STATE_FILE_PATH,'utf-8'),_0x1d9b70=JSON[_0x2ae334(_0x529e31._0x42a693,0x563)](_0x22fdf8),_0x5f2227=_0x1d9b70[_0x20ddf2(0x5d4,0x64f)],_0x22d46d=Object['keys'](_0x5f2227);function _0x20ddf2(_0xbe6c3b,_0x1ac6ce){return _0x5dcc9e(_0x1ac6ce-_0x564d77._0x5c2ac5,_0xbe6c3b);}const _0x412c41=_0x22d46d[_0x20ddf2(_0x529e31._0x253382,0x5ba)](_0x29420b=>_0x5f2227[_0x29420b][_0x20ddf2(0x560,0x598)]!=='completed');if(_0x412c41[_0x20ddf2(0x545,0x56d)]===-0x193a+0x1*0x265a+-0xd20){if(_0x296cdc[_0x20ddf2(0x610,0x63f)]!==_0x2ae334(_0x529e31._0x4ed8a2,0x4bb))_0x59d877['log'](_0x20ddf2(_0x529e31._0x8e10b2,0x629)+_0x2ed159+_0x2ae334(0x60a,0x5da)),_0x296cdc[_0x20ddf2(_0x529e31._0x415c20,0x622)](_0x4e30a9);else{console[_0x2ae334(0x584,_0x529e31._0x224daa)](_0x2ae334(_0x529e31._0x18a87c,0x4f9)+_0x20ddf2(0x656,_0x529e31._0xdde588));return;}}console[_0x20ddf2(_0x529e31._0x12d142,_0x529e31._0xd2664c)](_0x20ddf2(0x62e,0x5a0)),console['log'](_0x20ddf2(_0x529e31._0x3effe2,_0x529e31._0x22bfb0)+_0x1d9b70[_0x20ddf2(0x717,0x662)][_0x20ddf2(_0x529e31._0x511d73,_0x529e31._0x391005)]),console[_0x2ae334(0x56c,0x55a)](_0x2ae334(_0x529e31._0x133670,0x607)+_0x2ae334(0x4bc,0x55c)+_0x412c41[_0x20ddf2(0x5ff,0x56d)]+'\x0a');const _0x33126a=new Map();let _0x829165=null;try{if(_0x296cdc[_0x20ddf2(_0x529e31._0x1ece29,0x5de)]('HrGFf',_0x296cdc[_0x2ae334(0x5cf,_0x529e31._0xb9153c)]))_0x829165=loadTechContext();else return _0x40e6f2;}catch{}for(const _0x4f8f88 of _0x412c41){const _0x55e70d=_0x5f2227[_0x4f8f88],_0x4e83b5=PHASES['indexOf'](_0x55e70d[_0x20ddf2(0x525,0x598)]);if(_0x296cdc['wRRlK'](_0x4e83b5,-(0xd20+0x50*-0x3b+0x551))){console[_0x20ddf2(_0x529e31._0x18a87c,0x5aa)]('['+_0x4f8f88+_0x20ddf2(_0x529e31._0x166167,0x5c7)+_0x55e70d[_0x2ae334(_0x529e31._0x473885,_0x529e31._0x2d4022)]+_0x20ddf2(_0x529e31._0x3ba24d,_0x529e31._0x507acd));continue;}const _0x4437a1={};_0x4437a1[_0x2ae334(0x545,0x5c4)]=_0x4f8f88,_0x4437a1[_0x2ae334(_0x529e31._0x1a108e,0x4e1)]=_0x55e70d[_0x20ddf2(_0x529e31._0x436758,0x531)]??undefined;const _0x50d6b7={};_0x50d6b7[_0x2ae334(_0x529e31._0x1e914d,_0x529e31._0x5794b7)]=_0x4437a1;const _0x10c7c8=createActor(agentMachine,_0x50d6b7);_0x10c7c8[_0x2ae334(_0x529e31._0x15e268,0x533)](),_0x33126a['set'](_0x4f8f88,_0x10c7c8);const _0x2b172a={};_0x2b172a[_0x2ae334(0x53d,_0x529e31._0x598e18)]=_0x296cdc[_0x20ddf2(_0x529e31._0x29ee0b,_0x529e31._0x4f98f9)],_0x10c7c8[_0x2ae334(0x56f,0x571)](_0x2b172a);for(let _0x5b820c=-0x1*-0x1186+0x154f*0x1+0x26d5*-0x1;_0x5b820c<_0x4e83b5;_0x5b820c++){if(_0x296cdc[_0x2ae334(_0x529e31._0xb2f574,0x5a1)]==='YrkXD'){const _0x151cce={};_0x151cce[_0x2ae334(0x546,0x4f2)]=_0x296cdc['QqCCS'],_0x10c7c8['send'](_0x151cce);}else{if(_0x296cdc[_0x2ae334(_0x529e31._0x3eb9b2,_0x529e31._0x31b703)](_0x105fe2[_0x7c7d59][_0x20ddf2(0x5d2,_0x529e31._0x358168)],_0x296cdc[_0x2ae334(0x5f9,_0x529e31._0x3246bc)])){const _0x5def67={..._0x21c9a9[_0x433030]};_0x5def67[_0x2ae334(_0x529e31._0x20e885,0x548)]=_0x2153ae,_0x450c64[_0x500cc5]=_0x5def67;}}}console['log']('['+_0x4f8f88+_0x20ddf2(0x5d4,0x552)+(PHASE_NAMES[_0x55e70d[_0x2ae334(_0x529e31._0x399b30,_0x529e31._0x52e5b5)]]??_0x55e70d[_0x2ae334(_0x529e31._0x212784,0x548)])+_0x2ae334(0x548,0x5d0));}for(const _0x131b9b of _0x22d46d){if(!_0x33126a[_0x20ddf2(0x59e,_0x529e31._0x3b0da5)](_0x131b9b)){if(_0x296cdc[_0x2ae334(0x4cf,0x4db)](_0x296cdc[_0x2ae334(_0x529e31._0x50ae12,_0x529e31._0x58f1fa)],_0x296cdc['YItvk'])){const _0x34d74e=_0x5f2227[_0x131b9b],_0x21ea99={};_0x21ea99[_0x20ddf2(0x69a,_0x529e31._0x42919a)]=_0x131b9b,_0x21ea99['parentId']=_0x34d74e['parentId']??undefined;const _0x5127f8={};_0x5127f8[_0x20ddf2(_0x529e31._0x126410,0x571)]=_0x21ea99;const _0x164f67=createActor(agentMachine,_0x5127f8);_0x164f67[_0x20ddf2(0x5a9,0x583)]();const _0x11a4f0={};_0x11a4f0[_0x20ddf2(0x5aa,0x542)]=_0x20ddf2(0x5fa,_0x529e31._0x335805),_0x164f67[_0x2ae334(0x4e3,_0x529e31._0x4f328b)](_0x11a4f0);for(let _0x3b84cd=-0x1fcc+-0x1b36+0x3b02;_0x296cdc['dvujv'](_0x3b84cd,PHASES['length']);_0x3b84cd++){const _0x1410bb={};_0x1410bb[_0x20ddf2(0x4e3,0x542)]=_0x20ddf2(_0x529e31._0xfa03ee,_0x529e31._0xb98a57)+_0x2ae334(0x564,0x4b7),_0x164f67[_0x2ae334(_0x529e31._0x1db51e,0x571)](_0x1410bb);}_0x33126a[_0x20ddf2(_0x529e31._0x51eb20,_0x529e31._0xb9153c)](_0x131b9b,_0x164f67);}else{_0x5949b2[_0x2ae334(_0x529e31._0x1404c2,_0x529e31._0x224daa)](_0x20ddf2(_0x529e31._0x1bd2dd,_0x529e31._0x4cb329)+_0x2ae334(_0x529e31._0x37a71f,0x594)+_0x20ddf2(0x66a,0x61e));return;}}}const _0xd4520e={};_0xd4520e['projectNam'+'e']=_0x1d9b70['project'][_0x20ddf2(_0x529e31._0x1d875a,0x631)],_0xd4520e[_0x20ddf2(0x5fb,_0x529e31._0x4c86af)]=PHASES,_0xd4520e[_0x20ddf2(_0x529e31._0x5dea8d,0x5bf)]=_0x33126a,_0xd4520e['supervisor'+'Actor']=null,_0xd4520e[_0x2ae334(0x4fb,0x50b)+'t']=_0x829165,activeEngine=_0xd4520e,await persistCurrentState(),console[_0x2ae334(_0x529e31._0x571d6c,0x55a)](_0x20ddf2(_0x529e31._0x5b3c97,0x577)+_0x2ae334(_0x529e31._0x27e6da,0x5bb)+_0x20ddf2(0x582,0x524));}export function stopEngine(){const _0x1b5813={_0x3d055a:0x1bd,_0x27dc5:0x145,_0x43a83f:0x388,_0x377f9d:0x319,_0x3d73e4:0xde,_0x418fa3:0x2e2,_0x5c57d8:0x320,_0x693ffa:0x295,_0x455b0b:0x236,_0x237736:0x1cd,_0x1f1b55:0xb8,_0x240941:0x143,_0x4b50f0:0x140,_0x1d2106:0x246,_0x315b07:0x20c,_0x25c175:0x1d7,_0x5bb7bf:0x1ea,_0x29498b:0x1de,_0x54e691:0x20b,_0x1eac3a:0x179},_0x5e3a1e={_0x352748:0x463},_0x52f62a={};function _0x10fb5c(_0x2f93b5,_0x57d995){return _0x1729f2(_0x2f93b5,_0x57d995- -0x3d8);}_0x52f62a[_0x10fb5c(-_0x1b5813._0x3d055a,-_0x1b5813._0x27dc5)]=function(_0x141681,_0x425bf3){return _0x141681!==_0x425bf3;},_0x52f62a['dMtjF']=_0x10fb5c(-0x1c1,-0x1a9);const _0x504607=_0x52f62a;if(!activeEngine)return;function _0x505bdb(_0x4b22e9,_0x1ea72b){return _0x5dcc9e(_0x1ea72b-_0x5e3a1e._0x352748,_0x4b22e9);}for(const [,_0xda49a1]of activeEngine['actors']){_0xda49a1[_0x505bdb(_0x1b5813._0x43a83f,0x320)]();}if(activeEngine[_0x505bdb(0x2bd,0x242)+_0x505bdb(0x3be,_0x1b5813._0x377f9d)]){if(_0x504607[_0x10fb5c(-_0x1b5813._0x3d73e4,-_0x1b5813._0x27dc5)]('uObUU','guYCj'))activeEngine[_0x10fb5c(-0x1fa,-0x1a8)+_0x505bdb(_0x1b5813._0x418fa3,0x319)][_0x505bdb(0x3bf,_0x1b5813._0x5c57d8)]();else{const _0x5da95f=_0x7c714c[_0x47c6ff],_0x29b11d=_0xb3531e[_0x5da95f['phase']]??_0x5da95f[_0x505bdb(0x32d,_0x1b5813._0x693ffa)],_0x5b8f07=_0x5da95f[_0x10fb5c(-_0x1b5813._0x455b0b,-_0x1b5813._0x237736)+_0x10fb5c(-0x119,-_0x1b5813._0x1f1b55)]||'-',_0x4bd6ef=_0x5da95f[_0x10fb5c(-0x76,-0x114)+'ll']||'-';_0x43d379[_0x10fb5c(-0x105,-_0x1b5813._0x240941)](_0x10fb5c(-_0x1b5813._0x4b50f0,-0xeb)+_0x50d6ce[_0x10fb5c(-0x283,-0x1e3)](-0x204f+-0x1*0x1071+0x30d2)+_0x505bdb(_0x1b5813._0x1d2106,_0x1b5813._0x315b07)+_0x29b11d[_0x505bdb(_0x1b5813._0x25c175,0x207)](0x1*0x2306+0x234*0xc+-0x3d68)+_0x10fb5c(-0x196,-0x1de)+_0x5b8f07['padEnd'](-0xa6b+0x312*-0xb+0x1623*0x2)+_0x10fb5c(-_0x1b5813._0x5bb7bf,-_0x1b5813._0x29498b)+_0x4bd6ef);}}activeEngine=null,console['log'](_0x504607[_0x10fb5c(-_0x1b5813._0x54e691,-_0x1b5813._0x1eac3a)]);}export function getEngine(){return activeEngine;}function _0x5dcc9e(_0x3c43b2,_0x4789a3){return _0x430c(_0x3c43b2- -0x3da,_0x4789a3);}export async function registerAgent(_0x5eef0c,_0x47ed00={}){const _0x64b22c={_0x1c84de:0x494,_0x3bee3a:0x4e8,_0x5a1500:0x4ec,_0x403102:0x3d2,_0x3f369d:0x519,_0x5d3420:0x446,_0x4665b9:0x374,_0x4ce3a0:0x400,_0x5a6635:0x359,_0x2a7da3:0x3a9,_0x3ae448:0x517,_0x3ebd15:0x4b5,_0x57311a:0x39d,_0x4e3186:0x42a,_0x2cdbf3:0x44b,_0x4c07cf:0x439,_0x44eec0:0x3d8,_0x530a54:0x3fa,_0x334bb7:0x47a,_0x348c6e:0x527,_0x252729:0x4f0,_0x1d9768:0x451,_0x11e14e:0x3a4,_0x1cabca:0x48a,_0x412bc6:0x4ae,_0x1bb50a:0x477,_0x1be2ff:0x4a4,_0x14b164:0x408,_0x4cbcf1:0x3b4,_0x3df198:0x44b,_0x4d291d:0x3e8,_0x2e9751:0x3d2,_0x418364:0x3bd,_0x2aefe4:0x4a2,_0xcd9aee:0x4ef,_0x49d728:0x3d2,_0x3156a4:0x31e,_0x2b03df:0x3cc},_0x4bcb39={_0x354f03:0x13d},_0x536138={'pjcDc':function(_0x3e69ff){return _0x3e69ff();},'NXLsb':_0x4328aa(_0x64b22c._0x1c84de,_0x64b22c._0x3bee3a)},_0x22dd42=await _0x536138[_0x47b71f(0x532,_0x64b22c._0x5a1500)](readStateFile);if(!_0x22dd42){console[_0x4328aa(_0x64b22c._0x403102,0x410)](_0x4328aa(0x3fd,0x35a)+_0x47b71f(_0x64b22c._0x3f369d,0x485)+_0x4328aa(_0x64b22c._0x5d3420,0x473));return;}if(_0x22dd42['agents'][_0x5eef0c]){console['log']('⚠️\x20\x20Agent\x20'+_0x5eef0c+'\x20已存在,跳过注册');return;}const _0x2de3e6=_0x47ed00[_0x4328aa(0x3c0,0x3e5)]??_0x536138[_0x4328aa(_0x64b22c._0x4665b9,_0x64b22c._0x4ce3a0)],_0x82fb88=_0x47ed00[_0x4328aa(_0x64b22c._0x5a6635,_0x64b22c._0x2a7da3)]??null,_0x1259f6={};_0x1259f6[_0x47b71f(_0x64b22c._0x3ae448,_0x64b22c._0x3ebd15)]=_0x5eef0c,_0x1259f6[_0x4328aa(_0x64b22c._0x5a6635,_0x64b22c._0x57311a)]=_0x82fb88,_0x1259f6[_0x47b71f(_0x64b22c._0x4e3186,0x44a)]=[],_0x1259f6[_0x47b71f(_0x64b22c._0x2cdbf3,_0x64b22c._0x4c07cf)]=_0x2de3e6,_0x1259f6[_0x47b71f(_0x64b22c._0x44eec0,0x3c1)+_0x47b71f(0x44c,0x4d6)]='',_0x1259f6[_0x47b71f(_0x64b22c._0x530a54,_0x64b22c._0x334bb7)+'ll']='';const _0x3272e5=_0x1259f6,_0x26995f={..._0x22dd42[_0x47b71f(_0x64b22c._0x348c6e,_0x64b22c._0x252729)]};_0x26995f[_0x5eef0c]=_0x3272e5;const _0x18d0bd=_0x26995f;if(_0x82fb88&&_0x18d0bd[_0x82fb88]){const _0x3bbc0f=_0x18d0bd[_0x82fb88];if(!_0x3bbc0f['childIds'][_0x47b71f(0x411,0x41d)](_0x5eef0c)){const _0x173db6={..._0x3bbc0f};_0x173db6[_0x47b71f(_0x64b22c._0x1d9768,0x44a)]=[..._0x3bbc0f[_0x47b71f(_0x64b22c._0x11e14e,0x44a)],_0x5eef0c],_0x18d0bd[_0x82fb88]=_0x173db6;}}function _0x47b71f(_0x4a8c96,_0x3f29f6){return _0x1729f2(_0x4a8c96,_0x3f29f6-0x1b6);}const _0x3932c1={};function _0x4328aa(_0x6349e0,_0x370c68){return _0x1729f2(_0x370c68,_0x6349e0-_0x4bcb39._0x354f03);}_0x3932c1[_0x4328aa(_0x64b22c._0x1cabca,_0x64b22c._0x412bc6)]=_0x22dd42[_0x47b71f(0x4ce,0x503)],_0x3932c1[_0x4328aa(_0x64b22c._0x1bb50a,_0x64b22c._0x1be2ff)]=_0x18d0bd,_0x3932c1[_0x47b71f(0x588,0x4d5)+_0x4328aa(0x38b,_0x64b22c._0x14b164)]=_0x22dd42[_0x47b71f(0x515,0x4d5)+_0x4328aa(0x38b,_0x64b22c._0x4cbcf1)],await writeStateFile(_0x3932c1);const _0x4d9d82=PHASE_NAMES[_0x2de3e6]??_0x2de3e6;console[_0x47b71f(0x488,_0x64b22c._0x3df198)](_0x4328aa(0x3e1,_0x64b22c._0x4d291d)+_0x4328aa(0x362,0x2ad)+_0x5eef0c),console[_0x4328aa(_0x64b22c._0x2e9751,_0x64b22c._0x418364)](_0x47b71f(_0x64b22c._0x2aefe4,_0x64b22c._0xcd9aee)+_0x4d9d82);if(_0x82fb88)console[_0x4328aa(_0x64b22c._0x49d728,_0x64b22c._0x3156a4)](_0x4328aa(0x457,_0x64b22c._0x2b03df)+':\x20'+_0x82fb88);}export async function deregisterAgent(_0x3bddb5){const _0xf19509={_0x47e7bd:0x1d2,_0x5eb80b:0x1dd,_0x19d407:0x466,_0x4c5132:0x1cc,_0x5ea343:0x24e,_0x96d9a4:0x27a,_0x51b388:0x30b,_0x1e3750:0x1dd,_0x3754da:0x283,_0x3dc487:0x5a8,_0x5968c5:0x554,_0x4c3dc2:0x2fc,_0x20a6af:0x2f3,_0xb25023:0x14f,_0x9ddc0d:0x24d,_0x44ad7a:0x309,_0x19123f:0x25e,_0x17703b:0x519,_0x15eb18:0x23c,_0x1a9ce5:0x284,_0x3e9a2e:0x2da,_0x9c8524:0x4fb,_0x35418e:0x306,_0x36f61e:0x509,_0x4a645a:0x539,_0x294d6a:0x468,_0x446b15:0x50e,_0x4af4b4:0x466,_0x3071b8:0x468,_0x1bb7fd:0x307,_0xd5d0d8:0x4bd},_0x1ba989={_0x20cc28:0x47},_0x5df6c2={'iBqUj':function(_0x1ae797){return _0x1ae797();},'bsxit':_0x505c8e(_0xf19509._0x47e7bd,_0xf19509._0x5eb80b),'FvhoA':'idle'},_0x1924d7=await _0x5df6c2['iBqUj'](readStateFile);if(!_0x1924d7){console[_0x5da364(0x426,0x4af)](_0x5da364(_0xf19509._0x19d407,0x4da));return;}if(!_0x1924d7['agents'][_0x3bddb5]){console[_0x505c8e(_0xf19509._0x4c5132,_0xf19509._0x5ea343)](_0x505c8e(_0xf19509._0x96d9a4,_0xf19509._0x51b388)+_0x3bddb5+_0x505c8e(_0xf19509._0x1e3750,_0xf19509._0x3754da));return;}const _0x31b563=_0x1924d7[_0x5da364(_0xf19509._0x3dc487,_0xf19509._0x5968c5)][_0x3bddb5],_0x1408c8={..._0x1924d7[_0x505c8e(_0xf19509._0x4c3dc2,_0xf19509._0x20a6af)]},_0x1e9c77=_0x1408c8;delete _0x1e9c77[_0x3bddb5];if(_0x31b563[_0x505c8e(0x1c3,0x1d5)]&&_0x1e9c77[_0x31b563[_0x505c8e(0x135,0x1d5)]]){const _0x24e797=_0x1e9c77[_0x31b563['parentId']];_0x1e9c77[_0x31b563[_0x505c8e(_0xf19509._0xb25023,0x1d5)]]={..._0x24e797,'childIds':_0x24e797[_0x505c8e(0x227,_0xf19509._0x9ddc0d)][_0x505c8e(_0xf19509._0x44ad7a,_0xf19509._0x19123f)](_0x4f6847=>_0x4f6847!==_0x3bddb5)};}const _0x41b261=Object[_0x5da364(_0xf19509._0x17703b,0x551)](_0x1e9c77);let _0x3d7e7c=_0x505c8e(0x1e8,0x1dd);for(const _0xd2587b of _0x41b261){if(_0x1e9c77[_0xd2587b][_0x5da364(0x510,0x49d)]!==_0x5df6c2[_0x5da364(0x54b,0x50e)]){_0x3d7e7c=_0x1e9c77[_0xd2587b][_0x505c8e(0x2d8,_0xf19509._0x15eb18)];break;}}function _0x505c8e(_0x18390a,_0x28c5de){return _0x1729f2(_0x18390a,_0x28c5de- -_0x1ba989._0x20cc28);}const _0x2bd282={..._0x1924d7['project']};_0x2bd282[_0x505c8e(_0xf19509._0x1a9ce5,_0xf19509._0x3e9a2e)+'se']=_0x41b261[_0x5da364(_0xf19509._0x9c8524,0x472)]>-0x19a0+-0x1*0x1b2f+-0xb*-0x4cd?_0x3d7e7c:_0x5df6c2['FvhoA'];function _0x5da364(_0x3d2a02,_0x379728){return _0x1729f2(_0x3d2a02,_0x379728-0x21a);}const _0x57df23={};_0x57df23[_0x505c8e(0x285,_0xf19509._0x35418e)]=_0x2bd282,_0x57df23['agents']=_0x1e9c77,_0x57df23[_0x5da364(_0xf19509._0x36f61e,_0xf19509._0x4a645a)+_0x5da364(0x445,_0xf19509._0x294d6a)]=_0x1924d7[_0x5da364(_0xf19509._0x446b15,0x539)+_0x5da364(_0xf19509._0x4af4b4,_0xf19509._0x3071b8)],await writeStateFile(_0x57df23),console[_0x5da364(0x46a,0x4af)](_0x505c8e(_0xf19509._0x1bb7fd,0x25d)+_0x5da364(0x44c,_0xf19509._0xd5d0d8)+_0x3bddb5);}function detectInputType(_0x2d7341){const _0x27a736={_0x1b2935:0x26c,_0x5ae9e6:0x1be,_0x460261:0x1bf,_0x44c7ec:0x2f5},_0x32d616={_0x159910:0x339},_0x273ab0={};function _0x366118(_0x85534c,_0x41ced1){return _0x5dcc9e(_0x41ced1-_0x32d616._0x159910,_0x85534c);}_0x273ab0[_0x2578db(_0x27a736._0x1b2935,0x258)]=_0x2578db(0x272,0x25f)+'l';function _0x2578db(_0x456986,_0x5d25d1){return _0x5dcc9e(_0x5d25d1-0x3cc,_0x456986);}const _0x55ff7d=_0x273ab0;if(/^https?:\/\/github\.com\//[_0x366118(0x229,_0x27a736._0x5ae9e6)](_0x2d7341))return _0x2578db(_0x27a736._0x460261,0x17b);if(/^https?:\/\//['test'](_0x2d7341))return _0x55ff7d[_0x2578db(0x259,0x258)];if(_0x2d7341[_0x2578db(0x23a,0x1d3)]>0x25*0xc5+0x1855*-0x1+0x5*-0xd2)return _0x2578db(_0x27a736._0x44c7ec,0x25e)+'t';return'unknown';}const _0x200004={};_0x200004[_0x5dcc9e(-0x16e,-0x1e2)+'t']=_0x5dcc9e(-0x1bf,-0x193),_0x200004[_0x5dcc9e(-0x251,-0x2d2)]=_0x1729f2(0x29b,0x2f0),_0x200004[_0x1729f2(0x314,0x2e4)+'l']=_0x5dcc9e(-0x1b6,-0x239),_0x200004[_0x5dcc9e(-0x1b5,-0x23a)]=_0x1729f2(0x21c,0x2be);const INPUT_TYPE_NAMES=_0x200004;async function readStateFile(){const _0x77a148={_0x13a0e6:0x538},_0x710e84={'uTgXV':function(_0x3f3b09,_0x807a48){return _0x3f3b09(_0x807a48);}};function _0x58ad49(_0x497e63,_0x3da58b){return _0x5dcc9e(_0x3da58b-_0x77a148._0x13a0e6,_0x497e63);}if(!_0x710e84[_0x58ad49(0x48c,0x3f7)](existsSync,STATE_FILE_PATH))return null;const _0x200071=new StateFileManager(STATE_FILE_PATH);return _0x200071['read']();}async function writeStateFile(_0x2091e6){const _0x40918c={_0x5a1172:0x513,_0x10df55:0x3f3,_0x237edb:0x43b,_0x37f727:0x4dc,_0x329e7d:0x19f,_0x4412dc:0x502,_0xc5ee08:0x456,_0x508723:0x595,_0x3e43c0:0x15e,_0x3db496:0x173,_0x125568:0x42d,_0x1c9c90:0x415,_0x38f67d:0x24b,_0xb2a948:0x23e,_0x1605a0:0x432,_0x38a1d0:0xf5,_0x3e88a2:0x144,_0x4ef706:0x230,_0x12f9e8:0x452,_0xe477e5:0x4cf,_0x1a3a0f:0x1ef,_0x2726aa:0x1b2,_0x42ba22:0x543,_0x5c4031:0x4f8},_0x3b6657={_0x574093:0x369},_0x3ddde6={};_0x3ddde6[_0x199e00(0x238,0x1e5)]=function(_0x5a4901,_0x3a003e){return _0x5a4901<_0x3a003e;};function _0x199e00(_0x441584,_0x16642b){return _0x5dcc9e(_0x16642b-_0x3b6657._0x574093,_0x441584);}_0x3ddde6[_0x3e47bc(0x532,0x4fd)]=function(_0x59d95e,_0x2d0101){return _0x59d95e===_0x2d0101;},_0x3ddde6['EWLZy']='NYzQt';function _0x3e47bc(_0x108a35,_0x480caa){return _0x5dcc9e(_0x480caa-0x660,_0x108a35);}_0x3ddde6[_0x3e47bc(0x522,_0x40918c._0x5a1172)]=function(_0x2a8735,_0x3ae880){return _0x2a8735 instanceof _0x3ae880;},_0x3ddde6[_0x3e47bc(_0x40918c._0x10df55,_0x40918c._0x237edb)]=function(_0xac4512,_0x4c2be5){return _0xac4512-_0x4c2be5;};const _0x5288ca=_0x3ddde6;for(let _0x1c60dc=-0xb50+0x11c4+0x674*-0x1;_0x5288ca[_0x3e47bc(0x499,_0x40918c._0x37f727)](_0x1c60dc,MAX_RETRIES);_0x1c60dc++){try{const _0x10e6ba=new StateFileManager(STATE_FILE_PATH);await _0x10e6ba[_0x199e00(_0x40918c._0x329e7d,0x15a)](),await _0x10e6ba[_0x3e47bc(_0x40918c._0x4412dc,_0x40918c._0xc5ee08)](_0x2091e6);return;}catch(_0x26784b){if(_0x5288ca[_0x3e47bc(_0x40918c._0x508723,0x4fd)](_0x5288ca[_0x199e00(_0x40918c._0x3e43c0,_0x40918c._0x3db496)],_0x3e47bc(_0x40918c._0x125568,_0x40918c._0x1c9c90))){if(_0x5288ca[_0x199e00(0x2b6,0x21c)](_0x26784b,Error)&&_0x26784b[_0x199e00(_0x40918c._0x38f67d,_0x40918c._0xb2a948)][_0x3e47bc(_0x40918c._0x1605a0,0x476)](_0x199e00(0x23d,0x1ba))&&_0x5288ca['ErSts'](_0x1c60dc,_0x5288ca[_0x199e00(_0x40918c._0x38a1d0,_0x40918c._0x3e88a2)](MAX_RETRIES,0x109d+0x3*-0x172+0xc46*-0x1))){await new Promise(_0x3d267f=>setTimeout(_0x3d267f,-0x113a+-0x1482+-0x1*-0x25ee+Math[_0x199e00(0x1c1,0x185)]()*(-0x741+0x1e3+0x5c2)));continue;}throw _0x26784b;}else{_0xc08a82[_0x199e00(_0x40918c._0x4ef706,0x1ad)](_0x3e47bc(_0x40918c._0x12f9e8,_0x40918c._0xe477e5)+_0x199e00(_0x40918c._0x1a3a0f,_0x40918c._0x2726aa)+_0x3e47bc(_0x40918c._0x42ba22,_0x40918c._0x5c4031));return;}}}}export async function newProject(_0x34ec38){const _0x2fa644={_0x2ecdbd:0x432,_0x4ddec0:0x49b,_0x8ff142:0x2d8,_0x533263:0x484,_0x4656b2:0x1b9,_0x506abe:0x3c9,_0x81786e:0x49f,_0x31bd37:0x50b,_0x57b9d6:0x4da,_0x54e879:0x4af,_0x446ff2:0x226,_0x584713:0x290,_0x42c29a:0x525,_0x1265df:0x48f,_0x2e8681:0x50a,_0x5a0465:0x232,_0x373535:0x22d,_0x4450ca:0x1a3,_0x363bbc:0x4ea,_0x4dda23:0x4fd,_0x28136e:0x39f,_0x122bdf:0x3f7,_0x4815c3:0x27c,_0x2017b9:0x216},_0x5631bb={_0x408253:0x63c},_0x269ae5={'GKeIX':function(_0x120e9f,_0x4a26f3,_0xe35f60){return _0x120e9f(_0x4a26f3,_0xe35f60);},'GUjOx':_0x16db6a(0x2f4,0x2a6)},_0x4a0a2e=resolve(process[_0x16d15b(_0x2fa644._0x2ecdbd,_0x2fa644._0x4ddec0)](),_0x16db6a(_0x2fa644._0x8ff142,0x240));if(!existsSync(_0x4a0a2e)){const _0x16441={};_0x16441[_0x16db6a(0x2cc,0x21d)]=!![],_0x269ae5[_0x16d15b(0x47c,_0x2fa644._0x533263)](mkdirSync,_0x4a0a2e,_0x16441);}const _0x526f1f=generateAgentId(),_0xca705b={};_0xca705b['agentId']=_0x526f1f,_0xca705b[_0x16db6a(0x1b9,_0x2fa644._0x4656b2)]=null,_0xca705b[_0x16d15b(0x3fc,0x47f)]=[],_0xca705b[_0x16db6a(0x220,0x1a5)]=_0x16db6a(0x2f4,0x312);function _0x16d15b(_0x12f6f6,_0x9dd326){return _0x5dcc9e(_0x9dd326-_0x5631bb._0x408253,_0x12f6f6);}_0xca705b[_0x16d15b(_0x2fa644._0x506abe,0x3f6)+_0x16d15b(_0x2fa644._0x81786e,_0x2fa644._0x31bd37)]='',_0xca705b[_0x16d15b(_0x2fa644._0x57b9d6,_0x2fa644._0x54e879)+'ll']='';const _0x11576d=_0xca705b,_0x545e41={};_0x545e41[_0x16db6a(0x2b9,_0x2fa644._0x446ff2)]=_0x34ec38,_0x545e41['currentPha'+'se']=_0x269ae5[_0x16db6a(0x255,_0x2fa644._0x584713)];const _0x111cc2={};_0x111cc2[_0x526f1f]=_0x11576d;const _0x32c7b0={};_0x32c7b0[_0x16db6a(0x2ea,0x2bd)]=_0x545e41,_0x32c7b0[_0x16d15b(0x4d1,_0x2fa644._0x42c29a)]=_0x111cc2,_0x32c7b0[_0x16d15b(_0x2fa644._0x1265df,_0x2fa644._0x2e8681)+'pshot']=null;function _0x16db6a(_0x518028,_0x34ea48){return _0x5dcc9e(_0x518028-0x3ee,_0x34ea48);}await writeStateFile(_0x32c7b0),console[_0x16db6a(_0x2fa644._0x5a0465,0x1eb)]('\x0a🆕\x20项目已创建:\x20'+_0x34ec38),console['log']('\x20\x20\x20目录:\x20'+_0x4a0a2e),console['log'](_0x16db6a(_0x2fa644._0x373535,0x205)+'t:\x20'+_0x526f1f),console[_0x16db6a(0x232,_0x2fa644._0x4450ca)](_0x16d15b(_0x2fa644._0x363bbc,_0x2fa644._0x4dda23)+PIPELINE_PHASES[_0x16d15b(_0x2fa644._0x28136e,_0x2fa644._0x122bdf)](_0x33a085=>PHASE_NAMES[_0x33a085]??_0x33a085)['join'](_0x16db6a(_0x2fa644._0x4815c3,_0x2fa644._0x2017b9))+'\x0a');}export async function discussPhase(_0x308fbf){const _0x108bb5={_0x8acda:0x4,_0x31f2ab:0x4f,_0x2331fe:0x709,_0x1ae4c7:0x101,_0x5d3cc4:0x70,_0x27c789:0x683,_0x5cb20a:0x117,_0xf3c2a6:0x196,_0x3e4c75:0x5f,_0x14b29e:0xa0,_0x3b6d43:0x5da,_0x36f153:0x5e0,_0x404baf:0x10,_0x16ee55:0x95,_0x469e1e:0x72e,_0x4341fd:0x9,_0x34f222:0x625,_0x517013:0x651},_0x13f7fe={_0x9dc4a9:0x7b8};function _0x43c9a4(_0xf79d8e,_0x367fae){return _0x5dcc9e(_0x367fae-_0x13f7fe._0x9dc4a9,_0xf79d8e);}const _0x769e93={};_0x769e93['Ciasl']=function(_0x55b09d,_0x5975dc){return _0x55b09d??_0x5975dc;},_0x769e93['KxWVv']='discuss';const _0x590603=_0x769e93;function _0x184f04(_0x1ca661,_0x264098){return _0x5dcc9e(_0x1ca661-0x21b,_0x264098);}const _0x7ddb40=_0x590603[_0x184f04(0x70,0x10d)](_0x308fbf,_0x590603[_0x184f04(-_0x108bb5._0x8acda,-_0x108bb5._0x31f2ab)]),_0x14b04f=await readStateFile();if(!_0x14b04f){console['log']('⚠️\x20\x20状态文件不存在'+',请先运行\x20new-'+'project\x20命令');return;}const _0x14305c=_0x14b04f[_0x43c9a4(_0x108bb5._0x2331fe,0x6a1)];for(const _0x4989b5 of Object[_0x184f04(_0x108bb5._0x1ae4c7,_0x108bb5._0x5d3cc4)](_0x14305c)){_0x14305c[_0x4989b5][_0x43c9a4(0x5ed,0x5ea)]!==_0x184f04(-0x12,0x54)&&(_0x14305c[_0x4989b5]={..._0x14305c[_0x4989b5],'phase':_0x7ddb40});}const _0x1bde8a={};_0x1bde8a[_0x43c9a4(0x737,_0x108bb5._0x27c789)]=_0x14b04f[_0x184f04(_0x108bb5._0x5cb20a,0x115)]['name'],_0x1bde8a['currentPha'+'se']=_0x7ddb40;const _0x356ce4={};_0x356ce4[_0x43c9a4(0x71d,0x6b4)]=_0x1bde8a,_0x356ce4[_0x184f04(0x104,_0x108bb5._0xf3c2a6)]=_0x14305c,_0x356ce4[_0x43c9a4(0x6b6,0x686)+_0x184f04(0x18,-0x20)]=null,await writeStateFile(_0x356ce4);const _0x1db492=PHASE_NAMES[_0x7ddb40]??_0x7ddb40;console[_0x184f04(_0x108bb5._0x3e4c75,_0x108bb5._0x14b29e)](_0x43c9a4(_0x108bb5._0x3b6d43,_0x108bb5._0x36f153)+'\x20'+_0x1db492),console[_0x184f04(_0x108bb5._0x3e4c75,0x102)](_0x184f04(-_0x108bb5._0x404baf,-_0x108bb5._0x16ee55)+_0x14b04f[_0x184f04(0x117,0x85)][_0x43c9a4(_0x108bb5._0x469e1e,_0x108bb5._0x27c789)]),console['log'](_0x43c9a4(0x66f,0x5cc)+_0x1db492),console['log'](_0x184f04(0x83,-_0x108bb5._0x4341fd)+_0x43c9a4(_0x108bb5._0x34f222,_0x108bb5._0x517013)+'\x0a');}export async function planPhase(_0x13da46){const _0x391d04={_0x28b3a9:0x1be,_0xd5b5da:0x1d0,_0x4a8e61:0x1d9,_0x22d77d:0x1eb,_0xf434cd:0xed,_0x2f5a7d:0x2cf,_0x1420aa:0x206,_0x3ed5be:0x12f,_0x161c01:0x18d,_0x1c381a:0x94,_0x80466c:0xae,_0x1b909f:0x11e,_0x2f846b:0x206,_0x22df27:0x1e0,_0x2679b2:0x100,_0x30fc13:0x154,_0x2b2ae7:0x191,_0x399e5c:0x239,_0x5e63e3:0xc8,_0x4fdc51:0x61,_0x594c7c:0xe5,_0x282fdc:0x1a6,_0x266346:0x209,_0x5a0b28:0x226,_0x3b341f:0x29d,_0x422700:0x257,_0x1c430a:0x18c,_0x3af84d:0x225,_0x44317f:0x191,_0x1ac911:0x1d4,_0x41d40c:0x1bd,_0x3b6696:0x1c6,_0x44edd1:0x178,_0x3d8a63:0x19f,_0xf3cbbe:0x105,_0x1d776a:0x19d,_0x28981d:0x257,_0x3dc0ac:0xd5,_0x1dc101:0x128},_0xc1055d={_0x1a707a:0xf6},_0x4de52d={};_0x4de52d['swVgA']=function(_0x17ffa0,_0xae6209){return _0x17ffa0>_0xae6209;},_0x4de52d[_0x1fadbd(0x259,0x20d)]='requiremen'+'t',_0x4de52d[_0xaee9ad(0x1a1,_0x391d04._0x28b3a9)]=_0xaee9ad(0x130,0x9f)+_0x1fadbd(_0x391d04._0xd5b5da,_0x391d04._0x4a8e61)+'project\x20命令';function _0x1fadbd(_0x51bdd0,_0x4bec38){return _0x1729f2(_0x51bdd0,_0x4bec38- -_0xc1055d._0x1a707a);}_0x4de52d['tAdIr']=function(_0x21322f,_0x237f4f){return _0x21322f!==_0x237f4f;};function _0xaee9ad(_0x50365c,_0x118118){return _0x1729f2(_0x118118,_0x50365c- -0x190);}_0x4de52d[_0x1fadbd(0x214,_0x391d04._0x22d77d)]=function(_0x4ad37c,_0x1d50cb){return _0x4ad37c!==_0x1d50cb;};const _0x489c1b=_0x4de52d,_0xb07c48=_0x13da46??'plan',_0x5bcf81=await readStateFile();if(!_0x5bcf81){console[_0x1fadbd(0x20c,0x19f)](_0x489c1b[_0xaee9ad(0x1a1,_0x391d04._0xf434cd)]);return;}const _0x5b4010=_0x5bcf81['agents'];for(const _0x2f3d2b of Object[_0x1fadbd(_0x391d04._0x2f5a7d,0x241)](_0x5b4010)){if(_0x489c1b[_0x1fadbd(0x2ad,_0x391d04._0x1420aa)](_0x5b4010[_0x2f3d2b][_0x1fadbd(_0x391d04._0x3ed5be,_0x391d04._0x161c01)],_0xaee9ad(_0x391d04._0x1c381a,_0x391d04._0x80466c))){if(_0x489c1b['CXRra'](_0x1fadbd(0x187,_0x391d04._0x1b909f),'SDwfd')){if(/^https?:\/\/github\.com\//[_0x1fadbd(_0x391d04._0x2f846b,_0x391d04._0x22df27)](_0x7c9a10))return _0x1fadbd(_0x391d04._0x2679b2,0x10a);if(/^https?:\/\//[_0xaee9ad(0x146,0xa4)](_0xd738b2))return _0xaee9ad(_0x391d04._0x30fc13,_0x391d04._0x2b2ae7)+'l';if(_0x489c1b[_0x1fadbd(_0x391d04._0x399e5c,0x1ef)](_0x3919b4[_0xaee9ad(_0x391d04._0x5e63e3,_0x391d04._0x4fdc51)],0x2254+-0x35*0x8b+-0x583))return _0x489c1b[_0xaee9ad(0x173,_0x391d04._0x594c7c)];return _0x1fadbd(0x150,_0x391d04._0x282fdc);}else _0x5b4010[_0x2f3d2b]={..._0x5b4010[_0x2f3d2b],'phase':_0xb07c48};}}const _0x3e6a42={};_0x3e6a42[_0x1fadbd(_0x391d04._0x266346,_0x391d04._0x5a0b28)]=_0x5bcf81[_0x1fadbd(_0x391d04._0x3b341f,_0x391d04._0x422700)][_0xaee9ad(_0x391d04._0x1c430a,_0x391d04._0x3af84d)],_0x3e6a42[_0xaee9ad(_0x391d04._0x44317f,_0x391d04._0x1ac911)+'se']=_0xb07c48;const _0x3300d9={};_0x3300d9[_0xaee9ad(_0x391d04._0x41d40c,0x1d4)]=_0x3e6a42,_0x3300d9[_0xaee9ad(0x1aa,_0x391d04._0x3b6696)]=_0x5b4010,_0x3300d9['machineSna'+_0x1fadbd(0x1e0,0x158)]=null,await writeStateFile(_0x3300d9);const _0x18b0eb=PHASE_NAMES[_0xb07c48]??_0xb07c48;console[_0x1fadbd(_0x391d04._0x44edd1,_0x391d04._0x3d8a63)]('\x0a📝\x20进入规划阶段:'+'\x20'+_0x18b0eb),console[_0xaee9ad(_0x391d04._0xf3cbbe,_0x391d04._0x1d776a)](_0x1fadbd(0xb6,0x130)+_0x5bcf81[_0x1fadbd(0x1fd,_0x391d04._0x28981d)][_0x1fadbd(0x227,0x226)]),console['log'](_0xaee9ad(_0x391d04._0x3dc0ac,_0x391d04._0x1dc101)+_0x18b0eb),console[_0x1fadbd(0x129,0x19f)](_0x1fadbd(0x1b3,0x1c3)+'段分解任务、制定计划'+'\x0a');}function _0x1729f2(_0x13b0b9,_0x5e2f54){return _0x430c(_0x5e2f54-0x77,_0x13b0b9);}export async function executePhase(_0x4c9db1){const _0x8ab422={_0xa29925:0x90,_0x3de5e6:0x12a,_0x267919:0x1fe,_0x32d98e:0x19f,_0x1b424f:0x1c5,_0x1d6e8d:0x1af,_0x3a819:0x1a3,_0x4ed0a8:0x24e,_0x5c09c3:0x111,_0x272b52:0x83,_0x46f58d:0x314,_0x530f75:0xa7,_0x1021b7:0xa2,_0x2f6898:0x1f6,_0x3370cd:0x2cb,_0x22a859:0x22c,_0x171322:0x16f,_0x75d8f7:0x207,_0x59e33d:0x13b,_0x448f75:0x14e,_0x12c7c7:0x126,_0x5437f3:0x1ba,_0x35443f:0x2a2,_0x2fc1d1:0x2a7,_0xfa3496:0x286,_0x2e855a:0x1b5,_0x1a334f:0x24c,_0x379fcc:0x36,_0x269458:0x59,_0x529a0c:0x2a,_0x437e3f:0x85,_0x32cd7b:0x27,_0x55dd95:0x6c,_0x242645:0x2f9,_0x43bc76:0x31f,_0x303bf4:0x20b,_0x111cd9:0x111,_0xa230e4:0x89,_0x592df3:0x327,_0x3b2411:0x29b,_0x541a3e:0x2f6,_0x295491:0x31b,_0x1ee8ff:0x141,_0x17a9d0:0x28a,_0x1a7fde:0x26f,_0x2207a5:0xed},_0x41829a={_0x4eb310:0x26},_0x50555b={'jxmQY':function(_0x18d9ba,_0x9cb54e,_0x197104){return _0x18d9ba(_0x9cb54e,_0x197104);},'hMjTR':_0x395c00(-_0x8ab422._0xa29925,-_0x8ab422._0x3de5e6),'EFVAi':function(_0x5c5f96,_0x5316a6){return _0x5c5f96<_0x5316a6;},'tBnaD':function(_0x35d008,_0x30d030){return _0x35d008??_0x30d030;},'rzVVg':_0x2317c8(_0x8ab422._0x267919,0x1f5),'OiXKR':function(_0x48a535){return _0x48a535();},'BGIbb':_0x395c00(-0x12e,-_0x8ab422._0x32d98e),'ZeElu':_0x395c00(-0x1a9,-_0x8ab422._0x1b424f),'TJqYH':_0x2317c8(_0x8ab422._0x1d6e8d,0x1fe)},_0xc65f8b=_0x50555b[_0x395c00(-0x153,-0xf7)](_0x4c9db1,_0x50555b['rzVVg']),_0x382e8f=await _0x50555b[_0x395c00(-_0x8ab422._0x3a819,-_0x8ab422._0x4ed0a8)](readStateFile);if(!_0x382e8f){console[_0x395c00(-_0x8ab422._0x5c09c3,-_0x8ab422._0x272b52)]('⚠️\x20\x20状态文件不存在'+',请先运行\x20new-'+'project\x20命令');return;}const _0x32334d=_0x382e8f[_0x2317c8(0x2eb,_0x8ab422._0x46f58d)];for(const _0x2f3178 of Object[_0x2317c8(0x2bd,0x311)](_0x32334d)){if(_0x50555b['BGIbb']===_0x50555b[_0x2317c8(0x35a,0x2df)]){const _0x17e27a=_0x4df5ae[_0x1f2c3e],_0x29349f={};_0x29349f[_0x395c00(-_0x8ab422._0x530f75,-_0x8ab422._0x1021b7)]=_0x52d6d2,_0x29349f['parentId']=_0x17e27a[_0x2317c8(0x141,_0x8ab422._0x2f6898)]??_0x4fe67c;const _0x57a35b={};_0x57a35b[_0x395c00(-0x14a,-0xe4)]=_0x29349f;const _0x2a1ecf=_0x50555b[_0x2317c8(_0x8ab422._0x3370cd,_0x8ab422._0x22a859)](_0x4d25db,_0x40a7a5,_0x57a35b);_0x2a1ecf[_0x395c00(-0x138,-0xbb)]();const _0x5e8f14={};_0x5e8f14[_0x2317c8(_0x8ab422._0x171322,_0x8ab422._0x75d8f7)]=_0x50555b['hMjTR'],_0x2a1ecf[_0x2317c8(0x299,0x286)](_0x5e8f14);for(let _0x36bdcf=0x79+-0x3cb*0x1+0x352;_0x50555b[_0x2317c8(_0x8ab422._0x59e33d,0x1d5)](_0x36bdcf,_0x4d3000[_0x395c00(-_0x8ab422._0x448f75,-_0x8ab422._0x12c7c7)]);_0x36bdcf++){const _0x59fae3={};_0x59fae3[_0x395c00(-0x179,-_0x8ab422._0x5437f3)]=_0x2317c8(0x2fa,_0x8ab422._0x35443f)+_0x2317c8(_0x8ab422._0x448f75,0x1cc),_0x2a1ecf[_0x2317c8(_0x8ab422._0x2fc1d1,_0x8ab422._0xfa3496)](_0x59fae3);}_0x126015[_0x2317c8(0x1f5,0x1de)](_0x41b519,_0x2a1ecf);}else _0x32334d[_0x2f3178]['phase']!==_0x50555b[_0x2317c8(_0x8ab422._0x2e855a,_0x8ab422._0x1a334f)]&&(_0x32334d[_0x2f3178]={..._0x32334d[_0x2f3178],'phase':_0xc65f8b});}const _0xd4f5f0={};_0xd4f5f0[_0x395c00(-0x8a,-_0x8ab422._0x379fcc)]=_0x382e8f[_0x395c00(-_0x8ab422._0x269458,-_0x8ab422._0x529a0c)]['name'],_0xd4f5f0[_0x395c00(-_0x8ab422._0x437e3f,_0x8ab422._0x32cd7b)+'se']=_0xc65f8b;const _0x303970={};_0x303970['project']=_0xd4f5f0,_0x303970[_0x395c00(-_0x8ab422._0x55dd95,-0xba)]=_0x32334d,_0x303970[_0x2317c8(0x279,_0x8ab422._0x242645)+'pshot']=null,await writeStateFile(_0x303970);const _0x3eec76=PHASE_NAMES[_0xc65f8b]??_0xc65f8b;console[_0x2317c8(_0x8ab422._0x43bc76,0x26f)](_0x395c00(-0x19e,-_0x8ab422._0x303bf4)+'\x20'+_0x3eec76),console[_0x395c00(-_0x8ab422._0x111cd9,-_0x8ab422._0xa230e4)]('\x20\x20\x20项目:\x20'+_0x382e8f[_0x2317c8(0x278,_0x8ab422._0x592df3)][_0x2317c8(_0x8ab422._0x3b2411,_0x8ab422._0x541a3e)]);function _0x395c00(_0x5936d2,_0x1cef8d){return _0x1729f2(_0x1cef8d,_0x5936d2- -0x3a6);}function _0x2317c8(_0x300bac,_0x5689be){return _0x1729f2(_0x300bac,_0x5689be- -_0x41829a._0x4eb310);}console[_0x2317c8(_0x8ab422._0x295491,0x26f)](_0x395c00(-_0x8ab422._0x1ee8ff,-0xc4)+_0x3eec76),console[_0x2317c8(_0x8ab422._0x17a9d0,_0x8ab422._0x1a7fde)](_0x395c00(-_0x8ab422._0x2207a5,-0x39)+_0x2317c8(0x20a,0x2ae));}export async function verifyPhase(_0xf1d173){const _0x551643={_0x137063:0x424,_0x26e5ad:0x38e,_0x99da41:0x3b0,_0x45d904:0x37e,_0x476483:0x35d,_0x4d8672:0x391,_0x6d3c80:0x367,_0xafa54b:0x44e,_0x3f7ba9:0x3f4,_0x3ab7ab:0x42a,_0x42d778:0x43f,_0x39cc55:0x401,_0x4aa734:0x33e,_0x279ad4:0x335,_0x3e6937:0x3c9,_0x4d19d6:0x36d,_0x5d7f8d:0x3ac,_0x4c7d1:0x41d,_0x4642aa:0x2a1,_0x1f2bae:0x2fe,_0x25ba10:0x40f,_0x4b51ae:0x40c,_0x5cf8a9:0x3fc,_0xe3bee8:0x391},_0x2dbce3={_0x214ad5:0xf0},_0x297a68={_0x534d3e:0x529},_0x468a3c={'KjceO':_0x56a3bc(_0x551643._0x137063,_0x551643._0x26e5ad),'AzJYB':_0x56a3bc(_0x551643._0x99da41,_0x551643._0x45d904)+_0x56a3bc(0x3bf,_0x551643._0x476483)+'project\x20命令','IMmvg':function(_0x2e213e,_0x35226b){return _0x2e213e(_0x35226b);}},_0x2f1ad2=_0xf1d173??_0x468a3c[_0xa69ec(_0x551643._0x4d8672,0x393)],_0x16a94d=await readStateFile();if(!_0x16a94d){console[_0x56a3bc(0x385,0x334)](_0x468a3c[_0xa69ec(_0x551643._0x6d3c80,0x2f2)]);return;}const _0x5cf354=_0x16a94d[_0xa69ec(0x42b,0x412)];for(const _0x29467b of Object[_0xa69ec(_0x551643._0xafa54b,0x40f)](_0x5cf354)){_0x5cf354[_0x29467b]['phase']!==_0xa69ec(0x34f,0x2fc)&&(_0x5cf354[_0x29467b]={..._0x5cf354[_0x29467b],'phase':_0x2f1ad2});}const _0x5d7007={};function _0xa69ec(_0x9d34d0,_0x41c016){return _0x5dcc9e(_0x41c016-_0x297a68._0x534d3e,_0x9d34d0);}_0x5d7007['name']=_0x16a94d['project'][_0xa69ec(0x38b,_0x551643._0x3f7ba9)];function _0x56a3bc(_0x214e24,_0x460f70){return _0x1729f2(_0x460f70,_0x214e24-_0x2dbce3._0x214ad5);}_0x5d7007[_0x56a3bc(0x411,0x4b9)+'se']=_0x2f1ad2;const _0x165841={};_0x165841[_0x56a3bc(0x43d,0x4b2)]=_0x5d7007,_0x165841[_0x56a3bc(_0x551643._0x3ab7ab,_0x551643._0x42d778)]=_0x5cf354,_0x165841[_0x56a3bc(0x40f,_0x551643._0x39cc55)+_0x56a3bc(_0x551643._0x4aa734,_0x551643._0x279ad4)]=null,await _0x468a3c['IMmvg'](writeStateFile,_0x165841);const _0x23220b=PHASE_NAMES[_0x2f1ad2]??_0x2f1ad2;console[_0xa69ec(_0x551643._0x3e6937,_0x551643._0x4d19d6)](_0x56a3bc(_0x551643._0x5d7f8d,_0x551643._0x4c7d1)+'\x20'+_0x23220b),console['log'](_0xa69ec(_0x551643._0x4642aa,_0x551643._0x1f2bae)+_0x16a94d[_0x56a3bc(0x43d,_0x551643._0x25ba10)][_0x56a3bc(_0x551643._0x4b51ae,_0x551643._0x5cf8a9)]),console[_0xa69ec(0x2ee,0x36d)]('\x20\x20\x20当前阶段:\x20'+_0x23220b),console['log'](_0xa69ec(0x3c2,_0x551643._0xe3bee8)+'段验证成果、运行测试'+'\x0a');}export async function analyzeInput(_0x28279d){const _0x57a933={_0x1b7a5:0x42e,_0x3f099b:0x420,_0xc01b82:0x3d5,_0x266c51:0x40f,_0x19065c:0x39b,_0x29e388:0x38d,_0x6ba749:0x2f2,_0x140f53:0x422,_0x3decfe:0x414,_0x3730b5:0x406,_0xf255e4:0x40b,_0x2ada5f:0x3ea,_0x261891:0x3fb,_0x16ff35:0x443,_0x511fb5:0x46d,_0x39f215:0x408,_0x2c8145:0x3e9,_0x4c294e:0x53d,_0x359ab3:0x44e,_0x130666:0x443,_0x6a8c2a:0x4a6,_0x501e36:0x333,_0xcd1fb1:0x3ab,_0x270223:0x4d3,_0x49b42c:0x497,_0x2409fa:0x3ff,_0x3cba2b:0x3ad,_0x16edd7:0x401,_0x2669df:0x424,_0x1c559d:0x47c,_0x4053cb:0x3c6,_0x38bef0:0x386,_0x4a3c2c:0x3c8,_0xdb0e5d:0x355,_0x374009:0x3bb,_0x48ca8b:0x560,_0x2b3e40:0x50d,_0x26a633:0x505},_0x1b20c7={_0x282497:0x1e7},_0x21c51d={'XYqxH':function(_0x2a6ed6){return _0x2a6ed6();},'NlVBh':function(_0x59cb04,_0x3b65b){return _0x59cb04(_0x3b65b);},'yInNq':function(_0x4f21b4,_0x12d6d6){return _0x4f21b4>_0x12d6d6;},'HNISK':function(_0x3e4a85,_0x23f620){return _0x3e4a85+_0x23f620;},'PieGp':_0x12c949(0x44a,_0x57a933._0x1b7a5),'afAVS':_0x12c949(0x41e,0x45d),'DwUWA':_0x437065(_0x57a933._0x3f099b,0x4cd),'JLoiP':function(_0x35d8c2,_0x5e1fb4){return _0x35d8c2 instanceof _0x5e1fb4;}};function _0x437065(_0x46dcbe,_0x248e00){return _0x1729f2(_0x248e00,_0x46dcbe-_0x1b20c7._0x282497);}const _0x22fe21=await _0x21c51d[_0x437065(0x447,0x44e)](readStateFile);if(!_0x22fe21){console[_0x437065(0x47c,0x4d9)]('⚠️\x20\x20状态文件不存在'+_0x12c949(_0x57a933._0xc01b82,0x337)+_0x12c949(_0x57a933._0x266c51,0x44e));return;}const _0x3e0b1a=_0x21c51d['NlVBh'](detectInputType,_0x28279d);function _0x12c949(_0x47363e,_0x2c376c){return _0x1729f2(_0x2c376c,_0x47363e-0x106);}const _0x63c9c5=INPUT_TYPE_NAMES[_0x3e0b1a];console[_0x12c949(_0x57a933._0x19065c,_0x57a933._0x29e388)](_0x12c949(0x407,0x410)),console[_0x12c949(_0x57a933._0x19065c,_0x57a933._0x6ba749)]('\x20\x20\x20项目:\x20'+_0x22fe21['project'][_0x12c949(_0x57a933._0x140f53,_0x57a933._0x3decfe)]),console[_0x437065(0x47c,0x3e3)]('\x20\x20\x20输入类型:\x20'+_0x63c9c5),console[_0x437065(0x47c,_0x57a933._0x3730b5)](_0x437065(0x488,_0x57a933._0xf255e4)+(_0x21c51d[_0x437065(0x41a,0x425)](_0x28279d[_0x12c949(0x35e,_0x57a933._0x2ada5f)],0xe01+0x1b9d*0x1+0x2*-0x14a7)?_0x21c51d['HNISK'](_0x28279d[_0x12c949(_0x57a933._0x261891,0x3a9)](-0x237f+0x43*-0x11+-0x13f9*-0x2,0x5e*-0x1+-0x21d7+-0x2285*-0x1),_0x21c51d['PieGp']):_0x28279d)),console[_0x12c949(_0x57a933._0x19065c,0x358)](_0x437065(0x3d5,_0x57a933._0x16ff35)+_0x437065(_0x57a933._0x511fb5,0x3b7));try{const {createAnalyzeRequirementsTool:_0x19d1fd}=await import('./requirem'+_0x12c949(_0x57a933._0x39f215,_0x57a933._0x3f099b)+_0x437065(_0x57a933._0x2c8145,0x3f0)+_0x437065(0x49c,_0x57a933._0x4c294e)+'uirements.'+'js'),_0x51392a=_0x19d1fd(process[_0x437065(0x497,_0x57a933._0x359ab3)]()),_0x3d9d77={};_0x3d9d77[_0x437065(_0x57a933._0x130666,_0x57a933._0x6a8c2a)]=_0x28279d,_0x3d9d77[_0x12c949(_0x57a933._0x501e36,0x342)]=_0x12c949(0x31d,_0x57a933._0xcd1fb1);const _0x43f0c6=await _0x51392a[_0x437065(0x402,0x38c)](_0x3d9d77,{'sessionID':'','messageID':'','agent':_0x437065(_0x57a933._0x270223,0x54a),'directory':process[_0x437065(_0x57a933._0x49b42c,0x3ea)](),'worktree':process[_0x437065(0x497,0x40a)](),'abort':new AbortController()[_0x12c949(_0x57a933._0x2409fa,0x3a8)],'metadata':()=>{},'ask':async()=>{}});console[_0x12c949(0x39b,0x31d)](_0x43f0c6);}catch(_0x4b5184){if(_0x21c51d[_0x12c949(0x3dd,_0x57a933._0x3cba2b)]===_0x21c51d[_0x12c949(_0x57a933._0x16edd7,_0x57a933._0x2669df)]){_0x2b6767[_0x437065(_0x57a933._0x1c559d,0x4a5)](_0x12c949(_0x57a933._0x4053cb,_0x57a933._0x38bef0)+',请先运行\x20new-'+_0x12c949(_0x57a933._0x266c51,_0x57a933._0x4a3c2c));return;}else console[_0x12c949(_0x57a933._0xdb0e5d,_0x57a933._0x374009)]('❌\x20分析失败:\x20'+(_0x21c51d[_0x437065(0x4f3,_0x57a933._0x48ca8b)](_0x4b5184,Error)?_0x4b5184[_0x437065(_0x57a933._0x2b3e40,0x4a9)]:_0x21c51d[_0x437065(_0x57a933._0x26a633,0x530)](String,_0x4b5184)));}}export async function showProgress(){const _0x400c39={_0x9fb86a:0x478,_0x2972e6:0x37b,_0xa43142:0x335,_0x951295:0x217,_0x2a41b7:0x113,_0x2929d0:0xfb,_0x12d528:0x495,_0x45c3e1:0x35e,_0xd6a7ef:0x337,_0x527e45:0x90,_0x486d86:0x1a6,_0x3b1245:0x21f,_0x2e4794:0x22c,_0x467fb9:0x16c,_0x2b5ad6:0x16d,_0x563dc5:0x4c1,_0xb91578:0x424,_0x2bfb3e:0x180,_0x53a599:0x3c0,_0x34f32d:0x364,_0x3d7002:0x402,_0x41e9b9:0x45e,_0x314eb5:0x104,_0x34a95c:0x196,_0x8ccb8b:0x178,_0x3551e7:0x3b9,_0x444c1e:0x322,_0x582e39:0x21a,_0x52f1fd:0x173,_0x1d74de:0xf0,_0x546a1c:0x389,_0x4f424c:0x402,_0x5995de:0xee,_0x57a573:0x39f,_0x15d791:0x3b9,_0x55b527:0x3b9,_0x2a1882:0x38f,_0x4d747b:0x366,_0x5d5581:0x1d8,_0xd96352:0x1b9,_0xc5a3f:0x385,_0x15c12c:0x359,_0x4a6b37:0x3b9,_0x946c0c:0x43f,_0x43d020:0x1f6,_0xb9dab1:0xf6,_0x11c9d2:0x1a4,_0x5e78fc:0x39b,_0x5a9911:0x226,_0x5bbc0a:0x321,_0xef5a35:0x3a7,_0x2cba08:0x3e8,_0x3d0ef7:0x3bd,_0x55b2b0:0x319,_0x5b8d70:0x2b6,_0x50922f:0x31e,_0x3d012f:0x269,_0x4f0513:0x319,_0x37d826:0x2cf,_0x116af2:0x343,_0x3d34fc:0x187,_0x14c934:0x473,_0xdc9fed:0x3b9},_0x30f998={_0x3844a6:0x16},_0x103528={};_0x103528[_0x4e9bfd(_0x400c39._0x9fb86a,0x3e8)]=function(_0x321caf,_0x48ae1a){return _0x321caf===_0x48ae1a;};function _0x3f2148(_0x35e54f,_0xf6079c){return _0x5dcc9e(_0x35e54f-_0x30f998._0x3844a6,_0xf6079c);}_0x103528['xtZlw']=_0x4e9bfd(_0x400c39._0x2972e6,_0x400c39._0xa43142),_0x103528['SVpLj']=_0x3f2148(-_0x400c39._0x951295,-0x189),_0x103528[_0x3f2148(-_0x400c39._0x2a41b7,-_0x400c39._0x2929d0)]='waATE',_0x103528['lTMJY']=function(_0x422174,_0x5be13a){return _0x422174*_0x5be13a;},_0x103528['tEgDC']='\x20\x20\x20📈\x20阶段分布:',_0x103528[_0x3f2148(-0x1ef,-0x299)]=function(_0x5a842c,_0x2909a4){return _0x5a842c+_0x2909a4;},_0x103528['cdJfI']=function(_0x307653,_0x816981){return _0x307653>_0x816981;},_0x103528['iSRIP']=_0x3f2148(-0x23f,-0x1ce)+_0x3f2148(-0x141,-0x152)+_0x3f2148(-0x16a,-0x1a5)+_0x4e9bfd(0x422,_0x400c39._0x12d528)+_0x4e9bfd(_0x400c39._0x45c3e1,_0x400c39._0xd6a7ef)+'\x20\x20\x20\x20\x20\x20\x20\x20|\x20'+'工具',_0x103528[_0x3f2148(-0x226,-0x200)]=_0x3f2148(-0x14e,-0x103);const _0x29c92b=_0x103528,_0x167fd6=await readStateFile();if(!_0x167fd6){if(_0x29c92b['RagEQ']!==_0x3f2148(-0xf5,-_0x400c39._0x527e45)){console[_0x3f2148(-_0x400c39._0x486d86,-_0x400c39._0x3b1245)](_0x3f2148(-0x17b,-_0x400c39._0x2e4794)+_0x3f2148(-_0x400c39._0x467fb9,-_0x400c39._0x2b5ad6)+_0x4e9bfd(0x42d,0x38b));return;}else{const _0x40fc64=_0x54a015[_0x4e9bfd(0x415,_0x400c39._0x563dc5)+'t'](),_0x19ca03=_0x29c92b[_0x4e9bfd(_0x400c39._0x9fb86a,_0x400c39._0xb91578)](typeof _0x40fc64['value'],_0x29c92b[_0x3f2148(-0x18d,-_0x400c39._0x2bfb3e)])?_0x40fc64[_0x3f2148(-0x203,-0x17e)]:_0x4e9bfd(_0x400c39._0x53a599,_0x400c39._0x34f32d);if(_0x19ca03!==_0x29c92b[_0x4e9bfd(_0x400c39._0x3d7002,0x38f)])return;}}const _0x451c4b=_0x167fd6[_0x4e9bfd(_0x400c39._0x41e9b9,0x4f6)],_0x563cfb=Object[_0x3f2148(-_0x400c39._0x314eb5,-0x11f)](_0x451c4b);function _0x4e9bfd(_0x5b2cf4,_0x1a3c4c){return _0x5dcc9e(_0x5b2cf4-0x575,_0x1a3c4c);}const _0x1b0537=_0x563cfb[_0x3f2148(-0x1e3,-0x1c3)],_0x3a8e5b=_0x563cfb[_0x3f2148(-_0x400c39._0x34a95c,-0x1c8)](_0x3a1776=>_0x451c4b[_0x3a1776][_0x3f2148(-0x1b8,-0x1e0)]===_0x3f2148(-0x217,-0x2ae))['length'],_0x5ad9c6=_0x1b0537>0xb*-0xc5+0x1f*-0x2f+0xe28?Math['round'](_0x29c92b[_0x3f2148(-_0x400c39._0x8ccb8b,-0x1d8)](_0x3a8e5b/_0x1b0537,0x2024+0x3*-0x4df+-0x1123)):-0xfa4+0x19c*-0x11+0x20*0x158,_0x2183c4={};for(const _0x34862c of _0x563cfb){const _0x3facc3=_0x451c4b[_0x34862c]['phase'];_0x2183c4[_0x3facc3]=(_0x2183c4[_0x3facc3]??-0x65*-0x7+0x143b+-0x16fe*0x1)+(-0x1*0xb6f+0x8b*-0x3a+0x7*0x622);}console[_0x4e9bfd(_0x400c39._0x3551e7,_0x400c39._0x444c1e)](_0x3f2148(-_0x400c39._0x582e39,-_0x400c39._0x52f1fd)+_0x167fd6[_0x4e9bfd(0x471,0x3d4)]['name']),console[_0x3f2148(-0x1a6,-_0x400c39._0x1d74de)](_0x4e9bfd(_0x400c39._0x546a1c,_0x400c39._0x4f424c)+(PHASE_NAMES[_0x167fd6[_0x3f2148(-0xee,-0xa4)][_0x3f2148(-0x11a,-0x121)+'se']]??_0x167fd6[_0x3f2148(-_0x400c39._0x5995de,-0xbb)][_0x4e9bfd(0x445,_0x400c39._0x57a573)+'se'])),console[_0x4e9bfd(_0x400c39._0x15d791,_0x400c39._0x55b527)](_0x4e9bfd(_0x400c39._0x2a1882,_0x400c39._0x4d747b)+_0x167fd6[_0x3f2148(-_0x400c39._0x5d5581,-_0x400c39._0xd96352)]),console['log']('\x20\x20\x20更新时间:\x20'+_0x167fd6[_0x4e9bfd(_0x400c39._0xc5a3f,0x422)]),console[_0x4e9bfd(_0x400c39._0x15d791,0x383)]('\x20\x20\x20完成度:\x20'+_0x5ad9c6+_0x4e9bfd(_0x400c39._0x15c12c,0x2b1)+_0x3a8e5b+'/'+_0x1b0537+_0x4e9bfd(0x3c3,0x3da)),console[_0x4e9bfd(_0x400c39._0x4a6b37,_0x400c39._0x946c0c)](_0x29c92b['tEgDC']);for(const [_0x2c7a10,_0x525c0a]of Object[_0x4e9bfd(0x44b,0x3f6)](_0x2183c4)){const _0x18ff84=PHASE_NAMES[_0x2c7a10]??_0x2c7a10,_0x22d6ff=_0x29c92b[_0x3f2148(-0x1ef,-0x26f)]('█'[_0x3f2148(-_0x400c39._0x43d020,-0x187)](_0x525c0a),'░'[_0x3f2148(-_0x400c39._0x43d020,-0x1a0)](Math[_0x3f2148(-_0x400c39._0xb9dab1,-0x146)](0x266*0xb+-0x71+-0x19f1,_0x1b0537-_0x525c0a)));console[_0x4e9bfd(0x3b9,0x426)]('\x20\x20\x20\x20\x20\x20'+_0x18ff84['padEnd'](-0x224b*0x1+-0xa97+0x2cf0)+'\x20'+_0x22d6ff+'\x20'+_0x525c0a);}console[_0x3f2148(-0x1a6,-_0x400c39._0x11c9d2)]();if(_0x29c92b['cdJfI'](_0x563cfb['length'],0x23cd+0x5*-0x2b8+-0x1635)){console[_0x4e9bfd(_0x400c39._0x4a6b37,0x437)](_0x4e9bfd(_0x400c39._0x5e78fc,0x389)+'\x20详情:'),console['log'](_0x29c92b['iSRIP']),console['log'](_0x29c92b[_0x3f2148(-_0x400c39._0x5a9911,-0x230)]+'-'[_0x4e9bfd(0x369,_0x400c39._0x5bbc0a)](0x1c*0xe3+-0xb66+-0xd1e));for(const _0xceb80 of _0x563cfb){if('Cxfmn'===_0x4e9bfd(0x3cb,0x435)){const _0x324f67=_0x451c4b[_0xceb80],_0x1859eb=PHASE_NAMES[_0x324f67['phase']]??_0x324f67[_0x4e9bfd(_0x400c39._0xef5a35,0x389)],_0x480948=_0x324f67[_0x4e9bfd(0x32f,0x37a)+'ration']||'-',_0x2a724f=_0x324f67[_0x4e9bfd(_0x400c39._0x2cba08,_0x400c39._0x3d0ef7)+'ll']||'-';console['log']('\x20\x20\x20'+_0xceb80[_0x4e9bfd(_0x400c39._0x55b2b0,_0x400c39._0x5b8d70)](0x2a*-0x7+0x22b0+0xe*-0x264)+_0x4e9bfd(_0x400c39._0x50922f,0x2c5)+_0x1859eb[_0x4e9bfd(0x319,_0x400c39._0x3d012f)](0x2d9*0x8+-0xf*0x13a+0x115*-0x4)+_0x3f2148(-0x241,-0x2e7)+_0x480948[_0x4e9bfd(_0x400c39._0x4f0513,_0x400c39._0x37d826)](0xc8f*-0x3+-0xb*0x2ef+0x4607)+'\x20|\x20'+_0x2a724f);}else{_0x53356c[_0x4e9bfd(_0x400c39._0x55b527,_0x400c39._0x116af2)](_0x3f2148(-0xe9,-_0x400c39._0x3d34fc)+_0x1aa296+_0x4e9bfd(0x3ee,_0x400c39._0x14c934));return;}}console[_0x4e9bfd(_0x400c39._0xdc9fed,0x3ea)]();}}export async function quickTask(_0x17ec35){const _0x2e6577={_0x500eed:0x2a4,_0x3ce1c4:0x23d,_0x496a2e:0x20d,_0x1e3a5c:0x244,_0x350f18:0x298,_0x3edf43:0x261,_0x2e45ed:0x1db,_0x82a591:0x231,_0x79f61a:0x370,_0xc1ac4b:0x28d,_0x322ca5:0x295,_0x477a1f:0x16a,_0x1cdab1:0x17e,_0x140966:0x2d1,_0x15a53c:0x2bc,_0x7e4384:0x2c1,_0x1ffc36:0x345,_0x20a5e4:0x2e8,_0x1a8119:0x2aa,_0xa00501:0x333,_0x59c61b:0x229,_0x2b9069:0x15c,_0x3e66cc:0x17e,_0x44aa43:0x287,_0x184243:0x235,_0x511d59:0x1ec,_0x307996:0x235,_0x6b8dce:0x281,_0x1a4e0d:0x1f2,_0x3f689c:0x17e},_0x59ebe1={_0x560e79:0x3ae},_0x2f325e={_0x48437c:0x3f1},_0x2323e7={'mZFgJ':function(_0x2d86e1){return _0x2d86e1();},'HUHNq':function(_0x531020,_0x3a13b5,_0x23950f){return _0x531020(_0x3a13b5,_0x23950f);},'GtSoO':function(_0x253fbf,_0x549050){return _0x253fbf(_0x549050);},'XaQtd':'quick'},_0x36df5e=await _0x2323e7[_0x22cc20(0x224,0x282)](readStateFile);if(!_0x36df5e){const _0x5c7bb3=_0x2323e7[_0xd6ec19(_0x2e6577._0x500eed,_0x2e6577._0x3ce1c4)](resolve,process[_0x22cc20(_0x2e6577._0x496a2e,_0x2e6577._0x1e3a5c)](),_0x22cc20(_0x2e6577._0x350f18,_0x2e6577._0x3edf43));if(!_0x2323e7[_0xd6ec19(_0x2e6577._0x2e45ed,_0x2e6577._0x82a591)](existsSync,_0x5c7bb3)){const _0xabe70c={};_0xabe70c[_0xd6ec19(0x2b1,0x2cf)]=!![],_0x2323e7['HUHNq'](mkdirSync,_0x5c7bb3,_0xabe70c);}}const _0x11042b=_0x36df5e?.['project'][_0xd6ec19(_0x2e6577._0x79f61a,0x2bc)]??_0x22cc20(_0x2e6577._0xc1ac4b,0x26f);function _0xd6ec19(_0x23d1d0,_0x157ba7){return _0x5dcc9e(_0x157ba7-_0x2f325e._0x48437c,_0x23d1d0);}const _0x3c934a=_0x36df5e?Object['keys'](_0x36df5e['agents'])[0x1315*-0x1+0x237a+-0x1065*0x1]??generateAgentId():_0x2323e7[_0x22cc20(0x224,_0x2e6577._0x322ca5)](generateAgentId),_0x27bdff={'agentId':_0x3c934a,'parentId':null,'childIds':[],'phase':_0x22cc20(0x178,_0x2e6577._0x477a1f),'currentOperation':_0x17ec35[_0xd6ec19(0x348,_0x2e6577._0x322ca5)](-0x74e+-0x48+0x1*0x796,-0x4*-0x9a+0x2c*0x3b+-0xc28),'currentSkill':_0xd6ec19(_0x2e6577._0x1cdab1,0x19f)};function _0x22cc20(_0x2647e5,_0x5e1742){return _0x5dcc9e(_0x2647e5-_0x59ebe1._0x560e79,_0x5e1742);}const _0x4f0c99={};_0x4f0c99[_0xd6ec19(_0x2e6577._0x140966,_0x2e6577._0x15a53c)]=_0x11042b,_0x4f0c99[_0xd6ec19(0x25f,_0x2e6577._0x7e4384)+'se']=_0x2323e7[_0xd6ec19(_0x2e6577._0x1ffc36,_0x2e6577._0x20a5e4)];const _0x5ea301={};_0x5ea301[_0x3c934a]=_0x27bdff;const _0x3cafea={};_0x3cafea[_0x22cc20(_0x2e6577._0x1a8119,_0x2e6577._0xa00501)]=_0x4f0c99,_0x3cafea[_0x22cc20(0x297,0x277)]=_0x5ea301,_0x3cafea[_0x22cc20(0x27c,_0x2e6577._0x59c61b)+_0x22cc20(0x1ab,_0x2e6577._0x2b9069)]=null,await writeStateFile(_0x3cafea),console[_0x22cc20(0x1f2,_0x2e6577._0x3e66cc)](_0xd6ec19(_0x2e6577._0x44aa43,0x21d)),console[_0xd6ec19(0x1d2,_0x2e6577._0x184243)](_0x22cc20(0x183,_0x2e6577._0x511d59)+_0x11042b),console['log']('\x20\x20\x20任务:\x20'+_0x17ec35),console[_0xd6ec19(0x2b9,_0x2e6577._0x307996)](_0x22cc20(_0x2e6577._0x6b8dce,0x268)+_0x3c934a),console[_0x22cc20(_0x2e6577._0x1a4e0d,0x1ad)]('\x20\x20\x20提示:\x20快速任'+_0xd6ec19(0x1d9,0x1ce)+_0x22cc20(0x206,_0x2e6577._0x3f689c));}function findFirstIncompleteAgent(_0x4cf85f){const _0x9549a={_0x17c73c:0x16b,_0x59a6bc:0x205,_0x554bae:0x252,_0x167b02:0x26d,_0x468645:0x205,_0x5f1820:0x25,_0x45a925:0x246,_0xba3bc7:0x213,_0x557c27:0x50,_0x30e37d:0x22e,_0xe2eeb0:0x18f,_0x23baa0:0x205,_0x14d373:0x1a0,_0x556e7c:0x13,_0x1a2b90:0x313,_0x25b766:0x270,_0x149d11:0x232},_0x2ef4f3={};_0x2ef4f3[_0x4b0865(0x99,0xf2)]=function(_0x23dc7b,_0x1edabb){return _0x23dc7b-_0x1edabb;},_0x2ef4f3[_0x5ac118(_0x9549a._0x17c73c,_0x9549a._0x59a6bc)]=function(_0x4f95d2,_0x58cb48){return _0x4f95d2===_0x58cb48;},_0x2ef4f3[_0x4b0865(-0x3f,-0x2)]=function(_0x2cc7e5,_0xcba472){return _0x2cc7e5!==_0xcba472;},_0x2ef4f3[_0x4b0865(0xa,-0x15)]=_0x5ac118(0x28a,0x1ff);function _0x5ac118(_0x203106,_0x4e8643){return _0x1729f2(_0x203106,_0x4e8643- -0x25);}_0x2ef4f3['TTTyF']=_0x5ac118(_0x9549a._0x554bae,0x21f);const _0x4a20f7=_0x2ef4f3;for(const [_0x12b7a9,_0x3c91d9]of _0x4cf85f){const _0x30685b=_0x3c91d9['getSnapsho'+'t'](),_0x1dac9b=_0x4a20f7[_0x5ac118(_0x9549a._0x167b02,_0x9549a._0x468645)](typeof _0x30685b['value'],_0x4b0865(_0x9549a._0x5f1820,0x64))?_0x30685b[_0x5ac118(_0x9549a._0x45a925,_0x9549a._0xba3bc7)]:_0x4b0865(0x6a,0x117);if(_0x4a20f7[_0x4b0865(-0x3f,_0x9549a._0x557c27)](_0x1dac9b,_0x4a20f7[_0x5ac118(_0x9549a._0x30e37d,0x217)])){if(_0x4a20f7[_0x5ac118(_0x9549a._0xe2eeb0,_0x9549a._0x23baa0)](_0x5ac118(_0x9549a._0x14d373,0x21f),_0x4a20f7[_0x5ac118(0x27a,0x29c)]))return _0x12b7a9;else{const _0x1d8527=_0x34c456[_0x4c6fcd]??_0x25af79,_0x4fa46d='█'[_0x5ac118(0x28c,0x220)](_0x1c68ca)+'░'[_0x4b0865(_0x9549a._0x556e7c,0x76)](_0x3bc1da[_0x5ac118(0x36a,0x320)](0x1b94+0x921+-0x24b5,_0x4a20f7['piKmC'](_0x503b71,_0x49daa1)));_0x50c051[_0x5ac118(_0x9549a._0x1a2b90,_0x9549a._0x25b766)](_0x5ac118(_0x9549a._0x149d11,0x1ec)+_0x1d8527['padEnd'](0x93+-0x437*-0x5+0x1598*-0x1)+'\x20'+_0x4fa46d+'\x20'+_0x4f2921);}}}function _0x4b0865(_0x3f16bf,_0x49c085){return _0x1729f2(_0x49c085,_0x3f16bf- -0x232);}return null;}function checkAllComplete(){const _0x151361={_0x2af77e:0x398,_0x324d92:0x3b6,_0x54be8b:0x40,_0x8e83b2:0x34,_0x565890:0x14,_0x3e2e49:0x8f,_0x384f82:0x3d7,_0x73490b:0x2e4,_0x524bca:0x2a5,_0x4104e7:0x241,_0x1f1e32:0x6c,_0x1db670:0x269,_0x15492f:0x398,_0xf0b073:0x39b,_0x40139c:0x2ae,_0x233953:0x307,_0x53a18d:0x6b,_0x17f0e8:0xd8,_0x19214d:0x271,_0x3bab13:0x1f6,_0x436c28:0x33,_0x4ddad8:0x349,_0xaa93f4:0x67,_0x51eea7:0x2,_0x4994cf:0x77,_0xbe0b9f:0x74,_0x5b21b2:0x2d,_0xf399aa:0xe4,_0x113e44:0x34f,_0x2136d2:0x2cc,_0x5ec03f:0x265,_0x21fe8b:0x293,_0x11f5d4:0x257,_0x4d4a08:0x275,_0x1c7b2a:0x316,_0x4585f7:0x354,_0x23fccf:0x54,_0xfea4ca:0x24,_0x1ab15b:0x9c,_0x7bc0c9:0x1,_0x18a1b2:0x2f4,_0x33151f:0x23e,_0x598b05:0x1e8,_0x1d6c1f:0x361,_0x479e6c:0x4b,_0x407c92:0x3a,_0x40f319:0x3b,_0x5f205e:0xb1,_0x2ada60:0x15,_0x165d2a:0x23a,_0x2e1d08:0x22f,_0xf0174e:0x2f4},_0x1aa623={};_0x1aa623[_0x141fd6(_0x151361._0x2af77e,_0x151361._0x324d92)]=function(_0x1e053d,_0x415a89){return _0x1e053d===_0x415a89;},_0x1aa623[_0x30c4a2(_0x151361._0x54be8b,-_0x151361._0x8e83b2)]=_0x141fd6(0x251,0x29c),_0x1aa623[_0x141fd6(0x271,0x214)]=function(_0x9dc27,_0xc78b56){return _0x9dc27===_0xc78b56;},_0x1aa623[_0x30c4a2(0xcd,0x134)]=_0x30c4a2(-_0x151361._0x565890,_0x151361._0x3e2e49),_0x1aa623[_0x141fd6(0x385,_0x151361._0x384f82)]=_0x141fd6(_0x151361._0x73490b,_0x151361._0x524bca),_0x1aa623[_0x141fd6(0x2b1,0x2d0)]=function(_0x16b1d2,_0x188c53){return _0x16b1d2!==_0x188c53;};function _0x30c4a2(_0x2ef65e,_0x3aab9e){return _0x5dcc9e(_0x2ef65e-0x1e6,_0x3aab9e);}function _0x141fd6(_0x346476,_0x3decc3){return _0x5dcc9e(_0x346476-0x499,_0x3decc3);}_0x1aa623['GImBc']=_0x141fd6(_0x151361._0x4104e7,0x2d8)+_0x30c4a2(-0x79,-_0x151361._0x1f1e32);const _0x819781=_0x1aa623;if(!activeEngine)return;for(const [,_0x35a0a9]of activeEngine[_0x141fd6(0x2f2,_0x151361._0x1db670)]){if(_0x819781[_0x141fd6(_0x151361._0x15492f,_0x151361._0xf0b073)](_0x141fd6(_0x151361._0x40139c,_0x151361._0x233953),_0x819781[_0x30c4a2(0x40,-_0x151361._0x53a18d)])){_0x3f3289[_0x141fd6(0x2dd,0x2d6)]('['+_0x25ca71+_0x30c4a2(_0x151361._0x17f0e8,0x111));return;}else{const _0x36e973=_0x35a0a9[_0x141fd6(0x339,0x373)+'t'](),_0x4640da=_0x819781[_0x141fd6(_0x151361._0x19214d,_0x151361._0x3bab13)](typeof _0x36e973[_0x30c4a2(-_0x151361._0x436c28,-0x9b)],_0x819781[_0x141fd6(0x380,_0x151361._0x4ddad8)])?_0x36e973[_0x30c4a2(-0x33,-_0x151361._0xaa93f4)]:_0x819781[_0x141fd6(0x385,0x3f8)];if(_0x819781[_0x30c4a2(-_0x151361._0x51eea7,_0x151361._0x4994cf)](_0x4640da,'completed'))return;}}console[_0x141fd6(0x2dd,0x350)](_0x30c4a2(-_0x151361._0xbe0b9f,-_0x151361._0x5b21b2)+_0x30c4a2(_0x151361._0xf399aa,0x5f));if(activeEngine['supervisor'+_0x141fd6(_0x151361._0x113e44,0x2e5)]){for(const [_0x1aaefb]of activeEngine[_0x30c4a2(0x3f,0x52)]){const _0x4974c2={};_0x4974c2[_0x141fd6(_0x151361._0x2136d2,_0x151361._0x5ec03f)]=_0x141fd6(_0x151361._0x21fe8b,_0x151361._0x11f5d4);const _0x25e4d3={};_0x25e4d3[_0x141fd6(_0x151361._0x4d4a08,0x258)]=_0x819781[_0x141fd6(_0x151361._0x1c7b2a,_0x151361._0x4585f7)],_0x25e4d3[_0x30c4a2(_0x151361._0x23fccf,-_0x151361._0xfea4ca)]=_0x1aaefb,_0x25e4d3['result']=_0x4974c2,activeEngine['supervisor'+_0x30c4a2(_0x151361._0x1ab15b,-_0x151361._0x7bc0c9)][_0x141fd6(_0x151361._0x18a1b2,_0x151361._0x33151f)](_0x25e4d3);}const _0xd15c52={};_0xd15c52[_0x141fd6(0x275,_0x151361._0x598b05)]=_0x141fd6(_0x151361._0x1d6c1f,0x327)+_0x30c4a2(_0x151361._0x479e6c,-_0x151361._0x407c92),activeEngine[_0x30c4a2(-_0x151361._0x40f319,-_0x151361._0x5f205e)+_0x30c4a2(0x9c,0x133)][_0x141fd6(_0x151361._0x18a1b2,0x309)](_0xd15c52);const _0x41dd64={};_0x41dd64[_0x30c4a2(-0x3e,-_0x151361._0x2ada60)]=_0x30c4a2(0x5d,0xe7)+_0x141fd6(_0x151361._0x165d2a,_0x151361._0x2e1d08),activeEngine[_0x30c4a2(-0x3b,0x32)+'Actor'][_0x141fd6(_0x151361._0xf0174e,0x292)](_0x41dd64);}}const MAX_RETRIES=0x1979+-0x2*-0x139+-0x2*0xdf3;async function persistCurrentState(){const _0x8a4007={_0x38a863:0xf4,_0x3c07c1:0xbc,_0x5c4b3d:0xcb,_0x11c753:0x23f,_0x5058bb:0xb3,_0x2ef3eb:0x5d,_0x2daea1:0x7c,_0x5832d8:0x150,_0x1cf524:0x10,_0x5e59ea:0xb9,_0x4c2264:0x166,_0x29da52:0x131,_0xd51b99:0xe0,_0x5bc2c7:0x2d,_0x32cad6:0x193,_0x2ba051:0x1c4,_0x298311:0x39,_0x3347d7:0xea,_0x4b588e:0x15a,_0xbd6165:0x99,_0x2b26cf:0x12b,_0x35af08:0x78,_0x592118:0x20,_0x2f0362:0x33,_0x4c842f:0x1bc,_0x12653c:0x56,_0x312854:0xeb,_0x56d9e5:0x82},_0x190d28={_0x2665ab:0x2ee},_0x2ac299={'IbmVl':function(_0x2c0af4,_0x1faca7){return _0x2c0af4(_0x1faca7);},'WMtAj':'completed','UhQvK':function(_0x1ce51d,_0x2c2ec0){return _0x1ce51d===_0x2c2ec0;},'bUzim':_0x5d19f1(0xc2,_0x8a4007._0x38a863),'NcApg':function(_0x17513d,_0x26570c){return _0x17513d<_0x26570c;},'LJGio':function(_0xb8aae7,_0x47f762){return _0xb8aae7===_0x47f762;},'epKjz':_0x2b65df(-_0x8a4007._0x3c07c1,-_0x8a4007._0x5c4b3d),'VgcCa':function(_0x41e002,_0x3eb26d){return _0x41e002<_0x3eb26d;}};if(!activeEngine)return;const {projectName:_0x4de238,actors:_0x2fa668}=activeEngine,_0x43248a=await readStateFile(),_0x5ee825={};if(_0x43248a)for(const [_0x3dd65c,_0x3e0ac1]of Object['entries'](_0x43248a[_0x5d19f1(_0x8a4007._0x11c753,0x1d7)])){!_0x2fa668[_0x5d19f1(0x94,0xb5)](_0x3dd65c)&&(_0x5ee825[_0x3dd65c]=_0x3e0ac1);}const _0x50d8b3={};let _0x2f9aab=_0x2ac299[_0x5d19f1(0x130,0x1dd)];for(const [_0x1fd9ad,_0x8e27d3]of _0x2fa668){if(_0x5d19f1(0x14a,0x1c6)===_0x2b65df(-0xfc,-_0x8a4007._0x5058bb))_0x98dc79[_0x5d19f1(0x13d,0xec)](_0x2b65df(-0x169,-0x103)+(_0x10e130 instanceof _0x1aef75?_0x1aafa3['message']:_0x2ac299[_0x2b65df(-0x129,-0x14e)](_0x5885f2,_0x50ceb0)));else{const _0x122131=_0x8e27d3[_0x2b65df(-_0x8a4007._0x2ef3eb,-_0x8a4007._0x2daea1)+'t'](),_0x1b4265=_0x2ac299['UhQvK'](typeof _0x122131[_0x5d19f1(0x46,0xd5)],_0x2ac299['bUzim'])?_0x122131[_0x2b65df(-0x11c,-0x135)]:'idle';_0x50d8b3[_0x1fd9ad]={'agentId':_0x1fd9ad,'parentId':_0x122131[_0x5d19f1(0xef,_0x8a4007._0x5832d8)]?.[_0x5d19f1(_0x8a4007._0x1cf524,_0x8a4007._0x5e59ea)]??null,'childIds':_0x122131[_0x2b65df(-_0x8a4007._0x4c2264,-0xba)]?.[_0x5d19f1(0xac,_0x8a4007._0x29da52)]??[],'phase':_0x1b4265,'currentOperation':_0x122131[_0x5d19f1(0xa3,0x150)]?.[_0x5d19f1(0x69,0xa8)+'ration']??'','currentSkill':_0x122131[_0x5d19f1(_0x8a4007._0xd51b99,0x150)]?.['currentSki'+'ll']??''},_0x1b4265!==_0x2ac299[_0x2b65df(-0x4,-_0x8a4007._0x5bc2c7)]&&(_0x2f9aab=_0x1b4265);}}function _0x5d19f1(_0x4cbde6,_0x12aa7a){return _0x5dcc9e(_0x12aa7a-_0x190d28._0x2665ab,_0x4cbde6);}const _0x301356={..._0x5ee825,..._0x50d8b3},_0x4d9fd0=_0x301356;for(const [,_0x3775e7]of Object[_0x5d19f1(_0x8a4007._0x32cad6,_0x8a4007._0x2ba051)](_0x5ee825)){_0x3775e7[_0x2b65df(-_0x8a4007._0x298311,-_0x8a4007._0x3347d7)]!==_0x5d19f1(0xd0,0xc1)&&(_0x2f9aab=_0x3775e7[_0x2b65df(-0x137,-_0x8a4007._0x3347d7)]);}function _0x2b65df(_0x2e2bd4,_0x4efafb){return _0x5dcc9e(_0x4efafb-0xe4,_0x2e2bd4);}for(let _0x386fa0=0xf1*-0x5+-0x1*0x2fc+0x7b1;_0x2ac299['NcApg'](_0x386fa0,MAX_RETRIES);_0x386fa0++){if(_0x2ac299[_0x5d19f1(0x1ff,_0x8a4007._0x4b588e)]('hBrVw','hBrVw'))try{const _0x5c0f59=new StateFileManager(STATE_FILE_PATH);await _0x5c0f59[_0x2b65df(-_0x8a4007._0xbd6165,-_0x8a4007._0x2b26cf)]();const _0xfe71c4={};_0xfe71c4['name']=_0x4de238,_0xfe71c4['currentPha'+'se']=_0x2f9aab;const _0x552754={};_0x552754[_0x2b65df(-_0x8a4007._0x35af08,-_0x8a4007._0x592118)]=_0xfe71c4,_0x552754[_0x2b65df(-0xcd,-_0x8a4007._0x2f0362)]=_0x4d9fd0,_0x552754[_0x5d19f1(0x1c1,_0x8a4007._0x4c842f)+_0x5d19f1(_0x8a4007._0x12653c,_0x8a4007._0x312854)]=null,await _0x5c0f59['write'](_0x552754);return;}catch(_0x3253a8){if(_0x3253a8 instanceof Error&&_0x3253a8['message'][_0x2b65df(-0x6f,-0x106)](_0x2ac299['epKjz'])&&_0x2ac299[_0x5d19f1(_0x8a4007._0x56d9e5,0x10c)](_0x386fa0,MAX_RETRIES-(0x612+0xc9*0x14+-0x15c5))){await new Promise(_0x3f344c=>setTimeout(_0x3f344c,-0xe92+-0xf3*-0x1+0xdd1+Math['random']()*(-0xb*0x336+0x1*-0x6a3+0x1*0x2a59)));continue;}throw _0x3253a8;}else _0xdfd19c=_0x2ac299['WMtAj'];}}export async function analyzeRequirements(_0x5f30db,_0x308db5=_0x1729f2(0x1aa,0x217),_0x162c00){const _0x2d2c3c={_0x543a01:0x36b,_0x2ca8b6:0x125,_0x418e52:0x3a1,_0x423b63:0x187,_0x5825ec:0x3c9,_0x3a2481:0x340,_0x27543c:0x314,_0x1ba823:0x39d,_0x3f9c68:0x28e,_0x4d8d10:0x2df,_0x5366ed:0x334,_0x109113:0x39c,_0x12ed7a:0x35d,_0x4c576f:0x2a1,_0x2fa3b0:0x32f,_0x401898:0x14e,_0x90b82a:0x2d8,_0xc13401:0x17d,_0x21a55f:0x1eb,_0x28d2b2:0x193,_0x338530:0x163,_0x13116c:0x3be,_0x57018c:0x32f,_0x586e77:0x283,_0x47fc90:0x1bb,_0x9dbf8b:0x218,_0xd3a231:0xf3},_0x3b23b7={_0x5bbdbc:0x343};function _0x1b5247(_0x4bc20d,_0x31e7ff){return _0x5dcc9e(_0x31e7ff-0x4d0,_0x4bc20d);}const _0x1388af={'DKlmI':function(_0x10f495,_0x1f958f,_0x1ca457){return _0x10f495(_0x1f958f,_0x1ca457);},'DRkmo':function(_0x34bfea,_0x198574){return _0x34bfea(_0x198574);},'dWoVD':function(_0x171737,_0x555208){return _0x171737(_0x555208);},'zwAqf':_0x1b5247(0x33b,_0x2d2c3c._0x543a01)};console[_0x15c451(_0x2d2c3c._0x2ca8b6,0x187)](_0x1b5247(0x3e0,_0x2d2c3c._0x418e52));function _0x15c451(_0x5f09e6,_0x3e8afe){return _0x5dcc9e(_0x3e8afe-_0x3b23b7._0x5bbdbc,_0x5f09e6);}console[_0x15c451(0x18f,_0x2d2c3c._0x423b63)](_0x1b5247(0x46b,_0x2d2c3c._0x5825ec)+_0x5f30db),console[_0x1b5247(_0x2d2c3c._0x3a2481,_0x2d2c3c._0x27543c)](_0x1b5247(_0x2d2c3c._0x1ba823,0x306)+_0x308db5);if(_0x162c00)console[_0x1b5247(_0x2d2c3c._0x3f9c68,_0x2d2c3c._0x27543c)]('\x20\x20\x20输出:\x20'+_0x162c00);console['log']();try{const {createAnalyzeRequirementsTool:_0x3b2680}=await import('./requirem'+'ent-analys'+_0x15c451(0x138,0xf4)+_0x1b5247(_0x2d2c3c._0x4d8d10,_0x2d2c3c._0x5366ed)+_0x1b5247(_0x2d2c3c._0x109113,0x327)+'js'),_0x4be56d=_0x1388af[_0x1b5247(_0x2d2c3c._0x12ed7a,0x2d9)](_0x3b2680,process[_0x1b5247(_0x2d2c3c._0x4c576f,_0x2d2c3c._0x2fa3b0)]()),_0x2b127d={};_0x2b127d[_0x15c451(0x13b,_0x2d2c3c._0x401898)]=_0x5f30db,_0x2b127d[_0x15c451(0xbc,0x11f)]=_0x308db5,_0x2b127d[_0x1b5247(0x32f,_0x2d2c3c._0x90b82a)]=_0x162c00;const _0x4132ff=await _0x4be56d['execute'](_0x2b127d,{'sessionID':'','messageID':'','agent':_0x1388af[_0x15c451(_0x2d2c3c._0xc13401,0x18a)],'directory':process[_0x15c451(0x1ae,0x1a2)](),'worktree':process[_0x15c451(0x172,0x1a2)](),'abort':new AbortController()[_0x15c451(0x14d,_0x2d2c3c._0x21a55f)],'metadata':()=>{},'ask':async()=>{}});console[_0x15c451(0x1f7,_0x2d2c3c._0x423b63)](_0x4132ff);}catch(_0x2bc39e){if(_0x15c451(_0x2d2c3c._0x28d2b2,_0x2d2c3c._0x338530)!=='drMen'){const _0x4ed479=_0x1388af[_0x1b5247(0x3e8,_0x2d2c3c._0x13116c)](_0x284048,_0x464e24[_0x1b5247(0x3e3,_0x2d2c3c._0x57018c)](),_0x1b5247(0x311,0x3ba));if(!_0x1388af[_0x15c451(_0x2d2c3c._0x586e77,0x224)](_0xf98de9,_0x4ed479)){const _0x272588={};_0x272588[_0x15c451(0x290,0x221)]=!![],_0x1388af['DKlmI'](_0x185b83,_0x4ed479,_0x272588);}}else console[_0x15c451(0xe6,0x141)]('❌\x20需求分析失败:\x20'+(_0x2bc39e instanceof Error?_0x2bc39e[_0x15c451(_0x2d2c3c._0x47fc90,_0x2d2c3c._0x9dbf8b)]:String(_0x2bc39e))),process[_0x15c451(0x156,_0x2d2c3c._0xd3a231)](0x2382+-0x1480+-0xf01);}}
1
+ (function(_0x43e852,_0x40896d){const _0x12d927={_0x1187c1:0x6b3,_0x22e4b8:0x665,_0x35d12d:0x6a9,_0x497cca:0x5db,_0x3dfdbf:0x680,_0x40cd2b:0x728,_0x4146ff:0x6aa,_0xa44b5:0x74e,_0x423c31:0x621,_0x5eb9de:0x6a2,_0x5c5213:0x608,_0x242c8a:0x6ee,_0xdae748:0x6c3},_0x25eb0d={_0x2bb4eb:0x3e6},_0x2c7ecf=_0x43e852();function _0xa55c5(_0x195134,_0x55edb3){return _0x2f84(_0x195134-0x3c0,_0x55edb3);}function _0x1860d8(_0x14e311,_0x31ba4c){return _0x2f84(_0x14e311-_0x25eb0d._0x2bb4eb,_0x31ba4c);}while(!![]){try{const _0x43c418=-parseInt(_0xa55c5(_0x12d927._0x1187c1,_0x12d927._0x22e4b8))/(-0x5e*0x26+-0x185a+-0x3*-0xcc5)+parseInt(_0xa55c5(0x6a2,_0x12d927._0x35d12d))/(0x521+0x1*-0x2146+-0x1c27*-0x1)+parseInt(_0xa55c5(_0x12d927._0x497cca,_0x12d927._0x3dfdbf))/(-0x2*0x8a9+-0xa6e+0x1bc3)*(parseInt(_0x1860d8(0x692,_0x12d927._0x40cd2b))/(-0x22*0x73+-0x1d4a+0x2c94))+parseInt(_0xa55c5(_0x12d927._0x4146ff,_0x12d927._0xa44b5))/(0x6f3*-0x1+0xa+-0x6ee*-0x1)*(-parseInt(_0x1860d8(_0x12d927._0x423c31,_0x12d927._0x5eb9de))/(0xb5*0x2f+0x242a+-0x1*0x455f))+parseInt(_0xa55c5(0x620,_0x12d927._0x5c5213))/(0x3*0x8e1+-0x2*-0xcc4+-0x2*0x1a12)+parseInt(_0x1860d8(0x671,_0x12d927._0x242c8a))/(0xce3*-0x1+0x1*-0xea1+-0x2b*-0xa4)*(-parseInt(_0xa55c5(0x637,_0x12d927._0xdae748))/(0x20de+-0x15ab+-0xb2a))+parseInt(_0x1860d8(0x5c2,0x533))/(0x2*0x3e1+0x1142+-0x2*0xc7d);if(_0x43c418===_0x40896d)break;else _0x2c7ecf['push'](_0x2c7ecf['shift']());}catch(_0x5af36a){_0x2c7ecf['push'](_0x2c7ecf['shift']());}}}(_0x278a,0xbde04+0x8ec12+-0xe3ea1));import{createActor}from'xstate';function _0x2f84(_0x321c52,_0x1a2f91){_0x321c52=_0x321c52-(-0x1ebd+-0x244e+0x44af);const _0x108c59=_0x278a();let _0x1ce1ff=_0x108c59[_0x321c52];if(_0x2f84['BTtjoi']===undefined){var _0x32e776=function(_0x22930d){const _0x1e4e0d='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0xa8f0e1='',_0x16545a='';for(let _0xe09c91=-0x9ea+-0x1*-0xec+-0x2*-0x47f,_0x572ae4,_0xcd2da6,_0x1e79e3=0x2*0x2a5+0x198e+-0x524*0x6;_0xcd2da6=_0x22930d['charAt'](_0x1e79e3++);~_0xcd2da6&&(_0x572ae4=_0xe09c91%(0x1*-0x2482+0xd73*0x1+-0xb*-0x219)?_0x572ae4*(0x2*0x3f1+-0x147+-0x65b)+_0xcd2da6:_0xcd2da6,_0xe09c91++%(-0x3fd*0x7+-0x1a4e+0x363d))?_0xa8f0e1+=String['fromCharCode'](0x1*-0x1239+-0xe9*0x5+-0x17c5*-0x1&_0x572ae4>>(-(0x1*0x1f08+-0x6dc+-0x182a)*_0xe09c91&-0x2201+-0xb16+0x2d1d)):-0x3df*-0x3+-0x1*-0x22f7+-0x2e94){_0xcd2da6=_0x1e4e0d['indexOf'](_0xcd2da6);}for(let _0x58a701=-0x1*-0xd75+-0x1*0x194c+0x7*0x1b1,_0xd1ec18=_0xa8f0e1['length'];_0x58a701<_0xd1ec18;_0x58a701++){_0x16545a+='%'+('00'+_0xa8f0e1['charCodeAt'](_0x58a701)['toString'](-0x1504+-0x2166+0x1b3d*0x2))['slice'](-(0xfd6*0x2+0x10*-0x15d+0x9da*-0x1));}return decodeURIComponent(_0x16545a);};_0x2f84['ZTdgOh']=_0x32e776,_0x2f84['VCQzZb']={},_0x2f84['BTtjoi']=!![];}const _0x12cc2f=_0x108c59[0x3*-0x465+0x24f5+-0x17c6],_0x1d43b0=_0x321c52+_0x12cc2f,_0x577096=_0x2f84['VCQzZb'][_0x1d43b0];return!_0x577096?(_0x1ce1ff=_0x2f84['ZTdgOh'](_0x1ce1ff),_0x2f84['VCQzZb'][_0x1d43b0]=_0x1ce1ff):_0x1ce1ff=_0x577096,_0x1ce1ff;}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';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 _0x1ef27b(_0x1b0e4b,_0x47fad7){return _0x2f84(_0x1b0e4b- -0x245,_0x47fad7);}const _0x905a8e={};_0x905a8e[_0x1ef27b(0xa4,0xf5)+'lysis']='需求分析',_0x905a8e[_0x198065(0x11b,0xe6)+'_analysis']=_0x1ef27b(0x39,-0x17),_0x905a8e[_0x198065(0xd3,0x95)+_0x198065(0x58,0xe3)]=_0x1ef27b(-0x9f,-0x61),_0x905a8e['tech_selec'+_0x198065(0xa2,0xbd)]=_0x198065(0x210,0x19e),_0x905a8e[_0x1ef27b(0x68,0x4d)]='讨论',_0x905a8e[_0x198065(0x168,0x18e)]='规划',_0x905a8e[_0x1ef27b(0x47,0x22)]='执行',_0x905a8e['verify']='验证';const PHASE_NAMES=_0x905a8e,STATE_FILE_PATH=resolve(process[_0x198065(0x191,0xec)](),_0x198065(0x110,0x80),_0x1ef27b(0x26,0x7f));let activeEngine=null;export async function startEngine(_0x2bf777){const _0x5c75cd={_0x3d9ce3:0x587,_0xb74543:0x4f5,_0x28eff5:0x533,_0x1a667b:0x54f,_0x31e5e2:0x5d5,_0x5a8b57:0x4b4,_0x2ecb49:0x597,_0x445e76:0xd7,_0x36866e:0x173,_0x41acf2:0x1e0,_0x321fc4:0x591,_0x4c675c:0x1c3,_0x915b2e:0x142,_0x517c85:0x241,_0x552f97:0x567,_0xad33b3:0x5f1,_0x56eafe:0x54f,_0x59f0a7:0x19b,_0x5f4080:0x5ad,_0x431a52:0x1e7,_0x177414:0x100,_0x52b8bf:0x508,_0x29fc40:0x522,_0xfbfc6c:0x1c3,_0x53b0d1:0x179,_0x30e268:0x519,_0x43e5f0:0x1c6,_0x3f2876:0x517,_0xd2cdfa:0x247,_0x5150e:0x586,_0x22edfb:0x572,_0x307d2e:0x236,_0x210256:0x57d,_0x3bd9e6:0x1c0,_0x53503c:0x1fd,_0x50ed77:0x1cd,_0xaed9af:0x14a,_0x2697f7:0x51e,_0x4a6e29:0x604,_0x2a8f6a:0x61d,_0x4e269a:0x212,_0x2b39d0:0x5ee,_0x465476:0x173,_0x32f28:0x518,_0x444a2a:0x548,_0x1985de:0x146,_0x239cc4:0x142,_0x5ee5e6:0x663,_0x2d4c4f:0x567,_0xb8bda5:0x60a,_0x1432ac:0xf4,_0x21ddaa:0x147,_0x2cdad7:0x5fe,_0x35bb45:0x62e,_0x50b50c:0x68b,_0x5e60dc:0x62f,_0x203a1f:0x17a,_0x31ed7a:0x528,_0x25021e:0x56a},_0x2babfb={_0x2866e1:0x596},_0x57295f={_0x4cb2a9:0x1ba},_0x3f70d2={'AgVKd':'START','bUIAo':function(_0x543b0a){return _0x543b0a();},'xLNKT':_0x59f8b9(0x5ef,0x620),'RnyzR':function(_0x1d9c37){return _0x1d9c37();},'aHaCu':_0x59f8b9(_0x5c75cd._0x3d9ce3,_0x5c75cd._0xb74543)+'E','DSzeC':function(_0x3e7ed0,_0x22f633){return _0x3e7ed0<_0x22f633;},'WhtWc':function(_0x246662,_0x167dd5){return _0x246662+_0x167dd5;},'asvKZ':function(_0x432c31,_0x531e6d,_0x1e8da1){return _0x432c31(_0x531e6d,_0x1e8da1);}},{projectName:_0xb8f35a,agentCount:agentCount=-0x1934+0x1*-0x6c5+0x1ffa*0x1,phases:phases=PHASES}=_0x2bf777;function _0x42a2b2(_0x457406,_0x4950d0){return _0x1ef27b(_0x4950d0-_0x57295f._0x4cb2a9,_0x457406);}const _0x57c5ea=new Map();console[_0x59f8b9(_0x5c75cd._0x28eff5,_0x5c75cd._0x1a667b)](_0x59f8b9(_0x5c75cd._0x31e5e2,0x603)+'an\x20Agent\x20引'+'擎'),console[_0x59f8b9(_0x5c75cd._0x5a8b57,0x54f)](_0x59f8b9(_0x5c75cd._0x2ecb49,0x5bf)+_0xb8f35a);function _0x59f8b9(_0x532bd8,_0x1ea0f2){return _0x1ef27b(_0x1ea0f2-_0x2babfb._0x2866e1,_0x532bd8);}console[_0x59f8b9(0x51a,0x54f)](_0x59f8b9(0x52f,0x5d3)+'量:\x20'+agentCount),console[_0x42a2b2(_0x5c75cd._0x445e76,_0x5c75cd._0x36866e)]('\x20\x20\x20阶段序列:\x20'+phases[_0x59f8b9(0x53b,0x5e3)](_0x5433e1=>PHASE_NAMES[_0x5433e1]??_0x5433e1)[_0x42a2b2(_0x5c75cd._0x41acf2,0x203)](_0x42a2b2(0x1ff,0x219))+'\x0a');let _0x1b651f=null;try{if(_0x42a2b2(0x101,0x134)==='UipMn'){const _0xe90e0c=_0x16545a(),_0x3b1397={};_0x3b1397[_0x59f8b9(_0x5c75cd._0x321fc4,0x526)]=_0xe90e0c,_0x3b1397[_0x42a2b2(_0x5c75cd._0x4c675c,_0x5c75cd._0x915b2e)]=_0xcd2da6;const _0x3e7bec={};_0x3e7bec[_0x42a2b2(0x19e,_0x5c75cd._0x517c85)]=_0x3b1397;const _0x1c2a2d=_0xe09c91(_0x572ae4,_0x3e7bec);_0x1c2a2d[_0x59f8b9(0x611,0x61c)]();const _0xba9d1={};_0xba9d1[_0x42a2b2(0x1e4,0x212)]=_0x3f70d2[_0x59f8b9(0x60b,_0x5c75cd._0x552f97)],_0x1c2a2d['send'](_0xba9d1),_0x1e79e3[_0x59f8b9(0x55f,_0x5c75cd._0xad33b3)](_0xe90e0c,_0x1c2a2d),_0x58a701[_0x59f8b9(0x4c7,_0x5c75cd._0x56eafe)]('['+_0xe90e0c+(_0x42a2b2(_0x5c75cd._0x41acf2,_0x5c75cd._0x59f0a7)+'动,等待阶段推进'));}else _0x1b651f=_0x3f70d2['bUIAo'](loadTechContext),_0x1b651f&&console[_0x59f8b9(_0x5c75cd._0x5f4080,0x54f)](_0x3f70d2[_0x42a2b2(_0x5c75cd._0x431a52,0x185)]);}catch(_0x422b88){console[_0x42a2b2(_0x5c75cd._0x177414,0x182)](_0x59f8b9(_0x5c75cd._0x52b8bf,_0x5c75cd._0x29fc40)+_0x42a2b2(_0x5c75cd._0xfbfc6c,_0x5c75cd._0x53b0d1),_0x422b88);}let _0x31b89b=null;if(agentCount>-0x41*-0x91+-0x237e+0x152*-0x1){const _0x391432=_0x3f70d2[_0x42a2b2(0xde,0x184)](generateAgentId),_0x635e02={};_0x635e02[_0x59f8b9(_0x5c75cd._0x30e268,0x526)]=_0x391432;const _0x5159c7={};_0x5159c7['input']=_0x635e02,_0x31b89b=createActor(supervisorMachine,_0x5159c7),_0x31b89b[_0x42a2b2(_0x5c75cd._0x43e5f0,0x240)]();const _0x4db279={};_0x4db279[_0x42a2b2(0x26f,0x212)]=_0x3f70d2[_0x59f8b9(0x549,_0x5c75cd._0x3f2876)],_0x4db279[_0x42a2b2(0x1be,0x22a)]=phases[-0x246e+0x1b47+-0xd5*-0xb],_0x31b89b[_0x42a2b2(0x27a,_0x5c75cd._0xd2cdfa)](_0x4db279),console[_0x42a2b2(0xf3,0x173)]('['+_0x391432+(_0x59f8b9(0x5e1,_0x5c75cd._0x5150e)+_0x59f8b9(0x58c,_0x5c75cd._0x22edfb)));for(let _0x5db90a=-0x347*0x3+-0x63a+0x100f*0x1;_0x3f70d2[_0x42a2b2(0x19b,_0x5c75cd._0x307d2e)](_0x5db90a,agentCount);_0x5db90a++){const _0x356550=_0x3f70d2['bUIAo'](generateAgentId);_0x31b89b[_0x59f8b9(_0x5c75cd._0x210256,0x623)]({'type':_0x42a2b2(0x1ab,0x1d4)+'ASK','childId':_0x356550,'task':_0x42a2b2(0x152,0x15e)+_0x3f70d2[_0x42a2b2(_0x5c75cd._0x3bd9e6,_0x5c75cd._0x53503c)](_0x5db90a,0x7*0x466+0x293+-0x1*0x215c)});const _0x1663e8={};_0x1663e8[_0x42a2b2(_0x5c75cd._0x50ed77,_0x5c75cd._0xaed9af)]=_0x356550,_0x1663e8['parentId']=_0x391432,_0x1663e8[_0x59f8b9(0x4ab,_0x5c75cd._0x2697f7)]=phases;const _0x4c0c50={};_0x4c0c50[_0x59f8b9(_0x5c75cd._0x4a6e29,_0x5c75cd._0x2a8f6a)]=_0x1663e8;const _0x17b9b4=_0x3f70d2['asvKZ'](createActor,agentMachine,_0x4c0c50);_0x17b9b4[_0x42a2b2(0x2e6,0x240)]();const _0x24329c={};_0x24329c[_0x42a2b2(0x248,_0x5c75cd._0x4e269a)]=_0x59f8b9(_0x5c75cd._0x2b39d0,_0x5c75cd._0x31e5e2),_0x17b9b4[_0x59f8b9(0x6be,0x623)](_0x24329c),_0x57c5ea['set'](_0x356550,_0x17b9b4),console[_0x42a2b2(0xcb,_0x5c75cd._0x465476)]('['+_0x391432+(']\x20派发子\x20Agen'+_0x59f8b9(_0x5c75cd._0x32f28,_0x5c75cd._0x444a2a))+_0x356550);}}else{const _0x1d6319=generateAgentId(),_0x2166fd={};_0x2166fd[_0x42a2b2(0x10d,0x14a)]=_0x1d6319,_0x2166fd[_0x42a2b2(_0x5c75cd._0x1985de,_0x5c75cd._0x239cc4)]=phases;const _0x30c1dc={};_0x30c1dc[_0x59f8b9(_0x5c75cd._0x4a6e29,0x61d)]=_0x2166fd;const _0x39a638=createActor(agentMachine,_0x30c1dc);_0x39a638[_0x59f8b9(_0x5c75cd._0x5ee5e6,0x61c)]();const _0x41f47e={};_0x41f47e[_0x59f8b9(_0x5c75cd._0x2d4c4f,0x5ee)]=_0x59f8b9(_0x5c75cd._0xb8bda5,0x5d5),_0x39a638['send'](_0x41f47e),_0x57c5ea['set'](_0x1d6319,_0x39a638),console[_0x42a2b2(_0x5c75cd._0x1432ac,_0x5c75cd._0x36866e)]('['+_0x1d6319+(_0x42a2b2(_0x5c75cd._0x21ddaa,_0x5c75cd._0x59f0a7)+'动,等待阶段推进'));}const _0x1ec1f5={};_0x1ec1f5['projectNam'+'e']=_0xb8f35a,_0x1ec1f5[_0x42a2b2(0xee,_0x5c75cd._0x239cc4)]=phases,_0x1ec1f5[_0x59f8b9(_0x5c75cd._0x2cdad7,_0x5c75cd._0x35bb45)]=_0x57c5ea,_0x1ec1f5[_0x59f8b9(_0x5c75cd._0x50b50c,_0x5c75cd._0x5e60dc)+_0x42a2b2(0x143,_0x5c75cd._0x203a1f)]=_0x31b89b,_0x1ec1f5[_0x59f8b9(0x5db,0x57a)+'t']=_0x1b651f,activeEngine=_0x1ec1f5,await persistCurrentState(),console[_0x59f8b9(0x5de,_0x5c75cd._0x56eafe)]('\x0a✅\x20引擎已启动,使'+_0x59f8b9(_0x5c75cd._0x31ed7a,_0x5c75cd._0x25021e)+'update-ope'+'ration\x20推进阶'+'段');}export async function advancePhase(_0xad901){const _0x1eb2a6={_0x3a12bd:0x4f9,_0x4df3ba:0x66c,_0x4f5f10:0x6fd,_0x177094:0x421,_0x4f3950:0x4ff,_0x39390a:0x465,_0x451737:0x5c5,_0x599b4a:0x760,_0x4e6e98:0x67e,_0x17587a:0x46d,_0x137d40:0x423,_0x5af405:0x44c,_0x405f6d:0x689,_0x5d2fb8:0x63c,_0x298448:0x4b3,_0x4a245f:0x5d1,_0x32c875:0x5d6,_0x401f3f:0x5d8,_0x173f66:0x44a,_0x1ea5a0:0x532,_0x17773a:0x5c1,_0x3fdff7:0x6b3,_0x302bb3:0x735,_0x165090:0x503,_0x3626ac:0x6cf,_0x316251:0x4e6,_0x368331:0x6a8,_0x2f5c53:0x5df,_0x8f91a3:0x493,_0x1108d2:0x545,_0x4eab0c:0x464,_0x429ad4:0x58f,_0x56384f:0x5b3,_0x1426f0:0x658,_0x36dc14:0x5df,_0x112ada:0x40f,_0x129006:0x591,_0x376c87:0x4ef,_0x575f73:0x4b7,_0x273c45:0x4aa,_0x57ed80:0x6d8,_0x4cce27:0x6ff,_0x5a7e5c:0x53c,_0xe35762:0x50c,_0x4369b8:0x685,_0x262559:0x6ad,_0x128cec:0x646,_0x40d2b6:0x60a,_0x5340d7:0x654,_0x21161c:0x4a2,_0x5e4ce2:0x59f,_0x2b7a3f:0x489,_0x177187:0x464,_0x1cff94:0x47e,_0x527379:0x4ea,_0x49215f:0x6e2,_0x382e4e:0x5b4,_0x302a2f:0x699,_0x13980d:0x659,_0x2df84a:0x48d},_0x3b825c={_0x10b3f6:0x4ab};function _0x485e91(_0x4c016e,_0x251337){return _0x1ef27b(_0x4c016e-_0x3b825c._0x10b3f6,_0x251337);}const _0x37f721={'bWudo':function(_0x15d6e4){return _0x15d6e4();},'lCGtr':_0x485e91(0x4c5,_0x1eb2a6._0x3a12bd)+'ASK','GyWth':_0xfdbe63(_0x1eb2a6._0x4df3ba,_0x1eb2a6._0x4f5f10),'dPxyp':'github_url','LcjHN':function(_0x338cd2,_0xcdccfe){return _0x338cd2>_0xcdccfe;},'szTuN':_0x485e91(_0x1eb2a6._0x177094,0x39c)+'t','ZIZqF':_0x485e91(_0x1eb2a6._0x4f3950,_0x1eb2a6._0x39390a),'vnCwv':function(_0x33a2b4,_0x240dbc){return _0x33a2b4===_0x240dbc;},'XICZQ':_0xfdbe63(_0x1eb2a6._0x451737,0x5b4),'LcMRw':_0xfdbe63(0x6c0,_0x1eb2a6._0x599b4a),'sMPju':_0xfdbe63(0x6b2,0x6ea)+_0xfdbe63(_0x1eb2a6._0x4e6e98,0x6ff),'juYbT':'string','oZoix':function(_0x5d63d0,_0x2366c1){return _0x5d63d0(_0x2366c1);},'rBuqC':'⚠️\x20\x20无活跃引擎且状'+_0x485e91(0x4a9,_0x1eb2a6._0x17587a)+'行\x20start\x20或\x20'+'new-projec'+_0x485e91(_0x1eb2a6._0x137d40,_0x1eb2a6._0x5af405)};function _0xfdbe63(_0x14ffba,_0x1fe660){return _0x1ef27b(_0x14ffba-0x62d,_0x1fe660);}if(activeEngine){if(_0x37f721['vnCwv'](_0xfdbe63(0x671,0x6c1),_0x37f721[_0xfdbe63(0x62c,0x679)])){const _0xff20a0=_0x37f721[_0xfdbe63(_0x1eb2a6._0x405f6d,_0x1eb2a6._0x5d2fb8)](_0x5e0105),_0x1997cd={};_0x1997cd[_0x485e91(0x503,0x522)]=_0x37f721['lCGtr'],_0x1997cd[_0x485e91(0x54c,_0x1eb2a6._0x298448)]=_0xff20a0,_0x1997cd[_0x485e91(0x54a,0x4ea)]=_0xfdbe63(_0x1eb2a6._0x4a245f,_0x1eb2a6._0x32c875)+(_0x5ccb95+(0x20*0x56+-0x86+-0xa39)),_0x1f98cc[_0x485e91(0x538,0x569)](_0x1997cd);const _0x1f5a97={};_0x1f5a97[_0xfdbe63(0x5bd,_0x1eb2a6._0x401f3f)]=_0xff20a0,_0x1f5a97[_0x485e91(_0x1eb2a6._0x173f66,0x4ce)]=_0x11f81a,_0x1f5a97['phases']=_0x2af311;const _0x3df363={};_0x3df363[_0x485e91(_0x1eb2a6._0x1ea5a0,_0x1eb2a6._0x17773a)]=_0x1f5a97;const _0xd8ed7b=_0x558c11(_0x35023c,_0x3df363);_0xd8ed7b[_0xfdbe63(_0x1eb2a6._0x3fdff7,_0x1eb2a6._0x302bb3)]();const _0x465de0={};_0x465de0[_0x485e91(_0x1eb2a6._0x165090,0x566)]=_0x37f721[_0xfdbe63(_0x1eb2a6._0x3626ac,0x6f9)],_0xd8ed7b[_0xfdbe63(0x6ba,0x6e8)](_0x465de0),_0x321c52[_0x485e91(0x506,0x591)](_0xff20a0,_0xd8ed7b),_0x1a2f91[_0x485e91(0x464,_0x1eb2a6._0x316251)]('['+_0x108c59+(_0xfdbe63(_0x1eb2a6._0x368331,0x639)+_0xfdbe63(_0x1eb2a6._0x2f5c53,0x61e))+_0xff20a0);}else{const {actors:_0x3cf4a5}=activeEngine,_0x8abf16=_0xad901??findFirstIncompleteAgent(_0x3cf4a5);if(!_0x8abf16){if(_0xad901){if(_0x485e91(0x50c,_0x1eb2a6._0x8f91a3)!==_0x37f721[_0x485e91(_0x1eb2a6._0x1108d2,0x4bc)]){await advancePhaseViaFile(_0xad901);return;}else{_0x3c9595[_0x485e91(_0x1eb2a6._0x4eab0c,0x493)]('⚠️\x20\x20状态文件不存在'+_0xfdbe63(_0x1eb2a6._0x429ad4,0x5af)+'project\x20命令');return;}}console[_0x485e91(0x464,0x429)](_0x37f721['sMPju']);return;}const _0x2dafb1=_0x3cf4a5['get'](_0x8abf16);if(!_0x2dafb1){await advancePhaseViaFile(_0x8abf16);return;}const _0x3fea70=_0x2dafb1[_0xfdbe63(0x663,0x674)+'t'](),_0x895e43=typeof _0x3fea70[_0xfdbe63(_0x1eb2a6._0x56384f,0x62e)]===_0xfdbe63(_0x1eb2a6._0x1426f0,_0x1eb2a6._0x36dc14)?_0x3fea70[_0xfdbe63(0x5b3,0x5f9)]:_0x37f721[_0x485e91(0x489,_0x1eb2a6._0x112ada)];if(_0x895e43===_0xfdbe63(0x600,0x568)){if(_0xfdbe63(_0x1eb2a6._0x129006,_0x1eb2a6._0x376c87)===_0x485e91(0x40f,0x385)){console[_0x485e91(0x464,0x3c7)]('['+_0x8abf16+_0x485e91(_0x1eb2a6._0x575f73,_0x1eb2a6._0x273c45));return;}else{if(/^https?:\/\/github\.com\//[_0xfdbe63(_0x1eb2a6._0x57ed80,0x717)](_0x1a93e7))return _0x37f721[_0xfdbe63(0x636,0x5a8)];if(/^https?:\/\//[_0xfdbe63(_0x1eb2a6._0x57ed80,_0x1eb2a6._0x4cce27)](_0x343321))return _0x485e91(_0x1eb2a6._0x5a7e5c,_0x1eb2a6._0xe35762)+'l';if(_0x37f721['LcjHN'](_0x4d16d5['length'],-0x1204*-0x2+0x1d40+-0x413e))return _0x37f721['szTuN'];return _0x37f721[_0xfdbe63(0x60b,0x60d)];}}const _0x22a020={};_0x22a020[_0xfdbe63(_0x1eb2a6._0x4369b8,_0x1eb2a6._0x262559)]=_0xfdbe63(_0x1eb2a6._0x128cec,0x694)+_0xfdbe63(_0x1eb2a6._0x40d2b6,_0x1eb2a6._0x5340d7),_0x2dafb1[_0x485e91(0x538,0x554)](_0x22a020);const _0x1bea66=_0x2dafb1[_0x485e91(0x4e1,_0x1eb2a6._0x21161c)+'t'](),_0x3af22b=typeof _0x1bea66[_0xfdbe63(0x5b3,0x54b)]===_0x37f721[_0xfdbe63(_0x1eb2a6._0x5e4ce2,0x550)]?_0x1bea66[_0xfdbe63(0x5b3,0x569)]:_0x37f721[_0x485e91(_0x1eb2a6._0x2b7a3f,0x4c6)],_0x2382ff=PHASE_NAMES[_0x895e43]??_0x895e43,_0x33daef=PHASE_NAMES[_0x3af22b]??_0x3af22b;console[_0x485e91(_0x1eb2a6._0x177187,0x42d)]('['+_0x8abf16+']\x20'+_0x2382ff+_0x485e91(0x50a,0x4c2)+_0x33daef),await persistCurrentState();_0x37f721[_0xfdbe63(0x599,0x525)](_0x3af22b,_0x485e91(_0x1eb2a6._0x1cff94,_0x1eb2a6._0x527379))&&(console[_0xfdbe63(0x5e6,0x5e9)]('\x0a✅\x20Agent\x20'+_0x8abf16+_0xfdbe63(0x67e,_0x1eb2a6._0x49215f)),_0x37f721[_0xfdbe63(_0x1eb2a6._0x405f6d,0x62a)](checkAllComplete));return;}}if(_0xad901)await _0x37f721[_0xfdbe63(_0x1eb2a6._0x382e4e,0x5ff)](advancePhaseViaFile,_0xad901);else{const _0x116dc5=await readStateFile();if(!_0x116dc5){console[_0xfdbe63(0x5e6,0x65e)](_0x37f721[_0xfdbe63(0x66b,_0x1eb2a6._0x302a2f)]);return;}const _0x4655af=Object['keys'](_0x116dc5[_0x485e91(0x4bc,0x458)])[_0xfdbe63(_0x1eb2a6._0x13980d,0x5fe)](_0xc50361=>_0x116dc5[_0xfdbe63(0x63e,0x68d)][_0xc50361][_0xfdbe63(0x69d,0x71c)]!==_0x485e91(0x47e,0x45a));if(!_0x4655af){console[_0xfdbe63(0x5e6,0x590)](_0x485e91(0x530,0x4c9)+_0x485e91(0x4fc,_0x1eb2a6._0x2df84a));return;}await advancePhaseViaFile(_0x4655af);}}async function advancePhaseViaFile(_0x30d9f7){const _0x536461={_0x2e539f:0x283,_0x15b249:0x284,_0x1235f5:0x47,_0x107b1a:0x29d,_0xaf2e00:0x20c,_0x1f5a98:0x26a,_0x846ca7:0xc,_0x5a0d30:0x8a,_0x4aa34d:0x2,_0x593fe3:0x3ab,_0x56cc66:0x317,_0x494b7f:0xc0,_0x37c18d:0x321,_0x3080ea:0x7d,_0x4c42a4:0x8a,_0x1bcae0:0x71,_0x360fb5:0xaf,_0x33baec:0x2d,_0x3972ef:0x11f,_0x588f86:0x63,_0x41ffcb:0x29,_0x38ea79:0x30c,_0x50d6c2:0x2ae,_0x56b031:0x292,_0x2ce037:0x251,_0x2d195c:0x269,_0x50f8f:0x2f1,_0x5f26e6:0x3c8,_0x40c2bb:0x359,_0x344c71:0x2a4,_0x1b219e:0x6b,_0x139471:0x20b,_0x53ae95:0x91,_0x28a577:0x25,_0x277b6b:0x16,_0x2bcbdd:0xe6,_0x28f976:0x2ab,_0x1182d0:0x2fe,_0x30037c:0x359,_0x15e31b:0x134,_0x27e96a:0x97,_0x5d016b:0x45,_0x1ac755:0x32,_0x33c539:0x3b,_0x1fec6e:0x329,_0x27bebe:0x1ef,_0x1aa303:0x26a,_0x1a5819:0x29e,_0x5ecaa2:0x1e7,_0x16818e:0x26a,_0x134a0b:0x327},_0x139892={_0x36c6e8:0x2b1},_0x58bfcb={'rmTnr':function(_0x63c90,_0x1513be){return _0x63c90 instanceof _0x1513be;},'McQoH':function(_0x41e657,_0x396025){return _0x41e657(_0x396025);},'rRHzo':function(_0x755ce1){return _0x755ce1();},'ivlJR':function(_0xf11062,_0x289b09){return _0xf11062===_0x289b09;},'XjgiX':_0x153c85(_0x536461._0x2e539f,_0x536461._0x15b249),'IlRXQ':function(_0x210c6f,_0x4557aa){return _0x210c6f-_0x4557aa;},'CyWgc':function(_0x1e0ba7,_0x515a3a){return _0x1e0ba7<_0x515a3a;},'UTBkW':function(_0x346107,_0x346378){return _0x346107+_0x346378;},'gNvlg':function(_0x47868d,_0x39e420){return _0x47868d-_0x39e420;},'YgaxO':function(_0x23d158,_0x1c7439){return _0x23d158===_0x1c7439;},'SKkkO':_0x422283(-_0x536461._0x1235f5,-0xaa),'roHqm':function(_0x37e73b,_0x272f3d){return _0x37e73b(_0x272f3d);}},_0x1517b7=await _0x58bfcb[_0x153c85(0x2bc,_0x536461._0x107b1a)](readStateFile);if(!_0x1517b7){console[_0x153c85(_0x536461._0xaf2e00,_0x536461._0x1f5a98)](_0x422283(_0x536461._0x846ca7,-0x43));return;}const _0x5c0e23=_0x1517b7[_0x153c85(0x21a,0x2c2)][_0x30d9f7];if(!_0x5c0e23){console[_0x422283(-0x5f,-_0x536461._0x5a0d30)](_0x422283(0x9,-_0x536461._0x4aa34d)+_0x30d9f7+(_0x153c85(_0x536461._0x593fe3,_0x536461._0x56cc66)+_0x422283(-0x11b,-_0x536461._0x494b7f)));return;}if(_0x58bfcb['ivlJR'](_0x5c0e23[_0x153c85(0x280,_0x536461._0x37c18d)],_0x58bfcb[_0x153c85(0x35a,0x359)])){console[_0x422283(-_0x536461._0x3080ea,-_0x536461._0x4c42a4)]('['+_0x30d9f7+']\x20已完成全部阶段');return;}const _0x26ba5a=[...PHASES,...PIPELINE_PHASES],_0x18e22c=_0x26ba5a[_0x422283(-_0x536461._0x1bcae0,-0x63)](_0x5c0e23[_0x422283(_0x536461._0x360fb5,_0x536461._0x33baec)]);let _0x348b86;if(_0x18e22c>=-0x1*0x1717+0xc7d+0xa9a&&_0x18e22c<_0x58bfcb[_0x422283(-_0x536461._0x3972ef,-0xa3)](_0x26ba5a['length'],-0x511*0x4+-0x109+0x1*0x154e)){const _0xab1b7=PHASES[_0x422283(-0x106,-_0x536461._0x588f86)](_0x5c0e23[_0x422283(_0x536461._0x41ffcb,0x2d)]),_0x24d017=PIPELINE_PHASES['indexOf'](_0x5c0e23['phase']);if(_0xab1b7>=-0x70f*-0x1+0x6a*-0x59+0x1dcb)_0x58bfcb[_0x153c85(_0x536461._0x38ea79,_0x536461._0x50d6c2)](_0xab1b7,_0x58bfcb[_0x153c85(_0x536461._0x56b031,_0x536461._0x2ce037)](PHASES['length'],0x4e*0x12+-0xa3*-0xd+-0xdc2))?_0x348b86=PHASES[_0x58bfcb[_0x153c85(0x22b,_0x536461._0x2d195c)](_0xab1b7,-0x10b9*0x2+-0x2321+0xe7*0x4c)]:_0x348b86='completed';else _0x24d017>=-0xacb*-0x1+0x25e4+-0xb*0x46d?_0x24d017<_0x58bfcb[_0x153c85(0x1cf,0x26c)](PIPELINE_PHASES[_0x153c85(_0x536461._0x50f8f,0x2bc)],0x7*-0x2c3+0x2271*-0x1+0x35c7)?_0x348b86=PIPELINE_PHASES[_0x24d017+(0x1*-0x8cd+-0x1b7*0x5+0x1161)]:_0x348b86=_0x422283(-0x45,-0x70):_0x348b86=_0x58bfcb[_0x153c85(_0x536461._0x5f26e6,_0x536461._0x40c2bb)];}else _0x58bfcb['YgaxO'](_0x5c0e23[_0x422283(-0xd,0x2d)],'idle')?_0x58bfcb[_0x153c85(_0x536461._0x344c71,0x306)]!=='KSHgD'?_0x348b86=PHASES[0x13*-0x156+0xd09+0xc59]:_0x5bd4bc[_0x422283(_0x536461._0x1b219e,0x3a)](_0x153c85(_0x536461._0x139471,0x243)+(_0x58bfcb[_0x422283(-_0x536461._0x53ae95,-_0x536461._0x28a577)](_0x309013,_0x12f014)?_0x3c58f1[_0x422283(-0xb,-_0x536461._0x277b6b)]:_0x58bfcb[_0x153c85(0x334,0x325)](_0x103ce4,_0x75cbe6))):_0x348b86=_0x422283(-_0x536461._0x2bcbdd,-0x70);function _0x153c85(_0x9ccb6,_0x377ef0){return _0x1ef27b(_0x377ef0-_0x139892._0x36c6e8,_0x9ccb6);}const _0x5d796f=PHASE_NAMES[_0x5c0e23[_0x153c85(_0x536461._0x28f976,_0x536461._0x37c18d)]]??_0x5c0e23[_0x153c85(_0x536461._0x1182d0,_0x536461._0x37c18d)],_0x58b010=PHASE_NAMES[_0x348b86]??_0x348b86,_0x52856d={..._0x1517b7['agents']},_0x2020e7=_0x52856d,_0x3096b4={..._0x5c0e23};_0x3096b4[_0x422283(-_0x536461._0x1bcae0,_0x536461._0x33baec)]=_0x348b86,_0x3096b4['currentOpe'+'ration']='';function _0x422283(_0x339704,_0x585ba9){return _0x1ef27b(_0x585ba9- -0x43,_0x339704);}_0x3096b4['currentSki'+'ll']='',_0x2020e7[_0x30d9f7]=_0x3096b4;let _0x1b58ac=_0x58bfcb[_0x153c85(0x3cb,_0x536461._0x30037c)];for(const _0x1e7626 of Object[_0x422283(-_0x536461._0x15e31b,-_0x536461._0x27e96a)](_0x2020e7)){if(_0x2020e7[_0x1e7626][_0x422283(-0x45,0x2d)]!==_0x58bfcb[_0x422283(0xba,0x65)]){_0x1b58ac=_0x2020e7[_0x1e7626][_0x153c85(0x30b,0x321)];break;}}const _0x21d3ac={..._0x1517b7['project']};_0x21d3ac['currentPha'+'se']=_0x1b58ac;const _0x147eb7={};_0x147eb7['project']=_0x21d3ac,_0x147eb7[_0x422283(_0x536461._0x5d016b,-_0x536461._0x1ac755)]=_0x2020e7,_0x147eb7[_0x422283(0x2e,-_0x536461._0x33c539)+_0x422283(-0x4f,-0x8f)]=_0x1517b7[_0x153c85(_0x536461._0x1fec6e,0x2b9)+_0x153c85(_0x536461._0x27bebe,0x265)],await _0x58bfcb['roHqm'](writeStateFile,_0x147eb7),console[_0x153c85(0x210,_0x536461._0x1aa303)]('['+_0x30d9f7+']\x20'+_0x5d796f+_0x153c85(_0x536461._0x1a5819,0x310)+_0x58b010),_0x348b86===_0x153c85(0x2ca,0x284)&&console[_0x153c85(_0x536461._0x5ecaa2,_0x536461._0x16818e)](_0x153c85(_0x536461._0x134a0b,0x33f)+_0x30d9f7+_0x422283(-0x95,0xe));}export async function updateOperation(_0x5bdee2,_0x57bf55,_0x45a89e){const _0x4b89af={_0x5b639d:0x13d,_0x2b5472:0xad,_0x1130fb:0x65,_0x44c08e:0x98},_0x515fb9={_0x41b56c:0x50};function _0x2b0c3d(_0x20efeb,_0x4edcfd){return _0x1ef27b(_0x4edcfd-_0x515fb9._0x41b56c,_0x20efeb);}const _0x3a0436={'HmEcx':'UPDATE_OPE'+_0x2b0c3d(_0x4b89af._0x5b639d,0xff),'tGFEP':function(_0x54eb7e){return _0x54eb7e();}};function _0x39474f(_0x152ccf,_0xd5f88){return _0x198065(_0xd5f88,_0x152ccf- -0xca);}if(activeEngine){const _0x1c9644=activeEngine['actors']['get'](_0x5bdee2);if(_0x1c9644){const _0x298f48={};_0x298f48[_0x39474f(0xae,_0x4b89af._0x2b5472)]=_0x3a0436['HmEcx'],_0x298f48[_0x39474f(_0x4b89af._0x1130fb,0x7)]=_0x57bf55,_0x298f48[_0x39474f(0x2b,-0x2)]=_0x45a89e,_0x1c9644['send'](_0x298f48),await _0x3a0436[_0x2b0c3d(0x68,_0x4b89af._0x44c08e)](persistCurrentState);return;}}await updateOperationViaFile(_0x5bdee2,_0x57bf55,_0x45a89e);}async function updateOperationViaFile(_0x17bd17,_0x2672b4,_0x92a995){const _0x28bc5e={_0x39fd71:0x110,_0x451d1c:0x294,_0x2bc8c2:0x2bf,_0x11bc6f:0x28a,_0x1b528b:0x2bd,_0x43725d:0x138,_0x2b1001:0x132,_0x482a8b:0x370,_0x14e9b6:0xbe,_0x4504c7:0x211,_0x43f6a9:0x2ba,_0x50aa59:0x8e},_0x1b1c76={_0x4fa23a:0x1e6},_0x3a04d5={_0x11f34e:0xcf},_0xe5ff6={};_0xe5ff6[_0x126717(-0x11a,-0x113)]=_0x126717(-_0x28bc5e._0x39fd71,-0xcf);const _0xe96e7d=_0xe5ff6,_0x370fbe=await readStateFile();if(!_0x370fbe){console[_0x85e5d4(_0x28bc5e._0x451d1c,_0x28bc5e._0x2bc8c2)](_0xe96e7d[_0x85e5d4(_0x28bc5e._0x11bc6f,0x2c2)]);return;}const _0x50c7de=_0x370fbe['agents'][_0x17bd17];if(!_0x50c7de){console[_0x85e5d4(_0x28bc5e._0x1b528b,0x2bf)]('❌\x20Agent\x20'+_0x17bd17+(_0x85e5d4(0x363,0x36c)+'e.json'));return;}const _0x499839={..._0x370fbe[_0x126717(-_0x28bc5e._0x43725d,-0xbe)]},_0x35cf10=_0x499839,_0x34262c={..._0x50c7de};_0x34262c['currentOpe'+_0x85e5d4(0x2c4,0x325)]=_0x2672b4,_0x34262c[_0x126717(-_0x28bc5e._0x2b1001,-0xca)+'ll']=_0x92a995,_0x35cf10[_0x17bd17]=_0x34262c;const _0x4c7bc1={};_0x4c7bc1['project']=_0x370fbe[_0x85e5d4(_0x28bc5e._0x482a8b,0x31a)],_0x4c7bc1[_0x126717(-0xb6,-_0x28bc5e._0x14e9b6)]=_0x35cf10,_0x4c7bc1[_0x126717(-0x12a,-0xc7)+_0x85e5d4(_0x28bc5e._0x4504c7,_0x28bc5e._0x43f6a9)]=_0x370fbe[_0x126717(-_0x28bc5e._0x50aa59,-0xc7)+_0x85e5d4(0x2ac,0x2ba)];function _0x126717(_0x448d0e,_0x3be4aa){return _0x1ef27b(_0x3be4aa- -_0x3a04d5._0x11f34e,_0x448d0e);}function _0x85e5d4(_0x53ecd5,_0xa2f9f1){return _0x198065(_0x53ecd5,_0xa2f9f1-_0x1b1c76._0x4fa23a);}await writeStateFile(_0x4c7bc1);}function _0x198065(_0x5e25fb,_0x4c3f7e){return _0x2f84(_0x4c3f7e- -0x125,_0x5e25fb);}export async function getStatus(){const _0x1e4df2={_0xb00de9:0x23e,_0x4ab8fe:0x32d,_0x1fd08d:0x12d,_0x28cda4:0x18c,_0x3ceb42:0x216,_0x4bed27:0x1c9,_0x26029d:0x180,_0x12a6bf:0x1e2,_0x53f6a8:0x336,_0x4ef788:0x2c0,_0x1ef50e:0x13d,_0x11bf0b:0x1f8,_0x25aca3:0x34f,_0x219261:0x358,_0x1a3533:0x2a0,_0x388e75:0x345,_0x2c6779:0x168,_0x3f7974:0x162,_0x10e13d:0x367,_0x3aecc0:0x1da,_0x5bebf5:0x369,_0x41963e:0x30f,_0x15e4f0:0x352,_0x17abf2:0x2e3,_0x13922a:0x15a,_0x15759f:0x1a2,_0x15bb87:0x30f,_0x230c6a:0x3ce,_0x35ecbd:0x26a,_0x4328c5:0x2b5,_0x45e612:0x237,_0x483feb:0x2a5,_0x1e7f0d:0x3c6,_0xe90581:0x334,_0x1d48b6:0x396,_0x1a9283:0x15e,_0x4eeed8:0x213,_0x585399:0x473,_0x2a9da4:0x321,_0x4a4415:0x129,_0x186c1e:0x101,_0x420f6c:0x1bd,_0x5b5193:0x30f},_0x5670a8={_0x16d75c:0x236},_0x1834e0={'eOGhb':function(_0x4c1a41,_0x1cca68){return _0x4c1a41(_0x1cca68);},'UwTyw':_0x1a1584(0x2ea,0x303),'lRDxI':_0x1f1323(_0x1e4df2._0xb00de9,0x259)+_0x1a1584(0x345,_0x1e4df2._0x4ab8fe),'OcFcp':_0x1f1323(_0x1e4df2._0x1fd08d,0xf9)+'D\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'\x20|\x20阶段\x20\x20\x20\x20\x20'+_0x1f1323(_0x1e4df2._0x28cda4,0x1d5)+_0x1f1323(_0x1e4df2._0x3ceb42,0x195)+_0x1f1323(0x12a,_0x1e4df2._0x4bed27)+'工具','TQosm':function(_0x473d92,_0x966a9){return _0x473d92+_0x966a9;}};if(!_0x1834e0['eOGhb'](existsSync,STATE_FILE_PATH)){console[_0x1f1323(_0x1e4df2._0x26029d,_0x1e4df2._0x12a6bf)](_0x1a1584(_0x1e4df2._0x53f6a8,0x356)+',请先运行\x20star'+'t\x20命令');return;}const _0x5b8727=readFileSync(STATE_FILE_PATH,_0x1834e0['UwTyw']),_0x23fd6b=JSON[_0x1a1584(0x22c,_0x1e4df2._0x4ef788)](_0x5b8727);console[_0x1a1584(0x26a,0x30f)](_0x1a1584(0x334,0x309)+_0x23fd6b[_0x1a1584(0x333,0x36a)][_0x1f1323(0x16f,_0x1e4df2._0x1ef50e)]),console[_0x1f1323(_0x1e4df2._0x26029d,0x20e)](_0x1f1323(0x21e,_0x1e4df2._0x11bf0b)+_0x23fd6b[_0x1f1323(0x1db,0x26c)][_0x1a1584(0x35b,_0x1e4df2._0x25aca3)+'se']),console['log']('\x20\x20\x20版本:\x20'+_0x23fd6b[_0x1a1584(0x2df,_0x1e4df2._0x219261)]),console['log'](_0x1a1584(_0x1e4df2._0x1a3533,_0x1e4df2._0x388e75)+_0x23fd6b[_0x1f1323(_0x1e4df2._0x2c6779,_0x1e4df2._0x3f7974)]+'\x0a');const _0x581bbf=_0x23fd6b[_0x1a1584(0x379,_0x1e4df2._0x10e13d)],_0x3b8c85=Object['keys'](_0x581bbf);function _0x1f1323(_0xe5560f,_0x37ce54){return _0x198065(_0x37ce54,_0xe5560f-0xa7);}if(_0x3b8c85[_0x1f1323(0x1d2,_0x1e4df2._0x3aecc0)]===-0x962*-0x1+0x1624+-0x1f86){console[_0x1a1584(_0x1e4df2._0x5bebf5,_0x1e4df2._0x41963e)](_0x1834e0[_0x1a1584(_0x1e4df2._0x15e4f0,_0x1e4df2._0x17abf2)]);return;}console['log'](_0x1834e0[_0x1f1323(_0x1e4df2._0x13922a,_0x1e4df2._0x15759f)]);function _0x1a1584(_0x3ec92a,_0x248b2f){return _0x198065(_0x3ec92a,_0x248b2f-_0x5670a8._0x16d75c);}console[_0x1a1584(0x35e,_0x1e4df2._0x15bb87)](_0x1834e0[_0x1a1584(0x3d8,_0x1e4df2._0x230c6a)](_0x1f1323(0x232,0x19e),'-'[_0x1a1584(0x3f4,0x352)](-0x9d*-0x1+0x1*0x1e25+-0x1e72)));for(const _0x1fec19 of _0x3b8c85){if(_0x1f1323(0x26a,_0x1e4df2._0x4ef788)===_0x1f1323(_0x1e4df2._0x35ecbd,_0x1e4df2._0x4328c5)){const _0x3672bf=_0x581bbf[_0x1fec19],_0x43b128=PHASE_NAMES[_0x3672bf[_0x1f1323(_0x1e4df2._0x45e612,_0x1e4df2._0x483feb)]]??_0x3672bf[_0x1a1584(0x420,_0x1e4df2._0x1e7f0d)],_0x54ba0e=_0x3672bf[_0x1a1584(_0x1e4df2._0xe90581,0x317)+_0x1a1584(_0x1e4df2._0x1d48b6,0x375)]||'-',_0x35ea23=_0x3672bf[_0x1f1323(0x1cc,_0x1e4df2._0x1a9283)+'ll']||'-';console[_0x1a1584(0x288,_0x1e4df2._0x41963e)]('\x20\x20\x20'+_0x1fec19[_0x1a1584(0x3a7,0x3a2)](-0xc3c+-0x2506+0x3154)+'\x20|\x20'+_0x43b128[_0x1f1323(_0x1e4df2._0x4eeed8,0x2a8)](-0xc8*0x6+-0xb0f+-0x1*-0xfcd)+_0x1a1584(_0x1e4df2._0x585399,0x3f2)+_0x54ba0e['padEnd'](0x1753+0x7*0x56+-0x138*0x15)+'\x20|\x20'+_0x35ea23);}else{_0x361323[_0x1a1584(_0x1e4df2._0x2a9da4,0x30f)](_0x1f1323(0x1c7,0x23b)+_0x1f1323(_0x1e4df2._0x4a4415,_0x1e4df2._0x186c1e)+_0x1f1323(0x209,_0x1e4df2._0x420f6c));return;}}console[_0x1a1584(0x365,_0x1e4df2._0x5b5193)]();}export async function resumeEngine(){const _0xe34634={_0x304b4e:0x388,_0xe0589f:0x415,_0x4541f8:0x3cb,_0x1eaf35:0x27,_0x3bbfe9:0x3c,_0x16aa7d:0xea,_0x31591b:0x193,_0x59b155:0x101,_0x209bbc:0x185,_0x57d00a:0x1a5,_0x4e12e7:0x137,_0x1ba3f6:0x10a,_0x505c7a:0x10e,_0x2fe1ce:0x161,_0x4f50a2:0x19d,_0x89f2ed:0x11a,_0x41b013:0x333,_0x183e96:0x33d,_0x3c7631:0x2a8,_0x2a9e66:0x1e0,_0x58857e:0x1b0,_0xe46d3b:0xf1,_0x42551b:0x131,_0x107071:0x140,_0x2ed91f:0x349,_0x1c1912:0x3af,_0x4e263d:0x341,_0x2919c6:0x156,_0x29dbfe:0x333,_0x3bcfe1:0x19f,_0x2d2fbb:0x13f,_0x5ea897:0x75,_0x304ca1:0x92,_0x44aa71:0x364,_0x5272f6:0x23b,_0x5206f8:0x1a7,_0x5935d5:0x51,_0xf927fd:0x9a,_0x91c8e9:0xf2,_0x2954b4:0x445,_0x511638:0x231,_0x16bb43:0x1b8,_0x44bdaf:0xd8,_0xfb033:0x400,_0x133534:0x15d,_0x38491b:0x1f9,_0x2f1ece:0x17b,_0x44503c:0x417,_0x185a5d:0x3d5,_0x1f3a55:0xd9,_0x20f396:0xac,_0x1e8929:0x309,_0x10a878:0x3ba,_0x408b95:0x2f,_0xa6fccd:0xaa,_0xb74dc4:0x3ff,_0xdfe9bc:0x320,_0x550d1c:0x29d,_0x103746:0x32f,_0x47b1fa:0x32f,_0x4ce28d:0x383,_0x17ba33:0x41a,_0x32ba9d:0x19c,_0x4336e5:0x16f,_0x163c58:0x416,_0x42d846:0x3e8,_0x1e35d8:0x467,_0x51d508:0x3c7,_0xec6730:0x173,_0x1001a2:0x10f,_0x4fd464:0x3e8,_0x4a4b00:0x46b,_0x119833:0x2bb,_0x1466c9:0x473,_0x2b109f:0x2ef,_0xa04879:0xc0,_0x2a7cad:0x118,_0x234135:0x428,_0x5c646e:0x429,_0x22c223:0x3be,_0x4503d3:0x135,_0x4b1c60:0x13f,_0x35a1dd:0x3bf,_0x554f17:0xfa,_0x489b26:0x120},_0x59db7b={_0x39c30c:0x390},_0x56befd={'OJqvU':_0x283a20(_0xe34634._0x304b4e,0x3d7),'MFTmN':_0x283a20(_0xe34634._0xe0589f,_0xe34634._0x4541f8)+_0x3c567a(-_0xe34634._0x1eaf35,-0xa5),'PsBIi':function(_0x270af3){return _0x270af3();},'qqkcq':function(_0x172100,_0x150bd1){return _0x172100!==_0x150bd1;},'SAQBz':_0x3c567a(-_0xe34634._0x3bbfe9,-0x92),'QagWF':function(_0x1fddd6,_0x2c32a5){return _0x1fddd6===_0x2c32a5;},'tMDyH':_0x3c567a(-_0xe34634._0x16aa7d,-0xf2),'eCXOP':function(_0x6fab98,_0xf9c049,_0x320c0b){return _0x6fab98(_0xf9c049,_0x320c0b);},'WWbdh':function(_0x370973,_0x317738){return _0x370973<_0x317738;},'WAhcu':_0x3c567a(-_0xe34634._0x31591b,-_0xe34634._0x59b155)+'LETE','YHikQ':function(_0xfac348,_0x3f8496){return _0xfac348<_0x3f8496;},'OeRep':_0x3c567a(-0x13b,-_0xe34634._0x209bbc)+_0x283a20(0x2fe,0x352)+'推进阶段'};if(!existsSync(STATE_FILE_PATH)){if(_0x3c567a(-_0xe34634._0x57d00a,-_0xe34634._0x4e12e7)===_0x56befd['OJqvU'])_0xedc172=_0x5c198a[_0x3c567a(-_0xe34634._0x1ba3f6,-0xaa)];else{console[_0x3c567a(-_0xe34634._0x505c7a,-_0xe34634._0x2fe1ce)](_0x3c567a(-_0xe34634._0x4f50a2,-_0xe34634._0x89f2ed)+_0x283a20(_0xe34634._0x41b013,0x2c5)+_0x3c567a(-0x9b,-0x104));return;}}const _0x1a2b47=readFileSync(STATE_FILE_PATH,_0x283a20(_0xe34634._0x183e96,_0xe34634._0x3c7631)),_0x5bd80d=JSON[_0x3c567a(-_0xe34634._0x2a9e66,-_0xe34634._0x58857e)](_0x1a2b47),_0x385803=_0x5bd80d[_0x3c567a(-_0xe34634._0xe46d3b,-0x109)],_0x20aa0f=Object[_0x283a20(0x33c,0x383)](_0x385803),_0x48a1f6=_0x20aa0f[_0x3c567a(-_0xe34634._0x42551b,-_0xe34634._0x107071)](_0x363fb6=>_0x385803[_0x363fb6]['phase']!==_0x283a20(0x363,0x336));if(_0x48a1f6['length']===0xd33*0x1+-0xc9e+0x95*-0x1){console[_0x283a20(_0xe34634._0x2ed91f,_0xe34634._0x1c1912)](_0x56befd[_0x283a20(0x381,_0xe34634._0x4e263d)]);return;}function _0x283a20(_0x4e6662,_0x2ef6e0){return _0x1ef27b(_0x4e6662-_0x59db7b._0x39c30c,_0x2ef6e0);}console[_0x3c567a(-0x1de,-0x161)](_0x283a20(0x439,0x4ac)),console['log']('\x20\x20\x20项目:\x20'+_0x5bd80d[_0x3c567a(-_0xe34634._0x2919c6,-0x106)][_0x283a20(0x338,_0xe34634._0x29dbfe)]),console['log']('\x20\x20\x20未完成\x20Age'+_0x3c567a(-_0xe34634._0x3bcfe1,-0x14d)+_0x48a1f6['length']+'\x0a');const _0xafac00=new Map();let _0xd025b3=null;function _0x3c567a(_0x18d6af,_0x448ab0){return _0x1ef27b(_0x448ab0- -0x11a,_0x18d6af);}try{_0xd025b3=_0x56befd[_0x3c567a(-0x125,-_0xe34634._0x2d2fbb)](loadTechContext);}catch{}for(const _0x590574 of _0x48a1f6){if(_0x56befd['qqkcq'](_0x3c567a(-_0xe34634._0x5ea897,-_0xe34634._0x304ca1),_0x56befd[_0x283a20(0x43a,0x3ee)])){_0x1c4c4c[_0x3c567a(-0x184,-0x161)](_0x3c567a(-0x144,-_0xe34634._0x89f2ed));return;}else{const _0x1d424a=_0x385803[_0x590574],_0x315930=PHASES['indexOf'](_0x1d424a[_0x283a20(0x400,_0xe34634._0x44aa71)]);if(_0x56befd[_0x3c567a(-_0xe34634._0x5272f6,-_0xe34634._0x5206f8)](_0x315930,-(0x1dd0+0x26a9+-0x4478))){if(_0x56befd[_0x3c567a(-_0xe34634._0x5935d5,-_0xe34634._0xf927fd)](_0x3c567a(-0x100,-_0xe34634._0x91c8e9),_0x56befd[_0x283a20(0x419,_0xe34634._0x2954b4)])){_0x51261f[_0x3c567a(-0x136,-_0xe34634._0x2fe1ce)]('⚠️\x20\x20状态文件不存在'+_0x3c567a(-_0xe34634._0x511638,-_0xe34634._0x16bb43)+_0x3c567a(-0x117,-_0xe34634._0x44bdaf));return;}else{console['log']('['+_0x590574+']\x20状态异常:\x20'+_0x1d424a[_0x283a20(_0xe34634._0xfb033,0x367)]+_0x3c567a(-0x8c,-0x117));continue;}}const _0x1eedda={};_0x1eedda[_0x3c567a(-_0xe34634._0x133534,-0x18a)]=_0x590574,_0x1eedda[_0x3c567a(-_0xe34634._0x38491b,-_0xe34634._0x2f1ece)]=_0x1d424a['parentId']??undefined;const _0x4d3550={};_0x4d3550[_0x283a20(_0xe34634._0x44503c,_0xe34634._0x185a5d)]=_0x1eedda;const _0x261c46=_0x56befd[_0x3c567a(-_0xe34634._0x1f3a55,-0x16f)](createActor,agentMachine,_0x4d3550);_0x261c46[_0x3c567a(-0x118,-0x94)](),_0xafac00['set'](_0x590574,_0x261c46);const _0x2ff2c0={};_0x2ff2c0['type']='START',_0x261c46[_0x3c567a(-_0xe34634._0x20f396,-0x8d)](_0x2ff2c0);for(let _0x331a37=0x156b+-0x6*-0x27+-0x1655;_0x56befd[_0x283a20(0x397,_0xe34634._0x1e8929)](_0x331a37,_0x315930);_0x331a37++){const _0x11261b={};_0x11261b['type']=_0x56befd['WAhcu'],_0x261c46[_0x283a20(0x41d,_0xe34634._0x10a878)](_0x11261b);}console['log']('['+_0x590574+_0x283a20(0x3b5,0x3c4)+(PHASE_NAMES[_0x1d424a[_0x3c567a(-_0xe34634._0x408b95,-_0xe34634._0xa6fccd)]]??_0x1d424a[_0x3c567a(-0x12d,-0xaa)])+_0x283a20(0x3be,_0xe34634._0xb74dc4));}}for(const _0x8579f2 of _0x20aa0f){if(!_0xafac00[_0x3c567a(-0x3,-0x74)](_0x8579f2)){const _0x5d6fba=_0x385803[_0x8579f2],_0x13da27={};_0x13da27[_0x283a20(_0xe34634._0xdfe9bc,_0xe34634._0x550d1c)]=_0x8579f2,_0x13da27[_0x283a20(_0xe34634._0x103746,0x363)]=_0x5d6fba[_0x283a20(_0xe34634._0x47b1fa,_0xe34634._0x4ce28d)]??undefined;const _0xab35a7={};_0xab35a7[_0x283a20(0x417,_0xe34634._0x17ba33)]=_0x13da27;const _0x3049ba=_0x56befd[_0x3c567a(-_0xe34634._0x32ba9d,-_0xe34634._0x4336e5)](createActor,agentMachine,_0xab35a7);_0x3049ba[_0x283a20(_0xe34634._0x163c58,0x3f1)]();const _0x452e78={};_0x452e78[_0x283a20(_0xe34634._0x42d846,0x3c8)]=_0x283a20(0x3cf,0x403),_0x3049ba[_0x283a20(0x41d,_0xe34634._0x1e35d8)](_0x452e78);for(let _0x5b7b01=-0x108b+-0x1*-0x14e9+0x45e*-0x1;_0x56befd[_0x283a20(0x346,_0xe34634._0x51d508)](_0x5b7b01,PHASES[_0x3c567a(-_0xe34634._0xec6730,-_0xe34634._0x1001a2)]);_0x5b7b01++){const _0x461086={};_0x461086[_0x283a20(_0xe34634._0x4fd464,_0xe34634._0x4a4b00)]=_0x56befd[_0x283a20(0x315,_0xe34634._0x119833)],_0x3049ba['send'](_0x461086);}_0xafac00[_0x283a20(0x3eb,_0xe34634._0x1466c9)](_0x8579f2,_0x3049ba);}}const _0x5bb1bf={};_0x5bb1bf[_0x283a20(0x321,_0xe34634._0x2b109f)+'e']=_0x5bd80d[_0x3c567a(-_0xe34634._0xa04879,-0x106)][_0x3c567a(-_0xe34634._0x2a7cad,-0x172)],_0x5bb1bf['phases']=PHASES,_0x5bb1bf[_0x283a20(_0xe34634._0x234135,0x4b9)]=_0xafac00,_0x5bb1bf[_0x283a20(_0xe34634._0x5c646e,_0xe34634._0x22c223)+'Actor']=null,_0x5bb1bf[_0x3c567a(-_0xe34634._0x4503d3,-0x136)+'t']=_0xd025b3,activeEngine=_0x5bb1bf,await _0x56befd[_0x3c567a(-0x111,-_0xe34634._0x4b1c60)](persistCurrentState),console[_0x283a20(0x349,_0xe34634._0x35a1dd)](_0x56befd[_0x3c567a(-_0xe34634._0x554f17,-_0xe34634._0x489b26)]);}export function stopEngine(){const _0x4592d3={_0x293f42:0x4d5,_0x89d11:0x498,_0x3c0787:0x3fc,_0x480536:0x483,_0x587b6f:0x4d5,_0x523996:0x476},_0x79a316={_0x2db1b:0x4b6};function _0x4c335a(_0x1a33c4,_0x29a98a){return _0x1ef27b(_0x29a98a-_0x79a316._0x2db1b,_0x1a33c4);}const _0x2a2739={};_0x2a2739['zIkSI']='🛑\x20引擎已停止';const _0x38469e=_0x2a2739;if(!activeEngine)return;function _0x9403dc(_0xc7f72a,_0x442989){return _0x198065(_0xc7f72a,_0x442989-0x31c);}for(const [,_0x35b67b]of activeEngine['actors']){_0x35b67b[_0x9403dc(0x434,0x486)]();}activeEngine[_0x9403dc(0x44c,_0x4592d3._0x293f42)+_0x9403dc(_0x4592d3._0x89d11,_0x4592d3._0x3c0787)]&&activeEngine[_0x9403dc(_0x4592d3._0x480536,_0x4592d3._0x587b6f)+_0x4c335a(0x4c9,_0x4592d3._0x523996)][_0x4c335a(0x45c,0x500)](),activeEngine=null,console[_0x9403dc(0x399,0x3f5)](_0x38469e['zIkSI']);}export function getEngine(){return activeEngine;}export async function registerAgent(_0x36675e,_0x182e34={}){const _0x2469d5={_0x4a4f32:0x234,_0x168e1c:0x23e,_0x5bf538:0x2ab,_0x208a16:0x2e4,_0x178dc8:0x2b6,_0x11ff09:0x24c,_0x20e759:0x382,_0x1b21e7:0x296,_0x5d48da:0x354,_0x3919db:0x231,_0x1e9c8b:0x334,_0x424dea:0x323,_0x56d45d:0x333,_0x4a8d0b:0x24f,_0x2229fe:0x257,_0x394d7d:0x2ae,_0x13a8d9:0x1cf,_0xdfc16:0x2c7,_0x32ef71:0x344,_0x297bba:0x2cd,_0x140e74:0x43e,_0x50dfc3:0x27e,_0x50d419:0x29e,_0x37e657:0x222,_0x74ee09:0x287,_0x3b612e:0x265,_0x174cfb:0x36b,_0xa39d13:0x245,_0x25eaa3:0x22f,_0x3bf014:0x240,_0x24c3b3:0x206,_0x362ba6:0x2f3,_0x1a2d8c:0x268,_0x873750:0x1f8,_0x4c47b5:0x240,_0x32b462:0x1c1,_0x4d187c:0x318,_0x2b2bcd:0x358,_0x3499a8:0x233,_0x2c4d95:0x26a,_0x198b3a:0x2ec,_0x2bc405:0x31d,_0x42ba19:0x2f6,_0x4759d1:0x327,_0xafa523:0x3a3,_0x57cea1:0x373,_0x23a4fe:0x248,_0x6b9c2c:0x23d,_0x527025:0x352,_0x1f2791:0x338,_0x299973:0x39e,_0x40ca36:0x33b,_0x3376be:0x3b1,_0x5e012f:0x3cf,_0x383f8f:0x37f,_0xd834aa:0x30e,_0x55da26:0x35f,_0xf43013:0x2f0,_0x2eadac:0x40b,_0x570e00:0x2d6,_0x555a16:0x28c,_0x3f03e1:0x344,_0x57ce11:0x24d,_0xcf1408:0x240,_0x44f4b6:0x1d8,_0x5d4cff:0x315,_0x341f14:0x376,_0x52a37e:0x384,_0x39e042:0x2f1,_0x3bfd6b:0x38f,_0x480609:0x244,_0x488cd2:0x29c,_0x526c2e:0x323,_0x54cde6:0x354,_0x2992e7:0x281,_0x5e03a6:0x2a2,_0x3aab22:0x254,_0x599259:0x2a7,_0x490b95:0x271,_0x33483c:0x3ce,_0x3f64d4:0x3da},_0x30976c={'eHPFU':function(_0x323c00,_0x1ae599){return _0x323c00(_0x1ae599);},'bxnTP':function(_0x19f8f7,_0x18fd83,_0x466a10){return _0x19f8f7(_0x18fd83,_0x466a10);},'yVHnj':_0x2e0824(_0x2469d5._0x4a4f32,_0x2469d5._0x168e1c),'hfnpk':function(_0x48732d,_0x3af4bc){return _0x48732d===_0x3af4bc;},'KeYth':_0x2e0824(0x2fe,_0x2469d5._0x5bf538)+_0x291e41(0x30a,0x314),'mrJSv':'\x20\x20\x20Agent\x20I'+_0x2e0824(_0x2469d5._0x208a16,0x2f1)+_0x2e0824(0x2be,_0x2469d5._0x178dc8)+_0x2e0824(_0x2469d5._0x11ff09,0x2ef)+_0x291e41(_0x2469d5._0x20e759,0x342)+_0x291e41(_0x2469d5._0x1b21e7,0x26e)+'工具','pSqDr':function(_0x37afac,_0x1449ae){return _0x37afac+_0x1449ae;},'pysTT':_0x291e41(0x39e,_0x2469d5._0x5d48da),'evukJ':function(_0x450dac){return _0x450dac();},'LFQWM':_0x2e0824(_0x2469d5._0x3919db,0x1e9),'mCAdW':_0x291e41(_0x2469d5._0x1e9c8b,_0x2469d5._0x424dea),'RfGqT':_0x291e41(_0x2469d5._0x56d45d,0x331)+_0x291e41(0x295,_0x2469d5._0x4a8d0b)+_0x2e0824(0x2c9,_0x2469d5._0x2229fe),'rhgUT':_0x2e0824(_0x2469d5._0x394d7d,0x31b),'ysiyO':_0x291e41(0x337,0x2f5),'zIEzR':function(_0x2124e2,_0x10d353){return _0x2124e2===_0x10d353;},'rfTTq':function(_0x1c9b1c,_0x71259a){return _0x1c9b1c(_0x71259a);}},_0x219e27=await readStateFile();if(!_0x219e27){if(_0x30976c[_0x291e41(0x2da,0x36a)]===_0x30976c['mCAdW']){const _0x5e0b2b={..._0x123b9e};_0x5e0b2b[_0x2e0824(0x244,_0x2469d5._0x13a8d9)]=[..._0x19546d[_0x291e41(0x2f0,0x2db)],_0x308ff6],_0x16c987[_0x4eeeae]=_0x5e0b2b;}else{console['log'](_0x30976c[_0x2e0824(_0x2469d5._0xdfc16,0x36d)]);return;}}if(_0x219e27[_0x291e41(_0x2469d5._0x32ef71,_0x2469d5._0x297bba)][_0x36675e]){if(_0x291e41(0x3a9,0x42b)!==_0x30976c[_0x291e41(0x3ad,_0x2469d5._0x140e74)]){console[_0x2e0824(0x240,0x2ca)](_0x291e41(0x303,_0x2469d5._0x50dfc3)+_0x36675e+'\x20已存在,跳过注册');return;}else{if(!_0x30976c[_0x2e0824(_0x2469d5._0x50d419,_0x2469d5._0x37e657)](_0x5b8d54,_0x3c8d12)){_0x2233f0[_0x2e0824(0x240,0x2d8)](_0x2e0824(_0x2469d5._0x74ee09,_0x2469d5._0x3b612e)+_0x291e41(0x362,0x384)+'t\x20命令');return;}const _0x5a65f2=_0x30976c['bxnTP'](_0x151202,_0x3466ca,_0x30976c[_0x291e41(_0x2469d5._0x174cfb,0x3ab)]),_0x6dac9a=_0x144c42['parse'](_0x5a65f2);_0x3c364a[_0x291e41(0x2ec,_0x2469d5._0xa39d13)](_0x2e0824(0x23a,0x28a)+_0x6dac9a[_0x2e0824(0x29b,0x241)][_0x2e0824(_0x2469d5._0x25eaa3,0x19a)]),_0x95577d[_0x2e0824(_0x2469d5._0x3bf014,_0x2469d5._0x24c3b3)](_0x2e0824(0x2de,0x27e)+_0x6dac9a[_0x291e41(0x347,_0x2469d5._0x362ba6)][_0x2e0824(0x280,_0x2469d5._0x1a2d8c)+'se']),_0x5b211e[_0x2e0824(_0x2469d5._0x3bf014,_0x2469d5._0x873750)]('\x20\x20\x20版本:\x20'+_0x6dac9a['version']),_0x148245[_0x2e0824(_0x2469d5._0x4c47b5,_0x2469d5._0x32b462)](_0x291e41(0x322,_0x2469d5._0x4d187c)+_0x6dac9a[_0x291e41(0x2d4,0x2d7)]+'\x0a');const _0x4c5fd0=_0x6dac9a[_0x291e41(0x344,_0x2469d5._0x2b2bcd)],_0x1b4773=_0x1aafe9[_0x2e0824(_0x2469d5._0x3499a8,0x1df)](_0x4c5fd0);if(_0x30976c['hfnpk'](_0x1b4773[_0x2e0824(0x292,_0x2469d5._0x2c4d95)],-0x2296+-0x10dd*-0x1+-0x1*-0x11b9)){_0x509d09[_0x2e0824(_0x2469d5._0x3bf014,0x1d4)](_0x30976c['KeYth']);return;}_0x32a1e9['log'](_0x30976c['mrJSv']),_0x50e9a[_0x291e41(_0x2469d5._0x198b3a,_0x2469d5._0x2bc405)](_0x30976c[_0x2e0824(_0x2469d5._0x362ba6,_0x2469d5._0x42ba19)](_0x30976c[_0x2e0824(_0x2469d5._0x4759d1,0x310)],'-'[_0x2e0824(0x283,0x22c)](-0x1bc9+-0x930*0x2+0x2e79)));for(const _0x272c98 of _0x1b4773){const _0x357ddb=_0x4c5fd0[_0x272c98],_0x3d2568=_0x62514d[_0x357ddb[_0x291e41(0x3a3,0x3e5)]]??_0x357ddb[_0x291e41(_0x2469d5._0xafa523,_0x2469d5._0x57cea1)],_0x2f29c5=_0x357ddb[_0x2e0824(_0x2469d5._0x23a4fe,_0x2469d5._0x6b9c2c)+_0x291e41(_0x2469d5._0x527025,0x3de)]||'-',_0x244220=_0x357ddb[_0x291e41(_0x2469d5._0x1f2791,0x2f9)+'ll']||'-';_0x5ae32a['log'](_0x291e41(_0x2469d5._0x299973,0x360)+_0x272c98['padEnd'](0x469+-0x7cf*0x2+-0xb47*-0x1)+_0x291e41(0x3cf,_0x2469d5._0x40ca36)+_0x3d2568[_0x291e41(0x37f,_0x2469d5._0x3376be)](0x3e1*0x5+0xd*0x2f9+0x39fc*-0x1)+_0x291e41(_0x2469d5._0x5e012f,0x3c7)+_0x2f29c5[_0x291e41(_0x2469d5._0x383f8f,_0x2469d5._0xd834aa)](-0x1050*-0x1+-0xa4a+0x1*-0x5f1)+_0x291e41(0x3cf,0x443)+_0x244220);}_0x5c7bda['log']();}}const _0x4de308=_0x182e34['phase']??_0x30976c[_0x291e41(0x3c3,0x329)],_0xb7af1b=_0x182e34['parentId']??null;function _0x2e0824(_0x21c712,_0x2b042e){return _0x1ef27b(_0x21c712-0x287,_0x2b042e);}const _0x4116bb={};_0x4116bb[_0x291e41(0x2c3,_0x2469d5._0x55da26)]=_0x36675e,_0x4116bb['parentId']=_0xb7af1b,_0x4116bb[_0x291e41(_0x2469d5._0xf43013,0x33d)]=[],_0x4116bb[_0x291e41(0x3a3,_0x2469d5._0x2eadac)]=_0x4de308,_0x4116bb['currentOpe'+_0x291e41(0x352,_0x2469d5._0x570e00)]='',_0x4116bb[_0x2e0824(_0x2469d5._0x555a16,0x2a9)+'ll']='';const _0x129163=_0x4116bb;function _0x291e41(_0x6c6e7f,_0x17e287){return _0x1ef27b(_0x6c6e7f-0x333,_0x17e287);}const _0x503b06={..._0x219e27[_0x291e41(_0x2469d5._0x3f03e1,0x2a0)]};_0x503b06[_0x36675e]=_0x129163;const _0x5240f4=_0x503b06;if(_0xb7af1b&&_0x5240f4[_0xb7af1b]){if(_0x30976c[_0x2e0824(0x2cc,_0x2469d5._0x57ce11)]('aUCNt',_0x2e0824(0x27c,0x29e)))_0x3fe95a[_0x2e0824(_0x2469d5._0xcf1408,_0x2469d5._0x44f4b6)](_0x2e0824(_0x2469d5._0x5d4cff,_0x2469d5._0x341f14)+_0x187bcf+_0x291e41(_0x2469d5._0x52a37e,0x39e)),_0x30976c[_0x291e41(0x2c2,0x280)](_0x1807fc);else{const _0x5f1249=_0x5240f4[_0xb7af1b];if(!_0x5f1249['childIds'][_0x291e41(_0x2469d5._0x39e042,_0x2469d5._0x3bfd6b)](_0x36675e)){const _0x9c326={..._0x5f1249};_0x9c326[_0x2e0824(_0x2469d5._0x480609,_0x2469d5._0x488cd2)]=[..._0x5f1249[_0x291e41(_0x2469d5._0xf43013,_0x2469d5._0x526c2e)],_0x36675e],_0x5240f4[_0xb7af1b]=_0x9c326;}}}const _0x11c18a={};_0x11c18a[_0x291e41(0x347,_0x2469d5._0x54cde6)]=_0x219e27[_0x2e0824(0x29b,_0x2469d5._0x2992e7)],_0x11c18a['agents']=_0x5240f4,_0x11c18a[_0x2e0824(0x28f,0x26c)+_0x291e41(0x2e7,0x336)]=_0x219e27[_0x291e41(_0x2469d5._0x40ca36,_0x2469d5._0x5e03a6)+_0x2e0824(0x23b,_0x2469d5._0x3aab22)],await _0x30976c['rfTTq'](writeStateFile,_0x11c18a);const _0x199c26=PHASE_NAMES[_0x4de308]??_0x4de308;console[_0x2e0824(0x240,0x290)](_0x291e41(_0x2469d5._0x599259,_0x2469d5._0x490b95)+'册:\x20'+_0x36675e),console[_0x291e41(_0x2469d5._0x198b3a,0x2cd)]('\x20\x20\x20阶段:\x20'+_0x199c26);if(_0xb7af1b)console[_0x291e41(0x2ec,0x27d)](_0x291e41(_0x2469d5._0x33483c,_0x2469d5._0x3f64d4)+':\x20'+_0xb7af1b);}export async function deregisterAgent(_0x235e05){const _0x2ad26c={_0x537493:0x41,_0x43c9ac:0x4fc,_0x521c44:0x12d,_0x17ff92:0x525,_0x4b29f2:0x58d,_0x307534:0x592,_0x47f473:0x489,_0x452af6:0x4c4,_0x1a5d33:0x559,_0x4471e0:0x183,_0x4ed95b:0x428,_0x2b9add:0xe6,_0x525de3:0x6e,_0x4d46f3:0xab,_0x4562ec:0xd9,_0xc9de65:0x5a8,_0x257604:0x54b,_0x5215bb:0x4f8,_0x3410f3:0x4d9,_0x5d719b:0x600,_0x5564e0:0xa4,_0x5702e0:0x18,_0x1ff5d8:0x529,_0x1814a2:0x4d1,_0x1ca5a2:0x555,_0x4e19ef:0xc4,_0x53f766:0x111},_0x6055da={_0x25ca18:0x525},_0x338f19={'kUrnq':_0x2501f3(-_0x2ad26c._0x537493,-0xe)+_0x3468a6(_0x2ad26c._0x43c9ac,0x559),'ksTLr':'bvblk','VRudp':function(_0x357cd8,_0x2bc53b){return _0x357cd8!==_0x2bc53b;},'leinM':function(_0x352544,_0x1851d0){return _0x352544(_0x1851d0);},'yFzvM':function(_0x4bf397,_0x28fe3b){return _0x4bf397>_0x28fe3b;}},_0xd0a0c1=await readStateFile();if(!_0xd0a0c1){console[_0x2501f3(-_0x2ad26c._0x521c44,-0xcc)](_0x3468a6(_0x2ad26c._0x17ff92,_0x2ad26c._0x4b29f2));return;}if(!_0xd0a0c1[_0x3468a6(0x536,_0x2ad26c._0x307534)][_0x235e05]){console['log'](_0x3468a6(0x4f5,_0x2ad26c._0x47f473)+_0x235e05+'\x20不存在');return;}const _0x3a739c=_0xd0a0c1[_0x2501f3(-0x17,-0x74)][_0x235e05],_0x4d30f0={..._0xd0a0c1['agents']},_0x377308=_0x4d30f0;delete _0x377308[_0x235e05];function _0x2501f3(_0x53da4e,_0x16a57b){return _0x198065(_0x53da4e,_0x16a57b- -0x1a5);}function _0x3468a6(_0x312796,_0x52d50e){return _0x1ef27b(_0x312796-_0x6055da._0x25ca18,_0x52d50e);}if(_0x3a739c[_0x3468a6(_0x2ad26c._0x452af6,_0x2ad26c._0x1a5d33)]&&_0x377308[_0x3a739c[_0x2501f3(-_0x2ad26c._0x4471e0,-0xe6)]]){const _0x23ad45=_0x377308[_0x3a739c[_0x3468a6(0x4c4,_0x2ad26c._0x4ed95b)]];_0x377308[_0x3a739c[_0x2501f3(-0x11c,-_0x2ad26c._0x2b9add)]]={..._0x23ad45,'childIds':_0x23ad45['childIds'][_0x2501f3(-_0x2ad26c._0x525de3,-_0x2ad26c._0x4d46f3)](_0x15935a=>_0x15935a!==_0x235e05)};}const _0x462953=Object[_0x2501f3(-0xc1,-_0x2ad26c._0x4562ec)](_0x377308);let _0x490230='completed';for(const _0x21bf3f of _0x462953){if(_0x338f19[_0x3468a6(_0x2ad26c._0xc9de65,_0x2ad26c._0x257604)]!==_0x338f19[_0x2501f3(0x38,-0x2)]){_0x2c54d5['log'](_0x338f19['kUrnq']);return;}else{if(_0x338f19['VRudp'](_0x377308[_0x21bf3f][_0x3468a6(0x595,0x629)],_0x3468a6(_0x2ad26c._0x5215bb,_0x2ad26c._0x3410f3))){_0x490230=_0x377308[_0x21bf3f][_0x3468a6(0x595,_0x2ad26c._0x5d719b)];break;}}}await _0x338f19[_0x2501f3(_0x2ad26c._0x5564e0,0x11)](writeStateFile,{'project':{..._0xd0a0c1[_0x2501f3(_0x2ad26c._0x5702e0,-0x71)],'currentPhase':_0x338f19['yFzvM'](_0x462953[_0x3468a6(0x530,0x595)],-0x2444+-0x192a*-0x1+0xb1a)?_0x490230:_0x3468a6(_0x2ad26c._0x1ff5d8,0x536)},'agents':_0x377308,'machineSnapshot':_0xd0a0c1['machineSna'+_0x3468a6(0x4d9,_0x2ad26c._0x1814a2)]}),console[_0x3468a6(0x4de,_0x2ad26c._0x1ca5a2)](_0x2501f3(-_0x2ad26c._0x4e19ef,-_0x2ad26c._0x53f766)+'销:\x20'+_0x235e05);}function detectInputType(_0x25a3b8){const _0x4afff6={_0x9e05bd:0xae,_0x131147:0x36,_0x2d3ce7:0x96,_0x29341d:0x5c,_0x5994a7:0xe7,_0x2b85ff:0xcd,_0x56dd9e:0x17e,_0x37d2f9:0x133,_0x45de7b:0x90},_0x26904c={_0x440c3b:0x3c},_0x2b9e03={};_0x2b9e03[_0x1a1fc1(0xf4,_0x4afff6._0x9e05bd)]=_0x1a1fc1(_0x4afff6._0x131147,_0x4afff6._0x2d3ce7),_0x2b9e03[_0x1a1fc1(0xda,_0x4afff6._0x29341d)]=function(_0x49f400,_0x15e37a){return _0x49f400>_0x15e37a;};function _0x1a1fc1(_0x110592,_0x2ecc4c){return _0x1ef27b(_0x2ecc4c-_0x26904c._0x440c3b,_0x110592);}function _0x52439f(_0x5743c0,_0x3d99f4){return _0x1ef27b(_0x3d99f4- -0x13e,_0x5743c0);}const _0x416924=_0x2b9e03;if(/^https?:\/\/github\.com\//[_0x1a1fc1(0x101,_0x4afff6._0x5994a7)](_0x25a3b8))return _0x416924['KePsS'];if(/^https?:\/\//[_0x1a1fc1(0x110,0xe7)](_0x25a3b8))return _0x1a1fc1(0xda,_0x4afff6._0x2b85ff)+'l';if(_0x416924['FMnar'](_0x25a3b8[_0x52439f(-_0x4afff6._0x56dd9e,-_0x4afff6._0x37d2f9)],0x34*-0xb7+0x12e3+-0x1*-0x1253))return _0x52439f(-0x255,-0x1c8)+'t';return _0x1a1fc1(0x76,_0x4afff6._0x45de7b);}const _0x2912dd={};_0x2912dd[_0x198065(0xea,0x96)+'t']=_0x1ef27b(0x1c,0x7a),_0x2912dd['github_url']=_0x198065(0x127,0x8f),_0x2912dd['website_ur'+'l']=_0x1ef27b(-0x75,0x24),_0x2912dd['unknown']=_0x1ef27b(0x7f,0x116);const INPUT_TYPE_NAMES=_0x2912dd;async function readStateFile(){const _0x1231f2={_0x2a41e3:0x45b};function _0x35206b(_0x2d55b5,_0x35efdc){return _0x1ef27b(_0x2d55b5-0x42f,_0x35efdc);}if(!existsSync(STATE_FILE_PATH))return null;const _0x3f1ae1=new StateFileManager(STATE_FILE_PATH);return _0x3f1ae1[_0x35206b(0x3de,_0x1231f2._0x2a41e3)]();}async function writeStateFile(_0x40533c){const _0x2e556c={_0x1a3983:0xd6,_0x1160b6:0x12a,_0x3ea0a8:0x2bd,_0x26de12:0x154,_0x2ea961:0x3b,_0xc5a6c1:0xa2,_0x3b9a0e:0x1c7,_0x1020a9:0x7d},_0x268b73={_0xfae3d7:0x142},_0x518161={};function _0x4854e4(_0x448baf,_0x21b745){return _0x1ef27b(_0x448baf-_0x268b73._0xfae3d7,_0x21b745);}function _0x43bc5a(_0x181715,_0x43db86){return _0x1ef27b(_0x43db86-0x239,_0x181715);}_0x518161[_0x4854e4(0x1ce,0x22a)]=function(_0x5f0e9e,_0x5e416a){return _0x5f0e9e<_0x5e416a;},_0x518161[_0x4854e4(_0x2e556c._0x1a3983,0x7f)]=function(_0xe0b9ea,_0x3238db){return _0xe0b9ea===_0x3238db;},_0x518161[_0x4854e4(0xf7,_0x2e556c._0x1160b6)]='uxNFH',_0x518161[_0x43bc5a(0x22a,_0x2e556c._0x3ea0a8)]=function(_0x473d03,_0xa7df56){return _0x473d03-_0xa7df56;};const _0x187f31=_0x518161;for(let _0x485952=-0x2f9*-0x9+-0x24ae*-0x1+-0x3f6f;_0x187f31['NbuWP'](_0x485952,MAX_RETRIES);_0x485952++){try{const _0x233c99=new StateFileManager(STATE_FILE_PATH);await _0x233c99[_0x43bc5a(0x16b,0x1e8)](),await _0x233c99[_0x4854e4(_0x2e556c._0x26de12,0x1c5)](_0x40533c);return;}catch(_0x19fd1d){if(_0x187f31[_0x4854e4(0xd6,0xdb)](_0x187f31[_0x43bc5a(0x1a1,0x1ee)],_0x4854e4(0xaa,_0x2e556c._0x2ea961))){_0x88808e[_0x4854e4(0xfb,_0x2e556c._0xc5a6c1)](_0x4854e4(_0x2e556c._0x3b9a0e,0x15e)+'\x20已完成,无需恢复');return;}else{if(_0x19fd1d instanceof Error&&_0x19fd1d['message'][_0x4854e4(0x100,_0x2e556c._0x1020a9)]('乐观锁冲突')&&_0x187f31['NbuWP'](_0x485952,_0x187f31['aCqeJ'](MAX_RETRIES,0xa9c+0x5fd+-0x1098))){await new Promise(_0x55f62c=>setTimeout(_0x55f62c,-0xe10+0x5*0x60d+-0x1c7*0x9+Math[_0x4854e4(0x109,0x149)]()*(-0xac5*0x3+-0xf0d+0x2fc0)));continue;}throw _0x19fd1d;}}}}function _0x278a(){const _0x499f2f=['ChjVAMvJDcdLKB3KU6q','v2H0v2m','CLbHy0m','EKLfELi','mZeXnZGWoeHSCvvNzW','zxHLy3v0zq','DeDgrva','AM9PBG','C3rVCa','r2vkAgm','CgfKrw5K','BwfW','C2LNBMfS','icaGicaGicaGia','quXmx0nisuXeuG','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','qwvlsM0','icaG5yID5AEliefNzw4','Dw5RBM93BG','u0TRA08','rMXruhe','icaG5B2t5yMn6zI25Q61oIa','DhLWzq','swrqsKq','z2L0AhvIx3vYBa','C2v0','yLD1zg8','rcaGicaGicaGia','tgPnEg0','iokgKIa','yxv0BW','AhHhD3e','cVcFK4OG6Ag555UU6l+B5BQMoIa','s0nKCwy','icaG5A6m5OIq5BQMoIa','q0HjterFq09nua','ios4JEwTMowCQos6JIbZDgf0','mte5ode3mNDkqLjHzq','zgLZy3vZCW','C2XPy2u','yvfQB1e','icaG','CfnXrhi','cVcFMOaG5zcV5yQOieTHBMi','CgXHBG','cVcFLi0G5BYa5AEl5yIg5P6q','CgHHC2u','v3PlqMG','s2vqC1m','DcdLT7lLROZMIjdLHAJPG6JPMlBMRRu','twnrB0G','iow3SUwUJoAiKo+8JoAxOoMCGoAbOUwKJq','tLLUA3G','icaG5PQc5PEGiefNzw4','vffVC20','AxmVDg9VBhmVyq','CMHNvvq','xsdMTl7LJ5hLRzaGqwDLBG','rfn6zum','zxjYB3i','5OQa5PYV6ycj5z6l','5PYQ55+L57g75z6l','CxfRy3e','C1ngBKS','BMfSExPLlxjLCq','A3nuthi','yunXzuO','4PYfioAjGoACIsbbz2vUDa','C3rHCNq','Aw5WDxq','vwvvsg8','De1eEuG','8j+tIYdLT7lLIQdOVB3MIOdMNk/KUiRKUiVMLOC','vgXyBhq','tMj1v1a','C2vUza','cUkCHsbbz2vUDca','CMvZDwX0','ExnPEu8','D2vIC2L0zv91CG','ru5Fre9orq','t0LMAhu','rgrhwvO','z2v4BhG','BgvPBK0','zg95vK8','ywn0B3jZ','C3vWzxj2AxnVCG','tgnnuNC','icaG54I2iefNzw50','ihWG','ote1mdm0uxjeufPi','vKLWthO','DgfZAW','ChLZvfq','y2HPBgrjza','r3LxDgG','BNHpyK0','zgvTyw5Kx2fUyq','mteZnvjNwwLMAq','AgfZ','DwLYzw1LBNrZlG','wgPNAvG','cVcFLiqG5OgI5Asn5BYv5Poo','u0frqNO','DgvZDa','ywPQzuC','z0zRtfq','nte3nZGXzxzRDuHw','uKfusu9o','u1rbuLrFueHbuW','lNnWzwnVChm','5yQF6io95yIg5P6q','77Ym6k+35ywi6l+q6kgmig5LDY0','icaGicaGicb8ia','B0Drrhq','vNvmve8','icaGqwDLBNqGsq','icaG55UU5B2voIa','C2Drveq','z3DJy0y','CgfYC2u','EuztBMi','DM5dD3y','cVcFK50G6l+B5ywL6kEe5yIs6zI25Q61oG','55sOigfKDMfUy2uG','r2L0shvIios7K+w6KW','EgziEvm','CxvPy2S','ANvzyLq','uwfNv0y','4PYfiefNzw50iow3SUAZQa','zMvHDhvYzv9HBG','CMvXDwLYzw1LBG','uhjkz2e','DcdLKB3KU6q','icaG6l6t5ywL57g75z6loIa','DhzXzey','icaG5lU75yQHoIa','sgrby1G','icaG5O+q56s6oIdLV6VPGj/KU7S','zw50CMLLCW','y29UDgv4Da','u1bRBMS','yuHHq3u','C0jsDhu','zs5QC29U','A2H3B3a','v0fOy3u','DMfSDwu','B1PVAxG','CgHHC2vZ','wKX3u0i','zfr4qwe','572r56Uzifvsta','4PQG77IpicdLIQdOVB3MIOdMNk/KUiRKUiVMLOC','BfjeEeK','5lMq6kEc6zsb5yAY56Qb','zxz1A0O','ywDLBNrjza','ChjVAMvJDe5HBq','4P2miowiHUAEKowKSEI0PtOG','t2ngy3a','rKPeBKe','cUkCHsdLVjxMK47LT7lMGAlLPi3VViZKVB8','qurZyu4','odm1mZqWBNb5AgL3','qvb3whK','B29eywK','wvPNAhu','zg9Uzq','vLjUB0W','DgLVBG','icaG54Mi5PYSoIa','CgfYzw50swq','swXswfe','DxbKyxrLzef0','sKjszhO','77Ym5PEG5Rov5OgI5Asn44cc6k+35ywi6l+q6kgm','5A2q5lU75yQHia','C3rHDhvZ','icaG6l6t5ywL5RQqoIa','tezrv00','BMfTzq','lI4U','zwrPu0i','zunyt1a','A2v5CW','DxrMltG','CKn3Duy','CMvHza','4P2mioMCGoAXGUwiHUAEKowKSEI0PtOG','swzeCgO','DdOG','cVcFK4OG6Ag555UU54Q25OcboIa','ChnOB3q','tKnuuhy','wuHPA1e','tNrKD2q','vvrcA1C','Bg9N','A0rSB3m','z052BgC','ugfgCeK','y2HPBgrjzhm','Aw5JBhvKzxm','5AsX6lsL77Ym57UN57UT5OMN6kgm','qwn0B3i','y3vYCMvUDe9Wzq','cVcFKQWG6l+B5ywL6k6O6k666zI25Q61oG','ywX5C2LZ','svDvr2i','icaGicaGFcdMK43KVzW','y29TCgv0AxrVCG','CMfUzg9T','D2fYBG','DejUAfi','uM55ELi','EeXos1q','y3DK','BNq6ia','wfLPveK','CxvPy2STDgfZAW','4PQG77Ipicbbz2vUDca','qwDws2q','icaGqwDLBNq6ia','y29TCgXLDgvK','55sOigfKDMfUy2uV','C2TPBgW','nKT0AwTIrq','DcdORRdLVzu','D1PuD2y','rKX3s3m','zMLSDgvY','uhncswK','B3iG5BEY5zcV5yQO','tevurq','wKLACuy','wunyCeC','Aw5KzxHpzG','xsbbz2vUDcdLT7lLKk8','5Q615OMN6kgm5yw35l2t5lU75yQHcG','BNvrzNe','DgvJAenVBNrLEa','DK9YEhG','CMvJDxjZAxzL','vgDXAum','icaG8j+tIcdPMlBMRRxLIiBLUim6','lI9Yzxf1AxjLBq','C2Purgm','icaG5O+q56s6oIdLNkJMRAtPMly','CLjiEM8','Ewj4uge','BgLUzE+8JoEBToAoPEAjP+IHJaO','icaG5PU05PAW5PE26zE0oIa','xsbtDxbLCNzPCW','tuzuBu4','zK1PC0O','icaG57g75z6loIa','BKrYBg0','zhbdqvm','mtqXmg5zqMf5zW','5Rgc5yIg5P6qcG','ruDNt2K','y3vYCMvUDfbOyq','t2vszxa','icaG5B2t5yMn6zI25Q61oIdPNia','CMvWzwf0','q3Lxz2m','5Ocb5PAh5lU25lIn5A2y5zYO77Ym6k+35ywi6l+q','weLdwLe','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','DLD6D1u','DMvYC2LVBG','77Ym6lEZ6l+h','AwrSzq','y3vYCMvUDfnRAq','AeTPCw0','v1DIzgG','BwfJAgLUzvnUyq','zfb4Exa','EMHusue','BgvUz3rO','xsdLT7lLROZMIjdLHAJPG6JPMlBMRRu','zw50lwfUywX5CW','BvjpzMK','B3bLCMf0Aw9U','cVcFMOaG6zYa5Rgc5yIg5P6q5BYv5Poo','ywDLBNrZ','D3jPDgu','BLvstK8','ChjVAMvJDa','z0LqBK0','ihn0yxj0iowrVEs7Pa','zuHqrLu','DKDWAMS','ueHbu0vFq09nua','reLtuefuq0HFva','ndq3ntuWnLr6Eg9TwG','6zYa5Rgc5PAh5PYS','5Q615Ps26zUg6zYa5Rgc44cb6k6O6k665PA55Qgi','CM1uBNi','CMf0Aw9U','rK1Uyxi','cUkAOsdOV5VLHAxMIAFOOyZPMlBMRRu6','swr1sKy','tLbSuhi','zw5NAw5L','xsdKU44G','C3rHDguUANnVBG','r29uqKe','CNzsAMW','icaG6Ag555UUoIa','C3nrvwG','C3rYAw5N','zMLUza','BwvZC2fNzq','ioAbOUwKJq','77Ym6k+35ywi6l+q6kgmihn0yxi','sNnIqxu','vKjqEue','mtHfvunpC00','cUkAOsdLV6VPGj/KU7VLIQhMQkhLVi8','ALjUD1i','5yQH5lIn6lwW5A6m5Pw0ifbPCgu','z2v0u25HChnOBW','ihWG6zI25Q61icaGica','EvziBMO','56UE5zob5yIg5P6q','D1rtAxa','sePxqM0','sfzLsNa','icaGqwDLBNqG5PwW','CKj1Cum','u1rbuLq','uMzhCvq','4P2miefNzw50ia'];_0x278a=function(){return _0x499f2f;};return _0x278a();}export async function newProject(_0x37a34a){const _0x1342f5={_0x4ed76b:0x55f,_0x8a4683:0x502,_0x215f90:0x648,_0x58a24b:0x5a9,_0x1454ad:0x305,_0x595ba8:0x4c2,_0x5bd9cb:0x54a,_0x39dcf7:0x541,_0x3eb8fb:0x26d,_0x4d87a8:0x2fd,_0x3e1bbb:0x279,_0x503015:0x397,_0x2659ad:0x2c9,_0x1f5623:0x2fd,_0x380c94:0x598},_0x58cd7c={_0x335a0c:0x539},_0x22b75={'doyVO':function(_0x29cfbc,_0x520653,_0x25e8aa){return _0x29cfbc(_0x520653,_0x25e8aa);},'TgqiC':function(_0x5aa7f0,_0x4df171){return _0x5aa7f0(_0x4df171);},'tBnhR':function(_0x2587c8,_0x4cf7a6,_0x26928a){return _0x2587c8(_0x4cf7a6,_0x26928a);},'chwSU':function(_0x3e0edf){return _0x3e0edf();}},_0x10cd05=_0x22b75[_0x1f5de9(0x3db,0x40b)](resolve,process[_0x1e7746(0x58a,0x505)](),'.specops');if(!_0x22b75[_0x1f5de9(0x32b,0x347)](existsSync,_0x10cd05)){const _0x19b7cb={};_0x19b7cb[_0x1e7746(_0x1342f5._0x4ed76b,0x51f)]=!![],_0x22b75[_0x1e7746(0x5ab,_0x1342f5._0x8a4683)](mkdirSync,_0x10cd05,_0x19b7cb);}function _0x1e7746(_0xc76aef,_0x42866a){return _0x1ef27b(_0x42866a-_0x58cd7c._0x335a0c,_0xc76aef);}const _0x1599a1=_0x22b75['chwSU'](generateAgentId),_0x6e4410={};_0x6e4410['agentId']=_0x1599a1,_0x6e4410[_0x1f5de9(0x2e3,0x280)]=null,_0x6e4410['childIds']=[],_0x6e4410[_0x1e7746(_0x1342f5._0x215f90,_0x1342f5._0x58a24b)]=_0x1e7746(0x578,0x53d),_0x6e4410[_0x1f5de9(0x305,_0x1342f5._0x1454ad)+_0x1e7746(0x583,0x558)]='',_0x6e4410['currentSki'+'ll']='';function _0x1f5de9(_0x122389,_0xd6c871){return _0x1ef27b(_0x122389-0x344,_0xd6c871);}const _0x44e480=_0x6e4410,_0x1d4695={};_0x1d4695[_0x1f5de9(0x2ec,0x2b3)]=_0x37a34a,_0x1d4695['currentPha'+'se']='idle';const _0x21ff50={};_0x21ff50[_0x1599a1]=_0x44e480;const _0x39e0cb={};_0x39e0cb[_0x1e7746(0x530,0x54d)]=_0x1d4695,_0x39e0cb[_0x1e7746(_0x1342f5._0x595ba8,_0x1342f5._0x5bd9cb)]=_0x21ff50,_0x39e0cb[_0x1e7746(0x5d8,_0x1342f5._0x39dcf7)+_0x1f5de9(0x2f8,_0x1342f5._0x3eb8fb)]=null,await writeStateFile(_0x39e0cb),console['log']('\x0a🆕\x20项目已创建:\x20'+_0x37a34a),console[_0x1f5de9(_0x1342f5._0x4d87a8,_0x1342f5._0x3e1bbb)](_0x1e7746(0x471,0x4a0)+_0x10cd05),console['log'](_0x1f5de9(_0x1342f5._0x503015,0x2f4)+_0x1f5de9(0x2f6,_0x1342f5._0x2659ad)+_0x1599a1),console[_0x1f5de9(_0x1342f5._0x1f5623,0x2ce)]('\x20\x20\x20阶段序列:\x20'+PIPELINE_PHASES[_0x1f5de9(0x391,0x3eb)](_0x4ffa82=>PHASE_NAMES[_0x4ffa82]??_0x4ffa82)[_0x1f5de9(0x38d,0x3a0)](_0x1e7746(0x5d1,_0x1342f5._0x380c94))+'\x0a');}export async function discussPhase(_0x5d2ed4){const _0x2d09e4={_0x31ba42:0x247,_0xfbed98:0x147,_0x32bf1c:0x23e,_0x15b96a:0x7e,_0x1d41df:0x155,_0xee2c20:0x1f6,_0x16d9d1:0x107,_0x233fe4:0xc0,_0x4c3a1e:0x179,_0x590d7e:0xf0,_0x41a495:0x93,_0x22141d:0x2a,_0x3f6081:0x11,_0x3f3093:0x1e7,_0x191dd2:0x98,_0x1881c7:0xbe,_0x5bf627:0x144,_0x41e69a:0x227,_0x1775f0:0x203,_0x2c975e:0x117,_0x4cdec7:0x1ac,_0x9f39ac:0x131,_0x4311df:0x21c,_0x2c9148:0x2ba,_0x37461c:0x2a1,_0x3995f1:0x6d,_0x2c174e:0x20,_0x255121:0x7a,_0x2a5037:0x1ec},_0x1908ab={'VuLTO':_0x3c5971(_0x2d09e4._0x31ba42,0x23f),'nDrlm':function(_0x433d72,_0x1ab8a0){return _0x433d72!==_0x1ab8a0;},'GeJhc':function(_0x52f755){return _0x52f755();},'HVdbB':function(_0x4fc235,_0x7b9e7a){return _0x4fc235===_0x7b9e7a;},'PQiHv':_0x566672(0xd8,_0x2d09e4._0xfbed98),'jRnwR':function(_0x2a28e5,_0x1728f4){return _0x2a28e5(_0x1728f4);}};function _0x3c5971(_0xf7e61b,_0x6bcde2){return _0x198065(_0x6bcde2,_0xf7e61b-0xd3);}const _0x40822e=_0x5d2ed4??_0x566672(0x12d,0x116),_0x4b0f4a=await _0x1908ab[_0x3c5971(_0x2d09e4._0x32bf1c,0x297)](readStateFile);if(!_0x4b0f4a){console[_0x566672(_0x2d09e4._0x15b96a,0xbf)]('⚠️\x20\x20状态文件不存在'+_0x3c5971(_0x2d09e4._0x1d41df,_0x2d09e4._0xee2c20)+_0x566672(_0x2d09e4._0x16d9d1,_0x2d09e4._0x233fe4));return;}const _0x23c917=_0x4b0f4a[_0x3c5971(0x204,0x163)];for(const _0x31c9c9 of Object['keys'](_0x23c917)){if(_0x1908ab['HVdbB'](_0x1908ab['PQiHv'],'nCrcC')){for(const [_0x2c0135,_0x30755f]of _0x30b4f5){const _0x16e991=_0x30755f['getSnapsho'+'t'](),_0x57382b=typeof _0x16e991[_0x3c5971(_0x2d09e4._0x4c3a1e,0x184)]===_0x566672(_0x2d09e4._0x590d7e,_0x2d09e4._0x41a495)?_0x16e991['value']:_0x1908ab[_0x566672(_0x2d09e4._0x22141d,-_0x2d09e4._0x3f6081)];if(_0x1908ab[_0x3c5971(_0x2d09e4._0x3f3093,0x233)](_0x57382b,_0x566672(_0x2d09e4._0x191dd2,0xfb)))return _0x2c0135;}return null;}else _0x23c917[_0x31c9c9]['phase']!=='completed'&&(_0x23c917[_0x31c9c9]={..._0x23c917[_0x31c9c9],'phase':_0x40822e});}function _0x566672(_0x329771,_0x9068eb){return _0x198065(_0x9068eb,_0x329771- -0x5b);}const _0x181043={};_0x181043['name']=_0x4b0f4a['project'][_0x566672(0x6d,0x2b)],_0x181043[_0x566672(_0x2d09e4._0x1881c7,0x55)+'se']=_0x40822e;const _0x1d8ae8={};_0x1d8ae8[_0x566672(0xd9,0xd6)]=_0x181043,_0x1d8ae8[_0x566672(0xd6,0x92)]=_0x23c917,_0x1d8ae8['machineSna'+_0x3c5971(0x1a7,_0x2d09e4._0x5bf627)]=null,await _0x1908ab[_0x3c5971(_0x2d09e4._0x41e69a,_0x2d09e4._0x1775f0)](writeStateFile,_0x1d8ae8);const _0x147faa=PHASE_NAMES[_0x40822e]??_0x40822e;console['log'](_0x566672(0x87,_0x2d09e4._0x2c975e)+'\x20'+_0x147faa),console[_0x3c5971(_0x2d09e4._0x4cdec7,_0x2d09e4._0x9f39ac)](_0x3c5971(_0x2d09e4._0x4311df,_0x2d09e4._0x2c9148)+_0x4b0f4a[_0x3c5971(0x207,_0x2d09e4._0x37461c)][_0x566672(_0x2d09e4._0x3995f1,_0x2d09e4._0x2c174e)]),console[_0x566672(_0x2d09e4._0x15b96a,_0x2d09e4._0x255121)]('\x20\x20\x20当前阶段:\x20'+_0x147faa),console['log'](_0x3c5971(0x1de,_0x2d09e4._0x2a5037)+_0x3c5971(0x210,0x1a4)+'\x0a');}export async function planPhase(_0x22382c){const _0x4d9979={_0x55041e:0x12a,_0x5549b3:0x149,_0x45b49b:0xf9,_0x5a6f89:0x1d8,_0x7d6405:0x147,_0x227d12:0x3de,_0x31094f:0x3ef,_0xabfedb:0x3b1,_0x205d58:0xe8,_0x157285:0x179,_0x3146ca:0x3b5,_0x4595b0:0x41f,_0x23c45b:0x386,_0x4e716c:0x353,_0x446323:0x3d7,_0x14a4a8:0x382,_0x16af7b:0x34e,_0x100f84:0x34b,_0x183ea7:0x3c2,_0x2c4c0d:0x397,_0x198be4:0x3f2,_0xe6b61b:0x3d0,_0x1da02c:0x5c,_0x38c464:0xff,_0x3ea188:0x15d,_0x2a1913:0x1ae,_0x4e642f:0x3c9,_0x41f90e:0x383},_0x69c53d={_0xc6a1b4:0x3de},_0x547f98={_0x54ab5e:0x37},_0x4875d7={'fMisJ':function(_0x456940,_0x479d93){return _0x456940??_0x479d93;},'JBRdz':function(_0x1badd0){return _0x1badd0();},'OljRX':function(_0x657f29,_0x26495f){return _0x657f29===_0x26495f;},'aOpsk':'sSFnK','IduJF':function(_0x5734e6,_0x51936a){return _0x5734e6!==_0x51936a;},'ADsaN':_0x3c8433(0x111,_0x4d9979._0x55041e),'uzYbW':function(_0x412838,_0x214d34){return _0x412838(_0x214d34);}},_0x2ef9c7=_0x4875d7[_0x3c8433(0x129,_0x4d9979._0x5549b3)](_0x22382c,_0x30b9eb(0x44c,0x491)),_0x98d828=await _0x4875d7[_0x3c8433(0x175,_0x4d9979._0x45b49b)](readStateFile);if(!_0x98d828){if(_0x4875d7['OljRX'](_0x3c8433(0x195,_0x4d9979._0x5a6f89),_0x4875d7['aOpsk'])){console[_0x3c8433(_0x4d9979._0x7d6405,0x110)](_0x30b9eb(_0x4d9979._0x227d12,0x354)+',请先运行\x20new-'+_0x30b9eb(0x420,_0x4d9979._0x31094f));return;}else _0x7c74a=_0x30b9eb(_0x4d9979._0xabfedb,0x397);}function _0x3c8433(_0x1dd67c,_0xdfd057){return _0x198065(_0x1dd67c,_0xdfd057-_0x547f98._0x54ab5e);}const _0xc003cb=_0x98d828['agents'];for(const _0x430179 of Object['keys'](_0xc003cb)){_0x4875d7[_0x3c8433(_0x4d9979._0x205d58,_0x4d9979._0x157285)](_0xc003cb[_0x430179][_0x3c8433(0x1f0,0x1c7)],_0x4875d7[_0x30b9eb(0x374,_0x4d9979._0x3146ca)])&&(_0xc003cb[_0x430179]={..._0xc003cb[_0x430179],'phase':_0x2ef9c7});}const _0x5751b7={};_0x5751b7[_0x30b9eb(0x386,_0x4d9979._0x4595b0)]=_0x98d828['project'][_0x30b9eb(_0x4d9979._0x23c45b,_0x4d9979._0x4e716c)],_0x5751b7[_0x30b9eb(_0x4d9979._0x446323,_0x4d9979._0x14a4a8)+'se']=_0x2ef9c7;const _0x184106={};_0x184106[_0x3c8433(0x20d,0x16b)]=_0x5751b7,_0x184106['agents']=_0xc003cb,_0x184106['machineSna'+'pshot']=null,await _0x4875d7['uzYbW'](writeStateFile,_0x184106);const _0x780fc8=PHASE_NAMES[_0x2ef9c7]??_0x2ef9c7;console[_0x30b9eb(0x397,_0x4d9979._0x16af7b)](_0x30b9eb(_0x4d9979._0x100f84,_0x4d9979._0x183ea7)+'\x20'+_0x780fc8),console[_0x30b9eb(_0x4d9979._0x2c4c0d,0x306)](_0x30b9eb(0x407,0x3c6)+_0x98d828[_0x30b9eb(_0x4d9979._0x198be4,_0x4d9979._0xe6b61b)][_0x3c8433(_0x4d9979._0x1da02c,_0x4d9979._0x38c464)]);function _0x30b9eb(_0x2ce494,_0x81fed0){return _0x1ef27b(_0x2ce494-_0x69c53d._0xc6a1b4,_0x81fed0);}console[_0x30b9eb(0x397,0x2ef)](_0x3c8433(_0x4d9979._0x3ea188,_0x4d9979._0x2a1913)+_0x780fc8),console[_0x3c8433(0x1b4,0x110)](_0x30b9eb(_0x4d9979._0x4e642f,_0x4d9979._0x41f90e)+'段分解任务、制定计划'+'\x0a');}export async function executePhase(_0x571485){const _0xba3115={_0x60fc10:0xb1,_0x1734b8:0x18d,_0x12d5ad:0x1c6,_0x4ffdc9:0x12c,_0x5790ea:0x1,_0x47897c:0xbd,_0x4c4560:0x107,_0x236ba2:0x1f4,_0x1f2e19:0x28b,_0xa3a4d5:0x199,_0x5edabf:0x1a7,_0x43397d:0x1ed,_0x58a3db:0x8f,_0x1c69c0:0x57,_0xa4fbe8:0x2a,_0x43bf6e:0x73,_0x3262ac:0x7e,_0x4b87f5:0x4d,_0x43e185:0x5c,_0x589fcd:0x195,_0xc0486b:0x1fd,_0x12638b:0x205,_0x2df878:0x1d5,_0x564af1:0x50,_0x2faa30:0x11,_0x487289:0x5b},_0x363558={_0x40d9b4:0x46},_0x5871ae={'sjTDc':function(_0xedc7be,_0x4ffb76){return _0xedc7be??_0x4ffb76;},'ssQUh':function(_0x166b61){return _0x166b61();},'ZLwSB':_0x247297(-0x101,-0x6d),'wZTwf':'QmHUd','vGpjk':_0x108cd3(0x1dc,0x239)+_0x108cd3(0x13e,_0xba3115._0x60fc10)+_0x108cd3(0x21e,_0xba3115._0x1734b8),'Ntdwd':function(_0x5380e8,_0x51c250){return _0x5380e8!==_0x51c250;}},_0x2c72ec=_0x5871ae[_0x108cd3(_0xba3115._0x12d5ad,_0xba3115._0x4ffdc9)](_0x571485,_0x247297(-0x38,_0xba3115._0x5790ea)),_0x2b648f=await _0x5871ae[_0x247297(-0x8c,-0x1c)](readStateFile);if(!_0x2b648f){if(_0x5871ae[_0x247297(-0xdf,-_0xba3115._0x47897c)]!==_0x5871ae[_0x247297(-0x25,-0x6e)]){console[_0x108cd3(0x195,_0xba3115._0x4c4560)](_0x5871ae[_0x108cd3(_0xba3115._0x236ba2,_0xba3115._0x1f2e19)]);return;}else{const _0x236dfa=_0x5735af[_0x1eba59];if(!_0x236dfa['childIds'][_0x247297(-0x5d,-0x88)](_0xe30c32)){const _0x274555={..._0x236dfa};_0x274555[_0x108cd3(_0xba3115._0xa3a4d5,0x1b0)]=[..._0x236dfa[_0x108cd3(_0xba3115._0xa3a4d5,_0xba3115._0x5edabf)],_0x30b698],_0x35fe37[_0x427302]=_0x274555;}}}const _0xf16898=_0x2b648f[_0x108cd3(_0xba3115._0x43397d,0x1b3)];function _0x247297(_0x234341,_0x1aa4fb){return _0x1ef27b(_0x1aa4fb- -_0x363558._0x40d9b4,_0x234341);}for(const _0x2e48c8 of Object[_0x108cd3(0x188,0x111)](_0xf16898)){_0x5871ae[_0x247297(-0xca,-_0xba3115._0x58a3db)](_0xf16898[_0x2e48c8][_0x247297(_0xba3115._0x1c69c0,_0xba3115._0xa4fbe8)],_0x247297(0x20,-_0xba3115._0x43bf6e))&&(_0xf16898[_0x2e48c8]={..._0xf16898[_0x2e48c8],'phase':_0x2c72ec});}const _0x2cd680={};_0x2cd680['name']=_0x2b648f['project']['name'],_0x2cd680[_0x247297(-_0xba3115._0x3262ac,-_0xba3115._0x4b87f5)+'se']=_0x2c72ec;const _0x415f62={};_0x415f62['project']=_0x2cd680;function _0x108cd3(_0x98df5c,_0x190216){return _0x1ef27b(_0x98df5c-0x1dc,_0x190216);}_0x415f62['agents']=_0xf16898,_0x415f62[_0x247297(-_0xba3115._0x43e185,-0x3e)+_0x108cd3(0x190,0x16b)]=null,await writeStateFile(_0x415f62);const _0x1d55a0=PHASE_NAMES[_0x2c72ec]??_0x2c72ec;console[_0x108cd3(_0xba3115._0x589fcd,0x1a2)](_0x108cd3(_0xba3115._0xc0486b,_0xba3115._0x236ba2)+'\x20'+_0x1d55a0),console[_0x108cd3(0x195,_0xba3115._0xa3a4d5)](_0x108cd3(_0xba3115._0x12638b,_0xba3115._0x2df878)+_0x2b648f[_0x247297(-0xd5,-0x32)]['name']),console['log'](_0x247297(-_0xba3115._0x564af1,_0xba3115._0x2faa30)+_0x1d55a0),console[_0x108cd3(0x195,0x16f)](_0x247297(-0xe6,-_0xba3115._0x487289)+_0x108cd3(0x1be,0x21a));}export async function verifyPhase(_0x388424){const _0x1150db={_0x349501:0x4e,_0x51b4b6:0xb4,_0x51672f:0x3d,_0x322288:0x17b,_0x170c3e:0x13e,_0x55ac5a:0x3a,_0x82a45:0x199,_0x37721a:0x142,_0x205b4d:0xf5,_0x5796b1:0x10b,_0x1b34c8:0x6d,_0x1d1e23:0x6c,_0x1311e8:0x1c,_0x8cab10:0x7e,_0x4f460b:0x51,_0x2c6997:0x59,_0x1c7bef:0xe6,_0x4e127a:0xb2,_0x3a4db1:0xcb,_0x5b47c7:0x58,_0x5ba00b:0x12,_0xeb581f:0x136,_0x2d328a:0x86,_0x213f38:0xfb,_0x1f43a9:0x25,_0x3ea425:0x11a,_0x41bb4b:0x129},_0x4a7166={'vOrxx':function(_0x4f9c5b,_0xaeddf5){return _0x4f9c5b!==_0xaeddf5;},'NPlPr':_0x516305(0x99,0xa5),'McByc':'verify','KCdqf':function(_0x3e52e4){return _0x3e52e4();},'HVeJp':_0x516305(-_0x1150db._0x349501,0x56)},_0x3c59a1=_0x388424??_0x4a7166['McByc'],_0x34d163=await _0x4a7166[_0x8c5da6(_0x1150db._0x51b4b6,_0x1150db._0x51672f)](readStateFile);if(!_0x34d163){if(_0x4a7166[_0x516305(_0x1150db._0x322288,0x10e)]===_0x8c5da6(-_0x1150db._0x170c3e,-0xa4)){if(_0x4a7166[_0x516305(_0x1150db._0x55ac5a,0xb7)](_0x3cfcbe[_0x33da5d][_0x516305(_0x1150db._0x82a45,_0x1150db._0x37721a)],_0x4a7166[_0x516305(0x134,_0x1150db._0x205b4d)])){const _0x42d7c2={..._0x58e283[_0x54aa94]};_0x42d7c2[_0x8c5da6(0x7b,0x4a)]=_0x381fac,_0x491ee2[_0x2186f0]=_0x42d7c2;}}else{console[_0x8c5da6(-_0x1150db._0x5796b1,-_0x1150db._0x1b34c8)](_0x516305(0x8d,0xd2)+',请先运行\x20new-'+_0x8c5da6(-_0x1150db._0x1d1e23,_0x1150db._0x1311e8));return;}}const _0x4da4c0=_0x34d163['agents'];for(const _0x2b4a34 of Object[_0x516305(0xc0,_0x1150db._0x8cab10)](_0x4da4c0)){_0x4a7166[_0x8c5da6(-0x21,-0x41)](_0x4da4c0[_0x2b4a34][_0x8c5da6(-_0x1150db._0x4f460b,0x4a)],_0x8c5da6(0x1f,-0x53))&&(_0x4da4c0[_0x2b4a34]={..._0x4da4c0[_0x2b4a34],'phase':_0x3c59a1});}const _0x52e92f={};_0x52e92f[_0x516305(0xee,0x7a)]=_0x34d163[_0x516305(_0x1150db._0x2c6997,_0x1150db._0x1c7bef)]['name'],_0x52e92f[_0x516305(_0x1150db._0x4e127a,_0x1150db._0x3a4db1)+'se']=_0x3c59a1;const _0x4d5a87={};_0x4d5a87[_0x8c5da6(_0x1150db._0x5b47c7,-_0x1150db._0x5ba00b)]=_0x52e92f;function _0x8c5da6(_0x527aa0,_0x1616ae){return _0x198065(_0x527aa0,_0x1616ae- -0x146);}_0x4d5a87['agents']=_0x4da4c0,_0x4d5a87[_0x516305(_0x1150db._0xeb581f,0xda)+_0x516305(0xaf,_0x1150db._0x2d328a)]=null;function _0x516305(_0x2e5d8d,_0x48b468){return _0x198065(_0x2e5d8d,_0x48b468- -0x4e);}await writeStateFile(_0x4d5a87);const _0x17dd62=PHASE_NAMES[_0x3c59a1]??_0x3c59a1;console[_0x8c5da6(0x9,-0x6d)]('\x0a✅\x20进入验证阶段:'+'\x20'+_0x17dd62),console['log'](_0x516305(0x171,_0x1150db._0x213f38)+_0x34d163[_0x8c5da6(-_0x1150db._0x1f43a9,-0x12)][_0x8c5da6(-0x115,-_0x1150db._0x8cab10)]),console[_0x516305(0xde,0x8b)](_0x516305(_0x1150db._0x3ea425,_0x1150db._0x41bb4b)+_0x17dd62),console[_0x8c5da6(-0xfd,-_0x1150db._0x1b34c8)]('\x20\x20\x20提示:\x20在此阶'+'段验证成果、运行测试'+'\x0a');}export async function analyzeInput(_0x1c3db8){const _0x473f12={_0x192e1e:0x12a,_0x2e9bbb:0x197,_0xb62740:0x195,_0x663704:0x37,_0x56fc39:0x24,_0x5bfc49:0x5a,_0x3e16dc:0x31c,_0x159d71:0x2a9,_0x413852:0xd3,_0x3dd73e:0x268,_0x5d8597:0x296,_0x2d1a18:0xc2,_0x5ead65:0xbf,_0x493066:0x1e0,_0x3c2ff8:0x2ce,_0x28f2bd:0x261,_0x55d64d:0x2c8,_0x24a0be:0x177,_0x54876f:0x31,_0x41f023:0xd8,_0x232fac:0x21e,_0x34570d:0x17d,_0x5d5347:0x14c,_0xf33655:0xa3,_0x140f7c:0x283,_0x39aa7b:0x2ae,_0x92c866:0xd5,_0x56cb33:0x89,_0x219e1f:0x202,_0x2134a9:0x1f3,_0x13a6a3:0xde,_0x5f4559:0x11a,_0x79bb7d:0x74,_0x347e6a:0x1fa,_0x35b1de:0x33,_0x4bebed:0x2ab,_0xc545f8:0x1b9,_0x58e8bd:0x136,_0xda900b:0x10f};function _0x5398d7(_0xfaffad,_0x2b5cd5){return _0x198065(_0xfaffad,_0x2b5cd5-0x107);}const _0xcef380={'gwccF':function(_0x3d50df,_0x472e12){return _0x3d50df(_0x472e12);},'wTSip':function(_0x221006,_0x1483ce){return _0x221006>_0x1483ce;},'pduwP':function(_0x14968f,_0x101259){return _0x14968f+_0x101259;},'IdPJD':_0x52252d(-0x1d0,-_0x473f12._0x192e1e),'VRnoL':function(_0x3c3da8,_0x3942b1){return _0x3c3da8===_0x3942b1;},'yFSnb':_0x5398d7(0x1ca,_0x473f12._0x2e9bbb),'JsbAu':_0x5398d7(_0x473f12._0xb62740,0x210)+_0x52252d(-_0x473f12._0x663704,-0xc6)+_0x52252d(_0x473f12._0x56fc39,-_0x473f12._0x5bfc49)+_0x5398d7(_0x473f12._0x3e16dc,_0x473f12._0x159d71)+'uirements.'+'js','IWUGb':function(_0x4352c2,_0x3a96c1){return _0x4352c2 instanceof _0x3a96c1;}},_0xfbcd9=await readStateFile();if(!_0xfbcd9){console[_0x5398d7(0x25d,0x1e0)](_0x52252d(-0x4e,-_0x473f12._0x413852)+_0x52252d(-0x12d,-0x171)+_0x52252d(-0x47,-0x91));return;}const _0x4578aa=_0xcef380[_0x5398d7(0x17e,0x190)](detectInputType,_0x1c3db8),_0x1f1bd9=INPUT_TYPE_NAMES[_0x4578aa];console['log'](_0x5398d7(_0x473f12._0x3dd73e,_0x473f12._0x5d8597)),console[_0x52252d(-_0x473f12._0x2d1a18,-0x11a)](_0x5398d7(0x1ca,0x250)+_0xfbcd9[_0x52252d(-0x13f,-_0x473f12._0x5ead65)][_0x52252d(-0x142,-0x12b)]),console['log'](_0x52252d(-0x14f,-0x15a)+_0x1f1bd9),console[_0x5398d7(0x1d3,_0x473f12._0x493066)]('\x20\x20\x20输入内容:\x20'+(_0xcef380[_0x5398d7(_0x473f12._0x3c2ff8,_0x473f12._0x28f2bd)](_0x1c3db8['length'],-0x138b+0x10d3*-0x2+0x3581)?_0xcef380['pduwP'](_0x1c3db8[_0x5398d7(0x25f,0x290)](-0x1551+0x14eb+-0x66*-0x1,0x1*-0x43+-0x2605*0x1+0x2698),_0xcef380[_0x5398d7(_0x473f12._0x55d64d,0x280)]):_0x1c3db8)),console[_0x52252d(-_0x473f12._0x24a0be,-0x11a)](_0x52252d(-_0x473f12._0x54876f,-_0x473f12._0x41f023)+_0x5398d7(0x27b,_0x473f12._0x232fac));function _0x52252d(_0xa63306,_0x45b38a){return _0x198065(_0xa63306,_0x45b38a- -0x1f3);}try{if(_0xcef380[_0x5398d7(_0x473f12._0x34570d,0x1c3)](_0xcef380[_0x5398d7(0x1a8,0x192)],_0xcef380[_0x52252d(-_0x473f12._0x5d5347,-0x168)])){const {createAnalyzeRequirementsTool:_0x105ef6}=await import(_0xcef380[_0x52252d(-0xfc,-_0x473f12._0xf33655)]),_0x208d5c=_0x105ef6(process['cwd']()),_0x3dbb17={};_0x3dbb17[_0x5398d7(_0x473f12._0x140f7c,_0x473f12._0x39aa7b)]=_0x1c3db8,_0x3dbb17['type']=_0x52252d(-_0x473f12._0x92c866,-0x73);const _0x48ad20=await _0x208d5c[_0x52252d(-_0x473f12._0x56cb33,-0x8c)](_0x3dbb17,{'sessionID':'','messageID':'','agent':'engine','directory':process[_0x52252d(-0xac,-0x107)](),'worktree':process[_0x5398d7(_0x473f12._0x219e1f,_0x473f12._0x2134a9)](),'abort':new AbortController()[_0x52252d(-_0x473f12._0x13a6a3,-0x85)],'metadata':()=>{},'ask':async()=>{}});console[_0x52252d(-0x1a3,-_0x473f12._0x5f4559)](_0x48ad20);}else _0x3f610c[_0x52252d(-_0x473f12._0x79bb7d,-0x63)]!==_0x5398d7(0x29f,_0x473f12._0x347e6a)&&(_0x471f30=_0x1f30c8[_0x52252d(-_0x473f12._0x35b1de,-0x63)]);}catch(_0x223831){console[_0x5398d7(_0x473f12._0x4bebed,0x2a4)](_0x5398d7(0x138,_0x473f12._0xc545f8)+(_0xcef380[_0x52252d(-_0x473f12._0x58e8bd,-_0x473f12._0xda900b)](_0x223831,Error)?_0x223831['message']:String(_0x223831)));}}export async function showProgress(){const _0x25bb6d={_0xd3ed68:0x24,_0x5ddc49:0x334,_0x484d19:0x33e,_0x1810ba:0x59,_0x4f2a71:0x3a,_0x5c1d7e:0x25,_0x4b8962:0x393,_0x9a5e48:0xfc,_0x30f053:0x31c,_0x34f1df:0x49,_0x3f1a17:0x2d,_0x2755ad:0x358,_0x4fe4d9:0x1d,_0x4b7f86:0x2c4,_0x2b3996:0x34c,_0x3cdae6:0x2dc,_0x329b0e:0x2d,_0x3e564f:0x6d,_0x3e80b1:0x2,_0x3b2d37:0x17,_0x2c3920:0x2f6,_0x28037e:0x57,_0x3e565b:0x2d7,_0x370ff7:0x40,_0x5e8b72:0x4c,_0x2e2ecf:0x48,_0x3fddea:0x80,_0x227ea8:0x32d,_0x5a0d84:0xc9,_0x3a1804:0x372,_0x188fc8:0x340,_0x583f0f:0x70,_0x1c5647:0x393,_0x1deac4:0xbc,_0x5a9037:0x333,_0x5d4ee3:0x36f,_0x105e79:0x3bf,_0x59c4c7:0x30c},_0xdf10d3={_0x483ff9:0x106},_0xd138ac={'zhTIA':function(_0x28afc2){return _0x28afc2();},'YZghu':function(_0x4eb976,_0x279b55){return _0x4eb976>_0x279b55;}},_0x1c0c09=await _0xd138ac[_0x4d558a(0xe,_0x25bb6d._0xd3ed68)](readStateFile);if(!_0x1c0c09){console['log']('⚠️\x20\x20状态文件不存在'+',请先运行\x20new-'+'project\x20命令');return;}const _0x41d109=_0x1c0c09[_0xf14542(_0x25bb6d._0x5ddc49,_0x25bb6d._0x484d19)],_0x444e6f=Object[_0x4d558a(-_0x25bb6d._0x1810ba,-_0x25bb6d._0x4f2a71)](_0x41d109);function _0xf14542(_0x27263c,_0xcf0e47){return _0x198065(_0xcf0e47,_0x27263c-0x203);}const _0xde1f11=_0x444e6f[_0x4d558a(0xb,_0x25bb6d._0x5c1d7e)],_0xe5f3e3=_0x444e6f[_0x4d558a(-0x86,-0xc)](_0x16bf64=>_0x41d109[_0x16bf64][_0xf14542(0x393,0x302)]===_0xf14542(0x2f6,0x292))[_0x4d558a(-0x5a,_0x25bb6d._0x5c1d7e)],_0x10ce95=_0xde1f11>0x4ef+0x2614+-0x2b03?Math['round'](_0xe5f3e3/_0xde1f11*(0xd*0x6d+-0x9b5*0x1+0x490)):-0x1b68+0x167a+0x4ee,_0x3ec130={};for(const _0x1f4074 of _0x444e6f){const _0x19e7c7=_0x41d109[_0x1f4074][_0xf14542(_0x25bb6d._0x4b8962,0x366)];_0x3ec130[_0x19e7c7]=(_0x3ec130[_0x19e7c7]??0x1*0x1279+0x2291+0xdb*-0x3e)+(0xfb6+0x2*-0x59+-0xf03);}console['log'](_0x4d558a(_0x25bb6d._0x9a5e48,0x7c)+_0x1c0c09[_0x4d558a(0x47,0x2e)]['name']),console['log']('\x20\x20\x20当前阶段:\x20'+(PHASE_NAMES[_0x1c0c09['project'][_0xf14542(_0x25bb6d._0x30f053,0x2f7)+'se']]??_0x1c0c09['project']['currentPha'+'se'])),console[_0x4d558a(-_0x25bb6d._0x34f1df,-_0x25bb6d._0x3f1a17)](_0xf14542(0x2c1,_0x25bb6d._0x2755ad)+_0x1c0c09[_0x4d558a(-_0x25bb6d._0x4fe4d9,0x1c)]),console[_0xf14542(0x2dc,0x2ef)]('\x20\x20\x20更新时间:\x20'+_0x1c0c09[_0xf14542(_0x25bb6d._0x4b7f86,_0x25bb6d._0x2b3996)]),console[_0xf14542(_0x25bb6d._0x3cdae6,0x235)](_0x4d558a(0x87,0x7e)+_0x10ce95+'%\x20('+_0xe5f3e3+'/'+_0xde1f11+'\x20Agent)\x0a'),console[_0x4d558a(-0x90,-_0x25bb6d._0x329b0e)](_0x4d558a(_0x25bb6d._0x3e564f,_0x25bb6d._0x3e80b1));function _0x4d558a(_0x17c51d,_0x394b02){return _0x198065(_0x17c51d,_0x394b02- -_0xdf10d3._0x483ff9);}for(const [_0xca743,_0x54e9a1]of Object[_0x4d558a(_0x25bb6d._0x3b2d37,-0x68)](_0x3ec130)){const _0x487335=PHASE_NAMES[_0xca743]??_0xca743,_0x264bb9='█'[_0x4d558a(-0x30,0x16)](_0x54e9a1)+'░'[_0xf14542(0x31f,_0x25bb6d._0x2c3920)](Math['max'](0x6*-0x231+-0xd38+0x465*0x6,_0xde1f11-_0x54e9a1));console[_0x4d558a(_0x25bb6d._0x28037e,-0x2d)]('\x20\x20\x20\x20\x20\x20'+_0x487335[_0xf14542(0x36f,_0x25bb6d._0x3e565b)](0x2*0x905+0x11e9+-0x23e5)+'\x20'+_0x264bb9+'\x20'+_0x54e9a1);}console[_0x4d558a(_0x25bb6d._0x370ff7,-0x2d)]();if(_0xd138ac[_0x4d558a(0x1b,-_0x25bb6d._0x5e8b72)](_0x444e6f[_0x4d558a(_0x25bb6d._0x2e2ecf,0x25)],-0x7c3*-0x4+-0x4d9+0x161*-0x13)){console['log']('\x20\x20\x20🤖\x20Agent'+'\x20详情:'),console[_0x4d558a(-_0x25bb6d._0x329b0e,-0x2d)](_0x4d558a(-0xea,-_0x25bb6d._0x3fddea)+_0xf14542(0x380,0x2d7)+_0xf14542(0x35a,_0x25bb6d._0x227ea8)+_0x4d558a(-_0x25bb6d._0x5a0d84,-0x21)+_0xf14542(_0x25bb6d._0x3a1804,_0x25bb6d._0x188fc8)+'\x20\x20\x20\x20\x20\x20\x20\x20|\x20'+'工具'),console[_0x4d558a(0x57,-_0x25bb6d._0x3f1a17)](_0x4d558a(_0x25bb6d._0x583f0f,0x85)+'-'[_0xf14542(0x31f,0x28d)](-0x12ff*0x2+0x9b7*0x3+0x929));for(const _0x223c84 of _0x444e6f){const _0x5ca63a=_0x41d109[_0x223c84],_0x4bf6b9=PHASE_NAMES[_0x5ca63a[_0xf14542(_0x25bb6d._0x4b8962,0x3b5)]]??_0x5ca63a[_0xf14542(_0x25bb6d._0x1c5647,0x3ee)],_0x23261d=_0x5ca63a['currentOpe'+_0x4d558a(_0x25bb6d._0x1deac4,0x39)]||'-',_0x50480d=_0x5ca63a[_0x4d558a(-0x85,0x1f)+'ll']||'-';console[_0x4d558a(-0x29,-0x2d)]('\x20\x20\x20'+_0x223c84['padEnd'](-0x1f6c+-0xa16+0x2994)+_0xf14542(0x3bf,_0x25bb6d._0x5a9037)+_0x4bf6b9[_0xf14542(_0x25bb6d._0x5d4ee3,0x3a0)](-0x841*-0x1+-0x1d84+0x1551)+_0xf14542(_0x25bb6d._0x105e79,0x3d8)+_0x23261d[_0xf14542(0x36f,_0x25bb6d._0x59c4c7)](0x24*-0xf2+-0x138e*-0x1+0x1*0xe8f)+'\x20|\x20'+_0x50480d);}console['log']();}}export async function quickTask(_0x538215){const _0x258936={_0x2c1864:0x59a,_0x3bd5bc:0x5f5,_0x4171f8:0x725,_0xf10cd6:0x13c,_0x1eb6d1:0x60f,_0x594e2a:0x67d,_0x294169:0x640,_0x5500c2:0x145,_0x48ecbe:0xae,_0x369dd3:0x16b,_0x38c80f:0x5e2,_0x2b295a:0x64b,_0x37e78e:0x136,_0x3688cc:0xcc,_0x4a9015:0x5a4,_0x22966f:0x600,_0xb2bb88:0x65e,_0x1ee065:0x6a1},_0x285b6b={_0x310800:0x629};function _0x16744d(_0x3df2e5,_0x407dbe){return _0x198065(_0x3df2e5,_0x407dbe- -0x215);}const _0x4e3c00={'FlQPq':'.specops','HdAcX':function(_0x3da007,_0x41d0b5){return _0x3da007(_0x41d0b5);},'aQjoQ':function(_0x1ac07c){return _0x1ac07c();},'dTxAa':_0x239ae8(_0x258936._0x2c1864,0x5e6),'VIpLz':function(_0x511971,_0x2e1441){return _0x511971(_0x2e1441);}},_0x3d4005=await readStateFile();if(!_0x3d4005){const _0x460b97=resolve(process[_0x239ae8(_0x258936._0x3bd5bc,0x645)](),_0x4e3c00[_0x239ae8(0x67f,_0x258936._0x4171f8)]);if(!_0x4e3c00[_0x16744d(-_0x258936._0xf10cd6,-0x179)](existsSync,_0x460b97)){const _0x3a92bc={};_0x3a92bc[_0x239ae8(_0x258936._0x1eb6d1,_0x258936._0x594e2a)]=!![],mkdirSync(_0x460b97,_0x3a92bc);}}const _0x428f97=_0x3d4005?.[_0x16744d(-0x113,-0xe1)][_0x16744d(-0x1b4,-0x14d)]??_0x239ae8(0x5f8,_0x258936._0x294169),_0x4a7669=_0x3d4005?Object[_0x16744d(-_0x258936._0x5500c2,-0x149)](_0x3d4005[_0x16744d(-0x96,-0xe4)])[-0x546+-0x40f+0x955*0x1]??generateAgentId():_0x4e3c00[_0x239ae8(0x693,0x666)](generateAgentId),_0x46cbb5={'agentId':_0x4a7669,'parentId':null,'childIds':[],'phase':_0x16744d(-0x24,-_0x258936._0x48ecbe),'currentOperation':_0x538215['slice'](-0x2*-0x2c2+-0x1922+0x117*0x12,-0xa*-0x15c+-0x15c9+0x895),'currentSkill':_0x4e3c00['dTxAa']};function _0x239ae8(_0x17f25d,_0x470220){return _0x1ef27b(_0x17f25d-_0x285b6b._0x310800,_0x470220);}const _0xe2915f={};_0xe2915f[_0x4a7669]=_0x46cbb5,await _0x4e3c00[_0x16744d(0x17,-0x57)](writeStateFile,{'project':{'name':_0x428f97,'currentPhase':_0x4e3c00[_0x16744d(-0x1eb,-_0x258936._0x369dd3)]},'agents':_0xe2915f,'machineSnapshot':null}),console[_0x239ae8(_0x258936._0x38c80f,_0x258936._0x2b295a)](_0x16744d(-_0x258936._0x37e78e,-0xc2)),console[_0x16744d(-0x13c,-_0x258936._0xf10cd6)](_0x16744d(-0x8c,-_0x258936._0x3688cc)+_0x428f97),console['log'](_0x239ae8(_0x258936._0x4a9015,_0x258936._0x22966f)+_0x538215),console[_0x16744d(-0x97,-_0x258936._0xf10cd6)](_0x16744d(-0xf4,-0x123)+_0x4a7669),console['log'](_0x16744d(-0xed,-0x178)+_0x239ae8(_0x258936._0xb2bb88,0x69a)+_0x239ae8(0x617,_0x258936._0x1ee065));}function findFirstIncompleteAgent(_0xa4ffcd){const _0x335294={_0x12711c:0x225,_0x19235a:0x249,_0x211ddd:0x233,_0xf51d79:0x20c,_0x1ad68c:0x15c,_0x171e16:0x9e,_0x38c046:0xf8,_0x55a83a:0xdd,_0x1e4194:0x1ea,_0x5e053c:0x204,_0x489231:0x1b5},_0x5e5422={_0x2c096b:0x97},_0x15a6bc={};_0x15a6bc['piadt']=function(_0x45e6a7,_0xdf7d15){return _0x45e6a7===_0xdf7d15;},_0x15a6bc['gIPnM']=_0x30c155(_0x335294._0x12711c,0x201);function _0x30c155(_0x14e3cd,_0x365c12){return _0x198065(_0x14e3cd,_0x365c12-0xb6);}_0x15a6bc[_0x30c155(0xc7,0x156)]=function(_0x24124b,_0x282fb3){return _0x24124b!==_0x282fb3;};function _0x31766f(_0x38aec2,_0x2ca966){return _0x198065(_0x38aec2,_0x2ca966- -_0x5e5422._0x2c096b);}_0x15a6bc[_0x30c155(_0x335294._0x19235a,0x1b5)]=_0x31766f(0xc0,0x5c);const _0x200d26=_0x15a6bc;for(const [_0x19739d,_0xf8eaf7]of _0xa4ffcd){const _0x2d7b43=_0xf8eaf7[_0x30c155(_0x335294._0x211ddd,_0x335294._0xf51d79)+'t'](),_0x4390e2=_0x200d26['piadt'](typeof _0x2d7b43[_0x30c155(0xb5,_0x335294._0x1ad68c)],_0x200d26[_0x31766f(0xa6,_0x335294._0x171e16)])?_0x2d7b43[_0x31766f(0x93,0xf)]:_0x31766f(_0x335294._0x38c046,_0x335294._0x55a83a);if(_0x200d26[_0x30c155(_0x335294._0x1e4194,0x156)](_0x4390e2,_0x200d26[_0x30c155(_0x335294._0x5e053c,_0x335294._0x489231)]))return _0x19739d;}return null;}function checkAllComplete(){const _0x366df3={_0x4c17ae:0x24c,_0x53ed57:0x26e,_0x3f45ef:0x29f,_0x2a1375:0x1f4,_0x590a86:0x1ec,_0x291e7b:0x222,_0x271a97:0x264,_0x542227:0x142,_0x45ea2f:0x1b4,_0x2d1e44:0x2f3,_0x1e09ee:0x27f,_0x2d47fc:0x227,_0x2f6c5e:0x1e6,_0x5b9ca8:0x1da,_0x4c2483:0x2a1,_0x3bb026:0x2ba,_0x111fc3:0x303,_0x4d993c:0x1c6,_0x5db5f2:0x268,_0x97eab7:0x20e,_0x17917d:0x223,_0x3294e9:0x279,_0x297a4c:0x2f0,_0x5c9a9e:0x2b0,_0x4e8fb0:0x1e7,_0x257e30:0x1e1,_0x1f03b3:0x2bb,_0x5280d8:0x271,_0x4edeaa:0x2b3,_0x42d026:0x327,_0x3c124b:0x2c7,_0x163a21:0x1ee,_0x987966:0x2df},_0x338a76={};function _0x53705f(_0x3edbc0,_0x30c5bf){return _0x1ef27b(_0x30c5bf-0x221,_0x3edbc0);}_0x338a76[_0x52edbd(0x23b,0x28c)]=_0x53705f(0x2d7,_0x366df3._0x4c17ae),_0x338a76[_0x52edbd(_0x366df3._0x53ed57,_0x366df3._0x3f45ef)]=_0x53705f(0x28a,_0x366df3._0x2a1375);function _0x52edbd(_0x474565,_0x22843b){return _0x198065(_0x474565,_0x22843b-0x10e);}_0x338a76[_0x53705f(_0x366df3._0x590a86,0x20e)]=_0x53705f(_0x366df3._0x291e7b,0x1bc);const _0x278273=_0x338a76;if(!activeEngine)return;for(const [,_0x5ab529]of activeEngine[_0x52edbd(0x328,0x2c6)]){const _0x303fa4=_0x5ab529[_0x52edbd(0x220,_0x366df3._0x271a97)+'t'](),_0x2e52dd=typeof _0x303fa4[_0x52edbd(_0x366df3._0x542227,_0x366df3._0x45ea2f)]===_0x278273[_0x53705f(_0x366df3._0x2d1e44,_0x366df3._0x1e09ee)]?_0x303fa4[_0x52edbd(0x1fb,0x1b4)]:'unknown';if(_0x2e52dd!==_0x278273[_0x52edbd(_0x366df3._0x2d47fc,0x29f)])return;}console[_0x53705f(_0x366df3._0x2f6c5e,_0x366df3._0x5b9ca8)]('\x0a🎉\x20所有\x20Agen'+_0x52edbd(0x2f7,_0x366df3._0x4c2483));if(activeEngine[_0x53705f(0x212,_0x366df3._0x3bb026)+_0x52edbd(0x15c,0x1ee)]){for(const [_0x5a6ee9]of activeEngine[_0x53705f(_0x366df3._0x111fc3,0x2b9)]){const _0x422d6e={};_0x422d6e[_0x53705f(0x24b,_0x366df3._0x4d993c)]=_0x278273[_0x53705f(_0x366df3._0x5db5f2,_0x366df3._0x97eab7)];const _0x21e6f8={};_0x21e6f8[_0x53705f(_0x366df3._0x17917d,_0x366df3._0x3294e9)]=_0x52edbd(0x206,0x293)+'LETE',_0x21e6f8[_0x52edbd(_0x366df3._0x297a4c,0x2cf)]=_0x5a6ee9,_0x21e6f8[_0x53705f(0x2d8,_0x366df3._0x5c9a9e)]=_0x422d6e,activeEngine['supervisor'+_0x53705f(_0x366df3._0x4e8fb0,_0x366df3._0x257e30)][_0x52edbd(0x21f,_0x366df3._0x1f03b3)](_0x21e6f8);}const _0x4784c8={};_0x4784c8['type']=_0x53705f(0x1e0,_0x366df3._0x5280d8)+_0x53705f(0x2c7,_0x366df3._0x4edeaa),activeEngine[_0x53705f(0x2cb,0x2ba)+_0x53705f(0x16b,0x1e1)][_0x52edbd(_0x366df3._0x42d026,0x2bb)](_0x4784c8);const _0x219edb={};_0x219edb[_0x53705f(0x2ee,_0x366df3._0x3294e9)]='PHASE_COMP'+_0x52edbd(0x1af,0x20b),activeEngine[_0x52edbd(0x27d,_0x366df3._0x3c124b)+_0x52edbd(0x27b,_0x366df3._0x163a21)][_0x52edbd(_0x366df3._0x987966,0x2bb)](_0x219edb);}}const MAX_RETRIES=-0xcfa+0xe2+0xc1d;async function persistCurrentState(){const _0x2c473f={_0x3fa330:0x52e,_0x2e4942:0x445,_0x390bd1:0x4a9,_0x39ce98:0x50d,_0x408e3d:0x579,_0x49c74e:0x4b5,_0x5b1e7c:0x47d,_0x571c27:0x490,_0xe42db1:0x52c,_0x247078:0x5e1,_0x127e9c:0x58f,_0x29ab56:0x54c,_0x86a972:0x489,_0x4caa7c:0x493,_0x483919:0x5bf,_0x47d59d:0x536,_0xc8d9d8:0x4eb,_0x121d2c:0x48e,_0x7121db:0x444,_0x33ba7a:0x487,_0x370742:0x503,_0x430771:0x4f6,_0x15de89:0x4fe,_0x468ebf:0x3a7,_0x585901:0x4b7,_0x225065:0x466,_0x51add0:0x4b8,_0x19125c:0x44c,_0xc88b3c:0x427,_0xb818fc:0x48e,_0x5bc335:0x515,_0x1c8e90:0x500,_0xd01f23:0x53c,_0x3847dd:0x49b,_0x3cf6c2:0x5a1,_0x4f5ca2:0x56b,_0x4bfcd3:0x58f,_0x1898b1:0x4e8,_0x24570f:0x4aa,_0x4886d5:0x4a8,_0x128812:0x4c6,_0x4dec9d:0x55c,_0x9b96a:0x4de,_0x4417fc:0x4af,_0x2f20e4:0x531,_0x1ed2be:0x51f,_0x54cd33:0x48f,_0x1e1b6b:0x5c2,_0x2ee550:0x590,_0x151d78:0x56b},_0x155fac={};_0x155fac[_0x593788(_0x2c473f._0x3fa330,0x586)]=function(_0x2532e9,_0x2aa03d){return _0x2532e9===_0x2aa03d;},_0x155fac[_0x593788(_0x2c473f._0x2e4942,_0x2c473f._0x390bd1)]=function(_0x27456c,_0x4a1595){return _0x27456c===_0x4a1595;},_0x155fac[_0x1d63f1(0x451,0x47e)]=_0x1d63f1(0x4e7,0x4d3),_0x155fac[_0x593788(_0x2c473f._0x39ce98,0x472)]=_0x1d63f1(0x4de,_0x2c473f._0x408e3d),_0x155fac[_0x593788(0x470,_0x2c473f._0x49c74e)]=_0x593788(_0x2c473f._0x5b1e7c,0x4ce),_0x155fac[_0x593788(_0x2c473f._0x571c27,_0x2c473f._0xe42db1)]=_0x1d63f1(0x51e,0x4d1),_0x155fac[_0x1d63f1(0x4f4,0x4db)]=function(_0x21ee73,_0x16c717){return _0x21ee73!==_0x16c717;},_0x155fac[_0x593788(_0x2c473f._0x247078,_0x2c473f._0x127e9c)]=function(_0x10b239,_0x7b6b0){return _0x10b239<_0x7b6b0;},_0x155fac[_0x593788(_0x2c473f._0x29ab56,0x54d)]='SBXrB',_0x155fac['gexlx']=_0x593788(0x4ca,_0x2c473f._0x86a972);const _0x1746cb=_0x155fac;if(!activeEngine)return;const {projectName:_0x2c91e7,actors:_0x4dee33}=activeEngine,_0x1d23f9=await readStateFile(),_0x53182f={};if(_0x1d23f9)for(const [_0x4681af,_0x2f57b1]of Object[_0x1d63f1(_0x2c473f._0x4caa7c,0x44b)](_0x1d23f9['agents'])){if(_0x1746cb[_0x593788(0x597,0x586)](_0x1d63f1(0x5a6,0x508),_0x593788(_0x2c473f._0x483919,_0x2c473f._0x47d59d)))!_0x4dee33[_0x1d63f1(0x4fa,0x573)](_0x4681af)&&(_0x1746cb[_0x1d63f1(0x507,0x47b)](_0x1746cb[_0x593788(_0x2c473f._0xc8d9d8,0x4ac)],_0x1746cb[_0x1d63f1(_0x2c473f._0x121d2c,_0x2c473f._0x7121db)])?_0x2370f6=_0x37dd8f:_0x53182f[_0x4681af]=_0x2f57b1);else return _0x3ec6d6;}const _0x266dcc={};function _0x593788(_0x8e738d,_0x5952d4){return _0x1ef27b(_0x5952d4-0x4fb,_0x8e738d);}let _0x55b69f=_0x1746cb[_0x1d63f1(0x456,_0x2c473f._0x33ba7a)];for(const [_0x4d86f8,_0x162b9e]of _0x4dee33){const _0x2cc532=_0x162b9e[_0x1d63f1(0x585,_0x2c473f._0x370742)+'t'](),_0x221ea9=typeof _0x2cc532['value']==='string'?_0x2cc532['value']:_0x1746cb[_0x1d63f1(_0x2c473f._0x430771,_0x2c473f._0x15de89)];_0x266dcc[_0x4d86f8]={'agentId':_0x4d86f8,'parentId':_0x2cc532[_0x1d63f1(_0x2c473f._0x468ebf,0x44c)]?.['parentId']??null,'childIds':_0x2cc532[_0x1d63f1(_0x2c473f._0x585901,0x44c)]?.[_0x593788(_0x2c473f._0x225065,_0x2c473f._0x51add0)]??[],'phase':_0x221ea9,'currentOperation':_0x2cc532[_0x1d63f1(0x3c8,_0x2c473f._0x19125c)]?.[_0x1d63f1(_0x2c473f._0xc88b3c,_0x2c473f._0xb818fc)+'ration']??'','currentSkill':_0x2cc532['context']?.[_0x593788(_0x2c473f._0x5bc335,_0x2c473f._0x1c8e90)+'ll']??''},_0x1746cb[_0x593788(0x4d4,0x509)](_0x221ea9,_0x1746cb[_0x593788(_0x2c473f._0xd01f23,0x4b5)])&&(_0x55b69f=_0x221ea9);}function _0x1d63f1(_0x49f5b9,_0x58e90d){return _0x1ef27b(_0x58e90d-0x4cd,_0x49f5b9);}const _0x11b790={..._0x53182f,..._0x266dcc},_0x245f0=_0x11b790;for(const [,_0x43c2ab]of Object['entries'](_0x53182f)){_0x1746cb['mROfi'](_0x43c2ab['phase'],_0x593788(_0x2c473f._0x3847dd,0x4ce))&&(_0x55b69f=_0x43c2ab[_0x593788(_0x2c473f._0x3cf6c2,_0x2c473f._0x4f5ca2)]);}for(let _0x2bfe80=0x19ce+0xa*-0xcf+-0x12*0xfc;_0x1746cb[_0x593788(0x610,_0x2c473f._0x4bfcd3)](_0x2bfe80,MAX_RETRIES);_0x2bfe80++){try{const _0xbb11bc=new StateFileManager(STATE_FILE_PATH);await _0xbb11bc[_0x593788(_0x2c473f._0x1898b1,_0x2c473f._0x24570f)]();const _0x40aadd={};_0x40aadd[_0x1d63f1(_0x2c473f._0x4886d5,0x475)]=_0x2c91e7,_0x40aadd[_0x1d63f1(0x515,_0x2c473f._0x128812)+'se']=_0x55b69f;const _0x369ab3={};_0x369ab3[_0x1d63f1(0x446,0x4e1)]=_0x40aadd,_0x369ab3[_0x1d63f1(_0x2c473f._0x4dec9d,_0x2c473f._0x9b96a)]=_0x245f0,_0x369ab3[_0x593788(0x553,_0x2c473f._0x370742)+_0x593788(0x54a,_0x2c473f._0x4417fc)]=null,await _0xbb11bc[_0x593788(0x52c,_0x2c473f._0x39ce98)](_0x369ab3);return;}catch(_0x3e9eef){if(_0x1d63f1(0x609,0x57a)!==_0x1746cb[_0x1d63f1(_0x2c473f._0x2f20e4,_0x2c473f._0x1ed2be)]){if(_0x3e9eef instanceof Error&&_0x3e9eef[_0x593788(0x484,0x528)][_0x1d63f1(_0x2c473f._0x54cd33,0x48b)](_0x1746cb[_0x593788(_0x2c473f._0x1e1b6b,_0x2c473f._0x2ee550)])&&_0x2bfe80<MAX_RETRIES-(-0xf0e+-0x1ba9+0x2*0x155c)){await new Promise(_0x51b684=>setTimeout(_0x51b684,-0x1772+-0x314+0x13*0x168+Math['random']()*(0x8*-0x3ba+-0x1f61+0x3d95)));continue;}throw _0x3e9eef;}else{const _0x327007={..._0x27b399[_0x178107]};_0x327007[_0x593788(0x52c,_0x2c473f._0x151d78)]=_0x1f5d69,_0x412346[_0xb4ab7d]=_0x327007;}}}}export async function analyzeRequirements(_0x5dc455,_0x8550a9=_0x1ef27b(0x60,-0x48),_0x34d46a){const _0x266292={_0x5384ea:0x170,_0x5ae8da:0x4cc,_0x285114:0x19d,_0x1007a5:0x4af,_0x59e02d:0x554,_0x4a214a:0x475,_0x4d880f:0x3f0,_0x4aafa1:0x4a5,_0x361699:0xb6,_0x1f2b0e:0x77,_0x26b6b0:0x4a,_0x22d390:0x24,_0x4bee70:0x497,_0x39325e:0x1c,_0x3c2a90:0xc4,_0x274a8a:0xf7,_0x591b10:0x68,_0x4f083e:0x27,_0x306e16:0x503,_0x5417c5:0x4e0,_0x3c738a:0x75,_0xa3a5dc:0x3d7,_0x3cc821:0x532,_0x29c08e:0x46c,_0x4a0b46:0x48a,_0x63f48e:0x517},_0x43d498={_0x4e70f4:0xc3},_0x3ad949={'XYiTI':function(_0x2ad573,_0x5dc419){return _0x2ad573(_0x5dc419);}};console[_0x10d608(-0x10a,-_0x266292._0x5384ea)](_0x34d041(_0x266292._0x5ae8da,0x43b)),console[_0x10d608(-0x10a,-_0x266292._0x285114)](_0x10d608(-0x11d,-0x8d)+_0x5dc455),console['log'](_0x34d041(_0x266292._0x1007a5,_0x266292._0x59e02d)+_0x8550a9);if(_0x34d46a)console[_0x34d041(_0x266292._0x4a214a,_0x266292._0x4d880f)]('\x20\x20\x20输出:\x20'+_0x34d46a);function _0x34d041(_0x3ac265,_0x3833c2){return _0x198065(_0x3833c2,_0x3ac265-0x39c);}console['log']();function _0x10d608(_0x41406f,_0x64015f){return _0x1ef27b(_0x41406f- -_0x43d498._0x4e70f4,_0x64015f);}try{const {createAnalyzeRequirementsTool:_0x1af4fa}=await import(_0x34d041(_0x266292._0x4aafa1,0x50e)+_0x10d608(-_0x266292._0x361699,-_0x266292._0x1f2b0e)+_0x10d608(-_0x266292._0x26b6b0,_0x266292._0x22d390)+_0x34d041(0x53e,_0x266292._0x4bee70)+_0x10d608(-_0x266292._0x39325e,-_0x266292._0x3c2a90)+'js'),_0x105999=_0x1af4fa(process[_0x10d608(-_0x266292._0x274a8a,-0x124)]()),_0x7f0ea2={};_0x7f0ea2[_0x10d608(-0x3c,-_0x266292._0x591b10)]=_0x5dc455,_0x7f0ea2[_0x10d608(-0x6b,-_0x266292._0x4f083e)]=_0x8550a9,_0x7f0ea2['output']=_0x34d46a;const _0x37e777=await _0x105999[_0x34d041(_0x266292._0x306e16,0x536)](_0x7f0ea2,{'sessionID':'','messageID':'','agent':_0x34d041(_0x266292._0x5417c5,0x561),'directory':process[_0x10d608(-0xf7,-0x8e)](),'worktree':process[_0x34d041(0x488,0x469)](),'abort':new AbortController()[_0x10d608(-_0x266292._0x3c738a,0x32)],'metadata':()=>{},'ask':async()=>{}});console[_0x34d041(_0x266292._0x4a214a,_0x266292._0xa3a5dc)](_0x37e777);}catch(_0x547e60){console[_0x34d041(0x539,_0x266292._0x3cc821)](_0x34d041(_0x266292._0x29c08e,0x41f)+(_0x547e60 instanceof Error?_0x547e60['message']:_0x3ad949[_0x34d041(_0x266292._0x4a0b46,_0x266292._0x63f48e)](String,_0x547e60))),process['exit'](-0x199+0x13de+-0x4*0x491);}}