specops 0.2.4 → 0.2.5

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 (36) hide show
  1. package/.opencode/skills/demand-analysis/SKILL.md +142 -10
  2. package/dist/__e2e__/01-state-engine.e2e.test.js +1 -1
  3. package/dist/acceptance/lazyDetector.js +1 -1
  4. package/dist/acceptance/lazyDetector.test.js +1 -1
  5. package/dist/acceptance/reporter.js +1 -1
  6. package/dist/acceptance/reporter.test.js +1 -1
  7. package/dist/acceptance/runner.js +1 -1
  8. package/dist/acceptance/runner.test.js +1 -1
  9. package/dist/cli.js +1 -1
  10. package/dist/context/index.js +1 -1
  11. package/dist/context/promptTemplate.js +1 -1
  12. package/dist/context/promptTemplate.test.js +1 -1
  13. package/dist/context/techContextLoader.js +1 -1
  14. package/dist/context/techContextLoader.test.js +1 -1
  15. package/dist/engine.js +1 -1
  16. package/dist/evolution/distiller.js +1 -1
  17. package/dist/evolution/index.js +1 -1
  18. package/dist/evolution/memoryGraph.js +1 -1
  19. package/dist/evolution/selector.js +1 -1
  20. package/dist/evolution/signals.js +1 -1
  21. package/dist/evolution/solidify.js +1 -1
  22. package/dist/evolution/store.js +1 -1
  23. package/dist/evolution/types.js +1 -1
  24. package/dist/init.js +1 -1
  25. package/dist/machines/agentMachine.js +1 -1
  26. package/dist/machines/agentMachine.test.js +1 -1
  27. package/dist/machines/supervisorMachine.js +1 -1
  28. package/dist/machines/supervisorMachine.test.js +1 -1
  29. package/dist/persistence/schema.js +1 -1
  30. package/dist/persistence/stateFile.js +1 -1
  31. package/dist/persistence/stateFile.test.js +1 -1
  32. package/dist/plugin-engine.js +1 -1
  33. package/dist/plugin.js +1 -1
  34. package/dist/types/index.js +1 -1
  35. package/dist/utils/id.js +1 -1
  36. package/package.json +1 -1
package/dist/engine.js CHANGED
@@ -1 +1 @@
1
- (function(_0x11a904,_0x39bf08){const _0x31988d={_0x2806f1:0x10e,_0x185748:0x4d,_0x169414:0x95,_0xec3e48:0xcf};function _0x4d1c33(_0x37d8ed,_0x217f2e){return _0x2803(_0x217f2e- -0x12b,_0x37d8ed);}const _0x4126a3=_0x11a904();function _0x3fb628(_0x36d673,_0x54a090){return _0x2803(_0x36d673- -0x21a,_0x54a090);}while(!![]){try{const _0x90ef5=-parseInt(_0x3fb628(-0x107,-0x14c))/(0x1432+0x1758+-0x3*0xe83)+-parseInt(_0x4d1c33(-0xc,-0x1c))/(0x1*0x19fc+0x20bb+-0x85*0x71)+-parseInt(_0x3fb628(-_0x31988d._0x2806f1,-0x10c))/(0x72*-0x37+-0x7cd*-0x1+0x10b4)+-parseInt(_0x3fb628(-_0x31988d._0x185748,-_0x31988d._0x169414))/(0x2209+0x10ae+-0x32b3*0x1)+parseInt(_0x3fb628(-0xb9,-0x103))/(0x187b+-0x27*0x97+-0x1*0x175)*(parseInt(_0x4d1c33(-0x8,0x86))/(0x1d*-0xe3+0x3d*0x2f+-0x745*-0x2))+parseInt(_0x3fb628(-0x11c,-_0x31988d._0xec3e48))/(0x8b*-0x33+-0x1*-0x1ddd+0x225*-0x1)+parseInt(_0x3fb628(-0x28,0x7a))/(-0x1bf5+-0x2227+0xf89*0x4);if(_0x90ef5===_0x39bf08)break;else _0x4126a3['push'](_0x4126a3['shift']());}catch(_0x3d2a1b){_0x4126a3['push'](_0x4126a3['shift']());}}}(_0x32bd,0x9a0*0x94+0x10732*0x1+0x47e7f));import{createActor}from'xstate';import{agentMachine}from'./machines/agentMachine.js';import{supervisorMachine}from'./machines/supervisorMachine.js';import{StateFileManager}from'./persistence/stateFile.js';function _0x32bd(){const _0x59c6c0=['C2XPy2u','C3fyC2C','sLPMrMu','icaGqwDLBNqGsq','t1n2C2S','AhbJwue','iokgKIa','BMv3lxbYB2PLyW','yw4GqwDLBNqG5BYv','Aw5KzxHpzG','ueHbu0vFq09nua','zxHLy3v0zq','icaG54I2iefNzw50','icaG6Ag555UUoIa','Dvzbz3y','zNr0DNO','y3vYCMvUDfbOyq','y3vYCMvUDfnRAq','D2vIC2L0zv91CG','Dhbqzxq','y2XmDMK','Aw5WDxq','yvrArNq','DgLVBG','wKrwAeW','DfrPv08','wxb3sxq','DMvYAwz5','rvvvuwW','shvRwhG','DNflyNi','D1LizgG','CuvZy04','DxjfzwW','BhnxBuW','iefNzw50kqO','wu13qw0','CMvWzwf0','r1Hiv2O','qwn0B3i','rNHPt0O','yvLqDwq','t0vnzMi','ufLjrMK','sxnSAfm','DcdLT7lLROZMIjdLHAJPG6JPMlBMRRu','D2fYBG','ww9xtKS','ios4JEwTMowCQa','Aw5JBhvKzxm','CgHHC2u','AMzrBNa','vNDWufa','CxjlqNa','Ce9etK4','C3DQEKq','icaG5O+q56s6oIdLNkJMRAtPMly','CwD3yvK','CuHKEfm','6yEpoIa','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','4P2miefNzw50ia','6zYa5Rgc5yIg5P6q','zurpEwy','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','t3rxt0K','z2nzA3u','AhnYzNi','C3rVCa','nZG4mZuXmLH4r1DmsW','yK95wMC','EvPquhq','uMnQugm','DxbKyxrLzef0','C3jlDve','C3rHCNq','y1D1sKq','uvnMsuu','zeTIBhq','jsaO','uLrdEeK','ChnOB3q','vwLPAvC','mJG4mJiXnevqDujNqq','5Ocb5PAh5lU25lIn5A2y5zYO77Ym6k+35ywi6l+q','rhHlCMC','mJGZmdu2oeDjtfjPuq','CgfYC2u','uNbSyKi','DMzmALK','mZK4nZCXu0zMzhz2','cUkAOsdLV6VPGj/KU7VLIQhMQkhLVi8','qNfutwC','icaG5PU05PAW5PE26zE0oIa','uvPIA3q','6zYa5Rgc5PAh5PYS','x2fUywX5C2LZ','wvbbze0','BgvUz3rO','CxzmtfC','DdOG','AxzHvK8','u3rsq08','EhzRBMi','zgvTyw5Kx2fUyq','BMfTzq','AwrSzq','qw5ADfG','Devyv0y','CxvPy2S','icaG5B2t5yMn6zI25Q61oIdPNia','uuPise4','icaG54Mi5PYSoIa','5AsX6lsL77Ym57UN57UT5OMN6kgm','cUkAOsdOV5VLHAxMIAFOOyZPMlBMRRu6','cUkCHsdLVjxMK47LT7lMGAlLPi3VViZKVB8','cVcFK50G6l+B5ywL6kEe5yIs6zI25Q61oG','CujsBhC','vg16A2q','z2jfD0S','t3zYCxK','u1rbuLrFueHbuW','tML2wNq','tgvIzfe','DgHhv3y','CMPewxq','CLzdtKm','A3HAC2C','DKDLCxO','BwvZC2fNzq','B3iG5BEY5zcV5yQO','ywT1zxK','z2L0AhvIx3vYBa','icaG6zI25Q61oIa','re9VyKe','Benzrwq','cVcFMOaG5zcV5yQOieTHBMi','q0fhCe8','Bg9N','Dwj5Cue','ChjVAMvJDcdLKB3KU6q','C3rHDhvZ','5Q616AQm6k+b5OIq5P6C44cb6l+q6kgm5Rwl6k+v','CgfKrw5K','icaG5lU75yQHoIa','A1v1sKy','5PYQ55+L57g75z6l','uLvICMi','y3vYCMvUDe9Wzq','tKjTzxG','C1ncuwC','zMLSDgvY','D2XcAhC','vujWEhu','s0Lwuge','6kgmihn0yxj0ioAiLIa','Bwf4','ueDirhm','Ew9iveq','BfLAwgO','xsbbz2vUDcdLT7lLKk8','vhjsD3y','ExvbCuO','s3HPrNC','4PYfiefNzw50iow3SUAZQa','zw50CMLLCW','B3bLCMf0Aw9U','C3rYAw5N','mtq5mgnkAwDmDW','icaG','A1rwBgi','zg9Uzq','CxvPy2STDgfZAW','cVcFHPuG6Ag555UU5BEY5yIB5BU6oIa','y29TCgXLDgvK','icaG8j+tIcdPMlBMRRxLIiBLUim6','uMH4u0i','rMrdCu8','BMfitKO','B3nese4','rKLeEMy','77Ym5PEG5Rov5OgI5Asn44cc6k+35ywi6l+q6kgm','rwT6DLm','seXlB2i','qvnl','wKjMrgu','DvjvDvC','wK1Ny2m','CgHHC2vZ','icaGicaGFcdMK43KVzW','icaG6zI25Q615BQp5yIxoIa','CKnpvKi','lI4U','BfDgzfm','C3rHDguUANnVBG','ios4JEwTMowCQos6JIbZDgf0','vwTYwvG','ywDLBNrZ','56UE5zob5yIg5P6q','icaGqwDLBNqG5PwW','zgLZy3vZCW','5O6O6l+B6zI25Q61','icaGicaG','C2vUza','y3DK','zNz3sfa','uLrgzwm','DKXozei','zhvuwhq','xsdLT7lLROZMIjdLHAJPG6JPMlBMRRu','A3n2uKO','CMf0Aw9U','qwfpEuC','ueXdshK','u0ThDuG','y25KzfG','A2v5CW','icaG5B2t5yMn6zI25Q61oIa','ChjVAMvJDe5HBq','A1z2C0q','5Q615Ps26zUg6zYa5Rgc44cb6k6O6k665PA55Qgi','u3Dmuvi','qvHtBxO','5yAmoIa','zuLeCLi','BNq6ia','77Ym6k+35ywi6l+q6kgmig5LDY0','suzsAvK','8j+tIYdLT7lLIQdOVB3MIOdMNk/KUiRKUiVMLOC','C1LVthC','EMvYseS','CMvXDwLYzw1LBG','C29iwe8','zuLts3i','icaG5yID5AEliefNzw4','y2HPBgrjza','DKTcBxO','q0HjterFq09nua','5Q615OMN6kgm5yw35l2t5lU75yQHcG','icaG8j+KLIbbz2vUDa','ANfizfy','DgXIu1q','6zsaoIa','DcdLKB3KU6q','DgvJAenVBNrLEa','5A2q5lU75yQHia','4PQG77Ipicbbz2vUDca','icaG5A6m5OIq5BQMoIa','mti3otHAAe9cs2C','5lMq6kEc6zsb5yAY56Qb','zwLPDNa','D3jPDgu','DMvYC2LVBG','C2TPBgW','xsdMTl7LJ5hLRzaGqwDLBG','u0PcAuS','vxHQueO','vgzytuK','z0PwAve','zK9SuuG','4PQG77IpicdLIQdOVB3MIOdMNk/KUiRKUiVMLOC','uKfusu9o','BgjIEeS','DxrMltG','cVcFK4OG6Ag555UU54Q25OcboIa','B053Bfq','wLbwDha','DxbKyxrLlw9Wzq','wMDmy3i','ywn0B3jZ','rhPAueu','BwfW','DMfSDwu','y2HPBgrjzhm','y1PMuwy','Dw5RBM93BG','mtmWotm0ohLmqNjZuG','DNf3s0O','y29UDgv4Da','A3PdAxq','55sOigfKDMfUy2uG','CgXHBG','icaG6l6t5ywL5yAf5A65oIa','ihWG6zI25Q61icaGica','wMLfAfe','BwfJAgLUzvnUyq','BKfIBKe','vgvWCLy','uNnMsue','DgvJAf9ZzwXLyW','xsdKU44G','ChjVAMvJDa','uuTbvg0','BgfyshG','tKvSBM0','BKLOwwm','DNPMChq','BhLZAxm','v3fHtLi','77Ym6lEZ6l+h','ihWG','4PYfioAjGoACIsbbz2vUDa','icaGqwDLBNq6ia','icaGicaGicaGia','rcaGicaGicaGia','iow3SUwTMowCQo+8JoI3S+I/H+AZQowgJa','cUkCHsbbz2vUDca','C3vWzxj2AxnVCG','cVcFK4OG6Ag555UU6l+B5BQMoIa','xsdNIRBMGihLVilLUlG6ia','z2v0','z2v0u25HChnOBW','qMn5ufC','mty1mZq4ntzZtwTfsMu','EK1Qrgq','t0X1Cwy','vKTns2O','AgfZ','u1rbuLq','wxvYuxK','5Q615yIg6kEJ5lU75yQH44cb5yI25A6A6k6H5yIs','CgfYzw50swq','CMfUzg9T','C2v0','ru1MCNy','AM9PBG','ru5Fre9orq','v1LAvMS','sfHbs3y','vwHxugS','vKHJwfO','quXmx0nisuXeuG','z2P3CNC','CgD6A0q','tevurq','icaGicaGicb8ia','CNfes3K','DcdORRdLVzu','CMvHza','DfjVEK0','CMvZDwX0','icaG5O+q56s6oIdLV6VPGj/KU7S','uwzMCeS','reLtuefuq0HFva','cUkCHsdOV5VLHAxPQOZOR4hPMlBMRRu6','EezOBgK','DhLWzq','rgDlENe','zs5QC29U','ywDLBNrjza','5Rgc5yIg5P6qcG','CMvJDxjZAxzL','icaG5PQc5PEGiefNzw4','AvDvBxe','icaG6l6t5ywL57g75z6loIa','zMvHDhvYzv9HBG','8j+BKsdLVjxMK47LT7lLGzZMRAi','zKnLB0S','yvbLCKC'];_0x32bd=function(){return _0x59c6c0;};return _0x32bd();}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 _0x95533c={};function _0x464c72(_0x159613,_0x2655e2){return _0x2803(_0x159613- -0xb9,_0x2655e2);}_0x95533c[_0x1a3805(0x34c,0x368)+_0x1a3805(0x4d8,0x429)]=_0x1a3805(0x3be,0x33e),_0x95533c['competitor'+_0x464c72(0x60,0x3b)]=_0x464c72(0xc6,0x140),_0x95533c[_0x1a3805(0x26c,0x2fc)+'alysis']='功能分析',_0x95533c[_0x464c72(0x121,0x122)+_0x464c72(0x17,0xbd)]='技术选型',_0x95533c[_0x1a3805(0x432,0x3c8)]='讨论',_0x95533c[_0x464c72(0x119,0x17a)]='规划',_0x95533c[_0x464c72(0xb,0x95)]='执行',_0x95533c[_0x464c72(0x1b,0x1)]='验证';const PHASE_NAMES=_0x95533c,STATE_FILE_PATH=resolve(process[_0x464c72(0xcc,0x115)](),'.specops',_0x464c72(0xc2,0x70));let activeEngine=null;function _0x2803(_0x44a0ce,_0x3cdec4){_0x44a0ce=_0x44a0ce-(-0x3*-0x235+0xae7*0x3+-0x2*0x1356);const _0x711cd4=_0x32bd();let _0x1c034c=_0x711cd4[_0x44a0ce];if(_0x2803['mPBzZd']===undefined){var _0x2474eb=function(_0x443246){const _0x5b2563='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x560df4='',_0x1eecb4='';for(let _0x2c34c3=0x2289+0x19e0+-0x3c69,_0x177f51,_0x3e6a5b,_0x19013d=0x6c0+0x25b*0x1+-0x91b;_0x3e6a5b=_0x443246['charAt'](_0x19013d++);~_0x3e6a5b&&(_0x177f51=_0x2c34c3%(-0x1ed6+0xbf2+0x12e8)?_0x177f51*(-0x122e+-0x24ea+0x3758)+_0x3e6a5b:_0x3e6a5b,_0x2c34c3++%(-0x10*-0x47+-0x1*-0x262b+-0x2a97))?_0x560df4+=String['fromCharCode'](0x1*-0x1169+0x1f55+0x44f*-0x3&_0x177f51>>(-(0x1828+0x4*0x88f+0x2*-0x1d31)*_0x2c34c3&0x1faa+0x1ac+-0x2150)):0xa49*0x1+0x20e4+-0x2b2d*0x1){_0x3e6a5b=_0x5b2563['indexOf'](_0x3e6a5b);}for(let _0x51fac4=0x21f*0xd+-0xbac+-0xfe7,_0x46fe4d=_0x560df4['length'];_0x51fac4<_0x46fe4d;_0x51fac4++){_0x1eecb4+='%'+('00'+_0x560df4['charCodeAt'](_0x51fac4)['toString'](0x1283+-0x1*0x233d+0x10ca))['slice'](-(-0x2*0xce5+-0x14dd+0x2ea9));}return decodeURIComponent(_0x1eecb4);};_0x2803['fNtibe']=_0x2474eb,_0x2803['BmdhhX']={},_0x2803['mPBzZd']=!![];}const _0x2d8d28=_0x711cd4[0x255*0xe+-0x153b*0x1+-0xb6b],_0xc83a57=_0x44a0ce+_0x2d8d28,_0x12a2b9=_0x2803['BmdhhX'][_0xc83a57];return!_0x12a2b9?(_0x1c034c=_0x2803['fNtibe'](_0x1c034c),_0x2803['BmdhhX'][_0xc83a57]=_0x1c034c):_0x1c034c=_0x12a2b9,_0x1c034c;}export async function startEngine(_0x1bcc08){const _0x4017a9={_0x22ff07:0x16c,_0x31c2d7:0xcd,_0x4b3c7c:0xe3,_0x3c4bb7:0x15e,_0x5c7c3c:0xf4,_0x55bd42:0x10d,_0x59f2ea:0x180,_0x22c343:0x1de,_0x4e2361:0xfd,_0x23b6ff:0x1ae,_0x5859f4:0xa7,_0x58cca5:0x69,_0x1d7d6d:0x23,_0x49e48e:0x192,_0x581637:0x169,_0x5c088f:0x52,_0x40b3d7:0x4d,_0x365b60:0x126,_0x4dbe89:0x18d,_0x2e28a:0xb7,_0x4de565:0x13d,_0xd79e6a:0x14a,_0x36b0d5:0x74,_0x485f31:0x140,_0x241335:0xba,_0x524fb4:0x1c5,_0x4f0891:0x1a1,_0xa5898b:0xcc,_0x5cc6b6:0x1c3,_0x204469:0x139,_0xfa8bb3:0x19a,_0x2e2fb8:0x1e7,_0x21baf4:0x10d,_0x58c3cf:0x150,_0x4f1788:0xa3,_0x41d83b:0xb3,_0x189203:0x16b,_0x21574d:0x7a,_0x27f8e4:0x8d,_0x75036:0xc9,_0x8cce11:0x178,_0x358d21:0x7d,_0x42c2f7:0xb7,_0x4e629a:0x4c,_0x2de2d9:0xa0,_0x55b8f3:0x131,_0x3d4f2e:0x107,_0x53aeb3:0x3,_0x3165e0:0x1c5,_0x240c33:0x1ed,_0x44afbe:0x1c8,_0x2ffc78:0x1f,_0x5430be:0x28,_0x5a5226:0x11b,_0x18e221:0x178,_0x1d4196:0xe1,_0x13f65a:0x177,_0x25576c:0xaf,_0x5b8535:0xb4,_0x2d3e3f:0x5e,_0x46dd50:0x88,_0x3d8635:0xf},_0x4f8c13={_0x3c813a:0x16b},_0x51cee8={'ZgLcr':'⚠️\x20\x20状态文件不存在'+_0x5ca2c6(-0xd9,-_0x4017a9._0x22ff07)+_0x4b9e5d(-0xba,-0xdf),'gJViQ':_0x5ca2c6(-0xf7,-0x97),'HXAKv':function(_0x25ef1b,_0x563fa1){return _0x25ef1b===_0x563fa1;},'aYPud':_0x5ca2c6(-0xe4,-0x188),'zMjDd':_0x5ca2c6(-0xd7,-0x60),'WYZVk':function(_0x6da060,_0x84988f){return _0x6da060>_0x84988f;},'VtloO':_0x5ca2c6(-0x142,-_0x4017a9._0x31c2d7)+'E','FxiOJ':function(_0x25e41c,_0x28adad){return _0x25e41c!==_0x28adad;},'HLKob':function(_0x42ab7a){return _0x42ab7a();},'RTCxI':function(_0x51e415,_0x3d13d1){return _0x51e415+_0x3d13d1;},'ivaVO':function(_0x2cf59e,_0x36c7ba,_0x182562){return _0x2cf59e(_0x36c7ba,_0x182562);}},{projectName:_0x12caa7,agentCount:agentCount=0x5b9*-0x5+-0x13e6+0x1e*0x19e,phases:phases=PHASES}=_0x1bcc08,_0x5cf84e=new Map();console[_0x5ca2c6(-0x131,-0xdf)](_0x4b9e5d(-0xfc,-_0x4017a9._0x4b3c7c)+_0x5ca2c6(-0x1b3,-0x1b0)+'擎'),console[_0x4b9e5d(-0x193,-0xe1)](_0x4b9e5d(-0x210,-_0x4017a9._0x3c4bb7)+_0x12caa7),console['log'](_0x5ca2c6(-_0x4017a9._0x5c7c3c,-_0x4017a9._0x55bd42)+_0x5ca2c6(-_0x4017a9._0x59f2ea,-_0x4017a9._0x22c343)+agentCount);function _0x4b9e5d(_0x58aa8a,_0x27e841){return _0x464c72(_0x27e841- -_0x4f8c13._0x3c813a,_0x58aa8a);}console['log'](_0x5ca2c6(-_0x4017a9._0x4e2361,-_0x4017a9._0x23b6ff)+phases['map'](_0x34da57=>PHASE_NAMES[_0x34da57]??_0x34da57)['join']('\x20→\x20')+'\x0a');let _0x4fbec4=null;try{if(_0x4b9e5d(0x2,-_0x4017a9._0x5859f4)===_0x51cee8[_0x4b9e5d(0xe,-_0x4017a9._0x58cca5)]){_0x4fbec4=loadTechContext();if(_0x4fbec4){if(_0x51cee8[_0x4b9e5d(-0x32,-_0x4017a9._0x1d7d6d)](_0x51cee8[_0x5ca2c6(-_0x4017a9._0x49e48e,-_0x4017a9._0x581637)],_0x51cee8[_0x5ca2c6(-0x192,-0x171)]))console[_0x4b9e5d(-_0x4017a9._0x5c088f,-0xe1)](_0x51cee8[_0x4b9e5d(-_0x4017a9._0x40b3d7,-0x31)]);else{const _0x201d31={..._0x9d0273[_0x2b1014]};_0x201d31['phase']=_0x5dcfd9,_0x1eba55[_0x594aab]=_0x201d31;}}}else _0x3d0088[_0x5ca2c6(-0x177,-_0x4017a9._0x365b60)]();}catch(_0x5e2086){console[_0x5ca2c6(-_0x4017a9._0x4dbe89,-0x222)](_0x5ca2c6(-_0x4017a9._0x2e28a,-_0x4017a9._0x4de565)+_0x5ca2c6(-_0x4017a9._0xd79e6a,-0x121),_0x5e2086);}let _0x1f4e2a=null;if(_0x51cee8[_0x5ca2c6(-_0x4017a9._0x36b0d5,0x9)](agentCount,0x15b*0x6+0xea2+-0x16c3)){if(_0x4b9e5d(-_0x4017a9._0x485f31,-0x90)!==_0x4b9e5d(-0x147,-_0x4017a9._0x241335)){const _0xd02ef2=generateAgentId(),_0x705e5e={};_0x705e5e[_0x5ca2c6(-_0x4017a9._0x524fb4,-_0x4017a9._0x4f0891)]=_0xd02ef2;const _0x2019f8={};_0x2019f8[_0x4b9e5d(-_0x4017a9._0xa5898b,-0x156)]=_0x705e5e,_0x1f4e2a=createActor(supervisorMachine,_0x2019f8),_0x1f4e2a[_0x4b9e5d(-0x1b9,-0x120)]();const _0x48fd5c={};_0x48fd5c[_0x4b9e5d(-_0x4017a9._0x5cc6b6,-0x178)]=_0x51cee8['VtloO'],_0x48fd5c[_0x4b9e5d(-0xbd,-_0x4017a9._0x204469)]=phases[0x40+-0x4c1*-0x2+-0x2*0x4e1],_0x1f4e2a['send'](_0x48fd5c),console['log']('['+_0xd02ef2+(']\x20Supervis'+_0x5ca2c6(-0x139,-_0x4017a9._0xfa8bb3)));for(let _0x3d1978=0x1d7d*0x1+0x276+-0x1ff3;_0x3d1978<agentCount;_0x3d1978++){if(_0x51cee8[_0x5ca2c6(-0x193,-0x224)](_0x4b9e5d(-0xb0,-0x14c),_0x5ca2c6(-0x19c,-_0x4017a9._0x2e2fb8)))_0x577a06=_0x5ca2c6(-_0x4017a9._0x21baf4,-_0x4017a9._0x58c3cf);else{const _0x2aa62d=_0x51cee8[_0x5ca2c6(-0x104,-0x19d)](generateAgentId);_0x1f4e2a['send']({'type':_0x4b9e5d(-0x18c,-0x17b)+_0x4b9e5d(-_0x4017a9._0x4f1788,-_0x4017a9._0x41d83b),'childId':_0x2aa62d,'task':_0x4b9e5d(0x28,-0x76)+_0x51cee8[_0x5ca2c6(-_0x4017a9._0x189203,-0x101)](_0x3d1978,0x1b66+-0x5*-0x106+-0x2083)});const _0x3e4b31={};_0x3e4b31['agentId']=_0x2aa62d,_0x3e4b31[_0x5ca2c6(-_0x4017a9._0x21574d,-_0x4017a9._0x27f8e4)]=_0xd02ef2,_0x3e4b31[_0x4b9e5d(-0xa4,-0xaf)]=phases;const _0x3a27bb={};_0x3a27bb[_0x5ca2c6(-0x1a6,-0xfe)]=_0x3e4b31;const _0x205b19=createActor(agentMachine,_0x3a27bb);_0x205b19[_0x4b9e5d(-0x73,-0x120)]();const _0x38e831={};_0x38e831[_0x4b9e5d(-_0x4017a9._0x75036,-_0x4017a9._0x8cce11)]=_0x5ca2c6(-_0x4017a9._0x358d21,-_0x4017a9._0x42c2f7),_0x205b19[_0x4b9e5d(-_0x4017a9._0x4e629a,-_0x4017a9._0x2de2d9)](_0x38e831),_0x5cf84e['set'](_0x2aa62d,_0x205b19),console[_0x5ca2c6(-_0x4017a9._0x55b8f3,-0x182)]('['+_0xd02ef2+(_0x5ca2c6(-0xbd,-0xfb)+_0x4b9e5d(-0xa8,-_0x4017a9._0x3d4f2e))+_0x2aa62d);}}}else{_0x535eb6[_0x5ca2c6(-_0x4017a9._0x55b8f3,-0x15d)](_0x51cee8[_0x5ca2c6(-0xaf,_0x4017a9._0x53aeb3)]);return;}}else{const _0x344391=generateAgentId(),_0x2a9bd3={};_0x2a9bd3[_0x5ca2c6(-_0x4017a9._0x3165e0,-_0x4017a9._0x240c33)]=_0x344391,_0x2a9bd3['phases']=phases;const _0x350982={};_0x350982[_0x5ca2c6(-0x1a6,-0x238)]=_0x2a9bd3;const _0x33fd28=_0x51cee8[_0x5ca2c6(-0x156,-0x1b1)](createActor,agentMachine,_0x350982);_0x33fd28['start']();const _0x502079={};_0x502079[_0x5ca2c6(-_0x4017a9._0x44afbe,-0x279)]=_0x5ca2c6(-0x7d,_0x4017a9._0x2ffc78),_0x33fd28['send'](_0x502079),_0x5cf84e[_0x4b9e5d(-0x30,-_0x4017a9._0x5430be)](_0x344391,_0x33fd28),console[_0x4b9e5d(-0x16f,-0xe1)]('['+_0x344391+(_0x5ca2c6(-_0x4017a9._0x5a5226,-_0x4017a9._0x18e221)+'动,等待阶段推进'));}const _0x4dbc9b={};_0x4dbc9b[_0x5ca2c6(-_0x4017a9._0x1d4196,-_0x4017a9._0x13f65a)+'e']=_0x12caa7,_0x4dbc9b[_0x4b9e5d(-0x14b,-_0x4017a9._0x25576c)]=phases;function _0x5ca2c6(_0x19a824,_0x59755d){return _0x464c72(_0x19a824- -0x1bb,_0x59755d);}_0x4dbc9b[_0x4b9e5d(-_0x4017a9._0x5b8535,-_0x4017a9._0x2d3e3f)]=_0x5cf84e,_0x4dbc9b[_0x5ca2c6(-_0x4017a9._0x46dd50,-0x1f)+_0x4b9e5d(-0x150,-0x144)]=_0x1f4e2a,_0x4dbc9b['techContex'+'t']=_0x4fbec4,activeEngine=_0x4dbc9b,await persistCurrentState(),console['log']('\x0a✅\x20引擎已启动,使'+'用\x20advance/'+_0x4b9e5d(_0x4017a9._0x3d8635,-0x60)+'ration\x20推进阶'+'段');}export async function advancePhase(_0x12d169){const _0x10e39d={_0x5d4ef3:0x35d,_0x3ceb2b:0x1f7,_0x3aaa42:0x22a,_0x2d9841:0x210,_0xc6e514:0x2d7,_0x5dd1fe:0x284,_0x15fb1:0x1be,_0x5af0c1:0x159,_0xe3a989:0x2ba,_0x4f57b9:0x2de,_0x175cfe:0x33e,_0x35e11d:0x289,_0x1f2c86:0x2c5,_0x72023a:0x22f,_0x5250ec:0x1b7,_0x5d608d:0x1fe,_0x252a98:0x304,_0x56b79c:0x3a0,_0x2824d0:0x2c7,_0x3a9225:0x3b6,_0x54353a:0x343,_0x1d97f5:0x28a,_0x5e5d9f:0x2de,_0xfece40:0x28e,_0x47b3aa:0x315,_0x3e4891:0x241,_0x38c160:0x269,_0x455e64:0x301,_0x11aa50:0x226,_0x150784:0x3a8,_0x19f421:0x1cc,_0x3164fa:0x18a,_0x212492:0x27b,_0x1fb052:0x293,_0x2ade4e:0x23a,_0x57ce53:0x37e,_0x58d851:0x2bd,_0x57cc44:0x26d,_0x2ea031:0x2ae,_0x4b97e2:0x344,_0x123a66:0x2c7,_0x6ce752:0x3d2,_0x18cae9:0x241,_0x1ad270:0x21a,_0x250a5b:0x1bd,_0x2f5bdd:0x20f,_0x8873c8:0x2c1,_0x329cc7:0x31a,_0x3c4ed5:0x362,_0x458708:0x2b2,_0x4801b4:0x274,_0x355929:0x33c,_0x48a702:0x2ae,_0x3df60f:0x24e,_0x29a7e1:0x237,_0xc5a535:0x343,_0x2f199a:0x2c3,_0x134d3b:0x36b,_0x4b7e43:0x2fd,_0x523386:0x263},_0x5ed702={_0x544529:0xd0},_0x11aa8c={'DzZPE':function(_0xa1b329,_0x31eed5){return _0xa1b329!==_0x31eed5;},'YGnqJ':function(_0x474b2c,_0x68f1c4){return _0x474b2c<_0x68f1c4;},'VKMKj':function(_0x59acb6,_0x10e531){return _0x59acb6-_0x10e531;},'rVCNC':'completed','SJBiK':function(_0x2d4b1e,_0x2a4e83){return _0x2d4b1e(_0x2a4e83);},'OLuqf':_0x4f6453(0x3d8,_0x10e39d._0x5d4ef3)+_0x3ee56d(_0x10e39d._0x3ceb2b,_0x10e39d._0x3aaa42),'kTVlb':_0x3ee56d(_0x10e39d._0x2d9841,0x24a),'pgzkD':_0x4f6453(0x2c0,_0x10e39d._0xc6e514),'KIVPa':function(_0x32486b,_0x1d66b2){return _0x32486b!==_0x1d66b2;},'sYoLw':_0x3ee56d(0x23a,0x240),'RplbB':function(_0x349a62){return _0x349a62();},'ZPVtp':function(_0x1117d8,_0x4ee040){return _0x1117d8===_0x4ee040;},'qHdxS':_0x4f6453(0x2b6,0x278),'vGeqz':'⚠️\x20\x20无活跃引擎且状'+_0x4f6453(0x25e,_0x10e39d._0x5dd1fe)+_0x4f6453(0x268,0x2cb)+_0x3ee56d(_0x10e39d._0x15fb1,_0x10e39d._0x5af0c1)+_0x4f6453(0x317,0x323),'duTXt':function(_0x342f51,_0x102736){return _0x342f51(_0x102736);}};function _0x4f6453(_0x1b4733,_0x157a4d){return _0x1a3805(_0x1b4733,_0x157a4d- -_0x5ed702._0x544529);}if(activeEngine){const {actors:_0x2f81bc}=activeEngine,_0x22d363=_0x12d169??_0x11aa8c['SJBiK'](findFirstIncompleteAgent,_0x2f81bc);if(!_0x22d363){if(_0x12d169){await _0x11aa8c[_0x3ee56d(0x2b6,0x368)](advancePhaseViaFile,_0x12d169);return;}console[_0x4f6453(0x282,_0x10e39d._0xe3a989)](_0x11aa8c[_0x3ee56d(0x2f2,0x392)]);return;}const _0x202e27=_0x2f81bc['get'](_0x22d363);if(!_0x202e27){if(_0x11aa8c[_0x4f6453(_0x10e39d._0x4f57b9,_0x10e39d._0x175cfe)](_0x4f6453(0x20b,_0x10e39d._0x35e11d),_0x11aa8c[_0x3ee56d(0x261,0x249)]))_0x11aa8c[_0x3ee56d(_0x10e39d._0x1f2c86,0x2f4)](_0x190b93[_0x193897]['phase'],_0x4f6453(_0x10e39d._0x72023a,_0x10e39d._0x4f57b9))&&(_0x48df28[_0x518edf]={..._0x144746[_0x240c20],'phase':_0x4f6453(0x2b3,0x298)+'lysis','currentOperation':'分析'+_0x3c9b95+':\x20'+_0x396669[_0x3ee56d(_0x10e39d._0x5250ec,_0x10e39d._0x5d608d)](0xede+0xa0*0x33+-0x2ebe,0x35c*-0x5+-0x148d+0x258b)});else{await advancePhaseViaFile(_0x22d363);return;}}const _0x34eb60=_0x202e27[_0x4f6453(0x3e2,0x367)+'t'](),_0x220aa8=typeof _0x34eb60['value']===_0x11aa8c[_0x3ee56d(_0x10e39d._0x252a98,_0x10e39d._0x56b79c)]?_0x34eb60[_0x3ee56d(_0x10e39d._0x2824d0,0x277)]:_0x4f6453(_0x10e39d._0x3a9225,_0x10e39d._0x54353a);if(_0x220aa8===_0x4f6453(_0x10e39d._0x1d97f5,_0x10e39d._0x5e5d9f)){if(_0x11aa8c[_0x4f6453(_0x10e39d._0xfece40,0x2ca)](_0x11aa8c[_0x4f6453(0x2d0,_0x10e39d._0x47b3aa)],_0x3ee56d(0x203,0x247))){console[_0x3ee56d(_0x10e39d._0x3e4891,_0x10e39d._0x38c160)]('['+_0x22d363+_0x4f6453(0x28e,_0x10e39d._0x455e64));return;}else{const _0x1a6b29=_0x1a08ef[_0x3d1d79],_0x400fa0={};_0x400fa0[_0x4f6453(0x276,_0x10e39d._0x11aa50)]=_0x1059bd,_0x400fa0[_0x4f6453(_0x10e39d._0x150784,0x371)]=_0x1a6b29[_0x3ee56d(0x2f8,0x34f)]??_0x4b40a7;const _0x76e519={};_0x76e519[_0x3ee56d(_0x10e39d._0x19f421,_0x10e39d._0x3164fa)]=_0x400fa0;const _0x39a02a=_0x4b2020(_0x217674,_0x76e519);_0x39a02a[_0x4f6453(0x2ee,_0x10e39d._0x212492)]();const _0x323cfc={};_0x323cfc['type']='START',_0x39a02a[_0x3ee56d(0x282,_0x10e39d._0x1fb052)](_0x323cfc);for(let _0x39a110=-0x1*0x193+-0x3a6+0x539*0x1;_0x39a110<_0x4da307['length'];_0x39a110++){const _0x374ef8={};_0x374ef8[_0x4f6453(0x195,0x223)]=_0x4f6453(0x220,_0x10e39d._0x2ade4e)+_0x4f6453(0x2e6,_0x10e39d._0x57ce53),_0x39a02a['send'](_0x374ef8);}_0x4935d3[_0x3ee56d(0x2fa,_0x10e39d._0x58d851)](_0x5b9a92,_0x39a02a);}}const _0x8134f1={};_0x8134f1[_0x3ee56d(0x1aa,0x18e)]=_0x4f6453(_0x10e39d._0x57cc44,0x23a)+'LETE',_0x202e27[_0x3ee56d(0x282,_0x10e39d._0x2ea031)](_0x8134f1);const _0x486b6b=_0x202e27[_0x4f6453(_0x10e39d._0x4b97e2,0x367)+'t'](),_0x71fd51=typeof _0x486b6b[_0x3ee56d(_0x10e39d._0x123a66,0x2de)]===_0x11aa8c[_0x3ee56d(0x304,0x370)]?_0x486b6b['value']:_0x4f6453(_0x10e39d._0x6ce752,0x343),_0x226cd9=PHASE_NAMES[_0x220aa8]??_0x220aa8,_0x58c1a5=PHASE_NAMES[_0x71fd51]??_0x71fd51;console[_0x3ee56d(_0x10e39d._0x18cae9,_0x10e39d._0x1ad270)]('['+_0x22d363+']\x20'+_0x226cd9+_0x3ee56d(_0x10e39d._0x250a5b,0x1c5)+_0x58c1a5),await _0x11aa8c[_0x3ee56d(_0x10e39d._0x2f5bdd,0x230)](persistCurrentState);_0x11aa8c[_0x3ee56d(_0x10e39d._0x8873c8,_0x10e39d._0x329cc7)](_0x71fd51,_0x11aa8c[_0x4f6453(0x340,0x2ae)])&&(console[_0x4f6453(0x33b,0x2ba)](_0x4f6453(0x3f7,_0x10e39d._0x3c4ed5)+_0x22d363+_0x4f6453(0x21a,0x270)),checkAllComplete());return;}function _0x3ee56d(_0x465a89,_0xf8bd1e){return _0x1a3805(_0xf8bd1e,_0x465a89- -0x149);}if(_0x12d169)_0x11aa8c['ZPVtp']('RcjPc',_0x11aa8c[_0x4f6453(_0x10e39d._0x458708,0x26a)])?await advancePhaseViaFile(_0x12d169):_0x11aa8c['YGnqJ'](_0x164ad2,_0x11aa8c[_0x3ee56d(0x2f3,_0x10e39d._0x4801b4)](_0x35abba['length'],0x1*0x152b+0xd67+-0x2291*0x1))?_0x5eaa04=_0x188308[_0x3fa48b+(0x1f8b+-0x25*-0xa0+-0x36aa)]:_0x42177e=_0x11aa8c[_0x4f6453(_0x10e39d._0x355929,_0x10e39d._0x48a702)];else{const _0x3e7b44=await readStateFile();if(!_0x3e7b44){console[_0x4f6453(_0x10e39d._0x3df60f,_0x10e39d._0xe3a989)](_0x11aa8c[_0x3ee56d(_0x10e39d._0x29a7e1,0x247)]);return;}const _0x29d3d2=Object['keys'](_0x3e7b44['agents'])['find'](_0x79f28d=>_0x3e7b44[_0x3ee56d(0x27c,0x237)][_0x79f28d]['phase']!=='completed');if(!_0x29d3d2){if(_0x4f6453(_0x10e39d._0xc5a535,_0x10e39d._0x2f199a)!=='CYTYr'){console['log'](_0x11aa8c[_0x4f6453(0x314,_0x10e39d._0x134d3b)]);return;}else{const _0x429204={..._0x27e627[_0x4f49ec]};_0x429204[_0x4f6453(_0x10e39d._0x4b7e43,0x262)]=_0xf7d46a,_0x2b2e55[_0x27f251]=_0x429204;}}await _0x11aa8c[_0x4f6453(_0x10e39d._0x523386,0x300)](advancePhaseViaFile,_0x29d3d2);}}async function advancePhaseViaFile(_0x5477f3){const _0x44a327={_0x4f20f1:0x497,_0x25c456:0x61b,_0x980518:0x5ef,_0x3198d9:0x193,_0x42cab1:0x64d,_0x39212d:0x111,_0xd0f6a9:0x188,_0x14fa77:0x4f8,_0x418bf8:0x545,_0x40eaca:0x5b1,_0x3cabbe:0x5f1,_0x5b5a16:0x5de,_0x147573:0x5e9,_0x21d3db:0x16a,_0x4f62e8:0xe8,_0x44e2df:0xed,_0x2c19b8:0x118,_0x47e69a:0x178,_0x1a23fb:0x164,_0x1f7896:0x48d,_0x38bcfe:0x5bd,_0x4dadcd:0x4d0,_0x1381ab:0x154,_0x57f194:0x53d,_0x2be6b0:0x528,_0x1700da:0x4d0,_0x35f396:0x4bf,_0x36074a:0x209,_0x18c658:0x4aa,_0x4b1d0a:0x4f3,_0x3bcd22:0x588,_0x6fbd6d:0x15f,_0x593f56:0x7e,_0x17411f:0xaf,_0x2a1d7b:0x47,_0xb379f2:0xd8,_0x5ddde4:0x52e,_0x3186b1:0x4a7,_0x45db5d:0x1ef,_0x3f72ec:0x486,_0x3f66e1:0x4dd,_0x2ac2b2:0x459,_0x59de9b:0x4dd,_0xcbd2b:0x5c8,_0x47a0ce:0x500,_0x4b4f04:0x404,_0x562a12:0x1f0,_0x2f0187:0x562,_0x177a1f:0x1d9,_0x4da665:0xef,_0x45fec0:0x538,_0x1dfb6e:0x580,_0x296b4f:0x5be,_0x46f4e4:0x52a,_0xc029c0:0x5b5,_0x2b7543:0x1dd,_0x53a0a0:0x1b3,_0x5ded7f:0x4a1,_0x5111c4:0x549,_0x15935d:0x12a,_0x39a618:0x589,_0x474168:0x569,_0x56f4ee:0x46e,_0x11735d:0x28b,_0xdc3d5d:0x631,_0x3cf1eb:0x267,_0x277a73:0x171,_0x21876a:0x451,_0x3e79d1:0x491,_0x1e922c:0x60f,_0x318bb5:0x271,_0x1bd906:0x1d9,_0x35986f:0x12c,_0x91472a:0xcd,_0xfc94a1:0x125,_0x2d6309:0x1b4,_0xe475ee:0x1a6,_0x1119e3:0xdc,_0x5892c5:0x557,_0x54e8e0:0x412,_0x501b31:0x150,_0x569332:0x18f,_0xf65db7:0x528,_0x4f4d10:0x464,_0x6c889a:0x4fa,_0x198db0:0x174,_0x459d5b:0x17b,_0x15e148:0x195,_0x510d0d:0x184,_0x50cb16:0x508,_0x4d3e4b:0x54b,_0x4e35a8:0x16b,_0x51b989:0x5ba,_0x456d7f:0x1e8,_0x47455f:0x4af,_0x2a2c1d:0x10d,_0x1ff90a:0x154,_0x1bb206:0x10c,_0x278917:0x1c9,_0x20a99a:0x5f5,_0x24414d:0x1d0,_0x459433:0x5bb,_0x2c7fa3:0x4ef,_0x161da5:0xbe,_0x16db89:0x180,_0x6d3807:0x130,_0x2d4a65:0x76,_0x5734fa:0xac,_0x104392:0x154,_0x46fed7:0x4a2,_0x17db1d:0x49d,_0x15a393:0x5d5,_0x2a040a:0x174,_0x422d9d:0x1b6,_0x1e31b2:0xf9,_0x42883b:0x196,_0x3404a4:0x674,_0x2df8fa:0x4ee,_0x188d97:0x1e7,_0x460e30:0x1d9,_0x4243d3:0x526,_0x3902a7:0x5d8,_0x5d7ed8:0x491,_0x5619ff:0x5ec,_0x2d25a8:0x197,_0x3a3f34:0x1fa,_0x2e3713:0x232,_0x51113f:0x30,_0x56a7fb:0x4ab,_0x4679ec:0x4c5,_0x27a803:0x5cc,_0x1eef84:0x5d0},_0x3b81ca={_0x355a7e:0x25a},_0xb9df59={'TfXMI':_0x4e3ce3(0x40a,_0x44a327._0x4f20f1)+_0x4e3ce3(_0x44a327._0x25c456,_0x44a327._0x980518),'EkzvS':_0x121962(0x18e,_0x44a327._0x3198d9)+_0x4e3ce3(_0x44a327._0x42cab1,0x5ec),'BqTMg':'⚠️\x20\x20状态文件不存在'+_0x121962(_0x44a327._0x39212d,_0x44a327._0xd0f6a9)+_0x121962(0xcc,0x132),'RTFec':function(_0x4aa568,_0x480795){return _0x4aa568===_0x480795;},'nUhGO':_0x4e3ce3(_0x44a327._0x14fa77,_0x44a327._0x418bf8),'jqHdV':_0x4e3ce3(0x603,_0x44a327._0x40eaca),'rqDKy':function(_0x435390,_0x3c6e46){return _0x435390!==_0x3c6e46;},'PLCHy':'completed','GXHWj':_0x4e3ce3(_0x44a327._0x3cabbe,0x549),'WiNrN':_0x4e3ce3(_0x44a327._0x5b5a16,_0x44a327._0x147573)+'EN_DONE','ZMgcc':'QffpK','lYZXj':_0x4e3ce3(0x581,0x4da),'vzfpt':_0x121962(_0x44a327._0x21d3db,0x11b),'saPmo':function(_0x59d2b6,_0x46fcc8){return _0x59d2b6>=_0x46fcc8;},'UhWPk':function(_0x34f182,_0x4aa812){return _0x34f182===_0x4aa812;},'ZiEhQ':_0x121962(_0x44a327._0x4f62e8,_0x44a327._0x44e2df),'WqaNR':function(_0x11724e,_0x483439){return _0x11724e<_0x483439;},'fttvz':_0x121962(_0x44a327._0x2c19b8,_0x44a327._0x47e69a),'VHcXZ':function(_0x3fa32a,_0x2a12bb){return _0x3fa32a+_0x2a12bb;},'iAViL':_0x121962(_0x44a327._0x1a23fb,0x1b8),'kxZsg':function(_0xb90a8f,_0x3d16ac){return _0xb90a8f-_0x3d16ac;},'UxjPJ':function(_0x30e998,_0x501b34){return _0x30e998===_0x501b34;},'vLNdB':'pODNN','CXmjn':function(_0x52f0d1,_0x31bb08){return _0x52f0d1+_0x31bb08;},'eISKr':_0x121962(0xde,0x107),'naHNJ':function(_0x4155ee,_0x453392){return _0x4155ee===_0x453392;},'ZDVhL':function(_0x20b6ea,_0x305cdc){return _0x20b6ea(_0x305cdc);},'sqXsg':function(_0x3e6f8d,_0xf02433){return _0x3e6f8d!==_0xf02433;},'aPerG':'LNzdm'},_0x45af20=await readStateFile();if(!_0x45af20){if(_0x4e3ce3(0x46f,_0x44a327._0x1f7896)!==_0xb9df59[_0x4e3ce3(_0x44a327._0x38bcfe,0x559)])_0x5994ad[_0x4e3ce3(0x49e,_0x44a327._0x4dadcd)]!==_0x121962(0xc8,_0x44a327._0x1381ab)&&(_0x29a92b=_0x1a1661[_0x4e3ce3(0x54b,0x4d0)]);else{console[_0x4e3ce3(0x5b8,0x528)](_0xb9df59[_0x4e3ce3(0x535,_0x44a327._0x57f194)]);return;}}const _0x1ee101=_0x45af20['agents'][_0x5477f3];if(!_0x1ee101){console[_0x4e3ce3(0x4ab,_0x44a327._0x2be6b0)]('❌\x20Agent\x20'+_0x5477f3+(_0x4e3ce3(0x509,0x561)+_0x4e3ce3(0x50d,0x493)));return;}if(_0x1ee101[_0x4e3ce3(0x4c0,_0x44a327._0x1700da)]===_0xb9df59['PLCHy']){if(_0x4e3ce3(0x433,_0x44a327._0x35f396)===_0xb9df59[_0x121962(_0x44a327._0x36074a,0x1ce)]){_0x49b873[_0x4e3ce3(_0x44a327._0x18c658,0x528)](_0xb9df59[_0x4e3ce3(0x518,0x59f)]);return;}else{console[_0x4e3ce3(0x4a0,0x528)]('['+_0x5477f3+']\x20已完成全部阶段');return;}}function _0x4e3ce3(_0x1fba7b,_0x37b0cf){return _0x1a3805(_0x1fba7b,_0x37b0cf-0x19e);}const _0x1fb508=[...PHASES,...PIPELINE_PHASES];function _0x121962(_0x575bfa,_0x32c998){return _0x1a3805(_0x575bfa,_0x32c998- -_0x3b81ca._0x355a7e);}const _0x4672e0=_0x1fb508['indexOf'](_0x1ee101['phase']);let _0x296272;if(_0xb9df59['saPmo'](_0x4672e0,-0x1*-0x1c7b+0x2*0x513+-0x26a1)&&_0x4672e0<_0x1fb508[_0x4e3ce3(_0x44a327._0x4b1d0a,0x500)]-(0x8d9+-0x1660+0xd88)){if(_0xb9df59[_0x4e3ce3(_0x44a327._0x3bcd22,0x5e7)](_0x121962(_0x44a327._0x6fbd6d,0xed),_0xb9df59[_0x4e3ce3(0x600,0x5ba)])){const _0x504257=PHASES[_0x121962(_0x44a327._0x593f56,_0x44a327._0x17411f)](_0x1ee101[_0x121962(_0x44a327._0x2a1d7b,_0x44a327._0xb379f2)]),_0x6ec139=PIPELINE_PHASES[_0x4e3ce3(_0x44a327._0x5ddde4,_0x44a327._0x3186b1)](_0x1ee101[_0x121962(0x8e,_0x44a327._0xb379f2)]);if(_0xb9df59['saPmo'](_0x504257,-0x6b*-0x22+0x3*-0x13a+-0xa88)){if(_0xb9df59[_0x121962(0x26d,_0x44a327._0x45db5d)](_0x4e3ce3(_0x44a327._0x3f72ec,_0x44a327._0x3f66e1),_0x4e3ce3(_0x44a327._0x2ac2b2,_0x44a327._0x59de9b))){if(_0xb9df59[_0x4e3ce3(0x596,_0x44a327._0xcbd2b)](_0x504257,PHASES[_0x4e3ce3(0x4c1,_0x44a327._0x47a0ce)]-(-0x1fe3+-0x3*-0x185+-0x1*-0x1b55))){if('ksvRJ'!==_0xb9df59[_0x4e3ce3(_0x44a327._0x4b4f04,0x4ad)]){_0x4c59e8[_0x121962(0xb8,0x130)]('⚠️\x20\x20Agent\x20'+_0x43599c+'\x20不存在');return;}else _0x296272=PHASES[_0xb9df59[_0x121962(0x194,_0x44a327._0x562a12)](_0x504257,-0x1791+0x1*-0x9a3+0x2135*0x1)];}else _0x296272=_0x4e3ce3(_0x44a327._0x2f0187,0x54c);}else{_0x594b8a[_0x121962(_0x44a327._0x177a1f,0x130)](_0x121962(_0x44a327._0x4da665,0xe2)+_0x4e3ce3(_0x44a327._0x45fec0,_0x44a327._0x1dfb6e)+_0x4e3ce3(_0x44a327._0x296b4f,_0x44a327._0x46f4e4));return;}}else{if(_0x6ec139>=0x98*0x36+-0x109+-0x1f07){if(_0xb9df59[_0x4e3ce3(_0x44a327._0xc029c0,0x5e7)]('ClTZF',_0xb9df59['iAViL'])){for(const [_0x7968a8]of _0x44ffad[_0x121962(_0x44a327._0x2b7543,_0x44a327._0x53a0a0)]){const _0x190ac1={};_0x190ac1['status']=_0x4e3ce3(_0x44a327._0x5ded7f,_0x44a327._0x5111c4);const _0x4b6929={};_0x4b6929[_0x121962(_0x44a327._0x15935d,0x99)]=_0xb9df59[_0x4e3ce3(0x52e,0x554)],_0x4b6929[_0x4e3ce3(0x59c,_0x44a327._0x39a618)]=_0x7968a8,_0x4b6929['result']=_0x190ac1,_0x2e4064[_0x4e3ce3(0x614,0x5d1)+'Actor'][_0x4e3ce3(0x501,_0x44a327._0x474168)](_0x4b6929);}const _0x27af32={};_0x27af32[_0x4e3ce3(_0x44a327._0x56f4ee,0x491)]=_0x121962(_0x44a327._0x11735d,0x1f1)+_0x4e3ce3(_0x44a327._0xdc3d5d,0x5e4),_0x963850[_0x121962(_0x44a327._0x3cf1eb,0x1d9)+'Actor'][_0x121962(0x134,_0x44a327._0x277a73)](_0x27af32);const _0x57ce52={};_0x57ce52[_0x4e3ce3(_0x44a327._0x21876a,_0x44a327._0x3e79d1)]='PHASE_COMP'+_0x4e3ce3(_0x44a327._0x1e922c,0x5ec),_0x24b5d0[_0x121962(_0x44a327._0x318bb5,_0x44a327._0x1bd906)+_0x121962(_0x44a327._0x35986f,_0x44a327._0x91472a)]['send'](_0x57ce52);}else{if(_0x6ec139<_0xb9df59[_0x121962(0x19d,_0x44a327._0xfc94a1)](PIPELINE_PHASES['length'],-0x836+-0x1*-0x12ad+-0xa76)){if(_0xb9df59[_0x121962(_0x44a327._0x2d6309,_0x44a327._0xe475ee)](_0x121962(0x4a,_0x44a327._0x1119e3),_0xb9df59[_0x121962(0x227,0x175)]))_0x296272=PIPELINE_PHASES[_0xb9df59['CXmjn'](_0x6ec139,0x2*0x130a+-0x73f+0x2*-0xf6a)];else{_0x45dd62[_0x4e3ce3(_0x44a327._0x5892c5,0x528)]('❌\x20Agent\x20'+_0x21b62f+('\x20不存在于\x20stat'+_0x4e3ce3(_0x44a327._0x54e8e0,0x493)));return;}}else{if(_0xb9df59[_0x121962(_0x44a327._0x501b31,0x18f)]!==_0xb9df59[_0x121962(_0x44a327._0xfc94a1,_0x44a327._0x569332)]){_0x32c310[_0x4e3ce3(0x51a,_0x44a327._0xf65db7)](_0xb9df59[_0x4e3ce3(_0x44a327._0x4f4d10,_0x44a327._0x6c889a)]);return;}else _0x296272=_0x121962(0x205,0x154);}}}else _0x296272=_0xb9df59[_0x121962(_0x44a327._0x198db0,_0x44a327._0x459d5b)];}}else _0x1e625b=_0x14b311;}else _0xb9df59[_0x121962(_0x44a327._0x15e148,0x158)](_0x1ee101[_0x121962(_0x44a327._0x510d0d,_0x44a327._0xb379f2)],_0x4e3ce3(0x508,_0x44a327._0x50cb16))?_0x296272=PHASES[0x44*-0x2b+-0xf3+0xc5f]:_0x296272=_0x4e3ce3(0x5b4,0x54c);const _0x4c2e04=PHASE_NAMES[_0x1ee101[_0x4e3ce3(0x4f9,0x4d0)]]??_0x1ee101[_0x4e3ce3(_0x44a327._0x4d3e4b,0x4d0)],_0x4fbda6=PHASE_NAMES[_0x296272]??_0x296272,_0x3f9b3c={..._0x45af20[_0x121962(0x168,_0x44a327._0x4e35a8)]},_0x14905e=_0x3f9b3c,_0x576cc5={..._0x1ee101};_0x576cc5['phase']=_0x296272,_0x576cc5[_0x4e3ce3(_0x44a327._0x51b989,0x532)+_0x121962(_0x44a327._0x456d7f,0x179)]='',_0x576cc5[_0x4e3ce3(0x43e,_0x44a327._0x47455f)+'ll']='',_0x14905e[_0x5477f3]=_0x576cc5;let _0x3362ae=_0x121962(_0x44a327._0x2a2c1d,_0x44a327._0x1ff90a);for(const _0x41e0e1 of Object['keys'](_0x14905e)){if(_0xb9df59['rqDKy'](_0x14905e[_0x41e0e1]['phase'],_0xb9df59[_0x121962(_0x44a327._0x1bb206,_0x44a327._0x459d5b)])){_0x3362ae=_0x14905e[_0x41e0e1]['phase'];break;}}const _0x58fbdd={..._0x45af20[_0x121962(0x1d0,_0x44a327._0x278917)]};_0x58fbdd[_0x4e3ce3(0x4c0,0x4ae)+'se']=_0x3362ae;const _0x4e8e09={};_0x4e8e09[_0x121962(0x257,0x1c9)]=_0x58fbdd,_0x4e8e09[_0x4e3ce3(_0x44a327._0x20a99a,0x563)]=_0x14905e,_0x4e8e09[_0x121962(_0x44a327._0x24414d,0x1c3)+'pshot']=_0x45af20[_0x4e3ce3(0x60f,_0x44a327._0x459433)+_0x4e3ce3(0x525,_0x44a327._0x2c7fa3)],await _0xb9df59[_0x121962(0x12f,_0x44a327._0x161da5)](writeStateFile,_0x4e8e09),console[_0x121962(_0x44a327._0x16db89,_0x44a327._0x6d3807)]('['+_0x5477f3+']\x20'+_0x4c2e04+_0x121962(_0x44a327._0x2d4a65,_0x44a327._0x5734fa)+_0x4fbda6);if(_0x296272===_0x121962(0x174,_0x44a327._0x104392)){if(_0xb9df59[_0x4e3ce3(_0x44a327._0x46fed7,0x49f)]('LNzdm',_0xb9df59[_0x4e3ce3(0x52e,_0x44a327._0x17db1d)])){if(!_0x58440c)return;for(const [,_0x30484e]of _0x52f522['actors']){const _0xdb296=_0x30484e[_0x4e3ce3(0x649,_0x44a327._0x15a393)+'t'](),_0x26e333=_0xb9df59[_0x121962(0x16b,_0x44a327._0x2a040a)](typeof _0xdb296['value'],_0xb9df59['nUhGO'])?_0xdb296[_0x121962(0x269,_0x44a327._0x422d9d)]:_0xb9df59[_0x121962(_0x44a327._0x1e31b2,_0x44a327._0x42883b)];if(_0xb9df59[_0x4e3ce3(_0x44a327._0x3404a4,0x5ee)](_0x26e333,_0xb9df59['PLCHy']))return;}_0x552ea0[_0x4e3ce3(_0x44a327._0x2df8fa,0x528)]('\x0a🎉\x20所有\x20Agen'+'t\x20已完成全部阶段');if(_0x2a58e7[_0x121962(_0x44a327._0x188d97,_0x44a327._0x460e30)+_0x4e3ce3(_0x44a327._0x4243d3,0x4c5)]){for(const [_0x37a090]of _0x39dcab[_0x4e3ce3(_0x44a327._0x3902a7,0x5ab)]){const _0x333ab8={};_0x333ab8[_0x121962(0xb5,0x133)]=_0xb9df59[_0x4e3ce3(0x488,0x4c4)];const _0x1ddba={};_0x1ddba[_0x4e3ce3(0x525,_0x44a327._0x5d7ed8)]=_0x4e3ce3(0x52c,0x58b)+_0x4e3ce3(0x5c4,_0x44a327._0x5619ff),_0x1ddba[_0x4e3ce3(_0x44a327._0x50cb16,0x589)]=_0x37a090,_0x1ddba[_0x121962(_0x44a327._0x2d25a8,_0x44a327._0x3a3f34)]=_0x333ab8,_0x5d3fae[_0x121962(_0x44a327._0x2e3713,_0x44a327._0x460e30)+_0x121962(0x180,_0x44a327._0x91472a)][_0x121962(0x186,0x171)](_0x1ddba);}const _0x228127={};_0x228127[_0x121962(_0x44a327._0x51113f,0x99)]=_0xb9df59['WiNrN'],_0x3842c5[_0x121962(0x26c,_0x44a327._0x1bd906)+_0x4e3ce3(_0x44a327._0x56a7fb,_0x44a327._0x4679ec)][_0x121962(0x221,_0x44a327._0x277a73)](_0x228127);const _0x215bc4={};_0x215bc4[_0x4e3ce3(0x4fa,_0x44a327._0x5d7ed8)]=_0x121962(0x92,0xb0)+_0x4e3ce3(_0x44a327._0x27a803,_0x44a327._0x5619ff),_0x1dc05e['supervisor'+'Actor'][_0x121962(0xfd,0x171)](_0x215bc4);}}else console['log'](_0x4e3ce3(0x631,_0x44a327._0x1eef84)+_0x5477f3+'\x20已完成全部阶段');}}export async function updateOperation(_0x53a717,_0x556729,_0x147815){const _0x3299e9={_0x756d88:0x274,_0x576ee5:0x44e,_0x19bb9e:0x249,_0x298d89:0x238,_0x488b6c:0x3e9,_0x1acc50:0x3cf,_0x3b1a24:0x467,_0x41eddf:0x342,_0x45f4c6:0x3f3,_0x17dd23:0x46f,_0x1a3583:0x3b5,_0x36e192:0x428},_0x4af6c5={'fvwHP':function(_0x11cbeb,_0xac87f1){return _0x11cbeb===_0xac87f1;},'uVAgv':'UPDATE_OPE'+_0x37886c(0x44e,0x4c6),'xvknb':function(_0x47ef4e,_0x5082a7,_0x7d42be,_0xb4ffc4){return _0x47ef4e(_0x5082a7,_0x7d42be,_0xb4ffc4);}};if(activeEngine){if(_0x4af6c5[_0x1206fa(_0x3299e9._0x756d88,0x312)](_0x37886c(_0x3299e9._0x576ee5,0x3c5),_0x1206fa(0x279,_0x3299e9._0x19bb9e))){const _0x1b9a5f=activeEngine['actors'][_0x1206fa(0x314,0x37b)](_0x53a717);if(_0x1b9a5f){const _0x2fd410={};_0x2fd410[_0x1206fa(0x2a3,_0x3299e9._0x298d89)]=_0x4af6c5[_0x37886c(_0x3299e9._0x488b6c,_0x3299e9._0x1acc50)],_0x2fd410[_0x37886c(0x3c9,_0x3299e9._0x3b1a24)]=_0x556729,_0x2fd410[_0x1206fa(0x3ea,_0x3299e9._0x41eddf)]=_0x147815,_0x1b9a5f['send'](_0x2fd410),await persistCurrentState();return;}}else{if(_0x44cc52[_0x3d62f3][_0x37886c(0x3f7,_0x3299e9._0x45f4c6)]!==_0x37886c(0x4fd,_0x3299e9._0x17dd23)){const _0x4eeb94={..._0x5f2691[_0x44c7c7]};_0x4eeb94['phase']=_0x38ec77,_0x3301b9[_0x4a456e]=_0x4eeb94;}}}function _0x37886c(_0x18b487,_0x1115c9){return _0x1a3805(_0x18b487,_0x1115c9-0xc1);}function _0x1206fa(_0x115cd2,_0x5d6f0e){return _0x464c72(_0x5d6f0e-0x245,_0x115cd2);}await _0x4af6c5[_0x37886c(_0x3299e9._0x1a3583,_0x3299e9._0x36e192)](updateOperationViaFile,_0x53a717,_0x556729,_0x147815);}async function updateOperationViaFile(_0x3cb633,_0x2b7867,_0x1df0ba){const _0x443289={_0x122021:0x40b,_0x262d99:0x1db,_0x7ee0e6:0x154,_0x34eb46:0x524,_0x552289:0x59a,_0x25f60f:0x4c2,_0x26bd01:0x582,_0x3e4b22:0x4f4,_0x29785a:0x57c,_0x453ceb:0x57c,_0x1d1b7e:0x128,_0x388eae:0x1a1,_0x33d1f8:0x1c7},_0x2bd817={_0x2bf124:0x1f2},_0x2a70c5={'yoHTD':function(_0x57d51b){return _0x57d51b();},'ZBdYl':_0x38290d(0x49b,_0x443289._0x122021),'PYIFi':function(_0x35c970,_0x4eccbb){return _0x35c970(_0x4eccbb);}};function _0x2e74f0(_0x53d261,_0x20ab50){return _0x464c72(_0x20ab50- -_0x2bd817._0x2bf124,_0x53d261);}const _0x5cca20=await _0x2a70c5[_0x2e74f0(-_0x443289._0x262d99,-_0x443289._0x7ee0e6)](readStateFile);if(!_0x5cca20){console['log'](_0x2a70c5['ZBdYl']);return;}const _0x4c3a93=_0x5cca20[_0x38290d(_0x443289._0x34eb46,_0x443289._0x552289)][_0x3cb633];if(!_0x4c3a93){console[_0x38290d(0x4e9,0x49e)](_0x2e74f0(-0x1f2,-0x1b5)+_0x3cb633+(_0x2e74f0(-0xfe,-0x12f)+_0x38290d(0x454,0x4a6)));return;}function _0x38290d(_0x84fae6,_0x3932a2){return _0x1a3805(_0x3932a2,_0x84fae6-0x15f);}const _0x55828b={..._0x5cca20[_0x38290d(0x524,_0x443289._0x25f60f)]},_0x4de80c=_0x55828b,_0x5e38d6={..._0x4c3a93};_0x5e38d6['currentOpe'+'ration']=_0x2b7867,_0x5e38d6[_0x38290d(0x470,0x404)+'ll']=_0x1df0ba,_0x4de80c[_0x3cb633]=_0x5e38d6;const _0x3ae523={};_0x3ae523['project']=_0x5cca20[_0x38290d(_0x443289._0x26bd01,_0x443289._0x3e4b22)],_0x3ae523['agents']=_0x4de80c,_0x3ae523[_0x38290d(_0x443289._0x29785a,_0x443289._0x453ceb)+_0x2e74f0(-_0x443289._0x1d1b7e,-_0x443289._0x388eae)]=_0x5cca20['machineSna'+_0x38290d(0x4b0,0x447)],await _0x2a70c5[_0x2e74f0(-0x12a,-_0x443289._0x33d1f8)](writeStateFile,_0x3ae523);}export async function getStatus(){const _0xc5dcf9={_0x723066:0x122,_0x515501:0x10,_0x509c29:0x1ad,_0x2d75ed:0x136,_0x23e9eb:0x135,_0x3723aa:0x97,_0x54b27c:0x123,_0xcd6055:0xa2,_0x12a4b1:0x86,_0x36c662:0x96,_0x388eca:0x17,_0x5ef7cd:0x3e,_0x48e828:0x7,_0x5a6993:0x149,_0x461950:0x90,_0x3d6af1:0x91,_0x24c598:0xa,_0x20ef61:0x124,_0x2dc623:0x81,_0xdb92b0:0x90,_0x4ac472:0x1f,_0x3391e8:0x93,_0x5df407:0x87,_0x102abd:0x90,_0x597ae9:0x7a,_0x38ebb2:0xbf,_0x587a78:0xf5,_0x14a22d:0xfe,_0x216bbf:0x127,_0x270ab2:0x48,_0x54121d:0xb9,_0xe8dcac:0x104,_0x2eff53:0x6d,_0x269574:0x5e,_0x548a74:0x75,_0x2479bb:0x10b,_0x4306a1:0x7d,_0x3355c9:0x2b,_0x523e62:0xd9,_0x228da5:0x81,_0x39911a:0x3e,_0x2c215c:0xbe,_0x18f320:0x14e,_0x274dd1:0x63,_0x82d93f:0x33,_0x162049:0x90},_0x4c8638={_0x4fd6b0:0x2c},_0x1c315e={'kzCit':_0x47e922(0x144,0xc8),'qIxWq':'PHASE_COMP'+_0x1c8626(0x18f,_0xc5dcf9._0x723066),'YWnQp':function(_0x5697ca,_0x1101ea){return _0x5697ca(_0x1101ea);},'UiiiW':'tATZr','ubyqA':_0x1c8626(0xac,_0xc5dcf9._0x515501)+',请先运行\x20star'+_0x1c8626(0xa3,0xc7),'fCeoK':function(_0xb2950e,_0x58b5a6,_0x3d411f){return _0xb2950e(_0x58b5a6,_0x3d411f);},'dKblt':function(_0x229b2b,_0x453caf){return _0x229b2b===_0x453caf;},'tRozM':_0x47e922(-0x1,0x2c)+_0x1c8626(_0xc5dcf9._0x509c29,0x125),'osDHN':_0x1c8626(0x3a,-0x29)+_0x47e922(_0xc5dcf9._0x2d75ed,0x161)+_0x1c8626(0xab,0xef)+'\x20\x20\x20\x20\x20\x20|\x20操作'+_0x47e922(_0xc5dcf9._0x23e9eb,_0xc5dcf9._0x3723aa)+_0x1c8626(0x138,_0xc5dcf9._0x54b27c)+'工具','QJHHN':function(_0x115b21,_0x3309dd){return _0x115b21+_0x3309dd;}};if(!_0x1c315e['YWnQp'](existsSync,STATE_FILE_PATH)){if(_0x1c315e[_0x47e922(0x58,_0xc5dcf9._0xcd6055)]===_0x1c8626(0x8,-0x12)){if(!_0x1ddaac[_0x1c8626(0x1c4,0x111)](_0xa02892)){const _0x309e70=_0x212bb2[_0x2c617f],_0x34be22={};_0x34be22['agentId']=_0x2a3d6a,_0x34be22[_0x1c8626(_0xc5dcf9._0x12a4b1,0x115)]=_0x309e70[_0x1c8626(0x9d,0x115)]??_0x1336ce;const _0xca6858={};_0xca6858[_0x1c8626(-_0xc5dcf9._0x36c662,-_0xc5dcf9._0x388eca)]=_0x34be22;const _0x5c3d47=_0xaf65be(_0x296ce5,_0xca6858);_0x5c3d47['start']();const _0x1a4f66={};_0x1a4f66[_0x47e922(-0x7,-_0xc5dcf9._0x5ef7cd)]=_0x1c315e[_0x1c8626(0x9e,0xeb)],_0x5c3d47[_0x47e922(0xd1,0x164)](_0x1a4f66);for(let _0x140b49=0x31*0x2e+0x1*-0x1ef7+0x3d*0x5d;_0x140b49<_0x4f67aa['length'];_0x140b49++){const _0x19fa4e={};_0x19fa4e[_0x47e922(-_0xc5dcf9._0x48e828,0x13)]=_0x1c315e['qIxWq'],_0x5c3d47[_0x1c8626(0x77,0x9f)](_0x19fa4e);}_0x13ab5b[_0x47e922(_0xc5dcf9._0x5a6993,0xd3)](_0x1f795c,_0x5c3d47);}}else{console[_0x47e922(_0xc5dcf9._0x461950,0xb4)](_0x1c315e[_0x47e922(_0xc5dcf9._0x3d6af1,0xb2)]);return;}}const _0x5bd0d=_0x1c315e[_0x1c8626(_0xc5dcf9._0x24c598,-0x2e)](readFileSync,STATE_FILE_PATH,_0x47e922(0x10d,_0xc5dcf9._0x20ef61)),_0xa41fdc=JSON[_0x47e922(0x5d,_0xc5dcf9._0x2dc623)](_0x5bd0d);console[_0x47e922(_0xc5dcf9._0xdb92b0,_0xc5dcf9._0x4ac472)](_0x1c8626(_0xc5dcf9._0x3391e8,0xdc)+_0xa41fdc[_0x1c8626(0xd1,0xf7)]['name']),console[_0x47e922(0x90,-0x10)]('\x20\x20\x20当前阶段:\x20'+_0xa41fdc['project'][_0x47e922(0x16,-_0xc5dcf9._0x5df407)+'se']);function _0x1c8626(_0x2d2b25,_0xf19e93){return _0x464c72(_0xf19e93- -_0x4c8638._0x4fd6b0,_0x2d2b25);}function _0x47e922(_0x308d9c,_0x3928e7){return _0x464c72(_0x308d9c-0x6,_0x3928e7);}console[_0x47e922(_0xc5dcf9._0x461950,0x133)]('\x20\x20\x20版本:\x20'+_0xa41fdc['version']),console[_0x47e922(_0xc5dcf9._0x102abd,0xca)](_0x1c8626(_0xc5dcf9._0x597ae9,0x31)+_0xa41fdc[_0x47e922(0x4f,0x86)]+'\x0a');const _0x100656=_0xa41fdc[_0x1c8626(_0xc5dcf9._0x38ebb2,0x99)],_0x5ac6ee=Object[_0x1c8626(_0xc5dcf9._0x587a78,0xac)](_0x100656);if(_0x1c315e[_0x1c8626(0x36,0x22)](_0x5ac6ee['length'],-0x1223*0x1+0x914+0x90f)){console[_0x47e922(_0xc5dcf9._0x102abd,_0xc5dcf9._0x14a22d)](_0x1c315e[_0x1c8626(0x188,_0xc5dcf9._0x216bbf)]);return;}console[_0x1c8626(_0xc5dcf9._0x270ab2,0x5e)](_0x1c315e[_0x47e922(_0xc5dcf9._0x54121d,_0xc5dcf9._0xe8dcac)]),console[_0x1c8626(_0xc5dcf9._0x2eff53,_0xc5dcf9._0x269574)](_0x1c315e[_0x47e922(_0xc5dcf9._0x548a74,0xd0)](_0x1c8626(_0xc5dcf9._0x2479bb,_0xc5dcf9._0x4306a1),'-'[_0x47e922(_0xc5dcf9._0x3355c9,0x50)](0x1*0x1901+0x1630+-0x2ee1)));for(const _0x4f93d6 of _0x5ac6ee){const _0x615d4f=_0x100656[_0x4f93d6],_0x395c70=PHASE_NAMES[_0x615d4f['phase']]??_0x615d4f[_0x47e922(0x38,0xdd)],_0x3b1554=_0x615d4f['currentOpe'+_0x47e922(_0xc5dcf9._0x523e62,_0xc5dcf9._0x228da5)]||'-',_0x53079e=_0x615d4f[_0x1c8626(_0xc5dcf9._0x39911a,-0x1b)+'ll']||'-';console[_0x47e922(_0xc5dcf9._0x102abd,_0xc5dcf9._0x2c215c)](_0x47e922(0xaf,_0xc5dcf9._0x18f320)+_0x4f93d6[_0x1c8626(0xcf,_0xc5dcf9._0x274dd1)](0x21c7*-0x1+-0x890+0x3*0xe23)+_0x1c8626(0xbf,0x100)+_0x395c70[_0x47e922(0x95,0xbe)](0x2240+0xd*0x1c1+0x1*-0x38ff)+_0x1c8626(0xe5,0x100)+_0x3b1554[_0x1c8626(-_0xc5dcf9._0x82d93f,_0xc5dcf9._0x274dd1)](0x7*-0x3e5+0xc8*0x32+-0xbb8)+'\x20|\x20'+_0x53079e);}console[_0x47e922(_0xc5dcf9._0x162049,0x42)]();}export async function resumeEngine(){const _0x8b1bd6={_0x2dfb62:0x1f5,_0x2f7e4c:0x144,_0x3838c9:0x1de,_0x13d7ba:0x1e9,_0x4b19a7:0x1d4,_0x4276cd:0xc5,_0x39b951:0x11e,_0x28d553:0x128,_0x143ac6:0x29,_0x2e8e0d:0x214,_0x3a1887:0x168,_0x21000f:0xd9,_0x325a14:0x133,_0x42e1ad:0x176,_0x158ad7:0xbb,_0x267c76:0xde,_0x2f1f98:0x1f4,_0x417602:0x15b,_0x4c3bc4:0x232,_0x84584c:0x1b2,_0x4bebfd:0xc7,_0xbf0179:0x40,_0x178593:0x77,_0x5d40b1:0x30,_0x587922:0x206,_0x27108f:0x103,_0x13007d:0x2a,_0x77054d:0x35,_0x41ad2c:0x2ba,_0x32aa4d:0x147,_0x5ed057:0xd,_0x2c91a8:0x11c,_0x39af6d:0x19c,_0xc32103:0x57,_0x332468:0xa3,_0x21c7e5:0x1e,_0x2e5baa:0x66,_0x5c4c4a:0x15b,_0x4e2946:0x15d,_0x372c44:0x1a6,_0x331ef6:0x18f,_0x2b36dd:0xb4,_0x24a2e3:0x2e,_0x31962c:0xc2,_0x33c3f8:0xc5,_0x216c5c:0x1e1,_0x4a404e:0x124,_0x37cdb3:0x104,_0x4521eb:0x234,_0x46b2c8:0x75,_0x322601:0x62,_0x2ccf85:0x11b,_0x4bb18a:0x187,_0x18515d:0xa2,_0x3465c1:0x22,_0x3e2476:0x6b},_0x43b657={_0x56cfc8:0x101},_0x1ee01e={'QSfIE':function(_0x234415,_0x24fe82,_0x56156b){return _0x234415(_0x24fe82,_0x56156b);},'bOyZg':'utf-8','xxjyg':function(_0x3560c7,_0x39faad){return _0x3560c7===_0x39faad;},'DOobA':_0x276005(_0x8b1bd6._0x2dfb62,0x1fe)+'\x20已完成,无需恢复','EMfrv':function(_0x1e6a9c){return _0x1e6a9c();},'Tmzkd':function(_0x3e1e11,_0x4c32d0){return _0x3e1e11<_0x4c32d0;},'DgKzq':'START','jfQnp':function(_0x6dc3e8,_0x3fe3a1){return _0x6dc3e8<_0x3fe3a1;},'vKBmz':_0x276005(0x128,_0x8b1bd6._0x2f7e4c)+_0x276005(_0x8b1bd6._0x3838c9,_0x8b1bd6._0x13d7ba)+_0x276005(_0x8b1bd6._0x4b19a7,0x19a)};if(!existsSync(STATE_FILE_PATH)){console['log'](_0x4b12dd(-_0x8b1bd6._0x4276cd,-0xd1)+_0x4b12dd(-0x4c,-0xc9)+'\x20start\x20命令');return;}const _0xe1404a=_0x1ee01e[_0x276005(0x1a7,_0x8b1bd6._0x39b951)](readFileSync,STATE_FILE_PATH,_0x1ee01e[_0x4b12dd(-0xbb,-0x19)]),_0x4b7ffd=JSON[_0x276005(0xf0,_0x8b1bd6._0x28d553)](_0xe1404a),_0x55ea9c=_0x4b7ffd['agents'],_0xa7b25d=Object[_0x4b12dd(-_0x8b1bd6._0x143ac6,0x52)](_0x55ea9c),_0x87ec70=_0xa7b25d[_0x276005(_0x8b1bd6._0x2e8e0d,_0x8b1bd6._0x3a1887)](_0x546cb1=>_0x55ea9c[_0x546cb1][_0x276005(0x6a,0x103)]!==_0x4b12dd(-0x53,-0x9c));if(_0x1ee01e['xxjyg'](_0x87ec70[_0x276005(_0x8b1bd6._0x21000f,_0x8b1bd6._0x325a14)],-0x2*-0xaed+-0x1*-0x26a5+-0x3c7f)){console['log'](_0x1ee01e[_0x276005(_0x8b1bd6._0x42e1ad,0x157)]);return;}console['log']('\x0a🔄\x20恢复引擎'),console[_0x4b12dd(-0x77,0x1e)](_0x276005(_0x8b1bd6._0x158ad7,_0x8b1bd6._0x267c76)+_0x4b7ffd[_0x276005(0x240,_0x8b1bd6._0x2f1f98)]['name']),console[_0x276005(0x14f,_0x8b1bd6._0x417602)]('\x20\x20\x20未完成\x20Age'+_0x276005(_0x8b1bd6._0x4c3bc4,_0x8b1bd6._0x84584c)+_0x87ec70[_0x4b12dd(-0x9f,-_0x8b1bd6._0x4bebfd)]+'\x0a');const _0x4134a7=new Map();let _0x54024d=null;try{_0x54024d=_0x1ee01e[_0x276005(0x1dd,0x215)](loadTechContext);}catch{}for(const _0x5d57a0 of _0x87ec70){const _0x4c663e=_0x55ea9c[_0x5d57a0],_0x31440f=PHASES[_0x276005(0xc9,0xda)](_0x4c663e[_0x4b12dd(-0xcf,-_0x8b1bd6._0xbf0179)]);if(_0x31440f===-(-0x1678+-0xc40+-0x1*-0x22b9)){console[_0x4b12dd(-_0x8b1bd6._0x178593,_0x8b1bd6._0x5d40b1)]('['+_0x5d57a0+_0x276005(0x269,_0x8b1bd6._0x587922)+_0x4c663e[_0x276005(0x175,_0x8b1bd6._0x27108f)]+_0x4b12dd(_0x8b1bd6._0x13007d,-0x1f));continue;}const _0x3546a5={};_0x3546a5[_0x276005(_0x8b1bd6._0x77054d,_0x8b1bd6._0x4bebfd)]=_0x5d57a0,_0x3546a5['parentId']=_0x4c663e['parentId']??undefined;const _0x2fa764={};_0x2fa764['input']=_0x3546a5;const _0x85cb59=createActor(agentMachine,_0x2fa764);_0x85cb59[_0x276005(0x137,0x11c)](),_0x4134a7['set'](_0x5d57a0,_0x85cb59);const _0xc695fe={};_0xc695fe[_0x4b12dd(-0x10e,-0x158)]=_0x276005(_0x8b1bd6._0x41ad2c,0x20f),_0x85cb59[_0x276005(0x135,0x19c)](_0xc695fe);for(let _0x32525e=0x5f*0x3d+0xa2*-0x26+0x1*0x169;_0x1ee01e[_0x276005(0x11b,_0x8b1bd6._0x32aa4d)](_0x32525e,_0x31440f);_0x32525e++){const _0x276b26={};_0x276b26[_0x4b12dd(-0x10e,-0x191)]=_0x276005(0x15c,0xdb)+_0x4b12dd(0x4d,_0x8b1bd6._0x5ed057),_0x85cb59[_0x276005(_0x8b1bd6._0x2c91a8,_0x8b1bd6._0x39af6d)](_0x276b26);}console[_0x4b12dd(-0x77,-_0x8b1bd6._0xc32103)]('['+_0x5d57a0+_0x276005(0x1e1,0x1f3)+(PHASE_NAMES[_0x4c663e['phase']]??_0x4c663e[_0x4b12dd(-0xcf,-_0x8b1bd6._0x332468)])+'\x20恢复');}for(const _0x43d48d of _0xa7b25d){if('tXfzL'===_0x4b12dd(-_0x8b1bd6._0x21c7e5,_0x8b1bd6._0x2e5baa)){_0x4c00de[_0x276005(0x1cc,_0x8b1bd6._0x5c4c4a)](_0x4b12dd(-0xc5,-0x13)+_0x276005(0x16f,0x1b3)+_0x276005(_0x8b1bd6._0x39af6d,_0x8b1bd6._0x4e2946));return;}else{if(!_0x4134a7[_0x276005(_0x8b1bd6._0x372c44,0x20e)](_0x43d48d)){const _0x4dd519=_0x55ea9c[_0x43d48d],_0x4e21ad={};_0x4e21ad['agentId']=_0x43d48d,_0x4e21ad['parentId']=_0x4dd519['parentId']??undefined;const _0x22fa3b={};_0x22fa3b[_0x4b12dd(-0xec,-_0x8b1bd6._0x331ef6)]=_0x4e21ad;const _0x3fe6dc=_0x1ee01e[_0x4b12dd(-_0x8b1bd6._0x2b36dd,-_0x8b1bd6._0x24a2e3)](createActor,agentMachine,_0x22fa3b);_0x3fe6dc[_0x4b12dd(-0xb6,-0x77)]();const _0x4aed70={};_0x4aed70['type']=_0x1ee01e[_0x276005(_0x8b1bd6._0x31962c,_0x8b1bd6._0x33c3f8)],_0x3fe6dc[_0x276005(_0x8b1bd6._0x216c5c,0x19c)](_0x4aed70);for(let _0x4cc7db=-0x6b*0x1+0x5c*-0x2b+0xfdf;_0x1ee01e[_0x276005(_0x8b1bd6._0x4a404e,_0x8b1bd6._0x37cdb3)](_0x4cc7db,PHASES[_0x4b12dd(-0x9f,-0xe4)]);_0x4cc7db++){const _0x446cda={};_0x446cda[_0x4b12dd(-0x10e,-0x1b1)]=_0x276005(0x18b,0xdb)+'LETE',_0x3fe6dc[_0x276005(_0x8b1bd6._0x4521eb,0x19c)](_0x446cda);}_0x4134a7[_0x276005(_0x8b1bd6._0x4b19a7,_0x8b1bd6._0x2e8e0d)](_0x43d48d,_0x3fe6dc);}}}const _0x1e462c={};_0x1e462c[_0x4b12dd(-0x27,_0x8b1bd6._0x46b2c8)+'e']=_0x4b7ffd[_0x4b12dd(0x22,_0x8b1bd6._0x322601)][_0x4b12dd(-0x98,-_0x8b1bd6._0x2ccf85)],_0x1e462c[_0x276005(0x1c3,0x18d)]=PHASES,_0x1e462c['actors']=_0x4134a7,_0x1e462c[_0x276005(_0x8b1bd6._0x4bb18a,0x204)+_0x276005(_0x8b1bd6._0x18515d,0xf8)]=null,_0x1e462c[_0x4b12dd(-_0x8b1bd6._0x5ed057,-_0x8b1bd6._0x3465c1)+'t']=_0x54024d;function _0x4b12dd(_0x5def1b,_0x462973){return _0x464c72(_0x5def1b- -_0x43b657._0x56cfc8,_0x462973);}activeEngine=_0x1e462c,await persistCurrentState();function _0x276005(_0x4cbd94,_0x141e7d){return _0x464c72(_0x141e7d-0xd1,_0x4cbd94);}console[_0x276005(0x15d,_0x8b1bd6._0x5c4c4a)](_0x1ee01e[_0x4b12dd(-0x15,_0x8b1bd6._0x3e2476)]);}export function stopEngine(){const _0x2a9754={_0x59a579:0x30e,_0x55f9d4:0x2ee,_0xa5884b:0x37b,_0x210307:0x296,_0x304a91:0x135,_0x3e56b6:0x1b6,_0x141359:0x24a,_0x32ccb5:0x1e1};function _0x3a7b2e(_0x490fe8,_0x18c7f8){return _0x1a3805(_0x490fe8,_0x18c7f8- -0x56b);}const _0x47eb63={};_0x47eb63[_0x3a7b2e(-0x228,-0x197)]=function(_0x36e586,_0x2a75af){return _0x36e586===_0x2a75af;},_0x47eb63[_0x373033(_0x2a9754._0x59a579,0x260)]=_0x373033(_0x2a9754._0x55f9d4,0x354);function _0x373033(_0x3086f4,_0x14490f){return _0x1a3805(_0x14490f,_0x3086f4- -0xf);}const _0x335dc6=_0x47eb63;if(!activeEngine)return;for(const [,_0xcac754]of activeEngine['actors']){_0x335dc6[_0x373033(0x3c5,_0x2a9754._0xa5884b)](_0x373033(0x31b,_0x2a9754._0x210307),'OEMfb')?_0xcac754['stop']():_0x212b8f=_0x3a7b2e(-_0x2a9754._0x304a91,-0x1bd);}activeEngine[_0x3a7b2e(-_0x2a9754._0x3e56b6,-0x138)+_0x3a7b2e(-_0x2a9754._0x141359,-0x244)]&&activeEngine['supervisor'+_0x373033(0x318,0x314)]['stop'](),activeEngine=null,console[_0x3a7b2e(-0x1a0,-_0x2a9754._0x32ccb5)](_0x335dc6['HukXx']);}export function getEngine(){return activeEngine;}export async function registerAgent(_0x4cc76e,_0x24de1e={}){const _0x295464={_0x5e7fee:0x459,_0x5bf798:0x219,_0x35cf90:0x4a0,_0x266e2f:0x179,_0x5b2f6a:0xce,_0x1a5e66:0x228,_0x10225b:0x9c,_0x35dff8:0x553,_0x52bcb4:0x4de,_0x1c2a3c:0x2f1,_0x2ef0b0:0x181,_0x4dde42:0x55e,_0x1e08bc:0x248,_0x243f5e:0x169,_0x2d23b0:0xbe,_0x5d48d8:0x4d6,_0x2d0a71:0x148,_0x4311c5:0x1cd,_0x2e52cb:0x1fc,_0x186606:0x19b,_0x34833d:0x2e9,_0x30f865:0x44e,_0xc458ab:0x3ea,_0x3b30df:0x4f7,_0x1ba003:0x268,_0x5ac7ed:0x5b9,_0x26f61d:0x52e,_0x2c3bc8:0x48f,_0x5370ae:0x25a,_0x5914db:0x4e2,_0x48b487:0x56b,_0x323672:0x3bb,_0x3c582f:0x254,_0x1f95e1:0x46e,_0x33d695:0x485,_0x452cb3:0x4fc,_0x47e23e:0x522,_0x454d74:0x4a7,_0xbcdadf:0x429,_0x3b4f24:0x44c,_0x1c4ff0:0x476},_0x80b56={_0x4ae135:0x137},_0x1ad23f={'tlbST':function(_0x5691d6){return _0x5691d6();},'JZfFe':_0x9019b0(_0x295464._0x5e7fee,0x48f)+_0x34ece5(_0x295464._0x5bf798,0x1ca)+_0x9019b0(0x4a9,_0x295464._0x35cf90),'PGHDs':_0x34ece5(0x1a1,0x1ee),'Csudl':_0x34ece5(_0x295464._0x266e2f,_0x295464._0x5b2f6a)},_0x476207=await _0x1ad23f[_0x34ece5(_0x295464._0x1a5e66,0x2d7)](readStateFile);if(!_0x476207){console['log'](_0x1ad23f[_0x34ece5(0x139,_0x295464._0x10225b)]);return;}if(_0x476207[_0x34ece5(0x1fc,0x297)][_0x4cc76e]){console[_0x9019b0(0x4a7,_0x295464._0x35dff8)](_0x9019b0(0x513,_0x295464._0x52bcb4)+_0x4cc76e+_0x34ece5(0x268,_0x295464._0x1c2a3c));return;}const _0x2a1ee9=_0x24de1e[_0x34ece5(0x169,0x1d2)]??_0x1ad23f[_0x34ece5(0x1d4,_0x295464._0x2ef0b0)],_0x1aba05=_0x24de1e[_0x9019b0(_0x295464._0x4dde42,0x578)]??null,_0x1897dd={};_0x1897dd['agentId']=_0x4cc76e,_0x1897dd[_0x9019b0(_0x295464._0x4dde42,0x523)]=_0x1aba05,_0x1897dd[_0x34ece5(_0x295464._0x1e08bc,0x1cc)]=[],_0x1897dd[_0x34ece5(_0x295464._0x243f5e,_0x295464._0x2d23b0)]=_0x2a1ee9,_0x1897dd[_0x9019b0(0x4b1,0x554)+_0x9019b0(0x4f0,_0x295464._0x5d48d8)]='',_0x1897dd[_0x34ece5(_0x295464._0x2d0a71,_0x295464._0x4311c5)+'ll']='';const _0xed7740=_0x1897dd;function _0x34ece5(_0x468741,_0xfca577){return _0x464c72(_0x468741-_0x80b56._0x4ae135,_0xfca577);}const _0x2f3710={..._0x476207[_0x34ece5(_0x295464._0x2e52cb,_0x295464._0x186606)]};_0x2f3710[_0x4cc76e]=_0xed7740;const _0x4c385d=_0x2f3710;if(_0x1aba05&&_0x4c385d[_0x1aba05]){const _0x19072b=_0x4c385d[_0x1aba05];if(!_0x19072b[_0x34ece5(_0x295464._0x1e08bc,_0x295464._0x34833d)][_0x9019b0(_0x295464._0x30f865,_0x295464._0xc458ab)](_0x4cc76e)){if(_0x1ad23f['Csudl']===_0x9019b0(0x45f,_0x295464._0x3b30df)){const _0x2005aa={..._0x19072b};_0x2005aa[_0x34ece5(_0x295464._0x1e08bc,0x2fa)]=[..._0x19072b[_0x34ece5(_0x295464._0x1e08bc,_0x295464._0x1ba003)],_0x4cc76e],_0x4c385d[_0x1aba05]=_0x2005aa;}else{const _0x2ed3f8=_0x4feb8b[_0x44c3d3[_0x9019b0(0x55e,_0x295464._0x5ac7ed)]];_0x1ac04f[_0x4e30d3['parentId']]={..._0x2ed3f8,'childIds':_0x2ed3f8[_0x9019b0(_0x295464._0x26f61d,0x532)][_0x9019b0(0x4b4,_0x295464._0x2c3bc8)](_0xcb84ad=>_0xcb84ad!==_0xcaa7d8)};}}}const _0x237eb2={};_0x237eb2[_0x34ece5(0x25a,0x2bc)]=_0x476207[_0x34ece5(_0x295464._0x5370ae,0x1ae)],_0x237eb2[_0x9019b0(_0x295464._0x5914db,_0x295464._0x48b487)]=_0x4c385d,_0x237eb2[_0x9019b0(0x53a,0x5e6)+_0x9019b0(0x46e,_0x295464._0x323672)]=_0x476207[_0x34ece5(_0x295464._0x3c582f,0x2ad)+_0x9019b0(_0x295464._0x1f95e1,_0x295464._0x33d695)],await writeStateFile(_0x237eb2);const _0x5b0924=PHASE_NAMES[_0x2a1ee9]??_0x2a1ee9;console['log']('✅\x20Agent\x20已注'+_0x9019b0(_0x295464._0x452cb3,_0x295464._0x47e23e)+_0x4cc76e);function _0x9019b0(_0x2304ce,_0xaaff80){return _0x464c72(_0x2304ce-0x41d,_0xaaff80);}console[_0x9019b0(_0x295464._0x454d74,0x460)](_0x9019b0(0x4a2,_0x295464._0xbcdadf)+_0x5b0924);if(_0x1aba05)console[_0x9019b0(0x4a7,_0x295464._0x3b4f24)](_0x9019b0(_0x295464._0xbcdadf,_0x295464._0x1c4ff0)+':\x20'+_0x1aba05);}export async function deregisterAgent(_0xde858f){const _0x4ed345={_0x21e19c:0x5d,_0x1a5868:0x46e,_0x2f405c:0x5d9,_0x1547c4:0x4f0,_0x3fa2d7:0x515,_0x46e218:0x1,_0x4e07ca:0x38,_0x554651:0x402,_0x5d7fc4:0x3e,_0x2d805d:0x52f,_0x3a8072:0x5a7,_0x4c8a7c:0x4ff,_0x45df2a:0x577,_0x41fb1e:0x5d1,_0x33cdc1:0x53e,_0x16d864:0x52e,_0x5f4c12:0x498,_0x17adc5:0x93,_0x53a0fe:0x4e1,_0x21617d:0x28,_0x34fca0:0x4b7,_0x17e4d1:0x4b2,_0x57b31e:0x51,_0x4a06b8:0x38,_0x56456a:0xc},_0x4ae4b8={_0x39bc09:0x3f5},_0x408eef={};_0x408eef[_0x288833(-_0x4ed345._0x21e19c,-0x64)]=_0x2901cd(0x4a2,_0x4ed345._0x1a5868),_0x408eef['LebdQ']=function(_0x20ed67,_0x4e1ff5){return _0x20ed67>_0x4e1ff5;};function _0x288833(_0x3ee1cc,_0x5e1882){return _0x1a3805(_0x5e1882,_0x3ee1cc- -_0x4ae4b8._0x39bc09);}const _0x41006c=_0x408eef,_0x50ec5a=await readStateFile();if(!_0x50ec5a){console['log'](_0x41006c['wlBhw']);return;}if(!_0x50ec5a[_0x2901cd(0x52b,_0x4ed345._0x2f405c)][_0xde858f]){console[_0x2901cd(_0x4ed345._0x1547c4,_0x4ed345._0x3fa2d7)](_0x288833(_0x4ed345._0x46e218,_0x4ed345._0x4e07ca)+_0xde858f+_0x2901cd(0x496,_0x4ed345._0x554651));return;}const _0x1b0967=_0x50ec5a['agents'][_0xde858f],_0x2ed413={..._0x50ec5a[_0x288833(-0x30,_0x4ed345._0x5d7fc4)]},_0x309b39=_0x2ed413;delete _0x309b39[_0xde858f];if(_0x1b0967[_0x288833(0x4c,0x5)]&&_0x309b39[_0x1b0967['parentId']]){const _0x2ff858=_0x309b39[_0x1b0967[_0x2901cd(0x5a7,_0x4ed345._0x2d805d)]];_0x309b39[_0x1b0967[_0x2901cd(_0x4ed345._0x3a8072,_0x4ed345._0x4c8a7c)]]={..._0x2ff858,'childIds':_0x2ff858[_0x2901cd(_0x4ed345._0x45df2a,_0x4ed345._0x41fb1e)]['filter'](_0x204f8e=>_0x204f8e!==_0xde858f)};}const _0x48f220=Object[_0x2901cd(_0x4ed345._0x33cdc1,_0x4ed345._0x16d864)](_0x309b39);function _0x2901cd(_0xe04661,_0x15fffe){return _0x1a3805(_0x15fffe,_0xe04661-0x166);}let _0x21325e='completed';for(const _0x585bcf of _0x48f220){if(_0x309b39[_0x585bcf][_0x2901cd(_0x4ed345._0x5f4c12,0x488)]!==_0x288833(-0x47,-_0x4ed345._0x17adc5)){_0x21325e=_0x309b39[_0x585bcf][_0x288833(-0xc3,-0x8b)];break;}}await writeStateFile({'project':{..._0x50ec5a['project'],'currentPhase':_0x41006c[_0x2901cd(_0x4ed345._0x53a0fe,0x469)](_0x48f220[_0x2901cd(0x4c8,0x4a6)],0x20*-0xbf+0x13f4+0x3ec)?_0x21325e:'idle'},'agents':_0x309b39,'machineSnapshot':_0x50ec5a[_0x288833(_0x4ed345._0x21617d,-0x38)+_0x2901cd(_0x4ed345._0x34fca0,_0x4ed345._0x17e4d1)]}),console[_0x288833(-0x6b,-0x4d)](_0x288833(-_0x4ed345._0x57b31e,-_0x4ed345._0x4a06b8)+_0x288833(-0x3,_0x4ed345._0x56456a)+_0xde858f);}function detectInputType(_0x2ae400){const _0x373ba2={_0x2baedb:0x2fb,_0x406a71:0x24b,_0x5122ea:0x1ce};function _0x2981ce(_0x7fb8dd,_0x5636f9){return _0x464c72(_0x5636f9-0x28e,_0x7fb8dd);}if(/^https?:\/\/github\.com\//['test'](_0x2ae400))return _0x2981ce(_0x373ba2._0x2baedb,0x312);if(/^https?:\/\//['test'](_0x2ae400))return _0x2981ce(_0x373ba2._0x406a71,0x2a0)+'l';if(_0x2ae400['length']>-0xa01+0x19f*-0x11+0x1*0x259a)return _0x5c9b7f(-0x14a,-0x9e)+'t';function _0x5c9b7f(_0x3e065d,_0x524877){return _0x464c72(_0x3e065d- -0x231,_0x524877);}return _0x5c9b7f(-0x11e,-_0x373ba2._0x5122ea);}const _0x26eb69={};_0x26eb69['requiremen'+'t']=_0x1a3805(0x2e5,0x35f),_0x26eb69['github_url']='GitHub\x20仓库',_0x26eb69[_0x464c72(0x12,-0x4b)+'l']='网站\x20URL',_0x26eb69[_0x464c72(0x113,0x134)]=_0x1a3805(0x326,0x392);function _0x1a3805(_0x118b19,_0x26a38a){const _0x5bf2fb={_0x197708:0x247};return _0x2803(_0x26a38a-_0x5bf2fb._0x197708,_0x118b19);}const INPUT_TYPE_NAMES=_0x26eb69;async function readStateFile(){const _0x3047aa={_0x23c607:0x205},_0x1ebdc3={_0xd8462f:0xb3},_0x114305={'XAwba':function(_0x2e8aed,_0x1f72eb){return _0x2e8aed(_0x1f72eb);}};function _0x4793ed(_0x1f9964,_0x52e932){return _0x464c72(_0x1f9964-_0x1ebdc3._0xd8462f,_0x52e932);}if(!_0x114305['XAwba'](existsSync,STATE_FILE_PATH))return null;const _0x5c72d4=new StateFileManager(STATE_FILE_PATH);return _0x5c72d4[_0x4793ed(_0x3047aa._0x23c607,0x1bf)]();}async function writeStateFile(_0x5c6cbc){const _0x930a8f={_0x39f544:0x113,_0x254eaf:0x29c,_0x1fed63:0x310,_0x13d3d9:0x151,_0x4fcf47:0x38f,_0x73041d:0x3df,_0x5de30f:0x209,_0xefa882:0x168,_0x294d2b:0x455,_0x5c9534:0x3c8},_0x18361e={_0x32f9a7:0x1c},_0x1ea744={_0x406115:0x110},_0x7d59d={};function _0x12d67e(_0x34d093,_0xb4de5d){return _0x464c72(_0x34d093-_0x1ea744._0x406115,_0xb4de5d);}_0x7d59d[_0x12d67e(0x151,_0x930a8f._0x39f544)]=_0x12d67e(0x1f0,_0x930a8f._0x254eaf),_0x7d59d[_0x18e693(0x2b2,_0x930a8f._0x1fed63)]=function(_0x3615a1,_0x569007){return _0x3615a1 instanceof _0x569007;};function _0x18e693(_0x5d9426,_0x43f6c4){return _0x1a3805(_0x5d9426,_0x43f6c4- -_0x18361e._0x32f9a7);}_0x7d59d[_0x18e693(0x36f,0x339)]=function(_0x3dd3dd,_0x21bec2){return _0x3dd3dd-_0x21bec2;};const _0x1fe1b2=_0x7d59d;for(let _0xf695a4=-0x2a9*-0xb+0x445*0x1+0x74*-0x4a;_0xf695a4<MAX_RETRIES;_0xf695a4++){if(_0x1fe1b2[_0x12d67e(_0x930a8f._0x13d3d9,0x1ea)]!=='hkxaj')try{const _0x363d8b=new StateFileManager(STATE_FILE_PATH);await _0x363d8b['read'](),await _0x363d8b[_0x18e693(_0x930a8f._0x4fcf47,_0x930a8f._0x73041d)](_0x5c6cbc);return;}catch(_0x42e087){if(_0x1fe1b2['IslhS'](_0x42e087,Error)&&_0x42e087[_0x18e693(0x372,0x365)][_0x12d67e(0x141,0x12b)](_0x12d67e(_0x930a8f._0x5de30f,_0x930a8f._0xefa882))&&_0xf695a4<_0x1fe1b2['DxKrg'](MAX_RETRIES,0x2180+-0x2140+-0x3f)){await new Promise(_0x43450b=>setTimeout(_0x43450b,0xc4a+-0x22b0+-0x4*-0x5a6+Math[_0x12d67e(0x252,0x2fd)]()*(0x365+0x7*-0x36f+0x2a1*0x8)));continue;}throw _0x42e087;}else _0x3e452f[_0x12d67e(0x19a,0x24b)](_0x18e693(_0x930a8f._0x294d2b,_0x930a8f._0x5c9534));}}export async function newProject(_0x3c052f){const _0x1f9e0c={_0x460b40:0x354,_0x36c6d8:0x3b,_0x192290:0x35,_0x15a460:0xd1,_0x43fd70:0x420,_0x246541:0x482,_0x3bf52c:0xa,_0x28ea4a:0x2fb,_0x425a10:0x366,_0x5e7f2d:0x353,_0x253bb0:0xe4,_0x12d92f:0x57,_0x4e85ec:0x3af,_0x41eb8c:0x45,_0x5c80b5:0x54,_0x5d9f5c:0x32b,_0xdbda45:0x374,_0x2720a5:0x308,_0x266c6f:0x374,_0x1d4f3b:0x6,_0x5b2d26:0x46f,_0x731f3f:0x3f9,_0x57ef20:0x42f},_0x39e454={_0x22f7ae:0x16},_0x1fa4bd={_0x2eb808:0xc9},_0x3f6541={'EUUQl':'.specops','HQVji':function(_0x530033,_0x3fd08c){return _0x530033(_0x3fd08c);},'yJRpZ':function(_0x246628,_0x6d7634,_0x15c2af){return _0x246628(_0x6d7634,_0x15c2af);},'CAGpO':function(_0x315792){return _0x315792();},'lsWmL':_0x4d1107(0x3c7,_0x1f9e0c._0x460b40)},_0x1cae23=resolve(process[_0x1c66fb(-_0x1f9e0c._0x36c6d8,0x3)](),_0x3f6541[_0x4d1107(0x2b2,0x306)]);if(!_0x3f6541['HQVji'](existsSync,_0x1cae23)){const _0x3480c1={};_0x3480c1[_0x1c66fb(-_0x1f9e0c._0x192290,-_0x1f9e0c._0x15a460)]=!![],_0x3f6541['yJRpZ'](mkdirSync,_0x1cae23,_0x3480c1);}const _0x473338=_0x3f6541[_0x4d1107(_0x1f9e0c._0x43fd70,0x373)](generateAgentId),_0x2fc0ef={};_0x2fc0ef[_0x4d1107(0x2f6,0x2e0)]=_0x473338,_0x2fc0ef[_0x4d1107(_0x1f9e0c._0x246541,0x42b)]=null,_0x2fc0ef['childIds']=[],_0x2fc0ef[_0x4d1107(0x2fc,0x31c)]=_0x3f6541[_0x1c66fb(-0x4f,-0xa7)],_0x2fc0ef[_0x1c66fb(-0x7,-0x35)+_0x1c66fb(-0x38,_0x1f9e0c._0x3bf52c)]='';function _0x1c66fb(_0x40ab84,_0x2eacbc){return _0x464c72(_0x2eacbc- -_0x1fa4bd._0x2eb808,_0x40ab84);}_0x2fc0ef[_0x4d1107(0x376,_0x1f9e0c._0x28ea4a)+'ll']='';const _0x474029=_0x2fc0ef,_0x3398eb={};_0x3398eb[_0x4d1107(_0x1f9e0c._0x425a10,_0x1f9e0c._0x5e7f2d)]=_0x3c052f,_0x3398eb['currentPha'+'se']=_0x3f6541[_0x1c66fb(-_0x1f9e0c._0x253bb0,-0xa7)];const _0x1756eb={};_0x1756eb[_0x473338]=_0x474029;const _0x1c08f2={};_0x1c08f2[_0x1c66fb(-_0x1f9e0c._0x12d92f,0x5a)]=_0x3398eb,_0x1c08f2[_0x4d1107(0x40b,_0x1f9e0c._0x4e85ec)]=_0x1756eb,_0x1c08f2[_0x1c66fb(-_0x1f9e0c._0x41eb8c,_0x1f9e0c._0x5c80b5)+'pshot']=null,await writeStateFile(_0x1c08f2),console[_0x4d1107(_0x1f9e0c._0x5d9f5c,_0x1f9e0c._0xdbda45)](_0x4d1107(0x3cc,0x397)+_0x3c052f),console['log']('\x20\x20\x20目录:\x20'+_0x1cae23),console['log'](_0x1c66fb(-0x2e,0x21)+'t:\x20'+_0x473338);function _0x4d1107(_0x30f25f,_0x1272c9){return _0x1a3805(_0x30f25f,_0x1272c9- -_0x39e454._0x22f7ae);}console[_0x4d1107(_0x1f9e0c._0x2720a5,_0x1f9e0c._0x266c6f)](_0x1c66fb(_0x1f9e0c._0x1d4f3b,-0xb)+PIPELINE_PHASES[_0x4d1107(_0x1f9e0c._0x5b2d26,_0x1f9e0c._0x731f3f)](_0x5d2d5e=>PHASE_NAMES[_0x5d2d5e]??_0x5d2d5e)[_0x4d1107(0x3f1,_0x1f9e0c._0x57ef20)](_0x4d1107(0x335,0x2f0))+'\x0a');}export async function discussPhase(_0x1d9bfc){const _0x5cb820={_0x179e20:0x17f,_0x26d95c:0x1bc,_0x53d73b:0x1e8,_0x36cf5b:0x14a,_0x56b72e:0x5,_0x42b780:0x25,_0x5858d1:0x70,_0x32b9a8:0xed,_0x2783fa:0x91,_0x432e31:0xa3,_0xf2f469:0xa,_0x1343d9:0x31,_0x504a99:0x82,_0x2ea9f0:0x62,_0x17ca56:0x7,_0x1fd918:0x2b,_0x5e86c9:0x28,_0xa1106e:0x6,_0x43a81c:0x221,_0xd107c1:0xaa,_0x390f7b:0x7b,_0x5c1f74:0x10d,_0x815e72:0xf4,_0x595e58:0x37,_0x2b9bc4:0x102,_0x3a37d5:0xf9,_0x343559:0x8f,_0xa68225:0xfb,_0x2a0707:0x43,_0x52231d:0x16e,_0x4ace6c:0x16e,_0x281c4e:0x10e,_0x1b250c:0x99,_0x1af312:0x2b,_0x313772:0x27,_0x900be1:0x1bb,_0x20444b:0xd},_0x36c1f2={_0x3f1472:0x4f8},_0x1414af={_0xdc0704:0x394},_0xa6e22f={'tEXWF':_0x59417d(-0x14d,-_0x5cb820._0x179e20),'UBpxu':function(_0x509635,_0x2a86a9){return _0x509635??_0x2a86a9;},'YMwAm':'discuss','laXHx':function(_0x10c94a){return _0x10c94a();},'qvLLW':_0x59417d(-_0x5cb820._0x26d95c,-0x119)+',请先运行\x20new-'+_0x59417d(-0x16c,-_0x5cb820._0x53d73b),'KsoTi':function(_0x199ba9,_0x20c9e2){return _0x199ba9!==_0x20c9e2;},'NivZt':_0x59417d(-_0x5cb820._0x36cf5b,-0xc8)},_0x23c608=_0xa6e22f[_0x268be6(_0x5cb820._0x56b72e,_0x5cb820._0x42b780)](_0x1d9bfc,_0xa6e22f[_0x268be6(-_0x5cb820._0x5858d1,-_0x5cb820._0x32b9a8)]),_0x8f78c1=await _0xa6e22f[_0x268be6(_0x5cb820._0x2783fa,_0x5cb820._0x432e31)](readStateFile);function _0x268be6(_0x65476a,_0x5f037b){return _0x1a3805(_0x5f037b,_0x65476a- -_0x1414af._0xdc0704);}if(!_0x8f78c1){console[_0x268be6(-_0x5cb820._0xf2f469,-0x9f)](_0xa6e22f[_0x268be6(-_0x5cb820._0x1343d9,_0x5cb820._0x504a99)]);return;}const _0x5af5cc=_0x8f78c1['agents'];for(const _0x26052b of Object['keys'](_0x5af5cc)){if(_0xa6e22f['KsoTi'](_0x5af5cc[_0x26052b][_0x268be6(-_0x5cb820._0x2ea9f0,-0x116)],_0xa6e22f[_0x268be6(-0x1a,0x4a)])){if('cbOWx'==='eLdJX'){const _0x4a839e={};_0x4a839e[_0x268be6(-_0x5cb820._0x17ca56,-_0x5cb820._0x1fd918)]=_0xa6e22f[_0x268be6(-_0x5cb820._0x5e86c9,_0x5cb820._0xa1106e)];const _0x202a7a={};_0x202a7a[_0x59417d(-0x205,-_0x5cb820._0x43a81c)]='CHILD_COMP'+_0x59417d(-_0x5cb820._0xd107c1,-_0x5cb820._0x390f7b),_0x202a7a[_0x59417d(-_0x5cb820._0x5c1f74,-0x139)]=_0x439ffa,_0x202a7a[_0x268be6(0xc0,_0x5cb820._0x815e72)]=_0x4a839e,_0x1b4850['supervisor'+'Actor'][_0x268be6(_0x5cb820._0x595e58,0xa0)](_0x202a7a);}else _0x5af5cc[_0x26052b]={..._0x5af5cc[_0x26052b],'phase':_0x23c608};}}const _0x2bf4be={};_0x2bf4be[_0x59417d(-0x18f,-0x234)]=_0x8f78c1[_0x268be6(0x8f,_0x5cb820._0x2b9bc4)]['name'],_0x2bf4be[_0x268be6(-0x84,-_0x5cb820._0x3a37d5)+'se']=_0x23c608;const _0x20bdda={};_0x20bdda[_0x268be6(_0x5cb820._0x343559,_0x5cb820._0xa68225)]=_0x2bf4be,_0x20bdda[_0x59417d(-0x133,-0x19c)]=_0x5af5cc;function _0x59417d(_0x311a0e,_0x55c5f2){return _0x1a3805(_0x55c5f2,_0x311a0e- -_0x36c1f2._0x3f1472);}_0x20bdda['machineSna'+_0x268be6(-_0x5cb820._0x2a0707,-0x98)]=null,await writeStateFile(_0x20bdda);const _0x5a737f=PHASE_NAMES[_0x23c608]??_0x23c608;console[_0x59417d(-_0x5cb820._0x52231d,-0x109)]('\x0a💬\x20进入讨论阶段:'+'\x20'+_0x5a737f),console[_0x59417d(-_0x5cb820._0x4ace6c,-_0x5cb820._0x281c4e)]('\x20\x20\x20项目:\x20'+_0x8f78c1[_0x268be6(0x8f,_0x5cb820._0x1b250c)][_0x268be6(-_0x5cb820._0x1af312,-0xab)]),console[_0x59417d(-0x16e,-0x144)](_0x268be6(0x45,_0x5cb820._0x313772)+_0x5a737f),console[_0x59417d(-_0x5cb820._0x52231d,-_0x5cb820._0x900be1)]('\x20\x20\x20提示:\x20在此阶'+_0x268be6(0x48,_0x5cb820._0x20444b)+'\x0a');}export async function planPhase(_0x1e6cc5){const _0x14c01e={_0x14ff2f:0x2c4,_0x599043:0x286,_0x317fa2:0x2bf,_0x11a8d1:0x2c7,_0x3892fc:0x32b,_0x1ff493:0x30b,_0x2e3fe5:0x2f8,_0xecca10:0x331,_0x5f5551:0x225,_0xb1a597:0x35f,_0x2ac71b:0x38f,_0x359625:0x382,_0x1cc908:0x2d5,_0x1e9481:0x3d0,_0x32f118:0x1d7,_0xd75e1a:0x1f7,_0x7d05ba:0x21d,_0x14f153:0x31f,_0x5d8b7d:0x21a,_0x296954:0x397,_0x4bffec:0x2f6,_0x5bc109:0x361,_0x4db49f:0x2ef,_0x2fd79d:0x2f6,_0x4960b5:0x227,_0x3d6f77:0x27f,_0x43853f:0x365},_0x190e6d={_0x326bfa:0x26c},_0x1b5732={_0x1e09f3:0x1a6},_0x3fb435={'nAbnA':function(_0x3b5d83,_0x1a3b66){return _0x3b5d83??_0x1a3b66;},'heOlv':function(_0x908573,_0x1d69fb){return _0x908573===_0x1d69fb;},'rCOVB':'nwkLq','gjwrw':'jYbCd','gbEwK':function(_0x2aa807,_0x385f55){return _0x2aa807(_0x385f55);}},_0x5a31c3=_0x3fb435[_0x44db2b(0x2e6,_0x14c01e._0x14ff2f)](_0x1e6cc5,_0x44db2b(_0x14c01e._0x599043,_0x14c01e._0x317fa2)),_0x3d981b=await readStateFile();if(!_0x3d981b){if(_0x3fb435['heOlv'](_0x3fb435[_0x35c77b(_0x14c01e._0x11a8d1,_0x14c01e._0x3892fc)],_0x3fb435[_0x44db2b(_0x14c01e._0x1ff493,0x2f2)]))return _0x1caec8;else{console[_0x35c77b(0x320,0x2f6)](_0x44db2b(0x151,0x1e2)+_0x44db2b(0x21d,0x288)+_0x35c77b(0x33a,_0x14c01e._0x2e3fe5));return;}}const _0x34eaf7=_0x3d981b[_0x35c77b(0x298,_0x14c01e._0xecca10)];for(const _0x595935 of Object['keys'](_0x34eaf7)){_0x34eaf7[_0x595935][_0x35c77b(0x227,0x29e)]!==_0x44db2b(_0x14c01e._0x5f5551,0x254)&&(_0x34eaf7[_0x595935]={..._0x34eaf7[_0x595935],'phase':_0x5a31c3});}const _0xbb1a31={};_0xbb1a31[_0x35c77b(0x264,0x2d5)]=_0x3d981b[_0x35c77b(_0x14c01e._0xb1a597,_0x14c01e._0x2ac71b)][_0x35c77b(_0x14c01e._0x359625,_0x14c01e._0x1cc908)],_0xbb1a31['currentPha'+'se']=_0x5a31c3;const _0x14760d={};_0x14760d['project']=_0xbb1a31,_0x14760d[_0x35c77b(_0x14c01e._0x1e9481,0x331)]=_0x34eaf7,_0x14760d['machineSna'+_0x44db2b(_0x14c01e._0x32f118,_0x14c01e._0xd75e1a)]=null,await _0x3fb435[_0x44db2b(_0x14c01e._0x11a8d1,_0x14c01e._0x7d05ba)](writeStateFile,_0x14760d);function _0x44db2b(_0x2d16cf,_0x5b2f91){return _0x464c72(_0x5b2f91-_0x1b5732._0x1e09f3,_0x2d16cf);}const _0x9c5bed=PHASE_NAMES[_0x5a31c3]??_0x5a31c3;function _0x35c77b(_0x164ee3,_0x1ac469){return _0x464c72(_0x1ac469-_0x190e6d._0x326bfa,_0x164ee3);}console[_0x35c77b(_0x14c01e._0x14f153,0x2f6)](_0x44db2b(0x232,_0x14c01e._0x5d8b7d)+'\x20'+_0x9c5bed),console[_0x35c77b(_0x14c01e._0x296954,_0x14c01e._0x4bffec)](_0x35c77b(0x1fd,0x279)+_0x3d981b[_0x44db2b(_0x14c01e._0x5bc109,0x2c9)]['name']),console[_0x35c77b(_0x14c01e._0x4db49f,_0x14c01e._0x2fd79d)](_0x44db2b(_0x14c01e._0x4960b5,_0x14c01e._0x3d6f77)+_0x9c5bed),console[_0x35c77b(0x2b0,0x2f6)](_0x35c77b(0x271,0x2a4)+_0x44db2b(_0x14c01e._0x43853f,0x2e6)+'\x0a');}export async function executePhase(_0x337b5d){const _0x1acfc8={_0x3bf058:0x73,_0x28bc35:0x82,_0x5a4e69:0x23,_0x42f4d2:0x3d,_0x20d2b9:0x90,_0x112f15:0x15,_0x437539:0x42,_0x2189a5:0x5f,_0x3a0f78:0xcd,_0x2be222:0x2e,_0x458182:0xde,_0x4eb4d5:0x71,_0x3039d4:0x1c,_0x440df9:0xa3,_0x3fad5c:0x30,_0x192b0a:0x16,_0x84bb98:0x6f,_0xb5afc0:0x124,_0x388b44:0x123,_0x510c9b:0x15c,_0x47f887:0x90,_0x3ef1d1:0xdc,_0x59cff5:0x1d,_0x52ee5d:0x41,_0x2fc1c9:0x6f,_0x397690:0xb,_0x51ddce:0x82,_0x36d287:0xef,_0x5ef3db:0xf4,_0x3a057b:0x113},_0x254b26={'thGWv':function(_0x52d773){return _0x52d773();},'swjzD':_0x3b24b0(0x8,_0x1acfc8._0x3bf058),'AnZtX':function(_0x2788f2,_0x425f27){return _0x2788f2!==_0x425f27;},'soHXO':'completed'};function _0x1f6c12(_0x1ce8a6,_0x46c3a2){return _0x464c72(_0x1ce8a6-0x6,_0x46c3a2);}const _0x51e4b4=_0x337b5d??_0x3b24b0(-0x5f,-0xa9),_0x183afd=await _0x254b26[_0x1f6c12(_0x1acfc8._0x28bc35,0x2f)](readStateFile);if(!_0x183afd){if(_0x3b24b0(-0xb,-_0x1acfc8._0x5a4e69)===_0x254b26[_0x1f6c12(_0x1acfc8._0x42f4d2,-0x4a)]){_0x2abba9[_0x1f6c12(_0x1acfc8._0x20d2b9,-_0x1acfc8._0x112f15)](_0x1f6c12(_0x1acfc8._0x437539,-_0x1acfc8._0x2189a5));return;}else{console['log']('⚠️\x20\x20状态文件不存在'+_0x3b24b0(_0x1acfc8._0x3a0f78,_0x1acfc8._0x2be222)+_0x3b24b0(-0x9b,-0x28));return;}}const _0x528d64=_0x183afd['agents'];for(const _0x45b043 of Object[_0x1f6c12(_0x1acfc8._0x458182,0x4b)](_0x528d64)){if(_0x254b26[_0x1f6c12(_0x1acfc8._0x4eb4d5,_0x1acfc8._0x20d2b9)](_0x1f6c12(0x8d,0x90),_0x1f6c12(_0x1acfc8._0x3039d4,_0x1acfc8._0x440df9)))_0x528d64[_0x45b043][_0x1f6c12(0x38,-_0x1acfc8._0x3fad5c)]!==_0x254b26[_0x3b24b0(0x59,0x34)]&&(_0x528d64[_0x45b043]={..._0x528d64[_0x45b043],'phase':_0x51e4b4});else{const _0x1a5023=_0x2e8d61[_0x2d4909][_0x3b24b0(-_0x1acfc8._0x192b0a,-0x82)];_0x299685[_0x1a5023]=(_0x3ed536[_0x1a5023]??-0x2014*-0x1+-0x1a70*-0x1+0x46*-0xd6)+(0x220f+0x1e2a+-0x3*0x1568);}}function _0x3b24b0(_0x1dbbcd,_0xfdc2ab){return _0x1a3805(_0x1dbbcd,_0xfdc2ab- -0x3b4);}const _0x18d64d={};_0x18d64d[_0x1f6c12(0x6f,0xa4)]=_0x183afd[_0x3b24b0(0x94,0x6f)][_0x1f6c12(_0x1acfc8._0x84bb98,0x55)],_0x18d64d[_0x3b24b0(-0xf8,-0xa4)+'se']=_0x51e4b4;const _0x557f74={};_0x557f74[_0x3b24b0(0x60,0x6f)]=_0x18d64d,_0x557f74[_0x1f6c12(0xcb,_0x1acfc8._0xb5afc0)]=_0x528d64,_0x557f74[_0x1f6c12(_0x1acfc8._0x388b44,_0x1acfc8._0x510c9b)+'pshot']=null,await writeStateFile(_0x557f74);const _0x293c06=PHASE_NAMES[_0x51e4b4]??_0x51e4b4;console[_0x1f6c12(_0x1acfc8._0x47f887,_0x1acfc8._0x3ef1d1)](_0x3b24b0(-0x4f,-0x42)+'\x20'+_0x293c06),console[_0x1f6c12(_0x1acfc8._0x47f887,_0x1acfc8._0x59cff5)]('\x20\x20\x20项目:\x20'+_0x183afd[_0x3b24b0(-_0x1acfc8._0x52ee5d,_0x1acfc8._0x2fc1c9)][_0x3b24b0(-0x1a,-0x4b)]),console[_0x1f6c12(_0x1acfc8._0x47f887,0x1a)](_0x3b24b0(_0x1acfc8._0x397690,0x25)+_0x293c06),console[_0x3b24b0(_0x1acfc8._0x51ddce,-0x2a)](_0x3b24b0(-_0x1acfc8._0x36d287,-0x7c)+_0x1f6c12(_0x1acfc8._0x5ef3db,_0x1acfc8._0x3a057b));}export async function verifyPhase(_0x4eed0e){const _0x2ddc26={_0x34c184:0x2d3,_0x20ec7f:0x31c,_0x21a483:0x32c,_0x5ba6dd:0x372,_0x560930:0x471,_0x2dfe1b:0x3fb,_0x4b9276:0x317,_0x1afc59:0x276,_0xbe1880:0x2c4,_0x2a925d:0x31a,_0x24aeae:0x2e7,_0x21e115:0x4d3,_0x53c955:0x2dd,_0x395c6b:0x508,_0x669718:0x4e2,_0x4e3cf8:0x261,_0x2f45bd:0x237,_0x4f222b:0x203,_0x310662:0x240,_0x213898:0x284,_0x292832:0x2aa,_0x45bcf7:0x439,_0x99fc06:0x4ea,_0x5f2560:0x24a,_0x3b1cab:0x4d2,_0x1cfd42:0x4e1,_0x3449e6:0x2a3,_0x49397b:0x261,_0x422ce4:0x3f5,_0x1206e4:0x4b8,_0x4275eb:0x32a,_0x5a07d3:0x247,_0x639fd8:0x4d2,_0xca6035:0x4ff,_0xbba900:0x488,_0x2e8251:0x2c4,_0x20efba:0x2e1,_0x51794b:0x4d5},_0x54ff4a={'gHaLH':function(_0x50a6aa,_0x2dd83d){return _0x50a6aa??_0x2dd83d;},'RsfIA':function(_0x5a8d31){return _0x5a8d31();},'FIDzf':function(_0x1a6816,_0x287b6a){return _0x1a6816!==_0x287b6a;},'SwLQR':'XCOeO','SEEVG':_0x1fad15(0x276,_0x2ddc26._0x34c184)+_0x1fad15(_0x2ddc26._0x20ec7f,_0x2ddc26._0x21a483)+'project\x20命令','QKATm':_0x1fad15(_0x2ddc26._0x5ba6dd,0x413),'KxiFw':_0x2448c4(0x4d5,_0x2ddc26._0x560930),'vqwKJ':_0x2448c4(0x3b4,0x304),'oNwlT':function(_0x199dc1,_0xa0d51){return _0x199dc1(_0xa0d51);}},_0x4d3bf2=_0x54ff4a['gHaLH'](_0x4eed0e,_0x2448c4(0x3ca,_0x2ddc26._0x2dfe1b)),_0x42182f=await _0x54ff4a[_0x1fad15(0x35a,0x3a3)](readStateFile);if(!_0x42182f){if(_0x54ff4a['FIDzf'](_0x54ff4a[_0x2448c4(0x48c,0x43e)],_0x54ff4a[_0x1fad15(_0x2ddc26._0x4b9276,_0x2ddc26._0x1afc59)]))_0x276303=_0x1696a7[-0x19ea+0x1ec7+0x1*-0x4dd];else{console[_0x1fad15(_0x2ddc26._0xbe1880,_0x2ddc26._0x2a925d)](_0x54ff4a['SEEVG']);return;}}const _0x3465c8=_0x42182f[_0x1fad15(0x2ff,_0x2ddc26._0x24aeae)];for(const _0x2e177c of Object['keys'](_0x3465c8)){if(_0x54ff4a[_0x2448c4(_0x2ddc26._0x21e115,0x575)]===_0x54ff4a[_0x1fad15(_0x2ddc26._0x53c955,0x2c4)]){if(!_0x41d787)return;for(const [,_0x3df54c]of _0x9e8f43[_0x2448c4(0x4bc,_0x2ddc26._0x395c6b)]){_0x3df54c['stop']();}_0x143100[_0x2448c4(_0x2ddc26._0x669718,0x468)+_0x1fad15(0x261,0x242)]&&_0x2abc2a[_0x2448c4(0x4e2,0x486)+_0x1fad15(_0x2ddc26._0x4e3cf8,0x1d6)][_0x2448c4(0x3f3,0x486)](),_0x52b1ce=null,_0x246b8c['log'](_0x1fad15(_0x2ddc26._0x2f45bd,_0x2ddc26._0x4f222b));}else{if(_0x54ff4a[_0x1fad15(0x2ee,_0x2ddc26._0x310662)](_0x3465c8[_0x2e177c]['phase'],_0x1fad15(0x2e8,_0x2ddc26._0x213898))){if(_0x54ff4a[_0x2448c4(0x463,0x483)](_0x54ff4a[_0x1fad15(0x34f,_0x2ddc26._0x292832)],'FtZjx'))_0x3465c8[_0x2e177c]={..._0x3465c8[_0x2e177c],'phase':_0x4d3bf2};else{_0x228ad1[_0x2448c4(_0x2ddc26._0x45bcf7,_0x2ddc26._0x99fc06)](_0x1fad15(0x276,_0x2ddc26._0x5f2560));return;}}}}function _0x2448c4(_0x13b291,_0x115306){return _0x1a3805(_0x115306,_0x13b291-0xaf);}const _0x245452={};_0x245452[_0x2448c4(0x418,0x46f)]=_0x42182f[_0x2448c4(_0x2ddc26._0x3b1cab,_0x2ddc26._0x1cfd42)][_0x1fad15(_0x2ddc26._0x3449e6,_0x2ddc26._0x49397b)],_0x245452['currentPha'+'se']=_0x4d3bf2;const _0x1e8f49={};_0x1e8f49[_0x2448c4(_0x2ddc26._0x3b1cab,0x484)]=_0x245452,_0x1e8f49['agents']=_0x3465c8;function _0x1fad15(_0x2c42bb,_0x348e1d){return _0x464c72(_0x2c42bb-0x23a,_0x348e1d);}_0x1e8f49[_0x1fad15(0x357,_0x2ddc26._0x422ce4)+'pshot']=null,await _0x54ff4a[_0x2448c4(_0x2ddc26._0x1206e4,0x451)](writeStateFile,_0x1e8f49);const _0x44d8ab=PHASE_NAMES[_0x4d3bf2]??_0x4d3bf2;console['log'](_0x2448c4(0x3a0,_0x2ddc26._0x4275eb)+'\x20'+_0x44d8ab),console['log'](_0x1fad15(_0x2ddc26._0x5a07d3,0x2c3)+_0x42182f[_0x2448c4(_0x2ddc26._0x639fd8,_0x2ddc26._0xca6035)][_0x2448c4(0x418,0x3d8)]),console[_0x1fad15(0x2c4,0x311)](_0x2448c4(_0x2ddc26._0xbba900,0x4ea)+_0x44d8ab),console[_0x1fad15(_0x2ddc26._0x2e8251,_0x2ddc26._0x20efba)](_0x2448c4(0x3e7,0x460)+_0x2448c4(0x43d,_0x2ddc26._0x51794b)+'\x0a');}export async function analyzeInput(_0x451c56){const _0x17a168={_0x5a792d:0x1e7,_0x1687c6:0x292,_0x1a1e7e:0x2c1,_0x3be584:0x38c,_0x52817e:0x421,_0x23ae12:0x2d3,_0x13791e:0x35f,_0x5bf05e:0x32f,_0x483886:0x2dd,_0x260301:0x371,_0x30c850:0x21d,_0x3412aa:0x195,_0x4da7c6:0x3ec,_0x322bc0:0x13f,_0x15a196:0x37c,_0x1458ec:0x304,_0x336016:0x3e4,_0x27746f:0x427,_0x59f707:0x37d,_0x2e7aa7:0x337,_0x22ed75:0x1ea,_0x3799be:0x23e,_0x364a14:0x2d4,_0x417118:0x330,_0x1fc9ae:0x354,_0x5f5d70:0x2c2,_0x50dec9:0x297,_0x23d68b:0x3e1,_0x18025c:0x337,_0xf4678c:0x373,_0x20c375:0x387,_0x43e1bb:0x326,_0x3fdf68:0x1fe,_0x4ad6be:0x256},_0x3d6294={_0x1c9894:0x14c},_0x270d8c={_0x51635b:0x39},_0x513e8c={'AXSmz':_0x2c17d5(0x1f0,_0x17a168._0x5a792d)+',请先运行\x20new-'+_0x2c17d5(0x240,0x267),'lWFdS':function(_0x576fa5,_0x31f9b8){return _0x576fa5(_0x31f9b8);},'TeprV':function(_0x26bb8c,_0x24440d){return _0x26bb8c!==_0x24440d;}},_0x2c5cf3=await readStateFile();if(!_0x2c5cf3){console[_0x32fe31(0x351,0x363)](_0x513e8c[_0x2c17d5(_0x17a168._0x1687c6,_0x17a168._0x1a1e7e)]);return;}const _0x258a00=_0x513e8c[_0x2c17d5(0x275,0x1ea)](detectInputType,_0x451c56);function _0x32fe31(_0x4ab6d3,_0x4cb9ce){return _0x1a3805(_0x4cb9ce,_0x4ab6d3- -_0x270d8c._0x51635b);}const _0x273d0e=INPUT_TYPE_NAMES[_0x258a00],_0x1000e4=_0x2c5cf3[_0x32fe31(_0x17a168._0x3be584,_0x17a168._0x52817e)];for(const _0x110a8f of Object['keys'](_0x1000e4)){_0x513e8c[_0x2c17d5(_0x17a168._0x23ae12,0x235)](_0x1000e4[_0x110a8f][_0x32fe31(0x2f9,_0x17a168._0x13791e)],_0x32fe31(0x375,0x418))&&(_0x1000e4[_0x110a8f]={..._0x1000e4[_0x110a8f],'phase':_0x32fe31(_0x17a168._0x5bf05e,0x2d6)+_0x2c17d5(_0x17a168._0x483886,0x278),'currentOperation':'分析'+_0x273d0e+':\x20'+_0x451c56[_0x32fe31(0x2c7,_0x17a168._0x260301)](-0x115*-0x1b+0x26b0+-0x43e7,-0x760+0x2245+-0x1ab3)});}const _0xeb1c14={};_0xeb1c14[_0x2c17d5(_0x17a168._0x30c850,_0x17a168._0x3412aa)]=_0x2c5cf3[_0x32fe31(0x3ea,_0x17a168._0x4da7c6)]['name'],_0xeb1c14[_0x2c17d5(0x1c4,_0x17a168._0x322bc0)+'se']='demand_ana'+_0x2c17d5(0x2dd,_0x17a168._0x15a196);const _0x6aa5cd={};_0x6aa5cd[_0x2c17d5(0x2d7,0x2d7)]=_0xeb1c14,_0x6aa5cd[_0x32fe31(0x38c,_0x17a168._0x1458ec)]=_0x1000e4,_0x6aa5cd[_0x32fe31(_0x17a168._0x336016,_0x17a168._0x27746f)+_0x32fe31(0x318,_0x17a168._0x59f707)]=null,await _0x513e8c[_0x32fe31(0x388,_0x17a168._0x2e7aa7)](writeStateFile,_0x6aa5cd),console[_0x2c17d5(0x23e,_0x17a168._0x22ed75)]('\x0a🔍\x20开始分析'),console[_0x2c17d5(_0x17a168._0x3799be,0x1f0)](_0x32fe31(_0x17a168._0x364a14,0x28f)+_0x2c5cf3['project'][_0x32fe31(_0x17a168._0x417118,_0x17a168._0x1fc9ae)]);function _0x2c17d5(_0x45a8e6,_0x8b1188){return _0x1a3805(_0x8b1188,_0x45a8e6- -_0x3d6294._0x1c9894);}console['log'](_0x32fe31(_0x17a168._0x5f5d70,_0x17a168._0x50dec9)+_0x273d0e),console[_0x32fe31(0x351,0x29d)](_0x32fe31(_0x17a168._0x23d68b,_0x17a168._0x18025c)+(_0x451c56[_0x32fe31(0x329,_0x17a168._0xf4678c)]>-0x1238+0x1*0x2703+0x1*-0x147b?_0x451c56['slice'](0x1239+-0x7*0x47f+0xd40,0x1d*0x86+0x4*0x48e+0x46*-0x79)+_0x32fe31(_0x17a168._0x20c375,_0x17a168._0x43e1bb):_0x451c56)),console[_0x2c17d5(_0x17a168._0x3799be,0x258)](_0x2c17d5(0x222,_0x17a168._0x3fdf68)+_0x2c17d5(0x1ab,_0x17a168._0x4ad6be));}export async function showProgress(){const _0x4938b5={_0x5044e7:0x230,_0x6668c9:0x266,_0x1d4e32:0x266,_0x231c84:0xf0,_0x81ba76:0x32c,_0x11328a:0x15e,_0x350f33:0x85,_0x23c60a:0x2e4,_0x56c10f:0x25a,_0x1546b8:0x214,_0x4732bf:0x27a,_0x4bb602:0x106,_0x391a04:0x161,_0x4f9d84:0x288,_0x2b6606:0x25d,_0x5cb8a3:0x2bd,_0x419610:0x2ed,_0x31b5d5:0x3d,_0x41f92b:0x45,_0x6fae99:0xff,_0x4f5488:0x67,_0x468f5d:0x158,_0x1206bd:0x30f,_0x376254:0xde,_0x23fed7:0x12d,_0x5664d9:0x30,_0x27e1bb:0x308,_0x5a8cd4:0x1ca,_0x1ef6eb:0x2fc,_0x5f3483:0x2ff,_0x5e74c5:0x371,_0x1da3ee:0x283,_0x102b1d:0x32d,_0x5db6b3:0x2af,_0x316f7d:0x255,_0x4698ba:0x20d,_0x5b0337:0x295,_0x5ed307:0x165,_0x3372fa:0x150,_0x2ed5c5:0xab,_0x37ad7d:0x1f0,_0x1a5070:0xde,_0x16821d:0x134,_0x204335:0x187,_0x46fe78:0x25e,_0xd9ff8f:0x2a5,_0x2ef58f:0x5a,_0x1050b9:0x157,_0x59056e:0xa9,_0x2f0bfd:0xde,_0x4ff2b2:0x43,_0x26d95d:0x1f3,_0x201457:0x247,_0x3eacd9:0x221},_0x150f61={_0x300ba3:0x468},_0x50fe31={_0x8aaeb8:0x31f},_0x5bdf26={'vqpqv':function(_0x2a9e0a){return _0x2a9e0a();},'ZBfDe':function(_0x1c9bc8,_0x343835){return _0x1c9bc8===_0x343835;},'tpPet':function(_0x4f641f,_0x340435){return _0x4f641f>_0x340435;},'jAJWV':function(_0x220d9b,_0x366d35){return _0x220d9b*_0x366d35;},'qEscN':function(_0x16fece,_0x4526d8){return _0x16fece+_0x4526d8;},'xFhli':function(_0x4bf242,_0x2197c3){return _0x4bf242-_0x2197c3;},'TrRwv':function(_0x16288d,_0x37856e){return _0x16288d>_0x37856e;},'KMvuw':_0x47ded3(-_0x4938b5._0x5044e7,-0x21b)+'\x20详情:','VwpPP':'\x20\x20\x20'},_0x13df17=await _0x5bdf26['vqpqv'](readStateFile);if(!_0x13df17){if(_0x5bdf26[_0x47ded3(-_0x4938b5._0x6668c9,-_0x4938b5._0x1d4e32)](_0x67d186(-_0x4938b5._0x231c84,-0x5f),'AwTGW')){const _0x3177f9={};_0x3177f9[_0x47ded3(-_0x4938b5._0x81ba76,-0x2f1)]=_0x67d186(-_0x4938b5._0x11328a,-0xc5)+_0x67d186(-0x1a,-_0x4938b5._0x350f33),_0x20ecfc[_0x47ded3(-0x254,-_0x4938b5._0x23c60a)](_0x3177f9);}else{console[_0x47ded3(-0x295,-0x257)](_0x47ded3(-0x2e3,-0x2f3)+',请先运行\x20new-'+'project\x20命令');return;}}const _0x54cece=_0x13df17[_0x47ded3(-_0x4938b5._0x56c10f,-_0x4938b5._0x1546b8)],_0x4ff976=Object[_0x47ded3(-0x247,-_0x4938b5._0x4732bf)](_0x54cece),_0x3da2f3=_0x4ff976[_0x67d186(-_0x4938b5._0x4bb602,-_0x4938b5._0x391a04)];function _0x47ded3(_0x1995b4,_0x3223f1){return _0x464c72(_0x1995b4- -_0x50fe31._0x8aaeb8,_0x3223f1);}const _0x82f194=_0x4ff976[_0x47ded3(-_0x4938b5._0x4f9d84,-_0x4938b5._0x2b6606)](_0x4fc32c=>_0x54cece[_0x4fc32c][_0x47ded3(-0x2ed,-0x391)]===_0x47ded3(-0x271,-0x259))[_0x47ded3(-_0x4938b5._0x5cb8a3,-0x223)],_0x2aef57=_0x5bdf26[_0x47ded3(-0x30c,-0x2be)](_0x3da2f3,0x1*0x42e+0xb99+0xfc7*-0x1)?Math['round'](_0x5bdf26['jAJWV'](_0x82f194/_0x3da2f3,-0x24e+-0xe49+0x10fb)):0xb17+0x1f1e+-0x871*0x5,_0x101ffd={};for(const _0x92e32f of _0x4ff976){const _0x5017b3=_0x54cece[_0x92e32f][_0x47ded3(-_0x4938b5._0x419610,-0x37f)];_0x101ffd[_0x5017b3]=(_0x101ffd[_0x5017b3]??-0x1805+-0x5*-0x18e+-0x1*-0x103f)+(-0x1c*-0x5+-0x263*-0x5+-0xc7a);}console[_0x47ded3(-0x295,-0x1fa)](_0x67d186(-0x34,-_0x4938b5._0x31b5d5)+_0x13df17[_0x67d186(-_0x4938b5._0x41f92b,-0x6)][_0x67d186(-_0x4938b5._0x6fae99,-0x82)]),console[_0x67d186(-0xde,-0x119)]('\x20\x20\x20当前阶段:\x20'+(PHASE_NAMES[_0x13df17[_0x67d186(-0x45,_0x4938b5._0x4f5488)][_0x67d186(-_0x4938b5._0x468f5d,-0x167)+'se']]??_0x13df17[_0x47ded3(-0x1fc,-0x18c)][_0x47ded3(-_0x4938b5._0x1206bd,-0x2a3)+'se']));function _0x67d186(_0x4c8bd3,_0x5ee94a){return _0x1a3805(_0x5ee94a,_0x4c8bd3- -_0x150f61._0x300ba3);}console[_0x67d186(-_0x4938b5._0x376254,-_0x4938b5._0x23fed7)](_0x47ded3(-0x2af,-0x240)+_0x13df17[_0x67d186(-0x6c,-_0x4938b5._0x5664d9)]),console[_0x67d186(-_0x4938b5._0x376254,-0x3a)](_0x47ded3(-0x2c2,-_0x4938b5._0x27e1bb)+_0x13df17['updatedAt']),console[_0x67d186(-_0x4938b5._0x376254,-0xb6)](_0x47ded3(-0x228,-_0x4938b5._0x5a8cd4)+_0x2aef57+_0x47ded3(-0x2d0,-0x2ae)+_0x82f194+'/'+_0x3da2f3+_0x47ded3(-_0x4938b5._0x1ef6eb,-0x26f)),console[_0x47ded3(-0x295,-0x1fc)](_0x67d186(-0xb9,-0x144));for(const [_0x3d5497,_0x15204d]of Object[_0x47ded3(-0x27a,-_0x4938b5._0x5f3483)](_0x101ffd)){const _0x37367d=PHASE_NAMES[_0x3d5497]??_0x3d5497,_0x4053c6=_0x5bdf26[_0x47ded3(-_0x4938b5._0x5f3483,-_0x4938b5._0x5e74c5)]('█'['repeat'](_0x15204d),'░'['repeat'](Math[_0x47ded3(-_0x4938b5._0x1da3ee,-0x2d2)](0x15ad+-0x17*-0x16d+-0x3678,_0x5bdf26[_0x47ded3(-_0x4938b5._0x102b1d,-_0x4938b5._0x5db6b3)](_0x3da2f3,_0x15204d))));console[_0x67d186(-0xde,-0x64)](_0x47ded3(-_0x4938b5._0x316f7d,-_0x4938b5._0x4698ba)+_0x37367d[_0x67d186(-0xd9,-0xa8)](0xa*-0x16d+0x1*-0xb57+-0xb*-0x255)+'\x20'+_0x4053c6+'\x20'+_0x15204d);}console[_0x47ded3(-_0x4938b5._0x5b0337,-0x322)]();if(_0x5bdf26[_0x67d186(-0xc7,-_0x4938b5._0x5ed307)](_0x4ff976[_0x67d186(-0x106,-_0x4938b5._0x3372fa)],-0x836+-0x1*-0x10f+-0x1*-0x727)){console[_0x47ded3(-0x295,-0x2f6)](_0x5bdf26['KMvuw']),console[_0x67d186(-0xde,-0xeb)](_0x67d186(-_0x4938b5._0x5ed307,-0x11c)+'D\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x67d186(-0x4d,-_0x4938b5._0x2ed5c5)+_0x47ded3(-0x262,-0x1f8)+_0x47ded3(-_0x4938b5._0x37ad7d,-0x1a4)+'\x20\x20\x20\x20\x20\x20\x20\x20|\x20'+'工具'),console[_0x67d186(-_0x4938b5._0x1a5070,-0x82)](_0x5bdf26[_0x67d186(-_0x4938b5._0x16821d,-_0x4938b5._0x204335)]+'-'[_0x47ded3(-0x2fa,-_0x4938b5._0x46fe78)](-0x142a+-0x1b5d*0x1+0x2fd7));for(const _0x3ab061 of _0x4ff976){const _0x162d14=_0x54cece[_0x3ab061],_0x3d6468=PHASE_NAMES[_0x162d14[_0x47ded3(-0x2ed,-_0x4938b5._0xd9ff8f)]]??_0x162d14['phase'],_0x356129=_0x162d14[_0x67d186(-0xd4,-0x67)+_0x67d186(-0x95,-_0x4938b5._0x2ef58f)]||'-',_0x26ebfc=_0x162d14[_0x67d186(-_0x4938b5._0x1050b9,-_0x4938b5._0x59056e)+'ll']||'-';console[_0x67d186(-_0x4938b5._0x2f0bfd,-_0x4938b5._0x4ff2b2)]('\x20\x20\x20'+_0x3ab061[_0x67d186(-0xd9,-0xe8)](0x2*-0xa09+-0x1b1c+0x2f40)+_0x47ded3(-_0x4938b5._0x26d95d,-0x24b)+_0x3d6468[_0x47ded3(-0x290,-_0x4938b5._0x201457)](0xa*-0x4f+0x201b+-0x1*0x1cf7)+'\x20|\x20'+_0x356129['padEnd'](0x166e+-0x1af7+-0x1*-0x49e)+_0x67d186(-0x3c,-0x75)+_0x26ebfc);}console[_0x47ded3(-_0x4938b5._0x5b0337,-_0x4938b5._0x3eacd9)]();}}export async function quickTask(_0x32399f){const _0x43228d={_0x48132c:0x1ba,_0x1edaf7:0x172,_0x1f2c40:0x28a,_0x5b3d0f:0x1ff,_0x626299:0x21e,_0x507861:0x188,_0x5dff3a:0x1ef,_0x25c823:0x145,_0x5e196e:0x165,_0x1c6d51:0x164,_0x375350:0x220,_0x399e5a:0x1a1,_0x1a20f2:0x1d9,_0x2dd1f6:0x166,_0x30604d:0x104,_0x39c63a:0x152,_0x56a776:0x181,_0x2b1bb7:0x105,_0x5b17a1:0x166,_0x1b0653:0x16e,_0x56af6d:0x181,_0x433e7a:0x225,_0x3a731e:0x2bb,_0x4f06c5:0x231},_0x47aab7={_0x5dbc6e:0x224},_0x4365f2={'sSBQg':function(_0x136860){return _0x136860();},'yuAqJ':function(_0x31d20f){return _0x31d20f();},'cDBmR':_0x507aed(0xe0,0x164)},_0x268147=await _0x4365f2[_0x5d9d6b(_0x43228d._0x48132c,_0x43228d._0x1edaf7)](readStateFile);if(!_0x268147){const _0x35f7fe=resolve(process[_0x5d9d6b(0x1f0,0x1a8)](),'.specops');if(!existsSync(_0x35f7fe)){const _0x453295={};_0x453295['recursive']=!![],mkdirSync(_0x35f7fe,_0x453295);}}const _0x24d8d4=_0x268147?.[_0x5d9d6b(_0x43228d._0x1f2c40,_0x43228d._0x5b3d0f)]['name']??_0x5d9d6b(_0x43228d._0x626299,_0x43228d._0x507861),_0x4dfc65=_0x268147?Object[_0x5d9d6b(_0x43228d._0x5dff3a,0x1b4)](_0x268147['agents'])[-0x110d*-0x1+-0x950+0x7*-0x11b]??generateAgentId():_0x4365f2[_0x5d9d6b(0x1d4,0x17e)](generateAgentId),_0x51261c={'agentId':_0x4dfc65,'parentId':null,'childIds':[],'phase':'execute','currentOperation':_0x32399f['slice'](0x3*-0x18b+0x7a*0x7+0x1*0x14b,-0x1865+-0x4*0x13+0x1915*0x1),'currentSkill':_0x4365f2['cDBmR']},_0x4b5c33={};_0x4b5c33[_0x5d9d6b(0xc1,_0x43228d._0x25c823)]=_0x24d8d4,_0x4b5c33[_0x5d9d6b(0x155,0xec)+'se']=_0x507aed(_0x43228d._0x5e196e,_0x43228d._0x1c6d51);const _0x2b3929={};function _0x5d9d6b(_0xaa4d6a,_0x35ba8e){return _0x1a3805(_0xaa4d6a,_0x35ba8e- -_0x47aab7._0x5dbc6e);}_0x2b3929[_0x4dfc65]=_0x51261c;const _0x231374={};_0x231374['project']=_0x4b5c33,_0x231374[_0x5d9d6b(_0x43228d._0x375350,_0x43228d._0x399e5a)]=_0x2b3929,_0x231374['machineSna'+_0x507aed(_0x43228d._0x1a20f2,0x148)]=null,await writeStateFile(_0x231374),console[_0x5d9d6b(0x19f,_0x43228d._0x2dd1f6)](_0x507aed(_0x43228d._0x30604d,_0x43228d._0x39c63a));function _0x507aed(_0x3e96da,_0x539a5f){return _0x464c72(_0x539a5f-0xf7,_0x3e96da);}console[_0x507aed(0xd3,_0x43228d._0x56a776)]('\x20\x20\x20项目:\x20'+_0x24d8d4),console[_0x5d9d6b(_0x43228d._0x2b1bb7,_0x43228d._0x5b17a1)](_0x5d9d6b(_0x43228d._0x1b0653,0x16c)+_0x32399f),console[_0x507aed(0x154,_0x43228d._0x56af6d)](_0x507aed(0x18e,_0x43228d._0x433e7a)+_0x4dfc65),console[_0x5d9d6b(0x1f2,_0x43228d._0x5b17a1)](_0x5d9d6b(_0x43228d._0x3a731e,_0x43228d._0x4f06c5)+'务不走完整\x20Pipe'+'line,直接执行\x0a');}function findFirstIncompleteAgent(_0x4f9b6e){const _0x19deda={_0x50536a:0x3a8,_0x5481dd:0x403,_0x47f052:0x56,_0x25b162:0x9d},_0x1e8903={_0x2c48e6:0x2ae},_0x171d91={_0x2430c1:0x166};function _0x3ac98f(_0x333fce,_0x1f469a){return _0x464c72(_0x333fce- -_0x171d91._0x2430c1,_0x1f469a);}function _0x7b4078(_0x19b249,_0x551147){return _0x464c72(_0x19b249-_0x1e8903._0x2c48e6,_0x551147);}const _0x22c390={};_0x22c390[_0x7b4078(_0x19deda._0x50536a,_0x19deda._0x5481dd)]='unknown';const _0x18a348=_0x22c390;for(const [_0x42c3cb,_0x4dbcd1]of _0x4f9b6e){const _0x59aab0=_0x4dbcd1['getSnapsho'+'t'](),_0x356c68=typeof _0x59aab0['value']==='string'?_0x59aab0[_0x3ac98f(-_0x19deda._0x47f052,-0xf3)]:_0x18a348[_0x7b4078(_0x19deda._0x50536a,0x37f)];if(_0x356c68!==_0x3ac98f(-0xb8,-_0x19deda._0x25b162))return _0x42c3cb;}return null;}function checkAllComplete(){const _0x130539={_0x312010:0x2f5,_0x4a043d:0x327,_0xa1a91:0x2f3,_0x4c9553:0x41b,_0x3cbcc8:0x44f,_0x30d119:0x4f9,_0xd875df:0x281,_0x2564ba:0x406,_0x90d6cc:0x1eb,_0xa527e1:0x1b4,_0x2537fd:0x325,_0x30a19e:0x3ab,_0x2c8aad:0x39b,_0x288dc8:0x2fb,_0x4f36c7:0x49b,_0x218c62:0x3bd,_0x3645f6:0x437,_0x170cc2:0x410,_0xfdbb17:0x330,_0x22297b:0x3ba,_0x4f67d0:0x21a,_0xab71cf:0x1c2,_0x2b765b:0x27c,_0x953678:0x251,_0x1d22f0:0x2fd,_0x440094:0x34c,_0x5d9a8f:0x30c,_0x48b783:0x30e,_0x1c5342:0x27a,_0x59dbee:0x30e,_0x36dcf3:0x2c9,_0x8f9ac1:0x2cc,_0x15042d:0x2ee,_0xfa8245:0x3ed,_0xa5e30d:0x44e,_0x30f651:0x4f6,_0x479681:0x435,_0x17c86b:0x443,_0x3c7c3f:0x3d1,_0x275030:0x32f,_0x15bb81:0x2c5,_0x9c4816:0x293,_0x34ed0a:0x2dd,_0x4c177e:0x1f7,_0x1e0ec4:0x303,_0xfa085c:0x25f,_0x14e20f:0x23c,_0x56b422:0x2a0,_0x36e537:0x336,_0x409b36:0x332,_0x23c539:0x280,_0x55e65c:0x390,_0x207ed0:0x296,_0x360c2d:0x21e,_0x471891:0x3d3,_0x582c53:0x487,_0x41030f:0x311,_0x25dfae:0x301,_0x28221d:0x29b,_0x25c8c5:0x2e3,_0x1da24a:0x38f,_0x1a27c6:0x1fe,_0x5e0565:0x1a3,_0x54a1f4:0x38f,_0x42c50a:0x42c,_0x3036fb:0x436,_0x17ceb9:0x38a},_0x3a8fd1={_0x436004:0x300},_0x1e6bf7={};_0x1e6bf7[_0x5627c7(-_0x130539._0x312010,-0x25f)]=_0x5627c7(-_0x130539._0x4a043d,-_0x130539._0xa1a91)+_0x5627c7(-0x1fa,-0x2a5)+_0x5426da(_0x130539._0x4c9553,0x3dc)+_0x5426da(0x3bd,0x3fd)+'\x20\x20\x20\x20\x20\x20\x20\x20\x20\x20'+_0x5426da(_0x130539._0x3cbcc8,_0x130539._0x30d119)+'工具',_0x1e6bf7[_0x5627c7(-0x2ad,-0x2fa)]=_0x5627c7(-_0x130539._0xd875df,-0x1e5),_0x1e6bf7[_0x5426da(_0x130539._0x2564ba,0x411)]=function(_0x8d0ce0,_0x1bc031){return _0x8d0ce0===_0x1bc031;},_0x1e6bf7['iWUmq']='string',_0x1e6bf7[_0x5627c7(-0x295,-0x2e3)]=_0x5627c7(-0x217,-0x197),_0x1e6bf7['wqXbO']=function(_0x5cf6da,_0x2da4fb){return _0x5cf6da!==_0x2da4fb;},_0x1e6bf7[_0x5627c7(-0x30c,-0x267)]=function(_0x5bf1f1,_0x11534e){return _0x5bf1f1===_0x11534e;},_0x1e6bf7[_0x5627c7(-_0x130539._0x90d6cc,-_0x130539._0xa527e1)]=_0x5627c7(-0x27a,-0x2fd),_0x1e6bf7['ulXEC']=function(_0x2167f7,_0x5445a5){return _0x2167f7!==_0x5445a5;},_0x1e6bf7[_0x5627c7(-0x2e0,-_0x130539._0x2537fd)]=_0x5426da(_0x130539._0x30a19e,_0x130539._0x2c8aad),_0x1e6bf7[_0x5627c7(-_0x130539._0x288dc8,-0x262)]=_0x5627c7(-0x1df,-0x207)+_0x5426da(0x446,_0x130539._0x4f36c7);function _0x5426da(_0x20e5ff,_0x8a715c){return _0x464c72(_0x20e5ff-_0x3a8fd1._0x436004,_0x8a715c);}_0x1e6bf7['qgwaY']=_0x5627c7(-0x320,-_0x130539._0x218c62)+_0x5426da(0x44e,0x472);const _0x2490d8=_0x1e6bf7;if(!activeEngine)return;for(const [,_0x40eb6d]of activeEngine['actors']){const _0x3a18e0=_0x40eb6d[_0x5426da(_0x130539._0x3645f6,0x428)+'t'](),_0x24d8c8=_0x2490d8['lbbxK'](typeof _0x3a18e0[_0x5426da(_0x130539._0x170cc2,0x38a)],_0x2490d8[_0x5627c7(-_0x130539._0xfdbb17,-_0x130539._0x22297b)])?_0x3a18e0[_0x5627c7(-_0x130539._0x4f67d0,-_0x130539._0xab71cf)]:_0x2490d8['NBmex'];if(_0x2490d8['wqXbO'](_0x24d8c8,_0x5627c7(-_0x130539._0x2b765b,-_0x130539._0x953678)))return;}console['log']('\x0a🎉\x20所有\x20Agen'+_0x5627c7(-_0x130539._0x1d22f0,-_0x130539._0x440094));function _0x5627c7(_0xcf47c7,_0x249c81){return _0x1a3805(_0x249c81,_0xcf47c7- -0x62a);}if(activeEngine['supervisor'+_0x5426da(0x327,0x3be)]){if(_0x2490d8[_0x5627c7(-_0x130539._0x5d9a8f,-_0x130539._0x48b783)](_0x5627c7(-_0x130539._0x1c5342,-_0x130539._0x59dbee),_0x2490d8['YurQy'])){for(const [_0x41e76b]of activeEngine['actors']){if(_0x2490d8['ulXEC'](_0x5426da(0x35e,_0x130539._0x36dcf3),_0x5627c7(-_0x130539._0x8f9ac1,-0x25c))){if(!_0x1be367(_0x31ef70))return null;const _0x3ee6f1=new _0x3af9e4(_0x344c9e);return _0x3ee6f1[_0x5426da(0x452,0x4e1)]();}else{const _0x1b8275={};_0x1b8275[_0x5426da(0x38d,_0x130539._0x15042d)]=_0x2490d8[_0x5627c7(-0x2e0,-0x251)];const _0x323cf9={};_0x323cf9[_0x5426da(_0x130539._0xa1a91,0x39a)]=_0x5426da(_0x130539._0xfa8245,0x37d)+_0x5426da(_0x130539._0xa5e30d,_0x130539._0x30f651),_0x323cf9[_0x5426da(0x3eb,_0x130539._0x479681)]=_0x41e76b,_0x323cf9['result']=_0x1b8275,activeEngine[_0x5426da(0x433,_0x130539._0x17c86b)+_0x5627c7(-0x303,-0x301)][_0x5426da(0x3cb,_0x130539._0x3c7c3f)](_0x323cf9);}}const _0xaa0e3f={};_0xaa0e3f[_0x5426da(0x2f3,0x388)]=_0x2490d8[_0x5426da(_0x130539._0x275030,_0x130539._0x15bb81)],activeEngine['supervisor'+_0x5627c7(-0x303,-0x250)][_0x5627c7(-0x25f,-_0x130539._0x9c4816)](_0xaa0e3f);const _0x491020={};_0x491020[_0x5426da(_0x130539._0xa1a91,_0x130539._0x34ed0a)]=_0x2490d8[_0x5426da(0x339,0x306)],activeEngine[_0x5627c7(-_0x130539._0x4c177e,-0x207)+_0x5627c7(-_0x130539._0x1e0ec4,-0x300)][_0x5627c7(-_0x130539._0xfa085c,-0x2d6)](_0x491020);}else{_0x4df1cb[_0x5627c7(-0x2a0,-_0x130539._0x14e20f)](_0x5627c7(-0x23b,-0x1e6)+'\x20详情:'),_0x2ab02c[_0x5627c7(-0x2a0,-0x260)](_0x2490d8[_0x5627c7(-0x2f5,-0x2c3)]),_0x4e7142[_0x5627c7(-_0x130539._0x56b422,-_0x130539._0x36e537)](_0x2490d8['rjDYt']+'-'[_0x5627c7(-0x305,-0x279)](-0x1f4*-0x1+-0xb2c+0x2*0x4c4));for(const _0x10e7e1 of _0x427796){const _0x2109de=_0x200b39[_0x10e7e1],_0x95f5d=_0x2dbbb2[_0x2109de[_0x5426da(_0x130539._0x409b36,_0x130539._0x23c539)]]??_0x2109de[_0x5426da(0x332,_0x130539._0x55e65c)],_0x2657b3=_0x2109de[_0x5627c7(-_0x130539._0x207ed0,-_0x130539._0x360c2d)+_0x5426da(_0x130539._0x471891,_0x130539._0x582c53)]||'-',_0x3a3422=_0x2109de[_0x5426da(_0x130539._0x41030f,_0x130539._0x25dfae)+'ll']||'-';_0x1b8629['log'](_0x5627c7(-0x281,-0x2b0)+_0x10e7e1[_0x5627c7(-_0x130539._0x28221d,-_0x130539._0x25c8c5)](0x664*0x2+0x2*0x901+-0x1eb8)+_0x5627c7(-0x1fe,-0x189)+_0x95f5d[_0x5426da(_0x130539._0x1da24a,0x300)](0x213+-0x1*0x16d7+0x14d2)+_0x5627c7(-_0x130539._0x1a27c6,-_0x130539._0x5e0565)+_0x2657b3[_0x5426da(_0x130539._0x54a1f4,0x349)](-0x2331+-0x3*0x981+0x3fc9)+_0x5426da(_0x130539._0x42c50a,_0x130539._0x3036fb)+_0x3a3422);}_0x536037[_0x5426da(_0x130539._0x17ceb9,0x2f0)]();}}}const MAX_RETRIES=0x1*0x12ff+0x1193+0xc2f*-0x3;async function persistCurrentState(){const _0x4d9762={_0x5478c2:0x480,_0x39f0f8:0x45e,_0x55f9f4:0x52a,_0x46f8e6:0x47a,_0x26fb8a:0x3bd,_0x37cf1e:0xba,_0x2df245:0x68,_0x2ce7ac:0x10e,_0x2f4bf9:0xee,_0x5a6bea:0x44b,_0x4cdff6:0x420,_0x3c926f:0x4b4,_0x297bc9:0x86,_0x5681ed:0x9d,_0x52e6b3:0x3e7,_0x131e62:0x101,_0x1b1510:0x468,_0x5f1b74:0x105,_0x412af0:0x1b6,_0x16a555:0x181,_0x49056f:0x30b,_0xc57880:0x44e,_0x4552c5:0x4f6,_0x24ed68:0xde,_0x1a1ada:0x469,_0x13bd64:0x46c,_0x5e5cd2:0x3f5,_0x486fe9:0x3e9,_0x2eb277:0x395,_0x25a6b0:0x3d5,_0x1fc967:0x1a8,_0x6dd135:0x14d,_0x42626a:0xb0,_0x2b0ff6:0x11a,_0xb96387:0xf9},_0xc8a28d={};_0xc8a28d['hsrfr']=function(_0x4eb4b4,_0x2b1025){return _0x4eb4b4!==_0x2b1025;},_0xc8a28d[_0x44763b(_0x4d9762._0x5478c2,_0x4d9762._0x39f0f8)]='completed';function _0x44763b(_0x93c58e,_0x23dde3){return _0x1a3805(_0x93c58e,_0x23dde3-0xa4);}_0xc8a28d[_0x44763b(_0x4d9762._0x55f9f4,_0x4d9762._0x46f8e6)]='idle',_0xc8a28d[_0xe2a113(-0x143,-0x19f)]=function(_0x1b601b,_0x2ee896){return _0x1b601b<_0x2ee896;},_0xc8a28d[_0x44763b(0x35c,_0x4d9762._0x26fb8a)]=function(_0x59903d,_0x22fd73){return _0x59903d instanceof _0x22fd73;},_0xc8a28d['StRCO']=_0xe2a113(-0x5c,-_0x4d9762._0x37cf1e);const _0x22a192=_0xc8a28d;if(!activeEngine)return;const {projectName:_0x17f6ad,actors:_0x4ef79d}=activeEngine,_0x3d3c4b=await readStateFile();function _0xe2a113(_0x2ae023,_0x379ddc){return _0x464c72(_0x379ddc- -0x1b3,_0x2ae023);}const _0x4c68fd={};if(_0x3d3c4b)for(const [_0x2a2b2a,_0x283b7b]of Object[_0xe2a113(-_0x4d9762._0x2df245,-_0x4d9762._0x2ce7ac)](_0x3d3c4b[_0xe2a113(-0x172,-_0x4d9762._0x2f4bf9)])){!_0x4ef79d['has'](_0x2a2b2a)&&(_0x4c68fd[_0x2a2b2a]=_0x283b7b);}const _0x30fb12={};let _0x1d7515=_0x44763b(0x3a9,0x452);for(const [_0x5cde4c,_0xecc418]of _0x4ef79d){const _0x346e6f=_0xecc418['getSnapsho'+'t'](),_0x293cff=typeof _0x346e6f['value']===_0x44763b(0x427,_0x4d9762._0x5a6bea)?_0x346e6f[_0x44763b(_0x4d9762._0x4cdff6,_0x4d9762._0x3c926f)]:_0x22a192['SKGuH'];_0x30fb12[_0x5cde4c]={'agentId':_0x5cde4c,'parentId':_0x346e6f['context']?.[_0x44763b(0x49d,0x4e5)]??null,'childIds':_0x346e6f['context']?.['childIds']??[],'phase':_0x293cff,'currentOperation':_0x346e6f[_0xe2a113(-_0x4d9762._0x297bc9,-_0x4d9762._0x5681ed)]?.[_0xe2a113(-0x1b4,-0x11f)+_0x44763b(0x4d2,0x477)]??'','currentSkill':_0x346e6f[_0xe2a113(-0x109,-0x9d)]?.['currentSki'+'ll']??''};if(_0x293cff!=='completed'){if('zerHK'===_0x44763b(0x41e,0x48a))_0x1d7515=_0x293cff;else{if(_0x22a192[_0x44763b(0x33b,_0x4d9762._0x52e6b3)](_0x569e09[_0x1a3b40]['phase'],_0x22a192['uRUuW'])){const _0x1a3125={..._0xe10a54[_0x57c9ae]};_0x1a3125[_0xe2a113(-_0x4d9762._0x131e62,-0x181)]=_0x354fa6,_0x3643fb[_0x15ffc4]=_0x1a3125;}}}}const _0x1522c8={..._0x4c68fd,..._0x30fb12},_0x50cacf=_0x1522c8;for(const [,_0x2eb3ef]of Object[_0x44763b(_0x4d9762._0x1b1510,0x449)](_0x4c68fd)){_0x2eb3ef[_0x44763b(0x418,0x3d6)]!==_0xe2a113(-0xed,-_0x4d9762._0x5f1b74)&&(_0x1d7515=_0x2eb3ef[_0xe2a113(-_0x4d9762._0x412af0,-_0x4d9762._0x16a555)]);}for(let _0x2a2b55=-0x2583*-0x1+-0x111*0x1e+-0x585;_0x22a192[_0x44763b(_0x4d9762._0x49056f,0x3b8)](_0x2a2b55,MAX_RETRIES);_0x2a2b55++){try{const _0x2d299e=new StateFileManager(STATE_FILE_PATH);await _0x2d299e[_0x44763b(_0x4d9762._0xc57880,_0x4d9762._0x4552c5)]();const _0x27b7d0={};_0x27b7d0[_0xe2a113(-_0x4d9762._0x24ed68,-0x14a)]=_0x17f6ad,_0x27b7d0['currentPha'+'se']=_0x1d7515;const _0x5c2a76={};_0x5c2a76[_0x44763b(0x4fe,0x4c7)]=_0x27b7d0,_0x5c2a76[_0x44763b(0x4a6,_0x4d9762._0x1a1ada)]=_0x50cacf,_0x5c2a76['machineSna'+_0x44763b(_0x4d9762._0x13bd64,_0x4d9762._0x5e5cd2)]=null,await _0x2d299e['write'](_0x5c2a76);return;}catch(_0x17e755){if(_0x22a192[_0x44763b(_0x4d9762._0x486fe9,0x3bd)](_0x17e755,Error)&&_0x17e755[_0x44763b(_0x4d9762._0x2eb277,0x425)][_0x44763b(0x39a,_0x4d9762._0x25a6b0)](_0x22a192[_0xe2a113(-_0x4d9762._0x1fc967,-_0x4d9762._0x6dd135)])&&_0x2a2b55<MAX_RETRIES-(-0x1058+-0x22*-0xc1+-0x1*0x949)){if(_0xe2a113(-0x53,-_0x4d9762._0x42626a)==='fOlQH'){await new Promise(_0x15d47f=>setTimeout(_0x15d47f,-0x21dc+0x450+0x1dbe+Math[_0xe2a113(-0xd7,-0x71)]()*(-0x8*-0x20+0x18*0x11c+-0x914*0x3)));continue;}else _0x864ecd=_0x22a192[_0xe2a113(-_0x4d9762._0x2b0ff6,-_0x4d9762._0xb96387)];}throw _0x17e755;}}}
1
+ function _0x4107(_0xed5aa0,_0x5c39a1){_0xed5aa0=_0xed5aa0-(0x5*0x655+0x1b13*0x1+-0x3989);const _0x5a002d=_0x3b5e();let _0x44b5f2=_0x5a002d[_0xed5aa0];if(_0x4107['pxSxfH']===undefined){var _0x47df71=function(_0x1e027c){const _0x18b4ee='abcdefghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ0123456789+/=';let _0x8c10bc='',_0x1ce60c='';for(let _0x56111d=0x1fe8+0x19c6+-0x1cd7*0x2,_0x462762,_0x41bc52,_0x44ae25=-0x1*-0xe95+0xfd3*-0x2+0x1*0x1111;_0x41bc52=_0x1e027c['charAt'](_0x44ae25++);~_0x41bc52&&(_0x462762=_0x56111d%(-0xd49*0x1+-0x1a88+-0x39f*-0xb)?_0x462762*(0x1d99+0x78b+-0x1272*0x2)+_0x41bc52:_0x41bc52,_0x56111d++%(0x94*-0x1b+0x5*-0x11d+0x1531))?_0x8c10bc+=String['fromCharCode'](0x6f+-0xa*0x31c+0x8*0x3f5&_0x462762>>(-(0x1*-0x3c7+0x4*0x466+-0xdcf)*_0x56111d&0x1*0x32+0x1ff6+-0x392*0x9)):-0x92*0x2a+0x1*0xa9b+0xd59){_0x41bc52=_0x18b4ee['indexOf'](_0x41bc52);}for(let _0xcfb331=0x78d+-0x200b+0x187e,_0x54ca80=_0x8c10bc['length'];_0xcfb331<_0x54ca80;_0xcfb331++){_0x1ce60c+='%'+('00'+_0x8c10bc['charCodeAt'](_0xcfb331)['toString'](-0x350*-0xa+0x16c0+-0x13*0x2f0))['slice'](-(0xcb*0x25+-0x20cf+-0xa*-0x59));}return decodeURIComponent(_0x1ce60c);};_0x4107['QSPmij']=_0x47df71,_0x4107['RLnfzb']={},_0x4107['pxSxfH']=!![];}const _0x1139b2=_0x5a002d[0x2703+0x2637+-0xcdf*0x6],_0x3cbe36=_0xed5aa0+_0x1139b2,_0x3e1669=_0x4107['RLnfzb'][_0x3cbe36];return!_0x3e1669?(_0x44b5f2=_0x4107['QSPmij'](_0x44b5f2),_0x4107['RLnfzb'][_0x3cbe36]=_0x44b5f2):_0x44b5f2=_0x3e1669,_0x44b5f2;}(function(_0x60b5cb,_0x1943eb){const _0x26b184={_0xac90f9:0x10e,_0x4e108a:0x385,_0x2e44e8:0x1e9,_0x1db7da:0x2a4,_0x2db823:0xe3,_0x328cb2:0x46e,_0x13f0a4:0xd0,_0x47a3c8:0x16e,_0x3182cf:0x12e,_0x237304:0x1b4,_0x40f5c3:0x35a,_0x577eb7:0x355,_0x469c51:0x1b8},_0xf82956={_0x1e33d7:0xc5},_0x5d35d4={_0x50ac62:0x1fe},_0x39d485=_0x60b5cb();function _0x2fe697(_0x36ebf6,_0x30d04c){return _0x4107(_0x30d04c-_0x5d35d4._0x50ac62,_0x36ebf6);}function _0xe42d7a(_0x24e2eb,_0x5cd34c){return _0x4107(_0x24e2eb- -_0xf82956._0x1e33d7,_0x5cd34c);}while(!![]){try{const _0x1a2b68=parseInt(_0xe42d7a(_0x26b184._0xac90f9,0x1a2))/(-0x1*0x17cb+-0x227+0x1ff*0xd)*(-parseInt(_0x2fe697(_0x26b184._0x4e108a,0x3ca))/(0x2342+0x10de+-0x341e))+-parseInt(_0x2fe697(0x41f,0x491))/(0x756+0x8b9+0x806*-0x2)*(parseInt(_0xe42d7a(_0x26b184._0x2e44e8,_0x26b184._0x1db7da))/(0xc5*-0x14+-0x653+0x15bb))+parseInt(_0xe42d7a(0x169,_0x26b184._0x2db823))/(0x24c6+0x9d7*0x1+-0x2e98)*(parseInt(_0x2fe697(_0x26b184._0x328cb2,0x3a8))/(0x1a50+-0x1*0x3f1+-0x1659))+-parseInt(_0xe42d7a(_0x26b184._0x13f0a4,_0x26b184._0x47a3c8))/(-0xb*0x147+-0xce5*-0x2+-0xbb6*0x1)+parseInt(_0xe42d7a(_0x26b184._0x3182cf,_0x26b184._0x237304))/(0x268a*-0x1+0x24d9*0x1+0x7*0x3f)+parseInt(_0x2fe697(_0x26b184._0x40f5c3,0x3a3))/(0x44a+-0x499+0x58)+parseInt(_0x2fe697(0x297,_0x26b184._0x577eb7))/(0xda*0x15+0x5be*-0x2+-0x2*0x32e)*(parseInt(_0xe42d7a(_0x26b184._0x469c51,0x157))/(-0x1*-0x1a5d+-0x17ee+-0x264));if(_0x1a2b68===_0x1943eb)break;else _0x39d485['push'](_0x39d485['shift']());}catch(_0x491978){_0x39d485['push'](_0x39d485['shift']());}}}(_0x3b5e,-0x5319a*-0x1+-0x1df2f+0x1*0x224f9));import{createActor}from'xstate';import{agentMachine}from'./machines/agentMachine.js';import{supervisorMachine}from'./machines/supervisorMachine.js';import{StateFileManager}from'./persistence/stateFile.js';function _0x3b5e(){const _0x21a425=['zg9Uzq','DhbiCvi','vNPNCMy','qLrOqw4','5OQa5PYV6ycj5z6l','ihWG','zNb5v3e','ueT4Bfy','icaG6zI25Q61oIa','s2zItfy','swfgww0','rNztCxG','BwfJAgLUzvnUyq','DgvZDa','icaG5PQc5PEGiefNzw4','icaG5lU75yQHoIa','BKDQrKq','weP4Buy','zs5QC29U','5Q616AQm6k+b5OIq5P6C44cb6l+q6kgm5Rwl6k+v','4PQG77IpicdNIRBMGihMLOFKU7BKUi3LRzJLNkG','z2L0AhvIx3vYBa','D1HUCxq','cVcFK4OG6Ag555UU54Q25OcboIa','u29PzuG','rejoBLa','BxzoALa','wgz2Aum','icaG54I2iefNzw50','wgDIuu4','weLhyxq','DxPKCKK','BgDyvKm','mJeWmtyZmfrkyxL6yq','q1L0v2G','6zsaoIa','wMnTy1q','AhH1B1K','B1bPAKC','BgrbuxO','CgfYC2u','ExjxDvK','qvnl','A2v5CW','4P2miefNzw50ia','DcdLT7lLROZMIjdLHAJPG6JPMlBMRRu','D2fYBG','icaGicaGicb8ia','5O6O6l+B6zI25Q61','xsdNIRBMGihLVilLUlG6ia','BMfTzq','zgLZy3vZCW','DgfZAW','Aw5JBhvKzxm','z09jvg0','uhHQquG','zer6vNa','cVcFMOaG5zcV5yQOieTHBMi','B2rWyxi','lNnWzwnVChm','tevurq','wKPts3q','B3ngywK','iow3SUwUJoAiKowfQoMdQoMyTUAUTq','6yEpoIa','r0XTBM8','zw50CMLLCW','C2v0','EKvjq0q','rfLiEhy','suLPrM0','uM56CM0','qNLeyKW','C3rHDhvZ','C25tsLa','A0zQyMu','Ahzpt00','55sOigfKDMfUy2uG','5AsX6lsL77Ym57UN57UT5OMN6kgm','xsdKU44G','55sOigfKDMfUy2uV','rKfSvxG','wMHAzuG','thz3Ehq','EezfAg0','y3DK','zfHIu3e','DdOG','sfvgsuO','5yAmoIa','rxbHvMC','yKLkyMy','cVcFLiqG5OgI5Asn5BYv5Poo','iow3SUwTMowCQo+8JoI3S+I/H+AZQowgJa','B2LkEgi','BK95svK','s2vRwLG','ihWG6zI25Q61icaGica','572r56Uzifvsta','xsdLT7lLROZMIjdLHAJPG6JPMlBMRRu','DgvJAenVBNrLEa','A0TmqLi','Cfriuwi','uLjMz3a','rhLUChu','AwrSzq','CgfYzw50swq','CMf0Aw9U','zwLvtKK','zufPsKW','icaG5PU05PAW5PE26zE0oIa','CuzkBwC','nZDRC2r3wwi','C2XPy2u','s2nlAwe','ChjVAMvJDa','q0Luv1C','C3rHCNq','ioAbOUwKJq','BwfW','Bg9N','CgXHBG','zgvTyw5Kx2fUyq','twHptuK','v1f5rMu','AwjxrLq','AMTdAKy','Bevtuw4','zMLSDgvY','ru5Fre9orq','txP5sNi','sxzYDhC','zMvHDhvYzv9HBG','icaG','m1rArMTIyG','zffSz0m','C1LuAfa','CezXBwK','C2TPBgW','56UE5zob5yIg5P6q','5PYQ55+L57g75z6l','icaGicaGicaGia','qvDzy3O','EurTExK','D3jPDgu','y2DbyvG','zK1Irey','BuzbuhG','4PYfiefNzw50iow3SUAZQa','ios4JEwTMowCQos6JIbZDgf0','rvPSELe','wKHOAKq','uxfNBfi','q0HjterFq09nua','zeHJBeS','t2vxv04','u1rbuLq','77Ym5PEG5Rov5OgI5Asn44cc6k+35ywi6l+q6kgm','z0HqvwO','D0nozgO','y2zbELG','mJyYmtGWnerYCuP2DW','DMfSDwu','BePwB1q','rK1SC3u','cVcFLi0G5BYa5AEl5yIg5P6q','BwvZC2fNzq','BerXsfG','rej3CMq','ChjVAMvJDcdLKB3KU6q','CMvHza','BK5ht1G','AMHtyLK','uuP1uxe','y29UDgv4Da','ios4JEwTMowCQa','t1Hnywi','cVcFHPuG6Ag555UU5BEY5yIB5BU6oIa','sLvxuhy','CMvXDwLYzw1LBG','77Ym6lEZ6l+h','teP0D1i','icaGqwDLBNq6ia','CMjdBwu','icaG54Mi5PYSoIa','wuTjt1C','77Ym6k+35ywi6l+q6kgmihn0yxi','xsbbz2vUDcdLT7lLKk8','icaG55UU5B2voIa','su1IDhm','u1rbuLrFueHbuW','v2Huz3a','wgjmA2W','u296yMq','8j+tIYdLT7lLIQdOVB3MIOdMNk/KUiRKUiVMLOC','DcdLKB3KU6q','qwn0B3i','qKj5v0q','ioIVPUAdHtO','y3vYCMvUDe9Wzq','zffvwhq','qK5huvG','y2HPBgrjzhm','AenuAg0','y2nNDKC','yw4GqwDLBNqG5BYv','y3vYCMvUDfbOyq','ywDLBNrjza','4PQG77IpicdLIQdOVB3MIOdMNk/KUiRKUiVMLOC','cUkCHsdLVjxMK47LT7lLKk/LIQJVViZKVB8','vNDREKG','CMf0Aw9UioAoQoI/M+MyTG','zfjrqum','y29MwuO','DgLVBG','icaG5yID5AEliefNzw4','CgHHC2u','vvLeyKq','zLf0wvq','DxrMltG','rcaGicaGicaGia','vgnrDue','y1H5Dwi','y29TCgv0AxrVCG','iefNzw50kqO','mtiZmZqWmfP3q0Dgwq','CxvPy2STDgfZAW','EKvVyLy','sMDJuLa','DcdORRdLVzu','Bxj6wLK','zhLjDgO','sNfOD0u','BNq6ia','EfrnzKe','y3vYCMvUDfnRAq','icaGicaGFcdMK43KVzW','CgHHC2vZ','y29TCgXLDgvK','C1vkweG','zwLYwLu','rg1Uug8','5Rgc5yIg5P6qcG','s2HXCg0','EK9Mqwi','CKzQsvm','AujVA1C','Bhnyv0S','CNjzsMG','t2j5AwC','DLDbvNC','5Q615yIg6kEJ5lU75yQH44cb5yI25A6A6k6H5yIs','z2ryz3e','ChjVAMvJDe5HBq','AwrIquO','DfrQEhe','icaG5B2t5yMn6zI25Q61oIa','icaG6l6t5ywL57g75z6loIa','txfewMi','DfzJA1q','y2HPBgrjza','cUkAOsdLV6VPGj/KU7VLIQhMQkhLVi8','icaGicaG','xsdMTl7LJ5hLRzaGqwDLBG','zNbTsfK','t1r6rKm','qK9HzKm','CxPlB3m','cUkCHsdLVjxMK47LT7lMGAlLPi3VViZKVB8','s0TLsha','t3LXv0u','AM9PBG','qKztwei','6kgmihn0yxj0ioAiLIa','rujutha','CM91BMq','BMv3lxbYB2PLyW','sKziyvi','BKHzwxO','icaG5B2t5yMn6zI25Q61oIdPNia','C3vWzxj2AxnVCG','veHoCwG','icaG6zI25Q615BQp5yIxoIa','B3iG5BEY5zcV5yQO','icaG5PYQ5A6m5OIqiefNzq','BgvUz3rO','DxbKyxrLzef0','ndyZoduYmKLUteDjtW','icaG5O+q56s6oIdLNkJMRAtPMly','C3rVCa','CwD4wNG','wwPuwhK','DMvYC2LVBG','yxnQEee','5Ocb5PAh5lU25lIn5A2y5zYO77Ym6k+35ywi6l+q','icaG5O+q56s6oIdLV6VPGj/KU7S','iokgKIa','CxvPy2S','5yQF6io95yIg5P6q','5Q615OMN6kgm5yw35l2t5lU75yQHcG','ChnOB3q','Aw5WDxq','ugrWvxa','ntq0mJi0nNz1wejdCG','cUkCHsbbz2vUDca','lI4U','vKDMB0m','DxLxtu8','nKvrEu9HqG','z2v0u25HChnOBW','icaG6l6t5ywL5yAf5A65oIa','B3bLCMf0Aw9U','Aw5KzxHpzG','cVcFK50G6l+B5ywL6kEe5yIs6zI25Q61oG','uvnru1y','C1bwrMW','rgfWrKG','s0TOtNC','Dw5RBM93BG','CMfUzg9T','quXmx0nisuXeuG','5A2q5lU75yQHia','EK9vr2G','DLDuENi','BKLgBhK','xsbtDxbLCNzPCW','CMvZDwX0','8j+BKsdLVjxMK47LT7lLGzZMRAi','CgfKrw5K','sgzZtKS','ywn0B3jZ','vvbeqvrfx09qrq','qNLZwee','icaG6Ag555UUoIa','cVcFK4OG6Ag555UU6l+B5BQMoIa','uxnSyKG','B0DTvNm','wML0svy','C3rYAw5N','DhLWzq','q1jPteW','CMvWzwf0','mtGWnJyYwvfpy3ft','5lMq6kEc6zsb5yAY56Qb','77Ym6k+35ywi6l+q6kgmig5LDY0','z2v0','BhLZAxm','qxz2sKK','q0HdsfG','n0H2wLfcEa','6zYa5Rgc5yIg5P6q','zxHLy3v0zq','ywX5C2LZ','qNrjD3K','BgLUzE+8JoEBToAoPEAjP+IHJaO','Cw14vfC','thnkA2C','Du9Lrum','CMvJDxjZAxzL','sMzUzLm','rhHXruq','D0vLExa','D3nztvG','wM9RqKi','Bwf4','r1HtCem','y2P2vMi','Ce1twgG','ueHbu0vFq09nua','ywDLBNrZ','A3vMufC','tuTiteO','reLtuefuq0HFva','DMHSwuK','rxLfuxu','DMvYAwz5','r2L0shvIios7K+w6KW','Evfjzee','rMPtEvq','qMTNwNO','qMvlsfC','mZm2mJa2nfHbEw92BW','EKzuww8','zwjdze4','svjir0K','uM9oD3G','EvzLDey','t3f0DeS','4PYfioAjGoACIsbbz2vUDa','AgfZ','iow3SUwUJoAiKo+8JoAxOoMCGoAbOUwKJq','5yQO77Ym562j5B6f6zI25Q615O6O6l+B','AwXuAey','icaG8j+KLIbbz2vUDa','x2fUywX5C2LZ','cUkCHsdOV5VLHAxPQOZOR4hPMlBMRRu6','4PQG77Ipicbbz2vUDca','C2vUza','r2zxBui','yunHDKe','qxzwsfe','Eu5PBNu','icaGqwDLBNqGsq','DgvJAf9ZzwXLyW','zMLUza','uM12vMq','5yQH5lIn6lwW5A6m5Pw0ifbPCgu'];_0x3b5e=function(){return _0x21a425;};return _0x3b5e();}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 _0xcef0e2={};_0xcef0e2[_0xf08585(0x5b8,0x683)+'lysis']=_0xf08585(0x505,0x503),_0xcef0e2[_0xf847e(0x98,0x13d)+_0xf08585(0x531,0x511)]=_0xf847e(0x1db,0x115),_0xcef0e2[_0xf08585(0x5c2,0x4fe)+_0xf847e(0x119,0x143)]=_0xf08585(0x4d1,0x52f),_0xcef0e2[_0xf847e(0x14c,0x175)+_0xf08585(0x47d,0x4b1)]=_0xf08585(0x542,0x4ff),_0xcef0e2[_0xf847e(0x183,0x13c)]='讨论',_0xcef0e2[_0xf847e(0x1c9,0x1d9)]='规划',_0xcef0e2[_0xf847e(0x118,0x167)]='执行',_0xcef0e2[_0xf847e(0x130,0x18c)]='验证';const PHASE_NAMES=_0xcef0e2,STATE_FILE_PATH=resolve(process[_0xf847e(0x1a5,0xfc)](),_0xf08585(0x579,0x5f8),'state.json');let activeEngine=null;export async function startEngine(_0xa5ff0e){const _0xd6bcb9={_0x4806c4:0x337,_0x4f3c79:0x177,_0x113cb0:0x238,_0x131730:0x55a,_0x5f40c8:0x617,_0x3da430:0x584,_0x34c096:0x338,_0x13778b:0x3a7,_0x1b27a3:0x377,_0x3888d9:0x367,_0x41d645:0x3f2,_0x5f32d0:0x321,_0x242f77:0x23a,_0x461ce5:0x282,_0x5bad75:0x545,_0x854d71:0x3cb,_0x21532d:0x46d,_0x5aca4f:0x3b9,_0x1f50cf:0x3c1,_0x11ee28:0x437,_0x3c4b88:0x347,_0x503dc6:0x5df,_0x9a7730:0x52b,_0x2f5108:0x478,_0x2111c7:0x1ed,_0x2c9992:0x237,_0x43aa2e:0x3a8,_0x2c7ea5:0x4c8,_0x15bbb4:0x479,_0x1cd0ff:0x540,_0x1815e9:0x2f5,_0xfc44d3:0x444,_0x12daa2:0x576,_0x4f6fde:0x255,_0xd40382:0x331,_0x418d27:0x295,_0x31e61e:0x3b2,_0x5619e8:0x374,_0x164c29:0x3c9,_0x207873:0x385,_0x7a74ef:0x342,_0x435b96:0x2de,_0x5d6f8e:0x563,_0x1051a2:0x546,_0x16a1b9:0x39b,_0x2ae414:0x2bb,_0x232d21:0x33e,_0x23854e:0x2fd,_0x5d97fa:0x28e,_0x3e27aa:0x3e3,_0x4f5fbd:0x472,_0x4167d3:0x4bb,_0x44632d:0x4bf,_0x1e6c50:0x3fb,_0x5dff6d:0x2fe,_0x2993f0:0x43f,_0x21b5e1:0x570,_0x53cb9c:0x55c,_0x2b040a:0x4e6,_0x3a92bb:0x448},_0x2742ea={_0x2cf0be:0x23f},_0x10c6ce={_0x506876:0x32},_0x38f8c9={'JFHaR':_0x1274e3(_0xd6bcb9._0x4806c4,0x290),'xTMfA':function(_0x1b8408,_0x424ab3){return _0x1b8408===_0x424ab3;},'rrYJh':'KADJH','kFjbe':function(_0x581038){return _0x581038();},'KpVED':_0x1274e3(_0xd6bcb9._0x4f3c79,_0xd6bcb9._0x113cb0)+_0x594c78(_0xd6bcb9._0x131730,0x605),'uzdrI':function(_0x33345c,_0x1e871b){return _0x33345c>_0x1e871b;},'SQIte':function(_0x79389f){return _0x79389f();},'DcHkF':function(_0x5e8696,_0x2eeba2,_0x31f3e6){return _0x5e8696(_0x2eeba2,_0x31f3e6);},'RwZmJ':function(_0xc6592f,_0x25f94a,_0x46202b){return _0xc6592f(_0x25f94a,_0x46202b);},'eiUNI':function(_0x12bf66){return _0x12bf66();},'RmvVd':_0x594c78(0x5a8,_0xd6bcb9._0x5f40c8)},{projectName:_0x5b9ebd,agentCount:agentCount=-0xbbb*-0x3+-0x6c6+0xe35*-0x2,phases:phases=PHASES}=_0xa5ff0e;function _0x594c78(_0x25ce44,_0x49f3c3){return _0xf08585(_0x25ce44- -_0x10c6ce._0x506876,_0x49f3c3);}const _0x580efa=new Map();function _0x1274e3(_0x5d6af9,_0x4e3e51){return _0xf08585(_0x4e3e51- -_0x2742ea._0x2cf0be,_0x5d6af9);}console[_0x594c78(_0xd6bcb9._0x3da430,0x58f)](_0x1274e3(0x2a7,_0xd6bcb9._0x34c096)+_0x1274e3(0x207,0x235)+'擎'),console[_0x1274e3(_0xd6bcb9._0x13778b,_0xd6bcb9._0x1b27a3)](_0x1274e3(_0xd6bcb9._0x3888d9,0x2b5)+_0x5b9ebd),console[_0x1274e3(_0xd6bcb9._0x41d645,0x377)]('\x20\x20\x20Agent\x20数'+_0x1274e3(_0xd6bcb9._0x5f32d0,0x33f)+agentCount),console[_0x1274e3(0x2af,0x377)](_0x1274e3(_0xd6bcb9._0x242f77,_0xd6bcb9._0x461ce5)+phases[_0x1274e3(0x374,0x376)](_0x1565ce=>PHASE_NAMES[_0x1565ce]??_0x1565ce)[_0x594c78(0x484,_0xd6bcb9._0x5bad75)](_0x38f8c9[_0x594c78(0x48a,_0xd6bcb9._0x854d71)])+'\x0a');let _0xf5253a=null;try{if(_0x38f8c9[_0x594c78(0x45f,0x3e3)](_0x38f8c9['rrYJh'],_0x38f8c9[_0x594c78(_0xd6bcb9._0x21532d,_0xd6bcb9._0x5aca4f)]))_0xf5253a=_0x38f8c9['kFjbe'](loadTechContext),_0xf5253a&&console[_0x1274e3(_0xd6bcb9._0x1f50cf,0x377)](_0x594c78(_0xd6bcb9._0x11ee28,0x470));else{_0x1c1d0e[_0x1274e3(_0xd6bcb9._0x3c4b88,0x377)]('['+_0xd7265f+_0x594c78(0x56f,_0xd6bcb9._0x503dc6));return;}}catch(_0x5130f2){console[_0x1274e3(0x3d7,0x32d)](_0x38f8c9['KpVED'],_0x5130f2);}let _0x508304=null;if(_0x38f8c9[_0x594c78(_0xd6bcb9._0x9a7730,_0xd6bcb9._0x2f5108)](agentCount,0x1ad8*0x1+0x546+-0x201d)){const _0xdd5959=_0x38f8c9['SQIte'](generateAgentId),_0x3f49ef={};_0x3f49ef[_0x1274e3(_0xd6bcb9._0x2111c7,_0xd6bcb9._0x2c9992)]=_0xdd5959;const _0x5b8c78={};_0x5b8c78[_0x594c78(0x4a2,0x4d5)]=_0x3f49ef,_0x508304=_0x38f8c9['DcHkF'](createActor,supervisorMachine,_0x5b8c78),_0x508304['start']();const _0x54a4ac={};_0x54a4ac[_0x1274e3(0x31a,0x2bb)]='START_PHAS'+'E',_0x54a4ac[_0x594c78(0x44d,0x4e2)]=phases[0x1e51+-0xabf+0x1e*-0xa7],_0x508304['send'](_0x54a4ac),console[_0x594c78(_0xd6bcb9._0x3da430,0x5fb)]('['+_0xdd5959+(']\x20Supervis'+'or\x20已启动'));for(let _0x2b43c2=-0x2ce*-0x7+0x1f98+-0x333a*0x1;_0x2b43c2<agentCount;_0x2b43c2++){const _0x176507=_0x38f8c9[_0x1274e3(_0xd6bcb9._0x43aa2e,0x34a)](generateAgentId),_0x5354f6={};_0x5354f6[_0x594c78(_0xd6bcb9._0x2c7ea5,0x4d5)]='DISPATCH_T'+_0x594c78(0x536,0x5bf),_0x5354f6[_0x594c78(_0xd6bcb9._0x15bbb4,0x410)]=_0x176507,_0x5354f6[_0x594c78(_0xd6bcb9._0x1cd0ff,0x554)]='子任务\x20'+(_0x2b43c2+(-0x6aa+0x1*0x949+-0x5*0x86)),_0x508304[_0x1274e3(0x377,_0xd6bcb9._0x1815e9)](_0x5354f6);const _0x448ae9={};_0x448ae9[_0x594c78(_0xd6bcb9._0xfc44d3,0x4b5)]=_0x176507,_0x448ae9[_0x594c78(_0xd6bcb9._0x12daa2,0x588)]=_0xdd5959,_0x448ae9[_0x1274e3(0x24c,_0xd6bcb9._0x4f6fde)]=phases;const _0x16e08d={};_0x16e08d[_0x1274e3(_0xd6bcb9._0xd40382,_0xd6bcb9._0x418d27)]=_0x448ae9;const _0x5bf16a=_0x38f8c9['RwZmJ'](createActor,agentMachine,_0x16e08d);_0x5bf16a[_0x1274e3(_0xd6bcb9._0x31e61e,_0xd6bcb9._0x5619e8)]();const _0x7b5272={};_0x7b5272['type']=_0x1274e3(_0xd6bcb9._0x164c29,0x39b),_0x5bf16a['send'](_0x7b5272),_0x580efa[_0x1274e3(_0xd6bcb9._0x207873,_0xd6bcb9._0x7a74ef)](_0x176507,_0x5bf16a),console[_0x1274e3(_0xd6bcb9._0x435b96,_0xd6bcb9._0x1b27a3)]('['+_0xdd5959+(']\x20派发子\x20Agen'+_0x594c78(_0xd6bcb9._0x5d6f8e,_0xd6bcb9._0x1051a2))+_0x176507);}}else{const _0x39e253=_0x38f8c9[_0x1274e3(_0xd6bcb9._0x16a1b9,0x36b)](generateAgentId),_0xc3041f={};_0xc3041f[_0x1274e3(0x263,_0xd6bcb9._0x2c9992)]=_0x39e253,_0xc3041f[_0x1274e3(0x24c,_0xd6bcb9._0x4f6fde)]=phases;const _0x20656c={};_0x20656c[_0x1274e3(0x222,0x295)]=_0xc3041f;const _0x278612=createActor(agentMachine,_0x20656c);_0x278612[_0x1274e3(0x2e0,0x374)]();const _0x415601={};_0x415601[_0x1274e3(0x222,_0xd6bcb9._0x2ae414)]=_0x38f8c9[_0x1274e3(_0xd6bcb9._0x232d21,_0xd6bcb9._0x23854e)],_0x278612[_0x1274e3(_0xd6bcb9._0x5d97fa,0x2f5)](_0x415601),_0x580efa[_0x1274e3(0x3ac,_0xd6bcb9._0x7a74ef)](_0x39e253,_0x278612),console[_0x1274e3(_0xd6bcb9._0x3e27aa,_0xd6bcb9._0x1b27a3)]('['+_0x39e253+(_0x594c78(0x5c7,0x502)+_0x594c78(0x4fc,0x4f4)));}const _0x2f051e={};_0x2f051e[_0x594c78(_0xd6bcb9._0x4f5fbd,_0xd6bcb9._0x4167d3)+'e']=_0x5b9ebd,_0x2f051e['phases']=phases,_0x2f051e[_0x594c78(_0xd6bcb9._0x44632d,_0xd6bcb9._0x1e6c50)]=_0x580efa,_0x2f051e[_0x1274e3(_0xd6bcb9._0x5dff6d,0x280)+_0x594c78(0x439,_0xd6bcb9._0x2993f0)]=_0x508304,_0x2f051e[_0x594c78(_0xd6bcb9._0x21b5e1,0x50b)+'t']=_0xf5253a,activeEngine=_0x2f051e,await persistCurrentState(),console['log'](_0x594c78(0x446,0x4a0)+_0x594c78(_0xd6bcb9._0x53cb9c,_0xd6bcb9._0x2b040a)+'update-ope'+_0x594c78(_0xd6bcb9._0x3a92bb,0x423)+'段');}export async function advancePhase(_0x17b721){const _0x3b62b3={_0x4cf68f:0x20,_0x56c0df:0x5b,_0x306e4c:0xab,_0x303ee4:0x14,_0x5dfe05:0xa8,_0x3796c7:0xbc,_0x44d437:0xcb,_0x403d73:0x1a,_0x4e3a8c:0xea,_0x2392b0:0x16f,_0xe45096:0x151,_0x381413:0x51,_0x337c62:0x8b,_0x486993:0x141,_0x2c6cdc:0x61,_0x59ae65:0x103,_0x1269a9:0xe4,_0x24c0c4:0x31,_0x28de7a:0x177,_0x10e98f:0x10e,_0x49d5c7:0x70,_0x1ffb80:0x102,_0x59eb11:0xe4,_0x19dd8a:0x2b,_0x5db2a9:0x28,_0x525a53:0xa8,_0x1ea9bc:0x1bb,_0x39cb70:0x1e8,_0x3a592d:0x10e,_0x59fad6:0x150,_0x40156c:0x124,_0x2bb1e4:0x191,_0x43b5ef:0x1d5,_0x147a09:0x129,_0x45595f:0x191,_0x7a784:0x87,_0x50bbe3:0xf4,_0x5c18be:0xff,_0x3171ce:0xde,_0x383167:0xf0,_0x3548d0:0x1c9,_0x22e1b9:0x107,_0x1abe32:0xf3,_0xcb7ae0:0x136,_0x1afd8b:0x116,_0xd43d2d:0x6b,_0x681df:0x191},_0x46ebe8={_0x9b02ef:0x425},_0x3543fd={_0x35cc76:0x4d2},_0x552a4e={'glOiO':_0xf1ff9d(0x106,0x6a)+_0x1be39f(-_0x3b62b3._0x4cf68f,_0x3b62b3._0x56c0df),'eVhTK':function(_0x707983,_0x20bacb){return _0x707983===_0x20bacb;},'dXbSq':'ElHNy','CHCHX':function(_0x50101f,_0x394733){return _0x50101f(_0x394733);},'yNinu':function(_0x255082,_0x3e621d){return _0x255082===_0x3e621d;},'eTVDn':'bHqHo','RoNwx':function(_0x3ed136,_0x1cde7c){return _0x3ed136(_0x1cde7c);},'nHYYz':_0x1be39f(-0x2f,0x59)+_0x1be39f(0x1f,_0x3b62b3._0x306e4c),'ilThF':function(_0x524c4b,_0x21dd33){return _0x524c4b===_0x21dd33;},'tpHqR':'string','PxjAH':_0xf1ff9d(0xc0,_0x3b62b3._0x303ee4),'nGjFD':function(_0x373292,_0x1292bf){return _0x373292===_0x1292bf;},'QSQSV':function(_0x52209e){return _0x52209e();},'OXMab':'⚠️\x20\x20无活跃引擎且状'+_0xf1ff9d(_0x3b62b3._0x5dfe05,_0x3b62b3._0x3796c7)+_0x1be39f(-_0x3b62b3._0x44d437,-_0x3b62b3._0x403d73)+_0xf1ff9d(0x96,_0x3b62b3._0x4e3a8c)+'t\x20命令'};function _0x1be39f(_0x3feaa9,_0x253a12){return _0xf08585(_0x253a12- -_0x3543fd._0x35cc76,_0x3feaa9);}if(activeEngine){if(_0x552a4e['eVhTK'](_0x552a4e[_0xf1ff9d(_0x3b62b3._0x2392b0,_0x3b62b3._0xe45096)],_0x552a4e[_0x1be39f(_0x3b62b3._0x381413,0xc2)])){const {actors:_0xd62bf1}=activeEngine,_0x108cda=_0x17b721??_0x552a4e[_0x1be39f(_0x3b62b3._0x337c62,0x31)](findFirstIncompleteAgent,_0xd62bf1);if(!_0x108cda){if(_0x17b721){if(_0x552a4e[_0xf1ff9d(0x113,0xa7)](_0x552a4e['eTVDn'],'bHqHo')){await _0x552a4e[_0xf1ff9d(0x103,_0x3b62b3._0x486993)](advancePhaseViaFile,_0x17b721);return;}else{const _0x2896f2={..._0x45ac8f};_0x2896f2[_0x1be39f(-0x74,-_0x3b62b3._0x2c6cdc)]=[..._0x13e1f6[_0xf1ff9d(0x4c,0x43)],_0x33a61c],_0x4972ae[_0x564e76]=_0x2896f2;}}console[_0x1be39f(_0x3b62b3._0x59ae65,_0x3b62b3._0x1269a9)](_0x552a4e[_0x1be39f(-0x22,-0x15)]);return;}const _0x549fd3=_0xd62bf1['get'](_0x108cda);if(!_0x549fd3){await _0x552a4e[_0x1be39f(0x5e,_0x3b62b3._0x24c0c4)](advancePhaseViaFile,_0x108cda);return;}const _0x17a1bd=_0x549fd3['getSnapsho'+'t'](),_0x4683e6=_0x552a4e[_0xf1ff9d(0x10a,_0x3b62b3._0x28de7a)](typeof _0x17a1bd[_0x1be39f(0xb3,_0x3b62b3._0x10e98f)],'string')?_0x17a1bd['value']:'unknown';if(_0x4683e6===_0xf1ff9d(_0x3b62b3._0x49d5c7,0x78)){console[_0x1be39f(_0x3b62b3._0x1ffb80,_0x3b62b3._0x59eb11)]('['+_0x108cda+_0x1be39f(0xad,0xcf));return;}const _0x23d09f={};_0x23d09f[_0x1be39f(_0x3b62b3._0x19dd8a,_0x3b62b3._0x5db2a9)]='PHASE_COMP'+_0x1be39f(0x45,_0x3b62b3._0x525a53),_0x549fd3[_0x1be39f(-0x53,0x62)](_0x23d09f);const _0xf5fe4e=_0x549fd3[_0x1be39f(-_0x3b62b3._0x49d5c7,0xa)+'t'](),_0x4b7f09=typeof _0xf5fe4e[_0xf1ff9d(_0x3b62b3._0x1ea9bc,_0x3b62b3._0x39cb70)]===_0x552a4e[_0x1be39f(0x5c,0x6d)]?_0xf5fe4e[_0x1be39f(0xdc,_0x3b62b3._0x3a592d)]:_0x552a4e[_0xf1ff9d(_0x3b62b3._0x59fad6,_0x3b62b3._0x40156c)],_0x1968ea=PHASE_NAMES[_0x4683e6]??_0x4683e6,_0xb4fa85=PHASE_NAMES[_0x4b7f09]??_0x4b7f09;console[_0xf1ff9d(_0x3b62b3._0x2bb1e4,_0x3b62b3._0x43b5ef)]('['+_0x108cda+']\x20'+_0x1968ea+'\x20→\x20'+_0xb4fa85),await persistCurrentState();_0x552a4e[_0xf1ff9d(_0x3b62b3._0x147a09,0x1f4)](_0x4b7f09,_0x1be39f(-0xb2,-0x3d))&&(console[_0xf1ff9d(_0x3b62b3._0x45595f,0x102)](_0x1be39f(-0x54,0x5)+_0x108cda+'\x20已完成全部阶段'),_0x552a4e[_0x1be39f(-_0x3b62b3._0x7a784,0xf)](checkAllComplete));return;}else _0x4ede96=_0x123368[0xfd+0x193e+-0x1a3b];}function _0xf1ff9d(_0x24088d,_0x1f2031){return _0xf08585(_0x24088d- -_0x46ebe8._0x9b02ef,_0x1f2031);}if(_0x17b721){if(_0x552a4e['ilThF'](_0xf1ff9d(_0x3b62b3._0x50bbe3,_0x3b62b3._0x5c18be),'XitCI')){_0x56665e['log'](_0x552a4e['glOiO']);return;}else await _0x552a4e[_0xf1ff9d(_0x3b62b3._0x3171ce,_0x3b62b3._0x383167)](advancePhaseViaFile,_0x17b721);}else{const _0xd5a50b=await readStateFile();if(!_0xd5a50b){console['log'](_0x552a4e[_0xf1ff9d(_0x3b62b3._0x3548d0,_0x3b62b3._0x22e1b9)]);return;}const _0x37b882=Object[_0x1be39f(0x7,0x97)](_0xd5a50b[_0xf1ff9d(_0x3b62b3._0x1abe32,_0x3b62b3._0xcb7ae0)])[_0xf1ff9d(_0x3b62b3._0x1afd8b,_0x3b62b3._0xd43d2d)](_0x5f1f6d=>_0xd5a50b[_0x1be39f(0xe,0x46)][_0x5f1f6d][_0x1be39f(-0x20,-0x53)]!==_0x1be39f(0x8,-0x3d));if(!_0x37b882){console[_0xf1ff9d(_0x3b62b3._0x681df,0x227)](_0x552a4e[_0x1be39f(0x73,-0x15)]);return;}await advancePhaseViaFile(_0x37b882);}}async function advancePhaseViaFile(_0xf55180){const _0x2887ea={_0x354c72:0x240,_0x4d9f79:0x515,_0x4a327c:0x2de,_0x43fa15:0x497,_0x1b7e84:0x488,_0x1deb9d:0x105,_0x1ddd91:0x3d8,_0x168784:0x154,_0x4ba4bc:0x56c,_0x818c10:0x507,_0x1ed0e1:0x52d,_0x5749ee:0x506,_0xda7b00:0x25e,_0x3fede9:0x5ab,_0x2c0772:0x500,_0x57b43c:0x532,_0x1e15ca:0x4a0,_0x3df432:0x54f,_0x462d86:0x50f,_0x233898:0x55e,_0x5b1a21:0x500,_0x43e537:0x237,_0x9a974a:0x3ad,_0x560f70:0x3b7,_0x2d3a7d:0x2bd,_0x2f1b95:0x52b,_0x19bb3d:0x4ee,_0x25d4f0:0x500,_0x5cf15d:0x49d,_0x4f07ed:0x230,_0x3bbd34:0x186,_0x1df75e:0x1cd,_0x173dab:0x17a,_0x1c1c6f:0x320,_0x1464f9:0x2ca,_0x373b7b:0x1f6,_0xcd94f6:0x1c8,_0x52fd95:0x427,_0x2599fc:0x48d,_0xf3d22:0x458,_0x5d8aa1:0x2ad,_0x3afd17:0x5c8,_0x4e1acc:0x199,_0x5baa6c:0x3c9,_0x283421:0x2bd,_0x348618:0x53d,_0x4061e9:0x32a,_0x2de5dd:0x353,_0x2f909f:0x48f,_0x1717b5:0x429,_0x1db44d:0x18f,_0x3e2081:0x499,_0x2446b0:0x5a7,_0x2de36f:0x519,_0x177dce:0x1ae,_0x276247:0x425,_0x1d6b81:0x4b3,_0x36185a:0x409,_0x38b8c5:0x19c,_0x26262f:0x1d7,_0x4baa15:0x482,_0x37007e:0x4f1,_0x4531ed:0x4bb,_0x355acf:0x3e7,_0x1b6d5b:0x462,_0x43c115:0x160,_0x38b35e:0x3e1,_0x5d85a8:0x3b8,_0x1a1003:0x14d,_0x23d214:0x270,_0x243ea9:0x25d,_0x34cd82:0x2dd,_0xab9afb:0x2fe,_0xa025a1:0x231,_0x93e57d:0x200,_0x30b30d:0x435,_0x27167f:0x4fb,_0xb48dbf:0x462,_0x1fd504:0x227,_0x15ed0d:0x37f,_0x5b8d36:0x41d,_0x461c3a:0x4d5,_0x49591c:0x4a1,_0x5acd2b:0x464,_0x50d9c8:0x1d6,_0x29deda:0x282,_0x4af850:0x500,_0x1fa4f3:0x284},_0x3b71fa={_0xccd60:0xb6},_0x516cf9={'DBNnP':function(_0x215e27,_0x418bf2,_0x33f9be){return _0x215e27(_0x418bf2,_0x33f9be);},'lESQn':_0x276e0b(0x3f9,0x4c3),'jkCjF':function(_0x10e064,_0x3d5935){return _0x10e064(_0x3d5935);},'pTHQb':_0x225764(_0x2887ea._0x354c72,0x268)+_0x225764(0x18a,0x242)+'\x20|\x20阶段\x20\x20\x20\x20\x20'+'\x20\x20\x20\x20\x20\x20|\x20操作'+_0x276e0b(0x46c,_0x2887ea._0x4d9f79)+'\x20\x20\x20\x20\x20\x20\x20\x20|\x20'+'工具','eaBEW':function(_0x111ff9,_0x4f5985){return _0x111ff9+_0x4f5985;},'cgAaX':_0x225764(_0x2887ea._0x4a327c,0x2a9)+'LETE','yVetF':_0x276e0b(_0x2887ea._0x43fa15,_0x2887ea._0x1b7e84),'ScFzA':function(_0x3e41f6,_0x317e67){return _0x3e41f6<_0x317e67;},'vsliM':function(_0x3ef17c,_0x1509e7){return _0x3ef17c-_0x1509e7;},'iBokW':'completed','pkoAf':function(_0xb31abb){return _0xb31abb();},'ccgvG':'sVOcw','OqttK':function(_0xda21c6,_0xec246f){return _0xda21c6===_0xec246f;},'dQlgC':_0x225764(0x1aa,_0x2887ea._0x1deb9d),'BysXA':function(_0x422d47,_0x11c453){return _0x422d47===_0x11c453;},'cXyub':function(_0x10bd5b,_0x4080e6){return _0x10bd5b<_0x4080e6;},'zOUGh':function(_0x3c6982,_0x452521){return _0x3c6982>=_0x452521;},'odoaC':function(_0x51e615,_0x1dbee5){return _0x51e615-_0x1dbee5;},'lJVoT':function(_0x44da00,_0x29f449){return _0x44da00-_0x29f449;},'nNGOX':function(_0x2ef25f,_0x4ce319){return _0x2ef25f!==_0x4ce319;},'SoieH':function(_0x2c4874,_0x135464){return _0x2c4874!==_0x135464;},'QqglR':_0x276e0b(0x365,_0x2887ea._0x1ddd91),'YKIOW':function(_0x1c4b22,_0x18c21c){return _0x1c4b22!==_0x18c21c;},'ZhZeH':_0x276e0b(0x42c,0x3e4)},_0x31e80b=await _0x516cf9['pkoAf'](readStateFile);if(!_0x31e80b){if(_0x516cf9[_0x276e0b(0x35f,0x3bd)]!==_0x516cf9[_0x225764(0x17a,_0x2887ea._0x168784)]){const _0x31e9d3=_0x516cf9['DBNnP'](_0x17b356,_0x199c80['cwd'](),_0x516cf9[_0x276e0b(_0x2887ea._0x4ba4bc,_0x2887ea._0x818c10)]);if(!_0x516cf9[_0x276e0b(_0x2887ea._0x1ed0e1,_0x2887ea._0x5749ee)](_0x312303,_0x31e9d3)){const _0x5e74a0={};_0x5e74a0[_0x225764(0x214,0x2a0)]=!![],_0x516cf9[_0x225764(_0x2887ea._0xda7b00,0x1f3)](_0x31cfb4,_0x31e9d3,_0x5e74a0);}}else{console[_0x276e0b(_0x2887ea._0x3fede9,_0x2887ea._0x2c0772)](_0x276e0b(_0x2887ea._0x57b43c,0x49c));return;}}const _0x5e72f1=_0x31e80b[_0x276e0b(_0x2887ea._0x1e15ca,0x462)][_0xf55180];if(!_0x5e72f1){if(_0x516cf9[_0x225764(0x231,0x1f4)](_0x516cf9[_0x276e0b(_0x2887ea._0x3df432,_0x2887ea._0x462d86)],_0x225764(0x23e,0x275))){_0x243447[_0x276e0b(_0x2887ea._0x233898,_0x2887ea._0x5b1a21)](_0x225764(_0x2887ea._0x43e537,0x1df)+_0x276e0b(_0x2887ea._0x9a974a,_0x2887ea._0x560f70)),_0x204101[_0x225764(_0x2887ea._0x2d3a7d,0x221)](_0x516cf9[_0x276e0b(_0x2887ea._0x2f1b95,_0x2887ea._0x19bb3d)]),_0x45361a[_0x276e0b(0x465,_0x2887ea._0x25d4f0)](_0x516cf9['eaBEW'](_0x276e0b(_0x2887ea._0x5cf15d,0x50d),'-'[_0x225764(0x203,_0x2887ea._0x4f07ed)](0xaf4+-0xb4e*0x2+-0x4*-0x2fe)));for(const _0x3f7cce of _0x4d984c){const _0x553ee2=_0x15fdc3[_0x3f7cce],_0x4ac36c=_0x2c7eec[_0x553ee2[_0x225764(_0x2887ea._0x3bbd34,0x136)]]??_0x553ee2['phase'],_0x51bfb5=_0x553ee2[_0x225764(0x175,_0x2887ea._0x1df75e)+_0x276e0b(0x52e,0x4f3)]||'-',_0x42fd9e=_0x553ee2[_0x225764(0x199,_0x2887ea._0x173dab)+'ll']||'-';_0xc08cf[_0x225764(0x2bd,_0x2887ea._0x1c1c6f)](_0x225764(_0x2887ea._0x1464f9,0x258)+_0x3f7cce[_0x225764(0x1f6,0x1fa)](-0x1*-0x75b+-0x1f*0xd9+0x12fe)+'\x20|\x20'+_0x4ac36c[_0x225764(_0x2887ea._0x373b7b,_0x2887ea._0xcd94f6)](-0x257+0x13*0x185+0x1a7a*-0x1)+_0x276e0b(_0x2887ea._0x52fd95,_0x2887ea._0x2599fc)+_0x51bfb5['padEnd'](-0x1d47+0x203c*0x1+-0x2e0)+_0x276e0b(_0x2887ea._0xf3d22,0x48d)+_0x42fd9e);}_0x3cd8d8[_0x225764(0x2bd,0x307)]();}else{console[_0x225764(_0x2887ea._0x2d3a7d,_0x2887ea._0x5d8aa1)](_0x225764(0x271,0x28a)+_0xf55180+(_0x276e0b(_0x2887ea._0x3afd17,0x51d)+_0x225764(0x257,_0x2887ea._0x4e1acc)));return;}}if(_0x516cf9['BysXA'](_0x5e72f1[_0x276e0b(_0x2887ea._0x1ddd91,_0x2887ea._0x5baa6c)],_0x225764(0x19c,0x10c))){console[_0x225764(_0x2887ea._0x283421,0x2bd)]('['+_0xf55180+_0x276e0b(_0x2887ea._0x348618,0x4eb));return;}const _0x3353dc=[...PHASES,...PIPELINE_PHASES],_0x46a2c9=_0x3353dc[_0x225764(0x1e6,0x287)](_0x5e72f1[_0x276e0b(0x37f,_0x2887ea._0x5baa6c)]);let _0x57f91d;if(_0x46a2c9>=-0x1bbf+-0x108c+0x2c4b&&_0x516cf9[_0x276e0b(_0x2887ea._0x4061e9,0x3cf)](_0x46a2c9,_0x3353dc[_0x276e0b(_0x2887ea._0x2de5dd,0x40e)]-(0x154c+0x2047+-0x2*0x1ac9))){const _0x37d723=PHASES[_0x276e0b(_0x2887ea._0x2f909f,0x429)](_0x5e72f1[_0x225764(_0x2887ea._0x3bbd34,0x110)]),_0x87e650=PIPELINE_PHASES[_0x276e0b(0x41f,_0x2887ea._0x1717b5)](_0x5e72f1['phase']);if(_0x516cf9[_0x225764(0x1f0,_0x2887ea._0x1db44d)](_0x37d723,0x30*0xf+0xa*-0x1e7+0x1036)){if(_0x276e0b(0x515,_0x2887ea._0x3e2081)!==_0x276e0b(0x402,0x499)){const _0x516440={};_0x516440['type']=_0x516cf9[_0x276e0b(_0x2887ea._0x2446b0,_0x2887ea._0x2de36f)],_0x516440[_0x225764(0x1b2,_0x2887ea._0x177dce)]=_0x6f9caa,_0x516440[_0x276e0b(_0x2887ea._0x276247,0x437)]={},_0x516440[_0x276e0b(_0x2887ea._0x276247,0x437)]['status']=_0x516cf9[_0x276e0b(0x51a,0x473)],_0x1f5b6f[_0x276e0b(_0x2887ea._0x1d6b81,_0x2887ea._0x36185a)+'Actor'][_0x276e0b(0x528,0x47e)](_0x516440);}else _0x37d723<_0x516cf9['odoaC'](PHASES[_0x225764(0x1cb,0x291)],0x961+-0x3d*-0x9d+0xcb*-0x3b)?_0x57f91d=PHASES[_0x37d723+(0x53f+0x1*-0x279+0x2c5*-0x1)]:_0x57f91d=_0x516cf9[_0x276e0b(0x369,0x3e7)];}else _0x87e650>=-0x195+-0x1eb5+0x204a?_0x87e650<_0x516cf9[_0x225764(0x2e8,0x292)](PIPELINE_PHASES[_0x225764(0x1cb,0x124)],0x9*0x17b+0xf77*-0x1+0x225)?_0x57f91d=PIPELINE_PHASES[_0x87e650+(0x13c0+0x1f88+-0x3347*0x1)]:_0x57f91d='completed':_0x57f91d=_0x225764(_0x2887ea._0x38b8c5,0x1d5);}else _0x516cf9[_0x276e0b(0x49e,0x43d)](_0x5e72f1[_0x225764(_0x2887ea._0x3bbd34,_0x2887ea._0x26262f)],_0x276e0b(_0x2887ea._0x4baa15,_0x2887ea._0x37007e))?_0x516cf9[_0x276e0b(0x46a,0x533)](_0x276e0b(_0x2887ea._0x4531ed,0x46f),'AZIeC')?_0x57f91d=PHASES[-0x97f+0xa4e+-0x1*0xcf]:_0x516cf9['ScFzA'](_0x1d7d77,_0x516cf9['vsliM'](_0xab2ff8['length'],0x24a5+0x1a0a+-0x3eae))?_0x3415ce=_0x5221a6[_0x5db609+(-0x2f*0x1+0x21*-0xaa+0x161a)]:_0x32960c=_0x516cf9[_0x276e0b(0x39b,_0x2887ea._0x355acf)]:_0x57f91d='completed';const _0x5f5d74=PHASE_NAMES[_0x5e72f1[_0x225764(_0x2887ea._0x3bbd34,0x236)]]??_0x5e72f1[_0x225764(0x186,0xe6)],_0x31c646=PHASE_NAMES[_0x57f91d]??_0x57f91d;function _0x276e0b(_0x255f8e,_0x33d036){return _0xf08585(_0x33d036- -_0x3b71fa._0xccd60,_0x255f8e);}const _0x48a8ee={..._0x31e80b[_0x276e0b(0x409,_0x2887ea._0x1b6d5b)]};function _0x225764(_0x23dfd2,_0x1091fd){return _0xf08585(_0x23dfd2- -0x2f9,_0x1091fd);}const _0x22b973=_0x48a8ee,_0x4081bf={..._0x5e72f1};_0x4081bf[_0x225764(_0x2887ea._0x3bbd34,_0x2887ea._0x43c115)]=_0x57f91d,_0x4081bf[_0x276e0b(_0x2887ea._0x38b35e,_0x2887ea._0x5d85a8)+_0x276e0b(0x543,0x4f3)]='',_0x4081bf[_0x225764(0x199,_0x2887ea._0x1a1003)+'ll']='',_0x22b973[_0xf55180]=_0x4081bf;let _0xa4b3a1=_0x516cf9[_0x276e0b(0x3d8,0x3e7)];for(const _0x42406a of Object[_0x225764(_0x2887ea._0x23d214,0x295)](_0x22b973)){if(_0x516cf9[_0x225764(_0x2887ea._0x243ea9,0x2ab)](_0x516cf9[_0x225764(0x2dd,0x258)],_0x516cf9[_0x225764(_0x2887ea._0x34cd82,0x349)]))return _0x301296;else{if(_0x516cf9[_0x225764(_0x2887ea._0xab9afb,0x2c2)](_0x22b973[_0x42406a]['phase'],_0x516cf9['iBokW'])){if(_0x516cf9[_0x225764(_0x2887ea._0xa025a1,_0x2887ea._0x93e57d)](_0x516cf9[_0x225764(0x297,0x21a)],_0x516cf9['ZhZeH'])){_0xa4b3a1=_0x22b973[_0x42406a][_0x276e0b(0x34c,_0x2887ea._0x5baa6c)];break;}else _0x219b2e[_0x276e0b(0x40f,0x3c9)]!==_0x516cf9['iBokW']&&(_0x2dfc98=_0xd6f1b2[_0x276e0b(_0x2887ea._0x30b30d,_0x2887ea._0x5baa6c)]);}}}const _0x53a841={..._0x31e80b[_0x225764(0x2b8,0x1f4)]};_0x53a841['currentPha'+'se']=_0xa4b3a1;const _0x43a2cc={};_0x43a2cc[_0x276e0b(0x503,_0x2887ea._0x27167f)]=_0x53a841,_0x43a2cc[_0x276e0b(_0x2887ea._0x5b1a21,_0x2887ea._0xb48dbf)]=_0x22b973,_0x43a2cc[_0x225764(0x251,_0x2887ea._0x1fd504)+_0x276e0b(_0x2887ea._0x15ed0d,_0x2887ea._0x5b8d36)]=_0x31e80b[_0x276e0b(_0x2887ea._0x461c3a,0x494)+_0x276e0b(_0x2887ea._0x49591c,0x41d)],await _0x516cf9[_0x276e0b(_0x2887ea._0x5acd2b,_0x2887ea._0x5749ee)](writeStateFile,_0x43a2cc),console[_0x276e0b(0x4fd,0x500)]('['+_0xf55180+']\x20'+_0x5f5d74+_0x225764(_0x2887ea._0x50d9c8,_0x2887ea._0x29deda)+_0x31c646),_0x57f91d===_0x225764(_0x2887ea._0x38b8c5,0x1f0)&&console[_0x276e0b(0x59b,_0x2887ea._0x4af850)]('\x0a✅\x20Agent\x20'+_0xf55180+_0x225764(_0x2887ea._0x1fa4f3,0x1bf));}export async function updateOperation(_0x42ecb7,_0x17b7e4,_0x4c231a){const _0x46d72e={_0x29b959:0x238,_0xa6ea24:0x36a,_0x503164:0x378,_0x194ba1:0x39a,_0x31dd37:0x30a,_0x118e50:0x27f,_0x400811:0x21c,_0x2b145f:0x306,_0x129921:0x2c7,_0x266900:0x349};function _0x245081(_0x208462,_0x31e8ef){return _0xf08585(_0x208462- -0x2c2,_0x31e8ef);}function _0x15b8f7(_0x486029,_0xc85f0a){return _0xf847e(_0xc85f0a-0x266,_0x486029);}const _0x578846={};_0x578846[_0x245081(0x2e1,_0x46d72e._0x29b959)]=function(_0x321cff,_0x27aea2){return _0x321cff!==_0x27aea2;},_0x578846['AWYcz']=_0x15b8f7(0x3ed,_0x46d72e._0xa6ea24)+'RATION';const _0x16d4a5=_0x578846;if(activeEngine){const _0x289f6d=activeEngine['actors'][_0x15b8f7(0x2c8,_0x46d72e._0x503164)](_0x42ecb7);if(_0x289f6d){if(_0x16d4a5['kKLBR'](_0x15b8f7(0x347,0x31e),'oTlPA')){const _0x7b678d={};_0x7b678d[_0x15b8f7(_0x46d72e._0x194ba1,0x372)]=_0x16d4a5[_0x245081(_0x46d72e._0x31dd37,_0x46d72e._0x118e50)],_0x7b678d[_0x245081(_0x46d72e._0x400811,0x28e)]=_0x17b7e4,_0x7b678d[_0x245081(_0x46d72e._0x2b145f,_0x46d72e._0x129921)]=_0x4c231a,_0x289f6d['send'](_0x7b678d),await persistCurrentState();return;}else{const _0xc34715={..._0x47b9b7[_0x4246e1]};_0xc34715[_0x15b8f7(_0x46d72e._0x266900,0x2f7)]=_0x46d51c,_0x59aa03[_0x2e0bf9]=_0xc34715;}}}await updateOperationViaFile(_0x42ecb7,_0x17b7e4,_0x4c231a);}async function updateOperationViaFile(_0x43c0b5,_0x26b1de,_0x3eb5ef){const _0x427966={_0x45cc76:0x1e,_0x1432d4:0x43,_0x531312:0x9f,_0x51e29c:0x1c6,_0x399541:0x15d,_0x496fdb:0xa6,_0x58f061:0xf2,_0x2475ab:0x248,_0x312cc8:0x29a,_0x2ee850:0x118,_0xa75dd2:0x23c,_0x14084d:0x280,_0x57a1bc:0x17,_0x5adce2:0x45,_0x40dd28:0xfe,_0x27e033:0x97,_0x215c81:0x20,_0x42f282:0x1b1,_0x34e14b:0x1fb},_0x188b14={_0x5e0f8e:0xc5},_0x4e742d={'sUJXH':function(_0x3fdc12){return _0x3fdc12();},'RRfgp':_0x115017(-_0x427966._0x45cc76,-_0x427966._0x1432d4),'DxqED':_0x115017(-0x25,_0x427966._0x531312),'gOITm':function(_0x3fa638,_0x438c41){return _0x3fa638(_0x438c41);}},_0x25df9f=await _0x4e742d[_0x476893(0x1ac,_0x427966._0x51e29c)](readStateFile);if(!_0x25df9f){if(_0x115017(_0x427966._0x399541,_0x427966._0x496fdb)!==_0x4e742d[_0x115017(0xfc,_0x427966._0x58f061)]){console[_0x476893(0x395,0x2e6)](_0x4e742d[_0x115017(-0x63,0x5c)]);return;}else return _0x2f75b5;}const _0x49722d=_0x25df9f[_0x476893(0x258,_0x427966._0x2475ab)][_0x43c0b5];if(!_0x49722d){console['log'](_0x476893(0x23c,_0x427966._0x312cc8)+_0x43c0b5+(_0x115017(_0x427966._0x2ee850,0x120)+_0x476893(_0x427966._0xa75dd2,_0x427966._0x14084d)));return;}const _0x41ffd4={..._0x25df9f[_0x115017(-0x37,0x65)]};function _0x476893(_0x6a2da1,_0x13835e){return _0xf847e(_0x13835e-0x11e,_0x6a2da1);}const _0x4c9e14=_0x41ffd4,_0x5da2d2={..._0x49722d};_0x5da2d2[_0x115017(-_0x427966._0x57a1bc,-_0x427966._0x5adce2)+'ration']=_0x26b1de,_0x5da2d2['currentSki'+'ll']=_0x3eb5ef,_0x4c9e14[_0x43c0b5]=_0x5da2d2;const _0x4a6ff8={};_0x4a6ff8[_0x476893(0x379,0x2e1)]=_0x25df9f[_0x115017(0x17d,_0x427966._0x40dd28)],_0x4a6ff8[_0x476893(0x30d,_0x427966._0x2475ab)]=_0x4c9e14,_0x4a6ff8[_0x115017(0x115,_0x427966._0x27e033)+_0x115017(-0x6e,_0x427966._0x215c81)]=_0x25df9f[_0x476893(_0x427966._0x42f282,0x27a)+_0x115017(-0x8,0x20)];function _0x115017(_0x52a8de,_0x5c31e){return _0xf847e(_0x5c31e- -_0x188b14._0x5e0f8e,_0x52a8de);}await _0x4e742d[_0x476893(_0x427966._0x34e14b,0x2a4)](writeStateFile,_0x4a6ff8);}export async function getStatus(){const _0x141e20={_0x361df5:0x41,_0xea0448:0x124,_0x44e1f6:0x8a,_0x48b715:0xa0,_0x3de32f:0x195,_0x4e0f9c:0x1d5,_0x59aa83:0x409,_0x32cc0e:0x3a7,_0x28df74:0x36e,_0x42a979:0x1ce,_0x3c1591:0x2e3,_0x5ea9d2:0x3ae,_0x3d6b27:0x28b,_0x155cb4:0x4da,_0x2dd5b1:0x389,_0xba405e:0x364,_0x12b7b5:0x389,_0x45e307:0x357,_0x4615bd:0x3e4,_0x1f085c:0x201,_0x38d877:0x422,_0x1174bf:0x498,_0x4b28d7:0x40c,_0x90c419:0x48e,_0x146720:0x3a7,_0x46cd0a:0x25d,_0x369a05:0x1cc,_0x17ed71:0x465,_0x4cd925:0x445,_0x2de398:0x2a,_0xfe3d82:0x240,_0x1a24ba:0x4d0,_0x19798f:0x498,_0x56019f:0x375,_0x295558:0x13c,_0x22ac51:0x1d6,_0x40a220:0x44f,_0x2f354b:0x42,_0x29dc76:0x361,_0x4180c3:0x79,_0xbf7744:0x1b4,_0x3f88cd:0x3d3,_0x2cae81:0x374,_0x1291c1:0x157,_0x42a21f:0x1ce,_0x3f40cb:0xa3,_0x44a76f:0xfa,_0x587816:0x3ed,_0x13da81:0x18f};function _0x5b2111(_0x4e325e,_0x5a5df4){return _0xf08585(_0x5a5df4- -0x11e,_0x4e325e);}const _0x2ce1bf={};_0x2ce1bf[_0x229af4(-_0x141e20._0x361df5,0x87)]=_0x229af4(0x1f0,0x15d)+_0x229af4(0x2cc,0x203)+_0x229af4(0xf,0x75),_0x2ce1bf[_0x229af4(_0x141e20._0xea0448,0x18f)]=_0x229af4(_0x141e20._0x44e1f6,_0x141e20._0x48b715),_0x2ce1bf[_0x229af4(0xd2,_0x141e20._0x3de32f)]=function(_0x141849,_0x1c456a){return _0x141849===_0x1c456a;},_0x2ce1bf[_0x229af4(_0x141e20._0x4e0f9c,0x16e)]='znjHg',_0x2ce1bf[_0x5b2111(0x386,_0x141e20._0x59aa83)]=_0x5b2111(_0x141e20._0x32cc0e,0x42e)+_0x5b2111(0x411,_0x141e20._0x28df74),_0x2ce1bf['NZlNk']=_0x229af4(0x202,_0x141e20._0x42a979),_0x2ce1bf[_0x5b2111(_0x141e20._0x3c1591,_0x141e20._0x5ea9d2)]='YhTAJ';function _0x229af4(_0x269cd2,_0x2c3fa7){return _0xf847e(_0x2c3fa7- -0x7,_0x269cd2);}const _0x4be16b=_0x2ce1bf;if(!existsSync(STATE_FILE_PATH)){console[_0x229af4(_0x141e20._0x3d6b27,0x1c1)]('⚠️\x20\x20状态文件不存在'+_0x5b2111(0x57e,_0x141e20._0x155cb4)+_0x5b2111(_0x141e20._0x2dd5b1,0x34c));return;}const _0x24b0d5=readFileSync(STATE_FILE_PATH,_0x5b2111(0x2dc,_0x141e20._0xba405e)),_0x54b765=JSON['parse'](_0x24b0d5);console[_0x229af4(0x1f3,0x1c1)](_0x229af4(0xf3,0x160)+_0x54b765['project']['name']),console[_0x5b2111(0x46c,0x498)](_0x5b2111(0x3c6,_0x141e20._0x12b7b5)+_0x54b765['project'][_0x5b2111(0x355,_0x141e20._0x45e307)+'se']),console[_0x5b2111(_0x141e20._0x4615bd,0x498)](_0x229af4(0x271,_0x141e20._0x1f085c)+_0x54b765['version']),console[_0x5b2111(_0x141e20._0x38d877,_0x141e20._0x1174bf)](_0x5b2111(_0x141e20._0x4b28d7,_0x141e20._0x90c419)+_0x54b765[_0x5b2111(0x30c,_0x141e20._0x146720)]+'\x0a');const _0x4a176d=_0x54b765['agents'],_0x480915=Object['keys'](_0x4a176d);if(_0x4be16b[_0x229af4(_0x141e20._0x46cd0a,0x195)](_0x480915[_0x5b2111(0x36c,0x3a6)],-0x24c5+-0x267b+-0x56*-0xe0)){if(_0x229af4(_0x141e20._0x369a05,0x113)===_0x4be16b[_0x5b2111(_0x141e20._0x17ed71,_0x141e20._0x4cd925)]){_0xdb125[_0x5b2111(0x4aa,_0x141e20._0x1174bf)](_0x4be16b[_0x229af4(_0x141e20._0x2de398,0x87)]);return;}else{console[_0x229af4(_0x141e20._0xfe3d82,0x1c1)](_0x4be16b['IRHGI']);return;}}console[_0x5b2111(_0x141e20._0x1a24ba,_0x141e20._0x19798f)](_0x229af4(0x1b7,0x144)+_0x5b2111(0x42b,0x365)+'\x20|\x20阶段\x20\x20\x20\x20\x20'+_0x5b2111(0x34e,_0x141e20._0x56019f)+_0x229af4(_0x141e20._0x295558,_0x141e20._0x22ac51)+_0x5b2111(0x50d,_0x141e20._0x40a220)+'工具'),console['log'](_0x4be16b['NZlNk']+'-'[_0x229af4(0x168,0x107)](-0x10d*0x13+0x8c2+-0xb85*-0x1));for(const _0x20c26e of _0x480915){if(_0x4be16b[_0x229af4(0xd4,0xd7)]!==_0x229af4(_0x141e20._0x2f354b,0xa3)){const _0x18f592=_0x4a176d[_0x20c26e],_0x1b5633=PHASE_NAMES[_0x18f592['phase']]??_0x18f592[_0x5b2111(0x3e4,_0x141e20._0x29dc76)],_0x1f8fd1=_0x18f592[_0x229af4(0x92,_0x141e20._0x4180c3)+_0x229af4(0xee,_0x141e20._0xbf7744)]||'-',_0xb72a39=_0x18f592[_0x5b2111(_0x141e20._0x3f88cd,_0x141e20._0x2cae81)+'ll']||'-';console['log'](_0x229af4(_0x141e20._0x1291c1,_0x141e20._0x42a21f)+_0x20c26e[_0x5b2111(_0x141e20._0x4cd925,0x3d1)](-0x7*-0x274+0x180e+-0x2928)+_0x229af4(_0x141e20._0x3f40cb,0x14e)+_0x1b5633['padEnd'](-0x40d+-0x22b0+-0x26cb*-0x1)+_0x229af4(0x1c2,0x14e)+_0x1f8fd1[_0x229af4(0xea,_0x141e20._0x44a76f)](-0x1794*0x1+0x5a0+0x1209)+_0x5b2111(0x492,0x425)+_0xb72a39);}else{if(_0xdc9df4[_0x25c842][_0x5b2111(_0x141e20._0x587816,_0x141e20._0x29dc76)]!==_0x4be16b[_0x229af4(0x15c,_0x141e20._0x13da81)]){const _0x4ff9fa={..._0x3d4d40[_0x4da8e1]};_0x4ff9fa['phase']=_0xa4c27a,_0x1dcaa6[_0x5c085b]=_0x4ff9fa;}}}console['log']();}export async function resumeEngine(){const _0x1b62f0={_0x2dbd95:0x587,_0x19dcc3:0x426,_0x39db88:0x327,_0x2089d9:0x66f,_0x39d9fd:0x5f7,_0x4d2280:0x356,_0x5a0d52:0x4ae,_0x450e1f:0x5ca,_0x29679e:0x5bc,_0x2009bd:0x617,_0x586c9a:0x589,_0x40b7b1:0x5aa,_0x8f0697:0x622,_0x47365f:0x47f,_0x3bcbe4:0x3eb,_0x5a719c:0x45f,_0x289a0d:0x4a9,_0x35e82f:0x32c,_0x51f86a:0x3c4,_0x12c0ec:0x4b5,_0x5c9371:0x43a,_0x1eac86:0x5ac,_0x58b437:0x5a1,_0x29a31b:0x42c,_0x55c82a:0x398,_0x2f876c:0x5bf,_0x26af22:0x664,_0x4f05ab:0x500,_0xb601bc:0x5af,_0x43d3fa:0x48f,_0x2812ab:0x484,_0x210a29:0x5d8,_0x2e9bfe:0x46e,_0x4351f5:0x618,_0x1e929f:0x4d4,_0x29b115:0x444,_0x59d89d:0x6a5,_0x39f825:0x39b,_0x41fcd6:0x364,_0x16fdec:0x398,_0x369752:0x4f8,_0x3eca0e:0x510,_0x18fa85:0x50a,_0x1f0965:0x4f2,_0x75f5f8:0x376,_0xdd2ccd:0x4f9,_0x14bcbb:0x482,_0x552307:0x3ee,_0x221a8e:0x353,_0x29979e:0x5c8,_0xc21755:0x582,_0xd58118:0x64a,_0x57e77c:0x3c0,_0x2381ac:0x396,_0x1d404b:0x344,_0x4a8269:0x52b,_0x47bb91:0x509,_0x1d111e:0x34a,_0x38e052:0x4a2,_0x2bf460:0x4b0,_0x4f11f5:0x3c6,_0x2e9fda:0x62c,_0x265325:0x63a,_0x554471:0x454,_0x21eb15:0x3ce,_0x21253f:0x615,_0x5afad0:0x611,_0x193e96:0x382,_0x53aa70:0x3b3,_0x15e6e3:0x353,_0x25b064:0x3db,_0x204fd2:0x49a,_0x1286c9:0x5d2,_0x314abd:0x3f8,_0x306d0a:0x353,_0x41ad71:0x44d,_0x3971c9:0x51e,_0x424e4c:0x47c,_0x25d450:0x32d,_0x9952d3:0x3a8,_0x1a8691:0x615,_0x10541a:0x4b9,_0x3aabad:0x5c8,_0x1d2107:0x41d,_0x3415f7:0x64a,_0x53c92b:0x59a,_0x146ce3:0x4d0,_0x499de2:0x648,_0x1a28f2:0x6e8,_0x2c8e03:0x67d,_0x329b8b:0x4eb,_0x271d09:0x399,_0x5351ad:0x535,_0x17d66d:0x58e,_0x20ac7c:0x408,_0x387107:0x6ca,_0x3846b3:0x6e9,_0x430ada:0x58d,_0x1b0925:0x3df,_0x6ce232:0x378,_0x1bb8b3:0x5e6,_0x34cad4:0x553,_0x14e59c:0x4bb,_0x2c10be:0x313,_0x17f447:0x33f,_0x302df5:0x4c7,_0x57c447:0x67a,_0x242935:0x539,_0x3dac8f:0x512},_0x2aae03={'BByWD':function(_0x226c8a,_0x21d036){return _0x226c8a===_0x21d036;},'fMbDF':_0x2775d8(0x579,_0x1b62f0._0x2dbd95),'KcKia':function(_0x4ddbd3,_0x5bf11f){return _0x4ddbd3!==_0x5bf11f;},'fpyWq':_0x440f7e(0x32a,0x369),'GwNNJ':function(_0x34d8bc){return _0x34d8bc();},'EpaVg':function(_0x4005d5,_0x31119c,_0x12e1b3){return _0x4005d5(_0x31119c,_0x12e1b3);},'SaqJv':_0x2775d8(0x5af,0x679)+'ASK','eirZU':function(_0x5767a7,_0x5c5a55){return _0x5767a7+_0x5c5a55;},'spEeF':_0x440f7e(0x417,_0x1b62f0._0x19dcc3),'EyEQu':_0x440f7e(_0x1b62f0._0x39db88,0x33d),'DapFH':_0x440f7e(0x384,0x426)+_0x2775d8(_0x1b62f0._0x2089d9,_0x1b62f0._0x39d9fd)+'\x20start\x20命令','IaFYm':function(_0x45614e,_0x40d88d,_0x44ce6b){return _0x45614e(_0x40d88d,_0x44ce6b);},'HfsNK':_0x440f7e(0x2a0,_0x1b62f0._0x4d2280),'WQyFe':'ArelA','sYThP':function(_0x32466a,_0x5a41cc){return _0x32466a===_0x5a41cc;},'lDqHX':_0x440f7e(0x47e,_0x1b62f0._0x5a0d52),'eWjRC':_0x2775d8(_0x1b62f0._0x450e1f,_0x1b62f0._0x29679e),'FvSqx':_0x2775d8(_0x1b62f0._0x2009bd,0x683),'dQUXt':_0x2775d8(0x5ab,_0x1b62f0._0x586c9a)+'LETE','vWAVw':function(_0x364d14,_0x5e94cd,_0x232439){return _0x364d14(_0x5e94cd,_0x232439);},'rbCme':function(_0x312b1d,_0x30a5be){return _0x312b1d<_0x30a5be;},'qFJmg':_0x2775d8(_0x1b62f0._0x40b7b1,_0x1b62f0._0x8f0697),'LJtwR':function(_0x4581fd){return _0x4581fd();},'idbAJ':_0x2775d8(0x547,_0x1b62f0._0x47365f)+_0x440f7e(_0x1b62f0._0x3bcbe4,_0x1b62f0._0x5a719c)+_0x440f7e(_0x1b62f0._0x289a0d,0x442)};if(!existsSync(STATE_FILE_PATH)){console['log'](_0x2aae03[_0x440f7e(_0x1b62f0._0x35e82f,0x3b7)]);return;}const _0x45d2c8=_0x2aae03[_0x2775d8(0x5dc,0x5d0)](readFileSync,STATE_FILE_PATH,_0x2aae03[_0x440f7e(0x388,_0x1b62f0._0x51f86a)]),_0x126808=JSON[_0x440f7e(_0x1b62f0._0x12c0ec,_0x1b62f0._0x5c9371)](_0x45d2c8),_0x395e2f=_0x126808[_0x2775d8(_0x1b62f0._0x1eac86,_0x1b62f0._0x58b437)];function _0x2775d8(_0x2cd43c,_0x5277dc){return _0xf08585(_0x2cd43c-0x94,_0x5277dc);}const _0x4ed04d=Object[_0x440f7e(0x470,0x43d)](_0x395e2f),_0x6a8025=_0x4ed04d[_0x440f7e(0x3d7,0x492)](_0x41d095=>_0x395e2f[_0x41d095][_0x2775d8(0x513,0x449)]!==_0x2775d8(0x529,0x4e6));if(_0x6a8025[_0x440f7e(_0x1b62f0._0x29a31b,_0x1b62f0._0x55c82a)]===-0x21c9+0x4d0+0x1*0x1cf9){if('ArelA'===_0x2aae03[_0x440f7e(0x51d,0x48e)]){console[_0x440f7e(0x3f7,0x48a)](_0x2775d8(_0x1b62f0._0x2f876c,_0x1b62f0._0x26af22)+'\x20已完成,无需恢复');return;}else{const _0x49905=_0x15dcf5['getSnapsho'+'t'](),_0x4c7a35=_0x2aae03[_0x2775d8(_0x1b62f0._0x4f05ab,0x563)](typeof _0x49905['value'],'string')?_0x49905[_0x2775d8(0x674,_0x1b62f0._0xb601bc)]:_0x2aae03[_0x2775d8(0x664,0x5c2)];if(_0x2aae03[_0x440f7e(_0x1b62f0._0x43d3fa,_0x1b62f0._0x2812ab)](_0x4c7a35,_0x2aae03[_0x2775d8(_0x1b62f0._0x210a29,0x620)]))return;}}console['log'](_0x440f7e(0x44e,_0x1b62f0._0x2e9bfe)),console[_0x2775d8(0x64a,0x5f1)]('\x20\x20\x20项目:\x20'+_0x126808[_0x2775d8(0x645,_0x1b62f0._0x4351f5)][_0x440f7e(_0x1b62f0._0x1e929f,_0x1b62f0._0x29b115)]),console[_0x2775d8(0x64a,_0x1b62f0._0x59d89d)](_0x2775d8(0x557,0x57d)+_0x440f7e(_0x1b62f0._0x39f825,_0x1b62f0._0x41fcd6)+_0x6a8025[_0x440f7e(0x379,_0x1b62f0._0x16fdec)]+'\x0a');function _0x440f7e(_0x3127e1,_0x50acbf){return _0xf08585(_0x50acbf- -0x12c,_0x3127e1);}const _0xa29e8=new Map();let _0x34a7d5=null;try{if(_0x2775d8(_0x1b62f0._0x369752,_0x1b62f0._0x3eca0e)!=='IMbts'){const _0x2a5544=_0x2aae03['GwNNJ'](_0x3037cd),_0xa23201={};_0xa23201[_0x2775d8(_0x1b62f0._0x18fa85,_0x1b62f0._0x1f0965)]=_0x2a5544;const _0x15a52c={};_0x15a52c[_0x440f7e(_0x1b62f0._0x75f5f8,0x3a8)]=_0xa23201,_0x9bd272=_0x2aae03['EpaVg'](_0x10ec91,_0x4c6279,_0x15a52c),_0x1ec40e[_0x440f7e(0x444,0x487)]();const _0x2e8e5e={};_0x2e8e5e[_0x440f7e(0x3cb,0x3ce)]=_0x2775d8(_0x1b62f0._0xdd2ccd,_0x1b62f0._0x14bcbb)+'E',_0x2e8e5e[_0x440f7e(_0x1b62f0._0x552307,_0x1b62f0._0x221a8e)]=_0x44b717[0x128f*-0x2+-0xf4+0x2612],_0x39c9dc[_0x2775d8(_0x1b62f0._0x29979e,_0x1b62f0._0xc21755)](_0x2e8e5e),_0x2b1392[_0x2775d8(_0x1b62f0._0xd58118,0x5f4)]('['+_0x2a5544+(_0x440f7e(0x324,_0x1b62f0._0x57e77c)+_0x440f7e(0x3f1,_0x1b62f0._0x2381ac)));for(let _0x2d81b1=0x8b7+0x3*0x5d9+0xd21*-0x2;_0x2d81b1<_0x5310cb;_0x2d81b1++){const _0x4ca0be=_0x15a720();_0x393cea['send']({'type':_0x2aae03['SaqJv'],'childId':_0x4ca0be,'task':_0x440f7e(_0x1b62f0._0x1d404b,0x3bc)+_0x2aae03[_0x2775d8(_0x1b62f0._0x4a8269,_0x1b62f0._0x47bb91)](_0x2d81b1,0x653*-0x1+-0x54+0x6a8)});const _0x2b7925={};_0x2b7925[_0x440f7e(0x2f7,_0x1b62f0._0x1d111e)]=_0x4ca0be,_0x2b7925[_0x440f7e(_0x1b62f0._0x38e052,0x47c)]=_0x2a5544,_0x2b7925[_0x2775d8(0x528,_0x1b62f0._0x2bf460)]=_0x38e811;const _0x229415={};_0x229415[_0x440f7e(_0x1b62f0._0x4f11f5,0x3a8)]=_0x2b7925;const _0xb896d6=_0x2aae03[_0x2775d8(_0x1b62f0._0x2e9fda,_0x1b62f0._0x265325)](_0x31d9f5,_0x2baa01,_0x229415);_0xb896d6['start']();const _0xe21087={};_0xe21087[_0x440f7e(_0x1b62f0._0x554471,_0x1b62f0._0x21eb15)]=_0x2775d8(0x66e,0x615),_0xb896d6[_0x440f7e(0x419,0x408)](_0xe21087),_0x8940c4[_0x2775d8(_0x1b62f0._0x21253f,_0x1b62f0._0x5afad0)](_0x4ca0be,_0xb896d6),_0x16e278['log']('['+_0x2a5544+(_0x440f7e(0x397,_0x1b62f0._0x193e96)+'t:\x20')+_0x4ca0be);}}else _0x34a7d5=loadTechContext();}catch{}for(const _0x2f6b13 of _0x6a8025){const _0x175b63=_0x395e2f[_0x2f6b13],_0x185eef=PHASES[_0x440f7e(0x415,_0x1b62f0._0x53aa70)](_0x175b63[_0x440f7e(0x3b4,_0x1b62f0._0x15e6e3)]);if(_0x2aae03[_0x440f7e(_0x1b62f0._0x25b064,_0x1b62f0._0x204fd2)](_0x185eef,-(0x7ad+-0x52f*-0x1+-0xcdb))){console[_0x440f7e(0x45b,0x48a)]('['+_0x2f6b13+_0x2775d8(0x603,_0x1b62f0._0x1286c9)+_0x175b63[_0x440f7e(_0x1b62f0._0x314abd,_0x1b62f0._0x306d0a)]+_0x2775d8(0x686,0x681));continue;}const _0x31f91f={};_0x31f91f[_0x440f7e(0x414,0x34a)]=_0x2f6b13,_0x31f91f[_0x440f7e(_0x1b62f0._0x41ad71,0x47c)]=_0x175b63[_0x440f7e(_0x1b62f0._0x3971c9,_0x1b62f0._0x424e4c)]??undefined;const _0x3cc4b6={};_0x3cc4b6[_0x440f7e(_0x1b62f0._0x25d450,_0x1b62f0._0x9952d3)]=_0x31f91f;const _0xb9df23=createActor(agentMachine,_0x3cc4b6);_0xb9df23['start'](),_0xa29e8[_0x2775d8(_0x1b62f0._0x1a8691,0x5cd)](_0x2f6b13,_0xb9df23);const _0x577dc5={};_0x577dc5[_0x440f7e(0x3ed,_0x1b62f0._0x21eb15)]=_0x2aae03[_0x440f7e(0x584,_0x1b62f0._0x10541a)],_0xb9df23[_0x2775d8(_0x1b62f0._0x3aabad,0x500)](_0x577dc5);for(let _0x40b478=0xd04+0x1*-0xf04+0x200;_0x40b478<_0x185eef;_0x40b478++){if(_0x2aae03['eWjRC']!==_0x2aae03[_0x440f7e(0x47f,_0x1b62f0._0x1d2107)]){const _0x2b596f={};_0x2b596f[_0x440f7e(0x3c5,0x3ce)]=_0x2aae03[_0x2775d8(0x503,0x48b)],_0xb9df23['send'](_0x2b596f);}else{_0xc69160[_0x2775d8(_0x1b62f0._0xd58118,0x5d2)](_0x2aae03['spEeF']);return;}}console[_0x2775d8(_0x1b62f0._0x3415f7,_0x1b62f0._0x53c92b)]('['+_0x2f6b13+_0x2775d8(0x621,0x698)+(PHASE_NAMES[_0x175b63['phase']]??_0x175b63[_0x2775d8(0x513,_0x1b62f0._0x146ce3)])+_0x2775d8(_0x1b62f0._0x499de2,_0x1b62f0._0x1a28f2));}for(const _0x25ee5e of _0x4ed04d){if(!_0xa29e8[_0x440f7e(0x473,0x400)](_0x25ee5e)){const _0x4fb4c3=_0x395e2f[_0x25ee5e],_0x24fc1a={};_0x24fc1a[_0x2775d8(_0x1b62f0._0x18fa85,0x550)]=_0x25ee5e,_0x24fc1a[_0x2775d8(0x63c,_0x1b62f0._0x2c8e03)]=_0x4fb4c3[_0x440f7e(_0x1b62f0._0x329b8b,0x47c)]??undefined;const _0x1bc991={};_0x1bc991[_0x440f7e(_0x1b62f0._0x271d09,0x3a8)]=_0x24fc1a;const _0x212afd=_0x2aae03[_0x2775d8(_0x1b62f0._0x5351ad,0x4b3)](createActor,agentMachine,_0x1bc991);_0x212afd['start']();const _0x2e2646={};_0x2e2646[_0x2775d8(_0x1b62f0._0x17d66d,0x573)]=_0x440f7e(0x44f,0x4ae),_0x212afd[_0x440f7e(0x44d,_0x1b62f0._0x20ac7c)](_0x2e2646);for(let _0x1f57c7=-0x76+0x67*-0x2b+0x11c3*0x1;_0x2aae03[_0x2775d8(0x689,0x646)](_0x1f57c7,PHASES[_0x440f7e(0x41d,_0x1b62f0._0x16fdec)]);_0x1f57c7++){if(_0x2aae03[_0x440f7e(0x451,_0x1b62f0._0x2812ab)](_0x2aae03[_0x2775d8(0x641,_0x1b62f0._0x387107)],_0x2aae03[_0x2775d8(0x641,_0x1b62f0._0x3846b3)]))_0x359fba[_0x2775d8(_0x1b62f0._0xd58118,0x710)](_0x2aae03[_0x2775d8(0x5b1,0x63d)]);else{const _0x5ad59f={};_0x5ad59f[_0x440f7e(0x3c0,0x3ce)]=_0x2aae03['dQUXt'],_0x212afd[_0x440f7e(0x376,0x408)](_0x5ad59f);}}_0xa29e8[_0x2775d8(_0x1b62f0._0x21253f,_0x1b62f0._0x430ada)](_0x25ee5e,_0x212afd);}}const _0x274e51={};_0x274e51[_0x440f7e(_0x1b62f0._0x1b0925,_0x1b62f0._0x6ce232)+'e']=_0x126808[_0x2775d8(0x645,0x6d3)][_0x2775d8(0x604,_0x1b62f0._0x1bb8b3)],_0x274e51[_0x440f7e(0x3d6,0x368)]=PHASES,_0x274e51['actors']=_0xa29e8,_0x274e51[_0x2775d8(_0x1b62f0._0x34cad4,_0x1b62f0._0x14e59c)+_0x440f7e(_0x1b62f0._0x2c10be,_0x1b62f0._0x17f447)]=null,_0x274e51[_0x2775d8(0x636,0x68f)+'t']=_0x34a7d5,activeEngine=_0x274e51,await _0x2aae03[_0x440f7e(0x4bf,_0x1b62f0._0x302df5)](persistCurrentState),console[_0x2775d8(_0x1b62f0._0x3415f7,_0x1b62f0._0x57c447)](_0x2aae03[_0x2775d8(_0x1b62f0._0x242935,_0x1b62f0._0x3dac8f)]);}export function stopEngine(){const _0x1a577b={_0x547a45:0x3db,_0x305276:0x3c8,_0x5b9d38:0x106,_0x61262e:0x15a,_0x34a2d0:0x7d},_0x2528bb={_0x54e8cc:0x1d7},_0x2f34f1={};function _0x3e5cb4(_0x4e9e70,_0xfdd31b){return _0xf847e(_0xfdd31b-0x34b,_0x4e9e70);}_0x2f34f1['CRiLL']=_0x4cb915(-0x81,-0xd7);const _0x3fb0a5=_0x2f34f1;function _0x4cb915(_0x343595,_0x56587f){return _0xf847e(_0x56587f- -_0x2528bb._0x54e8cc,_0x343595);}if(!activeEngine)return;for(const [,_0x187e23]of activeEngine['actors']){_0x187e23['stop']();}activeEngine['supervisor'+_0x3e5cb4(_0x1a577b._0x547a45,_0x1a577b._0x305276)]&&activeEngine[_0x4cb915(-0x142,-_0x1a577b._0x5b9d38)+_0x4cb915(-0xd0,-_0x1a577b._0x61262e)][_0x4cb915(-_0x1a577b._0x34a2d0,-0xfd)](),activeEngine=null,console['log'](_0x3fb0a5[_0x4cb915(-0xbf,-0xca)]);}export function getEngine(){return activeEngine;}export async function registerAgent(_0x584dd8,_0x2a18d1={}){const _0x264206={_0x211fa2:0x183,_0x435158:0x1ab,_0x4e7302:0x3c1,_0x204888:0x34a,_0x347725:0x37d,_0x15f3f2:0x1d2,_0x186ad7:0x140,_0x4bfd99:0x247,_0xfa7cf1:0x20c,_0xfeec19:0x176,_0x4b6aab:0x13a,_0x1d7742:0x1f2,_0x2a4d28:0x2e6,_0x345093:0x364,_0x104ed1:0x36e,_0x5376e1:0x112,_0x2dac26:0x13e,_0x2741fa:0x32e,_0x1732be:0x2f9,_0x285038:0x327,_0x14f2f1:0x24a,_0x493032:0x2f9,_0x1ffab9:0x36e,_0x534967:0x2da,_0x120012:0x3e2,_0x1058bf:0x223,_0x49bbf8:0x422,_0x36daf3:0x3e2,_0x288aed:0x1d7,_0x1f00cc:0x28f,_0x540b04:0x3e3,_0x56a277:0x284,_0x3c5146:0x3c2,_0x3800ab:0x352,_0x45cfcf:0x2ab,_0xa4c72e:0x401,_0x2a2f1c:0xd9,_0x306e4e:0x3bb,_0x5e44e0:0x48b,_0x1b5d3f:0x433,_0x984cec:0x386,_0x2f197c:0x14c,_0x140bb1:0x275,_0x268b5f:0x1e5,_0x3b7a3:0x310,_0x55e77a:0x1b3,_0x126ba7:0x2db,_0x494856:0x420,_0x3594f6:0x143,_0x2ced23:0x12b,_0x37e6f3:0x166,_0x58ab40:0x147,_0x28567d:0x21e,_0x1e97e2:0x1b7,_0x3f45a3:0x1a3},_0x2503ed={_0x288cab:0x30f},_0x31304c={'LsJkg':_0x3185b2(-0x180,-0x126)+_0x3185b2(-0x1c5,-0x183),'dSzvs':'PHASE_COMP'+_0x3185b2(-0x216,-_0x264206._0x211fa2),'odpar':function(_0x128167,_0x9ec5a8,_0xa5e248){return _0x128167(_0x9ec5a8,_0xa5e248);},'sectC':_0x3185b2(-0x12d,-_0x264206._0x435158)+',请先运行\x20new-'+_0x63888b(_0x264206._0x4e7302,0x421),'BOafC':function(_0x5248db,_0x57d9db){return _0x5248db!==_0x57d9db;},'Obyig':_0x63888b(_0x264206._0x204888,0x3e1),'pFqmi':'nxOfm','DBwrd':function(_0x25017f,_0x212628){return _0x25017f(_0x212628);}},_0x52e086=await readStateFile();if(!_0x52e086){console[_0x63888b(_0x264206._0x347725,0x3f0)](_0x31304c['sectC']);return;}if(_0x52e086[_0x3185b2(-_0x264206._0x15f3f2,-0x1e5)][_0x584dd8]){if(_0x31304c[_0x3185b2(-0x233,-0x24c)]('AeRQJ','VQgjI')){console[_0x63888b(0x345,0x3f0)](_0x3185b2(-_0x264206._0x186ad7,-0x1ca)+_0x584dd8+_0x3185b2(-0xab,-0x162));return;}else{for(const [_0x2b5346]of _0x1a3e98[_0x3185b2(-_0x264206._0x4bfd99,-_0x264206._0xfa7cf1)]){const _0x1c2e1c={};_0x1c2e1c[_0x3185b2(-0x16d,-_0x264206._0xfeec19)]='done';const _0x2fd733={};_0x2fd733['type']=_0x31304c[_0x3185b2(-_0x264206._0x4b6aab,-_0x264206._0x1d7742)],_0x2fd733['childId']=_0x2b5346,_0x2fd733['result']=_0x1c2e1c,_0x3f06b3['supervisor'+_0x3185b2(-_0x264206._0x2a4d28,-0x292)][_0x63888b(_0x264206._0x345093,_0x264206._0x104ed1)](_0x2fd733);}const _0xc533cb={};_0xc533cb['type']=_0x63888b(0x357,0x321)+_0x3185b2(-_0x264206._0x5376e1,-_0x264206._0x2dac26),_0x43283d[_0x63888b(_0x264206._0x2741fa,_0x264206._0x1732be)+_0x63888b(_0x264206._0x285038,0x2a5)][_0x3185b2(-0x125,-0x1c9)](_0xc533cb);const _0x996db1={};_0x996db1[_0x3185b2(-0x2a2,-0x203)]=_0x31304c['dSzvs'],_0x2b61e4[_0x63888b(_0x264206._0x14f2f1,_0x264206._0x493032)+'Actor'][_0x63888b(0x3f6,_0x264206._0x1ffab9)](_0x996db1);}}const _0x38edbe=_0x2a18d1['phase']??_0x31304c[_0x63888b(0x2ff,_0x264206._0x534967)],_0x4f68e9=_0x2a18d1[_0x63888b(0x3db,_0x264206._0x120012)]??null,_0x3da454={};_0x3da454[_0x3185b2(-_0x264206._0x1058bf,-0x287)]=_0x584dd8,_0x3da454[_0x63888b(_0x264206._0x49bbf8,_0x264206._0x36daf3)]=_0x4f68e9,_0x3da454[_0x3185b2(-0x341,-0x28c)]=[],_0x3da454[_0x63888b(0x35a,0x2b9)]=_0x38edbe,_0x3da454[_0x3185b2(-_0x264206._0x288aed,-_0x264206._0x1f00cc)+_0x63888b(0x4a4,_0x264206._0x540b04)]='',_0x3da454[_0x3185b2(-_0x264206._0x56a277,-0x26b)+'ll']='';const _0x56e31e=_0x3da454,_0x517311={..._0x52e086[_0x63888b(_0x264206._0x3c5146,_0x264206._0x3800ab)]};_0x517311[_0x584dd8]=_0x56e31e;const _0xe56ca9=_0x517311;function _0x63888b(_0x4e8a42,_0x169b03){return _0xf08585(_0x169b03- -0x1c6,_0x4e8a42);}if(_0x4f68e9&&_0xe56ca9[_0x4f68e9]){const _0x310d7c=_0xe56ca9[_0x4f68e9];if(!_0x310d7c[_0x63888b(0x28d,_0x264206._0x45cfcf)][_0x63888b(0x3f6,0x3ad)](_0x584dd8)){if(_0x31304c[_0x63888b(0x451,_0x264206._0xa4c72e)]!==_0x31304c['pFqmi']){const _0xd4bb8=_0x8c10bc(),_0x431a12={};_0x431a12[_0x3185b2(-0x2cd,-0x287)]=_0xd4bb8,_0x431a12[_0x63888b(0x247,0x2ce)]=_0x462762;const _0x132ef0={};_0x132ef0[_0x3185b2(-0x1cc,-0x229)]=_0x431a12;const _0x15388b=_0x31304c[_0x3185b2(-_0x264206._0x2a2f1c,-0x185)](_0x1ce60c,_0x56111d,_0x132ef0);_0x15388b[_0x3185b2(-0x1ee,-0x14a)]();const _0x16f03b={};_0x16f03b['type']=_0x63888b(0x4d2,0x414),_0x15388b['send'](_0x16f03b),_0x41bc52[_0x63888b(0x3b6,_0x264206._0x306e4e)](_0xd4bb8,_0x15388b),_0x44ae25[_0x63888b(0x362,0x3f0)]('['+_0xd4bb8+(_0x63888b(_0x264206._0x5e44e0,_0x264206._0x1b5d3f)+'动,等待阶段推进'));}else{const _0x2b3366={..._0x310d7c};_0x2b3366[_0x3185b2(-0x2ea,-0x28c)]=[..._0x310d7c[_0x63888b(0x231,0x2ab)],_0x584dd8],_0xe56ca9[_0x4f68e9]=_0x2b3366;}}}const _0x384ac8={};_0x384ac8[_0x63888b(_0x264206._0x984cec,0x3eb)]=_0x52e086[_0x3185b2(-0x20e,-_0x264206._0x2f197c)],_0x384ac8[_0x3185b2(-_0x264206._0x140bb1,-_0x264206._0x268b5f)]=_0xe56ca9,_0x384ac8['machineSna'+_0x63888b(_0x264206._0x3b7a3,0x30d)]=_0x52e086[_0x3185b2(-0x17a,-_0x264206._0x55e77a)+_0x63888b(_0x264206._0x126ba7,0x30d)],await _0x31304c[_0x63888b(0x4b9,_0x264206._0x494856)](writeStateFile,_0x384ac8);const _0x2837eb=PHASE_NAMES[_0x38edbe]??_0x38edbe;function _0x3185b2(_0x4cd8ca,_0x48166e){return _0xf847e(_0x48166e- -_0x2503ed._0x288cab,_0x4cd8ca);}console['log'](_0x3185b2(-_0x264206._0x3594f6,-_0x264206._0x2ced23)+_0x3185b2(-0x13f,-_0x264206._0x37e6f3)+_0x584dd8),console[_0x3185b2(-0x1a9,-_0x264206._0x58ab40)](_0x3185b2(-_0x264206._0x28567d,-_0x264206._0x1e97e2)+_0x2837eb);if(_0x4f68e9)console[_0x3185b2(-_0x264206._0x211fa2,-_0x264206._0x58ab40)](_0x3185b2(-0x259,-_0x264206._0x3f45a3)+':\x20'+_0x4f68e9);}export async function deregisterAgent(_0xf61e17){const _0x43c562={_0x2f1b8b:0x1,_0x4a2948:0x3f,_0x5842b1:0x60,_0x361230:0x1c5,_0x486b1e:0x1e5,_0x2aade9:0xe4,_0x1eb540:0xae,_0x1b5586:0x34,_0x327a8f:0x25,_0x144543:0x1db,_0x3d0ff9:0xc3,_0xf94a9c:0x18d,_0x57826f:0x162,_0x247563:0x30c,_0x123f57:0x274,_0xd952be:0x106,_0xe9742b:0x1bc,_0x56c3e2:0xb0,_0xc76e2c:0xb,_0x8780e1:0x26f,_0x1db879:0x215,_0x454f27:0x171,_0xff54f1:0xd7,_0x2ca781:0x15d,_0x407bb6:0x116,_0x407f18:0x25e,_0xd2772b:0x23c,_0x818e25:0xa7,_0x26def1:0x272,_0x2d4969:0x20a,_0x43c2aa:0x137,_0x160890:0x162,_0x45312c:0x21e,_0x154a4f:0x21a,_0x205d2e:0x1a1,_0x9ff996:0x20e,_0x38f15e:0x231,_0x1e5fae:0x18b,_0x255a3f:0x231,_0x15d3d8:0x16a,_0x3b1af3:0x102,_0x1e501d:0x17c,_0x1e6b81:0xaf,_0xd3b1bf:0x15c,_0x46c127:0x1ac,_0x205bf7:0x2a,_0x3534e2:0xce,_0x5d69d3:0x14d,_0x3efd38:0x1ae,_0x127bed:0x1d5},_0x3303e3={_0xa71bdf:0x377},_0x5ed29b={'mFAPx':function(_0x4b2686){return _0x4b2686();},'sFrxm':function(_0x1cda96,_0xcfb396){return _0x1cda96+_0xcfb396;},'mrzZY':function(_0x31d22e,_0x2e8927,_0xc35d94){return _0x31d22e(_0x2e8927,_0xc35d94);},'YjTXy':_0x5ed8f9(-_0x43c562._0x2f1b8b,-_0x43c562._0x4a2948),'VwkzH':function(_0x3607c7,_0x4a8088){return _0x3607c7!==_0x4a8088;},'QJuQq':_0x5ed8f9(-_0x43c562._0x5842b1,-0xcb),'Vuoub':_0x51edd1(_0x43c562._0x361230,_0x43c562._0x486b1e),'dHclK':'completed','JUWPv':'rglul','KekZX':_0x5ed8f9(-_0x43c562._0x2aade9,-_0x43c562._0x1eb540),'BeKHW':function(_0x4f566b,_0x19aab3){return _0x4f566b(_0x19aab3);},'JgcRP':function(_0x5e191b,_0x2e562a){return _0x5e191b>_0x2e562a;},'ddqaa':_0x5ed8f9(-_0x43c562._0x1b5586,-0xdc)},_0x58683e=await readStateFile();if(!_0x58683e){console[_0x5ed8f9(-_0x43c562._0x327a8f,-0xf0)](_0x51edd1(0x1d0,_0x43c562._0x144543));return;}if(!_0x58683e[_0x5ed8f9(-_0x43c562._0x3d0ff9,-_0x43c562._0xf94a9c)][_0xf61e17]){if(_0x5ed29b[_0x5ed8f9(-_0x43c562._0x57826f,-0xd4)](_0x5ed29b[_0x51edd1(_0x43c562._0x247563,_0x43c562._0x123f57)],_0x5ed29b['Vuoub'])){console['log'](_0x51edd1(_0x43c562._0xd952be,_0x43c562._0xe9742b)+_0xf61e17+_0x5ed8f9(0x12,_0x43c562._0x56c3e2));return;}else{const _0x367e0b=_0x5ed29b[_0x5ed8f9(-0xa,-0x8)](_0x4de4b7);_0x193ca0[_0x5ed8f9(-0xa7,-_0x43c562._0xc76e2c)]({'type':_0x51edd1(0xf4,0x1a4)+_0x51edd1(_0x43c562._0x8780e1,0x1f1),'childId':_0x367e0b,'task':_0x51edd1(_0x43c562._0x1db879,_0x43c562._0x454f27)+_0x5ed29b['sFrxm'](_0x5f4d36,-0x2451+-0x1b05*0x1+-0x2f*-0x159)});const _0x19b675={};_0x19b675['agentId']=_0x367e0b,_0x19b675[_0x51edd1(0x28e,0x231)]=_0xd42c64,_0x19b675[_0x5ed8f9(-0x147,-0xcd)]=_0x40c791;const _0xa702e8={};_0xa702e8[_0x51edd1(_0x43c562._0xff54f1,_0x43c562._0x2ca781)]=_0x19b675;const _0x26b881=_0x5ed29b[_0x51edd1(0x110,_0x43c562._0x407bb6)](_0x5e5518,_0x2e9965,_0xa702e8);_0x26b881[_0x51edd1(_0x43c562._0x407f18,_0x43c562._0xd2772b)]();const _0x3d5c12={};_0x3d5c12['type']=_0x5ed29b[_0x5ed8f9(-0x111,-0x50)],_0x26b881[_0x5ed8f9(-_0x43c562._0x818e25,-0xbc)](_0x3d5c12),_0xdf1552[_0x51edd1(_0x43c562._0x26def1,_0x43c562._0x2d4969)](_0x367e0b,_0x26b881),_0xed5aa0['log']('['+_0x5c39a1+(_0x51edd1(0x1ce,_0x43c562._0x43c2aa)+_0x51edd1(_0x43c562._0x160890,_0x43c562._0x45312c))+_0x367e0b);}}const _0x122f9c=_0x58683e[_0x51edd1(_0x43c562._0x154a4f,_0x43c562._0x205d2e)][_0xf61e17];function _0x5ed8f9(_0x1f3a60,_0x43ff1c){return _0xf08585(_0x1f3a60- -0x5db,_0x43ff1c);}const _0x4244a6={..._0x58683e['agents']},_0x4665d4=_0x4244a6;delete _0x4665d4[_0xf61e17];if(_0x122f9c[_0x51edd1(0x2a6,0x231)]&&_0x4665d4[_0x122f9c[_0x51edd1(_0x43c562._0x9ff996,_0x43c562._0x38f15e)]]){const _0x5cc397=_0x4665d4[_0x122f9c[_0x51edd1(_0x43c562._0x1e5fae,_0x43c562._0x255a3f)]];_0x4665d4[_0x122f9c[_0x51edd1(0x198,0x231)]]={..._0x5cc397,'childIds':_0x5cc397[_0x5ed8f9(-_0x43c562._0x15d3d8,-0x146)][_0x5ed8f9(-0x1d,-0x3)](_0x4a826c=>_0x4a826c!==_0xf61e17)};}const _0x5418a2=Object['keys'](_0x4665d4);let _0x734e67=_0x51edd1(0x18c,0x11e);for(const _0x35ec90 of _0x5418a2){if(_0x5ed29b[_0x51edd1(0x8b,_0x43c562._0x3b1af3)](_0x4665d4[_0x35ec90][_0x51edd1(_0x43c562._0x1e501d,0x108)],_0x5ed29b[_0x51edd1(0x23f,0x261)])){if(_0x5ed29b[_0x51edd1(0x290,0x279)]===_0x5ed29b[_0x5ed8f9(-0x3d,0x44)])!_0x171125[_0x5ed8f9(-_0x43c562._0x1e6b81,-0x103)](_0x29b2e4)&&(_0x125ff5[_0x368571]=_0x56cf37);else{_0x734e67=_0x4665d4[_0x35ec90]['phase'];break;}}}function _0x51edd1(_0x2e8d3,_0x3d1059){return _0xf08585(_0x3d1059- -_0x3303e3._0xa71bdf,_0x2e8d3);}await _0x5ed29b[_0x51edd1(_0x43c562._0xd3b1bf,_0x43c562._0x46c127)](writeStateFile,{'project':{..._0x58683e[_0x5ed8f9(-_0x43c562._0x205bf7,-0x40)],'currentPhase':_0x5ed29b[_0x5ed8f9(-0x150,-0x12a)](_0x5418a2[_0x51edd1(_0x43c562._0x3534e2,_0x43c562._0x5d69d3)],0x3*0xa48+-0x28c*0x7+-0x77*0x1c)?_0x734e67:_0x5ed29b['ddqaa']},'agents':_0x4665d4,'machineSnapshot':_0x58683e['machineSna'+'pshot']}),console[_0x51edd1(_0x43c562._0x45312c,0x23f)](_0x51edd1(_0x43c562._0x3efd38,0x25b)+_0x51edd1(_0x43c562._0x127bed,0x1ea)+_0xf61e17);}function detectInputType(_0x238865){const _0x1c65e6={_0x296680:0xda,_0x1cff07:0x12f,_0x5b8ec5:0x142,_0x1905f9:0x172,_0x3807ed:0x4a,_0x3625bf:0xe1},_0x31f03c={_0x2a3164:0x2e},_0x20f2c8={};function _0x4dbe6d(_0x392712,_0x55e952){return _0xf847e(_0x392712- -_0x31f03c._0x2a3164,_0x55e952);}_0x20f2c8[_0x4dbe6d(_0x1c65e6._0x296680,0x8d)]=function(_0xc7f85f,_0x5dde54){return _0xc7f85f>_0x5dde54;},_0x20f2c8['lgXVC']='requiremen'+'t';function _0xb05fa7(_0x153d73,_0x50e778){return _0xf08585(_0x153d73- -0x47d,_0x50e778);}const _0x4a2fcc=_0x20f2c8;if(/^https?:\/\/github\.com\//[_0x4dbe6d(_0x1c65e6._0x1cff07,_0x1c65e6._0x5b8ec5)](_0x238865))return _0xb05fa7(0xd6,0x16);if(/^https?:\/\//[_0x4dbe6d(0x12f,_0x1c65e6._0x1905f9)](_0x238865))return'website_ur'+'l';if(_0x4a2fcc[_0x4dbe6d(0xda,0xb9)](_0x238865[_0xb05fa7(0x47,-_0x1c65e6._0x3807ed)],0x2627+0x2*-0x91+-0x24fb*0x1))return _0x4a2fcc[_0xb05fa7(_0x1c65e6._0x3625bf,0x6a)];return'unknown';}const _0x5a56c4={};_0x5a56c4[_0xf847e(0x203,0x258)+'t']='需求文本',_0x5a56c4[_0xf08585(0x553,0x492)]=_0xf08585(0x51f,0x51c);function _0xf08585(_0x2e9a36,_0x2a959c){const _0x17c286={_0x9e829f:0x331};return _0x4107(_0x2e9a36-_0x17c286._0x9e829f,_0x2a959c);}_0x5a56c4['website_ur'+'l']=_0xf847e(0x1b2,0x1bb),_0x5a56c4[_0xf847e(0xf7,0x36)]=_0xf08585(0x5ca,0x609);const INPUT_TYPE_NAMES=_0x5a56c4;function _0xf847e(_0x37261e,_0xcb5fc8){const _0x32489e={_0x3362fc:0xbd};return _0x4107(_0x37261e- -_0x32489e._0x3362fc,_0xcb5fc8);}async function readStateFile(){const _0x1b266b={_0x3dcf63:0x5d1,_0x1d9992:0x134},_0x1153df={_0x49771e:0x26},_0x38ea72={_0x59945c:0x714};function _0x5d0d98(_0x97a4f6,_0xdec667){return _0xf08585(_0xdec667- -_0x38ea72._0x59945c,_0x97a4f6);}const _0x1a02a6={'eAiJL':function(_0x21eb00,_0x48f6ea){return _0x21eb00(_0x48f6ea);}};function _0x58f844(_0x170805,_0x2a5132){return _0xf08585(_0x2a5132-_0x1153df._0x49771e,_0x170805);}if(!_0x1a02a6[_0x58f844(0x5e9,_0x1b266b._0x3dcf63)](existsSync,STATE_FILE_PATH))return null;const _0x51299f=new StateFileManager(STATE_FILE_PATH);return _0x51299f[_0x5d0d98(-_0x1b266b._0x1d9992,-0x12c)]();}async function writeStateFile(_0x373d3f){const _0x1cbccf={_0x33a31e:0x172,_0x5d200b:0x19e,_0x2b52c8:0x7a,_0xb0fb76:0xfd,_0x3d6e53:0x120,_0x401cdc:0x19d,_0x4d9367:0xfa,_0x598bc5:0x92,_0x5ea3af:0xa9,_0x5dacaa:0x16a,_0x17a255:0x109,_0x33c55f:0x1b8,_0x280914:0x178,_0x46c5ea:0xfd,_0xae2362:0x144,_0x4fa5db:0x110,_0x244913:0xf7,_0x1e5aa7:0x43,_0xe65d7a:0x135,_0x396eaa:0x3,_0x2985e0:0xee,_0x3fc8c9:0x4e,_0xe17044:0x176,_0x37b076:0x268,_0x20a099:0x1c5},_0x85c3ab={};_0x85c3ab['aeENZ']=_0x45c8a7(-0x133,-_0x1cbccf._0x33a31e)+_0x45c8a7(-0x186,-_0x1cbccf._0x5d200b)+_0x24c5ee(-_0x1cbccf._0x2b52c8,-0x75);function _0x45c8a7(_0x59eac2,_0x511826){return _0xf847e(_0x59eac2- -0x297,_0x511826);}_0x85c3ab[_0x45c8a7(-_0x1cbccf._0xb0fb76,-0x16d)]=function(_0x25c877,_0x245bb0){return _0x25c877<_0x245bb0;},_0x85c3ab[_0x45c8a7(-_0x1cbccf._0x3d6e53,-_0x1cbccf._0x401cdc)]=function(_0x37018a,_0x10f3dc){return _0x37018a!==_0x10f3dc;},_0x85c3ab['EZlzQ']=_0x24c5ee(-_0x1cbccf._0x4d9367,-_0x1cbccf._0x598bc5),_0x85c3ab[_0x45c8a7(-_0x1cbccf._0x5ea3af,-_0x1cbccf._0x5dacaa)]=function(_0x574db5,_0x5f1cd3){return _0x574db5!==_0x5f1cd3;},_0x85c3ab['dRQAC']=_0x24c5ee(-_0x1cbccf._0x17a255,-_0x1cbccf._0x33c55f),_0x85c3ab[_0x45c8a7(-0x1d1,-0x213)]=function(_0x4fb879,_0x5e78f4){return _0x4fb879!==_0x5e78f4;},_0x85c3ab[_0x45c8a7(-0x170,-_0x1cbccf._0x280914)]=_0x45c8a7(-0x1e9,-0x218);function _0x24c5ee(_0x1ed802,_0x443f0a){return _0xf847e(_0x1ed802- -0x273,_0x443f0a);}const _0x3fe1e9=_0x85c3ab;for(let _0x183628=0xd5a+-0x5*0x5f2+0x20c*0x8;_0x3fe1e9[_0x45c8a7(-_0x1cbccf._0x46c5ea,-0x132)](_0x183628,MAX_RETRIES);_0x183628++){try{if(_0x3fe1e9['ldAQz'](_0x3fe1e9[_0x45c8a7(-0xb1,-_0x1cbccf._0xae2362)],'yrWuY')){_0x16eac7[_0x45c8a7(-0xcf,-_0x1cbccf._0x4fa5db)](_0x24c5ee(-_0x1cbccf._0x244913,-0x174)+_0x5dc9f5+(_0x24c5ee(-0x8e,-_0x1cbccf._0x1e5aa7)+_0x45c8a7(-_0x1cbccf._0xe65d7a,-0x194)));return;}else{const _0x2b30f5=new StateFileManager(STATE_FILE_PATH);await _0x2b30f5[_0x24c5ee(-0x79,-0x10)](),await _0x2b30f5['write'](_0x373d3f);return;}}catch(_0x544cd1){if(_0x3fe1e9[_0x24c5ee(-0x85,-0x131)](_0x45c8a7(-0x12d,-_0x1cbccf._0x4fa5db),_0x3fe1e9[_0x24c5ee(-0x1e6,-0x215)])){_0x1c15e9['log'](_0x3fe1e9['aeENZ']);return;}else{if(_0x544cd1 instanceof Error&&_0x544cd1[_0x45c8a7(-0xa1,-_0x1cbccf._0x396eaa)][_0x24c5ee(-_0x1cbccf._0x2985e0,-_0x1cbccf._0x3fc8c9)](_0x45c8a7(-0x187,-_0x1cbccf._0xe17044))&&_0x183628<MAX_RETRIES-(-0x37d+-0x1*0x11ae+0x152c)){if(_0x3fe1e9[_0x45c8a7(-0x1d1,-_0x1cbccf._0x37b076)](_0x3fe1e9['cjvVb'],_0x24c5ee(-_0x1cbccf._0x20a099,-0x194)))_0x3a44ea=_0x228ea6[_0x45c8a7(-0x206,-0x22c)];else{await new Promise(_0x5cf461=>setTimeout(_0x5cf461,0x3*0xadb+0x17c3+-0x59d*0xa+Math[_0x45c8a7(-0x19f,-0x23e)]()*(-0x9*0x213+-0xb*0x179+-0x2*-0x11a1)));continue;}}throw _0x544cd1;}}}}export async function newProject(_0x46d62a){const _0x580498={_0x40edf:0x337,_0x348018:0x339,_0x9507b6:0x2f1,_0x1eec14:0x254,_0x57d9cb:0x387,_0x5507f8:0x354,_0xc477d3:0x212,_0x1f9722:0x271,_0x2719ec:0x346,_0x49ed4b:0x2e1,_0x162ddd:0x181,_0x56a216:0x19d,_0x5659f3:0x265,_0x210840:0x16a,_0x419cae:0x221,_0x242776:0x3b3,_0x235368:0x2e7,_0x4beb60:0x2cb,_0x5f2f28:0x2c4,_0xa57aa9:0x2a6,_0x44a4ae:0x281,_0x3dae1b:0x318,_0xd495dc:0x35d,_0x468439:0x362,_0x48a8bb:0x3ff,_0x58a623:0x3a6,_0x4f8e5f:0x389,_0x7cd2f8:0x265,_0x531b89:0x251,_0x3d8840:0x42d,_0x5c3e04:0x252,_0x2d91c2:0x294,_0x1a597d:0x2f7,_0x5d407b:0x2da,_0x36cf40:0x289},_0x2b2b36={_0x49bbf3:0x19a},_0xbfc9e3={_0x28f1c2:0x1c1},_0x33c2ad={'ByDbL':function(_0x3d420d,_0x4d3321,_0x372f13){return _0x3d420d(_0x4d3321,_0x372f13);},'fQtYT':_0x41ab19(_0x580498._0x40edf,0x325),'MMvlF':function(_0x4ef794,_0x58dc06,_0x11b8c7){return _0x4ef794(_0x58dc06,_0x11b8c7);},'PKxlV':function(_0x5dae3e){return _0x5dae3e();},'JfnfS':_0x41ab19(0x3f7,0x353),'XgbQN':function(_0x2e0452,_0x2a5892){return _0x2e0452(_0x2a5892);}},_0x282b94=_0x33c2ad[_0x421539(_0x580498._0x348018,0x359)](resolve,process['cwd'](),_0x33c2ad[_0x421539(_0x580498._0x9507b6,_0x580498._0x1eec14)]);if(!existsSync(_0x282b94)){const _0x134425={};_0x134425[_0x421539(_0x580498._0x57d9cb,0x2e0)]=!![],_0x33c2ad['MMvlF'](mkdirSync,_0x282b94,_0x134425);}const _0x232e7c=_0x33c2ad[_0x41ab19(0x2ed,0x2f1)](generateAgentId),_0x458dcf={};function _0x421539(_0x2921d8,_0x4f03f1){return _0xf847e(_0x4f03f1-_0xbfc9e3._0x28f1c2,_0x2921d8);}_0x458dcf[_0x421539(0x290,0x249)]=_0x232e7c,_0x458dcf[_0x41ab19(0x2fd,_0x580498._0x5507f8)]=null,_0x458dcf[_0x421539(_0x580498._0xc477d3,0x244)]=[],_0x458dcf[_0x41ab19(_0x580498._0x1f9722,0x22b)]=_0x33c2ad[_0x421539(_0x580498._0x2719ec,_0x580498._0x49ed4b)],_0x458dcf[_0x421539(_0x580498._0x162ddd,0x241)+_0x421539(0x31d,0x37c)]='',_0x458dcf[_0x421539(_0x580498._0x56a216,_0x580498._0x5659f3)+'ll']='';const _0x5c8a19=_0x458dcf,_0x8a63e5={};_0x8a63e5['name']=_0x46d62a,_0x8a63e5[_0x41ab19(_0x580498._0x210840,_0x580498._0x419cae)+'se']=_0x421539(_0x580498._0x242776,0x37a);const _0x202231={};_0x202231[_0x232e7c]=_0x5c8a19;const _0x46d5c9={};function _0x41ab19(_0x51bc66,_0x5ce3cf){return _0xf847e(_0x5ce3cf-_0x2b2b36._0x49bbf3,_0x51bc66);}_0x46d5c9[_0x41ab19(_0x580498._0x235368,0x35d)]=_0x8a63e5,_0x46d5c9[_0x41ab19(_0x580498._0x4beb60,_0x580498._0x5f2f28)]=_0x202231,_0x46d5c9['machineSna'+_0x421539(0x33d,_0x580498._0xa57aa9)]=null,await _0x33c2ad[_0x421539(_0x580498._0x44a4ae,0x32e)](writeStateFile,_0x46d5c9),console[_0x41ab19(_0x580498._0x3dae1b,0x362)](_0x41ab19(_0x580498._0xd495dc,0x39b)+_0x46d62a),console[_0x41ab19(0x303,_0x580498._0x468439)](_0x41ab19(_0x580498._0x48a8bb,_0x580498._0x58a623)+_0x282b94),console[_0x421539(0x3e9,_0x580498._0x4f8e5f)](_0x421539(_0x580498._0x7cd2f8,_0x580498._0x531b89)+_0x421539(_0x580498._0x3d8840,0x368)+_0x232e7c),console[_0x41ab19(0x3c6,0x362)](_0x421539(_0x580498._0x5c3e04,_0x580498._0x2d91c2)+PIPELINE_PHASES[_0x421539(_0x580498._0x1a597d,0x388)](_0x117f79=>PHASE_NAMES[_0x117f79]??_0x117f79)[_0x421539(_0x580498._0x5d407b,_0x580498._0x36cf40)]('\x20→\x20')+'\x0a');}export async function discussPhase(_0x30922e){const _0x4bc10f={_0x5724f3:0x1dc,_0x5af126:0x31b,_0x1addd6:0x321,_0x49aef2:0x2f1,_0x310606:0x422,_0x3f78db:0x289,_0x4fc941:0x295,_0x13af44:0x23d,_0x4034fd:0x479,_0x33ec11:0x37a,_0x538364:0x3e5,_0x2c6d57:0xb2,_0x555be2:0x3bb,_0x11d1df:0x349,_0x4f2236:0x35e,_0x215953:0x354,_0x362755:0x417,_0x32d4d2:0x16b,_0x4bf716:0x1b8,_0x379b08:0x3c0,_0x98da91:0x1b5,_0x4e1f06:0x37a,_0x596808:0x3ea,_0x4e934a:0x3d3,_0x828d99:0x283},_0x2a8a88={_0x2cda64:0x333},_0x20a6c2={_0x48d86c:0x1f6},_0x4dd32d={'wsYMX':function(_0x5a706b){return _0x5a706b();},'zOfAb':'⚠️\x20\x20状态文件不存在'+_0x440fb0(_0x4bc10f._0x5724f3,0x1cc)+'project\x20命令','nIFly':function(_0x23b5ad,_0x322b7e){return _0x23b5ad(_0x322b7e);}},_0x50f715=_0x30922e??_0x440fb0(0x1dc,0x23e),_0x5b7fde=await _0x4dd32d[_0x1a2721(_0x4bc10f._0x5af126,_0x4bc10f._0x1addd6)](readStateFile);if(!_0x5b7fde){console[_0x1a2721(0x3c0,0x375)](_0x4dd32d[_0x1a2721(0x2a5,0x291)]);return;}function _0x1a2721(_0x9db466,_0x5917ac){return _0xf08585(_0x9db466- -_0x20a6c2._0x48d86c,_0x5917ac);}const _0x564896=_0x5b7fde[_0x1a2721(0x322,_0x4bc10f._0x49aef2)];for(const _0x31fc6a of Object[_0x1a2721(0x373,_0x4bc10f._0x310606)](_0x564896)){_0x564896[_0x31fc6a][_0x1a2721(_0x4bc10f._0x3f78db,0x2ad)]!==_0x1a2721(0x29f,_0x4bc10f._0x4fc941)&&(_0x564896[_0x31fc6a]={..._0x564896[_0x31fc6a],'phase':_0x50f715});}const _0x4d1d02={};_0x4d1d02[_0x440fb0(0x2c7,_0x4bc10f._0x13af44)]=_0x5b7fde[_0x1a2721(0x3bb,_0x4bc10f._0x4034fd)][_0x1a2721(_0x4bc10f._0x33ec11,_0x4bc10f._0x538364)],_0x4d1d02[_0x440fb0(_0x4bc10f._0x2c6d57,0x142)+'se']=_0x50f715;function _0x440fb0(_0x5b2ea0,_0x474679){return _0xf08585(_0x474679- -_0x2a8a88._0x2cda64,_0x5b2ea0);}const _0x1621ea={};_0x1621ea[_0x1a2721(_0x4bc10f._0x555be2,_0x4bc10f._0x11d1df)]=_0x4d1d02,_0x1621ea[_0x1a2721(0x322,_0x4bc10f._0x4f2236)]=_0x564896,_0x1621ea[_0x1a2721(_0x4bc10f._0x215953,_0x4bc10f._0x362755)+_0x1a2721(0x2dd,0x323)]=null,await _0x4dd32d[_0x440fb0(_0x4bc10f._0x32d4d2,_0x4bc10f._0x4bf716)](writeStateFile,_0x1621ea);const _0x37412e=PHASE_NAMES[_0x50f715]??_0x50f715;console[_0x440fb0(0x292,0x283)]('\x0a💬\x20进入讨论阶段:'+'\x20'+_0x37412e),console[_0x1a2721(_0x4bc10f._0x379b08,0x394)](_0x440fb0(_0x4bc10f._0x98da91,0x1c1)+_0x5b7fde[_0x440fb0(0x327,0x27e)][_0x1a2721(_0x4bc10f._0x4e1f06,_0x4bc10f._0x596808)]),console[_0x1a2721(_0x4bc10f._0x379b08,_0x4bc10f._0x4e934a)](_0x1a2721(0x2b1,0x2d2)+_0x37412e),console[_0x440fb0(0x31a,_0x4bc10f._0x828d99)](_0x440fb0(0x218,0x194)+'段收集需求、讨论方案'+'\x0a');}export async function planPhase(_0x293b0a){const _0x2d67a0={_0x40f4a8:0x17f,_0x13fa11:0x5,_0x5803b1:0x1d,_0x36ac6b:0xe7,_0x13022b:0xe8,_0x5dfdd2:0x83,_0x234776:0x68,_0x16d40f:0x80,_0x3a6152:0xfc,_0x50ba4d:0xe8,_0x25fff8:0x153,_0x29e289:0x97,_0x3296f5:0x137,_0x465901:0x1a7,_0xe9c78a:0x178,_0x5890a3:0x99,_0x52b646:0x12a,_0x11aa07:0x12,_0x21ab8c:0xa0,_0x45cc33:0xa7,_0x1bb3ce:0x70,_0x2961f5:0xd8,_0x5eb230:0xc9,_0x3a13d7:0x51,_0x46213d:0x76,_0x4ebb0e:0xfd},_0x4da10f={_0x3fe36f:0x4b},_0x20bec8={'FjSyT':_0x1eae3a(_0x2d67a0._0x40f4a8,0x15a)+_0x4a1bb4(-0x17,-_0x2d67a0._0x13fa11),'yQIdA':_0x4a1bb4(0x9f,0x24),'XbLkl':function(_0x5e0278,_0x3f2e4d){return _0x5e0278!==_0x3f2e4d;},'GLmno':_0x4a1bb4(_0x2d67a0._0x5803b1,0x3d),'VGfoC':function(_0x3ae995,_0x52a504){return _0x3ae995(_0x52a504);}},_0x5bd1e5=_0x293b0a??_0x20bec8[_0x1eae3a(_0x2d67a0._0x36ac6b,0x4e)];function _0x4a1bb4(_0xe1897,_0x192784){return _0xf08585(_0xe1897- -0x518,_0x192784);}const _0x585e2d=await readStateFile();if(!_0x585e2d){console['log'](_0x1eae3a(0x119,_0x2d67a0._0x13022b)+',请先运行\x20new-'+'project\x20命令');return;}const _0x131577=_0x585e2d[_0x4a1bb4(0x0,0x40)];for(const _0x20f915 of Object[_0x4a1bb4(0x51,0xad)](_0x131577)){_0x131577[_0x20f915]['phase']!==_0x4a1bb4(-_0x2d67a0._0x5dfdd2,-_0x2d67a0._0x234776)&&(_0x20bec8[_0x1eae3a(0x2e,_0x2d67a0._0x16d40f)](_0x20bec8[_0x1eae3a(0x146,0x1be)],_0x1eae3a(_0x2d67a0._0x3a6152,0x11f))?_0x18d56e[_0x3d3d03]={..._0x2784d8[_0x332d58],'phase':_0x20bec8[_0x1eae3a(_0x2d67a0._0x50ba4d,_0x2d67a0._0x25fff8)],'currentOperation':'分析'+_0x22d402+':\x20'+_0x4a1cf5[_0x4a1bb4(_0x2d67a0._0x29e289,0x7b)](-0x1*0x6b2+0x1df*0xd+0x11a1*-0x1,-0x10*0x103+-0x45+-0x58d*-0x3)}:_0x131577[_0x20f915]={..._0x131577[_0x20f915],'phase':_0x5bd1e5});}const _0x71f9d4={};_0x71f9d4[_0x1eae3a(_0x2d67a0._0x3296f5,_0x2d67a0._0x465901)]=_0x585e2d[_0x1eae3a(_0x2d67a0._0xe9c78a,0x243)][_0x1eae3a(0x137,0x197)],_0x71f9d4['currentPha'+'se']=_0x5bd1e5;const _0x14f41d={};_0x14f41d[_0x4a1bb4(_0x2d67a0._0x5890a3,_0x2d67a0._0x52b646)]=_0x71f9d4,_0x14f41d['agents']=_0x131577,_0x14f41d['machineSna'+_0x4a1bb4(-0x45,_0x2d67a0._0x11aa07)]=null,await _0x20bec8[_0x1eae3a(_0x2d67a0._0x21ab8c,0x4b)](writeStateFile,_0x14f41d);const _0x1a0516=PHASE_NAMES[_0x5bd1e5]??_0x5bd1e5;console['log'](_0x1eae3a(_0x2d67a0._0x45cc33,0x93)+'\x20'+_0x1a0516),console['log'](_0x4a1bb4(-0x24,_0x2d67a0._0x1bb3ce)+_0x585e2d[_0x1eae3a(0x178,0x239)][_0x4a1bb4(0x58,_0x2d67a0._0x2961f5)]),console['log'](_0x1eae3a(0x6e,_0x2d67a0._0x234776)+_0x1a0516);function _0x1eae3a(_0x428ec6,_0x40f927){return _0xf847e(_0x428ec6- -_0x4da10f._0x3fe36f,_0x40f927);}console[_0x1eae3a(0x17d,_0x2d67a0._0x5eb230)](_0x4a1bb4(-_0x2d67a0._0x3a13d7,-0xbc)+_0x4a1bb4(-_0x2d67a0._0x46213d,-_0x2d67a0._0x4ebb0e)+'\x0a');}export async function executePhase(_0x416431){const _0x15b212={_0x526180:0x45c,_0x59ab91:0x100,_0x2dc50f:0x193,_0x135390:0xd7,_0x13ffc5:0x394,_0x3a25cb:0x4a2,_0x5c22a9:0x90,_0x54ea2c:0x25f,_0x3e81a5:0x2e3,_0x48010f:0xef,_0x3dc250:0x3db,_0x3076d2:0x3c4,_0x534fbc:0x139,_0x7f6c5a:0x154,_0x5cbcb4:0x131,_0x356b06:0x1cc,_0x451f41:0x34d,_0x1cf01d:0x3d4,_0x2b8e08:0x48,_0x4fd53a:0x8b,_0x6296cc:0x89,_0x4fde48:0x184,_0x1a0e9c:0x3a,_0x132964:0x3cc,_0x52ca8c:0x358,_0x415e61:0x5,_0x45a85d:0x155,_0x717ee9:0x41a,_0x4244c5:0x336},_0x1cbb16={_0x1a68a1:0x5f9};function _0x2586aa(_0x40115b,_0x1c7c36){return _0xf08585(_0x1c7c36- -0x19c,_0x40115b);}const _0x3ff64a={'FMlsu':function(_0x57ea7c){return _0x57ea7c();},'VZLnw':_0x2586aa(_0x15b212._0x526180,0x3b6)+_0x39ca47(-0xfa,-0x18d)+_0x2586aa(0x3a3,0x44b),'GgKEG':function(_0x1bd5dc,_0x569a51){return _0x1bd5dc!==_0x569a51;},'qmxTW':_0x39ca47(-0x164,-_0x15b212._0x59ab91),'THNqh':_0x39ca47(-_0x15b212._0x2dc50f,-_0x15b212._0x135390)},_0x32cc3f=_0x416431??_0x2586aa(_0x15b212._0x13ffc5,0x36a),_0x5c431b=await _0x3ff64a[_0x2586aa(_0x15b212._0x3a25cb,0x446)](readStateFile);if(!_0x5c431b){console['log'](_0x3ff64a['VZLnw']);return;}const _0x2a62f9=_0x5c431b[_0x2586aa(0x3f5,0x37c)];for(const _0x4df5c2 of Object[_0x39ca47(-_0x15b212._0x5c22a9,-0x52)](_0x2a62f9)){_0x3ff64a['GgKEG'](_0x2a62f9[_0x4df5c2][_0x2586aa(_0x15b212._0x54ea2c,_0x15b212._0x3e81a5)],_0x3ff64a[_0x39ca47(-_0x15b212._0x48010f,-0x1a2)])&&(_0x2586aa(_0x15b212._0x3dc250,_0x15b212._0x3076d2)!==_0x3ff64a[_0x39ca47(-_0x15b212._0x534fbc,-_0x15b212._0x7f6c5a)]?_0x2a62f9[_0x4df5c2]={..._0x2a62f9[_0x4df5c2],'phase':_0x32cc3f}:_0x62bbdc[_0x39ca47(-_0x15b212._0x5cbcb4,-_0x15b212._0x356b06)]());}const _0x119898={};_0x119898[_0x2586aa(_0x15b212._0x451f41,_0x15b212._0x1cf01d)]=_0x5c431b[_0x39ca47(-_0x15b212._0x2b8e08,-_0x15b212._0x4fd53a)][_0x39ca47(-_0x15b212._0x6296cc,-0x4b)],_0x119898[_0x39ca47(-_0x15b212._0x4fde48,-0x185)+'se']=_0x32cc3f;const _0x2456d8={};_0x2456d8[_0x2586aa(0x3ab,0x415)]=_0x119898,_0x2456d8['agents']=_0x2a62f9;function _0x39ca47(_0x46284e,_0x3b3773){return _0xf08585(_0x46284e- -_0x1cbb16._0x1a68a1,_0x3b3773);}_0x2456d8[_0x39ca47(-0xaf,-_0x15b212._0x1a0e9c)+'pshot']=null,await writeStateFile(_0x2456d8);const _0x214387=PHASE_NAMES[_0x32cc3f]??_0x32cc3f;console[_0x2586aa(0x4ad,0x41a)]('\x0a⚡\x20进入执行阶段:'+'\x20'+_0x214387),console[_0x2586aa(_0x15b212._0x132964,0x41a)](_0x2586aa(0x30f,_0x15b212._0x52ca8c)+_0x5c431b[_0x39ca47(-0x48,-_0x15b212._0x415e61)][_0x39ca47(-_0x15b212._0x6296cc,-_0x15b212._0x45a85d)]),console['log']('\x20\x20\x20当前阶段:\x20'+_0x214387),console[_0x2586aa(0x476,_0x15b212._0x717ee9)](_0x2586aa(0x3a3,0x32b)+_0x2586aa(0x316,_0x15b212._0x4244c5));}export async function verifyPhase(_0x4681ae){const _0x3d6589={_0x561fe1:0x3ab,_0x55836b:0x2e8,_0x944573:0x29a,_0x25951c:0x28,_0x3c36c1:0xe0,_0x12706d:0x30b,_0x304076:0x90,_0x436ec6:0x2d0,_0x5078cd:0x60,_0x442aaa:0x17,_0x1de6ba:0x122,_0x2c36fe:0x188,_0x6f226f:0x379,_0x166d70:0x391,_0x4ea0c7:0x38a,_0x4a0e67:0x4b,_0xe473f2:0x2cb,_0x3c78e8:0x37f,_0x50a718:0x3af,_0x21199b:0x89,_0x48db18:0x11a,_0x323183:0x16f,_0x41fed6:0x2cb,_0x4d48b7:0x227,_0x5cf07e:0x45f,_0x51d7d8:0x18e,_0x29cc5b:0x352,_0x4908aa:0x306,_0x2752be:0x32e,_0xe53b35:0x79,_0x4e28f3:0x95,_0x45c071:0x1c3,_0x4e3b92:0x4d,_0x203d46:0xff,_0x540504:0x2e9,_0x270564:0x323,_0x4681e7:0x31b,_0x3f5ff2:0xb7,_0x2a6bc4:0x12b,_0x4e21e2:0x387,_0x50a8df:0x44a,_0x5b3946:0x2f1,_0x47f87b:0x447,_0xaa02be:0x157,_0x3f5267:0x49,_0x384736:0x77,_0x5438a6:0x47},_0x495600={_0x2a1bc2:0x210},_0x15f211={'Ivrtw':function(_0x59b5b1,_0x186439,_0x8e6c49){return _0x59b5b1(_0x186439,_0x8e6c49);},'cfAzX':_0x117123(_0x3d6589._0x561fe1,0x3b3),'JqhwE':function(_0x3d0603,_0xb1419a){return _0x3d0603<_0xb1419a;},'OeWWN':_0x117123(_0x3d6589._0x55836b,_0x3d6589._0x944573)+_0x4820c2(-0xe5,-0x84),'MzyJr':function(_0x49bce3){return _0x49bce3();},'ZitIV':function(_0x541d24,_0x5219fc){return _0x541d24===_0x5219fc;},'ibWFT':_0x4820c2(-0x2b,-0x62)},_0x3899ef=_0x4681ae??_0x4820c2(-_0x3d6589._0x25951c,-_0x3d6589._0x3c36c1),_0x12c89b=await _0x15f211[_0x117123(0x391,0x3cc)](readStateFile);if(!_0x12c89b){if(_0x15f211[_0x4820c2(-0x51,-0x106)](_0x15f211[_0x117123(0x38c,_0x3d6589._0x12706d)],_0x15f211['ibWFT'])){console[_0x4820c2(-_0x3d6589._0x304076,-0x48)]('⚠️\x20\x20状态文件不存在'+_0x117123(_0x3d6589._0x436ec6,0x274)+_0x4820c2(-_0x3d6589._0x5078cd,-_0x3d6589._0x442aaa));return;}else{const _0x4078eb=_0x53df06[_0x588bba],_0x445b1f={};_0x445b1f[_0x4820c2(-_0x3d6589._0x1de6ba,-_0x3d6589._0x2c36fe)]=_0x5d4685,_0x445b1f[_0x117123(_0x3d6589._0x6f226f,_0x3d6589._0x166d70)]=_0x4078eb[_0x4820c2(0x6c,-0x56)]??_0x408149;const _0x2deca6={};_0x2deca6[_0x117123(0x2a5,0x20a)]=_0x445b1f;const _0x3d6ee7=_0x15f211[_0x117123(0x392,_0x3d6589._0x4ea0c7)](_0x2b7116,_0x530fdf,_0x2deca6);_0x3d6ee7[_0x4820c2(-0x24,-_0x3d6589._0x4a0e67)]();const _0x991e9e={};_0x991e9e[_0x117123(_0x3d6589._0xe473f2,_0x3d6589._0x3c78e8)]=_0x15f211[_0x117123(_0x3d6589._0x50a718,0x31e)],_0x3d6ee7[_0x4820c2(-_0x3d6589._0x21199b,-0xca)](_0x991e9e);for(let _0x3be7f1=-0x1*0x779+0xafb+0x382*-0x1;_0x15f211[_0x4820c2(-_0x3d6589._0x48db18,-_0x3d6589._0x323183)](_0x3be7f1,_0x16743a[_0x4820c2(-0x10a,-0x13a)]);_0x3be7f1++){const _0x29ba17={};_0x29ba17[_0x117123(_0x3d6589._0x41fed6,_0x3d6589._0x4d48b7)]=_0x15f211[_0x117123(0x3aa,_0x3d6589._0x5cf07e)],_0x3d6ee7[_0x4820c2(-_0x3d6589._0x51d7d8,-0xca)](_0x29ba17);}_0x55ca2f[_0x117123(_0x3d6589._0x29cc5b,_0x3d6589._0x4908aa)](_0x16ce8d,_0x3d6ee7);}}const _0x113568=_0x12c89b[_0x117123(0x2e9,_0x3d6589._0x2752be)];for(const _0x3593c5 of Object[_0x4820c2(-_0x3d6589._0xe53b35,-_0x3d6589._0x4e28f3)](_0x113568)){_0x113568[_0x3593c5]['phase']!==_0x117123(0x266,_0x3d6589._0x45c071)&&(_0x113568[_0x3593c5]={..._0x113568[_0x3593c5],'phase':_0x3899ef});}const _0x5e8d74={};_0x5e8d74['name']=_0x12c89b[_0x4820c2(-0xb0,-_0x3d6589._0x4e3b92)][_0x4820c2(-_0x3d6589._0x203d46,-0x8e)];function _0x117123(_0x1b276f,_0x51597b){return _0xf08585(_0x1b276f- -0x22f,_0x51597b);}_0x5e8d74[_0x117123(0x246,_0x3d6589._0x4908aa)+'se']=_0x3899ef;const _0x16de75={};_0x16de75[_0x117123(0x382,0x31a)]=_0x5e8d74,_0x16de75[_0x117123(_0x3d6589._0x540504,_0x3d6589._0x270564)]=_0x113568,_0x16de75[_0x117123(_0x3d6589._0x4681e7,0x385)+_0x4820c2(-_0x3d6589._0x3f5ff2,-_0x3d6589._0x2a6bc4)]=null,await writeStateFile(_0x16de75);const _0x1123bc=PHASE_NAMES[_0x3899ef]??_0x3899ef;console[_0x117123(_0x3d6589._0x4e21e2,_0x3d6589._0x50a8df)](_0x117123(0x303,0x262)+'\x20'+_0x1123bc),console['log'](_0x117123(0x2c5,0x2d0)+_0x12c89b[_0x117123(0x382,_0x3d6589._0x5b3946)]['name']);function _0x4820c2(_0x254e18,_0x137ca6){return _0xf847e(_0x137ca6- -_0x495600._0x2a1bc2,_0x254e18);}console[_0x117123(0x387,_0x3d6589._0x47f87b)](_0x4820c2(-0x16c,-_0x3d6589._0xaa02be)+_0x1123bc),console[_0x4820c2(-_0x3d6589._0x3f5267,-0x48)](_0x4820c2(-_0x3d6589._0x384736,-0x137)+_0x4820c2(-_0x3d6589._0x5438a6,-0xad)+'\x0a');}export async function analyzeInput(_0x592516){const _0x59c14f={_0x5c9c33:0x423,_0x1a4a0f:0x37d,_0x18dac7:0x4f2,_0x561f73:0x3ce,_0x4dead6:0x568,_0x29ee46:0x552,_0x32b20d:0xcd,_0x380c00:0x4bb,_0x253bcb:0x54f,_0x2c5174:0x4ad,_0x41b928:0x1c1,_0x1868f1:0x4b1,_0x34ac89:0x5c9,_0x45aafe:0xf8,_0x11cfa2:0x4b9,_0x2989e0:0x4b5,_0x25f1d3:0x522,_0x23ecbf:0x551,_0x13d4b9:0x49a,_0x11ea81:0x9a,_0x340f47:0x1f,_0x5b45fc:0x90,_0xfd93fb:0x4c2,_0x54fb88:0x509,_0x476a7f:0x461,_0x6cadba:0x4b3,_0x440971:0x54a,_0x4ad1e9:0x49f,_0x4d0816:0x5a,_0x24d056:0x89,_0x2ce2bc:0x40c,_0x11e186:0x54f,_0x281ff9:0x4ee,_0x1bfe46:0x162,_0x79a308:0x411,_0x4c62d4:0x548,_0x5990f2:0x5d4,_0xe5097f:0x3a8,_0x1c3cb7:0x4f7},_0x25652a={_0x5856d9:0x387},_0x58b359={_0x7551d8:0x63f};function _0x5354c1(_0x3dacc1,_0x21d191){return _0xf08585(_0x21d191- -_0x58b359._0x7551d8,_0x3dacc1);}function _0x2ac7ac(_0x5dcdb8,_0x5da8b9){return _0xf847e(_0x5dcdb8-_0x25652a._0x5856d9,_0x5da8b9);}const _0x168c45={'kyIlk':function(_0x53b0de){return _0x53b0de();},'BkgZz':_0x2ac7ac(_0x59c14f._0x5c9c33,_0x59c14f._0x1a4a0f),'GXSpC':_0x2ac7ac(0x4eb,_0x59c14f._0x18dac7)+_0x2ac7ac(0x498,_0x59c14f._0x561f73)+_0x2ac7ac(0x580,_0x59c14f._0x4dead6),'EBTLp':function(_0x822a0,_0x4354e6){return _0x822a0(_0x4354e6);},'Lvwxt':function(_0x2680ca,_0x30ab6a){return _0x2680ca!==_0x30ab6a;},'oPijG':_0x5354c1(-0xc5,-0xad),'vhlYI':function(_0x38c719,_0x531539){return _0x38c719!==_0x531539;},'MKHLJ':_0x2ac7ac(0x551,_0x59c14f._0x29ee46)+_0x5354c1(-_0x59c14f._0x32b20d,-0x13e),'JvYWM':function(_0x109c45,_0xf1070e){return _0x109c45>_0xf1070e;}},_0x351faf=await _0x168c45['kyIlk'](readStateFile);if(!_0x351faf){if(_0x168c45[_0x2ac7ac(_0x59c14f._0x380c00,0x48e)]===_0x168c45['BkgZz']){console[_0x2ac7ac(_0x59c14f._0x253bcb,0x522)](_0x168c45[_0x2ac7ac(_0x59c14f._0x2c5174,0x54b)]);return;}else{const _0x2e33bd={};_0x2e33bd['type']='PHASE_COMP'+'LETE',_0x4ff8c0['send'](_0x2e33bd);}}const _0x13ebd1=_0x168c45[_0x5354c1(-_0x59c14f._0x41b928,-0x186)](detectInputType,_0x592516),_0x16e4e6=INPUT_TYPE_NAMES[_0x13ebd1],_0xd9b302=_0x351faf[_0x2ac7ac(_0x59c14f._0x1868f1,0x4a6)];for(const _0xeff002 of Object[_0x2ac7ac(0x502,_0x59c14f._0x34ac89)](_0xd9b302)){_0x168c45[_0x5354c1(-0xd3,-0xae)](_0x168c45[_0x5354c1(-_0x59c14f._0x45aafe,-0xdb)],_0x168c45[_0x2ac7ac(0x4fd,_0x59c14f._0x11cfa2)])?_0x28959b=_0x2ac7ac(0x42e,0x42e):_0x168c45[_0x2ac7ac(_0x59c14f._0x2989e0,_0x59c14f._0x25f1d3)](_0xd9b302[_0xeff002]['phase'],_0x2ac7ac(0x42e,0x44e))&&(_0xd9b302[_0xeff002]={..._0xd9b302[_0xeff002],'phase':_0x2ac7ac(_0x59c14f._0x23ecbf,_0x59c14f._0x13d4b9)+_0x5354c1(-_0x59c14f._0x11ea81,-0x13e),'currentOperation':'分析'+_0x16e4e6+':\x20'+_0x592516[_0x5354c1(_0x59c14f._0x340f47,-_0x59c14f._0x5b45fc)](0xe34+0x48b*-0x1+0x9a9*-0x1,0x37+-0xc6*0x1d+0x1669)});}await _0x168c45['EBTLp'](writeStateFile,{'project':{'name':_0x351faf[_0x2ac7ac(0x54a,_0x59c14f._0xfd93fb)][_0x2ac7ac(_0x59c14f._0x54fb88,_0x59c14f._0x476a7f)],'currentPhase':_0x168c45[_0x2ac7ac(_0x59c14f._0x6cadba,0x406)]},'agents':_0xd9b302,'machineSnapshot':null}),console[_0x5354c1(-0x99,-0x89)](_0x2ac7ac(0x57c,0x5aa)),console[_0x2ac7ac(0x54f,0x539)](_0x2ac7ac(0x48d,0x51c)+_0x351faf[_0x2ac7ac(_0x59c14f._0x440971,_0x59c14f._0x4ad1e9)][_0x5354c1(-0x13d,-0xcf)]),console[_0x5354c1(-_0x59c14f._0x4d0816,-_0x59c14f._0x24d056)](_0x2ac7ac(0x441,_0x59c14f._0x2ce2bc)+_0x16e4e6),console[_0x2ac7ac(_0x59c14f._0x11e186,_0x59c14f._0x281ff9)](_0x5354c1(-0xc4,-_0x59c14f._0x1bfe46)+(_0x168c45['JvYWM'](_0x592516[_0x2ac7ac(0x45d,_0x59c14f._0x79a308)],-0x11e8*-0x1+-0x8*-0x172+-0x1d28)?_0x592516[_0x2ac7ac(_0x59c14f._0x4c62d4,_0x59c14f._0x5990f2)](-0x17*0x34+-0xfcb*0x1+0x1477,-0xf18+0x2*-0x96e+-0x2*-0x1122)+_0x2ac7ac(0x471,_0x59c14f._0xe5097f):_0x592516)),console[_0x2ac7ac(0x54f,_0x59c14f._0x1c3cb7)](_0x5354c1(-0x168,-0x181)+_0x2ac7ac(0x432,0x4e5));}export async function showProgress(){const _0x278fea={_0xc0b018:0x88,_0x14334a:0x1fe,_0x45557c:0x17e,_0x2f7deb:0xeb,_0x281a30:0xdc,_0x39fdd7:0x1b7,_0x12db27:0x21a,_0x453809:0x205,_0x509f85:0xce,_0x1156ca:0xad,_0x4cad2b:0xf,_0x3f995c:0x65,_0x5e6ffa:0x224,_0xac834b:0x38,_0xc8fb69:0x2a,_0xcd1e24:0x101,_0x2f17f4:0x28f,_0x54f3b1:0x1e3,_0x50bb49:0x5,_0x141467:0x139,_0x4e7e84:0x1d6,_0x539ac6:0x188,_0x251dec:0x24f,_0x13e1b8:0x132,_0x27a9da:0x223,_0x10f53b:0x138,_0x2c8594:0x62,_0x15413a:0x25,_0x5cd139:0x1d4,_0x223845:0x1ee,_0x4a1b26:0x1f3,_0x318952:0x168,_0x117fea:0x39,_0x57ea04:0x31,_0x1486ef:0xc7,_0x3c51a8:0x2b,_0x3f3b75:0x18f,_0x499937:0x127,_0x2870a0:0x210,_0x2f88ed:0x227,_0x1e6ddb:0x1b1,_0x2081a0:0x1bd,_0x520eca:0x1a8,_0x210a04:0xba,_0x5ca750:0xa2,_0x40a244:0x154,_0xa0410b:0xea,_0x5cb1e6:0x12c,_0x564f94:0x197,_0x2b664f:0x11c,_0x45a169:0x45,_0x2b723f:0x76,_0x5bd573:0x11c,_0x38bb7f:0x8d,_0x9cd73f:0xd,_0x5ec470:0x27f,_0x137795:0x1dc,_0x4a5368:0x1a1,_0x47a2dd:0x1aa,_0x450bb7:0x5d,_0x4d314d:0x129,_0x3d8b9e:0x195,_0x4b174e:0xc0,_0x8ccce9:0x9a,_0x4ed45e:0x2c,_0x328dd0:0x8f,_0xf5d9bf:0x10f,_0x1643e8:0xcf,_0x21d31e:0x2a7,_0x2f6d4f:0x129,_0x163a48:0x150,_0x264941:0x173,_0xef8657:0xea,_0x2c0e92:0xa9},_0x19e58c={_0x49ef7c:0x3c3},_0x63b1f0={_0xba154a:0x49a},_0x47b7e3={};_0x47b7e3[_0x187715(0x71,0x11f)]=function(_0x252a2d,_0x15ce0c){return _0x252a2d+_0x15ce0c;},_0x47b7e3[_0x187715(_0x278fea._0xc0b018,0xf2)]=function(_0x58c751,_0x669160){return _0x58c751===_0x669160;},_0x47b7e3[_0x187715(0xfb,0xe6)]='jPaZv',_0x47b7e3['ZcmcT']='MuIhQ',_0x47b7e3[_0x47fd17(0x195,0x10c)]=function(_0x4995e5,_0x23f5c9){return _0x4995e5>_0x23f5c9;},_0x47b7e3[_0x187715(0x25b,0x1d6)]=function(_0x275e18,_0xf8b55e){return _0x275e18*_0xf8b55e;},_0x47b7e3[_0x187715(_0x278fea._0x14334a,_0x278fea._0x45557c)]=function(_0x288c29,_0x4c79b5){return _0x288c29/_0x4c79b5;},_0x47b7e3[_0x47fd17(_0x278fea._0x2f7deb,_0x278fea._0x281a30)]=function(_0x3dfe6b,_0x3cb4ab){return _0x3dfe6b+_0x3cb4ab;},_0x47b7e3['jhSbY']='\x20\x20\x20📈\x20阶段分布:',_0x47b7e3[_0x187715(_0x278fea._0x39fdd7,_0x278fea._0x12db27)]=function(_0x3a1473,_0x45921e){return _0x3a1473-_0x45921e;},_0x47b7e3['zZwjP']=function(_0xcb654c,_0x1e76bc){return _0xcb654c>_0x1e76bc;},_0x47b7e3[_0x187715(_0x278fea._0x453809,0x14d)]=_0x187715(0x222,0x16d)+'\x20详情:';const _0x5dad28=_0x47b7e3,_0x4fee58=await readStateFile();function _0x47fd17(_0xc36e1f,_0x255b2f){return _0xf08585(_0x255b2f- -_0x63b1f0._0xba154a,_0xc36e1f);}if(!_0x4fee58){if(_0x5dad28['OyqWE'](_0x5dad28[_0x187715(0x102,0xe6)],_0x5dad28[_0x47fd17(_0x278fea._0x509f85,0xc8)]))_0x2f5dec=_0xf58733[_0x5dad28['sPVFl'](_0x41583b,0x18*0x73+0x2*0x1129+-0x2d19*0x1)];else{console[_0x187715(0x1f6,0x1f3)](_0x47fd17(_0x278fea._0x1156ca,0xb8)+_0x47fd17(-_0x278fea._0x4cad2b,_0x278fea._0x3f995c)+_0x187715(0x280,_0x278fea._0x5e6ffa));return;}}const _0x47b1a0=_0x4fee58[_0x47fd17(0xc2,0x7e)],_0x5f4809=Object[_0x47fd17(0x15,0xcf)](_0x47b1a0),_0x2754ef=_0x5f4809[_0x47fd17(-_0x278fea._0xac834b,_0x278fea._0xc8fb69)],_0x55ee47=_0x5f4809[_0x47fd17(0x9a,0x124)](_0x15925f=>_0x47b1a0[_0x15925f]['phase']===_0x187715(0x40,0xd2))[_0x187715(0x157,_0x278fea._0xcd1e24)],_0x21f320=_0x5dad28[_0x187715(_0x278fea._0x2f17f4,_0x278fea._0x54f3b1)](_0x2754ef,0x4*-0x953+0x1b9+0x2393)?Math[_0x47fd17(-_0x278fea._0x50bb49,0x20)](_0x5dad28[_0x187715(_0x278fea._0x141467,_0x278fea._0x4e7e84)](_0x5dad28[_0x47fd17(-0x1,0xa7)](_0x55ee47,_0x2754ef),0x403*-0x2+0x1fda+-0x1770)):0x109c+0x5*0x226+0x48f*-0x6,_0x26a47a={};for(const _0x3dcf07 of _0x5f4809){const _0x2a3212=_0x47b1a0[_0x3dcf07][_0x187715(_0x278fea._0x539ac6,0xbc)];_0x26a47a[_0x2a3212]=_0x5dad28[_0x187715(_0x278fea._0x251dec,0x1b3)](_0x26a47a[_0x2a3212]??0x3*-0xa7f+-0x3*0x2ce+0x46f*0x9,-0x2*0x5ef+-0x122c+0x1*0x1e0b);}console['log'](_0x187715(0x1af,_0x278fea._0x13e1b8)+_0x4fee58[_0x187715(_0x278fea._0x27a9da,0x1ee)]['name']),console[_0x187715(_0x278fea._0x10f53b,0x1f3)](_0x47fd17(_0x278fea._0x2c8594,0xd)+(PHASE_NAMES[_0x4fee58[_0x47fd17(0xd0,0x117)][_0x47fd17(0x46,-_0x278fea._0x15413a)+'se']]??_0x4fee58[_0x187715(_0x278fea._0x5cd139,_0x278fea._0x223845)][_0x187715(0x7c,0xb2)+'se'])),console[_0x187715(0x29d,_0x278fea._0x4a1b26)](_0x47fd17(_0x278fea._0x318952,0x15c)+_0x4fee58[_0x47fd17(-_0x278fea._0x117fea,_0x278fea._0x57ea04)]),console[_0x47fd17(_0x278fea._0x1486ef,0x11c)](_0x187715(0x1b2,0x1e9)+_0x4fee58[_0x47fd17(-0x33,_0x278fea._0x3c51a8)]),console[_0x187715(_0x278fea._0x3f3b75,0x1f3)]('\x20\x20\x20完成度:\x20'+_0x21f320+'%\x20('+_0x55ee47+'/'+_0x2754ef+_0x47fd17(-0xdc,-0x13)),console[_0x47fd17(_0x278fea._0x499937,0x11c)](_0x5dad28[_0x187715(_0x278fea._0x2870a0,_0x278fea._0x2f88ed)]);function _0x187715(_0xdd8d90,_0x457fe2){return _0xf08585(_0x457fe2- -_0x19e58c._0x49ef7c,_0xdd8d90);}for(const [_0x2c6917,_0x305c2a]of Object[_0x187715(_0x278fea._0x1e6ddb,_0x278fea._0x2081a0)](_0x26a47a)){const _0x259be1=PHASE_NAMES[_0x2c6917]??_0x2c6917,_0x140b5a=_0x5dad28[_0x187715(_0x278fea._0x520eca,0x11f)]('█'[_0x187715(_0x278fea._0x210a04,0x139)](_0x305c2a),'░'['repeat'](Math[_0x187715(_0x278fea._0x5ca750,0x150)](0xe8f*-0x2+0x8bd*-0x1+0x25db,_0x5dad28[_0x187715(0x1dc,_0x278fea._0x12db27)](_0x2754ef,_0x305c2a))));console[_0x187715(_0x278fea._0x40a244,0x1f3)](_0x187715(0x4c,_0x278fea._0xa0410b)+_0x259be1[_0x187715(0x8a,_0x278fea._0x5cb1e6)](0x1c21+0x23*-0x48+-0x123b)+'\x20'+_0x140b5a+'\x20'+_0x305c2a);}console['log']();if(_0x5dad28['zZwjP'](_0x5f4809['length'],0xba7+0x7*0x22e+0x1ae9*-0x1)){console[_0x47fd17(_0x278fea._0x564f94,_0x278fea._0x2b664f)](_0x5dad28[_0x47fd17(-_0x278fea._0x45a169,_0x278fea._0x2b723f)]),console[_0x47fd17(0x1bd,_0x278fea._0x5bd573)](_0x47fd17(_0x278fea._0x38bb7f,0x9f)+_0x187715(_0x278fea._0x9cd73f,0xc0)+_0x187715(_0x278fea._0x5ec470,_0x278fea._0x137795)+_0x47fd17(-0x66,-0x7)+_0x47fd17(_0x278fea._0x4a5368,0x131)+_0x187715(0x157,_0x278fea._0x47a2dd)+'工具'),console[_0x187715(0x254,_0x278fea._0x4a1b26)](_0x47fd17(_0x278fea._0x450bb7,_0x278fea._0x4d314d)+'-'[_0x187715(_0x278fea._0x3d8b9e,0x139)](-0x2*0xb8c+-0x5c2+0x1d2a));for(const _0x38c6c3 of _0x5f4809){const _0x219ed9=_0x47b1a0[_0x38c6c3],_0x397b03=PHASE_NAMES[_0x219ed9['phase']]??_0x219ed9[_0x47fd17(-_0x278fea._0x4b174e,-0x1b)],_0x176152=_0x219ed9[_0x47fd17(_0x278fea._0x8ccce9,-_0x278fea._0x4ed45e)+_0x47fd17(_0x278fea._0x328dd0,_0x278fea._0xf5d9bf)]||'-',_0x5a9468=_0x219ed9[_0x187715(0x186,_0x278fea._0x1643e8)+'ll']||'-';console[_0x187715(_0x278fea._0x21d31e,_0x278fea._0x4a1b26)](_0x47fd17(0x151,_0x278fea._0x2f6d4f)+_0x38c6c3[_0x187715(_0x278fea._0x163a48,0x12c)](-0x5*0x5f7+0x9d2+0x1413)+_0x47fd17(_0x278fea._0x264941,0xa9)+_0x397b03['padEnd'](-0x1*-0x25b9+-0x685*0x3+0x121c*-0x1)+'\x20|\x20'+_0x176152[_0x47fd17(_0x278fea._0xef8657,0x55)](-0x4*-0x2c2+0x132c+-0x1e1f*0x1)+_0x47fd17(0x134,_0x278fea._0x2c0e92)+_0x5a9468);}console[_0x47fd17(0x1d0,0x11c)]();}}export async function quickTask(_0x376031){const _0x4c29d7={_0x452c16:0x287,_0x1db145:0x2d2,_0x1ec075:0x24f,_0x3df045:0x2a1,_0x592cff:0x18e,_0x173362:0x22d,_0x3b60a0:0x1e6,_0x40f91d:0x27e,_0x46191d:0x262,_0x59c8f7:0x229,_0x242ebe:0x226,_0x5629ef:0x242,_0x2e3065:0x1a1,_0x1d6f19:0x1b2,_0x1ae7ed:0x1ac,_0x33c196:0xa6,_0x4f7329:0x142,_0x3606c4:0x1d9,_0x18c50f:0x258,_0x3a0b30:0x1e1,_0x32ce97:0x185,_0x2f4a8d:0x206,_0x28e2c0:0xfc,_0x31421a:0x202,_0x1e3c28:0x25b,_0x368512:0x314,_0x4e96bf:0x25a,_0x1ea48e:0x141,_0x4ff8c7:0x1a9},_0x588ac1={'UYDbD':_0x4786b9(_0x4c29d7._0x452c16,_0x4c29d7._0x1db145),'tVckT':function(_0x5becb9,_0x41c991,_0xeb2d4f){return _0x5becb9(_0x41c991,_0xeb2d4f);},'qgxZx':function(_0x1fc8fa){return _0x1fc8fa();},'uyWMO':_0x348b39(-_0x4c29d7._0x1ec075,-0x1e2)},_0x43b975=await readStateFile();if(!_0x43b975){const _0x3249d5=resolve(process[_0x4786b9(_0x4c29d7._0x3df045,0x2e6)](),_0x588ac1[_0x4786b9(_0x4c29d7._0x592cff,_0x4c29d7._0x173362)]);if(!existsSync(_0x3249d5)){const _0x1a872e={};_0x1a872e[_0x4786b9(0x21b,0x289)]=!![],_0x588ac1[_0x348b39(-_0x4c29d7._0x3b60a0,-0x208)](mkdirSync,_0x3249d5,_0x1a872e);}}const _0x42fa5e=_0x43b975?.[_0x348b39(-0x95,-0x101)][_0x4786b9(_0x4c29d7._0x40f91d,0x20f)]??_0x348b39(-_0x4c29d7._0x46191d,-_0x4c29d7._0x59c8f7),_0x188208=_0x43b975?Object['keys'](_0x43b975[_0x4786b9(_0x4c29d7._0x242ebe,_0x4c29d7._0x5629ef)])[-0xa4*0x7+0x1d25*0x1+-0x18a9]??generateAgentId():_0x588ac1[_0x4786b9(0x1d7,_0x4c29d7._0x2e3065)](generateAgentId),_0x275875={'agentId':_0x188208,'parentId':null,'childIds':[],'phase':_0x348b39(-_0x4c29d7._0x1d6f19,-_0x4c29d7._0x1ae7ed),'currentOperation':_0x376031[_0x348b39(-0x46,-0x103)](0xe03+-0x16cd*0x1+0x8ca,-0x4d2*-0x4+-0x6e*-0x4c+-0x19c6*0x2),'currentSkill':_0x588ac1['uyWMO']};function _0x348b39(_0x53069a,_0x3731c9){return _0xf847e(_0x3731c9- -0x2c4,_0x53069a);}const _0x4e6304={};_0x4e6304[_0x348b39(-_0x4c29d7._0x33c196,-_0x4c29d7._0x4f7329)]=_0x42fa5e,_0x4e6304['currentPha'+'se']=_0x588ac1[_0x4786b9(0x1e8,_0x4c29d7._0x3606c4)];const _0x4b6a03={};function _0x4786b9(_0x3ed269,_0x5a45cc){return _0xf847e(_0x3ed269-0xfc,_0x5a45cc);}_0x4b6a03[_0x188208]=_0x275875;const _0x4824e7={};_0x4824e7[_0x348b39(-0xbe,-0x101)]=_0x4e6304,_0x4824e7[_0x4786b9(0x226,0x1b0)]=_0x4b6a03,_0x4824e7[_0x4786b9(_0x4c29d7._0x18c50f,0x2d2)+_0x4786b9(_0x4c29d7._0x3a0b30,0x26d)]=null,await writeStateFile(_0x4824e7),console['log'](_0x348b39(-_0x4c29d7._0x32ce97,-_0x4c29d7._0x2f4a8d)),console[_0x348b39(-0x128,-_0x4c29d7._0x28e2c0)](_0x4786b9(_0x4c29d7._0x31421a,0x22c)+_0x42fa5e),console['log'](_0x4786b9(_0x4c29d7._0x1e3c28,_0x4c29d7._0x368512)+_0x376031),console[_0x4786b9(0x2c4,_0x4c29d7._0x4e96bf)](_0x4786b9(0x302,0x2a3)+_0x188208),console['log'](_0x4786b9(0x1dc,0x267)+_0x348b39(-0xd4,-0x175)+_0x348b39(-_0x4c29d7._0x1ea48e,-_0x4c29d7._0x4ff8c7));}function findFirstIncompleteAgent(_0x498bf4){const _0x179df8={_0x26cb8c:0x190,_0xd6e589:0x11d,_0x446758:0x48f,_0x46f033:0x6a,_0x2b24b4:0x143,_0x1b6f3a:0x1e,_0x30c15d:0x23},_0x3bd6ad={_0x1f9488:0x83},_0x23e67d={};_0x23e67d[_0x2629a4(_0x179df8._0x26cb8c,_0x179df8._0xd6e589)]=function(_0x519728,_0x1bf433){return _0x519728===_0x1bf433;},_0x23e67d[_0x2629a4(0xd,0x0)]=_0x49083(0x476,0x3ec);function _0x49083(_0xb971f7,_0x348b51){return _0xf08585(_0xb971f7- -_0x3bd6ad._0x1f9488,_0x348b51);}function _0x2629a4(_0xc6db8f,_0x4950e3){return _0xf08585(_0x4950e3- -0x472,_0xc6db8f);}_0x23e67d[_0x49083(_0x179df8._0x446758,0x427)]=function(_0x1c414a,_0x340ddd){return _0x1c414a!==_0x340ddd;};const _0x5b3c9a=_0x23e67d;for(const [_0x4314ae,_0x96026d]of _0x498bf4){const _0xbf5f67=_0x96026d[_0x2629a4(-0x2c,_0x179df8._0x46f033)+'t'](),_0x5e4dc7=_0x5b3c9a['FAlUx'](typeof _0xbf5f67['value'],_0x5b3c9a[_0x2629a4(-0x21,0x0)])?_0xbf5f67[_0x2629a4(_0x179df8._0x2b24b4,0x16e)]:'unknown';if(_0x5b3c9a['ZokBB'](_0x5e4dc7,_0x2629a4(-_0x179df8._0x1b6f3a,_0x179df8._0x30c15d)))return _0x4314ae;}return null;}function checkAllComplete(){const _0x291da8={_0x3884bb:0x634,_0x59c46d:0x60b,_0x12fb25:0x557,_0x44b401:0x575,_0x58dbb1:0x6b,_0x50f027:0xca,_0x44be61:0xdd,_0x22de3a:0x7f,_0x59d59f:0x569,_0x5e8eaa:0x120,_0x23d6d9:0xa,_0x4c46a6:0xf1,_0x2005eb:0x1d8,_0xb4f279:0x20d,_0x147be8:0x18e,_0x305e19:0x1c5,_0x498e9e:0x5bb,_0xe5ca80:0x638,_0x2df5aa:0x673,_0x246fda:0x163,_0x3fb5f1:0x100,_0xc24c6a:0x63b,_0x487ef4:0x6be,_0x455ee2:0x554,_0x58c30c:0x52d,_0x2e7b2e:0x541,_0x42c103:0x57c,_0x16f9d6:0x10f,_0x1c7071:0x5fc,_0x28f6ef:0x638,_0x16d3ff:0xb7,_0x3c154e:0x63,_0x5bd83a:0x5b6},_0x4d4915={_0x3f0cd8:0x1a},_0x4ee9b4={_0x3dee05:0x470};function _0x162047(_0x31d1d9,_0x30e6e9){return _0xf847e(_0x31d1d9-_0x4ee9b4._0x3dee05,_0x30e6e9);}const _0x480650={};_0x480650[_0x162047(_0x291da8._0x3884bb,_0x291da8._0x59c46d)]=function(_0x5f18ed,_0x4bad31){return _0x5f18ed!==_0x4bad31;},_0x480650[_0x162047(_0x291da8._0x12fb25,_0x291da8._0x44b401)]=_0x14cd7a(0xa8,_0x291da8._0x58dbb1),_0x480650[_0x162047(0x5c2,0x678)]=function(_0x166222,_0x4ddba5){return _0x166222===_0x4ddba5;};function _0x14cd7a(_0xcd3b4a,_0x518389){return _0xf847e(_0xcd3b4a- -_0x4d4915._0x3f0cd8,_0x518389);}_0x480650[_0x14cd7a(0x18e,_0x291da8._0x50f027)]=_0x14cd7a(_0x291da8._0x44be61,_0x291da8._0x22de3a),_0x480650[_0x14cd7a(0xe2,0x5c)]=_0x162047(_0x291da8._0x59d59f,0x5d9)+'EN_DONE';const _0x2c2a8b=_0x480650;if(!activeEngine)return;for(const [,_0x4848f5]of activeEngine[_0x14cd7a(0xe9,_0x291da8._0x5e8eaa)]){if(_0x2c2a8b[_0x162047(0x634,0x633)](_0x2c2a8b[_0x14cd7a(0xcd,0x61)],_0x14cd7a(0xa8,-_0x291da8._0x23d6d9)))_0x3b2d8d='completed';else{const _0x1ee608=_0x4848f5[_0x162047(0x55e,0x571)+'t'](),_0x1c815=_0x2c2a8b['Vzgrf'](typeof _0x1ee608['value'],_0x14cd7a(_0x291da8._0x4c46a6,0xe6))?_0x1ee608[_0x14cd7a(_0x291da8._0x2005eb,_0x291da8._0xb4f279)]:_0x2c2a8b[_0x14cd7a(_0x291da8._0x147be8,_0x291da8._0x305e19)];if(_0x1c815!==_0x162047(0x517,_0x291da8._0x498e9e))return;}}console[_0x162047(_0x291da8._0xe5ca80,_0x291da8._0x2df5aa)]('\x0a🎉\x20所有\x20Agen'+_0x14cd7a(_0x291da8._0x246fda,0x202));if(activeEngine[_0x14cd7a(0xb7,0x111)+_0x162047(0x4ed,0x440)]){for(const [_0x461064]of activeEngine[_0x14cd7a(0xe9,_0x291da8._0x3fb5f1)]){if(_0x162047(0x4ea,0x4ce)===_0x162047(_0x291da8._0xc24c6a,_0x291da8._0x487ef4)){const _0x3f065b=_0x217bd9[_0x2646f7][_0x162047(0x501,0x5ab)];_0x5eb9d1[_0x3f065b]=(_0x1116da[_0x3f065b]??0x3*-0x5a7+0x1*0x311+0xde4)+(-0x29*0xc1+-0x2b*0x1b+-0xb*-0x339);}else{const _0x3a13cb={};_0x3a13cb['status']='done';const _0x35b765={};_0x35b765[_0x162047(0x57c,_0x291da8._0x455ee2)]='CHILD_COMP'+_0x162047(0x5fc,0x540),_0x35b765[_0x162047(_0x291da8._0x58c30c,0x50c)]=_0x461064,_0x35b765[_0x14cd7a(0xe5,0xdf)]=_0x3a13cb,activeEngine[_0x162047(_0x291da8._0x2e7b2e,0x5ec)+_0x14cd7a(0x63,0xb5)][_0x162047(0x5b6,0x65c)](_0x35b765);}}const _0xaed531={};_0xaed531[_0x162047(_0x291da8._0x42c103,0x51e)]=_0x2c2a8b['vWTzr'],activeEngine[_0x14cd7a(0xb7,0x158)+'Actor'][_0x162047(0x5b6,0x634)](_0xaed531);const _0x50315d={};_0x50315d[_0x162047(_0x291da8._0x42c103,0x5bc)]=_0x14cd7a(_0x291da8._0x16f9d6,0x118)+_0x162047(_0x291da8._0x1c7071,_0x291da8._0x28f6ef),activeEngine[_0x14cd7a(_0x291da8._0x16d3ff,0x86)+_0x14cd7a(_0x291da8._0x3c154e,0x76)][_0x162047(_0x291da8._0x5bd83a,0x59b)](_0x50315d);}}const MAX_RETRIES=0x1311+0x4*-0x53f+0x1f0;async function persistCurrentState(){const _0x3b3142={_0x325787:0xc7,_0x417e43:0x52,_0x27f7f9:0x4be,_0x213b45:0x472,_0x10af37:0x203,_0x17cd73:0x18a,_0x8f48c0:0xbb,_0x349c67:0xdc,_0xde2284:0xe9,_0x3578ec:0x50,_0x35bc97:0x111,_0x2dfdc4:0x4a9,_0x1bfdbc:0x466,_0x53ad40:0x419,_0x3c0033:0x4f7,_0x12f52d:0xdb,_0x4582c2:0x6f,_0x20d943:0x1a9,_0x4f2ba1:0x1af,_0x397161:0x165,_0x2378dd:0x54a,_0x5377c1:0x445,_0x4709fd:0x4c0,_0x13c2b0:0x444,_0x6804e6:0xf7,_0x263bd4:0x3b,_0x20a6b8:0x52,_0x5aecda:0x499,_0x23a021:0x493,_0x5c056c:0x104,_0x13ada5:0x3b5,_0x1912c0:0x38c,_0x11c4e2:0x1d9,_0x1665c0:0x3b6,_0x8c4b57:0x13c,_0x431272:0x90,_0x4265f6:0xea,_0x366d5d:0x48e,_0x2839eb:0x4b7,_0x5b16b8:0x3c6,_0x92303f:0x48a,_0x3de088:0x44e,_0x6b7bc:0x50e,_0x317a47:0x44d,_0x157482:0x3df,_0x420c31:0x34a,_0x4b0fc3:0x382,_0x50874c:0x382,_0x5be9fb:0x360,_0x35accf:0x1f4},_0x171eb5={'wXnqt':function(_0x475c91,_0x230b6b,_0x591498){return _0x475c91(_0x230b6b,_0x591498);},'zEICD':_0x1aba86(_0x3b3142._0x325787,_0x3b3142._0x417e43),'Rnzrm':_0x1aba86(0x13,0xab),'BFSXB':'miaqq','ebCdN':_0x1aba86(0x98,0x41),'AvvJI':'string','qzKos':_0x54e89b(_0x3b3142._0x27f7f9,_0x3b3142._0x213b45),'KKhNw':function(_0x537468,_0x1ec7a9){return _0x537468!==_0x1ec7a9;},'osFai':function(_0xc73e29,_0x1a7c1c){return _0xc73e29<_0x1a7c1c;},'uOeEC':function(_0x41c4d1,_0x1e0457){return _0x41c4d1!==_0x1e0457;},'KfbLV':_0x1aba86(_0x3b3142._0x10af37,_0x3b3142._0x17cd73),'fpmHY':function(_0x1e55bc,_0x586682){return _0x1e55bc instanceof _0x586682;},'nOyIY':_0x1aba86(0xa8,_0x3b3142._0x8f48c0),'ucpql':function(_0x5ddd2c,_0x307056){return _0x5ddd2c<_0x307056;}};function _0x1aba86(_0x212796,_0x455c6d){return _0xf847e(_0x455c6d- -0x55,_0x212796);}if(!activeEngine)return;const {projectName:_0x3eaea0,actors:_0x163944}=activeEngine,_0x23dc8b=await readStateFile(),_0x28d4f0={};if(_0x23dc8b){if(_0x171eb5[_0x54e89b(0x3ce,0x3ac)]===_0x171eb5[_0x1aba86(0x82,0x74)])for(const [_0x4b9ac0,_0x7d048b]of Object['entries'](_0x23dc8b['agents'])){if(!_0x163944[_0x1aba86(_0x3b3142._0x349c67,_0x3b3142._0xde2284)](_0x4b9ac0)){if(_0x171eb5[_0x54e89b(0x43d,0x3c2)]!=='TcQuA'){const _0x22a3aa={};_0x22a3aa[_0x1aba86(0x35,0xca)]=!![],_0x171eb5[_0x1aba86(_0x3b3142._0x3578ec,_0x3b3142._0x35bc97)](_0x493b86,_0xf3befb,_0x22a3aa);}else _0x28d4f0[_0x4b9ac0]=_0x7d048b;}}else{_0x538ed6['log']('⚠️\x20\x20状态文件不存在'+_0x54e89b(0x416,_0x3b3142._0x2dfdc4)+_0x54e89b(0x4fe,0x477));return;}}const _0x273db9={};let _0x4f7c8e=_0x1aba86(0xa6,0x52);for(const [_0x32cb9c,_0x5ad0db]of _0x163944){const _0x334b46=_0x5ad0db['getSnapsho'+'t'](),_0x287c4b=typeof _0x334b46[_0x54e89b(0x4f7,_0x3b3142._0x1bfdbc)]===_0x171eb5[_0x54e89b(_0x3b3142._0x53ad40,0x473)]?_0x334b46[_0x54e89b(_0x3b3142._0x3c0033,0x586)]:_0x171eb5[_0x1aba86(_0x3b3142._0x12f52d,_0x3b3142._0x4582c2)];_0x273db9[_0x32cb9c]={'agentId':_0x32cb9c,'parentId':_0x334b46[_0x1aba86(0x20e,_0x3b3142._0x20d943)]?.[_0x1aba86(_0x3b3142._0x4f2ba1,_0x3b3142._0x397161)]??null,'childIds':_0x334b46[_0x54e89b(0x503,_0x3b3142._0x2378dd)]?.['childIds']??[],'phase':_0x287c4b,'currentOperation':_0x334b46[_0x1aba86(0x1df,0x1a9)]?.[_0x54e89b(0x385,_0x3b3142._0x5377c1)+_0x54e89b(_0x3b3142._0x4709fd,_0x3b3142._0x13c2b0)]??'','currentSkill':_0x334b46[_0x1aba86(_0x3b3142._0x6804e6,0x1a9)]?.[_0x1aba86(-_0x3b3142._0x263bd4,0x4f)+'ll']??''},_0x171eb5[_0x1aba86(0xd1,0xa1)](_0x287c4b,_0x1aba86(-0x4b,_0x3b3142._0x20a6b8))&&(_0x4f7c8e=_0x287c4b);}const _0x3581f4={..._0x28d4f0,..._0x273db9},_0x49f9e1=_0x3581f4;function _0x54e89b(_0x25e7e7,_0x3f6a41){return _0xf847e(_0x25e7e7-0x305,_0x3f6a41);}for(const [,_0x34a0d4]of Object['entries'](_0x28d4f0)){_0x34a0d4['phase']!==_0x171eb5[_0x54e89b(_0x3b3142._0x5aecda,0x4de)]&&(_0x4f7c8e=_0x34a0d4[_0x1aba86(0x46,0x3c)]);}for(let _0x302a3d=0x9*0x192+-0x4a8+-0x97a;_0x171eb5[_0x54e89b(_0x3b3142._0x23a021,0x3d0)](_0x302a3d,MAX_RETRIES);_0x302a3d++){if(_0x171eb5[_0x1aba86(0x16f,0xc9)](_0x171eb5[_0x1aba86(0x74,_0x3b3142._0x5c056c)],_0x54e89b(_0x3b3142._0x13ada5,0x3ab)))try{const _0x338f23=new StateFileManager(STATE_FILE_PATH);await _0x338f23['read']();const _0x2ddbb9={};_0x2ddbb9[_0x54e89b(0x487,0x4e5)]=_0x3eaea0,_0x2ddbb9[_0x54e89b(_0x3b3142._0x1912c0,0x384)+'se']=_0x4f7c8e;const _0x2d8a44={};_0x2d8a44[_0x1aba86(_0x3b3142._0x11c4e2,0x16e)]=_0x2ddbb9,_0x2d8a44[_0x54e89b(0x42f,_0x3b3142._0x1665c0)]=_0x49f9e1,_0x2d8a44['machineSna'+_0x1aba86(_0x3b3142._0x8c4b57,_0x3b3142._0x431272)]=null,await _0x338f23[_0x1aba86(_0x3b3142._0x4265f6,0x18b)](_0x2d8a44);return;}catch(_0x4d0df2){if(_0x171eb5[_0x54e89b(0x3fb,0x3ad)](_0x54e89b(0x4ec,_0x3b3142._0x366d5d),'ZHhjD'))_0x1710cf=_0x171eb5[_0x54e89b(_0x3b3142._0x5aecda,_0x3b3142._0x2839eb)];else{if(_0x171eb5[_0x54e89b(_0x3b3142._0x5b16b8,0x476)](_0x4d0df2,Error)&&_0x4d0df2[_0x1aba86(0x1fc,0x1a1)][_0x54e89b(_0x3b3142._0x92303f,_0x3b3142._0x3de088)](_0x171eb5[_0x54e89b(0x4b4,_0x3b3142._0x6b7bc)])&&_0x171eb5['ucpql'](_0x302a3d,MAX_RETRIES-(0x3*-0x427+0x17b*-0x1+0x1*0xdf1))){await new Promise(_0x21cd29=>setTimeout(_0x21cd29,0x1f84*0x1+-0x217d+0x22b+Math[_0x1aba86(0x53,0xa3)]()*(-0x175*-0x16+0x41d+-0xd5*0x2b)));continue;}throw _0x4d0df2;}}else{if(!_0x29ff43)return;for(const [,_0x15dd59]of _0x30112c[_0x54e89b(0x408,_0x3b3142._0x317a47)]){_0x15dd59[_0x54e89b(_0x3b3142._0x157482,0x3ea)]();}_0x216c1e[_0x54e89b(0x3d6,_0x3b3142._0x420c31)+_0x54e89b(_0x3b3142._0x4b0fc3,0x41c)]&&_0x93e486[_0x54e89b(0x3d6,0x3c5)+_0x54e89b(_0x3b3142._0x50874c,_0x3b3142._0x5be9fb)]['stop'](),_0x1f8fe1=null,_0x285736[_0x1aba86(_0x3b3142._0x35accf,0x173)](_0x171eb5[_0x54e89b(0x49c,0x46a)]);}}}