specops 0.2.1 → 0.2.3
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/.opencode/agent/demand-analyst.md +50 -0
- package/.opencode/skills/competitor-search/SKILL.md +169 -0
- package/.opencode/skills/demand-analysis/SKILL.md +307 -0
- package/.opencode/skills/feature-search/SKILL.md +182 -0
- package/.opencode/skills/tech-selection/SKILL.md +198 -0
- package/dist/__e2e__/01-state-engine.e2e.test.js +1 -1
- package/dist/acceptance/lazyDetector.js +1 -1
- package/dist/acceptance/lazyDetector.test.js +1 -1
- package/dist/acceptance/reporter.js +1 -1
- package/dist/acceptance/reporter.test.js +1 -1
- package/dist/acceptance/runner.js +1 -1
- package/dist/acceptance/runner.test.js +1 -1
- package/dist/cli.js +1 -1
- package/dist/context/index.js +1 -1
- package/dist/context/promptTemplate.js +1 -1
- package/dist/context/promptTemplate.test.js +1 -1
- package/dist/context/techContextLoader.js +1 -1
- package/dist/context/techContextLoader.test.js +1 -1
- package/dist/engine.js +1 -1
- package/dist/evolution/distiller.js +1 -1
- package/dist/evolution/index.js +1 -1
- package/dist/evolution/memoryGraph.js +1 -1
- package/dist/evolution/selector.js +1 -1
- package/dist/evolution/signals.js +1 -1
- package/dist/evolution/solidify.js +1 -1
- package/dist/evolution/store.js +1 -1
- package/dist/evolution/types.js +1 -1
- package/dist/init.js +1 -1
- package/dist/machines/agentMachine.js +1 -1
- package/dist/machines/agentMachine.test.js +1 -1
- package/dist/machines/supervisorMachine.js +1 -1
- package/dist/machines/supervisorMachine.test.js +1 -1
- package/dist/persistence/schema.js +1 -1
- package/dist/persistence/stateFile.js +1 -1
- package/dist/persistence/stateFile.test.js +1 -1
- package/dist/plugin-engine.js +1 -1
- package/dist/plugin.js +1 -1
- package/dist/types/index.js +1 -1
- package/dist/utils/id.js +1 -1
- package/package.json +8 -2
- package/scripts/postinstall.mjs +43 -5
package/dist/engine.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
function _0x1a3b(_0x4d2fe3,_0x26e93a){_0x4d2fe3=_0x4d2fe3-(-0x3*0x455+-0x5de+0x10*0x146);const _0x52ef69=_0x5933();let _0x37fc98=_0x52ef69[_0x4d2fe3];if(_0x1a3b['kfvtcl']===undefined){var _0x5cb96d=function(_0x421cf8){const _0x57055a='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x302d02='',_0x491368='';for(let _0x147a96=-0x1d1b+-0x1f09+0x3c24,_0x16dad3,_0x3f8cc0,_0x4272c1=-0x1*-0xd39+-0x4*-0x4e1+0x11*-0x1ed;_0x3f8cc0=_0x421cf8['charAt'](_0x4272c1++);~_0x3f8cc0&&(_0x16dad3=_0x147a96%(-0x1005*-0x1+-0x9*0x38c+0xfeb)?_0x16dad3*(0x34b*-0x3+0x9*0x3e2+-0x18d1*0x1)+_0x3f8cc0:_0x3f8cc0,_0x147a96++%(-0xc96+0x1d37+-0x109d))?_0x302d02+=String['fromCharCode'](-0x267c+0x14da+-0x12a1*-0x1&_0x16dad3>>(-(-0x4fb*0x6+0x1f9*-0x9+0x1*0x2fa5)*_0x147a96&-0x1*0xc8c+0x2*0x7b4+-0x2d6)):0x283+0x564*0x4+-0x1813*0x1){_0x3f8cc0=_0x57055a['indexOf'](_0x3f8cc0);}for(let _0x53d152=0x6b3+-0x13e6+0xd33,_0x436478=_0x302d02['length'];_0x53d152<_0x436478;_0x53d152++){_0x491368+='%'+('00'+_0x302d02['charCodeAt'](_0x53d152)['toString'](-0x44*0x8b+-0x1*0x2463+0x495f))['slice'](-(0xc68*-0x2+-0x13d*0x11+0x1*0x2ddf));}return decodeURIComponent(_0x491368);};_0x1a3b['cEMMAU']=_0x5cb96d,_0x1a3b['tveSPQ']={},_0x1a3b['kfvtcl']=!![];}const _0x2dd5c8=_0x52ef69[-0x1893+0x1841+-0x29*-0x2],_0x550885=_0x4d2fe3+_0x2dd5c8,_0x5f071b=_0x1a3b['tveSPQ'][_0x550885];return!_0x5f071b?(_0x37fc98=_0x1a3b['cEMMAU'](_0x37fc98),_0x1a3b['tveSPQ'][_0x550885]=_0x37fc98):_0x37fc98=_0x5f071b,_0x37fc98;}(function(_0x3e65dc,_0x53eae4){const _0x4ee0d4={_0x4e02e4:0x54c,_0x5909c1:0x5d7,_0x3374e5:0x4fd,_0x5a812d:0x45c,_0x313fae:0x54b,_0x3f64ae:0x546,_0x34fda1:0x57a,_0x37ff9c:0x4fb},_0x2a24f2={_0xe2631b:0x200},_0x29e284={_0x2eda53:0x2ca};function _0x177cdb(_0x6ccf83,_0x3e19c1){return _0x1a3b(_0x6ccf83-_0x29e284._0x2eda53,_0x3e19c1);}function _0x10c5e3(_0x33fc10,_0x487e69){return _0x1a3b(_0x487e69-_0x2a24f2._0xe2631b,_0x33fc10);}const _0x592f1b=_0x3e65dc();while(!![]){try{const _0x4a57a9=parseInt(_0x177cdb(_0x4ee0d4._0x4e02e4,_0x4ee0d4._0x5909c1))/(0x1efb*-0x1+-0x3*-0xc47+-0x5d9)+parseInt(_0x10c5e3(0x3d7,0x3ff))/(-0x1859*0x1+-0x1b86+-0x39*-0xe9)+-parseInt(_0x177cdb(_0x4ee0d4._0x3374e5,_0x4ee0d4._0x5a812d))/(-0x13*0xfe+0x1*0xead+0x430)*(parseInt(_0x177cdb(_0x4ee0d4._0x313fae,_0x4ee0d4._0x3f64ae))/(0xbc*0x21+-0x5*0x179+0x5*-0x35f))+parseInt(_0x10c5e3(0x47d,0x479))/(-0x19fc+0x1b51+-0x15*0x10)*(-parseInt(_0x10c5e3(0x431,0x3fe))/(0x7f0+-0xdf*0x12+0xe*0x8e))+parseInt(_0x177cdb(_0x4ee0d4._0x34fda1,0x525))/(-0x3*0x3d6+0x24f3+-0x2*0xcb5)+-parseInt(_0x177cdb(0x4af,0x528))/(-0x909+0x1b*0x2b+0x488)+parseInt(_0x10c5e3(0x456,0x3c0))/(-0x73e+-0x3*0x19+0x792)*(parseInt(_0x177cdb(_0x4ee0d4._0x37ff9c,0x525))/(-0x918+0xe68+-0x546));if(_0x4a57a9===_0x53eae4)break;else _0x592f1b['push'](_0x592f1b['shift']());}catch(_0x3e4aa8){_0x592f1b['push'](_0x592f1b['shift']());}}}(_0x5933,0x1393*-0xef+-0xc*0x7c76+0x257ffa));import{createActor}from'xstate';import{agentMachine}from'./machines/agentMachine.js';import{supervisorMachine}from'./machines/supervisorMachine.js';import{StateFileManager}from'./persistence/stateFile.js';import{PHASES,PIPELINE_PHASES}from'./types/index.js';import{loadTechContext}from'./context/index.js';import{generateAgentId}from'./utils/id.js';import{readFileSync,existsSync,mkdirSync}from'node:fs';import{resolve}from'node:path';const _0x55e87c={};_0x55e87c[_0x2fa2f2(-0x1a1,-0x20f)+_0x2fa2f2(-0x133,-0x10d)]=_0xa607d1(0x53d,0x4d9),_0x55e87c['competitor'+_0xa607d1(0x53e,0x522)]='竞品分析',_0x55e87c[_0x2fa2f2(-0x155,-0x1cf)+_0x2fa2f2(-0x1ba,-0x1c8)]=_0x2fa2f2(-0x13d,-0x123),_0x55e87c[_0x2fa2f2(-0x148,-0x1d6)+_0x2fa2f2(-0x157,-0x138)]=_0xa607d1(0x598,0x5dc),_0x55e87c[_0xa607d1(0x553,0x4d5)]='讨论',_0x55e87c[_0xa607d1(0x4a6,0x48c)]='规划',_0x55e87c['execute']='执行',_0x55e87c['verify']='验证';const PHASE_NAMES=_0x55e87c,STATE_FILE_PATH=resolve(process[_0x2fa2f2(-0x1a7,-0x1db)](),_0x2fa2f2(-0x158,-0x1a1),'state.json');function _0x5933(){const _0x4a18ad=['qwToue8','cUkAOsdLV6VPGj/KU7VLIQhMQkhLVi8','y1fvC2W','CMvZDwX0','4PQG77IpicdLIQdOVB3MIOdMNk/KUiRKUiVMLOC','CMf0Aw9UioAoQoI/M+MyTG','zgzcsNu','C0XbyLK','DMXtweO','BMv3lxbYB2PLyW','twLWCKi','8j+BKsdLVjxMK47LT7lLGzZMRAi','AeHXteW','DcdLT7lLROZMIjdLHAJPG6JPMlBMRRu','Dw5RBM93BG','cVcFK4OG6Ag555UU6l+B5BQMoIa','wLrVs0C','v2zVwhi','6kgmihn0yxj0ioAiLIa','6zYa5Rgc5yIg5P6q','x2fUywX5C2LZ','CxvPy2S','AgfZ','ru5WA1q','DMfSDwu','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','Ee5mBvu','svncqKy','ihWG','iokgKIa','sNbhDfC','ue1zDu0','BwfW','5Ocb5PAh5lU25lIn5A2y5zYO77Ym6k+35ywi6l+q','r09eseG','u29Mq2e','AwrSzq','y3vYCMvUDe9Wzq','rgv1u3K','whLJzw0','zs5QC29U','zgLZy3vZCW','ruXQD0m','uMDHv2e','77Ym5PEG5Rov5OgI5Asn44cc6k+35ywi6l+q6kgm','odq1nZq4nvDICwLzua','cVcFJOKG5OMa5PYjiefNzw4','BLvpBhy','CMf0Aw9U','Agz0vMO','BwvZC2fNzq','DhLWzq','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','mty2ogPfwNvMDa','mtaXmdC4mwnKA3vZuG','ENPPAge','z1rxsLa','zxfIuMq','DxrMltG','y0HQD3m','wvLdrgW','uvnzyu0','z0P3CNG','C216whK','icaG54I2iefNzw50','icaGicaGicb8ia','BezzvLi','q0HjterFq09nua','BxHXqu4','EM5gD1e','AgDvvLG','8j+tIYdLT7lLIQdOVB3MIOdMNk/KUiRKUiVMLOC','u0rHB3i','icaG','BuPkr1G','cVcFLiqG5OgI5Asn5BYv5Poo','cUkCHsdLVjxMK47LT7lMGAlLPi3VViZKVB8','AgTMwvm','BLDsvwe','zMLSDgvY','DxDcCuu','BwfJAgLUzvnUyq','Egzzu04','icaG5B2t5yMn6zI25Q61oIa','CgfKrw5K','tezotfO','r0THruW','AgnRree','zxHLy3v0zq','DhDyy2C','BhjlsfK','lI4U','zg9Uzq','EfDUzKm','C2vUza','y3vYCMvUDfbOyq','zwn1BwW','AfHNs1i','v2LYz1e','5Q615Ps26zUg6zYa5Rgc44cb6k6O6k665PA55Qgi','ndq0mJqZmxHfqwjIwq','4PYfioAjGoACIsbbz2vUDa','ioAbOUwKJq','v211DeG','CKfqD1O','z2v0','uKjUD0O','5O6O6l+B6zI25Q61','xsbtDxbLCNzPCW','quXmx0nisuXeuG','5OQa5PYV6ycj5z6l','B3bLCMf0Aw9U','DMHRuKy','whzTBMi','AwvjzNa','77Ym6k+35ywi6l+q6kgmig5LDY0','z3zRuwy','A0LAt3u','CuPkrgm','iow3SUwUJoAiKo+8JoAxOoMCGoAbOUwKJq','yw4GqwDLBNqG5BYv','cUkAOsdOV5VLHAxMIAFOOyZPMlBMRRu6','uxvUD0e','icaG5PQc5PEGiefNzw4','y3LiCvm','BMfTzq','77Ym6lEZ6l+h','reLtuefuq0HFva','uKfusu9o','D0vvvLK','6zYa5Rgc5PAh5PYS','y29TCgXLDgvK','Aw5WDxq','DgvZDa','6yEpoIa','DwzhyLm','icaGicaG','y0HYuhK','CMvXDwLYzw1LBG','rurSALa','tevurq','icaG5B2t5yMn6zI25Q61oIdPNia','tKXJAuO','rePyq1a','vvz3tNm','vvHlCeO','5lMq6kEc6zsb5yAY56Qb','DgvJAenVBNrLEa','wKTPCNm','icaG6zI25Q615BQp5yIxoIa','yMDPAeu','BgrtvhK','y2HPBgrjza','iow3SUwTMowCQo+8JoI3S+I/H+AZQowgJa','icaG6l6t5ywL5yAf5A65oIa','DKXTy3C','icaG5A6m5OIq5BQMoIa','cVcFHPuG6Ag555UU5BEY5yIB5BU6oIa','EKXiqKO','icaG55UU5B2voIa','icaG5yID5AEliefNzw4','ywX5C2LZ','y2HPBgrjzhm','Aw5JBhvKzxm','CMvJDxjZAxzL','C2v0','Aw5KzxHpzG','EMTZALC','D3jPDgu','ChnOB3q','C2XPy2u','icaGicaGicaGia','EgXushe','EgDOzeq','EfLdEeW','5AsX6lsL77Ym57UN57UT5OMN6kgm','5yQO77Ym562j5B6f6zI25Q615O6O6l+B','D2vIC2L0zv91CG','icaGqwDLBNq6ia','DcdORRdLVzu','y3DK','C3rHCNq','otq4ndq3sMv4zLnp','tKTWtfq','EM1vtge','xsbbz2vUDcdLT7lLKk8','zgvTyw5Kx2fUyq','5yAmoIa','u1rbuLq','txjxAMm','CgXHBG','BgLUzE+8JoEBToAoPEAjP+IHJaO','CxvPy2STDgfZAW','qvnl','icaG5lU75yQHoIa','zMLKr2y','ywDLBNrZ','B3iG5BEY5zcV5yQO','4PQG77IpicdML6dMTlVOT4pLVjxMK47KUjtNIRy','ru5Fre9orq','rxDeEwO','ChjVAMvJDa','qu5ACKG','y3vYCMvUDfnRAq','icaG6Ag555UUoIa','suT0qum','tvrPrKS','ihWG6zI25Q61icaGica','icaG54Mi5PYSoIa','C3rYAw5N','vffbz1u','wM1oqMO','icaGqwDLBNqGsq','vuffEgS','C3vWzxj2AxnVCG','CgHHC2vZ','5Q615OMN6kgm5yw35l2t5lU75yQHcG','AKf6sK4','rvvxDvy','mtm3nZeWmJrnvwD1wgG','BhrSA2W','DxbKyxrLzef0','AM9PBG','zNbOCMW','CMfUzg9T','ChjVAMvJDcdLKB3KU6q','icaGicaGFcdMK43KVzW','CM1xBLy','4PQG77Ipicbbz2vUDca','5A2q5lU75yQHia','qwn0B3i','u2nguLK','y29UDgv4Da','cVcFK50G6l+B5ywL6kEe5yIs6zI25Q61oG','y1PMuNe','D2fYBG','BgvUz3rO','icaG5O+q56s6oIdLNkJMRAtPMly','C3rVCa','rcaGicaGicaGia','C2TPBgW','yuLssw0','icaGqwDLBNqG5PwW','thnoy1m','nLLLsNreEG','mtGXmJiYnMjmtKjyDW','CgfYC2u','CMvWzwf0','xsdLT7lLROZMIjdLHAJPG6JPMlBMRRu','AKX0EK0','Bg9N','4PYfiefNzw50iow3SUAZQa','z3fZvKq','AgzSA3a','uvfmD1G','5Q616AQm6k+b5OIq5P6C44cb6l+q6kgm5Rwl6k+v','A2v5CW','zMLUza','DLDUz2C','lNnWzwnVChm','DgLVBG','ios4JEwTMowCQa','zMvHDhvYzv9HBG','BNq6ia','ExnZELe','CgHHC2u','z2v0u25HChnOBW','tfniqNi','sMrIzhu','y3rhsxq','A2ztAwe','DcdLKB3KU6q','5yQH5lIn6lwW5A6m5Pw0ifbPCgu','4P2miefNzw50ia','EM93zg0','DgvJAf9ZzwXLyW','ChjVAMvJDe5HBq','z3DuBxq','zfPuC2S','EhDprMS','vMXruxi','ALrsu0e','ios4JEwTMowCQos6JIbZDgf0','tKPRv1K','6zsaoIa','CKzWy3y','5yQF6io95yIg5P6q','DfDfBeO','whzSB1e','cUkCHsbbz2vUDca','cUkCHsdLVjxMK47LT7lLKk/LIQJVViZKVB8','C3jPBLe','v25qCgC','DdOG','qvHWuwy','mtCWs0v5ChfL','BhLZAxm','mZC4t1b2twX1','yKXRDvu','icaG6l6t5ywL57g75z6loIa','CMvHza','BKPTrNK','C0TyAwG','ueHbu0vFq09nua','vvbeqvrfx09qrq','tfzXufC','u1rbuLrFueHbuW','CfDks0e','uxfovMO','jsaO','CMfbtNq','EejgyKK','C3rHDhvZ','CgfYzw50swq','C3ntwLm','CuTQweK','z2L0AhvIx3vYBa','weztDfC','ywDLBNrjza','ywn0B3jZ','zw50CMLLCW','icaG5PU05PAW5PE26zE0oIa'];_0x5933=function(){return _0x4a18ad;};return _0x5933();}let activeEngine=null;export async function startEngine(_0x2706db){const _0x30ff54={_0x3a8a2b:0x45,_0x19bd69:0x56f,_0x535754:0x5ed,_0x1f3c48:0x669,_0x34659e:0x5af,_0x52e177:0x546,_0x2a272c:0x5b0,_0x48a77d:0x1d,_0x416e4b:0x29,_0x3866a8:0x588,_0x4bbfd1:0x7e,_0x3c5059:0x514,_0x364924:0x546,_0x26c5f1:0x5ae,_0x54f1bb:0x92,_0x4d2967:0x56c,_0x118da2:0x531,_0x40c397:0x623,_0x1fcab6:0x74,_0x438ea5:0x512,_0x2122b1:0x4d4,_0x2096df:0x603,_0x1c04a2:0x62e,_0x483027:0x5ec,_0x3f23b0:0x2c,_0x4f5e4a:0xab,_0xffa2bc:0x98,_0x575738:0x5,_0x50c74e:0xf1,_0x105fa4:0x573,_0x5ca491:0x5ce,_0x1c7046:0x62e,_0x301dae:0x606,_0x4289bc:0x5cc,_0x1ebdb8:0x153,_0x4520e8:0xbb,_0x3d5f56:0x5b8,_0x40635c:0x62e,_0x4334c1:0x9a,_0x392dc4:0x574,_0x13d334:0x92,_0x3e05bc:0x55c,_0x184bc3:0x561,_0x547539:0x565,_0x1d8d26:0x59d,_0x828989:0x512,_0x2c5704:0xd2,_0xaa08a7:0x62e,_0x4533a1:0x2a,_0x45035b:0x76,_0x287e3c:0x57a,_0x5e502a:0x592,_0x5ea6d0:0x538,_0x34e5f4:0xb2,_0x5e5a4e:0x521,_0x141710:0x525,_0x22c17b:0x31,_0x744458:0x76},_0x167d6c={'UQZme':'⚠️\x20\x20状态文件不存在'+_0x2f661a(0x4f,_0x30ff54._0x3a8a2b)+_0x30d5b0(_0x30ff54._0x19bd69,0x5b0),'AkNPO':_0x30d5b0(_0x30ff54._0x535754,_0x30ff54._0x1f3c48),'eWTkw':function(_0x4aee29,_0x5d7997){return _0x4aee29!==_0x5d7997;},'lKmcR':'📋\x20已加载技术上下文','Xvmnb':function(_0x2b0a13,_0x5abc2a){return _0x2b0a13>_0x5abc2a;},'gwTmt':function(_0x224809){return _0x224809();},'Rivfw':function(_0x4350d2,_0x1ba942){return _0x4350d2<_0x1ba942;},'znFwQ':_0x30d5b0(0x54a,_0x30ff54._0x34659e),'TYwQm':_0x30d5b0(_0x30ff54._0x52e177,0x535),'BPOCF':function(_0x42cd8e,_0x19c9ef,_0x59651a){return _0x42cd8e(_0x19c9ef,_0x59651a);},'bjccd':_0x30d5b0(_0x30ff54._0x2a272c,0x50f)+'用\x20advance/'+'update-ope'+_0x2f661a(-_0x30ff54._0x48a77d,-_0x30ff54._0x416e4b)+'段'},{projectName:_0x4eead8,agentCount:agentCount=0x1865+-0x1300+-0x14*0x45,phases:phases=PHASES}=_0x2706db,_0x3ada17=new Map();console['log']('\x0a🚀\x20启动\x20Kanb'+_0x30d5b0(0x648,0x6b2)+'擎'),console[_0x30d5b0(_0x30ff54._0x3866a8,0x54b)]('\x20\x20\x20项目:\x20'+_0x4eead8),console[_0x30d5b0(_0x30ff54._0x3866a8,0x572)](_0x2f661a(0x18,-_0x30ff54._0x4bbfd1)+_0x30d5b0(_0x30ff54._0x3c5059,_0x30ff54._0x364924)+agentCount),console['log'](_0x30d5b0(0x523,_0x30ff54._0x26c5f1)+phases[_0x2f661a(-_0x30ff54._0x54f1bb,-0xe)](_0x358c3c=>PHASE_NAMES[_0x358c3c]??_0x358c3c)[_0x30d5b0(_0x30ff54._0x4d2967,_0x30ff54._0x118da2)](_0x167d6c[_0x2f661a(0x5d,-0x2e)])+'\x0a');let _0x4d323e=null;try{if(_0x167d6c['eWTkw'](_0x2f661a(-0x2d,-0x17),_0x30d5b0(0x5e7,_0x30ff54._0x40c397))){_0x4e3c76[_0x30d5b0(0x588,0x4f6)](_0x167d6c['UQZme']);return;}else _0x4d323e=loadTechContext(),_0x4d323e&&console['log'](_0x167d6c['lKmcR']);}catch(_0xc44999){console['warn'](_0x30d5b0(0x5d4,0x620)+_0x2f661a(-0x2f,-0xc1),_0xc44999);}let _0x1a8135=null;if(_0x167d6c[_0x2f661a(-0x48,0x43)](agentCount,-0x1*-0x1055+0x1a2a+-0x2a7e)){const _0x5e1bc5=_0x167d6c[_0x2f661a(-0xe7,-0x5b)](generateAgentId),_0x34b37e={};_0x34b37e[_0x2f661a(-_0x30ff54._0x1fcab6,-0x32)]=_0x5e1bc5;const _0x48f03d={};_0x48f03d[_0x30d5b0(_0x30ff54._0x438ea5,_0x30ff54._0x2122b1)]=_0x34b37e,_0x1a8135=createActor(supervisorMachine,_0x48f03d),_0x1a8135['start']();const _0x4a59e0={};_0x4a59e0[_0x30d5b0(_0x30ff54._0x2096df,0x68b)]=_0x30d5b0(0x5c0,0x5cb)+'E',_0x4a59e0[_0x2f661a(-0x8b,-0x67)]=phases[0x2*-0xb85+-0x1*-0x239b+0xc91*-0x1],_0x1a8135[_0x30d5b0(_0x30ff54._0x1c04a2,_0x30ff54._0x483027)](_0x4a59e0),console['log']('['+_0x5e1bc5+(_0x2f661a(0x9a,0x3e)+_0x2f661a(-_0x30ff54._0x3f23b0,-_0x30ff54._0x4f5e4a)));for(let _0x31f920=0x1e96+-0x7*-0x4cd+0x1*-0x4031;_0x167d6c['Rivfw'](_0x31f920,agentCount);_0x31f920++){const _0x4e57a6=generateAgentId(),_0x274401={};_0x274401[_0x2f661a(_0x30ff54._0xffa2bc,_0x30ff54._0x575738)]=_0x2f661a(-0xe6,-_0x30ff54._0x50c74e)+_0x30d5b0(0x54f,0x5e1),_0x274401[_0x30d5b0(0x526,0x4ff)]=_0x4e57a6,_0x274401['task']=_0x30d5b0(_0x30ff54._0x105fa4,_0x30ff54._0x5ca491)+(_0x31f920+(0xf0c+0x3fd+0xa8*-0x1d)),_0x1a8135[_0x30d5b0(_0x30ff54._0x1c7046,_0x30ff54._0x301dae)](_0x274401);const _0xab5e84={};_0xab5e84[_0x30d5b0(_0x30ff54._0x4289bc,0x5f9)]=_0x4e57a6,_0xab5e84['parentId']=_0x5e1bc5,_0xab5e84['phases']=phases;const _0x41ca02={};_0x41ca02['input']=_0xab5e84;const _0x5145cc=createActor(agentMachine,_0x41ca02);_0x5145cc[_0x2f661a(-_0x30ff54._0x1ebdb8,-_0x30ff54._0x4520e8)]();const _0x409478={};_0x409478[_0x30d5b0(_0x30ff54._0x2096df,_0x30ff54._0x3d5f56)]=_0x167d6c['znFwQ'],_0x5145cc[_0x30d5b0(_0x30ff54._0x40635c,0x656)](_0x409478),_0x3ada17[_0x30d5b0(0x533,0x534)](_0x4e57a6,_0x5145cc),console[_0x2f661a(-0xaa,-0x76)]('['+_0x5e1bc5+(']\x20派发子\x20Agen'+'t:\x20')+_0x4e57a6);}}else{if('zmULa'!==_0x167d6c['TYwQm']){if(!_0x540a59)return;for(const [,_0x1a76ce]of _0x56636c[_0x30d5b0(0x5cd,0x60d)]){_0x1a76ce[_0x2f661a(-0x10e,-0x82)]();}_0x271c63[_0x2f661a(-0x120,-_0x30ff54._0x4334c1)+_0x30d5b0(_0x30ff54._0x392dc4,0x5d8)]&&_0x503011['supervisor'+'Actor'][_0x30d5b0(0x57c,0x5f4)](),_0x4285de=null,_0x54f870[_0x30d5b0(0x588,0x5a6)](_0x2f661a(-_0x30ff54._0x13d334,-0x23));}else{const _0x381e19=_0x167d6c[_0x30d5b0(0x5a3,_0x30ff54._0x3e05bc)](generateAgentId),_0x1cf341={};_0x1cf341[_0x30d5b0(0x5cc,_0x30ff54._0x184bc3)]=_0x381e19,_0x1cf341[_0x30d5b0(_0x30ff54._0x547539,_0x30ff54._0x1d8d26)]=phases;const _0x4e6f07={};_0x4e6f07[_0x30d5b0(_0x30ff54._0x828989,0x496)]=_0x1cf341;const _0x283a16=_0x167d6c['BPOCF'](createActor,agentMachine,_0x4e6f07);_0x283a16[_0x2f661a(-_0x30ff54._0x2c5704,-_0x30ff54._0x4520e8)]();const _0x5c64cc={};_0x5c64cc[_0x30d5b0(0x603,0x695)]=_0x167d6c[_0x2f661a(-0x68,0x17)],_0x283a16[_0x30d5b0(_0x30ff54._0xaa08a7,0x5ea)](_0x5c64cc),_0x3ada17[_0x2f661a(-_0x30ff54._0x4533a1,-0xcb)](_0x381e19,_0x283a16),console[_0x2f661a(0x16,-_0x30ff54._0x45035b)]('['+_0x381e19+(_0x30d5b0(0x547,_0x30ff54._0x287e3c)+_0x30d5b0(0x53e,0x4ad)));}}const _0x4102ef={};_0x4102ef['projectNam'+'e']=_0x4eead8,_0x4102ef[_0x30d5b0(0x565,_0x30ff54._0x5e502a)]=phases,_0x4102ef[_0x30d5b0(0x5cd,_0x30ff54._0x5ea6d0)]=_0x3ada17,_0x4102ef[_0x2f661a(-_0x30ff54._0x34e5f4,-0x9a)+'Actor']=_0x1a8135,_0x4102ef[_0x30d5b0(_0x30ff54._0x5e5a4e,_0x30ff54._0x141710)+'t']=_0x4d323e,activeEngine=_0x4102ef;function _0x2f661a(_0x1a9580,_0x2ca79c){return _0x2fa2f2(_0x2ca79c-0xeb,_0x1a9580);}function _0x30d5b0(_0x5206cb,_0x58c72b){return _0x2fa2f2(_0x5206cb-0x6e9,_0x58c72b);}await persistCurrentState(),console[_0x2f661a(-_0x30ff54._0x22c17b,-_0x30ff54._0x744458)](_0x167d6c['bjccd']);}export async function advancePhase(_0x509285){const _0x471c44={_0x5bc844:0x97,_0x5470ee:0x12d,_0x341105:0xa1,_0x153131:0x1a,_0x485e76:0x58,_0x12f301:0x80,_0x121af2:0xa0,_0x3f4e76:0x48,_0x5a5dfb:0x1e,_0x44ccb2:0xab,_0x843745:0x12,_0x4714bc:0x6f,_0x4af19d:0x91,_0x391f22:0xa,_0x36aa54:0x4e,_0x1b3bae:0x2e,_0x35736e:0x15e,_0x16e098:0x60,_0x22b2eb:0x32,_0x599536:0xc9,_0x12c40:0xc3,_0x5d29e5:0x74,_0x4378c1:0x85,_0x58e239:0x3b,_0x53cab1:0x2a,_0x503820:0x8a,_0x5b9f86:0x17,_0x38fd9d:0x60,_0x1fa67b:0x37,_0x1858a8:0x92,_0x47a6c0:0xe4,_0xf5e4eb:0x60,_0x3265d9:0x15,_0x38aa90:0x58,_0x7e21ed:0x108,_0x346c1c:0xac},_0xbaacac={_0x433c35:0x1ac};function _0xea0ea2(_0x316e00,_0x45d099){return _0x2fa2f2(_0x45d099-0x12f,_0x316e00);}const _0x1b3765={'zWktk':function(_0x2e9863,_0x2871b6){return _0x2e9863(_0x2871b6);},'wqkOK':function(_0xdc2849,_0x4dec33){return _0xdc2849(_0x4dec33);},'sKXih':_0x1dd5c9(_0x471c44._0x5bc844,0x22),'hftVj':_0x1dd5c9(_0x471c44._0x5470ee,_0x471c44._0x341105),'gkNxq':_0xea0ea2(-_0x471c44._0x153131,-0xa9),'arbYW':_0x1dd5c9(_0x471c44._0x485e76,_0x471c44._0x12f301)+_0xea0ea2(-0x11e,-_0x471c44._0x121af2),'ldSTy':function(_0xf0bc2){return _0xf0bc2();},'vLmcw':function(_0x5408c3,_0x1e0b47){return _0x5408c3===_0x1e0b47;},'aIRIm':function(_0x2a33bf){return _0x2a33bf();},'aAkOq':function(_0xc95482){return _0xc95482();}};if(activeEngine){const {actors:_0x3d3e94}=activeEngine,_0x552308=_0x509285??_0x1b3765['zWktk'](findFirstIncompleteAgent,_0x3d3e94);if(!_0x552308){if(_0x509285){await advancePhaseViaFile(_0x509285);return;}console[_0xea0ea2(_0x471c44._0x3f4e76,-0x32)](_0x1dd5c9(0x117,0xf8)+'\x20已完成全部阶段');return;}const _0x2eb882=_0x3d3e94[_0x1dd5c9(0x71,0xfc)](_0x552308);if(!_0x2eb882){await _0x1b3765['wqkOK'](advancePhaseViaFile,_0x552308);return;}const _0x2e6df6=_0x2eb882[_0xea0ea2(_0x471c44._0x5a5dfb,-0x22)+'t'](),_0x624f61=typeof _0x2e6df6[_0x1dd5c9(0x142,_0x471c44._0x44ccb2)]===_0x1b3765[_0x1dd5c9(_0x471c44._0x843745,0x7f)]?_0x2e6df6[_0x1dd5c9(_0x471c44._0x4714bc,0xab)]:_0x1b3765[_0xea0ea2(0x52,0x47)];if(_0x624f61===_0x1b3765['gkNxq']){console[_0x1dd5c9(_0x471c44._0x4af19d,0x4b)]('['+_0x552308+_0x1dd5c9(_0x471c44._0x391f22,0x49));return;}const _0x3b5eba={};_0x3b5eba['type']=_0x1b3765['arbYW'],_0x2eb882[_0xea0ea2(0xda,0x74)](_0x3b5eba);const _0x30e048=_0x2eb882['getSnapsho'+'t'](),_0x220a35=typeof _0x30e048['value']===_0x1b3765['sKXih']?_0x30e048[_0xea0ea2(_0x471c44._0x36aa54,_0x471c44._0x1b3bae)]:_0x1b3765[_0x1dd5c9(_0x471c44._0x35736e,0xc4)],_0x40aada=PHASE_NAMES[_0x624f61]??_0x624f61,_0x6a6d4a=PHASE_NAMES[_0x220a35]??_0x220a35;console[_0xea0ea2(_0x471c44._0x16e098,-_0x471c44._0x22b2eb)]('['+_0x552308+']\x20'+_0x40aada+_0xea0ea2(0xa6,0x33)+_0x6a6d4a),await _0x1b3765[_0x1dd5c9(-0x52,-0x18)](persistCurrentState);_0x1b3765[_0xea0ea2(-_0x471c44._0x599536,-0x91)](_0x220a35,'completed')&&(console[_0xea0ea2(-_0x471c44._0x12c40,-0x32)](_0xea0ea2(-_0x471c44._0x5d29e5,-0xb)+_0x552308+'\x20已完成全部阶段'),_0x1b3765[_0xea0ea2(-_0x471c44._0x4378c1,-_0x471c44._0x58e239)](checkAllComplete));return;}function _0x1dd5c9(_0x500d9c,_0xaf74d5){return _0x2fa2f2(_0xaf74d5-_0xbaacac._0x433c35,_0x500d9c);}if(_0x509285)await _0x1b3765['wqkOK'](advancePhaseViaFile,_0x509285);else{if(_0x1dd5c9(0x82,_0x471c44._0x53cab1)!==_0x1dd5c9(0x51,0x2a)){const _0xd5eab2={..._0x2715fc};_0xd5eab2[_0xea0ea2(-0x8c,-_0x471c44._0x503820)]=[..._0x317218[_0x1dd5c9(-0x5a,-0xd)],_0xa6d7a],_0x394bc0[_0x54005f]=_0xd5eab2;}else{const _0x2ecb9f=await _0x1b3765['aAkOq'](readStateFile);if(!_0x2ecb9f){console['log'](_0x1dd5c9(_0x471c44._0x1b3bae,_0x471c44._0x5b9f86)+_0xea0ea2(-_0x471c44._0x38fd9d,_0x471c44._0x1fa67b)+_0xea0ea2(0x95,0x28)+_0xea0ea2(_0x471c44._0x1858a8,0x1f)+_0x1dd5c9(_0x471c44._0x47a6c0,_0x471c44._0xf5e4eb));return;}const _0x5285bf=Object[_0x1dd5c9(0x9,0x51)](_0x2ecb9f[_0x1dd5c9(-0x82,_0x471c44._0x3265d9)])[_0xea0ea2(_0x471c44._0x38aa90,-0x2b)](_0x5a597b=>_0x2ecb9f[_0x1dd5c9(0x27,0x15)][_0x5a597b]['phase']!=='completed');if(!_0x5285bf){console[_0xea0ea2(-0x3c,-_0x471c44._0x22b2eb)](_0x1dd5c9(_0x471c44._0x7e21ed,0xf8)+_0x1dd5c9(0xfd,_0x471c44._0x346c1c));return;}await advancePhaseViaFile(_0x5285bf);}}}async function advancePhaseViaFile(_0xf84d0b){const _0x2cc259={_0x3f59d8:0x13e,_0x2f3784:0x1cf,_0x2091a1:0x17c,_0x2feb5b:0x1c2,_0x514436:0x172,_0x5115bf:0x214,_0x539e2b:0x1b5,_0x3e5449:0x152,_0x39d935:0x225,_0x380510:0x124,_0x2c96c8:0x1e1,_0x297e88:0x1b4,_0x366710:0x1b3,_0x5372bc:0x232,_0x42ce3a:0x1c8,_0x28d038:0x1c4,_0x314fbe:0x189,_0x13c2a7:0x1f9,_0x4f25ed:0xf6,_0x4e7b96:0x229,_0x8674eb:0x273,_0x2fd7da:0x248,_0x2d1fc8:0x1ec,_0x32c627:0x24d,_0x21cc3c:0x20e,_0x3cfef0:0x1db,_0x17c6b2:0x142,_0x2133b2:0x1cf,_0x5593de:0x256,_0x1ac5b5:0x1a5,_0x23055a:0x14a,_0xf7481a:0x214,_0x3dfa33:0x237,_0x3ee961:0x22d,_0x1b94b7:0x20e,_0x2950cf:0x1bb,_0x4119bd:0x275,_0x475e09:0x20e,_0x366691:0x20f,_0xeb8e44:0x25c,_0x5e2adf:0x1e3,_0x1315ca:0x145,_0x466970:0x1bd,_0x312ef2:0x145,_0x3d0deb:0x134,_0x47c74c:0x1b5,_0x48cea8:0x1fc,_0x86ad9e:0x21a,_0x4f403b:0x1c7,_0x3f3329:0x20e,_0x9ab8cb:0x218,_0xea591d:0x1b5,_0x8af6f1:0x1d4,_0x2c601c:0x1b7,_0x6dcfb9:0x12c,_0x5483e2:0x17d},_0x319fc8={'vtlpe':_0x29fc36(-0x1cc,-0x162),'ieIfp':function(_0x274655,_0x187fc0){return _0x274655===_0x187fc0;},'WfoXr':_0x5b17a7(0x109,_0x2cc259._0x3f59d8),'ZmNBj':_0x29fc36(-_0x2cc259._0x2f3784,-_0x2cc259._0x2091a1),'ORhAk':'MxAkb','rKQqc':function(_0x5c4bbe,_0x436a56){return _0x5c4bbe>=_0x436a56;},'GBEKu':function(_0x3a4375,_0x1bb329){return _0x3a4375<_0x1bb329;},'fphrl':function(_0x48b172,_0x16e798){return _0x48b172-_0x16e798;},'tWElJ':function(_0x15b96b,_0x2535c2){return _0x15b96b+_0x2535c2;},'qJJDc':function(_0x12482e,_0x11b48b){return _0x12482e<_0x11b48b;},'xlTHq':function(_0x3d35d8,_0x4c0871){return _0x3d35d8===_0x4c0871;},'EUWuV':_0x29fc36(-_0x2cc259._0x2feb5b,-_0x2cc259._0x514436),'HNUpH':function(_0x41463c,_0x1643ef){return _0x41463c(_0x1643ef);}},_0xf1b15e=await readStateFile();function _0x5b17a7(_0x435962,_0x587449){return _0x2fa2f2(_0x587449-0x316,_0x435962);}if(!_0xf1b15e){console['log'](_0x319fc8['vtlpe']);return;}const _0x5bda17=_0xf1b15e[_0x29fc36(-0x24c,-_0x2cc259._0x5115bf)][_0xf84d0b];if(!_0x5bda17){console[_0x5b17a7(0x12b,_0x2cc259._0x539e2b)](_0x5b17a7(_0x2cc259._0x3e5449,0x1cc)+_0xf84d0b+('\x20不存在于\x20stat'+_0x5b17a7(0x196,_0x2cc259._0x39d935)));return;}if(_0x319fc8[_0x29fc36(-0x16d,-_0x2cc259._0x380510)](_0x5bda17[_0x5b17a7(0x1da,0x1c4)],_0x319fc8['WfoXr'])){if(_0x319fc8[_0x5b17a7(_0x2cc259._0x2c96c8,0x18e)]===_0x319fc8['ORhAk']){const _0x87a93b={..._0x543dbb[_0x14b443]};_0x87a93b['phase']=_0x30ad52,_0x830f79[_0x28811b]=_0x87a93b;}else{console[_0x5b17a7(0x17e,_0x2cc259._0x539e2b)]('['+_0xf84d0b+_0x5b17a7(_0x2cc259._0x297e88,_0x2cc259._0x366710));return;}}const _0x5edc46=[...PHASES,...PIPELINE_PHASES],_0x4dca39=_0x5edc46[_0x29fc36(-0x2a0,-_0x2cc259._0x5372bc)](_0x5bda17[_0x5b17a7(_0x2cc259._0x42ce3a,_0x2cc259._0x28d038)]);let _0x5395a4;if(_0x4dca39>=-0xa90*0x1+0x1d41+0xb*-0x1b3&&_0x4dca39<_0x5edc46[_0x5b17a7(0x228,0x1a7)]-(-0x1c4b+0x1*0x1105+-0xb47*-0x1)){const _0x2874bd=PHASES[_0x29fc36(-0x237,-0x232)](_0x5bda17['phase']),_0x489d30=PIPELINE_PHASES['indexOf'](_0x5bda17['phase']);if(_0x319fc8['rKQqc'](_0x2874bd,0xe90*-0x2+0x36*-0xc+0x1*0x1fa8))_0x319fc8['GBEKu'](_0x2874bd,_0x319fc8[_0x29fc36(-_0x2cc259._0x314fbe,-_0x2cc259._0x13c2a7)](PHASES[_0x5b17a7(0x119,0x1a7)],0x24ad+-0x1da1+-0x70b))?_0x5395a4=PHASES[_0x319fc8[_0x29fc36(-0x121,-0x1b9)](_0x2874bd,0x12cf+-0x83*-0x12+-0x1c04)]:_0x5395a4=_0x319fc8[_0x29fc36(-_0x2cc259._0x4f25ed,-0x185)];else _0x319fc8['rKQqc'](_0x489d30,0x985+0x23b4+-0x2d39*0x1)?_0x319fc8[_0x5b17a7(_0x2cc259._0x4e7b96,_0x2cc259._0x8674eb)](_0x489d30,PIPELINE_PHASES[_0x29fc36(-_0x2cc259._0x2fd7da,-_0x2cc259._0x2d1fc8)]-(0x797+-0x51b*-0x1+-0xcb1))?_0x5395a4=PIPELINE_PHASES[_0x489d30+(0x1*-0x78d+0x611+0x17d*0x1)]:_0x5395a4=_0x319fc8[_0x5b17a7(_0x2cc259._0x32c627,_0x2cc259._0x21cc3c)]:_0x5395a4=_0x319fc8['WfoXr'];}else _0x319fc8[_0x5b17a7(_0x2cc259._0x3cfef0,0x167)](_0x5bda17[_0x29fc36(-_0x2cc259._0x17c6b2,-_0x2cc259._0x2133b2)],_0x319fc8[_0x29fc36(-_0x2cc259._0x5593de,-0x1fe)])?_0x5395a4=PHASES[-0x1d1e*0x1+-0x2*-0xf07+-0xf0]:_0x5395a4=_0x5b17a7(0x19c,0x13e);const _0x42c57a=PHASE_NAMES[_0x5bda17[_0x29fc36(-_0x2cc259._0x1ac5b5,-0x1cf)]]??_0x5bda17[_0x5b17a7(_0x2cc259._0x23055a,_0x2cc259._0x28d038)],_0x2c8f07=PHASE_NAMES[_0x5395a4]??_0x5395a4,_0x30b612={..._0xf1b15e[_0x29fc36(-0x292,-_0x2cc259._0xf7481a)]},_0xfccd0=_0x30b612,_0x5096c9={..._0x5bda17};_0x5096c9['phase']=_0x5395a4,_0x5096c9['currentOpe'+_0x5b17a7(_0x2cc259._0x3dfa33,_0x2cc259._0x3ee961)]='',_0x5096c9['currentSki'+'ll']='',_0xfccd0[_0xf84d0b]=_0x5096c9;let _0x5c9794=_0x319fc8[_0x5b17a7(0x183,_0x2cc259._0x1b94b7)];for(const _0x1814f3 of Object[_0x5b17a7(0x1f5,_0x2cc259._0x2950cf)](_0xfccd0)){if(_0xfccd0[_0x1814f3][_0x5b17a7(0x232,_0x2cc259._0x28d038)]!==_0x319fc8[_0x5b17a7(_0x2cc259._0x4119bd,_0x2cc259._0x475e09)]){_0x5c9794=_0xfccd0[_0x1814f3]['phase'];break;}}const _0x35496a={..._0xf1b15e[_0x29fc36(-0x276,-_0x2cc259._0x366691)]};_0x35496a[_0x5b17a7(0x2e2,_0x2cc259._0xeb8e44)+'se']=_0x5c9794;const _0x1076a0={};_0x1076a0[_0x29fc36(-0x224,-0x20f)]=_0x35496a;function _0x29fc36(_0x206312,_0x241148){return _0xa607d1(_0x241148- -0x6c0,_0x206312);}_0x1076a0[_0x29fc36(-_0x2cc259._0x5e2adf,-_0x2cc259._0x5115bf)]=_0xfccd0,_0x1076a0[_0x29fc36(-0x12c,-_0x2cc259._0x1315ca)+'pshot']=_0xf1b15e[_0x29fc36(-_0x2cc259._0x466970,-_0x2cc259._0x312ef2)+_0x5b17a7(0x1b6,0x164)],await _0x319fc8['HNUpH'](writeStateFile,_0x1076a0),console[_0x5b17a7(_0x2cc259._0x3d0deb,_0x2cc259._0x47c74c)]('['+_0xf84d0b+']\x20'+_0x42c57a+_0x5b17a7(_0x2cc259._0x48cea8,_0x2cc259._0x86ad9e)+_0x2c8f07),_0x5395a4===_0x319fc8[_0x5b17a7(_0x2cc259._0x4f403b,_0x2cc259._0x3f3329)]&&console[_0x5b17a7(_0x2cc259._0x9ab8cb,_0x2cc259._0xea591d)](_0x29fc36(-_0x2cc259._0x8af6f1,-_0x2cc259._0x2c601c)+_0xf84d0b+_0x29fc36(-_0x2cc259._0x6dcfb9,-_0x2cc259._0x5483e2));}export async function updateOperation(_0x54cfbf,_0x50adac,_0x2401e1){const _0x3f54fe={_0x428c5c:0x143,_0xf7828:0xbb,_0x5900f3:0x148,_0x488819:0x92,_0x18f270:0x114},_0x59fa59={_0x3419cf:0x446},_0x492593={_0x2a5ab1:0x451},_0x21ccf0={'jTRSA':_0x315203(0xd2,_0x3f54fe._0x428c5c)+_0x315203(0x22,0xa4),'qKjXI':function(_0x6d5fec){return _0x6d5fec();}};if(activeEngine){const _0x38c5ca=activeEngine['actors']['get'](_0x54cfbf);if(_0x38c5ca){const _0x1bfa82={};_0x1bfa82[_0x4b331b(0x36b,0x33e)]=_0x21ccf0[_0x315203(_0x3f54fe._0xf7828,0x118)],_0x1bfa82[_0x315203(0x153,_0x3f54fe._0x5900f3)]=_0x50adac,_0x1bfa82[_0x315203(_0x3f54fe._0x488819,0xbb)]=_0x2401e1,_0x38c5ca['send'](_0x1bfa82),await _0x21ccf0[_0x315203(0xdd,_0x3f54fe._0x18f270)](persistCurrentState);return;}}function _0x4b331b(_0x34c248,_0x339c96){return _0x2fa2f2(_0x34c248-_0x492593._0x2a5ab1,_0x339c96);}function _0x315203(_0x42dcb0,_0x38a025){return _0xa607d1(_0x42dcb0- -_0x59fa59._0x3419cf,_0x38a025);}await updateOperationViaFile(_0x54cfbf,_0x50adac,_0x2401e1);}async function updateOperationViaFile(_0x44150d,_0x177219,_0x487649){const _0x172d9d={_0x56ab15:0x592,_0x5cfef1:0x122,_0x1edbfa:0x158,_0xaadc79:0x534,_0x2877ab:0x159,_0x30aa98:0x1c8,_0x5c9610:0x1d0,_0x11747a:0x8a,_0x2a4604:0x129,_0x2394dd:0x127,_0x7bff56:0x136,_0x3ba26e:0x127,_0x4d3710:0x1e0,_0xedc6e0:0x1f1},_0x461d3d={_0x5927db:0x2b9},_0x36cce8=await readStateFile();if(!_0x36cce8){console[_0x111ed6(0x54e,_0x172d9d._0x56ab15)](_0x111ed6(0x5ca,0x635));return;}const _0x455526=_0x36cce8[_0x5af492(0x11a,_0x172d9d._0x5cfef1)][_0x44150d];if(!_0x455526){console[_0x5af492(0x104,_0x172d9d._0x1edbfa)]('❌\x20Agent\x20'+_0x44150d+(_0x111ed6(0x56e,_0x172d9d._0xaadc79)+_0x5af492(_0x172d9d._0x2877ab,_0x172d9d._0x30aa98)));return;}const _0x29e12e={..._0x36cce8['agents']};function _0x111ed6(_0x2e9549,_0x5459d0){return _0xa607d1(_0x2e9549-0x6c,_0x5459d0);}const _0x3085b1=_0x29e12e;function _0x5af492(_0x365958,_0x2b05e7){return _0x2fa2f2(_0x2b05e7-_0x461d3d._0x5927db,_0x365958);}const _0xb4e8cb={..._0x455526};_0xb4e8cb['currentOpe'+_0x5af492(0x206,_0x172d9d._0x5c9610)]=_0x177219,_0xb4e8cb[_0x5af492(_0x172d9d._0x11747a,_0x172d9d._0x2a4604)+'ll']=_0x487649,_0x3085b1[_0x44150d]=_0xb4e8cb;const _0x533467={};_0x533467[_0x5af492(0x1ab,_0x172d9d._0x2394dd)]=_0x36cce8[_0x5af492(_0x172d9d._0x7bff56,_0x172d9d._0x3ba26e)],_0x533467[_0x111ed6(0x518,0x5b6)]=_0x3085b1,_0x533467[_0x5af492(_0x172d9d._0x4d3710,0x1f1)+'pshot']=_0x36cce8[_0x5af492(0x1ee,_0x172d9d._0xedc6e0)+_0x111ed6(0x4fd,0x577)],await writeStateFile(_0x533467);}export async function getStatus(){const _0x155f6e={_0x47c65f:0x48,_0x13344e:0x19,_0x260c37:0x90,_0x32117c:0x53,_0x2e8336:0xb7,_0x1c091d:0x7b,_0x549825:0xea,_0x3606e5:0x155,_0x96f5fa:0xd9,_0x1b7395:0xab,_0x2fc252:0x1d4,_0x5c8776:0x26,_0xfa0be0:0x40,_0x479466:0xc4,_0x8a3223:0x94,_0x211fc1:0x1b9,_0x12a63f:0x2a,_0x48e7dd:0xa3,_0x788221:0x104,_0x4a3ab3:0x58,_0x3c8685:0x5c,_0xa562e5:0x159,_0x1908e2:0x41,_0x4db039:0x2a,_0x52d056:0x17,_0x4db0f9:0xba,_0x96d1d9:0x1ea,_0x261e3b:0x186,_0x4c1608:0x78,_0x5c3565:0x126,_0x47e010:0x17f,_0x1a7346:0x2a,_0x483bd4:0x4a,_0x507de0:0x35,_0x3218d3:0x7f,_0x1a47dc:0x12d,_0x4ce1e5:0x16d,_0x30f915:0x138,_0x2ccc70:0x1a4,_0x53a2fb:0x5f,_0x4ea75c:0xe1,_0x50ad5c:0x2a,_0x1a1e28:0x94,_0x16b407:0xc7,_0x255e7e:0xaa,_0x104027:0x16e,_0x4820cb:0x146,_0x40964e:0x4,_0x5bdb18:0x4e,_0x3c6cac:0x139,_0x1ae4b9:0xff,_0x203f97:0xc3,_0x49bfcc:0x3a,_0x343768:0xe1,_0x2ec8:0xb9,_0x10ea93:0x198,_0x33eb93:0x1b3,_0x22d25b:0x103,_0x11a010:0x6e,_0x3e81a9:0xb0,_0x2c48fb:0x11f,_0x3fd44c:0x2a,_0x31b194:0x60},_0x3a416b={};_0x3a416b[_0x360ab7(-_0x155f6e._0x47c65f,-0xaf)]=function(_0x3fbf0e,_0x1d1fe8){return _0x3fbf0e===_0x1d1fe8;},_0x3a416b[_0x360ab7(-_0x155f6e._0x13344e,-_0x155f6e._0x260c37)]=_0x360ab7(-_0x155f6e._0x32117c,-_0x155f6e._0x2e8336),_0x3a416b[_0x360ab7(-0x52,-0xc8)]='unknown',_0x3a416b[_0x360ab7(_0x155f6e._0x1c091d,_0x155f6e._0x549825)]=function(_0x166987,_0x4a92a5){return _0x166987!==_0x4a92a5;},_0x3a416b['wEUVY']=_0x4e8a70(-_0x155f6e._0x3606e5,-_0x155f6e._0x96f5fa)+',请先运行\x20star'+_0x360ab7(-0x15,-0x7c),_0x3a416b[_0x4e8a70(-0xbd,-_0x155f6e._0x1b7395)]=_0x4e8a70(-0x18a,-_0x155f6e._0x2fc252)+_0x4e8a70(-0x184,-0x19c),_0x3a416b[_0x360ab7(-0x8e,-_0x155f6e._0x5c8776)]=_0x4e8a70(-_0x155f6e._0xfa0be0,-_0x155f6e._0x479466),_0x3a416b[_0x360ab7(-_0x155f6e._0x8a3223,-0x83)]=function(_0x3b7bb4,_0x25d65c){return _0x3b7bb4!==_0x25d65c;},_0x3a416b[_0x4e8a70(-_0x155f6e._0x211fc1,-0x1d5)]='kGUAw';const _0x25fc38=_0x3a416b;if(!existsSync(STATE_FILE_PATH)){console[_0x360ab7(-_0x155f6e._0x12a63f,0x6)](_0x25fc38[_0x360ab7(-_0x155f6e._0x48e7dd,-_0x155f6e._0x788221)]);return;}function _0x4e8a70(_0x1da298,_0x52ef07){return _0xa607d1(_0x52ef07- -0x637,_0x1da298);}const _0x1d4df3=readFileSync(STATE_FILE_PATH,_0x360ab7(_0x155f6e._0x4a3ab3,_0x155f6e._0x3c8685)),_0x833234=JSON[_0x4e8a70(-0xe7,-_0x155f6e._0xa562e5)](_0x1d4df3);console['log']('\x0a📊\x20项目状态:\x20'+_0x833234[_0x4e8a70(-0x1d8,-0x186)][_0x360ab7(-0xa7,-_0x155f6e._0x1908e2)]),console[_0x360ab7(-_0x155f6e._0x4db039,_0x155f6e._0x52d056)](_0x4e8a70(-0x13c,-_0x155f6e._0x4db0f9)+_0x833234[_0x4e8a70(-_0x155f6e._0x96d1d9,-_0x155f6e._0x261e3b)][_0x360ab7(0x7d,_0x155f6e._0x4c1608)+'se']),console[_0x4e8a70(-0x1cc,-0x155)](_0x4e8a70(-_0x155f6e._0x5c3565,-_0x155f6e._0x47e010)+_0x833234['version']),console[_0x4e8a70(-0x119,-_0x155f6e._0x3606e5)](_0x360ab7(0x1d,-0x18)+_0x833234['updatedAt']+'\x0a');const _0xbedf33=_0x833234['agents'],_0x1ef326=Object[_0x4e8a70(-0x171,-0x14f)](_0xbedf33);function _0x360ab7(_0x56472a,_0x2a25bb){return _0x2fa2f2(_0x56472a-0x137,_0x2a25bb);}if(_0x1ef326['length']===-0x121c+-0x1c18*-0x1+0x6*-0x1aa){console[_0x360ab7(-_0x155f6e._0x1a7346,-_0x155f6e._0x483bd4)](_0x25fc38['WirgQ']);return;}console['log']('\x20\x20\x20Agent\x20I'+_0x360ab7(-_0x155f6e._0x507de0,-_0x155f6e._0x3218d3)+_0x4e8a70(-_0x155f6e._0x1a47dc,-0x180)+_0x4e8a70(-0x1a3,-_0x155f6e._0x4ce1e5)+_0x4e8a70(-_0x155f6e._0x30f915,-_0x155f6e._0x2ccc70)+_0x360ab7(_0x155f6e._0x53a2fb,_0x155f6e._0x4ea75c)+'工具'),console[_0x360ab7(-_0x155f6e._0x50ad5c,-0x58)](_0x25fc38[_0x4e8a70(-0x133,-0x1b9)]+'-'[_0x360ab7(-0x2d,-0xc8)](0x7*-0x49+0x8f7+-0x6a8));for(const _0x1c0d2e of _0x1ef326){if(_0x25fc38[_0x360ab7(-_0x155f6e._0x1a1e28,-0x19)](_0x4e8a70(-0x139,-_0x155f6e._0x16b407),_0x25fc38[_0x360ab7(-_0x155f6e._0x255e7e,-0xc1)])){const _0x188d44=_0xbedf33[_0x1c0d2e],_0x580aed=PHASE_NAMES[_0x188d44[_0x4e8a70(-0x1c7,-0x146)]]??_0x188d44[_0x4e8a70(-_0x155f6e._0x104027,-_0x155f6e._0x4820cb)],_0x5d7475=_0x188d44[_0x360ab7(0x43,-_0x155f6e._0x40964e)+_0x360ab7(_0x155f6e._0x5bdb18,0x9f)]||'-',_0xe2c2db=_0x188d44[_0x4e8a70(-_0x155f6e._0x3c6cac,-0x184)+'ll']||'-';console[_0x4e8a70(-0x138,-0x155)](_0x360ab7(0x67,_0x155f6e._0x1ae4b9)+_0x1c0d2e[_0x4e8a70(-_0x155f6e._0x203f97,-0xb9)](-0x9a+-0x2069*-0x1+0x7d*-0x41)+_0x360ab7(_0x155f6e._0x49bfcc,0x98)+_0x580aed['padEnd'](-0x12e4+0x3*0x6b0+-0x11e)+'\x20|\x20'+_0x5d7475[_0x4e8a70(-_0x155f6e._0x343768,-_0x155f6e._0x2ec8)](0x1e8d+-0x29c+0xdee*-0x2)+_0x4e8a70(-0x105,-0xf1)+_0xe2c2db);}else{for(const [_0x40c0a2,_0x488bd5]of _0x32983d){const _0x330773=_0x488bd5[_0x4e8a70(-_0x155f6e._0x10ea93,-0x145)+'t'](),_0x1eb30e=_0x25fc38['ltlkl'](typeof _0x330773['value'],_0x25fc38[_0x4e8a70(-_0x155f6e._0x33eb93,-0x144)])?_0x330773[_0x4e8a70(-_0x155f6e._0x22d25b,-0xf5)]:_0x25fc38[_0x360ab7(-0x52,-0x17)];if(_0x25fc38[_0x4e8a70(-_0x155f6e._0x11a010,-_0x155f6e._0x3e81a9)](_0x1eb30e,_0x360ab7(-0xa1,-_0x155f6e._0x2c48fb)))return _0x40c0a2;}return null;}}console[_0x360ab7(-_0x155f6e._0x3fd44c,_0x155f6e._0x31b194)]();}export async function resumeEngine(){const _0x51bf2e={_0x14ed21:0x676,_0x4cca34:0x5e0,_0x2c9862:0x620,_0x35a44a:0xf7,_0x440e03:0x163,_0x5ee516:0x608,_0x519760:0x152,_0x4cbf2d:0xc6,_0x3a92da:0x6aa,_0x47ee5c:0x6cb,_0x8e5bd:0x1bd,_0x5b5fe8:0x1b1,_0xb8b28b:0x20b,_0x3621ac:0xc0,_0x4aaf96:0xe9,_0x2a64d4:0x173,_0x3e9623:0x18b,_0x1de4dd:0x5f1,_0x4dbd0d:0x595,_0x105d9e:0xdc,_0x2e5ab2:0x688,_0xdc87bb:0x629,_0x5695d5:0xee,_0x432768:0x147,_0x3b5a53:0x630,_0x559e35:0x111,_0x2f213b:0x129,_0x3da5ed:0x5bc,_0x1aac0d:0x12a,_0x4d0174:0x7f,_0xa27cd7:0x5b8,_0x4647f3:0x5cb,_0x486e8c:0x60d,_0x1bd3a2:0xcd,_0x4bc042:0x52,_0x3baa6b:0xf8,_0x3fd02b:0x187,_0x4185cc:0xe0,_0x46ce68:0x1a1,_0x8c892d:0x127,_0x16845b:0x166,_0x476adb:0x175,_0x1cb60:0xdd,_0x4810f8:0x66b,_0x30baa2:0x5e7,_0x152dc4:0x121,_0x242213:0x119,_0x1552d4:0x5db,_0x2c92d4:0x136,_0x40f644:0x136,_0x21020e:0xb5,_0x17dc55:0xc4,_0x4b5898:0xf7,_0x5ef90e:0xc4,_0x237cac:0x78,_0x382088:0x164,_0x56a3f0:0xf0,_0x32ad90:0x671,_0x5ad9f3:0x662,_0x4aeada:0x1b8,_0x21845f:0x19c,_0x4b2c1d:0xcd,_0x403d75:0x5e,_0x4e893c:0x5da,_0x59e8fa:0x691,_0x511f0d:0x71d,_0x4fa96b:0x5eb,_0x2cca4:0x569,_0x40671e:0x649,_0x286f3f:0x5ba,_0x4643ba:0x19c,_0x55ddf4:0x625,_0x37c6a8:0x5bd,_0x2fcec5:0xe1,_0x3e13bb:0x12f,_0x5cce00:0x134,_0x3d8893:0x50b,_0x41a984:0x101,_0x5fe40a:0x181,_0x3f2e87:0x666,_0x5c659c:0xcd,_0x5ad8ca:0xf7,_0x40f5f7:0x605,_0x4409b5:0x172,_0x9b2f5:0x5fc,_0x1bb59d:0x197,_0xce830c:0x144,_0x536ddb:0x228,_0x2000dc:0x202,_0x58802d:0x5e1},_0x267193={_0x54305d:0x74c};function _0x22dff7(_0xd09a3c,_0x27b583){return _0x2fa2f2(_0xd09a3c- -0x12,_0x27b583);}function _0x3c4eae(_0x4164aa,_0x32832c){return _0x2fa2f2(_0x4164aa-_0x267193._0x54305d,_0x32832c);}const _0x57c8ab={'cQUsl':_0x3c4eae(_0x51bf2e._0x14ed21,_0x51bf2e._0x4cca34)+'LETE','lFYVR':_0x3c4eae(_0x51bf2e._0x2c9862,0x5cf)+_0x22dff7(-0x1e1,-0x1f4),'cZfRq':_0x22dff7(-_0x51bf2e._0x35a44a,-_0x51bf2e._0x440e03)+_0x22dff7(-0xff,-0x11d)+'\x20start\x20命令','jCWLd':function(_0x1ffd68,_0x365c50){return _0x1ffd68(_0x365c50);},'kEgTW':function(_0x217b31,_0x31dcc9,_0x277c5b){return _0x217b31(_0x31dcc9,_0x277c5b);},'ANZrH':_0x3c4eae(0x66d,_0x51bf2e._0x5ee516),'QSYaM':_0x22dff7(-_0x51bf2e._0x519760,-0x1ce),'AXpQf':_0x22dff7(-_0x51bf2e._0x4cbf2d,-0x54)+_0x3c4eae(_0x51bf2e._0x3a92da,_0x51bf2e._0x47ee5c),'gTWJP':_0x22dff7(-0xd9,-0x93),'MiprB':_0x22dff7(-0x133,-_0x51bf2e._0x8e5bd),'xBFbI':function(_0x518ae5,_0x591be2){return _0x518ae5===_0x591be2;},'ZKirs':_0x22dff7(-_0x51bf2e._0x5b5fe8,-_0x51bf2e._0xb8b28b),'eqbRd':function(_0x55f97a,_0x301056){return _0x55f97a<_0x301056;},'QqNVj':'ysszQ','gJwrx':_0x22dff7(-0xdf,-0x8b)+'用\x20advance\x20'+_0x22dff7(-_0x51bf2e._0x3621ac,-_0x51bf2e._0x4aaf96)};if(!_0x57c8ab['jCWLd'](existsSync,STATE_FILE_PATH)){console[_0x22dff7(-_0x51bf2e._0x2a64d4,-0x206)](_0x57c8ab[_0x22dff7(-0x183,-0x180)]);return;}const _0x4b1d34=_0x57c8ab['kEgTW'](readFileSync,STATE_FILE_PATH,_0x57c8ab[_0x3c4eae(0x5bb,0x604)]),_0x1042fa=JSON[_0x22dff7(-0x177,-_0x51bf2e._0x3e9623)](_0x4b1d34),_0x4040e3=_0x1042fa[_0x3c4eae(0x5b5,0x599)],_0x4b30bb=Object[_0x3c4eae(_0x51bf2e._0x1de4dd,_0x51bf2e._0x4dbd0d)](_0x4040e3),_0x529739=_0x4b30bb[_0x22dff7(-_0x51bf2e._0x105d9e,-0xd1)](_0x353c82=>_0x4040e3[_0x353c82]['phase']!==_0x3c4eae(0x574,0x598));if(_0x529739[_0x3c4eae(0x5dd,0x581)]===0x1523*-0x1+0x311*-0x8+0x2dab){if(_0x3c4eae(_0x51bf2e._0x2e5ab2,_0x51bf2e._0xdc87bb)!==_0x57c8ab[_0x22dff7(-_0x51bf2e._0x5695d5,-0x11c)]){console[_0x22dff7(-0x173,-0x150)](_0x57c8ab[_0x22dff7(-_0x51bf2e._0x432768,-0x11a)]);return;}else{for(const [_0x23dda8]of _0x48c6dd[_0x3c4eae(_0x51bf2e._0x3b5a53,0x5bb)]){const _0x18fdc0={};_0x18fdc0[_0x22dff7(-0x135,-_0x51bf2e._0x559e35)]='done';const _0x4dc6ae={};_0x4dc6ae[_0x22dff7(-0xf8,-0x99)]=_0x57c8ab[_0x22dff7(-_0x51bf2e._0x2f213b,-0xbe)],_0x4dc6ae['childId']=_0x23dda8,_0x4dc6ae['result']=_0x18fdc0,_0x11d88c[_0x3c4eae(0x5c7,0x594)+_0x3c4eae(0x5d7,_0x51bf2e._0x3da5ed)][_0x22dff7(-0xcd,-_0x51bf2e._0x1aac0d)](_0x4dc6ae);}const _0x5076e0={};_0x5076e0[_0x22dff7(-0xf8,-_0x51bf2e._0x4d0174)]=_0x22dff7(-0xbe,-0x6c)+_0x3c4eae(_0x51bf2e._0xa27cd7,_0x51bf2e._0x4647f3),_0x53fe1b[_0x3c4eae(0x5c7,_0x51bf2e._0x486e8c)+_0x22dff7(-0x187,-0x102)][_0x22dff7(-_0x51bf2e._0x1bd3a2,-_0x51bf2e._0x4bc042)](_0x5076e0);const _0x111419={};_0x111419[_0x22dff7(-_0x51bf2e._0x3baa6b,-0xec)]=_0x57c8ab[_0x22dff7(-0xe9,-0x12a)],_0x379e38['supervisor'+_0x22dff7(-_0x51bf2e._0x3fd02b,-0x14b)][_0x3c4eae(0x691,0x60b)](_0x111419);}}console[_0x22dff7(-0x173,-_0x51bf2e._0x1aac0d)](_0x22dff7(-_0x51bf2e._0x4185cc,-0xad)),console[_0x22dff7(-0x173,-0x17e)](_0x22dff7(-_0x51bf2e._0x46ce68,-_0x51bf2e._0x8c892d)+_0x1042fa['project']['name']),console[_0x22dff7(-0x173,-0x175)]('\x20\x20\x20未完成\x20Age'+_0x22dff7(-_0x51bf2e._0x16845b,-_0x51bf2e._0x476adb)+_0x529739['length']+'\x0a');const _0x28457d=new Map();let _0x12e95b=null;try{if(_0x22dff7(-_0x51bf2e._0x1cb60,-0x78)===_0x57c8ab[_0x3c4eae(_0x51bf2e._0x4810f8,_0x51bf2e._0x30baa2)])for(const [_0x2c4151,_0xe32da4]of _0x58d5cf[_0x22dff7(-0x12d,-0xab)](_0x2817ff['agents'])){!_0x5ae240[_0x3c4eae(0x649,0x66a)](_0x2c4151)&&(_0x552478[_0x2c4151]=_0xe32da4);}else _0x12e95b=loadTechContext();}catch{}for(const _0x3af1de of _0x529739){if('vbKoN'===_0x57c8ab[_0x22dff7(-_0x51bf2e._0x152dc4,-0xee)]){_0x43c910[_0x22dff7(-_0x51bf2e._0x2a64d4,-_0x51bf2e._0x242213)](_0x57c8ab[_0x3c4eae(_0x51bf2e._0x1552d4,0x5bf)]);return;}else{const _0x4b60d8=_0x4040e3[_0x3af1de],_0x164f08=PHASES[_0x22dff7(-0x1c7,-_0x51bf2e._0x2c92d4)](_0x4b60d8[_0x22dff7(-0x164,-0x10e)]);if(_0x164f08===-(-0x601*-0x1+-0x1316*-0x1+-0x1916)){if(_0x57c8ab[_0x22dff7(-_0x51bf2e._0x40f644,-_0x51bf2e._0x21020e)](_0x22dff7(-_0x51bf2e._0x17dc55,-_0x51bf2e._0x4b5898),_0x22dff7(-_0x51bf2e._0x5ef90e,-_0x51bf2e._0x237cac))){console['log']('['+_0x3af1de+']\x20状态异常:\x20'+_0x4b60d8[_0x22dff7(-_0x51bf2e._0x382088,-0x18e)]+_0x22dff7(-0x1ef,-0x177));continue;}else _0x2683fb=_0x4c7dd7[_0x22dff7(-0x164,-_0x51bf2e._0x56a3f0)];}const _0x282f66={};_0x282f66[_0x3c4eae(0x62f,0x5ae)]=_0x3af1de,_0x282f66[_0x3c4eae(0x62a,_0x51bf2e._0x32ad90)]=_0x4b60d8[_0x3c4eae(0x62a,_0x51bf2e._0x5ad9f3)]??undefined;const _0x4c571b={};_0x4c571b['input']=_0x282f66;const _0x5888df=createActor(agentMachine,_0x4c571b);_0x5888df[_0x22dff7(-_0x51bf2e._0x4aeada,-_0x51bf2e._0x21845f)](),_0x28457d[_0x22dff7(-0x1c8,-0x216)](_0x3af1de,_0x5888df);const _0x260b97={};_0x260b97['type']=_0x57c8ab['ZKirs'],_0x5888df[_0x22dff7(-_0x51bf2e._0x4b2c1d,-0x3a)](_0x260b97);for(let _0x1c5ad0=-0x3*-0x5ad+0x8c5+0xce6*-0x2;_0x57c8ab[_0x22dff7(-0xf2,-_0x51bf2e._0x152dc4)](_0x1c5ad0,_0x164f08);_0x1c5ad0++){const _0x32ba9c={};_0x32ba9c[_0x22dff7(-_0x51bf2e._0x3baa6b,-_0x51bf2e._0x403d75)]=_0x57c8ab[_0x3c4eae(0x675,_0x51bf2e._0x4e893c)],_0x5888df[_0x3c4eae(_0x51bf2e._0x59e8fa,_0x51bf2e._0x511f0d)](_0x32ba9c);}console[_0x3c4eae(_0x51bf2e._0x4fa96b,_0x51bf2e._0x2cca4)]('['+_0x3af1de+']\x20从\x20'+(PHASE_NAMES[_0x4b60d8[_0x22dff7(-0x164,-0x1b7)]]??_0x4b60d8['phase'])+_0x3c4eae(0x699,_0x51bf2e._0xdc87bb));}}for(const _0x250696 of _0x4b30bb){if(!_0x28457d[_0x3c4eae(_0x51bf2e._0x40671e,_0x51bf2e._0x286f3f)](_0x250696)){if(_0x22dff7(-0x165,-_0x51bf2e._0x4643ba)!==_0x57c8ab[_0x3c4eae(_0x51bf2e._0x55ddf4,0x66a)]){_0x4e51ab[_0x3c4eae(0x5eb,_0x51bf2e._0x37c6a8)]('['+_0x278a04+_0x22dff7(-0x175,-_0x51bf2e._0x2fcec5));return;}else{const _0x244284=_0x4040e3[_0x250696],_0x3f1824={};_0x3f1824[_0x22dff7(-_0x51bf2e._0x3e13bb,-0x1cc)]=_0x250696,_0x3f1824[_0x3c4eae(0x62a,0x5a0)]=_0x244284[_0x22dff7(-_0x51bf2e._0x5cce00,-0xbe)]??undefined;const _0x2b17e3={};_0x2b17e3[_0x3c4eae(0x575,0x513)]=_0x3f1824;const _0x444876=_0x57c8ab['kEgTW'](createActor,agentMachine,_0x2b17e3);_0x444876[_0x22dff7(-_0x51bf2e._0x4aeada,-0x22e)]();const _0x419edc={};_0x419edc[_0x22dff7(-0xf8,-0xb0)]=_0x57c8ab[_0x3c4eae(0x585,_0x51bf2e._0x3d8893)],_0x444876[_0x22dff7(-_0x51bf2e._0x4b2c1d,-0x149)](_0x419edc);for(let _0x5b8b12=0x267d+0x9*-0x11+-0x25e4;_0x57c8ab[_0x22dff7(-0xf2,-_0x51bf2e._0x41a984)](_0x5b8b12,PHASES[_0x22dff7(-_0x51bf2e._0x5fe40a,-0x179)]);_0x5b8b12++){const _0x1014c8={};_0x1014c8[_0x3c4eae(_0x51bf2e._0x3f2e87,0x5ff)]=_0x57c8ab['lFYVR'],_0x444876[_0x22dff7(-_0x51bf2e._0x5c659c,-_0x51bf2e._0x5ad8ca)](_0x1014c8);}_0x28457d['set'](_0x250696,_0x444876);}}}const _0x544bc7={};_0x544bc7[_0x3c4eae(_0x51bf2e._0x40f5f7,0x662)+'e']=_0x1042fa[_0x22dff7(-0x1a4,-0x206)][_0x3c4eae(0x56e,0x596)],_0x544bc7[_0x22dff7(-0x196,-_0x51bf2e._0x4409b5)]=PHASES,_0x544bc7[_0x3c4eae(_0x51bf2e._0x3b5a53,_0x51bf2e._0x9b2f5)]=_0x28457d,_0x544bc7[_0x22dff7(-_0x51bf2e._0x1bb59d,-_0x51bf2e._0xce830c)+_0x22dff7(-_0x51bf2e._0x3fd02b,-_0x51bf2e._0x536ddb)]=null,_0x544bc7[_0x22dff7(-0x1da,-_0x51bf2e._0x2000dc)+'t']=_0x12e95b,activeEngine=_0x544bc7,await persistCurrentState(),console[_0x3c4eae(0x5eb,0x634)](_0x57c8ab[_0x3c4eae(0x671,_0x51bf2e._0x58802d)]);}export function stopEngine(){const _0x27a5e4={_0x3cd355:0x60b,_0x3136d9:0x5aa,_0x46bc5f:0x57d,_0x33fdf0:0x5b2,_0x24b872:0x201,_0x496e0c:0x285,_0x39ac8e:0x282},_0x54d0d3={_0x313418:0x2d5},_0x39cdaf={_0x4097e7:0xe4};if(!activeEngine)return;for(const [,_0x45c75a]of activeEngine[_0x43244c(0x5a1,_0x27a5e4._0x3cd355)]){_0x45c75a['stop']();}function _0x43244c(_0x1eaad4,_0x272ec5){return _0xa607d1(_0x272ec5-_0x39cdaf._0x4097e7,_0x1eaad4);}activeEngine[_0x43244c(_0x27a5e4._0x3136d9,0x5a2)+_0x43244c(_0x27a5e4._0x46bc5f,_0x27a5e4._0x33fdf0)]&&activeEngine[_0x345d07(0x1e9,0x288)+_0x43244c(0x576,0x5b2)][_0x345d07(_0x27a5e4._0x24b872,_0x27a5e4._0x496e0c)]();activeEngine=null;function _0x345d07(_0x38e5e1,_0x553007){return _0xa607d1(_0x38e5e1- -_0x54d0d3._0x313418,_0x553007);}console['log'](_0x345d07(0x260,_0x27a5e4._0x39ac8e));}export function getEngine(){return activeEngine;}export async function registerAgent(_0x94a953,_0x472025={}){const _0x4a7a69={_0x259e56:0x63d,_0x291e84:0x259,_0x5e6098:0x5c3,_0x18f4a6:0x5c1,_0x43b73e:0x21f,_0x346213:0x1f5,_0x5f1b95:0x5c1,_0x3ef5ca:0x23f,_0xc5363d:0x1f4,_0x5eeab4:0x1dd,_0x47b036:0x5cf,_0x3e3041:0x569,_0xf4761e:0x31a,_0x234f95:0x5bd,_0x2af6e5:0x2ee,_0x555ae6:0x256,_0x3f4263:0x1c2,_0x5cdfd2:0x53e,_0x179c6e:0x255,_0xcd1f5a:0x2cc},_0x87916c={};_0x87916c[_0x452de4(0x557,0x5eb)]=_0x452de4(0x668,_0x4a7a69._0x259e56)+',请先运行\x20new-'+'project\x20命令',_0x87916c[_0x22b914(_0x4a7a69._0x291e84,0x2d3)]=_0x22b914(0x2c1,0x353);const _0x48c10b=_0x87916c,_0x233a9e=await readStateFile();if(!_0x233a9e){console[_0x452de4(_0x4a7a69._0x5e6098,_0x4a7a69._0x18f4a6)](_0x48c10b['WnPpg']);return;}if(_0x233a9e[_0x22b914(_0x4a7a69._0x43b73e,_0x4a7a69._0x346213)][_0x94a953]){console[_0x452de4(0x5b1,_0x4a7a69._0x5f1b95)](_0x22b914(_0x4a7a69._0x3ef5ca,0x2d5)+_0x94a953+_0x22b914(_0x4a7a69._0xc5363d,0x18d));return;}const _0x2641bb=_0x472025[_0x22b914(0x264,_0x4a7a69._0x5eeab4)]??_0x48c10b[_0x452de4(0x5aa,0x5c5)],_0x4e5730=_0x472025['parentId']??null,_0x32febc={};_0x32febc[_0x452de4(_0x4a7a69._0x47b036,0x605)]=_0x94a953,_0x32febc[_0x22b914(0x294,0x231)]=_0x4e5730,_0x32febc[_0x452de4(0x510,_0x4a7a69._0x3e3041)]=[],_0x32febc[_0x452de4(0x574,0x5d0)]=_0x2641bb,_0x32febc['currentOpe'+_0x22b914(0x2cd,_0x4a7a69._0xf4761e)]='',_0x32febc[_0x452de4(_0x4a7a69._0x234f95,0x592)+'ll']='';const _0x46b229=_0x32febc,_0x32ac1a={..._0x233a9e[_0x452de4(0x56f,0x58b)]};_0x32ac1a[_0x94a953]=_0x46b229;function _0x452de4(_0x261970,_0x545164){return _0x2fa2f2(_0x545164-0x722,_0x261970);}const _0x2bd997=_0x32ac1a;if(_0x4e5730&&_0x2bd997[_0x4e5730]){const _0x399c35=_0x2bd997[_0x4e5730];if(!_0x399c35[_0x452de4(0x5be,_0x4a7a69._0x3e3041)]['includes'](_0x94a953)){const _0x200600={..._0x399c35};_0x200600[_0x22b914(0x1fd,0x292)]=[..._0x399c35['childIds'],_0x94a953],_0x2bd997[_0x4e5730]=_0x200600;}}const _0x21d055={};function _0x22b914(_0x45f7c5,_0x5d6e45){return _0xa607d1(_0x45f7c5- -0x28d,_0x5d6e45);}_0x21d055[_0x22b914(0x224,0x1be)]=_0x233a9e['project'],_0x21d055['agents']=_0x2bd997,_0x21d055[_0x22b914(_0x4a7a69._0x2af6e5,0x374)+_0x22b914(0x204,0x24a)]=_0x233a9e[_0x22b914(_0x4a7a69._0x2af6e5,0x2c7)+'pshot'],await writeStateFile(_0x21d055);const _0x286adc=PHASE_NAMES[_0x2641bb]??_0x2641bb;console['log'](_0x22b914(_0x4a7a69._0x555ae6,_0x4a7a69._0x3f4263)+_0x452de4(_0x4a7a69._0x5cdfd2,0x582)+_0x94a953),console[_0x22b914(_0x4a7a69._0x179c6e,_0x4a7a69._0xcd1f5a)]('\x20\x20\x20阶段:\x20'+_0x286adc);if(_0x4e5730)console[_0x22b914(_0x4a7a69._0x179c6e,0x1fb)](_0x452de4(0x639,0x649)+':\x20'+_0x4e5730);}export async function deregisterAgent(_0x432e1c){const _0x397572={_0x5e582f:0x479,_0x556f7c:0x4fc,_0x556539:0x1bd,_0x642bbf:0x142,_0x87efb9:0x1e2,_0x3c3f06:0x41f,_0x2bf6da:0x176,_0x1474a2:0x4ab,_0x3d05ca:0x50a,_0x5aac10:0x39d,_0x267ac4:0x21b,_0x39dea6:0x150,_0x2e7af6:0x120,_0x2d3090:0x1bd,_0x2bde53:0x167,_0x46195e:0x3f6,_0x18efef:0x3d6,_0x1f5a53:0x419,_0x59e2d1:0x195,_0x4ad455:0x13a,_0x106e80:0x3d8,_0xc654c9:0x1f7,_0x515b48:0x1bb,_0x1be44c:0xfe,_0x1cac10:0x15c,_0x29852c:0x17f,_0x50f13c:0x395,_0x4cd4fa:0x1c1,_0x446b9b:0x1de,_0x536baa:0x165,_0x231a77:0x16f,_0x50fbd7:0x37b,_0x13dc8d:0x1ce,_0x398584:0x148,_0x5a5df4:0x15a,_0x5063d7:0x39d,_0x89f5ee:0x39f,_0x231b7b:0x157},_0xd17a01={_0x4b8bd7:0x38c},_0x35d096={_0x280ddb:0x56d},_0x1e786c={};_0x1e786c[_0x5f1b11(0x464,_0x397572._0x5e582f)]='⚠️\x20\x20加载技术上下文'+'失败,继续执行',_0x1e786c[_0x5f1b11(0x432,0x3f1)]=_0x5f1b11(0x488,_0x397572._0x556f7c),_0x1e786c[_0x452a38(0x1c1,0x226)]=function(_0x1302c0,_0x32ae26){return _0x1302c0!==_0x32ae26;},_0x1e786c[_0x452a38(_0x397572._0x556539,_0x397572._0x642bbf)]=_0x452a38(0x159,_0x397572._0x87efb9),_0x1e786c[_0x5f1b11(_0x397572._0x3c3f06,0x3f4)]=function(_0xebf1b7,_0x5833d9){return _0xebf1b7===_0x5833d9;},_0x1e786c[_0x452a38(0x206,_0x397572._0x2bf6da)]=_0x452a38(0x212,0x1fe),_0x1e786c[_0x5f1b11(_0x397572._0x1474a2,_0x397572._0x3d05ca)]=_0x5f1b11(0x395,0x401),_0x1e786c[_0x5f1b11(_0x397572._0x5aac10,0x3c9)]=_0x452a38(0x1c2,_0x397572._0x267ac4);const _0x4a741f=_0x1e786c,_0x2e426b=await readStateFile();if(!_0x2e426b){console[_0x5f1b11(0x40c,0x483)](_0x4a741f[_0x452a38(0x17c,_0x397572._0x39dea6)]);return;}if(!_0x2e426b[_0x452a38(_0x397572._0x2e7af6,0xe9)][_0x432e1c]){if(_0x4a741f['SofCa'](_0x4a741f['PMYuM'],_0x4a741f[_0x452a38(_0x397572._0x2d3090,0x136)])){const _0x207a97={..._0x5cfa61[_0x3fcd22]};_0x207a97['phase']=_0x48c607,_0x107e19[_0x39cf76]=_0x207a97;}else{console[_0x452a38(0x156,_0x397572._0x2bde53)](_0x5f1b11(_0x397572._0x46195e,0x361)+_0x432e1c+_0x452a38(0x161,0xd9));return;}}const _0x3ec5f0=_0x2e426b[_0x5f1b11(_0x397572._0x18efef,_0x397572._0x1f5a53)][_0x432e1c];function _0x5f1b11(_0x32ff93,_0x155090){return _0x2fa2f2(_0x32ff93-_0x35d096._0x280ddb,_0x155090);}const _0x4f446b={..._0x2e426b[_0x452a38(0x120,0x118)]},_0x12c107=_0x4f446b;delete _0x12c107[_0x432e1c];if(_0x3ec5f0[_0x5f1b11(0x44b,0x3c4)]&&_0x12c107[_0x3ec5f0[_0x452a38(_0x397572._0x59e2d1,_0x397572._0x4ad455)]]){if(_0x4a741f[_0x5f1b11(0x41f,_0x397572._0x106e80)](_0x4a741f[_0x452a38(0x206,_0x397572._0xc654c9)],_0x452a38(0x212,0x188))){const _0x27e097=_0x12c107[_0x3ec5f0[_0x452a38(0x195,_0x397572._0x515b48)]];_0x12c107[_0x3ec5f0['parentId']]={..._0x27e097,'childIds':_0x27e097[_0x452a38(_0x397572._0x1be44c,0x179)]['filter'](_0x439490=>_0x439490!==_0x432e1c)};}else _0x399f95[_0x5f1b11(0x3fd,0x3b8)](_0x4a741f[_0x5f1b11(0x464,0x430)],_0x55f54e);}const _0x3409f9=Object[_0x452a38(_0x397572._0x1cac10,_0x397572._0x29852c)](_0x12c107);let _0xa5cad6=_0x5f1b11(_0x397572._0x50f13c,0x38d);for(const _0x337165 of _0x3409f9){if(_0x4a741f[_0x452a38(_0x397572._0x4cd4fa,_0x397572._0x446b9b)](_0x12c107[_0x337165][_0x452a38(_0x397572._0x536baa,0xeb)],_0x4a741f[_0x452a38(0x1f5,_0x397572._0x231a77)])){_0xa5cad6=_0x12c107[_0x337165][_0x452a38(0x165,0x114)];break;}}const _0x14785={..._0x2e426b[_0x5f1b11(0x3db,_0x397572._0x50fbd7)]};_0x14785[_0x452a38(0x1fd,_0x397572._0x13dc8d)+'se']=_0x3409f9[_0x452a38(_0x397572._0x398584,_0x397572._0x5a5df4)]>-0x133*0x2+-0x1dc1*-0x1+0x1b5b*-0x1?_0xa5cad6:_0x4a741f[_0x5f1b11(_0x397572._0x5063d7,_0x397572._0x89f5ee)];const _0x5b9b1f={};function _0x452a38(_0x1bbcde,_0x47cdcd){return _0xa607d1(_0x1bbcde- -_0xd17a01._0x4b8bd7,_0x47cdcd);}_0x5b9b1f['project']=_0x14785,_0x5b9b1f[_0x452a38(_0x397572._0x2e7af6,0xe6)]=_0x12c107,_0x5b9b1f['machineSna'+'pshot']=_0x2e426b['machineSna'+_0x452a38(0x105,_0x397572._0x231b7b)],await writeStateFile(_0x5b9b1f),console[_0x5f1b11(0x40c,0x3ff)]('✅\x20Agent\x20已注'+_0x452a38(0x178,0x210)+_0x432e1c);}function detectInputType(_0x57cf77){const _0x4b1ad6={_0x149840:0x35c,_0x587e0f:0x32f,_0x31742b:0x2ce,_0x3d3249:0x444,_0x58a827:0x3e5,_0x52b749:0x2ba,_0x5f0e6d:0x2fc,_0x3f0c5b:0x357},_0x1b5d2b={_0x1cc4eb:0x4a4},_0x5ca044={_0x138673:0x23c},_0x3e8370={};_0x3e8370['lrKHY']=_0x50c799(_0x4b1ad6._0x149840,0x385);const _0x5166ea=_0x3e8370;if(/^https?:\/\/github\.com\//[_0x50c799(_0x4b1ad6._0x587e0f,_0x4b1ad6._0x31742b)](_0x57cf77))return _0x5166ea[_0x50c799(_0x4b1ad6._0x3d3249,_0x4b1ad6._0x58a827)];if(/^https?:\/\//['test'](_0x57cf77))return _0x56aa4a(0x25d,0x291)+'l';function _0x56aa4a(_0x211484,_0x2a2c20){return _0xa607d1(_0x211484- -_0x5ca044._0x138673,_0x2a2c20);}function _0x50c799(_0x3871e9,_0x17ec0d){return _0x2fa2f2(_0x17ec0d-_0x1b5d2b._0x1cc4eb,_0x3871e9);}if(_0x57cf77[_0x56aa4a(0x298,_0x4b1ad6._0x52b749)]>0x32a+0x2368+0x112*-0x24)return'requiremen'+'t';return _0x56aa4a(_0x4b1ad6._0x5f0e6d,_0x4b1ad6._0x3f0c5b);}function _0xa607d1(_0x44cff4,_0xfd5403){return _0x1a3b(_0x44cff4-0x2de,_0xfd5403);}const _0x185e64={};_0x185e64[_0xa607d1(0x472,0x3f3)+'t']=_0xa607d1(0x46a,0x48c),_0x185e64[_0x2fa2f2(-0x11f,-0x10b)]='GitHub\x20仓库',_0x185e64[_0x2fa2f2(-0x1aa,-0x13a)+'l']='网站\x20URL',_0x185e64[_0xa607d1(0x538,0x5c8)]='未知类型';const INPUT_TYPE_NAMES=_0x185e64;async function readStateFile(){const _0x53a375={_0x202980:0x55},_0x22d467={_0x1ddab4:0x6c3},_0x1f1de7={'Xycem':function(_0x4f1e87,_0x50d293){return _0x4f1e87(_0x50d293);}};if(!_0x1f1de7[_0x3f8061(-_0x53a375._0x202980,-0xdc)](existsSync,STATE_FILE_PATH))return null;const _0x1d089d=new StateFileManager(STATE_FILE_PATH);function _0x2fc00d(_0x4e1c8c,_0x235b17){return _0xa607d1(_0x235b17- -_0x22d467._0x1ddab4,_0x4e1c8c);}function _0x3f8061(_0x2afc4e,_0x1eb0c0){return _0x2fa2f2(_0x1eb0c0-0x16,_0x2afc4e);}return _0x1d089d[_0x2fc00d(-0x220,-0x1af)]();}async function writeStateFile(_0x2dae59){const _0x23a336={_0xff5622:0x541,_0x47a338:0x18c,_0x1b39b5:0x1b6,_0x49994c:0x1c2};function _0x56e04c(_0x49042d,_0x11f509){return _0x2fa2f2(_0x49042d-0x6cf,_0x11f509);}const _0x21ba24={};_0x21ba24['IKtAC']=function(_0x25f9d9,_0x36ae0e){return _0x25f9d9<_0x36ae0e;};const _0x43a816=_0x21ba24;function _0x5ae884(_0x2b1240,_0x33ba60){return _0xa607d1(_0x33ba60- -0x641,_0x2b1240);}for(let _0x4f0535=0x22e4+0xc61*0x1+-0x2f45;_0x43a816[_0x56e04c(_0x23a336._0xff5622,0x54d)](_0x4f0535,MAX_RETRIES);_0x4f0535++){try{const _0xd7121e=new StateFileManager(STATE_FILE_PATH);await _0xd7121e['read'](),await _0xd7121e[_0x56e04c(0x51c,0x55d)](_0x2dae59);return;}catch(_0xceee54){if(_0xceee54 instanceof Error&&_0xceee54['message'][_0x5ae884(-_0x23a336._0x47a338,-_0x23a336._0x1b39b5)](_0x5ae884(-_0x23a336._0x49994c,-0x1c7))&&_0x4f0535<MAX_RETRIES-(-0x1*0x128e+0x16a5*0x1+-0x20b*0x2)){await new Promise(_0x358e3d=>setTimeout(_0x358e3d,-0x22dc+-0x29*0x43+0x1*0x2dc9+Math[_0x5ae884(-0x10b,-0x179)]()*(-0xf8d*0x1+0x1bcc+0x5*-0x25f)));continue;}throw _0xceee54;}}}export async function newProject(_0x2d3aba){const _0x30be9b={_0x1b73d9:0xbd,_0x43d65e:0x49,_0x40caa3:0x10b,_0x1f5b66:0x4a1,_0x386a75:0x4fb,_0x516917:0x4bc,_0x1f167c:0x454,_0x28bf65:0xcc,_0x1f9128:0x3f2,_0x5bbb0b:0x10a,_0x5bfc5b:0xb0,_0x27c2d7:0x10f,_0x39183a:0x45,_0x1a4ead:0xb5,_0x3a8268:0x3b,_0x125308:0x402,_0x4fb945:0x4e8,_0x13bb7e:0x4f5},_0xc3ca11={'VlQQr':function(_0x3a1cbf,_0x147ef6,_0x47a5ba){return _0x3a1cbf(_0x147ef6,_0x47a5ba);},'nAVFJ':function(_0xfbe342,_0x4c9e11){return _0xfbe342(_0x4c9e11);},'rmWnV':_0x542e45(-_0x30be9b._0x1b73d9,-_0x30be9b._0x43d65e)},_0x150f15=_0xc3ca11[_0x2d7dac(0x4a1,0x454)](resolve,process['cwd'](),'.specops');if(!existsSync(_0x150f15)){const _0x230cbe={};_0x230cbe[_0x542e45(-0xc0,-_0x30be9b._0x40caa3)]=!![],_0xc3ca11[_0x2d7dac(_0x30be9b._0x1f5b66,0x4c5)](mkdirSync,_0x150f15,_0x230cbe);}const _0x7b2a30=generateAgentId();function _0x2d7dac(_0x328d1c,_0x587b34){return _0x2fa2f2(_0x328d1c-0x5e4,_0x587b34);}const _0x2941d9={};_0x2941d9[_0x2d7dac(0x4c7,0x4cc)]=_0x7b2a30,_0x2941d9[_0x2d7dac(0x4c2,0x50d)]=null,_0x2941d9['childIds']=[],_0x2941d9['phase']=_0x542e45(-0xa0,-_0x30be9b._0x43d65e),_0x2941d9[_0x542e45(-0x6e,-0x48)+_0x2d7dac(_0x30be9b._0x386a75,_0x30be9b._0x516917)]='',_0x2941d9[_0x2d7dac(_0x30be9b._0x1f167c,0x4bf)+'ll']='';const _0x4dca38=_0x2941d9,_0x1df649={};function _0x542e45(_0x5a485f,_0x3fd9cc){return _0xa607d1(_0x3fd9cc- -0x597,_0x5a485f);}_0x1df649[_0x7b2a30]=_0x4dca38,await _0xc3ca11['nAVFJ'](writeStateFile,{'project':{'name':_0x2d3aba,'currentPhase':_0xc3ca11[_0x542e45(-0x64,-_0x30be9b._0x28bf65)]},'agents':_0x1df649,'machineSnapshot':null}),console['log'](_0x2d7dac(0x426,_0x30be9b._0x1f9128)+_0x2d3aba),console['log'](_0x542e45(-_0x30be9b._0x5bbb0b,-0x110)+_0x150f15),console['log'](_0x542e45(-_0x30be9b._0x5bfc5b,-_0x30be9b._0x27c2d7)+_0x542e45(-_0x30be9b._0x39183a,-0x8a)+_0x7b2a30),console[_0x542e45(-0x13a,-_0x30be9b._0x1a4ead)]('\x20\x20\x20阶段序列:\x20'+PIPELINE_PHASES[_0x542e45(_0x30be9b._0x3a8268,-0x4d)](_0x246264=>PHASE_NAMES[_0x246264]??_0x246264)[_0x2d7dac(0x467,_0x30be9b._0x125308)](_0x2d7dac(_0x30be9b._0x4fb945,_0x30be9b._0x13bb7e))+'\x0a');}export async function discussPhase(_0x14a140){const _0x55369f={_0x4bada2:0x1e8,_0xf2b335:0x228,_0x54661a:0x170,_0x4e9210:0x154,_0x3a7d51:0x1e1,_0x4ef02f:0xa6,_0x415d15:0x1f9,_0x3d6bb2:0x1e4,_0x22e53e:0x205,_0x57f457:0x213,_0x34c7ba:0x21b,_0x46856d:0x19d,_0x279401:0xf4,_0x428dc1:0x267,_0x54cc62:0x1d0,_0x52f53b:0x1df,_0x1af6b8:0x278,_0x1bf2df:0x210,_0x4817d5:0x216,_0x17abdb:0x1e3,_0x3d1d71:0x101,_0x4b39cf:0x13c,_0x384095:0x5e,_0x21abe3:0xf0,_0x4fd595:0x225,_0x21ba1e:0x1ce,_0x2204a8:0xfe,_0x281d94:0x206,_0x2fb3e6:0xe6,_0x377d1c:0x11c,_0x120dc8:0x190,_0x38fbe1:0x147,_0x127512:0x17e,_0x10d2ce:0x219,_0x116a29:0xe0,_0x3cf564:0x160},_0x318a4c={_0xf6c218:0x364},_0x589c57={_0x5be150:0x2ce},_0x124eb6={};_0x124eb6[_0x5507ad(0x190,_0x55369f._0x4bada2)]='⚠️\x20\x20状态文件不存在'+_0x331f8f(0x1b7,_0x55369f._0xf2b335)+_0x331f8f(_0x55369f._0x54661a,_0x55369f._0x4e9210),_0x124eb6[_0x5507ad(0x203,_0x55369f._0x3a7d51)]=function(_0x49dae,_0x108463){return _0x49dae!==_0x108463;},_0x124eb6[_0x331f8f(0x20f,0x1ff)]=_0x331f8f(_0x55369f._0x4ef02f,0xf6);function _0x331f8f(_0x5673a9,_0x277016){return _0x2fa2f2(_0x277016-_0x589c57._0x5be150,_0x5673a9);}_0x124eb6['vWngg']=function(_0x33c8b0,_0x3b9e3b){return _0x33c8b0===_0x3b9e3b;},_0x124eb6[_0x331f8f(_0x55369f._0x415d15,_0x55369f._0x3d6bb2)]=_0x331f8f(0x297,_0x55369f._0x22e53e);const _0x11859f=_0x124eb6;function _0x5507ad(_0x5a9798,_0x16b4b8){return _0xa607d1(_0x16b4b8- -_0x318a4c._0xf6c218,_0x5a9798);}const _0x14ecc8=_0x14a140??_0x5507ad(_0x55369f._0x57f457,0x1ef),_0x3148dd=await readStateFile();if(!_0x3148dd){console[_0x5507ad(0x16f,0x17e)]('⚠️\x20\x20状态文件不存在'+_0x5507ad(_0x55369f._0x34c7ba,0x239)+_0x331f8f(0x154,0x154));return;}const _0x2ecab5=_0x3148dd['agents'];for(const _0x3dd11e of Object[_0x331f8f(0x1af,0x173)](_0x2ecab5)){if(_0x331f8f(0xc0,0x141)===_0x331f8f(0x184,_0x55369f._0x46856d))_0x47058d=_0x5507ad(_0x55369f._0x279401,0x107);else{if(_0x11859f[_0x331f8f(_0x55369f._0x428dc1,_0x55369f._0x54cc62)](_0x2ecab5[_0x3dd11e][_0x5507ad(_0x55369f._0x52f53b,0x18d)],_0x11859f[_0x5507ad(_0x55369f._0x1af6b8,_0x55369f._0x1bf2df)])){if(_0x11859f[_0x331f8f(0x11d,0x175)](_0x5507ad(0x27f,_0x55369f._0x4817d5),_0x11859f[_0x331f8f(_0x55369f._0x17abdb,0x1e4)]))_0x2ecab5[_0x3dd11e]={..._0x2ecab5[_0x3dd11e],'phase':_0x14ecc8};else{_0x42d3bf['log'](_0x11859f[_0x5507ad(0x258,0x1e8)]);return;}}}}const _0x1e9f18={};_0x1e9f18[_0x5507ad(0xf6,_0x55369f._0x3d1d71)]=_0x3148dd[_0x331f8f(0x192,_0x55369f._0x4b39cf)][_0x331f8f(_0x55369f._0x384095,_0x55369f._0x21abe3)],_0x1e9f18[_0x5507ad(0x20f,_0x55369f._0x4fd595)+'se']=_0x14ecc8;const _0x2e32e5={};_0x2e32e5[_0x331f8f(_0x55369f._0x21ba1e,_0x55369f._0x4b39cf)]=_0x1e9f18,_0x2e32e5[_0x331f8f(_0x55369f._0x2204a8,0x137)]=_0x2ecab5,_0x2e32e5[_0x331f8f(0x27c,_0x55369f._0x281d94)+_0x331f8f(_0x55369f._0x2fb3e6,_0x55369f._0x377d1c)]=null,await writeStateFile(_0x2e32e5);const _0x1ed4f0=PHASE_NAMES[_0x14ecc8]??_0x14ecc8;console[_0x331f8f(_0x55369f._0x120dc8,0x16d)]('\x0a💬\x20进入讨论阶段:'+'\x20'+_0x1ed4f0),console[_0x5507ad(_0x55369f._0x38fbe1,_0x55369f._0x127512)]('\x20\x20\x20项目:\x20'+_0x3148dd['project'][_0x331f8f(0xc6,0xf0)]),console[_0x331f8f(0x112,0x16d)](_0x5507ad(0x240,_0x55369f._0x10d2ce)+_0x1ed4f0),console['log'](_0x331f8f(_0x55369f._0x116a29,_0x55369f._0x3cf564)+_0x5507ad(0x2a7,0x229)+'\x0a');}export async function planPhase(_0x5aacbd){const _0x20bc85={_0x2345e5:0x265,_0x2272b8:0x231,_0x41ef9e:0x50b,_0x537ed2:0x19f,_0x4a45a6:0x22e,_0x1d4694:0x25a,_0x4e79c7:0x1c2,_0x373dc7:0x57c,_0x5b3f7e:0x1a5,_0x256b3a:0x1d6,_0x2debe4:0x1e1,_0x35ef80:0x5c0,_0x309daf:0x204,_0x4edc73:0x23b,_0x12e66d:0x65a,_0x154e2d:0x254,_0x11447e:0x15e,_0x100505:0x175,_0x3053bc:0x506,_0x42f526:0x5df,_0x56cf86:0x17e,_0x356fb1:0x18a,_0x2cc2c2:0x57a,_0x2b9e40:0x243,_0x28fad8:0x1ca,_0x3d8489:0x1db,_0x28cbf3:0x1aa,_0x33ca55:0x56d,_0x10a909:0x50e,_0x1f30f7:0x560,_0x132558:0x4fd},_0x2d18b6={_0x347f4e:0x8b},_0xfb4e0c={_0x3f8b85:0x33c},_0x1328c6={'Psdrm':function(_0x29bf01,_0x482871){return _0x29bf01===_0x482871;},'ecuml':_0x531979(_0x20bc85._0x2345e5,_0x20bc85._0x2272b8),'YODmJ':function(_0x37c513,_0x2353ca){return _0x37c513!==_0x2353ca;},'UAExk':'completed','kfSia':function(_0x59dfee,_0x9f11a8){return _0x59dfee??_0x9f11a8;},'ceCvI':function(_0x1a71a4){return _0x1a71a4();},'nJmFy':'kwxSR'},_0x4f30c6=_0x1328c6[_0x45184e(0x581,_0x20bc85._0x41ef9e)](_0x5aacbd,_0x531979(0x21e,_0x20bc85._0x537ed2)),_0x2ccd4d=await _0x1328c6['ceCvI'](readStateFile);function _0x531979(_0x51fa7c,_0x412334){return _0x2fa2f2(_0x412334-_0xfb4e0c._0x3f8b85,_0x51fa7c);}if(!_0x2ccd4d){if(_0x1328c6[_0x531979(0x293,0x20e)]!==_0x531979(_0x20bc85._0x4a45a6,_0x20bc85._0x1d4694)){console['log'](_0x45184e(0x5e9,0x54b)+',请先运行\x20new-'+_0x531979(0x16d,_0x20bc85._0x4e79c7));return;}else{const _0x5520e9={..._0x5b3bcf[_0x17a92d]};_0x5520e9[_0x45184e(_0x20bc85._0x373dc7,0x54e)]=_0x2a701d,_0x369a43[_0x33f2c2]=_0x5520e9;}}const _0x205b80=_0x2ccd4d[_0x531979(0x114,_0x20bc85._0x5b3f7e)];for(const _0x6509fd of Object[_0x531979(_0x20bc85._0x256b3a,_0x20bc85._0x2debe4)](_0x205b80)){if(_0x205b80[_0x6509fd]['phase']!==_0x1328c6[_0x45184e(0x548,_0x20bc85._0x35ef80)]){if(_0x45184e(0x5d3,0x551)!=='mmlHs')_0x205b80[_0x6509fd]={..._0x205b80[_0x6509fd],'phase':_0x4f30c6};else{const _0x5c056c=_0x42b61e[_0x531979(_0x20bc85._0x309daf,0x1eb)+'t'](),_0x51f1d0=_0x1328c6['Psdrm'](typeof _0x5c056c[_0x531979(0x1a7,_0x20bc85._0x4edc73)],'string')?_0x5c056c['value']:_0x1328c6[_0x45184e(0x615,_0x20bc85._0x12e66d)];if(_0x1328c6['YODmJ'](_0x51f1d0,_0x1328c6[_0x531979(_0x20bc85._0x154e2d,0x1b6)]))return _0xf14359;}}}const _0x5eda7e={};_0x5eda7e[_0x531979(0x126,_0x20bc85._0x11447e)]=_0x2ccd4d[_0x531979(_0x20bc85._0x100505,0x1aa)][_0x45184e(0x4f0,_0x20bc85._0x3053bc)],_0x5eda7e[_0x45184e(0x614,0x59f)+'se']=_0x4f30c6;const _0x372bf2={};_0x372bf2[_0x531979(0x22c,0x1aa)]=_0x5eda7e,_0x372bf2[_0x45184e(0x537,0x552)]=_0x205b80,_0x372bf2[_0x45184e(0x606,_0x20bc85._0x42f526)+_0x531979(_0x20bc85._0x56cf86,_0x20bc85._0x356fb1)]=null,await writeStateFile(_0x372bf2);const _0x4812eb=PHASE_NAMES[_0x4f30c6]??_0x4f30c6;console[_0x45184e(0x56d,_0x20bc85._0x2cc2c2)](_0x531979(_0x20bc85._0x2b9e40,_0x20bc85._0x28fad8)+'\x20'+_0x4812eb);function _0x45184e(_0x16c731,_0x41384b){return _0xa607d1(_0x16c731-_0x2d18b6._0x347f4e,_0x41384b);}console[_0x531979(0x13f,_0x20bc85._0x3d8489)](_0x531979(0x172,0x1ad)+_0x2ccd4d[_0x531979(0x14d,_0x20bc85._0x28cbf3)]['name']),console[_0x45184e(_0x20bc85._0x33ca55,_0x20bc85._0x10a909)](_0x45184e(0x608,0x56e)+_0x4812eb),console[_0x45184e(_0x20bc85._0x33ca55,0x5b5)](_0x45184e(_0x20bc85._0x1f30f7,_0x20bc85._0x132558)+'段分解任务、制定计划'+'\x0a');}export async function executePhase(_0x49b1ec){const _0x3ae56d={_0x509906:0x234,_0xc7a131:0x62,_0x543c46:0xe2,_0x34fb1a:0xe4,_0x47f54a:0x14f,_0x2ea9ba:0x1ce,_0x5b9221:0x21d,_0x992427:0x2,_0x35f9f6:0x80,_0x4c08d8:0x182,_0x5cd21e:0x17f,_0x52c7ad:0x8b,_0x114cf2:0x47,_0x383eaf:0x1b8,_0x52103e:0x13,_0x49739c:0x3a,_0x99127c:0x1b4,_0xaa26a9:0x122,_0x216dd2:0xd5,_0x11fa62:0x30,_0x505f9a:0x13f,_0x2ee2f6:0x1bc,_0x5c8844:0x21,_0x2cace0:0x1f5,_0x3e0bd7:0xdf,_0xa89b57:0xad,_0x2e2013:0x61,_0x3d94c9:0x41,_0x39c0a6:0x69,_0x36c505:0x1b0,_0x284e34:0x142,_0x268ce5:0x230,_0x4ccedb:0x39,_0x213bcc:0x18f,_0x57ca14:0x1ab,_0x349dea:0x3f},_0x5c33d9={_0x176d6f:0x512},_0x4c2904={_0x4b7c21:0x21},_0x340fc1={};_0x340fc1['XFStW']=function(_0x25cf22,_0x2033df){return _0x25cf22!==_0x2033df;};function _0x140d1a(_0x61f28,_0x5c6298){return _0x2fa2f2(_0x61f28- -_0x4c2904._0x4b7c21,_0x5c6298);}_0x340fc1['ufGbS']=_0x140d1a(-0x1f9,-_0x3ae56d._0x509906);function _0x3aef9b(_0x450ed6,_0x49e689){return _0xa607d1(_0x450ed6- -_0x5c33d9._0x176d6f,_0x49e689);}_0x340fc1[_0x3aef9b(0x6e,0x5c)]=function(_0x403772,_0x5e4929){return _0x403772===_0x5e4929;},_0x340fc1[_0x3aef9b(-_0x3ae56d._0xc7a131,-0xbc)]='zowdm';const _0x2e2990=_0x340fc1,_0x3a1810=_0x49b1ec??_0x140d1a(-_0x3ae56d._0x543c46,-0x137),_0x151e31=await readStateFile();if(!_0x151e31){if(_0x2e2990[_0x140d1a(-_0x3ae56d._0x34fb1a,-0xc9)](_0x140d1a(-0x165,-_0x3ae56d._0x47f54a),_0x140d1a(-_0x3ae56d._0x2ea9ba,-_0x3ae56d._0x5b9221)))_0x2e8901[_0x36bd46]={..._0x4dbcdf[_0xaa8e41],'phase':_0x140d1a(-0x1c2,-0x17a)+_0x3aef9b(-_0x3ae56d._0x992427,0x2),'currentOperation':'分析'+_0x6e2944+':\x20'+_0x2bf919[_0x3aef9b(-_0x3ae56d._0x35f9f6,-0x3d)](-0x1*-0x25ab+-0x1f17+-0x694,-0x114e*-0x2+0x31f*-0xb+-0x3*0x7)};else{console[_0x140d1a(-_0x3ae56d._0x4c08d8,-0x183)](_0x140d1a(-0x106,-_0x3ae56d._0x5cd21e)+_0x3aef9b(_0x3ae56d._0x52c7ad,_0x3ae56d._0x114cf2)+'project\x20命令');return;}}const _0x555d53=_0x151e31[_0x140d1a(-_0x3ae56d._0x383eaf,-0x135)];for(const _0x484ece of Object[_0x140d1a(-0x17c,-0x21c)](_0x555d53)){if(_0x2e2990[_0x3aef9b(_0x3ae56d._0x52103e,-_0x3ae56d._0x49739c)](_0x140d1a(-0x16a,-0x1ef),_0x2e2990[_0x140d1a(-_0x3ae56d._0x99127c,-0x1ba)])){const _0x518bcd=_0x46ebd5[_0x3aef9b(-0x20,0x2)+'t'](),_0x3ee0c8=typeof _0x518bcd[_0x140d1a(-_0x3ae56d._0xaa26a9,-_0x3ae56d._0x216dd2)]===_0x3aef9b(-0x59,-_0x3ae56d._0x11fa62)?_0x518bcd['value']:'unknown';if(_0x2e2990['XFStW'](_0x3ee0c8,_0x2e2990[_0x140d1a(-0x1f5,-0x230)]))return;}else _0x2e2990[_0x140d1a(-_0x3ae56d._0x505f9a,-_0x3ae56d._0x2ee2f6)](_0x555d53[_0x484ece][_0x3aef9b(-_0x3ae56d._0x5c8844,0x54)],_0x2e2990[_0x140d1a(-_0x3ae56d._0x2cace0,-0x1ca)])&&(_0x555d53[_0x484ece]={..._0x555d53[_0x484ece],'phase':_0x3a1810});}const _0x86d437={};_0x86d437[_0x3aef9b(-0xad,-_0x3ae56d._0x3e0bd7)]=_0x151e31['project'][_0x3aef9b(-_0x3ae56d._0xa89b57,-0x28)],_0x86d437['currentPha'+'se']=_0x3a1810;const _0x4b7086={};_0x4b7086[_0x3aef9b(-_0x3ae56d._0x2e2013,-0xb4)]=_0x86d437,_0x4b7086[_0x3aef9b(-0x66,-_0x3ae56d._0x3d94c9)]=_0x555d53,_0x4b7086[_0x3aef9b(_0x3ae56d._0x39c0a6,0x43)+_0x3aef9b(-0x81,-0x29)]=null,await writeStateFile(_0x4b7086);const _0x19c25f=PHASE_NAMES[_0x3a1810]??_0x3a1810;console[_0x140d1a(-0x182,-0x13f)](_0x140d1a(-0x203,-0x184)+'\x20'+_0x19c25f),console[_0x140d1a(-0x182,-0xf9)](_0x140d1a(-_0x3ae56d._0x36c505,-_0x3ae56d._0x284e34)+_0x151e31['project'][_0x140d1a(-0x1ff,-_0x3ae56d._0x268ce5)]),console[_0x3aef9b(-0x30,_0x3ae56d._0x4ccedb)](_0x3aef9b(0x6b,0x30)+_0x19c25f),console['log'](_0x140d1a(-_0x3ae56d._0x213bcc,-_0x3ae56d._0x57ca14)+_0x3aef9b(-0x52,-_0x3ae56d._0x349dea));}export async function verifyPhase(_0x42cfdd){const _0x142437={_0x27db0e:0x445,_0x1064cf:0x45d,_0x21fac8:0x11f,_0x836e68:0x6c,_0x1932b3:0x10b,_0x4a44d0:0x92,_0x39d261:0xa,_0x378964:0x429,_0x5a59dc:0x439,_0x1a97df:0x15d,_0xc364b5:0xd8,_0x4e581d:0x118,_0x186a31:0x160,_0xa32384:0x86,_0x1794ae:0x1a4,_0x16d2cd:0x1a9,_0x4990e5:0x385,_0x349817:0x327,_0x2088ea:0x385,_0x5af152:0x3d9,_0x2950dd:0x8e,_0x33d2ef:0x10,_0x211d0f:0x40a,_0x211bdd:0xc4,_0x936648:0x388,_0x55e37e:0x451,_0x3e4d51:0x108,_0x257579:0x3bb},_0x1c30a7={'twXcg':_0x385537(_0x142437._0x27db0e,_0x142437._0x1064cf),'eqroL':function(_0x2b2649,_0x33f622){return _0x2b2649??_0x33f622;},'hkfYS':function(_0x12be37){return _0x12be37();},'cHjws':_0x33600c(-0xab,-_0x142437._0x21fac8)+_0x33600c(-_0x142437._0x836e68,-_0x142437._0x1932b3)+_0x385537(0x39d,0x35f),'sLAbY':'amaaW','hHqLL':function(_0xd99a2e,_0x10b8c9){return _0xd99a2e(_0x10b8c9);}},_0xb8ab73=_0x1c30a7['eqroL'](_0x42cfdd,'verify'),_0x2a2bfb=await _0x1c30a7[_0x33600c(-_0x142437._0x4a44d0,_0x142437._0x39d261)](readStateFile);if(!_0x2a2bfb){console[_0x385537(0x3b6,_0x142437._0x378964)](_0x1c30a7[_0x385537(_0x142437._0x5a59dc,0x3fd)]);return;}const _0x3ef526=_0x2a2bfb[_0x33600c(-_0x142437._0x1a97df,-0x1c0)];for(const _0xd46f2 of Object['keys'](_0x3ef526)){_0x1c30a7[_0x33600c(-_0x142437._0xc364b5,-0x136)]==='amaaW'?_0x3ef526[_0xd46f2][_0x33600c(-_0x142437._0x4e581d,-_0x142437._0x186a31)]!==_0x33600c(-0x19e,-0x171)&&(_0x3ef526[_0xd46f2]={..._0x3ef526[_0xd46f2],'phase':_0xb8ab73}):(_0x3145a3=_0x2e563a(),_0x56e292&&_0x572d4d['log'](_0x1c30a7[_0x33600c(-_0x142437._0xa32384,-0x5c)]));}const _0x473365={};_0x473365[_0x33600c(-_0x142437._0x1794ae,-_0x142437._0x16d2cd)]=_0x2a2bfb[_0x385537(_0x142437._0x4990e5,_0x142437._0x349817)]['name'];function _0x33600c(_0x20e1d0,_0xed059a){return _0xa607d1(_0x20e1d0- -0x609,_0xed059a);}_0x473365[_0x385537(_0x142437._0x1064cf,0x441)+'se']=_0xb8ab73;const _0x5748d4={};_0x5748d4[_0x385537(_0x142437._0x2088ea,_0x142437._0x5af152)]=_0x473365;function _0x385537(_0x5d55c0,_0x56aab9){return _0xa607d1(_0x5d55c0- -0x12c,_0x56aab9);}_0x5748d4[_0x33600c(-_0x142437._0x1a97df,-_0x142437._0x1932b3)]=_0x3ef526,_0x5748d4[_0x33600c(-_0x142437._0x2950dd,_0x142437._0x33d2ef)+'pshot']=null,await _0x1c30a7[_0x385537(_0x142437._0x211d0f,0x455)](writeStateFile,_0x5748d4);const _0x39a891=PHASE_NAMES[_0xb8ab73]??_0xb8ab73;console['log']('\x0a✅\x20进入验证阶段:'+'\x20'+_0x39a891),console[_0x33600c(-0x127,-_0x142437._0x211bdd)](_0x385537(_0x142437._0x936648,0x3ab)+_0x2a2bfb['project']['name']),console['log'](_0x385537(_0x142437._0x55e37e,0x3f1)+_0x39a891),console[_0x33600c(-0x127,-_0x142437._0x3e4d51)]('\x20\x20\x20提示:\x20在此阶'+_0x385537(_0x142437._0x257579,0x3d0)+'\x0a');}export async function analyzeInput(_0x41c5de){const _0x56721b={_0x175f6d:0x51d,_0x3341ef:0x4c1,_0x71623e:0x4aa,_0x1b581a:0x483,_0x390e74:0xcb,_0x5a59b0:0x41,_0x430378:0x500,_0x2c9112:0x4d2,_0x24507e:0x170,_0x1f7bfa:0x69,_0x31f659:0x0,_0x51480f:0xe3,_0x545216:0x446,_0x2b2406:0x4e8,_0x514d3a:0x176,_0x517fbd:0x12f,_0x4705ca:0xdd,_0x235098:0x5ba,_0x16a22f:0x55c,_0x5187e5:0x10e,_0x27c17c:0x4c3,_0x16bc7d:0x15f,_0x450cff:0xf9,_0x1017b4:0x1f7,_0x40922f:0x47d,_0x24488e:0x473,_0x2a3ab7:0x5d8,_0x2cc87c:0x566,_0x41f9df:0x4c3},_0x25dcbb={_0x1da829:0x5db},_0x5a90da={'vhkRF':function(_0x5594de){return _0x5594de();},'zksjW':'⚠️\x20\x20状态文件不存在'+_0x5c56ea(_0x56721b._0x175f6d,0x57e)+_0x5c56ea(_0x56721b._0x3341ef,_0x56721b._0x71623e),'SDaor':_0x5c56ea(0x414,_0x56721b._0x1b581a)+_0x219241(-_0x56721b._0x390e74,-0x5f)},_0x22a3aa=await _0x5a90da[_0x219241(-_0x56721b._0x5a59b0,-0xb9)](readStateFile);function _0x219241(_0x22427d,_0xdca0b1){return _0xa607d1(_0x22427d- -_0x25dcbb._0x1da829,_0xdca0b1);}if(!_0x22a3aa){console['log'](_0x5a90da[_0x219241(-0x14c,-0x16f)]);return;}const _0x4b8609=detectInputType(_0x41c5de),_0x442d28=INPUT_TYPE_NAMES[_0x4b8609],_0x25c26d=_0x22a3aa['agents'];for(const _0x461e36 of Object[_0x5c56ea(0x481,0x4c9)](_0x25c26d)){_0x25c26d[_0x461e36][_0x5c56ea(_0x56721b._0x430378,_0x56721b._0x2c9112)]!==_0x219241(-_0x56721b._0x24507e,-0x20a)&&(_0x25c26d[_0x461e36]={..._0x25c26d[_0x461e36],'phase':_0x5a90da[_0x219241(-_0x56721b._0x1f7bfa,_0x56721b._0x31f659)],'currentOperation':'分析'+_0x442d28+':\x20'+_0x41c5de[_0x219241(-0x149,-_0x56721b._0x51480f)](0x2364+-0x2b5*0x1+-0x20af,0xb*0x151+0x1569+0x1*-0x23b2)});}const _0x165320={};_0x165320[_0x5c56ea(0x468,_0x56721b._0x545216)]=_0x22a3aa[_0x5c56ea(_0x56721b._0x2b2406,0x492)][_0x219241(-_0x56721b._0x514d3a,-0x199)],_0x165320[_0x5c56ea(0x567,0x56a)+'se']=_0x5a90da['SDaor'];const _0x557e96={};_0x557e96['project']=_0x165320,_0x557e96[_0x219241(-_0x56721b._0x517fbd,-_0x56721b._0x4705ca)]=_0x25c26d,_0x557e96[_0x5c56ea(_0x56721b._0x235098,_0x56721b._0x16a22f)+_0x219241(-0x14a,-_0x56721b._0x5187e5)]=null;function _0x5c56ea(_0x3cfa85,_0x5ba47e){return _0x2fa2f2(_0x5ba47e-0x624,_0x3cfa85);}await writeStateFile(_0x557e96),console[_0x5c56ea(0x55a,_0x56721b._0x27c17c)]('\x0a🔍\x20开始分析'),console['log'](_0x5c56ea(0x49a,0x495)+_0x22a3aa['project']['name']),console['log'](_0x219241(-0xc8,-_0x56721b._0x16bc7d)+_0x442d28),console[_0x219241(-_0x56721b._0x450cff,-0x101)](_0x219241(-0x159,-_0x56721b._0x1017b4)+(_0x41c5de['length']>0x233d+0x1b37+-0x3e24?_0x41c5de[_0x5c56ea(_0x56721b._0x40922f,_0x56721b._0x24488e)](-0x3fd*-0x3+-0x1f7*0xa+0x7af,0x32*-0x99+0x26c9*-0x1+0x44fb)+_0x5c56ea(_0x56721b._0x2a3ab7,_0x56721b._0x2cc87c):_0x41c5de)),console[_0x5c56ea(_0x56721b._0x41f9df,0x4c3)](_0x5c56ea(0x43f,0x456)+'求分析\x0a');}export async function showProgress(){const _0xe3bdc7={_0x4d98a2:0x63,_0x92dbe3:0x4f,_0x18c7ab:0x38,_0x192744:0x45,_0x2015c7:0x13,_0x45ebab:0x4a,_0x110153:0x4,_0x366084:0x11c,_0x3282ab:0xbb,_0x3b4510:0x11c,_0x39754c:0x64,_0x50795a:0xb4,_0x38ab56:0xa9,_0xfdaadd:0xfe,_0x25df9b:0x184,_0x1df470:0xf8,_0x4f4a81:0x37,_0x2052d6:0x4f,_0x41a93a:0x8b,_0x1e6f64:0x30,_0x538e01:0x15,_0x5556d:0x11,_0x28bf70:0x14a,_0x178151:0xf2,_0x4d612e:0x71,_0x3a5ff1:0xa5,_0x39c6be:0x1d,_0x3e4ded:0xc4,_0x1aa582:0x68,_0xfc1af0:0xc1,_0x3bde77:0xba,_0xaae0c9:0x28,_0x12f2bc:0x87,_0x535f96:0x31,_0x1039b5:0xde,_0x404c7d:0xf,_0x39bf7c:0x11f,_0x5379e6:0x18d,_0x314b96:0x86,_0x104219:0xa7,_0x57ee77:0x1d,_0x2d1f9c:0x2f,_0x4ec8dc:0x1a,_0x14fbfc:0x133,_0x2d9c71:0x109,_0x150acd:0x3c,_0x53d34e:0xf6,_0x49e8ed:0x77,_0x16084a:0x8e,_0x2ae70f:0x4c,_0x24034f:0xca,_0x40157a:0x4c,_0x562df5:0x2c,_0x5ae9cd:0xaa,_0x487429:0x25,_0x4bc388:0x58,_0x32eeee:0x12,_0x2cc2b4:0x7f,_0x49bc4f:0xb9,_0x56b192:0x81,_0x2e72fe:0x98,_0x3487ba:0x127},_0x3ad1bd={_0x525de3:0x4c5},_0x469af1={'srinQ':function(_0x4e8a24){return _0x4e8a24();},'mxqAN':function(_0x27b6f2,_0x14aaec){return _0x27b6f2>_0x14aaec;},'MrWjc':function(_0x2e5baa,_0x16543c){return _0x2e5baa===_0x16543c;},'NLciJ':_0x5ae63a(-0xf8,-_0xe3bdc7._0x4d98a2),'xghdD':function(_0x1fd045,_0x63bff5){return _0x1fd045+_0x63bff5;},'RgaWa':'\x20\x20\x20📈\x20阶段分布:','cHrPy':function(_0x263374,_0x15c644){return _0x263374-_0x15c644;},'OQAjk':_0x2468ad(_0xe3bdc7._0x92dbe3,0x2f),'gZbkp':'\x20\x20\x20🤖\x20Agent'+'\x20详情:','UXKpJ':function(_0x115fb5,_0x301788){return _0x115fb5+_0x301788;}},_0x123a6a=await _0x469af1[_0x5ae63a(-0x98,-_0xe3bdc7._0x18c7ab)](readStateFile);if(!_0x123a6a){console['log'](_0x5ae63a(-_0xe3bdc7._0x192744,-0xb3)+_0x5ae63a(-0x6,_0xe3bdc7._0x2015c7)+_0x2468ad(_0xe3bdc7._0x45ebab,_0xe3bdc7._0x110153));return;}const _0x24a713=_0x123a6a[_0x5ae63a(-0xf7,-_0xe3bdc7._0x366084)];function _0x5ae63a(_0x34e9db,_0x3f7523){return _0x2fa2f2(_0x34e9db-0xa0,_0x3f7523);}function _0x2468ad(_0x10b621,_0x4a876f){return _0xa607d1(_0x4a876f- -_0x3ad1bd._0x525de3,_0x10b621);}const _0x50ad52=Object[_0x5ae63a(-_0xe3bdc7._0x3282ab,-_0xe3bdc7._0x3b4510)](_0x24a713),_0xc0a63f=_0x50ad52[_0x2468ad(-_0xe3bdc7._0x39754c,0xf)],_0x5f59d0=_0x50ad52[_0x2468ad(0x47,_0xe3bdc7._0x50795a)](_0x1f5f1f=>_0x24a713[_0x1f5f1f][_0x5ae63a(-0xb2,-0xea)]===_0x5ae63a(-0x138,-0x134))['length'],_0x37b05b=_0x469af1[_0x2468ad(0x122,_0xe3bdc7._0x38ab56)](_0xc0a63f,-0x209c+0x1b04+-0xb3*-0x8)?Math['round'](_0x5f59d0/_0xc0a63f*(0x233c+0xa*-0x25b+-0xb4a)):-0x2441+-0x4*-0x195+0xa3*0x2f,_0x26f710={};for(const _0x3b5f55 of _0x50ad52){if(_0x469af1[_0x5ae63a(-_0xe3bdc7._0xfdaadd,-_0xe3bdc7._0x25df9b)](_0x5ae63a(-_0xe3bdc7._0x1df470,-0x84),_0x469af1[_0x2468ad(_0xe3bdc7._0x4f4a81,-_0xe3bdc7._0x2052d6)])){const _0x10a7d5=_0x24a713[_0x3b5f55][_0x5ae63a(-0xb2,-_0xe3bdc7._0x41a93a)];_0x26f710[_0x10a7d5]=_0x469af1[_0x2468ad(-0xc6,-_0xe3bdc7._0x1e6f64)](_0x26f710[_0x10a7d5]??-0x1b52+0x47*-0x3d+0x97*0x4b,-0x1*0x24b1+-0x20d9*-0x1+-0x3d9*-0x1);}else _0x18b68b[_0x2468ad(-_0xe3bdc7._0x538e01,_0xe3bdc7._0x5556d)]();}console[_0x5ae63a(-0xc1,-_0xe3bdc7._0x28bf70)](_0x2468ad(0x5f,0x74)+_0x123a6a[_0x5ae63a(-_0xe3bdc7._0x178151,-_0xe3bdc7._0x4d612e)][_0x2468ad(-0xeb,-0x60)]),console[_0x2468ad(_0xe3bdc7._0x3a5ff1,_0xe3bdc7._0x39c6be)](_0x5ae63a(-0x26,-0xa8)+(PHASE_NAMES[_0x123a6a[_0x5ae63a(-_0xe3bdc7._0x178151,-0x163)][_0x2468ad(0x123,_0xe3bdc7._0x3e4ded)+'se']]??_0x123a6a['project'][_0x5ae63a(-0x1a,-_0xe3bdc7._0x1aa582)+'se'])),console[_0x5ae63a(-_0xe3bdc7._0xfc1af0,-_0xe3bdc7._0x3bde77)](_0x2468ad(-_0xe3bdc7._0xaae0c9,-0xd)+_0x123a6a['version']),console[_0x2468ad(_0xe3bdc7._0x12f2bc,_0xe3bdc7._0x39c6be)](_0x2468ad(_0xe3bdc7._0x535f96,0x64)+_0x123a6a[_0x5ae63a(-_0xe3bdc7._0x1039b5,-0x5b)]),console[_0x2468ad(-_0xe3bdc7._0x404c7d,_0xe3bdc7._0x39c6be)](_0x5ae63a(-_0xe3bdc7._0x39bf7c,-_0xe3bdc7._0x5379e6)+_0x37b05b+_0x5ae63a(-_0xe3bdc7._0x314b96,-0xcf)+_0x5f59d0+'/'+_0xc0a63f+'\x20Agent)\x0a'),console[_0x2468ad(_0xe3bdc7._0x104219,_0xe3bdc7._0x57ee77)](_0x469af1[_0x5ae63a(-0x4e,-_0xe3bdc7._0x2d1f9c)]);for(const [_0x569b74,_0x5c5c35]of Object['entries'](_0x26f710)){const _0x2eebc9=PHASE_NAMES[_0x569b74]??_0x569b74,_0x214ab7='█'[_0x2468ad(0x33,_0xe3bdc7._0x4ec8dc)](_0x5c5c35)+'░'['repeat'](Math['max'](-0x6bb+0x25f8+0x1*-0x1f3d,_0x469af1[_0x5ae63a(-0x132,-0xe2)](_0xc0a63f,_0x5c5c35)));console[_0x2468ad(0xc,_0xe3bdc7._0x39c6be)](_0x5ae63a(-_0xe3bdc7._0x14fbfc,-0xe6)+_0x2eebc9[_0x2468ad(_0xe3bdc7._0x2d9c71,0xb9)](-0x16e6+-0x5b*-0xd+0x1255)+'\x20'+_0x214ab7+'\x20'+_0x5c5c35);}console[_0x5ae63a(-_0xe3bdc7._0xfc1af0,-0x82)]();if(_0x50ad52[_0x2468ad(-0x12,_0xe3bdc7._0x404c7d)]>0x2*0x57e+-0x49*0x7d+0x18a9){if(_0x469af1['OQAjk']===_0x5ae63a(-0xaf,-_0xe3bdc7._0x150acd)){console['log'](_0x469af1['gZbkp']),console['log'](_0x5ae63a(-0xe7,-_0xe3bdc7._0x53d34e)+_0x5ae63a(-0xcc,-0x6d)+'\x20|\x20阶段\x20\x20\x20\x20\x20'+_0x2468ad(-0x46,0x5)+_0x5ae63a(-0x110,-_0xe3bdc7._0x49e8ed)+_0x2468ad(0x5f,0xa6)+'工具'),console['log'](_0x469af1[_0x2468ad(-_0xe3bdc7._0x16084a,-_0xe3bdc7._0x2ae70f)](_0x5ae63a(-0x30,-_0xe3bdc7._0x24034f),'-'['repeat'](-0x1562+0x2*-0x629+0x2204)));for(const _0x4b5f89 of _0x50ad52){const _0x110ef6=_0x24a713[_0x4b5f89],_0x18b6a9=PHASE_NAMES[_0x110ef6[_0x2468ad(-_0xe3bdc7._0x40157a,_0xe3bdc7._0x562df5)]]??_0x110ef6['phase'],_0x42cc35=_0x110ef6['currentOpe'+'ration']||'-',_0x8af610=_0x110ef6[_0x5ae63a(-0xf0,-0x5d)+'ll']||'-';console[_0x5ae63a(-0xc1,-_0xe3bdc7._0x5ae9cd)](_0x5ae63a(-0x30,-0x8)+_0x4b5f89[_0x5ae63a(-_0xe3bdc7._0x487429,_0xe3bdc7._0x4bc388)](-0x48f*0x6+0x1497+0x6d5)+'\x20|\x20'+_0x18b6a9[_0x5ae63a(-_0xe3bdc7._0x487429,-_0xe3bdc7._0x32eeee)](0xa4d*-0x2+0x9*-0x17d+0x220d)+'\x20|\x20'+_0x42cc35[_0x2468ad(_0xe3bdc7._0x2cc2b4,_0xe3bdc7._0x49bc4f)](0x1d4d+0x266c+0x1e1*-0x24)+_0x2468ad(0x82,_0xe3bdc7._0x56b192)+_0x8af610);}console[_0x5ae63a(-_0xe3bdc7._0xfc1af0,-0xfd)]();}else _0x502d74=_0x469af1[_0x5ae63a(-_0xe3bdc7._0x2e72fe,-_0xe3bdc7._0x3487ba)](_0x2a7d6b);}}export async function quickTask(_0x1920df){const _0x1ade23={_0x424f92:0x3ca,_0x5cd2bd:0x343,_0x46215c:0x327,_0x3c7070:0x3ac,_0x6f6c17:0x3a1,_0x3eeba6:0x420,_0x494ee4:0x3d1,_0x2905be:0x3e6,_0x305fb6:0x30e,_0x57a341:0x41d,_0x5024b8:0x337,_0x24dce0:0x34b,_0x167c34:0x468,_0x4dedb4:0x31d,_0x2a384a:0x4c0,_0x5d3980:0x42a,_0x2d2723:0x4c2,_0x4de8c1:0x378,_0x4bfb4e:0x460,_0x2240bf:0x2de,_0x21f55a:0x3cd,_0xbda377:0x36d,_0x58d92f:0x3f8,_0x29b5a7:0x474,_0x265dca:0x42d};function _0x280932(_0x81bfbe,_0x40e4a8){return _0x2fa2f2(_0x40e4a8-0x578,_0x81bfbe);}const _0x56c24e={'zLHBJ':function(_0x366c4f){return _0x366c4f();},'YhsTv':'CTYcb','YYCDl':function(_0xc12e09){return _0xc12e09();},'dzYRC':_0x1ee635(0x40d,0x3dd),'kIZOu':_0x1ee635(_0x1ade23._0x424f92,_0x1ade23._0x5cd2bd),'hXgKR':function(_0x36534e,_0x103ce3){return _0x36534e(_0x103ce3);}},_0x2faf08=await _0x56c24e['zLHBJ'](readStateFile);if(!_0x2faf08){const _0x3eeb21=resolve(process[_0x1ee635(_0x1ade23._0x46215c,_0x1ade23._0x3c7070)](),_0x280932(_0x1ade23._0x6f6c17,_0x1ade23._0x3eeba6));if(!existsSync(_0x3eeb21)){if(_0x56c24e['YhsTv']!=='CTYcb')_0x2ab2f4['log'](_0x280932(0x4bc,0x43e)+_0x1543f1+_0x280932(0x467,0x478));else{const _0x3b7204={};_0x3b7204[_0x1ee635(0x317,0x2fe)]=!![],mkdirSync(_0x3eeb21,_0x3b7204);}}}const _0x410179=_0x2faf08?.[_0x280932(_0x1ade23._0x494ee4,_0x1ade23._0x2905be)][_0x1ee635(0x2f0,_0x1ade23._0x305fb6)]??_0x1ee635(0x333,0x374),_0x4b386b=_0x2faf08?Object[_0x280932(0x3bd,_0x1ade23._0x57a341)](_0x2faf08[_0x1ee635(_0x1ade23._0x5024b8,_0x1ade23._0x24dce0)])[0x16d8+0x1c51+-0x3329]??_0x56c24e[_0x280932(0x3bf,0x3bb)](generateAgentId):_0x56c24e[_0x1ee635(0x3f1,_0x1ade23._0x167c34)](generateAgentId);function _0x1ee635(_0x397ca,_0x38948e){return _0xa607d1(_0x397ca- -0x175,_0x38948e);}const _0x15f9aa={'agentId':_0x4b386b,'parentId':null,'childIds':[],'phase':_0x56c24e['dzYRC'],'currentOperation':_0x1920df[_0x1ee635(_0x1ade23._0x4dedb4,0x35d)](-0x17*0x117+0x106d+0x8a4,-0x34*0xb6+0x8b5*0x1+0xf*0x1e9),'currentSkill':_0x56c24e['kIZOu']},_0x576fdf={};_0x576fdf[_0x4b386b]=_0x15f9aa,await _0x56c24e[_0x280932(0x462,_0x1ade23._0x2a384a)](writeStateFile,{'project':{'name':_0x410179,'currentPhase':_0x56c24e[_0x1ee635(_0x1ade23._0x5d3980,_0x1ade23._0x2d2723)]},'agents':_0x576fdf,'machineSnapshot':null}),console[_0x280932(_0x1ade23._0x4de8c1,0x417)](_0x280932(0x491,_0x1ade23._0x4bfb4e)),console[_0x1ee635(0x36d,_0x1ade23._0x2240bf)]('\x20\x20\x20项目:\x20'+_0x410179),console[_0x280932(_0x1ade23._0x21f55a,0x417)](_0x280932(0x3d5,0x3df)+_0x1920df),console[_0x1ee635(_0x1ade23._0xbda377,_0x1ade23._0x58d92f)](_0x280932(0x346,0x3cf)+_0x4b386b),console['log']('\x20\x20\x20提示:\x20快速任'+_0x280932(_0x1ade23._0x29b5a7,_0x1ade23._0x265dca)+_0x280932(0x3b3,0x3dc));}function findFirstIncompleteAgent(_0x54381c){const _0x324cf2={_0x3a8297:0x22,_0x14b99d:0x59,_0x81d8b:0x8a,_0x2724bc:0xb,_0x45bc43:0x3e,_0x50550b:0x4b,_0x3c9799:0x84,_0x19d1bf:0xb1,_0x24c314:0x9f,_0x51224f:0x45,_0x1153fd:0x1e,_0x701ff4:0x34},_0xd7f17={_0x244734:0x520},_0x5af379={_0x9471e1:0x543};function _0x5d072e(_0x2382d4,_0x41bb3e){return _0xa607d1(_0x2382d4- -_0x5af379._0x9471e1,_0x41bb3e);}const _0x44f60c={'DeuSy':function(_0x1c5823,_0x22a812,_0x1ef5a9){return _0x1c5823(_0x22a812,_0x1ef5a9);},'FffFq':'completed','DBFaF':function(_0x49c568,_0x258160){return _0x49c568===_0x258160;},'gqsVD':'rFpcv'};function _0x380ab7(_0x33c36b,_0x2b9a11){return _0xa607d1(_0x33c36b- -_0xd7f17._0x244734,_0x2b9a11);}for(const [_0x126d04,_0x10c7e2]of _0x54381c){const _0x116586=_0x10c7e2['getSnapsho'+'t'](),_0x4b8992=typeof _0x116586[_0x380ab7(_0x324cf2._0x3a8297,_0x324cf2._0x14b99d)]===_0x5d072e(-_0x324cf2._0x81d8b,-0x127)?_0x116586[_0x5d072e(-0x1,-0x19)]:_0x5d072e(-_0x324cf2._0x2724bc,-0xa5);if(_0x4b8992!==_0x44f60c['FffFq']){if(_0x44f60c['DBFaF'](_0x5d072e(-_0x324cf2._0x45bc43,-_0x324cf2._0x50550b),_0x44f60c[_0x5d072e(-0x5f,-0x53)]))return _0x126d04;else{const _0x191897=_0x302d02(),_0x227dfa={};_0x227dfa['agentId']=_0x191897,_0x227dfa[_0x5d072e(-_0x324cf2._0x3c9799,-0x111)]=_0x16dad3;const _0x1e3a9e={};_0x1e3a9e[_0x5d072e(-0xd7,-_0x324cf2._0x19d1bf)]=_0x227dfa;const _0x48111f=_0x44f60c[_0x380ab7(0x30,0x69)](_0x491368,_0x147a96,_0x1e3a9e);_0x48111f[_0x5d072e(-0xa6,-0x12b)]();const _0x57092b={};_0x57092b['type']=_0x5d072e(-_0x324cf2._0x24c314,-0xb0),_0x48111f[_0x5d072e(_0x324cf2._0x51224f,-_0x324cf2._0x1153fd)](_0x57092b),_0x3f8cc0[_0x5d072e(-0xb6,-0x10e)](_0x191897,_0x48111f),_0x4272c1[_0x380ab7(-0x3e,0x22)]('['+_0x191897+(']\x20Agent\x20已启'+_0x5d072e(-0xab,-_0x324cf2._0x701ff4)));}}}return null;}function checkAllComplete(){const _0x2abb2d={_0x394f5f:0x184,_0x5d426a:0x20c,_0xf355c5:0xa4,_0x58ad5b:0x10d,_0x402c21:0x51,_0x5167be:0xca,_0x1935d8:0x153,_0x107a47:0x95,_0x305395:0xe1,_0x3da20b:0xd1,_0x3ed602:0x155,_0x3f9c8c:0x1a3,_0x1ff1d7:0x1e8,_0x26c3d7:0xf6,_0x21a311:0x130,_0x4af168:0x165,_0x2d8de9:0x1e6,_0x250153:0x1b7,_0x9917db:0x1ac,_0xdecdbc:0xf2,_0x1a2cff:0x1cb,_0x3d9809:0x18c,_0x2bbcc3:0x163,_0x3cd12a:0x1b2,_0x20b3c1:0x1a4,_0x512bb9:0x8e},_0x42f034={_0x2a4f97:0x37},_0x5b90c5={};function _0x6831fe(_0x5884c2,_0x2df119){return _0x2fa2f2(_0x2df119- -_0x42f034._0x2a4f97,_0x5884c2);}_0x5b90c5[_0x3ef2bd(-_0x2abb2d._0x394f5f,-_0x2abb2d._0x5d426a)]=function(_0x2abdaa,_0x5f131e){return _0x2abdaa!==_0x5f131e;},_0x5b90c5[_0x3ef2bd(-0xba,-_0x2abb2d._0xf355c5)]=_0x6831fe(-0x74,-_0x2abb2d._0x58ad5b)+'LETE',_0x5b90c5[_0x3ef2bd(-0x8f,-0x6c)]=_0x3ef2bd(-0x9d,-_0x2abb2d._0x402c21);function _0x3ef2bd(_0x31bede,_0x3a4482){return _0xa607d1(_0x31bede- -0x623,_0x3a4482);}const _0x3fc1b0=_0x5b90c5;if(!activeEngine)return;for(const [,_0xc141b7]of activeEngine[_0x6831fe(-_0x2abb2d._0x5167be,-_0x2abb2d._0x1935d8)]){const _0x218ef0=_0xc141b7[_0x3ef2bd(-0x131,-_0x2abb2d._0x107a47)+'t'](),_0x3177d0=typeof _0x218ef0[_0x3ef2bd(-_0x2abb2d._0x305395,-0xa6)]===_0x3ef2bd(-0x16a,-0x1c2)?_0x218ef0['value']:'unknown';if(_0x3fc1b0['NKpLT'](_0x3177d0,'completed'))return;}console['log'](_0x6831fe(-_0x2abb2d._0x3da20b,-0x122)+_0x3ef2bd(-0xec,-0x115));if(activeEngine['supervisor'+_0x6831fe(-_0x2abb2d._0x3ed602,-0x1ac)]){for(const [_0x329396]of activeEngine[_0x3ef2bd(-0xfc,-0x13c)]){const _0x20ff8b={};_0x20ff8b['type']=_0x3fc1b0[_0x3ef2bd(-0xba,-0x123)],_0x20ff8b[_0x3ef2bd(-_0x2abb2d._0x3f9c8c,-_0x2abb2d._0x1ff1d7)]=_0x329396,_0x20ff8b[_0x3ef2bd(-_0x2abb2d._0x26c3d7,-0xfa)]={},_0x20ff8b[_0x3ef2bd(-_0x2abb2d._0x26c3d7,-0xfa)][_0x6831fe(-_0x2abb2d._0x21a311,-0x15a)]=_0x3fc1b0[_0x6831fe(-0x57,-0xe6)],activeEngine[_0x3ef2bd(-_0x2abb2d._0x4af168,-_0x2abb2d._0x2d8de9)+_0x6831fe(-_0x2abb2d._0x250153,-_0x2abb2d._0x9917db)][_0x6831fe(-0xdb,-_0x2abb2d._0xdecdbc)](_0x20ff8b);}const _0x18baf3={};_0x18baf3[_0x3ef2bd(-0xc6,-0x150)]='ALL_CHILDR'+_0x6831fe(-0x142,-_0x2abb2d._0x1a2cff),activeEngine['supervisor'+_0x6831fe(-_0x2abb2d._0x3d9809,-0x1ac)]['send'](_0x18baf3);const _0x2205ea={};_0x2205ea['type']=_0x6831fe(-0x14e,-_0x2abb2d._0x2bbcc3)+_0x6831fe(-_0x2abb2d._0x3cd12a,-0x206),activeEngine['supervisor'+_0x3ef2bd(-0x155,-_0x2abb2d._0x20b3c1)][_0x3ef2bd(-0x9b,-_0x2abb2d._0x512bb9)](_0x2205ea);}}const MAX_RETRIES=-0x48*0x7c+0xa*-0x266+0x1*0x3ae1;function _0x2fa2f2(_0xa55975,_0xd291b2){return _0x1a3b(_0xa55975- -0x365,_0xd291b2);}async function persistCurrentState(){const _0xbece2f={_0x105dc5:0x282,_0x314d03:0x1e2,_0x20acd6:0x292,_0x24fb7f:0x26b,_0x1b8beb:0x290,_0x2ff61a:0x526,_0x1cdbb8:0x436,_0x35a9ca:0x459,_0x432082:0x504,_0x5605b8:0x21f,_0xb15d88:0x4a1,_0xb96946:0x4a9,_0x344ad7:0x223,_0x10a32b:0x47f,_0x18c6de:0x4eb,_0x5e7f9a:0x44c,_0x52d475:0x281,_0x102497:0x4c4,_0x17ebcc:0x447,_0x2768b2:0x502,_0x5c4d45:0x594,_0xc8c22:0x26a,_0x5d493d:0x2b9,_0x54a6dd:0x482,_0x8ca80f:0x4f3,_0x4db5b8:0x562,_0x328730:0x174,_0x46597f:0x202,_0x256f4a:0x42d,_0x365c26:0x2cb,_0xb9e818:0x4c3,_0x5e6384:0x43d,_0x53a3f7:0x491,_0x3ddf2f:0x25f,_0x3bf3f7:0x463,_0x523d4b:0x33d,_0x2eccef:0x47e,_0x39e8cd:0x436,_0x440809:0x30c,_0x24dc7b:0x266,_0x467a1f:0x208,_0x2fcde0:0x23b,_0x2af0b4:0x4a3,_0x57cf27:0x252},_0xfac452={_0x59cdfd:0x2e},_0x7a3f30={_0x3c026b:0x289},_0x573d85={};_0x573d85['jLtzM']=_0x3c277d(_0xbece2f._0x105dc5,_0xbece2f._0x314d03),_0x573d85[_0x3c277d(0x229,_0xbece2f._0x20acd6)]=function(_0x1a6f3f,_0x496af9){return _0x1a6f3f!==_0x496af9;},_0x573d85[_0x3c277d(_0xbece2f._0x24fb7f,_0xbece2f._0x1b8beb)]=function(_0x4d9484,_0x32de0b){return _0x4d9484===_0x32de0b;},_0x573d85[_0x3c277d(0x20f,0x1ee)]=_0x3c277d(0x27b,0x275),_0x573d85['dfBJu']=function(_0x34c243,_0x4e7d4d){return _0x34c243===_0x4e7d4d;},_0x573d85[_0x3bc471(_0xbece2f._0x2ff61a,0x4a0)]=function(_0x21082c,_0x3b62a6){return _0x21082c!==_0x3b62a6;};function _0x3c277d(_0x211aa2,_0x3b67d8){return _0xa607d1(_0x3b67d8- -_0x7a3f30._0x3c026b,_0x211aa2);}_0x573d85[_0x3bc471(_0xbece2f._0x1cdbb8,_0xbece2f._0x35a9ca)]='GXdlU',_0x573d85[_0x3bc471(_0xbece2f._0x432082,0x468)]=function(_0x1296aa,_0x27d1b3){return _0x1296aa instanceof _0x27d1b3;},_0x573d85[_0x3bc471(0x4ad,0x4e7)]=function(_0x4d9d12,_0x3dd68b){return _0x4d9d12<_0x3dd68b;};const _0x49acfc=_0x573d85;if(!activeEngine)return;const {projectName:_0x38ed33,actors:_0x1b663b}=activeEngine,_0x5b1958=await readStateFile(),_0x5ad9e9={};if(_0x5b1958){if(_0x49acfc[_0x3c277d(0x1f9,_0xbece2f._0x20acd6)](_0x3c277d(_0xbece2f._0x5605b8,0x295),_0x3bc471(_0xbece2f._0xb15d88,_0xbece2f._0xb96946)))for(const [_0x2f2709,_0x195bb8]of Object['entries'](_0x5b1958[_0x3c277d(0x1da,_0xbece2f._0x344ad7)])){!_0x1b663b[_0x3bc471(0x512,_0xbece2f._0x10a32b)](_0x2f2709)&&(_0x49acfc[_0x3bc471(_0xbece2f._0x18c6de,_0xbece2f._0x5e7f9a)]('dZTsk',_0x49acfc['DJXCP'])?_0x5ad9e9[_0x2f2709]=_0x195bb8:_0x55aef5='completed');}else _0x433df5['log'](_0x3c277d(_0xbece2f._0x52d475,0x2e8));}const _0x12719d={};let _0x39fa80='completed';for(const [_0x24d9bf,_0x590ec0]of _0x1b663b){if('SkywQ'==='SkywQ'){const _0xde058b=_0x590ec0[_0x3bc471(_0xbece2f._0x102497,_0xbece2f._0x17ebcc)+'t'](),_0x4e307b=_0x49acfc[_0x3bc471(_0xbece2f._0x2768b2,_0xbece2f._0x5c4d45)](typeof _0xde058b['value'],_0x3c277d(_0xbece2f._0xc8c22,0x230))?_0xde058b[_0x3c277d(0x2eb,_0xbece2f._0x5d493d)]:_0x3bc471(0x520,_0xbece2f._0x54a6dd);_0x12719d[_0x24d9bf]={'agentId':_0x24d9bf,'parentId':_0xde058b['context']?.[_0x3bc471(_0xbece2f._0x8ca80f,_0xbece2f._0x4db5b8)]??null,'childIds':_0xde058b[_0x3c277d(0x1d7,0x247)]?.[_0x3c277d(_0xbece2f._0x328730,0x201)]??[],'phase':_0x4e307b,'currentOperation':_0xde058b[_0x3c277d(_0xbece2f._0x46597f,0x247)]?.[_0x3bc471(0x521,0x4d2)+'ration']??'','currentSkill':_0xde058b[_0x3bc471(0x4a2,_0xbece2f._0x256f4a)]?.['currentSki'+'ll']??''},_0x49acfc[_0x3c277d(0x267,_0xbece2f._0x365c26)](_0x4e307b,_0x49acfc[_0x3bc471(0x4b3,0x4e7)])&&(_0x39fa80=_0x4e307b);}else return _0x303c9d;}const _0x4cc460={..._0x5ad9e9,..._0x12719d},_0x552ee4=_0x4cc460;function _0x3bc471(_0x57a45a,_0x4d426e){return _0xa607d1(_0x57a45a- -_0xfac452._0x59cdfd,_0x4d426e);}for(const [,_0x5c2cd4]of Object[_0x3c277d(0x288,0x29f)](_0x5ad9e9)){_0x5c2cd4[_0x3bc471(_0xbece2f._0xb9e818,0x440)]!==_0x3bc471(_0xbece2f._0x5e6384,_0xbece2f._0x53a3f7)&&(_0x49acfc['pWJKA']('GXdlU',_0x49acfc[_0x3c277d(0x1ea,0x1db)])?_0x244dcd=_0x49acfc[_0x3c277d(_0xbece2f._0x3ddf2f,0x258)]:_0x39fa80=_0x5c2cd4[_0x3bc471(_0xbece2f._0xb9e818,0x4eb)]);}for(let _0x5c2ff6=-0x1*0x203+-0x2382+-0x55*-0x71;_0x5c2ff6<MAX_RETRIES;_0x5c2ff6++){try{const _0x145f55=new StateFileManager(STATE_FILE_PATH);await _0x145f55[_0x3bc471(0x4e6,0x524)]();const _0x5b7816={};_0x5b7816[_0x3bc471(0x437,_0xbece2f._0x3bf3f7)]=_0x38ed33,_0x5b7816[_0x3c277d(_0xbece2f._0x523d4b,0x300)+'se']=_0x39fa80;const _0x2464d6={};_0x2464d6['project']=_0x5b7816,_0x2464d6[_0x3bc471(_0xbece2f._0x2eccef,_0xbece2f._0x39e8cd)]=_0x552ee4,_0x2464d6[_0x3c277d(_0xbece2f._0x440809,0x2f2)+_0x3c277d(_0xbece2f._0x24dc7b,_0xbece2f._0x467a1f)]=null,await _0x145f55['write'](_0x2464d6);return;}catch(_0x2e0df9){if(_0x49acfc['vlSXJ'](_0x2e0df9,Error)&&_0x2e0df9[_0x3c277d(_0xbece2f._0x2fcde0,0x2d3)][_0x3bc471(0x45d,0x3f4)](_0x3bc471(0x44c,_0xbece2f._0x2af0b4))&&_0x49acfc[_0x3c277d(0x1ce,_0xbece2f._0x57cf27)](_0x5c2ff6,MAX_RETRIES-(-0xcc6+0x3*0x335+-0x4*-0xca))){await new Promise(_0x152c2b=>setTimeout(_0x152c2b,-0x1a1c+0x2664+-0xc16+Math[_0x3bc471(0x49a,0x451)]()*(-0x13c*0x2+0xbaa*-0x3+0x33*0xbe)));continue;}throw _0x2e0df9;}}}
|
|
1
|
+
(function(_0x32d319,_0x412558){const _0xfaa649={_0x4b0b0:0x1a,_0x21c87f:0x94,_0x5a8ca3:0x9f,_0x4766a2:0x1f7,_0x3da0a1:0x210,_0x512f0f:0x28a,_0x3a8e47:0x47,_0x8d1563:0x2ec,_0x35254b:0x5,_0x2159c0:0x56,_0xd345e4:0xc6,_0x1676af:0xf4,_0x3beec5:0x172},_0x4dad7f={_0x2634b5:0x1d7};function _0x4760ea(_0x5171a9,_0x22d0d4){return _0x22df(_0x5171a9- -_0x4dad7f._0x2634b5,_0x22d0d4);}function _0x14ce7f(_0x6d9d8,_0x54478e){return _0x22df(_0x6d9d8-0x75,_0x54478e);}const _0x2f7429=_0x32d319();while(!![]){try{const _0x1dd08d=-parseInt(_0x4760ea(_0xfaa649._0x4b0b0,_0xfaa649._0x21c87f))/(-0x1ab1*-0x1+-0x2*-0xf5+-0x1c9a)*(-parseInt(_0x4760ea(_0xfaa649._0x5a8ca3,0x37))/(0x1*0x778+-0x1c9c+0x1526))+-parseInt(_0x14ce7f(_0xfaa649._0x4766a2,0x1f0))/(0x1c37*0x1+0x1c61+-0x3895)*(parseInt(_0x14ce7f(_0xfaa649._0x3da0a1,_0xfaa649._0x512f0f))/(-0x1ea4+-0x4d0*0x8+-0x2294*-0x2))+-parseInt(_0x14ce7f(0x2b5,0x271))/(0x1*-0x1523+0x541*0x7+-0xf9f*0x1)*(-parseInt(_0x4760ea(-0x25,-0x31))/(0x7f*0x13+-0xbb5+0x24e))+-parseInt(_0x4760ea(_0xfaa649._0x3a8e47,-0x59))/(-0x66b+0x1c1c+-0x15aa)*(parseInt(_0x14ce7f(_0xfaa649._0x8d1563,0x2c7))/(0x139c+0x1e19+0x1b*-0x1d7))+parseInt(_0x4760ea(_0xfaa649._0x35254b,-0x24))/(-0x62*0x2f+-0xa*-0x4c+0xf0f)*(parseInt(_0x4760ea(0x9b,_0xfaa649._0x2159c0))/(0x167b+-0xf6f*-0x1+-0x1*0x25e0))+-parseInt(_0x4760ea(_0xfaa649._0xd345e4,0x94))/(0x1*-0x1a31+-0x94b+-0x6b*-0x55)+parseInt(_0x4760ea(_0xfaa649._0x1676af,_0xfaa649._0x3beec5))/(0x1*0xf3c+-0xb2f+-0x401);if(_0x1dd08d===_0x412558)break;else _0x2f7429['push'](_0x2f7429['shift']());}catch(_0x1bbe56){_0x2f7429['push'](_0x2f7429['shift']());}}}(_0x468c,0x223e9+-0x345bb+-0xbe3*-0x43));import{createActor}from'xstate';import{agentMachine}from'./machines/agentMachine.js';import{supervisorMachine}from'./machines/supervisorMachine.js';import{StateFileManager}from'./persistence/stateFile.js';import{PHASES,PIPELINE_PHASES}from'./types/index.js';import{loadTechContext}from'./context/index.js';import{generateAgentId}from'./utils/id.js';import{readFileSync,existsSync,mkdirSync}from'node:fs';import{resolve}from'node:path';const _0x33ab0a={};function _0x104d2d(_0x1133bb,_0x3529a9){return _0x22df(_0x1133bb- -0x1a8,_0x3529a9);}_0x33ab0a[_0x54f219(-0xc2,-0xbf)+'lysis']=_0x104d2d(0x26,0x41),_0x33ab0a[_0x54f219(-0xa4,-0xd7)+_0x104d2d(0xa9,0x12a)]=_0x104d2d(-0x24,0x87),_0x33ab0a[_0x54f219(-0x48,0x10)+_0x54f219(-0x65,0x30)]=_0x54f219(-0x17b,-0x137),_0x33ab0a['tech_selec'+_0x54f219(-0x33,0xe)]=_0x104d2d(0xb8,0x107),_0x33ab0a[_0x54f219(-0x2c,0x2a)]='讨论',_0x33ab0a[_0x54f219(-0x14c,-0x1f5)]='规划',_0x33ab0a['execute']='执行',_0x33ab0a['verify']='验证';const PHASE_NAMES=_0x33ab0a,STATE_FILE_PATH=resolve(process[_0x104d2d(-0x1f,0x4d)](),_0x104d2d(-0x7,0x51),'state.json');let activeEngine=null;export async function startEngine(_0x5ad550){const _0x2bb53f={_0x557696:0xff,_0x5e2ae8:0xa3,_0x574a20:0x119,_0x1af07d:0x112,_0x35ac0e:0x15,_0x41899c:0x2a,_0x43798f:0xbe,_0x378616:0x5,_0xc8c0d4:0x88,_0x3b6f44:0xa9,_0x3b4965:0x88,_0x132994:0xe1,_0x46305b:0x78,_0xf2fac5:0x58,_0x2e2adb:0x3d,_0x42ca97:0x104,_0x7b21c8:0x3d,_0x340b61:0xa9,_0x135083:0x156,_0x1aa5d3:0x46,_0x644a9:0x40,_0x2fc5e5:0xd8,_0x1c0c58:0x6d,_0x4c9a07:0x8e,_0x233b8b:0xd1,_0x54dc11:0x15d,_0x2e685a:0x120,_0x26ec3d:0x1c0,_0x54c23c:0x3f,_0xe0cbfe:0x1fe,_0x2bd5b1:0xfc,_0xf44cf6:0x55,_0x14ab13:0x52,_0x11ddc1:0x12,_0x4b98ac:0x9,_0xc8ad24:0xd1,_0x41bed0:0xc2,_0x21dc57:0xe2,_0x65d0a3:0x75,_0x130a95:0xc,_0x4d2507:0x223,_0x3551a7:0xa5,_0x370e57:0xd3,_0x3dd664:0x54,_0x23368d:0xd9,_0x2c78a0:0x10,_0x49fe6e:0x1ce,_0x1ebae6:0x1d6,_0x9a3810:0xe6,_0x4301d5:0xa6,_0x297553:0x1a3,_0x22ee4b:0x172,_0x5e5d37:0x107,_0x409bcd:0xce,_0x2f5efe:0xb4,_0x51b672:0xaf,_0x2acf5d:0x8c,_0x3150b0:0x145,_0x5ab0c8:0x165,_0x18e7ad:0xd4,_0x22a019:0xe4,_0x297d2d:0x51,_0x464a46:0xed,_0x27ca18:0x4f,_0x3e4510:0x97,_0x5b40ac:0xc5,_0x579b9e:0x16e,_0x2cec60:0x1ac,_0x3da1a9:0x76,_0x165c2a:0xb0,_0x5278b6:0x143,_0x25c3bb:0xa3,_0x4c6474:0x70,_0x2e516e:0x124},_0x209469={_0x1198cc:0x1d6},_0x1cbee6={_0x62bd0:0x122},_0x569f5f={'Pgeen':_0x3e81b7(-0x1fb,-0x19d),'Dlecz':'\x20→\x20','hLttz':function(_0x2e0c03,_0x331ba3){return _0x2e0c03>_0x331ba3;},'egBVQ':function(_0x3374d5){return _0x3374d5();},'IVvsh':function(_0x53de3d,_0x389023){return _0x53de3d<_0x389023;},'cnZDw':function(_0x47d117){return _0x47d117();},'Ehbcv':_0x43097a(_0x2bb53f._0x557696,_0x2bb53f._0x5e2ae8)+_0x3e81b7(-_0x2bb53f._0x574a20,-_0x2bb53f._0x1af07d),'ppAca':function(_0x176a0b,_0x2fc037){return _0x176a0b+_0x2fc037;},'dTgZX':function(_0x29bcb3,_0xe1622a){return _0x29bcb3!==_0xe1622a;},'mOhYo':'hwKGP','bfeiN':_0x3e81b7(-0x116,-0xaf)+'用\x20advance/'+_0x43097a(_0x2bb53f._0x35ac0e,0x2b)+_0x43097a(_0x2bb53f._0x41899c,0xb6)+'段'},{projectName:_0x51f6b3,agentCount:agentCount=0x25e1*0x1+0x1*0x2709+-0x4ce9,phases:phases=PHASES}=_0x5ad550,_0x149e1c=new Map();function _0x43097a(_0x39df4e,_0x47a8e0){return _0x54f219(_0x47a8e0-_0x1cbee6._0x62bd0,_0x39df4e);}function _0x3e81b7(_0x1d48de,_0x549059){return _0x104d2d(_0x1d48de- -_0x209469._0x1198cc,_0x549059);}console[_0x3e81b7(-0x124,-0x16e)](_0x43097a(-0x9,0x45)+_0x43097a(_0x2bb53f._0x43798f,0xd6)+'擎'),console[_0x43097a(-_0x2bb53f._0x378616,_0x2bb53f._0xc8c0d4)]('\x20\x20\x20项目:\x20'+_0x51f6b3),console[_0x43097a(_0x2bb53f._0x3b6f44,_0x2bb53f._0x3b4965)](_0x3e81b7(-0xe0,-0x12d)+'量:\x20'+agentCount),console[_0x3e81b7(-0x124,-0x154)](_0x43097a(_0x2bb53f._0x132994,_0x2bb53f._0x46305b)+phases['map'](_0x11ce5e=>PHASE_NAMES[_0x11ce5e]??_0x11ce5e)[_0x43097a(-_0x2bb53f._0xf2fac5,-0x28)](_0x569f5f[_0x43097a(_0x2bb53f._0x2e2adb,0xa2)])+'\x0a');let _0x65ef7e=null;try{_0x65ef7e=loadTechContext(),_0x65ef7e&&console[_0x43097a(_0x2bb53f._0x42ca97,0x88)](_0x43097a(-_0x2bb53f._0x7b21c8,-0x34));}catch(_0x2b5c78){console[_0x43097a(0x12,_0x2bb53f._0x340b61)]('⚠️\x20\x20加载技术上下文'+_0x3e81b7(-0x18b,-0x123),_0x2b5c78);}let _0x273471=null;if(_0x569f5f[_0x43097a(_0x2bb53f._0x135083,0xf5)](agentCount,0x19*0x13f+-0x28a*0xe+0x466*0x1)){const _0x3607a6=_0x569f5f[_0x43097a(_0x2bb53f._0x1aa5d3,0x19)](generateAgentId),_0x332c2f={};_0x332c2f[_0x43097a(-_0x2bb53f._0x644a9,0x67)]=_0x3607a6;const _0x1eaef5={};_0x1eaef5[_0x3e81b7(-_0x2bb53f._0x2fc5e5,-_0x2bb53f._0x1af07d)]=_0x332c2f,_0x273471=createActor(supervisorMachine,_0x1eaef5),_0x273471[_0x43097a(_0x2bb53f._0x1c0c58,0x51)]();const _0x2e8c2b={};_0x2e8c2b[_0x3e81b7(-0x1a3,-0x222)]=_0x43097a(_0x2bb53f._0x4c9a07,0x3b)+'E',_0x2e8c2b['phase']=phases[-0xa0*-0x38+0x10c0+-0x33c0],_0x273471[_0x3e81b7(-_0x2bb53f._0x233b8b,-_0x2bb53f._0x54dc11)](_0x2e8c2b),console['log']('['+_0x3607a6+(']\x20Supervis'+_0x43097a(_0x2bb53f._0x46305b,0x86)));for(let _0x252667=-0xcd8+0x1c5f*0x1+-0x3*0x52d;_0x569f5f['IVvsh'](_0x252667,agentCount);_0x252667++){const _0x264486=_0x569f5f[_0x3e81b7(-_0x2bb53f._0x2e685a,-_0x2bb53f._0x26ec3d)](generateAgentId);_0x273471[_0x43097a(_0x2bb53f._0x54c23c,0xdb)]({'type':_0x569f5f[_0x43097a(0x4e,0x7c)],'childId':_0x264486,'task':_0x3e81b7(-0x1df,-0x20f)+_0x569f5f[_0x3e81b7(-_0x2bb53f._0xe0cbfe,-0x270)](_0x252667,0x1*-0x1f9c+0xed*-0x3+-0x1132*-0x2)});const _0x228111={};_0x228111[_0x43097a(_0x2bb53f._0x2bd5b1,0x67)]=_0x264486,_0x228111[_0x3e81b7(-0xd3,-_0x2bb53f._0xf44cf6)]=_0x3607a6,_0x228111[_0x43097a(0x99,_0x2bb53f._0x14ab13)]=phases;const _0x36f886={};_0x36f886[_0x43097a(0xff,0xd4)]=_0x228111;const _0xaa9f4=createActor(agentMachine,_0x36f886);_0xaa9f4[_0x3e81b7(-0x15b,-0x1b5)]();const _0x4ec361={};_0x4ec361[_0x43097a(-_0x2bb53f._0x11ddc1,_0x2bb53f._0x4b98ac)]='START',_0xaa9f4[_0x3e81b7(-_0x2bb53f._0xc8ad24,-0x84)](_0x4ec361),_0x149e1c[_0x43097a(0x128,0xaf)](_0x264486,_0xaa9f4),console[_0x43097a(_0x2bb53f._0x41bed0,_0x2bb53f._0x3b4965)]('['+_0x3607a6+(_0x3e81b7(-0x163,-0x1b2)+'t:\x20')+_0x264486);}}else{if(_0x569f5f[_0x3e81b7(-_0x2bb53f._0x21dc57,-_0x2bb53f._0x65d0a3)](_0x569f5f[_0x43097a(-0x94,_0x2bb53f._0x130a95)],_0x569f5f[_0x3e81b7(-0x1a0,-_0x2bb53f._0x4d2507)])){if(!_0x1408e6[_0x3e81b7(-0x117,-_0x2bb53f._0x3551a7)](_0x1f5214)){const _0x118ef2=_0x2398ac[_0x1a5768],_0x4ac90c={};_0x4ac90c[_0x43097a(0xd2,0x67)]=_0x275e78,_0x4ac90c[_0x3e81b7(-_0x2bb53f._0x370e57,-0x102)]=_0x118ef2[_0x43097a(_0x2bb53f._0x3dd664,_0x2bb53f._0x23368d)]??_0x1b741b;const _0xfb77d6={};_0xfb77d6[_0x3e81b7(-0xd8,-0x5e)]=_0x4ac90c;const _0x40e4d8=_0x1a39a2(_0xfb2427,_0xfb77d6);_0x40e4d8[_0x3e81b7(-0x15b,-0x1c1)]();const _0x189abc={};_0x189abc[_0x43097a(_0x2bb53f._0x2c78a0,_0x2bb53f._0x4b98ac)]=_0x569f5f[_0x3e81b7(-_0x2bb53f._0x49fe6e,-_0x2bb53f._0x1ebae6)],_0x40e4d8['send'](_0x189abc);for(let _0x46604f=0x3e2+0x141e+-0x1800;_0x46604f<_0x22b405[_0x43097a(_0x2bb53f._0x9a3810,_0x2bb53f._0x4301d5)];_0x46604f++){const _0x555de3={};_0x555de3[_0x3e81b7(-_0x2bb53f._0x297553,-_0x2bb53f._0x22ee4b)]='PHASE_COMP'+_0x43097a(_0x2bb53f._0x5e5d37,_0x2bb53f._0x409bcd),_0x40e4d8[_0x3e81b7(-_0x2bb53f._0x233b8b,-_0x2bb53f._0x2f5efe)](_0x555de3);}_0x2c8b80[_0x43097a(0x13d,_0x2bb53f._0x51b672)](_0x21152b,_0x40e4d8);}}else{const _0x5c0e6d=_0x569f5f[_0x43097a(0x98,_0x2bb53f._0x2acf5d)](generateAgentId),_0x1efd16={};_0x1efd16[_0x3e81b7(-_0x2bb53f._0x3150b0,-_0x2bb53f._0x5ab0c8)]=_0x5c0e6d,_0x1efd16[_0x43097a(0x6d,0x52)]=phases;const _0x51c4df={};_0x51c4df[_0x43097a(_0x2bb53f._0x54dc11,_0x2bb53f._0x18e7ad)]=_0x1efd16;const _0x567e5f=createActor(agentMachine,_0x51c4df);_0x567e5f[_0x43097a(_0x2bb53f._0x22a019,_0x2bb53f._0x297d2d)]();const _0x5afbb3={};_0x5afbb3[_0x3e81b7(-_0x2bb53f._0x297553,-0x24a)]=_0x43097a(-_0x2bb53f._0x464a46,-_0x2bb53f._0x27ca18),_0x567e5f[_0x43097a(_0x2bb53f._0x3e4510,0xdb)](_0x5afbb3),_0x149e1c[_0x43097a(_0x2bb53f._0x5b40ac,0xaf)](_0x5c0e6d,_0x567e5f),console[_0x3e81b7(-0x124,-_0x2bb53f._0x18e7ad)]('['+_0x5c0e6d+(_0x3e81b7(-_0x2bb53f._0x579b9e,-_0x2bb53f._0x2cec60)+_0x43097a(_0x2bb53f._0x3da1a9,_0x2bb53f._0x165c2a)));}}const _0x4834e4={};_0x4834e4['projectNam'+'e']=_0x51f6b3,_0x4834e4[_0x3e81b7(-0x15a,-0x1ff)]=phases,_0x4834e4[_0x3e81b7(-_0x2bb53f._0x5278b6,-0xd7)]=_0x149e1c,_0x4834e4[_0x43097a(_0x2bb53f._0x25c3bb,0xd)+'Actor']=_0x273471,_0x4834e4[_0x43097a(_0x2bb53f._0x4c6474,0x2)+'t']=_0x65ef7e,activeEngine=_0x4834e4,await persistCurrentState(),console[_0x3e81b7(-_0x2bb53f._0x2e516e,-0x84)](_0x569f5f['bfeiN']);}export async function advancePhase(_0x237c25){const _0x47aa98={_0x2e4a67:0x237,_0x5c93b6:0x13c,_0x2130b5:0x127,_0x538d92:0x39f,_0x316c23:0x303,_0x377bdb:0x1d6,_0x419fdf:0x460,_0x583045:0x483,_0x560723:0x1df,_0x3f85d7:0x22e,_0x4f82ef:0x412,_0xfeac34:0x3d8,_0x93faab:0x338,_0x2a79c2:0x3c1,_0x3a8109:0x166,_0xe86a12:0x1ad,_0x13711a:0x1ce,_0x394b93:0x450,_0x1ebf77:0x462,_0x147a38:0x43f,_0x36e5f0:0x4d7,_0x542025:0x18d,_0x422d41:0x219,_0x144f2c:0x166,_0x1e521f:0x130,_0x31b711:0x269,_0x1b5512:0x219,_0x2a8dc3:0x435,_0x49ab2c:0x445,_0x276ed1:0x491,_0x513795:0x3f0,_0x40397b:0x34d,_0x35bfe4:0x32d,_0x320806:0xee,_0x3a7f9b:0x170,_0x338737:0x1b5,_0x215064:0x221,_0x295cb0:0xbc,_0x5752fc:0x14e,_0x1b1ce1:0x3ac,_0x57acd4:0x471,_0x3b3336:0xb4,_0x1e46b7:0x6e,_0x13379a:0x116,_0x7bf294:0x1f2,_0x2d9f7a:0x196,_0x43262c:0x226,_0x6393f1:0x30c,_0x342d71:0x293,_0x442162:0x301,_0x21361e:0x4af,_0x997a70:0x443,_0xce90a2:0x14f,_0x1d6201:0x3b8,_0x3fd06f:0x41d,_0x2e8141:0x464,_0x22448a:0x2bb,_0x5f26da:0x42c,_0x1ad820:0x3df,_0x4d888b:0x3b3,_0x162567:0x3f0,_0x45ae28:0x3e9,_0x450c13:0x33f},_0x2e48a0={_0x3de9bd:0x268};function _0x1cb85c(_0xfdd49a,_0x53e64d){return _0x104d2d(_0xfdd49a-0x33e,_0x53e64d);}function _0x51d667(_0x200865,_0x4971fe){return _0x54f219(_0x4971fe-_0x2e48a0._0x3de9bd,_0x200865);}const _0x5c7c00={'foAZm':'ALL_CHILDR'+'EN_DONE','WfwZZ':'📋\x20已加载技术上下文','dnWRs':function(_0x143e45,_0x4b7518){return _0x143e45===_0x4b7518;},'sIgRf':_0x51d667(0x228,_0x47aa98._0x2e4a67),'ifwPa':_0x51d667(_0x47aa98._0x5c93b6,_0x47aa98._0x2130b5),'jjIaB':function(_0x46694f,_0x114797){return _0x46694f===_0x114797;},'fxXGO':'completed','EGfYW':_0x1cb85c(_0x47aa98._0x538d92,_0x47aa98._0x316c23)+_0x51d667(0x22a,0x214),'qcowI':function(_0x60ac74,_0x8acf77){return _0x60ac74===_0x8acf77;},'UdBfi':function(_0x315ea9){return _0x315ea9();},'sPxBq':function(_0x17be5b){return _0x17be5b();},'ECJUi':'⚠️\x20\x20无活跃引擎且状'+'态文件不存在,请先运'+_0x51d667(_0x47aa98._0x377bdb,0x241)+_0x1cb85c(_0x47aa98._0x419fdf,_0x47aa98._0x583045)+'t\x20命令','MCisy':_0x51d667(_0x47aa98._0x560723,_0x47aa98._0x3f85d7)+_0x1cb85c(_0x47aa98._0x4f82ef,_0x47aa98._0xfeac34)};if(activeEngine){if(_0x5c7c00[_0x1cb85c(_0x47aa98._0x93faab,_0x47aa98._0x2a79c2)](_0x51d667(_0x47aa98._0x3a8109,0xf5),'QXbsr')){const {actors:_0x324b52}=activeEngine,_0x5906a2=_0x237c25??findFirstIncompleteAgent(_0x324b52);if(!_0x5906a2){if(_0x51d667(0xc0,0x125)==='QQzZi'){if(_0x237c25){await advancePhaseViaFile(_0x237c25);return;}console[_0x51d667(_0x47aa98._0xe86a12,_0x47aa98._0x13711a)](_0x1cb85c(_0x47aa98._0x394b93,_0x47aa98._0x1ebf77)+_0x51d667(0x14f,0x1f0));return;}else{const _0xfdb7bf=_0x21bb66[_0x34282d]['phase'];_0x1db6b2[_0xfdb7bf]=(_0x1653d8[_0xfdb7bf]??-0x1f*-0x8b+0x1*0x1dc5+0x952*-0x5)+(0x11bd+0x529*-0x4+0xba*0x4);}}const _0xf76d71=_0x324b52[_0x1cb85c(_0x47aa98._0x147a38,_0x47aa98._0x36e5f0)](_0x5906a2);if(!_0xf76d71){await advancePhaseViaFile(_0x5906a2);return;}const _0x280956=_0xf76d71[_0x51d667(_0x47aa98._0x542025,0x111)+'t'](),_0x3b2ece=typeof _0x280956[_0x51d667(0x1bd,_0x47aa98._0x422d41)]===_0x5c7c00[_0x51d667(_0x47aa98._0x144f2c,_0x47aa98._0x1e521f)]?_0x280956[_0x51d667(_0x47aa98._0x31b711,_0x47aa98._0x1b5512)]:_0x5c7c00[_0x1cb85c(_0x47aa98._0x2a8dc3,0x450)];if(_0x5c7c00[_0x1cb85c(_0x47aa98._0x49ab2c,_0x47aa98._0x276ed1)](_0x3b2ece,_0x5c7c00['fxXGO'])){console[_0x1cb85c(_0x47aa98._0x513795,_0x47aa98._0x40397b)]('['+_0x5906a2+_0x1cb85c(0x362,_0x47aa98._0x35bfe4));return;}const _0x4f9a96={};_0x4f9a96[_0x51d667(_0x47aa98._0x320806,0x14f)]=_0x5c7c00[_0x51d667(_0x47aa98._0x3a7f9b,_0x47aa98._0x338737)],_0xf76d71[_0x51d667(0x19c,_0x47aa98._0x215064)](_0x4f9a96);const _0x3312ff=_0xf76d71[_0x51d667(_0x47aa98._0x295cb0,0x111)+'t'](),_0x25dcf7=_0x5c7c00[_0x51d667(0xa6,_0x47aa98._0x5752fc)](typeof _0x3312ff['value'],_0x5c7c00['sIgRf'])?_0x3312ff[_0x1cb85c(0x43b,_0x47aa98._0x1b1ce1)]:_0x51d667(0x1b1,0x127),_0x1d0042=PHASE_NAMES[_0x3b2ece]??_0x3b2ece,_0x3b7d5b=PHASE_NAMES[_0x25dcf7]??_0x25dcf7;console[_0x1cb85c(_0x47aa98._0x513795,_0x47aa98._0x57acd4)]('['+_0x5906a2+']\x20'+_0x1d0042+_0x51d667(_0x47aa98._0x3b3336,0x154)+_0x3b7d5b),await _0x5c7c00['UdBfi'](persistCurrentState);_0x5c7c00[_0x51d667(_0x47aa98._0x1e46b7,_0x47aa98._0x13379a)](_0x25dcf7,_0x1cb85c(0x3da,0x356))&&(console[_0x51d667(_0x47aa98._0x7bf294,0x1ce)](_0x1cb85c(0x3ce,0x389)+_0x5906a2+_0x1cb85c(_0x47aa98._0x4f82ef,0x3b6)),checkAllComplete());return;}else{for(const [_0x380985]of _0x5cc2dd['actors']){const _0x1d800f={};_0x1d800f[_0x51d667(_0x47aa98._0x2d9f7a,_0x47aa98._0x43262c)]=_0x51d667(0xc4,0x144);const _0x46d93e={};_0x46d93e[_0x1cb85c(0x371,_0x47aa98._0x6393f1)]=_0x51d667(0x16d,0x18e)+'LETE',_0x46d93e[_0x51d667(0xa0,0x11f)]=_0x380985,_0x46d93e[_0x1cb85c(0x321,_0x47aa98._0x342d71)]=_0x1d800f,_0x3d19b6[_0x1cb85c(0x375,_0x47aa98._0x442162)+_0x1cb85c(0x440,_0x47aa98._0x21361e)][_0x1cb85c(_0x47aa98._0x997a70,0x3b0)](_0x46d93e);}const _0x141ddb={};_0x141ddb[_0x1cb85c(0x371,0x32e)]=_0x5c7c00['foAZm'],_0x1f2e85['supervisor'+'Actor']['send'](_0x141ddb);const _0x532bc5={};_0x532bc5[_0x51d667(0xb1,_0x47aa98._0xce90a2)]=_0x1cb85c(_0x47aa98._0x538d92,0x3f8)+_0x51d667(0x224,0x214),_0x52694e['supervisor'+_0x1cb85c(0x440,_0x47aa98._0x1d6201)]['send'](_0x532bc5);}}if(_0x237c25)await advancePhaseViaFile(_0x237c25);else{if(_0x5c7c00[_0x51d667(0xae,0x116)](_0x1cb85c(_0x47aa98._0x3fd06f,_0x47aa98._0x2e8141),_0x51d667(0x9d,0x146)))_0xcc5325=_0x5cc3e0(),_0x19b8a9&&_0x53e94c['log'](_0x5c7c00[_0x1cb85c(0x31d,_0x47aa98._0x22448a)]);else{const _0x340b86=await _0x5c7c00[_0x1cb85c(0x3c7,_0x47aa98._0x5f26da)](readStateFile);if(!_0x340b86){console[_0x1cb85c(0x3f0,0x3fc)](_0x5c7c00[_0x1cb85c(_0x47aa98._0x1ad820,0x37f)]);return;}const _0x4b9849=Object[_0x1cb85c(_0x47aa98._0x4d888b,0x35a)](_0x340b86['agents'])['find'](_0x4c6abf=>_0x340b86[_0x51d667(0x196,0x193)][_0x4c6abf][_0x1cb85c(0x3ac,0x399)]!=='completed');if(!_0x4b9849){console[_0x1cb85c(_0x47aa98._0x162567,_0x47aa98._0x45ae28)](_0x5c7c00[_0x1cb85c(_0x47aa98._0x450c13,0x389)]);return;}await advancePhaseViaFile(_0x4b9849);}}}async function advancePhaseViaFile(_0x23871d){const _0x520a2a={_0x1271e7:0x138,_0x504b1f:0x112,_0x2b24e5:0x131,_0x227a86:0xa9,_0x2ae766:0x17c,_0x39d812:0x10a,_0x24d2ea:0x64,_0x3c060e:0x13a,_0x9ab2ba:0x31,_0x2ca6f6:0xb1,_0x2e447a:0x55,_0x5950b4:0x79,_0x4fe69b:0x5f,_0x526ae2:0xd5,_0x5db383:0x21,_0x49a091:0xb3,_0x75ae46:0xf6,_0x2a423d:0xbd,_0xb7933c:0xad,_0x5bd59a:0xbb,_0x303802:0x8d,_0x3ccfaf:0xe,_0x50c6e4:0x77,_0x6b793b:0x3a,_0x5f48cb:0x89,_0x109f45:0xba,_0x18d465:0xb6,_0x2ccd1f:0xae,_0x12535f:0x8a,_0x2a4930:0x41,_0xa72363:0xab,_0x56086c:0xd9,_0x53e916:0xf1,_0x8fe585:0x101,_0x437818:0xce,_0x426ee2:0x14a,_0x5ae96b:0xbc,_0x278584:0x1a,_0x292bab:0x74,_0xc3acfb:0x14b,_0x2c37c0:0xdb,_0x3a9fbe:0xab,_0x29ff30:0x3e,_0x137563:0x8d,_0x4ef402:0x8c,_0x485b24:0x81,_0x20e83b:0x14a,_0x18c90c:0x191,_0x2b2f43:0x95,_0x24c9ff:0x7,_0x1865a1:0xc5,_0x40ad22:0xd0,_0x23c61b:0x74,_0x43a919:0x129,_0x243544:0x5d,_0x1a107f:0x12a,_0xc308e9:0x62,_0x4497f0:0xb0,_0x4163e2:0x119,_0x133eea:0xc8,_0x188a39:0x3,_0x34c755:0x32},_0xdf9139={'bmjYj':'⚠️\x20\x20状态文件不存在'+_0x1f4666(-0xd1,-0x3a)+_0x1f4666(-0x3d,-0xb),'eqMhx':_0x5c0186(-_0x520a2a._0x1271e7,-0x11e),'hUOgh':function(_0xc05ee0,_0x5182e0){return _0xc05ee0+_0x5182e0;},'aYoIy':_0x5c0186(-0x4a,-0x8d),'PirWE':function(_0x23f4e5){return _0x23f4e5();},'TIAWg':function(_0x2de895,_0x232e38){return _0x2de895!==_0x232e38;},'PSbXo':_0x5c0186(-0x167,-_0x520a2a._0x504b1f),'tBfgN':'⚠️\x20\x20状态文件不存在','FSEGF':function(_0x44a0a5,_0x3b7b47){return _0x44a0a5===_0x3b7b47;},'rZgfm':function(_0x3742cc,_0x167925){return _0x3742cc>=_0x167925;},'mGsqw':function(_0x40b9ce,_0x249c1b){return _0x40b9ce-_0x249c1b;},'XKkIo':function(_0x1ffe22,_0x20bf71){return _0x1ffe22<_0x20bf71;},'aepby':function(_0x285a26,_0x546f3b){return _0x285a26+_0x546f3b;},'wwAKi':function(_0x1daca1,_0x4719ed){return _0x1daca1<_0x4719ed;},'BPJEE':function(_0x25d4c5,_0x4e80b0){return _0x25d4c5-_0x4e80b0;},'ZukcL':'NRSXP','mQXUG':_0x1f4666(-0x10d,-_0x520a2a._0x2b24e5),'GcZWn':function(_0x5674e0,_0x422e11){return _0x5674e0===_0x422e11;},'KOFKu':_0x5c0186(-_0x520a2a._0x227a86,-0x54),'OGvYa':function(_0x523987,_0x41c2c0){return _0x523987!==_0x41c2c0;},'MGmfk':function(_0xc3d9c5,_0x4b47c0){return _0xc3d9c5(_0x4b47c0);},'qQYdw':_0x5c0186(-_0x520a2a._0x2ae766,-_0x520a2a._0x39d812)},_0x3c8960=await _0xdf9139[_0x1f4666(-_0x520a2a._0x24d2ea,-0xb7)](readStateFile);if(!_0x3c8960){if(_0xdf9139[_0x5c0186(-0xdb,-0xb1)]('knKSk',_0xdf9139[_0x1f4666(-_0x520a2a._0x3c060e,-0x136)])){console[_0x1f4666(-0x76,-0xd2)](_0xdf9139[_0x1f4666(-0x44,_0x520a2a._0x9ab2ba)]);return;}else{_0x4404f[_0x1f4666(-0x76,-0x2e)](_0xdf9139['bmjYj']);return;}}const _0x425cbc=_0x3c8960[_0x1f4666(-_0x520a2a._0x2ca6f6,-0x7b)][_0x23871d];function _0x1f4666(_0x10ebb5,_0x240aaf){return _0x104d2d(_0x10ebb5- -0x128,_0x240aaf);}if(!_0x425cbc){if(_0xdf9139[_0x5c0186(-_0x520a2a._0x2e447a,-0xb1)](_0x1f4666(-0x38,-_0x520a2a._0x5950b4),'PyRnS')){console['log'](_0x5c0186(-0x8c,-0xdd)+_0x23871d+(_0x1f4666(-_0x520a2a._0x4fe69b,-_0x520a2a._0x526ae2)+_0x1f4666(-0x4d,-_0x520a2a._0x5db383)));return;}else{const _0x31a323={};_0x31a323[_0x5c0186(-_0x520a2a._0x49a091,-_0x520a2a._0x75ae46)]=_0x1f4666(-0xc7,-0xd7)+_0x5c0186(-_0x520a2a._0x2a423d,-_0x520a2a._0x9ab2ba),_0x393cf9['send'](_0x31a323);}}if(_0xdf9139['FSEGF'](_0x425cbc[_0x5c0186(-_0x520a2a._0xb7933c,-_0x520a2a._0x5bd59a)],_0x5c0186(-0xab,-_0x520a2a._0x303802))){console[_0x5c0186(_0x520a2a._0x3ccfaf,-_0x520a2a._0x50c6e4)]('['+_0x23871d+']\x20已完成全部阶段');return;}const _0x3e1668=[...PHASES,...PIPELINE_PHASES],_0x38be51=_0x3e1668['indexOf'](_0x425cbc['phase']);let _0x4b2598;if(_0xdf9139['rZgfm'](_0x38be51,0x3a*-0x9+-0x1643+0x184d)&&_0x38be51<_0xdf9139[_0x1f4666(-0xb4,-_0x520a2a._0x6b793b)](_0x3e1668['length'],0x1abe+0x391*-0x7+-0x2*0xe3)){const _0x5a4041=PHASES[_0x1f4666(-_0x520a2a._0x5f48cb,-0xb2)](_0x425cbc[_0x1f4666(-_0x520a2a._0x109f45,-_0x520a2a._0x18d465)]),_0x21c00c=PIPELINE_PHASES[_0x5c0186(-_0x520a2a._0x2ccd1f,-_0x520a2a._0x12535f)](_0x425cbc[_0x1f4666(-0xba,-_0x520a2a._0x2a4930)]);if(_0x5a4041>=0xed5+0x1e06+-0x2cdb)_0xdf9139[_0x5c0186(0x37,-0x6f)](_0x5a4041,PHASES['length']-(-0xd*0xd6+0x1279+-0x79a))?_0x4b2598=PHASES[_0xdf9139[_0x5c0186(-_0x520a2a._0x2a4930,-0x93)](_0x5a4041,-0x1*-0x2581+0x4b*0x3c+0x3*-0x125c)]:_0x4b2598=_0x1f4666(-0x8c,-0x90);else{if(_0x21c00c>=0x20f*-0x9+0x55*0x40+0x11*-0x29){if(_0xdf9139[_0x5c0186(-_0x520a2a._0xa72363,-0xd7)](_0x21c00c,_0xdf9139[_0x1f4666(-0xf8,-_0x520a2a._0x56086c)](PIPELINE_PHASES[_0x5c0186(-_0x520a2a._0x53e916,-0x59)],0xf90+-0xc52*-0x1+-0x1be1)))_0x4b2598=PIPELINE_PHASES[_0x21c00c+(0x2276+0xdfe+-0x3073)];else{if(_0xdf9139['ZukcL']!==_0x5c0186(-_0x520a2a._0x8fe585,-_0x520a2a._0x437818))return _0x4510b2;else _0x4b2598=_0xdf9139[_0x1f4666(-_0x520a2a._0x426ee2,-_0x520a2a._0x5ae96b)];}}else _0x4b2598=_0x1f4666(-0x8c,-0x35);}}else{if(_0x425cbc['phase']===_0xdf9139['mQXUG'])_0x4b2598=PHASES[-0x2693+0x2466+0x1*0x22d];else{if(_0x5c0186(0x72,-_0x520a2a._0x278584)!==_0x1f4666(-0x19,-0x4)){const _0x32ec3e=_0x57537a[_0x5c0186(-0xe3,-0x134)+'t'](),_0x2f2bae=typeof _0x32ec3e[_0x5c0186(0x5,-0x2c)]===_0x5c0186(-0x1c,-0xe)?_0x32ec3e[_0x1f4666(-0x2b,0x6)]:_0xdf9139[_0x5c0186(-_0x520a2a._0x292bab,-0xe2)];if(_0x2f2bae!=='completed')return;}else _0x4b2598=_0xdf9139[_0x5c0186(-0x1a0,-_0x520a2a._0xc3acfb)];}}const _0x38d226=PHASE_NAMES[_0x425cbc[_0x1f4666(-0xba,-0x15c)]]??_0x425cbc['phase'],_0x381651=PHASE_NAMES[_0x4b2598]??_0x4b2598,_0x43b98d={..._0x3c8960[_0x5c0186(-_0x520a2a._0x2c37c0,-0xb2)]},_0x530eb1=_0x43b98d,_0x359d5c={..._0x425cbc};_0x359d5c[_0x5c0186(-0xa2,-0xbb)]=_0x4b2598,_0x359d5c[_0x1f4666(-_0x520a2a._0x3a9fbe,-0x6e)+'ration']='',_0x359d5c[_0x5c0186(-_0x520a2a._0x29ff30,-0xa1)+'ll']='',_0x530eb1[_0x23871d]=_0x359d5c;let _0x250261=_0x5c0186(-0x39,-_0x520a2a._0x137563);function _0x5c0186(_0x3175f1,_0x496576){return _0x104d2d(_0x496576- -0x129,_0x3175f1);}for(const _0x181e8e of Object[_0x1f4666(-0xb3,-0x127)](_0x530eb1)){if(_0xdf9139[_0x1f4666(-_0x520a2a._0x3ccfaf,0x9e)](_0x5c0186(-_0x520a2a._0x4ef402,-0x117),_0xdf9139[_0x5c0186(-_0x520a2a._0x485b24,-0xd1)]))_0x576ac9<_0x10a53f['length']-(0x1351+-0x2363+0x1013)?_0x5e9703=_0x2f5494[_0xdf9139['hUOgh'](_0x15bcc5,0x6f0+-0x2107+0x1a18)]:_0x1736a3=_0xdf9139[_0x1f4666(-_0x520a2a._0x20e83b,-_0x520a2a._0x18c90c)];else{if(_0xdf9139[_0x1f4666(-0xec,-0xeb)](_0x530eb1[_0x181e8e][_0x5c0186(-_0x520a2a._0x227a86,-0xbb)],'completed')){_0x250261=_0x530eb1[_0x181e8e][_0x5c0186(-_0x520a2a._0x2b2f43,-_0x520a2a._0x5bd59a)];break;}}}const _0x441adc={..._0x3c8960[_0x1f4666(-0x20,-_0x520a2a._0x24c9ff)]};_0x441adc[_0x5c0186(-_0x520a2a._0x1865a1,-_0x520a2a._0x40ad22)+'se']=_0x250261;const _0x27787b={};_0x27787b[_0x5c0186(_0x520a2a._0x23c61b,-0x21)]=_0x441adc,_0x27787b[_0x1f4666(-0xb1,-0x101)]=_0x530eb1,_0x27787b[_0x1f4666(-0x40,-0xd9)+_0x1f4666(-_0x520a2a._0x43a919,-0x19a)]=_0x3c8960[_0x1f4666(-0x40,-_0x520a2a._0x243544)+_0x5c0186(-0x132,-_0x520a2a._0x1a107f)],await _0xdf9139[_0x1f4666(-0xbb,-0x11)](writeStateFile,_0x27787b),console[_0x5c0186(-0x62,-0x77)]('['+_0x23871d+']\x20'+_0x38d226+'\x20→\x20'+_0x381651);if(_0x4b2598===_0x5c0186(-_0x520a2a._0xc308e9,-0x8d)){if(_0xdf9139[_0x1f4666(-_0x520a2a._0x4497f0,-_0x520a2a._0x4163e2)](_0xdf9139[_0x1f4666(-0xf7,-0xbe)],_0x5c0186(-_0x520a2a._0x133eea,-0x10a))){const _0x1a369e={..._0x1ac221[_0x16af9f]};_0x1a369e[_0x1f4666(-0xba,-0x110)]=_0x3e323f,_0x24ee0a[_0x3e8d48]=_0x1a369e;}else console[_0x5c0186(_0x520a2a._0x188a39,-_0x520a2a._0x50c6e4)](_0x1f4666(-0x98,-_0x520a2a._0x34c755)+_0x23871d+'\x20已完成全部阶段');}}function _0x22df(_0x35dc64,_0x491ef4){_0x35dc64=_0x35dc64-(-0x2*0xe4e+0x26cb*0x1+0x61*-0x17);const _0x6bb5fc=_0x468c();let _0x220f8=_0x6bb5fc[_0x35dc64];if(_0x22df['DcloHY']===undefined){var _0x38ee1f=function(_0x281c14){const _0x4ac3a6='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x575fb6='',_0x3bf552='';for(let _0x2a2c95=-0x19f2+0xb15+0xedd,_0x28edd2,_0x339d2a,_0x57b788=-0x134*-0x1+0xe4e*-0x2+-0x8*-0x36d;_0x339d2a=_0x281c14['charAt'](_0x57b788++);~_0x339d2a&&(_0x28edd2=_0x2a2c95%(0x1f*0x8+-0x225e+0x216a)?_0x28edd2*(-0xd35+-0x1ee5*-0x1+-0x4*0x45c)+_0x339d2a:_0x339d2a,_0x2a2c95++%(0x1957+0x7da+-0x212d*0x1))?_0x575fb6+=String['fromCharCode'](0x1936+0x61*0x43+-0x319a&_0x28edd2>>(-(0x1d*-0x8e+0x5*0x6ab+-0x1*0x113f)*_0x2a2c95&-0x6b*-0x4f+0x263b+-0x473a)):0x11af+-0x1*0xe13+-0x39c){_0x339d2a=_0x4ac3a6['indexOf'](_0x339d2a);}for(let _0x5a0cc2=-0x1712+-0x25*-0x49+0xc85*0x1,_0x11e98b=_0x575fb6['length'];_0x5a0cc2<_0x11e98b;_0x5a0cc2++){_0x3bf552+='%'+('00'+_0x575fb6['charCodeAt'](_0x5a0cc2)['toString'](0x5*0x1e7+-0x24b9+0x1b46))['slice'](-(0x4*-0x99d+0x1a8+0x542*0x7));}return decodeURIComponent(_0x3bf552);};_0x22df['DSBYaq']=_0x38ee1f,_0x22df['yVgsIz']={},_0x22df['DcloHY']=!![];}const _0xb3cd4f=_0x6bb5fc[-0x1b5d+0x1212+0x3*0x319],_0x3778f8=_0x35dc64+_0xb3cd4f,_0x40512d=_0x22df['yVgsIz'][_0x3778f8];return!_0x40512d?(_0x220f8=_0x22df['DSBYaq'](_0x220f8),_0x22df['yVgsIz'][_0x3778f8]=_0x220f8):_0x220f8=_0x40512d,_0x220f8;}export async function updateOperation(_0x28e61f,_0x5d459e,_0x1cbd8e){const _0x4d1360={_0x12de20:0xa7,_0x542051:0x8,_0x3e9e4d:0x196,_0x2d95dd:0x9c,_0x3b50ef:0x131,_0x552bb7:0xad,_0x48cab1:0x5e},_0x5c7f6e={_0x56297f:0x43},_0x293f01={_0x4149f9:0x1c9};function _0x18c304(_0x413c72,_0x109379){return _0x104d2d(_0x109379- -_0x293f01._0x4149f9,_0x413c72);}if(activeEngine){const _0x11cb2d=activeEngine[_0x5d5c32(-_0x4d1360._0x12de20,-0x76)][_0x5d5c32(0x34,-_0x4d1360._0x542051)](_0x28e61f);if(_0x11cb2d){const _0x151817={};_0x151817[_0x18c304(-0xff,-_0x4d1360._0x3e9e4d)]=_0x5d5c32(-_0x4d1360._0x2d95dd,-0xe0)+_0x18c304(-_0x4d1360._0x3b50ef,-0xdf),_0x151817[_0x5d5c32(-_0x4d1360._0x552bb7,-0x8b)]=_0x5d459e,_0x151817[_0x18c304(-0x14c,-0x1e4)]=_0x1cbd8e,_0x11cb2d[_0x18c304(-_0x4d1360._0x48cab1,-0xc4)](_0x151817),await persistCurrentState();return;}}function _0x5d5c32(_0x2bee4f,_0x483d75){return _0x54f219(_0x483d75-_0x5c7f6e._0x56297f,_0x2bee4f);}await updateOperationViaFile(_0x28e61f,_0x5d459e,_0x1cbd8e);}async function updateOperationViaFile(_0x5ac09a,_0x53f330,_0x87fe0d){const _0x5bb3e6={_0x412957:0x498,_0x4ce068:0x406,_0xf901f7:0x120,_0x23f408:0x1bb,_0x154be0:0x3e,_0x1f5850:0x166,_0x3365f7:0x3e3,_0x27698a:0x3e9,_0x4c00fc:0x39,_0x4a4cea:0xe9,_0x16b04f:0x3b5},_0x7df39e={_0x57a314:0x69},_0x150d00={'xkerf':function(_0x47f380){return _0x47f380();},'qwJHb':_0x44845d(_0x5bb3e6._0x412957,_0x5bb3e6._0x4ce068)},_0x339f14=await _0x150d00[_0x490c56(_0x5bb3e6._0xf901f7,_0x5bb3e6._0x23f408)](readStateFile);function _0x490c56(_0x2d4298,_0x11277b){return _0x104d2d(_0x2d4298-_0x7df39e._0x57a314,_0x11277b);}if(!_0x339f14){console[_0x490c56(0x11b,0xec)](_0x150d00['qwJHb']);return;}const _0x42b2a4=_0x339f14['agents'][_0x5ac09a];if(!_0x42b2a4){console['log'](_0x490c56(0xb5,_0x5bb3e6._0x154be0)+_0x5ac09a+(_0x490c56(0x132,_0x5bb3e6._0x1f5850)+'e.json'));return;}const _0x1cbc85={..._0x339f14[_0x44845d(0x359,_0x5bb3e6._0x3365f7)]},_0xc9bc72=_0x1cbc85,_0x43eed6={..._0x42b2a4};_0x43eed6[_0x44845d(0x388,_0x5bb3e6._0x27698a)+_0x490c56(_0x5bb3e6._0x4c00fc,-0x4b)]=_0x53f330,_0x43eed6[_0x44845d(0x41e,0x3f4)+'ll']=_0x87fe0d,_0xc9bc72[_0x5ac09a]=_0x43eed6;const _0x1d2d6d={};_0x1d2d6d[_0x490c56(0x171,_0x5bb3e6._0x4a4cea)]=_0x339f14[_0x44845d(0x406,0x474)];function _0x44845d(_0x198226,_0x283720){return _0x104d2d(_0x283720-0x36c,_0x198226);}_0x1d2d6d['agents']=_0xc9bc72,_0x1d2d6d[_0x44845d(_0x5bb3e6._0x16b04f,0x454)+'pshot']=_0x339f14['machineSna'+'pshot'],await writeStateFile(_0x1d2d6d);}export async function getStatus(){const _0x4a8724={_0x439287:0x6bc,_0x5360b7:0x5e7,_0x114d09:0xee,_0x276b25:0x607,_0x384c99:0x638,_0x4388c7:0x260,_0x54237c:0x662,_0x3494b8:0x59b,_0x223f88:0x1fd,_0x4c8489:0x127,_0x562a6c:0x13c,_0x5b4a3f:0x612,_0x5e213d:0xd8,_0x11ffa2:0xdc,_0x414abd:0x5e8,_0x3c012f:0x17e,_0x207c36:0x1bf,_0x395618:0x662,_0x37a931:0x162,_0x45a2b4:0x61d,_0x3033de:0x656,_0x305a1d:0x125,_0x516f5f:0x151,_0x359e6c:0x50,_0x15016a:0x5bf,_0x1b8ddf:0x206,_0x2e204e:0x5e6,_0x4d7edc:0x631,_0x4e823c:0x5dd,_0x2fea74:0x603,_0x509067:0x6f6,_0x2215e9:0x667,_0x7521c1:0x10f,_0xb870d9:0x10f,_0x4348cb:0x1bb,_0x213d6c:0xf6,_0x155d79:0x1c0},_0x8a17e={_0x2a0e86:0x6d2},_0x4cec11={'ZLsWa':_0x2c66df(0x5d0,0x620)+_0x2c66df(_0x4a8724._0x439287,0x65d)+'t\x20命令','BqzhE':function(_0x2055c7,_0x1d8a67,_0x243bca){return _0x2055c7(_0x1d8a67,_0x243bca);},'eRgPM':_0x2c66df(_0x4a8724._0x5360b7,0x55a),'YZinE':function(_0x22a0c2,_0x444773){return _0x22a0c2+_0x444773;},'llKMS':_0x2ca451(-_0x4a8724._0x114d09,-0x6e)};function _0x2ca451(_0x39373d,_0x56adcf){return _0x104d2d(_0x39373d- -0x1d7,_0x56adcf);}if(!existsSync(STATE_FILE_PATH)){console[_0x2c66df(_0x4a8724._0x276b25,_0x4a8724._0x384c99)](_0x4cec11[_0x2ca451(-0x1eb,-_0x4a8724._0x4388c7)]);return;}const _0x498678=_0x4cec11[_0x2c66df(_0x4a8724._0x54237c,0x67f)](readFileSync,STATE_FILE_PATH,_0x4cec11[_0x2c66df(_0x4a8724._0x3494b8,0x621)]),_0x5ec03a=JSON[_0x2ca451(-0x1be,-_0x4a8724._0x223f88)](_0x498678);console['log'](_0x2ca451(-0x1ac,-_0x4a8724._0x4c8489)+_0x5ec03a[_0x2ca451(-0xcf,-0x7a)][_0x2ca451(-0xb1,-_0x4a8724._0x562a6c)]),console[_0x2c66df(_0x4a8724._0x5b4a3f,_0x4a8724._0x384c99)](_0x2ca451(-_0x4a8724._0x5e213d,-_0x4a8724._0x11ffa2)+_0x5ec03a[_0x2c66df(_0x4a8724._0x414abd,0x68e)][_0x2ca451(-_0x4a8724._0x3c012f,-_0x4a8724._0x207c36)+'se']),console['log']('\x20\x20\x20版本:\x20'+_0x5ec03a[_0x2c66df(0x66f,_0x4a8724._0x395618)]);function _0x2c66df(_0xf94085,_0x57b278){return _0x54f219(_0x57b278-_0x8a17e._0x2a0e86,_0xf94085);}console['log']('\x20\x20\x20更新时间:\x20'+_0x5ec03a['updatedAt']+'\x0a');const _0x52ebb=_0x5ec03a['agents'],_0x38f78f=Object[_0x2ca451(-_0x4a8724._0x37a931,-_0x4a8724._0x223f88)](_0x52ebb);if(_0x38f78f[_0x2c66df(_0x4a8724._0x45a2b4,_0x4a8724._0x3033de)]===-0x376*0x5+-0x19c3*-0x1+0x5*-0x1b1){console[_0x2ca451(-_0x4a8724._0x305a1d,-0x165)](_0x2ca451(-_0x4a8724._0x516f5f,-0x1bd)+'t\x20记录');return;}console[_0x2c66df(0x64b,_0x4a8724._0x384c99)]('\x20\x20\x20Agent\x20I'+_0x2ca451(-0xea,-_0x4a8724._0x359e6c)+'\x20|\x20阶段\x20\x20\x20\x20\x20'+_0x2ca451(-0xc3,-0x70)+_0x2c66df(_0x4a8724._0x15016a,0x60b)+_0x2ca451(-0x198,-_0x4a8724._0x1b8ddf)+'工具'),console[_0x2ca451(-_0x4a8724._0x305a1d,-0xe7)](_0x4cec11['YZinE'](_0x4cec11[_0x2c66df(_0x4a8724._0x2e204e,0x5a3)],'-'['repeat'](-0xeb1+-0xab0+-0x1*-0x19b1)));for(const _0x31b44f of _0x38f78f){const _0x146990=_0x52ebb[_0x31b44f],_0x4e5c70=PHASE_NAMES[_0x146990[_0x2c66df(0x5e8,0x5f4)]]??_0x146990[_0x2c66df(_0x4a8724._0x4d7edc,0x5f4)],_0x45409b=_0x146990[_0x2c66df(_0x4a8724._0x4e823c,_0x4a8724._0x2fea74)+'ration']||'-',_0x353a86=_0x146990['currentSki'+'ll']||'-';console['log']('\x20\x20\x20'+_0x31b44f[_0x2c66df(_0x4a8724._0x509067,_0x4a8724._0x2215e9)](0x1f29+0x16e+-0xad7*0x3)+_0x2ca451(-_0x4a8724._0x7521c1,-0xf8)+_0x4e5c70[_0x2ca451(-0xf6,-0xee)](0x1477+0xb*-0x1b1+-0x1ce)+_0x2ca451(-_0x4a8724._0xb870d9,-_0x4a8724._0x4348cb)+_0x45409b[_0x2ca451(-_0x4a8724._0x213d6c,-0x142)](-0x2143+0x198*-0x3+0x1310*0x2)+'\x20|\x20'+_0x353a86);}console[_0x2ca451(-0x125,-_0x4a8724._0x155d79)]();}export async function resumeEngine(){const _0x148126={_0x1bdb07:0x3d2,_0x5c214c:0x353,_0x56ea4a:0x241,_0x51e676:0x1c4,_0x196560:0x175,_0x11c002:0x294,_0x20b9fa:0x31a,_0x2ee684:0x423,_0x31d65d:0x3b1,_0x16aecf:0x202,_0x429738:0x1a8,_0x38fa43:0x164,_0x6b67ba:0x18b,_0x38d4e0:0x2b6,_0xe3bfd4:0x205,_0x1cba5a:0x1c7,_0x3cc635:0x301,_0x3ffe3b:0x389,_0x46ae11:0x413,_0x3100ea:0x2cd,_0x4a9179:0x38b,_0x281efa:0x3c1,_0x193377:0xef,_0x37caf9:0x89,_0x3fdd14:0x1df,_0x3013aa:0x248,_0x42cc6b:0x2b4,_0x429a0e:0x3b3,_0x2583bf:0x32e,_0x5c1a1a:0x327,_0x49235c:0x24a,_0x33f7a5:0x2bf,_0x1b1f92:0x2a5,_0x53f0e6:0x34a,_0x3f7a4a:0x141,_0x15cbd9:0x71,_0x43a3bb:0xdd,_0x189ed2:0x2ec,_0x56c8d3:0x19a,_0x37f4a2:0x1e6,_0x34f82a:0x392,_0x764b3f:0x1e2,_0x487bbd:0x110,_0x1f4b85:0x167,_0x521544:0x163,_0x52f39f:0x19f,_0x3fcbf2:0x1db,_0x451cf4:0x1a7,_0x107d59:0x377,_0x46a91e:0x2f2,_0x20599f:0x356,_0x537c8d:0x2f6,_0x52a0a9:0x396,_0x5b90b9:0x138,_0xc72e8c:0x10e,_0x5628b8:0x378,_0x28d1f8:0x10a,_0x3f0352:0x380,_0x58c86d:0x117,_0x3c8d08:0x182,_0x34c371:0x174,_0x1dbece:0x1e2,_0x1f85a2:0x323,_0x3ddc57:0x3be,_0x530021:0x2f1,_0x321c5d:0x332,_0x5bc8c6:0x3ce,_0x5f10ab:0x415,_0x4bb5b2:0x390,_0x49c92b:0x374,_0x3314cf:0x29a,_0x4e4d20:0x9b,_0x2a056b:0x335,_0x438ff8:0x2d3,_0x1f086a:0x113,_0x26c460:0x2b1,_0xe93f2:0x2e5,_0x272589:0x3d1,_0x47f998:0x3bf},_0x8db4ab={_0x5713e6:0x2b9},_0x5e7b2b={_0x5a55d1:0x215},_0x4393d6={'qmuxm':function(_0x1fd2dd,_0x5361b1){return _0x1fd2dd(_0x5361b1);},'fBLQL':_0x3373ca(_0x148126._0x1bdb07,_0x148126._0x5c214c)+',无法恢复。请先运行'+'\x20start\x20命令','PEYku':function(_0x422fdd,_0x4d31c3,_0x2b483c){return _0x422fdd(_0x4d31c3,_0x2b483c);},'QFvGH':_0x9a2803(-_0x148126._0x56ea4a,-_0x148126._0x51e676),'XPDhJ':_0x9a2803(-0x103,-_0x148126._0x196560)+_0x9a2803(-0x210,-0x29c),'XxARn':_0x3373ca(0x2ce,_0x148126._0x11c002),'QuHdP':_0x3373ca(0x270,_0x148126._0x20b9fa)+_0x3373ca(_0x148126._0x2ee684,_0x148126._0x31d65d),'NFUAy':_0x9a2803(-_0x148126._0x16aecf,-_0x148126._0x429738),'wdMlI':function(_0x43d802,_0x40cb0f,_0x349925){return _0x43d802(_0x40cb0f,_0x349925);},'jwmyE':function(_0x368d95,_0x11c10d){return _0x368d95<_0x11c10d;},'Xacvh':function(_0x340213){return _0x340213();}};if(!_0x4393d6['qmuxm'](existsSync,STATE_FILE_PATH)){console[_0x3373ca(0x2ce,0x36b)](_0x4393d6[_0x9a2803(-0x1dc,-0x21c)]);return;}const _0x54a1a1=_0x4393d6[_0x9a2803(-0x177,-0x1da)](readFileSync,STATE_FILE_PATH,_0x4393d6[_0x9a2803(-_0x148126._0x38fa43,-_0x148126._0x6b67ba)]),_0x442dc7=JSON[_0x9a2803(-0x1fc,-0x1bb)](_0x54a1a1);function _0x9a2803(_0x37053d,_0x6fdbe5){return _0x104d2d(_0x37053d- -_0x5e7b2b._0x5a55d1,_0x6fdbe5);}const _0x243859=_0x442dc7[_0x3373ca(_0x148126._0x38d4e0,0x330)],_0xc750e=Object[_0x9a2803(-0x1a0,-0x10a)](_0x243859),_0x24f43f=_0xc750e[_0x9a2803(-_0x148126._0xe3bfd4,-_0x148126._0x1cba5a)](_0x150d09=>_0x243859[_0x150d09][_0x3373ca(0x2d7,0x327)]!==_0x9a2803(-0x179,-0x155));if(_0x24f43f[_0x3373ca(_0x148126._0x3cc635,_0x148126._0x3ffe3b)]===-0x2f5+0x1fc4+-0x1ccf){console['log'](_0x4393d6[_0x3373ca(_0x148126._0x46ae11,0x3dd)]);return;}console['log']('\x0a🔄\x20恢复引擎'),console[_0x3373ca(_0x148126._0x3100ea,0x36b)](_0x3373ca(0x2d2,0x372)+_0x442dc7[_0x3373ca(_0x148126._0x4a9179,_0x148126._0x281efa)][_0x9a2803(-_0x148126._0x193377,-_0x148126._0x37caf9)]),console[_0x9a2803(-0x163,-_0x148126._0x3fdd14)]('\x20\x20\x20未完成\x20Age'+_0x3373ca(_0x148126._0x3013aa,_0x148126._0x42cc6b)+_0x24f43f[_0x3373ca(0x2df,_0x148126._0x3ffe3b)]+'\x0a');const _0x21dfe8=new Map();let _0x4c8d6b=null;try{_0x4c8d6b=loadTechContext();}catch{}for(const _0x504764 of _0x24f43f){const _0x14b5f7=_0x243859[_0x504764],_0x26c922=PHASES[_0x3373ca(_0x148126._0x429a0e,0x358)](_0x14b5f7[_0x3373ca(_0x148126._0x2583bf,_0x148126._0x5c1a1a)]);if(_0x26c922===-(-0x1c02+0x10dd+0x2*0x593)){console[_0x3373ca(0x2cf,0x36b)]('['+_0x504764+_0x9a2803(-0x1d4,-_0x148126._0x49235c)+_0x14b5f7[_0x3373ca(_0x148126._0x33f7a5,0x327)]+',跳过');continue;}const _0x20abc3={};_0x20abc3[_0x3373ca(_0x148126._0x1b1f92,_0x148126._0x53f0e6)]=_0x504764,_0x20abc3[_0x9a2803(-0x112,-_0x148126._0x3f7a4a)]=_0x14b5f7[_0x9a2803(-0x112,-_0x148126._0x15cbd9)]??undefined;const _0x554620={};_0x554620[_0x9a2803(-0x117,-_0x148126._0x43a3bb)]=_0x20abc3;const _0x45a0a7=_0x4393d6[_0x3373ca(_0x148126._0x189ed2,0x357)](createActor,agentMachine,_0x554620);_0x45a0a7[_0x9a2803(-_0x148126._0x56c8d3,-_0x148126._0x37f4a2)](),_0x21dfe8[_0x3373ca(0x3c7,_0x148126._0x34f82a)](_0x504764,_0x45a0a7);const _0x22c8e5={};_0x22c8e5[_0x9a2803(-_0x148126._0x764b3f,-0x1d3)]=_0x4393d6['XxARn'],_0x45a0a7[_0x9a2803(-_0x148126._0x487bbd,-_0x148126._0x1f4b85)](_0x22c8e5);for(let _0x43226a=-0x6*0x26c+0x1f21+-0x1099;_0x43226a<_0x26c922;_0x43226a++){const _0x2cc492={};_0x2cc492[_0x9a2803(-0x1e2,-0x15f)]=_0x4393d6['QuHdP'],_0x45a0a7[_0x9a2803(-_0x148126._0x487bbd,-0xa2)](_0x2cc492);}console[_0x9a2803(-_0x148126._0x521544,-_0x148126._0x52f39f)]('['+_0x504764+_0x9a2803(-_0x148126._0x3fcbf2,-0x1d4)+(PHASE_NAMES[_0x14b5f7[_0x9a2803(-_0x148126._0x451cf4,-0x1e2)]]??_0x14b5f7[_0x3373ca(_0x148126._0x107d59,_0x148126._0x5c1a1a)])+_0x3373ca(_0x148126._0x46a91e,_0x148126._0x20599f));}for(const _0x5b83d7 of _0xc750e){if(_0x3373ca(_0x148126._0x537c8d,_0x148126._0x52a0a9)===_0x9a2803(-_0x148126._0x5b90b9,-_0x148126._0xc72e8c)){if(!_0x21dfe8[_0x3373ca(0x2d8,_0x148126._0x5628b8)](_0x5b83d7)){if(_0x4393d6[_0x9a2803(-_0x148126._0x196560,-0x170)]!==_0x4393d6['NFUAy'])_0x38c772=_0x70ea4[_0x9a2803(-_0x148126._0x451cf4,-_0x148126._0x28d1f8)];else{const _0x361cc4=_0x243859[_0x5b83d7],_0x5dfe81={};_0x5dfe81[_0x3373ca(_0x148126._0x3f0352,0x34a)]=_0x5b83d7,_0x5dfe81['parentId']=_0x361cc4[_0x9a2803(-0x112,-0xf9)]??undefined;const _0x470c8a={};_0x470c8a[_0x9a2803(-_0x148126._0x58c86d,-_0x148126._0x3c8d08)]=_0x5dfe81;const _0xf9f22d=_0x4393d6[_0x9a2803(-0x1e0,-_0x148126._0x34c371)](createActor,agentMachine,_0x470c8a);_0xf9f22d[_0x9a2803(-0x19a,-0x217)]();const _0x35b792={};_0x35b792[_0x9a2803(-_0x148126._0x1dbece,-0x192)]=_0x4393d6[_0x9a2803(-0x22a,-0x1a2)],_0xf9f22d[_0x3373ca(_0x148126._0x1f85a2,_0x148126._0x3ddc57)](_0x35b792);for(let _0x2db3f4=-0x1535+0x1*0x165f+0x12a*-0x1;_0x4393d6[_0x3373ca(_0x148126._0x530021,0x2da)](_0x2db3f4,PHASES['length']);_0x2db3f4++){const _0x531722={};_0x531722[_0x3373ca(0x363,0x2ec)]=_0x4393d6[_0x3373ca(_0x148126._0x321c5d,0x2d5)],_0xf9f22d['send'](_0x531722);}_0x21dfe8['set'](_0x5b83d7,_0xf9f22d);}}}else{_0x4bb0d3['log'](_0x3373ca(_0x148126._0x5bc8c6,0x353)+_0x3373ca(_0x148126._0x5f10ab,_0x148126._0x4bb5b2)+_0x3373ca(_0x148126._0x49c92b,0x324));return;}}const _0x584e5b={};_0x584e5b[_0x9a2803(-0x242,-_0x148126._0x3314cf)+'e']=_0x442dc7[_0x3373ca(0x421,0x3c1)][_0x9a2803(-_0x148126._0x193377,-_0x148126._0x4e4d20)],_0x584e5b[_0x3373ca(0x34f,_0x148126._0x2a056b)]=PHASES,_0x584e5b[_0x3373ca(_0x148126._0x438ff8,0x34c)]=_0x21dfe8,_0x584e5b[_0x9a2803(-0x1de,-0x1e4)+_0x9a2803(-_0x148126._0x1f086a,-0x1aa)]=null;function _0x3373ca(_0x1220a4,_0x314a98){return _0x104d2d(_0x314a98-_0x8db4ab._0x5713e6,_0x1220a4);}_0x584e5b[_0x3373ca(_0x148126._0x26c460,_0x148126._0xe93f2)+'t']=_0x4c8d6b,activeEngine=_0x584e5b,await _0x4393d6[_0x3373ca(0x2f7,0x38b)](persistCurrentState),console['log'](_0x3373ca(_0x148126._0x272589,_0x148126._0x47f998)+_0x9a2803(-0x1cd,-0x1ad)+'推进阶段');}export function stopEngine(){const _0x4395d1={_0x120235:0x194,_0x1f1b18:0x142,_0x52775d:0x186,_0x5ded4f:0x159,_0x22779e:0xec,_0x30f797:0x7a,_0x1a78b5:0xd3,_0x2d513e:0x15f,_0x4cbf05:0x123,_0x300124:0x10c,_0xca2876:0x123,_0x15509c:0xeb,_0x27b15f:0x19},_0x26aa49={};_0x26aa49[_0x1fad17(-0xef,-_0x4395d1._0x120235)]=function(_0x52be72,_0x4447ca){return _0x52be72===_0x4447ca;};function _0x2956ab(_0x41ef9e,_0x52babd){return _0x54f219(_0x41ef9e-0x152,_0x52babd);}const _0x3613ae=_0x26aa49;if(!activeEngine)return;for(const [,_0x584720]of activeEngine[_0x1fad17(-_0x4395d1._0x1f1b18,-_0x4395d1._0x52775d)]){_0x584720[_0x2956ab(0x114,0xac)]();}if(activeEngine['supervisor'+_0x1fad17(-0xd3,-_0x4395d1._0x5ded4f)]){if(_0x3613ae[_0x2956ab(_0x4395d1._0x22779e,0x108)](_0x1fad17(-0xca,-0x37),_0x2956ab(0x111,_0x4395d1._0x30f797)))activeEngine['supervisor'+_0x1fad17(-_0x4395d1._0x1a78b5,-0x115)][_0x2956ab(0x114,_0x4395d1._0x2d513e)]();else{_0x217d5f[_0x1fad17(-_0x4395d1._0x4cbf05,-0x121)]('['+_0x577ee3+_0x1fad17(-0x1b1,-_0x4395d1._0x300124));return;}}function _0x1fad17(_0x4b2ee5,_0x4a9bd5){return _0x104d2d(_0x4b2ee5- -0x1d5,_0x4a9bd5);}activeEngine=null,console[_0x1fad17(-_0x4395d1._0xca2876,-_0x4395d1._0x15509c)](_0x2956ab(0x43,-_0x4395d1._0x27b15f));}export function getEngine(){return activeEngine;}export async function registerAgent(_0x5dcbab,_0x225bcf={}){const _0x28b32f={_0x4b0a31:0x4ba,_0x482621:0x422,_0x2ab25d:0x499,_0x12b51a:0x40e,_0x163d1e:0x49f,_0x2a0ffe:0x505,_0x1a9ff2:0x44a,_0xad1f69:0x45b,_0x23714b:0x3fc,_0x38a62d:0x496,_0x2ba35e:0x493,_0x138f34:0x47b,_0x3f123c:0x40b,_0x8d05d5:0x438,_0x3a80b1:0x4d3,_0x1d7913:0x4cc,_0x230f18:0x50e,_0x422b70:0x34b,_0x10ae62:0x3e5,_0x1edb43:0x32a,_0x17a131:0x3c1,_0x391d6b:0x3d3,_0x2e394e:0x414,_0x599089:0x39e,_0x518ab2:0x43d,_0x413ea8:0x387,_0x4540f5:0x40e,_0x543926:0x41c,_0x165236:0x44f,_0x1b23fa:0x4f7,_0x46a867:0x3d0,_0x42fe84:0x44f,_0x3b4eed:0x471,_0x102821:0x3b1,_0x27cab2:0x4f5,_0x1abb91:0x412,_0x143ff2:0x41a,_0x243b4b:0x3f9,_0x22ff8f:0x3e9,_0x44bb73:0x3d5,_0x139de4:0x3e8,_0x5a1806:0x40c,_0x17f368:0x3bf,_0x3d2e2a:0x4e9,_0x2c9bde:0x4fc,_0x29b973:0x46b,_0x1543ad:0x3d0,_0x4d6722:0x3f3,_0x36c59b:0x434,_0x5a6534:0x431,_0x2e21dd:0x46f,_0x4f6aaa:0x3fb,_0xfbef20:0x3ce,_0x5edcf8:0x42d},_0x5f4733={_0x4c62ab:0x540},_0x42a45b={_0x3a362e:0x52d},_0x1ea046={'xQCyR':'github_url','wdYEw':_0x1edc14(_0x28b32f._0x4b0a31,_0x28b32f._0x482621)+'l','zVihA':function(_0x28d63f,_0x3e02f2){return _0x28d63f>_0x3e02f2;},'PNzkS':_0x1edc14(_0x28b32f._0x2ab25d,_0x28b32f._0x12b51a)+'t','jHDJj':_0x1edc14(0x3ff,0x385),'BWSZS':function(_0x30c366){return _0x30c366();},'BnGUj':function(_0x66189a,_0x5ec181){return _0x66189a===_0x5ec181;},'zCskt':_0x1edc14(_0x28b32f._0x163d1e,_0x28b32f._0x2a0ffe),'nNMBo':_0x1edc14(_0x28b32f._0x1a9ff2,0x4bd),'obYTB':_0x2de83f(_0x28b32f._0xad1f69,_0x28b32f._0x23714b),'QwiZR':function(_0x5b26c1,_0x5188a7){return _0x5b26c1!==_0x5188a7;}},_0x2ac719=await _0x1ea046[_0x2de83f(0x538,_0x28b32f._0x38a62d)](readStateFile);if(!_0x2ac719){console[_0x2de83f(0x4e2,_0x28b32f._0x2ba35e)](_0x2de83f(0x502,_0x28b32f._0x138f34)+_0x2de83f(_0x28b32f._0x3f123c,_0x28b32f._0x8d05d5)+_0x2de83f(_0x28b32f._0x3a80b1,_0x28b32f._0x1d7913));return;}function _0x2de83f(_0x4c03af,_0x5e4ba5){return _0x54f219(_0x5e4ba5-_0x42a45b._0x3a362e,_0x4c03af);}if(_0x2ac719[_0x1edc14(0x46b,_0x28b32f._0x230f18)][_0x5dcbab]){if(_0x1ea046[_0x2de83f(_0x28b32f._0x422b70,_0x28b32f._0x10ae62)](_0x1ea046['zCskt'],_0x1ea046[_0x1edc14(0x50c,0x496)])){if(/^https?:\/\/github\.com\//[_0x2de83f(0x381,0x3c1)](_0x2032ab))return _0x1ea046[_0x1edc14(0x4e0,0x4ce)];if(/^https?:\/\//[_0x2de83f(_0x28b32f._0x1edb43,_0x28b32f._0x17a131)](_0x34655a))return _0x1ea046['wdYEw'];if(_0x1ea046[_0x2de83f(_0x28b32f._0x391d6b,0x463)](_0x5046b7[_0x2de83f(_0x28b32f._0x2e394e,0x4b1)],0x20f2+-0x45b+0x1*-0x1c8d))return _0x1ea046['PNzkS'];return _0x1ea046[_0x2de83f(_0x28b32f._0x599089,_0x28b32f._0x518ab2)];}else{console['log']('⚠️\x20\x20Agent\x20'+_0x5dcbab+_0x2de83f(_0x28b32f._0x413ea8,_0x28b32f._0x4540f5));return;}}const _0x50d00f=_0x225bcf[_0x2de83f(_0x28b32f._0x543926,_0x28b32f._0x165236)]??_0x1ea046['obYTB'];function _0x1edc14(_0x2172e2,_0x3d77f1){return _0x54f219(_0x2172e2-_0x5f4733._0x4c62ab,_0x3d77f1);}const _0x36a6ee=_0x225bcf[_0x1edc14(_0x28b32f._0x1b23fa,0x541)]??null,_0x54c390={};_0x54c390['agentId']=_0x5dcbab,_0x54c390['parentId']=_0x36a6ee,_0x54c390[_0x1edc14(0x40c,_0x28b32f._0x46a867)]=[],_0x54c390[_0x2de83f(0x4a1,_0x28b32f._0x42fe84)]=_0x50d00f,_0x54c390[_0x1edc14(_0x28b32f._0x3b4eed,_0x28b32f._0x4b0a31)+_0x2de83f(0x40b,_0x28b32f._0x102821)]='',_0x54c390[_0x1edc14(0x47c,_0x28b32f._0x27cab2)+'ll']='';const _0x4192ff=_0x54c390,_0x44be67={..._0x2ac719[_0x1edc14(0x46b,_0x28b32f._0x1abb91)]};_0x44be67[_0x5dcbab]=_0x4192ff;const _0x2b1663=_0x44be67;if(_0x36a6ee&&_0x2b1663[_0x36a6ee]){const _0x2957d0=_0x2b1663[_0x36a6ee];if(!_0x2957d0[_0x2de83f(_0x28b32f._0x143ff2,_0x28b32f._0x243b4b)][_0x2de83f(_0x28b32f._0x22ff8f,0x470)](_0x5dcbab)){if(_0x1ea046['QwiZR'](_0x2de83f(0x473,_0x28b32f._0x44bb73),_0x1edc14(_0x28b32f._0x139de4,0x47c)))_0x138015[_0x2eb4da]=_0x4d11b0;else{const _0x5aee6e={..._0x2957d0};_0x5aee6e[_0x2de83f(0x3f6,0x3f9)]=[..._0x2957d0[_0x1edc14(_0x28b32f._0x5a1806,_0x28b32f._0x17f368)],_0x5dcbab],_0x2b1663[_0x36a6ee]=_0x5aee6e;}}}const _0x4919f7={};_0x4919f7[_0x2de83f(0x55b,_0x28b32f._0x3d2e2a)]=_0x2ac719[_0x1edc14(_0x28b32f._0x2c9bde,0x4e1)],_0x4919f7[_0x1edc14(_0x28b32f._0x29b973,_0x28b32f._0x1543ad)]=_0x2b1663,_0x4919f7['machineSna'+_0x1edc14(_0x28b32f._0x4d6722,_0x28b32f._0x36c59b)]=_0x2ac719['machineSna'+_0x1edc14(_0x28b32f._0x4d6722,_0x28b32f._0x5a6534)],await writeStateFile(_0x4919f7);const _0x3e7f76=PHASE_NAMES[_0x50d00f]??_0x50d00f;console[_0x2de83f(_0x28b32f._0x2e21dd,0x493)](_0x2de83f(_0x28b32f._0x4f6aaa,0x451)+'册:\x20'+_0x5dcbab),console[_0x2de83f(0x4bd,_0x28b32f._0x2ba35e)](_0x2de83f(0x3e8,_0x28b32f._0xfbef20)+_0x3e7f76);if(_0x36a6ee)console[_0x2de83f(0x519,_0x28b32f._0x2ba35e)](_0x1edc14(0x4a1,_0x28b32f._0x5edcf8)+':\x20'+_0x36a6ee);}export async function deregisterAgent(_0x45b7b7){const _0x22c325={_0x25f1e3:0x522,_0x5e44b2:0x4fa,_0x17448c:0x4ac,_0x480ccf:0x4c2,_0x3e9be7:0x3db,_0x477961:0x487,_0x251f62:0x3e6,_0x39db85:0x454,_0x8ab84c:0x4d5,_0x2a5184:0x549,_0xd0237e:0x57d,_0x41f29f:0x6eb,_0x411c9d:0x4b6,_0x44da9a:0x513,_0x5b543b:0x52f,_0x25a329:0x56c,_0x2d4128:0x3fa,_0x53b9c5:0x4d8,_0x27d719:0x4ac,_0x49c543:0x508,_0x194cfd:0x569,_0x14419d:0x536,_0x205954:0x4e8,_0x19f502:0x47e,_0x4b4906:0x503,_0x11dfc0:0x5d0,_0x32e22e:0x518,_0x6e3558:0x4d3,_0x3eeb29:0x4f8,_0x2e6ddd:0x40f,_0x54e47d:0x4d5},_0x2c93d8={_0x44a6c1:0x554},_0x5dfe02={'qsMuL':_0x16d5c2(0x4bf,_0x22c325._0x25f1e3)+_0x16d5c2(_0x22c325._0x5e44b2,0x4e4),'MefBT':_0x16d5c2(0x544,0x4aa),'vfWdc':function(_0x1c0f07,_0x2ca5a6){return _0x1c0f07!==_0x2ca5a6;},'RTqPi':_0x16d5c2(0x40e,_0x22c325._0x17448c),'tyeaA':function(_0x1a0994,_0x4c3bc7){return _0x1a0994(_0x4c3bc7);},'ObCis':'idle'},_0x586c5d=await readStateFile();function _0x16d5c2(_0xa82a4f,_0x43089e){return _0x104d2d(_0x43089e-0x410,_0xa82a4f);}if(!_0x586c5d){console[_0x16d5c2(0x517,_0x22c325._0x480ccf)](_0x5dfe02['MefBT']);return;}if(!_0x586c5d[_0x16d5c2(_0x22c325._0x3e9be7,_0x22c325._0x477961)][_0x45b7b7]){console[_0x195e0e(0x67d,0x606)](_0x16d5c2(_0x22c325._0x251f62,_0x22c325._0x39db85)+_0x45b7b7+_0x16d5c2(_0x22c325._0x8ab84c,0x43e));return;}const _0x2a3eaa=_0x586c5d[_0x195e0e(_0x22c325._0x2a5184,0x5cb)][_0x45b7b7];function _0x195e0e(_0xe1014d,_0x5a4be8){return _0x104d2d(_0x5a4be8-_0x2c93d8._0x44a6c1,_0xe1014d);}const _0x6b6027={..._0x586c5d[_0x195e0e(_0x22c325._0xd0237e,0x5cb)]},_0x2b6729=_0x6b6027;delete _0x2b6729[_0x45b7b7];if(_0x2a3eaa['parentId']&&_0x2b6729[_0x2a3eaa[_0x195e0e(_0x22c325._0x41f29f,0x657)]]){const _0x2dc83a=_0x2b6729[_0x2a3eaa['parentId']];_0x2b6729[_0x2a3eaa[_0x16d5c2(_0x22c325._0x411c9d,_0x22c325._0x44da9a)]]={..._0x2dc83a,'childIds':_0x2dc83a[_0x195e0e(_0x22c325._0x5b543b,_0x22c325._0x25a329)][_0x195e0e(0x5cb,0x564)](_0x136c22=>_0x136c22!==_0x45b7b7)};}const _0xfc96f2=Object[_0x16d5c2(_0x22c325._0x2d4128,0x485)](_0x2b6729);let _0x14fe5c=_0x16d5c2(_0x22c325._0x53b9c5,_0x22c325._0x27d719);for(const _0x5a4155 of _0xfc96f2){if(_0x195e0e(0x4fc,0x569)===_0x195e0e(_0x22c325._0x49c543,_0x22c325._0x194cfd)){if(_0x5dfe02[_0x195e0e(0x52d,_0x22c325._0x14419d)](_0x2b6729[_0x5a4155][_0x16d5c2(_0x22c325._0x205954,_0x22c325._0x19f502)],_0x5dfe02[_0x16d5c2(0x5a7,_0x22c325._0x4b4906)])){_0x14fe5c=_0x2b6729[_0x5a4155][_0x195e0e(0x54b,0x5c2)];break;}}else{_0x1965b0[_0x195e0e(0x69b,0x606)](_0x5dfe02['qsMuL']);return;}}await _0x5dfe02[_0x195e0e(_0x22c325._0x11dfc0,0x552)](writeStateFile,{'project':{..._0x586c5d[_0x16d5c2(0x575,_0x22c325._0x32e22e)],'currentPhase':_0xfc96f2['length']>0xc55+0x1537*-0x1+0x8e2?_0x14fe5c:_0x5dfe02[_0x16d5c2(0x439,_0x22c325._0x6e3558)]},'agents':_0x2b6729,'machineSnapshot':_0x586c5d[_0x16d5c2(0x46d,_0x22c325._0x3eeb29)+_0x16d5c2(0x42f,_0x22c325._0x2e6ddd)]}),console['log']('✅\x20Agent\x20已注'+_0x16d5c2(_0x22c325._0x54e47d,0x44b)+_0x45b7b7);}function detectInputType(_0x145df9){const _0x47c0c8={_0x1d693d:0x1b5,_0x395759:0x1a3,_0x27b374:0x1cb,_0x48a80b:0x19f,_0xf31c63:0x1a3,_0xe942d5:0x205,_0x1ef59e:0x1fc,_0x3969cd:0x222},_0xf4fd25={_0x556cac:0x17d},_0x487016={};function _0x951a8e(_0x91217,_0x36f399){return _0x54f219(_0x91217- -0x37,_0x36f399);}_0x487016[_0x3092b6(0x1fc,_0x47c0c8._0x1d693d)]='website_ur'+'l';function _0x3092b6(_0x3482b2,_0x55b64d){return _0x104d2d(_0x3482b2-_0xf4fd25._0x556cac,_0x55b64d);}const _0x43f216=_0x487016;if(/^https?:\/\/github\.com\//[_0x951a8e(-_0x47c0c8._0x395759,-_0x47c0c8._0x27b374)](_0x145df9))return _0x3092b6(_0x47c0c8._0x48a80b,0x207);if(/^https?:\/\//[_0x951a8e(-_0x47c0c8._0xf31c63,-_0x47c0c8._0xe942d5)](_0x145df9))return _0x43f216[_0x3092b6(_0x47c0c8._0x1ef59e,0x214)];if(_0x145df9['length']>-0xfd*0x14+0x1499+-0xcb)return _0x3092b6(_0x47c0c8._0x3969cd,0x225)+'t';return _0x951a8e(-0x178,-0xf1);}const _0x319022={};_0x319022['requiremen'+'t']=_0x104d2d(0x81,0x44),_0x319022[_0x104d2d(0x22,-0x10)]=_0x104d2d(0x116,0x113),_0x319022[_0x54f219(-0x86,-0x34)+'l']='网站\x20URL',_0x319022['unknown']=_0x104d2d(0xbc,0xd9);const INPUT_TYPE_NAMES=_0x319022;async function readStateFile(){const _0x1de880={_0x5bdb8d:0x25c},_0x40a5db={'vPvxl':function(_0xe19707,_0xe65662){return _0xe19707(_0xe65662);}};function _0x10a441(_0xd793f6,_0x5e888d){return _0x54f219(_0x5e888d-_0x1de880._0x5bdb8d,_0xd793f6);}if(!_0x40a5db[_0x10a441(0x218,0x1d5)](existsSync,STATE_FILE_PATH))return null;const _0x3be053=new StateFileManager(STATE_FILE_PATH);return _0x3be053['read']();}async function writeStateFile(_0x542d6c){const _0x612024={_0x162c6f:0x93,_0xbc50f6:0x5d2,_0x496309:0x4e0,_0xd9d04f:0x500,_0x3a0ea5:0x54,_0x25f3d9:0x4f4,_0x5d001b:0x5dc,_0x11d431:0x60,_0x2f74af:0xa,_0x51acbd:0x5fc,_0x4432ba:0x5e5,_0x2532b8:0xc2,_0x4efe8f:0x37,_0x2a589d:0x5b9,_0xf5a855:0x476,_0x3df30f:0x4e7},_0x339f9e={_0x5bba6f:0x65d},_0x16c3f5={};function _0x5d9df7(_0x2cd517,_0x4dd234){return _0x54f219(_0x4dd234-0xb2,_0x2cd517);}_0x16c3f5[_0x5d9df7(0xaf,0x54)]=function(_0x40b887,_0x4fcbfc){return _0x40b887===_0x4fcbfc;};function _0x2d4287(_0x472dd8,_0x26498b){return _0x54f219(_0x26498b-_0x339f9e._0x5bba6f,_0x472dd8);}_0x16c3f5[_0x5d9df7(-_0x612024._0x162c6f,-0xbd)]='LHVFU',_0x16c3f5[_0x2d4287(_0x612024._0xbc50f6,0x573)]='wALsS',_0x16c3f5['nSSpA']=function(_0x50620d,_0x4cd2a2){return _0x50620d instanceof _0x4cd2a2;};const _0x4b0b3f=_0x16c3f5;for(let _0xea86ab=0x1c04+-0x19ff+0x205*-0x1;_0xea86ab<MAX_RETRIES;_0xea86ab++){try{const _0x469729=new StateFileManager(STATE_FILE_PATH);await _0x469729[_0x2d4287(_0x612024._0x496309,_0x612024._0xd9d04f)](),await _0x469729['write'](_0x542d6c);return;}catch(_0x277f48){if(_0x4b0b3f[_0x5d9df7(0xdc,_0x612024._0x3a0ea5)](_0x4b0b3f['UieBA'],_0x4b0b3f[_0x2d4287(_0x612024._0x25f3d9,0x573)]))_0x459428[_0x2d4287(_0x612024._0x5d001b,0x5c3)](_0x5d9df7(_0x612024._0x11d431,-_0x612024._0x2f74af)+_0x56007a+_0x2d4287(_0x612024._0x51acbd,_0x612024._0x4432ba));else{if(_0x4b0b3f[_0x5d9df7(_0x612024._0x2532b8,_0x612024._0x4efe8f)](_0x277f48,Error)&&_0x277f48[_0x2d4287(_0x612024._0x2a589d,0x561)][_0x2d4287(0x616,0x5a0)](_0x2d4287(_0x612024._0xf5a855,_0x612024._0x3df30f))&&_0xea86ab<MAX_RETRIES-(0x843+0xd1d+0x155f*-0x1)){await new Promise(_0x3eff7f=>setTimeout(_0x3eff7f,0x1299+0x1*0x1e07+0x2*-0x1837+Math[_0x2d4287(0x5c8,0x5bd)]()*(0x1*-0x1ca7+0xdf7+-0xf14*-0x1)));continue;}throw _0x277f48;}}}}export async function newProject(_0x1b926d){const _0x13db66={_0x3e2a25:0x4e1,_0x5d7511:0x4ed,_0x2a347b:0x330,_0x2b0d0f:0x28e,_0x13faa2:0x217,_0x10fba0:0x23e,_0xa1c955:0x22f,_0x48b8b2:0x1d7,_0x511190:0x247,_0x2d8d1e:0x2c7,_0x3f9c51:0x5f0,_0x12176c:0x5d5,_0xf55cab:0x24e,_0xaeb7f8:0x1c6,_0x458a22:0x2a4,_0x346f6b:0x2e5,_0x3abfd3:0x2c8,_0x338d52:0x2fa,_0x401c97:0x54f,_0xb3eb49:0x404,_0x12a9da:0x5bf,_0x28a7be:0x2ab,_0x522a80:0x2e8,_0x2f5a67:0x300,_0x7f9ffa:0x58c,_0x1e073c:0x55d,_0x18d774:0x62e,_0x304de4:0x584,_0x68e192:0x27b,_0x48227b:0x1dd,_0x388c3c:0x599,_0x21c2d7:0x286,_0x2e9306:0x4b1,_0x1894b9:0x4d4,_0x730bb3:0x505,_0x213a45:0x50a},_0x4de2cc={_0x3bbd07:0x4d2},_0x96dd8={'EhzHw':function(_0x439286,_0x273005,_0x2d69c2){return _0x439286(_0x273005,_0x2d69c2);},'bDtMS':function(_0x606295,_0x1d1d52,_0x26bb3f){return _0x606295(_0x1d1d52,_0x26bb3f);},'HaCEM':_0x424019(_0x13db66._0x3e2a25,_0x13db66._0x5d7511),'EOWUY':function(_0x1ad68f,_0x24eba4){return _0x1ad68f(_0x24eba4);}},_0x489cd8=_0x96dd8[_0x193642(_0x13db66._0x2a347b,_0x13db66._0x2b0d0f)](resolve,process[_0x193642(_0x13db66._0x13faa2,_0x13db66._0x10fba0)](),_0x193642(_0x13db66._0xa1c955,_0x13db66._0x48b8b2));if(!existsSync(_0x489cd8)){const _0x3e3a48={};_0x3e3a48['recursive']=!![],_0x96dd8[_0x193642(_0x13db66._0x511190,0x220)](mkdirSync,_0x489cd8,_0x3e3a48);}const _0x3403eb=generateAgentId(),_0x14adbd={};_0x14adbd[_0x193642(_0x13db66._0x2d8d1e,0x291)]=_0x3403eb,_0x14adbd[_0x424019(_0x13db66._0x3f9c51,_0x13db66._0x12176c)]=null,_0x14adbd[_0x193642(_0x13db66._0xf55cab,_0x13db66._0xaeb7f8)]=[],_0x14adbd[_0x193642(_0x13db66._0x458a22,_0x13db66._0x346f6b)]=_0x96dd8[_0x193642(_0x13db66._0x3abfd3,_0x13db66._0x338d52)];function _0x193642(_0x369474,_0x598497){return _0x54f219(_0x369474-0x382,_0x598497);}_0x14adbd[_0x424019(0x501,_0x13db66._0x401c97)+_0x424019(_0x13db66._0xb3eb49,0x4a2)]='',_0x14adbd[_0x424019(_0x13db66._0x12a9da,0x55a)+'ll']='';const _0x5ba4b0=_0x14adbd,_0x10ce5d={};_0x10ce5d[_0x3403eb]=_0x5ba4b0;function _0x424019(_0x72325e,_0x48c6c6){return _0x104d2d(_0x48c6c6-_0x4de2cc._0x3bbd07,_0x72325e);}await _0x96dd8[_0x193642(0x21e,0x21a)](writeStateFile,{'project':{'name':_0x1b926d,'currentPhase':_0x96dd8[_0x193642(_0x13db66._0x3abfd3,_0x13db66._0x28a7be)]},'agents':_0x10ce5d,'machineSnapshot':null}),console[_0x193642(_0x13db66._0x522a80,_0x13db66._0x2f5a67)](_0x424019(_0x13db66._0x7f9ffa,_0x13db66._0x1e073c)+_0x1b926d),console[_0x424019(_0x13db66._0x18d774,_0x13db66._0x304de4)](_0x193642(_0x13db66._0x68e192,_0x13db66._0x48227b)+_0x489cd8),console[_0x193642(0x2e8,0x2c8)](_0x424019(0x61d,_0x13db66._0x388c3c)+_0x193642(0x228,0x25e)+_0x3403eb),console[_0x424019(0x5bc,_0x13db66._0x304de4)](_0x193642(0x2d8,_0x13db66._0x21c2d7)+PIPELINE_PHASES[_0x424019(0x552,0x525)](_0x45dcbf=>PHASE_NAMES[_0x45dcbf]??_0x45dcbf)[_0x424019(_0x13db66._0x2e9306,_0x13db66._0x1894b9)](_0x424019(_0x13db66._0x730bb3,_0x13db66._0x213a45))+'\x0a');}export async function discussPhase(_0xb4b591){const _0x3db545={_0x474dba:0x1b4,_0x4b7ecd:0x292,_0x42c506:0x268,_0x40a584:0x1c6,_0x467010:0xe1,_0x30e12f:0x26a,_0xf51b94:0xd9,_0x5ab5fc:0x268,_0x5baf0c:0x297,_0x5d9713:0x127,_0x4e579c:0xcd,_0x439adb:0x171,_0x5b64d:0x1af,_0x1dabbf:0x2c2,_0x350025:0x171,_0x273bad:0x224,_0x45db02:0x15e,_0x19d7ad:0x3f},_0x33b3c1={'ytOyV':function(_0x1d5039,_0x21e731){return _0x1d5039??_0x21e731;},'EmFmB':function(_0xa09af1){return _0xa09af1();}},_0x4d1ba3=_0x33b3c1[_0xaa8655(_0x3db545._0x474dba,0x147)](_0xb4b591,_0xaa8655(_0x3db545._0x4b7ecd,_0x3db545._0x42c506)),_0x4b0d39=await _0x33b3c1[_0xaa8655(_0x3db545._0x40a584,0x190)](readStateFile);if(!_0x4b0d39){console[_0x59dfcf(0x161,0xf9)](_0x59dfcf(0xdf,_0x3db545._0x467010)+_0x59dfcf(0xb4,0x9e)+'project\x20命令');return;}const _0x246aeb=_0x4b0d39[_0xaa8655(0x1e9,_0x3db545._0x30e12f)];for(const _0x2e3c4f of Object['keys'](_0x246aeb)){_0x246aeb[_0x2e3c4f][_0x59dfcf(_0x3db545._0xf51b94,0xb5)]!==_0xaa8655(0x20e,_0x3db545._0x5ab5fc)&&(_0x246aeb[_0x2e3c4f]={..._0x246aeb[_0x2e3c4f],'phase':_0x4d1ba3});}const _0x2f2ad5={};function _0xaa8655(_0x2f3b1e,_0x4dcb24){return _0x104d2d(_0x2f3b1e-0x172,_0x4dcb24);}_0x2f2ad5['name']=_0x4b0d39[_0xaa8655(0x27a,_0x3db545._0x5baf0c)]['name'],_0x2f2ad5[_0x59dfcf(_0x3db545._0x5d9713,0xa0)+'se']=_0x4d1ba3;const _0x1434ea={};_0x1434ea['project']=_0x2f2ad5,_0x1434ea[_0xaa8655(0x1e9,0x1ca)]=_0x246aeb,_0x1434ea[_0x59dfcf(_0x3db545._0x4e579c,0x12f)+_0xaa8655(_0x3db545._0x439adb,_0x3db545._0x5b64d)]=null,await writeStateFile(_0x1434ea);const _0x4512ea=PHASE_NAMES[_0x4d1ba3]??_0x4d1ba3;console['log']('\x0a💬\x20进入讨论阶段:'+'\x20'+_0x4512ea);function _0x59dfcf(_0x25f022,_0x4c357f){return _0x54f219(_0x4c357f-0x193,_0x25f022);}console[_0x59dfcf(0x10a,0xf9)](_0xaa8655(0x22b,0x19c)+_0x4b0d39[_0xaa8655(0x27a,_0x3db545._0x1dabbf)]['name']),console[_0x59dfcf(_0x3db545._0x350025,0xf9)](_0xaa8655(0x271,0x1e5)+_0x4512ea),console[_0xaa8655(_0x3db545._0x273bad,0x1cc)](_0xaa8655(0x15c,_0x3db545._0x45db02)+_0x59dfcf(-_0x3db545._0x19d7ad,0x2b)+'\x0a');}export async function planPhase(_0x5c02d7){const _0x9a56e8={_0x1e8f53:0x4ba,_0x5d2308:0x556,_0x339fd3:0x4f4,_0x5c8dce:0x547,_0x1fc7b2:0x483,_0xbe741:0x45c,_0x248b9e:0x42d,_0x96a39e:0x456,_0x908d38:0x49f,_0x70dfe6:0x448,_0x3734f8:0x42b,_0x3cd3da:0x53d,_0xd46a05:0x418,_0x22e69b:0x40d,_0x22dc7d:0x644,_0x276c7e:0x5c2,_0x52caf7:0x531,_0x1effb7:0x428,_0x28f235:0x56c,_0x5376f5:0x596,_0x59ea00:0x51f,_0x5dab5b:0x5b9,_0x41c267:0x39e,_0x1821c8:0x449,_0x4e41b5:0x3c2},_0x4ff527={_0x15780d:0x4ba},_0x7caeef={'HUElZ':function(_0x1609dd,_0x742ddc){return _0x1609dd??_0x742ddc;},'gnDrS':_0x8c8166(0x477,_0x9a56e8._0x1e8f53),'rOiet':_0x8c8166(0x5f3,_0x9a56e8._0x5d2308),'ittfJ':function(_0x1dc0ce,_0x21bcad){return _0x1dc0ce(_0x21bcad);}};function _0x362f73(_0x243f57,_0x271d21){return _0x54f219(_0x271d21-0x500,_0x243f57);}const _0x14134d=_0x7caeef[_0x8c8166(0x55a,0x5cd)](_0x5c02d7,_0x7caeef[_0x8c8166(_0x9a56e8._0x339fd3,_0x9a56e8._0x5c8dce)]),_0x1261a1=await readStateFile();if(!_0x1261a1){console[_0x362f73(_0x9a56e8._0x1fc7b2,0x466)](_0x362f73(_0x9a56e8._0xbe741,0x44e)+_0x362f73(_0x9a56e8._0x248b9e,0x40b)+_0x362f73(_0x9a56e8._0x96a39e,_0x9a56e8._0x908d38));return;}const _0x202251=_0x1261a1[_0x362f73(_0x9a56e8._0x70dfe6,_0x9a56e8._0x3734f8)];for(const _0x4f2ce3 of Object[_0x8c8166(0x568,0x52f)](_0x202251)){_0x202251[_0x4f2ce3]['phase']!==_0x7caeef[_0x8c8166(_0x9a56e8._0x3cd3da,0x52b)]&&(_0x202251[_0x4f2ce3]={..._0x202251[_0x4f2ce3],'phase':_0x14134d});}const _0x59ea98={};_0x59ea98['name']=_0x1261a1[_0x362f73(_0x9a56e8._0xd46a05,0x4bc)][_0x362f73(0x4f8,0x4da)],_0x59ea98[_0x362f73(0x4b3,_0x9a56e8._0x22e69b)+'se']=_0x14134d;function _0x8c8166(_0x59e506,_0x587b02){return _0x104d2d(_0x587b02-_0x4ff527._0x15780d,_0x59e506);}const _0x5b04e8={};_0x5b04e8[_0x8c8166(_0x9a56e8._0x22dc7d,_0x9a56e8._0x276c7e)]=_0x59ea98,_0x5b04e8[_0x8c8166(0x4d6,_0x9a56e8._0x52caf7)]=_0x202251,_0x5b04e8['machineSna'+_0x8c8166(_0x9a56e8._0x1effb7,0x4b9)]=null,await _0x7caeef[_0x362f73(0x3b7,0x45e)](writeStateFile,_0x5b04e8);const _0x195849=PHASE_NAMES[_0x14134d]??_0x14134d;console[_0x362f73(0x505,0x466)]('\x0a📝\x20进入规划阶段:'+'\x20'+_0x195849),console[_0x8c8166(0x591,_0x9a56e8._0x28f235)]('\x20\x20\x20项目:\x20'+_0x1261a1['project'][_0x362f73(0x512,0x4da)]),console[_0x8c8166(_0x9a56e8._0x5376f5,0x56c)](_0x8c8166(_0x9a56e8._0x59ea00,_0x9a56e8._0x5dab5b)+_0x195849),console['log'](_0x362f73(0x322,_0x9a56e8._0x41c267)+_0x362f73(_0x9a56e8._0x1821c8,_0x9a56e8._0x4e41b5)+'\x0a');}export async function executePhase(_0x657921){const _0x471962={_0x50334a:0x20c,_0x12379f:0x12a,_0x3412c4:0xb9,_0x325a9a:0x135,_0x53eb10:0xf6,_0x1a8ee0:0x5a0,_0x52b71d:0x5c8,_0x4aea7d:0x5d9,_0x27fec0:0x5e7,_0x5743a4:0x143,_0x3c69a3:0x1b9,_0x142e1c:0x1c8,_0x1694e6:0x1fd,_0x1c934e:0x14a,_0x35f014:0x183,_0x100733:0x58a,_0x402f67:0x5b6,_0x53b9c3:0x565,_0x48c09e:0x570,_0x3ed13f:0xf9,_0x1395b5:0x92,_0x35e982:0x6a,_0x5e3bf9:0x66f,_0x107977:0x565,_0x5c279d:0x4c3,_0x37f0b9:0x5d6,_0x283105:0x553,_0x5efc29:0x606,_0x204d13:0xd},_0x1ed7f2={_0x26e50d:0x63a},_0x2a21ff={'vKNHj':function(_0x530ea6){return _0x530ea6();},'qofpZ':function(_0x59bb31,_0x3c173a){return _0x59bb31===_0x3c173a;},'TzMzg':_0x5f09a9(-0x1c8,-_0x471962._0x50334a),'VHiKT':function(_0x4e17eb,_0x356515){return _0x4e17eb!==_0x356515;}};function _0x5f09a9(_0x9b198b,_0x2b3498){return _0x54f219(_0x9b198b- -0x6c,_0x2b3498);}const _0x347792=_0x657921??_0x5f09a9(-_0x471962._0x12379f,-_0x471962._0x3412c4),_0x3ef192=await _0x2a21ff[_0x5f09a9(-_0x471962._0x325a9a,-_0x471962._0x53eb10)](readStateFile);if(!_0x3ef192){console[_0x17ee89(_0x471962._0x1a8ee0,_0x471962._0x52b71d)]('⚠️\x20\x20状态文件不存在'+',请先运行\x20new-'+_0x17ee89(_0x471962._0x4aea7d,_0x471962._0x27fec0));return;}const _0x2bbb98=_0x3ef192['agents'];for(const _0x42eb47 of Object[_0x5f09a9(-_0x471962._0x5743a4,-_0x471962._0x3c69a3)](_0x2bbb98)){if(_0x2a21ff['qofpZ'](_0x5f09a9(-_0x471962._0x142e1c,-_0x471962._0x1694e6),_0x2a21ff[_0x17ee89(0x50c,0x46b)]))_0x2a21ff['VHiKT'](_0x2bbb98[_0x42eb47][_0x5f09a9(-_0x471962._0x1c934e,-_0x471962._0x35f014)],_0x17ee89(_0x471962._0x100733,_0x471962._0x402f67))&&(_0x2bbb98[_0x42eb47]={..._0x2bbb98[_0x42eb47],'phase':_0x347792});else for(const [_0x503a5d,_0x120fc2]of _0x3680f7[_0x5f09a9(-0xd6,-_0x471962._0x3412c4)](_0x1fac68[_0x17ee89(_0x471962._0x53b9c3,_0x471962._0x48c09e)])){!_0x5a9267[_0x5f09a9(-_0x471962._0x3ed13f,-0xe5)](_0x503a5d)&&(_0x478307[_0x503a5d]=_0x120fc2);}}const _0x858b86={};_0x858b86[_0x5f09a9(-_0x471962._0x1395b5,-_0x471962._0x35e982)]=_0x3ef192['project'][_0x5f09a9(-0x92,-0xdf)],_0x858b86['currentPha'+'se']=_0x347792;const _0x57eaad={};_0x57eaad[_0x17ee89(0x5f6,_0x471962._0x5e3bf9)]=_0x858b86,_0x57eaad[_0x17ee89(_0x471962._0x107977,_0x471962._0x5c279d)]=_0x2bbb98;function _0x17ee89(_0x504ca0,_0x2ccb58){return _0x54f219(_0x504ca0-_0x1ed7f2._0x26e50d,_0x2ccb58);}_0x57eaad[_0x17ee89(_0x471962._0x37f0b9,_0x471962._0x283105)+_0x5f09a9(-0x1b9,-0x20a)]=null,await writeStateFile(_0x57eaad);const _0x24054b=PHASE_NAMES[_0x347792]??_0x347792;console[_0x5f09a9(-0x106,-0x1a0)](_0x5f09a9(-0x13e,-0x1a9)+'\x20'+_0x24054b),console['log'](_0x17ee89(0x5a7,_0x471962._0x5efc29)+_0x3ef192['project'][_0x5f09a9(-0x92,-_0x471962._0x204d13)]),console[_0x17ee89(0x5a0,0x5a8)](_0x5f09a9(-0xb9,-0x95)+_0x24054b),console['log']('\x20\x20\x20提示:\x20在此阶'+'段执行具体任务\x0a');}export async function verifyPhase(_0x1616b8){const _0x552c27={_0x4b7f4d:0x115,_0x49d61a:0x51,_0x5cc8d2:0x366,_0xa4f4c6:0x95,_0x5ce092:0x16,_0x484010:0x3e,_0x4ab782:0x14,_0x2e24c3:0x392,_0x291356:0x3b,_0xcd24df:0x71,_0x121e38:0xc5,_0x46011e:0x437,_0x2f7194:0x3b8,_0x6c2ed6:0x342,_0x4168ad:0x28b,_0x1e988f:0x309,_0x20bcb3:0x15,_0x23ebb5:0x87,_0x3c8c20:0x2b2,_0x3c7a8c:0x344,_0x301c8f:0x376,_0x4ce3a3:0x39a,_0x51d3c8:0xb3,_0x358dad:0xc5,_0x34f2f5:0x51,_0x184b67:0x1f6},_0x6b1112={_0x3d7a90:0x3de},_0x221b42={_0x375951:0xeb},_0x3c3ceb={};_0x3c3ceb[_0x2d182c(_0x552c27._0x4b7f4d,0xbb)]='⚠️\x20\x20状态文件不存在'+_0x234a34(0x385,0x2e9)+_0x234a34(0x2e8,0x37d),_0x3c3ceb['ViNbc']=function(_0x54e93b,_0x407427){return _0x54e93b!==_0x407427;};const _0x5ed16d=_0x3c3ceb,_0xc2815a=_0x1616b8??_0x234a34(0x274,0x312),_0x1ee2a3=await readStateFile();if(!_0x1ee2a3){console[_0x2d182c(0xaf,_0x552c27._0x49d61a)](_0x5ed16d[_0x234a34(_0x552c27._0x5cc8d2,0x3ae)]);return;}const _0x915cb4=_0x1ee2a3[_0x2d182c(_0x552c27._0xa4f4c6,_0x552c27._0x5ce092)];for(const _0x290d03 of Object[_0x2d182c(_0x552c27._0x484010,_0x552c27._0x4ab782)](_0x915cb4)){_0x5ed16d[_0x234a34(_0x552c27._0x2e24c3,0x2fc)](_0x915cb4[_0x290d03][_0x2d182c(0xae,0xd)],_0x2d182c(-0x67,_0x552c27._0x291356))&&(_0x915cb4[_0x290d03]={..._0x915cb4[_0x290d03],'phase':_0xc2815a});}const _0xe42cda={};_0xe42cda[_0x2d182c(_0x552c27._0xcd24df,_0x552c27._0x121e38)]=_0x1ee2a3['project'][_0x234a34(_0x552c27._0x46011e,_0x552c27._0x2f7194)];function _0x2d182c(_0x518e76,_0x5f29ca){return _0x54f219(_0x5f29ca-_0x221b42._0x375951,_0x518e76);}_0xe42cda[_0x234a34(_0x552c27._0x6c2ed6,0x2eb)+'se']=_0xc2815a;function _0x234a34(_0x4454f0,_0x3b4233){return _0x54f219(_0x3b4233-_0x6b1112._0x3d7a90,_0x4454f0);}const _0x2ec914={};_0x2ec914['project']=_0xe42cda,_0x2ec914[_0x234a34(_0x552c27._0x4168ad,_0x552c27._0x1e988f)]=_0x915cb4,_0x2ec914[_0x2d182c(-_0x552c27._0x20bcb3,_0x552c27._0x23ebb5)+_0x234a34(0x267,0x291)]=null,await writeStateFile(_0x2ec914);const _0x398db4=PHASE_NAMES[_0xc2815a]??_0xc2815a;console['log'](_0x234a34(0x20c,_0x552c27._0x3c8c20)+'\x20'+_0x398db4),console[_0x234a34(0x3b2,_0x552c27._0x3c7a8c)]('\x20\x20\x20项目:\x20'+_0x1ee2a3[_0x234a34(_0x552c27._0x301c8f,_0x552c27._0x4ce3a3)][_0x2d182c(_0x552c27._0x51d3c8,_0x552c27._0x358dad)]),console[_0x2d182c(0x5c,_0x552c27._0x34f2f5)](_0x2d182c(0x40,0x9e)+_0x398db4),console[_0x2d182c(0x3a,0x51)](_0x234a34(_0x552c27._0x184b67,0x27c)+_0x2d182c(-0x43,0x5)+'\x0a');}export async function analyzeInput(_0x525d8a){const _0x2ae047={_0x58009d:0x1f6,_0x5a70c2:0x1ab,_0x552ca:0x1b3,_0x4ffb1e:0x2fb,_0x97b576:0x1ab,_0x48fa2a:0x1fb,_0x5ce64a:0x231,_0x23bd8d:0x193,_0x3cdf33:0x290,_0x293823:0x250,_0x9bbfb5:0x1cc,_0x650a32:0x265,_0x2119d6:0x1ca,_0x54d556:0x2b7,_0x409c1d:0x2a5,_0x5aa49c:0x323,_0x1ede67:0x2fe,_0x253eed:0x2e8,_0x577da3:0x2cd,_0x4addd3:0x2ed,_0x408a04:0x218,_0xd4fb14:0x215,_0x434e37:0x1b4,_0x2ad97b:0x341,_0x3832db:0x19a,_0x32c5e5:0x2eb,_0x25436a:0x2a2,_0x274652:0x346,_0x22ab4d:0x269},_0x21e77b={'LJuQY':function(_0x589d67){return _0x589d67();},'TneBM':_0x22060c(_0x2ae047._0x58009d,_0x2ae047._0x5a70c2)+_0x22060c(_0x2ae047._0x552ca,0x1ba)+'project\x20命令','iHtxm':'AjqEp','YPkXe':function(_0x22171b,_0x4c8852){return _0x22171b(_0x4c8852);},'gbfEj':_0x51adef(0x2a5,_0x2ae047._0x4ffb1e)+_0x22060c(_0x2ae047._0x97b576,_0x2ae047._0x48fa2a),'fpIMs':_0x51adef(_0x2ae047._0x5ce64a,_0x2ae047._0x23bd8d)},_0x1c54d5=await _0x21e77b['LJuQY'](readStateFile);if(!_0x1c54d5){console[_0x51adef(0x2cd,0x367)](_0x21e77b[_0x22060c(0x143,0x119)]);return;}const _0x262c05=detectInputType(_0x525d8a),_0xdf72ff=INPUT_TYPE_NAMES[_0x262c05];function _0x51adef(_0x4c6656,_0x3e4989){return _0x54f219(_0x4c6656-0x367,_0x3e4989);}const _0x40cd8b=_0x1c54d5[_0x51adef(0x292,0x21b)];for(const _0x2f6fe3 of Object[_0x51adef(_0x2ae047._0x3cdf33,_0x2ae047._0x293823)](_0x40cd8b)){if(_0x21e77b[_0x51adef(0x265,_0x2ae047._0x9bbfb5)]!==_0x21e77b[_0x51adef(_0x2ae047._0x650a32,0x280)]){_0x9acdfc['log'](_0x51adef(0x25f,0x304)+_0x38610c+'\x20不存在');return;}else _0x40cd8b[_0x2f6fe3][_0x22060c(_0x2ae047._0x2119d6,0x212)]!==_0x51adef(_0x2ae047._0x54d556,0x22b)&&(_0x40cd8b[_0x2f6fe3]={..._0x40cd8b[_0x2f6fe3],'phase':_0x51adef(_0x2ae047._0x409c1d,0x294)+_0x22060c(0x1ab,0x119),'currentOperation':'分析'+_0xdf72ff+':\x20'+_0x525d8a[_0x22060c(0x176,0x1e4)](0x4af*-0x1+0xf*-0xd1+0x16*0xc5,-0x35*0xa3+-0x448*-0x1+0x1da9)});}function _0x22060c(_0x3bb0a0,_0x2d9316){return _0x104d2d(_0x3bb0a0-0x15c,_0x2d9316);}await _0x21e77b['YPkXe'](writeStateFile,{'project':{'name':_0x1c54d5[_0x51adef(_0x2ae047._0x5aa49c,0x2ab)][_0x22060c(0x282,0x2ee)],'currentPhase':_0x21e77b[_0x51adef(_0x2ae047._0x1ede67,_0x2ae047._0x253eed)]},'agents':_0x40cd8b,'machineSnapshot':null}),console[_0x51adef(_0x2ae047._0x577da3,_0x2ae047._0x4addd3)](_0x51adef(_0x2ae047._0x408a04,_0x2ae047._0xd4fb14)),console[_0x22060c(0x20e,_0x2ae047._0x434e37)]('\x20\x20\x20项目:\x20'+_0x1c54d5[_0x51adef(0x323,0x33c)][_0x51adef(_0x2ae047._0x2ad97b,0x307)]),console['log'](_0x22060c(_0x2ae047._0x3832db,0x163)+_0xdf72ff),console['log']('\x20\x20\x20输入内容:\x20'+(_0x525d8a[_0x51adef(_0x2ae047._0x32c5e5,0x242)]>0xa05+-0x1*-0x2182+-0x25*0x12b?_0x525d8a[_0x51adef(0x235,0x19b)](-0x5*-0x76f+0x4*-0x8c9+-0x207,-0x1*-0x1f31+0x7d9*-0x2+-0xf2f)+_0x21e77b[_0x51adef(_0x2ae047._0x25436a,0x327)]:_0x525d8a)),console['log'](_0x51adef(0x2dd,_0x2ae047._0x274652)+_0x22060c(_0x2ae047._0x22ab4d,0x2c1));}export async function showProgress(){const _0x4b58c0={_0x3acd31:0xb,_0x56441b:0x70,_0x50fc5c:0x171,_0x90f3a1:0x3,_0x4bbf34:0x5a,_0x491528:0x14b,_0x4833db:0x181,_0x20e9ba:0x1fe,_0x14b7c7:0xb,_0x25d684:0x89,_0x4d6e7a:0x3a,_0x1c8243:0xdb,_0x525581:0xa4,_0x206952:0x9e,_0x5c533d:0x95,_0x319c09:0x9c,_0x1a830e:0xbd,_0x24d50f:0xd2,_0x2ff682:0x10b,_0x4d38b8:0x18e,_0x4b275d:0x1c,_0xd14605:0x5,_0x198c46:0x58,_0x55efec:0x185,_0x2bafd8:0xed,_0x33b85f:0xdf,_0x753868:0x58,_0x1db65e:0x119,_0x4fab72:0xb,_0x1f6e4f:0x109,_0x4d799e:0x138,_0x4bdce7:0xce,_0x25bdc5:0x141,_0xf8ad0f:0x1ed,_0x5d1940:0x152,_0x4b63ed:0x12a,_0x58683c:0x11a,_0xb3f4df:0xe1,_0x45788a:0x168,_0x47f757:0x49,_0x16ef3a:0x5d,_0x38ff9f:0x178,_0x3abb06:0x138,_0x38b849:0x167,_0x34b14f:0xe4,_0x2b2a36:0x134,_0x2329a6:0xa1,_0x2dd025:0x58,_0x4f498d:0x2,_0x1a8d8a:0x9c,_0x324248:0x54,_0x246787:0xf0,_0x5e2a92:0x10e,_0x4c4235:0xd6,_0x202e25:0xc5,_0x119f49:0x16f,_0x38a86d:0x167,_0x364976:0x42},_0x49d765={_0x398599:0x10a},_0x3d4a1c={_0x44c81f:0x86},_0x327ef3={};_0x327ef3[_0x39ec95(_0x4b58c0._0x3acd31,-0x12)]=_0x39ec95(-_0x4b58c0._0x56441b,-0xdd)+',请先运行\x20new-'+_0x5c4ecb(0x177,_0x4b58c0._0x50fc5c),_0x327ef3[_0x5c4ecb(0x129,0xb5)]=function(_0x10a5a3,_0x189ccb){return _0x10a5a3>_0x189ccb;};function _0x5c4ecb(_0xc84e42,_0x39b9b6){return _0x104d2d(_0x39b9b6-_0x3d4a1c._0x44c81f,_0xc84e42);}_0x327ef3[_0x39ec95(-0x9e,-0x97)]=function(_0x1b664f,_0x37d76a){return _0x1b664f*_0x37d76a;},_0x327ef3[_0x5c4ecb(0x15,0x95)]=function(_0x4fef8c,_0xfa0891){return _0x4fef8c/_0xfa0891;},_0x327ef3[_0x39ec95(-0x91,_0x4b58c0._0x90f3a1)]=_0x39ec95(-0x104,-_0x4b58c0._0x4bbf34),_0x327ef3['qgFIb']=_0x5c4ecb(_0x4b58c0._0x491528,_0x4b58c0._0x4833db)+'D\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'\x20|\x20阶段\x20\x20\x20\x20\x20'+_0x39ec95(0xa,0x9d)+_0x39ec95(-0x85,0x13)+'\x20\x20\x20\x20\x20\x20\x20\x20|\x20'+'工具',_0x327ef3['LAmlw']=_0x5c4ecb(_0x4b58c0._0x20e9ba,0x16f);const _0x3ec9ee=_0x327ef3,_0x479d2b=await readStateFile();if(!_0x479d2b){console[_0x39ec95(-0x58,-0xd)](_0x3ec9ee[_0x39ec95(_0x4b58c0._0x14b7c7,-_0x4b58c0._0x25d684)]);return;}const _0x3b35be=_0x479d2b[_0x39ec95(-0x93,-0xe2)],_0x4a0e78=Object['keys'](_0x3b35be),_0x199829=_0x4a0e78['length'],_0x5135b8=_0x4a0e78['filter'](_0x201187=>_0x3b35be[_0x201187][_0x39ec95(-0x9c,-0xc9)]==='completed')[_0x39ec95(-_0x4b58c0._0x4d6e7a,-0x1d)],_0x64ea3d=_0x3ec9ee[_0x39ec95(-_0x4b58c0._0x1c8243,-0xc9)](_0x199829,-0x185*-0xd+-0x2*0xd09+0x21*0x31)?Math[_0x39ec95(-0x19,-_0x4b58c0._0x525581)](_0x3ec9ee[_0x39ec95(-_0x4b58c0._0x206952,-0x13f)](_0x3ec9ee[_0x5c4ecb(0x140,_0x4b58c0._0x5c533d)](_0x5135b8,_0x199829),-0x198b*0x1+0x9*0x279+-0x9d*-0x6)):0x16bd*-0x1+-0x10e2+0x279f,_0x4945f6={};for(const _0x288d92 of _0x4a0e78){const _0x2d8a5c=_0x3b35be[_0x288d92][_0x39ec95(-_0x4b58c0._0x319c09,-0xdd)];_0x4945f6[_0x2d8a5c]=(_0x4945f6[_0x2d8a5c]??0x10*-0x215+-0xc*-0x146+0x1*0x1208)+(0x6*0x599+-0x160+-0x2035);}console['log'](_0x39ec95(-_0x4b58c0._0x1a830e,-_0x4b58c0._0x24d50f)+_0x479d2b[_0x5c4ecb(_0x4b58c0._0x2ff682,_0x4b58c0._0x4d38b8)][_0x39ec95(_0x4b58c0._0x4b275d,-_0x4b58c0._0xd14605)]),console[_0x39ec95(-_0x4b58c0._0x198c46,-0x22)](_0x5c4ecb(0x202,_0x4b58c0._0x55efec)+(PHASE_NAMES[_0x479d2b[_0x5c4ecb(0x222,_0x4b58c0._0x4d38b8)][_0x5c4ecb(_0x4b58c0._0x2bafd8,_0x4b58c0._0x33b85f)+'se']]??_0x479d2b[_0x39ec95(-0x2,0x0)]['currentPha'+'se'])),console[_0x39ec95(-_0x4b58c0._0x753868,0x45)](_0x39ec95(-_0x4b58c0._0x1db65e,-0x74)+_0x479d2b[_0x39ec95(-0x2e,-_0x4b58c0._0x4fab72)]);function _0x39ec95(_0x3b6ae3,_0x1c2955){return _0x104d2d(_0x3b6ae3- -_0x49d765._0x398599,_0x1c2955);}console[_0x5c4ecb(_0x4b58c0._0x1f6e4f,_0x4b58c0._0x4d799e)](_0x5c4ecb(_0x4b58c0._0x4bdce7,_0x4b58c0._0x25bdc5)+_0x479d2b['updatedAt']),console[_0x5c4ecb(0x1cc,0x138)]('\x20\x20\x20完成度:\x20'+_0x64ea3d+_0x5c4ecb(_0x4b58c0._0xf8ad0f,0x19d)+_0x5135b8+'/'+_0x199829+_0x5c4ecb(_0x4b58c0._0x5d1940,_0x4b58c0._0x4b63ed)),console[_0x39ec95(-_0x4b58c0._0x198c46,0x3c)](_0x3ec9ee[_0x39ec95(-0x91,-_0x4b58c0._0x58683c)]);for(const [_0x9c8262,_0x40a37f]of Object[_0x5c4ecb(_0x4b58c0._0xb3f4df,_0x4b58c0._0x45788a)](_0x4945f6)){const _0x8d02cb=PHASE_NAMES[_0x9c8262]??_0x9c8262,_0x30b08f='█'[_0x5c4ecb(-_0x4b58c0._0x47f757,_0x4b58c0._0x16ef3a)](_0x40a37f)+'░'[_0x5c4ecb(0x4d,0x5d)](Math[_0x5c4ecb(0x1d0,_0x4b58c0._0x38ff9f)](-0x8e*0x39+0x3*-0x8f3+0x3a77,_0x199829-_0x40a37f));console[_0x5c4ecb(0x162,_0x4b58c0._0x3abb06)]('\x20\x20\x20\x20\x20\x20'+_0x8d02cb[_0x5c4ecb(0x1b3,_0x4b58c0._0x38b849)](-0x1d85+0x2365+0xa*-0x95)+'\x20'+_0x30b08f+'\x20'+_0x40a37f);}console['log']();if(_0x4a0e78['length']>-0x1b7*0x10+-0x1233+0x1*0x2da3){console['log'](_0x5c4ecb(0xf9,_0x4b58c0._0x34b14f)+_0x5c4ecb(_0x4b58c0._0x4d799e,_0x4b58c0._0x2b2a36)),console['log'](_0x3ec9ee[_0x39ec95(-_0x4b58c0._0x2329a6,-0x58)]),console[_0x39ec95(-_0x4b58c0._0x2dd025,-0x80)](_0x3ec9ee['LAmlw']+'-'['repeat'](0xbf*0xd+0x340+-0xca3));for(const _0x2baced of _0x4a0e78){const _0x4ce3dc=_0x3b35be[_0x2baced],_0x1a7f1a=PHASE_NAMES[_0x4ce3dc[_0x39ec95(-_0x4b58c0._0x319c09,-_0x4b58c0._0x4f498d)]]??_0x4ce3dc[_0x39ec95(-_0x4b58c0._0x1a8d8a,-0xbe)],_0x346a46=_0x4ce3dc[_0x5c4ecb(0xdf,0x103)+_0x5c4ecb(_0x4b58c0._0x324248,0x56)]||'-',_0x19af66=_0x4ce3dc[_0x5c4ecb(_0x4b58c0._0x246787,_0x4b58c0._0x5e2a92)+'ll']||'-';console[_0x39ec95(-0x58,-_0x4b58c0._0x4c4235)](_0x5c4ecb(_0x4b58c0._0x202e25,_0x4b58c0._0x119f49)+_0x2baced[_0x5c4ecb(0x1bb,_0x4b58c0._0x38a86d)](-0x16ff+-0x1367*0x1+0x2a78)+_0x39ec95(-_0x4b58c0._0x364976,0x5b)+_0x1a7f1a[_0x5c4ecb(0x17d,0x167)](0x1a5d*0x1+0x2290+0x1*-0x3cdf)+'\x20|\x20'+_0x346a46['padEnd'](-0x53*0x59+0x84a*0x1+-0x371*-0x6)+_0x39ec95(-_0x4b58c0._0x364976,0x5a)+_0x19af66);}console['log']();}}export async function quickTask(_0x3300cd){const _0x38bf9a={_0x112b96:0x3c,_0x3c41a5:0x6cc,_0x582972:0x61,_0x561a2e:0x546,_0x34b0cb:0x5d2,_0x59f30b:0x552,_0xf30541:0x577,_0x2f6f9c:0x54,_0x2ab8bb:0x5f5,_0x3b572a:0x28,_0x1fff72:0x1b,_0x41fdac:0x679,_0x295f0a:0x615,_0x413b98:0x543,_0xff7a44:0x4ed,_0x722454:0x678,_0x3de65b:0x58b,_0xf86017:0x612,_0x4ef0cd:0xc1,_0x4ad0b8:0x697,_0x499a4a:0x6e5,_0x80cabd:0x5c,_0x4064e7:0x20,_0x4813ab:0x124,_0x38172f:0xb5,_0x5968ab:0x69,_0x55cff9:0x631,_0x22965a:0x589,_0x19619b:0x97,_0x144d10:0x5d4,_0xd4d248:0x6b},_0x48e0f1={_0xae6068:0x14f},_0x465f48={'JDknM':'completed','bYOma':function(_0x2e5639){return _0x2e5639();},'JZpxh':function(_0x2e0a98,_0x4867ec,_0x37afc9){return _0x2e0a98(_0x4867ec,_0x37afc9);},'tyUiX':_0x1d5fec(-0x4,-_0x38bf9a._0x112b96),'gxlvF':'KTGZk','agEdx':_0x3f7d9c(0x67d,_0x38bf9a._0x3c41a5),'RFgUB':_0x3f7d9c(0x5d5,0x5b2),'kHQNz':function(_0x10202f){return _0x10202f();},'lcGBV':_0x1d5fec(0x10c,_0x38bf9a._0x582972),'SqHVM':function(_0x5a514b,_0x5a09c5){return _0x5a514b(_0x5a09c5);}},_0x39d3e=await _0x465f48[_0x1d5fec(-0x14,-0x3d)](readStateFile);if(!_0x39d3e){const _0x143261=_0x465f48[_0x3f7d9c(_0x38bf9a._0x561a2e,_0x38bf9a._0x34b0cb)](resolve,process[_0x3f7d9c(_0x38bf9a._0x59f30b,0x562)](),_0x465f48[_0x3f7d9c(0x5d1,_0x38bf9a._0xf30541)]);if(!existsSync(_0x143261)){if(_0x465f48[_0x1d5fec(_0x38bf9a._0x2f6f9c,-0x1e)]!==_0x465f48[_0x3f7d9c(_0x38bf9a._0x2ab8bb,0x576)]){const _0x192023={};_0x192023['recursive']=!![],_0x465f48[_0x1d5fec(-_0x38bf9a._0x3b572a,-0x70)](mkdirSync,_0x143261,_0x192023);}else _0x255a87=_0x465f48[_0x1d5fec(0x28,_0x38bf9a._0x1fff72)];}}const _0x337eab=_0x39d3e?.[_0x3f7d9c(_0x38bf9a._0x41fdac,_0x38bf9a._0x295f0a)]['name']??_0x465f48[_0x3f7d9c(_0x38bf9a._0x413b98,_0x38bf9a._0xff7a44)],_0x11133b=_0x39d3e?Object['keys'](_0x39d3e[_0x3f7d9c(0x5e8,_0x38bf9a._0x722454)])[0xdb7*0x1+0x8df+-0x1*0x1696]??_0x465f48['kHQNz'](generateAgentId):_0x465f48[_0x1d5fec(0x6a,-0x3b)](generateAgentId),_0x3c1149={'agentId':_0x11133b,'parentId':null,'childIds':[],'phase':_0x1d5fec(0x91,0xe2),'currentOperation':_0x3300cd[_0x3f7d9c(_0x38bf9a._0x3de65b,_0x38bf9a._0xf86017)](-0x6f3+0x1505*-0x1+0x1bf8,-0x19bc+-0x1*-0x1ca0+-0x280),'currentSkill':_0x465f48[_0x1d5fec(_0x38bf9a._0x4ef0cd,0x150)]},_0x247b85={};_0x247b85[_0x3f7d9c(_0x38bf9a._0x4ad0b8,_0x38bf9a._0x499a4a)]=_0x337eab,_0x247b85[_0x1d5fec(_0x38bf9a._0x80cabd,0x7)+'se']=_0x3f7d9c(0x67a,0x618);function _0x1d5fec(_0x2b94e4,_0x28de35){return _0x54f219(_0x2b94e4-_0x48e0f1._0xae6068,_0x28de35);}const _0xd5034f={};_0xd5034f[_0x11133b]=_0x3c1149;const _0x1324ac={};_0x1324ac[_0x3f7d9c(_0x38bf9a._0x41fdac,0x6b8)]=_0x247b85,_0x1324ac[_0x1d5fec(0x7a,_0x38bf9a._0x4064e7)]=_0xd5034f,_0x1324ac['machineSna'+_0x3f7d9c(0x570,0x5bf)]=null,await _0x465f48[_0x3f7d9c(0x681,0x620)](writeStateFile,_0x1324ac),console['log'](_0x1d5fec(_0x38bf9a._0x4813ab,0x17e));function _0x3f7d9c(_0x4dea97,_0x2ddf5b){return _0x104d2d(_0x4dea97-0x571,_0x2ddf5b);}console[_0x1d5fec(_0x38bf9a._0x38172f,_0x38bf9a._0x5968ab)](_0x3f7d9c(0x62a,_0x38bf9a._0x55cff9)+_0x337eab),console[_0x3f7d9c(0x623,_0x38bf9a._0x22965a)]('\x20\x20\x20任务:\x20'+_0x3300cd),console[_0x3f7d9c(0x623,0x69c)]('\x20\x20\x20Agent:\x20'+_0x11133b),console[_0x1d5fec(0xb5,0xfa)](_0x1d5fec(_0x38bf9a._0x19619b,0x12f)+_0x3f7d9c(0x5fd,_0x38bf9a._0x144d10)+_0x1d5fec(0xa6,_0x38bf9a._0xd4d248));}function _0x54f219(_0x4ef08a,_0x449751){return _0x22df(_0x4ef08a- -0x2f4,_0x449751);}function findFirstIncompleteAgent(_0x4d18a8){const _0x1cc129={_0x203c8d:0x413,_0x4d2d5e:0x3f6,_0x2dab92:0x309,_0xecdea:0x34f,_0x5141db:0x4f9,_0x3b0562:0x498,_0x11174a:0x3af,_0x5b8efa:0x34b,_0xc2776:0x578,_0x5964bd:0x3ac,_0x119ff7:0x452,_0x77246:0x435,_0x2d3486:0x51e,_0x1eb0dc:0x492,_0x544856:0x44f,_0x10b0e8:0x3ac,_0xc134b7:0x3e9,_0xdbc5b:0x4a3,_0x5d88ea:0x449,_0x6c467d:0x4fb,_0x4e8f7f:0x3ce,_0x3bc591:0x4bc,_0x59d985:0x4cd},_0x3394ea={};_0x3394ea[_0x3ef005(_0x1cc129._0x203c8d,_0x1cc129._0x4d2d5e)]=function(_0x41ba8e,_0x1fcc89){return _0x41ba8e===_0x1fcc89;},_0x3394ea[_0x3ef005(0x3b1,_0x1cc129._0x2dab92)]=_0xfb38e2(0x468,0x411);function _0x3ef005(_0x522a94,_0x509f4e){return _0x54f219(_0x522a94-0x49e,_0x509f4e);}_0x3394ea[_0x3ef005(0x3e9,_0x1cc129._0xecdea)]=_0xfb38e2(_0x1cc129._0x5141db,_0x1cc129._0x3b0562),_0x3394ea[_0x3ef005(_0x1cc129._0x11174a,_0x1cc129._0x5b8efa)]=_0xfb38e2(_0x1cc129._0xc2776,0x5c1),_0x3394ea[_0x3ef005(_0x1cc129._0x5964bd,0x424)]=function(_0x220be9,_0x117a39){return _0x220be9!==_0x117a39;};function _0xfb38e2(_0x3c80b8,_0x46a98d){return _0x54f219(_0x3c80b8-0x5a9,_0x46a98d);}const _0x1caf02=_0x3394ea;for(const [_0x2966bb,_0x1e538d]of _0x4d18a8){const _0x161b9f=_0x1e538d[_0xfb38e2(_0x1cc129._0x119ff7,_0x1cc129._0x77246)+'t'](),_0x5ea831=_0x1caf02[_0xfb38e2(_0x1cc129._0x2d3486,_0x1cc129._0x1eb0dc)](typeof _0x161b9f[_0x3ef005(_0x1cc129._0x544856,0x4de)],_0x1caf02[_0x3ef005(0x3af,0x3fe)])?_0x161b9f['value']:_0x1caf02['mXRaq'];if(_0x1caf02[_0x3ef005(_0x1cc129._0x10b0e8,0x340)](_0x5ea831,_0x1caf02[_0x3ef005(_0x1cc129._0xc134b7,0x3bc)])){if(_0x3ef005(0x398,0x38a)!==_0xfb38e2(_0x1cc129._0xdbc5b,_0x1cc129._0x5d88ea)){const _0x4df9c0=_0xf9b6ea[_0xfb38e2(0x452,_0x1cc129._0x6c467d)+'t'](),_0x37ad19=_0x1caf02[_0x3ef005(0x413,_0x1cc129._0x4e8f7f)](typeof _0x4df9c0[_0x3ef005(0x44f,0x4d9)],_0xfb38e2(0x578,0x5d1))?_0x4df9c0['value']:_0x1caf02[_0xfb38e2(_0x1cc129._0x3bc591,0x561)];if(_0x37ad19!==_0x1caf02[_0xfb38e2(0x4f4,_0x1cc129._0x59d985)])return _0x8d8404;}else return _0x2966bb;}}return null;}function checkAllComplete(){const _0x205696={_0x5b9467:0x19b,_0x50f206:0x18f,_0x116ec6:0x3bd,_0x2fecab:0x407,_0x1e6efd:0x43b,_0x3b5e54:0x227,_0x375d37:0x292,_0x2c8120:0x192,_0x12c48f:0x180,_0x47f61d:0x207,_0x2e8b1c:0x1e9,_0x3db97e:0x468,_0x4fc966:0x342,_0x508c01:0x2e6,_0x2dc6d1:0x12c,_0x43e7f9:0x1e1,_0x3f5cad:0x415,_0x13eefa:0x3a7,_0x255b1d:0x310,_0xf04a81:0x22b,_0x1af50a:0x29b,_0x16fc9d:0x39a,_0xecf693:0x1ba,_0xc78048:0x129,_0x3646d4:0x1fb,_0xaa536:0x221,_0x319d22:0x375,_0x271f42:0x423,_0xf8da45:0x410,_0x50c9ea:0x427,_0x516f40:0x33e,_0x410463:0x2b9,_0x297519:0x1f7,_0x1a8a6b:0x460},_0x4c1b94={_0x406e74:0x30b},_0xef6e15={'nsNRW':function(_0x427941,_0x890da5,_0x1cea71){return _0x427941(_0x890da5,_0x1cea71);},'kQJNx':_0x407bbd(-0x113,-0x128),'ScFmY':_0x364d66(0x316,0x2e8),'YYwfk':_0x407bbd(-0x1bc,-0x13a)+_0x407bbd(-0x136,-0xe7)};if(!activeEngine)return;function _0x364d66(_0x597e8f,_0x212ab7){return _0x104d2d(_0x597e8f-_0x4c1b94._0x406e74,_0x212ab7);}for(const [,_0x224c46]of activeEngine[_0x407bbd(-_0x205696._0x5b9467,-0xf1)]){if(_0x407bbd(-0x1cb,-_0x205696._0x50f206)===_0x407bbd(-0x1cb,-0x14c)){const _0x364d36=_0x224c46[_0x407bbd(-0x239,-0x1a5)+'t'](),_0x1ccdd2=typeof _0x364d36[_0x364d66(0x408,_0x205696._0x116ec6)]===_0xef6e15[_0x364d66(_0x205696._0x2fecab,_0x205696._0x1e6efd)]?_0x364d36[_0x407bbd(-0x131,-0x1bd)]:_0xef6e15[_0x407bbd(-_0x205696._0x3b5e54,-_0x205696._0x375d37)];if(_0x1ccdd2!==_0x407bbd(-_0x205696._0x2c8120,-_0x205696._0x12c48f))return;}else{const _0x4a02a6={};_0x4a02a6[_0x407bbd(-0x17a,-0x1c7)]=!![],_0xef6e15[_0x407bbd(-_0x205696._0x47f61d,-_0x205696._0x2e8b1c)](_0x29c782,_0x5623e9,_0x4a02a6);}}console[_0x364d66(_0x205696._0x116ec6,_0x205696._0x3db97e)](_0x364d66(0x3f0,0x3ae)+'t\x20已完成全部阶段');function _0x407bbd(_0x2efb45,_0x1a9c3a){return _0x54f219(_0x2efb45- -0xe2,_0x1a9c3a);}if(activeEngine[_0x364d66(_0x205696._0x4fc966,_0x205696._0x508c01)+_0x407bbd(-_0x205696._0x2dc6d1,-0xe9)]){for(const [_0x24cbdb]of activeEngine[_0x407bbd(-0x19b,-_0x205696._0x43e7f9)]){const _0x384508={};_0x384508[_0x364d66(_0x205696._0x3f5cad,_0x205696._0x13eefa)]=_0x407bbd(-0x206,-0x212);const _0x4c829d={};_0x4c829d[_0x364d66(0x33e,_0x205696._0x255b1d)]=_0xef6e15['YYwfk'],_0x4c829d[_0x407bbd(-_0x205696._0xf04a81,-_0x205696._0x1af50a)]=_0x24cbdb,_0x4c829d['result']=_0x384508,activeEngine[_0x364d66(0x342,_0x205696._0x16fc9d)+_0x407bbd(-0x12c,-_0x205696._0xecf693)][_0x407bbd(-_0x205696._0xc78048,-0x12c)](_0x4c829d);}const _0x3a5972={};_0x3a5972[_0x407bbd(-_0x205696._0x3646d4,-0x249)]=_0x407bbd(-_0x205696._0xaa536,-0x1d1)+'EN_DONE',activeEngine[_0x364d66(0x342,_0x205696._0x319d22)+_0x364d66(0x40d,_0x205696._0x271f42)][_0x364d66(_0x205696._0xf8da45,_0x205696._0x50c9ea)](_0x3a5972);const _0x26471f={};_0x26471f[_0x364d66(_0x205696._0x516f40,_0x205696._0x410463)]='PHASE_COMP'+'LETE',activeEngine[_0x407bbd(-_0x205696._0x297519,-0x23e)+_0x364d66(0x40d,_0x205696._0x1a8a6b)][_0x364d66(0x410,0x457)](_0x26471f);}}const MAX_RETRIES=-0x1ffe+0x1*-0x1601+0x3604;function _0x468c(){const _0x427756=['5Q615Ps26zUg6zYa5Rgc44cb6k6O6k665PA55Qgi','C2TPBgW','rhb1qKG','vg5LqK0','ru9xvvK','yLLpBwe','icaG5O+q56s6oIdLNkJMRAtPMly','whHbuM4','wKXZv2e','icaG6zI25Q61oIa','ufnIwg8','CMvHza','qxPWt1u','icaG54Mi5PYSoIa','DdOG','mtjTBuvuEfy','DhjzC3u','z2v0u25HChnOBW','8j+tIYdLT7lLIQdOVB3MIOdMNk/KUiRKUiVMLOC','5A2q5lU75yQHia','v0ruDuu','lNnWzwnVChm','zg5xuNm','BNq6ia','Ew5luey','cVcFLi0G5BYa5AEl5yIg5P6q','DhLLyue','ChnOB3q','CgXHBG','tunPC3K','AM9PBG','y2HPBgrjza','qM5hvwO','iow3SUwUJoAiKo+8JoAxOoMCGoAbOUwKJq','icaG8j+tIcdPMlBMRRxLIiBLUim6','u2ngBvK','ugDLzw4','uvf6wMK','mZm2ndHxs2HRsvK','Dw5RBM93BG','D3jPDgu','quXmx0nisuXeuG','5Q615yIg6kEJ5lU75yQH44cb5yI25A6A6k6H5yIs','u1LXELe','zMLSDgvY','yKr0tvm','BgLZv08','te1xuKi','C0LNuMy','wxbwzxO','lI4U','whb6uhK','y2HPBgrjzhm','CgfYC2u','C2XPy2u','AwrSzq','uxvizfa','BgXltvm','vhPnEMC','CNnetMK','cUkCHsdOV5VLHAxPQOZOR4hPMlBMRRu6','ANDTEuu','z2L0AhvIx3vYBa','AvrWz1G','xsdLT7lLROZMIjdLHAJPG6JPMlBMRRu','sKrRBK0','6zYa5Rgc5yIg5P6q','BNnouLC','zg9Uzq','vvbeqvrfx09qrq','vLPJtLu','cVcFK4OG6Ag555UU54Q25OcboIa','DgvJAenVBNrLEa','iow3SUwTMowCQo+8JoI3S+I/H+AZQowgJa','ios4JEwTMowCQa','yNbHwfm','qLbkruu','CvfzzhC','CwnVD0K','DhLWzq','otbbt2rxsgu','D2rnBeK','Bu9Oww8','C3vWzxj2AxnVCG','iokgKIa','zKjmuuW','xsdKU44G','6zsaoIa','t0D2wwe','8j+BKsdLVjxMK47LT7lLGzZMRAi','icaG6l6t5ywL57g75z6loIa','icaGicaGicb8ia','A3nzAhe','xsdNIRBMGihLVilLUlG6ia','ExrpEvy','zwDcvLe','4PQG77Ipicbbz2vUDca','icaG55UU5B2voIa','Bhn6yMS','zxfnAhG','55sOigfKDMfUy2uG','mKrwAw1ZwG','AuH0Eg0','5AsX6lsL77Ym57UN57UT5OMN6kgm','4P2miefNzw50ia','cVcFK4OG6Ag555UU6l+B5BQMoIa','DMH2D04','BhLZAxm','BwvZC2fNzq','z3HSDKy','D3Dbs2K','BwfW','rw1gBui','DxbKyxrLlw9Wzq','zLLNv0K','77Ym6k+35ywi6l+q6kgmig5LDY0','s09gs3u','y3vYCMvUDfbOyq','CLjoC2e','tLjtwfa','AKHesMO','vejzr3i','icaG8j+KLIbbz2vUDa','BvHsyxe','DhLvAvG','ueHbu0vFq09nua','qxzyzfa','revergy','CxvPy2STDgfZAW','u1rbuLrFueHbuW','5Q616AQm6k+b5OIq5P6C44cb6l+q6kgm5Rwl6k+v','A0HrtNO','xsbbz2vUDcdLT7lLKk8','CwDgswi','vMLoyMm','DcdLKB3KU6q','A0fkwMi','tuDTzMS','CgHHC2u','cVcFMOaG5zcV5yQOieTHBMi','4PYfiefNzw50iow3SUAZQa','CK9Pzxq','q0HjterFq09nua','xsdMTl7LJ5hLRzaGqwDLBG','BuDZCxC','A2v5CW','mtiZnJjlqvDHDvm','ywDLBNrZ','veLbv2C','B21Kv2K','cUkAOsdOV5VLHAxMIAFOOyZPMlBMRRu6','C3rHCNq','CgHHC2vZ','y3vYCMvUDe9Wzq','B3bLCMf0Aw9U','D3fAC1u','DMvYAwz5','6zYa5Rgc5PAh5PYS','ELzPAee','DKTosgO','ywDfzhG','icaGicaGicaGia','icaG5PQc5PEGiefNzw4','zNbjtxm','y3vYCMvUDfnRAq','C1b4qNe','zgvTyw5Kx2fUyq','cVcFHPuG6Ag555UU5BEY5yIB5BU6oIa','5yQH5lIn6lwW5A6m5Pw0ifbPCgu','z25eCLm','zxHLy3v0zq','Aw5JBhvKzxm','cUkCHsbbz2vUDca','ywDLBNrjza','sgfdru0','ywn0B3jZ','icaG5O+q56s6oIdLV6VPGj/KU7S','y29UDgv4Da','ywvWyNK','yxHiv1G','odvYC1jIs2e','ruDMwvC','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','zvjNue0','y29TCgXLDgvK','ioAbOUwKJq','uevzA3u','Aw5KzxHpzG','tKzvqxK','runkvwK','icaG6zI25Q615BQp5yIxoIa','BgLUzE+8JoEBToAoPEAjP+IHJaO','iefNzw50kqO','CMvXDwLYzw1LBG','rwHIy3y','EhbywuS','y29TCgv0AxrVCG','x2fUywX5C2LZ','Axr0zKO','t0Xmqxq','CMfUzg9T','icaG54I2iefNzw50','ioIVPUAdHtO','BNPyDLy','B3iG5BEY5zcV5yQO','uuz2r0G','Bg9N','v3zVvLu','CMvJDxjZAxzL','qLDtwLm','y25ArhC','EgTLCMy','5OQa5PYV6ycj5z6l','icaG6Ag555UUoIa','weTRsw8','icaG5PU05PAW5PE26zE0oIa','5PYQ55+L57g75z6l','qvnl','BgnhqLy','AgfZ','cUkCHsdLVjxMK47LT7lLKk/LIQJVViZKVB8','zfnRAxK','icaG5B2t5yMn6zI25Q61oIdPNia','t2jdAxm','ugLYv0u','DLb2EgW','D2vIC2L0zv91CG','icaG5yID5AEliefNzw4','ihWG','ios4JEwTMowCQos6JIbZDgf0','mtK5ndiWEwPktLnQ','qNrdAfa','rgXLy3O','reLtuefuq0HFva','mJe5mZa2yuLVr0vw','nJy0ufLwvezv','BgvUz3rO','BLntCee','wgfJDMG','D2fYBG','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','y0jivey','CMjUDK4','77Ym6k+35ywi6l+q6kgmihn0yxi','tKTAzNm','C2v0','5yQO77Ym562j5B6f6zI25Q615O6O6l+B','zs5QC29U','DMvYC2LVBG','tNHTv3K','vKvlrKq','EevJrgW','CMf0Aw9UioAoQoI/M+MyTG','CgfKrw5K','zw50CMLLCW','z2jMrwO','DejMz04','cVcFJOKG5OMa5PYjiefNzw4','vgvlAxe','ywX5C2LZ','BwfJAgLUzvnUyq','icaG','uKfusu9o','ChjVAMvJDcdLKB3KU6q','EffdEvi','rcaGicaGicaGia','y05yquO','A2PPDwK','r0rIsLu','CM91BMq','Bwf4','uLrXugK','zfrNwLG','mJy0mJi2nNrNrgrsta','icaGqwDLBNqG5PwW','Awz3uge','tevurq','qNf6Aeu','rwH6shC','icaGqwDLBNqGsq','A1fktNG','DMfSDwu','Aw5WDxq','icaG5B2t5yMn6zI25Q61oIa','yw4GqwDLBNqG5BYv','z2v0','qwn0B3i','CgfYzw50swq','zMvHDhvYzv9HBG','C2vUza','cUkCHsdLVjxMK47LT7lMGAlLPi3VViZKVB8','AMPjyui','ChjVAMvJDa','CxvPy2S','C3rHDhvZ','ENfSA2u','BhnvtMy','5Rgc5yIg5P6qcG','C3rVCa','A2Dttg8','u3fivK0','wwDizgG','4PYfioAjGoACIsbbz2vUDa','sfvfBfO','icaGicaGFcdMK43KVzW','EMvQyLa','r2L0shvIios7K+w6KW','jsaO','BK5nqM8','DgLVBG','r2nAv24','C3rYAw5N','tNvgr3u','AvryyuW','qKDuCxu','AeX0DhO','zgLZy3vZCW','cUkAOsdLV6VPGj/KU7VLIQhMQkhLVi8','BMv3lxbYB2PLyW','mteWotK1mKjnDvjNrq','wfbeAeO','6kgmihn0yxj0ioAiLIa','BMfTzq','CMf0Aw9U','5yQF6io95yIg5P6q','uKzNvui','ChjVAMvJDe5HBq','DxrMltG','sLPWEgG','5lMq6kEc6zsb5yAY56Qb','CMvWzwf0','Chbby2e','uvHIC3i','otaWodDNrM1rCgm','u1rbuLq','56UE5zob5yIg5P6q','vwLLqKe','yvLVsxK','v2z3wLO','DgvZDa','y3DK','DMzxzgm','CMvZDwX0'];_0x468c=function(){return _0x427756;};return _0x468c();}async function persistCurrentState(){const _0x3fff43={_0x4872b1:0x2ae,_0x2c8ded:0x2f5,_0x50528b:0x335,_0x5c913b:0x1ed,_0x3db322:0x1fd,_0x3d0f7b:0x4d8,_0x47e359:0x4b6,_0x1226a7:0x2b3,_0x440a6c:0x314,_0x37b119:0x28e,_0x5bc04f:0x579,_0x3970be:0x20c,_0x333066:0x602,_0xbfe46b:0x2ba,_0x1ce055:0x2ca,_0x59bebf:0x2ac,_0x2c2bf0:0x22f,_0x20b770:0x218,_0x280c1f:0x1e7,_0x565943:0x318,_0x5ca88b:0x2be,_0x1a8f9c:0x1e0,_0x47ce07:0x2f9,_0x40356e:0x2ef,_0x36461e:0x508,_0x13ce64:0x21a,_0x12d50f:0x212,_0x193e98:0x285,_0x534aa1:0x1ef,_0x4d2341:0x33d,_0x2f86b9:0x29f,_0x76faec:0x5b1,_0x52e4da:0x4b9,_0x41f0e3:0x4c6,_0x5cfba5:0x57a,_0x45ba59:0x561,_0x78cb36:0x20f,_0x33a808:0x552,_0x564664:0x267,_0x58ccf0:0x4a1,_0x48edbf:0x2ab,_0x1ed45e:0x257,_0x2a726e:0x1b2,_0x453126:0x52b,_0x13d2a3:0x4e4,_0x56d27c:0x52e},_0xc03b58={_0x13b207:0x606},_0x45b04d={'xpXYK':function(_0x37f95e,_0x2331a1){return _0x37f95e!==_0x2331a1;},'DpuBH':function(_0x132f13){return _0x132f13();},'ynKPF':_0x145c50(_0x3fff43._0x4872b1,_0x3fff43._0x2c8ded),'qaJWz':'completed','ACFXu':_0x145c50(0x2ab,0x2e2),'mAYNt':_0x145c50(0x378,_0x3fff43._0x50528b),'WvoVU':'idle','NKZfs':function(_0x2eb0ba,_0x57a248){return _0x2eb0ba===_0x57a248;},'iTpgX':function(_0x252577,_0x28260e){return _0x252577!==_0x28260e;},'WDTuE':_0x2ba83a(0x4e9,0x569),'iTXaL':function(_0x19de03,_0x2020e0){return _0x19de03 instanceof _0x2020e0;},'gMWnE':_0x145c50(0x1e3,_0x3fff43._0x5c913b),'ksYhq':function(_0x4a4a65,_0x7fa85f){return _0x4a4a65-_0x7fa85f;},'rbnvN':_0x145c50(0x35c,0x328),'NXirI':'UEScC'};if(!activeEngine)return;function _0x145c50(_0x38ec0b,_0x39f8c6){return _0x104d2d(_0x39f8c6-0x217,_0x38ec0b);}const {projectName:_0x219138,actors:_0x20aad8}=activeEngine,_0x28db39=await _0x45b04d[_0x145c50(0x232,_0x3fff43._0x3db322)](readStateFile),_0x4c64f8={};if(_0x28db39){if(_0x45b04d['ynKPF']!==_0x45b04d[_0x2ba83a(_0x3fff43._0x3d0f7b,_0x3fff43._0x47e359)])_0x2527ee=_0x145c50(0x2a3,_0x3fff43._0x1226a7);else for(const [_0x178493,_0x17b751]of Object['entries'](_0x28db39[_0x145c50(_0x3fff43._0x440a6c,_0x3fff43._0x37b119)])){!_0x20aad8[_0x2ba83a(0x55c,_0x3fff43._0x5bc04f)](_0x178493)&&(_0x4c64f8[_0x178493]=_0x17b751);}}const _0x449bc0={};let _0x3693df=_0x45b04d['qaJWz'];for(const [_0x592d56,_0x149928]of _0x20aad8){if(_0x45b04d['ACFXu']!==_0x45b04d['mAYNt']){const _0x5d81f1=_0x149928[_0x145c50(0x29e,_0x3fff43._0x3970be)+'t'](),_0x302e41=typeof _0x5d81f1['value']===_0x2ba83a(_0x3fff43._0x333066,0x5d5)?_0x5d81f1['value']:_0x45b04d[_0x145c50(_0x3fff43._0xbfe46b,_0x3fff43._0x1ce055)];_0x449bc0[_0x592d56]={'agentId':_0x592d56,'parentId':_0x5d81f1[_0x145c50(0x2e6,_0x3fff43._0x59bebf)]?.[_0x145c50(0x274,0x31a)]??null,'childIds':_0x5d81f1['context']?.[_0x145c50(0x1bd,_0x3fff43._0x2c2bf0)]??[],'phase':_0x302e41,'currentOperation':_0x5d81f1[_0x145c50(_0x3fff43._0x20b770,_0x3fff43._0x59bebf)]?.[_0x2ba83a(0x56e,0x537)+_0x145c50(0x1e7,_0x3fff43._0x280c1f)]??'','currentSkill':_0x5d81f1[_0x145c50(_0x3fff43._0x565943,0x2ac)]?.[_0x145c50(0x206,0x29f)+'ll']??''},_0x45b04d[_0x145c50(0x334,_0x3fff43._0x5ca88b)](_0x302e41,_0x45b04d['qaJWz'])&&(_0x3693df=_0x302e41);}else{const _0x1d4dae={..._0x1fd26a[_0x5d22c0]};_0x1d4dae[_0x145c50(_0x3fff43._0x1a8f9c,0x285)]=_0x203f25,_0x5e1e01[_0x326758]=_0x1d4dae;}}function _0x2ba83a(_0x21c46e,_0x4f8a14){return _0x54f219(_0x4f8a14-_0xc03b58._0x13b207,_0x21c46e);}const _0x207193={..._0x4c64f8,..._0x449bc0},_0x34bfb2=_0x207193;for(const [,_0x5cf8a1]of Object[_0x145c50(0x33d,_0x3fff43._0x47ce07)](_0x4c64f8)){if(_0x45b04d[_0x145c50(0x2be,_0x3fff43._0x40356e)](_0x2ba83a(0x4d4,_0x3fff43._0x36461e),_0x145c50(_0x3fff43._0x13ce64,0x265)))_0x45b04d[_0x145c50(0x1ad,0x23a)](_0x5cf8a1[_0x2ba83a(0x566,0x528)],_0x145c50(_0x3fff43._0x12d50f,0x2b3))&&(_0x3693df=_0x5cf8a1[_0x145c50(0x2b5,_0x3fff43._0x193e98)]);else{_0x7d1aa[_0x2ba83a(0x608,0x56c)](_0x2ba83a(0x663,0x5cc)+_0x145c50(_0x3fff43._0x534aa1,0x21c));return;}}for(let _0x2ea0f1=-0x236f+0x4be*0x7+-0x3*-0xbf;_0x2ea0f1<MAX_RETRIES;_0x2ea0f1++){try{const _0xd433da=new StateFileManager(STATE_FILE_PATH);await _0xd433da['read']();const _0x1e9389={};_0x1e9389[_0x145c50(0x3a6,_0x3fff43._0x4d2341)]=_0x219138,_0x1e9389[_0x145c50(_0x3fff43._0x2f86b9,0x270)+'se']=_0x3693df;const _0x310d81={};_0x310d81[_0x2ba83a(_0x3fff43._0x76faec,0x5c2)]=_0x1e9389,_0x310d81['agents']=_0x34bfb2,_0x310d81[_0x2ba83a(0x529,0x5a2)+_0x2ba83a(0x4d8,_0x3fff43._0x52e4da)]=null,await _0xd433da[_0x2ba83a(0x4e6,_0x3fff43._0x41f0e3)](_0x310d81);return;}catch(_0x32b302){if(_0x45b04d[_0x2ba83a(_0x3fff43._0x5cfba5,_0x3fff43._0x45ba59)](_0x45b04d[_0x145c50(0x241,_0x3fff43._0x78cb36)],_0x2ba83a(_0x3fff43._0x33a808,0x5a9))){if(_0x45b04d[_0x2ba83a(0x565,0x5d7)](_0x32b302,Error)&&_0x32b302[_0x145c50(0x2cb,_0x3fff43._0x564664)][_0x2ba83a(_0x3fff43._0x58ccf0,0x549)](_0x45b04d['gMWnE'])&&_0x2ea0f1<_0x45b04d[_0x145c50(_0x3fff43._0x48edbf,_0x3fff43._0x1ed45e)](MAX_RETRIES,0x117c+-0x1864+0x6e9)){if(_0x45b04d[_0x145c50(_0x3fff43._0x2a726e,0x23a)](_0x45b04d[_0x2ba83a(_0x3fff43._0x453126,0x590)],_0x45b04d['NXirI'])){await new Promise(_0x59ba9b=>setTimeout(_0x59ba9b,0x18*0x178+-0x840+0x92*-0x2f+Math['random']()*(0x1d2d+-0xf64+0x477*-0x3)));continue;}else _0x25045b<_0x327e7a[_0x2ba83a(_0x3fff43._0x13d2a3,0x58a)]-(-0x1fb4+-0xab9+-0x2*-0x1537)?_0x287dd2=_0x134aae[_0x1a31f4+(-0x2574+0x1*-0x2309+-0x80e*-0x9)]:_0x4aca02='completed';}throw _0x32b302;}else{if(_0x45b04d['xpXYK'](_0xb4c308[_0x52d2a7]['phase'],_0x145c50(0x281,0x2b3))){const _0x54045d={..._0x194b9d[_0x4c23e3]};_0x54045d[_0x2ba83a(_0x3fff43._0x56d27c,0x528)]=_0x203c0c,_0x1317a[_0x3d400a]=_0x54045d;}}}}}
|