specops 0.2.1 → 0.2.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (41) hide show
  1. package/.opencode/agent/demand-analyst.md +50 -0
  2. package/.opencode/skills/competitor-search/SKILL.md +169 -0
  3. package/.opencode/skills/demand-analysis/SKILL.md +307 -0
  4. package/.opencode/skills/feature-search/SKILL.md +182 -0
  5. package/.opencode/skills/tech-selection/SKILL.md +198 -0
  6. package/dist/__e2e__/01-state-engine.e2e.test.js +1 -1
  7. package/dist/acceptance/lazyDetector.js +1 -1
  8. package/dist/acceptance/lazyDetector.test.js +1 -1
  9. package/dist/acceptance/reporter.js +1 -1
  10. package/dist/acceptance/reporter.test.js +1 -1
  11. package/dist/acceptance/runner.js +1 -1
  12. package/dist/acceptance/runner.test.js +1 -1
  13. package/dist/cli.js +1 -1
  14. package/dist/context/index.js +1 -1
  15. package/dist/context/promptTemplate.js +1 -1
  16. package/dist/context/promptTemplate.test.js +1 -1
  17. package/dist/context/techContextLoader.js +1 -1
  18. package/dist/context/techContextLoader.test.js +1 -1
  19. package/dist/engine.js +1 -1
  20. package/dist/evolution/distiller.js +1 -1
  21. package/dist/evolution/index.js +1 -1
  22. package/dist/evolution/memoryGraph.js +1 -1
  23. package/dist/evolution/selector.js +1 -1
  24. package/dist/evolution/signals.js +1 -1
  25. package/dist/evolution/solidify.js +1 -1
  26. package/dist/evolution/store.js +1 -1
  27. package/dist/evolution/types.js +1 -1
  28. package/dist/init.js +1 -1
  29. package/dist/machines/agentMachine.js +1 -1
  30. package/dist/machines/agentMachine.test.js +1 -1
  31. package/dist/machines/supervisorMachine.js +1 -1
  32. package/dist/machines/supervisorMachine.test.js +1 -1
  33. package/dist/persistence/schema.js +1 -1
  34. package/dist/persistence/stateFile.js +1 -1
  35. package/dist/persistence/stateFile.test.js +1 -1
  36. package/dist/plugin-engine.js +1 -1
  37. package/dist/plugin.js +1 -1
  38. package/dist/types/index.js +1 -1
  39. package/dist/utils/id.js +1 -1
  40. package/package.json +2 -2
  41. package/scripts/postinstall.mjs +13 -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(_0x3b9b6c,_0x43922d){const _0x36caa6={_0x26f27d:0x63,_0x200bda:0x85,_0x451509:0x9e,_0x215821:0x12d,_0x423bb4:0x9e,_0x3dfcaa:0x15d,_0x6eb9a:0x162,_0x46e9c9:0x195},_0x4fdcfb={_0x371f05:0x3bb};function _0x835d72(_0x439ff4,_0x39b701){return _0xe9f3(_0x439ff4- -_0x4fdcfb._0x371f05,_0x39b701);}const _0x1e7836=_0x3b9b6c();function _0x1c82e7(_0x564381,_0xb5b7fc){return _0xe9f3(_0xb5b7fc- -0x262,_0x564381);}while(!![]){try{const _0x4ee452=parseInt(_0x1c82e7(-_0x36caa6._0x26f27d,-0xa))/(-0x90b+-0x1*-0x19f3+-0x10e7*0x1)*(-parseInt(_0x835d72(-0x122,-0x78))/(-0x7fa+0x8b*-0x17+0x1479))+-parseInt(_0x835d72(-_0x36caa6._0x200bda,-_0x36caa6._0x451509))/(-0x9a7*-0x2+0x38a*-0x8+0x905*0x1)+-parseInt(_0x835d72(-0x179,-_0x36caa6._0x215821))/(0x339*-0x2+-0x20fb*-0x1+-0x1a85)+parseInt(_0x835d72(-_0x36caa6._0x423bb4,-0xff))/(0xa25*-0x1+0x234b+-0x1921)+parseInt(_0x835d72(-0xbc,-0xd7))/(0x5f2*0x1+-0x8a5+0x2b9)+-parseInt(_0x1c82e7(-0x6e,-0x6c))/(0x132+-0x3*0x450+-0x17*-0x83)+parseInt(_0x835d72(-_0x36caa6._0x3dfcaa,-_0x36caa6._0x6eb9a))/(-0x6*0x2e3+0xc9*0x1+0x1091)*(parseInt(_0x835d72(-0x11a,-_0x36caa6._0x46e9c9))/(0x26f3+0xbcd+-0x32b7*0x1));if(_0x4ee452===_0x43922d)break;else _0x1e7836['push'](_0x1e7836['shift']());}catch(_0x5c3573){_0x1e7836['push'](_0x1e7836['shift']());}}}(_0x5548,-0x2e*0x3b6e+-0x9*-0x160f+0x104f18));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 _0x5da74d={};_0x5da74d[_0x21fd29(0x1b5,0x1f9)+_0xd1aea8(0x4f0,0x48d)]=_0x21fd29(0x12c,0x188),_0x5da74d[_0xd1aea8(0x50a,0x470)+_0xd1aea8(0x4e5,0x46f)]=_0xd1aea8(0x39e,0x38c),_0x5da74d[_0xd1aea8(0x405,0x44b)+_0x21fd29(0x1bc,0x264)]=_0xd1aea8(0x3dd,0x39a),_0x5da74d['tech_selec'+'tion']=_0x21fd29(0x1f9,0x1aa),_0x5da74d['discuss']='讨论',_0x5da74d[_0xd1aea8(0x41b,0x458)]='规划',_0x5da74d[_0x21fd29(0xa1,0x150)]='执行',_0x5da74d['verify']='验证';const PHASE_NAMES=_0x5da74d;function _0xe9f3(_0xc29024,_0xee8486){_0xc29024=_0xc29024-(-0x2cf*-0xd+0x153f+-0x37de);const _0x28ca82=_0x5548();let _0x531468=_0x28ca82[_0xc29024];if(_0xe9f3['YlGhBn']===undefined){var _0xcb476c=function(_0x43b52f){const _0x2bf92c='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x3c93d6='',_0x43a5a1='';for(let _0x2d78ea=0x1*-0xd2b+-0xe42+0x1b6d,_0x4214a7,_0x1e0718,_0x582606=-0x2e3*0xc+0x2671+-0x3cd;_0x1e0718=_0x43b52f['charAt'](_0x582606++);~_0x1e0718&&(_0x4214a7=_0x2d78ea%(-0x4af+-0xf50+0x1403)?_0x4214a7*(0x13*0x1d+-0x76*-0xb+-0x6f9)+_0x1e0718:_0x1e0718,_0x2d78ea++%(0x2160*-0x1+0xc0b+-0x1*-0x1559))?_0x3c93d6+=String['fromCharCode'](0x125e+-0x1d4f+0xbf0&_0x4214a7>>(-(-0x1*-0x1ada+0x140d+-0x2ee5)*_0x2d78ea&0x191*-0x1+0xd4*-0x9+0x1*0x90b)):-0x121f*0x1+0x1*0xe59+0x3c6*0x1){_0x1e0718=_0x2bf92c['indexOf'](_0x1e0718);}for(let _0x58e6af=-0x1*0x551+0x1a6a+-0x1519,_0x45aa49=_0x3c93d6['length'];_0x58e6af<_0x45aa49;_0x58e6af++){_0x43a5a1+='%'+('00'+_0x3c93d6['charCodeAt'](_0x58e6af)['toString'](-0x55*0x67+-0x679+0x21*0x13c))['slice'](-(-0x2543*0x1+0xbbb+0x198a));}return decodeURIComponent(_0x43a5a1);};_0xe9f3['vFnaMa']=_0xcb476c,_0xe9f3['gzPQDD']={},_0xe9f3['YlGhBn']=!![];}const _0x5275c4=_0x28ca82[0x26df+0x163f+0x3d1e*-0x1],_0x31ff99=_0xc29024+_0x5275c4,_0x33ef07=_0xe9f3['gzPQDD'][_0x31ff99];return!_0x33ef07?(_0x531468=_0xe9f3['vFnaMa'](_0x531468),_0xe9f3['gzPQDD'][_0x31ff99]=_0x531468):_0x531468=_0x33ef07,_0x531468;}function _0x21fd29(_0x21d00c,_0xe57aeb){const _0xed37ab={_0x2bd7a3:0xe3};return _0xe9f3(_0xe57aeb- -_0xed37ab._0x2bd7a3,_0x21d00c);}function _0x5548(){const _0x106bd0=['CMf0Aw9UioAoQoI/M+MyTG','q0HjterFq09nua','ndi3mZiYmfbrA2L3vq','B2ryBMq','shv6Ewy','CMf0Aw9U','zunYwK4','iokgKIa','icaG5PU05PAW5PE26zE0oIa','q0Hytuy','lNnWzwnVChm','tuvcqMq','5yQF6io95yIg5P6q','ExbHDhy','r1nTs2m','z1rerhC','ioAbOUwKJq','cVcFLi0G5BYa5AEl5yIg5P6q','DgDnrxu','vu11Du4','Cg96tMq','icaGicaGFcdMK43KVzW','CeHWBxm','6zsaoIa','B2T6wMS','6yEpoIa','DcdLKB3KU6q','BfrwrxG','r1ndt00','DMfSDwu','zgn6r0u','u1ndu0S','icaGqwDLBNqG5PwW','ChjVAMvJDcdLKB3KU6q','Aw5KzxHpzG','ELD6yvG','tKTwCNa','reLtuefuq0HFva','ANDtzuu','B3iG5BEY5zcV5yQO','EwfUtKC','A1L5yNK','5Q615Ps26zUg6zYa5Rgc44cb6k6O6k665PA55Qgi','ywTuDve','D2fYBG','ENHRqNO','r3bwvMG','qxfSs1G','quzSB3a','iow3SUwUJoAiKo+8JoAxOoMCGoAbOUwKJq','D3jPDgu','Bg9N','z2L0AhvIx3vYBa','xsdLT7lLROZMIjdLHAJPG6JPMlBMRRu','cVcFK4OG6Ag555UU54Q25OcboIa','5yQH5lIn6lwW5A6m5Pw0ifbPCgu','tejIrgq','q3vYEui','Buv4Dvm','qwn0B3i','ihWG','BuvICgy','CwDfCLi','zxHLy3v0zq','uxjcu1G','y2HPBgrjzhm','CLvsDxG','wvHYDgO','zhbTqvO','zMvMsuy','icaG8j+KLIbbz2vUDa','AgXXr3O','u1rbuLrFueHbuW','y3vYCMvUDe9Wzq','ioIVPUAdHtO','DgvZDa','icaG5B2t5yMn6zI25Q61oIdPNia','z2v0','ntK2odC2u21iv1fe','ELPOqum','u1bluvq','q1vlC1q','yMrWCK0','AgTkChu','4PQG77Ipicbbz2vUDca','xsbbz2vUDcdLT7lLKk8','4P2miefNzw50ia','zgDWsNK','qMTkqMS','zej4sNG','z2v0u25HChnOBW','xsdKU44G','rMfyq0u','ugLRAgi','AuzTDwW','BvDwwwC','BMLtuMi','DNvsBxC','uNryDMi','AgfZ','mNjdChvIwG','ueTYDvG','tgXnDMW','CMvJDxjZAxzL','Dw5RBM93BG','vvbeqvrfx09qrq','ndm3nM9cDhLruq','D2Lbqxi','BwfW','CKrhq1y','BwfJAgLUzvnUyq','55sOigfKDMfUy2uG','rvLeveW','Bvnwuxe','rcaGicaGicaGia','8j+BKsdLVjxMK47LT7lLGzZMRAi','5Rgc5yIg5P6qcG','yw4GqwDLBNqG5BYv','vuXRCei','6zYa5Rgc5yIg5P6q','DxrZBMu','C2v0','tevurq','thr2BfG','DfnAyLu','DdOG','CgfKrw5K','qxrjD0S','s09ADwC','wMntvwm','t1LSteq','Cg13De8','cUkAOsdLV6VPGj/KU7VLIQhMQkhLVi8','icaG6zI25Q615BQp5yIxoIa','icaGqwDLBNqGsq','5Ocb5PAh5lU25lIn5A2y5zYO77Ym6k+35ywi6l+q','ruTHueO','BgvUz3rO','DcdORRdLVzu','twXNB0G','5yAmoIa','t3jIreu','55sOigfKDMfUy2uV','77Ym6k+35ywi6l+q6kgmihn0yxi','zxjZve0','DMvYC2LVBG','CgHHC2u','D2vIC2L0zv91CG','ios4JEwTMowCQos6JIbZDgf0','icaG5O+q56s6oIdLNkJMRAtPMly','CMvWzwf0','vuTACwO','qNz4Bu0','5OQa5PYV6ycj5z6l','CgHHC2vZ','Ee1pufO','zurXzuW','icaG54Mi5PYSoIa','uLLWq3q','4PYfiefNzw50iow3SUAZQa','5AsX6lsL77Ym57UN57UT5OMN6kgm','sMPgr1u','cVcFK50G6l+B5ywL6kEe5yIs6zI25Q61oG','qvnOEMW','xsdMTl7LJ5hLRzaGqwDLBG','ndy1odi2yvbxAvfb','y2HPBgrjza','r2vZvha','uvfXz1y','icaG5B2t5yMn6zI25Q61oIa','tM5KAgy','ChjVAMvJDe5HBq','CMfUzg9T','mtuYmJHZuwfIq1C','rK5qC2K','6kgmihn0yxj0ioAiLIa','ANvLBKi','zvzVt3K','D1fAzNG','zMLUza','ywn0B3jZ','AKjov3a','DhLWzq','AxfiqxG','4PQG77IpicdLIQdOVB3MIOdMNk/KUiRKUiVMLOC','CxvPy2STDgfZAW','AxbHvLO','AM9PBG','ueHbu0vFq09nua','zMvHDhvYzv9HBG','CMvXDwLYzw1LBG','AwrSzq','jsaO','wuzIugK','ywDLBNrZ','ELDUzLO','cVcFLiqG5OgI5Asn5BYv5Poo','4PQG77IpicdML6dMTlVOT4pLVjxMK47KUjtNIRy','D0rruM4','icaGicaGicb8ia','ios4JEwTMowCQa','BMfTzq','CgXHBG','C3vWzxj2AxnVCG','D1fSseK','CxvPy2S','AKzirfK','v0zbr1m','EfrSCem','uKfusu9o','yvfZs0K','v3DLsw0','tMnWvg4','Buzovvq','icaG54I2iefNzw50','qLHJsuW','EwH5veq','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','uuD3s2y','yuLJs2S','CuvwruO','EuTjtw4','ugnsq2C','C3rHCNq','C29jzuy','x2fUywX5C2LZ','y29TCgv0AxrVCG','ihWG6zI25Q61icaGica','qNH6tKG','cUkAOsdOV5VLHAxMIAFOOyZPMlBMRRu6','tLP4yKC','B0jzte0','zgvTyw5Kx2fUyq','B3bLCMf0Aw9U','ru5Fre9orq','xsbtDxbLCNzPCW','qvvwzgK','5PYQ55+L57g75z6l','DxrMltG','77Ym6k+35ywi6l+q6kgmig5LDY0','icaG5lU75yQHoIa','B3Drs0K','sg9Nwxy','EhviC1G','zMLSDgvY','AeXZvMi','zLDWBwe','4PYfioAjGoACIsbbz2vUDa','CMvZDwX0','y29TCgXLDgvK','wwnACKu','tLbQz0m','r0viBee','t1z6Bfy','yLbTqNO','BhLZAxm','BuHgvhq','6zYa5Rgc5PAh5PYS','EKDps1i','cUkCHsdLVjxMK47LT7lMGAlLPi3VViZKVB8','rwDdBeK','BgLUzE+8JoEBToAoPEAjP+IHJaO','u1rbuLq','DxbKyxrLlw9Wzq','rM1Os1u','5Q615OMN6kgm5yw35l2t5lU75yQHcG','Bg5QAMG','mtq4mJa5nMLSsMXvBW','zs5QC29U','v096tLi','Aw5JBhvKzxm','icaG8j+tIcdPMlBMRRxLIiBLUim6','u2rMr1y','77Ym6lEZ6l+h','z3nntMG','rKfxwMu','rxjiCvK','C3rYAw5N','icaG6l6t5ywL57g75z6loIa','ihn0yxj0iowrVEs7Pa','y29UDgv4Da','CgfYC2u','CwD6C2W','DcdLT7lLROZMIjdLHAJPG6JPMlBMRRu','y3DK','thjZCNy','q2LUBu8','rLvsuw8','cUkCHsbbz2vUDca','rMXev1q','icaGicaGicaGia','ueTuEuq','zhP3uNO','t1nju0e','zg9Uzq','y3vYCMvUDfnRAq','y3vYCMvUDfbOyq','mZm1mJa0nwnmEuPptG','A1rTA1y','y21uzwC','ChjVAMvJDa','ywTIqxC','cVcFHPuG6Ag555UU5BEY5yIB5BU6oIa','DxPSwee','yu9ts3u','77Ym5PEG5Rov5OgI5Asn44cc6k+35ywi6l+q6kgm','5lMq6kEc6zsb5yAY56Qb','iow3SUwTMowCQo+8JoI3S+I/H+AZQowgJa','vwPOruu','icaGqwDLBNq6ia','cVcFK4OG6Ag555UU6l+B5BQMoIa','tNfzwhy','C3rVCa','ALfSy0W','zKj4zKu','wxbzBey','Bwf4','icaG5O+q56s6oIdLV6VPGj/KU7S','icaG5yID5AEliefNzw4','zw50CMLLCW','DuzRv2i','cVcFJOKG5OMa5PYjiefNzw4','ntKYotiZrfDgwuHV','572r56Uzifvsta','BMv3lxbYB2PLyW','CMvHza','ChnOB3q','r3HsvMq','revwww4','CxnRzfq','5yQO77Ym562j5B6f6zI25Q615O6O6l+B','rwvjy0C','wfbLEK8','CM91BMq','BK9pEu4','5A2q5lU75yQHia','C2TPBgW','cVcFKQWG6l+B5ywL6k6O6k666zI25Q61oG','C3rHDhvZ','ywX5C2LZ','C2XPy2u','ywDLBNrjza','seDzywG','CgfYzw50swq','icaG6zI25Q61oIa','DNzqCLm','CNnfsNO','icaG','y2zSBge','C2vUza','A2v5CW','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','q0LlBMO','Aw5WDxq','icaG5PQc5PEGiefNzw4','lI4U','vefVCLm','icaG6Ag555UUoIa','56UE5zob5yIg5P6q','tvj2Dhm'];_0x5548=function(){return _0x106bd0;};return _0x5548();}const STATE_FILE_PATH=resolve(process['cwd'](),_0x21fd29(0xe4,0x11b),'state.json');let activeEngine=null;export async function startEngine(_0x77f9e6){const _0x2b9306={_0x53040d:0x182,_0x238d36:0x1e7,_0x510258:0x18f,_0x40afc0:0x12e,_0x49b5ea:0x133,_0x5d1ff7:0x170,_0x3f996a:0xbf,_0x286543:0xbc,_0x11a798:0x137,_0xa7144a:0x1a6,_0x5e61b3:0xa9,_0x3bee1d:0x12a,_0x22f619:0x3,_0x32cc0b:0x1cf,_0x5bf906:0x159,_0x2fbf08:0x113,_0x4fe4e2:0x110,_0x21e83d:0x122,_0x2606b5:0x1de,_0x5a8f17:0x1d5,_0x1d327d:0x1c5,_0x3aed4e:0x168,_0x5cf874:0x161,_0x276b0f:0x93,_0x55c9c9:0xb1,_0x109ef0:0x11a,_0x41c584:0x1f0,_0x1774ba:0x21f,_0x5c1043:0x1ae,_0x128def:0x1ad,_0x12978e:0x9e,_0x266c4a:0xcb,_0x130f5e:0x1be,_0xc2c26:0x101,_0x88db80:0x1aa,_0xddee7c:0xc4,_0x576cf3:0x183,_0x4d7614:0x111,_0x4d33e5:0x16d,_0x3a8190:0x124,_0x2d149f:0x1ce,_0x58e094:0x17e,_0xef3931:0x144,_0xbe49cf:0x1a9,_0x9daded:0x109,_0x56af1e:0x82,_0x2aa0e7:0x1b,_0x25de38:0xbe,_0x3c4c6a:0xff,_0x21a6a4:0x13d,_0x48c707:0xe5,_0x4584c6:0x120,_0x426e43:0x13f,_0x51dbca:0x9d,_0x1abc1e:0x102,_0xca37a9:0x8b,_0x488cc8:0x1b4,_0x3f4ce4:0x14e,_0x560260:0x100,_0xed7a7:0x115,_0x2d553e:0x96},_0x2aa0f9={_0x39d0bb:0x531},_0x3d4bd6={'xTlpC':_0x381398(_0x2b9306._0x53040d,_0x2b9306._0x238d36),'HogYv':_0x381398(_0x2b9306._0x510258,_0x2b9306._0x40afc0),'EswZb':'PHASE_COMP'+_0x381398(0x103,0xdc),'NlHmn':_0x381398(0xea,0x165),'ersTM':function(_0x44d9b4){return _0x44d9b4();},'QrBSX':'📋\x20已加载技术上下文','rURux':function(_0x1c91c6){return _0x1c91c6();},'PkKsg':function(_0x53655c,_0x1a0e06){return _0x53655c<_0x1a0e06;},'uFkWb':function(_0xf87851,_0x5d9094){return _0xf87851+_0x5d9094;},'tSZbU':function(_0x15d9a7,_0x2f6e5e,_0xf52e11){return _0x15d9a7(_0x2f6e5e,_0xf52e11);}},{projectName:_0xc7f672,agentCount:agentCount=0x277*0x3+0x20aa+-0xd5a*0x3,phases:phases=PHASES}=_0x77f9e6,_0x413942=new Map();console[_0x1f0935(-_0x2b9306._0x49b5ea,-_0x2b9306._0x5d1ff7)]('\x0a🚀\x20启动\x20Kanb'+_0x1f0935(-_0x2b9306._0x3f996a,-0x12e)+'擎'),console[_0x381398(_0x2b9306._0x286543,_0x2b9306._0x11a798)](_0x1f0935(-0x177,-_0x2b9306._0xa7144a)+_0xc7f672),console[_0x1f0935(-0x17e,-0x170)](_0x381398(_0x2b9306._0x5e61b3,_0x2b9306._0x3bee1d)+_0x381398(0xa2,-_0x2b9306._0x22f619)+agentCount),console['log'](_0x381398(0x10e,0x1ae)+phases[_0x1f0935(-0x11b,-0x137)](_0x598800=>PHASE_NAMES[_0x598800]??_0x598800)[_0x381398(0x144,0x166)](_0x1f0935(-0x202,-0x19c))+'\x0a');let _0x1a1b41=null;try{if(_0x3d4bd6['NlHmn']===_0x381398(0x124,_0x2b9306._0x32cc0b))_0x4a5a92=_0x3d4bd6[_0x381398(_0x2b9306._0x5bf906,0x14e)];else{_0x1a1b41=_0x3d4bd6[_0x1f0935(-0x12e,-_0x2b9306._0x2fbf08)](loadTechContext);if(_0x1a1b41){if('qcMLG'!==_0x1f0935(-0x20a,-0x178))console[_0x1f0935(-_0x2b9306._0x4fe4e2,-0x170)](_0x3d4bd6[_0x1f0935(-_0x2b9306._0x21e83d,-0x163)]);else{const _0x847537=_0x1e4720[_0x187b26],_0x45c22f={};_0x45c22f[_0x381398(_0x2b9306._0x2606b5,_0x2b9306._0x5a8f17)]=_0x5c0352,_0x45c22f[_0x381398(0x1e0,_0x2b9306._0x1d327d)]=_0x847537['parentId']??_0x4a459a;const _0xb5c375={};_0xb5c375['input']=_0x45c22f;const _0x14d18d=_0x488ffb(_0x4e3b95,_0xb5c375);_0x14d18d[_0x381398(_0x2b9306._0x3aed4e,0x141)]();const _0x375071={};_0x375071[_0x381398(0x13f,_0x2b9306._0x5cf874)]=_0x3d4bd6[_0x1f0935(-_0x2b9306._0x276b0f,-_0x2b9306._0x55c9c9)],_0x14d18d['send'](_0x375071);for(let _0x34f409=0x1e7b+0x3a5*0xa+-0x42ed;_0x34f409<_0x24c601[_0x1f0935(-0x169,-_0x2b9306._0x109ef0)];_0x34f409++){const _0x451039={};_0x451039[_0x381398(0x13f,_0x2b9306._0x41c584)]=_0x3d4bd6['EswZb'],_0x14d18d[_0x1f0935(-_0x2b9306._0x1774ba,-_0x2b9306._0x5c1043)](_0x451039);}_0x4bf234[_0x381398(0x102,0x17b)](_0x2413aa,_0x14d18d);}}}}catch(_0x573623){console[_0x1f0935(-_0x2b9306._0x128def,-0x177)](_0x381398(0x141,_0x2b9306._0x12978e)+_0x1f0935(-0x57,-0x103),_0x573623);}let _0x29e3ea=null;if(agentCount>0x167+-0x21e5+-0x3b*-0x8d){const _0x214a77=_0x3d4bd6[_0x381398(_0x2b9306._0x266c4a,0x135)](generateAgentId),_0x28a16f={};_0x28a16f[_0x381398(_0x2b9306._0x2606b5,_0x2b9306._0x130f5e)]=_0x214a77;const _0xee698={};_0xee698[_0x1f0935(-_0x2b9306._0xc2c26,-_0x2b9306._0x88db80)]=_0x28a16f,_0x29e3ea=createActor(supervisorMachine,_0xee698),_0x29e3ea[_0x1f0935(-_0x2b9306._0xddee7c,-0xc4)]();const _0x473641={};_0x473641['type']=_0x381398(0xd1,0x17e)+'E',_0x473641[_0x1f0935(-_0x2b9306._0x576cf3,-_0x2b9306._0x4d7614)]=phases[0xa82*-0x2+0x1bf0+-0x6ec],_0x29e3ea[_0x1f0935(-0x20e,-0x1ae)](_0x473641),console[_0x381398(0xbc,_0x2b9306._0x4d33e5)]('['+_0x214a77+(_0x1f0935(-_0x2b9306._0x3a8190,-0xb8)+'or\x20已启动'));for(let _0xdd6c60=-0x10c8+0x4a*0x77+-0x52*0x37;_0x3d4bd6['PkKsg'](_0xdd6c60,agentCount);_0xdd6c60++){const _0x2bf5dc=generateAgentId();_0x29e3ea['send']({'type':_0x1f0935(-_0x2b9306._0x2d149f,-_0x2b9306._0x58e094)+'ASK','childId':_0x2bf5dc,'task':_0x381398(0x1d8,_0x2b9306._0xef3931)+_0x3d4bd6[_0x1f0935(-0x82,-0x63)](_0xdd6c60,-0x1ca2+0x587*0x1+0x171c)});const _0x19e5ef={};_0x19e5ef[_0x381398(0x1de,_0x2b9306._0xbe49cf)]=_0x2bf5dc,_0x19e5ef[_0x1f0935(-0xa3,-0x4c)]=_0x214a77,_0x19e5ef[_0x1f0935(-0xeb,-_0x2b9306._0x9daded)]=phases;const _0x3c3da7={};_0x3c3da7[_0x381398(_0x2b9306._0x56af1e,-_0x2b9306._0x2aa0e7)]=_0x19e5ef;const _0x22cfe8=_0x3d4bd6[_0x1f0935(-0x19f,-0x127)](createActor,agentMachine,_0x3c3da7);_0x22cfe8['start']();const _0x40a733={};_0x40a733[_0x381398(0x13f,0xd6)]='START',_0x22cfe8['send'](_0x40a733),_0x413942[_0x381398(0x102,0x18a)](_0x2bf5dc,_0x22cfe8),console[_0x381398(0xbc,0xc2)]('['+_0x214a77+(_0x1f0935(-_0x2b9306._0x25de38,-_0x2b9306._0x3c4c6a)+_0x1f0935(-_0x2b9306._0x21a6a4,-0x126))+_0x2bf5dc);}}else{const _0x49b18e=_0x3d4bd6[_0x381398(0x119,_0x2b9306._0x48c707)](generateAgentId),_0x28dfd6={};_0x28dfd6['agentId']=_0x49b18e,_0x28dfd6[_0x1f0935(-_0x2b9306._0x4584c6,-_0x2b9306._0x9daded)]=phases;const _0x51ca5={};_0x51ca5[_0x381398(0x82,0x126)]=_0x28dfd6;const _0x8ac3c0=createActor(agentMachine,_0x51ca5);_0x8ac3c0['start']();const _0x2f9da1={};_0x2f9da1[_0x381398(_0x2b9306._0x426e43,0xbf)]=_0x1f0935(-0x10b,-_0x2b9306._0x51dbca),_0x8ac3c0['send'](_0x2f9da1),_0x413942[_0x381398(_0x2b9306._0x1abc1e,0x14b)](_0x49b18e,_0x8ac3c0),console[_0x381398(0xbc,_0x2b9306._0xca37a9)]('['+_0x49b18e+(_0x1f0935(-_0x2b9306._0x488cc8,-_0x2b9306._0x3f4ce4)+_0x381398(0x1d3,0x1b9)));}const _0x4f8f6f={};_0x4f8f6f[_0x1f0935(-0xbe,-0xf8)+'e']=_0xc7f672,_0x4f8f6f['phases']=phases;function _0x381398(_0x45ee5c,_0x397ad7){return _0x21fd29(_0x397ad7,_0x45ee5c- -0x88);}_0x4f8f6f['actors']=_0x413942,_0x4f8f6f[_0x1f0935(-_0x2b9306._0x560260,-0xd8)+_0x1f0935(-0x147,-0x168)]=_0x29e3ea,_0x4f8f6f['techContex'+'t']=_0x1a1b41;function _0x1f0935(_0xaab5a2,_0x45ec07){return _0xd1aea8(_0xaab5a2,_0x45ec07- -_0x2aa0f9._0x39d0bb);}activeEngine=_0x4f8f6f,await persistCurrentState(),console['log']('\x0a✅\x20引擎已启动,使'+_0x1f0935(-0x14b,-_0x2b9306._0xed7a7)+_0x1f0935(-_0x2b9306._0x2d553e,-0x9c)+_0x1f0935(-0x159,-0x1a3)+'段');}export async function advancePhase(_0x424e16){const _0x5ce7bb={_0xf9764e:0x4c3,_0x3781ef:0x1bb,_0x54e5ab:0x249,_0x482ca3:0x4ce,_0x130814:0x3d7,_0x7434b3:0xf1,_0x56b32d:0x19d,_0x451544:0x120,_0xdbc709:0x44a,_0x1291a2:0x4cc,_0x12fbbe:0x147,_0x5b0ddb:0x10a,_0x3d0fd2:0x16d,_0x3dd226:0x355,_0x1b7ea3:0x108,_0x4f80d0:0x1e6,_0x42e5f4:0x163,_0x4e2e62:0x3ec,_0x51967b:0x48e,_0x58a9c8:0x42f,_0x306c77:0x455,_0x18c481:0x3f2,_0x3c3695:0x3d9,_0x9ef594:0x167,_0x2f38c4:0x207,_0x4201a4:0x13d,_0x7e8be7:0x116,_0x4327db:0x1c6,_0x201d6f:0x18d,_0x2c7149:0xec,_0x2b88e4:0xe9,_0x28c678:0x521,_0x1754a7:0x48c,_0x3450d3:0x206,_0x30f8f2:0x13c,_0x4879bf:0x219,_0x59b02d:0x1b6,_0x47bd35:0x187,_0x260547:0x1dc,_0x1d0945:0x1f4,_0x1b16ec:0x408,_0x555259:0x3dd,_0x5dfe05:0x1cd,_0xddd050:0x342,_0x5ba0c4:0x3cf,_0x1276da:0x19a,_0x5d23d7:0x3b6,_0x9c6341:0x45b,_0x1e48f0:0x234,_0x7a6600:0x102,_0x17c5ec:0x4d9,_0x355d89:0x1b4,_0x3abbb8:0x1d3,_0x1f6132:0x49d,_0x2beea2:0x467,_0x40b77d:0x3cc,_0x4ac1b3:0x16b,_0x19bab8:0x453,_0x5ca037:0x448,_0x305ca4:0x38e,_0x38e773:0x47d,_0x1eaaaa:0x4ca,_0x21ac10:0x484,_0x48d538:0x43e,_0x56664d:0x1d0,_0x488820:0x427,_0x2a7338:0xe4};function _0x32c326(_0x5e1f64,_0x20de9b){return _0xd1aea8(_0x20de9b,_0x5e1f64- -0x2a1);}const _0x5996b1={'fefIF':function(_0x488c59,_0x3f80c1,_0x1d3605){return _0x488c59(_0x3f80c1,_0x1d3605);},'iqHAx':_0x5e5ea9(0x4c1,_0x5ce7bb._0xf9764e),'NZxbG':function(_0x24f0b7,_0x2118ea){return _0x24f0b7+_0x2118ea;},'Huzyf':function(_0x273f0b,_0x7a1079){return _0x273f0b===_0x7a1079;},'qgzsl':function(_0x40ef6c,_0x29e028){return _0x40ef6c!==_0x29e028;},'juenB':_0x32c326(_0x5ce7bb._0x3781ef,_0x5ce7bb._0x54e5ab),'qgErR':function(_0xdded4d,_0x32ec9d){return _0xdded4d===_0x32ec9d;},'KOZug':_0x5e5ea9(0x4cd,0x4ea),'eVoOy':_0x5e5ea9(0x4cd,_0x5ce7bb._0x482ca3),'SPKQT':'NlnKe','PTiCI':_0x5e5ea9(_0x5ce7bb._0x130814,0x42d)};function _0x5e5ea9(_0xd0e105,_0x52ff3b){return _0x21fd29(_0xd0e105,_0x52ff3b-0x2c4);}if(activeEngine){if(_0x5996b1[_0x32c326(_0x5ce7bb._0x7434b3,0x88)](_0x5e5ea9(0x51e,0x4b3),'MKXyI'))_0x130227='completed';else{const {actors:_0x5c2cee}=activeEngine,_0x2a9e9b=_0x424e16??findFirstIncompleteAgent(_0x5c2cee);if(!_0x2a9e9b){if(_0x424e16){if(_0x5996b1[_0x5e5ea9(0x43d,0x4ef)](_0x5996b1[_0x32c326(_0x5ce7bb._0x56b32d,0x241)],'IVxMt')){await advancePhaseViaFile(_0x424e16);return;}else return _0x44d1f7;}console[_0x32c326(_0x5ce7bb._0x451544,0x10d)](_0x5e5ea9(_0x5ce7bb._0xdbc709,_0x5ce7bb._0x1291a2)+_0x32c326(0xe4,0x67));return;}const _0x1d2ad3=_0x5c2cee[_0x5e5ea9(0x42a,0x422)](_0x2a9e9b);if(!_0x1d2ad3){await advancePhaseViaFile(_0x2a9e9b);return;}const _0x4e624e=_0x1d2ad3[_0x32c326(_0x5ce7bb._0x12fbbe,0x9f)+'t'](),_0x4496c1=_0x5996b1[_0x5e5ea9(0x38d,0x413)](typeof _0x4e624e[_0x32c326(_0x5ce7bb._0x5b0ddb,0x137)],_0x5996b1[_0x32c326(_0x5ce7bb._0x3d0fd2,0xf0)])?_0x4e624e[_0x5e5ea9(_0x5ce7bb._0x3dd226,0x3f2)]:_0x32c326(0x155,_0x5ce7bb._0x1b7ea3);if(_0x4496c1===_0x32c326(_0x5ce7bb._0x4f80d0,0x1b6)){console[_0x32c326(0x120,_0x5ce7bb._0x42e5f4)]('['+_0x2a9e9b+']\x20已完成全部阶段');return;}const _0x589eb1={};_0x589eb1[_0x32c326(0x1a3,0x233)]='PHASE_COMP'+_0x5e5ea9(_0x5ce7bb._0x4e2e62,0x44f),_0x1d2ad3[_0x32c326(0xe2,0x13f)](_0x589eb1);const _0x32f6b5=_0x1d2ad3[_0x5e5ea9(_0x5ce7bb._0x51967b,_0x5ce7bb._0x58a9c8)+'t'](),_0x2a1c8a=typeof _0x32f6b5['value']===_0x5996b1[_0x5e5ea9(0x43d,_0x5ce7bb._0x306c77)]?_0x32f6b5[_0x5e5ea9(0x3ba,_0x5ce7bb._0x18c481)]:_0x5e5ea9(0x492,0x43d),_0x478521=PHASE_NAMES[_0x4496c1]??_0x4496c1,_0x1f1940=PHASE_NAMES[_0x2a1c8a]??_0x2a1c8a;console['log']('['+_0x2a9e9b+']\x20'+_0x478521+'\x20→\x20'+_0x1f1940),await persistCurrentState();_0x5996b1[_0x5e5ea9(0x47e,_0x5ce7bb._0x3c3695)](_0x2a1c8a,_0x5996b1[_0x32c326(0x19e,0x244)])&&(console[_0x32c326(0x120,_0x5ce7bb._0x9ef594)]('\x0a✅\x20Agent\x20'+_0x2a9e9b+'\x20已完成全部阶段'),checkAllComplete());return;}}if(_0x424e16){if(_0x5996b1[_0x32c326(_0x5ce7bb._0x2f38c4,0x19b)](_0x5996b1[_0x32c326(_0x5ce7bb._0x4201a4,_0x5ce7bb._0x7e8be7)],_0x5996b1['PTiCI']))await advancePhaseViaFile(_0x424e16);else{if(!_0x57de59(_0x3f00de)){_0x20dec0[_0x32c326(0x120,0xd3)](_0x32c326(_0x5ce7bb._0x4327db,_0x5ce7bb._0x201d6f)+_0x32c326(0x17c,_0x5ce7bb._0x2c7149)+'t\x20命令');return;}const _0x2be7c8=_0x5996b1[_0x32c326(0x132,_0x5ce7bb._0x2b88e4)](_0x5eabc6,_0x1b94bf,_0x5996b1[_0x5e5ea9(_0x5ce7bb._0x28c678,_0x5ce7bb._0x1754a7)]),_0x1d58a0=_0x48c557[_0x32c326(_0x5ce7bb._0x3450d3,0x1f8)](_0x2be7c8);_0xfd740f[_0x32c326(0x120,0x191)](_0x32c326(0x123,_0x5ce7bb._0x30f8f2)+_0x1d58a0[_0x32c326(_0x5ce7bb._0x4879bf,0x22d)][_0x32c326(_0x5ce7bb._0x59b02d,_0x5ce7bb._0x47bd35)]),_0x5e37e3['log'](_0x32c326(0x196,_0x5ce7bb._0x260547)+_0x1d58a0['project'][_0x32c326(0x215,_0x5ce7bb._0x1d0945)+'se']),_0x3385c7['log'](_0x32c326(0x18a,0x10f)+_0x1d58a0[_0x32c326(0x17e,0x164)]),_0x535ac3[_0x5e5ea9(0x385,_0x5ce7bb._0x1b16ec)](_0x5e5ea9(0x3f0,_0x5ce7bb._0x555259)+_0x1d58a0['updatedAt']+'\x0a');const _0x4259f4=_0x1d58a0[_0x32c326(0x1af,_0x5ce7bb._0x5dfe05)],_0x47ffce=_0x452dbd[_0x32c326(0xe3,0x68)](_0x4259f4);if(_0x47ffce[_0x5e5ea9(0x477,0x45e)]===-0x1999+0x1db0+-0x417){_0x206462['log'](_0x5e5ea9(_0x5ce7bb._0xddd050,_0x5ce7bb._0x5ba0c4)+'t\x20记录');return;}_0x27df97[_0x32c326(0x120,_0x5ce7bb._0x1276da)](_0x5e5ea9(_0x5ce7bb._0x5d23d7,_0x5ce7bb._0x9c6341)+'D\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x32c326(0x1d0,_0x5ce7bb._0x1e48f0)+_0x32c326(_0x5ce7bb._0x7a6600,0x52)+_0x5e5ea9(_0x5ce7bb._0x17c5ec,0x4f7)+_0x32c326(_0x5ce7bb._0x355d89,0x252)+'工具'),_0x1cec15[_0x32c326(0x120,0x74)](_0x5996b1[_0x32c326(_0x5ce7bb._0x3abbb8,0x144)]('\x20\x20\x20','-'[_0x32c326(0x183,0x104)](-0x11fc*0x2+-0x1bf4+0x403c)));for(const _0xd826e6 of _0x47ffce){const _0x42696b=_0x4259f4[_0xd826e6],_0x52a788=_0x5bf95f[_0x42696b['phase']]??_0x42696b[_0x5e5ea9(_0x5ce7bb._0x1f6132,_0x5ce7bb._0x2beea2)],_0x4b93bc=_0x42696b['currentOpe'+'ration']||'-',_0x4bcca2=_0x42696b['currentSki'+'ll']||'-';_0x56cf07[_0x5e5ea9(_0x5ce7bb._0x40b77d,0x408)](_0x32c326(0xe0,0x62)+_0xd826e6[_0x32c326(_0x5ce7bb._0x4ac1b3,0x199)](-0x35a*0xb+0x1*0xcc9+0x3*0x80d)+'\x20|\x20'+_0x52a788[_0x5e5ea9(0x4b1,_0x5ce7bb._0x19bab8)](0x225b*0x1+-0x3c7*-0x5+0x2e*-0x128)+_0x32c326(0x129,0x94)+_0x4b93bc[_0x5e5ea9(_0x5ce7bb._0x5ca037,0x453)](-0x779*0x1+-0x21f+-0x1*-0x9ad)+_0x5e5ea9(_0x5ce7bb._0x305ca4,0x411)+_0x4bcca2);}_0x120828['log']();}}else{const _0x5971f2=await readStateFile();if(!_0x5971f2){console['log'](_0x5e5ea9(0x4a3,0x49a)+_0x5e5ea9(_0x5ce7bb._0x38e773,0x45c)+_0x5e5ea9(_0x5ce7bb._0x1eaaaa,_0x5ce7bb._0x21ac10)+_0x32c326(0x231,0x24a)+'t\x20命令');return;}const _0x346fa2=Object[_0x5e5ea9(_0x5ce7bb._0x48d538,0x3cb)](_0x5971f2[_0x32c326(0x1af,_0x5ce7bb._0x56664d)])[_0x5e5ea9(_0x5ce7bb._0x488820,0x488)](_0x40d3f1=>_0x5971f2[_0x5e5ea9(0x405,0x497)][_0x40d3f1]['phase']!=='completed');if(!_0x346fa2){console[_0x5e5ea9(0x3da,0x408)]('✅\x20所有\x20Agent'+_0x32c326(_0x5ce7bb._0x2a7338,0x6d));return;}await advancePhaseViaFile(_0x346fa2);}}async function advancePhaseViaFile(_0x5f1a94){const _0x17b853={_0x197b46:0x38b,_0x5245a4:0x369,_0x598875:0x3cd,_0x5282a4:0x68d,_0x3861da:0x634,_0x1570e6:0x3d4,_0xc2a51e:0x443,_0x4ae9d7:0x5bc,_0x54a148:0x530,_0x3624c3:0x419,_0x12a1b8:0x597,_0x42ed02:0x408,_0x24d53d:0x5aa,_0x3a4003:0x53a,_0x5e5824:0x38a,_0x359a4c:0x3e9,_0x2f66be:0x3eb,_0x4bcf28:0x3ee,_0x4807e8:0x450,_0xc41dd5:0x5cb,_0x517cc0:0x559,_0x3b9bc2:0x561,_0x16a902:0x4bc,_0x4f32c2:0x3e0,_0x32077e:0x5b6,_0x515cb1:0x53e,_0x324226:0x3bc,_0x359395:0x39d,_0x547f11:0x5bd,_0xee0b97:0x56e,_0x262192:0x4a6,_0x443e07:0x69c,_0x138537:0x465,_0x37a775:0x4ac,_0x48adbe:0x4c7,_0x4d9578:0x360,_0x2a4eb5:0x350,_0x39603d:0x69e,_0x381057:0x6c1,_0x3ddde4:0x611,_0xcf1613:0x6ba,_0xa309b2:0x5cb,_0xc6fd05:0x5f7,_0x48cdcd:0x615,_0x5300c0:0x566,_0x194bdf:0x393,_0x329a62:0x481,_0x9d6a14:0x4b1,_0x240327:0x464,_0x29421b:0x441,_0x57f7fb:0x3ba,_0x167fd5:0x6ed,_0x5c97fb:0x72e,_0x73cf01:0x46a,_0x24e4da:0x677,_0x4e93bb:0x5ea,_0x19db25:0x385,_0x195607:0x3be,_0x21c2a8:0x621,_0x2af4b9:0x5ff,_0x464a91:0x58d,_0x25024a:0x5af,_0x54e1cf:0x4c0,_0x57a3b8:0x667,_0x37390a:0x66c,_0x21721e:0x66a,_0x18e32f:0x422,_0x4cfe4d:0x48f,_0x3f9e86:0x609,_0x485b82:0x46b,_0x5a3a3b:0x5f4,_0x2c21e1:0x5ae,_0x2e5dd9:0x3e9,_0x2bc112:0x3e9,_0xf41963:0x396,_0xfc5ed5:0x6bf,_0x419835:0x6f7,_0x2b8829:0x69d,_0x18bc41:0x2fb,_0x1a9b06:0x448,_0x1c4796:0x691,_0x224624:0x729,_0x589cf7:0x423,_0x325828:0x41a,_0x326d3d:0x3ec,_0x1e4987:0x42b,_0xbbc728:0x483,_0x33dc15:0x47f,_0x42ace2:0x4f1,_0x47693f:0x3ca,_0x5457a9:0x5cb,_0x15ec9b:0x53f,_0x50c39c:0x477},_0x39418c={_0x1cfb1e:0x37},_0x47c25a={'EYDTL':function(_0x2ed864){return _0x2ed864();},'EgClI':function(_0x23dedf,_0x2fb44b){return _0x23dedf+_0x2fb44b;},'GpVVh':'START','WOzNR':function(_0x33f25d,_0x1dfaa1){return _0x33f25d<_0x1dfaa1;},'mcmWI':'PHASE_COMP'+_0x2644ac(0x612,0x69e),'NKVrp':function(_0xc91117){return _0xc91117();},'MRvts':function(_0x54a893,_0x83b3ee){return _0x54a893!==_0x83b3ee;},'HGYah':_0xcb84fe(_0x17b853._0x197b46,_0x17b853._0x5245a4),'NcpTn':function(_0x35140c,_0x4c5f4e){return _0x35140c>=_0x4c5f4e;},'LBbDd':function(_0x93e831,_0xb5a950){return _0x93e831===_0xb5a950;},'FaXCE':_0xcb84fe(_0x17b853._0x598875,0x450),'WFAGS':function(_0x1e79a8,_0x39aeb2){return _0x1e79a8-_0x39aeb2;},'eDqeL':_0x2644ac(_0x17b853._0x5282a4,_0x17b853._0x3861da),'mSVQq':_0x2644ac(0x6ac,0x742),'NCRYv':_0xcb84fe(_0x17b853._0x1570e6,0x416),'owQKI':function(_0x46ba4a,_0x2a5ea0){return _0x46ba4a!==_0x2a5ea0;},'PSdxT':function(_0x18a1f9,_0x22ce58){return _0x18a1f9!==_0x22ce58;},'zWnfZ':_0xcb84fe(0x3e0,_0x17b853._0xc2a51e)},_0x130cab=await _0x47c25a[_0x2644ac(_0x17b853._0x4ae9d7,_0x17b853._0x54a148)](readStateFile);function _0xcb84fe(_0x776699,_0x1c9f7e){return _0xd1aea8(_0x776699,_0x1c9f7e- -_0x39418c._0x1cfb1e);}if(!_0x130cab){console['log'](_0x2644ac(0x671,0x70b));return;}function _0x2644ac(_0x240f67,_0x17ee22){return _0x21fd29(_0x17ee22,_0x240f67-0x487);}const _0x40b11c=_0x130cab[_0xcb84fe(0x3c8,_0x17b853._0x3624c3)][_0x5f1a94];if(!_0x40b11c){if(_0x47c25a[_0x2644ac(_0x17b853._0x12a1b8,0x5e3)](_0x47c25a[_0xcb84fe(_0x17b853._0x42ed02,0x4ad)],_0x2644ac(_0x17b853._0x24d53d,_0x17b853._0x3a4003)))_0x4ecc53=_0x4a6e90;else{console[_0xcb84fe(0x42c,_0x17b853._0x5e5824)]('❌\x20Agent\x20'+_0x5f1a94+(_0xcb84fe(_0x17b853._0x359a4c,_0x17b853._0x2f66be)+_0xcb84fe(_0x17b853._0x4bcf28,0x463)));return;}}if(_0x40b11c['phase']===_0xcb84fe(0x4c9,_0x17b853._0x4807e8)){console[_0x2644ac(_0x17b853._0xc41dd5,_0x17b853._0x517cc0)]('['+_0x5f1a94+_0x2644ac(0x5cd,_0x17b853._0x3b9bc2));return;}const _0x71f25f=[...PHASES,...PIPELINE_PHASES],_0x4facb9=_0x71f25f[_0xcb84fe(0x3a9,0x379)](_0x40b11c[_0xcb84fe(0x459,_0x17b853._0x359a4c)]);let _0xa5da55;if(_0x47c25a[_0xcb84fe(_0x17b853._0x16a902,0x42b)](_0x4facb9,0xede+-0x1bcb+0x44f*0x3)&&_0x4facb9<_0x71f25f[_0xcb84fe(0x429,_0x17b853._0x4f32c2)]-(-0x2*-0x78f+0x617*-0x1+0xf*-0x9a)){if(_0x47c25a[_0xcb84fe(0x3e7,0x38f)](_0x2644ac(_0x17b853._0x32077e,_0x17b853._0x515cb1),_0xcb84fe(_0x17b853._0x324226,0x42f))){const _0x4814f2=_0x47c25a[_0x2644ac(0x608,0x5a9)](_0x19a561);_0x433bcb[_0xcb84fe(_0x17b853._0x359395,0x34c)]({'type':_0x2644ac(_0x17b853._0x547f11,_0x17b853._0xee0b97)+'ASK','childId':_0x4814f2,'task':_0xcb84fe(0x3f2,_0x17b853._0x262192)+_0x47c25a[_0x2644ac(_0x17b853._0x443e07,0x603)](_0x59043a,0xc26+-0x6ee*-0x1+-0x101*0x13)});const _0x2c825d={};_0x2c825d[_0xcb84fe(_0x17b853._0x138537,_0x17b853._0x37a775)]=_0x4814f2,_0x2c825d[_0xcb84fe(_0x17b853._0x48adbe,0x4ae)]=_0x28ca82,_0x2c825d[_0x2644ac(0x632,0x5bf)]=_0x531468;const _0x150246={};_0x150246[_0xcb84fe(_0x17b853._0x4d9578,_0x17b853._0x2a4eb5)]=_0x2c825d;const _0x162cfa=_0xc29024(_0xee8486,_0x150246);_0x162cfa['start']();const _0xd7e837={};_0xd7e837['type']=_0x2644ac(_0x17b853._0x39603d,_0x17b853._0x381057),_0x162cfa['send'](_0xd7e837),_0xcb476c[_0x2644ac(_0x17b853._0x3ddde4,_0x17b853._0xcf1613)](_0x4814f2,_0x162cfa),_0x5275c4[_0x2644ac(_0x17b853._0xa309b2,_0x17b853._0xc6fd05)]('['+_0x31ff99+(']\x20派发子\x20Agen'+_0x2644ac(_0x17b853._0x48cdcd,_0x17b853._0x5300c0))+_0x4814f2);}else{const _0x133166=PHASES['indexOf'](_0x40b11c[_0xcb84fe(_0x17b853._0x194bdf,0x3e9)]),_0x3f5f7a=PIPELINE_PHASES['indexOf'](_0x40b11c[_0xcb84fe(_0x17b853._0x329a62,0x3e9)]);if(_0x133166>=-0x118c*-0x1+0x1f30+-0x30bc){if(_0x47c25a[_0xcb84fe(_0x17b853._0x9d6a14,_0x17b853._0x240327)](_0x133166,PHASES[_0xcb84fe(_0x17b853._0x29421b,_0x17b853._0x4f32c2)]-(0x17de+-0x758+-0x1085))){if(_0x2644ac(0x695,0x721)!=='PgSGX')_0xa5da55=PHASES[_0x47c25a['EgClI'](_0x133166,0xa8b+-0x1*-0xea0+-0x192a)];else{if(!_0x3f4f0f[_0xcb84fe(0x410,_0x17b853._0x57f7fb)](_0x3124ac)){const _0xa7aaa9=_0x1dd629[_0x129238],_0x17bf9c={};_0x17bf9c[_0x2644ac(_0x17b853._0x167fd5,_0x17b853._0x5c97fb)]=_0x26233a,_0x17bf9c['parentId']=_0xa7aaa9[_0xcb84fe(_0x17b853._0x73cf01,0x4ae)]??_0x32515e;const _0x4b7f3c={};_0x4b7f3c['input']=_0x17bf9c;const _0x42fec6=_0x133454(_0x37805a,_0x4b7f3c);_0x42fec6[_0x2644ac(_0x17b853._0x24e4da,_0x17b853._0x4e93bb)]();const _0x363948={};_0x363948[_0x2644ac(0x64e,0x6c0)]=_0x47c25a[_0xcb84fe(0x3db,_0x17b853._0x19db25)],_0x42fec6['send'](_0x363948);for(let _0x18db99=-0xdcc+-0x23fe+0x31ca;_0x47c25a[_0xcb84fe(_0x17b853._0x195607,0x464)](_0x18db99,_0x209eed[_0x2644ac(_0x17b853._0x21c2a8,_0x17b853._0x2af4b9)]);_0x18db99++){const _0x1f32ed={};_0x1f32ed[_0xcb84fe(0x45a,0x40d)]=_0x47c25a['mcmWI'],_0x42fec6[_0x2644ac(_0x17b853._0x464a91,0x633)](_0x1f32ed);}_0x2a23ef[_0x2644ac(0x611,_0x17b853._0x25024a)](_0x3a31ee,_0x42fec6);}}}else _0xa5da55=_0x47c25a[_0x2644ac(0x5f4,0x690)];}else _0x47c25a[_0xcb84fe(_0x17b853._0x54e1cf,0x42b)](_0x3f5f7a,-0xf60+-0x10*0x19b+-0x3*-0xdb0)?_0x3f5f7a<_0x47c25a[_0x2644ac(_0x17b853._0x57a3b8,_0x17b853._0x37390a)](PIPELINE_PHASES[_0xcb84fe(_0x17b853._0x5e5824,0x3e0)],0x185*0x19+0x49*-0x75+-0xd*0x5b)?_0x2644ac(_0x17b853._0x21721e,0x714)===_0x47c25a[_0x2644ac(0x634,0x5f0)]?_0x2bc64e[_0xcb84fe(0x482,_0x17b853._0x18e32f)+_0xcb84fe(0x3b6,0x392)][_0xcb84fe(0x434,_0x17b853._0x4cfe4d)]():_0xa5da55=PIPELINE_PHASES[_0x3f5f7a+(-0xa2*-0x37+0x1825+0x1e*-0x1f7)]:_0x47c25a[_0x2644ac(_0x17b853._0x3f9e86,0x691)]!==_0xcb84fe(0x462,_0x17b853._0x485b82)?_0x400382=_0x219824[_0x349570+(0x2274+0x834+-0x3d*0xb3)]:_0xa5da55=_0x2644ac(0x691,0x6f3):_0xa5da55=_0x47c25a[_0x2644ac(_0x17b853._0x5a3a3b,0x540)];}}else _0x40b11c[_0xcb84fe(0x3b0,0x3e9)]===_0x47c25a['NCRYv']?_0xa5da55=PHASES[0x26*0xe6+0x4b*-0x54+0x4c4*-0x2]:_0xa5da55=_0xcb84fe(0x4c7,_0x17b853._0x4807e8);const _0x5b593c=PHASE_NAMES[_0x40b11c[_0x2644ac(0x62a,_0x17b853._0x2c21e1)]]??_0x40b11c[_0xcb84fe(0x409,_0x17b853._0x2e5dd9)],_0x1e0d76=PHASE_NAMES[_0xa5da55]??_0xa5da55,_0x484638={..._0x130cab['agents']},_0x10a022=_0x484638,_0x48afc4={..._0x40b11c};_0x48afc4[_0xcb84fe(_0x17b853._0x4f32c2,_0x17b853._0x2bc112)]=_0xa5da55,_0x48afc4['currentOpe'+_0xcb84fe(_0x17b853._0xf41963,0x35c)]='',_0x48afc4[_0x2644ac(_0x17b853._0xfc5ed5,_0x17b853._0x419835)+'ll']='',_0x10a022[_0x5f1a94]=_0x48afc4;let _0x2f1232=_0x47c25a[_0x2644ac(_0x17b853._0x5a3a3b,_0x17b853._0x2b8829)];for(const _0x81adc9 of Object[_0xcb84fe(_0x17b853._0x18bc41,0x34d)](_0x10a022)){if(_0x47c25a[_0xcb84fe(0x3c3,_0x17b853._0x1a9b06)](_0x10a022[_0x81adc9][_0xcb84fe(0x3b4,0x3e9)],_0x2644ac(_0x17b853._0x1c4796,_0x17b853._0x224624))){if(_0x47c25a['PSdxT'](_0x47c25a[_0xcb84fe(_0x17b853._0x589cf7,_0x17b853._0x325828)],_0x47c25a['zWnfZ'])){const _0x4cfe1b={..._0x237edd[_0x1c46dc]};_0x4cfe1b[_0xcb84fe(_0x17b853._0x326d3d,_0x17b853._0x359a4c)]=_0x18b6b9,_0x4fcb94[_0x4df7a0]=_0x4cfe1b;}else{_0x2f1232=_0x10a022[_0x81adc9][_0xcb84fe(0x3ff,_0x17b853._0x2e5dd9)];break;}}}const _0xbee82f={..._0x130cab[_0xcb84fe(_0x17b853._0x1e4987,_0x17b853._0xbbc728)]};_0xbee82f[_0xcb84fe(0x459,_0x17b853._0x33dc15)+'se']=_0x2f1232;const _0x568a2b={};_0x568a2b[_0xcb84fe(_0x17b853._0x42ace2,0x483)]=_0xbee82f,_0x568a2b['agents']=_0x10a022,_0x568a2b[_0x2644ac(0x606,0x647)+_0xcb84fe(0x45c,0x49d)]=_0x130cab[_0xcb84fe(_0x17b853._0x47693f,0x3c5)+'pshot'],await writeStateFile(_0x568a2b),console['log']('['+_0x5f1a94+']\x20'+_0x5b593c+_0x2644ac(0x59f,0x5e8)+_0x1e0d76),_0xa5da55==='completed'&&console[_0x2644ac(_0x17b853._0x5457a9,_0x17b853._0x15ec9b)](_0xcb84fe(0x4b2,_0x17b853._0x50c39c)+_0x5f1a94+'\x20已完成全部阶段');}export async function updateOperation(_0x323b19,_0x3be436,_0x4d9542){const _0x5d7083={_0x1c7f69:0xe0,_0x1ce794:0x6c,_0x1f35aa:0x79,_0x56ccd5:0x148,_0x705d26:0x3d3,_0x54bc38:0x115,_0xbd8879:0x17c},_0x555dae={_0x4444be:0x1b3};function _0x5ebff3(_0x17eea1,_0x2fbded){return _0x21fd29(_0x2fbded,_0x17eea1-_0x555dae._0x4444be);}if(activeEngine){const _0x3ca4d4=activeEngine[_0xe3f680(_0x5d7083._0x1c7f69,_0x5d7083._0x1ce794)][_0xe3f680(_0x5d7083._0x1f35aa,0xfb)](_0x323b19);if(_0x3ca4d4){const _0x20ac07={};_0x20ac07['type']=_0xe3f680(0x95,_0x5d7083._0x56ccd5)+_0x5ebff3(0x395,_0x5d7083._0x705d26),_0x20ac07[_0xe3f680(_0x5d7083._0x54bc38,0x88)]=_0x3be436,_0x20ac07[_0xe3f680(_0x5d7083._0xbd8879,0x1fc)]=_0x4d9542,_0x3ca4d4['send'](_0x20ac07),await persistCurrentState();return;}}function _0xe3f680(_0x43030c,_0xddba32){return _0xd1aea8(_0xddba32,_0x43030c- -0x362);}await updateOperationViaFile(_0x323b19,_0x3be436,_0x4d9542);}async function updateOperationViaFile(_0x21499b,_0x4d2e75,_0x23cf07){const _0x2e908f={_0x400f6f:0x16d,_0x361838:0x1ce,_0x4168fd:0x1f4,_0x696620:0x13e,_0x288a53:0x7,_0x11722e:0x81,_0x4651db:0x147,_0x119d41:0x1c5,_0x4482f6:0xaa,_0x24712d:0x58,_0x9be104:0x108,_0x54f4ef:0x161,_0x40ba53:0x13e,_0x56781a:0x227,_0x5ee8de:0x1b5,_0x41536d:0x17,_0x329d56:0x182,_0x2e17e4:0xb2,_0x302b06:0xa6,_0x44e758:0x13b,_0x3bfdbd:0x154,_0x367afb:0x50,_0x1e5f44:0xdc,_0x3646ce:0x236,_0x103d70:0x19f,_0x1d270d:0xf1,_0x15f655:0xbc,_0x313c28:0xa2,_0x2c841d:0xfd},_0x354cd0={_0x4ab527:0x2f9},_0x7d2fd9={_0x138f46:0x467},_0x3e195d={};_0x3e195d[_0x3cab69(-0x11c,-_0x2e908f._0x400f6f)]=_0x74632b(0x0,0x17)+',请先运行\x20star'+_0x3cab69(-0x186,-_0x2e908f._0x361838),_0x3e195d[_0x3cab69(-0x222,-_0x2e908f._0x4168fd)]=function(_0x3d312a,_0x21050f){return _0x3d312a!==_0x21050f;},_0x3e195d[_0x3cab69(-0x13a,-_0x2e908f._0x696620)]=_0x74632b(0x72,-_0x2e908f._0x288a53),_0x3e195d[_0x74632b(0x45,_0x2e908f._0x11722e)]=_0x3cab69(-_0x2e908f._0x4651db,-_0x2e908f._0x119d41),_0x3e195d['Pikhb']='⚠️\x20\x20状态文件不存在',_0x3e195d[_0x74632b(-_0x2e908f._0x4482f6,-_0x2e908f._0x24712d)]=function(_0x461444,_0x3e7ca2){return _0x461444===_0x3e7ca2;},_0x3e195d[_0x74632b(0x60,0xd1)]=_0x74632b(0x70,0xd3),_0x3e195d[_0x74632b(-0x73,-0x5e)]=_0x3cab69(-0x16f,-_0x2e908f._0x9be104);const _0xa5014b=_0x3e195d,_0x329b41=await readStateFile();if(!_0x329b41){if(_0xa5014b[_0x74632b(-0xe5,-0x17c)](_0xa5014b[_0x3cab69(-_0x2e908f._0x54f4ef,-_0x2e908f._0x40ba53)],_0xa5014b[_0x74632b(0x45,0x82)])){console['log'](_0xa5014b[_0x3cab69(-0x17b,-0x18b)]);return;}else{_0x40d715[_0x3cab69(-_0x2e908f._0x56781a,-_0x2e908f._0x5ee8de)](_0xa5014b[_0x74632b(-0x5e,-0x6f)]);return;}}const _0x21fa20=_0x329b41[_0x74632b(-_0x2e908f._0x41536d,-0xb0)][_0x21499b];if(!_0x21fa20){if(_0xa5014b['AqlKX'](_0xa5014b['jQlcL'],_0xa5014b[_0x3cab69(-0x21d,-_0x2e908f._0x329d56)]))!_0x533932[_0x74632b(-0x76,-_0x2e908f._0x2e17e4)](_0x3b2624)&&(_0x4e177e[_0x4ab9d3]=_0x5a314d);else{console[_0x74632b(-_0x2e908f._0x302b06,-0x14d)](_0x74632b(-0x83,-0xc7)+_0x21499b+(_0x3cab69(-_0x2e908f._0x44e758,-_0x2e908f._0x3bfdbd)+_0x3cab69(-_0x2e908f._0x367afb,-_0x2e908f._0x1e5f44)));return;}}function _0x74632b(_0x17deaf,_0x22d480){return _0xd1aea8(_0x22d480,_0x17deaf- -_0x7d2fd9._0x138f46);}const _0x8cc6e1={..._0x329b41[_0x74632b(-0x17,-0x9)]},_0x56aa92=_0x8cc6e1,_0x1be7b2={..._0x21fa20};_0x1be7b2[_0x3cab69(-_0x2e908f._0x3646ce,-_0x2e908f._0x103d70)+'ration']=_0x4d2e75;function _0x3cab69(_0x2c2ead,_0x2d3ca8){return _0x21fd29(_0x2c2ead,_0x2d3ca8- -_0x354cd0._0x4ab527);}_0x1be7b2['currentSki'+'ll']=_0x23cf07,_0x56aa92[_0x21499b]=_0x1be7b2;const _0x3bac3d={};_0x3bac3d[_0x3cab69(-_0x2e908f._0x1d270d,-_0x2e908f._0x15f655)]=_0x329b41[_0x74632b(0x53,0x2a)],_0x3bac3d['agents']=_0x56aa92,_0x3bac3d[_0x74632b(-0x6b,-0xae)+_0x3cab69(-0xc2,-_0x2e908f._0x313c28)]=_0x329b41[_0x74632b(-0x6b,-_0x2e908f._0x2c841d)+'pshot'],await writeStateFile(_0x3bac3d);}export async function getStatus(){const _0x3f40a1={_0x4425b4:0x53a,_0x5e9038:0x49c,_0xcd11a0:0x46d,_0x4981fc:0x4d5,_0x49b6d4:0x599,_0x19e626:0x4a2,_0x16078e:0x4bc,_0x2fc394:0x4db,_0x3d064:0x5bb,_0x498475:0x4d3,_0x41922a:0x5aa,_0x3a28ed:0x5ce,_0x33a580:0x4ca,_0x2b1d61:0x5e0,_0x427ff8:0x54b,_0x532bec:0x428,_0xa9071b:0x47f,_0xf14c6b:0x421,_0x4f34fb:0x454,_0x59294e:0x4cd,_0x4c2a62:0x4b0,_0x15df93:0x366,_0x226d7a:0x3e4,_0x29b221:0x52b,_0x4f8efa:0x564,_0x3f0ede:0x534,_0x554d86:0x536,_0x1e0e40:0x52c,_0x25837f:0x480,_0x5279a9:0x48a,_0x2cc4e4:0x53d,_0x21eea6:0x453,_0xe88dc7:0x476,_0x576218:0x623,_0x52c31a:0x43d,_0x12af10:0x521,_0x52332b:0x495,_0x109f53:0x4ad,_0x43a7e6:0x46c,_0x3789b4:0x4ba,_0x25439e:0x46c,_0x4a1fea:0x4f2,_0x4f3303:0x4de},_0x37314e={'OSISA':_0x14531c(_0x3f40a1._0x4425b4,0x59b),'VZJtU':function(_0x3ffb36,_0x27d0fc){return _0x3ffb36(_0x27d0fc);},'QdkwR':_0x14531c(0x4fb,_0x3f40a1._0x5e9038)+_0x314a7c(0x41c,0x478),'EKaPJ':_0x14531c(0x49c,0x495)};if(!_0x37314e['VZJtU'](existsSync,STATE_FILE_PATH)){console[_0x14531c(_0x3f40a1._0xcd11a0,_0x3f40a1._0x4981fc)](_0x14531c(_0x3f40a1._0x49b6d4,0x57b)+_0x14531c(_0x3f40a1._0x19e626,0x531)+_0x14531c(0x408,_0x3f40a1._0x16078e));return;}const _0x873b18=readFileSync(STATE_FILE_PATH,_0x314a7c(_0x3f40a1._0x2fc394,0x4dc));function _0x14531c(_0x64e33b,_0x3fa650){return _0xd1aea8(_0x64e33b,_0x3fa650-0x114);}const _0x33dc8f=JSON[_0x14531c(0x5f6,_0x3f40a1._0x3d064)](_0x873b18);console[_0x314a7c(0x42d,0x421)](_0x14531c(_0x3f40a1._0x498475,0x4d8)+_0x33dc8f[_0x14531c(_0x3f40a1._0x41922a,_0x3f40a1._0x3a28ed)][_0x14531c(0x559,0x56b)]),console[_0x314a7c(_0x3f40a1._0x33a580,0x421)](_0x14531c(_0x3f40a1._0x2b1d61,_0x3f40a1._0x427ff8)+_0x33dc8f[_0x14531c(0x66d,0x5ce)]['currentPha'+'se']),console['log'](_0x314a7c(0x408,0x48b)+_0x33dc8f[_0x314a7c(_0x3f40a1._0x532bec,_0x3f40a1._0xa9071b)]),console[_0x314a7c(0x42a,_0x3f40a1._0xf14c6b)](_0x314a7c(_0x3f40a1._0x4f34fb,0x3f6)+_0x33dc8f['updatedAt']+'\x0a');const _0x3dc554=_0x33dc8f[_0x314a7c(_0x3f40a1._0x59294e,_0x3f40a1._0x4c2a62)],_0x3d2fbe=Object[_0x314a7c(_0x3f40a1._0x15df93,_0x3f40a1._0x226d7a)](_0x3dc554);if(_0x3d2fbe[_0x14531c(0x493,_0x3f40a1._0x29b221)]===-0x119*-0xe+-0xfcb+0x6d){if('wDQRn'===_0x314a7c(_0x3f40a1._0x4f8efa,0x4b4)){console[_0x314a7c(0x434,0x421)](_0x37314e['QdkwR']);return;}else{if(_0x352d7d[_0x4d0b2c][_0x14531c(0x55b,_0x3f40a1._0x3f0ede)]!==_0x37314e[_0x14531c(_0x3f40a1._0x554d86,0x5c7)]){const _0x54fce1={..._0x17d961[_0x2ae102]};_0x54fce1[_0x314a7c(_0x3f40a1._0x1e0e40,_0x3f40a1._0x25837f)]=_0x228462,_0x355849[_0x238843]=_0x54fce1;}}}console[_0x14531c(0x53f,_0x3f40a1._0x4981fc)](_0x314a7c(0x430,0x474)+_0x314a7c(_0x3f40a1._0x5279a9,0x460)+_0x314a7c(_0x3f40a1._0x2cc4e4,0x4d1)+'\x20\x20\x20\x20\x20\x20|\x20操作'+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'\x20\x20\x20\x20\x20\x20\x20\x20|\x20'+'工具'),console[_0x14531c(0x50c,_0x3f40a1._0x4981fc)](_0x37314e[_0x314a7c(_0x3f40a1._0x21eea6,_0x3f40a1._0xe88dc7)]+'-'['repeat'](0x15e9+0x112+0x1*-0x16ab));for(const _0x4b4e1c of _0x3d2fbe){const _0x1a9a1a=_0x3dc554[_0x4b4e1c],_0x235263=PHASE_NAMES[_0x1a9a1a['phase']]??_0x1a9a1a[_0x314a7c(0x515,0x480)],_0x167f97=_0x1a9a1a[_0x14531c(0x59e,0x4eb)+_0x14531c(0x40a,0x4a7)]||'-',_0x11885c=_0x1a9a1a[_0x14531c(_0x3f40a1._0x576218,0x5c9)+'ll']||'-';console[_0x14531c(_0x3f40a1._0x52c31a,_0x3f40a1._0x4981fc)](_0x14531c(_0x3f40a1._0x12af10,_0x3f40a1._0x52332b)+_0x4b4e1c['padEnd'](0x2467*-0x1+0x25ea+-0x171)+_0x14531c(_0x3f40a1._0x109f53,0x4de)+_0x235263[_0x314a7c(0x51f,_0x3f40a1._0x43a7e6)](-0x1102+0x2004+0xef4*-0x1)+_0x14531c(0x4a7,0x4de)+_0x167f97[_0x314a7c(_0x3f40a1._0x3789b4,_0x3f40a1._0x25439e)](-0x22fa+-0x2*-0x8c9+0x1*0x117d)+_0x14531c(_0x3f40a1._0x4a1fea,_0x3f40a1._0x4f3303)+_0x11885c);}function _0x314a7c(_0x5c2368,_0x22115f){return _0xd1aea8(_0x5c2368,_0x22115f-0x60);}console['log']();}export async function resumeEngine(){const _0x2b3c8a={_0x487047:0x19e,_0x36d236:0x244,_0x31b91a:0x2ea,_0x88f68:0x342,_0x2e3c1a:0x308,_0x306018:0x242,_0x4c2cbe:0x262,_0x55cc41:0x317,_0x2a3a62:0x283,_0x3063c7:0x2a3,_0x3a7f24:0x338,_0x369607:0x244,_0x31a8c7:0x28f,_0x5ccfd7:0x1b1,_0x2e49c3:0x28f,_0x2bce84:0x24d,_0x133f55:0x2fd,_0x40c6f8:0x149,_0x451504:0x1b1,_0x1bd7b9:0x14f,_0x213d97:0x2d3,_0x450782:0x305,_0x26b956:0x164,_0x52f927:0x1ab,_0x3cdd8c:0xc3,_0x262853:0x49,_0x4c5c2a:0x244,_0x4f6117:0x1e4,_0x34afa7:0x153,_0x2f2cbd:0x1c9,_0x462bc5:0x114,_0x54deeb:0x19b,_0x160df4:0x289,_0x4af481:0x33d,_0x27a256:0x2be,_0x504183:0x158,_0x3e0299:0x2e8,_0x2b4a18:0x335,_0x2e95dc:0x1a9,_0x1ee0e8:0x126,_0x148bce:0x1ce,_0x3e3007:0x23d,_0x37cabd:0x309,_0xb24501:0x366,_0x320a46:0x368,_0x4272da:0x2c0,_0x1af23f:0x368,_0x22d866:0x2e1,_0x2ebc1c:0x20a,_0x26d079:0x7d,_0x136430:0x325,_0x5b4046:0x161,_0x1d4408:0x2b3,_0x4f3ad3:0x206,_0x5dfa6d:0x2ab,_0x1c82b3:0x131,_0x325d0f:0xeb,_0x58a99e:0x22d,_0x1b5ace:0x2a3,_0xe23d1d:0x1f5,_0x46438c:0x169,_0x3a91d8:0x264,_0x154d0f:0x10e,_0x1a5743:0x2f0,_0xb1a587:0x258,_0x5139f7:0x12d,_0x132fc9:0x19d,_0x1026c0:0x186,_0x1ff151:0xbc,_0x873523:0x2c7,_0x5ce934:0x2a4,_0x4b6920:0x131,_0x3e3fea:0x28b,_0x1c8baf:0x1f8,_0x46203b:0x2a0,_0x38cb5f:0x142,_0x28bf3c:0xd1,_0x239ff3:0x2da,_0x3a9984:0x2dd,_0x48de81:0x139,_0x6b4219:0x93,_0xdf6d1f:0x24c,_0x4909c6:0x1ba,_0x527633:0x245,_0x133624:0x314,_0xfc5509:0x280},_0x12bcf4={_0x23ace0:0x100},_0x21206e={_0x5897a7:0x57b},_0x27c930={'wQlHI':function(_0x177ed4,_0x27ba10,_0x212dc5){return _0x177ed4(_0x27ba10,_0x212dc5);},'FURQo':function(_0x320502,_0x99bbac){return _0x320502(_0x99bbac);},'yanNG':function(_0x256a8e,_0x66e205){return _0x256a8e!==_0x66e205;},'lTVEx':_0x2845f8(-_0x2b3c8a._0x487047,-_0x2b3c8a._0x36d236),'rDGCV':_0x365b8d(_0x2b3c8a._0x31b91a,0x384)+_0x365b8d(_0x2b3c8a._0x88f68,0x3dc)+'\x20start\x20命令','ifKbu':'utf-8','AtIwK':function(_0x2ba59b,_0x686166){return _0x2ba59b===_0x686166;},'kTmkV':function(_0x13c3c8,_0x41bc1a){return _0x13c3c8!==_0x41bc1a;},'CHXMF':_0x365b8d(_0x2b3c8a._0x2e3c1a,0x38f)+_0x365b8d(_0x2b3c8a._0x306018,0x260),'BXcIL':function(_0x2b3cb0){return _0x2b3cb0();},'dpmAZ':_0x365b8d(_0x2b3c8a._0x4c2cbe,0x294),'ftnYd':function(_0x44df33,_0x2bafa3){return _0x44df33===_0x2bafa3;},'aIcKk':function(_0x1c9f93,_0x3f470f,_0x5dad28){return _0x1c9f93(_0x3f470f,_0x5dad28);},'brPuM':_0x365b8d(_0x2b3c8a._0x55cc41,0x337),'pHpms':'znjER'};if(!_0x27c930[_0x2845f8(-0xce,-0xa3)](existsSync,STATE_FILE_PATH)){if(_0x27c930[_0x365b8d(0x239,0x1ea)]('zZhAC',_0x27c930[_0x2845f8(-0x1d2,-_0x2b3c8a._0x2a3a62)])){const _0xeeed74=_0x5b048f[_0x35d9ee],_0x5f0736=_0x45d6df[_0xeeed74['phase']]??_0xeeed74[_0x365b8d(_0x2b3c8a._0x3063c7,0x292)],_0x519c7a=_0xeeed74[_0x365b8d(0x25a,0x2ac)+'ration']||'-',_0x57e933=_0xeeed74[_0x365b8d(_0x2b3c8a._0x3a7f24,0x334)+'ll']||'-';_0x96767a[_0x365b8d(_0x2b3c8a._0x369607,0x1eb)](_0x2845f8(-0x1fa,-0x1c1)+_0x59eb81[_0x365b8d(_0x2b3c8a._0x31a8c7,0x2db)](0x43d*0x9+-0xd4c+0x18c7*-0x1)+_0x2845f8(-_0x2b3c8a._0x5ccfd7,-0x246)+_0x5f0736[_0x365b8d(_0x2b3c8a._0x2e49c3,0x20f)](-0x1*-0x1c45+-0x8b*-0x2+-0x241*0xd)+_0x365b8d(_0x2b3c8a._0x2bce84,_0x2b3c8a._0x133f55)+_0x519c7a[_0x2845f8(-0x16f,-_0x2b3c8a._0x40c6f8)](0x140*-0x11+-0x26d1+0x2*0x1e13)+_0x2845f8(-_0x2b3c8a._0x451504,-_0x2b3c8a._0x1bd7b9)+_0x57e933);}else{console['log'](_0x27c930[_0x365b8d(0x27e,0x2fe)]);return;}}const _0x31b271=_0x27c930['wQlHI'](readFileSync,STATE_FILE_PATH,_0x27c930['ifKbu']),_0x596094=JSON['parse'](_0x31b271),_0x29dd87=_0x596094[_0x365b8d(_0x2b3c8a._0x213d97,0x2d7)],_0x220842=Object['keys'](_0x29dd87),_0x34e2f1=_0x220842[_0x365b8d(_0x2b3c8a._0x450782,0x365)](_0x3503c2=>_0x29dd87[_0x3503c2][_0x365b8d(0x2a3,0x2f7)]!=='completed');if(_0x27c930[_0x365b8d(0x290,0x2ac)](_0x34e2f1[_0x2845f8(-_0x2b3c8a._0x26b956,-_0x2b3c8a._0x52f927)],-0x1cfc*-0x1+-0x67*-0x3a+-0x3452)){if(_0x27c930[_0x2845f8(-_0x2b3c8a._0x3cdd8c,-_0x2b3c8a._0x262853)]('aBQUU','uTgdo')){console[_0x365b8d(_0x2b3c8a._0x4c5c2a,0x1c9)](_0x27c930[_0x2845f8(-_0x2b3c8a._0x4f6117,-_0x2b3c8a._0x34afa7)]);return;}else{_0x52d1e9[_0x2845f8(-0x1ba,-_0x2b3c8a._0x2f2cbd)](_0x2845f8(-_0x2b3c8a._0x462bc5,-_0x2b3c8a._0x54deeb));return;}}console[_0x365b8d(0x244,_0x2b3c8a._0x160df4)](_0x2845f8(-0x129,-0x179)),console[_0x365b8d(0x244,_0x2b3c8a._0x487047)]('\x20\x20\x20项目:\x20'+_0x596094[_0x365b8d(_0x2b3c8a._0x4af481,_0x2b3c8a._0x27a256)]['name']),console[_0x2845f8(-0x1ba,-0x244)]('\x20\x20\x20未完成\x20Age'+'nt:\x20'+_0x34e2f1[_0x2845f8(-0x164,-_0x2b3c8a._0x504183)]+'\x0a');const _0x5c190b=new Map();let _0x5c762e=null;try{_0x5c762e=_0x27c930[_0x365b8d(_0x2b3c8a._0x3e0299,_0x2b3c8a._0x2b4a18)](loadTechContext);}catch{}for(const _0x2becbe of _0x34e2f1){if(_0x27c930[_0x2845f8(-_0x2b3c8a._0x2e95dc,-_0x2b3c8a._0x1ee0e8)]==='CUKsT'){const _0x3ebfac=_0x29dd87[_0x2becbe],_0xca360f=PHASES[_0x365b8d(0x233,_0x2b3c8a._0x148bce)](_0x3ebfac['phase']);if(_0x27c930['ftnYd'](_0xca360f,-(0x18a5*-0x1+0x7*0x41b+-0x15d*0x3))){console['log']('['+_0x2becbe+']\x20状态异常:\x20'+_0x3ebfac[_0x365b8d(0x2a3,_0x2b3c8a._0x3e3007)]+_0x365b8d(0x322,_0x2b3c8a._0x37cabd));continue;}const _0x5c6b7e={};_0x5c6b7e[_0x365b8d(_0x2b3c8a._0xb24501,0x3a2)]=_0x2becbe,_0x5c6b7e[_0x365b8d(_0x2b3c8a._0x320a46,_0x2b3c8a._0x4272da)]=_0x3ebfac[_0x365b8d(_0x2b3c8a._0x1af23f,_0x2b3c8a._0x22d866)]??undefined;const _0x216560={};_0x216560[_0x365b8d(_0x2b3c8a._0x2ebc1c,0x2a1)]=_0x5c6b7e;const _0x80d126=createActor(agentMachine,_0x216560);_0x80d126[_0x2845f8(-0x10e,-_0x2b3c8a._0x26d079)](),_0x5c190b[_0x365b8d(0x28a,_0x2b3c8a._0x136430)](_0x2becbe,_0x80d126);const _0x3cb180={};_0x3cb180[_0x2845f8(-0x137,-_0x2b3c8a._0x5b4046)]=_0x365b8d(0x317,_0x2b3c8a._0x1d4408),_0x80d126[_0x365b8d(_0x2b3c8a._0x4f3ad3,_0x2b3c8a._0x5dfa6d)](_0x3cb180);for(let _0xc88b98=0xd9*-0x29+-0x4e6+0x27a7;_0xc88b98<_0xca360f;_0xc88b98++){const _0x1f21ec={};_0x1f21ec[_0x365b8d(0x2c7,0x353)]=_0x2845f8(-_0x2b3c8a._0x1c82b3,-_0x2b3c8a._0x325d0f)+_0x365b8d(0x28b,0x241),_0x80d126[_0x365b8d(0x206,_0x2b3c8a._0x58a99e)](_0x1f21ec);}console[_0x365b8d(0x244,0x1cb)]('['+_0x2becbe+_0x365b8d(0x26c,0x1c4)+(PHASE_NAMES[_0x3ebfac['phase']]??_0x3ebfac[_0x365b8d(_0x2b3c8a._0x1b5ace,0x321)])+_0x365b8d(0x221,0x27a));}else _0x5b5c5e[_0x365b8d(0x244,_0x2b3c8a._0xe23d1d)]('\x0a✅\x20Agent\x20'+_0x1be9b7+_0x365b8d(0x208,_0x2b3c8a._0x46438c));}for(const _0x1f58e7 of _0x220842){if(!_0x5c190b[_0x365b8d(0x274,_0x2b3c8a._0x3a91d8)](_0x1f58e7)){const _0x16e60d=_0x29dd87[_0x1f58e7],_0x49bff9={};_0x49bff9['agentId']=_0x1f58e7,_0x49bff9['parentId']=_0x16e60d['parentId']??undefined;const _0x5bee5e={};_0x5bee5e['input']=_0x49bff9;const _0x5db120=_0x27c930[_0x2845f8(-0x112,-_0x2b3c8a._0x154d0f)](createActor,agentMachine,_0x5bee5e);_0x5db120[_0x365b8d(_0x2b3c8a._0x1a5743,_0x2b3c8a._0xb1a587)]();const _0x4a1bc3={};_0x4a1bc3[_0x365b8d(0x2c7,0x280)]=_0x27c930['brPuM'],_0x5db120[_0x2845f8(-0x1f8,-0x219)](_0x4a1bc3);for(let _0x160ee2=-0x1c77+-0x60+0x1*0x1cd7;_0x160ee2<PHASES[_0x2845f8(-0x164,-_0x2b3c8a._0x5139f7)];_0x160ee2++){if(_0x2845f8(-0x1c4,-_0x2b3c8a._0x132fc9)===_0x27c930[_0x2845f8(-0x1d7,-0x237)]){const _0x48d7ff={};_0x48d7ff[_0x2845f8(-_0x2b3c8a._0x1026c0,-0x1d7)]=!![],_0x27c930[_0x2845f8(-0x121,-_0x2b3c8a._0x1ff151)](_0x1b8360,_0x5f2890,_0x48d7ff);}else{const _0x12501f={};_0x12501f[_0x365b8d(_0x2b3c8a._0x873523,_0x2b3c8a._0x5ce934)]=_0x2845f8(-_0x2b3c8a._0x4b6920,-0x1b0)+_0x365b8d(_0x2b3c8a._0x3e3fea,_0x2b3c8a._0x213d97),_0x5db120[_0x2845f8(-_0x2b3c8a._0x1c8baf,-0x1bc)](_0x12501f);}}_0x5c190b[_0x365b8d(0x28a,_0x2b3c8a._0x46203b)](_0x1f58e7,_0x5db120);}}function _0x2845f8(_0x358b85,_0x3e2069){return _0xd1aea8(_0x3e2069,_0x358b85- -_0x21206e._0x5897a7);}const _0x56cdcb={};_0x56cdcb[_0x2845f8(-_0x2b3c8a._0x38cb5f,-_0x2b3c8a._0x28bf3c)+'e']=_0x596094['project'][_0x365b8d(_0x2b3c8a._0x239ff3,_0x2b3c8a._0x3a9984)],_0x56cdcb[_0x2845f8(-0x153,-0x9f)]=PHASES;function _0x365b8d(_0x59a681,_0x10adcf){return _0x21fd29(_0x10adcf,_0x59a681-_0x12bcf4._0x23ace0);}_0x56cdcb[_0x2845f8(-_0x2b3c8a._0x48de81,-_0x2b3c8a._0x6b4219)]=_0x5c190b,_0x56cdcb[_0x2845f8(-0x122,-0x10c)+_0x365b8d(_0x2b3c8a._0xdf6d1f,0x1ad)]=null,_0x56cdcb['techContex'+'t']=_0x5c762e,activeEngine=_0x56cdcb,await persistCurrentState(),console[_0x2845f8(-_0x2b3c8a._0x4909c6,-_0x2b3c8a._0x527633)](_0x365b8d(_0x2b3c8a._0x133624,0x3b7)+_0x365b8d(_0x2b3c8a._0xfc5509,_0x2b3c8a._0x37cabd)+'推进阶段');}export function stopEngine(){const _0x11f529={_0x2fd643:0x4bc,_0x522f60:0x24d,_0x59ab7d:0x1bf,_0x37faf0:0x4ed,_0x291852:0x1fd,_0x404c62:0x48d,_0xbb8f67:0x4e5,_0x1d45c4:0x47d,_0x1497be:0x44d,_0x27c48d:0x4e2},_0x4b98d3={_0x2452ab:0x279};function _0x3a5b72(_0x25a2a3,_0x1f670a){return _0xd1aea8(_0x1f670a,_0x25a2a3- -_0x4b98d3._0x2452ab);}const _0x136cdd={};_0x136cdd[_0x3a5b72(0x1e8,0x29b)]=function(_0x11d7a7,_0x3e7dd2){return _0x11d7a7!==_0x3e7dd2;},_0x136cdd['XPezO']='fvkIG',_0x136cdd[_0x3f02fe(0x428,_0x11f529._0x2fd643)]='HXVNS';const _0x5d39f6=_0x136cdd;if(!activeEngine)return;for(const [,_0x4afd16]of activeEngine['actors']){_0x4afd16[_0x3a5b72(_0x11f529._0x522f60,0x29c)]();}if(activeEngine[_0x3a5b72(0x1e0,_0x11f529._0x59ab7d)+_0x3f02fe(0x455,0x478)]){if(_0x5d39f6[_0x3f02fe(_0x11f529._0x37faf0,0x528)](_0x5d39f6[_0x3a5b72(0x261,_0x11f529._0x291852)],_0x5d39f6[_0x3f02fe(0x428,_0x11f529._0x404c62)]))activeEngine[_0x3f02fe(_0x11f529._0xbb8f67,0x4f2)+_0x3a5b72(0x150,0x11d)]['stop']();else for(const [_0x513399,_0x2180e7]of _0x33f857['entries'](_0x226d87[_0x3a5b72(0x1d7,0x212)])){!_0x1da94a[_0x3f02fe(_0x11f529._0x1d45c4,0x51c)](_0x513399)&&(_0x2f796[_0x513399]=_0x2180e7);}}function _0x3f02fe(_0x43c57d,_0x4eba75){return _0xd1aea8(_0x4eba75,_0x43c57d-0x8c);}activeEngine=null,console[_0x3f02fe(_0x11f529._0x1497be,0x48a)](_0x3f02fe(0x48d,_0x11f529._0x27c48d));}export function getEngine(){return activeEngine;}export async function registerAgent(_0x58ea79,_0x2db8f0={}){const _0x3ebd11={_0x4d1175:0x5b1,_0x5362d7:0x56f,_0x1ba7cc:0x51e,_0x315e7d:0x4b3,_0xd4709e:0xdf,_0x167844:0x1f5,_0x3175e8:0x14d,_0xee3e5f:0x5e3,_0x71c8f5:0x5b3,_0x53fa51:0x16e,_0x5337b3:0xbd,_0x409ed7:0x10f,_0x26cca3:0xe2,_0x52b833:0x11c,_0x5e766f:0x5d7,_0x449e11:0x463,_0x28d8ef:0x4c9,_0x12ca07:0x7a,_0x578dcf:0x573,_0x3cfffb:0x160,_0x3338e1:0x176,_0x1786ef:0x5ac,_0x196e7e:0x47f,_0x275bd5:0x71,_0x59cdac:0x624,_0x12c581:0x5c6,_0x48f929:0x476,_0x5d988f:0x51f,_0x317241:0x115,_0x119679:0x49f,_0x4d55b3:0x470,_0x5e928b:0x567,_0x592565:0x4b3,_0x261405:0x556,_0x239e0e:0x556},_0x3e76a5={_0x108742:0xf2};function _0x4dd003(_0x5c9e9b,_0x579942){return _0x21fd29(_0x579942,_0x5c9e9b- -0x2b2);}const _0x29e1a2={'BxzNH':'⚠️\x20\x20状态文件不存在'+_0x1bea6f(0x53d,_0x3ebd11._0x4d1175)+_0x1bea6f(0x50c,0x597),'utsne':_0x1bea6f(0x5d4,0x559)+_0x1bea6f(0x52a,_0x3ebd11._0x5362d7)+'project\x20命令','zAdaU':function(_0x186cb5,_0x17a971){return _0x186cb5!==_0x17a971;},'qEVEJ':_0x1bea6f(_0x3ebd11._0x1ba7cc,0x5a4),'ZnpXS':'TGGMF','okIij':function(_0x2d591c,_0x3619a3){return _0x2d591c(_0x3619a3);}},_0x16b93c=await readStateFile();if(!_0x16b93c){console[_0x1bea6f(0x412,_0x3ebd11._0x315e7d)](_0x29e1a2[_0x1bea6f(0x5aa,0x4f8)]);return;}if(_0x16b93c[_0x4dd003(-_0x3ebd11._0xd4709e,-0xca)][_0x58ea79]){if(_0x29e1a2['zAdaU'](_0x29e1a2[_0x1bea6f(0x4e7,0x55c)],_0x29e1a2['ZnpXS'])){console[_0x4dd003(-0x16e,-_0x3ebd11._0x167844)](_0x4dd003(-_0x3ebd11._0x3175e8,-0x146)+_0x58ea79+_0x1bea6f(_0x3ebd11._0xee3e5f,_0x3ebd11._0x71c8f5));return;}else{_0xc018d3[_0x4dd003(-_0x3ebd11._0x53fa51,-0xeb)](_0x29e1a2[_0x4dd003(-_0x3ebd11._0x5337b3,-_0x3ebd11._0x409ed7)]);return;}}const _0x1657ff=_0x2db8f0['phase']??_0x4dd003(-_0x3ebd11._0x26cca3,-_0x3ebd11._0x52b833),_0x233f5f=_0x2db8f0[_0x4dd003(-0x4a,0x50)]??null,_0x1327eb={};_0x1327eb['agentId']=_0x58ea79,_0x1327eb[_0x1bea6f(0x57d,_0x3ebd11._0x5e766f)]=_0x233f5f,_0x1327eb['childIds']=[],_0x1327eb[_0x1bea6f(_0x3ebd11._0x449e11,0x512)]=_0x1657ff,_0x1327eb[_0x1bea6f(0x493,_0x3ebd11._0x28d8ef)+_0x1bea6f(0x3ed,0x485)]='',_0x1327eb[_0x4dd003(-_0x3ebd11._0x12ca07,-0x101)+'ll']='';const _0x39f4ef=_0x1327eb;function _0x1bea6f(_0x2f6c75,_0x4ae752){return _0xd1aea8(_0x2f6c75,_0x4ae752-_0x3e76a5._0x108742);}const _0x337908={..._0x16b93c[_0x1bea6f(_0x3ebd11._0x578dcf,0x542)]};_0x337908[_0x58ea79]=_0x39f4ef;const _0x479d9b=_0x337908;if(_0x233f5f&&_0x479d9b[_0x233f5f]){const _0x20daff=_0x479d9b[_0x233f5f];if(!_0x20daff['childIds']['includes'](_0x58ea79)){const _0x4722b0={..._0x20daff};_0x4722b0[_0x4dd003(-_0x3ebd11._0x3cfffb,-0x1fd)]=[..._0x20daff[_0x4dd003(-_0x3ebd11._0x3cfffb,-_0x3ebd11._0x3338e1)],_0x58ea79],_0x479d9b[_0x233f5f]=_0x4722b0;}}const _0x37f095={};_0x37f095[_0x1bea6f(0x51e,0x5ac)]=_0x16b93c[_0x1bea6f(0x63e,_0x3ebd11._0x1786ef)],_0x37f095[_0x4dd003(-_0x3ebd11._0xd4709e,-0xd4)]=_0x479d9b,_0x37f095[_0x1bea6f(_0x3ebd11._0x196e7e,0x4ee)+_0x4dd003(-0x5b,-_0x3ebd11._0x275bd5)]=_0x16b93c['machineSna'+_0x1bea6f(_0x3ebd11._0x59cdac,_0x3ebd11._0x12c581)],await _0x29e1a2['okIij'](writeStateFile,_0x37f095);const _0x329b4c=PHASE_NAMES[_0x1657ff]??_0x1657ff;console['log'](_0x1bea6f(_0x3ebd11._0x48f929,_0x3ebd11._0x5d988f)+_0x4dd003(-_0x3ebd11._0x317241,-_0x3ebd11._0xd4709e)+_0x58ea79),console[_0x1bea6f(0x492,0x4b3)](_0x1bea6f(_0x3ebd11._0x119679,_0x3ebd11._0x4d55b3)+_0x329b4c);if(_0x233f5f)console[_0x1bea6f(_0x3ebd11._0x5e928b,_0x3ebd11._0x592565)](_0x1bea6f(_0x3ebd11._0x261405,_0x3ebd11._0x239e0e)+':\x20'+_0x233f5f);}export async function deregisterAgent(_0x43c6d8){const _0x3bbfe8={_0x48db02:0x4fd,_0x57cb07:0x39c,_0x3d9232:0x49d,_0x11263c:0x415,_0x1d79a9:0x481,_0x317e9c:0x4cf,_0x2d11a2:0x4ee,_0x152fc2:0x558,_0x19361e:0x45c,_0x31574e:0x595,_0x2befef:0x4ae,_0x49ca48:0x39c,_0x159ba1:0x36d,_0x32009f:0x510,_0x17845c:0x4ff,_0x32cca2:0x436,_0x12995f:0x4cb,_0x326b4e:0x4d0,_0x2905e9:0x4e4,_0x4623bd:0x465,_0x196c77:0x4cd,_0x2753c3:0x560,_0x5775a0:0x52c,_0x56fb64:0x599,_0x33070e:0x5d8,_0x4a9c4b:0x52f,_0x98893a:0x438,_0x989f9f:0x4db,_0x4cec38:0x564,_0x434912:0x58b,_0x5682ae:0x5b3,_0x236217:0x3be,_0x57aa70:0x487,_0x16b96f:0x44a,_0x2a0a00:0x484},_0x52052e={_0x9825c1:0x35c},_0x112755={_0x3dbb51:0x293},_0xfcc6e0={};_0xfcc6e0[_0xbc3006(0x427,0x4cc)]=_0xbc3006(_0x3bbfe8._0x48db02,0x546),_0xfcc6e0[_0x4ac63b(_0x3bbfe8._0x57cb07,0x448)]=_0x4ac63b(_0x3bbfe8._0x3d9232,_0x3bbfe8._0x11263c);function _0x4ac63b(_0x318342,_0x46dc44){return _0x21fd29(_0x46dc44,_0x318342-_0x112755._0x3dbb51);}_0xfcc6e0[_0x4ac63b(0x452,_0x3bbfe8._0x1d79a9)]=function(_0x4b50,_0x944d7e){return _0x4b50!==_0x944d7e;};const _0x4fbc5d=_0xfcc6e0;function _0xbc3006(_0x4af8d3,_0x3453fe){return _0x21fd29(_0x4af8d3,_0x3453fe-_0x52052e._0x9825c1);}const _0x2850a8=await readStateFile();if(!_0x2850a8){console['log'](_0x4fbc5d[_0x4ac63b(0x403,0x39d)]);return;}if(!_0x2850a8[_0xbc3006(0x4b9,0x52f)][_0x43c6d8]){console[_0xbc3006(_0x3bbfe8._0x317e9c,0x4a0)](_0xbc3006(_0x3bbfe8._0x2d11a2,0x4c1)+_0x43c6d8+_0xbc3006(_0x3bbfe8._0x152fc2,0x535));return;}const _0x13c8b9=_0x2850a8[_0x4ac63b(0x466,_0x3bbfe8._0x19361e)][_0x43c6d8],_0x2d3a6f={..._0x2850a8['agents']},_0x497636=_0x2d3a6f;delete _0x497636[_0x43c6d8];if(_0x13c8b9[_0x4ac63b(0x4fb,_0x3bbfe8._0x31574e)]&&_0x497636[_0x13c8b9['parentId']]){const _0x5fea3d=_0x497636[_0x13c8b9[_0x4ac63b(0x4fb,0x538)]];_0x497636[_0x13c8b9[_0xbc3006(0x653,0x5c4)]]={..._0x5fea3d,'childIds':_0x5fea3d[_0xbc3006(0x521,_0x3bbfe8._0x2befef)][_0xbc3006(0x4ef,0x561)](_0x14bca3=>_0x14bca3!==_0x43c6d8)};}const _0x4d0d8b=Object['keys'](_0x497636);let _0x1c50f8=_0x4fbc5d[_0x4ac63b(_0x3bbfe8._0x49ca48,_0x3bbfe8._0x159ba1)];for(const _0xc86e06 of _0x4d0d8b){if(_0x4fbc5d['FNPsi'](_0x497636[_0xc86e06][_0xbc3006(_0x3bbfe8._0x32009f,_0x3bbfe8._0x17845c)],_0xbc3006(0x5dd,0x566))){_0x1c50f8=_0x497636[_0xc86e06][_0x4ac63b(_0x3bbfe8._0x32cca2,_0x3bbfe8._0x12995f)];break;}}const _0x39cb2e={..._0x2850a8[_0x4ac63b(_0x3bbfe8._0x326b4e,_0x3bbfe8._0x2905e9)]};_0x39cb2e[_0x4ac63b(0x4cc,_0x3bbfe8._0x4623bd)+'se']=_0x4d0d8b[_0xbc3006(_0x3bbfe8._0x196c77,0x4f6)]>-0x17*0x1+0x18d9+0x1*-0x18c2?_0x1c50f8:_0xbc3006(_0x3bbfe8._0x2753c3,_0x3bbfe8._0x5775a0);const _0x159e0c={};_0x159e0c[_0xbc3006(0x4f7,_0x3bbfe8._0x56fb64)]=_0x39cb2e,_0x159e0c[_0xbc3006(_0x3bbfe8._0x33070e,_0x3bbfe8._0x4a9c4b)]=_0x497636,_0x159e0c[_0xbc3006(_0x3bbfe8._0x98893a,_0x3bbfe8._0x989f9f)+'pshot']=_0x2850a8[_0xbc3006(_0x3bbfe8._0x4cec38,0x4db)+_0xbc3006(_0x3bbfe8._0x434912,_0x3bbfe8._0x5682ae)],await writeStateFile(_0x159e0c),console[_0x4ac63b(0x3d7,_0x3bbfe8._0x236217)](_0xbc3006(_0x3bbfe8._0x57aa70,0x50c)+_0xbc3006(_0x3bbfe8._0x16b96f,_0x3bbfe8._0x2a0a00)+_0x43c6d8);}function detectInputType(_0x323562){const _0x5940e0={_0xd105a6:0x109,_0x3321b7:0x102,_0x30d3da:0x4e,_0xa9ed32:0xea,_0x38b511:0x1c0,_0x3cfc2a:0x143,_0x3cab17:0xbb,_0x4d9984:0x59,_0x5ef617:0x1ab,_0xbc598c:0x131,_0x4485dc:0x122,_0x47a440:0x136,_0x2b1001:0x115,_0x4f4606:0x112,_0x4997d7:0x119,_0x4a9c8d:0x1fe,_0x1527e1:0xba,_0x214bde:0xbb,_0x2e13c4:0x195,_0x161445:0x157,_0x17e2ec:0x1e0};function _0x7a45a3(_0x514054,_0x5bfef9){return _0xd1aea8(_0x514054,_0x5bfef9- -0x57d);}const _0x2e1ea5={};_0x2e1ea5['akbAw']=_0x4a7bf5(_0x5940e0._0xd105a6,_0x5940e0._0x3321b7),_0x2e1ea5[_0x4a7bf5(_0x5940e0._0x30d3da,_0x5940e0._0xa9ed32)]=_0x7a45a3(-_0x5940e0._0x38b511,-0x15c)+'l',_0x2e1ea5[_0x7a45a3(-_0x5940e0._0x3cfc2a,-_0x5940e0._0x3cab17)]=function(_0x101e44,_0x2492ce){return _0x101e44>_0x2492ce;};function _0x4a7bf5(_0x528415,_0x5aad8f){return _0xd1aea8(_0x528415,_0x5aad8f- -0x2c0);}_0x2e1ea5[_0x7a45a3(-_0x5940e0._0x4d9984,-0xdd)]=_0x7a45a3(-_0x5940e0._0x5ef617,-_0x5940e0._0xbc598c)+'t',_0x2e1ea5['hkJpu']=_0x4a7bf5(_0x5940e0._0x4485dc,_0x5940e0._0x47a440);const _0x608079=_0x2e1ea5;if(/^https?:\/\/github\.com\//[_0x4a7bf5(_0x5940e0._0x2b1001,0x119)](_0x323562))return _0x608079[_0x4a7bf5(0x180,0x1fb)];if(/^https?:\/\//[_0x4a7bf5(_0x5940e0._0x4f4606,_0x5940e0._0x4997d7)](_0x323562))return _0x608079[_0x7a45a3(-_0x5940e0._0x4a9c8d,-0x1d3)];if(_0x608079[_0x7a45a3(-_0x5940e0._0x1527e1,-_0x5940e0._0x214bde)](_0x323562[_0x4a7bf5(_0x5940e0._0x2e13c4,_0x5940e0._0x161445)],0x1*-0x190e+0x203*0x12+-0xb1e))return _0x608079[_0x4a7bf5(0x224,_0x5940e0._0x17e2ec)];return _0x608079[_0x7a45a3(-0x135,-0x19c)];}const _0x3d8af2={};_0x3d8af2[_0xd1aea8(0x459,0x44c)+'t']=_0x21fd29(0x1d3,0x212),_0x3d8af2[_0xd1aea8(0x389,0x3c2)]='GitHub\x20仓库',_0x3d8af2[_0x21fd29(0x1a5,0x1a4)+'l']=_0xd1aea8(0x437,0x4d1),_0x3d8af2['unknown']=_0x21fd29(0x223,0x1fe);const INPUT_TYPE_NAMES=_0x3d8af2;async function readStateFile(){if(!existsSync(STATE_FILE_PATH))return null;const _0x406527=new StateFileManager(STATE_FILE_PATH);return _0x406527['read']();}async function writeStateFile(_0x151380){const _0x511a18={_0x4ef116:0x3f6,_0xc1515d:0x528,_0x183bba:0x58f,_0xd5cf18:0x427,_0x5cc82c:0x459,_0x44cc89:0x458,_0x253fa3:0x471,_0x402955:0x4d1},_0x22e0bf={_0x5736c9:0x2b3},_0x37cd07={_0x49295d:0xf2};function _0x2aa732(_0x5f1992,_0x42076e){return _0xd1aea8(_0x42076e,_0x5f1992-_0x37cd07._0x49295d);}const _0x357966={'SSCSK':function(_0x2cea4c,_0x51551c,_0x103a26){return _0x2cea4c(_0x51551c,_0x103a26);},'wiAAr':function(_0x342338,_0x4f7c15){return _0x342338<_0x4f7c15;},'vvPrS':function(_0x280108,_0x23f769){return _0x280108-_0x23f769;}};function _0x708dda(_0x56c7c1,_0x48bf52){return _0x21fd29(_0x48bf52,_0x56c7c1-_0x22e0bf._0x5736c9);}for(let _0x6be99e=0x20ba+0xad3*-0x1+-0x15e7;_0x357966[_0x708dda(0x42f,0x4a4)](_0x6be99e,MAX_RETRIES);_0x6be99e++){try{const _0x2451ba=new StateFileManager(STATE_FILE_PATH);await _0x2451ba['read'](),await _0x2451ba[_0x708dda(_0x511a18._0x4ef116,0x4aa)](_0x151380);return;}catch(_0x457a98){if(_0x2aa732(0x51e,0x54d)===_0x2aa732(_0x511a18._0xc1515d,_0x511a18._0x183bba)){const _0x18602b={};_0x18602b['recursive']=!![],_0x357966[_0x2aa732(0x49f,_0x511a18._0xd5cf18)](_0x40f0ab,_0x2eee2b,_0x18602b);}else{if(_0x457a98 instanceof Error&&_0x457a98['message'][_0x708dda(0x4d2,_0x511a18._0x5cc82c)](_0x708dda(0x4f6,_0x511a18._0x44cc89))&&_0x357966[_0x2aa732(0x4eb,0x522)](_0x6be99e,_0x357966[_0x2aa732(_0x511a18._0x253fa3,_0x511a18._0x402955)](MAX_RETRIES,0x1e*0x2d+0x76a+-0xcaf*0x1))){await new Promise(_0xdfe925=>setTimeout(_0xdfe925,-0x163*0x11+0x4cf*-0x6+0x349f*0x1+Math[_0x708dda(0x470,0x4ed)]()*(0x4a*-0x66+0x1511+0x8cf)));continue;}throw _0x457a98;}}}}export async function newProject(_0x513dac){const _0x46de22={_0x255167:0x40a,_0x2f5592:0x217,_0x1cd0e1:0x2b9,_0x3d7c5c:0x2bc,_0x308a2f:0xb5,_0x2afc60:0x283,_0x243067:0x2d8,_0x2e37fd:0x2a2,_0xe5ca32:0x315,_0x17cd82:0x39,_0xbcc55c:0x3a7,_0x411f24:0xc8,_0x2e9a06:0x2f,_0x30ca94:0x2c4,_0x284dca:0x374,_0x31160b:0x319,_0x373d69:0x40,_0x4991ea:0x244,_0x2c882f:0x2e5,_0x11509b:0x333,_0x4104c3:0x32f,_0x68e312:0x118,_0x4bba63:0x4a,_0x40ed06:0x3da,_0x44e2e2:0x36d,_0x2bb609:0x242},_0x1e3d9c={_0x17e77f:0x47c},_0x8a7955={'xITHM':function(_0x1ac21c,_0xd7b1cb,_0xe372dd){return _0x1ac21c(_0xd7b1cb,_0xe372dd);},'CuryB':function(_0x2457c0,_0x57bc66){return _0x2457c0(_0x57bc66);},'jwSeE':function(_0x53e48d,_0x1f00d7,_0x14986f){return _0x53e48d(_0x1f00d7,_0x14986f);},'emzWt':_0x49f0ac(_0x46de22._0x255167,0x371),'MEBBd':_0x49f0ac(_0x46de22._0x2f5592,_0x46de22._0x1cd0e1)},_0x3c41a5=_0x8a7955['xITHM'](resolve,process['cwd'](),_0x49f0ac(0x365,_0x46de22._0x3d7c5c));if(!_0x8a7955[_0x1cc149(-0xe0,-_0x46de22._0x308a2f)](existsSync,_0x3c41a5)){const _0x546996={};_0x546996[_0x1cc149(-0x81,-0x87)]=!![],_0x8a7955[_0x49f0ac(_0x46de22._0x2afc60,_0x46de22._0x243067)](mkdirSync,_0x3c41a5,_0x546996);}const _0x546ac1=generateAgentId(),_0x3f81ae={};_0x3f81ae['agentId']=_0x546ac1,_0x3f81ae['parentId']=null,_0x3f81ae[_0x49f0ac(_0x46de22._0x2e37fd,0x2f3)]=[],_0x3f81ae['phase']=_0x8a7955['emzWt'],_0x3f81ae[_0x49f0ac(_0x46de22._0xe5ca32,0x2fb)+'ration']='',_0x3f81ae[_0x1cc149(-0x19,_0x46de22._0x17cd82)+'ll']='';const _0x49a961=_0x3f81ae,_0x3a6586={};_0x3a6586[_0x1cc149(-0x77,-0x25)]=_0x513dac;function _0x1cc149(_0x128a33,_0x58e27b){return _0xd1aea8(_0x128a33,_0x58e27b- -_0x1e3d9c._0x17e77f);}_0x3a6586[_0x49f0ac(_0x46de22._0xbcc55c,0x3da)+'se']=_0x1cc149(-_0x46de22._0x411f24,-_0x46de22._0x2e9a06);const _0x285a1c={};_0x285a1c[_0x546ac1]=_0x49a961;const _0x31c5d9={};_0x31c5d9[_0x49f0ac(0x47f,0x3de)]=_0x3a6586,_0x31c5d9[_0x49f0ac(_0x46de22._0x30ca94,_0x46de22._0x284dca)]=_0x285a1c,_0x31c5d9['machineSna'+_0x49f0ac(0x40f,0x3f8)]=null,await writeStateFile(_0x31c5d9);function _0x49f0ac(_0x5cf9f0,_0x327f92){return _0xd1aea8(_0x5cf9f0,_0x327f92- -0xdc);}console[_0x49f0ac(_0x46de22._0x31160b,0x2e5)](_0x1cc149(0xc,_0x46de22._0x373d69)+_0x513dac),console[_0x49f0ac(_0x46de22._0x4991ea,0x2e5)]('\x20\x20\x20目录:\x20'+_0x3c41a5),console[_0x49f0ac(0x30e,_0x46de22._0x2c882f)](_0x49f0ac(0x487,0x3f0)+_0x49f0ac(_0x46de22._0x11509b,_0x46de22._0x4104c3)+_0x546ac1),console[_0x1cc149(-_0x46de22._0x68e312,-0xbb)](_0x1cc149(_0x46de22._0x4bba63,-0x69)+PIPELINE_PHASES[_0x1cc149(-0x5d,-0x82)](_0x2a50bf=>PHASE_NAMES[_0x2a50bf]??_0x2a50bf)[_0x49f0ac(_0x46de22._0x40ed06,_0x46de22._0x44e2e2)](_0x8a7955[_0x49f0ac(_0x46de22._0x2bb609,0x2bd)])+'\x0a');}export async function discussPhase(_0x2adbab){const _0x59495f={_0x2edee4:0x63a,_0x3b6485:0x5f6,_0x3118bc:0x65a,_0x4fadf9:0x39b,_0x39293e:0x3f3,_0x50aee1:0x309,_0x3093ba:0x326,_0x4351c2:0x3cd,_0x9a41a0:0x2f7,_0x153c43:0x5bf,_0x4cb4bf:0x5c0,_0x42196b:0x3a7,_0x5a4759:0x39f,_0x447a54:0x307,_0x33deac:0x4b2,_0x1aa9a2:0x43d,_0xdce7d7:0x56e,_0x5c632c:0x531,_0x12fd7c:0x530,_0x1c03d6:0x68d,_0x11b0b7:0x64e,_0x40f643:0x2d3,_0x3ecd35:0x5dc,_0x2b0eb0:0x507,_0xa658c1:0x5f8,_0x339e75:0x5a6,_0x382fbb:0x309,_0x21d738:0x4f7};function _0x1211c2(_0x15caac,_0x398fc7){return _0xd1aea8(_0x15caac,_0x398fc7-0x16f);}const _0xf8b354={'lnjjh':function(_0x312ba6,_0xbfbb73){return _0x312ba6??_0xbfbb73;},'FLjOP':'discuss','Lrsrv':function(_0x3654ec){return _0x3654ec();},'AFlop':function(_0x235daa,_0x48d366){return _0x235daa!==_0x48d366;},'PKTyD':_0x1211c2(_0x59495f._0x2edee4,_0x59495f._0x3b6485)},_0x4533d0=_0xf8b354[_0x1211c2(_0x59495f._0x3118bc,0x607)](_0x2adbab,_0xf8b354['FLjOP']),_0xf4828b=await _0xf8b354[_0x231429(_0x59495f._0x4fadf9,_0x59495f._0x39293e)](readStateFile);if(!_0xf4828b){console[_0x231429(0x324,_0x59495f._0x50aee1)](_0x231429(_0x59495f._0x3093ba,0x3af)+_0x231429(_0x59495f._0x4351c2,0x3c5)+_0x231429(0x2a1,_0x59495f._0x9a41a0));return;}const _0x2248f6=_0xf4828b[_0x1211c2(0x5f6,_0x59495f._0x153c43)];for(const _0x2c4394 of Object['keys'](_0x2248f6)){_0xf8b354[_0x1211c2(_0x59495f._0x4cb4bf,0x52d)](_0x2248f6[_0x2c4394]['phase'],_0xf8b354[_0x231429(0x49f,0x3f9)])&&(_0x2248f6[_0x2c4394]={..._0x2248f6[_0x2c4394],'phase':_0x4533d0});}const _0x65bd5b={};_0x65bd5b[_0x231429(_0x59495f._0x42196b,_0x59495f._0x5a4759)]=_0xf4828b['project'][_0x231429(_0x59495f._0x447a54,_0x59495f._0x5a4759)],_0x65bd5b[_0x231429(_0x59495f._0x33deac,0x3fe)+'se']=_0x4533d0;const _0x128cdf={};_0x128cdf[_0x231429(_0x59495f._0x1aa9a2,0x402)]=_0x65bd5b,_0x128cdf[_0x231429(0x31d,0x398)]=_0x2248f6,_0x128cdf[_0x1211c2(_0x59495f._0xdce7d7,0x56b)+_0x231429(0x388,0x41c)]=null,await writeStateFile(_0x128cdf);function _0x231429(_0x3d7ad7,_0x389576){return _0xd1aea8(_0x3d7ad7,_0x389576- -0xb8);}const _0xd945d8=PHASE_NAMES[_0x4533d0]??_0x4533d0;console[_0x1211c2(_0x59495f._0x5c632c,_0x59495f._0x12fd7c)](_0x1211c2(_0x59495f._0x1c03d6,_0x59495f._0x11b0b7)+'\x20'+_0xd945d8),console[_0x231429(0x38d,0x309)](_0x231429(0x2f6,_0x59495f._0x40f643)+_0xf4828b[_0x1211c2(_0x59495f._0x3ecd35,0x629)]['name']),console[_0x1211c2(_0x59495f._0x2b0eb0,_0x59495f._0x12fd7c)](_0x1211c2(_0x59495f._0xa658c1,_0x59495f._0x339e75)+_0xd945d8),console[_0x231429(0x257,_0x59495f._0x382fbb)]('\x20\x20\x20提示:\x20在此阶'+_0x1211c2(_0x59495f._0x21d738,0x527)+'\x0a');}export async function planPhase(_0x48b958){const _0x56bd17={_0x2fe2ec:0x134,_0x241d61:0x28b,_0x1027ee:0x269,_0x1942c7:0x241,_0x3191fb:0x283,_0x171fa7:0x1db,_0x40c408:0x183,_0x39b769:0x155,_0x207108:0xf9,_0x256061:0x15d,_0x107e7f:0x15f,_0x22f7b7:0x135,_0x4f7d9e:0x196,_0x4847a2:0x25c,_0x4853a3:0x186,_0x1c84e9:0x26f,_0x61cdd5:0x1d7,_0x20972d:0x283,_0x3f30a5:0x24,_0x459c7b:0xf8,_0x3212f3:0x163,_0x3cb4c2:0x17c,_0x890abe:0x2ce,_0x1f8935:0x195,_0x1a7e11:0x12f,_0x53e0e7:0x18e,_0x4fea9f:0x233,_0x344787:0x192,_0x5b0cad:0x116,_0x1fed7c:0x11,_0xb6d76f:0xd8,_0x2dc621:0x12,_0x13ca6b:0x63,_0x4c961:0x1d8,_0x12289f:0x21d,_0x1570fd:0x115,_0x1d1b95:0x11b},_0xaf8ef4={};_0xaf8ef4[_0x4e1171(_0x56bd17._0x2fe2ec,0xb8)]=function(_0x1fc6e0,_0x1e2d5d){return _0x1fc6e0??_0x1e2d5d;},_0xaf8ef4[_0x5803dc(0x2c9,_0x56bd17._0x241d61)]=_0x5803dc(_0x56bd17._0x1027ee,0x21e),_0xaf8ef4[_0x5803dc(_0x56bd17._0x1942c7,_0x56bd17._0x3191fb)]=_0x5803dc(_0x56bd17._0x171fa7,0x22d)+_0x4e1171(_0x56bd17._0x40c408,_0x56bd17._0x39b769)+_0x4e1171(0x70,0x87),_0xaf8ef4[_0x4e1171(_0x56bd17._0x207108,0xf1)]=_0x4e1171(_0x56bd17._0x256061,_0x56bd17._0x107e7f),_0xaf8ef4[_0x4e1171(_0x56bd17._0x22f7b7,_0x56bd17._0x4f7d9e)]=function(_0x3ef327,_0x3cf3c7){return _0x3ef327!==_0x3cf3c7;},_0xaf8ef4[_0x5803dc(0x12c,0x18e)]=_0x5803dc(0x214,_0x56bd17._0x4847a2);const _0x2b040d=_0xaf8ef4,_0x5b4d19=_0x2b040d[_0x5803dc(_0x56bd17._0x4853a3,0x1a6)](_0x48b958,_0x2b040d[_0x5803dc(_0x56bd17._0x1c84e9,0x28b)]),_0x5d4518=await readStateFile();if(!_0x5d4518){console['log'](_0x2b040d[_0x5803dc(_0x56bd17._0x61cdd5,_0x56bd17._0x20972d)]);return;}const _0x21f875=_0x5d4518['agents'];for(const _0x5c4285 of Object[_0x4e1171(-_0x56bd17._0x3f30a5,0x5c)](_0x21f875)){if(_0x21f875[_0x5c4285][_0x4e1171(0x77,_0x56bd17._0x459c7b)]!==_0x2b040d['MlgoH']){if(_0x2b040d[_0x4e1171(_0x56bd17._0x3212f3,_0x56bd17._0x4f7d9e)](_0x2b040d[_0x5803dc(_0x56bd17._0x3cb4c2,0x18e)],_0x5803dc(_0x56bd17._0x890abe,0x25c))){const _0x43b075={..._0x4a2011};_0x43b075['childIds']=[..._0x4592c2[_0x5803dc(0x119,_0x56bd17._0x1f8935)],_0x1c24c9],_0x101320[_0x3fdd53]=_0x43b075;}else _0x21f875[_0x5c4285]={..._0x21f875[_0x5c4285],'phase':_0x5b4d19};}}const _0x3ed0e8={};_0x3ed0e8[_0x4e1171(0x90,_0x56bd17._0x1a7e11)]=_0x5d4518['project']['name'];function _0x4e1171(_0x4de812,_0x15f7ed){return _0x21fd29(_0x4de812,_0x15f7ed- -0xab);}_0x3ed0e8[_0x4e1171(0x1be,_0x56bd17._0x53e0e7)+'se']=_0x5b4d19;const _0x272889={};_0x272889[_0x4e1171(_0x56bd17._0x4fea9f,_0x56bd17._0x344787)]=_0x3ed0e8,_0x272889[_0x5803dc(0x203,0x216)]=_0x21f875,_0x272889[_0x4e1171(_0x56bd17._0x5b0cad,0xd4)+'pshot']=null;function _0x5803dc(_0xd6daa7,_0x199d65){return _0x21fd29(_0xd6daa7,_0x199d65-0x43);}await writeStateFile(_0x272889);const _0x13081c=PHASE_NAMES[_0x5b4d19]??_0x5b4d19;console[_0x4e1171(-_0x56bd17._0x1fed7c,0x99)](_0x5803dc(0x259,0x1f6)+'\x20'+_0x13081c),console[_0x5803dc(_0x56bd17._0xb6d76f,0x187)](_0x4e1171(-_0x56bd17._0x2dc621,_0x56bd17._0x13ca6b)+_0x5d4518[_0x4e1171(_0x56bd17._0x4c961,0x192)][_0x5803dc(0x2a5,_0x56bd17._0x12289f)]),console['log']('\x20\x20\x20当前阶段:\x20'+_0x13081c),console[_0x5803dc(_0x56bd17._0x1570fd,0x187)](_0x4e1171(_0x56bd17._0x1d1b95,0xfb)+'段分解任务、制定计划'+'\x0a');}export async function executePhase(_0x183ec6){const _0x18a816={_0x975d8a:0x135,_0x4e3c73:0x18c,_0x267bc1:0xb2,_0x335007:0xce,_0x38ba0c:0x11f,_0x5297ea:0x174,_0x2cb59f:0x149,_0x2ee760:0x1a1,_0x181fb3:0xcd,_0x5df998:0x16c,_0x25d47d:0xbe,_0xba86de:0x92,_0x144365:0x141,_0x5bdb00:0xde,_0x3cc6ef:0x99,_0x3967c8:0xec,_0x1b4c91:0x1d,_0x3991b1:0xe5,_0x2fcef8:0xad,_0x933ff:0x61,_0x4b27ac:0x12f,_0x1e7571:0x7d,_0x18386b:0x1e,_0x4775b4:0x12f,_0x246010:0x1a2,_0x4f1b1f:0x1aa,_0x3428f5:0xed,_0x1e369f:0x7b,_0x3ba247:0x8e,_0x42b0f2:0xde,_0x46d073:0x12f,_0x31e087:0x32},_0x245f39={_0xc71bff:0x2b8},_0x5b6c84={};_0x5b6c84[_0x30292a(-_0x18a816._0x975d8a,-_0x18a816._0x4e3c73)]=function(_0x47ae9a,_0x4e0394){return _0x47ae9a??_0x4e0394;},_0x5b6c84['eCrZN']=_0x4d0309(-_0x18a816._0x267bc1,-_0x18a816._0x335007)+_0x4d0309(-0xea,-0xb8)+'project\x20命令',_0x5b6c84['vEuHQ']=function(_0x3327d4,_0x2dfff3){return _0x3327d4!==_0x2dfff3;};const _0x506e4d=_0x5b6c84,_0x15eb80=_0x506e4d[_0x4d0309(-0x1cc,-0x17a)](_0x183ec6,_0x30292a(-0x123,-_0x18a816._0x38ba0c)),_0x5912cf=await readStateFile();if(!_0x5912cf){console[_0x4d0309(-0x15b,-_0x18a816._0x5297ea)](_0x506e4d[_0x4d0309(-_0x18a816._0x2cb59f,-_0x18a816._0x2ee760)]);return;}const _0x2dca43=_0x5912cf[_0x30292a(-0xa0,-_0x18a816._0x181fb3)];for(const _0x2292ad of Object[_0x30292a(-_0x18a816._0x5df998,-_0x18a816._0x25d47d)](_0x2dca43)){_0x506e4d['vEuHQ'](_0x2dca43[_0x2292ad][_0x4d0309(-_0x18a816._0xba86de,-0x115)],_0x30292a(-0x69,0x10))&&(_0x2dca43[_0x2292ad]={..._0x2dca43[_0x2292ad],'phase':_0x15eb80});}const _0x2e7bfb={};_0x2e7bfb[_0x4d0309(-_0x18a816._0x144365,-_0x18a816._0x5bdb00)]=_0x5912cf['project'][_0x30292a(-_0x18a816._0x3cc6ef,-_0x18a816._0x3967c8)];function _0x4d0309(_0x4dab95,_0x2381d4){return _0x21fd29(_0x4dab95,_0x2381d4- -_0x245f39._0xc71bff);}_0x2e7bfb['currentPha'+'se']=_0x15eb80;const _0x27b8ca={};_0x27b8ca[_0x30292a(-0x36,-_0x18a816._0x1b4c91)]=_0x2e7bfb,_0x27b8ca[_0x4d0309(-0x188,-_0x18a816._0x3991b1)]=_0x2dca43,_0x27b8ca['machineSna'+_0x4d0309(-_0x18a816._0x2fcef8,-_0x18a816._0x933ff)]=null,await writeStateFile(_0x27b8ca);function _0x30292a(_0x588294,_0x5d865f){return _0x21fd29(_0x5d865f,_0x588294- -0x273);}const _0x15543a=PHASE_NAMES[_0x15eb80]??_0x15eb80;console[_0x30292a(-_0x18a816._0x4b27ac,-0xa8)](_0x30292a(-_0x18a816._0x1e7571,-_0x18a816._0x18386b)+'\x20'+_0x15543a),console[_0x4d0309(-_0x18a816._0x4775b4,-_0x18a816._0x5297ea)](_0x4d0309(-_0x18a816._0x246010,-_0x18a816._0x4f1b1f)+_0x5912cf[_0x4d0309(-_0x18a816._0x3428f5,-_0x18a816._0x1e369f)][_0x4d0309(-_0x18a816._0x3ba247,-_0x18a816._0x42b0f2)]),console[_0x4d0309(-0xe6,-_0x18a816._0x5297ea)]('\x20\x20\x20当前阶段:\x20'+_0x15543a),console[_0x30292a(-_0x18a816._0x46d073,-0x1d1)]('\x20\x20\x20提示:\x20在此阶'+_0x30292a(-0x59,_0x18a816._0x31e087));}function _0xd1aea8(_0x4f732b,_0x37fc7a){return _0xe9f3(_0x37fc7a-0x19a,_0x4f732b);}export async function verifyPhase(_0x3c4972){const _0x401545={_0x1238af:0x172,_0x240750:0x60c,_0x3d5a7e:0x688,_0x240dbb:0x647,_0x320e49:0x5e1,_0x30237d:0x586,_0x138c25:0x4ce,_0x453ba7:0x24f,_0x193973:0x667,_0x5572b7:0x5f0,_0xe7014a:0x5b5,_0x314431:0x582,_0x53a3e3:0x24f,_0x1dc459:0x25f,_0x592f98:0x35e,_0x267758:0x2bc,_0x2e35f7:0x5cd,_0x3b18ce:0x38d,_0x328e61:0x23c,_0xa2253e:0x20c,_0x2d7837:0x5d9,_0x235699:0x311,_0x5ca358:0x26b,_0x52e7b1:0x222,_0x4992a4:0x619,_0x4183b9:0x5e6,_0x41a3bc:0x5a1,_0x13e68e:0x58e,_0x1c9139:0x2f3,_0xb69339:0x257,_0x35438b:0x5a1,_0xde2b7:0x5ea,_0x42c5ca:0x69a,_0x562a86:0x301,_0x4d5722:0x711,_0x45d9bb:0x26a,_0x52b31f:0x29b,_0x5e0305:0x5b8,_0x25b65d:0x56b,_0x2f56f5:0x2a2},_0xffa04b={_0x8224ac:0x1b5},_0x356ed0={'pozNd':_0x2d398d(_0x401545._0x1238af,0x21f)+_0x3208d2(_0x401545._0x240750,0x5b8),'QGwKf':_0x2d398d(0x224,0x1cc),'QTLPy':function(_0x32fcb5){return _0x32fcb5();},'okzZk':_0x3208d2(_0x401545._0x3d5a7e,_0x401545._0x240dbb)+_0x3208d2(0x635,0x65d)+_0x3208d2(0x4f0,0x58f),'ULkpB':function(_0x139925,_0x4de379){return _0x139925!==_0x4de379;},'sEBJj':_0x3208d2(0x57f,0x5f0),'FlDWT':function(_0x25e2b3,_0x1532ad){return _0x25e2b3(_0x1532ad);}};function _0x3208d2(_0x57a9fc,_0x5c6661){return _0xd1aea8(_0x57a9fc,_0x5c6661-0x1e0);}const _0x2d5b41=_0x3c4972??'verify',_0x495ce3=await _0x356ed0['QTLPy'](readStateFile);if(!_0x495ce3){console[_0x3208d2(0x5ee,0x5a1)](_0x356ed0[_0x3208d2(_0x401545._0x320e49,_0x401545._0x30237d)]);return;}const _0x2445e8=_0x495ce3[_0x2d398d(0x32b,0x29b)];for(const _0x149579 of Object[_0x3208d2(_0x401545._0x138c25,0x564)](_0x2445e8)){if(_0x356ed0[_0x2d398d(0x2da,_0x401545._0x453ba7)](_0x2445e8[_0x149579][_0x2d398d(0x2fc,0x26b)],_0x3208d2(0x6f0,_0x401545._0x193973))){if(_0x356ed0[_0x3208d2(0x561,0x5e4)](_0x356ed0['sEBJj'],_0x3208d2(0x67f,_0x401545._0x5572b7))){_0x2d13b7[_0x3208d2(_0x401545._0xe7014a,0x5a1)](_0x356ed0[_0x3208d2(0x4dc,_0x401545._0x314431)]),_0x5c371b['log'](_0x2d398d(_0x401545._0x53a3e3,_0x401545._0x1dc459)+'D\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x2d398d(_0x401545._0x592f98,_0x401545._0x267758)+_0x3208d2(_0x401545._0x2e35f7,0x583)+_0x2d398d(_0x401545._0x3b18ce,0x2fb)+'\x20\x20\x20\x20\x20\x20\x20\x20|\x20'+'工具'),_0x97a9c7[_0x2d398d(_0x401545._0x328e61,_0x401545._0xa2253e)](_0x356ed0[_0x3208d2(_0x401545._0x2d7837,0x648)]+'-'['repeat'](-0xe*-0x199+0x24de+-0x3aec));for(const _0x39f31d of _0x2a38bc){const _0x266216=_0xb7ac65[_0x39f31d],_0x2b408b=_0x5dc495[_0x266216[_0x2d398d(_0x401545._0x235699,_0x401545._0x5ca358)]]??_0x266216[_0x3208d2(0x5dc,0x600)],_0x41540f=_0x266216[_0x2d398d(0x291,_0x401545._0x52e7b1)+_0x3208d2(_0x401545._0x4992a4,0x573)]||'-',_0x31b307=_0x266216[_0x2d398d(0x28a,0x300)+'ll']||'-';_0x132ecf[_0x3208d2(_0x401545._0x4183b9,_0x401545._0x41a3bc)](_0x3208d2(0x5c1,0x561)+_0x39f31d[_0x3208d2(_0x401545._0x13e68e,0x5ec)](-0xd7+-0x1cd0+0x1db9*0x1)+'\x20|\x20'+_0x2b408b[_0x2d398d(_0x401545._0x1c9139,_0x401545._0xb69339)](0x7e*0x39+-0x155*0x1+-0x1aab)+_0x3208d2(0x653,0x5aa)+_0x41540f['padEnd'](-0x14ae+0xc69+-0x85a*-0x1)+'\x20|\x20'+_0x31b307);}_0x23dbe1[_0x3208d2(0x5f7,_0x401545._0x35438b)]();}else _0x2445e8[_0x149579]={..._0x2445e8[_0x149579],'phase':_0x2d5b41};}}const _0x260656={};_0x260656[_0x3208d2(_0x401545._0x4992a4,0x637)]=_0x495ce3[_0x3208d2(_0x401545._0xde2b7,_0x401545._0x42c5ca)]['name'],_0x260656[_0x2d398d(0x256,_0x401545._0x562a86)+'se']=_0x2d5b41;const _0x5d038f={};_0x5d038f[_0x3208d2(_0x401545._0x4d5722,0x69a)]=_0x260656;function _0x2d398d(_0x3246b4,_0x1c4f6e){return _0xd1aea8(_0x3246b4,_0x1c4f6e- -_0xffa04b._0x8224ac);}_0x5d038f[_0x2d398d(_0x401545._0x45d9bb,_0x401545._0x52b31f)]=_0x2445e8,_0x5d038f[_0x2d398d(0x1f2,0x247)+'pshot']=null,await _0x356ed0[_0x3208d2(0x62f,0x68f)](writeStateFile,_0x5d038f);const _0x5833e4=PHASE_NAMES[_0x2d5b41]??_0x2d5b41;console[_0x2d398d(0x208,_0x401545._0xa2253e)]('\x0a✅\x20进入验证阶段:'+'\x20'+_0x5833e4),console[_0x3208d2(_0x401545._0x5e0305,_0x401545._0x35438b)](_0x3208d2(0x505,_0x401545._0x25b65d)+_0x495ce3[_0x2d398d(0x339,0x305)][_0x2d398d(0x2bb,_0x401545._0x2f56f5)]),console[_0x2d398d(0x1ba,0x20c)]('\x20\x20\x20当前阶段:\x20'+_0x5833e4),console['log'](_0x3208d2(0x6ae,0x603)+'段验证成果、运行测试'+'\x0a');}export async function analyzeInput(_0x3f85e2){const _0x2cef9b={_0x3ed789:0x37,_0x4519fe:0xef,_0x35d446:0x4e,_0x13b8f6:0x5fb,_0x5a081f:0x671,_0x5a211e:0x671,_0xf202e:0x677,_0x4dd478:0x68d,_0x2609ac:0x68d,_0x4e3c8f:0x6bc,_0x3362cf:0x4f,_0x2e923a:0x65d,_0xbc1fbe:0x3e,_0x1a2120:0x6ed,_0x220fdb:0x28,_0x5ec43a:0x6c0,_0x5cb08d:0xa2,_0x263ef6:0xae,_0x240d0f:0x5c7,_0x4b0207:0x526,_0x33ca22:0x125,_0x2f10b9:0xff,_0x2507d8:0x13c,_0x5952f2:0x113,_0x5f464f:0x5c7,_0x50c058:0x758,_0x501ecf:0x5f7,_0x1cb459:0x69a,_0x51fe2e:0x68a,_0x240f70:0x6e8,_0x97d57e:0x58f,_0x36cdd6:0x44,_0x13e21e:0x5e0,_0x1ec07b:0x9c},_0x32232a={_0x4a7b61:0x483},_0x2374d1={_0x14eb4e:0x221},_0x2d8590={'ypatv':function(_0x50fda5){return _0x50fda5();},'yKIMn':_0x2723f9(0x690,0x6c5),'pmwtO':function(_0x4c92d4,_0xfd5d21){return _0x4c92d4>_0xfd5d21;},'fWpma':function(_0xec4bdc,_0x1ff23c){return _0xec4bdc+_0x1ff23c;}};function _0x356fc7(_0x4fb26f,_0x9fec46){return _0x21fd29(_0x4fb26f,_0x9fec46- -_0x2374d1._0x14eb4e);}const _0x242306=await _0x2d8590[_0x356fc7(-0x5c,-0x103)](readStateFile);if(!_0x242306){console['log'](_0x356fc7(0x61,-_0x2cef9b._0x3ed789)+',请先运行\x20new-'+_0x356fc7(-0x16e,-_0x2cef9b._0x4519fe));return;}const _0x57abed=detectInputType(_0x3f85e2),_0x2473bb=INPUT_TYPE_NAMES[_0x57abed],_0x3e94c0=_0x242306[_0x356fc7(-0xee,-_0x2cef9b._0x35d446)];for(const _0x2d1ca4 of Object[_0x2723f9(0x58a,_0x2cef9b._0x13b8f6)](_0x3e94c0)){if(_0x2d8590[_0x2723f9(_0x2cef9b._0x5a081f,0x697)]!==_0x2d8590[_0x2723f9(_0x2cef9b._0x5a211e,_0x2cef9b._0xf202e)]){if(_0x2f581a[_0x3b7df9]['phase']!==_0x2723f9(_0x2cef9b._0x4dd478,0x63e)){const _0xf14a4a={..._0x24bec2[_0x222238]};_0xf14a4a[_0x2723f9(0x626,0x5e0)]=_0x1d1706,_0x580170[_0x9bae3a]=_0xf14a4a;}}else _0x3e94c0[_0x2d1ca4][_0x356fc7(-0x101,-0x7e)]!==_0x2723f9(_0x2cef9b._0x2609ac,_0x2cef9b._0x4e3c8f)&&(_0x3e94c0[_0x2d1ca4]={..._0x3e94c0[_0x2d1ca4],'phase':_0x356fc7(-_0x2cef9b._0x3362cf,-0x28)+'lysis','currentOperation':'分析'+_0x2473bb+':\x20'+_0x3f85e2[_0x356fc7(-0x5b,0x44)](-0x265e+-0x1647+0x3ca5,0x3c2*0xa+0x1*0x1e68+0x2*-0x21e5)});}const _0x438309={};_0x438309[_0x2723f9(_0x2cef9b._0x2e923a,0x5db)]=_0x242306[_0x356fc7(-_0x2cef9b._0xbc1fbe,0x1c)][_0x2723f9(0x65d,_0x2cef9b._0x1a2120)],_0x438309['currentPha'+'se']=_0x356fc7(0x2e,-_0x2cef9b._0x220fdb)+'lysis';const _0x4b8f2e={};_0x4b8f2e[_0x2723f9(_0x2cef9b._0x5ec43a,0x728)]=_0x438309,_0x4b8f2e[_0x2723f9(0x656,0x682)]=_0x3e94c0,_0x4b8f2e[_0x356fc7(-0x9e,-_0x2cef9b._0x5cb08d)+_0x356fc7(_0x2cef9b._0x263ef6,0x36)]=null;function _0x2723f9(_0x1b2d21,_0x1728b7){return _0x21fd29(_0x1728b7,_0x1b2d21-_0x32232a._0x4a7b61);}await writeStateFile(_0x4b8f2e),console[_0x2723f9(_0x2cef9b._0x240d0f,_0x2cef9b._0x4b0207)](_0x356fc7(-_0x2cef9b._0x33ca22,-_0x2cef9b._0x2f10b9)),console['log'](_0x356fc7(-_0x2cef9b._0x2507d8,-_0x2cef9b._0x5952f2)+_0x242306[_0x2723f9(0x6c0,0x674)]['name']),console[_0x2723f9(_0x2cef9b._0x5f464f,0x546)](_0x2723f9(0x6aa,_0x2cef9b._0x50c058)+_0x2473bb),console[_0x2723f9(0x5c7,_0x2cef9b._0x501ecf)]('\x20\x20\x20输入内容:\x20'+(_0x2d8590[_0x2723f9(0x617,0x63e)](_0x3f85e2[_0x2723f9(0x61d,_0x2cef9b._0x1cb459)],-0x50e+-0x27a*0xd+0x2590*0x1)?_0x2d8590[_0x2723f9(_0x2cef9b._0x51fe2e,0x731)](_0x3f85e2[_0x2723f9(_0x2cef9b._0x240f70,0x756)](0x9*0x301+0x5*-0x3e3+-0x79a,0xf40+0x127a+-0x216a),_0x2723f9(_0x2cef9b._0x97d57e,0x599)):_0x3f85e2)),console[_0x356fc7(-_0x2cef9b._0x36cdd6,-0xdd)](_0x2723f9(_0x2cef9b._0x13e21e,0x5b5)+_0x356fc7(-0x4d,-_0x2cef9b._0x1ec07b));}export async function showProgress(){const _0x3ba376={_0x4412ae:0x31b,_0x36550b:0x2e4,_0x1ea5a0:0x596,_0x29177d:0x501,_0x3572c3:0x48b,_0x2fd825:0x483,_0x2919b2:0x555,_0x5de1e4:0x51d,_0x479b3:0x251,_0x15c29c:0x456,_0x53780e:0x409,_0x39dc79:0x31b,_0x557b0b:0x372,_0x102bfc:0x498,_0x4dc592:0x201,_0x54038f:0x196,_0x8a1fab:0x294,_0xd22b30:0x2ff,_0x52c2a1:0x493,_0x309f78:0x56d,_0xd4b74b:0x535,_0x3d049e:0x50c,_0x337ab9:0x49f,_0x2c79ba:0x3a2,_0x5a4510:0x47f,_0x8c60ab:0x4dd,_0x1ef2dc:0x502,_0xe9395a:0x333,_0x4b2eb4:0x409,_0x582351:0x357,_0x4a2778:0x490,_0x3cc86a:0x3de,_0x44559b:0x23e,_0x3fbba4:0x1e7,_0x49be84:0x3f6,_0xcb73c5:0x496,_0x2fb7ad:0x31a,_0x4c4c5d:0x2ee,_0x203f47:0x2a1,_0xec9024:0x34c,_0x4a27c4:0x21b,_0x467bb1:0x454,_0x3fe9a2:0x30c,_0x4f3af5:0x3fa,_0x4f1b02:0x4cc,_0x433b28:0x497,_0x3671aa:0x4e2,_0x55e536:0x3eb,_0x32f408:0x462,_0x18d522:0x2d2,_0x51c999:0x43b,_0x26359a:0x4d0,_0x27f32e:0x4e9,_0x4bab7f:0x4df,_0x2e9fc9:0x468,_0x5aec4d:0x29d,_0x3a9b4a:0x308,_0x17ea05:0x254,_0x208fb8:0x45c,_0x56ab21:0x4fd,_0x2229b9:0x34f,_0x3cb892:0x3c9,_0x4781fd:0x4a5,_0x442253:0x289,_0x45748d:0x412,_0x384348:0x2ec,_0x22db3c:0x285,_0x544654:0x240,_0x3d1253:0x198},_0x2f88e2={};_0x2f88e2[_0x682dd5(_0x3ba376._0x4412ae,0x340)]=_0x682dd5(_0x3ba376._0x36550b,0x311)+',请先运行\x20new-'+_0x9836db(0x343,0x3f7);function _0x682dd5(_0x459eaa,_0x291808){return _0x21fd29(_0x291808,_0x459eaa-0xfa);}_0x2f88e2['PKruX']=function(_0x466b53,_0x459484){return _0x466b53+_0x459484;},_0x2f88e2[_0x9836db(_0x3ba376._0x1ea5a0,_0x3ba376._0x29177d)]=function(_0x132ee7,_0xc8e18d){return _0x132ee7-_0xc8e18d;},_0x2f88e2[_0x9836db(0x438,_0x3ba376._0x3572c3)]=function(_0x170031,_0x762d0b){return _0x170031===_0x762d0b;},_0x2f88e2[_0x9836db(_0x3ba376._0x2fd825,0x4d0)]=_0x9836db(0x4f1,0x497),_0x2f88e2[_0x9836db(_0x3ba376._0x2919b2,_0x3ba376._0x5de1e4)]=_0x682dd5(_0x3ba376._0x479b3,0x2ae)+'\x20详情:',_0x2f88e2[_0x9836db(0x46a,0x4e9)]='\x20\x20\x20';const _0x547668=_0x2f88e2;function _0x9836db(_0x8dc4,_0x4b72a4){return _0x21fd29(_0x8dc4,_0x4b72a4-0x2c5);}const _0xb26b3a=await readStateFile();if(!_0xb26b3a){console[_0x9836db(_0x3ba376._0x15c29c,_0x3ba376._0x53780e)](_0x547668[_0x682dd5(_0x3ba376._0x39dc79,_0x3ba376._0x557b0b)]);return;}const _0x13339d=_0xb26b3a[_0x9836db(0x46d,_0x3ba376._0x102bfc)],_0x136466=Object[_0x682dd5(_0x3ba376._0x4dc592,_0x3ba376._0x54038f)](_0x13339d),_0x4d5177=_0x136466[_0x682dd5(_0x3ba376._0x8a1fab,0x333)],_0x23a573=_0x136466[_0x682dd5(_0x3ba376._0xd22b30,0x345)](_0x44b06f=>_0x13339d[_0x44b06f][_0x682dd5(0x29d,0x2d4)]==='completed')[_0x9836db(_0x3ba376._0x52c2a1,0x45f)],_0x46a6df=_0x4d5177>0x1db*0x2+0x4bd*-0x5+0x9b*0x21?Math[_0x9836db(_0x3ba376._0x309f78,0x523)](_0x23a573/_0x4d5177*(0x242c+0x2*0xd69+0x1*-0x3e9a)):-0x19dd+0x1*-0x214b+0x3b28*0x1,_0xd389f4={};for(const _0x550677 of _0x136466){const _0x421c9f=_0x13339d[_0x550677][_0x682dd5(0x29d,0x21a)];_0xd389f4[_0x421c9f]=(_0xd389f4[_0x421c9f]??0xcd0*-0x2+0x1*-0x1361+0x2d01*0x1)+(0x283*0x5+-0x204f*-0x1+-0x2cdd);}console['log'](_0x9836db(_0x3ba376._0xd4b74b,_0x3ba376._0x3d049e)+_0xb26b3a[_0x9836db(0x4fb,0x502)][_0x9836db(0x415,_0x3ba376._0x337ab9)]),console[_0x9836db(_0x3ba376._0x2c79ba,_0x3ba376._0x53780e)](_0x9836db(0x465,_0x3ba376._0x5a4510)+(PHASE_NAMES[_0xb26b3a[_0x9836db(_0x3ba376._0x8c60ab,_0x3ba376._0x1ef2dc)][_0x682dd5(_0x3ba376._0xe9395a,0x349)+'se']]??_0xb26b3a[_0x9836db(0x585,0x502)][_0x682dd5(0x333,0x30a)+'se'])),console[_0x9836db(0x362,_0x3ba376._0x4b2eb4)](_0x682dd5(0x2a8,_0x3ba376._0x582351)+_0xb26b3a['version']),console['log'](_0x9836db(_0x3ba376._0x4a2778,_0x3ba376._0x3cc86a)+_0xb26b3a['updatedAt']),console[_0x682dd5(_0x3ba376._0x44559b,_0x3ba376._0x3fbba4)]('\x20\x20\x20完成度:\x20'+_0x46a6df+_0x9836db(_0x3ba376._0x49be84,_0x3ba376._0xcb73c5)+_0x23a573+'/'+_0x4d5177+'\x20Agent)\x0a'),console[_0x682dd5(_0x3ba376._0x44559b,0x224)](_0x682dd5(_0x3ba376._0x2fb7ad,_0x3ba376._0x4c4c5d));for(const [_0xc7de1e,_0x10af01]of Object[_0x682dd5(0x34a,0x38d)](_0xd389f4)){const _0x4bdc3b=PHASE_NAMES[_0xc7de1e]??_0xc7de1e,_0xba733c=_0x547668[_0x9836db(0x441,0x43b)]('█'[_0x682dd5(_0x3ba376._0x203f47,_0x3ba376._0xec9024)](_0x10af01),'░'['repeat'](Math[_0x9836db(0x4ec,0x512)](-0x1128+0x1a8a+-0x4b1*0x2,_0x547668['cmTeg'](_0x4d5177,_0x10af01))));console[_0x682dd5(0x23e,_0x3ba376._0x4a27c4)]('\x20\x20\x20\x20\x20\x20'+_0x4bdc3b[_0x9836db(0x402,_0x3ba376._0x467bb1)](-0x7fe+-0x88f+-0x589*-0x3)+'\x20'+_0xba733c+'\x20'+_0x10af01);}console[_0x9836db(0x45e,_0x3ba376._0x53780e)]();if(_0x136466[_0x682dd5(_0x3ba376._0x8a1fab,_0x3ba376._0x3fe9a2)]>0x12cf+0xc0f+-0x1ede){if(_0x547668[_0x9836db(_0x3ba376._0x4f3af5,0x48b)](_0x9836db(_0x3ba376._0x4f1b02,_0x3ba376._0x433b28),_0x547668['YcZrE'])){console[_0x9836db(0x434,0x409)](_0x547668[_0x9836db(0x5c5,0x51d)]),console['log'](_0x9836db(_0x3ba376._0x3671aa,0x45c)+'D\x20\x20\x20\x20\x20\x20\x20\x20\x20'+'\x20|\x20阶段\x20\x20\x20\x20\x20'+_0x9836db(0x337,_0x3ba376._0x55e536)+_0x9836db(_0x3ba376._0x32f408,0x4f8)+_0x682dd5(_0x3ba376._0x18d522,0x2c0)+'工具'),console[_0x9836db(0x3eb,_0x3ba376._0x53780e)](_0x547668[_0x9836db(0x4de,_0x3ba376._0x51c999)](_0x547668[_0x9836db(_0x3ba376._0x26359a,_0x3ba376._0x27f32e)],'-'[_0x682dd5(_0x3ba376._0x203f47,0x354)](-0xb27*0x1+0x539*-0x5+-0x2e4*-0xd)));for(const _0x1508a2 of _0x136466){const _0xec7cef=_0x13339d[_0x1508a2],_0x3adabc=PHASE_NAMES[_0xec7cef[_0x9836db(_0x3ba376._0x4bab7f,_0x3ba376._0x2e9fc9)]]??_0xec7cef[_0x682dd5(_0x3ba376._0x5aec4d,_0x3ba376._0x3a9b4a)],_0x175ee1=_0xec7cef[_0x682dd5(_0x3ba376._0x17ea05,0x2d9)+_0x9836db(0x3a2,0x3db)]||'-',_0xe002a7=_0xec7cef[_0x9836db(_0x3ba376._0x208fb8,_0x3ba376._0x56ab21)+'ll']||'-';console['log'](_0x9836db(_0x3ba376._0x2229b9,_0x3ba376._0x3cb892)+_0x1508a2[_0x9836db(_0x3ba376._0x4781fd,_0x3ba376._0x467bb1)](0xc31+0xdb*-0x8+-0x547*0x1)+'\x20|\x20'+_0x3adabc[_0x682dd5(_0x3ba376._0x442253,0x206)](0x14cf+0x1*0x290+-0x1751)+_0x9836db(0x39e,_0x3ba376._0x45748d)+_0x175ee1[_0x682dd5(0x289,_0x3ba376._0x384348)](0x3*0x50+0xd9*-0xf+-0xfd*-0xc)+_0x682dd5(0x247,_0x3ba376._0x22db3c)+_0xe002a7);}console[_0x682dd5(_0x3ba376._0x44559b,0x2b0)]();}else{_0xe678f8['log']('['+_0x543e36+_0x682dd5(_0x3ba376._0x544654,_0x3ba376._0x3d1253));return;}}}export async function quickTask(_0x11c48c){const _0x3632e2={_0x254ad2:0x1c1,_0x1202cb:0x21b,_0xf2014a:0x1d7,_0x1204ff:0x88,_0x3f5e4b:0x180,_0x275ecd:0x2fc,_0x425b68:0x1a1,_0x41db32:0x236,_0x365502:0x2b6,_0x400ab6:0x1bd,_0x4d6214:0x18c,_0x5df2a5:0x205,_0x4ca5c4:0x28c,_0x5592d7:0x214,_0x3289f2:0x185,_0x41c410:0x2e8,_0x2323f3:0x1a1,_0x4c3129:0x20d,_0x512f93:0x1aa,_0x209bcb:0x211,_0x42ed0e:0x326,_0x2d1054:0x1b5,_0x2ef413:0x2fa,_0x144bcd:0x18f,_0x22f02c:0x1b1,_0x212961:0xc8,_0x444049:0x2a3,_0x342291:0x11b,_0x1d34fd:0x17d,_0x4c78ac:0x256,_0x2426d9:0x273,_0x21fcaf:0xe5,_0x12254e:0x1d8,_0x457eae:0x136,_0x4dc5d2:0x307,_0xcd34a7:0x225,_0x23625e:0x22c,_0x47bce5:0x1ed},_0x4f86fd={'UQGDy':_0x2b800a(_0x3632e2._0x254ad2,_0x3632e2._0x1202cb)+_0x2b800a(_0x3632e2._0xf2014a,0x16c)+_0x2b800a(0x109,0x145),'BvxmM':function(_0x4d7d19){return _0x4d7d19();},'mEbpf':_0x2b800a(0xf2,_0x3632e2._0x1204ff),'nOOyN':function(_0x323005,_0x1195ae){return _0x323005!==_0x1195ae;},'TAorS':_0x2b800a(0x1bd,0x14b),'ipaVZ':function(_0x416bbd,_0x44a05b,_0x5e53dd){return _0x416bbd(_0x44a05b,_0x5e53dd);},'GesTp':_0x2b800a(0x1b5,0x1d6)},_0xf5c138=await _0x4f86fd[_0x2b800a(_0x3632e2._0x3f5e4b,0x194)](readStateFile);if(!_0xf5c138){const _0x11b0e3=resolve(process[_0x3f4744(0x2ee,_0x3632e2._0x275ecd)](),_0x4f86fd[_0x3f4744(0x20f,_0x3632e2._0x425b68)]);if(!existsSync(_0x11b0e3)){if(_0x4f86fd[_0x2b800a(_0x3632e2._0x41db32,_0x3632e2._0x365502)](_0x2b800a(_0x3632e2._0x400ab6,0x1b2),_0x4f86fd[_0x2b800a(0xe4,_0x3632e2._0x4d6214)])){_0x206e84[_0x3f4744(_0x3632e2._0x5df2a5,_0x3632e2._0x365502)](_0x4f86fd['UQGDy']);return;}else{const _0x462a70={};_0x462a70[_0x2b800a(0x14f,0x109)]=!![],_0x4f86fd[_0x3f4744(_0x3632e2._0x4ca5c4,0x295)](mkdirSync,_0x11b0e3,_0x462a70);}}}const _0x2a26d7=_0xf5c138?.[_0x2b800a(_0x3632e2._0x5592d7,_0x3632e2._0x3289f2)][_0x3f4744(0x29b,_0x3632e2._0x41c410)]??_0x2b800a(_0x3632e2._0x2323f3,_0x3632e2._0x4c3129),_0x39e330=_0xf5c138?Object[_0x2b800a(0xde,0xaf)](_0xf5c138[_0x2b800a(_0x3632e2._0x512f93,0x134)])[0x16c7+-0xb96+-0xb31]??generateAgentId():generateAgentId(),_0x379d19={'agentId':_0x39e330,'parentId':null,'childIds':[],'phase':_0x3f4744(_0x3632e2._0x209bcb,0x208),'currentOperation':_0x11c48c[_0x3f4744(_0x3632e2._0x42ed0e,0x35c)](0x408+-0x26df+0x22d7,0x1*0x112d+0x10+-0x1*0x10d9),'currentSkill':_0x2b800a(_0x3632e2._0x2d1054,0x1d3)},_0x1d6dd5={};_0x1d6dd5[_0x3f4744(0x29b,0x2bb)]=_0x2a26d7,_0x1d6dd5[_0x3f4744(_0x3632e2._0x2ef413,0x371)+'se']=_0x4f86fd[_0x2b800a(_0x3632e2._0x144bcd,_0x3632e2._0x22f02c)];const _0x36b790={};_0x36b790[_0x39e330]=_0x379d19;const _0x28e3a8={};function _0x2b800a(_0x5a93c0,_0x451815){return _0xd1aea8(_0x451815,_0x5a93c0- -0x2a6);}_0x28e3a8['project']=_0x1d6dd5,_0x28e3a8[_0x2b800a(0x1aa,0x1ea)]=_0x36b790;function _0x3f4744(_0xa67a72,_0x424d22){return _0xd1aea8(_0x424d22,_0xa67a72- -0x1bc);}_0x28e3a8[_0x2b800a(0x156,_0x3632e2._0x212961)+_0x2b800a(0x22e,_0x3632e2._0x444049)]=null,await writeStateFile(_0x28e3a8),console[_0x2b800a(_0x3632e2._0x342291,_0x3632e2._0x1d34fd)](_0x3f4744(_0x3632e2._0x4c78ac,_0x3632e2._0x2426d9)),console[_0x2b800a(0x11b,0x87)](_0x2b800a(_0x3632e2._0x21fcaf,0x93)+_0x2a26d7),console['log'](_0x2b800a(_0x3632e2._0x12254e,_0x3632e2._0x457eae)+_0x11c48c),console[_0x2b800a(_0x3632e2._0x342291,0x74)](_0x3f4744(_0x3632e2._0x4dc5d2,0x396)+_0x39e330),console['log'](_0x2b800a(_0x3632e2._0xcd34a7,_0x3632e2._0x23625e)+_0x2b800a(0x11f,0x1af)+_0x2b800a(_0x3632e2._0x47bce5,0x22f));}function findFirstIncompleteAgent(_0x593765){const _0x47c5fc={_0x25daa9:0x526,_0xe0c2ae:0x53d,_0x47a72a:0x4f9,_0x4a6cc6:0x3ad,_0x299105:0x394,_0x6b351b:0x367,_0x1ec3db:0x378,_0x32bebf:0x339,_0xfc3457:0x557,_0x188d1a:0x42b,_0x52914c:0x45c,_0x576ffb:0x3ef,_0x12b85e:0x456,_0x106a0f:0x4b6,_0x567a02:0x431,_0x1e22bc:0x31e,_0x2c8536:0x39f},_0x31a3c9={_0x1abad2:0x10f};function _0x4927fb(_0x2c5073,_0xf074ca){return _0x21fd29(_0x2c5073,_0xf074ca-0x32e);}function _0x536a67(_0x4454fb,_0xc9b4b4){return _0xd1aea8(_0x4454fb,_0xc9b4b4- -_0x31a3c9._0x1abad2);}const _0x204cc1={};_0x204cc1[_0x4927fb(_0x47c5fc._0x25daa9,_0x47c5fc._0xe0c2ae)]=function(_0x9649b2,_0x469321){return _0x9649b2===_0x469321;},_0x204cc1[_0x4927fb(_0x47c5fc._0x47a72a,0x4cc)]=_0x536a67(_0x47c5fc._0x4a6cc6,_0x47c5fc._0x299105),_0x204cc1[_0x536a67(0x2b6,0x271)]=_0x536a67(_0x47c5fc._0x6b351b,_0x47c5fc._0x1ec3db),_0x204cc1['UMuuN']='odXnd';const _0x231cb8=_0x204cc1;for(const [_0x10b9fb,_0x10c879]of _0x593765){const _0x29ac12=_0x10c879[_0x536a67(_0x47c5fc._0x32bebf,0x2d9)+'t'](),_0x47bd62=_0x231cb8[_0x4927fb(_0x47c5fc._0xfc3457,0x53d)](typeof _0x29ac12[_0x4927fb(_0x47c5fc._0x188d1a,_0x47c5fc._0x52914c)],_0x231cb8['OrbDE'])?_0x29ac12[_0x4927fb(_0x47c5fc._0x576ffb,0x45c)]:_0x4927fb(_0x47c5fc._0x12b85e,0x4a7);if(_0x47bd62!==_0x231cb8[_0x4927fb(_0x47c5fc._0x106a0f,_0x47c5fc._0x567a02)]){if(_0x231cb8[_0x536a67(0x231,0x292)]===_0x4927fb(0x4b4,0x442))return _0x10b9fb;else _0x5aa69a['log'](_0x536a67(_0x47c5fc._0x1e22bc,_0x47c5fc._0x2c8536)+_0x30a2dc+'\x20已完成全部阶段'),_0x3f4782();}}return null;}function checkAllComplete(){const _0x581610={_0x1a3719:0x11,_0x2a9a42:0x86,_0x31a570:0x23,_0x102d64:0x68a,_0x420476:0x6a,_0x1267f5:0x64a,_0xc30caa:0x64f,_0x5eb747:0x550,_0xdeab84:0xb4,_0x3d6c96:0x71,_0x4afcc1:0x74,_0x38ea40:0x1e,_0x16157b:0x43,_0x216809:0x1,_0x132e15:0xa3,_0x3a2f54:0x7,_0x33553b:0x5c,_0x4d1685:0x3b,_0xf23889:0x6e,_0x312fc5:0xec,_0x53f974:0x5b1,_0x121ac5:0x46,_0xc2faf7:0x690,_0x147680:0x66a,_0x50933b:0x61a,_0x19c78f:0xde,_0x547276:0x20,_0x2a16bf:0x56,_0x57ca7c:0x82,_0x6ff704:0xf2,_0xa7571d:0x56c,_0x5c1199:0x63a,_0x7e23aa:0x636,_0x4f5d9f:0x663,_0x294c53:0xad,_0x402484:0x14,_0x140bfd:0x3d,_0xdacd56:0x22,_0x5422bd:0xcf,_0x344421:0x47,_0x4f16b0:0x25,_0x9fe865:0x3e,_0x57c6ed:0x7a,_0x590637:0x8,_0x35c0f3:0x5e3,_0xa195d8:0x622},_0xb13402={};_0xb13402[_0x3457ba(0x82,0x118)]=function(_0x43ee51,_0x15ec55){return _0x43ee51===_0x15ec55;},_0xb13402[_0x3457ba(0x6e,0xf6)]=_0x3457ba(-_0x581610._0x1a3719,_0x581610._0x2a9a42),_0xb13402[_0xc1cfc5(0x5fd,0x651)]=function(_0x2030a0,_0x474cc6){return _0x2030a0!==_0x474cc6;},_0xb13402['RtXvb']=function(_0x27ee84,_0x15bd43){return _0x27ee84!==_0x15bd43;},_0xb13402[_0x3457ba(-0x20,-_0x581610._0x31a570)]=_0xc1cfc5(0x714,_0x581610._0x102d64);function _0xc1cfc5(_0x4a55b8,_0xa67cb4){return _0x21fd29(_0x4a55b8,_0xa67cb4-0x43e);}function _0x3457ba(_0x3c03da,_0x5a0be0){return _0xd1aea8(_0x5a0be0,_0x3c03da- -0x407);}_0xb13402[_0x3457ba(-_0x581610._0x420476,-0x6b)]=_0x3457ba(0x28,-0x66),_0xb13402[_0xc1cfc5(_0x581610._0x1267f5,_0x581610._0xc30caa)]=_0xc1cfc5(0x576,_0x581610._0x5eb747)+_0x3457ba(0x1,0xb3),_0xb13402[_0x3457ba(0xcf,_0x581610._0xdeab84)]='ALL_CHILDR'+_0x3457ba(_0x581610._0x3d6c96,_0x581610._0x4afcc1),_0xb13402[_0x3457ba(_0x581610._0x38ea40,-0x6d)]=_0x3457ba(_0x581610._0x16157b,0xad)+_0x3457ba(_0x581610._0x216809,-_0x581610._0x132e15);const _0x5e34e5=_0xb13402;if(!activeEngine)return;for(const [,_0x327b3f]of activeEngine[_0x3457ba(0x3b,_0x581610._0x3a2f54)]){const _0x24dae5=_0x327b3f[_0x3457ba(-0x1f,_0x581610._0x3a2f54)+'t'](),_0x3f6004=typeof _0x24dae5[_0x3457ba(-_0x581610._0x33553b,-0x4)]==='string'?_0x24dae5[_0x3457ba(-0x5c,_0x581610._0x4d1685)]:_0x5e34e5[_0x3457ba(_0x581610._0xf23889,_0x581610._0x312fc5)];if(_0x5e34e5[_0xc1cfc5(0x53c,_0x581610._0x53f974)](_0x3f6004,'completed'))return;}console[_0x3457ba(-_0x581610._0x121ac5,_0x581610._0xf23889)](_0xc1cfc5(0x6da,_0x581610._0xc2faf7)+_0xc1cfc5(0x68a,_0x581610._0x147680));if(activeEngine[_0xc1cfc5(0x6b5,_0x581610._0x50933b)+_0xc1cfc5(0x4f9,0x58a)]){for(const [_0x3f8749]of activeEngine[_0xc1cfc5(0x5f1,0x603)]){if(_0x5e34e5[_0x3457ba(0x82,_0x581610._0x19c78f)](_0x5e34e5[_0x3457ba(-_0x581610._0x547276,-0x67)],_0x5e34e5['gTDDw'])){const _0x220012=_0x546396[_0x3457ba(-0x1f,_0x581610._0x2a16bf)+'t'](),_0x35afb2=_0x5e34e5[_0x3457ba(_0x581610._0x57ca7c,_0x581610._0x6ff704)](typeof _0x220012['value'],'string')?_0x220012[_0xc1cfc5(0x55c,_0x581610._0xa7571d)]:_0x5e34e5[_0xc1cfc5(_0x581610._0x5c1199,_0x581610._0x7e23aa)];if(_0x5e34e5['zGOKR'](_0x35afb2,'completed'))return;}else{const _0x32403a={};_0x32403a[_0xc1cfc5(_0x581610._0x4f5d9f,0x6a1)]=_0x3457ba(_0x581610._0x294c53,0x134);const _0x1e1b53={};_0x1e1b53['type']=_0x5e34e5[_0x3457ba(0x87,-_0x581610._0x402484)],_0x1e1b53[_0xc1cfc5(0x5e3,0x5f5)]=_0x3f8749,_0x1e1b53[_0xc1cfc5(0x685,0x647)]=_0x32403a,activeEngine[_0x3457ba(0x52,0x85)+_0xc1cfc5(0x553,0x58a)][_0xc1cfc5(0x5ae,0x544)](_0x1e1b53);}}const _0x29efa4={};_0x29efa4[_0x3457ba(_0x581610._0x140bfd,_0x581610._0xdacd56)]=_0x5e34e5[_0x3457ba(_0x581610._0x5422bd,_0x581610._0x344421)],activeEngine[_0x3457ba(0x52,-_0x581610._0x4f16b0)+_0x3457ba(-_0x581610._0x9fe865,-_0x581610._0x57c6ed)]['send'](_0x29efa4);const _0xe547ff={};_0xe547ff[_0x3457ba(0x3d,-_0x581610._0x590637)]=_0x5e34e5[_0xc1cfc5(_0x581610._0x35c0f3,0x5e6)],activeEngine[_0xc1cfc5(_0x581610._0xa195d8,0x61a)+'Actor']['send'](_0xe547ff);}}const MAX_RETRIES=0x22*-0xae+0x2d*-0x52+-0x258b*-0x1;async function persistCurrentState(){const _0xa0a93={_0x18721a:0xcf,_0x2bb318:0x85,_0x559acd:0x115,_0x5992b4:0x644,_0x19c8a0:0x603,_0x1e7716:0x5b9,_0x209a1a:0x5c4,_0x190971:0x747,_0x44fae6:0x6a4,_0x54c5fe:0x6d0,_0x5d3b99:0x8c,_0x75fe9a:0xd0,_0x233c75:0x68,_0x285d39:0x1,_0x474899:0x35,_0x3f2599:0x4fe,_0x51a9d3:0x110,_0x544617:0x64,_0x2d3ded:0x700,_0x53f54b:0x88,_0x3b0564:0x11,_0x83cb55:0x1da,_0x818ada:0x61d,_0x116aaa:0x68c,_0x238d5d:0x8c,_0x18b7e6:0x16,_0x37477c:0x702,_0x524e34:0x5e4,_0x5171ba:0x5ce,_0xc89d51:0x680,_0xa0b61a:0x5f2,_0x5ee60a:0x654,_0x17ec87:0x5b6,_0x1499d9:0x60f,_0x1df279:0x632,_0x19957d:0x608,_0xb9dd25:0x68,_0x17f936:0xd3,_0x141b24:0x6b5,_0x563a40:0x6ee,_0x2298cb:0x643,_0x1b2f94:0x9,_0x19fc75:0x82,_0x584704:0x6db,_0x33ab17:0x10e,_0x19025b:0x66e,_0x9a7481:0x6bb,_0x9c635c:0x67a,_0x5dc146:0x65c,_0x4a341e:0x6dd,_0x120899:0x44,_0xcf4ce4:0x11c,_0x10554d:0x1b5,_0x47f3d9:0x554,_0x4d8db4:0x19,_0x3fd0d8:0x7e,_0x5831bc:0x36},_0x237af9={_0x2572fc:0x4a0},_0x47754d={_0x30952f:0x3b8},_0x3e30f0={'gWYyF':function(_0x4acdfd){return _0x4acdfd();},'xuHsX':function(_0x32d174,_0x1e56ee,_0x476779){return _0x32d174(_0x1e56ee,_0x476779);},'ZrCIR':function(_0x506fd1,_0x3c2285){return _0x506fd1<_0x3c2285;},'fBxfE':_0x1d22ba(0x61d,0x5d6)+'ASK','wQZfx':function(_0x47cf1c,_0x5b05ec){return _0x47cf1c+_0x5b05ec;},'HpUzn':function(_0x597342,_0x5865ed,_0x1bb59d){return _0x597342(_0x5865ed,_0x1bb59d);},'xQtCn':_0x1fd4a0(0xdc,0x168),'ZcSUc':_0x1fd4a0(_0xa0a93._0x18721a,_0xa0a93._0x2bb318),'XIgje':'string','hlqGz':'idle','iFmul':function(_0x129269,_0x4f86b4){return _0x129269!==_0x4f86b4;},'YXrtj':function(_0x243d87,_0x292318){return _0x243d87 instanceof _0x292318;},'niSRb':function(_0x222740,_0x2b3f5e){return _0x222740<_0x2b3f5e;},'GmIkI':function(_0x58747f,_0x4a9b6f){return _0x58747f-_0x4a9b6f;}};if(!activeEngine)return;const {projectName:_0x18d11c,actors:_0x233e62}=activeEngine,_0x5b1d0c=await readStateFile(),_0x445d00={};if(_0x5b1d0c)for(const [_0x5927a9,_0x1891b3]of Object[_0x1fd4a0(_0xa0a93._0x559acd,0x130)](_0x5b1d0c['agents'])){!_0x233e62[_0x1d22ba(_0xa0a93._0x5992b4,0x614)](_0x5927a9)&&(_0x445d00[_0x5927a9]=_0x1891b3);}const _0x3b6fda={};let _0x241391=_0x3e30f0[_0x1d22ba(_0xa0a93._0x19c8a0,0x632)];for(const [_0x49014c,_0x34ec56]of _0x233e62){if(_0x1d22ba(_0xa0a93._0x1e7716,0x654)!=='AShzl'){const _0x351198=_0x3e30f0['gWYyF'](_0x85a2f6),_0x3cb276={};_0x3cb276['agentId']=_0x351198;const _0x14e9fb={};_0x14e9fb[_0x1d22ba(_0xa0a93._0x209a1a,0x5aa)]=_0x3cb276,_0x5076b4=_0x3e30f0[_0x1d22ba(_0xa0a93._0x190971,_0xa0a93._0x44fae6)](_0x482908,_0x308b4f,_0x14e9fb),_0x2b915d[_0x1d22ba(_0xa0a93._0x54c5fe,0x690)]();const _0x1cb481={};_0x1cb481[_0x1fd4a0(_0xa0a93._0x5d3b99,_0xa0a93._0x75fe9a)]='START_PHAS'+'E',_0x1cb481[_0x1fd4a0(_0xa0a93._0x233c75,_0xa0a93._0x285d39)]=_0x187dc8[-0x1ad8+0x1455+-0x1*-0x683],_0x2e6d63[_0x1fd4a0(-_0xa0a93._0x474899,-0x6)](_0x1cb481),_0x2dc75c['log']('['+_0x351198+(_0x1d22ba(0x739,0x69c)+_0x1d22ba(0x580,0x5d8)));for(let _0x3d8933=0x5*-0x5d1+0x2104+-0x3ef;_0x3e30f0['ZrCIR'](_0x3d8933,_0x41336c);_0x3d8933++){const _0x4e1b30=_0x4fed13();_0x39da60[_0x1d22ba(_0xa0a93._0x3f2599,0x5a6)]({'type':_0x3e30f0[_0x1fd4a0(_0xa0a93._0x51a9d3,_0xa0a93._0x544617)],'childId':_0x4e1b30,'task':_0x1d22ba(0x76a,_0xa0a93._0x2d3ded)+_0x3e30f0[_0x1fd4a0(_0xa0a93._0x53f54b,-_0xa0a93._0x3b0564)](_0x3d8933,0x29*-0xc9+-0x26a0+0x46d2)});const _0x3d3e5d={};_0x3d3e5d['agentId']=_0x4e1b30,_0x3d3e5d[_0x1fd4a0(0x12d,_0xa0a93._0x83cb55)]=_0x351198,_0x3d3e5d[_0x1d22ba(0x5ab,0x64b)]=_0x191aa2;const _0x464045={};_0x464045[_0x1d22ba(_0xa0a93._0x818ada,0x5aa)]=_0x3d3e5d;const _0x70018c=_0x3e30f0['HpUzn'](_0x1bed5b,_0x192306,_0x464045);_0x70018c[_0x1d22ba(_0xa0a93._0x116aaa,0x690)]();const _0xd2a9d6={};_0xd2a9d6[_0x1fd4a0(_0xa0a93._0x238d5d,-_0xa0a93._0x18b7e6)]=_0x3e30f0['xQtCn'],_0x70018c[_0x1d22ba(0x5c3,0x5a6)](_0xd2a9d6),_0x5f2e5e[_0x1fd4a0(0x4f,-0x3)](_0x4e1b30,_0x70018c),_0x27c9bc['log']('['+_0x351198+(_0x1d22ba(_0xa0a93._0x37477c,0x655)+'t:\x20')+_0x4e1b30);}}else{const _0x553752=_0x34ec56['getSnapsho'+'t'](),_0x1235da=typeof _0x553752['value']===_0x3e30f0['XIgje']?_0x553752[_0x1d22ba(_0xa0a93._0x524e34,_0xa0a93._0x5171ba)]:_0x3e30f0[_0x1fd4a0(0x1d,0x43)];_0x3b6fda[_0x49014c]={'agentId':_0x49014c,'parentId':_0x553752['context']?.['parentId']??null,'childIds':_0x553752[_0x1d22ba(_0xa0a93._0xc89d51,0x6c9)]?.[_0x1d22ba(0x5ef,_0xa0a93._0xa0b61a)]??[],'phase':_0x1235da,'currentOperation':_0x553752['context']?.[_0x1fd4a0(0x1f,0x64)+_0x1d22ba(_0xa0a93._0x5ee60a,_0xa0a93._0x17ec87)]??'','currentSkill':_0x553752[_0x1fd4a0(0xee,0xb2)]?.['currentSki'+'ll']??''},_0x3e30f0[_0x1d22ba(0x666,_0xa0a93._0x1499d9)](_0x1235da,_0x3e30f0[_0x1d22ba(0x63d,_0xa0a93._0x1df279)])&&(_0x241391=_0x1235da);}}const _0x22ff81={..._0x445d00,..._0x3b6fda},_0x404e32=_0x22ff81;for(const [,_0x2c50bf]of Object[_0x1fd4a0(_0xa0a93._0x559acd,0x126)](_0x445d00)){if(_0x1d22ba(0x617,_0xa0a93._0x19957d)==='dgpJy')_0x2c50bf[_0x1fd4a0(_0xa0a93._0xb9dd25,_0xa0a93._0x17f936)]!==_0x1d22ba(_0xa0a93._0x141b24,0x6aa)&&(_0x241391=_0x2c50bf[_0x1d22ba(_0xa0a93._0x563a40,_0xa0a93._0x2298cb)]);else{_0x51b471[_0x1fd4a0(_0xa0a93._0x1b2f94,-_0xa0a93._0x19fc75)](_0x1fd4a0(0x2c,-0x79)+_0x20f4c5+(_0x1d22ba(_0xa0a93._0x584704,0x645)+_0x1fd4a0(0xe2,_0xa0a93._0x33ab17)));return;}}function _0x1fd4a0(_0x3d7108,_0x42be98){return _0xd1aea8(_0x42be98,_0x3d7108- -_0x47754d._0x30952f);}function _0x1d22ba(_0x438a55,_0x5be747){return _0x21fd29(_0x438a55,_0x5be747-_0x237af9._0x2572fc);}for(let _0xe2353e=0x1*0x1482+-0x7da+-0xca8;_0xe2353e<MAX_RETRIES;_0xe2353e++){try{const _0x5aa4d4=new StateFileManager(STATE_FILE_PATH);await _0x5aa4d4[_0x1d22ba(_0xa0a93._0x19025b,0x6f6)]();const _0x110317={};_0x110317[_0x1d22ba(_0xa0a93._0x9a7481,_0xa0a93._0x9c635c)]=_0x18d11c,_0x110317[_0x1d22ba(0x66a,0x6d9)+'se']=_0x241391;const _0x501158={};_0x501158[_0x1d22ba(_0xa0a93._0x5dc146,_0xa0a93._0x4a341e)]=_0x110317,_0x501158[_0x1fd4a0(0x98,0x3d)]=_0x404e32,_0x501158[_0x1fd4a0(_0xa0a93._0x120899,0xd6)+_0x1fd4a0(_0xa0a93._0xcf4ce4,_0xa0a93._0x10554d)]=null,await _0x5aa4d4[_0x1d22ba(_0xa0a93._0x47f3d9,0x5e3)](_0x501158);return;}catch(_0x447501){if(_0x3e30f0[_0x1fd4a0(_0xa0a93._0x4d8db4,_0xa0a93._0x3fd0d8)](_0x447501,Error)&&_0x447501['message'][_0x1fd4a0(0xe4,0xc4)](_0x1d22ba(0x653,0x6e3))&&_0x3e30f0[_0x1fd4a0(_0xa0a93._0x5831bc,-0x13)](_0xe2353e,_0x3e30f0['GmIkI'](MAX_RETRIES,0x6*0x48d+0x81*0x37+-0x3704))){await new Promise(_0x5b3265=>setTimeout(_0x5b3265,0x9*-0x83+-0x76*-0x4c+0x6d*-0x47+Math[_0x1d22ba(0x6b2,0x65d)]()*(-0x2*0x8a8+0xad*0x3+0xfad)));continue;}throw _0x447501;}}}